/*
Theme Name: Lightning Child
Template: lightning
Version: 0.6.0
*/

/* =========================================================
  小鴨少年野球クラブ 共通CSS v6
  標準ブロック＋独自クラス用
  追加CSSは一度すべて削除し、このCSSだけに置き換えてください
========================================================= */

:root {
  --ogamo-blue: #0b63ce;
  --ogamo-blue-dark: #073b7a;
  --ogamo-blue-deep: #052f63;
  --ogamo-blue-light: #eaf4ff;
  --ogamo-blue-pale: #f6fbff;
  --ogamo-yellow: #ffd84d;
  --ogamo-orange: #ff8a00;
  --ogamo-line: #06c755;
  --ogamo-text: #243447;
  --ogamo-muted: #64748b;
  --ogamo-border: #d7e8fb;
  --ogamo-white: #ffffff;
  --ogamo-radius: 18px;
  --ogamo-radius-lg: 26px;
  --ogamo-container: 1080px;
  --ogamo-shadow: 0 12px 30px rgba(7, 59, 122, 0.14);
  --ogamo-shadow-soft: 0 7px 20px rgba(7, 59, 122, 0.09);
}

/* =========================================================
  Lightning / 固定ページ幅補正
========================================================= */

body:not(.home) .site-body-container,
body:not(.home) .site-body-container .container {
  max-width: 1180px;
}

