/* リセットと基本設定 */
html {
    font-size: 62.5%; /* 10pxを基準にするための設定 */
}
body {
    font-family: 'Noto Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #fff;
}
*, *::before, *::after {
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}


section {
    margin-bottom: 0!important;
}

/* スマホ表示でのみ改行を適用 */
.sp {
    display: none;
}
@media (max-width: 767px) {
    .sp {
        display: block;
    }
}




/* 共通のコンテンツ幅 */
#bigcontainer {
    max-width: 100%;
    overflow-x: hidden;
}
.content-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
/* セクションタイトル */
.section-ttl {
    text-align: center;
    font-size: 2.4rem;
    font-weight: bold;
    color: #fff;
    margin: 0 0 30px;
    padding-top: 50px;
}
/* Noto Sansで太字 */
.intro-body p strong {
    font-weight: 700;
}

/* ---------------------------------------------------------------------- */
/* 1. TOPメインビジュアル */
/* ---------------------------------------------------------------------- */
.merry-top {
    position: relative;
    overflow: hidden;
    height: 600px; /* PCでの高さ */
}
.top-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.top-content {
    position: relative;
    max-width: 1220px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 70px;
    align-items: center;
    padding: 0 20px;

}
.top-ttl {
    width: 50%;
    max-width: 400px;
    margin: 0;
    font-size: 0; /* 画像のaltテキストを隠す */
}
.top-main-img {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}
.top-main-img img {
    height: 100%;
    width: auto;
    object-fit: cover;
}


/* 右側の画像スライドショー */
#slideshow-container {
    width: 55%; /* 調整 */
    height: 70%;
    position: relative;
    display: flex;
    justify-content: flex-end; /* 右寄せ */
    align-items: center;
    overflow: hidden; /* はみ出しを隠す */
    padding: 20px 0; /* 上下のパディングで画像の縦位置を調整 */
    background-color: white; /* ★★★ ここを追加 ★★★ */
    border: 5px solid #fff; /* 白い枠線 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ★★★ .slide-img の border は #slideshow-container に移動したため削除します ★★★ */
#slideshow-container .slide-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像全体を表示し、余白があれば背景色 */
    top: 0;
    left: 0;
    opacity: 0; /* 最初は全て非表示 */
    transition: opacity 1.5s ease-in-out; /* フェードイン・アウト */
    /* border: 5px solid #fff;  ★★★★ この行は削除！ ★★★★ */
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.3); ★★★★ この行も削除！ ★★★★ */
}
#slideshow-container .slide-img.current {
    opacity: 1; /* 表示中の画像 */
}



/* ---------------------------------------------------------------------- */
/* 共通ラッパー設定と雪の結晶の共通化 */
/* ---------------------------------------------------------------------- */
/* ★★★ #bigcontainerに結晶の配置ロジックを移動 ★★★ */
#bigcontainer {
    max-width: 100%;
    overflow-x: hidden;
    position: relative; /* 疑似要素の基準点 */
}

/* 共通の雪の結晶装飾 (ウィンドウの端に固定) */
#bigcontainer::before, #bigcontainer::after {
    content: "";
    position: absolute;
    /* topはtopバナーの上から開始するため、0に設定 */
    top: 0; 
    height: 100%; /* #bigcontainerの高さ全体に広げる */
    width: 100px; /* 結晶の幅 */
    
    /* ★★★ ここをご自身のSVGファイルパスに書き換え (相対パス推奨) ★★★ */
    background-image: url('img/snow.svg'); 
    background-repeat: repeat-y; 
    background-size: 100% auto;
    z-index: 1; /* コンテンツ自体より下に配置 */
}

/* 左側：反転させる (ウィンドウ左端に配置) */
#bigcontainer::before {
    left: 0; 
    /* ★★★ 左右反転 ★★★ */
    transform: scaleX(-1); 
    opacity: 0.8;
}

/* 右側：そのまま (ウィンドウ右端に配置) */
#bigcontainer::after {
    right: 0;
    opacity: 0.8;
}


/* ★★★ feature-wrapは単なるコンテンツ中央寄せラッパーに戻します ★★★ */
.feature-wrap {
    max-width: 1000px; /* コンテンツの最大幅は中央寄せのため1000pxに戻します */
    margin: 0 auto;

}

/* ---------------------------------------------------------------------- */
/* 2. #redback セクション */
/* ---------------------------------------------------------------------- */
#redback {
    background-color: #b33939; /* fallback */
    background-repeat: repeat;
    background-position: center;
    padding-bottom: 50px;
    position: relative;
    margin-bottom: 0;
    /* 結晶のCSSはfeature-wrapで管理されるため削除 */
}

