/* ===== 色・文字の設定 ===== */
:root {
  /* Next.U（nagasaki-biyori.com）の配色に合わせています */
  --bg: #fbf9f5;
  --bg-sub: #f1f7fc;       /* ごく薄い水色 */
  --card: #fff;
  --text: #2c4356;         /* 紺 */
  --text-light: #767a7f;
  --accent: #3a78a0;       /* 水色（濃いめ） */
  --accent-dark: #2c4356;
  --accent-soft: #d3e3f0;  /* 水色（薄め） */
  --sky: #4da0d5;
  --cta: #c8673f;          /* テラコッタ（申し込みボタン） */
  --cta-dark: #a9532f;
  --gold: #c8673f;
  --line: #dde6ee;
  --en: "Cormorant Garamond", serif;
  --mincho: "Shippori Mincho", serif;
  --gothic: "Zen Kaku Gothic New", sans-serif;
}

/* ===== 基本 ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
/* Cormorantの「1」が「I」に見えないよう、数字を普通の形にする */
.plan-pages b, .plan-price, .hero-badges strong, .reason-list .num { font-variant-numeric: lining-nums; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--gothic); font-size: 15px; line-height: 2; letter-spacing: .06em; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
b { font-weight: 700; }
i { font-style: normal; display: inline-block; margin-left: 10px; transition: transform .3s; }
a:hover i { transform: translateX(4px); }

