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: 1000;
}
.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(40px);
    -webkit-backdrop-filter: blur(40px);
    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;
}
.content-all{
    width: 100%;
    height: 100%;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding-bottom: 100px;
    /* background-color: #17212d; */
}
  .content-alls{
    width: 100%;
    height: 100%;
    padding-top: 50px;
  }
  .content-list{
    width: 90%;
    height: 100%;
    margin: 0 auto;
    border: 5px solid #fff;
    border-radius: 10px;
    position: relative;
    padding-bottom: 100px;
    margin-top: 100px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
  }
  .content-list h3{
    height: 100%;
    text-align: center;
    padding-top: 100px;
    margin: 0 auto;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
  }
  .content-title{
    position: absolute;
    top: 10px;
    left: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 50px;
    font-weight: bold;
    transform: rotate(-20deg);
    text-shadow: 1px 1px 10px rgba(255, 255, 255, 0.5);
  }
  .content-flex{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
  }
  .content{
    width: 45%;
    height: 90%;
    border-radius: 20px;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
  }
  .content h2{
    width: 100%;
    text-align: center;
    margin: 30px 0;
    position: relative;
  }
.content p{
    width: 80%;
    margin: 30px auto;
    line-height: 40px;
}

.content-img{
    width: 400px;
    height: 300px;
    margin:  0 auto;
}
.content-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
}


  /* 画面右下の固定ボタン (丸型) */
.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;
    }
    .content-list{
        border: 0;
        box-shadow: 1px 1px 10px transparent;
    }
    .content-list h3{
        font-size: 25px;
    }
    .content-flex{
        flex-wrap: wrap;
    }
    .content{
        width: 100%;
        height: 90%;
        border: #fff 5px solid;
        border-radius: 20px;
        margin-top: 20px;
        box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
      }
      .content-title{
        font-size: 40px;
      }
      .content h2{
        width: 100%;
        text-align: center;
        margin: 30px 0;
        position: relative;
      }
      .content h2::after,
      .content h2::before{
        content: "";
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 5px;
        background-color: #fff;
      }
      .content h2::before{
        right: 0;
        border-radius: 5px 0 0 5px;
    }
    .content h2::after{
        left: 0;
        border-radius: 0 5px 5px 0;
      }
      .content-img{
        width: 90%;
      }
      .fixed-button{
        width: 150px;
        height: 150px;
        font-size: 14px;
      }
}