@charset "UTF-8";

/* =========================================
   Base & Reset
   ========================================= */
* {
    box-sizing: border-box;
}

body {
    /* 欧文はLato、和文はNoto Sans JPを優先 */
    font-family: 'Lato', 'Noto Sans JP', "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    color: #333;
    line-height: 1.6;
}

/* 数字（連番など）の強調設定 */
.num, .step-num {
    font-family: 'Lato', sans-serif;
    font-weight: 900; /* PDFに合わせてかなり太めに設定 */
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* 共通クラス */
.inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.pc-only { display: block; }
.sp-block {
	text-align: left;
	position: relative;
	display: block;
}

/* =========================================
   Width Settings (修正)
   ========================================= */

/* 通常のセクション：横幅800px */
.inner {
    max-width: 800px; /* 1000pxから変更 */
    margin: 0 auto;
    padding: 0 20px;
}

/* ワイドなセクション（支給例用）：横幅1040px */
.inner-wide {
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 20px;
}

@media (max-width: 767px) {
    .pc-only { display: none; }
    .sp-block { display: block; }
}

/* =========================================
   Hero Section (修正版)
   ========================================= */
.hero-section {
	position: relative; /* 背景位置の基準 */
	width: 100%;
	/* 元の背景色は削除し、疑似要素で画像を設定します */
	z-index: 0; /* 前景コンテンツより後ろにするため */
	background-color: #F4F3ED;
}

/* 背景画像（緑チェック柄）の設定 */
.hero-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 82%;
	background-image: url(../../recruit-30/images/header_bg.png);
	background-repeat: repeat; /* パターン素材の場合はrepeat */
	background-size: auto;     /* 必要に応じて cover や contain に変更 */
	background-position: center top;
	z-index: -1; /* 画像(img)の後ろに配置 */ 
}

.hero-inner {
	width: 100%;
	margin: 0 auto;
	text-align: center;
	padding-top: 20px;
}

.hero-img {
    width: 100%;
    max-width: 100%; 
    height: auto;
    display: block; /* 画像下の隙間防止 */
}

main.main-content {
	background-color: #F4F3ED;
}

/* =========================================
   Intro Section
   ========================================= */
.intro-section {
    padding: 60px 20px;
    text-align: center;
}

.intro-text {
	font-size: 18px;
	font-weight: 700;
	line-height: 200%;
}

/* =========================================
   Job Types (Green Box)
   ========================================= */
.job-types {
	border: 4px solid #51b0a2;
	padding: 30px;
	text-align: center;
	position: relative;
	margin-bottom: 60px;
	background: #fdfdfd;
	border-radius: 4px;
}

.job-types__title {
	color: #51b0a2;
	font-size: 24px;
	margin: 0 0 15px 0;
	padding-bottom: 30px;
	background-position: center bottom;
	background-repeat: no-repeat;
	background-image: url(../../recruit-30/images/Line@2x.png);
	background-size: 100% auto;
	font-weight: 700;
}

.job-types__list {
	font-weight: bold;
	font-size: 24px;
	line-height: 1.8;
}

/* =========================================
   Facility Grid
   ========================================= */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

/* 個別アイテム */
.facility-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

/* 左上のテキストボックス調整 */
.entry-text-box {
    padding: 0 10px 0 0; /* 右に少し余白 */
    display: flex;
    flex-direction: column;
    justify-content: center; /* 垂直方向中央揃え */
    align-items: flex-start; /* 左揃え */
    /* グリッド内なのでwidthは自動で画像セルと等しくなります */
}

/* 左上のテキストボックス調整 */
.entry-text-box .badge {
    /* サイズと色は維持 */
    background-color: #2a736a; 
    width: 100%;
    max-width: 380px;
    height: 64px;
    max-height: 64px;
    border-radius: 5px;
    margin-bottom: 20px;
    
    /* ▼▼▼ 文字の配置変更（左下） ▼▼▼ */
    display: flex;
    align-items: flex-end;      /* 下揃え */
    justify-content: flex-start; /* 左揃え */
    
    /* 左と下の余白設定 */
    padding-left: 20px;   /* 左の余白 */
    padding-bottom: 12px; /* 下の余白 */
    box-sizing: border-box; /* パディングを含めて高さを固定 */

    /* 文字スタイル */
    color: #fff;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    line-height: 1; /* 行間を締めて配置しやすくする */
}

.entry-text-box h3 {
	margin: 0;
	font-size: 22px;
	line-height: 1.6;
	font-weight: 700;
}

/* リンク画像カード */
.facility-link {
	display: block;	
}

.facility-link img {
    width: 100%;
    height: auto;
    display: block;
}

