/* ====================================
   建築板金ページ
   ==================================== */

.page-metalwork .page-hero::before {
    --hero-bg-image: url('../images/roof-01.webp');
}

/* ========================================
   サービス内容セクション
======================================== */
.metalwork-service-section {
    padding: 4rem 1.25rem;
    background: var(--color-contact-bg);
    border-top-right-radius: var(--border-radius-section);
    border-bottom-right-radius: var(--border-radius-section);
    z-index: 1;
    position: relative;
}

@media (min-width: 576px) {
    .metalwork-service-section {
        padding: 4rem 2rem;
    }
}

@media (min-width: 768px) {
    .metalwork-service-section {
        padding: 4.5rem 2rem;
    }
}

@media (min-width: 1024px) {
    .metalwork-service-section {
        padding: 6rem 2rem;
    }
}

/* ========================================
   サービスグループタイトル
======================================== */
.service-group-title-wrapper {
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .service-group-title-wrapper {
        margin-bottom: 2.5rem;
    }
}

.service-group-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-title);
    padding-left: 1.25rem;
    position: relative;
}

@media (min-width: 768px) {
    .service-group-title {
        font-size: 1.375rem;
        padding-left: 1.5rem;
    }
}

/* 建築板金用ドット(緑) */
.page-metalwork .service-group-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: var(--color-secondary);
    border-radius: 50%;
}

@media (min-width: 768px) {
    .page-metalwork .service-group-title::before {
        width: 12px;
        height: 12px;
    }
}

/* FAQセクションの英語タイトル - カテゴリーごとに色変更 */
.metalwork-service-section .section-title-en {
    color: var(--color-tertiary);
 }
 
 .metalwork-service-section .section-title-en::before {
    background: var(--color-tertiary);
 }

/* サービスアイテムのグリッドコンテナ */
.service-items-grid {
    /* 768px以上で2カラムレイアウト */
}

@media (min-width: 768px) {
    .service-items-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 1.5rem;
        column-gap: 2rem;
    }
}

/* サービスアイテム */
.service-item {
    margin-bottom: 2rem;
    background: var(--color-white);
    border-radius: 1rem;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .service-item {
        padding: 2rem 1.5rem;
        margin-bottom: 0; /* grid使用時はmargin不要 */
    }
}

.service-item:last-child {
    margin-bottom: 0;
}

/* サービスタイトル */
.service-item-title {
    color: var(--color-secondary);
    font-size: 1.25rem;
    font-family: var(--font-ja);
    font-weight: 600;
    letter-spacing: var(--heading-letter-spacing);
    margin-bottom: 1rem;
    padding-bottom: 0.25rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* タイトル左側のアイコン（インライン・背景なし） */
.page-metalwork .service-item[data-icon] .service-item-title::before {
    content: var(--icon-content, '');
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.125rem;
    color: var(--color-secondary);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .page-metalwork .service-item[data-icon] .service-item-title::before {
        font-size: 1.25rem;
    }
}

.service-item-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-secondary);
    border-radius: 1px;
}

@media (min-width: 768px) {
    .service-item-title {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
        padding-bottom: 0.5rem;
        gap: 0.625rem;
    }
}

/* サービス詳細 */
.service-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--color-section-light-green);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(108, 173, 92, 0.15);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .service-details {
        gap: 1.25rem;
        padding: 1.25rem;
    }
}

.service-detail p {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: var(--body-line-height-sp);
    letter-spacing: var(--body-letter-spacing);
}

@media (min-width: 768px) {
    .service-detail p {
        font-size: 1rem;
        line-height: var(--body-line-height-pc);
    }
}

.service-detail-label {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: var(--body-letter-spacing);
}

@media (min-width: 768px) {
    .service-detail-label {
        font-size: 1.05rem;
    }
}

.service-detail-value {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: var(--body-line-height-sp);
    letter-spacing: var(--body-letter-spacing);
}

@media (min-width: 768px) {
    .service-detail-value {
        font-size: 1rem;
        line-height: var(--body-line-height-pc);
    }
}

/* 料金表示 */
.price-main {
    color: var(--color-secondary);
    font-size: 0.95rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    .price-main {
        font-size: 1rem;
    }
}

