@charset "UTF-8";

/* ==========================================================================
   マッチングサービス完全比較ガイド (03)
   テーマ：ミニマル・エディトリアル (Minimal Editorial Magazine)
   高級カルチャー誌のような余白美・タイポグラフィ・テラコッタアクセント
   ========================================================================== */

:root {
  --bg-main: #fafaf9;
  --bg-card: #ffffff;
  --bg-sub: #f5f5f4;
  --bg-dark: #1c1917;
  
  --text-main: #1c1917;
  --text-body: #292524;
  --text-muted: #78716c;
  --text-light: #a8a29e;
  
  --accent-terracotta: #c2410c;
  --accent-terracotta-hover: #9a3412;
  --accent-terracotta-light: #ffedd5;
  --accent-terracotta-border: #fed7aa;
  
  --border-light: #e7e5e4;
  --border-dark: #292524;
  
  --happy-color: #047857;
  --waku-color: #be185d;
  --meru-color: #c2410c;

  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.08);
  
  --font-base: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
}

/* リセット & 基本設定 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

[id] {
  scroll-margin-top: 85px;
}

body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.95;
  color: var(--text-body);
  background-color: var(--bg-main);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--accent-terracotta);
  text-decoration: none;
  transition: all 0.25s ease;
}
a:hover {
  color: var(--accent-terracotta-hover);
}

/* アニメーション */
@keyframes fadeInSlide {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes lineDraw {
  0% { width: 0; }
  100% { width: 100%; }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ステンシルアイコン（SVGインライン共通・細身で知的なデザイン） */
.stencil-icon {
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ステマ規制表記 */
.pr-notice-bar {
  background: #fafaf9;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  text-align: center;
  padding: 6px 12px;
  border-bottom: 1px solid var(--border-light);
  letter-spacing: 0.05em;
}

/* サイトヘッダー */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(250, 250, 249, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
}

.header-inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo span {
  font-family: var(--font-base);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent-terracotta);
  text-transform: uppercase;
  font-weight: 700;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}

.header-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  transition: all 0.2s;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-nav a:hover {
  color: var(--accent-terracotta);
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-terracotta);
  transition: width 0.25s;
}
.header-nav a:hover::after {
  width: 100%;
}

.lang-flags-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  padding-left: 16px;
  border-left: 1px solid var(--border-light);
}

.lang-flag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  transition: all 0.2s;
}
.lang-flag-btn.active {
  border-color: var(--accent-terracotta);
}
.flag-svg { display: block; }

/* ハンバーガーボタン */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}
.hamburger-btn .bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--text-main);
  margin: 5px auto;
  transition: all 0.3s ease;
}

/* メインレイアウト */
.layout-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 100px;
}

/* ヒーローショーケース（エディトリアルマガジンスタイル） */
.hero-editorial {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 50px 40px;
  margin-bottom: 50px;
  box-shadow: var(--shadow-sm);
}

.issue-meta-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-terracotta);
  text-transform: uppercase;
}
.issue-meta-bar span.pill {
  background: var(--accent-terracotta-light);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

.hero-main-title {
  font-family: var(--font-serif);
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-main-title .serif-sub {
  display: block;
  font-size: 1.35rem;
  color: var(--accent-terracotta);
  font-weight: 400;
  margin-top: 8px;
}

.hero-lead-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.95;
  margin-bottom: 30px;
}

/* スライダー（エディトリアル仕様） */
.slider-wrapper {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-sub);
}

.slider-container {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.slide-item {
  min-width: 100%;
  position: relative;
}

.slide-item img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(28, 25, 23, 0.92), rgba(28, 25, 23, 0.4), transparent);
  color: #ffffff;
  padding: 24px 20px 16px;
}
.slide-caption h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.slide-caption p {
  font-size: 0.85rem;
  color: #d6d3d1;
  line-height: 1.6;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all 0.2s;
  z-index: 10;
}
.slider-arrow:hover {
  background: var(--text-main);
  color: #ffffff;
}
.slider-arrow.prev { left: 10px; }
.slider-arrow.next { right: 10px; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.slider-dot {
  width: 8px;
  height: 8px;
  background: var(--border-light);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.slider-dot.active {
  width: 24px;
  background: var(--accent-terracotta);
}

/* 4大目的エディトリアルグリッド */
.editorial-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.editorial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 32px 26px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.editorial-card:hover {
  border-color: var(--accent-terracotta);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-index {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--accent-terracotta);
  margin-bottom: 12px;
}
.editorial-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}
.editorial-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.card-arrow-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-terracotta);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 目次（Table of Contents） */
.toc-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 36px;
  margin-bottom: 50px;
}
.toc-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toc-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px 30px;
}
.toc-list li a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-body);
}
.toc-list li a:hover {
  color: var(--accent-terracotta);
}
.toc-num {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  color: var(--accent-terracotta);
  font-weight: 700;
}

