/* KATSUTA Soccer School — 2026 official seven-page renewal */
:root {
  --red: #d7263d;
  --red-bright: #ef4055;
  --red-dark: #a8172a;
  --sky: #009fe8;
  --sky-dark: #0077ae;
  --sky-soft: #eff9fd;
  --yellow: #f5d000;
  --ink: #122533;
  --ink-soft: #263b48;
  --paper: #eff9fd;
  --white: #fff;
  --muted: #646e7d;
  --line: #d1edfa;
  --line-gray: #e2e5e9;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Oswald", sans-serif;
  --content: 1180px;
  --narrow: 820px;
  --radius: 10px;
  --shadow: 0 12px 32px rgba(18, 37, 51, .11);
  --ease: .28s cubic-bezier(.2, .7, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
main { display: block; }

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 3000;
  padding: 12px 18px;
  color: #fff;
  background: var(--ink);
  border-radius: 0 0 8px 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* Header */
.shobi-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  color: var(--ink);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: background var(--ease), box-shadow var(--ease);
}
.shobi-header.is-scrolled {
  background: rgba(255, 255, 255, .99);
  box-shadow: 0 8px 24px rgba(18,37,51,.1);
}
.shobi-header__inner {
  width: min(100% - 48px, 1320px);
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}
.shobi-header__logo {
  flex: 0 0 258px;
  width: 258px;
  display: flex;
  align-items: center;
}
.shobi-header__logo-img {
  width: 100%;
  filter: none;
}
.shobi-header__nav {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 2px;
  margin-left: auto;
}
.shobi-header__nav-item {
  position: relative;
  min-height: 84px;
  padding: 20px 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  line-height: 1.15;
  transition: color var(--ease);
}
.shobi-header__nav-item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 0;
  height: 2px;
  background: var(--red-bright);
  transform: translateX(-50%);
  transition: width var(--ease);
}
.shobi-header__nav-item:hover,
.shobi-header__nav-item.is-current { color: var(--ink); }
.shobi-header__nav-item:hover::after,
.shobi-header__nav-item.is-current::after { width: 28px; }
.shobi-header__nav-en {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .12em;
}
.shobi-header__nav-jp { margin-top: 5px; font-size: 10px; white-space: nowrap; }
.shobi-header__cta {
  flex: 0 0 auto;
  min-height: 46px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: background var(--ease), transform var(--ease);
}
.shobi-header__cta:hover { background: var(--red-bright); transform: translateY(-2px); }
.shobi-header__menu-btn,
.shobi-header__mobile-nav { display: none; }

