@charset "UTF-8";

/* --- RESET & BASIC DESIGN --- */
* { box-sizing: border-box; }
body, h1, h2, h3, p, ul, li { margin: 0; padding: 0; }

body {
    font-family: 'Oswald', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- HEADER (LOGO & HAMBURGER) --- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 20px 40px;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    pointer-events: none;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.1em;
    pointer-events: auto;
}

/* ハンバーガーメニューボタン */
.burger-btn {
    width: 50px;
    height: 50px;
    background: #000;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    pointer-events: auto;
    border: 1px solid #333;
}
.burger-btn span {
    display: block;
    width: 30px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}
.burger-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger-btn.active span:nth-child(2) { opacity: 0; }
.burger-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* 全画面メニュー */
.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    z-index: 9998;
    display: none;
    justify-content: center;
    align-items: center;
}
.global-nav ul { text-align: center; }
.global-nav li { margin: 30px 0; opacity: 0; transform: translateY(20px); transition: 0.5s; }
.global-nav.open li { opacity: 1; transform: translateY(0); }

.global-nav a {
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    color: #666;
}
.global-nav a:hover { color: #fff; letter-spacing: 5px; }


/* --- ① HERO SLIDER (全画面) --- */
#hero {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* --- スライダー操作用矢印 --- */
.slider-arrow {
    position: absolute;
    top: 0;
    width: 15%; /* 画面の端15%をクリックエリアにする */
    height: 100%;
    z-index: 20; /* 文字より手前に配置 */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }

/* 矢印の形（CSSで作る） */
.slider-arrow::before {
    content: '';
    width: 30px;
    height: 30px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    opacity: 0; /* 最初は隠す */
    transition: all 0.3s;
}
/* 向きの調整 */
.slider-arrow.prev::before { transform: rotate(-135deg); }
.slider-arrow.next::before { transform: rotate(45deg); }

/* ホバー時の動き */
.slider-arrow:hover { background: rgba(0,0,0,0.1); /* うっすら黒く */ }
.slider-arrow:hover::before { opacity: 1; /* 矢印を表示 */ }

.slide-item {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 2s ease-in-out, transform 8s linear;
}
.slide-item.active {
    opacity: 1;
    transform: scale(1);
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 10;
    text-shadow: 0 0 30px rgba(0,0,0,0.8);
}
.hero-text h2 {
    font-size: 80px;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}
.hero-text p {
    font-size: 20px;
    color: #ccc;
    letter-spacing: 0.2em;
    padding-left: 5px;
    border-left: 3px solid #d0021b;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}
.scroll-indicator p {
    font-size: 12px;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    color: #fff;
}
.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.3);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: #fff;
    animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
    0% { top: -100%; }
    100% { top: 100%; }
}


