@charset "utf-8";

/* ==================================================================

    index.css

=================================================================== */

/* --------------------------------
■共通
-------------------------------- */
header .container .logo img.logo_color {
    display: none;
}
.contents {
    background: url(../../images/index/bg_pc.jpg) no-repeat;
    background-position: center bottom;
    background-size: 100%;
    overflow: hidden;
}
.contents main > section {
    padding: 120px 0 0;
    margin-bottom: 0;
}
.contents main > section section:not(:first-of-type) {
    padding: 100px 0 0;
    margin-bottom: 0;
}

ul.indent li {
    text-indent: -1em;
    padding-left: 1em;
    line-height: 1.8;
    white-space: nowrap;
}

p.text + p.buttonStyle {
    margin-top: 28px;
}

@media only screen and (max-width: 767px) {

    .contents {
        background: url(../../images/index/bg_sp.jpg) repeat-y;
        background-position: center top;
    }
    .contents main > section {
        padding: 60px 0 0;
    }
    .contents main > section section:not(:first-of-type) {
        padding: 50px 0 0;
    }
}

/* --------------------------------
■accentBox
-------------------------------- */
.accentBox {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 80px;
}

.accentBox .video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url(../../images/index/mv.jpg) no-repeat center/cover;
    overflow: hidden;
    z-index: -1;
}
    .accentBox .video video {
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
    }

.accentBox h2.heading {
    color: var(--text-color-white);
    font-size: 4.8rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.1em;
    line-height: 1.5;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
}

@media only screen and (max-width : 767px) {

    .accentBox {
        height: 500px;
        margin-bottom: 60px;
    }
    .accentBox .video {
        height: 500px;
    }
    .accentBox h2.heading {
        font-size: 3.4rem;
    }
}

/* --------------------------------
■about
-------------------------------- */
#about {
    padding-top: 0;
}
#about ul.list {
    flex-wrap: wrap;
    align-items: stretch;
    background: var(--bg-color-white);
    border: 1px solid #D4D4D4;
    outline-offset: -1px;
}
#about ul.list li {
    outline: 1px solid #D4D4D4;
    outline-offset: 0px;
    width: calc( 100% / 3);
    background: var(--bg-color-white);
}
#about ul.list li a{
    display: block;
    padding: 0 36px 36px;
    transition: 0.5s;
}
#about ul.list li a:hover{
    transform: translateY(2px);
}

#about .title {
    color: #0F76C5;
    font-size: 2.2rem;
    line-height: 1.5;
    margin-top: -1px;
}
    #about .title em {
        font-size: 4.1rem;
        border-top: 5px solid #0F76C5;
        margin-right: 20px;
    }
    #about .title small {
        display: inline-block;
        color: var(--text-color);
        font-size: 1.3rem;
        font-weight: 400;
    }
    #about .title span.en {
        display: block;
        font-size: 1.2rem;
    }

    #about ul.list li:nth-child(2) .title {
        color: #B2AC8D;
    }
        #about ul.list li:nth-child(2) .title em {
            border-top: 5px solid #B2AC8D;
        }
    #about ul.list li:nth-child(3) .title {
        color: #B587B8;
    }
        #about ul.list li:nth-child(3) .title em {
            border-top: 5px solid #B587B8;
        }
    #about ul.list li:nth-child(4) .title {
        color: #1F7B8F;
    }
        #about ul.list li:nth-child(4) .title em {
            border-top: 5px solid #1F7B8F;
        }
    #about ul.list li:nth-child(5) .title {
        color: #5EB8CF
    }
        #about ul.list li:nth-child(5) .title em {
            border-top: 5px solid #5EB8CF
        }
    #about ul.list li:nth-child(6) .title {
        color: #A48181
    }
        #about ul.list li:nth-child(6) .title em {
            border-top: 5px solid #A48181
        }

#about figure p {
    display: flex;
    align-items: center;
    justify-content: center;
}
    #about figcaption {
        font-size: 1.5rem;
        line-height: 1.8;
        color: #333;
    }

@media only screen and (max-width: 767px) {

    #about ul.list li {
        padding: 0 4% 36px;
    }
    #about .title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
        #about .title em {
            font-size: 4rem;
        }
        #about .title small {
            font-size: 1.2rem;
        }
}

/* --------------------------------
■news
-------------------------------- */
#news .news_box {
    gap: 4%;
}
#news .txt_box {
    width: 315px;
}
#news ul.list {
    width: calc( 96% - 315px);
    max-width: 808px;
    line-height: 1;
}
#news ul.list li {
    text-align: left;
    padding: 26px 0 30px 0;
    border-bottom: 1px solid #D4D4D4;
}
    #news ul.list li:first-of-type {
        padding-top: 0;;
    }
#news ul.list li a {
    display: block;
    width: 100%;
    color: var(--link-color-black);
    position: relative;
}
    #news ul.list li a::after {
        content: "";
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        right: 10px;
        display: inline-block;
        width: 16px;
        height: 10px;
        background: url(../../images/common/icon/arrow_g.svg) no-repeat center / contain;
        transition: all 300ms 0s ease;
    }
    #news ul.list li a:hover {
        opacity: 0.7;
    }
        #news ul.list li a:hover::after {
            right: 0;
        }
#news ul.list li dl {
    width: 100%;
}
#news ul.list li dl > dt {
    color: #727272;
    font-size: 1.5rem;
}
#news ul.list li dl > dd.text {
    font-size: 1.6rem;
    padding-right: 40px;
    text-decoration: underline;
}

@media only screen and (max-width: 767px) {

    #news .txt_box {
        width: 100%;
    }
    #news ul.list {
        width: 100%!important;
    }
    #news ul.list li dl > * {
        display: block;
        width: auto;
        padding: 0px;
        font-size: 1.5rem;
    }
    #news ul.list li dl > dt {
        font-size: 1.4rem;
        margin-bottom: 5px;
    }
}

/* --------------------------------
■service
-------------------------------- */
#service {
    overflow: hidden;
    padding-bottom: 120px;
}
#service .img_wide {
    margin-left: calc(50% - 50vw);
    gap: 0 73px;
}
    #service .img_wide.reverse {
        margin-left: 0;
        margin-right: calc(50% - 50vw);
    }

#service .img_wide figure {
    max-height: 460px;
    aspect-ratio: 589 / 460;
    border-radius: 0 276px 276px 0;
    overflow: hidden;
    flex-grow: 1;
}
    #service .img_wide.reverse figure {
        border-radius: 276px 0 0 276px;
    }
#service .img_wide figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#service .img_wide .txt_box {
    width: 630px;
    height: auto;
}

@media screen and (min-width: 768px) and (max-width: 1300px) {

    #service .img_wide {
        gap: 0 4%;
    }
}

@media only screen and (max-width: 767px) {

    #service {
        padding: 60px 0;
    }
        #service::before {
            height: 100%;
            background: var(--bg-color-blue);
        }
    #service .img_wide {
        margin: 0!important;
        gap: 33px 0;
    }
    #service .img_wide figure,
    #service .img_wide.reverse figure {
        width: auto!important;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        border-radius: 0;
    }
    #service .img_wide .txt_box {
        width: 100%;
        padding-right: 0;
    }
}