/* メインビジュアル全体のエリア */
.main-visual {
    width: 100%;
    aspect-ratio: 2200 / 689; /* ★これだけで比率を維持します */
    height: auto;
    background: url('image/nyusatsubiz-applied-top.png') no-repeat center top;
    background-size: cover;
    /* ...以下略... */
}



.mv-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    text-align: center;
}

/* PC・スマホ共通、またはPC用の設定 */
.mv-content {
    text-align: left;
    width: 100%;
    /* ↓ ここで高さを調整します */
    padding-top: 80px;  /* 数値はお好みで。100px〜120pxくらいでも良いかもしれません */
    padding-left: 5%;   /* 左端から少し離すとさらに綺麗に見えます */
}

.mv-copy-main {
    color: #002d62; 
    font-size: 70px; 
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 25px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.mv-copy-sub span {
   
    color: #000;
    font-size: 35px;
    font-weight: bold;
    padding: 10px 30px;
    display: inline-block;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

/* --- スマホ用の設定 (画面幅768px以下) --- */
@media screen and (max-width: 768px) {
    .mv-content {
        padding: 40px 20px; /* 上40px、左右20pxの余白 */
        text-align: center;
    }

    .mv-copy-main {
        font-size: 26px !important; /* ほどよい存在感のサイズ */
        line-height: 1.4 !important;
        margin-bottom: 25px !important; /* 下の行との間隔を広げる */
        font-weight: bold;
        color: #003366; /* 濃い紺色などで信頼感を出す（色は自由に変えてください） */
    }

    .mv-copy-sub {
        font-size: 10px !important; /* さっきよりさらに少し絞って「説明文」らしく */
        line-height: 1.6 !important;
        letter-spacing: 0.02em;
        color: #333; /* 文字を少しだけ薄くして、メインを引き立てる */
    }
}
/* セクション全体の基本設定 */
.problems {
    /* 80px だったところを 40px に変更（これで上の空きが半分になります） */
    padding: 5px 0 80px 0; 
    
    background: linear-gradient(to top, #eef5ff 0%, #ffffff 100%);
}

/* --- 以下、変更なし --- */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* カードの並び（横並び） */
.problem-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* カード単体のデザイン：背景を白にして浮かび上がるようにします */
.problem-card {
    flex: 1;
    background: #ffffff; /* カード自体は白を維持して視認性を確保 */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0, 45, 98, 0.05); /* 少し青みのある影に */
    display: flex;
    flex-direction: column;
}

.problem-card h3 {
    color: #333;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.problem-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: left;
    flex-grow: 1;
}

/* カード内画像の設定 */
.card-img {
    width: 100%;
    height: auto; /* 画像の比率を維持 */
    overflow: hidden;
    border-radius: 4px;
}

.card-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* 複数セクションを包む背景設定 */
.main-bg-container {
    background: url('image/AdobeStock_503829342.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* スクロールしても背景を固定する場合 */
    padding: 60px 0;
}

/* 紹介セクションのレイアウト */

/* 外枠：背景色は透明にする */
.intro {
    width: 100%;
    background: transparent; 
    padding: 40px 0; /* 上下の隙間 */
}

/* 内枠（1200pxの箱）：ここに背景色と角丸をつける */
.intro .container {
    max-width: 1200px;
    margin: 0 auto;
    /* ここで指定の色を敷く */
    background-color: rgba(238, 245, 255, 0.9); 
    
    /* 中の要素がくっつかないように余白を作る */
    padding: 50px; 
    
    /* レイアウト設定 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    
    /* 角を少し丸くすると画像のような雰囲気になります */
    border-radius: 8px; 
}

/* スマホ対応：中の余白を調整 */
@media screen and (max-width: 768px) {
    .intro .container {
        padding: 30px 20px;
        flex-direction: column-reverse;
    }
}

.intro-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.intro-text {
    flex: 1;
    text-align: left;
}

.intro-image {
    flex: 1;
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 紹介テキスト内のデザイン */
.intro-description {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

/* 相談ボタン（黄色のグラデーション） */
.btn-consult {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(to bottom, #fff7d6, #e6b800);
    color: #002d62;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s;
}

.btn-consult:hover {
    transform: translateY(-2px);
}

/* ==========================================
   スマホ対応 (768px以下)
   ========================================== */
@media screen and (max-width: 768px) {
    .intro-flex {
        flex-direction: column-reverse; /* スマホでは画像を上、文字を下にする場合 */
        text-align: center;
    }

    .intro-text {
        text-align: center;
    }

    .intro-description {
        font-size: 15px;
    }

    .main-bg-container {
        background-attachment: scroll; /* スマホでは固定を解除（動作を軽くするため） */
    }
}

.support {
    padding: 40px 0 80px; /* 上のセクションとの間隔を調整 */
}

/* 見出しエリア */
.support-header {
    display: flex;
    align-items: center; /* ★ここを flex-start から center に変更 */
    gap: 15px;
    margin-bottom: 30px;
    text-align: left;
}

.title-icon {
    width: 80px; /* アイコンの大きさを調整 */
    height: auto;
    flex-shrink: 0; /* アイコンが潰れないように固定 */
}



.title-text h2 {
     color: #002d62;
    font-size: 28px;
    font-weight: bold;
    margin: 0 0 5px 0; /* 上の余白をなくす */
    line-height: 1.2;
}

.title-text p {
    color: #002d62;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

/* カードレイアウト */
.support-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.support-card {
    background: #fff;
    border: 1px solid #c9d6e3;
    border-radius: 4px;
    padding: 30px 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.card-icon img {
    height: 80px; /* アイコンのサイズ */
    margin-bottom: 20px;
}

.support-card h3 {
    color: #000;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
}

.card-desc {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    font-weight: bold;
    min-height: 3em;
}

/* リスト部分（チェックマーク付き） */
.card-list {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-weight: bold;
}

.card-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.card-list li::before {
    content: "✔"; /* ここを画像アイコンに変えることも可能です */
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}

/* スマホ対応 */
@media screen and (max-width: 900px) {
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 専門家チームセクションの調整 */
.expert-support {
    padding: 60px 0;
}

/* 「よくあるお悩み」のテキスト */
.sub-title-left {
    text-align: left;
    font-size: 20px;
    color: #000;
    font-weight: bold;
    /* 下の余白を 20px から 5px くらいまで詰めると画像に近づきます */
    margin-bottom: 0; 
    padding-left: 10px;
}

/* 画像コンテナの調整 */
.solution-image-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent; /* 背景を透明にするとより画像が近く見えます */
    padding: 0; /* paddingを0にして隙間をなくす */
    border-radius: 0;
}

.solution-img {
    width: 100%;
    height: auto;
    display: block;
    /* もし画像自体の上の余白が気になる場合は、マイナスマージンで微調整も可能です */
    /* margin-top: -10px; */
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .sub-title-left {
        font-size: 18px;
        text-align: center;
    }
    .solution-image-container {
        padding: 10px;
    }
}

/* 強みセクション */
.features {
    padding: 60px 0;
}

/* 6並びのグリッド設定 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 50px;
    background: rgba(255, 255, 255, 0.8); /* 白背景を薄く敷いて見やすく */
    padding: 30px 10px;
    border-radius: 8px;
}

.feature-item {
    text-align: center;
}

.feature-item img {
    width: 100px; /* アイコンサイズ */
    height: auto;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    margin-bottom: 10px;
    white-space: nowrap; /* 改行させない */
}

.feature-item p {
    font-size: 12px;
    line-height: 1.4;
    color: #333;
    padding: 0 5px;
}

/* 黄色の長方形ボタン */
.feature-action {
    text-align: center;
}

.btn-yellow-rect {
    display: inline-block;
    background: linear-gradient(to bottom, #fff7d6, #e6b800);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    padding: 15px 60px;
    border: 1px solid #c09000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* スマホ対応 */
@media screen and (max-width: 1000px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr); /* 中画面では3列 */
        gap: 20px;
    }
}

@media screen and (max-width: 600px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr); /* スマホでは2列 */
    }
    .feature-item h3 { font-size: 14px; }
}

.final-contact {
    background-color: #eef5ff; /* 非常に薄いブルー背景 */
    padding: 80px 0;
}

.final-title {
    text-align: center;
    font-size: 32px;
    color: #000;
    font-weight: bold;
    margin-bottom: 40px;
}

/* 4枚の画像グリッド */
.evidence-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 60px;
}

.evidence-item img {
    width: 100%;
    height: auto;
    border-radius: 0px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 相談ボタン（黄色とグレーのボックス） */
.contact-action-flex {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
    /* ★重要：全体の中央に配置 */
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* ボックス共通：サイズを約70%に縮小 */
.action-box {
    flex: 0 1 350px; /* 横幅を最大500pxから350pxに制限（約70%） */
    padding: 25px 20px; /* 上下の余白も少し詰める */
    text-align: center;
    text-decoration: none;
    color: #000;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.action-box:hover {
    transform: translateY(-3px);
}

/* メール：黄色のグラデーション（維持） */
.mail-bg {
    background: linear-gradient(to bottom, #fff7d6 0%, #e6b800 100%);
    border: 1px solid #c09000;
}

/* 電話：グレーのグラデーションに変更 */
.tel-bg {
    background: linear-gradient(to bottom, #ffffff 0%, #dcdcdc 100%);
    border: 1px solid #bbb;
}

/* 中の文字やアイコンのサイズ微調整 */
.action-box h3 {
    font-size: 18px; /* 22pxから縮小 */
    font-weight: bold;
    margin-bottom: 15px;
}

.action-icon {
    height: 50px; /* 60pxから縮小 */
    margin-bottom: 15px;
}

.action-box p {
    font-size: 13px; /* 14pxから微縮小 */
    font-weight: bold;
    line-height: 1.5;
}

/* スマホ対応の調整 */
@media screen and (max-width: 768px) {
    .action-box {
        flex: 1 1 auto;
        width: 90%; /* スマホでは横幅いっぱいに近く */
    }
}

/* 拠点リスト：強制的に2列並びを維持する設定 */
.branch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 40px 60px;
    text-align: left;
    border-top: 1px solid #ccc;
    padding-top: 40px;
    
    /* ★重要：最大幅を決めて、左右margin: autoで中央へ */
    max-width: 1000px; 
    margin: 40px auto 0; /* 上に40px、左右中央、下0 */
}

.branch-item {
    /* 各アイテムが崩れないように設定 */
    width: 100%;
}
/* スマホ表示の調整（念のため） */
@media screen and (max-width: 768px) {
    .branch-grid {
        /* スマホでは2列だと狭いので1列にするのが一般的です */
        grid-template-columns: 1fr;
        gap: 30px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .contact-action-flex {
        flex-direction: column;
        align-items: center;
    }
}

.branch-item h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
}

.branch-item p {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 4px 0;
}

/* 画像を囲む枠を「基準」にする */
.evidence-item {
    position: relative;
    overflow: hidden;
}

/* 文字ラベルのスタイル（画像の上に重ねる） */
.evidence-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(51, 84, 114, 0.9); /* 青みのある濃いグレー */
    color: #fff;
    text-align: center;
    padding: 8px 0;
    font-size: 13px;
    font-weight: bold;
    z-index: 1; /* 画像より前に出す */
}

/* スマホ向けの調整 */
@media screen and (max-width: 768px) {
    /* 4列から2列に変更 */
    .evidence-grid {
        grid-template-columns: repeat(2, 1fr); /* ここを2列にする */
        gap: 10px; /* 隙間を少し調整 */
    }

    /* ラベルの調整（2列ならもう少し文字を大きくできます） */
    .evidence-label {
        font-size: 11px;
        padding: 6px 2px;
        white-space: normal; /* 改行を許可 */
        height: auto;        /* 文字数に合わせて高さを出す */
        min-height: 32px;    /* 高さを揃えてガタつきを防ぐ */
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
/* PCでの配置（左寄せ・2カラム） */
/* 全体の器：左右の列を並べる */
.risk-tags {
    display: flex;
    gap: 40px;      /* 左右の列の間の大きな隙間 */
    margin-top: 30px;
    align-items: flex-start;
}

/* 縦の列（左列と右列） */
.risk-column {
    display: flex;
    flex-direction: column;
    gap: 15px;      /* 上下のボックスの隙間 */
}


/* 左列（オレンジ文字）：右側と同じグラデーション設定に変更 */
.risk-item {
    width: 260px;   /* ★左右共通の幅。30pxの文字が余裕で入るサイズに広げました */
    height: 55px;   /* 文字を大きくしたので高さも少しアップ */
    padding: 0 20px;
    display: flex;
    align-items: center;
    font-weight: 900;
    font-size: 30px; /* 30pxに合わせて調整 */
    box-sizing: border-box;
    white-space: nowrap;
    border-radius: 2px;
}

/* 左列（オレンジ文字） */
.risk-item.orange {
    color: #f39800;
    background: linear-gradient(to right, #d1e4ff 0%, #f0f7ff 100%);
    /* 個別の width は削除 */
}

/* 右列（紺色文字） */
.risk-item.navy {
    color: #002d62;
    background: linear-gradient(to right, #d1e4ff 0%, #f0f7ff 100%);
    /* 個別の width は削除 */
}

/* 画面幅が768px以下のとき（スマホ・タブレット用） */
@media screen and (max-width: 768px) {
    .main-visual {
        background-image: url('image/nyusatsubiz-applied-top_sp.png');
        /* ★高さを120vwくらいに広げて、下の白い部分（タグ用）を確保する */
        height: 120vw; 
        min-height: 600px; 
        background-position: center top; /* 画像を上に詰める */
        display: flex;
        justify-content: center;
        align-items: flex-start; /* コンテンツを上から並べる */
        padding-top: 40px; /* 上に少し隙間を作る */
    }

    .mv-content {
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mv-copy-main {
        /* ★フォントサイズを下げて、1行の文字数を増やす */
        font-size: 20px; 
        line-height: 1.6;
        margin-bottom: 15px;
        font-weight: bold;
        text-align: center;
    }

     .mv-copy-sub {
        /* ★さらに小さく、読みやすいサイズに */
        font-size: 10px;
        line-height: 1.4;
        margin-bottom: 40px; /* 下のタグとの間隔を少し広げる */
        
        /* 白い背景の調整 */
        background: rgba(255, 255, 255, 0.9);
        padding: 8px 15px;
        border-radius: 4px;
        
        /* ★横幅を広げて改行を抑える */
        width: fit-content; 
        max-width: 95%; 
        display: inline-block;
    }

    .risk-tags {
        display: flex;
        gap: 10px 15px;
        justify-content: center;
        width: 100%;
    }

    .risk-item {
        /* ★画面幅に合わせてサイズを微調整 */
        width: 145px; 
        height: 38px;
        font-size: 15px; 
        justify-content: center;
    }
}

.problems {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    font-size: 32px;
    color: #002d62;
}

/* 各行のレイアウト設定 */
.problem-row {
    display: flex;
    /* ★ 中央揃え(center)から、上揃え(flex-start)に変更 */
    align-items: flex-start; 
    justify-content: space-between;
    margin-bottom: 80px;
    gap: 60px;
}

.problem-text {
    flex: 1;
    /* ★ 画像の角の丸みなどとのバランスを見て、ほんの少しだけ下に下げると綺麗です */
    padding-top: 10px; 
}

.problem-text h3 {
    /* h3 自体に標準でついている上の余白を念のため消しておきます */
    margin-top: 0;
    font-size: 28px;
    color: #002d62;
    margin-bottom: 20px;
    font-weight: bold;
}

.problem-text p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

/* 画像部分 */
.problem-img {
    flex: 0 0 45%;           /* 画像が大きくなりすぎないよう横幅を制限 */
}

.problem-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;      /* 角を少し丸くすると綺麗です */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* 軽い影をつける */
}

/* スマホ対応（画面が狭いときは縦に並べる） */
@media screen and (max-width: 768px) {
    .problem-row {
        flex-direction: column; /* 縦並びに変更 */
        gap: 30px;
        margin-bottom: 60px;
    }
    
    .problem-img {
        width: 100%;           /* 画像を横幅いっぱいにする */
    }
    
    .problem-text {
        text-align: center;     /* 文字を中央寄せに */
    }
}

/* 見出しとグラデーション線 */
.section-title {
    font-size: 45px;
    color: #002d62;
    font-weight: bold;
    text-align: left;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
    
    /* ★重要：箱の幅を「文字の長さ」に合わせる */
    display: inline-block; 
}

/* ゴールドの下線 */
.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    /* ★重要：タイトルの幅いっぱい（100%）に線を引く */
    width: 100%; 
    height: 4px;
    background: linear-gradient(to right, #d4aa56, #f2da91); 
}
.evidence-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}

.evidence-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    /* 軽い影をつけると高級感が出ます */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-radius: 4px;
    overflow: hidden;
}

.evidence-label {
    background-color: #002d62;
    color: #fff;
    padding: 10px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
}

.evidence-item img {
    width: 100%;
    height: auto;
}

/* ★補足テキストのスタイル */
.evidence-desc {
    padding: 15px;
    font-size: 14px;
    line-height: 1.6;
    color: #000; /* 文字色は少し柔らかい黒に */
    text-align: left;
    margin: 0;
    /* カードの高さを揃えたい場合はここを調整 */
    flex-grow: 1;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .evidence-grid {
        flex-direction: column;
        align-items: center;
    }
    .evidence-item {
        width: 100%;
        max-width: 400px;
    }
}

@media screen and (max-width: 768px) {
    .section-title {
        /* ★フォントサイズを26px程度まで下げて、1行に収まりやすくします */
        font-size: 26px; 
        margin-bottom: 30px; /* 下のコンテンツとの間隔を少し詰める */
        padding-bottom: 10px; /* 文字とゴールドの線の距離を詰める */
        line-height: 1.3;
    }

    /* ゴールドの線の太さをスマホに合わせて少し細くする場合 */
    .section-title::after {
        height: 3px; 
        width: 100%; /* 文字幅いっぱいに引く設定を維持 */
    }
}
@media screen and (max-width: 768px) {
    /* メインタイトルの調整（前回分） */
    .section-title {
        font-size: 24px; /* 1行に収まりやすいサイズ */
        margin-bottom: 30px;
    }

    /* ★サブタイトル（h3）の調整 */
    .problem-text h3 {
        font-size: 20px;    /* メインより少し小さくしてメリハリをつける */
        text-align: center; /* スマホでは中央寄せがバランス良いです */
        line-height: 1.4;
        margin-bottom: 15px; /* 下の説明文との距離 */
        margin-top: 0;
    }

    /* ついでに説明文（p）も中央寄せにする場合 */
    .problem-text p {
        font-size: 14px;
        text-align: left; /* 文章は左寄せの方が読みやすいです */
        line-height: 1.6;
    }
}