/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary-orange: #E77E23; /* ロゴのメインオレンジ */
    --color-primary-blue: #2C3E50; /* ロゴのメインブルー */
    --color-accent-orange: #FF9A3C; /* 明るめのアクセントオレンジ */
    --color-text-light: #F0F0F0;
    --color-bg-dark: #1A1A1A;
    --color-bg-content: #222222;
    --color-border-dark: #333333;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--color-text-light); /* 変数を適用 */
    background-color: var(--color-bg-dark); /* 変数を適用 */ 
    line-height: 1.5;
    position: relative;
}


a {
    color: #c0a060;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

a:hover {
    color: #e0d0a0;
    text-shadow: 0 0 5px rgba(192, 160, 96, 0.7);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    background-color: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(5px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
    transition: background-color 0.3s;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 a {
    font-size: 26px;
    font-weight: 300;
    color: var(--color-text-light); /* ロゴテキストは白で維持か、青も検討 */
    letter-spacing: 5px;
    text-transform: uppercase;

    /* 追記: ロゴとテキストを横並びにするための設定 */
    display: flex;
    align-items: center; /* 垂直方向の中央揃え */
    gap: 10px; /* ロゴとテキストの間に隙間を空ける */
}

/* ヘッダー内のロゴ画像のデザイン */
.header-logo {
    /* 必要に応じてロゴ画像のサイズを調整してください */
    height: 30px; /* ロゴの高さ (h1のフォントサイズに合わせて調整) */
    width: auto;
    display: block; /* 画像のレイアウトを安定させる */
}

.header nav ul {
    display: flex;
    gap: 40px;
}

.header nav a {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--color-text-light); /* ナビゲーションリンクの色 */
}

.header nav a:hover {
    color: var(--color-accent-orange); /* ホバーで明るいオレンジ */
    text-shadow: 0 0 5px rgba(var(--color-accent-orange), 0.7);
}

/* ==================================== */
/* アンカーリンク位置調整のための修正 */
/* ==================================== */
/* または、より具体的に Explore More セクションに適用する */
#explore-more {
    scroll-margin-top: 70px; 
}

/* セクション共通 */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
    font-size: 48px;
    font-weight: 200;
    color: #f0f0f0;
    letter-spacing: 8px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column; /* 子要素を縦に並べる */
    justify-content: center;
    align-items: center; /* 横方向の中央揃え */
}

/* ------------------------------------ */
/* 新しいセクションタイトル（英語）のスタイル */
/* ------------------------------------ */
.section-title-en {
    font-size: 48px; /* 既存の h2 と同じ */
    font-weight: 200;
    color: #f0f0f0;
    letter-spacing: 8px;
    text-transform: uppercase;
    
    position: relative; /* 下線のために必要 */
    padding-bottom: 10px; /* 下線と文字の隙間 */
}

/* 英語タイトルの下線（Explore More の長さに合わせる） */
.section-title-en::after {
    content: '';
    position: absolute;
    bottom: 0; /* 英語タイトルの直下 */
    left: 50%;
    transform: translateX(-50%);
    width: 100%; /* ★★★ 英語タイトルの幅に合わせる ★★★ */
    height: 1px; /* 下線の太さ */
    background-color: var(--color-accent-orange); /* オレンジ */
    box-shadow: 0 0 10px rgba(255, 154, 60, 0.7); 
}

/* ------------------------------------ */
/* 新しいセクションサブタイトル（日本語）のスタイル */
/* ------------------------------------ */
.section-title-ja {
    font-size: 18px; /* 英語タイトルより小さく */
    font-weight: 300;
    color: var(--color-text-light);
    letter-spacing: 3px; /* 少し狭く */
    margin-top: 20px; /* 下線からの適切な余白 */
    text-align: center; /* 中央揃え */
}

