/*
    全体的CSS動機
    親の同意を得ていない、かつ公然の活動 --> 私はこれにストリートを想起しました
        --> だからこその.history-limit-listのネガティブマージンや、.hero-clip-bgですね！（その他も沢山）
    アカデミア＝権威についての、ストリート＝独自文化、それらの融合を適度に
    これを求めるターゲットらについての少しばかりの配慮も混じってます　言葉に起こすとベタなので　避けますが
    CSS自体は、いつかMinifyするので、いまのうちに見ておいた方が良いかもしれません。
*/
/*
    そのたCSS動機
    history-imageたち：hover時に、grayscale(0%)まで上げてしまうと、そこで終わってしまう、と感じたので50%で止めています。
*/



/* 自前リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.5);
    --portal-color: #ffffff;
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Space Grotesk', sans-serif;
    --marker-accent: #ffffff;
    --grid-color: rgba(255, 255, 255, 0.05);
    --border-color: #ffffff;
}

/* この手法自体は知ってたけど使うのはこれで二度目かも（自語り） */
body.light-theme {
    --bg-color: #ffffff;
    --text-color: #000000;
    --text-muted: rgba(0, 0, 0, 0.5);
    --portal-color: #000000;
    --marker-accent: #000000;
    --grid-color: rgba(0, 0, 0, 0.05);
    --border-color: #000000;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-jp);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.8s cubic-bezier(0.25, 1, 0.5, 1), color 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hero */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 10vh 8%;
    z-index: 2;
    overflow: hidden;
}

/* 背景用グリッド */
#hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    z-index: 0;
    pointer-events: none;
    transition: background-image 0.8s ease;
}

/*  正円のクリップ（index.htmlを参照） */
.hero-clip-bg {
    position: absolute;
    top: -70vh;
    right: -63vh;
    width: 130vh;
    height: 130vh;
    border-radius: 50%;
    background-color: var(--portal-color);
    z-index: 1;
    pointer-events: none;
    transition: background-color 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* クリップされた中のデザイン */
.hero-clip-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border-radius: 50%;
    background-image: 
        linear-gradient(var(--bg-color) 1.5px, transparent 1.5px),
        linear-gradient(90deg, var(--bg-color) 1.5px, transparent 1.5px);
    background-size: 50px 50px;
    background-position: center center;
    opacity: 0.08;
    transition: background-image 0.8s ease;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    pointer-events: auto;
}

.hero-tagline {
    font-family: var(--font-en);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    opacity: 0.8;
    transition: color 0.8s ease;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: -0.02em;
    text-align: left;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.2rem;
    }
}

/* 特筆すべき点がないテーマスイッチ */
.theme-switch {
    position: fixed;
    top: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: transparent;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: border-color 0.5s, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-switch:hover {
    transform: scale(1.1) rotate(180deg);
}

.theme-switch-inner {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--text-color) 50%, transparent 50%);
    border: 1px solid var(--text-color);
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.5s, background 0.5s;
}

body.light-theme .theme-switch-inner {
    transform: rotate(180deg);
}

/* スクロールダウン */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 5;
    font-family: var(--font-en);
    cursor: pointer;
}

.scroll-line-container {
    width: 1px;
    height: 80px;
    background-color: var(--border-color);
    position: relative;
    overflow: hidden;
    transition: background-color 0.5s;
}

.scroll-line-active {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--text-color), rgba(255, 255, 255, 0));
    animation: scrollLineAnim 2.2s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
    animation: pulseText 2s ease-in-out infinite;
    transition: color 0.5s;
}

@keyframes scrollLineAnim {
    0% {
        transform: translateY(-100%);
    }
    70%, 100% {
        transform: translateY(100%);
    }
}

@keyframes pulseText {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.9;
    }
}

/* コンテンツ */
.content-section {
    padding: 120px 2rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-num {
    font-family: var(--font-en);
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: block;
    transition: color 0.5s;
}

.section-text {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-color);
    transition: color 0.5s;
}

/* About用のもの */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1.3fr;
        gap: 4rem;
    }
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-box {
    border-left: 2px solid var(--text-color);
    padding-left: 1.5rem;
    transition: border-color 0.8s;
}

.stat-num {
    font-family: var(--font-en);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.about-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-desc {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-color);
}

.about-meta {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color 0.8s;
}

.meta-item {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    transition: color 0.8s;
}

.meta-bullet {
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--text-color);
}

.divider {
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    margin: 0 auto;
    max-width: 1000px;
    transition: background-color 0.5s;
}

/* フッター */
footer {
    padding: 60px 2rem;
    text-align: center;
    font-family: var(--font-en);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    border-top: 1px solid var(--border-color);
    transition: border-color 0.5s, color 0.5s;
}

