main {
    max-width: 700px;
    /* コンテンツ幅を少し広げて余裕を持たせる */
    width: 100%;
    margin: 0 auto;
    /* スマホでも端がくっつかないように */
    line-height: 1.8;
    /* 読みやすく */
}

/* ============================
   ベース
============================ */

body {
    font-family: "Noto Sans JP", sans-serif;
    margin: 0;
    background: #fff;
    color: #333;
}

/* ============================
   ヘッダー
============================ */

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #222;
    color: #fff;
    padding: 12px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.logo img {
    width: 100%;
    height: auto;
    max-width: 242px;
}

.menu-btn {
    background: #f8b400;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 4px;
}

.menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
}

/* ============================
   トップヒーロー
============================ */

.top-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* ← 下ではなく上方向ベースに変更 */
    overflow: hidden;
}

/* オーバーレイ */

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 83%;
    /* ✅ ここでボタンの位置を下から→上にコントロール */
}

/* ボタン */

.hero-btn {
    display: inline-block;
    background: linear-gradient(135deg, #1e90ff, #0066ff, #00c3ff);
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    width: 67%;
    padding: 16px 52px;
    font-size: 1.15rem;
    text-decoration: none;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.35);
    transition: all 0.4s ease;
    text-align: center;
}

/* 光の流れアニメーション */

.hero-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-25deg);
    transition: all 0.6s ease;
}

.hero-btn:hover::before {
    left: 120%;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.5);
    background: linear-gradient(135deg, #0078ff, #00b4ff, #1e90ff);
}

.hero-btn:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.4);
}

.top-hero {
    aspect-ratio: 3 / 4;
    background-size: contain;
    background-position: center top;
}

.hero-btn {
    font-size: 1rem;
    padding: 12px 40px;
}

/* ======================
   メニュー開閉ボタン
====================== */

.menu-btn {
    background: #f8b400;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 999;
}

.menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* 開いたときの変化 */

.menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ======================
   ナビゲーション
====================== */

.site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
    z-index: 998;
}

.site-nav.active {
    right: 0;
}

.site-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.site-nav li {
    margin: 15px 0;
}

.site-nav a {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.site-nav a:hover {
    color: #f8b400;
}
