/*
Theme Name: 湊川部屋
Theme URI: https://minatogawabeya.net/
Author: 湊川部屋
Description: 湊川部屋公式ホームページ用WordPressテーマ
Version: 1.0.0
License: Private
Text Domain: minatogawabeya
*/

/* ===== リセット & ベース ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #171717;
  --color-bg-dark: #1C1C1C;
  --color-bg-gray: #3F3F3F;
  --color-gold: #9F7104;
  --color-gold-light: #b8820a;
  --color-white: #ffffff;
  --color-text: #F1F1F1;
  --color-text-muted: #B0B0B0;
  --color-border: rgba(241, 241, 241, 0.18);
  --font-sans: 'Shippori Mincho', 'Hiragino Mincho Pro', 'ヒラギノ明朝 Pro', serif;
  --font-serif: 'Shippori Mincho', 'Hiragino Mincho Pro', 'ヒラギノ明朝 Pro', serif;
  --font-en: 'Crimson Text', Georgia, serif;
  --max-width: 1200px;
  --header-height: 88px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  background-image: url('assets/images/background_black.png');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.8;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
  color: var(--color-gold);
}

ul {
  list-style: none;
}

/* ===== ヘルパー ===== */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 80px;
}

.section {
  padding: 40px 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  font-weight: 500;
}

/* ===== ヘッダー ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: #111111ff;
  z-index: 1000;
  display: flex;
  align-items: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 40px;
}

/* ロゴ */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-logo img {
  height: 50px;
  object-fit: contain;
}

.site-logo .site-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-white);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ナビゲーション */
.global-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.global-nav a {
  display: block;
  padding: 6px 14px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.08em;
  white-space: nowrap;
  border-radius: 2px;
  background-image: linear-gradient(var(--color-gold), var(--color-gold));
  background-size: 0% 1px;
  background-position: center bottom 2px;
  background-repeat: no-repeat;
  transition: color 0.2s ease, background-size 0.35s ease;
}

.global-nav a:hover {
  color: var(--color-gold);
  background-size: 70% 1px;
}

/* ===== ハンバーガーボタン（SP用） ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  flex-shrink: 0;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--color-white);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* ハンバーガー open 時 → ×形に */
.hamburger.is-open .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== ドロワーオーバーレイ ===== */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.drawer-overlay.is-visible {
  opacity: 1;
}

/* ===== ドロワーパネル（右スライドイン） ===== */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100dvh;
  background-color: #1a1a1a;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
}

.drawer.is-open {
  transform: translateX(0);
}

/* ドロワーヘッダー（ロゴ + ×ボタン） */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(241, 241, 241, 0.12);
}

.drawer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.drawer-logo img {
  height: auto;
  width: 280px;
  object-fit: contain;
}

.drawer-logo span {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--color-white);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* × 閉じるボタン */
.drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-gold);
  flex-shrink: 0;
  padding: 0;
  transition: opacity 0.2s ease;
}

.drawer-close:hover {
  opacity: 0.7;
}

.drawer-close svg {
  width: 40px;
  height: 40px;
}

/* ドロワーナビ */
.drawer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drawer-nav li {
  border-bottom: 1px solid rgba(241, 241, 241, 0.1);
}

.drawer-nav li:first-child {
  border-top: none;
}

.drawer-nav a {
  display: block;
  padding: 16px 40px;
  color: var(--color-white);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  background-image: linear-gradient(var(--color-gold), var(--color-gold));
  background-size: 0% 1px;
  background-position: left bottom 0px;
  background-repeat: no-repeat;
  transition: color 0.2s ease, background-size 0.35s ease, padding-left 0.2s ease;
}

.drawer-nav a:hover {
  color: var(--color-gold);
  background-size: calc(100% - 56px) 1px;
  padding-left: 36px;
}

/* ドロワーSNS（navの直下） */
.drawer-sns {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 40px;
  border-top: 1px solid rgba(241, 241, 241, 0.1);
}

.drawer-sns-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.drawer-sns-icon:hover {
  opacity: 0.65;
}

/* X（旧Twitter）— モノクロ：黒背景・白アイコン */
.drawer-sns-icon--x {
  color: #ffffff;
}

.drawer-sns-icon--x .fa-x-twitter {
  font-size: 40px;
}

/* LINE — モノクロ：ダークグレー背景・白アイコン・白枠 */
.drawer-sns-icon--line {
  color: #ffffff;
}

.drawer-sns-icon--line .fa-line {
  font-size: 40px;
}

/* Instagram */
.drawer-sns-icon--instagram {
  color: #ffffff;
}

.drawer-sns-icon--instagram .fa-instagram {
  font-size: 40px;
}

/* ===== ヒーローセクション ===== */
@keyframes heroFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.92);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.2) 60%,
      rgba(0, 0, 0, 0.05) 100%);
}

.hero-content {
  position: absolute;
  top: 40%;
  left: 6%;
  animation: heroFadeIn 3s ease forwards;
}

.hero-catchcopy-img {
  display: block;
  width: 620px;
  margin-bottom: 24px;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.6));
}

.hero-logo-inline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-logo-img {
  width: 240px;
  opacity: 0.9;
  object-fit: contain;
}

.hero-logo-inline span {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-white);
  letter-spacing: 0.15em;
}

/* ===== 親方挨拶セクション ===== */
.oyakata-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
}

.oyakata-photo img {
  width: 100%;
  object-fit: cover;
}

.oyakata-message-label {
  font-size: 0.8125rem;
  color: var(--color-gold);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  border-left: 2px solid var(--color-gold);
  padding-left: 12px;
}

.oyakata-message-body {
  font-size: 1rem;
  line-height: 2.4;
  letter-spacing: 0.5px;
  color: var(--color-text);
  margin-bottom: 32px;
}

/* ===== 力士紹介セクション ===== */
.rikishi-section {
  background-color: var(--color-bg-dark);
}

.rikishi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.rikishi-card {
  display: block;
  overflow: hidden;
  transition: border-color 0.3s;
  text-decoration: none;
}

.rikishi-card:hover {
  border-color: var(--color-gold);
}

.rikishi-card-photo {
  height: 200px;
  overflow: hidden;
}

.rikishi-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.rikishi-card:hover .rikishi-card-photo img {
  transform: scale(1.04);
}

.rikishi-card-info {
  padding: 16px;
}

.rikishi-card-rank {
  font-size: 0.75rem;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.rikishi-card-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--color-white);
  letter-spacing: 0.1em;
}

