@charset "UTF-8";

/* =========================================
   ベース設定 (index専用)
   ========================================= */
.section-padding {
    padding: 100px 0;
}

/* =========================================
   コンテンツ
   ========================================= */
/* トップページのみヘッダー背景を透明にする */
header {
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
    pointer-events: none;
}

header .logo {
    pointer-events: all;
}

header .nav-btn {
    pointer-events: all;
}

/* Main Visual */
.mv {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.mv-visual-area {
    position: absolute;
    top: 0;
    left: 50px;
    width: calc(100% - 150px);
    height: 85vh;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.mv-visual-area .img-placeholder {
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    position: relative;
}

.mv-visual-area .img-placeholder img.base-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.mv-visual-area .img-placeholder::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-main);
    z-index: -1;
}

.mv-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 5;
    pointer-events: none;
    margin: 0 auto;
}

.mv-copy-area {
    position: absolute;
    right: 17%;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    font-feature-settings: "palt";
}

.mv-main-copy {
    font-size: 5rem;
    line-height: 2;
    color: #111;
    font-weight: 500;
    font-family: var(--font-mincho);
    letter-spacing: 0.15em;
    white-space: nowrap;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 0 60px rgba(255, 255, 255, 0.6);
}

.mv-main-copy>span:first-child {
    display: inline-block;
    transform: translateX(-40px);
}

.mv-main-copy>span:last-child {
    display: inline-block;
    margin-top: 40px;
}

.mv-sub {
    position: absolute;
    bottom: 70px;
    left: 50px;
    z-index: 6;
    text-align: left;
    pointer-events: auto;
}

