/* 申込方法比較表セクション */
.compare h3 {
    text-align: center;
    font-size: 28px;
    margin-top: 50px;
}

.compare .contents {
    padding-top: 24px;
    text-align: left;
}

/* 比較グリッド（1表：ヘッダー行＋5行。2行目以降は店舗・はがき列を結合） */
.compare-table {
    margin: 0 auto 48px;
    max-width: 100%;
}

.compare-table--application {
    --compare-rail-col-width: 128px;
}

.compare-table__grid--unified {
    display: grid;
    grid-template-columns: var(--compare-rail-col-width) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: repeat(6, auto);
    gap: 1px;
    overflow: hidden;
    border: 1px solid #EE3823;
    border-radius: 4px;
    box-sizing: border-box;
    background: #EE3823;
}

.compare-table__rail-spacer {
    grid-column: 1;
    grid-row: 1;
    background: #EE3823;
    min-height: 52px;
    box-sizing: border-box;
}

.compare-table__rail {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ffa499;
    color: #fff;
    font-weight: bold;
    font-size: 2rem;
    line-height: 1.4;
    padding: 12px 8px;
    box-sizing: border-box;
    border: none;
}

.compare-table__rail--label-app {
    grid-column: 1;
    grid-row: 2;
}

.compare-table__rail--label-result {
    grid-column: 1;
    grid-row: 3;
}

.compare-table__rail--label-purchase {
    grid-column: 1;
    grid-row: 4;
}

.compare-table__rail--label-payment {
    grid-column: 1;
    grid-row: 5;
}

.compare-table__rail--label-usage {
    grid-column: 1;
    grid-row: 6;
}

.compare-table__head {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ee3823;
    color: #fff;
    font-weight: bold;
    font-size: 2rem;
    line-height: 1.35;
    padding: 14px 10px;
    box-sizing: border-box;
    border: none;
}

.compare-table__head--1 {
    grid-column: 2;
    grid-row: 1;
}

.compare-table__head--2 {
    grid-column: 3;
    grid-row: 1;
}

.compare-table__head--3 {
    grid-column: 4;
    grid-row: 1;
}

.compare-table__cell {
    background: #fff;
    color: #222;
    padding: 16px 12px;
    box-sizing: border-box;
    border: none;
}

.compare-table__cell--app-1 {
    grid-column: 2;
    grid-row: 2;
}

.compare-table__cell--app-2 {
    grid-column: 3;
    grid-row: 2;
}

.compare-table__cell--app-3 {
    grid-column: 4;
    grid-row: 2;
}

.compare-table__cell--result-web {
    grid-column: 2;
    grid-row: 3;
}

.compare-table__cell--result-merged {
    grid-column: 3 / 5;
    grid-row: 3;
}

.compare-table__cell--purchase-web {
    grid-column: 2;
    grid-row: 4;
}

.compare-table__cell--purchase-merged {
    grid-column: 3 / 5;
    grid-row: 4;
}

.compare-table__cell--payment-web {
    grid-column: 2;
    grid-row: 5;
}

.compare-table__cell--payment-merged {
    grid-column: 3 / 5;
    grid-row: 5;
}

.compare-table__cell--usage-web {
    grid-column: 2;
    grid-row: 6;
}

.compare-table__cell--usage-merged {
    grid-column: 3 / 5;
    grid-row: 6;
}

.compare-table__cell-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.compare-table__illust {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
}

.compare-table__lead {
    margin: 0;
    font-size: 1.7rem;
    font-weight: bold;
    line-height: 1.45;
}

.compare-table__note {
    margin: 0;
    width: 100%;
    max-width: 280px;
    padding: 15px 17px;
    background: #f0f0f0;
    border-radius: 8px;
    font-size: 1.6rem;
    line-height: 1.5;
    text-align: left;
    box-sizing: border-box;
}

.compare-table__note--block {
    text-align: left;
}

.compare-table__note-title {
    margin: 0 0 6px;
    font-size: 1.6rem;
    font-weight: bold;
}

.compare-table__note-list {
    margin: 0;
    padding-left: 1.2em;
    font-size: 1.6rem;
    line-height: 1.55;
}

