/* ====================================
   共通スタイル - 婚活マッチングシステム
   カラー: 水色・青系（写真トーンに合わせたナチュラルブルー）
==================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Poppins:wght@300;400;600&display=swap');

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

/* 基本 */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #ffffff;
  color: #333333;
  font-size: 16px;
  line-height: 1.7;
}

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

a {
  color: #3d7ab5;
  text-decoration: none;
}

a:hover {
  color: #2c5f8a;
}

ul {
  list-style: none;
}

/* ====================================
   ヘッダー
==================================== */
header {
  background-color: #ffffff;
  border-bottom: 2px solid #3d7ab5;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(61,122,181,0.12);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c5f8a;
  letter-spacing: 0.02em;
}

.logo span {
  color: #d4699f;
}

.logo .logo-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  color: #333333;
  margin-left: 5px;
  letter-spacing: 0.03em;
  vertical-align: middle;
  opacity: 0.85;
}

/* ハンバーガー */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: #2c5f8a;
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ナビ（PC） */
.nav-pc {
  display: none;
}

.nav-pc a {
  margin-left: 28px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #3d7ab5;
  transition: color 0.2s;
}

.nav-pc a:hover {
  color: #2c5f8a;
}

/* ドロワーメニュー（スマホ） */
.nav-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 999;
}

.nav-drawer.open {
  display: block;
}

.nav-drawer a {
  display: block;
  padding: 16px 24px;
  font-size: 1rem;
  color: #2c5f8a;
  border-bottom: 1px solid #e8f1f8;
  font-weight: 500;
}

.nav-drawer a:hover {
  background-color: #f5f7f8;
}

/* ====================================
   フッター
==================================== */
footer {
  background-color: #1e3d5c;
  color: #c5dff0;
  padding: 48px 20px 24px;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-logo-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  color: #ffffff;
  margin-left: 6px;
  letter-spacing: 0.03em;
  vertical-align: middle;
  opacity: 0.75;
}

.footer-info {
  font-size: 0.85rem;
  line-height: 1.9;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.footer-links a {
  color: #8bbfdf;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-copy {
  font-size: 0.78rem;
  color: #7aaecf;
  border-top: 1px solid #2e5880;
  padding-top: 16px;
}

/* ====================================
   共通コンポーネント
==================================== */

/* コンテナ */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* セクション */
section {
  padding: 64px 20px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e3d5c;
  margin-bottom: 8px;
  text-align: center;
}

.section-title span {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: #6aaad4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.section-lead {
  text-align: center;
  color: #666666;
  font-size: 0.95rem;
  margin-bottom: 40px;
}

.section-divider {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #3d7ab5, #d4699f);
  margin: 12px auto 32px;
  border-radius: 2px;
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  font-family: 'Noto Sans JP', sans-serif;
}

.btn-primary {
  background-color: #3d7ab5;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #2c5f8a;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(61,122,181,0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: #3d7ab5;
  border: 2px solid #3d7ab5;
}

.btn-outline:hover {
  background-color: #3d7ab5;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-outline-blue {
  background-color: transparent;
  color: #1976d2;
  border: 2px solid #1976d2;
}

.btn-outline-blue:hover {
  background-color: #1976d2;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-outline-orange {
  background-color: transparent;
  color: #d4699f;
  border: 2px solid #d4699f;
}

.btn-outline-orange:hover {
  background-color: #d4699f;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ヒーロー上で使う白ボタン */
.btn-white {
  background-color: #ffffff;
  color: #37474f;
  border: 2px solid #ffffff;
  font-weight: 700;
}

.btn-white:hover {
  background-color: #e8f4fc;
  border-color: #e8f4fc;
  color: #2c5f8a;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  transform: translateY(-1px);
}

/* ヒーロー上で使う白枠ボタン */
.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.6);
}

