/* Visual refinement. Original copy, assets, section order and destinations are retained. */
:root {
  --color-surface-base: #fffefa;
  --color-surface-alt: #f6f3ed;
  --color-text-primary: #30291f;
  --color-text-secondary: #655f55;
  --color-text-tertiary: #7c7468;
  --color-accent: #88703f;
  --color-accent-dark: #765b30;
  --color-accent-light: #b99a64;
  --color-border: #e6dfd3;
  --shadow-card: 0 4px 20px rgba(65, 49, 25, .035);
  --shadow-card-hover: 0 10px 28px rgba(65, 49, 25, .07);
  --radius-xs: 16px;
  --font-editorial: 'Shippori Mincho', 'Yu Mincho', serif;
  --page-gutter: clamp(22px, 5vw, 72px);
}

body { font-weight: 400; line-height: 1.85; }
::selection { color: #30291f; background: #eadcbe; }
section[id] { scroll-margin-top: 98px; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 5px;
}
.btn-primary, .btn-outline { min-height: 48px; letter-spacing: .055em; }
.btn-primary { background: var(--color-accent); box-shadow: 0 4px 12px #765b3017; }
.btn-primary:hover { background: var(--color-accent-dark); box-shadow: 0 6px 18px #765b3026; }
.btn-outline { border: 1px solid #cfc5b4; }
.btn-large { min-height: 60px; }

/* An airy masthead and a quiet, editorial first view. */
.header {
  height: 80px;
  padding: 0 max(var(--page-gutter), calc((100vw - 1200px) / 2));
  justify-content: space-between;
  gap: 36px;
  background: rgba(255, 254, 250, .96);
  border-bottom: 1px solid #e6dfd3a6;
  box-shadow: none;
}
.header-logo img { height: 56px !important; width: auto; }
.header-nav { margin-left: auto; gap: 30px; }
.header-nav a { padding: 12px 0; font-size: 13px; letter-spacing: .05em; }
.header-actions { gap: 10px; }
.header-actions .btn-primary, .header-actions .btn-outline { padding-inline: 24px; font-size: 13px; }
.hero {
  padding: 0;
  margin-top: 80px;
  min-height: min(760px, calc(100svh - 80px));
  align-items: center;
  background: #f6f2e9;
}
.hero-bg-img { right: 44%; }
.hero-bg-img img { object-position: 38% center; }
.hero-overlay { background: linear-gradient(90deg, transparent 36%, #f6f2e9 55%); }
.hero-content {
  max-width: 1440px;
  margin-inline: auto;
  padding: 100px var(--page-gutter) 94px;
}
.hero-left { margin-left: 56%; max-width: 560px; }
.hero-title {
  font-family: var(--font-editorial);
  font-size: clamp(34px, 3.45vw, 52px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .035em;
  white-space: normal;
  color: var(--color-text-primary);
  margin-bottom: 28px;
}
.hero-title br { display: initial; }
.hero-title em { color: var(--color-accent-dark); }
.hero-desc { display: block; font-size: 14px; line-height: 2.1; color: #655b4c; margin-bottom: 32px; }
.hero-desc br { display: none; }
.hero-actions { margin-top: 0; }
.hero-cta-wrap { width: 100%; max-width: 430px; gap: 13px; }
.btn-hero {
  align-self: flex-start;
  min-width: 320px;
  min-height: 62px;
  padding: 18px 36px !important;
  font-size: 15px !important;
  box-shadow: 0 8px 20px #765b3026 !important;
}
.btn-hero:hover { box-shadow: 0 10px 24px #765b3038 !important; }
.hero-cta-note { font-size: 11px; color: #756a58; text-align: left; padding-left: 15px; }
.hero-area-note { margin-top: 8px; padding-top: 16px; border-top: 1px solid #d9cfbe; font-size: 11px; line-height: 1.9; text-align: left; color: #7c7161; }
.hero-area-expanding { background: #e9dfcd; color: #6b5635; font-size: 10px; }
.hero-service-label {
  top: 30px;
  left: var(--page-gutter);
  padding: 8px 17px;
  border: 1px solid #ffffff80;
  border-radius: 3px;
  clip-path: none;
  background: #fffdf0d9;
}
.slabel-text { font-size: 11px; letter-spacing: .14em; color: #5f503a; }
.slabel-deco { color: #927b50; }

/* One gutter and a consistent rhythm across the long-form page. */
section:not(.hero):not(.disclaimer-note) { padding: 96px var(--page-gutter); }
.section-inner { width: 100%; max-width: 1120px; padding: 0; }
.section-label { font-family: Georgia, serif; font-size: 12px; letter-spacing: .2em; font-weight: 400; margin-bottom: 15px; gap: 16px; }
.section-label::after { width: 48px; background: #b6a080; }
.section-title { font-family: var(--font-editorial); font-size: clamp(26px, 2.8vw, 38px); font-weight: 600; line-height: 1.6; letter-spacing: .025em; margin-bottom: 18px; text-wrap: balance; }
.section-desc { max-width: 720px; font-size: 14px; line-height: 2; }
.section-title em { display: inline-block; }
.features { background: #fbf9f5; }
.features-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 42px; }
.feature-card { grid-column: span 2; border: 1px solid var(--color-border); padding: 30px; border-radius: 14px; }
.feature-card:nth-last-child(2):nth-child(3n + 1),
.feature-card:last-child:nth-child(3n + 2) { grid-column: span 3; }
.feature-card:hover { border-color: #c7b79b; transform: translateY(-3px); }
.feature-icon { width: 48px; height: 48px; border-radius: 50%; background: #f5efe4; margin-bottom: 23px; }
.feature-title { font-size: 16px; line-height: 1.65; margin-bottom: 10px; }
.feature-desc { font-size: 13px; line-height: 1.95; }
.philosophy { background: #eee8dc; }
.philosophy-body { border-left-width: 1px; padding-left: 34px; line-height: 2.2; gap: 27px; }
.philosophy-lead { font-size: clamp(17px, 2vw, 21px); }
.badare-section { background: #fffefa; }
.badare-section .feature-card { background: #fbfaf7; box-shadow: none; }
.how { background: #f6f3ed; }
.how-header { margin-bottom: 48px; }
.steps { gap: 24px; }
.steps::before { top: 38px; background: #c9b897; }
.step { padding: 10px 12px; }
.step-num { background: #f6f3ed; position: relative; z-index: 1; width: 58px; height: 58px; border: 1px solid #c2ad87; font-family: Georgia, serif; font-size: 22px; font-weight: 400; margin-bottom: 24px; }
.step-title { margin-bottom: 12px; }
.step-desc { line-height: 1.9; }
.profiles { background: #fffefa; }
.profiles-carousel-wrap { margin-inline: 0; }
.profiles-chat-grid { padding: 8px 0 18px; }
.chat-card { width: 300px; min-width: 300px; padding: 26px 22px; border-top: 1px solid var(--color-border); }
.chat-header { padding-bottom: 17px; border-bottom: 1px solid #eee8de; }
.chat-avatar { width: 52px; height: 52px; border: 1px solid #d9c9ac; }
.chat-user-meta, .chat-footer, .voice-meta { font-size: 12px; }
.bubble.received { background: #f3f0e9; }
.bubble.sent { background: #927c54; }
.carousel-dots { gap: 0; margin-top: 10px; }
.carousel-dot, .carousel-dot.active { position: relative; width: 32px; height: 36px; border-radius: 0; background: transparent; }
.carousel-dot::after { content: ''; position: absolute; width: 6px; height: 6px; top: 15px; left: 13px; background: #d8cdb9; border-radius: 100px; transition: width .2s, left .2s, background .2s; }
.carousel-dot.active::after { width: 20px; left: 6px; background: var(--color-accent); }

/* Pricing stays comparable, with the existing recommended plan emphasized. */
.plans { background: #f0ece3; }
.plans-grid { gap: 12px; margin-top: 50px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.plan-card { min-width: 0; padding: 32px 18px 20px; border-radius: 12px; box-shadow: none; }
.plan-card.featured { background: #fffdf7; border: 2px solid #9b7c47; padding: 31px 17px 19px; box-shadow: 0 10px 30px #765b3012; }
.plan-name { color: #655a49; font-size: 13px; margin-bottom: 15px; }
.plan-price { font-family: Georgia, 'Noto Sans JP', sans-serif; font-size: clamp(26px, 2.6vw, 35px); font-weight: 400; letter-spacing: -.03em; white-space: nowrap; }
.plan-price span { font-family: var(--font-family-primary); font-size: 11px; letter-spacing: 0; }
.plan-lump { margin-top: 3px; font-size: 12px; }
.plan-desc { min-height: 64px; font-size: 12px; line-height: 1.8; margin-top: 10px; }
.plan-card .btn-primary, .plan-card .btn-outline { font-size: 12px; padding-inline: 8px; letter-spacing: .02em; }
.plan-badge { font-size: 11px; padding: 4px 17px; box-shadow: none; top: -15px; }
.women-free-banner { border-color: #d9cbb2; padding: 27px 30px; border-radius: 12px; background: #ffffffa8; }
.women-free-label { font-family: Georgia, serif; letter-spacing: .13em; font-size: 12px; }
.women-free-title { font-family: var(--font-editorial); font-size: 21px; margin: 6px 0; }
.comparison-scroll { border: 1px solid var(--color-border); border-radius: 12px; }
.comparison-table th, .comparison-table td { padding: 20px 16px; line-height: 1.85; }
.comparison-table thead th { color: #746a5b; padding-block: 22px; }
.col-ours-head { background: #4d432f !important; border-radius: 0; }
.col-ours { background: #f4efe3; }
.matching-diag { margin-top: 46px; background: #f6f2e9; border-color: #ded3bf; border-radius: 16px; padding: 36px; }
.matching-diag-title { font-family: var(--font-editorial); font-size: 24px; line-height: 1.6; }
.matching-diag-desc { line-height: 1.9; }
.stat-item { border-color: #e2d8c4; box-shadow: none; }
.stat-item.highlight { background: #806a43; border-color: #806a43; }
.func-grid { gap: 18px; }
.func-card { padding: 28px 20px; box-shadow: none; }
.func-icon { border-radius: 50%; background: #efe7d7; margin-bottom: 19px; }
.func-name { font-size: 15px; margin-bottom: 10px; }
.func-desc { font-size: 13px; line-height: 1.85; }
.func-badge { margin-top: 12px; }
.today-talk { background: #29281f; }
.today-talk::before { background: radial-gradient(ellipse at 90% 20%, #a88b4730, transparent 60%); opacity: 1; }
.today-talk-sub, .today-talk-body p { color: #d6d2c7; }
.today-talk-card { background: #ffffff04; border-color: #857451; box-shadow: none; }
.talk-post { border-color: #a99b7b35; }
.voice-grid { padding-block: 8px 18px; }
.voice-card { width: 330px; min-width: 330px; padding: 30px; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; }
.voice-stars { letter-spacing: .15em; margin-bottom: 18px; font-size: 13px; }
.voice-text { line-height: 2; margin-bottom: 26px; }
.voice-author { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--color-border); }
.safety-checklist { gap: 20px; margin-top: 40px; }
.safety-check-item { padding: 26px; border: 1px solid var(--color-border); gap: 16px; }
.check-icon { width: 26px; height: 26px; background: #8a794f; }
.check-title { font-size: 15px; margin-bottom: 10px; }
.check-desc { font-size: 13px; line-height: 1.9; }
.faq-section { background: #fffefa; }
.faq-section .section-inner { max-width: 920px; }
.faq-list { gap: 10px; margin-top: 40px; }
.faq-item { border-color: #e4ddd0; background: #fffefa; border-radius: 10px; }
.faq-item[open] { background: #f8f5ed; border-color: #c5b08b; }
.faq-q { padding: 23px 26px; font-size: 14px; font-weight: 500; line-height: 1.8; }
.faq-q::after { width: 28px; height: 28px; background: #f2ecdf; }
.faq-a { padding: 0 26px 26px; line-height: 2; }
.lab-group { padding: 30px 26px; border-radius: 12px; border-color: var(--color-border); }
.lab-group h3 { font-size: 18px; line-height: 1.7; margin-bottom: 12px; }
.lab-group > p { color: var(--color-text-secondary); line-height: 1.9; }
.lab-links { gap: 17px; }
.lab-links a { line-height: 1.85; }
.story-section { background: #302b22; }
.story-body { color: #e1dcd1; line-height: 2.25; gap: 30px; }
.story-section .section-label, .story-closing { color: #c5ad82; }
.story-three { background: #b4965920; border-color: #b496593d; }
.cta { background: #80683f; }
.cta-title { font-family: var(--font-editorial); font-size: clamp(36px, 4.2vw, 56px); font-weight: 500; line-height: 1.6; letter-spacing: .06em; }
.cta-desc { margin-top: 22px; margin-bottom: 32px; color: #fff9ee; }
.cta-actions { gap: 16px; }
.disclaimer-note { padding: 28px var(--page-gutter); }
.disclaimer-note p { font-size: 11px; color: #766d5e; line-height: 2; }
.footer { background: #29261f; padding: 64px var(--page-gutter) 30px; }
.footer-inner { max-width: 1120px; }
.footer-brand p, .footer-col ul li a { color: #c0b9ac; }
.footer-bottom p, .footer-links a { color: #aca495; }

@media (min-width: 901px) and (max-width: 1100px) {
  .header { gap: 24px; padding-inline: 28px; }
  .header-nav { gap: 18px; }
  .header-actions .btn-primary, .header-actions .btn-outline { padding-inline: 18px; }
  .hero-content { padding-inline: 40px; }
  .hero-left { margin-left: 53%; }
  .hero-title { font-size: 34px; }
  .plans-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px 16px; }
  .plan-card { grid-column: span 2; }
  .plan-card:nth-last-child(-n + 2) { grid-column: span 3; }
  .plan-price { font-size: 34px; }
}

@media (max-width: 900px) {
  :root { --page-gutter: 32px; }
  .header { height: 70px; padding-inline: 24px; gap: 16px; }
  .header-logo img { height: 46px !important; }
  .header-actions { margin-left: auto; }
  .header-actions .btn-primary, .header-actions .btn-outline { padding-inline: 18px; font-size: 12px; min-height: 42px; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; visibility: hidden; overflow-y: auto; justify-content: flex-start; background: #fffdf8fa; transition: opacity .25s, transform .25s, visibility .25s; }
  .mobile-menu.open { visibility: visible; }
  .mobile-menu > a:first-child { margin-top: auto; }
  .mobile-menu-actions { margin-bottom: auto; flex-shrink: 0; }
  .mobile-menu > a { flex-shrink: 0; }
  .mobile-menu > a { max-width: 420px; font-family: var(--font-editorial); font-weight: 500; }
  .mobile-menu-actions .btn-primary { color: #fff; }
  .hero { margin-top: 70px; min-height: 760px; align-items: flex-end; }
  .hero-bg-img { right: 0; bottom: 22%; }
  .hero-bg-img img { object-position: 40% 25%; }
  .hero-overlay { background: linear-gradient(180deg, transparent 18%, #1718121a 30%, #171812eb 58%, #171812 76%); }
  .hero-content { padding: 315px var(--page-gutter) 44px; }
  .hero-left { margin-inline: auto; max-width: 520px; text-align: center; }
  .hero-title { font-size: 40px; line-height: 1.6; color: #fffaf0; margin-bottom: 16px; }
  .hero-title em { color: #dcc69c; }
  .hero-desc { display: block; font-size: 13px; line-height: 2; color: #dfdbd1; margin-bottom: 24px; }
  .hero-actions { margin-top: 0; justify-content: center; }
  .hero-cta-wrap { margin-inline: auto; max-width: 390px; gap: 12px; }
  .btn-hero { align-self: stretch; min-width: 0; min-height: 58px; padding: 16px 26px !important; font-size: 14px !important; background: #92723e; }
  .hero-cta-note { text-align: center; padding-left: 0; color: #d5cfc2; }
  .hero-area-note { text-align: center; color: #bbb5a7; font-size: 10px; border-color: #9d8d6a47; margin-top: 4px; padding-top: 13px; }
  .hero-area-expanding { background: #61533b; color: #f0e4cc; }
  .hero-service-label { top: 22px; left: var(--page-gutter); }
  section:not(.hero):not(.disclaimer-note) { padding-block: 72px; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .features-grid .feature-card { padding: 26px; }
  .features-grid > .feature-card:nth-child(n) { grid-column: auto; }
  .features-grid > .feature-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .section-title { font-size: 30px; }
  .steps { gap: 30px; }
  .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .plan-card { padding: 32px 24px 24px; }
  .plan-card.featured { padding: 31px 23px 23px; }
  .plan-price { font-size: 36px; }
  .plan-card:last-child { grid-column: 1 / -1; }
  .plan-card .btn-primary, .plan-card .btn-outline { font-size: 13px; }
  .func-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .safety-check-item { padding: 22px; }
  .lab-groups { gap: 18px; }
}

@media (max-width: 600px) {
  :root { --page-gutter: 22px; }
  section[id] { scroll-margin-top: 82px; }
  .header { height: 66px; padding-inline: 16px; gap: 9px; }
  .header-logo img { height: 40px !important; }
  .header-actions { gap: 7px; }
  .header-actions .btn-primary, .header-actions .btn-outline { font-size: 10px; padding-inline: 11px; min-height: 36px; letter-spacing: 0; }
  .hamburger { width: 32px; height: 40px; }
  .hero { margin-top: 66px; min-height: 770px; }
  .hero-bg-img { bottom: 29%; }
  .hero-bg-img img { object-position: 39% 0; }
  .hero-overlay { background: linear-gradient(180deg, transparent 14%, #17181210 25%, #171812d9 44%, #171812 61%); }
  .hero-content { padding-top: 328px; padding-bottom: 32px; }
  .hero-title { font-size: clamp(28px, 7.5vw, 38px); line-height: 1.65; letter-spacing: .03em; margin-bottom: 18px; }
  .hero-desc { font-size: 12px; max-width: 350px; margin-inline: auto; line-height: 1.95; }
  .hero-service-label { top: 18px; padding: 7px 12px; }
  .slabel-text { font-size: 10px; letter-spacing: .12em; }
  .hero-area-note { line-height: 1.95; }
  .section-inner { padding: 0; }
  section:not(.hero):not(.disclaimer-note) { padding-block: 58px; }
  .section-label { font-size: 11px; margin-bottom: 11px; }
  .section-title, #features-title { font-size: 26px; line-height: 1.65; letter-spacing: .015em; margin-bottom: 15px; }
  #features-title { font-size: clamp(22px, 5.8vw, 27px); }
  #features-title > span { display: block; }
  .section-desc { font-size: 13px; line-height: 1.95; }
  .features-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 28px; }
  .features-grid .feature-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 15px; padding: 22px 19px; border-radius: 12px; }
  .feature-icon { grid-column: 1; grid-row: 1 / 3; width: 40px; height: 40px; margin: 0; }
  .feature-icon svg { width: 23px; height: 23px; }
  .feature-title { grid-column: 2; font-size: 15px; margin-bottom: 8px; }
  .feature-desc { grid-column: 2; font-size: 13px; line-height: 1.9; }
  .philosophy-body { padding-left: 21px; gap: 24px; font-size: 14px; }
  .philosophy-lead { font-size: 17px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .step { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 0 22px; text-align: left; padding: 22px 0; border-bottom: 1px solid #ddd4c4; }
  .step:first-child { padding-top: 0; }
  .step:last-child { border-bottom: none; padding-bottom: 0; }
  .step-num { grid-column: 1; grid-row: 1 / 3; width: 48px; height: 48px; margin: 0; font-size: 20px; }
  .step-title { grid-column: 2; font-size: 16px; margin: 0 0 8px; }
  .step-desc { grid-column: 2; }
  .profiles-carousel-wrap { margin-inline: 0; }
  .profiles-chat-grid { padding-inline: 0; }
  .chat-card, .voice-card { width: min(300px, calc(100vw - 62px)); min-width: min(300px, calc(100vw - 62px)); padding: 24px 20px; }
  .plans-grid { grid-template-columns: minmax(0, 1fr); max-width: none; gap: 28px; margin-top: 42px; }
  .plan-card, .plan-card.featured { padding: 30px 26px 24px; }
  .plan-name { margin-bottom: 8px; }
  .plan-price { font-size: 38px; }
  .plan-desc { min-height: 0; margin-top: 8px; margin-bottom: 17px; padding-bottom: 13px; font-size: 13px; }
  .women-free-banner { padding: 24px; gap: 18px; }
  .women-free-title { font-size: 20px; }
  .comparison-table th, .comparison-table td { padding: 14px 9px; font-size: 12px; }
  .comparison-table .row-label { font-size: 11px; white-space: normal; }
  .comparison-note { font-size: 10px; text-align: left; line-height: 1.8; }
  .matching-diag { padding: 27px 18px; margin-top: 34px; }
  .matching-diag-title { font-size: 21px; }
  .matching-stats { gap: 8px; }
  .stat-item { padding: 20px 8px; }
  .stat-num { font-size: 23px; }
  .compat-row { gap: 7px; }
  .compat-pct { width: 65px; font-size: 12px; }
  .compat-desc { width: 95px; font-size: 11px; }
  .func-grid { gap: 12px; margin-top: 28px; }
  .func-card { padding: 24px 15px; }
  .func-name { font-size: 14px; }
  .func-desc { font-size: 12px; }
  .today-talk .section-title { font-size: 26px; }
  .today-talk-sub { font-size: 14px; line-height: 2; }
  .today-talk-body p { font-size: 13px; }
  .today-talk-card { padding: 22px 14px; border-radius: 14px; }
  .safety-checklist { margin-top: 28px; gap: 13px; }
  .safety-check-item { padding: 22px 18px; gap: 12px; }
  .faq-list { margin-top: 28px; gap: 9px; }
  .faq-q { padding: 19px 17px; font-size: 13px; gap: 12px; }
  .faq-q::after { width: 24px; height: 24px; }
  .faq-a { padding: 0 17px 22px; font-size: 13px; }
  .lab-groups { margin-top: 28px; }
  .lab-group { padding: 26px 22px; }
  .story-body { font-size: 14px; gap: 25px; }
  .cta-title { font-size: 38px; }
  .footer { padding-top: 50px; }
  .footer-top { gap: 34px; }
  .footer-col ul { gap: 14px; }
  .footer-bottom { gap: 18px; }
  .footer-links { gap: 12px 18px; }
}

@media (max-width: 360px) {
  :root { --page-gutter: 18px; }
  .header { padding-inline: 10px; gap: 6px; }
  .header-logo img { height: 35px !important; }
  .header-actions .btn-primary, .header-actions .btn-outline { padding-inline: 8px; }
  .func-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-cta-note { font-size: 10px; letter-spacing: .02em; }
  .hero-desc { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html, .profiles-chat-grid, .voice-grid { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fade-in { opacity: 1; transform: none; }
}
