@charset "utf-8";

/* SP追従バナー消去 */
@media only screen and (max-width: 649px) {
  div#clinging_insect,
  div#clinging_insect_2,
  div#clinging_insect_3,
  div#clinging_insect_2 a,
  div#clinging_insect_3 a,
  div#clinging_insect_2 img,
  div#clinging_insect_3 img {
    display: none;
    visibility: hidden;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
    position: absolute;
    z-index: -9999;
  }
}


/* =======================================
1. 共通レイアウト・汎用ボックス
(.parts / .kadomaru / .cardbox / .boxwhite)
======================================= */

/* テーブルの文字サイズ・行間 */
.parts07 table, .parts08 table, .parts09 table, .parts10 table, .parts11 table, .parts28 table, .parts29 table, .parts30 table {
    font-size: 100%;
    line-height: 140%;
}

/* 共通：角丸 */
.kadomaru,
.kadomaru img {
    border-radius: 5px;
}
.kadomaru .child {
    border-radius: 5px;
}

/* 共通：カード風BOX */
.cardbox .ch_group {
    display: flex;
}

/* 共通：4カラム以上をカード風BOX */
.cardbox_border .child {
    border-radius: 5px;
    padding: 10px;
    border: solid 1px #cccccc;
    margin-bottom: 25px;
}
.cardbox_border .ch_group {
    display: block;
}
.cardbox_border .ch_group .child {
    align-items: flex-start;
}
.cardbox_border h3,
.cardbox_border h4 {
    align-self: flex-start;
}
@media screen and (min-width:950px) {
  .cardbox_border ,
  .cardbox_border .ch_group {
    display: flex;
  }
  .cardbox_border .child {
    margin-bottom: 0px;
  }
}

/* 共通：背景を白に */
.boxwhite .child{
    background-color: #fff;
}
.backwhite {
    background-color: #fff;
}

/* 外枠1000幅 */
/* --- 1. 共通の余白と角丸 --- */
.box1000_border,
.box1000_border_yellow,
.box1000_back_white {
    max-width: 1000px;
    padding: 15px;
    border-radius: 15px; 
    box-sizing: content-box;
}
/* --- 2. 個別の装飾 --- */
/* 通常の枠線 */
.box1000_border {
    border: solid 2px var(--color-border);
}

/* 黄色の枠線 */
.box1000_border_yellow {
    border: solid 2px var(--color-primary);
}

/* 白背景 */
.box1000_back_white {
    background-color: #FFF;
    color: #333;
}

/* スタイル：最初の「枠あり・色付き」を取る */
.column1w .first_off .child:first-child {
    background-color: rgba(0, 0, 0, 0);
    border: none;
}
.column1w .first_off .child:first-child , 
.column1w .first_off .child:first-child {
    padding: 0;
}

/* 【PC/タブレット】カード風BOXのレスポンシブ対応 */
@media screen and (min-width: 950px) {
    .cardbox {
        display: flex;
    }
    .cardbox .child {
        display: flex;
        flex-direction: column;
    }
    .cardbox .link a {
        margin-top: auto;
    }
}

/* =======================================
   2. コンポーネント固有（見出し・区切り線・フッターなど）
======================================= */

/* H2見出し：両側に線を付ける */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 950px;
    margin: 0 auto 40px auto;
    font-size: 28px;
    color: var(--color-primary);
    letter-spacing: 0.1em;
}
/* 左右の線 */
.section-title::before,
.section-title::after {
    content: "";
    flex-grow: 1; /* 余ったスペースを線で埋める */
    height: 2px;
    background-color: #b5c2b8; /* 線の色（少し緑がかったグレー） */
}
.section-title::before {
    margin-right: 20px;
}
.section-title::after {
    margin-left: 20px;
}

/* 見出し：右側に横線を入れる */
.heading_right_line h2,
.heading_right_line h3{
  display: flex;
  align-items: center; 
}
.heading_right_line h2::after,
.heading_right_line h3::after {
  content: "";
  flex-grow: 1;
  height: 2px;
  background-color: var(--color-primary);
  margin-left: 20px; 
}

/* 区切り線950幅 */
hr {
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    height: 1px;
}

/* 採用：フッターの設定 */
.recruit_footer .child, 
.recruit_footer .txt a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 220%;
    white-space: nowrap;
}
.recruit_footer .txt a:visited {
    color: #666;
}
.recruit_footer .txt a:hover {
    color: #999;
}
.recruit_footer .link_blank:after {
    font-family: '';
    content: "";
}

/* 外部リンクアイコンを削除 */
.none_icon .link_blank:after {
    font-family: '';
    content: "";
}

