@charset "UTF-8";

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
    --font-jp: 'Shippori Mincho', serif;
    --font-en: 'Cormorant Garamond', serif;
    --font-base: 'Helvetica Neue', Arial, sans-serif;
    
    --color-text: #1a1a1a;
    --color-text-light: #6e6e6e;
    --color-bg: #fdfdfd;
    --color-accent: #b89c7d;
    --color-line: rgba(0,0,0,0.08);
    
    --ease-custom: cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ==========================================================================
   Base & Texture
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: auto;
}

body {
    font-family: var(--font-jp);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 2;
    letter-spacing: 0.08em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    cursor: auto;
}

.noise-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

li { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ==========================================================================
   Loading
   ========================================================================== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #111;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.loading__logo { overflow: hidden; }

.loading__text {
    display: inline-block;
    transform: translateY(100%);
}

.loading__text img {
    width: 300px; /* ロード画面のロゴサイズを拡大 */
    height: auto;
}

.loading__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: translateY(100%);
    z-index: 1;
}

/* ==========================================================================
   Header (Revised)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* 100px -> 80px */
    z-index: 100;
    mix-blend-mode: difference;
    color: #fff;
    padding: 0;
}

/* header__inner でレイアウトを制御する */
.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 50px;
}

.header__logo {
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.header__logo img {
    height: 200px; /* さらに拡大 */
    width: auto;
    display: block;
    max-width: none; /* 念のため */
}

.nav-desktop {
    display: flex;
    gap: 50px;
}

.nav-link {
    font-family: var(--font-en);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.nav-link span {
    display: inline-block;
    transition: transform 0.5s var(--ease-custom);
}

.nav-link::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(100%);
    transition: transform 0.5s var(--ease-custom);
}

.nav-link:hover span { transform: translateY(-100%); }
.nav-link:hover::after { transform: translateY(0); }

.menu-trigger {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    transition: 0.3s;
}

.menu-trigger span:nth-child(1) { top: 0; }
.menu-trigger span:nth-child(2) { bottom: 0; }

.menu-trigger.active span:nth-child(1) {
    top: 50%;
    transform: rotate(45deg);
}
.menu-trigger.active span:nth-child(2) {
    bottom: 50%;
    transform: rotate(-45deg);
}

/* Menu Open State (Header adjustment) */
.header.menu-open {
    mix-blend-mode: normal;
    color: #1a1a1a;
}
.header.menu-open .header__logo a {
    color: #1a1a1a;
}
.header.menu-open .menu-trigger span {
    background-color: #fff; /* メニューが開いた時（ヘッダーが通常ブレンドモードになった時）のハンバーガーメニューの色を白に */
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #111; /* 背景色を黒に変更 */
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff; /* テキスト色を白に変更 */
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.mobile-menu__link {
    font-family: var(--font-en);
    font-size: 2rem;
    color: #fff; /* テキスト色を白に変更 */
}

.mobile-info p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

@media (max-width: 768px) {
    .header { height: 60px; } /* 80px -> 60px */
    .header__inner { padding: 0 20px; }
    .header__logo img { height: 140px; } /* スマホ用ロゴサイズさらに拡大 */
    .nav-desktop { display: none; }
    .menu-trigger { display: block; }
}

/* ==========================================================================
   Hero (Single Image + Vertical Text)
   ========================================================================== */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); /* 初期拡大率 */
    animation: heroZoom 30s linear infinite alternate; /* ゆっくりズーム */
}

@keyframes heroZoom {
    from { transform: scale(1.1); }
    to { transform: scale(1.0); }
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3); /* 文字の視認性確保 */
    z-index: 1;
}

.hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.hero__text-wrap {
    display: flex;
    flex-direction: row-reverse; /* 縦書きの右から左への流れ */
    align-items: flex-start;
    gap: 40px;
    padding-right: 5%; /* 少し右寄りに */
}

