@charset "UTF-8";

/* =========================================================================
   天熾ふりちゃん* 公式サイト
   ロゴとアバターの配色（淡いラベンダー／ピンク／ミント）に合わせた天使テーマ
   ========================================================================= */

:root {
  /* ご指定のイメージカラー #DAE3FF を基準にした階調 */
  --lav-50: #f5f8ff;
  --lav-100: #e9efff;
  --lav-200: #dae3ff;
  --lav-300: #bccbf7;
  --lav-400: #9aaeea;
  --lav-500: #7b90d6;
  --lav-700: #5b6da8;

  --pink-100: #fdeef4;
  --pink-200: #fadbe7;
  --pink-300: #f3bdd2;
  --pink-500: #e58fae;

  --mint-100: #ecf7f5;
  --mint-300: #bfe0da;

  --gold: #e8cf92;

  --bg: #fafbff;
  --panel: #ffffff;
  --ink: #4a5070;
  --ink-soft: #858ba9;
  --ink-faint: #a4a9c1;
  --line: #e5e9f7;

  --shadow-sm: 0 2px 10px rgba(134, 146, 196, .10);
  --shadow: 0 6px 26px rgba(134, 146, 196, .14);
  --shadow-lg: 0 14px 44px rgba(126, 138, 190, .18);

  --radius: 18px;
  --radius-sm: 12px;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN",
    "Yu Gothic UI", "Noto Sans JP", Meiryo, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 { margin: 0; line-height: 1.45; font-weight: 700; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--lav-700); text-decoration: none; transition: color .18s, opacity .18s; }
a:hover { color: var(--pink-500); }

button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--lav-400); outline-offset: 2px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------ 背景の空と雲 */

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 620px at 78% -6%, var(--pink-100) 0%, transparent 62%),
    radial-gradient(980px 560px at 12% 4%, var(--lav-100) 0%, transparent 58%),
    linear-gradient(180deg, #fdfbff 0%, var(--bg) 42%, #f8f7fe 100%);
  pointer-events: none;
}

.sky__cloud {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  opacity: .55;
  filter: blur(2px);
}

.sky__cloud--a { width: 320px; height: 120px; top: 14%; left: -70px; }
.sky__cloud--b { width: 240px; height: 96px; top: 42%; right: -60px; opacity: .4; }
.sky__cloud--c { width: 400px; height: 140px; bottom: 8%; left: 24%; opacity: .3; }

/* -------------------------------------------------------------- ヘッダー */

.siteheader {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}

.siteheader.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }

.siteheader__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand { display: flex; align-items: center; }

.brand__logo { height: 46px; width: auto; }

.brand__text { font-size: 17px; font-weight: 700; color: var(--lav-700); }

.globalnav { margin-left: auto; }

.globalnav ul { display: flex; gap: 4px; }

.globalnav a {
  display: block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-soft);
}

.globalnav a:hover { background: var(--lav-50); color: var(--lav-700); }

.globalnav a.is-current {
  background: linear-gradient(135deg, var(--lav-300), var(--pink-300));
  color: #fff;
  box-shadow: 0 3px 12px rgba(154, 174, 234, .45);
}

.navtoggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}

.navtoggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--lav-500);
  transition: transform .22s, opacity .22s;
}

.navtoggle span:nth-child(1) { top: 14px; }
.navtoggle span:nth-child(2) { top: 20px; }
.navtoggle span:nth-child(3) { top: 26px; }

.navtoggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.navtoggle.is-open span:nth-child(2) { opacity: 0; }
.navtoggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------------ 共通 */

.section { padding: 68px 20px; }

.section--tinted {
  background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(238, 237, 250, .55));
  border-block: 1px solid var(--line);
}

.section__inner { max-width: var(--max); margin: 0 auto; }

.section__label {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--pink-500);
  margin-bottom: 4px;
}

.section__title {
  font-size: 24px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.section__title::after {
  content: "";
  flex: 1;
  min-width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--lav-200), transparent);
}

.section__lead { color: var(--ink-soft); font-size: 14px; margin-bottom: 24px; }

.section__foot { margin-top: 18px; font-size: 12px; color: var(--ink-faint); }

.credit { font-size: 11px; color: var(--ink-faint); margin-top: 6px; text-align: center; }

