:root {
  --bg: #ffffff;
  --text: #17202a;
  --muted: #65707c;
  --line: #dfe5ea;
  --soft: #f4f7f8;
  --primary: #177a68;
  --primary-dark: #0d5e50;
  --accent: #f2b84b;
  --dark: #14211f;
  --shadow: 0 14px 40px rgba(23, 32, 42, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223,229,234,.8);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 14px; background: var(--soft); font-size: 24px;
}
.brand strong { display:block; font-size: 17px; line-height: 1.35; }
.brand small { display:block; color:var(--muted); font-size: 11px; }
.global-nav { display:flex; gap:28px; align-items:center; font-weight:600; font-size:14px; }
.global-nav a:hover { color: var(--primary); }
.menu-button {
  display:none; border:1px solid var(--line); background:#fff; border-radius:10px;
  padding:10px 14px; font-weight:700;
}

.hero {
  padding: 92px 0 78px;
  background:
    radial-gradient(circle at 85% 18%, rgba(242,184,75,.18), transparent 28%),
    linear-gradient(180deg, #ffffff, #f7faf9);
}
.hero-grid { display:grid; grid-template-columns: 1.2fr .8fr; gap:72px; align-items:center; }
.eyebrow {
  margin:0 0 10px;
  color:var(--primary);
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
}
.hero h1, .section h2, .cta h2 {
  margin:0;
  line-height:1.35;
  letter-spacing:-.03em;
}
.hero h1 { font-size:clamp(34px, 5.5vw, 64px); }
.hero-lead { margin:24px 0 0; color:var(--muted); font-size:17px; max-width:760px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.button {
  display:inline-flex; justify-content:center; align-items:center;
  min-height:52px; padding:0 22px; border-radius:14px; font-weight:800;
}
.button.primary { background:var(--primary); color:#fff; }
.button.primary:hover { background:var(--primary-dark); }
.button.secondary { border:1px solid var(--line); background:#fff; }
.hero-points { margin:28px 0 0; padding:0; list-style:none; display:grid; gap:8px; }
.hero-points li::before { content:"✓"; color:var(--primary); font-weight:900; margin-right:10px; }

.hero-card {
  min-height:460px; border-radius:34px; background:linear-gradient(145deg,#173b34,#0d221e);
  box-shadow:var(--shadow); display:grid; place-items:center; padding:34px;
}
.phone-illustration {
  width:min(280px,100%); aspect-ratio: .54; background:#111;
  border-radius:38px; padding:12px; box-shadow:0 25px 50px rgba(0,0,0,.3);
  position:relative;
}
.phone-speaker {
  width:76px; height:18px; border-radius:20px; background:#050505;
  position:absolute; top:19px; left:50%; transform:translateX(-50%); z-index:2;
}
.phone-screen {
  height:100%; border-radius:29px; background:linear-gradient(165deg,#e8fff8,#fff6df);
  display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;
  padding:30px; gap:16px;
}
.screen-icon { font-size:48px; }
.phone-screen strong { font-size:22px; line-height:1.55; }
.phone-screen small { color:var(--muted); }

.section { padding:96px 0; }
.section-muted { background:var(--soft); }
.section-heading { max-width:760px; margin-bottom:38px; }
.section-heading h2, .about-grid h2 { font-size:clamp(28px,4vw,44px); }
.section-heading > p:last-child { color:var(--muted); margin-top:14px; }

.service-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.service-card {
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:26px; box-shadow:0 8px 24px rgba(23,32,42,.04);
}
.service-card-heading {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
}
.service-card-heading span { flex:0 0 auto; font-size:26px; line-height:1; }
.service-card-heading h3 { margin:0; font-size:18px; line-height:1.45; }
.service-card p { margin:0; color:var(--muted); font-size:14px; }

.price-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.price-card {
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:30px; min-height:230px;
}
.price-label { margin:0; font-weight:800; }
.price { margin:18px 0 12px; display:flex; align-items:baseline; gap:8px; }
.price strong { font-size:44px; line-height:1; }
.price span { color:var(--muted); }
.price-text { font-size:23px; font-weight:800; margin:20px 0 14px; }
.price-card > p:last-child { color:var(--muted); }
.note { color:var(--muted); font-size:13px; margin-top:18px; }

.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
.about-grid p { color:var(--muted); }
.about-panel {
  background:var(--dark); color:#fff; border-radius:28px; padding:36px;
}
.about-panel h3 { margin-top:0; }
.about-panel ul { margin:20px 0 0; padding-left:1.2em; display:grid; gap:12px; }

.section-dark { background:var(--dark); color:#fff; }
.section-heading.light p:last-child { color:#d2dcda; }
.info-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.info-card {
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12);
  border-radius:var(--radius); padding:28px;
}
.info-card h3 { margin-top:0; }
.info-card dl { margin:0; }
.info-card dl div { display:flex; justify-content:space-between; gap:18px; padding:10px 0; border-bottom:1px solid rgba(255,255,255,.1); }
.info-card dl div:last-child { border-bottom:0; }
.info-card dt { color:#b8c8c4; }
.info-card dd { margin:0; font-weight:700; }
.hours-line-note { margin:14px 0 0; color:#b8c8c4; font-size:14px; line-height:1.7; }
.hours-line-note a { color:#fff; font-weight:700; text-decoration:underline; text-underline-offset:3px; }
.hours-line-note a:hover { color:#dffbf4; }
.subtle { color:#b8c8c4; font-size:13px; }

.cta { padding:72px 0; background:linear-gradient(120deg,var(--primary),#2aa78f); color:#fff; }
.cta-inner { display:flex; justify-content:space-between; align-items:center; gap:30px; }
.cta .eyebrow { color:#dffbf4; }
.cta h2 { font-size:clamp(26px,4vw,42px); }
.cta p { margin-bottom:0; }
.light-button { background:#fff; color:var(--primary-dark); white-space:nowrap; }

.site-footer { padding:34px 0; border-top:1px solid var(--line); }
.footer-inner { display:flex; justify-content:space-between; gap:20px; align-items:center; }
.footer-inner p { margin:4px 0 0; color:var(--muted); font-size:13px; }

@media (max-width: 900px) {
  .hero-grid, .about-grid { grid-template-columns:1fr; }
  .hero-card { min-height:390px; }
  .service-grid { grid-template-columns:repeat(2,1fr); }
  .price-grid, .info-grid { grid-template-columns:1fr; }
}
@media (max-width: 720px) {
  .container { width:min(100% - 28px,1120px); }
  .global-nav {
    display:none; position:absolute; top:76px; left:14px; right:14px;
    background:#fff; border:1px solid var(--line); border-radius:18px;
    padding:18px; flex-direction:column; align-items:stretch; box-shadow:var(--shadow);
  }
  .global-nav.open { display:flex; }
  .menu-button { display:block; }
  .hero { padding:64px 0 56px; }
  .hero h1 { font-size:38px; }
  .hero-actions .button { width:100%; }
  .service-grid { grid-template-columns:1fr; }
  .cta-inner, .footer-inner { flex-direction:column; align-items:flex-start; }
  .light-button { width:100%; }
}


.line-button {
  background: #06c755;
  color: #fff;
}
.line-button:hover {
  filter: brightness(.94);
}
.contact-buttons {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.contact-phone {
  background: #fff;
  color: var(--primary-dark);
}
.contact-line {
  background: #06c755;
  color: #fff;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.line-light-button {
  background: #06c755;
  color: #fff;
}
@media (max-width: 720px) {
  .cta-actions {
    width: 100%;
  }
  .cta-actions .button {
    width: 100%;
  }
}


.shop-address {
  font-style: normal;
  line-height: 1.9;
  margin: 0 0 18px;
}
.map-button {
  background: #fff;
  color: var(--primary-dark);
  width: 100%;
}
.map-button:hover {
  background: #f3f7f6;
}


.shop-address span {
  display: block;
}
.floor-label {
  display: block !important;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  font-weight: 700;
  letter-spacing: 0;
}


/* TOPメインビジュアル */
.hero-grid {
  grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
  gap: 48px;
}
.hero-visual {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hero-visual figcaption {
  padding: 16px 18px 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
  background: #fff;
}

/* キャラクター紹介 */
.character-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.character-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 8px 24px rgba(23,32,42,.04);
}
.character-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--soft);
  font-size: 30px;
}
.character-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}
.character-card p {
  margin: 0;
  color: var(--muted);
}
.character-disclaimer {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* CTAの「大丈夫です。」を途中で分断しない */
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}
.cta-copy {
  min-width: 0;
  max-width: 880px;
}
.cta h2 {
  text-wrap: balance;
}
.keep-together {
  display: inline-block;
  margin-left: .18em;
  white-space: nowrap;
}

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    max-width: 820px;
  }
}

@media (max-width: 720px) {
  .hero-visual figcaption {
    font-size: 11px;
  }
  .character-grid {
    grid-template-columns: 1fr;
  }
  .character-card {
    padding: 24px;
  }
  .cta-inner {
    grid-template-columns: 1fr;
  }
}


/* v8: TOP表示修正
   HTMLのwidth/height属性に対してheight:autoが不足していたため、
   画像が縦長に引き伸ばされ、左右の人物が切れていた問題を修正。 */
.hero-grid {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
}
.hero-copy {
  min-width: 0;
}
.hero h1 {
  font-size: clamp(34px, 3.4vw, 46px);
}
.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: clamp(36px, 7vw, 52px);
  }
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: 36px;
  }
}


/* v9: 見出しとキャラクター表示の調整 */
.nowrap { white-space: nowrap; }
.hero h1 {
  font-size: clamp(34px, 3.2vw, 44px);
  line-height: 1.45;
}
.about-grid h2 {
  max-width: 13ch;
}
.cta h2 {
  line-height: 1.4;
}
.cta-break { display: block; }
.character-card-visual {
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 24px;
}
.character-figure {
  background: linear-gradient(180deg, #fff, #fafcfc);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 12px;
}
.character-figure img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.character-copy {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 1000px) {
  .cta-break { display: inline; }
}
@media (max-width: 720px) {
  .hero h1 { font-size: 34px; }
  .character-card-visual {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .character-figure {
    max-width: 320px;
    margin: 0 auto;
  }
}


/* v10: ABOUT見出しとキャラクター紹介の再調整 */
.about-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 1fr);
  gap: 40px;
}
.about-grid h2 {
  max-width: none;
  font-size: clamp(34px, 3.3vw, 54px);
  line-height: 1.28;
  text-wrap: balance;
}
.character-grid {
  align-items: stretch;
}
.character-card-visual {
  grid-template-columns: 240px 1fr;
  gap: 28px;
}
.character-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
}
.character-figure img {
  width: min(100%, 220px);
  height: auto;
  display: block;
}
.character-copy {
  min-width: 0;
}
.character-copy p {
  word-break: normal;
}
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .about-grid h2 {
    font-size: 34px;
    text-wrap: initial;
  }
  .character-card-visual {
    grid-template-columns: 1fr;
  }
  .character-figure {
    min-height: 0;
  }
}


/* v11: ABOUT見出しとキャラクターカードの確定調整 */
.about-grid h2 {
  max-width: none;
  font-size: clamp(36px, 3vw, 48px);
  line-height: 1.35;
  text-wrap: initial;
}
.about-line {
  white-space: nowrap;
}
.character-card-visual {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 22px;
}
.character-figure {
  width: 100%;
  min-height: 0;
  padding: 20px;
}
.character-figure img {
  width: min(100%, 280px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
.character-copy {
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr);
}
.character-copy p {
  line-height: 1.9;
}
@media (max-width: 720px) {
  .about-line {
    white-space: normal;
  }
  .about-grid h2 {
    font-size: 34px;
  }
}


/* v12: キャラクター紹介を省スペース化 */
.character-card { padding: 24px; }
.character-card-visual { display: grid; grid-template-columns: 150px minmax(0,1fr); align-items: center; gap: 24px; }
.character-figure { width: 150px; min-height: 0; padding: 0; background: transparent; border: 0; border-radius: 0; display: flex; align-items: center; justify-content: center; overflow: visible; }
.character-figure img { width: 100%; max-width: 150px; height: auto; margin: 0; border-radius: 0; }
.character-copy { display: block; width: 100%; }
.character-copy h3 { margin: 0 0 10px; font-size: 20px; }
.character-copy p { margin: 0; line-height: 1.85; }
.character-copy > div { display:block; }
.character-mark { display: none !important; }
@media (max-width: 820px) { .character-card-visual { grid-template-columns: 120px minmax(0,1fr); gap: 18px; } .character-figure { width: 120px; } .character-figure img { max-width: 120px; } }
@media (max-width: 560px) { .character-card-visual { grid-template-columns: 1fr; gap: 16px; } .character-figure { width: 140px; margin: 0 auto; } }


/* v13: リンとアンのサイズ統一・足切れ修正 */
.character-card-visual { align-items: center; }
.character-figure { width: 180px; }
.character-figure img { width: auto; max-width: 100%; height: 300px; object-fit: contain; display: block; margin: 0 auto; }
@media (max-width: 820px) { .character-figure { width: 150px; } .character-figure img { height: 250px; } }
@media (max-width: 560px) { .character-figure { width: 140px; } .character-figure img { height: 220px; } }

/* v15: スマホ表示の余白を圧縮（PC表示は変更なし） */
@media (max-width: 720px) {
  .header-inner {
    min-height: 68px;
  }

  .hero {
    padding: 48px 0 44px;
  }
  .hero-grid {
    gap: 28px;
  }
  .hero-lead {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.8;
  }
  .hero-actions {
    margin-top: 22px;
    gap: 10px;
  }
  .hero-points {
    margin-top: 20px;
    gap: 6px;
  }

  .section {
    padding: 58px 0;
  }
  .section-heading {
    margin-bottom: 28px;
  }
  .section-heading > p:last-child {
    margin-top: 10px;
  }

  .service-grid,
  .price-grid,
  .info-grid,
  .character-grid {
    gap: 14px;
  }
  .service-card {
    padding: 22px;
  }
  .price-card {
    min-height: 0;
    padding: 24px;
  }
  .about-grid {
    gap: 26px;
  }
  .about-panel {
    padding: 26px;
  }
  .character-card {
    padding: 20px;
  }
  .character-card-visual {
    gap: 14px;
  }
  .character-disclaimer {
    margin-top: 14px;
  }
  .info-card {
    padding: 24px;
  }

  .cta {
    padding: 52px 0;
  }
  .cta-inner {
    gap: 22px;
  }
  .site-footer {
    padding: 26px 0;
  }
}

@media (max-width: 390px) {
  .section {
    padding: 50px 0;
  }
  .hero {
    padding: 42px 0 40px;
  }
}

/* v16: スマホ版の密度を最適化 */
@media (max-width: 720px) {
  /* TOP画像の下からサービス見出しまでの空白を縮小 */
  .hero {
    padding-bottom: 22px;
  }
  #services {
    padding-top: 34px;
  }

  /* サービスカード：アイコンと見出しを同じ行へ */
  .service-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 10px;
    align-items: center;
    padding: 20px;
  }
  .service-card span {
    grid-column: 1;
    grid-row: 1;
    font-size: 27px;
    line-height: 1;
  }
  .service-card h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-size: 19px;
    line-height: 1.45;
  }
  .service-card p {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    line-height: 1.75;
  }

  /* キャラクター紹介：画像を左、名前と説明を右へ */
  .character-card-visual {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 18px;
  }
  .character-figure {
    width: 118px;
    margin: 0;
  }
  .character-figure img {
    width: 100%;
    max-width: 118px;
    height: auto;
    object-fit: contain;
  }
  .character-copy {
    display: block;
    min-width: 0;
  }
  .character-copy h3 {
    margin: 0 0 8px;
    font-size: 19px;
  }
  .character-copy p {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
  }
}

@media (max-width: 390px) {
  .hero {
    padding-bottom: 18px;
  }
  #services {
    padding-top: 30px;
  }
  .character-card-visual {
    grid-template-columns: 102px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }
  .character-figure {
    width: 102px;
  }
  .character-figure img {
    max-width: 102px;
  }
  .character-copy p {
    font-size: 13px;
  }
}


/* v18: PC版TOPの文言と見た目を微調整 */
.hero-shop-name {
  margin: 0 0 8px;
  font-size: clamp(34px, 3.3vw, 46px);
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--text);
}
.reason-section {
  background: #fff;
  padding-top: 82px;
  padding-bottom: 82px;
}
.reason-intro {
  display: grid;
  grid-template-columns: minmax(500px, 1.08fr) minmax(0, .92fr);
  gap: 44px;
  align-items: center;
  margin-bottom: 34px;
}
.reason-intro h2 {
  margin: 0;
  font-size: clamp(32px, 3.35vw, 44px);
  line-height: 1.28;
  letter-spacing: -.03em;
}
.reason-title-line {
  display: block;
}
.reason-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}
.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.reason-card {
  position: relative;
  min-height: 235px;
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f9fbfa);
  box-shadow: 0 8px 24px rgba(23,32,42,.04);
}
.reason-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .05em;
}
.reason-card h3 {
  margin: 18px 0 10px;
  font-size: 19px;
  line-height: 1.5;
}
.reason-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

