/* ============================================================
全体設定
===============================================================*/
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    max-width: 750px;
    margin-inline: auto;
    /* 中央揃え */
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================================
   CSS Custom Properties (Variables)
   ===============================================================*/
:root {
    /* Colors */
    --color-primary: #3291e4;
    --color-black: #000;
    --color-white: #fff;
    --color-bg-light: #f6f6f6;
    --color-bg-blue-light: #eaf4fc;
    --color-bg-table-highlight: #cbe3f8;
    --color-text-gray: #8c9297;
    --color-border-gray: #cacaca;
    --color-border-dashed: #dfdfdf;
    /* Responsive */
    --rpx: calc(100vw / 750);

    /* Typography */
    --font-gothic: "Zen Kaku Gothic New", sans-serif;
    --font-hiragino: "Zen Kaku Gothic New", "Hiragino Sans", "ヒラギノ角ゴシック", "Hiragino Kaku Gothic ProN", sans-serif;

    /* Common Spacing & Sizing (頻出値のみ) */
    --radius-sm: calc(15 * var(--rpx));
    --radius-md: calc(40 * var(--rpx));
    --radius-lg: calc(45 * var(--rpx));
    --radius-pill: 9999px;
}

/* ============================================================
ヘッダー
===============================================================*/

.header-container {
    position: relative;
    display: flex;
    align-items: center;
    padding-top: calc(24 * var(--rpx));
}

.header-logo {
    margin-left: calc(30 * var(--rpx));
}

.header-logo img {
    height: calc(56.25 * var(--rpx));
    width: auto;
    /* アスペクト比を維持 */
}

.header-login {
    margin-left: calc(75 * var(--rpx));
}

.header-login img {
    height: calc(58.5 * var(--rpx));
    width: auto;
}

.header-hamburger {
    position: fixed;
    top: calc(24 * var(--rpx));
    right: calc(30 * var(--rpx));
    width: calc(60 * var(--rpx));
    height: calc(60 * var(--rpx));
    background: transparent;
    border: none;
    cursor: pointer;
    padding: calc(10 * var(--rpx)) calc(5 * var(--rpx));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1000;
}

