body {
  font-family: 'Zen Maru Gothic', 'Noto Sans', sans-serif;
  line-height: 1.6rem;
  font-size: 18px;
  font-weight: 500;
  background-color: var(--color-bg);
}

:root {
  --color-primary: #20b9b8;
  --color-accent: #f5792a;
  --color-black: #292922;
  --color-primary-light: #bae4e4;
  --color-secondary: #868670;
  --color-secondary-light: #d8d8d1;
  --color-bg: #f5f5f3;
}

[lang='ja'] body {
  font-family: 'Zen Maru Gothic', sans-serif;
}

[lang='en'] body {
  font-family: 'Zen Maru Gothic', sans-serif;
}

[lang='id'] body {
  font-family: 'Zen Maru Gothic', sans-serif;
}

[lang='ko'] body {
  font-family: 'Noto Sans KR', sans-serif;
}

[lang='th'] body {
  font-family: 'Noto Sans', sans-serif;
}

[lang='vi'] body {
  font-family: 'Noto Sans', sans-serif;
}

[lang='zh-CN'] body {
  font-family: 'Noto Sans SC', sans-serif;
}

[lang='zh-cmn-Hant'] body {
  font-family: 'Chiron GoRound TC', sans-serif;
}

/* :root {
  --color-primary: #E53935;
  --color-accent: #f5792a;
  --color-black: #2F3A3A;
  --color-bg: #F5F5F3;
} */

/* リンク位置調整 */
section {
  padding: 40px 10vw 60px 10vw;
  max-width: 1600px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  section {
    padding: 16px 20px;
  }
}

.floating-group {
  margin: 0 10px;
}

.floating-btn a {
  text-decoration: none;
  color: white;
}

.floating-group i {
  margin-right: 2px;
  font-size: 22px;
  vertical-align: middle;
  margin-top: -4px;
}

.floating-btn {
  position: fixed;
  z-index: 100;
  bottom: 12px;
  background-color: var(--color-primary);
  text-align: center;
  width: 46%;
  padding: 16px 0;
  font-size: 15px;
  border-radius: 50px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.floating-btn span {
  display: inline-block;
}

.floating-btn:nth-child(2) {
  right: 10px;
}

@media screen and (min-width: 992px) {
  .floating-btn {
    font-size: 16px;
    right: 24px;
    top: 100px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    padding: 16px;
    line-height: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-primary);
  }

  .floating-btn:nth-child(2) {
    top: 240px;
    right: 24px;
  }

  .floating-group i {
    margin-right: 0;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 4px;
  }

  .floating-btn:hover {
    transform: scale(1.1);
    transition: 0.3s ease;
    background-color: white;
    border: 2px solid var(--color-primary);
  }

  .floating-btn:hover a {
    color: var(--color-primary);
  }
}

.pc_br {
  display: none;
}

@media screen and (min-width: 992px) {
  .pc_br {
    display: inline;
  }
}

/* ヘッダー */
#header {
  background: var(--color-bg);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  height: 70px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

/* ロゴ */
.logo {
  font-size: 22px;
  position: absolute;
  font-weight: 700;
  height: 65px;
  padding: 0;
  pointer-events: auto;
  z-index: 4;
}

.logo a {
  width: 100%;
  /* 親要素の幅いっぱいに */
  height: 100%;
  /* 親要素の高さいっぱいに */
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 1200px) {
  .logo {
    padding: 16px;
    left: 0;
    top: 0;
    font-size: 20px;
  }
}

@media screen and (max-width: 1200px) {
  .language {
    z-index: 1000 !important;
  }
}

/* メニュー */
.menu {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.main-menu {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  margin-right: 148px;
}

@media screen and (min-width: 1200px) {
  .menu a {
    text-decoration: none;
    font-size: 18px;

    display: inline-block;

    color: var(--color-black);
    /* 万が一のフォールバック */
    -webkit-text-fill-color: transparent;

    position: relative;

    background-image: linear-gradient(
      to right,
      var(--color-primary) 50%,
      var(--color-black) 50%
    );
    background-size: 200% 100%;
    background-position: 100% 0;
    background-repeat: no-repeat;

    /* クリップの設定 */
    -webkit-background-clip: text;
    background-clip: text;

    transition: background-position 0.1s ease;
  }

  /* ホバー時の挙動 */
  .menu a:hover {
    background-position: 0% 0;
  }
}

.menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.menu a:hover {
  background-position: 0 100%;
}

.menu a:not(.menu li:last-child a):hover::after {
  transform: scaleX(1);
}

.main-menu a .label,
.button span {
  display: inline-block;
}

.main-menu a .label span,
.button span span {
  display: inline-block;
  animation: none;
  /* 初期状態 */
}

.menu ul li {
  position: relative;
  /* 子メニューの基準になる */
}

.menu ul li img {
  width: 25px;
  filter: invert(100%) sepia(0%) saturate(7470%) hue-rotate(117deg)
    brightness(108%) contrast(108%);
}

.menu ul li:last-child a:first-child {
  margin-right: 14px;
}

.menu ul li:last-child {
  top: -2px;
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 14px;
  cursor: pointer;
  z-index: 1100;
  position: absolute;
  right: 26%;
  top: 35%;
}

.hamburger-wrap {
  display: none;
  background-color: var(--color-primary);
  width: 46px;
  height: 46px;
  position: absolute;
  right: 10px;
  top: 10px;
  border-radius: 50px;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: white;
  transition: all 0.4s ease;
}

/* ハンバーガー開閉アニメーション */
.hamburger.active span:nth-child(1) {
  transform: rotate(40deg) translate(3px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-40deg) translate(3px, -5px);
}

/* スマホ用レスポンシブ */
@media screen and (max-width: 1200px) {
  #header {
    background: transparent;
    background-color: var(--color-bg);
    height: 64px !important;
  }

  /* メニューをフルスクリーンに */
  .menu {
    position: fixed;
    top: -60px;
    right: 0;
    width: 100%;
    height: 100dvh;
    background: var(--color-primary);
    overflow: hidden;
    transform-origin: top right;
    /* 右上基点 */
    transform: scale(0);
    /* ← 初期状態：見えない */
    opacity: 0;

    transition:
      transform 0.4s ease,
      opacity 0.4s ease;
    z-index: 1050;

    padding-top: env(safe-area-inset-top, 16px);
    padding-bottom: env(safe-area-inset-bottom, 16px);
  }

  .main-menu {
    padding: 0;
    text-align: left;
    flex-direction: column;
    margin-top: 70px;
    position: absolute;
    margin-right: 5vw;
    gap: 16px;
  }

  .main-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    width: calc(100vw - 10vw);
    padding-bottom: 16px;
  }

  .menu ul li img {
    filter: none;
  }

  .main-menu li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    padding-top: 16px;
  }

  .main-menu li a {
    color: white;
    text-indent: 12px;
  }

  .menu a {
    font-size: 17px;
  }

  .menu ul li:last-child {
    padding-left: 12px;
    padding-top: 16px;
    border: none;
  }

  /* 開いたとき */
  .menu.open {
    height: 100dvh;
    /* ブラウザ下部UI考慮 */
    overflow-y: auto;
    /* 縦スクロールを許可 */
    -webkit-overflow-scrolling: touch;
    /* iOSでスムーズスクロール */
    transform: scale(1);
    /* フルサイズに */
    opacity: 1;
  }

  html.no-scroll,
  body.no-scroll {
    overflow: hidden;
  }

  /* ハンバーガー表示 */
  .hamburger {
    display: flex;
  }

  .hamburger-wrap {
    display: flex;
  }
}

