@charset "UTF-8";



body{
    background-color: #C8D6E0;
}

.image-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

span{
    display:block;
}

a{
    color: #2D6982;
    text-decoration: none;
}



/* === タブレット対応 (幅1024px以下) === */
@media (max-width: 1024px) {
  .logo img {
    width: 160px;
  }
  .mainvisual img {
    width: 90%;
  }
}

/* === スマホ対応 (幅768px以下) === */
@media (max-width: 768px) {
  .logo img {
    width: 60vw; /* 画面の60%の幅 */
    max-width: 100%; /* 拡大しすぎ防止 */
    min-width: 10vh; /* 小さすぎ防止 */
  }

  .mainvisual img {
    width: 100%;
    min-width: auto; /* ロゴとメニュー分の余白 */
  }

  .header__navi_01{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

  .header__navi_01 a {
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    line-height: 2.4;
  }

    .header__navi_01 ul{
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        padding-top: 0;
 }

.sp-menu-btn_01.active .line:nth-child(1){
  top: 15px;
}
.sp-menu-btn_01.active .line:nth-child(2){
  top: 22px;
}
.sp-menu-btn_01.active .line:nth-child(3){
  top: 29px;
}

.sp-menu-btn_01.active .line:nth-child(1){
  transform: rotate(45deg);
  top:22px;
}
.sp-menu-btn_01.active .line:nth-child(2){
  opacity: 0;
}

.sp-menu-btn_01.active .line:nth-child(3){
  transform: rotate(45deg);
  top:22px;
}

  .sp-menu-btn_01 {
    position:fixed;
    width: 48px;
    height: 48px;
    right: max(16px,
    env(safe-area-inset-right));
    top: max(16px,
    env(safe-area-inset-top));
    background: #ada59c;
    border-radius: fixed;
    z-index:1100;
  }}

  .sp-menu-btn_01 .line {
    position: absolute;
    width: 28px;
    left: 10px;
    height: 2px;
    background: #fff;
    transition:0.3s ease;
  }


  /* 背面スクロール禁止 */
body.no-scroll { overflow: hidden; }

/* オーバーレイ */
.nav-overlay{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  z-index: 1040; /* nav(1050)より下、ボタンより下に注意 */
}
.nav-overlay.active{ pointer-events: auto; }


@media (max-width: 768px){
  /* 左から出る面を“中央化” */
  .header__navi_01{
    position: fixed; top:0; left:0;
    width: 100%; height: 100vh; /* 全面を使う */
    background: #ada59c;
    transform: translateX(-100%); /* 初期は画面外 */
    transition: transform 0.4s ease;
    z-index: 1050;
    display: flex; /* ここがポイント */
    justify-content: center; /* 横中央 */
    align-items: center; /* 縦中央 */
    padding: 0; /* 余白リセット */
  }
  .header__navi_01.active{ transform: translateX(0); }

  .header__navi_01 ul{
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column;
    gap: 20px; text-align: center; z-index: 1050;
  }
  .header__navi_01 a{
    color: #fff; text-decoration: none;
    font-size: 1.4rem; /* ← 大きめ文字 */
    line-height: 2.2; /* 行間ゆったり */
    letter-spacing: 0.03em;
  }

  /* 右上ボタンは少し小ぶりに */
  .sp-menu-btn_01{
    right: 16px; top: 16px; width: 48px; height: 48px;
  }
  .sp-menu-btn_01 .line{ left: 10px; width: 26px; }
}


}

/* スマホ時のロゴサイズ調整 */
@media screen and (max-width: 768px) {
  .logo img {
    width: 60vw;
    max-width: 200px;
  }
}