@charset "UTF-8";
/*
Theme Name: My Corporate Theme
Author: Your Name
Description: BASE CAMP Corporate Theme
Version: 1.0.0
*/

/* =========================================
   ROOT VARIABLES & RESET
   ========================================= */
:root {
    /* Colors */
    --color-main: #5C6F7B;      /* スレートブルー */
    --color-sub: #D96C45;       /* オレンジ */
    --color-accent: #4169e1;    /* 青 */
    --color-bg: #F8F9FA;        /* オフホワイト */
    --color-white: #ffffff;
    --color-text: #333333;
    
    /* Spacing (広め設定) */
    --space-section: 120px;     /* PCセクション間隔 */
    --space-section-sp: 60px;   /* SPセクション間隔 */
    --content-width: 1100px;
    
    /* Font */
    --font-base: 'Noto Sans JP', sans-serif;
}

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

body {
    font-family: var(--font-base);
    color: var(--color-main);
    background-color: var(--color-bg);
    line-height: 2.0;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* プレースホルダー用スタイル（画像がない場合用） */
img.placeholder {
    background-color: #eee;
    display: block;
    min-height: 200px;
    width: 100%;
    object-fit: cover;
    border: 1px solid #ddd;
}

/* =========================================
   LAYOUT UTILITY
   ========================================= */
.container {
    width: 90%;
    max-width: var(--content-width);
    margin: 0 auto;
}

.section {
    padding: var(--space-section) 0;
}

@media (max-width: 768px) {
    .section {
        padding: var(--space-section-sp) 0;
    }
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.section-title span {
    display: block;
    font-size: 1rem;
    color: var(--color-sub);
    margin-bottom: 10px;
}

/* =========================================
   COMPONENTS
   ========================================= */
.btn-primary {
    display: inline-block;
    background-color: #06C755; /* LINE Green */
    color: var(--color-white);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(6, 199, 85, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(6, 199, 85, 0.4);
    opacity: 1;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
}
.site-logo span { color: var(--color-sub); }

.global-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

@media (max-width: 768px) {
    .global-nav { display: none; } /* SPは簡易的に非表示（要JS実装） */
}

/* =========================================
   HERO AREA
   ========================================= */

.hero {
    min-height: 100vh; /* 中身に合わせて縦に伸びる設定 */
    
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent; 
    color: white;
    
    /* ヘッダー被りとボタン切れ防止の余白 */
    padding-top: 120px; 
    padding-bottom: 80px;
    
    position: relative;
    z-index: 1;
}

.hero-lead {
    font-size: 1.2rem;
    color: var(--color-sub);
    font-weight: 700;
    background: rgba(255,255,255,0.9);
    display: inline-block;
    padding: 5px 15px;
    margin-bottom: 20px;
    color: var(--color-text); 
}

.hero h2 {
    font-size: 3rem;
    line-height: 1.4;
    margin-bottom: 40px;
}

/* =========================================
   ACTIVITY (Cards)
   ========================================= */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.activity-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.activity-card h3 {
    font-size: 1.2rem;
    margin: 20px 0;
    color: var(--color-sub);
}

/* =========================================
   NEWS LIST
   ========================================= */
.news-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.news-item a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.news-date {
    font-size: 0.9rem;
    color: #888;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background: var(--color-main);
    color: white;
    padding: 60px 0;
    text-align: center;
}

/* =========================================
   SP (Smartphone) ADJUSTMENT - 最優先設定
   ========================================= */
@media (max-width: 768px) {
    /* ヘッダー */
    .site-header {
        height: 60px;
    }

    /* ヒーローエリア */
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: auto;
    }

    /* メインタイトル (強制適用) */
    .hero h2.hero-title { 
        font-size: 1.6rem !important;
        line-height: 1.6 !important;
        width: 100%;
        margin-bottom: 20px !important;
        word-wrap: break-word;
    }
    
    .hero-lead {
        font-size: 0.75rem;
        margin-bottom: 15px;
        display: inline-block;
        padding: 4px 10px;
    }

    .hero-sub {
        font-size: 0.8rem;
        margin-bottom: 30px;
    }
    
    /* ▼▼▼ 修正箇所：ここを強くしました ▼▼▼ */
    h2.section-title {
        font-size: 1.6rem !important; /* PCの2.5remから強制的に縮小 */
        margin-bottom: 30px !important;
        line-height: 1.4 !important;
    }
    
    /* 英語の添字（PROMISEなど） */
    h2.section-title span {
        font-size: 0.8rem !important;
        margin-bottom: 5px !important;
    }
    /* ▲▲▲ 修正ここまで ▲▲▲ */

    .pc-only {
        display: none;
    }
}

/* PC用設定（元々styleタグに書いてあった内容） */
.cta-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #fff;
    font-weight: 700;
}

/* スマホ用設定（ここで小さくします！） */
@media (max-width: 768px) {
    .cta-title {
        font-size: 1.4rem; /* ← 2rem から 1.4rem に縮小 */
        line-height: 1.5;
    }
}