/* ===== 土台 ===== */
:root {
  /* 色：参考LPの系統（白・クリーム・淡いブルー・木目の茶色・濃い紺グレー） */
  --ink: #2b323b;
  --muted: #4a535d;
  --bg: #fbfaf7;
  --white: #ffffff;
  --cream: #f5f2ec;
  --sky: #c6dced;
  --blue: #3f6f93;
  --blue-ink: #2f5d80;
  --wood: #a59987;
  --wood-light: #b8a995;
  --line: #e4ded3;
  --cta: #94693f;
  --cta-dark: #7a5433;
  --todo: #b45309;

  --blob: 28px 22px 30px 20px / 22px 30px 20px 28px;
  --shadow: 0 1px 2px rgba(43, 50, 59, 0.05), 0 10px 28px rgba(43, 50, 59, 0.07);

  --font-body: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  --font-hand: "Klee One", "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, p, ul, ol {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap--narrow {
  max-width: 720px;
}

.sp-only {
  display: inline;
}

/* 入力待ちの目印 */
.todo-note {
  color: var(--todo);
  font-weight: 700;
}

/* 手書き風の蛍光ペン */
.mark {
  background: linear-gradient(transparent 60%, var(--sky) 60%);
  padding: 0 0.1em;
}

/* 木目 */
.wood-strip,
.site-footer {
  background-color: var(--wood-light);
  background-image:
    repeating-linear-gradient(92deg, rgba(255, 255, 255, 0.12) 0 2px, rgba(0, 0, 0, 0.05) 2px 5px, transparent 5px 12px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.035) 0 1px, transparent 1px 23px);
}

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  color: #fff;
  background: var(--cta);
  border: 2px solid var(--cta);
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn:hover {
  background: var(--cta-dark);
  border-color: var(--cta-dark);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn--small {
  padding: 8px 18px;
  font-size: 14px;
}

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

.btn--ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.btn--ghost:hover {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.btn:focus-visible,
summary:focus-visible,
.logo:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* ===== ヘッダー ===== */
.site-header {
  background: var(--white);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}

.logo {
  font-family: var(--font-hand);
  font-weight: 600;
  font-size: 20px;
  text-decoration: none;
}

.wood-strip {
  height: 6px;
}

/* ===== ファーストビュー ===== */
.hero {
  position: relative;
  padding: 48px 0 72px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -140px;
  width: 360px;
  height: 360px;
  background: var(--sky);
  border-radius: 52% 48% 55% 45% / 50% 55% 45% 50%;
  opacity: 0.55;
}

.hero > .wrap {
  position: relative;
}

.hero__inner {
  display: grid;
  gap: 48px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 2px 14px;
  color: var(--blue-ink);
  background: var(--white);
  border: 1.5px dashed var(--wood);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero__title {
  font-family: var(--font-hand);
  font-size: clamp(28px, 8vw, 34px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.hero__lead {
  margin-top: 20px;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

/* ヒーローのイメージ（CSSだけで描いたページの見本） */
.hero__visual {
  position: relative;
}

.mock {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mock__bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.mock__bar i {
  width: 10px;
  height: 10px;
  background: var(--wood-light);
  border-radius: 50%;
}

.mock__body {
  padding: 20px;
}

.mock__hero {
  padding: 24px 20px;
  background: var(--sky);
  border-radius: 12px;
}

.mock__hero b {
  display: block;
  height: 14px;
  background: var(--blue);
  border-radius: 4px;
  opacity: 0.85;
}

.mock__hero b.is-short {
  width: 60%;
  margin-top: 10px;
  opacity: 0.5;
}

.mock__hero span {
  display: block;
  width: 96px;
  height: 28px;
  margin-top: 18px;
  background: var(--cta);
  border-radius: 999px;
}

.mock__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.mock__cols i {
  height: 56px;
  background: var(--cream);
  border-radius: 10px;
}

.mock__line {
  height: 10px;
  margin-top: 16px;
  background: var(--line);
  border-radius: 4px;
}

.mock__line.is-short {
  width: 70%;
  margin-top: 10px;
}

.sticker {
  position: absolute;
  top: -18px;
  right: 8px;
  padding: 8px 14px;
  color: var(--blue-ink);
  background: var(--white);
  border: 2px dashed var(--wood);
  border-radius: var(--blob);
  font-family: var(--font-hand);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  transform: rotate(6deg);
}

/* ===== セクション共通 ===== */
.section {
  position: relative;
  padding: 72px 0;
}

.section--sky {
  background: var(--sky);
}

.section--cream {
  background: var(--cream);
}

.section__label {
  margin-bottom: 4px;
  color: var(--blue-ink);
  font-family: var(--font-hand);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: center;
}

.section__title {
  margin-bottom: 44px;
  font-family: var(--font-hand);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

/* 見出しの下の直線 */
.section__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 14px auto 0;
  background: var(--wood);
  border-radius: 999px;
}

.card {
  padding: 28px 24px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--blob);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.5;
}

.card__catch {
  margin-bottom: 8px;
  color: var(--blue-ink);
  font-family: var(--font-hand);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

.card p:not(.card__catch) {
  color: var(--muted);
  font-size: 15px;
}

.cards {
  display: grid;
  gap: 20px;
}

/* ===== お悩み ===== */
.worry {
  display: grid;
  gap: 14px;
}

.worry li {
  position: relative;
  padding: 18px 20px 18px 56px;
  background: var(--white);
  border-radius: var(--blob);
  box-shadow: var(--shadow);
}

.worry li::before {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 16px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
  transform: translateY(-50%);
}

.worry__close {
  margin-top: 32px;
  font-family: var(--font-hand);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.8;
  text-align: center;
}

/* ===== 進め方 ===== */
.points {
  display: grid;
  gap: 28px;
}

.points li {
  display: flex;
  gap: 16px;
}

.points__no {
  flex: none;
  color: var(--blue);
  font-family: var(--font-hand);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
}

.points h3 {
  margin-bottom: 4px;
  font-size: 17px;
  line-height: 1.6;
}

.points p {
  color: var(--muted);
  font-size: 15px;
}

/* ===== 流れ ===== */
.flow {
  display: grid;
  gap: 18px;
}

.flow li {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 16px;
}

.flow span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-family: var(--font-hand);
  font-size: 18px;
  font-weight: 600;
}

.flow h3 {
  font-size: 17px;
  line-height: 1.6;
}

.flow p {
  color: var(--muted);
  font-size: 15px;
}

/* ===== プロフィール ===== */
.profile {
  text-align: center;
}

.profile p + p {
  margin-top: 12px;
}

/* ===== FAQ ===== */
.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 18px;
}

.faq summary {
  padding: 16px 20px;
  font-weight: 700;
  cursor: pointer;
}

.faq details p {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 15px;
}

/* ===== お問い合わせ ===== */
.contact {
  padding-bottom: 80px;
}

.contact__lead {
  margin-top: -20px;
  margin-bottom: 32px;
  text-align: center;
}

.form {
  padding: 28px 22px;
  background: var(--white);
  border-radius: var(--blob);
  box-shadow: var(--shadow);
}

.form__row {
  margin-bottom: 20px;
}

.form label {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 700;
}

.req {
  margin-left: 6px;
  padding: 1px 8px;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 11px;
  vertical-align: 1px;
}

.form input,
.form select,
.form textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
}

.form textarea {
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--blue);
}

/* スパム対策用の非表示欄 */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.form__status {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.form__status.is-ok {
  color: var(--blue-ink);
}

.form__status.is-error {
  color: #b42318;
}

.contact__todo {
  display: block;
  margin: 20px auto 0;
  padding: 8px 14px;
  color: var(--ink);
  background: #fde68a;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
}

/* ===== フッター ===== */
.site-footer {
  padding: 28px 0;
  color: var(--ink);
  text-align: center;
}

/* ===== PC幅（768px以上） ===== */
@media (min-width: 768px) {
  .sp-only {
    display: none;
  }

  .hero {
    padding: 88px 0 104px;
  }

  .hero::before {
    top: -160px;
    right: -100px;
    width: 560px;
    height: 560px;
  }

  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 56px;
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__actions {
    flex-direction: row;
  }

  .section {
    padding: 96px 0;
  }

  .section__title {
    margin-bottom: 56px;
    font-size: 30px;
  }

  .contact__lead {
    margin-top: -32px;
    margin-bottom: 40px;
  }

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

  .card:nth-child(odd) {
    transform: rotate(-0.5deg);
  }

  .card:nth-child(even) {
    transform: rotate(0.5deg);
  }

  .worry li {
    padding: 64px 20px 28px;
    text-align: center;
  }

  .worry li::before {
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
  }

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

  .points li {
    flex-direction: column;
    gap: 4px;
  }

  .flow {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
  }

  .flow li {
    display: block;
    text-align: center;
  }

  .flow span {
    margin: 0 auto 12px;
  }

  .form {
    padding: 40px 44px;
  }

  .btn--block {
    width: auto;
    min-width: 280px;
    margin: 0 auto;
  }
}

/* ===== フッターのリンク ===== */
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-bottom: 8px;
  font-size: 14px;
}

.form__note a {
  color: var(--blue-ink);
}

/* ===== 法的ページ（特定商取引法・プライバシーポリシー） ===== */
.legal {
  padding: 56px 0 88px;
}

.legal__title {
  font-family: var(--font-hand);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
}

.legal__lead {
  margin: 4px 0 32px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.legal__list {
  margin: 0;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.legal__list > div {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.legal__list > div:last-child {
  border-bottom: 0;
}

.legal__list dt {
  color: var(--blue-ink);
  font-size: 14px;
  font-weight: 700;
}

.legal__list dd {
  margin: 4px 0 0;
  font-size: 15px;
}

.legal a {
  color: var(--blue-ink);
}

.legal__body h2 {
  margin: 32px 0 8px;
  font-family: var(--font-hand);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
}

.legal__body p,
.legal__body li {
  color: var(--muted);
  font-size: 15px;
}

.legal__body ul {
  margin: 8px 0 0;
  padding-left: 1.4em;
  list-style: disc;
}

.legal__body li + li {
  margin-top: 8px;
}

.legal__owner {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

@media (min-width: 768px) {
  .legal__title {
    font-size: 32px;
  }

  .legal__list > div {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 16px;
    padding: 20px 28px;
  }

  .legal__list dd {
    margin: 0;
  }
}

/* ===== 料金 ===== */
.price__lead {
  margin-top: -20px;
  margin-bottom: 32px;
  color: var(--muted);
  text-align: center;
}

.price-cards {
  display: grid;
  gap: 20px;
}

.price-card__price {
  margin: 4px 0 14px;
  font-family: var(--font-hand);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.4;
}

.price-card__price small {
  margin-left: 4px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
}

.price-card__list {
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.price-card__list li {
  position: relative;
  padding-left: 1.5em;
  color: var(--muted);
  font-size: 15px;
}

.price-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-ink);
  font-weight: 700;
}

.price-card__term {
  padding-top: 12px;
  border-top: 1px dashed var(--wood);
  color: var(--blue-ink);
  font-size: 14px;
  font-weight: 700;
}

.price-more {
  display: grid;
  gap: 28px;
  margin-top: 44px;
}

.price__note {
  max-width: 560px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.price-group h3 {
  margin-bottom: 8px;
  font-family: var(--font-hand);
  font-size: 17px;
  font-weight: 600;
}

.price-list {
  margin: 0;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.price-list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.price-list > div:last-child {
  border-bottom: 0;
}

.price-list dt span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.price-list dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.price-notes {
  max-width: 760px;
  margin: 36px auto 0;
  padding-left: 1.2em;
  list-style: disc;
  color: var(--muted);
  font-size: 14px;
}

.price-notes li + li {
  margin-top: 6px;
}

.price-notes a {
  color: var(--blue-ink);
}

.price__cta {
  margin-top: 32px;
  text-align: center;
}

@media (min-width: 768px) {
  .price__lead {
    margin-top: -32px;
    margin-bottom: 40px;
  }

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

  .price-more {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

/* ===== 写真の帯（アイビー） ===== */
.photo-band {
  position: relative;
  margin: 0;
  height: 200px;
  overflow: hidden;
}

.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 26, 20, 0.45), rgba(20, 26, 20, 0.05) 55%);
}

.photo-band__quote {
  position: absolute;
  left: 24px;
  bottom: 16px;
  max-width: 80%;
  color: #fff;
  font-family: var(--font-hand);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

/* ===== プロフィール（アイビーの写真を背景に） ===== */
.section--profile {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.section--profile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(251, 250, 247, 0.86);
}

.profile-panel {
  position: relative;
  z-index: 1;
}

.profile-panel .profile {
  max-width: 480px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.85;
}

@media (min-width: 768px) {
  .photo-band {
    height: 280px;
  }

  .photo-band__quote {
    left: 40px;
    bottom: 28px;
    font-size: 18px;
  }
}

/* ===== 制作事例 ===== */
.works__lead {
  margin-top: -20px;
  margin-bottom: 28px;
  color: var(--muted);
  text-align: center;
}

.works {
  display: grid;
  gap: 16px;
}

.works__item {
  display: block;
  overflow: hidden;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--blob);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}

.works__item:hover {
  transform: translateY(-3px);
}

.works__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.works__body {
  padding: 16px 18px 20px;
}

.works__tag {
  margin-bottom: 4px;
  color: var(--blue-ink);
  font-size: 12px;
  font-weight: 700;
}

.works__body h3 {
  font-family: var(--font-hand);
  font-size: 17px;
  font-weight: 600;
}

.works__note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

@media (min-width: 768px) {
  .works__lead {
    margin-top: -32px;
    margin-bottom: 40px;
  }

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