.mv-sub-inner {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--accent-main);
    padding: 30px 45px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.mv-sub-en {
    display: block;
    font-family: var(--font-gothic);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    font-weight: 500;
    color: var(--text-color);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.mv-sub-year {
    display: block;
    font-size: 3.2rem;
    font-weight: 300;
    line-height: 0.9;
    font-family: var(--font-gothic);
    color: var(--accent-main);
    letter-spacing: 0.05em;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    right: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-text {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
    text-transform: uppercase;
    text-shadow: 0 0 10px #fff;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: #333;
    animation: scrollDown 2s infinite;
    transform-origin: top;
}

@keyframes scrollDown {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* MV Animations */
.mv-visual-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 3;
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
    pointer-events: none;
}

body.loaded .mv-visual-area::before {
    opacity: 0;
}

.mv-visual-area .img-placeholder {
    overflow: hidden;
}

.mv-visual-area .img-placeholder img.base-img {
    transform: scale(1.2);
    transition: transform 3.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-origin: center center;
}

body.loaded .mv-visual-area .img-placeholder img.base-img {
    transform: scale(1);
}

.mv-visual-area .img-placeholder::after {
    opacity: 0;
    transform: translate(-15px, 15px);
    transition: opacity 1.5s ease 1s, transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 1s;
}

body.loaded .mv-visual-area .img-placeholder::after {
    opacity: 0.6;
    transform: translate(0, 0);
}

.char {
    display: inline-block;
    opacity: 0;
    filter: blur(8px);
    transform: translateY(-20px) rotate(-15deg);
}

body.loaded .char {
    animation: flutterText 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes flutterText {
    0% {
        opacity: 0;
        filter: blur(8px);
        transform: translateY(-20px) rotate(-15deg);
    }

    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0) rotate(0deg);
    }
}

.mv-sub {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease 1.8s, transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 1.8s;
}

body.loaded .mv-sub {
    opacity: 1;
    transform: translateY(0);
}

.scroll-indicator {
    opacity: 0;
    transition: opacity 1.5s ease 2.2s;
}

body.loaded .scroll-indicator {
    opacity: 1;
}

/* Message Section */
.msg-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.msg-visual {
    width: 50%;
}

.msg-visual .img-placeholder {
    min-height: auto;
    aspect-ratio: 3/4;
}

.msg-content {
    width: 45%;
    padding-top: 0;
}

.msg-text p {
    margin-bottom: 30px;
    font-size: 0.95rem;
    text-align: left;
    color: #555;
}

.sign {
    margin-top: 60px;
    text-align: right;
    font-family: var(--font-mincho);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
}

/* People Section */
.people-section {
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.people-list {
    display: flex;
    flex-direction: column;
    gap: 200px;
}

.person-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

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

.person-img-box {
    width: 45%;
    position: relative;
}

.person-txt-box {
    width: 45%;
}

.quote {
    font-family: var(--font-mincho);
    font-size: 2rem;
    line-height: 1.5;
    margin-bottom: 40px;
    color: var(--accent-main);
    position: relative;
}

.quote::before {
    content: '“';
    position: absolute;
    top: -40px;
    left: -20px;
    font-size: 5rem;
    color: #eee;
    font-family: sans-serif;
    z-index: -1;
}

.profile {
    border-left: 1px solid var(--accent-main);
    padding-left: 20px;
    margin-bottom: 30px;
}

.p-name {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 5px;
    font-family: var(--font-mincho);
}

.p-role {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.person-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--accent-main);
    border-bottom: 1px solid var(--accent-main);
    padding-bottom: 2px;
    font-weight: 500;
}

.person-link i {
    margin-left: 5px;
    font-size: 0.8em;
    transition: 0.3s;
}

.person-link:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.person-link:hover i {
    transform: translateX(5px);
}

/* Location Section */
.location-section {
    background: linear-gradient(to bottom, #fff 0%, #FDFDFD 100%);
}

.loc-container {
    display: grid;
    grid-template-columns: 40% 55%;
    column-gap: 5%;
    row-gap: 0;
    margin-bottom: 80px;
    align-items: start;
}

.loc-container .section-header {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    margin-bottom: 40px;
}

.loc-container .msg-text {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.loc-container .loc-visual-area {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
    margin-top: 0;
    width: 100%;
}

.loc-visual-area .img-placeholder {
    aspect-ratio: 16/10;
}

.access-info {
    width: 100%;
    border-top: 1px solid var(--accent-sub);
    padding-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: baseline;
}

.access-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-family: var(--font-mincho);
    color: var(--accent-main);
}

.access-time {
    font-size: 4.5rem;
    line-height: 1;
    font-weight: 400;
}

.access-time small {
    font-size: 1rem;
    margin-left: 5px;
    font-family: var(--font-gothic);
    font-weight: 300;
    color: #888;
}

.access-label {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: #555;
    margin-bottom: 10px;
    font-family: var(--font-gothic);
}

/* Works Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: stretch;
}

a.project-card {
    display: flex;
    flex-direction: column;
    color: inherit;
    position: relative;
    transition: 0.4s;
    padding-bottom: 40px;
    border-bottom: 1px solid transparent;
    height: 100%;
}

a.project-card:hover {
    border-bottom: 1px solid var(--accent-sub);
}

.pj-img {
    margin-bottom: 30px;
    width: 100%;
}

.pj-img .img-placeholder {
    width: 100%;
    padding-top: 62.5%;
    position: relative;
    display: block;
    overflow: visible;
}

.pj-img .img-placeholder img {
    position: absolute;
    top: 8px;
    left: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    object-fit: cover;
}

a.project-card:hover .pj-img .img-placeholder::after {
    top: 10px;
    right: 10px;
}

.pj-cat {
    font-size: 0.7rem;
    color: var(--accent-main);
    border: 1px solid var(--accent-main);
    padding: 6px 16px;
    display: inline-table;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
    background: transparent;
    border-radius: 0;
    align-self: flex-start;
}

.pj-title {
    font-family: var(--font-mincho);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.5;
}

.pj-desc {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.9;
    margin-top: auto;
}

/* Data & Environment Section */
.data-section {
    background: #fff;
    padding: 100px 0;
    border-bottom: 1px solid #f0f0f0;
}

.data-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0 auto 60px;
    gap: 30px;
}

.data-item {
    text-align: center;
    width: 30%;
    position: relative;
    border: 1px solid var(--accent-sub);
    padding: 50px 20px;
    transition: 0.4s ease;
    background: #fff;
}

.data-item:hover {
    border-color: var(--accent-main);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.data-val {
    display: block;
    font-family: var(--font-mincho);
    font-size: 4rem;
    color: var(--accent-main);
    line-height: 1;
    margin-bottom: 15px;
}

.data-lbl {
    display: block;
    font-size: 0.9rem;
    color: #666;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.training-banner {
    background: #F8F8F8;
    padding: 80px;
    text-align: center;
    position: relative;
    border: 1px solid #eee;
    border-radius: 0;
    width: 100%;
    margin: 0 auto;
}

.training-banner h3 {
    color: var(--text-color);
}

/* Recruit Info Section */
.entry-section {
    text-align: center;
    padding-bottom: 150px;
}

.info-link-area {
    margin-bottom: 100px;
    padding: 60px;
    background: #fff;
    display: inline-block;
    width: 100%;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    border-left: none;
    border-right: none;
    border-radius: 0;
}

.btn-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
}

@media (max-width: 768px) {
    .btn-wrap {
        justify-content: center;
        flex-direction: column;
        gap: 1em;
    }
}

.btn-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 80px;
    background: var(--accent-main);
    color: #fff;
    border-radius: 0;
    font-family: var(--font-gothic);
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    animation: none;
    border: 1px solid var(--accent-main);
}