@media (min-width: 901px) {
  .header-inner {
    min-height: 88px;
  }
  .brand {
    gap: 14px;
  }
  .brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    font-size: 29px;
  }
  .brand strong {
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -.02em;
  }
  .brand small {
    margin-top: 2px;
    font-size: 12px;
  }
  .global-nav {
    font-size: 14px;
    gap: 24px;
  }
  .hero {
    padding-top: 78px;
  }
  .hero-grid {
    gap: 56px;
  }
  .hero-visual figcaption {
    padding: 14px 18px 16px;
    font-size: 12px;
  }
}

@media (max-width: 1000px) {
  .reason-intro {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }
  .reason-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .hero-shop-name {
    font-size: 28px;
    line-height: 1.25;
  }
  .reason-section {
    padding: 54px 0;
  }
  .reason-intro {
    margin-bottom: 24px;
  }
  .reason-intro h2 {
    font-size: 32px;
    line-height: 1.32;
  }
  .reason-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .reason-card {
    min-height: 0;
    padding: 22px;
  }
}

/* v19: PC版TOPファーストビューのみ調整 */
@media (min-width: 1001px) {
  .hero {
    padding: 58px 0;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    width: min(100%, 430px);
    gap: 12px;
  }

  .hero-actions .button {
    width: 100%;
    padding-inline: 16px;
  }

  .hero-actions .secondary {
    grid-column: 1 / -1;
  }
}

