@charset "utf-8";

/* =========================================================
   生地買取専門店 布のある日 — トップページ（ポップ版）
   生成りの地に、緑・黄・珊瑚・空色のアクセント
   ========================================================= */

:root {
  /* 地の色 */
  --c-paper:      #ffffff;
  --c-cream:      #fffaec;
  --c-cream2:     #fff3d6;
  --c-white:      #ffffff;

  /* アクセント */
  --c-green:      #16b07b;
  --c-green-dark: #0f9469;
  --c-green-deep: #0b7a55;
  --c-green-pale: #e6faf1;
  --c-yellow:     #ffd451;
  --c-yellow-pale:#fff0c4;
  --c-coral:      #ff7a66;
  --c-coral-pale: #ffe3de;
  --c-sky:        #45c0ef;
  --c-sky-pale:   #ddf1fb;
  --c-grape:      #7c6bd8;

  /* 文字 */
  --c-ink:        #33312c;
  --c-ink-soft:   #6b665c;
  --c-ink-faint:  #8b8477;

  /* 線・影 */
  --c-line:       #e8e0cd;
  --shadow:       0 10px 0 rgba(43, 42, 38, .045);
  --shadow-soft:  0 14px 30px rgba(43, 42, 38, .1);

  /* 書体 */
  --f-round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic",
             YuGothic, Meiryo, system-ui, sans-serif;
  --f-sans:  "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic",
             YuGothic, Meiryo, system-ui, sans-serif;

  /* 寸法 */
  --w-max: 1200px;
  --pad-x: clamp(20px, 5vw, 48px);
  --r-lg: 24px;
  --r-md: 16px;
  --r-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.95;
  letter-spacing: .02em;
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--c-green-dark); text-decoration: none; }
a:hover { color: var(--c-green); }

h1, h2, h3, h4 {
  font-family: var(--f-round);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .03em;
  margin: 0;
  color: var(--c-ink);
}

p { margin: 0 0 1.3em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--c-yellow); color: var(--c-ink); }

:focus-visible {
  outline: 3px solid var(--c-sky);
  outline-offset: 3px;
}

/* =========================================================
   レイアウト
   ========================================================= */
.l-inner {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.l-section { padding: clamp(64px, 8vw, 110px) 0; position: relative; }
.l-section--tight { padding: clamp(52px, 6vw, 84px) 0; }
.l-section--paper { background: var(--c-paper); }
.l-section--cream {
  background: var(--c-cream);
  border-radius: var(--r-lg);
  margin-inline: clamp(8px, 1.6vw, 20px);
}
.l-section--deep {
  background: linear-gradient(180deg, #eafaf2 0%, #e2f6fb 100%);
  color: var(--c-ink);
  border-radius: var(--r-lg);
  margin-inline: clamp(8px, 1.6vw, 20px);
}
.l-section--deep h2,
.l-section--deep h3 { color: var(--c-ink); }

/* 水玉の飾り */
.l-section--dots::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--c-cream2) 2.5px, transparent 2.6px);
  background-size: 22px 22px;
  opacity: .8;
  z-index: 0;
}
.l-section--dots > * { position: relative; z-index: 1; }

/* =========================================================
   見出し
   ========================================================= */
.c-head { margin-bottom: clamp(36px, 4.5vw, 56px); max-width: 44em; }

.c-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-round);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--c-green-dark);
  background: var(--c-green-pale);
  border-radius: var(--r-pill);
  padding: 7px 18px 7px 8px;
  margin-bottom: 20px;
}
.c-head__eyebrow::before {
  content: attr(data-num);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-green);
  color: #fff;
  font-size: 11.5px;
  letter-spacing: 0;
}
.l-section--deep .c-head__eyebrow {
  background: var(--c-white);
  color: var(--c-green-dark);
}
.l-section--deep .c-head__eyebrow::before { background: var(--c-green); color: #fff; }

.c-head__title {
  font-size: clamp(25px, 3.2vw, 38px);
  line-height: 1.5;
  margin-bottom: 20px;
}
.c-head__lead {
  font-size: 15px;
  line-height: 2;
  color: var(--c-ink-soft);
}
.l-section--deep .c-head__lead { color: var(--c-ink-soft); }

/* 蛍光ペン風の強調 */
.c-mark {
  background: linear-gradient(transparent 58%, var(--c-yellow) 58%, var(--c-yellow) 92%, transparent 92%);
  padding-inline: 2px;
}

/* =========================================================
   部品
   ========================================================= */
.c-note {
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--c-ink-faint);
}
.c-note--boxed {
  background: var(--c-white);
  border: 2px dashed var(--c-line);
  border-radius: var(--r-md);
  padding: 20px 24px;
  color: var(--c-ink-soft);
}
.l-section--deep .c-note--boxed {
  background: var(--c-white);
  border-color: #cdeadd;
  color: var(--c-ink-soft);
}