.section-more {
  text-align: center;
  margin-top: 48px;
}

/* ===== 裏方紹介セクション ===== */
.urakata-section {
  background-color: var(--color-bg);
}

.urakata-grid {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.urakata-card {
  overflow: hidden;
}

.urakata-card-photo {
  height: 200px;
  overflow: hidden;
}

.urakata-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.urakata-card-info {
  padding: 16px;
}

.urakata-card-role {
  font-size: 0.75rem;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.urakata-card-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--color-white);
  letter-spacing: 0.1em;
}

/* ===== SNSセクション ===== */
.sns-section {
  background-color: var(--color-bg-dark);
}

.sns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
}

.no-content {
  text-align: center;
  color: var(--color-text-muted);
}

.btn {
  display: inline-block;
  padding: 12px 40px;
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--color-white);
  background-color: var(--color-gold);
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn::after {
  content: '↗';
  margin-left: 2em;
  color: currentColor;
}

.btn:hover {
  background-color: var(--color-white);
  color: var(--color-gold);
}

/* ===== 募集セクション ===== */
.recruit-section {
  background-color: var(--color-bg);
}

.recruit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.recruit-card {
  border: 1px solid var(--color-border);
  padding: 40px;
  transition: border-color 0.3s ease;
}

.recruit-card:hover {
  border-color: var(--color-gold);
}

.recruit-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.recruit-card p {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 2;
}

/* ===== フッター ===== */
.site-footer {
  background-color: var(--color-bg-dark);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  padding: 60px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo span {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-white);
  letter-spacing: 0.1em;
}

.footer-description {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 2;
  max-width: 400px;
}

.footer-nav ul {
  display: flex;
  gap: 1.5rem;
  align-items: flex-end;
}

.footer-nav a {
  font-size: 1rem;
  color: var(--color-text);
  letter-spacing: 0.08em;
  background-image: linear-gradient(var(--color-gold), var(--color-gold));
  background-size: 0% 1px;
  background-position: center bottom 0px;
  background-repeat: no-repeat;
  transition: color 0.2s ease, background-size 0.35s ease;
}

.footer-nav a:hover {
  color: var(--color-gold);
  background-size: 100% 1px;
}

.footer-sns {
  margin-bottom: 1rem;
  display: flex;
  gap: 16px;
  justify-content: flex-start;
}

.footer-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-text);
  font-size: 1.5rem;
  transition: border-color 0.3s, color 0.3s;
}

.footer-sns a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.footer-bottom {
  text-align: right;
  font-size: 0.8125rem;
  color: var(--color-text);
}

/* ===== 投稿ページ・固定ページ ===== */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

.page-content h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-gold);
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  letter-spacing: 0.1em;
}

.page-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-gold);
  margin: 40px 0 20px;
}

.page-content h3 {
  font-size: 1.125rem;
  color: var(--color-white);
  margin: 32px 0 16px;
}

.page-content p {
  margin-bottom: 24px;
  line-height: 2;
}

.page-content img {
  margin: 32px auto;
  border: 1px solid var(--color-border);
}

/* ===== ブログ一覧 ===== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.post-card {
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: border-color 0.3s;
}

.post-card:hover {
  border-color: var(--color-gold);
}

.post-card-thumbnail {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.post-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-card-thumbnail img {
  transform: scale(1.04);
}

.post-card-body {
  padding: 20px;
}

.post-card-date {
  font-size: 0.8125rem;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.post-card-title {
  font-size: 0.9375rem;
  color: var(--color-white);
  line-height: 1.6;
}

/* ===== パンくずリスト ===== */
.breadcrumb {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 40px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.breadcrumb li::after {
  content: '›';
  margin-left: 8px;
}

.breadcrumb li:last-child::after {
  display: none;
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-gold);
}

/* ===== レスポンシブ ===== */
/* ===== 力士プロフィール モーダル ===== */
.rikishi-modal-pool {
  display: none;
}

/* オーバーレイ全体 */
.rikishi-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.rikishi-modal[hidden] {
  display: none;
}

.rikishi-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: pointer;
}

/* ダイアログ本体 */
.rikishi-modal-dialog {
  position: relative;
  background: #1a1a1a;
  width: auto;
  overflow-y: auto;
  padding: 80px;
}

/* 閉じるボタン（右上・金色） */
.rikishi-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--color-gold);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.rikishi-modal-close:hover {
  background: #b88200;
}

/* モーダルコンテンツ: 写真行 → プロフィール行 の縦積み */
.rikishi-modal-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 写真3枚横並び */
.rikishi-modal-photos {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
}

/* 1枚目：250×250px 正方形 */
.rikishi-modal-photo-main {
  width: 250px;
  height: 250px;
  object-fit: cover;
  object-position: top center;
  display: block;
  flex-shrink: 0;
}

/* 2・3枚目のラッパー（デスクトップでは横並びを維持） */
.rikishi-modal-photos-sub {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
}

/* 2・3枚目：150×150px 正方形 */
.rikishi-modal-photo-sub {
  width: 150px;
  height: 150px;
  object-fit: cover;
  object-position: top center;
  display: block;
  flex-shrink: 0;
}

/* プロフィールテキスト */
.rikishi-modal-profile {
  margin-top: 48px;
  flex: 1;
}

.rikishi-modal-rank {
  font-size: 0.8rem;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.rikishi-modal-name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--color-white);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  line-height: 1.3;
}

/* データ行テーブル */
.rikishi-modal-data-row {
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 1rem;
}

.rikishi-modal-data-row dt {
  font-size: 1rem;
}

.rikishi-modal-data-row dd {
  color: var(--color-white);
  font-size: 1rem;
}

/* 力士カード クリック可能スタイル */
.rikishi-card.js-rikishi-modal {
  cursor: pointer;
}

.rikishi-card.js-rikishi-modal:hover .rikishi-card-photo img {
  transform: scale(1.04);
}

.rikishi-card.js-rikishi-modal:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* ===== 裏方プロフィール モーダル ===== */
.urakata-modal-pool {
  display: none;
}

.urakata-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.urakata-modal[hidden] {
  display: none;
}

.urakata-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: pointer;
}

.urakata-modal-dialog {
  position: relative;
  background: #1a1a1a;
  width: auto;
  max-width: 780px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 80px;
}

.urakata-modal-body {
  display: flex;
  justify-content: space-around;
  gap: 3rem;
}

.urakata-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--color-gold);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.urakata-modal-close:hover {
  background: #b88200;
}

