@charset "UTF-8";


.c-btnRounded a:hover, .c-btnRounded .a:hover {
  background-color: #fff000;
  border-color: #fff000;
  color: #000000;
}

/* --- 共通設定（前回の続き） --- */
.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* --- 時間差（ディレイ）の設定 --- */
.delay-1 {
  transition-delay: 0.2s; /* 0.2秒遅らせる */
}

.delay-2 {
  transition-delay: 0.4s; /* 0.4秒遅らせる */
}

.delay-3 {
  transition-delay: 0.6s; /* 0.6秒遅らせる */
}

/* 方向の設定（前回の続き） */
.fade-up { transform: translateY(80px); }
.fade-left { transform: translateX(-80px); }
.fade-right { transform: translateX(80px); }



/* 動画セクションのエリア確保 */
.video-hero {
    position: relative;
    width: 100%;       /* 親要素に対して100% */
    width: 100vw;      /* ブラウザの横幅いっぱい */
    height: 90vh;     /* 全画面にする場合。高さを変えたい場合は 500px 等に変更 */
    overflow: hidden;
    background-color: #000; /* 動画読み込み前の背景色 */
}

/* ビデオのスタイリング */
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 常に中央に配置 */
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画面横いっぱいに広げ、隙間を埋める */
}

/* レスポンシブ：スマホで高さを抑えたい場合などの調整 */
@media (max-width: 768px) {
    .video-hero {
        height: 60vh; /* スマホでは高さを少し低くする設定例 */
    }
}


/* 1. 画像を囲む枠からはみ出さないように設定 */
.imgbox.img {
    overflow: hidden;
    background-color: #fff; /* 背景を白にしておくと安心です */
}

/* 2. 画像の初期状態 */
.imgbox.img img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease, opacity 0.5s ease; /* 変化をなめらかに */
    opacity: 1 !important; /* 常に不透明にする */
}

/* 3. マウスが乗った（hover）時の動き */
.t-grid li a:hover .imgbox.img img {
    transform: scale(1.5); /* 拡大のみ */
    opacity: 1 !important;   /* マウスが乗っても透けさせない */
}

/* もしaタグ自体に透過設定がある場合のリセット */
.t-grid li a:hover {
    opacity: 1 !important;
    text-decoration: none;
}


/* リンクエリア全体の基本設定 */
.a {
    display: block;
    text-decoration: none;
    color: inherit;
    outline: none;
}

/* 画像を包むコンテナの設定 */
.a .img {
    overflow: hidden; /* はみ出した分を隠す */
    position: relative;
}

.a .img img {
    display: block;
    width: 100%;
    height: auto;
    /* 変化の速度（0.3秒かけてゆっくり） */
    transition: transform 0.3s ease;
}

/* ロールオーバー（マウスホバー）時の挙動 */
.a:hover .img img {
    /* 画像を1.1倍に拡大 */
    transform: scale(1.5);
}

/* テキスト部分（お好みで調整してください） */
.a .txt {
    margin-top: 10px;
    transition: opacity 0.3s ease;
}

/* ホバー時にテキストの透明度を少し下げる例 */
.a:hover .txt {
}

.m_t_25{
    margin-top: 25px;
}
.m_t_50{
    margin-top: 50px;
}
.m_t_80{
    margin-top: 80px;
}
.m_t_100{
    margin-top: 100px;
}
.m_t_180{
    margin-top: 180px;
}

.m_b_15{
    margin-bottom: 15px;
}
.m_b_50{
    margin-bottom:50px;
}
.m_b_80{
    margin-bottom: 80px;
}
.m_b_100{
    margin-bottom: 100px;
}
.m_b_180{
    margin-bottom: 180px;
}
.m_b_360{
    margin-bottom: 360px;
}

.m_tb_50{
    margin: 50px 0;
}
.m_tb_80{
    margin: 80px 0;
}
.m_tb_100{
    margin: 100px 0;
}
.m_tb_100{
    margin: 180px 0;
}



