@charset "UTF-8";

/* ================================================================
   common2.css
   対象: simulator.html / index3.html
   ※ index.html・index2.html 用のスタイルは common.css を参照
================================================================ */

/* ========================================
   共通：リセット
   ※ simulator.html で2回定義されていたものを1つに統合
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========================================
   共通：Body ベース
   ※ font-family は両ページとも 'Noto Sans JP' で共通
======================================== */
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
}

/* ================================================================
   index3.html（LP）専用スタイル
   ※ <html class="page-lp"> を付与して使用
================================================================ */

/* フォントサイズ基準（シミュレーターには適用しない） */
html.page-lp {
    font-size: 18px;
}

/* カラーユーティリティ */
.bg-soft-blue {
    background-color: #f8faff;
}

.text-ss-navy {
    color: #2268aa;
}

.bg-ss-navy {
    background-color: #2268aa;
}

.bg-ss-orange {
    background-color: #ff8c00;
}

.text-ss-orange {
    color: #ff8c00;
}

.border-ss-navy {
    border-color: #2268aa;
}

.header-doc-btn:hover {
    background-color: #2268aa;
    color: #fff;
}

.gradient-blue {
    background: linear-gradient(135deg, #2268aa 0%, #0078d4 100%);
}

.card-shadow {
    box-shadow: 0 10px 40px 4px rgba(0, 0, 0, 0.07);
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.bg-ss-blue-light {
    background-color: rgba(0, 91, 172, 0.05);
}

/* フローティングボタン */
.floating-calc-btn {
    position: fixed;
    bottom: 16px;
    right: 16px;
    background: linear-gradient(135deg, #ff8c00 0%, #e67e00 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid #ffffff;
    width: calc(100% - 32px);
    max-width: 300px;
    padding: 12px 20px;
}

@media (min-width: 768px) {
    .floating-calc-btn {
        bottom: 30px;
        right: 30px;
        width: 300px;
        padding: 16px 24px;
    }
}

.btn-sub {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: 0.02em;
}

.btn-main {
    font-size: 18px;
    font-weight: 900;
    white-space: nowrap;
}

/* スライドショーアニメーション */
@keyframes fadeSlideshow {
    0% {
        opacity: 0;
        z-index: 1;
    }

    8.33% {
        opacity: 1;
        z-index: 10;
    }

    33.33% {
        opacity: 1;
        z-index: 10;
    }

    41.67% {
        opacity: 0;
        z-index: 1;
    }

    100% {
        opacity: 0;
        z-index: 1;
    }
}

.animate-fade-slideshow {
    opacity: 0;
    animation: fadeSlideshow 12s infinite;
}

.object-contain {
    object-fit: contain;
}

.blend-multiply {
    mix-blend-mode: multiply;
}

/* 吹き出し（ヘッダーCTA） */
.header-cta-bubble {
    position: absolute;
    top: -22px;
    right: -12px;
    background: #fff;
    border: 1.5px solid #ff8c00;
    color: #ff8c00;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    padding: 2px 10px;
    border-radius: 999px;
    pointer-events: none;
    z-index: 10;
    line-height: 1.5;
    filter: drop-shadow(0 2px 6px rgba(255, 140, 0, 0.22));
}

.header-cta-bubble::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-right: 1.5px solid #ff8c00;
    border-bottom: 1.5px solid #ff8c00;
    transform: rotate(45deg);
    bottom: -5px;
    right: 26px;
}

/* 吹き出し（CTAセクション） */
.cta-bubble {
    position: absolute;
    top: -18px;
    right: -12px;
    background: #fff;
    border: 1.5px solid #ff8c00;
    color: #ff8c00;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    padding: 3px 12px;
    border-radius: 999px;
    pointer-events: none;
    z-index: 10;
    line-height: 1.5;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

.cta-bubble::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-right: 1.5px solid #ff8c00;
    border-bottom: 1.5px solid #ff8c00;
    transform: rotate(45deg);
    bottom: -5px;
    right: 26px;
}

/* セクション背景 */
#solution,
#cta,
#features-2 {
    background-color: transparent;
    background-image:
        linear-gradient(rgba(34, 104, 170, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 104, 170, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    background-size: 24px 24px, 24px 24px, 100% 100%;
}

#features-3 {
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

#flow {
    background: #f8faff;
}

#pricing {
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

#spec {
    background: linear-gradient(150deg, #f4f8ff 0%, #ffffff 50%, #eef4ff 100%);
}

/* ================================================================
   simulator.html 専用スタイル
   ※ <body class="page-simulator"> を付与して使用
================================================================ */

/* Body 追加（背景・余白）：index3.html に影響させない */
body.page-simulator {
    background: #f5f5f5;
    padding: 40px 20px;
    line-height: 1.6;
}

/* ヘッダー */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #e5e7eb;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 40px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.header-nav {
    display: flex;
    gap: 35px;
    align-items: center;
}

.header-nav a {
    color: #374151;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
}

.header-nav a:hover {
    color: #667eea;
}

/* 戻るリンク */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
    position: absolute;
    left: 40px;
}

.back-link:hover {
    color: #333;
}

.back-link i {
    font-size: 12px;
}

