@charset "utf-8";

/* スマホ表示用（PC要素の切り替え） */
.nosp {
    display: none;
}

.nopc {
    display: block;
}

/*------------------------------------------------
    全体背景（PCと同じミッドナイトブルー）
--------------------------------------------------*/
.contents {
    font-family: "Noto Sans JP", serif;
    color: var(--ui-static-gray-10, #ffffff);
    font-size: 14px;
    line-height: 1.6em;
    background-color: var(--ui-static-navy-90, #1c2029);
}

.contents .inner {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

#reasons ,#seats ,#cities ,#related ,#ah {
    background-color: #02081E;
}

#a350 ,#product ,#tour ,#banner ,#searchArea {
    background-color: #2B1D0C;
}

/* パンくず */
.breadcrumb {
    width: auto;
}

/*------------------------------------------------
    メインビジュアル（PCと同じ漆黒背景）
--------------------------------------------------*/
#mainvisual {
    width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    background: url("../images/background_sp.webp") no-repeat center center;
    background-size: cover;
    background-color: var(--ui-static-black, #000000);
    padding: 0;
}

#mainvisual .inner {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 0;
}

#mainvisual img {
    display: block;
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/*------------------------------------------------
    UIナビゲーション（PCと同じキャメルブラウン）
--------------------------------------------------*/
.contents .ui-static-navigation {
    background-color: var(--ui-static-camel-80, #573e12);
    border-bottom: 1px solid var(--ui-static-camel-60, #d4a343);
    padding: 10px 5px;
}

.contents .ui-static-navigation .ui-static-link {
    color: var(--ui-static-white, #ffffff);
    font-weight: bold;
    font-size: 13px;
}

.contents .ui-static-navigation .ui-static-icon {
    color: var(--ui-static-camel-30, #f7f3ce);
}

.contents .ui-static-navigation .ui-static-navigation-text {
    color: var(--ui-static-white, #ffffff);
}

/*------------------------------------------------
    スターラックスの魅力（PCと同じダークブラウン背景）
--------------------------------------------------*/
#airline_point {
    background-color: var(--ui-static-camel-90, #2b1d0c);
    padding: 40px 0;
}

#airline_point .inner {
    background-color: transparent;
}

#airline_point h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    line-height: 1.3em;
    color: var(--ui-static-camel-20, #fcfbdf);
    text-align: center;
}

#airline_point .heading--md {
    line-height: 1.3em;
    font-size: 1.2em;
    color: var(--ui-static-camel-20, #fcfbdf);
}

#airline_point .heading--subTitle {
    font-weight: normal;
    margin-top: 10px;
    font-size: 0.9em;
    color: var(--ui-static-gray-10, #ffffff);
}

/* カード背景（PCと同じ濃紺 navy-80） */
#airline_point .grid-row {
    background-color: #02081E;
    color: var(--ui-static-gray-10, #ffffff);
    margin: 15px 0;
    border-radius: 8px;
    padding: 20px 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    display: block;
}

#airline_point .grid-col1,
#airline_point .grid-col2 {
    width: 100%;
}

#airline_point .grid-col1 img {
    width: 100%;
    border-radius: 6px;
}

#airline_point .grid-col2.txt {
    padding: 15px 0 0 0;
    color: var(--ui-static-gray-10, #ffffff);
}

#airline_point .qf_seat {
    margin-top: 15px;
    display: flex;
    gap: 2%;
}

#airline_point .qf_seat img {
    width: 49%;
    border-radius: 4px;
}

/*------------------------------------------------
    商品（ツアー・航空券）
--------------------------------------------------*/
#product {
    padding: 40px 0;
}

#product h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    line-height: 1.2em;
    color: var(--ui-static-camel-20, #fcfbdf);
}

#product h3 {
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--ui-static-gray-10, #ffffff);
}

