/* ========================================
   LAYOUT BASE
======================================== */
.wrap {
  width: var(--w);
  margin-inline: auto;
  padding: 16px;
}
.opm-section {
  padding: 56px 0;
}
.opm-section h2 {
  font-size: clamp(22px, 3.4vw, 36px);
  margin: 0 0 1em;
  text-align: center;
  color: #347963 !important;
}

/* 背景画像固定用（全体背景時） */
body {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ========================================
   HEADER & NAV
======================================== */
.opm-header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 100;
}
.opm-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.anchor-nav ul {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.anchor-nav a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: #111;
  transition: 0.2s;
}
.anchor-nav a:hover,
.anchor-nav a.is-active {
  background: var(--accent);
  color: #fff;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
/* ===============================
   Header Logo Layout
=============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ロゴエリア */
.site-logo {
  flex-shrink: 0;
}
.site-logo img {
  height: 60px; /* ← ここで高さ調整（48〜60px程度推奨） */
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.logo-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: #111;
}

/* ===============================
   HEADER & NAVIGATION
=============================== */

/* --- 共通部分 --- */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: #111;
}

/* --- PC用ナビ --- */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.site-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 24px;
}

.site-nav a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #347963;
  transition: color 0.3s ease;
}

.site-nav a:hover {
  color: var(--accent, #009688);
}

.site-nav .jp {
  font-size: 1rem;
  font-weight: 600;
}

.site-nav .en {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* --- ハンバーガー --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #111;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --- 開閉アニメーション --- */
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===============================
   MOBILE NAVIGATION
=============================== */
@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    transition: right 0.4s cubic-bezier(0.45, 0, 0.1, 1);
    z-index: 999;
    padding: 80px 20px 40px;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    gap: 20px;
  }

  .site-nav.active {
    right: 0;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .site-nav a {
    text-align: center;
  }

  .hamburger {
    display: flex;
  }

  /* 背景スクロール防止 */
  .nav-open {
    overflow: hidden;
  }

  /* 背景の半透明オーバーレイ */
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    opacity: 1;
    transition: opacity 0.3s ease;
  }

  body:not(.nav-open)::before {
    opacity: 0;
    pointer-events: none;
  }
}

/* ===============================
   PCで常時表示
=============================== */
@media (min-width: 901px) {
  .site-nav {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }

  .hamburger {
    display: none;
  }
}

/* ========================================
   HERO SECTION
======================================== */
.opm-hero {
  position: relative;
  min-height: 72svh;
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
}

.opm-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000 url('/path/to/fallback.jpg') center/cover no-repeat;
}

.opm-hero__video,
.opm-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
  filter: brightness(0.75);
}

.opm-hero__veil {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, var(--overlay, 0.3));
}
.opm-hero__inner {
  position: relative;
  padding: 64px 16px;
}
.opm-hero__title {
  font-size: clamp(28px, 4.6vw, 56px);
  margin: 0 0 8px;
}
.opm-hero__sub {
  max-width: 900px;
  margin: 0 auto 20px;
  line-height: 1.7;
}
.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.opm-btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
}
.opm-btn.call { background: #10b981; }
.opm-btn.line { background: #06c755; }

/* ========== Promotion ========== */
.promo-grid {
  display: grid;
  gap: 24px;
  justify-content: center;
  align-items: start;
}

/* --- プロモーション1件のみ中央寄せ完全対応 --- */
.promo-grid.cols-1 {
  display: block; /* grid/flexはやめてブロック単体扱い */
  text-align: center;
  width: 100%;
}

.promo-grid.cols-1 .promo-item {
  display: inline-block; /* 横幅を中央に寄せるため */
  margin: 0 auto;
  text-align: center;
  max-width: 480px;
}

/* --- 2枚・3枚 --- */
.promo-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin: 0 auto;
}
.promo-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: 0 auto;
}

/* --- 画像装飾 --- */
.promo-item img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  display: block;
  transition: transform 0.3s ease;
}
.promo-item:hover img {
  transform: scale(1.03);
}

