@charset "UTF-8";

/* ========================================
   Car Transport Page
======================================== */

.p-carTransport {
    background: #ececec;
    color: #222;
    padding-bottom: 96px;
}

/* 共通コンテナ */
.l-container {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
}

/* ========================================
   Hero
======================================== */
.p-pageHero {
    background: #ececec;
    padding: 36px 0 24px;
}

.p-pageHero .l-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.p-pageHero--yellow {
    position: relative;
    padding: 82px 40px 78px;
    border-radius: 40px;
    overflow: hidden;
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.18) 0%,
            rgba(255, 255, 255, 0.04) 100%),
        repeating-linear-gradient(-45deg,
            #f2d43a 0,
            #f2d43a 8px,
            #f6dd63 8px,
            #f6dd63 16px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
}

/* やわらかい白い抜け */
.p-pageHero--yellow::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 220px;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    filter: blur(2px);
}

/* 左下のやわらかい丸 */
.p-pageHero--yellow::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    left: 80px;
    bottom: -60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

/* 装飾図形 */
.p-pageHero__shape {
    position: absolute;
    opacity: 0.9;
    z-index: 0;
}

.p-pageHero__shape--circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f4c64d;
    top: 84px;
    left: 120px;
}

.p-pageHero__shape--square {
    width: 52px;
    height: 52px;
    background: #58b8e6;
    transform: rotate(-30deg);
    top: 110px;
    left: 200px;
}

.p-pageHero__shape--triangle {
    width: 0;
    height: 0;
    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
    border-bottom: 42px solid #f19aa6;
    top: 92px;
    right: 240px;
}

.p-pageHero__shape--pentagon {
    width: 46px;
    height: 46px;
    background: #8bc97b;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    top: 64px;
    right: 130px;
}

.p-pageHero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.p-pageHero__eyebrow {
    margin: 0 0 14px;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.22em;
    color: #22a9b7;
    font-weight: 700;
}

.p-pageHero__title {
    margin: 0;
    font-size: clamp(44px, 6vw, 78px);
    line-height: 1.08;
    letter-spacing: 0.02em;
    font-weight: 800;
    color: #111;
}

.p-pageHero__lead {
    margin: 24px auto 0;
    max-width: 760px;
    font-size: 16px;
    line-height: 1.9;
    color: rgba(0, 0, 0, 0.78);
}

/* ========================================
   Section heading
======================================== */
.p-sectionHeading {
    margin-bottom: 40px;
}

.p-sectionHeading--center {
    text-align: center;
}

.p-sectionHeading__en {
    margin: 0 0 10px;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.18em;
    color: #1fa9b8;
    font-weight: 700;
}

.p-sectionHeading__ja {
    margin: 0;
    font-size: clamp(24px, 3vw, 40px);
    line-height: 1.5;
    font-weight: 700;
}

.p-sectionHeading__text {
    margin: 22px auto 0;
    max-width: 700px;
    font-size: 15px;
    line-height: 2;
    color: #444;
    text-align: center;
}

/* ========================================
   Intro
======================================== */
.p-carIntro {
    padding: 28px 0 32px;
}

.p-carIntro__inner {
    position: relative;
}

.p-carIntro__imageWrap {
    margin-top: 32px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.p-carIntro__image {
    display: block;
    width: 100%;
    height: auto;
}

/* ========================================
   CTA Banner
======================================== */
.p-ctaBanner {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: 24px;
    align-items: center;
    background: #f4f4f4;
    border: 1px solid #dddddd;
    border-radius: 24px;
    padding: 24px 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.p-ctaBanner--compact {
    margin-top: 28px;
}

.p-ctaBanner__icon {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    background: #d9f1f4;
    display: grid;
    place-items: center;
    font-size: 40px;
}

.p-ctaBanner__sub {
    margin: 0 0 6px;
    font-size: 12px;
    color: #1fa9b8;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.p-ctaBanner__title {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 700;
}

.p-ctaBanner__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}

.p-ctaBanner__linkWrap {
    display: flex;
    justify-content: flex-end;
}

.p-ctaBanner__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    background: #f0cf2f;
    color: #111;
    text-decoration: none;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.p-ctaBanner__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    opacity: 0.96;
}

/* ========================================
   Main sections
======================================== */
.p-carSection {
    padding: 24px 0;
}

