@charset "utf-8";

/*--------------------------------------------
サイトの基本設定
--------------------------------------------*/
html {
	scroll-behavior: smooth;
}
body{
    --color_purple:#66669A;
    --color_bright-purple:#BCBBCD;
    --color_blue:#336089;

    font-family:'Noto Sans JP', sans-serif;
    --font-serif:"Noto Serif JP", serif;
    font-weight: 500;
    color: #222222;
    line-height: 1.5;
        overflow-x:hidden;

}
/* リンクの下線を無しにする */
a{
    text-decoration: none;
}
a img:hover{
    opacity: 0.8;
}

ul{
    padding: 0;
    margin: 0;
}
li{
    list-style: none;
}
img{
    width: 100%;
}
 .sp-only{
    display: none;
}
@media (max-width: 720px)  {
.pc-only{
    display: none;
}
.sp-only{
    display: block;
}
}
.container{
    width: 1080px;
    max-width: 90%;
    margin: 0 auto;
}
main{
}
h2{
    font-size:24px;
    font-family: var(--font-serif);
    font-weight: 600;
    margin: 0;
    display: block;
    text-align: center;
    width: fit-content;
    margin: auto;
    padding: 10px 40px;
    border-top: solid 1px var(--color_purple);
    border-bottom: solid 1px var(--color_purple);
    position: relative;
    &::before{
        content:'';
        position: absolute;
        left: 0;
        top: -6px;
        width: 100%;
        height:2px;
        background-color: var(--color_purple);
    }
    &::after{
        content:'';
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 100%;
        height:2px;
        background-color: var(--color_purple);
    }
}

/* TOP ページ */
#top_kv{
    background-image: url(../img/top-kv.jpg);
    background-position: center;
    background-size: cover;
    height:384px;
    width: 100%;
    background-color: #027565;
    position: relative;
    .container{
        width: 1280px;
    }
    .logo_area{
        width: clamp(100px, 10vw, 150px);
        position: absolute;
        left: 10%;
        top: 30px;
        img{
            max-width: 100%;
            height: auto;
        }
    }
    .catch_area{
        position: absolute;
        z-index: 10;
        top: 80px;
        margin: auto;
        width: fit-content;
        inset: 80px 0 0 0;
        display: block;
        color: #ffffff;
        font-family: var(--font-serif);
        text-shadow: 0 0 20px #000000;
        .hero_img{
            position: absolute;
            width: clamp(200px, 20vw, 331px);
            bottom: 0;
            left: 0;
            transform: translateX(-100%);
            display: block;
        }
        .catch1{
            font-size: clamp(27px, 2.5vw, 36px);
            line-height: 1.35em;
            margin: 0;
        }
        .catch2{
            font-size: 18px;
            line-height: 31px;
            margin: 1em 0;
            letter-spacing: 1px;
            font-weight: 400;
        }
    }
    .container{
        position: relative;
        height: 100%;
    }
    .movie_area{
        position: absolute;
        line-height: 1;
        right: 0;
        top: 80px;
        text-align: center;
        color: #ffffff;
        & p{
            margin: 0 0 14px 0;
            letter-spacing: 1px;
            position: relative;
            display: inline-block;
            font-size: 23px;
            font-family: var(--font-serif);
            &::before{
                content: '';
                height: 100%;
                width: 2px;
                background-color: #ffffff;
                position: absolute;
                right: -20px;
                transform: rotate(25deg);
            }
            &::after{
                content: '';
                height: 100%;
                width: 2px;
                background-color: #ffffff;
                position: absolute;
                left: -20px;
                transform: rotate(-25deg);
            }
        }
        .demo{
            width: 364px;
            height: 205px;
            iframe{
                    transform:scale(0.65)
            }
        }
    }
    @media (max-width: 1300px) {
        .movie_area{
            .demo{
                width: 280px;
                height: 158px;
                iframe{
                     transform:scale(0.5)
                }
            }
        }
    }
    @media (max-width: 1000px) {
        height:auto;
        margin-bottom: 243px;
        .logo_area{
            width: 90%;
            margin: auto;
            padding: 28px 0 0;
            position: static;
            img{
                width: 138px;
            }
        }
        .catch_area{
            margin: 1.5em 0;
            position: static;
            .hero_img{
                position: static;
                width: 100%;
                max-width: 320px;
                bottom: 0;
                left: 0;
                transform: translateX(0%);
                display: block;
            }
            .catch1{
            }
            .catch2{
                font-size: 16px;
                line-height: 23px;
                margin: 1em 0;
                letter-spacing: 1px;
                font-weight: 400;
                margin-bottom: 0;
            }
        }

        .movie_area{
            position: absolute;
            width: 100vw;
            margin: 0 calc(50% - 50vw);
            height: 243px;
            background-color: #424269;
            bottom: -240px;
            top: inherit;
            left: 0;
            p{
                margin-top: 20px;
            }
            .demo{
                margin: auto;
                width: 294px;
                height: 166px;
            }
        }
    }
}

