/* ==============================
   共通スタイル
============================== */

html {
    font-size: 62.5%;
    background-color: #FFF;
    scroll-behavior: smooth;
}

body {
    font-size: 1.6rem;
    line-height: 1.5;
    line-break: strict;
    word-wrap: break-word;
    overflow-wrap: break-word;
    letter-spacing: 0.1rem;
    font-feature-settings: "palt";
    position: relative;
    color: #333;
    transition: background-color 1s ease;
    font-family: "YuGothic","Noto Sans JP", sans-serif;
    font-weight: 600;
    justify-content: center;
    align-items: center;
}

.inner {
    margin: 0 auto;
    position: relative;
    /* max-width: 390px; */
    padding: 60px 16px 60px 16px;
}

.mb-20{
    margin-bottom: 20px;
}

.mb-40{
    margin-bottom: 40px;
}

.mr-4{
    margin-right: 4px;
}
.ml-4 {
    margin-left: 4px;
}

.mt-10{
    margin-top: 10px;
}

h1{
    color: #4E4637;
    font-family: "YuMincho";
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    display: inline-block;
    /* margin-bottom: 20px; */
}

h2{
    text-align: center;
    font-family: "YuMincho";
    font-size: 3.4rem;
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    margin-bottom: 30px;
}

h3{
    font-family: "YuGothic";
    margin-bottom: 20px;
    font-size: 1.8rem;
}


main {
    overflow: hidden;
}

img {
    width: 100%;
    height: auto;
}

p {
    text-align: justify;
    position: relative;
    /* margin: 20px auto; */
}

.df_row {
    display: flex;
    flex-flow: row wrap;
}



/* ==============================
   レイアウト設定
============================== */
.event-end {
    font-size: 2.4rem;
    text-align: center;
    color: #CC0000;
    text-shadow:
        -1px -1px 0 #ffffff,
        1px -1px 0 #ffffff,
        -1px 1px 0 #ffffff,
        1px 1px 0 #ffffff;
}

.p-contents {
    margin-left: auto;
    margin-right: auto;
    max-width: 440px;
    width: 100%;
}

@media screen and (min-width: 441px) {
    .p-contents {
        max-width: 390px;
    }
}

/* ==============================
   topセクション
============================== */