.compare-table__note-list li {
    margin: 0.2em 0;
    list-style: disc;
}

.compare-table__note-list--nobullet {
    list-style: none;
    padding-left: 0;
}

.compare-table__note-list--nobullet li {
    list-style: none;
}

.compare-table__cell-inner--payment-detail {
    align-items: stretch;
    text-align: left;
    max-width: 100%;
}

.compare-table__cell-inner--payment-detail .compare-table__illust {
    align-self: center;
}

.compare-table__pay-tag {
    margin: 0;
    width: 100%;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.45;
    text-align: center;
}

.compare-table__pay-line {
    margin: 0;
    width: 100%;
    font-size: 1.6rem;
    line-height: 1.5;
    text-align: center;
}

.compare-table__note--fine {
    width: 100%;
    max-width: none;
    font-size: 1.2rem;
    line-height: 1.55;
    color: #333;
}

.compare-table__cell-inner--result {
    align-items: center;
}

.compare-table__result-icon {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
}

.compare-table__fine {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.55;
    color: #333;
    width: 100%;
    max-width: 320px;
}

@media screen and (max-width: 1024px) {
    .compare-table--application {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .compare-table__grid--unified {
        min-width: 720px;
    }
}

@media screen and (max-width: 768px) {
    .compare h3 {
        font-size: 20px;
    }

    .compare-table__illust {
        max-width: 200px;
    }

    .compare-table__note {
        max-width: 100%;
    }

    .compare-table__fine {
        max-width: 100%;
    }
}

/* 申込方法案内：タブ＋ナビ */
.application {
    margin-top: 40px;
}

.application .contents {
    padding-top: 0;
    text-align: left;
}

.application-switch {
    position: relative;
    max-width: 100%;
}

.application-tabs__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.application-tabs {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.application-tabs__tab {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    padding: 14px 10px;
    box-sizing: border-box;
    text-align: center;
    font-weight: bold;
    font-size: 2rem;
    line-height: 1.35;
    color: #555;
    background: #e8e8e8;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.application-tabs__tab:hover {
    opacity: 0.92;
}

.application-tabs__tab:focus-visible {
    outline: 2px solid #ee3823;
    outline-offset: 2px;
}

.application-nav__item:focus-visible {
    outline: 2px solid #ee3823;
    outline-offset: -2px;
}

#app-tab-web:checked ~ .application-switch .application-tabs .application-tabs__tab--1,
#app-tab-shop:checked ~ .application-switch .application-tabs .application-tabs__tab--2,
#app-tab-hagaki:checked ~ .application-switch .application-tabs .application-tabs__tab--3 {
    background: #ee3823;
    color: #fff;
}

/* 申込タブに応じたブロック表示切替（ラジオは .contents 直下） */
#app-tab-web:checked ~ .application-apply .application-tabpanel--shop-hagaki-only,
#app-tab-web:checked ~ .application-notice .application-tabpanel--shop-hagaki-only,
#app-tab-web:checked ~ .application-purchase .application-tabpanel--shop-hagaki-only,
#app-tab-web:checked ~ .application-usage .application-tabpanel--shop-hagaki-only,
#app-tab-web:checked ~ .application-apply .application-tabpanel--hagaki-only {
    display: none !important;
}

#app-tab-shop:checked ~ .application-apply .application-tabpanel--web-only,
#app-tab-shop:checked ~ .application-notice .application-tabpanel--web-only,
#app-tab-shop:checked ~ .application-purchase .application-tabpanel--web-only,
#app-tab-shop:checked ~ .application-usage .application-tabpanel--web-only,
#app-tab-shop:checked ~ .application-apply .application-tabpanel--hagaki-only {
    display: none !important;
}

/* はがき申込み：WEB決済型向け（web-only / web-shop）を非表示 */
#app-tab-hagaki:checked ~ .application-apply .application-tabpanel--web-only,
#app-tab-hagaki:checked ~ .application-notice .application-tabpanel--web-only,
#app-tab-hagaki:checked ~ .application-purchase .application-tabpanel--web-only,
#app-tab-hagaki:checked ~ .application-usage .application-tabpanel--web-only,
#app-tab-hagaki:checked ~ .application-apply .application-tabpanel--web-shop {
    display: none !important;
}