body:not(.home) .main-section,
body:not(.home) main.main-section {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

body:not(.home) .side-section,
body:not(.home) aside.side-section {
  display: none;
}

/* =========================================================
  基本レイアウト
========================================================= */

.entry-body .ogamo-section {
  padding: clamp(48px, 7vw, 78px) 20px;
  margin: 0;
}

.entry-body .ogamo-section--white,
.entry-body .ogamo-gallery-section,
.entry-body .ogamo-page-section--white {
  background: var(--ogamo-white);
}

.entry-body .ogamo-container,
.entry-body .ogamo-page-container {
  width: min(var(--ogamo-container), calc(100% - 48px));
  max-width: var(--ogamo-container);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.entry-body .ogamo-container > *:first-child,
.entry-body .ogamo-page-container > *:first-child,
.entry-body .ogamo-card > *:first-child,
.entry-body .ogamo-page-card > *:first-child,
.entry-body .ogamo-contact-card > *:first-child {
  margin-top: 0;
}

.entry-body .ogamo-container > *:last-child,
.entry-body .ogamo-page-container > *:last-child,
.entry-body .ogamo-card > *:last-child,
.entry-body .ogamo-page-card > *:last-child,
.entry-body .ogamo-contact-card > *:last-child {
  margin-bottom: 0;
}

.entry-body .ogamo-section p,
.entry-body .ogamo-section li,
.entry-body .ogamo-page-section p,
.entry-body .ogamo-page-section li {
  color: var(--ogamo-text);
  line-height: 1.9;
}

.entry-body .ogamo-section a,
.entry-body .ogamo-page-section a {
  color: var(--ogamo-blue);
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.entry-body .ogamo-section strong,
.entry-body .ogamo-page-section strong {
  color: var(--ogamo-blue-dark);
  font-weight: 800;
}

.entry-body .ogamo-columns {
  gap: clamp(24px, 4vw, 44px);
}

.entry-body .ogamo-text-block {
  width: 100%;
  max-width: none;
  margin: 30px auto 0;
}

/* =========================================================
  見出し
========================================================= */

.entry-body .ogamo-heading,
.entry-body .ogamo-page-heading {
  width: 100%;
  max-width: none;
  text-align: center;
  margin-bottom: clamp(26px, 4vw, 40px);
}

.entry-body .ogamo-label,
.entry-body .ogamo-page-label {
  display: inline-block;
  margin: 0 0 10px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.entry-body .ogamo-label {
  background: var(--ogamo-blue-light);
  color: var(--ogamo-blue-dark);
}

.entry-body .ogamo-title {
  position: relative;
  margin: 0;
  padding-bottom: 15px;
  color: var(--ogamo-blue-dark);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.03em;
}

.entry-body .ogamo-title::after {
  content: "";
  display: block;
  width: 74px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ogamo-blue), var(--ogamo-yellow));
}

.entry-body .ogamo-title--left::after {
  margin-left: 0;
  margin-right: 0;
}

.entry-body .ogamo-subtitle {
  margin: 0 0 18px;
  color: var(--ogamo-blue-dark);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 900;
  line-height: 1.45;
}

/* =========================================================
  共通パーツ：カード・注記・リスト・ボタン
========================================================= */

.entry-body .ogamo-card,
.entry-body .ogamo-page-card,
.entry-body .ogamo-contact-card {
  background: var(--ogamo-white);
  border: 1px solid var(--ogamo-border);
  border-radius: var(--ogamo-radius);
  box-shadow: var(--ogamo-shadow-soft);
  padding: clamp(22px, 4vw, 34px);
}

.entry-body .ogamo-page-card + .ogamo-page-card {
  margin-top: 22px;
}

.entry-body .ogamo-page-card h2,
.entry-body .ogamo-page-card h3,
.entry-body .ogamo-list-card h3 {
  margin-top: 0;
  color: var(--ogamo-blue-dark);
  font-weight: 900;
}

.entry-body .ogamo-image-card img,
.entry-body .ogamo-card img {
  border-radius: var(--ogamo-radius);
  box-shadow: var(--ogamo-shadow-soft);
}

.entry-body .ogamo-note,
.entry-body .ogamo-alert,
.entry-body .ogamo-schedule-note {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff8cf;
  color: var(--ogamo-blue-dark);
  font-weight: 800;
}

.entry-body .ogamo-alert {
  border-left: 5px solid var(--ogamo-orange);
  background: #fff7e6;
}

.entry-body .ogamo-list-card ul {
  margin-bottom: 0;
}

.entry-body .ogamo-list-card li::marker,
.entry-body .ogamo-practice-card li::marker,
.entry-body .ogamo-recruit-card li::marker {
  color: var(--ogamo-blue);
}

.entry-body .ogamo-buttons {
  gap: 12px;
  margin-top: 24px;
}

.entry-body .ogamo-button .wp-block-button__link,
.entry-body .wp-block-button.ogamo-button .wp-block-button__link {
  border-radius: 999px;
  padding: 12px 24px;
  background: var(--ogamo-blue) !important;
  border: 1px solid var(--ogamo-blue) !important;
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(11, 99, 206, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.entry-body .ogamo-button .wp-block-button__link:hover,
.entry-body .wp-block-button.ogamo-button .wp-block-button__link:hover {
  transform: translateY(-2px);
  background: var(--ogamo-blue-dark) !important;
  border-color: var(--ogamo-blue-dark) !important;
  box-shadow: 0 12px 26px rgba(11, 99, 206, 0.3);
  text-decoration: none;
}

.entry-body .ogamo-button--outline .wp-block-button__link {
  background: #ffffff !important;
  color: var(--ogamo-blue-dark) !important;
  border: 2px solid var(--ogamo-blue) !important;
  box-shadow: none;
}

.entry-body .ogamo-button--line .wp-block-button__link {
  background: var(--ogamo-line) !important;
  border-color: var(--ogamo-line) !important;
  box-shadow: 0 8px 18px rgba(6, 199, 85, 0.26);
}

/* =========================================================
  トップページ：コラージュ型ヘッダー
========================================================= */

.entry-body .ogamo-home-hero {
  position: relative;
  margin-top: clamp(32px, 4vw, 56px) !important;
  padding: clamp(36px, 6vw, 76px) 0 clamp(34px, 5vw, 66px);
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(11, 107, 215, 0.12), transparent 36%),
    linear-gradient(135deg, #f7fbff 0%, #ffffff 48%, #eef7ff 100%);
}

.entry-body .ogamo-home-hero::before {
  content: "";
  position: absolute;
  inset: auto -8% -42% auto;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: rgba(11, 107, 215, 0.08);
  pointer-events: none;
}

.entry-body .ogamo-home-hero__inner {
  position: relative;
  z-index: 1;
}

.entry-body .ogamo-home-hero__columns {
  align-items: center !important;
  gap: clamp(28px, 4vw, 54px);
}

.entry-body .ogamo-home-hero__text {
  padding: clamp(32px, 4vw, 48px) !important;
  border: 1px solid rgba(11, 107, 215, 0.14);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(239,247,255,0.96));
  box-shadow: 0 18px 42px rgba(0, 61, 122, 0.08);
}

.entry-body .ogamo-home-hero__text-card {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.entry-body .ogamo-home-hero__label {
  display: inline-block;
  margin: 0 0 14px !important;
  padding: 7px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ogamo-blue-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.entry-body .ogamo-home-hero__title {
  margin: 0 0 18px !important;
  color: var(--ogamo-blue-dark);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0.03em;
}

.entry-body .ogamo-home-hero__title::after {
  content: "";
  display: block;
  width: 132px;
  height: 7px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ogamo-blue), var(--ogamo-yellow));
}

.entry-body .ogamo-home-hero__lead {
  margin: 0 0 26px !important;
  color: var(--ogamo-text);
  font-size: clamp(16px, 1.55vw, 19px);
  font-weight: 700;
  line-height: 1.9;
}

.entry-body .ogamo-home-hero__buttons {
  gap: 12px;
}

.entry-body .ogamo-home-hero__buttons .wp-block-button__link {
  min-width: 180px;
}

.entry-body .ogamo-hero-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: clamp(210px, 23vw, 300px) clamp(160px, 16vw, 210px) !important;
  gap: 14px;
  width: 100%;
}

.entry-body .ogamo-hero-collage__item {
  margin: 0;
  overflow: hidden;
  border: 6px solid #ffffff;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 61, 122, 0.16);
}

.entry-body .ogamo-hero-collage__item--main {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
}

.entry-body .ogamo-hero-collage__item--sub {
  grid-row: 2 !important;
}

.entry-body .ogamo-hero-collage__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* =========================================================
  トップページ：旧ヒーロー互換 / ABOUT
========================================================= */

.entry-body .ogamo-hero {
  min-height: auto;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  box-shadow: var(--ogamo-shadow);
}

.entry-body .ogamo-hero .wp-block-cover__inner-container {
  width: 100%;
  max-width: var(--ogamo-container);
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px 28px;
  box-sizing: border-box;
}

.entry-body .ogamo-hero__content {
  max-width: 430px;
  margin-left: auto;
  padding: 22px 28px;
  background: rgba(5, 47, 99, 0.86);
  border-left: 6px solid var(--ogamo-yellow);
  border-radius: 18px 0 0 18px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.entry-body .ogamo-hero__title {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.35;
  letter-spacing: 0.05em;
}

.entry-body .ogamo-hero__lead {
  margin: 0;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.75;
}

.entry-body .ogamo-about {
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 56%, var(--ogamo-blue-light) 56%, var(--ogamo-blue-light) 100%);
}

/* =========================================================
  トップページ：指導者紹介
========================================================= */

.entry-body .ogamo-coach-card {
  display: grid !important;
  grid-template-columns: 47% 53% !important;
  align-items: stretch !important;
  min-height: 380px;
  margin-bottom: 30px;
  overflow: hidden;
  background: var(--ogamo-white);
  border: 1px solid var(--ogamo-border);
  border-radius: var(--ogamo-radius);
  box-shadow: var(--ogamo-shadow-soft);
}

.entry-body .ogamo-coach-card > .wp-block-column {
  width: 100% !important;
  max-width: none !important;
  flex-basis: auto !important;
  display: flex;
  align-items: center;
}

.entry-body .ogamo-coach-card > .wp-block-column:first-child {
  padding: 24px 0 24px 24px !important;
  justify-content: center;
  background: #ffffff;
  box-sizing: border-box;
}

.entry-body .ogamo-coach-card > .wp-block-column:first-child figure,
.entry-body .ogamo-coach-card .wp-block-image {
  width: 100%;
  height: auto !important;
  margin: 0 !important;
  background: #ffffff;
}

.entry-body .ogamo-coach-card > .wp-block-column:first-child img,
.entry-body .ogamo-coach-card img {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center center;
  border-radius: 16px !important;
  box-shadow: none !important;
  background: #ffffff;
}

.entry-body .ogamo-coach-card > .wp-block-column:nth-child(2) {
  display: flex;
  align-items: center;
  padding: 36px 34px !important;
}

.entry-body .ogamo-coach-card__message {
  margin: 0;
  color: var(--ogamo-blue-dark);
  font-size: clamp(23px, 1.6vw, 28px) !important;
  font-weight: 900;
  line-height: 1.6 !important;
  letter-spacing: 0.01em;
}

.entry-body .ogamo-coach-card__message strong {
  word-break: keep-all;
  overflow-wrap: normal;
}

.entry-body .ogamo-coach-info {
  align-items: stretch !important;
  margin-top: 34px !important;
}

.entry-body .ogamo-coach-info > .wp-block-column {
  display: flex;
}

.entry-body .ogamo-coach-info .ogamo-card,
.entry-body .ogamo-coach-info .ogamo-list-card {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.entry-body .ogamo-coach-info h2,
.entry-body .ogamo-coach-info h3 {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}

/* =========================================================
  トップページ：練習日程 / 部員募集 / 予定
========================================================= */

.entry-body .ogamo-practice,
.entry-body .ogamo-schedule-section,
.entry-body .ogamo-faq-section {
  background: var(--ogamo-blue-pale);
}

.entry-body .ogamo-practice {
  border-top: 1px solid var(--ogamo-border);
  border-bottom: 1px solid var(--ogamo-border);
}

.entry-body .ogamo-practice .ogamo-columns {
  display: block !important;
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.entry-body .ogamo-practice .wp-block-column {
  width: 100% !important;
  max-width: none !important;
  flex-basis: auto !important;
}

.entry-body .ogamo-practice .wp-block-column:empty {
  display: none !important;
}

.entry-body .ogamo-practice-card,
.entry-body .ogamo-schedule-card {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.entry-body .ogamo-practice-card .ogamo-title {
  margin-bottom: 28px;
}

.entry-body .ogamo-practice-card ul {
  margin-top: 10px;
  margin-bottom: 22px;
}

.entry-body .ogamo-pill-heading,
.entry-body .ogamo-schedule-label {
  display: inline-block;
  border-radius: 999px;
  background: var(--ogamo-blue-light);
  color: var(--ogamo-blue-dark);
  font-weight: 800;
}

.entry-body .ogamo-pill-heading {
  margin: 18px 0 10px;
  padding: 6px 14px;
  font-size: 17px;
}

.entry-body .ogamo-schedule-label {
  margin: 0 0 16px;
  padding: 6px 16px;
}

.entry-body .ogamo-recruit-cover {
  min-height: 500px !important;
  border-radius: var(--ogamo-radius-lg);
  overflow: hidden;
  box-shadow: var(--ogamo-shadow);
}

.entry-body .ogamo-recruit-cover .wp-block-cover__inner-container {
  padding-top: 24px;
  box-sizing: border-box;
}

.entry-body .ogamo-cover-title {
  display: inline-block;
  margin-top: 0;
  padding: 0.65em 1.3em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.93);
  color: var(--ogamo-blue-dark);
  font-size: clamp(21px, 3vw, 32px);
  font-weight: 900;
  box-shadow: var(--ogamo-shadow-soft);
}

.entry-body .ogamo-recruit-card {
  margin: 28px auto 0 !important;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--ogamo-blue-light), #ffffff);
}

.entry-body .ogamo-schedule-list {
  list-style: none;
  padding-left: 0 !important;
  margin: 0;
}

.entry-body .ogamo-schedule-list li {
  position: relative;
  padding: 0 0 0.65em 1.8em;
  margin-bottom: 0.65em;
  border-bottom: 1px dashed var(--ogamo-border);
}

.entry-body .ogamo-schedule-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.entry-body .ogamo-schedule-list li::before {
  content: "⚾";
  position: absolute;
  left: 0;
  top: 0;
}

.entry-body .ogamo-schedule-list .is-trial {
  color: #d93025;
}

.entry-body .ogamo-schedule-note {
  display: block;
  margin-top: 18px;
}

/* =========================================================
  トップページ：ギャラリー / FAQ
========================================================= */

.entry-body .ogamo-gallery {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px !important;
  width: 100% !important;
  max-width: none !important;
  margin-top: 28px !important;
  margin-bottom: 28px !important;
}

.entry-body .ogamo-gallery .wp-block-image {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.entry-body .ogamo-gallery .wp-block-image:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.entry-body .ogamo-gallery img,
.entry-body .ogamo-gallery-section img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(7, 59, 122, 0.1);
}

.entry-body .ogamo-gallery .wp-block-image:last-child:nth-child(odd) img {
  height: clamp(300px, 34vw, 420px);
}

.entry-body .ogamo-faq-section .ogamo-container {
  max-width: var(--ogamo-container);
}

.entry-body .ogamo-faq-list {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.entry-body .ogamo-faq-list > .ogamo-faq-item,
.entry-body .ogamo-faq-item > .ogamo-faq-question,
.entry-body .ogamo-faq-item > .ogamo-faq-answer {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}

.entry-body .ogamo-faq-item {
  display: block !important;
  background: #ffffff;
  border: 1px solid var(--ogamo-border);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(7, 59, 122, 0.08);
  overflow: hidden;
  margin-bottom: 18px !important;
  padding: 0 !important;
}

.entry-body .ogamo-faq-question,
.entry-body .ogamo-faq-answer {
  position: relative;
  margin: 0 !important;
  padding: 17px 22px 17px 58px !important;
  line-height: 1.8;
}

.entry-body .ogamo-faq-question {
  background: var(--ogamo-blue-light);
  color: var(--ogamo-blue-dark);
  font-weight: 800;
}

.entry-body .ogamo-faq-answer {
  background: #ffffff;
  color: var(--ogamo-text);
  border-top: 1px solid var(--ogamo-border);
}

.entry-body .ogamo-faq-question::before,
.entry-body .ogamo-faq-answer::before {
  position: absolute;
  left: 20px;
  top: 17px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  line-height: 28px;
  text-align: center;
}

.entry-body .ogamo-faq-question::before {
  content: "Q";
  background: var(--ogamo-blue);
}

.entry-body .ogamo-faq-answer::before {
  content: "A";
  background: var(--ogamo-orange);
}

.entry-body .ogamo-faq-answer a {
  color: var(--ogamo-blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.entry-body .ogamo-faq-section .ogamo-buttons {
  margin-top: 28px;
}

/* =========================================================
  LINE問い合わせ
========================================================= */

.entry-body .ogamo-contact-card {
  width: 100%;
  max-width: 900px !important;
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  overflow: hidden;
}

.entry-body .ogamo-contact-title {
  margin: 0;
  padding: 0.85em 1em;
  background: linear-gradient(135deg, var(--ogamo-blue-dark), var(--ogamo-blue));
  color: #ffffff;
  font-size: clamp(21px, 2.4vw, 28px);
}

.entry-body .ogamo-contact-lead,
.entry-body .ogamo-contact-card > .ogamo-buttons,
.entry-body .ogamo-contact-columns {
  max-width: 820px;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
  padding-left: clamp(22px, 4vw, 34px);
  padding-right: clamp(22px, 4vw, 34px);
}

.entry-body .ogamo-contact-lead {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 26px;
}

.entry-body .ogamo-contact-card > .ogamo-buttons {
  margin-top: 0;
  padding-top: 18px;
  padding-bottom: 22px;
}

.entry-body .ogamo-contact-columns {
  gap: 24px;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 28px;
}

.entry-body .ogamo-contact-small-title {
  color: var(--ogamo-blue-dark);
  font-weight: 800;
}

.entry-body .ogamo-round-image img {
  border-radius: 50% !important;
  border: 5px solid var(--ogamo-blue-light);
  box-shadow: var(--ogamo-shadow-soft);
}

.entry-body .ogamo-qr img {
  max-width: 230px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--ogamo-shadow-soft);
}

/* =========================================================
  下層ページ：共通レイアウト
========================================================= */

.entry-body .ogamo-page {
  background: var(--ogamo-blue-pale);
}

.entry-body .ogamo-page-hero,
.entry-body .ogamo-page-section {
  width: min(var(--ogamo-container), calc(100% - 48px)) !important;
  max-width: var(--ogamo-container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

.entry-body .ogamo-page-section {
  padding: clamp(44px, 7vw, 76px) 20px;
}

.entry-body .ogamo-page-hero {
  padding: clamp(34px, 5vw, 56px) 20px !important;
  background: linear-gradient(135deg, var(--ogamo-blue-dark), var(--ogamo-blue));
  color: #ffffff;
  text-align: center;
  border-radius: 0 0 22px 22px;
  box-shadow: var(--ogamo-shadow-soft);
}

.entry-body .ogamo-page-hero .ogamo-page-container {
  width: 100% !important;
  max-width: 840px;
}

.entry-body .ogamo-page-label {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.entry-body .ogamo-page-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(26px, 3.2vw, 36px) !important;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.03em;
}

.entry-body .ogamo-page-lead,
.entry-body .ogamo-page-section-lead {
  max-width: 720px;
  margin: 14px auto 0;
  line-height: 1.8;
  font-size: 16px;
}

.entry-body .ogamo-page-lead {
  color: #ffffff;
}

.entry-body .ogamo-page-section-lead {
  color: var(--ogamo-muted);
}

.entry-body .ogamo-step-list,
.entry-body .ogamo-card-grid {
  width: 100% !important;
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

.entry-body .ogamo-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.entry-body .ogamo-card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.entry-body .ogamo-card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.entry-body .ogamo-card-grid > .wp-block-column,
.entry-body .ogamo-card-grid .ogamo-page-card {
  height: 100%;
  box-sizing: border-box;
}

/* =========================================================
  下層ページ：ステップ / ファイル / 金額
========================================================= */

.entry-body .ogamo-step-list {
  counter-reset: ogamo-step;
  display: grid;
  gap: 18px;
}

.entry-body .ogamo-step-item {
  counter-increment: ogamo-step;
  position: relative;
  width: 100% !important;
  background: #ffffff;
  border: 1px solid var(--ogamo-border);
  border-radius: var(--ogamo-radius);
  box-shadow: var(--ogamo-shadow-soft);
  padding: 24px 24px 24px 78px;
  box-sizing: border-box;
}

.entry-body .ogamo-step-item::before {
  content: counter(ogamo-step);
  position: absolute;
  left: 24px;
  top: 24px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--ogamo-blue);
  color: #ffffff;
  font-weight: 900;
  line-height: 38px;
  text-align: center;
}

.entry-body .ogamo-step-item h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--ogamo-blue-dark);
  font-size: 22px;
}

.entry-body .ogamo-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: var(--ogamo-blue-light);
  border: 1px solid var(--ogamo-border);
  border-radius: 14px;
  margin-top: 14px;
}

.entry-body .ogamo-file a:first-child {
  color: var(--ogamo-blue-dark);
  font-weight: 800;
  text-decoration: none;
}

.entry-body .ogamo-file .wp-block-file__button {
  margin-left: 0;
  border-radius: 999px;
  background: var(--ogamo-blue);
  color: #ffffff;
  font-weight: 800;
  padding: 8px 16px;
}

.entry-body .ogamo-fee-price {
  margin: 10px 0 16px;
  color: var(--ogamo-blue-dark);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.2;
}

/* =========================================================
  下層ページ：流れ図ブロック
========================================================= */

.entry-body .ogamo-join-flow {
  width: min(var(--ogamo-container), calc(100% - 48px));
  max-width: var(--ogamo-container);
  margin: 30px auto 64px;
  padding: clamp(26px, 4vw, 40px);
  background: linear-gradient(135deg, #ffffff, var(--ogamo-blue-pale));
  border: 1px solid var(--ogamo-border);
  border-radius: var(--ogamo-radius-lg);
  box-shadow: var(--ogamo-shadow-soft);
  box-sizing: border-box;
}

.entry-body .ogamo-join-flow__title {
  margin: 0 0 30px !important;
  color: var(--ogamo-blue-dark);
  font-size: clamp(22px, 2.4vw, 29px);
  font-weight: 900;
  line-height: 1.45;
}

.entry-body .ogamo-flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: none !important;
}

.entry-body .ogamo-flow-item {
  position: relative;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--ogamo-border);
  border-radius: 18px;
  padding: 24px 14px 22px;
  box-shadow: 0 6px 18px rgba(7, 59, 122, 0.08);
  box-sizing: border-box;
}

.entry-body .ogamo-flow-item:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -17px;
  transform: translateY(-50%);
  color: var(--ogamo-blue);
  opacity: 0.75;
  font-size: 22px;
  font-weight: 900;
  z-index: 2;
}

.entry-body .ogamo-flow-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 14px !important;
  border-radius: 999px;
  background: linear-gradient(135deg, #eaf4ff, #ffffff);
  border: 1px solid var(--ogamo-border);
  box-shadow: 0 5px 14px rgba(7, 59, 122, 0.08);
  font-size: 30px;
  line-height: 1;
}

.entry-body .ogamo-flow-step {
  display: block !important;
  width: fit-content;
  margin: 0 auto 10px !important;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ogamo-blue);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-align: center !important;
}

.entry-body .ogamo-flow-heading {
  margin: 0 0 8px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  color: var(--ogamo-blue-dark) !important;
  font-size: 18px !important;
  font-weight: 900;
  line-height: 1.45;
  text-align: center !important;
}

.entry-body .ogamo-flow-text {
  margin: 0 !important;
  color: var(--ogamo-text);
  font-size: 14px;
  line-height: 1.65;
  text-align: center !important;
}

/* =========================================================
  下層ページ：情報テーブル / 写真一覧 / アーカイブ
========================================================= */

.entry-body .ogamo-info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--ogamo-border);
  border-radius: var(--ogamo-radius);
  box-shadow: var(--ogamo-shadow-soft);
}