/* リンクテキスト装飾変更 */
.link_nonecolor .txt a {
    color: #44403e;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 220%;
}
.link_nonecolor .txt a:visited {
    color: #44403e;
}
.link_nonecolor .txt a:hover {
    color: #C6C6C6;
}


/* =======================================
3. テキスト・フォント・装飾
(.word_block / .mincho / .emoji / .text_white)
======================================= */

/* 記号部分で改行 */
.word_block p {
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* 「斜」で明朝体に */
.mincho span.text_italic {
    font-family: 'Zen Old Mincho', serif;
    font-weight: 900;
}

/* 「斜」で塗りつぶしアイコンに */
.emoji span.text_italic, 
.emoji h1 span.text_italic, 
.emoji h2 span.text_italic, 
.emoji h3 span.text_italic, 
.emoji h4 span.text_italic {
    font-family: 'Zen Kaku Gothic New', "Noto Color Emoji", sans-serif;
    color: transparent; 
    text-shadow: 0 0 0 var(--color-primary);
}
/* 「色3」で色文字 */
.text_tag span button i.color3, span.text_color3 {
    color: var(--color-primary);
}

/* 「色3」で白文字 */
.text_white span.text_color3 {
    color: #fff;
}
/* 文字色・白 */
.text_white,
.text_white h1,
.text_white h2,
.text_white h3,
.text_white h4 {
    color: #FFF;
}

/* 【SP】見出しフォントサイズ調整 */
@media screen and (max-width: 950px) {
    .sp_h1 h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }
}

/* テキストの1部を色付きボックスで囲む */
.textbox_main .text_italic {
    display: inline-block;
    color: white;
    padding: 0px 5px;
    border-radius: 5px;
    margin: 0em 0em 0.2em 0em;
}
.textbox_main h3 .text_italic,
.textbox_white h3 .text_italic {
    padding: 5px;
    line-height: 120%;
}
.textbox_main .text_italic { 
    background: var(--color-primary); 
}
.textbox_white .text_italic {
    display: inline-block;
    padding: 0 0 2px 5px;
    border-radius: 0;
    margin: 0em 0em 0.2em 0em;
    background: white;
}

/* =======================================
   4. ボタン・リンク (.link_text_button)
======================================= */

/* テキスト内リンクをボタンに */
.link_text_button .link {
    height: auto;
}
div .link_text_button a {
    display: block;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    padding: 10px;
    transition: all 0.3s ease;
    color: var(--color-primary);
    background-color: #ffffff;
    border: 1px solid var(--color-primary);
}
div .link_text_button a:visited {
    color: var(--color-primary);
    text-decoration: underline;
}
div .link_text_button a:hover {
    color: #fff;
    background-color: var(--color-primary);
    border: 1px solid #fff;
}


/* =======================================
5. 背景画像コントロール
（グラデーションオーバーレイ）
======================================= */

/* 採用：ヒーロービュー画像背景設定 */
.obg_ctrl_background_1_pt {
    position: relative;
}
.obg_ctrl_background_1_pt::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0) 45%, rgba(255, 255, 255, 0.5) 70%, rgba(255, 255, 255, 1) 95%);
}
.obg_ctrl_background_1_pt div {
    position: relative;
}

/* 病院：採用CTA画像背景設定 */
.obg_ctrl_background_5_pt {
    position: relative;
}
.obg_ctrl_background_5_pt::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0) 40%, rgba(214, 226, 215, 1) 50%);
}
.obg_ctrl_background_5_pt div {
    position: relative;
}

/* 採用：見学・応募CTA画像背景設定 */
.obg_ctrl_background_2_pt {
    position: relative;
    background-position: right 50% bottom 50%;
}
.obg_ctrl_background_2_pt::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgba(228, 232, 228, 0.8) 50%, rgba(0, 0, 0, 0) 80%);
}
.obg_ctrl_background_2_pt div {
    position: relative;
}

/* 【SP】画像背景のグラデーション向き変更 */
@media screen and (max-width: 950px) {
    .obg_ctrl_background_5_pt::before {
        background: linear-gradient(rgba(0, 0, 0, 0) 40%, rgba(214, 226, 215, 1) 50%);
    }
}


/* =======================================
   6. 特殊挙動（スクロール固定）
======================================= */

/* スクロール時に範囲内で固定(2カラム限定) */
@media print, screen and (min-width: 650px) {
    #main-column1w {
        overflow: clip;
    }
    .fixed_img .child:first-child {
        position: sticky;
        top: 130px;
    }
}