.hero-image {
    display: flex;
    width: 100%;
    height: 675px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.hero-image > div:first-child {
    width: 100%;
    height: 100%;
}

.hero-image > div:first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 右上固定のしまねっこ画像 */
.shimanekko-fixed {
    position: absolute;
    top: 20px;
    right: 40px;
    width: 110px;
    height: auto;
    object-fit: contain;
    z-index: 2;
}

/* スライダーコンテナ */
.slide-container {
    position: absolute;
    bottom: 100px;
    right: 15px;
    width: 200px;
    height: 200px;
    overflow: hidden;
    z-index: 10;
}

.slide-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide-image.active {
    opacity: 1;
}

h1 .line,.date {
    background: white;
    padding: 6px 10px;
    display: inline-block;
    margin-bottom: 8px;
}

/* スタンプラリーのタイトルの親要素 */
.stamp-title {
    position: relative;
    display: inline-block;
}

.btn {
    display: inline-block;
    margin: 0 auto;
    padding: 10px 1em;
    border-radius: 43px;
    color: #FFF;
    font-weight: 700;
    font-size: 1.4rem;
}

.btn_gray {
    border: 1.8px dashed #FFF;
    box-shadow: 0 0 0 4px #D9D9D9;
    background-color: #D9D9D9;
}

.btn_red{
    border: 1.8px dashed #FFF;
    box-shadow: 0 0 0 4px #E56B6F;
    background-color: #E56B6F;
}

.btn_brown {
    border: 1.8px dashed #FFF;
    box-shadow: 0 0 0 4px #BF5712;
    background-color: #BF5712;
}

.fix_btn {
    background-color: #E56B6F;
    position: fixed;
    right: 0;
    bottom: 20px;
    border-radius: 50px 0 0 50px;
    height: 68.5px;
    padding: 8px 24px;
    z-index: 98;
    display: flex;
    flex-flow: column;
    justify-content: center;
    font-size: 2rem;
    /* padding: 16px 12px 16px 20px; */
}

.fix_btn span {
    font-weight: 700;
    font-size: 1.4rem;
}

.fix_btn::after {
    border-radius: 50px 0 0 50px;
}

.btn_annotation{
    display: flex;
    flex-flow: column;
    justify-content: center;
    text-align: center;
}
.btn_annotation span{
    font-weight: normal;
    font-size: 1.2rem;
}

.btn_arrow {
    padding-right: 32px;
    /* 矢印 + 10px のスペース */
}

.btn_arrow::before {
    content: "";
    background-image: url("../images/arrow_btn.webp");
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
}

/* [class*=btn_]::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 50px;
} */

/* ==============================
   aboutセクション
============================== */

.about_section{
    background-color: #FAF8F3;
}

.introduction {
    margin-bottom: 40px;
}

.introduction h2 {
    color: #000;
    text-align: center;
    font-family: YuMincho;
    font-size: 36px;
    font-style: normal;
    font-weight: 800;
    line-height: 120%;
}

.introduction h3 {
    color: #000;
    font-family: YuGothic;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
}

/* 開催エリア一覧 */
.area-list {
    font-family: "YuMincho";
    border-radius: 12px;
    background: #fff;
    padding: 12px;
}

.area-list h2 {
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.area-list h2::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('../images/icon-pin.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 8px;
}

.area-first-item {
    margin-bottom: 12px;
}

.area-first-item h3 {
    font-family: "YuMincho";
    font-weight: 400;
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.area-first-item p {
    font-size: 1.2rem;
    margin: 0;
}

.area-first-item p+p {
    margin-bottom: 20px;
}

.area-list ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px; /* 行間16px、列間10px */
    list-style: none;
    padding: 0;
}

.area-item {
    height: 60px;
}

.area-item .city {
    font-weight: 400;
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.area-item .place {
    font-size: 1rem;
    margin: 0;
}
.banner-content{
    padding: 0 12px;
}
.banner-content-p{
    font-family: "Hina Mincho";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    text-align: center;
    margin-bottom: 20px;
}

.area-detail {
    font-family: "YuGothic";
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.area-detail .btn {
    width: 100%;
    padding: 8px 0;
    text-align: center;
}

/* ==============================
   プレゼントセクション
============================== */

.join_section{
    color: #333;
}

.pattern-bg {
    position: relative;
    background-color: #fff;
}

.pattern-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/bg-pattern-yellow.png") 0% 0% / 40px 40px repeat;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
}

.pattern-bg > * {
    position: relative;
    z-index: 1;
}

#benefits{
    font-size: 3.2rem;
    color: #333;
}
#benefits + h3{
    font-weight: 500;
}
.benefits_wrap {
    margin: 0 auto;
}

.benefits_item {
    margin-bottom: 20px;
}

.benefits_item .item_header {
    font-weight: 600;
    font-style: normal;
    background-color: #E1B659;
    font-size: 2.4rem;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    width: 100%;
    border-radius: 10px 10px 0 0;
}

.benefits_item .item_content {
    background-color: #fff;
    padding: 20px;
    border-radius: 0 0 10px 10px;
}

.item_header {
    font-size: 2rem;
    text-align: center;
    margin: 0 auto;
    color: #FFF;
}
.item_content{
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.item_ttl{
    text-align: center;
    font-size: 2.6rem;
}

.benefits_item .item_content .benefit_img {
    width: 250px;
    text-align: center;
}

hr{
    width:160px ;
    margin: 0 auto;
    height: 1px;
    background-color: #333;
}
.benefit_img img {
    /* border-radius: 10px; */
    width: 80%;
}

/* 右クリック・ドラッグ防止（iOS/Android両対応） */
.no-context-menu {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    -webkit-touch-callout: none; /* iOS: ロングタップメニューを無効化 */
    pointer-events: auto;
}

/* 特典詳細トグル */
.benefit-detail-trigger {
    cursor: pointer;
    color: #333;
    font-size: 1.6rem;
    font-weight: bold;
    display: inline-block;
    width: 100%;
}

.benefit-detail-trigger::before {
    content: "▶";
    display: inline-block;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.benefit-detail-trigger.active::before {
    transform: rotate(90deg);
}

.condition_wrap {
    flex-direction: column;
    font-size: 1.6rem;
}

.condition {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.condition-ttl {
        background-color: #E1B659;
        color: white;
        font-weight: bold;
        padding: 4px;
        border-radius: 10px;
        display: flex;
        width: auto;
        min-width: 80px;
        padding: 4px;
        justify-content: center;
        align-items: center;
        gap: 4px;
        white-space: nowrap;
    }

.condition-content {
    color: #333;
    font-size: 1.4rem;
    padding-top: 4px;
}

.benefit-notes {
    font-size: 1.4rem;
    background-color: #FFEAEA;
    color: #333;
    font-family: YuGothic;
    font-style: normal;
    font-weight: 700;
    padding: 5px;
}

.benefit-notes span {
    color: #F00;
}

.download-notes {
    font-size: 1.4rem;
}

@media (max-width: 375px) {
    .benefits_item .item_content{
        padding: 12px;
    }
}

.line-coupon{
    width: 200px;
    margin: 0 auto;
}
.toggle-wrap {
    margin: 1em 0;
}

/* クリックできるトリガー */
.toggle-trigger {
    cursor: pointer;
    color: #572A19;
    font-size: 1.6rem;
    font-weight: bold;
    display: inline-block;
}

.toggle-trigger::before {
    content: "";
    width: 12px;
    /* 矢印のサイズ */
    height: 12px;
    background-image: url("../images/triangle.svg");
    /* SVGのパス */
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    transition: transform 0.3s ease;
}

/* アクティブ状態の矢印 */
.toggle-trigger.active::before {
    transform: rotate(90deg);
}

/* 開閉するコンテンツ（最初は非表示） */
.toggle-content {
    margin-left: 1.5em;
    color: #572A19;
    font-size: 1.4rem;
    list-style: disc inside;
    display: none;
    /* ← 最初は閉じておく */
}
.toggle-content-item{
    margin-bottom: 20px;
}

/* アクティブ時のトリガー色 */
.toggle-trigger.active {
    color: #CC0000;
}

.attention{
    font-size: 1.8rem;
}

/* ==============================
howtoセクション
============================== */

.howto-section .inner{
    background-color: #375A7F;
}

.howto-section .inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/bg-pattern-blue.png") 0% 0% / 80px 80px repeat;
    opacity: 0.1;
    z-index: 0;
}

.howto-section .inner > * {
    position: relative;
    z-index: 1;
}

#howto {
    margin: 0 auto;
}

#howto h2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    justify-content: center;
    gap: 20px;
    padding: 10px;
    width: 100%;
    height: 153px;
    border-radius: 10px 10px 0 0;
    margin-bottom: 0;
    color: #000;
    background-color: #ADD8E6;
}


#howto h2 .signal_il {
    position: relative;
    /* もともと absolute だったら変更 */
    left: 0;
    /* 左の余白をなくす */
    bottom: 0;
    /* 位置調整 */
    width: 54px;
}

