@charset "UTF-8";

/* ==========================================
   基本設定・リセット
   ========================================== */

body {
    font-family: "M PLUS Rounded 1c", sans-serif;
    background-color: #fefce8;
    color: #1f2937;
    line-height: 1.6;
    /* padding-bottom: 49px; */
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

.ttl-c a {
    color: #00a2d5;
}

.intro-box a{
    color: #00a2d5;
}

.grid-about a{
    color: #00a2d5;
}

.large_txt {
    font-size: 2rem;
    text-align: left;
    color: #518cff;
}

/* パターンA用（カード内）*/

.rally-intro-desc {
    padding-top: 16px;
    background: #fff5e7e3;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 5% 16px;
}

.rally-intro-ttl {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    background: #008eff;
    width: 30%;
    margin: 0px auto 5%;
    border-radius: 10px;
    padding: 2%;
}

.rally-intro-desc p {
     font-size: 1.2rem;
    font-weight: 700;
    color: #374151;
    line-height: 1.7;
    margin: 0% 10% 5%;
}

.rally-intro-desc strong {
    color: #db2777;
    /* ピンクの強調色（または #f59e0b などのアンバー色） */
    font-weight: 900;
}

.small-red {
    font-size: 13px;
    line-height: 1.2;
}

.floating-mokke {
    position: fixed;
    right: 12px;
    bottom: 30px;
    width: 65px;
    height: auto;
    z-index: 9999;
    pointer-events: none;
    /* --- スクロールで出すためのアニメーション初期設定 --- */
    opacity: 0;
    /* 最初は透明 */
    transform: translateY(50px);
    /* 最初は下へ50pxずらして隠す */
    transition: opacity 0.6s ease, transform 0.6s ease;
    /* 変化のなめらかさ */
}

/* スクロールして表示状態になったとき */

.floating-mokke.is-visible {
    opacity: 1;
    /* 不透明にする */
    transform: translateY(0);
    /* 元の位置に戻す */
}

.kabegami1 {
    position: relative;
    z-index: 1;
    background: none;
    /* デフォルト（スマホ）の画像パス変数 */
    --bg-image: url("/images/lls/croquette_bg.webp");
}

/* PC時の画像パス変数の変更 */

@media screen and (min-width: 768px) {
    .kabegami1 {
        --bg-image: url("/images/lls/croquette_bg1.webp");
    }
    .floating-mokke {
        right: 52px;
        bottom: 43px;
        width: 109px;
    }
}

/* 背景画像レイヤー */

.kabegami1::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -2;
    pointer-events: none;
    transform: translateZ(0);
}

/* オーバーレイ */

.kabegami1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 246, 230, 0.5);
    z-index: -1;
    pointer-events: none;
}

.ttl-g {
    color: #78350f;
}

/* ==========================================
   splash画面
   ========================================== */

#splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 7%, #ffffff, #85e7ff);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: splashFade 2.5s forwards;
}

.splash_item {
    width: 80%;
    max-width: 1920px;
}

/* スプラッシュ画面のアニメーション定義 */

@keyframes splashFade {
    0% {
        opacity: 1;
        visibility: visible;
    }
    /* ▼ 50%〜60%あたりからゆっくり消え始める */
    60% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

/* ==========================================
   レイアウトコンテナ
   ========================================== */

.container {
    max-width: 1000px;
    margin: 0 auto 5%;
    padding: 0 16px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 0 0 6%;
}

.bg-amber-light {
    background-color: #fffbeb;
}

.bg-amber-bg {
    background-color: #34d7ff;
}

.bg-sky-bg {
    background-color: #fcfcfce0;
    margin: 0px 0px 10%;
}

/* ==========================================
   ヘッダー
   ========================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border-bottom: 4px solid #fbbf24;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.header-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-tag {
    background-color: #ec4899;
    color: #ffffff;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
}

.logo-title {
    font-weight: 800;
    color: #78350f;
    font-size: 14px;
}

@media (min-width: 768px) {
    .logo-title {
        font-size: 16px;
    }
}

.nav-menu {
    display: none;
    gap: 24px;
    font-size: 14px;
    font-weight: 700;
    color: #78350f;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-menu a:hover {
    color: #ec4899;
}

.btn-rally-head {
    background: linear-gradient(to right, #f59e0b, #f97316);
    color: #ffffff;
    font-weight: 900;
    font-size: 12px;
    padding: 8px 16px;
    border-radius: 9999px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: filter 0.2s;
}

.btn-rally-head:hover {
    filter: brightness(1.05);
}

/* ==========================================
   【最上部】1. キービジュアル (KV)
   ========================================== */

.kv-section {
    width: 100%;
    padding-top: 60px;
}

.kv-card {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 4px solid #ffffff;
    background: linear-gradient(to top right, #38bdf8, #bae6fd, #fef3c7);
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 380px;
}

@media (min-width: 640px) {
    .kv-card {
        padding: 48px;
        min-height: 500px;
    }
}

.kv-badge-top-left {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: #f59e0b;
    color: #ffffff;
    font-weight: 900;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.kv-badge-top-right {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 9999px;
}

.kv-placeholder {
    margin: 24px 0;
    width: 100%;
    max-width: 600px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: 4px dashed #38bdf8;
    border-radius: 24px;
    padding: 24px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.kv-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 32px;
    color: #0284c7;
    margin-bottom: 12px;
}

.icon-pink {
    color: #ec4899;
}

.icon-amber {
    color: #f59e0b;
}

.icon-sky {
    color: #0284c7;
}

.icon-orange {
    color: #f97316;
}

.kv-title {
    font-size: 20px;
    font-weight: 900;
    color: #0c4a6e;
}

@media (min-width: 640px) {
    .kv-title {
        font-size: 26px;
    }
}

.kv-sub {
    font-size: 13px;
    font-weight: 700;
    color: #4b5563;
    margin-top: 8px;
}

.kv-copy-box {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 12px 24px;
    border-radius: 16px;
    border: 2px solid #fcd34d;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    max-width: 500px;
}

.copy-sub {
    color: #db2777;
    font-weight: 900;
    font-size: 12px;
}

.copy-main {
    font-size: 18px;
    font-weight: 900;
    color: #78350f;
    margin-top: 2px;
}

@media (min-width: 640px) {
    .copy-main {
        font-size: 22px;
    }
}

/* ==========================================
   2. キャンペーン概要・ロゴ関連
   ========================================== */

.overview-section {
    padding: 40px 0;
    /*    background-color: #e7e1cb;
    border-bottom: 1px solid #fde68a;
    text-align: center;*/
}

.campaign-title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-size: 22px;
    font-weight: 900;
    color: #78350f;
    margin-bottom: 16px;
}

@media (min-width: 640px) {
    .campaign-title {
        font-size: 28px;
    }
}

/* SVGロゴ画像のサイズ調整 */

.campaign-title__logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
}

@media (max-width: 599px) {
    .campaign-title__logo {
        max-width: 280px;
    }
    .campaign-title {
        width: 70%;
        margin: 5% auto 10%;
    }
}

.period-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 800;
    color: #78350f;
    font-size: 14px;
    margin-bottom: 8px;
}

