/*
Theme Name: Kyonosuke LP Theme v3
Theme URI: https://example.com/
Author: LP CRAFT
Author URI: https://example.com/
Description: 京之介の親子パーソナルサッカー相談サポートLP用のWordPressテーマ。白ベースにスペイン・ドイツの赤、黄、黒を効かせたスマホファースト構成。
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kyonosuke-lp
Tags: landing-page, custom-background, one-column
*/

/* =========================================================
   Kyonosuke LP First Draft
   白ベース × スペイン/ドイツカラーのオリジナルLPデザイン
   Reference mood: editorial / clean / flag accents / soft motion / vertical rhythm
   ========================================================= */

:root {
  /* Spain / Germany inspired palette on a white base */
  --spain-red: #AA151B;
  --spain-yellow: #F1BF00;
  --germany-black: #111111;
  --germany-red: #DD0000;
  --germany-gold: #FFCE00;
  --pitch-green: #2F6B46;

  /* Keep existing variable names so the theme remains stable */
  --green-950: #111111;
  --green-850: #191919;
  --green-700: #AA151B;
  --green-500: #D9A400;
  --green-200: #F3DFB4;
  --green-100: #FFF7DF;
  --cream: #fffaf1;
  --white: #ffffff;
  --ink: #151515;
  --muted: #68625a;
  --line: rgba(17, 17, 17, .12);
  --gold: #F1BF00;
  --red: #AA151B;
  --shadow: 0 24px 80px rgba(17, 17, 17, .12);
  --radius-lg: 32px;
  --radius-md: 18px;
  --font-serif: "Yu Mincho", "Hiragino Mincho ProN", "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(241, 191, 0, .16), transparent 28rem),
    radial-gradient(circle at 92% 0%, rgba(170, 21, 27, .10), transparent 30rem),
    linear-gradient(180deg, #fff 0%, #fffaf1 62%, #fff 100%);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1.1em;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.38;
  letter-spacing: .03em;
}

h1, h2 {
  font-family: var(--font-serif);
  font-weight: 500;
}

h1 {
  font-size: clamp(2.45rem, 6vw, 5.35rem);
  line-height: 1.15;
  letter-spacing: .01em;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 4.25rem);
}

h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
}

button, input, textarea, select {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 9999;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--germany-black) 0%, var(--spain-red) 42%, var(--spain-yellow) 100%);
  transition: width .08s linear;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 22px;
  left: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.brand,
.global-nav,
.menu-button {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 34px rgba(17, 17, 17, .10);
  backdrop-filter: blur(14px);
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--germany-black) 0%, var(--spain-red) 58%, var(--spain-yellow) 100%);
  font-family: var(--font-serif);
  font-size: 1.24rem;
}

.brand-text {
  display: grid;
  line-height: 1.12;
}

.brand-text strong {
  font-size: .88rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.brand-text small {
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 34px rgba(17, 17, 17, .10);
  backdrop-filter: blur(14px);
}

.global-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--green-950);
  font-size: .76rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.global-nav a:hover {
  background: var(--green-100);
}

.global-nav .nav-cta {
  color: white;
  background: var(--green-850);
}

.menu-button {
  display: none;
}

.side-rail {
  position: fixed;
  z-index: 12;
  left: 20px;
  bottom: 24px;
  writing-mode: vertical-rl;
  color: rgba(17, 17, 17, .34);
  font-size: .68rem;
  letter-spacing: .24em;
}

/* Base section */
.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 140px) 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.02rem;
}

.section-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--green-700);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  width: 100%;
  margin: 0;
  padding: 110px 0 56px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.90) 48%, rgba(255,247,223,.92) 100%),
    radial-gradient(circle at 76% 18%, rgba(241, 191, 0, .20), transparent 26rem),
    radial-gradient(circle at 88% 62%, rgba(170, 21, 27, .12), transparent 30rem);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: min(46vw, 620px);
  height: 14px;
  background: linear-gradient(90deg, var(--germany-black) 0 33%, var(--spain-red) 33% 66%, var(--spain-yellow) 66% 100%);
  border-radius: 0 0 0 999px;
  opacity: .95;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, #fffaf1);
  pointer-events: none;
}