/* History Section */
.history-section {
    position: relative;
}

.history-block {
    margin-bottom: 8rem;
}

.history-block:last-of-type {
    margin-bottom: 2rem;
}

[class*="reveal-"] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-scale {
    transform: scale(0.95) translateY(20px);
}

[class*="reveal-"].is-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    gap: 5rem;
    align-items: flex-start;
}

.split-layout-subspicies{
    display: block;
    margin-bottom: 3em;
}

.history-text {
    display: flex;
    flex-direction: column;
}

.history-subtitle {
    font-family: var(--font-en);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    transition: color 0.5s;
}

.history-desc {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-color);
    transition: color 0.5s;
}

.history-image-wrapper {
    position: relative;
    padding: 12px;
    border: 1px solid var(--grid-color);
    background-color: rgba(255, 255, 255, 0.01);
    transition: border-color 0.8s, background-color 0.8s;
}

body.light-theme .history-image-wrapper {
    background-color: rgba(0, 0, 0, 0.01);
}

/* コーナーブラケット */
.history-image-wrapper::before,
.history-image-wrapper::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-color: var(--text-color);
    border-style: solid;
    opacity: 0.2;
    pointer-events: none;
    transition: opacity 0.5s, border-color 0.8s, transform 0.5s;
    z-index: 10;
}

.history-image-wrapper::before {
    top: 0; left: 0;
    border-width: 1.5px 0 0 1.5px;
}

.history-image-wrapper::after {
    bottom: 0; right: 0;
    border-width: 0 1.5px 1.5px 0;
}

.history-image-wrapper:hover {
    border-color: var(--border-color);
    background-color: rgba(255, 255, 255, 0.03);
}

body.light-theme .history-image-wrapper:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.history-image-wrapper:hover::before {
    transform: translate(-3px, -3px);
    opacity: 0.7;
}

.history-image-wrapper:hover::after {
    transform: translate(3px, 3px);
    opacity: 0.7;
}

.history-image-wrapper a {
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.history-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    filter: grayscale(100%);
}

.history-image-wrapper a:hover .history-image {
    transform: scale(1.03);
    filter: grayscale(50%);
}



/* Part 2 Styles */
.history-text-full {
    max-width: 800px;
    margin-bottom: 0;
}

.history-limit-list {
    list-style: none;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

@media (min-width: 1040px) {
    .history-limit-list {
        margin-left: -8rem;
    }
}

.history-limit-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    transition: color 0.5s;
}

.list-bullet {
    font-family: var(--font-en);
    color: var(--text-muted);
    font-weight: 700;
    transition: color 0.5s;
}

/* 画像スタックのデザインが本当に思いつかないなあ */
.history-image-stack {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.stack-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.history-image-stack a {
    display: block;
    width: 100%;
    overflow: hidden;
}

.history-image-stack img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.history-image-stack img:hover {
    transform: scale(1.01);
    filter: grayscale(50%);
    /* CSS動機：grayscale(0%)まで上げてしまうと、そこで終わってしまう、と感じたので50%で止めています。  */
}

.image-metadata {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--text-muted);
    transition: color 0.5s;
}

.image-metadata a {
    color: var(--text-color);
    text-decoration: underline;
    transition: color 0.5s;
}

.font-condensed {
    font-size: 0.8rem;
}

@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (min-width: 901px) {
    .split-layout.reversed-layout {
        grid-template-columns: 1.8fr 1fr;
        gap: 6rem;
    }
    
    .split-layout.reversed-layout .history-text {
        order: 2;
    }
    
    .split-layout.reversed-layout .history-image-wrapper {
        order: 1;
    }
}

/* 制度圏の創設専用デザイン */
.conception-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: transparent;
    color: var(--text-color);
    padding: 20px 8%;
    margin-top: 8rem;
    margin-bottom: 0;
    transition: color 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.conception-container > div {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.conception-section .history-text {
    max-width: 800px;
    width: 100%;
}

.conception-section .history-image-wrapper {
    max-width: 680px;
    width: 100%;
}

.conception-section .section-num {
    color: var(--text-muted);
}

.conception-section .history-subtitle {
    color: var(--text-muted);
    transition: color 0.8s;
}

/* ヒーロー的な強調テキストスタイル */
.conception-section .history-desc-highlight {
    font-size: 1.5rem;
    line-height: 1.8;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--text-color);
    margin-bottom: 2rem;
    transition: color 0.8s;
}

@media (min-width: 768px) {
    .conception-section .history-desc-highlight {
        font-size: 1.95rem;
        line-height: 1.7;
    }
}

