@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700;800&display=swap');

:root {
  --c-yellow: #f0d040;
  --c-yellow-pale: #fdf8e4;
  --c-green: #2e8b57;
  --c-green-pale: #e8f5ee;
  --c-navy: #2a3858;
  --c-orange: #e8943a;
  --c-orange-light: #fdf5ea;
  --c-sky: #45a8d4;
  --c-sky-light: #eaf6fc;
  --c-text: #2a3858;
  --c-text-mid: #5a6478;
  --c-text-light: #9aa0b0;
  --c-bg: #fdfcf6;
  --c-cream: #f7f4ec;
  --c-white: #fff;
  --c-border: #e8e4da;
  --radius: 20px;
  --radius-l: 28px;
  --shadow-s: 0 2px 12px rgba(0,0,0,0.035);
  --shadow-m: 0 6px 28px rgba(0,0,0,0.07);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.12);
}

body {
  color: var(--c-text);
  background: var(--c-bg);
  font-family: "M PLUS Rounded 1c", sans-serif;
  line-height: 1.9; letter-spacing: 0.02em;
}

/* =========================================
   ヘッダー
   ========================================= */
.header-container {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: none; position: sticky; top: 0; z-index: 999;
  transition: box-shadow 0.4s;
}
.admin-bar .header-container { top: 32px; }
.header {
  background: transparent; box-shadow: none;
  max-height: 200px; opacity: 1;
  transition: max-height 0.3s ease, opacity 0.2s ease; overflow: hidden;
}
.header .header-in { max-width: 1100px; padding: 14px 20px; }
.site-name-text-link, .site-name-text {
  color: var(--c-green) !important; font-weight: 800;
  letter-spacing: 0.06em; font-size: 1.3em;
}
.tagline { color: var(--c-text-light) !important; font-size: 0.72em; letter-spacing: 0.12em; }
.svba-header-scrolled { box-shadow: 0 1px 8px rgba(0,0,0,0.05) !important; }
.svba-header-scrolled .header { max-height: 0; opacity: 0; padding: 0; }
.svba-header-scrolled .navi-in a { padding-top: 12px !important; padding-bottom: 12px !important; }

.navi { background: transparent; border: none; }
.navi-in a {
  color: var(--c-text) !important; font-size: 13px; font-weight: 700;
  padding: 14px 20px; transition: color 0.3s, padding 0.3s;
  background: transparent !important; letter-spacing: 0.04em;
}
.navi-in a:hover { color: var(--c-green) !important; }
.navi-in > ul > .current-menu-item > a,
.navi-in > ul > .current_page_item > a { color: var(--c-green) !important; background: transparent !important; }

/* =========================================
   フロントページ — フルワイド
   ========================================= */
.front-top-page #content { padding: 0; margin: 0; }
.front-top-page .content-in,
.front-top-page .content-in.wrap {
  display: block; max-width: none !important; width: 100% !important;
  padding: 0 !important; margin: 0 !important;
}
.front-top-page .main {
  width: 100% !important; max-width: none !important;
  margin: 0; padding: 0; background: transparent;
  border-radius: 0; box-shadow: none; float: none !important;
}
.front-top-page .sidebar { display: none !important; }
.front-top-page .article { padding: 0; margin: 0; }
.front-top-page .entry-content { max-width: none; padding: 0; margin: 0; }
.front-top-page .article-header,
.front-top-page .article-footer,
.front-top-page .date-tags,
.front-top-page .author-info,
.front-top-page .eye-catch-wrap,
.front-top-page .footer-meta,
.front-top-page .breadcrumb { display: none; }
.front-top-page .entry-title:empty { display: none; }

/* =========================================
   ヒーロー — 段差テキスト + 浮遊円
   ========================================= */