/* 言語切り替えボタン */
.dropdown-menu {
  border-radius: 5px;
  padding: 0 !important;
  background-color: white !important;
}

.dropdown-divider {
  margin: 0 !important;
}

.dropdown-item {
  font-size: 14px;
  color: #fff !important;
  padding: 5px 10px !important;
  font-weight: 500;
}

.dropdown-item:hover {
  background-color: #f1f1f1 !important;
  color: var(--color-black) !important;
}

.dropdown-menu li:first-of-type a:hover {
  border-radius: 5px 5px 0 0;
}

.dropdown-menu li:last-of-type a:hover {
  border-radius: 0 0 5px 5px;
}

.dropdown-item:active {
  background-color: #fff !important;
  color: var(--color-black) !important;
}

.dropdown-menu {
  width: 112px !important;
  min-width: 112px !important;
  margin-top: 5px !important;
}

.dropdown-menu li a {
  color: var(--color-black) !important;
}

.dropdown-toggle {
  border: none;
  text-align: left;
  background-color: white !important;
  border-radius: 50px;
  padding: 7px 17px 7px 12px !important;
  font-size: 14px;
  margin: 19px 10px 0 0;
  color: var(--color-black);
}

.dropdown-toggle img {
  width: 17px;
  margin-top: -2px;
  margin-right: 5px;
}

nav {
  position: absolute;
  text-align: right;
  z-index: 2;
}

.language {
  right: 20px;
  text-align: end;
  top: -5px;
}

@media screen and (max-width: 1200px) {
  .language {
    top: -6px;
  }
}

@media screen and (max-width: 1200px) {
  .language {
    right: 50px;
  }

  nav {
    margin-top: 60px;
  }
}

.language .dropdown-toggle,
.language .dropdown-menu {
  pointer-events: auto;
}

.fixed-top {
  pointer-events: none;
}

#top {
  text-align: center;
  padding-top: 120px;
  position: relative;
}

#top img {
  display: inline-block;
  width: 900px;
  height: 50vh;
  object-fit: cover;
  border-radius: 10px;
  filter: brightness(80%);
  opacity: 0.9;
  aspect-ratio: 8/5;
}

@media screen and (max-width: 768px) {
  #top img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
  }

  #top {
    padding-top: 65px;
  }
}

#top p {
  position: absolute;
  top: 60%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  color: white;
  font-size: 42px;
  line-height: 1.4;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

@media screen and (max-width: 768px) {
  #top p {
    top: 58%;
    font-size: 29px;
    line-height: 1.3;
  }
}

.topslider-wrapper {
  overflow: hidden;
}

.topslider {
  padding: 0 !important;
  /* 強制的に余白をゼロにする */
  margin: 0;
  list-style: none;
  width: 100%;
}

.topslider li {
  width: 100%;
  text-align: center;
  /* 中にある画像を中央に寄せる */
  padding: 0;
  margin: 0;
}

.toptitle {
  font-size: 42px;
  color: var(--color-primary);
  font-weight: 600;
}

.top-bg {
  position: relative;
  overflow: hidden;
}

.top-bg::before {
  content: '';
  position: absolute;
  inset: 0;

  background-color: #f5f5f3;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='10' viewBox='0 0 20 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16 6H6v4H4V6H2V4h2V0h2v4h10V0h2v4h2v2h-2v4h-2V6z' fill='%23d8d8d1' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");

  /* ↓ 背景だけフェード */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 0) 100%
  );

  z-index: 0;
}

/* 中のコンテンツ */
.top-bg > * {
  position: relative;
  z-index: 1;
}

#intro {
  margin: 80px 0;
}

@media screen and (max-width: 768px) {
  #intro {
    margin: 8px 0;
  }
}

.message {
  font-size: 20px;
  line-height: 2.4rem;
  text-align: center;
  margin: 0 auto;
  color: var(--color-black);
}

.message div {
  margin-bottom: 32px;
}

.message span {
  display: inline-block;
}

.message-top {
  font-size: 30px;
  line-height: 3rem;
}

@media screen and (max-width: 768px) {
  .message-top {
    font-size: 24px;
    line-height: 2.6rem;
  }

  .message {
    font-size: 16px;
    line-height: 1.8rem;
  }
}

.message-group div:not(:last-child) {
  margin-bottom: 12px !important;
}

/* 1. 全体をFlexコンテナにする */
.layout-container {
  display: flex;
  justify-content: center;
  /* 全体を中央寄せ */
  align-items: flex-start;
  /* 各カラムの上端を揃える */
  gap: 80px;
  /* 左右の画像エリアと中央テキストエリアの間隔 */
  margin: 0 auto;
  /* 画面中央に配置 */
}

/* 2. 左右の画像エリアのスタイル */
.side-images {
  display: flex;
  flex-direction: column;
  /* 画像を縦に並べる */
  gap: 30px;
  /* 上下の画像の間隔 */
  flex-basis: 200px;
  /* 画像エリアの基本幅 */
  flex-shrink: 0;
  /* 画面が狭くなっても画像エリア幅を縮めない */
}

/* 画像自体の基本スタイル */
.side-images img {
  height: auto;
  object-fit: cover;
}

/* 「任意の位置」感を出すための個別の位置調整例 */
/* 左側 */
.side-images.left {
  padding-top: 140px;
  /* 左カラム全体を少し下げる */
}

.img-pos-2 {
  margin-left: 60px;
  /* 2枚目を少し右にずらす */
  margin-top: 120px;
}

/* 右側 */
.side-images.right {
  padding-top: 140px;
}

.img-pos-3 {
  margin-right: 15px;
  /* 3枚目を少し左にずらす */
  margin-top: -30px;
  /* 1枚目より少し上に配置してみる */
}

.img-pos-4 {
  margin-left: 40px;
  /* 4枚目を少し右にずらす */
  margin-top: 80px;
}

.img-pos-1 {
  width: 240px;
  border-radius: 10px;
}

.img-pos-2 {
  width: 200px;
}

.img-pos-3 {
  width: 200px;
}

.img-pos-4 {
  width: 230px;
  border-radius: 10px;
}

/* 3. 中央テキストエリアのスタイル */
.message-content {
  flex: 1;
  /* 残りのスペースを占有する */
  max-width: 600px;
  /* テキストが広がりすぎないように制限 */
}