.period-box {
    background-color: #fce7f3;
    color: #db2777;
    font-weight: 900;
    font-size: 20px;
    padding: 8px 24px;
    border-radius: 16px;
    display: inline-block;
    border: 2px solid #fbcfe8;
    margin-bottom: 16px;
}

@media (min-width: 640px) {
    .period-box {
        font-size: 26px;
    }
}

.intro-box {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    text-align: left;
    padding: 16px;
    border-radius: 16px;
}

.intro-box p {
    margin-bottom: 8px;
}

.intro-box p:last-child {
    margin-bottom: 0;
}

.intro-heading {
    color: #78350f;
}

/* ==========================================
   カード・共通コンポーネント
   ========================================== */

.card {
    padding: 5% 4%;
    background: #fff5e7e3;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* 1. カード自体を基準位置にする */

.card.potato-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 6rem;
}

/* 2. スマホ用の共通設定 ＆ 初期画像（potato4.webp） */

.card.potato-image::before {
    content: "";
    position: absolute;
    top: -11%;
    left: -18%;
    width: 916px;
    height: 839px;
    background-image: url(../../images/lls/potato4.webp);
    /* スマホ用 */
    background-size: 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

/* 3. カード内のテキストやロゴが画像の下に隠れないように前面に出す */

.card.potato-image > * {
    position: relative;
    z-index: 1;
}

@media only screen and (max-width: 599px) {
    .card.potato-image::before {
        background-image: url(../../images/lls/potato3.webp);
        /* PC用 */
        top: 20%;
        left: -12px;
        width: 800px;
        height: 989px;
        background-size: 52%;
        background-repeat: no-repeat;
        pointer-events: none;
        z-index: 0;
    }
}

.text-center {
    text-align: center;
}

.mb-8 {
    margin-bottom: 32px;
}

.pb-3 {
    padding-bottom: 12px;
}

.section-header {
    text-align: center;
    margin: 0% 0 6%;
}

.sub-heading {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #0284c7;
}

.main-heading {
    font-size: 24px;
    font-weight: 900;
    color: #78350f;
    margin-top: 4px;
}

@media (min-width: 640px) {
    .main-heading {
        font-size: 32px;
    }
}

.heading-line {
    width: 13rem;
    height: 4px;
    background: linear-gradient(90deg, #38bdf8, #f59e0b);
    margin: 8px auto 0;
    border-radius: 9999px;
}

.pill-badge {
    color: #ffffff;
    font-weight: 900;
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 12px;
    display: inline-block;
}

.bg-pink {
    background-color: #ec4899;
}

.bg-amber {
    background-color: #f59e0b;
}

.bg-sky {
    background-color: #0284c7;
}

.section-lead {
    color: #ffc266;
    font-weight: 700;
    font-size: 13px;
}

.text-sky-dark {
    color: #0c4a6e;
}

/* ==========================================
   3. 三島コロッケとは
   ========================================== */

.grid-about {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

@media (min-width: 768px) {
    .grid-about {
        grid-template-columns: 1fr 2fr;
    }
}

.image-placeholder {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #fde68a;
    padding: 32px;
    text-align: center;
    color: #f59e0b;
}

.image-placeholder i {
    font-size: 40px;
    margin-bottom: 8px;
}

.image-placeholder p {
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
}

.about-title {
    font-size: 18px;
    font-weight: 800;
    color: #78350f;
    border-bottom: 2px solid #fcd34d;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.about-text p {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
}

/* ==========================================
   スタンプラリーセクション 切り出しクラス
   ========================================== */

.rally-heading {
    font-size: 2rem;
    color: #ff8f00;
}

.overview-section {
    padding: 10em 0;
}

.rally-lead {
    font-size: 16px;
    font-weight: 800;
    color: #78350f;
}

.rally-card-padding {
    padding: 32px 20px;
}

.rally-card-txt1 {
    font-size: 16px;
    font-weight: 900;
    color: #1e3a8a;
    margin-bottom: 16px;
}

.rally-card-txt2 {
    font-size: 14px;
    font-weight: 800;
    color: #78350f;
    line-height: 1.8;
    margin-bottom: 20px;
}

.rally-shop-title {
    margin-bottom: 16px;
}

/* ==========================================
   4. 食べ比べラリー
   ========================================== */

.card-title {
    font-size: 18px;
    font-weight: 900;
    color: #78350f;
    margin-bottom: 24px;
}

.flex-align {
    display: flex;
    align-items: center;
    gap: 8px;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

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

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    font-size: 1.5rem;
}

@media (min-width: 640px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.step-card {
    background-color: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 16px;
    padding: 16px;
    text-align: center;
}

.step-num {
    width: 40px;
    height: 40px;
    background-color: #f59e0b;
    color: #ffffff;
    font-weight: 900;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.step-card h4 {
    font-weight: 700;
    color: #78350f;
    margin-bottom: 4px;
}

.step-card p {
    font-size: 12px;
    font-weight: 700;
    color: #4b5563;
}

.qr-area {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.qr-title {
    font-size: 14px;
    font-weight: 700;
    color: #78350f;
    margin-bottom: 12px;
}

.qr-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    /* background-color: #fffbeb; */
    padding: 16px;
    border-radius: 16px;
    /* border: 1px solid #fde68a; */
}

@media (min-width: 640px) {
    .qr-box {
        flex-direction: row;
    }
}

.qr-code {
    width: 96px;
    height: 96px;
    background-color: #ffffff;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #1f2937;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #0284c7;
    color: #ffffff;
    font-weight: 900;
    padding: 12px 24px;
    border-radius: 9999px;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #0369a1;
}

.note {
    font-size: 12px;
    color: #6b7280;
    font-weight: 700;
    margin-top: 8px;
}

/* 店舗リストのスクロールボックス */

.shop-list-scroll {
    max-height: 350px;
    /* お好みの高さに調整してください */
    overflow-y: auto;
    padding-right: 4px;
}

/* スクロールバーのデザイン（任意） */

.shop-list-scroll::-webkit-scrollbar {
    width: 6px;
}

.shop-list-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.shop-list-scroll::-webkit-scrollbar-thumb {
    background: #fcd34d;
    border-radius: 4px;
}

.header-line-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: #06C755;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    line-height: 1;
    transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(6, 199, 85, 0.3);
}

.inner_sns {
    padding: 6rem 2% 3rem;
    background: #fff5e7e3;
}

.sns_list li a {
    border-bottom: dotted 1px #8a4700;
}

@media (max-width: 599px) {
    .inner_sns {
        padding: 5rem 3.2%;
    }
}

/* ==========================================
   フッター (Footer)
   ========================================== */

.footer {
    background-color: #9d7668;
    color: #ffffff;
    text-align: center;
    padding: 0.7% 6%;
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer p {
    margin: 0;
}

@media (max-width: 599px) {
    .footer {
        padding: 2% 5% 2% 5%;
    }
}

/* ==========================================
   スマホボトム固定ナビ (Bottom Navigation)
   ========================================== */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #555555;
    font-size: 11px;
    font-weight: bold;
    flex: 1;
    height: 100%;
    transition: background-color 0.2s ease;
}

.bottom-nav a:active {
    background-color: #f0f0f0;
}

.bottom-nav i {
    font-size: 18px;
    margin-bottom: 3px;
}

/* 各アイコンのアクセントカラー */

.icon-amber {
    color: #f59e0b;
    /* 三島コロッケ風アンバー・イエロー */
}

.icon-pink {
    color: #ec4899;
    /* ステッカー用ピンク */
}

.icon-sky {
    color: #0284c7;
    /* 壁紙ラリー用スカイブルー */
}

.icon-orange {
    color: #f97316;
    /* イベント用オレンジ */
}

/* PC表示（768px以上）ではボトムナビを非表示にする */

@media screen and (min-width: 768px) {
    .bottom-nav {
        display: none;
    }
}

/* ==========================================
   波アニメーション背景設定 (#sticker-rally)
   ========================================== */

#sticker-rally {
    position: relative;
    overflow: hidden;
    padding-top: 65px;
    padding-bottom: 65px;
}

#sticker-rally .container {
    position: relative;
    z-index: 2;
}

/* ==========================================
   上部の波
   ========================================== */

#sticker-rally .sticker-rally-wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 85px;
    z-index: 1;
    pointer-events: none;
}

/* ==========================================
   下部の波
   ========================================== */

#sticker-rally .sticker-rally-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 85px;
    z-index: 1;
    pointer-events: none;
}