.p-cardSection {
    background: #e5e5e5;
    border-radius: 36px;
    padding: 42px;
    position: relative;
}

.p-cardSection__head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}

.p-cardSection__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #1fa9b8;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    flex: 0 0 auto;
}

.p-cardSection__en {
    margin: 0 0 6px;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.18em;
    color: #1fa9b8;
    font-weight: 700;
}

.p-cardSection__title {
    margin: 0;
    font-size: 34px;
    line-height: 1.4;
    font-weight: 700;
}

.p-cardSection__body p {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 2;
    color: #333;
}

.p-cardSection__body p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Strength cards
======================================== */
.p-featureGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.p-featureCard {
    background: #f7f7f7;
    border-radius: 24px;
    padding: 24px;
}

.p-featureCard__title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 700;
}

.p-featureCard__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    color: #444;
}

/* ========================================
   Scene
======================================== */
.p-sceneList {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.p-sceneItem {
    background: #f7f7f7;
    border-radius: 20px;
    padding: 22px 24px;
    font-size: 15px;
    line-height: 1.8;
    position: relative;
}

.p-sceneItem::before {
    content: "✓";
    display: inline-block;
    margin-right: 10px;
    color: #1fa9b8;
    font-weight: 700;
}

/* ========================================
   Flow
======================================== */
.p-flowList {
    display: grid;
    gap: 16px;
}

.p-flowItem {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 20px;
    align-items: start;
    background: #f7f7f7;
    border-radius: 24px;
    padding: 24px;
}

.p-flowItem__step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    background: #d9f1f4;
    color: #127f8b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.p-flowItem__content h3 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.5;
}

.p-flowItem__content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.9;
    color: #444;
}

/* ========================================
   Price
======================================== */
.p-pricePoints {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.p-pricePoint {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: #f7f7f7;
    font-size: 14px;
    font-weight: 700;
}

.p-priceNote {
    margin-top: 18px !important;
    color: #444;
}

/* ========================================
   FAQ
======================================== */
.p-faqList {
    display: grid;
    gap: 14px;
}

.p-faqItem {
    background: #f7f7f7;
    border-radius: 18px;
    overflow: hidden;
}

.p-faqItem__question {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 22px 56px 22px 24px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
}

.p-faqItem__question::-webkit-details-marker {
    display: none;
}

.p-faqItem__question::before {
    content: "Q";
    display: inline-flex;
    width: 28px;
    height: 28px;
    margin-right: 12px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: #d9f1f4;
    color: #127f8b;
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
}

.p-faqItem__question::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 400;
    color: #666;
}

.p-faqItem[open] .p-faqItem__question::after {
    content: "−";
}

.p-faqItem__answer {
    padding: 0 24px 22px 24px;
    font-size: 14px;
    line-height: 1.9;
    color: #444;
}

/* ========================================
   Bottom
======================================== */
.p-carBottom {
    padding: 32px 0 0;
}

.p-carBottom__message {
    text-align: center;
    margin-bottom: 28px;
}

.p-carBottom__message p {
    margin: 0;
    font-size: 16px;
    line-height: 2;
    font-weight: 500;
}