.hero__title-vertical {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 4rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    height: auto; /* 高さを自動調整に変更 */
    min-height: 480px; /* 最低高さを確保 */
    white-space: nowrap; /* 勝手な折り返しを禁止 */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.t-line {
    display: inline-block;
    overflow: hidden; /* アニメーション用 */
}

.hero__sub-vertical {
    writing-mode: vertical-rl;
    font-family: var(--font-en);
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: rgba(255,255,255,0.8);
    border-left: 1px solid rgba(255,255,255,0.5);
    padding-left: 20px;
    height: 300px;
    display: flex;
    align-items: flex-end; /* 下揃え */
    margin-top: 80px;
}

/* スクロールインジケーター */
.hero__scroll {
    position: absolute;
    bottom: 40px;
    right: 50px;
    z-index: 10;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero__scroll-text {
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
}

.hero__scroll-bar {
    width: 1px;
    height: 80px;
    background: rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.hero__scroll-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: translateY(-100%);
    animation: scrollDown 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@media (max-width: 768px) {
    .hero__text-wrap {
        gap: 20px;
        padding-right: 0;
    }
    .hero__title-vertical {
        font-size: 2.5rem;
        height: auto;
        min-height: 350px;
        letter-spacing: 0.3em;
    }
    .hero__sub-vertical {
        font-size: 0.7rem;
        height: 200px;
        margin-top: 50px;
        padding-left: 15px;
    }
}

/* ==========================================================================
   News
   ========================================================================== */
.news {
    padding: 100px 0;
    background-color: var(--color-bg);
    position: relative;
    z-index: 2;
}

.news__inner {
    max-width: 1000px;
    margin: 0 auto;
}

.news__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--color-line);
    padding-bottom: 20px;
}

.section-heading__jp.text-left {
    text-align: left;
    margin-bottom: 0;
}

.btn-text {
    font-family: var(--font-en);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid #000;
    padding-bottom: 3px;
    transition: opacity 0.3s;
}

.btn-text:hover { opacity: 0.6; }

.news__list {
    list-style: none;
}

.news__item {
    border-bottom: 1px solid var(--color-line);
}

.news__link {
    display: flex;
    align-items: center;
    padding: 25px 0;
    transition: background-color 0.3s;
}

.news__link:hover {
    background-color: rgba(0,0,0,0.02);
}

.news__date {
    font-family: var(--font-en);
    color: var(--color-text-light);
    font-size: 0.9rem;
    width: 120px;
}

.news__cat {
    font-size: 0.75rem;
    border: 1px solid var(--color-border);
    padding: 4px 12px;
    margin-right: 30px;
    color: var(--color-text-light);
    min-width: 80px;
    text-align: center;
}

.news__title {
    font-size: 1rem;
    flex: 1;
}

@media (max-width: 768px) {
    .news__link { flex-wrap: wrap; }
    .news__date { width: auto; margin-right: 15px; }
    .news__cat { margin-right: 0; margin-bottom: 10px; width: auto; }
    .news__title { width: 100%; margin-top: 10px; }
}

/* ヘッダーの視認性向上 */
.header {
    /* ...既存プロパティ... */
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%); /* 上部にグラデーションを追加 */
    padding-top: 40px; /* 余白調整 */
    mix-blend-mode: normal; /* differenceを解除 */
    text-shadow: 0 1px 5px rgba(0,0,0,0.5); /* メニュー文字にも影 */
}

/* スクロール時のヘッダー（背景黒） */
.header.is-scrolled {
    background: rgba(17, 17, 17, 0.95);
    padding: 0;
    color: #fff;
    text-shadow: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    mix-blend-mode: normal;
}

/* .header.is-scrolled .header__logo img { filter: invert(1); }  <- 削除 */

.header.is-scrolled .menu-trigger span {
    background-color: #fff;
}

@media (max-width: 768px) {
    .hero__title { font-size: 2rem; }
}

