body{
    font-size: 16px;
    color: #FFF;
    font-family: serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-family: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4", "Yu Gothic", "游ゴシック体", sans-serif;
}
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.8s;
}
.fadeLeft.inView{
    transform: translateX(0);
    transition-delay: 0.3s;
    opacity: 1;
}
.fadeRight{
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s;
}
.fadeRight.inView{
    transform: translateX(0);
    transition-delay: 0.3s;
    opacity: 1;
}
.fadeBlur{
    opacity: 0;
    filter: blur(10px);
    transition: all 0.8s;
}
.fadeBlur.inView{
    opacity: 1;
    filter: blur(0);
    transition-delay: 0.3s;
}
/* header */
.logo{
    position: fixed;
    top: 0;
    left: 0;
    width: 10%;
}
.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: #6FC6E1;
    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;
  }
  /* top */
  .top_all {
    position: relative;
    width: 100%;
    height: 100%; /* 画面いっぱいに広げる */
    overflow: hidden;
}
.top-video{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.top-video video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.top-video img{
    width: 100%;
    height: 100%;
    object-fit: cover;
} 
.top-h3{
    position: absolute;
    top: 10%;
    right: 10px;
}
.top-h3 h3{
    display: flex;
}
.top-h3 div{
    writing-mode: vertical-lr;
    letter-spacing: 5px;
    text-shadow: #075401 1px 1px 5px;
    color: #5eff00;
}
.h-big{
    font-size: 27px;
}
/* .top_all::before {
    content: "";
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url(./img/top.jpg);
    background-size: cover;
    background-position: center;
    z-index: -1; 
} */
  .top{
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: transparent;
    z-index: 3;
  }
  .top.active{
    opacity: 1;
    background-color: rgba(83,120,149,0.5);
  }
  .top > h2{
    position: absolute;
    top: 5%;
    right: 10px;
    color: #fff;
  }
  .txt.ready {
    opacity: 1;
    transition: all .3s ease-in;
    background-color: transparent;
  }
  .txt.ready.active {
    opacity: 0;
  }
  .txt-flex{
    width: 20%;
    display: flex;
    align-items: center;
  }
  .txt {
    display: flex;
    overflow: hidden;
    width: 100%;
    /* text-shadow: 1px 1px 3px#8000FF; */
}
.txt span {
    width: 100%;
    color: #ffffff;
    font-size: 50px;
    font-weight: bold;
    letter-spacing: .06em;
    margin: 0;
    /* ここからアニメーション関係 */
    opacity: 0;
    animation: textanimation 2s forwards;
    /* text-shadow: #0a4906 1px 1px 5px; */
}

/* 1文字目 */
.txt span:nth-child(1) {
    animation-delay: 0.1s
}
/* 2文字目 */
.txt span:nth-child(2) {
    animation-delay: 0.2s
}
/* 3文字目 */
.txt span:nth-child(3) {
    animation-delay: 0.3s
}
/* 4文字目 */
.txt span:nth-child(4) {
    animation-delay: 0.4s
}
/* 5文字目 */
.txt span:nth-child(5) {
    animation-delay: 0.5s
}
/* 6文字目 */
.txt span:nth-child(6) {
    animation-delay: 0.6s
}
/* 7文字目 */
.txt span:nth-child(7) {
    animation-delay: 0.7s
}
/* 8文字目 */
.txt span:nth-child(8) {
    animation-delay: 0.8s
}
/* 9文字目 */
.txt span:nth-child(9) {
    animation-delay: 0.9s
}
/* 10文字目 */
.txt span:nth-child(10) {
    animation-delay: 1s
}
/* 11文字目 */
.txt span:nth-child(11) {
    animation-delay: 1.1s
}
/* 12文字目 */
.txt span:nth-child(12) {
    animation-delay: 1.2s
}
/* 12文字目 */
.txt span:nth-child(13) {
    animation-delay: 1.3s
}
/* 12文字目 */
.txt span:nth-child(14) {
    animation-delay: 1.4s
}
/* 12文字目 */
.txt span:nth-child(15) {
    animation-delay: 1.5s
}
/* 12文字目 */
.txt span:nth-child(16) {
    animation-delay: 1.6s
}
/* 12文字目 */
.txt span:nth-child(17) {
    animation-delay: 1.7s
}


@keyframes textanimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
/* main_menu */
.main_menu{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    padding-top: 500px;
    padding-bottom: 50px;
    background: linear-gradient(to top, #0377BA,#6FC6E1, rgba(20, 85, 114, 0.3));
    z-index: 10;
    opacity: 0;
    transition: all 0.5s;
}
.main_menu.active{
    opacity: 1;
}
.main_menu::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(3px);
    z-index: -5;
}
.main_menu::before{
    content: "";
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 80px;
    /* background-color: rgb(5, 21, 41); */
}
.text_mm{
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    text-shadow: #333 1px 1px 3px;
}
.text_mm > h3{
    display: block;
    margin-bottom: 20px;
    width: 100%;
}
.text_mm > p{
    display: block;
    width: 100%;
    font-size: 20px;
    text-align: left;
}
.img_mm{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    height: 100%;
}
.img_mm_ch{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 80%;
    height: 100%;
    margin: 0 auto;
}
.img_mm img{
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    box-shadow: #fff 0px 0px 10px;
}
.img_mm img:nth-child(2){
    margin-top: 30px;
}
/* middle_all */
.middle_all{
    width: 100%;
}
.middle_top{
    position: relative;
    width: 100%;
    background: linear-gradient(to bottom, #0377BA, #013E97);
    padding-bottom: 300px;
    display: flex;
    flex-direction: column;
}
.middle_title{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 300px;
    text-align: center;
    text-shadow: #333 1px 1px 3px;
}
.middle_content{
    width: 1000px;
    height: 800px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 0 auto;
}
.middle_content img{
    width: 70%;
    height: 80%;
    object-fit: contain;
}
.middle_content video{
    width: 70%;
    height: 80%;
    object-fit: cover;
}

/* middle_cta */
.middle_cta{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    height: 800px;
    /* background-image: url(./img/22684462.jpg); */
    background-color: #009dff;
    background-position: center;
    background-size: cover;
}
.cta_all{
    width: 45%;
    text-align: center;
    color: #fff;
    /* text-shadow: 1px 1px 2px#17212d; */
}
.cta_all h3{
    text-shadow: 1px 1px 10px #333;
}
.cta{
    display: block;
    width: 200px;
    height: 50px;
    border-radius: 20px;
    margin: 0 auto;
    margin-top: 50px;
    background-color: #b6b9e4;
    box-shadow: #19495a 1px 1px 3px;
}
.cta p{    
    line-height: 50px;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
}
.cta_img{
    width: 30%;
    height: 500px;
}
.cta_img img{
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    filter: brightness(140%);
}
.cta_img img::after{
    content: ""; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0px 0px 20px 20px rgb( 73, 73, 73);
}
.cta_img video{
    width: 100%;
    height: 70%;
    object-fit: cover;
}
/* end_all */
.end_all{
    width: 100%;
    height: 100%;
    background-color: #1f2e55;
    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%;
}

/* reserve/access */
.reserve_access{
    width: 100%;
    height: 100%;
    background-color: #1f2e55;
}
.reserve{
    width: 80%;
    height: 100%;
    border-radius: 50px 50px 0 0 ;
    margin: 0 auto;
    background-color: #314b8d;
    text-align: center;
    padding-bottom: 50px;
}
.reserve-title{
    padding: 20px 0;
}
.reserve-content{
    padding-top: 20px;
    font-size: 18px;
}
.reserve-content a{
    font-size: 50px;
}
.reserve-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #fff; /* テキストの色 */
    font-weight: bold;
    margin-top: 50px;
    border: #FFF solid 1px;
    border-radius: 50px;
    width: 40%;
    height: 70px;
    box-shadow: #676666 1px 1px 5px;
}

.reserve-cta p {
    margin: 0;
    display: inline-flex;
    align-items: center; /* 矢印とテキストを垂直方向に中央揃え */
}

.reserve-cta .arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff; /* 矢印の色 */
    border-bottom: 2px solid #fff; /* 矢印の色 */
    transform: rotate(-45deg);
    margin-left: 20px; /* お問い合わせと矢印の間に空白を追加 */
    transition: transform 0.3s ease;
    align-self: center; /* 確実に中央揃えに */
}

