/* ベースリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    background-color: #fafafa; /* PCで見た時の背景色 */
    color: #262626;
}

/* アプリ風コンテナ（PCでもスマホサイズに固定） */
.app-container {
    max-width: 480px;
    margin: 0 auto;
    background-color: #ffffff;
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 15px rgba(0,0,0,0.05); /* PC閲覧時に浮き出して見えるように */
    padding-top: 60px; /* ヘッダーの高さ分 */
    padding-bottom: 60px; /* フッターの高さ分 */
}

/* ヘッダー */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    height: 60px;
    border-bottom: 1px solid #dbdbdb;
    background-color: #ffffff;
    position: fixed; /* 上部固定 */
    top: 0;
    width: 100%;
    max-width: 480px; /* コンテナと同じ幅 */
    z-index: 100;
}

.site-title {
    font-size: 18px;
    font-weight: bold;
}

.header-icons {
    font-size: 22px;
}
/* ロゴエリア */
.header-logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 34px; /* ヘッダーの高さに合わせて微調整してください */
    width: auto;
    display: block;
}

/* サイトタイトルを画面から隠す（SEO対策用） */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ヘッダー全体の高さ調整（もしロゴに合わせて高くしたい場合） */
.app-header {
    height: 50px; /* Instagram風に少しタイトにするなら50px程度 */
    /* ...その他の設定はそのまま... */
}
/* フィード投稿スタイル */
.feed-post {
    border-bottom: 1px solid #dbdbdb;
    padding-bottom: 15px;
    margin-bottom: 10px;
}

.post-header {
    display: flex;
    align-items: center;
    padding: 12px 15px;
}

.user-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ffb6c1;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.user-name {
    font-weight: bold;
    font-size: 14px;
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-actions {
    padding: 10px 15px;
    font-size: 24px;
}

.post-actions i {
    margin-right: 15px;
    cursor: pointer;
}

.post-caption {
    padding: 0 15px;
    font-size: 14px;
    line-height: 1.5;
}

/* ボトムナビゲーション（フッター） */
.bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    border-top: 1px solid #dbdbdb;
    background-color: #ffffff;
    position: fixed; /* 下部固定 */
    bottom: 0;
    width: 100%;
    max-width: 480px;
    z-index: 100;
}

.nav-item {
    color: #262626;
    font-size: 24px;
    text-decoration: none;
}

.nav-item.active {
    color: #000000;
}
/* 商品情報エリア */
.product-summary {
    padding: 10px 15px;
}
.product-title {
    font-size: 16px;
    margin-bottom: 5px;
}
.review-stars {
    color: #ffd700;
    font-size: 14px;
    margin-bottom: 8px;
}
.review-score {
    color: #666;
    margin-left: 5px;
}
.price-area {
    margin-bottom: 12px;
}
.price-regular {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
    margin-right: 10px;
}
.price-discount {
    color: #e60012;
    font-size: 16px;
}
.price-discount strong {
    font-size: 22px;
}

/* 共通ボタン */
.btn-primary {
    display: block;
    width: 100%;
    padding: 12px 0;
    background-color: #262626;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
}

/* ストーリーズ風エリア */
.stories-wrapper {
    display: flex;
    overflow-x: auto; /* 横スクロール可能に */
    padding: 15px;
    border-bottom: 1px solid #dbdbdb;
    background-color: #fff;
    gap: 15px;
}
.stories-wrapper::-webkit-scrollbar {
    display: none; /* スクロールバーを隠す */
}
.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    min-width: 68px;
}
/* インスタ風のグラデーションリング */
.story-ring {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}
.story-ring img {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 2px solid #fff; /* グラデーションとの間の白いフチ */
    object-fit: cover;
}
.story-text {
    font-size: 11px;
    color: #262626;
}

/* モーダル (ビフォーアフター拡大表示) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.modal-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    object-fit: contain;
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}
/* ------------------------------
   いいね機能のスタイル
------------------------------ */

/* いいねボタンの基本設定（アニメーションの準備） */
.like-button {
    cursor: pointer;
    transition: transform 0.2s ease;
}