#contact_area{
    padding: 90px 0;
    text-align: center;
    background-image: url(../img/bg-obj.png), url(../img/bg-obj02.png);
    background-repeat: no-repeat;
    background-position: top right, left 0 bottom 30%;
    background-size: 527px auto, 527px auto;
    .contact_intro{
        font-size: 15px;
        margin: 1em;
    }
    .contact_list{
        margin-top: 30px;
        display: grid;
        grid-template-columns: 440px 440px;
        justify-content: center;
        gap: 30px 60px;
        & .contact_list_card{
            padding: 18px 16px;
            background-image: url(../img/32869539_m.jpg);
            background-size: cover;
            background-position: center;
            display: grid;
            grid-template-rows: subgrid;
            grid-row: span 3;
            gap: 0;
        }
        h3{
            color: var(--color_blue);
            font-size: 26px;
            margin: 0 0 20px 0;
        }
        & .contact_list_item{
            display: grid;
            grid-template-columns: 197px 197px;
            justify-content: center;
            gap: 15px 12px;
            & li{
                width: 197px;
                height: auto;
                background-color: #ffffff;
                padding: 14px 0;
                height: fit-content;
                & h4{
                    font-size: 15px;
                    font-weight: 500;
                    margin: 0;
                    line-height: 1;
                }
                & a{
                    font-size: 21px;
                    padding-top: 5px;
                    display: block;
                    font-weight: bold;
                    color: #222222;
                    span{
                        border-bottom: solid 1px;
                    }
                    &::before{
                        content: '';
                        display: inline-block;
                        margin-right: 3px;
                        width: 19px;
                        height: 14px;
                        background-image: url(../img/tel_icon.svg);
                        background-size: cover;
                        border-radius: 50%;
                        left: 0px;
                        top: 9px;
                    }
                }
            }
        }
        .button_area{
            margin-top: 20px;
            a{
                display: flex;
                justify-content: center;
                align-items: center;
                padding: 3px;
                border: solid 1px;
                width: 180px;
                height: 34px;
                margin: auto;
                text-align: center;
                background-color: var(--color_purple);
                color:#ffffff;
                position: relative;
                span{
                    border-bottom: solid 1px;
                    font-size:15px;
                    font-weight:400;
                }
            }
            .page_link{
                margin-top: 15px;
            }
            .page_link::after{
                content: '';
                position: absolute;
                top: 0;
                bottom: 0;
                right: 5px;
                transform: translateY(-10%);
                margin: auto;
                display: inline-block;
                margin-left: 6px;
                width: 17px;
                height: 17px;
                background-image: url(../img/icon-link.svg);
                background-size: cover;
            }
        }
    }
    @media (max-width:1000px) {
        .contact_list{
            margin-top: 15px;
            display: grid;
            grid-template-columns:1fr;
            max-width: 90%;
            margin: auto;
        }
    }
    @media (max-width:720px) {
        padding: 50px 0;
        .contact_list{
            .contact_list_card{
                gap: 20px;
            }
            h3{
                font-size: 20px;
                margin: 0;
            }
            & .contact_list_item{
                grid-template-columns: 197px;
                gap: 10px 12px;
                & li{
                    width: 197px;
                    padding: 14px 0;
                }
            }
            .button_area{
                margin-top: 0;
            }
        }
    }
}
.page_top{
    width: 82px;
    position: fixed;
    bottom: 30px;
    right: 50px;
}
@media (max-width: 720px) {
    .page_top{
        width: 65px;
        bottom: 35px;
        right: 16px;
    }
    
}
footer{
    background-color: #666666;
    text-align: center;
    & .footer-logo{
        width: 138px;
        margin: 14px auto 40px;
    }
    & small{
        margin: 0;
        display: block;
        padding-bottom: 10px;
        color: #ffffff;
    }
}

