/* ==========================================================================
   ベース設定 & テーマカラー
   ========================================================================== */
   :root {
    --bg-dark: #030914;       
    --bg-card: #08142a;       
    --bg-card-light: #0d1f3d; 
    --gold-main: #d4af37;     
    --gold-light: #fdf5c4;    
    --gold-gradient: linear-gradient(135deg, #a37c24 0%, #fef7c9 50%, #cca130 100%);
    --text-white: #ffffff;
    --text-gray: #94a3b8;
    --border-glow: rgba(212, 175, 55, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Noto Sans JP', sans-serif;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
}

.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   1. オープニング演出
   ========================================================================== */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-logo-wrap {
    position: relative;
    width: 320px;
    max-width: 80%;
    text-align: center;
}

.intro-logo {
    width: 100%;
    height: auto;
    opacity: 0;
    transform: scale(0.75);
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.4));
}

.intro-light {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(254,247,201,0.7) 0%, rgba(212,175,55,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}

/* ==========================================================================
   ヘッダー ＆ ハンバーガーボタンベース
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(3, 9, 20, 0.95), rgba(3, 9, 20, 0));
    backdrop-filter: blur(10px);
    opacity: 0;
}

.brand-name {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.6em;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-nav a {
    color: var(--text-white);
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.header-nav a:hover { color: var(--gold-main); }
.header-nav a.nav-cta { background: var(--gold-gradient); color: #000; padding: 10px 20px; border-radius: 2px; font-weight: 700; }
.header-nav a.nav-cta:hover { box-shadow: 0 0 15px rgba(212, 175, 55, 0.4); transform: translateY(-1px); }

/* PC用メニューボタンスタイル（通常時は非表示） */
.menu-toggle {
    display: none;
    position: relative;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 200;
}
.menu-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold-gradient);
    transition: all 0.4s ease;
}
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 11px; }
.menu-toggle span:nth-child(3) { bottom: 0; }

/* ハンバーガーアクティブ時のアニメーション（X印に変形） */
.menu-toggle.is-active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }


/* ==========================================================================
   セクション共通設定
   ========================================================================== */
.scroll-section {
    position: relative;
    min-height: 100vh;
    padding: 120px 0;
    display: flex;
    align-items: center;
}

.section-title-wrap { margin-bottom: 60px; }
.subtitle { font-family: 'Cinzel', serif; color: var(--gold-main); font-size: 0.95rem; letter-spacing: 0.4em; display: block; margin-bottom: 12px; }
.section-title { font-size: 2.4rem; font-weight: 700; letter-spacing: 0.1em; position: relative; display: inline-block; padding-bottom: 18px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 60px; height: 2px; background: var(--gold-gradient); }
.reveal-item { opacity: 0; transform: translateY(40px); }

/* ==========================================================================
   2. ヒーローセクション
   ========================================================================== */
#hero { overflow: hidden; }
.hero-content { max-width: 850px; margin-left: 6%; position: relative; z-index: 2; }
.hero-sub { font-family: 'Cinzel', serif; color: var(--gold-main); letter-spacing: 0.5em; font-size: 1.1rem; margin-bottom: 25px; }
.hero-title { font-size: 4.2rem; font-weight: 700; line-height: 1.4; letter-spacing: 0.08em; margin-bottom: 35px; }
.hero-desc { color: var(--text-gray); font-size: 1.15rem; line-height: 1.9; max-width: 650px; margin-bottom: 60px; font-weight: 300; }

.scroll-hint { display: inline-block; text-align: center;}
.scroll-hint span { font-size: 0.75rem; letter-spacing: 0.25em; color: var(--gold-main); font-family: 'Cinzel', serif; }
.arrow-line { width: 1px; height: 70px; background: linear-gradient(to bottom, var(--gold-main), transparent); margin: 12px auto 0; position: relative; overflow: hidden; }
.arrow-line::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 20px; background: var(--text-white); animation: dropScroll 2.2s infinite ease-in-out; }

@keyframes dropScroll { 0% { transform: translateY(-20px); } 100% { transform: translateY(70px); } }

.glow-sphere { position: absolute; top: 15%; right: -15%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(212,175,55,0.06) 0%, rgba(3,9,20,0) 70%); z-index: 1; pointer-events: none; }
.glow-sphere.secondary { top: 50%; left: -20%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(24,77,163,0.1) 0%, rgba(3,9,20,0) 70%); }

