/* ===== 色と文字 ===== */
:root {
  --bg: #faf6f0;
  --bg-soft: #f2e9de;
  --card: #ffffff;
  --ink: #3b332c;
  --ink-soft: #776a5e;
  --line: #e4d9cc;
  --accent: #c77b5c;       /* テラコッタ */
  --accent-soft: #f5e3d9;
  --sage: #7f8f72;
  --line-green: #06c755;   /* LINEの緑 */
  --phone: #2d2723;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(70, 50, 35, .35);
  --maru: "Zen Maru Gothic", "Zen Kaku Gothic New", sans-serif;
  --body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --en: "Cormorant Garamond", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--maru); font-weight: 700; margin: 0; line-height: 1.5; }
p { margin: 0; }
.pc { display: none; }
@media (min-width: 900px) { .pc { display: inline; } }

/* ===== ボタン ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-line { background: var(--line-green); color: #fff; box-shadow: 0 10px 22px -12px rgba(6, 199, 85, .8); }
.btn-line::before {
  content: ""; width: 1.25em; height: 1.25em; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 3C6.5 3 2 6.6 2 11c0 3.9 3.5 7.2 8.3 7.9.3.1.8.2.9.5.1.3.1.7 0 1l-.1.9c0 .3-.2 1 .9.6 1.1-.5 6-3.5 8.2-6.1C21.6 14.3 22 12.7 22 11c0-4.4-4.5-8-10-8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: 13.5px; white-space: nowrap; }
.btn-lg { padding: 18px 44px; font-size: 18px; }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 1.5px solid var(--ink); padding-bottom: 4px; }

/* ===== ヘッダー ===== */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 12px 16px;
  background: rgba(250, 246, 240, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.3; margin-right: auto; }
.brand-name { font-family: var(--maru); font-weight: 700; font-size: 20px; }
.brand-sub { font-size: 10.5px; color: var(--ink-soft); }
@media (max-width: 380px) { .brand-sub { display: none; } }
.nav { display: none; gap: 24px; font-size: 14px; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }
@media (min-width: 900px) {
  .site-header { padding: 14px 40px; }
  .nav { display: flex; }
}

/* ===== 共通の見出し ===== */
section { padding: 72px 16px; }
.sec-title { text-align: center; font-size: clamp(22px, 5.2vw, 30px); margin-bottom: 28px; }
.sec-title .en { display: block; font-family: var(--en); font-style: italic; font-weight: 500; color: var(--accent); font-size: .8em; letter-spacing: .06em; margin-bottom: 2px; }
.sec-title.left { text-align: left; }
.sec-lead { text-align: center; color: var(--ink-soft); font-size: 15px; margin: -8px auto 40px; max-width: 640px; }
@media (min-width: 900px) { section { padding: 104px 40px; } }

/* ===== 1. 最初の画面 ===== */
.hero {
  display: grid; gap: 48px;
  max-width: 1180px; margin: 0 auto;
  padding-top: 48px;
  overflow-x: clip;
}
.eyebrow { font-family: var(--en); font-style: italic; color: var(--accent); font-size: 18px; margin-bottom: 12px; }
.hero h1 { font-size: clamp(25px, 7vw, 52px); line-height: 1.45; letter-spacing: .04em; }
.hero h1 .accent { color: var(--accent); }
.nowrap { white-space: nowrap; }
.lead { margin-top: 24px; color: var(--ink-soft); font-size: 15.5px; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }

.hero-phones { position: relative; height: 430px; max-width: 420px; width: 100%; margin: 0 auto; }
.phone {
  position: absolute;
  width: 46%;
  aspect-ratio: 600 / 1298;
  border: 7px solid var(--phone);
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-1 { left: 0; top: 40px; transform: rotate(-6deg); z-index: 1; }
.phone-2 { left: 27%; top: 0; z-index: 3; }
.phone-3 { right: 0; top: 52px; transform: rotate(6deg); z-index: 2; }

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr 1fr; align-items: center; padding-top: 80px; padding-bottom: 96px; }
  .hero-phones { height: 560px; max-width: 520px; }
  .lead { font-size: 16.5px; }
  .hero h1 { font-size: clamp(30px, 3.4vw, 48px); }
}

