/*
Theme Name: Hikarie Plan
Theme URI:
Author:
Description: ヒカリエプラン カスタムWordPressテーマ
Version: 1.0.0
Text Domain: hikarie
*/

/* =====================
   VARIABLES & RESET
   ===================== */
:root {
  --red:        #E94963;
  --red-dark:   #c93a52;
  --blue:       #6B9FFF;
  --blue-dark:  #4A7FE0;
  --pink-light: #FFCDD5;
  --pink-bg:    #FFF3F5;
  --gray:       #7A7A7A;
  --bg-light:   #F5F5F5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
a { text-decoration: none; color: inherit; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  font-size: 14px;
  line-height: 1.7;
  background: #fff;
}

/* トップページのみ sticky-bar 分の余白 */
body.home { padding-bottom: 72px; }

/* サブページは pink-bg */
body.page { background: var(--pink-bg); }

/* =====================
   SPLASH SCREEN
   ===================== */
#splash {
  position: fixed;
  inset: 0;
  background: var(--pink-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  animation: splashFade 0.9s ease-out 1.4s forwards;
}
@keyframes splashFade {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* =====================
   HEADER (sub-pages)
   ===================== */
.header-wrapper {
  background: var(--pink-bg);
  padding: 18px 32px 28px;
}

/* =====================
   SITE HEADER (shared)
   ===================== */
.site-header {
  max-width: 1100px;
  margin: 0 auto 28px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(233, 160, 175, 0.35);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #f0e8ea;
  position: relative;
  z-index: 10;
}

.header-logo img { height: 38px; display: block; }

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  margin-left: 32px;
}
nav a { color: #555; font-weight: 500; transition: color .18s; }
nav a:hover { color: var(--red); }

.header-btns { display: flex; gap: 10px; align-items: center; margin-left: auto; }

.btn-pill-blue {
  background: var(--blue); color: #fff; border: none;
  width: 220px; height: 40px; border-radius: 100px;
  font-size: 20px; font-weight: 700; cursor: pointer; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(107,159,255,.4);
  transition: background .18s, transform .15s, box-shadow .15s;
}
.btn-pill-blue:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(107,159,255,.55); }

.btn-pill-red {
  background: var(--red); color: #fff; border: none;
  width: 220px; height: 40px; border-radius: 100px;
  font-size: 20px; font-weight: 700; cursor: pointer; white-space: nowrap;
  box-shadow: 0 2px 8px rgba(233,73,99,.4);
  transition: background .18s, transform .15s, box-shadow .15s;
}
.btn-pill-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(233,73,99,.55); }

.hamburger { display: none; }
.sp-br { display: none; }
.sp-trouble-visual { display: none; }
.sp-flow-img { display: none; }
.sp-before-after-wrap { display: none; }
.sp-voices-wrap { display: none; }
.sp-step-wrap { display: none; }
.sp-support-carousel { display: none; }

.mobile-nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -1px; right: -1px;
  background: #fff;
  border: 1px solid #f0e8ea;
  border-top: none;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 6px 16px rgba(233, 160, 175, 0.3);
  z-index: 200;
  overflow: hidden;
}
.mobile-nav-dropdown.is-open { display: block; }
.mobile-nav-dropdown a {
  display: block;
  padding: 14px 24px;
  color: #7A7A7A;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid #f5eeef;
  transition: background .15s;
}
.mobile-nav-dropdown a:last-child { border-bottom: none; }
.mobile-nav-dropdown a:hover { background: var(--pink-bg); }

/* =====================
   PAGE TITLE (sub-pages)
   ===================== */