.p_t_50{
    padding-top: 50px;
}
.p_t_80{
    padding-top: 80px;
}
.p_t_100{
    padding-top: 100px;
}
.p_t_180{
    padding-top: 180px;
}

.p_b_30{
    padding-bottom: 30px;
}
.p_b_50{
    padding-bottom: 50px;
}
.p_b_80{
    padding-bottom: 80px;
}
.p_b_100{
    padding-bottom: 100px;
}
.p_b_180{
    padding-bottom: 180px;
}

.p_tb_50{
    padding: 50px 0;
}
.p_tb_80{
    padding: 80px 0;
}
.p_tb_100{
    padding: 100px 0;
}
.p_tb_180{
    padding: 180px 0;
}

.p_tb_15{
    padding: 15px 0;
}
.p_b_15{
    padding-bottom: 15px;
}


.c-ttlServiceLower {
    margin-top: 100px;
}

.p-secServiceTop .txtbox .btn {
    transform: translate(0, -60%);
}

.p-secServiceTop .imgbox .txt {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: .5em;
    color: #3c6e96;
}
.p-secServiceTop .imgbox .txt2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: .2em;
    color: #3c6e96;
}
.p-secServiceTop .imgbox .txt2 {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(calc(-50% + .9em), calc(-50% + .24em)) rotate(90deg);
    font-size: 3.6rem;
    font-weight: 200;
    letter-spacing: .2em;
    white-space: nowrap;
}
.c-listFrontService .ja {
    letter-spacing: 1rem;
}
.c-listFrontService .en {
    line-height: 1;
}

.twline{
    border-bottom: solid 1px #3c6e96;
        position: relative;
}

.twline::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #fff000;
    position: absolute;
    bottom: -3px;
    left: 0;
}

.c-ttlServiceLower {
    margin-top: 50px;
}

/*.c-ttlServiceLower .en {
    font-size: 4rem;
}*/


.footer-top-m{
    margin-top: 20rem;
}
@media screen and (min-width: 768px) {
.footer-top-m{
    margin-top: 40rem;
}
}



@media screen and (min-width: 768px) {
    .c-ttlPage {
        padding-top: 150px;
        padding-bottom: 150px;
    }
}

.p-secServiceLowerPurposeSub .p-sec_h .h .num {
    font-size: 7rem;
}

.c-ttlFront .en {
    letter-spacing: .15em;
}
.c-ttlLowerMain .en {
    letter-spacing: .1em;
}
@media screen and (min-width: 768px) {
    .t-fnt.m-fs__pc_52 {
        font-size: 4rem;
    }
}

@media screen and (min-width: 992px) and (min-width: 1201px) {
    .l-header {
        padding: 70px 30px 50px;
    }
}
@media screen and (min-width: 768px) and (min-width: 1201px) {
    .l-footerNav li {
        font-size: 1.6rem;
    }
}
@media screen and (min-width: 768px) and (min-width: 1201px) {
    .l-copy {
        font-size: 1.4rem;
    }
}
@media screen and (min-width: 992px) and (min-width: 1201px) {
    .l-gNav li {
        font-size: 1.6rem;
    }
}
@media screen and (min-width: 768px) {
    .c-tableOverview table {
        font-size: 1.6rem;
    }
}
@media screen and (min-width: 768px) {
    .c-ttlLowerSub .lg {
        font-size: 2.5rem;
    }
}

@media screen and (min-width: 768px) {
    .c-ttlPage .en {
        font-size: 5rem;
    }
}
@media screen and (min-width: 768px) {
    .c-ttlPage .ja {
        font-size: 1.6rem;
    }
}

@media screen and (min-width: 768px) {
    .c-ttlLowerMain .en {
        font-size: 4.5rem;
    }
}

.c-ttlPage .en {
    font-weight: 500;
    letter-spacing: .15em;
}


.fadeUp {
animation-name: fadeUpAnime;
animation-duration: 0.5s;
animation-fill-mode: forwards;
opacity: 0;
}

