/* ========================================
   リセット・ベース
======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    font-size: 1.6rem;
    line-height: 1.8;
    color: #333;
    background: #fff;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    opacity: 0;
    transition: opacity 2s ease;
}

body.is-loaded {
    opacity: 1;
}

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

a:hover {
    opacity: 0.7;
}

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

ul, ol {
    list-style: none;
}

address {
    font-style: normal;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   ヘッダー
======================================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1200;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, background 0.3s ease;
}

#header.header-hidden {
    transform: translateY(-100%);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 80px;
}

.header-logo a {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 40px;
    width: auto;
}

.header-nav {
    flex: 1;
    margin: 0 20px;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.nav-list li a {
    display: block;
    padding: 8px 12px;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
    transition: color 0.3s ease;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #d61518;
    transition: width 0.3s ease;
}

.nav-list li a:hover::after {
    width: 80%;
}

.nav-list li a:hover {
    opacity: 1;
    color: #d61518;
}

.header-group-logo img {
    height: 37.5px;
    width: auto;
}

/* ========================================
   メガドロップダウン
======================================== */
.has-mega {
    position: static;
}

.has-mega > a {
    position: relative;
    z-index: 1210;
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
    z-index: 1199;
    border-top: 3px solid #d61518;
}

.has-mega:hover .mega-dropdown,
.has-mega.is-mega-open .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-dropdown-inner {
    display: flex;
    max-width: 1440px;
    margin: 0 auto;
    padding: 48px 40px;
    gap: 48px;
}

/* 左タイトルエリア */
.mega-dropdown-title {
    flex-shrink: 0;
    width: 180px;
    padding-top: 4px;
    border-right: 1px solid #e8e8e8;
    padding-right: 48px;
}

.mega-dropdown-title-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: #d61518;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.mega-dropdown-title-ja {
    font-size: 1.3rem;
    font-weight: 500;
    color: #333;
    margin-top: 8px;
    letter-spacing: 0.1em;
}

/* 右グリッドエリア */
.mega-dropdown-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 0 24px;
}

.mega-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 6px;
    transition: background 0.25s ease, transform 0.25s ease;
    text-decoration: none;
}

.mega-dropdown-item:hover {
    background: #f5f5f5;
    transform: translateX(4px);
    opacity: 1;
}

.mega-dropdown-item-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #d61518;
    min-width: 22px;
    opacity: 0.6;
}

.mega-dropdown-item:hover .mega-dropdown-item-num {
    opacity: 1;
}

.mega-dropdown-item-label {
    font-size: 1.25rem;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.03em;
    line-height: 1.4;
    white-space: nowrap;
}

.mega-dropdown-item:hover .mega-dropdown-item-label {
    color: #d61518;
}

/* ハンバーガー */
.hamburger {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    transform: translateY(-6px);
}

.hamburger span:nth-child(3) {
    transform: translateY(6px);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1050;
    transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    padding: 100px 40px 40px;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu ul li a {
    display: block;
    padding: 18px 0;
    font-size: 1.6rem;
    font-weight: 500;
    border-bottom: 1px solid #eee;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-menu ul li a:hover {
    color: #d61518;
    padding-left: 10px;
    opacity: 1;
}

/* モバイルサブメニュー */
.mobile-sub-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-sub-arrow {
    font-size: 1.4rem;
    font-weight: 300;
    color: #999;
    transition: transform 0.3s ease;
}

.mobile-has-sub.is-open .mobile-sub-arrow {
    transform: rotate(45deg);
}

.mobile-sub-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-left: 16px;
}

.mobile-has-sub.is-open .mobile-sub-list {
    max-height: 1000px;
}

.mobile-sub-list li a {
    font-size: 1.3rem !important;
    padding: 12px 0 !important;
    color: #666;
    border-bottom: 1px solid #f0f0f0 !important;
}

.mobile-sub-list li a:hover {
    color: #d61518;
}

/* ========================================
   ヒーローセクション（動画背景）
======================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

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

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    display: none;
}

/* ヒーローテキスト */
.hero-content {
    position: absolute;
    z-index: 10;
    top: 30%;
    left: 8%;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease 0.5s, transform 1.2s ease 0.5s;
}

body.is-loaded .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 10px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5), 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5), 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* SVGロゴ（TODA ROAD 一筆書き） */
.hero-svg-wrapper {
    position: absolute;
    z-index: 10;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    max-width: 800px;
}

.hero-svg-logo {
    width: 100%;
    height: auto;
}

/* SVG一筆書きアニメーション用 */
.svg-draw {
    fill: none;
    stroke: #fff;
    stroke-width: 1;
    stroke-miterlimit: 10;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    opacity: 0;
}

.svg-draw.is-drawing {
    opacity: 1;
    transition: stroke-dashoffset 2s cubic-bezier(0.65, 0, 0.35, 1);
    stroke-dashoffset: 0;
}

/* 描画完了後にフィルイン */
.svg-draw.is-filled {
    fill: rgba(255, 255, 255, 0.15);
    transition: fill 1s ease 0.3s;
}

/* ========================================
   経営理念SVGセクション
======================================== */
.philosophy-svg-section {
    padding: 20px 0;
    background: #fff;
    overflow: hidden;
}

.philosophy-svg-track {
    display: flex;
    width: max-content;
    align-items: center;
}

.philosophy-svg-track svg {
    height: 120px;
    flex-shrink: 0;
    margin-right: 80px;
}

/* 1セット目：一筆書きアニメーション用（太いストローク） */
#philosophySvg1 .ps0 {
    stroke-width: 2;
}

/* 2セット目：初期非表示→スクロール開始時にフェードイン */
#philosophySvg2 {
    opacity: 0;
    transition: opacity 1s ease;
}
#philosophySvg2.is-visible {
    opacity: 1;
}
#philosophySvg2 .ps0 {
    stroke: #898989;
    stroke-width: 1;
}

/* ========================================
   お知らせセクション
======================================== */
/* ========================================
   会社情報セクション（フルワイド画像グリッド）
======================================== */
.corporate-section {
    padding: 40px 0 100px;
    background: #fff;
}

