/*
 Theme Name:   GeneratePress Child
 Template:     generatepress
 Description:  Osaka No.1 Project Child Theme
*/

/* ここから下に、先ほどのヒーローセクションのCSSを貼り付けてもOKです */

/* --- Osaka Hero Section Settings --- */
.osaka-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000;
    /* 背景画像はここで設定（エクスサーバーのメディアURLに差し替えてください） */
    background-image: url('https://images.unsplash.com/photo-1590559899731-a382839e5549?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    color: #fff;
}

/* 背景を暗くして文字を読みやすくする */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
}

.hero-tag {
    display: inline-block;
    color: #deff9a; /* ライムアクセント */
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-left: 3px solid #deff9a;
    padding-left: 15px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 100px);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 30px;
}

/* タイトルのグラデーション（AI感を演出） */
.text-gradient {
    background: linear-gradient(90deg, #deff9a, #a5d6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.8);
}

/* ボタンデザイン */
.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.btn-primary {
    background-color: #deff9a;
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(222, 255, 154, 0.3);
}

.btn-secondary {
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* スクロール促しアニメーション */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.scroll-line {
    display: block;
    width: 1px;
    height: 60px;
    background: rgba(222, 255, 154, 0.5);
    margin: 0 auto 10px;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #deff9a;
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0% { top: -100%; }
    100% { top: 100%; }
}

.scroll-text {
    font-size: 10px;
    letter-spacing: 0.3em;
    color: rgba(255,255,255,0.5);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .hero-inner { padding: 0 20px; }
    .hero-title { font-size: 56px; }
    .hero-cta { flex-direction: column; }
    .btn { text-align: center; }
}

/* --- Osaka Core Header Logo Settings --- */
.osaka-core-header-logo {
    height: 40px; /* 全体の高さを40pxに固定 */
    display: flex; /* ロゴマークと文字を横並びにする */
    align-items: center; /* 垂直方向の中央に揃える */
    overflow: hidden; /* 万が一、ロゴがはみ出た場合にカットする */
}

/* ロゴマーク（シンボル）のスタイル */
.osaka-core-logo-symbol {
    height: 100%; /* 全体の高さ（40px）に合わせる */
    width: auto; /* 横幅は自動調整 */
    margin-right: 10px; /* 文字との間に余白を設ける */
}

/* ロゴの文字全体のスタイル */
.osaka-core-logo-text {
    height: 100%; /* 全体の高さ（40px）に合わせる */
    display: flex; /* "OSAKA" と "core" を並べる */
    flex-direction: column; /* "OSAKA" と "core" を縦並びにする（画像TYPOGRAPHY参考） */
    justify-content: center; /* 垂直方向の中央に揃える */
    font-family: 'Montserrat', 'Metropolis', sans-serif; /* 提供画像TYPOGRAPHY指定フォント */
    font-weight: 700; /* 太字 */
    line-height: 1.1; /* 行間を狭める */
}

/* "OSAKA" の文字スタイル */
.osaka-core-text-osaka {
    font-size: 16px; /* 視認性の高いバランス */
    color: #fff; /* 暗い背景用にホワイト（提供画像TYPOGRAPHY参考） */
    text-transform: uppercase; /* すべて大文字 */
    margin-bottom: 2px; /* core との間に微細な余白 */
}

/* "core" の文字スタイル */
.osaka-core-text-core {
    font-size: 14px; /* OSAKAより少し小さく（提供画像TYPOGRAPHY参考） */
    color: #fff; /* 暗い背景用にホワイト（提供画像TYPOGRAPHY参考） */
    text-transform: lowercase; /* すべて小文字 */
}

/* モバイル対応：高さを少し調整 */
@media (max-width: 768px) {
    .osaka-core-header-logo {
        height: 30px; /* スマホでは高さを30pxに縮小（推奨範囲適合） */
    }
    .osaka-core-text-osaka {
        font-size: 12px; /* 文字サイズも縮小 */
    }
    .osaka-core-text-core {
        font-size: 10px; /* 文字サイズも縮小 */
    }
}