@charset "UTF-8";



html, body {
  margin: 0;
  padding: 0;
}

/* tab用　ss 20261121~ */
 .tab-wrapper,.tab-wrapper-under {
      max-width: 1200px;
      margin: 5px auto;
      font-family: sans-serif;
    }

    .tab-buttons {
      position: relative;
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      align-items: end;
      gap: 0;
    }

    .tab-buttons::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 10px;
      background-color: #0066cc;
      pointer-events: none;
      z-index: 1;
    }

   .tab-wrapper-under.tab-btn{
	 border-bottom: none;
    }

    .tab-btn {
      position: relative;
      z-index: 2;
      padding: 6px 6px 20px;
      border: 10px solid transparent;
      border-bottom: none;
      border-radius: 8px 8px 0 0;
      background-color: transparent;
      cursor: pointer;
      transition: opacity 0.25s ease, background-color 0.2s ease, border-color 0.2s ease;
      opacity: 1;
    }

    .tab-btn img {
      display: block;
      width: 100%;
      height: auto;
      object-fit: cover;
      border-radius: 6px;
    }

    .tab-buttons:has(.tab-btn:hover) .tab-btn:not(:hover),
    .tab-buttons.has-active .tab-btn:not(.is-active):not(:hover) {
      opacity: .85;
    }

    .tab-btn.is-active,
    .tab-btn:hover {
      z-index: 3;
      opacity: 1;
      border-color: #0066cc;
      border-bottom: none;
    }

    .tab-btn.is-active {
      background-color: #dbedf8;
    }

    .tab-btn:hover:not(.is-active) {
      background-color: #ffffff;
	
    }

    .tab-btn.is-active::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 10px;
      background-color: #dbedf8;
      pointer-events: none;
    }

    .tab-btn:hover:not(.is-active)::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0px;
      height: 10px;
      background-color: #ffffff;
      pointer-events: none;
    }

    .tab-panels {
      position: relative;
      z-index: 2;
      margin-top: 0;
      padding: 0px;
      border: 10px solid #0066cc;
      border-top: none;
      border-radius: 0 0 8px 8px;
      background: #dbedf8;
    }

    .tab-panel {
      display: none;
    }

    .tab-panel.is-active {
      display: block;
    }

    .tab-frame {
      width: 100%;
      min-height: 900px;
      border: none;
      background: transparent;
      display: block;
    }


.tab-panel img {
  max-width: 100%;
  max-height: auto; /* 任意の高さに制限 */
  width: auto;
  height: auto;
  object-fit: contain; /* 比率を保ったまま指定サイズ内に収める */
  display: block;
}

footer .kamenoi_logo{
  display: block;      /* ブロック要素にする */
  margin: 100px  auto -40px;      /* 上下の余白は0、左右の余白を自動（＝中央揃え）にする */
  width: 300px;
}


.kamenoi_logo {
  width: 100px;
 
  border-radius: 8px;
  text-align: center;
}

footer nav a{
	color:#ffffff;
	text-decoration: none;
	transition: color 0.3s;
}
footer nav a:hover {
  color: #AEEBFF; /* お好みの色コードに変更してください */
  text-decoration: underline!important; 
  text-decoration-thickness: 3px; /* 太さを指定 */
  text-underline-offset: 5px;
}

nav {
  width: 100%;
  margin-top: 50px; /* margin: 40px auto の後に書かれているため50pxが優先される  #003e8c  */
  margin-bottom: 0px;
  padding: 20px 0;
  background-color: #003e8c;
  font-family: sans-serif;
  font-size: 14px;
  font-size: 1.4rem;
  text-align: center;
  color: #003e8c;
}

small{

  display: block; /* インライン要素をブロック要素にして幅を有効にする */
  box-sizing: border-box; /* padding(30vw)を含めて100vwに収める */
  text-align: center;
  font-size: 12px;
  font-size: 1.2rem;
  background-color: #4d4d4d;
  color: #fff;
  padding: 10px 10vw;
  font-family: "NotoSansJP-2";
  width: 100vw;
  margin-left: calc(50% - 50vw);
}







/* ボタン全体を囲む親要素：中央揃えと余白の確保 */
.beppuni-button-wrapper {
  text-align: center; /* 中の要素を左右中央揃えにする */
  padding: 0 16px;    /* スマホ画面の端にぴったりくっつかないよう左右に余白を作る */
  margin: 140px 0;     /* 上下の余白（必要に応じて調整してください） */
}

/* リンク部分：ボタンの大きさや浮き上がるアニメーションの設定 */
.beppuni-button-button {
  display: inline-block; /* 画像のサイズに合わせて幅を自動調整 */
  max-width: 100%;       /* 親要素（画面幅）より大きくならないように制限 */
  transition: transform 0.2s ease, filter 0.2s ease; /* 動きを滑らかにする */
}

/* 画像部分：影の追加とレスポンシブ縮小の設定 */
.beppuni-button-button img {
  display: block;        /* 画像下の余計な隙間を消す */
  max-width: 100%;       /* 画面幅に合わせて自動縮小 */
  height: auto;          /* 縦横比を維持したまま縮小 */
  margin: 0 auto;        /* 念のため画像自体も中央揃え */
  
  /* 浮いているような影（画像の形に沿って影がつきます） */
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

/* ▼ おまけ：マウスを乗せた時（ホバー時）に少し沈む・浮く演出 */
.beppuni-button-button:hover {
  transform: translateY(-2px); /* 少し上に浮き上がる */
}
.beppuni-button-button:hover img {
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25)); /* 影を少し広げる */
}
