.home-page {
    margin: 0;
    padding: 0 0 82px;
}

.home-page__content {
    padding-top: 34px;
}

.home-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(650px, 60svh, 820px);
    overflow: hidden;
    color: #fff;
    background-color: #03346b;
    /* Free photo: Mingyang LIU / Pexels, photo 33598030 */
    background-image: url("https://images.pexels.com/photos/33598030/pexels-photo-33598030.jpeg?auto=compress&cs=tinysrgb&w=2200");
    background-position: center 48%;
    background-size: cover;
    background-repeat: no-repeat;
}

.home-hero__overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 52, 107, .94) 0%, rgba(3, 52, 107, .84) 38%, rgba(3, 52, 107, .52) 68%, rgba(3, 52, 107, .34) 100%),
        linear-gradient(180deg, rgba(0, 23, 51, .20) 0%, rgba(0, 23, 51, .08) 48%, rgba(0, 23, 51, .36) 100%);
}

.home-hero__inner {
    position: relative;
    z-index: 1;
    width: min(var(--container-width), calc(100% - 48px));
    padding-top: 112px;
    padding-bottom: 54px;
}

.home-hero__copy {
    max-width: 760px;
}

.home-hero h1 {
    margin: 0;
    max-width: 760px;
    color: #fff;
    font-size: clamp(44px, 5.4vw, 74px);
    line-height: 1.08;
    letter-spacing: -.045em;
    text-shadow: 0 5px 24px rgba(0, 22, 48, .26);
}

.home-hero h1 span {
    color: #efdcae;
}

.home-hero__lead {
    max-width: 700px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(14px, 1.4vw, 17px);
    line-height: 1.85;
    text-shadow: 0 2px 16px rgba(0, 22, 48, .24);
}

.home-hero__search-wrap {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin-top: 38px;
    padding: 20px 22px 22px;
    border: 1px solid rgba(255, 255, 255, .52);
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 20px 48px rgba(0, 25, 56, .24);
    backdrop-filter: blur(12px);
}

.home-hero__search-heading {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 14px;
}
.home-hero__search-heading h2 {
    margin: 0;
    color: #03346b;
    font-size: clamp(18px, 2vw, 23px);
    letter-spacing: -.025em;
}
.home-hero__form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(150px, .78fr) minmax(165px, .92fr) minmax(190px, 1fr);
    align-items: end;
    gap: 10px;
}

.home-hero__field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
}

.home-hero__field > span {
    color: #4b5d72;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .02em;
}

.home-hero__field select {
    min-height: 50px;
    padding: 0 38px 0 13px;
    border: 1px solid #cad6e2;
    border-radius: 9px;
    background-color: #fff;
    color: #14253a;
    font-size: 14px;
    font-weight: 650;
}

.home-hero__field select:focus {
    border-color: #c9a45d;
    box-shadow: 0 0 0 3px rgba(201, 164, 93, .18);
}

.home-hero__submit {
    display: flex;
    min-width: 0;
}