.page-title-section {
  text-align: center;
  padding: 48px 40px 36px;
}
.page-title-en {
  font-size: 20px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .14em;
  margin-bottom: 12px;
}
.page-title-ja {
  font-size: 34px;
  font-weight: 700;
  color: #7A7A7A;
  display: inline-block;
  background: linear-gradient(transparent 60%, #C4DAFF 60%);
  line-height: 1.4;
}

/* =====================
   HERO WRAPPER (top page)
   ===================== */
.hero-wrapper {
  background: var(--pink-bg);
  padding: 18px 32px 56px;
  position: relative;
  min-height: 810px;
  overflow: hidden;
}

/* hero-wrapper 内の .site-header は margin-bottom 調整 */
.hero-wrapper .site-header { margin-bottom: 0; }

/* ロゴタイトル */
.hero-brand-abs {
  position: absolute;
  left: 110px; top: 120px;
  width: 410px; height: 79px;
  object-fit: contain;
  z-index: 3;
}

/* キャッチコピー */
.hero-title-abs {
  position: absolute;
  left: 110px; top: 210px;
  white-space: nowrap;
  font-size: 60px; font-weight: 900;
  color: #575757;
  line-height: 1.3;
  letter-spacing: -.01em;
  z-index: 3;
}

/* message-line 枠 */
.hero-subtitle-abs {
  position: absolute;
  left: 155px; top: 377px;
  width: 693px; height: 101px;
  z-index: 4;
}
.hero-subtitle-abs img.subtitle-frame {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.hero-subtitle-text {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Aoboshi One', sans-serif;
  gap: 2px;
}
.st-line { display: flex; align-items: baseline; line-height: 1; }
.st-big   { font-size: 30px; }
.st-small { font-size: 22px; }
.st-blue { font-family: 'Noto Sans JP', sans-serif; font-weight: 700; }
.st-red  { font-family: 'Noto Sans JP', sans-serif; font-weight: 700; }
.st-blue .st-big, .st-blue .st-small { color: #609AFF; }
.st-red  .st-big, .st-red  .st-small { color: #E94963; }

/* app 画面 */
.hero-app-abs {
  position: absolute;
  left: 300px; top: 467px;
  width: 400px; height: 231px;
  object-fit: contain;
  border-radius: 10px;
  z-index: 3;
}

/* circle badge */
.hero-circle-abs {
  position: absolute;
  left: 228px; top: 527px;
  width: 145px; height: 145px;
  z-index: 4;
}

/* ヒーローボタン */
.btn-hero-blue {
  position: absolute;
  left: 132px; top: 717px;
  width: 358px; height: 60px;
  background: var(--blue); color: #fff; border: none;
  border-radius: 100px;
  font-size: 22px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 4px 14px rgba(107,159,255,.45);
  transition: background .18s, transform .15s, box-shadow .15s;
  z-index: 4;
}
.btn-hero-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }

.btn-hero-red {
  position: absolute;
  left: 518px; top: 717px;
  width: 358px; height: 60px;
  background: var(--red); color: #fff; border: none;
  border-radius: 100px;
  font-size: 22px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 4px 14px rgba(233,73,99,.45);
  transition: background .18s, transform .15s, box-shadow .15s;
  z-index: 4;
}
.btn-hero-red:hover { background: var(--red-dark); transform: translateY(-2px); }

.btn-hero-blue img,
.btn-hero-red img {
  width: 22px; height: 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

/* 女性・男性イラスト */
.hw-woman-img {
  position: absolute;
  left: 969px; top: 180px;
  width: 337.54px; height: 340px;
  object-fit: contain; z-index: 3;
}
.hw-man-img {
  position: absolute;
  left: 864px; top: 436px;
  width: 341px; height: 341px;
  object-fit: contain; z-index: 3;
}

/* 吹き出し */
.hw-msg1 { position: absolute; left: 820px; top: 165px; width: 214px; height: 124px; z-index: 5; }
.hw-msg1 img { width: 100%; height: 100%; display: block; }
.hw-msg1-text {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px; font-weight: 700;
  color: #609AFF; line-height: 1.6;
  text-align: center; white-space: nowrap; pointer-events: none;
}

.hw-msg2 { position: absolute; left: 1156px; top: 216px; width: 210px; height: 100px; z-index: 5; }
.hw-msg2 img { width: 100%; height: 100%; display: block; }
.hw-msg2-text {
  position: absolute; top: 50%; left: calc(50% + 10px);
  transform: translate(-50%, -50%);
  font-size: 14px; font-weight: 700;
  color: #FFFFFF; line-height: 1.6;
  text-align: center; white-space: nowrap; pointer-events: none;
}

.hw-msg3 { position: absolute; left: 753px; top: 488px; width: 210px; height: 97px; z-index: 5; }
.hw-msg3 img { width: 100%; height: 100%; display: block; }
.hw-msg3-text {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px; font-weight: 700;
  color: #E94963; line-height: 1.6;
  text-align: center; white-space: nowrap; pointer-events: none;
}

.hw-msg4 { position: absolute; left: 1075px; top: 553px; width: 214px; height: 122px; z-index: 5; }
.hw-msg4 img { width: 100%; height: 100%; display: block; }
.hw-msg4-text {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px; font-weight: 700;
  color: #FFFFFF; line-height: 1.6;
  text-align: center; white-space: nowrap; pointer-events: none;
}

.hero-cta-label { display: none; }
.hero-cta-wrap { /* transparent wrapper on desktop — children remain absolutely positioned */ }
.hero-cta-item { display: contents; /* pass-through so absolute children target hero-wrapper */ }

/* =====================
   MISSION BANNER
   ===================== */
.mission-banner {
  background: var(--red);
  padding: 14px 40px;
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}

/* =====================
   SECTION COMMON
   ===================== */
.section { padding: 64px 40px; }
.section-inner { max-width: 1040px; margin: 0 auto; }

.section-title {
  text-align: center;
  font-size: 34px;
  font-weight: 900;
  color: #222;
  line-height: 1.4;
}
.section-title-line {
  width: 40px; height: 3px;
  background: var(--red);
  margin: 10px auto 36px;
  border-radius: 2px;
}

/* =====================
   TROUBLE
   ===================== */
.trouble-section { background: #fff; padding: 40px 40px 64px; }

.trouble-visual { max-width: 920px; margin: 0 auto; }

.trouble-top-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding: 0 20px;
}
.trouble-mid-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.trouble-mid-left,
.trouble-mid-right { flex: 1; display: flex; align-items: center; }
.trouble-mid-left  { justify-content: flex-end; }
.trouble-mid-right { justify-content: flex-start; }
.trouble-mid-center { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }

.trouble-women { width: 326px; height: 226px; object-fit: contain; display: block; }

.trouble-pink-msg { position: relative; max-width: 920px; width: 100%; margin: 0 auto; }
.trouble-pink-msg-bg { width: 100%; height: auto; display: block; }
.trouble-pink-msg-text {
  position: absolute;
  top: calc(50% - 10px); left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px; font-weight: 700;
  color: #fff; text-align: center;
  white-space: nowrap; pointer-events: none;
}

.img-bubble { position: relative; flex: 1; }
.img-bubble-bg { width: 100%; height: auto; display: block; }
.img-bubble-text {
  position: absolute;
  top: 46%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px; font-weight: 700;
  text-align: center; color: #7A7A7A;
  white-space: nowrap; line-height: 1.65;
  pointer-events: none;
}

.trouble-solution-title {
  text-align: center;
  font-size: 34px; font-weight: 700;
  color: var(--red);
  margin: 48px 0 32px;
  line-height: 1.4;
}
.trouble-flow { text-align: center; }
.trouble-flow img { max-width: 100%; height: auto; }

/* =====================
   AVOBE BUTTONS
   ===================== */
.avobe-btn-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  margin-top: 32px;
  padding-bottom: 40px;
}
.avobe-group { display: flex; flex-direction: column; align-items: center; gap: 0; }

.btn-avobe-red {
  background: var(--red); color: #fff; border: none;
  width: 550px; max-width: 100%; height: 68px;
  border-radius: 100px;
  font-size: 20px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  box-shadow: 0 4px 14px rgba(233,73,99,.35);
  transition: background .18s, transform .15s, box-shadow .15s;
}
.btn-avobe-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(233,73,99,.5); }

.btn-avobe-blue {
  background: var(--blue); color: #fff; border: none;
  width: 380px; max-width: 100%; height: 68px;
  border-radius: 100px;
  font-size: 20px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  box-shadow: 0 4px 14px rgba(107,159,255,.35);
  transition: background .18s, transform .15s, box-shadow .15s;
}
.btn-avobe-blue:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(107,159,255,.5); }

.avobe-btn-icon,
.avobe-btn-icon-inner {
  width: 28px; height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

/* =====================
   FEATURES
   ===================== */
.features-section { background: var(--bg-light); }

.features-top-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.features-bot-row { display: flex; justify-content: center; gap: 16px; }

/* function.html CTA wrap */
.avobe-btn-wrap.page-cta { background: var(--pink-bg); padding: 0 40px 56px; margin-top: 0; }

/* =====================
   CTA BANNER
   ===================== */
.cta-banner {
  background: #E94963;
  position: relative; overflow: hidden;
  padding: 56px 40px;
  display: flex; align-items: center; justify-content: center;
  min-height: 453px;
}
.btn-cta-banner {
  background: #fff; color: var(--red); border: none;
  width: 475px; height: 85px;
  border-radius: 100px;
  font-size: 32px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
  transition: transform .15s, box-shadow .15s, opacity .15s;
  flex-shrink: 0;
}
.btn-cta-banner:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.25); opacity: .93; }