@media screen and (max-width: 992px) {
  /* 1. 親要素ではみ出した画像をカットし、横スクロールを防ぐ */
  .layout-container {
    position: relative;
    overflow-x: hidden;
    /* これが重要です */
    padding: 40px 0;
    /* 上下に余白を作る */
    display: block;
    /* Flexを解除して中央の幅を確保しやすくする */
  }

  /* 2. テキストエリアを画面幅いっぱいに（少し余白を残す） */
  .message-content {
    width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    /* テキストを画像より前面に出す */
  }

  /* 3. 画像エリアを絶対配置にして、画面端に追い出す */
  .side-images {
    position: absolute;
    top: 0;
    width: 120px;
    /* スマホ時の画像サイズ */
    z-index: 1;
    /* テキストの下に配置 */
    opacity: 0.8;
    /* 少し透かすと圧迫感が減ります（任意） */
    pointer-events: none;
    /* 画像が文字の上に来てもタップを邪魔しない */
  }

  /* 左側の画像エリアを左端から外へ出す */
  .side-images.left {
    left: -40px;
    /* マイナス値で画面外へ */
    display: flex;
    flex-direction: column;
    gap: 200px;
    /* 画像同士の縦の間隔 */
    top: 50px;
  }

  /* 右側の画像エリアを右端から外へ出す */
  .side-images.right {
    right: 0;
    /* マイナス値で画面外へ */
    display: flex;
    flex-direction: column;
    gap: 200px;
    top: 130px;
    /* 左と高さをずらす */
  }

  /* 各画像のサイズを一括設定 */
  .side-images img {
    width: 180px !important;
    height: auto;
  }

  /* 個別の微調整（必要に応じて） */
  .img-pos-1 {
    margin-top: 40px;
  }

  .img-pos-2 {
    margin-left: 20px;
    margin-top: -90px;
  }

  .img-pos-3 {
    margin-top: -50px;
    margin-left: -40px;
  }

  .img-pos-4 {
    margin-top: -30px;
    margin-left: 20px;
  }
}

@media screen and (max-width: 768px) {
  .message-content {
    max-width: 400px;
    /* テキストが広がりすぎないように制限 */
  }

  /* 各画像のサイズを一括設定 */
  .side-images img {
    width: 140px !important;
    height: auto;
  }

  /* 左側の画像エリアを左端から外へ出す */
  .side-images.left {
    left: -50px;
    /* マイナス値で画面外へ */
    display: flex;
    flex-direction: column;
    gap: 200px;
    /* 画像同士の縦の間隔 */
    top: 50px;
  }

  /* 右側の画像エリアを右端から外へ出す */
  .side-images.right {
    right: -40px;
    /* マイナス値で画面外へ */
    display: flex;
    flex-direction: column;
    gap: 100px;
    top: 90px;
    /* 左と高さをずらす */
  }

  /* 個別の微調整（必要に応じて） */
  .img-pos-1 {
    margin-top: 40px;
  }

  .img-pos-2 {
    margin-left: 20px;
    margin-top: -120px;
  }

  .img-pos-3 {
    margin-top: -10px;
  }

  .img-pos-4 {
    margin-top: -20px;
    margin-left: 20px;
  }
}

@media screen and (max-width: 576px) {
  .message-content {
    max-width: 300px;
    /* テキストが広がりすぎないように制限 */
  }

  /* 各画像のサイズを一括設定 */
  .side-images img {
    width: 100px !important;
    height: auto;
  }

  /* 左側の画像エリアを左端から外へ出す */
  .side-images.left {
    left: -30px;
    /* マイナス値で画面外へ */
    display: flex;
    flex-direction: column;
    gap: 240px;
    /* 画像同士の縦の間隔 */
    top: 50px;
  }

  /* 右側の画像エリアを右端から外へ出す */
  .side-images.right {
    right: -80px;
    /* マイナス値で画面外へ */
    display: flex;
    flex-direction: column;
    gap: 160px;
    top: 140px;
    /* 左と高さをずらす */
  }

  /* 個別の微調整（必要に応じて） */
  .img-pos-1 {
    margin-top: 40px;
  }

  .img-pos-2 {
    margin-left: 10px;
    margin-top: -120px;
  }

  .img-pos-3 {
    margin-top: -10px;
  }

  .img-pos-4 {
    margin-top: 0;
    margin-left: -20px;
  }
}

.bg-light {
  background-color: var(--color-bg);
}

.bg-grey {
  background-color: #f1f0f0;
}

.bg-light-blue {
  background-color: var(--color-bg);
}

/* リンク位置調整 */
.section-title {
  font-size: 36px;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 72px;
  margin-top: 70px;
}

.section-title span {
  display: inline-block;
}

@media screen and (max-width: 768px) {
  .section-title {
    font-size: 26px;
    line-height: 2.2rem;
    margin-bottom: 48px;
  }
}

/* エリアカード */
.area-card {
  border-radius: 10px;
  background-color: white;
  padding: 24px;
  border: 3px solid transparent;
  border: 1px solid var(--color-primary);
}

.area-card a {
  border: none;
  text-decoration: none;
}

.area-card-title {
  font-size: 24px;
  color: var(--color-black);
  text-align: center;
}

.area-card img {
  width: 100%;
  /* ← これで親の幅100%になる */
  height: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  /* 丸にする */
  display: block;
  object-fit: cover;
  margin: 0 auto;
  padding: 14px;
  /* ← 画像と点線の距離調整 */
  box-sizing: border-box;
}

.circle-wrap {
  width: 80%;
  height: 80%;
  position: relative;
  margin: 16px auto;
}

.circle-wrap .dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  pointer-events: none;
  /* SVGがクリックを妨げないようにする */
}

@media screen and (max-width: 768px) {
  .area-card {
    padding: 8px;
  }

  .area-card-title {
    font-size: 18px;
  }

  .circle-wrap {
    width: 100%;
    height: 100%;
    margin: 12px auto;
  }
}

@media screen and (min-width: 991px) {
  .area-card:hover .dots {
    animation: rotateDots 10s linear infinite;
  }

  .area-card:hover {
    transform: scale(1.03);
    transition: 0.4s ease;
  }
}

@keyframes rotateDots {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.btn {
  text-decoration: none;
  color: var(--color-primary);
  background-color: white;
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  width: 100%;
  justify-content: center;
  /* ← 完全中央 */
  align-items: center;
  position: relative;
  border: 2px solid var(--color-primary) !important;
}

/* 丸*/
.circle-arrow {
  position: absolute;
  right: 16px;
  top: 23%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* 矢印（横線） */
.circle-arrow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 25%;
  width: 45%;
  height: 2px;
  background: white;
  transform: translateY(-50%);
}

/* 矢印（くの字部分） */
.circle-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 35%;
  width: 10px;
  height: 10px;
  border-right: 2px solid white;
  border-top: 2px solid white;
  transform: translateY(-50%) rotate(45deg);
}

@media screen and (max-width: 768px) {
  .btn {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    border: 1.5px solid var(--color-primary) !important;
  }

  .circle-arrow {
    right: 8px;
    width: 23px;
    height: 23px;
  }

  .circle-arrow::after {
    left: 30%;
  }
}

.btn:hover {
  background-color: var(--color-primary);
  color: white;
  transition: 0.4s ease;
}

.btn:hover .circle-arrow {
  background-color: white;
  transition: 0.4s ease;
}

.btn:hover .circle-arrow:after {
  border-color: var(--color-primary);
  transition: 0.4s ease;
}

.btn:hover .circle-arrow:before {
  background: var(--color-primary);
  transition: 0.4s ease;
}

/* .btn:focus, .btn:active, .btn:visited{
	background-color: white!important;
	color: var(--color-primary);
} */

