:root{
    --main-color: #FFD700;
    --sub-color: #FEE57D;
    --bg-color: #F8F4EF;
    --text-color: #4e5257;
    --black: #222;
    --white:#fff;
    --white-opa: rgba(255, 255, 255, .8)
}

.kaisei-opti-regular {
    font-family: "Kaisei Opti", serif;
    font-weight: 400;
    font-style: normal;
}
  

html{
    width: 100%;
    font-size: 62.5%;
    font-family: "Kaisei Opti","Noto Serif JP", serif;
    color: var(--text-color);
}

@media screen and (max-width:768px) {
    html{
        font-size: clamp(6px, 2vw, 10px);
    }
}

body{
    width: 100%;
    font-size: 100%;
    line-height: 2;
    letter-spacing: .3em;
}

.pc{
    display: inherit;
}

.sp{
    display: none;
}


@media screen and (max-width:768px) {
    .pc{
        display: none;
    }
    
    .sp{
        display: inherit;
    }
}

a{
    text-decoration: none;
    color: var(--text-color);
    transition: opacity .2s;
}

img, picture{
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

li{
    list-style: none;
}

p:not(.copyright p){
    padding: .5em;
    background: url(../img/bg_text/bg_text01.jpg) no-repeat center / cover;
    border-radius: .5em;
    color: black;
    background-color:rgb(255, 255, 255, .3);
    background-blend-mode: lighten;
}

.inner {
    max-width: 1280px;
    margin: 0 8rem;
}

.sec-ttl {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    padding-left: 2.5rem;
    font-weight: normal;
    font-size: 2rem;
    line-height: 1.5;
    word-break: keep-all;
    color: var(--text-color);
}

.sec-ttl::before{
    position: absolute;
    top: 47%;
    left: 0;
    translate: 0 -50%;
    content: "★";
    width: 2rem;
    height: 100%;
    padding-left: .1em;
}

.sec-ttl::after{
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    content: "";
    width: 0;
    height: 100%;
    border-radius: 45%;
    background-color: var(--main-color);
    transition: width 1.5s ease;
}

.is-slideIn.sec-ttl::after{
    width: 100%;
}

.sec-ttl-sub {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    padding-left: 2.5rem;
    font-weight: normal;
    font-size: 2rem;
    line-height: 1.5;
    word-break: keep-all;
    color: var(--text-color);
}

.sec-ttl-sub::before{
    position: absolute;
    top: 47%;
    left: 0rem;
    translate: 0 -50%;
    content: "★";
    width: 2rem;
    height: 100%;
    padding-left: .1em;
}

.sec-ttl-sub::after{
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    content: "";
    width: 0;
    height: 100%;
    background-color: var(--main-color);
    transition: width 1.5s ease;
}

.is-slideIn.sec-ttl-sub::after{
    width: 100%;
}

@media screen and (min-width:1441px) {
    .inner{
        margin: 0 auto;
    }
}

@media screen and (max-width:768px) {
    .inner{
        margin: 0 4rem;
    }
}
/* ボタン */
button{
    width: 100%;
}

.btn-more {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20rem;
    height: 8rem;
    border-radius: 2rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background-color: var(--gold);
    transition: background-color .3s;
}

.btn-more::after{
    position: absolute;
    top: 50%;
    right: 1rem;
    translate: 0 -50%;
    content: "";
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--white);
    border-radius: 50%;
}

.btn-more:hover{
    background-color: var(--sub-color);
}

.arrow {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    translate: 0 -50%;
    display: inline-block;
    width: 2rem;
    height: 1px;
    border-radius: 9999px;
    background-color: var(--white);
}
  
.arrow::before,
.arrow::after {
  content: "";
  position: absolute;
  top: calc(50% - 0.5px);
  right: 0;
  width: 10px;
  height: 1px;
  border-radius: 9999px;
  background-color: var(--white);
  transform-origin: calc(100% - 0.5px) 50%;
}

