:root {
  --ink: #0b3a2c;
  --ink-soft: #3b5148;
  --yellow: #ffcb1f;
  --yellow-deep: #f5b800;
  --yellow-pale: #fff6cf;
  --red: #e60033;
  --red-dark: #b00027;
  --line: #06c755;
  --line-dark: #04983f;
  --mail: #1f5fd6;
  --mail-dark: #15449c;
  --paper: #fff;
  --gray: #f6f6f3;
  --border: #e6e2d3;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-num: "Oswald", "Arial Narrow", "Helvetica Neue", sans-serif;
  --shell: 760px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--gray);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  overflow-x: hidden;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid #1a73e8;
  outline-offset: 3px;
}

svg {
  fill: currentColor;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 8px;
  background: #fff;
  font-weight: 700;
}

.skip-link:focus {
  top: 8px;
}

main,
.site-header,
.site-footer {
  max-width: var(--shell);
  margin: 0 auto;
}

main {
  background: var(--paper);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: #fff;
  border-bottom: 3px solid var(--ink);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--yellow);
  color: var(--ink);
  font: 600 20px/1 var(--font-num);
  box-shadow: inset 0 0 0 3px var(--ink);
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
}

.brand-copy b {
  font-size: clamp(14px, 4.2vw, 19px);
  font-weight: 900;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  gap: 6px;
}

.header-icon {
  display: grid;
  justify-items: center;
  gap: 1px;
  width: 50px;
  padding: 5px 0 3px;
  border-radius: 10px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.header-icon svg,
.header-icon img {
  width: 22px;
  height: 22px;
}

.header-icon-tel {
  background: var(--red);
}

.header-icon-form {
  background: var(--mail);
}

.header-icon-line {
  background: var(--line);
}

/* FV */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0.45), transparent 60%),
    var(--yellow);
}

.hero-inner {
  position: relative;
  padding: 18px 14px 0;
  text-align: center;
}

.hero-catch {
  display: inline-block;
  padding: 2px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  font-size: clamp(14px, 4.2vw, 20px);
  font-weight: 900;
  animation: drop-in 0.5s ease-out both;
}

.hero-head {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(4px, 2vw, 14px);
  margin-top: 8px;
}