.header-hamburger span {
    display: block;
    width: 100%;
    height: calc(3 * var(--rpx));
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

.header-hamburger.active span:nth-child(1) {
    position: absolute;
    left: calc(5 * var(--rpx));
    right: calc(5 * var(--rpx));
    width: auto;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.header-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.header-hamburger.active span:nth-child(3) {
    position: absolute;
    left: calc(5 * var(--rpx));
    right: calc(5 * var(--rpx));
    width: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.header-nav-logo {
    display: none;
    /* モバイルでは非表示 */
}

.header-nav {
    position: fixed;
    top: calc(15 * var(--rpx));
    right: calc(15 * var(--rpx));
    background-color: color-mix(in srgb, var(--color-primary) 70%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: calc(15 * var(--rpx));
    padding-top: calc(40 * var(--rpx));
    padding-left: calc(75 * var(--rpx));
    padding-right: calc(105 * var(--rpx));
    padding-bottom: calc(10 * var(--rpx));
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateX(calc(2 * var(--rpx)));
    transition: opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-close-btn {
    position: absolute;
    top: calc(24 * var(--rpx));
    right: calc(30 * var(--rpx));
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    color: var(--color-white);
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(30 * var(--rpx));
}

.header-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.header-nav a {
    color: var(--color-white);
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(27 * var(--rpx));
    line-height: 2;
}

.nav-cta-btn {
    position: relative;
    background-color: var(--color-white);
    color: var(--color-primary) !important;
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(18 * var(--rpx));
    border-radius: calc(15 * var(--rpx));
    padding-top: calc(10 * var(--rpx));
    padding-left: calc(25 * var(--rpx));
    padding-right: calc(70 * var(--rpx));
    padding-bottom: calc(10 * var(--rpx));
    margin-left: calc(-10 * var(--rpx));
    margin-top: calc(15 * var(--rpx));
    margin-bottom: calc(30 * var(--rpx));
}

.nav-cta-btn::after {
    content: '';
    position: absolute;
    background-image: url('../images/allow-blue.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: calc(20 * var(--rpx));
    height: calc(18 * var(--rpx));
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
}
.nav-cta-btn .small {
    display: block;
    font-size: .9em;
    text-align: center;
    line-height: 1.1;
    position: relative;
    top: -.2em;
    left: .5em;
}

/* ============================================================
ファーストビュー
===============================================================*/
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.fv {
    background-image: url('../images/fv-background.png');
    background-size: cover;
    margin-top: calc(22.5 * var(--rpx));
}

.fv-content img {
    margin-bottom: calc(18 * var(--rpx));
    width: 100%;
    height: auto;
}

/* ============================================================
CTA
===============================================================*/

.cta-description {
    margin: 0;
    margin-bottom: calc(30 * var(--rpx));
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(26 * var(--rpx));
    text-align: center;
    color: var(--color-black);
}

/* ============================================================
機能説明
===============================================================*/

.features {
    position: relative;
    /* これが疑似要素の白背景の基準になる */
    background-image: url('../images/features-background.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center 13%;
    padding-top: calc(80 * var(--rpx));
    margin-bottom: calc(115.05 * var(--rpx));
}

.features::after {
    content: '';
    position: absolute;
    top: 15%;
    left: 0;
    right: 0;
    margin-inline: auto;
    /* 左右中央揃え */
    width: 95%;
    height: 66%;
    background-color: var(--color-white);
    border-radius: calc(40 * var(--rpx));
    z-index: 0;
}

.features-intro {
    text-align: center;
    position: relative;
    /* z-indexを設定するため */
    z-index: 1;
}

.features-logo {
    display: block;
    margin-inline: auto;
    margin-bottom: calc(30 * var(--rpx));
    width: calc(500 * var(--rpx));
    height: auto;
}

.features-detail {
    display: block;
    margin-inline: auto;
    margin-top: calc(55 * var(--rpx));
    margin-bottom: calc(40 * var(--rpx));
    height: auto;
}

.features-title {
    color: var(--color-white);
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(32.31 * var(--rpx));
    text-align: center;
}

.features-title span {
    display: inline-block;
    /* 行内ブロック */
    background-color: var(--color-black);
    line-height: 1.2;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    padding: calc(6 * var(--rpx)) calc(10 * var(--rpx));
}

.features-catchcopy {
    margin: 0;
    margin-bottom: calc(30 * var(--rpx));
    display: inline-block;
    color: var(--color-white);
    background-color: var(--color-primary);
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(49.91 * var(--rpx));
    padding: calc(10 * var(--rpx)) calc(40 * var(--rpx));
}

.features-description {
    margin: 0;
    margin-bottom: calc(30 * var(--rpx));
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(27.25 * var(--rpx));
    text-align: center;
}

.use-case {
    position: relative;
    /* 子要素の縦書き文字のabsolute配置の基準 */
    padding-top: calc(150 * var(--rpx));
    padding-bottom: calc(40 * var(--rpx));
    background-color: var(--color-bg-blue-light);
    border-radius: calc(40 * var(--rpx));

}

.use-case::before {
    content: "";
    position: absolute;
    top: -1%;
    width: calc(504 * var(--rpx));
    aspect-ratio: 504 / 179;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('../images/WHEN.png');
    z-index: 2;
}

.use-case-vertical-text {
    position: absolute;
    top: -1.7%;
    left: 83%;
    writing-mode: vertical-rl;
    /* 右から左への縦書き */
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(34.32 * var(--rpx));
    z-index: 1;
    line-height: 0.5;
}

.use-case-vertical-text span {
    display: inline-block;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: calc(18 * var(--rpx)) calc(16* var(--rpx));
}

.use-case-bg {
    position: relative;
}

.use-case-content {
    position: relative;
    width: 60%;
    margin-top: -23%;
    margin-bottom: 8%;
    background-color: var(--color-white);
    border-radius: 0 9999px 9999px 0;
    padding: calc(40 * var(--rpx)) calc(60 * var(--rpx)) calc(40 * var(--rpx)) calc(60 * var(--rpx));
    z-index: 1;
}

.use-case-content.expanded {
    border-radius: 0 calc(182 * var(--rpx)) calc(182 * var(--rpx)) 0;
    padding-right: calc(60 * var(--rpx));
}

/* 最後の要素だけmargin-bottomを0に */
.use-case-content:last-of-type {
    margin-bottom: 0;
}

.use-case-title {
    color: var(--color-primary);
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(39.32 * var(--rpx));
    margin-bottom: calc(35 * var(--rpx));
}

.use-case-description {
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(21 * var(--rpx));
    margin-bottom: calc(25 * var(--rpx));
}

.use-case-button {
    color: var(--color-black);
    position: relative;
    padding: calc(10 * var(--rpx)) calc(60 * var(--rpx)) calc(10 * var(--rpx)) calc(50 * var(--rpx));
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(20 * var(--rpx));
    border-radius: 9999px;
    /* カプセル型 */
    background-color: var(--color-white);
    border: 0.1em solid var(--color-black);
}

.use-case-button.expanded {
    margin-left: calc(12 * var(--rpx));
}

.use-case-button::after {
    content: "";
    position: absolute;
    right: calc(20 * var(--rpx));
    top: 50%;
    transform: translateY(-50%);
    width: calc(20 * var(--rpx));
    height: calc(20 * var(--rpx));
    background-image: url('../images/botton_plus.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.use-case-button.expanded::after {
    background-image: url('../images/botton_minus.png');
}

.use-case-content-reverse {
    position: relative;
    width: 60%;
    margin-top: -20%;
    margin-bottom: 8%;
    margin-left: auto;
    background-color: var(--color-white);
    border-radius: 9999px 0 0 9999px;
    padding: calc(50 * var(--rpx)) calc(60 * var(--rpx)) calc(50 * var(--rpx)) calc(60 * var(--rpx));
    z-index: 1;
}

.use-case-content-reverse .use-case-title,
.use-case-content-reverse .use-case-description,
.use-case-content-reverse .use-case-button {
    margin-left: calc(60 * var(--rpx));
}

.use-case-content-reverse.expanded {
    border-radius: calc(240 * var(--rpx)) 0 0 calc(240 * var(--rpx));
    padding-left: calc(60 * var(--rpx));
}

/* ============================================================
支払いフロー
===============================================================*/


.payment-flow-notice {
    margin-top: calc(50 * var(--rpx));
    margin-bottom: calc(75 * var(--rpx));
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(21 * var(--rpx));
    text-align: center;
}

.payment-flow-badge {
    margin-inline: auto;
    /* 中央揃え */
    margin-bottom: calc(50 * var(--rpx));
    width: calc(548 * var(--rpx));
    /* 元のサイズを最大値に */
    height: auto;
}

.payment-flow-content {
    text-align: center;
}

.payment-flow-title {
    margin-bottom: calc(35 * var(--rpx));
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(55.55 * var(--rpx));
    text-align: center;
}

.payment-flow-description {
    display: inline-block;
    margin-bottom: calc(20 * var(--rpx));
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(21 * var(--rpx));
    text-align: left;
}

.payment-flow-diagram {
    margin-bottom: calc(33 * var(--rpx));
    width: 100%;
    height: auto;
}

.payment-flow-logo {
    width: 100%;
    height: auto;
    margin-bottom: 1em;
}

.payment-flow-button {
    position: relative;
    display: block;
    margin-inline: auto;
    margin-top: calc(30 * var(--rpx));
    padding: calc(40 * var(--rpx));
    width: calc(600 * var(--rpx));
    background-color: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(29 * var(--rpx));
    text-align: center;
    border-radius: 9999px;
}

.payment-flow-button::after {
    content: "";
    position: absolute;
    right: calc(75 * var(--rpx));
    top: 50%;
    transform: translateY(-50%);
    width: calc(43 * var(--rpx));
    height: calc(10 * var(--rpx));
    background-image: url('../images/allow.png');
    background-size: contain;
    background-repeat: no-repeat;
}

/* ============================================================
選ばれる理由セクション
===============================================================*/
.reasons {
    position: relative;
    margin-top: calc(120 * var(--rpx));
}

.reasons-hero {
    width: 100%;
    height: auto;
}

.reasons-vertical {
    position: absolute;
    top: -5%;
    right: 3%;
    writing-mode: vertical-rl;
    /* 右から左への縦書き */
    text-orientation: upright;
    /* 縦書きの文字を縦方向に配置 */
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(48 * var(--rpx));
    padding: calc(15 * var(--rpx)) calc(8 * var(--rpx));
    letter-spacing: 0.2em;
}

.reasons::before {
    content: "";
    position: absolute;
    bottom: -16%;
    left: 20%;
    width: calc(601 * var(--rpx));
    aspect-ratio: 601 / 147;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url('../images/Features.png');
    z-index: 1;
}

.reasons-description {
    position: absolute;
    bottom: -27%;
    left: 4%;
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(73.26 * var(--rpx));
    text-align: left;
    line-height: 1;
    margin-bottom: calc(20 * var(--rpx));
}

.reasons-number {
    color: var(--color-primary);
    font-size: calc(125.4 * var(--rpx));
}

.reasons-list {
    background-color: var(--color-bg-blue-light);
    padding-top: calc(205 * var(--rpx));
    border-radius: 0 0 calc(40 * var(--rpx)) calc(40 * var(--rpx));
    margin-bottom: calc(75 * var(--rpx));
}

.reason-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 calc(60 * var(--rpx));
    margin-bottom: calc(10 * var(--rpx));
}

.reason-label,
.reason-number {
    color: var(--color-border-gray);
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(25 * var(--rpx));
}

.reason-item {
    background-color: var(--color-white);
    border-radius: calc(40 * var(--rpx));
    width: 93%;
    margin-inline: auto;
    margin-bottom: calc(60 * var(--rpx));
    padding-top: calc(60 * var(--rpx));
    padding-bottom: calc(45 * var(--rpx));
    text-align: center;
}

.reason-item:last-child {
    margin-bottom: 0;
}

.reason-icon {
    margin-inline: auto;
    /* 左右中央揃え */
    width: calc(200 * var(--rpx));
    height: auto;
}

.reason-title {
    position: relative;
    color: var(--color-primary);
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(41.06 * var(--rpx));
    text-align: center;
    padding-top: calc(50 * var(--rpx));
    padding-bottom: calc(35 * var(--rpx));
}

.reason-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 93%;
    border-bottom: 2px dashed var(--color-border-dashed);
}

.reason-text {
    display: inline-block;
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(21 * var(--rpx));
    text-align: left;
    padding-top: calc(33 * var(--rpx));
    padding-left: calc(40 * var(--rpx));
    padding-right: calc(40 * var(--rpx));
}

.service-comparison {
    margin-inline: auto;
    /* 中央揃え */
    margin-bottom: calc(50 * var(--rpx));
    padding-top: calc(60 * var(--rpx));
    width: calc(512 * var(--rpx));
    /* 元のサイズを最大値に */
    height: auto;
}

/* ============================================================
表レイアウト
===============================================================*/

.price-table-wrapper {
    position: relative;
    margin-bottom: calc(90 * var(--rpx));
}

.price-table-wrapper:last-child {
    margin-bottom: 0;
}

.price-table {
    width: 90%;
    margin-inline: auto;
    border-collapse: separate;
    border-spacing: calc(10 * var(--rpx)) 0;
    background-color: transparent;
}

.price-table th {
    position: relative;
    padding: calc(25 * var(--rpx)) calc(15 * var(--rpx));
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(28 * var(--rpx));
    text-align: center;
    background-color: transparent;
    z-index: 1;
}

.price-table thead tr th {
    border-radius: calc(20 * var(--rpx)) calc(20 * var(--rpx)) 0 0;
}

.price-table td {
    padding: calc(25 * var(--rpx)) calc(15 * var(--rpx));
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(24 * var(--rpx));
    text-align: center;
    position: relative;
    z-index: 1;
}

.price-table tr {
    position: relative;
    z-index: 2;
}

.price-table td:first-child::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 560%;
    height: 1px;
    border-bottom: 1px dashed #ccc;
    z-index: 10;
}

.price-table tbody tr:last-child td::after {
    display: none;
}

.price-table th:first-child,
.price-table td.label-col {
    background-color: transparent;
    text-align: center;
    font-weight: 600;
    font-size: calc(22 * var(--rpx));
    vertical-align: middle;
}

.price-table .highlight-col {
    font-weight: 600;
}

.price-table th:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 700%;
    z-index: -1;
    border-radius: calc(30 * var(--rpx));
}

.price-table th:nth-child(3)::before,
.price-table th:nth-child(4)::before {
    background-color: var(--color-bg-light);
}

.price-table th.highlight-col::before {
    background-color: var(--color-bg-table-highlight);
}


.price-table-title {
    margin: 0 auto calc(20 * var(--rpx));
    padding: calc(15 * var(--rpx));
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(24 * var(--rpx));
    text-align: center;
    width: 90%;
}


.price-notes {
    text-align: left;
    width: 93%;
    margin-inline: auto;
    padding-bottom: calc(65 * var(--rpx));
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(21 * var(--rpx));

}

.pricing-title {
    margin-inline: auto;
    margin-bottom: calc(70 * var(--rpx));
    margin-top: calc(60 * var(--rpx));
    width: calc(512 * var(--rpx));
    height: auto;
}

.pricing-visual-banner {
    text-align: center;
}


.pricing-visual-banner-text {
    display: inline-block;
    padding: calc(5 * var(--rpx)) calc(15 * var(--rpx));
    margin-bottom: calc(30 * var(--rpx));
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(33.88 * var(--rpx));
    background-color: var(--color-primary);
    color: var(--color-white);
}

.pricing-character {
    margin-inline: auto;
    width: calc(224 * var(--rpx));
    height: auto;
    margin-bottom: calc(30 * var(--rpx));
}

.pricing-example {
    margin-inline: auto;
    width: calc(750 * var(--rpx));
    height: auto;
    margin-bottom: calc(36 * var(--rpx));
}

.pricing-visual-price-label {
    margin-bottom: calc(60 * var(--rpx));
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(65.81 * var(--rpx));
    text-align: center;
    color: var(--color-primary);
}


.pricing-cta {
    padding-bottom: calc(100 * var(--rpx));
}

.pricing-cta-logo {
    padding-top: calc(36 * var(--rpx));
    padding-bottom: calc(30 * var(--rpx));
    width: calc(750 * var(--rpx));
    height: auto;
}

.pricing-cta-text {
    text-align: center;
}

.pricing-cta-highlight {
    display: inline-block;
    padding: 0 calc(12 * var(--rpx));
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(28 * var(--rpx));
    color: var(--color-white);
    background-color: var(--color-primary);
}

.pricing-3500 {
    padding-top: calc(45 * var(--rpx));
    padding-bottom: calc(30 * var(--rpx));
    width: calc(750 * var(--rpx));
    height: auto;
}

.price-notes {
    margin-left: auto;
    max-width: 88%;
}


/* ============================================================
利用方法セクション
===============================================================*/

.usage-steps-icon {
    margin-inline: auto;
    padding-top: calc(90 * var(--rpx));
    padding-bottom: calc(60 * var(--rpx));
    width: calc(185 * var(--rpx));
    height: auto;
}

.usage-steps-title {
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(64.11 * var(--rpx));
    text-align: center;
}

.usage-steps-subtitle {
    margin-bottom: calc(60 * var(--rpx));
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(64.11 * var(--rpx));
    text-align: center;
    color: var(--color-primary);
}

.usage-steps-list {
    width: 93%;
    margin-inline: auto;
    background-color: var(--color-bg-light);
    border-radius: calc(40 * var(--rpx));
}

.usage-step {
    position: relative;
    padding-top: calc(60 * var(--rpx));
    padding-bottom: calc(45 * var(--rpx));
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: calc(90 * var(--rpx));
    padding-right: calc(60 * var(--rpx));
    overflow: visible;
}

.usage-step::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 93%;
    border-bottom: 2px dashed var(--color-border-dashed);
}

.usage-step:last-child::after {
    display: none;
}

.usage-step-number {
    position: absolute;
    top: 15%;
    left: 10%;
    display: inline-block;
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(33.44 * var(--rpx));
    color: var(--color-primary);
    line-height: 1;

    /* カギ括弧（L字）のデザイン */
    padding-right: 0.4em;
    padding-bottom: 0.4em;
    border-right: 0.15em solid var(--color-primary);
    border-bottom: 0.15em solid var(--color-primary);
}

.usage-step-image-wrapper {
    background-color: var(--color-white);
    border-radius: calc(150 * var(--rpx));
    width: calc(225 * var(--rpx));
    height: calc(280 * var(--rpx));
    display: flex;
    align-items: center;
    justify-content: center;
}

.usage-step-image {
    width: calc(130 * var(--rpx));
    height: auto;
}

.usage-step-title {
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(32 * var(--rpx));
    line-height: 1.4;
    margin-bottom: calc(20 * var(--rpx));
}

.usage-step-text {
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(21 * var(--rpx));
}

.guest-payment {
    margin-top: calc(67 * var(--rpx));
    text-align: center;
}

.guest-payment-title {
    display: inline-block;
    padding: 0 calc(15 * var(--rpx));
    margin-bottom: calc(30 * var(--rpx));
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(36.91 * var(--rpx));
    background-color: var(--color-primary);
    color: var(--color-white);
}

.guest-payment-diagram {
    width: calc(750 * var(--rpx));
    height: auto;
}

.guest-payment-note {
    margin-top: calc(30 * var(--rpx));
    padding-left: calc(60 * var(--rpx));
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(21 * var(--rpx));
    text-align: left;
}

.recommended-features-title {
    margin-inline: auto;
    margin-bottom: calc(66 * var(--rpx));
    width: calc(750 * var(--rpx));
    height: auto;
}

/* グリッドの親枠 */
.card-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2列にする */
    gap: calc(38 * var(--rpx));
    margin: 0 calc(25 * var(--rpx));
    margin-bottom: calc(75 * var(--rpx));
    grid-auto-rows: 1fr;
    /* 行の高さを揃える */
}

/* 個別のカード（中身の配置） */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: calc(20 * var(--rpx));
    background-color: var(--color-bg-light);
    border-radius: calc(45 * var(--rpx));
    text-align: center;
}

/*.card:hover,
.card:active {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}*/

.number {
    position: absolute;
    top: calc(30 * var(--rpx));
    left: calc(30 * var(--rpx));
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(21 * var(--rpx));
    color: var(--color-primary);
}

.icon-area {
    width: calc(125 * var(--rpx));
    height: auto;
}

.card-text {
    min-height: calc(90 * var(--rpx));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: calc(15 * var(--rpx));
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(24.24 * var(--rpx));
}

.psp {
    margin-inline: auto;
    width: calc(548 * var(--rpx));
    height: auto;
    margin-top: calc(44 * var(--rpx));
}

.gmo {
    margin-inline: auto;
    width: calc(379 * var(--rpx));
    height: auto;
    margin-top: calc(60 * var(--rpx));
    margin-bottom: calc(60 * var(--rpx));
}

.gmo-note-wrapper {
    text-align: center;
    margin-bottom: calc(95 * var(--rpx));
}

.gmo-note {
    display: inline-block;
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(21 * var(--rpx));
    text-align: left;
}

.payment-flow-detail {
    position: relative;
}

.payment-flow-detail-title {
    position: absolute;
    display: inline-block;
    top: -5%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    padding: calc(10 * var(--rpx)) calc(20 * var(--rpx));
    color: var(--color-white);
    background-color: var(--color-black);
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(34 * var(--rpx));
}

.flow-steps {
    background-color: var(--color-bg-light);
    border-radius: calc(45 * var(--rpx));
    padding-top: calc(83 * var(--rpx));
    padding-bottom: calc(60 * var(--rpx));
}

.fee-collection-flow {
    margin-inline: auto;
    width: calc(705 * var(--rpx));
    height: auto;
    padding-bottom: calc(60 * var(--rpx));
}

.flow-step-wrapper {
    position: relative;
    text-align: center;
    margin-top: calc(60 * var(--rpx));
}

.flow-step-wrapper::after {
    content: "";
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    border-bottom: 2px dashed var(--color-border-dashed);
}

.flow-content {
    display: inline-block;
    text-align: left;
}

.flow-step {
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(21 * var(--rpx));
    line-height: 2;
}

.flow-note {
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(21 * var(--rpx));
    margin-top: calc(15 * var(--rpx));
}

.merits {
    margin-bottom: calc(150 * var(--rpx));
}

.merits-header {
    margin-bottom: calc(85 * var(--rpx));
}

.merits-title {
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(64.11 * var(--rpx));
    text-align: center;
}

.merits-title-highlight {
    color: var(--color-primary);
}

.merit-section-organizer {
    padding-top: calc(50 * var(--rpx));
    padding-bottom: calc(60 * var(--rpx));
    width: 93%;
    margin-inline: auto;
    position: relative;
    background-color: var(--color-bg-blue-light);
    border-radius: calc(45 * var(--rpx));
    margin-bottom: calc(130 * var(--rpx));
}

.merit-section-title {
    top: -8%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    position: absolute;
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(52.38 * var(--rpx));
    color: var(--color-primary);
}

.merit-section-subtitle {
    text-align: center;
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(17.35 * var(--rpx));
    color: var(--color-text-gray);
    margin-bottom: calc(45 * var(--rpx));
    letter-spacing: 0.4em;
}

.merit-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: calc(40 * var(--rpx));
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(27 * var(--rpx));
}

