/*
  ミセノマド 制作サイト
  - スマホファースト(基本は375px前後。768px・1024pxで段組みを広げる)
  - 外部の読み込みなし(フォント・画像・アイコンはすべて同梱/インラインSVG)
  - 配色:紺 #1d3557 と 山吹 #f3b23a(ココナラのサムネイル・アイコンと同じ)
*/

@font-face {
  font-family: "MisenoHead";
  src: url("../fonts/NotoSansJP-ExtraBold-subset.woff?v=20261002") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1d3557;
  --navy-2: #2b4a75;
  --navy-deep: #142640;
  --ink: #1f2d44;
  --muted: #4a5870;
  --cream: #fff6e6;
  --paper: #fffdf8;
  --white: #fff;
  --mustard: #f3b23a;
  --mustard-soft: #fbe3a6;
  --coral: #e0533d;
  --line: #e6dcc8;
  --radius: 16px;
  --font-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "BIZ UDPGothic", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
  --font-head: "MisenoHead", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", "Meiryo", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
  line-break: strict;
}
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy-2); text-underline-offset: .2em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
small { font-size: inherit; }
strong { font-weight: 700; }
.hf, h1, h2, h3 { font-family: var(--font-head); font-weight: 800; font-feature-settings: "palt"; letter-spacing: .04em; color: var(--navy); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 16px; }
.wrap--narrow { max-width: 820px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border: 2px solid var(--navy); border-radius: 999px;
  font-family: var(--font-head); font-weight: 800; font-size: 16px; line-height: 1.4; letter-spacing: .04em;
  font-feature-settings: "palt";
  text-align: center; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn--primary { background: var(--mustard); color: var(--navy); box-shadow: 0 4px 0 var(--navy); }
.btn--primary:hover { color: var(--navy); background: #f6c05a; transform: translateY(1px); box-shadow: 0 3px 0 var(--navy); }
.btn--ghost { background: var(--white); color: var(--navy); }
.btn--ghost:hover { color: var(--navy); background: var(--cream); }
.btn--sm { min-height: 40px; padding: 6px 16px; font-size: 14px; box-shadow: 0 3px 0 var(--navy); }
.btn--lg { min-height: 56px; padding: 14px 26px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn--primary:hover { transform: none; } }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 248, .96);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(6px)) { .site-header { background: rgba(255, 253, 248, .86); backdrop-filter: blur(6px); } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; }
.logo__mark { width: 36px; height: 36px; }
.logo__name { font-family: var(--font-head); font-weight: 800; font-size: 21px; letter-spacing: .08em; line-height: 1; font-feature-settings: "palt"; }
.gnav { display: none; }
@media (min-width: 1000px) {
  .gnav { display: block; margin-left: auto; }
  .gnav ul { display: flex; gap: 4px; }
  .gnav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--navy); font-size: 15px; font-weight: 700; text-decoration: none; }
  .gnav a:hover { background: var(--cream); }
}

/* ---------- ファーストビュー ---------- */
.hero { background: var(--cream); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__inner { display: grid; gap: 24px; padding-block: 36px 48px; }
.hero__eyebrow {
  display: inline-block; padding: 4px 14px; border-radius: 999px;
  background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .08em;
}
.hero__title { margin-top: 16px; font-size: clamp(28px, 7.6vw, 52px); line-height: 1.4; letter-spacing: .03em; }
.hero__title span { display: inline-block; }
.hero__title em {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--mustard) 62%, var(--mustard) 92%, transparent 92%);
  padding-inline: 2px;
}
.hero__lead { margin-top: 16px; font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 2px solid var(--navy); border-radius: 10px;
  background: var(--white); color: var(--navy); font-size: 14px; font-weight: 700; line-height: 1.5;
}
.hero__cta { display: grid; gap: 14px; margin-top: 28px; }
.hero__note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.hero__art { max-width: 240px; margin-inline: auto; width: 100%; }
@media (min-width: 600px) {
  .hero__cta { grid-template-columns: auto auto; justify-content: start; }
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 40px; padding-block: 64px 72px; }
  .hero__art { max-width: 400px; }
  .hero__lead { font-size: 17px; }
}

/* ---------- セクション共通 ---------- */
.section { padding-block: 56px; }
.section--cream { background: var(--cream); }
@media (min-width: 768px) { .section { padding-block: 80px; } }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: 14px; letter-spacing: .2em; color: var(--navy-2);
}
.eyebrow::before { content: ""; width: 28px; height: 4px; border-radius: 2px; background: var(--mustard); }
.eyebrow--light { color: var(--mustard-soft); }
.section__title { margin-top: 8px; font-size: clamp(24px, 6vw, 34px); line-height: 1.45; }
.section__lead { margin-top: 14px; max-width: 760px; }

