* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Shippori Mincho B1', serif;
    font-weight: 400;
    font-style: normal;
    max-width: 500px;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover,
a:active {
    opacity: 0.8;
}

/**
* ボタン
**/

/* 共通スタイル */
.button {
    animation-duration: 1300ms;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
}

.banner {
    position: relative;
    width: 100%;
    aspect-ratio: 750 / 188;
}

.banner-fixed {
    max-width: 500px;
    position: fixed;
    bottom: 0;
    z-index: 9999;
    transition:
        visibility 1s ease,
        opacity 1s ease;
    opacity: 0;
    visibility: hidden;
}

.banner.banner-fixed.show {
    opacity: 1;
    visibility: visible;
}

.banner .button {
    width: calc((470 / 750) * 100%);
    position: absolute;
    top: 10%;
    right: 6.4%;
    animation-name: beat;
}

.banner .budge {
    position: absolute;
    top: 6.6%;
    left: 5.6%;
    width: 22%;
}

.point-4 {
    position: relative;
}

.point-4 .button {
    position: absolute;
    bottom: 2.3%;
    left: 5.5%;
    animation-name: beat-lg;
    width: calc((672 / 750) * 100%);
}

.purchase .button {
    animation-name: beat-lg;
}

@keyframes beat {
    0% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.05);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(1);
    }
}

@keyframes beat-lg {
    0% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.05);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(1);
    }
}

/* END ボタン */

.purchase {
    text-align: center;
    background-color: #f9f8f2;
}

.purchase-inner {
    width: calc((670 / 750) * 100%);
    margin: auto;
    padding-bottom: calc((66 / 750) * 100%);
}

.purchase-title {
    width: calc((611 / 670) * 100%);
    margin-bottom: calc((70 / 670) * 100%);
}

.purchase-table {
    margin-bottom: calc((100 / 670) * 100%);
}

.purchase-icon {
    text-align: right;
    margin-top: calc((10 / 670) * 100%);
}

.purchase-icon img {
    width: calc((315 / 670) * 100%);
}

.purchase-intro {
    color: #534741;
    font-size: clamp(0.813rem, -0.076rem + 4.44vw, 1.313rem);
    font-weight: 600;
    line-height: 2;
    letter-spacing: -0.01em;
}

.purchase-intro em {
    color: #db5c95;
    font-size: 1.16em;
    font-style: normal;
    font-weight: 800;
}

.purchase-intro-catch {
    position: relative;
    display: inline-block;
    color: #db5c95;
    font-size: clamp(1.313rem, -0.021rem + 6.67vw, 2.063rem);
    font-weight: 800;
    line-height: 2;
    margin-bottom: calc((64 / 670) * 100%);
}

.purchase-intro-catch::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    display: inline-block;
    width: 100%;
    aspect-ratio: 422 / 25;
    background-image: url('img/icon-line.svg');
    background-size: cover;
    background-repeat: no-repeat;
}

/**
* 価格表
**/
table {
    position: relative;
    border-collapse: collapse;
    width: 100%;
    font-family: 'Noto Sans', sans-serif;
}

table::after {
    content: '';
    position: absolute;
    top: -14.5%;
    right: 0;
    display: inline-block;
    width: calc((230 / 670) * 100%);
    aspect-ratio: 236 / 85;
    background-image: url('img/icon-recommend_240920.png');
    background-size: cover;
    background-repeat: no-repeat;
}

td {
    border: 1px solid #8f8f8f;
    text-align: center;
    position: relative;
    font-weight: bold;
    color: #534741;
}

.no-border {
    border: none;
}

.table-header {
    /* font-size: clamp(1.063rem, -0.049rem + 5.56vw, 1.688rem); */
    font-size: clamp(0.7973rem, -0.03675rem + 4.17vw, 1.266rem);
    padding: 0;
}

.cell-1-2,
.cell-1-3,
.cell-1-4 {
    position: relative;
}