.merit-item::after {
    content: "";
    position: absolute;
    bottom: -50%;
    left: 52%;
    transform: translateX(-50%);
    width: 90%;
    border-bottom: 2px dashed var(--color-border-dashed);
}

.merit-section-organizer .merit-item:nth-child(4)::after {
    display: none;
}

.merit-section-guest .merit-item:nth-child(3)::after {
    display: none;
}

.merit-check {
    width: calc(40 * var(--rpx));
    height: auto;
    margin-left: calc(45 * var(--rpx));
    margin-right: calc(15 * var(--rpx));
}

.merit-illustration-organizer {
    position: absolute;
    bottom: -15%;
    left: 82%;
    transform: translateX(-50%);
    width: calc(172 * var(--rpx));
    height: auto;
}

.merit-section-guest {
    padding-top: calc(50 * var(--rpx));
    padding-bottom: calc(60 * var(--rpx));
    width: 93%;
    margin-inline: auto;
    position: relative;
    background-color: var(--color-bg-light);
    border-radius: calc(45 * var(--rpx));
}

.merit-illustration-guest {
    position: absolute;
    bottom: -27%;
    left: 15%;
    transform: translateX(-50%);
    width: calc(184 * var(--rpx));
    height: auto;
}

.about-privacy {
    margin-inline: auto;
    width: calc(548 * var(--rpx));
    height: auto;
    margin-top: calc(44 * var(--rpx));
    margin-bottom: calc(30 * var(--rpx));
}

