@import url("cssreset.css");
@import url("base.css");
@import url("header.css");
@import url("footer.css");
@import url("aos.css");

@import url("slick.css");

/* top.css */

/* kv */
section#kv h1 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 260px;
    width: 840px;
    height: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("../images/top/kv_catch_pc.png");
    margin: auto;
    padding-top: 4.42%;
    text-indent: -9999px;
    z-index: 10;
}
section#kv h1 img {
    position: absolute;
    right: 0;
    bottom: 5%;
    width: 16.666%;
}

section#kv ul.slide li div {
    display: block;
    width: 100%;
    height: 600px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
section#kv ul.slide li.kv01 div {
    background-image: url("../images/top/kv01_2000.jpg");
}
section#kv ul.slide li.kv02 div {
    background-image: url("../images/top/kv02_2000.jpg");
}
section#kv ul.slide li.kv03 div {
    background-image: url("../images/top/kv03_2000.jpg");
}

@media only screen and (max-width: 1200px) {
    section#kv h1 {
        bottom: 45.5%;
        width: 70vw;
        padding-top: 5.42%;
    }
    section#kv h1 img {
        width: 10vw;
    }
    section#kv ul.slide li div {
        height: 50vw;
    }
}

@media only screen and (max-width: 750px) {
    section#kv h1 {
        bottom: 7%;
        width: 85.333vw;
        background-image: url("../images/top/kv_catch_sp.png");
        padding-top: 20%;
    }
    section#kv h1 img {
        width: 19.2vw;
        right: -4%;
        bottom: 52.5%;
    }
    section#kv ul.slide li div {
        height: 53.333vw;
    }
    section#kv ul.slide li.kv01 div {
        background-image: url("../images/top/kv01_750.jpg");
    }
    section#kv ul.slide li.kv02 div {
        background-image: url("../images/top/kv02_750.jpg");
    }
    section#kv ul.slide li.kv03 div {
        background-image: url("../images/top/kv03_750.jpg");
    }
}


/* news */
section#news {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 90%;
    max-width: 1080px;
    background-color: #F0F0F0;
    margin-top: -60px;
    margin-left: auto;
    margin-right: auto;
    padding: 24px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    z-index: 1;
}
section#news .title {
    width: 5em;
    font-size: 44px;
}
section#news h2 {
    line-height: 1.4;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 300;
}
section#news .title p {
    font-size: 14px;
}
section#news .title p a {
    display: inline-block;
    position: relative;
    background-color: #008CCE;
    padding: 0 2em 0 1em;
    border-radius: 9999px;
    color: #ffffff;
}
section#news .title p a:after {
    position: absolute;
    top: 0;
    right: 0.65em;
    bottom: 0;
    width: 0.5em;
    height: 0.65em;
    background-color: #ffffff;
    margin: auto;
    clip-path: polygon(0 0, 0 100%, 100% 50%);
    content: "";
}
section#news .title p a:hover {
    text-decoration: none;
    opacity: 0.7;
}

section#news dl {
    width: 64%;
    padding-left: 2%;
    border-left: 1px solid #666666;
    text-align: left;
    font-size: 14px;
}
section#news dl div {
    display: flex;
    justify-content: space-between;
}
section#news dl div:not(:last-child) {
    margin-bottom: 0.5em;
}
section#news dl dt {
    width: 15.5em;
}
section#news dl dt span {
    display: inline-block;
    width: 7em;
    margin-left: 1.5em;
    border-radius: 9999px;
    text-align: center;
    line-height: 1.5;
}
section#news dl dt span.topics {
    background-color: #0068B5;
    color: #ffffff;
}
section#news dl dt span.case {
    background-color: #FFE100;
    color: #4D4D4D;
}
section#news dl dd {
    overflow-x: hidden;
    width: calc(100% - 15.5em);
    white-space: nowrap;
    text-overflow: ellipsis;
    -webkit-text-overflow: ellipsis;
}
section#news dl dd a {
    color: #231815;
}
section#news .x {
    position: absolute;
    right: 5%;
    bottom: -1em;
    font-size: 14px;
}
section#news .x a {
    display: inline-block;
    position: relative;
    background-color: #ffffff;
    padding: 0.15em 2.5em;
    border: 1px solid #008CCE;
    border-radius: 9999px;
    text-align: center;
    color: #008CCE;
}
section#news .x a:before,
section#news .x a:after {
    position: absolute;
    top: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin: auto;
    content: "";
}
section#news .x a:before {
    left: 0.75em;
    width: 1.2em;
    height: 1.2em;
    background-image: url("../images/top/icon_x.svg");
}
section#news .x a:after {
    right: 0.75em;
    width: 1.5em;
    height: 1.5em;
    background-image: url("../images/top/icon_tweet.svg");
}
section#news .x a:hover {
    background-color: #F0F0F0;
    text-decoration: none;
}

