/* =========================================
   基本リセット & フォント
   ========================================= */
:root {
    --text-color: #fff;
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Montserrat', sans-serif;
}

* { box-sizing: border-box; }

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: var(--font-jp);
    color: var(--text-color);
    background-color: #fff;
    overflow: hidden;
}

/* =========================================
   固定ヘッダー (左上のロゴ)
   ========================================= */
#global-header {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
#global-header.active { opacity: 1; pointer-events: auto; }

.header-logo {
    width: 50px;
    filter: invert(1); 
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.header-logo.is-black { filter: none; }
.header-logo:hover { transform: scale(1.1); }

/* =========================================
   ★追加★ 右上のNEWSリンク
   ========================================= */
#global-news {
    position: fixed;
    top: 30px; /* ロゴの中央くらいに合わせる */
    right: 20px;
    z-index: 100;
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff; /* デフォルトは白 (写真用) */
    text-decoration: none;
    letter-spacing: 0.1em;
    opacity: 0;
    transition: opacity 0.5s ease, color 0.3s ease;
    pointer-events: none;
}
#global-news.active { opacity: 1; pointer-events: auto; }
#global-news.is-black { color: #333; } /* 白背景ページ用 */
#global-news:hover { opacity: 0.7; }


/* =========================================
   背景固定エリア
   ========================================= */
.fixed-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 1.0s ease;
    pointer-events: none;
    filter: brightness(0.65);
}

/* ★変更★ 2ページ目 (缶の画像) */
.bg-2 { 
    background-image: url('kan.png'); 
    background-size: contain; /* 缶全体が見えるように */
    background-repeat: no-repeat;
    background-color: #000; /* 余白は黒くする */
    opacity: 0; 
}

.bg-3 { background-image: url('3.jpg'); opacity: 0; }
.bg-4 { background-image: url('4.jpg'); opacity: 0; }
.bg-5 { background-image: url('5.jpg'); opacity: 0; }
.bg-6 { background-image: url('6.jpg'); opacity: 0; }
.bg-7 { background-image: url('7.jpg'); opacity: 0; }

/* =========================================
   スライドコンテナ
   ========================================= */
.scroll-container {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory; 
    scroll-behavior: smooth;
    position: relative;
    z-index: 10;
}
.slide {
    width: 100%;
    height: 100vh;
    scroll-snap-align: start; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    position: relative;
    background-color: transparent;
}
.top-slide { background-color: #fff; }

/* =========================================
   テキストウォール
   ========================================= */
.wall-text-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    text-align: justify;
    text-align-last: left;
    word-break: break-all;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 2.0;
    letter-spacing: 0.1em;
}
.message-slide, .news-slide {
    background-color: #fff;
    color: #333;
}
.message-slide { align-items: center; }

.char-anim {
    display: inline-block;
    opacity: 0;
    white-space: pre-wrap;
}

@keyframes charFadeBlurIn {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}
.start-anim .char-anim {
    animation: charFadeBlurIn 0.8s ease forwards;
}

/* =========================================
   ニュースリスト
   ========================================= */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 800px;
    text-align: left;
}
.news-list li { border-bottom: 1px solid #eee; }
.news-list li a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 20px 0;
    text-decoration: none;
    color: #333;
    transition: opacity 0.3s ease;
}
.news-list li a:hover { opacity: 0.6; }
.news-date {
    font-family: var(--font-en);
    font-size: 0.9rem;
    color: #999;
    margin-right: 20px;
    width: 100px;
}
.news-cat {
    font-family: var(--font-en);
    font-size: 0.7rem;
    background-color: #333;
    color: #fff;
    padding: 4px 10px;
    margin-right: 20px;
    letter-spacing: 0.05em;
}
.news-title {
    flex: 1;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}
.view-all { margin-top: 50px; }
.view-all a {
    font-family: var(--font-en);
    font-size: 0.9rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    transition: opacity 0.3s ease;
    letter-spacing: 0.1em;
}

/* =========================================
   プロフィール用 (文字サイズ調整)
   ========================================= */
.profile-text {
    /* ★変更★ 文字サイズを小さく */
    font-size: 0.85rem; 
    line-height: 2.0; /* 行間は少し広めに */
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* =========================================
   共通アニメーション・その他
   ========================================= */
.hero-logo {
    width: 250px;
    max-width: 80%;
    opacity: 0;
    animation: logoSimpleBlur 2.0s ease-out forwards 0.5s;
}
@keyframes logoSimpleBlur {
    0% { opacity: 0; filter: blur(15px); }
    100% { opacity: 1; filter: blur(0); }
}

.fade-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.0s ease;
}
.fade-element.visible { opacity: 1; transform: translateY(0); }

.content-center { max-width: 500px; width: 100%; }

h2 { font-family: var(--font-en); letter-spacing: 0.1em; margin: 0 0 20px 0; }
h3 { font-family: var(--font-jp); font-size: 1.6rem; margin: 10px 0; border-bottom: 1px solid #fff; display: inline-block; padding-bottom: 5px; font-weight: 700; }
p { line-height: 2.0; font-size: 1.0rem; margin-bottom: 1rem; font-weight: 500; }
.num { font-family: var(--font-en); font-size: 4rem; font-weight: 700; color: #ddd; line-height: 1; opacity: 0.8; }
.eng-sub { font-family: var(--font-en); font-size: 0.75rem; color: #ccc; margin-bottom: 20px; display: block; letter-spacing: 0.05em; }

.footer-info {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.3);
    font-size: 0.75rem;
    color: #ddd;
}
.footer-info img { filter: invert(1); }

@media (min-width: 769px) {
    .content-center { max-width: 800px; }
    .hero-logo { width: 350px; }
    .num { font-size: 6rem; }
    .wall-text-container { font-size: 1.2rem; }
    /* PCでのプロフィール文字サイズ */
    .profile-text { font-size: 0.95rem; }
}

@media (max-width: 768px) {
    .wall-text-container { font-size: 0.95rem; padding: 15px; }
    .news-list li a { display: block; }
    .news-date, .news-cat { display: inline-block; margin-bottom: 5px; }
    .news-title { display: block; margin-top: 5px; }
}

/* =========================================
   こだわり（FEATURES）セクションの新デザイン
   ========================================= */

/* 数字 (背景に薄く置くイメージで調整) */
.num {
    font-family: var(--font-en);
    font-size: 3rem; /* 少し控えめに */
    font-weight: 700;
    color: #fff;
    opacity: 0.5; /* 半透明にして主張を抑える */
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

/* メイン：英語タイトル */
.feature-en {
    font-family: var(--font-en);
    font-size: 2.5rem; /* ドンと大きく */
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase; /* 強制的に大文字 */
    margin: 0 0 15px 0;
    letter-spacing: 0.05em;
    /* 以前のボーダー設定などをリセット */
    border: none;
    padding: 0;
    display: block;
}

/* サブ：日本語タイトル */
.feature-jp {
    display: inline-block;
    font-family: var(--font-jp);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    border-top: 1px solid rgba(255,255,255,0.5); /* 上に細い線 */
    padding-top: 10px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* 本文 (変更なしですがバランスのため再掲) */
.desc-text {
    color: #fff;
    font-size: 0.95rem;
    line-height: 2.0;
    font-weight: 400;
    opacity: 0.9;
}

/* PCサイズでの調整 */
@media (min-width: 769px) {
    .num { font-size: 4rem; margin-bottom: 20px;}
    .feature-en { font-size: 3.5rem; }
    .feature-jp { font-size: 1.1rem; }
}