@charset "UTF-8";

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    font-size: 10px;
}

body {
    font-family: "Noto Sans JP", serif;
    overflow-y: scroll !important;
    position: relative;
    /* 親要素に指定 */
}



body {
    text-rendering: optimizeLegibility;
}

main {
    padding-top: 115px;
    flex: 1;
    /* コンテンツ領域を最大化 */


}

/* グローバル設定: ul, ol 全体のデフォルトスタイルをリセット */
ul,
ol {
    list-style: none;
    /* マーカーを消す */
    margin: 0;
    /* デフォルトのマージンをリセット */
    padding: 0;
    /* デフォルトのパディングをリセット */
}

button {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    /* 親要素のフォントを継承 */
    color: inherit;
    /* 親要素の色を継承 */
    cursor: pointer;
    /* クリック可能なカーソル */
    outline: none;
    /* フォーカス時のアウトラインを非表示 */
}

p {
    margin: 0;
}

.anchor {
    scroll-margin-top: 200px;
}


.page_wrp {
    max-width: 1440px;
    width: 90%;
    margin-inline: auto;

}

.bg_gray {
    background-color: #F8F8F8;
    width: 100vw;
    /* 背景をビュー幅全体に広げる */
    position: relative;
    /* 必要に応じて調整 */
    left: 50%;
    /* 親要素の位置を基準に */
    transform: translateX(-50%);
    /* 中央揃え */
    padding: 20px 0;
    /* 上下の余白を追加 */
}

.tx_nowrap {
    white-space: nowrap;
}

.tx_center {
    text-align: center;
}

.small {
    font-size: 1.2rem;
}

.normal {
    font-weight: normal;
}

.bold {
    font-weight: bold;
}

/* タブレット・スマホ向けの画像サイズ調整 */
picture img {
    width: 80%;
    height: auto;
    display: block;
    margin: auto;
}

/* タブレット用 */
@media screen and (max-width: 1024px) {
    picture img {
        max-width: 80%;
        /* 画面サイズに応じて調整 */
        margin: 0 auto;
    }

    .page_top_fv {
        background: url('/assets/images/fv_w_sp.png') no-repeat center/cover;
    }
}

/* スマホ専用 */
@media screen and (max-width: 767px) {
    picture img {
        max-width: 80%;
    }
}

/* 動画 */

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    /* 最大幅を設定 */
    margin: auto;
    padding-top: 10%;
}

.video-container video {
    width: 100%;
    height: auto;
}

#unmuteButton {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #000;
    opacity: 0.6;
    color: white;
    border: none;
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

#unmuteButton:hover {
    background-color: #ff4500;
}

/* セクション全体 */
.section--group-dynamics {
    position: relative;
    padding: 20px;
}

/* 画像を全幅にするラッパー */
.fill_wrp {
    /* width: 80vw;
    margin-left: calc(-80vw + 127%); */
    overflow: hidden;
}

/* 画像スタイル */
.fill_wrp img {
    width: 100%;
    /* 横幅を全体に広げる */
    height: auto;
    /* アスペクト比を維持 */
    display: block;
}

.tx_red {
    color: #D80C18;
    display: inline-block;
}

.sec-heading_box {
    margin-bottom: 75px;
}

.sec-heading_box2 {
    margin-bottom: 35px;
}

@media (max-width: 768px) {

    img {
        height: auto;
        /* アスペクト比を保つ */
        max-width: 100%;
        /* 画像自体がはみ出さないようにする */
    }


    .page_wrp {
        width: 90%;

    }



    .mt100 {
        margin-top: 30px;
    }
}

@media (max-width: 1020px) {
    main {
        padding-top: 55px;
    }
}



/* ヘッダー */
/* ==============================
   共通スタイル
============================== */

/* ヘッダー全体 */
/* 固定ヘッダーのスタイル */

.fixed-header {
    position: fixed;
    /* 固定配置 */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* 他の要素より前面に表示 */
    background-color: #D80C18;
    /* ヘッダー背景色 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* 下に影を付ける */
    height: 70px;
    /* ヘッダーの高さを確保 */
    min-height: 70px;
    z-index: 1100;
}

/* ヘッダー内のコンテンツ配置 */
.header-container {
    display: inline;
    align-items: center;
    justify-content: space-between;
    /* 必要に応じて調整 */
    padding: 0;
    /* ロゴと他要素の余白を確保 */
    box-sizing: border-box;
}

/* ページ全体のマージン調整 */
body {
    margin-top: 70px;
    /* ヘッダーの高さ分を確保 */
}

/* エントリーボタン */
.st-header_btn--first {
    margin-left: auto;
}

.st-header_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 192px;
    min-width: 98px;
    height: 100%;
    background-color: #fff;
    color: #D80C18;
    transition: .2s;
    text-align: center;
    border: 1px solid #D80C18;
    text-decoration: none;
}

.st-header_btn--last {
    border: none;
    background-color: #D80C18;
    color: #fff;
}

.st-header_btn--last:hover {
    border: none;
    background-color: #fff;
    color: #D80C18;
    border: 1px solid #D80C18;
}

.st-header_btn--first:hover {
    background-color: #D80C18;
    color: #fff;
    border: 1px solid #fff;
}

.logo_area_wrp {
    display: flex;
    justify-content: space-between;
    height: 100%;
}

.entry_btn_area {
    display: flex;
    font-size: 16px;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px #000;
}


/* ロゴ */
.logo {
    display: flex;
    align-items: center;
    max-width: 300px;
    /* ロゴの最大幅 */
    height: auto;
    text-decoration: none;
    padding-top: 15px;
}

.logo img {
    width: 100%;
    height: auto;
}

.logo span {
    display: block;
    font-size: 2.2rem;
    color: #fff;
    white-space: nowrap;
}

/* ==============================
   PC版スタイル
============================== */

/* PCナビゲーション */
.pc-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-around;
    font-size: 2rem;
    position: relative;
    z-index: 10;
    padding: 2.8rem 0 2rem;
    font-weight: bold;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

/* ナビゲーションリスト */
.nav {
    background-color: #fff;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    justify-content: space-around;
    max-width: 1170px;
    width: 80%;
    margin: auto;
    padding: 0 40px 0 20px;
}

.nav-item {
    position: relative;
    width: 210px;
    text-align: left;
}


.nav-link:hover {
    opacity: 0.8;
    transition: 0.3s;
}


/* PC版ナビゲーションでサブメニューを表示 */
.nav-item:hover .sub-menu-container,
.nav-link:hover:hover {
    display: block;
}

/* サブメニューリスト */
.sub-menu {
    text-align: left;
    white-space: nowrap;
    width: 210px;
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
    vertical-align: top;
}

.sub-menu li {
    padding: 10px 0;
    position: relative;
}

.sub-menu li::before {
    content: url(/assets/images/common/icon_nav_arrow.png);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.sub-menu li a {
    padding-left: 20px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sub-menu li a:hover {
    color: #d0021b;
}

/* SP版の非表示（PC時） */
@media (min-width: 1020px) {
    .hamburger {
        display: none;
    }

    .mobile-menu {
        display: none;
    }
}


/* ナビゲーションリスト */

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 0;
    color: #d0021b;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ホバー時の表示制御 */
.nav-list:hover .sub-menu-container,
.nav-item:hover .sub-menu-container {
    display: block;
}

.sub-menu-container:hover {
    display: block;
    /* サブメニュー内でも表示を維持 */
}

.sub-menu li {
    padding: 10px 0;
    position: relative;
}

.sub-menu li::before {
    content: url(/assets/images/common/icon_nav_arrow.png);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.sub-menu li a {
    font-size: 1.8rem;
    padding-left: 20px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sub-menu li a:hover {
    color: #d0021b;
}

/* SP版の非表示（PC時） */
@media (min-width: 1020px) {
    .hamburger {
        display: none;
    }

    .mobile-menu {
        display: none;
    }
}

/* ナビゲーション項目がホバーされたときに表示 */
.nav-item:hover>.sub-menu-container {
    display: block;
}

/* サブメニュー自体にホバーしても消えない */
.sub-menu-container:hover {
    display: block;
}

/* サブメニューの初期状態（非表示） */
.sub-menu-container {
    opacity: 0;
    /* 初期状態で透明 */
    visibility: hidden;
    /* 初期状態でクリック不可 */
    position: absolute;
    top: 100%;
    /* 親要素の下に配置 */
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    /* 少し上からフェードイン */
    background-color: #fff;
    padding: 15px 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    z-index: 100;
    width: 80%;
    max-width: 1170px;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out, visibility 0.5s ease-in-out;
    display: flex;
    /* `display: none;` になっていないことを確認 */
    justify-content: space-around;
    text-align: left;
}

/* ホバー時にサブメニューを表示 */
.pc-nav:hover .sub-menu-container,
.sub-menu-container:hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    /* 元の位置に戻す */
}

/* PCナビゲーションにホバーされたときに表示 */
.pc-nav:hover .sub-menu-container {
    display: flex;
    justify-content: space-around;
}

/* ==============================
   スマホ版スタイル
============================== */
@media (max-width: 1020px) {
    /* PCナビゲーション非表示 */

    .header {
        max-height: 70px;
        padding: 0;
        display: flex;
    }

    .logo {
        padding-top: 5px;
    }

    /* ハンバーガーメニュー */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 35px;
        /* 横幅 */
        height: 32px;
        /* 縦幅 */
        cursor: pointer;
        position: relative;
        z-index: 1100;
        left: 0%;
        top: 0px;
    }


    .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        /* 線の太さ */
        background-color: #fff;
        /* 線の色 */
        border-radius: 2px;
        transition: all 0.3s ease-in-out;
        transform-origin: center;
        /* 回転の基準点を中央に設定 */
    }

    /* メニューが開いたときのスタイル */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        /* 真ん中の線を消す */
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(10px, -10px);
    }

    /* モバイルメニュー */
    .mobile-menu {
        position: fixed;
        top: 70px;
        /* ヘッダーの高さ分だけ下げる */
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        /* ヘッダーの高さを引いた残りをメニューにする */
        background-color: #fff;
        padding: 10% 20px 20px 2px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        overflow-y: auto; /* これを追加 */
        -webkit-overflow-scrolling: touch; /* iOSでスムーズスクロール */
    }

    .mobile-menu.open {
        transform: translateX(0);
    }

body.menu-open {
    overflow: hidden;
}

body.menu-open .mobile-menu {
    overflow-y: auto;
}
    /* メニューリスト */
    .menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .menu-item {
        margin-bottom: 20px;
    }

    .menu-heading {
        position: relative;
        font-size: 2rem;
        color: #D80C18;
        font-weight: bold;
        left: 19%;
    }

    .menu-item ul {
        position: relative;
        left: 25%;
        padding-top: 20px;
    }

    .menu-item li {
        font-size: 1.8rem;
        padding: 10px 0;
        position: relative;
        padding-left: 3.5rem;
    }

    .menu-item li::after {
        content: url(/assets/images/common/icon_nav_arrow.png);
        position: absolute;
        left: 0;
        top: 30%;
    }

    .menu-item li a {
        color: #333;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .menu-item li a:hover {
        color: #D80C18;
        text-decoration: underline;
    }

    footer {
        max-height: 70px;
    }

    .logo span {
        display: none;
    }

    .logo img {
        width: 150px;
    }

    .pc-nav {
        display: none;
    }

    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0 20px 0 0;
        box-sizing: border-box;
        position: relative;
        z-index: 2020;
    }


}



