/* ムビサポStudio デザインシステム — mubisapo.com と同じブランド（白地・太い黒文字・コーラル・ピンクベージュ・黒ピルボタン）
   色は mubisapo.com の CSS 変数に合わせ、文字/ボタンに使う色だけコントラスト 4.5:1 を満たす濃い色味を別に用意している。 */
:root {
  /* brand (mubisapo.com の --c-* に準拠) */
  --ink: #111111;
  --ink-2: #444444;
  --ink-3: #666666;          /* 白地で 5.7:1 */
  --paper: #ffffff;
  --gray: #f3f3f3;
  --beige: #e9e4d8;
  --beige-soft: #f7f5f0;
  --pink: #e7c9bd;
  --pink-soft: #f7eeea;
  --menu: #f2e3dd;
  --gold: #c3b58a;
  --footer: #c5bdb1;
  --coral: #e17055;          /* 装飾・大きい文字(18.7px太字以上)・アイコン用 */
  --coral-strong: #c84b31;   /* ボタン背景/小さい文字用（白と 4.6:1） */
  --teal: #1ca0b5;
  --teal-strong: #0e7c8d;    /* 白文字バッジ用（4.9:1） */
  --danger: #b3261e;
  --ok: #1b7a4a;

  --font: "Helvetica Neue", Helvetica, Arial, "Noto Sans JP", sans-serif;
  --r-s: 4px;
  --r: 8px;
  --r-lg: 16px;
  --pill: 100vh;
  --shadow-offset: 10px 10px 0 var(--pink);   /* ブランドの「黒線＋ピンク塗り」イラストに合わせたオフセット影 */
  --container: 1080px;
  --header-h: 70px;
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--teal-strong);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.4; margin: 0; font-weight: 700; letter-spacing: .02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* フォーカスは必ず見える（キーボード操作） */
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-s); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 12px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
@media (max-width: 769px) { .section { padding: 48px 0; } }
.section--gray { background: var(--gray); }
.section__eyebrow { color: var(--coral-strong); font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.section__title { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); margin-bottom: 28px; }
.lead { font-size: 1.05rem; font-weight: 500; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid #eee; }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; min-height: 44px; }
.logo__mark { background: var(--ink); color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: .04em; padding: .1em .55em .15em; border-radius: 8px; line-height: 1.5; }
.logo__sub { font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; }
.nav { display: none; align-items: center; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; text-decoration: none; font-weight: 700; font-size: .95rem; border-radius: var(--pill); }
.nav a:hover { background: var(--gray); }
.nav .btn { margin-left: 8px; }
.nav__logout { display: inline-flex; }
.nav__logout button, .drawer form button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; font-weight: 700; }
.nav__logout button { min-height: 44px; padding: 0 14px; font-size: .95rem; border-radius: var(--pill); color: var(--ink-3); }
.nav__logout button:hover { background: var(--gray); }
.drawer form button { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 0; text-align: left; color: var(--ink-3); }
.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
.burger span { display: block; height: 3px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.drawer { display: none; position: absolute; left: 0; right: 0; top: var(--header-h); background: var(--menu); padding: 12px 20px 24px; border-bottom: 1px solid #e3d3cb; }
.drawer[data-open="true"] { display: block; }
.drawer a { display: flex; align-items: center; min-height: 48px; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(0,0,0,.08); }
@media (min-width: 860px) { .nav { display: flex; } .burger, .drawer { display: none !important; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 28px; border: 2px solid var(--ink);
  border-radius: var(--pill); background: var(--ink); color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s, border-color .2s;
}
.btn:hover { background: #333; }
.btn:active { transform: translateY(1px); }
.btn--coral { background: var(--coral-strong); border-color: var(--coral-strong); }
.btn--coral:hover { background: #a93d26; border-color: #a93d26; }
.btn--gray { background: #e8e8e6; border-color: #e8e8e6; color: var(--ink); }
.btn--gray:hover { background: #d9d9d6; border-color: #d9d9d6; }
.btn--ghost { background: #fff; color: var(--ink); }
.btn--ghost:hover { background: var(--gray); }
.btn--lg { min-height: 56px; padding: 0 36px; font-size: 1.05rem; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .92rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }

/* ---------- hero ---------- */
.hero { padding: 40px 0 72px; position: relative; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__eyebrow { font-weight: 700; margin-bottom: 8px; }
.hero__eyebrow b { color: var(--coral-strong); }
.hero__title { font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.5rem); line-height: 1.4; margin-bottom: 20px; }
.hero__title span { display: inline-block; }   /* 見出しは、まとまりごとに折り返す(「自／作」のように途中で切らない) */
.hero__title .logo__mark { font-size: .8em; vertical-align: .06em; margin-right: .1em; }
.hero__text { font-weight: 500; margin-bottom: 28px; }
.hero__text span { display: block; }
.hero__free { color: var(--coral-strong); font-weight: 800; font-size: 1.3em; padding: 0 .08em; background: linear-gradient(transparent 68%, rgba(225,112,85,.28) 68%); }
@media (min-width: 640px) { .hero__free { font-size: 1.5em; } }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__visual { position: relative; }
.frame { border: 3px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--ink); box-shadow: var(--shadow-offset); }
.frame img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.sticker { position: absolute; right: -6px; top: -14px; background: var(--coral-strong); color: #fff; font-weight: 800; font-size: .85rem; padding: 6px 14px; border-radius: var(--pill); transform: rotate(4deg); border: 2px solid var(--ink); }
@media (min-width: 860px) { .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }

/* ---------- wave ---------- */
.wave { display: block; width: 100%; height: 40px; margin-bottom: -1px; }
.wave--down { transform: scaleY(-1); margin-top: -1px; margin-bottom: 0; }

/* ---------- cards ---------- */
/* テンプレートが1枚でも中央に収まり、増えれば自動で並ぶ */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 380px)); justify-content: center; }
.card { background: #fff; border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.card__head { background: var(--pink); padding: 14px 16px; text-align: center; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; border: 1px solid var(--ink); background: #fff; padding: 2px 10px; border-radius: var(--r-s); }
.card__thumb { background: var(--ink); }
.card__thumb img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.card__body { padding: 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; text-align: center; }
.card__title { font-size: 1.25rem; }
.price { font-weight: 800; font-size: 2.4rem; line-height: 1.1; letter-spacing: 0; }
.price small { font-size: 1rem; font-weight: 700; margin-left: 2px; }
.price-note { font-size: .8rem; color: var(--ink-3); margin: 0; }
.specs { text-align: left; font-size: .92rem; border-top: 1px solid #ddd; padding-top: 12px; }
.specs li { display: flex; gap: 8px; padding: 2px 0; }
.specs li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .72em; background: var(--ink); border-radius: 50%; }
.card__foot { padding: 0 20px 20px; margin-top: auto; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 28px 20px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: #fff; border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 20px 18px; position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--coral-strong); color: #fff; border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 800; }
.step h3 { font-size: 1.05rem; margin: 8px 0 6px; }
.step p { font-size: .9rem; margin: 0; color: var(--ink-2); }

/* ---------- features (teal) ---------- */
.features { display: grid; gap: 20px; }
@media (min-width: 720px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 2px solid var(--teal-strong); }
.feature__head { background: var(--teal-strong); color: #fff; font-weight: 700; text-align: center; padding: 8px; }
.feature__body { padding: 16px 18px 20px; font-size: .92rem; }
.feature__body p { margin: 0; }

/* ---------- band (仕上げはムビサポ) ---------- */
.band { background: var(--beige-soft); border-radius: var(--r-lg); padding: 32px 24px; text-align: center; border: 2px solid var(--ink); }
.band__title { font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem); margin-bottom: 12px; }
.band__flow { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center; margin: 16px 0 24px; font-weight: 700; }
.band__flow span { background: #fff; border: 2px solid var(--ink); border-radius: var(--pill); padding: 4px 16px; }
.band__flow i { font-style: normal; color: var(--coral-strong); }
@media (max-width: 520px) { .band__flow { flex-direction: column; align-items: center; } .band__flow i { transform: rotate(90deg); } }

/* ---------- plans ---------- */
.price-lead { font-size: .88rem; font-weight: 700; margin: 0 0 4px; }
.price-lead strong { color: var(--coral-strong); }
.plans { display: grid; gap: 16px; }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: #fff; border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 20px; text-align: center; }
.plan--set { background: var(--pink-soft); }
.plan h3 { font-size: 1.05rem; margin-bottom: 10px; min-height: 3em; display: grid; place-items: center; }
.plan__desc { font-size: .88rem; margin: 10px 0 0; color: var(--ink-2); }

/* ---------- detail page ---------- */
.crumbs { font-size: .85rem; color: var(--ink-3); padding: 16px 0; }
.crumbs a { color: inherit; }
.detail { display: grid; gap: 32px; padding: 20px 0 56px; }
@media (min-width: 900px) { .detail { grid-template-columns: 1.15fr 1fr; gap: 48px; } .gallery { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; } }
.gallery__main { margin-bottom: 14px; }
.gallery__sub { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gallery__sub .frame { box-shadow: none; border-width: 2px; }
.buy { background: #fff; border: 2px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; align-self: start; }
.buy__head { background: var(--pink); padding: 20px 20px 22px; text-align: center; }
.buy__head h1 { font-size: 1.5rem; margin: 10px 0 6px; }
.buy__head p { margin: 0; font-size: .92rem; }
.buy__body { padding: 20px; }
.buy__price { text-align: center; margin-bottom: 16px; }
.dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0 16px; font-size: .92rem; }
.dl dt { font-weight: 700; padding: 10px 0; border-top: 1px solid #e3e3e3; }
.dl dd { margin: 0; padding: 10px 0; border-top: 1px solid #e3e3e3; }
.notice { font-size: .82rem; color: var(--ink-2); background: var(--beige-soft); border-radius: var(--r); padding: 12px 14px; margin: 16px 0 0; }
.fields { display: grid; gap: 10px; }
@media (min-width: 720px) { .fields { grid-template-columns: repeat(2, 1fr); } }
.field-row { background: #fff; border-radius: var(--r); padding: 12px 16px; display: flex; justify-content: space-between; gap: 12px; border: 1px solid #e6e6e6; }
.field-row span:last-child { color: var(--ink-3); font-size: .88rem; white-space: nowrap; }

/* ---------- forms / pages ---------- */
.page { padding-top: 32px; padding-bottom: 72px; min-height: 60vh; }
.page__title { font-size: 1.8rem; margin-bottom: 8px; }
.panel { background: #fff; border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 24px; }
.panel--gray { background: var(--gray); border-color: transparent; }
.form-row { display: grid; gap: 6px; margin-bottom: 16px; }
.form-row label { font-weight: 700; font-size: .92rem; }
.input, .select { width: 100%; min-height: 48px; padding: 0 14px; border: 2px solid var(--ink); border-radius: var(--r); background: #fff; }
.input:focus-visible, .select:focus-visible { box-shadow: var(--focus); }
.msg { border-radius: var(--r); padding: 12px 14px; font-size: .92rem; margin-bottom: 16px; }
.msg--error { background: #fdecea; color: var(--danger); border: 1px solid #f3b8b3; }
.msg--info { background: var(--beige-soft); border: 1px solid var(--beige); }
.badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 12px; border-radius: var(--pill); background: var(--gray); }
.badge--ok { background: #e3f4ea; color: var(--ok); }
.badge--work { background: #fdf0e7; color: #9a4a12; }
.badge--err { background: #fdecea; color: var(--danger); }
.progress { height: 10px; background: #e9e9e9; border-radius: var(--pill); overflow: hidden; }
.progress--lg { height: 22px; border: 2px solid var(--ink); background: #fff; }
.progress--lg > i { background: repeating-linear-gradient(135deg, var(--coral-strong) 0 14px, #c9553a 14px 28px); background-size: 40px 40px; animation: progress-move 1s linear infinite; }
@keyframes progress-move { to { background-position: 40px 0; } }
@media (prefers-reduced-motion: reduce) { .progress--lg > i { animation: none; } }
.progress-box { margin-top: 12px; width: min(420px, 100%); }
.progress-box__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: 1.05rem; }
.progress-box__meta span { color: var(--muted, #555); }
.progress > i { display: block; height: 100%; background: var(--coral-strong); transition: width .4s; }
.list { display: grid; gap: 14px; }
.order { background: #fff; border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 18px 20px; }
.order__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; justify-content: space-between; }
.muted { color: var(--ink-3); font-size: .88rem; }

/* ---------- footer ---------- */
.l-footer { background: var(--footer); margin-top: 0; padding: 0; }
.l-footer__inner { margin-inline: auto; padding: 30px 20px 10px; width: 100%; max-width: 1024px; }
.l-footer__logo { text-align: center; }
.l-footer__logo a { display: inline-block; margin-inline: auto; }
.l-footer__logo img { display: block; margin-inline: auto; width: 200px; height: auto; }
.l-footer__nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 20px auto 0; }
.l-footer__nav p { margin: 0 0 10px; font-size: 17px; font-weight: 600; }
.l-footer__nav ul { display: flex; flex-direction: column; gap: 5px 40px; margin-top: 5px; }
.l-footer__nav a, .l-footer__nav a:hover { position: relative; display: inline-block; color: var(--c-black); text-decoration: none; line-height: 1.4; }
.l-footer__nav a::after { content: ""; position: absolute; bottom: -1px; left: 0; width: 100%; height: 1px; background: var(--c-black); transform: scale(0, 1); transform-origin: left top; transition: transform 0.4s; }
.l-footer__nav p a::after { height: 2px; }
.l-footer__nav a:hover::after { transform: scale(1, 1); }
.l-footer__fw { margin: 50px auto 0; display: flex; gap: 50px; width: fit-content; text-align: center; }
.l-footer__fw a { display: inline-block; margin-inline: auto; color: var(--c-black); font-size: 12px; line-height: 1.4; }
.l-footer__fw a:hover { opacity: 0.8; color: var(--c-black); text-decoration: none; }
.l-footer__fw img { display: block; margin-top: 5px; margin-inline: auto; object-fit: contain; width: 180px; height: 40px; }
.l-footer__copyright { margin-top: 20px; font-size: 14px; text-align: center; }
@media screen and (max-width: 48.0625em) {
  .l-footer__nav { gap: 20px; margin-top: 25px; width: 100%; max-width: none; text-align: left; }
  .l-footer__nav p { font-size: 16px; }
  .l-footer__nav ul { justify-content: flex-start; flex-direction: column; padding-left: 5px; font-size: 15px; }
  .l-footer__nav li a { padding: 4px 0; }   /* 指で押しやすい高さ */
  .l-footer__fw { margin-top: 30px; flex-direction: column; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- editor ---------- */
.editor { padding-bottom: 72px; }
.editor__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.editor__status { font-size: .85rem; min-height: 1.4em; }
.editor__grid { display: grid; gap: 20px; align-items: start; grid-template-columns: minmax(0, 1fr); }
.editor__preview, .editor__panels { min-width: 0; }
@media (min-width: 960px) { .editor__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; } .editor__preview { position: sticky; top: calc(var(--header-h) + 16px); } }
/* スマホ: プレビューを上に固定して、下の入力を見ながら確認できる */
@media (max-width: 959px) { .editor__preview { position: sticky; top: var(--header-h); z-index: 20; background: #fff; padding: 8px 0 10px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; box-shadow: 0 6px 10px -8px rgba(0,0,0,.35); } }
.preview { position: relative; background: #000; border-radius: 0; overflow: hidden; border: 2px solid var(--ink); max-width: 100%; }
/* スマホ: 高さを画面の34%までに抑え、比率に合わせて幅を決める（canvasの実寸1920pxで横にはみ出さない） */
@media (max-width: 959px) { .preview { width: min(100%, calc(34vh * 16 / 9)); margin: 0 auto; } .preview--43 { width: min(100%, calc(34vh * 4 / 3)); } }
.preview__canvas { display: block; width: 100%; height: auto; }
.preview--43 { max-width: 100%; }
.preview__loading { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.72); color: #fff; font-weight: 700; }
.transport { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.transport input[type="range"] { flex: 1; min-width: 0; accent-color: var(--coral-strong); height: 44px; }
.transport__time { font-variant-numeric: tabular-nums; font-size: .85rem; min-width: 5.6em; text-align: right; }
.aspect { display: flex; gap: 8px; margin-top: 8px; }
.panel-sec { background: #fff; border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 20px; margin-bottom: 20px; }
.panel-sec h2 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.panel-sec .num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--coral-strong); color: #fff; font-size: .95rem; }
.panel-sec .count { margin-left: auto; font-size: .85rem; font-weight: 700; color: var(--ink-3); }
.panel-sec--buy { background: var(--beige-soft); }
.dur { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dur__in { width: 76px; text-align: center; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.bulk { margin: 6px 0 14px; cursor: pointer; }
.slots { display: grid; gap: 12px; }
.slot { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 10px; border: 2px dashed #bbb; border-radius: var(--r); background: #fff; }
.slot--filled { border-style: solid; border-color: #ddd; }
.slot--sortable { grid-template-columns: 28px 88px 1fr; gap: 8px 10px; position: relative; }
.slot--dragging { z-index: 5; box-shadow: 0 8px 24px rgba(0,0,0,.18); opacity: .95; }
.slot__handle { align-self: stretch; width: 28px; display: grid; place-items: center; border: 0; border-radius: 6px; background: #DDD; color: var(--ink); font-weight: 700; font-size: 1.2rem; line-height: 1; cursor: grab; touch-action: none; padding: 0; }
.slot__handle:hover { background: #D8D8D8; }
.slot__handle:active { cursor: grabbing; }
.slot__handle:focus-visible { outline: none; box-shadow: var(--focus); }
.slot__move { display: inline-flex; gap: 6px; margin-left: auto; }
.slot:focus-visible { outline: none; box-shadow: var(--focus); }
.slot__thumb { width: 88px; height: 88px; border-radius: 6px; background: var(--gray); display: grid; place-items: center; overflow: hidden; font-size: 1.6rem; color: var(--ink-3); }
.slot__thumb--pick { cursor: pointer; }
.slot:not(.slot--filled) .slot__thumb--pick { border: 2px dashed var(--ink-3); }
.slot__thumb--pick:hover { filter: brightness(.96); }
.slot__thumb { position: relative; flex: none; }
.slot__thumb img, .slot__thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slot__head { min-width: 0; }
.slot__title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.slot__pick { margin-left: auto; }
.slot__body { grid-column: 1 / -1; min-width: 0; }
.slot__name { margin: 2px 0 6px; overflow-wrap: anywhere; }
.slot__warn { font-size: .85rem; background: #fff6e0; border: 1px solid #f0d99a; color: #6b4a00; border-radius: 6px; padding: 8px 10px; margin: 0 0 8px; }
.slot__warn--strong { background: #fdecea; border-color: #f3b8b3; color: var(--danger); }
.slot__err { font-size: .85rem; color: var(--danger); margin: 0 0 8px; }
.slot__actions { display: flex; flex-wrap: wrap; gap: 6px; }
.badge--soft { background: #eee; color: var(--ink-2); font-weight: 500; }
.badge--sample { background: #fff6e0; color: #6b4a00; margin-left: 6px; }
.texts { display: grid; gap: 4px; }
textarea.input { padding: 10px 14px; line-height: 1.5; resize: vertical; }
.hint { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .82rem; min-height: 1.3em; }
.hint__err { color: var(--danger); font-weight: 700; }
.hint__warn { color: #6b4a00; }
.issues { margin: 6px 0 0; padding-left: 1.2em; list-style: disc; }
.issues li { margin: 2px 0; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; min-height: 32px; }
.msg--ok { background: #e3f4ea; color: var(--ok); border: 1px solid #b6e0c7; }
.overlay { position: fixed; inset: 0; background: rgba(255,255,255,.88); display: grid; place-items: center; z-index: 200; }
.overlay__box { background: #fff; border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 28px 32px; text-align: center; max-width: 90vw; }
.spinner { width: 36px; height: 36px; border: 4px solid #ddd; border-top-color: var(--coral-strong); border-radius: 50%; margin: 0 auto 12px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- crop dialog ---------- */
dialog.crop { width: min(720px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 18px; border: 2px solid var(--ink); border-radius: var(--r-lg); overflow: auto; }
dialog.crop::backdrop { background: rgba(0,0,0,.55); }
.crop__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.crop__head h2 { font-size: 1.1rem; }
.crop__hint { margin: 0 0 10px; font-size: .85rem; }
.crop__canvas { display: block; width: 100%; height: auto; border-radius: 8px; touch-action: none; cursor: grab; background: #2b2b2b; }
.crop__canvas:active { cursor: grabbing; }
.crop__controls { display: grid; gap: 12px; margin-top: 12px; }
.crop__zoom, .crop__trim label { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.crop__zoom input[type="range"], .crop__trim input[type="range"] { flex: 1; min-width: 120px; accent-color: var(--coral-strong); height: 44px; }
.crop__zoom span, .crop__trim span { font-weight: 700; font-size: .9rem; }
.crop__zoom output, .crop__trim output { font-variant-numeric: tabular-nums; font-size: .88rem; min-width: 4.5em; }
.crop__trim { display: grid; gap: 8px; }

/* ---------- checkout / order ---------- */
.checkout { display: grid; gap: 28px; margin-top: 20px; }
@media (min-width: 900px) { .checkout { grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; } }
.checkout__summary .frame { border-width: 2px; }
.plans-pick { border: 0; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.plans-pick legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.plan-opt { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; background: #fff; border: 2px solid #ccc; border-radius: var(--r-lg); padding: 16px; cursor: pointer; }
.plan-opt:hover { border-color: var(--ink); }
.plan-opt--on { border-color: var(--ink); background: var(--pink-soft); box-shadow: 0 0 0 2px var(--ink) inset; }
.plan-opt:has(input:focus-visible) { box-shadow: var(--focus); }
.plan-opt input { width: 22px; height: 22px; accent-color: var(--coral-strong); }
.plan-opt__body { display: grid; gap: 2px; }
.plan-opt__title { font-weight: 700; }
.plan-opt__desc { font-size: .88rem; color: var(--ink-2); white-space: pre-line; }
.plan-opt__note { font-size: .8rem; color: var(--coral-strong); font-weight: 700; }
.plan-opt__price { font-weight: 800; font-size: 1.5rem; white-space: nowrap; }
.plan-opt__price small { font-size: .85rem; margin-left: 2px; }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--ink); border-bottom: 1px solid #ddd; padding: 14px 0; margin-bottom: 10px; }
.total strong { font-size: 2rem; }
.total small { font-size: 1rem; margin-left: 2px; }
.opt-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .opt-grid { grid-template-columns: 1fr 1fr; } }
.opt { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; background: #fff; border: 2px solid #ccc; border-radius: var(--r); padding: 12px 14px; cursor: pointer; }
.opt--on { border-color: var(--ink); background: var(--pink-soft); }
.opt:has(input:focus-visible) { box-shadow: var(--focus); }
.opt input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--coral-strong); }
.opt b { display: block; }
.opt span { font-size: .85rem; color: var(--ink-2); }
fieldset.group { border: 0; padding: 0; margin: 0 0 16px; }
fieldset.group legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.job { border-top: 1px solid #e3e3e3; padding: 12px 0; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; }

/* ---------- admin ---------- */
.admin { max-width: 1200px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 24px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.admin-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--pill); background: var(--gray); text-decoration: none; font-weight: 700; font-size: .92rem; }
.admin-nav a:hover { background: var(--pink); }
.admin-h { font-size: 1.2rem; margin: 30px 0 10px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.stat { background: #fff; border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 14px 16px; display: grid; gap: 2px; }
.stat span { font-size: .85rem; color: var(--ink-2); font-weight: 700; }
.stat strong { font-size: 1.6rem; line-height: 1.2; }
.stat small { color: var(--ink-3); }
.stat--warn { background: #fff6e0; } .stat--bad { background: #fdecea; }
.pill { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; margin: 0 6px 6px 0; border-radius: var(--pill); border: 2px solid var(--ink); background: #fff; font-size: .85rem; font-weight: 700; text-decoration: none; }
.pill--on { background: var(--ink); color: #fff; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; background: #fff; }
.table th { text-align: left; background: var(--gray); font-weight: 700; padding: 10px 12px; white-space: nowrap; }
.table td { padding: 10px 12px; border-top: 1px solid #e6e6e6; vertical-align: top; }
.table td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table td.err { color: var(--danger); max-width: 360px; overflow-wrap: anywhere; }
.act { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.code { background: #111; color: #eee; padding: 14px; border-radius: var(--r); overflow-x: auto; font-size: .8rem; }
.setrow { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid #eee; }
.setrow label { flex: 1 1 260px; font-weight: 700; }
.planrow { background: #fff; border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 16px; display: grid; gap: 10px; }
.planrow label { display: grid; gap: 4px; font-weight: 700; font-size: .9rem; }
.planrow__head { display: flex; gap: 10px; align-items: center; }

/* 写真カードの中の「ひとこと」入力欄 */
.slot__caption { margin: 0 0 10px; padding-top: 8px; border-top: 1px dashed #ddd; }
.slot__caption .form-row { margin-bottom: 0; }
.slot__caption label { font-size: .85rem; }

/* 調整モーダル: 「完了」は下に大きく。スクロールしても常に押せるよう、下に固定する */
.crop__done { position: sticky; bottom: -18px; margin: 14px -18px -18px; padding: 12px 18px 18px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 28%); }

/* 動画の「使う部分」: 開始と終了の2つのスライダー + 選んだ範囲の帯 */
.crop__sub { font-size: .95rem; margin: 0; }
.trimbar { position: relative; height: 12px; background: #e3e3e3; border-radius: var(--pill); overflow: hidden; }
.trimbar i { position: absolute; top: 0; bottom: 0; background: var(--coral-strong); border-radius: var(--pill); }
.trimbar--drag { cursor: grab; height: 28px; touch-action: none; }
.trimbar--drag:focus-visible { outline: 3px solid var(--coral-strong); outline-offset: 2px; }
.trimbar--drag i { box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.trimsum { margin: 0; font-weight: 700; font-size: .9rem; font-variant-numeric: tabular-nums; }

/* よくある質問 */
.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq__item { background: #fff; border: 1px solid #ddd; border-radius: 12px; padding: 0 18px; }
.faq__item summary { cursor: pointer; font-weight: 700; padding: 16px 0; min-height: 44px; list-style: none; display: flex; align-items: center; gap: 12px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: ''; flex: none; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; margin: 0 4px 0 2px; }
.faq__item[open] summary::before { transform: rotate(45deg); }
.faq__item summary:focus-visible { outline: 3px solid var(--coral-strong); outline-offset: 2px; border-radius: 6px; }
.faq__item p { margin: 0 0 16px; line-height: 1.8; white-space: pre-line; }


/* 法務ページ */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 1.15rem; margin: 32px 0 10px; padding-left: 10px; border-left: 4px solid var(--coral-strong); }
.legal p, .legal li { line-height: 1.9; }
.legal ul, .legal ol { padding-left: 1.4em; margin: 8px 0; }
.legal a { color: var(--coral-strong); text-decoration: underline; }
.legal__dl { border-top: 1px solid #ddd; }
.legal__row { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid #ddd; }
.legal__row dt { font-weight: 700; }
.legal__row dd { margin: 0; line-height: 1.9; }
@media (min-width: 720px) { .legal__row { grid-template-columns: 220px 1fr; gap: 24px; } }

/* ISUM申請: 1曲ごとの入力 */
.song-box { border: 1px solid #ddd; border-radius: 10px; padding: 12px 14px 4px; margin: 12px 0; }
.song-box legend { font-weight: 700; padding: 0 6px; }
.song-box__no { display: flex; gap: 8px; flex-wrap: wrap; }
.song-box__no .input { flex: 1 1 200px; min-width: 0; }
.song-box__no .btn { white-space: nowrap; }

/* 写真枠のグループ(新郎・新婦・ふたり)ごとの見出しと、まとめて選ぶ */
.slot-group { margin-top: 18px; }
.slot-group__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; padding-bottom: 6px; border-bottom: 2px solid var(--ink); }
.slot-group__head h3 { font-size: 1.05rem; margin: 0; }
.slot-group__head .count { margin-left: 6px; font-size: .85rem; font-weight: 700; color: var(--ink-3); }

/* サムネイルのリンク(トップのカード・大きい画像): クリックできることが分かるよう、わずかに拡大。キーボードでも枠が出る */
.thumb-link { display: block; overflow: hidden; }
.thumb-link img { display: block; transition: transform .3s ease; }
.thumb-link:hover img, .thumb-link:focus-visible img { transform: scale(1.03); }
.thumb-link:focus-visible { outline: 3px solid var(--coral-strong, #c44b2f); outline-offset: -3px; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover, .card__title a:focus-visible { text-decoration: underline; }

/* 購入前の説明(書き出し回数・追加料金・保存期間・作りかけの保存) */
.policy { margin: 12px 0; }
.policy p { margin: 0 0 6px; }
.policy__list { margin: 6px 0 0; padding-left: 1.3em; list-style: disc; font-size: .88rem; color: var(--muted, #555); }
.policy__list li { margin: 5px 0; line-height: 1.6; }
.policy__list strong { color: var(--ink); }

/* ---------- 注文ページ: ご注文後の流れ・確定 ---------- */
.flow__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: 1fr; }
.flow__steps li { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--r); background: var(--gray); color: var(--ink-3); border: 2px solid transparent; }
.flow__steps li b { color: inherit; }
.flow__steps li span { font-size: .85rem; }
.flow__steps li.is-now { background: #fff; border-color: var(--coral-strong); color: var(--ink); }
.flow__steps li.is-done { background: #e3f4ea; color: var(--ok); }
@media (min-width: 720px) { .flow__steps { grid-template-columns: repeat(3, 1fr); } }
.flow__rules { margin-top: 12px; }
.flow__rules summary { cursor: pointer; font-weight: 700; padding: 6px 0; }
.rules { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: .92rem; }
.rules th, .rules td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid rgba(0,0,0,.1); }
.rules th { width: 42%; font-weight: 700; }
@media (max-width: 640px) { .rules th, .rules td { display: block; width: auto; padding: 4px 0; border-top: 0; } .rules tr { display: block; padding: 8px 0; border-top: 1px solid rgba(0,0,0,.1); } }
.confirm-box { border: 2px solid var(--coral-strong); border-radius: var(--r-lg); padding: 16px; background: #fff; }

/* 自作ガイド(/lp/jisaku) */
.lp { max-width: 880px; }
.lp__title { font-size: clamp(1.5rem, 1.1rem + 2vw, 2.2rem); line-height: 1.4; margin: 4px 0 16px; }
.lp__lead { font-size: 1.05rem; line-height: 1.8; }
.lp__who { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.lp__who > div { background: var(--beige-soft); border-radius: var(--r); padding: 16px 18px; }
.lp__who h2 { font-size: 1rem; margin: 0 0 8px; }
.lp__who ul { margin: 0; padding-left: 1.2em; }
.lp p { line-height: 1.85; }
.cmp caption { text-align: left; font-size: .8rem; color: var(--ink-3); padding-bottom: 8px; caption-side: top; }
.cmp th[scope="row"] { white-space: nowrap; background: var(--gray); }
.cmp td { min-width: 220px; line-height: 1.7; }
@media (max-width: 640px) { .lp__who { grid-template-columns: 1fr; } }

/* スマホの見やすさ(トップなど共通)
   ・日本語は文節で折り返し、見出しは行の長さをそろえる(「おまか／せ。」のような切れ方を避ける)
   ・テンプレートのカードは、スマホでは小さくまとめる(4枚が縦に並んでも、長くなりすぎない)
   ・フッターのリンクは、指で押しやすい高さにする */
.nb { white-space: nowrap; }
@media (max-width: 640px) {
  .cards { gap: 16px; }
  .card__head { padding: 8px 12px; }
  .card__body { padding: 14px 16px 6px; gap: 8px; }
  .card__title { font-size: 1.1rem; }
  .card .price-lead { font-size: .8rem; margin: 0; }
  .card .price { font-size: 1.7rem; display: inline-block; }
  .card .price-note { display: inline; margin-left: 4px; }
  .card .specs { font-size: .85rem; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 0 14px; }
  .card .specs li::before { margin-top: .62em; }
  .card__foot { padding: 4px 16px 16px; }
}

/* 比較表: スマホでは、項目ごとのカードにして、横にはみ出さないようにする */
@media (max-width: 640px) {
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cmp caption { display: block; }
  .cmp tr { background: #fff; border: 2px solid var(--ink); border-radius: var(--r); margin-bottom: 14px; overflow: hidden; }
  .cmp th[scope="row"] { white-space: normal; padding: 10px 14px; background: var(--beige); border-top: 0; }
  .cmp td { min-width: 0; padding: 10px 14px; border-top: 1px solid #e6e6e6; }
  .cmp td::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 700; color: var(--ink-3); margin-bottom: 2px; }
  .cmp td[data-label="ムビサポStudio"] { background: var(--beige-soft); }
  .lp__title { font-size: 1.4rem; }
}

/* 解説記事(/guide) */
.toc { background: var(--beige-soft); border-radius: var(--r); padding: 14px 18px; margin: 20px 0 8px; font-size: .92rem; }
.toc ol { margin: 8px 0 0; padding-left: 1.3em; }
.toc a { color: inherit; }
.art__h2 { font-size: 1.35rem; margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); scroll-margin-top: calc(var(--header-h) + 8px); }
.art__h3 { font-size: 1.08rem; margin: 22px 0 6px; }
.art__list { margin: 8px 0 14px; padding-left: 1.3em; line-height: 1.85; }
.art__list--num { list-style: decimal; }
.art__list:not(.art__list--num):not(.art__list--cards) { list-style: disc; }
.art__list--cards { list-style: none; padding: 0; display: grid; gap: 12px; }
.art__list--cards a { display: block; background: #fff; border: 2px solid var(--ink); border-radius: var(--r); padding: 14px 16px; text-decoration: none; color: inherit; }
.art__list--cards strong { display: block; margin-bottom: 4px; }
.art__list--cards span { font-size: .88rem; color: var(--ink-2); line-height: 1.7; }
.art__list a, .lp p a, .notice a { color: var(--teal-strong); }
.cmp--plain th[scope="row"] { background: var(--gray); }

.art__shot { margin: 16px 0 24px; }
.art__shot img { display: block; max-width: 100%; height: auto; border: 1px solid #e3e3e3; border-radius: 10px; background: #fff; }
@media (min-width: 641px) { .art__shot img { max-width: min(100%, 560px); } }

.slot-group__texts{margin:0 0 14px}
.slot-group--acc > summary.slot-group__head{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between}
.slot-group--acc > summary.slot-group__head::-webkit-details-marker{display:none}
.slot-group--acc > summary.slot-group__head::after{content:"編集";font-size:16px;font-weight:400;color:var(--coral-strong)}
.slot-group--acc[open] > summary.slot-group__head::after{content:"閉じる"}
.slot-group__bulk{margin:8px 0}
.sub-h{font-size:1rem;margin:16px 0 6px}
.panel-sec h2 + .sub-h{margin-top:8px}
/* プレビューの拡大表示。ボタンで開くほか、スマホを横向きにしたときは、自動で画面いっぱいにする(縦向きは、上に固定の今のまま) */
.editor__preview--zoom { position: fixed !important; inset: 0; z-index: 150; margin: 0 !important; padding: 12px !important; background: #000 !important; box-shadow: none !important; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.editor__preview--zoom .preview { width: min(100%, calc((100dvh - 84px) * 16 / 9)) !important; border-color: #333; }
.editor__preview--zoom .preview.preview--43 { width: min(100%, calc((100dvh - 84px) * 4 / 3)) !important; }
.editor__preview--zoom .transport { width: min(100%, 960px); color: #fff; }
.editor__preview--zoom .btn--ghost { color: #fff; border-color: #fff; }
@media (orientation: landscape) and (max-height: 500px) {
  .editor__preview:not(.editor__preview--nofs) { position: fixed !important; inset: 0; z-index: 150; margin: 0 !important; padding: 8px 12px !important; background: #000 !important; box-shadow: none !important; display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .editor__preview:not(.editor__preview--nofs) .preview { width: min(100%, calc((100dvh - 70px) * 16 / 9)) !important; border-color: #333; }
  .editor__preview:not(.editor__preview--nofs) .preview.preview--43 { width: min(100%, calc((100dvh - 70px) * 4 / 3)) !important; }
  .editor__preview:not(.editor__preview--nofs) .transport { width: min(100%, 960px); color: #fff; margin-top: 4px; }
  .editor__preview:not(.editor__preview--nofs) .btn--ghost { color: #fff; border-color: #fff; }
}
.editor__preview--zoom .btn { background: #fff; color: #111; border-color: #fff; }
.editor__preview--zoom .btn--ghost { background: transparent; color: #fff; border-color: #fff; }
@media (orientation: landscape) and (max-height: 500px) {
  .editor__preview:not(.editor__preview--nofs) .btn { background: #fff; color: #111; border-color: #fff; }
  .editor__preview:not(.editor__preview--nofs) .btn--ghost { background: transparent; color: #fff; border-color: #fff; }
}
/* ダウンロード・保存(確認して進むの下に、横幅いっぱいで出す) */
.dlp { margin: 28px 0 40px; padding: 28px 24px; border: 2px solid var(--coral-strong); border-radius: 18px; background: #f6f4ef; }
.dlp__title { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 1.4rem; margin: 0 0 16px; }
.dlp__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--coral-strong); color: #fff; }
.dlp__login { text-align: center; margin-bottom: 20px; }
.dlp__login p { margin: 0 0 6px; }
.dlp__note { color: var(--coral-strong); font-weight: 700; font-size: .9rem; margin-bottom: 14px !important; }
.dlp__cards { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .dlp__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dlp__card { display: flex; flex-direction: column; padding: 22px 20px; border: 1px solid #ccc; border-radius: 14px; background: #f6f4ef; }
.dlp__card h3 { text-align: center; font-size: 1.25rem; margin: 0 0 12px; }
.dlp__price { align-self: center; margin: 0 0 14px; padding: 4px 18px; border: 1px solid var(--coral-strong); border-radius: 999px; background: #fff; color: var(--coral-strong); }
.dlp__price strong { font-size: 1.2rem; }
.dlp__price small { font-size: .7rem; }
.dlp__list { margin: 0 0 18px; padding: 0; list-style: none; font-size: .95rem; line-height: 1.7; }
.dlp__list li { padding-left: 1em; text-indent: -1em; }
.dlp__list li::before { content: "・"; }
.dlp__btn { margin-top: auto; align-self: center; min-width: 70%; }
.panel-sec--buy .msg, .panel-sec--buy .issues { text-align: left; }
.linklike { text-align: left; }
.issues .linklike { display: inline; min-height: 0; }
/* 購入ページ・注文ページのプレビューの拡大表示(編集画面と同じ見た目) */
.opv--zoom { position: fixed; inset: 0; z-index: 150; padding: 12px; background: #000; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.opv--zoom .preview { width: min(100%, calc((100dvh - 84px) * 16 / 9)) !important; max-width: none !important; border-color: #333; }
.opv--zoom .preview.preview--43 { width: min(100%, calc((100dvh - 84px) * 4 / 3)) !important; }
.opv--zoom .transport { width: min(100%, 960px); max-width: none !important; color: #fff; }
.opv--zoom .btn { background: #fff; color: #111; border-color: #fff; }
.opv--zoom .btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.dlp__plans { margin: 0 0 16px; border: 1px solid var(--coral-strong); border-radius: 14px; background: #fff; }
.dlp__plan { padding: 10px 16px; }
.dlp__plan + .dlp__plan { border-top: 1px solid var(--coral-strong); }
.dlp__plan-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dlp__yen { color: var(--ink); font-size: .78rem; white-space: nowrap; }
.dlp__yen strong { color: var(--coral-strong); font-size: 1.35rem; }
.dlp__yen small { font-size: .72rem; }
.dlp__plan-note { margin: 2px 0 0; font-size: .75rem; color: var(--ink-2); }
/* 確認リスト: 中黒を、折り返した行の下ではなく、1行目の位置にそろえる */
.issues { list-style: none; padding-left: 0; }
.issues li { position: relative; padding-left: 1.1em; }
.issues li::before { content: "・"; position: absolute; left: 0; top: 2px; line-height: inherit; }
.issues .linklike { display: block; min-height: 0; padding: 2px 0; line-height: 1.5; }
/* 料金の枠: 金額の左端をそろえる */
.dlp__yen { flex: 0 0 14.5em; text-align: left; }
.dlp__plan-row > span:first-child { flex: 0 0 12.5em; font-size: .92rem; }
.admin-tabs { display: flex; gap: 6px; margin: 0 0 16px; border-bottom: 2px solid var(--ink); }
.admin-tabs a { padding: 8px 16px; text-decoration: none; color: var(--ink-2); border: 2px solid transparent; border-bottom: 0; border-radius: 8px 8px 0 0; font-weight: 700; }
.admin-tabs a[aria-current="page"] { background: var(--ink); color: #fff; }
/* カウントダウン映像の設定画面 */
.cd-bg__grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 8px 0; }
@media (min-width: 520px) { .cd-bg__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cd-tile { display: flex; flex-direction: column; gap: 6px; padding: 6px; border: 2px solid #ddd; border-radius: 10px; background: #fff; cursor: pointer; font: inherit; font-size: .8rem; text-align: center; color: inherit; }
.cd-tile canvas { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 6px; display: block; background: #000; }
.cd-tile.is-on, .cd-opt.is-on, .cd-font.is-on { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.cd-tile--plain { justify-content: center; min-height: 100%; }
.cd-tile__chip { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 6px; border: 1px solid #ccc; font-size: 1.6rem; background: #eee; }
.cd-row { margin: 16px 0; display: flex; flex-direction: column; gap: 6px; }
.cd-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cd-opt { padding: 8px 14px; border: 2px solid #ddd; border-radius: 999px; background: #fff; cursor: pointer; font: inherit; min-height: 40px; color: inherit; }
.cd-num { max-width: 12em; }
.cd-flow { margin: 6px 0 0; padding: 8px 12px; border-radius: 8px; background: var(--beige-soft); font-size: .92rem; }
.cd-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.cd-swatch { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #ccc; cursor: pointer; padding: 0; }
.cd-swatch.is-on { border-color: var(--ink); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.cd-color { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cd-color__pick { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; }
.cd-color__pick input { width: 44px; height: 36px; padding: 0; border: 1px solid #ccc; border-radius: 6px; background: #fff; }
.cd-fonts { margin-top: 18px; border: 1px solid #ddd; border-radius: 10px; padding: 10px 12px; background: #fff; }
.cd-fonts summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.cd-fonts__sum { justify-content: space-between; gap: 12px; }
.cd-fonts__sum .btn { flex: none; pointer-events: none; }
.cd-fonts__grid { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 10px; }
.cd-font { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 6px; border: 2px solid #ddd; border-radius: 10px; background: #fff; cursor: pointer; font: inherit; color: inherit; }
.cd-font__s { font-size: 1.9rem; line-height: 1.2; }
.cd-font__n { font-size: .72rem; color: var(--ink-3); }
.cd-size { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cd-size input[type=range] { flex: 1 1 220px; min-width: 160px; max-width: 420px; min-height: 32px; accent-color: var(--gold, #b8963e); }
.cd-size__v { font-variant-numeric: tabular-nums; }

/* ===== 新デザイン: トップ・商品詳細(デザイナーの style.css を取り込み。2026-11-07) ===== */
:root {
  --c-black: #000;
  --c-pink01: #E7C9BD;
  --c-pink01_h: #F7EEEA;
  --c-pink02: #E17055;
  --c-red: #E84118;
  --c-blue: #1CA0B5;
  --c-gold: #C3B58A;
  --c-gold_h: #EAE5D6;
  --c-gray: #F3F3F3;
  --c-beige: #E9E4D8;
  --c-beige_h: #F7F5F0;
  --c-purple: #727CE6;
  --c-purple_h: #7F88EA;
  --c-purple_bg: #F0F1FC;
  --c-purple02: #A9B0ED;
  --c-menu_bg: #F2E3DD;
  --c-footer_bg: #C5BDB1;
}

/*-- Display none --*/
@media screen and (min-width: 769px){
  .--nopc {
    display: none !important;
  }
}
@media screen and (max-width: 769px){
  .--nosp {
    display: none !important;
  }
}

/*  ----------------------------------------------------------------- */
@font-face {
  font-family: "Helvetica Numbers";
  src: local("Helvetica Neue"), local("Helvetica");
  unicode-range: U+0030-0039;
}
body {
  font-family: "Helvetica Numbers", Arial, "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-wrap: anywhere;
  line-break: strict;
}

/* header */
.header__inner .logo {
  display: flex;
  align-items: center;
  width: 200px;
}
.header__inner .logo img {
  display: block;
  object-fit: contain;
  width: 100%;
  height: 100%;
}


/* title */
.c-section__title {
  margin-bottom: 20px;
}
.c-section__title-main {
  display: block;
  margin: 0;
  font-size: 35px;
  font-weight: 600;
  line-height: 1.2;
}
.c-section__title-shoulder {
  display: block;
  margin: 0;
  padding-bottom: 5px;
  color: var(--c-pink02);
  font-size: 20px;
  font-weight: 600;
}
.c-section__title-text {
  margin: 10px 0 0;
  font-size: 18px;
  line-height: 1.4;
}
@media screen and (max-width: 769px){
  .c-section__title {
    margin-bottom: 15px;
  }
  .c-section__title-main {
    font-size: 28px;
  }
  .c-section__title-shoulder {
    padding-bottom: 5px;
    font-size: 18px;
  }
  .c-section__title-text {
    margin: 5px 0 0;
    font-size: 16px;
  }
}

/* button */
.c-button__wrap {
  text-align: center;
}
.c-button {
  display: inline-block;
  margin-inline: auto;
  padding: 12px;
  width: 100%;
  max-width: 300px;
  border-radius: 100vh;
  background-color: var(--c-black);
  color: #FFF;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
  cursor: pointer;
  text-decoration: none;
}
.c-button:hover {
  background-color: var(--c-gold);
  color: #FFF;
  text-decoration: none;
  color: black;
}
.c-button:disabled {
  background-color: #888 !important;
  color: #FFF !important;
  cursor: default !important;
}
.c-button.--white {
  padding: 8px;
  max-width: 250px;
  border: 2px solid var(--c-gold);
  background-color: #FFF;
  color: black;
}
.c-button.--white:hover {
  background-color: var(--c-gold_h);
  text-decoration: none;
}
.c-button.--pink {
  background-color: var(--c-pink02);
}
.c-button.--pink:hover {
  background-color: #F08D74;
  color: #FFF;
}
.c-button.--purple {
  background-color: var(--c-purple);
}
.c-button.--purple:hover {
  background-color: var(--c-purple_h);
  color: #FFF;
}

/* hero */
.hero__grid {
  grid-template-columns: minmax(450px, 1fr) minmax(0, 1.5fr);
  gap: 20px;
}
.hero__title {
  margin: 0;
}
.hero__title .catch {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0;
}
.hero__title .catch span:not(.small) {
  color: var(--c-pink02);
}
.hero__title .catch span.small {
  padding-inline: 2px;
  font-size: 18px;
}
.hero__title .main {
  margin: 10px 0 0;
  font-size: 50px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}
.hero__text span { display: inline; }   /* 旧トップの「span は1行ずつ」の指定を打ち消す */
.hero__text {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 600;
}
.hero__price {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}
.hero__price dl {
  margin: 0;
  padding: 10px;
  border: 2px solid var(--c-gold);
  border-radius: 4px;
  text-align: center;
}
.hero__price dt {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.hero__price dd {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}
.hero__price dd span {
  padding-left: 5px;
  color: var(--c-pink02);
  font-size: 18px;
  font-weight: 600;
}
.hero__visual {
  position: relative;
  width: 100%;
  height: 100%;
  background-image: url("/img/hero.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.hero__visual video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 65.96%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
@media screen and (max-width: 769px){
  .hero {
    padding: 10px 0 40px;
  }
  .hero__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .hero__grid > div:first-child {
    display: contents;
  }
  .hero__title {
    order: 1;
  }
  .hero__text {
    order: 2;
  }
  .hero__visual {
    order: 3;
  }
  .hero__price {
    order: 4;
  }
  .hero__title .catch {
    font-size: 20px;
  }
  .hero__title .catch span.small {
    font-size: 16px;
  }
  .hero__title .main {
    font-size: 38px;
  }
  .hero__text {
    font-size: 15px;
  }
  .hero__price {
    margin: 0;
    width: 100%;
  }
  .hero__price dl {
    flex: 1;
    margin: 0;
    padding: 10px 5px;
  }
  .hero__price dt {
    line-height: 1.4;
  }
  .hero__price dd.hero__price-multi {
    gap: 16px;
  }
  .hero__visual {
    margin: 10px 0 15px;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* templates */
.templates {
  position: relative;
  margin-block: 50px;
  padding-block: 30px;
  background-color: var(--c-gray);
  overflow: visible;
}
.templates::before,
.templates::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 50px;
  background-image: url("/img/bg_wave.svg");
  background-position: left bottom;
  background-size: contain;
  background-repeat: repeat-x;
}
.templates::before {
  top: -50px;
}
.templates::after {
  bottom: -50px;
  transform: rotate(180deg);
}
@media screen and (max-width: 769px){
  .templates {
    margin-block: 20px;
  }
  .templates::before,
  .templates::after {
    height: 20px;
  }
  .templates::before {
    top: -20px;
  }
  .templates::after {
    bottom: -20px;
  }
}

.template-opening {
  margin-top: 50px;
}
@media screen and (max-width: 769px){
  .template-opening {
    margin-top: 40px;
  }
}

.template-list {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  max-width: 840px;
}
.template-item {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  background-color: #FFF;
  overflow: hidden;
}
.template-item video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.template-item > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 10px 15px 20px;
}
.template-item .template-item__title {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
}
.template-item .item-text {
  margin: 5px 0 0;
  line-height: 1.4;
}
.template-item .item-spec {
  display: flex;
  margin: 8px 0 0;
}
.template-item .item-spec li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  font-weight: 600;
}
.template-item .item-spec li::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.template-item .item-spec li.time::before {
  background-image: url("/img/spec-time.png");
}
.template-item .item-spec li.photo::before {
  background-image: url("/img/spec-photo.png");
}
.template-item .item-label {
  margin: 10px 0 0;
  padding: 8px;
  background-color: var(--c-beige);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  line-height: 1;
}
.template-item .item-price {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  margin: 15px 0;
}
.template-item .item-price dt {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
}
.template-item .item-price dd {
  flex: 1;
  margin: 0;
  font-size: 14px;
  text-align: right;
  line-height: 20px;
}
.template-item .item-price dd span {
  padding-left: 10px;
  font-size: 20px;
  font-weight: 600;
}
.template-item .c-button {
  margin-top: auto;
  text-align: center;
  max-width: none;
}
@media screen and (max-width: 769px){
  .template-list {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 30px;
  }
  .template-item > div {
    padding: 10px 10px 20px;
  }
  .template-item .template-item__title {
    font-size: 24px;
  }
  .template-item .item-spec {
    gap: 20px;
  }
  .template-item .item-spec li {
    flex: none;
  }
  .template-item .item-label {
    font-size: 13px;
  }
}

/* features */
.features-list {
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.features-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 35%;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "title image"
    "text  image";
  column-gap: 10px;
  align-items: center;
}
.features-list > div  h3 {
  grid-area: title;
  align-self: end;
  color: var(--c-pink02);
  font-size: 22px;
  font-weight: 600;
}
.features-list > div  p {
  margin: 10px 0 0;
  grid-area: text;
  align-self: start;
  line-height: 1.4;
}
.features-list > div  img {
  grid-area: image;
  width: 100%;
  height: auto;
}
@media screen and (max-width: 769px){
  .features-list {
    margin: 0;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }
  .features-list > div {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "image"
      "title"
      "text";
    row-gap: 10px;
  }
  .features-list > div  h3 {
    font-size: 20px;
    text-align: center;
  }
  .features-list > div  p {
    margin: 0;
  }
  .features-list > div  img {
    display: block;
    margin: 0 auto;
    width: 50%;
  }
}

.features-support {
  margin: 30px 0 0;
  padding: 20px;
  background-color: var(--c-beige_h);
  border-radius: 10px;
}
.features-support h3 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  line-height: 1;
}
.features-support h3::before {
  content: "";
  position: relative;
  top: -5px;
  display: block;
  width: 40px;
  height: 40px;
  background-image: url("/img/icon_point.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.features-support ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 15px 0 0;
}
.features-support li {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  grid-template-rows: auto auto;
  grid-template-areas:
    "icon title"
    "icon text";
  column-gap: 20px;
  align-content: center;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
}
.features-support li > div {
  grid-area: icon;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: var(--c-pink01_h);
  border-radius: 50%;
}
.features-support li h4 {
  grid-area: title;
  align-self: end;
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}
.features-support li p {
  grid-area: text;
  align-self: start;
  margin: 3px 0 0;
  line-height: 1.4;
}
.features-support li img {
  display: block;
  object-fit: contain;
  width: 60%;
  height: auto;
}
@media screen and (max-width: 769px){
  .features-support {
    margin: 20px 0 0;
    padding: 20px 10px;
  }
  .features-support h3 {
    gap: 5px;
    font-size: 18px;
  }
  .features-support h3::before {
    width: 30px;
    height: 30px;
  }
  .features-support ul {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    margin: 10px 0 0;
  }
  .features-support li {
    grid-template-columns: 55px minmax(0, 1fr);
    column-gap: 10px;
    padding: 10px;
    border-radius: 6px;
  }
  .features-support li h4 {
    font-size: 16px;
  }
  .features-support li p {
    margin: 0;
    font-size: 15px;
  }
}

.mubisapo-comment {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 20px;
  margin: 30px 0 0;
  padding: 20px 20px 25px;
  border-radius: 1rem;
  background-color: var(--c-purple_bg);
}
.mubisapo-comment__brand {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-purple);
}
.mubisapo-comment__title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.25;
}
.mubisapo-comment__title span {
  font-size: 31px;
}
.mubisapo-comment__text {
  margin: 10px 0 0;
  font-size: 18px;
}
.mubisapo-comment img {
  margin: 0;
  display: block;
  width: 260px;
}
.mubisapo-comment .c-button__wrap {
  flex-basis: 100%;
  margin-top: 15px;
}
@media screen and (max-width: 870px){
  .mubisapo-comment img {
    margin-inline: auto;
    width: 230px;
  }
}
@media screen and (max-width: 769px){
  .mubisapo-comment {
    flex-direction: column;
    margin: 20px 0 0;
    padding: 20px 10px;
  }
  .mubisapo-comment__brand {
    text-align: center;
  }
  .mubisapo-comment__title {
    font-size: 30px;
    text-align: center;
  }
  .mubisapo-comment__title span {
    font-size: 22px;
  }
  .mubisapo-comment__text {
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
    line-height: 1.4;
  }
  .mubisapo-comment img {
    margin-inline: auto;
    width: 230px;
  }
  .mubisapo-comment .c-button__wrap {
    margin-top: 10px;
  }
}

/* flow */
#flow {
  padding-top: 20px;
}
.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.flow-list__item {
  position: relative;
  display: flex;
  gap: 20px;
  padding-bottom: 20px;
}
.flow-list__item:last-child {
  padding-bottom: 0;
}
.flow-list__item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 22px;
  width: 2px;
  height: calc(100% - 60px);
  background: var(--c-blue);
}
.flow-list__step {
  position: relative;
  text-align: center;
}
.flow-list__label {
  display: block;
  margin-bottom: 2px;
  color: var(--c-blue);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}
.flow-list__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-blue);
  color: #FFF;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}
.flow-list__content {
  flex: 1;
  padding-top: 25px;
}
.flow-list__content-title {
  font-size: 25px;
  font-weight: 600;
}
.flow-list__content-text {
  margin: 5px 0 0;
}
@media screen and (max-width: 769px){
  .flow-list__item {
    gap: 15px;
  }
  .flow-list__content-title {
    font-size: 20px;
  }
}

/* price */
.price-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 0;
}
.price-item {
  padding: 20px 10px;
  border: 2px solid var(--c-gold);
  border-radius: 8px;
  background-color: #FFF;
  text-align: center;
}
.price-item h3 {
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: 600;
  color: var(--c-pink02);
}
.price-amount {
  display: flex;
  justify-content: center;
  gap: 30px;
}
.price-amount > div {
  width: max-content;
}
.price-amount p.price-amount__title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 35px;
  color: #555;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.price-amount p {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}
.price-amount span {
  font-size: 16px;
  font-weight: 400;
}
/* トップのMV: ダウンロードの2つの金額を横に並べる */
.hero__price dd.hero__price-multi { display: flex; justify-content: center; gap: 24px; }
.hero__price-col { display: block; white-space: nowrap; }
.hero__price-col small { display: block; font-size: 12px; font-weight: 600; color: #555; }
.price-description {
  display: inline-block;
  margin: 5px auto 0;
  padding: 8px 15px;
  background-color: var(--c-beige);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  line-height: 1;
}
.price-item .price-lead {
  margin: 15px auto 0;
  font-size: 16px;
  font-weight: 600;
}
.price-item ul {
  margin: 10px auto 0;
  list-style: disc;
  text-align: left;
  width: 90%;
  padding-left: 20px;
}
.price-item li {
  margin-top: 5px;
}
@media screen and (max-width: 769px){
  .price-list {
    grid-template-columns: repeat(1, 1fr);
    margin: 0;
  }
  .price-item {
    padding: 15px 10px;
  }
  .price-item h3 {
    margin-bottom: 10px;
    font-size: 22px;
  }
  .price-amount {
    flex-direction: column;
    gap: 10px;
  }
  .price-amount > div {
    width: 100%;
  }
  .price-amount p {
    font-size: 22px;
  }
  .price-amount p.price-amount__title {
    min-height: auto;
    font-size: 14px;
  }
  .price-item ul {
    width: 100%;
  }
  .price-item li {
    line-height: 1.4;
  }
}


/* guide */
.guide .c-section__title-main {
  font-size: 30px;
}
.section--pink {
  background-color: var(--c-pink01_h);
}
.guide-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 20px;
  margin-top: 20px;
}
.guide-list a {
  position: relative;
  display: inline-block;
  padding: 16px;
  padding-left: 40px;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.5);
  color: var(--c-black);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}
.guide-list a:hover {
  text-decoration: underline;
}
.guide-list a::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-top: 2px	solid var(--c-pink02);
  border-right: 2px solid var(--c-pink02);
  transform: rotate(45deg);
}
.guide-list p {
  margin: 0;
}
.guide-list span {
  display: block;
  padding-top: 5px;
  font-size: 15px;
  font-weight: normal;
}
@media screen and (max-width: 769px){
  .guide .c-section__title-main {
    font-size: 22px;
  }
  .guide-list {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 15px;
  }
  .guide-list a {
    padding-left: 35px;
    text-align: left;
  }
  .guide-list a::after {
    left: 10px;
  }
}

/* cta*/ 
.cta-template {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
}
.cta-template__title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.25;
}
.cta-template__title span {
  color: var(--c-pink02);
}
.cta-template__text {
  margin: 20px 0 0;
  font-size: 18px;
  font-weight: 600;
}
.cta-template img {
  margin: 0;
  display: block;
  width: 250px;
}
.cta-template .c-button__wrap {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 20px 0 0;
  flex-basis: 100%;
}
.cta-template .c-button {
  margin: 0;
}
@media screen and (max-width: 769px){
  .cta-template__title {
    font-size: 26px;
  }
  .cta-template__text {
    margin: 10px 0 0;
  }
  .cta-template img {
    width: 180px;
  }
  .cta-template .c-button__wrap {
    align-items: center;
    flex-direction: column;
    gap: 20px;
  }
}


/* item */
.item-title {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: auto;
  padding: 10px 20px;
  padding-left: 45px;
  width: calc(100% - 30px);
  background-color: var(--c-beige_h);
  border-radius: 4px;
  line-height: 1;
}
.item-title__icon {
  position: absolute;
  left: -30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #FFF;
  border: 2px solid var(--c-gold);
  border-radius: 50%;
}
.item-title img {
  display: block;
  object-fit: contain;
}
.item-title h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 48.0625em){
  .item-title {
    padding: 1.5rem;
    padding-left: 3rem;
  }
  .item-title__icon {
    width: 6rem;
    height: 6rem;
  }
  .item-title h2 {
    font-size: 2.5rem;
  }
}

.section.item {
  padding-top: 0;
}
.item-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  grid-template-areas: "main aside";
  gap: 20px;
  align-items: start;
  padding: 0;
}

.item-aside {
  grid-area: aside;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.item-aside  .c-section__title-text {
  font-size: 16px;
}
.item-aside__price {
  display: flex;
  gap: 10px;
}
.item-aside__price dl {
  flex: 1;
  margin: 15px 0 0;
  padding: 10px 5px;
  border: 2px solid var(--c-gold);
  border-radius: 4px;
  text-align: center;
}
.item-aside__price dt {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}
.item-aside__price dd {
  margin: 5px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}
.item-aside__price dd span {
  padding-left: 5px;
  color: var(--c-pink02);
  font-size: 16px;
  font-weight: 600;
}

.item-main {
  grid-area: main;
}
.item-main > div:not(:first-child) {
  margin-top: 30px;
}
.item-preview video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.item-spec {
  margin-top: 30px;
}
.spec-list {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 0;
  margin: 20px 0 0;
  padding: 0 20px;
}
.spec-list dt:first-child,
.spec-list dt:first-child + dd {
  border-top: 1px solid #DDD;
}
.spec-list dt {
  display: flex;
  align-items: center;
  padding: 10px;
  font-weight: 600;
  border-bottom: 1px solid #DDD;
  line-height: 1.4;
}
.spec-list dd {
  margin: 0;
  padding: 10px;
  border-bottom: 1px solid #DDD;
  line-height: 1.4;
}
.spec-list dd span {
  font-size: 14px;
}
.usage-list {
  margin: 20px 0 0 20px;
  list-style: disc;
  padding-left: 20px;
}
.usage-list li {
  margin-top: 10px;
  line-height: 1.4;
}
.item-price .price-list {
  margin: 20px 0 0 20px;
}
.item-price .price-item h3 {
  font-size: 20px;
}
.item-price .price-item ul {
  width: 100%;
}

/* 商品詳細: スマホ表示(デザイナーのCSSにスマホ用の指定がなかったため、取り込み時に追加) */
@media screen and (max-width: 769px){
  .item-wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "aside" "main"; gap: 16px; padding: 10px 0; }
  .item-aside { position: static; }
  .item-aside .c-section__title-text { font-size: 15px; }
  .item-title { padding: 10px 12px 10px 38px; width: calc(100% - 22px); }
  .item-title__icon { left: -22px; width: 44px; height: 44px; }
  .item-title__icon img { width: 100%; height: 100%; }
  .item-title h2 { font-size: 20px; margin: 0; }
  .spec-list { grid-template-columns: 104px minmax(0, 1fr); padding: 0; }
  .spec-list dt, .spec-list dd { padding: 10px 6px; }
  .usage-list { margin: 16px 0 0 4px; padding-left: 18px; }
  .item-price .price-list { margin: 16px 0 0; }
}

/* 商品ページのよくあるご質問(カウントダウン映像) */
.item-faq { margin: 48px 0 0; }
.cd-date { max-width: 12em; }

/* トップのMV価格: 1行目「ムービー作成・プレビュー 何度でも無料」、2行目「※書き出しは有料」 */
.hero__price dt { white-space: nowrap; }
.hero__price-free { margin-left: 10px; font-weight: 500; }
.hero__price-free span { padding-left: 5px; color: var(--c-pink02); font-size: 18px; font-weight: 600; }
.hero__price dd.hero__price-note { margin-top: 2px; font-size: 12px; color: #555; }
@media (max-width: 380px) { .hero__price dt { font-size: 13px; } .hero__price-free { margin-left: 6px; } }

/* トップ: カウントダウン映像の「全種類」への案内 */
.cd-more { margin: 24px auto 0; max-width: 400px; }

/* トップ: カウントダウン映像のカードは小さめ(PCは1列に3つ、スマホは2つ)。説明は2行まで、「作成は無料」の帯は省く */
.template-list--small { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1000px; }
.template-list--small .template-item > div { padding: 8px 12px 14px; }
.template-list--small .template-item .template-item__title { font-size: 18px; }
.template-list--small .template-item .item-text { font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.template-list--small .template-item .item-spec li { font-size: 13px; }
.template-list--small .template-item .item-spec li::before { width: 20px; height: 20px; }
.template-list--small .template-item .item-label { display: none; }
.template-list--small .template-item .item-price { margin: 10px 0; }
.template-list--small .template-item .item-price dt { font-size: 12px; }
.template-list--small .template-item .item-price dd { font-size: 12px; }
.template-list--small .template-item .item-price dd span { font-size: 18px; padding-left: 6px; }
.template-list--small .template-item .c-button { font-size: 14px; padding-block: 10px; }
@media screen and (max-width: 769px) {
  .template-list--small { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .template-list--small .template-item > div { padding: 8px 8px 12px; }
  .template-list--small .template-item .template-item__title { font-size: 15px; }
  .template-list--small .template-item .item-text { display: none; }
  .template-list--small .template-item .item-spec { gap: 8px; flex-wrap: wrap; }
  .template-list--small .template-item .item-price { flex-direction: column; align-items: flex-start; gap: 0; }
  .template-list--small .template-item .item-price dd { text-align: left; }
}
/* 枚数が3の倍数でなくても、最後の行は左に寄せる */
.template-list--small { display: flex; flex-wrap: wrap; justify-content: flex-start; }
.template-list--small .template-item { flex: 0 0 calc((100% - 40px) / 3); }
@media screen and (max-width: 769px) { .template-list--small .template-item { flex: 0 0 calc((100% - 12px) / 2); } }

/* フォントのライセンス表記(商品ページ・一覧ページの下) */
.font-credits { margin: 24px 0 0; font-size: 13px; line-height: 1.7; color: #555; }
.font-credits__title { font-size: 14px; font-weight: 600; margin: 0; }
.font-credits p { margin: 8px 0 0; }
.font-credits__list { font-size: 12px; }

/* カウントダウン一覧ページ(/countdown)のデザイン。.spec-list dt の指定は、サイト全体の仕様表に効く */
/* hero */
.cd-hero__grid {
  display: grid;
  grid-template-columns: minmax(500px, 1fr) minmax(0, 1fr);
} 
.cd-hero__title {
  margin: 0;
}
.cd-hero__title .catch {
  display: inline-block;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0;
}
.cd-hero__title .catch span:not(.small) {
  color: var(--c-pink02);
}
.cd-hero__title .catch span.small {
  padding-inline: 2px;
  font-size: 18px;
}
.cd-hero__title .main {
  display: inline-block;
  margin: 10px 0 0;
  font-size: 46px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}
.cd-hero__text {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 600;
}
.cd-hero__price {
  display: flex;
  gap: 10px;
}
.cd-hero__price dl {
  margin: 15px 0 0;
  padding: 10px;
  border: 2px solid var(--c-gold);
  border-radius: 4px;
  text-align: center;
}
.cd-hero__price dt {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.cd-hero__price dd {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}
.cd-hero__price dd span {
  padding-left: 5px;
  color: var(--c-pink02);
  font-size: 18px;
  font-weight: 600;
}
.cd-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
@media screen and (max-width: 769px){
  .hero {
    padding: 10px 0 40px;
  }
  .cd-hero__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .cd-hero__grid > div:first-child {
    display: contents;
  }
  .cd-hero__title {
    order: 1;
  }
  .cd-hero__text {
    order: 2;
  }
  .cd-hero__visual {
    order: 3;
  }
  .cd-hero__price {
    order: 4;
  }
  .cd-hero__title .catch {
    font-size: 20px;
  }
  .cd-hero__title .catch span.small {
    font-size: 16px;
  }
  .cd-hero__title .main {
    font-size: 33px;
  }
  .cd-hero__text {
    font-size: 15px;
  }
  .cd-hero__price {
    margin: 0;
    width: 100%;
  }
  .cd-hero__price dl {
    flex: 1;
    margin: 0;
    padding: 10px 5px;
  }
  .cd-hero__price dt {
    line-height: 1.4;
  }
  .cd-hero__price dd {
    font-size: 12px;
  }
  .cd-hero__visual {
    margin: 10px 0 15px;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

.template-info {
  margin: 30px 0 0;
  padding: 20px;
  background-color: #FFF;
  border-radius: 10px
}
.template-info h2 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  line-height: 1;
}
.template-info h2:before {
  content: "";
  position: relative;
  top: -5px;
  display: block;
  width: 40px;
  height: 40px;
  background-image: url(/img/icon_point.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50%
}
.template-info h2.--spec:before {
  background-image: url(/img/icon_movie.svg);
}
.template-info .spec-list {
  margin-top: 10px;
}
@media screen and (max-width: 769px){
  .template-info {
    padding: 20px 10px;
  }
  .template-info h2 {
    font-size: 20px;
  }
  .template-info h2:before {
    width: 26px;
    height: 26px;
  }
}

@media screen and (max-width: 769px){
  .spec-list dt {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}
.spec-list dt span {
  font-size: 14px;
  font-weight: 400;
}
@media screen and (min-width: 769px){
  .spec-list dt span {
    padding-left: 5px;
  }

}



.template-wrap:not(:first-child) {
  margin-top: 50px;
}
@media screen and (max-width: 769px) {
    .template-wrap:not(:first-child) {
        margin-top: 40px;
    }
}

/* カウントダウン一覧(/countdown)は、スマホでは1列に並べる */
@media screen and (max-width: 769px) { .template-wrap .template-list--small .template-item { flex: 0 0 100%; } }

/* 管理画面「人気」の横棒グラフ */
.bars { display: grid; gap: 6px; }
.bars__row { display: grid; grid-template-columns: minmax(120px, 280px) 1fr 3em; gap: 10px; align-items: center; }
.bars__label { font-size: .95rem; line-height: 1.4; overflow-wrap: anywhere; }
.bars__track { background: var(--gray); border-radius: 6px; height: 20px; overflow: hidden; }
.bars__bar { height: 100%; background: var(--ink); border-radius: 6px; min-width: 2px; }
.bars__bar.is-zero { background: transparent; }
.bars__n { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .bars__row { grid-template-columns: 1fr 3em; } .bars__track { grid-column: 1 / -1; grid-row: 2; } }