/* ===== 共通 ===== */
.section { max-width: 1120px; margin: 0 auto; padding: 120px 32px; text-align: center; }
.section-en { font-family: var(--en); font-style: italic; font-size: 20px; color: var(--accent); letter-spacing: .12em; }
.section-en.left { text-align: left; }
.section-en.light { color: rgba(255,255,255,.8); }
.section h2, .contact h2 { font-family: var(--mincho); font-weight: 500; font-size: clamp(22px, 3vw, 32px); line-height: 1.7; letter-spacing: .1em; margin: 8px 0 56px; }
.btn { display: inline-flex; align-items: center; padding: 18px 40px; border-radius: 999px; background: var(--cta); color: #fff; font-weight: 500; font-size: 15px; transition: .3s; box-shadow: 0 8px 20px rgba(200,103,63,.28); }
.btn:hover { background: var(--cta-dark); }
.btn-light { background: #fff; color: var(--accent-dark); box-shadow: none; }
.btn-light:hover { background: var(--accent-soft); }

/* ===== ヘッダー ===== */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: 72px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; background: rgba(251,250,247,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo { font-family: var(--en); font-size: 24px; line-height: 1; letter-spacing: .04em; }
.logo span { display: block; font-family: var(--gothic); font-size: 9px; letter-spacing: .24em; color: var(--text-light); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 13px; }
.nav a:hover { color: var(--accent); }
.nav-cta { background: var(--cta); color: #fff; padding: 8px 24px; border-radius: 999px; }
.nav-cta:hover { background: var(--cta-dark); color: #fff !important; }
.menu-btn { display: none; }

/* ===== ファーストビュー ===== */
.hero { max-width: 1240px; margin: 0 auto; min-height: 100vh; padding: 120px 32px 80px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.hero-en { font-family: var(--en); font-style: italic; font-size: 20px; color: var(--accent); letter-spacing: .1em; }
.hero h1 { font-family: var(--mincho); font-weight: 600; font-size: clamp(30px, 4vw, 48px); line-height: 1.6; letter-spacing: .1em; margin: 12px 0 24px; }
.hero-lead { color: var(--text-light); font-size: 14px; margin-bottom: 32px; }
.hero-badges { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-badges li { width: 116px; height: 116px; border-radius: 50%; background: var(--accent-soft); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; }
.hero-badges small { font-size: 11px; color: var(--accent-dark); }
.hero-badges strong { font-family: var(--en); font-weight: 400; font-size: 32px; color: var(--accent-dark); }
.hero-badges strong span { font-family: var(--gothic); font-size: 12px; }
.hero-badges li:last-child strong { font-family: var(--mincho); font-size: 22px; margin-top: 4px; }

/* PC・スマホの画面モック */
.hero-visual { position: relative; aspect-ratio: 1.1; }
.mock { position: absolute; background: #fff; box-shadow: 0 24px 60px rgba(51,49,45,.16); overflow: hidden; }
.mock-pc { left: 0; top: 8%; width: 88%; aspect-ratio: 16 / 10.6; border-radius: 10px; }
.mock-bar { height: 22px; background: #e8eef3; display: flex; align-items: center; gap: 6px; padding-left: 12px; }
.mock-bar span { width: 8px; height: 8px; border-radius: 50%; background: #c5d3de; }
.mock-sp { right: 0; bottom: 4%; width: 26%; aspect-ratio: 9 / 19; border-radius: 22px; border: 6px solid #2f2d2a; }
.mock-screen { position: relative; overflow: hidden; width: 100%; height: calc(100% - 22px); }
.mock-sp .mock-screen { height: 100%; }
/* iframeを縮小表示 */
.mock-screen iframe { position: absolute; top: 0; left: 0; border: 0; pointer-events: none; transform-origin: 0 0; }
.mock-pc iframe { width: 1440px; height: 900px; transform: scale(var(--s, .4)); }
.mock-sp iframe { width: 390px; height: 844px; transform: scale(var(--s, .38)); }

/* ===== お悩み ===== */
.worry { max-width: none; background: var(--bg-sub); }
.worry-list { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.worry-list li { background: var(--card); border-radius: 12px; padding: 28px 24px 28px 52px; text-align: left; font-size: 14px; line-height: 1.9; position: relative; }
.worry-list li::before { content: ""; position: absolute; left: 22px; top: 34px; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--accent); }
.worry-list li::after { content: ""; position: absolute; left: 27px; top: 36px; width: 6px; height: 10px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.worry-list b { color: var(--accent-dark); }
.worry-answer { margin-top: 56px; font-family: var(--mincho); font-size: clamp(18px, 2.4vw, 24px); }
.worry-answer b { color: var(--accent-dark); background: linear-gradient(transparent 65%, #d3e3f0 65%); }

/* ===== 仕組み ===== */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; }
.compare-col { border: 1px solid var(--line); border-radius: 16px; padding: 32px; text-align: left; background: var(--card); }
.compare-col.is-me { border: 2px solid var(--accent); }
.compare-tag { font-weight: 700; font-size: 15px; margin-bottom: 16px; color: var(--text-light); }
.is-me .compare-tag { color: var(--accent-dark); }
.compare dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.compare dt { color: var(--text-light); }
.compare dd { text-align: right; }
.is-me dd b { color: var(--accent-dark); font-size: 16px; }
.system-note { margin-top: 32px; font-size: 13px; color: var(--text-light); }

/* ===== 料金 ===== */
.price { max-width: none; background: var(--bg-sub); }
.price-sub { margin: -40px 0 48px; font-size: 13px; color: var(--text-light); }
.plans { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.plan { position: relative; background: var(--card); border-radius: 16px; padding: 40px 32px; text-align: left; border: 1px solid var(--line); }
.plan.is-popular { border: 2px solid var(--accent); transform: translateY(-12px); box-shadow: 0 16px 40px rgba(58,120,160,.15); }
.plan-ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12px; padding: 2px 20px; border-radius: 999px; white-space: nowrap; }
.plan-name { font-family: var(--en); font-size: 30px; line-height: 1.2; }
.plan-name span { display: block; font-family: var(--gothic); font-size: 12px; color: var(--text-light); letter-spacing: .1em; }
.plan-role { font-size: 13px; color: var(--accent-dark); margin: 12px 0 16px; line-height: 1.7; }
.plan-price { font-family: var(--en); font-size: 48px; line-height: 1.2; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan-price small { font-family: var(--gothic); font-size: 13px; margin-left: 4px; }
.plan ul li { position: relative; padding: 6px 0 6px 26px; font-size: 14px; line-height: 1.7; }
.plan ul li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 10px; height: 6px; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.plan ul small { color: var(--text-light); font-size: 12px; }
.plan-limit { margin-top: 20px; font-size: 12px; text-align: center; color: var(--gold); border: 1px solid var(--gold); border-radius: 999px; padding: 2px 0; }
.options { max-width: 720px; margin: 64px auto 0; text-align: left; }
.options h3 { font-family: var(--mincho); font-weight: 500; font-size: 18px; margin-bottom: 12px; }
.options dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.options-note { margin-top: 20px; font-size: 12px; color: var(--text-light); }

/* ===== 選ばれる理由 ===== */
.reason-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; text-align: left; }
.reason-list .num { font-family: var(--en); font-style: italic; font-size: 48px; color: var(--accent); line-height: 1; }
.reason-list h3 { font-family: var(--mincho); font-weight: 600; font-size: 18px; line-height: 1.6; margin: 12px 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.reason-list p { font-size: 14px; color: var(--text-light); line-height: 1.9; }

/* ===== プロフィール ===== */
.profile { max-width: none; background: var(--accent-soft); }
.profile-box { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: center; text-align: left; }
.profile-photo { aspect-ratio: 1; border-radius: 50%; background: linear-gradient(140deg, #e3eef7, #b9d3e6); display: grid; place-items: center; font-size: 12px; color: rgba(51,49,45,.45); }
.profile-photo { position: relative; overflow: hidden; border: 6px solid #fff; box-shadow: 0 10px 30px rgba(44,67,86,.12); }
.profile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; transform: scale(1.35); transform-origin: 42% 42%; display: block; }
.profile h2 { margin: 4px 0 24px; text-align: left; }
.profile h2 span { font-family: var(--en); font-size: 16px; color: var(--text-light); margin-left: 16px; letter-spacing: .06em; }
.profile-text p + p { margin-top: 16px; }
.profile-text p { font-size: 14px; }
/* 期間限定価格 */
.hero-badges li.is-campaign { background: var(--cta); }
.hero-badges li.is-campaign small, .hero-badges li.is-campaign strong { color: #fff; }
.hero-campaign {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: -16px 0 32px; padding: 6px 18px 6px 6px;
  background: #fff; border: 1.5px solid var(--cta); border-radius: 999px;
  font-size: 13px; color: var(--text); box-shadow: 0 6px 18px rgba(200,103,63,.15);
}
.hero-campaign b {
  background: var(--cta); color: #fff; font-size: 15px; letter-spacing: .08em;
  padding: 6px 16px; border-radius: 999px; animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { box-shadow: 0 0 0 0 rgba(200,103,63,.45); } 50% { box-shadow: 0 0 0 8px rgba(200,103,63,0); } }
@media (prefers-reduced-motion: reduce) { .hero-campaign b { animation: none; } }
.campaign { max-width: 720px; margin: -16px auto 56px; background: #fff; border: 2px dashed var(--cta); border-radius: 16px; padding: 28px 24px; }
.campaign-tag { font-family: var(--en); font-style: italic; font-size: 16px; color: var(--cta); }
.campaign-title { font-family: var(--mincho); font-weight: 600; font-size: clamp(18px, 2.4vw, 22px); margin: 4px 0 8px; }
.campaign-title b { color: var(--cta); }
.campaign-text { font-size: 13px; color: var(--text-light); line-height: 1.9; }
.campaign-point { margin-top: 12px; font-size: 14px; font-weight: 500; }
.campaign-point b { color: var(--cta); background: linear-gradient(transparent 65%, #f6dccf 65%); }
.plan-common { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 48px; }
.plan-common li { font-size: 13px; background: #fff; border: 1px solid var(--accent-soft); color: var(--accent-dark); padding: 6px 18px; border-radius: 999px; }
.plan-common li:first-child { background: var(--accent); color: #fff; border-color: var(--accent); }
.plan-pages { font-family: var(--mincho); font-size: 15px; margin: 12px 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.plan-pages b { font-family: var(--en); font-weight: 400; font-size: 34px; color: var(--accent); margin-right: 4px; }
.plan-update { display: inline-block; vertical-align: middle; margin-left: 12px; font-family: var(--gothic); font-size: 12px; color: var(--accent-dark); background: var(--bg-sub); padding: 2px 12px; border-radius: 999px; }
.price-note { margin-top: 40px; font-size: 12px; color: var(--text-light); }
.plan-desc { font-size: 13px; line-height: 1.9; color: var(--text-light); }
.plan-plus { margin-top: 16px; padding: 12px 14px; background: var(--bg-sub); border-radius: 10px; font-size: 13px; font-weight: 500; color: var(--accent-dark); line-height: 1.7; }
.plan-plus small { display: block; font-weight: 400; color: var(--text-light); font-size: 11px; }
.plan-regular { font-size: 13px; color: var(--text-light); }
.plan-regular s { text-decoration-thickness: 1px; }
.plan-price { color: var(--cta); }
.plan-limited { display: inline-block; vertical-align: middle; font-family: var(--gothic); font-size: 11px; font-weight: 500; color: #fff; background: var(--cta); padding: 0 10px; border-radius: 4px; margin-right: 8px; line-height: 2; }
.plan-price small { color: var(--text); }
.profile-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.profile-tags li { font-size: 12px; font-weight: 500; color: var(--accent); background: #fff; border: 1px solid var(--accent-soft); padding: 2px 14px; border-radius: 999px; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.profile-note { font-size: 12px !important; color: var(--gold); }

/* ===== 制作実績 ===== */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: left; }
.work { display: block; }
.work-thumb { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--bg-sub); box-shadow: 0 10px 30px rgba(51,49,45,.1); margin-bottom: 20px; transition: transform .4s; }
a.work:hover .work-thumb { transform: translateY(-4px); }
.work-thumb iframe { position: absolute; top: 0; left: 0; width: 1440px; height: 900px; border: 0; pointer-events: none; transform-origin: 0 0; transform: scale(var(--s, .24)); }
.work-thumb.is-placeholder { display: grid; place-items: center; text-align: center; font-family: var(--en); font-size: 26px; color: var(--text-light); line-height: 1.3; background: repeating-linear-gradient(45deg, #e9f1f8 0 14px, #f3f8fc 14px 28px); }
.work-thumb.is-placeholder small { font-family: var(--gothic); font-size: 11px; }
.work-cat { font-size: 12px; color: var(--accent); }
.work h3 { font-family: var(--mincho); font-weight: 600; font-size: 18px; margin: 4px 0 8px; }
.work-desc { font-size: 13px; color: var(--text-light); line-height: 1.8; }
.work-link { display: inline-block; margin-top: 12px; font-size: 13px; border-bottom: 1px solid currentColor; }
.works-note { margin-top: 48px; font-size: 12px; color: var(--text-light); }

/* ===== 流れ ===== */
.flow { max-width: none; background: var(--bg-sub); }
.flow-list { max-width: 760px; margin: 0 auto; text-align: left; position: relative; }
.flow-list::before { content: ""; position: absolute; left: 47px; top: 20px; bottom: 20px; width: 1px; background: var(--accent); opacity: .4; }
.flow-list li { position: relative; display: grid; grid-template-columns: 96px 1fr; column-gap: 32px; padding: 16px 0; }
.flow-list li span { grid-row: span 2; align-self: start; width: 96px; height: 40px; border-radius: 999px; background: var(--accent); color: #fff; font-family: var(--en); font-style: italic; font-size: 16px; display: grid; place-items: center; position: relative; z-index: 1; }
.flow-list h3 { font-family: var(--mincho); font-weight: 600; font-size: 17px; line-height: 2.3; }
.flow-list p { font-size: 14px; color: var(--text-light); background: var(--card); border-radius: 10px; padding: 14px 20px; margin-top: 4px; }
.flow-note { margin-top: 40px; font-size: 14px; }

/* ===== FAQ ===== */
.faq { max-width: 880px; }
.faq-list { text-align: left; }
.faq-list details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq-list summary { list-style: none; cursor: pointer; position: relative; padding: 22px 56px 22px 60px; font-weight: 500; font-size: 15px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; position: absolute; left: 22px; top: 20px; font-family: var(--en); font-size: 24px; color: var(--accent); line-height: 1.4; }
.faq-list summary::after { content: "+"; position: absolute; right: 24px; top: 16px; font-size: 24px; font-weight: 300; color: var(--accent); transition: transform .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 32px 24px 60px; font-size: 14px; color: var(--text-light); }

/* ===== お問い合わせ ===== */
.contact { background: linear-gradient(135deg, #3a78a0, #2c4356); color: #fff; text-align: center; padding: 120px 24px; }
.contact h2 { margin-bottom: 24px; }
.contact-lead { font-size: 14px; margin-bottom: 40px; opacity: .92; }
.contact-note { margin-top: 20px; font-size: 12px; opacity: .8; }

/* ===== フッター ===== */
.footer { text-align: center; padding: 56px 24px 40px; }
.footer small { display: block; margin-top: 20px; font-size: 11px; color: var(--text-light); }
.fixed-cta { display: none; }

/* ===== タブレット ===== */
@media (max-width: 960px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; text-align: center; padding-top: 112px; }
  .hero-badges { justify-content: center; }
  .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .plans, .works-grid { grid-template-columns: 1fr; max-width: 480px; }
  .plan.is-popular { transform: none; }
  .works-grid { margin: 0 auto; }
  .reason-list, .worry-list { grid-template-columns: 1fr 1fr; }
}

/* ===== スマホ ===== */
@media (max-width: 640px) {
  .hero-campaign { flex-direction: column; gap: 8px; padding: 12px 20px 14px; border-radius: 20px; font-size: 13px; text-align: center; }
  .hero-campaign b { font-size: 15px; }
  body { font-size: 14px; }
  .header { padding: 0 16px; height: 64px; }
  .menu-btn { display: flex; flex-direction: column; justify-content: center; gap: 8px; width: 40px; height: 40px; padding: 8px; background: none; border: 0; cursor: pointer; }
  .menu-btn span { display: block; height: 1.5px; background: var(--text); transition: .3s; }
  .is-open .menu-btn span:first-child { transform: translateY(4.75px) rotate(45deg); }
  .is-open .menu-btn span:last-child { transform: translateY(-4.75px) rotate(-45deg); }
  .nav { position: fixed; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 16px 0 28px; background: var(--bg); border-bottom: 1px solid var(--line); opacity: 0; pointer-events: none; transition: .3s; }
  .nav a:not(.nav-cta) { display: block; padding: 12px; font-size: 15px; }
  .nav-cta { margin-top: 12px; padding: 10px 40px; }
  .is-open .nav { opacity: 1; pointer-events: auto; }

  .section { padding: 80px 16px; }
  .section h2 { margin-bottom: 40px; }
  .hero { padding: 96px 16px 56px; gap: 40px; }
  .hero h1 { font-size: 28px; }
  .hero-lead br { display: none; }
  .hero-badges li { width: 96px; height: 96px; }
  .hero-badges strong { font-size: 26px; }
  .hero .btn { width: 100%; justify-content: center; }

  .worry-list, .reason-list, .compare { grid-template-columns: 1fr; }
  .worry-list { gap: 12px; }
  .reason-list { gap: 40px; }
  .compare-col { padding: 24px 20px; }
  .price-sub { margin-top: -28px; }
  .plan { padding: 36px 24px; }
  .profile-box { grid-template-columns: 1fr; gap: 32px; }
  .profile-photo { width: 200px; margin: 0 auto; }
  .flow-list::before { left: 35px; }
  .flow-list li { grid-template-columns: 72px 1fr; column-gap: 16px; }
  .flow-list li span { width: 72px; height: 32px; font-size: 13px; }
  .flow-list h3 { line-height: 2; }
  .faq-list summary { padding: 18px 48px 18px 48px; font-size: 14px; }
  .faq-list summary::before { left: 18px; top: 16px; }
  .faq-list details p { padding: 0 20px 20px 48px; }
  .contact { padding: 88px 16px; }
  .contact-lead br { display: none; }
  .contact .btn { width: 100%; justify-content: center; padding: 18px 16px; }
  .footer { padding-bottom: 104px; }
  .fixed-cta { display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; text-align: center; padding: 14px; border-radius: 999px; background: var(--cta); color: #fff; font-weight: 500; box-shadow: 0 8px 24px rgba(44,67,86,.2); }
}