.grid-col__link {
    display: flex;
    height: 100%;
    flex-direction: column;
    text-decoration: none;
    color: var(--ui-static-gray-10, #ffffff);
    transition: all .25s ease-out;
}

.txt_red {
    color: var(--ui-static-camel-50, #e6bc53);
    font-size: 14px;
    font-weight: normal;
    display: block;
}

/* スマホ用「もっと見る」ボタン */
#product .more-btn {
    width: 100%;
    margin: 30px auto 20px;
    padding: 0 10px;
    box-sizing: border-box;
}

#product .more-btn a {
    font-size: 15px;
    color: var(--ui-static-white, #ffffff);
    font-weight: bold;
    display: block;
    text-decoration: none;
    padding: 16px 10px;
    background-color: var(--ui-static-camel-80, #573e12);
    text-align: center;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

#product .more-btn a:hover {
    background-color: var(--ui-static-camel-60, #d4a343);
    color: var(--ui-static-black, #000000);
}

#product .more-btn a:after {
    font-family: FontAwesome;
    content: "\f105";
    padding-left: 8px;
}

/*----------------------------------------------
    検索ボックス
------------------------------------------------*/
#searchArea {
    padding: 40px 0;
}

/*----------------------------------------------
    レイアウト表示切り替え（スマホ）
------------------------------------------------*/
/* ① 1枚画像パーツ（layout-d）：スマホで縦並び（全幅画像＋下テキスト） */
.contents .layout-d .ui-static-item-card.ui-static-item-card-horizontal {
    display: block;
}

.contents .layout-d .ui-static-item-card.ui-static-item-card-horizontal .ui-static-image,
.contents .layout-d .ui-static-item-card.ui-static-item-card-horizontal .ui-static-item-card-details {
    width: 100%;
}

.contents .layout-d .ui-static-item-card.ui-static-item-card-horizontal .ui-static-item-card-details {
    padding-top: 15px;
}

/* ② 2枚画像パーツ（layout-a）：スマホで大きな画像2枚縦並び ➔ 下テキスト */
.contents .layout-a .ui-static-grid-list {
    display: block;
}

.contents .layout-a .ui-static-grid-list .ui-static-image {
    width: 100%;
    margin-bottom: 10px;
}

.contents .layout-a .ui-static-grid-list .ui-static-image:last-child {
    margin-bottom: 0;
}
.map img {
    object-fit: fill;
}
/*----------------------------------------------
    UIパーツ内のテキスト白文字化
------------------------------------------------*/
.contents .ui-static-heading {
    color: var(--ui-static-gray-10, #ffffff);
}

.contents .ui-static-item-card-description {
    color: var(--ui-static-gray-10, #ffffff);
}

.contents .ui-static-item-card-details,
.contents .ui-static-item-card-details h3,
.contents .ui-static-item-card-details p {
    color: var(--ui-static-gray-10, #ffffff);
}

.contents .ui-static-section-wrapper,
.contents .ui-static-section-wrapper h2,
.contents .ui-static-section-wrapper h3,
.contents .ui-static-section-wrapper p {
    color: var(--ui-static-gray-10, #ffffff);
}

/*----------------------------------------------
    関連記事（スマホ：横スクロール・スライド対応）
------------------------------------------------*/
#related {
    padding: 40px 0;
}

#related h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    line-height: 1.2em;
    color: var(--ui-static-camel-20, #fcfbdf);
}

#related a {
    text-decoration: none;
}

#related a:hover {
    opacity: .85;
}

/* カード群を横スクロール対応にする */
#related .point-box {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* iOSのなめらかなスクロール */
    padding-bottom: 10px;
    margin-right: -15px; /* 右端の切れ込みを自然に見せる */
}

/* スクロールバーの非表示（すっきり見せる） */
#related .point-box::-webkit-scrollbar {
    display: none;
}

/* 1画面に約4つ並ぶカード幅（22%） */
#related .point-box li {
    width: 22%;
    min-width: 140px; /* 文字崩れ防止の最小幅 */
    flex-shrink: 0;
    margin-right: 10px;
    margin-bottom: 0;
    position: relative;
    background-color: var(--ui-static-navy-80, #282e3d);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

#related .ph {
    margin-bottom: 5px;
}

#related .ph img {
    width: 100%;
    vertical-align: bottom;
}

#related .icon {
    color: var(--ui-static-camel-50, #e6bc53);
    padding: 8px 8px 0;
    line-height: 1.3em;
    font-size: 11px;
    font-weight: bold;
}

#related .icon-calendar:before {
    font-family: FontAwesome;
    content: "\f073";
    padding-right: 4px;
}

#related h3 {
    font-size: 12px;
    font-weight: bold;
    line-height: 1.3em;
    padding: 4px 8px 10px 8px;
    color: var(--ui-static-gray-10, #ffffff);
}

/*----------------------------------------------
    バナーセクション（スマホ：2個ずつ並べる）
------------------------------------------------*/
#banner {
    padding: 30px 0 40px;
}

/* 2列の折り返しレイアウト */
.ui-static-banner-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 2%; /* 上下間隔 12px、左右間隔 2% */
    justify-content: space-between;
}

/* 1個あたりの幅を約50%（2個並び）に指定 */
.ui-static-banner {
    border-radius: 6px;
    overflow: hidden;
    width: 49%;
    box-sizing: border-box;
}

.ui-static-banner-size-350x350 {
    max-width: none;
    margin-bottom: 0;
}

.ui-static-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.contents #banner .banner-link {
    display: block;
    text-align: center;
    text-decoration: none;
}