/* v20: 料金カードのリンク化と詳細3ページ */
.price-card-link {
  position: relative;
  display: flex;
  flex-direction: column;
  color: inherit;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.price-card-link > p:last-of-type { margin-bottom: 18px; color: var(--muted); }
.price-card-link:hover {
  transform: translateY(-5px);
  border-color: rgba(23,122,104,.5);
  box-shadow: var(--shadow);
}
.price-card-link:focus-visible {
  outline: 3px solid rgba(23,122,104,.3);
  outline-offset: 4px;
}
.price-card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
}
.price-card-more span { transition: transform .2s ease; }
.price-card-link:hover .price-card-more span { transform: translateX(4px); }

.detail-page { background: #fff; }
.detail-hero {
  padding: 44px 0 70px;
  background:
    radial-gradient(circle at 86% 20%, rgba(242,184,75,.16), transparent 30%),
    linear-gradient(180deg, #fff, #f7faf9);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumb a:hover { color: var(--primary); }
.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
  gap: 72px;
  align-items: center;
}
.detail-hero h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.2;
  letter-spacing: -.04em;
}
.detail-lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.95;
}
.detail-price-box {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}
.detail-price-box > span {
  display: block;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
}
.detail-price-box p {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 16px;
}
.detail-price-box p strong {
  font-size: clamp(46px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -.04em;
}
.detail-price-box p b { color: var(--muted); font-size: 17px; }
.detail-price-box small { display: block; color: var(--muted); line-height: 1.8; }
.detail-price-box-text p { display: block; margin-bottom: 8px; }
.detail-price-box-text p strong { font-size: 30px; line-height: 1.45; }
.detail-price-box-text > b { display: block; margin-bottom: 18px; font-size: 42px; line-height: 1.2; }

.detail-content-section { padding-top: 86px; }
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 58px;
  align-items: start;
}
.detail-main-column { display: grid; gap: 72px; }
.detail-block h2,
.detail-side-card h2,
.detail-related h2,
.detail-contact h2 {
  margin: 0;
  line-height: 1.35;
  letter-spacing: -.03em;
}
.detail-block h2 { font-size: clamp(28px, 3.2vw, 42px); }
.detail-note { margin: 22px 0 0; color: var(--muted); line-height: 1.95; }
.fee-formula {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
  margin-top: 28px;
}
.fee-formula > div {
  display: flex;
  min-height: 130px;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--soft);
}
.fee-formula > b { align-self: center; color: var(--primary); font-size: 28px; }
.fee-formula span { color: var(--muted); font-size: 13px; font-weight: 700; }
.fee-formula strong { margin-top: 6px; font-size: 18px; line-height: 1.5; }
.example-heading {
  margin-top: 30px;
}
.example-heading h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -.02em;
}
.example-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.8;
}
.example-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.example-grid article,
.choice-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23,32,42,.04);
}
.example-grid article > span,
.choice-grid article > span { font-size: 28px; }
.example-grid h3,
.choice-grid h3 { margin: 12px 0 8px; font-size: 18px; }
.example-grid p,
.choice-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.step-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.step-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
}
.step-list li > span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.step-list h3 { margin: 1px 0 6px; font-size: 18px; }
.step-list p { margin: 0; color: var(--muted); line-height: 1.85; }
.condition-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.condition-list article { padding: 26px; border-radius: 20px; background: var(--soft); }
.condition-list strong { display: block; font-size: 21px; }
.condition-list p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.detail-side-column { position: sticky; top: 116px; display: grid; gap: 18px; }
.detail-side-card {
  padding: 30px;
  border-radius: 24px;
  background: var(--dark);
  color: #fff;
}
.detail-side-card h2 { font-size: 22px; }
.detail-side-card-soft { background: var(--soft); color: var(--text); border: 1px solid var(--line); }
.detail-side-card-soft p { color: var(--muted); }
.check-list { display: grid; gap: 13px; margin: 20px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.8; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #67d4bd; font-weight: 900; }
.detail-side-card-soft .check-list li::before { color: var(--primary); }
.sample-total { display: block; margin: 14px 0 6px; font-size: 40px; line-height: 1.2; }
.detail-side-card small { display: block; color: inherit; opacity: .7; line-height: 1.7; }

.detail-related { background: var(--soft); }
.detail-section-heading { margin-bottom: 28px; }
.detail-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.detail-related-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.detail-related-card strong { font-size: 18px; }
.detail-related-card span { grid-column: 1; color: var(--muted); font-size: 14px; }
.detail-related-card b { grid-row: 1 / 3; grid-column: 2; color: var(--primary); font-size: 24px; }
.detail-related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.detail-back-link { display: inline-block; margin-top: 26px; color: var(--primary); font-weight: 800; }
.detail-contact { padding: 66px 0; background: linear-gradient(120deg,var(--primary),#2aa78f); color: #fff; }
.detail-contact-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 40px; align-items: center; }
.detail-contact .eyebrow { color: #dffbf4; }
.detail-contact h2 { font-size: clamp(28px, 4vw, 42px); }
.detail-contact p { margin-bottom: 0; }
.detail-contact-actions { display: flex; gap: 12px; }

@media (max-width: 1000px) {
  .detail-hero-grid,
  .detail-layout { grid-template-columns: 1fr; }
  .detail-hero-grid { gap: 32px; }
  .detail-price-box { max-width: 600px; }
  .detail-side-column { position: static; grid-template-columns: repeat(2, 1fr); }
  .fee-formula { grid-template-columns: 1fr; }
  .fee-formula > b { transform: rotate(90deg); justify-self: center; }
  .choice-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .price-card-link:hover { transform: none; box-shadow: none; }
  .detail-hero { padding: 30px 0 48px; }
  .breadcrumb { margin-bottom: 28px; }
  .detail-hero h1 { font-size: 40px; }
  .detail-lead { font-size: 16px; }
  .detail-price-box { padding: 26px; }
  .detail-price-box p strong { font-size: 46px; }
  .detail-content-section { padding-top: 54px; }
  .detail-main-column { gap: 54px; }
  .example-grid,
  .condition-list,
  .detail-side-column,
  .detail-related-grid { grid-template-columns: 1fr; }
  .step-list li { grid-template-columns: 44px 1fr; padding: 20px; }
  .step-list li > span { width: 44px; height: 44px; }
  .detail-contact-inner { grid-template-columns: 1fr; gap: 24px; }
  .detail-contact-actions { width: 100%; flex-direction: column; }
  .detail-contact-actions .button { width: 100%; }
}


/* v21: 通常サポートは「無料相談から始まる」流れを最優先で表示 */
.price-free-first {
  margin-top: 20px;
  margin-bottom: 14px;
  color: var(--primary-dark);
}
.free-consultation-box {
  border: 2px solid rgba(23,122,104,.34);
}
.free-consultation-box > span {
  color: var(--primary-dark);
}
.free-consultation-box p {
  flex-wrap: wrap;
}
.free-consultation-box p strong {
  color: var(--primary-dark);
}
.flow-intro {
  max-width: 820px;
}
.support-flow-list li:last-child {
  border-color: rgba(23,122,104,.38);
  background: linear-gradient(180deg, #fff, #f4faf8);
}
.paid-transition-note {
  margin-top: 22px;
  padding: 24px 26px;
  border-left: 5px solid var(--primary);
  border-radius: 0 18px 18px 0;
  background: #f1f8f6;
}
.paid-transition-note strong {
  display: block;
  font-size: 19px;
  line-height: 1.6;
}
.paid-transition-note p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.85;
}
.paid-price-section {
  padding-top: 4px;
}
@media (max-width: 720px) {
  .free-consultation-box p {
    display: block;
  }
  .free-consultation-box p b {
    display: block;
    margin-top: 10px;
  }
  .paid-transition-note {
    padding: 20px;
  }
  .paid-transition-note strong {
    font-size: 17px;
  }
}


/* v23: ワンコインサポートを「相談」ではなく30分間の作業サービスとして整理 */
.coin-price-box {
  border-color: rgba(23,122,104,.3);
}
.coin-condition-list {
  grid-template-columns: repeat(2, 1fr);
}
.coin-choice-grid {
  grid-template-columns: repeat(2, 1fr);
}
.coin-extension-fee {
  margin-top: 20px;
  padding: 26px 28px;
  border: 2px solid rgba(23,122,104,.32);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #f3faf8);
}
.coin-extension-fee > span {
  display: block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}
.coin-extension-fee strong {
  display: block;
  margin: 8px 0 10px;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.4;
}
.coin-extension-fee small {
  display: block;
  color: var(--muted);
  line-height: 1.8;
}
.coin-flow-list li:last-child {
  border-color: rgba(23,122,104,.38);
  background: linear-gradient(180deg, #fff, #f4faf8);
}
@media (max-width: 720px) {
  .coin-condition-list,
  .coin-choice-grid {
    grid-template-columns: 1fr;
  }
  .coin-extension-fee {
    padding: 22px;
  }
}

/* v26: 修理・部品交換ページを実運用に合わせて再構成 */
.repair-hero .detail-hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
}
.repair-device-box {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow);
}
.repair-device-box > span {
  display: block;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
}
.repair-device-box ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.repair-device-box li {
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--soft);
  font-weight: 800;
}
.repair-device-box small { color: var(--muted); line-height: 1.7; }
.repair-overview-section { padding-bottom: 82px; }
.repair-device-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.repair-device-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23,32,42,.04);
}
.repair-device-grid span { font-size: 30px; }
.repair-device-grid h3 { margin: 14px 0 8px; font-size: 19px; }
.repair-device-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.repair-price-heading { max-width: 900px; }
.repair-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(23,32,42,.05);
}
.repair-price-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: 14px;
}
.repair-price-table th,
.repair-price-table td {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}
.repair-price-table th:last-child,
.repair-price-table td:last-child { border-right: 0; }
.repair-price-table tbody tr:last-child th,
.repair-price-table tbody tr:last-child td { border-bottom: 0; }
.repair-price-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #eaf5f2;
  color: var(--text);
  text-align: center;
  font-size: 13px;
}
.repair-price-table tbody th {
  background: #f7fbfa;
  text-align: left;
  font-weight: 800;
}
.repair-price-table tbody tr:nth-child(even) td { background: #fcfdfd; }
.repair-price-table .corrected-price th,
.repair-price-table .corrected-price td { background: #fff8de; }
.repair-price-table .consult-row th,
.repair-price-table .consult-row td {
  background: #eef1f2;
  text-align: center;
  font-weight: 800;
}
.repair-table-notes {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}
.repair-table-notes p { margin: 0; }
.repair-estimate-section { background: #fff; }
.repair-estimate-grid { margin-top: 28px; }
.repair-policy-block {
  padding: 32px;
  border-left: 6px solid var(--primary);
  border-radius: 0 24px 24px 0;
  background: #f1f8f6;
}
.repair-side-column { top: 112px; }

@media (max-width: 1000px) {
  .repair-device-grid { grid-template-columns: repeat(2, 1fr); }
  .repair-hero .detail-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .repair-device-grid { grid-template-columns: 1fr; }
  .repair-device-box { padding: 24px; }
  .repair-table-wrap {
    margin-inline: -14px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  .repair-price-table { font-size: 13px; }
  .repair-price-table th,
  .repair-price-table td { padding: 12px 13px; }
  .repair-policy-block { padding: 26px 22px; }
}


/* v27: iPhone修理価格表を専用ページへ分離 */
.repair-device-grid .repair-device-link {
  display: block;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23,32,42,.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.repair-device-grid .repair-device-link:hover {
  transform: translateY(-4px);
  border-color: rgba(23,122,104,.38);
  box-shadow: var(--shadow);
}
.repair-device-grid .repair-device-link span { font-size: 30px; }
.repair-device-grid .repair-device-link h3 { margin: 14px 0 8px; font-size: 19px; }
.repair-device-grid .repair-device-link p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.repair-device-grid .repair-device-link b {
  display: inline-block;
  margin-top: 16px;
  color: var(--primary);
  font-size: 14px;
}
.iphone-price-hero { padding-bottom: 56px; }
.iphone-price-section { padding-top: 56px; }
.iphone-price-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 720px) {
  .iphone-price-actions { flex-direction: column; }
  .iphone-price-actions .button { width: 100%; }
}

/* v28: 修理ページの冒頭とiPhone修理案内を整理 */
.repair-hero .detail-hero-grid {
  grid-template-columns: minmax(0, 820px);
}
.repair-overview-section {
  padding-top: 78px;
  padding-bottom: 76px;
}
.repair-overview-section .section-heading {
  max-width: 980px;
  margin-bottom: 34px;
}
.repair-iphone-block .detail-note {
  margin-bottom: 22px;
}
.repair-price-button {
  margin-bottom: 50px;
}
.repair-estimate-heading {
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.repair-estimate-heading h3 {
  margin: 0;
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.4;
}
.repair-estimate-grid {
  margin-top: 24px;
  gap: 14px;
}
.repair-estimate-grid article {
  padding: 20px 22px;
  min-height: 0;
}
.repair-estimate-grid article > span {
  font-size: 24px;
}
.repair-estimate-grid h3 {
  margin: 8px 0 6px;
  font-size: 17px;
}
.repair-estimate-grid p {
  line-height: 1.7;
}

@media (max-width: 720px) {
  .repair-overview-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }
  .repair-price-button {
    width: 100%;
    margin-bottom: 38px;
  }
  .repair-estimate-heading {
    padding-top: 28px;
  }
}


/* v29: 修理機器カードからOTHER DEVICESへジャンプ */
.repair-device-grid .repair-device-anchor {
  display: block;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23,32,42,.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.repair-device-grid .repair-device-anchor:hover {
  transform: translateY(-4px);
  border-color: rgba(23,122,104,.38);
  box-shadow: var(--shadow);
}
.repair-device-grid .repair-device-anchor span { font-size: 30px; }
.repair-device-grid .repair-device-anchor h3 { margin: 14px 0 8px; font-size: 19px; }
.repair-device-grid .repair-device-anchor p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
#other-devices { scroll-margin-top: 112px; }

/* v31: 店舗表記の統一と表示階層 */
.brand-copy {
  display: block;
}
.brand small {
  margin: 0 0 1px;
  line-height: 1.3;
}
.brand strong {
  display: block;
}
.hero-shop-type {
  margin: 0 0 4px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .08em;
}
.hero-shop-name {
  margin-bottom: 22px;
}
.footer-brand small,
.footer-brand strong {
  display: block;
}
.footer-brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.footer-brand strong {
  margin-top: 2px;
  font-size: 19px;
  line-height: 1.4;
}
.shop-address .shop-type-label {
  margin-top: 8px;
  color: #b8c8c4;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.shop-address .shop-name-label {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}

@media (min-width: 901px) {
  .brand small {
    margin-top: 0;
    margin-bottom: 1px;
  }
}

/* v32: TOP最上部に店舗イメージと挨拶文を配置 */
.welcome-section {
  padding: 54px 0 88px;
  background:
    radial-gradient(circle at 88% 12%, rgba(242,184,75,.15), transparent 27%),
    linear-gradient(180deg, #ffffff, #f7faf9);
}
.welcome-visual {
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.welcome-visual img {
  width: 100%;
  height: auto;
}
.welcome-visual figcaption {
  padding: 16px 20px 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}
.welcome-copy {
  max-width: 900px;
  margin: 54px auto 0;
}
.welcome-copy h1 {
  margin: 0 0 26px;
  font-size: clamp(34px, 4.3vw, 52px);
  line-height: 1.35;
  letter-spacing: -.03em;
}
.welcome-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
  line-height: 2;
}
.welcome-copy strong {
  color: var(--text);
  font-size: 1.08em;
}
.welcome-copy .welcome-free {
  margin-top: 25px;
  margin-bottom: 4px;
  color: var(--primary);
  font-size: 22px;
  font-weight: 800;
}
.welcome-copy .welcome-closing {
  margin-top: 24px;
  margin-bottom: 0;
  color: var(--text);
  font-weight: 700;
}

/* 画像移動後の既存メインメッセージを1カラムで表示 */
.hero-grid {
  grid-template-columns: minmax(0, 860px);
  justify-content: start;
}
.hero-copy {
  max-width: 860px;
}

@media (max-width: 720px) {
  .welcome-section {
    padding: 30px 0 56px;
  }
  .welcome-visual {
    border-radius: 20px;
  }
  .welcome-visual figcaption {
    padding: 13px 15px 15px;
    font-size: 11px;
  }
  .welcome-copy {
    margin-top: 36px;
  }
  .welcome-copy h1 {
    font-size: 34px;
  }
  .welcome-copy p {
    font-size: 15px;
    line-height: 1.9;
  }
}


/* v35: 各ショップへ行く前に相談してほしい理由 */
.hero-main-title {
  font-size: clamp(32px, 3.4vw, 44px) !important;
}
.hero-lead {
  max-width: 860px;
}
.hero-reason-title {
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.5;
  letter-spacing: -.02em;
}
.hero-lead p {
  margin: 0 0 14px;
  line-height: 1.9;
}
.hero-lead .hero-note {
  margin-top: -4px;
  font-size: 14px;
}
.hero-lead .hero-feature {
  margin-top: 22px;
  margin-bottom: 0;
  color: var(--text);
  font-weight: 800;
}

/* v37: 店長プロフィールをキャラクター紹介へ追加 */
.character-card-manager {
  grid-column: 1 / -1;
  grid-template-columns: 220px minmax(0, 1fr);
}
.character-figure-manager {
  width: 220px;
}
.character-figure-manager img {
  max-width: 220px;
  border-radius: 22px;
}
.character-card-manager .character-copy p + p {
  margin-top: 12px;
}
@media (max-width: 820px) {
  .character-card-manager {
    grid-template-columns: 160px minmax(0, 1fr);
  }
  .character-figure-manager {
    width: 160px;
  }
  .character-figure-manager img {
    max-width: 160px;
  }
}
@media (max-width: 560px) {
  .character-card-manager {
    grid-template-columns: 1fr;
  }
  .character-figure-manager {
    width: 180px;
  }
  .character-figure-manager img {
    max-width: 180px;
  }
}

/* v39: TOPページ内の共通お問い合わせボタンを統一 */
.contact-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 520px);
  gap: 12px;
  margin-top: 28px;
}
.contact-action-row .button {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}
.welcome-contact-actions {
  margin-top: 26px;
}
.reason-contact-actions {
  margin-top: 28px;
}
.price-contact-actions {
  margin: 30px auto 0;
}
@media (max-width: 560px) {
  .contact-action-row {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

/* v40: TOPページ PC版の横幅・改行・余白・カード配置を整理 */
@media (min-width: 1001px) {
  .home-page .container {
    width: min(1240px, calc(100% - 64px));
  }

  .home-page .section {
    padding: 88px 0;
  }

  .home-page .section-heading {
    max-width: 940px;
    margin-bottom: 34px;
  }

  .home-page .section-heading h2 {
    font-size: clamp(36px, 3.15vw, 46px);
    line-height: 1.32;
    text-wrap: balance;
  }

  /* 最上部：画像と挨拶文 */
  .home-page .welcome-section {
    padding: 48px 0 82px;
  }

  .home-page .welcome-visual {
    max-width: 1080px;
    border-radius: 26px;
  }

  .home-page .welcome-visual figcaption {
    padding: 14px 20px 16px;
    font-size: 12.5px;
  }

  .home-page .welcome-copy {
    max-width: 940px;
    margin-top: 46px;
  }

  .home-page .welcome-copy h1 {
    margin-bottom: 24px;
    font-size: clamp(38px, 3.6vw, 50px);
    line-height: 1.3;
    text-wrap: balance;
  }

  .home-page .welcome-copy p {
    margin-bottom: 14px;
    font-size: 17px;
    line-height: 1.95;
  }

  .home-page .welcome-copy .welcome-free {
    margin-top: 22px;
    font-size: 21px;
  }

  .home-page .welcome-copy .welcome-closing {
    margin-top: 20px;
  }

  /* 相談内容：4列を維持しつつ、タイトルの不自然な改行を減らす */
  .home-page #services {
    padding-top: 84px;
    padding-bottom: 92px;
  }

  .home-page .service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
  }

  .home-page .service-card {
    min-height: 272px;
    padding: 24px 22px 25px;
    display: flex;
    flex-direction: column;
  }

  .home-page .service-card-heading {
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 15px;
  }

  .home-page .service-card-heading span {
    margin-top: 2px;
    font-size: 24px;
  }

  .home-page .service-card-heading h3 {
    font-size: 16.5px;
    line-height: 1.55;
    letter-spacing: -.015em;
    line-break: strict;
    word-break: normal;
  }

  .home-page .service-card p {
    font-size: 14.5px;
    line-height: 1.85;
  }

  /* ショップへ行く前の説明：本文幅と段落間隔を統一 */
  .home-page .hero {
    padding: 88px 0 84px;
  }

  .home-page .hero-grid {
    display: block;
  }

  .home-page .hero-copy {
    max-width: 960px;
  }

  .home-page .hero-main-title {
    max-width: 900px;
    margin-bottom: 28px;
    font-size: clamp(36px, 3.15vw, 46px) !important;
    line-height: 1.4;
    text-wrap: balance;
  }

  .home-page .hero-lead {
    max-width: 920px;
    margin-top: 0;
    font-size: 16.5px;
  }

  .home-page .hero-reason-title {
    margin-bottom: 22px;
    font-size: 27px;
    line-height: 1.5;
  }

  .home-page .hero-lead p {
    margin-bottom: 16px;
    line-height: 1.95;
  }

  .home-page .hero-lead .hero-feature {
    margin-top: 25px;
    line-height: 1.85;
  }

  /* 料金：高さとリンク位置をそろえる */
  .home-page #price {
    padding-top: 84px;
    padding-bottom: 88px;
  }

  .home-page .price-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
  }

  .home-page .price-card {
    min-height: 278px;
    padding: 31px 30px 27px;
  }

  .home-page .price-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .home-page .price-label {
    font-size: 15px;
  }

  .home-page .price {
    margin: 19px 0 14px;
  }

  .home-page .price strong {
    font-size: 48px;
  }

  .home-page .price-text {
    margin: 22px 0 16px;
    font-size: 24px;
    line-height: 1.5;
  }

  .home-page .price-card-link > p:last-of-type {
    font-size: 15px;
    line-height: 1.85;
  }

  .home-page .price-card-more {
    margin-top: auto;
  }

  .home-page .note {
    margin-top: 20px;
    font-size: 13px;
  }

  /* キャラクター：プロフィールの文字量に合わせて余白と画像サイズを調整 */
  .home-page #characters {
    padding-top: 88px;
    padding-bottom: 92px;
    border-top: 1px solid var(--line);
  }

  .home-page #characters .section-heading {
    margin-bottom: 32px;
  }

  .home-page .character-grid {
    gap: 22px;
  }

  .home-page .character-card {
    padding: 30px;
  }

  .home-page .character-card-manager {
    grid-template-columns: 205px minmax(0, 1fr);
    gap: 36px;
  }

  .home-page .character-figure-manager {
    width: 205px;
  }

  .home-page .character-figure-manager img {
    width: 205px;
    max-width: 205px;
    height: 205px;
    object-fit: cover;
    border-radius: 50%;
  }

  .home-page .character-card-manager .character-copy h3 {
    margin-bottom: 14px;
    font-size: 22px;
  }

  .home-page .character-card-manager .character-copy p {
    font-size: 15.5px;
    line-height: 1.9;
  }

  .home-page .character-card-manager .character-copy p + p {
    margin-top: 10px;
  }

  .home-page .character-grid > .character-card:not(.character-card-manager) {
    min-height: 330px;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
  }

  .home-page .character-grid > .character-card:not(.character-card-manager) .character-figure {
    width: 180px;
  }

  .home-page .character-grid > .character-card:not(.character-card-manager) .character-figure img {
    width: auto;
    max-width: 180px;
    height: 270px;
    object-fit: contain;
  }

  .home-page .character-copy h3 {
    margin-bottom: 12px;
    font-size: 21px;
  }

  .home-page .character-copy p {
    font-size: 15px;
    line-height: 1.9;
  }

  .home-page .character-disclaimer {
    margin-top: 18px;
  }

  /* お問い合わせボタン：サイズは共通、位置だけセクションに合わせる */
  .home-page .contact-action-row {
    width: min(100%, 540px);
    gap: 14px;
  }

  .home-page .contact-action-row .button {
    min-height: 54px;
    border-radius: 14px;
    font-size: 15px;
  }

  .home-page .price-contact-actions {
    margin-top: 34px;
  }
}

@media (min-width: 1001px) and (max-width: 1180px) {
  .home-page .container {
    width: min(100% - 48px, 1120px);
  }

  .home-page .service-card {
    padding-inline: 19px;
  }

  .home-page .service-card-heading h3 {
    font-size: 15.5px;
  }
}

/* v40: 長い相談カード見出しは、PC版だけ意味の切れ目で改行 */
@media (min-width: 1001px) {
  .home-page .service-title-break { display: block; }
}

/* v42: TOPページのPC版を共通コンテナ内の左端で統一（v40基準） */
@media (min-width: 1001px) {
  /* コンテナ自体は必ず画面中央に置く */
  .home-page .container {
    width: min(1120px, calc(100% - 64px));
    margin-right: auto;
    margin-left: auto;
  }

  /* 見出し・本文はコンテナ内の同じ左端から開始 */
  .home-page .section-heading {
    max-width: 920px;
    margin-right: 0;
    margin-left: 0;
  }

  /* 画像のみ中央、挨拶文は共通左端へ */
  .home-page .welcome-visual {
    max-width: 1080px;
    margin-right: auto;
    margin-left: auto;
  }

  .home-page .welcome-copy {
    max-width: 920px;
    margin: 46px 0 0;
  }

  /* hero-gridはcontainerを兼ねるため、中央配置のmarginを上書きしない */
  .home-page .hero-grid {
    display: block;
  }

  .home-page .hero-copy {
    width: 100%;
    max-width: 920px;
    margin: 0;
  }

  .home-page .hero-main-title,
  .home-page .hero-lead {
    max-width: 920px;
  }

  /* 問い合わせボタンも各本文の左端に統一 */
  .home-page .welcome-contact-actions,
  .home-page .reason-contact-actions,
  .home-page .price-contact-actions {
    margin-right: 0;
    margin-left: 0;
  }

  /* カード群は共通コンテナ幅をそのまま使用 */
  .home-page .service-grid,
  .home-page .price-grid,
  .home-page .character-grid {
    width: 100%;
  }
}

/* v43: 通常サポート・ワンコインサポートの「ほかの料金を見る」直前に共通問い合わせボタンを配置 */
.detail-before-plans-actions {
  margin-top: 52px;
}
@media (max-width: 560px) {
  .detail-before-plans-actions {
    margin-top: 40px;
  }
}

/* v46: TOPページに駐車場案内動画を追加 */
.parking-section {
  background: #fff;
}
.parking-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
.parking-video-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 8px 24px rgba(23, 32, 42, .04);
}
.parking-video-card h3 {
  margin: 0 0 16px;
  font-size: 20px;
  line-height: 1.45;
}
.parking-video-frame {
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 16px;
  background: #0d0d0d;
}
.parking-video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 900px) {
  .parking-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .parking-video-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .parking-video-card {
    padding: 18px;
  }
}


