@charset "UTF-8";

/* =========================================
   1. リセットCSS (Modern Reset)
========================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select {
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* =========================================
   2. ベース設定
========================================= */
body {
    font-family: 'M PLUS Rounded 1c', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    color: #333;
    font-weight: 500;
    background-color: #ffffff;
    background-image:
        linear-gradient(rgba(231, 231, 231, 0.8) 1px, transparent 1px),
        linear-gradient(90deg, rgba(231, 231, 231, 0.8) 1px, transparent 1px);
    background-size: 25px 25px;
    background-position: center top;
}

section {
    position: relative;
}

.placeholder-img {
    background-color: #d4e0eb;
    object-fit: cover;
    display: block;
}

/* =========================================
   3. 共通レイアウト・ユーティリティ
========================================= */
.content-width {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.pb-50 { padding-bottom: 50px; }
.pt-100 { padding-top: 100px; }
.mt-100 { margin-top: 100px; }
.mb-50 { margin-bottom: 50px; }

.bg-w { padding: 30px 0; }
.bg-blue { background-color: rgba(101, 211, 255, 0.5); padding: 30px 0; }
.bg-green { background-color: rgba(168, 217, 216, 0.5); padding: 30px 0; }

.dashed-line {
    border: none;
    border-top: 2px dashed #bce0fd;
    margin: 30px 0;
}

/* --- 文字色ユーティリティ --- */
.text-blue { color: #3795f5; }
.text-green { color: #2ea86e; }
.text-green-dark { color: #4fb4af; }
.text-black { color: #222; }
.color-green { color: #a2d131; }
.color-orange { color: #f5a623; }

/* =========================================
   4. ヘッダー・メインビジュアル
========================================= */
.top-header-wrapper {
    background: #fff;
    width: 100%;
}

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo-left, .logo-right {
    height: 45px;
    width: auto;
    max-width: 120px;
}

.main_visual {
    background: url("../assets/img/main_bg.webp") center no-repeat;
    background-size: cover;
    padding: 30px 0 60px 0;
    text-align: center;
    position: relative;
}

.main_visual img {
    margin: 0 auto;
}

.bar-wrapper {
    bottom: -2px;
    position: absolute;
    width: 100%;
}

.bar-wrapper img {
    width: 100%;
}

/* =========================================
   5. 見出し・テキスト要素
========================================= */
h1 {
    text-align: center;
    padding: 0;
    margin-bottom: 30px;
}
h1 img {
    margin: 0 auto;
    width: 100%;
}

h2 {
    margin: 5% 0;
    text-align: center;
    color: #2e97fb;
    font-weight: 900;
}
h2 img {
    margin: 10px auto 30px auto;
}
h2 p {
    font-size: 25px;
    color: #000;
    font-weight: 900;
}

.campaign-title {
    margin: 0 0 30px 0;
    padding: 0;
}
.campaign-title img {
    margin: 0 auto;
}

.campaign-period, .period-text {
    font-size: 25px;
    font-weight: 900;
    color: #111;
    margin-bottom: 15px;
}

.campaign-text {
    font-size: 18px;
    font-weight: 900;
    color: #111;
    text-align: left;
    margin-bottom: 30px;
}

.campaign-note {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-align: left;
    line-height: 1.6;
    margin-top: 20px;
}
.campaign-note.center {
    margin: 0 auto;
    text-align: center;
}

.notice-area {
    font-size: 12px;
    color: #6f6f6f;
}

.notice-area a {
    text-decoration: underline;
    color: inherit;
}
.bg-blue .notice-area { color: #4343a3; }
.bg-green .notice-area { color: #3b686a; }

/* =========================================
   6. カードコンポーネント
========================================= */
.card {
    background: #fff;
    border: 3px solid rgba(47, 139, 238, 1);
    border-radius: 20px;
    padding: 30px 60px 60px 60px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.card.green {
    background: #d8edea;
    border-color: #4fb4af;
}

.card-badge {
    position: absolute;
    top: -100px;
    left: 53%;
    transform: translateX(-53%);
    width: 400px;
    object-fit: cover;
}

.card-title {
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 5px;
}

.goods-title {
    color: #3795f5;
    font-size: 30px;
    margin: 10px 0 20px;
}

/* =========================================
   7. キャンペーン固有パーツ
========================================= */
/* --- キャラクターリスト --- */
.campaign-char-list {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    align-items: flex-end;
    gap: 20px; 
    margin-bottom: 40px;
}
.campaign-char-item {
    width: calc((100% - 40px) / 3); 
    text-align: center;
}
.campaign-char-img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}
.campaign-tokuten-img {
    width: 100%;
    height: auto;
    box-shadow: 4px 4px 0 #aee2ff;
    margin-bottom: 10px;
}
.campaign-char-cv {
    font-size: 16px;
    font-weight: 900;
    color: #000;
}

/* --- 第2弾 (カミングスーン) --- */
.relative-card {
    position: relative;
    overflow: hidden;
}
.coming-soon-boxes {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}
.coming-box {
    flex: 1;
    background-color: #a2d1cf;
    color: rgba(255, 255, 255, 0.7);
    padding: 30px 10px;
    font-weight: 900;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: keep-all;
}
.coming-soon-text {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    color: #fff;
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 2px;
    white-space: nowrap;
    pointer-events: none;
    text-shadow:
        -3px -3px 0 #ff8000, 3px -3px 0 #ff8000,
        -3px 3px 0 #ff8000, 3px 3px 0 #ff8000,
        -3px 0 0 #ff8000, 3px 0 0 #ff8000,
        0 -3px 0 #ff8000, 0 3px 0 #ff8000,
        -4px -4px 0 #ff8000, 4px -4px 0 #ff8000,
        -4px 4px 0 #ff8000, 4px 4px 0 #ff8000;
}

/* =========================================
   8. ボタン
========================================= */
.btn-wrapper {
    margin-bottom: 15px;
}
.btn-group {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.btn-offset {
    display: inline-block;
    background-color: #4285f4;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    font-size: 20px;
    padding: 18px 20px;
    border: none;
    border-radius: 0;
    box-shadow: 8px 8px 0 #aee2ff;
    transition: all 0.1s;
    text-align: center;
}
.btn-offset:hover {
    transform: translate(4px, 4px);
    box-shadow: 4px 4px 0 #aee2ff;
}

.green .btn-offset {
    background-color: #19b7a9;
    box-shadow: 8px 8px 0 #cce7d3;
}

.green .btn-offset:hover {
    box-shadow: 4px 4px 0 #cce7d3;
}

.btn-full {
    width: 100%;
}

/* グレーアウト状態 */
.btn-offset.disabled {
       background-color: #a2d1cf;
    color: rgba(255, 255, 255, 0.7);         /* 文字を薄く */
    border-color: #cccccc !important;
    pointer-events: none;                 /* クリック不可 */
    cursor: not-allowed;                  /* 禁止マークのカーソル */
    box-shadow: none !important;          /* 3D感（オフセット）を消す */
    transform: none !important;           /* 押し込み効果などを無効化 */
}

/* グレーアウト状態 */
.btn-offset.blue_disabled {
       background-color: #c4d0e0;
    color: rgba(255, 255, 255, 0.7);         /* 文字を薄く */
    border-color: #cccccc !important;
    pointer-events: none;                 /* クリック不可 */
    cursor: not-allowed;                  /* 禁止マークのカーソル */
    box-shadow: none !important;          /* 3D感（オフセット）を消す */
    transform: none !important;           /* 押し込み効果などを無効化 */
}

/* =========================================
   9. 注意事項アコーディオン（続きを読む）
========================================= */
.notes-wrapper {
    position: relative;
    max-width: 900px;
    margin: 40px auto 80px; 
}
.notes-toggle-checkbox {
    display: none;
}
.notes-box {
    background: #fff;
    border-radius: 20px;
    padding: 30px 30px 50px; 
    position: relative;
    box-shadow: 0 10px 20px rgba(47, 139, 238, 0.08);
}
.notes-summary-btn {
    cursor: pointer;
    position: absolute;
    bottom: -30px; 
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4285f4; 
    color: #fff;
    font-weight: 900;
    font-size: 20px;
    padding: 15px 50px;
    border-radius: 40px;
    box-shadow: 6px 6px 0 #aee2ff;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    z-index: 10;
    user-select: none; 
}
.notes-summary-btn:active {
    transform: translate(calc(-50% + 4px), 4px);
    box-shadow: 2px 2px 0 #aee2ff;
}
.text-collapse { display: none; }
.notes-icon { display: inline-block; margin-left: 10px; font-size: 24px; line-height: 1; transition: transform 0.3s; }
.notes-icon.rotate { transform: rotate(45deg); }

.notes-content-area {
    position: relative;
    max-height: 250px; 
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 1, 0.5, 1); 
}
.notes-content {
    font-size: 13px;
    color: #888;
    line-height: 1.8;
    text-align: left;
    font-weight: 700;
}
.notes-content p {
    margin-bottom: 8px;
    padding-left: 1.2em;
    text-indent: -1.2em;
}

.notes-content a {
    text-decoration: underline;
}

.notes-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 90%);
    pointer-events: none; 
    transition: opacity 0.3s ease;
}

.notes-toggle-checkbox:checked ~ .notes-box .notes-content-area {
    max-height: 3000px; 
}
.notes-toggle-checkbox:checked ~ .notes-box .notes-fade {
    opacity: 0; 
}
.notes-toggle-checkbox:checked ~ .notes-box .notes-summary-btn .text-expand { display: none; }
.notes-toggle-checkbox:checked ~ .notes-box .notes-summary-btn .text-collapse { display: block; }

/* =========================================
   10. 情報パネル（参加方法・引き換え場所）
========================================= */
.info-panel {
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); 
}
.panel-heading {
    color: #000;
    font-size: 32px;
    font-weight: 900;
    margin: 0 0 40px 0;
    text-align: center;
}

/* --- ステップフロー --- */
.flow-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}
.flow-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.flow-circle {
    background-color: #f6a314; 
    color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.flow-step {
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2px;
}
.flow-num {
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
}
.flow-text {
    font-size: 14px;
    font-weight: 900;
    color: #000;
    text-align: left;
    line-height: 1.6;
}

/* --- 引き換え場所 --- */
.exchange-place {
    color: #e8952b;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 30px;
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-underline-offset: 8px;
}
.exchange-desc {
    font-size: 18px;
    font-weight: 900;
    color: #000;
    margin-bottom: 15px;
}
.exchange-note {
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

/* =========================================
   11. フッター・バナー周り
========================================= */
.banner {
    background: #fff;
    padding-top: 30px;
    color: #2e97fb;
}
.banner img{
    padding-bottom: 30px;
}

.banner h3{
    color: #000;
    font-size: 16px;
    font-weight: 800;
}

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

.banner a{
    text-decoration: underline;
}

.footer {
    background: #fff;
    font-size: 10px;
    text-align: center;
    color: #b5b5b5;
    padding: 10px;
}

/* =========================================
   PC/スマホ 表示切り替えユーティリティ
========================================= */
.mbOn { display: none !important; }
.mbOff { display: block !important; }

/* =========================================
   ▼ ▼ スマホ用メディアクエリ（一括） ▼ ▼
========================================= */
@media (max-width: 768px) {
    /* --- レイアウト・ベース --- */
    .content-width { padding: 5%; }
    .mbOn { display: block !important; }
    .mbOff { display: none !important; }
    
    /* --- ヘッダー・メインビジュアル --- */
    .top-header { padding: 2% 5%; }
    .logo-left, .logo-right { height: 35px; }
    .main_visual { padding: 0%; }
    
    /* --- 見出し・テキスト --- */
    h1 { margin-bottom: 5%; }
    h2 p { font-size: 16px; }
    .campaign-period, .period-text { font-size: 16px; }

    /* --- カード --- */
    .card { padding: 5%; }
    .card-badge { top: -70px; width: 300px; }
    .goods-title { font-size: 20px; }

    .bg-w { padding: 2% 0; }
.bg-blue { background-color: rgba(101, 211, 255, 0.5); padding: 2% 0; }
.bg-green { background-color: rgba(168, 217, 216, 0.5); padding: 2% 0; }
    
    /* --- キャンペーンパーツ --- */
    .campaign-char-list { gap: 10px; }
    .campaign-char-item { width: 47%; } /* 2つ並び */
    .campaign-char-name { font-size: 18px; }
    .campaign-char-cv { font-size: 12px; }
    
    .coming-soon-boxes { flex-direction: column; gap: 10px; }
    .coming-box { padding: 20px 10px; font-size: 14px; }
    .coming-soon-text { font-size: 32px; bottom: 5%; }
    .campaign-text {font-size: 16px;}
    
    /* --- ボタン --- */
    .btn-group { flex-direction: column; gap: 10px; }
    .btn-offset { font-size: 14px; }

    /* --- 注意事項（続きを読む） --- */
    .notes-wrapper { margin: 30px auto 60px; padding: 0; }
    .notes-box { padding: 20px 20px 40px; }
    .notes-summary-btn { font-size: 16px; padding: 12px 35px; bottom: -25px; top: auto; }
    .notes-summary-btn:active { transform: translate(calc(-50% + 4px), 4px); }
    .notes-content { font-size: 11px; }
    .notes-content-area { max-height: 200px; }

    /* --- 情報パネル（参加方法・引き換え場所） --- */
    .info-panel { padding: 40px 20px; }
    .panel-heading { font-size: 26px; margin-bottom: 30px; }
    
    .flow-container { flex-wrap: wrap; justify-content: center; gap: 30px 15px; }
    .flow-item { flex: 0 0 100%; } /* スマホでは縦1列 */
    .flow-circle { width: 70px; height: 70px; }
    .flow-num { font-size: 32px; }
    .flow-text { font-size: 13px; text-align: center; }

    .exchange-place { font-size: 28px; text-underline-offset: 5px; }
    .exchange-desc { font-size: 15px; }
    .exchange-note { font-size: 12px; }
}