.entry-body .ogamo-info-table th,
.entry-body .ogamo-info-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--ogamo-border);
  vertical-align: top;
  line-height: 1.8;
}

.entry-body .ogamo-info-table tr:last-child th,
.entry-body .ogamo-info-table tr:last-child td {
  border-bottom: none;
}

.entry-body .ogamo-info-table th {
  width: 28%;
  background: var(--ogamo-blue-light);
  color: var(--ogamo-blue-dark);
  font-weight: 900;
}

.entry-body .ogamo-photo-grid,
.entry-body .ogamo-archive-grid {
  display: grid;
  gap: 14px;
}

.entry-body .ogamo-photo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.entry-body .ogamo-photo-grid .wp-block-image {
  margin: 0;
}

.entry-body .ogamo-photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--ogamo-shadow-soft);
}

.entry-body .ogamo-archive-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.entry-body .ogamo-archive-card {
  display: block;
  background: #ffffff;
  border: 1px solid var(--ogamo-border);
  border-radius: var(--ogamo-radius);
  box-shadow: var(--ogamo-shadow-soft);
  overflow: hidden;
  text-decoration: none;
  color: var(--ogamo-text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.entry-body .ogamo-archive-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--ogamo-shadow);
  text-decoration: none;
}

.entry-body .ogamo-archive-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.entry-body .ogamo-archive-card__body {
  padding: 18px 20px 20px;
}