/* ヘッダー */
/* フッター */
.footer {
    background-color: #D80C18;
    padding: 20px;
    text-align: center;
}

.footer-link {
    display: flex;
    color: #fff;
    text-decoration: none;
    display: block;
    /* 赤背景全体をリンク範囲に */
}

.footer-link img {
    width: 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 0;
    /* クリックしやすい余白 */
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-link:hover {
    opacity: 0.8;
    transition: 0.3s;
}

/* 初期状態: PCでは無効化 */
.responsive-br {
    display: none;
    /* PCでは改行を無効化 */
}

/* SP（スマホ）で有効化 */
@media (max-width: 768px) {

    .footer {
        padding: 0;
    }

    .footer-container {
        font-size: 1rem;
    }

    .responsive-br {
        display: inline;
        /* スマホで改行を有効化 */
    }

    .footer-link img {
        width: 15px;
    }

    .footer-container a {
        font-size: 10px;
    }
}

/* フッター */

/* 共通パーツ */

/* 基本ボタンの共通スタイル */
/* 基本ボタンの共通スタイル */
.button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.button-wrapper {
    display: flex;
    /* フレックスボックスを使用 */
    justify-content: center;
    /* 横方向の中央揃え */
    align-items: center;
    /* 縦方向の中央揃え */
    margin: 0 auto;
    /* 親要素に合わせて中央揃え */
    text-align: center;
    /* テキストも中央揃え（念のため） */
    height: 100%;
    /* 必要に応じて調整 */
    max-width: 1140px;
    gap: 40px;

}

.button--rounded {
    width: 100%;
    max-width: 375px;
    display: inline-block;
    padding: 3rem 20px;
    /* ボタンの内側の余白 */
    font-size: 2rem;
    /* フォントサイズ */
    font-weight: bold;
    /* 太字 */
    color: #333;
    /* テキストカラー */
    text-align: center;
    /* テキストを中央揃え */
    text-decoration: none;
    /* テキストの下線を削除 */
    border: 1px solid #D80C18;
    /* 枠線の色 */
    border-radius: 10px;
    /* 角を丸める */
    position: relative;
    /* 下線の配置のために必要 */
    overflow: hidden;
    /* 下線が外にはみ出ないようにする */
    box-shadow: 0 7px 0 #D80C18;
    /* 下方向に3pxの影 */
    transition: all 0.2s ease-in-out;
    background-color: #fff;
    /* スムーズなアニメーション */
}

/* ボタンのホバー時 */
.button--rounded:hover {
    box-shadow: 0px 0px 0px 0px #D80C18;
    opacity: 1;
    transform: translateY(6px);
    color: #D80C18;
}


/* ピルボタン（丸みのあるボタン） */
.button--pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 50px;
    /* 丸みを追加 */
    padding: 10px 30px;
    color: #fff;
    font-weight: bold;
    position: relative;
    max-width: 650px;
    width: 100%;
    font-size: 2.2rem;
}

/* ピルボタンの色（赤） */
.button--red {
    background-color: #D80C18;
    border-color: #D80C18;
    position: relative;
}

.button--red:hover {
    opacity: 0.8;
}

.button--red::after {
    content: "";
    background-image: url(/assets/images/common/icon_btn_r.svg);
    background-size: 55px;
    background-position: 0;
    background-repeat: no-repeat;
    width: 55px;
    height: 55px;
    position: absolute;
    top: 50%;
    right: 2%;
    transform: translate(-10%, -50%);
    transition: 0.3s;
}

/* ピルボタンの色（青） */
.button--blue {
    background-color: #0099FF;
    border-color: #0099FF;
    position: relative;
}

.button--blue:hover {
    opacity: 0.8;
}

.button--blue::after {
    content: "";
    background-image: url(/assets/images/common/icon_btn_b.svg);
    background-size: 55px;
    background-position: 0;
    background-repeat: no-repeat;
    width: 55px;
    height: 55px;
    position: absolute;
    top: 50%;
    right: 2%;
    transform: translate(-10%, -50%);
    transition: 0.3s;
}

.button--blue:hover::after {
    right: 0%;
}

.button--red:hover::after {
    right: 0%;
}

/* 四角いボタン */
.button--square {
    padding: 2rem;
    font-size: 2rem;
    border: 2px solid #D80C18;
    /* 赤い枠線 */
    color: #D80C18;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 0px;
    background: none;
    /* 背景を透明に */
}

/* ホバー時のスタイル */
.button--square:hover {
    color: #fff;
    background-color: #D80C18;
    /* 背景色を赤に */
    border-color: #D80C18;
}

.button--square img {
    width: 3rem;
}


/* メインタイトル */
.main_ttl {
    background-image: url(/assets/images/faq/fv.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 90px 0;
    max-height: 348px;
}

.main_ttl h1 {
    font-size: 4.0rem;
    font-weight: bold;
    text-align: center;
    position: relative;
    margin-bottom: 7rem;
}

.main_ttl p {
    font-size: 1.8rem;
    text-align: center;
}

/* セクションタイトル */
/* 見出しの共通スタイル */
.sec-heading,
.sec-heading2 {
    font-size: 2.2rem;
    /* 必要に応じて調整 */
    font-weight: bold;
    position: relative;
    /* 線を配置するための基準 */
    padding-bottom: 25px;
    /* 下線との余白 */
    margin-bottom: 25px;
    /* 見出し全体の下の余白 */
    text-align: center;
    width: 100%;
}


.page_introduction__content .sec-heading {
    text-align: left;
}

.page_introduction__flex {
    display: flex;
    /* Flexboxで2カラムを実現 */
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    /* カラム間の余白 */
}

.page_introduction__text-column {
    flex: 2;
    /* 幅の比率を指定 */
    max-width: 50%;
}

/* 右側の画像カラム */
.page_introduction__img-column {
    flex: 1;
    /* 幅の比率を指定 */
    max-width: 50%;
}

/* 赤い文字の見出し */
.sec-heading--red {
    color: #D80C18;
    /* 赤い文字色 */
}

/* 黒い文字の見出し */
.sec-heading--black {
    color: #333;
    /* 黒い文字色 */
}

/* 下線の共通スタイル */
.sec-heading::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    /* 要素の中央を基準に配置 */
    transform: translateX(-50%);
    /* 真ん中に調整 */
    height: 3px;
    max-width: 1000px;
    width: 100%;
    background: linear-gradient(to right, #D80C18 12%, #ccc 12%);
}

.bottom_bnt_area {
    padding: 75px 0 70px;
}



@media (max-width: 768px) {
    .button-wrapper {
        width: 90%;
        flex-direction: column;
        /* ボタンを縦に並べる */
        gap: 10px;
        /* ボタン間のスペース */
    }

    .button--square {
        padding: 1rem;
    }

    .button--square,
    .button--square img {
        font-size: 1.2rem;
    }

    .button--pill {
        font-size: 1.6rem;
    }

    .button--blue::after {
        background-size: 4rem;
        right: 0%;
    }

    .button--red::after {
        background-size: 4rem;
        right: 0%;
    }

    .bottom_bnt_area {
        padding: 60px 0 60px;
    }

    .main_ttl {
        padding: 50px 0 30px;
    }

    .main_ttl h1 {
        font-size: 3.2rem;
        margin: 0;

    }

    .main_ttl p {
        padding: 50px 50px 0;
        text-align: left;
    }

    .sec-heading,
    .sec-heading2 {
        font-size: 2.1rem;
        margin-bottom: 15px;
    }

    .page_introduction__flex {
        flex-direction: column;
        /* 縦並びに変更 */
    }

    .page_introduction__text-column,
    .page_introduction__img-column {
        max-width: 100%;
        /* カラムの幅を画面いっぱいにする */
    }

    .page_introduction__text-column {
        order: 1;
        /* PCで画像が先 */
    }

    .page_introduction__img-column {
        order: 2;
        /* PCでテキストが後 */
    }

    /* 下線の共通スタイル */
    .sec-heading2::after {
        content: "";
        position: absolute;
        bottom: 0px;
        left: 50%;
        /* 要素の中央を基準に配置 */
        transform: translateX(-50%);
        /* 真ん中に調整 */
        height: 3px;
        max-width: 1000px;
        width: 100%;
        background: linear-gradient(to right, #D80C18 12%, #ccc 12%);
    }
}

/* TOPアニメーション */


body {
    margin: 0;
    overflow-x: hidden;
}

.page_top_fv {
    position: relative;
    width: 100%;
    height: 100vh;
    /* ビューポート全体をカバー */
    background: url('/assets/images/fv_w.png') no-repeat center/cover;
    /* 背景画像 */
    z-index: 1;
    overflow: hidden;
    opacity: 0.3;
    /* 初期状態は完全透明 */
}

.door {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/title.png') no-repeat center/cover;
    /* 扉の画像 */
    opacity: 1;
    /* 初期状態は完全不透明 */
    z-index: 0;
}

.fv-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    text-align: center;
    color: #333;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 340px);
    /* 上下のパディング分を引いた高さ */
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
    flex-direction: column;
}


.fv-text h2 {
    padding-top: 16rem;
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.fv-text p {
    font-size: 2.2rem;
    font-weight: bold;
}

.page_top_fv .fv-textbox-btn {
    margin-top: 5px;
    width: 381px;
    margin-inline: auto;
    z-index: 3;
    pointer-events: auto;
    /* ボタンのみクリック可能にする */
}

.page_top_fv .c-btn {
    max-width: 381px;
    min-height: 86px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-size: 20px;
    border-radius: 43px;
    background: #fff;
    position: relative;
    border: 1px solid #707070;
    font-weight: bold;
    z-index: 100;
    opacity: 1;
    /* 完全に表示 */
    visibility: visible;
}


@media (max-width: 1700px) {
    .page_top_fv .c-btn {
        max-width: 310px;
        min-height: 60px;
        font-size: 15px;
    }

    .fv-text p {
        font-size: 1.8rem;
        font-weight: bold;
    }

    .fv-text h2 {
        padding-top: 6rem;
        font-size: 2.8rem;
        margin-bottom: 1rem;
    }

    .fv-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.5);
        -webkit-transform: translate(-50%, -50%) scale(0.5);
        /* Safari対応 */
        opacity: 0;
        text-align: center;
        color: #333;
        z-index: 1;
        width: 100%;
        height: 100%;
        min-height: calc(100vh - 340px);
        min-height: -webkit-fill-available;
        /* iOS対応 */
        background: rgba(255, 255, 255, 0.8);
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        align-items: center;
        flex-direction: column;
        padding-top: 100px;
        padding-bottom: 100px;
    }


    .pc-nav {
        padding: 1rem 0 1rem;
    }

}