/* ----------------------------------------------------------------- ボタン */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 13px 30px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .16s, box-shadow .2s, background .2s, color .2s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--lav-400), var(--pink-300));
  color: #fff;
  box-shadow: 0 6px 20px rgba(154, 174, 234, .45);
}

.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(154, 174, 234, .55); color: #fff; }

.btn--ghost { background: #fff; color: var(--lav-700); border: 1px solid var(--lav-200); box-shadow: var(--shadow-sm); }

.btn--ghost:hover { transform: translateY(-2px); border-color: var(--lav-400); color: var(--lav-700); }

.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ------------------------------------------------- トップの自己紹介ブロック */
/* アイコン → お名前 → 自己紹介 → ボタン2つ を中央に1列で積む */

.intro { padding: 54px 20px 62px; }

.intro__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro__icon { width: min(212px, 54vw); margin: 0 0 20px; }

.intro__icon img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #fff;
  background: linear-gradient(150deg, var(--lav-100), var(--pink-100));
  box-shadow: 0 12px 34px rgba(134, 146, 196, .24);
}

.intro__roman {
  font-size: 12px;
  letter-spacing: .34em;
  color: var(--lav-400);
  text-transform: lowercase;
}

.intro__name {
  font-size: clamp(30px, 6vw, 44px);
  letter-spacing: .05em;
  background: linear-gradient(100deg, var(--lav-500), var(--pink-500) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 2px 0 12px;
}

.intro__alias {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.intro__aliaslabel {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pink-500);
  border: 1px solid var(--pink-200);
  border-radius: 999px;
  padding: 2px 11px;
}

.intro__alias strong { color: var(--lav-700); font-size: 15.5px; }

.intro__bio { margin-top: 24px; }

.intro__bio p { margin-bottom: 4px; }

/* 原文の空行をそのまま段落の区切りとして見せる */
.intro__bio p:empty { height: .9em; }

.intro__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--lav-50);
  border-radius: var(--radius-sm);
  padding: 11px 18px;
}

.intro__ctahead { margin-top: 36px; }

.intro__ctatitle { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--lav-700); }

.intro__ctadesc { font-size: 12.5px; color: var(--ink-soft); }

.intro__actions {
  margin-top: 22px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ご依頼／ポートフォリオの大きなボタン */

.bigbtn {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 17px 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--lav-400), var(--pink-300));
  color: #fff;
  box-shadow: 0 8px 24px rgba(154, 174, 234, .42);
  transition: transform .18s, box-shadow .2s, border-color .2s;
}

.bigbtn:hover {
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 14px 32px rgba(154, 174, 234, .5);
}

.bigbtn--sub {
  background: var(--panel);
  color: var(--ink);
  border: 1.5px solid var(--lav-200);
  box-shadow: var(--shadow-sm);
}

.bigbtn--sub:hover { color: var(--ink); border-color: var(--lav-400); box-shadow: var(--shadow); }

.bigbtn__mark {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .26);
  font-size: 20px;
  line-height: 1;
}

.bigbtn--sub .bigbtn__mark {
  background: linear-gradient(140deg, var(--lav-100), var(--pink-100));
  color: var(--lav-700);
}

.bigbtn__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.bigbtn__label { font-size: 16.5px; font-weight: 700; }

.bigbtn__desc { font-size: 12px; opacity: .88; line-height: 1.6; }

.bigbtn--sub .bigbtn__desc { color: var(--ink-soft); opacity: 1; }

.bigbtn__go { font-size: 17px; opacity: .8; transition: transform .18s; }

.bigbtn:hover .bigbtn__go { transform: translateX(4px); }

/* -------------------------------------------------------------------- SNS */

.snslist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.snslist a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform .18s, border-color .18s;
}

.snslist a:hover { transform: translateY(-2px); border-color: var(--pink-300); }

/* リンク先のない連絡先（Discord の ID など）は文字だけ出す */
.snslist__plain {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
}

.snslist__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--lav-100), var(--pink-100));
  color: var(--lav-700);
  font-size: 16px;
  flex: none;
}

/* 公式ロゴを使う行（Mirrativ など）。文字マークと同じ大きさに揃える */
.snslist__mark img { width: 21px; height: 21px; object-fit: contain; }