/* 公開前に設定が必要な箇所 */
.c-tbd {
  display: inline-block;
  font-family: var(--f-round);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.7;
  color: #8a5a00;
  background: var(--c-yellow-pale);
  border-radius: var(--r-pill);
  padding: 2px 11px;
  margin-right: 8px;
  vertical-align: 2px;
  white-space: nowrap;
}
.l-section--deep .c-tbd { background: var(--c-yellow); color: #7a5200; }

/* ボタン */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-round);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.5;
  text-align: center;
  padding: 17px 26px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--c-green);
  color: #fff;
  box-shadow: 0 5px 0 var(--c-green-deep);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease;
}
.c-btn::after { content: "→"; font-size: 15px; line-height: 1; }
.c-btn:hover {
  color: #fff;
  background: var(--c-green-dark);
  transform: translateY(2px);
  box-shadow: 0 3px 0 var(--c-green-deep);
}
.c-btn:active { transform: translateY(5px); box-shadow: 0 0 0 var(--c-green-deep); }

.c-btn--coral { background: var(--c-coral); box-shadow: 0 5px 0 #d94733; }
.c-btn--coral:hover { background: #f4593f; box-shadow: 0 3px 0 #d94733; }

.c-btn--yellow { background: var(--c-yellow); color: var(--c-ink); box-shadow: 0 5px 0 #d9a013; }
.c-btn--yellow:hover { background: #ffd35f; color: var(--c-ink); box-shadow: 0 3px 0 #d9a013; }

.c-btn--ghost {
  background: var(--c-white);
  color: var(--c-green-dark);
  box-shadow: 0 5px 0 var(--c-line);
}
.c-btn--ghost:hover { background: #fff; color: var(--c-green); box-shadow: 0 3px 0 var(--c-line); }

.c-btn--sm { font-size: 13.5px; padding: 12px 22px; box-shadow: 0 4px 0 var(--c-green-deep); }
.c-btn--sm:hover { box-shadow: 0 2px 0 var(--c-green-deep); }
.c-btn--block { width: 100%; }

.u-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* =========================================================
   ヘッダー
   ========================================================= */
.p-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 246, .92);
  backdrop-filter: saturate(160%) blur(10px);
  transition: box-shadow .3s ease;
}
.p-header.is-scrolled { box-shadow: 0 4px 20px rgba(43, 42, 38, .08); }
.p-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  position: relative;
}

.p-logo { display: flex; flex-direction: column; gap: 4px; }
.p-logo:hover { color: inherit; }
.p-logo__name {
  font-family: var(--f-round);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--c-green-dark);
  line-height: 1.2;
}
.p-logo__sub {
  font-family: var(--f-round);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #fff;
  background: var(--c-coral);
  border-radius: var(--r-pill);
  padding: 2px 10px;
  line-height: 1.6;
  align-self: flex-start;
  white-space: nowrap;
}

.p-header__nav { display: flex; align-items: center; gap: 28px; }
.p-nav__list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.p-nav__list a {
  font-family: var(--f-round);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-ink);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  transition: background-color .2s ease, color .2s ease;
}
.p-nav__list a:hover { background: var(--c-green-pale); color: var(--c-green-dark); }

.p-header__toggle { display: none; }