.sticker-rally-wave-bottom {
margin-bottom: 6rem;
}
/* ==========================================
   PC用波
   ========================================== */

.wave-pc-1 {
    fill: #35d7fe;
    animation: waveScroll 24s linear infinite;
}

.wave-pc-2 {
    fill: #35d7fe;
    opacity: 0.35;
    animation: waveScroll 36s linear infinite;
}

.wave-pc-3 {
    fill: #35d7fe;
    opacity: 0.5;
    animation: waveScroll 18s linear infinite;
}

/* ==========================================
   PCではスマホ用を非表示
   ========================================== */

.wave-sp {
    display: none;
}

/* ==========================================
   波を横に流す
   ========================================== */

@keyframes waveScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-2400px);
    }
}

/* ==========================================
   スマホ
   ========================================== */

@media screen and (max-width: 768px) {
    #sticker-rally {
        padding-top: 45px;
        padding-bottom: 45px;
    }
    #sticker-rally .sticker-rally-wave-top,
    #sticker-rally .sticker-rally-wave-bottom {
        height: 65px;
    }
    .overview-section {
        padding: 3em 0;
    }
    .wave-pc-1,
    .wave-pc-2,
    .wave-pc-3 {
        display: none;
    }
    .wave-sp {
        display: inline;
    }
    .wave-sp-1 {
        fill: #35d7fe;
        animation: waveScroll 14s linear infinite;
    }
    .wave-sp-2 {
        fill: #35d7fe;
        opacity: 0.35;
        animation: waveScroll 26s linear infinite;
    }
    .wave-sp-3 {
        fill: #35d7fe;
        opacity: 0.5;
        animation: waveScroll 9s linear infinite;
    }
    .rally-intro-ttl {
        width: 60%;
    }
}

/* ======================================
   新しい下向き波
   ====================================== */

.wave-bottom-pc-1 {
    fill: #34d7ff;
    animation: waveBottomScroll 28s linear infinite;
}