/* コンテンツ: 左写真 ＋ 右テキスト */
.urakata-modal-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: start;
}

.urakata-modal-col-left {
  flex-shrink: 0;
}

.urakata-modal-photo {
  width: 250px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.urakata-modal-col-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 8px;
}

.urakata-modal-name {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.875rem);
  color: var(--color-white);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  line-height: 1.3;
}

.urakata-modal-data-row {
  display: grid;
  grid-template-columns: 6em 1fr;
  gap: 1rem;
  padding: 2px 0;
}

/* 裏方カード クリック可能スタイル */
.urakata-card.js-urakata-modal {
  cursor: pointer;
}

.urakata-card.js-urakata-modal:hover .urakata-card-photo img {
  transform: scale(1.04);
}

.urakata-card.js-urakata-modal:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* ===== スクロールフェードアップ ===== */
.js-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ページKV（サブページ共通） ===== */
.page-kv {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 300px;
  max-height: 500px;
  overflow: hidden;
}

.page-kv-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-kv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.page-kv-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.page-kv-en {
  font-size: 0.8125rem;
  color: var(--color-gold);
  letter-spacing: 0.4em;
}

.page-kv-ja {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 500;
  color: var(--color-white);
  letter-spacing: 0.2em;
}

/* ===== 募集ページ ===== */
.recruit-intro-text {
  font-size: 18px;
  font-weight: 400;
  height: auto;
  letter-spacing: 0.05em;
  line-height: 2.40;
  color: var(--color-text);
}

.recruit-requirements-section {
  background-color: var(--color-bg-dark);
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  max-width: 800px;
  margin: 0 auto 24px;
}

.requirement-item {
  border: 1px solid var(--color-border);
  padding: 32px 16px;
  text-align: center;
}

.requirement-label {
  font-size: 0.8125rem;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.requirement-value {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

.requirements-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ===== 力士の1日 ===== */
.oneday-section {
  background-color: var(--color-bg-dark);
}

.oneday-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 600px;
  margin: auto;
}

.oneday-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}

.oneday-item--reverse {
  direction: rtl;
}

.oneday-item--reverse>* {
  direction: ltr;
}

.oneday-item-photo {
  overflow: hidden;
}

.oneday-item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oneday-item-text {
  padding: 48px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-top: none;
}

.oneday-item:first-child .oneday-item-text {
  border-top: 1px solid var(--color-border);
}

.oneday-item-time {
  font-size: 0.8125rem;
  color: var(--color-gold);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.oneday-item-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--color-white);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.oneday-item-desc {
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--color-text);
}

/* ===== お問い合わせCTA ===== */
.contact-cta-section {
  background-color: var(--color-bg-dark);
}

.contact-cta-inner {
  text-align: center;
}

.contact-cta-text {
  font-size: 1rem;
  line-height: 2.2;
  color: var(--color-text);
  margin-bottom: 40px;
}

.btn--lg {
  padding: 16px 56px;
  font-size: 1rem;
}

/* ===== 後援会特典 ===== */
.support-benefits-section {
  background-color: var(--color-bg-dark);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: border-color 0.3s;
}

.benefit-card:hover {
  border-color: var(--color-gold);
}

.benefit-card-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.benefit-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.benefit-card:hover .benefit-card-photo img {
  transform: scale(1.04);
}

.benefit-card-info {
  padding: 16px;
}

.benefit-card-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.benefit-card-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ===== アクセシビリティ: 視覚的に非表示 ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== 後援会入会ボタン ===== */
.kouenkai-entry-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.btn--outline {
  background-color: transparent;
  border-color: var(--color-text-muted);
  color: var(--color-text-muted);
}

.btn--outline:hover {
  background-color: var(--color-text-muted);
  color: var(--color-bg);
}

.kouenkai-contact-link {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--color-text-muted);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.kouenkai-contact-link:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

/* ===== ページKV（背景画像なしのシンプル版） ===== */
.page-kv--simple {
  height: 30vh;
  min-height: 200px;
  background-color: var(--color-bg-dark);
}

.page-kv--simple .page-kv-overlay {
  background: none;
}

/* ===== プライバシーポリシー ===== */
.privacy-content {
  margin: 0 auto;
}

/* ===== キャッチコピーセクション ===== */
.catchphrase-section {
  background-color: transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 240px 80px;
}

/* PC: 大きな家紋を背景に表示（mix-blend-mode: screen でダーク背景に溶け込む） */
.catchphrase-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 560px;
  height: 560px;
  background-image: url('assets/images/top_kamon_touka20.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  mix-blend-mode: screen;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.catchphrase-section .container {
  position: relative;
  z-index: 1;
}

/* SP用家紋：PC では非表示 */
.catchphrase-kamon-sp {
  display: none;
}

.catchphrase-main {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 24px;
}

.catchphrase-gold {
  color: var(--color-gold);
  font-style: normal;
}

/* SP用改行（480px以下でのみ表示） */
.catchphrase-break-sp {
  display: none;
}

.catchphrase-sub {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 2;
  letter-spacing: 0.1em;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== 湊川部屋についてセクション（トップ紹介） ===== */
.about-intro-section {
  background-color: var(--color-bg-dark);
}

.about-intro-inner {
  margin: 0 auto;
  text-align: center;
}

.about-intro-body {
  font-size: 0.9375rem;
  line-height: 2.2;
  color: var(--color-text);
  margin-bottom: 40px;
}

/* ===== CTAテキストセクション（新弟子・後援会） ===== */
.cta-text-section {
  background-color: var(--color-bg);
}

.cta-text-about {
  text-align: center;
  margin-bottom: 60px;
}

.btn-outline {
  display: inline-block;
  padding: 12px 40px;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  border: 1px solid var(--color-text-muted);
  color: var(--color-text-muted);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-outline:hover {
  background-color: var(--color-text-muted);
  color: var(--color-bg);
  border-color: var(--color-text-muted);
}

.cta-text-grid {
  display: flex;
  width: 100%;
}

.cta-text-card {
  position: relative;
  width: 50%;
  height: 550px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 60px;
  text-align: left;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.cta-text-card::before {
  content: '';
  position: absolute;
  inset: 0;
}

.cta-text-card--recruit {
  background-image: url('assets/images/top-cta-recruit.jpg');
}

.cta-text-card--supporter {
  background-image: url('assets/images/top-cta-supporter.jpg');
}

.cta-text-card>* {
  position: relative;
  z-index: 1;
}

.cta-text-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 20px;
}

.cta-text-body {
  width: 50%;
  font-size: 0.9rem;
  line-height: 2;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

/* ===== 公式SNSセクション（QR版） ===== */
.sns-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border: 1px solid #3f3f3fff;
  background-color: #1c1c1cff;
  padding: 24px;
}

.sns-card-qr {
  overflow: hidden;
  background-color: #fff;
  margin-bottom: 16px;
}

.sns-card-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sns-card-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-white);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  align-self: center;
}