@keyframes fadeUpAnime {
from {
opacity: 0;
transform: translateY(50px);
}
to {
opacity: 1;
transform: translateY(0);
}
}


.t-bg.m-gradation {
    background: linear-gradient(154deg, #cce4f3, #005078, #3c6e96);
    background-size: 600% 600%;

    -webkit-animation: AnimationName 18s ease infinite;
    -moz-animation: AnimationName 18s ease infinite;
    animation: AnimationName 18s ease infinite;
}

@-webkit-keyframes AnimationName {
    0%{background-position:43% 0%}
    50%{background-position:58% 100%}
    100%{background-position:43% 0%}
}
@-moz-keyframes AnimationName {
    0%{background-position:43% 0%}
    50%{background-position:58% 100%}
    100%{background-position:43% 0%}
}
@keyframes AnimationName {
    0%{background-position:43% 0%}
    50%{background-position:58% 100%}
    100%{background-position:43% 0%}
}


.c-listServicep li {
  display: flex;
  display: -ms-flexbox;
  min-width: 100%;
  -ms-flex-pack: space-between;
  justify-content: space-between;
  -ms-grid-row-align: center;
  align-items: center;
  padding: 20px 0;
  min-height: 65px;
  border-bottom: solid 1px #3c6e96;
  position: relative;
  text-decoration: none;
}
.c-listServicep li::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: -5px;
  left: 0;
  background-color: #fff000;
}
.c-listServicep li > *:nth-child(n+2) {
  padding-left: 30px;
}
.c-listServicep li:first-child {
  border-top: solid 1px #3c6e96;
}
.c-listServicep li:first-child::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  position: absolute;
  top: 3px;
  left: 0;
  background-color: #fff000;
}
.c-listServicep .ttl {
  flex: 1;
}
.c-listServicep.m-works li {
  padding: 22px 0 18px;
}
.c-listServicep.m-works li:first-child {
  border-top: 0;
}
.c-listServicep.m-works li:first-child::before {
  display: none;
}
@media screen and (min-width: 768px) {
  .c-listServicep .date {
    width: 20%;
    min-width: 160px;
  }
  .c-listServicep.m-archive li {
    min-height: 120px;
  }
  .c-listServicep.m-archive .date {
    width: 30%;
  }
}


.c-listForm .c-txtContact p{
    margin:0 0 80px 0;

}
@media screen and (min-width: 768px) {
    .c-listForm {
        font-size: 1.4rem;
    }
}
.c-listForm .c-icoRequired.m-required {
    color: #ffffff;
}