@media (max-width: 1020px) {
    .page_top_fv .c-btn {
        max-width: 310px;
        min-height: 47px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {

    .fv-text {
        padding: 0;
    }

    .fv-text h2 {
        padding-top: 0rem;
        font-size: 2.8rem;
        margin-bottom: 3rem;
    }

    .fv-text p {
        font-size: 1.7rem;
        font-weight: bold;
    }

    .page_top_fv .fv-textbox-btn {
        margin-top: 10px;
        width: 100%;

    }


}


/* FAQ全体のスタイリング */
.faq {
    background-color: #fff;
    padding: 40px 20px;
}

.faq-container {
    margin: 0 auto;
    padding: 20px;
    max-width: 800px;
    border-radius: 8px;
}

/* FAQアイテム */
.faq-item {
    border-bottom: 1px solid #A5A5A5;
}

.faq-item:first-child {
    border-top: 1px solid #A5A5A5;
}


/* 質問部分 */
.faq-question {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 2.2rem;
    font-weight: bold;
    cursor: pointer;
    color: #D80C18;
    gap: 20px;
    padding: 1.5rem 4rem;
    border-right: 1px solid #A5A5A5;
    border-left: 1px solid #A5A5A5;
}

.faq-question p {
    flex: 1;
    margin: 0;
    padding: 0;
    font-size: 1.4rem;
    /* 質問テキストのサイズを調整 */
    font-weight: bold;
}

.faq-q {
    color: #D80C18;
    font-weight: bold;
    margin-right: 10px;
}

.faq-q img {
    width: 60px;
    /* Qのサイズを固定 */
    height: auto;
}

.faq-toggle {
    position: absolute;
    right: 3%;
    font-size: 3.0rem;
    font-weight: bold;
    color: #A5A5A5;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle {
    transform: rotate(180deg);
}

/* 答え部分 */
.faq-answer {
    display: none;
    font-size: 2.2rem;
    color: #333;
    border-top: 1px solid #A5A5A5;
    border-right: 1px solid #A5A5A5;
    border-left: 1px solid #A5A5A5;
    padding: 1.5rem 4rem;
}

.faq-answer .faq-a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
}

.faq-answer:last-child {
    border-bottom: 1px solid #A5A5A5;
}

.faq-question:last-child {
    border-bottom: 1px solid #A5A5A5;
}

.faq-icon img {
    max-width: fit-content;
    height: 64px;

}

.faq-answer .faq-a img {
    width: 60px;
    height: auto;
    flex-shrink: 0;
}

.faq-answer p {
    padding-top: 1rem;
    line-height: 2.8rem;
    margin: 0;
    font-size: 1.4rem;
    /* 回答テキストのサイズをQに合わせる */
    color: #333;
    line-height: 1.8;
}

.faq-item.open .faq-answer {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {

    .faq-answer:last-child {
        border-bottom: none;
    }

    .faq-question {
        font-size: 1.2rem;
        gap: 8px;
        padding: 0.5rem 1rem;
        border-right: none;
        border-left: none;
    }

    .faq-answer {
        font-size: 1.2rem;
        gap: 8px;
        padding: 0.5rem 1rem;
        border-right: none;
        border-left: none;
    }

    .faq-q img {
        width: auto;
        height: 46px;
    }

    .faq-toggle {
        font-size: 2.5rem;
        right: 0;
    }

    .faq-container {
        border: 1px solid #A5A5A5;
        padding: 0;
    }

    .faq-item {
        padding: 5px 10px;
    }

    .faq-item:last-child {
        border-bottom: none;
    }

    .faq-question p {
        width: 90%;
        padding-right: 3rem;
    }

    .faq-answer .faq-a img {
        width: 46px;
    }

    .faq-item.open .faq-answer {
        gap: 8px;
    }

    .faq-item:first-child {
        border-top: none;
    }

    .faq-question:last-child {
        border-bottom: none;
    }
}





/* 募集要項　キャリア */

.page_recruit-career .main_ttl {
    background-image: url(/assets/images/recruit-career/fv.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.page_recruit-career .sec_2 {
    padding: 80px 0 0;
}

.page_recruit-career .sec_3 {
    padding: 60px 0 0;
}

.page_recruit-career .sec_4 {
    padding: 90px 0 0;
}

/* 共通スタイル */
.selection-process,
.map-section,
.application-guidelines,
.contact-info {
    width: 100%;
    margin: 20px auto;
    padding: 0 20px;
    font-size: 1.8rem;
    line-height: 1.8;
}

.job-details {
    width: 100%;
    margin: 20px auto;
    font-size: 1.8rem;
    line-height: 1.8;
    margin: 70px auto;
}

.selection-process {
    text-align: center;
}

.selection-process picture img {
    width: 100%;
    max-width: 100%;
}

.selection-process span {
    padding-right: 30px;
}

/* 全体のレイアウト */
.job-details-table {
    width: 90%;
    border: 2px solid #D80C18;
    border-radius: 8px;
    overflow: hidden;
    padding: 0 50px;
    margin-inline: auto;
}

/* 各行を囲む */
.job-detail-row {
    display: grid;
    /* グリッドで横並びに */
    grid-template-columns: 1fr 2fr;
    /* 1:2の比率で配置 */
    padding: 2rem 0px;
    /* 内側の余白 */
    border-bottom: 2px solid #D80C18;
    /* 下にボーダーを引く */
}

/* 最後の行のボーダーを削除 */
.job-detail-row:last-child {
    border-bottom: none;
}

/* 見出し部分 */
.job-detail-row dt {
    color: #D80C18;
    /* 赤色で強調 */
    display: flex;
    align-items: flex-start;
    font-weight: bold;
}

dd span {
    color: #D80C18;
    /* 赤色で強調 */
}

.job-detail-row:last-child {
    border-bottom: none;
}

.job-details-table .job-detail-row:last-of-type {
    border-bottom: none !important;
}



/* 内容部分 */
.job-detail-row dd {
    margin: 0 0 0 -20%;
    padding-left: 10px;
    display: block;
    align-items: center;
 
}

.job-detail-row dd .nowrap {
    white-space: nowrap;
    color: #000;
  }

.job-detail-row dd li {
    list-style-position: outside;
    text-indent: -1rem;
}

.job-detail-row dd p {
    display: inline;
    white-space: nowrap;
}

.job-detail-row dd p a {
    display: inline-block;
    color: #0099FF;

}

/* 地図セクション */
.map-section {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin-top: 40px;
}

.map-item {
    flex: 1;
    text-align: center;
}

.map-item p {
    margin-bottom: 20px;
}

/* 応募要領 */
.application-guidelines {
    max-width: 1200px;
    font-weight: bold;
    border: 2px solid #D80C18;
    padding: 20px;
    background-color: #fff;
    color: #D80C18;
    text-align: center;
}

/* お問い合わせ */
.contact-info {
    text-align: center;
    color: #333;
    line-height: 1.6;
}

.info--tx--center {
    text-align: left;
    width: 80%;
    max-width: 1000px;
    margin-inline: auto;
}

.sec_contact {
    padding: 10px 0 40px;
    background-color: #F8F8F8;
    width: 100%;
}

.sec_contact .sec-heading::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    height: 3px;
    max-width: 350px;
    width: 100%;
    background: linear-gradient(to right, rgb(216, 12, 24) 20%, rgb(204, 204, 204) 20%);
}


.job-details-table .link_btn_area {
    padding-top: 100px;
    padding-bottom: 70px;

}

@media (max-width: 768px) {

    .page_recruit-career .main_ttl {
        background-image: url(/assets/images/recruit-career/fv_sp.jpg);
    }

    .map-section {
        flex-direction: column;
        gap: 20px;
    }

    .job-detail-row {
        grid-template-columns: 0.7fr 2fr;
        font-size: 1.2rem;
        padding: 1rem 1rem 1rem 0;
        border-bottom: 1px solid #D80C18;
    }

    .job-details-table {
        padding: 1.5rem;
    }

    .job-detail-row dd {
        display: block;
        margin: 0;
        padding-left: 0;
    }

    .job-details {
        margin: 50px auto;
    }

    .job-details-table .link_btn_area {
        padding-top: 60px;
        padding-bottom: 30px;
    }

    .selection-process picture img {
        width: 100%;
    }

}

/* 募集要項　新卒 */

.page_recruit-new .main_ttl {
    background-image: url(/assets/images/recruit-new/fv.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.page_recruit-new .flex_item {
    display: grid;
    grid-template-columns: 1fr 2fr;
}

.page_recruit-new .sec_2 {
    padding: 80px 0 0;
}

.page_recruit-new .sec_3 {
    padding: 60px 0 0;
}

.page_recruit-new .sec_4 {
    padding: 90px 0 0;
}

.page_recruit-new .sec_5 {
    padding: 100px 0;
}

.page_recruit-new .sec_6 {
    padding: 30px 0;
}

.tel_linl_area {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;

}

.tel_linl_area a {
    color: #333;
    text-decoration: none;
}

@media (max-width: 768px) {

    .page_recruit-new .main_ttl {
        background-image: url(/assets/images/recruit-new/fv_sp.jpg);
    }

    .page_recruit-new .flex_item {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

}

/* 福利厚生 */
/* セクション全体 */

.page_benefits .main_ttl {
    background-image: url(/assets/images/benefits/fv.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.page_benefits .sec_1 {
    padding: 90px 0;
}


/* 個々の福利厚生アイテム */

.benefits_wrp {
    display: flex;
    flex-direction: column;
}

.benefits-item {
    display: flex;
    align-items: center;
    /* SP版で中央揃え */
    width: 100%;
    /* SP版では幅を100%に */
    max-width: 1000px;
    text-align: center;
    background-color: #fff;
    border-radius: 8px;
    padding: 75px 0 20px;
    margin-inline: auto;
}

.benefits-item-content {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.benefits-item-content2 {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    /* 高さを統一 */
    gap: 40px;
    /* テキストと画像の間隔 */
}

.benefits-item-images {
    display: flex;
    flex-direction: column;
    flex: 1;
    max-width: 50%;
    gap: 20px;
}

.benefits-images-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* 下段の1つの画像（幅いっぱいにする） */
.benefits-full {
    width: 100%;
}

.benefits-item-tx_area {
    display: flex;
    flex-direction: column;
    width: 48%;
}

.benefits-item-img-area2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: 20px;
    border: 5px solid #E5E5E5;
    text-align: center;
}

.benefits-item-img-area {
    padding: 20px 10px 10px;
    border-radius: 20px;
    border: 5px solid #E5E5E5;
}

.benefits-item-img-area.w180 {
    width: 180px;
}

.benefits-item-img-area.bg_w {
    display: flex;
    align-items: center;
}

.benefits-item-img-area.bg_w .img_aline {
    padding: 0;
    margin: 0;
}

.benefits-item-img-area .img_aline {
    padding: 0;
}

.benefits-flex-container {
    display: flex;
    justify-content: center;
    /* 中央揃え */
    gap: 20px;
    /* 余白 */
}

.benefits-flex-item {
    text-align: center;
}

.box_beside {
    width: 100%;
    max-width: 480px;
}


.benefits-item-img-area picture img {
    margin: auto;
}


.benefits-item-img-area .benefits_point_tx span {
    font-size: 1.8rem;
    text-align: center;
    font-weight: lighter;
}

.benefits-item-img-area2 .benefits_point_tx {
    font-size: 4rem;
    font-weight: bold;
    margin: -10px 0;
}

.benefits-item-img-area2 .benefits_point_tx span {
    font-size: 1.8rem;
    text-align: center;
    font-weight: lighter;
}

.benefits-item-img-area2 .benefits_point_tx {
    font-size: 4rem;
    font-weight: bold;
    margin: -10px 0;
}

.benefits-item_row {
    flex-direction: row-reverse;
    gap: 75px;

}

.benefits-item-content .benefits-item-img-area p {
    text-align: center;
}

.benefits-item-content2 .benefits-item-img-area2 p {
    text-align: center;
}

.bg_w {
    background-color: #fff;
}

/* タイトル */
.benefits-item-title {
    font-size: 3.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: left;
    margin-top: 0;
}

/* 説明文 */
.benefits-item-content p {
    font-size: 1.8rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
    text-align: left;
}

.benefits-item-tx_area .benefits-item-link {
    font-size: 1.6rem;
    text-align: left;
}

/* 説明文 */
.benefits-item-content2 p {
    font-size: 1.8rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
    text-align: left;
}


/* 説明文 */
.benefits-pdf-image {
    width: 18px;
    margin-left: 3px;
    margin-top: 5px;
}

/* SP用メディアクエリ */
@media (max-width: 768px) {

    .page_benefits .main_ttl {
        background-image: url(/assets/images/benefits/fv_sp.jpg);
    }

    .page_benefits .sec_1 {
        padding: 30px 0;
    }

    .benefits-item {
        padding: 30px 0 5px;
    }

    .benefits {
        width: 90%;
        margin-inline: auto;
    }

    .benefits-item-content {
        flex-direction: column;
        width: 100%;
    }

    .benefits-item-content2 {
        flex-direction: column;
        width: 100%;
    }

    .benefits-item-tx_area {
        width: 100%;
    }

    .benefits-item-img-area {
        max-width: 90%;
        padding: 1rem 0rem;
        border: 3px solid #E5E5E5;
    }

    .benefits-item-img-area2 {
        max-width: 90%;
        padding: 1rem 0rem;
        margin-inline: auto;
        border: 3px solid #E5E5E5;
    }

    .benefits-item-title {
        text-align: left;
        font-size: 2rem;
    }

    .benefits-item-img-area .benefits_point_tx {
        font-size: 2.4rem;
    }

    .benefits-item-img-area2 .benefits_point_tx {
        font-size: 2.4rem;
    }

    .benefits-item_row {
        gap: 30px;

    }

    .benefits-item-images {
        max-width: 100%;
    }

}

/* 人材研修 */


.page_training .main_ttl {
    background-image: url(/assets/images/training/fv.jpg);
}

.training .page_wrp {
    max-width: 60%;
    margin-inline: auto;
}

.training .page_wrp2 {
    max-width: 80%;
    margin-left: auto;
    margin-right: 0;
}

.training p {
    font-size: 1.6rem;
    position: relative;
    line-height: 1.5;
    margin-bottom: 60px;
}


.training h3 {
    text-align: center;
    font-size: 2.8rem;
    font-weight: bold;
    margin: 30px 0;
}

.training training-map {
    text-align: center;
    margin-bottom: 30px;
}

.training-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.training-item {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 15px;
}

.training-item img {
    width: 250px;
    height: auto;
    object-fit: cover;
}

.training-text {
    flex: 1;
}

.training-text h3 {
    text-align: left;
    margin: 10px 0;
    font-size: 2.0rem;
    font-weight: normal;
}

.training-text p {
    font-size: 1.6rem;
    line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .training-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .training p {
        margin-bottom: 20px;
    }

    .training-item {
        flex-direction: column-reverse;
        /* 画像を下に移動 */
        text-align: left;
    }

    .training-item img {
        width: 100%;
        height: auto;
    }

    .training .page_wrp {
        max-width: 95%;
    }

    .training .page_wrp2 {
        max-width: 100%;
    }
}

.qualification-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.qualification-text {
    flex: 1;
    max-width: 60%;
}

.qualification-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.qualification-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    width: 80%;
    /* 楕円の幅を固定 */
    height: 100px;
    /* 高さを調整 */
    padding: 20px;
    border-radius: 50px;
    background: #f8f8f8;
    border: 3px solid #d00;
    color: #d00;
    font-weight: bold;
    font-size: 20px;
    position: relative;
    margin: 30px auto;
    /* 上下余白を調整して中央揃え */
}

.qualification-stat span {
    font-size: 18px;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.qualification-stat strong {
    display: block;
    font-size: 32px;
    font-weight: 700;
}

.qualification-image img {
    width: 100%;
    max-width: 550px;
    object-fit: cover;
}

/* 赤いライン（ボックス上部） */
.qualification-line {
    width: 50%;
    /* ラインの長さ */
    height: 1px;
    background-color: #d00;
    /* 赤色 */
    margin: 10px auto 20px;
    /* 上下の余白調整 */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .qualification-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .qualification-text {
        max-width: 90%;
        margin: auto;
    }

    .qualification-stat {
        font-size: 16px;
    }

    .qualification-stat strong {
        font-size: 28px;
    }

    /* 赤いライン（ボックス上部） */
    .qualification-line {
        width: 25%;
        /* ラインの長さ */
        height: 1px;
        background-color: #d00;
        /* 赤色 */
        margin: 10px auto 20px;
        /* 上下の余白調整 */
    }
}

.w_box {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px 0 40px;

}

.w_box_inner {
    max-width: 1170px;
}

.point_tx_100 {
    position: relative;
    display: flex;
    justify-content: center;
    border: 3px solid #CA2D27;
    color: #CA2D27;
    border-radius: 65px;
    max-width: 467px;
    font-weight: bold;
    text-align: center;
    padding: 10px 30px;
}

.point_tx_100::before {
    content: "";
    position: absolute;
    top: -40px;
    width: 40%;
    height: 2px;
    background-color: #CA2D27;
    margin-inline: auto;
}

.point_tx_100 p {
    font-size: 2.2rem;
}

.tx_24 {
    font-size: 1.4rem;
}

.tx_55 {
    font-size: 4.5rem;
}

.point_tx_flex {
    display: flex;
    flex-direction: column;
    gap: 90px;
    align-items: center;
}

@media (max-width: 768px) {
    .page_training img {
        width: 100%;
    }

    .page_training picture {
        width: 100%;
        margin: auto;
    }

    .page_training .main_ttl {
        background-image: url(/assets/images/training/fv_sp.jpg);
    }

    .support-content {
        width: 90%;
        flex-direction: column;
        margin: auto;

    }

    .support-content p {
        width: 100%;
    }

    .point_tx_flex {
        gap: 50px;
    }

    .training-box {
        padding: 5px;
    }

    .training-row {
        display: block;
        /* 横並びを縦並びに変更 */
        margin-bottom: 15px;
        /* 各行の間隔を調整 */
        border: 1px solid #CA2D27;
        /* 全体の枠線 */
    }

    .training-title {
        font-size: 2rem;
        padding: 8px;
        font-weight: normal;
        text-align: center;
        /* タイトルを中央揃え */
        background-color: #CA2D27;
        color: white;
    }

    .training-content {
        padding: 10px;
        background-color: white;
        color: black;
        font-size: 1.2rem;
        /* テキストサイズを小さく */
    }

    .training-content ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .support-content img {
        width: 100%;
        max-width: 100%;
    }

    .training-content ul li {
        position: relative;
        margin-bottom: 8px;
        padding-left: 20px;
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .training-content ul li::before {
        content: "–";
        /* リストアイコン */
        position: absolute;
        left: 0;
        color: #CA2D27;
    }

    .training-table img {
        width: 100%;
    }

    .training-table img,
    .qualification-table img {
        max-width: 100%;
        margin-left: 0;
    }

    .qualification-table picture img {
        width: 100%;
        max-width: 100%;
    }

    .training-box {
        max-width: 100%;
    }

    .tx_55 {
        font-size: 2.4rem;
    }

    .support-content {
        gap: 50px;
    }



}

/* 先輩紹介 */

.page_members .main_ttl {
    background-image: url(/assets/images/members/fv.jpg);
}

/* グローバルクラス: .page_members */

/* カードコンテナ */
.page_members__card-container {
    margin-top: 90px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    /* 高さを揃える */
}

/* カードスタイル */
.page_members__card {
    position: relative;
    width: 30%;
    text-decoration: none;
    /* リンクの下線を削除 */
    overflow: hidden;
    /* 赤い帯が外にはみ出ないように */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* .page_members__card:hover {
    transform: translateY(-5px);
} */

.page_members__card:hover .page_members__card-info::after {
    transform: translateX(10px);
    /* 右に少し動かす */
}

/* カード内の画像 */
.page_members__card img {
    width: 100%;
    height: auto;
    display: block;
}

/* 赤い帯（画像に被せる） */
.page_members__card-info {
    position: absolute;
    margin-top: auto;
    /* 下部に固定 */
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 68px;
    background-color: #D80C18;
    color: #fff;
    padding: 1rem 4rem 1rem 1rem;
    text-align: left;
    font-size: 1.4rem;
    word-wrap: break-word;
    transition: opacity 0.3s ease;
}

.page_members__card-info::after {
    content: "";
    display: inline-block;
    width: 25px;
    height: 25px;
    background: url(/assets/images/members/icon_arrow.png) no-repeat;
    background-size: contain;
    background-position: center;
    margin-left: 30px;
    position: absolute;
    right: 7%;
    bottom: 20%;
    transition: 0.3s;
}

.page_members__card-info::after:hover {
    right: 11%;
}

/* スライドテキスト */
.page_members__slider-container {
    overflow: hidden;
    position: relative;
    margin: 20px 0;
    opacity: 0.3;
}

.page_members__slider-content {
    display: flex;
    gap: 0;
    animation: slide-infinite 15s linear infinite;
}

.page_members__slider-content img {
    height: 50px;
    flex-shrink: 0;
}

/* スライドアニメーション */
@keyframes slide-infinite {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* 座談会エリア全体 */
.page_members__roundtable {
    position: relative;
    display: block;
    width: 100%;
    text-decoration: none;
    /* リンクの下線を削除 */
    border-radius: 10px;
    /* 角丸効果 */
    overflow: hidden;
    /* 子要素がはみ出ないようにする */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}


/* 画像 */
.page_members__roundtable picture img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

/* 赤い帯 */
.page_members__roundtable-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #D80C18;
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 2.4rem;
    transition: opacity 0.3s ease-in-out;
}

.page_members__roundtable-info::after {
    content: "";
    position: absolute;
    background: url(/assets/images/btn_arrow_white.png) no-repeat right center;
    background-size: 35px 35px;
    width: 47px;
    height: 47px;
    right: 18%;
    transition: 0.3s;
}

.page_members__roundtable-overlay {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-size: 3.8rem;
    line-height: 1.8;
    font-weight: bold;
    pointer-events: none;
    /* テキストがクリックを邪魔しないように */
}

.page_members__roundtable-overlay .large-text {
    font-size: 3rem;
    /* 社員座談会のフォントサイズを大きく */
}



.page_members__roundtable:hover .page_members__roundtable-info::after {
    right: 15%;
}

.page_members__roundtable-info .button {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 2.2rem;
}

.bg_gray .page_wrp-inner {
    max-width: 1000px;
    /* 必要に応じて幅を制限 */
    margin: 0 auto;
    /* 中央寄せ */
    padding: 0 20px;
    /* 左右の余白を追加 */
}

.w_box_inner .page_wrp-inner {
    max-width: 1170px;
}

@media (max-width: 1020px) {

    .fv-text h2 {
        padding-top: 0rem;
    }

    .page_top_fv .fv-textbox-btn {
        max-width: 310px;
        min-height: 47px;
        font-size: 15px;
    }
}


/* SP用メディアクエリ */
@media (max-width: 768px) {

    .page_members .main_ttl {
        background-image: url(/assets/images/members/fv_sp.jpg);
    }

    .page_members__card-container {
        flex-direction: column;
        gap: 20px;
    }

    .page_members__card {
        width: 100%;
    }

    .page_members__slider-content img {
        height: 30px;
    }

    .page_members__roundtable {
        border-radius: 10px;
        /* SP版では角丸を少し小さく */
        margin-bottom: 0;
    }

    .page_members__roundtable-info {
        font-size: 1.2rem;
        padding: 5px;
    }

    .page_members__slider-container {
        margin: 20px 0 5px;
    }

    .page_members__roundtable-overlay {
        position: absolute;
        width: 100%;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.8rem;
        line-height: 1.8;
    }

    .page_members__roundtable-overlay .large-text {
        font-size: 1.8rem;
        /* 社員座談会のフォントサイズを大きく */
    }

    .page_members__roundtable-info .button {
        font-size: 2rem;
    }

    .page_members__roundtable-info::after {
        background-size: 2.5rem;
        right: 20%;
    }

}

/* MST保険サービスとは */
.page_about-mst .main_ttl {
    background-image: url(/assets/images/about-mst/fv.jpg);
}

.page_about-mst .sec_1 {
    padding: 75px 0 90px;
}

.page_about-mst .sec_2 {
    padding: 75px 0 65px;
}

.page_about-mst .sec_3 {
    padding: 130px 0 70px;
}

.page_about-mst .sec_4 {
    padding: 90px 0 0px;
}

.about-mst p {
    font-size: 1.8rem;
    max-width: 690px;
    margin-inline: auto;
    line-height: 2.8rem;

}

.about-mst picture {
    margin-inline: auto;
}

.training-map {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.training-map picture {
    display: flex;
    justify-content: center;
}

.training-map img {
    max-width: 90%;
}

.training-table {
    display: flex;
    /* フレックスボックスを使用 */
    justify-content: center;
    /* 横方向の中央揃え */
    align-items: center;
    /* 縦方向の中央揃え（必要に応じて） */
    height: 100%;
    /* 必要であれば親要素に高さを設定 */
    text-align: center;
    /* 念のため中央寄せを強調 */
}

.training-table picture img {
    width: 70%;
    /* 画像の幅を70%に設定 */
    display: block;
    /* 画像のデフォルトのインライン特性を解除 */
    margin: auto;
    /* 自動マージンで中央寄せ */
}



@media (max-width: 768px) {
    .page_about-mst .main_ttl {
        background-image: url(/assets/images/about-mst/fv_sp.jpg);
    }

    .page_about-mst .sec_1 {
        padding: 25px 0 55px;
    }

    .about-mst p {
        margin-bottom: 35px;
    }

    .page_about-mst .sec_2 {
        padding: 30px 0 45px;
    }

    .page_about-mst .sec_3 {
        padding: 0 0 20px;
    }

    .page_about-mst .sec_3 p {
        margin-bottom: 0;
    }

    .w_box {
        padding: 25px 20px;
    }


    .training-table picture img {
        width: 100%;
        max-width: 100%;
    }

    .page_about-mst .sec_3 picture img {
        width: 100%;
        max-width: 100%;
    }

    .training-map {
        overflow-x: auto;
        /* 横スクロールを可能にする */
        white-space: nowrap;
        /* 子要素が折り返されないようにする */
        display: block;
        /* 必要に応じてブロック要素化 */
        max-width: 100%;
        /* 親要素に収める */
    }

    .training-map img {
        width: auto;
        /* 画像の横幅を固定しない */
        height: auto;
        min-width: 100%;
        /* 横スクロールが可能になる最小幅 */
        max-height: 500px;
        max-width: none;
    }
}

/* 保険代理店とは */

.page_about-agent .sec_1 {
    padding: 50px 0 90px;
}

.page_about-agent .sec_2 {
    padding: 95px 0 14px;
}

.page_about-agent .sec_3 {
    padding: 96px 0 10px;
}

.page_about-agent .main_ttl {
    background-image: url(/assets/images/about-agent/fv.jpg);
}

.page_about-agent p {
    font-size: 1.8rem;
    max-width: 690px;
    margin-inline: auto;
    line-height: 2.8rem;
}

.page_about-agent .flex_item {
    display: flex;
    justify-content: center;
    /* 必要に応じて画像の間隔を調整 */
    align-items: flex-end;
    /* ボトムを基準に揃える */
    gap: 40px;
    /* 画像間のスペース */
    padding-top: 70px;
    padding-bottom: 69px;
}

.page_about-agent .flex_item img {
    max-width: 48%;
    /* 横幅を親要素の半分弱に制限 */
    width: 200px;
    height: auto;
    /* アスペクト比を維持 */
    object-fit: contain;
    /* 画像を縮小して収める */
    display: block;
    /* インラインスペースを防ぐ */
}

.page_about-agent .slide-map img {
    width: 80%;
    height: auto;
    display: block;
    margin-inline: auto;
    padding-top: 20px;
}

/* 親コンテナ */
/* 全体のラッパー */
.slide-map-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    /* 親要素を整える */
}

/* PC時: 中央に70%サイズの画像 */
.slide-map-container {
    display: flex;
    justify-content: center;
    /* 画像を中央揃え */
    align-items: center;
    width: 100%;
    overflow: hidden;
    height: auto;
}

.slide-map-container img {
    width: 70%;
    /* 画像を70%に縮小 */
    height: auto;
}

/* SP時: 横スクロールを有効化 */
@media (max-width: 768px) {
    .slide-map-container {
        display: block;
        /* スクロール用にブロック表示 */
        overflow-x: auto;
        /* 横スクロールを有効化 */
        -webkit-overflow-scrolling: touch;
        /* スムーズスクロール */
        scroll-behavior: smooth;
        /* スクロールを滑らかに */
        padding-bottom: 50px;

    }

    .slide-map-container img {
        width: auto;
        /* 画像の横幅を固定しない */
        height: auto;
        min-width: 100%;
        /* 横スクロールが可能になる最小幅 */
        max-height: 350px;
        max-width: none;
    }

}

/* スライドバー */
.slide-bar {
    position: absolute;
    bottom: 10px;
    left: 10%;
    right: 10%;
    height: 5px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    display: none;
}

.slide-bar-fill {
    height: 100%;
    width: 0%;
    /* 初期状態は非表示 */
    background-color: #D80C18;
    transition: width 0.2s ease-in-out;
}

.page_about-agent .make_img {
    width: 240px;
    opacity: 0.8;
}

/* 全てのブラウザ対応 */
.slide-map-container {
    overflow-x: auto;
    /* 横スクロールを有効化 */
    -webkit-overflow-scrolling: touch;
    /* スムーズスクロール */

    /* スクロールバー非表示 */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE & Edge */
}

/* WebKit系ブラウザ（Chrome, Safari）でスクロールバーを非表示 */
.slide-map-container::-webkit-scrollbar {
    display: none;
}


@media (min-width: 769px) {
    .page_about-agent .slide-map-container {
        padding-top: 40px;
        overflow-x: visible;
        /* PCではスクロール無効 */
    }

    .slide-map img {
        width: 100%;
        /* PCでは親要素に合わせる */
    }

}

@media (max-width: 768px) {
    .page_about-agent .main_ttl {
        background-image: url(/assets/images/about-agent/fv_sp.jpg);
    }

    .page_about-agent .slide-map-container {
        padding-top: 30px;
        overflow-x: auto;
    }


    .flex_item img {
        max-width: 50%;
        /* 横幅を親要素全体に */
        margin-inline: auto;
    }

    .page_about-agent .slide-map img {
        width: auto;
        max-height: 600px;
        display: block;
    }

    .page_about-agent .flex_item {
        padding-top: 35px;
        padding-bottom: 60px;
        gap: 20px;
    }

    .page_about-agent .sec_1 {
        padding: 20px 0 60px;
    }

    .page_about-agent .sec_2 {
        padding: 30px 0 0px;
    }

    .page_about-agent .sec_3 {
        padding: 30px 0 50px;
    }


    .slide-bar {
        display: block;
    }


}

/* メッセージ */

.page_wrp {
    max-width: 1000px;
}

.page_message .sec_1 {
    padding: 115px 0 60px;
}

.page_message .sec_2 {
    padding: 83px 0 60px;
}

/* FV部分 */
.page_message__fv {
    position: relative;
    width: 100%;
    height: 650px;
    /* 画像の高さを固定 */
    overflow: hidden;
}

.page_message__fv picture,
.page_message__fv img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 画像の位置を調整 */
    object-position: center;
    /* 中央揃え */
    object-position: center 20%;
    /* 水平方向は中央、垂直方向は少し下 */
}

.page_message__fv-text {
    position: absolute;
    top: 50%;
    left: 7%;
    transform: translate(0%, -50%);
    text-align: center;
    color: #fff;
    text-align: left;
}

.page_message__fv-text h1 {
    font-size: 4rem;
    font-weight: bold;
    margin: 0;
}

.page_message__fv-text p {
    font-size: 1.5rem;
}

/* スライド画像 */
.page_message__slide {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 40px 0 75px;
}

.page_message__slide img {
    width: 100%;
    height: auto;

}

.page_message__slide-wrapper {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: slide 60s linear infinite;
}


/* PCの無限スクロール */
@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* SPの時はスライドを止めて1枚だけ表示 */
@media (max-width: 768px) {
    .page_message__slide {
        display: none;
    }

    .page_message__slide-wrapper {
        animation: none;
        display: block;
        /* 画像を縦に並べないようにする */
        width: auto;
    }
}


.page_message-name {
    font-size: 2rem;
    padding-left: 20px;
}

.page_message-name-wrapper {
    position: relative;
    display: flex;
    margin-inline: auto;
    width: 80%;
    align-items: center;
    padding-left: 5px;
    margin-bottom: 70px;
}

.page_message-name-wrapper::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 12px;
    /* 縦線の幅 */
    background-color: #D80C18;
    /* 赤色 */
}

@media (max-width: 768px) {
    .page_message__fv {
        max-height: 358px;
    }

    .slide-image:nth-child(2) {
        display: none;
        /* SPで2枚目を非表示 */
    }

    .page_message__fv picture,
    .page_message__fv img {
        width: 100%;
        max-width: 100%;
    }
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
        /* 画像1枚分スライド */
    }
}

/* 求める人物像 */
.page_message__profile {
    text-align: center;
    padding: 40px 20px;
    background: #f8f8f8;
}

.point_tx_area .point_tx_mega {
    font-size: 4rem;
    font-family: 'Outfit', sans-serif;
    color: #D80C18;
    margin-bottom: 10px;

}

.page_message .boder_box--red .sec-heading {
    font-size: 3.2rem;
    margin-top: 0;
    margin-bottom: 85px;
}

.page_message .boder_box--red .sec-heading::after {
    bottom: -19px;
}

.point_tx_area .point_tx_sub {
    font-size: 2rem;
    font-weight: bold;
    margin-inline: auto;
}

.page_message__content p {
    font-size: 1.8rem;
    line-height: 1.5;
    max-width: 1000px;
    margin-inline: auto;
}

.boder_box--red {
    border: 3px solid #D80C18;
    max-width: 1000px;
    padding: 35px 30px 0px;
    background-color: #fff;
    border-radius: 22px;
    margin-inline: auto;
}

.companyname-ceo_wrp {
    display: flex;
    justify-content: end;
    align-items: flex-end;
}

.companyname-ceo {
    font-size: 2.8rem;
    font-weight: bold;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 要素全体を右に寄せる */
}

.companyname-ceo__text,
.companyname-ceo__name {
    display: block;
    text-align: center;
    /* テキストを中央揃え */
    width: 100%;
    /* 親要素いっぱいに広げる */
}


.companyname-ceo__text {
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.8;
    margin: 0;
}

.companyname-ceo__name {
    font-size: 2.8rem;
    font-weight: bold;
    margin: 0;
}


@media (max-width: 768px) {
    .companyname-ceo__text {
        font-size: 1.2rem;
    }

    .companyname-ceo__name {
        font-size: 2.4rem;

    }
}

@media (max-width: 768px) {

    .page_message__content p {
        font-size: 1.5rem;
    }

    .slide-image:nth-child(2) {
        display: none;
        /* SPで2枚目を非表示 */
    }

    .page_jobs__heading {
        white-space: nowrap;
    }


    .point_tx_mega {
        font-size: 4.2rem;
    }

    .point_tx_area .point_tx_sub {
        font-size: 1.5rem;
    }

    .boder_box--red {
        width: 90%;
        border-radius: 10px;
        margin-inline: auto;
    }

    .page_message .sec_1 {
        padding: 30px 0;
    }

    .point_tx_area .point_tx_mega {
        margin-bottom: 5px;
    }

    .page_message__fv-text {
        bottom: -5%;
        left: 5%;
        top: auto;
    }

    .page_message__fv-text h1 {
        font-size: 2.4rem;

        padding: 0.5rem;
    }

    .page_message__fv-text h1 span {
        background-color: #D80C18;
        margin-bottom: 0.5rem;
        padding: 0 1rem;
        display: inline-block;
        background-color: #d0021b;
        padding: 0.5rem 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }



    .page_message-name {
        font-size: 1.5rem;
    }
}

/* 先輩紹介 */

.page_introduction {
    width: 100%;
    margin: 0 auto;
}

.page_introduction .page_wrp {
    max-width: 820px;
}

.page_introduction__title {
    position: relative;
    display: flex;
    justify-content: flex-end;
    /* 画像を右寄せ */
    align-items: center;
}

.page_introduction__title picture img {
    max-width: 1000px;
    position: relative;
    /* 画像を移動できるようにする */
    height: auto;
    /* アスペクト比を維持 */
}

.page_introduction__title {
    overflow: visible;
    /* はみ出した画像を隠さないようにする */
}


.page_introduction__title-content {
    position: absolute;
    left: 10%;
    bottom: 0;
    z-index: 10;
    /* 画像の上に配置 */
    color: #fff;
    /* テキスト色 */
    text-align: left;
}

.page_introduction__title-heading {
    display: inline-block;
    /* 親要素の調整 */
    font-size: 5rem;
    /* テキストサイズ */
    font-weight: bold;
    line-height: 1.4;
    /* 行間 */
    color: #fff;
    /* テキスト色 */
}

.page_introduction__title-heading span {
    display: inline-block;
    background-color: #d0021b;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.page_introduction__title-info {
    margin-top: 1rem;
    /* 上のテキストとの間隔 */
    padding-left: 1rem;
    /* 赤い帯からの余白 */
    border-left: 4px solid #d0021b;
    /* 赤い縦の帯 */
    font-size: 1.6rem;
    /* テキストサイズ */
    line-height: 1.8;
    /* 行間 */
    color: #333;
    /* テキスト色 */
    font-weight: bold;
}


.page_introduction__section {
    margin: 2rem 0;
    text-align: center;
}

.page_introduction__section picture img {
    width: 100%;
    height: auto;
}

.page_introduction__section p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin: 1rem 0;
    text-align: left;
}

.page_introduction__button {
    text-align: center;
    margin: 2rem 0;
}

.page_introduction__button .button {
    display: inline-block;
    background-color: #d0021b;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    font-size: 1.6rem;
    border-radius: 5px;
}

.page_introduction__section p {
    font-size: 1.8rem;
}

@media (max-width: 1500px) {
    .page_introduction__title-heading {
        font-size: 4.5rem;
    }
}

@media (max-width: 1380px) {
    .page_introduction__title-heading {
        font-size: 4rem;
        margin: 0;
    }
}

@media (max-width: 1260px) {
    .page_introduction__title-heading {
        font-size: 3.5rem;
    }

    .page_introduction__title picture img {
        max-width: 800px;
    }

    .page_introduction_alt .page_introduction__title picture img {
        max-width: 1000px;
    }

    .page_introduction_alt .page_introduction__title-heading {
        margin: 0;
    }
}


@media (max-width: 1120px) {

    .page_introduction_alt .page_introduction__title picture img {
        max-width: 800px;
    }

    .page_introduction__title-heading {
        font-size: 3rem;
    }
}

@media (max-width: 1030px) {
    .page_introduction__title picture img {
        max-width: 700px;
    }

    .page_introduction_alt .page_introduction__title picture img {
        max-width: 1000px;
    }

    .page_introduction_alt .page_introduction__title-info {
        color: #fff;
    }
}

@media (max-width: 970px) {
    .page_introduction__title-heading {
        font-size: 2rem;
    }
}

@media (max-width: 890px) {
    .page_introduction__title-info {
        color: #fff;
    }
}

@media (max-width: 768px) {

    .page_introduction__title {
        display: block;
    }

    .page_introduction__title-heading {
        font-size: 1.8rem;
    }

    .page_introduction__title-info {
        font-size: 1rem;
    }

    .page_introduction__title picture img {
        width: 100%;
        right: auto;
        height: auto;
    }

    .page_introduction__title-info {
        color: #fff;
    }

    .page_introduction__title-heading span {
        margin-bottom: 0.5rem;
        padding: 0 1rem;
    }

    .page_introduction__title-content {
        left: 5%;
        bottom: 1%;
    }


}

/* 職種紹介 */

.page_job .main_ttl {
    background-image: url(/assets/images/jobs/fv.jpg);
}

.page_jobs {
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px;
}

.page_jobs__section {
    position: relative;
    display: flex;
    align-items: flex-end;
    margin-bottom: 50px;
}

.page_job .sec_1 {
    padding: 50px 0;
    background-color: #F8F8F8;
}


.page_job .sec_2 {
    padding: 0 0 60px;
}

.page_job .sec_3 {
    padding: 0 0 40px;
    background-color: #F8F8F8;
}

.page_job .sec_4 {
    padding: 0 0 120px;
}

.page_job .sec_ {
    padding: 0 0 40px;
}




.row_content {
    flex-direction: row-reverse;
}

.roundtable-main.row_content {
    margin-bottom: 0;
}

.page_jobs__content {
    width: 40%;
    z-index: 2;
    /* 他の要素より前面に表示 */
    position: relative;
    /* 重ね合わせるために相対位置を指定 */
    right: -12%;
    /* 右方向に50px移動 */
}

.row_content .page_jobs__content {
    width: 40%;
    z-index: 2;
    /* 他の要素より前面に表示 */
    position: relative;
    /* 重ね合わせるために相対位置を指定 */
    right: 4%;
    /* 右方向に50px移動 */
}


.page_jobs__title {
    margin-bottom: 40px;
}

.page_jobs__heading {
    font-size: 8.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: lighter;
    color: #D80C18;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 2rem;
    margin-top: 0;
    white-space: nowrap;
}

.page_jobs__heading::after {
    content: "";
    position: absolute;
    bottom: -5px;
    /* テキストの下にスペースを設ける */
    left: 0;
    width: 32%;
    /* ボーダーを要素幅に合わせる */
    height: 4px;
    /* ボーダーの高さ */
    background-color: #D80C18;
    /* ボーダーの色 */
}

.page_jobs__subheading {
    padding-top: 2rem;
    font-size: 4.2rem;
    font-weight: bold;
    color: #D80C18;
}

.page_jobs__description {
    background-color: #f8f8f8;
    padding: 40px;
    border: 1px solid #D80C18;
    box-shadow: -10px 10px 0px 0px #D80C18;
    font-size: 1.8rem;
    line-height: 2.8rem;
    color: #333;
    width: 80%;
    min-height: 337px;
}

.row_content .page_jobs__description {
    box-shadow: 10px 10px 0px 0px #D80C18;
}


.page_jobs__image img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    z-index: 1;
    /* 左側の要素より背面に表示 */
    position: relative;
}

/* 法人営業の先輩エリア */
.page_jobs__mentors {
    text-align: center;
    margin-top: 50px;
    transition: opacity 0.5s ease-in-out;
}

.page_jobs__mentor:hover {
    opacity: 0.7;
    transition: opacity 0.3s ease-in-out;
}

.page_jobs__mentors-heading {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #D80C18;
    position: relative;
}

.page_jobs__mentors-heading::after {
    content: "";
    background-image: url(/assets/images/jobs/icon_fukidashi.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    width: 180px;
    height: 24px;
    margin: 10px auto;
}

.page_jobs__mentors-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page_jobs__mentor {
    text-align: center;
}

.page_jobs__mentor2 {
    text-align: center;
    width: 225px;
}

.page_jobs__mentor img,
.page_jobs__mentor2 img {
    height: 161px;
    border-radius: 10%;
    object-fit: cover;
}

.page_jobs__mentor p,
.page_jobs__mentor2 p {
    font-size: 1.4rem;
    color: #333;
}

@media (max-width: 1281px) {

    .page_jobs__description {
        width: 85%;
    }

    .row_content .page_jobs__content {
        width: 80%;
    }

    .page_jobs__content {
        width: 80%;
    }

    .page_jobs__title {
        margin-bottom: 10px;
        padding-left: 4rem;
    }
}



@media (max-width: 768px) {
    .page_job .main_ttl {
        background-image: url(/assets/images/jobs/fv_sp.jpg);
    }

    .page_jobs__section {
        flex-direction: column-reverse;
    }

    .page_jobs__heading {
        font-size: 3.7rem;
        padding-bottom: 0;
    }

    .page_jobs__subheading {
        font-size: 1.6rem;
        color: #fff;
        background-color: #D80C18;
        line-height: 1.8;
        padding: 0 1rem;
        display: inline-block;
        font-weight: normal;
    }

    .page_jobs__description {
        padding: 15px;
        margin: auto;
    }

    .page_jobs__content {
        width: 100%;
        margin-top: -35%;
        right: auto;

    }

    .page_jobs__heading::after {
        content: none;
    }

    .page_jobs__title {
        margin-bottom: 10px;
        padding-left: 1rem;
    }

    .page_jobs__image img {
        width: auto;
        height: 264px;
        max-width: 400px;
    }

    .page_job .sec_1 {
        padding-top: 0;
    }

    .row_content .page_jobs__content {
        width: 100%;
        right: auto;
    }

    .page_jobs__mentor img,
    .page_jobs__mentor2 img {
        height: 106px;
    }

    .page_job .sec_1 .page_jobs__mentors-list .page_jobs__mentor {
        width: 30%;
    }
}



/* 座談会 */

.page_roundtable {
    padding-top: 175px;
}

.page_roundtable__title {
    position: relative;
    display: flex;
    justify-content: flex-end;
    /* 画像を右寄せ */
    align-items: center;
    width: 100%;
    overflow: visible;
}

.page_roundtable__title picture img {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: auto;
    /* アスペクト比を維持 */
}

.page_roundtable__title-content {
    position: relative;
    left: 11%;
    transform: translateY(7%);
    z-index: 10;
    color: #fff;
    text-align: left;
}

.page_roundtable__title-heading {
    display: inline-block;
    /* 親要素の調整 */
    font-size: 4.8rem;
    /* テキストサイズ */
    font-weight: bold;
    line-height: 1.4;
    /* 行間 */
    color: #fff;
    /* テキスト色 */
}

.page_roundtable__title-heading span {
    display: inline-block;
    background-color: #D80C18;
    padding: 1.2rem 1rem;
    margin-bottom: 2rem;
    border-radius: 10px;
}

.page_roundtable .ttl_w {
    background-color: #fff;
    color: #D80C18;
    margin-left: 24%;
}

.page_roundtable__title-heading span:last-child {
    text-wrap: nowrap;
    position: relative;
    margin-left: 8%;

}



.page_roundtable .page_wrp {
    max-width: 1000px;
}

.roundtable-section {
    margin: 40px auto;
    padding: 20px 0;
}

.roundtable-members {
    text-align: center;
    margin-bottom: 40px;
}

.roundtable-members-list {
    width: 90%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin-inline: auto;
}

.roundtable-members-list li {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    margin-bottom: 20px;
    align-items: center;
    gap: 45px;
}

.roundtable-members-list img {
    max-width: 150px;
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.roundtable-members-list p {
    text-wrap: nowrap;
    font-size: 1.6rem;
    color: #333;
}

.roundtable-main {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.roundtable-image img {
    width: 100%;
    height: auto;
}

.roundtable-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.roundtable-content,
.roundtable-image {
    flex: 1 1 calc(50% - 10px);
    /* 50%の幅からgapの半分を引く */
    box-sizing: border-box;
    /* パディングやボーダーを含めた幅計算 */
}

.roundtable-image picture img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    /* 必要に応じて調整 */
}

.roundtable-title {
    font-size: 3rem;
    color: #333;
    line-height: 1.4;
    /* 行間を調整 */
    margin: 0;
    /* 不要な余白を削除 */
    padding-left: 25px;
}

.roundtable-title-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 10px;
    /* 縦線からテキストまでの余白 */
    margin-bottom: 40px;
}

.roundtable-title-wrapper::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 15px;
    /* 縦線の幅 */
    background-color: #D80C18;
    /* 赤色 */
}

.roundtable-name {
    font-size: 2rem;
    color: #333;
    line-height: 1.4;
    /* 行間を調整 */
    margin: 0;
    /* 不要な余白を削除 */
    padding-left: 2rem;
}

.roundtable-name-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 5px;
    /* 縦線からテキストまでの余白 */
    margin-bottom: 40px;
}

.roundtable-name-wrapper::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    /* 縦線の幅 */
    background-color: #D80C18;
    /* 赤色 */
}



.roundtable-description {
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333;
}

.roundtable_talk_box {
    display: flex;
    gap: 40px;
    margin-bottom: 3rem;

}

.icon_take_img {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
}

.icon_take_img p {
    font-size: 1.4rem;
    font-weight: bold;
}

.tx_blue {
    font-size: 1.8rem;
    color: #0099FF;
    margin-bottom: 35px;
    font-weight: bold;
}

.discussion-item .tx_blue {
    margin-bottom: 0;
}

/* PC版のスタイル */
.page_roundtable__discussion {
    margin: 40px 0;
}

.discussion-title {
    font-size: 2.4rem;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

.discussion-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
}

.discussion-column {
    box-sizing: border-box;
}

.discussion-left {
    order: 1;
}

.discussion-right {
    order: 2;
    margin-top: 7%;
}

.discussion-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 2rem;
    align-items: center;
}

.discussion-icon {
    text-align: center;
    flex-shrink: 0;
}

.discussion-icon img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.discussion-icon p {
    margin: 5px 0 0;
    font-size: 1.4rem;
    color: #333;
    font-weight: bold;
}

.discussion-text {
    font-size: 1.8rem;
    line-height: 1.5;
    color: #333;
    padding-bottom: 2rem;
}

.full_img {
    width: 100%;
}

.mt100 {
    margin-top: 100px;
}

/* PC版: 左右に分けて表示 */
@media (min-width: 769px) {

    .discussion-wrapper {
        display: flex;
        gap: 20px;
    }

    .discussion-left {
        flex: 1;
        /* 左カラム */
    }

    .discussion-right {
        flex: 1;
        /* 右カラム */
    }

    .discussion-item {
        margin-bottom: 30px;
        /* アイテム間の余白 */
    }


}

@media (max-width: 1350px) {

    .page_roundtable__title-content {
        left: 5%;
    }

}

@media (max-width: 1115px) {

    .page_roundtable__title-heading {
        font-size: 3.8rem;
    }

}

/* SP版: 縦並び */
@media (max-width: 768px) {
    .discussion-wrapper {
        display: flex;
        flex-direction: column;
        /* 縦並び */
        gap: 20px;
    }

    .discussion-item {
        margin-bottom: 20px;
        align-items: flex-start;
    }

    .page_roundtable {
        padding-top: 55px;
    }

    .page_roundtable__title-heading {
        font-size: 2rem;
    }

    .page_roundtable__title-heading span {
        margin-bottom: 1rem;
        padding: 0.5rem 2rem;
        border-radius: 5px;
    }

    .page_roundtable .ttl_w {
        margin-bottom: 1rem;
        margin-left: 0;
    }

    .page_roundtable__title-heading span:last-child {
        margin-left: 0;
    }

    .page_roundtable__title picture img {
        width: 100%;
    }

    .page_roundtable__title-content {
        left: -15%;
        top: auto;
        margin-top: -30%;
        z-index: 10;
        /* bottom: -37%; */
        color: #fff;
        text-align: left;
    }

    .page_roundtable__title {
        flex-direction: column-reverse;
        justify-content: center;
    }

    .page_roundtable picture {
        width: 100%;
    }

    .roundtable-members-list p {
        font-size: 1rem;
    }

    .roundtable-members-list li {
        gap: 10px;
    }

    .roundtable-members-list img {
        width: 75%;
    }

    i.con_take_img img {
        width: 100%;
        max-width: 200px;
    }

    .roundtable_talk_box {
        gap: 20px;
    }

    .discussion-icon img {
        width: 50px;
        height: 50px;
    }

    .roundtable-section {
        padding: 20px;
        margin-bottom: 0px;
    }

    .icon_take_img img {
        width: 50px;
    }

    .discussion-text {
        font-size: 1.4rem;
        padding-bottom: 0;
    }
}



/* スマホ対応 */
@media (max-width: 768px) {

    .tx_blue {
        font-size: 1.4rem;
        margin-bottom: 2.5rem;
    }

    .roundtable-members {
        margin-bottom: 10px;
    }

    .roundtable-members-list {
        width: 100%;
        justify-content: center;
        gap: 10% 10%;
    }

    .roundtable-members-list li {
        width: 45%;
        margin-bottom: 0;
    }

    .roundtable-main {
        flex-direction: column-reverse;
        align-items: center;
    }

    .roundtable-image img {
        max-width: 100%;
    }

    .roundtable-title {
        font-size: 1.5rem;
    }

    .roundtable-description {
        text-align: left;
        font-size: 1.4rem;
        width: 85%;
    }
}

@media (max-width: 768px) {

    .page_introduction__title {
        display: block;
    }

    .page_introduction__title-heading {
        font-size: 1.8rem;
        margin: 0;
    }

    .page_introduction__title-info {
        font-size: 1rem;
    }

    .page_introduction__title picture img {
        width: 100%;
        right: auto;
        height: auto;
    }

    .page_introduction__title-info {
        color: #fff;
    }

    .page_roundtable__discussion {
        margin: 20px 0 0;
    }


}



/* だしわけ */

.pc-only,
.sp-only {
    display: none;
}

/* SP（スマホ版）のスタイル */
@media (max-width: 768px) {
    .sp-only {
        display: block;
        /* スマホ版で表示 */
    }
}

/* PC（デスクトップ版）のスタイル */
@media (min-width: 769px) {
    .pc-only {
        display: block;
        /* PC版で表示 */
    }
}

/* iPhone XR, iPhone 11 用の補正 */
@media screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) {
    .fv-text {
        transform: translate(-50%, calc(-50% + 8px)) !important;
        /* SafariとChromeを調整 */
    }
}

/* iPhone 6s Plus, iPhone X, iPhone 15 Pro 用の補正 */
@media screen and (device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3),
screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3),
screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) {
    .fv-text {
        transform: translate(-50%, calc(-50% + 4px)) !important;
        /* Y軸調整を微修正 */
    }
}