/* はがき申込み：はがき手順・店舗／はがき向けコンテンツを表示 */
#app-tab-hagaki:checked ~ .application-apply .application-tabpanel--hagaki-only,
#app-tab-hagaki:checked ~ .application-apply .application-tabpanel--shop-hagaki-only,
#app-tab-hagaki:checked ~ .application-notice .application-tabpanel--shop-hagaki-only,
#app-tab-hagaki:checked ~ .application-purchase .application-tabpanel--shop-hagaki-only,
#app-tab-hagaki:checked ~ .application-usage .application-tabpanel--shop-hagaki-only {
    display: block !important;
}

.application-tabs__rule {
    height: 4px;
    background: #ee3823;
    width: 100%;
}

.application-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 0;
    background: #fff;
    margin-top: 40px;
}

.application-nav__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 0;
    margin: 0 15px;
    box-sizing: border-box;
    font-size: 1.8rem;
    font-weight: bold;
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid #d8d8d8;
    transition: opacity 0.15s;
}

.application-nav__item:hover {
    opacity: 0.65;
}

.application-nav__text {
    text-align: left;
}

.application-nav__chev {
    flex-shrink: 0;
    font-size: 1.6rem;
    color: #ee3823;
}

.application-nav__item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.application-nav__item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.application-nav__item:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}

.application-nav__item:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
}

@media screen and (max-width: 768px) {
    .application-tabs {
        flex-wrap: nowrap;
        gap: 4px;
    }

    .application-tabs__tab {
        flex: 1 1 0;
        min-width: 0;
        padding: 10px 6px;
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .application-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto auto;
        margin-top: 10px;
    }

    .application-nav__item:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .application-nav__item:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .application-nav__item:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }

    .application-nav__item:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }
}

/* 申込みコンテンツ（ナビ下） */
.application-apply {
    margin-top: 48px;
    width: 100%;
}

.application-apply__page-head {
    display: flex;
    align-items: stretch;
    width: 100%;
    margin-bottom: 28px;
    background: #FFF1EE;
    border-radius: 0;
}

.application-apply__page-head-bar {
    width: 10px;
    flex-shrink: 0;
    background: #ee3823;
}

.application-apply__page-head-title {
    display: flex;
    align-items: center;
    margin: 0;
    flex: 1;
    align-self: stretch;
    padding: 18px 20px 15px;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #231815;
    /* 1行見出し：行ボックスを詰めて flex 中央と視覚重心のズレを減らす */
    line-height: 1.15;
    /* 日本語フォントのベースライン由来でわずかに上に見える場合の視覚補正 */
    transform: translateY(0.06em);
}

.application-apply__block {
    margin-top: 32px;
}

.application-apply__block:first-of-type {
    margin-top: 0;
}

.application-apply__heading {
    margin: 50px 0 10px;
    font-size: 2.5rem;
    font-weight: 700;
    color: #231815;
    line-height: 1.3;
}

.application-apply__heading-mark {
    color: #EE3823;
}

.application-apply__rule {
    width: 100%;
    height: 2px;
    margin: 0 0 20px;
    background: #d0d0d0;
}

.application-apply__period-inner {
    width: 100%;
    display: flex;
    justify-content: center;
}

.application-apply__period-date {
    text-align: center;
}

.application-apply__period-note {
    font-size: 2.5rem;
    margin-top: 30px;
}

/* 申込ページ：WEB決済型／店舗決済型の購入申し込みボタン */
.apply-cta-buttons {
    margin-top: 100px;
    text-align: center;
    padding-bottom: 50px;
}

.apply-cta-buttons__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 16px 20px;
}

.apply-cta-buttons__link {
    display: block;
    flex: 1 1 260px;
    max-width: 440px;
    line-height: 0;
    text-decoration: none;
}

.apply-cta-buttons__link_gray:hover {
    opacity: 1;
}

.apply-cta-buttons__link:focus-visible {
    outline: 2px solid #ee3823;
    outline-offset: 4px;
    border-radius: 10px;
}

.apply-cta-buttons__link img {
    display: block;
    width: 100%;
    height: auto;
}