/* 1. モーダル全体の背景（親要素） */
.custom-modal {
    position: fixed;
    z-index: 999999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center; justify-content: center;
    /* ボタンがはみ出るための余白を確保し、横スクロールを防ぐ */
    padding: 30px; 
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* 表示中 */
.custom-modal.is-active {
    opacity: 1;
    visibility: visible;
}

/* 黒い透過背景 */
.modal-overlay {
    position: absolute;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

/* 2. 青いコンテンツボックス */
.modal-content {
    background-color: #467699;
    color: #fff;
    width: 100%;
    max-width: 850px;
    max-height: 90vh;
    padding: 60px 50px;
    position: relative; /* ボタンの配置基準 */
    z-index: 10;
    /* 重要：中身は縦にスクロールさせるが、はみ出したボタンは見せる設定 */
    overflow: visible; 
    box-sizing: border-box;
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.custom-modal.is-active .modal-content {
    transform: translateY(0);
}

/* 3. 重要：外側へはみ出す「白丸ボタン」 */
.modal-close {
    position: absolute;
    /* ボタンの大きさの約半分をマイナス指定して「はみ出し」を実現 */
    top: -22px; 
    right: -22px; 
    
    width: 45px;
    height: 45px;
    background: #fff;
    color: #467699;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 100;
}

/* 4. モーダル内のテキスト装飾 */
.modal-header-group {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
}

#modal-title { font-size: 32px; margin: 0; font-weight: bold; line-height: 1.2; }
.sub-ttl-small { font-size: 14px; font-weight: normal; opacity: 0.9; }

.modal-description p { line-height: 1.8; text-align: justify; }
.modal-line { border: none; border-top: 1px solid rgba(255, 255, 255, 0.3); margin: 25px 0; }
.event-ttl { font-size: 18px; margin-bottom: 10px; }
#modal-events {  line-height: 1.7; opacity: 0.9; }

/* 5. スマホ対応 */
@media screen and (max-width: 768px) {
    .custom-modal {
        padding: 25px; /* ボタンが画面端に触れないギリギリの余白 */
    }
    .modal-content {
        padding: 40px 20px;
    }
    /* スマホではボタンを少し小さくし、はみ出し量も調整 */
    .modal-close {
        top: -18px;
        right: -18px;
        width: 38px;
        height: 38px;
        font-size: 22px;
    }
    .modal-header-group { flex-direction: column; align-items: flex-start; gap: 5px; }
    #modal-title { font-size: 24px; }
}


.c-tableOverview td , .c-tableOverview th{
    font-weight: normal;
}

.p-secServiceLowerPurposeSub .p-sec_h .txtbk,.p-secServiceLowerPurposeSub .p-sec_c .txtbk,.p-secServiceLowerPurposeSub .p-sec_h .h .lgbk,.c-ttlLowerSub .h .lgbk ,.txtbk {
    color: #000;
}

.fcor{
       color: #3c6e96;
}


.p-secServiceLowerPurposeSub .p-sec_h .h {
    padding-bottom: 15px;
}

/* --- 事業内容セクションの背景装飾（after）の右からスライドイン設定 --- */
@media screen and (min-width: 768px) {
  /* 1. 初期状態（右に隠れて透明な状態） */
  .p-secFront.m-service .p-secFront_i::after {
    opacity: 0;
    /* 横(X)を33%から100%に増やして右へ、縦(Y)は本来の55%にしておきます */
    transform: translate(100%, 55%); 
    /* 1.5秒かけて滑らかに移動 */
    transition: opacity 1.5s ease-out, transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
  }

  /* 2. 画面内に入った時（is-visibleクラスがついた時）の状態 */
  .p-secFront.m-service .p-secFront_i.is-visible::after {
    opacity: 1;
    /* 本来の位置（横33%, 縦55%）に戻す */
    transform: translate(33%, 55%);
  }
}

/* --- 採用セクションの背景装飾（before）のアニメーション設定 --- */
@media screen and (min-width: 768px) {
  /* 初期状態 */
  .p-secFront.m-recruit .p-secFront_i::before {
    content: "";
    display: block;
    width: 452px;
    height: 467px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    background-image: url(../img/front/deco_501.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;

    /* アニメーション用設定 */
    opacity: 0 !important; /* 初期は消す */
    transform: translate(-50%, 15%) !important;
    transition: opacity 1.5s ease-out, transform 1.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
    pointer-events: none; /* クリックを邪魔しないように */
  }

  /* 表示状態：親の p-secFront_i に is-visible がついたら */
  .p-secFront.m-recruit .p-secFront_i.is-visible::before {
    opacity: 1 !important;
    transform: translate(-15%, 15%) !important;
  }
}

@media screen and (min-width: 768px) {
    .c-ttlLowerMain .en + .ja {
        margin-left: 25px;
    }
}


.c-form radio {
  width: 100%;
  min-width: 100%;
  min-height: 40px;
  border: solid 1px #999999;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 10px;
}


/* --- スライダーコンテナの基本設定 --- */
.p-secFront_c {
  position: relative;
  padding-bottom: 80px; /* ナビゲーション配置用の下部余白 */
  overflow: hidden;    /* はみ出し防止 */
}

/* 既存のグリッドクラスが干渉しないように上書き */
.splide__list.t-grid {
  display: flex !important;      /* gridを解除して横並びに */
  flex-wrap: nowrap !important;   /* 折り返しを禁止 */
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
}

/* 各スライドの幅調整（5個表示） */
.splide__slide {
  width: calc(100% / 5) !important; /* PCで5個表示を強制 */
  flex-shrink: 0;
  padding: 0 10px;                  /* スライド間の余白 */
  box-sizing: border-box;
}

/* --- ナビゲーション（左下・丸に三角形） --- */
.custom-slider-nav.splide__arrows {
  position: absolute;
  bottom: 0;
  left: 20px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.splide__arrow {
  position: relative;
  inset: auto;     /* デフォルトの配置をリセット */
  transform: none; /* デフォルトの回転をリセット */
  width: 48px;
  height: 48px;
  border: 1px solid #ffffff; /* 白い丸枠 */
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: background-color 0.3s, opacity 0.3s;
  cursor: pointer;
}

/* 三角形アイコンの調整 */
.splide__arrow svg {
  width: 20px;
  height: 20px;
  fill: #ffffff; /* 三角形の色 */
}

/* ホバー・無効時 */
.splide__arrow:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.2);
}

.splide__arrow:disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

/* --- レスポンシブ（スマホ: 3個表示） --- */
@media screen and (max-width: 767px) {
  .p-secFront_c {
    padding-bottom: 60px;
  }

  .splide__slide {
    width: calc(100% / 3) !important; /* スマホで3個表示 */
    padding: 0 5px;
  }

  .custom-slider-nav.splide__arrows {
    left: 10px;
  }

  .splide__arrow {
    width: 40px;
    height: 40px;
  }
}


@media screen and (min-width: 768px) {
    .p-secFront.m-news {
        padding-bottom: 400px;
    }
}


@media screen and (max-width: 767px) {
    .c-ttlPageSingle {
        padding-bottom: 20px;
    }
}


@media screen and (max-width: 767px) {
    
    .c-ttlPage .en {
        font-size: 4rem;
    }
    .c-ttlPageSingle {
        padding-top: 50px;
        padding-bottom: 20px;
    }

.p_tb_180 {
    padding: 5rem 0;
}

.m_b_80 {
    margin-bottom: 6rem;
}

.sp_txtleft{
    text-align: left;
}

.c-ttlLowerSub .lg {
        font-size: 2.1rem;
        letter-spacing: 0.2rem;
    }
        .p-secServiceTop .txtbox .p-sec_h {
        padding-bottom: 0;
    }
    .c-ttlLowerSub.m-border__bl .h {
        text-align: left;
        padding-top: 15px;
    }

.c-ttlServiceLower {
    margin-top: 0;
}

.c-ttlLowerSub.m-border__bl .h {
    text-align: left;
    padding-top: 15px;
}

.c-ttlLowerMain {
    margin-top: 2rem;
}

.p-secServiceLowerPurposeSub{
           margin-bottom: 5rem;
}


.m_t_25{
    margin-top: 1.4rem;
}
.m_t_50{
    margin-top: 3rem;
}
.m_t_80{
    margin-top: 4rem;
}
.m_t_100{
    margin-top: 5rem;
}
.m_t_180{
    margin-top: 6rem;
}

.m_b_15{
    margin-bottom: 2rem;
}
.m_b_50{
    margin-bottom:3rem;
}
.m_b_80{
    margin-bottom: 4rem;
}
.m_b_100{
    margin-bottom: 5rem;
}
.m_b_180{
    margin-bottom: 6rem;
}
.m_b_360{
    margin-bottom: 9rem;
}

.m_tb_50{
    margin: 3rem 0;
}
.m_tb_80{
    margin: 4rem 0;
}
.m_tb_100{
    margin: 5rem 0;
}
.m_tb_100{
    margin: 5rem 0;
}



.p_t_50{
    padding-top: 3rem;
}
.p_t_80{
    padding-top: 4rem;
}
.p_t_100{
    padding-top: 5rem;
}
.p_t_180{
    padding-top: 6rem;
}

.p_b_30{
    padding-bottom: 1.5rem;
}
.p_b_50{
    padding-bottom: 3rem;
}
.p_b_80{
    padding-bottom: 4rem;
}
.p_b_100{
    padding-bottom: 5rem;
}
.p_b_180{
    padding-bottom: 6rem;
}

.p_tb_50{
    padding: 3rem 0;
}
.p_tb_80{
    padding: 4rem 0;
}
.p_tb_100{
    padding: 5rem 0;
}
.p_tb_180{
    padding: 6rem 0;
}

.p_tb_15{
    padding: 1rem 0;
}
.p_b_15{
    padding-bottom: 15px;
}

.sp_m_b_50{
    margin-bottom: 3rem;

}
.sp_m_b_80{
    margin-bottom: 4rem;

}


.p-secServiceTop .imgbox .txt {
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: .5em;
    color: #3c6e96;
}
.p-secServiceTop .imgbox .txt2 {
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: .2em;
    color: #3c6e96;
}

}

/* ==========================================================================
   Recruit Contact Privacy Section
   ========================================================================== */
.p-recruit-privacy {
    margin-top: 6rem;
    padding: 0 2rem;
}

.p-recruit-privacy__ttl {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--color-text);
}

.p-recruit-privacy__box {
    height: 200px;
    overflow-y: scroll;
    border: 1px solid #ddd;
    padding: 2.5rem;
    background: #fff;
    font-size: 1.4rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 3rem;
}

/* スクロールボックス内の見出し */
.p-recruit-privacy__box h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

/* 同意チェックボックスエリア */
.p-recruit-privacy__agree {
    text-align: center;
    margin-bottom: 4rem;
}

.p-recruit-privacy__agree label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.6rem;
    gap: 12px;
}

.p-recruit-privacy__agree input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .p-recruit-privacy {
        margin-top: 4rem;
    }
    .p-recruit-privacy__box {
        height: 180px;
        padding: 1.5rem;
        font-size: 1.3rem;
    }
    .p-recruit-privacy__agree label {
        font-size: 1.4rem;
    }
}


