@charset "UTF-8";

/* ② 数字で語る実績セクション */
.stats-section {
    padding: 70px 0;
    background: #fff;
}
.first-area{
    position: relative;
}
.first-area:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: url("../img/product-medical/first-bg.jpg") no-repeat center top;
    background-size: cover;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: .3;
}

.first-area > * {
    position: relative;
    z-index: 1;
}

.stats-section .section-title {
    text-align: center;
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.stats-card {
    text-align: center;
    padding: 40px 20px;
    background: #f8f8f8;
    border-top: 3px solid #1A3A5C;
}

.stats-card-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-card-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.stats-card-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #888;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    color: #dc000c;
    line-height: 1.2;
    margin-bottom: 12px;
}

.stats-number-text {
    font-size: 2rem;
}

.stats-unit {
    font-size: 1.2rem;
    font-weight: 600;
    color: #dc000c;
    margin-left: 4px;
}

.stats-label {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* ④ 強み04 AI活用 内部リンク */
.ai-feature-link {
    display: inline-block;
    margin-top: 12px;
    color: #dc000c;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #dc000c;
    padding-bottom: 2px;
    transition: opacity 0.2s;
}

.ai-feature-link:hover {
    opacity: 0.7;
}


/* ===== セクション余白の全体縮小 ===== */
.stats-section           { padding: 50px 0; }
.problems-section        { padding: 50px 0; }
.think-section           { padding: 50px 0; }
.related-services-section{ padding: 50px 0; }
.result-section          { padding: 50px 0; }
.pricing-slack-section   { padding: 50px 0; }
.flow-simple-section     { padding: 50px 0; }
.faq-section             { padding: 50px 0; }
.appeal-section          { padding: 50px 0; }
.cta-block-section       { padding: 50px 0; }
.service-nav-section     { padding: 50px 0; }

/* ===== お悩み 2×2カードレイアウト ===== */
.problems-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 860px;
    margin: 0 auto;
}

.problem-card-large {
    background: #fff;
    padding: 28px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.09);
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
}

.problem-card-icon {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-card-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.problem-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.problem-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.5;
}

.problem-card-desc {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .problems-grid-2col {
        grid-template-columns: 1fr;
    }

    .problem-card-large {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ===== お悩みセクション → アプローチへの接続ブリッジ ===== */
.problems-bridge {
    text-align: center;
    margin-top: 40px;
    padding-top: 10px;
}

.problems-bridge-arrow {
    font-size: 1.5rem;
    color: #dc000c;
    margin-bottom: 12px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.problems-bridge-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.8;
}

/* ===== アプローチセクション（課題解決の進め方） ===== */
.approach-section {
    padding: 72px 0;
    background: #f3f4f6;
}

.approach-section-title {
    text-align: center;
    margin-bottom: 20px;
}

.approach-intro {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: left;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.9;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 860px;
    margin: 0 auto;
}

.approach-card {
    background: #fff;
    padding: 24px 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
}

.approach-card-icon {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.approach-card-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.approach-card-body {
    flex: 1;
}

.approach-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    line-height: 1.6;
}

.approach-closing {
    max-width: 760px;
    margin: 36px auto 0;
    text-align: center;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.9;
    font-weight: 500;
}

@media (max-width: 600px) {
    .approach-grid {
        grid-template-columns: 1fr;
    }

    .approach-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* 私たちの想いセクション */
.appeal-section {
    padding: 50px 0;
    background: #f8f8f8;
}

.appeal-content {
    max-width: 800px;
    margin: 0 auto;
}

.appeal-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 2;
    margin-bottom: 1.5em;
}

.appeal-content p:last-child {
    margin-bottom: 0;
}

/* お悩みセクション */
.problems-section {
    padding: 50px 0;
    background: #fff;
}

/* 私たちの強み導入文 */
.think-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.think-intro p {
    font-size: 1rem;
    color: #555;
    line-height: 2;
    margin-bottom: 1em;
}

.think-intro p:last-child {
    margin-bottom: 0;
}

/* 料金テーブル形式 */
.pricing-slack-features-table {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-slack-features-table li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.pricing-slack-features-table li:last-child {
    border-bottom: none;
}

.pricing-slack-features-table .feature-name {
    color: #333;
    flex: 1;
}

.pricing-slack-features-table .feature-value {
    color: #666;
    text-align: right;
}

.pricing-slack-features-table .feature-check {
    color: #dc000c;
    font-weight: 700;
    text-align: right;
}

/* オプション（シンプル版） */
.pricing-options {
    margin-top: 30px;
}

.pricing-options h3 {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
}

.options-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-item {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: baseline;
}

.option-name {
    font-weight: 700;
    color: #333;
}

.option-description {
    color: #666;
    font-size: 0.9rem;
}

.option-price {
    color: #dc000c;
    font-weight: 700;
    margin-left: auto;
}

@media (max-width: 768px) {
    .option-item {
        flex-direction: column;
    }

    .option-price {
        margin-left: 0;
    }
}

/* 制作の流れリスト詳細 */
.flow-simple-list-detail {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
}

.flow-simple-list-detail li {
    margin-bottom: 5px;
}

.flow-simple-list-detail li:last-child {
    margin-bottom: 0;
}

/* お悩みセクション 3列グリッド */
.service-card-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .service-card-grid-3col {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ホバー無効カードグリッド
======================================== */
.service-card-grid--static .service-card:hover {
    border-color: #e5e5e5;
    box-shadow: none;
    cursor: default;
}

/* ========================================
   医療ページ：強み 2×2グリッド
======================================== */
.ai-features-list.medical-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.medical-features-grid .ai-feature-item {
    flex-direction: column;
    text-align: center;
}

.medical-features-grid .ai-feature-item-image-left,
.medical-features-grid .ai-feature-item-image-right {
    flex-direction: column;
}

.medical-features-grid .ai-feature-image {
    margin: 0 auto;
}

@media (max-width: 768px) {
    .ai-features-list.medical-features-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (min-width: 1025px){
    .ai-feature-image{
        padding-top: 0em;
    }
}