.area-card:hover .btn {
  background-color: var(--color-primary);
  color: white;
  transition: 0.4s ease;
}

.area-card:hover {
  transition: 0.4s ease;
}

.area-card:hover .circle-arrow {
  background-color: white;
  transition: 0.4s ease;
}

.area-card:hover .circle-arrow:after {
  border-color: var(--color-primary);
  transition: 0.4s ease;
}

.area-card:hover .circle-arrow:before {
  background: var(--color-primary);
  transition: 0.4s ease;
}

.btn-short {
  max-width: 500px;
  display: block;
  margin: 0 auto;
  margin-top: 32px;
}

.btn-short:hover {
  background-color: var(--color-primary);
  color: white;
  transition: 0.4s ease;
}

.btn-short:hover .circle-arrow {
  background-color: white;
  transition: 0.4s ease;
}

.btn-short:hover .circle-arrow:after {
  border-color: var(--color-primary);
  transition: 0.4s ease;
}

.btn-short:hover .circle-arrow:before {
  background: var(--color-primary);
  transition: 0.4s ease;
}

/* 流れ */
#flow img {
  width: 100%;
}

/* .flow{
  padding:24px 32px;
  background-color: white;  
  border-radius: 10px;
} */

.flow a {
  text-decoration: none;
  color: var(--color-black) !important;
  border-bottom: 1.5px solid var(--color-black);
}

.flow .row {
  align-items: center;
  /* 縦中央 */
}

.flow-title {
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: 16px;
  font-weight: 500;
}

.flow-title span {
  font-size: 24px;
  text-align: center;
  display: inline-block;
  position: relative;
  margin-right: 10px;
  top: 0;
  z-index: 2;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  color: var(--color-primary);
  -webkit-text-fill-color: white;
  /* （順序に関係なく）色を上書きする */
  -webkit-text-stroke: 1.5px var(--color-primary);
}

.flow-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-black);
}

@media screen and (max-width: 768px) {
  .flow-title {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .flow-title span {
    font-size: 16px;
    margin-right: 8px;
    top: 0;
    -webkit-text-stroke: 1px var(--color-primary);
  }

  .flow-text {
    font-size: 14px;
    line-height: 1.6;
  }
}

.flow-arrow {
  display: inline-block;
  vertical-align: middle;
  color: var(--color-primary);
  line-height: 1;
  position: relative;
  width: 3px;
  height: 40px;
  background: currentColor;
  left: 20%;
}

.flow-arrow::before {
  content: '';
  width: 20px;
  height: 20px;
  border: 3px solid var(--color-primary);
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
  transform-origin: bottom left;
  position: absolute;
  left: 50%;
  bottom: -2px;
  box-sizing: border-box;
}

@media screen and (max-width: 992px) {
  .flow-arrow {
    left: 50%;
    height: 30px;
    width: 2px;
  }

  .flow-arrow::before {
    width: 14px;
    height: 14px;
    border-width: 2px;
  }
}

/* コメント */

.review-title {
  display: inline-block;
  position: relative;
  font-size: 18px;
  margin: 16px 0 32px 0;
  color: transparent;
  text-align: center;
  line-height: 1.5;
  background: linear-gradient(
      to right,
      var(--color-primary) 50%,
      var(--color-black) 50%
    )
    100%;
  /* 背景をテキストで切り抜く */
  background-clip: text;

  /* 横幅は200%にしてグラデーションの青部分は見えないようにする */
  background-size: 200% 100%;

  transition: background-position 0.1s;
}

.review-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

@media screen and (min-width: 991px) {
  .review:hover .review-title {
    background-position: 0 100%;
  }

  .review:hover .review-title::after {
    transform: scaleX(1);
  }
}

.review-title span {
  display: inline-block;
}

.review {
  padding: 32px;
  position: relative;
  background-color: white;
  border-radius: 10px;
}

.review-img {
  border-radius: 10px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.review-img img {
  transition: transform 0.4s ease;
  width: 100%;
  display: block;
}

.review:hover .review-img img {
  transform: scale(1.05);
}

.comment {
  position: relative;
  display: inline-block;
  border-radius: 10px;
  text-align: left;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-black);
}

/* .comment::before {
  content: "";
  position: absolute;
  top: 0;
  left: 48px;
  border-style: solid;
  border-width: 0 0 11px 23px;
  border-color: transparent transparent white;
  translate: -50% -100%;
  transform: skew(15deg);
  transform-origin: bottom;
}

.comment::after {
  content: "";
  position: absolute;
  top: 0;
  left: 48px;
  border-style: solid;
  border-width: 0 0 9.4px 19.7px;
  border-color: transparent transparent white;
  translate: calc(-50% + 0.7px) -100%;
  transform: skew(15deg);
  transform-origin: bottom;
} */

.plus-btn {
  position: absolute;
  right: 12px;
  top: 10px;
  transform: translateX(5%);
  padding: 16px;
  border-radius: 999px;
  font-size: 16px;
  background-color: var(--color-primary);

  z-index: 2;
  /* ← 画像より前に */
}

.plus-btn::after,
.plus-btn::before {
  content: '';
  width: 14px;
  height: 2px;
  background: white;
  margin-left: 8px;
  position: absolute;
  top: 50%;
  right: 9px;
  border-radius: 10px;
}

.plus-btn::after {
  transform: rotate(90deg);
}

@media screen and (min-width: 991px) {
  .review:hover .plus-btn {
    transform: scale(1.1);
    transition: 0.2s ease;
  }
}

.space {
  display: block;
  height: 8px;
  /* 好きな余白 */
}

@media screen and (max-width: 768px) {
  .plus-btn {
    padding: 13px;
  }

  .plus-btn::after,
  .plus-btn::before {
    width: 10px;
    top: 48%;
    right: 8px;
  }

  .review {
    padding: 24px;
  }

  .review-title {
    font-size: 18px;
    margin: 18px 0 24px 0;
  }

  .comment {
    font-size: 14px;
    line-height: 1.6;
  }
}

.comment img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 24px;
}

button {
  border: none;
  padding: 0;
  background-color: transparent;
  font-weight: 500;
}

.modal-custom {
  max-width: 800px !important;
}

.modal-content {
  padding: 0 24px 24px 24px;
  border: none;
}

@media screen and (max-width: 992px) {
  .modal-content {
    padding: 0 8px 8px 8px;
  }
}

.modal-title {
  font-size: 22px;
  line-height: 1.5;
  padding-top: 16px;
  color: var(--color-primary);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
}

.modal-title-map {
  font-size: 30px;
  line-height: 1.5;
  padding-top: 16px;
  color: var(--color-primary);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  display: block;
}

.moda-sub-title {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--color-black);
  position: absolute;
  top: 24px;
  left: 0;
}

@media screen and (max-width: 992px) {
  .moda-sub-title {
    top: 24px;
    left: 16px;
  }
}

@media screen and (max-width: 768px) {
  .modal-title {
    font-size: 18px;
  }

  .modal-title-map {
    font-size: 24px;
  }

  .moda-sub-title {
    font-size: 10px;
    left: 12px;
  }
}

.modal-header {
  position: relative;
  height: 160px;
  padding-bottom: 0;
}