.wave-bottom-pc-2 {
    fill: #34d7ff;
    opacity: 0.35;
    animation: waveBottomScroll 42s linear infinite;
}

.wave-bottom-pc-3 {
    fill: #34d7ff;
    opacity: 0.5;
    animation: waveBottomScroll 21s linear infinite;
}

/* スマホ */

.wave-bottom-sp {
    display: none;
}

.wave-bottom-sp-1 {
    fill: #35d7fe;
    animation: waveBottomScroll 16s linear infinite;
}

.wave-bottom-sp-2 {
    fill: #35d7fe;
    opacity: 0.35;
    animation: waveBottomScroll 30s linear infinite;
}

.wave-bottom-sp-3 {
    fill: #35d7fe;
    opacity: 0.5;
    animation: waveBottomScroll 12s linear infinite;
}

/* シームレスに2400px移動 */

@keyframes waveBottomScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-2400px);
    }
}

/* スマホ */

@media screen and (max-width: 768px) {
    .wave-bottom-pc-1,
    .wave-bottom-pc-2,
    .wave-bottom-pc-3 {
        display: none;
    }
    .wave-bottom-sp {
        display: inline;
    }
}


.bg-sky {
    margin: 10% auto 5%;
}

/* ==========================================
   みしまコロッケ紹介（ドットを画像の外・下に完全に配置）
   ========================================== */

.grid-about {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* スライダー外枠 */

.about-slider-wrap {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    border: none !important;
    position: relative;
}

/* スライダー本体（画像部分のみを角丸にしてはみ出しを防ぐ） */

.about-slider {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 16px;
}

/* スライド画像設定 */

.about-slider .slick-slide img {
    width: 100% !important;
    height: 240px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 16px;
}

@media (min-width: 768px) {
    .about-slider .slick-slide img {
        height: 380px !important;
    }
}

/* 左右の「previous」「next」矢印ボタンは非表示 */

.about-slider .slick-prev,
.about-slider .slick-next {
    display: none !important;
}

/*
 * Slickのドットナビ
 * position: static に指定することで画像枠の中に重ならず、
 * 画像のすぐ下に「独立したブロック」として配置されます。
 */

.about-slider .slick-dots {
    position: static !important;
    /* absoluteを解除して画像の下に配置 */
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 16px 0 0 0 !important;
    /* 画像とドットの間の余白 */
    margin: 0 !important;
    list-style: none !important;
}

.about-slider .slick-dots li {
    margin: 0 !important;
    width: 12px !important;
    height: 12px !important;
    display: inline-block !important;
}

.about-slider .slick-dots li button {
    width: 12px !important;
    height: 12px !important;
    padding: 0 !important;
    cursor: pointer;
}

.about-slider .slick-dots li button:before {
    font-size: 10px !important;
    color: #fcd34d !important;
    opacity: 0.6 !important;
    line-height: 12px !important;
}

.about-slider .slick-dots li.slick-active button:before {
    color: #d97706 !important;
    opacity: 1 !important;
    font-size: 12px !important;
}

/* テキストエリア */

.about-text {
    width: 100%;
    max-width: 700px;
    text-align: left;
    padding: 0 8px;
    margin-top: 8px;
}

.about-title {
    font-size: 20px;
    font-weight: 900;
    color: #78350f;
    border-bottom: 3px solid #fcd34d;
    padding-bottom: 8px;
    margin-bottom: 16px;
    text-align: center;
}

.about-title_small {
    font-size: 11px;
}

@media (min-width: 768px) {
    .about-title {
        font-size: 24px;
    }
}

.about-text p {
    font-size: 14px;
    font-weight: 700;
    color: #4a3525;
    line-height: 1.8;
    margin-bottom: 12px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   ラリー登録・ログイン案内ボックス
   ========================================== */

.rally-auth-box {
    background-color: #ffffff;
    border: 2px solid #fde68a;
    /* 既存のカードに合わせたアンバー系の枠線 */
    border-radius: 9999px;
    /* 画像のような綺麗なカプセル状にする */
    padding: 24px 32px;
    margin: 24px auto;
    max-width: 700px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.rally-auth-text {
    font-size: 13px;
    font-weight: 700;
    color: #1e3a8a;
    /* 濃いブルー系のテキストカラー */
    margin-bottom: 20px;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .rally-auth-text {
        font-size: 14px;
    }
}

.rally-auth-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* 「登録する」ボタン（塗りつぶし） */

.btn-rally-register {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #1e293b;
    /* 濃い紺・ネイビー系 */
    color: #ffffff;
    font-weight: 900;
    font-size: 19px;
    padding: 12px 36px;
    border-radius: 9999px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.2s;
    text-decoration: none;
    min-width: 160px;
}

@media only screen and (max-width: 599px) {
.btn-rally-register {
    font-size: 16px;
}
}



.btn-rally-register:hover {
    background-color: #334155;
}



.btn-rally-login {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    color: #1e293b;
    font-weight: 900;
    font-size: 19px;
    padding: 12px 36px;
    border-radius: 9999px;
    border: 2px solid #1e293b;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: background-color 0.2s, color 0.2s;
    text-decoration: none;
    min-width: 160px;
}

.btn-rally-login:hover {
    background-color: #f1f5f9;
}

/* ==========================================
   スタンプラリーの流れ（グリッドレイアウト）
   ========================================== */

.flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* PCでは3列 */
    gap: 20px;
    margin-top: 24px;
    padding: 0px 10% 10%;
}

.flow-card {
    background: #ffffff;
    border-radius: 16px;
    border: 3px solid #00bfff;
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.15);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flow-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* スマホ表示（599px以下） */

@media only screen and (max-width: 599px) {
    .flow-grid {
        grid-template-columns: 1fr;
        /* スマホでは1列（縦並び）にする */
        gap: 16px;
    }
    .rally-intro-desc p {
        margin: 0% 2%;
        margin: 0% 2% 10%;
    }
    .rally-auth-box {
        background-color: #ffffff00;
        border: 0px solid #fde68a;
        /* 既存のカードに合わせたアンバー系の枠線 */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.00);
    }
}

.orange {
    color: #f5bd47;
}

.red {
    color: #cd5e76;
}

.green {
    color: #229ca0;
}

.l-column.goods-list .goods-list__inner {
    box-shadow: 0px 0px 0px 0px #ebebeb;
}

.tl_first {
    background: #fff;
}

.tl_second {
    background: #fff;
}

.tl_third {
    background: #fff;
}

.place_first,.place_second,.place_third,.place_exchange {
    padding: 3em 1em;
    margin-bottom: 5rem;
    color: #004645;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    background-size: auto auto;
    background-color: rgb(255 255 255);
    background-image: repeating-linear-gradient(135deg, transparent, #fffdfd00 0px, #fff5fb00 0px, #fff5fb00 0px);
}

.place_first {
    color: #cc9000;
    border: 2px solid #fbc13f;
}

.place_second {
    color: #880011;
    border: 2px solid #c1172c;
}

.place_third {
    border: 2px solid #0ca199;
}

.place_exchange {
    border: 2px solid #004AFF;
    color: #004aff;
}

.txt_orange {
    text-shadow: 2px 2px #8a5e00;
	font-weight: 900;
	-webkit-text-stroke: 2px #8b5e00;
}

.txt_red {
	    font-size: clamp(19px, 2.5vw, 26px);
	font-weight: 900;
    text-shadow: 2px 2px #90001f;
	-webkit-text-stroke: 2px #90001f;
}

.txt_green {
	    font-size: clamp(19px, 2.5vw, 26px);
	font-weight: 900;
    text-shadow: 2px 2px #004b4e;
	-webkit-text-stroke: 2px #004b4e;
}

.entry,.tokuten_exchange {
    font-size: 2rem;
}

.tokuten_exchange {
    color: #004AFF;
}

/* =========================================
   スタンプラリー 大タイトルのデザイン調整
========================================= */

#stamp_rally .rally-main-header {
    text-align: center;
    margin-bottom: 45px;
    /* 下の「1年生〜」との間にしっかり余白を取る */
}

/* 上部の小さなキャッチコピー */

#stamp_rally .rally-sub-catch {
    font-size: clamp(13px, 1.8vw, 16px);
    font-weight: 800;
    color: #003b5c;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}

/* 大タイトル本体（白いバッジ・プレート風） */

#stamp_rally .rally-main-header .main-heading {
    position: relative;
    display: inline-block;
    background-color: #ffffff;
    color: #003b5c;
    /* 元の text-sky-dark の濃紺を活かす */
    font-size: clamp(20px, 3.2vw, 34px);
    font-weight: 900;
    line-height: 1.4;
    padding: 16px 36px;
    border-radius: 50px;
    box-shadow: 0 6px 0 #0088cc;
    /* 立体的な水色の影 */
    letter-spacing: 0.06em;
    margin: 0 auto;
}