/* v49: 絵文字とカード見出しを同じ行に統一 */
.card-heading-inline {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 8px;
}
.card-heading-inline > span {
  flex: 0 0 auto;
  line-height: 1;
}
.card-heading-inline > h3 {
  margin: 0 !important;
  line-height: 1.45;
}
.repair-estimate-grid .card-heading-inline {
  margin-bottom: 6px;
}

/* v50: TOPページのスマホ版を、背景色と区切りで読みやすく整理 */
@media (max-width: 720px) {
  /* セクションの基本リズム */
  .home-page .section,
  .home-page .hero,
  .home-page .welcome-section,
  .home-page .parking-section {
    padding-top: 54px;
    padding-bottom: 56px;
  }

  .home-page .section-heading {
    margin-bottom: 26px;
  }

  .home-page .section-heading h2 {
    font-size: clamp(28px, 8.2vw, 34px);
    line-height: 1.42;
  }

  /* 英語の小見出しを共通のラベルとして見せる */
  .home-page .section-heading .eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    margin-bottom: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(23, 122, 104, .10);
    color: var(--primary-dark);
    font-size: 10px;
    letter-spacing: .13em;
  }

  /* 入口：温かいアイボリー */
  .home-page .welcome-section {
    background:
      radial-gradient(circle at 92% 5%, rgba(242, 184, 75, .20), transparent 32%),
      #fff9ef;
    border-bottom: 1px solid #eee4d4;
  }

  .home-page .welcome-copy {
    margin-top: 28px;
    padding: 24px 20px 22px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid #eadfcd;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(73, 55, 23, .06);
  }

  .home-page .welcome-copy h1 {
    margin-bottom: 20px;
    font-size: clamp(29px, 8.5vw, 35px);
  }

  /* 相談内容：白背景とカードの境界を強める */
  .home-page #services {
    padding-top: 54px;
    padding-bottom: 58px;
    background: #ffffff;
  }

  .home-page #services .service-card {
    border-color: #d6e2df;
    border-top: 3px solid rgba(23, 122, 104, .32);
    box-shadow: 0 10px 28px rgba(23, 32, 42, .065);
  }

  /* 店の特徴：薄いミント */
  .home-page .hero {
    background: #edf7f4;
    border-top: 1px solid #d9ebe5;
    border-bottom: 1px solid #d9ebe5;
  }

  .home-page .hero-main-title {
    margin-bottom: 26px;
    padding-left: 15px;
    border-left: 5px solid var(--primary);
    color: #123b34;
    font-size: clamp(29px, 8.2vw, 35px) !important;
    line-height: 1.48;
  }

  .home-page .hero-reason-title {
    color: #172f2b;
  }

  /* 料金：薄いクールグレー */
  .home-page #price {
    background: #f1f5f6;
    border-bottom: 1px solid #e0e7e9;
  }

  .home-page #price .section-heading .eyebrow {
    background: #ffffff;
    box-shadow: inset 0 0 0 1px #dfe7e9;
  }

  .home-page #price .price-card {
    border-color: #d8e1e4;
    box-shadow: 0 10px 26px rgba(23, 32, 42, .055);
  }

  /* キャラクター：温かいアイボリー */
  .home-page #characters {
    padding-top: 54px;
    padding-bottom: 58px;
    background: #fff9ef;
    border-top: 0;
    border-bottom: 1px solid #eee4d4;
  }

  .home-page #characters .section-heading .eyebrow {
    background: #ffffff;
    box-shadow: inset 0 0 0 1px #eadfcd;
  }

  .home-page #characters .character-card {
    background: #ffffff;
    border-color: #e6ddcf;
    box-shadow: 0 10px 26px rgba(73, 55, 23, .055);
  }

  /* 営業案内：濃色を維持し、前後の切り替えを明確化 */
  .home-page #access {
    padding-top: 56px;
    padding-bottom: 58px;
  }

  .home-page #access .section-heading .eyebrow {
    background: rgba(255, 255, 255, .10);
    color: #dffbf4;
  }

  /* 駐車場：薄いグレーで営業案内と最下部CTAの間を区切る */
  .home-page #parking {
    background: #f4f7f8;
    border-top: 1px solid #e2e8ea;
    border-bottom: 1px solid #e2e8ea;
  }

  .home-page #parking .section-heading .eyebrow {
    background: #ffffff;
    box-shadow: inset 0 0 0 1px #dfe6e8;
  }

  .home-page .parking-video-card {
    background: #ffffff;
    border-color: #dce4e6;
    box-shadow: 0 10px 28px rgba(23, 32, 42, .06);
  }

  /* 最後の問い合わせ帯は強い緑のまま */
  .home-page .cta {
    padding-top: 48px;
    padding-bottom: 50px;
  }

  .home-page .cta .eyebrow {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
  }
}

