/*------------------------------
  共通設定
-------------------------------- */
:root {
    --sp-width: 430px;
    /*  --sp-width: 393px; */
    --color-MV: #02501E;
    --color-bgColor: #B8394A;
    --color-bgColorG: #0B7C3A;
    --color-locationBorder: #137836;
    --color-btnOn: #000;
    --color-btnOff: #fff;
    --color-btmOffborder: #c4c4c4;
    --color-iconBK: #d9d9d9;
    --color-canvas: #efefef;
    --color-tokai: #ED6D00;
    --color-black: #000;
    --color-white: #fff;

    --V-fontSize: clamp(1.063rem, 0.21rem + 3.64vw, 1.188rem);

}


/* --------------------------------
  Layout
-------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/*iOS Safari のフォントサイズ自動調整機能off*/
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Noto Sans JP', "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic",
        "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", "Meiryo",
        "ＭＳ Ｐゴシック", "Arial", "Verdana", "sans-serif";
    font-weight: normal;
    color: var(--color-black);
    background-color: var(--color-black);
}

a {
    text-decoration: none;
    color: var(--color-black);
    margin: 0;
}

main {
    margin-top: 66px;
}

ul {
    list-style: none;
    padding-left: 0;
}

.underline {
    text-decoration: underline solid var(--color-black);
    /*iOS Safari でアンダーバー表示が適用されない挙動の対応*/
    -webkit-text-decoration: underline solid var(--color-black);
}

/*三本線ボーダー*/
path {
    /*fillはプレゼンテーション属性なので, CSSから値を指定できる*/
    fill: url(#g);
}

.underline__Three {
    margin: 0 auto;
}

svg line {
    fill: none;
}

.line1 {
    stroke: var(--color-white);
    stroke-width: 2px;
    stroke-opacity: 0.4
}

.line2 {
    stroke: var(--color-white);
    stroke-width: 2px;
    stroke-opacity: 0.4
}

.line3 {
    stroke: var(--color-white);
    stroke-width: 2px;
    stroke-opacity: 0.4
}

/* main class="page-content"
----------------------------------------------- */
.page-content {
    width: var(--sp-width);
    max-width: 430px;
    padding-top: 60px;
    min-height: calc(100vh - 150px);
    margin: auto;
    display: block;
    overflow: hidden;
    background-color: var(--color-white);
    background-size: 100%;
}

.page-content__wrapper {
    width: 94.1%;
    margin-left: auto;
    margin-right: auto;
}


/* section class="main-visual"
----------------------------------------------- */
.main-Visual {
    margin-bottom: 10px;
    position: relative;
}

.visual__image {
    width: var(--sp-width);
}

.visual__text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.5em;
    padding: 25px 0 5px 0;
    text-align: center;
}


/* コンテンツ ご注意事項 
----------------------------------------------- */
/*リスト展開後 コンテンツ背景色の指定*/
.bgcolor-white.warning-content {}

/*リスト展開 外枠を追加*/
.bgcolor-white>.warning-list {
    border: 1px solid var(--color-border);
}

/*ご注意事項ボタン*/
.warning-content {
    padding: 0 0 15px 0;
    margin: 0 auto 10px auto;
    transition: 0.5s;
}

.toggleWarning {
    cursor: pointer;
    position: relative;
}

.toggleWarning__title {
    text-indent: -3em;
    font-size: 1.25rem;
    font-weight: bold;
    margin: 5px;
    text-align: center;
    padding: 8px 0 0px 0;
}

/*icon デザイン*/
.open__icon__block {
    position: absolute;
    right: 35%;
    top: 68%;
    transform: translatey(-50%);
    width: 20px;
    height: 20px;
    background: #000;
    border-radius: 50%;
    z-index: 2;
}

.open__icon {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
}

