@charset "UTF-8";
------------------------------------------------------------*/
/* recruit.css */
html {
    background-color: #ffffff ;
}
body {
    background-color: #ffffff ; 
    position: relative; /* オーバーレイの基準点として */
}

.orange{
    color:#ff8c00;
}

#recruit .item-image{
    width: 100%;
    height: 150px;
    margin: 0 0 20px;
}

h2{
    color: #fff;
    font-family:'Noto Sans JP';
    font-weight: 700;
    font-size: 3.5rem;
    text-align: right;
    position: relative;
    right: 20px;
    top: 50%;
    text-shadow: 4px 4px 3px #254053;
}


.fixed-global-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 6.1rem; /* ヘッダーの高さ */
    background-color: rgba(255, 255, 255, 0.95); /* 白の半透明背景 */
    z-index: 1000; /* 最前面に表示 */
    display: flex;
    align-items: center; /* 垂直方向中央揃え */
    box-sizing: border-box;
    padding: 0 7.5rem 0 1rem;
    justify-content: space-between;
}

/* ヘッダー内のロゴ */
.head-logo {
    height: 100%; /* 親のヘッダーの高さに合わせる */
    display: flex;
    flex-direction: column; /* ロゴとテキストを縦に並べる */
    justify-content: center; /* 垂直中央に配置 */
    align-items: flex-start; /* ロゴとテキストを左揃えにする */
    line-height: 1;
}

.head-logo img {
    max-height: 3.4rem; /* ロゴ画像の最大高さを指定 */
    width: auto; /* 幅は自動調整 */
    display: block;
}
.head-logo a {
    text-decoration: none;
    color: inherit;
}