/* プレート内側の破線（スタンプラリーのステッチ風） */

#stamp_rally .rally-main-header .main-heading::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 2px dashed #ff9900;
    border-radius: 45px;
    pointer-events: none;
}

/* 「みしまコロッケ」部分のオレンジ強調ラベル */

#stamp_rally .croquette-badge {
    display: inline-block;
    background: linear-gradient(180deg, #ff9d00 0%, #ff7700 100%);
    color: #ffffff;
    padding: 2px 14px;
    border-radius: 25px;
    margin-right: 8px;
    box-shadow: 0 2px 0 #cc5500;
    font-size: 0.92em;
    vertical-align: baseline;
}

#tour_rally .rally-main-header {
    text-align: center;
    margin-bottom: 45px;
    /* 下の「1年生〜」との間にしっかり余白を取る */
}

/* 上部の小さなキャッチコピー */

#tour_rally .rally-sub-catch {
    font-size: clamp(13px, 1.8vw, 16px);
    font-weight: 800;
    color: #003b5c;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}

/* 大タイトル本体（白いバッジ・プレート風） */

#tour_rally .rally-main-header .main-heading {
    position: relative;
    display: inline-block;
    background-color: #ffffff;
    color: #003b5c;
    /* 元の text-sky-dark の濃紺を活かす */
    font-size: clamp(20px, 3.2vw, 34px);
    font-weight: 900;
    line-height: 1.4;
    padding: 16px 36px;
    border-radius: 50px;
    box-shadow: 0 6px 0 #0088cc;
    /* 立体的な水色の影 */
    letter-spacing: 0.06em;
    margin: 0 auto;
}

/* プレート内側の破線（スタンプラリーのステッチ風） */

#tour_rally .rally-main-header .main-heading::before {
    content: "";
    position: absolute;
    inset: 5px;
    border: 2px dashed #ff9900;
    border-radius: 45px;
    pointer-events: none;
}

/* 「みしまコロッケ」部分のオレンジ強調ラベル */

#tour_rally .croquette-badge {
    display: inline-block;
    background: linear-gradient(180deg, #ff9d00 0%, #ff7700 100%);
    color: #ffffff;
    padding: 2px 14px;
    border-radius: 25px;
    margin-right: 8px;
    box-shadow: 0 2px 0 #cc5500;
    font-size: 0.92em;
    vertical-align: baseline;
}

/* =========================================
   中タイトル（1年生ステッカーイラスト）のバランス調整
========================================= */

#sticker-rally .rally-area-header {
    text-align: center;
    margin-bottom: 24px;
}

/* 大タイトルより一回り小さくして主従関係を明確に */

#sticker-rally .rally-area-header .rally-heading {
    font-size: clamp(19px, 2.5vw, 26px);
    margin-bottom: 6px;
}

#sticker-rally .rally-area-header {
    font-size: clamp(14px, 1.8vw, 17px);
    font-weight: 700;
    color: #003b5c;
}