/* iPhone 15 Pro 用の補正 */
@media screen and (device-width: 393px) and (device-height: 852px) and (-webkit-device-pixel-ratio: 3) {
    .fv-text {
        transform: translate(-50%, calc(-50% + 8px)) !important;
        /* iPhone 15 Proの微調整 */
    }
}

/* iPhone SE (1st Generation) 用の補正 */
@media screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) {
    .fv-text {
        transform: translate(-50%, calc(-50% + 2px)) !important;
        /* SafariとChromeを調整 */
    }
}

/* iPhone 6/7/8 用の補正 */
@media screen and (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) {
    .fv-text {
        transform: translate(-50%, calc(-50% + 3px)) !important;
        /* 小型デバイス用 */
    }
}

/* iPhone 6 Plus / 7 Plus / 8 Plus 用の補正 */
@media screen and (device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) {
    .fv-text {
        transform: translate(-50%, calc(-50% + 4px)) !important;
        /* Plusモデル用 */
    }
}

/* iPhone 12/12 Pro/13/13 Pro/14/14 Pro 用の補正 */
@media screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) {
    .fv-text {
        transform: translate(-50%, -50%) !important;
        /* 問題なし */
    }
}

/* iPhone 14 Plus 用の補正 */
@media screen and (device-width: 428px) and (device-height: 926px) and (-webkit-device-pixel-ratio: 3) {
    .fv-text {
        transform: translate(-50%, calc(-50% + 5px)) !important;
        /* SafariとChromeを調整 */
    }
}

