body{
    font-size: 16px;
    color: #ffffff;
    font-family: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4", sans-serif; /* フォント設定 */
    scroll-behavior: smooth;
    background-image: url(../img/25587996.jpg);
    background-position: center;
    background-size: cover;
}
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 1s;
}
.fadeBlur.inView{
    opacity: 1;
    filter: blur(0);
    transition-delay: 0.3s;
}
/* header */
.logo{
    position: fixed;
    top: 0;
    left: 20px;
    width: 15%;
    height: 4%;
    z-index: 2000;
}
.logo a{
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.logo img{
    width: 100%;
    height: 100%;
}
/* ハンバーガーメニュー */
.hamb {
    position: fixed;
    cursor: pointer;
    z-index: 300;
    right: 70px;
    top: 25px;
    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: 110;
  }
  
  .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-img{
    width: 100%;
    height: 100vh;
    position: relative;
}
.top-img::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: -100;
}
.top-img img{
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    box-shadow: 1px 1px 10px rgba(255, 255, 255, 0.5);
}
.mobile{
    display: none;
}
/* end_all */
.end_all{
    width: 100%;
    height: 100%;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding-top: 50px;
    text-decoration: rgba(0, 0, 0, 0.3) 1px 1px 10px;
}
/* Q&A */
.q_a{
    padding-bottom: 60px;
    color: #fff;
    text-shadow: rgba(0, 0, 0, 0.3) 1px 1px 10px;
}
.q_a h2{
    text-align: center;
    padding-bottom: 20px;
}
.q_a span{
    font-size: 16px;
}
.accordion-area{
    list-style: none;
    width: 96%;
    max-width: 900px;
    margin:0 auto;
}

.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;
    text-shadow: rgba(0, 0, 0, 0.5) 1px 1px 10px;
}
.title span{
    font-size: 2rem;
    color: rgba(0, 0, 0, 0.3);
    text-shadow: none;
    padding-right: 20px;
}
/*アイコンの＋と×*/
.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;
    text-shadow: rgba(0, 0, 0, 0.3) 1px 1px 10px;
  margin:0 3% 3% 3%;
    padding: 3%;
} 
 .box a{
    color: #2f7ccf;
 } 
  
  
  /* 画面右下の固定ボタン (丸型) */
  .fixed-button {
    position: fixed;
    bottom: 0;
    right: 0;
    background-color: #a1bbd6;
    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; /* 矢印の上のスペースを少し追加 */
}
.fixed-button:hover {
    background-color: #2f7ccf; /* ホバー時の背景色 */
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.4); /* ホバー時のボックスシャドウ */
}

/* ボタンが跳ねるアニメーション */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0); /* 元の位置 */
    }
    40% {
        transform: translateY(-10px); /* 少し上に移動 */
    }
    60% {
        transform: translateY(-5px); /* 少し上に移動 */
    }
}
@media (max-width: 480px) {
    .hamb {
        right: 10px;
        top: 30px;
        width: 30px;
        height: 30px;
    }
    /* ロゴ */
    .logo {
        width: 30%;
    }
    .top-img img{
        width: 100%;
        height: 100%;
    }
    .desk{
        display: none;
    }
    .mobile{
        display: block;
    }
    /* Q&A セクション */
    .accordion-area {
        width: 100%;
        font-size: 12px;
        padding-bottom: 150px;
    }
    .title{
        font-size: 12px;
        padding-left: 10px;
    }
    .fixed-button{
        width: 150px;
        height: 150px;
        font-size: 14px;
      }
    .box p{
        font-size: 16px;
    }

}