/* 06_wheel-PC / SP。共通部品はcommon.css、ページ固有の調整は:root。 */
:root {
  --wheel-gradient-end: #9fb7de;
  --wheel-hero-shade: #00000080;
  --wheel-copy-shade: #00000073;
  --wheel-flow-background: #f7f9fb;
  --wheel-contact-fill: #96a2b533;
  --wheel-benefit-shadow: 1px 1px 2px #00000040;
  --wheel-step-shadow: 1px 1px 7px #56637840;
  --wheel-heading-size: 45px;
  --wheel-title-size: 45px;
  --wheel-benefit-size: 42px;
  --wheel-step-title-size: 28px;
  --wheel-hero-radius: 60px;
  --wheel-hero-height: 600px;
  --wheel-hero-top: 216px;
  --wheel-hero-copy-gap: 12px;
  --wheel-description-gap: 16px;
  --wheel-button-gap: 32px;
  --wheel-button-inset: 40px;
  --wheel-benefit-top: 58px;
  --wheel-benefit-bottom: 70px;
  --wheel-benefit-gap: 42px;
  --wheel-benefit-inset-x: 24px;
  --wheel-benefit-inset-y: 26px;
  --wheel-benefit-copy-gap: 20px;
  --wheel-benefit-height: 173px;
  --wheel-flow-top: 64px;
  --wheel-flow-bottom: 70px;
  --wheel-flow-title-gap: 40px;
  --wheel-flow-row-gap: 28px;
  --wheel-step-inset: 20px;
  --wheel-step-gap: 10px;
  --wheel-step-height: 450px;
  --wheel-quality-top: 28px;
  --wheel-quality-bottom: 64px;
  --wheel-quality-gap: 12px;
  --wheel-quality-copy-gap: 28px;
  --wheel-standard-gap: 40px;
  --wheel-standard-copy-gap: 10px;
  --wheel-support-top: 46px;
  --wheel-support-bottom: 84px;
  --wheel-support-copy-gap: 22px;
  --wheel-contact-inset: 40px;
  --wheel-contact-gap: 22px;
  --wheel-contact-icon-gap: 26px;
  --wheel-contact-link-inset: 16px;
  --wheel-page-inset: var(--page-padding);
}
.wheel { background: var(--color-white); }
.wheel .wrap { width: min(var(--content-width), calc(100% - var(--wheel-page-inset) * 2)); }
.wheel ol { margin: var(--space-0); padding: var(--space-0); list-style: none; }
.wheel-heading { font-size: var(--wheel-heading-size); line-height: 1.25; font-weight: 700; }
.wheel-gradient { width: fit-content; background: linear-gradient(90deg, var(--color-text), var(--wheel-gradient-end)); background-clip: text; -webkit-background-clip: text; color: transparent; }
.wheel-hero { position: relative; z-index: 1; min-height: var(--wheel-hero-height); overflow: hidden; border-radius: 0 0 var(--wheel-hero-radius) var(--wheel-hero-radius); color: var(--color-white); background: var(--color-text); }
.wheel-hero-visual { position: absolute; inset: 0; overflow: hidden; }
.wheel-hero-visual::after { content: ''; position: absolute; inset: 0; background: var(--wheel-hero-shade); }
.wheel-hero-visual img { position: absolute; width: 101.88%; height: 114.56%; max-width: none; left: -0.04%; top: -7.34%; object-fit: cover; }
.wheel-hero-content { position: relative; isolation: isolate; padding-block: var(--wheel-hero-top) var(--space-12); }
.wheel-hero-content::before { content: ''; position: absolute; z-index: -1; top: 40%; left: -5%; width: 60%; height: 50%; filter: blur(50px); background: var(--wheel-copy-shade); pointer-events: none; }
.wheel-hero-label { width: fit-content; padding: var(--space-2) var(--space-5); background: var(--color-black); font-size: var(--font-size-16); line-height: 1.6; }
.wheel-hero h1 { margin-top: var(--wheel-hero-copy-gap); font-size: var(--wheel-title-size); line-height: 1.33; }
.wheel-hero-description { margin-top: var(--wheel-description-gap); font-size: var(--font-size-16); line-height: 1.625; }
.wheel-consult-button { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); width: 278px; max-width: 100%; min-height: 46px; margin-top: var(--wheel-button-gap); padding: var(--space-2) var(--wheel-button-inset); border-radius: var(--radius-round); color: var(--color-black); background: var(--color-white); font-size: var(--font-size-14); font-weight: 500; }
.wheel-consult-button img { width: 12px; height: auto; }
.wheel-consult-button:hover { background: var(--color-sub); }
.wheel-benefits { padding-block: var(--wheel-benefit-top) var(--wheel-benefit-bottom); background: url('../image/wheel/benefits-bg.webp') center / cover no-repeat; }
.wheel-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--wheel-benefit-gap); }
.wheel-benefit-grid li { min-height: var(--wheel-benefit-height); padding: var(--wheel-benefit-inset-y) var(--wheel-benefit-inset-x); border: 2px solid var(--color-text); border-radius: 10px; box-shadow: var(--wheel-benefit-shadow); background: var(--color-bg); }
.wheel-benefit-grid h2 { font-size: var(--wheel-benefit-size); line-height: 1; white-space: nowrap; }
.wheel-benefit-grid h2 span { font-size: var(--font-size-50); }
.wheel-benefit-grid p { margin-top: var(--wheel-benefit-copy-gap); font-size: var(--font-size-16); line-height: 1.4375; }
.wheel-flow { position: relative; isolation: isolate; padding-block: var(--wheel-flow-top) var(--wheel-flow-bottom); }
.wheel-flow::before { content: ''; position: absolute; z-index: -1; inset: 0 calc((100% - 100vw) / 2); background: var(--wheel-flow-background); }
.wheel-flow > h2 { margin-inline: var(--space-auto); text-align: center; }
.wheel .wheel-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--wheel-flow-row-gap) var(--space-8); margin-top: var(--wheel-flow-title-gap); }
.wheel-step { display: flex; flex-direction: column; gap: var(--wheel-step-gap); min-width: 0; min-height: var(--wheel-step-height); padding: var(--wheel-step-inset); background: var(--color-white); box-shadow: var(--wheel-step-shadow); }
.wheel-step-number { font-size: var(--font-size-18); font-weight: 700; font-style: italic; line-height: 1; }
.wheel-step-number span { font-size: var(--font-size-30); }
.wheel-step h3 { font-size: var(--wheel-step-title-size); line-height: 1.36; }
.wheel-step-description { font-size: var(--font-size-16); line-height: 1.5625; }
.wheel-step-visual { position: relative; width: 100%; aspect-ratio: 196 / 173; overflow: hidden; margin-top: var(--space-auto); }
.wheel-step-visual img { width: 100%; height: 100%; object-fit: cover; }
.wheel-step:nth-child(1) img { object-fit: contain; }
.wheel-step:nth-child(3) img { position: absolute; height: 69.48%; top: 15%; }
.wheel-step:nth-child(4) img { position: absolute; width: 142.22%; height: 99.03%; max-width: none; left: -36.71%; top: 0.79%; }
.wheel-step:nth-child(5) img { position: absolute; width: 142.63%; height: 99.66%; max-width: none; left: -24.99%; top: 0.16%; }
.wheel-step:nth-child(6) img { position: absolute; width: 143.62%; max-width: none; left: -26.25%; }
.wheel-quality { padding-block: var(--wheel-quality-top) var(--wheel-quality-bottom); color: var(--color-white); background: var(--color-text); }
.wheel-quality-intro { display: grid; grid-template-columns: 45% minmax(0, 1fr); align-items: center; gap: var(--space-12); }
.wheel-quality-intro > img { width: 100%; height: auto; }
.wheel-quality-intro p { margin-top: var(--wheel-quality-copy-gap); font-size: var(--font-size-16); line-height: 1.625; }
.wheel-standards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--wheel-standard-gap); margin-top: var(--wheel-quality-gap); }
.wheel-standards li { min-height: 230px; padding: var(--space-5); color: var(--color-black); background: var(--color-white); border-radius: 20px; }
.wheel-standards h3 { display: grid; place-items: center; height: 85px; }
.wheel-standards img { object-fit: contain; }
.wheel-standards p { margin-top: var(--wheel-standard-copy-gap); font-size: var(--font-size-22); line-height: 1.455; }
.wheel-support { display: grid; grid-template-columns: 44% minmax(0, 1fr); align-items: center; gap: var(--space-6); padding-block: var(--wheel-support-top) var(--wheel-support-bottom); }
.wheel-support .wheel-heading { line-height: 1.31; }
.wheel-support p { margin-top: var(--wheel-support-copy-gap); font-size: var(--font-size-16); line-height: 1.75; }
.wheel .wheel-support-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.wheel-support-steps::before { content: ''; position: absolute; left: 10%; right: 10%; top: 50%; border-top: 1px dashed var(--color-text); }
.wheel-support-steps li { position: relative; min-width: 0; }
.wheel-support-steps img { width: 100%; height: auto; }
.wheel-contact { padding-block: var(--wheel-contact-inset); color: var(--color-white); background: var(--color-text); }
.wheel-contact .wheel-heading { font-size: var(--font-size-40); line-height: 1.4; }
.wheel-contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 332px; align-items: center; gap: var(--space-10); }
.wheel-contact-links { display: grid; gap: var(--wheel-contact-gap); }
.wheel-contact-links a { display: flex; align-items: center; justify-content: center; gap: var(--wheel-contact-icon-gap); min-height: 60px; padding: var(--wheel-contact-link-inset); border-radius: var(--radius-round); background: var(--wheel-contact-fill); font-size: var(--font-size-30); font-weight: 500; line-height: 1; }
.wheel-contact-links a:last-child { font-size: var(--font-size-22); text-decoration: underline; }
.wheel-contact-links img { width: 26px; height: 27px; object-fit: contain; filter: brightness(0) invert(1); }
.wheel-contact-links a:hover { background: var(--color-heading); }
@media (min-width: 768px) and (max-width: 1100px) {
  :root { --wheel-heading-size: 34px; --wheel-title-size: 40px; --wheel-benefit-size: 30px; --wheel-benefit-gap: 24px; --wheel-benefit-inset-x: 20px; --wheel-step-title-size: 22px; --wheel-standard-gap: 24px; }
  .wheel-benefit-grid h2 span { font-size: var(--font-size-40); }
  .wheel-contact .wheel-heading { font-size: var(--font-size-30); }
  .wheel-standards p { font-size: var(--font-size-18); }
}
@media (max-width: 767px) {
  :root {
    --wheel-heading-size: clamp(28px, 8.95vw, 36px);
    --wheel-title-size: clamp(30px, 9.25vw, 39px);
    --wheel-step-title-size: 20px;
    --wheel-step-number-size: 27px;
    --wheel-step-label-size: 15px;
    --wheel-page-inset: 20px;
    --wheel-hero-top: 274px;
    --wheel-hero-radius: 30px;
    --wheel-hero-copy-gap: 0;
    --wheel-description-gap: 20px;
    --wheel-button-gap: 28px;
    --wheel-benefit-top: 76px;
    --wheel-benefit-bottom: 79px;
    --wheel-benefit-gap: 30px;
    --wheel-flow-top: 38px;
    --wheel-flow-row-gap: 10px;
    --wheel-step-height: 354px;
    --wheel-quality-top: 60px;
    --wheel-quality-bottom: 60px;
    --wheel-quality-copy-gap: 20px;
    --wheel-quality-gap: 20px;
    --wheel-standard-gap: 20px;
    --wheel-support-top: 52px;
    --wheel-support-bottom: 60px;
    --wheel-support-copy-gap: 26px;
    --wheel-contact-inset: 60px;
    --wheel-contact-gap: 24px;
  }
  .wheel-pc-break, .wheel-hero-label { display: none; }
  .wheel-heading { line-height: 1.5556; }
  .wheel-hero-visual img { width: 382.29%; height: 144%; left: -232.77%; top: -44%; }
  .wheel .wheel-hero-content { width: calc(100% - var(--space-8) * 2); }
  .wheel-hero-content::before { width: 100%; }
  .wheel-hero h1 { max-width: 100%; line-height: 1.25; letter-spacing: -.04em; }
  .wheel-title-tail { display: block; }
  .wheel-consult-button { padding-inline: var(--space-8); }
  .wheel .wheel-benefit-grid { width: min(305px, calc(100% - var(--wheel-page-inset) * 2)); grid-template-columns: minmax(0, 1fr); }
  .wheel-flow > h2 { max-width: 260px; }
  .wheel .wheel-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--wheel-flow-row-gap); }
  .wheel-step-number { font-size: var(--wheel-step-label-size); }
  .wheel-step-number span { font-size: var(--wheel-step-number-size); }
  .wheel-step h3 { line-height: 1.5; }
  .wheel-quality-intro { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .wheel-quality-intro > img { order: 2; width: min(100%, 450px); margin-inline: var(--space-auto); }
  .wheel-quality-intro .wheel-heading br { display: none; }
  .wheel-standards { grid-template-columns: minmax(0, 1fr); max-width: 310px; margin-inline: var(--space-auto); }
  .wheel-standards li:last-child { order: -1; }
  .wheel-support { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .wheel-support .wheel-heading { letter-spacing: -.04em; line-height: 1.5556; }
  .wheel .wheel-support-steps { width: calc(100% + var(--space-8)); margin-inline: calc(var(--space-4) * -1); }
  .wheel-contact-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .wheel-contact .wheel-heading { font-size: var(--font-size-30); line-height: 1.867; }
  .wheel-contact .wheel-heading br { display: none; }
  .wheel-contact-links { width: min(332px, 100%); margin-inline: var(--space-auto); }
}
@media (max-width: 359px) {
  :root { --wheel-step-inset: 12px; --wheel-contact-icon-gap: 12px; --wheel-contact-link-inset: 12px; --wheel-benefit-size: 36px; }
  .wheel-step h3 { overflow-wrap: anywhere; }
  .wheel-contact-links a { font-size: var(--font-size-24); }
  .wheel-contact-links a:last-child { font-size: var(--font-size-18); }
}
