/* ページ共通 */
:root{
    --font-color: #464345;
    --main-color:#FFF6FC;
    --sub-color: #E377A6;
    --shadow:rgb(70, 67, 69, .2);
    --bg-1: #FFF6FC;
    --bg-2: #FEFAEE;
    --xxl-margin: 220px;
    --xl-margin: 120px;
    --l-margin: 80px;
    --o-margin: 60px;
    --m-margin: 30px;
    --s-margin: 16px;
    --xl-text: clamp(26px,3vw,60px);
    --l-text: clamp(20px,1.6vw,40px);
    --o-text: clamp(18px,1.3vw,34px);
    --m-text: clamp(17px,1.3vw,30px);
    --s-text: clamp(16px,1vw,28px);
    --xs-text: clamp(12px,.8vw,14px);
    --line-height: 3rem;
}
html{
    height: 100%;
    font-size: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body{
    font-family:"UD デジタル 教科書体 N-R", "UD デジタル 教科書体 N-B", "BIZ UDゴシック Regular", "Hiragino Kaku Gothic ProN", "ascii", sans-serif;
    color: var(--font-color);
    background-color: var(--main-color);
    width: 100vw;
}
a{
    text-decoration: none;
    display: inline-block;
    color: #fff;
}
img{
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    font-style: italic;
    background-repeat: no-repeat;
    background-size: cover;
}
.sp{
    display: none;
}
.tell-num,
.access-info a,
.map-btn a,
#top {
    font-family: 'メイリオ', 'Meiryo UI', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Arial', sans-serif;
}


/*---------- ファーストビュー ----------*/
#f-view{
    display: flex;
    flex-direction: column;
    height: 100svh;
}
#header{
    flex: 0 0 auto;
    padding: 12px 0;
}
#hero{
    flex: 1 0 auto;
    overflow-y: auto;
}

/*---------- ヘッダー ----------*/
.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1800px;
    min-width: 900px;
    margin: 0 auto;
}
h1{
    width: 30%;
    max-width: 480px;
    min-width: 265px;
}
nav ul{
    font-size: var(--m-text);
    display: flex;
    gap: 1vw;
}
nav a{
    color: var(--font-color);
    width: 100%;
    padding: 2px;
    transition: all .3s;
}
nav a:hover{
    color: var(--sub-color);
}
.nav-tell{
    display: none;
}
.tell a {
    color: #fff;
    background-color: var(--sub-color);
    border-radius: 8px;
    box-shadow: 3px 3px 6px var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    transition: all 0.3s;
}
.tell a:hover {
    opacity: 0.6;
}
.tell .tell-num{
    font-size: var(--l-text);
}
.dayte{
    font-size: var(--xs-text);
}
#hamburger{
    display: none;
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 999;
    width: 30px;
    height: 30px;
    cursor: pointer;
}
#hamburger span,
#hamburger span::before,
#hamburger span::after{
    position: absolute;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background-color: var(--sub-color);
    transition: all .3s;
}
#hamburger span::before{
    content: '';
    top: 10px;
}
#hamburger span::after{
    content: '';
    top: 20px;
}
#hamburger.open span{
    background-color: rgb(0, 0, 0, 0);
}
#hamburger.open span::before{
    top: 10px;
    transform: rotate(45deg);
}
#hamburger.open span::after{
    top: 10px;
    transform: rotate(-45deg);
}

/*---------- ヒーロー ----------*/
#hero{
    background-image: url(../image/img/img_top.jpg);
    background-color: rgb(255,255,255,.4);
    background-blend-mode: lighten;
    background-position: center;
    display: flex;
}
h2{
    width: 1080px;
    margin: auto;
    display: flex;
    justify-content: center;
}
h2.none{
    display: none;
}
h2 img:last-child{
    display: none;
}

/*---------- メイン共通 ----------*/
section{
    padding: var(--xl-margin) 0 var(--xxl-margin) 0;
}
#profile,
#price{
    background-color: var(--bg-2);
    padding-bottom: var(--xl-margin);
}
.sec-ttl{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sub-ttl{
    font-family: "Comic Neue", cursive;
    font-weight: 600;      
    font-size: 30px;
    color: var(--sub-color);
    text-shadow: 3px 3px 6px var(--shadow);
}
.sec-ttl h3 img{
    width: 60px;
}
.sec-ttl h3{
    font-size: var(--xl-text);
}
.greeting-content,
.profile-content,
.message-content,
.price-content,
.access-content{
    width: 75%;
    max-width: 1440px;
    margin: 0 auto;
    margin-top: var(--xl-margin);
}

/*---------- 代表あいさつ ----------*/
#greeting{
    background-image: url(../image/logo/logo3.png);
    background-repeat: no-repeat no-repeat;
    background-position: bottom right;
    background-size: 30%;
}
.greeting-content p{
    font-size: var(--o-text);
    line-height: var(--line-height);
    margin-top: var(--line-height);
}
.greeting-content p:first-child{
    margin-top: 0;
}

