/* モック2（2026-12-03）：角を丸く・動きをつける・黒ベースを少し明るく。
   形のもと＝カーボンのチューブ（管）の丸みと、繊維の束の流れる線。黒×白。目印の色は黄（お知らせ・キャンペーン・AFTER・募集）だけ。 */
body.m2 {
  --m2-base: #1a1d1e;                 /* 黒の土台（柄なし・以前より明るい黒） */
  --m2-base-2: #24282a;               /* 黒の上に置く面 */
  --m2-paper: #f3f2ee;                /* 明るい面 */
  --m2-paper-2: #e6e4dd;
  --m2-ink: #131414;
  --m2-gray: #666968;
  --m2-line: rgba(19, 20, 20, .14);
  --m2-pop: #ffd426;                  /* お知らせ・キャンペーン・募集の目印（黒と相性のよい黄） */
  --m2-r-sheet: clamp(28px, 4.4vw, 64px);
  --m2-r-photo: clamp(20px, 2.4vw, 32px);
  --m2-inset: clamp(8px, 1.2vw, 18px);
  --m2-ease: cubic-bezier(.2, .7, .2, 1);          /* 出てくる動き */
  --m2-ease-io: cubic-bezier(.785, .135, .15, .86); /* ホバーのゆったりした動き */
  --m2-mincho: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --m2-gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --m2-en: Karla, "Helvetica Neue", Arial, sans-serif;
}
/* ヒーローより下は、柄を隠して明るめの黒にする（柄はヒーローだけに残す） */
body.m2::after { top: 96vh; background: linear-gradient(to bottom, transparent, var(--m2-base) 14vh); }

/* ---------- 上部メニュー：浮いた丸い帯 ---------- */
body.m2 .cdj-global-header.cdj-global-header {
  top: 12px; left: 50%; transform: translateX(-50%);
  width: min(1360px, calc(100% - 24px)); height: 64px; min-height: 64px;
  padding: 8px 10px 8px clamp(18px, 2.4vw, 30px);
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(24, 27, 28, .74); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
body.m2 .cdj-global-header.cdj-global-header .cdj-page-nav { gap: 2px; font-family: var(--m2-gothic); font-size: 13px; }
body.m2 .cdj-global-header.cdj-global-header .cdj-page-nav a { min-height: 40px; padding: 6px 13px; border-radius: 999px; transition: background .3s ease, color .3s ease; }
body.m2 .cdj-global-header.cdj-global-header .cdj-page-nav a::after { display: none; }
body.m2 .cdj-global-header.cdj-global-header .cdj-page-nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
body.m2 .cdj-global-header.cdj-global-header .cdj-page-nav a[aria-current] { background: rgba(255, 255, 255, .14); color: #fff; }
body.m2 .cdj-global-header.cdj-global-header .menu-toggle {
  width: 46px; height: 46px; min-height: 46px; border-radius: 50%; background: #f3f2ee; color: #131414; gap: 0;
  transition: transform .3s var(--m2-ease);
}
body.m2 .cdj-global-header.cdj-global-header .menu-toggle:hover { transform: scale(1.06); }
body.m2 .cdj-global-header.cdj-global-header .menu-lines { width: 18px; gap: 5px; }
body.m2 .cdj-global-header.cdj-global-header .menu-lines i { height: 1.5px; border-radius: 2px; }
body.m2 .cdj-global-header.cdj-global-header .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 640px) {
  body.m2 .cdj-global-header.cdj-global-header { top: 8px; width: calc(100% - 16px); height: 56px; min-height: 56px; padding: 5px 5px 5px 16px; gap: 8px; }
  body.m2 .cdj-global-header.cdj-global-header .cdj-page-nav { font-size: 12px; gap: 0; -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); scrollbar-width: none; }
  body.m2 .cdj-global-header.cdj-global-header .cdj-page-nav::-webkit-scrollbar { display: none; }
  body.m2 .cdj-global-header.cdj-global-header .cdj-page-nav a { padding: 6px 9px; }
  body.m2 .cdj-global-header.cdj-global-header .cdj-page-nav a:last-child { margin-right: 28px; }
}

/* ---------- 明るい面（シート）：黒の上に浮かぶ、角の丸い大きな面 ---------- */
body.m2 .m2-sheet {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  margin: 0 var(--m2-inset); border-radius: var(--m2-r-sheet);
  background: var(--m2-paper); color: var(--m2-ink); color-scheme: light;
}
body.m2 .m2-sheet + * { margin-top: 0; }
body.m2 .m2-sec { position: relative; z-index: 1; padding: clamp(64px, 9vw, 132px) clamp(20px, 5vw, 72px); background: transparent; }
body.m2 .m2-sec + .m2-sec { padding-top: 0; }
body.m2 .m2-wrap { max-width: 1180px; margin: 0 auto; }
body.m2 .m2-head { margin: 0 0 clamp(32px, 5vw, 64px); }
body.m2 .m2-head h2 { margin: 0; color: var(--m2-ink); font: 600 clamp(30px, 4.2vw, 54px)/1.35 var(--m2-mincho); letter-spacing: .07em; }
body.m2 .m2-head p { margin: 14px 0 0; color: var(--m2-gray); font: 500 15px/1.9 var(--m2-gothic); letter-spacing: .04em; }

/* 流れる線（カーボンの繊維の束）。スクロールに合わせて描かれる */
body.m2 .m2-fiber { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; color: var(--m2-ink); }
body.m2 .m2-fiber path { fill: none; stroke: currentColor; stroke-width: 1.1; stroke-opacity: .11; stroke-linecap: round; }

/* 写真の丸い枠と、矢印の丸ボタン（共通） */
body.m2 .m2-photo { position: relative; display: block; overflow: hidden; border-radius: var(--m2-r-photo); background: var(--m2-paper-2); aspect-ratio: 4 / 3; transform: translateZ(0); }
body.m2 .m2-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform .9s var(--m2-ease-io); }
body.m2 .m2-arrow {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid currentColor; font-style: normal; color: var(--m2-ink); background: transparent;
  transition: background .35s var(--m2-ease), color .35s var(--m2-ease), transform .35s var(--m2-ease);
}
body.m2 .m2-arrow svg { transition: transform .35s var(--m2-ease); }
body.m2 a:hover > .m2-arrow, body.m2 a:focus-visible .m2-arrow { background: var(--m2-ink); color: var(--m2-paper); }
body.m2 a:hover .m2-arrow svg { transform: translateX(3px); }
body.m2 a:hover .m2-photo img { transform: scale(1.06); }

/* ---------- 対象から探す：小さな写真を1列に（600px以上は6つ横並び、スマホは3つずつ2段） ---------- */
body.m2 .m2-target-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px clamp(8px, 1.7vw, 24px); }
body.m2 .m2-target { position: relative; display: block; color: var(--m2-ink); text-decoration: none; }
body.m2 .m2-target .m2-photo { aspect-ratio: 1 / 1; border-radius: clamp(14px, 2vw, 26px); }
body.m2 .m2-target .m2-arrow { position: absolute; right: 8px; top: 0; width: 38px; height: 38px; margin-top: calc(100% - 46px); background: var(--m2-paper); border-color: transparent; }
body.m2 .m2-target .m2-arrow svg { width: 15px; height: 15px; }
body.m2 .m2-target:hover .m2-arrow, body.m2 .m2-target:focus-visible .m2-arrow { background: var(--m2-ink); color: var(--m2-paper); }
body.m2 .m2-target-body { display: block; padding: 12px 2px 0 4px; }
body.m2 .m2-target-body strong { display: block; font: 600 clamp(15px, 1.6vw, 22px)/1.4 var(--m2-mincho); letter-spacing: .06em; }
body.m2 .m2-target-body small { display: block; margin-top: 4px; color: var(--m2-gray); font: 500 12px/1.65 var(--m2-gothic); letter-spacing: .02em; }
@media (max-width: 999px) {
  body.m2 .m2-target-body small { display: none; }
  body.m2 .m2-target .m2-arrow { width: 28px; height: 28px; right: 5px; margin-top: calc(100% - 33px); }
  body.m2 .m2-target .m2-arrow svg { width: 12px; height: 12px; }
  body.m2 .m2-target-body { padding: 8px 0 0 2px; }
  body.m2 .m2-target-body strong { letter-spacing: .02em; }
}
@media (max-width: 599px) {
  body.m2 .m2-target-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 10px; }
  body.m2 .m2-target-body strong { font-size: 15px; }
}

/* ---------- ご相談の流れ：丸い番号を線でつなぐ ---------- */
body.m2 .m2-flow-list { list-style: none; margin: 0 0 clamp(36px, 5vw, 60px); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.6vw, 40px); }
body.m2 .m2-flow-list > li { position: relative; }
body.m2 .m2-flow-no { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--m2-ink); color: var(--m2-paper); font: 500 22px/1 var(--m2-en); }
body.m2 .m2-flow-list > li::before { content: ""; position: absolute; top: 32px; left: 64px; right: calc(clamp(16px, 2.6vw, 40px) * -1); height: 1px; background: var(--m2-ink); opacity: .28; transform: scaleX(0); transform-origin: left; transition: transform .9s var(--m2-ease) calc(var(--d, 0s) + .25s); }
body.m2 .m2-flow-list > li:last-child::before { display: none; }
body.m2 .m2-flow-list > li.is-in::before { transform: scaleX(1); }
body.m2 .m2-flow-list strong { display: block; margin-top: 20px; font: 600 clamp(17px, 1.6vw, 21px)/1.5 var(--m2-mincho); letter-spacing: .06em; }
body.m2 .m2-flow-list small { display: block; margin-top: 8px; color: var(--m2-gray); font: 500 13px/1.85 var(--m2-gothic); letter-spacing: .03em; }
@media (max-width: 820px) {
  body.m2 .m2-flow-list { grid-template-columns: 1fr; gap: 0; }
  body.m2 .m2-flow-list > li { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; padding-bottom: 30px; }
  body.m2 .m2-flow-no { width: 52px; height: 52px; font-size: 19px; grid-row: 1 / span 2; }
  body.m2 .m2-flow-list strong { margin-top: 6px; }
  body.m2 .m2-flow-list small { grid-column: 2; margin-top: 4px; }
  body.m2 .m2-flow-list > li::before { top: 52px; bottom: 0; left: 26px; right: auto; width: 1px; height: auto; transform: scaleY(0); transform-origin: top; }
  body.m2 .m2-flow-list > li.is-in::before { transform: scaleY(1); }
}