.howto_wrap {
    background-color: #fff;
    background-color: #fff;
    padding: 60px 32px;
    border-radius: 0 0 10px 10px;
}

.howto_wrap p {
    color: #333;
    font-size: 1.4rem;
    text-align: center;
    width: 100%;
    margin: 50px auto 10px;
}

.howto_wrap p span {
    font-size: 1.4rem;
    font-weight: normal;
}

.howto_item {
    text-align: center;
}

.howto_item h3 {
    font-family: sans-serif;
    font-weight: 700;
    color: #333;
    text-align: center;
    width: -moz-fit-content;
    width: fit-content;
    font-size: 2.6rem;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    padding-left: 10px;
    padding-right: 10px;
}

.howto_item [class*=btn_] {
    margin-top: 20px;
}

[class*=step0] {
    margin: -40px auto -70px;
}

.bottom_arrow {
    width: 60px;
    margin: 24px auto 12px;
}

/* ==============================
よくある質問セクション
============================== */

.qa_section{
    background-color: #FDF5EA;
}

.qa_section h2{
    color: #333;
    margin-bottom: 60px;
}

.qa_wrap {
    max-width: 90%;
    margin: 0 auto;
}

.qa_item {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
}

.question {
    font-size: 1.6rem;
    font-weight: bold;
    padding-left: 50px;
    padding-right: 30px;
    position: relative;
    color: #3e3a3a;
}