.c-skip {
  position: absolute;
  left: -9999px;
  background: var(--c-green);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 12px 20px;
  z-index: 100;
}
.c-skip:focus { left: 10px; top: 10px; color: #fff; }

/* =========================================================
   ファーストビュー
   ========================================================= */
.p-hero {
  position: relative;
  background: var(--c-cream);
  border-radius: var(--r-lg);
  margin-inline: clamp(8px, 1.6vw, 20px);
  overflow: hidden;
}
.p-hero::before,
.p-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.p-hero::before {
  width: 320px; height: 320px;
  background: var(--c-yellow);
  opacity: .28;
  top: -120px; left: -90px;
}
.p-hero::after {
  width: 240px; height: 240px;
  background: var(--c-sky);
  opacity: .18;
  bottom: -110px; left: 34%;
}
.p-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding-block: clamp(52px, 7vw, 92px);
}

.p-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-round);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  background: var(--c-green);
  border-radius: var(--r-pill);
  padding: 7px 18px;
  margin-bottom: 22px;
  transform: rotate(-1.5deg);
}
.p-hero__title {
  font-size: clamp(33px, 4.6vw, 56px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: .02em;
  margin-bottom: 24px;
}
.p-hero__text {
  font-size: 15.5px;
  line-height: 2.05;
  color: var(--c-ink-soft);
  margin-bottom: 26px;
  max-width: 30em;
}

.p-hero__points {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.p-hero__points li {
  font-family: var(--f-round);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-white);
  border-radius: var(--r-pill);
  padding: 9px 18px 9px 14px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
}
.p-hero__points li::before {
  content: "✓";
  color: var(--c-green);
  font-size: 13px;
}
.p-hero__points li:nth-child(2) { transform: rotate(.8deg); }
.p-hero__points li:nth-child(3) { transform: rotate(-.8deg); }

.p-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.p-hero__figure {
  position: relative;
  margin: 0;
}
.p-hero__figure img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}
/* 写真に重ねる丸いシール */
.p-hero__vertical {
  position: absolute;
  top: -18px;
  left: -18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--c-yellow);
  color: var(--c-ink);
  font-family: var(--f-round);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  letter-spacing: .02em;
  box-shadow: 0 6px 0 #d9a013;
  transform: rotate(-9deg);
}
.p-hero__caption {
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--c-ink-faint);
}

/* =========================================================
   相談の入口（個人／法人）
   ========================================================= */
.p-entry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.6vw, 30px);
}
.p-entry__card {
  position: relative;
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow);
  border: 2px solid var(--c-line);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.p-entry__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 0 rgba(43, 42, 38, .06);
}
.p-entry__card:nth-child(1) { border-color: var(--c-sky-pale); }
.p-entry__card:nth-child(2) { border-color: var(--c-coral-pale); }
.p-entry__mark {
  font-family: var(--f-round);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #fff;
  border-radius: var(--r-pill);
  padding: 5px 14px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.p-entry__card:nth-child(1) .p-entry__mark { background: var(--c-sky); }
.p-entry__card:nth-child(2) .p-entry__mark { background: var(--c-coral); }
.p-entry__title { font-size: clamp(21px, 2.2vw, 26px); margin-bottom: 14px; }
.p-entry__text {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--c-ink-soft);
  margin-bottom: 26px;
}
.p-entry__card .c-btn { align-self: flex-start; margin-top: auto; }

/* =========================================================
   相談シーン
   ========================================================= */
.p-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}
.p-cases li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--c-white);
  border-radius: var(--r-pill);
  padding: 18px 26px;
  font-family: var(--f-round);
  font-size: 15.5px;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.p-cases li::before {
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}
.p-cases li:nth-child(1)::before { background: var(--c-green); }
.p-cases li:nth-child(2)::before { background: var(--c-yellow); }
.p-cases li:nth-child(3)::before { background: var(--c-sky); }
.p-cases li:nth-child(4)::before { background: var(--c-coral); }

/* =========================================================
   相談できる生地
   ========================================================= */