/* ==========================================================================
   3. ニュース＆トピックス
   ========================================================================== */
#news { min-height: auto; padding: 60px 0; background-color: rgba(8, 20, 42, 0.3); border-top: 1px solid rgba(255,255,255,0.03); border-bottom: 1px solid rgba(255,255,255,0.03); }
.news-wrapper { display: grid; grid-template-columns: 25% 75%; align-items: start; }
.news-head h3 { font-size: 1.8rem; letter-spacing: 0.1em; margin-top: 5px; }
.news-list { display: flex; flex-direction: column; }
.news-item { display: flex; align-items: center; padding: 20px 10px; border-bottom: 1px solid rgba(255,255,255,0.08); text-decoration: none; color: inherit; transition: background 0.3s; }
.news-item:hover { background-color: rgba(255,255,255,0.02); }
.news-item:last-child { border-bottom: none; }
.news-date { font-family: 'Cinzel', serif; color: var(--text-gray); font-size: 0.9rem; width: 120px; }
.news-badge { font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 2px; margin-right: 20px; letter-spacing: 0.05em; text-align: center; width: 80px; }
.news-badge.status-press { background-color: rgba(212, 175, 55, 0.15); color: var(--gold-main); border: 1px solid rgba(212, 175, 55, 0.3); }
.news-badge.status-info { background-color: rgba(255,255,255,0.1); color: var(--text-white); border: 1px solid rgba(255,255,255,0.2); }
.news-badge.status-recruit { background-color: rgba(24, 77, 163, 0.2); color: #60a5fa; border: 1px solid rgba(24, 77, 163, 0.4); }
.news-title { font-size: 0.95rem; color: #e2e8f0; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ==========================================================================
   4. ビジョン
   ========================================================================== */
.vision-main-text .lead { font-size: 1.5rem; line-height: 1.8; color: var(--text-white); margin-bottom: 30px; font-weight: 500; }
.vision-main-text p { font-size: 1.1rem; line-height: 2; color: var(--text-gray); max-width: 900px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 70px; }
.value-card { background: rgba(8, 20, 42, 0.4); border-left: 2px solid var(--gold-main); padding: 35px 30px; }
.value-card h4 { font-family: 'Cinzel', serif; color: var(--gold-main); font-size: 0.9rem; margin-bottom: 10px; }
.value-card h5 { font-size: 1.3rem; margin-bottom: 15px; }
.value-card p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.7; }

/* ==========================================================================
   5. リーダーシップ（メッセージセクション）
   ========================================================================== */
.message-container { display: flex; flex-direction: column; gap: 60px; }

.member-photo-wrap {
    position: relative;
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 5px;
    background-color: rgba(3, 9, 20, 0.5);
    overflow: hidden;
}
.dummy-photo {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f2446 0%, #050f21 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Cinzel', serif;
    color: var(--gold-main);
    font-weight: 700;
    border-radius: 2px;
}

.ceo-block {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(8,20,42,0.2) 100%);
    border: 1px solid rgba(255,255,255,0.03);
    padding: 50px;
    border-radius: 4px;
}
.member-info-meta { display: flex; align-items: center; gap: 30px; margin-bottom: 35px; }
.ceo-thumb { width: 100px; height: 100px; flex-shrink: 0; }
.member-post { color: var(--gold-main); font-size: 0.85rem; letter-spacing: 0.2em; display: block; margin-bottom: 5px; font-weight: 700;}
.member-name { font-size: 1.8rem; letter-spacing: 0.05em; }
.member-name .en-name { font-family: 'Cinzel', serif; font-size: 0.9rem; color: var(--text-gray); margin-left: 15px; font-weight: 400; }
.message-body h4 { font-size: 1.3rem; color: var(--text-white); margin-bottom: 20px; line-height: 1.5; font-weight: 700; }
.message-body p { color: var(--text-gray); line-height: 1.9; font-size: 1.05rem; margin-bottom: 20px; }