/* 丸いボタン（共通） */
body.m2 .m2-button {
  display: inline-flex; align-items: center; gap: 18px; min-height: 64px; padding: 8px 9px 8px 30px; border-radius: 999px;
  background: var(--m2-ink); color: var(--m2-paper); text-decoration: none; font: 700 15px/1.4 var(--m2-gothic); letter-spacing: .08em;
  transition: transform .35s var(--m2-ease);
}
body.m2 .m2-button .m2-arrow { background: var(--m2-paper); color: var(--m2-ink); border-color: transparent; }
body.m2 .m2-button:hover { transform: translateY(-2px); }
body.m2 .m2-button:hover .m2-arrow { background: var(--m2-paper); color: var(--m2-ink); transform: translateX(3px); }

/* ---------- 流れる一文 ---------- */
body.m2 .m2-marquee { overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 clamp(8px, 2vw, 24px); }
body.m2 .m2-marquee-track { display: flex; width: max-content; gap: clamp(40px, 6vw, 96px); animation: m2-marquee 70s linear infinite; }
body.m2 .m2-marquee-track span { flex: none; font: 600 clamp(54px, 9.4vw, 148px)/1.2 var(--m2-mincho); letter-spacing: .08em; color: transparent; -webkit-text-stroke: 1px rgba(243, 242, 238, .34); white-space: nowrap; }
body.m2 .m2-marquee-track span:nth-child(even) { -webkit-text-stroke-color: rgba(243, 242, 238, .16); }
@keyframes m2-marquee { to { transform: translateX(-50%); } }

/* ---------- 動き：スクロールでふわっと出る ---------- */
body.m2.m2-ready .m2-rv { opacity: 0; translate: 0 26px; transition: opacity .7s ease var(--d, 0s), translate .9s var(--m2-ease) var(--d, 0s); }
body.m2.m2-ready .m2-rv.is-in { opacity: 1; translate: 0 0; }
body.m2.m2-ready .m2-rv .m2-photo img { transform: scale(1.16); transition: transform 1.5s cubic-bezier(.075, .82, .165, 1) var(--d, 0s); }
body.m2.m2-ready .m2-rv.is-in .m2-photo img { transform: scale(1.001); }
body.m2.m2-ready .m2-rv.is-in a:hover .m2-photo img { transform: scale(1.06); transition: transform .9s var(--m2-ease-io); }

@media (prefers-reduced-motion: reduce) {
  body.m2.m2-ready .m2-rv, body.m2.m2-ready .m2-rv .m2-photo img { opacity: 1; translate: none; transform: none; transition: none; }
  body.m2 .m2-marquee-track { animation: none; }
  body.m2 .m2-flow-list > li::before { transform: none; transition: none; }
  body.m2 .m2-photo img, body.m2 .m2-arrow, body.m2 .m2-arrow svg, body.m2 .m2-button { transition: none; }
}

/* ---------- 冒頭の一文のボタンも丸く ---------- */
body.m2 .cine-cta { border-radius: 999px; padding: 16px 32px; }

/* ---------- よくある質問（明るい面の中） ---------- */
body.m2 .m2-sheet .faq-section { position: relative; z-index: 1; background: transparent; padding-bottom: clamp(64px, 9vw, 120px); }
body.m2 .m2-sheet .faq-item summary { border-radius: 16px; padding-inline: 14px; transition: background .3s ease; }
body.m2 .m2-sheet .faq-item summary:hover { background: rgba(19, 20, 20, .045); }
body.m2 .m2-sheet .faq-answer { padding-inline: 14px; }
body.m2 .m2-sheet .faq-more { border-radius: 20px; overflow: hidden; }
body.m2 .m2-sheet .faq-toggle { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(19, 20, 20, .3); }
body.m2 .m2-sheet .faq-toggle::before, body.m2 .m2-sheet .faq-toggle::after { left: 9px; top: 15px; }
body.m2 .m2-sheet .faq-item summary { grid-template-columns: 22px minmax(0, 1fr) 34px; }

/* ---------- お問い合わせ：角を丸く、面を少し明るく ---------- */
body.m2 .contact-phone-button { border-radius: 26px !important; transition: transform .35s var(--m2-ease); }
body.m2 .contact-phone-button:hover { transform: translateY(-2px); }
body.m2 .inquiry-panel { border-radius: clamp(24px, 3vw, 44px) !important; background: var(--m2-base-2) !important; border-color: rgba(255, 255, 255, .08) !important; }
body.m2 .inquiry-panel :is(input:not([type="checkbox"]):not([type="radio"]), textarea, select) { border-radius: 14px !important; }
body.m2 .inquiry-panel :is(button, .inquiry-actions a) { border-radius: 999px !important; }
body.m2 .inquiry-panel details.inquiry-extra > summary { border-radius: 14px; }
body.m2 .contact-email-direct a { border-radius: 999px; }

/* ---------- 会社情報（明るい面の中） ---------- */
body.m2 .m2-sheet .company-scene { position: relative; z-index: 1; background: transparent; color: var(--m2-ink); --line: rgba(19, 20, 20, .16); padding-block: clamp(56px, 7vw, 110px); }
body.m2 .m2-sheet .company-scene h2 { color: var(--m2-ink); }
body.m2 .m2-sheet .company-scene .company-photo { border-radius: var(--m2-r-photo); }
body.m2 .m2-sheet .company-scene figcaption { color: var(--m2-gray); }
body.m2 .m2-sheet .company-scene :is(.company-meta, .company-address, .company-place, .company-intro) { color: var(--m2-ink); }
body.m2 .m2-sheet .company-scene .company-appointment { color: var(--m2-gray); }
body.m2 .m2-sheet .company-scene summary { color: var(--m2-ink); }
body.m2 .m2-sheet .company-scene summary > span { color: var(--m2-ink); }
body.m2 .m2-sheet .company-scene a:focus-visible { outline-color: var(--m2-ink); }
body.m2 .m2-sheet-company { margin-top: clamp(40px, 6vw, 88px); }
body.m2 footer { padding-block: clamp(48px, 6vw, 88px); }

/* ---------- 横幅と左端をそろえる（面の中の既存の欄） ---------- */
body.m2 .m2-sheet .faq-section, body.m2 .m2-sheet .company-scene { padding-inline: clamp(20px, 5vw, 72px); }
body.m2 .m2-sheet .faq-section > .wrap, body.m2 .m2-sheet .company-scene > .company-content { width: auto; max-width: 1180px; margin-inline: auto; padding-inline: 0; }
body.m2 .m2-sheet .faq-heading h2, body.m2 .m2-sheet .company-scene h2 { font-family: var(--m2-mincho); }

/* ---------- 日本語の折り返し：文節で折る ---------- */
body.m2 :is(.m2-head p, .m2-target-body small, .m2-craft2-body small, .m2-flow-list small, .m2-flow-list strong, .m2-campaign-lead, .m2-news-title, .m2-work-copy p, .m2-nosales-note, .faq-item summary > span:nth-child(2)) { word-break: auto-phrase; text-wrap: pretty; overflow-wrap: anywhere; }
body.m2 :is(.m2-head h2, .m2-target-body strong) { word-break: keep-all; overflow-wrap: anywhere; }

/* ---------- スマホ：ロゴを読める大きさに ---------- */
@media (max-width: 640px) {
  body.m2 .cdj-global-header.cdj-global-header :is(.site-logo) { width: 112px; }
}
body.m2 .m2-targets { padding-bottom: clamp(48px, 6vw, 92px); }

/* ==========================================================
   2026-12-03 追加：お知らせ／キャンペーン／4つの技術／WORKS／お問い合わせ／提携ショップ
   ========================================================== */

