/*
Theme Name: motoROAD Bike Haisya
Theme URI: https://motoroad-bikehaisya.com/
Author: motoROAD
Description: バイク無料引取サービスのためのオリジナルWordPressテーマ
Version: 1.1.3
Text Domain: motoroad-bikehaisya
*/

:root {
  --ink: #17212b;
  --muted: #5f6b76;
  --navy: #103956;
  --blue: #0877bd;
  --blue-dark: #04547f;
  --green: #14a667;
  --green-dark: #0a794b;
  --line: #dce6eb;
  --pale: #eef9f7;
  --yellow: #ffd52e;
  --orange: #ff7a18;
  --red: #e93838;
  --white: #fff;
  --shadow: 0 12px 34px rgba(16, 57, 86, .13);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(860px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 12px; top: 12px; z-index: 9999; padding: 10px 14px; background: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-logo { width: 88px; height: 64px; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.35; }
.brand-copy strong { font-size: 1rem; letter-spacing: .03em; }
.brand-copy small { color: var(--muted); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-tel { display: grid; text-align: right; text-decoration: none; line-height: 1.25; }
.header-tel small { color: var(--green-dark); font-weight: 800; }
.header-tel strong { color: var(--navy); font-size: 1.45rem; letter-spacing: .02em; }
.service-switch { border-top: 1px solid var(--line); background: #f4f8fa; }
.service-switch-inner { display: flex; align-items: stretch; justify-content: center; gap: 6px; }
.service-tab { position: relative; min-width: 180px; padding: 9px 24px 10px; color: var(--muted); font-weight: 900; text-align: center; text-decoration: none; }
.service-tab::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: transparent; }
.service-tab:hover { color: var(--blue); }
.service-tab.is-current { color: var(--navy); background: #fff; }
.service-tab.is-current::after { background: var(--blue); }
.service-tab small { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 999px; background: var(--yellow); color: var(--navy); font-size: .68rem; vertical-align: 2px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(8, 119, 189, .25);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 12px 26px rgba(8, 119, 189, .3); }
.btn-phone { background: var(--orange); box-shadow: 0 8px 20px rgba(255, 122, 24, .25); }
.btn-line { background: #06c755; box-shadow: 0 8px 20px rgba(6, 199, 85, .22); }
.btn-dark { background: var(--navy); }
.btn-lg { min-height: 60px; padding-inline: 30px; font-size: 1.1rem; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 10%, rgba(255,213,46,.55), transparent 25%),
    linear-gradient(135deg, #e8fbf7 0%, #f5fcff 50%, #fff 100%);
  padding: 68px 0 62px;
}
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 36px, rgba(20,166,103,.035) 36px 72px); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 54px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; color: var(--green-dark); font-weight: 900; letter-spacing: .08em; }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--green); }
.hero h1 { margin: 0; color: var(--navy); font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 1.12; letter-spacing: -.035em; }
.hero h1 em { display: inline-block; color: var(--red); font-style: normal; }
.hero-lead { margin: 22px 0 0; font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 800; }
.zero-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; padding: 0; list-style: none; }
.zero-list li { padding: 7px 13px; border: 2px solid var(--green); border-radius: 999px; background: #fff; color: var(--green-dark); font-weight: 900; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 28px; }
.hero-badge { display: grid; place-items: center; min-width: 132px; padding: 13px 16px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); font-weight: 900; text-align: center; line-height: 1.35; }
.hero-badge strong { color: var(--red); font-size: 1.45rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; min-height: 480px; }
.hero-main-img { position: absolute; right: 0; bottom: 0; width: 78%; max-height: 470px; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(16,57,86,.18)); }
.hero-photo { position: absolute; width: 48%; aspect-ratio: 4/3; object-fit: cover; border: 8px solid #fff; border-radius: 22px; box-shadow: var(--shadow); }
.hero-photo.one { top: 0; left: 0; transform: rotate(-4deg); }
.hero-photo.two { top: 88px; right: 0; transform: rotate(4deg); }
.hero-free { position: absolute; left: 8%; bottom: 24px; z-index: 2; width: 144px; aspect-ratio: 1; display: grid; place-items: center; border: 6px solid #fff; border-radius: 50%; background: var(--yellow); color: var(--red); box-shadow: var(--shadow); text-align: center; font-weight: 1000; font-size: 1.35rem; line-height: 1.2; transform: rotate(-7deg); }

.car-hero {
  background:
    radial-gradient(circle at 88% 8%, rgba(255,213,46,.56), transparent 25%),
    linear-gradient(135deg, #e7f6ff 0%, #f7fbfe 54%, #fff 100%);
}
.car-hero::before { background: repeating-linear-gradient(135deg, transparent 0 38px, rgba(8,119,189,.04) 38px 76px); }
.car-hero .eyebrow, .motoroad-car-service .section-kicker { color: var(--blue-dark); }
.car-hero .eyebrow::before { background: var(--blue); }
.car-hero-visual { position: relative; min-height: 440px; display: grid; place-items: center; padding: 48px 20px 36px; border: 1px solid rgba(8,119,189,.12); border-radius: 38px; background: linear-gradient(155deg, rgba(255,255,255,.96), rgba(220,245,252,.92)); box-shadow: var(--shadow); }
.car-visual-label { position: absolute; top: 24px; left: 28px; padding: 7px 14px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 900; letter-spacing: .03em; }
.car-silhouette { width: 100%; filter: drop-shadow(0 22px 18px rgba(16,57,86,.16)); }
.car-visual-points { position: absolute; left: 24px; right: 24px; bottom: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.car-visual-points span { padding: 8px 6px; border-radius: 10px; background: #fff; color: var(--navy); box-shadow: 0 5px 14px rgba(16,57,86,.08); font-size: .86rem; font-weight: 900; text-align: center; }

.contact-strip { background: var(--navy); color: #fff; padding: 24px 0; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.25); border-radius: 16px; background: rgba(255,255,255,.08); text-decoration: none; }
.contact-icon { font-size: 2rem; }
.contact-card span { display: grid; }
.contact-card small { color: #cfe6f5; }
.contact-card strong { font-size: 1.1rem; }

.section { padding: 88px 0; }
.section-pale { background: var(--pale); }
.section-navy { background: var(--navy); color: #fff; }
.section-yellow { background: linear-gradient(135deg, #fff8cc, #fff); }
.section-head { margin: 0 auto 42px; max-width: 780px; text-align: center; }
.section-kicker { margin: 0 0 6px; color: var(--green-dark); font-weight: 900; letter-spacing: .1em; }
.section-navy .section-kicker { color: #86ecc0; }
.section-title { margin: 0; color: var(--navy); font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.3; }
.section-navy .section-title { color: #fff; }
.section-desc { margin: 14px 0 0; color: var(--muted); }
.section-navy .section-desc { color: #d7e7ef; }
.highlight { color: var(--red); }

.problem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.problem-card { display: grid; grid-template-columns: 1fr 180px; align-items: center; min-height: 260px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.problem-card-copy { padding: 30px; }
.problem-card h3 { margin: 0 0 12px; color: var(--navy); font-size: 1.45rem; line-height: 1.45; }
.problem-card ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.problem-card img { align-self: end; width: 100%; max-height: 250px; object-fit: contain; }
.car-trouble-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.car-trouble-card { position: relative; min-height: 210px; padding: 30px 28px 28px 92px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.car-trouble-card > span { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 70px; height: 70px; border-radius: 0 0 22px 0; background: var(--blue); color: #fff; font-size: 1.4rem; font-weight: 1000; }
.car-trouble-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.4rem; }
.car-trouble-card p { margin: 0; color: var(--muted); }

.solution-band { margin-top: 34px; padding: 34px; border-radius: 24px; background: linear-gradient(135deg, var(--green), var(--blue)); color: #fff; text-align: center; box-shadow: var(--shadow); }
.solution-band h3 { margin: 0 0 10px; font-size: clamp(1.65rem, 3vw, 2.6rem); }
.solution-band p { margin: 0; font-size: 1.15rem; font-weight: 800; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { padding: 28px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: center; box-shadow: var(--shadow); }
.feature-no { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 18px; background: var(--yellow); color: var(--navy); font-size: 1.5rem; font-weight: 1000; }
.feature-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.2rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .95rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; overflow: hidden; padding: 30px 24px; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: var(--shadow); text-align: center; }
.step-label { display: inline-block; margin-bottom: 12px; padding: 5px 13px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 900; }
.step img { height: 145px; object-fit: contain; margin-bottom: 14px; }
.step-icon { display: grid; place-items: center; width: 112px; height: 112px; margin: 4px auto 18px; border-radius: 50%; background: linear-gradient(135deg, #e0f5fb, #fff6c9); color: var(--navy); font-size: 3rem; font-weight: 1000; }
.step h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.35rem; }
.step p { margin: 0; color: var(--muted); }

.form-wrap { overflow: hidden; border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.form-intro { padding: 34px 36px; background: linear-gradient(135deg, var(--blue-dark), var(--navy)); color: #fff; }
.form-intro h2 { margin: 0 0 8px; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.form-intro p { margin: 0; color: #d8edf8; }
.request-form { padding: 36px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 800; }
.required { color: var(--red); font-size: .8em; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 13px 14px; border: 1px solid #b9cbd5; border-radius: 10px; background: #fff; color: var(--ink); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid rgba(8,119,189,.16); border-color: var(--blue); }
.form-field textarea { min-height: 120px; resize: vertical; }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-consent { margin: 20px 0; color: var(--muted); font-size: .92rem; }
.form-status { margin-bottom: 20px; padding: 14px 18px; border-radius: 10px; background: #e8f8ef; color: #075c35; font-weight: 800; }
.form-error { background: #fff0f0; color: #9c2222; }

.campaign { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 34px; padding: 38px; border: 4px solid var(--yellow); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.campaign img { max-height: 170px; object-fit: contain; }
.campaign h2 { margin: 0 0 8px; color: var(--navy); font-size: clamp(1.7rem, 3vw, 2.6rem); }
.campaign strong { color: var(--red); }
.campaign p { margin: 0; color: var(--muted); }

.faq { display: grid; gap: 14px; }
.faq details { border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 5px 18px rgba(16,57,86,.06); }
.faq summary { position: relative; padding: 20px 56px 20px 24px; color: var(--navy); font-weight: 900; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; color: var(--green); font-size: 1.65rem; }
.faq details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 24px 22px; color: var(--muted); }
.faq-answer strong { color: var(--green-dark); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .3s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 12px 14px; color: var(--muted); font-weight: 700; text-align: center; }
.car-type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.car-type-grid article { padding: 28px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-align: center; }
.car-type-grid span { display: block; margin-bottom: 8px; font-size: 3.5rem; line-height: 1.2; }
.car-type-grid h3 { margin: 0 0 6px; color: var(--navy); }
.car-type-grid p { margin: 0; color: var(--muted); font-size: .92rem; }

.areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.area-card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.area-card:first-child { grid-column: 1 / -1; }
.area-card h3 { margin: 0 0 10px; color: var(--navy); }
.area-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.final-cta { padding: 60px 0; background: linear-gradient(135deg, var(--green-dark), var(--blue-dark)); color: #fff; text-align: center; }
.final-cta h2 { margin: 0 0 10px; font-size: clamp(1.8rem, 3.5vw, 3rem); }
.final-cta p { margin: 0 0 24px; color: #d9f3ed; }
.final-cta .hero-cta { justify-content: center; }
.car-final-cta { background: linear-gradient(135deg, var(--navy), var(--blue)); }

.site-footer { padding: 34px 0 100px; background: #0c2537; color: #d3e0e7; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: #fff; }
.mobile-bar { display: none; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 410px; max-width: 620px; width: 100%; margin: 0 auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-card { grid-template-columns: 1fr 150px; }
  .car-type-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .container, .narrow { width: min(100% - 28px, 1120px); }
  .site-header { position: relative; }
  .header-inner { min-height: 68px; }
  .brand-logo { width: 68px; height: 52px; }
  .brand-copy strong { font-size: .86rem; }
  .brand-copy small, .header-tel small { display: none; }
  .header-tel strong { font-size: 1rem; }
  .header-actions .btn { display: none; }
  .service-tab { min-width: 0; flex: 1; padding-inline: 10px; }
  .hero { padding: 44px 0; }
  .hero h1 { font-size: 2.25rem; }
  .hero-visual { min-height: 310px; }
  .hero-main-img { width: 68%; max-height: 300px; }
  .hero-photo { border-width: 5px; }
  .hero-photo.two { top: 62px; }
  .hero-free { width: 102px; font-size: 1rem; border-width: 4px; }
  .hero-cta .btn { width: 100%; }
  .contact-grid, .problem-grid, .feature-grid, .steps, .areas, .car-trouble-grid, .car-type-grid { grid-template-columns: 1fr; }
  .car-hero-visual { min-height: 320px; padding-top: 58px; }
  .car-visual-label { top: 18px; left: 18px; }
  .car-visual-points { left: 14px; right: 14px; bottom: 14px; }
  .car-visual-points span { font-size: .72rem; }
  .contact-card { padding: 14px 16px; }
  .section { padding: 64px 0; }
  .problem-card { grid-template-columns: 1fr 120px; min-height: 220px; }
  .problem-card-copy { padding: 22px 0 22px 22px; }
  .feature-grid { gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .form-intro, .request-form { padding: 26px 20px; }
  .campaign { grid-template-columns: 1fr; padding: 28px 22px; text-align: center; }
  .campaign img { margin-inline: auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .area-card:first-child { grid-column: auto; }
  .footer-inner { display: grid; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: grid; grid-template-columns: repeat(3, 1fr); padding: 8px; gap: 7px; background: rgba(12,37,55,.96); box-shadow: 0 -5px 18px rgba(0,0,0,.18); }
  .mobile-bar a { display: grid; place-items: center; min-height: 50px; border-radius: 9px; color: #fff; background: var(--blue); font-size: .82rem; font-weight: 900; text-decoration: none; }
  .mobile-bar a:nth-child(1) { background: var(--orange); }
  .mobile-bar a:nth-child(3) { background: #06c755; }
}

@media (max-width: 420px) {
  .brand-copy { display: none; }
  .header-tel strong { font-size: .95rem; }
  .hero h1 { font-size: 1.95rem; }
  .hero-badge { min-width: calc(50% - 8px); }
  .gallery { grid-template-columns: 1fr; }
  .car-trouble-card { min-height: 0; padding: 88px 22px 24px; }
}
