/***  BLOG ***/
.blog-inner {
    width: 100%;
}

.blog-inner h1 {
    margin-top: 0;
}

#blog article {
    border-bottom: 1px solid #DDD;
}

#blog article a {
    padding: 1rem;
    font-size: 1rem;
    color: #333;
    display: block;
    margin: 1rem 0;
}

#blog article a .day {
    font-size: 0.8rem;
}

#blog article a h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
}

.listall a {
    display: inline-block;
    font-size: .85rem;
    text-align: center;
    padding: 0.5rem 2rem 0.5rem 0;
    position: relative;
    color: #333;
}

.listall a:after,
.listall a:before {
    content: ' ';
    width: 1.25rem;
    height: 1.25rem;
    position: absolute;
    top: calc(50% - 0.75rem);
    right: 0;
    background: url(../img/listall.svg) no-repeat center center/contain;
    transition: all .5s;
}

/***  /BLOG ***/

#blog {
    margin: 5rem 0;
}

.twitter-inner {
    max-width: 100%;
    width: 420px;
    margin: 0 auto;
}

.blog-inner {
    margin: 0 auto 1rem;
}

@media screen and (min-width:1024px) {
    .blog-inner {
        width: calc(100% - 420px - 5%);
        margin: 0 5% 0 0;
    }
}

.bnr a {
    display: block;
    padding: 3.5rem 1rem;
    border-radius: 1rem;
    background: #777;
    text-align: center;
    color: #FFF;
    font-size: 1rem;
}

.bnr a:after {
    content: none;
}

.bnr a#bnr-KANAEL {
    background: url(../images/kanael.jpg) no-repeat center center/cover #777;
}

.bnr a#bnr-KANAEL em {
    font-style: normal;
    display: inline-block;
}

.bnr a#bnr-KANAEL img {
    display: block;
    margin: 0 auto;
}

.bnr a#bnr-KANAEL p {
    font-size: 0.7rem;
    margin: 1rem 0 0;
}

.bnr a#bnr-KANAEL p span {
    display: inline-block;
}

/*** loading ***/
/* ローディング画面背景 */
.loader-bg {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*** loading ***/
/* ローディング画面背景 */
.loader-bg {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    margin: 0 auto;
    text-indent: -9999em;
    width: 80%;
    height: 200px;
    background: url(../images/load.svg) no-repeat center center /contain;
    position: relative;
    overflow: hidden;
    max-width: 200px;
}

.loader:before {
    width: 100%;
    height: 100%;
    background: #FFF;
    position: absolute;
    top: 0;
    right: 0;
    content: ' ';
    animation: load 1s .5s forwards;
}

@keyframes load {
    0% {
        width: 100%;
    }

    100% {
        width: 0;
    }
}

/*** /load ***/

main {
    padding-top: 0;
}

#mainvisual {
    padding-top: 3.5rem;
    width: 100%;
    position: relative;
    margin-bottom: 2rem;
}

#mainvisual-copy #maincopy-pc {
    display: none;
}

#mainvisual-copy img {
    width: 75%;
    display: block;
    margin: 10vw auto;
    text-align: center;

}

#mainvisual-img {
    width: 100%;
}

#mainvisual-img span {
    width: 100%;
    background: url(../images/main.jpg) no-repeat center center/cover;
    padding-top: 75%;
    margin: 0;
    display: block;
}

.mainvisual-inner {
    text-align: center;
    margin-top: 3rem;
}

.mainvisual-inner p {
    font-size: 1.15rem;
    font-weight: bold;
    margin: 0;
}

.mainvisual-inner p span {
    font-size: 1rem;
    font-weight: normal;
}

.mainvisual-inner p span.sub_txt {
    font-size: 0.8rem;
    margin-top: 2rem;
}

.mainvisual-inner p a {
    display: inline-block;
    font-size: 1.25rem;
    padding: 1rem 1rem 1rem 2.5rem;
    background: url(../img/right.svg) no-repeat center left/2rem 2rem;
}

