/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue:       #00477b;
  --pink:       #c71781;
  --bg-light:   #f2f5f9;
  --text-dark:  #333;
  --text-mid:   #555;
  --text-muted: #6e7c92;
  --white:      #fff;
  --line-green: #06c755;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  background: #e8edf3;
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; }

/* ============================================================
   PAGE WRAPPER (375px mobile centered)
   ============================================================ */
.page-wrapper {
  max-width: 390px;
  margin: 0 auto;
  background: var(--white);
  position: relative;
  overflow-x: hidden;
  padding-bottom: 80px; /* space for fixed bottom CTA */
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-label {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.section-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.4px;
  color: var(--blue);
  margin-top: 4px;
}

.section-header {
  display: flex;
  flex-direction: column;
}

.section-header.center {
  align-items: center;
  text-align: center;
}

/* ------------------------------------------------------------
   見出しスクロールインアニメーション
   英語ラベル(.section-label / .about-pc-label)と
   日本語タイトル(.section-title / .about-pc-title)で
   別の動きをつける。JSが .section-header / .about-pc-text に
   is-visible を付与するのに合わせて発火する。
   ------------------------------------------------------------ */
.section-label,
.about-pc-label {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.section-title,
.about-pc-title {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.35s,
              transform 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}

.section-header.is-visible .section-label,
.about-pc-text.is-visible .about-pc-label {
  opacity: 1;
  transform: translateY(0);
}

.section-header.is-visible .section-title,
.about-pc-text.is-visible .about-pc-title {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .section-label,
  .about-pc-label,
  .section-title,
  .about-pc-title {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 100;
  padding-top: 19px;
  padding-left: 20px;
  padding-right: 20px;
}

.site-logo img {
  width: 170px;
  height: 30px;
  object-fit: contain;
}

.menu-toggle {
  background: var(--blue);
  width: 75px;
  height: 75px;
  border-radius: 6px;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
}

.menu-bar {
  display: block;
  width: 27px;
  height: 1px;
  background: var(--white);
}

.menu-word {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.2px;
  color: var(--white);
  text-transform: uppercase;
  margin-top: 3px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  height: 620px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: -382px;
  width: 1124px;
  height: 612px;
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 267px;
  left: 0;
  right: 0;
  height: 349px;
  background: linear-gradient(to top, rgba(4,14,28,0.8) 0%, rgba(4,14,28,0) 100%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  bottom: 120px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  gap: 0;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroWrite {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
  to   { -webkit-mask-position: 0% 0;   mask-position: 0% 0; }
}

.hero-brand {
  width: 290px;
  height: auto;
  -webkit-mask-image: linear-gradient(to right, black 45%, transparent 55%);
  mask-image: linear-gradient(to right, black 45%, transparent 55%);
  -webkit-mask-size: 220% 100%;
  mask-size: 220% 100%;
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  animation: heroWrite 3.6s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

.hero-tagline {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 1.7px;
  color: var(--white);
  text-align: center;
  text-transform: uppercase;
  margin-top: 24px;
  animation: heroFadeUp 1.8s cubic-bezier(0.22, 0.61, 0.36, 1) 4.0s both;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  pointer-events: none;
}

.hero-wave img {
  width: 100%;
  height: 81px;
  object-fit: fill;
}

/* ============================================================
   PLANS SECTION
   ============================================================ */
.section-plans {
  background: var(--white);
  padding: 56px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-img {
  position: relative;
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
}

.plan-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plan-tag {
  position: absolute;
  top: 0;
  left: 0;
  height: 26px;
  width: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: var(--white);
  border-radius: 12px 4px 12px 4px;
}

.plan-tag.blue { background: var(--blue); }
.plan-tag.pink { background: var(--pink); }

.plan-name {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.2px;
  color: var(--text-mid);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-yen {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--blue);
}

.price-amount {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.3px;
  color: var(--blue);
}

.price-unit {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: var(--text-muted);
}

.btn-outline {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--blue);
  border-radius: 20px 8px 20px 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  letter-spacing: 1.6px;
  color: var(--text-mid);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-arrow {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--blue);
  transition: color 0.2s;
}

.btn-outline:hover .btn-arrow {
  color: var(--white);
}

/* ============================================================
   CATEGORY SECTION
   ============================================================ */
.section-category {
  background: var(--white);
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-category .section-header {
  padding: 0 20px;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.cat-card {
  position: relative;
  height: 221px;
  overflow: hidden;
  display: block;
  box-shadow: 0 8px 12px rgba(102,92,46,0.12);
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.45s ease;
}
.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 32px rgba(102,92,46,0.22);
}

.cat-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cat-card:hover .cat-img {
  transform: scale(1.04);
}

.cat-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0) 40%,
    rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}

.cat-num-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: 16px 4px 16px 4px;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.8px;
  color: var(--white);
}

.cat-num-tag.blue { background: var(--blue); }
.cat-num-tag.pink { background: var(--pink); }

.cat-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px;
  color: #f2f5f9;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cat-subtitle {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.5px;
}

.cat-name {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.cat-desc {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 500;
  font-size: 10px;
  line-height: 1.5;
}

.cat-arrow {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 500;
  font-size: 10px;
  text-align: right;
  margin-top: 4px;
}

/* ============================================================
   HOW TO SECTION
   ============================================================ */
.section-howto {
  background: var(--white);
  padding: 56px 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.steps {
  display: flex;
  flex-direction: column;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 56px;
  flex-shrink: 0;
  min-height: 200px;
}

.step:last-child .step-left {
  min-height: auto;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-line {
  flex: 1;
  width: 1px;
  background: rgba(0,71,123,0.25);
  margin-top: 2px;
  min-height: 40px;
}

.step-content {
  flex: 1;
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 6px;
}

.step:last-child .step-content {
  padding-bottom: 0;
}

.step-label {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1.2px;
  color: var(--text-muted);
}

.step-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.4px;
  color: var(--blue);
}

.step-text {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.7px;
  color: var(--text-dark);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.section-about {
  background: var(--bg-light);
  padding: 56px 0 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-about .section-header {
  padding: 0 20px;
}

.about-hero-wrap {
  display: flex;
  flex-direction: column;
  position: relative;
}

.about-hero-img {
  height: 240px;
  overflow: hidden;
}

.about-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-wave {
  position: relative;
  margin-top: -30px;
  z-index: 2;
}

.about-wave img {
  width: 100%;
  height: 81px;
  display: block;
}

.about-text {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-heading {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.75;
  letter-spacing: 0.4px;
  color: var(--blue);
}

.about-body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.7px;
  color: var(--text-dark);
}

.about-divider {
  height: 1px;
  background: rgba(0,71,123,0.2);
  margin: 0 20px;
}

.about-categories {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-cat-heading {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.3px;
  color: var(--text-dark);
}

.about-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-cat-card {
  position: relative;
  border-radius: 12px;
  padding: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(102,92,46,0.1);
  min-height: 118px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-cat-card.pink-border { border: 1px solid rgba(199,23,129,0.45); }
.about-cat-card.blue-border { border: 1px solid rgba(0,71,123,0.45); }

.about-cat-bg {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  overflow: hidden;
}

.about-cat-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.55));
}

.about-cat-num {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1.2px;
  color: var(--blue);
  position: relative;
  z-index: 1;
}

.about-cat-name {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  color: #f2f5f9;
  position: relative;
  z-index: 1;
}

.about-cat-desc {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.75;
  color: #f2f5f9;
  position: relative;
  z-index: 1;
}

.about-tagline {
  text-align: center;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.about-tagline p {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.9px;
  color: var(--blue);
}

/* ============================================================
   QUOTE SECTION
   ============================================================ */
.section-quote {
  background: var(--white);
  padding: 14px 20px 24px;
  overflow: hidden;
}

.quote-card {
  background: var(--white);
  border-radius: 10px;
  position: relative;
  overflow: visible;
  height: 110px;
}

.quote-mark {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 23px;
  height: 18px;
  z-index: 2;
  overflow: hidden;
}

.quote-mark img {
  width: 23px;
  height: 18px;
  display: block;
}

.quote-body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.8px;
  color: var(--text-dark);
  position: absolute;
  left: 22px;
  top: 19px;
  width: 252px;
  z-index: 1;
}

.quote-body p + p { margin-top: 0; }

.quote-author-wrap {
  position: absolute;
  left: 211px;
  top: 82px;
  width: 95px;
  height: 49px;
  z-index: 1;
  overflow: hidden;
}

.quote-author {
  width: 95px;
  height: 49px;
  display: block;
}

.quote-illust {
  position: absolute;
  left: 264px;
  top: -14px;
  width: 104px;
  height: 128px;
}

.quote-illust img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   MARQUEE SECTION  — SP base (PC overrides inside @media)
   ============================================================ */
.section-marquee {
  background: var(--blue);
  overflow: hidden;
  margin: 70px 0;
  padding: 40px 0;
  position: relative;
}

.marquee-viewport {
  position: relative;
  overflow: hidden;
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 20px;
  width: max-content;
  white-space: nowrap;
  animation: marquee-scroll 32s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.quote-item {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--white);
  flex-shrink: 0;
}

.quote-dot {
  font-size: 8px;
  color: var(--pink);
  flex-shrink: 0;
}

.marquee-fade-left,
.marquee-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 5;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--blue), transparent);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--blue), transparent);
}

/* ============================================================
   PLANNER SECTION
   ============================================================ */
.section-planner {
  background: var(--bg-light);
  padding: 46px 20px 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.planner-card {
  background: var(--white);
  border-radius: 24px;
  padding: 32px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  box-shadow: 0 8px 22px rgba(102,92,46,0.06);
}

.planner-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.planner-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.planner-role {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1.2px;
  color: var(--text-muted);
}

.planner-name {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.4px;
  color: var(--blue);
}

.planner-sns {
  display: flex;
  gap: 15px;
  align-items: center;
}

.sns-link img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.planner-bio {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.7px;
  color: var(--text-dark);
  text-align: center;
  width: 100%;
}

.btn-line {
  width: 100%;
  background: #00b900;
  border-radius: 28px 8px 28px 8px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--white);
  box-shadow: 0 6px 14px rgba(0,115,0,0.18);
  transition: opacity 0.2s;
}

.btn-line:hover { opacity: 0.88; }

.line-icon {
  width: 16px;
  height: 16px;
}

/* ============================================================
   COMPANY SECTION
   ============================================================ */
.section-company {
  background: var(--white);
  padding: 56px 20px 64px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.company-table {
  display: flex;
  flex-direction: column;
}

.company-row {
  border-bottom: 1px solid rgba(0,71,123,0.15);
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.company-row.last { border-bottom: none; }

.company-row dt {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.row-en {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 500;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.row-sep {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 500;
  color: var(--text-muted);
}

.row-ja {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--text-dark);
}

.company-row dd {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0.7px;
  color: var(--text-dark);
  margin-left: 0;
}

.company-row dd small {
  font-size: 12px;
  color: var(--text-muted);
}

.company-row dd a {
  color: var(--text-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.company-row dd a:hover {
  opacity: 0.6;
}

/* ============================================================
   BOTTOM CTA (FIXED)
   ============================================================ */
.bottom-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 390px;
  background: var(--white);
  padding: 17px 16px 17px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 -3px 14px rgba(102,92,46,0.1);
  z-index: 200;
}

.cta-text {
  flex: 1;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-mid);
}

.cta-line-btn {
  background: var(--line-green);
  border-radius: 24px 8px 24px 8px;
  padding: 14px 16px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(6,199,85,0.3);
  white-space: nowrap;
  transition: opacity 0.2s;
}

.cta-line-btn:hover { opacity: 0.88; }

/* ============================================================
   UTILITY: MOB-ONLY / PC-ONLY
   ============================================================ */
.pc-only { display: none; }
/* .mob-only は何も指定しない（デフォルト表示） */

/* ============================================================
   SMALL (400px – 599px): 390px固定を解除
   ============================================================ */
@media (min-width: 400px) and (max-width: 599px) {

  /* ページラッパー：390px固定を解除 */
  .page-wrapper {
    max-width: 100%;
  }

  /* 固定CTAバー */
  .bottom-cta {
    max-width: 100%;
  }

  /* ヒーロー：全幅対応 */
  .hero-bg {
    left: 0;
    width: 100%;
    height: 100%;
  }

  .hero-brand {
    width: clamp(290px, 75vw, 340px);
  }
}

/* ============================================================
   TABLET BREAKPOINT (600px – 1023px)
   ============================================================ */
@media (min-width: 600px) and (max-width: 1023px) {

  /* ページラッパー：390px固定を解除 */
  .page-wrapper {
    max-width: 100%;
  }

  /* 固定CTAバー */
  .bottom-cta {
    max-width: 100%;
  }

  /* ヒーロー：全幅対応 */
  .hero-bg {
    left: 0;
    width: 100%;
    height: 100%;
  }

  .hero-brand {
    width: clamp(290px, 50vw, 420px);
  }

  /* プランセクション */
  .section-plans {
    padding: 56px 48px 32px;
  }

  .plan-img {
    height: 200px;
  }

  /* カテゴリセクション */
  .section-category .section-header {
    padding: 0 48px;
  }

  .cat-card {
    height: 280px;
  }

  /* クォートセクション */
  .section-quote {
    padding: 14px 48px 24px;
  }

  /* ハウツーセクション */
  .section-howto {
    padding: 56px 48px 48px;
  }

  /* Aboutセクション */
  .section-about .section-header {
    padding: 0 48px;
  }

  .about-hero-img {
    height: 340px;
  }

  .about-text {
    padding: 0 48px;
  }

  .about-divider {
    margin: 0 48px;
  }

  .about-categories {
    padding: 0 48px;
  }

  /* マーキーセクション */
  .marquee-track {
    padding-left: 48px;
  }

  /* プランナーセクション */
  .section-planner {
    padding: 46px 48px 48px;
  }

  /* 会社概要セクション */
  .section-company {
    padding: 56px 48px 64px;
  }
}

/* ============================================================
   TABLET LARGE (768px – 1023px): 3カラム・4カラム対応
   ============================================================ */
@media (min-width: 768px) and (max-width: 1023px) {

  /* プランセクション：3カラム */
  .section-plans {
    padding: 56px 60px 32px;
  }

  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .plan-img {
    height: 220px;
  }

  /* カテゴリセクション：4カラム横並び */
  .section-category .section-header {
    padding: 0 60px;
  }

  .category-grid {
    display: flex;
  }

  .cat-card {
    flex: 1;
    height: 320px;
  }

  /* クォートセクション */
  .section-quote {
    padding: 14px 60px 24px;
  }

  /* ハウツーセクション */
  .section-howto {
    padding: 56px 60px 48px;
  }

  /* Aboutセクション */
  .about-hero-img {
    height: 400px;
  }

  .about-text {
    padding: 0 60px;
  }

  .about-divider {
    margin: 0 60px;
  }

  .about-categories {
    padding: 0 60px;
  }

  .about-cat-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .about-cat-card {
    min-height: 160px;
  }

  /* プランナーセクション */
  .section-planner {
    padding: 46px 60px 48px;
  }

  /* 会社概要セクション */
  .section-company {
    padding: 56px 60px 64px;
  }
}

/* ============================================================
   PC BREAKPOINT (≥ 1024px)
   ============================================================ */
@media (min-width: 1024px) {

  /* ユーティリティ */
  .mob-only { display: none !important; }
  .pc-only  { display: block; }

  /* ページラッパー */
  .page-wrapper {
    max-width: none;
    padding-bottom: 0;
  }

  /* ============================================================
     PC HEADER
     ============================================================ */
  .site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 80px;
    padding: 20px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
  }

  .site-logo img { width: 170px; height: 30px; object-fit: contain; }

  .pc-nav {
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .pc-nav a {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    transition: opacity 0.2s;
  }

  .pc-nav a:hover { opacity: 0.75; }

  .pc-nav .pc-nav-line {
    background: #00b900;
    padding: 14px 24px;
    border-radius: 28px 8px 28px 8px;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,185,0,0.25);
    transition: opacity 0.2s;
  }

  .pc-nav .pc-nav-line:hover { opacity: 0.88; }

  /* ============================================================
     PC HERO
     ============================================================ */
  .hero {
    height: 801px;
  }

  .hero-bg {
    left: 0;
    width: 100%;
    height: 801px;
  }

  .hero-overlay {
    top: 0;
    left: 0;
    right: 0;
    height: 801px;
    background: linear-gradient(
      to right,
      rgba(4,14,28,0.15) 0%,
      rgba(4,14,28,0.55) 55%,
      rgba(4,14,28,0.85) 100%
    );
  }

  .hero-content {
    top: 279px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    gap: 0;
    flex-direction: column-reverse; /* タグライン上・画像下 */
  }

  .hero-brand { width: 500px; }

  .hero-tagline {
    font-size: 14px;
    letter-spacing: 3px;
  }

  /* スクロールヒント */
  .hero-scroll-hint {
    position: absolute;
    right: 60px;
    bottom: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
  }

  .scroll-text {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 2.4px;
    color: #fff;
  }

  .scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.6);
  }

  /* ============================================================
     PC PLANS
     ============================================================ */
  .section-plans {
    padding: 30px 120px 0;
    gap: 40px;
    align-items: center;
  }

  .section-plans .section-label {
    font-size: 14px;
    letter-spacing: 2.4px;
  }

  .section-plans .section-title {
    font-size: 36px;
    letter-spacing: 1.8px;
    margin-top: 8px;
  }

  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
  }

  .plan-img {
    height: 280px;
    border-radius: 16px;
  }

  .plan-name {
    font-size: 18px;
    letter-spacing: 0.36px;
  }

  .price-yen   { font-size: 14px; color: var(--text-mid); }
  .price-amount { font-size: 22px; color: var(--text-mid); font-weight: 500; }
  .price-unit  { font-size: 13px; }

  .btn-outline {
    width: auto;
    padding: 20px 48px;
    border-radius: 32px 8px 32px 8px;
    font-size: 13px;
  }

  /* ============================================================
     PC CATEGORY
     ============================================================ */
  .section-category {
    padding: 60px 0 0;
    gap: 40px;
  }

  .section-category .section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 120px;
  }

  .section-category .section-label {
    font-size: 14px;
    letter-spacing: 2.4px;
  }

  .section-category .section-title {
    font-size: 36px;
    letter-spacing: 1.8px;
    margin-top: 8px;
  }

  .cat-caption {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.75;
    color: #666;
    text-align: right;
    display: block;
  }

  .category-grid {
    display: flex;
    grid-template-columns: none;
  }

  .cat-card {
    flex: 1;
    height: 424px;
  }

  /* カテゴリカード内コンテンツ：カード下部を埋め、テキストを底寄せ */
  .cat-content {
    top: 266px;
    bottom: 0;
    padding: 24px 70px 24px 24px; /* 右側に arrow 用のスペース確保 */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
  }

  .cat-subtitle { font-size: 12px; letter-spacing: 1.6px; }
  .cat-name     { font-size: 22px; letter-spacing: 0.4px; white-space: nowrap; }
  .cat-desc     { font-size: 13px; line-height: 1.8; }

  /* arrow: 右下に絶対配置 */
  .cat-arrow {
    position: absolute;
    right: 24px;
    bottom: 24px;
    text-align: right;
    font-size: 11px;
    letter-spacing: 1.2px;
    white-space: nowrap;
    margin-top: 0;
  }

  /* ============================================================
     PC HOW TO
     ============================================================ */
  .section-howto {
    padding: 80px 120px;
    gap: 40px;
  }

  .section-howto .section-title {
    font-size: 36px;
    letter-spacing: 1.8px;
  }

  .steps {
    flex-direction: row;
    gap: 24px;
  }

  .step {
    flex: 1;
    flex-direction: column;
    align-items: center;
    background: var(--bg-light);
    border-radius: 20px;
    padding: 36px 32px;
    gap: 20px;
  }

  .step-left {
    flex-direction: row;
    width: auto;
    min-height: auto;
    justify-content: center;
  }

  .step-num {
    width: 72px;
    height: 72px;
    font-size: 22px;
    border-radius: 50%;
  }

  .step-content {
    align-items: center;
    text-align: center;
    padding-bottom: 0;
    padding-top: 0;
  }

  .step-label  { font-size: 12px; letter-spacing: 1.6px; }
  .step-title  { font-size: 22px; letter-spacing: 0.6px; text-align: center; }
  .step-text   { font-size: 16px; line-height: 2; letter-spacing: 0.8px; text-align: center; }

  /* ============================================================
     PC ABOUT
     ============================================================ */
  .section-about {
    padding-top: 0;
    padding-bottom: 10px;
    gap: 0;
  }

  .about-hero-wrap {
    position: relative;
    height: 720px;
    overflow: hidden;
  }

  .about-hero-img {
    height: 720px;
    position: absolute;
    inset: 0;
  }

  .about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to right,
      rgba(0,0,0,0.15) 0%,
      rgba(0,0,0,0.3) 40%,
      rgba(0,0,0,0.65) 100%
    );
    pointer-events: none;
    z-index: 1;
  }

  .about-pc-text {
    position: absolute;
    right: 120px;
    top: 110px;
    width: 560px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    z-index: 2;
  }

  .about-pc-label {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.85);
  }

  .about-pc-title {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 56px;
    letter-spacing: 2px;
    color: #fff;
  }

  .about-pc-heading {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 42px;
    color: #fff;
  }

  .about-pc-body {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 26px;
    color: rgba(255,255,255,0.92);
  }

  .about-pc-taglines {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .about-pc-taglines p {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    color: #fff;
  }

  .about-wave-pc {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
  }

  .about-wave-pc img {
    width: 100%;
    height: 81px;
    display: block;
    object-fit: fill;
  }

  /* リードテキスト（カード上） */
  .about-pc-lead {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.75;
    letter-spacing: 1.1px;
    color: var(--text-mid);
    text-align: center;
    padding: 40px 0 0;
    white-space: nowrap;
  }

  /* カテゴリカード（4列） */
  .about-categories {
    padding: 40px 128px 0;
    gap: 20px;
  }

  .about-cat-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .about-cat-card {
    min-height: 260px;
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(102,92,46,0.1);
    padding: 24px;
  }

  .about-cat-num  { font-size: 13px; letter-spacing: 1.6px; color: #fff; }
  .about-cat-name { font-size: 18px; letter-spacing: 0.4px; }
  .about-cat-desc { font-size: 13px; line-height: 1.75; }

  /* ============================================================
     PC MARQUEE — overrides for desktop size
     ============================================================ */
  .marquee-track {
    gap: 20px;
    padding-left: 80px;
    animation-duration: 40s;
  }

  .quote-item { font-size: 15px; }

  .quote-dot { font-size: 9px; }

  .marquee-fade-left,
  .marquee-fade-right { width: 80px; }

  /* ============================================================
     PC PLANNER
     ============================================================ */
  .section-planner {
    padding: 40px 120px;
    gap: 20px;
  }

  .section-planner .section-header {
    padding: 0;
  }

  .section-planner .section-label {
    font-size: 14px;
    letter-spacing: 3px;
  }

  .section-planner .section-title {
    font-size: 36px;
    letter-spacing: 2px;
    line-height: 48px;
    margin-top: 12px;
  }

  .planner-card {
    flex-direction: row;
    align-items: center;
    gap: 60px;
    padding: 64px;
    border-radius: 16px;
    height: 392px;
    box-shadow: none;
  }

  .planner-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    flex-shrink: 0;
  }

  .planner-photo {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
  }

  .planner-sns { display: flex; gap: 12px; }

  .planner-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    min-width: 0;
  }

  .planner-info {
    align-items: flex-start;
    text-align: left;
  }

  .planner-role {
    font-size: 12px;
    letter-spacing: 2.5px;
  }

  .planner-name {
    font-size: 36px;
    letter-spacing: 1px;
    margin-top: 8px;
  }

  .planner-bio {
    font-size: 15px;
    line-height: 1.87;
    text-align: left;
    letter-spacing: 0.5px;
  }

  .btn-line {
    width: auto;
    padding: 18px 30px;
    font-size: 15px;
    border-radius: 28px 8px 28px 8px;
  }

  /* ============================================================
     PC COMPANY
     ============================================================ */
  .section-company {
    padding: 80px 120px 0;
    gap: 40px;
  }

  .section-company .section-title {
    font-size: 36px;
    letter-spacing: 1.8px;
  }

  /* 2カラムレイアウト */
  .company-grid {
    display: flex;
    gap: 80px;
    width: 100%;
    align-items: flex-start;
  }

  .company-col {
    flex: 1;
    min-width: 0;
  }

  /* 各カラム内の最後の行はボーダーなし */
  .company-col .company-row:last-child {
    border-bottom: none;
  }

  /* モバイルで最初のカラム最終行にあったボーダーはPC不要 */
  .company-table .company-row {
    padding: 22px 0;
  }

  .company-row dt { font-size: 12px; }
  .company-row dd {
    font-size: 15px;
    letter-spacing: 0.7px;
    line-height: 1.75;
  }

  /* ============================================================
     PC FOOTER
     ============================================================ */
  .site-footer {
    background: var(--blue);
    padding: 60px 120px 40px;
    margin: 0 -120px 0;
    width: calc(100% + 240px);
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .footer-brand, .site-footer__brand {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 2.5px;
    color: #fff;
  }

  .footer-info, .site-footer__info {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.8px;
    color: #fff;
  }

} /* end @media (min-width: 1024px) */