/* =====================
   CASES
   ===================== */
.cases-section { background: var(--pink-bg); }

/* =====================
   STEPS
   ===================== */
.btn-step-blue {
  background: var(--blue); color: #fff; border: none;
  width: 210px; height: 52px;
  border-radius: 100px;
  font-size: 18px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(107,159,255,.35);
  transition: background .18s, transform .15s, box-shadow .15s;
}
.btn-step-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* =====================
   FOOTER
   ===================== */
footer { margin: 0; padding: 0; }

.footer-main {
  background: #fff;
  padding: 40px 80px;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.footer-logo-wrap { display: flex; flex-direction: column; gap: 10px; }
.footer-tagline { font-size: 13px; color: var(--gray); font-weight: 400; }

.footer-nav { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-nav a { font-size: 14px; color: var(--gray); transition: color .15s; }
.footer-nav a:hover { color: var(--red); }

.footer-bottom {
  background: #E94963;
  padding: 14px 40px;
  display: flex; align-items: center; justify-content: center; gap: 20px;
}
.footer-bottom-link {
  display: flex; align-items: center; gap: 5px;
  font-size: 14px; color: #fff; transition: opacity .15s;
}
.footer-bottom-link:hover { opacity: .75; }
.footer-bottom-sep { color: #fff; opacity: .6; font-size: 14px; }
.footer-bottom-copy { font-size: 14px; font-weight: 700; color: #fff; white-space: nowrap; }

/* =====================
   STICKY BOTTOM BAR
   ===================== */
.sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: #C83C5A;
  padding: 0 32px; height: 75px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 -2px 12px rgba(0,0,0,.15);
}
.sticky-bar-text {
  font-size: 13px; font-weight: 700; color: #fff;
  flex: 1; margin-right: 24px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sticky-bar-actions { display: flex; align-items: flex-end; gap: 10px; }
.sticky-bar-btn-wrap { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.sticky-bar-hint { font-size: 10px; font-weight: 700; color: rgba(255,255,255,.9); white-space: nowrap; }

.btn-sticky-blue {
  background: var(--blue); color: #fff; border: 2px solid #fff;
  padding: 0 22px; height: 45px; border-radius: 100px;
  font-size: 18px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 14px rgba(107,159,255,.45);
  transition: background .18s, transform .15s;
}
.btn-sticky-blue:hover { background: var(--blue-dark); transform: translateY(-2px); }

.btn-sticky-outline {
  background: transparent; color: #fff; border: 2px solid #fff;
  padding: 0 22px; height: 45px; border-radius: 100px;
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 700; cursor: pointer;
  transition: background .18s, transform .15s;
}
.btn-sticky-outline:hover { background: rgba(255,255,255,.15); transform: translateY(-2px); }

/* =====================
   FORM PAGE
   ===================== */
.form-section { max-width: 1040px; margin: 0 auto; padding: 0 40px 80px; }

.form-layout { display: flex; gap: 40px; align-items: flex-start; margin-bottom: 36px; }

.form-ph {
  width: 420px; height: 430px; flex-shrink: 0;
  background: #d4d4d4; border-radius: 10px; border: 1px solid #c4c4c4;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700; color: var(--red);
}

.form-fields { flex: 1; display: flex; flex-direction: column; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }

.field-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.field-label { font-size: 14px; font-weight: 700; color: #333; flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; }
.field-note { font-size: 11px; color: var(--gray); text-align: right; }
.field-required { font-size: 10px; font-weight: 700; color: #fff; background: var(--red); border-radius: 3px; padding: 2px 5px; letter-spacing: 0.03em; }

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  outline: none;
  transition: border-color .18s;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus { border-color: var(--blue); }
textarea { height: 160px; resize: vertical; }

.checkbox-row { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.checkbox-row input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--red); cursor: pointer; flex-shrink: 0; }
.checkbox-row label { font-size: 12px; color: var(--gray); cursor: pointer; }

.form-bottom-row { display: flex; align-items: flex-end; gap: 40px; }
.form-bottom-left { flex: 0 0 420px; }

.bottom-title {
  font-size: 20px; font-weight: 700;
  color: #7A7A7A;
  display: inline-block;
  background: linear-gradient(transparent 60%, #C4DAFF 60%);
  line-height: 1.4; margin-bottom: 14px;
}
.bullet-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.bullet-list li { font-size: 14px; color: #7A7A7A; line-height: 1.6; }
.bullet-list li::before { content: "・"; }

.form-bottom-right { flex: 1; display: flex; justify-content: center; padding-bottom: 4px; }

.btn-submit {
  background: #fff; color: var(--red); border: 2px solid var(--red);
  width: 200px; height: 52px; border-radius: 100px;
  font-size: 22px; font-weight: 700; cursor: pointer;
  transition: background .18s, color .18s, transform .15s;
}
.btn-submit:hover { background: var(--red); color: #fff; transform: translateY(-2px); }

/* =====================
   THANKS PAGE
   ===================== */
.content-wrap { max-width: 1040px; margin: 0 auto; padding: 0 40px 80px; }

.thanks-text {
  font-size: 24px; font-weight: 700;
  line-height: 1.5; color: #7A7A7A;
  margin-bottom: 64px;
}

.cta-section { display: flex; align-items: center; gap: 40px; }
.cta-left { flex: 1; }
.cta-label { font-size: 14px; color: var(--gray); font-weight: 400; margin-bottom: 14px; text-align: center; }
.cta-main-text {
  font-size: 28px; font-weight: 700;
  color: #7A7A7A; line-height: 1.55; text-align: center;
}
.cta-right { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 0; }

.btn-avobe-blue-sm {
  background: var(--blue); color: #fff; border: none;
  width: 380px; height: 68px; border-radius: 100px;
  font-size: 20px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  box-shadow: 0 4px 14px rgba(107,159,255,.35);
  transition: background .18s, transform .15s, box-shadow .15s;
}
.btn-avobe-blue-sm:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(107,159,255,.5); }

/* =====================
   PRIVACY PAGE
   ===================== */
.privacy-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}
.privacy-main-title {
  font-size: 22px; font-weight: 700;
  color: #333; margin-bottom: 8px;
}
.privacy-company {
  font-size: 15px; color: #7A7A7A;
  margin-bottom: 32px;
}
.privacy-intro {
  font-size: 15px; line-height: 1.9;
  color: #555; margin-bottom: 40px;
}
.privacy-heading {
  font-size: 17px; font-weight: 700;
  color: #333; margin: 36px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--red);
}
.privacy-text {
  font-size: 15px; line-height: 1.9;
  color: #555; margin-bottom: 0;
}
.privacy-text a { color: var(--red); word-break: break-all; }
.privacy-date {
  font-size: 14px; color: #7A7A7A;
  margin-top: 48px; text-align: right;
}
.privacy-table {
  width: 100%; border-collapse: collapse;
  margin: 24px 0 8px;
  font-size: 15px;
}
.privacy-table th {
  background: var(--red); color: #fff;
  font-weight: 700; padding: 12px 16px;
  text-align: left; border: 1px solid #e0a0a8;
}
.privacy-table td {
  padding: 12px 16px;
  border: 1px solid #e0c0c4;
  line-height: 1.7; color: #555;
  vertical-align: top;
}
.privacy-table-item { color: var(--red); font-weight: 600; }
.privacy-table tbody tr:nth-child(even) td { background: #fff5f6; }

/* =====================
   404 PAGE
   ===================== */
.error-section {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 80px 40px;
  text-align: center;
}
.error-code {
  font-size: 120px; font-weight: 900;
  color: var(--red); line-height: 1;
  margin-bottom: 24px; opacity: .6;
  letter-spacing: -.02em;
}
.error-title {
  font-size: 28px; font-weight: 700;
  color: #7A7A7A; margin-bottom: 16px;
  display: inline-block;
  background: linear-gradient(transparent 60%, #C4DAFF 60%);
  line-height: 1.4;
}
.error-message { font-size: 15px; color: var(--gray); line-height: 1.9; margin-bottom: 48px; }

.btn-home {
  background: var(--red); color: #fff; border: none;
  height: 52px; padding: 0 40px; border-radius: 100px;
  font-size: 16px; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 14px rgba(233,73,99,.35);
  transition: background .18s, transform .15s, box-shadow .15s;
}
.btn-home:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(233,73,99,.5); }

/* =====================
   SPLASH LOGO
   ===================== */
.splash-logo { width: 650px; height: 125px; object-fit: contain; }

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

  /* --- SPLASH --- */
  .splash-logo { width: 220px !important; height: auto !important; }

  /* --- GLOBAL --- */
  body.home { padding-bottom: 60px; }

  /* --- HEADER (shared) --- */
  .site-header { height: 65px; min-height: 65px; padding: 0 16px; }
  .header-logo img { width: 200px; height: 39px; object-fit: contain; }
  nav { display: none; }
  .header-btns { display: none; }
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: 12px;
    flex-shrink: 0;
  }
  .hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
  }

  /* --- SUB-PAGE HEADER WRAPPER --- */
  .header-wrapper { padding: 12px 16px 14px; }

  /* --- PAGE TITLE --- */
  .page-title-section { padding: 28px 20px 20px; }
  .page-title-en { font-size: 13px; }
  .page-title-ja { font-size: 22px; }

  /* --- HERO WRAPPER --- */
  .hero-wrapper {
    padding: 12px 16px 40px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-wrapper .site-header { width: 100%; align-self: stretch; margin-bottom: 16px; }

  /* Hero logo hidden on mobile (header already shows logo) */
  .hero-brand-abs { display: none !important; }

  /* Title: left-aligned, order 1 */
  .hero-title-abs {
    position: static;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #7A7A7A;
    white-space: normal;
    text-align: left;
    line-height: 1.5;
    margin-bottom: 0;
    width: 100%;
    order: 1;
  }

  /* Illustrations area: order 2 */
  .hw-illustrations-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    flex-shrink: 0;
    overflow: visible;
    order: 2;
    margin-bottom: 0;
    z-index: 2;
  }
  .hw-circle-blue { display: none !important; }
  .hw-circle-pink { display: none !important; }
  .hw-man-img {
    display: block !important;
    position: absolute;
    width: 186px; height: 186px;
    object-fit: contain;
    left: 27px; top: auto; bottom: 15px;
    z-index: 2;
  }
  .hw-woman-img {
    display: block !important;
    position: absolute;
    width: 187px; height: 166px;
    object-fit: contain;
    left: 180px; top: -15px;
    z-index: 1;
  }

  /* Subtitle box: order 3 */
  .hero-subtitle-abs {
    position: relative;
    left: auto; top: auto;
    width: 100%;
    height: 96px;
    background-image: url('pictures/responsive_vector.png');
    background-size: 100% 96px;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -22px;
    margin-bottom: 12px;
    order: 3;
  }
  .hero-subtitle-abs img.subtitle-frame { display: none; }
  .hero-subtitle-text { position: relative; text-align: center; z-index: 1; margin-top: -10px; }
  .st-line { display: block; }
  .st-big { font-size: 18px; }
  .st-small { font-size: 14px; }
  .sp-br { display: inline; }

  /* App + circle area: order 4 */
  .hero-app-area {
    position: relative;
    width: 100%;
    height: 175px;
    order: 4;
    margin-bottom: 16px;
  }
  .hero-app-abs {
    position: absolute;
    width: 274px; height: 158px;
    left: auto; right: 0; top: 17px;
    display: block;
    border-radius: 8px;
  }
  .hero-circle-abs {
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 145px; height: 145px;
    z-index: 4;
  }

  /* CTA wrap: order 5, side-by-side with labels */
  .hero-cta-wrap {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    order: 5;
  }
  .hero-cta-item {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .hero-cta-label { display: block; font-size: 11px; color: #666; font-weight: 600; }
  .btn-hero-blue {
    position: static;
    width: 100%; max-width: none;
    height: 54px; font-size: 15px; margin: 0;
  }
  .btn-hero-red {
    position: static;
    width: 100%; max-width: none;
    height: 54px; font-size: 15px; margin: 0;
  }
  .btn-hero-blue img, .btn-hero-red img { width: 16px; height: 16px; }

  /* Messages hidden */
  .hw-msg1, .hw-msg2, .hw-msg3, .hw-msg4 { display: none !important; }

  /* --- MISSION BANNER --- */
  .mission-banner { font-size: 12px; padding: 10px 16px; }

  /* --- SECTIONS --- */
  .section { padding: 36px 16px; }
  .section-title { font-size: 22px !important; white-space: normal !important; }

  /* --- TROUBLE --- */
  .trouble-section { padding: 32px 16px 36px; }
  .trouble-section .section-title { color: #7A7A7A; }
  .trouble-visual { display: none !important; }
  .sp-trouble-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 16px 0 0;
  }
  .sp-msg-1 { width: 255px; height: 136px; object-fit: contain; display: block; }
  .sp-msg-2 { width: 256px; height: 118px; object-fit: contain; display: block; }
  .sp-msg-3 { width: 255px; height: 136px; object-fit: contain; display: block; }
  .sp-msg-4 { width: 256px; height: 118px; object-fit: contain; display: block; }
  .sp-msg-5 { width: 256px; height: 119px; object-fit: contain; display: block; }
  .sp-trouble-women-sp { width: 326px; height: 226px; object-fit: contain; display: block; margin-top: 4px; }
  .trouble-pink-msg {
    max-width: none;
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
    background: var(--red);
    height: 115px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .trouble-pink-msg-bg { display: none; }
  .trouble-pink-msg-text {
    position: static !important;
    transform: none !important;
    font-size: 22px !important;
    white-space: normal !important;
    line-height: 1.5;
    padding: 0;
    text-align: center;
  }
  .trouble-solution-title { font-size: 19px; margin: 28px 0 20px; }
  .pc-flow-img { display: none !important; }
  .sp-flow-img { display: block; width: 100%; height: auto; }
  .trouble-before-after { width: 100% !important; height: auto !important; }

  /* --- FLOW SECTION --- */
  .flow-section .section-title { white-space: normal !important; font-size: 22px !important; }
  .pc-before-after-wrap { display: none !important; }
  .sp-before-after-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    width: 100%;
  }
  .sp-before-after-wrap img { width: 100%; height: auto; display: block; }

  /* --- AVOBE BUTTONS --- */
  .avobe-btn-wrap {
    flex-direction: column !important; align-items: center !important;
    gap: 12px !important; padding: 0 16px 32px !important; margin-top: 20px !important;
  }
  .avobe-group { width: 100%; max-width: 320px; }
  .avobe-group > img { width: 100% !important; height: auto !important; max-width: 100% !important; }
  .btn-avobe-red, .btn-avobe-blue {
    width: 100% !important; height: 56px !important; font-size: 16px !important;
  }

  /* --- FEATURES --- */
  .features-top-row, .features-bot-row {
    flex-direction: column; align-items: center; gap: 16px;
  }
  .features-top-row img, .features-bot-row img {
    width: 100% !important; max-width: 320px !important; height: auto !important;
  }

  /* --- FEATURES --- */
  .features-section h2 { font-size: 22px !important; }

  /* --- CUSTOMER VOICES --- */
  .cases-section h2 { font-size: 22px !important; }
  .voices-row { display: none !important; }
  .sp-voices-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 24px;
  }
  .sp-voices-wrap img { width: 100%; height: auto; display: block; }

  /* --- STEPS --- */
  .steps-h2 { font-size: 22px !important; white-space: normal !important; }
  .pricing-h2 { font-size: 22px !important; }
  .pc-steps-row { display: none !important; }
  .sp-step-wrap {
    display: block;
    width: 100%;
    margin-bottom: 40px;
  }
  .sp-step-wrap img { width: 247px !important; height: 527px !important; display: block; margin: 0 auto; }

  /* --- PRICE --- */
  .price-img { width: 100% !important; max-width: 340px !important; height: auto !important; }

  /* --- SUPPORT --- */
  .support-h2 { font-size: 22px !important; }
  .support-bg-logo { display: none; }
  .pc-support-row { display: none !important; }
  .sp-support-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-bottom: 40px;
    width: 100%;
  }
  .sp-support-track-wrap {
    flex: 1;
    overflow: hidden;
  }
  .sp-support-track {
    display: flex;
    transition: transform 0.3s ease;
  }
  .sp-support-track img {
    width: 100%;
    flex-shrink: 0;
    height: auto;
    display: block;
    object-fit: contain;
  }
  .sp-support-btn {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7A7A7A;
  }

  /* --- FAQ --- */
  .faq-h2 { font-size: 22px !important; }
  .faq-section [style*="22px"] { font-size: 16px !important; }
  .faq-section [style*="min-height: 122px"] { min-height: auto !important; padding: 14px 16px !important; }

  /* --- FOUNDER --- */
  .founder-h2 { font-size: 22px !important; text-align: center !important; margin-left: 0 !important; display: block !important; }
  .founder-section [style*="text-align: left"] {
    text-align: center !important; margin-left: 0 !important; display: block !important;
  }
  .founder-row {
    flex-direction: column !important; align-items: center !important; gap: 20px !important;
  }
  .founder-row img { width: 100% !important; max-width: 340px !important; height: auto !important; }
  .developer-msg-img { max-width: 100% !important; }

  /* --- CTA BANNER --- */
  .cta-banner { padding: 40px 20px; min-height: auto; }
  .btn-cta-banner { width: 100%; max-width: 300px; height: 64px; font-size: 20px; }
  .cta-banner > img[style] { width: 130px !important; height: auto !important; }

  /* --- FOOTER --- */
  .footer-main { flex-direction: column; gap: 20px; padding: 28px 20px; }
  .footer-bottom { flex-direction: column; gap: 8px; padding: 14px 20px; text-align: center; }
  .footer-bottom-sep { display: none; }

  /* --- STICKY BAR --- */
  .sticky-bar { padding: 0 14px; height: 60px; }
  .sticky-bar-text { display: none; }
  .sticky-bar-actions { width: 100%; justify-content: center; }
  .btn-sticky-blue, .btn-sticky-outline { padding: 0 14px; height: 40px; font-size: 14px; }

  /* --- FORM PAGE --- */
  .form-section { padding: 0 16px 60px; }
  .form-layout { flex-direction: column; gap: 20px; }
  .form-ph { width: 100%; height: 180px; }
  .form-bottom-row { flex-direction: column; align-items: center; gap: 24px; }
  .form-bottom-left { flex: none; width: 100%; }
  .form-bottom-right { width: 100%; }
  .bottom-title { font-size: 16px; }
  .btn-submit { width: 100%; max-width: 260px; }

  /* --- THANKS PAGE --- */
  .cta-section { flex-direction: column; align-items: center; gap: 24px; }
  .thanks-text { font-size: 18px; }
  .cta-right { width: 100%; align-items: center; }
  .cta-right img { width: 100% !important; max-width: 280px !important; height: auto !important; }

  /* --- 404 PAGE --- */
  .error-code { font-size: 80px; }
  .error-title { font-size: 22px; }

  /* --- BUTTON ACTIVE (tap feedback) --- */
  .btn-pill-blue:active { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(107,159,255,.55); }
  .btn-pill-red:active { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(233,73,99,.55); }
  .btn-hero-blue:active { background: var(--blue-dark); transform: translateY(-2px); }
  .btn-hero-red:active { background: var(--red-dark); transform: translateY(-2px); }
  .btn-avobe-red:active { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(233,73,99,.5); }
  .btn-avobe-blue:active { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(107,159,255,.5); }
  .btn-cta-banner:active { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.25); opacity: .93; }
  .btn-step-blue:active { background: var(--blue-dark); transform: translateY(-2px); }
  .btn-sticky-blue:active { background: var(--blue-dark); transform: translateY(-2px); }
  .btn-sticky-outline:active { background: rgba(255,255,255,.15); transform: translateY(-2px); }
  .btn-submit:active { background: var(--red); color: #fff; transform: translateY(-2px); }
  .btn-avobe-blue-sm:active { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(107,159,255,.5); }
  .btn-home:active { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(233,73,99,.5); }
  .sp-support-btn:active { opacity: .6; transform: scale(.95); }
}
