@charset "UTF-8";
/* PC専用（PCで表示、SPでは非表示） */
.top_pc_only {
    display: contents;
    /* デフォルトで表示 */
}

@media (max-width: 900px) {
    .top_pc_only {
        display: none !important;
        /* SP（1024px以下）では非表示 */
    }
}

/* SP専用（SPで表示、PCでは非表示） */
.top_sp_only {
    display: none;
    /* デフォルトで非表示 */
}

@media (max-width: 900px) {
    .top_sp_only {
        display: block !important;
        /* SP（1024px以下）では表示 */
    }
}


/* ファーストビューのスタイル */

.fv-wrap {
    height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  .fv {
    flex-shrink: 0;
  }
  
  .fv-content {
    position: relative;
    width: 100%;
    height: auto;
  }
  
  .fv-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 210px); /* ← 下のボタン部分の高さぶん引く */
    object-fit: cover;
  }

  .fv-img-saigai {
    margin: 120px auto;
  }
  
  /* タイトル画像が画像上に重なるなら調整 */
  .fv-content h1 {
    position: absolute;
    width: 30%;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
  }

  .sec_value_btn {
    height: auto;
}

.btn-image {
    width: 300px;
    height: auto;
    display: block;
}

/* NEWS セクションのスタイル */
.news {
    background: white;
    padding: 50px 0 20px;
    text-align: left;
    border-bottom: 2px solid #D70C18;
}

.news-container {
    max-width: 1500px;
    margin: 0 0 0 19%;
    padding: 0 20px;
    position: relative;
}

.news-header {
    width: 96%;
    margin-bottom: 20px;
    display: block;
    margin-right: 0;
}

.news h2 {
    font-size: 4.4rem;
    font-weight: normal;
    color: #D70C18;
    margin-bottom: 0px;
    text-align: left;
    letter-spacing: 1rem;
}

.news-list {
    list-style: none;
    padding: 0;
}

.news_wrp {
    display: flex;
    align-items: flex-end;
    gap: 20px;
}

.news-list li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 0 5px 0;
    font-size: 1.8rem;
}

.news-date {
    color: #333;
    margin-right: 20px;
    white-space: nowrap;
    min-width: 140px;
}

.news-tag {
    background: #E8D9D8;
    padding: 0 15px;
    font-size: 1.8rem;
    margin-right: 20px;
    white-space: nowrap;
    min-width: 100px;
    text-align: center;
    color: #333;
}

.cat-1 {
    background: #333333;
    padding: 0 15px;
    color: white;
    font-size: 14px;
    display: inline-block;
}

.cat-2 {
    background: #D55513;
    padding: 0 15px;
    color: white;
    font-size: 14px;
    display: inline-block;
}

.cat-3 {
    background: #22720E;
    padding: 0 15px;
    color: white;
    font-size: 14px;
    display: inline-block;
}

.cat-4 {
    background: #136195;
    padding: 0 15px;
    color: white;
    font-size: 14px;
    display: inline-block;
}

.cat-5 {
    background: #B9141E;
    padding: 0 15px;
    color: white;
    font-size: 14px;
    display: inline-block;
}

.tag-pdf {
    background: #d01e28;
    color: white;
    display: flex;
    align-items: center;
    padding: 5px 15px;
}

.tag-pdf img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.news-list p {
    margin: 0;
    flex-grow: 1;
    line-height: 1.6;
    align-items: center;
    gap: 5px;
    display: flex
}

.news-list p img {
    width: auto;
    height: 15px;
    display: inline;
}

.news-more {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.news-more img {
    max-width: 150px;
}

/* スライダーセクションのスタイル */
.sec_slider {
    position: relative;
    max-width: 1700px;
    margin: 50px auto;
}

.slider_wrp {
    width: 80%;
    margin-inline: auto;
}

.sec_slider h2 {
    font-size: 4.4rem;
    font-weight: normal;
    color: #D70C18;
    margin-bottom: 5px;
    text-align: left;
    letter-spacing: 1rem;
}

.slider-container {
    position: relative;
    overflow: visible !important;
}

.sec_slider .more_btm_wrp {
    width: 100%;
    display: flex;
    justify-content: center;
}

.slick-slide {
    margin: 0 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
}

.slick-slide img {
    width: 100%;
}

.sec_slider .slick-prev,
.sec_slider .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
}