#tour_rally .rally-area-header {
    text-align: center;
    margin-bottom: 24px;
}

/* 大タイトルより一回り小さくして主従関係を明確に */

#tour_rally .rally-area-header .rally-heading {
    font-size: clamp(19px, 2.5vw, 26px);
    margin-bottom: 6px;
}

#tour_rally .rally-area-header {
    font-size: clamp(14px, 1.8vw, 17px);
    font-weight: 700;
    color: #003b5c;
}
/* スマホ表示（600px以下）の微調整 */

@media (max-width: 600px) {
    #stamp_rally .rally-main-header .main-heading {
        padding: 14px 22px;
        border-radius: 24px;
    }
    #stamp_rally .rally-main-header .main-heading::before {
        border-radius: 20px;
    }
    #stamp_rally .croquette-badge {
        display: block;
        /* スマホでは「みしまコロッケ」で改行すると綺麗 */
        width: fit-content;
        margin: 0 auto 6px;
    }
	
	#tour_rally .rally-main-header .main-heading {
        padding: 14px 22px;
        border-radius: 24px;
    }
    #tour_rally .rally-main-header .main-heading::before {
        border-radius: 20px;
    }
    #tour_rally .croquette-badge {
        display: block;
        /* スマホでは「みしまコロッケ」で改行すると綺麗 */
        width: fit-content;
        margin: 0 auto 6px;
    }
}

/* =========================================
   観光スポットラリー エリア＆カードデザイン（画像あり・文字拡大版）
   ========================================= */

.rally-area-group {
    background-color: #fff;
    border-radius: 24px;
    padding: 32px;
    margin-bottom: 40px;
    box-shadow: 0 8px 24px rgba(0, 119, 182, 0.08);
    backdrop-filter: blur(8px);
}

/* エリアヘッダー（1年生バッジ＋広小路駅周辺エリア） */

.rally-area-header_1, .rally-area-header_2 ,.rally-area-header_3 {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px dashed #b7b7b7;
    flex-wrap: wrap;
}

.grade-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* 学年別カラー */

.grade-badge.grade-1 {
    background-color: #fbc13f;
    border: 2px solid #b77e00;
}

.grade-badge.grade-2 {
    background: #c1172c;
    border: 2px solid  #84000f;
}

.grade-badge.grade-3 {
    background-color: #0ca19a;
    border: 2px solid #06716c;
}

.area-title-wrap {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}

.area-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #083d56;
    margin: 0;
}

.area-note {
    font-size: 1rem;
    color: #475569;
    margin: 0;
}

/* カードグリッド（PC2列、スマホ1列） */

.rally-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* 個別スポットカード */

.rally-spot-card {
    background: #ffffff;
    border: 2px solid #38bdf8;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* 左側：テキスト情報 */

.rally-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0284c7;
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-link {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0369a1;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}

.info-link:hover {
    color: #f97316;
}

.info-link i {
    font-size: 0.85rem;
}

.info-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    padding-left: 4px;
    line-height: 1.4;
}

.info-text.char-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #d97706;
}

/* 右側：壁紙サンプル画像 */