/* iPhone 14 Pro Max / 15 Pro Max 用の補正 */
@media screen and (device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) {
    .fv-text {
        transform: translate(-50%, calc(-50% + 6px)) !important;
        /* SafariとChromeを調整 */
    }
}

/* TOPスクロールアニメ */
.scroll-indicator {
    position: absolute;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    opacity: 0.9;
    animation: fadeInOut 2s infinite;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    /* テキストと矢印を縦並び */
    align-items: center;
}

/* SCROLL テキストのスタイル */
.scroll-indicator span {
    font-size: 18px;
    /* 以前より大きく */
    color: #E63946;
    /* 赤色に変更 */
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 8px;
    /* 矢印との間隔 */
}

/* 矢印のスタイル（中央揃え） */
.scroll-indicator .arrow {
    display: flex;
    /* Flexbox を適用 */
    align-items: center;
    justify-content: center;
    width: 18px;
    /* 以前より大きく */
    height: 18px;
    border-right: 3px solid #E63946;
    /* 赤色 */
    border-bottom: 3px solid #E63946;
    transform: rotate(45deg);
    animation: bounce 1.8s infinite;
    margin: auto;
    /* 中央に配置 */
}

/* フェードイン・アウトのアニメーション */
@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0.9;
    }

    50% {
        opacity: 0.5;
    }
}