.p-fabrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 32px);
  margin-bottom: clamp(36px, 4.5vw, 56px);
}
.p-fabric {
  background: var(--c-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease;
}
.p-fabric:hover { transform: translateY(-4px); }
.p-fabric__figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--c-cream2);
}
.p-fabric__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.p-fabric:hover .p-fabric__figure img { transform: scale(1.05); }
.p-fabric__num {
  position: absolute;
  left: 14px;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-family: var(--f-round);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-ink);
  background: var(--c-yellow);
  box-shadow: 0 4px 0 #d9a013;
  transform: rotate(-6deg);
}
.p-fabric:nth-child(2) .p-fabric__num { background: var(--c-sky); color: #fff; box-shadow: 0 4px 0 #1b8cb8; }
.p-fabric:nth-child(3) .p-fabric__num { background: var(--c-coral); color: #fff; box-shadow: 0 4px 0 #d94733; }
.p-fabric:nth-child(4) .p-fabric__num { background: var(--c-green); color: #fff; box-shadow: 0 4px 0 var(--c-green-deep); }
.p-fabric:nth-child(5) .p-fabric__num { background: var(--c-grape); color: #fff; box-shadow: 0 4px 0 #5c4cb5; }
.p-fabric__title {
  font-size: 18.5px;
  line-height: 1.6;
  margin: 22px 24px 10px;
}
.p-fabric__text {
  font-size: 14px;
  line-height: 1.95;
  color: var(--c-ink-soft);
  margin: 0 24px 26px;
}

/* 相談しやすい／確認が必要 */
.p-compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.6vw, 30px);
  margin-bottom: 32px;
}
.p-compare__col {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow);
}
.p-compare__col:nth-child(1) { background: var(--c-green-pale); }
.p-compare__col:nth-child(2) { background: var(--c-yellow-pale); }
.p-compare__title {
  font-size: 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.p-compare__title::before {
  font-family: var(--f-round);
  font-size: 14px;
  color: #fff;
  border-radius: var(--r-pill);
  padding: 3px 12px;
}
.p-compare__col:nth-child(1) .p-compare__title::before { content: "OK"; background: var(--c-green); }
.p-compare__col:nth-child(2) .p-compare__title::before { content: "CHECK"; background: #e2a41d; }
.p-compare__list { list-style: none; margin: 0; padding: 0; }
.p-compare__list li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  line-height: 1.9;
  margin-bottom: 10px;
  color: var(--c-ink-soft);
}
.p-compare__list li:last-child { margin-bottom: 0; }
.p-compare__list--ok li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--c-green);
  font-weight: 700;
}
.p-compare__list--care li::before {
  content: "!";
  position: absolute;
  left: 6px;
  color: #d99a10;
  font-weight: 700;
}

/* =========================================================
   相談前に用意する情報
   ========================================================= */
.p-prepare {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 30px;
  padding: 0;
}
.p-prepare > div {
  background: var(--c-white);
  border-radius: var(--r-md);
  padding: 22px 24px 24px;
  box-shadow: var(--shadow);
}
.p-prepare dt {
  font-family: var(--f-round);
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--c-green-dark);
}
.p-prepare dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--c-ink-soft);
}

/* =========================================================
   買取の流れ
   ========================================================= */
.p-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  counter-reset: flow;
}
.p-flow li {
  position: relative;
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: 34px 24px 26px;
  box-shadow: var(--shadow);
}
.p-flow li::before {
  counter-increment: flow;
  content: "STEP " counter(flow);
  position: absolute;
  top: -14px;
  left: 20px;
  font-family: var(--f-round);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  background: var(--c-green);
  border-radius: var(--r-pill);
  padding: 5px 16px;
}
.p-flow li:nth-child(2)::before { background: var(--c-sky); }
.p-flow li:nth-child(3)::before { background: var(--c-grape); }
.p-flow li:nth-child(4)::before { background: var(--c-coral); }
.p-flow__title { font-size: 18.5px; margin-bottom: 10px; }
.p-flow__text {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--c-ink-soft);
}
.p-flow__who {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--f-round);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--c-green-dark);
  background: var(--c-green-pale);
  border-radius: var(--r-pill);
  padding: 3px 12px;
}

/* =========================================================
   法人・事業者向け
   ========================================================= */
.p-business__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.p-business__subtitle { font-size: 19px; margin-bottom: 18px; color: var(--c-ink); }
.p-business__list { list-style: none; margin: 0; padding: 0; }
.p-business__list li {
  background: var(--c-white);
  box-shadow: var(--shadow);
  border-radius: var(--r-md);
  padding: 16px 22px;
  margin-bottom: 12px;
}
.p-business__list strong {
  display: block;
  font-family: var(--f-round);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--c-green-dark);
  margin-bottom: 2px;
}
.p-business__list span {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--c-ink-soft);
}
.p-business__action { margin-top: 24px; }