.recruit-site-text {
    font-size: 1.1rem; /* 小さめの文字サイズ */
    color: #144e94; /* メインカラーのネイビー */
    font-weight: bold;
    margin-top: 2px; /* ロゴからのわずかな余白 */
    letter-spacing: 0.2em; /* 文字間隔を少し開ける */
    text-transform: uppercase; /* 大文字にする（デザイン的な好み） */
}

 .header-entry-button {
    width: 11rem;
    height: 4.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.6rem;
    transition: background 0.4s ease, box-shadow 0.3s ease, transform 0.2s ease, filter 0.3s ease;
    background: linear-gradient(90deg, #f5ca45 0%, #ff8c00 50%);
    color: #ffffff;
}
.header-entry-button:hover {
    background: linear-gradient(90deg, #ff8c00 0%, #f5ca45 50%);
    transform: translateY(-3px);
}


/* メニューボタンのコンテナ (モバイル用) */
.header-buttons-container {
    display: flex; /* ボタンを横並びにする */
    align-items: center; /* 垂直方向中央揃え */
    gap: 0; /* ボタン間に隙間なし */
}

/* 2. ハンバーガーアイコンのラッパー（label要素） */
#recruitMenuToggle{
   display:none;
}
.menu-toggle-label {
    width: 6.5rem;
    height: 6.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    background: #0097de;
    justify-content: center;
    position: fixed;
    top: 0;
    right: 0;
}
.hamburger-icon{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 3.3rem;
    width: 3.6rem;
    padding: 0.7rem 0 0;
}
.menu-toggle-label .hamburger-icon span { /* 線のスタイル */
    height: 0.3rem;
    background-color: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* テキストのスタイル */
.menu-text {
    font-size: 1rem; /* 小さめの文字サイズで邪魔にならないように */
    color: #fff; 
    font-weight: bold;
    white-space: nowrap; /* テキストが改行されないように */
    display: inline-block; /* widthやletter-spacingを適用するために */
    letter-spacing: 2px;

}
/* ハンバーガーアイコンのアニメーション（チェックされた時） */
.hidden-checkbox:checked + .menu-toggle-label .hamburger-icon span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hidden-checkbox:checked + .menu-toggle-label .hamburger-icon span:nth-child(2) {
    opacity: 0;
}
.hidden-checkbox:checked + .menu-toggle-label .hamburger-icon span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* 3. 全画面オーバーレイメニュー本体 */
.overlay-menu-css {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background:#e0e8f5;
    display: flex;
    flex-direction: column; /* 項目を縦に並べる */
    justify-content: center; /* 垂直中央揃え */
    align-items: center;   /* 水平中央揃え */
    opacity: 0;            /* 初期状態は透明 */
    visibility: hidden;    /* 初期状態は非表示 */
    pointer-events: none;  /* 初期状態はクリックイベントを無効化 */
    transition: opacity 0.4s ease, visibility 0.4s ease; /* スムーズなアニメーション */
    z-index: 1000;         /* ハンバーガーアイコンより下 */
    overflow-y: auto;      /* メニュー項目が多い場合にスクロール可能に */
    -webkit-overflow-scrolling: touch; /* iOSでのスクロールをスムーズに */
}

/* チェックボックスがチェックされた時にメニューを表示 */
.hidden-checkbox:checked ~ .overlay-menu-css { /* ~ は後続兄弟セレクタ */
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* クリックイベントを有効化 */
}

/* メニュー表示中にbodyのスクロールを禁止（任意、JavaScriptなしではCSSトリックが必要） */
/* bodyのoverflow: hidden; はJavaScriptを使うのが確実だが、CSSで頑張るなら */
/* .hidden-checkbox:checked ~ main {
    overflow: hidden;
    height: 100vh;
} */
/* ↑ これは複雑になるので、基本はJavaScriptでbodyのoverflowを制御するのが楽 */
/* CSSのみだと、bodyの固定は難しいことが多いので、この部分は妥協するケースも多い */


/* メニュー項目 */
.menu-items-css {
    list-style: none;
    padding: 0 50px;
    margin: 0;
    width: 100%; /* 中央揃えのために必要 */
}

.menu-items-css li {
    margin-bottom: 25px; /* 項目間の余白 */
}

.menu-items-css .menu-link-css {
    color: #144e94; /* リンクの文字色 */
    text-decoration: none;
    font-size: 28px; /* リンクの文字サイズ */
    font-weight: bold;
    display: block; /* タップエリアを広げる */
    padding: 10px 0;
    transition: color 0.3s ease;
}

.menu-items-css .menu-link-css:hover {
    color: #ff8c00; 
}
/* ==================================== */
/* == <h1>タグを視覚的に隠すためのスタイル == */
/* ==================================== */
.visually-hidden {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}



/* ==================================== */
/* == ヒーローセクションのスタイル == */
/* ==================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 60vh; /* 画像の高さに合わせて調整してください */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff; /* テキストの色を白に */
    overflow: hidden; /* 背景画像がはみ出さないように */
    margin-top: 4.3rem;
}
.hero-image-area {
    width: 100%; 
    position:absolute;
    top: 0;
    height:100%;
    z^index: -1;
 }

.hero-img {
    width: 100%; /* 親要素 (hero-image-area) の幅いっぱいに */
    height: 100%; /* 親要素の高さに合わせる */
    object-fit: cover; /* 画像がはみ出さないように、アスペクト比を保ちつつ切り抜き */
    object-position: 35% 50%;
}

.hero-overlay {
    position: absolute;
    bottom:0;
    /* 画像の青っぽいオーバーレイを再現。透過度を調整してください。 */
    box-sizing: border-box;
}

.hero-section h2 {
    font-size: 2em; /* キャッチコピーのフォントサイズ。モバイルに合わせて調整 */
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3); /* テキストに影をつけて読みやすく */
    color: #ffffff;
    text-align: left;
    margin: 0 0 4rem;
    font-family: 'klee one';

}
.hero-buttons {
    display: flex;
    flex-direction: column; /* ボタンを縦に並べる */
    gap: 15px; /* ボタン間のスペース */
    width: 90%; /* ボタンの幅を調整 */
    max-width: 320px; /* 最大幅を設定してPCで大きくなりすぎないように */
}

.hero-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em; /* ボタンのフォントサイズ */
    border-radius: 8px; /* 角を丸く */
    transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* ボタンに影 */
}

/* プライマリーボタン  */
.hero-cta-button.primary-button {
    background-color: #144e94; 
    color: #ffffff;
    border: 1px solid #f0f0f0;
}
.hero-cta-button.primary-button:hover {
    background-color: #144e94; /* ホバーで少し濃く */
    color: #144e94; /* メインカラーのネイビー */
    transform: translateY(-2px);
}