.hero-title {
  display: grid;
  text-align: left;
  color: var(--ink);
  font-size: clamp(44px, 13vw, 76px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-shadow: 4px 4px 0 #fff;
}

.hero-title span {
  animation: drop-in 0.55s cubic-bezier(0.3, 1.5, 0.6, 1) both;
}

.hero-title span:nth-child(2) {
  animation-delay: 0.12s;
}

@keyframes drop-in {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 月桂樹の円バッジ */
.laurels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(6px, 2.4vw, 18px);
  max-width: 430px;
  margin: 12px auto 0;
}

.laurels li {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px var(--yellow), 0 0 0 7px #fff, 0 6px 14px rgba(11, 58, 44, 0.18);
  font-size: clamp(11px, 3.3vw, 14px);
  font-weight: 900;
  line-height: 1.25;
  animation: badge-pop 0.6s cubic-bezier(0.3, 1.7, 0.5, 1) both;
}

.laurels li:nth-child(1) {
  animation-delay: 0.35s;
}

.laurels li:nth-child(2) {
  animation-delay: 0.5s;
}

.laurels li:nth-child(3) {
  animation-delay: 0.65s;
}

.laurels li::before,
.laurels li::after {
  content: "";
  position: absolute;
  inset: 9%;
  border: 3px dotted var(--yellow-deep);
  border-radius: 50%;
  clip-path: polygon(0 20%, 32% 20%, 32% 100%, 0 100%);
}

.laurels li::after {
  transform: scaleX(-1);
}

.laurel-em {
  color: var(--red);
  font-size: clamp(26px, 8.4vw, 36px);
  line-height: 1.1;
}

@keyframes badge-pop {
  from {
    opacity: 0;
    transform: scale(0.3) rotate(-20deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-visual {
  position: relative;
  max-width: 490px;
  margin: 14px auto 0;
  padding-bottom: 10px;
}

.hero-items {
  animation: sway 4s ease-in-out infinite;
}

.hero-guide {
  flex: none;
  width: clamp(74px, 22vw, 116px);
  animation: float 2.6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes sway {
  0%,
  100% {
    transform: rotate(-1deg);
  }
  50% {
    transform: rotate(1deg);
  }
}

/* FVの電話：雲の上に白いパネルで置く */
.hero-call {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 18px 12px 16px;
  background: #fff;
  border-radius: 28px 28px 0 0;
}

.hero-call-lead {
  font-size: clamp(17px, 5vw, 24px);
  font-weight: 900;
  text-align: center;
}

.hero-call-lead b {
  color: var(--red);
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
}

.tel-big {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 12px 10px 10px;
  border-radius: 16px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 0 var(--red-dark);
  animation: pulse 2.4s ease-in-out infinite;
}

.tel-big svg {
  position: absolute;
  left: 14px;
  top: 50%;
  width: clamp(28px, 8vw, 40px);
  height: clamp(28px, 8vw, 40px);
  transform: translateY(-50%);
}

.tel-big-num {
  padding-left: clamp(28px, 8vw, 40px);
  font: 600 clamp(34px, 10.4vw, 54px)/1.05 var(--font-num);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.tel-big-note {
  margin-top: 4px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

@keyframes pulse {
  0%,
  100% {
    transform: none;
  }
  50% {
    transform: scale(1.02);
  }
}

.tel-big:active,
.cta-tel:active,
.cta-btn:active {
  box-shadow: none;
  transform: translateY(4px);
}

.now-time {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: clamp(11px, 3.3vw, 14px);
  font-weight: 700;
  white-space: nowrap;
}

.now-clock {
  padding: 1px 8px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
}

/* キャンペーン（参考LPの斜線入りバナー） */
.campaign {
  padding: 14px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 10px, #ffdc5a 10px 20px);
}

.campaign-inner {
  display: grid;
  justify-items: center;
  padding: 10px 12px 12px;
  border: 3px solid var(--ink);
  border-radius: 6px;
  background: #fff;
  text-align: center;
}

.campaign-label {
  font-size: 15px;
  font-weight: 900;
}

.campaign-body {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: clamp(20px, 5.6vw, 28px);
  font-weight: 900;
  line-height: 1;
}

.campaign-body strong {
  color: var(--red);
  font: 600 clamp(58px, 17vw, 86px)/1 var(--font-num);
}

.campaign-body strong small {
  font-size: 0.45em;
}

.campaign-body b {
  color: var(--red);
  font: 600 clamp(36px, 10vw, 52px)/1 var(--font-num);
}

.campaign-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 3px 14px;
  border-radius: 4px;
  background: var(--line);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.campaign-line img {
  width: 20px;
  height: 20px;
}

.disclosure {
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  background: var(--gray);
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.6;
}

.disclosure mark,
.disclosure b {
  background: none;
  color: var(--red-dark);
}

/* 実績 */
.stats {
  padding: 18px 10px 6px;
}

.stats ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.stats li {
  position: relative;
  display: grid;
  justify-items: center;
  padding: 0 13px;
  text-align: center;
}

.stats li::before,
.stats li::after {
  content: "❦";
  position: absolute;
  top: 50%;
  color: var(--yellow-deep);
  font-size: 15px;
  transform: translateY(-50%);
}

.stats li::before {
  left: 0;
  transform: translateY(-50%) scaleX(-1);
}

.stats li::after {
  right: 0;
}

.stats small {
  font-size: clamp(10px, 2.9vw, 13px);
  font-weight: 700;
  line-height: 1.3;
}

.stats b {
  font: 600 clamp(19px, 5.6vw, 32px)/1.1 var(--font-num);
  white-space: nowrap;
}

.stats b span {
  margin-left: 1px;
  font-family: var(--font-body);
  font-size: 0.5em;
  font-weight: 900;
}

/* Sections */
.sec {
  padding: 44px 14px;
}

.sec-title {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-bottom: 22px;
  font-size: clamp(26px, 7.4vw, 38px);
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
}

.sec-title small {
  padding: 2px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}

.band-title {
  position: relative;
  margin: -44px -14px 30px;
  padding: 16px;
  background: var(--ink);
  color: #fff;
  font-size: clamp(20px, 5.6vw, 26px);
  font-weight: 900;
  text-align: center;
}

.band-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  border: 14px solid transparent;
  border-top-color: var(--ink);
  border-bottom: 0;
  transform: translateX(-50%);
}

.fine {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.6;
}

/* 価格比較 */
.price-cards {
  display: grid;
  gap: 14px;
}

.price-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: var(--yellow);
}

.price-card img {
  width: 112px;
  height: 140px;
  border-radius: 10px;
  object-fit: cover;
}

.price-card h3 {
  display: grid;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
}

.price-card h3 small {
  order: -1;
  font-size: 12px;
  font-weight: 700;
}

.price-rivals {
  display: flex;
  gap: 12px;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.price-rivals div {
  display: flex;
  gap: 4px;
}

.price-rivals dd {
  text-decoration: line-through;
}

.price-note {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
}

.price-ours {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 6px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.price-tag {
  align-self: center;
  padding: 0 6px;
  background: #fff;
  font-size: 11px;
}

.price-ours strong {
  color: var(--red);
  font: 600 clamp(30px, 8.4vw, 38px)/1 var(--font-num);
}

/* CTAパネル */
.cta-panel {
  display: grid;
  gap: 12px;
  margin: 0 14px;
  padding: 14px 12px 12px;
  background: var(--yellow);
}

.sec-contact .cta-panel {
  margin: 0 0 24px;
}

.cta-free {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
  font-size: 13px;
  font-weight: 900;
}

.cta-free b {
  margin-left: 2px;
  color: var(--red);
  font: 600 26px/1 var(--font-num);
}

.cta-tel {
  display: grid;
  justify-items: center;
  padding: 12px 8px;
  background: #fff;
  text-decoration: none;
}

.cta-tel-num {
  display: flex;
  align-items: center;
  gap: 6px;
  font: 600 clamp(32px, 9.6vw, 46px)/1.1 var(--font-num);
  white-space: nowrap;
}

.cta-tel-num svg {
  width: 0.8em;
  height: 0.8em;
}

.cta-tel-hours {
  font-size: 12px;
  font-weight: 700;
}

.cta-sub {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cta-sub-single {
  grid-template-columns: 1fr;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 60px;
  border-radius: 6px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.cta-btn svg,
.cta-btn img {
  width: 30px;
  height: 30px;
}

.cta-btn-form {
  background: var(--mail);
  box-shadow: 0 4px 0 var(--mail-dark);
}

.cta-btn-line {
  background: var(--line);
  box-shadow: 0 4px 0 var(--line-dark);
}

.cta-panel-note {
  font-size: 13px;
  font-weight: 900;
}

/* 選ばれる理由（斜線の背景） */
.sec-stripe {
  margin-top: 44px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, #ffd84d 18px 36px);
}

.reason-list {
  display: grid;
  gap: 12px;
}

.reason-list li {
  background: #fff;
}

.reason-list h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(17px, 5vw, 22px);
  font-weight: 900;
  line-height: 1.3;
}

.reason-no {
  flex: none;
  padding: 6px 12px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}

.reason-no b {
  margin-left: 2px;
  font: 600 30px/1 var(--font-num);
}

.reason-list p {
  padding: 10px 14px 14px;
  font-size: 13px;
  font-weight: 500;
}

/* 流れ */
.sec-yellow {
  background: var(--yellow);
}

.step-list {
  display: grid;
  gap: 12px;
}

.step-list li {
  padding-bottom: 14px;
  background: #fff;
}

.step-list h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(17px, 5vw, 22px);
  font-weight: 900;
  line-height: 1.3;
}

.step-no {
  display: grid;
  flex: none;
  padding: 4px 14px;
  background: var(--ink);
  color: #fff;
  font: 600 13px/1 var(--font-num);
  text-align: center;
}

.step-no b {
  font-size: 32px;
}

.step-list p {
  padding: 10px 14px 0;
  font-size: 13px;
  font-weight: 500;
}

.step-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 10px 14px 0;
  font: 600 clamp(28px, 8vw, 36px)/1.1 var(--font-num);
  text-decoration: none;
}

.step-tel svg {
  width: 0.8em;
  height: 0.8em;
}

/* 品目 */
.sec-title-items {
  margin: 44px 0 10px;
}

.items-lead {
  width: fit-content;
  margin: 0 auto 18px;
  padding: 4px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.item-grid li {
  display: grid;
  justify-items: center;
  padding: 10px 4px;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
}

.item-grid span {
  font-size: 34px;
  line-height: 1.3;
}

.support-note {
  margin-top: 16px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
}

.support-note-title {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 900;
}

/* 買取実績 */
.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.result-card {
  padding: 8px 8px 10px;
  border-radius: 16px;
  background: var(--yellow);
}

.result-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  object-fit: cover;
}

.result-card figcaption {
  display: grid;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
}

.result-card figcaption span {
  width: fit-content;
  padding: 0 6px;
  background: #fff;
  font-size: 11px;
}

/* 声 */
.voice-list {
  display: grid;
  gap: 14px;
}

.voice-list blockquote {
  padding: 16px;
  border: 3px solid var(--ink);
  background: #fff;
  box-shadow: 6px 6px 0 var(--ink);
}

.voice-who {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-weight: 900;
}

.voice-who span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--yellow);
  font-size: 22px;
}

.voice-who small {
  font-size: 12px;
}

.voice-who i {
  color: var(--yellow-deep);
  font-style: normal;
  letter-spacing: 0.1em;
}

.voice-list h3 {
  margin: 8px 0 4px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.5;
}

.voice-list blockquote > p:last-child {
  font-size: 13px;
}

/* FAQ */
.sec-faq {
  padding-top: 0;
}

.sec-faq .band-title {
  margin-top: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 3px solid var(--ink);
  background: #fff;
  box-shadow: 0 6px 0 var(--ink);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 52px 14px 14px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: "Q";
  flex: none;
  color: var(--yellow-deep);
  font: 600 28px/1 var(--font-num);
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 12px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--yellow);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 14px 14px 52px;
  font-size: 14px;
}

/* エリア */
.area-box {
  padding: 18px 14px;
  border: 3px solid var(--ink);
  background: var(--yellow-pale);
}

.area-pref {
  font-size: 18px;
  font-weight: 900;
  text-align: center;
}

.area-pref b {
  color: var(--red);
  font-size: 26px;
}

.area-pref small {
  font-size: 12px;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.area-list li {
  padding: 2px 10px;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.area-exclude {
  margin-top: 12px;
  font-size: 13px;
  text-align: center;
}

.area-exclude b {
  color: var(--red-dark);
}

/* フォーム */
.sec-contact {
  background: var(--gray);
}

.inquiry-card {
  padding: 22px 16px;
  border: 3px solid var(--ink);
  background: #fff;
}

.inquiry-head {
  margin-bottom: 18px;
  text-align: center;
}

.inquiry-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  background: var(--mail);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.inquiry-badge small {
  padding: 0 8px;
  background: #fff;
  color: var(--mail);
  font-size: 11px;
}

.inquiry-head h3 {
  margin: 10px 0 6px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
}

.inquiry-head p:last-child {
  color: var(--ink-soft);
  font-size: 13px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.form-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-field label,
.form-field legend {
  padding: 0;
  font-weight: 700;
}

.form-field > label > span,
.required-label {
  display: inline-block;
  margin-left: 4px;
  padding: 0 6px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  line-height: 1.7;
  vertical-align: 1px;
}

.form-field label small,
.form-field legend small {
  margin-left: 4px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 400;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 2px solid #d6d6cc;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.form-field textarea {
  min-height: 96px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--yellow-deep);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 203, 31, 0.35);
}

.form-field [aria-invalid="true"] {
  border-color: var(--red);
  background: #fff5f7;
}

.field-help,
.category-help {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.field-error {
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.field-error:empty {
  display: none;
}

.category-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.category-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 6px 8px;
  border: 2px solid #e3e3da;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.category-options label:has(input:checked) {
  border-color: var(--yellow-deep);
  background: var(--yellow-pale);
}

.category-options input,
.privacy-consent input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--ink);
}

.privacy-consent {
  margin-top: 18px;
  padding: 12px;
  background: var(--gray);
}

.privacy-consent label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  cursor: pointer;
}

.privacy-consent a {
  color: var(--mail);
}

.turnstile-panel {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 12px;
}

#form-status {
  margin-top: 10px;
  color: var(--red-dark);
  font-weight: 700;
}

#form-status:empty {
  display: none;
}