.open__icon::before,
.open__icon::after {
    position: absolute;
    content: "";
    display: block;
    transition: all 0.3s;
    background: #fff;
    left: 50%;
    top: 50%;
    width: 50%;
    height: 2px;
    transform: translate(-50%, -50%);
}

.open__icon:before {
    transform: translate(-50%, -50%) rotate(90deg);
}

.open__icon.open::before {
    transform: translate(-50%, -50%) rotate(0deg);
}

.open__icon:before {
    transform: translate(-50%, -50%) rotate(90deg);
}

/*ご注意事項リスト デザイン*/
.warning-list {
    height: 0;
    /* ← 最初は非表示（高さ0） */
}

.warning-list {
    list-style-type: disc;
    padding-left: 20px;
    padding-right: 10px;
    overflow: hidden;
    font-size: 0.75rem;
    line-height: 1.8;
    letter-spacing: 0.05em;
    transition: height 0.3s ease;
}

.warning-list__item::marker {
    font-size: 0.7em;
}

/*ご注意事項リスト上部のスペース調整*/
.warning-list__item:first-child {
    margin-top: 2.0em;
}

/*ご注意事項リスト下部のスペース調整*/
.warning-list__item:last-child {
    margin-bottom: 0;
}

/*メインコンテンツ 共通
----------------------------------------------- */
.event {
    text-align: center;
    background-color: var(--color-bgColorG);
    margin-top: 20px;
    margin-bottom: 35px;
    position: relative;
}

.event__wrapper {
    width: 89.1%;
    margin-left: auto;
    margin-right: auto;
}

.event::after {
    position: absolute;
    content: "";
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 10px;
    background-size: cover;
    /* 横いっぱい＋縦も埋める */
    background-image: url("/view/event/windbreaker/img/01_transom_green.png");
    background-repeat: no-repeat;
}

/*  メインコンテンツ
    スタンプラリー/スタンプカード
------------------------------------------------*/
.stamp-rally-event {
    padding-top: 30px;
}

.event__font {
    color: var(--color-white);
    font-size: 1.185rem;
    /*19px*/
    font-weight: 700;
}

.stamp-rally-event__title--size {
    width: 329px;
    height: auto;
}

.stamp-rally-event__text {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 5px 0 20px 0;
}

/*スタンプカード デザイン*/
.stamp-card {
    background-color: var(--color-white);
}

.stamp-card__wrapper {
    width: 89.5%;
    padding-top: 20px;
    padding-bottom: 25px;
    margin: 0 auto;
}

.stamp-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-black);
    padding-bottom: 20px;
    position: relative;
}

