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

:root {
  --red:       #FF0000;
  --red-dark:  #CC0000;
  --red-light: #fff0f0;
  --black:     #1a1a1a;
  --gray-600:  #555555;
  --gray-400:  #999999;
  --gray-100:  #f5f5f5;
  --white:     #ffffff;
  --border:    #e8e8e8;

  --font-serif: 'Zen Old Mincho', 'Cormorant Garamond', serif;
  --font-sans:  'Noto Sans JP', sans-serif;

  --radius: 4px;
  --transition: 0.22s ease;

  --container: 960px;
  --section-py: 96px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ===================== CONTAINER ===================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== SECTION COMMONS ===================== */
.section {
  padding: var(--section-py) 0;
}

.section__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section__eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 8px;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--black);
  margin-bottom: 48px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  border: 2px solid var(--red);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }

.btn--sm { padding: 10px 22px; font-size: 13px; }
.btn--lg { padding: 18px 48px; font-size: 16px; }

.btn--outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn--outline:hover { background: var(--red); color: var(--white); }

/* ===================== FADE-UP ===================== */
.fade-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== NAV ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--red);
  height: 60px;
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.04em;
}

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
  background: var(--white);
}

/* Big ▶ watermark */
.hero__bg-mark {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(200px, 30vw, 400px);
  color: var(--red);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.hero__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero__label::before {
  content: '▶';
  font-size: 9px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 28px;
}

.hero__text {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 480px;
}

/* scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.hero__scroll span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--red), transparent);
  margin: 0 auto;
  animation: scrollLine 1.6s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===================== CONCEPT ===================== */
.concept {
  background: var(--gray-100);
  border-top: 3px solid var(--red);
}

.concept__diagram {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.concept__svg {
  width: 100%;
  max-width: 400px;
}

.concept__text {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 2;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* ===================== WHY ===================== */
.why { background: var(--white); }

.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

.why__card {
  background: var(--white);
  padding: 36px 32px;
  position: relative;
}

.why__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.why__card:hover::before { transform: scaleX(1); }

.why__num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 16px;
}

.why__card-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 12px;
}

.why__card-text {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.9;
}

/* ===================== SERVICE ===================== */
.service { background: var(--gray-100); }

.service__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.service__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.service__item:hover {
  border-color: var(--red);
  box-shadow: 0 4px 20px rgba(255,0,0,0.08);
}

.service__icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.service__name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 10px;
}

.service__desc {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.9;
}

/* ===================== STYLE ===================== */
.style { background: var(--white); }

.style__catch {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.5vw, 26px);
  line-height: 1.8;
  margin-bottom: 48px;
  color: var(--black);
}

.style__catch-sub {
  margin-top: 12px;
  font-size: clamp(20px, 3vw, 30px);
}

.accent { color: var(--red); font-style: normal; }
.accent-y { color: var(--red); font-style: normal; font-weight: 700; }

.style__compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 48px;
}

.style__col {
  padding: 32px 28px;
}

.style__col--no {
  background: var(--gray-100);
  border-right: 1px solid var(--border);
}

.style__col--yes {
  background: var(--white);
}

.style__col-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  color: var(--black);
}
.style__col--yes .style__col-title { color: var(--red); }

.style__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.style__list li {
  font-size: 14px;
  color: var(--gray-600);
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}
.style__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gray-400);
  font-size: 12px;
}
.style__col--yes .style__list li::before {
  content: '▶';
  color: var(--red);
  font-size: 9px;
  top: 4px;
}

.style__reason {
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  padding: 36px 40px;
}

.style__reason-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}

.style__reason-text {
  font-size: 14px;
  line-height: 2;
  opacity: 0.92;
}

/* ===================== PRICE ===================== */
.price { background: var(--gray-100); }

.price__tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  background: var(--white);
}

.price__tab {
  flex: 1;
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gray-600);
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.price__tab:last-child { border-right: none; }
.price__tab--active,
.price__tab:hover { background: var(--red); color: var(--white); }

.price__panel { display: block; }
.price__panel--hidden { display: none; }

/* Fixed plan */
.price__plan-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 3px solid var(--red);
}

.price__plan-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 2px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.price__plan-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--black);
}

.price__plan-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
}

.price__plan-unit {
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 400;
}

.price__breakdown {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
}

.price__breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 32px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.price__breakdown-item:last-child { border-bottom: none; }