.question::before {
    content: "";
    background-image: url("../images/icon-question.png");
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.question::after {
    content: "";
    background-image: url("../images/arrow_question.png");
    width: 15px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    transition: all 0.5s ease;
}

.question.close::after {
    transform: translateY(-50%) rotate(180deg);
}

.answer {
    color: #3e3a3a;
    font-size: 1.4rem;
    font-weight: normal;
    margin: 0;
    margin-top: 15px;
    width: 100%;
    display: none;
}

.mail-address{
    font-family: serif;
    font-size: 1.2rem;    
}

/* ==============================
   footer
============================== */
footer {
    background-color: #4D4D4D;
    /* 背景色（ダークグレー） */
    text-align: center;
    color: #fff;
    padding: 40px 20px;
    gap: 20px;
    margin: 0 auto;
}
.footer-stamp{
    padding-bottom: 100px;
}

@media (max-width: 800px) {
    footer {
        padding-bottom: 140px;
    }
}

.footer-head{
    margin-bottom: 20px;
}
.footer-head p{
    font-size: 1.4rem;
    font-weight: normal;

}
.footer-container {
    max-width: 600px;
    margin: 0 auto;
}
footer h2{
    font-size: 2rem;
    line-height: 1.5;
}
.footer-subtitle {
    font-size: 1.4rem;
    margin-bottom: 12px;
    text-align: center;
    font-weight: normal;
}

.footer-logos {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-logos img {
    max-width: 140px;
    /* ロゴの最大幅 */
}

.footer-links {
    font-size: 1.4rem;
    margin-top: 20px;
    font-weight: normal;
}

.footer-links a {
    color: #FFF;
    text-decoration: none;
}

/* ==============================
   スタンプ台帳ページ
============================== */
.stamp-pink-bg-bottom{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 53px;
    background: url("../images/bg02-bottom.png") no-repeat center bottom;
    background-size: cover;
    z-index: 0;
}
.stamp-red-bg-bottom{
    position: absolute;
    bottom: -85px;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("../images/bg07.png") no-repeat center bottom;
    background-size: cover;
    z-index: 0;
}
/* 📌 下部固定ナビ */
.fixed-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #FBF8F1;
    /* 背景色 */
    display: flex;
    justify-content: space-between;
    /* 均等配置 */
    align-items: center;
    padding: 10px 0;
    box-shadow: 0px -10px 30px 0px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    /* 他の要素より前面 */
}

/* 📌 各メニューアイテム */
.menu-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    /* 文字色 */
    font-size: 12px;
    font-weight: bold;
}

/* 📌 アイコンのサイズ */
.menu-item img {
    width: auto;
    /* アイコンサイズ */
    height: 29px;
    margin-bottom: 4px;
}

/* 📌 クリック時のエフェクト */
.menu-item:active {
    opacity: 0.7;
}

/* ==============================
スタンプ台帳セクション
============================== */
.stampledger_section{
    background-color: #FAF8F3;
}

#stampledger{
    color: #000;
}

/* プログレスバーセクション */
.progress-section {
    background-color: #fff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 40px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.progress-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
}