.sec_slider .slick-prev {
    left: -60px;
}

.sec_slider .slick-next {
    right: -60px;
}

.sec_slider .slick-dots {
    display: none;
}

.slick-dots li {
    display: inline-block;
    margin: 0;
}

.slick-dots li button {
    background-color: #ccc;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    border: none;
    cursor: pointer;
}

.slick-dots li button:before {
    display: none;
}

/* スライドのキャプション（画像の下に配置） */
.slide-caption-wrapper {
    width: 100%;
    text-align: center;
}

.slide-caption {
    background: rgba(200, 200, 200, 0.7);
    /* 通常時の背景色：薄いグレー */
    color: black;
    /* 通常時の文字色 */
    text-align: center;
    padding: 10px;
    font-size: 1.8rem;
    font-weight: bold;
    transition: background 0.3s ease, color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 90px;
    border-radius: 0 0 10px 10px;
}

.slick-slide.slick-center .slide-caption {
    background: rgba(255, 0, 0, 0.7);
    /* 中央スライド時の背景色：赤 */
    color: black;
    /* 中央スライド時の文字色：黒 */
}

/* リスクマネジメントセクションのスタイル */
.risk-management {
    position: relative;
    width: 100%;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: url('/asset/img/bg_sec_3.jpg') no-repeat center center/cover;
}


.risk-management .content {
    max-width: 800px;
    padding: 20px;
}

.risk-management h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.risk-management p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn-detail {
    display: inline-block;
    padding: 10px 20px;
    background: #d01e28;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-detail:hover {
    background: #a9151f;
}

/* MST Group Service セクション */
.group-service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
}


.group-service .tx_red {
    color: #E61F19;
}

/* 左側の画像 */
.service-image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.service-image img {
    max-width: 100%;
    /* 親要素の幅に収まるように調整 */
    height: auto;
    /* 縦横比を保持 */
    display: block;
    /* 余白をなくす */

}

.link_area_wrp {
    margin-inline: auto;
    padding-bottom: 20px;
    padding-left: 5%;
    padding-right: 5%;
}

.map_link_btn {
    display: flex;
    width: auto;
    display: flex;
    place-items: center;
    text-align: center;
    font-size: 1.6rem;
    color: #fff;
    margin-inline: auto;
    justify-content: space-around;
}

.map_link_btn a img {
    transition: transform 0.3s ease;
    /* なめらかな拡大アニメーション */
}

.map_link_btn a img:hover {
    transform: scale(1.1);
}

/* 右側のテキストボックス */
.service-content {
    flex: 1;
    padding: 20px;
}

/* タイトル */
.service-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-bar {
    width: 18px;
    height: 200px;
    background-color: #D70C18;
}

.service-title h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    line-height: 1.4;
}

/* 詳細を見るボタン */
.btn-detail {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: black;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-detail:hover {
    background: #d01e28;
}

/* 採用情報セクション */
.recruit-info {
    position: relative;
    background: url('/asset/img/bg_sec_6.jpg') no-repeat center center/cover;
    height: 920px;
    /* 適宜調整 */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 80px;
}

/* 黒の半透明オーバーレイ */
.recruit-info::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    /* 透明度50%の黒 */
    z-index: 1;
}

/* テキスト部分 */
.recruit-content {
    padding: 20px;
    max-width: 400px;
    text-align: left;
}

