/* ========================================
   簡単見積シミュレーター - スタイルシート
   ======================================== */

/* コンテナ */
.ses-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* スマホ時にテーマの幅制限を解除 */
@media (max-width: 768px) {

    body.page .ses-container,
    body.single .ses-container,
    .entry-content .ses-container,
    .site-content .ses-container,
    article .ses-container,
    main .ses-container {
        max-width: 100vw !important;
        width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .ses-container>* {
        padding-left: 15px;
        padding-right: 15px;
    }

    .ses-title {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* ステップインジケーターは左右のパディングを維持 */
    .ses-steps {
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-top: 12px !important;
    }

    /* スワイプエリアは左右のパディングを0に */
    .ses-options-grid,
    .ses-options-list,
    .ses-quantity-options {
        padding-left: 15px;
        padding-right: 0;
    }

    /* 最初のカードに左マージン */
    .ses-options-grid .ses-option-card:first-child,
    .ses-options-list .ses-option-card:first-child,
    .ses-quantity-card:first-child {
        margin-left: 0;
    }

    /* 最後のカードに右マージン */
    .ses-options-grid .ses-option-card:last-child,
    .ses-options-list .ses-option-card:last-child,
    .ses-quantity-card:last-child {
        margin-right: 15px;
    }
}

/* スマホ専用改行 - PCでは非表示 */
.ses-sp-br {
    display: none;
}

@media (max-width: 768px) {
    .ses-sp-br {
        display: block;
    }
}

.ses-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
}

/* ========================================
   カテゴリ選択画面
   ======================================== */

.ses-category-selector {
    animation: fadeIn 0.5s ease-in;
}

.ses-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.ses-category-card {
    position: relative;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.ses-category-card:hover {
    transform: translateY(-5px);
    border-color: #4CAF50;
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.2);
}

.ses-category-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ses-category-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.ses-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ses-category-card:hover .ses-category-image img {
    transform: scale(1.05);
}

.ses-category-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    padding: 12px 15px 5px;
}

.ses-category-card p {
    font-size: 13px;
    color: #666;
    margin: 0;
    padding: 0 15px 15px;
}

/* 準備中カテゴリのオーバーレイ */
.ses-category-card:has(.ses-coming-soon) {
    pointer-events: none;
}

.ses-category-card:has(.ses-coming-soon)::after {
    content: '準備中';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #999;
    border-radius: 10px;
    z-index: 10;
}

.ses-coming-soon {
    display: none;
}