.facility-link .caption {
    background: rgba(46, 142, 137, 0.9); /* 少し透過した緑 */
    color: #fff;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* =========================================
   Buttons & CTA
   ========================================= */
.cta-section {
	text-align: center;
	padding-bottom: 80px;
}

.cta-text {
    font-weight: bold;
    margin-bottom: 15px;
}

/* =========================================
   Buttons (レイアウトと矢印の修正)
   ========================================= */

.btn {
    position: relative; /* 矢印を配置する基準点にします */
    display: flex;
    justify-content: center; /* テキストを「ど真ん中」に配置 */
    align-items: center;
    
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 18px 30px; /* 上下の厚み */
    
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    transition: opacity 0.3s;
    box-shadow: none;
}

/* 矢印のスタイル変更（絶対配置・サイズアップ） */
.btn .arrow {
    position: absolute; /* テキストの流れから切り離して配置 */
    right: 20px;        /* 右端から20pxの位置に固定 */
    top: 50%;           /* 上下中央の基準 */
    transform: translateY(-50%) translateY(-2px); /* 上下中央補正と微調整 */
    
    /* サイズ調整 */
    font-size: 36px; /* 施設リンクより大きく設定（記号は小さく見えがちなため） */
    font-family: "Helvetica Neue", Arial, sans-serif;
    line-height: 1;
    font-weight: 400; /* 細身にしてスッキリさせる */
    margin: 0;        /* 余計な隙間を削除 */
}

/* ホバー時の矢印アニメーション（右に少し動く） */
.btn:hover .arrow {
    right: 15px; /* ホバーで少し右へ移動 */
    transition: right 0.3s ease;
}


/* =========================================
   Color Variations (フラット・白文字)
   ========================================= */

/* オレンジボタン */
.btn-orange {
    background: #ff8e60; /* 指定の単色 */
    color: #fff !important; /* 文字色 白（強制） */
}

/* ピンクボタン（オレンジと同様のフラット仕様へ変更） */
.btn-pink {
	background-color: #e76767; /* グラデーション廃止し、単色のピンクへ */
	color: #fff !important; /* 文字色 白（強制） */
}



/* =========================================
   Conditions & Timeline Titles
   ========================================= */

.conditions-section {
	padding-top: 80px;
	text-align: left;
}


.section-title {
	text-align: center;
	position: relative;
	display: block;
	width: 90%;
	color: #51b0a2;
	font-size: 24px;
	margin-top: 0;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 50px;
	padding-bottom: 30px;
	background-position: center bottom;
	background-repeat: no-repeat;
	background-image: url(../../recruit-30/images/Line@2x.png);
	background-size: 100% auto;
	font-weight: 700;
	max-width: 770px;
}



/* =========================================
   Conditions List (修正版)
   ========================================= */

.check-list {
	list-style: none;
	padding: 0;
	/* 幅を広げる */
	width: 100%;
	max-width: 830px;
	margin: 0 auto 15px; /* 下に少し余白 */
}

.check-list li {
	position: relative;
	padding-left: 50px; /* アイコン分のスペース確保 */
	margin-bottom: 40px; /* 行間を広げる */
	/* 文字サイズ拡大 */
	font-weight: 700;
	font-size: 24px; /* PCで見やすい大きさに（スマホは後述のメディアクエリで調整） */
	line-height: 1.7;
}

.note-mark {
	color: #ad372c;
}

/* チェックボックスアイコン（少し大きく調整） */
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px; /* 位置微調整 */
    width: 28px;
    height: 28px;
    border: 2px solid #5bb3af;
    background: #fff;
    border-radius: 4px;
}

/* チェックマーク（アイコンに合わせて拡大） */
.check-list li::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 6px;
    width: 8px;
    height: 16px;
    border-right: 3px solid #5bb3af;
    border-bottom: 3px solid #5bb3af;
    transform: rotate(45deg);
}

/* 注釈テキスト（左寄せ・幅合わせ） */
.note-text {
	/* 中央揃え解除 -> 左寄せ */
	text-align: left;
	/* リストと同じ幅・配置にする */
	width: 100%;
	max-width: 830px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 60px; /* 下のセクションとの余白 */
	font-size: 16px;
	color: #ad372c; /* リストの文字開始位置に揃えるためのインデント */
	font-weight: bold;
	margin-left: auto;
}

/* =========================================
   Responsive (SP) 微調整
   ========================================= */
@media (max-width: 767px) {
    .check-list li {
        font-size: 16px; /* スマホでは読みやすいサイズに戻す */
    }
    
    .note-text {
        padding-left: 0; /* スマホではインデント解除 */
    }
}

/* =========================================
   Timeline
   ========================================= */
.timeline-section {
    margin-bottom: 80px;
}

/* 手順ブロック全体 */
.timeline-desc {
	/* 中央配置のための幅制限 */
	width: 100%;
	max-width: 760px; /* 見出しより少し広めに取るか、700px程度に */
	margin: 0 auto 50px; /* 左右autoで中央揃え、下余白 */
	/* 中のテキストが左寄せでもブロック自体は中央 */
	text-align: left;
}

