@charset "UTF-8";

/* =========================================
   Solution Detail Page Styles (Spacious Ver. + Contact Fix)
   ========================================= */

/* Breadcrumb Adjustment */
.detail-breadcrumb {
    background: #f9f9f9;
    padding: 15px 0;
    font-size: 0.85rem;
    color: #666;
    border-bottom: 1px solid #eee;
}

.detail-breadcrumb a {
    color: #666;
}

.detail-breadcrumb a:hover {
    color: var(--accent-color);
}

.separator {
    margin: 0 8px;
    color: #ccc;
}

/* -----------------------------------------
   1. Product Summary Area
----------------------------------------- */
.detail-summary {
    padding: 80px 0 100px;
    background: #fff;
}

.summary-grid {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

/* Left: Visual */
.summary-visual {
    width: 45%;
    position: sticky;
    top: 100px;
}

.main-image {
    width: 100%;
    height: 400px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s;
}

.thumb-list {
    display: flex;
    gap: 15px;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-item:hover,
.thumb-item.active {
    border-color: var(--accent-color);
    opacity: 1;
}

/* Right: Info */
.summary-info {
    width: 55%;
    padding-top: 10px;
}

.info-cat {
    display: inline-block;
    background: var(--accent-light);
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: bold;
    padding: 6px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.info-title {
    font-size: 2.6rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #333;
}

.info-catch {
    font-size: 1.4rem;
    font-weight: bold;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.info-desc {
    font-size: 1rem;
    line-height: 2;
    color: #666;
    margin-bottom: 40px;
}

.info-points {
    list-style: none;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 50px;
}

.info-points li {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #444;
    font-weight: 500;
}

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

.info-points i {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 1.1rem;
}

.btn-primary-wide {
    display: inline-block;
    width: 100%;
    max-width: 400px;
    text-align: center;
    background: var(--accent-color);
    color: #fff;
    padding: 20px 0;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 10px 25px rgba(0, 86, 179, 0.25);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary-wide:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 86, 179, 0.35);
}

/* -----------------------------------------
   2. Detail Body (Spacious Layout)
----------------------------------------- */
.detail-body {
    background: #fff;
    padding-bottom: 150px;
}

.detail-section {
    margin-bottom: 180px;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.section-heading {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 80px;
    color: #333;
    position: relative;
    padding-bottom: 20px;
    letter-spacing: 0.05em;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
}

/* Features Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.feature-box {
    background: #fcfcfc;
    padding: 50px 40px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.feat-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 30px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-box h3 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.feature-box p {
    font-size: 1rem;
    color: #666;
    line-height: 2;
}

/* Flow */
.flow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    list-style: none;
    /* デフォルトの番号を非表示 */
    padding: 0;
    margin: 0;
}

.flow-step {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px 30px;
    position: relative;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

/* Arrow between steps (PC only) */
.flow-step:not(:last-child)::after {
    content: '\f054';
    /* FontAwesome right arrow */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    color: #ddd;
    font-size: 1.5rem;
    z-index: 1;
}

.step-num {
    display: block;
    font-family: var(--font-en-head);
    font-size: 3rem;
    color: #f0f0f0;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1;
    text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 0;
}

.flow-step h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 40px 0 20px;
    color: var(--accent-color);
    position: relative;
    z-index: 1;
}

.flow-step p {
    font-size: 0.95rem;
    color: #666;
    text-align: left;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* Specs Table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
}

.spec-table th,
.spec-table td {
    padding: 35px 40px;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 1rem;
}

.spec-table th {
    width: 30%;
    background: #fafafa;
    font-weight: bold;
    color: #333;
    border-right: 1px solid #eee;
}

.spec-table td {
    color: #555;
    line-height: 1.8;
}

/* -----------------------------------------
   3. Related Services
----------------------------------------- */
.related-sec {
    background: #f4f5f7;
    padding: 120px 0;
}

.related-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 60px;
    font-weight: bold;
}

.related-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.related-card {
    background: #fff;
    width: 360px;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.related-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.rel-img {
    height: 200px;
    overflow: hidden;
}

.rel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.related-card:hover .rel-img img {
    transform: scale(1.05);
}

.rel-text {
    padding: 30px;
}

.rel-text h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.rel-text p {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.6;
}

/* -----------------------------------------
   4. Contact Area (Added)
----------------------------------------- */
.contact-area {
    background: #fff;
    /* or #f9f9f9 */
    padding: 100px 0;
}

.contact-box {
    background: #f4f8ff;
    padding: 80px 40px;
    text-align: center;
    border-radius: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-desc {
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #666;
}

.contact-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-contact-primary {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.btn-contact-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 86, 179, 0.4);
}

/* Responsive */
@media (max-width: 900px) {
    .flow-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .flow-step:not(:last-child)::after {
        display: none;
    }

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

    /* Contact Mobile */
    .contact-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn-contact-primary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .contact-box {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .summary-grid {
        flex-direction: column;
        gap: 40px;
    }

    .summary-visual,
    .summary-info {
        width: 100%;
    }

    .summary-visual {
        position: static;
    }

    .main-image {
        height: 250px;
    }

    .thumb-item {
        width: 70px;
        height: 70px;
    }

    .detail-section {
        margin-bottom: 100px;
    }

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

    .flow-steps {
        grid-template-columns: 1fr;
    }

    .spec-table th,
    .spec-table td {
        display: block;
        width: 100%;
        border-right: none;
        padding: 20px;
    }

    .spec-table th {
        background: #eee;
        border-bottom: none;
        padding-bottom: 10px;
    }

    .spec-table td {
        padding-top: 5px;
    }

    /* SP: ボタンを中央揃え */
    .info-action {
        text-align: center;
    }

    .btn-primary-wide {
        display: block;
        margin: 0 auto;
        max-width: 100%;
    }
}