.price__inc {
  color: var(--red);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.price__breakdown-total {
  background: var(--gray-100);
  font-weight: 700;
  font-size: 16px;
}
.price__breakdown-total span:last-child { color: var(--red); }

/* Simulator */
.price__sim {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.price__group {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.price__group-head { margin-bottom: 16px; }

.price__group-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.price__group-sub {
  font-size: 12px;
  color: var(--gray-400);
}

.price__sim-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.price__sim-label {
  font-size: 13px;
  color: var(--gray-600);
  min-width: 160px;
}

.price__unit { font-size: 13px; color: var(--gray-400); }

.price__group-subtotal {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--gray-600);
}

.price__subtotal-num { font-weight: 700; color: var(--black); font-size: 15px; }

.price__sim-row--fixed {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 14px 20px;
}

.price__sim-fixed { font-weight: 700; color: var(--red); }

.price__sim-result {
  background: var(--white);
  border: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 28px 32px;
}

.price__sim-breakdown {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price__sim-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 16px;
  border-top: 2px solid var(--red);
  font-size: 14px;
  font-weight: 700;
}

.price__sim-total-num {
  font-size: 28px;
  color: var(--red);
  font-weight: 700;
}

.price__suggest {
  margin-top: 16px;
  background: var(--red-light);
  border: 1px solid rgba(255,0,0,0.2);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 13px;
  color: var(--black);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.price__suggest--hidden { display: none; }
.price__suggest-icon { flex-shrink: 0; font-size: 16px; }

/* Table */
.price__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}

.price__table thead tr {
  background: var(--red);
  color: var(--white);
}

.price__table th,
.price__table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.price__table tbody tr:hover { background: var(--gray-100); }

.price__table-item { font-weight: 700; }
.price__table-note { display: block; font-size: 12px; font-weight: 400; color: var(--gray-400); }

.price__badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 2px;
  font-weight: 700;
}
.price__badge--inline { vertical-align: middle; }

.price__note {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 16px;
}

/* ===================== COUNTER & SLIDER ===================== */
.counter {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.counter__btn {
  width: 36px;
  height: 36px;
  background: var(--gray-100);
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--gray-600);
  transition: background var(--transition);
}
.counter__btn:hover { background: var(--red); color: var(--white); }

.counter__val {
  display: inline-block;
  min-width: 40px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  padding: 0 4px;
}

.slider-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.slider {
  flex: 1;
  height: 4px;
  accent-color: var(--red);
  cursor: pointer;
}

.slider-num {
  font-weight: 700;
  color: var(--black);
  min-width: 24px;
  text-align: right;
}

/* ===================== FLOW ===================== */
.flow { background: var(--white); }

.flow__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
}

.flow__step {
  flex: 1;
  min-width: 160px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-right: none;
  background: var(--white);
  position: relative;
  transition: border-color var(--transition);
}
.flow__step:last-of-type { border-right: 1px solid var(--border); }
.flow__step:hover { border-color: var(--red); }

.flow__num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 12px;
}

.flow__title {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--black);
}

.flow__text {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.85;
}

.flow__arrow {
  display: flex;
  align-items: center;
  padding: 0 6px;
  color: var(--red);
  font-size: 14px;
  margin-top: 28px;
}

/* ===================== PROFILE ===================== */
.profile { background: var(--gray-100); }

.profile__inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.profile__icon {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--red);
}

.profile__icon svg { width: 100%; height: 100%; }

.profile__body { flex: 1; min-width: 260px; }

.profile__name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}

.profile__location {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.profile__text {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 2;
  margin-bottom: 24px;
}

.profile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-block;
  font-size: 12px;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 4px 12px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

/* ===================== CTA ===================== */
.cta {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: var(--section-py) 0;
}

.cta__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  opacity: 0.75;
  margin-bottom: 16px;
  display: block;
}

.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.3;
}

.cta__text {
  font-size: 15px;
  opacity: 0.88;
  line-height: 1.9;
  margin-bottom: 40px;
}

.cta .btn {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}
.cta .btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }

/* ===================== FOOTER ===================== */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 36px 0;
  text-align: center;
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
}

.footer__copy {
  font-size: 12px;
  color: #888;
  letter-spacing: 0.06em;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  :root { --section-py: 64px; }

  .style__compare {
    grid-template-columns: 1fr;
  }
  .style__col--no { border-right: none; border-bottom: 1px solid var(--border); }

  .flow__steps { flex-direction: column; }
  .flow__step { border-right: 1px solid var(--border); border-bottom: none; }
  .flow__step:last-of-type { border-bottom: 1px solid var(--border); }
  .flow__arrow { transform: rotate(90deg); margin: 4px auto; }

  .price__plan-header { flex-direction: column; }
  .price__sim-row { flex-wrap: wrap; }
  .price__sim-label { min-width: auto; width: 100%; }

  .profile__inner { flex-direction: column; align-items: center; text-align: center; }
  .profile__tags { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .fade-up { transition: none; }
  .hero__scroll span { animation: none; }
}