.home-hero__submit-button {
    min-height: 50px;
    width: 100%;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 5px 7px 5px 18px;
    border: 1px solid #03346b;
    border-radius: 10px;
    background: #03346b;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .01em;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(3, 52, 107, .17);
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.home-hero__submit-button:hover {
    border-color: #022a58;
    background: #022a58;
    box-shadow: 0 11px 24px rgba(3, 52, 107, .22);
    transform: translateY(-1px);
}
.home-hero__submit-button:active { transform: translateY(0); }
.home-hero__submit-arrow {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 34px;
    border-radius: 50%;
    background: #c9a45d;
    color: #03346b;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    transition: background 180ms ease, transform 180ms ease;
}
.home-hero__submit-button:hover .home-hero__submit-arrow {
    background: #dfbf76;
    transform: translateX(2px);
}

.home-hero__photo-credit {
    position: absolute;
    z-index: 1;
    right: 18px;
    bottom: 10px;
    margin: 0;
    color: rgba(255, 255, 255, .62);
    font-size: 9px;
    letter-spacing: .02em;
}

@media (max-width: 980px) {
    .home-hero {
        min-height: 720px;
        background-position: 58% center;
    }
    .home-hero__overlay {
        background:
            linear-gradient(90deg, rgba(3, 52, 107, .94) 0%, rgba(3, 52, 107, .80) 58%, rgba(3, 52, 107, .52) 100%),
            linear-gradient(180deg, rgba(0, 23, 51, .16), rgba(0, 23, 51, .30));
    }
    .home-hero__inner { padding-top: 105px; padding-bottom: 46px; }
    .home-hero__form-grid { grid-template-columns: 1.25fr .8fr .95fr; }
    .home-hero__field--country { grid-column: span 1; }
    .home-hero__submit { grid-column: 1 / -1; }
    .home-hero__submit-button { width: 100%; }
}

@media (max-width: 720px) {
    .home-hero {
        min-height: 90svh;
        align-items: flex-start;
        background-position: 62% center;
    }
    .home-hero__overlay {
        background:
            linear-gradient(180deg, rgba(3, 52, 107, .91) 0%, rgba(3, 52, 107, .80) 54%, rgba(3, 52, 107, .72) 100%);
    }
    .home-hero__inner {
        width: min(100% - 28px, var(--container-width));
        padding-top: 106px;
        padding-bottom: 38px;
    }
    .home-hero h1 {
        font-size: clamp(38px, 10.8vw, 54px);
        line-height: 1.1;
    }
    .home-hero__lead {
        margin-top: 15px;
        font-size: 14px;
        line-height: 1.7;
    }
    .home-hero__lead-break { display: none; }
    .home-hero__search-wrap {
        margin-top: 26px;
        padding: 16px;
        border-radius: 14px;
    }
    .home-hero__search-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
        margin-bottom: 12px;
    }
    .home-hero__form-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
    .home-hero__field--country { grid-column: 1 / -1; }
    .home-hero__submit { grid-column: 1 / -1; }
    .home-hero__field select { min-height: 46px; font-size: 13px; }
    .home-hero__submit-button { min-height: 48px; }
    .home-hero__photo-credit { right: 10px; bottom: 5px; font-size: 8px; }
}

@media (max-width: 420px) {
    .home-hero__inner { width: min(100% - 22px, var(--container-width)); padding-top: 94px; }
    .home-hero h1 { font-size: 37px; }
    .home-hero__lead { font-size: 13px; }
    .home-hero__search-wrap { margin-top: 22px; padding: 14px; }
    .home-hero__form-grid { gap: 8px; }
    .home-hero__field > span { font-size: 10px; }
}

/* 人気渡航先などから検索フォームへ戻る際の固定ヘッダー分の余白 */
#home-hero-search {
    scroll-margin-top: 94px;
}

/* Hero lineup count */
.home-hero__intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    align-items: center;
    gap: clamp(32px, 6vw, 82px);
}

.home-hero__lineup {
    justify-self: end;
    width: min(100%, 360px);
    box-sizing: border-box;
    padding: 18px 0 18px 28px;
    border-left: 1px solid rgba(255, 255, 255, .48);
    color: #fff;
    text-shadow: 0 3px 18px rgba(0, 22, 48, .28);
}

.home-hero__lineup-label {
    display: block;
    color: rgba(255, 255, 255, .92);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .04em;
}

.home-hero__lineup-value {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 4px;
}

.home-hero__lineup-value strong {
    color: #efdcae;
    font-size: clamp(48px, 5vw, 68px);
    font-weight: 850;
    line-height: 1;
    letter-spacing: -.035em;
}

.home-hero__lineup-value span {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.home-hero__lineup small {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 980px) {
    .home-hero__intro {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
        gap: 28px;
    }

    .home-hero__lineup {
        padding-left: 22px;
    }
}

@media (max-width: 720px) {
    .home-hero__intro {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .home-hero__lineup {
        justify-self: start;
        width: auto;
        padding: 0 0 0 16px;
        border-left-color: rgba(239, 220, 174, .72);
    }

    .home-hero__lineup-label {
        font-size: 14px;
    }

    .home-hero__lineup-value strong {
        font-size: 42px;
    }

    .home-hero__lineup small {
        margin-top: 4px;
    }
}
