/* 看板デザインに合わせたブランド配色。内容・機能は変更しない。 */
:root {
  --blue: #0060ff; --blue-deep: #003b99; --cyan: #99def9;
  --ink: #10294d; --ink-soft: #51647a;
  --paper: #f3f8ff; --paper-2: #e6f1ff; --rule: #ccdbef;
  --line: #06c755; --r: 3px; --maxw: 1160px;
  --section-space: clamp(68px, 9vw, 124px);
  --f-disp: "Zen Kaku Gothic New", sans-serif;
}
h1, h2, h3, h4 { letter-spacing: .025em; }
.site-header { padding-block: 4px; min-height: 90px; border-bottom: 0; background: var(--blue); box-shadow: inset 0 -1px 0 #ffffff45; }
/* 看板の白いロゴを青いヘッダー内に収める。 */
.brand { display: flex; width: 240px; height: 86px; align-items: center; flex-shrink: 0; overflow: visible; }
.brand img { position: static; width: 100%; height: auto; max-width: 100%; }
.site-header nav a { color: #fff; font-weight: 500; }
.site-header nav a:hover { color: var(--cyan); }
.line-button, .secondary-button, #works a, #access > p a { border-radius: 3px; }
.line-button { color: #fff; }
.line-button::after, .secondary-button::after { content: none; display: none; }
.line-button, .secondary-button { justify-content: center; gap: 0; text-align: center; }
.hero-actions .line-button, .hero-actions .secondary-button { justify-content: center; }
.line-button:hover { background: var(--line); color: #fff; box-shadow: inset 0 0 0 2px #ffffff80; }
.menu-toggle { border-radius: 3px; }
#top {
  grid-template-columns: 1fr; gap: 64px; min-height: 720px;
  align-content: space-between; padding-block: 88px 0; background: #071b2d;
}
#top::before { background: linear-gradient(90deg, #071b2df2 0%, #071b2dc2 42%, #071b2d3d 72%, #071b2d12 100%), linear-gradient(0deg, #071b2dcc, transparent 52%); }
#top::after { display: none; }
.hero-visual { opacity: 1; object-position: 64% center; filter: saturate(.86) contrast(1.04); }
.hero-copy { max-width: 680px; }
.hero-badge { padding-left: 16px; border-left: 2px solid var(--cyan); font-size: 14px; color: #e9f8ff; }
.hero-badge::before { display: none; }
#top h1 { font-size: clamp(34px, 4.5vw, 60px); line-height: 1.5; font-weight: 700; letter-spacing: -.025em; }
.hero-lead { color: #e5f5ff; line-height: 2; }
.hero-actions { gap: 14px; }
.hero-actions .line-button, .hero-actions .secondary-button { min-height: 56px; padding-inline: 26px; }
.secondary-button:hover { background: #ffffff15; }
.hero-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 28px 0; border-radius: 0; border-top: 1px solid #ffffff50; color: #fff; background: transparent; box-shadow: none; }
.hero-prices li { padding: 0 30px; border: 0; border-right: 1px solid #ffffff35; }
.hero-prices li:first-child { padding-left: 0; }
.hero-prices li:last-child { border: 0; }
.hero-prices li > span { font-size: 14px; font-weight: 400; color: #e5f5ff; }
.hero-prices strong { color: #fff; font-size: 38px; font-weight: 500; }
#sizebar { background: #fff; padding-block: 38px; }
.size-buttons { gap: 0; border: 1px solid var(--rule); }
.size-buttons button { border: 0; border-right: 1px solid var(--rule); border-radius: 0; }
.size-buttons button:last-child { border-right: 0; }
.size-buttons span { font-size: 13px; }
.size-buttons button:hover { background: var(--paper); }
.size-buttons button[aria-pressed="true"] { background: var(--blue-deep); }
#about { grid-template-columns: 420px minmax(0, 1fr); gap: 72px; }
.about-heading { border-top: 2px solid var(--blue); padding-top: 24px; }
.about-heading h2 { font-size: 28px; line-height: 1.85; }
.section-label { margin-bottom: 26px; letter-spacing: .12em; }
.about-body > p { line-height: 2.15; }
.about-body blockquote { margin: 36px 0; padding: 0; border: 0; background: transparent; font: 500 clamp(18px, 1.5vw, 20px)/2 var(--f-disp); letter-spacing: .025em; }
.atmosphere-photo { margin: 34px 0 42px; }
.atmosphere-photo img { display: block; width: 100%; height: auto; border-radius: 3px; }
.atmosphere-photo figcaption { margin-top: 10px; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.flow-photo img { height: clamp(280px, 42vw, 480px); object-fit: cover; object-position: center; }
.for-grid article { border-top: 1px solid #7da8db; }
/* 車種選択と料金を同じコーナーにまとめる。比較表は必要な時だけ開く。 */
#menu > #sizebar { margin: 32px 0 40px; padding: 28px var(--gutter); border-block: 1px solid var(--rule); background: transparent; }
#menu > #sizebar h2 { font-size: 22px; }
#sizebar .car-search { margin: 24px 0; }
.price-view { margin-top: 32px; }
.price-view h4 { margin-bottom: 8px; }
.price-view-status { color: var(--ink-soft); font-size: 14px; }
.price-view dl, #polish .price-view dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0; margin: 20px 0; color: var(--ink); }
.price-view dt, .price-view dd, #polish .price-view dd { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.price-view dt { padding-right: 20px; font-size: 16px; font-weight: 500; line-height: 1.8; }
.price-view dd { align-content: center; font: 500 24px/1.5 var(--f-num); white-space: nowrap; }
.price-size-link { display: inline-block; padding: 10px 0; font-size: 14px; }
.price-comparison { margin: 12px 0 24px; }
.price-comparison summary { font-size: 14px; padding: 16px 0; text-decoration: underline; text-underline-offset: 5px; }
.price-comparison summary::before, .price-comparison summary::after { display: none; }
.price-comparison .ptable, body.sized .price-comparison .ptable { min-width: 830px; }
body.sized .price-comparison .ptable tbody th { width: 30%; min-width: 190px; }
body.sized .price-comparison .ptable td { min-width: 0; }
body.sized .price-comparison .ptable td::after { content: none; }
body.sized .price-comparison .ptable thead th:first-child span { display: inline; }
@media (max-width: 700px) {
  .price-view dl, #polish .price-view dl { grid-template-columns: minmax(0, 1fr); }
  .price-view dt { border-bottom: 0; padding: 18px 0 4px; }
  .price-view dd, #polish .price-view dd { padding: 0 0 18px; font-size: 26px; }
  #menu > #sizebar { padding-block: 24px; }
}
.service-nav { border-top: 2px solid var(--blue); }
.service-nav a { min-height: 102px; gap: 8px; }
.service-nav span { font-size: 16px; }
#menu > section { padding-block: 78px 90px; }
#menu > section > h3 { gap: 20px; font-weight: 700; }
#menu > section > h3::before { width: 30px; height: 2px; align-self: center; border-radius: 0; background: var(--blue); }
.service-photo { height: clamp(270px, 37vw, 450px); border-radius: 2px; }
.service-photo-pair { gap: 22px; grid-template-columns: 1.6fr 1fr; }
.service-photo-pair .service-photo { height: clamp(270px, 37vw, 420px); }
.service-photo figcaption { border-radius: 2px; background: #101e2bd9; }
.feature-grid article { padding: 24px 0; border-top: 1px solid var(--rule); border-radius: 0; background: transparent; }
.feature-grid p, .coating-grid article > p, #flow p { font-size: 16px; }
.coating-grid article { border-radius: 2px; padding: 32px; }
.coating-grid .recommended-card { padding: 48px; border: 0; background: var(--blue-deep); }
.recommended-card > p:first-child, #glass > p:first-child { border-radius: 2px; }
.recommended-card > p:first-child { color: var(--blue-deep); background: var(--cyan); }
.table-scroll, .map-wrap { border-radius: 2px; }
caption { padding-block: 22px; }
thead { background: var(--paper-2); }
.car-search input, #car-search-results button { border-radius: 3px; }
#flow li::before { font-size: 44px; color: var(--blue); }
.consultation-photo { max-width: 900px; margin: 32px auto 40px; }
.consultation-photo img { width: 100%; height: auto; border-radius: 3px; }
.consultation-photo figcaption { margin-top: 10px; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.closing { background: linear-gradient(145deg, #003b99, #0060ff); padding-block: 110px; }
.closing p:last-child { display: flex; justify-content: center; max-width: none; margin: 28px auto 0; }
.closing .line-button { display: flex; width: fit-content; max-width: 100%; min-height: 58px; margin-inline: auto; padding: 16px 28px; justify-content: center; }
.instagram-link { gap: 12px; }
.instagram-icon { width: 24px; height: 24px; flex-shrink: 0; }
.owner-photo { max-width: 420px; margin: 32px 0 0; }
.owner-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
footer { background: #00265f; }
@media (max-width: 1040px) {
  #top { grid-template-columns: 1fr; gap: 52px; }
  #about { grid-template-columns: 340px minmax(0, 1fr); gap: 40px; }
  .about-heading h2 { font-size: 24px; }
}
@media (max-width: 860px) {
  .site-header { min-height: 76px; padding-block: 3px; }
  .brand { width: 150px; height: 54px; }
  .brand img { position: static; width: 100%; height: auto; }
  .menu-toggle { border-color: #ffffffb8; border-radius: 3px; color: #fff; background: transparent; }
  .site-header nav { border-color: var(--rule); background: var(--white); }
  .site-header nav a { color: var(--ink); }
  .site-header nav a:hover { color: var(--blue); }
}
@media (max-width: 820px) {
  #top { padding-block: 64px 0; min-height: 680px; }
  #top h1 { font-size: clamp(34px, 5.8vw, 48px); }
  #about { grid-template-columns: 1fr; gap: 32px; }
  .about-heading h2 { font-size: 28px; }
  .hero-prices { padding-block: 24px; }
  .hero-prices li { padding-inline: 18px; }
  .hero-prices strong { font-size: 31px; }
}
@media (max-width: 700px) {
  .brand { width: 138px; height: 50px; }
  #top { min-height: 0; padding-block: 56px 0; gap: 40px; }
  #top::before { background: linear-gradient(90deg, #071b2deb, #071b2d70), linear-gradient(0deg, #071b2def, transparent); }
  .hero-visual { opacity: 1; object-position: 65% center; }
  #top h1 { font-size: clamp(27px, 7.6vw, 42px); line-height: 1.6; }
  .hero-badge { font-size: 12px; }
  .hero-lead { font-size: 16px; }
  .hero-prices { display: block; padding: 0; }
  .hero-prices li, .hero-prices li:first-child { padding: 16px 0; border: 0; border-bottom: 1px solid #ffffff30; }
  .hero-prices li > span { font-size: 13px; }
  .hero-prices strong { font-size: 27px; }
  .hero-prices li:last-child { padding-bottom: 26px; }
  .size-buttons button { border-bottom: 1px solid var(--rule); }
  .size-buttons button:nth-child(3n) { border-right: 0; }
  .size-buttons button:nth-child(n+4) { border-bottom: 0; }
  .about-heading h2 { font-size: 24px; }
  .atmosphere-photo { margin-block: 28px 36px; }
  .flow-photo img { height: 240px; }
  #menu > section { padding-block: 50px 62px; }
  .service-photo-pair { grid-template-columns: 1fr; gap: 14px; }
  .service-photo-pair .service-photo, .service-photo { height: 260px; }
  .coating-grid .recommended-card { padding: 28px; }
  .closing { padding-block: 72px; }
}