.arrow::before {
  transform: rotate(45deg);
}

.arrow::after {
  transform: rotate(-45deg);
}

@media screen and (max-width:768px) {
    .btn-more {
        width: 100%;
        height: 6rem;
        font-size: 1.4rem;
        margin-left: -1rem;
    }
    
    .btn-more::after{
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 50%;
    }
    
    .arrow {
        right: 1.5rem;
        width: 1.5rem;
        height: 1px;
    }
      
    .arrow::before,
    .arrow::after {
      right: 0;
      width: 1rem;
    }
}

/*お問い合わせボタン  */
.contact button{
    position: relative;
    padding: 10rem 0;
    cursor: inherit;
}

.btn-contact {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 20rem;
    margin: 2rem auto 0;
    border-radius: 1rem;
    font-size: 2rem;
    color: var(--text-color);
    background-color: var(--main-color);
    transition: background-color .3s;
}

.btn-contact::after{
    position: absolute;
    top: 50%;
    right: 4rem;
    translate: 0 -50%;
    content: "";
    width: 8rem;
    height: 8rem;
    border: 1px solid var(--white);
    border-radius: 50%;
}

.btn-contact:hover{
    background-color: var(--sub-color);
}

.btn-contact .arrow{
    right: 5.5rem;
    width: 5rem;
}

.contact-attention {
    position: absolute;
    top: 0;
    left: 5%;
    z-index: 1;
    width: 20rem;
    height: 30rem;
}

@media screen and (max-width:768px) {
    .contact button {
        padding: 0;
    }

    .btn-contact {
        height: 10rem;
        font-size: 1.6rem;
    }
    
    .btn-contact::after{
        right: 4rem;
        width: 4rem;
        height: 4rem;
    }

    .btn-contact .arrow{
        right: 4.5rem;
        width: 3rem;
    }

    .contact-attention {
        position: static;
        margin: 0 auto;
        width: 20rem;
        height: 30rem;
}
}

/* 上に戻るボタン */
.btn-to-top {
    width: 5rem;
    height: 5rem;
    position: fixed;
    top: -7rem;
    right: 10px;
    z-index: 10;
    border: 1px solid var(--white);
    background-color: var(--main-color);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.btn-to-top.scrolled{
    opacity: 1;
}

.btn-to-top::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f0d8';
    font-size: 3rem;
    color: var(--white);
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
}


/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    translate: 0 -110%;
    width: 100%;
    height: 8rem;
    transition: translate 2s;
}

.header .inner{
    display: flex;
    align-items: center;
    height: 100%;
}

.header-logo {
    visibility: hidden;
    width: 16rem;
}

.hamburger {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9900;
    width: 7rem;
    height: 7rem;
    padding: 2rem;
    border-radius: 50%;
    color: var(--white);
    background-color: var(--main-color);
    cursor: pointer;
}

.hamburger-line{
    position: relative;
    width: 100%;
    height: 100%;
}

.hamburger-line span{
    position: absolute;
    left: 0;
    content: "";
    width: 100%;
    height: 1px;
    background-color: var(--white);
    will-change: transform;
    transition: translate .3s, opacity .3s, rotate .3s;
}

.hamburger-line span:nth-child(1){
    top: 28%;
}

.hamburger-line span:nth-child(2){
    top: 50%;
    translate: 0 -50%;
    width: 66%;
}

.hamburger-line span:nth-child(3){
    bottom: 28%;
}

.hamburger.is-open span:nth-child(1){
    top: 52%;
    rotate: 45deg;
}

.hamburger.is-open span:nth-child(2){
    opacity: 0;
}

.hamburger.is-open span:nth-child(3){
    bottom: 46%;
    rotate: 135deg;
}

/* ロードされたらヘッダーを表示 */
.header.loaded{
    translate: 0 0;
    opacity: 1;
}

.drawer {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9500;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    transition: visibility .3s ease, opacity .3s ease;
    background-color: var(--main-color);
}