.entry-body .ogamo-archive-card__title {
  margin: 0 0 8px;
  color: var(--ogamo-blue-dark);
  font-size: 20px;
  font-weight: 900;
}

.entry-body .ogamo-archive-card__text {
  margin: 0;
  color: var(--ogamo-muted);
  line-height: 1.7;
}

.entry-body .ogamo-page-cta {
  background: linear-gradient(135deg, var(--ogamo-blue-dark), var(--ogamo-blue));
  color: #ffffff;
  border-radius: var(--ogamo-radius-lg);
  box-shadow: var(--ogamo-shadow);
  padding: clamp(28px, 5vw, 48px);
  text-align: center;
}

.entry-body .ogamo-page-cta h2,
.entry-body .ogamo-page-cta h3,
.entry-body .ogamo-page-cta p {
  color: #ffffff;
}

.entry-body .ogamo-page-cta .ogamo-button .wp-block-button__link {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: var(--ogamo-blue-dark) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.entry-body .ogamo-page-cta .ogamo-button .wp-block-button__link:hover {
  background: var(--ogamo-yellow) !important;
  border-color: var(--ogamo-yellow) !important;
  color: var(--ogamo-blue-dark) !important;
}

.entry-body .ogamo-page-cta .ogamo-button--outline .wp-block-button__link {
  background: transparent !important;
  border: 2px solid #ffffff !important;
  color: #ffffff !important;
  box-shadow: none;
}

.entry-body .ogamo-page-cta .ogamo-button--outline .wp-block-button__link:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
}

/* =========================================================
  お問い合わせページ
========================================================= */

.entry-body .ogamo-contact-topic-card {
  height: 100%;
  padding: 24px 18px;
}

.entry-body .ogamo-contact-topic-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px !important;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ogamo-blue-light), #ffffff);
  border: 1px solid var(--ogamo-border);
  box-shadow: 0 5px 14px rgba(7, 59, 122, 0.08);
  font-size: 28px;
  line-height: 1;
}

.entry-body .ogamo-contact-topic-card h3 {
  margin: 0 0 10px;
  color: var(--ogamo-blue-dark);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}

.entry-body .ogamo-contact-topic-card p {
  margin-bottom: 0;
  font-size: 14.5px;
  line-height: 1.75;
}

.entry-body .ogamo-contact-line-section {
  background: var(--ogamo-blue-pale);
}

.entry-body .ogamo-contact-note {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 34px 28px;
  color: var(--ogamo-muted);
  font-size: 14px;
  line-height: 1.8;
}

.entry-body .ogamo-contact-photo,
.entry-body .ogamo-contact-line-section .ogamo-page-container > .wp-block-image {
  max-width: 900px;
  margin: 0 auto 34px !important;
  border-radius: var(--ogamo-radius);
  overflow: hidden;
  box-shadow: var(--ogamo-shadow-soft);
}

.entry-body .ogamo-contact-photo img,
.entry-body .ogamo-contact-line-section .ogamo-page-container > .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--ogamo-radius);
}

.entry-body .ogamo-contact-form-card {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.entry-body .ogamo-contact-form-card .wpcf7 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.entry-body .ogamo-contact-form-card label {
  color: var(--ogamo-blue-dark);
  font-weight: 800;
}

.entry-body .ogamo-contact-form-card input[type="text"],
.entry-body .ogamo-contact-form-card input[type="email"],
.entry-body .ogamo-contact-form-card input[type="tel"],
.entry-body .ogamo-contact-form-card textarea,
.entry-body .ogamo-contact-form-card select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--ogamo-border);
  border-radius: 12px;
  padding: 12px 14px;
  background: #ffffff;
  color: var(--ogamo-text);
  font-size: 16px;
}

.entry-body .ogamo-contact-form-card textarea {
  min-height: 180px;
}

.entry-body .ogamo-contact-form-card input[type="submit"],
.entry-body .ogamo-contact-form-card button[type="submit"] {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid var(--ogamo-blue);
  border-radius: 999px;
  background: var(--ogamo-blue);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(11, 99, 206, 0.22);
  cursor: pointer;
}

.entry-body .ogamo-contact-form-card input[type="submit"]:hover,
.entry-body .ogamo-contact-form-card button[type="submit"]:hover {
  background: var(--ogamo-blue-dark);
  border-color: var(--ogamo-blue-dark);
}

/* =========================================================
  写真ページ：年度別カード
========================================================= */

.entry-body .ogamo-year-card-grid {
  margin-top: 32px;
  align-items: stretch !important;
}

.entry-body .ogamo-year-card-grid > .wp-block-column {
  display: flex !important;
}

.entry-body .ogamo-year-card {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  overflow: hidden;
  text-align: center;
}

.entry-body .ogamo-year-card__image {
  width: 100% !important;
  height: 220px !important;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 0 !important;
}

.entry-body .ogamo-year-card__image img {
  display: block !important;
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  object-position: center center;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.entry-body .ogamo-year-card__label {
  display: inline-block !important;
  width: fit-content;
  margin: 22px auto 12px !important;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--ogamo-blue-light);
  color: var(--ogamo-blue-dark) !important;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}

.entry-body .ogamo-year-card__title {
  min-height: 2.8em;
  margin: 0 24px 14px !important;
  color: var(--ogamo-blue-dark);
  font-size: clamp(22px, 1.8vw, 26px);
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
}