/* 個別のステップボックス */
.step-box {
	display: flex; /* 番号とテキストを横並びに */
	align-items: flex-start; /* 上揃え */
	justify-content: flex-start; /* 左から開始 */
	margin-bottom: 10px; /* 手順ごとの間隔 */
	padding: 20px;       /* 枠線や背景がある場合は必要 */
    
    /* ※もし背景色などが必要な場合はここで設定 */
    /* background: #fdfdfd; border-radius: 8px; */
}

/* ステップ番号（円） */
.step-num {
    /* 固定幅と高さを指定して正円に */
    flex-shrink: 0; /* 縮小させない */
    width: 40px;
    height: 40px;
    
    background-color: #5bb3af;
    color: #fff;
    
    font-size: 20px;
    font-weight: 700;
    line-height: 40px; /* heightと同じ値で縦中央 */
    text-align: center;
    border-radius: 8%; /* 完全な円 */
    
    margin-right: 20px; /* テキストとの間隔 */
}

/* テキスト部分 */
.step-box p {
	margin: 0;
	font-size: 20px; /* 本文サイズ */
	line-height: 1.6;
	font-weight: bold;
}

.step-box small {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: #666;
}
/* 支給例ボックスの設定を親要素幅いっぱいに変更 */
.example-box {
	background-color: #f6f5ef;
	border-radius: 240px;
	padding-top: 40px;
	padding-right: 40px;
	padding-left: 40px;
	padding-bottom: 90px;
	/* 以前の max-width: 800px を解除して親要素(1040px)に追従させる */
	max-width: 1040px;
	width: 100%;
	margin: 0 auto;
}

.example-title {
	text-align: center;
	color: #51b0a2;
	font-size: 24px;
	margin-top: 0;
	margin-bottom: 30px;
	font-weight: 700;
}

.timeline-rows {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.t-row {
	display: flex;
	background: #fff;
	padding-top: 15px;
	padding-right: 30px;
	padding-left: 30px;
	padding-bottom: 15px;
	border-radius: 4px;
	align-items: center;
	font-size: 20px;
	margin-bottom: 20px;
}

.t-row.highlight {
    background-color: #fff9c9; /* 黄色背景 */
}
.t-row.highlight-light {
    background-color: #faebd7; /* オレンジ薄い背景 */
}

.t-month {
	width: 50%;
	display: flex;
	align-items: center;
	font-weight: 700;
	font-size: 1.1rem;
}

.t-month .num {
	font-size: 28px;
	color: #aaa; /* グレーの数字 */
	margin-right: 30px;
	font-weight: 700;
}

.t-content {
	width: 71%;	
	font-weight: 700;
	position: relative;
}

.mon01 {
	color: #767676;
}

.mon02 {
	color: #ADA137;
}

.mon03 {
	color: #976C34;
}


.t-content small {
	font-size: 70%;
}


.t-content .price {
	font-size: 25px;
	font-weight: bold;
}

.example-notes {
	font-size: 14px;
	color: #000000;
	text-align: left;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	font-weight: 600;
	line-height: 1.6;
}

.example-notes .gray {
	color: #dcdcdc;
}

/* =========================================
   Footer CTA
   ========================================= */

.footer-cta {
    text-align: center;
    padding-bottom: 80px;
}

.mt-40 {
	margin-top: 90px;
}


/* =========================================
   Responsive (SP)
   ========================================= */
@media (max-width: 767px) {
    .intro-text {
        text-align: left;
    }

    .facility-grid {
        grid-template-columns: 1fr; /* 1カラムにする */
    }

    .t-row {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .t-month, .t-content {
	width: 100%;
	text-align: center;
	margin-bottom: 5px;
    }
 
}
 @media (max-width: 1023px) {
    
    .example-box {
	padding: 20px;
	border-radius: 20px;
    }


}

@media (min-width: 768px) {
	.sp-block {
	text-align: left;
	position: absolute;
	left: -11px;
	top: 8px;
}
.t-content {
	width: 71%;
	text-align: right;
	font-weight: 700;
	position: relative;
}



}

@media (min-width: 1024px) {/* 支給例ボックスの設定を親要素幅いっぱいに変更 */
.example-box {
	background-color: #f6f5ef;
	border-radius: 240px;
	padding-top: 40px;
	padding-right: 40px;
	padding-left: 40px;
	padding-bottom: 90px;
	/* 以前の max-width: 800px を解除して親要素(1040px)に追従させる */
	max-width: 1040px;
	width: 100%;
	margin: 0 auto;
}

.sp-block {
	text-align: left;
	position: absolute;
	left: -11px;
	top: 8px;
}
.t-content small {
	font-size: 90%;
}

.t-month {
	width: 40%;
	display: flex;
	align-items: center;
	font-weight: 700;
	font-size: 20px;
}

}