.recruit-content h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.recruit-content p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn-detail {
    display: inline-block;
    padding: 10px 20px;
    background: black;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-detail:hover {
    background: #d01e28;
}

.sec_Sustainability {
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
        url(/asset/img/bg_sec_5.jpg) no-repeat center center / cover;
    height: 680px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 90px 0 50px;
}

.sec_Sustainability .tx_red {
    color: #E61F19;
}

/* 会社情報セクション */
.company-info {
    background: url('/asset/img/bg_sec_7.jpg') no-repeat center center/cover;
    height: 725px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 0 50px 0;
}

.company-info .ttl_tx_area h3 {
    padding-bottom: 3rem;
}

/* タイトルと説明 */
.sec_content {
    position: relative;
    z-index: 2;
    display: flex;
    max-width: 1700px;
    margin: auto;
    text-align: left;
    gap: 190px;
    padding-left: 3%;
}

.sec_ttl {
    display: flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
}

.sec_ttl h2 {
    font-size: 4.2rem;
    font-weight: normal;
    color: #fff;
    margin-bottom: 10px;
}

.sec_content p {
    font-size: 2.3rem;
    line-height: 1.5;
    margin-bottom: 20px;
    margin-top: 0;
}

.sec_content .more-button {
    width: 190px;
    padding: 0;
    text-align: left;
    padding-left: 2%;
}

.ttl_link_area {
    min-width: 300px;
    max-width: 700px;
}

.sec_content .more_btm_wrp {
    display: flex;
    justify-content: end;
}

.ttl_tx_area {
    color: #fff;
}

.ttl_tx_area h3 {
    margin-bottom: 1rem;
    font-size: 7.2rem;
    font-weight: normal;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1;
}

/* 詳細ボタン */
.btn-detail {
    display: inline-block;
    padding: 10px 20px;
    background: black;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-detail:hover {
    background: #d01e28;
}

/* 会社情報のリンク */
.company-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* 水平方向（左右中央揃え） */
    align-items: center;
    /* 垂直方向（上下中央揃え） */
    gap: 30px;
    /* リンク間の余白 */
    text-align: center;
    /* テキスト中央揃え */
    height: 130px;
    /* 高さを指定（適宜調整） */

}

.company-link {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 550px;
    width: 550px;
    height: 130px;
    text-align: center;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.90);
    color: #323333;
    font-size: 3.5rem;
    text-decoration: none;
    border: 2px solid rgba(255, 0, 0, 0.3);
    transition: background 0.3s, border 0.3s;
}

.company-link:hover {
    background: rgba(255, 0, 0, 0.5);
    border: 2px solid rgba(255, 0, 0, 0.6);
    color: #FFFFFFFF;
}

/* MST Group セクション */
.mst-group {
    max-width: 1700px;
    text-align: left;
    padding: 50px 0;
    margin: auto;
}

.group-title {
    max-width: 1700px;
    width: 100%;
    font-size: 3.6rem;
    color: #d01e28;
    margin-bottom: 20px;
    font-weight: normal;
    margin-inline: auto;
}

/* リンクエリア */
.group-links {
    display: flex;
    flex-wrap: wrap;
    max-width: 1700px;
    justify-content: center;
    gap: 20px;
    margin: auto;
}

.group-links .group-item:nth-child(4) .group-link {
    padding: 5px 30px 5px 2px;
}

.group-links .group-item:nth-child(4) .group-content img {
    max-height: 52px;
}

/* 個別のリンクアイテム */
.group-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ロゴとアイコンのリンクボックス */
.group-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 550px;
    height: 130px;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: background 0.3s, border 0.3s;
}

.group-link:hover {
    border: 2px solid rgba(255, 0, 0, 0.6);
}

/* ロゴとリンクアイコン */
.group-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* 擬似要素で画像を追加 */
.group-link::after {
    content: "";
    display: inline-block;
    width: 30px;
    /* アイコンの幅 */
    height: 30px;
    /* アイコンの高さ */
    background-image: url('/asset/img/icon_link_box.svg');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 8px;
    /* アイコンとテキストの間隔 */
}


.link-icon {
    width: 20px;
    max-height: 20px;
}

/* テキスト（リンク外に配置） */
.group-item p {
    margin-top: 10px;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: left;
    width: 100%;
}

/* 下部の募集代理店情報 */
.group-info {
    margin-top: 30px;
    font-size: 1.5rem;
    color: #707070;
    text-align: left;
}

.group-info p {
    margin: 0;
}

