/* style.css の内容をここにコピー＆ペーストしてください */
        :root {
            --color-bg-dark: #1A1A1A;
            --color-bg-light: #ffffff;
            --color-text-dark: #2C2C2C;
            --color-text-light: #ffffff;
            --color-accent-gold: #D4AF37;
            --color-accent-bronze: #B27C44;
            --color-bg-mid: #f0f0f0;
            /* 料金.htmlから追加したブランドカラー */
            --color-brand-green: #a3b18a;
            --color-brand-dark: #1a3e6c;
        }

        /* 【重要】アイコンの枠を四角に変更する修正 */
        .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: all 0.3s;
            background-color: transparent;
            border: 1px solid transparent; 
            overflow: hidden;
        }
        
        .social-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 0;
        }

        .social-icon:hover {
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
            transform: scale(1.05);
        }

        /* --- 他のセクションのCSSは変更なし --- */
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        body.menu-open {
            overflow: hidden;
        }
        .hero {
            position: relative;
            width: 100%;
            height: 100vh;
            overflow: hidden;
            display: flex;
            align-items: flex-end;
            justify-content: flex-start;
            text-align: center;
            color: white;
            padding-bottom: 8rem;
        }
        /* ▼▼▼ ヒーローセクションの高さをモバイルで小さくする (100vh -> 50vh) ▼▼▼ */
        @media (max-width: 767px) {
            .hero {
                height: 50vh; /* 画面の約半分に縮小 */
                padding-bottom: 4rem; 
            }
        }
        
        .hero-bg {
            position: absolute;
            top: 50%;
            left: 0;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            transform: translateY(-50%);
            z-index: -1;
            object-fit: cover;
        }
        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.3);
            z-index: 0;
        }
        .hero-content {
            position: relative;
            z-index: 10;
            text-align: left;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
        }
        .hero-title {
            font-size: 3.5rem;
            font-weight: 800;
            letter-spacing: -0.05em;
            line-height: 1.2;
            margin-bottom: 1rem;
            animation: fadeIn 1s ease-in-out;
        }
        /* 【モバイルフレンドリー修正】ヒーロータイトルのフォントサイズ調整 */
        @media (max-width: 767px) {
            .hero-title {
                font-size: 2.5rem;
            }
        }
        .cta-button {
            background-color: transparent;
            color: #fff;
            padding: 1rem 2.5rem;
            border-radius: 4px;
            border: 2px solid white;
            font-weight: 700;
            text-decoration: none;
            transition: background-color 0.3s, transform 0.2s, border-color 0.3s;
            animation: fadeIn 1s ease-in-out 0.6s forwards;
            opacity: 0;
        }
        .cta-button:hover {
            background-color: #3b82f6;
            border-color: #3b82f6;
            transform: translateY(-2px);
        }
        /* --- ヒーローセクション終わり --- */

        .header {
            background-color: transparent;
            position: fixed;
            width: 100%;
            top: 0;
            left: 0;
            z-index: 20;
            transition: background-color 0.3s;
        }
        .header.scrolled {
            background-color: rgba(255, 255, 255, 0.95);
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        .header.scrolled .logo, .header.scrolled a {
            color: var(--color-text-dark);
        }
        /* 【モバイルフレンドリー修正】メニューボタンの色をスクロール時に調整 */
        .header.scrolled #menu-button, .header.scrolled .menu-icon, .header.scrolled .menu-text {
            color: var(--color-text-dark);
        }
        .header #menu-button, .header .menu-icon, .header .menu-text {
            color: var(--color-text-light);
        }

        /* 以下は重厚感のあるデザインを維持 */
        body {
            background-color: var(--color-bg-light);
            color: var(--color-text-dark);
        }
        
        .section-title-box {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
            border: 1px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            padding: 2rem;
            display: inline-block;
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
            border-radius: 10px;
        }

        /* カードのスタイル */
        .card {
            background-color: var(--color-bg-dark);
            color: var(--color-text-light);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
        }
        /* 【モバイルフレンドリー修正】モバイルではホバー効果を無効化 */
        @media (max-width: 767px) {
            .card:hover {
                transform: translateY(0);
                box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
            }
        }


        /* 画像フィルターを修正し、アニメーションを追加 */
        .card-image-container {
            overflow: hidden;
        }
        .card-image-container img {
            width: 100%;
            height: 14rem;
            object-fit: cover;
            border-top-left-radius: 0.5rem;
            border-top-right-radius: 0.5rem;
            transition: filter 0.5s, transform 0.5s;
        }
        .group:hover .card-image-container img {
            filter: grayscale(0%);
            transform: scale(1.05);
        }
        /* 【モバイルフレンドリー修正】モバイルではホバー効果を無効化 */
        @media (max-width: 767px) {
            .group:hover .card-image-container img {
                filter: grayscale(100%);
                transform: scale(1.0);
            }
        }


        .feature-card {
            background-color: #ffffff;
            border: 1px solid #e2e8f0;
            border-left: 5px solid #a3b18a;
            border-radius: 1rem;
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
        }
        /* 【モバイルフレンドリー修正】モバイルではホバー効果を無効化 */
        @media (max-width: 767px) {
            .feature-card:hover {
                transform: translateY(0);
                box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
            }
        }

        .divider-line {
            height: 2px;
            width: 100px;
            background-color: #a3b18a;
            margin: 2rem auto;
        }
        
        /* -------------------------------------- */
        /* 【料金.htmlから移植したボタンスタイル】 */
        /* -------------------------------------- */
        .button-link {
            text-decoration: none;
            color: inherit;
            display: block;
            margin: 10px auto;
            max-width: 400px;
        }

        .button {
            display: flex;
            align-items: center;
            justify-content: center;
            
            /* 【画像に合わせたグラデーションと光沢】 - 青色を使用 */
            background: linear-gradient(to bottom, #4f73a9 0%, var(--color-brand-dark) 100%);
            color: white;
            
            /* 【サイズを大きく設定】 */
            padding: 15px 30px;
            min-width: 250px; 
            border-radius: 10px; 
            font-size: 22px; 
            font-weight: 800; 
            white-space: nowrap;
            
            /* 【立体感と縁】 */
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
            position: relative;
            overflow: hidden; 
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        /* 【光沢エフェクトの追加】 */
        .button::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 50%;
            height: 100%;
            background: rgba(255, 255, 255, 0.5); /* 白い光沢 */
            transform: skewX(-30deg);
            transition: left 0.5s;
        }
        
        /* 【ホバー時のアニメーション】 */
        .button:hover {
            transform: translateY(-4px);
            box-shadow: 0 15px 25px rgba(0, 0, 0, 0.6);
        }
        .button:hover::after {
            left: 150%; 
        }
        /* 【モバイルフレンドリー修正】モバイルではホバー効果を無効化 */
        @media (max-width: 767px) {
            .button:hover {
                transform: translateY(0);
                box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
            }
            .button:hover::after {
                left: -100%;
            }
        }
        
        .button-icon-container {
            width: 30px; 
            height: 30px;
            min-width: 30px; 
            background-color: white;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-right: 15px; 
            box-shadow: 0 0 5px rgba(0, 0, 0, 0.3) inset;
        }
        
        .button-icon {
            fill: var(--color-brand-dark); /* 青系の塗りつぶし */
            width: 14px; 
            height: 14px; 
            margin-left: 3px; 
        }
        /* --- ボタン関連のスタイルここまで --- */


        .cta-button-improved {
            background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-bronze));
            color: var(--color-bg-dark);
            padding: 1.2rem 3.5rem;
            border-radius: 9999px;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.3s;
            border: 2px solid transparent;
            display: inline-block;
            box-shadow: 0 5px 20px rgba(180, 150, 80, 0.3);
        }
        .cta-button-improved:hover {
            background: var(--color-bg-dark);
            color: var(--color-accent-gold);
            border-color: var(--color-accent-gold);
            transform: translateY(-2px);
        }
        
        /* 新規追加: cta-button-black のスタイル */
        .cta-button-black {
            background-color: transparent;
            color: #2C2C2C;
            padding: 1rem 2.5rem;
            border-radius: 4px;
            border: 2px solid #2C2C2C;
            font-weight: 700;
            text-decoration: none;
            transition: background-color 0.3s, transform 0.2s, border-color 0.3s, color 0.3s;
            display: inline-block;
        }
        .cta-button-black:hover {
            background-color: #2C2C2C;
            color: #fff;
            transform: translateY(-2px);
        }

        .drawer-wrapper {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.5);
            transform: translateX(-100%);
            transition: transform 0.3s ease-in-out;
            z-index: 50;
            display: flex;
        }
        .drawer-wrapper.open {
            transform: translateX(0);
        }
        .drawer-content {
            /* 【モバイルフレンドリー修正】モバイルでメニューを大きく表示 */
            width: 85%; 
            max-width: 450px;
            height: 100%;
            background-color: #fff;
            position: relative;
            overflow: hidden;
            display: flex;
        }
        .main-menu-container, .sub-menu-container {
            width: 100%;
            height: 100%;
            overflow-y: auto;
            background-color: #f7f7f7;
            flex-shrink: 0;
            transition: transform 0.3s ease-in-out;
        }
        .sub-menu-container {
            background-color: #fff;
        }
        .drawer-content.sub-menu-active .main-menu-container {
            transform: translateX(-100%);
        }
        .drawer-content.sub-menu-active .sub-menu-container {
            transform: translateX(-100%);
        }
        .menu-item-with-arrow {
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            padding: 1rem;
            border-bottom: 1px solid #ddd;
        }
        .close-drawer-button {
            position: absolute;
            top: 1rem;
            right: 1rem;
            z-index: 60;
        }
        /* カード内の画像の高さを調整 */
        .card-image-container img {
            width: 100%;
            height: 14rem;
            object-fit: cover;
            border-top-left-radius: 0.5rem; /* rounded-t-lg */
            border-top-right-radius: 0.5rem; /* rounded-t-lg */
        }
        
        /* 新規追加セクションのスタイル */
        .self-history-section {
            background-image: linear-gradient(112.5deg, rgb(214, 214, 214) 0%, rgb(214, 214, 214) 10%,rgb(195, 195, 195) 10%, rgb(195, 195, 195) 53%,rgb(176, 176, 176) 53%, rgb(176, 176, 176) 55%,rgb(157, 157, 157) 55%, rgb(157, 157, 157) 60%,rgb(137, 137, 137) 60%, rgb(137, 137, 137) 88%,rgb(118, 118, 118) 88%, rgb(118, 118, 118) 91%,rgb(99, 99, 99) 91%, rgb(99, 99, 99) 100%),linear-gradient(157.5deg, rgb(214, 214, 214) 0%, rgb(214, 214, 214) 10%,rgb(195, 195, 195) 10%, rgb(195, 195, 195) 53%,rgb(176, 176, 176) 53%, rgb(176, 176, 176) 55%,rgb(157, 157, 157) 55%, rgb(157, 157, 157) 60%,rgb(137, 137, 137) 60%, rgb(137, 137, 137) 88%,rgb(118, 118, 118) 88%, rgb(118, 118, 118) 91%,rgb(99, 99, 99) 91%, rgb(99, 99, 99) 100%),linear-gradient(135deg, rgb(214, 214, 214) 0%, rgb(214, 214, 214) 10%,rgb(195, 195, 195) 10%, rgb(195, 195, 195) 53%,rgb(176, 176, 176) 53%, rgb(176, 176, 176) 55%,rgb(157, 157, 157) 55%, rgb(157, 157, 157) 60%,rgb(137, 137, 137) 60%, rgb(137, 137, 137) 88%,rgb(118, 118, 118) 88%, rgb(118, 118, 118) 91%,rgb(99, 99, 99) 91%, rgb(99, 99, 99) 100%),linear-gradient(90deg, rgb(195, 195, 195),rgb(228, 228, 228));
            background-blend-mode: overlay, overlay, overlay, normal;
            font-family: 'Noto Sans JP', sans-serif;
            position: relative;
        }
        .self-history-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--color-text-dark);
            line-height: 1.5;
            letter-spacing: 0.05em;
        }
        /* 【モバイルフレンドリー修正】タイトルサイズを調整 */
        @media (max-width: 767px) {
            .self-history-title {
                font-size: 2rem;
            }
        }
        .self-history-subtitle {
            font-size: 1.25rem;
            color: var(--color-text-dark);
            margin-top: 1rem;
        }
        /* 【モバイルフレンドリー修正】サブタイトルサイズを調整 */
        @media (max-width: 767px) {
            .self-history-subtitle {
                font-size: 1rem;
            }
        }
        .feature-card {
            background-color: #ffffff;
            border: 1px solid #e2e8f0;
            border-left: 5px solid #a3b18a;
            border-radius: 1rem;
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
        }
        .feature-icon-container {
            width: 100%;
            height: 150px;
            overflow: hidden;
            border-radius: 1rem 1rem 0 0;
        }
        .feature-icon-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .feature-text {
            color: #4a5568;
            line-height: 1.8;
        }
        .divider-line {
            height: 2px;
            width: 100px;
            background-color: #a3b18a;
            margin: 2rem auto;
        }

        /* プランセクションのスタイル */
        .plan-section {
            position: relative;
            background-color: var(--color-bg-mid);
            padding: 10rem 0;
            display: flex;
            align-items: center;
            overflow: hidden;
            margin-top: 120px;
        }
        
        /* ▼▼▼ プランセクションのボタン位置と高さ調整 ▼▼▼ */
        @media (max-width: 767px) {
            .plan-section {
                padding: 4rem 0 10rem 0; 
                flex-direction: column; 
            }
        }

        .plan-bg {
            position: absolute;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
            height: 100%;
            width: 100%;
            object-fit: cover;
            z-index: 1;
        }

        @media (max-width: 767px) {
            .plan-bg {
                position: absolute;
                bottom: 0;
                top: auto;
                left: 50%;
                transform: translateX(-50%);
                height: 50%; 
                width: 90%; 
                object-fit: contain;
                z-index: 1;
            }
            .plan-content {
                position: relative;
                z-index: 10;
                flex-grow: 1;
                left: 0;
                padding-left: 1.5rem;
                padding-right: 1.5rem;
                /* ▼▼▼ 修正点3: モバイルでのテキスト揃えを左寄せに統一 ▼▼▼ */
                text-align: left;
            }
        }
        
        .plan-content {
            position: relative;
            z-index: 10;
            flex-grow: 1;
            left: 0;
            padding-left: 1.5rem;
        }
        .plan-title {
            font-size: 3rem;
            font-weight: 700;
            line-height: 1.2;
            color: var(--color-text-dark);
            margin-bottom: 1rem;
        }
        .plan-subtitle {
            font-size: 1.25rem;
            color: var(--color-text-dark);
            margin-bottom: 2rem;
        }
        
        /* セクション区切り SVG */
        .section-divider {
            position: relative;
            width: 100%;
            height: 100px;
            overflow: hidden;
            background-color: var(--color-bg-light);
        }
        .section-divider svg {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100px;
            fill: var(--color-bg-mid);
            transform: translateY(1px);
        }
        
        /* 【モバイルフレンドリー修正】PCでの固定値を解除 */
        @media (min-width: 768px) {
            .plan-content {
                left: 100px; 
            }
        }
        /* --- 新規追加セクション「もっと知る」のスタイル --- */
        .more-info-section {
            padding: 8rem 0;
            background-color: #f7f7f7;
            text-align: center;
        }
        /* 【モバイルフレンドリー修正】モバイルでのパディングを調整 */
        @media (max-width: 767px) {
            .more-info-section {
                padding: 4rem 0;
            }
        }

        .more-info-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: #2C2C2C;
            margin-bottom: 4rem;
        }
        .info-card {
            position: relative;
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: pointer;
        }
        /* 【モバイルフレンドリー修正】モバイルではホバー効果を無効化 */
        @media (max-width: 767px) {
            .info-card:hover {
                transform: translateY(0);
                box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            }
        }

        .info-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        }
        .info-card img {
            width: 100%;
            height: auto;
            display: block;
        }
        .info-card-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
            color: white;
            padding: 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            min-height: 100px;
        }
        .info-card-title {
            font-size: 1.25rem;
            font-weight: 600;
        }
        .info-card-arrow {
            width: 24px;
            height: 24px;
            color: white;
        }
        /* 添付画像のフレーム形状を忠実に再現するためのアスペクト比調整 */
        .info-card-container {
            display: grid;
            gap: 2rem;
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
        /* 【モバイルフレンドリー修正】モバイルでは1列表示 */
        @media (max-width: 767px) {
            .info-card-container {
                grid-template-columns: 1fr;
                padding: 0 1.5rem;
            }
        }
        /* 新規追加: フッターのスタイル */
        .footer {
            background-color: #1a1a1a;
            color: #fff;
            padding: 4rem 0;
            font-family: 'Noto Sans JP', sans-serif;
        }
        .footer-heading {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        .footer-link {
            display: block;
            margin-bottom: 0.5rem;
            color: #fff;
            opacity: 0.8;
            transition: opacity 0.3s;
        }
        .footer-link:hover {
            opacity: 1;
        }
        .footer-button {
            background-color: transparent;
            color: #fff;
            padding: 0.75rem 2rem;
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-radius: 9999px;
            font-weight: 700;
            transition: all 0.3s;
        }
        .footer-button:hover {
            background-color: #fff;
            color: #1a1a1a;
        }
        .social-icons-container {
            display: flex;
            gap: 1rem;
        }
        
        /* 帰属表示のスタイル */
        .attribution {
            position: absolute;
            bottom: 10px;
            right: 10px;
            font-size: 0.75rem;
            color: #6b7280;
            opacity: 0.7;
            z-index: 100;
        }
        .attribution a {
            color: #6b7280;
            text-decoration: none;
        }
        .attribution a:hover {
            text-decoration: underline;
        }
        /* ユーザーからの要望による追加CSS */
        .py-8.bg-white:has(.text-6xl) {
            padding-top: 10rem;
            padding-bottom: 10rem;
        }
        /* 【モバイルフレンドリー修正】「継承、そして安心へ。」セクションのパディング調整 */
        @media (max-width: 767px) {
            .py-8.bg-white:has(.text-6xl) {
                padding-top: 6rem;
                padding-bottom: 6rem;
            }
            .py-8.bg-white:has(.text-6xl) .text-6xl {
                font-size: 2.5rem;
                line-height: 1.4;
            }
            .py-8.bg-white:has(.text-6xl) .text-2xl {
                font-size: 1.25rem;
            }
        }

        /* 新規追加: cta-button-in-text のスタイル */
        .cta-button-in-text {
            background-color: transparent;
            color: #2C2C2C;
            padding: 1rem 2.5rem;
            border-radius: 4px;
            border: 2px solid #2C2C2C;
            font-weight: 700;
            text-decoration: none;
            transition: background-color 0.3s, transform 0.2s, border-color 0.3s, color 0.3s;
            display: inline-block;
        }
        .cta-button-in-text:hover {
            background-color: #2C2C2C;
            color: #fff;
            transform: translateY(-2px);
        }
        
        /* ユーザーの要望によるデザイン変更 */
        .cta-button-white-fill {
            background-color: #ffffff;
            color: #2C2C2C;
            padding: 1rem 2.5rem;
            border-radius: 4px;
            border: 2px solid #2C2C2C;
            font-weight: 700;
            text-decoration: none;
            transition: background-color 0.3s, transform 0.2s, border-color 0.3s, color 0.3s;
            display: inline-block;
        }
        .cta-button-white-fill:hover {
            background-color: #2C2C2C;
            color: #fff;
            transform: translateY(-2px);
        }
        
        /* 「大切な家族と、安心で繋がる」セクションの薄い抹茶色のボタン */
        .cta-button-green {
            background-color: #A3B18A;
            color: #ffffff;
            padding: 1.2rem 3.5rem;
            border-radius: 9999px;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.3s;
            border: 2px solid #A3B18A;
            display: inline-block;
            box-shadow: 0 5px 20px rgba(163, 177, 138, 0.3);
        }
        .cta-button-green:hover {
            background-color: transparent;
            color: #A3B18A;
            border-color: #A3B18A;
            transform: translateY(-2px);
        }
        
        .bold-black {
            font-weight: bold;
            color: black;
        }

        /* 【ご利用.htmlからの追加】画像CTAのスタイル */
        .image-cta-container {
            display: block;
            margin: 1.5rem auto 2.5rem;
            max-width: 400px;
            height: auto; 
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .image-cta-container:hover {
            transform: translateY(-4px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
        }
        .image-cta-container img {
            width: 100%;
            height: auto;
            vertical-align: top;
        }
        /* 【モバイルフレンドリー修正】モバイルではホバー効果を無効化 */
        @media (max-width: 767px) {
            .image-cta-container:hover {
                transform: translateY(0);
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
            }
        }
        
        /* ユーザーからの要望による追加CSS - 画像の上にテキストを重ねるため（今回は不使用、欄外配置のため） */
        .image-cta-with-text-container {
            position: relative;
            display: block;
            margin: 0 auto;
            max-width: 400px; 
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .image-cta-with-text-container:hover {
            transform: translateY(-4px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
        }
        .image-cta-with-text-container img {
            width: 100%;
            height: auto;
            display: block;
        }
        .cta-text-overlay {
            position: absolute;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            background-color: rgba(44, 44, 44, 0.9);
            color: #ffffff;
            font-size: 0.875rem;
            font-weight: 700;
            padding: 0.25rem 0.75rem;
            border-radius: 5px;
            z-index: 10;
            white-space: nowrap;
        }
        @media (max-width: 768px) {
            .image-cta-with-text-container {
                 max-width: 90%;
            }
            .cta-text-overlay {
                font-size: 0.75rem;
            }
        }
        /* 【モバイルフレンドリー修正】フッターの調整 */
        @media (max-width: 767px) {
            .footer-heading {
                margin-top: 1.5rem;
            }
            .footer > .container > div.pb-16.mb-16 {
                padding-bottom: 2rem;
                margin-bottom: 2rem;
            }
            .footer-heading {
                margin-bottom: 0.5rem;
            }
            .footer-button {
                width: 100%;
                text-align: center;
            }
            .social-icons-container {
                justify-content: center;
            }
            .footer-link {
                text-align: center;
            }
        }