body{
    font-size: 16px;
    color: #FFF;
    font-family:  'Quicksand', sans-serif;
    scroll-behavior: smooth;
    background-color: #C5B3C5;
}
img{
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}
a{
    text-decoration: none;
    color: #fff;
}
li{
    list-style: none;
}
h2{
    font-size: 1.5rem;
}
h3{
    font-size: 40px;
}
p{
    font-size: 20px;
}
/* fade-animation */
.fadeUp{
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s;
}
.fadeUp.inView{
    transform: translateY(0);
    transition-delay: 0.3s;
    opacity: 1;
}
.fadeLeft{
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.5s;
}
.fadeLeft.inView{
    transform: translateX(0);
    transition-delay: 0.3s;
    opacity: 1;
}
.fadeRight{
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s;
}
.fadeRight.inView{
    transform: translateX(0);
    transition-delay: 0.3s;
    opacity: 1;
}
.fadeBlur{
    opacity: 0;
    filter: blur(10px);
    transition: all 0.5s;
}
.fadeBlur.inView{
    opacity: 1;
    filter: blur(0);
    transition-delay: 0.3s;
}
/* header */
.logo{
    position: fixed;
    top: 0;
    left: 0;
    width: 10%;
    z-index: 1000;
}
.logo a{
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
/* ハンバーガーメニュー */
.hamb {
    position: fixed;
    cursor: pointer;
    z-index: 300;
    right: 70px;
    top: 40px;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    padding: 15px;
    border-radius: 50px;
  }
  
  .black-bg ul{
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  
  .black-bg ul li {
    text-align: center;
    padding: 20px 0;
  }
  
  .black-bg ul li a {
    color: #fff;
    font-size: 18px; 
    font-weight: bold;
    display: block;
    text-decoration: none;
  }
  
  .line {
    position: absolute;
    width: 27px;
    height: 1px;
    background-color: #fff;
    
}
.line:nth-child(1){
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
  } 

  .line:nth-child(2)  {
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
  }
  
  .line:nth-child(3)  {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);

  }
  
  .black-bg {
    position: fixed;
    background: #17212d;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    z-index: 100;
  }
  
  .black-bg.open {
    opacity: 1;
    visibility: visible;
    height: 100%;
  }
  
  #hamb.active .line {
    background-color: #fff;
  }
  
  /*アニメーション*/
  .black-bg {
    transition: opacity 0.6s, visibility 0.35s, width 0.35s;
  }
  #hamb.active .line:nth-child(1) {
    top: 50%;
    left: 15%;
    transform: translateY(-50%) rotate(-45deg);
  }
  #hamb.active .line:nth-child(2) {
      opacity: 0;
      background: #FFF;
  }
  #hamb.active .line:nth-child(3) {
    bottom: 45%;
    left: 15%;
    transform: rotate(45deg);
  }
  .animation {
    transition: all .9s;
  }
.header-img{
    width: 100%;
    height: 60vh;
    background: linear-gradient(135deg, rgba(233, 211, 180, 1) 0%,rgba(186,190,179,1) 20%,rgba(126,156,164,1) 70%, rgba(69, 104, 140, 1) 100%);
    background-size: 200% 200%;
    animation: waveBackground 5s ease-in-out infinite;
    position: relative;
}
@keyframes waveBackground {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 60%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 40%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.header-img img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 80%;
    height: 70%;
    object-fit: cover;
    border-radius: 50px;
}
.header-img h3{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #FFF;
    font-size: 60px;
    text-shadow: #17212d 1px 1px 2px;
}
/* end_all */
.end_all{
    width: 100%;
    height: 100%;
    background-color: #a1bbd6;
    padding-top: 50px;
}
/* Q&A */
.q_a{
    padding-bottom: 60px;
    color: #fff;
}
.q_a h2{
    text-align: center;
    padding-bottom: 20px;
}
.q_a span{
    font-size: 16px;
    padding-right: 20px;
}
.accordion-area{
    list-style: none;
    width: 96%;
    max-width: 900px;
    margin:0 auto;
    font-family: monospace;
}

.accordion-area li{
    margin: 10px 0;
}

