/* ========================================
   AREA PAGE
======================================== */

.p-area {
    --area-teal: #2aa7ad;
    --area-teal-dark: #087f89;
    --area-teal-light: #eaf8f8;
    --area-yellow: #ffd400;
    --area-yellow-light: #fff8d9;
    --area-navy: #07394d;
    --area-navy-dark: #052c3d;
    --area-text: #222;
    --area-subtext: #555;

    overflow: hidden;
    background: #f5f5f5;
}


/* ========================================
   INTRO
======================================== */

.p-areaIntro {
    padding: 78px 0 54px;
}

.p-areaIntro .l-container {
    position: relative;
}

.p-areaHeading {
    max-width: 920px;
}

.p-areaHeading__en {
    margin: 0 0 14px;

    color: var(--area-teal);

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

.p-areaHeading__title {
    position: relative;

    margin: 0;
    padding-bottom: 22px;

    color: var(--area-text);

    font-size: clamp(38px, 4.6vw, 62px);
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: -0.035em;
}

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

    position: absolute;
    bottom: 0;
    left: 0;

    width: 90px;
    height: 6px;

    border-radius: 999px;
    background:
        linear-gradient(90deg,
            var(--area-yellow) 0 56%,
            var(--area-teal) 56% 100%);
}

.p-areaHeading__lead {
    max-width: 820px;
    margin: 26px 0 0;

    color: var(--area-subtext);

    font-size: 16px;
    line-height: 2;
    font-weight: 500;
}

.p-areaIntro__badge {
    position: absolute;
    top: 20px;
    right: 30px;

    width: 158px;
    height: 158px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;

    color: var(--area-teal-dark);
    background: #fff;

    border: 3px dotted var(--area-yellow);
    border-radius: 50%;

    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.07);

    text-align: center;
}

.p-areaIntro__badgeIcon {
    font-size: 38px;
    line-height: 1;
}

.p-areaIntro__badgeText {
    font-size: 13px;
    line-height: 1.55;
    font-weight: 900;
}


/* ========================================
   MAP
======================================== */

.p-areaMap {
    padding: 18px 0 72px;
}

.p-areaMap__layout {
    position: relative;

    min-height: 590px;
}

.p-areaMap__visual {
    position: relative;

    width: calc(100% - 220px);
    min-height: 590px;

    overflow: hidden;

    background: #eafafa;

    border: 8px solid #fff;
    border-radius: 34px;

    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.12);
}

/* 以前の地図用オーバーレイを無効化 */
.p-areaMap__visual::before {
    display: none;
}

.p-areaMap__copy {
    position: absolute;
    top: 48px;
    left: 48px;
    z-index: 3;

    max-width: 360px;

    color: var(--area-text);
}

.p-areaMap__copy p {
    margin: 0;

    font-size: clamp(24px, 2.7vw, 38px);
    line-height: 1.55;
    font-weight: 900;

    text-shadow: none;
}

.p-areaMap__frame {
    position: absolute;
    inset: 0;

    overflow: hidden;

    background: #eafafa;
}

/* Googleマップ用のグラデーションを無効化 */
.p-areaMap__frame::after {
    display: none;
}

/* 新しい輸送ネットワーク画像 */
.p-areaMap__image {
    display: block;

    width: 100%;
    height: 590px;

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

    border: 0;
}


/* ========================================
   MAP FEATURES
======================================== */

.p-areaFeatures {
    position: absolute;
    top: 70px;
    right: 0;
    z-index: 4;

    width: 480px;
    padding: 42px 38px;

    background: rgba(255, 255, 255, 0.97);

    border: 1px solid rgba(42, 167, 173, 0.18);
    border-radius: 30px;

    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.14);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.p-areaFeatures__en {
    margin: 0 0 8px;

    color: var(--area-teal);

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

.p-areaFeatures__title {
    position: relative;

    margin: 0 0 32px;
    padding-bottom: 16px;

    color: var(--area-text);

    font-size: 26px;
    line-height: 1.45;
    font-weight: 900;
}

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

    position: absolute;
    bottom: 0;
    left: 0;

    width: 48px;
    height: 4px;

    border-radius: 999px;
    background: var(--area-yellow);
}

