/* --- 共通変数・基本設定 --- */
:root {
    --hr-blue: #007AFF;
    --hr-dark: #1a1a1a;
    --hr-gray: #f8f9fa;
    --text-main: #333;
    --text-sub: #666;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}




/* --- メインビジュアル（画像とテキストの左右分割） --- */
/* --- メインビジュアル全体のレイアウト --- */
.hr-main-visual {
    display: flex;
    align-items: center;
    min-height: 80vh;
    background-color: #fff;
    padding-top: 80px; /* ナビゲーション分の余白 */
    overflow: hidden;
}

/* 左側：テキストエリア */
.hr-content-left {
    flex: 1;
    padding: 60px 8%;
    z-index: 2;
}

.hr-category-group {
    margin-bottom: 30px;
}

.hr-category-tag {
    display: block;
    color: var(--hr-blue);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.hr-sub-category {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.hr-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.3;
    font-weight: 800;
    color: var(--hr-dark);
    margin-bottom: 25px;
}

.hr-lead {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hr-license-box {
    display: inline-block;
    padding: 10px 20px;
    background: var(--hr-gray);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
}

/* 右側：画像エリア */
.hr-content-right {
    flex: 1;
    height: 80vh;
    position: relative;
}

.hr-visual-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* 右側を少し削るような斜めの切り抜きを入れるとおしゃれです */
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

/* スマホ対応 */

@media (max-width: 991px) {
    .hr-main-visual {
        flex-direction: column; /* 横並びを縦並びに変更 */
        padding-top: 80px; 
        min-height: auto; /* 高さを自動調整 */
    }

    .hr-content-right {
        width: 100%;
        height: 300px; /* スマホ時の画像の高さをしっかり指定 */
        order: 1;      /* 画像を上に配置 */
        flex: none;    /* flexによる伸縮を無効化 */
    }

    .hr-content-left {
        width: 100%;
        padding: 40px 20px;
        order: 2;      /* テキストを下に配置 */
        flex: none;
        text-align: center; /* スマホでは中央寄せが見やすい */
    }

    .hr-visual-img {
        clip-path: none; /* 斜めカットを解除して全画面表示 */
        height: 100%;
    }

    .hr-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hr-lead {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    /* タイルやカードのレスポンシブもここにまとめて整理 */
    .ssw-grid { grid-template-columns: repeat(2, 1fr); }
    .support-grid { grid-template-columns: 1fr; }
    .myanmar-merit-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
}

/* --- 各セクション見出し --- */
.hr-section { padding: 100px 0; }
.bg-light { background: var(--hr-gray); }
.section-title { text-align: center; font-size: 2.2rem; font-weight: 800; margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--text-sub); margin-bottom: 60px; }

/* --- 特定技能タイル（SSW） --- */
.ssw-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.ssw-item {
    background: #eef0f2;
    padding: 30px 10px;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    color: #333;
}

/* --- 登録支援サポートカード（整理・統合済み） --- */
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.support-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    position: relative; /* 数字の絶対配置の基準 */
    overflow: hidden;
    transition: 0.3s;
}

.card-num-visible {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    color: var(--hr-blue);
    opacity: 0.1; /* 背景に薄く表示 */
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 20px;
    z-index: 0;
}

.support-card h4 {
    font-size: 1.2rem;
    color: var(--hr-blue);
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.support-card p {
    font-size: 0.95rem;
    color: var(--text-sub);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* --- グループ連携 --- */
.group-card {
    background: var(--hr-dark);
    color: #fff;
    padding: 60px;
    border-radius: 40px;
    text-align: center;
}

/* --- 締め・ボタン --- */
/* --- 締めのメッセージセクション --- */
.hr-closing {
    padding: 120px 0;
    text-align: center; /* 基本の中央寄せ */
    background: #fff; /* 背景を白にして清潔感を出す */
}

.closing-inner {
    max-width: 800px; /* 文章が横に広がりすぎないよう制限 */
    margin: 0 auto; /* inner自体を中央に配置 */
}

.closing-tag {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    color: var(--hr-blue);
    letter-spacing: 0.3em;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.closing-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem); /* 画面サイズに合わせて自動調整 */
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.4;
    color: var(--hr-dark);
}

.closing-text {
    font-size: 1.15rem;
    line-height: 2; /* 行間を広くして読みやすく */
    color: #444;
    margin-bottom: 50px;
    text-align: justify; /* 両端を揃える */
    text-justify: inter-character; /* 日本語の隙間を綺麗に調整 */
}

/* ボタンエリア */
.closing-btn-area {
    display: flex;
    justify-content: center;
}

.btn-primary {
    background: var(--hr-blue);
    color: #fff;
    text-decoration: none;
    padding: 22px 60px; /* 少し大きめのボタンにする */
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 122, 255, 0.35);
    background: #0066ff; /* ホバー時に少し色を濃く */
}

/* スマホ対応 */
@media (max-width: 768px) {
    .hr-closing {
        padding: 80px 20px;
    }
    .closing-title {
        font-size: 1.6rem;
    }
    .closing-text {
        font-size: 1rem;
        text-align: left; /* スマホでは左寄せが読みやすい */
    }
}

/* --- レスポンシブ --- */
@media (max-width: 991px) {
    .hr-main-visual { grid-template-columns: 1fr; }
    .hr-content-right { order: -1; height: 350px; }
    .ssw-grid { grid-template-columns: repeat(2, 1fr); }
    .support-grid { grid-template-columns: 1fr; }
}

/* --- 以前のコードの末尾に追加してください --- */

.hr-feature {
    padding: 100px 0;
    background-color: #ffffff;
    text-align: center; /* タイトルと説明文を中央へ */
}

.hr-feature .tag {
    display: inline-block;
    background: rgba(0, 122, 255, 0.1);
    color: var(--hr-blue);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.hr-feature h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--hr-dark);
}

.hr-feature .desc {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    max-width: 900px;
    margin-bottom: 50px;
}

/* 特徴的な3カラムの支援項目 */
.hr-feature .support-item {
    padding: 30px;
    border-left: 4px solid var(--hr-blue);
    background: var(--hr-gray);
    margin-bottom: 20px;
    transition: 0.3s;
}

.hr-feature .support-item:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateX(10px);
}

