@charset "UTF-8";

/* ====================================
   事業内容ページ専用スタイル
   ==================================== */

/* ① ページヘッダー */
.page-header {
    background-color: var(--color-sub);
    color: #fff;
    padding: 120px 0 60px;
    text-align: center;
}
.page-header h1 {
    font-size: 42px;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}
.page-header p {
    font-size: 16px;
    opacity: 0.8;
    letter-spacing: 0.1em;
}

/* ② コンセプト */
.service-intro {
    text-align: center;
}
.intro-heading {
    font-size: 28px;
    color: var(--color-sub);
    line-height: 1.6;
    margin-bottom: 30px;
}
.intro-text {
    line-height: 2;
    color: #555;
}

/* ③ サービスフロー図 */
.flow-chart {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 40px;
    gap: 20px;
}
.flow-step {
    background: #fff;
    width: 280px;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--color-main);
}
.step-num {
    font-size: 12px;
    font-weight: bold;
    color: #aaa;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    display: block;
}
.step-icon {
    font-size: 48px;
    margin-bottom: 15px;
}
.flow-step h4 {
    font-size: 18px;
    color: var(--color-sub);
    margin-bottom: 5px;
}
.flow-step p {
    font-size: 12px;
    color: var(--color-main);
    font-weight: bold;
}
.flow-arrow {
    font-size: 24px;
    color: #ccc;
    font-weight: bold;
}


/* ④～⑥ 詳細セクション */
.service-detail {
    padding: 80px 0; /* 縦の間隔 */
}

.detail-wrapper {
    display: flex;
    align-items: flex-start; /* 上揃え */
    gap: 60px;
}
/* 左右反転クラス */
.detail-wrapper.reverse {
    flex-direction: row-reverse;
}

.detail-text {
    flex: 1; /* 幅を均等に */
}
.detail-image {
    flex: 1; /* 幅を均等に */
}

.detail-label {
    display: inline-block;
    background: var(--color-main);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 2px;
    margin-bottom: 15px;
}

/* 見出し */
.detail-text h3 {
    font-size: 28px;
    color: var(--color-sub);
    margin-bottom: 30px;
    line-height: 1.4;
}
.detail-text h3 .en {
    font-size: 16px;
    color: var(--color-main);
    font-weight: normal;
    display: block;
    margin-top: 5px;
}
.detail-lead {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--color-sub);
}
.detail-text p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.8;
}

/* ★修正箇所: リストのデザイン（Flexboxに変更して重なりを防止） */
.detail-list {
    margin-top: 30px;
}
.detail-list li {
    display: flex; /* ★重要：フレックスボックスで横並びにする */
    align-items: baseline; /* 文字のベースラインを揃える */
    gap: 15px; /* チェックマークと文字の間隔を確実に空ける */
    margin-bottom: 15px;
    line-height: 1.8;
}
.detail-list li::before {
    content: "✔";
    color: var(--color-main);
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0; /* ★重要：アイコンが潰れないようにする */
}
/* Strongタグ（強調部分）のデザイン */
.detail-list strong {
    color: var(--color-sub);
    border-bottom: 1px solid rgba(78, 52, 46, 0.2);
    margin-right: 5px;
}

/* 詳細エリアの画像スタイル */
.detail-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
}

/* ⑦ 下部CTA */
.cta-area {
    background-color: var(--color-sub);
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}
.cta-area h2 {
    font-size: 28px;
    margin-bottom: 20px;
}
.cta-area p {
    margin-bottom: 40px;
    opacity: 0.9;
}
.btn-cta {
    display: inline-block;
    background: var(--color-main);
    color: #fff;
    padding: 15px 50px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    transition: transform 0.3s, background 0.3s;
}
.btn-cta:hover {
    background: var(--color-main-hover);
    transform: scale(1.05);
}

/* レスポンシブ (SP・タブレット) */
@media (max-width: 960px) {
    .detail-wrapper, 
    .detail-wrapper.reverse {
        flex-direction: column;
        gap: 40px;
    }
    .detail-text, .detail-image {
        width: 100%;
    }
    .detail-img {
        margin-top: 10px;
        max-height: 400px;
        object-fit: cover;
    }
    
    /* フローチャートのレスポンシブ */
    .flow-chart { flex-direction: column; }
    .flow-arrow { transform: rotate(90deg); margin: 10px 0; }
    .flow-step { width: 100%; }
}

@media (max-width: 768px) {
    .page-header h1 { font-size: 32px; }
    .intro-heading { font-size: 22px; text-align: left; }
    .intro-text { text-align: left; }
    .detail-text h3 { font-size: 24px; }
    .service-detail { padding: 60px 0; }
}