/* ===== Saimy サイト共通スタイル ===== */
:root {
  --navy: #24385b;
  --navy-light: #3a5178;
  --gold: #c29a3b;
  --gold-light: #e5cf9e;
  --bg: #faf9f6;
  --bg-soft: #f2efe9;
  --ink: #3a3a3a;
  --muted: #777;
  --line-green: #06c755;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(36, 56, 91, 0.08);
}

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

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

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 16px;
}

h1, h2, h3 { font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif; color: var(--navy); }

img { max-width: 100%; }

a { color: var(--navy); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ===== ヘッダー ===== */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e8e4dc;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700; font-size: 22px; letter-spacing: 0.18em;
  color: var(--navy); text-decoration: none;
}
.logo span { color: var(--gold); }
/* タブ風ナビ */
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a {
  text-decoration: none; font-size: 14px; color: var(--navy);
  padding: 8px 14px; border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links > a:hover { background: var(--bg-soft); color: var(--gold); }
.nav-links .nav-line { display: none; } /* PCではヘッダー右のボタンを使う */

/* ハンバーガーボタン（PCでは非表示） */
.nav-toggle {
  display: none; width: 40px; height: 40px; border: none; background: none;
  cursor: pointer; padding: 8px; flex-direction: column; justify-content: space-between;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%; background: var(--navy);
  border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

.btn-line {
  display: inline-block;
  background: var(--line-green); color: #fff !important;
  font-weight: 700; text-decoration: none;
  padding: 10px 22px; border-radius: 999px;
  font-size: 14px;
  box-shadow: 0 3px 10px rgba(6, 199, 85, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-line:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(6, 199, 85, 0.35); }
.btn-line.large { padding: 16px 42px; font-size: 17px; }

/* ===== ヒーロー ===== */
.hero {
  padding: 90px 0 80px;
  text-align: center;
  background:
    linear-gradient(rgba(250, 249, 246, 0.55), rgba(250, 249, 246, 0.35)),
    url("assets/hero.jpg") center / cover no-repeat;
}
.hero-logo { margin-bottom: 18px; mix-blend-mode: multiply; }
.about-photo { border-radius: var(--radius); box-shadow: var(--shadow); margin-top: 10px; }
.contact-photo {
  width: 220px; height: 220px; object-fit: cover; border-radius: 50%;
  box-shadow: var(--shadow); margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.hero .sub-en {
  font-size: 13px; letter-spacing: 0.22em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 28px;
}
.hero p.lead { max-width: 640px; margin: 0 auto 36px; color: var(--navy-light); }

/* ===== セクション共通 ===== */
section { padding: 80px 0; }
section:nth-of-type(even) { background: var(--bg-soft); }
.sec-title { text-align: center; font-size: clamp(22px, 3.4vw, 30px); margin-bottom: 10px; }
.sec-sub {
  text-align: center; color: var(--gold); font-size: 12px;
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 48px;
}

/* ===== お悩みあるある ===== */
.onayami-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px; margin-bottom: 40px;
}
.onayami-item {
  background: #fff; border-radius: var(--radius); padding: 22px 24px;
  box-shadow: var(--shadow);
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 15px;
}
.onayami-item .check { color: var(--gold); font-weight: 700; flex-shrink: 0; }
.onayami-close {
  text-align: center; font-family: "Zen Maru Gothic", sans-serif;
  font-size: clamp(18px, 2.6vw, 24px); font-weight: 700; color: var(--navy);
}
.onayami-close em { font-style: normal; color: var(--gold); }

/* ===== Saimyについて ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about-block h3 { font-size: 20px; margin-bottom: 18px; }
.about-block p { margin-bottom: 16px; font-size: 15px; }
.career-box {
  background: #fff; border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 30px; box-shadow: var(--shadow);
}

/* ===== できること ===== */
.dekiru-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.dekiru-item {
  background: #fff; border-radius: var(--radius); padding: 26px 26px 22px;
  box-shadow: var(--shadow);
}
.dekiru-item h3 { font-size: 17px; margin-bottom: 8px; }
.dekiru-item h3::before { content: "◆ "; color: var(--gold); font-size: 13px; }
.dekiru-item p { font-size: 14px; color: var(--muted); }

/* ===== 料金 ===== */
.plan-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px; margin-bottom: 30px;
}
.plan-card {
  background: #fff; border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  border-top: 5px solid var(--gold-light);
}
.plan-card.main { border-top-color: var(--gold); position: relative; }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 18px; border-radius: 999px; white-space: nowrap;
}
.plan-card h3 { font-size: 20px; text-align: center; margin-bottom: 4px; }
.plan-card .plan-tag { text-align: center; font-size: 13px; color: var(--gold); font-weight: 700; margin-bottom: 16px; }
.plan-card .plan-desc { font-size: 14px; margin-bottom: 18px; }
.plan-card ul { list-style: none; font-size: 13.5px; margin-bottom: 20px; }
.plan-card ul li { padding: 5px 0 5px 1.4em; position: relative; border-bottom: 1px dashed #eee; }
.plan-card ul li::before { content: "✓"; color: var(--gold); position: absolute; left: 0; font-weight: 700; }
.plan-price { margin-top: auto; text-align: center; }
.plan-price .num { font-size: 30px; font-weight: 700; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; }
.plan-price .unit { font-size: 13px; color: var(--muted); }
.plan-note { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 6px; }

.option-box {
  background: #fff; border-radius: var(--radius); padding: 28px 30px;
  box-shadow: var(--shadow);
}
.option-box h3 { font-size: 17px; margin-bottom: 14px; }
.option-box ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 6px 28px; font-size: 14px; }
.option-box ul li { padding: 4px 0 4px 1.3em; position: relative; }
.option-box ul li::before { content: "＋"; color: var(--gold); position: absolute; left: 0; font-weight: 700; }
.price-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 22px; }