/* ============================================================
   PC 中間ブレークポイント: 1024px ~ 1199px
   ヘッダーとセクション余白を圧縮してバランスを保つ
   ============================================================ */
@media (min-width: 1024px) and (max-width: 1199px) {

  /* ヘッダー */
  .site-header {
    padding: 20px 32px;
  }

  .site-logo img {
    width: 130px;
    height: 23px;
  }

  .pc-nav {
    gap: 18px;
  }

  .pc-nav a {
    font-size: 12px;
  }

  .pc-nav .pc-nav-line {
    padding: 12px 18px;
    font-size: 12px;
  }

  /* ヒーロースクロールヒント */
  .hero-scroll-hint {
    right: 32px;
  }

  /* プランセクション */
  .section-plans {
    padding: 30px 60px 0;
  }

  /* カテゴリセクション */
  .section-category .section-header {
    padding: 0 60px;
  }

  .section-category .section-title {
    font-size: 28px;
  }

  /* ハウツーセクション */
  .section-howto {
    padding: 80px 60px;
  }

  /* Aboutセクション */
  .about-pc-text {
    right: 60px;
    width: 460px;
  }

  .about-pc-title {
    font-size: 32px;
  }

  .about-pc-heading {
    font-size: 22px;
  }

  .about-categories {
    padding: 40px 60px 0;
  }

  .about-cat-grid {
    gap: 14px;
  }

  /* プランナーセクション */
  .section-planner {
    padding: 40px 60px;
  }

  .planner-card {
    padding: 48px;
    gap: 40px;
  }

  .planner-photo {
    width: 200px;
    height: 200px;
  }

  .planner-name {
    font-size: 28px;
  }

  /* 会社概要セクション */
  .section-company {
    padding: 80px 60px 0;
  }

  .company-grid {
    gap: 48px;
  }

  /* フッター */
  .site-footer {
    margin: 0 -60px 0;
    width: calc(100% + 120px);
    padding: 60px 60px 40px;
  }
}