/* セカンダリーボタン (白色) */
.hero-cta-button.secondary-button {
    background-color: #ffffff;
    color: #144e94; /* メインカラーのネイビー */
    border: 1px solid #144e94; /* 枠線を追加 */
}
.hero-cta-button.secondary-button:hover {
    background-color: #144e94; 
    color: #ffffff;
    transform: translateY(-2px);
}

/* 矢印アイコンのスタイル */
.arrow-icon {
    margin-left: 10px; /* テキストとの間隔 */
    font-size: 0.9em; /* 矢印のサイズ */
}

.fixed-bottom-cta {
    position: fixed;
    bottom: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 990;
    box-sizing: border-box;
    opacity: 0; /* 透明度も0にする */
    transition: opacity 0.3s ease-out,bottom 0.3s ease-out; /* スムーズなアニメーション */
}

/* ボタンが表示される時に付与するクラス */
.fixed-bottom-cta.is-visible {
    opacity: 1; /* 不透明にする */
    bottom: 0;

}
/* ==================================== */
/* == メッセージ== */
/* ==================================== */

section.intro-message-section {
    width: 100vw;
    /* 白から薄い水色へのグラデーション */
    /* 背景画像の設定 */
}
section.intro-message-section .container{
   width: 85%;
   margin: 0 auto;
}

.intro-message-section h2{
    text-shadow: none;
    letter-spacing: 0.5rem;
    margin-bottom: 2rem;

}
.intro-message-section p{
    margin: 1.5rem 0;
    font-weight: 700;
}
.intro-message {
    font-size: 1.1em; /* Noto Sans JPの本文より少し大きめに */
    line-height: 1.8; /* 読みやすい行間 */
    color: #144e94; /* 読みやすい濃いめのグレー */
    font-weight: 400; /* 通常の太さ */
    letter-spacing: -1px;
    width: 100vw;
    text-align: left;
    margin:0 auto;
    padding: 20% 10%;
}
.message-line-drawing {
    margin-top: 30px;
    width: 50%;
    height: auto; /* 高さは自動調整 */
    pointer-events: none; /* 画像がクリックできないようにする */
}
.growing-text{
    width: 85%;
    margin: 0 0 30px 2%;
    transform: rotate(4deg);
}

/* ==================================== */
/* == 病院の特徴セクション == */
/* ==================================== */
.hospital-features-section {
    padding: 15% 5% 30%; 
    background:#e8f6fc; /* 背景色 */
}
.hospital-features-section h3{
    font-family: 'Klee One';
    font-size: 2rem;
    margin: 2rem 1rem 5rem;
}

.section-title {
    font-size: 2.5rem;
    color: #144e94;
    font-weight: bold;
    font-family: 'Noto Sans JP';
    text-align: start;
    position: relative;
    
}
.section-title::before {
    content: "";
    position: absolute;
    border: 2px solid;
    width: 90%;
    bottom: -1%;
    left: 5%; 
}
 .sub-title {
    position: relative;
    display: inline-block;
    font-weight: 500;
    line- height: 1.4;
    font-size: 5vw;
}
.sub-title::before {
    content:"";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #144e94;
    font-family: Noto Sans JP;
}
.features-grid {
    display: grid;
    /* モバイルファースト: 1列表示 */
    grid-template-columns: 1fr;
    gap: 40px; /* カード間の余白 */
    max-width: 1200px; /* グリッド全体の最大幅 */
    margin: 0 auto; /* グリッドを中央揃えに */
}

.feature-card {
    background-color: #ffffff; /* カードの背景色 */
    border-radius: 8px; /* 角丸 */
    padding: 2.3rem 2.3rem 7rem; /* カード内の余白 */
    display: flex;
    flex-direction: column;
    align-items: center; /* 中身を中央揃え */
    text-align: center; /* テキストを中央揃え */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* ホバー時のアニメーション */
    position: relative;
}

.feature-card::before {
    position: absolute;
    bottom: -7.5rem;
    right: -0.5rem;
    font-size: 13rem;
    color: #e8f6fc;
    z-index: 0;
    font-family: arial;
    font-weight: 600;
    letter-spacing: -0.07em;
}