/* ===== ご相談の流れ ===== */
.flow-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.flow-step {
  background: #fff; border-radius: var(--radius); padding: 28px 22px;
  box-shadow: var(--shadow); text-align: center; position: relative;
}
.flow-step .step-num {
  display: inline-block; background: var(--navy); color: #fff;
  width: 40px; height: 40px; line-height: 40px; border-radius: 50%;
  font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; margin-bottom: 12px;
}
.flow-step h3 { font-size: 16px; margin-bottom: 8px; }
.flow-step p { font-size: 13.5px; color: var(--muted); }
.flow-step .free-tag {
  display: inline-block; background: var(--gold); color: #fff;
  font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 12px;
  margin-bottom: 8px;
}

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-list details {
  background: #fff; border-radius: 12px; box-shadow: var(--shadow);
  margin-bottom: 12px; overflow: hidden;
}
.faq-list summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--navy);
  list-style: none; position: relative; padding-right: 48px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q. "; color: var(--gold); }
.faq-list summary::after {
  content: "＋"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 18px;
}
.faq-list details[open] summary::after { content: "－"; }
.faq-list .faq-a { padding: 0 22px 20px; font-size: 14.5px; }
.faq-list .faq-a::before { content: "A. "; color: var(--navy); font-weight: 700; }

/* ===== お問い合わせ ===== */
.contact { text-align: center; }
.contact p { margin-bottom: 28px; }

/* ===== フッター ===== */
footer { background: var(--navy); color: #cfd6e2; padding: 36px 0; font-size: 13px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
footer a { color: #cfd6e2; text-decoration: none; margin-right: 20px; }
footer a:hover { color: var(--gold-light); }

/* ===== 下層ページ（ポリシー等） ===== */
.legal { max-width: 760px; margin: 0 auto; padding: 60px 20px 80px; }
.legal h1 { font-size: 26px; margin-bottom: 36px; text-align: center; }
.legal h2 { font-size: 18px; margin: 32px 0 10px; }
.legal p, .legal li { font-size: 14.5px; }
.legal ul { padding-left: 1.4em; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.legal th, .legal td { border: 1px solid #e0dcd2; padding: 12px 14px; font-size: 14px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-soft); width: 32%; color: var(--navy); white-space: nowrap; }

/* ===== レスポンシブ ===== */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .header-line { display: none; } /* ヘッダー右のボタンはドロワー内に移動 */
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(250, 249, 246, 0.98); backdrop-filter: blur(8px);
    border-bottom: 1px solid #e8e4dc;
    padding: 8px 20px 20px;
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    transition: max-height 0.28s ease, opacity 0.2s ease;
    box-shadow: 0 12px 24px rgba(36, 56, 91, 0.08);
  }
  .nav-links.open { max-height: 520px; opacity: 1; visibility: visible; }
  .nav-links > a { padding: 15px 8px; border-radius: 0; border-bottom: 1px solid #ece8e0; font-size: 15px; }
  .nav-links > a:hover { background: none; }
  .nav-links .nav-line {
    display: block; text-align: center; margin-top: 16px;
    border-bottom: none; color: #fff;
  }
}

@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
  .legal th { white-space: normal; }
}