/* 各サービスの公式ロゴ。色はサイトの色で染める */
.snslist__mark svg { width: 18px; height: 18px; fill: currentColor; }

.snslist__body { display: flex; flex-direction: column; min-width: 0; }

.snslist__name { font-size: 14px; font-weight: 700; }

.snslist__handle { font-size: 12px; color: var(--ink-faint); }

/* --------------------------------------------------------- 配信者プロフ */

.profile { display: grid; grid-template-columns: 230px 1fr; gap: 34px; align-items: start; }

.profile__side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 84px; }

.profile__standing img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow);
  background: #fff;
}

.profile__thumbs { display: flex; gap: 12px; }

.profile__thumbs figure { flex: 1; min-width: 0; }

.profile__icon img,
.profile__emomo img {
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.profile__emomo img { padding: 6px; }

.profile__name { font-size: 21px; margin-bottom: 12px; color: var(--lav-700); }

.profile__lead { margin-bottom: 22px; }

.profile__lead p { margin-bottom: 2px; }

.facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  margin-bottom: 22px;
  font-size: 14px;
}

.facts dt {
  color: var(--lav-700);
  font-weight: 700;
  white-space: nowrap;
  position: relative;
  padding-left: 14px;
}

.facts dt::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink-300);
}

.facts dd { margin: 0; }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.panel--caution { background: linear-gradient(180deg, #fffaf3, #fff); border-color: #f2e3cd; }

.panel__title {
  font-size: 14px;
  color: var(--lav-700);
  letter-spacing: .08em;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.panel--caution .panel__title { color: #b58a4a; border-bottom-color: #f2e3cd; }

.taglist li {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: baseline;
  padding: 5px 0;
  border-bottom: 1px dotted var(--line);
  font-size: 13.5px;
}

.taglist li:last-child { border-bottom: none; }

.taglist__tag { color: var(--pink-500); font-weight: 700; }

.taglist__desc { color: var(--ink-soft); font-size: 12.5px; }

.cautionlist li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  margin-bottom: 4px;
}

.cautionlist li::before {
  content: "･";
  position: absolute;
  left: 6px;
  color: #d3a86a;
  font-weight: 700;
}

.memories li {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 4px 12px;
  padding: 6px 0;
  border-bottom: 1px dotted var(--line);
  font-size: 13.5px;
}

.memories li:last-child { border-bottom: none; }

.memories__date { color: var(--lav-500); font-size: 12.5px; }

/* -------------------------------------------------------------- ギャラリー */

/* イラストごとに縦横比が違うので、切り抜かずに段組みで流し込む */
/* 横に 1,2,3… と並んでから次の行へ（CSS の columns は縦に埋まるので使わない）。
   高さの違いは、JS で各カードの行数（grid-row-end）を計算して吸収する */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-auto-rows: 8px;
  align-items: start;
  column-gap: 16px;
  row-gap: 0;
}

.gallery__item {
  margin: 0 0 16px;
  grid-row-end: span 30;
}

.gallery__item[hidden] { display: none; }

.gallery__btn {
  display: block;
  width: 100%;
  line-height: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--lav-50);
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.gallery__btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--lav-300); }

.gallery__btn img { width: 100%; height: auto; }

.gallery__cap {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: center;
}

.gallery__title { font-weight: 700; color: var(--ink); font-size: 13px; }

.gallery__note { color: var(--ink-faint); }

.gallery__cap--empty { color: var(--ink-faint); }

/* 絞り込み */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }

.filters__btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 13px;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}

.filters__btn:hover { border-color: var(--lav-300); color: var(--lav-700); }

.filters__btn.is-on {
  background: linear-gradient(135deg, var(--lav-300), var(--pink-300));
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}

/* 何もないとき */

.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--panel);
  border: 1px dashed var(--lav-200);
  border-radius: var(--radius);
}

.empty-state--inline { padding: 30px; border-style: dashed; }

.empty-state__mark { font-size: 34px; color: var(--pink-300); margin-bottom: 8px; }

.empty-state__text { color: var(--ink-soft); margin-bottom: 20px; }

.empty-state--inline .empty-state__text { margin-bottom: 0; }

/* 転載・AI学習についての注意書き */

.usage-notice {
  margin-top: 28px;
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--lav-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 20px;
}