.hero-bg-word {
  position: absolute;
  top: 9vh;
  right: -4vw;
  z-index: 0;
  color: rgba(170, 21, 27, .055);
  font-family: var(--font-serif);
  font-size: clamp(4rem, 12vw, 13rem);
  line-height: .82;
  letter-spacing: -.08em;
  text-align: right;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr minmax(360px, 560px);
  gap: min(6vw, 80px);
  align-items: center;
  width: min(1180px, calc(100% - 44px));
  min-height: calc(100svh - 166px);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border: 1px solid var(--green-200);
  border-radius: 999px;
  color: var(--green-700);
  background: rgba(255,255,255,.78);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.hero-lead {
  max-width: 720px;
  margin-top: 26px;
  color: #302c28;
  font-size: clamp(.96rem, 1.35vw, 1.12rem);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 30px;
}

.hero-badges span {
  position: relative;
  overflow: hidden;
  padding: 10px 13px;
  border: 1px solid rgba(170, 21, 27, .18);
  border-radius: 999px;
  color: var(--germany-black);
  background: rgba(255, 247, 223, .90);
  font-size: .82rem;
  font-weight: 700;
}

.hero-badges span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--spain-red), var(--spain-yellow));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .05em;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--germany-black) 0%, var(--spain-red) 100%);
  box-shadow: 0 14px 30px rgba(170, 21, 27, .24);
}

.button.primary:hover {
  background: linear-gradient(135deg, var(--spain-red) 0%, #7f1115 100%);
}

.button.ghost {
  border-color: rgba(241, 191, 0, .52);
  color: var(--germany-black);
  background: rgba(255,255,255,.82);
}

.button.full {
  width: 100%;
}

.micro-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: .86rem;
}

.hero-visual {
  position: relative;
}

.photo-stack {
  position: relative;
  min-height: 660px;
}

.photo-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(241, 191, 0, .38);
  border-radius: clamp(28px, 3vw, 42px);
  background: var(--green-100);
  box-shadow: var(--shadow);
}

.photo-card img {
  height: 100%;
  object-fit: cover;
}

.hero-main-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: min(76%, 430px);
  height: 610px;
}

.hero-main-photo img {
  object-position: center top;
}

.hero-sub-photo {
  position: absolute;
  left: 0;
  bottom: 44px;
  width: 58%;
  height: 270px;
  border: 8px solid rgba(255,255,255,.72);
}

.floating-card {
  position: absolute;
  z-index: 5;
  max-width: 220px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 20px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 16px 44px rgba(17, 17, 17, .12);
  backdrop-filter: blur(14px);
}

.floating-card b {
  display: block;
  color: var(--spain-red);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.floating-card span {
  display: block;
  color: var(--muted);
  font-size: .76rem;
}

.card-01 {
  top: 90px;
  left: 0;
}

.card-02 {
  right: 18px;
  bottom: 20px;
}

.scroll-cue {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  color: rgba(17, 17, 17, .45);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 48px;
  margin: 8px auto 0;
  background: linear-gradient(var(--green-700), transparent);
  animation: cue 1.6s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% { transform: scaleY(.55); transform-origin: top; opacity: .45; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Content blocks */
.two-column {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: start;
}

.text-block {
  font-size: clamp(1rem, 1.25vw, 1.1rem);
}

.worry-card {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: .68em;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--green-700), var(--green-500));
  box-shadow: inset 0 0 0 5px var(--green-100);
}

.about-support {
  display: grid;
  grid-template-columns: .92fr 1fr;
  gap: 58px;
  align-items: center;
}

.split-image {
  position: relative;
}

.split-image::before {
  content: "";
  position: absolute;
  inset: 28px -24px -28px 24px;
  z-index: -1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(241,191,0,.55), rgba(170,21,27,.18));
}

.split-image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.split-content p {
  color: #302c28;
}

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

.mini-card {
  min-height: 290px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.78);
  transition: transform .35s ease, box-shadow .35s ease;
}

.mini-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card-number {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--green-500);
  font-family: var(--font-serif);
  font-size: 2.4rem;
  line-height: 1;
}

.mini-card p {
  color: var(--muted);
  font-size: .92rem;
}

.topics-layout {
  display: grid;
  grid-template-columns: minmax(280px, 440px) 1fr;
  gap: 56px;
  align-items: center;
}

.topics-photo img {
  max-height: 680px;
  object-fit: cover;
  object-position: center;
  border-radius: 999px 999px 38px 38px;
  box-shadow: var(--shadow);
}

.accordion-list,
.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.76);
}

summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--green-850);
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  font-family: var(--font-serif);
  color: var(--green-500);
}

details[open] summary::after {
  content: "−";
}

details p {
  padding: 0 24px 22px;
  color: var(--muted);
}

.reason-list {
  display: grid;
  gap: 16px;
}

.reason {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 28px;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.reason:last-child {
  border-bottom: 1px solid var(--line);
}

.reason span {
  color: var(--green-500);
  font-family: var(--font-serif);
  font-size: 2.6rem;
  line-height: 1;
}

.reason p {
  color: var(--muted);
}

.profile-card {
  display: grid;
  grid-template-columns: minmax(280px, 430px) 1fr;
  gap: 50px;
  align-items: center;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255,255,255,.90), rgba(241,247,240,.88));
  box-shadow: var(--shadow);
}