@media screen and (max-width: 768px) {
  .modal-header {
    height: 100px;
  }
}

.custom-close {
  position: absolute;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  opacity: 1;
  top: 32px;
  right: 8px;
}

/* 既存のSVGを無効化 */
.custom-close {
  background-image: none;
  background-color: var(--color-primary);
  border-radius: 50px;
}

/* 線1本目 */
.custom-close::before,
/* 線2本目 */
.custom-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  /* 線の長さ */
  height: 2px;
  /* 線の太さ */
  background-color: white;
  /* 線の色 */
  transform-origin: center;
}

/* 傾き自由 */
.custom-close::before {
  transform: translate(-50%, -50%) rotate(40deg);
}

.custom-close::after {
  transform: translate(-50%, -50%) rotate(-40deg);
}

.custom-close:hover {
  opacity: 1;
  transition: 0.3s ease;
}

@media screen and (max-width: 992px) {
  .custom-close {
    right: 16px;
  }
}

@media screen and (max-width: 768px) {
  .custom-close {
    width: 18px;
    height: 18px;
    top: 24px;
  }

  /* 線1本目 */
  .custom-close::before,
  /* 線2本目 */
  .custom-close::after {
    width: 16px;
    /* 線の長さ */
    height: 2px;
    /* 線の太さ */
    background-color: white;
    /* 線の色 */
    transform-origin: center;
  }
}

.modal-header {
  border: none;
}

.modal-img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

.modal-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-black);
  font-weight: 400;
  position: relative;
  display: inline-block;
  /* border: 1px solid var(--color-black); */
  width: 100%;
  /* padding: 32px 24px; */
  border-radius: 10px;
}

@media screen and (max-width: 768px) {
  .modal-text {
    font-size: 14px;
    padding: 24px 4px;
  }
}

/* .modal-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 48px;
  border-style: solid;
  border-width: 0 0 11px 23px;
  border-color: transparent transparent var(--color-black);
  translate: -50% -100%;
  transform: skew(15deg);
  transform-origin: bottom;
}

.modal-text::after {
  content: '';
  position: absolute;
  top: 0;
  left: 48px;
  border-style: solid;
  border-width: 0 0 9.4px 19.7px;
  border-color: transparent transparent white;
  translate: calc(-50% + 0.7px) -100%;
  transform: skew(15deg);
  transform-origin: bottom;
} */

.modal-body .row > .col:nth-child(even) {
  margin-bottom: 32px;
  /* gap代わり */
}

.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 50px;
}

.modal-body::-webkit-scrollbar-track {
  background: var(--color-bg);
  border-radius: 50px;
}

.map-img {
  width: 100px;
  position: absolute;
  top: 56%;
  /* 上下中央（必要に応じて） */
  transform: translateY(-50%) translateX(-120%);
  /* 上下中央補正 ＋ 文字の左側へずらす */
}

@media screen and (max-width: 768px) {
  .map-img {
    width: 60px;
    margin-right: 16px;
    top: 66%;
  }
}

.map-img-shirakawa {
  width: 100px;
  position: absolute;
  top: 30%;
  /* 上下中央（必要に応じて） */
  transform: translateY(-50%) translateX(-120%);
  /* 上下中央補正 ＋ 文字の左側へずらす */
}

@media screen and (max-width: 768px) {
  .map-img-shirakawa {
    width: 60px;
    margin-right: 16px;
    top: 34%;
  }
}

/* タブ表示 */
/* タブのデザイン */
.tab {
  display: flex;
  list-style: none;
  padding-left: 0;
  margin: 0;
  position: relative;
  gap: -1.5px;
}

.parent-tab {
  width: 100%;
  position: relative;
}

/* 未選択タブのデザイン */
.parent-tab li {
  width: calc(100% / 2);
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  border: 2px solid var(--color-primary);
}

.parent-tab li:first-child {
  border-radius: 10px 0 0 10px;
}

.parent-tab li:last-child {
  border-radius: 0 10px 10px 0;
}

/* リンクのスタイル */
.tab li a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  /* 縦中央（aの中） */
  justify-content: center;
  /* 横中央 */
  padding: 16px;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5rem;
  text-decoration: none;
  color: var(--color-primary);
  text-align: center;
}

@media screen and (max-width: 768px) {
  .tab li a {
    font-size: 12px;
    line-height: 1rem;
    padding: 12px 8px;
    flex-direction: column;
  }

  .tab li a span {
    display: block;
  }
}

@media (min-width: 768px) {
  .tab li a {
    flex-direction: row;
    white-space: nowrap;
  }

  .tab li a span {
    display: inline;
  }
}

/* 選択されたタブ */
.parent-tab li.active {
  border-bottom: none;
  z-index: 3;
  /* 選択タブを前面に */
  border: 2px solid var(--color-primary);
  background-color: var(--color-primary);
  border-radius: 10px 0 0 10px;
}

.parent-tab li:first-child.active {
  border-radius: 10px 0 0 10px;
}

.parent-tab li:last-child.active {
  border-radius: 0 10px 10px 0;
}

.parent-tab li.active a {
  color: white;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.child-tab {
  flex-wrap: wrap; /* 画面幅が狭くなったら折り返す */
  width: 100%; /* 親要素の幅を100%に */
  position: relative;
}

.child-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  z-index: 0;
  background: var(--color-primary-light);
}

.child-tab li {
  white-space: nowrap; /* テキストを改行させない */
  width: calc(50% - 3px);
  background-color: white;
  border: 6px solid white;
  border-radius: 10px 10px 0 0;
}

.child-tab li:first-child {
  margin-right: 6px;
}

@media screen and (min-width: 577px) {
  .child-tab li {
    white-space: nowrap;
  }
}

.child-tab li a {
  font-size: 12px;
  line-height: 1.3rem;
  padding: 4px 8px;
}

@media screen and (min-width: 992px) {
  .child-tab li a {
    font-size: 16px;
    padding: 10px 24px;
  }
}

.child-tab li.active a {
  color: var(--color-primary);
}

.child-tab li.active {
  color: var(--color-primary);
  z-index: 1;
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
}