/* v51: TOPページのスマホ版で、セクションの色差と見出しの区切りを強化 */
@media (max-width: 720px) {
  /* 共通：主要見出しに明確なアクセントライン */
  .home-page .welcome-copy h1,
  .home-page #services .section-heading h2,
  .home-page #price .section-heading h2,
  .home-page #characters .section-heading h2,
  .home-page #parking .section-heading h2 {
    padding-left: 15px;
    border-left: 6px solid var(--primary);
  }

  .home-page #access .section-heading h2 {
    padding-left: 15px;
    border-left: 6px solid #7ee4cf;
  }

  /* 挨拶：ベージュを一段濃くして入口を明確にする */
  .home-page .welcome-section {
    background:
      radial-gradient(circle at 92% 5%, rgba(230, 170, 62, .28), transparent 34%),
      #f3e5cf;
    border-bottom-color: #ddc9a9;
  }

  .home-page .welcome-copy {
    background: rgba(255,255,255,.94);
    border-color: #d8c4a4;
    box-shadow: 0 12px 30px rgba(73,55,23,.10);
  }

  /* 相談内容：白を維持し、前後との差をカードで出す */
  .home-page #services {
    background: #ffffff;
  }

  .home-page #services .service-card {
    border-color: #c6d8d3;
    border-top-color: rgba(23,122,104,.58);
    box-shadow: 0 12px 28px rgba(23,32,42,.085);
  }

  /* 店の特徴：ミントを明確に */
  .home-page .hero {
    background: #dcefe7;
    border-top-color: #bfded2;
    border-bottom-color: #bfded2;
  }

  /* 料金：ブルーグレーを明確に */
  .home-page #price {
    background: #e3ebf0;
    border-bottom-color: #cbd8df;
  }

  .home-page #price .price-card {
    border-color: #c7d4dc;
    box-shadow: 0 12px 28px rgba(23,32,42,.075);
  }

  /* キャラクター：クリーム色を明確に */
  .home-page #characters {
    background: #f5e8d6;
    border-bottom-color: #dfc9aa;
  }

  .home-page #characters .character-card {
    border-color: #dbc8ab;
    box-shadow: 0 12px 28px rgba(73,55,23,.075);
  }

  /* 駐車場：グレーを一段濃く */
  .home-page #parking {
    background: #e8ecef;
    border-top-color: #d0d8dd;
    border-bottom-color: #d0d8dd;
  }

  .home-page .parking-video-card {
    border-color: #cbd5da;
    box-shadow: 0 12px 28px rgba(23,32,42,.075);
  }
}