.hr-feature .support-item h3 {
    font-size: 1.3rem;
    color: var(--hr-blue);
    margin-bottom: 10px;
}

.hr-feature .support-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .hr-feature h2 {
        font-size: 1.8rem;
    }
    .hr-feature .support-item {
        padding: 20px;
    }
}

/* --- グループ連携セクション（あすなろ協同組合） --- */
.group-cooperation {
    padding: 100px 0;
    background-color: #f8f9fa; /* 薄いグレーでセクションを区切る */
    
}

.group-cooperation .container {
    display: flex;
    justify-content: center;
}

.group-cooperation .coop-card {
    background: var(--hr-dark); /* Indexの雰囲気に合わせ濃い背景 */
    color: #fff;
    padding: 60px 80px;
    border-radius: 40px;
    max-width: 1000px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

/* 装飾的なタグ */
.group-cooperation .group-tag {
    display: inline-block;
    color: var(--hr-blue);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.group-cooperation .coop-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.4;
}

.group-cooperation .coop-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8); /* 少し透過させて上品に */
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* カード内のボタン（btn-secondaryを上書き） */
.group-cooperation .btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid var(--hr-blue);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
}

.group-cooperation .btn-secondary:hover {
    background: var(--hr-blue);
    transform: translateY(-3px);
    

}

/* スマホ対応 */
@media (max-width: 768px) {
    .group-cooperation .coop-card {
        padding: 40px 20px;
        margin: 0 10px;
    }
    .group-cooperation .coop-card h3 {
        font-size: 1.5rem;
    }
}


/* --- スケジュール（タイムライン） --- */
.timeline {
    max-width: 800px;
    margin: 50px auto 0;
    position: relative;
    padding-left: 120px; /* 時間ラベル用のスペース */
}

