/* ============================================================
   GMO Connect Internship LP — styles
   Layer plan:
     .layer-bg     z-index: 0   — gradients, stripes
     .layer-deco   z-index: 1   — confetti, sparkles, brushes
     .layer-photo  z-index: 2   — image-slot photos
     .layer-content z-index: 3  — text, cards, buttons
     .layer-chrome  z-index: 4  — top nav + side ribbons
============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
  --pink:    #ff5b9e;
  --pink-2:  #ff7eb6;
  --pink-3:  #ffd1e3;
  --pink-bg: #fff0f6;

  --blue:    #4d8bff;
  --blue-2:  #6ea7ff;
  --blue-3:  #c9defb;
  --blue-bg: #eef4ff;

  --teal:    #2ec8d0;
  --teal-2:  #6ee0e6;
  --teal-3:  #c4f0f2;

  --orange:  #ff9a3c;
  --orange-2:#ffb86b;
  --orange-3:#ffe3c8;

  --purple:  #8d6dff;
  --purple-2:#a78aff;
  --purple-3:#d8ccff;

  --yellow:  #ffd84d;
  --yellow-2:#ffe27a;
  --yellow-3:#fff3b0;

  --green:   #2bbf6a;
  --green-3: #c6efd6;

  --ink:    #2a2440;
  --ink-2:  #5a5474;
  --ink-3:  #8a85a3;
  --line:   #e9e5f3;
  --paper:  #ffffff;
  --bg:     #fbf8ff;

  --font-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --font-round: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --font-cursive: "Yusei Magic", "Klee One", "Kaisei Decol", cursive;
}

body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

.page {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  background: var(--paper);
  box-shadow: 0 0 80px rgba(40,30,80,.06);
  overflow: hidden;
}

/* layer helpers */
.layer-bg      { z-index: 0; }
.layer-deco    { z-index: 1; pointer-events: none; }
.layer-photo   { z-index: 2; }
.layer-content { z-index: 3; }
.layer-chrome  { z-index: 4; }

/* ---------------- TOP NAV ---------------- */
.topnav {
  position: relative;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0 28px;
  gap: 24px;
  background: #ffffff;
  border-bottom: 1px solid #f0e9f0;
  z-index: 10;
}
.topnav__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.topnav__logo img {
  height: 18px;
  width: auto;
  display: block;
}
.topnav__links {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: auto;
  margin-right: 16px;
}
.topnav__links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}
.topnav__links a:hover { color: var(--pink); }

.cta-pill {
  background: linear-gradient(90deg, #ff7eb6, #ff5b9e);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 32px 14px 36px;
  border-bottom-left-radius: 999px;
  border-top-left-radius: 999px;
  box-shadow: 0 6px 18px rgba(255,91,158,.35);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform .15s ease;
}
.cta-pill:hover { transform: translateX(-3px); }
.cta-pill span { font-weight: 400; }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  overflow: hidden;
}

/* PC: single composed image replaces all hero internals (below topnav layer) */
.hero__static-pc {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}
.hero .hero__bg,
.hero .hero__deco,
.hero .hero__photo,
.hero .hero__content,
.hero .hero__banner-wrap,
.hero .promise-card,
.hero .hero__mobile-photo,
.hero .connector-strip {
  display: none !important;
}

/* LAYER 0 : hero gradient bg (mostly white with very light pastel hints) */
.hero__bg {
  position: absolute;
  inset: 0;
  background: #ffffff;
}

/* LAYER 1 : decorative brushes & confetti */
.hero__deco { position: absolute; inset: 0; }