.reserve-cta:hover .arrow {
    transform: rotate(-45deg) translate(3px, -3px); /* ホバー時に動かす */
}
.access{
    width: 100%;
    height: 100%;
    padding-top: 100px;
    background-color: #1f2e55;
    padding-bottom: 100px;

}
.access-top{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
}
.access-left{
    display: flex;
    flex-wrap: wrap;
    width: 45%;
}
.access-left-title{
    width: 100%;
    text-align: center;
}
.access-table{
    width: 100%;
}
/* テーブル全体のデザイン */
table {
    width: 100%; /* テーブル幅を少し広く */
    text-align: center;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden; /* 角を丸くした際にテーブルの枠が飛び出さないように */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* テーブルに軽い影を追加 */
    transition: transform 0.3s ease-in-out;
    height: 20px;
}
/* テーブル行のホバー時アクション */
table tr:hover {
    background-color: #ffe4b3; /* ホバー時に行の背景色が変わる */
}
/* テーブルのヘッダー部分のデザイン */
table tr:first-child td {
    background-color: #008080;
    color: #fff;
    font-weight: bold;
}
/* テーブルの内部要素 */
tbody {
    background-color: #fff;
}
td {
    border: #17212d 1px solid;
    padding: 5px;
    font-size: 16px;
    color: #333;
    transition: background-color 0.3s ease-in-out;
}
/* ホバー時に背景色の変化を追加 */
td:hover {
    background-color: #f5d78e;
    cursor: pointer;
}
.table-content{
    text-align: center;
}
 /* 画面右下の固定ボタン (丸型) */
 .fixed-button {
    position: fixed;
    bottom: 0;
    right: 0;
    background-color: #037dff;
    border: #fff 3px solid;
    color: #fff; /* テキストの色 */
    width: 250px; /* ボタンの幅 */
    height: 250px; /* ボタンの高さ (幅と同じにすることで丸くする) */
    border-radius: 50%; /* 円形にする */
    display: flex; /* フレックスボックスを使用 */
    justify-content: center; /* 上下方向と水平方向の中央寄せ */
    align-items: center; /* 垂直方向の中央寄せ */
    flex-wrap: wrap; /* 折り返しを許可 */
    gap: 0; /* アイテム間のスペースをゼロに */
    font-size: 20px; /* フォントサイズを調整 */
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3); /* ボックスシャドウ */
    z-index: 1000; /* 他の要素より前面に表示 */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* ホバー時のトランジション */
    animation: bounce 2s infinite; /* ボタンが定期的に跳ねるアニメーション */
    padding: 0; /* ボタン内の余白をなくす */
    align-content: center; /* 折り返し時に内容を中央に */
}
.down, .button-text {
    margin: 0; /* マージンを削除 */
    padding: 0; /* 余白を削除 */
    flex-basis: auto; /* 各要素のサイズに合わせる */
    width: 100%; 
}
.down{
    width: 100%;
}