/* =========================================================
   よくある質問
   ========================================================= */
.p-faq { max-width: 900px; display: grid; gap: 14px; }
.p-faq__item {
  background: var(--c-white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.p-faq__q {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  background: none;
  border: 0;
  font-family: var(--f-round);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-ink);
  text-align: left;
  line-height: 1.7;
  padding: 22px 24px;
  cursor: pointer;
}
.p-faq__q:hover { color: var(--c-green-dark); }
.p-faq__mark {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-green);
  color: #fff;
  font-size: 14px;
}
.p-faq__q::after {
  content: "+";
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 24px;
  line-height: 1;
  color: var(--c-green);
  transition: transform .25s ease;
}
.p-faq__q[aria-expanded="true"]::after { content: "−"; }
.p-faq__a {
  padding: 0 24px 24px 66px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--c-ink-soft);
}
.p-faq__a[hidden] { display: none; }
.p-faq__answer-lead {
  display: inline-block;
  font-family: var(--f-round);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-ink);
  background: var(--c-yellow-pale);
  border-radius: var(--r-pill);
  padding: 4px 16px;
  margin-bottom: 10px;
}

/* =========================================================
   問い合わせフォーム
   ========================================================= */
.p-form-wrap { max-width: 800px; }

.p-demo-banner {
  background: var(--c-coral-pale);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin-bottom: 36px;
  font-size: 13.5px;
  line-height: 1.95;
  color: #8c3527;
}
.p-demo-banner strong {
  display: block;
  font-family: var(--f-round);
  font-weight: 700;
  font-size: 16px;
  color: #c0392b;
  margin-bottom: 4px;
}