/* v52: 全ページのクリック可能な要素を、ひと目で押せる操作部品として統一 */
:root {
  --control-edge: #0d5e50;
  --control-shadow: rgba(13, 94, 80, .28);
  --control-soft-edge: #c4d6d1;
}

/* 共通ボタン：太い輪郭・立体感・押下表現 */
a.button,
button.menu-button {
  position: relative;
  gap: 10px;
  border: 2px solid transparent;
  box-shadow: 0 5px 0 var(--control-shadow), 0 10px 22px rgba(23, 32, 42, .12);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease, background-color .16s ease;
}

a.button:not(.secondary)::after {
  content: "›";
  display: grid;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  place-items: center;
  margin-left: auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, .20);
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

a.button:hover,
button.menu-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--control-shadow), 0 14px 26px rgba(23, 32, 42, .15);
}

a.button:active,
button.menu-button:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--control-shadow), 0 5px 10px rgba(23, 32, 42, .10);
}

a.button:focus-visible,
button.menu-button:focus-visible,
.global-nav a:focus-visible,
.breadcrumb a:focus-visible,
.price-card-link:focus-visible,
.detail-related-card:focus-visible,
.detail-back-link:focus-visible,
.repair-device-link:focus-visible,
.repair-device-anchor:focus-visible,
.hours-line-note a:focus-visible {
  outline: 4px solid rgba(242, 184, 75, .72);
  outline-offset: 4px;
}