/* ヒーローセクション */
.hero-section {
    background: linear-gradient(135deg, #005bac 0%, #0078d4 100%);
    color: white;
    padding: 60px 20px 50px;
    text-align: center;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.hero-section p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 28px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* メインコンテンツ
   ※ 元ファイルで2回定義（margin: 3rem auto → 0 auto）→ 後者を採用 */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.page-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    font-weight: bold;
}

/* 導入フローセクション */
.flow-section {
    background-color: #fff;
    padding: 3rem 2.5rem;
    margin-bottom: 3rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.flow-step {
    background-color: #f8f9fa;
    padding: 2rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s;
}

.flow-step:hover {
    border-color: #4A90E2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

.flow-step::after {
    content: '↓';
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    color: #4A90E2;
    font-weight: bold;
}

.flow-step:last-of-type::after {
    display: none;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

.step-description {
    padding-left: 3.5rem;
    color: #666;
    font-size: 0.95rem;
}

/* STEPラベル（シミュレーター内） */
.step-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.step-badge {
    background: #005bac;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.step-label-text {
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

/* シミュレーターセクション */
.simulator-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #005bac;
    margin-bottom: 24px;
    text-align: center;
}

/* 製品選択 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.product-button {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 18px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
}

.product-button:hover {
    border-color: #ff8c00;
    background: #FFF3E0;
}

.product-button.active {
    background: #ff8c00;
    border-color: #ff8c00;
    color: white;
    font-weight: 400;
}

/* ユーザー数選択 */
.user-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.user-button {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.user-button:hover {
    border-color: #ff8c00;
    background: #FFF3E0;
}

.user-button.active {
    background: #ff8c00;
    border-color: #ff8c00;
    color: white;
    font-weight: 600;
}

/* 転送機能選択 */
.transfer-section {
    margin-bottom: 32px;
}

.transfer-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.radio-group {
    display: flex;
    gap: 16px;
}

.radio-option {
    flex: 1;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.radio-option:hover {
    border-color: #005bac;
    background: #e8f0fa;
}

.radio-option.selected {
    border-color: #005bac;
    background: #e8f0fa;
}

.radio-option input {
    margin-right: 8px;
}

/* 見積結果カード */
.result-card {
    background: linear-gradient(135deg, #e8f0fa 0%, #ffffff 100%);
    border: 2px solid #005bac;
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
    display: none;
}

.result-card.show {
    display: block;
    animation: slideIn 0.5s;
}

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

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

.result-title {
    font-size: 20px;
    color: #005bac;
    margin-bottom: 16px;
    text-align: center;
}

.plan-badge {
    background: #ff8c00;
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 24px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.result-item {
    background: white;
    padding: 16px;
    border-radius: 8px;
}

.result-item h4 {
    font-size: 12px;
    color: #757575;
    margin-bottom: 8px;
}

.result-item .value {
    font-size: 20px;
    font-weight: 700;
    color: #005bac;
}

.total-box {
    background: #ff8c00;
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
}

.total-box h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.total-box .price {
    font-size: 32px;
    font-weight: 700;
}

/* 見積依頼CTAボタン */
.estimate-cta {
    display: none;
    width: 100%;
    background: #ff8c00;
    color: white;
    border: none;
    padding: 18px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 16px;
    transition: all 0.3s;
    letter-spacing: 0.05em;
    text-align: center;
}

.estimate-cta.show {
    display: block;
    animation: slideIn 0.5s;
}

.estimate-cta:hover {
    background: #e67e00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}

.cta-button {
    width: 100%;
    background: #005bac;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #004a8f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 91, 172, 0.3);
}

/* モーダル */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    animation: fadeIn 0.3s;
}

.modal-overlay.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #757575;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

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

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #005bac;
    margin-bottom: 24px;
    text-align: center;
}

/* フォーム */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.required {
    color: #f44336;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #005bac;
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    background: #005bac;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 24px;
}

.submit-button:hover {
    background: #004a8f;
}

/* フラッシュレーターボックス */
.flash-calculator {
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    padding: 2.5rem;
    border: 2px solid #666;
    border-radius: 8px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.calc-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1.8rem;
    text-align: center;
    color: #333;
}

.calc-row {
    background-color: white;
    padding: 1.2rem;
    margin-bottom: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s;
}

.calc-row:hover {
    border-color: #4A90E2;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.2);
}

.calc-row small {
    display: block;
    margin-top: 0.3rem;
    color: #666;
    font-size: 0.85rem;
}

.calc-button {
    background-color: white;
    border: 2px solid #333;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1.5rem;
    border-radius: 5px;
    transition: all 0.3s;
    display: block;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.calc-button:hover {
    background-color: #4A90E2;
    color: white;
    border-color: #4A90E2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

/* お問い合わせボタン */
.contact-section {
    text-align: center;
    margin: 3rem 0;
}

.contact-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    padding: 1.2rem 3.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.contact-btn:hover {
    background: linear-gradient(135deg, #357ABD 0%, #2868A8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

/* フッター */
footer {
    background-color: #333;
    color: white;
    padding: 2.5rem 0 0 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.company-info h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.company-info p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 0.3rem;
}

.footer-link {
    color: white;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border: 2px solid white;
    border-radius: 5px;
    transition: all 0.3s;
    display: inline-block;
}

.footer-link:hover {
    background-color: white;
    color: #333;
}

.copyright {
    text-align: center;
    padding: 1.5rem 0;
    background-color: #222;
    font-size: 0.9rem;
    border-top: 1px solid #444;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 768px) {
    .back-link {
        left: 16px;
        font-size: 12px;
    }

    .user-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .result-grid {
        grid-template-columns: 1fr;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .flow-section {
        padding: 2rem 1.5rem;
    }

    .flow-step {
        padding: 1.5rem;
    }

    .step-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .step-description {
        padding-left: 0;
        margin-top: 0.5rem;
    }

    .points-section {
        padding: 1.5rem;
    }

    .flash-calculator {
        padding: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
    }
}