/* ==========================================================================
   Content Layout
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 150px 0;
}

.section-heading {
    margin-bottom: 80px;
    text-align: center;
}

.section-heading__en {
    display: block;
    font-family: var(--font-en);
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: 15px;
}

.section-heading__jp {
    font-size: 2.5rem;
    font-weight: 500;
}

/* Concept */
.concept { position: relative; }

.concept__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.concept__img-wrapper {
    width: 45%;
    position: relative;
    overflow: hidden;
}

.concept__img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    transform-origin: left;
    transition: transform 1.2s var(--ease-custom);
}

.concept__img-wrapper.is-inview::after { transform: scaleX(0); }

.concept__img {
    width: 100%;
    height: auto;
    transform: scale(1.2);
    transition: transform 1.5s var(--ease-custom);
}

.concept__img-wrapper.is-inview .concept__img { transform: scale(1); }

.concept__content { width: 45%; }

.concept__lead {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.concept__text {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
    text-align: justify;
}

/* Button */
.btn-arrow {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-en);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 5px;
}

.btn-arrow::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #000;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-custom);
}

.btn-arrow:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-arrow span {
    margin-left: 10px;
    transition: transform 0.3s;
}

.btn-arrow:hover span { transform: translateX(5px); }

/* Service (Card) */
.service__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    display: block;
    position: relative;
    overflow: hidden;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-line);
    transition: opacity 0.3s;
}

.service-card:hover { opacity: 0.7; }

.service-card__num {
    font-family: var(--font-en);
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 20px;
    display: block;
    font-weight: 300;
}

.service-card__title {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.service-card__desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-card__img {
    height: 250px;
    overflow: hidden;
    margin-bottom: 20px;
}

.service-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-custom);
}

.service-card:hover .service-card__img img { transform: scale(1.1); }

@media (max-width: 768px) {
    .concept__inner { flex-direction: column; gap: 40px; }
    .concept__img-wrapper, .concept__content { width: 100%; }
    .service__list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Page Header
   ========================================================================== */
.page-header {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 100px;
}

.page-header__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.page-header__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.page-header__title {
    text-align: center;
    color: #fff;
    z-index: 1;
}

.page-header__en {
    display: block;
    font-family: var(--font-en);
    font-size: 4rem;
    letter-spacing: 0.1em;
}

.page-header__jp {
    display: block;
    font-size: 1rem;
    margin-top: 10px;
    letter-spacing: 0.2em;
}

/* ==========================================================================
   Service Detail
   ========================================================================== */
.service-detail-row {
    display: flex;
    margin-bottom: 120px;
    gap: 80px;
    align-items: flex-start;
}

.service-detail-row:nth-child(even) { flex-direction: row-reverse; }

.service-detail__img {
    width: 55%;
    position: sticky;
    top: 100px;
}

.service-detail__img img { width: 100%; border-radius: 4px; }

.service-detail__content {
    width: 45%;
    padding-top: 20px;
}

.service-detail__num {
    font-family: var(--font-en);
    font-size: 4rem;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 20px;
    display: block;
}

.service-detail__title {
    font-size: 2rem;
    margin-bottom: 30px;
    line-height: 1.4;
}

.service-detail__text {
    margin-bottom: 40px;
    color: var(--color-text-light);
}

.service-list { border-top: 1px solid var(--color-line); }

.service-list li {
    padding: 20px 0;
    border-bottom: 1px solid var(--color-line);
    display: flex;
    align-items: flex-start;
}

.service-list li::before {
    content: '●';
    color: var(--color-accent);
    margin-right: 15px;
    font-size: 0.8rem;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .service-detail-row, .service-detail-row:nth-child(even) { flex-direction: column; }
    .service-detail__img, .service-detail__content { width: 100%; }
    .service-detail__img { position: static; }
}

/* ==========================================================================
   Company
   ========================================================================== */
.company-dl {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid var(--color-line);
}

.company-dl div {
    width: 100%;
    display: flex;
    border-bottom: 1px solid var(--color-line);
}

.company-dl dt {
    width: 30%;
    padding: 30px 0;
    font-weight: 500;
}

.company-dl dd {
    width: 70%;
    padding: 30px 0;
    color: var(--color-text-light);
}

@media (max-width: 768px) {
    .company-dl div { flex-direction: column; }
    .company-dl dt, .company-dl dd { width: 100%; padding: 10px 0; }
    .company-dl dt { padding-top: 30px; color: var(--color-accent); }
}

/* ==========================================================================
   Privacy Policy
   ========================================================================== */
.privacy-policy {
    background: #fff;
    padding: 60px;
    border: 1px solid var(--color-line);
    margin-bottom: 100px;
}

.privacy-policy h3 {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #000;
}

.privacy-policy h3:first-child { margin-top: 0; }

.privacy-policy p {
    margin-bottom: 20px;
    color: var(--color-text-light);
    line-height: 2;
}

.privacy-policy ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 30px;
    color: var(--color-text-light);
}