.button.primary {
  border-color: #0c6657;
  background: linear-gradient(180deg, #1b8a75, #177a68);
}
.button.line-button,
.button.contact-line,
.button.line-light-button {
  border-color: #049b42;
  background: linear-gradient(180deg, #12d561, #06c755);
}
.button.secondary {
  border-color: #9db8b1;
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 5px 0 #cad8d4, 0 10px 22px rgba(23, 32, 42, .10);
}
.button.secondary:hover {
  background: #f3f8f6;
  box-shadow: 0 7px 0 #cad8d4, 0 14px 26px rgba(23, 32, 42, .13);
}
.button.light-button,
.button.contact-phone,
.button.map-button {
  border-color: #b7cec8;
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 5px 0 rgba(255,255,255,.24), 0 10px 22px rgba(0,0,0,.16);
}
.button.light-button::after,
.button.contact-phone::after,
.button.map-button::after {
  background: #e7f2ef;
}

/* ヘッダーメニューも、文字だけではなく小さな選択ボタンとして表示 */
.global-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 13px;
  border: 1px solid #cbdad6;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 3px 0 #dce6e3;
  color: #29413c;
  font-weight: 800;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease;
}
.global-nav a::after {
  content: "›";
  color: var(--primary);
  font-size: 17px;
  line-height: 1;
}
.global-nav a:hover {
  transform: translateY(-2px);
  background: #edf7f4;
  color: var(--primary-dark);
  box-shadow: 0 5px 0 #d2e2dd;
}
.global-nav a:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #d2e2dd;
}
.menu-button {
  border-color: #afc6c0;
  color: var(--primary-dark);
  box-shadow: 0 4px 0 #d1dfdb, 0 8px 16px rgba(23,32,42,.10);
}

/* パンくず内の移動リンク */
.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 10px;
  border: 1px solid #c9d9d5;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 800;
  box-shadow: 0 2px 0 #dce6e3;
}
.breadcrumb a:hover {
  background: #edf7f4;
  color: var(--primary-dark);
}

/* TOP料金カード：カード全体が押せることを下部の濃色バーで明示 */
.price-card-link {
  overflow: hidden;
  border-width: 2px;
  border-color: #b7d2cb;
  box-shadow: 0 6px 0 #d4e4df, 0 14px 30px rgba(23, 32, 42, .11);
}
.price-card-link:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 9px 0 #c9ddd7, 0 20px 36px rgba(23, 32, 42, .15);
}
.price-card-link:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #c9ddd7, 0 7px 14px rgba(23, 32, 42, .10);
}
.price-card-more {
  width: auto;
  min-height: 52px;
  justify-content: space-between;
  margin: auto -30px -27px;
  padding: 13px 22px;
  background: linear-gradient(180deg, #1b8a75, #177a68);
  color: #fff;
  font-size: 15px;
  letter-spacing: .02em;
}
.price-card-more span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255,255,255,.20);
  font-size: 20px;
}
.price-card-link:hover .price-card-more span {
  transform: translateX(3px);
}

/* OTHER PLANSなど、ページ遷移カード */
.detail-related-card {
  border-width: 2px;
  border-color: #b9d3cc;
  box-shadow: 0 5px 0 #d4e4df, 0 12px 24px rgba(23,32,42,.10);
  cursor: pointer;
}
.detail-related-card b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 3px 0 rgba(13,94,80,.28);
}
.detail-related-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 0 #c9ddd7, 0 18px 30px rgba(23,32,42,.14);
}
.detail-related-card:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #c9ddd7, 0 7px 14px rgba(23,32,42,.10);
}
.detail-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 8px 17px;
  border: 2px solid #b7cec8;
  border-radius: 13px;
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 4px 0 #d4e1dd, 0 9px 18px rgba(23,32,42,.09);
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.detail-back-link:hover {
  transform: translateY(-2px);
  background: #edf7f4;
  box-shadow: 0 6px 0 #d4e1dd, 0 13px 22px rgba(23,32,42,.12);
}
.detail-back-link:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #d4e1dd;
}

