@charset "utf-8";

/* --- 変数定義 --- */
:root {
    --color-base: #fff;
    --color-text-trust: #002147;
    --color-text-main: #333;
    --color-text-sub: #666;
    --color-action: #00d4ff;
    --rainbow-gradient: linear-gradient(to right, #4facfe 0%, #00f2fe 20%, #72df52 40%, #f9d423 60%, #ff4e50 80%, #a18cd1 100%);
}

/* --- リセット & 基本設定 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;	
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: var(--color-text-main);
    line-height: 1.6;
    background-color: var(--color-base);
}

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

ul {
    list-style: none;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

.mb_10 {
	margin-bottom: 10px;
	display: block;
}

/* --- アニメーション --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- ヘッダー全体の共通設定 --- */
header#header {
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 20px rgba(0,33,71,0.08);
    z-index: 9999;
    position: relative; /* スマホナビの基準点 */
}

header#header.sp_fixed {
    position: sticky;
    top: 0;
}

header section.head_inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header #logo {
    width: 280px;
}
header #logo a {
    display: block;
}

header p.btn-gnavi {
    display: none; /* PCでは非表示 */
}

/* --- PC用ナビゲーション設定 --- */
header nav#global-nav {
    display: flex;
    align-items: center;
}

/* 961px以上（PC）の設定 */
@media (min-width: 961px) {
    /* PCでは.sp_noを表示、.pc_noを非表示 */
    .sp_no { display: block !important; }
    .pc_no { display: none !important; }

    header nav#global-nav ul.nav-links.sp_no {
        display: flex !important;
        gap: 25px;
        font-weight: bold;
    }

    header nav#global-nav ul li a {
        color: var(--color-text-trust);
        font-size: 0.95rem;
        position: relative;
        padding: 8px 0;
        display: block;
    }

    header nav#global-nav ul li a:hover {
        color: var(--color-action);
    }

    /* 虹色インジケーター */
    header nav#global-nav ul li a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--rainbow-gradient);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    header nav#global-nav ul li.active a::after,
    header nav#global-nav ul li a:hover::after {
        transform: scaleX(1);
    }
}

/* --- スマホ用ナビ設定（960px以下） --- */
@media (max-width: 960px) {
    /* スマホでは.sp_noを非表示、.pc_noを表示 */
    .sp_no { display: none !important; }
    .pc_no { display: block !important; }

    header section.head_inner {
        padding: 10px 15px;
    }

    header #logo {
        width: 220px;
    }

    /* ハンバーガーボタンを表示 */
    header p.btn-gnavi {
        display: block;
        width: 30px;
        height: 24px;
        position: relative;
        cursor: pointer;
        z-index: 1000;
    }

    header p.btn-gnavi span {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: var(--color-text-trust);
        left: 0;
        transition: 0.3s;
    }

    header p.btn-gnavi span:nth-child(1) { top: 0; }
    header p.btn-gnavi span:nth-child(2) { top: 11px; }
    header p.btn-gnavi span:nth-child(3) { bottom: 0; }

    /* オープン時（JSでCLASSES付与を想定） */
    header p.btn-gnavi.open span:nth-child(1) { transform: translateY(11px) rotate(-45deg); }
    header p.btn-gnavi.open span:nth-child(2) { opacity: 0; }
    header p.btn-gnavi.open span:nth-child(3) { transform: translateY(-11px) rotate(45deg); }

    /* --- ドロワー（drawer--right）の設定 --- */
    body.drawer--right #global-nav {
        display: block !important;
        position: fixed;
        right: -100%; /* 初期位置：画面外右 */
        top: 0;
        width: 80%;
        height: 100%;
        background-color: #fff;
        transition: right 0.3s ease;
        overflow-y: auto;
        padding-top: 80px;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        z-index: 999;
    }

    body.drawer--right.drawer-open #global-nav {
        right: 0;
    }

    /* スマホナビリスト（.pc_no） */
    header nav#global-nav ul.nav-links.pc_no {
        display: block !important;
    }

    header nav#global-nav ul.nav-links.pc_no li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    header nav#global-nav ul.nav-links.pc_no li a {
        padding: 20px;
        color: var(--color-text-trust);
        display: block;
        font-weight: bold;
    }

    header nav#global-nav ul.nav-links.pc_no li.active a {
        background-color: #f9fafc;
        color: var(--color-action);
    }
}