.conception-section .highlight-quote {
    background: linear-gradient(180deg, transparent 65%, var(--grid-color) 65%);
    display: inline-block;
    padding: 0 4px;
}

.conception-section .history-desc-sub {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-muted);
    transition: color 0.8s;
}

.conception-section .brand-name {
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--text-color);
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    transition: color 0.8s;
}

/* PC専用改行用のユーティリティ */
.desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .desktop-only {
        display: inline;
    }
}

.conception-section .history-image-wrapper {
    border: 1px solid var(--grid-color);
    background-color: rgba(255, 255, 255, 0.01);
}

body.light-theme .conception-section .history-image-wrapper {
    background-color: rgba(0, 0, 0, 0.01);
}

.conception-section .history-image-wrapper::before,
.conception-section .history-image-wrapper::after {
    border-color: var(--text-color);
}

.conception-section .image-metadata {
    color: var(--text-muted);
}

.conception-section .image-metadata a {
    color: var(--text-color);
    text-decoration: underline;
}

/* 自作フレームワークの構成部品 将来的に別ファイルに入れます */
/* Header */
.sint-framework-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    pointer-events: none;
}

.sint-framework-header > * {
    pointer-events: auto;
}

.header-logo a {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: color 0.5s;
}

.nav-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    z-index: 1001;
}

.nav-toggle-line {
    display: block;
    height: 2px;
    background-color: var(--text-color);
    transition: width 0.3s ease, background-color 0.5s;
}

.nav-toggle-line:nth-child(1) { width: 30px; }
.nav-toggle-line:nth-child(2) { width: 20px; }
.nav-toggle:hover .nav-toggle-line:nth-child(2) { width: 30px; }

/* サイドナブ */
.sint-framework-sidenav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 2000;
    visibility: hidden;
    pointer-events: none;
}

.sint-framework-sidenav.is-open {
    visibility: visible;
    pointer-events: auto;
}

.sidenav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.light-theme .sidenav-overlay {
    background-color: rgba(255, 255, 255, 0.7);
}

.sint-framework-sidenav.is-open .sidenav-overlay {
    opacity: 1;
}

.sidenav-content {
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background-color: var(--bg-color);
    border-left: 1px solid var(--border-color);
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: right 0.6s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.8s, border-color 0.8s;
}

.sint-framework-sidenav.is-open .sidenav-content {
    right: 0;
}

.sidenav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--grid-color);
}

.sidenav-title {
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.nav-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s ease;
}

.nav-close:hover {
    transform: rotate(90deg);
}

.sidenav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
}

.nav-link {
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 15px;
    transition: transform 0.3s ease, color 0.5s;
}

.nav-link:hover {
    transform: translateX(15px);
    color: var(--marker-accent);
}

.nav-num {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.sidenav-footer {
    font-family: var(--font-en);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    text-align: right;
}

/* Footer */
.sint-framework-footer {
    padding: 80px 8% 40px;
    border-top: 1px solid var(--border-color);
    font-family: var(--font-en);
    background-color: var(--bg-color);
    position: relative;
    z-index: 10;
    transition: border-color 0.8s, background-color 0.8s;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 220px;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-color);
}

.footer-brand-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* カラムグリッド */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 40px;
    flex: 1;
}
/* Scratchのフッターを意識してはいます */

.footer-column-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--grid-color);
    transition: color 0.5s, border-color 0.5s;
}

.footer-column-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-column-links li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-column-links li a:hover {
    color: var(--text-color);
}

.footer-external-icon {
    font-size: 0.75em;
    opacity: 0.6;
}

.footer-bottom {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid var(--grid-color);
    transition: border-color 0.5s;
}

.apply-action-section {
    padding: 120px 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.apply-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 24px 60px;
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--bg-color);
    background-color: var(--text-color);
    text-decoration: none;
    border: 1px solid var(--text-color);
    overflow: hidden;
    transition: color 0.5s, background-color 0.5s, border-color 0.5s;
}

.apply-button::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: var(--bg-color);
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.apply-button:hover::before {
    transform: translateY(0);
}

.apply-button-text {
    position: relative;
    z-index: 2;
    mix-blend-mode: difference;
    color: #ffffff;
}

body.light-theme .apply-button-text {
    color: #ffffff;
}