.sns-card-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
  text-align: left;
  flex-grow: 1;
}

.sns-card-link {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-text-muted);
  letter-spacing: 0.05em;
  word-break: break-all;
  transition: border-color 0.2s ease;
}

.sns-card-link:hover {
  color: var(--color-gold);
  border-bottom-color: var(--color-gold);
}

/* ===== お問い合わせセクション ===== */
.contact-section {
  background-color: var(--color-bg-dark);
  padding: 80px 0 160px 0;
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  background-color: #222222;
  border: 1px solid #3f3f3f;
  padding: 120px 80px;
}

.contact-box-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.contact-body {
  font-size: 0.9375rem;
  line-height: 2.2;
  color: var(--color-text);
  margin-bottom: 0;
}

.contact-box-action {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===== フッター：ロゴリンク・住所・SNS ===== */
.footer-logo-link {
  display: inline-block;
}

.footer-address {
  font-style: normal;
  font-size: 0.8125rem;
  color: var(--color-text);
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.footer-privacy-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--color-text);
  letter-spacing: 0.05em;
  background-image: linear-gradient(var(--color-gold), var(--color-gold));
  background-size: 0% 1px;
  background-position: center bottom 0px;
  background-repeat: no-repeat;
  transition: color 0.2s ease, background-size 0.35s ease;
}

.footer-privacy-link:hover {
  color: var(--color-gold);
  background-size: 100% 1px;
}

.footer-sns-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-text-muted);
  font-size: 1.25rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-sns-icon:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

/* ===== 後援会募集ページ ===== */

/* 紹介文 */
.kouenkai-intro-section {
  background-color: var(--color-bg);
  text-align: center;
}

.kouenkai-intro {
  max-width: 680px;
  margin: 0 auto;
}

.kouenkai-intro-text {
  font-size: 0.9375rem;
  line-height: 2.2;
  color: var(--color-text);
  margin-bottom: 1.2em;
}

.kouenkai-intro-text:last-child {
  margin-bottom: 0;
}

/* 固定申込リンク */
.kouenkai-fixed-links {
  position: fixed;
  top: 140px;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.kouenkai-fixed-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 72px;
  padding: 20px 12px;
  color: var(--color-white);
  text-decoration: none;
  transition: opacity 0.2s ease;
  writing-mode: vertical-rl;
  writing-mode: initial;
}

.kouenkai-fixed-link:hover {
  background-color: var(--color-white);
  color: var(--color-gold);
}

.kouenkai-fixed-link--kojin {
  background-color: #9f7104;
}

.kouenkai-fixed-link--hojin {
  background-color: #624500;
}

.kouenkai-fixed-link__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.kouenkai-fixed-link__text {
  font-size: 18px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  writing-mode: vertical-rl;
}

/* 会員プランセクション */
.kouenkai-member-section--kojin,
.kouenkai-member-section--hojin {
  background-color: #171717ff;
  margin: 80px;
  border: 1px solid var(--color-bg-gray);
}


/* プランカード */
.member-plans {
  display: grid;
  gap: 40px;
  margin: auto;
  width: 800px;
  margin-bottom: 64px;
}

.member-plan-card {
  border: 1px solid #3f3f3f;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* プラン名ヘッダー行（ダーク背景 + goldドット） */
.plan-name-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background-color: #1c1c1c;
}

.plan-name-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-gold);
  flex-shrink: 0;
}

.plan-name {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--color-white);
  letter-spacing: 0.12em;
  font-weight: 700;
}

/* プランカード本体 */
.plan-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 32px;
}

.plan-fee-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}

.plan-fee-label,
.plan-benefits-label {
  color: var(--color-white);
  letter-spacing: 0.08em;
  background-color: #333;
  flex-shrink: 0;
  min-width: 40px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  height: auto;
  line-height: 1.75;
  padding: 0px 20px;
  width: 90px;
}

.plan-fee {
  font-family: var(--font-serif);
  color: var(--color-gold);
  letter-spacing: 0.05em;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.plan-fee__num {
  font-size: 40px;
  font-weight: 700;
}

.plan-fee__suffix {
  font-size: 28px;
  font-weight: 600;
}

.plan-benefits {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
}

.plan-benefits-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.plan-benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan-benefits-list li {
  font-size: 16px;
  font-weight: 500;
  height: auto;
  letter-spacing: 0.05em;
  line-height: 2.00;
  color: var(--color-text);
  padding-left: 1em;
  position: relative;
}

.plan-benefits-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--color-text);
}

.plan-detail-link {
  font-size: 1rem;
  color: var(--color-text);
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: opacity 0.2s;
}

.plan-detail-link:hover {
  opacity: 0.7;
  color: var(--color-gold);
}

/* 入会方法 */
.nyukai-section {
  padding-top: 48px;
}

.nyukai-heading {
  font-family: var(--font-serif);
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  height: auto;
  line-height: 1.5;
  padding: 16px 0px;
  color: var(--color-text);
  letter-spacing: 0.15em;
  margin-bottom: 32px;
  text-align: center;
  border-top: 1px dashed var(--color-text-muted);
  border-bottom: 1px dashed var(--color-text-muted);
}

.nyukai-steps {
  list-style: none;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nyukai-step {
  display: flex;
  flex-direction: column;
}

.nyukai-step__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.nyukai-step__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: transparent;
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

.nyukai-step__body {
  border-left: 2px solid var(--color-gold);
  padding: 24px;
  margin-left: 13px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nyukai-step__title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.nyukai-step__desc {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.nyukai-btn {
  display: inline-block;
  padding: 16px 24px;
  font-size: 1rem;
  letter-spacing: 0;
  width: fit-content;
}

.nyukai-pdf-link {
  font-size: 1rem;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-text-muted);
  transition: opacity 0.2s;
  width: fit-content;
}

.nyukai-pdf-link::after {
  content: '↗';
  margin-left: 1em;
  color: currentColor;
}

.nyukai-pdf-link:hover {
  opacity: 0.7;
  color: var(--color-gold);
}

/* 後援会特典グリッド */
.kouenkai-benefits-section {
  background-color: var(--color-bg-dark);
}

.kouenkai-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 40px;
}

.kouenkai-benefit-card {
  padding: 24px;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: border-color 0.3s;
}

.kouenkai-benefit-photo {
  flex-shrink: 0;
  width: 100%;
  overflow: hidden;
}

.kouenkai-benefit-photo img {
  width: 100%;
  object-fit: cover;
}

.kouenkai-benefit-body {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}

.kouenkai-benefit-num {
  font-family: var(--font-en);
  font-size: 1.5rem;
  color: var(--color-gold);
  line-height: 1;
  opacity: 0.8;
}

.kouenkai-benefit-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  height: auto;
  line-height: 1.5;
  color: var(--color-white);
  letter-spacing: 0.08em;
}