/* いいねされた時のスタイル（色と跳ねるアニメーション） */
.like-button.liked {
    color: #ffb6c1; /* アクセントカラーのピンク */
    animation: pop 0.3s ease-in-out;
}

/* いいね数のテキストエリア */
.like-text {
    padding: 0 15px;
    font-size: 14px;
    margin-bottom: 8px;
    color: #262626;
}

/* 跳ねるアニメーションの設定 */
@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); } /* 1.3倍に膨らむ */
    100% { transform: scale(1); }  /* 元に戻る */
}
/* ------------------------------
   ページ内スクロールと口コミエリアのスタイル
------------------------------ */

/* ページ全体のスクロールを滑らかにする設定 */
html {
    scroll-behavior: smooth;
}

/* コメントアイコンのリンク色リセット */
.scroll-link {
    color: inherit;
    text-decoration: none;
}

/* 口コミ一覧エリア全体の背景や余白 */
.reviews-container {
    padding: 20px 15px 40px;
    background-color: #f9f9f9;
    border-top: 1px solid #dbdbdb;
}

/* 「カスタマーレビュー」の見出しデザイン */
.reviews-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: #262626;
    border-left: 4px solid #ffb6c1; /* 指定いただいたピンクのアクセント */
    padding-left: 8px;
}

/* 個別の口コミボックス */
.review-item {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

/* 年代・性別と星の配置 */
.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

/* ユーザー属性（年代・性別）のバッジ風デザイン */
.review-user-info {
    font-size: 13px;
    color: #666;
    background-color: #f0f0f0;
    padding: 2px 8px;
    border-radius: 10px;
}

/* 口コミごとの星の色 */
.review-item-stars {
    color: #ffd700;
    font-size: 13px;
}

/* 口コミ本文のテキスト */
.review-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}
/* ------------------------------
   インスタ風全成分表示のデザイン
------------------------------ */

