/* ============================
   SERVICE系ページ 共通スタイル
   system.php・design.php など、サービス詳細ページで共通の
   見出しリード文・サービス項目ピル・挿絵・CTAボタン・区切り線を定義する。
============================ */

.service-detail {
    padding: clamp(3.75rem, 2.5rem + 6.25vw, 7.5rem) 0 0 0;
}

.service-lead {
    margin: 0 0 clamp(1.875rem, 1.268rem + 2.59vw, 4.375rem) 0;
    font-family: "ShipporiGothic";
    font-weight: bold;
    font-size: clamp(1.125rem, 0.898rem + 0.98vw, 2rem);
    line-height: 1.6;
    color: #3172FF;
}

/* ---- テキスト＋挿絵 ---- */
.service-intro__body {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-intro__text {
    flex: 1;
    min-width: 0;
}

.service-intro__image {
    flex-shrink: 0;
    width: clamp(15rem, 8rem + 25vw, 26rem);
}

/* ---- サービス項目ピル ---- */
.service-items {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
}

.service-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.7em 1.75em;
    border-radius: 999px;
    background: linear-gradient(90deg, #4FD8E8 0%, #3172FF 100%);
    color: #FFF;
    font-family: "ShipporiGothic";
    font-weight: 400;
    font-size: clamp(1rem, 0.86rem + 0.7vw, 1.5rem);
    box-shadow: 0 8px 16px rgba(49, 114, 255, 0.25);
}

.service-pill__dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFF;
}

.service-item__desc {
    margin: 1.5rem 0 0 0;
    font-size: 1rem;
    line-height: 1.8;
    color: #414141;
}

/* ---- お問い合わせボタン(CTA) ---- */
/* お問い合わせ・料金表ボタン（横並び。幅が足りない時は折り返して縦並び） */
.service-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1rem, 0.745rem + 1.05vw, 2rem);
    margin-top: clamp(3rem, 2.3rem + 3.5vw, 5rem);
}

.service-cta__link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 2rem;
    background: #050505;
    color: #FFF;
    font-size: clamp(0.813rem, 0.76rem + 0.26vw, 0.938rem);
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 6px;
    transition: opacity 0.3s ease;
}

.service-cta__link:hover {
    opacity: 0.8;
}

.service-cta__arrow {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #FFF;
    border-right: 2px solid #FFF;
    transform: rotate(45deg);
}

/* ---- セクション区切り線 ---- */
.service-divider {
    margin-top: clamp(3.75rem, 2.5rem + 6.25vw, 7.5rem);
    border: none;
    border-top: 1px solid #E5E5E5;
}

/* ---- Track record（実績）セクションの上下余白 ---- */
.service-track {
    padding: clamp(3.75rem, 2.5rem + 6.25vw, 7.5rem) 0;
}

/* ============================
   SP(768px以下)
============================ */
@media screen and (max-width: 768px) {

    .service-intro__body {
        flex-direction: column;
        gap: 2.5rem;
    }

    .service-intro__image {
        width: 70%;
        margin: 0 auto;
    }
}