.kouenkai-benefit-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.kouenkai-benefits-note p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 6px;
}

.kouenkai-benefits-note p:last-child {
  margin-bottom: 0;
}

/* ===== 新弟子募集ページ ===== */

/* 紹介文 */
.recruit-intro-section {
  background-color: var(--color-bg);
}

.recruit-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.recruit-intro-text {
  font-size: 1rem;
  line-height: 2.2;
  color: var(--color-text);
  margin-bottom: 1.5em;
}

.recruit-intro-text:last-child {
  margin-bottom: 0;
}

/* 稽古の方針 */
.recruit-hoshin-section {
  border: 1px solid #3f3f3fff;
  background-color: #1c1c1cff;
  padding: 40px;
  width: 90%;
  margin: 80px auto;
}

.hoshin-list {
  margin: 0 auto;
}

.hoshin-item {
  display: grid;
  gap: 2rem;
  grid-template-columns: 240px 1fr;
  padding: 28px 0;
}

.hoshin-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  padding-top: 2px;
}

.hoshin-body {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 2.40;
  color: var(--color-text);
}

/* 力士の1日 */
/* ===== リクルート：力士の1日（タイムライン形式） ===== */
.recruit-oneday-section {
  background-color: var(--color-bg);
}

/* base .oneday-item の grid を上書き */
.recruit-oneday-section .oneday-item {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: stretch;
  min-height: 0;
}

/* 左：マーカー列 */
.oneday-item-marker {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 14px;
  align-items: center;
  flex-shrink: 0;
}

.oneday-item-marker .fa-square {
  color: var(--color-gold);
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}

.oneday-item-line {
  flex: 1;
  display: flex;
  justify-content: center;
}

.oneday-item-line>div {
  width: 1px;
  flex: 1;
  background-color: var(--color-gold);
}

/* 右：コンテンツ列 */
.oneday-item-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 48px;
  flex: 1;
  min-width: 0;
}

.recruit-oneday-section .oneday-item:last-child .oneday-item-content {
  padding-bottom: 0;
}

/* base .oneday-item-text のボーダー・パディングをリセット */
.recruit-oneday-section .oneday-item-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  border: none;
  background: none;
  justify-content: flex-start;
}

.recruit-oneday-section .oneday-item:first-child .oneday-item-text {
  border-top: none;
}

.recruit-oneday-section .oneday-item-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0;
  margin-bottom: 0;
}

.recruit-oneday-section .oneday-item-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 2.4;
  letter-spacing: 0.05em;
}

/* 写真 */
.recruit-oneday-section .oneday-item-photo {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  display: block;
  height: auto;
}

/* 入門規定 */
.recruit-nyumon-section {
  background-color: var(--color-bg-dark);
}

.nyumon-intro {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--color-text-muted);
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
}

.nyumon-table {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}

.nyumon-table th,
.nyumon-table td {
  padding: 20px;
  border: 1px solid var(--color-text);
  border-left: none;
  border-right: none;
  text-align: left;
}

.nyumon-table th {
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  height: auto;
  letter-spacing: normal;
  line-height: 1.4;
  text-align: left;
  white-space: nowrap;
}

.nyumon-table td {
  color: var(--color-text);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  height: auto;
  letter-spacing: normal;
  line-height: 1.60;
  padding-left: 80px;
}

/* 入門までの流れ */
.recruit-flow-section {
  background-color: var(--color-bg);
}

.flow-list {
  margin: 0 auto;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-item {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 40px;
  border-bottom: 1px solid var(--color-text);
}

.flow-item:first-child {
  border-top: 1px solid var(--color-text);
}

.flow-number {
  font-family: var(--font-en);
  font-size: 3rem;
  color: var(--color-gold);
  font-style: normal;
  font-weight: 400;
  height: auto;
  letter-spacing: normal;
  line-height: 1.4;
  flex-shrink: 0;
  width: 4rem;
  text-align: center;
  margin: auto 0;
}

.flow-body {
  flex: 1;
  padding-top: 4px;
}

.flow-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  height: auto;
  letter-spacing: normal;
  line-height: 1.50;
  color: var(--color-white);
}

.flow-desc {
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  height: auto;
  letter-spacing: normal;
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* よくある質問 */

.recruit-faq-container {
  display: flex;
  gap: 96px;
}

.recruit-faq-section {
  background-color: var(--color-bg-dark);
}

.faq-list {
  width: 70%;
}

.faq-question {
  list-style: none;
}

.faq-toggle {
  display: flex;
  text-align: left;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  height: auto;
  letter-spacing: 0.05em;
  line-height: 1.4;
  gap: 24px;
  transition: color 0.2s ease;
}

.faq-item:hover {
  background-color: var(--color-bg);
}

.faq-item {
  padding: 24px;
}

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  position: relative;
  background-color: var(--color-bg-gray);
  border-radius: 50%;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-text);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-icon::before {
  width: 16px;
  height: 1.5px;
}

.faq-icon::after {
  width: 1.5px;
  height: 16px;
}