.executives-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.executive-card {
    background-color: rgba(8, 20, 42, 0.4);
    border: 1px solid rgba(255,255,255,0.02);
    padding: 35px;
    border-radius: 4px;
    transition: border-color 0.3s;
}
.executive-card:hover { border-color: rgba(212, 175, 55, 0.15); }
.exec-head { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; }
.exec-thumb { width: 75px; height: 75px; flex-shrink: 0; } 
.exec-name-meta .member-name { font-size: 1.3rem; margin-top: 2px; }
.exec-message { color: var(--text-gray); font-size: 0.95rem; line-height: 1.8; position: relative; font-style: italic; }

/* ==========================================================================
   6. 私たちの強み
   ========================================================================== */
.strengths-large-grid { display: flex; flex-direction: column; gap: 30px; }
.strength-block { background-color: var(--bg-card); border: 1px solid rgba(255, 255, 255, 0.03); padding: 45px; border-radius: 4px; display: grid; grid-template-columns: 35% 65%; align-items: center; transition: border-color 0.4s; }
.strength-block:hover { border-color: var(--border-glow); }
.strength-meta { display: flex; align-items: center; gap: 25px; }
.str-num { font-family: 'Cinzel', serif; font-size: 2.5rem; font-weight: 700; color: var(--gold-main); opacity: 0.3; }
.strength-meta h3 { font-size: 1.35rem; line-height: 1.5; padding-right: 20px; }
.str-desc { color: var(--text-gray); font-size: 1rem; line-height: 1.8; border-left: 1px solid rgba(255,255,255,0.1); padding-left: 40px; }

/* ==========================================================================
   7. 今取り組んでいること
   ========================================================================== */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.project-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 40px 30px;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s;
}
.project-card:hover { transform: translateY(-5px); border-color: rgba(212,175,55,0.2); }
.project-tag { font-family: 'Cinzel', serif; color: var(--gold-main); font-size: 0.8rem; letter-spacing: 0.1em; margin-bottom: 15px; }
.project-status { position: absolute; top: 35px; right: 30px; font-size: 0.7rem; font-weight: 700; background-color: rgba(212, 175, 55, 0.1); border: 1px solid var(--gold-main); color: var(--gold-main); padding: 3px 10px; border-radius: 20px; }
.project-card h4 { font-size: 1.3rem; margin-bottom: 15px; line-height: 1.4; color: #fff; }
.project-card p { color: var(--text-gray); font-size: 0.95rem; line-height: 1.7; }

/* ==========================================================================
   8. 展開事業
   ========================================================================== */
.services-list-rich { display: flex; flex-direction: column; gap: 30px; }
.service-panel { background: linear-gradient(90deg, var(--bg-card) 0%, rgba(8,20,42,0.1) 100%); border: 1px solid rgba(255,255,255,0.04); border-radius: 4px; padding: 45px; display: grid; grid-template-columns: 30% 70%; }
.panel-num { font-family: 'Cinzel', serif; color: var(--gold-main); font-size: 0.85rem; letter-spacing: 0.2em; display: block; margin-bottom: 10px; }
.service-panel h3 { font-size: 1.8rem; margin-bottom: 8px; }
.panel-sub { font-family: 'Cinzel', serif; color: var(--text-gray); font-size: 0.8rem; letter-spacing: 0.1em; }
.panel-body { padding-left: 50px; display: flex; flex-direction: column; justify-content: center; }
.panel-desc { font-size: 1.05rem; line-height: 1.8; color: var(--text-gray); margin-bottom: 25px; }
.panel-tags { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.panel-tags li { background-color: rgba(212, 175, 55, 0.05); border: 1px solid rgba(212, 175, 55, 0.12); color: var(--gold-main); padding: 6px 16px; font-size: 0.8rem; border-radius: 20px; }

/* ==========================================================================
   9. 会社情報
   ========================================================================== */
.company-table { width: 100%; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.table-row { display: flex; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 30px 15px; }
.table-th { width: 25%; font-weight: 700; color: var(--gold-main); font-size: 1.05rem; }
.table-td { width: 75%; color: var(--text-gray); line-height: 1.8; font-size: 1rem; }

/* ==========================================================================
   10. お問い合わせ
   ========================================================================== */
.contact-form { max-width: 850px; margin: 0 auto; background-color: var(--bg-card); padding: 50px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.02); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.form-group { margin-bottom: 30px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 12px; color: var(--gold-main); }
.form-group input, .form-group textarea { width: 100%; padding: 16px; background-color: rgba(3, 9, 20, 0.7); border: 1px solid rgba(255, 255, 255, 0.08); color: var(--text-white); font-family: inherit; border-radius: 2px; transition: all 0.3s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--gold-main); box-shadow: 0 0 15px rgba(212, 175, 55, 0.15); }
.submit-btn { width: 100%; padding: 20px; background: var(--gold-gradient); border: none; color: #000; font-weight: 700; font-size: 1.05rem; cursor: pointer; border-radius: 2px; transition: all 0.3s; letter-spacing: 0.15em; }
.submit-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4); }

.site-footer { text-align: center; padding: 50px 0; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.85rem; color: var(--text-gray); }
.footer-brand { font-family: 'Cinzel', serif; font-size: 1.4rem; letter-spacing: 0.4em; margin-bottom: 15px; background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }


/* ==========================================================================
   【強化】レスポンス・メディアクエリ（1024px以下 / 768px以下）
   ========================================================================== */

/* タブレットサイズ環境 */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .news-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .executives-grid { grid-template-columns: 1fr; gap: 30px; }
    .strength-block { grid-template-columns: 1fr; gap: 20px; padding: 40px 30px; }
    .str-desc { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); padding-left: 0; padding-top: 20px; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .service-panel { grid-template-columns: 1fr; gap: 25px; padding: 35px; }
    .panel-body { padding-left: 0; }
}