/* コンテンツの左右パディング */
#redback > #feature-intro,
#redback > #slider-area,
#redback > #present-box {
    padding-left: 20px;
    padding-right: 20px;
}

/* 最初の導入文 */
#feature-intro {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 50px;
    text-align: center;
    color: #fff;
}

#feature-intro p{
display: block;
    width: 100%;
    margin-bottom: 24px;
    font-feature-settings: "palt";
    font-size: 16px;
    line-height: 39px;
    text-align: center;
}


.intro-body {
    border-radius: 5px;
    margin-bottom: 60px;
    font-size: 1.5rem;
}
#feature-intro .section-ttl {
  font-size: 3rem;
    padding-top: 0;
    margin-bottom: 20px;
        line-height: normal;
}

/* スライダープレースホルダー */
#slider-area {
    width: 100%;
    margin-bottom: 40px;
}
.slider-placeholder {
    width: 100%;
    height: 300px; /* ダミーの高さ */
    background-color: rgba(255, 255, 255, 0.3);
    border: 3px dashed #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.8rem;
}


/* Special Present */
#present-box {
    text-align: center;
    padding-top: 80px;
}
.present-ttl {
    font-family: 'Lexend Giga', sans-serif;
    font-size: 4rem;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
text-align: center;
    margin-bottom: 50px;
}
.coupon-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}
.coupon-item {
    background-color: #fff;
    color: #b33939;
    width: 45%;
    max-width: 350px;
    padding: 20px 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 3px solid #c7900b;
}
.coupon-item .mini {
    font-size: 1.3rem;
    margin-bottom: 5px;
        text-align: center;
}
.coupon-title {
    font-family: 'Lexend Giga', sans-serif;
    font-size: 3rem;
    margin: 0;
    color: #b33939;
        text-align: center;
}
.coupon-guerrilla {
    border-color: #c7900b; /* ゴールドっぽい色 */
}
.coupon-guerrilla .coupon-title {
    color: #c7900b;
}
.miniday {
    font-size: 1.2rem;
    margin-top: 10px;
    line-height: 1.4;
    text-align: center;
}
.kome {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

/* ご利用方法と注意 */
#attention-box {
    background-color: #8c1e1e;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #c7900b;
    text-align: left;
}
.attention-block {
    margin-bottom: 20px;
}
.attention-block:last-child {
    margin-bottom: 0;
}
.attention-ttl {
    color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
}
.attention-body, .attention-notes {
    color: #fff;
    font-size: 1.4rem;
}
.attention-notes li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 5px;
}
.attention-notes li::before {
    content: "・";
    position: absolute;
    left: 0;
}

/* ---------------------------------------------------------------------- */
/* 3. #greenback セクション */
/* ---------------------------------------------------------------------- */
#greenback {
    background-color: #1e5a2d; /* fallback */
    background-repeat: repeat;
    background-position: center;
    padding-bottom: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    /* 結晶のCSSはfeature-wrapで管理されるため削除 */
}

/* コンテンツの左右パディング */
#greenback > * {
    padding-left: 20px;
    padding-right: 20px;
}

.guerrilla-section-ttl {
    font-size: 3rem;
    font-weight: 900;
    margin: 0;
    padding: 50px 0 30px;
    color: #fff;
    line-height: 40px;
    text-align: center;
}
.guerrilla-section-ttl br {
    display:block}


/* ゲリラ開催期間のリスト（#time） */
#time {
    margin-bottom: 50px;
    padding: 0 10px;
}
.time-list {
    /* 開催期間の情報を表示する1つの大きなブロックとして設定 */
    max-width: 600px; /* 最大幅を設定して中央に寄せる */
    margin: 0 auto;
    
    background-color: rgba(255, 255, 255, 0.9); /* 薄いトーンの白背景 */
    border-radius: 8px;
    padding: 20px 30px; /* 内側の余白を調整 */
    border: 3px solid #c7900b; /* ゴールドの枠線 */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: block; /* Flexboxを解除し、普通のブロック要素に */
}

/* time-list の中の li を装飾する */
.time-list li {
    background-color: transparent; 
    color: #333;
    width: 100%; /* 幅を100%に戻す */
    max-width: none;
    padding: 10px 0; /* 上下のパディングで間隔を調整 */
    border: none;
    box-shadow: none;
    line-height: 1.5;
    text-align: center;
}

/* 期間の間隔を空けるために、liの間に線を入れる */
.time-list li:first-child,
.time-list li:nth-child(2)  {
    padding-top: 0;
    margin-bottom: 10px; /* 2つの期間の間に余白 */
    border-bottom: 1px dashed #b33939; /* 赤の破線で期間を区切る */
}
.time-list li:last-child {
    padding-bottom: 0;
    padding-top: 10px; /* 上パディングを調整 */
    justify-content: center;
}