/* 以下のCSSは削除またはコメントアウト */
/*.section-title span {/*
    /*border-bottom: none;/* 
    /*position: relative;/*
    /*padding-bottom: 5px;/*
/*}/*
/* 既存の `.section-title span::after` の場所 */
/*.section-title span::after {/*
    /* この中の全てを削除またはコメントアウトします */
    /*content: '';/*
    /*position: absolute;/*
    /*bottom: 0;/*
    /*left: 50%;/*
    /*transform: translateX(-50%);/*
    /*width: 60%;/*
    /*height: 1px;/*
    /*background-color: #c0a060;/*
    /*box-shadow: 0 0 10px #c0a060;/*
/*}/*

/* ------------------------------------ */
/* セクションサブタイトル（もっと知る）のスタイル */
/* ------------------------------------ */
.section-subtitle-ja {
    /* 縦に配置させるためブロック要素にする */
    display: block; 
    
    /* フォントスタイル */
    font-size: 18px; /* 英語タイトルより少し小さく */
    font-weight: 300;
    color: var(--color-text-light);
    letter-spacing: 5px;
    margin-top: 15px; /* 英語タイトルからの余白 */
    padding-top: 15px; /* 下線との間の余白 */
    position: relative;/* 下線（英語タイトルの下線だったものをこちらで再現） */
    text-align: center;
}

/* オレンジ色の下線（日本語タイトルの上に配置） */
/*.section-subtitle-ja::before {/*
   /* content: '';/*
  /*  position: absolute;/*
   /* top: 0; /* 要素の上端に配置 */
   /* left: 50%;/*
  /*  transform: translateX(-50%);/*
   /* width: 60px; /* 下線の長さ */
   /* height: 2px; /* 下線の太さ */
    
    /* オレンジの配色 */
    /*background-color: var(--color-accent-orange);/*
    /*box-shadow: 0 0 10px rgba(255, 154, 60, 0.7); /*
/*}/*

/* メインビジュアル (Hero) */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) contrast(1.1);
    transform: scale(1.05);
    animation: zoom-out 30s linear infinite;
}

@keyframes zoom-out {
    0% { transform: scale(1.05); }
    50% { transform: scale(1.0); }
    100% { transform: scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding-top: 50px;
}

.hero-content .subtitle {
    font-size: 20px;
    margin-bottom: 15px;
    letter-spacing: 8px;
    color: #c0a060;
    opacity: 0;
    animation: fade-in 1s ease-out 0.5s forwards;
}

.hero-content h2 {
    font-size: 80px; 
    font-weight: 700;
    margin-bottom: 50px;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
    opacity: 0;
    animation: fade-in 1s ease-out 1s forwards;
}

.hero-content h3 {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #ff8c00;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    background-color: #ff8c009c;
    box-shadow: 0 0 20px rgba(192, 160, 96, 0.4);
    opacity: 0;
    animation: fade-in 1s ease-out 1.5s forwards;
}

@keyframes fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Aboutセクション (前回のまま) */
.about {
    background-color: #222;
}

.about-content {
    display: flex;
    gap: 80px;
    align-items: center;
}

.about-content .text-box {
    flex: 1;
    padding-right: 20px;
}

.about-content .text-box h3 {
    font-size: 32px;
    color: #c0a060;
    margin-bottom: 25px;
    font-weight: 300;
    letter-spacing: 2px;
}

.about-content .text-box p {
    margin-bottom: 20px;
    font-size: 17px;
}

.about-content .image-box {
    flex: 1;
}

.about-content .image-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border: 3px solid #c0a060;
    transform: rotate(-3deg);
    transition: transform 0.5s;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
}

.about-content .image-box img:hover {
    transform: rotate(0deg) scale(1.03);
}

/* ==================================== */
/* Explore Moreセクション (写真リンク) */
/* ==================================== */

.explore-more {
    padding: 50px 0; /* 上下のパディングを調整 */
    background-color: var(--color-bg-dark); /* 暗い背景 */
}

.photo-links-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative; /* 子要素の絶対配置の基準とする */
    height: 400px; /* 全体の高さを確保。必要に応じて調整してください */
}