/* 記事セクション共通 */
.article-section {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 48px;
  margin-bottom: 50px;
}

.section-head {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 18px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
}
.section-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-terracotta);
  text-transform: uppercase;
}

.sub-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 32px 0 16px;
  position: relative;
  padding-left: 14px;
}
.sub-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: var(--accent-terracotta);
}

.body-p {
  font-size: 1.02rem;
  line-height: 2;
  color: var(--text-body);
  margin-bottom: 20px;
}

/* アプリ紹介カード（エディトリアル） */
.app-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  padding: 36px;
  margin: 30px 0;
  transition: all 0.3s;
}
.app-card:hover {
  border-color: var(--accent-terracotta);
}

.app-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
}
.app-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.app-logo-img {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-light);
}
.app-title-wrap h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
}
.app-badge-row {
  display: flex;
  gap: 8px;
}
.app-badge-item {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border: 1px solid var(--border-light);
  background: #ffffff;
}

.app-features-list {
  list-style: none;
  margin: 20px 0;
}
.app-features-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.98rem;
  line-height: 1.8;
}
.app-features-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-terracotta);
  font-weight: 700;
}

/* CTAボタン（エディトリアル） */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--text-main);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}
.btn-cta:hover {
  background: var(--accent-terracotta);
  color: #ffffff;
  transform: translateY(-2px);
}

/* 比較テーブル */
.table-responsive {
  overflow-x: auto;
  margin: 30px 0;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid var(--border-light);
  text-align: left;
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}
.compare-table th {
  background: var(--bg-sub);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-main);
}
.star-rating {
  color: var(--accent-terracotta);
  font-weight: 700;
}

/* デートシチュエーション（エディトリアル・写真対比レイアウト） */
.date-scene-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  padding: 28px;
  margin: 30px 0;
  align-items: center;
}
.date-scene-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border: 1px solid var(--border-light);
}
.date-scene-content h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}
.date-point-box {
  background: #ffffff;
  border-left: 3px solid var(--accent-terracotta);
  padding: 12px 16px;
  margin-top: 16px;
  font-size: 0.9rem;
}

/* コールアウト・防犯 */
.callout-box {
  background: var(--bg-sub);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--text-main);
  padding: 24px;
  margin: 24px 0;
}
.callout-box.danger {
  background: #fff1f2;
  border-left-color: #e11d48;
}
.callout-box.success {
  background: #f0fdf4;
  border-left-color: #16a34a;
}
.callout-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* テンプレートコピーボックス */
.template-box {
  background: #1c1917;
  color: #f5f5f4;
  padding: 24px;
  margin: 20px 0;
  font-family: monospace, sans-serif;
  font-size: 0.92rem;
  line-height: 1.8;
}
.template-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #44403c;
  margin-bottom: 14px;
  color: #a8a29e;
  font-size: 0.82rem;
}
.copy-btn {
  background: #44403c;
  color: #ffffff;
  border: none;
  padding: 4px 12px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
}
.copy-btn:hover {
  background: var(--accent-terracotta);
}

/* FAQアコーディオン（エディトリアル） */
.faq-item {
  border: 1px solid var(--border-light);
  background: #ffffff;
  margin-bottom: 12px;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: #ffffff;
  border: none;
  padding: 18px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-question:hover {
  background: var(--bg-sub);
}
.faq-q-num {
  font-family: var(--font-serif);
  color: var(--accent-terracotta);
  margin-right: 10px;
}
.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--text-body);
  display: none;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}
.faq-item.is-open .faq-answer {
  display: block;
}
.faq-chevron {
  transition: transform 0.3s;
}
.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

/* フッター */
.site-footer {
  background: #1c1917;
  color: #a8a29e;
  padding: 60px 24px 40px;
  border-top: 1px solid #292524;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: #d6d3d1;
  font-size: 0.88rem;
}
.footer-links a:hover {
  color: #ffffff;
}
.copyright {
  color: #78716c;
  font-size: 0.82rem;
}

/* レスポンシブ */
@media (max-width: 900px) {
  .hero-editorial {
    grid-template-columns: 1fr;
    padding: 30px 20px;
    gap: 30px;
  }
  .date-scene-card {
    grid-template-columns: 1fr;
  }
  .date-scene-card img {
    height: 220px;
  }
}

@media (max-width: 1040px) {
  .hamburger-btn { display: block; }
  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 30px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    transition: right 0.35s ease;
    z-index: 1000;
  }
  .header-nav.is-open { right: 0; }
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 999;
  }
  .nav-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .lang-flags-nav {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    width: 100%;
  }
  .hero-main-title { font-size: 2rem; }
  .article-section { padding: 30px 20px; }
}