.faq-toggle[aria-expanded="true"] .faq-icon::before {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.faq-toggle[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.faq-answer {
  padding: 24px;
  font-size: 16px;
  font-weight: 400;
  height: auto;
  line-height: 1.80;
  color: var(--color-text);
  background-color: var(--color-bg);
}

/* 応募・見学のお問い合わせ */
.recruit-cta-section {
  background-color: var(--color-bg);
  text-align: center;
}

.recruit-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.recruit-cta-text {
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 32px;
}

.btn-icon {
  font-style: normal;
  margin-left: 8px;
  font-size: 0.875em;
}

/* ===== 親方挨拶：詳細版（aboutページ） ===== */
.oyakata-inner--about {
  grid-template-columns: 1fr 1.6fr;
  align-items: start;
}

.oyakata-profile {
  margin-top: 32px;
}

.oyakata-profile-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 80px 30px;
  border-bottom: 1px solid var(--color-border);
}

.oyakata-profile-row:first-child {
  border-top: 1px solid var(--color-border);
}

.oyakata-profile-row dt {
  padding: 10px 0;
  font-size: 1rem;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  white-space: nowrap;
  margin: auto 0;
}

.oyakata-profile-row dd {
  padding: 10px 14px;
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.oyakata-profile-row--history dt,
.oyakata-profile-row--history dd {
  vertical-align: top;
}

/* ===== 湊川部屋 理念セクション ===== */
.rinen-section {
  border: 1px solid #3f3f3fff;
  background-color: #1c1c1cff;
  padding: 40px;
  width: 90%;
  margin: 80px auto;
}

.rinen-inner {
  margin: 0 auto;
  text-align: center;
}

.rinen-catchphrase {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--color-text);
  letter-spacing: 0.2em;
  margin-bottom: 32px;
}

.rinen-body {
  font-size: 1rem;
  letter-spacing: 0.05em;
  line-height: 2.40;
  color: var(--color-text-muted);
  text-align: left;
}

/* ===== 裏方：役職表示 ===== */
.urakata-card-real-name {
  font-size: 0.8125rem;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.privacy-title {
  font-size: 2.8rem;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  font-weight: 500;
  text-align: center;
  margin: 3rem 0;
}

.privacy-intro {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.privacy-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-text);
  margin: 40px 0 0 0;
  letter-spacing: 0.08em;
}

.privacy-content p,
.privacy-content ul {
  font-size: 1rem;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 16px;
}

.privacy-content ul {
  padding-left: 1.5em;
  list-style: disc;
}

.privacy-content a {
  color: var(--color-text);
  border-bottom: 1px solid var(--color-text);
}

.privacy-updated {
  margin-top: 48px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-align: right;
}

/* ===== 稽古ギャラリーカルーセル ===== */
.keiko-carousel-section {
  width: 100%;
  overflow: hidden;
  background-color: var(--color-bg);
  line-height: 0;
}

.keiko-carousel {
  overflow: hidden;
  width: 100%;
}

.keiko-carousel-track {
  display: flex;
  gap: 1rem;
  animation: keiko-scroll 28s linear infinite;
  will-change: transform;
}

/*
  各アイテム 25vw幅・300px高さ固定。
  gap: 1rem を含むスロット幅 U = 25vw + 1rem。
  N番目停止位置 = -(N + 0.5) × U（左端に半アイテムのペーク）。
  1ステップ = 3秒停止 + 1秒 ease-in-out 移動 = 4秒
  7ステップ × 4秒 = 28秒/サイクル
*/
.keiko-carousel-item {
  flex: 0 0 25vw;
  height: 300px;
  overflow: hidden;
}

.keiko-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes keiko-scroll {

  /* N=0 停止 */
  0% {
    transform: translateX(calc(-12.5vw - 0.5rem));
    animation-timing-function: linear;
  }

  /* N=0 移動開始 */
  10.71% {
    transform: translateX(calc(-12.5vw - 0.5rem));
    animation-timing-function: ease-in-out;
  }

  /* N=1 到着・停止 */
  14.29% {
    transform: translateX(calc(-37.5vw - 1.5rem));
    animation-timing-function: linear;
  }

  25% {
    transform: translateX(calc(-37.5vw - 1.5rem));
    animation-timing-function: ease-in-out;
  }

  /* N=2 到着・停止 */
  28.57% {
    transform: translateX(calc(-62.5vw - 2.5rem));
    animation-timing-function: linear;
  }

  39.29% {
    transform: translateX(calc(-62.5vw - 2.5rem));
    animation-timing-function: ease-in-out;
  }

  /* N=3 到着・停止 */
  42.86% {
    transform: translateX(calc(-87.5vw - 3.5rem));
    animation-timing-function: linear;
  }

  53.57% {
    transform: translateX(calc(-87.5vw - 3.5rem));
    animation-timing-function: ease-in-out;
  }

  /* N=4 到着・停止 */
  57.14% {
    transform: translateX(calc(-112.5vw - 4.5rem));
    animation-timing-function: linear;
  }

  67.86% {
    transform: translateX(calc(-112.5vw - 4.5rem));
    animation-timing-function: ease-in-out;
  }

  /* N=5 到着・停止 */
  71.43% {
    transform: translateX(calc(-137.5vw - 5.5rem));
    animation-timing-function: linear;
  }

  82.14% {
    transform: translateX(calc(-137.5vw - 5.5rem));
    animation-timing-function: ease-in-out;
  }

  /* N=6 到着・停止 */
  85.71% {
    transform: translateX(calc(-162.5vw - 6.5rem));
    animation-timing-function: linear;
  }

  96.43% {
    transform: translateX(calc(-162.5vw - 6.5rem));
    animation-timing-function: ease-in-out;
  }

  /* N=7 到着（= N=0 の複製セット開始、シームレスループ） */
  100% {
    transform: translateX(calc(-187.5vw - 7.5rem));
  }
}

/* ===== 全セクション背景テクスチャ統一 ===== */
/*
  body に設定した background_black.png をサイト全体に反映するため、
  各セクションの不透過な背景色を透過・半透過に上書きする。
  - 元 --color-bg セクション    → transparent（body テクスチャをそのまま表示）
  - 元 --color-bg-dark セクション → rgba(0,0,0,0.1)（わずかに暗くしてセクション区切りを維持）
*/

/* 透過セクション（元 --color-bg） */
.catchphrase-section,
.urakata-section,
.recruit-section,
.cta-text-section,
.keiko-carousel-section,
.kouenkai-intro-section,
.recruit-intro-section,
.recruit-oneday-section,
.recruit-flow-section,
.recruit-cta-section {
  background-color: transparent;
}

/* 半透過セクション（元 --color-bg-dark） */
.rikishi-section,
.about-intro-section,
.sns-section,
.news-section,
.contact-section,
.contact-cta-section,
.recruit-requirements-section,
.oneday-section,
.support-benefits-section,
.kouenkai-benefits-section,
.recruit-nyumon-section,
.recruit-faq-section {
  background-color: rgba(0, 0, 0, 0.12);
}

/* ===== 欧文フォント適用箇所 ===== */
.page-kv-en,
.oneday-item-time,
.rikishi-card-rank,
.urakata-card-role {
  font-family: var(--font-en);
}

/* ===== 404 ===== */
.error-404-section {
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px;
}

.error-404-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 600px;
  text-align: center;
}