/* 矢印を上下に動かす */
@keyframes bounce {
    0% {
        transform: translateY(0) rotate(45deg);
        opacity: 1;
    }

    50% {
        transform: translateY(12px) rotate(45deg);
        opacity: 0.6;
    }

    100% {
        transform: translateY(0) rotate(45deg);
        opacity: 1;
    }
}

/* スマホ向けのサイズ調整 */
@media screen and (max-width: 768px) {
    .scroll-indicator {
        top: 5%;
    }

    .scroll-indicator span {
        font-size: 16px;
        /* スマホ用に少し小さく */
    }

    .scroll-indicator .arrow {
        width: 14px;
        height: 14px;
    }
}

/* TOP画像切り替え */
/* PCでは非表示 */
@media screen and (min-width: 1025px) {
    .hide-pc {
        display: none;
    }
}

/* ボタンのデザイン */
.expand-button {
    font-family: "Yu Gothic", "YuGothic", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN",
        "メイリオ", Meiryo, sans-serif;
    margin-top: 10px;
    padding: 0px 40px 0 10px;
    font-size: 1.8rem;
    cursor: pointer;
    background-color: #D80C18;
    color: white;
    border: none;
    position: relative;
    margin-inline: auto;
    display: block;
    margin-bottom: 20px;
}