/* カテゴリ選択画面の注意書き */
a.ses-category-note {
    grid-column: 1 / -1;
    text-align: center;
    margin: 20px 0 0;
    padding: 16px 24px;
    background: linear-gradient(135deg, #06C755 0%, #05B04A 100%);
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(6, 199, 85, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

a.ses-category-note:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(6, 199, 85, 0.4);
    background: linear-gradient(135deg, #05B04A 0%, #049040 100%);
    color: #fff;
    text-decoration: none;
}

a.ses-category-note:visited {
    color: #fff;
}

.ses-note-icon {
    font-size: 18px;
}

/* ========================================
   ウェアプリント計算画面
   ======================================== */

.ses-wear-calculator {
    animation: fadeIn 0.5s ease-in;
}

.ses-back-button {
    margin-bottom: 20px;
}

.ses-btn-back {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ses-btn-back:hover {
    background: #e0e0e0;
    color: #333;
}

/* ステップインジケーター */
.ses-steps {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    position: relative;
}

.ses-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.ses-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.ses-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.ses-step.active .ses-step-number {
    background: #4CAF50;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
}

.ses-step.completed .ses-step-number {
    background: #2196F3;
    color: #fff;
}

.ses-step-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.ses-step-label-short {
    display: none;
}

.ses-step.active .ses-step-label {
    color: #4CAF50;
    font-weight: 600;
}

/* ステップコンテンツ */
.ses-step-content {
    margin: 40px 0;
    animation: fadeIn 0.3s ease-in;
}

.ses-step-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

/* オプションカード(グリッド表示) */
.ses-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* オプションカード(リスト表示) */
.ses-options-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.ses-options-list .ses-option-card {
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.ses-options-list .ses-option-image {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
}

.ses-options-list .ses-option-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ses-options-list .ses-option-name {
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}

.ses-option-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    text-align: left;
}

.ses-option-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ses-option-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ses-option-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.ses-option-card:hover .ses-option-image img {
    transform: scale(1.05);
}

.ses-option-card:hover {
    border-color: #4CAF50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
    transform: translateY(-3px);
}

.ses-option-card.selected {
    border-color: #4CAF50;
    background: #fff;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25);
}

.ses-option-card.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #4CAF50;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 5;
}

/* その他オプションカード（LINE相談誘導） */
/* 基本スタイルは他のカードと同じ、画像部分でLINE連携を表現 */
.ses-option-other .ses-option-image {
    background: linear-gradient(135deg, #06C755 0%, #05B04A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ses-option-other .ses-option-image::before {
    content: '';
    display: block;
    width: 80px;
    height: 80px;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"%3E%3Cpath d="M19.365 9.863c.349 0 .63.285.63.631 0 .345-.281.63-.63.63H17.61v1.125h1.755c.349 0 .63.283.63.63 0 .344-.281.629-.63.629h-2.386c-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63h2.386c.346 0 .627.285.627.63 0 .349-.281.63-.63.63H17.61v1.125h1.755zm-3.855 3.016c0 .27-.174.51-.432.596-.064.021-.133.031-.199.031-.211 0-.391-.09-.51-.25l-2.443-3.317v2.94c0 .344-.279.629-.631.629-.346 0-.626-.285-.626-.629V8.108c0-.27.173-.51.43-.595.06-.023.136-.033.194-.033.195 0 .375.104.495.254l2.462 3.33V8.108c0-.345.282-.63.63-.63.345 0 .63.285.63.63v4.771zm-5.741 0c0 .344-.282.629-.631.629-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63.346 0 .628.285.628.63v4.771zm-2.466.629H4.917c-.345 0-.63-.285-.63-.629V8.108c0-.345.285-.63.63-.63.348 0 .63.285.63.63v4.141h1.756c.348 0 .629.283.629.63 0 .344-.282.629-.629.629M24 10.314C24 4.943 18.615.572 12 .572S0 4.943 0 10.314c0 4.811 4.27 8.842 10.035 9.608.391.082.923.258 1.058.59.12.301.079.766.038 1.08l-.164 1.02c-.045.301-.24 1.186 1.049.645 1.291-.539 6.916-4.078 9.436-6.975C23.176 14.393 24 12.458 24 10.314"/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.ses-option-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    padding: 12px 15px 5px;
    text-align: center;
}

.ses-option-description {
    font-size: 12px;
    color: #666;
    padding: 0 15px 10px;
    text-align: center;
    line-height: 1.5;
}

.ses-option-price {
    font-size: 14px;
    color: #666;
    padding: 0 15px 15px;
}

.ses-option-note {
    font-size: 11px;
    color: #ff9800;
    padding: 0 15px 12px;
    text-align: center;
}

/* 枚数選択 */
.ses-quantity-selector {
    max-width: 900px;
    margin: 0 auto;
}

.ses-quantity-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.ses-quantity-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ses-quantity-card:hover {
    border-color: #4CAF50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
    transform: scale(1.05);
}

.ses-quantity-card.selected {
    border-color: #4CAF50;
    background: #f1f8f4;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25);
}

.ses-quantity-label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.ses-quantity-note {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.ses-quantity-input-wrapper {
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
}

.ses-quantity-input-wrapper label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

#ses-quantity-input {
    width: 200px;
    padding: 12px;
    font-size: 18px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 20px;
}

#ses-quantity-input:focus {
    outline: none;
    border-color: #4CAF50;
}

.ses-btn-calculate {
    background: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ses-btn-calculate:hover {
    background: #45a049;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.ses-btn-calculate:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* ========================================
   結果表示
   ======================================== */

.ses-result {
    margin-top: 50px;
    padding: 30px;
    background: #fff;
    border: 2px solid #4CAF50;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.15);
}

.ses-result h3 {
    font-size: 24px;
    font-weight: 700;
    color: #4CAF50;
    margin-bottom: 25px;
    text-align: center;
}

.ses-result-summary {
    background: #f1f8f4;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.ses-result-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ses-result-label {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.ses-result-value {
    font-size: 16px;
    color: #333;
    white-space: pre-line;
}

.ses-result-breakdown {
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
    margin: 20px 0;
}

.ses-result-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    color: #666;
}

.ses-result-row span {
    font-size: 20px;
}

.ses-result-row span:last-child {
    font-weight: 600;
    color: #333;
}

/* 単価表示 */
.ses-result-unit-price-display {
    text-align: center;
    margin: 30px 0;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8f5e9 100%);
    border-radius: 12px;
}

.ses-unit-price-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.ses-unit-price-amount {
    font-size: 48px;
    font-weight: 700;
    color: #4CAF50;
    line-height: 1.2;
}

.ses-discount {
    font-size: 13px;
    color: #4CAF50;
    margin-left: 8px;
}

.ses-result-total {
    margin-top: 20px;
}

.ses-result-row-major {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    font-weight: 600;
    color: #333;
}

.ses-result-row-major span {
    font-size: 20px;
}

.ses-result-row-tax {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: #666;
}

.ses-result-row-tax span {
    font-size: 16px;
}

.ses-result-row-final {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    font-weight: 700;
    color: #4CAF50;
    border-top: 2px solid #4CAF50;
    margin-top: 10px;
}

.ses-result-row-final span {
    font-size: 24px;
}

.ses-result-notes {
    margin-top: 25px;
    padding: 20px;
    background: #fff9e6;
    border-left: 4px solid #ff9800;
    border-radius: 4px;
}

.ses-result-notes p {
    margin: 8px 0;
    font-size: 13px;
    line-height: 1.6;
    color: #666;
}

.ses-result-notes p:first-child {
    margin-top: 0;
}

.ses-result-notes p:last-child {
    margin-bottom: 0;
}

.ses-result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.ses-btn-reset,
.ses-btn-line {
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ses-btn-reset {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}

.ses-btn-reset:hover {
    background: #e0e0e0;
    color: #333;
}

.ses-btn-line {
    background: #06C755;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ses-btn-line::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"%3E%3Cpath d="M19.365 9.863c.349 0 .63.285.63.631 0 .345-.281.63-.63.63H17.61v1.125h1.755c.349 0 .63.283.63.63 0 .344-.281.629-.63.629h-2.386c-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63h2.386c.346 0 .627.285.627.63 0 .349-.281.63-.63.63H17.61v1.125h1.755zm-3.855 3.016c0 .27-.174.51-.432.596-.064.021-.133.031-.199.031-.211 0-.391-.09-.51-.25l-2.443-3.317v2.94c0 .344-.279.629-.631.629-.346 0-.626-.285-.626-.629V8.108c0-.27.173-.51.43-.595.06-.023.136-.033.194-.033.195 0 .375.104.495.254l2.462 3.33V8.108c0-.345.282-.63.63-.63.345 0 .63.285.63.63v4.771zm-5.741 0c0 .344-.282.629-.631.629-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63.346 0 .628.285.628.63v4.771zm-2.466.629H4.917c-.345 0-.63-.285-.63-.629V8.108c0-.345.285-.63.63-.63.348 0 .63.285.63.63v4.141h1.756c.348 0 .629.283.629.63 0 .344-.282.629-.629.629M24 10.314C24 4.943 18.615.572 12 .572S0 4.943 0 10.314c0 4.811 4.27 8.842 10.035 9.608.391.082.923.258 1.058.59.12.301.079.766.038 1.08l-.164 1.02c-.045.301-.24 1.186 1.049.645 1.291-.539 6.916-4.078 9.436-6.975C23.176 14.393 24 12.458 24 10.314"/%3E%3C/svg%3E');
    background-size: contain;
    background-repeat: no-repeat;
}

.ses-btn-line:hover {
    background: #05B04A;
}

/* ========================================
   トースト通知
   ======================================== */

.ses-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: pre-line;
    text-align: center;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    line-height: 1.6;
}

.ses-toast-show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ========================================
   アニメーション
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   モーダルウィンドウ
   ======================================== */

.ses-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.ses-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.ses-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.ses-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ses-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.ses-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.ses-modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.ses-modal-body {
    padding: 30px 24px;
}

.ses-quantity-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ses-quantity-input-group label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.ses-quantity-input-group input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 18px;
    text-align: center;
    transition: all 0.3s ease;
}

.ses-quantity-input-group input:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.ses-quantity-unit {
    font-size: 16px;
    color: #666;
}

.ses-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.ses-btn-modal-cancel {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ses-btn-modal-cancel:hover {
    background: #e0e0e0;
    color: #333;
}

.ses-modal-footer .ses-btn-calculate {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ses-modal-footer .ses-btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* ========================================
   スワイプヒント
   ======================================== */

.ses-swipe-hint {
    display: none;
    text-align: center;
    color: #999;
    font-size: 20px;
    margin-top: 10px;
    animation: swipeHintFade 2s ease-in-out infinite;
}

@keyframes swipeHintFade {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* ========================================
   レスポンシブ対応
   ======================================== */

@media (max-width: 768px) {
    .ses-swipe-hint {
        display: block;
    }

    .ses-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

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

    .ses-category-card {
        padding: 0;
    }

    .ses-category-image {
        height: 150px;
    }

    .ses-category-card h3 {
        font-size: 13px;
        padding: 8px 8px 3px;
    }

    .ses-category-card p {
        font-size: 10px;
        padding: 0 8px 10px;
    }

    .ses-category-card:has(.ses-coming-soon)::after {
        font-size: 14px;
    }

    /* モーダルのスマホ対応（キーボード表示時の位置調整） */
    .ses-modal-content {
        top: 15%;
        transform: translate(-50%, 0);
        max-height: 70vh;
        overflow-y: auto;
    }

    @keyframes modalSlideIn {
        from {
            opacity: 0;
            transform: translate(-50%, -10%);
        }

        to {
            opacity: 1;
            transform: translate(-50%, 0);
        }
    }

    /* モーダルフッターのスマホ対応 */
    .ses-modal-footer {
        flex-direction: column;
        padding: 12px 16px;
        gap: 8px;
    }

    .ses-modal-footer .ses-btn-modal-cancel,
    .ses-modal-footer .ses-btn-calculate {
        width: 100%;
        padding: 12px 16px;
        text-align: center;
    }

    .ses-steps {
        flex-wrap: nowrap;
        overflow-x: visible;
        overflow-y: visible;
        padding: 12px 8px;
        justify-content: space-between;
        box-sizing: border-box;
        width: 100%;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 10px;
        margin-bottom: 12px;
        position: relative;
    }

    .ses-steps::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 15%;
        right: 15%;
        height: 3px;
        background: #e0e0e0;
        transform: translateY(-8px);
        z-index: 0;
        border-radius: 2px;
    }

    .ses-step {
        flex: 1 1 0;
        min-width: 0;
        max-width: 25%;
        padding: 5px;
        box-sizing: border-box;
        position: relative;
        z-index: 1;
    }

    .ses-step-number {
        width: 36px;
        height: 36px;
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .ses-step.active .ses-step-number {
        box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    }

    .ses-step.completed .ses-step-number {
        box-shadow: 0 2px 8px rgba(33, 150, 243, 0.2);
    }

    .ses-step-label {
        font-size: 11px;
        font-weight: 600;
    }

    .ses-step-label-full {
        display: none;
    }

    .ses-step-label-short {
        display: inline;
    }

    .ses-step-content {
        margin: 15px 0;
    }

    .ses-step-content h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .ses-options-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 15px;
        padding-bottom: 15px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .ses-options-grid::-webkit-scrollbar {
        height: 6px;
    }

    .ses-options-grid::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .ses-options-grid::-webkit-scrollbar-thumb {
        background: #4CAF50;
        border-radius: 3px;
    }

    .ses-options-grid .ses-option-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }

    .ses-options-list {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 15px !important;
        padding-bottom: 15px !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: thin;
        max-width: none !important;
    }

    .ses-options-list::-webkit-scrollbar {
        height: 6px;
    }

    .ses-options-list::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .ses-options-list::-webkit-scrollbar-thumb {
        background: #4CAF50;
        border-radius: 3px;
    }

    .ses-options-list .ses-option-card {
        flex: 0 0 85% !important;
        flex-direction: column !important;
        text-align: center !important;
        scroll-snap-align: center !important;
        min-height: 280px !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        gap: 0 !important;
    }

    .ses-options-list .ses-option-image {
        width: 100% !important;
        height: 250px !important;
        flex-shrink: 0 !important;
    }

    .ses-options-list .ses-option-content {
        text-align: center !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding: 15px 10px !important;
    }

    .ses-options-list .ses-option-name {
        text-align: center !important;
        font-size: 15px !important;
        line-height: 1.4 !important;
    }

    .ses-option-description {
        text-align: center !important;
        font-size: 12px !important;
        margin-top: 8px !important;
    }

    .ses-quantity-options {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding-bottom: 0 !important;
        overflow: visible !important;
    }

    .ses-quantity-card {
        width: 100% !important;
        min-height: 80px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    #ses-quantity-input {
        width: 100%;
        max-width: 200px;
    }

    .ses-result {
        padding: 20px;
    }

    .ses-result-row span {
        font-size: 13px !important;
    }

    .ses-result-row-major span {
        font-size: 13px !important;
    }

    .ses-result-row-final span {
        font-size: 16px !important;
    }

    .ses-result-unit-price-display {
        padding: 20px 15px;
    }

    .ses-unit-price-amount {
        font-size: 36px;
    }

    .ses-result-actions {
        flex-direction: column;
    }

    .ses-btn-reset,
    .ses-btn-contact {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .ses-step {
        flex: 0 0 100%;
    }

    .ses-quantity-options {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ステッカー見積機能
   ======================================== */

.ses-sticker-calculator {
    animation: fadeIn 0.5s ease-in;
}

/* ステッカータイプカード */
.ses-sticker-type-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    margin: 0 auto;
}

.ses-sticker-type-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    overflow: hidden;
    background: #f9f9f9;
}

.ses-sticker-type-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ses-sticker-type-card:hover .ses-sticker-type-image img {
    transform: scale(1.05);
}

/* サイズ選択カード */
.ses-sticker-size-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    margin: 0 auto;
}

.ses-sticker-size-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    background: #f5f5f5;
    overflow: hidden;
}

.ses-sticker-size-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ses-sticker-size-card:hover .ses-sticker-size-image img {
    transform: scale(1.05);
}

.ses-size-visual,
.ses-size-visual-fallback {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ステッカーサイズ選択の「その他」カード */
.ses-sticker-size-card.ses-option-other .ses-option-image {
    height: 150px;
    background: linear-gradient(135deg, #06C755 0%, #05B04A 100%);
}

/* 枚数選択 */
.ses-sticker-quantity-options {
    grid-template-columns: repeat(3, 1fr);
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {

    .ses-sticker-type-grid,
    .ses-sticker-size-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .ses-sticker-quantity-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {

    .ses-sticker-type-grid,
    .ses-sticker-size-grid {
        grid-template-columns: 1fr;
    }

    .ses-sticker-quantity-options {
        grid-template-columns: repeat(2, 1fr);
    }
}