.photo-link {
    position: absolute;
    display: block;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out, z-index 0s 0.2s; /* ホバーでz-indexを遅延させる */
    cursor: pointer;
}

.photo-link:hover {
    transform: scale(1.05) rotate(0deg) !important; /* ホバーで元の角度に戻し、拡大 */
    box-shadow: 0 20px 40px rgba(var(--color-accent-orange), 0.5);
    z-index: 50; /* ホバーしたものを一番手前に */
}

.photo-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease-out;
}

/* ホバー時に画像を少し拡大 */
.photo-link:hover img {
    transform: scale(1.1);
}

/* ページ名を表示するオーバーレイ */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* 暗い半透明の背景 */
    display: flex;
    flex-direction: column; /* 縦並びにする */
    justify-content: center;
    align-items: center; /* 横方向の中央揃えも維持 */
}

.link-title {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    /* ★★★ 修正: block要素にして1行占有させる ★★★ */
    display: block;
    /* ★★★ 修正: 下線とパディングを削除（下線は新しい要素で再現） ★★★ */
    border-bottom: none; 
    padding-bottom: 0;
}

/* ------------------------------------ */
/* 日本語サブタイトルと下線のスタイル */
/* ------------------------------------ */
.link-subtitle {
    display: block; /* 常にブロック要素にする */
    color: var(--color-text-light); /* 白っぽい色 */
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 1px;
    margin-top: 10px; /* 英語タイトルとの間に余白を開ける */
    text-align: center;/* ★★★ 追加: テキストを中央揃えにする ★★★ */
}

/* オレンジ色の下線（区切り線）をサブタイトルの上に配置 */
.link-subtitle::before {
    content: '';
    display: block;
    width: 100px; /* 下線の長さ */
    height: 2px; /* 下線の太さ */
    background-color: var(--color-accent-orange);
    margin: 0 auto 8px auto; /* 上下に8pxの余白と中央揃え */
}

/* ホバー時のシャドウを少し強く */
.photo-link:hover .link-title,
.photo-link:hover .link-subtitle {
    text-shadow: 0 0 15px rgba(255, 255, 255, 1);
}

/* 1. JOB DETAILS (左上) */
.photo-1 {
    width: 380px;
    height: 250px;
    top: 20px;
    left: 0;
    transform: rotate(-5deg); /* 角度を付ける */
    z-index: 30;
}

/* 2. REASON FOR JOINING (中央) */
.photo-2 {
    width: 350px;
    height: 230px;
    top: 100px;
    left: 300px;
    transform: rotate(3deg); /* 角度を付ける */
    z-index: 40;
}

/* 3. WORK STYLE (右下) */
.photo-3 {
    width: 420px;
    height: 280px;
    top: 50px;
    right: 0;
    transform: rotate(8deg); /* 角度を付ける */
    z-index: 20;
}

/* レスポンシブ対応 (モバイル・タブレット) */
@media (max-width: 1024px) {
    .photo-links-container {
        height: auto; /* 高さを自動にし、縦に並べる */
        padding-bottom: 30px;
    }
    
    .photo-link {
        position: static; /* 絶対配置を解除し、通常フローで縦に並べる */
        margin: 20px auto;
        width: 80%; /* 幅を調整 */
        height: 200px;
        transform: rotate(0deg) !important; /* 角度をリセット */
        z-index: auto !important; 
    }
    
    .photo-link:hover {
        transform: scale(1.02) rotate(0deg) !important; /* 軽く拡大 */
    }
}

/* ==================================== */
/* JOB DETAILS (専用デザインの適用) */
/* ==================================== */

/* JOB DETAILS ページのヒーローセクション専用スタイル */
/* HTML側で <section class="page-hero job-details-hero"> と定義されている前提 */
.job-details-hero {
    /* REASON FOR JOINING や WORK STYLE と統一するために、
       共通の page-hero のスタイルをそのまま使用します。 
       もし、このページだけ背景色を変えたい場合はここで設定します。*/
    background-color: var(--color-bg-content); /* WORK STYLEと同じ */
}