.svba-hero {
  width: 100%; position: relative; overflow: hidden;
  line-height: 0; background: var(--c-yellow-pale);
}
.svba-hero img {
  width: 100%; display: block; height: 620px;
  object-fit: cover; object-position: center 30%;
  transform-origin: center; transform: scale(1.05);
  will-change: transform;
}
.svba-hero::after {
  content: ''; position: absolute; bottom: 0;
  left: 0; right: 0; height: 180px;
  background: linear-gradient(to top, var(--c-bg), transparent);
  z-index: 1;
}
.svba-hero-overlay {
  position: absolute; bottom: 160px; left: 7%; z-index: 3;
  color: var(--c-navy);
}
.hero-big { margin: 0; }
.hero-line {
  display: block; font-weight: 800; line-height: 1.35;
  text-shadow: none;
}
.hero-line--1 { font-size: 2.4em; }
.hero-line--2 { font-size: 3.8em; padding-left: 20px; }
.hero-line--3 { font-size: 2.8em; padding-left: 44px; }
.hero-sub {
  font-size: 0.78em; font-weight: 500; margin-top: 20px;
  letter-spacing: 0.28em; opacity: 0.7;
  text-shadow: none;
  padding-left: 4px;
}

.hero-circle {
  position: absolute; border-radius: 50%; z-index: 2;
  pointer-events: none;
}
.hero-circle--1 {
  width: 150px; height: 150px;
  background: rgba(240,208,64,0.2);
  top: 10%; right: 6%;
  animation: cfloat 7s ease-in-out infinite;
}
.hero-circle--2 {
  width: 80px; height: 80px;
  background: rgba(46,139,87,0.14);
  bottom: 32%; right: 18%;
  animation: cfloat 9s ease-in-out infinite 1s;
}
.hero-circle--3 {
  width: 55px; height: 55px;
  background: rgba(240,208,64,0.16);
  top: 28%; right: 30%;
  animation: cfloat 6s ease-in-out infinite 2s;
}
@keyframes cfloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.06); }
}

/* =========================================
   キャッチカード
   ========================================= */
.front-top-page .home-lead {
  max-width: 500px; margin: -72px auto 0;
  position: relative; z-index: 4;
  padding: 44px 48px; background: var(--c-white);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
  text-align: center; font-size: 0.95em; line-height: 2.3;
  color: var(--c-text-mid);
}
.front-top-page .home-lead::before {
  content: ''; position: absolute;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--c-yellow);
  top: -7px; left: 50%; transform: translateX(-50%);
}
.front-top-page .home-lead::after {
  content: ''; position: absolute;
  width: 90px; height: 90px; border-radius: 50%;
  border: 2px solid var(--c-green);
  opacity: 0.08;
  bottom: -28px; right: -28px;
}

/* =========================================
   共通
   ========================================= */
.fp-section {
  padding: 120px 40px; position: relative; overflow: hidden;
}
.fp-section-inner {
  max-width: 960px; margin: 0 auto; position: relative; z-index: 2;
}
.fp-bg-text {
  position: absolute; z-index: 0;
  font-size: 12em; font-weight: 800;
  letter-spacing: 0.08em; line-height: 1;
  color: rgba(0,0,0,0.016);
  white-space: nowrap; pointer-events: none;
  top: 60px; left: 50%;
  transform: translateX(-50%);
  user-select: none;
}
.fp-label {
  font-size: 0.58em; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; display: block; margin-bottom: 8px;
  color: var(--c-green);
}
.fp-title-ja {
  font-size: 2.1em; font-weight: 800; letter-spacing: 0.04em;
  line-height: 1.4; margin: 0 0 64px;
  border: none !important; padding: 0 !important;
  background: transparent !important; border-left: none !important;
  border-radius: 0 !important;
}
.fp-more-btn {
  display: inline-block;
  padding: 14px 44px;
  border: 2px solid var(--c-green);
  border-radius: 60px;
  color: var(--c-green);
  font-size: 0.85em; font-weight: 700;
  text-decoration: none; letter-spacing: 0.06em;
  transition: background 0.35s, color 0.35s, transform 0.35s;
}
.fp-more-btn:hover {
  background: var(--c-green); color: #fff;
  transform: translateY(-2px);
}