/* --- コンテンツエリアのレスポンシブ対応 --- */
@media (max-width: 600px) {
    .hero-title { font-size: 1.8rem !important; }
}

/* --- メインビジュアル以降のスタイル（変更なし） --- */
#kv_wrap {
    background: url("../img/back_01.jpg") no-repeat bottom #fff;
    background-size: 100% 100%;
}
#kv { max-width: 1250px; margin: 0 auto; }
.intro-section { text-align: center; background: #f4f7f9; padding: 80px 20px; }
.hero-title { font-size: 2.8rem; margin-bottom: 20px; font-weight: bold; color: var(--color-text-trust); }
.intro-text { font-size: 1.25rem; max-width: 800px; margin: 0 auto 45px; font-weight: 500; }
.btn-action { background: linear-gradient(135deg, #002147 0%, #004b8d 100%); color: #fff; padding: 18px 50px; border-radius: 50px; font-weight: bold; font-size: 1.1rem; box-shadow: 0 4px 15px rgba(0,33,71,0.3); display: inline-block; }
.btn-action:hover { transform: translateY(-3px); filter: brightness(1.1); }
.company-section { max-width: 1000px; margin: 80px auto; padding: 0 20px; text-align: center; }
.section-title { font-size: 2.2rem; color: var(--color-text-trust); margin-bottom: 40px; font-weight: bold; display: inline-block; border-bottom: 3px solid #00d4ff; padding-bottom: 10px; }
.company-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 15px; text-align: left; }
.company-item { padding: 10px 15px; border-left: 4px solid #4facfe; background: #f9f9f9; font-size: 0.95rem; transition: 0.2s; }
.company-item a { color: var(--color-text-trust); }
.company-item:hover { background: #eef9ff; }
#seminar { padding: 100px 20px; background-color: #f8fafc; }
.seminar-container { max-width: 1100px; margin: 0 auto; }
.seminar-flex-col { display: flex; flex-direction: column; gap: 40px; }
.seminar-card { display: flex; flex-wrap: wrap; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 35px rgba(0,33,71,0.05); border: 1px solid #eef2f6; }
.seminar-left { flex: 1; min-width: 300px; color: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.seminar-left.type1 { background: linear-gradient(135deg, #002147 0%, #004b8d 100%); }
.seminar-left.type2 { background: linear-gradient(135deg, #004b8d 0%, #0072b5 100%); }
.seminar-tag { background: rgba(255,255,255,0.2); display: inline-block; width: fit-content; padding: 5px 15px; border-radius: 50px; font-size: 0.9rem; margin-bottom: 20px; }
.seminar-date { font-size: 2.2rem; font-weight: bold; margin-bottom: 10px; }
.seminar-time { font-size: 1.1rem; margin-bottom: 25px; opacity: 0.9; }
.seminar-btn { background: linear-gradient(135deg, #002147 0%, #004b8d 100%); color: #fff !important; padding: 12px 30px; border-radius: 50px; font-weight: bold; text-align: center; width: fit-content; margin: 3% auto; display: block; }
.seminar-right { flex: 2; min-width: 340px; padding: 40px; background: #fff; }
.curriculum-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 15px; }
.curriculum-list li { font-size: 0.95rem; color: #444; display: flex; align-items: flex-start; }
#instructors { padding: 100px 20px; background: url('https://t3group.site/hr-ai-lab.jp/common/img/back_01.jpg?1') no-repeat bottom; background-size: 100% 100%; background-color: #fff; }
.instructor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.instructor-card { background: #fff; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,33,71,0.08); overflow: hidden; padding: 40px; border-top: 6px solid transparent; }
.border-rainbow1 { border-image: linear-gradient(to right, #4facfe, #72df52) 1; }
.border-rainbow2 { border-image: linear-gradient(to right, #72df52, #f9d423) 1; }
.border-rainbow3 { border-image: linear-gradient(to right, #f9d423, #ff4e50) 1; }
.border-rainbow4 { border-image: linear-gradient(to right, #ff4e50, #a18cd1) 1; }
.border-rainbow5 { border-image: linear-gradient(to right, #a18cd1, #4facfe) 1; }
.instructor-card h4 { font-size: 1.6rem; color: var(--color-text-trust); font-weight: bold; margin-bottom: 10px; }
.instructor-title { font-size: 0.95rem; margin-bottom: 25px; font-weight: bold; background: rgba(0,0,0,0.03); display: inline-block; padding: 5px 15px; border-radius: 50px; }
.apply-section { max-width: 800px; margin: 80px auto; padding: 60px 40px; border-radius: 20px; text-align: center; background: #fff; border: 1px solid #eee; }
footer { background: #1a1a1a; color: #999; text-align: center; padding: 50px 20px; font-size: 0.85rem; }


#news {
    padding: 100px 20px;
    background-color: #f8fafc;
}

.news { max-width: 1100px; margin: 0 auto; }



.back_tit {
	text-align: center;
	padding-top: 60px;
}



.ta_01{
   max-width: 800px;
    background: #fff;
  border-top: 1px solid #eee;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
  overflow: hidden;
  margin:3% auto 6% auto;
}

.ta_01 tr{
    display: block;
  border-bottom: 1px solid #eee;
}

.ta_01 th{
    width: 200px;
    padding: 10px;
    
} 

.ta_01 td {
    padding: 10px;
    

}
.ta_01 td:nth-child(odd) {
  background: #f8f8f8;
  overflow: hidden;
width: 250px;    
}

@media (max-width: 800px) {
.ta_01 td:nth-child(odd) {
  overflow: hidden;
width: 100%;
	display: block;
}
	input , textarea {
		width: 100%;
	}
	.check_btn input{
		width: auto !important;
	}
	
	
.ta_01 td {
    display: block;
}
	
}



/* --- お問い合わせフォーム 送信ボタンの修正 --- */

/* 1. 送信ボタン自体のスタイルと中央寄せ */
input.wpcf7-submit {
    display: block; /* ブロック要素にして中央寄せ可能にする */
    margin: 40px auto 80px auto; /* 上下余白を作り、左右autoで中央寄せ */
    
    /* ボタンの装飾 */
    -webkit-appearance: none;
    appearance: none;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #002147 0%, #004b8d 100%);
    color: #fff !important;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 18px 80px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,33,71,0.2);
    transition: all 0.3s ease;
}

/* 2. ホバー（マウスを乗せた時）の演出 */
input.wpcf7-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,33,71,0.3);
    filter: brightness(1.1);
}

/* 3. 送信中（くるくる回っている時）の調整 */
.wpcf7-spinner {
    position: absolute;
    bottom: 40px; /* ボタンの近くに配置 */
    left: 50%;
    transform: translateX(-50%);
}

/* 4. レスポンシブ（スマホ）対応 */
@media (max-width: 800px) {
    input.wpcf7-submit {
        width: 90%; /* スマホでは画面幅いっぱいに近く */
        padding: 15px 0;
        font-size: 1.1rem;
    }
}

/* 同意チェックボックスのテキストも中央に整える */
.wpcf7-form .center {
    text-align: center;
    margin-top: 20px;
}




/* リスト全体のスタイル */
.news-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 20px auto;
	background: #fff;
	max-height: 150px;
}

/* 各リスト項目のスタイル */
.news-item {
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
}

.news-item a {
    display: flex;
    padding: 15px;
    text-decoration: none;
    color: #333;
    align-items: center;
}

.news-item a:hover {
    background-color: #f9f9f9;
}

/* 日付の装飾 */
.news-date {
    font-size: 0.85rem;
    color: #002147; /* サイトのトラストネイビー */
    font-weight: bold;
    margin-right: 20px;
    min-width: 100px;
}

/* タイトルの装飾 */
.news-title {
    font-size: 1rem;
    line-height: 1.4;
    position: relative;
}

/* ホバー時にタイトルの下に虹色のラインを入れる演出 */
.news-item a:hover .news-title {
    color: #00d4ff; /* テックブルー */
}


.inner {
	max-width: 1100px;
	margin: 0 auto;
}


.post_wrap {
	padding: 20px;
	background: #fff;
	
} 

.single__title {
	font-size: 1.8em;
}