.down {
    font-size: 24px; /* 矢印のフォントサイズを大きくする */
    margin-top: 5px; /* 矢印の上のスペースを少し追加 */
}
.map{
    width: 100%;
    height: 100%;
}
.map1{
    width: 90%;
    margin: 0 auto;
    margin-top: 20px;
}
.map2{
    width: 90%;
    margin: 0 auto;
    margin-top: 20px;
}
/* .fixed-button:hover {
    background-color: #ff6347; 
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.4); 
} */

/* モバイル端末 (画面幅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{
        top: 50%;
        left: 50%;
        bottom: auto;
        transform: translate(-50%,-50%);
        text-align: center;
    }
    .txt-flex{
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        text-shadow: #333 1px 1px 3px;
    }
    .txt-flex div{
        width: 100%;
    }
    .txt span{
        font-size: 25px;
        letter-spacing: -0.1em;
    }
    .txt-flex div{
        margin-top: 15px;
    }
    .big{
        font-family: "Bebas Neue", "Arial Black", sans-serif;
        font-weight: bold;
        text-transform: uppercase; /* すべて大文字 */
        letter-spacing: 2px; /* 文字間隔を少し広げる */
        font-size: 26px !important;
        color: #0040ff !important;
        text-shadow: #fff 1px 1px 10px;
    }
    .h-small{
        font-size: 16px;
    }
    .p-big{
        font-size: 14px;
    }
    /* メインメニュー */
    .main_menu {
        flex-direction: column;
        padding-top: 100px;
    }

    .text_mm, .img_mm {
        width: 100%;
        margin: 20px auto;
    }
    .text_mm > p{
        font-size: 12px;
        text-align: center;
    }
    /* middle_allの画像とテキストのレイアウト変更 */
    .middle_content {
        flex-direction: column;
        width: 100%;
        height: 100%;
    }
    .middle_top{
        padding-bottom: 0;
    }
    .middle_content img {
        width: 70%;
        margin: 20px 0;
    }
    .middle_title{
        height: 100%;
    }
    .middle_title h3{
        font-size: 20px;
    }
    .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;
      }
}

/* タブレット端末 (画面幅600px〜900px) のスタイル */
@media (min-width: 601px) and (max-width: 900px) {
    body {
        font-size: 15px;
    }

    .logo {
        width: 60%;
    }

    .hamb {
        right: 40px;
        top: 30px;
        width: 35px;
        height: 35px;
    }


    /* メインメニュー */
    .main_menu {
        flex-direction: column;
        padding-top: 300px;
    }

    .text_mm, .img_mm {
        width: 70%;
    }

    .text_mm h3 {
        font-size: 32px;
    }

    .text_mm p {
        font-size: 18px;
    }

    /* middle_allの画像とテキストのレイアウト変更 */
    .middle_content {
        flex-direction: column;
    }

    .middle_content img {
        width: 60%;
        margin: 20px 0;
    }

    /* CTAセクション */
    .middle_cta {
        flex-direction: column;
        padding: 20px;
    }

    .cta_all, .cta_img {
        width: 90%;
        margin: 20px 0;
    }

    .cta {
        width: 70%;
        height: 50px;
    }

    /* テーブルのスタイル */
    table {
        width: 100%;
        font-size: 14px;
    }

    td {
        padding: 10px;
    }
}