/* 採用種別選択（上部ボタン） */
.p-recruit-form__type {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 40px 0;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
    border-top: 1px solid #eee;
}

.p-recruit-form__type label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.p-recruit-form__type input[type="radio"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

/* フォーム内リスト（職種・性別） */
.c-form_flex-list {
    display: block;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.c-form_flex-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 5px 0;
}

/* --- ラジオボタンのカスタムデザイン --- */
.c-form_flex-list input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    
    /* 【サイズ変更】ここを調整してください */
    width: 24px;  
    height: 24px;
    
    /* 外枠のデザイン（薄い灰色） */
    border: 1px solid #dcdcdc; 
    background-color: #f5f5f5; /* 内側の色も薄い灰色にする場合 */
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 8px;
}

/* 選択された時のデザイン */
.c-form_flex-list input[type="radio"]:checked {
    border-color: #2B547E; /* 枠線をブランドカラーに */
    background-color: #fff;
}

/* 選択された時の内側の丸（::after） */
.c-form_flex-list input[type="radio"]:checked::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* 【中の丸のサイズ】外枠に合わせて調整 */
    width: 12px;
    height: 12px;
    
    background: #2B547E; /* 中の丸の色 */
    border-radius: 50%;
}

/* 個人情報保護セクション */
.p-recruit-privacy {
    margin: 50px 0;
    background: #f8f8f8;
    padding: 30px;
}

