:root {
  --f-color: #E8637A;
  --f-light: #FFF0F3;
  --f-border: #F9C0CA;
  --a-color: #E8883A;
  --a-light: #FFF5ED;
  --a-border: #F9D0A0;
  --m-color: #4A86CF;
  --m-light: #EEF4FF;
  --m-border: #B0CCEE;
  --text: #2D2D2D;
  --text-muted: #6B6B6B;
  --bg: #FAFAFA;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

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

img { max-width: 100%; display: block; }

/* ── HEADER ── */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #EFEFEF;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-logo {
  font-size: 18px;
  font-weight: 700;
  color: #5B4FBE;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.site-logo span { font-size: 13px; font-weight: 400; color: var(--text-muted); display: block; }
.site-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-nav a {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  transition: background 0.18s;
  color: var(--text-muted);
}
.site-nav a:hover { background: #F3F0FF; color: #5B4FBE; }
.site-nav .nav-f:hover { background: var(--f-light); color: var(--f-color); }
.site-nav .nav-a:hover { background: var(--a-light); color: var(--a-color); }
.site-nav .nav-m:hover { background: var(--m-light); color: var(--m-color); }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #F0EEFF 0%, #FFF0F8 50%, #EEF4FF 100%);
  padding: 72px 20px 64px;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: #5B4FBE;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: clamp(26px, 5vw, 42px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  color: #1A1A2E;
}
.hero h1 em { color: #5B4FBE; font-style: normal; }
.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.8;
}
.hero-cta {
  display: inline-block;
  background: #5B4FBE;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(91,79,190,0.35);
  transition: transform 0.18s, box-shadow 0.18s;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(91,79,190,0.45);
  color: #fff;
}
.hero-trust {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ── CONTAINER ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 20px; }
.section-title {
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: #1A1A2E;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── GROUP CARDS ── */
.group-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.group-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 5px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.group-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.group-card.f { border-top-color: var(--f-color); }
.group-card.a { border-top-color: var(--a-color); }
.group-card.m { border-top-color: var(--m-color); }
.group-icon { font-size: 40px; }
.group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.f .group-label { color: var(--f-color); }
.a .group-label { color: var(--a-color); }
.m .group-label { color: var(--m-color); }
.group-card h3 { font-size: 20px; font-weight: 700; color: #1A1A2E; }
.group-card p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.group-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}
.f .tag { background: var(--f-light); color: var(--f-color); }
.a .tag { background: var(--a-light); color: var(--a-color); }
.m .tag { background: var(--m-light); color: var(--m-color); }
.group-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  width: fit-content;
  transition: opacity 0.18s;
}
.group-link:hover { opacity: 0.8; }
.f .group-link { background: var(--f-light); color: var(--f-color); }
.a .group-link { background: var(--a-light); color: var(--a-color); }
.m .group-link { background: var(--m-light); color: var(--m-color); }

/* ── QUIZ ── */
.quiz-section {
  background: linear-gradient(135deg, #F0EEFF 0%, #F7F0FF 100%);
  padding: 64px 20px;
}
.quiz-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.quiz-box h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: #1A1A2E; }
.quiz-box p { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.quiz-q { margin-bottom: 28px; }
.quiz-q-label { font-size: 13px; font-weight: 700; color: #5B4FBE; margin-bottom: 12px; }
.quiz-q-text { font-size: 16px; font-weight: 700; margin-bottom: 14px; color: #1A1A2E; }
.quiz-options { display: flex; flex-direction: column; gap: 8px; }
.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 2px solid #EFEFEF;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  font-size: 15px;
}
.quiz-option:hover { border-color: #5B4FBE; background: #F3F0FF; }
.quiz-option input { accent-color: #5B4FBE; width: 18px; height: 18px; }
.quiz-submit {
  width: 100%;
  background: #5B4FBE;
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.18s;
  font-family: inherit;
}
.quiz-submit:hover { opacity: 0.88; }
.quiz-result {
  display: none;
  margin-top: 24px;
  padding: 24px;
  border-radius: 12px;
  font-size: 15px;
}
.quiz-result.show { display: block; }
.quiz-result.f { background: var(--f-light); border: 2px solid var(--f-border); }
.quiz-result.a { background: var(--a-light); border: 2px solid var(--a-border); }
.quiz-result.m { background: var(--m-light); border: 2px solid var(--m-border); }
.quiz-result h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.quiz-result.f h4 { color: var(--f-color); }
.quiz-result.a h4 { color: var(--a-color); }
.quiz-result.m h4 { color: var(--m-color); }
.result-link {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  transition: opacity 0.18s;
}
.result-link:hover { opacity: 0.8; }
.f .result-link, .quiz-result.f .result-link { background: var(--f-color); color: #fff; }
.a .result-link, .quiz-result.a .result-link { background: var(--a-color); color: #fff; }
.m .result-link, .quiz-result.m .result-link { background: var(--m-color); color: #fff; }

/* ── PRODUCT CARDS ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.product-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #F3F0FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}
.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 20px;
  width: fit-content;
}
.product-type.f { background: var(--f-light); color: var(--f-color); }
.product-type.a { background: var(--a-light); color: var(--a-color); }
.product-type.m { background: var(--m-light); color: var(--m-color); }
.product-card h4 { font-size: 16px; font-weight: 700; color: #1A1A2E; line-height: 1.4; }
.product-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; flex: 1; }
.product-age { font-size: 12px; color: var(--text-muted); }
.product-age span { font-weight: 700; color: var(--text); }
.amazon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FF9900;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px;
  border-radius: 8px;
  margin-top: 12px;
  transition: opacity 0.18s;
}
.amazon-btn:hover { opacity: 0.88; color: #fff; }

/* ── ABOUT ── */
.about-section {
  background: var(--white);
  padding: 64px 20px;
}
.about-inner {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}
.about-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--f-light), var(--m-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  margin: 0 auto;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
}
.about-content h2 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.about-content .about-title {
  font-size: 13px;
  color: #5B4FBE;
  font-weight: 700;
  margin-bottom: 16px;
}
.about-stats {
  display: flex;
  gap: 24px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num { font-size: 28px; font-weight: 700; color: #5B4FBE; line-height: 1; }
.stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.about-content p { font-size: 15px; color: var(--text-muted); line-height: 1.9; }
.consult-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  background: #5B4FBE;
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(91,79,190,0.3);
  transition: transform 0.18s, box-shadow 0.18s;
}
.consult-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91,79,190,0.4);
  color: #fff;
}

/* ── PAGE HERO (group pages) ── */
.page-hero {
  padding: 56px 20px 48px;
  text-align: center;
}
.page-hero.f { background: linear-gradient(135deg, var(--f-light) 0%, #FFF8FA 100%); }
.page-hero.a { background: linear-gradient(135deg, var(--a-light) 0%, #FFFAF5 100%); }
.page-hero.m { background: linear-gradient(135deg, var(--m-light) 0%, #F5F8FF 100%); }
.page-hero .group-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.page-hero.f .group-badge { background: var(--f-color); color: #fff; }
.page-hero.a .group-badge { background: var(--a-color); color: #fff; }
.page-hero.m .group-badge { background: var(--m-color); color: #fff; }
.page-hero .icon { font-size: 56px; margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(24px, 4vw, 36px); font-weight: 700; color: #1A1A2E; margin-bottom: 12px; line-height: 1.4; }
.page-hero p { font-size: 15px; color: var(--text-muted); max-width: 560px; margin: 0 auto; line-height: 1.8; }

/* ── TYPE PROFILE ── */
.type-profiles { max-width: 960px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.type-profile {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.type-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.f .type-num { background: var(--f-color); }
.a .type-num { background: var(--a-color); }
.m .type-num { background: var(--m-color); }
.type-profile-body { flex: 1; }
.type-profile-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: #1A1A2E; }
.type-profile-body p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }
.type-keywords { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }

/* ── BREADCRUMB ── */
.breadcrumb {
  max-width: 1100px;
  margin: 20px auto 0;
  padding: 0 20px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumb a { color: #5B4FBE; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: #CCC; }

/* ── FOOTER ── */
.site-footer {
  background: #1A1A2E;
  color: #AAA;
  padding: 48px 20px 32px;
  margin-top: 80px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-logo { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.footer-desc { font-size: 13px; margin-bottom: 32px; line-height: 1.8; }
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  font-size: 13px;
}
.footer-links a { color: #AAA; transition: color 0.18s; }
.footer-links a:hover { color: #fff; }
.footer-affiliate {
  font-size: 11px;
  color: #666;
  line-height: 1.8;
  border-top: 1px solid #2D2D4A;
  padding-top: 20px;
  margin-top: 20px;
}
.footer-copy { font-size: 12px; color: #555; margin-top: 16px; }

/* ── UTILITY ── */
.bg-gray { background: #F5F4F8; }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-40 { margin-top: 40px; }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .about-inner { grid-template-columns: 1fr; }
  .about-avatar { margin-bottom: 0; }
  .quiz-box { padding: 24px; }
  .type-profile { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 10px; }
}
