/* ==========================================
   リセットとベーススタイル
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    background-color: #000000;
    color: #FFFFFF;
    line-height: 1.8;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   ヘッダーバナー
   ========================================== */
.hero-banner {
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   コンテナ
   ========================================== */
.container {
    max-width: 100%;
    margin: 0 auto;
}

/* ==========================================
   サイトヘッダー
   ========================================== */
.site-header {
    text-align: center;
    padding: 40px 20px 30px;
    border-bottom: 2px solid #E60012;
    margin-bottom: 40px;
}

.site-title-ja {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: #FFFFFF;
}

.site-title-en {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 15px;
    color: #E60012;
    text-transform: uppercase;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.site-subtitle {
    font-size: 14px;
    color: #999;
    letter-spacing: 1px;
}

/* ==========================================
   トップページ - 商品選択
   ========================================== */
.product-selection {
    padding: 0 20px 40px;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.product-card {
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #FFF;
    transition: all 0.3s ease;
    border: 2px solid #333;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(230, 0, 18, 0.3);
    border-color: #E60012;
}

.product-card.back-card:hover {
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
    border-color: #0066CC;
}

.card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #000;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 20px 15px;
    text-align: center;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    color: #E60012;
    margin-bottom: 8px;
    letter-spacing: 1px;
    line-height: 1.3;
}

.back-card .card-title {
    color: #0066CC;
}

.card-subtitle {
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
}

.card-description {
    font-size: 13px;
    line-height: 1.6;
    color: #CCC;
    margin-bottom: 15px;
    min-height: 60px;
}

.card-price {
    font-size: 24px;
    font-weight: bold;
    color: #E60012;
    margin-bottom: 15px;
}

.back-card .card-price {
    color: #0066CC;
}

.card-price .tax-note {
    font-size: 12px;
    color: #999;
}

.card-button {
    background-color: #E60012;
    color: #FFF;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
}

.back-card .card-button {
    background-color: #0066CC;
}

.product-card:hover .card-button {
    background-color: #cc0010;
}

.back-card:hover .card-button {
    background-color: #0052a3;
}

/* ==========================================
   詳細ページ - 戻るリンク
   ========================================== */
.back-link {
    padding: 20px 20px 10px;
}

.back-link a {
    color: #E60012;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.back-link a:hover {
    color: #cc0010;
    text-decoration: underline;
}

.detail-page .container {
    padding-top: 0;
}

/* ==========================================
   商品セクション共通
   ========================================== */
.product-section {
    padding: 40px 20px;
}

.chest-section {
    background-color: #000000;
}

.back-section {
    background-color: #0a0a0a;
    border-top: 3px solid #0066CC;
    margin-top: 40px;
}

/* 商品メイン画像 */
.product-hero {
    margin-bottom: 30px;
}

.product-hero img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* 商品ヘッダー */
.product-header {
    text-align: center;
    margin-bottom: 30px;
}

.product-title {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.chest-title {
    color: #E60012;
}

.back-title {
    color: #0066CC;
}

.product-catch {
    font-size: 16px;
    color: #CCC;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-price {
    font-size: 32px;
    font-weight: bold;
    color: #E60012;
}

.back-section .product-price {
    color: #0066CC;
}

.tax-note {
    font-size: 14px;
    color: #999;
}

/* ==========================================
   商品説明
   ========================================== */
.product-description {
    margin-bottom: 40px;
}

.product-description p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #DDD;
}

.desc-intro {
    font-size: 17px;
    font-weight: 500;
    color: #FFF;
}

/* 警告ボックス */
.warning-box {
    background-color: #1a0000;
    border: 2px solid #E60012;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
}

.back-section .warning-box {
    background-color: #000a1a;
    border-color: #0066CC;
}

.warning-box h3 {
    color: #E60012;
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}

.back-section .warning-box h3 {
    color: #0066CC;
}

.warning-box p {
    font-size: 15px;
    line-height: 1.8;
    color: #FFF;
}

.warning-box a {
    color: #E60012;
    text-decoration: underline;
    font-weight: bold;
}

.back-section .warning-box a {
    color: #0066CC;
}

.warning-box a:hover {
    opacity: 0.8;
}

/* 特徴セクション */
.features {
    margin-bottom: 30px;
}

.features-title {
    font-size: 18px;
    color: #E60012;
    margin-bottom: 15px;
    font-weight: bold;
}

.back-section .features-title {
    color: #0066CC;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #DDD;
    padding-left: 0;
}

.features-list li strong {
    color: #FFF;
}

.color-variation ul {
    list-style: none;
    padding: 0;
}

.color-variation li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
    color: #DDD;
}

.color-variation li strong {
    color: #FFF;
}

.note {
    font-size: 14px;
    color: #999;
    margin-top: 10px;
}

/* ==========================================
   ギャラリー
   ========================================== */
.product-gallery {
    margin-bottom: 40px;
}

.gallery-title {
    font-size: 20px;
    color: #E60012;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.back-section .gallery-title {
    color: #0066CC;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #333;
}

.gallery-caption {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

/* ==========================================
   購入エリア
   ========================================== */
.purchase-area {
    background-color: #1a1a1a;
    padding: 30px 20px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.back-section .purchase-area {
    background-color: #0f0f0f;
}

.purchase-title {
    font-size: 20px;
    color: #E60012;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-section .purchase-title {
    color: #0066CC;
}

.type-select-wrapper {
    margin-bottom: 20px;
}

.type-select-btn {
    width: 100%;
    background: linear-gradient(135deg, #E60012 0%, #cc0010 100%);
    color: #FFF;
    border: none;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(230, 0, 18, 0.3);
}

.back-section .type-select-btn {
    background: linear-gradient(135deg, #0066CC 0%, #0052a3 100%);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.type-select-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 0, 18, 0.4);
}

.back-section .type-select-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.type-select-btn:active {
    transform: translateY(0);
}

.type-select-btn .btn-main {
    display: block;
    font-size: 20px;
    margin-bottom: 8px;
    letter-spacing: 2px;
    text-align: center;
}

.type-select-btn .sub-text {
    display: block;
    font-size: 14px;
    opacity: 0.9;
    text-align: center;
}

/* ==========================================
   カート追加成功メッセージ
   ========================================== */
.add-success-message {
    background-color: #1a1a1a;
    border: 2px solid #E60012;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    margin: 20px 20px 0;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    font-size: 60px;
    color: #E60012;
    margin-bottom: 15px;
    animation: scaleIn 0.5s ease-in-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-text {
    font-size: 18px;
    font-weight: bold;
    color: #FFF;
}

/* ==========================================
   インラインナビゲーション（カート追加後）
   ========================================== */
.product-navigation-inline {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================
   商品ナビゲーション
   ========================================== */
.product-navigation {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: #0a0a0a;
    border-radius: 12px;
    margin: 30px 20px;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
}

.nav-btn .btn-icon {
    margin-right: 8px;
    font-size: 18px;
}

.primary-btn,
.primary-btn-chest {
    background-color: #E60012;
    color: #FFF;
    border: 2px solid #E60012;
}

.primary-btn:hover,
.primary-btn-chest:hover {
    background-color: #cc0010;
    border-color: #cc0010;
    transform: translateY(-2px);
}

.primary-btn-back {
    background-color: #0066CC;
    color: #FFF;
    border: 2px solid #0066CC;
}

.primary-btn-back:hover {
    background-color: #0052a3;
    border-color: #0052a3;
    transform: translateY(-2px);
}

.back-section .primary-btn {
    background-color: #0066CC;
    border-color: #0066CC;
}

.back-section .primary-btn:hover {
    background-color: #0052a3;
    border-color: #0052a3;
}

.secondary-btn {
    background-color: transparent;
    color: #999;
    border: 2px solid #333;
}

.secondary-btn:hover {
    background-color: #1a1a1a;
    color: #FFF;
    border-color: #666;
}

/* ==========================================
   選択コンテナ（Color/Size選択）
   ========================================== */
.selection-container {
    padding: 0 20px;
    margin-bottom: 30px;
}

.selection-section {
    margin-bottom: 30px;
}

.selection-section h2 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #E60012;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* ボタングループ */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.select-btn {
    background-color: #1a1a1a;
    color: #FFF;
    border: 2px solid #333;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    text-align: left;
    position: relative;
}

.select-btn .sub-text {
    display: block;
    font-size: 12px;
    color: #999;
    font-weight: normal;
    margin-top: 4px;
}

.select-btn:hover {
    background-color: #2a2a2a;
    border-color: #E60012;
}

.select-btn.active {
    background-color: #E60012;
    border-color: #E60012;
    color: #FFF;
}

.select-btn.active .sub-text {
    color: #FFF;
}

.select-btn:disabled {
    background-color: #0a0a0a;
    border-color: #222;
    color: #555;
    cursor: not-allowed;
}

.select-btn:disabled .sub-text {
    color: #333;
}

.select-btn.sold-out::after {
    content: 'SOLD OUT';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #E60012;
    font-weight: bold;
}

/* ==========================================
   カート追加セクション
   ========================================== */
.add-to-cart-section {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.selected-info {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.selected-info p {
    font-size: 14px;
    line-height: 1.8;
}

/* 数量セレクター */
.quantity-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.qty-btn {
    width: 50px;
    height: 50px;
    background-color: #2a2a2a;
    color: #FFF;
    border: 1px solid #444;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background-color: #E60012;
    border-color: #E60012;
}

.qty-btn:disabled {
    background-color: #0a0a0a;
    border-color: #222;
    color: #555;
    cursor: not-allowed;
}

#quantity {
    width: 70px;
    height: 50px;
    text-align: center;
    background-color: #000;
    color: #FFF;
    border: 1px solid #444;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
}

/* カートに追加ボタン */
.add-to-cart-btn {
    width: 100%;
    background-color: #E60012;
    color: #FFF;
    border: none;
    padding: 18px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.add-to-cart-btn:hover {
    background-color: #cc0010;
}

.add-to-cart-btn:disabled {
    background-color: #333;
    color: #666;
    cursor: not-allowed;
}

.stock-info {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    color: #999;
}

/* ==========================================
   カートセクション
   ========================================== */
.cart-section {
    background-color: #1a1a1a;
    padding: 30px 20px;
    border-radius: 12px;
    margin: 0 20px 40px;
}

.cart-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #E60012;
    text-align: center;
}

.cart-item {
    background-color: #0a0a0a;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid #222;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h3 {
    font-size: 14px;
    margin-bottom: 5px;
}

.cart-item-info p {
    font-size: 12px;
    color: #999;
}

.cart-item-price {
    font-size: 16px;
    font-weight: bold;
    color: #E60012;
}

.cart-item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-qty-btn {
    width: 30px;
    height: 30px;
    background-color: #2a2a2a;
    color: #FFF;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.cart-qty-btn:hover {
    background-color: #E60012;
}

.cart-qty {
    font-size: 14px;
    min-width: 30px;
    text-align: center;
}

.remove-btn {
    background-color: transparent;
    color: #E60012;
    border: 1px solid #E60012;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.remove-btn:hover {
    background-color: #E60012;
    color: #FFF;
}

.cart-summary {
    margin-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 10px;
    color: #DDD;
}

.shipping-row {
    font-size: 14px;
    color: #999;
}

.summary-note {
    font-size: 12px;
    color: #999;
    margin: 10px 0 15px;
    text-align: right;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: bold;
    padding-top: 15px;
    border-top: 2px solid #E60012;
    margin-top: 15px;
}

.cart-total p {
    font-size: 20px;
    font-weight: bold;
}

#cart-total {
    color: #E60012;
}

/* 注文手続きボタン */
.checkout-btn {
    width: 100%;
    background-color: #E60012;
    color: #FFF;
    border: none;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    margin-top: 20px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.checkout-btn:hover {
    background-color: #cc0010;
}

/* ==========================================
   共通インフォメーション
   ========================================== */
.info-section {
    padding: 40px 20px;
    background-color: #0a0a0a;
    border-top: 2px solid #333;
}

.info-block {
    margin-bottom: 40px;
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-title {
    font-size: 20px;
    color: #E60012;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.info-image {
    margin-bottom: 20px;
    text-align: center;
}

.info-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 0 auto;
}

.info-text {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
}

.info-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
    color: #DDD;
}

.info-text p:last-child {
    margin-bottom: 0;
}

.info-text strong {
    color: #FFF;
}

.laundry-list {
    list-style: none;
    padding: 0;
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
}

.laundry-list li {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
    color: #DDD;
    padding-left: 20px;
    position: relative;
}

.laundry-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #E60012;
    font-size: 18px;
}

.laundry-list li:last-child {
    margin-bottom: 0;
}

/* ==========================================
   モーダル（特定商取引法）
   ========================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    overflow-y: auto;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.modal-content {
    background-color: #1a1a1a;
    border: 2px solid #E60012;
    border-radius: 12px;
    padding: 40px 20px 30px;
    max-width: 600px;
    width: 100%;
    margin: 40px auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(230, 0, 18, 0.5);
    animation: modalFadeIn 0.3s ease-in-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: #E60012;
    color: #FFF;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background-color: #cc0010;
    transform: rotate(90deg);
}

.tokusho-title {
    font-size: 20px;
    color: #E60012;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    letter-spacing: 1px;
}

.tokusho-list {
    background-color: #0a0a0a;
    border-radius: 8px;
    padding: 20px;
}

.tokusho-list dt {
    font-size: 14px;
    font-weight: bold;
    color: #E60012;
    margin-top: 20px;
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid #333;
}

.tokusho-list dt:first-child {
    margin-top: 0;
}

.tokusho-list dd {
    font-size: 16px;
    line-height: 1.8;
    color: #DDD;
    margin-left: 0;
    margin-bottom: 0;
}

.tokusho-list dd a {
    color: #E60012;
    text-decoration: none;
}

.tokusho-list dd a:hover {
    text-decoration: underline;
}

.tokusho-notes {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.tokusho-notes li {
    font-size: 15px;
    line-height: 1.8;
    color: #DDD;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.tokusho-notes li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #E60012;
}

.tokusho-notes li:last-child {
    margin-bottom: 0;
}

/* ==========================================
   フッター
   ========================================== */
.site-footer {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 12px;
    border-top: 1px solid #222;
}

.site-footer p {
    margin-bottom: 10px;
}

.site-footer a {
    color: #E60012;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* ==========================================
   レスポンシブ対応
   ========================================== */
@media (max-width: 767px) {
    .site-title-ja {
        font-size: 22px;
        letter-spacing: 0px;
    }
    
    .site-title-en {
        font-size: 17px;
    }
    
    .site-title {
        font-size: 20px;
    }
    
    .site-subtitle {
        font-size: 12px;
    }
    
    .product-cards {
        gap: 10px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .card-description {
        font-size: 12px;
        min-height: 55px;
    }
    
    .card-price {
        font-size: 20px;
    }
    
    .card-content {
        padding: 15px 10px;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .product-price {
        font-size: 28px;
    }
    
    .gallery-grid {
        gap: 8px;
    }
    
    .qty-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    #quantity {
        width: 60px;
        height: 45px;
        font-size: 18px;
    }
    
    .modal {
        padding: 10px;
    }
    
    .modal-content {
        padding: 35px 15px 25px;
        margin: 20px auto;
    }
    
    .tokusho-title {
        font-size: 18px;
    }
    
    .tokusho-list {
        padding: 15px;
    }
    
    .tokusho-list dt {
        font-size: 13px;
    }
    
    .tokusho-list dd {
        font-size: 15px;
    }
    
    .tokusho-notes li {
        font-size: 14px;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 768px;
    }
    
    .product-cards {
        gap: 20px;
        max-width: 700px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .card-description {
        font-size: 14px;
        min-height: 70px;
    }
    
    .card-price {
        font-size: 28px;
    }
    
    .card-button {
        font-size: 16px;
        padding: 14px 24px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .site-title-ja {
        font-size: 28px;
    }
    
    .site-title-en {
        font-size: 20px;
    }
    
    .site-title {
        font-size: 32px;
    }
    
    .product-title {
        font-size: 36px;
    }
    
    .product-navigation {
        flex-direction: row;
        gap: 15px;
    }
    
    .product-navigation-inline {
        flex-direction: row;
        gap: 15px;
    }
    
    .nav-btn {
        flex: 1;
    }
}