.error-404-label {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-gold);
  line-height: 1;
  letter-spacing: 0.05em;
}

.error-404-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 500;
  color: var(--color-white);
  line-height: 1.2;
  letter-spacing: 2px;
}

.error-404-desc {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-white);
  line-height: 2.4;
  letter-spacing: 0.8px;
}

.error-404-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-gold);
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 16px 24px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.error-404-btn:hover {
  background-color: var(--color-white);
  color: var(--color-gold);
}

.error-404-btn .material-symbols-outlined {
  font-size: 20px;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 20;
}

@media (max-width: 1139px) {
  .rikishi-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-catchcopy-img {
    width: 378px;
  }

  .global-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .cta-text-grid {
    display: block;
  }

  .cta-text-card {
    width: 100%
  }

  .contact-box {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
  }

  .footer-nav ul {
    gap: 0.5rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    text-align: left;
  }

  /* ドロワーはJSで制御 — display は常に flex */
  .drawer {
    display: flex;
  }

  .recruit-faq-container {
    display: block;
  }

  .recruit-faq-container h2 {
    text-align: left;
  }

  .faq-list {
    width: 100%;
  }

  .member-plans {
    width: auto;
  }
}

@media (max-width: 900px) {

  .container {
    padding: 40px;
  }

  .catchphrase-section {
    padding: 240px 0;
  }

  .rikishi-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .recruit-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav ul {
    align-items: flex-start;
  }

  .footer-sns {
    justify-content: flex-start;
  }

  /* ===== レスポンシブ追加 ===== */
  .requirements-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .oneday-item {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .oneday-item--reverse {
    direction: ltr;
  }

  .oneday-item-photo {
    aspect-ratio: 16/9;
  }

  .oneday-item-text {
    padding: 32px 24px;
    border-top: none;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ===== レスポンシブ追加（新セクション） ===== */
  .member-plans {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 48px;
  }

  .kouenkai-benefits-grid {
    margin: 40px;
  }

  .kouenkai-benefit-card {
    flex-direction: column;
  }

  .kouenkai-benefit-photo {
    width: 100%;
  }

  .hoshin-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rinen-section {
    border: none;
    width: 100%;
    margin: 0;
  }

  .cta-text-grid {
    flex-direction: column;
  }

  .cta-text-card {
    width: 100%;
    height: 550px;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .rikishi-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .urakata-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .urakata-grid .urakata-card {
    flex: 0 0 calc(25% - 12px);
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 72px;
  }

  .container {
    padding: 24px;
  }

  .drawer-header {
    padding: 24px;
  }

  .drawer-nav a,
  .drawer-sns {
    padding: 16px 24px;
  }

  .site-logo img {
    height: 38px;
  }

  .header-inner {
    padding: 16px;
  }

  /* ヒーロー SP レイアウト: 画像上部の黒エリアにコンテンツを重ねる */
  .hero {
    height: auto;
    min-height: unset;
  }

  .hero picture {
    display: block;
    width: 100%;
    /* ① 画像を先にフェードイン（1.5秒） */
    animation: heroFadeIn 1.5s ease both;
  }

  .hero-image {
    width: 100%;
    height: 950px;
    object-fit: cover;
    object-position: center bottom;
  }

  .hero-overlay {
    display: none;
  }

  .hero-content {
    position: absolute;
    top: 5%;
    left: 50%;
    bottom: auto;
    transform: translateX(-50%);
    width: 100%;
    padding: 0 24px;
    text-align: center;
    /* ② 画像終了後にフェードイン（1.5秒遅延 → 1.5秒で表示） */
    animation: heroFadeIn 1.5s ease 1.5s both;
  }

  .hero-catchcopy-img {
    width: 328px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
    margin: 40px auto 16px;
  }

  .hero-logo-inline {
    justify-content: center;
  }

  .hero-logo-img {
    width: 200px;
  }

  .catchphrase-section {
    padding: 120px 0 !important;
  }

  .catchphrase-section::before {
    width: 270px;
    height: 270px;
  }

  .oyakata-inner {
    display: flex;
    flex-direction: column;
  }

  .oyakata-photo {
    width: 100%;
  }

  .oyakata-photo img {
    width: 380px;
    margin: auto;
  }

  /* 力士紹介・裏方紹介 横スクロール */
  .rikishi-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .rikishi-grid .rikishi-card {
    flex: 0 0 44vw;
    min-width: 160px;
    max-width: 200px;
    scroll-snap-align: start;
  }

  .urakata-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .recruit-card {
    padding: 24px;
  }

  /* モーダル SP */
  .rikishi-modal {
    padding: 0;
  }

  .rikishi-modal-dialog {
    padding: 40px 20px 32px;
    max-height: 92vh;
    width: calc(90% - 40px);
  }

  .rikishi-modal-content {
    gap: 20px;
  }

  /* SP：1枚目を1行目に、2・3枚目を2行目に折り返す */
  .rikishi-modal-photos {
    flex-wrap: wrap;
    overflow-x: unset;
    padding-bottom: 0;
  }

  .rikishi-modal-photos-sub {
    flex: 0 0 100%;
    width: 200px;
    height: 200px;
  }

  /* 裏方モーダル SP */
  .urakata-modal {
    padding: 0;
  }

  .urakata-modal-dialog {
    padding: 40px 80px;
  }

  .urakata-modal-body {
    flex-direction: column;
  }

  .urakata-modal-col-left {
    margin: auto;
  }

  .urakata-modal-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* page-kv */
  .page-kv {
    height: 40vh;
    min-height: 220px;
  }

  .requirements-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* 新セクション */
  .member-plan-card {
    padding: 0;
  }

  .plan-card-body {
    padding: 20px 20px;
  }

  .kouenkai-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    margin: 0;
  }

  .nyukai-step {
    gap: 14px;
  }

  .recruit-hoshin-section {
    width: 100%;
    border: none;
  }

  .recruit-faq-container h2 {
    text-align: center;
  }

  .catchphrase-main {
    letter-spacing: 0.1em;
    font-size: 2rem;
  }


  .cta-text-card {
    padding: 32px 24px;
  }

  .contact-box {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    text-align: center;
  }

  .kouenkai-intro {
    text-align: left;
  }

  .kouenkai-intro-text {
    font-size: 18px;
  }

  /* ===== 稽古カルーセル SP ===== */
  /*
    3枚 + gap 16px × 2 = 100vw になるようアイテム幅を算出。
    スロット幅（1ステップ）= (100vw + 16px) / 3
  */
  .keiko-carousel-track {
    gap: 16px;
    animation: keiko-scroll-sp 28s linear infinite;
  }

  .keiko-carousel-item {
    flex: 0 0 calc((100vw - 32px) / 3);
    height: 136px;
  }

  @keyframes keiko-scroll-sp {

    /* N=0 停止 */
    0% {
      transform: translateX(0);
      animation-timing-function: linear;
    }

    10.71% {
      transform: translateX(0);
      animation-timing-function: ease-in-out;
    }

    /* N=1 到着・停止 */
    14.29% {
      transform: translateX(calc(-1 * (100vw + 16px) / 3));
      animation-timing-function: linear;
    }

    25% {
      transform: translateX(calc(-1 * (100vw + 16px) / 3));
      animation-timing-function: ease-in-out;
    }

    /* N=2 到着・停止 */
    28.57% {
      transform: translateX(calc(-2 * (100vw + 16px) / 3));
      animation-timing-function: linear;
    }

    39.29% {
      transform: translateX(calc(-2 * (100vw + 16px) / 3));
      animation-timing-function: ease-in-out;
    }

    /* N=3 到着・停止 */
    42.86% {
      transform: translateX(calc(-(100vw + 16px)));
      animation-timing-function: linear;
    }

    53.57% {
      transform: translateX(calc(-(100vw + 16px)));
      animation-timing-function: ease-in-out;
    }

    /* N=4 到着・停止 */
    57.14% {
      transform: translateX(calc(-4 * (100vw + 16px) / 3));
      animation-timing-function: linear;
    }

    67.86% {
      transform: translateX(calc(-4 * (100vw + 16px) / 3));
      animation-timing-function: ease-in-out;
    }

    /* N=5 到着・停止 */
    71.43% {
      transform: translateX(calc(-5 * (100vw + 16px) / 3));
      animation-timing-function: linear;
    }

    82.14% {
      transform: translateX(calc(-5 * (100vw + 16px) / 3));
      animation-timing-function: ease-in-out;
    }

    /* N=6 到着・停止 */
    85.71% {
      transform: translateX(calc(-2 * (100vw + 16px)));
      animation-timing-function: linear;
    }

    96.43% {
      transform: translateX(calc(-2 * (100vw + 16px)));
      animation-timing-function: ease-in-out;
    }

    /* N=7 到着（= N=0 の複製セット開始、シームレスループ） */
    100% {
      transform: translateX(calc(-7 * (100vw + 16px) / 3));
    }
  }

  /* SP：fixed attachment は iOS で非対応のため scroll にフォールバック */
  body {
    background-attachment: scroll;
  }

  .sns-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {

  .error-404-section {
    padding: 80px 16px 120px;
  }

  .error-404-title {
    font-size: 28px;
    letter-spacing: 1px;
  }

  .error-404-desc {
    font-size: 14px;
  }

  .page-kv {
    height: 240px;
  }

  .page-kv-ja {
    font-size: 32px;
  }

  .section-title {
    font-size: 32px;
    margin-bottom: 24px;
  }

  .rinen-catchphrase {
    font-size: 28px;
  }

  .catchphrase-main {
    font-size: 40px;
  }

  .drawer-close svg {
    width: 30px;
    height: 30px;
  }

  .drawer-logo img {
    width: 180px;
  }

  /* SP: PC背景家紋を非表示、SP用家紋を表示 */
  .catchphrase-section::before {
    display: none;
  }

  .catchphrase-kamon-sp {
    display: block;
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 28px;
    mix-blend-mode: screen;
    opacity: 0.7;
  }

  .catchphrase-break-sp {
    display: inline;
  }

  .rikishi-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 30px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .rikishi-grid::-webkit-scrollbar {
    display: none;
  }

  .rikishi-grid .rikishi-card {
    flex: 0 0 250px;
    min-width: 250px;
    max-width: 250px;
  }

  .rikishi-grid .rikishi-card-photo {
    height: 250px;
  }

  .rikishi-modal-photo-main {
    margin: auto;
  }

  .rikishi-modal-photos {
    gap: 0;
  }

  .rikishi-modal-photos-sub {
    align-items: center;
    justify-content: center;
  }

  .urakata-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 30px;
    padding-bottom: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: flex-start;
  }

  .urakata-grid::-webkit-scrollbar {
    display: none;
  }

  .urakata-grid .urakata-card {
    flex: 0 0 250px;
    min-width: 250px;
    max-width: 250px;
  }

  .urakata-grid .urakata-card-photo {
    height: 250px;
  }

  .cta-text-body {
    width: 100%;
    color: var(--color-text);
  }

  .btn {
    width: 90%;
    padding: 16px 24px;
    text-align: center;
    margin: 0 auto;
    letter-spacing: 0;
  }

  .sns-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .contact-box-action {
    width: 100%;
  }

  .oneday-list {
    width: 100%;
  }

  .nyumon-table th,
  .nyumon-table td {
    padding: 12px 16px;
    font-size: 1rem;
  }

  .flow-number {
    font-size: 2rem;
    width: 3rem;
    margin: 0;
  }

  .flow-item {
    gap: 12px;
    padding: 24px 12px;
  }

  .flow-title {
    font-size: 20px;
  }

  .flow-desc {
    font-size: 14px;
  }

  .recruit-intro {
    text-align: left;
  }

  .kouenkai-member-section--kojin,
  .kouenkai-member-section--hojin {
    margin: 0;
    border: none;
  }

  .plan-fee-row,
  .plan-benefits {
    display: flex;
    flex-direction: flex-start;
  }

  /* 固定申込リンク：SP では画面下部に横並び */
  .kouenkai-fixed-links {
    top: auto;
    right: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    flex-direction: row;
  }

  .kouenkai-fixed-link {
    flex: 1;
    flex-direction: row;
    width: auto;
    gap: 10px;
    writing-mode: initial;
  }

  .kouenkai-fixed-link__text {
    writing-mode: initial;
    white-space: nowrap;
  }

  /* fixed リンクの高さ分だけ最下部にスペース（後援会ページのみ） */
  .page-template-page-kouenkai .site-footer {
    padding-bottom: 80px;
  }

  .kouenkai-benefits-grid {
    grid-template-columns: 1fr;
  }

}