.privacy-content {
    text-align: center;
}

.privacy-question {
    margin-bottom: calc(60 * var(--rpx));
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(49.36 * var(--rpx));
    text-align: center;
    color: var(--color-primary);
}

.privacy-text {
    display: inline-block;
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(21 * var(--rpx));
    text-align: left;
}

/* ============================================================
FAQ
===============================================================*/

.faq-header {
    margin-bottom: calc(43 * var(--rpx));
}

.faq-section {
    margin-top: calc(70 * var(--rpx));
    /* padding-bottom: calc(150 * var(--rpx)); */
    list-style: none;
}

.faq-question::-webkit-details-marker,
.faq-question::marker,
.faq-item summary::-webkit-details-marker {
    display: none;
    list-style: none;
}

.faq-item summary {
    list-style: none;
}

.faq-icon {
    display: block;
    margin-inline: auto;
    width: calc(130 * var(--rpx));
    height: auto;
    margin-bottom: calc(30 * var(--rpx));
}

.faq-title {
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(53.71 * var(--rpx));
    text-align: center;
}


.faq-item {
    width: 93%;
    margin-inline: auto;
    background-color: var(--color-bg-light);
    border-radius: calc(45 * var(--rpx));
    margin-bottom: calc(30 * var(--rpx));
    padding-top: calc(30 * var(--rpx));
    padding-bottom: calc(30 * var(--rpx));
}