.contents #banner .banner-text {
    display: block;
    margin-top: 6px;
    color: var(--ui-static-gray-10, #ffffff);
    font-size: 12px;
    font-weight: bold;
    line-height: 1.3em;
}

/* ==============================================
   SP版 カルーセル（A350セクション）サイズ調整
================================================= */
@media screen and (max-width: 768px) {
    /* カード全体のレイアウト調整 */
    body #hisApp .contents .layout-d .ui-static-item-card-horizontal {
        flex-direction: column; /* スマホでは縦並びに変更 */
    }

    /* カルーセル外枠の幅制限 */
    body #hisApp .contents .layout-d-carousel-wrapper {
        position: relative;
        width: 100%;
        max-width: 100%; /* スマホ画面幅いっぱいにフィット */
        margin: 0 auto 16px auto;
    }

    /* 画像のアスペクト比・サイズを固定して肥大化を防止 */
    body #hisApp .contents .layout-d-carousel .ui-static-image,
    body #hisApp .contents .layout-d-carousel img {
        width: 100%;
        height: 220px; /* スマホに適切な高さを確保 */
        object-fit: cover;
        border-radius: 8px 8px 0 0;
    }

    /* ドット（インジケーター）のSP位置調整 */
    body #hisApp .contents .layout-d-carousel .slick-dots {
        position: absolute;
        bottom: 8px;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        margin: 0;
        padding: 0;
        list-style: none;
        z-index: 10;
    }

    .layout-d-carousel .slick-dots li {
        margin: 0;
        padding: 0;
    }

    .layout-d-carousel .slick-dots button {
        font-size: 0;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.6);
        border: none;
        padding: 0;
        cursor: pointer;
    }

    .layout-d-carousel .slick-dots li.slick-active button {
        background-color: #fff;
        width: 18px;
        border-radius: 4px;
    }
}

/* SP版：余白設定 */
body #hisApp .contents .ui-static-section-wrapper .ui-static-heading.ui-static-heading-with-subtitle-bottom {
    margin-bottom: 24px;
}

body #hisApp .contents #a350 .ui-static-heading,
body #hisApp .contents #a350 .heading--md {
    margin-bottom: 20px;
}

body #hisApp .contents #product h3.heading--md {
    margin-bottom: 16px;
}


main.main {
    background-color: #02081E;
}


#product, #ah {
    margin-top: 0;
    margin-bottom: 0;
}
/*----------------------------------------------
    SP用：「もっと見る」ボタン（#tour ネイビー背景）
------------------------------------------------*/
#tour .more-btn {
    width: 100%;
    margin: 24px auto 16px;
    padding: 0 15px;
    box-sizing: border-box;
    text-align: center;
}

#tour .more-btn a {
    font-size: 14px;
    color: #ffffff;
    font-weight: bold;
    display: inline-block;
    width: 100%;
    max-width: 320px; /* スマホ画面で崩れない適切なボタン幅 */
    box-sizing: border-box;
    text-decoration: none;
    padding: 14px 20px;
    background-color: #02081E; /* ネイビー背景 */
    text-align: center;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

#tour .more-btn a:hover {
    background-color: #1C2029;
    color: #ffffff;
}

#tour .more-btn a:after {
    font-family: FontAwesome;
    content: "\f105";
    padding-left: 8px;
}
body #hisApp main.main .contents #tour {
    padding-bottom: 50px; /* ボタン下の余白を確保 */
}
/*----------------------------------------------
    SP：#ah (航空券+ホテル) セクション底面の余白調整
------------------------------------------------*/
body #hisApp main.main .contents #ah {
    padding-bottom: 50px; /* #tour と同じ余白を確保 */
}
/*----------------------------------------------
    SP用：スターラックスの魅力（小画像スライド調整）
------------------------------------------------*/
/* カード内の要素配置調整 */
section#airline_point .grid-row {
    padding: 24px 20px;
}

section#airline_point .grid-col1 {
    margin-bottom: 20px;
}

section#airline_point .grid-col1 img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

section#airline_point .grid-col2.txt {
    padding: 0;
}

/* 小画像スライド枠の余白調整 */
section#airline_point .qf_seat_carousel {
    margin-top: 16px;
    margin-bottom: 0;
}

section#airline_point .qf_seat_carousel .slick-slide {
    padding: 0 4px; /* 2枚並び時の画像間の隙間 */
    box-sizing: border-box;
}

section#airline_point .qf_seat_carousel img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

/* スライド用ドット（インジケーター）のデザイン */
section#airline_point .qf_seat_carousel .slick-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    padding: 0;
    list-style: none;
}

section#airline_point .qf_seat_carousel .slick-dots button {
    font-size: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
}

section#airline_point .qf_seat_carousel .slick-dots li.slick-active button {
    background-color: #ffffff;
    width: 16px;
    border-radius: 4px;
}