.cell-1-2::after {
    content: '';
    position: absolute;
    right: -6%;
    bottom: -7%;
    z-index: 100;
    display: inline-block;
    width: 25%;
    aspect-ratio: 52 / 110;
    background-image: url('img/lotion.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.cell-1-3::after {
    content: '';
    position: absolute;
    right: -8%;
    bottom: -7%;
    z-index: 100;
    display: inline-block;
    width: 32%;
    aspect-ratio: 68 / 110;
    background-image: url('img/serum.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.cell-1-4::after {
    content: '';
    position: absolute;
    right: -6%;
    bottom: -7%;
    z-index: 100;
    display: inline-block;
    width: 31%;
    aspect-ratio: 68 / 57;
    background-image: url('img/cream.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.cell-2-1 {
    background-color: #f8d4d4;
}

.cell-3-1 {
    color: #fff;
    background-color: #db5c95;
    padding-bottom: 0.6em;
}

.cell-3-1::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -5px;
    width: calc(100% + 10px);
    height: 16px;
    background-color: #db5c95;
    border: 10px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* 3列目のセルの枠線をカスタムで描画 */
.cell-3-1::after,
.cell-3-2::after,
.cell-3-3::after,
.cell-3-4::after {
    content: '';
    position: absolute;
    top: -1px;
    bottom: -1px;
    right: -5px;
    width: 100%;
    /* グリーン枠線の幅を確保 */
    height: calc(100% + 2px);
    /* グリーン枠線の高さを確保 */
    border-right: 5px solid #db5c95;
    border-left: 5px solid #db5c95;
}

.cell-3-1::after {
    border-top: 2px solid #db5c95;
    border-top-right-radius: 0;
}

.cell-3-4::after {
    border-bottom: 2px solid #db5c95;
    border-bottom-right-radius: 10px;
    /* 下の角を丸く */
    border-bottom-left-radius: 10px;
}

td:first-child {
    width: 27%;
    background-color: #fcfae7;
    font-size: clamp(0.625rem, -0.042rem + 3.33vw, 1rem);
    letter-spacing: -0.02em;
    padding: 1.67em 8px;
}

td:first-child span {
    color: #db5c95;
    font-size: 1.25em;
}

td:nth-child(2) {
    width: 28%;
    font-size: clamp(1.063rem, -0.049rem + 5.56vw, 1.688rem);
}
td:nth-child(2).table-header {
    font-size: clamp(0.7973rem, -0.03675rem + 4.17vw, 1.266rem);
}

td:last-child {
    width: 32%;
}

tr:not(:first-child) td:last-child {
    color: #db5c95;
    font-size: clamp(1.625rem, 0.069rem + 7.78vw, 2.5rem);
}

tr:first-child td:first-child {
    background-color: transparent;
}

.unit {
    display: inline-flex;
    flex-direction: column-reverse;
    font-size: 0.53em;
    line-height: 1.1;
    vertical-align: middle;
    margin-left: -0.2em;
    margin-top: -0.3em;
}

.unit span {
    font-size: 0.375em;
}

/* END 価格表 */

.message {
    text-align: center;
    background-image: url('img/bg-purchase.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.message-inner {
    padding: calc((93 / 750) * 100%) 0 calc((450 / 750) * 100%);
}

.message-text {
    font-size: clamp(0.75rem, -0.028rem + 3.89vw, 1.188rem);
    font-weight: 600;
    line-height: 2;
    color: #534741;
}

.message-text span {
    font-size: 1.43em;
    font-weight: 800;
    color: #db5c95;
}

/* フッター */
.footer {
    padding: calc((30 / 750) * 100%);
    color: #fff;
    background-color: #db5c95;
    font-family: 'Noto Sans';
}

.footer-link {
    display: flex;
    justify-content: center;
    gap: 3%;
}

.footer-link a {
    font-size: clamp(0.563rem, 0.007rem + 2.78vw, 0.875rem);
    line-height: 1.5;
    color: #fff;
}

.copyright {
    display: block;
    text-align: center;
    font-size: clamp(0.563rem, 0.007rem + 2.78vw, 0.875rem);
    line-height: 1.5;
}