.area.is-active,
.child-area.is-active {
  display: block;
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*エリアの表示非表示と形状*/
.area,
.child-area {
  display: none;
  /*はじめは非表示*/
  opacity: 0;
  /*透過0*/
  padding: 50px 0;
}

/*areaにis-activeというクラスがついた時の形状*/
.area.is-active {
  display: block;
  /*表示*/
  animation-name: displayAnime;
  /*ふわっと表示させるためのアニメーション*/
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

@keyframes displayAnime {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* アクセス */
.parent-sta {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  color: var(--color-black);
  padding: 12px;
  border-radius: 50px;
  text-align: center;
  margin: 0 auto;
  background-color: white;
  border: 1.5px solid var(--color-secondary-light);
  font-size: 17px;
}

.child-sta-group {
  width: 100%;
  max-width: 800px;
  display: flex;
  justify-content: space-between;
  margin: 180px auto 0;
  gap: 16px;
  position: relative;
}

.child-sta {
  width: calc((100% - 48px) / 5);
  border-radius: 50px;
  color: var(--color-black);
  background-color: var(--color-primary-light);
  padding: 12px;
  text-align: center;
  font-size: 17px;
  line-height: 1;
  margin: auto;
  position: relative;
  box-sizing: border-box;
  /* ★必須 */
  border: 1.5px solid var(--color-primary-light);

  --line-length: 183px;
  /* 縦線の長さ */
  --line-offset: 180px;
  /* child-sta を下げる量 */
}

@media screen and (max-width: 992px) {
  .parent-sta {
    font-size: 14px;
  }

  .child-sta-group {
    gap: 8px;
  }

  .child-sta {
    width: calc((100% - 24px) / 5);
    font-size: 14px;
  }
}

@media screen and (max-width: 576px) {
  .parent-sta {
    padding: 6px;
    font-size: 12px;
  }

  .child-sta-group {
    gap: 4px;
  }

  .child-sta {
    width: calc((100% - 12px) / 5);
    padding: 8px;
    font-size: 10px;
  }
}

.child-sta::after {
  content: '';
  position: absolute;
  top: calc(-1 * var(--line-length) / 2);
  width: calc(var(--line-length) - 2px);
  height: 5px;
  background: var(--color-secondary-light);
  transform: translateY(-50%) rotate(90deg);
  left: calc(50% - 90px);
  z-index: 1;
}

#tokyo,
#sendai {
  background-color: white;
  border-radius: 0 0 10px 10px;
  border-bottom: 6px solid var(--color-primary-light);
  border-left: 6px solid var(--color-primary-light);
  border-right: 6px solid var(--color-primary-light);
}

.nomal-sta {
  color: var(--color-black);
  background-color: white;
  border: 1.5px solid var(--color-secondary-light);
}

.long-sta {
  width: calc((100% - 24px) * 2 / 5);
}

.has-transport {
  position: relative;
}

.has-transport .transportation {
  position: absolute;
  font-size: 14px;
  top: -130px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 400%;
  background-color: var(--color-bg);
  padding: 16px 0;
  line-height: 1.7;
  color: var(--color-secondary);
}

.time {
  font-size: 17px;
}

@media screen and (max-width: 992px) {
  .has-transport .transportation {
    font-size: 11px;
  }

  .time {
    font-size: 14px;
  }
}

@media screen and (max-width: 576px) {
  .child-sta::after {
    height: 6px;
  }

  .has-transport .transportation {
    padding: 12px 0;
    font-size: 8px;
  }

  .time {
    font-size: 11px;
  }
}

.child-sta.is-empty {
  background-color: transparent;
  border: none;
  color: transparent;
}

.child-sta.is-empty::after {
  display: none;
}

:root {
  --line-width: 160px;
  --node-gap: 32px;
  --border-radius: 10px;
}

.access-chart {
  display: flex;
  width: fit-content;
  margin: 0 auto;
}

.origin {
  background-color: var(--color-secondary-light);
  width: 104px;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  padding: 16px;
  font-size: 16px;
  line-height: 1.6;
}

.origin-bus {
  background-color: var(--color-secondary-light);
  width: 160px;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  padding: 16px;
  font-size: 16px;
  line-height: 1.6;
}

.routes {
  display: flex;
  flex-direction: column;
  gap: var(--node-gap);
  flex-grow: 1;
}

.route-row {
  display: flex;
  align-items: center;
}

/* コネクタ（線とラベルの親） */
.connector {
  position: relative;
  width: var(--line-width);
  height: 2px;
  background-color: var(--color-primary);
  flex-shrink: 0;
}

.connector-bus {
  position: relative;
  width: 200px;
  height: 2px;
  background-color: var(--color-primary);
  flex-shrink: 0;
}

/* 上下のラベル共通設定 */
.label-top,
.label-bottom {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  text-align: center;
  color: var(--color-primary);
  line-height: 1.5;
}

.label-top {
  font-size: 12px;
  bottom: 4px;
  /* 線からの距離 */
}

.label-bottom {
  top: 4px;
  /* 線からの距離 */
  font-size: 16px;
}

.node {
  background-color: var(--color-primary-light);
  padding: 16px 4px;
  border-radius: var(--border-radius);
  width: 120px;
  text-align: center;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
}

.node-bus {
  font-size: 14px;
}

/* 分岐部分のレイアウト */
.sub-nodes {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sub-row {
  display: flex;
  align-items: center;
}

.node-large {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  :root {
    --line-width: 80px;
    --node-gap: 24px;
  }

  .origin {
    width: 56px;
    padding: 8px;
    font-size: 9px;
  }

  .label-top {
    font-size: 8px;
    bottom: 4px;
    /* 線からの距離 */
  }

  .label-bottom {
    top: 4px;
    /* 線からの距離 */
    font-size: 9px;
  }

  .node {
    padding: 8px 2px;
    width: 56px;
    font-size: 9px;
  }

  .origin-bus {
    width: 64px;
    padding: 8px;
    font-size: 9px;
  }

  .node-bus {
    font-size: 6px;
  }

  .connector {
    height: 1.5px;
  }

  .connector-bus {
    width: 144px;
    height: 1.5px;
  }
}

/* 縦型 */
:root {
  /* 縦線の長さ */
  --v-line-height: 120px;
}

.v-access-container {
  max-width: 800px;
  margin: 0 auto;
}

/* 縦の線（親要素） */
.v-access-line {
  position: relative;
  width: 2px;
  height: var(--v-line-height);
  background-color: var(--color-primary);
  margin: 0 auto;
  /* 列の中で中央に配置 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ラベルの共通設定 */
.v-access-label-top,
.v-access-label-bottom {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background-color: var(--color-bg);
  color: var(--color-primary);
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  z-index: 1;
}

/* 上段：路線名 */
.v-access-label-top {
  bottom: 50%;
  font-size: 12px;
  line-height: 1.2;
  padding-top: 6px;
}

/* 下段：所要時間 */
.v-access-label-bottom {
  top: 50%;
  padding-bottom: 6px;
  font-size: 16px;
  line-height: 1.2;
}

/* 駅名・起点ボックスの調整 */
.v-access-origin,
.v-access-station {
  width: 100%;
  /* 親の .col に合わせる */
  max-width: 192px;
  margin: 0 auto;
  text-align: center;
  border-radius: 10px;
  padding: 16px 4px;
  font-size: 16px;
  line-height: 1.6;
}

.v-access-origin {
  background-color: var(--color-secondary-light);
}

.v-access-station {
  background-color: var(--color-primary-light);
}

/* ルート全体のコンテナ */
.v-access-routes-wrap {
  width: 100%;
}

@media screen and (max-width: 768px) {
  :root {
    --v-line-height: 80px;
  }
  .v-access-origin,
  .v-access-station {
    max-width: 100px;
    padding: 12px 4px;
    font-size: 12px;
    line-height: 1.5;
  }
  /* 上段：路線名 */
  .v-access-label-top {
    font-size: 8px;
    line-height: 1.2;
  }

  /* 下段：所要時間 */
  .v-access-label-bottom {
    padding-top: 2px;
    font-size: 12px;
    line-height: 1.2;
  }
}

/*アコーディオンメニュー*/
.ac {
  flex: 1;
  /* 残りの幅を全部取る */
  margin: 0;
  padding: 0;
}

.ac ul {
  list-style: none;
}

#ac-menu {
  display: flex;
  flex-direction: column;
  gap: 24px;
  /* ← li の間隔を統一して調整 */
}

#ac-menu li {
  margin-left: -30px;
  background-color: var(--color-bg);
  border-radius: 10px;
  overflow: hidden;
  /* ★これが最重要 */
}

#ac-menu li:last-child {
  border-bottom: 1px solid var(blue);
}

#ac-menu .label {
  cursor: pointer;
  padding: 24px 64px 24px 64px;
  position: relative;
  transition: 0.2s;
  font-size: 18px;
  line-height: 1.5;
  background-color: white;
  color: var(--color-black);
  display: flex;
  align-items: flex-start;
  /* ★ここがポイント：上揃え */
}

