@charset "UTF-8";

/* ==========================================
   基本設定
========================================== */

.app-cnt {
    --app-color-main: #ff0000;
    --app-color-text: #222;
    --app-color-muted: #666;
    --app-color-line: #dedede;
    --app-color-tint: #f1f1f1;
    --app-content-width: 1120px;

    min-height: 100vh;
    color: var(--app-color-text);
}

body {
    font-family: "Arial", "Noto Sans JP", sans-serif;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.01em;
    background-color: #fff;
}

#header {
    background-color: #000;
}

.sp_br {
    display: none;
}

a.text_link {
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.link_icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    vertical-align: -1px;
}

/* コンテナ */

.app-cnt .container {
    width: min(1120px, calc(100% - 48px));
    width: min(var(--app-content-width), calc(100% - 48px));
    margin-inline: auto;
}

.app-cnt .container--narrow {
    max-width: 820px;
    margin-inline: auto;
    text-align: center;
}

/* ==========================================
   メインビジュアル
========================================== */

.main_visual {
    background-color: #f1f1f1;
    text-align: center;
}

.main_visual img {
    display: block;
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
}

/* ==========================================
   アプリの使い方
========================================== */

.app-cnt .hero {
    overflow: hidden;
    padding: 76px 0 84px;
    text-align: center;
}

.app-cnt .hero__eyebrow {
    margin: 0 0 12px;
    color: var(--app-color-main);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.app-cnt .hero h1 {
    margin: 0;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.3;
}

.app-cnt .hero__lead {
    max-width: 680px;
    margin: 22px auto 40px;
    color: var(--app-color-muted);
}

.app-cnt .hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

/* テキストリンク */

a.app_dl {
    color: var(--app-color-main);
    transition: opacity 0.3s ease;
}

a.app_dl:hover {
    opacity: 0.6;
}

/* ==========================================
   ボタン
========================================== */

.app-cnt .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 80px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* ホバー時の色変化を無効化 */
.app-cnt .button:hover {
    background-image: none !important;
    opacity: 0.82 !important;
    filter: none !important;
    transform: translateY(-1px);
}


/* ボタンごとの背景色を維持 */
.app-cnt .button--primary:hover {
    background-color: #ff0000 !important;
}

.app-cnt .button--outline:hover {
    background-color: #fff !important;
}

.app-cnt .button--dark:hover,
.app-cnt .support-brn:hover {
    background-color: #222 !important;
}

.app-cnt .button--primary {
    color: #fff;
    background-color: var(--app-color-main);
}

.app-cnt .button--outline {
    color: var(--app-color-main);
    border-color: var(--app-color-main);
    background-color: #fff;
}

.app-cnt .button--dark {
    color: #f1f1f1;
    background-color: #222;
}

/* ==========================================
   共通セクション
========================================== */

.app-cnt .section {
    padding: 88px 0;
}

.app-cnt .section--tint {
    background-color: #fff;
}

.app-cnt .section-label {
    margin: 0 0 12px;
    color: var(--app-color-main);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.app-cnt .section-title {
    margin: 0;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.4;
}

.app-cnt .section-lead {
    margin: 20px auto 0;
    color: var(--app-color-muted);
}

/* ==========================================
   STEP
========================================== */

.app-cnt .step {
    display: grid;
    grid-template-columns: 94px minmax(0, 1fr) 400px;
    align-items: center;
    column-gap: 0;
    padding: 42px 0;
    border-bottom: 1px solid var(--app-color-line);
}

.app-cnt .step:first-of-type {
    margin-top: 22px;
}

/* STEP番号 */

.app-cnt .step__number {
    align-self: start;
    margin-right: 34px;
    padding-top: 5px;
    color: var(--app-color-main);
    text-align: center;
}

.app-cnt .step__number span {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.app-cnt .step__number strong {
    display: block;
    font-size: 44px;
    line-height: 1.2;
}

/* STEP本文 */

.app-cnt .step__body {
    margin-right: 60px;
}

.app-cnt .step__body h3 {
    margin: 0 0 12px;
    font-size: 1.6em;
    line-height: 1.5;
}

.app-cnt .step__body p {
    margin: 0;
    color: var(--app-color-muted);
}

.step_txt_area {
    max-width: 520px;
}

/* STEP画像 */

.app-cnt .step__image {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 10px;
    background-color: var(--app-color-tint);
}

.app-cnt .step__image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    border-radius: 10px !important;
}

/* ==========================================
   クーポンの使い方
========================================== */

#coupons {
    background-color: #222;
}

#coupons h2,
#coupons h3 {
    color: var(--app-color-tint) !important;
}