/* 全成分表示エリア全体のコンテナ */
.product-details-content {
    background-color: #fafafa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

/* タイトルのデザイン */
.details-title {
    font-size: 15px;
    color: #262626;
    margin-bottom: 8px;
    font-weight: bold;
}

/* タイトルのアイコンの色 */
.details-title i {
    color: #ffb6c1; /* アクセントカラーのピンク */
    margin-right: 5px;
}

/* 導入テキストのスタイル */
.details-intro {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* 各カテゴリーのグループ全体のレイアウト */
.ingredients-section {
    display: flex;
    flex-wrap: wrap; /* 横に並べて、入りきらなくなったら折り返す */
    gap: 15px; /* グループ間の余白 */
}

/* 個別のカテゴリーグループ */
.ingredient-group {
    flex: 1 1 calc(50% - 15px); /* 基本は2カラムで、スマホなどの狭い画面では1カラムになる */
    min-width: 140px; /* 最低の幅を確保 */
    background-color: #ffffff;
    padding: 12px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

/* カテゴリーのタイトル */
.group-title {
    font-size: 13px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

/* カテゴリータイトルのアイコンの色 */
.group-title i {
    color: #ffb6c1; /* アクセントカラーのピンク */
    margin-right: 8px;
    font-size: 14px;
}

/* 成分リストの基本スタイル */
.ingredient-list {
    list-style: none; /* リストの「・」を消す */
    font-size: 12px;
    color: #555;
    line-height: 1.8;
}

/* 成分リストの前に「・」を表示する */
.ingredient-list li::before {
    content: "•";
    color: #ffb6c1; /* アクセントカラーのピンク */
    margin-right: 5px;
}

/* (補足情報) のテキストのスタイル */
.sub-ingredient {
    color: #999;
    font-size: 11px;
}

/* その他成分のような、インラインで表示するリスト */
.ingredient-list-inline {
    list-style: none;
    font-size: 11px;
    color: #777;
    line-height: 1.6;
}
/* ------------------------------
   特徴紹介ブロック（タイトル・画像・説明文）
------------------------------ */

/* ブロック全体をカード風にまとめる */
.feature-block {
    background-color: #ffffff;
    border-radius: 12px; /* 少し大きめの角丸で優しく */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* ふんわりとした影 */
    margin-bottom: 25px;
    overflow: hidden; /* 画像が角丸からはみ出ないようにする */
    border: 1px solid #f0f0f0;
}

/* タイトル部分 */
.feature-title {
    font-size: 16px;
    color: #262626;
    padding: 15px;
    margin: 0;
    font-weight: bold;
    display: flex;
    align-items: center;
    background-color: #fff;
}

/* タイトルのアイコン */
.feature-title i {
    color: #ffb6c1; /* アクセントカラーのピンク */
    margin-right: 8px;
    font-size: 18px;
}

/* 画像エリア（左右いっぱいに広げる） */
.feature-image {
    width: 100%;
    /* 画像の上下にほんの少しだけ線を引いてメリハリをつける */
    border-top: 1px solid #f5f5f5;
    border-bottom: 1px solid #f5f5f5;
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 説明文エリア */
.feature-text {
    padding: 18px 15px;
    background-color: #fff;
}

/* 説明文エリアの段落（pタグ）設定 */
.feature-text p {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    margin: 0 0 1.5em 0; /* 下に1.5文字分の余白を作る */
}

/* ★ワンポイント：最後の段落の下の余白を消す */
.feature-text p:last-child {
    margin-bottom: 0;
}
/* ------------------------------
   商品説明エリアの余白調整
------------------------------ */
.product-description-area {
    padding: 0 15px; /* 左右に少し余白を持たせる */
    margin-bottom: 30px;
}

/* ------------------------------
   下部の購入導線エリア（クロージング）
------------------------------ */
.bottom-cta-area {
    background-color: #fff0f5; /* ほんのり優しいピンクの背景で目立たせる */
    padding: 30px 20px;
    text-align: center;
    border-top: 2px dashed #ffb6c1; /* 点線で切り取り線のような可愛さを */
    margin-bottom: 20px;
}

/* クロージング用のタイトル */
.cta-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

/* クロージング用の価格表示の調整 */
.cta-price {
    margin-bottom: 20px;
}

.cta-price .price-regular {
    font-size: 14px;
}

.cta-price .price-discount strong {
    font-size: 28px; /* 下部の価格はより大きく見せる */
}

/* 下部のボタンは少し大きく、丸みを持たせて押しやすくする */
.btn-large {
    padding: 16px 0;
    font-size: 18px;
    border-radius: 30px; /* カプセル型にしてタップしやすく */
    box-shadow: 0 4px 10px rgba(255, 182, 193, 0.5); /* ピンク色の影をつける */
}

/* ボタンの下の安心テキスト */
.cta-note {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}
/* ------------------------------
   よくある質問（FAQ）アコーディオン
------------------------------ */
.faq-section {
    padding: 0 15px;
    margin-bottom: 30px;
}

.faq-section-title {
    font-size: 16px;
    color: #262626;
    margin-bottom: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.faq-section-title i {
    color: #ffb6c1; /* アクセントカラーのピンク */
    margin-right: 8px;
    font-size: 18px;
}

/* 質問の箱全体 */
.faq-item {
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

/* 質問部分（タップできるボタン） */
.faq-question {
    width: 100%;
    text-align: left;
    padding: 15px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    -webkit-tap-highlight-color: transparent; /* スマホでタップした時の青い枠を消す */
}

/* Qのアイコン */
.faq-q-icon {
    color: #ffb6c1;
    font-size: 18px;
    margin-right: 10px;
    font-family: Arial, sans-serif;
}

.faq-q-text {
    flex-grow: 1;
    line-height: 1.4;
}

/* 右側の矢印アイコン */
.faq-toggle-icon {
    color: #999;
    transition: transform 0.3s ease; /* 回転アニメーション */
}

/* 開いたときに矢印を上に向ける */
.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
}

/* 答えのエリア（初期状態は高さゼロで隠す） */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease; /* スッと開くアニメーション */
    background-color: #fafafa;
}

/* 開いたときに高さを広げて表示する */
.faq-item.active .faq-answer {
    max-height: 500px; /* 十分な高さを確保 */
    border-top: 1px dashed #eee;
}

.faq-answer p {
    padding: 15px;
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    display: flex;
}

/* Aのアイコン */
.faq-a-icon {
    color: #999;
    font-size: 16px;
    font-weight: bold;
    margin-right: 10px;
    font-family: Arial, sans-serif;
}
/* ------------------------------
   カート画面のデザイン
------------------------------ */
.cart-page {
    padding: 20px 15px 40px;
    background-color: #f9f9f9;
    min-height: calc(100vh - 120px);
}

.cart-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #ffb6c1;
    padding-bottom: 10px;
}

.cart-item {
    display: flex;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
}

.cart-item-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-item-name {
    font-size: 15px;
    margin-bottom: 8px;
    color: #262626;
}

.cart-item-price-qty {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

.cart-item-price {
    font-weight: bold;
    color: #e60012;
}

.cart-total-area {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.cart-total-final {
    border-top: 1px dashed #ccc;
    padding-top: 15px;
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #262626;
}

.empty-cart {
    text-align: center;
    padding: 50px 0;
    color: #888;
}

/* ------------------------------
   カートの通知バッジ（フッター用）
------------------------------ */
.cart-icon-wrapper {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: 5px;
    right: 20px;
    background-color: #e60012;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff;
}
/* ------------------------------
   カート画面のコントロール部分（数量・削除）
------------------------------ */
.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

/* 数量変更（＋/－）のデザイン */
.qty-form {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    background-color: #f5f5f5;
    border: none;
    width: 30px;
    height: 30px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
}

.qty-btn:active {
    background-color: #e0e0e0;
}

.qty-display {
    width: 30px;
    text-align: center;
    font-size: 14px;
    background-color: #fff;
    line-height: 30px;
}

/* 削除ボタンのデザイン */
.delete-form {
    margin: 0;
}

.btn-delete {
    background: none;
    border: none;
    color: #999;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    display: flex;
    align-items: center;
}

.btn-delete i {
    margin-right: 4px;
    font-size: 14px;
}

.btn-delete:hover {
    color: #e60012;
}
/* ------------------------------
   レジ画面（checkout.php）のデザイン
------------------------------ */
.checkout-page {
    padding: 20px 15px 40px;
    background-color: #f9f9f9;
}

.checkout-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.checkout-section-title {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

/* 支払い方法のラジオボタンデザイン */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-label {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    color: #333;
    transition: all 0.2s ease;
}

.payment-label i {
    margin: 0 10px 0 5px;
    font-size: 18px;
    color: #666;
}

/* 選択された時の枠線をピンクにする */
.payment-label:has(input:checked) {
    border-color: #ffb6c1;
    background-color: #fff0f5; /* ほんのりピンク背景 */
}

.payment-label:has(input:checked) i {
    color: #ffb6c1;
}

/* 標準の丸いラジオボタンを隠してカスタムする */
.payment-radio {
    display: none;
}

.payment-custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
}

.payment-radio:checked + .payment-custom-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #ffb6c1;
    border-radius: 50%;
}

/* フォーム入力欄のデザイン */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fafafa;
}

.form-input:focus {
    outline: none;
    border-color: #ffb6c1;
    background-color: #fff;
}

.checkout-summary {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
/* ------------------------------
   フォームの必須マーク
------------------------------ */
.required-mark {
    background-color: #e60012;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    vertical-align: middle;
    font-weight: normal;
}
/* ------------------------------
   フォームの任意マーク
------------------------------ */
.optional-mark {
    background-color: #999;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    vertical-align: middle;
    font-weight: normal;
}
/* ------------------------------
   ご注文完了ページ（complete.php）
------------------------------ */
.complete-page {
    padding: 40px 15px 60px;
    background-color: #fafafa;
    min-height: calc(100vh - 120px);
}

/* 上部のサンクスメッセージエリア */
.complete-header {
    text-align: center;
    margin-bottom: 30px;
}

.complete-icon {
    position: relative;
    display: inline-block;
    font-size: 50px;
    color: #dbdbdb;
    margin-bottom: 15px;
}

.check-mark {
    position: absolute;
    bottom: -5px;
    right: -10px;
    background-color: #ffb6c1; /* ピンクのチェックマーク */
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    border: 3px solid #fafafa;
}

.complete-title {
    font-size: 20px;
    color: #262626;
    margin-bottom: 10px;
}

.complete-text {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* 支払い方法ごとの案内エリア */
.payment-instruction {
    background-color: #fff;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.instruction-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

.instruction-title i {
    color: #ffb6c1;
    margin-right: 8px;
    font-size: 20px;
}

.payment-instruction p {
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

.instruction-note {
    font-size: 12px !important;
    color: #e60012 !important; /* 注意書きは少し赤く */
    margin-top: 15px;
}

/* PayPay専用の手順ステップデザイン */
.paypay-alert {
    color: #e60012 !important;
    font-weight: bold;
    text-align: center;
    background-color: #fff0f5;
    padding: 10px;
    border-radius: 6px;
}

.paypay-steps {
    margin-top: 20px;
}

.step-item {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.step-num {
    background-color: #ffb6c1;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}

/* 追加：テキストと画像を縦に並べるための箱 */
.step-content {
    flex-grow: 1;
    padding-top: 2px; /* 数字バッジとテキストの高さを合わせる */
}

.step-item p {
    margin: 0;
    line-height: 1.5;
}

/* QRコードを少し大きめに、スキャンしやすく目立たせる */
.qr-code-img {
    display: block;
    width: 220px; /* 150pxから220pxに変更して大きくしました */
    height: auto;
    margin: 15px 0 10px; /* 上下に余白をとる */
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* 少しフワッと浮かせる */
}

/* 銀行情報の表デザイン */
.bank-info-box {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.bank-details {
    margin: 0;
    font-size: 14px;
}

.bank-details dt {
    float: left;
    width: 80px;
    color: #666;
    clear: both;
    margin-bottom: 8px;
}

.bank-details dd {
    margin-left: 80px;
    color: #222;
    font-weight: bold;
    margin-bottom: 8px;
}

/* 代引・クレジットカード用の枠 */
.cod-info-box, .shipping-wait-box {
    background-color: #fff0f5;
    border: 1px dashed #ffb6c1;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.cod-info-box strong {
    font-size: 20px;
    color: #e60012;
}

.shipping-wait-box i {
    font-size: 24px;
    color: #ffb6c1;
    margin-bottom: 10px;
    display: block;
}
/* ------------------------------
   PayPay詳細ガイド専用スタイル
------------------------------ */
.pp-container {
    background-color: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px 15px;
    margin-top: 20px;
}

.pp-amount-label {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px !important;
}

.pp-amount {
    text-align: center;
    font-size: 28px !important;
    font-weight: bold;
    color: #262626 !important;
    margin-bottom: 20px !important;
}

.pp-qr-box {
    text-align: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.pp-save-hint {
    font-size: 12px !important;
    color: #e60012 !important;
    font-weight: bold;
    margin-bottom: 10px !important;
}

.pp-qr-img {
    width: 220px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* PayPayアプリ起動ボタン */
.pp-btn-launch {
    display: block;
    width: 100%;
    background-color: #ff0032; /* PayPayに近い赤色 */
    color: #fff;
    text-align: center;
    padding: 16px 0;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(255, 0, 50, 0.3);
}

.pp-steps-title {
    font-size: 16px !important;
    font-weight: bold;
    color: #333 !important;
    border-bottom: 2px solid #ffb6c1;
    padding-bottom: 8px;
    margin-bottom: 15px !important;
}

.pp-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    background-color: #fff;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
}

.pp-step .step-num {
    background-color: #ffb6c1;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}

.pp-step .step-desc {
    flex-grow: 1;
    font-size: 13px;
    line-height: 1.6;
    color: #444;
    padding-top: 2px;
}

.pp-step .step-desc small {
    color: #999;
    display: block;
    margin-top: 4px;
}

/* スキャンや画像マークの疑似ボタン */
.pp-icon-mock {
    display: inline-flex;
    align-items: center;
    background-color: #f5f5f5;
    padding: 4px 10px;
    border-radius: 4px;
    margin-top: 8px;
    font-size: 12px;
    color: #333;
    border: 1px solid #ddd;
}

.pp-icon-mock i {
    font-size: 14px;
    margin-right: 6px;
}

.pp-footer-note {
    text-align: center;
    font-size: 12px;
    color: #e60012;
    margin-top: 20px;
}