#submit-inquiry {
  position: relative;
  display: grid;
  justify-items: center;
  width: 100%;
  margin-top: 16px;
  padding: 12px 40px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: inherit;
  cursor: pointer;
}

#submit-inquiry small {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
}

#submit-inquiry strong {
  font-size: 19px;
  font-weight: 900;
}

#submit-inquiry > span {
  position: absolute;
  right: 20px;
  top: 50%;
  font-size: 22px;
  transform: translateY(-50%);
}

#submit-inquiry:disabled {
  opacity: 0.7;
  cursor: progress;
}

/* 概要 */
.company dl {
  border-top: 1px solid var(--border);
}

.company dl div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.company dt {
  font-weight: 900;
}

/* 固定CTA */
.float-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.12);
}

.float-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 56px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
}

.float-cta svg,
.float-cta img {
  flex: none;
  width: 22px;
  height: 22px;
}

.float-cta span {
  display: grid;
  line-height: 1.2;
}

.float-cta small {
  font-size: 9px;
  font-weight: 700;
}

.float-cta b {
  font-size: clamp(13px, 3.8vw, 16px);
  font-weight: 900;
}

.float-tel {
  background: var(--red);
  box-shadow: 0 3px 0 var(--red-dark);
}

.float-line {
  background: var(--line);
  box-shadow: 0 3px 0 var(--line-dark);
}