/*---------- プロフィール ----------*/
.profile-content{
    display: flex;
    justify-content: space-between;
}
.profile-content dl{
    font-size: var(--m-text);
    width: 100%;
    position: relative;
    z-index: 1;
}
.profile-content dl div{
    display: flex;
    margin-top: var(--o-margin);
}
.profile-content dl div:first-child{
    margin-top: 0;
}
.profile-content dl div:nth-child(2){
    margin-top: var(--m-margin);
}
.profile-content dl dt{
    width: 30%;
}
.profile-content dl dd{
    width: 70%;
}
.profile-content p{
    line-height: 2;
}
.profile-img{
    position: relative;
    width: 50%;
    max-width: 500px;
    height: fit-content;
}
.profile-img img{
    border-radius: 50%;
    box-shadow: 3px 3px 6px var(--shadow);
}
.profile-content .js-scroll{
    position: absolute;
    width: 50px;
    box-shadow: none;
}
.profile-content .js-scroll:nth-child(2){
    transform: rotate(300deg);
    bottom: -15%;
    right: 4vw;
}
.profile-content .js-scroll:nth-child(3){
    transform: rotate(260deg);
    bottom: -55%;
    right: 0;
}
.profile-content .js-scroll:nth-child(4){
    transform: rotate(100deg);
    bottom: -90%;
    right: 4vw;
}

/*---------- 想い ----------*/
#message{
    background-image: url(../image/logo/logo3.png),url(../image/logo/logo4.png);
    background-repeat: no-repeat no-repeat;
    background-position: top right, bottom left;
    background-size: 20%;
}
.message-content{
    max-width: 1000px;
    text-align: center;
}
.message-content p{
    font-size: var(--m-text);
    line-height: var(--line-height);
    margin-top: var(--line-height);
}
.message-content span{
    font-weight: 900;
}

/*---------- 費用 ----------*/
.price-content{
    max-width: 800px;
}
.price-content p{
    font-size: var(--s-text);
}
.price-content h4{
    font-family:"UD デジタル 教科書体 N-B", "UD デジタル 教科書体 N-R", "BIZ UDゴシック Regular", "Hiragino Kaku Gothic ProN", "ascii";
    font-size: var(--s-text);
    margin-top: var(--l-margin);
}
.price-content dl{
    font-size: var(--s-text);
    width: 100%;
}
.price-content dl div{
    display: flex;
    margin-top: var(--m-margin);
    border-bottom: 2px dashed #707070;
}
.price-content dl dt{
    font-weight: bold;
    width: 40%;
    align-content: end;
    padding-bottom: 4px;
}
.price-content dl dd{
    width: 60%;
    padding-bottom: 4px;
}
.price-content p:last-of-type{
    margin-left: calc(40% + 1rem);
}
.price-content p:nth-last-of-type(2){
    display: flex;
    margin-top: 8px;
    margin-left: 40%;
}
.price-content p:nth-last-of-type(2)::before{
    content: '※';
}

/*---------- スライドショー ----------*/
.slide{
    display: flex;
    align-items: center;
    overflow: hidden;
}
.slide-list{
    display: flex;
    animation: loop-slide 40s infinite linear 0s both;
}
.slide-item{
    aspect-ratio: 1/1;
    width: calc(100vw / 3);
}
.slide-item img{
    object-fit: cover;
    width: 100%;
}
@keyframes loop-slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/*---------- アクセス ----------*/
.access-content{
    font-size: var(--m-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    width: 80%;
    max-width: 1640px;
}
.access-content dl{
    width: 100%;
}
.access-content dl div{
    display: flex;
    margin-top: var(--m-margin);
}
.access-content dl div:first-child{
    margin-top: var(--l-margin);
}
.access-content dl dt{
    width: 40%;
}
.access-content dl dd{
    width: 60%;
}
.access-content dl dd a{
    font-size: var(--m-text);
    font-weight: 900;
}
.access-content dl span{
    display: inline-block;
}
.access-content p:first-of-type,
.access-content p:last-of-type{
    margin-top: var(--l-margin);
}
.access-info{
    width: 100%;
}
.access-info img{
    width: 590px;
}
.access-info a{
    color: var(--font-color);
}
.access-map{
    width: 100%;
    max-width: 630px;
}
iframe{
    aspect-ratio: 1 / 1;
    width: 100%;
    height: 100%;
}
.map-btn{
    font-size: var(--m-text);
    background-color: var(--sub-color);
    border-radius: 8px;
    box-shadow: 3px 3px 6px var(--shadow);
    text-align: center;
    width: fit-content;
    margin: var(--m-margin) auto 0 auto;
    transition: all .3s;
}
.map-btn a{
    width: fit-content;
    padding: var(--m-margin);
}
.map-btn:hover{
    opacity: .6;
}

/*---------- トップへ戻る ----------*/
#top{
    position: fixed;
    right: -100px;
    bottom: 0;
    z-index: 999;
    transition: all .3s;
}
#top:hover{
    opacity: .8;
}
#top.active{
    right: 0;
}
#top a{
    position: relative;
}
#top a p{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