/* ボタン群全体を囲むセクションのパディングと背景を設定 */
/* HTML側で <section class="section job-details-content-area"> と定義されている前提 */
.job-details-content-area {
    /* ヒーローの下にボタン群がくるので、上部のパディングを調整 */
    padding-top: 50px; 
    padding-bottom: 100px;
    background-color: var(--color-bg-dark); /* 暗い背景 */
}

/* レスポンシブ対応 (モバイル表示でもタイトルサイズを適切に) */
/* 共通の .page-title で制御されていますが、念のため再度確認 */
@media (max-width: 768px) {
    /* ページのタイトルサイズを調整 */
    .page-title {
        font-size: 40px;
    }
}

/* グリッドコンテナ (4列レイアウト) */
.job-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 50px;
}

/* 個別ボタンのコンテナ */
.job-item {
    display: flex;
    flex-direction: column;
}

/* 項目名ボタンのデザイン */
.job-toggle-btn {
    width: 100%;
    padding: 20px 10px;
    background-color: var(--color-primary-blue); /* 青色に変更 */ 
    color: var(--color-text-light); /* 白いテキスト */ 
    border: 1px solid var(--color-border-dark); /* 境界線 */
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
    text-align: center;
    letter-spacing: 1px;
    height: 100%;
}

.job-toggle-btn:hover {
    background-color: var(--color-accent-orange); /* ホバーで明るいオレンジ */
    color: var(--color-bg-dark); /* ホバーで濃い背景色に */
    box-shadow: 0 0 10px rgba(var(--color-accent-orange), 0.4); /* シャドウも変更 */
}

/* ボタンがアクティブな時のスタイル */
.job-toggle-btn.is-open {
    background-color: var(--color-primary-orange); /* アクティブでオレンジ */
    color: var(--color-bg-dark); /* アクティブで濃い背景色に */
    box-shadow: 0 0 15px rgba(var(--color-primary-orange), 0.7); /* シャドウも変更 */
    border-color: var(--color-primary-orange);
}

/* 詳細エリアのコンテナ（この要素はボタンの**直後**に配置されます） */
.job-detail-content {
    /* JSでmaxHeightを操作するため、初期状態は必要最低限 */
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s ease-in-out, padding 0.5s ease-in-out, margin 0.5s ease-in-out; 
    background-color: #222;
    color: #f0f0f0;
    padding: 0 40px;
    border-radius: 0 0 8px 8px;
    line-height: 1;
}

/* 詳細エリアを開くためのラッパー（JSで操作） */
/* 【重要】display: none/block制御をJSに移すため、このCSSはシンプルに */
.job-detail-wrapper {
    grid-column: 1 / span 4; /* 常に4列全てに展開 */
    margin-top: 15px;
    background-color: #222; 
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    /* 初期は非表示 */
    display: none;
}

/* JSで付与されるクラス */
.job-detail-wrapper.is-open {
    display: block;
}

/* 詳細エリアが開いた時の内部パディング */
.job-detail-content-inner {
    padding: 40px; 
}

.job-detail-content p {
    white-space: pre-line;
}

/* ==================================== */
/* REASON FOR JOINING (専用デザイン) */
/* ==================================== */

/* ページヒーロー (トップの見出しエリア) */
.page-hero {
    position: relative;
    padding: 150px 0 80px;
    text-align: center;
    background-color: var(--color-bg-content); 
    /* 必要に応じて、このエリアの背景に画像やパターンを入れてもオシャレです */
    border-bottom: 3px solid var(--color-primary-orange);
}

.page-title {
    font-size: 60px;
    font-weight: 200;
    letter-spacing: 10px;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 18px;
    color: #999;
}

/* 理由コンテンツのブロック */
.reason-section {
    padding: 80px 0;
    background-color: var(--color-bg-dark);
}