.profile-photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 28px;
}

.profile-body p {
  color: #302c28;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--green-700);
  font-weight: 700;
}

.text-link::after {
  content: "→";
  transition: transform .25s ease;
}

.text-link:hover::after {
  transform: translateX(5px);
}

/* Plans */
.plans {
  width: min(1180px, calc(100% - 40px));
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.82);
  box-shadow: 0 14px 44px rgba(13, 46, 32, .07);
}

.plan-card.recommended {
  color: white;
  background:
    linear-gradient(145deg, var(--germany-black) 0%, #2a1010 42%, var(--spain-red) 100%);
  transform: translateY(-18px);
  overflow: hidden;
}
.plan-card.recommended::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 9px;
  background: linear-gradient(90deg, var(--germany-black) 0 33%, var(--spain-red) 33% 66%, var(--spain-yellow) 66% 100%);
}

.plan-card.recommended p,
.plan-card.recommended li,
.plan-card.recommended .plan-label {
  color: rgba(255,255,255,.86);
}

.plan-card.recommended .button.primary {
  background: white;
  color: var(--spain-red);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.recommend-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--green-850);
  background: var(--spain-yellow);
  font-size: .78rem;
  font-weight: 700;
}

.plan-label {
  margin: 0 0 14px;
  color: var(--green-500);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.price {
  margin: 18px 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -.02em;
}

.price span {
  margin-left: 4px;
  font-family: var(--font-sans);
  font-size: 1rem;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 20px 0 28px;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.plan-card li::before {
  content: "";
  position: absolute;
  top: .84em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
}

.plan-card .button {
  margin-top: auto;
}

/* Flow */
.flow-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.flow-list li {
  display: grid;
  grid-template-columns: 90px 1fr 1.3fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.flow-list span {
  color: var(--green-500);
  font-family: var(--font-serif);
  font-size: 2.3rem;
  line-height: 1;
}

.flow-list b {
  color: var(--green-850);
  font-size: 1.1rem;
}

.flow-list p {
  color: var(--muted);
}

.notice {
  margin-top: 36px;
  padding: 28px;
  border: 1px solid rgba(215,168,69,.35);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.72);
}

/* Apply */
.apply {
  width: min(1180px, calc(100% - 40px));
}

.apply-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 42px;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(17,17,17,.92) 0%, rgba(170,21,27,.82) 58%, rgba(241,191,0,.58) 100%),
    url("../images/white-kit.webp") center/cover;
  color: white;
  box-shadow: var(--shadow);
}

.apply-copy p {
  color: rgba(255,255,255,.82);
}

.apply .section-kicker {
  color: var(--gold);
}

.form-block {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--green-950);
  font-size: .88rem;
  font-weight: 700;
}

label span {
  display: inline-flex;
  width: fit-content;
  padding: 2px 7px;
  border-radius: 999px;
  color: white;
  background: var(--red);
  font-size: .66rem;
}

input, select, textarea {
  width: 100%;
  border: 1px solid rgba(17,17,17,.18);
  border-radius: 14px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(241,191,0,.22);
}

.form-note {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.6;
}

/* FAQ & closing */
.faq {
  max-width: 920px;
}

.closing {
  position: relative;
  margin-top: 60px;
  padding: 120px 20px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255,250,241,.93) 0%, rgba(17,17,17,.70) 48%, rgba(170,21,27,.88) 100%),
    url("../images/red-dribble-wide.webp") center/cover fixed;
  color: white;
}

.closing-inner {
  max-width: 780px;
  margin: 0 auto;
}

.closing .section-kicker {
  color: var(--gold);
}

.closing p {
  color: rgba(255,255,255,.84);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 40px;
  color: rgba(255,255,255,.72);
  background: linear-gradient(90deg, var(--germany-black), #2a1010, var(--spain-red));
  font-size: .82rem;
}

.sticky-cta {
  position: fixed;
  z-index: 999;
  right: 22px;
  bottom: 22px;
  display: none;
  padding: 14px 20px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--germany-black), var(--spain-red));
  box-shadow: 0 14px 34px rgba(170, 21, 27, .28);
  font-weight: 700;
}

/* Profile sub page */
.sub-page {
  background: var(--cream);
}

.profile-page {
  padding-top: 110px;
}

.profile-hero {
  min-height: 80svh;
}

/* Reveals */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}

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

.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }
.delay-3 { transition-delay: .32s; }