/* 修理ページの機種カード：下部に明確な操作バーを付ける */
.repair-device-grid .repair-device-link,
.repair-device-grid .repair-device-anchor {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 0;
  border-width: 2px;
  border-color: #b9d3cc;
  box-shadow: 0 5px 0 #d4e4df, 0 12px 24px rgba(23,32,42,.10);
  cursor: pointer;
}
.repair-device-grid .repair-device-link:hover,
.repair-device-grid .repair-device-anchor:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 0 #c9ddd7, 0 18px 30px rgba(23,32,42,.14);
}
.repair-device-grid .repair-device-link:active,
.repair-device-grid .repair-device-anchor:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #c9ddd7, 0 7px 14px rgba(23,32,42,.10);
}
.repair-device-grid .repair-device-link b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  margin: auto -26px 0;
  padding: 12px 20px;
  background: linear-gradient(180deg, #1b8a75, #177a68);
  color: #fff;
  font-size: 14px;
}
.repair-device-grid .repair-device-anchor::after {
  content: "この項目を見る  ›";
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  margin: auto -26px 0;
  padding: 12px 20px;
  background: linear-gradient(180deg, #1b8a75, #177a68);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

/* 営業案内内の公式LINEも、小型ボタンとして認識できる表示 */
.hours-line-note a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-right: 4px;
  padding: 4px 11px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: #06c755;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 3px 0 rgba(0,0,0,.18);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.hours-line-note a::after {
  content: "›";
  margin-left: 7px;
  font-size: 18px;
  line-height: 1;
}
.hours-line-note a:hover {
  transform: translateY(-2px);
  color: #fff;
  filter: brightness(.97);
  box-shadow: 0 5px 0 rgba(0,0,0,.18);
}
.hours-line-note a:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(0,0,0,.18);
}

@media (max-width: 720px) {
  .global-nav a {
    width: 100%;
    justify-content: space-between;
    min-height: 48px;
    padding-inline: 16px;
    border-radius: 12px;
  }

  a.button {
    min-height: 56px;
    padding-inline: 17px;
    font-size: 16px;
  }

  .price-card-more {
    margin-right: -24px;
    margin-bottom: -24px;
    margin-left: -24px;
    padding-inline: 19px;
  }

  .detail-related-card {
    min-height: 108px;
    padding: 22px;
  }

  .repair-device-grid .repair-device-link b,
  .repair-device-grid .repair-device-anchor::after {
    margin-right: -24px;
    margin-left: -24px;
  }

  /* タッチ端末ではホバーによる浮き上がりを残さず、押した瞬間だけ沈ませる */
  .price-card-link:hover,
  .detail-related-card:hover,
  .repair-device-grid .repair-device-link:hover,
  .repair-device-grid .repair-device-anchor:hover {
    transform: none;
  }
}

/* v54: 2026-07-20版 iPhone修理価格表の配色と価格へ更新 */
.iphone-price-page .iphone-price-table-wrap {
  border-color: #5d6670;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(23, 32, 42, .08);
}
.iphone-price-page .iphone-color-price-table {
  min-width: 860px;
  table-layout: fixed;
  font-size: 15px;
}
.iphone-price-page .iphone-color-price-table th,
.iphone-price-page .iphone-color-price-table td {
  border-color: #67717a;
  padding: 12px 14px;
}
.iphone-price-page .iphone-color-price-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  color: #17202a;
  font-size: 14px;
  line-height: 1.45;
}
.iphone-price-page .iphone-color-price-table thead th:nth-child(1),
.iphone-price-page .iphone-color-price-table tbody th {
  background: #bfe8f6;
}
.iphone-price-page .iphone-color-price-table thead th:nth-child(2),
.iphone-price-page .iphone-color-price-table tbody td:nth-child(2) {
  background: #d9ebc7;
}
.iphone-price-page .iphone-color-price-table thead th:nth-child(3),
.iphone-price-page .iphone-color-price-table tbody td:nth-child(3) {
  background: #f7d5a5;
}
.iphone-price-page .iphone-color-price-table thead th:nth-child(4),
.iphone-price-page .iphone-color-price-table tbody td:nth-child(4) {
  background: #fff9b8;
}
.iphone-price-page .iphone-color-price-table thead th:nth-child(5),
.iphone-price-page .iphone-color-price-table tbody td:nth-child(5) {
  background: #f5d9a0;
}
.iphone-price-page .iphone-color-price-table tbody tr:nth-child(even) th {
  background: #a8def1;
}
.iphone-price-page .iphone-color-price-table tbody tr:nth-child(even) td:nth-child(2) {
  background: #cce6b3;
}
.iphone-price-page .iphone-color-price-table tbody tr:nth-child(even) td:nth-child(3) {
  background: #f3cc98;
}
.iphone-price-page .iphone-color-price-table tbody tr:nth-child(even) td:nth-child(4) {
  background: #fff5a6;
}
.iphone-price-page .iphone-color-price-table tbody tr:nth-child(even) td:nth-child(5) {
  background: #f2cf8a;
}
.iphone-price-page .iphone-color-price-table tbody th {
  width: 28%;
  color: #17202a;
}
.iphone-price-page .iphone-color-price-table thead th:not(:first-child),
.iphone-price-page .iphone-color-price-table tbody td {
  width: 18%;
}
.iphone-price-page .iphone-color-price-table tbody td:empty::after {
  content: "";
  display: inline-block;
  min-height: 1em;
}
.iphone-price-page .iphone-color-price-table .oled-model-start th,
.iphone-price-page .iphone-color-price-table .oled-model-start td {
  border-top-width: 4px;
  border-top-color: #29313a;
}
.iphone-price-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.iphone-price-guide {
  padding: 24px 26px;
  border: 1px solid #9ba4ac;
  border-radius: 18px;
  background: #f2f4f4;
}
.iphone-price-guide h2 {
  margin: 0 0 12px;
  font-size: 20px;
}
.iphone-price-guide p {
  margin: 8px 0 0;
  color: #42505d;
  line-height: 1.8;
}
.iphone-price-guide.lcd-model-guide {
  border-top: 6px solid #bfe8f6;
}
.iphone-price-guide.oled-model-guide {
  border-top: 6px solid #fff5a6;
}
.iphone-price-source-notes {
  padding: 18px 20px;
  border: 1px solid #aab1b7;
  border-radius: 14px;
  background: #d7d7d7;
  color: #26313a;
  font-size: 14px;
}
@media (max-width: 720px) {
  .iphone-price-page .iphone-color-price-table {
    min-width: 790px;
    font-size: 13px;
  }
  .iphone-price-page .iphone-color-price-table th,
  .iphone-price-page .iphone-color-price-table td {
    padding: 11px 12px;
  }
  .iphone-price-guide-grid {
    grid-template-columns: 1fr;
  }
  .iphone-price-guide {
    padding: 22px 20px;
  }
}


/* v57: iPhone価格表の改行、修理料金ボタン、TOP修理カードを明確化 */
.iphone-price-lead span {
  display: block;
}

.repair-price-button {
  width: min(100%, 570px);
  min-height: 66px;
  padding: 0 30px;
  border: 3px solid #b97b0b !important;
  background: linear-gradient(180deg, #ffd96f, #f2b84b) !important;
  color: #17202a !important;
  font-size: 18px;
  letter-spacing: .01em;
  box-shadow: 0 7px 0 #c98e20, 0 16px 30px rgba(93, 62, 6, .20) !important;
}
.repair-price-button::after {
  width: 35px !important;
  height: 35px !important;
  flex-basis: 35px !important;
  background: #fff !important;
  color: #9b6500;
  font-size: 27px !important;
}
.repair-price-button:hover {
  background: linear-gradient(180deg, #ffe28d, #f7c45d) !important;
  box-shadow: 0 9px 0 #c98e20, 0 20px 34px rgba(93, 62, 6, .24) !important;
}
.repair-price-button:active {
  box-shadow: 0 2px 0 #c98e20, 0 7px 14px rgba(93, 62, 6, .16) !important;
}

.home-page .repair-top-card .repair-card-title {
  margin: 18px 0 16px;
  color: var(--text);
  font-size: 31px;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.home-page .repair-top-card > p:last-of-type {
  margin-top: 4px;
}

@media (max-width: 720px) {
  .repair-price-button {
    min-height: 62px;
    padding-inline: 20px;
    font-size: 16px;
  }
  .home-page .repair-top-card .repair-card-title {
    font-size: 29px;
  }
}
