/*
 Theme Name:   yuimaru Child
 Template:     yuimaru
*/

@media (min-width: 1200px) {
    .h2, h2 {
        font-size:3rem !important;
    }
}

/* 文字にマーカー */
.text_marker{
	 background:linear-gradient(transparent 60%, #ffe9b9 60%);
}

/* 下向き矢印 */
.section_arrow {
    position: relative;
    display: block;
    width: 2px;
    height: 80px;
    margin: auto;
    border-radius: 9999px;
    background-color: #666666;
}

.section_arrow::before {
content: "";
    position: absolute;
    bottom: 0;
    left: calc(50% - 2px);
    width: 2px;
    height: 25px;
    border-radius: 9999px;
    background-color: #333333;
    transform: rotate(-45deg);
    transform-origin: 50% calc(100% - 2px);
}

        /* バナー本体 */
        .orange-banner {
    background: linear-gradient(to bottom, #ff9b22 0%, #ff7a00 100%);
    border-radius: 100px;
    width: 100%;
    max-width: 1180px;
    padding: 25px 40px;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: absolute;
    right: 0;
    left: 0;
    margin: 0 auto;			
        }

        /* メインテキスト一行目 */
        .main-text {
            color: #ffffff;
            font-weight: bold;
            font-size: clamp(1.2rem, 4vw, 2.2rem); /* 画面幅に合わせて伸縮 */
            letter-spacing: 0.05em;
            margin: 0;
            line-height: 1.2;
        }

        /* 数字の強調部分（黄色） */
        .highlight-num {
            color: #fff200;
            font-size: 1.4em; /* 周りの文字より大きく */
            margin: 0 4px;
            /* テキストに少しだけ影をつけて視認性を向上（オプション） */
            text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
        }

        /* サブテキスト二行目 */
        .sub-text {
            color: #ffffff;
            font-size: clamp(0.9rem, 2.5vw, 1.3rem);
            font-weight: bold;
            margin: 0;
            letter-spacing: 0.02em;
        }

        /* モバイル対応の微調整 */
        @media (max-width: 600px) {
            .orange-banner {
                padding: 20px 25px;
                border-radius: 40px; /* 小さい画面では少し角丸を抑える */
            }
        }

/* ******************************************************** 
 * ********************************************************
 * ナビメニュー
 * ********************************************************
 * ********************************************************
 * */

        /* ナビゲーションの基本設定 */
        #main-navbar {
            padding: 1.5rem 0;
            transition: all 0.5s ease;
        }

        /* スクロール時のスタイル（Bootstrap 5.3対応） */
        .nav-scrolled {
            background-color: rgba(255, 255, 255, 0.95) !important;
            backdrop-filter: blur(8px);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            padding: 0.8rem 0 !important;
        }

        .nav-scrolled .navbar-brand,
        .nav-scrolled .nav-link {
            color: #333 !important;
        }

   /* ナビゲーションリンクのホバーアニメーション */
        .nav-link {
            position: relative;
            font-size: 0.85rem;
            letter-spacing: 0.1em;
            margin: 0 1rem;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 1px;
            bottom: 0;
            left: 50%;
            background-color: currentColor;
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .nav-link:hover::after {
            width: 80%;
        }

        /* カスタムボタン */
        .btn-outline-custom {
            border: 1px solid white;
            color: white;
            padding: 0.75rem 2.5rem;
            border-radius: 0;
            letter-spacing: 0.2em;
            transition: all 0.3s ease;
        }

        .btn-outline-custom:hover {
            background-color: white;
            color: #333;
        }

        /* アニメーション */
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
            40% {transform: translateY(-10px);}
            60% {transform: translateY(-5px);}
        }

        .scroll-down-indicator {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            animation: bounce 2s infinite;
        }

/* ******************************************************** 
 * ********************************************************
 * TOPこのようなお悩みはありませんか
 * ********************************************************
 * ********************************************************
 * */

        :root {
            --bg-dark-blue: #092845;
            --accent-color: #ffc107; /* アクセント用のゴールド/イエロー */
        }

        .concerns-section {
background-color:#F5F5F5;
    padding: 100px 20px 150px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 240px), 50% 100%, 0 calc(100% - 240px));
    margin-bottom: -60px;
    position: relative;
    z-index: 1;
        }

        .section-title {
            font-weight: 700;
            margin-bottom:32px;
            text-align: center;
            position: relative;
            padding-bottom: 15px;
        }


        .section-title span{
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
        /* Flexコンテナ：rowを使わずに手動で制御 */
        .flex-wrapper {
            display: flex;
            flex-wrap: wrap;
            justify-content: center; /* これで2行目の2枚が中央に寄ります */
            gap: 24px; /* カード同士の間隔 */
            max-width: 1200px;
            margin: 0 auto;
        }

        .concern-card:hover {
            transform: translateY(-5px);
        }


        .concern-text {
			font-size: 1.3rem;
}


        /* セクションタイトル */
        .section-title {
            font-weight: 700;
            margin-bottom: 50px;
            text-align: center;
            line-height: 1.4;
            font-size: 2rem;
        }

        .section-title span {
            display: block;
            font-size:2rem;
            margin-bottom: 10px;
        }

        .section-title b {
            color: var(--accent-blue);
        }

        /* 3カラムレイアウト構造 */
        .concerns-layout {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
			max-width: 1100px;
    margin: auto;
        }

        .side-column {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .center-column {
            flex: 0 0 250px;
            text-align: center;
        }

        /* カードの基本設定（デザインは維持） */
        .concern-card {
            border-radius: 10px;
            padding: 30px 25px;
            display: flex;
            align-items: center;
            box-sizing: border-box;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            width: 100%;
			border: 1px solid #d1d5db;
			    min-width: 300px;
			    background: #ffffff;
        }

        .concern-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }


        /* テキスト（デザインは維持） */
        .concern-text {
            font-size: 1.5rem;
            font-weight:500;
            line-height: 1.5;
            margin: 0;
        }


/* Gridレイアウトの設定 (row/colの代わり) */
        .support-grid {
            display: grid;
            grid-template-columns: repeat(1, 1fr); /* デフォルトは1列 */
            gap: 2rem; /* カード間の余白 */
            max-width: 1100px;
            margin: 0 auto;
        }

        /* タブレット・PC向けのレスポンシブ設定 */
        @media (min-width: 768px) {
            .support-grid {
                grid-template-columns: repeat(2, 1fr); /* タブレットは2列 */
            }
        }
        @media (min-width: 992px) {
            .support-grid {
                grid-template-columns: repeat(3, 1fr); /* PCは3列 */
            }
        }

        .support-card {
            background: #fff;
            border-radius: 20px;
            padding: 2.5rem 1.5rem;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .support-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 45px rgba(0,0,0,0.1);
        }



        .icon-box {
    width: 80px;
    height: 80px;
    background-color:#F9FAFB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #092845;
    flex-shrink: 0;
			margin-right: 15px;
        }
        /* イラスト設定 */
        .nayami-men {
            width: 100%;
            max-width: 220px;
            height: auto;
            margin: 0 auto;
        }

        /* 下部エリア */
        .nayami-text {
            max-width: 900px;
            margin:0px auto 0;
            font-size: 1.8rem;
            font-weight: 700;
            text-align: center;
            line-height: 1.6;
        }

        .nayami-text b {
            color: var(--accent-blue);
        }

        /* レスポンシブ調整 */
        @media (max-width: 991px) {
            .concerns-layout {
                flex-direction: column;
                gap: 30px;
            }
            .center-column {
                order: 2; /* スマホでイラストを真ん中に配置 */
                flex: none;
            }
            .side-column:first-child {
                order: 1;
                width: 100%;
            }
            .side-column:last-child {
                order: 3;
                width: 100%;
            }
            .section-title {
                font-size: 1.75rem;
            }
            .nayami-text {
                font-size: 1.5rem;
            }
        }

        @media (max-width: 650px) {
            .concerns-section {
                padding: 60px 15px;
            }
            .section-title {
                font-size: 1.4rem;
            }
            .concern-text {
                font-size: 1rem;
            }
            .nayami-text {
                font-size: 1.2rem;
            }
            .nayami-men {
                max-width: 180px;
            }
        }
       .feature-title {
            font-weight: 700;
            font-size: 1.25rem;
            margin-bottom: 15px;
            color: #004085;
        }

        .badge-custom {
            background-color: #ffefc1;
            color: #856404;
            font-weight: 700;
            padding: 5px 15px;
            border-radius: 50px;
            font-size: 0.85rem;
            display: inline-block;
            margin-bottom: 10px;
            align-self: center;
        }

        .point-text {
            font-weight: 700;
            color: #d63384;
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }


/* ******************************************************** 
 * ********************************************************
 * TOP 10年以上
 * ********************************************************
 * ********************************************************
 * */

:root {
            --eru-brand-blue: #0056FF;
            --eru-light-blue: #E8F0FF;
            --eru-number-color: #A3C4FF;
            --eru-bg-grid: #f0f3f8;
        }


        :root {
            --sky-400: #38bdf8;
            --slate-800: #1e293b;
            --overlay-dark: rgba(15, 23, 42, 0.7);
            /* スライド画像のURLを一括管理 */
            --slide-url: url('http://kabuyui2026.hp-kari2.com/wp-content/uploads/top_slide.png');
        }

        /* スライドアニメーション：背景の位置を動かすことで無限ループを作る */
        @keyframes bg-scroll-left {
            from { background-position: 0 center; }
            to { background-position: -2000px center; } /* 画像の幅に合わせて調整 */
        }

        @keyframes bg-scroll-right {
            from { background-position: 0 center; }
            to { background-position: 2000px center; }
        }

        /* 重なり順の定義 */
        .layer-bottom { z-index: 0; }
        .layer-middle { z-index: 1; }
        .layer-top    { z-index: 2; position: relative; }

        /* スライド用トラック：1つのdivで完結 */
        .slide-track {
width: 100%;
    height: 340px;
    background-image: var(--slide-url);
    background-repeat: repeat-x;
    background-size: auto 100%;
    opacity: 0.4;
        }

        .scroll-left {
            animation: bg-scroll-left 60s linear infinite;
        }

        .scroll-right {
            animation: bg-scroll-right 60s linear infinite;
        }

        @media (max-width: 768px) {
            .slide-track { height: 160px; }
        }

        /* 中央コンテンツボックス */
        .custom-card {
            background-color:#fff;
            border-radius:10px;
            box-shadow: 0 10px 50px rgb(0 0 0 / 16%);
            padding: 4rem 2rem;
            max-width:1000px;
            border: 1px solid rgba(255, 255, 255, 0.5);
        }

        .text-giant {
			font-size: calc(2.8rem + 2vw);
            font-weight: 900;
            line-height: 1.2;
            letter-spacing: -0.05em;
        }

        .circle-badge {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: bold;
            line-height: 1.3;
            background: white;
            flex-shrink: 0;
        }

        .red-underline {
            text-decoration: underline;
            text-decoration-color: #dc3545;
            text-underline-offset: 6px;
            text-decoration-thickness: 4px;
        }

.chara_position{
position: absolute;
    bottom: -50px;
    right: 30px;
    width: 200px;
}

.text-orange{
--bs-text-opacity: 1;
    color:#F97316 !important;	
}

.orange-underline {
    text-decoration: underline;
    text-decoration-color:#F97316;
    text-underline-offset: 6px;
    text-decoration-thickness: 4px;
}

/* ******************************************************** 
 * ********************************************************
 * TOP サポート
 * ********************************************************
 * ********************************************************
 * */

        :root {
            --eru-brand-blue:#FF9900;
            --eru-accent-blue: #00D1FF;
            --eru-light-blue: #E8F0FF;
            --eru-number-color:#F2F2F3;
            --eru-bg-grid: #fcfdfe;
        }

        /* アニメーション定義を削除しました */

        .eru-section-wrapper {
            background-color:#FAFAFA;
            padding: 100px 0;
            color: #1a2b3c;
        }

        /* 3つ並べるためのFlexコンテナ */
        .eru-feature-grid {
            display: flex;
            gap: 30px;
            justify-content: center;
            align-items: stretch; /* 高さを揃える */
        }

        .eru-feature-card {
            flex: 1; /* 均等に広がる */
            background: white;
            border-radius:10px;
            padding: 45px 35px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
            border:1px solid #d1d5db;
            display: flex;
            flex-direction: column;
            position: relative;
            transition: all 0.4s ease;
            overflow: hidden;
        }

        .eru-feature-card:hover {
            transform: translateY(-10px);
        }

        /* 巨大数字の装飾 */
        .eru-bg-number {
            position: absolute;
            top: 8px;
            right: 20px;
            font-size: 6rem;
            font-weight: 900;
            color: var(--eru-number-color);
            line-height: 1;
            z-index: 0;
        }

        .eru-feature-title {
            font-size: 1.8rem !important;
            font-weight: 800;
            margin-bottom: 1.25rem;
            line-height: 1.4;
            position: relative;
            z-index: 1;
        }

        .eru-text-highlight {
            background: #092846;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .eru-blue-divider {
            width: 40px;
            height: 4px;
            background:#F97316;
            margin-bottom: 20px;
            border-radius: 2px;
        }

        .eru-feature-description {
            font-size: 0.95rem;
            line-height: 1.8;
            color:#4b5563;
            margin-bottom: 30px;
            flex-grow: 1; /* テキスト量に合わせて伸びる */
        }

        /* ビジュアル要素 */
        .eru-visual-area {
            height: 180px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: auto;
            /* animation プロパティを削除しました */
        }

        .eru-mock-ui-small {
            width: 100%;
            background:#F9FAFB;
            border-radius: 10px;
            border: 1px solid rgba(0, 86, 255, 0.08);
            overflow: hidden;
        }

        /* レスポンシブ：タブレット以下は縦並び */
        @media (max-width: 991.98px) {
            .eru-feature-grid {
                flex-direction: column;
            }
            .eru-feature-card {
                flex: none;
                margin-bottom: 20px;
            }
        }