.corporate-section .section-title-row {
    margin-bottom: 60px;
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

.tile-item {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.tile-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tile-item:hover img {
    transform: scale(1.08);
}

.tile-item:hover {
    opacity: 1;
}

.tile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    transition: background 0.3s ease;
}

.tile-item:hover .tile-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
}

.tile-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: #fff;
    z-index: 2;
}

.tile-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.8;
    letter-spacing: 0.05em;
}

.tile-name {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 4px;
    letter-spacing: 0.05em;
}

.tile-link {
    position: absolute;
    bottom: 25px;
    right: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #fff;
    z-index: 2;
    transition: gap 0.3s ease;
}

.tile-item:hover .tile-link {
    gap: 16px;
}

.tile-link-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #1a1a1a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.tile-item:hover .tile-link-icon {
    background: #d61518;
    color: #fff;
}

/* ========================================
   セクションタイトル共通
======================================== */
.section-title-row {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 10px;
    padding-bottom: 20px;
    border-bottom: 2px solid #1a1a1a;
    position: relative;
}

/* アニメーション初期状態 */
.section-title-row.anim {
    border-bottom-color: transparent;
}

.section-title-row.anim::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a1a1a;
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1) 1.2s;
}

.section-title-row.anim .section-title-en,
.section-title-row.anim .section-title-ja {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 1.0s cubic-bezier(0.22, 1, 0.36, 1),
                transform 1.0s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-title-row.anim .section-title-ja {
    transition-delay: 0.25s;
}

/* アニメーション発火後 */
.section-title-row.anim.is-visible::after {
    width: 100%;
}

.section-title-row.anim.is-visible .section-title-en,
.section-title-row.anim.is-visible .section-title-ja {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   シャッターアニメーション
======================================== */
.anim-shutter {
    position: relative;
    overflow: hidden;
}

/* 画像は最初から表示 */
.anim-shutter > img {
    opacity: 1;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 1.6s;
}

/* シャッターが閉じた後に画像を少しズーム */
.anim-shutter.is-visible > img {
    transform: scale(1.03);
}

.anim-shutter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    z-index: 3;
    transform: translateX(-101%);
}

/* シャッターが閉じて→開く */
.anim-shutter.is-visible::before {
    animation: shutterIn 0.8s cubic-bezier(0.65, 0, 0.35, 1) forwards,
               shutterOut 0.8s cubic-bezier(0.65, 0, 0.35, 1) 0.8s forwards;
}

@keyframes shutterIn {
    from { transform: translateX(-101%); }
    to   { transform: translateX(0); }
}

@keyframes shutterOut {
    from { transform: translateX(0); }
    to   { transform: translateX(101%); }
}

.section-title-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 5rem;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.section-title-ja {
    font-size: 1.4rem;
    font-weight: 400;
    color: #888;
    letter-spacing: 0.1em;
}

/* ========================================
   お知らせセクション
======================================== */
.news-section {
    padding: 80px 0 40px;
    background: #fff;
}

.news-list {
    margin-top: 0;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid #e0e0e0;
    text-decoration: none;
    color: #333;
    transition: background 0.3s ease;
}

.news-item:hover {
    background: #f8f8f8;
    opacity: 1;
}

.news-date {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #888;
    white-space: nowrap;
    flex-shrink: 0;
}

.news-tag {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    background: #333;
    border-radius: 4px;
    padding: 4px 0;
    width: 100px;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.news-title {
    flex: 1;
    font-size: 1.5rem;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
}

.news-new {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #e53935;
    white-space: nowrap;
    flex-shrink: 0;
}

.news-arrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    color: #333;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.news-item:hover .news-arrow {
    transform: translateX(5px);
}

/* View all */
.news-viewall-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}

.news-viewall {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1a1a1a;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.news-viewall:hover {
    opacity: 0.7;
}

.news-viewall-label {
    letter-spacing: 0.05em;
}

.news-viewall-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 50%;
    font-size: 1.8rem;
    transition: background 0.3s ease;
}

.news-viewall:hover .news-viewall-icon {
    background: #d61518;
}

/* ========================================
   施工実績セクション（マガジン風）
======================================== */
.projects-section {
    padding-top: 100px;
    padding-bottom: 0;
    background: #fff;
}

/* タイトルをstickyで最上部に固定 */
.projects-title-sticky {
    position: sticky;
    top: 70px;
    z-index: 10;
    background: #fff;
    padding-bottom: 30px;
}

.projects-section .section-title-row {
    margin-bottom: 0;
}

.projects-list {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.project-item {
    display: flex;
    align-items: stretch;
    min-height: 350px;
    background: #f5f5f5;
    overflow: hidden;
    position: sticky;
    top: 160px;
    z-index: 1;
}

.project-item:nth-child(2) { z-index: 1; }
.project-item:nth-child(3) { z-index: 2; top: 180px; }
.project-item:nth-child(4) { z-index: 3; top: 200px; }
.project-item:nth-child(5) { z-index: 4; top: 220px; }

/* スクロール領域を確保 */
.projects-list::after {
    content: '';
    display: block;
    height: 60vh;
}

.project-item:nth-child(even) {
    flex-direction: row-reverse;
}

.project-item:hover {
    opacity: 1;
}

.project-item-img {
    width: 55%;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.project-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-item:hover .project-item-img img {
    transform: scale(1.06);
}

.project-item-text {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
}

.project-item-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 8rem;
    font-weight: 200;
    line-height: 1;
    color: rgba(0, 0, 0, 0.06);
    margin-bottom: 10px;
}

.project-item-ja {
    font-size: 2.6rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.project-item-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #888;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
}

.project-item-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #1a1a1a;
    transition: gap 0.3s ease;
}

.project-item:hover .project-item-link {
    gap: 16px;
}

.project-item-link-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a1a1a;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: background 0.3s ease;
}

.project-item:hover .project-item-link-icon {
    background: #d61518;
}

/* ========================================
   採用情報セクション（横スクロールカルーセル）
======================================== */
.recruit-section {
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}

.recruit-catch {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.8;
    color: #333;
    margin-top: 20px;
    margin-bottom: 50px;
}

.recruit-carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.recruit-carousel-track {
    display: flex;
    gap: 15px;
    width: max-content;
}