.cards { display: grid; gap: 20px; margin-top: 28px; }
.card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px 20px 24px; border: 2px solid var(--navy); border-radius: var(--radius);
  background: var(--white); box-shadow: 6px 6px 0 var(--mustard-soft);
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

.list-check { display: grid; gap: 8px; }
.list-check li { position: relative; padding-left: 26px; line-height: 1.7; }
.list-check li::before {
  content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 8px;
  border-left: 3px solid var(--navy-2); border-bottom: 3px solid var(--navy-2); transform: rotate(-45deg);
}
.list-check--sm li { font-size: 15px; }

/* ---------- ミセノマドについて ---------- */
.about__text { display: grid; gap: 12px; margin-top: 16px; max-width: 760px; }
.policy { display: grid; gap: 16px; margin-top: 28px; }
.policy__item { padding: 20px; border-radius: var(--radius); background: var(--cream); }
.policy__icon {
  width: 48px; height: 48px; padding: 10px; border-radius: 50%;
  background: var(--navy); color: var(--mustard);
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.policy__title { margin-top: 12px; font-size: 19px; line-height: 1.5; }
.policy__item p { margin-top: 6px; font-size: 15px; }
@media (min-width: 900px) { .policy { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }

/* ---------- サービス ---------- */
.service-card__head { display: flex; align-items: flex-start; gap: 12px; }
.service-card__icon {
  width: 52px; height: 52px; padding: 11px; border-radius: 14px; flex: none;
  background: var(--mustard); color: var(--navy);
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.service-card__title { font-size: 22px; line-height: 1.35; }
.service-card__sub { display: block; margin-top: 4px; font-size: 14px; color: var(--navy-2); letter-spacing: .02em; }
.service-card .list-check { font-size: 15px; }
.service-card__price {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px;
  margin-top: auto; padding-top: 14px; border-top: 2px dashed var(--line);
}
.service-card__price-label {
  align-self: center; padding: 2px 10px; border-radius: 6px;
  background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em;
}
.price-num { font-size: 34px; line-height: 1.1; letter-spacing: .01em; }
.price-unit { font-size: 17px; }

/* ---------- 制作サンプル ---------- */
.work-card { padding: 0; overflow: hidden; gap: 0; }
.work-card__thumb { display: block; border-bottom: 2px solid var(--navy); background: var(--cream); }
.work-card__thumb img { width: 100%; aspect-ratio: 1200 / 750; object-fit: cover; transition: opacity .15s ease; }
.work-card__thumb:hover img { opacity: .9; }
.work-card__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 20px 20px 24px; }
.work-card__tag {
  align-self: flex-start; padding: 2px 12px; border-radius: 999px;
  background: var(--cream); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--navy-2);
}
.work-card__title { font-size: 20px; line-height: 1.45; }
.work-card__concept { font-size: 15px; }
.work-card .btn { margin-top: auto; }
.notice {
  margin-top: 28px; padding: 14px 16px; border-left: 4px solid var(--mustard);
  background: var(--cream); font-size: 14px; line-height: 1.75;
}
.notice p + p { margin-top: 4px; color: var(--muted); }

/* ---------- 広告表現の自主チェック ---------- */
.check__subtitle { margin-top: 36px; font-size: 20px; line-height: 1.5; }
.check-list { display: grid; gap: 14px; margin-top: 16px; }
.check-item { overflow: hidden; border: 2px solid var(--navy); border-radius: var(--radius); background: var(--white); }
.check-item__before, .check-item__after { padding: 14px 18px; font-size: 15px; line-height: 1.7; }
.check-item__before { background: #fbeee9; }
.check-item__after { border-top: 2px dashed var(--line); }
.check-item__label {
  display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; letter-spacing: .06em;
}
.check-item__before .check-item__label { color: #a3321f; }
.check-item__after .check-item__label { color: var(--navy-2); }
.check-item__after .check-item__label::before { content: "→ "; }
@media (min-width: 900px) {
  .check-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
.check__how { max-width: 760px; }
.check__how .list-check { margin-top: 14px; }
.caution {
  margin-top: 36px; padding: 20px 20px 22px;
  border: 2px solid var(--navy); border-radius: var(--radius); background: var(--white);
}
.caution__title { display: flex; align-items: center; gap: 8px; font-size: 19px; }
.caution__title .icon { width: 26px; height: 26px; color: var(--navy); }
.caution ul { display: grid; gap: 8px; margin-top: 12px; }
.caution li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.75; }
.caution li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--navy-2); }

/* ---------- 料金 ---------- */
.price-table { display: grid; gap: 14px; margin-top: 28px; }
.price-row {
  display: grid; gap: 6px;
  padding: 18px 18px 20px; border: 2px solid var(--navy); border-radius: var(--radius); background: var(--white);
}
.price-row--head { display: none; }
.price-row__name { font-size: 20px; }
.price-row__price .hf { font-size: 28px; line-height: 1.3; }
.price-row__scope, .price-row__opt { font-size: 15px; line-height: 1.7; }
.price-row .opt { display: block; }
.price-row__label {
  display: table; margin-bottom: 4px; padding: 0 8px; border-radius: 6px;
  background: var(--cream); color: var(--navy-2); font-size: 13px; font-weight: 700;
}
@media (min-width: 900px) {
  .price-table { gap: 0; border: 2px solid var(--navy); border-radius: var(--radius); overflow: hidden; background: var(--white); }
  .price-row {
    grid-template-columns: 170px 150px minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; align-items: center;
    border: 0; border-radius: 0; padding: 18px 22px;
  }
  .price-row + .price-row { border-top: 1px solid var(--line); }
  .price-row--head { display: grid; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; padding-block: 12px; }
  .price-row__label { display: none; }
  .price-row__price .hf { font-size: 24px; }
}
.notes { display: grid; gap: 6px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.notes li { position: relative; padding-left: 1.2em; }
.notes li::before { content: "※"; position: absolute; left: 0; }

/* ---------- 流れ ---------- */
.steps { display: grid; gap: 14px; margin-top: 28px; counter-reset: step; }
.step {
  position: relative; padding: 18px 18px 20px 76px;
  border-radius: var(--radius); background: var(--white); border: 2px solid var(--navy);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute; left: 18px; top: 18px;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--mustard); border: 2px solid var(--navy);
  font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--navy);
}
.step__title { font-size: 18px; line-height: 1.5; }
.step p { margin-top: 4px; font-size: 15px; line-height: 1.75; }
.flow__note { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .step { padding: 70px 20px 22px; }
}