/* =========================================
   sec-news — 左タイトル＋右リスト
   ========================================= */
.sec-news { background: var(--c-white); }
.sec-news-inner {
  display: flex; gap: 64px; align-items: flex-start;
}
.sec-news-heading {
  flex-shrink: 0; width: 200px;
  position: sticky; top: 120px;
}
.sec-news-heading .fp-label { margin-bottom: 16px; }
.sec-news-title-ja {
  font-size: 3em; font-weight: 800;
  line-height: 1.25; letter-spacing: 0.1em;
  display: block; margin-bottom: 36px;
  color: var(--c-text);
}
.sec-news-heading .fp-more-btn {
  font-size: 0.76em; padding: 10px 28px;
}
.sec-news-list { flex: 1; min-width: 0; }

.front-top-page .new-entry-cards { padding: 0; }
.front-top-page .widget-entry-card-link {
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.35s, transform 0.35s;
  border: 1px solid var(--c-border); background: var(--c-white);
}
.front-top-page .widget-entry-card-link .e-card { display: flex; align-items: center; }
.front-top-page .widget-entry-card-link .card-thumb { width: 28%; flex-shrink: 0; }
.front-top-page .widget-entry-card-link .card-content { display: flex; align-items: center; flex: 1; margin-left: 0; }
.front-top-page .widget-entry-card-link .card-title { flex: 1; text-align: left; }
.front-top-page .widget-entry-card-link:hover {
  box-shadow: var(--shadow-hover); transform: translateY(-3px);
  border-color: transparent;
}

/* =========================================
   ★ イラスト帯 — 体育館イラスト全幅
   ========================================= */