.faq-q-icon {
    width: calc(80 * var(--rpx));
    height: auto;
    margin-left: calc(30 * var(--rpx));
    margin-right: calc(30 * var(--rpx));
}

.faq-question {
    display: flex;
    align-items: center;
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(23 * var(--rpx));
    text-align: left;
    position: relative;
    cursor: pointer;
    padding-right: calc(50 * var(--rpx));
    word-break: break-all;
    overflow-wrap: break-word;
}

.faq-item.is-open .faq-question {
    padding-bottom: calc(30 * var(--rpx));
}

.faq-question::after {
    content: "";
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
    background-image: url('../images/faq-toggle.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: calc(29 * var(--rpx));
    height: calc(29 * var(--rpx));
    opacity: 1;
    transition: opacity 0.3s;
}

.faq-item.is-open .faq-question::after {
    background-image: url('../images/faq-toggle-minus.png');
    top: 35%;
    transform: translateY(-50%);
}

.faq-question::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    border-bottom: 2px dashed var(--color-border-dashed);
    opacity: 0;
    transition: opacity 0.1s;
}

.faq-item.is-open .faq-question::before {
    opacity: 1;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-out, opacity 0.4s ease-out;
    opacity: 0;
}

.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
    opacity: 1;
}

.faq-item.is-open .faq-answer-inner {
    padding-top: calc(30 * var(--rpx));
}