.btn-circle:hover {
    transform: translateY(-5px);
    background: #fff;
    color: var(--accent-main);
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.1);
}

.btn-circle:nth-child(2) {
    background: var(--accent-darkgold);
    border: 1px solid #8A6F42;
}

.btn-circle:nth-child(2):hover {
    background: #fff;
    color: var(--accent-darkgold);
}

.btn-circle span {
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 15px;
    pointer-events: none;
}

.btn-circle span small {
    font-size: 0.7rem;
    opacity: 0.7;
    font-weight: 300;
}

@media (max-width: 1440px) {
    .mv-visual-area {
        width: calc(100% - 100px);
        left: 30px;
    }

    .mv-main-copy {
        font-size: 4rem;
        right: 8%;
    }
}

@media (max-width: 768px) {
    .mv {
        height: 90vh;
    }

    .mv-visual-area {
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        transform: none;
        margin-top: 0;
        padding: 0 20px;
    }

    .mv-visual-area .img-placeholder::after {
        display: none;
    }

    .mv-visual-area .img-placeholder img.base-img {
        object-fit: contain !important;
        object-position: center 20em !important;
        transform: none !important;
        transition: none !important;
    }

    body.loaded .mv-visual-area .img-placeholder img.base-img {
        transform: none !important;
    }

    .mv-copy-area {
        right: auto;
        right: calc(50% - 8em);
        top: 9em;
        transform: none;
    }

    .mv-main-copy {
        font-size: min(10vw, 2.5rem);
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
        line-height: 1.4;
        white-space: normal;
    }

    .mv-main-copy>span:first-child {
        transform: none;
        display: inline;
    }

    .mv-main-copy>span:last-child {
        margin-top: 0;
        display: inline;
    }

    .mv-sub {
        bottom: 30px;
        left: 20px;
        width: calc(100% - 40px);
    }

    .mv-sub-inner {
        padding: 20px;
        width: 100%;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 100%);
    }

    .mv-sub-en {
        font-size: 0.7rem;
    }

    .mv-sub-year {
        font-size: 2.5rem;
    }

    .scroll-indicator {
        display: none;
    }

    .msg-container {
        flex-direction: column;
        gap: 40px;
    }

    .msg-visual,
    .msg-content {
        width: 100%;
    }

    .people-list {
        gap: 100px;
    }

    .person-row {
        flex-direction: column;
        gap: 30px;
    }

    .person-row:nth-child(even) {
        flex-direction: column;
    }

    .person-img-box a {
        pointer-events: none;
    }

    .person-img-box,
    .person-txt-box {
        width: 100%;
    }

    .quote {
        font-size: 1.4rem;
    }

    .loc-container {
        grid-template-columns: 100%;
        grid-template-rows: auto;
        gap: 40px;
        margin-bottom: 40px;
    }

    .loc-container .section-header {
        grid-column: 1 / -1;
        grid-row: 1;
        margin-bottom: 20px;
    }

    .loc-container .msg-text {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .loc-container .loc-visual-area {
        grid-column: 1 / -1;
        grid-row: 3;
    }

    .loc-visual-area {
        margin-bottom: 40px;
    }

    .access-info {
        gap: 40px;
        justify-content: flex-start;
    }

    .access-time {
        font-size: 3.5rem;
    }

    .access-item {
        width: 100%;
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
    }

    .access-label {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .data-wrapper {
        justify-content: center;
        gap: 20px;
    }

    .data-item {
        width: 100%;
        margin-bottom: 20px;
        padding: 40px;
    }

    .btn-circle {
        width: 100%;
        max-width: 300px;
    }

    .training-banner {
        padding: 40px 20px !important;
    }

    .banner-title {
        line-height: 1.4 !important;
    }

    .info-link-area {
        padding: 40px 20px !important;
        margin-bottom: 60px !important;
    }

    .info-link-text {
        line-height: 1.5 !important;
    }

    .entry-message {
        line-height: 1.5 !important;
    }
}