@charset "UTF-8";

/* ==========================================
   50周年特設ページ専用スタイル
   ========================================== */

/* 大画面でanniv-heroの外側も白背景に */
.page-anniversary {
    background-color: #fff;
}

.serif {
    font-family: "Noto Serif JP", serif;
}

.sans {
    font-family: "Noto Sans JP", sans-serif;
}

.text-white {
    color: #fff !important;
}

/* ヘッダー調整 */
/*
.page-anniversary .header {
    background: transparent;
    box-shadow: none;
}

.page-anniversary .header.scrolled {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-anniversary .logo-white {
    display: block;
}

.page-anniversary .logo-color {
    display: none;
}

.page-anniversary .header.scrolled .logo-white {
    display: none;
}

.page-anniversary .header.scrolled .logo-color {
    display: block;
}

.page-anniversary .nav-list a {
    color: #fff;
}

.page-anniversary .header.scrolled .nav-list a {
    color: #333;
}

.page-anniversary .hamburger-icon span {
    background: #fff;
}

.page-anniversary .header.scrolled .hamburger-icon span {
    background: #0066CC;
}
*/

.page-anniversary .page-hero{
    height: 475px;
}

/* ==========================================
   Hero Section
   ========================================== */
.anniv-hero {
    position: relative;
    min-height: 750px;
    background-color: #fff;
    color: #333;
    padding-top: 2rem;
    /* 修正: overflow: hidden を削除してサブタイトルが見えるように */
    overflow: visible;
    padding-bottom: min(8vw, 144px);
    /* 大画面でのバランス調整 */
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

.anniv-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* --- 1. 上部：タイトルエリア --- */
.anniv-hero-top-group {
    position: relative;
    z-index: 100;
    width: 100%;
    text-align: center;
    margin-top: max(-26vw, -375px); /* 上限を設けてヘッダーを突き抜けないように */
}

/* メインタイトル */
.anniv-hero-main-title {
    display: inline-block;
    text-align: left;
    font-family: "Noto Serif JP", serif;
    font-weight: 700;
    line-height: 1;
    color: #1a1a1a;
    font-size: clamp(3.33rem, 10vw, 8.89rem);
    /* font-size: clamp(3.67rem, 11vw, 9.78rem); */
    letter-spacing: 0.02em;
}

.anniv-hero-main-title span {
    display: block;
}

.anniv-hero-main-title span.year {
    display: inline-block;
    letter-spacing: 0.05em;
    position: relative; /* サブタイトルの配置基準 */
}

/* サブタイトル (未来への希望と挑戦) - 2050の右横に配置 */
.anniv-hero-sub-title {
    position: absolute;
    left: 100%;
    bottom: max(-4vw, -72px);
    margin-left: 25px;
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    /* font-size: clamp(1rem, 2.2vw, 2rem); */
    font-size: clamp(1rem, 4.2vw, 4rem);
    color: #1a1a1a;
    letter-spacing: 0.25em;
    line-height: 1.25;
    text-align: left;
    white-space: nowrap;
}

.anniv-hero-sub-title br {
    display: block;
}


/* --- 2. 下部：メッセージエリア --- */
.anniv-hero-bottom-group {
    position: relative;
    z-index: 5;
    width: 100%;
    padding-top: min(10vw, 180px);
    /* 修正: 左側の余白に上限を設ける */
    padding-left: min(22vw, 450px);
    display: block;
}

.anniv-hero-desc {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    line-height: 2.4;
    color: #333;
    margin-bottom: 50px;
    letter-spacing: 0.05em;

    width: 100%;
    max-width: 600px;
}

.anniv-hero-desc p {
    margin-bottom: 7px;
    font-size: clamp(16px, 1.5vw, 22px);
}

.anniv-hero-lead {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    /* 修正: フォントサイズ調整 */
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    line-height: 1.6;
    color: #1a1a1a;
    letter-spacing: 0.05em;
}

.anniv-hero-lead p{
    font-size: clamp(24px, 2.5vw, 36px);
}

/* --- 地球画像 (右下固定) --- */
.anniv-hero-earth {
    position: absolute;
    /* bottomではなくtopで位置調整してヘッダーとの間にスペースを作る */
    bottom: 0;
    right: 0;
    width: 45vw;
    max-width: 725px; /* 大画面でも適切なサイズに */
    z-index: 1;
    pointer-events: none;
    line-height: 0;
}

.anniv-hero-earth img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
    transform-origin: bottom right;
}