.p-recruit-privacy__ttl {
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.p-recruit-privacy__box {
    height: 200px;
    overflow-y: scroll;
    background: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.p-recruit-privacy__agree {
    text-align: center;
}

.p-recruit-privacy__agree label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    cursor: pointer;
}

.p-recruit-privacy__agree input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .p-recruit-form__type {
        flex-direction: column;
        align-items: center;
    }
    .p-recruit-form__type label {
        width: 100%;
    }
    .c-form_flex-list {
        flex-direction: column;
        gap: 15px;
    }
}

    .c-ttlPage .oubo {
        font-size: 2rem;
    }

@media screen and (min-width: 768px) {
    .c-ttlPage .oubo {
                font-size: 3rem;
        letter-spacing: .5rem;
    }
}



.p-recruit-form__type input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    
    /* 【サイズ変更】ここを調整してください */
    width: 24px;  
    height: 24px;
    
    /* 外枠のデザイン（薄い灰色） */
    border: 1px solid #dcdcdc; 
    background-color: #f5f5f5; /* 内側の色も薄い灰色にする場合 */
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 8px;
    }

    
/* 選択された時のデザイン */
.p-recruit-form__type input[type="radio"]:checked {
    border-color: #2B547E; /* 枠線をブランドカラーに */
    background-color: #fff;
}