/* --- CONTENT AREA --- */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}
.section-head {
    font-size: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
    margin-bottom: 60px;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.section-head span { font-size: 14px; color: #666; letter-spacing: 0.1em; }

/* NEWS GRID */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.news-item {
    background: #111;
    border: 1px solid #222;
    transition: 0.3s;
}

/* リンク化に伴うスタイル調整 */
a.news-item {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-item:hover { border-color: #d0021b; transform: translateY(-5px); }

.news-img {
    width: 100%;
    height: 200px;
    background-color: #333;
    overflow: hidden;
}
.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.news-item:hover .news-img img { transform: scale(1.1); }

.news-text { padding: 20px; }
.news-date { font-size: 12px; color: #666; margin-bottom: 10px; display: block; }
.news-title { font-size: 18px; line-height: 1.4; color: #fff; }


/* --- ② FORM --- */
.form-section {
    background: #111;
    padding: 60px;
    border: 1px solid #222;
    margin-top: 100px;
}
.form-group { margin-bottom: 30px; }
.form-group label {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}
input, textarea {
    width: 100%;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    padding: 15px;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    border-radius: 0;
}
input:focus, textarea:focus {
    border-color: #fff;
    outline: none;
}

#error-area {
    color: #d0021b;
    text-align: center;
    min-height: 30px;
    font-weight: bold;
    margin-bottom: 20px;
}

.btn-container { text-align: center; display: flex; justify-content: center; gap: 20px; }

.btn-main {
    padding: 15px 60px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}
.btn-main:hover {
    background: #fff;
    color: #000;
}
.btn-sub {
    padding: 15px 40px;
    border: 1px solid #666;
    background: #222;
    color: #aaa;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}
.btn-sub:hover { background: #d0021b; color: #fff; border-color: #d0021b; }


/* --- FOOTER --- */
footer {
    border-top: 1px solid #333;
    padding: 50px 20px;
    text-align: center;
    color: #666;
    font-size: 12px;
    letter-spacing: 0.2em;
    margin-top: 100px;
}

/* --- ③ PAGE TOP --- */
#pagetop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border: 1px solid #fff;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    display: none;
    background: #000;
    transition: 0.3s;
}
#pagetop:hover { background: #fff; color: #000; }

/* --- ★新規追加: Feel Alive Slider Section --- */
#feel-alive-section {
    padding: 150px 0;
    background-color: whitesmoke;
    color: #333;
}

.feel-alive-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 20px;
    
    position: relative;
    justify-content: center;
}

.feel-alive-text {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    white-space: nowrap; 
    pointer-events: none; 
}

.feel-alive-text h2 {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* スライダーのラッパー */
.slider-center-wrapper {
    display: flex;
    justify-content: center; 
    align-items: center;
    flex-grow: 1; 
    height: 400px; 
    padding-left: 40%; 
    padding-right: 5%;
    box-sizing: border-box;
}

/* 画像のスライダーエリア（枠そのもの） */
.feel-alive-slider-frame {
    position: relative;
    height: 400px; /* 高さ固定 */
    border: 15px solid #b8bfa8;
    transition: width 0.5s ease-in-out, border-color 0.5s ease-in-out;
    box-sizing: border-box;
}

.slider-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
}

.slide-fade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.slide-fade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: border-color 0.5s ease-in-out;
}
.slide-fade.active {
    opacity: 1;
    z-index: 1;
}

/* --- ★新規追加: 確認モーダルのスタイル --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #111;
    border: 1px solid #333;
    padding: 40px;
    width: 90%;
    max-width: 600px;
    color: #fff;
}

.modal-content h3 {
    font-size: 24px;
    border-bottom: 1px solid #d0021b;
    padding-bottom: 10px;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.modal-desc { margin-bottom: 30px; color: #ccc; }

.confirm-row {
    margin-bottom: 20px;
    border-bottom: 1px solid #222;
    padding-bottom: 10px;
}
.confirm-row .label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}
.confirm-row .value {
    display: block;
    font-size: 16px;
    white-space: pre-wrap;
}

.modal-btn-area {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ====================================
   ★以下、ニュース詳細ページ用の追加スタイル
   ==================================== */

/* 詳細ページではヘッダー背景を少し濃くする */
.detail-page header {
    background: rgba(0,0,0,0.9);
    border-bottom: 1px solid #333;
    pointer-events: auto; /* リンクを押せるように */
}

/* 戻るボタン */
.back-link {
    font-size: 14px;
    color: #aaa;
    border: 1px solid #666;
    padding: 5px 20px;
    margin-right: 60px; /* ハンバーガーメニューと被らないように */
}
.back-link:hover { background: #fff; color: #000; }

/* 詳細コンテンツエリア */
.detail-wrapper {
    max-width: 800px;
    margin: 120px auto 100px;
    padding: 0 20px;
}

.article-header {
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
    margin-bottom: 40px;
}
.article-date { color: #d0021b; font-size: 14px; display: block; margin-bottom: 10px; }
.article-title { font-size: 32px; line-height: 1.4; }

/* ギャラリー機能 */
.gallery-container { margin-bottom: 50px; }

.gallery-main {
    width: 100%;
    height: 350px; /* 見やすい高さに調整済み */
    background: #111;
    border: 1px solid #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-main img.show { opacity: 1; }

.thumbnail-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}
.thumb-item {
    width: 100px;
    height: 70px;
    flex-shrink: 0;
    cursor: pointer;
    opacity: 0.5;
    border: 2px solid transparent;
    transition: 0.3s;
}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.thumb-item:hover, .thumb-item.active {
    opacity: 1;
    border-color: #d0021b;
}

/* 記事本文 */
.article-body p {
    margin-bottom: 30px;
    font-size: 16px;
    color: #ccc;
    text-align: justify;
}
.article-body h3 {
    font-size: 20px;
    border-left: 4px solid #d0021b;
    padding-left: 15px;
    margin: 40px 0 20px;
}