/* --- スマホではカルーセル風スクロール --- */
@media (max-width: 768px) {
  .promo-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 12px;
  }
  .promo-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
}

/* ===============================
   Promotion セクション調整
=============================== */
.promo-grid {
  display: grid;
  gap: 24px;
  justify-content: center;
  align-items: start;
}

.promo-grid.cols-1 {
  grid-template-columns: 1fr;
  text-align: center;
}

.promo-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
}

.promo-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
}

/* --- 各カード --- */
.promo-item {
  max-width: 480px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 画像の比率を維持（600x600なら正方形のまま） */
/* ===============================
   Promotion Image Fix (縦横比修正)
=============================== */
.promo-item img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important; /* ← 正方形強制 */
  object-fit: contain !important; /* 切り抜かず全体表示 */
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.promo-item img:hover {
  transform: scale(1.03);
}

/* スマホ時：1列スワイプ想定 */
@media (max-width: 768px) {
  .promo-grid {
    grid-template-columns: 1fr !important;
  }
  .promo-item {
    max-width: 90%;
    margin: 0 auto;
  }
}

/* ===============================
   Promotion Modal
=============================== */
.promo-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.4s ease;
}
.promo-modal.active {
  display: flex;
  animation: fadeIn 0.4s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.promo-modal-inner {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
}
.promo-modal-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transition: transform 0.4s ease;
}
.promo-modal.active .promo-modal-img {
  transform: scale(1.02);
}

/* ボタン */
.promo-close,
.promo-prev,
.promo-next {
  position: absolute;
  border: none;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 8px;
  padding: 8px 12px;
  transition: background 0.3s ease;
}
.promo-close:hover,
.promo-prev:hover,
.promo-next:hover {
  background: rgba(255,255,255,0.4);
}
.promo-close { top: 5%; right: 5%; font-size: 2.4rem; }
.promo-prev { left: 4%; top: 50%; transform: translateY(-50%); }
.promo-next { right: 4%; top: 50%; transform: translateY(-50%); }

@media (min-width: 769px) {
  .promo-modal { display: none !important; }
}

/* ===============================
   Appeal Section（アピールセクション）
=============================== */
.opm-appeal {
  text-align: center;
  padding: 80px 20px;
  color: #333;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.opm-appeal .wrap {
  max-width: 1000px;
  margin: 0 auto;
}

/* ---------- テキストタイプ ---------- */
.appeal-text h2 {
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 16px;
  color: #3a2c1f;
  font-weight: 600;
}

.appeal-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #333;
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- 画像タイプ ---------- */
.appeal-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.appeal-image img {
  display: block;
  width: 95%;               /* ✅ より大きく（90%→95%） */
  max-width: 1100px;        /* ✅ PCでは最大1100pxまで拡大表示 */
  height: auto;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.appeal-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

/* ---------- スマホ対応 ---------- */

/* アピールセクション内 */
@media (max-width: 768px) {
  .opm-appeal {
    position: relative;
    padding: 0;
    background-size: cover;
    background-position: center;
    overflow: hidden; /* ✅ はみ出し防止 */
  }

  .appeal-image {
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden; /* ✅ 内側でもはみ出させない */
  }

  .appeal-image img {
    width: 100%;           /* ✅ 画面幅ぴったり */
    max-width: none;        /* ✅ 制限解除 */
    height: auto;
    border-radius: 0;
    margin: 0 auto;
    display: block;
    object-fit: cover;
    transform: none !important;
  }

  /* 背景高さを画像に合わせて少し余白追加 */
  .opm-appeal.has-image {
    padding-bottom: 8vw;
  }
}

  /* テキストタイプの場合の余白調整 */
  .appeal-text {
    padding: 60px 16px;
  }

  .appeal-text h2 {
    font-size: 1.6rem;
    line-height: 1.4;
  }

  .appeal-text p {
    font-size: 1rem;
    line-height: 1.7;
  }
}
/* ========================================
   ABOUT & COURSES BASE
======================================== */
.grid {
  display: grid;
  gap: 24px;
}
/* ===============================
   About Section
=============================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}
.about-text {
  line-height: 1.8;
  font-size: 1rem;
}
.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* --- Features --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.feature-item {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.feature-item:hover {
  transform: translateY(-4px);
}
.feature-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 16px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.feature-item:hover .feature-icon {
  transform: scale(1.08);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.15));
}
.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.feature-item p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.opm-about .feature-icon {
  width: 200px !important;
  height: 200px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  margin-bottom: 12px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.opm-about .feature-item:hover .feature-icon {
  transform: scale(1.08);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.15));
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
}
/* ========================================
   COURSES GRID & CARD DESIGN
======================================== */
.course-cards {
  display: grid;
  gap: 40px;
  justify-content: center;
  margin: 0 auto;
  max-width: 1200px;
}