.recruit-card {
    flex-shrink: 0;
    width: 300px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.recruit-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.recruit-card:hover img {
    transform: scale(1.05);
}

.recruit-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 36px 22px 26px;
    color: #fff;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.65) 45%,
        rgba(0, 0, 0, 0.3) 75%,
        transparent 100%
    );
}

.recruit-card-overlay p {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.35;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7),
                 0 1px 2px rgba(0, 0, 0, 0.9);
}

.recruit-card-overlay span {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffd4a8;
    opacity: 1;
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 10px;
    background: rgba(214, 21, 24, 0.9);
    color: #fff;
    border-radius: 2px;
    text-shadow: none;
}

.recruit-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.recruit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #1a1a1a;
    transition: gap 0.3s ease;
}

.recruit-btn:hover {
    gap: 16px;
    opacity: 1;
}

.recruit-btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a1a1a;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: background 0.3s ease;
}

.recruit-btn:hover .recruit-btn-icon {
    background: #d61518;
}

/* ========================================
   フッター
======================================== */
.footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 60px 0 40px;
}

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

.footer-top {
    display: flex;
    gap: 60px;
}

.footer-company {
    flex-shrink: 0;
    max-width: 300px;
    display: flex;
    flex-direction: column;
}

.footer-company-name {
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
}

.footer-address {
    font-size: 1.3rem;
    line-height: 1.9;
    color: #999;
}

.footer-company-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 30px;
}

.footer-company-links a {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    transition: color 0.3s ease;
}

.footer-company-links a:hover {
    color: #e8453c;
    opacity: 1;
}

.copyright {
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    color: #666;
    letter-spacing: 0.05em;
    margin-top: auto;
    padding-top: 40px;
}

.footer-nav-group {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: flex-end;
}

.footer-nav-col {
    flex: 1;
    max-width: 25%;
}

.footer-nav-col h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-nav-col h4:not(:first-child) {
    margin-top: 25px;
}

.footer-nav-col ul li a {
    display: block;
    font-size: 1.3rem;
    padding: 5px 0;
    color: #999;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-nav-col ul li a:hover {
    color: #e8453c;
    padding-left: 5px;
    opacity: 1;
}

/* ========================================
   ページトップ
======================================== */
.page-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #d61518;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 104, 183, 0.3);
}