.privacy-policy li {
    margin-bottom: 10px;
    list-style: disc;
}

@media (max-width: 768px) {
    .privacy-policy { padding: 30px; }
}

/* ==========================================================================
   Form
   ========================================================================== */
.form-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.form-item { margin-bottom: 40px; }

.form-label {
    display: block;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 20px;
    background: #f7f7f7;
    border: none;
    border-bottom: 1px solid #ccc;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #000;
}

select.form-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    background: #111;
    color: #fff;
    border: none;
    padding: 20px;
    font-family: var(--font-en);
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover { background: #333; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #111;
    color: #fff;
    padding: 100px 0 40px;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
}

.footer__logo {
    font-family: var(--font-en);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.footer__info {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.8;
}

.footer__nav ul {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer__nav a {
    font-family: var(--font-en);
    letter-spacing: 0.1em;
    color: #ccc;
    font-size: 0.9rem;
}

.footer__nav a:hover { color: #fff; }

.footer__bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 40px;
    font-size: 0.75rem;
    font-family: var(--font-en);
    color: #555;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-links a {
    font-family: var(--font-jp);
    font-size: 0.8rem;
    color: #888;
}

@media (max-width: 768px) {
    .footer__top { flex-direction: column; gap: 50px; }
    .footer__nav ul { flex-direction: column; gap: 20px; }
}


/* ==========================================================================
   Mobile Optimization (Added)
   ========================================================================== */
@media (max-width: 768px) {
    /* Layout & Spacing */
    .container {
        padding: 0 20px; /* 横幅を広く使えるように余白を減らす */
    }

    .section {
        padding: 80px 0; /* 上下の余白を詰める */
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading__jp {
        font-size: 1.8rem;
    }

    /* Hero Section */
    .hero__title-vertical {
        font-size: 2.2rem; /* 少し控えめに */
        min-height: auto;
    }

    .hero__sub-vertical {
        margin-top: 40px;
        height: 200px;
    }
    
    /* News Section */
    .news {
        padding: 60px 0;
    }
    
    .news__header {
        margin-bottom: 20px;
        align-items: center;
    }
    
    .section-heading__jp.text-left {
        font-size: 1.5rem;
    }

    /* Concept Section */
    .concept__lead {
        font-size: 1.2rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .concept__text {
        text-align: left; /* ジャスティファイ解除 */
        font-size: 0.95rem;
    }

    /* Service Section */
    .service-card__num {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    
    .service-card__title {
        font-size: 1.2rem;
    }
    
    .service-card__img {
        height: 200px; /* 画像の高さを少し抑える */
    }
    
    /* Service Detail List */
    .service-list li {
        font-size: 0.85rem;
        padding: 15px 0;
        line-height: 1.5;
    }

    .service-list li::before {
        margin-right: 10px;
        margin-top: 2px;
    }

    /* Footer */
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer__logo {
        font-size: 2rem;
    }
}

/* ==========================================================================
   Training Program Section (生成AI活用講習)
   ========================================================================== */

/* 教育訓練機関バッジ */
.cert-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
}

/* 研修プログラムコンテナ */
.training-program {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.training-title {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-accent);
}

.training-desc {
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

/* アジェンダタイトル */
.agenda-title {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 20px;
    padding: 12px 20px;
    background: #111;
    color: #fff;
    border-radius: 4px;
}

/* アジェンダリスト */
.agenda-list {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.agenda-list dl {
    margin: 0;
}

.agenda-item {
    padding: 20px 25px;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s;
}

.agenda-item:hover {
    background-color: #f8fafc;
}

.agenda-item:last-child {
    border-bottom: none;
}

.agenda-item dt {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.agenda-item dt span {
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 400;
    background: #fef3c7;
    padding: 3px 10px;
    border-radius: 20px;
}

.agenda-item dd {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
    padding-left: 0;
}

/* 受講後の成果 */
.training-outcome {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: 8px;
    border-left: 4px solid #10b981;
}

.training-outcome h5 {
    font-size: 1rem;
    color: #065f46;
    margin-bottom: 10px;
}

.training-outcome p {
    font-size: 1rem;
    color: #047857;
    margin: 0;
    font-weight: 500;
}

/* CTA - 資料請求・お申込み */
.training-contact {
    margin-top: 40px;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 12px;
}

.btn-primary-solid {
    display: inline-block;
    background: #fff;
    color: #1e3a8a;
    padding: 18px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary-solid:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    background: #f0f9ff;
}

.contact-info-box {
    margin-top: 25px;
    color: #fff;
}

.contact-info-box .contact-tel {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.contact-info-box .contact-tel a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
}

.contact-info-box .contact-email {
    font-size: 0.95rem;
}

.contact-info-box .contact-email a {
    color: #93c5fd;
}

/* 固定CTA バナー */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 15px 20px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.fixed-cta.is-visible {
    transform: translateY(0);
}

.fixed-cta__text {
    color: #fff;
    font-size: 0.95rem;
}

.fixed-cta__btn {
    background: #fff;
    color: #1e3a8a;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
}

.fixed-cta__btn:hover {
    background: #f0f9ff;
    transform: scale(1.05);
}

/* トップページ用 教育訓練機関セクション */
.training-promo {
    background: linear-gradient(180deg, #0f172a 0%, #1e3a8a 100%);
    padding: 100px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.training-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.training-promo .container {
    position: relative;
    z-index: 1;
}

.training-promo__badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #93c5fd;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.training-promo__title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.training-promo__lead {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    max-width: 700px;
}

.training-promo__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.training-promo__feature {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.training-promo__feature-num {
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 600;
    color: #60a5fa;
    margin-bottom: 10px;
}

.training-promo__feature-text {
    font-size: 0.95rem;
    color: #e2e8f0;
}

.training-promo__cta {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary-light {
    display: inline-block;
    background: #fff;
    color: #1e3a8a;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

.btn-outline-light {
    display: inline-block;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 14px 40px;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .training-program {
        padding: 25px;
        margin-top: 30px;
    }

    .training-title {
        font-size: 1.2rem;
    }

    .agenda-title {
        font-size: 1rem;
        padding: 10px 15px;
    }

    .agenda-item {
        padding: 15px;
    }

    .agenda-item dt {
        font-size: 0.95rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .agenda-item dd {
        font-size: 0.85rem;
    }

    .training-contact {
        padding: 30px 20px;
    }

    .btn-primary-solid {
        padding: 15px 35px;
        font-size: 1rem;
    }

    .contact-info-box .contact-tel {
        font-size: 1rem;
    }

    .fixed-cta {
        flex-direction: column;
        gap: 10px;
        padding: 12px 15px;
    }

    .fixed-cta__text {
        font-size: 0.85rem;
    }

    .training-promo {
        padding: 60px 0;
    }

    .training-promo__title {
        font-size: 1.8rem;
    }

    .training-promo__features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .training-promo__cta {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary-light,
    .btn-outline-light {
        width: 100%;
        text-align: center;
    }
}