/* ------------------------------------------------------------ ライトボックス */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(74, 80, 112, .78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.lightbox[hidden] { display: none; }

.lightbox__figure { max-width: min(1000px, 92vw); text-align: center; }

.lightbox__figure img {
  max-height: 78vh;
  width: auto;
  margin: 0 auto;
  border-radius: 16px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.lightbox__figure figcaption { color: #fff; font-size: 13px; margin-top: 14px; }

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover { background: #fff; }

/* ------------------------------------------------------------- ページ見出し */

.pagehead { padding: 46px 20px 8px; }

.pagehead__inner { max-width: var(--max); margin: 0 auto; }

.pagehead__title {
  font-size: clamp(24px, 4vw, 32px);
  background: linear-gradient(100deg, var(--lav-500), var(--pink-500) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 2px 0 8px;
}

.pagehead__lead { color: var(--ink-soft); font-size: 14px; }

.cta-band { text-align: center; }

.cta-band .section__title { justify-content: center; }

.cta-band .section__title::after { display: none; }

/* ==========================================================================
   お見積りページ
   ========================================================================== */

.est-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 20px 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  align-items: start;
}

.est-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }

.est-side { position: sticky; top: 84px; }

/* ステップ */

.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: opacity .2s;
}

.step.is-locked { opacity: .5; pointer-events: none; }

.step__head { padding: 18px 22px 0; display: flex; gap: 12px; align-items: flex-start; }

.step__no {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, var(--lav-400), var(--pink-300));
}

.step__titlewrap { min-width: 0; flex: 1; }

.step__title {
  font-size: 16.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.step__mode {
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-soft);
  background: var(--lav-50);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 9px;
}

.step__desc { font-size: 12.5px; color: var(--ink-soft); margin-top: 3px; }

.step__body { padding: 14px 22px 22px; }

.req {
  font-style: normal;
  font-size: 10.5px;
  color: #fff;
  background: var(--pink-500);
  border-radius: 999px;
  padding: 1px 8px;
  font-weight: 400;
}

/* 制作タイプ */

.typegrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.typecard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 16px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color .18s, background .18s, transform .18s;
}

.typecard:hover { border-color: var(--lav-300); transform: translateY(-2px); }

.typecard.is-on {
  border-color: var(--lav-400);
  background: linear-gradient(160deg, var(--lav-50), var(--pink-100));
  box-shadow: 0 4px 16px rgba(154, 174, 234, .3);
}

.typecard input { position: absolute; opacity: 0; pointer-events: none; }

.typecard__name { font-size: 15px; font-weight: 700; }

.typecard__desc { font-size: 11.5px; color: var(--ink-soft); line-height: 1.6; }

.typecard__from { font-size: 12px; color: var(--pink-500); font-weight: 700; }

/* 描画範囲・枚数 */

.pickgroup { margin-bottom: 14px; }

.pickgroup:last-child { margin-bottom: 0; }

.pickgroup__title {
  font-size: 12px;
  color: var(--lav-700);
  letter-spacing: .08em;
  margin-bottom: 7px;
}

.pickgroup__items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 8px;
}

.pick {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s, background .18s;
}

.pick input { position: absolute; opacity: 0; pointer-events: none; }

.pick:hover { border-color: var(--lav-300); }

.pick.is-on { border-color: var(--lav-400); background: var(--lav-50); }

.pick__name { font-size: 13.5px; }

.pick__price { font-size: 13.5px; font-weight: 700; color: var(--pink-500); }

.pick__price s { font-weight: 400; color: var(--ink-faint); margin-left: 6px; font-size: 11.5px; }

.pick__note { font-size: 11.5px; color: var(--ink-soft); }

/* 枚数 */

.countrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }

.countrow__label { font-size: 13px; color: var(--ink-soft); }

.stepper { display: inline-flex; align-items: center; gap: 4px; }

.stepper button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: var(--lav-700);
}

.stepper button:hover:not(:disabled) { border-color: var(--lav-400); background: var(--lav-50); }

.stepper button:disabled { opacity: .4; cursor: not-allowed; }

.stepper input {
  width: 62px;
  height: 34px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
}

.countrow__hint { font-size: 12px; color: var(--ink-faint); }

/* 小物オプション（枚ごと） */

.sheettabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }

.sheettab {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}

.sheettab:hover { border-color: var(--lav-300); color: var(--lav-700); }

.sheettab.is-on {
  background: linear-gradient(135deg, var(--lav-300), var(--pink-300));
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}

.sheettab__badge {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  background: rgba(255, 255, 255, .35);
  border-radius: 999px;
  padding: 0 6px;
}

.sheettab:not(.is-on) .sheettab__badge { background: var(--lav-100); color: var(--lav-700); }

.sheetpane[hidden] { display: none; }

.sheetpane__head {
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--lav-50);
  border-radius: 10px;
  padding: 8px 14px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.sheetpane__copy {
  border: 1px solid var(--lav-200);
  background: #fff;
  border-radius: 999px;
  padding: 2px 12px;
  font-size: 11.5px;
  color: var(--lav-700);
  cursor: pointer;
}

.sheetpane__copy:hover { border-color: var(--lav-400); }

.acccat { margin-bottom: 14px; }

.acccat__title { font-size: 12px; color: var(--ink-soft); margin-bottom: 7px; }

.acccat__items { display: flex; flex-wrap: wrap; gap: 7px; }

.chip {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 6px 15px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  transition: border-color .18s, background .18s;
}

.chip input { position: absolute; opacity: 0; pointer-events: none; }

.chip:hover { border-color: var(--lav-300); }

.chip.is-on { border-color: var(--pink-300); background: var(--pink-100); }

.chip__price { font-size: 11.5px; color: var(--pink-500); font-weight: 700; }

/* 選択項目 */

.optlist { display: flex; flex-direction: column; gap: 8px; }

.opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s, background .18s;
}

.opt input { position: absolute; opacity: 0; pointer-events: none; }

.opt:hover { border-color: var(--lav-300); }

.opt.is-on { border-color: var(--lav-400); background: var(--lav-50); }

.opt__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.opt__name { font-size: 14px; }

.opt__note { font-size: 11.5px; color: var(--ink-soft); }

.opt__price { font-size: 13px; font-weight: 700; color: var(--pink-500); white-space: nowrap; }

/* 送信フォーム */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field { display: flex; flex-direction: column; gap: 5px; }

.field--wide { grid-column: 1 / -1; }

.field__label { font-size: 12.5px; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }

.field input, .field textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 13px;
  font: inherit;
  font-size: 14px;
  background: #fdfdff;
  color: inherit;
  resize: vertical;
}

.field input:focus, .field textarea:focus { outline: 2px solid var(--lav-400); outline-offset: 1px; border-color: transparent; }

.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }

.check input { margin-top: 5px; accent-color: var(--lav-400); width: 16px; height: 16px; }

.check--agree { font-size: 13.5px; }

.submit-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.submit-row__note { font-size: 12px; color: var(--ink-soft); }

.form-error {
  background: #fdeef1;
  border: 1px solid #f3c3ce;
  color: #c2536a;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
}

.notice {
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--lav-50);
  border-radius: var(--radius);
  padding: 15px 20px;
}

.alert {
  background: #fdeef1;
  border: 1px solid #f3c3ce;
  color: #c2536a;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
}

/* 見積り結果 */

.summary {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
}

.summary__title {
  font-size: 14px;
  letter-spacing: .1em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--lav-100);
  color: var(--lav-700);
}

.summary__body { display: flex; flex-direction: column; gap: 3px; font-size: 13px; }

.sum-empty { color: var(--ink-faint); font-size: 12.5px; }

.sum-block__title {
  font-size: 11px;
  color: #fff;
  background: linear-gradient(135deg, var(--lav-400), var(--pink-300));
  border-radius: 999px;
  padding: 1px 11px;
  display: inline-block;
  margin: 8px 0 3px;
}

.sum-row { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }

.sum-row__sub { color: var(--ink-soft); padding-left: 10px; font-size: 12.5px; }

.sum-row__badge {
  font-size: 10.5px;
  color: #4f9d94;
  background: var(--mint-100);
  border-radius: 999px;
  padding: 0 7px;
  margin-left: 5px;
  white-space: nowrap;
}

.sum-row__value { white-space: nowrap; font-variant-numeric: tabular-nums; }

.sum-sep { border-top: 1px dashed var(--line); margin: 7px 0; }

.summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 2px solid var(--lav-100);
  padding-top: 12px;
}

.summary__total-label { font-size: 13px; color: var(--ink-soft); }

.summary__total-value {
  font-size: 26px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, var(--lav-500), var(--pink-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.summary__consult {
  font-size: 12px;
  color: #a8722c;
  background: #fdf5e7;
  border-radius: 10px;
  padding: 8px 12px;
}

.summary__btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--lav-700);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  cursor: pointer;
  width: 100%;
}

.summary__btn:hover { border-color: var(--lav-400); }

/* 送信完了 */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(74, 80, 112, .5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 50;
}

.modal[hidden] { display: none; }

.modal__panel {
  background: #fff;
  border-radius: 22px;
  padding: 34px 30px;
  max-width: 420px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-lg);
}

.modal__mark { font-size: 34px; color: var(--pink-300); line-height: 1; }

.modal__total { font-size: 14px; }

.modal__total strong {
  font-size: 22px;
  background: linear-gradient(100deg, var(--lav-500), var(--pink-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------------ フッター */

.sitefooter {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .6);
  padding: 34px 20px 44px;
  text-align: center;
}

.sitefooter__inner { max-width: var(--max); margin: 0 auto; }

.sitefooter__name { font-size: 15px; font-weight: 700; color: var(--lav-700); }

.sitefooter__note { font-size: 12px; color: var(--ink-faint); margin-top: 4px; }

.sitefooter__nav { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 16px; }

.sitefooter__nav a { font-size: 12.5px; color: var(--ink-soft); }

/* -------------------------------------------------------------- レスポンシブ */

@media (max-width: 900px) {
  .est-layout { grid-template-columns: 1fr; }
  .est-side { position: static; order: -1; }
  .summary { max-height: none; }
  .form-grid { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; }
  .profile__side { position: static; }
  .profile__standing { width: min(280px, 64vw); margin-inline: auto; }
  .profile__thumbs { max-width: 420px; margin-inline: auto; }
}

@media (max-width: 720px) {
  .section { padding: 46px 18px; }

  .navtoggle { display: block; }

  .globalnav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    padding: 10px 18px 18px;
  }

  .globalnav.is-open { display: block; }

  .globalnav ul { flex-direction: column; gap: 4px; }

  .globalnav a { padding: 12px 16px; border-radius: 12px; }

  .memories li { grid-template-columns: 1fr; gap: 0; }

  .gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); column-gap: 12px; }
  .gallery__item { margin-bottom: 12px; }

  .step__body { padding: 12px 16px 18px; }

  .step__head { padding: 16px 16px 0; }
}

/* ---------------------------------------------- セット（テンプレ元＋描いたもの） */

.gallery__btn { position: relative; }

.gallery__badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--lav-700);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 1px 6px rgba(80, 80, 120, .18);
  pointer-events: none;
}

.gallery__badge::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 5px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  box-shadow: 2px -2px 0 -0.5px rgba(255, 255, 255, .92), 2px -2px 0 1px currentColor;
  vertical-align: -1px;
}

.lightbox__stage { position: relative; display: inline-block; max-width: 100%; }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

.lightbox__nav--prev { left: -22px; }
.lightbox__nav--next { right: -22px; }
.lightbox__nav:hover { background: #fff; }
.lightbox__nav[hidden] { display: none; }

.lightbox__strip {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  overflow-x: auto;
  padding: 12px 4px 6px;
  margin-top: 6px;
  max-width: min(1000px, 92vw);
  scrollbar-width: thin;
}

.lightbox__strip[hidden] { display: none; }

.lightbox__strip button {
  flex: none;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, .85);
  cursor: pointer;
  opacity: .6;
  transition: opacity .15s, border-color .15s;
}

.lightbox__strip button img { width: 100%; height: 100%; object-fit: cover; }

.lightbox__strip button:hover { opacity: 1; }

.lightbox__strip button.is-current { opacity: 1; border-color: #fff; }

@media (max-width: 720px) {
  .lightbox__nav { width: 38px; height: 38px; font-size: 24px; }
  .lightbox__nav--prev { left: 4px; }
  .lightbox__nav--next { right: 4px; }
  .lightbox__strip button { width: 52px; height: 52px; }
}