.float-form {
  background: var(--mail);
  box-shadow: 0 3px 0 var(--mail-dark);
}

/* フッター */
.site-footer {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 0 14px 28px;
  background: var(--gray);
  text-align: center;
}

.footer-guide {
  width: 84px;
  margin-top: 24px;
  animation: float 2.6s ease-in-out infinite;
}

.page-top {
  margin-top: -8px;
  padding: 4px 18px;
  background: var(--ink);
  color: #fff;
  font: 600 15px/1.4 var(--font-num);
  letter-spacing: 0.04em;
  text-decoration: none;
}

.site-footer .brand {
  margin-top: 12px;
}

.footer-info {
  font-size: 12px;
  font-weight: 700;
}

.site-footer nav a {
  font-size: 13px;
  font-weight: 700;
}

.site-footer > small {
  color: var(--ink-soft);
  font-size: 11px;
}

@media (max-width: 374px) {
  .brand-copy small {
    display: none;
  }

  .header-icon {
    width: 44px;
  }

  .category-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 600px) {
  .price-cards,
  .result-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .price-card {
    grid-template-columns: 1fr;
  }

  .price-card img {
    width: 100%;
    height: 160px;
  }

  .item-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .category-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }

  .float-cta {
    left: auto;
    right: 0;
    bottom: auto;
    top: 50%;
    grid-template-columns: 1fr;
    width: 190px;
    padding: 0;
    background: none;
    box-shadow: none;
    transform: translateY(-50%);
  }

  .float-cta a {
    justify-content: flex-start;
    padding: 10px 14px;
    border-radius: 999px 0 0 999px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
  }
}