.entry-body .ogamo-year-card__text {
  min-height: 5.6em;
  margin: 0 24px 24px !important;
  color: var(--ogamo-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
}

.entry-body .ogamo-year-card__buttons {
  margin: auto 24px 28px !important;
  justify-content: center;
}

.entry-body .ogamo-year-card__buttons .wp-block-button,
.entry-body .ogamo-year-card__buttons .wp-block-button__link {
  width: 100%;
}

/* =========================================================
  レスポンシブ調整
========================================================= */

@media (max-width: 1100px) and (min-width: 782px) {
  .entry-body .ogamo-coach-card {
    grid-template-columns: 46% 54% !important;
  }

  .entry-body .ogamo-coach-card__message {
    font-size: clamp(22px, 2.2vw, 28px) !important;
  }

  .entry-body .ogamo-coach-card__message strong {
    word-break: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 781px) {
  .entry-body .ogamo-section,
  .entry-body .ogamo-page-section {
    padding: 44px 16px;
  }

  .entry-body .ogamo-container,
  .entry-body .ogamo-page-container {
    width: min(100% - 32px, var(--ogamo-container));
  }

  .entry-body .ogamo-page-hero,
  .entry-body .ogamo-page-section {
    width: calc(100% - 32px) !important;
  }

  .entry-body .ogamo-page-hero {
    padding: 38px 16px !important;
    border-radius: 0 0 22px 22px;
  }

  .entry-body .ogamo-page-title {
    font-size: 27px !important;
  }

  .entry-body .ogamo-page-lead {
    font-size: 16px;
  }

  .entry-body .ogamo-about,
  .entry-body .ogamo-practice {
    background: var(--ogamo-blue-pale);
  }

  .entry-body .ogamo-title {
    font-size: 24px;
  }

  .entry-body .ogamo-card,
  .entry-body .ogamo-page-card {
    padding: 20px;
    border-radius: 16px;
  }

  .entry-body .ogamo-home-hero {
    margin-top: 24px !important;
    padding: 26px 0 38px;
  }

  .entry-body .ogamo-home-hero__columns {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px;
  }

  .entry-body .ogamo-home-hero__text {
    display: contents;
  }

  .entry-body .ogamo-home-hero__text-card {
    order: 1;
    width: 100%;
    box-sizing: border-box;
    padding: 26px 20px 24px;
    border: 1px solid rgba(11, 107, 215, 0.14);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(239,247,255,0.98));
    box-shadow: 0 14px 32px rgba(0, 61, 122, 0.08);
    text-align: center;
  }

  .entry-body .ogamo-home-hero__label {
    margin-left: auto !important;
    margin-right: auto !important;
    background: #ffffff;
  }

  .entry-body .ogamo-home-hero__title {
    font-size: clamp(32px, 9vw, 44px);
    margin-bottom: 18px !important;
  }

  .entry-body .ogamo-home-hero__title::after {
    margin-left: auto;
    margin-right: auto;
  }

  .entry-body .ogamo-home-hero__lead {
    margin-bottom: 0 !important;
    font-size: 16px;
  }

  .entry-body .ogamo-home-hero__photos {
    order: 2;
    width: 100% !important;
    margin-top: 20px;
  }

  .entry-body .ogamo-home-hero__buttons {
    order: 3;
    width: 100%;
    margin-top: 22px !important;
    justify-content: center !important;
  }

  .entry-body .ogamo-home-hero__buttons .wp-block-button,
  .entry-body .ogamo-home-hero__buttons .wp-block-button__link {
    width: 100%;
  }

  .entry-body .ogamo-hero-collage {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 210px 145px !important;
    gap: 10px;
  }

  .entry-body .ogamo-hero-collage__item {
    border-width: 4px;
    border-radius: 18px;
  }

  .entry-body .ogamo-hero-collage__item--main {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
  }

  .entry-body .ogamo-hero-collage__item--sub {
    grid-row: 2 !important;
  }

  .entry-body .ogamo-hero,
  .entry-body .ogamo-page-hero {
    border-radius: 0 0 22px 22px;
  }

  .entry-body .ogamo-hero .wp-block-cover__inner-container {
    padding: 0 14px 16px;
  }

  .entry-body .ogamo-hero__content {
    max-width: 88%;
    margin-left: auto;
    padding: 16px 18px;
    border-radius: 14px 0 0 14px;
  }

  .entry-body .ogamo-coach-card {
    display: block !important;
    min-height: 0;
  }

  .entry-body .ogamo-coach-card > .wp-block-column:first-child {
    padding: 18px 18px 0 !important;
  }

  .entry-body .ogamo-coach-card > .wp-block-column:first-child img {
    border-radius: 14px !important;
  }

  .entry-body .ogamo-coach-card > .wp-block-column:nth-child(2) {
    padding: 24px 22px !important;
  }

  .entry-body .ogamo-coach-card__message {
    font-size: 22px !important;
    line-height: 1.6 !important;
  }

  .entry-body .ogamo-coach-info {
    margin-top: 26px !important;
  }

  .entry-body .ogamo-recruit-cover {
    min-height: 360px !important;
  }

  .entry-body .ogamo-cover-title {
    border-radius: 14px;
    padding: 0.55em 0.9em;
  }

  .entry-body .ogamo-recruit-card {
    margin-top: 20px !important;
  }

  .entry-body .ogamo-gallery,
  .entry-body .ogamo-flow-list,
  .entry-body .ogamo-card-grid,
  .entry-body .ogamo-card-grid--3,
  .entry-body .ogamo-card-grid--4,
  .entry-body .ogamo-photo-grid,
  .entry-body .ogamo-archive-grid {
    grid-template-columns: 1fr;
  }

  .entry-body .ogamo-gallery {
    gap: 12px !important;
  }

  .entry-body .ogamo-gallery .wp-block-image:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .entry-body .ogamo-gallery img,
  .entry-body .ogamo-gallery-section img,
  .entry-body .ogamo-gallery .wp-block-image:last-child:nth-child(odd) img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .entry-body .ogamo-faq-question,
  .entry-body .ogamo-faq-answer {
    padding: 15px 16px 15px 52px !important;
  }

  .entry-body .ogamo-faq-question::before,
  .entry-body .ogamo-faq-answer::before {
    left: 16px;
    top: 16px;
    width: 26px;
    height: 26px;
    font-size: 14px;
    line-height: 26px;
  }

  .entry-body .ogamo-button .wp-block-button__link,
  .entry-body .wp-block-button.ogamo-button .wp-block-button__link {
    width: 100%;
  }

  .entry-body .ogamo-step-item {
    padding: 22px 20px 22px 68px;
  }

  .entry-body .ogamo-step-item::before {
    left: 20px;
    top: 22px;
    width: 34px;
    height: 34px;
    line-height: 34px;
  }

  .entry-body .ogamo-file {
    display: block;
  }

  .entry-body .ogamo-file .wp-block-file__button {
    display: inline-block;
    margin-top: 12px;
  }

  .entry-body .ogamo-join-flow {
    width: calc(100% - 32px);
    margin: 26px auto 44px;
    padding: 22px 18px;
  }

  .entry-body .ogamo-flow-list {
    gap: 14px;
  }

  .entry-body .ogamo-flow-item {
    padding: 20px 18px;
  }

  .entry-body .ogamo-flow-item:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: auto;
    left: 50%;
    bottom: -18px;
    transform: translateX(-50%);
    font-size: 22px;
  }

  .entry-body .ogamo-flow-icon {
    width: 52px;
    height: 52px;
    font-size: 25px;
  }

  .entry-body .ogamo-info-table th,
  .entry-body .ogamo-info-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .entry-body .ogamo-info-table th {
    border-bottom: none;
    padding-bottom: 8px;
  }

  .entry-body .ogamo-info-table td {
    padding-top: 8px;
  }

  .entry-body .ogamo-contact-topic-card {
    padding: 22px 18px;
  }

  .entry-body .ogamo-contact-note {
    padding-left: 22px;
    padding-right: 22px;
  }

  .entry-body .ogamo-contact-photo,
  .entry-body .ogamo-contact-line-section .ogamo-page-container > .wp-block-image {
    margin-bottom: 24px !important;
    border-radius: 14px;
  }

  .entry-body .ogamo-contact-photo img,
  .entry-body .ogamo-contact-line-section .ogamo-page-container > .wp-block-image img {
    border-radius: 14px;
  }

  .entry-body .ogamo-year-card__image,
  .entry-body .ogamo-year-card__image img {
    height: 220px !important;
  }

  .entry-body .ogamo-year-card__title {
    min-height: auto;
    margin-left: 20px !important;
    margin-right: 20px !important;
    font-size: 22px;
  }

  .entry-body .ogamo-year-card__text {
    min-height: auto;
    margin-left: 20px !important;
    margin-right: 20px !important;
  }

  .entry-body .ogamo-year-card__buttons {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }
}