/* スマートフォン環境 */
@media (max-width: 768px) {
    /* ハンバーガーボタンを表示 */
    .menu-toggle { display: block; }

    /* ナビゲーションをフルスクリーンオーバーレイ化 */
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%; /* 初期状態は画面の外側に隠す */
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: rgba(3, 9, 20, 0.98);
        border-left: 1px solid rgba(212,175,55,0.15);
        backdrop-filter: blur(20px);
        padding: 100px 40px 40px;
        transition: right 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    /* JSで .is-active が付与されたら画面内に出現 */
    .header-nav.is-active { right: 0; }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }

    .header-nav a {
        margin-left: 0;
        font-size: 1.1rem;
        width: 100%;
        padding: 5px 0;
    }
    .header-nav a.nav-cta {
        text-align: center;
        margin-top: 15px;
    }

    /* 各セクション・テキストのスマホ最適化 */
    .site-header { padding: 20px 5%; }
    .hero-content { margin-left: 4%; }
    .hero-title { font-size: 2.3rem; line-height: 1.3; }
    .hero-desc { font-size: 0.95rem; line-height: 1.8; margin-bottom: 40px; }
    
    .scroll-section { padding: 80px 0; }
    .section-title { font-size: 1.8rem; }
    
    .news-item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 15px 5px; }
    .news-date { width: auto; }
    .news-badge { margin-right: 0; }
    .news-title { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 0.9rem; }

    .vision-main-text .lead { font-size: 1.2rem; line-height: 1.6; }
    .vision-main-text p { font-size: 0.95rem; }
    .value-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }

    .ceo-block { padding: 30px 20px; }
    .member-info-meta { flex-direction: column; align-items: flex-start; gap: 15px; margin-bottom: 25px; }
    .member-name { font-size: 1.5rem; }
    .message-body h4 { font-size: 1.1rem; margin-bottom: 15px; }
    .message-body p { font-size: 0.95rem; line-height: 1.8; }
    .executive-card { padding: 25px 20px; }
    .exec-thumb { width: 65px; height: 65px; } /* スマホではさらに写真をスマートに縮小 */

    .strength-meta h3 { font-size: 1.15rem; }
    .str-desc { font-size: 0.95rem; padding-top: 15px; }

    .projects-grid { grid-template-columns: 1fr; gap: 20px; }
    .project-card { padding: 30px 20px; }

    .service-panel { padding: 25px 20px; }
    .service-panel h3 { font-size: 1.4rem; }
    .panel-desc { font-size: 0.95rem; }

    .table-row { flex-direction: column; padding: 20px 5px; }
    .table-th { width: 100%; margin-bottom: 6px; font-size: 0.95rem; }
    .table-td { width: 100%; font-size: 0.95rem; }

    .contact-form { padding: 35px 20px; }
    .form-grid { grid-template-columns: 1fr; gap: 0; }
    .form-group label { font-size: 0.85rem; }
    .submit-btn { font-size: 0.95rem; padding: 16px; }
}