.brush {
  position: absolute;
  display: block;
  border-radius: 999px;
  transform: rotate(-20deg);
  opacity: .85;
}
.brush--pink-1 { top: 30px; left: -40px;  width: 320px; height: 22px; background: linear-gradient(90deg, transparent, #ffb6d8 30%, #ff7eb6 70%, transparent); }
.brush--pink-2 { top: 70px; left: -30px;  width: 220px; height: 14px; background: linear-gradient(90deg, transparent, #ffd1e3 30%, #ffa9cf 80%, transparent); }
.brush--blue-1 { top: 110px; left: -20px; width: 180px; height: 12px; background: linear-gradient(90deg, transparent, #c9defb 30%, #8eb6f9 80%, transparent); }
.brush--blue-2 { top: 180px; left: -50px; width: 100px; height: 10px; background: linear-gradient(90deg, transparent, #b9d4ff 30%, #7da7ff 80%, transparent); }

.brush--pink-tr { top: 90px;  right: 220px; width: 200px; height: 18px; transform: rotate(-25deg); background: linear-gradient(90deg, transparent, #ffb6d8 30%, #ff7eb6 70%, transparent); }
.brush--blue-tr { top: 130px; right: 180px; width: 130px; height: 12px; transform: rotate(-25deg); background: linear-gradient(90deg, transparent, #c9defb 30%, #8eb6f9 80%, transparent); }

/* dots */
.dot { position: absolute; border-radius: 50%; }
.dot--p1 { top: 200px; left: 20px;  width: 12px; height: 12px; background: var(--pink-2); }
.dot--p2 { top: 460px; left: 50px;  width: 9px;  height: 9px;  background: var(--pink); opacity:.7; }
.dot--b1 { top: 250px; right: 280px; width: 10px; height: 10px; background: var(--blue); opacity:.7; }
.dot--b2 { top: 520px; right: 240px; width: 8px; height: 8px;  background: var(--blue-2); }
.dot--y1 { top: 360px; right: 60px;  width: 10px; height: 10px; background: var(--yellow); }

.spark { position: absolute; }
.spark--y1 { top: 50px;  left: 220px; width: 22px; height: 22px; }
.spark--y2 { top: 600px; left: 30px;  width: 16px; height: 16px; }
.spark--p1 { top: 540px; right: 50px; width: 18px; height: 18px; }

/* LAYER 2 : photo (sits close to text content, dynamically sized to fit between content and promise-card) */
.hero__photo {
  position: absolute;
  top: clamp(90px, 8vw, 130px);
  left: clamp(440px, 36vw, 540px);
  right: clamp(330px, 24vw, 360px);
  width: auto;
  height: clamp(360px, 30vw, 460px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.hero__photo-img {
  object-position: center top;
}
.hero__photo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  /* soft fade at the bottom to blend into background */
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
}

/* LAYER 3 : hero content (left col, adaptive width) */
.hero__content {
  position: absolute;
  top: 90px;
  left: clamp(20px, 3vw, 48px);
  width: clamp(380px, 32vw, 470px);
}

/* text1 image — replaces cursive heading + sub copy */
.hero__text1 {
  display: block;
  width: 440px;
  height: auto;
  margin: 30px 0 0;
  max-width: 100%;
}

/* banner image overlays photo, full-width across hero */
.hero__banner-wrap {
  position: absolute;
  left: 0; right: 0;
  top: 480px;
  bottom: auto;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 3;
}
.hero__text2 {
  display: block;
  width: 620px;
  height: auto;
  max-width: 92%;
  filter: drop-shadow(0 10px 20px rgba(40,30,80,.18));
}

.badge-yellow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, #ffe27a, #ffd03a);
  color: #5a3a00;
  font-weight: 900;
  font-size: 15px;
  padding: 7px 18px;
  border-radius: 6px;
  font-family: var(--font-round);
  box-shadow: 0 2px 0 #d9a100, 0 6px 14px rgba(200,140,0,.18);
  letter-spacing: .04em;
}
.badge-yellow__star { color: #fff7c0; -webkit-text-stroke: 1px #c89800; }

.hero__title {
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 50px;
  line-height: 1.15;
  margin: 16px 0 14px;
  letter-spacing: -.01em;
  color: #1a1340;
}

.pill-blue {
  display: inline-block;
  background: linear-gradient(90deg, #5da0ff, #4d8bff);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  padding: 8px 22px;
  border-radius: 999px;
  font-family: var(--font-round);
  box-shadow: 0 4px 14px rgba(77,139,255,.30);
  white-space: nowrap;
}

.cursive-heading {
  font-family: var(--font-cursive);
  font-weight: 700;
  font-size: 40px;
  margin: 30px 0 10px;
  color: #1a1340;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, #ff5b9e 0%, #8d6dff 60%, #4d8bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.cursive-heading__deco-l,
.cursive-heading__deco-r {
  -webkit-text-fill-color: #ffd84d;
  font-size: 36px;
  font-family: var(--font-round);
}

.hero__sub {
  font-family: var(--font-cursive);
  font-size: 18px;
  line-height: 1.7;
  margin: 6px 0 28px;
  color: #4a4068;
}

/* hero banner highlighted bands — deprecated, replaced by text2 image */
.hero__banner-row { display: none; }

.hl {
  display: inline-block;
  padding: 4px 14px 6px;
  color: #fff;
  border-radius: 4px;
  letter-spacing: .02em;
}
.hl--pink {
  background: linear-gradient(180deg, #ff6fb5, #ff3b86);
  box-shadow: 0 4px 0 #d61f6a;
}
.hl--blue {
  background: linear-gradient(180deg, #6ea7ff, #3b78ff);
  box-shadow: 0 4px 0 #1f56d6;
  font-size: 22px;
  padding: 4px 12px 6px;
}

/* LAYER 3 : right side promise card (adaptive width) */
.promise-card {
  position: absolute;
  top: clamp(110px, 10vw, 140px);
  right: clamp(16px, 2vw, 32px);
  left: auto;
  width: clamp(260px, 22vw, 310px);
  background: #fff;
  border-radius: 18px;
  padding: 56px 22px 22px;
  box-shadow:
    0 4px 0 #ffe9c0,
    0 18px 40px rgba(120,80,30,.15);
  border: 2px solid #ffe9c0;
}
.promise-card__ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #ffe27a, #ffcb2e);
  color: #5a3a00;
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 16px;
  padding: 10px 22px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 0 #d9a100;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ribbon-arrow { font-size: 14px; }

.promise-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed #f0e6d6;
}
.promise-row:last-child { border-bottom: none; }

.promise-row__icon {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  font-family: var(--font-round);
}
.promise-row__icon svg { width: 22px; height: 22px; }
.promise-row__icon--pink   { background: linear-gradient(180deg, #ff7eb6, #ff5b9e); }
.promise-row__icon--teal   { background: linear-gradient(180deg, #6ee0e6, #2ec8d0); }
.promise-row__icon--orange { background: linear-gradient(180deg, #ffb86b, #ff9a3c); }

.promise-row__body { flex: 1; }
.promise-row__label {
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-2);
}
.promise-row__main {
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 22px;
  color: #1a1340;
  line-height: 1.1;
  margin-top: 2px;
}
.promise-row__main--sm { font-size: 18px; }
.promise-row__main .big { font-size: 32px; color: var(--pink); }
.promise-row__main .big--orange { color: var(--orange); }

.promise-row__note {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 4px;
  line-height: 1.5;
}

/* ============================================================
   CONNECTOR STRIP (pink band between hero and work)
============================================================ */
.connector-strip {
  height: 14px;
  background: linear-gradient(90deg, #ff7eb6, #ff5b9e 50%, #8d6dff);
  position: relative;
}
.connector-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,.15) 18px 22px);
}

/* ============================================================
   WORK CARDS
============================================================ */
.work {
  position: relative;
  padding: 32px 24px 40px;
  background: #fff;
  overflow: hidden;
}

/* Section-wide decoration (shared by work/outcomes/info) */
.section-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.section-deco > * { position: absolute; }

.brush--pink-sec {
  width: 360px; height: 32px;
  background: linear-gradient(90deg, transparent, #ffb6d8 20%, #ff7eb6 60%, #ff5b9e 80%, transparent);
  border-radius: 999px;
  opacity: .9;
}
.brush--blue-sec {
  width: 320px; height: 28px;
  background: linear-gradient(90deg, transparent, #c9defb 20%, #8eb6f9 60%, #5da0ff 80%, transparent);
  border-radius: 999px;
  opacity: .9;
}
.brush--sec-tl { top: 14px; left: -80px; transform: rotate(-22deg); }
.brush--sec-tr { top: 28px; right: -60px; transform: rotate(-22deg); }
.brush--sec-bl { bottom: 30px; left: -70px; transform: rotate(-22deg); }
.brush--sec-br { bottom: 22px; right: -80px; transform: rotate(-22deg); }

/* extra thin accent brushes paired below the bold ones */
.section-deco .brush--pink-sec::after,
.section-deco .brush--blue-sec::after {
  content: '';
  position: absolute;
  left: 30px; right: 30px;
  bottom: -16px;
  height: 10px;
  border-radius: 999px;
  background: inherit;
  opacity: .65;
  filter: blur(.2px);
}

.sec-dot-1 { top: 12% !important; right: 8% !important; left: auto !important; bottom: auto !important; opacity: .95; width: 14px !important; height: 14px !important; }
.sec-dot-2 { bottom: 18% !important; left: 6% !important; top: auto !important; right: auto !important; opacity: .95; width: 12px !important; height: 12px !important; }
.sec-spark-1 { top: 22%; left: 5%; width: 28px; height: 28px; opacity: 1; }
.sec-spark-2 { bottom: 26%; right: 6%; width: 26px; height: 26px; opacity: 1; }

/* lift content above deco */
.work > *:not(.section-deco),
.outcomes > *:not(.section-deco),
.info > *:not(.section-deco) {
  position: relative;
  z-index: 1;
}
.work__heading {
  text-align: center;
  font-family: var(--font-round);
  font-weight: 900;
  font-size: clamp(22px, 2.4vw, 30px);
  color: #1a1340;
  margin: 0 0 12px;
  letter-spacing: .04em;
  position: relative;
}
.work__heading::before,
.work__heading::after {
  content: '';
  display: inline-block;
  width: 36px; height: 3px;
  background: var(--pink);
  vertical-align: middle;
  margin: 0 14px;
  border-radius: 999px;
}
.work__lead {
  text-align: center;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
  margin: 0 0 28px;
  line-height: 1.7;
}
.work__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.job-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 36px 16px 18px;
  border: 2px solid var(--line);
  text-align: center;
}
.job-card__num {
  position: absolute;
  top: -2px; left: 14px;
  background: var(--pink);
  color: #fff;
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 22px;
  padding: 4px 12px 8px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  letter-spacing: .03em;
}
.job-card__icon {
  width: 54px; height: 54px;
  margin: -6px auto 6px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #fff;
}
.job-card__icon svg { width: 32px; height: 32px; }
.job-card__title {
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 18px;
  margin: 6px 0 12px;
  color: #1a1340;
}
.job-card__desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink);
  margin: 12px 0 12px;
  font-weight: 500;
}
.job-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
}

.job-card--pink   { border-color: var(--pink-3);  background: linear-gradient(180deg, #fff 0%, #fff5f9 100%); }
.job-card--pink .job-card__num   { background: var(--pink); }
.job-card--pink .job-card__icon  { color: var(--pink); }
.tag--pink { background: var(--pink-bg); color: var(--pink); }

.job-card--teal   { border-color: var(--teal-3);  background: linear-gradient(180deg, #fff 0%, #f0fbfb 100%); }
.job-card--teal .job-card__num   { background: var(--teal); }
.job-card--teal .job-card__icon  { color: var(--teal); }
.tag--teal { background: #e8f9fa; color: var(--teal); }

.job-card--orange { border-color: var(--orange-3); background: linear-gradient(180deg, #fff 0%, #fff7ee 100%); }
.job-card--orange .job-card__num { background: var(--orange); }
.job-card--orange .job-card__icon { color: var(--orange); }
.tag--orange { background: #fff2e0; color: var(--orange); }

.job-card--purple { border-color: var(--purple-3); background: linear-gradient(180deg, #fff 0%, #f6f2ff 100%); }
.job-card--purple .job-card__num { background: var(--purple); }
.job-card--purple .job-card__icon { color: var(--purple); }
.tag--purple { background: #f1ecff; color: var(--purple); }

/* ============================================================
   OUTCOMES
============================================================ */
.outcomes {
  padding: 36px 24px 32px;
  background: #fdfaff;
  position: relative;
  overflow: hidden;
}
.outcomes__title {
  text-align: center;
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 30px;
  color: #1a1340;
  margin: 0 0 28px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.sparkle { color: var(--yellow); font-size: 26px; }
.outcomes__title-em {
  background: linear-gradient(90deg, #ff5b9e, #8d6dff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.outcomes__title-direct {
  position: relative;
  color: var(--pink);
}
.outcomes__title-direct::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px;
  bottom: -2px;
  height: 8px;
  background: var(--yellow-3);
  z-index: -1;
}

.outcomes__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.outcome {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
}
.outcome__icon {
  width: 56px; height: 56px;
  margin: 4px auto 10px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.outcome__icon svg { width: 30px; height: 30px; }
.outcome__icon--pink   { background: #fff0f6; color: var(--pink); }
.outcome__icon--blue   { background: #eef4ff; color: var(--blue); }
.outcome__icon--green  { background: #e7f8ee; color: var(--green); }
.outcome__icon--orange { background: #fff2e0; color: var(--orange); }
.outcome__icon--purple { background: #f1ecff; color: var(--purple); }

.outcome__title {
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 16px;
  color: #1a1340;
  margin: 0 0 4px;
}
.outcome__sub {
  font-size: 11px;
  color: var(--ink-2);
  margin: 0 0 12px;
  line-height: 1.5;
}
.outcome__list {
  list-style: none;
  margin: 0; padding: 0;
  text-align: left;
  font-size: 12px;
  color: var(--ink);
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}
.outcome__list li {
  display: flex; align-items: center; gap: 8px;
  padding: 3px 0;
}
.outcome__list .muted { color: var(--ink-3); padding-left: 14px; }

.dot-pink, .dot-blue, .dot-green, .dot-orange, .dot-purple {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  flex: 0 0 7px;
}
.dot-pink { background: var(--pink); }
.dot-blue { background: var(--blue); }
.dot-green { background: var(--green); }
.dot-orange { background: var(--orange); }
.dot-purple { background: var(--purple); }

/* ============================================================
   INFO (Conditions / Flow / FAQ)
============================================================ */
.info {
  padding: 36px 24px 40px;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.info__grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.info__col {
  background: #fafaff;
  border-radius: 14px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  width: 100%;
}
.info__title {
  display: flex; align-items: baseline; gap: 10px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--pink);
}
.info__title-en {
  font-family: "Yusei Magic", sans-serif;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: 16px;
  color: var(--pink);
}
.info__title-jp {
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 16px;
  color: #1a1340;
}
.info__title-jp--solo { font-size: 18px; }

/* conditions table — 2 columns when full width */
.cond {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
}
.cond__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  align-items: start;
}
.cond__row:last-child { border-bottom: none; }
.cond__row dt {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
}
.cond__row dt svg { width: 16px; height: 16px; color: var(--pink); flex: 0 0 16px; }
.cond__row dd {
  margin: 0;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* flow — horizontal when stacked-col is full width */
.flow {
  list-style: none;
  margin: 0;
  padding: 30px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.flow::before {
  content: "";
  position: absolute;
  left: 30px; right: 30px; top: 38px;
  height: 3px;
  background: var(--pink-3);
}
.flow__item {
  position: relative;
  padding: 24px 8px 0;
  text-align: center;
}
.flow__dot {
  position: absolute;
  left: 50%; top: -2px;
  transform: translateX(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--pink);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--pink-3);
}
.flow__dot--last { background: var(--blue); box-shadow: 0 0 0 2px var(--blue-3); }
.flow__day {
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 14px;
  color: var(--pink);
  letter-spacing: .04em;
  margin-top: 4px;
}
.flow__item--last .flow__day { color: var(--blue); }
.flow__head {
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 17px;
  color: #1a1340;
  margin: 4px 0 6px;
}
.flow__desc {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.7;
}

/* faq — 2-column grid when full width */
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0;
  transition: box-shadow .15s ease;
}
.faq__item[open] { box-shadow: 0 4px 14px rgba(120,90,200,.08); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--pink-bg);
  color: var(--pink);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 16px;
  transition: transform .2s ease, background .2s ease;
}
.faq__item[open] .faq__plus {
  transform: rotate(45deg);
  background: var(--pink);
  color: #fff;
}
.faq__item p {
  margin: 0;
  padding: 0 18px 14px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.7;
}

.faq__signoff {
  display: flex;
  align-items: end;
  gap: 22px;
  margin-top: 22px;
  grid-column: 1 / -1;
}
.cursive-note {
  flex: 1;
  font-family: var(--font-cursive);
  font-size: 19px;
  line-height: 1.7;
  color: var(--pink);
  margin: 0;
  font-weight: 500;
}

/* ============================================================
   FOOTER CTA
============================================================ */
.footer-cta {
  position: relative;
  background: linear-gradient(90deg, #4d8bff 0%, #6ea7ff 50%, #8d6dff 100%);
  color: #fff;
  padding: 28px 32px;
  overflow: visible;
}
.footer-cta__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .8;
}
.brush--pink-foot {
  position: absolute;
  top: 8px; left: 30%;
  width: 220px; height: 14px;
  background: linear-gradient(90deg, transparent, #ff7eb6 50%, transparent);
  transform: rotate(-15deg);
  border-radius: 999px;
}
.brush--blue-foot {
  position: absolute;
  bottom: 8px; right: 20%;
  width: 180px; height: 12px;
  background: linear-gradient(90deg, transparent, #cfe0ff 50%, transparent);
  transform: rotate(-15deg);
  border-radius: 999px;
}
.footer-cta__deco .dot--p1 { top: 10px; left: 8%; }
.footer-cta__deco .dot--y1 { bottom: 18px; left: 40%; }

.footer-cta__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  padding-right: 290px;
}
.footer-cta__hd {
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 22px;
  margin: 0 0 4px;
}
.footer-cta__sub {
  margin: 0;
  font-size: 13px;
  opacity: .9;
}
.footer-cta__btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-round);
  font-weight: 900;
  font-size: 17px;
  padding: 16px 36px;
  border-radius: 999px;
  box-shadow: 0 8px 0 rgba(0,0,0,.12);
  transition: transform .15s ease;
}
.footer-cta__btn:hover { transform: translateY(-2px); }
.footer-cta__btn span { color: var(--pink); font-weight: 700; }

/* member photo overhanging to the right of the entry button */
.footer-cta__photo {
  position: absolute;
  right: 24px;
  bottom: -32px;
  width: 230px;
  height: auto;
  z-index: 3;
  pointer-events: none;
}


/* ============================================================
   MOBILE-ONLY HERO BANNER PHOTO (landscape)
============================================================ */
.hero__mobile-photo { display: none; }


/* ============================================================
   ========== MOBILE / RESPONSIVE (≤ 768px)  ==================
============================================================ */
@media (max-width: 768px) {

  /* ---------- page shell ---------- */
  body { background: #fff; }
  .page {
    width: 100%;
    max-width: 100%;
    box-shadow: none;
  }

  /* ---------- top nav ---------- */
  .topnav {
    height: 52px;
    padding: 0 0 0 14px;
    background: #ffffff;
  }
  .topnav__links { display: none; }
  .cta-pill {
    font-size: 12px;
    padding: 10px 20px 10px 22px;
    gap: 6px;
  }

  /* ---------- mobile: hide PC static image, restore composed hero ---------- */
  .hero__static-pc { display: none !important; }
  .hero .hero__bg { display: block !important; }
  .hero .hero__deco { display: block !important; }
  .hero .hero__photo { display: block !important; }
  .hero .hero__content { display: block !important; }
  .hero .hero__banner-wrap { display: flex !important; }
  .hero .promise-card { display: block !important; }
  .hero .connector-strip { display: block !important; }

  /* ---------- HERO (nav is now static above; minimal top padding) ---------- */
  .hero {
    height: auto;
    min-height: auto;
    padding: 8px 10px 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 48% 52%;
    grid-template-areas:
      "content photo"
      "banner  banner"
      "promise promise";
    column-gap: 8px;
    row-gap: 0;
    align-items: start;
  }

  .hero__mobile-photo { display: none; }

  /* tame the decorative confetti — keep some, push out of layout */
  .hero__deco {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }
  .brush--pink-1, .brush--pink-2, .brush--blue-1, .brush--blue-2 {
    transform: rotate(-20deg) scale(.6);
    transform-origin: top left;
    opacity: .6;
  }
  .brush--pink-tr, .brush--blue-tr { display: none; }

  /* hero LEFT column — content */
  .hero__content {
    position: relative;
    z-index: 3;
    grid-area: content;
    width: 100%;
    padding: 0;
    text-align: left;
    top: auto !important;
    left: auto !important;
    margin: 0 !important;
    inset: auto !important;
  }
  .hero__title {
    font-size: clamp(15px, 4.6vw, 21px);
    line-height: 1.22;
    margin: 6px 0 8px;
    letter-spacing: -.015em;
    word-break: keep-all;
    overflow-wrap: normal;
  }
  .badge-yellow {
    font-size: clamp(9.5px, 2.9vw, 12px);
    padding: clamp(3px, 1vw, 5px) clamp(8px, 2.6vw, 12px);
    gap: 4px;
  }
  .badge-yellow__star { font-size: 9px; }
  .pill-blue {
    font-size: clamp(10.5px, 3.1vw, 13px);
    padding: clamp(4px, 1.3vw, 6px) clamp(10px, 2.8vw, 14px);
    white-space: nowrap;
  }
  .hero__text1 {
    width: 100%;
    max-width: 200px;
    margin: 10px 0 0;
  }

  /* hero RIGHT column — photo on top, slightly lower for visual balance */
  .hero__photo {
    position: relative;
    grid-area: photo;
    inset: auto;
    top: auto; bottom: auto; left: auto; right: auto;
    transform: none;
    width: 110%;
    margin-left: -5%;
    height: auto;
    z-index: 2;
    pointer-events: none;
    align-items: flex-start;
    display: block;
    margin-top: 28px;
  }
  .hero__photo-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
    -webkit-mask-image: none;
            mask-image: none;
  }

  /* text2 banner — spans both columns, right-anchored, larger but never clipped */
  .hero__banner-wrap {
    position: relative;
    grid-area: banner;
    align-self: start;
    justify-self: end;
    inset: auto;
    bottom: auto;
    margin: -28px 0 0;
    padding: 0;
    z-index: 4;
    justify-content: flex-end;
    pointer-events: none;
    display: flex;
    width: 80%;
    max-width: 100%;
    overflow: visible;
  }
  .hero__text2 {
    width: 100%;
    max-width: 100%;
    filter: drop-shadow(0 4px 10px rgba(40,30,80,.20));
  }
  .hero__text2 {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(40,30,80,.18));
  }
  /* spacer for promise card below hero */
  .promise-card { margin-top: 18px; }

  /* promise card: from absolute side-card → full-width block, 3 columns horizontal */
  .promise-card {
    position: relative;
    top: auto; right: auto;
    width: 100%;
    margin: 16px 0 0;
    padding: 32px 8px 12px;
    grid-area: promise;
  }
  .promise-card__ribbon { font-size: 12px; padding: 7px 12px; }
  .promise-card__rows {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }
  .promise-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 4px;
    gap: 4px;
    border-bottom: none !important;
    border-right: 1px solid var(--line);
    min-width: 0;
  }
  .promise-row:last-child { border-right: none; }
  .promise-row__icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px;
    min-height: 38px;
    max-width: 38px;
    max-height: 38px;
    aspect-ratio: 1 / 1;
    flex: 0 0 38px;
    flex-shrink: 0;
    align-self: center;
    font-size: 18px;
    border-radius: 50%;
  }
  .promise-row__icon svg { width: 18px; height: 18px; }
  .promise-row__body { width: 100%; }
  .promise-row__label { font-size: clamp(9px, 2.6vw, 10.5px); letter-spacing: .04em; font-weight: 700; }
  .promise-row__main { font-size: clamp(11.5px, 3.4vw, 13.5px); font-weight: 900; line-height: 1.3; }
  .promise-row__main--sm {
    font-size: clamp(10.5px, 3.1vw, 12.5px);
    margin-top: 6px;
    line-height: 1.35;
    word-break: keep-all;
  }
  .promise-row__main .big { font-size: clamp(15px, 4.6vw, 19px); }
  .promise-row__main .big--orange { font-size: clamp(15px, 4.6vw, 19px); }
  .promise-row__note { font-size: clamp(8.5px, 2.5vw, 9.5px); line-height: 1.4; margin-top: 2px; word-break: keep-all; }
  .promise-row__note br { display: none; }

  /* ---------- connector strip ---------- */
  .connector-strip { height: 10px; }

  /* ---------- WORK CARDS — 01 top-left, image left, text right ---------- */
  .work { padding: 24px 14px 28px; }
  .work__heading { font-size: 19px; margin: 0 0 8px; letter-spacing: .02em; }
  .work__heading::before,
  .work__heading::after { width: 24px; margin: 0 8px; height: 2px; }
  .work__lead { font-size: 12px; text-align: center; line-height: 1.7; padding: 0 4px; }
  .work__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .job-card {
    position: relative;
    display: grid;
    grid-template-columns: clamp(120px, 36vw, 150px) 1fr;
    grid-template-areas:
      "image  title"
      "image  desc"
      "image  tags";
    column-gap: clamp(12px, 4vw, 20px);
    row-gap: 4px;
    padding: 32px 14px 14px;
    text-align: left;
    align-items: start;
  }
  /* 01 number stays absolutely positioned at top-left, doesn't take grid space */
  .job-card__num {
    position: absolute;
    top: -2px;
    left: 12px;
    font-size: 17px;
    padding: 3px 10px 6px;
    z-index: 2;
  }
  .job-card__icon { display: none; }
  /* image on the LEFT, text on the RIGHT */
  .job-card > image-slot {
    grid-area: image;
    width: clamp(120px, 36vw, 150px) !important;
    height: clamp(80px, 24vw, 100px) !important;
    align-self: center;
    border-radius: 10px;
    overflow: hidden;
  }
  .job-card__title { grid-area: title; font-size: clamp(13px, 3.9vw, 15.5px); margin: 0; text-align: left; line-height: 1.35; word-break: keep-all; }
  .job-card__desc { grid-area: desc; font-size: clamp(10.5px, 3.1vw, 12px); line-height: 1.55; margin: 4px 0 0; text-align: left; }
  .job-card__desc br { display: none; }
  .job-card__tags { grid-area: tags; justify-content: flex-start; gap: 4px; margin-top: 4px; flex-wrap: wrap; }
  .tag { font-size: clamp(8.5px, 2.7vw, 10px); padding: 2px 6px; white-space: nowrap; }

  /* ---------- OUTCOMES ---------- */
  .outcomes { padding: 28px 16px 26px; }
  .outcomes__title {
    font-size: 20px;
    flex-wrap: wrap;
    gap: 6px;
    line-height: 1.4;
  }
  .sparkle { font-size: 18px; }
  .outcomes__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .outcome { padding: 16px 12px; }
  .outcome__title { font-size: 14px; }
  .outcome__sub { font-size: 10.5px; }
  .outcome__list { font-size: 11.5px; }

  /* ---------- INFO (conditions / flow / faq) ---------- */
  .info { padding: 28px 16px 32px; }
  .info__grid { gap: 18px; }
  .info__col { padding: 18px 16px; }
  .info__title { padding-bottom: 10px; margin-bottom: 12px; }
  .info__title-en { font-size: 14px; }
  .info__title-jp,
  .info__title-jp--solo { font-size: 16px; }

  /* conditions: 1 column on mobile */
  .cond {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
  .cond__row {
    grid-template-columns: 110px 1fr;
    gap: 8px;
    padding: 8px 0;
  }
  .cond__row dt { font-size: 12px; }
  .cond__row dt svg { width: 14px; height: 14px; flex: 0 0 14px; }
  .cond__row dd { font-size: 12px; line-height: 1.6; }

  /* flow: back to vertical timeline on mobile */
  .flow {
    grid-template-columns: 1fr;
    padding: 0 0 0 22px;
    gap: 14px;
  }
  .flow::before {
    left: 6px; right: auto;
    top: 8px; bottom: 24px;
    width: 2px; height: auto;
  }
  .flow__item {
    text-align: left;
    padding: 0 0 4px;
  }
  .flow__dot {
    left: -22px; top: 6px;
    transform: none;
    width: 14px; height: 14px;
  }
  .flow__day { font-size: 13px; }
  .flow__head { font-size: 15px; }
  .flow__desc { font-size: 12px; }

  /* faq: 1 column on mobile */
  .faq {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .faq__item summary { font-size: 13px; padding: 12px 14px; }
  .faq__item p { padding: 0 14px 12px; font-size: 12px; }

  .faq__signoff {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .cursive-note { font-size: 16px; text-align: center; }
  .faq__signoff image-slot {
    width: 100% !important;
    height: 180px !important;
    margin: 0 auto;
  }

  /* ---------- FOOTER CTA — text on top, button left + photo right at bottom ---------- */
  .footer-cta { padding: 20px 14px 22px; overflow: hidden; }
  .footer-cta__inner {
    display: grid;
    grid-template-columns: 1fr 72px;
    grid-template-areas:
      "text  text"
      "btn   photo";
    column-gap: 12px;
    row-gap: 12px;
    text-align: center;
    padding-right: 0;
    flex-direction: initial;
    align-items: center;
  }
  .footer-cta__text { grid-area: text; }
  .footer-cta__hd { font-size: 15px; line-height: 1.5; margin: 0 0 4px; }
  .footer-cta__sub { font-size: 11.5px; }
  .footer-cta__btn {
    grid-area: btn;
    font-size: 13px;
    padding: 12px 14px;
    width: 100%;
    min-height: 44px;
    justify-content: center;
    white-space: nowrap;
    gap: 6px;
  }
  .footer-cta__photo {
    grid-area: photo;
    position: static;
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    transform: none;
    margin-left: auto;
  }
}

/* ---------- narrow mobile fine-tuning (≤380px iPhone SE etc) ---------- */
@media (max-width: 380px) {
  .cta-pill { font-size: 11px; padding: 8px 14px; }
  .outcomes__grid { grid-template-columns: 1fr; }
}



/* Header対策 */

header {
    margin-top: 0px !important;
}
	    
@media screen and (max-width:768px) {
header {
	    margin-top: 0px;
	}
}

/* サイトシール対策 20250707改訂*/

.corporate_logo {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 20px 10px;
  display: flex;
  justify-content: start;
}

.corporate_logo img {
  height: 18px;
  width: auto;

}

@media only screen and (max-width: 768px) {
  .corporate_logo {
    justify-content: center;
  }
}

.site_seal {
  display: flex;
  justify-content: center;
  flex-direction: row;
}

.site_seal img{
    width: 115px;
    height: 57px;
}
.site_seal div.site_seal_left {
  padding: 40px 5px 40px 115px;
}
.site_seal div.site_seal_center {
  padding: 40px 5px 0px 5px;
}
.site_seal div.site_seal_right {
  padding: 40px 115px 40px 5px;
}

@media only screen and (max-width: 768px) {

  .site_seal {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
  }


  .site_seal a {
    display: block !important;
  }

  .site_seal div.site_seal_left {
    padding: 40px 5px 40px 0px;
  }
  .site_seal div.site_seal_center {
    padding: 0px 5px 0px 5px;
  }
  .site_seal div.site_seal_right {
    padding: 40px 0px 40px 5px;
  }

}

.footer_area_bg {
  background-color: #fff;

}