@media screen and (max-width: 768px) {
  #ac-menu .label {
    font-size: 16px;
    padding-left: 52px;
  }

  #ac-menu {
    gap: 16px;
    /* ← li の間隔を統一して調整 */
  }
}

#ac-menu .label::before {
  content: 'Q';
  position: absolute;
  left: 24px;
  top: 27px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 28px;
  line-height: 1;
  color: var(--color-primary);
}

@media screen and (max-width: 768px) {
  #ac-menu .label:before {
    font-size: 26px;
    left: 19px;
    top: 26px;
  }
}

#ac-menu .label {
  position: relative;
  padding-right: 56px;
  cursor: pointer;
}

/* 回転させるコンテナ */
.plus-bar {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
  background-color: white;
  border-radius: 50%;
  /* 完全な円にする */
}

/* 線を2本用意（横と縦） */
.plus-bar::before,
.plus-bar::after {
  content: '';
  position: absolute;
  left: 29%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--color-primary);
  transform: translateY(-50%);
  z-index: 1;
  border-radius: 9999px;
}

/* 縦線 */
.plus-bar::before {
  transform: translateY(-50%) rotate(90deg);
}

/* ---------- 開いた状態 ---------- */
.label.open .plus-bar {
  transform: translateY(-50%) rotate(90deg);
  /* 十字全体を右に回転 */
}

/* 回転後、縦棒だけを消す */
.label.open .plus-bar::after {
  opacity: 0;
}

@media screen and (min-width: 768px) {
  .plus-bar {
    right: 32px;
  }
}

#ac-menu li:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

/*
アコーディオンメニューのコンテンツ部分は、「display: none;」で非表示にしておく。
ラベルクリック時にjQueryの「  $(this).next().slideToggle();」で表示に切り替わる
*/
#ac-menu .detail {
  display: none;
  font-size: 17px;
  line-height: 1.9;
  padding: 24px 64px 24px 64px;
  position: relative;
  background-color: white;
  color: var(--color-black);
}

@media screen and (max-width: 768px) {
  #ac-menu .detail {
    font-size: 15px;
    line-height: 1.7;
    padding: 24px 24px 24px 32px;
  }

  .plus-bar {
    right: 12px;
    top: 50%;
    width: 28px;
    height: 28px;
  }

  .plus-bar::before,
  .plus-bar::after {
    left: 28%;
    width: 12px;
  }
}

#ac-menu .detail dl {
  display: flex;
  flex-wrap: wrap;
}

#ac-menu .detail dt {
  width: 20%;
  font-weight: bold;
  margin-bottom: 40px;
}

#ac-menu .detail dd {
  width: 80%;
  margin-bottom: 40px;
}

.service-dev img {
  width: 400px;
}

.detail a {
  text-decoration: none;
  color: var(--color-primary) !important;

  border-bottom: 1px solid var(--color-primary);
}

.ac-section {
  font-size: 19px;
  margin-top: 32px;
  position: relative;
  padding-left: 2px;
  color: var(--color-black);
}

.ac-section:first-child {
  margin-top: 0;
}

.ac-section::before {
  position: absolute;
  content: '';
  top: 10px;
  left: -20px;
  width: 10px;
  height: 10px;
  background-color: var(--color-black);
  border-radius: 50%;
}

@media screen and (max-width: 768px) {
  .ac-section {
    font-size: 16px;
    margin-top: 24px;
    text-indent: -12px;
  }

  .ac-section::before {
    top: 8px;
    left: -24px;
    width: 9px;
    height: 9px;
  }
}

#banner img {
  width: 100%;
  border-radius: 10px;
}

.bannerslider-wrapper {
  overflow: hidden;
}

.bannerslider {
  padding: 0 !important;
  list-style: none;
  width: 100%;
}

.bannerslider li {
  width: 100%;
  text-align: center;
  /* 中にある画像を中央に寄せる */
  padding: 0;
  margin: 0;
}

.bannerslider-wrapper .slick-list {
  margin: 0 -8px;
}
.bannerslider-wrapper .slick-slide {
  margin: 0 8px;
}

/* ドット全体を横並び・中央寄せにする */
.bannerslider .slick-dots {
  display: flex; /* 横並びにする */
  justify-content: center; /* 中央に寄せる */
  list-style: none; /* リストの黒丸を消す */
  padding: 0;
  position: static !important;
  margin-top: 24px !important; /* スライダーとの余白 */
  width: 100%;
}

/* ★ここが重要：ドットの各リスト（li）の幅をリセット */
.bannerslider .slick-dots li {
  width: 20px !important; /* 100%を解除して固定幅にする */
  height: 20px;
  margin: 0 1px; /*ドット同士の間隔*/
  padding: 0;
}

/* 1. デフォルトの擬似要素（・）を非表示にする */
.bannerslider .slick-dots li button:before {
  display: none !important;
  content: '' !important;
}

/* 2. ボタン自体のテキスト（数字）を完全に隠す */
.bannerslider .slick-dots li button {
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  /* 枠線や影が残っている場合のリセット */
  border: none;
  box-shadow: none;
  outline: none;
}

/* ボタンの見た目を整える（必要に応じて） */
.bannerslider .slick-dots button {
  font-size: 0; /* 数字を消す */
  line-height: 0;
  display: block;
  width: 2px;
  height: 2px;
  padding: 3px;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: #ccc; /* 通常時の色 */
  border-radius: 50%; /* 丸くする */
}

/* アクティブ（現在表示中）のドットの色を変える */
.bannerslider .slick-dots li.slick-active button {
  background: #333; /* アクティブ時の色 */
}

.footer {
  font-size: 14px;
  text-align: center;
  margin: 56px 0 0 0;
  color: var(--color-black);
}

@media screen and (max-width: 768px) {
  .footer {
    font-size: 11px;
    margin: 40px 0 80px 0;
  }
}

.bg-secondary-light {
  background-color: var(--color-secondary-light);
}

#organizer {
  counter-reset: number 0;
  padding-top: 48px;
}

.organizer-desc {
  font-size: 16px;
  text-align: center;
  padding-bottom: 12px;
}

.organizer-desc span {
  white-space: nowrap;
}

#organizer ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
  margin: 8px 0;
}

@media screen and (max-width: 768px) {
  .organizer-desc {
    font-size: 14px;
    line-height: 1.6;
    padding-bottom: 0;
  }

  #organizer ul {
    font-size: 14px;
    line-height: 1.6;
  }
}

#organizer ul li {
  margin-left: 1.3em;
  text-indent: -1.3em;
}

