:root {
  --bg: #ffffff;
  --surface: #faf8f3;
  --surface-2: #f4efe5;
  --sand: #d3c6a6;
  --sand-deep: #c6b48a;
  --text: #111111;
  --muted: rgba(17, 17, 17, 0.72);
  --muted-2: rgba(17, 17, 17, 0.52);
  --line: rgba(17, 17, 17, 0.08);
  --line-strong: rgba(17, 17, 17, 0.14);
  --shadow-soft: 0 24px 80px rgba(17, 17, 17, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
}

.planner-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

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

button {
  font: inherit;
}

.planner-page img,
.planner-hero img,
.system-card img,
.planner-list img,
.guideline-card img {
  display: block;
  width: 100%;
  height: auto;
}

.container {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.container--narrow {
  width: calc(100vw - 32px);
  max-width: 840px;
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.pc-only {
  display: none;
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(17, 17, 17, 0.68);
}

.section-head {
  margin-bottom: 28px;
}

.section-head--between {
  display: block;
}

.section-head--center {
  text-align: center;
}

.section-title {
  margin: 10px 0 0;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.section-subtext {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 2;
  color: var(--muted);
}

.section-subtext--wide {
  max-width: 780px;
  margin-inline: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 500;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

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

.button--dark {
  background: #111;
  color: #fff;
}

/* hero */
.planner-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  overflow: hidden;
  background: #111;
}

.planner-hero__media,
.planner-hero__media picture,
.planner-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.planner-hero__media img {
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.04);
  will-change: transform;
}

.planner-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.42) 55%, rgba(0, 0, 0, 0.72) 100%);
}

.planner-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 64px;
}

.planner-hero__eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.6);
}

.planner-hero__title {
  margin: 12px 0 0;
  font-size: 44px;
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: #fff;
}

.planner-hero__lead {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
}

.planner-hero__glass {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  margin-top: 24px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.planner-hero__glass-num {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #fff;
}

.planner-hero__glass-text {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.74);
  white-space: normal;
}

.planner-hero__actions {
  margin-top: 14px;
}

.planner-hero__cta {
  display: inline-block;
  font-size: 13px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

.planner-hero__cta:hover {
  opacity: 1;
}

.planner-hero__scroll {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.9;
}

.planner-hero__scroll::before {
  content: "";
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.6);
}

.planner-hero__scroll span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.7);
}

/* system */
.planner-system {
  background: #fff;
}

.system-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.system-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff 0%, #fcfbf8 100%);
}

.system-card__num {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(17, 17, 17, 0.42);
}

.system-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.38;
  letter-spacing: -0.02em;
}

.system-card p {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 2;
  color: var(--muted);
}

.system-band {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  padding: 20px 18px;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid rgba(17, 17, 17, 0.05);
}

.system-band__left h3 {
  margin: 8px 0 0;
  font-size: 22px;
  line-height: 1.32;
  letter-spacing: -0.03em;
}

.system-band__right p {
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

/* planner list */
.planner-list {
  background: #fff;
}

.planner-list .container {
  padding-left: 24px;
  padding-right: 24px;
}

.planner-list .section-subtext {
  max-width: 32rem;
}

.planner-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 10px;
  row-gap: 20px;
  margin-top: 24px;
}

.planner-list-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  text-align: center;
}

.planner-list-item__image {
  width: 68px;
  height: 68px;
  margin: 0 0 4px;
  overflow: hidden;
  border-radius: 50%;
  flex: 0 0 68px;
  background: #f4f1eb;
}

.planner-list-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.planner-list-item__name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1.26;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #222;
  text-align: center;
}

.planner-list-item__name-first,
.planner-list-item__name-last {
  display: block;
  width: 100%;
}

/* guideline */
.planner-guideline {
  background: #f8f8f6;
}

.planner-guideline .section-head {
  margin-bottom: 32px;
}

.planner-guideline .section-subtext {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

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

.guideline-card {
  position: relative;
  padding: 22px 18px 20px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
}

.guideline-card__num {
  margin: 0 0 14px;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #7e7562;
}

.guideline-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #222;
}

.guideline-card p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #555;
}

/* faq */
.section--faq {
  background: #fff;
}

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