/* --- スクロールインジケーター --- */
.anniv-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #333;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.anniv-scroll-indicator::after {
    content: '';
    width: 1px;
    height: 60px;
    background: #333;
    animation: scrollLine 2s infinite;
}

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

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

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

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


/* --- レスポンシブ対応 --- */
@media (max-width: 1024px) {
    .anniv-hero-top-group {
        margin-top: -80px;
    }

    .anniv-hero-main-title {
        display: block;
        text-align: center;
    }
    
    /* タブレット以下ではサブタイトルを下に配置 */
    .anniv-hero-sub-title {
        position: static;
        display: block;
        margin-left: 0;
        margin-top: 20px;
        text-align: center;
        white-space: normal;
    }

    .anniv-hero-sub-title br {
        display: none;
    }

    .anniv-hero-bottom-group {
        padding-left: 5vw;
    }
}

@media (max-width: 768px) {
    .anniv-hero {
        padding-bottom: 40vw;
    }

    .anniv-hero-top-group {
        margin-top: -185px;
    }

    .anniv-hero-main-title {
        font-size: 3.5rem;
        margin-bottom: 10px;
        line-height: 1.1;
    }

    .anniv-hero-sub-title {
        font-size: 1.1rem;
    }

    .anniv-hero-bottom-group {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 40px;
    }

    .anniv-hero-earth {
        width: 80vw;
        max-width: none;
    }
}

/* ==========================================
   Message Section
   ========================================== */
.anniv-message {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    color: #fff;

    /* 背景画像設定 */
    background-image: url('../img/anniversary/anniversary-ceo-message-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 背景文字 (MESSAGE) - 右上配置 */
.anniv-message-bg-text {
    position: absolute;
    top: 5;
    right: -40px;
    left: auto;
    transform: none;

    font-size: clamp(6rem, 20vw, 13rem);
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    color: #FFFFFF;
    opacity: 0.08;
    white-space: nowrap;
    pointer-events: none;
    line-height: 1;
    z-index: 0;
}

.anniv-message-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    z-index: 1;
    max-width: 1200px;
}

/* --- 左側：社長画像エリア --- */
.anniv-message-img {
    flex: 0 0 320px;
    position: relative;
    text-align: left;
}

.anniv-message-img img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 1.5rem;
}

/* 社長名・肩書きエリア */
.anniv-ceo-info {
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.6;
}

.company-name {
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0.2rem;
    opacity: 0.9;
}

.ceo-name {
    font-size: 1.1rem;
    font-weight: 500;
}

/* --- 右側：テキストコンテンツエリア --- */
.anniv-message-content {
    flex: 1;
    text-align: center;
}

/* タイトルエリア */
.anniv-section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 500;
    margin-bottom: 3rem;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.anniv-section-title .sub {
    display: block;
    font-size: 0.5em;
    font-weight: 400;
    opacity: 1;
    margin-top: 1rem;
    letter-spacing: 0.1em;
    font-family: "Roboto", sans-serif;
}

/* 本文エリア */
.anniv-message-body {
    text-align: left;
    font-size: 0.95rem;
    line-height: 2;
    font-weight: 400;
    opacity: 0.95;
}

.anniv-message-body p {
    margin-bottom: 1.5rem;
}
.anniv-message-content .anniv-message-body p{
    margin-bottom: 0;
}

.anniv-message-body p:last-child {
    margin-bottom: 0;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .anniv-message {
        padding: 60px 0;
    }

    .anniv-message-inner {
        flex-direction: column;
        gap: 40px;
    }

    .anniv-message-img {
        flex: 0 0 auto;
        width: 80%;
        max-width: 320px;
    }

    .anniv-message-bg-text {
        font-size: 20vw;
        top: 20px;
    }

    .anniv-section-title {
        margin-bottom: 2rem;
    }
}

/* ==========================================
   Movie Section
   ========================================== */