.faq-answer-inner {
    overflow: hidden;
    min-height: 0;
    display: flex;
    align-items: center;
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(21 * var(--rpx));
    text-align: left;
    padding-right: calc(20 * var(--rpx));
    padding-top: 0;
    transition: padding-top 0.4s ease-out;
}

.faq-a-icon {
    width: calc(80 * var(--rpx));
    height: auto;
    margin-left: calc(30 * var(--rpx));
    margin-right: calc(30 * var(--rpx));
}

.faq-more-button {
    display: block;
    margin: calc(30 * var(--rpx)) auto;
    color: var(--color-black);
    position: relative;
    padding: calc(10 * var(--rpx)) calc(60 * var(--rpx)) calc(10 * var(--rpx)) calc(50 * var(--rpx));
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(20 * var(--rpx));
    border-radius: 9999px;
    background-color: var(--color-white);
    border: 0.1em solid var(--color-black);
}

.faq-more-button::after {
    content: "";
    position: absolute;
    right: calc(20 * var(--rpx));
    top: 50%;
    transform: translateY(-50%);
    width: calc(20 * var(--rpx));
    height: calc(20 * var(--rpx));
    background-image: url(../images/botton_plus.png);
    background-size: contain;
    background-repeat: no-repeat;
}

.faq-hidden-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-hidden-items.visible {
    max-height: 3000px;
    transition: max-height 0.6s ease-in;
}