.group-info_wrp {
    max-width: 1700px;
    display: flex;
    align-items: center;
    justify-content: right;
    margin: auto;
}




/* 集英する必要があるがとりあえず */

.reverse_area {
    flex-direction: row-reverse;
    justify-content: left;
    margin-top: 115px;
    text-align: left;
    gap: 500px;
    padding-right: 10%;

}

.column_area {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}


.column_area .sec_ttl {
    justify-content: center;
}

.column_area .more_btm_wrp {
    justify-content: center;
}

.group-service .sec_content {
    width: auto;
    padding-right: 10%;
}

.group-service .ttl_tx_area {
    margin-top: 2rem;
    font-size: 2.6rem;

}

.risk-management .more_btm_wrp {
    justify-content: center;
}

.risk-management .sec_content {
    gap: 35px;
}

.sec_Sustainability .sec_content {
    gap: 100px;
}

.news-content {
    font-size: 15px;
    color: #444;
    line-height: 1.6;

}

@media (max-width: 1800px) {
    .sec_slider {
        max-width: 1500px;
    }
}

/* 画面幅1280指定 */

@media (max-width: 1710px) {
    .menu-item {
        font-size: 1.8rem;
    }

    .contact-button {
        font-size: 1.8rem;
    }

    .sec_slider .slick-prev,
    .sec_slider .slick-next {
        width: 2%;
        height: auto;
    }

    .company-link {
        max-width: 450px;
    }

    .group-link {
        max-width: 450px;
    }

    .group-item p {
        font-size: 1.8rem;

    }

    .submenu li a {
        font-size: 1.5rem;
    }

}


@media (max-width: 1700px) {
    .btn-image {
        width: 215px;
    }

    /* .sec_value_btn {
        max-height: 175px;
        height: 175px;
    } */

    .header-buttons {
        margin-bottom: 0;
    }

    .contact-button img {
        width: 38px;
        height: auto;
    }

    .contact-button span {
        font-size: 1.4rem;
    }

    .contact-button {
        font-size: 1.5rem;
        padding: 0px 15px;
        border-radius: 0 0px 15px 15px;
    }

    .logo img {
        width: 200px;
    }

    .submenu li a {
        font-size: 1.4rem;
    }

    .menu-item {
        font-size: 1.5rem;
    }

    .sec_slider {
        max-width: 1100px;
        margin: 20px auto;
    }

    .news {
        padding-top: 70px;
    }

    .news h2 {
        font-size: 3.5rem;
    }

    .news-list li {
        font-size: 1.5rem;
    }

    .news-tag {
        font-size: 1.5rem;
        margin-right: 13px;
    }

    .news-date {
        margin-left: 0;
        margin-right: 0;
        max-width: 120px;
    }

    .news-list p img {
        width: auto;
        height: 15px;
    }

    .more-button {
        font-size: 1.6rem;
    }

    .news-list p {
        line-height: 0.6;
    }

    .sec_slider h2 {
        font-size: 3.5rem;
    }

    .sec_slider .slick-prev,
    .sec_slider .slick-next {
        width: 2%;
        height: auto;
    }

    .slide-caption {
        min-height: 85px;
    }

    .risk-management {
        height: 460px;
    }

    .title-bar {
        width: 12px;
        height: 130px;
    }

    .sec_ttl h2 {
        font-size: 3rem;
    }

    .ttl_tx_area h3 {
        font-size: 5rem;

    }

    .risk-management .sec_content {
        padding-left: 0;
        padding-right: 18%;
    }

    .sec_ttl {
        gap: 20px;
    }

    .group-service .sec_content p {
        line-height: 1.2;
        font-size: 1.8rem;
        padding-left: 45px;
    }

    .sec_content p {
        line-height: 1.2;
        font-size: 1.8rem;
    }

    .group-service {
        padding-left: 25px;
        padding-bottom: 40px;
    }

    .group-service .sec_content {
        padding-right: 13%;
        margin-top: 125px;
    }

    .sec_content .more-button {
        width: 130px;
    }

    .sec_Sustainability {
        height: 450px;
    }

    .sec_Sustainability .sec_content {
        padding-right: 25%;
        padding-left: 0;
    }

    .sec_Sustainability .sec_content {
        gap: 40px;
        align-items: center;
    }

    .recruit-info {
        background: url(/asset/img/bg_sec_6.jpg) no-repeat center center / cover;
        min-height: 500px;
        /* 小さい画面でもレイアウト崩れしにくい */
        height: auto;
        /* 高さを自動調整 */
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin: 40px;
        /* PCでは余白を保持 */
    }

    .recruit-info .sec_content .more_btm_wrp {
        justify-content: flex-start;
        margin-left: 30px;
    }

    .recruit-info .sec_content {
        padding: 0;
        gap: 215px;
    }

    .reverse_area {
        flex-direction: row-reverse;
        justify-content: space-between;
        margin-top: 80px;
        text-align: left;
        gap: 211px;
        padding-right: 0%;
        align-items: center;
    }

    .sec_content {
        padding-left: 0;
        padding-right: 25%;
        margin-top: 100px;
        gap: 100px;
    }

    .company-info {
        height: 480px;
        padding-bottom: 0;
    }

    .company-link {
        font-size: 2.5rem;
        max-width: 320px;
        height: 80px;
    }

    .company-info .ttl_link_area {
        min-width: 250px;
    }

    .group-link {
        max-width: 320px;
        height: 80px;
    }

    .group-item p {
        font-size: 1.5rem;
        margin-top: 0;
    }


    .group-title {
        font-size: 2.6rem;
        margin-bottom: 3px;
    }

    .mst-group {
        max-width: 1160px;
        text-align: left;
        padding: 20px 0;
    }

    .group-links {
        gap: 10px 20px;
    }

    .group-info {
        font-size: 1rem;
        margin-top: 0;
    }

    .group-info_wrp {
        max-width: 1100px;
    }

    .lang-switch {
        font-size: 15px;
    }

    .lang-switch img {
        width: 30px;
        height: 30px;
    }

    .group-content img {
        max-height: 70px;
    }

    .news-container {
        margin: 0 0 0 10%;
    }

    .company-links {
        gap: 20px;
    }

    .group-title {
        width: 95%;
        margin-inline: auto;
    }

    .group-link::after {
        width: 20px;
        height: 20px;

    }

    .group-link {
        padding: 5px 30px;
    }

}