/* 下層ページ */

main.lower {
  position: relative;
}

main.lower::before{
  content: "";
  position: absolute;
  z-index: -2;
  top: 0;
  right: 0;
  width: 425px;
  height: calc(100%);
  background-repeat: repeat-y;
  background-position: center top;
  background-image: url("../img/lower_bg_r.jpg");
  background-size: contain;
}
main.lower::after{
  content: "";
  position: absolute;
  z-index: -2;
  top: 0;
  left: 0;
  width: 425px;
  height: calc(100%);
  background-repeat: repeat-y;
  background-position: center top;
  background-image: url("../img/lower_bg_l.jpg");
  background-size: contain;
}
@media (max-width: 990px) {
    main.lower::before{
          top: 500px;
  height: calc(100% - 500px);

        width: 350px;
        background-image: url("../img/lower_bg_r_sp.png");

    }
    main.lower::after{
                  top: 500px;
  height: calc(100% - 500px);

        width: 350px;
          background-image: url("../img/lower_bg_l_sp.png");

    }
    
}

#lower_kv{
    height: 255px;
    background-image: url(../img/lower_kv.jpg);
    background-position: center;
    background-size: cover;
    width: 100%;
    position: relative;
    .logo_area{
        width: clamp(100px, 10vw, 150px);
        position: absolute;
        left: 10%;
        top: 30px;
        img{
            max-width: 100%;
            height: auto;
        }
    }
    .container{
        position: relative;
        height: 100%;
    }
    h1{
        position: absolute;
        bottom: 0;
        color: #ffffff;
        margin: 0;
        font-family: var(--font-serif);
        font-size: 44px;
        font-weight: 500;
    }
    @media (max-width: 720px) {
        height:241px;
        background-position: 38%;
        .logo_area{
            width: 90%;
            margin: auto;
            padding: 28px 0 0;
            position: static;
            img{
                width: 138px;
            }
        }
        h1{
            position: static;
            font-size: 25px;
            margin: 1.5em 0 2em 0;
        }
        
    }
}
.breadcrumbs{
    font-size: 14px;
}
.page_link{
    margin: 100px auto 0;
    ul{
        display: flex;
        flex-wrap: wrap;
        li{
            margin-right: 20px;
            border: solid 1px var(--color_purple);
            a{
                padding: 0.5em 1em;
                display: block;
                color: var(--color_purple);
                font-family: var(--font-serif);
                font-weight: 600;
                &:after{
                    content: '▼';
                    margin-left: 1.5em;
                }
            }
            &:last-child{
                margin-right: 0;
            }
        }
    }
    @media (max-width: 990px) {
        margin: 50px auto 0;
        ul{
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            li{
                flex-grow: 1;
                margin: 0;
                a{
                    padding: 0.5em 0.7em;
                    font-size: 13px;
                    position: relative;
                    &:after{
                        content: '▼';
                        position: absolute;
                        height: fit-content;
                        top: 0;
                        bottom: 0;
                        right: 1em;
                        margin: auto;
                        font-size: 10px;
                    }

                }
            }
        }
        
    }
}
.list_section{
    padding: 90px 0;
    position: relative;
    &.section_bg{
        position: relative;
    }
    &.section_bg::after{
        content: '';
        z-index: -1;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-color: #F2F2F6;
        mix-blend-mode: multiply;
    }
    h2{
        margin-bottom:45px;
    }
    h3{
        font-size: 20px;
        background-color: var(--color_purple);
        color: #ffffff;
        line-height: 2.5em;
        border-left: solid 13px var(--color_bright-purple);
        padding-left: 0.7em;
    }
    .list_item{
        margin-bottom: 40px;
    }
    .item_detail_wrapper{
        display: flex;
        gap: 24px;
        img{
            width: 407px;
            max-width: 100%;
            align-self: flex-start;
        }
        .item_detail{
            flex-grow:1;
            display: flex;
            flex-direction: column;
            gap: 10px;

            .item_detail_row{
                display: flex;
                gap: 10px;
                p{
                    margin: 0;
                }
                .item_detail_head{
                    background-color: #666666;
                    height: 100%;
                    width: 125px;
                    color: #ffffff;
                    display: flex;
                    flex-shrink: 0;
                    justify-content: center;
                    align-items: center;
                    flex-grow: 0;
                }
                .item_detail_body{
                    display: flex;
                    flex-wrap: wrap;
                    height: 100%;
                    gap: 10px 60px;
                    padding: 11px 16px ;
                    background-color: #F7F7F7;
                    flex-grow:1;
                    position: relative;
                    &.adress{
                        padding-right: 5.5em;
                    }
                    .map_link{
                        position: absolute;
                        top: 0;
                        bottom: 0;
                        right: 16px;
                        margin: auto;
                        background-color: #666666;
                        color: #ffffff;
                        width: 58px;
                        height: 23px;
                        display: inline-block;
                        text-align: center;
                        font-size: 15px;
                        line-height: 1;
                        padding: 2px;
                        span{
                            border-bottom: solid 1px #ffffff;
                        }
                    }
                    & .tel_link{
                        font-size: 23px;
                        line-height: 1;
                        display: block;
                        font-weight: bold;
                        color: #222222;
                        span{
                            border-bottom: solid 1px;
                        }
                        &::before{
                            content: '';
                            display: inline-block;
                            margin-right: 5px;
                            width: 19px;
                            height: 14px;
                            background-image: url(../img/tel_icon_black.svg);
                            background-size: cover;
                            border-radius: 50%;
                            left: 0px;
                            top: 9px;
                        }
                    }
                }
                &:last-child{
                    flex-grow: 1;
                }
            }
        }
    }
    @media (max-width: 900px) {
        padding: 50px 0;
        h2{
            margin-bottom:30px;
        }
        h3{
            font-size: 16px;
            line-height: 2.4em;
        }
        .item_detail_wrapper{
            flex-direction: column;
            gap: 20px;
            img{
                width: 100%;
                max-width: 100%;
                align-self: auto;
            }
            .item_detail{
                .item_detail_row{
                    display: flex;
                    flex-direction: column;
                    gap: 0;
                    .item_detail_head{
                        background-color: #666666;
                        height: 100%;
                        width: 100%;
                        padding: 4px 0;
                        font-size: 14px;
                    }
                    .item_detail_body{
                        font-size: 14px;
                        padding: 8px 10px ;
                        flex-grow:1;
                        position: relative;
                        justify-content: center;
                        gap: 24px;
                        &.adress{
                            padding-right: 5.5em;
                            justify-content: start;
                        }
                        .map_link{
                            right: 10px;
                            width: 52px;
                            height: 34px;
                            font-size: 14px;
                            line-height: 1.9;
                        }
                        & .tel_link{
                            font-size:15px;
                            span{
                                border-bottom: solid 1px;
                            }
                            &::before{
                                content: '';
                                display: inline-block;
                                margin-right: 5px;
                                width: 13px;
                                height: 11px;
                                background-image: url(../img/tel_icon_black.svg);
                                background-size: cover;
                                border-radius: 50%;
                                left: 0px;
                                top: 9px;
                            }
                        }
                    }
                    &:last-child{
                        flex-grow: 1;
                    }
                }
            }
        }
    }
}