.anniv-movie {
    position: relative;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;

    background: linear-gradient(to bottom, rgba(232, 238, 242, 0) 0%, #E8EEF2 100%);
}

/* 背景文字 (MOVIE) */
.anniv-movie-bg-text {
    position: absolute;
    top: 20px;
    left: 4%;
    font-size: clamp(5rem, 15vw, 12rem);
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    line-height: 1;
    color: #005095;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.anniv-movie .container {
    position: relative;
    z-index: 1;
}

.anniv-section-title-center {
    font-weight: 500;
}

.anniv-section-title-center-bottom {
    font-weight: 700;
}
/* 動画コンテナ */
.anniv-movie-container {
    max-width: 900px;
    margin: 40px auto 0;
    aspect-ratio: 16 / 9;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
}

.anniv-movie-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.anniv-movie-container:hover .anniv-movie-thumb {
    opacity: 0.5;
}

.anniv-play-btn {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.anniv-play-btn::after {
    content: '';
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #cc0000;
    margin-left: 4px;
}

.anniv-movie-container:hover .anniv-play-btn {
    transform: scale(1.1);
}

/* 動画要素 */
.anniv-movie-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .anniv-movie {
        padding: 80px 0;
    }

    .anniv-movie-bg-text {
        top: 10px;
        left: 20px;
        font-size: 4rem;
    }
}

/* ==========================================
   Concept Section (ロゴに込めた想い)
   ========================================== */
.anniv-concept {
    padding: 100px 0;
    background: #fff;
    color: #333;
}

/* タイトルエリア */
.anniv-concept .anniv-section-title-center {
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1.5rem;
    text-align: center;
}

.anniv-concept .anniv-section-title-center::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: #999;
}

/* コンテンツ全体を中央寄せシングルカラムに */
.anniv-concept-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* 各アイテム（ロゴブロック） */
.anniv-concept-item {
    width: 100%;
}

/* 見出し (● ブランドロゴ) */
.anniv-concept-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.anniv-concept-item-title::before {
    content: '●';
    color: #0066CC;
    font-size: 0.8em;
}

/* 画像エリア */
.anniv-concept-img {
    margin-bottom: 3rem;
    text-align: center;
    padding: 0 20px;
}

.anniv-concept-img img {
    max-width: 100%;
    height: auto;
}

/* 説明文ボックス (グレー背景) */
.anniv-concept-desc-box {
    background: #EDF2F7;
    padding: 2.5rem;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.8;
}

.anniv-concept-desc-box p {
    margin-bottom: 1rem;
}

.anniv-concept-desc-box p:last-child {
    margin-bottom: 0;
}

/* 青文字ハイライト */
.text-highlight-blue {
    color: #0066CC;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .anniv-concept-container {
        gap: 60px;
    }

    .anniv-concept-desc-box {
        padding: 1.5rem;
        font-size: 0.9rem;
    }
}

/* ==========================================
   Future Vision Section (Infinite Loop)
   ========================================== */
.anniv-vision {
    padding: 80px 0 120px;

    background: linear-gradient(to bottom left, #68BDEB, #7D83BF);

    color: #fff;
    text-align: center;
    overflow: hidden;
}

.anniv-section-title-center {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.anniv-vision-sub {
    margin-bottom: 60px;
    font-size: 1.1rem;
    opacity: 0.9;
    letter-spacing: 0.1em;
}

/* ループアニメーションの枠 */
.anniv-vision-loop-area {
    width: 100%;
    overflow: hidden;
}

/* 動くトラック */
.anniv-vision-track {
    display: flex;
    width: max-content;
    animation: visionLoop 120s linear infinite;
}

/* ループ中の各アイテム */
.anniv-vision-item {
    width: 27.5vw;
    min-width: 300px;
    margin: 0 0.5vw;
    flex-shrink: 0;
    text-align: center;
}

/* ラベル */
.anniv-vision-label {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1;
}

/* 画像エリア */
.anniv-vision-img {
    width: 100%;
    aspect-ratio: 280 / 760;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: #000;
}

.anniv-vision-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes visionLoop {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .page-anniversary .page-hero{
        height: 250px;
    }
    .anniv-hero-title {
        font-size: 2.8rem;
    }

    .anniv-message-inner {
        flex-direction: column;
        gap: 30px;
    }

    .anniv-concept-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .anniv-concept-block {
        padding: 30px;
    }
}