.p-form { display: grid; gap: 28px; }
.p-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.p-field__label {
  display: block;
  font-family: var(--f-round);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  padding: 0;
}
.p-req, .p-opt {
  font-family: var(--f-round);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  border-radius: var(--r-pill);
  padding: 2px 11px;
  margin-left: 10px;
  vertical-align: 2px;
}
.p-req { color: #fff; background: var(--c-coral); }
.p-opt { color: var(--c-ink-faint); background: #f1ece0; }

.p-hint {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--c-ink-faint);
  margin: -4px 0 10px;
}

.p-input, .p-select, .p-textarea {
  width: 100%;
  font-family: var(--f-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--c-ink);
  background: var(--c-white);
  border: 2px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 14px 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.p-textarea { min-height: 160px; resize: vertical; }
.p-input:focus, .p-select:focus, .p-textarea:focus {
  border-color: var(--c-green);
  box-shadow: 0 0 0 4px var(--c-green-pale);
  outline: none;
}
.p-input[aria-invalid="true"],
.p-select[aria-invalid="true"],
.p-textarea[aria-invalid="true"] {
  border-color: var(--c-coral);
  background: #fff8f7;
}

.p-choices { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.p-choices--cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}
.p-choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.7;
  background: var(--c-white);
  border: 2px solid var(--c-line);
  border-radius: var(--r-pill);
  padding: 10px 20px;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.p-choice:hover { border-color: var(--c-green); }
.p-choice input { margin-top: 5px; accent-color: var(--c-green); flex: 0 0 auto; }
.p-choice:has(input:checked) { border-color: var(--c-green); background: var(--c-green-pale); }

.p-error {
  display: none;
  font-size: 13px;
  font-weight: 700;
  color: #c0392b;
  margin-top: 10px;
}
.p-error.is-shown { display: block; }

.p-file {
  background: var(--c-sky-pale);
  border-radius: var(--r-md);
  padding: 22px;
}
.p-file input[type="file"] { font-size: 13.5px; max-width: 100%; }
.p-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.p-preview:empty { display: none; }
.p-preview li {
  background: var(--c-white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.p-preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--c-cream2);
}
.p-preview__name {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: var(--c-ink-faint);
  padding: 8px 10px 10px;
  overflow-wrap: anywhere;
}

.p-consent {
  background: var(--c-green-pale);
  border-radius: var(--r-md);
  padding: 22px 24px;
}
.p-consent .p-choice { background: var(--c-white); border-radius: var(--r-md); }
.p-form__submit { display: grid; gap: 14px; justify-items: start; }

.p-form-summary {
  background: var(--c-white);
  border: 3px solid var(--c-green);
  border-radius: var(--r-lg);
  padding: 28px 30px;
  margin-top: 32px;
}
.p-form-summary[hidden] { display: none; }
.p-form-summary__title { font-size: 21px; margin-bottom: 8px; color: var(--c-green-dark); }
.p-form-summary dl {
  display: grid;
  grid-template-columns: 11em 1fr;
  margin: 20px 0 0;
  font-size: 14px;
}
.p-form-summary dt {
  font-family: var(--f-round);
  font-weight: 700;
  border-top: 2px dotted var(--c-line);
  padding: 12px 0;
}
.p-form-summary dd {
  margin: 0;
  border-top: 2px dotted var(--c-line);
  padding: 12px 0;
  color: var(--c-ink-soft);
  overflow-wrap: anywhere;
}

/* =========================================================
   フッター
   ========================================================= */
.p-footer {
  background: var(--c-green-deep);
  color: #eafbf3;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  margin-inline: clamp(8px, 1.6vw, 20px);
  padding: clamp(48px, 6vw, 80px) 0 40px;
  margin-top: clamp(40px, 5vw, 72px);
}
.p-footer a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.p-footer a:hover { color: var(--c-yellow); }
.p-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr;
  gap: clamp(26px, 4vw, 50px);
  padding-bottom: 40px;
  border-bottom: 2px dotted rgba(255, 255, 255, .25);
}
.p-footer__name {
  font-family: var(--f-round);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.p-footer__tag {
  display: inline-block;
  font-family: var(--f-round);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--c-ink);
  background: var(--c-yellow);
  border-radius: var(--r-pill);
  padding: 3px 12px;
  margin-bottom: 16px;
}
.p-footer__desc { font-size: 13px; line-height: 1.95; color: #e3f8ee; }
.p-footer h3 {
  font-family: var(--f-round);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--c-yellow);
  margin-bottom: 16px;
}
.p-footer dl { margin: 0; font-size: 13.5px; }
.p-footer dt { color: #fff; font-weight: 700; margin-top: 14px; }
.p-footer dl > dt:first-child { margin-top: 0; }
.p-footer dd { margin: 0; color: #dcf6ea; }
.p-footer ul { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.p-footer li { margin-bottom: 10px; line-height: 1.8; }
.p-footer__note {
  font-size: 11.5px;
  line-height: 1.95;
  color: #dcf6ea;
  padding-top: 28px;
}
.p-footer__copy {
  font-size: 11.5px;
  color: #dcf6ea;
  margin-top: 18px;
}

/* =========================================================
   スマートフォン用の固定CTA
   ========================================================= */
.p-fixed-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: rgba(255, 253, 246, .97);
  box-shadow: 0 -4px 20px rgba(43, 42, 38, .1);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}

/* =========================================================
   スクロールに合わせた表示
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px) scale(.99);
  transition: opacity .7s cubic-bezier(.2, .8, .3, 1), transform .7s cubic-bezier(.2, .8, .3, 1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1100px) {
  .p-fabrics { grid-template-columns: repeat(2, 1fr); }
  .p-prepare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-flow { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
}

@media (max-width: 1040px) {
  body { padding-bottom: 96px; }

  .p-header { position: static; }
  .p-header__nav {
    display: none;
    position: absolute;
    left: calc(-1 * var(--pad-x) + 10px);
    right: calc(-1 * var(--pad-x) + 10px);
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--c-white);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-soft);
    padding: 16px 20px 24px;
    z-index: 55;
  }
  .p-header__nav.is-open { display: flex; }
  .p-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .p-nav__list a { padding: 14px 16px; font-size: 15px; }
  .p-header__nav .c-btn { margin-top: 16px; }

  .p-header__toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--c-white);
    border: 2px solid var(--c-line);
    border-radius: var(--r-pill);
    font-family: var(--f-round);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--c-ink);
    padding: 10px 18px;
    cursor: pointer;
  }
  .p-header__toggle-bars { display: grid; gap: 4px; width: 16px; }
  .p-header__toggle-bars span { display: block; height: 2px; border-radius: 2px; background: var(--c-green); }

  .p-fixed-cta { display: block; }
}

@media (max-width: 900px) {
  .p-hero__inner { grid-template-columns: 1fr; gap: 34px; }
  .p-hero__figure img { aspect-ratio: 4 / 3; }
  .p-hero__vertical { width: 92px; height: 92px; font-size: 13px; top: -14px; left: -8px; }
  .p-business__grid { grid-template-columns: 1fr; }
  .p-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .p-hero__actions .c-btn { width: 100%; }
  .p-entry { grid-template-columns: 1fr; }
  .p-entry__card .c-btn { width: 100%; }
  .p-cases { grid-template-columns: 1fr; }
  .p-cases li { font-size: 15px; padding: 16px 22px; border-radius: var(--r-md); }
  .p-fabrics { grid-template-columns: 1fr; }
  .p-compare { grid-template-columns: 1fr; }
  .p-prepare { grid-template-columns: 1fr; }
  .p-flow { grid-template-columns: 1fr; gap: 28px; }
  .p-choices--cols { grid-template-columns: 1fr; }
  .p-form-summary { padding: 24px 20px; }
  .p-form-summary dl { grid-template-columns: 1fr; }
  .p-form-summary dd { border-top: 0; padding-top: 0; }
  .p-footer__grid { grid-template-columns: 1fr; }
  .p-faq__q { font-size: 15px; padding: 18px 18px; }
  .p-faq__a { padding: 0 18px 20px 56px; }
}

/* =========================================================
   サイト内チャット（お客さま側）
   ========================================================= */
.c-chat { position: fixed; inset: auto 0 0 auto; z-index: 70; }

.c-chat__launcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-round);
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  background: var(--c-sky);
  border: 0;
  border-radius: var(--r-pill);
  padding: 14px 22px;
  box-shadow: 0 5px 0 #1b8cb8;
  cursor: pointer;
}
.c-chat__launcher:hover { background: #33b6ec; }
.c-chat__launcher-icon { font-size: 17px; line-height: 1; }

.c-chat__panel {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 370px;
  max-width: calc(100vw - 24px);
  height: 560px;
  max-height: calc(100vh - 36px);
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border-radius: var(--r-lg);
  box-shadow: 0 18px 50px rgba(43, 42, 38, .22);
  overflow: hidden;
}
.c-chat__panel[hidden] { display: none; }

.c-chat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--c-green);
  color: #fff;
  padding: 14px 16px;
}
.c-chat__title {
  margin: 0;
  font-family: var(--f-round);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
}
.c-chat__title span { display: block; font-size: 11px; font-weight: 500; color: #cdf0e1; }
.c-chat__close {
  background: rgba(255, 255, 255, .18);
  border: 0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  color: #fff;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}

.c-chat__start { padding: 22px 18px; overflow-y: auto; }
.c-chat__lead { font-size: 13.5px; line-height: 1.9; color: var(--c-ink-soft); margin: 0 0 16px; }
.c-chat__label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; }
.c-chat__input {
  width: 100%;
  font-family: var(--f-sans);
  font-size: 16px;
  color: var(--c-ink);
  background: #fff;
  border: 2px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 11px 13px;
  margin-bottom: 14px;
}
.c-chat__input:focus { border-color: var(--c-green); outline: none; }
.c-chat__begin {
  width: 100%;
  font-family: var(--f-round);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--c-green);
  border: 0;
  border-radius: var(--r-pill);
  padding: 14px;
  box-shadow: 0 4px 0 var(--c-green-deep);
  cursor: pointer;
}
.c-chat__note { font-size: 11.5px; line-height: 1.8; color: var(--c-ink-faint); margin: 14px 0 0; }
.c-chat__note--foot { margin: 0; padding: 0 16px 12px; }