/* タイムラインの縦線 */
.timeline::before {
    content: '';
    position: absolute;
    left: 140px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.time-label {
    position: absolute;
    left: -120px;
    top: 0;
    width: 100px;
    text-align: right;
    font-family: 'Montserrat';
    font-weight: 700;
    color: var(--hr-blue);
    font-size: 0.9rem;
}

.time-content {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    position: relative;
}

/* タイムラインのポインター（丸） */
.time-content::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 25px;
    width: 12px;
    height: 12px;
    background: var(--hr-blue);
    border-radius: 50%;
    border: 4px solid #f8f9fa; /* 背景色と同じにして浮き上がらせる */
}

.time-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--hr-dark);
}

.time-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* --- 費用（プライスカード） --- */
/* --- 費用（プライスカード）の修正 --- */
/* --- 費用セクション全体の余白調整 --- */
#cost.hr-section {
    padding-top: 40px;    /* 100pxから大幅にカット */
    padding-bottom: 80px; 
}

.price-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 30px; /* タイトルとの間隔をさらに詰めました */
}

/* --- プライスカードのビジネス化 --- */
.price-card {
    background: #fff;
    border: 1px solid #dcdcdc; /* より薄く、清潔感のある線 */
    padding: 24px 30px;       /* 上下の空きをさらに詰めました */
    border-radius: 12px;      /* 角丸をシャープに */
    width: 100%;
    max-width: 380px;
    text-align: center;
    transition: all 0.3s ease;
}

.price-card.highlight {
    border: 1px solid var(--hr-blue); /* 太すぎない線 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* 影もごく薄く */
}

.price-card h3 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #333;
    font-weight: 700;
}

/* --- 金額：ビジネスフォント設定 --- */
.price-card .price {
    /* 装飾性を排した、信頼感のあるサンセリフ体 */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 2.4rem;    /* 少し小さくして上品に */
    font-weight: 500;      /* 「太すぎ」を解消：500(中太)へ */
    color: #1a1a1a;        /* 真っ黒よりわずかに柔らかい黒 */
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.price-card .price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: #666;
    margin-left: 4px;
}

.price-card p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
    text-align: left;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dotted #eee; /* 説明文の前に薄い区切り線 */
}

.price-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #999;
}

/* --- 特定技能制度とは セクション --- */
#about-system {
    padding: 100px 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-tag {
    display: inline-block;
    color: var(--hr-blue);
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

.about-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--hr-dark);
}

.about-main-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.system-box {
    background: var(--hr-gray);
    padding: 25px;
    border-radius: 12px;
    font-size: 0.95rem;
    border-left: 4px solid var(--hr-blue);
}

.system-box strong {
    color: var(--hr-blue);
}

/* メリット部分のデザイン */
.about-merit-area h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.merit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    background: #fff;
    transition: 0.3s;
}

.merit-num {
    font-family: 'Montserrat';
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--hr-blue);
    opacity: 0.5;
    line-height: 1;
    margin-top: 5px;
}

.merit-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--hr-dark);
}

.merit-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-title {
        font-size: 1.8rem;
    }
}

/* --- STCミッション・提携セクション --- */
#stc-mission {
    padding: 100px 0;
}

.mission-intro {
    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
}

.mission-intro .section-lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin-top: 30px;
}

.mission-intro strong {
    color: var(--hr-blue);
    border-bottom: 2px solid var(--hr-blue);
}

/* 選択理由のヘッダー部分 */
.selection-header {
    text-align: center;
    margin-bottom: 50px;
}

.selection-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--hr-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* 理由のカード（前回のデザインをさらに洗練） */
.myanmar-merit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.myanmar-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.myanmar-card h4 {
    font-size: 1.2rem;
    color: var(--hr-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.myanmar-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    text-align: justify;
}

/* スマホ対応 */
@media (max-width: 991px) {
    .myanmar-merit-grid { grid-template-columns: 1fr; }
    .mission-intro .section-lead { font-size: 1.1rem; }
}