.reason-block {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
    padding: 30px;
    background-color: var(--color-bg-content);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.reason-title {
    font-size: 32px;
    color: var(--color-accent-orange);
    margin-bottom: 25px;
    font-weight: 300;
    letter-spacing: 1px;
    border-left: 5px solid var(--color-primary-orange);
    padding-left: 15px;
}

.reason-text {
    flex: 1.5; /* テキストを画像より広く */
}

.reason-text p {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.note-text {
    font-size: 14px;
    color: #666;
    margin-top: 20px;
}

.reason-photo {
    flex: 1;
    position: relative;
}

/* スタイリッシュな画像デザイン */
.stylish-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.6);
    transition: transform 0.5s;
    object-fit: cover;
}

.stylish-img:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 15px 40px rgba(var(--color-accent-orange), 0.5);
}

/* 左右交互のレイアウトのためのスタイル */

/* 奇数ブロック (テキスト左、写真右) - デフォルト */
.reason-odd {
    flex-direction: row;
}

/* 偶数ブロック (写真左、テキスト右) */
.reason-even {
    flex-direction: row-reverse;
}

/* 画像に角度をつける */
.rotate-right {
    transform: rotate(3deg);
}
.rotate-left {
    transform: rotate(-3deg);
}


/* CTAボタン */
.entry-cta {
    padding: 40px 0;
    text-align: center;
}

.cta-btn {
    padding: 15px 50px !important;
    font-size: 22px !important;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-title {
        font-size: 40px;
    }
    
    .reason-block {
        flex-direction: column !important; /* スマホでは全て縦並び */
        gap: 30px;
        margin-bottom: 60px;
        padding: 20px;
    }
    
    .reason-title {
        font-size: 24px;
    }
    
    .reason-photo {
        order: -1; /* 写真を常に上に配置 */
        width: 100%;
    }
    
    .stylish-img {
        transform: rotate(0deg) !important; /* 角度をリセット */
    }
}

/* ==================================== */
/* WORK STYLE (専用デザイン) */
/* ==================================== */

/* ページヒーローは REASON FOR JOINING と共通でOK */

.workstyle-section {
    padding: 80px 0;
    background-color: #222; /* REASON FOR JOININGと背景色を変えて統一感を出す */
}

.intro-text {
    text-align: center;
    font-size: 20px;
    color: var(--color-accent-orange);
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.style-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3列均等配置 */
    gap: 30px;
}

.style-card {
    background-color: var(--color-bg-dark); /* カード背景を濃く */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.style-card:hover {
    transform: translateY(-10px); /* 浮き上がるアニメーション */
    box-shadow: 0 15px 30px rgba(var(--color-primary-orange), 0.5);
}

.card-image-wrapper {
    height: 220px; /* 画像の高さを固定 */
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.style-card:hover .card-image {
    transform: scale(1.05); /* ホバーで画像を少し拡大 */
}

.card-content {
    padding: 30px 25px;
}

.card-number {
    font-size: 40px;
    color: var(--color-primary-orange);
    font-weight: 100;
    margin-bottom: 5px;
    line-height: 1;
}

.card-title {
    font-size: 20px;
    color: var(--color-text-light);
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border-dark);
}

.card-content p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
}


/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .style-cards-container {
        grid-template-columns: repeat(2, 1fr); /* タブレットでは2列 */
    }
}

@media (max-width: 768px) {
    .style-cards-container {
        grid-template-columns: 1fr; /* スマホでは1列 */
    }
    .card-image-wrapper {
        height: 180px;
    }
}


/* Entryセクション (前回のまま) */
.entry {
    background-color: var(--color-primary-orange); /* 背景色をオレンジに */
    text-align: center;
    padding: 30px 40px;/* 例: 上下80px、左右40px */
    /* 枠線とシャドウを追加 */
    border: 2px solid var(--color-accent-orange); 
    box-shadow: 0 0 10px rgba(252, 251, 251, 0.5);
    border-radius: 8px; /* 角を丸く */
    margin: 20px auto; /* 左右中央寄せ、上下に余白 */
    max-width: 700px; /* 最大幅を設定 (必要に応じて調整) */
}