/* ========================================
   Utility
======================================== */
.u-mobile-only {
    display: none;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 900px) {
    .p-ctaBanner {
        grid-template-columns: 80px 1fr;
    }

    .p-ctaBanner__linkWrap {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .p-ctaBanner__icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .p-featureGrid,
    .p-sceneList {
        grid-template-columns: 1fr;
    }

    .p-flowItem {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .p-carTransport {
        padding-bottom: 72px;
    }

    .l-container {
        width: min(100% - 24px, 100%);
    }

    .p-pageHero {
        padding: 20px 0 16px;
    }

    .p-pageHero .l-container {
        width: min(100% - 24px, 100%);
    }

    .p-pageHero--yellow {
        padding: 52px 20px 48px;
        border-radius: 24px;
    }

    .p-pageHero--yellow::before {
        width: 260px;
        height: 110px;
        top: 18px;
    }

    .p-pageHero--yellow::after {
        width: 100px;
        height: 100px;
        left: 20px;
        bottom: -30px;
    }

    .p-pageHero__shape--circle {
        width: 28px;
        height: 28px;
        top: 68px;
        left: 34px;
    }

    .p-pageHero__shape--square {
        width: 34px;
        height: 34px;
        top: 86px;
        left: 82px;
    }

    .p-pageHero__shape--triangle {
        border-left-width: 14px;
        border-right-width: 14px;
        border-bottom-width: 28px;
        top: 70px;
        right: 82px;
    }

    .p-pageHero__shape--pentagon {
        width: 30px;
        height: 30px;
        top: 52px;
        right: 28px;
    }

    .p-pageHero__eyebrow {
        font-size: 10px;
        margin-bottom: 10px;
    }

    .p-pageHero__title {
        font-size: 42px;
        line-height: 1.12;
    }

    .p-pageHero__lead {
        margin-top: 16px;
        font-size: 14px;
        line-height: 1.8;
    }

    .p-carIntro {
        padding: 20px 0 24px;
    }

    .p-sectionHeading__ja {
        font-size: 28px;
    }

    .p-sectionHeading__text {
        font-size: 14px;
        line-height: 1.9;
    }

    .p-ctaBanner {
        padding: 18px;
        gap: 16px;
        border-radius: 20px;
    }

    .p-ctaBanner__title {
        font-size: 18px;
    }

    .p-ctaBanner__text {
        font-size: 13px;
    }

    .p-ctaBanner__link {
        width: 100%;
    }

    .p-cardSection {
        border-radius: 28px;
        padding: 28px 20px;
    }

    .p-cardSection__head {
        gap: 14px;
        margin-bottom: 24px;
    }

    .p-cardSection__icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .p-cardSection__title {
        font-size: 26px;
    }

    .p-featureCard {
        padding: 20px;
        border-radius: 18px;
    }

    .p-featureCard__title {
        font-size: 18px;
    }

    .p-sceneItem {
        padding: 18px;
        font-size: 14px;
    }

    .p-flowItem {
        padding: 18px;
        border-radius: 18px;
    }

    .p-flowItem__content h3 {
        font-size: 18px;
    }

    .p-faqItem__question {
        padding: 18px 48px 18px 18px;
        font-size: 14px;
    }

    .p-faqItem__answer {
        padding: 0 18px 18px 18px;
        font-size: 13px;
    }

    .p-carBottom__message p {
        font-size: 14px;
        line-height: 1.9;
    }

    .u-mobile-only {
        display: inline;
    }
}

/* メイン画像を横長にして、上側をトリミング */
.p-carIntro__imageWrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 20px;
}

.p-carIntro__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 65%;
}

/* ========================================
   CAR TRANSPORT PHOTO HERO
   車両輸送ページ限定
======================================== */

/* このページだけヘッダーを写真上に重ねる */
.page-template-page-car-transport .l-headerStudio {
    position: absolute;
    top: 50px;
    left: 0;
    z-index: 1000;

    width: 100%;
    padding: 0;

    background: transparent;
}

/* ページ先頭の余白をなくす */
.p-carTransport {
    margin-top: 0;
    background: #f3f3f3;
}


/* ========================================
   PHOTO HERO
======================================== */

.p-carHero {
    position: relative;

    width: 100%;
    height: clamp(540px, 50vw, 720px);

    overflow: hidden;
    background: #163345;
}

/* 写真 */
.p-carHero__image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center bottom;
}

/* 左側を暗くして文字を読みやすくする */
.p-carHero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(0deg,
            rgba(7, 25, 38, 0.78) 0%,
            rgba(7, 25, 38, 0.48) 25%,
            rgba(7, 25, 38, 0.14) 48%,
            transparent 68%);
    pointer-events: none;
}


/* ========================================
   HERO TEXT
======================================== */

.p-carHero__content {
    position: absolute;
    left: 6%;
    bottom: 70px;
    z-index: 3;

    width: min(680px, 54%);

    color: #fff;
}

.p-carHero__eyebrow {
    display: flex;
    align-items: center;
    gap: 18px;

    margin: 0 0 18px;

    color: #36c4cf;

    font-size: 14px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.p-carHero__eyebrow::after {
    content: "";

    width: 110px;
    height: 3px;

    display: block;

    background: #ffd400;
    border-radius: 999px;
}

.p-carHero__title {
    margin: 0;

    color: #fff;

    font-size: clamp(48px, 6vw, 82px);
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: 0.02em;

    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.4);
}