.progress-count {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
}

.progress-bar-container {
    width: 100%;
    height: 16px;
    background-color: #E5E5E5;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #E56B6F 0%, #CC5056 100%);
    border-radius: 8px;
    transition: width 0.5s ease;
    width: 0%;
}

.milestone-badges {
    display: flex;
    justify-content: space-around;
    gap: 12px;
}

.milestone-badge {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #D9D9D9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.milestone-badge.achieved {
    background: linear-gradient(135deg, #E56B6F 0%, #CC5056 100%);
    box-shadow: 0 4px 8px rgba(229, 107, 111, 0.3);
}

.milestone-badge span {
    font-size: 1.2rem;
}

@media (max-width: 375px) {
    .milestone-badge {
        width: 60px;
        height: 60px;
        font-size: 1.1rem;
    }
    
    .milestone-badge span {
        font-size: 1.1rem;
    }
    
    .progress-title {
        font-size: 1.6rem;
    }
    
    .progress-count {
        font-size: 2rem;
    }
}

/* スタートスタンプ */
.first-stamp-container {
    margin-bottom: 50px;
}
.first-stamp-container .stamp-header {
    background: #E56B6F;
    color: #fff;
}
.first-stamp-container .grid-item {
    width: 50%;
    margin: 0 auto;
}

/* 簡易マップ */
.simple-map {
    margin-bottom: 20px;
}
.simple-map h3 {
    font-family: "Hina Mincho";
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 400;
    text-align: center;
}

/* エリア切り替えタブ */
.area-tabs-wrapper {
    margin-bottom: 30px;
}

.area-tabs-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.area-tabs-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.area-tabs {
    display: flex;
    gap: 12px;
    padding: 0 4px;
    min-width: min-content;
}

.area-tab {
    flex: 0 0 auto;
    padding: 16px 24px;
    color: #000;
    font-family: "Hina Mincho", "Noto Sans JP", sans-serif;
    font-size: 2rem;
    font-weight: 400;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.area-tab[data-area="hamada"] {
    background-color: #FBE9B6;
}

.area-tab[data-area="masuda"] {
    background-color: #EAB8D7;
}

.area-tab[data-area="oda"] {
    background-color: #D9E49A;
}

.area-tab[data-area="gotsu"] {
    background-color: #FFE37E;
}

.area-tab[data-area="kawamoto"] {
    background-color: #B0DED6;
}

.area-tab[data-area="misato"] {
    background-color: #C8E9C6;
}

.area-tab[data-area="onan"] {
    background-color: #ADD8E6;
}

.area-tab[data-area="tsuwano"] {
    background-color: #FCC4CD;
}

.area-tab[data-area="yoshika"] {
    background-color: #FEC8B2;
}

.area-tab.active {
    transform: scale(1.05);
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */
}

.tab-hint {
    text-align: center;
    font-size: 1.4rem;
    color: #666;
    margin-top: 8px;
    margin-bottom: 0;
}

/* エリアコンテンツの切り替え */
.area-content-wrapper {
    position: relative;
}

.area-content {
    display: none;
}

.area-content.active {
    display: block;
}


.stamp-container {
    margin-bottom: 40px;
}

.stamp-header {
    font-family: "Hina Mincho", "Noto Sans JP", sans-serif;
    font-size: 16px;
    padding: 20px 10px;
    font-weight: bold;
    background: #333;
    color: #000;
    border: none;
    border-radius: 6px 6px 0px 0px;
    text-align: center;
}

/* エリアごとの stamp-header 背景色 */
.area-content[data-area="hamada"] .stamp-header {
    background-color: #FBE9B6;
}

.area-content[data-area="masuda"] .stamp-header {
    background-color: #EAB8D7;
}

.area-content[data-area="oda"] .stamp-header {
    background-color: #D9E49A;
}

.area-content[data-area="gotsu"] .stamp-header {
    background-color: #FFE37E;
}

.area-content[data-area="kawamoto"] .stamp-header {
    background-color: #B0DED6;
}

.area-content[data-area="misato"] .stamp-header {
    background-color: #A9D3A8;
}

.area-content[data-area="onan"] .stamp-header {
    background-color: #ADD8E6;
}

.area-content[data-area="tsuwano"] .stamp-header {
    background-color: #FCC4CD;
}

.area-content[data-area="yoshika"] .stamp-header {
    background-color: #FEC8B2;
}

/* 📌 タブコンテンツ */
.tab-content {
    background: white;
    padding: 16px;
    padding: 40px 32px 30px 30px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 0px 0px 6px 6px;
}

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

.grid-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.grid-item img:first-child {
    /* width: 100%; */
    display: block;
}

/* スタンプ保有時の画像スタイル */
.stamp-owned {
    width: 90%;
    height: auto;
    border-radius: 5%;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.zoom-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 29px;
    pointer-events: none;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 3px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.grid-item .start-flag {
    position: absolute;
    top: -30px;
    /* 旗の位置を調整 */
    left: 10px;
    /* 旗の位置を調整 */
    width: 45px;
    /* 旗のサイズ調整 */
    height: auto;
    z-index: 10;
    transform-origin: bottom left;
}

.festival-img {
    width: 50%;
    margin-top: 20px;
    margin-left: auto;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

body.modal-open {
    overflow: hidden;
    /* モーダル表示時にスクロールを無効化 */
}

.modal-content {
    background: #fff;
    border-radius: 10px;
    max-width: 50%;
    max-height: 90vh;
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
}
@media (max-width: 800px) {
    .modal-content {
        max-width: 70%;
    }
}
@media (max-width: 480px) {
    .modal-content {
        max-width: 90%;
    }
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.close-modal {
    display: block;
    margin: 10px auto 0;
    border: none;
    background: none;
    font-size: 1.4rem;
    cursor: pointer;
    text-decoration: underline;
}
.icon-img{
    margin-right: 10px;
    width: 25px;
}

.modal-btn{
    display: inline-flex;
    margin: 0;
    margin-right: 5px;
    margin-left: 5px;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.modal .point_item{
    border: none;
}

.modal-content img {
    max-width: 100%;
    height: auto;
}

/* 配布ポイント */
.point {
    background-color: #fff;
}

.point-title {
    width: 100%;
    text-align: center;
    border-radius: 10px 10px 0 0;
    padding: 16px 0;
    color: #333;
    background-color: #333;
}
.point-title h2 {
    font-family: "Hina Mincho", "Noto Sans JP", sans-serif;
    font-size: 2.4rem;
    font-weight: 400;
    margin: 0;
}
.point-title h3 {
    font-family: "Hina Mincho", "Noto Sans JP", sans-serif;
    font-size: 1.6rem;
    font-weight: normal;
    margin: 0;
}

/* エリアごとの point-title 背景色 */
.area-content[data-area="hamada"] .point-title {
    background-color: #FBE9B6;
}

.area-content[data-area="masuda"] .point-title {
    background-color: #EAB8D7;
}

.area-content[data-area="oda"] .point-title {
    background-color: #D9E49A;
}

.area-content[data-area="gotsu"] .point-title {
    background-color: #FFE37E;
}

.area-content[data-area="kawamoto"] .point-title {
    background-color: #B0DED6;
}

.area-content[data-area="misato"] .point-title {
    background-color: #C8E9C6;
}

.area-content[data-area="onan"] .point-title {
    background-color: #ADD8E6;
}

.area-content[data-area="tsuwano"] .point-title {
    background-color: #FCC4CD;
}

.area-content[data-area="yoshika"] .point-title {
    background-color: #FEC8B2;
}

.point-introduction {
    margin-bottom: 40px;
}

.point-introduction p {
    font-size: 1.5rem;
    font-family: "Inter", sans-serif;
    font-weight: normal;
    margin-bottom: 20px;
}

.point_wrap {
    padding: 50px 25px;
    border-radius: 0 0 10px 10px;
}

.point-ttl{
    font-size: 2.2rem;
    font-weight: bold;
    color: #333;
    margin-top: 40px;
}

.small-text {
    font-size: 1.2rem;
    font-weight: normal;
    vertical-align: middle;
    margin-left: 5px;
}

.point_item {
    /* 縦の中央揃え */
    padding: 18px 0;
    border-bottom: 2px solid #999;
    gap: 12px;
}
.point-item-ttl{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.point_number {
    position: relative;
}

.point_number[data-number]::after {
    content: attr(data-number);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.4rem;
    font-weight: bold;
    color: #ffffff;
    z-index: 5;
    pointer-events: none;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

/* モーダル内のpoint_number専用スタイル */
#modal .point_number[data-number]::after {
    content: attr(data-number);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.4rem;
    font-weight: bold;
    color: #ffffff;
    z-index: 5;
    pointer-events: none;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.point_number img {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
}

.point_content {
    display: flex;
    flex-direction: column;
}

.point_content p {
    margin: 14px 0;
}

.venue {
    font-size: 2rem;
    font-weight: bold;
    color: #572A19;
    /* 濃い茶色 */
    line-height: 1.4;
    margin: 0;
}

.venue span {
    display: block;
    font-size: 14px;
    font-weight: normal;
    color: #572A19;
    /* 住所も同じ色 */
    margin-top: 6px;
    /* タイトルとの間隔 */
}

.point01-nft {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 中央寄せ */
    gap: 12px;
}

.stamp_img {
    margin: 24px auto;
}

.underline{
    text-decoration: underline;
}

.point-map {
    margin-top: 40px;
}

.model-course {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.model-course h2 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 120%;
    margin-bottom: 0;
    position: relative;
    text-align: left;
    padding-left: 40px;
}

.model-course h2::before {
    content: "";
    display: block;
    background-image: url("../images/icon-course.png");
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 99;
}

.model-course a {
    font-size: 1.4rem;
    text-decoration: underline;
}

/* ==============================
   アンケートセクション
============================== */
.comment-img{
    width: 130px;
    height: auto;
    margin-bottom: 12px;
}
.enquet_section h3{
    font-weight: normal;
    margin-bottom: 0;
}

.survey-note {
    font-size: 1.4rem;
    font-weight: normal;
}
/* 区切り線 */
.divider {
    width: 80px;
    height: 2px;
    background-color: #333;
    margin: 20px auto;
    border: none;
}

/* 質問 */
/* アイコンエリア */
.survey-icons {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-bottom: 20px;
}
/* 各アイコン */
.survey-icon {
    cursor: default;
    transition: all 0.2s;
    pointer-events: none;
    color: #D9D9D9;
}

.survey-icon img {
    width: 58px;
    height: 58px;
    width: 100%;
    height: auto;
}

/* 保有なし */
.survey-question {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #D9D9D9;
}

.survey-icons-description{
    text-align: center;
}

/* 保有ありで選択前（clikable） */
.survey-icon.clickable {
    cursor: pointer;
    opacity: 0.4;
    pointer-events: auto;
    color: #844622;
}

/* 保有ありで選択後（active） */
.survey-question.active {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #844622;
}

.survey-icon.active {
    opacity: 1;
}

.survey-icons-description.active {
    opacity: 1;
}


/* 選択時のエフェクト */
.survey-icon.selected {
    opacity: 1;
}

/* 有効化されたボタン */
#submit-btn.active {
    background: #E72E0C;
    color: white;
    cursor: pointer;
    border: 2px dashed white;
    opacity: 1;
    pointer-events: auto;
}

#submit-btn{
    width: 60%;
    cursor: default;
    opacity: 0.7;
    pointer-events: none;
}

/* ==============================
   特典セクション
============================== */

[id^="receive-benefit-btn"] {
    width: 90%;
    cursor: default;
    opacity: 0.7;
    pointer-events: none;
    text-align: center;
}
[id^="receive-benefit-btn"].active {
    background: #E56B6F;
    color: white;
    cursor: pointer;
    /* border: 2px dashed white; */
    opacity: 1;
    pointer-events: auto;
}

.close-coupon-modal,.close-confirm-modal {
    display: block;
    margin: 10px auto 0;
    border: none;
    background: none;
    font-size: 1.4rem;
    cursor: pointer;
    text-decoration: underline;
}

.coupon-modal-ttl,.confirm-text{
    font-size: 2rem;
    text-align: center;
    margin-bottom: 8px;
}

.coupon-modal-des,.confirm-warning{
    font-size: 1.4rem;
    text-align: center;
}

.coupon-note{
    text-align: center;
    font-size: 1.6rem;
    margin-top: 12px;
    background-color: rgb(255, 255, 0);
    display: inline-block;
    padding: 2px 2px;
    border-radius: 4px;
    color: #CC0000;
}
.coupon-btn-wrapper{
    text-align: center;
    margin: 0 auto;
    margin-bottom: 40px;
    margin-top: 40px;
}
#use-coupon-btn{
    width: 70%;
}

#confirm-yes-btn{
    width: 70%;
    margin-top: 20px;
    margin-bottom: 40px;
}

/* ==============================
   スタンプGETモーダル
============================== */
#stamp-get-modal {
    text-align: center;
}

.modal-content {
    max-width: 320px;
    padding: 20px 20px;
}

.stamp-get-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.stamp-get-img {
    width: 240px;
    height: 240px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.stamp-get-title {
    font-size: 2.0rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin: 0;
}

.stamp-get-text {
    font-size: 1.6rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin: 10px 0 0 0;
}

.close-stamp-get-modal {
    border: none;
    background: none;
    font-size: 1.6rem;
    cursor: pointer;
    text-decoration: underline;
}

.emphasis-text-wrap {
    position: relative;
    margin-bottom: 20px;
}
.limited-text-img {
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ==============================
   トグル表示機能のスタイル
============================== */

.toggle-section {
    margin-top: 15px;
}

.toggle-btn {
    background: none;
    border: none;
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    padding: 5px 0;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    font-family: "YuGothic","Noto Sans JP", sans-serif;
    position: relative;
    padding-left: 20px;
}

.toggle-btn::before {
    content: "▶";
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.toggle-btn.active::before {
    transform: rotate(90deg);
}

.toggle-btn:hover {
    color: #8B4513;
}

.detailed-info {
    display: none; /* 初期状態は非表示 */
    font-size: 1.4rem;
    line-height: 1.6;
}

.description-content {
    margin-bottom: 10px;
}

/* ==============================
   特典1画像表示モーダル
============================== */
#benefit1-image-modal {
    text-align: center;
}

.benefit1-modal-content {
    max-width: 340px;
    padding: 24px 20px;
    background: #fff;
    border-radius: 16px;
}

.benefit1-modal-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.benefit1-modal-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #E56B6F;
    margin: 0;
    text-align: center;
}

.benefit1-modal-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    /* 長押しで保存可能にする(ios) */
    -webkit-touch-callout: default;
    -webkit-user-select: auto;
    user-select: auto;
}

.benefit1-modal-guide {
    font-size: 1.6rem;
    font-weight: bold;
    color: #333;
    margin: 0;
    text-align: center;
    padding: 8px 16px;
    background-color: #FFF8E1;
    border-radius: 8px;
    border: 2px dashed #E1B659;
}

.benefit1-modal-note {
    font-size: 1.3rem;
    color: #666;
    margin: 0;
    text-align: center;
}

.close-benefit1-modal {
    width: 100%;
    max-width: 200px;
    margin-top: 8px;
    cursor: pointer;
}

/* Android用: 画像保存ボタン */
.benefit1-download-btn {
    width: 100%;
    max-width: 200px;
    padding: 12px 20px;
    font-size: 1.6rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
}

.benefit1-download-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}