.dark-bg_txt,
.dark-bg_txt h3,
.dark-bg_txt p {
    color: #adadad !important;
}

#coupons .step__image {
    background-color: #f0ece8;
}

/* ==========================================
   注意事項
========================================== */

.app-cnt .notice {
    margin-top: 44px;
    padding: 26px 30px;
    border-left: 4px solid var(--app-color-main);
    background-color: #fff;
}

.app-cnt .notice h4 {
    margin: 0 0 10px;
    color: #222 !important;
    font-size: 18px;
}

/* HTMLの notice_ul クラスに対応 */

.app-cnt .notice_ul {
    margin: 0;
    padding-left: 1.3em;
    list-style: none;
    color: var(--app-color-muted);
}

.app-cnt .notice_ul li {
    position: relative;
    display: block;
    padding-left: 1.2em;
    line-height: 1.8;
}

.app-cnt .notice_ul li::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "・";
}

/* ==========================================
   お問い合わせ
========================================== */

#support {
    background-color: var(--app-color-tint);
}

.app-cnt #support .button {
    margin: 28px 0;
}

.support-brn {
    background-color: #222 !important;
}

/* ==========================================
   アプリダウンロード
========================================== */

#download {
    padding: 88px 0 0;
}

.app-cnt .download__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    align-items: center;
    gap: 48px;
}

.app-cnt .download__content {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

/* ストアリンク */

.app-cnt .download__qr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
}

.app-cnt .download__qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    text-align: center;
}

/* ストアボタン */

.app-cnt .download__qr-item .button {
    display: flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin: 0 0 24px;
    padding: 10px 8px;
    white-space: nowrap;
}

/* QRコード画像 */

.app-cnt .download__qr-item img {
    display: block;
    width: 120px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 24px;
}

/* ストア説明文 */

.app-cnt .download__qr-item p {
    width: 100%;
    margin: 0;
    color: var(--app-color-muted);
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

/* QRコードの注釈 */

.download__note {
    display: inline-block;
    margin-top: 10px;
    color: var(--app-color-muted);
    font-size: 12px;
}

/* ==========================================
   はピピ
========================================== */

.hapipi {
    text-align: center;
}

.hapipi img {
    position: relative;
    top: 10px;
    display: block;
    width: 150px;
    max-width: 80%;
    height: auto;
    margin: 0 auto;
}

/* ==========================================
   共通テンプレート関連
========================================== */

footer {
    margin-top: 0 !important;
}

#notation {
    font-size: 8px;
}

/* ==========================================
   スマートフォン
========================================== */

@media screen and (max-width: 767px) {

    .pc_br {
        display: none;
    }

    /* コンテナ */

    .app-cnt {
        padding-top: 0;
    }

    .app-cnt .container {
        width: calc(100% - 36px);
    }

    /* ヒーローエリア */

    .app-cnt .hero {
        padding: 54px 0 60px;
    }

    .app-cnt .hero__lead {
        text-align: left;
    }

    .app-cnt .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    /* 共通セクション */

    .app-cnt .section {
        padding: 60px 0;
    }

    .app-cnt .container--narrow {
        text-align: left;
    }

    /* STEP */

    .app-cnt .step {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 16px;
        padding: 30px 0;
    }

    .app-cnt .step__number strong {
        font-size: 34px;
    }

    .app-cnt .step__body {
        margin-right: 0;
    }

    .app-cnt .step__image {
        grid-column: 2;
        margin-top: 8px;
    }

    .step_txt_area {
        max-width: 630px;
    }

    /* 注意事項 */

    .app-cnt .notice {
        padding: 22px 20px;
    }

    /* ダウンロード */

    #download {
        padding-top: 60px;
    }

    .app-cnt .download__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .app-cnt .download__content {
        max-width: 440px;
    }

    .app-cnt .download__qr {
        gap: 12px;
    }

    .app-cnt .download__qr-item img {
        width: 110px;
    }
}

/* ==========================================
   小型スマートフォン
========================================== */

@media screen and (max-width: 480px) {

    .sp_br {
        display: inline-block;
    }

    .main_visual {
        padding-top: 55px;
    }

    .app-cnt .support-brn {
        display: flex;
        margin: 0 auto;
        text-align: center;
    }

    .app-cnt .step__body h3 {
        margin: 0 0 12px;
        font-size: 1.3em;
        line-height: 1.5;
    }

    .hapipi img {
        width: 120px;
        margin-top: 20px;
    }
}

/* ==========================================
   アニメーションを控える設定
========================================== */

@media (prefers-reduced-motion: reduce) {

    .app-cnt *,
    .app-cnt *::before,
    .app-cnt *::after {
        transition-duration: 0.01ms !important;
    }
}