/*---------- フッター ----------*/
#footer{
    font-size: var(--m-text);
    color: var(--sub-color);
    text-align: center;
    padding: 0 0 var(--xl-margin) 0;
}

/*---------- アニメーション ----------*/
.js-scroll{
    opacity: 0;
}
.is-active{
    animation-name:fadein;
    animation-duration:2s;
    animation-fill-mode:forwards;
    }
    
    @keyframes fadein{
        from {
            opacity: 0;
        }
    
        to {
            opacity: 1;
        }
    }

/*---------- タブレットレスポンシブ ----------*/
@media screen and (max-width:960px){
    :root {
        --xxl-margin: 50px;
        --xl-margin: 50px;
        --l-margin: 32px;
        --m-margin: 30px;
        --s-margin: 16px;
        --line-height: 3rem;
    }

    /*---------- ヘッダー ----------*/
    #header{
        position: relative;
    }
    .header{
        min-width: 0;
    }
    #hamburger{
        display: block;
    }
    nav{
        position: absolute;
        top: 61.54px;
        left: 0;
        z-index: 999;
        width: 100%;
        opacity: 0;
        pointer-events: none;
        background-color: rgb(255, 246, 252, .6);
        transition: all .3s;
    }
    nav.open{
        opacity: 1;
        pointer-events: all;
    }
    nav ul{
        width: 100%;
        height: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    nav ul li{
        width: 100%;
        padding: 16px;
        border-bottom: #ffffff 2px solid;
    }
    nav ul li:last-child{
        border-bottom: none;
    }
    nav a{
        /* color: #fff; */
    }
    .nav-tell{
        display: block;
    }
    .tell{
        display: none;
    }

    /*---------- ヒーロー ----------*/
    h2 img:first-child{
        display: none;
    }
    h2 img:last-child{
        display: block;
        height: 80svh;
    }

    /*---------- プロフィール ----------*/
    .profile-content .js-scroll:nth-child(2){
        bottom: -30%;
    }
    .profile-content .js-scroll:nth-child(3){
        bottom: -90%;
    }
    .profile-content .js-scroll:nth-child(4){
        bottom: -150%;
    }
}

/*---------- スマートフォンレスポンシブ ----------*/
@media screen and (max-width:768px){
    :root {
        --xxl-margin: 50px;
        --xl-margin: 50px;
        --l-margin: 32px;
        --o-margin: 30px;
        --m-margin: 20px;
        --s-margin: 16px;
        --line-height: 2.5rem;
    }
    /*---------- メイン共通 ----------*/
    .greeting-content,
    .profile-content,
    .message-content,
    .price-content,
    .access-content{
        width: 91%;
    }
    .pc{
        display: none;
    }
    .sp{
        display: block;
    }
    .sub-ttl{
        font-size: var(--l-text);
    }
    .sec-ttl h3 img{
        width: 40px;
    }

    /*---------- 代表挨拶 ----------*/
    .greeting-content{
        width: 95%;
        max-width: 635px;
    }
    .greeting-content p{
        font-size: 16px;
    }

    /*---------- プロフィール ----------*/
    .profile-content{
        flex-direction: column-reverse;
        align-items: center;
        gap: 56px;
    }
    .profile-content dl{
        width: fit-content;
    }

    /*---------- アクセス ----------*/
    .access-content{
        flex-direction: column;
    }

    /*---------- プロフィール ----------*/
    .profile-content dl div{
        flex-direction: column;
    }
    .profile-content dl dt,
    .profile-content dl dd{
        width: 100%;
        line-height: 2;
    }

    /*---------- 費用 ----------*/
    .price-content h4{
        margin-top: 80px;
    }
    .price-content h4:first-of-type{
        margin-top: var(--l-margin);
    }
    .price-content dl dt,
    .price-content dl dd {
        width: 50%;
    }
    .price-content p{
        font-size: clamp(13px, 3vw, 16px);
    }
    .price-content p:last-of-type{
        margin-left: clamp(13px, 3vw, 16px);
    }
    .price-content p:nth-last-of-type(2){
        margin-left: 0;
    }
    .price-content span{
        display: inline-block;
    }
    
    /*---------- スライドショー ----------*/
    .slide-item{
        width: calc(100vw / 1);
    }

    /*---------- アクセス ----------*/
    .access-content{
        font-size: var(--s-text);
    }
    .access-content dl dt{
        width: 30%;
    }
    .access-content dl dd{
        width: 70%;
    }
    .map-btn a{
        padding: 16px 40px;
    }

    /*---------- フッター ----------*/
    #footer{
        font-size: var(--s-text);
    }
}