/* ---------- キャンペーン：写真とPOP ---------- */
body.m2 .m2-campaign { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(18px, 3.4vw, 52px); align-items: center;
  background: var(--m2-ink); color: #fff; border-radius: clamp(26px, 3.4vw, 48px); padding: clamp(14px, 1.8vw, 22px); }
body.m2 .m2-campaign[hidden] { display: none; }
body.m2 .m2-campaign-visual { position: relative; }
body.m2 .m2-campaign-visual .m2-photo { aspect-ratio: 5 / 4; border-radius: clamp(16px, 2.4vw, 32px); }
body.m2 .m2-campaign-pop { position: absolute; right: -14px; top: -20px; z-index: 2; margin: 0; display: grid; place-content: center; text-align: center;
  width: clamp(104px, 12.5vw, 156px); aspect-ratio: 1; border-radius: 50%; background: var(--m2-pop); color: var(--m2-ink); rotate: 9deg; }
body.m2 .m2-campaign-pop small { display: block; font: 700 clamp(12px, 1.2vw, 15px)/1.2 var(--m2-gothic); letter-spacing: .08em; }
body.m2 .m2-campaign-pop strong { display: block; font: 700 clamp(46px, 5.6vw, 76px)/.95 var(--m2-en); letter-spacing: -.02em; }
body.m2 .m2-campaign-pop strong i { font: 900 .36em/1 var(--m2-gothic); font-style: normal; margin-left: 2px; }
body.m2 .m2-campaign-body { padding: clamp(10px, 1.6vw, 22px) clamp(8px, 2.4vw, 32px) clamp(12px, 1.6vw, 22px) 0; }
body.m2 .m2-campaign-label { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 16px; }
body.m2 .m2-campaign-label span { background: var(--m2-pop); color: var(--m2-ink); padding: 7px 15px; border-radius: 999px; font: 700 13px/1 var(--m2-gothic); letter-spacing: .12em; }
body.m2 .m2-campaign-label em { font-style: normal; border: 1px solid rgba(255, 255, 255, .5); padding: 6px 13px; border-radius: 999px; font: 700 12px/1 var(--m2-gothic); letter-spacing: .04em; }
body.m2 .m2-campaign h3 { margin: 0 0 14px; color: #fff; font: 600 clamp(27px, 3.6vw, 46px)/1.32 var(--m2-mincho); letter-spacing: .05em; }
body.m2 .m2-campaign h3 mark { background: none; color: var(--m2-pop); }
body.m2 .m2-campaign-lead { margin: 0 0 18px; max-width: 30em; color: rgba(255, 255, 255, .84); font: 500 14px/1.9 var(--m2-gothic); letter-spacing: .03em; }
body.m2 .m2-campaign-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0 0 24px; }
body.m2 .m2-campaign-points > div { display: flex; gap: 10px; align-items: center; }
body.m2 .m2-campaign-points dt { margin: 0; border: 1px solid var(--m2-pop); color: var(--m2-pop); border-radius: 999px; padding: 4px 10px; font: 700 11px/1 var(--m2-gothic); letter-spacing: .08em; white-space: nowrap; }
body.m2 .m2-campaign-points dd { margin: 0; font: 700 14px/1.5 var(--m2-gothic); letter-spacing: .03em; }
body.m2 .m2-campaign-cta { display: inline-flex; align-items: center; gap: 14px; min-height: 58px; padding: 6px 8px 6px 26px; border-radius: 999px;
  background: var(--m2-pop); color: var(--m2-ink); text-decoration: none; font: 700 15px/1.4 var(--m2-gothic); letter-spacing: .06em; transition: transform .35s var(--m2-ease); }
body.m2 .m2-campaign-cta .m2-arrow { width: 44px; height: 44px; background: var(--m2-ink); color: var(--m2-pop); border-color: transparent; }
body.m2 .m2-campaign-cta:hover { transform: translateY(-2px); }
body.m2 .m2-campaign-cta:hover .m2-arrow { background: var(--m2-ink); color: var(--m2-pop); }
@media (max-width: 760px) {
  body.m2 .m2-campaign { grid-template-columns: 1fr; gap: 6px; padding: 10px; }
  body.m2 .m2-campaign-visual .m2-photo { aspect-ratio: 16 / 10; }
  body.m2 .m2-campaign-pop { right: 2px; top: -16px; }
  body.m2 .m2-campaign-body { padding: 16px 10px 14px; }
  body.m2 .m2-campaign-cta { width: 100%; justify-content: space-between; }
}

/* ---------- お知らせ：白い掲示板＋黄の目印、上から3件 ---------- */
body.m2 .m2-news-board { position: relative; margin-top: clamp(20px, 3vw, 36px); display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: clamp(14px, 3vw, 44px);
  background: #fff; border-radius: clamp(22px, 2.8vw, 36px); padding: clamp(22px, 3vw, 40px); }
body.m2 .m2-news-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 7px 14px; border-radius: 999px; background: var(--m2-pop); color: var(--m2-ink); font: 700 12px/1 var(--m2-en); letter-spacing: .2em; }
body.m2 .m2-news-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--m2-ink); }
body.m2 .m2-news-head h2 { margin: 0; color: var(--m2-ink); font: 600 clamp(24px, 2.6vw, 32px)/1.4 var(--m2-mincho); letter-spacing: .08em; }
body.m2 .m2-news-list { list-style: none; margin: 0; padding: 0; }
body.m2 .m2-news-list > li { border-bottom: 1px solid var(--m2-line); }
body.m2 .m2-news-row, body.m2 .m2-news-list details > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 15px 6px; color: var(--m2-ink); text-decoration: none; font-family: var(--m2-gothic); border-radius: 12px; transition: background .3s ease; }
body.m2 .m2-news-list details > summary { cursor: pointer; list-style: none; }
body.m2 .m2-news-list details > summary::-webkit-details-marker { display: none; }
body.m2 a.m2-news-row:hover, body.m2 .m2-news-list details > summary:hover { background: rgba(255, 212, 38, .2); }
body.m2 .m2-news-list time { flex: none; width: 6.2em; font: 600 13px/1.6 var(--m2-en); letter-spacing: .04em; color: var(--m2-ink); }
body.m2 .m2-news-new { flex: none; font: 700 10px/1 var(--m2-en); font-style: normal; letter-spacing: .14em; background: var(--m2-ink); color: var(--m2-pop); padding: 5px 8px; border-radius: 6px; }
body.m2 .m2-news-tag { flex: none; font: 700 11px/1 var(--m2-gothic); padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(19, 20, 20, .3); white-space: nowrap; }
body.m2 .m2-news-tag.is-campaign { background: var(--m2-pop); border-color: var(--m2-pop); color: var(--m2-ink); }
body.m2 .m2-news-title { flex: 1 1 14em; min-width: 0; font: 500 15px/1.7 var(--m2-gothic); letter-spacing: .03em; }
body.m2 .m2-news-list summary > i { flex: none; margin-left: auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(19, 20, 20, .3); font: 400 16px/1 var(--m2-en); font-style: normal; transition: transform .25s ease; }
body.m2 .m2-news-list details[open] > summary > i { transform: rotate(45deg); }
body.m2 .m2-news-body { padding: 4px 6px 20px; font: 500 14px/1.9 var(--m2-gothic); letter-spacing: .02em; }
body.m2 .m2-news-body p { margin: 0 0 10px; }
body.m2 .m2-news-body dl { margin: 6px 0 10px; border-top: 1px solid var(--m2-line); }
body.m2 .m2-news-body dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--m2-line); }
body.m2 .m2-news-body dt, body.m2 .m2-news-body dd { margin: 0; }
body.m2 .m2-news-body dd { font-weight: 700; white-space: nowrap; }
body.m2 .m2-news-note { font-size: 12px; color: var(--m2-gray); }
body.m2 .m2-news-more { margin-top: 14px; }
body.m2 .m2-news-more > summary { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; padding: 10px 12px 10px 18px; border-radius: 999px; border: 1px solid rgba(19, 20, 20, .3); font: 700 13px/1 var(--m2-gothic); color: var(--m2-ink); transition: background .3s ease; }
body.m2 .m2-news-more > summary::-webkit-details-marker { display: none; }
body.m2 .m2-news-more > summary:hover { background: rgba(255, 212, 38, .28); }
body.m2 .m2-news-more > summary small { font: 600 11px/1 var(--m2-en); color: var(--m2-gray); }
body.m2 .m2-news-more > summary i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--m2-ink); color: #fff; font: 400 14px/1 var(--m2-en); font-style: normal; transition: transform .25s ease; }
body.m2 .m2-news-more[open] > summary i { transform: rotate(45deg); }
body.m2 .m2-news-more > .m2-news-list { margin-top: 10px; border-top: 1px solid var(--m2-line); }
@media (max-width: 760px) {
  body.m2 .m2-news-board { grid-template-columns: 1fr; gap: 10px; padding: 20px 16px; }
  body.m2 .m2-news-head { display: flex; align-items: center; gap: 12px; }
  body.m2 .m2-news-kicker { margin: 0; }
  body.m2 .m2-news-title { flex-basis: 100%; font-size: 14px; }
  body.m2 .m2-news-list time { width: auto; }
}

/* ---------- 4つの技術：写真全体が見える大きな写真。角を互い違いに丸めて、綾織（あやおり）の目のように並べる ---------- */
body.m2 .m2-craft2-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(34px, 5vw, 68px) clamp(16px, 3vw, 44px); }
body.m2 .m2-craft2 { position: relative; display: block; color: var(--m2-ink); text-decoration: none; }
body.m2 .m2-craft2-photo { --big: clamp(38px, 6.4vw, 96px); --small: clamp(12px, 1.6vw, 22px); aspect-ratio: 4 / 3; border-radius: var(--big) var(--small) var(--big) var(--small); }
body.m2 .m2-craft2-grid > li:is(:nth-child(4n+2), :nth-child(4n+3)) .m2-craft2-photo { border-radius: var(--small) var(--big) var(--small) var(--big); }
body.m2 .m2-craft2-photo.is-contain img { object-fit: contain; padding: 5%; }
body.m2 .m2-craft2-label { position: absolute; left: clamp(12px, 2vw, 26px); top: 0; margin-top: calc(75% - 32px); display: inline-flex; align-items: center; gap: 12px; padding: 9px 24px 9px 9px; border-radius: 999px; background: var(--m2-paper); }
body.m2 .m2-craft2-label b { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--m2-ink); color: var(--m2-paper); font: 600 14px/1 var(--m2-en); letter-spacing: .06em; }
body.m2 .m2-craft2-label strong { font: 600 clamp(20px, 2.3vw, 30px)/1.3 var(--m2-mincho); letter-spacing: .12em; }
body.m2 .m2-craft2-body { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 44px 4px 0 clamp(12px, 2vw, 26px); }
body.m2 .m2-craft2-body small { color: var(--m2-gray); font: 500 14px/1.85 var(--m2-gothic); letter-spacing: .03em; }
body.m2 .m2-craft2:hover .m2-arrow { background: var(--m2-ink); color: var(--m2-paper); }
@media (max-width: 680px) {
  body.m2 .m2-craft2-grid { grid-template-columns: 1fr; gap: 30px; }
  body.m2 .m2-craft2-label b { width: 40px; height: 40px; }
  body.m2 .m2-craft2-label { margin-top: calc(75% - 29px); }
  body.m2 .m2-craft2-body { padding-top: 40px; }
  body.m2 .m2-craft2-body small { font-size: 13px; }
  body.m2 .m2-craft2-body .m2-arrow { width: 40px; height: 40px; }
}