@media (max-width: 480px) {
  .entry-body .ogamo-hero-collage {
    grid-template-rows: 190px 130px !important;
  }

  .entry-body .ogamo-hero-collage__item {
    border-radius: 16px;
  }
}

/* =========================================================
  スマホ：ABOUT画像をタイトル直下に表示
========================================================= */

@media (max-width: 781px) {
  .entry-body .ogamo-about .ogamo-columns--about {
    display: flex !important;
    flex-direction: column !important;
    gap: 22px !important;
  }

  /* 画像カラムを上へ */
  .entry-body .ogamo-about .ogamo-columns--about > .wp-block-column:last-child {
    order: 1;
  }

  /* 文章カラムを下へ */
  .entry-body .ogamo-about .ogamo-columns--about > .wp-block-column:first-child {
    order: 2;
  }

  .entry-body .ogamo-about .ogamo-image-card {
    margin: 0 auto 8px !important;
  }

  .entry-body .ogamo-about .ogamo-image-card img {
    width: 100%;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    border-radius: 18px !important;
  }

  .entry-body .ogamo-about .ogamo-subtitle {
    margin-top: 4px !important;
  }
}

/* =========================================================
  ABOUT：スマホでは小見出し下に画像を表示
========================================================= */

/* PCでは小見出し下のスマホ用画像を非表示 */
.entry-body .ogamo-about-mobile-image {
  display: none !important;
}

@media (max-width: 781px) {
  /* スマホでは小見出し下の画像を表示 */
  .entry-body .ogamo-about-mobile-image {
    display: block !important;
    margin: 18px auto 24px !important;
  }

  .entry-body .ogamo-about-mobile-image img {
    width: 100%;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    border-radius: 18px !important;
    box-shadow: var(--ogamo-shadow-soft);
  }

  /* スマホでは右カラム側の元画像を非表示 */
  .entry-body .ogamo-about .ogamo-columns--about > .wp-block-column:last-child {
    display: none !important;
  }

  /* 文章カラムは通常表示 */
  .entry-body .ogamo-about .ogamo-columns--about {
    display: block !important;
  }

  .entry-body .ogamo-about .ogamo-columns--about > .wp-block-column:first-child {
    width: 100% !important;
    max-width: none !important;
    flex-basis: auto !important;
  }
}

/* =========================================================
  スマホ：部員募集カバーの文字を写真に被せず上に出す
========================================================= */

@media (max-width: 781px) {
  .entry-body .ogamo-recruit-cover {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 24px !important;
    background: #ffffff !important;
    box-shadow: var(--ogamo-shadow-soft);
  }

  .entry-body .ogamo-recruit-cover .wp-block-cover__background {
    display: none !important;
  }

  .entry-body .ogamo-recruit-cover .wp-block-cover__inner-container {
    position: relative !important;
    order: 1;
    width: 100%;
    padding: 22px 18px 18px !important;
    box-sizing: border-box;
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(234,244,255,0.98));
    z-index: 2;
  }

  .entry-body .ogamo-recruit-cover .wp-block-cover__image-background {
    position: relative !important;
    order: 2;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 5;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .entry-body .ogamo-cover-title {
    display: block !important;
    width: 100%;
    max-width: 100%;
    margin: 0 auto !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--ogamo-blue-dark) !important;
    font-size: clamp(24px, 6.5vw, 30px) !important;
    line-height: 1.45 !important;
    letter-spacing: 0.02em;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: normal;
  }
}

/* =========================================================
  スマホ：見出しの変な位置での改行を抑える
========================================================= */

@media (max-width: 781px) {
  .entry-body .ogamo-title,
  .entry-body .ogamo-page-title,
  .entry-body .ogamo-cover-title {
    word-break: keep-all;
    line-break: strict;
    overflow-wrap: normal;
  }

  .entry-body .ogamo-title {
    font-size: clamp(22px, 6vw, 27px) !important;
    line-height: 1.45 !important;
  }

  .entry-body .ogamo-home-hero__title {
    font-size: clamp(29px, 8vw, 36px) !important;
    line-height: 1.35 !important;
    letter-spacing: 0.01em;
    word-break: keep-all;
  }
}

/* =========================================================
  スマホ：入部の流れ 4ステップカードの幅を統一
========================================================= */

@media (max-width: 781px) {

  /* 4ステップ全体を画面幅に揃える */
  .entry-body .ogamo-step-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 18px !important;
    box-sizing: border-box;
  }

  /* 各ステップカードを同じ幅に固定 */
  .entry-body .ogamo-step-item {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
  }

  /* Gutenbergの制約幅で中身だけ細くなるのを防ぐ */
  .entry-body .ogamo-step-item > * {
    max-width: none !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  /* カード内の見出し・本文も横幅いっぱいを使う */
  .entry-body .ogamo-step-item h3,
  .entry-body .ogamo-step-item p,
  .entry-body .ogamo-step-item .ogamo-note,
  .entry-body .ogamo-step-item .ogamo-file {
    max-width: none !important;
    width: 100% !important;
  }

  /* ダウンロードボックスもスマホで細くならないように */
  .entry-body .ogamo-step-item .ogamo-file {
    display: block !important;
    box-sizing: border-box;
  }

  .entry-body .ogamo-step-item .ogamo-file .wp-block-file__button {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* =========================================================
  スマホ：全体の左右余白を減らしてコンテンツ幅を広げる
========================================================= */

@media (max-width: 781px) {

  /* セクション自体の左右余白を控えめに */
  .entry-body .ogamo-section,
  .entry-body .ogamo-page-section {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  /* 中のコンテナを画面幅いっぱいに近づける */
  .entry-body .ogamo-container,
  .entry-body .ogamo-page-container {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }

  /* 下層ページの大枠も少し広げる */
  .entry-body .ogamo-page-hero,
  .entry-body .ogamo-page-section,
  .entry-body .ogamo-join-flow {
    width: calc(100% - 16px) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }

  /* カード一覧・ステップ一覧が内側で細くならないように */
  .entry-body .ogamo-step-list,
  .entry-body .ogamo-card-grid,
  .entry-body .ogamo-card-grid--3,
  .entry-body .ogamo-card-grid--4,
  .entry-body .ogamo-year-card-grid,
  .entry-body .ogamo-faq-list {
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }

  /* 各カードの幅をしっかり取る */
  .entry-body .ogamo-card,
  .entry-body .ogamo-page-card,
  .entry-body .ogamo-step-item,
  .entry-body .ogamo-contact-card,
  .entry-body .ogamo-year-card {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
  }

  /* カード内の余白は少しだけ控えめに */
  .entry-body .ogamo-card,
  .entry-body .ogamo-page-card,
  .entry-body .ogamo-contact-card {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  /* ステップカードは番号分の左余白が必要なので少しだけ広め */
  .entry-body .ogamo-step-item {
    padding-left: 64px !important;
    padding-right: 18px !important;
  }

  /* 画像もカード幅いっぱいを使う */
  .entry-body .wp-block-image,
  .entry-body .wp-block-image img,
  .entry-body .ogamo-image-card,
  .entry-body .ogamo-image-card img {
    max-width: 100% !important;
  }
}

/* =========================================================
  スマホ：入部ページの流れ図カード幅を統一
========================================================= */

@media (max-width: 781px) {

  /* 流れ図全体を横幅いっぱいに使う */
  .entry-body .ogamo-join-flow {
    width: calc(100% - 16px) !important;
    max-width: none !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box;
  }

  .entry-body .ogamo-flow-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    gap: 18px !important;
    box-sizing: border-box;
  }

  /* 4つのカードを同じ幅に固定 */
  .entry-body .ogamo-flow-list > *,
  .entry-body .ogamo-flow-item {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
  }

  /* Gutenbergの制約幅で中身だけ細くなるのを防ぐ */
  .entry-body .ogamo-flow-item > * {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
  }

  .entry-body .ogamo-flow-item {
    padding: 22px 18px !important;
    text-align: center;
  }

  /* 矢印位置 */
  .entry-body .ogamo-flow-item:not(:last-child)::after {
    content: "↓";
    top: auto !important;
    right: auto !important;
    left: 50% !important;
    bottom: -20px !important;
    transform: translateX(-50%) !important;
  }
}

/* =========================================================
  PC：部員募集カバーの見出しが顔に被らないよう調整
========================================================= */

@media (min-width: 782px) {
  .entry-body .ogamo-recruit-cover {
    position: relative;
  }

  .entry-body .ogamo-recruit-cover .wp-block-cover__inner-container {
    padding-top: 20px !important;
  }

  .entry-body .ogamo-cover-title {
    max-width: 560px;
    padding: 0.55em 1.15em !important;
    font-size: clamp(24px, 2.4vw, 30px) !important;
    line-height: 1.35 !important;
    transform: translateY(-6px);
  }
}

/* =========================================================
  投稿ページ：写真アルバム用デザイン
========================================================= */

.single-post .site-body-container,
.single-post .site-body-container .container {
  max-width: 1180px;
}

.single-post .main-section,
.single-post main.main-section {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

.single-post .side-section,
.single-post aside.side-section {
  display: none;
}

.single-post .entry-header,
.single-post .entry-body,
.single-post .entry-footer {
  width: min(var(--ogamo-container), calc(100% - 48px));
  max-width: var(--ogamo-container);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* 投稿タイトル */
.single-post .entry-title {
  color: var(--ogamo-blue-dark);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-align: center;
  margin-bottom: 18px;
}

/* 投稿日・投稿者など */
.single-post .entry-meta {
  justify-content: center;
  text-align: center;
  color: var(--ogamo-muted);
  font-size: 14px;
}

/* 本文全体 */
.single-post .entry-body {
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(48px, 7vw, 78px);
}

.single-post .entry-body p,
.single-post .entry-body li {
  color: var(--ogamo-text);
  line-height: 1.9;
}

/* 投稿内見出し */
.single-post .entry-body h2 {
  position: relative;
  margin: clamp(42px, 6vw, 64px) 0 24px;
  padding-bottom: 14px;
  color: var(--ogamo-blue-dark);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  border-bottom: 1px solid var(--ogamo-border);
}

.single-post .entry-body h2::after {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ogamo-blue), var(--ogamo-yellow));
}

/* ギャラリー */
.single-post .entry-body .wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px !important;
  margin-top: 24px;
  margin-bottom: 34px;
}

.single-post .entry-body .wp-block-gallery .wp-block-image {
  width: 100% !important;
  margin: 0 !important;
}

.single-post .entry-body .wp-block-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--ogamo-shadow-soft);
}