.apply-cta-buttons__note {
    margin: 16px 0 0;
    font-size: 1.5rem;
    line-height: 1.5;
    color: #231815;
    text-align: center;
}

@media screen and (max-width: 687px) {
    .apply-cta-buttons {
        margin-top: 32px;
        padding-bottom: 0;
    }

    .apply-cta-buttons__link {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .apply-cta-buttons__note {
        font-size: 1.35rem;
    }
}

.application-apply__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
}

.application-apply__step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 20px 30px;
    margin: 0;
    border-bottom: 1px solid #b0b0b0;
    box-sizing: border-box;
}

.application-apply__step:last-child {
    border-bottom: none;
}

.application-apply__step-num {
    flex-shrink: 0;
    min-width: 1.1em;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #EE3823;
}

.application-apply__step-body {
    flex: 1;
    min-width: 0;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.7;
    color: #231815;
    text-align: left;
}

/* はがき申込み手順（2カラム） */
.application-apply__postcard-app {
    margin-top: 0;
    padding: 28px 20px 32px;
    background: #f1f1f1;
    border-radius: 10px;
    box-sizing: border-box;
}

.application-apply__postcard-app-inner {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 12px 20px;
}

.application-apply__postcard-app-step {
    flex: 1 1 0;
    min-width: 0;
    max-width: 420px;
}

.application-apply__postcard-app-head {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px 14px;
    margin-bottom: 14px;
}

.application-apply__postcard-app-num {
    flex-shrink: 0;
    font-family: 'Roboto', sans-serif;
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    font-weight: 700;
    line-height: 1;
    color: #f04e30;
}

.application-apply__postcard-app-title {
    margin: 0 0 8px;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.4;
    color: #231815;
}

.application-apply__postcard-app-note {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.55;
    color: #231815;
}

.application-apply__postcard-app-card {
    padding: 14px 12px;
    background: #fff;
    border-radius: 12px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.application-apply__postcard-app-card img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
}

.application-apply__postcard-app-arrow.picsmallbloc {
    flex: 0 0 auto;
    align-self: center;
    width: 40px;
    min-height: 60px;
    position: relative;
}

.application-apply__postcard-app-arrow.picsmallbloc .small-triangle {
    top: 0;
    right: 0;
    bottom: 0;
    left: -5px;
    margin: auto;
}

@media screen and (max-width: 687px) {
    .application-apply__postcard-app {
        padding: 22px 14px 26px;
    }

    .application-apply__postcard-app-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .application-apply__postcard-app-step {
        max-width: 100%;
    }

    .application-apply__postcard-app-arrow.picsmallbloc {
        width: 100%;
        min-height: 0;
        height: 40px;
        transform: rotate(90deg);
    }

    .application-apply__postcard-app-arrow.picsmallbloc .small-triangle {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
    }

    .application-apply__postcard-app-card img {
        height: 160px;
    }

    .application-apply__postcard-app-title {
        font-size: 1.4rem;
    }

    .application-apply__postcard-app-note {
        font-size: 1.15rem;
    }

    .application-apply__postcard-app-num {
        font-size: clamp(2.2rem, 7vw, 3rem);
    }
}

/* WEB申込み手順：eKYC 横スクロール（each.css の .howborderbox / .picblock と併用） */
.application-apply__ekyc {
    margin-top: 28px;
}

.application-apply__ekyc .picinnerblock {
    min-width: 220px;
}

.application-apply__ekyc .top-text.application-apply__ekyc-caption {
    height: auto;
    min-height: 8.5em;
    margin-bottom: 12px;
}

.application-apply__ekyc .application-apply__ekyc-caption p {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.45;
    color: #231815;
    text-align: center;
}

.application-apply__ekyc .application-apply__ekyc-caption p span.note {
    font-size: 1.3rem;
}

.application-apply__id-docs {
    margin-top: 50px;
    padding: 20px 22px 22px;
    background: #fff9e0;
    border-radius: 8px;
    text-align: left;
    box-sizing: border-box;
}

.application-apply__id-docs-title {
    margin: 0 0 12px;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.4;
    color: #231815;
}

.application-apply__id-docs-body {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.65;
    color: #231815;
}