/* Responsive */
@media (max-width: 1040px) {
  .global-nav {
    display: none;
    position: fixed;
    top: 78px;
    right: 22px;
    left: 22px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 24px;
    padding: 12px;
  }

  .global-nav.is-open {
    display: flex;
  }

  .global-nav a {
    padding: 14px 16px;
  }

  .menu-button {
    display: grid;
    gap: 6px;
    width: 52px;
    height: 52px;
    place-content: center;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 50%;
    background: rgba(255,255,255,.78);
    box-shadow: 0 12px 34px rgba(17, 17, 17, .10);
    backdrop-filter: blur(14px);
  }

  .menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--green-850);
  }

  .side-rail {
    display: none;
  }

  .hero-inner,
  .two-column,
  .about-support,
  .topics-layout,
  .profile-card,
  .apply-wrap {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 30px;
  }

  .hero-copy {
    padding-top: 30px;
  }

  .photo-stack {
    min-height: 540px;
  }

  .hero-main-photo {
    width: 68%;
    height: 500px;
  }

  .hero-sub-photo {
    width: 48%;
    height: 210px;
  }

  .cards-grid,
  .plan-grid {
    grid-template-columns: 1fr 1fr;
  }

  .plan-card.recommended {
    transform: none;
  }

  .reason,
  .flow-list li {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .site-header {
    top: 12px;
    left: 12px;
    right: 12px;
  }

  .brand-text small {
    display: none;
  }

  .brand {
    padding-right: 12px;
  }

  .hero {
    padding-top: 86px;
  }

  .hero-inner,
  .section,
  .plans,
  .apply {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: clamp(2.2rem, 12vw, 3.3rem);
  }

  .hero-lead {
    font-size: .96rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .photo-stack {
    min-height: 460px;
  }

  .hero-main-photo {
    right: 0;
    width: 74%;
    height: 420px;
  }

  .hero-sub-photo {
    left: 0;
    bottom: 28px;
    width: 54%;
    height: 170px;
    border-width: 5px;
  }

  .floating-card {
    padding: 12px 14px;
  }

  .card-01 {
    top: 30px;
  }

  .card-02 {
    right: 0;
    bottom: 0;
  }

  .cards-grid,
  .plan-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .mini-card {
    min-height: auto;
  }

  .topics-photo img {
    max-height: 520px;
  }

  .profile-card,
  .apply-wrap {
    padding: 18px;
  }

  .form-block {
    padding: 18px;
  }

  .closing {
    background-attachment: scroll;
    padding: 90px 18px;
  }

  .site-footer {
    display: grid;
    padding: 28px 20px 86px;
  }

  .sticky-cta {
    display: inline-flex;
    left: 14px;
    right: 14px;
    bottom: 14px;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue::after { animation: none; }
}


/* =========================================================
   v3: Spain / Germany color polish
   白を広く残し、赤・黄・黒をアクセントにして力強さと信頼感を追加
   ========================================================= */
h1 strong,
h2 strong {
  color: var(--spain-red);
}

.section-kicker {
  color: var(--spain-red);
}

.section-kicker::before {
  background: linear-gradient(90deg, var(--germany-black), var(--spain-red), var(--spain-yellow));
}

.eyebrow {
  border-color: rgba(241,191,0,.52);
  color: var(--spain-red);
  background: rgba(255,255,255,.88);
}

.hero-bg-word {
  color: rgba(17,17,17,.045);
}

.worry-card,
.mini-card,
.profile-card,
.plan-card,
details,
.form-block {
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,250,241,.86));
}

.worry-card::before,
.profile-card::before {
  content: "";
  display: block;
  width: 76px;
  height: 5px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--germany-black), var(--spain-red), var(--spain-yellow));
}

.check-list li::before,
.plan-card li::before {
  background: linear-gradient(135deg, var(--spain-red), var(--spain-yellow));
  box-shadow: inset 0 0 0 5px #fff8e3;
}

.card-number,
.reason span,
.flow-list span {
  color: var(--spain-yellow);
  text-shadow: 0 1px 0 rgba(0,0,0,.08);
}

summary {
  color: var(--germany-black);
}

summary::after {
  color: var(--spain-red);
}

.text-link {
  color: var(--spain-red);
  border-bottom: 1px solid rgba(170,21,27,.28);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--spain-yellow);
  box-shadow: 0 0 0 4px rgba(241,191,0,.22);
}

label span {
  background: var(--spain-red);
}

.notice {
  border-color: rgba(241,191,0,.55);
  background: linear-gradient(135deg, #fff, #fff7df);
}

.apply .section-kicker,
.closing .section-kicker {
  color: var(--spain-yellow);
}

@media (max-width: 720px) {
  .hero::before {
    width: 100%;
    height: 8px;
    border-radius: 0;
  }
}