.fp-illust-band {
  position: relative; width: 100%;
  overflow: hidden; line-height: 0;
}
.fp-illust-band-img {
  width: 100%; height: 400px;
  object-fit: cover; object-position: center center;
  display: block;
}
.fp-illust-band-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(42,56,88,0.55) 0%, rgba(46,139,87,0.4) 100%);
  display: flex; align-items: center; justify-content: center;
}
.fp-illust-band-text {
  color: #fff; font-size: 2.2em; font-weight: 800;
  text-align: center; line-height: 1.6;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* =========================================
   sec-numbers — カード上下ずれ
   ========================================= */
.sec-numbers {
  background: var(--c-green);
  padding: 100px 40px 120px;
  position: relative; overflow: hidden;
}
.sec-numbers .fp-title-ja { margin-bottom: 52px; }
.sec-numbers::after {
  content: 'VOLLEYBALL'; position: absolute;
  font-size: 10em; font-weight: 800;
  color: rgba(255,255,255,0.04);
  bottom: -20px; left: 50%;
  transform: translateX(-50%);
  white-space: nowrap; pointer-events: none;
  letter-spacing: 0.15em;
}
.numbers-row {
  display: flex; gap: 28px; justify-content: center;
  max-width: 820px; margin: 0 auto;
  position: relative; z-index: 2;
  align-items: flex-start;
}
.number-card {
  flex: 1; background: var(--c-white);
  border-radius: var(--radius-l);
  padding: 44px 20px; text-align: center;
  box-shadow: var(--shadow-m);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.number-card:hover { transform: translateY(-6px); }
.number-card--2 { transform: translateY(-32px); }
.number-card--2:hover { transform: translateY(-38px); }

.number-card-num {
  font-size: 3.8em; font-weight: 800;
  color: var(--c-green); line-height: 1;
  display: inline;
}
.number-card-unit {
  font-size: 0.85em; font-weight: 700;
  color: var(--c-green);
}
.number-card-label {
  display: block; margin-top: 14px;
  font-size: 0.82em; font-weight: 700;
  color: var(--c-text-mid);
  letter-spacing: 0.08em;
}

/* =========================================
   sec-about — 散らし配置 × 遊び心
   ========================================= */
.sec-about { background: var(--c-cream); overflow: hidden; }

.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 0;
}

.about-row-illust {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.about-row-illust img {
  height: auto; display: block;
  border-radius: var(--radius-l);
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
/* 色付きシャドウ（ずらし色面） */
.about-row-illust::before {
  content: ''; position: absolute;
  border-radius: var(--radius-l);
  z-index: 0;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.about-row-illust img { position: relative; z-index: 1; }

/* --- 01: トス — 大きく、少し左寄り、やや傾き --- */
.about-row:nth-child(1) { grid-template-columns: 1.3fr 0.7fr; margin-bottom: -20px; }
.about-row:nth-child(1) .about-row-illust img {
  width: 100%; max-width: 400px;
  transform: rotate(-2deg);
}
.about-row:nth-child(1) .about-row-illust::before {
  width: 85%; height: 80%;
  background: var(--c-yellow); opacity: 0.2;
  top: 28px; left: 8%;
  transform: rotate(-4deg);
}
.about-row:nth-child(1):hover .about-row-illust img {
  transform: rotate(0deg) scale(1.05);
}

/* --- 02: ブロック — 右側、コンパクト、逆傾き --- */
.about-row:nth-child(2) { grid-template-columns: 0.6fr 1.4fr; margin-bottom: -20px; }
.about-row:nth-child(2) .about-row-illust {
  order: 2;
  justify-content: flex-end;
}
.about-row:nth-child(2) .about-row-body { order: 1; }
.about-row:nth-child(2) .about-row-illust img {
  width: 100%; max-width: 300px;
  transform: rotate(3deg);
}
.about-row:nth-child(2) .about-row-illust::before {
  width: 80%; height: 85%;
  background: var(--c-green); opacity: 0.13;
  bottom: 12px; right: 8%;
  top: auto;
  transform: rotate(5deg);
}
.about-row:nth-child(2):hover .about-row-illust img {
  transform: rotate(0deg) scale(1.06);
}
.about-row:nth-child(2) .about-row-body { text-align: right; }
.about-row:nth-child(2) .about-row-body h3::after { margin-left: auto; }
.about-row:nth-child(2) .about-row-num { left: auto; right: 32px; }

/* --- 03: ボールかご — 画像内余白が大きいので拡大補正 --- */
.about-row:nth-child(3) { grid-template-columns: 1.1fr 0.9fr; }
.about-row:nth-child(3) .about-row-illust img {
  width: 100%; max-width: 460px;
  transform: rotate(-1deg) scale(1.15);
}
.about-row:nth-child(3) .about-row-illust::before {
  width: 75%; height: 88%;
  background: var(--c-navy); opacity: 0.07;
  top: 20px; left: 12%;
  transform: rotate(-3deg);
}
.about-row:nth-child(3):hover .about-row-illust img {
  transform: rotate(1deg) scale(1.05);
}

.about-row-body {
  position: relative;
  padding: 48px 40px;
}
.about-row-num {
  display: block;
  font-size: 6em; font-weight: 900;
  line-height: 1;
  color: var(--c-yellow);
  opacity: 0.25;
  position: absolute;
  top: 0; left: 32px;
  pointer-events: none;
}
.about-row-body h3 {
  font-size: 1.6em; font-weight: 800;
  margin: 0 0 16px; border: none; padding: 0;
  color: var(--c-text); line-height: 1.4;
  position: relative;
}
.about-row-body h3::after {
  content: '';
  display: block;
  width: 40px; height: 4px;
  border-radius: 2px;
  background: var(--c-green);
  margin-top: 12px;
}
.about-row-body p {
  font-size: 0.92em; line-height: 2;
  color: var(--c-text-mid); margin: 0;
  position: relative;
}

/* =========================================
   sec-contents — ベントーグリッド
   ========================================= */
.sec-contents { background: var(--c-white); }

.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 220px 190px;
  gap: 16px;
}
.bento-item {
  position: relative;
  border-radius: var(--radius-l);
  padding: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  text-align: center; text-decoration: none;
  color: var(--c-text);
  border: 1px solid var(--c-border);
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.45s cubic-bezier(0.16,1,0.3,1),
              border-color 0.35s;
  overflow: hidden;
}
.bento-item--feature {
  grid-row: 1 / 3;
  border-color: transparent !important;
}
.bento-item--feature .bento-name { font-size: 1.5em; }
.bento-item--accent { border-color: transparent !important; }

.bento-img {
  position: absolute; inset: 0;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.bento-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.bento-item:hover .bento-img {
  transform: scale(1.08);
}
.bento-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover); color: var(--c-text);
  border-color: transparent;
}
.bento-name {
  position: relative; z-index: 2;
  font-size: 1em; font-weight: 800; margin-bottom: 0;
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(6px);
  padding: 6px 16px 1px;
  width: 100%; line-height: 1.3;
}
.bento-en {
  position: relative; z-index: 2;
  font-size: 0.5em; color: var(--c-text-light);
  letter-spacing: 0.18em; text-transform: uppercase;
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(6px);
  padding: 0 16px 6px;
  width: 100%;
}

/* =========================================
   sec-links — リスト型
   ========================================= */
.sec-links {
  background: var(--c-cream);
  padding-bottom: 140px;
}
.links-list {
  display: flex; flex-direction: column;
  gap: 12px; max-width: 600px; margin: 0 auto;
}
.link-row-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 22px 28px;
  text-decoration: none; color: var(--c-text);
  font-weight: 700; font-size: 0.92em;
  border: 1px solid var(--c-border);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.35s, border-color 0.35s;
}
.link-row-card:hover {
  transform: translateX(8px); box-shadow: var(--shadow-hover);
  color: var(--c-text); border-color: transparent;
}
.link-row-icon { font-size: 1.5em; flex-shrink: 0; }
.link-row-name { flex: 1; }
.link-row-arrow {
  font-size: 1.1em; color: var(--c-text-light);
  transition: color 0.3s, transform 0.3s;
}
.link-row-card:hover .link-row-arrow {
  color: var(--c-green); transform: translateX(4px);
}

/* =========================================
   フッター
   ========================================= */
.footer {
  background: var(--c-navy); color: rgba(255,255,255,0.75);
  margin-top: 0; padding: 28px 0;
}
.footer a { color: rgba(255,255,255,0.75); }
.footer a:hover { color: #fff; }
.copyright { color: rgba(255,255,255,0.3); font-size: 0.78em; }

/* =========================================
   下層ページ
   ========================================= */
.wrap { max-width: 1256px; }
.page-body:not(.front-top-page) .main,
.single .main, .category .main {
  background: var(--c-white); border-radius: var(--radius-l);
  box-shadow: var(--shadow-s); padding: 48px 52px;
}
.article h2 {
  background: var(--c-green-pale); color: var(--c-text);
  border: none; border-left: 4px solid var(--c-green);
  padding: 18px 22px; font-size: 1.3em; font-weight: 800;
  margin-top: 2.5em; margin-bottom: 1.2em;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article h3 {
  color: var(--c-text); border: none;
  padding: 10px 0 10px 18px; font-size: 1.15em; font-weight: 700;
  margin-top: 2em; border-left: 3px solid var(--c-yellow);
}
.article h4 {
  color: var(--c-text); font-weight: 700; font-size: 1.05em;
  padding-bottom: 6px; border-bottom: 2px dotted var(--c-border);
}
.entry-card-wrap {
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  border: 1px solid var(--c-border); background: var(--c-white);
}
.entry-card-wrap:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.entry-card-title { font-size: 1em; font-weight: 700; color: var(--c-text); }
.entry-card-snippet { color: var(--c-text-light); font-size: 0.85em; }
.cat-label { background: var(--c-green) !important; color: #fff !important; border-radius: 20px; font-size: 0.7em; padding: 3px 12px; }

.sidebar {
  width: 336px; background: var(--c-white);
  border-radius: var(--radius-l); box-shadow: var(--shadow-s); padding: 28px;
}
.sidebar h2, .sidebar h3 {
  color: #fff; font-size: 0.88em; font-weight: 700;
  border: none; padding: 10px 16px; margin: 0 0 16px 0;
  background: var(--c-green); border-radius: var(--radius);
}
.sidebar .widget { margin-bottom: 32px; }
.sidebar .widget:last-child { margin-bottom: 0; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar ul li { padding: 12px 0; border-bottom: 1px dashed var(--c-border); font-size: 0.9em; }
.sidebar ul li:last-child { border-bottom: none; }
.sidebar ul li a { color: var(--c-text); text-decoration: none; transition: color 0.2s; }
.sidebar ul li a:hover { color: var(--c-green); }

.article table {
  border-collapse: separate; border-spacing: 0; width: 100%;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-border);
}
.article table th {
  background: var(--c-green); color: #fff; font-weight: 700;
  border: none; border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 14px 16px; font-size: 0.9em;
}
.article table td { border: none; border-bottom: 1px solid var(--c-border); padding: 14px 16px; }
.article table tr:last-child td { border-bottom: none; }
.article table tr:nth-child(even) td { background: var(--c-green-pale); }

a { color: var(--c-green); transition: color 0.25s; }
a:hover { color: var(--c-orange); }
.breadcrumb { font-size: 0.8em; color: var(--c-text-light); padding: 12px 0; }
.sns-share .sns-button { border-radius: 24px; }
.pagination .page-numbers { border-radius: 24px; padding: 8px 16px; }
.pagination .current { background: var(--c-green); border-color: var(--c-green); }
.page .post-date, .page .post-update { display: none; }

/* =========================================
   アニメーション
   ========================================= */
.svba-anim {
  opacity: 0; transform: translateY(44px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1),
              transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.svba-anim.svba-anim-visible { opacity: 1; transform: translateY(0); }
.svba-anim-left {
  opacity: 0; transform: translateX(-50px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1),
              transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.svba-anim-right {
  opacity: 0; transform: translateX(50px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1),
              transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.svba-anim-left.svba-anim-visible,
.svba-anim-right.svba-anim-visible { opacity: 1; transform: translateX(0); }

/* =========================================
   レスポンシブ
   ========================================= */
@media screen and (max-width: 1023px) {
  .fp-bg-text { font-size: 7em; }
  .about-row-illust img { max-width: 300px; }
  .page-body:not(.front-top-page) .main,
  .single .main, .category .main { padding: 28px 24px; border-radius: var(--radius); }
  .hero-line--2 { font-size: 3em; }
}

@media screen and (max-width: 834px) {
  /* ヘッダー: ナビ非表示、ハンバーガーに委ねる */
  .header-container { position: relative; }
  .navi { display: none !important; }

  .fp-section { padding: 88px 20px; }
  .front-top-page .home-lead { margin: -44px 20px 0; padding: 32px 24px; }
  .svba-hero img { height: 440px; }
  .svba-hero-overlay { bottom: 130px; }
  .hero-line--1 { font-size: 1.6em; }
  .hero-line--2 { font-size: 2.4em; padding-left: 12px; }
  .hero-line--3 { font-size: 1.8em; padding-left: 24px; }
  .fp-bg-text { font-size: 4.5em; top: 30px; }
  .fp-title-ja { font-size: 1.6em; margin-bottom: 44px !important; }

  /* ニュース: タイトル中央揃え */
  .sec-news-inner { flex-direction: column; gap: 28px; }
  .sec-news-heading {
    width: 100%; position: static;
    display: flex; align-items: center; justify-content: center;
    gap: 16px; flex-wrap: wrap; text-align: center;
  }
  .sec-news-title-ja { font-size: 1.8em; margin-bottom: 0; }
  .sec-news-heading .fp-more-btn { margin-left: 0; }

  .fp-illust-band-img { height: 280px; }
  .fp-illust-band-text { font-size: 1.5em; }

  .sec-numbers { padding: 72px 20px 88px; }
  .sec-numbers .fp-title-ja { margin-bottom: 36px !important; }
  .numbers-row { gap: 16px; }
  .number-card { padding: 32px 16px; }
  .number-card-num { font-size: 2.6em; }
  .number-card--2 { transform: translateY(-16px); }
  .number-card--2:hover { transform: translateY(-22px); }
  .sec-numbers::after { font-size: 5em; }

  .about-row,
  .about-row:nth-child(1),
  .about-row:nth-child(2),
  .about-row:nth-child(3) { grid-template-columns: 1fr; margin-bottom: 16px; }
  .about-row:nth-child(2) .about-row-illust { order: 0; }
  .about-row:nth-child(2) .about-row-body { order: 0; text-align: center; }
  .about-row-illust img { transform: none !important; }
  .about-row-body { padding: 24px 20px 40px; text-align: center; }
  .about-row-body h3::after { margin-left: auto; margin-right: auto; }
  .about-row-num { position: relative; top: auto; left: auto !important; right: auto !important; font-size: 4em; margin-bottom: -16px; }
  .about-row-illust img { max-width: 260px; }
  .about-row:nth-child(2) .about-row-body h3::after { margin-left: auto; margin-right: auto; }

  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 160px 160px;
  }
  .bento-item--feature { grid-row: auto; grid-column: 1 / 3; }
  .bento-item--feature .bento-name { font-size: 1.2em; }

  .hero-circle { display: none; }
  .front-top-page .home-lead::after { display: none; }
}

@media screen and (max-width: 480px) {
  .page-body:not(.front-top-page) .main,
  .single .main, .category .main { padding: 20px 16px; }
  .front-top-page .home-lead { padding: 28px 20px; margin: -28px 12px 0; font-size: 0.85em; }
  .fp-section { padding: 64px 16px; }
  .article h2 { font-size: 1.15em; padding: 14px 16px; }
  .fp-title-ja { font-size: 1.35em !important; margin-bottom: 36px !important; }
  .svba-hero img { height: 340px; }
  .svba-hero-overlay { bottom: 100px; left: 5%; }
  .hero-line--1 { font-size: 1.3em; padding-left: 0; }
  .hero-line--2 { font-size: 1.8em; padding-left: 8px; }
  .hero-line--3 { font-size: 1.5em; padding-left: 16px; }

  .fp-illust-band-img { height: 200px; }
  .fp-illust-band-text { font-size: 1.15em; }

  .about-row-illust img { max-width: 200px; }
  .about-row:nth-child(3) .about-row-illust img { max-width: 240px; }
  .about-row-body { padding: 16px 16px 32px; }
  .about-row-num { font-size: 3em; }

  .bento { grid-template-columns: 1fr; grid-template-rows: 200px repeat(4, 160px); }
  .bento-item--feature { grid-column: 1; }
  .link-row-card { padding: 18px 20px; }
  .fp-bg-text { font-size: 2.8em; }
  .sec-numbers { padding: 56px 16px 68px; }
  .sec-numbers::after { font-size: 2.5em; }
  .numbers-row { flex-direction: column; max-width: 300px; margin: 0 auto; gap: 12px; align-items: stretch; }
  .number-card { padding: 28px 20px; width: 100%; }
  .number-card--2 { transform: translateY(0); }
  .number-card--2:hover { transform: translateY(-6px); }
  .fp-more-btn { padding: 12px 36px; font-size: 0.82em; }
}