/* ――――――――応募ページ――――――――
.apply-hero {
    padding: 20vh 8% 10vh;
    border-bottom: 1px solid var(--border-color);
}

.apply-title {
    font-family: var(--font-en);
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.apply-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.criteria-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.criteria-item {
    border-left: 3px solid var(--text-color);
    padding-left: 2rem;
}

.criteria-label {
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.criteria-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.criteria-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.salvation-box {
    margin-top: 4rem;
    padding: 2rem;
    border: 1px dashed var(--text-color);
    background: rgba(255, 255, 255, 0.02);
}

body.light-theme .salvation-box {
    background: rgba(0, 0, 0, 0.02);
}

.salvation-box .criteria-label {
    color: var(--text-color);
}

/* 三レイヤー構成 */
.model-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 4rem;
}

.model-layer {
    padding: 2rem;
    border: 1px solid var(--grid-color);
    position: relative;
    background: var(--bg-color);
    z-index: 2;
    transition: transform 0.3s ease, border-color 0.3s;
}

.model-layer:hover {
    transform: translateX(10px);
    border-color: var(--text-color);
}

.layer-tag {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--bg-color);
    padding: 0 10px;
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-color);
    border: 1px solid var(--grid-color);
}

.layer-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.model-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--text-muted);
    margin: 1rem 0;
}

.model-outcome {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--text-color);
    color: var(--bg-color);
}

.model-outcome-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.model-outcome-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-weight: 700;
}

.model-outcome-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--bg-color);
}

.model-outcome-footer {
    font-size: 0.95rem;
    opacity: 0.9;
    border-top: 1px solid rgba(0,0,0,0.2);
    padding-top: 1rem;
}

body.light-theme .model-outcome-footer {
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* ――――――――クロニクルページ―――――――― */

/* クロニクルの方のヒーロー */
.chronicle-hero {
    padding: 20vh 8% 8vh;
    border-bottom: 1px solid var(--border-color);
}

.chronicle-hero .apply-title {
    margin-bottom: 0.5rem;
}

.chronicle-hero .apply-subtitle {
    max-width: 600px;
}

/* クロニクルセクション */
.chronicle-section {
    padding: 100px 2rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.chronicle-part-label {
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
    transition: color 0.5s;
}

.chronicle-heading {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 3rem;
    color: var(--text-color);
}

@media (min-width: 768px) {
    .chronicle-heading {
        font-size: 2.2rem;
    }
}

.chronicle-body {
    font-size: 1.1rem;
    line-height: 2.1;
    color: var(--text-color);
    transition: color 0.5s;
}

.chronicle-body p {
    margin-bottom: 2rem;
}

.chronicle-body strong {
    font-weight: 700;
}

/* 強調句 */
.chronicle-emphasis {
    display: block;
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    border-left: 3px solid var(--text-color);
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.5s;
}

body.light-theme .chronicle-emphasis {
    background: rgba(0, 0, 0, 0.02);
}

/* メール引用ブロック */
.email-block {
    margin: 3rem 0;
    border: 1px solid var(--grid-color);
    position: relative;
    transition: border-color 0.5s;
}

.email-block-header {
    padding: 12px 20px;
    border-bottom: 1px solid var(--grid-color);
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.email-block-header::before {
    content: '✉';
    font-size: 1rem;
}

.email-block-body {
    padding: 24px;
}

.email-block-body .email-translation-label {
    font-family: var(--font-en);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: #4a90d9;
    margin-bottom: 1.5rem;
    display: block;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed var(--grid-color);
}

body.light-theme .email-block-body .email-translation-label {
    color: #2563eb;
}

/* 対訳ペア */
.email-line-pair {
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--grid-color);
}

.email-line-pair:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.email-line-en {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 0.4rem;
}

.email-line-ja {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #4a90d9;
    padding-left: 1rem;
    border-left: 2px solid #4a90d933;
}

body.light-theme .email-line-ja {
    color: #2563eb;
    border-left-color: #2563eb33;
}


/* Tips / Timeline セクション */
.tips-section {
    margin: 4rem 0;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.tips-header {
    font-family: var(--font-en);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.tips-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 3rem;
}

/* 年別タイムライン */
.journal-year {
    margin-bottom: 3.5rem;
}

.journal-year:last-child {
    margin-bottom: 0;
}

.year-label {
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    opacity: 0.15;
    line-height: 1;
}

.year-journals {
    font-family: var(--font-en);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--grid-color);
}

.journal-narrative {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-color);
}

.journal-narrative p {
    margin-bottom: 1.5rem;
}

/* ジャーナル名バッジ */
.journal-badge {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border: 1px solid var(--text-color);
    margin: 0 2px;
    vertical-align: middle;
    transition: border-color 0.5s;
}

/* 結果ステータス */
.result-desk-reject {
    color: var(--text-muted);
    font-family: var(--font-en);
    font-size: 0.85rem;
    font-style: italic;
}

.result-highlight {
    font-weight: 700;
}