.p-areaFeatures__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 20px;
}

.p-areaFeature {
    min-width: 0;

    text-align: center;
}

.p-areaFeature__icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--area-teal-dark);
    background: var(--area-teal-light);

    border-radius: 20px;

    font-size: 30px;
    line-height: 1;
}

.p-areaFeature__title {
    margin: 0 0 7px;

    color: var(--area-text);

    font-size: 16px;
    line-height: 1.4;
    font-weight: 900;
}

.p-areaFeature__text {
    margin: 0;

    color: #666;

    font-size: 11px;
    line-height: 1.75;
    font-weight: 500;
}


/* ========================================
   REGIONS
======================================== */

.p-areaRegions {
    position: relative;
    padding: 20px 0 76px;
}

.p-areaRegions::before {
    content: "";

    position: absolute;
    top: -180px;
    right: -180px;

    width: 520px;
    height: 520px;

    border-radius: 50%;
    background: rgba(42, 167, 173, 0.055);

    pointer-events: none;
}

.p-areaRegions__box {
    position: relative;
    z-index: 1;

    padding: 46px 42px 42px;

    background: #fff;

    border: 3px solid var(--area-teal);
    border-radius: 34px;

    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

.p-areaRegions__box::before {
    content: "";

    position: absolute;
    top: -18px;
    left: 50%;

    width: 34px;
    height: 34px;

    background: #fff;

    border-top: 3px solid var(--area-teal);
    border-left: 3px solid var(--area-teal);

    transform: translateX(-50%) rotate(45deg);
}

.p-areaSectionHeading {
    margin-bottom: 34px;
    text-align: center;
}

.p-areaSectionHeading__en {
    margin: 0 0 8px;

    color: var(--area-teal);

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

.p-areaSectionHeading__title {
    position: relative;

    margin: 0;
    padding-bottom: 16px;

    color: var(--area-text);

    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.4;
    font-weight: 900;
}

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

    position: absolute;
    bottom: 0;
    left: 50%;

    width: 48px;
    height: 4px;

    border-radius: 999px;
    background: var(--area-teal);

    transform: translateX(-50%);
}


/* 地域一覧 */

.p-areaRegions__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    border-top: 1px solid #e5e5e5;
    border-left: 1px solid #e5e5e5;
}