.drawer.is-open{
    visibility: visible;
    opacity: 1;
}

.drawer ul{
    width: 70%;
    margin: 0 auto;
    padding: 10rem 0;
}

.drawer li a{
    display: inline-block;
    margin: .5rem 0;
    padding: .5rem 0;
    font-size: 1.6rem;
    color: var(--text-color);
    transition: color .3s ease, translate .3s ease;
}

.drawer li a:hover{
    translate: .5em 0;
    color: var(--sub-color);
}

@media screen and (max-width:768px) {    
    .header-logo {
        width: 12rem;
    }
    
    .hamburger {
        display: none;
        width: 5rem;
        height: 5rem;
        padding: 1rem;
    }
}

/* スマホ画面メニュー */
.fixed-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    translate: 0 100%;
    z-index: 10;
    width: 100%;
    background-color: var(--main-color);
    transition: translate 1.5s ease;
}

.fixed-nav.scrolled{
    translate: 0 0;
}

.fixed-nav ul{
    display: grid;
    width: 100%;
    height: auto;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    font-size: 1.4rem;
    border-top: 1px solid var(--white);
}

.fixed-nav li{
    border-bottom: 1px solid var(--white);
}

.fixed-nav ul li:nth-child(1) {
    grid-area: 1 / 1 / 2 / 4;
}

.fixed-nav ul li:nth-child(2) {
    grid-area: 2 / 1 / 3 / 2; 
    border-right: 1px solid var(--white);
}

.fixed-nav ul li:nth-child(3) {
    grid-area: 2 / 2 / 3 / 3; 
}

.fixed-nav ul li:nth-child(4) {
    grid-area: 3 / 1 / 4 / 3; 
}

.fixed-nav ul li:nth-child(5) {
    grid-area: 4 / 1 / 5 / 2; 
    border-right: 1px solid var(--white);
}

.fixed-nav ul li:nth-child(6) {
    grid-area: 4 / 2 / 5 / 3; 
}

.fixed-nav ul li:nth-child(7) {
    grid-area: 5 / 1 / 6 / 3; 
}

.fixed-nav ul li:nth-child(8) {
    grid-area: 6 / 1 / 7 / 2; 
    border-right: 1px solid var(--white);
}

.fixed-nav ul li:nth-child(9) {
    grid-area: 6 / 2 / 7 / 3; 
}

.fixed-nav ul li:nth-child(10) {
    grid-area: 7 / 1 / 8 / 2; /* 7行目1列目 */
    border-right: 1px solid var(--white);
}

.fixed-nav ul li:nth-child(11) {
    grid-area: 7 / 2 / 8 / 3; /* 7行目2列目 */
}

.fixed-nav ul li a{
    display: block;
    width: 100%;
    height: 100%;
    padding: 1rem 0;
    text-align: center;
    font-size: 1.4rem;
    color: var(--text-color);
    transition: background-color .3s ease;
}

.fixed-nav ul li a:hover{
    background-color: var(--sub-color);
    color: var(--white);
}

@media screen and (max-width:768px) {
    .fixed-nav{
        display: block;
    }
}


/* スクロールでフェードイン */
.fadeIn {
    transition: opacity 0.7s, translate 1s ease;
    translate: 0 10rem;
    opacity: 0;
}
/* jsでこのクラスをつけることでフェードインさせる */
.is-fadeIn {
    /*要素を表示させる*/
    opacity: 1;
    visibility: visible;
    /*元の位置に戻す*/
    translate: 0 0;
}


/* fv*/
.subpage-fv {
    display: flex;
    width: 100%;
    height: 100vh;
}
.subpage-fv__ttl {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 40%;
}

.page-ttl {
    font-size: 3.2rem;
}

.subpage-fv__img img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

@media screen and (max-width:768px) {
    .subpage-fv__ttl {
        width: 100%;
        height: 80vh;
        padding: 0 2rem;
        background-color: var(--main-color);
    }

    .page-ttl {
        font-size: 2.4rem;
    }    
}