/* 補足料金 */
.price-supplement {
    display: block;
    color: var(--color-gray);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.price-note {
    color: var(--color-gray);
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

@media (min-width: 768px) {
    .price-note {
        font-size: 0.95rem;
    }
}

/* ========================================
   画像オーバーレイ表示機能（修正版）
======================================== */
/* オーバーレイ背景 */
.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 建築板金用のグリーングラデーション */
    background: linear-gradient(135deg, rgba(90, 175, 125, 0.95) 0%, rgba(32, 167, 117, 0.95) 50%, rgba(26, 150, 102, 0.95) 100%);
    z-index: 9999;
    
    /* 修正ポイント：display: none を廃止し、透過度と表示状態で制御 */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    
    /* 0.3秒の心地よい transition */
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    padding: 4rem 1.25rem;
}

@media (min-width: 576px) {
    .image-overlay {
        padding: 4rem 2rem;
    }
}

@media (min-width: 768px) {
    .image-overlay {
        padding: 4.5rem 2rem;
    }
}

@media (min-width: 1024px) {
    .image-overlay {
        padding: 6rem 2rem;
    }
}

/* 表示時の状態 */
.image-overlay.active {
    opacity: 1;
    visibility: visible;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* オーバーレイコンテナ */
.image-overlay-container {
    max-width: var(--section-content-width-sm);
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: 1rem;
    overflow: hidden;
    
    /* 修正ポイント：ふわっと浮き上がるアニメーションの初期値 */
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 576px) {
    .image-overlay-container {
        max-width: var(--section-content-width-sm);
    }
}

/* @media (min-width: 768px) {
    .image-overlay-container {
        max-width: var(--section-content-width-md);
    }
}

@media (min-width: 1024px) {
    .image-overlay-container {
        max-width: var(--section-content-width-lg);
    }
}

@media (min-width: 1440px) {
    .image-overlay-container {
        max-width: var(--section-content-width-exlg);
    }
} */

/* 表示時のコンテナ挙動 */
.image-overlay.active .image-overlay-container {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* オーバーレイヘッダー */
.image-overlay-header {
    padding: 1rem 1.25rem;
    background: var(--color-section-light-green);
    border-bottom: 1px solid rgba(90, 175, 125, 0.15);
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

@media (min-width: 576px) {
    .image-overlay-header {
        padding: 1.25rem 2rem;
    }
}

@media (min-width: 768px) {
    .image-overlay-header {
        padding: 1.5rem 2rem;
    }
}

.image-overlay-info h3 {
    color: var(--color-secondary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .image-overlay-info h3 {
        font-size: 1.25rem;
    }
}

.image-overlay-info p {
    color: var(--color-text);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .image-overlay-info p {
        font-size: 0.95rem;
    }
}

.image-overlay-info span {
    color: var(--color-secondary);
    font-weight: 600;
    margin-right: 0.25rem;
}

/* オーバーレイ画像エリア */
.image-overlay-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--color-contact-bg);
    overflow: auto;
}

@media (min-width: 576px) {
    .image-overlay-content {
        padding: 2rem;
    }
}

/* 画像ラッパー（カウンターとナビゲーションボタンの親要素） */
.image-wrapper {
    position: relative;
    width: 100%; /* 親の幅いっぱいに広げる */
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 16 / 10; /* ここで親要素にアスペクト比を持たせるのもアリです */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-section-light-green); /* 読み込み前の「下地」を見せる */
    border-radius: 0 0.75rem 0.75rem 0.75rem;
    border: 2px solid var(--color-secondary);
    overflow: hidden;
}

.image-wrapper img {
    width: 100%; /* autoではなく100%にして枠を固定 */
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
    box-shadow: 0 4px 12px rgba(46, 123, 181, 0.2);
    /* 画像がない時や読み込み中も枠を維持 */
    aspect-ratio: 16 / 10;
    transition: opacity 0.3s ease; /* ふわっと切り替える */
    opacity: 0; /* JSで読み込み完了まで隠す */
}

/* お問い合わせカード */
.service-contact-card {
    background: linear-gradient(135deg, rgba(90, 175, 125, 0.08) 0%, rgba(102, 193, 142, 0.05) 100%);
    border: 2px dashed var(--color-button-green);
    border-radius: 1rem;
    padding: 2rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    text-align: center;
}

@media (min-width: 576px) {
    .service-contact-card {
        padding: 2rem;
    }
}

@media (min-width: 768px) {
    .service-contact-card {
        padding: 2.5rem 2rem;
    }
    
    /* 偶数件の時は2カラム幅いっぱいに */
    .service-contact-card--full {
        grid-column: 1 / -1;
    }
}

.service-contact-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.service-contact-title {
    color: var(--color-button-green);
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-metalwork .service-contact-title::before {
    content: '\e537'; /* Font Awesome: fa-people-roof */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.125rem;
    color: var(--color-button-green);
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .service-contact-title {
        font-size: 1.5rem;
        gap: 0.625rem;
    }
    
    .page-metalwork .service-contact-title::before {
        font-size: 1.25rem;
    }
}

.service-contact-text {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: var(--body-line-height-sp);
    letter-spacing: var(--body-letter-spacing);
}

@media (min-width: 768px) {
    .service-contact-text {
        font-size: 1rem;
        line-height: var(--body-line-height-pc);
    }
}

.service-contact-text i {
    color: var(--color-button-green);
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

@media (min-width: 768px) {
    .service-contact-text i {
        font-size: 1.2rem;
    }
}

/* お問い合わせボタンは共通の.btnクラスを使用 */
.service-contact-card .btn {
    gap: 0.5rem;
}

.service-contact-card .btn i {
    font-size: 1.1rem;
}

/* 施工写真ボタン */
.service-image-toggle {
    margin-top: auto;
    margin-bottom: 0;
    margin-left: auto;
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-section-light-green);
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-image-toggle:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}

.service-image-toggle i {
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    .service-image-toggle {
        font-size: 1rem;
        padding: 0.875rem 1.75rem;
    }
}

/* オーバーレイ閉じるボタン */
.image-overlay-close {
    position: absolute;
    top: 1rem;
    right: 1.125rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
}

.image-overlay-close:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: rotate(90deg);
}

@media (min-width: 375px) {
    .image-overlay-close {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }
}

@media (min-width: 476px) {
    .image-overlay-close {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
}

@media (min-width: 576px) {
    .image-overlay-close {
        width: 40px;
        height: 40px;
        top: 1.25rem;
        right: 2rem;
    }
}

@media (min-width: 768px) {
    .image-overlay-close {
        top: 1.5rem;
        right: 2rem;
        width: 44px;
        height: 44px;
        font-size: 1.375rem;
    }
}

/* 画像カウンター（左上） */
.image-counter {
    position: absolute;
    top: 3%;
    left: 2%;
    background: rgba(90, 175, 125, 0.9);
    color: var(--color-white);
    padding: 0.375rem 0.875rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-en);
    letter-spacing: 0.05em;
    z-index: 10;
    opacity: 0.8;
}

/* 画像ナビゲーションボタン */
.image-nav-btn {
    position: absolute;
    bottom: 3%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(90, 175, 125, 0.9);
    color: var(--color-white);
    border: 2px solid rgba(90, 175, 125, 0.9);
    border-radius: 50%;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0.8;
}

.image-nav-btn:hover {
    background: var(--color-button-green);
    border-color: var(--color-contact-bg);
    transform: scale(1.05);
    opacity: 1.0;
}

/* 前の画像ボタン（左下） */
.image-nav-prev {
    left: 2%;
}

/* 次の画像ボタン（右下） */
.image-nav-next {
    right: 2%;
}

@media (min-width: 375px) {
    .image-nav-btn {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
}

@media (min-width: 768px) {
    .image-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }
}

/* ========================================
   サービスの流れセクション
======================================== */
.metalwork-flow-section {
   padding: 4rem 1.25rem;
   background: var(--color-section-light-green);
   border-top-left-radius: var(--border-radius-section);
   border-bottom-left-radius: var(--border-radius-section);
   z-index: 2;
   position: relative;
   margin-top: -4rem;
}

/* 英語タイトルを緑に */
.metalwork-flow-section .section-title-en {
   color: var(--color-tertiary);
}

.metalwork-flow-section .section-title-en::before {
   background: var(--color-tertiary);
}

@media (min-width: 576px) {
   .metalwork-flow-section {
       padding: 4rem 2rem;
   }
}

@media (min-width: 768px) {
   .metalwork-flow-section {
       padding: 4.5rem 2rem;
       margin-top: -4.5rem;
   }
}

@media (min-width: 1024px) {
   .metalwork-flow-section {
       padding: 6rem 2rem;
       margin-top: -6rem;
   }
}

/* フローステップコンテナ */
.metalwork-flow-section .flow-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .metalwork-flow-section .flow-steps {
        gap: 2.5rem;
    }
}

/* 各ステップ - 強みセクションのカードスタイルを継承 */
.metalwork-flow-section .flow-step {
    background: transparent; /* 初期状態は透明 */
    border-radius: 1.5rem; /* 全角丸 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0); /* 初期状態は影なし */
    border: 2px solid transparent; /* 初期状態は透明な枠線 */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

/* ステップ画像 */
.metalwork-flow-section .flow-step-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
}

.metalwork-flow-section .flow-step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* スクロールアニメーション表示状態 */
.metalwork-flow-section .flow-step.is-visible {
    background: var(--color-white); /* 白背景 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); /* 影を表示 */
    border-color: var(--color-button-green); /* 緑の枠線 */
}

.metalwork-flow-section .flow-step:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* カード内部 */
.metalwork-flow-section .flow-step-inner {
    padding: 2rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    position: relative;
}

@media (min-width: 576px) {
    .metalwork-flow-section .flow-step-inner {
        padding: 2rem;
    }
}

@media (min-width: 768px) {
    /* 768px以上：常時横並びレイアウト */
    .metalwork-flow-section .flow-step {
        border: 3px solid transparent;
        display: flex;
        flex-direction: row-reverse; /* 画像を右側に配置（奇数番号） */
        align-items: stretch;
    }
    
    /* 偶数番号のカードは画像とテキストを反対に */
    .metalwork-flow-section .flow-step:nth-child(even) {
        flex-direction: row; /* 画像を左側に配置（偶数番号） */
    }

    .metalwork-flow-section .flow-step-image {
        width: 50%;
        flex-shrink: 0;
    }

    .metalwork-flow-section .flow-step-inner {
        width: 50%;
        padding: 2.5rem 2rem;
        gap: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .metalwork-flow-section .flow-step {
        border: 2px solid transparent;
    }
    

    .metalwork-flow-section .flow-step-inner {
        padding: 3rem 2.5rem;
        gap: 1.125rem;
    }
}

@media (min-width: 1440px) {
    .metalwork-flow-section .flow-step-inner {
        padding: 3.5rem 3rem;
        gap: 1.25rem;
    }
}

/* カード右上のアイコン背景 */
.metalwork-flow-section .flow-step-icon-bg {
    position: absolute;
    top: 2rem;
    right: 1.25rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(90, 175, 125, 0.08); /* 初期状態は透明度の低い緑 */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

@media (min-width: 375px) {
    .metalwork-flow-section .flow-step-icon-bg {
        width: 60px;
        height: 60px;
    }
}

@media (min-width: 476px) {
    .metalwork-flow-section .flow-step-icon-bg {
        width: 64px;
        height: 64px;
    }
}

@media (min-width: 576px) {
    .metalwork-flow-section .flow-step-icon-bg {
        top: 2rem;
        right: 2rem;
    }
}

@media (min-width: 768px) {
    .metalwork-flow-section .flow-step-icon-bg {
        top: 2.5rem;
        right: 2rem;
    }
}

@media (min-width: 1024px) {
    .metalwork-flow-section .flow-step-icon-bg {
        top: 3rem;
        right: 2.5rem;
    }
}

@media (min-width: 1440px) {
    .metalwork-flow-section .flow-step-icon-bg {
        top: 3.5rem;
        right: 3rem;
    }
}

/* アイコン */
.metalwork-flow-section .flow-step-icon-bg i {
    font-size: 1.375rem;
    color: rgba(90, 175, 125, 0.3); /* 初期状態は透明度の低い緑 */
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 375px) {
    .metalwork-flow-section .flow-step-icon-bg i {
        font-size: 1.5rem;
    }
}

@media (min-width: 476px) {
    .metalwork-flow-section .flow-step-icon-bg i {
        font-size: 1.625rem;
    }
}

/* 表示時はアイコンの色を濃くする */
.metalwork-flow-section .flow-step.is-visible .flow-step-icon-bg {
    background: rgba(90, 175, 125, 0.12); /* 緑の背景 */
}

.metalwork-flow-section .flow-step.is-visible .flow-step-icon-bg i {
    color: rgba(90, 175, 125, 0.7); /* 緑（控えめな透明度） */
}

/* カード番号（バッジ） */
.metalwork-flow-section .flow-step-number {
    font-size: 0.875rem;
    font-weight: 600;
    font-family: var(--font-en);
    color: var(--color-white);
    background: var(--color-gray); /* 初期状態はグレー */
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem; /* 全角丸 */
    display: inline-block;
    width: fit-content;
    transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .metalwork-flow-section .flow-step-number {
        font-size: 1rem;
        padding: 0.625rem 1.25rem;
        border-radius: 1rem; /* 全角丸 */
    }
}

/* 表示時は緑に変わる */
.metalwork-flow-section .flow-step.is-visible .flow-step-number {
    background: var(--color-button-green); /* 緑 */
}

/* カードタイトル */
.metalwork-flow-section .flow-step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gray); /* 初期状態はグレー */
    line-height: 1.6;
    letter-spacing: 0.05em;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 768px) {
    .metalwork-flow-section .flow-step-title {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .metalwork-flow-section .flow-step-title {
        font-size: 1.625rem;
    }
}

/* 表示時は緑に変わる */
.metalwork-flow-section .flow-step.is-visible .flow-step-title {
    color: var(--color-button-green); /* 緑 */
}

/* カード説明文 */
.metalwork-flow-section .flow-step-text {
    font-size: 1.05rem;
    line-height: var(--body-line-height-sp);
    color: var(--color-text);
    letter-spacing: var(--body-letter-spacing);
}

@media (min-width: 576px) {
    .metalwork-flow-section .flow-step-text {
        font-size: var(--body-font-size-sp);
    }
}

@media (min-width: 768px) {
    .metalwork-flow-section .flow-step-text {
        font-size: var(--body-font-size-pc);
        line-height: var(--body-line-height-pc);
    }
}