@media (max-width: 1120px) {

    .company-link,
    .group-link {
        max-width: 300px;
    }

    .recruit-info .sec_content {
        gap: 110px;
    }

}



@media (max-width: 960px) {
    .fv-content h1 {
        position: absolute;
        width: 78%;
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

      .fv-img,.fv-img-saigai {
        max-height: 100vh;
        object-fit: cover;
    }

    .sec_value_btn {
        height: 300px;
    }


    .company-link,
    .group-link {
        max-width: 260px;
    }

    .recruit-info .sec_content {
        gap: 50px;
    }

  

    .sec_content {
        flex-direction: column;
    }

    .recruit-info {
        min-height: 300px;
        /* スマホ時の高さ調整 */
        padding: 20px;
        /* 余白を少なめに */
        justify-content: center;
        /* 中央寄せ */
        text-align: center;
        /* テキスト中央揃え */
        margin: 0 20px;
        /* スマホ時の余白を調整 */
    }




    .sec_ttl h2 {
        font-size: 2.7rem;
    }

    .news_wrp {
        flex-direction: column;
    }

    .news-list li {
        display: contents;
        flex-direction: column;

    }

    .news-list p {
        line-height: 1.6;
    }

    .title-bar {
        width: 8px;
        height: 68px;
    }

    .group-service {
        padding: 0 20px 40px 20px;
        flex-direction: column-reverse;
    }

    .sec_Sustainability .sec_content {
        padding: 0;
    }

    .ttl_tx_area h3 {
        font-size: 4.5rem;
    }

    .sec_content {
        display: flex;
        flex-direction: column;
        margin-top: 10%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0;
    }

    .news h2 {
        font-size: 4rem;
        letter-spacing: 0;
        padding-bottom: 1rem;
    }

    .news-list p {
        padding-top: 0.5rem;
        padding-bottom: 2rem;
        font-size: 12px;
    }

    .news_wrp {
        align-items: center;
    }

    .news-container {
        margin-inline: auto;
    }

    .news {
        padding: 40px 0 30px 0;
        border-bottom: 1px solid #D70C18;
    }

    .news h2 {
        padding-bottom: 0;
    }

    .news_wrp {
        gap: 10px;
    }

    .slider_wrp {
        width: 90%;
    }

    .sec_slider .slick-prev,
    .sec_slider .slick-next {
        width: 25px;
        height: auto;
    }

    .sec_slider .slick-next {
        right: -2%;
    }

    .sec_slider .slick-prev {
        left: -2%;
    }

    .sec_slider .slick-dots li button:before {
        display: block;
        font-size: 12px;
    }

    .sec_slider .slick-dots li.slick-active button:before {
        color: #D70C18;
    }

    .slide-caption {
        font-size: 1.6rem;
        min-height: 70px;
    }

    .more-button {
        font-size: 1.6rem;
        width: 120px;
        height: 40px;
    }

    .more-button .arrow {
        right: 20px;
    }

    .risk-management {
        background-image: url(/asset/img/bg_sec_3_sp.jpg);
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
        min-height: 600px;
    }

    .risk-management .sec_content {
        padding-left: 0;
        padding-right: 0;
    }

    .sec_Sustainability {
        justify-content: center;
        background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
            url(/asset/img/bg_sec_5_sp.jpg) no-repeat center center / cover;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 700px;
        padding: 0px 40px;
    }

    .recruit-info {
        background-image: url(/asset/img/bg_sec_6_sp.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 700px;
    }

    .company-info {
        background: url(/asset/img/bg_sec_7_sp.jpg);
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
        min-height: 760px;
        padding-bottom: 45px;
        padding: 20px 40px 40px;

        color: #fff;
    }

    .company-info .sec_content p {
        margin-bottom: 6rem;
    }

    .company-link {
        font-size: 1.8rem;
        max-height: 40px;
        width: 80%;
        height: 45px;
        max-width: 100%;
    }

    .company-links {
        gap: 10px;
    }

    .group-title {
        width: 100%;
        text-align: center;
    }

    .group-item p {
        width: 260px;
        font-size: 1.2rem;
        font-weight: normal;
    }

    .group-links {
        width: 90%;
        justify-content: left;
        margin-inline: auto;
        gap: 10px;
    }

    .group-link::after {
        content: "";
        display: inline-block;
        width: 10px;
        height: 10px;
        background-image: url(/asset/img/icon_link_box.svg);
        background-size: contain;
        background-repeat: no-repeat;
        right: 3%;
        top: 10%;
    }

    .group-info_wrp {
        width: 90%;
        justify-content: left;
    }

   

    .copyright {
        font-size: 1rem;
        text-align: left;
    }

    .top_tx_area {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .top_tx_area h2 {
        font-size: 4.5rem;
        font-weight: normal;
        line-height: 1.2;
        margin-bottom: 0;
        letter-spacing: 0.8rem;
    }

    .sec_ttl {
        font-size: 2.5rem;
        align-items: center;
        gap: 5px;
    }

    .sec_ttl h3 {
        margin-bottom: 0;
        font-weight: normal;
    }

    .title-bar {
        width: 9px;
        height: 41px;
    }

    .sec_content p {
        font-size: 2.2rem;
        margin-bottom: 10rem;
        line-height: 1.8;
    }

    .tx_wrp {
        display: flex;
        flex-direction: column;
        gap: 20px;
        box-sizing: border-box;
    }


    .group-service .sec_content {
        padding-right: 0;
        margin-top: 10%;
    }

    .group-service .sec_content p {
        padding-left: 0;
        line-height: 1.8;
        font-size: 2.2rem;
        font-weight: bold;
    }

    .group-service .title-bar {
        height: 68px;
    }

    .group-service h3 {
        line-height: 1.2;
    }

    .group-service .sec_content p {
        margin-bottom: 3rem;
    }

    .sec_Sustainability .sec_content p {
        margin-bottom: 2rem;
        font-weight: normal;
    }

    .sec_Sustainability .sec_content {
        padding: 0;
        margin: 0;
    }

    .sec_Sustainability .top_tx_area h2 {
        font-size: 4rem;
        letter-spacing: 0.5rem;
    }

    .sec_Sustainability .tx_wrp {
        gap: 50px;
    }

    .recruit-info .sec_content p {
        margin-bottom: 0;
    }

    .recruit-info .tx_wrp {
        color: #fff;
        gap: 40px;
    }

    .sec_content .more_btm_wrp {
        justify-content: center;
    }


}

@media (max-width: 760px) {


    .group-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        justify-content: center;
    }

  

    .map_link_btn {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .map_link_btn a img {
        margin: auto;
        min-height: 60px;
        width: auto;
    }

}

.pointer-none {
    pointer-events: none;
}

/* MST SVGアニメーション */
/* ========================
  RESET & BASE
======================== */
body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background: #fff;
}

html, body {
    overflow-x: hidden;
}
.mst-container {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    padding: 25px 10px 40px 30px;
    overflow-x: hidden; /* ✅ 修正ポイント */
    position: relative;
}

/* ========================
    SVG LINE AREA
  ======================== */
.mst-line {
    flex-grow: 1;
    max-width: 100%;
    overflow: hidden;
}

svg {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

/* PC/SP切り替え */
.pc {
    display: block;
}

.sp {
    display: none;
}

@media screen and (max-width: 768px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .mst-container {
        flex-direction: column-reverse;
        align-items: center;
        padding-right: 0;
        gap: 20px;
        padding: 30px 0;
    }

    .mst-line {
        width: 100%;
    }
}

/* ========================
    MST BUTTON
  ======================== */
.mst-button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    z-index: 1;
}

@keyframes glowBlink {
    0%, 100% {
      opacity: 0.6; /* 少し明るく */
      transform: scale(1); /* 拡大させたいならこれを使う */
    }
    50% {
      opacity: 1; /* 最大光 */
      transform: scale(1.1); /* ちょっとだけ大きく光らせる */
    }
  }
  
  .mst-button::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -8px;
    right: 0;
    bottom: -4px;
    background: rgba(215, 12, 24, 0.4); /* 少し濃く */
  filter: blur(16px); /* 光のボワッと感強めに */
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 0 80px 80px 0;
  /* 点滅アニメーション（速く・拡大付き） */
  animation: glowBlink 1s ease-in-out infinite;
  animation-play-state: paused;
  }

  .glow-on::before {
    animation-play-state: running; 
    transform: scale(1.1);
  }

  
  .mst-button:hover::before {
    opacity: 1;
    animation: none; /* ← 点滅停止 */
  }
  
  


.mst-button:hover::before {
    opacity: 1;
}



.btn-arrow {
    position: absolute;
    bottom: 6px;
    right: 75px;
    width: 20px;
    transition: transform 0.3s ease;
}

.mst-button:hover .btn-arrow {
    transform: translateX(6px);
}

/* SP用のサイズ調整 */
@media screen and (max-width: 768px) {
    .btn-image {
        width: 140px;
    }

    .btn-arrow {
        bottom: 10px;
        right: 110px;
    }

    .btn-image {
        width: 90%;
        margin-inline: auto;
    }

    .mst-button::before {
        opacity: 1;
      }

      .mst-button::before {
        content: "";
        position: absolute;
        top: -4px;
        left: -5px;
        /* ← 左にズラす */
        right: 0;
        bottom: -4px;
        background: rgba(215, 12, 24, 0.3);
        filter: blur(10px);
        transition: opacity 0.4s ease;
        z-index: -1;
        border-radius: 0 80px 80px 0;
    }
}

/* 20260401 Corporate purpose update */
@media (max-width: 1400px) {
    .menu-item {
        font-size: 1.4rem;
    }
}
@media (max-width: 1200px) {
    .menu-item {
        font-size: 1.3rem;
    }
}