/* 説明 */
.offsite__text{
    width: 90%;
    margin: 4rem auto 0;
    padding: 4rem 6rem;
    font-size: 1.6rem;
}

@media screen and (max-width:768px) {
    .offsite__text{
        margin: 0 auto;
        padding: 2rem 4rem;
        font-size: 1.4rem;
    }
}

/* photo */
.photo_box{
    display: flex;
    row-gap: 5rem;
    column-gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 4rem auto 6rem;
    padding-inline: 10%;
}

.photo_card {
    max-width:400px;
    min-width: 250px;
    flex: 0 0 30%;
}

.photo_card-img img{
    max-height: 400px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.photo_card-num {
    margin-top: 1rem;
    font-size: 1.4rem;
}

.photo_card-text {
    font-size: 1.2rem;
}

@media screen and (max-width:768px) {
    .photo_box {
        padding-inline: 5%;
    }

    .photo_card {
        flex: 0 0 90%;
    }
}



/* footer */
.footer {
    margin: 4rem auto 0;
    padding: 4rem 8rem 0;
    background-color: var(--bg-color);
}

.footer__content{
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.footer__nav {
    margin-bottom: 2rem;
}

.footer__logo {
    width: 30rem;
    margin-bottom: 2rem;
}

.footer__global-nav{
    margin-bottom: 2rem;
}

.footer__global-nav li{
    margin-bottom: 1rem;
}

.footer__global-nav li a{
    display: inline-block;
    font-size: 1.4rem;
    line-height: 1.5;
    transition: color .3s ease, translate .3s ease;
}

.footer__global-nav li a:hover{
    translate: .5em 0;
    color: var(--sub-color);
}

.footer__sns li{
    width: 12rem;
    margin-bottom: 1rem;
}

.gmail{
    display: inline-block;
    width: 12rem;
    padding: 1rem 1rem 1rem;
    border-radius: .3rem;
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: bold;
    color: var(--white);
    background-color: var(--main-color);
}

.gmail span{
    position: relative;
    padding-left: 3rem;
}

.gmail span::before{
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 2.4rem;
    height: 2rem;
    background: url(../img/icon-gmail.svg) no-repeat center / cover;
}

.footer__sns a:hover{
    opacity: .8;
}

.footer .address{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.time-table {
    display: block;
    width: 100%;
    border: 1px solid var(--main-color);
    border-bottom: none;
    border-collapse: collapse;
}
  
.time-table {
    display: block;
    border-collapse: collapse;
}
  
.time-table th, .time-table td {
    padding: 0px 1rem;
    text-align: center;
    height: 5rem;
    border-bottom: 1px solid var(--main-color);
    font-weight: normal;
    font-size: 1.4rem;
}
  
.time-table td {
    width: 100%;
    color:var(--main-color);
}
  
.time-table .time {
    border-right: 1px solid var(--main-color);
    color: var(--text-color);
}
  
@media screen and (max-width: 768px)  {
.time-table td {
    min-width: auto;
    width:100%;
    max-width:5%;
    font-size:1.2rem;
}
  
.time-table th, .time-table td {
    width:100%;
    padding:0px 1.5rem;
    font-size:1rem;
}
}
  
.footer__map {
    width: 45vw;
    height: 45vw;
}

.copyright {
    padding: 2rem 0;
}

.copyright p{
    text-align: center;
    font-size: 1.2rem;
    line-height: 1;
    letter-spacing: 0.2em;
}


@media screen and (max-width:768px) {
    .footer {
        margin: 4rem auto 24rem;
        padding: 4rem 4rem 0;
    }

    .footer__content{
        flex-direction: column;
    }

    .footer__map {
        min-height: 300px;
        width: 100%;
        margin: 0 auto;
    }

    .copyright p{
        font-size: 1rem;
    }
}