/* 航空券×宿泊プランページ専用スタイル */

/* ========================================
   1. サブビジュアルセクション
======================================== */
.sub-visual {
    background: rgba(0, 0, 0, 0.4);
    background-size: cover;
    background-position: center center;
    background-blend-mode: overlay;
}

/* 航空券×宿泊プランページ用の背景画像 */
body.flight .sub-visual {
    background-image: url('../../flight/images/svimg.jpg');
}

/* ========================================
   2. ワーケーション紹介セクション（lead-section）
======================================== */
body.flight .lead-section {
    min-width: auto;
}

body.flight .lead-section .container {
    background-image: none;
}

.lead-header {
    width: 100%;
}

.lead-header p {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    display: block;
}

/* タブレット時のlead-header左右余白 */
@media (min-width: 769px) and (max-width: 1024px) {
    .lead-header {
        padding-left: 1em;
        padding-right: 1em;
        box-sizing: border-box;
    }
}

/* ========================================
   3. 航空券プラン紹介セクション（flight-plan-section）
======================================== */
/* 背景画像 */
body.flight .flight-plan-section {
    background-image: url('../../flight/images/flight_bg.jpg');
}

/* bg-section::beforeグラデーション */
body.flight .bg-section::before {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 1) 50%);
}

.flight-plan-section .container {
    position: relative;
    z-index: 2;
}

.flight-plan-layout {
    max-width: 1000px;
    margin: 0 auto;
}

#flight-plan-heading {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 30px;
    font-weight: 400;
    color: #fff;
}

#flight-plan-heading:not(.english-text) {
    font-size: 1em;
    font-family: 'Noto Sans JP', sans-serif;
}

#flight-plan-heading .english-text {
    font-family: 'Quattrocento', serif;
    font-size: 2.8125em;
    display: block;
}

/* 航空券ページ用の情報レイアウト */
.flight-plan-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.flight-plan-info.flight-plan-info-layout {
    /* PC幅でも縦積みにする */
    gap: 2em;
    align-items: flex-start;
}

/* ========================================
   4. 航空券×宿泊プラン一覧
======================================== */
#contents {
    width: 100%;
}

.stx {
    text-align: center;
    margin: 0 auto 30px;
    max-width: 900px;
}

.flight-category {
    margin: 40px 0 60px;
}

.flight-category:last-child {
    margin-bottom: 0;
}

.flight-category-title {
    font-size: 1.2em;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-align: left;
    margin: 0 0 16px;
}

.flightslist {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.flightslist li {
    background: #ffffff;
    border: none;
    overflow: hidden;
}

.flightslist a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.flightslist img {
    width: 100%;
    aspect-ratio: 624 / 221;
    height: auto;
    object-fit: cover;
    display: block;
}

.flightslist a:hover img {
    opacity: 0.7;
}

.flight-plan-title {
    padding-top: 0.5em;
    background: transparent;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.flight-plan-title span {
    display: inline-block;
}

.flight-plan-arrow {
    font-size: 0.95em;
    font-weight: 300;
    color: #8b8b8b;
    line-height: 1;
}

@media (min-width: 1024px) {
    .flightslist {
        grid-template-columns: repeat(3, minmax(240px, 1fr));
    }
}

/* ========================================
   レスポンシブ対応（メディアクエリ）
======================================== */
@media (max-width: 768px) {
    .lead-header p {
        text-align: left;
    }

    .flight-plan-section .container {
        padding-left: 1em;
        padding-right: 1em;
    }
}