.time-list h3 {
    font-size: 2.6rem; 
    font-weight: 900;
    margin: 0 0 5px 0;
    line-height: 1.2;
    color: #b33939; /* 赤色で強調 */
        text-align: center;
}
.time-list br {
    display: block;
}

/* クーポン対象商品ボタンのリスト（#couponitems） */
#couponitems {
    max-width: 600px;
    margin: 0 auto 50px;
}
.offbtn {
    margin-bottom: 15px;
}
.offbtn a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #c7900b; /* ゴールドの背景色 */
    color: #fff; /* 白い文字色 */
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 1.8rem;
    font-weight: bold;
    transition: background-color 0.3s;
    border-bottom: 5px solid #a0740a; /* 立体感を出すための濃い色 */
}
.offbtn a:hover {
    background-color: #e0ac1a; /* ホバーで少し明るく */
    border-bottom: 3px solid #a0740a;
    transform: translateY(2px);
}
.offbtn .btn-text {
    flex-grow: 1;
    text-align: center;
}
.offbtn .fas.fa-chevron-right {
    font-size: 1.6rem;
}


/* ---------------------------------------------------------------------- */
/* 4. ご注意リストのスタイル追加 (flex-at および round) */
/* ---------------------------------------------------------------------- */

/* flex-at: 「ご注意」とその説明文を横並びにする */
.flex-at {
    display: flex; /* 子要素を横並びに */
    gap: 15px; /* 要素間の隙間 */
    align-items: flex-start; /* 縦方向の配置を上端に揃える */
    margin-bottom: 15px; /* 上下の間隔 */
}

/* round: 「ご注意」のテキストを丸い背景で囲む */
.flex-at > .round {
    /* 丸い背景 */
    width: 65px; /* 円の幅 */
    height: 65px; /* 円の高さ */
    border-radius: 50%; /* 完全な円にする */
    background-color: #f1f1f1; /* 背景色（今回は赤系セクションなので少し明るいグレー） */
    color: #b33939; /* 文字色を濃い赤に */
    
    /* テキストの配置 */
    display: flex;
    justify-content: center; /* 水平中央揃え */
    align-items: center; /* 垂直中央揃え */
    
    /* フォント調整 */
    font-size: 1.4rem;
    font-weight: bold;
    flex-shrink: 0; /* 説明文の幅が狭くなっても「ご注意」の円が縮まないように固定 */
    border: 1px solid #c7900b; /* ゴールドの細い枠線を追加して視認性アップ */
}

/* 説明文のスタイル調整（必要に応じて） */
.flex-at > div:last-child {
    font-size: 1.4rem;
    color: #b33939; /* 親要素が#attention-box（赤背景）内のため白文字を想定 */
    line-height: 1.6;
    text-align: left;
    font-weight: bold;
}
.flex-at > div:last-child br {
    display: block; /* 改行を有効にする */
}





    @media (max-width: 1200px) {
.top-ttl {
    width: 30%;
}
#bigcontainer::before, #bigcontainer::after {
    width: 40px;
}
.feature-wrap {
    max-width: 800px;
    margin: 0 auto;
}
}


    @media (max-width: 950px) {
.top-ttl {
    width: 30%;
}
#bigcontainer::before, #bigcontainer::after {
display: none;
}
    }

    @media (max-width: 840px) {
.top-content {
    flex-direction: column;
        gap: 20px;
            padding: 40px 20px;
}

#slideshow-container {
    width: 100%;
}
    .top-ttl {
        width: 50%;
    }
    .feature-wrap {
        padding: 0 20px;
    }


.time-list {
        padding: 15px 20px;
    }
    .time-list h3 {
        font-size: 2.2rem;
    }
    #couponitems {
        padding: 0 10px;
    }
    .offbtn a {
        font-size: 1.6rem;
        padding: 12px 20px;
    }


    .flex-at {
        flex-direction: column; /* スマホでは縦並びに戻すか、デザインを調整 */
        gap: 5px;
        align-items: center; /* 縦並び時は中央寄せ */
    }
    /* スマホで縦並びにした場合、roundを上部に中央寄せ */
    .flex-at > .round {
        margin-bottom: 5px;
        /* スマホで幅を取りすぎないように少し小さくしても良い */
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
    .flex-at > div:last-child {
        text-align: center; /* 説明文も中央寄せに */
    }

    #feature-intro p {
    line-height: 26px;
    }

    .coupon-item {
    padding: 20px 12px;
    }
}