.btn-outline-white:hover {
  background-color: rgba(255,255,255,0.15);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-block {
  display: block;
  width: 100%;
}

/* カード */
.card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 28px;
  transition: box-shadow 0.25s;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* グリッド */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

/* ステップバッジ */
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #3d7ab5;
  color: #ffffff;
  border-radius: 50%;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 12px;
  flex-shrink: 0;
}

/* アイコンボックス */
.icon-box {
  font-size: 2rem;
  margin-bottom: 12px;
}

/* タグ・バッジ */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
}

.badge-gray {
  background-color: #e8f1f8;
  color: #3d7ab5;
}

/* ハイライトボックス */
.highlight-box {
  background-color: #f0f7ff;
  border-left: 4px solid #3d7ab5;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 0.9rem;
  color: #1e3d5c;
}

/* 注意書き */
.notice {
  background-color: #e8f1f8;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.85rem;
  color: #3d7ab5;
  margin: 12px 0;
}

/* ====================================
   フォーム
==================================== */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #37474f;
  margin-bottom: 6px;
}

.form-label .required {
  color: #e57373;
  margin-left: 4px;
  font-size: 0.78rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cfd8dc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333333;
  background-color: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: #3d7ab5;
  box-shadow: 0 0 0 3px rgba(61,122,181,0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  font-size: 0.8rem;
  color: #e57373;
  margin-top: 4px;
  display: none;
}

.form-error.show {
  display: block;
}

/* ====================================
   ヒーローセクション
==================================== */
.hero {
  background:
    linear-gradient(135deg, rgba(20, 60, 100, 0.62) 0%, rgba(50, 110, 170, 0.42) 100%),
    url('/public/hero.jpg') center 45% / cover no-repeat;
  color: #ffffff;
  padding: 140px 20px 140px;
  text-align: center;
  border-bottom: 2px solid #d4699f;
}

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  margin-bottom: 16px;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.hero-btns .btn {
  min-width: 220px;
}

/* ====================================
   ページヘッダー（下層ページ用）
==================================== */
.page-hero {
  background: linear-gradient(135deg, #1e3d5c 0%, #3d7ab5 100%);
  color: #ffffff;
  padding: 48px 20px;
  text-align: center;
}

.page-hero h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-hero p {
  font-size: 0.9rem;
  color: #b8d9f2;
}

/* ====================================
   マニュアルページ用
==================================== */
.manual-step {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  align-items: flex-start;
}

.manual-step-content {
  flex: 1;
}

.manual-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #37474f;
  margin-bottom: 8px;
}

.manual-step-desc {
  font-size: 0.9rem;
  color: #555555;
  line-height: 1.8;
}

.manual-step-desc ul {
  margin-top: 8px;
  padding-left: 0;
}

.manual-step-desc li {
  padding: 4px 0 4px 20px;
  position: relative;
  font-size: 0.88rem;
}

.manual-step-desc li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #546e7a;
}

/* スクリーンモック */
.screen-mock {
  background: #f5f7f8;
  border: 1px solid #cfd8dc;
  border-radius: 16px;
  padding: 24px;
  max-width: 320px;
  margin: 16px auto;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.screen-mock-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.screen-mock-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #cfd8dc;
}

/* ====================================
   レスポンシブ（PC）
==================================== */
@media (min-width: 768px) {
  .hero-title {
    font-size: 2.6rem;
  }

  .hero-btns {
    flex-direction: row;
    justify-content: center;
  }

  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav-pc {
    display: flex;
    align-items: center;
  }

  .hamburger {
    display: none;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

@media (min-width: 1024px) {
  section {
    padding: 80px 20px;
  }
}

/* ====================================
   ページ上部へ戻るボタン（フローティング）
==================================== */
.scroll-to-top {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 500;
  display: none;
}

.scroll-to-top__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #3d7ab5;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Noto Sans JP', sans-serif;
  box-shadow: 0 4px 14px rgba(61,122,181,0.35);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.scroll-to-top__btn:hover {
  background: #2c5f8a;
  color: #fff;
  transform: translateY(-2px);
}