/* 画像単体 */
.single-post .entry-body .wp-block-image img {
  border-radius: 14px;
  box-shadow: var(--ogamo-shadow-soft);
}

/* 全活動報告一覧を見るボタン */
.single-post .entry-body .wp-block-button__link,
.single-post .entry-body a.wp-block-button__link {
  border-radius: 999px;
  padding: 12px 24px;
  background: var(--ogamo-blue) !important;
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(11, 99, 206, 0.22);
  text-decoration: none;
}

.single-post .entry-body .wp-block-button__link:hover,
.single-post .entry-body a.wp-block-button__link:hover {
  background: var(--ogamo-blue-dark) !important;
  text-decoration: none;
}

/* 前の記事・次の記事 */
.single-post .next-prev {
  width: min(var(--ogamo-container), calc(100% - 48px));
  max-width: var(--ogamo-container);
  margin-left: auto;
  margin-right: auto;
}

/* スマホ */
@media (max-width: 781px) {
  .single-post .entry-header,
  .single-post .entry-body,
  .single-post .entry-footer,
  .single-post .next-prev {
    width: calc(100% - 20px);
  }

  .single-post .entry-body {
    padding-top: 28px;
  }

  .single-post .entry-title {
    font-size: 26px;
    word-break: keep-all;
    line-break: strict;
  }

  .single-post .entry-body h2 {
    font-size: 23px;
    margin-top: 42px;
    word-break: keep-all;
    line-break: strict;
  }

  .single-post .entry-body .wp-block-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 10px !important;
  }

  .single-post .entry-body .wp-block-gallery img {
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .single-post .entry-body .wp-block-gallery {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
  投稿ページ：写真ギャラリーはPC 2カラムに戻す
========================================================= */

.single-post .entry-body .wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-top: 24px;
  margin-bottom: 34px;
}

.single-post .entry-body .wp-block-gallery .wp-block-image {
  width: 100% !important;
  margin: 0 !important;
}

.single-post .entry-body .wp-block-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--ogamo-shadow-soft);
}

/* 奇数枚の最後の1枚は横幅いっぱい */
.single-post .entry-body .wp-block-gallery .wp-block-image:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.single-post .entry-body .wp-block-gallery .wp-block-image:last-child:nth-child(odd) img {
  aspect-ratio: 16 / 9;
}

/* スマホは1カラム */
@media (max-width: 781px) {
  .single-post .entry-body .wp-block-gallery {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .single-post .entry-body .wp-block-gallery .wp-block-image:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .single-post .entry-body .wp-block-gallery .wp-block-image:last-child:nth-child(odd) img {
    aspect-ratio: 4 / 3;
  }
}


/* =========================================================
  投稿ページ：縦長写真1枚ずつをトリミングせず表示
  画像ブロックに ogamo-photo--portrait を付ける
========================================================= */

.single-post .entry-body .wp-block-gallery figure.wp-block-image.ogamo-photo--portrait,
.single-post .entry-body figure.wp-block-gallery figure.wp-block-image.ogamo-photo--portrait,
.single-post .entry-body .wp-block-gallery .wp-block-image.ogamo-photo--portrait {
  width: 100% !important;
  aspect-ratio: 3 / 4 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--ogamo-blue-pale) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: var(--ogamo-shadow-soft) !important;
}

/* WordPressの is-cropped を打ち消して、顔が切れないようにする */
.single-post .entry-body .wp-block-gallery figure.wp-block-image.ogamo-photo--portrait img,
.single-post .entry-body figure.wp-block-gallery figure.wp-block-image.ogamo-photo--portrait img,
.single-post .entry-body .wp-block-gallery .wp-block-image.ogamo-photo--portrait img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  flex: none !important;
  border-radius: 14px !important;
  box-shadow: none !important;
  background: var(--ogamo-blue-pale) !important;
}

/* 念のため：今回の画像ID 1013にも直接効かせる */
.single-post .entry-body .wp-block-gallery img.wp-image-1013 {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  flex: none !important;
  background: var(--ogamo-blue-pale) !important;
}

/* 画像IDから親figureにも効かせる保険 */
.single-post .entry-body .wp-block-gallery figure.wp-block-image:has(img.wp-image-1013) {
  aspect-ratio: 3 / 4 !important;
  background: var(--ogamo-blue-pale) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: var(--ogamo-shadow-soft) !important;
}

/* スマホでも縦長写真は全体表示 */
@media (max-width: 781px) {
  .single-post .entry-body .wp-block-gallery figure.wp-block-image.ogamo-photo--portrait,
  .single-post .entry-body .wp-block-gallery figure.wp-block-image:has(img.wp-image-1013) {
    aspect-ratio: 3 / 4 !important;
  }
}

/* =========================================================
  投稿ページ：記事タイトル上部を写真アルバム風に調整
========================================================= */

/* 投稿ページ上部のタイトルエリア */
.single-post .page-header {
  position: relative;
  min-height: clamp(170px, 22vw, 250px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(11, 107, 215, 0.18);
}

/* 背景画像に青みを足して小鴨らしく */
.single-post .page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 49, 102, 0.78), rgba(0, 75, 150, 0.62)),
    rgba(0, 49, 102, 0.35);
  z-index: 1;
  pointer-events: none;
}

