/* =================================================
   基本設定
   ================================================= */
body {
    margin: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* =================================================
   メインビジュアル
   ================================================= */
.main-visual {
    width: 100%;
    margin-bottom: 40px;
}

.mv-wrapper {
    width: 100%;
}

.mv-image {
    width: 100%;
    height: auto;
    display: block;
}

/* =================================================
   お悩みセクション (中央寄せデザイン)
   ================================================= */
.about-infection {
    background-color: #ffffff;
    padding-bottom: 80px;
}

/* お悩みセクション専用のタイトルラッパー */
.about-infection .section-title-wrapper {
    text-align: center;
    position: static;
    margin: 0 auto 40px;
    width: 100%;
}

.about-infection .section-title-box {
    display: inline-block;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.8;
    border: none;
    text-align: center;
}

/* 左端の青ラインをお悩みセクションだけ消す */
.about-infection .section-title-box::before {
    display: none;
}

.title-label {
    background-color: #bde0f0;
    padding: 5px 30px;
    border-radius: 8px;
    font-size: 22px;
    display: inline-block;
    margin-bottom: 10px;
}

.problem-container {
    max-width: 1100px;
    margin: 20px auto 0;
    text-align: center;
}

.problem-grid {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 60px;
}

.problem-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.problem-bubble {
    background-color: #bde0f0;
    width: 155px;
    height: 155px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

.problem-chara {
    width: 75px;
    height: auto;
}

.problem-solve-text {
    margin-top: 50px;
    text-align: center;
}

.problem-solve-text p {
    font-size: 22px;
    margin-bottom: 15px;
    color: #444;
}

.problem-solve-text h3 {
    font-size: 36px;
    font-weight: bold;
    margin: 0;
}

.problem-solve-text h3 span {
    background: linear-gradient(transparent 65%, #f9cb9c 65%);
    padding: 0 5px;
}

/* =================================================
   専門家紹介
   ================================================= */
.expert {
    padding-bottom: 80px;
}

.expert-card {
    display: flex;
    background: #fff;
    border: 2px solid #333;
    box-shadow: 10px 10px 0px #f9cb9c;
    overflow: hidden;
}

.expert-info {
    padding: 40px;
    flex: 1.2;
}

.expert-title { border-bottom: 2px solid #333; display: inline-block; margin-bottom: 20px; }
.expert-name { font-size: 24px; margin: 10px 0; }
.tags { color: #0066cc; font-size: 14px; margin-bottom: 20px; }

.expert-image {
    flex: 0.8;
}
.expert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =================================================
   事業内容 (枠あり・水色背景デザイン)
   ================================================= */
.services {
    background-color: #bde0f0;
    padding-bottom: 80px;
}

/* 事業内容のタイトル位置を正常化 */
.services .section-title-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    top: -25px; /* 白いボックスを上に浮かせる設定を復活 */
    text-align: left;
}

.services .section-title-box {
    background: #fff;
    padding: 10px 40px;
    font-size: 22px;
    font-weight: bold;
    border: 2px solid #bde0f0;
    display: inline-block;
    position: relative;
}

/* 事業内容のタイトル左端の青い太ラインを復活 */
.services .section-title-box::before {
    content: "";
    position: absolute;
    left: -10px;
    top: -2px;
    bottom: -2px;
    width: 10px;
    background-color: #add8e6;
    display: block;
}

.service-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: 40px auto 0;
}

.service-item {
    flex: 1;
    text-align: center;
}

.service-icon {
    width: 200px;
    height: 200px;
    background-color: #fff;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-icon img {
    width: 70%;
    height: auto;
}

.service-sub {
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: bold;
}

.service-main {
    font-size: 18px;
    font-weight: bold;
    margin-top: 0;
}

.service-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.service-item a:hover {
    transform: translateY(-5px);
}

.service-item a:hover .service-icon {
    opacity: 0.8;
}

/* =================================================
   お問い合わせ
   ================================================= */
.contact { text-align: center; }

.section-title-line {
    border-bottom: 4px solid #f9cb9c;
    display: inline-block;
    padding-bottom: 5px;
}

.contact-box {
    background-color: #f9cb9c;
    padding: 50px;
    margin-top: 30px;
}

.btn-contact {
    display: inline-block;
    background: #fff;
    color: #333;
    padding: 15px 60px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    margin-top: 20px;
    border: 1px solid #333;
}

/* =================================================
   レスポンシブ対応
   ================================================= */
@media (max-width: 768px) {
    .problem-grid, .expert-card, .service-grid {
        flex-direction: column;
        align-items: center;
    }

    .problem-item, .service-item {
        margin-bottom: 40px;
    }

    .problem-bubble {
        width: 180px;
        height: 180px;
    }

    .about-infection .section-title-box {
        font-size: 20px;
    }

    .title-label {
        font-size: 18px;
    }
}