/* ===== ココルテ サイト スタイル ===== */
:root {
  --cream: #fffbf5;
  --beige: #f6efe3;
  --orange: #e08a55;
  --orange-deep: #d3672a;
  --gold: #dcb36f;
  --green: #8cb561;
  --green-deep: #4d6b2f;
  --text: #3b3230;
  --muted: #6b605a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  line-height: 1.9;
  letter-spacing: .04em;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-weight: 600; line-height: 1.5; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
a { color: inherit; }

.container { width: min(1100px, 100% - 32px); margin-inline: auto; }
.section { padding: 80px 0; }
.small { font-size: .85rem; color: var(--muted); }
.center { text-align: center; }
.section-title { font-size: 1.6rem; }

.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-family: inherit;
  font-size: 1.15rem;
  padding: .8em 2.2em;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  transition: transform .2s, background .2s;
}
.btn:hover { background: #7aa24f; transform: translateY(-2px); }

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  background:
    radial-gradient(ellipse at 45% 45%, #ee8f55 0%, #f2a874 35%, #f6d2b0 65%, #fbeee0 100%);
  color: #fff;
}
.hero__inner { position: relative; z-index: 1; width: min(1100px, 100% - 32px); margin-inline: auto; padding: 60px 0 40px; }
.hero__illust {
  position: absolute; right: 0; bottom: 0;
  height: 80%; max-height: 620px; width: auto; max-width: 32%;
  object-fit: cover; opacity: .95;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 25%), linear-gradient(to bottom, transparent, #000 20%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent, #000 25%), linear-gradient(to bottom, transparent, #000 20%);
          mask-composite: intersect;
}
.brand__sub { font-size: 1.5rem; font-weight: 700; margin: 0; }
.brand__main { display: flex; align-items: center; gap: 16px; border-bottom: 3px solid var(--cream); padding-bottom: 8px; width: fit-content; padding-right: 24px; }
.brand__logo { width: 72px; height: 72px; border-radius: 8px; }
.brand__name { font-size: 2.8rem; font-weight: 700; }

.hero__body { text-align: center; max-width: 760px; margin: 40px auto 0; }
.hero__catch { font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 500; color: #fff; text-shadow: 0 2px 10px rgba(160,70,20,.45); margin-bottom: 1.2em; }
.hero__lead { font-size: clamp(1rem, 2vw, 1.4rem); text-shadow: 0 1px 6px rgba(160,70,20,.35); margin-bottom: 2em; }
.hero__note { color: #2d2522; font-size: .95rem; margin-top: 1.4em; }

/* ---- Worries ---- */
.worries__inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.worries__photo { border-radius: 4px; width: 100%; }
.worries__title { font-size: 1.5rem; text-align: center; }
.worries__list { padding-left: 1.2em; font-size: 1.05rem; line-height: 2.2; }

/* ---- Values ---- */
.values { background: #e5b46f; color: #fff; }
.values__title { font-size: 2rem; }
.values__lead { font-size: 1.05rem; margin-bottom: 40px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--cream); color: var(--text); padding: 28px; border-radius: 4px; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.card h3 { text-align: center; font-size: 1.15rem; border-bottom: 1px solid #e8dccb; padding-bottom: .7em; }

/* ---- Listening ---- */
.listening { background: var(--beige); }
.listening__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.quotes { color: var(--orange-deep); }
.notice { margin-top: 32px; padding: 24px; border-left: 4px solid var(--gold); background: var(--cream); }
.notice h3 { font-size: 1.1rem; }
.services { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.service { background: var(--cream); padding: 24px; border-radius: 6px; }
.service h3 { font-size: 1.15rem; color: var(--green-deep); }

/* ---- Flow ---- */
.flow__title { text-align: center; font-size: 2.2rem; margin-bottom: .2em; }
.flow__sub { text-align: center; border-top: 1px solid var(--gold); width: fit-content; margin: 0 auto 48px; padding-top: .5em; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: #fff; border-radius: 8px; padding: 20px; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.step:nth-child(4), .step:nth-child(5) { grid-column: span 1; }
.step__head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.step__head h3 { font-size: 1.1rem; margin: 0; }
.step__head h3.accent { color: var(--orange-deep); }
.step__num { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--green-deep); color: #fff; font-size: .65rem; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.step__num b { font-size: 1.6rem; }
.step__num--accent { background: var(--orange-deep); }
.step__body { display: flex; gap: 14px; align-items: flex-start; flex: 1; }
.step__body img { width: 110px; flex: none; border-radius: 50%; }
.step__body p { font-size: .92rem; }
.step__memo { background: var(--beige); padding: 10px 14px; border-radius: 6px; font-size: .88rem; margin: 12px 0 0; }
.modes { display: flex; flex-direction: column; gap: 6px; flex: none; }
.modes span { background: var(--beige); border-radius: 999px; padding: 2px 12px; font-size: .8rem; text-align: center; }
.promise { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 8px; }
.promise p { margin: 0; padding: 20px; border-left: 1px dashed var(--gold); font-size: .95rem; display: flex; align-items: center; }
.promise p:first-child { border-left: none; }
.promise__title { font-size: 1.2rem !important; font-weight: 600; color: var(--green-deep); }

/* ---- Price ---- */
.label { display: inline-block; background: #c8743e; color: #fff; padding: .2em 1.6em; border-radius: 999px; font-size: 1.6rem; }
.price__box { background: #f5f0e2; padding: 32px 40px; margin-top: 24px; border-left: 3px dashed var(--gold); }
.price__box h3 { font-size: 1.6rem; }
.price__note { text-align: right; font-size: .9rem; }
.price__table { width: 100%; border-collapse: collapse; }
.price__table th, .price__table td { border-bottom: 1px solid #b8ad9c; padding: 14px 10px; }
.price__table th { font-weight: 400; text-align: center; border-right: 1px solid #b8ad9c; width: 32%; }
.price__table td b { font-size: 1.3rem; font-weight: 600; white-space: nowrap; }
.price__table td:last-child { font-size: .9rem; }
.info { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; margin-top: 48px; align-items: end; }
.info h3 { font-size: 1.2rem; margin-top: 1.5em; }
.info ul { padding-left: 1.2em; }
.cta-box { background: #cbe3db; padding: 28px; text-align: center; }

/* ---- Monitor ---- */
.monitor { background: #fafaf5; }
.monitor__hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.monitor__pre { color: var(--green-deep); font-size: 1.3rem; }
.monitor__title { font-family: "Noto Serif JP", serif; font-size: clamp(2.4rem, 6vw, 4.2rem); color: #2f5a1f; line-height: 1.3; }
.monitor__title span { color: #f0701f; }
.monitor__visual { position: relative; }
.monitor__visual img { border-radius: 8px; }
.badge { position: absolute; top: -30px; right: -10px; width: 130px; height: 130px; border-radius: 50%; background: #fff; border: 3px solid #f2a17a; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.3; font-size: .9rem; margin: 0; }
.badge b { color: #f0701f; font-size: 1.8rem; }
.monitor__points { margin-top: 40px; border: 2px solid #6d9a55; border-radius: 16px; padding: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; background: #fff; }
.monitor__points h3 { font-size: 1.1rem; border-bottom: 1px solid #a8c79a; padding-bottom: .6em; }
.monitor__points h3 b { font-size: 1.5rem; }
.monitor__points .off { color: #f0701f; font-size: 2rem; }
.monitor__points .full { grid-column: 1 / -1; text-align: center; margin: 0; }
.monitor__flow-title { text-align: center; font-size: 1.6rem; color: #2f5a1f; margin-top: 48px; }
.monitor__flow { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: m; }
.monitor__flow li { counter-increment: m; font-size: .92rem; }
.monitor__flow li b { display: block; font-size: 1.1rem; margin-bottom: .4em; }
.monitor__flow li b::before { content: counter(m); display: inline-flex; width: 1.6em; height: 1.6em; border-radius: 50%; background: #1f3d14; color: #fff; align-items: center; justify-content: center; margin-right: .4em; font-size: .9rem; }
.monitor__cta { margin-top: 32px; border: 2px solid #a8c79a; border-radius: 16px; padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; background: #fff; }
.monitor__cta .strong { font-size: 1.3rem; font-weight: 700; margin: 0 0 .3em; }
.monitor__cta .orange { color: #f0701f; margin: 0; }
.monitor__cta-right { border: 2px dotted #6d9a55; border-radius: 10px; padding: 14px 18px; display: flex; align-items: center; gap: 16px; justify-content: space-between; }
.monitor__cta-right p { margin: 0; font-weight: 500; }

/* ---- Footer ---- */
.footer { background: var(--orange); color: var(--cream); padding: 64px 0 32px; }
.footer__inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.footer__brand { display: flex; gap: 14px; align-items: center; margin-bottom: 40px; }
.footer__address { font-size: .95rem; }
.footer__address a { text-decoration: none; }
.footer__sns { display: flex; align-items: center; gap: 10px; font-size: .85rem; }
.footer__sns a { display: inline-flex; color: #fff; }
.footer__message { line-height: 2.3; }
.copyright { text-align: center; font-family: sans-serif; font-size: .85rem; margin: 32px 0 0; }

/* ---- スマホ対応 ---- */
@media (max-width: 860px) {
  .section { padding: 56px 0; }
  .worries__inner, .listening__inner, .info, .monitor__hero, .monitor__cta, .footer__inner { grid-template-columns: 1fr; }
  .cards, .steps, .monitor__points { grid-template-columns: 1fr; }
  .monitor__flow { grid-template-columns: 1fr 1fr; }
  .promise { grid-template-columns: 1fr 1fr; }
  .promise p { border-left: none; border-top: 1px dashed var(--gold); }
  .values__lead br, .hero__lead br, .footer__message br { display: none; }
  .hero__illust { opacity: .35; max-width: 70%; }
  .brand__name { font-size: 2.2rem; }
  .price__box { padding: 24px 16px; }
  .price__table th, .price__table td { display: block; width: 100%; border-right: none; text-align: left; }
  .price__table th { border-bottom: none; padding-bottom: 0; font-weight: 600; }
  .monitor__cta-right { flex-direction: column; align-items: flex-start; }
  .badge { width: 100px; height: 100px; top: -20px; right: 0; }
  .badge b { font-size: 1.4rem; }
}
@media (max-width: 480px) {
  .monitor__flow, .promise { grid-template-columns: 1fr; }
  .step__body { flex-direction: column; align-items: center; text-align: left; }
}

/* PC: ヒーローの見出し・本文は行頭をそろえ、かたまりごと中央に置く */
@media (min-width: 861px) {
  .hero__body { display: grid; justify-content: center; }
  .hero__catch,
  .hero__lead { text-align: left; }
  .hero__body .btn { justify-self: center; }
}

/* ヒーロー背景：Canvaの背景画像（植物・窓・女性入り）を敷く */
.hero {
  background: #f2a874 url("../images/hero-bg.webp") center bottom / cover no-repeat;
}
.hero__illust { display: none; } /* 女性は背景画像に含まれるため非表示 */
@media (min-width: 861px) {
  /* 背景画像の比率(1366x768)に合わせ、植物と女性が切れないよう余白を詰める */
  .hero { min-height: 0; aspect-ratio: 1366 / 768; }
  .hero__inner { padding: 32px 0 20px; }
  .hero__body { margin-top: -20px; }
  .hero__catch { margin-bottom: .45em; }
  .hero__lead { margin-bottom: 1em; line-height: 1.7; }
  .hero__note { margin-top: .7em; }
  .brand__main { padding-right: 0; }
}

/* スマホ：背景はオレンジのグラデーションのみ。文字とボタンは左寄せ、後ろ向きの女性を右下に置く（少し重なってよい） */
@media (max-width: 860px) {
  .hero {
    background: radial-gradient(ellipse at 45% 35%, #ee8f55 0%, #f2a874 40%, #f6d2b0 75%, #fbeee0 100%);
    padding-bottom: 40px;
  }
  /* イラストはHTMLで本文の直後に置き、本文（アイボリーの文字）のすぐ下から始まるようにする */
  .hero__body > *:not(.hero__illust) { position: relative; z-index: 1; }
  .hero__illust {
    display: block;
    top: auto; right: -16px; bottom: auto; margin-top: -50px;
    height: 340px; width: auto; max-width: none; max-height: none;
    opacity: 1; z-index: 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 30%), linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
    -webkit-mask-composite: source-in;
            mask-image: linear-gradient(to right, transparent, #000 30%), linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
            mask-composite: intersect;
  }
  .hero__body { text-align: left; }
}

/* お悩みセクションの写真：元画像が小さいため、表示を小さめにしてぼやけを抑える */
.worries__photo { max-width: 300px; justify-self: center; margin-inline: auto; }

/* スマホ：「安心してご利用いただくために」の見出しと3項目は改行せず1行で表示 */
@media (max-width: 860px) {
  .promise p br { display: none; }
  .promise__title { font-size: min(1.2rem, 4.6vw) !important; white-space: nowrap; }
}

/* 「安心してご利用いただくために」の見出しと3項目を中央ぞろえ（PC・スマホ共通） */
.promise p { justify-content: center; text-align: center; }

/* スマホ：トップ以外の「初回面談へ」ボタンを中央に置く */
@media (max-width: 860px) {
  .services .btn,
  .monitor__cta-right .btn { align-self: center; }
}