/* ============================================================
   MOBILE: company-col 積み重ね補正
   ============================================================ */
@media (max-width: 1023px) {
  .company-grid {
    display: block;
  }

  /* モバイルでは最初のカラム最終行にボーダーを残す（次のカラムとの区切り） */
  .company-col:first-child .company-table .company-row:last-child {
    border-bottom: 1px solid rgba(0,71,123,0.15);
  }

  /* モバイルでの最終行（全体の） */
  .company-col:last-child .company-table .company-row:last-child {
    border-bottom: none;
  }

  .planner-left,
  .planner-right {
    display: contents; /* フラット化して既存のモバイルスタック表示を維持 */
  }
}

/* ============================================================
   SP DRAWER MENU
   ============================================================ */
.sp-drawer {
  position: fixed;
  inset: 0;
  background: #00477b;
  z-index: 500;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sp-drawer.is-open {
  transform: translateX(0);
}

.sp-drawer-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding-bottom: 48px;
}

/* ヘッダー */
.sp-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px 0 24px;
}

.sp-drawer-logo img {
  width: 170px;
  height: 30px;
  object-fit: contain;
}

.sp-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 0;
}

.sp-drawer-close-x {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 30px;
  color: #fff;
  line-height: 1;
  display: block;
}

.sp-drawer-close-label {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.1px;
  color: #fff;
  display: block;
}