.c-chat__body { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.c-chat__log {
  flex: 1;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 16px;
  background: var(--c-cream);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.c-chat__msg { display: flex; flex-direction: column; max-width: 84%; }
.c-chat__msg--client { align-self: flex-end; align-items: flex-end; }
.c-chat__msg--staff { align-self: flex-start; align-items: flex-start; }
.c-chat__bubble {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  padding: 10px 14px;
  border-radius: 16px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.c-chat__msg--client .c-chat__bubble { background: var(--c-green); color: #fff; border-bottom-right-radius: 4px; }
.c-chat__msg--staff .c-chat__bubble { background: #fff; color: var(--c-ink); border-bottom-left-radius: 4px; box-shadow: 0 2px 0 rgba(43,42,38,.05); }
.c-chat__img { width: 160px; max-width: 100%; border-radius: 12px; margin-top: 6px; }
.c-chat__time { font-size: 10.5px; color: var(--c-ink-faint); margin-top: 4px; }
.c-chat__system {
  align-self: center;
  font-size: 12px;
  line-height: 1.7;
  color: var(--c-ink-soft);
  background: rgba(255, 255, 255, .8);
  border-radius: var(--r-pill);
  padding: 7px 14px;
  text-align: center;
}

.c-chat__pending { display: flex; gap: 8px; list-style: none; margin: 0; padding: 10px 16px 0; flex-wrap: wrap; }
.c-chat__pending li { position: relative; }
.c-chat__pending img { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; }
.c-chat__pending button {
  position: absolute;
  top: -6px; right: -6px;
  width: 20px; height: 20px;
  font-size: 13px;
  line-height: 1;
  color: #fff;
  background: var(--c-coral);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.c-chat__form { display: flex; align-items: flex-end; gap: 8px; padding: 12px 16px 8px; }
.c-chat__photo {
  flex: 0 0 auto;
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  background: var(--c-sky-pale);
  border-radius: 50%;
  cursor: pointer;
}
.c-chat__photo input { display: none; }
.u-hidden-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.c-chat__text {
  flex: 1;
  min-height: 42px;
  max-height: 120px;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: #fff;
  border: 2px solid var(--c-line);
  border-radius: 21px;
  padding: 10px 14px;
  resize: none;
}
.c-chat__text:focus { border-color: var(--c-green); outline: none; }
.c-chat__send {
  flex: 0 0 auto;
  font-family: var(--f-round);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--c-green);
  border: 0;
  border-radius: var(--r-pill);
  padding: 12px 18px;
  cursor: pointer;
}
.c-chat__send:disabled { opacity: .6; cursor: wait; }

/* スマホでは画面全体に開く */
@media (max-width: 720px) {
  .c-chat__launcher { right: 14px; bottom: 90px; padding: 12px 18px; font-size: 13.5px; }
  .c-chat__panel {
    right: 0; bottom: 0; left: 0;
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }
  .c-chat__msg { max-width: 88%; }
  body.is-chat-open { overflow: hidden; }
  body.is-chat-open .p-fixed-cta { display: none; }
}


/* ---------- ご相談の窓口（チャット案内） ---------- */
.p-contact {
  background: var(--c-cream);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.4vw, 40px);
  margin-bottom: 24px;
}
.p-contact__steps {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.p-contact__steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: var(--r-pill);
  padding: 14px 22px;
  font-family: var(--f-round);
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.p-contact__steps strong {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--c-green);
  color: #fff;
  font-size: 14px;
}
.p-contact__steps li:nth-child(2) strong { background: var(--c-sky); }
.p-contact__steps li:nth-child(3) strong { background: var(--c-coral); }
.p-contact__action { margin: 0 0 18px; }
.p-contact__action .c-btn { width: 100%; max-width: 420px; }

/* チャットの開始画面の選択肢 */
.c-chat__choices { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.c-chat__choices label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  background: #fff;
  border: 2px solid var(--c-line);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  cursor: pointer;
}
.c-chat__choices input { accent-color: var(--c-green); }
.c-chat__choices label:has(input:checked) { border-color: var(--c-green); background: var(--c-green-pale); }


/* チャットで送るデータ（写真以外） */
.c-chat__file {
  display: inline-block;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--c-green-dark);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 9px 14px;
  margin-top: 4px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.c-chat__msg--client .c-chat__file { background: #fff; }
.c-chat__pending-file {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  font-size: 9.5px;
  line-height: 1.3;
  text-align: center;
  color: var(--c-ink-soft);
  background: var(--c-cream2);
  border-radius: 8px;
  padding: 4px;
  overflow: hidden;
}
