body{
    font-size: 16px;
    color: #FFF;
    font-family:  'Quicksand', sans-serif;
    scroll-behavior: smooth;
    background-image: url(../img/25587996.jpg);
}
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;
}
/* 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;
  }
.split-container {
    display: flex;
    height: 100vh; /* ビューポートの高さを使用 */
}

.left {
    width: 50%; /* 左側の幅 */
    color: white;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: scroll; /* 縦スクロールを有効にする */
    position: relative;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.content-item {
    height: 100vh; /* 各アイテムの高さをビューポートの高さに設定 */
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3); /* 各項目の区切り線 */
    cursor: pointer; /* マウスカーソルをポインターに */
    position: relative; /* To position the arrow */
}

.right {
    width: 50%; /* 右側の幅 */
    background-color: #17212d; /* 右側の背景色 */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* 画像を重ねるための設定 */
    overflow: hidden; /* 画像がはみ出さないようにする */
}

.right-img{
    width: 100%;
    height: 100%;
}

#content-image {
    width: 100%; /* 画像の最大幅を100%に設定 */
    height: 100%;
    object-fit: cover;
    opacity: 1; /* 初期状態は不透明 */
    transition: opacity 0.1s ease; /* フェードイン・フェードアウトのアニメーション */
}
.fixed-center-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(0, 0, 0, 0.5);
    font-size: 100px;
    font-weight: bold;
    text-align: center;
    z-index: 100; /* 他の要素の上に表示 */
    pointer-events: none; /* クリックイベントを受けないようにする */
    transition: opacity 0.3s ease-in-out;
    opacity: 1; /* 最初は見えるように設定してみる */
    border-bottom: rgba(0, 0, 0, 0.5) 5px double;
}

.scroll-down {
    position: absolute;
    bottom: 10%;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInOut 2s infinite; /* フェードイン・アウトのアニメーション */
}

.scroll-text {
    writing-mode: vertical-rl; /* 縦書きにする */
    font-size: 16px;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: rgb(0, 0, 0, 0.8) 1px 1px 10px;
}

.arrow-down {
    font-size: 24px;
    color: #fff;
    text-shadow: rgb(0, 0, 0, 0.8) 1px 1px 10px;
    animation: bounce 1.5s infinite; /* 矢印が上下にバウンドするアニメーション */
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px); /* 矢印が少し下に移動 */
    }
}
.left-content{
    width: 80%;
    height:400px;
    position: absolute;
    top: 10%;
    left: 5%;
    background-color: #fff;
    border-radius: 50px;
    color: #17212d;
    box-shadow: rgb(0, 0, 0, 0.3) 1px 1px 10px;
    padding-left: 30px;
}
.left-content h4{
    font-size: 25px;
    font-weight: lighter;
    margin-top: 30px;
    width: 100%;
}

.left-content h3{
    margin: 10px 0;
    width: 100%;
    position: relative;
}
.left-content p{
    font-size: 16px;
    line-height: 40px;
    width: 100%;
}
.left-content ul{
    margin-top: 10px;
    width: 100%;
}
.left-content li{
    list-style-type: disc;
    list-style-position: inside;
    width: 100%; 
}
  /* 画面右下の固定ボタン (丸型) */
.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%;
    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: 768px) {
    .split-container {
        flex-direction: column; /* 縦に積み重ねる */
    }
    .left, .right {
        width: 100%;
        height: 50vh;
    }
    .fixed-center-text {
        font-size: 50px;
    }
    .left-content {
        width: 90%;
        top: 5%;
        padding: 10px;
    }
    .hamb {
        right: 20px;
        top: 20px;
    }
    h3 {
        font-size: 24px;
    }
    p {
        font-size: 16px;
    }
    
    /* 上下逆にするためのorder設定 */
    .right {
        order: 1; /* 上に表示 */
    }
    .left {
        order: 2; /* 下に表示 */
    }
    
}

@media (max-width: 480px) {
    /* ロゴ */
    .logo {
        width: 30%;
    }
    .split-container {
        flex-direction: column; /* 縦に積み重ねる */
    }
    .left{
        width: 100%;
        height: 60vh;
    }
    .right{
        width: 100%;
        height: 40vh;
    }
    .fixed-center-text {
        font-size: 40px;
        top: 20%;
        color: rgb(255, 255, 255, 0.5);
        border-bottom: rgb(255, 255, 255, 0.5) 5px double;
    }
    .content-item{
        height: 50vh
    }
    .left-content {
        width: 90%;
        height: 90%;
        margin: 0 auto;
    }
    .hamb {
        right: 10px;
        top: 25px;
    }
    .left-content h4{
        font-size: 16px;
        text-align: center;
    }
    .left-content h3 {
        font-size: 20px;
        text-align: center;
    }
    .left-content p {
        font-size: 12px;
        text-align: center;
        line-height: 20px;
    }
    .left-content ul{
        width: 40%;
        margin: 0 auto;
        margin-top: 10px;
        font-size: 12px;
    }
    .scroll-down{
        left: 50%;
        bottom: 97%;
        transform: translateX(-50%);
    }
    .scroll-text{
        display: none;
    }
    /* 上下逆にするためのorder設定 */
    .right {
        order: 1; /* 上に表示 */
    }
    .left {
        order: 2; /* 下に表示 */
    }
    .fixed-button{
        width: 150px;
        height: 150px;
        font-size: 14px;
      }
}