/* 列数設定（PHP側でcols-1/2/3付与） */
.course-cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.course-cards.cols-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
.course-cards.cols-1 { grid-template-columns: 1fr; max-width: 600px; }

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .course-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}
@media (max-width: 768px) {
  .course-cards {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
}

/* カードデザイン */
.course-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.course-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.course-body {
  padding: 24px 20px 28px;
  flex: 1;
}
.course-  h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  font-weight: 700;
}
.course-body .en {
  text-transform: uppercase;
  color: var(--muted, #777);
  font-size: 0.9rem;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}
.course-body .desc {
  color: #333;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.course-body .desc-en {
  color: #777;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.price-table {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.price-table li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #ddd;
  padding: 6px 0;
  font-size: 1rem;
  color: #111;
}
.price-table li strong {
  font-weight: 700;
  color: #000;
  position: relative;
}

.price-table li strong .tax-note {
  font-size: 0.8rem;
  color: #666;
  margin-left: 4px;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

/* ===== 修正パッチ：Course Section 表示不具合対応 ===== */
.course-card {
  display: block !important;
  overflow: visible !important;
}

.course-thumb img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
}

.course-body {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #111 !important;
  background: #fff !important;
  padding: 24px 20px !important;
}

.course-body h3,
.course-body p,
.price-table {
  display: block !important;
  opacity: 1 !important;
  color: #111 !important;
  visibility: visible !important;
}

.price-table li {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px dashed #ddd;
  font-size: 1rem;
  color: #111;
}

.course-note {
  text-align: center;
  font-size: 1rem;
  color: #555;
  margin-top: 16px;
  padding-top: 8px;
}

/* ========================================
   THERAPIST CARDS (3-column)
======================================== */
.therapist-cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
}
.therapist-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.therapist-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.photo-box {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 0.8;
}
.photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.6s ease;
}
.info {
  padding: 12px 14px 16px;
  text-align: center;
}
.info h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}
.info .yomi {
  color: var(--muted, #777);
  font-size: 0.85rem;
  margin: 2px 0 4px;
}
.info .bio {
  color: #555;
  line-height: 1.5;
  font-size: 0.85rem;
  margin-top: 6px;
}

/* レスポンシブ調整 */
@media (max-width: 1024px) {
  .therapist-cards {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }
}
@media (max-width: 768px) {
  .therapist-cards {
    grid-template-columns: repeat(2, 1fr); /* ← 2カラム */
    gap: 16px; /* 少し狭めに */
    max-width: 95%;
  }

  .therapist-card {
    border-radius: 10px;
  }

  .photo-box {
    aspect-ratio: 1 / 1; /* 正方形で安定 */
  }

  .info h3 {
    font-size: 0.95rem;
  }

  .info .bio {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

/* ========================================
   THERAPIST MODAL
======================================== */
#therapist-modal {
  display: none !important;
  visibility: hidden;
  opacity: 0;
  position: fixed !important;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.85);
  z-index: 999999 !important;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
#therapist-modal.active { display: flex !important; }
#therapist-modal.visible { visibility: visible; opacity: 1; }
.modal-img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 12px;
  opacity: 1;
  transition: opacity 0.4s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
#therapist-modal button {
  position: absolute;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
#therapist-modal button:hover {
  background: rgba(255,255,255,0.3);
}
#therapist-modal .prev { left: 5vw; top: 50%; transform: translateY(-50%); }
#therapist-modal .next { right: 5vw; top: 50%; transform: translateY(-50%); }
#therapist-modal .close { top: 5vh; right: 5vw; font-size: 2.4rem; }


/* ===============================
   Info Section Layout
=============================== */
.opm-info .wrap {
  max-width: 1100px; 
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.opm-info .info-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.opm-info .info-left {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

.opm-info .info-desc {
  margin-bottom: 1em;
  font-size: 1.05rem;
  color: #444;
}

.opm-info .info-address {
  white-space: pre-line;
  margin-bottom: 0.6em;
}

.opm-info .info-hours {
  margin-bottom: 0.6em;
  font-weight: 600;
  color: #111;
}

.opm-info .info-phones {
  list-style: none;
  margin: 0;
  padding: 0;
}

.opm-info .info-phones li {
  margin-bottom: 6px;
}

.opm-info .info-phones a {
  color: var(--accent, #009688);
  text-decoration: none;
  font-weight: 600;
}

.opm-info .info-phones a:hover {
  text-decoration: underline;
}

/* 地図スタイル */
.opm-info .info-map iframe {
  width: 100%;
  min-height: 360px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* レスポンシブ */
@media (max-width: 900px) {
  .opm-info .info-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ========================================
   REVIEWS / MAP（Reviews Carousel 含む）
======================================== */
.opm-reviews {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.opm-reviews .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- Carousel 基本 ---------- */
.review-carousel {
  overflow: hidden;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.review-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s ease;
  will-change: transform;
}

/* ---------- カード ---------- */
.review-card {
  flex: 0 0 calc(33.333% - 16px);
  flex-shrink: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: visible !important; /* ← 修正：見切れ防止 */
  display: flex;
  flex-direction: column;
  height: auto !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ---------- サムネイル ---------- */
.review-thumb {
  width: 100%;
  height: 260px;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* cover → contain に変更 */
  display: block;
  background: #fff;
  border-radius: 12px 12px 0 0;
}

/* ---------- 本文 ---------- */
.review-body {
  flex: 1;
  display: block !important;
  padding: 20px;
  height: auto !important;
  color: #111 !important;
  background: #fff !important;
}

/* ---------- 各要素 ---------- */
.review-stars {
  color: #f5c518;
  margin-bottom: 6px;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.review-meta {
  color: #666;
  font-style: italic;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.review-jp {
  font-size: 1rem;
  color: #111;
  line-height: 1.8;
  margin-bottom: 8px;
}

.review-en {
  font-size: 0.9rem;
  color: #777;
  line-height: 1.6;
}

.review-stars,
.review-meta,
.review-jp,
.review-en {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: inherit !important;
}

/* ---------- 矢印ボタン ---------- */
.review-prev,
.review-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  color: #333;
  font-size: 2rem;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background 0.3s ease;
  z-index: 5;
}

.review-prev:hover,
.review-next:hover {
  background: rgba(255,255,255,1);
}

.review-prev { left: 10px; }
.review-next { right: 10px; }

/* ---------- レスポンシブ対応 ---------- */
@media (max-width: 1024px) {
  .review-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .review-card {
    flex: 0 0 100%;
  }
  .review-track {
    gap: 12px;
  }
  .review-prev,
  .review-next {
    display: none;
  }
}

/* ---------- 修正パッチ：テキスト消失防止 ---------- */
.review-card *,
.review-body * {
  overflow: visible !important;
  visibility: visible !important;
  opacity: 1 !important;
}


/* ===============================
   Directions（行き方）
=============================== */
.opm-directions .wrap {
  max-width: 1200px;             /* ← 全体幅も広げる */
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.directions-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: #333;
  text-align: left;
  max-width: 800px;              /* テキストは中央寄せのまま */
  margin-left: auto;
  margin-right: auto;
}

.directions-images {
  display: flex;
  flex-direction: column;
  gap: 32px;                     /* 間隔を少し広めに */
  align-items: center;
  justify-content: center;
}

.directions-img {
  width: 100%;
  max-width: 1100px;             /* ← PC時の画像を広く */
  overflow: hidden;
  border-radius: 12px;
}

.directions-img img {
  display: block;
  width: 100% !important;
  height: auto !important;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  object-fit: contain;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* ホバー時に軽く拡大 */
.directions-img img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* ===============================
   スマホ最適化
=============================== */
@media (max-width: 768px) {
  .opm-directions .wrap {
    padding: 0 16px;
  }

  .directions-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .directions-images {
    gap: 16px;
  }

  .directions-img {
    max-width: 100%;
    border-radius: 8px;
  }

  .directions-img img {
    border-radius: 8px;
  }
}

/* ===============================
   タブレット（中間デバイス）
=============================== */
@media (min-width: 769px) and (max-width: 1024px) {
  .directions-desc {
    font-size: 1rem;
  }

  .directions-img {
    max-width: 90%;
  }
}

/* ===============================
   SNS セクション
=============================== */
.opm-sns .wrap {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.sns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 28px;
  justify-content: center;
  align-items: start;
}
.sns-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  padding: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sns-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}
.sns-link {
  display: block;
  text-decoration: none;
  color: #222;
}
.sns-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 8px;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.15));
}
.sns-link h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--sns-color, #444);
  font-weight: 700;
}
.sns-qr img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 6px;
  transition: transform 0.3s ease;
}
.sns-card:hover .sns-qr img {
  transform: scale(1.05);
}

/* スマホ調整 */
@media (max-width: 768px) {
  .sns-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .sns-qr img {
    width: 100px;
    height: 100px;
  }
}

/* ===============================
   Gallery Section（無限ループ＋hover減速）
=============================== */
.opm-gallery {
  position: relative;
  overflow: hidden;
  padding: 0;
  color: #fff;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* ラッパー */
.gallery-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* トラック全体を横スクロール */
.gallery-track {
  display: flex;
  width: max-content;
  will-change: transform;
  transition: transform 0.1s linear;
}

/* hoverでスムーズ減速 */
.gallery-wrap:hover .gallery-track {
  animation-play-state: paused;
  transition: transform 1.2s ease-out;
}

/* 各アイテム */
.gallery-item {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.gallery-item img {
  display: block;
  height: 340px;
  width: auto;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

/* 無限ループを自然にするために同じ画像を2回繰り返し表示 */
@keyframes galleryScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 左右フェード */
.opm-gallery::before,
.opm-gallery::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.opm-gallery::before {
  left: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.5), transparent);
}
.opm-gallery::after {
  right: 0;
  background: linear-gradient(to left, rgba(0,0,0,0.5), transparent);
}

/* スマホ最適化 */
@media (max-width: 768px) {
  .gallery-item img {
    height: 220px;
  }
  .opm-gallery::before,
  .opm-gallery::after {
    width: 60px;
  }
}

/* ========================================
   FOOTER
======================================== */
.opm-footer {
  padding: 32px 0;
  border-top: 1px solid #eee;
  background: #fff;
  color: #555;
  text-align: center;
}

.opm-footer small {
  font-size: 0.85rem;
  color: #555;
}

.opm-footer a:hover {
  opacity: 0.8;
}

/* ========================================
   Font Size Global Scale Up (Safe)
======================================== */

/* 全体ベースを1段階アップ */
html {
  font-size: 17px; /* ← 通常16px → やや大きく */
}

body {
  font-size: 1.0625rem; /* ＝17pxベースで1rem換算維持 */
  line-height: 1.8;
}

/* 小さな文字（英語や注釈など）のみ微調整 */
small, .en, .tax-note {
  font-size: 0.95em;
}

/* ===============================
   🌿 SPでもヘッダー固定表示
=============================== */
@media (max-width: 900px) {
  .site-header {
    position: fixed;      /* ← sticky → fixed に変更 */
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;        /* ナビより上に */
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }

  /* 固定ヘッダーぶん下に余白を作る */
  body {
    padding-top: 70px;    /* ← ヘッダー高さに合わせて調整（60〜80px推奨） */
  }
}

@media (max-width: 768px) {
/* ページ全体の横スクロールを禁止 */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
}