.rally-card-visual {
    width: 115px;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rally-card-visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 追加予定（Coming Soon）カード */

.rally-spot-card.is-coming-soon {
    background-color: #f1f5f9;
    border: 2px dashed #94a3b8;
    justify-content: center;
    align-items: center;
    min-height: 230px;
    box-shadow: none;
}

.coming-soon-inner {
    text-align: center;
    color: #475569;
}

.cs-badge {
    display: inline-block;
    background-color: #64748b;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    padding: 5px 18px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.cs-date {
    font-size: 1.65rem;
    font-weight: 700;
    color: #334155;
    margin: 0 0 6px;
}

.cs-status {
    font-size: 1.15rem;
    font-weight: 600;
    color: #64748b;
    margin: 0;
}

/* レスポンシブ対応（スマホ） */

@media (max-width: 768px) {
    .rally-area-group {
        padding: 24px 18px;
        border-radius: 16px;
    }
    .rally-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .rally-spot-card {
        padding: 20px 16px;
        gap: 14px;
    }
    .rally-card-visual {
        width: 95px;
    }
    .area-title {
        font-size: 1.4rem;
    }
    .info-link {
     font-size: 1.3rem;
    }
    .info-text {
     font-size: 1.3rem;
    }
    .info-text.char-name {
     font-size: 1.3rem;
    }
	.place_third, .place_exchange {
    margin: 0px 2rem 2rem
    }	
}

/* 弾数・開催期間 */
.rally-card-period {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 16px;
}

.period-badge {
    display: inline-block;
    padding: 0;
    color: #f97316;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.4;
}

.period-date {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.period-date .info-label {
    font-size: 12px;
}

.period-date .info-text {
    font-size: 15px;
    font-weight: 900;
}

.period-1 {
    color: #fbc13f;
}

.period-2 {
    color: #c1172c;
}

.period-3 {
    color: #0ca19a;
}

.line-container {
    max-width: 80rem;
    margin: 0 auto 0rem;
    padding: 1rem;
    border: solid 2px #111111;
    text-align: left;
}

/* ==========================================
   配布スケジュール
   ========================================== */

.rally-schedule-wrap {
    max-width: 80rem;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #f3dfb4;
    border-radius: 14px;
    text-align: left;
}

.rally-schedule {
    width: 100%;
    border: none;
    border-collapse: collapse;
    background: transparent;
}

.rally-schedule tr {
    border-bottom: 1px solid #f1e5d2;
}

.rally-schedule tr:last-child {
    border-bottom: none;
}


.rally-schedule .schedule-title {
    margin: 0 0 3px;
    color: #d97706;
    font-size: 14px;
    font-weight: 900;
}

.rally-schedule .schedule-date {
    margin: 0;
    color: #78350f;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.5;
}

.rally-schedule .schedule-member {
    margin: 3px 0 0;
    color: #57534e;
    font-size: 13px;
    font-weight: 600;
}

.rally-schedule .schedule-random {
    color: #d97706;
    font-weight: 900;
}

/* スマートフォン */
@media (max-width: 599px) {
    .rally-schedule-wrap {
        padding: 12px;
        border-radius: 10px;
    }

    .rally-schedule .schedule-title {
        font-size: 13px;
    }

    .rally-schedule .schedule-date {
        font-size: 14px;
    }

    .rally-schedule .schedule-member {
        font-size: 12px;
    }
}

/* 観光スポットラリー 見出し */
.spot-rally-header {
    text-align: center;
    margin-bottom: 36px;
    padding: 0 16px;
}

.spot-rally-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 20px;
    border-radius: 30px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.spot-rally-heading {
    position: relative;
    margin: 0 auto;
    padding-bottom: 18px;
    color: #075985;
    font-size: clamp(25px, 4vw, 36px);
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.spot-rally-heading::after {
    content: "";
    display: block;
    width: 64px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 4px;
    background: #38bdf8;
}

.spot-rally-lead {
    margin: 12px auto 0;
    color: #0369a1;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.8;
}

@media (max-width: 599px) {
    .spot-rally-header {
        margin-bottom: 28px;
        padding: 0 12px;
    }
    .spot-rally-badge {
        margin-bottom: 14px;
        padding: 6px 16px;
        font-size: 12px;
    }
    .spot-rally-heading {
        padding-bottom: 14px;
        font-size: 25px;
    }
    .spot-rally-heading::after {
        width: 48px;
        height: 3px;
        margin-top: 11px;
    }
    .spot-rally-lead {
        margin-top: 10px;
        font-size: 13px;
    }
}

/* ==========================================
   ② 観光スポットラリー メインタイトル
   ========================================== */

.spot-rally-main-header {
    text-align: center;
    margin: 0 auto 45px;
    padding: 0 16px;
}

.spot-rally-sub-catch {
    margin-bottom: 12px;
    color: #075985;
    font-size: clamp(13px, 1.8vw, 16px);
    font-weight: 900;
    letter-spacing: 0.1em;
}

/* メインタイトル */
.spot-rally-main-title {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    padding: 18px 36px;
    border-radius: 50px;
    background: #ffffff;
    color: #075985;
    font-size: clamp(22px, 3.2vw, 36px);
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 0 #0284c7;
}

/* 内側の点線 */
.spot-rally-main-title::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 2px dashed #f59e0b;
    border-radius: 42px;
    pointer-events: none;
}

/* ②の番号・キャッチ部分 */
.spot-rally-number {
    display: inline-block;
    margin-bottom: 3px;
    padding: 2px 16px;
    border-radius: 30px;
    background: linear-gradient(180deg, #0084c7 0%, #006da4 100%);
    color: #ffffff;
    font-size: 0.78em;
    line-height: 1.6;
}

/* 説明文 */
.spot-rally-lead {
    margin: 18px auto 0;
    color: #075985;
    font-size: clamp(14px, 1.8vw, 17px);
    font-weight: 900;
    line-height: 1.8;
}

/* スマートフォン */
@media (max-width: 600px) {
    .spot-rally-main-header {
        margin-bottom: 32px;
        padding: 0 10px;
    }
    .spot-rally-sub-catch {
        margin-bottom: 10px;
        font-size: 12px;
        letter-spacing: 0.04em;
    }
    .spot-rally-main-title {
        padding: 15px 20px;
        border-radius: 24px;
        font-size: 24px;
        line-height: 1.5;
        box-shadow: 0 5px 0 #0284c7;
    }
    .spot-rally-main-title::before {
        inset: 5px;
        border-radius: 19px;
    }
    .spot-rally-number {
        margin-bottom: 5px;
        padding: 2px 12px;
        font-size: 0.75em;
    }
    .spot-rally-lead {
        margin-top: 15px;
        font-size: 13px;
    }
}



.first_title{
    margin: 0 0 1rem;
    font-size: 1rem;
    color: #000;
    text-align: center;
}

/* ==========================================
   キャンペーン概要カード（PC・スマホ両対応版）
   ========================================== */
.sp-only {
    display: inline;
}

.pc-hide {
    display: inline;
}

@media (min-width: 768px) {
    .sp-only {
        display: none;
    }
    .pc-hide {
        display: none; /* PCでは一文で綺麗に繋げる */
    }
}

.period-box {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background-color: #ffffff;
    border: 3px solid #fde68a;
    border-radius: 20px;
    padding: 22px 16px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
    .period-box {
        padding: 40px 48px;
        border-radius: 28px;
    }
}

.overview-lead-txt {
    font-size: 13px;
    font-weight: 800;
    color: #4a3525;
    margin-bottom: 20px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .overview-lead-txt {
        font-size: 17px;
        margin-bottom: 28px;
    }
}

/* ラリー案内部分：スマホは縦並び、PCは左右2カラムに自動切り替え */
.overview-rally-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 22px;
    background: #fffbf0;
    border: 2px dashed #fcd34d;
    border-radius: 16px;
    padding: 16px 12px;
}

@media (min-width: 768px) {
    .overview-rally-grid {
        flex-direction: row;
        justify-content: space-around;
        align-items: stretch;
        gap: 24px;
        padding: 28px 24px;
        border-radius: 20px;
    }
}

.overview-rally-item {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.overview-sub-catch {
    display: inline-block;
    color: #0284c7;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 6px;
    letter-spacing: 0.04em;
}

@media (min-width: 768px) {
    .overview-sub-catch {
        font-size: 14px;
        margin-bottom: 8px;
    }
}

/* タイトルとバッジのレイアウト */
.overview-title-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 900;
    color: #2563eb;
    line-height: 1.35;
    text-align: left;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .overview-title-main {
        font-size: 20px;
        gap: 10px;
        text-align: center;
    }
}

/* 丸数字バッジ */
.overview-title-main .num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background-color: #2563eb;
    color: #ffffff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

@media (min-width: 768px) {
    .overview-title-main .num-badge {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }
}

/* 開催期間の装飾 */
.overview-date-wrap {
    margin-bottom: 14px;
}

.overview-date {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background-color: #fce7f3;
    color: #db2777;
    font-size: 15px;
    font-weight: 900;
    padding: 10px 18px;
    border-radius: 14px;
    border: 2px solid #fbcfe8;
    line-height: 1.3;
    box-shadow: 0 2px 6px rgba(219, 39, 119, 0.1);
}

@media (min-width: 768px) {
    .overview-date {
        flex-direction: row;
        gap: 10px;
        font-size: 22px;
        padding: 12px 32px;
        border-radius: 16px;
    }
}

.date-chunk {
    white-space: nowrap;
}

.small-red {
    font-size: 11px;
    line-height: 1.4;
    color: #e11d48;
    font-weight: 700;
    display: block;
}

@media (min-width: 768px) {
    .small-red {
        font-size: 13px;
    }
}

/* ==========================================
   波の上下の隙間（余白）を詰める調整
   ========================================== */

.stamp_rally,.tour_rally {
    position: relative;
    padding-bottom: 0 !important;
}

/* 波SVG自体のレイアウト調整（絶対配置がもしずれている場合の対策） */
.sticker-rally-wave-top {
    position: relative; /* または absolute にして位置を微調整 */
    display: block;
    width: 100%;
    height: 65px; /* スマホ時の高さに合わせて調整 */
    margin-bottom: -2px; /* わずかな隙間を相殺するためのマイナス余白 */
    pointer-events: none;
}

@media screen and (min-width: 768px) {
    .sticker-rally-wave-top {
        height: 85px; /* PC時の高さ */
    }
}

/* そのすぐ下にある #sticker-rally セクションの上の余白を詰める */
#sticker-rally {
    padding-top: 20px !important; /* 必要に応じて狭くする */
    margin-top: 0 !important;
}

/* ==========================================
   お問い合わせセクション（コピーボタン付き）
   ========================================== */
.contact-card {
    padding: 32px 20px;
    border-radius: 20px;
}

@media (min-width: 768px) {
    .contact-card {
        padding: 40px;
        border-radius: 24px;
    }
}

.contact-title {
    font-size: 18px;
    font-weight: 900;
    color: #78350f;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@media (min-width: 768px) {
    .contact-title {
        font-size: 22px;
    }
}

.contact-desc {
    font-size: 13px;
    font-weight: 700;
    color: #4b5563;
    margin-bottom: 20px;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .contact-desc {
        font-size: 15px;
    }
}

/* コピーエリア全体のボックス */
.contact-copy-area {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background-color: #fefce8;
    border: 2px dashed #fcd34d;
    border-radius: 16px;
    padding: 16px 24px;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .contact-copy-area {
        flex-direction: row;
        gap: 20px;
        padding: 14px 28px;
    }
}


.contact-mail-link {
    font-size: 15px;
    font-weight: 900;
    color: #0284c7;
    text-decoration: none;
    word-break: break-all;
}

@media (min-width: 768px) {
    .contact-mail-link {
        font-size: 18px;
    }
}


/* コピーボタン */
.contact-copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: #0284c7;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    padding: 8px 18px;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.contact-copy-btn:hover {
    background-color: #0369a1;
}