@media only screen and (max-width: 1000px) {
    section#news dl {
        width: 75%;
    }
}
@media only screen and (max-width: 750px) {
    section#news {
        flex-direction: column;
        margin-top: 6vw;
        padding: 4vw 3vw 6vw;
    }
    section#news .title {
        width: 100%;
        margin-bottom: 8vw;
        font-size: 12.0vw;
    }
    section#news .title p {
        font-size: 3.2vw;
    }
    section#news dl {
        width: 100%;
        border-left: 0;
        font-size: 3.2vw;
    }
    section#news dl div {
        flex-direction: column;
    }
    section#news dl div:not(:last-child) {
        margin-bottom: 1em;
        padding-bottom: 1em;
        border-bottom: 1px solid #666666;
    }
    section#news dl dt {
        width: 100%;
    }
    section#news dl dt span {
        margin-left: 0.5em;
        font-size: 2.8vw;
    }
    section#news dl dd {
        overflow-x: inherit;
        width: 100%;
        white-space: inherit;
        text-overflow: inherit;
        -webkit-text-overflow: inherit;
    }
}


/* service */
section#service .inner {
    width: 94%;
    max-width: 1000px;
    padding-top: 80px;
    padding-bottom: 60px;
}
section#service h2 {
    margin-bottom: 0.25em;
    text-align: left;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-size: 31px;
}
section#service h2 strong,
section#service h2 em {
    font-size: 43px;
    font-weight: 400;
}
section#service h2 strong {
    color: #008CCE;
}
section#service .wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
section#service .block {
    display: flex;
    flex-direction: column;
    width: 32.65%;
    margin-right: 1.025%;
    margin-bottom: 30px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
section#service .block:nth-child(3),
section#service .block:nth-child(5) {
    margin-right: 0;
}

section#service .block:nth-child(1) {
    background-color: #008CCE;
}
section#service .block:nth-child(2) {
    background-color: #46B8ED;
}
section#service .block:nth-child(3) {
    background-color: #00557E;
}
section#service .block:nth-child(4) {
    background-color: #00ADFF;
}
section#service .block:nth-child(5) {
    background-color: #1F86B6;
}

section#service .block figure img {
    border-top-left-radius: 20px;
}
section#service .block .text {
    padding: 6% 0 6%;
    color: #ffffff;
}
section#service .block h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5em;
    line-height: 1.2;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-size: 26px;
    font-weight: 500;
}
section#service .block:nth-child(4) h3 {
    height: 2.4em;
}
section#service .block p {
    width: 82%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
    text-align: left;
    font-size: 14px;
}
section#service .block a {
    display: inline-block;
    background-color: #FFE100;
    padding: 0 1em;
    border-radius: 9999px;
    line-height: 1.6;
    font-size: 14px;
    color: #333333;
}
section#service .block a:hover {
    opacity: 0.7;
    text-decoration: none;
}

@media only screen and (max-width: 750px) {
    section#service .inner {
        width: 90%;
        padding-top: 12vw;
        padding-bottom: 2vw;
    }
    section#service h2 {
        font-size: 5.0vw;
    }
    section#service h2 strong,
    section#service h2 em {
        font-size: 7.4vw;
    }
    section#service .block {
        width: 100%;
        margin-right: 0;
        margin-bottom: 4vw;
    }
    section#service .block h3 {
        font-size: 5.8vw;
    }
    section#service .block p {
        font-size: 3.6vw;
    }
    section#service .block a {
        font-size: 3.6vw;
    }
}