/* Home hero */
.shobi-hero {
  position: relative;
  height: clamp(500px, 58svh, 620px);
  min-height: 0;
  overflow: hidden;
  color: #fff;
  background: #111;
}
.shobi-hero__bg,
.shobi-hero__slide,
.shobi-hero__slide::after { position: absolute; inset: 0; }
.shobi-hero__slide {
  opacity: 0;
  transition: opacity 1.1s ease;
}
.shobi-hero__slide.is-active { opacity: 1; }
.shobi-hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.shobi-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,5,7,.48), rgba(5,5,7,.05) 48%, transparent 72%);
}
.shobi-hero-copy { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.shobi-hero-copy__frame {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255,255,255,.38);
}
.shobi-hero-copy__frame::before,
.shobi-hero-copy__frame::after {
  content: "";
  position: absolute;
  height: 3px;
  width: 96px;
}
.shobi-hero-copy__frame::before { top: -1px; left: -1px; background: var(--red); }
.shobi-hero-copy__frame::after { right: -1px; bottom: -1px; background: var(--sky); }
.shobi-hero-brand,
.shobi-hero-status {
  position: absolute;
  bottom: 48px;
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.42);
}
.shobi-hero-brand {
  left: max(48px, calc((100vw - var(--content)) / 2 + 24px));
  padding-left: 15px;
  display: grid;
  gap: 3px;
  border-left: 3px solid var(--red);
}
.shobi-hero-brand__name {
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .18em;
}
.shobi-hero-brand__sub {
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .16em;
}
.shobi-hero-status {
  right: max(48px, calc((100vw - var(--content)) / 2 + 24px));
  display: grid;
  justify-items: end;
  gap: 10px;
}
.shobi-hero-status__count {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
.shobi-hero-status__current { font-size: 21px; font-weight: 800; }
.shobi-hero-status__divider { color: rgba(255,255,255,.6); }
.shobi-hero-progress { display: flex; gap: 5px; }
.shobi-hero-progress__segment {
  width: 32px;
  height: 3px;
  background: rgba(255,255,255,.44);
  transition: background .35s ease, transform .35s ease;
  transform-origin: left center;
}
.shobi-hero-progress__segment.is-active { background: var(--red); transform: scaleY(1.35); }
.shobi-hero__inner {
  width: min(100% - 64px, var(--content));
  height: 100%;
  margin: 0 auto;
  padding-top: 118px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  pointer-events: none;
}
.shobi-hero__inner > * { pointer-events: auto; }
.shobi-hero__subtitle,
.katsuta-section__en,
.shobi-about-teaser__subtitle,
.shobi-contribution-teaser__subtitle,
.shobi-sponsors__subtitle {
  display: block;
  color: var(--sky-dark);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .18em;
}
.shobi-hero__subtitle { color: #fff; opacity: .75; }
.shobi-hero__title {
  max-width: 760px;
  margin: 18px 0 22px;
  font-size: clamp(44px, 5.6vw, 78px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.shobi-hero__description {
  max-width: 650px;
  margin: 0 0 34px;
  color: rgba(255,255,255,.86);
  font-size: 16px;
  line-height: 1.9;
}
.shobi-hero__buttons,
.katsuta-link-buttons,
.shobi-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.shobi-hero__btn,
.shobi-about-teaser__btn,
.shobi-contribution-teaser__btn,
.shobi-sponsors__cta-btn,
.katsuta-mid-cta__btn,
.katsuta-page-cta__btn,
.shobi-cta__btn {
  min-height: 54px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  transition: transform var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
}
.shobi-hero__btn:hover,
.shobi-about-teaser__btn:hover,
.shobi-contribution-teaser__btn:hover,
.shobi-sponsors__cta-btn:hover,
.katsuta-page-cta__btn:hover,
.shobi-cta__btn:hover { transform: translateY(-3px); }
.shobi-hero__btn--primary,
.shobi-cta__btn--primary { color: #fff; background: var(--red); border: 1px solid var(--red); }
.shobi-hero__btn--outline { color: #fff; border: 1px solid rgba(255,255,255,.7); background: rgba(255,255,255,.06); }
.shobi-hero__btn--outline:hover { color: var(--ink); background: #fff; border-color: #fff; }
.shobi-hero-copy__sns {
  position: absolute;
  right: 32px;
  top: 50%;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}
.shobi-hero-copy__sns-link {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.94);
  border-radius: 50%;
}
.shobi-hero-copy__sns-icon { width: 21px; height: 21px; }
.shobi-hero__scroll {
  position: absolute;
  z-index: 4;
  right: 38px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: rotate(90deg);
  transform-origin: right bottom;
}
.shobi-hero__scroll-text { font-family: var(--font-en); font-size: 11px; letter-spacing: .2em; }
.shobi-hero__scroll-line { width: 58px; height: 1px; background: rgba(255,255,255,.6); }
.shobi-hero__diagonal { display: none; }

/* Home introduction */
.katsuta-intro { padding: 68px 32px 82px; background: #fff; border-bottom: 1px solid var(--line-gray); }
.katsuta-intro__inner {
  width: min(100%, var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: clamp(56px, 8vw, 112px);
  align-items: center;
}
.katsuta-intro__subtitle { display: block; color: var(--sky-dark); font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .18em; }
.katsuta-intro__title { margin: 14px 0 0; font-size: clamp(40px, 4.4vw, 54px); font-weight: 900; line-height: 1.18; letter-spacing: -.04em; }
.katsuta-intro__description { max-width: 650px; margin: 0 0 30px; color: var(--muted); font-size: 16px; line-height: 2; }
.katsuta-intro .shobi-hero__btn--outline { color: var(--sky-dark); background: #fff; border-color: var(--sky); }
.katsuta-intro .shobi-hero__btn--outline:hover { color: #fff; background: var(--sky-dark); border-color: var(--sky-dark); }

/* Section foundation */
.shobi-news,
.shobi-about-teaser,
.shobi-contribution-teaser,
.shobi-sponsors,
.katsuta-section { padding: 88px 32px; }
.shobi-news__inner,
.shobi-about-teaser__inner,
.shobi-contribution-teaser__inner,
.shobi-sponsors__inner,
.katsuta-section__inner { width: min(100%, var(--content)); margin: 0 auto; }
.shobi-news__header,
.katsuta-section__header,
.shobi-sponsors__header { margin-bottom: 36px; }
.shobi-news__title-wrap { display: flex; align-items: baseline; gap: 16px; }
.shobi-news__title-en,
.shobi-sponsors__title,
.katsuta-section__title,
.shobi-about-teaser__title,
.shobi-contribution-teaser__title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.035em;
}
.shobi-news__title-en { font-family: var(--font-en); letter-spacing: .03em; }
.shobi-news__title-jp { color: var(--muted); font-size: 13px; font-weight: 700; }
.katsuta-section__lead,
.shobi-sponsors__description,
.shobi-about-teaser__text,
.shobi-contribution-teaser__text {
  max-width: 840px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

/* News */
.shobi-news { background: #fff; }
.shobi-news__header { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.shobi-news__tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.shobi-news__tab {
  min-height: 42px;
  padding: 0 18px;
  color: var(--muted);
  background: var(--sky-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}
.shobi-news__tab:hover,
.shobi-news__tab.is-active { color: #fff; background: var(--red); border-color: var(--red); }
.shobi-news__list { border-top: 2px solid var(--red); }
.shobi-news__item { display: none; border-bottom: 1px solid var(--line); }
.shobi-news__item.is-visible { display: block; }
.shobi-news__link {
  min-height: 92px;
  padding: 24px 12px;
  display: grid;
  grid-template-columns: 220px 1fr 28px;
  align-items: center;
  gap: 24px;
  transition: background var(--ease), padding var(--ease);
}
.shobi-news__link::after { content: "→"; color: var(--sky-dark); font-size: 20px; }
.shobi-news__link:hover { padding-inline: 22px; background: var(--paper); }
.shobi-news__meta { display: flex; align-items: center; gap: 12px; }
.shobi-news__category { min-width: 76px; padding: 5px 8px; color: #fff; background: var(--red); border-radius: 999px; font-size: 11px; font-weight: 800; text-align: center; }
.shobi-news__date { color: var(--muted); font-family: var(--font-en); font-size: 13px; letter-spacing: .08em; }
.shobi-news__text { font-size: 15px; font-weight: 700; }
.shobi-news__more-wrap { margin-top: 28px; text-align: right; }
.shobi-news__more { display: inline-flex; align-items: center; gap: 12px; color: var(--sky-dark); font-size: 13px; font-weight: 800; }
.shobi-news__more::after { content: "→"; }
.shobi-news--archive { padding-top: 80px; }

/* Editorial split sections */
.shobi-about-teaser { position: relative; overflow: hidden; background: var(--paper); }
.shobi-contribution-teaser { position: relative; overflow: hidden; background: #fff; color: var(--ink); border-top: 1px solid var(--line-gray); border-bottom: 1px solid var(--line-gray); }
.shobi-about-teaser__bg-text,
.shobi-contribution-teaser__bg-text { display: none; }
.shobi-about-teaser__inner,
.shobi-contribution-teaser__inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(52px, 7vw, 96px); align-items: center; }
.shobi-about-teaser__image,
.shobi-contribution-teaser__image { position: relative; overflow: hidden; border-radius: 4px; box-shadow: var(--shadow); }
.shobi-about-teaser__image::after,
.shobi-contribution-teaser__image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: var(--red);
}
.shobi-about-teaser__image img,
.shobi-contribution-teaser__image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .7s ease; }
.shobi-about-teaser__image:hover img,
.shobi-contribution-teaser__image:hover img { transform: scale(1.025); }
.shobi-about-teaser__mobile-heading { display: none; }
.shobi-about-teaser__title,
.shobi-contribution-teaser__title { margin-top: 12px; }
.shobi-contribution-teaser__title { color: var(--ink); }
.shobi-contribution-teaser__subtitle { color: var(--sky-dark); }
.shobi-contribution-teaser__text { color: var(--muted); }
.shobi-about-teaser__points,
.shobi-contribution-teaser__activities { margin: 30px 0 34px; display: grid; gap: 0; }
.shobi-about-teaser__point,
.shobi-contribution-teaser__activity {
  position: relative;
  padding: 15px 0 15px 25px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}
.shobi-about-teaser__point::before,
.shobi-contribution-teaser__activity::before { content: ""; position: absolute; left: 2px; top: 25px; width: 9px; height: 9px; background: var(--red); border-radius: 50%; }
.shobi-contribution-teaser__activity { color: var(--ink); border-color: var(--line-gray); }
.shobi-about-teaser__btn { color: #fff; background: var(--red); border: 1px solid var(--red); }
.shobi-about-teaser__btn + .shobi-about-teaser__btn { color: var(--sky-dark); background: #fff; border-color: var(--sky); }
.shobi-contribution-teaser__btn { color: #fff; background: var(--red); border: 1px solid var(--red); }
.shobi-contribution-teaser__btn + .shobi-contribution-teaser__btn { color: var(--sky-dark); background: #fff; border-color: var(--sky); }

/* CTA bands */
.katsuta-mid-cta,
.katsuta-page-cta,
.shobi-cta { position: relative; overflow: hidden; padding: 72px 32px; color: #fff; background: linear-gradient(135deg, var(--red-dark), var(--red)); }
.katsuta-mid-cta__inner,
.katsuta-page-cta__inner,
.shobi-cta__inner { width: min(100%, 900px); margin: 0 auto; text-align: center; }
.katsuta-mid-cta__title,
.katsuta-page-cta__title,
.shobi-cta__title { margin: 0; font-size: clamp(30px, 4.2vw, 50px); font-weight: 900; line-height: 1.25; letter-spacing: -.03em; }
.katsuta-mid-cta__lead,
.katsuta-page-cta__lead,
.shobi-cta__description { margin: 18px auto 30px; color: rgba(255,255,255,.82); font-size: 15px; }
.katsuta-mid-cta__btn,
.katsuta-page-cta__btn,
.shobi-cta__btn { color: var(--red-dark); background: #fff; border: 1px solid #fff; }
.shobi-cta__buttons { justify-content: center; }
.shobi-cta__diagonal { display: none; }

/* Sponsors */
.shobi-sponsors { background: #fff; }
.shobi-sponsors__header { text-align: center; }
.shobi-sponsors__subtitle { margin-bottom: 10px; }
.shobi-sponsors__description { margin-inline: auto; }
.shobi-sponsors__category-title { margin: 0 0 22px; color: var(--muted); font-family: var(--font-en); font-size: 12px; letter-spacing: .17em; text-align: center; }
.shobi-sponsors__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 32px 28px;
}
.shobi-sponsors__item { min-width: 0; min-height: 136px; padding: 20px 32px; display: grid; place-items: center; border: 1px solid #d7dce5; border-radius: 0; transition: background var(--ease); }
.shobi-sponsors__item:hover { background: var(--paper); }
.shobi-sponsors__item img { width: min(72%, 320px); height: 80px; object-fit: contain; }
.shobi-sponsors__cta { max-width: 850px; margin: 50px auto 0; padding: 36px; text-align: center; background: var(--paper); border-top: 4px solid var(--red); }
.shobi-sponsors__cta-title { margin: 0; font-size: 24px; }
.shobi-sponsors__cta-text { margin: 14px 0 26px; color: var(--muted); font-size: 14px; }
.shobi-sponsors__cta .katsuta-link-buttons { justify-content: center; }
.shobi-sponsors__cta-btn { color: #fff; background: var(--red); border: 1px solid var(--red); }

/* Subpage hero */
.katsuta-page-hero {
  position: relative;
  min-height: 500px;
  padding: 136px 32px 60px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.katsuta-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,7,9,.9), rgba(7,7,9,.52) 55%, rgba(7,7,9,.2));
}
.page-school .katsuta-page-hero { background-image: url("./res/IMG_1387.jpg"); }
.page-news .katsuta-page-hero { background-image: url("./res/IMG_1401.jpg"); }
.page-schedule .katsuta-page-hero { background-image: url("./res/IMG_1560.jpg"); }
.page-highschool .katsuta-page-hero { background-image: url("./res/IMG_2703.jpeg"); }
.page-partner .katsuta-page-hero { background-image: url("./res/IMG_1991.jpg"); }
.page-contact .katsuta-page-hero { background-image: url("./res/IMG_1404.jpg"); }
.katsuta-page-hero__inner { position: relative; z-index: 1; width: min(100%, var(--content)); margin: 0 auto; }
.katsuta-page-hero__label { color: var(--yellow); font-family: var(--font-en); font-size: 14px; letter-spacing: .2em; }
.katsuta-page-hero__title { margin: 12px 0 18px; font-size: clamp(44px, 6vw, 76px); line-height: 1.1; letter-spacing: -.04em; }
.katsuta-page-hero__lead { max-width: 700px; margin: 0; color: rgba(255,255,255,.82); font-size: 16px; }

/* Generic subpage sections */
.katsuta-section--alt,
.katsuta-course-section { background: var(--paper); }
.katsuta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.katsuta-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.katsuta-card {
  min-width: 0;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: 4px;
  transition: transform var(--ease), box-shadow var(--ease);
}
.katsuta-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(20,20,23,.08); }
.katsuta-card__title { margin: 0 0 12px; font-size: 20px; line-height: 1.5; }
.katsuta-card__text { margin: 0; color: var(--muted); font-size: 14px; }

/* School */
.katsuta-philosophy-image { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.katsuta-philosophy-image img { width: 100%; height: 250px; object-fit: cover; }
.katsuta-course-heading { display: flex; align-items: center; justify-content: center; gap: 20px; text-align: center; }
.katsuta-course-heading__line { width: 70px; height: 1px; background: var(--line); }
.katsuta-course-heading__icon { color: var(--red); font-size: 34px; }
.katsuta-course-heading__title { margin: 0; font-size: clamp(30px, 4vw, 48px); }
.katsuta-course-heading__lead { margin: 12px 0 34px; color: var(--muted); text-align: center; }
.katsuta-course-card { margin-top: 24px; display: grid; grid-template-columns: minmax(230px,270px) minmax(0,1fr); align-items: stretch; overflow: hidden; background: #fff; border: 1px solid var(--line-gray); border-radius: var(--radius); box-shadow: 0 12px 34px rgba(20,20,23,.06); }
.katsuta-course-card__left { min-width: 0; padding: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(145deg, var(--red-dark), var(--red)); color: #fff; text-align: center; }
.katsuta-course-card__left img { width: 150px; max-height: 110px; object-fit: contain; }
.katsuta-course-card__name { margin: 20px 0 0; font-size: 23px; }
.katsuta-course-card__right { min-width: 0; padding: 34px; display: flex; align-items: center; }
.katsuta-course-meta { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.katsuta-course-meta__item { min-width: 0; padding-left: 16px; border-left: 3px solid var(--red); }
.katsuta-course-meta__body { min-width: 0; }
.katsuta-course-meta__body strong { display: block; font-size: 12px; color: var(--muted); }
.katsuta-course-meta__body p { margin: 2px 0 0; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.katsuta-course-note { margin: 26px 0 0; padding: 18px 20px; color: var(--muted); background: #fff; border: 1px solid var(--line-gray); border-left: 3px solid var(--red); font-size: 13px; }
.katsuta-course-fee-banner { margin-top: 24px; padding: 22px; color: #fff; background: var(--red); border-radius: 8px; text-align: center; font-weight: 800; }
.katsuta-director { padding: 88px 32px; background: #fff; color: var(--ink); border-top: 1px solid var(--line-gray); border-bottom: 1px solid var(--line-gray); }
.katsuta-director__inner { width: min(100%, var(--content)); margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.katsuta-director__image-wrap { overflow: hidden; border-radius: 4px; }
.katsuta-director__image-wrap img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.katsuta-director__image-overlay { display: none; }
.katsuta-director__body { width: min(100%, 670px); justify-self: end; }
.katsuta-director__en { color: var(--sky-dark); font-family: var(--font-en); letter-spacing: .16em; }
.katsuta-director__title { margin: 12px 0 24px; font-size: clamp(30px,4vw,48px); }
.katsuta-director__quote { margin: 0; color: var(--muted); line-height: 2; }
.katsuta-director__sig { margin-top: 30px; padding-top: 20px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; border-top: 1px solid var(--line-gray); text-align: right; }
.katsuta-director__sig-role { margin-right: 8px; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.6; letter-spacing: .06em; }
.katsuta-director__sig-name { margin-right: 8px; color: var(--ink); font-family: var(--font-jp); font-size: 22px; font-weight: 800; line-height: 1.4; letter-spacing: .02em; }
.katsuta-map-wrap { display: grid; grid-template-columns: 1.35fr .65fr; gap: 22px; }
.katsuta-map__iframe iframe { width: 100%; height: 420px; border: 0; }
.katsuta-map__info { padding: 30px; background: var(--paper); }
.katsuta-card__icon { color: var(--red); font-size: 36px; }

/* Schedule */
.pros-timeline { position: relative; max-width: 900px; margin: 0 auto; }
.pros-timeline::before { content: ""; position: absolute; left: 139px; top: 0; bottom: 0; width: 1px; background: var(--line); }
.pros-timeline__item { position: relative; display: grid; grid-template-columns: 116px 1fr; gap: 46px; padding: 0 0 34px; }
.pros-timeline__date { color: var(--red); font-family: var(--font-en); font-size: 17px; font-weight: 700; letter-spacing: .05em; }
.pros-timeline__content { position: relative; padding: 25px 28px; background: var(--paper); border-radius: 4px; }
.pros-timeline__content::before { content: ""; position: absolute; left: -28px; top: 30px; width: 11px; height: 11px; background: var(--red); border: 4px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--red); }
.pros-timeline__title { margin: 0; font-size: 20px; }
.pros-timeline__text { margin: 7px 0 15px; color: var(--muted); font-size: 14px; }
.pros-timeline__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.pros-tag { padding: 4px 10px; color: var(--sky-dark); background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 800; }

/* Partners */
.partner-company-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.partner-company-card { display: flex; flex-direction: column; border-radius: 0; }
.partner-company__logo { height: 108px; margin: -8px -8px 30px; padding: 16px; display: grid; place-items: center; background: transparent; }
.partner-company__logo img { width: min(78%, 230px); height: 68px; object-fit: contain; }
.partner-company__title-link:hover { color: var(--red); }
.partner-company__text { flex: 1; }
.partner-company__links { margin-top: 20px; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 14px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.partner-company__links a { color: var(--red); }
.katsuta-note { margin-top: 32px; color: var(--muted); }

/* Form */
.is-contact-page .katsuta-section__inner { max-width: var(--narrow); }
.katsuta-form { padding: 48px; background: var(--paper); border-top: 4px solid var(--red); }
.katsuta-form__row { margin-bottom: 26px; }
.katsuta-form__label { margin-bottom: 9px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; }
.katsuta-form__required { padding: 2px 8px; color: #fff; background: var(--red); border-radius: 999px; font-size: 10px; }
.katsuta-form input,
.katsuta-form select,
.katsuta-form textarea { width: 100%; min-height: 54px; padding: 13px 15px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 6px; outline: none; }
.katsuta-form textarea { min-height: 180px; resize: vertical; }
.katsuta-form input:focus,
.katsuta-form select:focus,
.katsuta-form textarea:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(0,159,232,.13); }
.katsuta-form__submit { min-width: 220px; border: 0; cursor: pointer; }

/* Footer */
.mobile-cta-bar { display: none; }
.shobi-footer { padding: 64px 32px 28px; color: rgba(255,255,255,.68); background: #1a1a1a; }
.shobi-footer__inner { width: min(100%, var(--content)); margin: 0 auto; }
.shobi-footer__content { display: grid; grid-template-columns: 1.5fr .8fr 1fr; gap: 70px; padding-bottom: 58px; }
.shobi-footer__logo { width: 250px; display: block; }
.shobi-footer__logo-image { width: 100%; filter: brightness(0) invert(1); }
.shobi-footer__description { max-width: 400px; margin: 22px 0; font-size: 13px; }
.shobi-footer__sns { display: flex; gap: 14px; }
.shobi-footer__sns-link { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.54); border-radius: 50%; transition: color var(--ease), background var(--ease), border-color var(--ease), transform var(--ease); }
.shobi-footer__sns-link:hover { color: var(--ink); background: #fff; border-color: #fff; transform: translateY(-2px); }
.shobi-footer__sns-icon { width: 18px; height: 18px; display: block; fill: currentColor; }
.shobi-footer__nav-title { margin: 0 0 20px; color: #fff; font-family: var(--font-en); font-size: 13px; letter-spacing: .15em; }
.shobi-footer__nav-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.shobi-footer__nav-link { font-size: 13px; }
.shobi-footer__nav-link:hover { color: #fff; }
.shobi-footer__info-item { margin: 0 0 9px; font-size: 13px; }
.shobi-footer__bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 11px; }
.shobi-footer__policy-links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 1120px) {
  .shobi-header__logo { flex-basis: 220px; width: 220px; }
  .shobi-header__inner { width: min(100% - 32px, 1320px); gap: 12px; }
  .shobi-header__nav-item { padding-inline: 8px; }
  .shobi-header__cta { padding-inline: 14px; }
}

@media (max-width: 980px) {
  .shobi-header__inner { height: 72px; }
  .shobi-header__logo { flex: 0 1 218px; width: 218px; }
  .shobi-header__nav,
  .shobi-header__cta { display: none; }
  .shobi-header__menu-btn {
    position: relative;
    width: 46px;
    height: 46px;
    margin-left: auto;
    display: block;
    background: var(--red);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
  }
  .shobi-header__menu-btn span { position: absolute; left: 12px; width: 22px; height: 2px; background: #fff; transition: transform var(--ease), opacity var(--ease), top var(--ease); }
  .shobi-header__menu-btn span:nth-child(1) { top: 14px; }
  .shobi-header__menu-btn span:nth-child(2) { top: 22px; }
  .shobi-header__menu-btn span:nth-child(3) { top: 30px; }
  .shobi-header__menu-btn.is-active span:nth-child(1) { top: 22px; transform: rotate(45deg); }
  .shobi-header__menu-btn.is-active span:nth-child(2) { opacity: 0; }
  .shobi-header__menu-btn.is-active span:nth-child(3) { top: 22px; transform: rotate(-45deg); }
  .shobi-header__mobile-nav {
    position: absolute;
    inset: 72px 0 auto;
    height: calc(100svh - 72px);
    z-index: 999;
    padding: 20px 24px 100px;
    display: block;
    color: var(--ink);
    background: rgba(255,255,255,.99);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--ease), visibility var(--ease), transform var(--ease);
  }
  .shobi-header__mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .shobi-header__mobile-nav-item { min-height: 58px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 700; }
  .shobi-header__mobile-nav-en { color: var(--muted); font-family: var(--font-en); font-size: 11px; letter-spacing: .13em; }
  .shobi-header__mobile-cta { min-height: 56px; margin-top: 24px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--red); border-radius: 999px; font-weight: 800; }
  body:has(.shobi-header__mobile-nav.is-open) { overflow: hidden; }
  .shobi-about-teaser__inner,
  .shobi-contribution-teaser__inner { gap: 46px; }
  .shobi-sponsors__list { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 767px) {
  body { font-size: 15px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .shobi-header__inner { width: calc(100% - 32px); height: 68px; }
  .shobi-header__logo { flex-basis: 205px; width: min(205px, calc(100vw - 96px)); }
  .shobi-header__mobile-nav { top: 68px; height: calc(100svh - 68px); }
  .shobi-hero { min-height: 0; height: 430px; }
  .shobi-hero__slide img { object-position: 61% center; }
  .shobi-hero__bg::after { background: linear-gradient(0deg, rgba(5,5,7,.54), rgba(5,5,7,.04) 58%, transparent 76%); }
  .shobi-hero-copy__frame { inset: 12px; }
  .shobi-hero-copy__frame::before,
  .shobi-hero-copy__frame::after { width: 64px; }
  .shobi-hero-brand,
  .shobi-hero-status { bottom: 26px; }
  .shobi-hero-brand { left: 26px; padding-left: 10px; border-left-width: 2px; }
  .shobi-hero-brand__name { font-size: 14px; }
  .shobi-hero-brand__sub { font-size: 8px; letter-spacing: .11em; }
  .shobi-hero-status { right: 26px; gap: 7px; }
  .shobi-hero-status__current { font-size: 18px; }
  .shobi-hero-progress { gap: 3px; }
  .shobi-hero-progress__segment { width: clamp(17px, 5.5vw, 24px); height: 2px; }
  .shobi-hero__inner { width: calc(100% - 40px); padding-top: 90px; padding-bottom: 104px; justify-content: flex-end; }
  .shobi-hero__subtitle { font-size: 11px; }
  .shobi-hero__title { margin: 12px 0 15px; font-size: clamp(36px, 10.5vw, 48px); line-height: 1.16; }
  .shobi-hero__description { margin-bottom: 24px; font-size: 13px; line-height: 1.75; }
  .shobi-hero__buttons { width: 100%; display: grid; grid-template-columns: 1fr; gap: 9px; }
  .shobi-hero__btn { width: 100%; min-height: 52px; }
  .shobi-hero-copy__sns { top: 96px; right: 20px; transform: none; display: flex; }
  .shobi-hero-copy__sns-link { width: 40px; height: 40px; }
  .shobi-hero__scroll { display: none; }
  .katsuta-intro { padding: 48px 20px 56px; }
  .katsuta-intro__inner { grid-template-columns: 1fr; gap: 28px; }
  .katsuta-intro__subtitle { font-size: 11px; }
  .katsuta-intro__title { margin-top: 10px; font-size: clamp(36px, 10.3vw, 44px); }
  .katsuta-intro__description { margin-bottom: 24px; font-size: 14px; line-height: 1.9; }
  .shobi-news,
  .shobi-about-teaser,
  .shobi-contribution-teaser,
  .shobi-sponsors,
  .katsuta-section { padding: 60px 20px; }
  .shobi-news__header { align-items: flex-start; flex-direction: column; margin-bottom: 30px; }
  .katsuta-section__header,
  .shobi-sponsors__header { margin-bottom: 30px; }
  .shobi-news__title-en,
  .shobi-sponsors__title,
  .katsuta-section__title,
  .shobi-about-teaser__title,
  .shobi-contribution-teaser__title { font-size: 34px; }
  .katsuta-section__lead,
  .shobi-about-teaser__text,
  .shobi-contribution-teaser__text { font-size: 14px; line-height: 1.9; }
  .shobi-news__tabs { width: 100%; }
  .shobi-news__tab { flex: 1 1 auto; min-height: 44px; }
  .shobi-news__link { min-height: 0; padding: 20px 4px; grid-template-columns: 1fr 24px; gap: 12px; }
  .shobi-news__meta { grid-column: 1; }
  .shobi-news__text { grid-column: 1; font-size: 14px; }
  .shobi-news__link::after { grid-column: 2; grid-row: 1 / 3; }
  .shobi-news__more-wrap { text-align: left; }
  .shobi-about-teaser__inner,
  .shobi-contribution-teaser__inner { grid-template-columns: 1fr; gap: 34px; }
  .shobi-about-teaser__image,
  .shobi-contribution-teaser__image { order: 1; }
  .shobi-about-teaser__content,
  .shobi-contribution-teaser__content { order: 2; }
  .shobi-about-teaser__image img,
  .shobi-contribution-teaser__image img { aspect-ratio: 4 / 3; }
  .shobi-about-teaser__btn,
  .shobi-contribution-teaser__btn,
  .shobi-sponsors__cta-btn { width: 100%; }
  .katsuta-mid-cta,
  .katsuta-page-cta,
  .shobi-cta { padding: 54px 20px; }
  .katsuta-mid-cta__title,
  .katsuta-page-cta__title,
  .shobi-cta__title { font-size: 31px; }
  .shobi-sponsors__list { grid-template-columns: 1fr; gap: 28px; }
  .shobi-sponsors__item { min-height: 104px; padding: 16px 22px; }
  .shobi-sponsors__item img { width: min(72%, 232px); height: 62px; }
  .shobi-sponsors__cta { margin-top: 36px; padding: 26px 20px; }
  .shobi-sponsors__cta-title { font-size: 20px; }
  .katsuta-page-hero { min-height: 420px; padding: 104px 20px 44px; background-position: 62% center; }
  .katsuta-page-hero::before { background: linear-gradient(0deg, rgba(7,7,9,.94), rgba(7,7,9,.34) 78%); }
  .katsuta-page-hero__title { font-size: clamp(32px, 10.5vw, 43px); text-wrap: balance; }
  .katsuta-page-hero__lead { font-size: 14px; line-height: 1.75; }
  .katsuta-page-hero__lead,
  .katsuta-page-cta__lead,
  .katsuta-mid-cta__lead,
  .shobi-cta__description,
  .katsuta-section__lead,
  .katsuta-card__text,
  .shobi-about-teaser__text,
  .shobi-contribution-teaser__text { line-break: strict; word-break: normal; }
  .katsuta-page-hero__lead br,
  .katsuta-page-cta__lead br,
  .katsuta-mid-cta__lead br,
  .shobi-cta__description br { display: none; }
  .katsuta-section__title,
  .katsuta-intro__title,
  .katsuta-course-heading__title,
  .katsuta-mid-cta__title,
  .katsuta-page-cta__title,
  .shobi-cta__title { text-wrap: balance; }
  .katsuta-grid,
  .katsuta-grid--3,
  .partner-company-grid { grid-template-columns: 1fr; }
  .partner-company-grid { gap: 30px; }
  .katsuta-card { padding: 24px; }
  .katsuta-philosophy-image { grid-template-columns: repeat(2,1fr); }
  .katsuta-philosophy-image img { height: 150px; }
  .katsuta-course-heading__line { width: 28px; }
  .katsuta-course-card { grid-template-columns: 1fr; }
  .katsuta-course-card__left { min-height: 142px; padding: 24px; flex-direction: row; gap: 22px; text-align: left; }
  .katsuta-course-card__left img { width: 92px; max-height: 88px; flex: 0 0 auto; }
  .katsuta-course-card__name { margin: 0; font-size: 21px; }
  .katsuta-course-card__right { padding: 25px 20px; }
  .katsuta-course-meta { grid-template-columns: 1fr; gap: 18px; }
  .katsuta-course-fee-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; }
  .katsuta-director { padding: 60px 20px; }
  .katsuta-director__inner { grid-template-columns: 1fr; gap: 34px; }
  .katsuta-director__image-wrap img { aspect-ratio: 4/3; }
  .katsuta-director__body { width: 100%; justify-self: stretch; }
  .katsuta-map-wrap { grid-template-columns: 1fr; }
  .katsuta-map__iframe iframe { height: 320px; }
  .pros-timeline::before { left: 6px; }
  .pros-timeline__item { grid-template-columns: 1fr; gap: 10px; padding-left: 28px; }
  .pros-timeline__date { font-size: 15px; }
  .pros-timeline__content { padding: 22px 20px; }
  .pros-timeline__content::before { left: -27px; top: -25px; }
  .katsuta-form { margin-inline: -4px; padding: 28px 20px; }
  .katsuta-form__submit { width: 100%; }
  .mobile-cta-bar {
    position: fixed;
    z-index: 1200;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(68px + env(safe-area-inset-bottom));
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 8px;
    background: rgba(255,255,255,.98);
    border-top: 1px solid var(--line-gray);
    box-shadow: 0 -8px 24px rgba(18,37,51,.12);
    backdrop-filter: blur(14px);
  }
  .mobile-cta-bar a { min-width: 0; display: flex; align-items: center; justify-content: center; color: #fff; border-radius: 8px; font-size: 12px; font-weight: 800; line-height: 1.2; white-space: nowrap; transition: transform var(--ease), background var(--ease); }
  .mobile-cta-bar__primary { background: var(--red); }
  .mobile-cta-bar__secondary { background: var(--sky-dark); }
  .mobile-cta-bar a:active { transform: scale(.98); }
  .is-contact-page .mobile-cta-bar { display: none; }
  .is-contact-page { padding-bottom: 0; }
  .shobi-footer { padding: 50px 20px 24px; }
  .shobi-footer__content { grid-template-columns: 1fr; gap: 36px; padding-bottom: 38px; }
  .shobi-footer__logo { width: 220px; }
  .shobi-footer__bottom { flex-direction: column; }
}

@media (max-width: 370px) {
  .shobi-header__logo { width: 184px; }
  .shobi-hero__title { font-size: 34px; }
  .shobi-hero__description { font-size: 12px; }
  .shobi-hero-brand__city { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* WordPress CMS compatibility */
.pros-timeline__entry { display: grid; gap: 6px; }
.pros-timeline__entry + .pros-timeline__entry {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, .08);
}
.pros-timeline__entry-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.pros-timeline__entry-head .pros-timeline__title {
  flex: 1 1 180px;
  margin: 0;
}
.pros-timeline__entry .pros-timeline__text { margin: 0; }
.pros-timeline__entry .pros-timeline__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.pros-timeline__entry .pros-tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
  font-size: 11px;
  font-weight: 700;
}
.wpcf7 .screen-reader-response {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}
.wpcf7-form fieldset.hidden-fields-container {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
}