.p-carHero__lead {
    margin: 24px 0 0;

    color: rgba(255, 255, 255, 0.96);

    font-size: clamp(16px, 1.6vw, 22px);
    line-height: 1.8;
    font-weight: 700;

    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.55);
}


/* ========================================
   WAVE
======================================== */

.p-carHero__wave {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 4;

    width: 100%;
    height: 82px;

    line-height: 0;
    pointer-events: none;
}

.p-carHero__wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.p-carHero__wave path {
    fill: #f3f3f3;
}


/* ========================================
   INTRO BELOW HERO
======================================== */

.p-carIntro {
    padding: 34px 0 54px;
    background: #f3f3f3;
}

.p-carIntro__inner {
    display: grid;
    gap: 40px;
}

.p-carIntro .p-sectionHeading {
    margin: 0;
    text-align: center;
}

.p-carIntro .p-sectionHeading__en {
    margin: 0 0 14px;

    color: #2aa7ad;

    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.p-carIntro .p-sectionHeading__ja {
    margin: 0;

    color: #111;

    font-size: clamp(30px, 3.5vw, 48px);
    line-height: 1.45;
    font-weight: 900;
}

.p-carIntro .p-sectionHeading__text {
    width: 100%;
    max-width: 700px;

    margin: 22px auto 0;

    color: #555;

    font-size: 16px;
    line-height: 1.9;
    text-align: center;
}


/* ========================================
   TABLET / SMARTPHONE
======================================== */

@media (max-width: 900px) {

    .page-template-page-car-transport .l-headerStudio {
        top: 10px;
    }

    .p-carHero {
        height: 620px;
    }

    .p-carHero__image {
        object-position: 58% center;
    }

    .p-carHero__content {
        right: 24px;
        bottom: 105px;
        left: 24px;

        width: auto;
    }

    .p-carHero__title {
        font-size: 48px;
    }

    .p-carHero__lead {
        font-size: 16px;
    }

    .p-carHero__wave {
        height: 62px;
    }
}


@media (max-width: 767px) {

    .p-carHero {
        height: 560px;
    }

    .p-carHero__image {
        object-position: 62% center;
    }

    .p-carHero__content {
        bottom: 88px;
    }

    .p-carHero__eyebrow {
        gap: 12px;
        margin-bottom: 14px;
        font-size: 11px;
    }

    .p-carHero__eyebrow::after {
        width: 70px;
        height: 2px;
    }

    .p-carHero__title {
        font-size: 40px;
    }

    .p-carHero__lead {
        margin-top: 16px;
        font-size: 14px;
        line-height: 1.75;
    }

    .p-carHero__wave {
        height: 48px;
    }

    .p-carIntro {
        padding: 28px 0 44px;
    }

    .p-carIntro__inner {
        gap: 28px;
    }

    .p-carIntro .p-sectionHeading__ja {
        font-size: 28px;
    }

    .p-carIntro .p-sectionHeading__text {
        margin-top: 16px;
        font-size: 14px;
    }
}

/* スマホ：車両輸送のヘッダー・写真を調整 */
@media (max-width: 900px) {
  body:has(.p-carTransport) {
    padding-top: 0;
  }

  body:has(.p-carTransport) .l-headerStudio {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 8px 0;
    z-index: 1000;
  }

  body.admin-bar:has(.p-carTransport) .l-headerStudio {
    top: 46px;
  }

  .p-carTransport {
    margin-top: 0;
    padding-top: 0;
  }

  .p-carHero {
    height: clamp(360px, 80vw, 480px);
    min-height: 0;
  }

  .p-carHero__image {
    object-position: center;
  }

  .p-carHero__content {
    left: 20px;
    right: 20px;
    bottom: 58px;
    width: auto;
  }

  .p-carHero__title {
    font-size: 34px;
  }

  .p-carHero__lead {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.8;
  }

  .p-carHero__wave {
    height: 36px;
  }
}

/* スマホ：車両輸送の見出しを2行に */
@media (max-width: 767px) {
  .p-carIntro .p-sectionHeading__ja {
    font-size: clamp(16px, 4.8vw, 24px);
    line-height: 1.6;
    letter-spacing: 0;
  }
}