/* ---------- よくある質問 ---------- */
.faq-list { display: grid; gap: 12px; margin-top: 28px; }
.faq-item { border: 2px solid var(--navy); border-radius: 14px; background: var(--white); }
.faq-item summary {
  position: relative; display: block; padding: 16px 52px 16px 52px;
  font-weight: 700; line-height: 1.6; color: var(--navy); cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q"; position: absolute; left: 14px; top: 14px;
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--font-head); font-size: 15px; line-height: 1;
}
.faq-item summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: rotate(45deg);
}
.faq-item[open] summary::after { margin-top: -2px; transform: rotate(-135deg); }
.faq-item summary:hover { background: var(--cream); border-radius: 12px; }
.faq-item p { padding: 0 18px 18px 52px; font-size: 15px; line-height: 1.8; }

/* ---------- ご相談 ---------- */
.contact { background: var(--navy); color: #fff; }
.contact .section__title { color: #fff; }
.contact__lead { margin-top: 14px; max-width: 760px; }
.contact__btns { display: grid; gap: 16px; margin-top: 28px; }
.contact .btn--primary { box-shadow: 0 4px 0 var(--navy-deep); }
.contact .btn--primary:hover { box-shadow: 0 3px 0 var(--navy-deep); }
.contact__notes { display: grid; gap: 6px; margin-top: 22px; font-size: 14px; color: #dfe6f0; }
.contact__notes li { position: relative; padding-left: 1.2em; }
.contact__notes li::before { content: "※"; position: absolute; left: 0; }
.contact :focus-visible { outline-color: var(--mustard); }
@media (min-width: 900px) { .contact__btns { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- フッター ---------- */
.site-footer { background: var(--navy-deep); color: #dfe6f0; font-size: 14px; }
.site-footer__inner { display: grid; gap: 20px; padding-block: 36px 40px; }
.logo--footer { color: #fff; }
.logo--footer .logo__mark { width: 32px; height: 32px; }
.site-footer__brand p { margin-top: 8px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: #fff; }
.site-footer__notes { display: grid; gap: 4px; color: #b9c4d4; font-size: 13px; }
.site-footer :focus-visible { outline-color: var(--mustard); }
@media (min-width: 900px) {
  .site-footer__inner { grid-template-columns: 1fr auto; align-items: start; }
  .site-footer__notes { grid-column: 1 / -1; }
}

/* ---------- プライバシーポリシー・404 ---------- */
.doc { padding-block: 40px 64px; }
.doc h1 { font-size: clamp(24px, 6vw, 32px); line-height: 1.45; }
.doc__meta { margin-top: 8px; font-size: 14px; color: var(--muted); }
.doc h2 { margin-top: 36px; font-size: 20px; line-height: 1.5; }
.doc p, .doc ul { margin-top: 12px; }
.doc ul { display: grid; gap: 6px; }
.doc ul li { position: relative; padding-left: 18px; }
.doc ul li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 7px; height: 7px; border-radius: 50%; background: var(--navy-2); }
.doc .btn { margin-top: 28px; }