/* ============================================================
about
===============================================================*/

.about-header {
    margin-bottom: calc(43 * var(--rpx));
}

.about-section {
    margin-top: calc(70 * var(--rpx));
    padding-bottom: calc(150 * var(--rpx));
    list-style: none;
}

.about-icon {
    display: block;
    margin-inline: auto;
    width: calc(130 * var(--rpx));
    height: auto;
    margin-bottom: calc(30 * var(--rpx));
}

.about-title {
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(53.71 * var(--rpx));
    text-align: center;
}

.about-content {
    text-align: center;
    margin-bottom: calc(43 * var(--rpx));
}

.about-text{
    display: inline-block;
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(21 * var(--rpx));
    text-align: left;
}
/* ============================================================
comingsoon
===============================================================*/

.comingsoon-header {
    margin-bottom: calc(43 * var(--rpx));
}

.comingsoon-section {
    margin-top: calc(130 * var(--rpx));
    padding-bottom: calc(150 * var(--rpx));
    list-style: none;
}

.comingsoon-icon {
    display: block;
    margin-inline: auto;
    width: calc(220 * var(--rpx));
    height: auto;
    margin-bottom: calc(55 * var(--rpx));
}
.comingsoon-title {
    color: var(--color-primary);
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(72 * var(--rpx));
    margin-bottom: calc(58 * var(--rpx));
    text-align: center;
}

.comingsoon-title .en{
    display: block;
    font-size: calc(21 * var(--rpx));
    letter-spacing: .42em;
    margin-bottom: .7em;
}

.comingsoon-content {
    text-align: center;
    margin-bottom: calc(147 * var(--rpx));
}

.comingsoon-highlight-text {
    display: inline-block;
    padding: calc(12 * var(--rpx));
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(32 * var(--rpx));
    color: var(--color-white);
    background-color: var(--color-primary);
    width: 86%;
    max-width: 20em;
    margin-bottom: calc(38 * var(--rpx));
}

.comingsoon-highlight{
    text-align: center;
}
.comingsoon-highlight-txt {
    display: inline-block;
    padding: 0 calc(12 * var(--rpx));
    font-family: var(--font-gothic);
    font-weight: 600;
    font-size: calc(28 * var(--rpx));
    color: var(--color-white);
    background-color: var(--color-primary);
}

.comingsoon-text{
    display: inline-block;
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(25 * var(--rpx));
    text-align: center;
    line-height: 1.65;
}