.contact-copy-btn:active {
    transform: scale(0.96);
}

/* コピー完了時のメッセージ */
.copy-success-msg {
    font-size: 12px;
    font-weight: 700;
    color: #16a34a;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    height: 0;
    overflow: hidden;
}

.copy-success-msg.is-show {
    opacity: 1;
    height: auto;
}

.info_section {
    padding: 0;
    margin: 3% auto 3%;
}

.about-text {
    width: 100%;
    max-width: 700px;
    text-align: left;
    padding: 0 8px;
    margin-top: 8px;
    word-break: break-all; /* 追加 */
}

.rally-lead_large{
    font-size: clamp(19px, 2.5vw, 26px);
    font-weight: 900;
    color: #ff9900;
    -webkit-text-stroke: 1px #780000;
}
/* ==========================================
   三島周遊ラリー：背景のみデザイン
   エリア内のデザイン・レイアウトは変更しない
   ========================================== */

#wallpaper-rally {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background:
        radial-gradient(
            ellipse at 5% 10%,
            rgba(255,255,255,.9),
            transparent 35%
        ),
        radial-gradient(
            ellipse at 95% 85%,
            rgba(173,216,195,.3),
            transparent 38%
        ),
        linear-gradient(
            140deg,
            #f8f5e9 0%,
            #edf3e8 50%,
            #e5f0ed 100%
        );
}

/* 地形図をイメージした等高線 */
#wallpaper-rally::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    background:
        repeating-radial-gradient(
            ellipse at 0% 15%,
            transparent 0 35px,
            rgba(84,125,104,.10) 36px 37px,
            transparent 38px 70px
        ),
        repeating-radial-gradient(
            ellipse at 100% 80%,
            transparent 0 45px,
            rgba(84,125,104,.08) 46px 47px,
            transparent 48px 85px
        );
}

/* 周遊ルートをイメージした曲線 */
#wallpaper-rally::after {
    content: "";
    position: absolute;
    top: 10%;
    left: 12%;
    width: 76%;
    height: 80%;
    z-index: 0;
    pointer-events: none;

    border: 3px dashed rgba(84,125,104,.18);
    border-radius: 45% 55% 60% 40%;
    transform: rotate(-12deg);
}

/* 背景装飾よりコンテンツを前面に */
#wallpaper-rally > .container {
    position: relative;
    z-index: 1;
}

/* スマートフォン */
@media (max-width: 768px) {
    #wallpaper-rally::after {
        left: 5%;
        width: 90%;
        border-width: 2px;
    }
}