/* 中身を前面へ */
.single-post .page-header .container,
.single-post .page-header-inner,
.single-post .page-header__inner {
  position: relative;
  z-index: 2;
}

/* タイトル */
.single-post .page-header h1,
.single-post .page-header .page-header_pageTitle,
.single-post .page-header .page-header_title {
  color: #ffffff !important;
  font-size: clamp(30px, 3.5vw, 44px) !important;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-align: center;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.28);
}

/* 投稿日・更新日 */
.single-post .page-header .entry-meta,
.single-post .page-header .published,
.single-post .page-header .updated {
  color: #ffffff !important;
  font-weight: 700;
}

/* パンくず下〜本文までの余白を詰める */
.single-post .breadcrumb,
.single-post .breadcrumb-list {
  margin-bottom: 0 !important;
}

.single-post .entry-body {
  padding-top: clamp(36px, 5vw, 58px) !important;
}

/* 最初の見出しが離れすぎないように */
.single-post .entry-body > h2:first-child,
.single-post .entry-body > .wp-block-heading:first-child {
  margin-top: 0 !important;
}

/* スマホ */
@media (max-width: 781px) {
  .single-post .page-header {
    min-height: 150px;
  }

  .single-post .page-header h1,
  .single-post .page-header .page-header_pageTitle,
  .single-post .page-header .page-header_title {
    font-size: 24px !important;
    line-height: 1.45;
    padding-left: 16px;
    padding-right: 16px;
    word-break: keep-all;
    line-break: strict;
  }

  .single-post .entry-body {
    padding-top: 30px !important;
  }
}

.page-header {
  background-position: center 85%;
}

/* =========================================================
  Contact Form 7：練習試合申し込みフォーム
========================================================= */

.entry-body .ogamo-practice-game-form .wpcf7 {
  width: min(860px, 100%);
  margin: 32px auto 0;
}

.entry-body .ogamo-cf7-form {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--ogamo-border);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--ogamo-shadow-soft);
  box-sizing: border-box;
}

.entry-body .ogamo-cf7-section {
  margin-bottom: 30px;
}

.entry-body .ogamo-cf7-section:last-of-type {
  margin-bottom: 22px;
}

.entry-body .ogamo-cf7-section h3 {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ogamo-border);
  color: var(--ogamo-blue-dark);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 900;
}

.entry-body .ogamo-cf7-form label {
  display: block;
  margin-bottom: 18px;
  color: var(--ogamo-blue-dark);
  font-weight: 800;
  line-height: 1.7;
}

.entry-body .ogamo-cf7-form .required {
  color: #d93025;
  font-size: 0.86em;
}

.entry-body .ogamo-cf7-form input[type="text"],
.entry-body .ogamo-cf7-form input[type="email"],
.entry-body .ogamo-cf7-form input[type="tel"],
.entry-body .ogamo-cf7-form input[type="date"],
.entry-body .ogamo-cf7-form input[type="number"],
.entry-body .ogamo-cf7-form select,
.entry-body .ogamo-cf7-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  border: 1px solid var(--ogamo-border);
  border-radius: 12px;
  background: #ffffff;
  color: var(--ogamo-text);
  font-size: 16px;
  line-height: 1.6;
  box-sizing: border-box;
}

.entry-body .ogamo-cf7-form textarea {
  min-height: 160px;
  resize: vertical;
}

.entry-body .ogamo-cf7-form .wpcf7-list-item {
  margin: 0 16px 8px 0;
}

.entry-body .ogamo-cf7-form .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
  color: var(--ogamo-text);
  font-weight: 600;
}

.entry-body .ogamo-cf7-acceptance {
  margin: 22px 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--ogamo-blue-pale);
}

.entry-body .ogamo-cf7-submit {
  text-align: center;
}

.entry-body .ogamo-cf7-form input[type="submit"] {
  min-width: 230px;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  background: var(--ogamo-blue);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(11, 99, 206, 0.24);
  cursor: pointer;
}

.entry-body .ogamo-cf7-form input[type="submit"]:hover {
  background: var(--ogamo-blue-dark);
}

.entry-body .ogamo-cf7-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #d93025;
  font-size: 14px;
  font-weight: 700;
}

.entry-body .ogamo-cf7-form .wpcf7-response-output {
  margin: 22px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
}

@media (max-width: 781px) {
  .entry-body .ogamo-practice-game-form .wpcf7 {
    width: 100%;
    margin-top: 24px;
  }

  .entry-body .ogamo-cf7-form {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .entry-body .ogamo-cf7-form .wpcf7-list-item {
    display: block;
    margin: 0 0 10px;
  }

  .entry-body .ogamo-cf7-form input[type="submit"] {
    width: 100%;
  }
}

/* =========================================================
  トップページ：練習試合申し込み導線
========================================================= */

.entry-body .ogamo-practice-game-link-section {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.entry-body .ogamo-practice-game-link-card {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--ogamo-border);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(239,247,255,0.98));
  box-shadow: var(--ogamo-shadow-soft);
  box-sizing: border-box;
}

.entry-body .ogamo-practice-game-link-card .ogamo-title {
  margin-bottom: 18px;
}

.entry-body .ogamo-practice-game-link-card p:not(.ogamo-section-label) {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 781px) {
  .entry-body .ogamo-practice-game-link-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .entry-body .ogamo-practice-game-link-card {
    padding: 24px 18px;
    border-radius: 22px;
  }
}

/* =========================================================
  お問い合わせページ：練習試合申し込みミニ導線
========================================================= */

.entry-body .ogamo-practice-contact-mini {
  width: min(760px, 100%);
  margin: 32px auto;
  padding: 24px 22px;
  border: 1px solid var(--ogamo-border);
  border-radius: 22px;
  background: var(--ogamo-blue-pale);
  box-shadow: var(--ogamo-shadow-soft);
  box-sizing: border-box;
}

.entry-body .ogamo-practice-contact-mini h3 {
  margin-top: 0;
  color: var(--ogamo-blue-dark);
  font-weight: 900;
}

/* =========================================================
  Contact Form 7：送信後メッセージ
========================================================= */

.entry-body .wpcf7 form.sent .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 18px 20px;
  border: 1px solid rgba(11, 107, 215, 0.25) !important;
  border-radius: 14px;
  background: #eef7ff;
  color: var(--ogamo-blue-dark);
  font-weight: 800;
  line-height: 1.8;
  text-align: center;
}

.entry-body .wpcf7 form.invalid .wpcf7-response-output,
.entry-body .wpcf7 form.failed .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 16px 18px;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1.8;
}

/* =========================================================
  スマホ：練習試合ページの長い見出しが切れないように調整
========================================================= */

@media (max-width: 781px) {
  .entry-body .ogamo-practice-game-contact .ogamo-title,
  .entry-body .ogamo-cta-card .ogamo-title {
    font-size: clamp(22px, 6vw, 27px) !important;
    line-height: 1.45 !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    max-width: 100% !important;
  }
}

/* =========================================================
  PC：トップヒーロー見出しがカードからはみ出さないよう調整
========================================================= */

@media (min-width: 782px) {
  .entry-body .ogamo-home-hero__title {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: clamp(34px, 2.7vw, 44px) !important;
    line-height: 1.35 !important;
    letter-spacing: 0.01em !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  .entry-body .ogamo-home-hero__text {
    overflow: hidden !important;
  }
}

/* 画面幅が少し狭いPCではさらに少し小さく */
@media (min-width: 782px) and (max-width: 1180px) {
  .entry-body .ogamo-home-hero__title {
    font-size: clamp(32px, 2.8vw, 40px) !important;
  }
}

/* =========================================================
  練習試合ページ：小鴨の部員構成
========================================================= */

.entry-body .ogamo-member-breakdown {
  margin: 16px 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--ogamo-blue-pale);
}

.entry-body .ogamo-member-breakdown dl {
  margin: 0;
}

.entry-body .ogamo-member-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(11, 107, 215, 0.22);
}

.entry-body .ogamo-member-breakdown div:last-child {
  border-bottom: none;
}

.entry-body .ogamo-member-breakdown dt {
  color: var(--ogamo-blue-dark);
  font-weight: 800;
}

.entry-body .ogamo-member-breakdown dd {
  margin: 0;
  color: var(--ogamo-text);
  font-weight: 800;
}