/* ---------- WORKS：施工前と施工後を並べる ---------- */
body.m2 .m2-works { padding: clamp(64px, 8vw, 120px) 0 clamp(56px, 7vw, 100px); color: #f1f1ed; overflow: hidden; }
body.m2 .m2-works-wrap { max-width: 1296px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 58px); }
body.m2 .m2-works-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(20px, 3vw, 34px); }
body.m2 .m2-works-head h2 { margin: 0; color: #fff; font: 600 clamp(34px, 4vw, 52px)/1.1 var(--m2-mincho); letter-spacing: .06em; }
body.m2 .m2-works-head p { margin: 12px 0 0; color: rgba(241, 241, 237, .74); font: 500 14px/1.8 var(--m2-gothic); letter-spacing: .03em; }
body.m2 .m2-works-nav { flex: none; display: flex; align-items: center; gap: 12px; font: 500 13px/1 var(--m2-en); letter-spacing: .1em; }
body.m2 .m2-works-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .38); background: transparent; color: #fff; font: 400 18px/1 var(--m2-en); cursor: pointer; transition: background .3s ease, color .3s ease; }
body.m2 .m2-works-nav button:hover { background: #f3f2ee; color: #131414; }
body.m2 .m2-works-track { --pad: clamp(16px, 4vw, 58px); display: flex; gap: clamp(12px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scroll-padding-inline: var(--pad); }
body.m2 .m2-works-track::-webkit-scrollbar { display: none; }
body.m2 .m2-work { flex: none; width: min(960px, 86%); scroll-snap-align: start; background: var(--m2-base-2); border-radius: clamp(22px, 3vw, 40px); padding: clamp(10px, 1.4vw, 16px); }
body.m2 .m2-work-pair { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1vw, 12px); }
body.m2 .m2-work-pair figure { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; border-radius: clamp(14px, 2vw, 28px); background: #101212; }
body.m2 .m2-work-pair img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.m2 .m2-work-pair figcaption { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(19, 20, 20, .82); color: #fff; font: 700 12px/1 var(--m2-gothic); letter-spacing: .06em; }
body.m2 .m2-work-pair figcaption b { font: 700 12px/1 var(--m2-en); letter-spacing: .16em; }
body.m2 .m2-work-pair .is-after figcaption { background: var(--m2-pop); color: var(--m2-ink); }
body.m2 .m2-work-arrow { position: absolute; left: 50%; top: 50%; z-index: 2; translate: -50% -50%; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #f3f2ee; color: #131414; border: 5px solid var(--m2-base-2); }
body.m2 .m2-work-copy { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: clamp(16px, 2vw, 24px) clamp(8px, 1.6vw, 20px) clamp(8px, 1.2vw, 14px); }
body.m2 .m2-work-copy h3 { margin: 0; color: #fff; font: 600 clamp(19px, 2.2vw, 28px)/1.5 var(--m2-mincho); letter-spacing: .06em; }
body.m2 .m2-work-copy p { margin: 6px 0 0; color: rgba(241, 241, 237, .74); font: 500 13px/1.7 var(--m2-gothic); letter-spacing: .03em; }
body.m2 .m2-work-price { flex: none; margin: 0; text-align: right; white-space: nowrap; }
body.m2 .m2-work-copy .m2-work-price { margin: 0; }
body.m2 .m2-work-price span { display: block; font: 500 11px/1.4 var(--m2-gothic); color: rgba(241, 241, 237, .62); }
body.m2 .m2-work-price strong { font: 600 clamp(20px, 2.4vw, 30px)/1.3 var(--m2-en); color: #fff; letter-spacing: .02em; }
body.m2 .m2-work-price strong.is-quote { font: 700 16px/1.6 var(--m2-gothic); }
body.m2 .m2-work-price small { margin-left: 6px; font: 500 11px/1 var(--m2-gothic); color: rgba(241, 241, 237, .62); }
body.m2 .m2-works-note { margin: 18px 0 22px; color: rgba(241, 241, 237, .56); font: 500 11px/1.8 var(--m2-gothic); }
body.m2 .m2-works-more { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 6px 8px 6px 24px; border-radius: 999px; border: 1px solid rgba(243, 242, 238, .45); color: #f3f2ee; text-decoration: none; font: 700 14px/1.4 var(--m2-gothic); letter-spacing: .06em; transition: background .3s ease, color .3s ease; }
body.m2 .m2-works-more .m2-arrow { width: 42px; height: 42px; color: inherit; }
body.m2 .m2-works-more:hover { background: #f3f2ee; color: #131414; }
body.m2 .m2-works-more:hover .m2-arrow { background: #131414; color: #f3f2ee; }
@media (max-width: 680px) {
  body.m2 .m2-works-head { flex-direction: column; align-items: flex-start; }
  body.m2 .m2-work { width: 90%; }
  body.m2 .m2-work-pair figure { aspect-ratio: 1 / 1; }
  body.m2 .m2-work-pair figcaption { left: 7px; top: 7px; padding: 6px 9px; font-size: 10px; gap: 5px; }
  body.m2 .m2-work-pair figcaption b { font-size: 10px; letter-spacing: .1em; }
  body.m2 .m2-work-arrow { width: 40px; height: 40px; border-width: 4px; }
  body.m2 .m2-work-arrow svg { width: 15px; height: 15px; }
  body.m2 .m2-work-copy { flex-direction: column; align-items: flex-start; gap: 10px; }
  body.m2 .m2-work-price { text-align: left; }
}

/* ---------- お問い合わせ：お客様の区分・営業お断り ---------- */
body.m2 .m2-who { min-width: 0; margin: 0 0 22px; padding: 0; border: 0; }
body.m2 .m2-who legend { margin: 0 0 10px; padding: 0; color: #f1f1ed; font: 700 14px/1.6 var(--m2-gothic); letter-spacing: .04em; }
body.m2 .m2-who legend b, body.m2 .m2-nosales-check b { color: var(--m2-pop); font-weight: 700; }
body.m2 .m2-who-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
body.m2 .m2-who-options label { position: relative; display: block; margin: 0; cursor: pointer; }
body.m2 .m2-who-options input { position: absolute; inset: 0; width: 100% !important; height: 100% !important; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
body.m2 .m2-who-options label > span { position: relative; display: block; height: 100%; padding: 14px 14px 14px 46px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 18px; color: #f1f1ed; transition: background .25s ease, color .25s ease, border-color .25s ease; }
body.m2 .m2-who-options label > span::before { content: ""; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .65); }
body.m2 .m2-who-options label:hover > span { border-color: rgba(255, 255, 255, .6); }
body.m2 .m2-who-options input:checked + span { background: #f3f2ee; border-color: #f3f2ee; color: #131414; }
body.m2 .m2-who-options input:checked + span::before { border-color: #131414; background: radial-gradient(circle, #131414 0 4.5px, transparent 5px); }
body.m2 .m2-who-options input:focus-visible + span { outline: 2px solid var(--m2-pop); outline-offset: 3px; }
body.m2 .m2-who-options strong { display: block; font: 700 15px/1.5 var(--m2-gothic); letter-spacing: .04em; }
body.m2 .m2-who-options small { display: block; margin-top: 2px; font: 500 11.5px/1.6 var(--m2-gothic); opacity: .76; }
body.m2 .m2-form-error { display: block; margin: 8px 0 0; color: #ffb9ad; font: 500 13px/1.6 var(--m2-gothic); }
body.m2 .m2-form-error[hidden] { display: none; }
body.m2 .m2-nosales { margin: 22px 0 0; padding: 16px 18px; border-radius: 18px; border: 1px dashed rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .04); }
body.m2 .m2-nosales-note { margin: 0 0 12px; color: rgba(241, 241, 237, .8); font: 500 12.5px/1.85 var(--m2-gothic); letter-spacing: .02em; }
body.m2 .m2-nosales-note strong { display: block; color: #fff; font-weight: 700; }
body.m2 .m2-nosales-check { display: flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; color: #fff; font: 700 14px/1.6 var(--m2-gothic); }
body.m2 .m2-nosales-check input { flex: none; width: 20px !important; height: 20px !important; min-height: 0; margin: 0; padding: 0; accent-color: var(--m2-pop); appearance: auto; -webkit-appearance: checkbox; }
body.m2 .m2-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 680px) {
  body.m2 .m2-who-options { grid-template-columns: 1fr; gap: 8px; }
  body.m2 .m2-who-options label > span { padding-block: 11px; }
  body.m2 .m2-who-options label > span::before { top: 14px; }
}

/* ---------- 提携ショップ募集 ---------- */
body.m2 .m2-partner { padding: clamp(28px, 4vw, 56px) var(--m2-inset) 0; }
body.m2 .m2-partner-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(18px, 3.4vw, 52px); align-items: center;
  background: var(--m2-base-2); color: #f1f1ed; border-radius: var(--m2-r-sheet); padding: clamp(14px, 1.8vw, 22px) clamp(14px, 1.8vw, 22px) clamp(14px, 1.8vw, 22px) clamp(24px, 5vw, 76px); }
body.m2 .m2-partner-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 8px 16px; border-radius: 999px; background: var(--m2-pop); color: var(--m2-ink); font: 700 13px/1 var(--m2-gothic); letter-spacing: .16em; }
body.m2 .m2-partner-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--m2-ink); }
body.m2 .m2-partner h2 { margin: 0 0 14px; color: #fff; font: 600 clamp(24px, 3.1vw, 40px)/1.45 var(--m2-mincho); letter-spacing: .06em; }
body.m2 .m2-partner-copy > p:not(.m2-partner-badge) { margin: 0 0 24px; color: rgba(241, 241, 237, .82); font: 500 15px/1.9 var(--m2-gothic); letter-spacing: .03em; }
body.m2 .m2-partner-cta { display: inline-flex; align-items: center; gap: 14px; min-height: 58px; padding: 6px 8px 6px 26px; border-radius: 999px; background: #f3f2ee; color: #131414; text-decoration: none; font: 700 15px/1.4 var(--m2-gothic); letter-spacing: .06em; transition: transform .35s var(--m2-ease); }
body.m2 .m2-partner-cta .m2-arrow { width: 44px; height: 44px; background: #131414; color: #f3f2ee; border-color: transparent; }
body.m2 .m2-partner-cta:hover { transform: translateY(-2px); }
body.m2 .m2-partner-cta:hover .m2-arrow { background: #131414; color: var(--m2-pop); }
body.m2 .m2-partner-photo { aspect-ratio: 5 / 4; border-radius: calc(var(--m2-r-sheet) - 12px); }
@media (max-width: 760px) {
  body.m2 .m2-partner-inner { grid-template-columns: 1fr; padding: 26px 14px 14px; }
  body.m2 .m2-partner-copy { padding-inline: 8px; }
  body.m2 .m2-partner-photo { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
  body.m2 :is(.m2-campaign-cta, .m2-partner-cta, .m2-news-row, .m2-works-nav button) { transition: none; }
}
@media (max-width: 760px) {
  body.m2 .m2-news-list details > summary { position: relative; padding-right: 44px; }
  body.m2 .m2-news-list details > summary > i { position: absolute; right: 6px; top: 12px; margin: 0; }
}

/* ==========================================================
   2026-12-03 追加：間を詰めて、ページを長くしない
   ・欄の上下の余白を小さく　・見出しを内容の横に置く（PC）　・4つの技術はスマホで横に送る
   ・映画風の一文のスクロール量を短く　・流れる一文を小さく
   ========================================================== */
body.m2 .m2-sec { padding-block: clamp(36px, 5vw, 72px); }
body.m2 .m2-sec + .m2-sec { padding-top: 0; }
body.m2 .m2-head { margin-bottom: clamp(18px, 2.4vw, 30px); }
body.m2 .m2-head h2 { font-size: clamp(26px, 3.2vw, 40px); }
body.m2 .m2-head p { margin-top: 8px; font-size: 14px; }
body.m2 .m2-targets { padding-bottom: clamp(30px, 4vw, 56px); }
body.m2 .m2-craft { padding-bottom: clamp(30px, 4vw, 56px); }

/* 映画風の一文：スクロールする長さを短く */
body.m2 .cine { height: 190vh; }
@media (max-width: 600px) { body.m2 .cine { height: 180vh; } }
@media (prefers-reduced-motion: reduce) { body.m2 .cine { height: auto; } }

/* PC：見出しを左、内容を右に置いて高さを抑える（4つの技術・ご相談の流れ） */
@media (min-width: 1000px) {
  body.m2 .m2-craft .m2-wrap, body.m2 .m2-flow .m2-wrap { display: grid; grid-template-columns: minmax(220px, .32fr) minmax(0, 1fr); column-gap: clamp(28px, 4vw, 64px); align-items: start; }
  body.m2 .m2-craft .m2-head, body.m2 .m2-flow .m2-head { margin-bottom: 0; position: sticky; top: 104px; }
  body.m2 .m2-craft2-grid { gap: clamp(22px, 2.6vw, 36px) clamp(14px, 2vw, 28px); }
  body.m2 .m2-craft2-body { padding-top: 38px; }
  body.m2 .m2-craft2-body small { font-size: 13px; }
  body.m2 .m2-flow .m2-wrap { grid-template-rows: auto 1fr; }
  body.m2 .m2-flow .m2-head { grid-column: 1; grid-row: 1; position: static; }
  body.m2 .m2-flow .m2-wrap > p { grid-column: 1; grid-row: 2; margin: 22px 0 0; }
  body.m2 .m2-flow-list { grid-column: 2; grid-row: 1 / span 2; margin: 6px 0 0; gap: clamp(14px, 2vw, 28px); }
  body.m2 .m2-flow-no { width: 54px; height: 54px; font-size: 19px; }
  body.m2 .m2-flow-list > li::before { top: 27px; left: 54px; right: calc(clamp(14px, 2vw, 28px) * -1); }
  body.m2 .m2-flow-list strong { margin-top: 14px; }
}

/* スマホ：4つの技術は横に送る（写真は大きいまま、縦に長くしない） */
@media (max-width: 680px) {
  body.m2 .m2-craft2-grid { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(clamp(20px, 5vw, 72px) * -1); padding-inline: clamp(20px, 5vw, 72px); scroll-padding-inline: clamp(20px, 5vw, 72px); }
  body.m2 .m2-craft2-grid::-webkit-scrollbar { display: none; }
  body.m2 .m2-craft2-grid > li { flex: none; width: 80%; scroll-snap-align: start; }
}

/* キャンペーンとお知らせ：少し低く */
body.m2 .m2-campaign-visual .m2-photo { aspect-ratio: 3 / 2; }
body.m2 .m2-campaign h3 { font-size: clamp(25px, 3.2vw, 42px); margin-bottom: 10px; }
body.m2 .m2-campaign-lead { margin-bottom: 14px; }
body.m2 .m2-campaign-points { margin-bottom: 18px; }
body.m2 .m2-news-board { margin-top: clamp(14px, 2vw, 24px); padding: clamp(18px, 2.4vw, 30px); }
body.m2 .m2-news-row, body.m2 .m2-news-list details > summary { padding-block: 12px; }

/* WORKS・流れる一文・お問い合わせ・提携・会社・フッター */
body.m2 .m2-works { padding: clamp(40px, 5vw, 72px) 0 clamp(34px, 4.4vw, 60px); }
body.m2 .m2-works-head { margin-bottom: clamp(16px, 2vw, 26px); }
body.m2 .m2-works-head h2 { font-size: clamp(30px, 3.4vw, 44px); }
body.m2 .m2-works-note { margin: 14px 0 16px; }
body.m2 .m2-sheet .faq-section { padding-block: clamp(8px, 1.6vw, 20px) clamp(36px, 5vw, 68px); }
body.m2 .m2-marquee { padding: clamp(26px, 3.6vw, 48px) 0 0; }
body.m2 .m2-marquee-track span { font-size: clamp(40px, 6.4vw, 100px); }
body.m2 .contact.contact-inline { padding-block: clamp(26px, 3.6vw, 48px) clamp(20px, 3vw, 40px); }
body.m2 .m2-who { margin-bottom: 16px; }
body.m2 .m2-nosales { margin-top: 16px; padding: 14px 16px; }
body.m2 .m2-partner { padding-top: clamp(14px, 2vw, 28px); }
body.m2 .m2-partner-photo { aspect-ratio: 16 / 9; }
body.m2 .m2-partner h2 { font-size: clamp(22px, 2.8vw, 36px); margin-bottom: 10px; }
body.m2 .m2-partner-copy > p:not(.m2-partner-badge) { margin-bottom: 18px; }
body.m2 .m2-sheet-company { margin-top: clamp(14px, 2vw, 28px); }
body.m2 .m2-sheet .company-scene { padding-block: clamp(36px, 4.6vw, 68px); }
body.m2 footer { padding-block: clamp(30px, 4vw, 52px); }

/* お問い合わせ：空きを詰める。PCは入力欄を左、写真・確認・送信を右に並べて高さを抑える */
body.m2 #inquiry-photo-preview:empty, body.m2 #inquiry-photo-error:empty { display: none; }
body.m2 .inquiry-photos { margin-top: 16px; }
body.m2 .inquiry-panel textarea[name="message"] { min-height: 108px; }
@media (min-width: 1000px) {
  body.m2 #inquiry-form { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); column-gap: clamp(24px, 3vw, 44px); align-items: start; }
  body.m2 #inquiry-form > * { grid-column: 1 / -1; min-width: 0; }
  body.m2 #inquiry-form > .inquiry-grid { grid-column: 1; grid-row: span 4; }
  body.m2 #inquiry-form > :is(.inquiry-extra, .inquiry-photos, .m2-nosales, .inquiry-actions) { grid-column: 2; }
  body.m2 #inquiry-form > .inquiry-photos { margin-top: 12px; }
  body.m2 #inquiry-form > .m2-nosales { margin-top: 14px; }
  body.m2 #inquiry-form > .inquiry-actions { margin-top: 14px; }
  body.m2 .inquiry-panel textarea[name="message"] { min-height: 232px; }
}
@media (max-width: 680px) {
  /* スマホ：お客様の区分は名前だけを横に3つ並べる */
  body.m2 .m2-who-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  body.m2 .m2-who-options label > span { padding: 13px 4px; text-align: center; border-radius: 14px; }
  body.m2 .m2-who-options label > span::before { display: none; }
  body.m2 .m2-who-options strong { font-size: 13px; letter-spacing: 0; }
  body.m2 .m2-who-options small { display: none; }
  body.m2 .m2-flow-list > li { padding-bottom: 20px; }
}

/* ==========================================================
   2026-12-03 追加：見出しを「タイトル」らしく（太いゴシック＋短い太線）。
   冒頭の「直せないを直す。」と映画風の一文は明朝のまま。項目の名前（診断・自転車など）も明朝のまま。
   ========================================================== */
body.m2 :is(.m2-head h2, .m2-news-head h2, .m2-works-head h2, .m2-partner h2, .m2-sheet .faq-heading h2, .m2-sheet .company-scene h2, #contact-title, .m2-campaign h3) {
  font-family: var(--m2-gothic); font-weight: 900; letter-spacing: .04em; line-height: 1.32;
}
body.m2 .m2-head h2 { font-size: clamp(28px, 3.3vw, 44px); }
body.m2 .m2-head h2::before, body.m2 .m2-works-head h2::before { content: ""; display: block; width: 36px; height: 6px; margin-bottom: 14px; border-radius: 3px; background: currentColor; }
body.m2 .m2-head p { font-weight: 700; color: #4d504f; }
body.m2 .m2-works-head h2 { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: .06em; }
body.m2 .m2-news-head h2 { font-size: clamp(24px, 2.6vw, 34px); }
body.m2 .m2-campaign h3 { font-size: clamp(25px, 3.3vw, 44px); letter-spacing: .03em; }
body.m2 .m2-partner h2 { letter-spacing: .03em; }
body.m2 .m2-sheet .faq-heading h2, body.m2 .m2-sheet .company-scene h2, body.m2 #contact-title { font-size: clamp(26px, 3vw, 40px); }

/* キャンペーンは「対象から探す」のすぐ下、4つの技術の上 */
body.m2 .m2-campaign-sec { padding-bottom: clamp(30px, 4vw, 56px); }
body.m2 .m2-news { padding-top: 0; }
body.m2 .m2-news .m2-news-board { margin-top: 0; }
@media (min-width: 1000px) {
  /* 見出しを左に置く欄は、1行に収まる大きさにする */
  body.m2 .m2-craft .m2-head h2, body.m2 .m2-flow .m2-head h2 { font-size: clamp(26px, 2.5vw, 36px); white-space: nowrap; }
}
/* キャンペーンの注記（※・小さめ） */
body.m2 .m2-campaign-points { margin-bottom: 8px; }
body.m2 .m2-campaign-note { margin: 0 0 18px; color: rgba(255, 255, 255, .72); font: 500 11.5px/1.7 var(--m2-gothic); letter-spacing: .02em; }

/* キャンペーン：通常の送料 → 0円、ボタンを2つ並べる（2026-12-03） */
body.m2 .sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
body.m2 .m2-campaign-pop { width: clamp(118px, 13.5vw, 172px); }
body.m2 .m2-campaign-pop s { display: block; margin: 3px 0 1px; font: 700 clamp(10.5px, 1.05vw, 13px)/1.2 var(--m2-gothic); text-decoration: line-through; text-decoration-thickness: 2px; opacity: .78; white-space: nowrap; }
body.m2 .m2-campaign-pop strong { font-size: clamp(42px, 5vw, 68px); }
body.m2 .m2-campaign-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
body.m2 .m2-campaign-sub { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 6px 8px 6px 24px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .55);
  color: #fff; text-decoration: none; font: 700 15px/1.4 var(--m2-gothic); letter-spacing: .06em; transition: background .3s ease, color .3s ease, transform .35s var(--m2-ease); }
body.m2 .m2-campaign-sub .m2-arrow { width: 44px; height: 44px; color: inherit; border-color: rgba(255, 255, 255, .55); }
body.m2 .m2-campaign-sub:hover { background: #f3f2ee; color: #131414; transform: translateY(-2px); }
body.m2 .m2-campaign-sub:hover .m2-arrow { background: #131414; color: #f3f2ee; border-color: transparent; }
body.m2 .m2-campaign-note { line-height: 1.8; }
@media (max-width: 760px) {
  body.m2 .m2-campaign-actions { flex-direction: column; }
  body.m2 .m2-campaign-sub { width: 100%; justify-content: space-between; }
}

/* ---------- 全画面メニュー（全ページ共通・2026-12-03）：右上の丸いボタンから、明るい面が広がる ---------- */
html.m2-menu-open { overflow: hidden; }
body.m2 dialog.m2-menu {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  overflow: hidden; background: transparent; color: var(--m2-ink); font-family: var(--m2-gothic);
}
body.m2 dialog.m2-menu:not([open]) { display: none; }
body.m2 dialog.m2-menu::backdrop { background: rgba(12, 14, 14, .68); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: m2-menu-fade .45s ease both; }
body.m2 dialog.m2-menu.is-closing::backdrop { animation: m2-menu-fade-out .3s ease both; }
body.m2 .m2-menu-panel {
  position: absolute; inset: var(--m2-inset); display: flex; flex-direction: column;
  padding: max(8px, calc(var(--by, 21px) - var(--m2-inset))) clamp(20px, 5vw, 76px) clamp(16px, 2.6vh, 30px);
  border-radius: clamp(26px, 3.6vw, 52px); background: var(--m2-paper);
  overflow: hidden auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
body.m2 .m2-menu[open] .m2-menu-panel { animation: m2-menu-in .66s cubic-bezier(.3, .72, .2, 1) both; }
body.m2 .m2-menu.is-closing .m2-menu-panel { animation: m2-menu-out .3s cubic-bezier(.6, 0, .85, .35) both; }
@keyframes m2-menu-in { from { clip-path: circle(22px at var(--ox, 100%) var(--oy, 0%)); } to { clip-path: circle(var(--or, 150vmax) at var(--ox, 100%) var(--oy, 0%)); } }
@keyframes m2-menu-out { from { clip-path: circle(var(--or, 150vmax) at var(--ox, 100%) var(--oy, 0%)); } to { clip-path: circle(0px at var(--ox, 100%) var(--oy, 0%)); } }
@keyframes m2-menu-fade { from { opacity: 0; } }
@keyframes m2-menu-fade-out { to { opacity: 0; } }

/* 閉じるボタン：開くボタンと同じ場所。2本線が × になる */
body.m2 .m2-menu-close {
  position: absolute; z-index: 2; left: var(--bx, calc(100% - 78px)); top: var(--by, 21px); width: var(--bs, 46px); height: var(--bs, 46px);
  display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--m2-ink); color: var(--m2-paper); cursor: pointer;
  transition: transform .3s var(--m2-ease);
}
body.m2 .m2-menu-close:hover { transform: scale(1.06); }
body.m2 .m2-menu-close:focus-visible { outline: 2px solid var(--m2-ink); outline-offset: 3px; }
body.m2 .m2-menu-close span { position: relative; display: block; width: 18px; height: 18px; }
body.m2 .m2-menu-close span::before, body.m2 .m2-menu-close span::after { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 1.5px; margin-top: -.75px; border-radius: 2px; background: currentColor; }
body.m2 .m2-menu-close span::before { transform: rotate(45deg); }
body.m2 .m2-menu-close span::after { transform: rotate(-45deg); }
body.m2 .m2-menu[open] .m2-menu-close { animation: m2-menu-btn .5s var(--m2-ease) both; }
body.m2 .m2-menu[open] .m2-menu-close span::before { animation: m2-menu-x1 .5s var(--m2-ease) both; }
body.m2 .m2-menu[open] .m2-menu-close span::after { animation: m2-menu-x2 .5s var(--m2-ease) both; }
body.m2 .m2-menu.is-closing .m2-menu-close { animation: m2-menu-fade-out .2s ease both; }
@keyframes m2-menu-btn { from { background: #f3f2ee; color: #131414; } }
@keyframes m2-menu-x1 { from { transform: translateY(-3.25px) rotate(0); } }
@keyframes m2-menu-x2 { from { transform: translateY(3.25px) rotate(0); } }

/* 中身は、少しずつ遅れて出る */
body.m2 .m2-menu[open] .m2-mi { animation: m2-menu-item .6s var(--m2-ease) both; animation-delay: calc(.16s + var(--i, 0) * .028s); }
body.m2 .m2-menu.is-closing .m2-mi { animation: none; }
@keyframes m2-menu-item { from { opacity: 0; translate: 0 18px; } }

body.m2 .m2-menu a { color: inherit; text-decoration: none; }
body.m2 .m2-menu a:focus-visible { outline: 2px solid var(--m2-ink); outline-offset: 3px; border-radius: 8px; }
body.m2 .m2-menu ul { list-style: none; margin: 0; padding: 0; }
body.m2 .m2-menu-top { flex: none; display: flex; align-items: center; min-height: var(--bs, 46px); }
body.m2 .m2-menu-logo { display: block; }
body.m2 .m2-menu .m2-menu-logo img { display: block; width: clamp(128px, 12.5vw, 164px); max-width: none; height: auto; }
body.m2 .m2-menu-grid {
  flex: 1 0 auto; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 4.6vw, 76px); align-content: center;
  width: 100%; max-width: 1280px; margin: 0 auto; padding: clamp(14px, 3vh, 36px) 0 clamp(16px, 3vh, 34px);
}
body.m2 .m2-menu-label { display: flex; align-items: center; gap: 10px; margin: 0 0 clamp(10px, 1.7vh, 18px); color: var(--m2-gray); font: 900 13px/1.4 var(--m2-gothic); letter-spacing: .1em; }
body.m2 .m2-menu-label::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--m2-ink); }
body.m2 .m2-menu-arrow {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(19, 20, 20, .26); font-style: normal;
  transition: background .3s var(--m2-ease), color .3s var(--m2-ease), border-color .3s var(--m2-ease);
}
body.m2 .m2-menu-arrow svg { display: block; transition: transform .35s var(--m2-ease); }
body.m2 .m2-menu a:hover .m2-menu-arrow { background: var(--m2-ink); border-color: var(--m2-ink); color: var(--m2-paper); }
body.m2 .m2-menu a:hover .m2-menu-arrow svg { transform: translateX(2px); }

/* 対象から探す：写真つきの6枚 */
body.m2 .m2-menu-targets ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.4vh, 24px) clamp(10px, 1.2vw, 18px); }
body.m2 .m2-menu-target { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; align-items: start; }
body.m2 .m2-menu-ph { grid-column: 1 / -1; display: block; height: clamp(84px, 18.5vh, 190px); overflow: hidden; border-radius: clamp(16px, 1.8vw, 24px); background: var(--m2-paper-2); transform: translateZ(0); }
body.m2 .m2-menu-ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--m2-ease-io); }
body.m2 .m2-menu-target:hover .m2-menu-ph img { transform: scale(1.07); }
body.m2 .m2-menu-tx { display: block; min-width: 0; padding: 10px 0 0 2px; }
body.m2 .m2-menu-tx strong { display: block; font: 600 clamp(18px, 1.55vw, 22px)/1.3 var(--m2-mincho); letter-spacing: .04em; }
body.m2 .m2-menu-tx small { display: block; margin-top: 3px; color: var(--m2-gray); font: 500 11.5px/1.55 var(--m2-gothic); text-wrap: pretty; word-break: auto-phrase; }
body.m2 .m2-menu-target .m2-menu-arrow { margin-top: 9px; }

/* サービス・ご案内：文字の一覧 */
body.m2 .m2-menu-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 44px); align-content: start; }
body.m2 .m2-menu-list { border-top: 1px solid var(--m2-line); }
body.m2 .m2-menu-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: clamp(46px, 6.8vh, 62px); padding: 6px 0 6px 2px;
  border-bottom: 1px solid var(--m2-line); font: 700 clamp(15px, 1.2vw, 17px)/1.4 var(--m2-gothic); letter-spacing: .03em;
}
body.m2 .m2-menu-list a b { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--m2-pop); font: 900 10.5px/1.5 var(--m2-gothic); letter-spacing: .04em; vertical-align: 2px; }
body.m2 .m2-menu-list .m2-menu-arrow { width: 28px; height: 28px; border-color: transparent; }
body.m2 .m2-menu a[aria-current="page"] :is(.m2-menu-tx strong, span:first-child)::after {
  content: "表示中"; display: inline-block; margin-left: 8px; padding: 1px 8px; border: 1px solid currentColor; border-radius: 999px;
  font: 700 10px/1.6 var(--m2-gothic); letter-spacing: .04em; vertical-align: 3px; opacity: .62;
}

/* 下の帯：キャンペーン・電話・お問い合わせ */
body.m2 .m2-menu-foot { flex: none; display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); width: 100%; max-width: 1280px; margin: 0 auto; padding-top: clamp(12px, 2vh, 20px); border-top: 1px solid var(--m2-line); }
body.m2 .m2-menu-campaign { display: flex; align-items: center; gap: 12px; min-height: 54px; margin-right: auto; padding: 6px 8px 6px 10px; border-radius: 999px; background: var(--m2-pop); font: 700 14px/1.4 var(--m2-gothic); letter-spacing: .02em; }
body.m2 .m2-menu-campaign b { flex: none; padding: 5px 12px; border-radius: 999px; background: var(--m2-ink); color: var(--m2-pop); font: 900 11px/1.5 var(--m2-gothic); letter-spacing: .08em; }
body.m2 .m2-menu-campaign strong { margin-left: 6px; font: 900 20px/1 var(--m2-gothic); }
body.m2 .m2-menu-campaign span i, body.m2 .m2-menu-tel small span { display: inline-block; font-style: normal; }
body.m2 .m2-menu-campaign span i:first-child { margin-right: .8em; }
body.m2 .m2-menu-campaign .m2-menu-arrow { width: 38px; height: 38px; border-color: rgba(19, 20, 20, .4); }
body.m2 .m2-menu-tel { margin: 0; text-align: right; }
body.m2 .m2-menu-tel a { display: block; font: 700 22px/1.15 var(--m2-en); letter-spacing: .02em; }
body.m2 .m2-menu-tel small { display: block; margin-top: 2px; color: var(--m2-gray); font: 500 11px/1.5 var(--m2-gothic); }
body.m2 .m2-menu-cta { display: flex; align-items: center; gap: 18px; min-height: 58px; padding: 6px 7px 6px 28px; border-radius: 999px; background: var(--m2-ink); color: var(--m2-paper); font: 700 16px/1.4 var(--m2-gothic); letter-spacing: .06em; transition: transform .3s var(--m2-ease); }
body.m2 .m2-menu a.m2-menu-cta { color: var(--m2-paper); }
body.m2 .m2-menu-cta:hover { transform: translateY(-2px); }
body.m2 .m2-menu-cta .m2-menu-arrow, body.m2 .m2-menu a.m2-menu-cta:hover .m2-menu-arrow { width: 44px; height: 44px; border-color: transparent; background: var(--m2-paper); color: var(--m2-ink); }

@media (max-width: 1040px) {
  body.m2 .m2-menu-grid { grid-template-columns: minmax(0, 1fr); gap: clamp(18px, 3vh, 30px); align-content: start; }
  body.m2 .m2-menu-ph { height: clamp(80px, 13vh, 132px); }
}
@media (max-width: 760px) {
  body.m2 .m2-menu-panel { padding-left: 16px; padding-right: 16px; padding-bottom: 16px; border-radius: 28px; }
  body.m2 .m2-menu-grid { gap: 18px; padding: 14px 0 16px; }
  body.m2 .m2-menu-label { margin-bottom: 9px; font-size: 12px; }
  body.m2 .m2-menu-targets ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  body.m2 .m2-menu-target { grid-template-columns: 54px minmax(0, 1fr); align-items: center; column-gap: 11px; padding: 6px; border-radius: 19px; background: #fff; }
  body.m2 .m2-menu-ph { grid-column: auto; width: 54px; height: 54px; border-radius: 14px; }
  body.m2 .m2-menu-tx { padding: 0; }
  body.m2 .m2-menu-tx strong { font-size: 15.5px; letter-spacing: 0; white-space: nowrap; }
  body.m2 .m2-menu a[aria-current="page"] .m2-menu-tx strong::after { margin-left: 6px; padding: 0 6px; font-size: 9.5px; }
  body.m2 .m2-menu-tx small, body.m2 .m2-menu-target .m2-menu-arrow, body.m2 .m2-menu-list .m2-menu-arrow { display: none; }
  body.m2 .m2-menu-side { gap: 16px; }
  body.m2 .m2-menu-list a { min-height: 43px; padding: 4px 0; font-size: 14px; }
  body.m2 .m2-menu-foot { flex-wrap: wrap; gap: 10px 12px; padding-top: 14px; }
  body.m2 .m2-menu-campaign { width: 100%; margin: 0; min-height: 50px; font-size: 13px; gap: 9px; }
  body.m2 .m2-menu-campaign span { flex: 1; }
  body.m2 .m2-menu-campaign strong { font-size: 18px; }
  body.m2 .m2-menu-campaign .m2-menu-arrow { width: 34px; height: 34px; }
  body.m2 .m2-menu-tel { flex: 1; text-align: left; }
  body.m2 .m2-menu-tel a { font-size: 19px; }
  body.m2 .m2-menu-tel small { font-size: 10px; }
  body.m2 .m2-menu-cta { min-height: 52px; gap: 10px; padding-left: 18px; font-size: 15px; letter-spacing: .03em; }
  body.m2 .m2-menu-cta .m2-menu-arrow, body.m2 .m2-menu a.m2-menu-cta:hover .m2-menu-arrow { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  body.m2 dialog.m2-menu::backdrop, body.m2 .m2-menu[open] .m2-menu-panel, body.m2 .m2-menu[open] .m2-menu-close, body.m2 .m2-menu[open] .m2-menu-close span::before,
  body.m2 .m2-menu[open] .m2-menu-close span::after, body.m2 .m2-menu[open] .m2-mi { animation: none; }
}

/* 線だけのボタン（2番目の行き先に使う）と、トップの会社の欄から会社情報のページへの入口 */
body.m2 .m2-button.is-line { min-height: 54px; padding: 6px 7px 6px 22px; gap: 14px; background: transparent; color: var(--m2-ink); border: 1px solid rgba(19, 20, 20, .34); font-size: 14px; letter-spacing: .05em; }
body.m2 .m2-button.is-line .m2-arrow { width: 40px; height: 40px; background: var(--m2-ink); color: var(--m2-paper); }
body.m2 .m2-button.is-line:hover .m2-arrow { background: var(--m2-ink); color: var(--m2-paper); }
body.m2 .m2-company-more { margin: clamp(16px, 2vw, 24px) 0 0; }

/* ---------- キャンペーンのお知らせ（ポップアップ・2026-12-03）：開いて少ししてから、画面の真ん中に1回だけ出す ---------- */
body.m2 dialog.m2-pop {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 16px; border: 0;
  display: grid; place-items: center; overflow: auto; overscroll-behavior: contain; background: transparent; color: var(--m2-ink); font-family: var(--m2-gothic);
}
body.m2 dialog.m2-pop:not([open]) { display: none; }
body.m2 dialog.m2-pop::backdrop { background: rgba(12, 14, 14, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: m2-menu-fade .35s ease both; }
body.m2 dialog.m2-pop.is-closing::backdrop { animation: m2-menu-fade-out .24s ease both; }
body.m2 .m2-pop-card { position: relative; width: min(100%, 430px); border-radius: clamp(26px, 4vw, 36px); background: var(--m2-paper); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
body.m2 .m2-pop[open] .m2-pop-card { animation: m2-pop-in .55s cubic-bezier(.2, 1.25, .35, 1) both; }
body.m2 .m2-pop.is-closing .m2-pop-card { animation: m2-pop-out .24s ease both; }
@keyframes m2-pop-in { from { opacity: 0; transform: translateY(26px) scale(.92); } }
@keyframes m2-pop-out { to { opacity: 0; transform: translateY(14px) scale(.97); } }
body.m2 .m2-pop-close { position: absolute; z-index: 3; right: 12px; top: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--m2-ink); color: var(--m2-paper); cursor: pointer; transition: transform .3s var(--m2-ease); }
body.m2 .m2-pop-close:hover { transform: scale(1.08); }
body.m2 .m2-pop-close:focus-visible, body.m2 .m2-pop-cta:focus-visible, body.m2 .m2-pop-later:focus-visible { outline: 2px solid var(--m2-ink); outline-offset: 3px; }
body.m2 .m2-pop-close span { position: relative; display: block; width: 16px; height: 16px; }
body.m2 .m2-pop-close span::before, body.m2 .m2-pop-close span::after { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 1.5px; margin-top: -.75px; border-radius: 2px; background: currentColor; }
body.m2 .m2-pop-close span::before { transform: rotate(45deg); }
body.m2 .m2-pop-close span::after { transform: rotate(-45deg); }
body.m2 .m2-pop-photo { position: relative; margin: 10px 10px 0; }
body.m2 .m2-pop-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: clamp(18px, 3vw, 26px); }
/* 黄色い丸の「0円」：出た直後に、ぽんと弾む */
body.m2 .m2-pop-badge { position: absolute; left: 14px; bottom: -34px; z-index: 2; margin: 0; display: grid; place-content: center; width: 108px; height: 108px; border-radius: 50%; background: var(--m2-pop); color: var(--m2-ink); text-align: center; rotate: -8deg; box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
body.m2 .m2-pop[open] .m2-pop-badge { animation: m2-pop-badge .7s cubic-bezier(.2, 1.5, .4, 1) .28s both; }
@keyframes m2-pop-badge { from { opacity: 0; scale: .4; rotate: -30deg; } }
body.m2 .m2-pop-badge small { display: block; font: 900 12px/1.2 var(--m2-gothic); letter-spacing: .08em; }
body.m2 .m2-pop-badge strong { display: block; font: 700 50px/.95 var(--m2-en); letter-spacing: -.02em; }
body.m2 .m2-pop-badge strong i { margin-left: 2px; font: 900 .36em/1 var(--m2-gothic); font-style: normal; }
body.m2 .m2-pop-body { padding: 18px clamp(18px, 5vw, 28px) clamp(18px, 4vw, 24px); }
body.m2 .m2-pop-label { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin: 0 0 14px; min-height: 28px; padding-left: 128px; }
body.m2 .m2-pop-label span { padding: 6px 12px; border-radius: 999px; background: var(--m2-ink); color: var(--m2-pop); font: 900 11.5px/1 var(--m2-gothic); letter-spacing: .1em; }
body.m2 .m2-pop-label em { padding: 5px 11px; border: 1px solid rgba(19, 20, 20, .4); border-radius: 999px; font: 700 11.5px/1 var(--m2-gothic); font-style: normal; letter-spacing: .04em; }
body.m2 .m2-pop h2 { margin: 0; font: 900 clamp(30px, 8.4vw, 40px)/1.25 var(--m2-gothic); letter-spacing: .02em; }
body.m2 .m2-pop h2 mark { padding: 0 .08em; background: linear-gradient(transparent 58%, var(--m2-pop) 58%); color: inherit; }
body.m2 .m2-pop-lead { margin: 10px 0 0; color: #3d403f; font: 700 15px/1.8 var(--m2-gothic); letter-spacing: .03em; }
body.m2 .m2-pop-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 14px 0 0; padding: 12px 16px; border-radius: 16px; background: #fff; font: 700 13px/1.4 var(--m2-gothic); }
body.m2 .m2-pop-price span { flex-basis: 100%; color: var(--m2-gray); font-size: 11.5px; letter-spacing: .04em; }
body.m2 .m2-pop-price s { color: var(--m2-gray); font: 700 19px/1.2 var(--m2-en); text-decoration-thickness: 2px; }
body.m2 .m2-pop-price em { font: 700 13px/1.4 var(--m2-gothic); font-style: normal; }
body.m2 .m2-pop-price b { color: var(--m2-gray); font-weight: 400; }
body.m2 .m2-pop-price strong { font: 700 28px/1 var(--m2-en); letter-spacing: -.01em; }
body.m2 a.m2-pop-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; margin-top: 14px; padding: 6px 8px 6px 24px; border-radius: 999px; background: var(--m2-ink); color: var(--m2-paper); text-decoration: none; font: 700 15px/1.4 var(--m2-gothic); letter-spacing: .05em; transition: transform .3s var(--m2-ease); }
body.m2 a.m2-pop-cta:hover { transform: translateY(-2px); }
body.m2 .m2-pop-cta .m2-menu-arrow { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--m2-pop); color: var(--m2-ink); font-style: normal; }
body.m2 .m2-pop-later { display: block; margin: 8px auto 0; padding: 8px 14px; border: 0; background: none; color: var(--m2-ink); font: 700 13px/1 var(--m2-gothic); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
body.m2 .m2-pop-note { margin: 6px 0 0; color: var(--m2-gray); font: 500 11px/1.7 var(--m2-gothic); text-align: center; }
@media (max-height: 640px) {
  body.m2 .m2-pop-photo img { aspect-ratio: 16 / 6; }
  body.m2 .m2-pop-badge { width: 88px; height: 88px; bottom: -26px; }
  body.m2 .m2-pop-badge strong { font-size: 40px; }
  body.m2 .m2-pop-label { padding-left: 106px; }
  body.m2 .m2-pop-lead br { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.m2 dialog.m2-pop::backdrop, body.m2 .m2-pop[open] .m2-pop-card, body.m2 .m2-pop[open] .m2-pop-badge { animation: none; }
}
/* ポップアップの送料の行：スマホでも「10,000円程度 のところ → 0円」を1行に収める */
@media (max-width: 480px) {
  body.m2 .m2-pop-price { gap: 4px 7px; padding: 12px 14px; }
  body.m2 .m2-pop-price s { font-size: 17px; }
  body.m2 .m2-pop-price em { font-size: 12.5px; }
  body.m2 .m2-pop-price strong { font-size: 26px; }
}

/* お問い合わせ：送信中・失敗の知らせと、送信が済んだ後の画面（2026-12-03） */
body.m2 #inquiry-mock-status.is-error { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; border: 1px solid #ff8a7a; background: rgba(255, 120, 100, .12); color: #fff; font: 500 13.5px/1.8 var(--m2-gothic); }
body.m2 .inquiry-review-actions button:disabled { opacity: .55; cursor: progress; }
body.m2 .m2-sent { padding: clamp(24px, 4vw, 44px) clamp(18px, 3vw, 36px); border-radius: clamp(20px, 2.6vw, 30px); border: 1px solid rgba(255, 212, 38, .6); background: rgba(255, 212, 38, .1); color: #fff; outline: 0; }
body.m2 .m2-sent h3 { margin: 0; color: #fff; font: 900 clamp(24px, 2.8vw, 34px)/1.4 var(--m2-gothic); letter-spacing: .04em; }
body.m2 .m2-sent h3::before { content: "✓"; display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; margin-right: .5em; border-radius: 50%; background: var(--m2-pop); color: var(--m2-ink); font: 700 .62em/1 var(--m2-en); vertical-align: .18em; }
body.m2 .m2-sent p { margin: 12px 0 0; color: rgba(255, 255, 255, .9); font: 500 14.5px/1.9 var(--m2-gothic); letter-spacing: .02em; }
body.m2 .m2-sent .m2-sent-id { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--m2-pop); color: var(--m2-ink); font: 700 13px/1.5 var(--m2-en); letter-spacing: .04em; }
body.m2 .m2-sent .m2-sent-note { color: rgba(255, 255, 255, .72); font-size: 12.5px; }
body.m2 .m2-sent-again { margin-top: 18px; padding: 10px 18px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; background: transparent; color: #fff; font: 700 13px/1.4 var(--m2-gothic); cursor: pointer; }
body.m2 .m2-sent-again:hover { background: #f3f2ee; color: #131414; }

/* キャンペーンのポップアップを少し小さく（2026-12-03 田渕さんの指示）：幅 430px → 360px、文字と丸も合わせて小さく */
body.m2 .m2-pop-card { width: min(calc(100% - 24px), 360px); border-radius: clamp(24px, 3.4vw, 30px); }
body.m2 .m2-pop-close { right: 10px; top: 10px; width: 38px; height: 38px; }
body.m2 .m2-pop-photo { margin: 8px 8px 0; }
body.m2 .m2-pop-photo img { border-radius: clamp(16px, 2.6vw, 22px); }
body.m2 .m2-pop-badge { left: 12px; bottom: -28px; width: 88px; height: 88px; }
body.m2 .m2-pop-badge small { font-size: 10.5px; }
body.m2 .m2-pop-badge strong { font-size: 40px; }
body.m2 .m2-pop-body { padding: 14px clamp(16px, 4.4vw, 22px) clamp(14px, 3.4vw, 18px); }
body.m2 .m2-pop-label { margin-bottom: 10px; min-height: 24px; padding-left: 104px; }
body.m2 .m2-pop-label span, body.m2 .m2-pop-label em { font-size: 10.5px; }
body.m2 .m2-pop h2 { font-size: clamp(25px, 7vw, 31px); }
body.m2 .m2-pop-lead { margin-top: 8px; font-size: 13.5px; line-height: 1.75; }
body.m2 .m2-pop-price { margin-top: 10px; padding: 10px 14px; border-radius: 14px; }
body.m2 .m2-pop-price s { font-size: 17px; }
body.m2 .m2-pop-price strong { font-size: 24px; }
body.m2 a.m2-pop-cta { min-height: 50px; margin-top: 10px; padding: 5px 6px 5px 20px; font-size: 14px; }
body.m2 .m2-pop-cta .m2-menu-arrow { width: 38px; height: 38px; }
body.m2 .m2-pop-later { margin-top: 6px; padding: 6px 12px; font-size: 12.5px; }
body.m2 .m2-pop-note { margin-top: 4px; font-size: 10.5px; }
@media (max-width: 480px) {
  body.m2 .m2-pop-price s { font-size: 16px; }
  body.m2 .m2-pop-price strong { font-size: 23px; }
}
body.m2 .m2-pop-note { text-wrap: balance; }