/*雲左*/
.stamp-card__title::before {
    position: absolute;
    content: "";
    bottom: 23px;
    left: 40px;
    width: 42px;
    height: 17px;
    background-image: url("/view/event/windbreaker/img/01_ChineseStyleClouds01.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

/*雲右*/
.stamp-card__title::after {
    position: absolute;
    content: "";
    bottom: 23px;
    right: 42px;
    width: 39px;
    height: 17px;
    background-image: url("/view/event/windbreaker/img/01_ChineseStyleClouds01.svg");
    background-size: contain;
    background-repeat: no-repeat;
    transform: scaleX(-1);
    /* 左右反転 */
}

.stamp-card-list__wrapper {
    display: grid;
    place-items: center;
    row-gap: 0px;
    column-gap: 17px;
    grid-template-columns: repeat(3, 1fr);
    /* 横3列 */
    grid-template-rows: repeat(4, auto);
    /* 縦2行 */
    list-style: none;
    /* liの・を消す */
    padding: 0 30px;
    margin: 0;
}

.stamp-card-list__circle-item {
    text-align: center;
    /* 画像とテキストを中央寄せ */
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: var(--color-iconBK);
    width: 64px;
    height: 64px;
    margin: 0 auto;
}

.stamp-img__text {
    font-size: 0.687rem;
    font-weight: 900;
    line-height: 1.5em;
    color: var(--color-black);
    margin: 0px 0 15px 0;
}

/*はんこ取得前iconサイズ*/
.stamp-card-list__icon-size-1 {
    background-size: 26.35px;
}

.stamp-card-list__icon-size-2 {
    background-size: 32.64px;
}

.stamp-card-list__icon-size-3 {
    background-size: 48px;
}

.stamp-card-list__icon-size-4 {
    background-size: 44px;
}

.stamp-card-list__icon-size-5 {
    background-size: 41px;
}

.stamp-card-list__icon-size-6 {
    background-size: 37.5px;
}


/*コンプリート特典
--------------------------------*/
.novelty-title--wrapper {
    position: relative;
    z-index: 1;
}

.novelty__title {
    font-family: "Noto Serif JP", serif;
    font-size: 1.588rem;
    line-height: 1.2;
}

/*シャドウの作成*/
.novelty__title--shadow {
    position: absolute;
    content: "";
    inset: 0;
    z-index: -1;
    color: black;
    -webkit-text-stroke: 0.2rem black;
}

/*マーカーの設定*/
.novelty__title--marker {
    background: linear-gradient(transparent 45%,
            /* 上半分は透明 */
            rgba(0, 0, 0, 1) 55%
            /* 下半分に色を塗る */
        );
    padding: 0 0.2em 0.1em 0.2em;
    /* マーカーのはみ出し調整 */
    display: inline-block;
    z-index: 0;
}

.novelty__text {
    color: var(--color-white);
    line-height: 1.5em;
    padding-top: 15px;
    padding-bottom: 25px;
    text-align: center;
}

.event-list__item--narrow {
    padding: 5.3px 0;
}

/*オリジナルポストカード*/
/*ノベリティー画像*/
.postcard {
    background-color: var(--color-canvas);
    color: var(--color-black);
}

.postcard__wrapper {
    width: 92%;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0 auto;
    margin-bottom: 20px;
}

.postcard__title {
    font-size: 1rem;
    font-weight: 700;
    padding: 15px 0;
}

.novelty-list {
    display: flex;
    justify-content: center;
    /* 横中央寄せ */
    gap: 4%;
    /* 画像間の余白 */
    padding: 0 9%;
    margin: 0;
}

.novelty-list__item {
    flex: 1 1 auto;
    /* 画像サイズ固定 */
}

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

.novelty__note--fs12-space {
    font-size: 0.75rem;
    font-weight: 400;
    padding: 12px 0;
}

.novelty__note--fs12-space>span {
    font-size: 0.55rem;
}

/*キャンペーンボタン*/
.campaign-btn-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
}

.campaign-btn-list__wrapper {
    width: 90.34%;
    margin: 0 auto;
}

.campaign-btn {
    display: flex;
    border-radius: 6px;
    justify-content: center;
    color: var(--color-white);
    padding: 12px 0;
    border: 3px solid var(--color-black);
}

.campaign-btn__icon-size {
    width: 20px;
    height: auto;
}

.campaign-btn__icon {
    margin: auto 8px auto 0;
}

.campaign-btn__text {
    font-size: 1.125rem;
    font-weight: 700;
    padding: 15px 0;
}

.campaign-btn__inside-line {
    background-image: linear-gradient(0deg, #000000, #3a3939);
    position: relative;
    z-index: 0;
}

.campaign-btn__inside-line::before {
    content: "";
    position: absolute;
    top: 4px;
    right: 4px;
    bottom: 4px;
    left: 4px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 1;
}

/*btn-off ボタンオフデザイン
---------------------------------*/

.campaign-btn--off {
    background-color: var(--color-white);
    background-image: linear-gradient(#B2B2B2, #5B5B5B);
    border: 3px solid var(--color-btmOffborder);
    color: #bbbbbb;
}

/*btn-onの時 アイコングレー非表示*/
.btn-img--gray {
    display: none;
}

/*btn-offの時 アイコン赤非表示 グレー表示*/
.campaign-btn--off>.campaign-btn__icon>.btn-img--green {
    display: none;
}

.campaign-btn--off>.campaign-btn__icon>.btn-img--gray {
    display: block;
}


/*ノベリティー 注意事項
-------------------------------*/
/*リスト*/
.event-warning-list {
    font-size: 0.687rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    text-align: left;
    line-height: 1.7;
    padding-left: 5px;
}

.event-warning-list__wrapper {
    padding-top: 5px;
    padding-bottom: 30px;
}

.event-warning-list__item {
    position: relative;
    padding-left: 13px;
    /*リスト左スペース調整*/
    padding-right: 0;
    /*リスト右スペース調整*/
}

.event-warning-list__item::before {
    content: "※";
    position: absolute;
    left: 0.0em;
    /*ドット位置調整*/
}

/*リスト上部のスペース調整*/
.event-warning-list__item:first-child {
    margin-top: 1em;
}

/*リスト下部のスペース調整*/
.event-warning-list__item:last-child {
    margin-bottom: 0;
}


/* スタンプラリー 場所ごとのスタンプ取得ボタン
-----------------------------------------------*/
.stamp-location {
    text-align: center;
    padding-top: 5px;
    margin-bottom: 40px;
}

.stamp-location-item {
    padding-bottom: 35px;

}

.stamp-location-item__title {
    font-size: 1.75rem;
    font-weight: 900;
    padding-bottom: 20px;
}

/*位置情報ボイス ボタンデザイン*/
.location-btn {
    display: flex;
    justify-content: center;
    /* 横方向中央寄せ */
    align-items: center;
    /* 縦方向中央寄せ ← これを追加 */
    color: var(--color-black);
    background-color: var(--color-white);
    border: 3px solid var(--color-locationBorder);
    border-radius: 6px;
    padding: 10px 0;
}

.location__text {
    display: flex;
    flex: 46;
    /* 比率5 */
    justify-content: center;
    /* 中央寄せ */
    align-items: center;
    font-size: 1.1875rem;
    font-weight: 700;
    padding-left: 10px;
    letter-spacing: 0.04em;
}

.location__left-icon {
    display: flex;
    flex: 10;
    /* 比率1 */
    justify-content: flex-end;
    /* 右寄せ */
}

.btn-img--left {
    width: 22px;
}

.location__right-icon {
    display: flex;
    flex: 18;
    justify-content: flex-start;
    /* 左寄せ */
}

.location__right-icon--circle {
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: var(--color-iconBK);
    width: 64px;
    height: 64px;
    margin: 0 auto;
}

/*はんこ取得前iconサイズ*/
.location__right-icon-size-1 {
    background-size: 30px;
}

.location__right-icon-size-2 {
    background-size: 36px;
}

.location__right-icon-size-3 {
    background-size: 52px;
}

.location__right-icon-size-4 {
    background-size: 45.2px;
}

.location__right-icon-size-5 {
    background-size: 41px;
}

.location__right-icon-size-6 {
    background-size: 37.5px;
}

/*はんこ取得済iconサイズ
スタンプカード・位置情報のスタンプと共用
----------------------------------------*/
.get-stamp-icon-size-1 {
    background-size: 41.62px;
}

.get-stamp-icon-size-2 {
    background-size: 41.62px;
}

.get-stamp-icon-size-3 {
    background-size: 47.88px;
}

.get-stamp-icon-size-4 {
    background-size: 43.89px;
}

.get-stamp-icon-size-5 {
    background-size: 42px;
}

.get-stamp-icon-size-6 {
    background-size: 47.74px;
}


.stamp-location-item__text {
    font-size: 0.875rem;
    font-weight: 400;
    padding-top: 16px;
}

/*スタンプラリー リセットボタンデザイン*/
.stamp-reset {
    margin-top: 5px;
}

.stamp-reset-btn {
    margin: 0 auto;
    width: 90.3%;
    display: flex;
    justify-content: center;
    /* 横方向中央寄せ */
    align-items: center;
    /* 縦方向中央寄せ ← これを追加 */
    color: var(--color-white);
    background-color: var(--color-locationBorder);
    border-radius: 6px;
    padding: 15px 0;
}

.stamp-reset-btn__icon-size {
    width: 22px;
    height: auto;
}

.stamp-reset-btn__icon {
    margin: auto 10px auto 0;
}

.stamp-reset-btn__text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.001em;
}

.stamp-reset__text {
    margin-top: 11px;
    font-size: 0.75rem;
    font-weight: 400;
}

.stamp-reset__text>span {
    font-size: 0.55rem;
}

/* 新幹線車内コンテンツはこちら　ボタン 
----------------------------------------------- */
.stamp-rally-btm__outer {
    background: var(--color-white);
    border: 2px solid var(--color-black);
}

.btm--arrow-right::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 10px;
    width: 13px;
    height: 13px;
    margin: auto;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    z-index: 1;
}

/*背景 内枠*/
.stamp-rally-btm {
    display: flex;
    border-radius: 10px;
    justify-content: center;
    color: var(--color-white);

    border-radius: 0;
    border: 1px solid #000;
    margin: 4px;
    filter: brightness(170%);
    /*ボタンの明るさ調整*/
    background-size: 100%;
    position: relative;
    background-color: var(--color-bgColor);
}

/*雲左*/
.stamp-rally-btm::before {
    position: absolute;
    content: "";
    top: -6px;
    left: -5px;
    width: 61px;
    height: 27px;
    background-image: url("/view/event/windbreaker/img/01_ChineseStyleClouds01.svg");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    /* 画像がクリックを邪魔しないように */
    z-index: 1;
}

/*雲右*/
.stamp-rally-btm::after {
    position: absolute;
    content: "";
    bottom: -6px;
    right: -5px;
    width: 61px;
    height: 27px;
    background-image: url("/view/event/windbreaker/img/01_ChineseStyleClouds02.svg");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    /* 画像がクリックを邪魔しないように */
    z-index: 1;
}

.stamp-rally-btm__text>span {
    font-size: 1.5rem;
    letter-spacing: 0.001em;
}

.stamp-rally-btm__outer {
    background: var(--color-white);
    border: 2px solid var(--color-black);
}

.stamp-rally-btm__text {
    font-family: "Noto Serif JP", serif;
    font-size: 1.25rem;
    font-weight: 400;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.01em;
    margin: 1.7rem;
    /*-webkit-text-stroke:2px#000;*/
    color: var(--color-white);
}

/*シャドウの作成*/
.stamp-rally-btm__text--shadow {
    position: absolute;
    content: "";
    inset: 0;
    z-index: -1;
    color: black;
    -webkit-text-stroke: 0.2rem black;
}

/*新幹線車内コンテンツはこちら ボタンここまで*/


/*下のボタン*/
.btn-under {
    margin-bottom: 40px;
}

/* Modal CSS */
#askPrompt {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

#askPrompt .modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 300px;
    border-radius: 20px;
    text-align: center;
}

#askPrompt .modal-content button {
    margin-top: 20px;
    margin-right: 10px;
    margin-left: 10px;
    padding: 10px 20px;
    border: none;
    text-align: center;
    font-size: 18px;
    transition: 0.3s;
    border-radius: 10px;
    width: 100px;
}

#askPrompt .modal-content #yesBtn {
    background-color: var(--color-sub1);
    color: white;
}

#askPrompt .modal-content #yesBtn:hover {
    background-color: #eb6c00;
}

#askPrompt .modal-content #noBtn {
    background-color: gray;
    color: white;
}

#askPrompt .modal-content #noBtn:hover {
    background-color: darkgray;
}