@media screen and (max-width: 687px) {
    /* each.css のスマホ向け縦積みを打ち消し、横スクロール（タッチスワイプ）を有効にする */
    .application-apply__ekyc .picblock {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

    .application-apply__ekyc .picblock .picwrwp-big {
        width: max-content;
        min-width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        /* stretch で picsmallbloc に隣接カードと同じ高さを与え、三角を縦中央にできる */
        align-items: stretch;
        gap: 10px;
        text-align: center;
    }

    .application-apply__ekyc .picblock .picinnerblock {
        width: auto;
        min-width: 100px;
        flex: 0 0 auto;
        max-width: 150px;
    }

    .application-apply__ekyc .picblock .picinnerblock img {
        width: 100%;
        margin: 0;
    }

    .application-apply__ekyc .picblock .picsmallbloc {
        width: 40px;
        flex-shrink: 0;
        align-self: stretch;
        min-height: 0;
        transform: none;
        margin: 0;
    }

    .application-apply__ekyc .picsmallbloc .small-triangle {
        top: 0;
        right: 0;
        bottom: 0;
        left: -5px;
        margin: auto;
    }

    .application-apply__ekyc .application-apply__ekyc-caption p {
        font-size: 1.6rem;
    }

    .application-apply__id-docs {
        padding: 16px 14px 18px;
        margin-top: 20px;
    }

    .application-apply__id-docs-title {
        font-size: 1.45rem;
    }

    .application-apply__id-docs-body {
        font-size: 1.3rem;
    }
}

/* 購入方法 */
.application-purchase {
    margin-top: 48px;
    width: 100%;
}

.application-purchase .p-period__date {
    margin: 0;
}

/* 決済手段（購入方法内） */
.application-purchase__payment-wrap {
    margin-top: 0;
}

.application-purchase__payment-group {
    padding: 28px 15px 36px;
    background: #f1f1f1;
    border-radius: 10px;
    box-sizing: border-box;
}

.application-purchase__payment-group + .application-purchase__payment-group {
    margin-top: 36px;
}

.application-purchase__payment-label {
    margin: 15px 0 10px;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ee3823;
    line-height: 1.35;
}

.application-purchase__payment-label-rule {
    width: 100%;
    height: 2px;
    margin: 0 0 20px;
    background: #ee3823;
}

.application-purchase__payment-group .application-apply__ekyc {
    margin-top: 0;
}

.application-purchase__payment-wrap .howborderbox {
    padding: 32px 20px;
    box-sizing: border-box;
}

.application-purchase__secure-notice {
    margin-top: 24px;
    padding: 20px 22px 22px;
    background: #fff9e0;
    border-radius: 8px;
    text-align: left;
    box-sizing: border-box;
}

.application-purchase__secure-title {
    margin: 0 0 12px;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.45;
    color: #231815;
}

.application-purchase__secure-body {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.65;
    color: #231815;
}

@media screen and (max-width: 687px) {
    .application-purchase__payment-wrap {
        padding: 22px 12px 28px;
    }

    .application-purchase__payment-wrap .howborderbox {
        padding: 22px 10px;
    }

    .application-purchase__payment-label {
        font-size: 2rem;
    }

    .application-purchase__payment-group + .application-purchase__payment-group {
        margin-top: 28px;
    }

    .application-purchase__secure-notice {
        padding: 16px 14px 18px;
        margin-top: 20px;
    }

    .application-purchase__secure-title {
        font-size: 1.45rem;
    }

    .application-purchase__secure-body {
        font-size: 1.3rem;
    }
}

/* ファミリーマートでの購入方法 */
.application-purchase__famima-panel {
    margin-top: 0;
}

.application-purchase__famima-panel > .application-purchase__payment-group + .application-purchase__payment-group {
    margin-top: 28px;
}

.application-purchase__famima-sp.howborderbox {
    padding: 28px 18px;
    box-sizing: border-box;
}

.application-purchase__famima-sp .picinnerblock {
    width: auto;
    min-width: 50%;
    max-width: 50%;
}

.application-purchase__famima-sp-step {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 80%;
    margin: 0 auto;
}

.application-purchase__famima-sp-head {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px 16px;
    width: 100%;
}

.application-purchase__famima-sp-num {
    flex-shrink: 0;
    font-family: 'Roboto', sans-serif;
    font-size: clamp(3rem, 5.5vw, 4.2rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #f04e30;
}

.application-purchase__famima-sp-head-main {
    flex: 1;
    min-width: 0;
    min-height: 10em;
}

.application-purchase__famima-sp-title {
    margin: 0 0 8px;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.45;
    color: #231815;
    text-align: left;
}

.application-purchase__famima-sp-desc {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.55;
    color: #231815;
    text-align: left;
}

.application-purchase__famima-sp-step img {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 6px;
}

.application-purchase__famima-copy-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.application-purchase__famima-copy-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 22px 28px;
    padding: 24px 0;
    border-bottom: 1px solid #d0d0d0;
}

.application-purchase__famima-copy-item:first-child {
    padding-top: 4px;
}

.application-purchase__famima-copy-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.application-purchase__famima-copy-figure {
    flex: 0 0 auto;
    width: min(40%, 260px);
    max-width: 260px;
}

.application-purchase__famima-copy-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.application-purchase__famima-copy-body {
    flex: 1;
    min-width: 0;
}

.application-purchase__famima-copy-title {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px 14px;
    margin: 0 0 10px;
}

.application-purchase__famima-copy-num {
    flex-shrink: 0;
    font-family: 'Roboto', sans-serif;
    font-size: clamp(2.4rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: #f04e30;
}

.application-purchase__famima-copy-title-text {
    flex: 1;
    min-width: 0;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.8;
    color: #231815;
}

.application-purchase__famima-copy-desc {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.65;
    color: #231815;
}

@media screen and (max-width: 687px) {
    .application-purchase__famima-sp.howborderbox {
        padding: 20px 10px;
    }

    .application-purchase__famima-sp .picblock .picinnerblock {
        min-width: 200px;
        max-width: 260px;
    }

    .application-purchase__famima-sp-num {
        font-size: clamp(2.4rem, 8vw, 3.2rem);
    }

    .application-purchase__famima-sp-title {
        font-size: 1.6rem;
    }

    .application-purchase__famima-sp-desc {
        font-size: 1.3rem;
    }

    .application-purchase__famima-copy-item {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        padding: 20px 0;
    }

    .application-purchase__famima-copy-figure {
        width: min(100%, 280px);
        max-width: 100%;
    }

    .application-purchase__famima-copy-body {
        width: 100%;
    }

    .application-purchase__famima-copy-num {
        font-size: clamp(2rem, 7vw, 2.7rem);
    }

    .application-purchase__famima-copy-title-text {
        font-size: 1.8rem;
    }

    .application-purchase__famima-copy-desc {
        font-size: 1.6rem;
    }
}

/* 利用方法 */
.application-usage {
    margin-top: 48px;
    width: 100%;
}

.application-usage__chapter-pill {
    margin: 0 0 8px;
    padding: 14px 22px 9px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    font-size: clamp(1.45rem, 3.2vw, 2rem);
    font-weight: 700;
    line-height: 1.5;
    color: #ee3823;
    background: #fff;
    border: 1px solid #ee3823;
    border-radius: 9999px;
}

.application-usage__paper-use-group .howborderbox {
    padding: 28px 18px;
    box-sizing: border-box;
}

.application-usage__paper-use .picinnerblock {
    width: 33%;
}

.application-usage__paper-use .application-usage__paper-use-caption {
    height: auto;
    min-height: 3.4em;
    margin-bottom: 0;
}

.application-usage__paper-use .application-usage__paper-use-caption p {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.45;
    color: #231815;
    text-align: center;
}

.application-usage__paper-use-card {
    margin-top: 12px;
    padding: 14px 12px;
    background: #fff;
    border-radius: 12px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.application-usage__paper-use-card img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
}

.application-usage__stores {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px 28px;
    margin-top: 50px;
}

.application-usage__store-link {
    display: inline-block;
    line-height: 0;
}

.application-usage__store-link:focus-visible {
    outline: 2px solid #ee3823;
    outline-offset: 4px;
}

.application-usage__store-link img {
    display: block;
    width: auto;
    height: 70px;
    max-width: min(100vw - 48px, 360px);
}

@media screen and (max-width: 687px) {
    .application-usage__chapter-pill {
        padding: 12px 16px 8px;
        font-size: 2rem;
    }

    .application-usage__paper-use-group .howborderbox {
        padding: 20px 10px;
    }

    .application-usage__paper-use .picblock .picinnerblock {
        min-width: 170px;
        max-width: 220px;
    }

    .application-usage__paper-use .application-usage__paper-use-caption p {
        font-size: 1.6rem;
    }

    .application-usage__paper-use-card img {
        height: 160px;
    }

    .application-usage__stores {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 10px 12px;
        margin-top: 24px;
    }

    .application-usage__store-link {
        display: flex;
        justify-content: center;
        align-items: center;
        flex: 1 1 0;
        min-width: 0;
        max-width: calc(50% - 6px);
    }

    .application-usage__store-link img {
        width: auto;
        max-width: 100%;
        height: 48px;
        object-fit: contain;
        object-position: center;
    }
}

.application-usage .application-purchase__payment-group .howborderbox {
    padding: 32px 20px;
    box-sizing: border-box;
}

.application-usage__pass-note {
    margin: 8px 0 0;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.45;
    color: #231815;
    text-align: center;
}

.application-usage .application-apply__ekyc-caption .application-usage__pass-note {
    font-weight: 400;
}

@media screen and (max-width: 687px) {
    .application-usage .application-purchase__payment-group .howborderbox {
        padding: 22px 0;
    }

    .application-usage__pass-note {
        font-size: 1.05rem;
    }
}

/* メールからスマホアプリへのチャージ（見出しはグレー枠内・左寄せ） */
.application-usage__charge-panel {
    text-align: left;
}

.application-usage__charge-heading {
    margin-top: 0;
    margin-bottom: 10px;
    text-align: left;
}

.application-usage__charge-panel > .application-apply__rule {
    margin-bottom: 20px;
}

.application-usage__charge-panel .application-apply__ekyc {
    margin-top: 0;
}

/* 当選通知 */
.application-notice {
    margin-top: 48px;
    width: 100%;
}

.application-notice .p-period__date {
    margin: 0 0 12px;
}

.application-notice__datetime-note {
    margin: 0 0 28px;
    text-align: center;
    font-size: 2.2rem;
    font-weight: bold;
    color: #231815;
    line-height: 1.6;
}

.application-notice__body {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px 40px;
}

/* 左列50%の中で画像だけ右寄せ */
.application-notice__figure {
    flex: 0 0 auto;
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.application-notice__figure img {
    display: block;
    width: 70%;
    max-width: 300px;
    height: auto;
}

.application-notice__figure-note {
    margin: 0;
    width: 70%;
    text-align: right;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.75;
    color: #231815;
}

.application-notice__figure-note1 {
    padding-right: 100px;
}

.application-notice__figure-note2 {
    padding-right: 0;
    text-align: left;
    padding-left: 17px;
}

.application-notice__text {
    flex: 1;
    min-width: 0;
}

.application-notice__lead {
    margin: 0 0 18px;
    font-size: 2rem;
    font-weight: 700;
    color: #231815;
    line-height: 1.75;
}

.application-notice__fine {
    margin: 0 0 14px;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.75;
    color: #231815;
}

.application-notice__fine:last-child {
    margin-bottom: 0;
}

.application-notice__link {
    color: #1a6dcc;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.application-notice__link:hover {
    text-decoration: none;
}

@media screen and (max-width: 687px) {
    .application-notice__body {
        flex-direction: column;
        align-items: center;
    }

    .application-notice__figure {
        width: min(100%, 260px);
        max-width: 100%;
        align-items: center;
    }

    .application-notice__figure-note {
        width: 100%;
        text-align: center;
        font-size: 1.2rem;
    }

    .application-notice__figure-note1 {
        padding: 0;
    }

    .application-notice__figure-note2 {
        padding: 0;
        text-align: center;
    }

    .application-notice__text {
        width: 100%;
    }

    .application-notice__datetime-note {
        font-size: 1.8rem;
    }

    .application-notice__lead {
        font-size: 1.6rem;
        text-align: center;
    }

    .application-notice__fine {
        font-size: 1.6rem;
    }
}