.faq-item {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 2;
  color: var(--muted);
}

/* cta */
.planner-cta {
  padding: 0 0 112px;
  background: #fff;
}

.planner-cta__box {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 32px;
  background: linear-gradient(135deg, #111 0%, #1b1b1b 100%);
  color: #fff;
  overflow: hidden;
}

.planner-cta__box::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: rgba(211, 198, 166, 0.12);
  filter: blur(20px);
}

.planner-cta__copy,
.planner-cta__actions {
  position: relative;
  z-index: 1;
}

.planner-cta__title {
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.planner-cta__text {
  max-width: 620px;
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.78);
}

/* responsive */
@media (min-width: 768px) {
  .pc-only {
    display: inline;
  }

  .container {
    width: min(1280px, calc(100% - 48px));
  }

  .container--narrow {
    width: min(840px, calc(100vw - 40px));
  }

  .section {
    padding: 112px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head--between {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
  }

  .section-title {
    font-size: clamp(28px, 4vw, 48px);
  }

  .planner-hero__inner {
    padding-bottom: 80px;
  }

  .planner-hero__title {
    font-size: clamp(44px, 9vw, 96px);
  }

  .planner-hero__lead {
    font-size: 15px;
  }

  .planner-hero__glass {
    margin-top: 26px;
    padding: 12px 18px;
    border-radius: 18px;
  }

  .planner-hero__glass-num {
    font-size: 19px;
  }

  .planner-hero__glass-text {
    white-space: nowrap;
  }

  .system-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
  }

  .system-card {
    padding: 22px 20px;
  }

  .system-card h3 {
    font-size: 22px;
  }

  .system-band {
    gap: 20px;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding: 28px;
  }

  .system-band__left h3 {
    font-size: 24px;
  }

  .system-band__right p {
    font-size: 14px;
  }

  .planner-list .container {
    padding-left: 32px;
    padding-right: 32px;
  }

  .planner-list-grid {
    column-gap: 16px;
    row-gap: 24px;
    margin-top: 28px;
  }

  .planner-list-item__image {
    width: 76px;
    height: 76px;
    margin: 0 0 5px;
    flex-basis: 76px;
  }

  .planner-list-item__name {
    font-size: 13px;
    line-height: 1.28;
  }

  .planner-guideline .section-head {
    margin-bottom: 40px;
  }

  .guideline-grid {
    gap: 16px;
  }

  .guideline-card {
    padding: 26px 24px 24px;
    border-radius: 20px;
  }

  .guideline-card__num {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .guideline-card h3 {
    margin-bottom: 14px;
    font-size: 22px;
  }

  .guideline-card p:last-child {
    font-size: 15px;
    line-height: 1.9;
  }

  .planner-cta__box {
    grid-template-columns: 1fr auto;
    align-items: end;
    padding: 40px;
  }
}

@media (min-width: 1024px) {
  .planner-list-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 36px;
    row-gap: 0;
    margin-top: 32px;
  }

  .planner-list-item {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-align: left;
  }

  .planner-list-item__image {
    width: 58px;
    height: 58px;
    margin: 0;
    flex: 0 0 58px;
  }

  .planner-list-item__name {
    display: block;
    font-size: 14px;
    line-height: 1.2;
    text-align: left;
    white-space: nowrap;
  }

  .planner-list-item__name-first,
  .planner-list-item__name-last {
    display: inline;
    width: auto;
  }

  .planner-list-item__name-first::after {
    content: " ";
  }

  .planner-guideline .section-head {
    margin-bottom: 48px;
  }

  .guideline-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
  }

  .guideline-card {
    height: 100%;
    padding: 28px 24px 26px;
    border-radius: 22px;
  }

  .guideline-card h3 {
    min-height: 2.8em;
    font-size: 23px;
    line-height: 1.35;
  }

  .guideline-card p:last-child {
    font-size: 15px;
    line-height: 1.95;
  }
}

@media (min-width: 1100px) {
  .planner-hero__inner {
    padding-bottom: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .planner-hero__cta {
    transition: none;
  }

  .button:hover {
    transform: none;
  }

  .planner-hero__media img {
    transform: none;
  }
}