.comingsoon-btn{
    text-align: center;
}
.comingsoon-btn a {
    display: inline-block;
    padding: calc(32 * var(--rpx)) 0;
    border-radius: calc(15 * var(--rpx));
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(22 * var(--rpx));

    min-width: 13em;

    background-color: var(--color-white);
    color: #3291e4;
    border: 1px solid #3291e4;
    padding-left: calc(25 * var(--rpx));
    padding-right: calc(25 * var(--rpx));
    position: relative;
}
.comingsoon-btn a:before {
    content: "";
    position: absolute;
    background-image: url('../images/allow-btn.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: calc(8 * var(--rpx));
    height: calc(12 * var(--rpx));
    top: calc(42 * var(--rpx));
    right: calc(24 * var(--rpx));
}
.comingsoon-text-small {
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(18 * var(--rpx));
    text-align: center;
    line-height: 1.65;
    margin-top: calc(18 * var(--rpx));
}

/* ============================================================
footer
===============================================================*/

.footer {
    background-color: rgba(255, 255, 255, 0.6);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 750px;
    margin-inline: auto;
    padding-bottom: calc(25 * var(--rpx));
    padding-top: calc(25 * var(--rpx));
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.footer.visible {
    opacity: 1;
    visibility: visible;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: calc(15 * var(--rpx));
}

.footer-btn {
    padding: calc(32 * var(--rpx)) 0;
    border-radius: calc(15 * var(--rpx));
    font-family: var(--font-hiragino);
    font-weight: 600;
    font-size: calc(24 * var(--rpx));
}

.footer-btn-login {
    padding-left: calc(45 * var(--rpx));
    padding-right: calc(45 * var(--rpx));
    background-color: #1c1c1c;
    color: var(--color-white);
}

.footer-btn-login .wrap{
    position: relative;
    top: -.5em;
}

.footer-btn-login .small{
    display: block;
    text-align: center;
    font-size: .88em;
    position: absolute;
    left: 0;
    width: 100%;
    text-align: center;
    top: 1.5em;
}

.footer-btn-contact {
    background-color: var(--color-white);
    color: #1c1c1c;
    border: 1px solid #1c1c1c;
    padding-left: calc(25 * var(--rpx));
    padding-right: calc(25 * var(--rpx));
}

.footer-btn-cta {
    position: relative;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding-left: calc(90 * var(--rpx));
    padding-right: calc(60 * var(--rpx));
}

.footer-btn-cta .wrap{
    position: relative;
    top: -.5em;
}

.footer-btn-cta .small{
    display: block;
    text-align: center;
    font-size: .88em;
    position: absolute;
    left: 0;
    width: 100%;
    text-align: center;
    top: 1.5em;
}

.footer-btn-cta::before {
    content: "";
    position: absolute;
    background-image: url('../images/door-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: calc(40 * var(--rpx));
    height: calc(51 * var(--rpx));
    top: calc(25 * var(--rpx));
    left: calc(24 * var(--rpx));

}


/* ============================================================
Vanilla JS（スライドアニメーション）
===============================================================*/

.photo {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, margin 0.3s ease-out;
    margin-bottom: 0;
}

.photo.visible {
    max-height: 1000px;
    margin-bottom: calc(50 * var(--rpx));
}

/* ============================================================
media query
===============================================================*/

@media (min-width: 751px) {
    :root {
        --rpx: calc(540px / 750);
    }

    html {
        background-image: url('../images/wide-bg.png');
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
        background-attachment: fixed;
    }

    body {
        max-width: 540px;
        margin-inline: auto;
    }

    main {
        margin-top: 47px;
        background-color: var(--color-white);
        border-radius: 3em 3em 0 0;
        overflow: hidden;
    }

    .header-nav {
        padding-top: 40px;
        padding-bottom: 10px;
        padding-left: 20px;
        padding-right: 20px;
        font-size: calc(24 * var(--rpx));
        line-height: 2;
    }

    .header-nav a {
        color: var(--color-white);
        font-weight: 500;
    }

    .nav-cta-btn {
        margin-left: calc(5 * var(--rpx));
    }

    .footer {
        max-width: 540px;
    }
}

@media (min-width: 1200px) {

    .header-container,
    .header-hamburger,
    .nav-close-btn {
        display: none;
    }

    .header-nav {
        opacity: 1;
        visibility: visible;
        top: 50%;
        transform: translateY(-50%);
        left: calc(50% + 10px + (540px / 2));
        padding-top: 10px;
        padding-bottom: 5px;
        padding-left: 10px;
        padding-right: 10px;
        width: 200px;
        line-height: 1;
    }

    .header-nav a {
        font-size: calc(20 * var(--rpx));
        color: var(--color-white);
        font-weight: 500;
    }

    .header-nav-logo {
        position: absolute;
        top: -15%;
        left: 5%;
        display: block;
        width: 200px;
        aspect-ratio: 278 / 72;
    }

}

/* 0610 追加 */
.video-box{
    width: 95%;
    margin: 0 auto 5%;
}


.payment-one-minute {
    margin-inline: auto;
    /* 中央揃え */
    margin-top: calc(80 * var(--rpx));
    margin-bottom: calc(20 * var(--rpx));
    width: calc(548 * var(--rpx));
    /* 元のサイズを最大値に */
    height: auto;
}