@media screen and (min-width:769px) {
    #mainvisual-copy {
        position: relative;
        padding: 3rem 0 2rem;
    }

    .mainvisual-inner,
    #mainvisual-copy #maincopy-pc {
        width: 30%;
        margin-left: 5%;
        padding: 0;
        text-align: left;
    }

    #mainvisual-copy #maincopy-sp {
        display: none;
    }

    #mainvisual-copy #maincopy-pc {
        display: block;
        margin: 0 5%;
    }

    #mainvisual-copy img {
        width: 100%;
    }

    #mainvisual-img {
        width: 60%;
        height: 100%;
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
    }

    #mainvisual-img span {
        height: 100%;
        padding: 0;
    }
}

@media screen and (min-width:1024px) {
    #mainvisual {
        max-height: 1024px;
        padding-top: 5rem;
    }
}

#mainnews {
    width: 90%;
    margin: 1rem auto;
}

#mainnews a {
    padding: 1.5rem 4rem 1.5rem 2rem;
    display: block;
    background: url(../img/right_white.svg) no-repeat center right 1.5rem/2rem 2rem #e9f0fb;
    border-radius: 3rem;
}

#mainnews a h2 {
    font-size: 1rem;
    margin: 0;
    font-weight: bold;
}

#mainnews a .day {
    font-size: 0.8rem;
    color: #6262a2;
}

#service h1 {
    font-weight: bold;
    color: #000098;
    text-align: center;
    margin: 3rem 0 0;
}

#service h1 img,
#service h1 span {
    display: inline-block;
    vertical-align: middle;
}

#service h2 {
    font-size: 0.8rem;
    margin: 0 0 2rem;
    font-weight: bold;
    text-align: center;
}

#service h3 {
    font-size: 2rem;
    color: #000098;
    font-weight: bold;
    margin: 0;
    text-align: center;
}

.service-inner {
    margin-bottom: 3rem;
    align-items: center;
}

#service-reform h3 {
    color: #e60012;
}

#service-denki h3 {
    color: #006993;
}

#service-forcorporate h3 {
    color: #3c990b;
}

.service-content {
    padding: 0 5%;
}

.sercive-bt {
    text-align: center;
}

.sercive-bt a {
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    padding: 1rem 1rem 1rem 2.5rem;
    position: relative;
}

.sercive-bt a:before {
    content: ' ';
    width: 2rem;
    height: 2rem;
    position: absolute;
    line-height: 1;
    top: calc(50% - 1rem);
    left: 0;
    background: url(../img/right.svg) no-repeat center left/contain;
}

.sercive-bt.other-site a:before {
    transform: rotate(-45deg);
}

@media screen and (min-width:769px) {

    #service h3,
    .sercive-bt {
        text-align: left;
    }
}

#support {
    padding: 3rem 0 0;
}

#support h2 {
    text-align: center;
    font-weight: bold;
    font-size: 2rem;
    margin: 0;
    color: #000098;
}

#support h2 span {
    display: inline-block;
}

#support p {
    text-align: center;

}

#support article {
    border-bottom: 1px solid #DDD;
    padding: 1rem 1rem 1rem 0;
    display: flex;
}

#support article .thum {
    width: 70px;
    height: 70px;
    position: relative;
    overflow: hidden;
    margin-right: 1rem;
}

#support article .thum figure {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#support article .thum figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#support article .thum figure .nothum {
    width: 100%;
    height: 100%;
    display: block;
    background: url(../img/noimg.jpg) no-repeat center center/cover;
}

#support article .sp-txt {
    flex: 1;
}

#support article p {
    font-size: 0.8rem;
    color: #777;
    margin: 0;
    text-align: left;
}

#support article p span {
    display: block;
    line-height: 1.3;
}

#support article p.sp-title {
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
}

@media screen and (min-width:512px) {

    .support-inner {
        display: flex;
        align-items: flex-start;
        justify-content: left;
        flex-wrap: wrap;
    }

    #support article {
        width: 50%;
        border: 2px solid #FFF;
        display: block;
    }

    #support article .thum {
        width: 100%;
        height: 0;
        padding-top: 56.25%;
        margin-bottom: 1rem;
    }

    #support article p {
        text-align: center;
    }
}

@media screen and (min-width:769px) {
    #support article {
        width: 33.333%;
    }

    #support article p.sp-title {
        margin-bottom: 0.5rem;
    }
}

@media screen and (min-width:1024px) {
    #support article {
        width: 25%;
    }
}

#support h3 {
    color: #000098;
}

#support p.sub_txt {
    text-align: left;
    margin-top: 2rem;
}