/* ===== 2. お悩み ===== */
.worry { background: var(--card); }
.worry-list { list-style: none; margin: 0 auto; padding: 0; max-width: 720px; display: grid; gap: 14px; }
.worry-list li {
  position: relative;
  padding: 18px 20px 18px 52px;
  background: var(--bg);
  border-radius: var(--radius);
  font-size: 15.5px; line-height: 1.75;
}
.worry-list li::before {
  content: ""; position: absolute; left: 20px; top: 22px;
  width: 20px; height: 20px; border-radius: 6px;
  border: 2px solid var(--accent);
}
.worry-list li::after {
  content: ""; position: absolute; left: 25px; top: 25px;
  width: 7px; height: 11px;
  border: solid var(--accent); border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.band { background: var(--accent); color: #fff; text-align: center; padding-top: 64px; padding-bottom: 64px; }
.band-big { font-family: var(--maru); font-weight: 700; font-size: clamp(19px, 4.8vw, 28px); line-height: 1.7; }
.band-small { margin: 20px auto 0; max-width: 640px; font-size: 15px; opacity: .95; }

/* ===== 3. 作ったサイト ===== */
.works-list { max-width: 1080px; margin: 0 auto; display: grid; gap: 64px; }
.work { display: grid; gap: 28px; }
.work-visual { position: relative; padding: 0 0 36px; }
.browser {
  border-radius: 12px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.browser-bar { display: flex; gap: 6px; padding: 9px 12px; background: var(--bg-soft); }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: #d6c7b6; }
.browser img { width: 100%; aspect-ratio: 1200 / 750; object-fit: cover; object-position: top; }
.work-visual .phone {
  position: absolute; right: 4%; bottom: 0;
  width: 27%; border-width: 5px; border-radius: 20px;
}
.work-tag { display: inline-block; font-size: 12.5px; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 14px; margin-bottom: 10px; }
.work h3 { font-size: 24px; margin-bottom: 18px; }
.work-dl { margin: 0; display: grid; gap: 14px; }
.work-dl dt { font-size: 13px; font-weight: 700; color: var(--sage); letter-spacing: .08em; }
.work-dl dd { margin: 2px 0 0; font-size: 15px; line-height: 1.85; }
.work-points { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.work-points li { font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; background: var(--card); }
.work-link { margin-top: 22px; display: inline-block; }

@media (min-width: 900px) {
  .work { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 56px; }
  .work:nth-child(even) .work-visual { order: 2; }
}

.works-cta { text-align: center; margin-top: 72px; }
.works-cta p { font-family: var(--maru); font-weight: 700; font-size: clamp(15.5px, 4.2vw, 18px); line-height: 1.8; margin-bottom: 20px; }

/* ===== 4. つくれるサイト ===== */
.types { background: var(--bg-soft); }
.type-grid { max-width: 880px; margin: 0 auto; display: grid; gap: 20px; }
.type-card { background: var(--card); border-radius: var(--radius); padding: 28px 26px; }
.type-no { font-family: var(--en); font-style: italic; color: var(--accent); font-size: 22px; line-height: 1; margin-bottom: 8px; }
.type-card h3 { font-size: 20px; margin-bottom: 10px; }
.type-card p { font-size: 15px; }
.type-card .type-eg { margin-top: 12px; font-size: 13px; color: var(--ink-soft); }
@media (min-width: 760px) { .type-grid { grid-template-columns: 1fr 1fr; } }

.addon { max-width: 880px; margin: 36px auto 0; text-align: center; }
.addon-title { font-family: var(--maru); font-weight: 700; margin-bottom: 14px; }
.addon-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.addon-list li { background: var(--card); border-radius: 999px; padding: 6px 16px; font-size: 14px; }

/* ===== 5. わたしについて ===== */
.about { max-width: 1000px; margin: 0 auto; display: grid; gap: 32px; }
.about-photo img { border-radius: 24px; width: 100%; max-width: 360px; margin: 0 auto; box-shadow: var(--shadow); }
.about-name { font-family: var(--maru); font-weight: 700; font-size: 20px; margin-bottom: 14px; }
.about-name span { font-size: 15px; color: var(--ink-soft); }
.about-text p + p { margin-top: 14px; }
.about-text p:not(.about-name) { font-size: 15.5px; }
@media (min-width: 900px) {
  .about { grid-template-columns: 340px 1fr; align-items: center; gap: 64px; }
}

/* ===== 6. 頼むときの流れ ===== */
.flow { background: var(--card); }
.flow-list { list-style: none; counter-reset: step; max-width: 720px; margin: 0 auto; padding: 0; }
.flow-list li {
  counter-increment: step;
  position: relative;
  padding: 0 0 30px 64px;
}
.flow-list li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--maru); font-weight: 700; font-size: 18px;
}
.flow-list li:not(:last-child)::after {
  content: ""; position: absolute; left: 20px; top: 48px; bottom: 6px;
  border-left: 2px dotted var(--line);
}
.flow-list h3 { font-size: 18px; line-height: 42px; }
.flow-list p { font-size: 15px; color: var(--ink-soft); }

/* ===== 7. よくある質問 ===== */
.faq details {
  max-width: 720px; margin: 0 auto 12px;
  background: var(--card); border-radius: var(--radius);
  border: 1px solid var(--line);
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 18px 52px 18px 22px; position: relative;
  font-weight: 700; line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--accent); font-weight: 500;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 22px 20px; font-size: 15px; color: var(--ink-soft); }

/* ===== 8. 最後のご案内 ===== */
.contact { background: var(--bg-soft); text-align: center; }
.contact-big { font-family: var(--maru); font-weight: 700; font-size: clamp(24px, 6vw, 34px); line-height: 1.6; }
.contact-small { margin: 18px 0 32px; color: var(--ink-soft); }

.site-footer { text-align: center; padding: 32px 16px 40px; font-size: 13px; color: var(--ink-soft); }
.site-footer .copy { margin-top: 4px; font-size: 12px; }

/* ===== ふわっと出る ===== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