/* 順番に数字を入れる */
.feature-card:nth-child(1)::before { content: "01"; }
.feature-card:nth-child(2)::before { content: "02"; }
.feature-card:nth-child(3)::before { content: "03"; }

.card-icon {
    width: 70%; /* アイコンの幅 */
    height: auto; /* アイコンの高さ */
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-icon img {
    max-width: 100%;
    height: auto;
}

.card-title {
    font-size: 2rem;
    color: #0066b5; /* ネイビー */
    text-shadow: none;
}

.card-text {
    font-size: 1.6rem;
    line-height: 1.45; /* 行の高さ */
    text-align: left;
    z-index: 10;
}
.mid-career-message{
    background: linear-gradient(1deg,#e8f6fc 19%, #56C5EA 36.41%, #4D7BC2 87.61%);

}
/*募集要項　スマホ
------------------------------------------------------------*/
.job-name{
   text-align:center;
   font-size: 2.5rem;
   margin-top: 100px; 
   color: #0b6aae;
}
.job-description-title{
    font-size: 3.5rem;
    padding: 15% 5% 0;
}
.job-description{
   margin: 0 auto;
   display:flex;
   padding: 10px;
   flex-direction: column; 
   margin-bottom: 15rem; 
}
.job-description .row,.job-description .cell{
    padding: 10px;
    border: 2px solid #a3d9f0; 
    width: 100%;
    margin: 0 auto;
}
.job-description .row{
    font-weight: 600;
    background: #a3d9f0;
    color: #144e94;
}
.job-description .cell:last-child{
    border-top: none;
    
}
.form-wrap{ 
   width: 97%;
   margin: 0 auto;
}
.label-form{
    padding-left: 20px;
}
.p-small{
  font-size: 1.4rem;
}

.recruit-btn-wrap .ReadMore:after{
  border-top: 3px solid #ffffff;
  border-right: 3px solid #ffffff;} 
 
.recruit-btn-wrap .ReadMore:hover{
    box-shadow: none;
    border: none;
} 
.recruit-btn-wrap{ 
   display:flex;
   flex-direction: column;
   margin: 50px auto;
}

.recruit-btn-1{ 
    background: #144e94;
    color: #ffffff;

}
.recruit-btn-2{ 
    background: #0097e0;
    color: #ffffff;
}
.thanks{
    display: flex;
    font-size: 2.5rem;
    flex-direction: column;
    align-items: center;
    margin: 150px auto 100px;
    width: 90%;

}
.thanks img{
    width: 6rem;
    margin-bottom: 2rem;
}  
/* ==================================== */
/* == レスポンシブ対応 == */
/* ==================================== */

/* タブレット (736px 以上) */
@media screen and (min-width:736px) and (max-width:1024px) {
 h2{
    right: 4rem;
    top: 60%;
    font-size: 4rem;
 } 

 #recruit .item-image{
    height: 22rem;
 }
 .hospital-features-section h3{
    font-size: 3rem;
 }
 .feature-card{
    width: 80%;
    margin: 0 auto;
 }
 .card-icon img{
    width: 70%;
 }
 .recruit-btn-wrap{
    flex-direction: row;
    width: 80%;
    justify-content: center;
    gap: 5rem;
 }
 .recruit-btn-wrap .ReadMore{
    width: 37vw;
 }
 .job-description{
    width: 85%;
 }
.thanks{
    width: 80%;
 }

}

/* デスクトップ (1025px 以上) */
@media (min-width: 1025px) {
 h2{
    right: 4rem;
    top: 60%;
    font-size: 4rem;
 } 
 
 .hospital-features-section h3{
    font-size: 3.5rem;
    margin: 2rem 5% 5rem;
 }

 #recruit .item-image{
    height: 30rem;
    width: 80vw;
    margin: 0 auto;
 }
 .intro-message {
    padding: 5% 10%;
 }

 .recruit-btn-wrap{
    flex-direction: row;
    width: 80%;
    justify-content: center;
    gap: 5rem;
 }
 .recruit-btn-wrap .ReadMore{
    width: 37vw;
 }
 .job-description{
    width: 75%;
 }

 .features-grid {
     grid-template-columns: repeat(3, 1fr); /* 3列表示 */
     gap: 30px;
 }
 .thanks{
    width: 70%;
 }

}