.entry h2 {
    font-size: 50px;
    color: var(--color-bg-dark); /* タイトル色を黒に */
    font-weight: 700; /* ★ 追記: 太字にする */
    margin-bottom: 0; /* ★ 追記: h2の下の余白を削除 */
    /* または margin-bottom: 10px; など、少しだけ余白を残す */
}

.entry p {
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: var(--color-text-light); /* テキスト色を白に */
    margin-top: 0; /* ★ 追記: pタグの上の余白 */
}

.entry .note {
    margin-top: 20px;
    font-size: 15px;
    color: var(--color-bg-dark); /* ノートの色を黒に */
}

/* Entryセクション内のメインボタンの色を調整 */
.btn-main.is-large { 
    background-color: var(--color-primary-blue); /* 青い背景 */
    color: var(--color-text-light); /* 白いテキスト */
    border: 2px solid var(--color-primary-blue);
    box-shadow: 0 0 10px rgba(var(--color-primary-blue), 0.4);
    /* ★ 修正: パディングを増やしてボタンの背景を広くする */
    padding: 10px 30px; 
    font-size: 20px; /* 必要ならフォントサイズも調整 */
    display: inline-block; /* aタグに適用されている前提で */
}
.btn-main.is-large:hover {
    background-color: var(--color-bg-dark); /* ホバーで背景色を濃く */
    color: var(--color-accent-orange); /* ホバーでテキストをオレンジに */
    border-color: var(--color-bg-dark);
}

/* フッター (前回のまま) */
.footer {
    background-color: #1a1a1a;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #333;
}

.footer p {
    font-size: 14px;
    color: #666;
    letter-spacing: 1px;
}

/* ==================================== */
/* レスポンシブ対応 */
/* ==================================== */

/* タブレット以下 */
@media (max-width: 1024px) {
    .job-grid-container {
        grid-template-columns: repeat(1, 1fr); /* 1列均等配置 */
    }
    .job-detail-wrapper {
        grid-column: 1 / span 1; /* 展開時も1列全てに */
    }
}

/* スマートフォン（768px以下） */
@media (max-width: 768px) {
    /* メインビジュアルの大きな文字を縮小 */
    .hero-content h2 {
        font-size: 30px; 
    }
    
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    /* モバイル時のロゴサイズとフォントサイズの調整 */
    .header h1 a {
        font-size: 20px; /* モバイルでフォントを小さく */
        letter-spacing: 2px;
        gap: 8px;
    }
    
    .header-logo {
        height: 20px; /* モバイルでロゴを小さく */
    }

    /* 【修正箇所】動画セクションの高さを調整 */
    .hero {
        /* 100vh（全画面）から70vh（7割程度の高さ）に縮小 */
        height: 50vh; 
        /* 必要に応じて、50vh〜80vhの間で調整してみてください */
    }
    
    /* 【修正箇所】Aboutセクションのレイアウトを縦並びにする */
    .about-content {
        flex-direction: column; /* 要素を縦方向に並べる */
        gap: 40px; /* 縦の隙間を調整 */
    }

    .about-content .text-box {
        padding-right: 0; /* PC用の右パディングをリセット */
    }

    /* 画像の回転と影をモバイルではシンプルにする */
    .about-content .image-box img {
        transform: rotate(0deg); /* 回転を解除 */
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    }

    /* JOB DETAILSのボタンと詳細を1列表示にする */
    .job-grid-container {
        grid-template-columns: 1fr; /* 1列配置 */
    }
    
    /* 【修正】モバイル時には、JSで移動させるので、グリッドのカラム指定を無効化する */
    .job-detail-wrapper {
        width: 100%;
        /* margin-topをボタンから離すために設定 */
        margin-top: 15px;
    }
    
    /* 1列になったため、詳細の幅も調整 */
    .job-detail-content-inner {
        padding: 50px;
    }
}

/* モバイル（500px以下） */
@media (max-width: 500px) {
    .job-detail-content-inner {
        padding: 20px;
    }
}