.accordion-area section {
  border-bottom: 1px solid #ccc;
}
/*アコーディオンタイトル*/
.title {
    position: relative;/*+マークの位置基準とするためrelative指定*/
    cursor: pointer;
    font-size:1rem;
    line-height: 2rem;
    font-weight: normal;
    padding: 3% 3% 3% 50px;
    transition: all .5s ease;
}
.title span{
    font-size: 2rem;
    color: #a0abb7;
    opacity: 0.3;
}
/*アイコンの＋と×*/
.title::before,
.title::after{
    position: absolute;
    content:'';
    width: 15px;
    height: 2px;
    background-color: #fff;
}
.title::before{
    top:48%;
    right: 15px;
    transform: rotate(0deg);
    
}
.title::after{    
    top:48%;
    right: 15px;
    transform: rotate(90deg);

}
/*　closeというクラスがついたら形状変化　*/
.title.close::before{
  transform: rotate(45deg);
}

.title.close::after{
  transform: rotate(-45deg);
}
/*アコーディオンで現れるエリア*/
.box {
    display: none;/*はじめは非表示*/
    color: #fff;
  margin:0 3% 3% 3%;
    padding: 3%;
}
footer{
    width: 100%;
    height: 100%;
    background-color: #2E3A59;
}
footer p{
    width: 100%;
    text-align: center;
    font-size: 15px;
}
/* モバイル端末 (画面幅600px以下) のスタイル */
@media (max-width: 600px) {
    body {
        font-size: 14px;
    }
    h3{
        font-size: 25px;
    }
    p{
        font-size: 12px;
    }
    /* ロゴとハンバーガーメニュー */
    .logo {
        width: 20%;
    }
    .logo a{
        width: 100%;
    }
    .hamb {
        right: 10px;
        top: 30px;
        width: 30px;
        height: 30px;
    }
    .txt{
        bottom: 0;
    }
    .top > h2{
        bottom: 20%;
    }
    .txt-flex{
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }
    .txt-flex div{
        width: 100%;
    }
    .txt span{
        font-size: 16px;
        letter-spacing: -0.1em;
    }
    /* メインメニュー */
    .main_menu {
        flex-direction: column;
        padding-top: 100px;
    }

    .text_mm, .img_mm {
        width: 80%;
        margin: 20px auto;
    }
    .text_mm > p{
        font-size: 12px;
    }
    /* middle_allの画像とテキストのレイアウト変更 */
    .middle_content {
        flex-direction: column;
        width: 100%;
        height: 100%;
    }
    .middle_top{
        padding-bottom: 20px;
    }
    .middle_content img {
        width: 70%;
        margin: 20px 0;
    }
    .middle_title{
        height: 100%;
    }
    .middle_title p{
        padding: 20px 0;
    }
    /* CTAセクション */
    .middle_cta {
        flex-direction: column;
        height: auto;
        padding: 20px;
        font-size: 16px;
    }
    
    .cta_all, .cta_img {
        width: 100%;
        margin: 20px 0;
    }
    .cta_all h3{
        font-size: 18px;
    }
    .cta {
        width: 50%;
        height: 50px;
    }
    
    .cta p {
        line-height: 50px;
    }
    .cta_img{
        height: 300px;
    }

    /* Q&A セクション */
    .accordion-area {
        width: 100%;
        font-size: 12px;
    }
    .title{
        font-size: 15px;
        padding-left: 10px;
    }
    /* テーブルのスタイル */
    .access-table {
        overflow-x: auto; /* 横スクロールを追加 */
    }

    table {
        width: 100%;
        font-size: 12px; /* 小さくして調整 */
    }

    td {
        padding: 8px;
    }
    .reserve-content a{
        font-size: 30px;
    }
    .reserve-cta{
        width: 60%;
        height: 50px;
    }
    .access-top{
        flex-wrap: wrap;
    }
    .access-left{
        width: 100%;
    }
    .access-table{
        width: 90%;
        margin: 0 auto;
        margin-top: 30px;
    }
    iframe{
        margin-top: 30px;
    }
    .fixed-button{
        width: 150px;
        height: 150px;
        font-size: 12px;
      }
      .down{
        font-size: 12px;
      }
}