#organizer ul li:before {
  counter-increment: number 1;
  content: counter(number) '.';
  /* 表示形式を指定 */
  margin-right: 8px;
}

.organizer {
  padding: 16px 16px 8px 16px;
  border-radius: 10px;
  background-color: white;
  width: 100%;
}

.organizer img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

@media screen and (min-width: 992px) {
  .organizer img {
    height: 160px;
  }
}

@media screen and (max-width: 992px) {
  .organizer img {
    height: 120px;
  }
}

@media screen and (max-width: 768px) {
  .organizer img {
    height: 200px;
  }
}

@media screen and (max-width: 576px) {
  .organizer img {
    height: 160px;
  }
}

/* @media screen and (min-width: 991px) {
  .organizer:hover img {
    transform: scale(1.05);
    transition: 0.2s ease;
  }
} */

.organizer-logo {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.organizer-logo img {
  width: 240px;
  object-fit: cover;
  height: auto;
}

@media screen and (max-width: 992px) {
  .organizer-logo img {
    width: 180px;
  }
}

@media screen and (max-width: 576px) {
  .organizer-logo img {
    width: 200px;
  }
}

@media screen and (max-width: 768px) {
  .organizer-logo {
    margin-top: 4px;
  }
}

/*写真スライダー*/
.picslider {
  padding: 0;
}

.picslider-list {
  overflow: visible;
}

.picslider li {
  padding: 32px;
  position: relative;
}

.picslider img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
}

@media screen and (max-width: 768px) {
  .picslider img {
    width: 140px;
    height: 140px;
  }
}

.bus-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.busimg img {
  width: 200px;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .bus-wrap {
    margin-bottom: 0;
  }

  .busimg img {
    width: 100px;
  }
}

.busimg {
  display: inline-block;
  transform-origin: center bottom;
  animation: bus-drive 1.4s ease-in-out infinite;
}

@keyframes bus-drive {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  25% {
    transform: translateY(-3px) rotate(-0.6deg);
  }

  50% {
    transform: translateY(0) rotate(0.6deg);
  }

  75% {
    transform: translateY(-2px) rotate(-0.4deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.area-card2 img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: 10px;
}

.area-card-title2 {
  font-size: 20px;
  color: var(--color-primary);
  margin-bottom: 16px;
  margin-top: 16px;
  padding: 0 8px;
}

@media screen and (max-width: 768px) {
  .area-card-title2 {
    font-size: 16px;
    margin-top: 8px;
    margin-bottom: 8px;
  }
}

.area-card2 p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-black);
  padding: 0 8px;
}

.btn-2 {
  justify-content: center !important;
  font-size: 17px;
  text-decoration: none;
  color: var(--color-primary);
  background-color: white;
  padding: 10px;
  border-radius: 50px;
  display: flex;
  width: 100%;
  align-items: center;
  position: relative;
  border: 2px solid var(--color-primary) !important;
}

@media screen and (max-width: 768px) {
  .btn-2 {
    font-size: 13px;
    padding: 4px 15px;
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start !important;
    border: 1.5px solid var(--color-primary) !important;
  }
}

.circle-arrow-2 {
  position: absolute;
  right: 10px;
  top: 20%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* 矢印（横線） */
.circle-arrow-2::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 25%;
  width: 45%;
  height: 2px;
  background: white;
  transform: translateY(-50%);
}

/* 矢印（くの字部分） */
.circle-arrow-2::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 35%;
  width: 10px;
  height: 10px;
  border-right: 2px solid white;
  border-top: 2px solid white;
  transform: translateY(-50%) rotate(45deg);
}

@media screen and (max-width: 768px) {
  .circle-arrow-2 {
    right: 8px;
    width: 21px;
    height: 21px;
    top: 18%;
  }

  .circle-arrow-2::before {
    width: 40%;
    height: 1.5px;
    left: 26%;
  }

  .circle-arrow-2::after {
    left: 34%;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid white;
    border-top: 1.5px solid white;
  }
}

.btn-2:hover {
  background-color: var(--color-primary);
  color: white;
  transition: 0.4s ease;
}

.btn-2:hover .circle-arrow-2 {
  background-color: white;
  transition: 0.4s ease;
}

.btn-2:hover .circle-arrow-2:after {
  border-color: var(--color-primary);
  transition: 0.4s ease;
}

.btn-2:hover .circle-arrow-2:before {
  background: var(--color-primary);
  transition: 0.4s ease;
}

.map {
  margin: 0 auto;
  max-width: 700px;
}

.area-card3 {
  padding: 16px;
  border-radius: 10px;
  background-color: white;
}

.area-card3 img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
}

.area-card-title3 {
  font-size: 20px;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding: 0 8px;
}

.area-card3 p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-black);
  padding: 0 8px;
}

.map-hover:hover path {
  fill: var(--color-primary);
  cursor: pointer;
}

.wrapper:has(.map-hover1:hover) .area-card3-1 {
  box-shadow: 0 1px 6px rgba(33, 183, 184, 0.8);
}

.wrapper:has(.map-hover2:hover) .area-card3-2 {
  box-shadow: 0 1px 6px rgba(33, 183, 184, 0.8);
}

.wrapper:has(.map-hover3:hover) .area-card3-3 {
  box-shadow: 0 1px 6px rgba(33, 183, 184, 0.8);
}

.wrapper:has(.map-hover4:hover) .area-card3-4 {
  box-shadow: 0 1px 6px rgba(33, 183, 184, 0.8);
}

.wrapper:has(.map-hover5:hover) .area-card3-5 {
  box-shadow: 0 1px 6px rgba(33, 183, 184, 0.8);
}

.tap {
  position: relative;
}

.tap img {
  width: 70px;
  position: absolute;
  right: -80px;
  top: -98px;
}

.tap p {
  position: absolute;
  right: -115px;
  top: -20px;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
}

@media screen and (max-width: 992px) {
  .tap img {
    width: 40px;
    right: 33px;
    top: -5px;
  }

  .tap p {
    right: 8px;
    top: 40px;
    font-size: 11px;
  }
}

.tap {
  /* 右寄せを確実にする設定 */
  margin-left: auto;
  margin-right: 0;
  width: fit-content; /* 中身の幅に合わせる */
  text-align: right;
}

.poyo-scale {
  /* 消失対策：強制的に表示させる */
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative;
  z-index: 10; /* 他の要素に隠れないよう前面へ */

  /* Safari対策 */
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;

  /* アニメーション */
  animation: gentle-float 0.9s ease-in-out infinite alternate;
}

.tap-text {
  margin: 0;
  padding: 0;
  line-height: 1.4;
  white-space: nowrap; /* 勝手な改行を絶対に防ぐ */
  color: #000; /* 背景色と同化していないか確認用（適宜変更してください） */
}

@keyframes gentle-float {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, -8px, 0);
  }
}

.contact {
  margin-top: 72px;
  text-align: center;
}

.contact-title {
  font-size: 18px;
  margin-bottom: 16px;
}

.tel span {
  font-size: 28px;
  font-family: 'Montserrat', sans-serif;
  margin-left: 4px;
}

.contact-caution {
  font-size: 16px;
  margin-top: 4px;
}