/* ナビゲーション */
.sp-drawer-nav {
  margin-top: 62px;
  padding: 0 28px;
  flex: 1;
}

.sp-drawer-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  text-decoration: none;
}

.sp-drawer-nav-texts {
  transition: transform 0.3s ease;
}

.sp-drawer-nav-arrow {
  transition: transform 0.3s ease;
}

.sp-drawer-nav-item:hover .sp-drawer-nav-texts {
  transform: translateX(6px);
}

.sp-drawer-nav-item:hover .sp-drawer-nav-arrow {
  transform: translateX(10px);
}

.sp-drawer-nav-texts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sp-drawer-nav-en {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.32px;
  display: block;
}

.sp-drawer-nav-ja {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.48px;
  display: block;
}

.sp-drawer-nav-arrow {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 500;
  font-size: 20px;
  flex-shrink: 0;
}

/* フッター */
.sp-drawer-footer {
  margin-top: 48px;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.sp-drawer-line-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  background: #06c755;
  border-radius: 28px;
  color: #fff;
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
}

.sp-drawer-line-btn span {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.sp-drawer-sns {
  display: flex;
  gap: 16px;
  align-items: center;
}

.sp-drawer-sns a {
  display: flex;
  align-items: center;
}

.sp-drawer-brand {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.sp-drawer-copy {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.55);
  margin: -10px 0 0;
}

/* PCではドロワー非表示 */
@media (min-width: 1024px) {
  .sp-drawer { display: none !important; }
}

/* ドロワー開時のbodyスクロール禁止 */
body.drawer-open {
  overflow: hidden;
}
