/* 00-base.css */
/* 土台(色・書体・余白)。色は令和街コンの LP のトークン(reiwamachicon-lp/css/base.css) */
:root {
  --blue: #009EF2;
  --pink: #FF1385;
  --pink-grad-end: #FF56E0;
  --navy: #000A48;
  --ink: #1A1A1A;
  --muted: #5B6275;
  --line: #E4E6EE;
  --bg-soft: #F5F5FC;
  /* 旧のタイプの色(banner_color_*)の置き換え。NT / NF / SJ / SP */
  --type-pink: #FCE8F3;
  --type-green: #E2F5EA;
  --type-blue: #E2F0FB;
  --type-yellow: #FFF4D6;
  --wrap: 1040px;
  --article: 760px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.8;
  font-size: 16px;
  overflow-wrap: anywhere;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.45; color: var(--navy); }
p { margin: 0 0 1em; }
ul { padding-left: 1.25em; }
table { border-collapse: collapse; width: 100%; }
th, td { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; text-align: left; }
th { background: var(--bg-soft); }
figure { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

.banner_color_pink { background-color: var(--type-pink); }
.banner_color_green { background-color: var(--type-green); }
.banner_color_blue { background-color: var(--type-blue); }
.banner_color_yellow { background-color: var(--type-yellow); }

/* 10-layout.css */
/* ヘッダー・パンくず・フッター */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.site-logo img { display: block; width: 120px; }
.site-nav a { color: var(--navy); font-weight: 700; font-size: 14px; text-decoration: none; }
.site-nav a:hover { color: var(--pink); }

.breadcrumb { font-size: 12px; color: var(--muted); }
.breadcrumb ol { list-style: none; margin: 0; padding: 10px 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li + li::before { content: '›'; margin-right: 4px; }
.breadcrumb a { color: var(--muted); }

.site-main { display: block; padding-bottom: 40px; }

.site-footer { background: var(--navy); color: #fff; padding: 32px 0 24px; font-size: 13px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.footer-group__name { font-weight: 700; margin: 0 0 4px; opacity: .7; }
.footer-group ul { list-style: none; padding: 0; margin: 0; }
.footer-group li { margin: 2px 0; }
.footer-nav { list-style: none; padding: 16px 0 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; border-top: 1px solid rgba(255, 255, 255, .2); }
.footer-note, .copyright { text-align: center; margin: 4px 0; opacity: .85; }

.more-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px auto; }
.more-links a { font-weight: 700; }
.more-links a::after { content: ' ›'; }

@media (min-width: 768px) {
  .site-logo img { width: 140px; }
  .footer-types { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 20-pair.css */
/* 相性ページ /relationships/{a}-{b}/ */
.pair-hero { background: var(--bg-soft); }
.pair-hero > * { max-width: var(--wrap); }
.pair-hero { display: grid; gap: 16px; padding: 20px 16px; justify-content: center; }
.pair-hero__main { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.pair-hero__types { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 420px; }
.pair-type { display: flex; flex-direction: column; align-items: center; border-radius: 16px; padding: 12px 8px; text-align: center; }
.pair-type img { width: 88px; height: 88px; object-fit: contain; }
.pair-type__abbr { font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing: .04em; }
.pair-type__jp { font-size: 13px; color: var(--muted); }
.pair-rating { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.pair-rating__label { font-size: 14px; color: var(--muted); }
.pair-rating__catch { font-weight: 700; color: var(--navy); font-size: 17px; }
.stars { display: inline-flex; gap: 2px; }
.stars img { width: 26px; height: 26px; }
.stars--sm img { width: 16px; height: 16px; }
.pair-chart { background: #fff; border-radius: 16px; padding: 12px; max-width: 520px; width: 100%; margin: 0 auto; }
.pair-chart img { display: block; width: 100%; }
.legend { list-style: none; padding: 0; margin: 8px 0 0; display: flex; gap: 16px; justify-content: center; font-size: 13px; font-weight: 700; }
.legend li { display: flex; align-items: center; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot--green { background: #E2465B; }
.dot--blue { background: #3A6FE0; }

.pair-body, .pair-list, .pair--empty > * { max-width: var(--article); margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.pair-body h1 { font-size: 22px; margin: 28px 0 8px; }
.pair-sec { margin-top: 36px; }
.pair-sec h2, .pair-list h2 { font-size: 20px; margin: 0 0 16px; padding: 10px 14px; background: var(--bg-soft); border-left: 5px solid var(--pink); border-radius: 4px; }
.pair-block h3, .pair-list h3 { font-size: 17px; margin: 24px 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
.pair-text { line-height: 1.95; }
.pair-text p { margin: 0 0 1em; }

.type-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; margin: 16px 0; border-radius: 14px; color: var(--ink); text-decoration: none; }
.type-card:hover { filter: brightness(.98); }
.type-card__abbr { font-weight: 700; font-size: 18px; color: var(--navy); margin-right: 6px; }
.type-card__jp { font-size: 13px; color: var(--muted); }
.type-card p { margin: 4px 0 0; font-size: 14px; }
.type-card img { width: 72px; height: 72px; object-fit: contain; flex-shrink: 0; }

.pair--empty .c-pageTitle { font-size: 22px; margin: 28px auto 8px; }
.pair-list { margin-top: 48px; }

@media (min-width: 768px) {
  .pair-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding: 32px 24px; gap: 32px; }
  .pair-type img { width: 110px; height: 110px; }
  .pair-body h1 { font-size: 26px; }
}

/* 30-type.css */
/* 16 タイプのページ /intj/ の本文(旧の mainHtml をそのまま出すので、旧のクラス名に当てる) */
.single-type-page .container { max-width: var(--article); margin: 0 auto; padding: 0 16px; }
.single-type-page .row { display: flex; flex-wrap: wrap; }
.single-type-page [class*="col-"] { width: 100%; min-width: 0; }
.single-type-page .col-6 { width: 50%; padding: 0 4px; }
.single-type-page .col-md-3:empty { display: none; }
.single-type-page .px-0 { padding-left: 0; padding-right: 0; }
.single-type-page .d-flex { display: flex; }
.single-type-page .justify-content-between { justify-content: space-between; }
.single-type-page .align-items-center { align-items: center; }
.single-type-page .mb-0 { margin-bottom: 0; }
.single-type-page .position-relative { position: relative; }

.nav_breadcrumb { font-size: 12px; color: var(--muted); padding: 10px 16px; max-width: var(--article); margin: 0 auto; }
.nav_breadcrumb img { width: 16px; height: 16px; vertical-align: -3px; }
.nav_breadcrumb a { color: var(--muted); }
.single-page-type-heading:empty { display: none; }

.single_page_banner { padding: 24px 0; }
.banner_text_icon { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.banner_text_item p { margin: 0; }
.banner_text_item .detail-heading { font-size: 36px; font-weight: 700; color: var(--navy); line-height: 1.2; letter-spacing: .04em; }
.banner_text_item span { font-weight: 700; color: var(--muted); }
.banner_single_icon img { width: 120px; height: 120px; object-fit: contain; }
.banner_single_tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.banner_single_tabs span { background: #fff; border-radius: 999px; padding: 2px 12px; font-size: 13px; }
.banner_single_img img { display: block; width: 100%; max-width: 480px; margin: 0 auto; }

.title_heading { font-size: 22px; margin: 16px 0; }
.estj_box { margin-top: 32px; }
.estj_box h2 { font-size: 20px; margin: 0 0 16px; padding: 10px 14px; background: var(--bg-soft); border-left: 5px solid var(--pink); border-radius: 4px; }
.estj_block { border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; background: var(--bg-soft); }
.estj_block_title p { margin: 0; font-weight: 700; }
.estj_block_title span { font-size: 22px; margin-right: 6px; }
.estj_block_para { font-size: 13px; margin: 4px 0 0; background: none !important; }
.pink_title_box { color: #B0125F; }
.blue_title_box { color: #0B6BB3; }
.gray_title_box, .gray_text { color: #9AA0B0 !important; }
.estj_column_container { display: grid; gap: 12px; }
.estj_column { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.estj_column_heading h3 { font-size: 16px; margin: 0; }
.estj_column_heading p { font-size: 13px; color: var(--muted); }
.estj_column_middle_content { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 8px 0; gap: 8px; font-weight: 700; }
.estj_column_middle_content p { margin: 0; }
.estj_column_middle_content span:first-child { font-size: 22px; }
.estj_column_middle_content img { width: 48px; height: 48px; }
.estj_column_bottom_content { font-size: 14px; }
.estj_inner_box h3 { font-size: 17px; margin: 24px 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--line); }
.estj_text { line-height: 1.95; }

/* 終了したアプリ「イチロク」の広告(旧の本文にそのまま入っている)は出さない */
.mobile-middle-banner { display: none; }

@media (min-width: 768px) {
  .single-type-page .col-md-6 { width: 50%; }
  .single_page_banner .container { max-width: var(--wrap); }
  .estj_column_container { grid-template-columns: 1fr 1fr; }
  .title_heading { font-size: 26px; }
}

/* 40-list.css */
/* 「各タイプの相性一覧はこちら」(アコーディオン)・「性格タイプから記事を探す」・タイプ別の相性 */
.relation_box h2 { font-size: 20px; margin: 24px 0 16px; padding: 10px 14px; background: var(--bg-soft); border-left: 5px solid var(--pink); border-radius: 4px; }
.type-acc { display: grid; gap: 8px; }
.type-acc__group { border-radius: 12px; overflow: hidden; }
.type-acc__group summary { display: flex; align-items: center; gap: 10px; padding: 10px 14px; cursor: pointer; list-style: none; font-weight: 700; color: var(--navy); }
.type-acc__group summary::-webkit-details-marker { display: none; }
.type-acc__group summary::after { content: '＋'; margin-left: auto; flex-shrink: 0; }
/* 見出しの文字は語の途中(「相性」の「性」だけ)で折らない。折れるのは「）」の後ろの空白だけ。右の「＋」は幅を奪わない */
.type-acc__head { flex: 1 1 auto; min-width: 0; word-break: keep-all; overflow-wrap: normal; line-height: 1.4; }
.type-acc__icon { flex-shrink: 0; }
.type-acc__group[open] summary::after { content: '－'; }
.type-acc__icon { width: 40px; height: 40px; object-fit: contain; }
.type-acc__group ul { list-style: none; margin: 0; padding: 4px 8px 10px; display: grid; gap: 6px; }
.type-acc__group li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fff; border-radius: 10px; padding: 8px 12px; color: var(--ink); text-decoration: none; font-size: 14px; }
.type-acc__group li a:hover, .type-acc__group li a[aria-current] { outline: 2px solid var(--blue); }
.type-acc__imgs { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
.type-acc__imgs img { width: 32px; height: 32px; object-fit: contain; }
.type-acc__x { font-weight: 700; font-size: 12px; color: var(--muted); }

.type-search { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.type-search a { display: inline-block; border-radius: 999px; padding: 4px 12px; font-size: 13px; color: var(--navy); text-decoration: none; }
.type-search a:hover { outline: 2px solid var(--blue); }

.compat { max-width: var(--article); }
.compat h1, .page-content h1 { font-size: 24px; margin: 20px 0 16px; }
.compat h2 { font-size: 18px; margin: 24px 0 12px; }
.compat-list { list-style: none; padding: 0; display: grid; gap: 8px; }
.compat-list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
.compat-list a:hover { border-color: var(--blue); }
.compat-item__imgs { display: inline-flex; flex-shrink: 0; }
.compat-item__imgs img { width: 40px; height: 40px; object-fit: contain; }
.compat-item__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.compat-item__label { font-weight: 700; font-size: 14px; }
.compat-item__catch { font-size: 13px; color: var(--muted); }
.compat-index { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.compat-index a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 14px; }

@media (min-width: 768px) {
  .type-acc__group ul { grid-template-columns: 1fr 1fr; }
  .compat-index { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
#siteBreadcrumb ol { list-style: none; margin: 8px 0 0; padding: 0; font-size: 12px; }
#siteBreadcrumb a { color: var(--muted); }

/* リンクの文字は語の途中(「相性」の「性」だけ)で折らない。区切りは空白だけ。幅が足りないスマホは 1 段小さく */
.type-acc__label, .compat-item__label { word-break: keep-all; overflow-wrap: normal; min-width: 0; }
.type-acc__label { flex: 1; }
@media (max-width: 767.98px) {
  /* 幅 390px で 16 タイプの見出しがすべて 1 行に収まる大きさ(いちばん長い ESFP（エンターテイナー） と他タイプの相性 で約 269px / 使える幅 約 282px)。入らない幅では「）」の後ろの空白で折れる */
  .type-acc__group summary { gap: 8px; padding: 8px; font-size: 13px; }
  .type-acc__group summary::after { font-size: 12px; }
  .type-acc__icon { width: 32px; height: 32px; }
  .type-acc__group li a { font-size: 13px; padding: 8px 10px; }
  .compat-item__label { font-size: 13px; }
  .type-acc__imgs img { width: 28px; height: 28px; }
}

/* 文字は読み上げと本文の照合のために残し、見た目には出さない */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
#siteBreadcrumb .home-link { display: inline-flex; align-items: center; color: var(--muted); text-decoration: none; }
#siteBreadcrumb .home-link svg { width: 18px; height: 18px; display: block; }

/* 50-page.css */
/* 会社系・/compatibility-page/・404(旧の mainHtml をそのまま出す) */
.page-content { max-width: var(--article); }
.page-content .c-pageTitle { font-size: 24px; margin: 20px 0 16px; }
.page-content h2 { font-size: 19px; margin: 28px 0 12px; }
.page-content h3 { font-size: 17px; margin: 20px 0 8px; }
.page-content .wp-block-table { overflow-x: auto; }
.page-content th.has-text-align-center { text-align: center; min-width: 6em; }

/* 60-cta.css */
/* 令和街コンの段(C1・C3)とスマホの追従ボタン。本文より目立たせるが、本文は隠さない */
.cta {
  margin: 36px 0;
  padding: 24px 20px;
  border-radius: 20px;
  text-align: center;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(120deg, var(--blue), var(--pink)) border-box;
  border: 3px solid transparent;
  box-shadow: 0 8px 24px rgba(0, 10, 72, .08);
}
.cta__logo { display: block; width: 150px; height: auto; margin: 0 auto 10px; }
.cta__title { font-size: 19px; font-weight: 700; color: var(--navy); margin: 0 0 8px; line-height: 1.5; }
.cta__text { font-size: 14px; color: var(--ink); margin: 0 0 16px; text-align: left; }
.cta__button {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--pink-grad-end));
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(255, 19, 133, .3);
}
.cta__button:hover { filter: brightness(1.05); }

.cta-sticky { display: none; }
@media (max-width: 767.98px) {
  /* 追従ボタンは 1 行分(高さ 44px)。body の下の余白は、ボタンの高さ + 下の隙間と同じにして末尾まで読めるようにする */
  body.has-sticky { padding-bottom: calc(52px + env(safe-area-inset-bottom)); }
  .cta-sticky {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: calc(4px + env(safe-area-inset-bottom));
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 44px;
    padding: 4px 4px 4px 14px;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 10, 72, .3);
    transform: translateY(calc(100% + 12px + env(safe-area-inset-bottom)));
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .cta-sticky.is-visible { transform: none; opacity: 1; pointer-events: auto; }
  .cta-sticky__lead { min-width: 0; font-size: 12px; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cta-sticky__btn { flex-shrink: 0; padding: 0 14px; line-height: 36px; border-radius: 999px; background: linear-gradient(90deg, var(--pink), var(--pink-grad-end)); font-weight: 700; font-size: 13px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-sticky { transition: none; }
}
@media (min-width: 768px) {
  .cta { padding: 28px 32px; }
  .cta__title { font-size: 21px; }
  .cta__text { text-align: center; }
}

/* 70-top.css */
/* トップ「16タイプと恋しよう！令和街コン」(docs/05)。見た目は旧トップ(イチロクの LP)を踏襲:
   紺 #17223B / 紫 #4B164C / 水色 #7CD1DE・#ADEEFB・#F4FAFF / 赤 #FF2626。
   2026-10-13 運営「スマホの大きさに固定で。デスクトップで開いても」→ トップはページ全体をスマホ幅(480px)の 1 本の列にし、PC では中央に置く。
   斜めの角丸の帯(.top-band)と大きな丸(.top-blob)は旧の SVG(回転した角丸の長方形)を CSS で描いたもの。
   すべて .page-top の下に閉じる(他ページに影響しない) */
.page-top { --t-navy: #17223B; --t-purple: #4B164C; --t-teal: #7CD1DE; --t-pale: #ADEEFB; --t-bg: #F4FAFF; --t-red: #FF2626; --t-yellow: #FCEC9A; --t-green: #B6F6AB; --t-blue: #4A7BF8; --t-col: 480px; background: #E6ECF3; }
.page-top .site-header, .page-top .site-main, .page-top .top-legal, .page-top .site-footer { max-width: var(--t-col); margin-left: auto; margin-right: auto; }
.page-top .site-header { border-bottom: 0; }
.page-top .site-main { background: #fff; overflow-x: clip; }
.page-top .top-legal { background: #fff; }
.page-top h1, .page-top h2, .page-top h3 { color: var(--t-navy); }
.page-top .wrap { position: relative; z-index: 1; }

/* 部品 */
.top-pill { display: flex; justify-content: center; margin: 0 0 20px; font-size: 17px; }
.top-pill span { display: inline-block; background: var(--t-navy); color: #fff; font-weight: 900; padding: 12px 28px; border-radius: 999px; line-height: 1.4; }
.top-lead { max-width: 640px; margin: 0 auto 24px; text-align: center; font-size: 14px; line-height: 1.9; color: var(--t-navy); font-weight: 500; }
.top-center { text-align: center; margin: 28px 0 0; }
.top-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 240px; min-height: 54px; padding: 0 32px; border-radius: 999px; background: var(--t-red); color: #fff; font-weight: 900; font-size: 16px; text-decoration: none; box-shadow: 0 8px 20px rgba(255, 38, 38, .28); }
.top-btn:hover { filter: brightness(1.05); }
.top-btn--ghost { background: #fff; color: var(--t-navy); border: 2px solid var(--t-navy); box-shadow: none; }
.top-stores { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.top-stores img { height: 46px; width: auto; display: block; }
.top-eyebrow { text-align: center; margin: 0 0 6px; }
.top-eyebrow span { display: inline-block; background: var(--t-red); color: #fff; font-weight: 900; font-size: 12px; padding: 4px 12px; border-radius: 999px; letter-spacing: .04em; }
.top-eyebrow--en span { background: transparent; color: var(--t-teal); padding: 0; font-size: 13px; letter-spacing: .14em; }
.top-eyebrow--light span { color: var(--t-pale); }
.top-h2 { text-align: center; font-size: 24px; font-weight: 900; margin: 0 0 24px; line-height: 1.4; }
.top-h2--sub { font-size: 20px; margin-top: 8px; }
.page-top .top-h2--light { color: #fff; }
.top-blob { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.top-band { position: absolute; border-radius: 999px; pointer-events: none; transform: rotate(-45deg); transform-origin: center; }
.top-band--navy { background: var(--t-navy); }
.top-band--teal { background: var(--t-teal); }

/* 01 ヒーロー: 実際の参加風景の動画(アプリのようこそ画面と同じ)。上は薄く下は濃い紺の幕、白い文字を中央に。
   タイプのアイコンを枠なしで散らし、奥行き(大きさ・ぼかし・透明度)と、ゆっくり漂う動きを付ける */
.top-hero { position: relative; height: min(100svh, 820px); min-height: 640px; background: var(--t-navy); overflow: hidden; color: #fff; }
.top-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.top-hero__dim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 34, 59, .34) 0%, rgba(23, 34, 59, .30) 38%, rgba(23, 34, 59, .82) 70%, rgba(23, 34, 59, .96) 100%); }
.top-hero__head { position: relative; }
.top-hero__couples { display: flex; justify-content: center; align-items: flex-end; gap: 10px; margin: 0 -24px 10px; }
.top-hero__couple { position: relative; display: flex; align-items: flex-end; }
.top-hero__couple img { width: auto; height: 140px; margin: 0 -22px; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .5)); animation: top-bob 5.5s ease-in-out infinite; }
.top-hero__couple img:first-child { animation-delay: -1.6s; }
.top-hero__heart { position: absolute; left: 50%; top: 14px; width: 26px; height: 26px; transform: translateX(-50%); fill: var(--t-red); filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); animation: top-heart 2.6s ease-in-out infinite; z-index: 2; }
.top-hero__couple:last-child .top-hero__heart { animation-delay: -1.3s; }
@keyframes top-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes top-heart { 0%, 100% { transform: translateX(-50%) scale(1); opacity: .9; } 50% { transform: translateX(-50%) scale(1.25); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .top-hero__couple img, .top-hero__heart { animation: none; } }
.top-hero__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 24px calc(40px + env(safe-area-inset-bottom)); text-align: center; }
.top-hero__title { margin: 0; text-shadow: 0 2px 18px rgba(0, 0, 0, .45), 0 0 40px rgba(124, 209, 222, .25); }
.page-top .top-hero__title { color: #fff; }
.top-hero__t1 { display: block; font-size: clamp(36px, 11.8vw, 46px); font-weight: 900; line-height: 1.12; letter-spacing: -.01em; word-break: keep-all; }
.top-hero__t2 { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 19px; font-weight: 700; letter-spacing: .18em; color: var(--t-teal); }
.top-hero__t2::before, .top-hero__t2::after { content: ""; width: 22px; height: 2px; background: var(--t-teal); }
.top-hero__sub { margin: 14px 0 24px; font-size: 13px; font-weight: 400; line-height: 1.8; color: rgba(255, 255, 255, .82); }
.top-hero .top-stores { justify-content: center; }
.top-hero .top-stores img { height: 44px; }

/* 02 about: 旧の詩。中央寄せの太字、背景に赤と水色の丸 */
.top-about { position: relative; padding: 56px 0 40px; overflow: hidden; }
.top-blob--red { width: 180px; height: 180px; background: var(--t-red); right: -70px; top: 40px; }
.top-blob--teal { width: 260px; height: 260px; background: var(--t-teal); left: -140px; bottom: -40px; }
.top-about__text { text-align: center; }
.top-about__text p { font-size: 15px; font-weight: 700; line-height: 2.1; color: var(--t-navy); margin: 0 0 1.6em; }
.top-about__text p:last-child { margin-bottom: 0; }

/* 03 16 タイプってなに?: スライダーのカード 16 枚(画像の白い縁は clip-path で切る)+ 4 グループのキャラ */
.top-types { padding: 40px 0; background: var(--t-bg); }
.top-slider { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; padding: 4px 16px 16px; scrollbar-width: thin; }
.top-slider__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; width: max-content; }
.top-slider__track li { scroll-snap-align: center; }
.top-slider__track a { display: block; border-radius: 14px; overflow: hidden; filter: drop-shadow(0 6px 14px rgba(23, 34, 59, .14)); }
.top-slider__track img { width: 196px; height: auto; display: block; clip-path: inset(2.6% round 14px); margin: -2.6%; }
.top-groups { display: grid; gap: 14px; margin-top: 16px; }
.top-group { background: #fff; border-radius: 16px; padding: 12px 12px 14px; border: 2px solid var(--g); }
.top-group__name { margin: 0 0 8px; font-size: 14px; font-weight: 900; color: var(--t-navy); display: inline-block; background: var(--g); padding: 3px 12px; border-radius: 999px; }
.top-group__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.top-group__list a { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--t-navy); padding: 6px 2px; border-radius: 12px; }
.top-group__list a:hover { background: var(--t-bg); }
.top-group__icons { display: flex; }
.top-group__icons img { width: 34px; height: 34px; }
.top-group__icons img + img { margin-left: -8px; }
.top-group__abbr { font-weight: 900; font-size: 13px; margin-top: 4px; }
.top-group__jp { font-size: 10px; color: var(--muted); white-space: nowrap; letter-spacing: -.03em; }

/* 04 16 タイプを使った出会い: 赤線 / 灰線の 2 列 + 薄い水色の角丸カード */
.top-meet { padding: 48px 0; }
.top-meet__cols { display: grid; gap: 28px; }
.top-meet__colhead { text-align: center; font-size: 16px; font-weight: 900; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 3px solid var(--t-red); }
.top-meet__col--without .top-meet__colhead { border-bottom-color: #C9CED8; color: var(--muted); }
.top-meet__label { text-align: center; font-weight: 900; font-size: 14px; color: var(--t-navy); margin: 10px 0 8px; }
.top-meet__card { display: grid; grid-template-columns: 1fr 96px; gap: 10px; align-items: center; background: var(--t-pale); border-radius: 18px; padding: 16px 14px; }
.top-meet__col--without .top-meet__card { background: #EDEDED; }
.top-meet__card p { margin: 0; font-size: 13px; line-height: 1.8; font-weight: 500; color: var(--t-navy); }
.top-meet__card img { width: 96px; height: auto; }

/* 06 当日の流れ: STEP の番号を赤 / 水色で */
.top-flow { padding: 48px 0; background: var(--t-bg); }
.top-flow__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.top-flow__step { display: grid; grid-template-columns: 1fr 96px; grid-template-areas: "num img" "body img"; gap: 6px 12px; background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 8px 24px rgba(23, 34, 59, .08); }
.top-flow__num { grid-area: num; display: flex; align-items: baseline; gap: 6px; }
.top-flow__stepword { font-size: 11px; font-weight: 900; letter-spacing: .14em; color: var(--t-teal); }
.top-flow__n { font-size: 30px; font-weight: 900; color: var(--t-red); line-height: 1; }
.top-flow__step:nth-child(even) .top-flow__n { color: var(--t-teal); }
.top-flow__body { grid-area: body; }
.top-flow__h { margin: 0 0 6px; font-size: 15px; font-weight: 900; }
.top-flow__body p { margin: 0; font-size: 13px; line-height: 1.8; color: var(--t-navy); }
.top-flow__img { grid-area: img; width: 96px; height: auto; align-self: center; border-radius: 12px; }

/* 07 ランク: 本家 reiwamachicon.jp の css/06-rank.css(スマホ)の移植。背景は上がピンク→青の帯で白へ溶ける。見出しはピンク→紫の文字グラデ */
.top-rank { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 46%), linear-gradient(90deg, #FFE0EA 0%, #F3E3E2 44%, #E6E2EB 67%, #DCDFF0 78%, #BDD5F7 100%); padding: 62px 0 66px; }
.top-rank__inner { text-align: left; }
.page-top .top-rank__title { margin: 0; padding: 0 38px; font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: .01em; }
.top-rank__grad { display: inline-block; background: linear-gradient(90deg, #FF1385 0%, #E95BFF 100%); -webkit-background-clip: text; background-clip: text; color: #FF1385; -webkit-text-fill-color: transparent; }
.top-rank__grad--tail { background: linear-gradient(90deg, #FF1385 0%, #FF2196 100%); -webkit-background-clip: text; background-clip: text; }
.top-rank__lead { margin: 18px 0 0; padding: 0 38px; font-size: 15px; line-height: 22px; font-weight: 500; letter-spacing: 0; color: #1A1A1A; }
.top-rank__diagram { display: block; width: 352px; max-width: 100%; height: auto; margin: 22px auto 0; }

/* 08 エリア: 本家の会場写真は地名の帯が焼き込まれたものと無いものが混ざるので、写真の部分だけを同じ比率で切り出し、地名は自前の札で揃える */
.top-area { padding: 48px 0 40px; }
.top-area__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.top-area__card { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1.65; background: var(--t-navy); box-shadow: 0 6px 18px rgba(23, 34, 59, .12); }
.top-area__card img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.top-area__name { position: absolute; left: 10px; bottom: 10px; padding: 4px 12px; background: #fff; color: var(--t-navy); font-weight: 900; font-size: 14px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }

/* 料金 */
.top-price { position: relative; padding: 48px 0 56px; background: var(--t-navy); color: #fff; overflow: hidden; }
.top-blob--navy { width: 320px; height: 320px; background: var(--t-teal); right: -160px; top: -120px; opacity: .35; }
.top-price__card { background: #fff; color: var(--t-navy); border-radius: 20px; padding: 20px 18px 22px; text-align: center; }
.top-price__free { margin: 0 0 6px; font-weight: 900; color: var(--t-red); font-size: 16px; }
.top-price__main { margin: 0; display: flex; justify-content: center; align-items: baseline; gap: 4px; }
.top-price__unit { font-size: 16px; font-weight: 700; }
.top-price__num { font-size: 52px; font-weight: 900; letter-spacing: .01em; line-height: 1; }
.top-price__yen { font-size: 18px; font-weight: 700; }
.top-price__plus { margin: 6px 0; font-size: 22px; font-weight: 900; color: var(--t-teal); line-height: 1; }
.top-price__drink { margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 900; font-size: 14px; }
.top-price__cmps { display: grid; gap: 12px; margin-top: 16px; }
.top-price__cmp { position: relative; background: rgba(255, 255, 255, .08); border-radius: 16px; padding: 14px 14px 16px; display: grid; grid-template-columns: 56px 1fr; gap: 6px 12px; align-items: center; }
.top-price__cmp--us { background: #fff; color: var(--t-navy); }
.top-price__cmppill { grid-column: 1 / -1; margin: 0; font-size: 12px; font-weight: 900; }
.top-price__cmp img { width: 56px; height: 56px; padding: 8px; border-radius: 50%; background: rgba(255, 255, 255, .12); box-sizing: border-box; }
.top-price__cmp--us img { background: var(--t-pale); }
.top-price__cmptext { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.7; }
.top-price__bubble { position: absolute; right: 12px; top: -12px; margin: 0; background: var(--t-red); color: #fff; font-weight: 900; font-size: 12px; line-height: 1.2; padding: 8px 10px; border-radius: 999px; text-align: center; }

/* 09 安心 */
.top-safe { padding: 44px 0; }
.top-safe__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.top-safe__item { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; background: var(--t-bg); border-radius: 16px; padding: 14px 16px; }
.top-safe__item p { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.7; color: var(--t-navy); }
.top-safe__free { width: 56px; height: 56px; border-radius: 50%; background: var(--t-teal); color: #fff; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }

/* 10 相性を調べる: 人気の組み合わせ 8 枚 */
.top-compat { padding: 44px 0 48px; background: var(--t-bg); }
.top-compat__sub { text-align: center; font-size: 15px; margin: -6px 0 16px; color: var(--t-purple); }
.top-pairs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.top-pair { display: flex; flex-direction: column; align-items: center; background: #fff; border-radius: 16px; padding: 12px 8px; text-decoration: none; color: var(--t-navy); border: 2px solid transparent; }
.top-pair:hover { border-color: var(--t-teal); }
.top-pair__chars { display: flex; }
.top-pair__chars img { width: 52px; height: 52px; }
.top-pair__chars img + img { margin-left: -10px; }
.top-pair__label { font-weight: 900; font-size: 15px; margin-top: 6px; }
.top-pair__jp { font-size: 11px; color: var(--muted); }

/* 11 CTA: 帯 + 画面 + ボタン */
.top-cta { position: relative; padding: 48px 0 40px; overflow: hidden; background: #fff; }
.top-cta__band1 { width: 70%; height: 18%; left: -30%; top: 10%; }
.top-cta__band2 { width: 70%; height: 18%; right: -30%; bottom: 10%; }
.top-cta__inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.top-cta__mock { width: 200px; height: auto; }
.top-cta__logo { width: 200px; height: auto; margin: 0 auto 8px; display: block; }
.top-cta__h { font-size: 20px; font-weight: 900; margin: 0 0 14px; }
.top-cta__body .top-stores { margin-bottom: 14px; }
.top-legal { display: flex; gap: 18px; justify-content: center; padding: 10px 16px 20px; font-size: 12px; }
.top-legal a { color: var(--muted); }