.p-areaRegion {
    position: relative;

    min-height: 200px;
    padding: 26px 22px;

    background:
        linear-gradient(135deg,
            var(--area-yellow-light),
            #fff5c2);

    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;

    transition:
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.p-areaRegion:hover {
    z-index: 2;

    background:
        linear-gradient(135deg,
            #fff0a8,
            #ffe477);

    box-shadow: none;
    transform: none;
}

.p-areaRegion__title {
    margin: 0 0 16px;

    color: var(--area-text);

    font-size: 21px;
    line-height: 1.45;
    font-weight: 900;
}


/* 都道府県リンク */

.p-areaRegion__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 15px;
}

.p-areaRegion__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #666;

    font-size: 12px;
    line-height: 1.6;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

/* 小さいターコイズ丸 */

.p-areaRegion__link::before {
    content: "";

    width: 7px;
    height: 7px;

    flex: 0 0 7px;

    background: var(--area-teal);
    border-radius: 50%;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.p-areaRegion__link:hover {
    color: var(--area-teal-dark);

    transform: translateX(2px);
}

.p-areaRegion__link:hover::before {
    background: var(--area-teal-dark);

    box-shadow: 0 0 0 4px rgba(42, 167, 173, 0.14);

    transform: scale(1.15);
}

.p-areaRegion__link:focus-visible {
    color: var(--area-teal-dark);

    outline: 2px solid var(--area-teal);
    outline-offset: 4px;

    border-radius: 3px;
}


/* メイン対応エリア */


.p-areaRegion__note {
    margin: 12px 0 0;

    color: #777;

    font-size: 11px;
    line-height: 1.7;
    font-weight: 500;
}


/* ========================================
   WORKS
======================================== */

.p-areaWorks {
    padding: 12px 0 78px;
}

.p-areaWorks__box {
    position: relative;

    overflow: hidden;

    padding: 48px;

    color: #fff;
    background:
        linear-gradient(135deg,
            var(--area-navy-dark),
            var(--area-navy));

    border-radius: 30px;

    box-shadow: 0 24px 50px rgba(3, 44, 61, 0.22);
}

.p-areaWorks__box::before {
    content: "🚚";

    position: absolute;
    top: 22px;
    right: 46px;

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

    font-size: 110px;
    line-height: 1;
}

.p-areaWorks__head {
    position: relative;
    z-index: 1;

    margin-bottom: 34px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.p-areaWorks__en {
    margin: 0 0 8px;

    color: var(--area-teal);

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

.p-areaWorks__title {
    margin: 0 0 10px;

    color: #fff;

    font-size: clamp(29px, 3.3vw, 42px);
    line-height: 1.4;
    font-weight: 900;
}

.p-areaWorks__lead {
    margin: 0;

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

    font-size: 14px;
    line-height: 1.8;
    font-weight: 500;
}

.p-areaWorks__legend {
    position: relative;
    z-index: 2;

    min-width: 230px;
    margin: 4px 0 0;
    padding: 0;

    display: grid;
    gap: 10px;

    list-style: none;
}

.p-areaWorks__legendItem {
    position: relative;

    padding-left: 25px;

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

    font-size: 13px;
    line-height: 1.5;
    font-weight: 700;
}

.p-areaWorks__legendItem::before {
    content: "";

    position: absolute;
    top: 50%;
    left: 0;

    width: 12px;
    height: 12px;

    border-radius: 50%;

    transform: translateY(-50%);
}

.p-areaWorks__legendItem--from::before {
    background: var(--area-yellow);
}

.p-areaWorks__legendItem--to::before {
    background: #26c2cb;
}

.p-areaWorks__legendItem--other::before {
    background: #d7d7d7;
}

.p-areaWorks__grid {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
}

.p-areaRoute {
    position: relative;

    min-height: 58px;
    padding: 10px 22px 10px 46px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;

    color: #333;
    background: #fff;

    border-radius: 16px;

    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.p-areaRoute::before {
    content: "";

    position: absolute;
    top: 50%;
    left: 18px;

    width: 13px;
    height: 13px;

    border-radius: 50%;

    transform: translateY(-50%);
}

.p-areaRoute--from::before {
    background: var(--area-yellow);
}

.p-areaRoute--to::before {
    background: #26c2cb;
}

.p-areaRoute--other::before {
    background: #d7d7d7;
}

.p-areaRoute__place {
    min-width: 0;

    font-size: 14px;
    line-height: 1.5;
    font-weight: 800;
}

.p-areaRoute__arrow {
    color: var(--area-teal);

    font-size: 20px;
    line-height: 1;
    font-weight: 900;
    text-align: center;
}

.p-areaWorks__note {
    position: relative;
    z-index: 1;

    margin: 28px 0 0;

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

    font-size: 12px;
    line-height: 1.8;
}


/* ========================================
   CONSULT
======================================== */

.p-areaConsult {
    padding: 0 0 90px;
}

.p-areaConsult__box {
    position: relative;

    overflow: hidden;

    min-height: 310px;
    padding: 46px 54px;

    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 38px;
    align-items: center;

    background:
        linear-gradient(135deg,
            #fffdf4,
            #fff8db);

    border: 2px solid rgba(255, 201, 0, 0.65);
    border-radius: 32px;

    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.07);
}

.p-areaConsult__box::before {
    content: "";

    position: absolute;
    top: -100px;
    left: -100px;

    width: 230px;
    height: 230px;

    border-radius: 50%;
    background: var(--area-yellow);
}

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

    position: absolute;
    right: -100px;
    bottom: -160px;

    width: 300px;
    height: 300px;

    border-radius: 50%;
    background: rgba(255, 212, 0, 0.22);
}

.p-areaConsult__icon {
    position: relative;
    z-index: 1;

    width: 160px;
    height: 160px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    border-radius: 50%;

    box-shadow: 0 15px 32px rgba(0, 0, 0, 0.08);

    font-size: 66px;
    line-height: 1;
}

.p-areaConsult__body {
    position: relative;
    z-index: 1;
}

.p-areaConsult__en {
    margin: 0 0 8px;

    color: var(--area-teal);

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

.p-areaConsult__title {
    margin: 0;

    color: var(--area-text);

    font-size: clamp(28px, 3.4vw, 43px);
    line-height: 1.45;
    font-weight: 900;
}

.p-areaConsult__text {
    max-width: 720px;
    margin: 16px 0 0;

    color: #555;

    font-size: 14px;
    line-height: 1.9;
    font-weight: 500;
}

.p-areaConsult__button {
    min-width: 280px;
    min-height: 66px;
    margin-top: 26px;
    padding: 10px 12px 10px 28px;

    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;

    color: #111;
    background: var(--area-yellow);

    border-radius: 999px;

    box-shadow: 0 12px 26px rgba(255, 191, 0, 0.3);

    font-size: 15px;
    line-height: 1.4;
    font-weight: 900;
    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.p-areaConsult__button span {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    border-radius: 50%;

    font-size: 21px;
    line-height: 1;

    transition: transform 0.25s ease;
}

.p-areaConsult__button:hover {
    color: #111;

    transform: translateY(-3px);

    box-shadow: 0 17px 34px rgba(255, 191, 0, 0.4);
}

.p-areaConsult__button:hover span {
    transform: translateX(3px);
}


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

@media (max-width: 1024px) {

    .p-areaIntro__badge {
        top: 10px;
        right: 20px;

        width: 130px;
        height: 130px;
    }

    .p-areaIntro__badgeIcon {
        font-size: 30px;
    }

    .p-areaMap__layout {
        min-height: 0;
    }

    .p-areaMap__visual {
        width: 100%;
        min-height: 520px;
    }

    .p-areaMap__image {
        height: 520px;
    }

    .p-areaFeatures {
        position: relative;
        top: auto;
        right: auto;

        width: calc(100% - 56px);
        margin: -76px auto 0;
    }

    .p-areaRegions__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .p-areaWorks__head {
        display: block;
    }

    .p-areaWorks__legend {
        margin-top: 24px;

        display: flex;
        flex-wrap: wrap;
        gap: 12px 24px;
    }
}


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

@media (max-width: 767px) {

    .p-areaIntro {
        padding: 52px 0 38px;
    }

    .p-areaHeading {
        padding-right: 0;
    }

    .p-areaHeading__title {
        padding-bottom: 18px;

        font-size: 34px;
        line-height: 1.4;
    }

    .p-areaHeading__title::after {
        width: 70px;
        height: 5px;
    }

    .p-areaHeading__lead {
        margin-top: 20px;

        font-size: 14px;
        line-height: 1.9;
    }

    .p-areaHeading__lead br {
        display: none;
    }

    .p-areaIntro__badge {
        position: relative;
        top: auto;
        right: auto;

        width: 118px;
        height: 118px;
        margin: 28px 0 0 auto;
    }

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

    .p-areaIntro__badgeText {
        font-size: 11px;
    }


    /* MAP */

    .p-areaMap {
        padding: 8px 0 54px;
    }

    .p-areaMap__visual {
        min-height: 410px;

        border-width: 5px;
        border-radius: 24px;
    }

    .p-areaMap__image {
        height: 410px;

        object-position: 68% center;
    }

    .p-areaMap__copy {
        top: 28px;
        left: 24px;

        max-width: 250px;
    }

    .p-areaMap__copy p {
        font-size: 23px;
        line-height: 1.55;
    }

    .p-areaFeatures {
        width: calc(100% - 24px);
        margin-top: -48px;
        padding: 30px 20px;

        border-radius: 22px;
    }

    .p-areaFeatures__title {
        margin-bottom: 26px;

        font-size: 22px;
    }

    .p-areaFeatures__grid {
        gap: 22px 12px;
    }

    .p-areaFeature__icon {
        width: 52px;
        height: 52px;

        border-radius: 16px;

        font-size: 25px;
    }

    .p-areaFeature__title {
        font-size: 14px;
    }

    .p-areaFeature__text {
        font-size: 10px;
    }


    /* REGIONS */

    .p-areaRegions {
        padding-bottom: 54px;
    }

    .p-areaRegions__box {
        padding: 36px 18px 18px;

        border-width: 2px;
        border-radius: 24px;
    }

    .p-areaRegions__box::before {
        top: -13px;

        width: 24px;
        height: 24px;

        border-width: 2px;
    }

    .p-areaSectionHeading {
        margin-bottom: 28px;
    }

    .p-areaSectionHeading__title {
        font-size: 27px;
    }

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

    .p-areaRegion {
        min-height: 0;
        padding: 24px 18px;
    }

    .p-areaRegion__title {
        margin-bottom: 14px;

        font-size: 19px;
    }

    .p-areaRegion__links {
        gap: 8px 14px;
    }

    .p-areaRegion__link {
        gap: 6px;

        font-size: 12px;
    }

    .p-areaRegion__link::before {
        width: 6px;
        height: 6px;

        flex-basis: 6px;
    }

    .p-areaRegion__note {
        margin-top: 10px;
    }


    /* WORKS */

    .p-areaWorks {
        padding-bottom: 56px;
    }

    .p-areaWorks__box {
        padding: 32px 18px;

        border-radius: 24px;
    }

    .p-areaWorks__box::before {
        top: 18px;
        right: 14px;

        font-size: 70px;
    }

    .p-areaWorks__title {
        font-size: 29px;
    }

    .p-areaWorks__lead {
        font-size: 12px;
    }

    .p-areaWorks__legend {
        display: grid;
        gap: 8px;
    }

    .p-areaWorks__grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .p-areaRoute {
        min-height: 54px;
        padding-right: 14px;
        padding-left: 42px;

        grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);

        border-radius: 13px;
    }

    .p-areaRoute__place {
        font-size: 12px;
    }

    .p-areaWorks__note {
        font-size: 11px;
    }


    /* CONSULT */

    .p-areaConsult {
        padding-bottom: 64px;
    }

    .p-areaConsult__box {
        min-height: 0;
        padding: 34px 20px;

        grid-template-columns: 1fr;
        gap: 24px;

        border-radius: 24px;

        text-align: center;
    }

    .p-areaConsult__icon {
        width: 112px;
        height: 112px;
        margin: 0 auto;

        font-size: 48px;
    }

    .p-areaConsult__title {
        font-size: 27px;
    }

    .p-areaConsult__text {
        font-size: 13px;
        line-height: 1.85;
    }

    .p-areaConsult__button {
        width: 100%;
        min-width: 0;
        min-height: 62px;
        padding-left: 22px;

        text-align: left;
    }
}


/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {

    .p-areaRegion,
    .p-areaRegion__link,
    .p-areaRegion__link::before,
    .p-areaConsult__button,
    .p-areaConsult__button span {
        transition: none;
    }

    .p-areaRegion:hover,
    .p-areaRegion__link:hover,
    .p-areaConsult__button:hover {
        transform: none;
    }
}

/* スマホ：地図全体を表示し、文章の重なりを解消 */
@media (max-width: 767px) {
  .p-areaMap__layout {
    min-height: 0;
  }

  .p-areaMap__visual {
    width: 100%;
    min-height: 0;
    box-sizing: border-box;
  }

  .p-areaMap__copy {
    position: static;
    max-width: none;
    padding: 20px 16px;
    background: #fff;
  }

  .p-areaMap__copy p {
    font-size: 20px;
    line-height: 1.6;
  }

  .p-areaMap__frame {
    position: relative;
    inset: auto;
  }

  .p-areaMap__image {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .p-areaFeatures {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin: 20px 0 0;
    padding: 26px 18px;
    box-sizing: border-box;
  }
}