.page-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-top:hover {
    background: #e8453c;
    opacity: 1;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 1024px) {
    .header-nav {
        display: none;
    }

    .header-group-logo {
        display: none;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .section-title-en {
        font-size: 4rem;
    }

    .projects-title-sticky {
        position: sticky;
        top: 60px;
        z-index: 10;
    }

    .project-item {
        flex-direction: column !important;
        min-height: auto;
        position: sticky;
        top: 120px;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    }

    .project-item:nth-child(2) { z-index: 1; }
    .project-item:nth-child(3) { z-index: 2; top: 140px; }
    .project-item:nth-child(4) { z-index: 3; top: 160px; }
    .project-item:nth-child(5) { z-index: 4; top: 180px; }

    .project-item-img {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .project-item-text {
        width: 100%;
        padding: 30px;
    }

    .project-item-num {
        font-size: 5rem;
    }

    .project-item-ja {
        font-size: 2.2rem;
    }

    .recruit-card {
        width: 260px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-company {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 60px;
    }

    .header-logo img {
        height: 30px;
    }

    .hero-section {
        height: 60vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-sub {
        font-size: 1.2rem;
    }

    .hero-content {
        top: 25%;
        left: 5%;
    }

    .project-item-text {
        padding: 25px 20px;
    }

    .project-item-num {
        font-size: 4rem;
        margin-bottom: 5px;
    }

    .project-item-ja {
        font-size: 1.8rem;
    }

    .recruit-catch {
        font-size: 1.6rem;
    }

    .recruit-card {
        width: 220px;
    }

    .recruit-card-overlay {
        padding: 30px 16px 22px;
    }

    .recruit-card-overlay p {
        font-size: 1.7rem;
    }

    .recruit-card-overlay span {
        font-size: 1.1rem;
        padding: 3px 8px;
    }

    .recruit-btn {
        padding: 14px 35px;
        font-size: 1.3rem;
    }

    /* News: タイトルを下に落とす */
    .news-item {
        flex-wrap: wrap;
        gap: 10px;
    }
    .news-title {
        flex: 0 0 100%;
        width: 100%;
        padding-left: 0;
        margin-top: 0;
    }
    .news-arrow {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }

    /* Corporate: 会社情報を1行に */
    .section-title-row {
        white-space: nowrap;
    }

    /* Corporate: タイルを縦1列に */
    .tile-grid {
        grid-template-columns: 1fr;
    }

    .hero-svg-wrapper {
        width: 90%;
        bottom: 8%;
    }

    .footer-nav-group {
        flex-direction: column;
        gap: 30px;
    }

    .footer-nav-col {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-svg-wrapper {
        width: 95%;
        bottom: 5%;
    }
}


/* ========================================
   採用情報TOP 専用スタイル (recruit.html)
======================================== */

        /* ========================================
           採用情報TOP 専用スタイル
        ======================================== */

        /* ヒーロー */
        .recruit-hero {
            position: relative;
            width: 100%;
            height: 70vh;
            min-height: 500px;
            overflow: hidden;
        }

        .recruit-hero-slides {
            position: absolute;
            inset: 0;
            z-index: 1;
        }

        .recruit-hero-slides img,
        .recruit-hero-slide {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            background-image: var(--slide-bg);
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0;
            transform: scale(1.08);
            transition: opacity 1.5s ease, transform 8s ease-out;
        }

        .recruit-hero-slides img.is-active,
        .recruit-hero-slide.is-active {
            opacity: 1;
            transform: scale(1);
        }

        .recruit-hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.1) 100%);
            z-index: 2;
        }

        .recruit-hero-text {
            position: absolute;
            z-index: 3;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            opacity: 0;
        }

        .recruit-hero-text.is-visible {
            animation: heroTextIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
        }

        @keyframes heroTextIn {
            from {
                opacity: 0;
                transform: translate(-50%, -40%);
            }
            to {
                opacity: 1;
                transform: translate(-50%, -50%);
            }
        }

        .recruit-hero-en {
            font-family: 'Montserrat', sans-serif;
            font-size: 7.2rem;
            font-weight: 900;
            color: #fff;
            letter-spacing: -0.02em;
            line-height: 1.05;
            text-shadow: 2px 4px 30px rgba(0,0,0,0.5);
            margin-bottom: 16px;
        }

        .recruit-hero-en span {
            display: block;
        }

        .recruit-hero-ja {
            font-family: 'Noto Sans JP', sans-serif;
            font-size: 2rem;
            font-weight: 900;
            color: rgba(255,255,255,0.95);
            letter-spacing: 0.2em;
            text-shadow: 1px 2px 10px rgba(0,0,0,0.4);
        }

        /* セクションヘッダー（Recruit 採用情報） */
        .recruit-page-header {
            padding: 80px 0 0;
            background: #fff;
        }

        /* 共通セクション */
        .rec-section {
            padding: 100px 0;
            overflow: hidden;
        }

        .rec-section:nth-child(even) {
            background: #f7f8fa;
        }

        .rec-section:nth-child(odd) {
            background: #fff;
        }

        /* 2カラムレイアウト */
        .rec-row {
            display: flex;
            align-items: center;
            gap: 60px;
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .rec-row.reverse {
            flex-direction: row-reverse;
        }

        .rec-col-text {
            flex: 1;
            min-width: 0;
        }

        .rec-col-img {
            flex: 1;
            min-width: 0;
        }

        /* セクションタイトル */
        .rec-title-en {
            font-family: 'Montserrat', sans-serif;
            font-size: 3.6rem;
            font-weight: 600;
            color: #1a1a1a;
            line-height: 1.2;
            letter-spacing: 0.02em;
        }

        .rec-title-ja {
            font-size: 1.4rem;
            font-weight: 400;
            color: #888;
            letter-spacing: 0.1em;
            margin-top: 4px;
            margin-bottom: 24px;
        }

        .rec-desc {
            font-size: 1.5rem;
            line-height: 2;
            color: #555;
        }

        /* MORE ボタン */
        .rec-more {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin-top: 30px;
            font-family: 'Montserrat', sans-serif;
            font-size: 1.4rem;
            font-weight: 500;
            color: #d61518;
            text-decoration: none;
            transition: gap 0.3s ease;
        }

        .rec-more:hover {
            gap: 16px;
            opacity: 1;
        }

        .rec-more-icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #d61518;
            color: #fff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            transition: background 0.3s ease, transform 0.3s ease;
        }

        .rec-more:hover .rec-more-icon {
            background: #e8453c;
            transform: translateX(3px);
        }

        /* 画像プレースホルダー */
        .rec-img-placeholder {
            width: 100%;
            aspect-ratio: 4 / 3;
            background: #f0e0e0;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
            color: #888;
            font-weight: 500;
            overflow: hidden;
            position: relative;
        }

        .rec-img-placeholder img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
        }

        /* スライドインアニメーション */
        .anim-slide-left {
            opacity: 0;
            transform: translateX(-80px);
            transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .anim-slide-left.is-visible {
            opacity: 1;
            transform: translateX(0);
        }

        .anim-slide-right {
            opacity: 0;
            transform: translateX(80px);
            transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .anim-slide-right.is-visible {
            opacity: 1;
            transform: translateX(0);
        }

        .anim-slide-up {
            opacity: 0;
            transform: translateY(60px);
            transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .anim-slide-up.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        .anim-fade {
            opacity: 0;
            transition: opacity 1.2s ease;
        }

        .anim-fade.is-visible {
            opacity: 1;
        }

        .anim-scale {
            opacity: 0;
            transform: scale(0.9);
            transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .anim-scale.is-visible {
            opacity: 1;
            transform: scale(1);
        }

        /* 遅延ユーティリティ */
        .delay-1 { transition-delay: 0.15s !important; }
        .delay-2 { transition-delay: 0.3s !important; }
        .delay-3 { transition-delay: 0.45s !important; }
        .delay-4 { transition-delay: 0.6s !important; }

        /* Application Guidelines セクション */
        .rec-guidelines {
            padding: 100px 0;
            background: linear-gradient(135deg, #1a1a2e 0%, #2d2d4a 100%);
            color: #fff;
            overflow: hidden;
        }

        .rec-guidelines .rec-title-en {
            color: #fff;
        }

        .rec-guidelines .rec-title-ja {
            color: rgba(255,255,255,0.6);
        }

        .rec-guidelines .rec-desc {
            color: rgba(255,255,255,0.8);
        }

        .rec-guidelines-btns {
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin-top: 30px;
        }

        .rec-guideline-btn {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            padding: 18px 30px;
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.3);
            border-radius: 6px;
            color: #fff;
            font-size: 1.6rem;
            font-weight: 500;
            text-decoration: none;
            transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
        }

        .rec-guideline-btn:hover {
            background: rgba(214, 21, 24, 0.6);
            border-color: #d61518;
            opacity: 1;
            transform: translateX(5px);
        }

        .rec-guideline-btn-arrow {
            margin-left: auto;
            font-family: 'Montserrat', sans-serif;
            font-size: 1.6rem;
            transition: transform 0.3s ease;
        }

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

        /* Facts & Figures 数値カウンター風 */
        .rec-facts-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;
        }

        .rec-fact-card {
            background: #fff;
            border-radius: 12px;
            padding: 28px 20px;
            text-align: center;
            box-shadow: 0 4px 20px rgba(0,0,0,0.06);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .rec-fact-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 30px rgba(0,0,0,0.1);
        }

        .rec-fact-num {
            font-family: 'Montserrat', sans-serif;
            font-size: 4rem;
            font-weight: 700;
            color: #d61518;
            line-height: 1.2;
        }

        .rec-fact-unit {
            font-size: 1.8rem;
            font-weight: 500;
        }

        .rec-fact-label {
            font-size: 1.3rem;
            color: #666;
            margin-top: 6px;
        }

        /* Photo Gallery グリッド */
        .rec-gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            border-radius: 8px;
            overflow: hidden;
        }

        .rec-gallery-item {
            aspect-ratio: 1;
            overflow: hidden;
            position: relative;
        }

        .rec-gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .rec-gallery-item:hover img {
            transform: scale(1.1);
        }

        /* 動画セクション */
        .rec-video-section {
            padding: 80px 0;
            background: #f7f8fa;
            overflow: hidden;
        }

        .rec-video-wrapper {
            max-width: 900px;
            margin: 40px auto 0;
            padding: 0 20px;
            position: relative;
        }

        .rec-video-placeholder {
            width: 100%;
            aspect-ratio: 16 / 9;
            background: #2a2a3e;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .rec-video-play {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: rgba(255,255,255,0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
            transition: transform 0.3s ease, background 0.3s ease;
            cursor: pointer;
        }

        .rec-video-play:hover {
            transform: scale(1.1);
            background: #fff;
        }

        .rec-video-play::after {
            content: '';
            display: block;
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 14px 0 14px 24px;
            border-color: transparent transparent transparent #d61518;
            margin-left: 4px;
        }

        /* パララックス背景画像 */
        .rec-parallax-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 120%;
            object-fit: cover;
            z-index: 1;
            transition: transform 0.1s linear;
        }

        /* Employee Stories スライダー */
        .rec-stories-section {
            padding: 100px 0;
            background: #f7f8fa;
            overflow: hidden;
        }

        .rec-stories-header {
            max-width: 1100px;
            margin: 0 auto 40px;
            padding: 0 20px;
        }

        .rec-stories-track-wrap {
            position: relative;
            width: 100%;
            overflow: hidden;
        }

        .rec-stories-track {
            display: flex;
            gap: 20px;
            padding: 0 0 20px;
            will-change: transform;
        }

        .rec-stories-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: #fff;
            border: 2px solid #d61518;
            color: #d61518;
            font-size: 1.8rem;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: background 0.3s ease, color 0.3s ease;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .rec-stories-nav:hover { background: #d61518; color: #fff; }
        .rec-stories-nav.prev { left: -10px; }
        .rec-stories-nav.next { right: -10px; }

        .rec-story-card {
            flex-shrink: 0;
            width: 280px;
            background: #fff;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0,0,0,0.06);
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            opacity: 0;
            transform: translateY(30px);
        }

        .rec-story-card.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        .rec-story-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 30px rgba(0,0,0,0.12);
        }

        .rec-story-card-img {
            width: 100%;
            aspect-ratio: 3 / 4;
            object-fit: cover;
        }

        .rec-story-card-body {
            padding: 20px;
        }

        .rec-story-card-dept {
            font-size: 1.2rem;
            color: #d61518;
            font-weight: 500;
            margin-bottom: 4px;
        }

        .rec-story-card-name {
            font-size: 1.6rem;
            font-weight: 600;
            color: #1a1a1a;
        }

        .rec-story-card-year {
            font-size: 1.2rem;
            color: #999;
            margin-top: 4px;
        }

        /* レスポンシブ */
        @media (max-width: 768px) {
            /* モバイルでは hero の画像を縦長にし、元画像を
               中央で 2 分割して「左半分 → 上、右半分 → 下」の順で表示する。
               元画像 1920×1080 の左半分=960×1080 を縦に 2 枚スタックする
               構成なので、hero のアスペクト比は 960 : 2160 ≒ 0.444。 */
            .recruit-hero {
                height: auto;
                min-height: 0;
                aspect-ratio: 960 / 2160;
            }

            .recruit-hero-slide {
                background-image: var(--slide-bg), var(--slide-bg);
                background-size: 200% 50%, 200% 50%;
                background-position: 0 0, 100% 100%;
                background-repeat: no-repeat, no-repeat;
            }

            .recruit-hero-en {
                font-size: 4rem;
            }

            .recruit-hero-ja {
                font-size: 1.4rem;
            }

            .rec-section {
                padding: 60px 0;
            }

            .rec-row {
                flex-direction: column !important;
                gap: 30px;
            }

            .rec-title-en {
                font-size: 2.8rem;
            }

            .rec-story-card { width: 240px; }
            .rec-stories-nav { display: none; }

            .rec-facts-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .rec-gallery-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .rec-guidelines {
                padding: 60px 0;
            }
        }
    

/* ========================================
   Interview Design C (interview_XX.html)
======================================== */

        /* ========================================
           Interview Design C: エディトリアル縦書きアクセント
           特徴：縦書きサイドラベル、全幅画像セクション、
           ステップ型タイムテーブル、余白重視
        ======================================== */

        /* ---------- ヒーロー（全幅画像＋下部プロフィール） ---------- */
        .iv3-hero {
            position: relative;
        }

        .iv3-hero-img {
            width: 100%;
            height: 70vh;
            min-height: 450px;
            overflow: hidden;
        }

        .iv3-hero-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transform: scale(1.05);
            transition: transform 6s ease-out;
        }

        .iv3-hero.is-loaded .iv3-hero-img img {
            transform: scale(1);
        }

        .iv3-hero-profile {
            max-width: 1100px;
            margin: -80px auto 0;
            padding: 0 40px;
            position: relative;
            z-index: 2;
        }

        .iv3-hero-card {
            background: #fff;
            padding: 50px 60px;
            box-shadow: 0 16px 50px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            gap: 40px;
            opacity: 0;
            transform: translateY(30px);
            transition: all 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
        }

        .iv3-hero.is-loaded .iv3-hero-card {
            opacity: 1;
            transform: translateY(0);
        }

        .iv3-hero-num {
            font-family: 'Montserrat', sans-serif;
            font-size: 8rem;
            font-weight: 900;
            color: rgba(214,21,24,0.08);
            line-height: 1;
            flex-shrink: 0;
        }

        .iv3-hero-text {
            flex: 1;
        }

        .iv3-hero-tag {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.2rem;
            font-weight: 500;
            letter-spacing: 0.2em;
            color: #d61518;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .iv3-hero-name {
            font-family: 'Noto Serif JP', serif;
            font-size: 3.6rem;
            font-weight: 700;
            color: #1a1a1a;
            letter-spacing: 0.06em;
        }

        .iv3-hero-meta {
            display: flex;
            gap: 24px;
            margin-top: 10px;
            font-size: 1.4rem;
            color: #888;
        }

        .iv3-hero-meta strong {
            color: #333;
        }

        .iv3-hero-catch {
            position: relative;
            font-family: 'Noto Serif JP', serif;
            font-size: 2.8rem;
            font-weight: 700;
            line-height: 1.5;
            color: #1a1a1a;
            letter-spacing: 0.05em;
            margin-top: 32px;
            padding: 24px 0 4px;
            border-top: 4px solid #d61518;
            background: linear-gradient(transparent 78%, rgba(214, 21, 24, 0.12) 78%);
            display: inline-block;
        }

        .iv3-hero-catch::before {
            content: '“';
            font-family: 'Noto Serif JP', serif;
            font-size: 4rem;
            font-weight: 700;
            color: #d61518;
            line-height: 1;
            margin-right: 6px;
            vertical-align: -0.15em;
        }

        /* ---------- 共通 ---------- */
        .iv3-container {
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 40px;
        }

        /* ---------- Q&A：縦書きラベル付き ---------- */
        .iv3-qa {
            padding: 100px 0;
            position: relative;
            overflow: hidden;
        }

        .iv3-qa:nth-child(even) {
            background: #fafafa;
        }

        .iv3-qa-inner {
            display: flex;
            gap: 50px;
            align-items: flex-start;
            position: relative;
        }

        /* 縦書きラベル */
        .iv3-qa-side {
            flex-shrink: 0;
            width: 60px;
            position: relative;
        }

        .iv3-qa-side-num {
            font-family: 'Montserrat', sans-serif;
            font-size: 5.6rem;
            font-weight: 900;
            color: #d61518;
            line-height: 1;
            position: sticky;
            top: 120px;
        }

        .iv3-qa-side-line {
            width: 2px;
            height: 100%;
            background: linear-gradient(to bottom, #d61518, transparent);
            position: absolute;
            left: 28px;
            top: 80px;
        }

        .iv3-qa-content {
            flex: 1;
        }

        .iv3-qa-question {
            font-family: 'Noto Serif JP', serif;
            font-size: 2.4rem;
            font-weight: 700;
            color: #1a1a1a;
            line-height: 1.6;
            letter-spacing: 0.02em;
            margin-bottom: 28px;
            padding-bottom: 20px;
            border-bottom: 2px solid #e8e8e8;
        }

        .iv3-qa-answer {
            font-size: 1.5rem;
            line-height: 2.3;
            color: #555;
        }

        .iv3-qa-img-side {
            flex: 0 0 380px;
            border-radius: 4px;
            overflow: hidden;
            position: sticky;
            top: 120px;
            box-shadow: 0 12px 40px rgba(0,0,0,0.08);
            z-index: 1;
        }

        .iv3-qa-img-side img {
            width: 100%;
            display: block;
            transition: transform 0.8s ease;
            opacity: 0;
        }

        .iv3-qa-img-side:hover img {
            transform: scale(1.04);
        }

        /* 上下分割シャッター */
        .iv3-qa-img-side::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 50%;
            background: #d61518;
            z-index: 3;
            transform: scaleY(0);
            transform-origin: top;
            transition: none;
        }

        .iv3-qa-img-side::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 50%;
            background: #d61518;
            z-index: 3;
            transform: scaleY(0);
            transform-origin: bottom;
            transition: none;
        }

        /* ステップ1: 上下幕が閉じる → ステップ2: 上下幕が開く → 画像フェードイン */
        @keyframes iv3ShutterClose {
            0% { transform: scaleY(0); }
            100% { transform: scaleY(1); }
        }

        @keyframes iv3ShutterOpenTop {
            0% { transform: scaleY(1); transform-origin: top; }
            100% { transform: scaleY(0); transform-origin: top; }
        }

        @keyframes iv3ShutterOpenBottom {
            0% { transform: scaleY(1); transform-origin: bottom; }
            100% { transform: scaleY(0); transform-origin: bottom; }
        }

        @keyframes iv3ImgIn {
            0% { opacity: 0; transform: scale(1.06); }
            100% { opacity: 1; transform: scale(1); }
        }

        .iv3-qa-img-side.shutter-active::before {
            animation: iv3ShutterClose 0.5s cubic-bezier(0.65, 0, 0.35, 1) forwards,
                       iv3ShutterOpenTop 0.5s cubic-bezier(0.65, 0, 0.35, 1) 0.6s forwards;
        }

        .iv3-qa-img-side.shutter-active::after {
            animation: iv3ShutterClose 0.5s cubic-bezier(0.65, 0, 0.35, 1) forwards,
                       iv3ShutterOpenBottom 0.5s cubic-bezier(0.65, 0, 0.35, 1) 0.6s forwards;
        }

        .iv3-qa-img-side.shutter-active img {
            animation: iv3ImgIn 0.5s ease 0.7s forwards;
        }

        .iv3-qa-img-side.shutter-done img {
            opacity: 1;
        }

        /* ヒーロー画像にも上下分割シャッター */
        .iv3-hero-img::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 50%;
            background: #d61518;
            z-index: 2;
            transform: scaleY(1);
            transform-origin: top;
        }

        .iv3-hero-img::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 50%;
            background: #d61518;
            z-index: 2;
            transform: scaleY(1);
            transform-origin: bottom;
        }

        .iv3-hero.is-loaded .iv3-hero-img::before {
            animation: iv3ShutterOpenTop 0.8s cubic-bezier(0.65, 0, 0.35, 1) 0.4s forwards;
        }

        .iv3-hero.is-loaded .iv3-hero-img::after {
            animation: iv3ShutterOpenBottom 0.8s cubic-bezier(0.65, 0, 0.35, 1) 0.4s forwards;
        }

        /* 全幅画像ブレイクにもシャッター */
        .iv3-img-break::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 50%;
            height: 100%;
            background: #d61518;
            z-index: 4;
            transform: scaleX(1);
            transform-origin: left;
        }

        @keyframes iv3BreakOpenLeft {
            0% { transform: scaleX(1); transform-origin: left; }
            100% { transform: scaleX(0); transform-origin: left; }
        }

        @keyframes iv3BreakOpenRight {
            0% { transform: scaleX(1); transform-origin: right; }
            100% { transform: scaleX(0); transform-origin: right; }
        }

        .iv3-img-break.shutter-active::before {
            animation: iv3BreakOpenLeft 0.7s cubic-bezier(0.65, 0, 0.35, 1) 0.2s forwards;
        }

        .iv3-img-break.shutter-active .iv3-img-break-overlay {
            z-index: 5;
            background: #d61518;
            right: 0;
            left: auto;
            width: 50%;
            animation: iv3BreakOpenRight 0.7s cubic-bezier(0.65, 0, 0.35, 1) 0.2s forwards;
        }

        /* ---------- 全幅画像ブレイク ---------- */
        .iv3-img-break {
            width: 100%;
            height: 45vh;
            overflow: hidden;
            position: relative;
        }

        .iv3-img-break img {
            width: 100%;
            height: 130%;
            object-fit: cover;
            will-change: transform;
        }

        .iv3-img-break-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(214,21,24,0.3), rgba(0,0,0,0.1));
        }

        /* ---------- サブ画像（ランダム配置風） ---------- */
        .iv3-photos {
            padding: 80px 0;
            background: #fff;
        }

        .iv3-photos-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            grid-template-rows: 220px 220px;
            gap: 12px;
        }

        .iv3-photos-grid .wide {
            grid-column: span 2;
        }

        .iv3-photo-item {
            overflow: hidden;
            border-radius: 4px;
            opacity: 0;
            transform: translateY(25px);
            transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
        }

        .iv3-photo-item.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        .iv3-photo-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .iv3-photo-item:hover img {
            transform: scale(1.06);
        }

        /* ---------- タイムテーブル（ステップ横並び） ---------- */
        .iv3-timetable {
            padding: 100px 0;
            background: #1a1a2e;
            color: #fff;
            position: relative;
            overflow: hidden;
        }

        .iv3-timetable-bg {
            position: absolute;
            inset: 0;
            opacity: 0.3;
        }

        .iv3-timetable-bg img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .iv3-tt-inner {
            position: relative;
            z-index: 1;
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 40px;
        }

        .iv3-tt-title {
            text-align: center;
            margin-bottom: 60px;
        }

        .iv3-tt-title h2 {
            font-family: 'Noto Serif JP', serif;
            font-size: 2.8rem;
            font-weight: 700;
        }

        .iv3-tt-title span {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.2rem;
            color: rgba(255,255,255,0.4);
            display: block;
            margin-top: 8px;
            letter-spacing: 0.15em;
        }

        /* ステップ型 */
        .iv3-tt-steps {
            position: relative;
            display: flex;
            flex-direction: column;
            gap: 0;
        }

        .iv3-tt-steps::before {
            content: '';
            position: absolute;
            left: 50%;
            top: 0;
            bottom: 0;
            width: 2px;
            background: rgba(255,255,255,0.15);
            transform: translateX(-50%);
        }

        .iv3-tt-step {
            display: flex;
            align-items: flex-start;
            gap: 40px;
            padding: 24px 0;
            position: relative;
            opacity: 0;
            transition: all 0.6s ease;
        }

        .iv3-tt-step.is-visible {
            opacity: 1;
        }

        .iv3-tt-step:nth-child(odd) {
            flex-direction: row;
            transform: translateX(-30px);
        }

        .iv3-tt-step:nth-child(even) {
            flex-direction: row-reverse;
            transform: translateX(30px);
        }

        .iv3-tt-step.is-visible {
            transform: translateX(0);
        }

        .iv3-tt-step-left,
        .iv3-tt-step-right {
            flex: 1;
        }

        .iv3-tt-step:nth-child(odd) .iv3-tt-step-left {
            text-align: right;
        }

        .iv3-tt-step:nth-child(even) .iv3-tt-step-left {
            text-align: left;
        }

        .iv3-tt-step-dot {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #d61518;
            border: 3px solid #1a1a2e;
            box-shadow: 0 0 0 2px rgba(214,21,24,0.5), 0 0 15px rgba(214,21,24,0.3);
            flex-shrink: 0;
            margin-top: 4px;
            z-index: 2;
        }

        .iv3-tt-time {
            font-family: 'Montserrat', sans-serif;
            font-size: 2rem;
            font-weight: 700;
            color: #e8453c;
            margin-bottom: 4px;
        }

        .iv3-tt-label {
            font-size: 1.5rem;
            font-weight: 600;
            color: #fff;
        }

        .iv3-tt-desc {
            font-size: 1.3rem;
            color: rgba(255,255,255,0.5);
            margin-top: 4px;
        }

        /* ---------- 他のインタビュー ---------- */
        .iv3-other-interviews {
            padding: 100px 0;
            background: #f7f8fa;
            overflow: hidden;
        }
        .iv3-other-header {
            text-align: center;
            margin-bottom: 50px;
        }
        .iv3-other-en {
            font-family: 'Montserrat', sans-serif;
            font-size: 3.6rem;
            font-weight: 800;
            color: #1a1a1a;
        }
        .iv3-other-ja {
            font-size: 1.4rem;
            color: #999;
            margin-top: 6px;
        }
        .iv3-other-cards {
            display: flex;
            gap: 30px;
            max-width: 1100px;
            margin: 0 auto;
            padding: 0 40px;
        }
        .iv3-other-card {
            flex: 1;
            overflow: hidden;
            background: #fff;
            text-decoration: none;
            color: inherit;
            box-shadow: 0 6px 24px rgba(0,0,0,0.08);
            transition: all 0.5s ease;
            opacity: 0;
            transform: translateY(30px);
        }
        .iv3-other-card.is-visible {
            opacity: 1;
            transform: translateY(0);
        }
        .iv3-other-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 16px 40px rgba(0,0,0,0.12);
            opacity: 1;
        }
        .iv3-other-card-img-wrap {
            overflow: hidden;
        }
        .iv3-other-card-img-wrap img {
            width: 100%;
            aspect-ratio: 3 / 4;
            object-fit: cover;
            display: block;
            transition: transform 0.6s ease;
        }
        .iv3-other-card:hover .iv3-other-card-img-wrap img {
            transform: scale(1.04);
        }
        .iv3-other-card-body {
            padding: 20px 24px;
        }
        .iv3-other-card-dept {
            font-size: 1.2rem;
            color: #d61518;
            font-weight: 500;
        }
        .iv3-other-card-name {
            font-family: 'Noto Serif JP', serif;
            font-size: 1.8rem;
            font-weight: 600;
            color: #1a1a1a;
            margin-top: 4px;
        }
        .iv3-other-card-year {
            font-size: 1.2rem;
            color: #999;
            margin-top: 2px;
        }
        .iv3-other-back {
            text-align: center;
            margin-top: 40px;
        }
        .iv3-other-back a {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 14px 36px;
            border: 2px solid #d61518;
            border-radius: 50px;
            font-size: 1.4rem;
            font-weight: 500;
            color: #d61518;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        .iv3-other-back a:hover {
            background: #d61518;
            color: #fff;
            opacity: 1;
        }

        /* ---------- ページナビ (unused, kept for reference) ---------- */
        .iv3-pagenav {
            display: flex;
            justify-content: center;
            gap: 20px;
            padding: 80px 40px;
            background: #fff;
        }

        .iv3-pagenav a {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 16px 36px;
            border: 2px solid #ddd;
            border-radius: 50px;
            font-size: 1.4rem;
            font-weight: 500;
            color: #333;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .iv3-pagenav a:hover {
            border-color: #d61518;
            color: #d61518;
            opacity: 1;
        }

        .iv3-pagenav a.primary {
            background: #d61518;
            border-color: #d61518;
            color: #fff;
        }

        .iv3-pagenav a.primary:hover {
            background: #b01115;
        }

        /* ---------- アニメーション ---------- */
        .iv3-anim-left {
            opacity: 0;
            transform: translateX(-50px);
            transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .iv3-anim-left.is-visible { opacity: 1; transform: translateX(0); }

        .iv3-anim-right {
            opacity: 0;
            transform: translateX(50px);
            transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .iv3-anim-right.is-visible { opacity: 1; transform: translateX(0); }

        .iv3-anim-up {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
        }
        .iv3-anim-up.is-visible { opacity: 1; transform: translateY(0); }

        .iv3-d1 { transition-delay: 0.1s !important; }
        .iv3-d2 { transition-delay: 0.25s !important; }
        .iv3-d3 { transition-delay: 0.4s !important; }
        .iv3-d4 { transition-delay: 0.55s !important; }
        .iv3-d5 { transition-delay: 0.7s !important; }

        /* Q番号：上からドロップ＋バウンス */
        .iv3-qa-side-num.iv3-anim {
            opacity: 0;
            transform: translateY(-60px);
            transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        .iv3-qa-side-num.iv3-anim.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* 質問：左からスライド */
        .iv3-qa-question.iv3-anim {
            opacity: 0;
            transform: translateX(-50px);
            transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
                        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
        }
        .iv3-qa-question.iv3-anim.is-visible {
            opacity: 1;
            transform: translateX(0);
        }

        /* 回答：フェードアップ */
        .iv3-qa-answer.iv3-anim {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s,
                        transform 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
        }
        .iv3-qa-answer.iv3-anim.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ---------- レスポンシブ ---------- */
        @media (max-width: 1024px) {
            .iv3-hero-card { flex-direction: column; gap: 20px; padding: 30px; }
            .iv3-hero-num { font-size: 5rem; }
            .iv3-qa-inner { flex-direction: column; }
            .iv3-qa-img-side { flex: none; width: 100%; position: static; }
            .iv3-qa-side { width: auto; display: flex; gap: 16px; align-items: center; }
            .iv3-qa-side-line { display: none; }
            .iv3-tt-steps::before { left: 20px; }
            .iv3-tt-step, .iv3-tt-step:nth-child(even) { flex-direction: row !important; }
            .iv3-tt-step:nth-child(odd) .iv3-tt-step-left { text-align: left; }
        }

        @media (max-width: 768px) {
            .iv3-hero-img { height: 50vh; }
            .iv3-hero-profile { margin-top: -50px; padding: 0 20px; }
            .iv3-hero-name { font-size: 2.6rem; }
            .iv3-hero-catch { font-size: 2rem; margin-top: 24px; padding-top: 18px; }
            .iv3-hero-catch::before { font-size: 3rem; }
            .iv3-container { padding: 0 20px; }
            .iv3-qa { padding: 60px 0; }
            .iv3-qa-question { font-size: 1.8rem; }
            .iv3-tt-inner { padding: 0 20px; }
            .iv3-other-cards { flex-direction: column; padding: 0 20px; }
        }
    

/* ========================================
   顔見切れ防止：object-positionを上寄せに
======================================== */
.iv3-hero-img img,
.iv3-img-break img,
.iv3-timetable-bg img,
.rec-story-card-img,
.iv3-other-card-img-wrap img {
    object-position: center 25%;
}

/* インタビューページ下部カルーセル見出し */
.iv3-stories-section {
    padding: 100px 0 120px;
    background: #f7f8fa;
    overflow: hidden;
}
.iv3-stories-section .rec-stories-header {
    text-align: center;
    margin-bottom: 40px;
}
.iv3-stories-section .rec-title-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.6rem;
    font-weight: 800;
    color: #1a1a1a;
}
.iv3-stories-section .rec-title-ja {
    font-size: 1.4rem;
    color: #999;
    margin-top: 6px;
}
.iv3-stories-section .iv3-other-back {
    text-align: center;
    margin-top: 50px;
}


/* ========================================
   インライン style 属性を集約
======================================== */

/* 現在地ナビリンクを赤に */
.header-nav .nav-list li a.is-current {
    color: #d61518;
}

/* インタビュー Q1 セクションの上余白 */
.iv3-qa.iv3-qa-first {
    padding-top: 120px;
}

/* インタビュー 全幅画像ブレイクの個別 object-position 調整 */
.iv3-img-break img[src*="02_interview_s_03"] { object-position: center 65%; }
.iv3-img-break img[src*="03_interview_k_03"] { object-position: center 65%; }
.iv3-img-break img[src*="04_interview_m_03"] { object-position: center 65%; }
.iv3-img-break img[src*="05_interview_y_03"] { object-position: center 55%; }

/* 募集要項（recruit.html）画像プレースホルダー装飾 */
.rec-guidelines .rec-img-placeholder {
    background: rgba(255, 255, 255, 0.08);
}
.rec-guidelines .rec-img-placeholder img {
    opacity: 0.6;
}
