@charset "Shift_JIS";

/* =========================================
           ベース設定・リセット
        ========================================= */
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
            color: #333;
            line-height: 1.6;
            background-color: #fff;
        }
        img { max-width: 100%; height: auto; display: block; }
        a { text-decoration: none; color: inherit; }
        ul { list-style: none; }
        .container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
        
        /* カラーパレット */
        :root {
            --primary-teal: #00a187;
            --dark-teal: #0f5950;
            --line-green: #00c354;
            --orange: #f37021;
            --light-bg: #f8fbfb;
            --light-green: #d1f3e8;
        }

        /* =========================================
           ヘッダー（メニューなし・ロゴのみ）
        ========================================= */
        header {
            display: flex; justify-content: flex-start; align-items: center;
            padding: 15px 40px; background: #fff; position: sticky; top: 0; z-index: 100;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        .logo { font-weight: bold; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
        .logo-icon { width: 30px; height: 30px; background: #ccc; border-radius: 50%; }

        /* =========================================
           ファーストビュー (Hero)
        ========================================= */
        .hero {
            /* 実際の待合室の画像URLに差し替えてください */
            background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('img/bg.png') no-repeat center center/cover;
            height: 85vh; min-height: 600px;
            display: flex; flex-direction: column; justify-content: center; align-items: center;
            text-align: center; color: #fff; padding: 0 20px; position: relative;
        }
        .hero-badge { background: #4cc764; color: #fff; padding: 8px 24px; border-radius: 30px; font-weight: bold; font-size: 0.9rem; margin-bottom: 25px; display: inline-flex; align-items: center; gap: 8px;}
        .hero h1 { font-size: 3.5rem; font-weight: 900; line-height: 1.3; margin-bottom: 25px; letter-spacing: 2px;}
        .hero p { font-size: 1.1rem; font-weight: bold; margin-bottom: 40px; line-height: 1.8; }
        .btn-large { background: var(--primary-teal); color: #fff; padding: 18px 40px; border-radius: 40px; font-size: 1.3rem; font-weight: bold; display: inline-block; transition: 0.3s; margin-bottom: 15px;}
        .btn-large:hover { opacity: 0.9; transform: translateY(-2px); }
        .hero-subtext { font-size: 0.85rem; opacity: 0.9; }

        /* =========================================
           LINE連携セクション (緑背景)
        ========================================= */
        .line-section { background: var(--line-green); padding: 80px 0; color: #fff; }
        .line-inner { display: flex; align-items: center; gap: 50px; justify-content: space-between; }
        .line-content { flex: 1; }
        .line-content h2 { font-size: 2rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
        .line-content p { font-size: 1rem; margin-bottom: 30px; line-height: 1.8; }
        .line-features { display: flex; gap: 15px; flex-wrap: wrap; }
        .line-feature-box { background: rgba(255,255,255,0.2); border-radius: 10px; padding: 15px; flex: 1; min-width: 200px; }
        .line-feature-box h4 { font-size: 1.1rem; margin-bottom: 5px; }
        .line-feature-box p { font-size: 0.8rem; margin: 0; }
        .line-image { flex: 1; text-align: right; position: relative; }
        /* モックアップ画像のプレースホルダー */
        .mockup-img { width: 100%; max-width: 400px; height: 350px; background: #fff; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; color: #ccc; font-weight: bold;}
        .line-badge { position: absolute; bottom: 20px; right: -20px; background: #fff; color: var(--line-green); padding: 15px 25px; border-radius: 30px; font-weight: bold; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

	/* =========================================
           特徴ボックスのリストデザイン（シンプル版）
        ========================================= */
        .line-feature-box h4 {
            margin-bottom: 15px; /* タイトルとリストの間に余裕を持たせる */
        }
        
        .feature-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .feature-list li {
            display: flex;
            align-items: flex-start;
            gap: 8px; /* アイコンと文字の隙間 */
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 10px;
        }
        /* 通常のチェックマークの色とサイズ調整 */
        .feature-list li i {
            color: #fff; /* ★ 緑の背景と同化しないように「真っ白」に変更！ */
            font-size: 1.15rem; /* ★ アイコンを少し大きくして視認性アップ */
            margin-top: 3px; 
            flex-shrink: 0; /* ★ 文章が長くて改行されてもアイコンが潰れない魔法のコード */
        }
        
        /* ハイライト箱の中のチェックマークはオレンジ色 */
        .line-feature-box.feature-highlight .feature-list li i {
            color: #f37021;
        }

        /* =========================================
           Q&A不要・コストを強調する特別ボックス
        ========================================= */
        .line-feature-box.feature-highlight {
            background: #fff;
            color: #0d473f;
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
            border: 3px solid #f37021; /* オレンジの枠線でクッキリさせる */
            border-radius: 10px;
            /* ★ バッジ用の余白設定を削除してスッキリさせました */
        }
        .line-feature-box.feature-highlight h4 {
            color: #f37021;
            font-size: 1.15rem;
            text-align: center; /* タイトルを中央にしてスッキリ見せる */
        }

        /* =========================================
           課題セクション (白背景)
        ========================================= */
        .problems { padding: 100px 0; background: #fff; text-align: center; }
        .sec-pretitle { color: var(--primary-teal); font-weight: bold; font-size: 2rem; margin-bottom: 10px; }
        .sec-title { font-size: 2.2rem; color: #0d473f; margin-bottom: 60px; font-weight: 900; }
        .problem-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
        .p-card { background: #fff; border: 1px solid #eee; border-radius: 15px; padding: 40px 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
        /* アイコン丸枠のスタイル */
	.p-icon {
	    width: 80px;  /* 丸の幅 */
	    height: 80px; /* 丸の高さ */
	    background-color: #e0f2f1; /* 以前のデザインに合わせた薄いグリーン系 */
	    border-radius: 50%; /* 正円にする */
	    display: flex;
	    justify-content: center; /* 水平中央 */
	    align-items: center;     /* 垂直中央 */
	    margin: 0 auto 20px;     /* 中央寄せ・下余白 */
	    color: #00a187; /* アイコンの色（メインカラー） */
	    font-size: 2rem; /* アイコンの大きさ */
	}
	.p-card h3 { font-size: 1.3rem; margin-bottom: 15px; color: #0d473f; }
        .p-card p { font-size: 0.9rem; color: #666; text-align: left; }

        /* =========================================
           ベネフィット・変化セクション
        ========================================= */
        .benefits { padding: 80px 0; background: var(--light-bg); }
        .benefits .sec-title { text-align: left; margin-bottom: 50px; }
        .b-inner { display: flex; gap: 60px; align-items: center; }
        .b-image-wrap { flex: 1; position: relative; }
        .b-image-wrap img { border-radius: 20px; width: 100%; height: 400px; object-fit: cover; background: #ccc; }
        .b-float-box { position: absolute; bottom: 30px; left: -20px; background: #fff; padding: 20px 30px; border-radius: 15px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
        .b-float-box span { color: var(--primary-teal); font-size: 0.8rem; font-weight: bold; display: block; margin-bottom: 5px;}
        .b-float-box p { font-size: 1.2rem; font-weight: bold; margin: 5px 0; color: #333;}
        .b-list { flex: 1; display: flex; flex-direction: column; gap: 30px; }
        .b-item { display: flex; gap: 15px; }
        .check-icon { width: 24px; height: 24px; background: var(--primary-teal); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; flex-shrink: 0; margin-top: 5px;}
        .b-item h4 { font-size: 1.1rem; color: #0d473f; margin-bottom: 8px; }
        .b-item p { font-size: 0.9rem; color: #555; }
        .testimonial { background: var(--light-green); padding: 30px; border-radius: 15px; margin-top: 50px; font-weight: bold; color: #0d473f; text-align: center; }

        /* =========================================
           4つの強みセクション (ダークグリーン)
        ========================================= */
        .strengths { background: var(--dark-teal); padding: 60px 0; color: #fff; text-align: center; }
        .strengths .sec-pretitle { color: #a7f3d0; }
        .strengths .sec-title { color: #fff; margin-bottom: 50px; }

        /* ★ ここが横並びにする親枠です（消えていた場合はこれで復活します） */
        .s-cards { 
            display: grid; 
            grid-template-columns: repeat(4, 1fr); 
            gap: 20px; 
            margin-bottom: 50px; 
        }

        /* ★ 各カードの設定 */
        .s-card { 
            background: rgba(255,255,255,0.1); 
            border-radius: 15px; 
            padding: 40px 20px; 
            text-align: left; 
            display: flex; 
            flex-direction: column; 
            min-width: 0; /* ★ 魔法のコード：中の画像が大きすぎても枠を飛び出させない */
        }
        
        .s-card.highlight { 
            border: 2px solid var(--primary-teal); 
            background: rgba(0, 161, 135, 0.15); 
        }
        
        /* ★ 大きくしたアイコン */
        .s-card-icon { 
            width: 100px;  
            height: 100px; 
            font-size: 2.5rem; 
            background: #fff; 
            border-radius: 50%; 
            margin: 20px auto 40px; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            color: var(--primary-teal); 
            font-weight: bold;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
            flex-shrink: 0;
        }

        .s-card h3 { font-size: 1.1rem; margin-bottom: 15px; text-align: center; }
        .s-card p { font-size: 0.85rem; margin-bottom: 20px; opacity: 0.9; }

        /* ★ 箇条書きを一番下に揃える設定 */
        .s-card ul {
            list-style: none;
            padding: 0;
            margin-top: auto; 
        }
        .s-card ul li { margin-bottom: 8px; font-size: 0.85rem;}
        .s-card ul li i { margin-right: 8px; color: #a7f3d0; }
        .s-card.highlight ul li i { color: #00c354; }

        /* =========================================
           CTA / フッター
        ========================================= */
        .cta { background: var(--dark-teal); padding: 60px 0; text-align: center; color: #fff; border-top: 1px solid rgba(255,255,255,0.1); }
        .cta h2 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.4; }
        .cta p { margin-bottom: 40px; font-size: 1rem; opacity: 0.9; }
        .cta-btns { display: flex; justify-content: center; gap: 20px; margin-bottom: 50px; }
        .btn-orange { background: var(--orange); color: #fff; padding: 18px 40px; border-radius: 40px; font-size: 1.2rem; font-weight: bold; }
        .btn-outline-white { border: 2px solid #fff; color: #fff; padding: 18px 40px; border-radius: 40px; font-size: 1.2rem; font-weight: bold; }
        .cta-icons { display: flex; justify-content: center; gap: 50px; margin-bottom: 40px; }
        .c-icon-item { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: bold;}
        .c-icon-circle { width: 50px; height: 50px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
        .phone-text { font-size: 1.2rem; font-weight: bold; }
        
        footer { background: #0a4039; color: #fff; padding: 60px 0 30px; font-size: 0.9rem; }
        .footer-inner { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 50px; flex-wrap: wrap; gap: 40px; }
        .f-col { flex: 1; min-width: 250px; }
        .f-contact { text-align: right; }
        .f-contact p { font-size: 1.5rem; font-weight: bold; margin-bottom: 5px; }
        .f-contact a { color: #a7f3d0; text-decoration: underline; display: block; margin-bottom: 20px; }
        .f-btn { background: #fff; color: var(--dark-teal); padding: 10px 20px; border-radius: 20px; font-weight: bold; display: inline-block; text-decoration: none ;}

        /* =========================================
           レスポンシブ (スマホ対応)
        ========================================= */
        @media screen and (max-width: 768px) {
            header { padding: 15px 20px; }
            .hero h1 { font-size: 2rem; }
            .line-inner, .b-inner { flex-direction: column; }
            .line-badge { position: static; display: inline-block; margin-top: 20px; }
            .problem-cards, .s-cards { grid-template-columns: 1fr; }
            .cta-btns { flex-direction: column; }
            .cta-icons { flex-direction: column; gap: 20px; }
            .b-float-box { position: static; margin-top: -20px; margin-bottom: 30px;}
            .footer-inner { flex-direction: column; }
            .f-contact { text-align: left; }
        }

	/* =========================================
           お問い合わせフォーム
        ========================================= */
        .contact-section {
            padding: 80px 0;
            background-color: #fff;
        }
        .form-header {
            text-align: center;
            margin-bottom: 50px;
        }
        .form-header h2 {
            font-size: 1.4rem;
            color: #333;
            margin-bottom: 10px;
            font-weight: bold;
        }
        .form-note {
            font-size: 1.1rem;
            font-weight: bold;
            color: #0d473f; /* ダークグリーンで少し目立たせる */
        }
        .contact-form {
            max-width: 700px;
            margin: 0 auto;
        }
        .form-group {
            margin-bottom: 30px;
        }
        .form-group label.field-title {
            display: block;
            font-weight: bold;
            margin-bottom: 10px;
            font-size: 1rem;
            color: #333;
        }
        .required-badge {
            background-color: #e60012; /* 赤色 */
            color: #fff;
            font-size: 0.75rem;
            padding: 2px 6px;
            border-radius: 3px;
            margin-left: 10px;
            vertical-align: text-top;
            font-weight: normal;
        }
        /* テキスト入力欄（下線のみ） */
        .form-input-text {
            width: 100%;
            padding: 10px 5px;
            border: none;
            border-bottom: 1px solid #ccc;
            font-size: 1rem;
            outline: none;
            transition: border-color 0.3s;
            background-color: transparent;
        }
        .form-input-text:focus {
            border-bottom-color: var(--primary-teal);
        }
        /* チェックボックス */
        .checkbox-group {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            margin-top: 10px;
        }
        .checkbox-label {
            display: flex;
            align-items: center;
            gap: 5px;
            cursor: pointer;
            font-weight: normal;
        }
        /* テキストエリア（枠線あり） */
        .form-textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            font-size: 1rem;
            outline: none;
            resize: vertical;
            margin-top: 10px;
        }
        .form-textarea:focus {
            border-color: var(--primary-teal);
        }
        /* 送信ボタン */
        .form-submit {
            text-align: center;
            margin-top: 50px;
        }
        .btn-submit {
            background-color: #7cb342; /* 画像の明るいグリーンに合わせています */
            color: #fff;
            border: none;
            padding: 15px 100px;
            font-size: 1.2rem;
            font-weight: bold;
            cursor: pointer;
            transition: opacity 0.3s;
        }
        .btn-submit:hover {
            opacity: 0.8;
        }


	/* =========================================
           トップ問合せバナー（追従型・シンプル版）
        ========================================= */
        .top-banner {
            background-color: #fff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky; /* スクロールしても上部に固定 */
            top: 0;
            z-index: 999;
            padding: 15px 30px;
            display: flex;
            justify-content: space-between; /* 左右に綺麗に分ける */
            align-items: center;
        }
        
        /* ロゴのスタイル */
        .top-banner .logo {
            font-size: 1.5rem;
            font-weight: 900;
            color: #0d473f; /* ダークグリーン */
        }
	/* ロゴのリンクスタイル（青文字や下線を消して元の色を保つ） */
        .top-banner .logo a {
            text-decoration: none;
            color: inherit;
        }

	/* キャッチコピーとロゴをまとめる設定 */
        .logo-wrapper {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }
        
        /* ロゴ上の小さなキャッチコピーのスタイル */
        .logo-catch {
            font-size: 0.75rem; /* 小さめの文字サイズ */
            color: #666; /* キュアスマイルに合わせた上品なグレー */
            font-weight: normal;
            margin-bottom: -2px; /* タイトルと少し距離を近づける */
            letter-spacing: 0.5px;
        }
        
        /* ボタンのスタイル */
        .banner-btn {
            background-color: #f37021; /* 目立つオレンジ */
            color: #fff;
            padding: 12px 30px;
            border-radius: 40px;
            font-weight: bold;
            font-size: 1rem;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px rgba(243, 112, 33, 0.3);
        }
        .banner-btn:hover {
            background-color: #e56000;
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(243, 112, 33, 0.4);
        }

        /* スマホ用（画面が狭いとき）の調整 */
        @media screen and (max-width: 768px) {
            .top-banner {
                padding: 10px 15px; /* 余白を少し狭く */
            }
            .top-banner .logo {
                font-size: 1.1rem; /* スマホではロゴを少し小さく */
            }
            .banner-btn {
                padding: 10px 15px;
                font-size: 0.85rem; /* スマホでも横並びをキープできるように調整 */
            }
        }

	/* =========================================
           インラインスタイルからの移行分（HTMLクリーンアップ）
        ========================================= */
        /* 各種アイコンの余白調整 */
        .banner-btn i,
        .line-feature-box h4 i { margin-right: 8px; }

        /* LINEアイコン画像のサイズ調整 */
        .hero-badge img { 
            width: 20px ;  /* 横幅をガッチリ固定 */
            height: 20px ; /* 高さもガッチリ固定 */
            flex-shrink: 0; /* 画面サイズに影響されて巨大化・変形するのを防ぐ魔法 */
            object-fit: contain;
            margin-right: 5px;
        }
        .line-content h2 img { 
            width: 32px ; 
            height: 32px ; 
            flex-shrink: 0; 
            object-fit: contain;
            margin-right: 12px; 
        }
        .s-card-icon img { 
            width: 35px ; 
            height: 35px ; 
            flex-shrink: 0; 
            object-fit: contain; 
        }

        /* スマホ画像のスタイル */
        .line-image img { width: 100%; height: 400px; object-fit: cover; border-radius: 20px; }

        /* 4つの強みセクションのリストとアイコン */
        .strengths .sec-title { margin-bottom: 50px; }
        .s-card ul { list-style: none; padding: 0; }
        .s-card ul li { margin-bottom: 8px; }
        .s-card ul li i { margin-right: 8px; color: #a7f3d0; }
        .s-card.highlight ul li i { color: #00c354; }

       /* =========================================
           フッター
        ========================================= */
        .footer-title { font-size: 1.7rem; font-weight: bold; color: #fff; margin-bottom: 15px; }
        .footer-desc { opacity: 0.8; font-size: 0.85rem; line-height: 1.6; }
        .footer-contact-title { opacity: 0.8; font-size: 0.85rem; margin-bottom: 10px; text-align: right; }
        
       /* ロゴ＋社名をまとめるリンク枠 */
        .footer-company-wrap { 
            display: flex; 
            align-items: center; 
            justify-content: flex-end; 
            gap: 5px; /* ★ここを「10px」から「5px」や「3px」などに減らします */
            text-decoration: none ; /* ★「」で古い下線設定を強制キャンセル */
            color: #fff ; /* ★色も白に完全固定 */
        }
        /* マウスを乗せたときに少しフワッと透けるアニメーション */
        .footer-link-hover { transition: opacity 0.3s; }
        .footer-link-hover:hover { opacity: 0.8; }
        
        /* ★ここでロゴのサイズを指定します！ */
        .footer-company-logo { 
            height: 35px; /* ここの数値を大きく/小さくするとサイズが変わります */
            width: auto;  /* 高さに合わせて横幅は自動調整 */
            object-fit: contain; 
        }
        
        /* 会社名ロゴ画像の設定 */
        .footer-company-logo-img {
            height: 75px; /* ★ここを 65px や 75px など、お好みの数値に増やします */
            width: auto;
            object-fit: contain;
            
            /* プロの小技：暗い背景に合わせて、画像を自動的に真っ白に変換します */
            filter: brightness(0) invert(1);
        }
        
        .footer-copy { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; opacity: 0.6; font-size: 0.8rem; }

	/* =========================================
           フッター配置のルール（PC・スマホ両対応）
        ========================================= */
        /* PC：全体は右側へ、文字とロゴの頭は左でピシッと揃える */
        .f-contact {
            display: flex;
            justify-content: flex-end;
        }
        .footer-contact-block {
            display: flex;
            flex-direction: column;
            align-items: flex-start; 
        }
        .footer-contact-title {
            text-align: left;
        }
        .footer-company-wrap {
            display: flex;
            justify-content: flex-start;
        }

        /* スマホ：左寄せ（元の状態）に戻す設定 */
        @media screen and (max-width: 768px) {
            .f-contact {
                justify-content: flex-start;
                margin-top: 30px;
                width: 100%;
            }
            .footer-contact-block {
                align-items: flex-start;
                width: 100%;
            }
            .footer-contact-title {
                text-align: left;
                width: 100%;
            }
            .footer-company-wrap {
                justify-content: flex-start;
                width: 100%;
            }
            .footer-inner {
                margin-bottom: 5px;
            }
        }

	/* =========================================
           デモ動画のスタイル（完全中央揃え・見切れ防止版）
        ========================================= */
        .line-image {
            position: relative;
            width: 100%;
            display: block ; /* ★ Flexの悪さを防ぐ */
            text-align: center ; /* 中身を確実に中央へ */
            padding: 30px 0;
            margin: 0 auto;
        }

        .line-video {
            width: 90% ; /* ★ 画面の端にくっつかないように余裕を持たせる */
            max-width: 280px ;
            height: auto ;
            border-radius: 20px; /* スマホの角丸 */
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
            border: 5px solid #fff;
            background-color: #fff;
            display: block ;
            margin: 0 auto ; /* ★ 確実な二重中央揃え */
            object-fit: contain ; /* 動画が勝手に拡大されて見切れるのを防ぐ */
        }

        /* スマホでのバッジ・動画の型崩れ修正 */
        .line-badge {
            z-index: 10;
        }

        @media screen and (max-width: 768px) {
            .line-image {
                padding-bottom: 50px; /* バッジが被る分の余白 */
                margin-top: 20px;
            }
            .line-video {
                max-width: 250px ;
            }
            .line-badge {
                /* ★ はみ出しの原因だったtransformを解除し、安全な中央揃えに変更 */
                left: 0 ;
                right: 0 ;
                transform: none ;
                margin: 0 auto ; 
                
                bottom: 5px ; /* 動画の少し下に配置 */
                width: 90% ; /* 横幅を画面の90%までに制限 */
                max-width: 280px ; /* さらに最大幅を制限してはみ出し防止 */
                white-space: normal ; /* 狭い時は自然に改行させる */
                padding: 10px ;
                line-height: 1.4 ;
            }
        }

	/* =========================================
           4つの強み：高さガタガタを完全解消する魔法
        ========================================= */
        .s-card {
            height: 100%; /* フレックスボックスの下揃えを確実に有効にする */
        }

        /* @ 画像エリアの高さを固定して、見出しのスタート位置を横一列に揃える */
        .s-card > div:first-child:not(.s-card-icon) {
            height: 160px;
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin-top: 0;
            margin-bottom: 25px; /* 合計185pxの空間を確保 */
        }

        /* 画像が枠をはみ出さないように自動リサイズ */
        .s-card > div:first-child:not(.s-card-icon) img {
            max-height: 100%;
            width: auto;
            max-width: 100%;
            object-fit: contain;
            margin: 0 auto;
        }

        /* A アイコンエリアも、画像と同じ「合計185pxの空間」に合わせる */
        .s-card-icon {
            margin: 30px auto 55px; /* 30 + 100 + 55 = 185px */
        }

        /* B 箇条書きを一番下に押し下げる魔法を強化 */
        .s-card ul {
            margin-top: auto;
        }


/* ロゴ画像のサイズ調整 */
.header-logo-img {
    height: 45px; /* ヘッダーの高さに合わせて調整 */
    width: auto;
    display: block;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.header-logo-img:hover {
    opacity: 0.8;
}

/* スマホ表示時のサイズ調整 */
@media screen and (max-width: 768px) {
    .header-logo-img {
        height: 35px; /* スマホでは少し小さくして収まりを良くする */
    }
}

/* ヘッダー内のレイアウト微調整 */
.top-banner .logo {
    display: flex;
    align-items: center;
    /* 既存の font-weight 等は画像化により不要になりますが、そのままでも影響ありません */
}


/*[cite: 2] の末尾などに追加 */

/* フッターロゴのコンテナ */
.footer-logo {
    margin-bottom: 15px;
}

/* ロゴ画像本体の調整 */
.f-logo-img {
    height: 40px; /* 他の要素とのバランスを考えた高さ */
    width: auto;
    display: block;
    object-fit: contain;
    /* ロゴが少し暗い場合は、以下のフィルタで明るさを微調整できます */
    /* filter: brightness(1.2); */
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .f-logo-img {
        height: 32px; /* モバイル端末では少し小さく */
        margin: 0 auto 15px; /* スマホ時は中央寄せが一般的です */
    }
}