.expand-button:hover {
    opacity: 0.8;
}

.expand-button::after {
    content: "";
    width: 15px;
    height: 15px;
    margin-left: 10px;
    position: absolute;
    top: 20%;
    background-image: url(/asset/img/icon_zoom.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

}

/* モーダル全体のスタイル */
.image-modal {
    display: none;
    /* 初期状態では非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* 半透明の背景 */
    z-index: 1000;
    overflow-y: auto;
    /* 縦スクロールを許可 */
    text-align: center;
}

/* モーダル内のコンテンツ */
.modal-content {
    position: relative;
    margin: 5% auto;
    /* 上下5%の余白を確保 */
    width: 90%;
    max-width: 1200px;
    /* 最大幅の制限 */
    top: 150px;
}

/* モーダル内のコンテンツ */
.modal-content img {
    margin-bottom: 50px;
    width: 100%;
}

/* 画像のスタイル */
.modal-image {
    width: 100%;
    height: auto;
    /* 縦に拡大可能 */
    display: block;
    margin: auto;
}

/* 閉じるボタン */
.close-modal {
    position: absolute;
    top: 120px;
    right: 10px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 2000;
}

/* スマホ向けのサイズ調整 */
@media screen and (max-width: 768px) {
    .modal-content {
        width: auto;
        max-width: none;
        /* 最大幅の制限 */
    }
}