/* 選択された時の内側の丸（::after） */
.p-recruit-form__type input[type="radio"]:checked::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* 【中の丸のサイズ】外枠に合わせて調整 */
    width: 12px;
    height: 12px;
    
    background: #2B547E; /* 中の丸の色 */
    border-radius: 50%;
}

@media screen and (max-width: 767px) {
    /* ヘッダーエリアをFlexボックス化して横並びにする */
    .p-secFront_h {
        display: flex;
        justify-content: space-between; /* 両端に配置（左にタイトル、右にボタン） */
        align-items: flex-end; /* 下揃え（タイトルの日本語テキストとボタンの底辺を合わせる） */
    }

    /* タイトルの余白調整（もし既存CSSで下余白がある場合のリセット） */
    .p-secFront_h .h {
        margin-bottom: 0;
        margin-right: 15px; /* タイトルとボタンがくっつきすぎないように余白確保 */
    }

    /* ボタンの位置微調整（必要に応じて） */
    .p-secFront_h .btn {
        margin-top: 0;
        flex-shrink: 0; /* 画面が狭くてもボタンが潰れないようにする */
    }
}

@media screen and (max-width: 767px) {
    .c-ttlServiceLower .en {
        font-size: 2rem;
    }
}

/* --- add.css の末尾に追加してください --- */

@media screen and (max-width: 767px) {
    


@media screen and (max-width: 767px) {
    .c-ttlFront .en + .ja {
        margin-left: 5px;
    }

    .c-ttlFront .en {
    letter-spacing: 0em;
}
}

/* 1. レイアウト崩れの原因になるスピナーを非表示にする */
.wpcf7-spinner {
    display: none !important;
}

/* 2. スマホ画面（768px以下）限定の調整 */
@media screen and (max-width: 768px) {
    /* 送信ボタン本体を直接指定 */
    .wpcf7-form-control.wpcf7-submit.has-spinner {
        margin: 0;
        position: relative;
        top: 0;
        
        /* ここがポイント！計算式で強制的に中央へ */
        /* calc((画面幅100% - ボタンの幅) ÷ 2) */
        left: 0;
    }
    #dis-blo{
        display: block;
    }
}

@media screen and (max-width: 767px) {
  /* 親要素：フレックスボックス化を強制 */
  header.p-sec_h.c-ttlLowerMain {
    display: flex !important;
    justify-content: space-between !important; /* 左右両端に配置 */
    align-items: flex-end !important; /* 下揃え */
    flex-wrap: nowrap !important; /* 折り返しを禁止 */
    gap: 10px; /* 見出しとボタンの間隔を確保 */
  }

  /* 見出し(h2)：幅の強制解除と余白リセット */
  header.p-sec_h.c-ttlLowerMain .h {
    width: auto !important;
    max-width: none !important;
    margin-bottom: 0 !important;
    flex: 0 1 auto !important; /* 必要に応じて縮小するが、伸長はしない */
                min-width: unset;
  }

  /* ボタン(.btn)：幅の固定解除と配置調整 */
  header.p-sec_h.c-ttlLowerMain .btn {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important; /* ボタンのサイズを縮小させない */
    position: static !important; /* 万が一絶対配置などが効いている場合の解除 */
  }
}

.wpcf7-radio .wpcf7-list-item {
    display: block;
    margin: 0;
}
