/* 基本設定と変数 (変更なし) */
:root {
    --bg-color: #fff;
    --bg-gray:#f5f5f5;
    --text-dark: #000;
    --text-light: #405158;
    --accent-blue: #006eb9;
    --accent-red: #E54B00;
}

body {
    margin: 0;
    font-family: '游ゴシック体', YuGothic, '游ゴシック', 'Yu Gothic', 'toppan-bunkyu-midashi-go-std' , "brandon-grotesque", sans-serif;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 16px;
}
    @media (max-width: 768px) {
    body {
        font-size:13px;
    }
    }
a{
    text-decoration: none;
}


 /* ===== ヘッダー ===== */
    header {
        text-align: center;
        padding: 20px 0px;
        position: relative;
        z-index: 100;
        background-color: #fff;
        width: 100%;
    }
    @media (max-width: 768px) {
    header {
        padding: 10px;
    }
    }
    header .index_logo_img {
        width: 368px;
        height: 78px;
        margin: 0 auto;
        display: block;
    }
    @media (max-width: 768px) {
    header .index_logo_img {
        width: 40%;
        height:auto;
    }
    }

    /* ===== メインエリア ===== */
.main_index {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(30px, 15vw, 200px);
    padding: clamp(40px, 10vw, 100px) 0;
    position: relative;
    overflow: hidden;
}

    /* ドット背景エリア */
    .main_index::before,
    .main_index::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 50%;
        pointer-events: none;
        z-index: 0;
    }

    .main_index::before {
        left: 0;
        background: url("../img/orange.svg") repeat;
        background-size: 15px 10px;
    }

    .main_index::after {
        right: 0;
        background: url("../img/blue.svg") repeat;
        background-size: 15px 10px;
    }

.circle {
    --circle-size: clamp(130px, 35vw, 400px);
    width: var(--circle-size);
    aspect-ratio: 1 / 1;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s;
    position: relative;
    z-index: 1;
}

.circle span {
    font-size: calc(var(--circle-size) * 0.14);
    line-height: 1.2em; 
    font-family: toppan-bunkyu-midashi-go-std;
    display: block;
}
    .circle:hover {
        transform: scale(1.05);
    }

    .circle .circle_arrow::after{
        content: "";
        display:inline-block;
        width: 0.9em;
        height: 0.9em;
        background: url("../img/arrow_index.svg") no-repeat center center;
        background-size: contain; /* 画像を縮小して収める */
}


    .buy a{
        color: #E54B00;
    }

    .donate a{
        color: #006eb9;
    }


    /* ===== キャッチコピー ===== */
.catch {
    text-align: center;
    font-size: clamp(28px, 5vw, 48px);
    padding: clamp(20px, 5vw, 40px) clamp(10px, 3vw, 20px);
    margin: 0;
    color: #405158;
    background-color: #f5f5f5;
    font-family: toppan-bunkyu-midashi-go-std;

}
    /* ===== フッター ===== */
    footer {
        background: #006eb9;
        color: #fff;
        padding: 40px 20px;
        font-size: 14px;
        font-family: toppan-bunkyu-midashi-go-std,brandon-grotesque;
    }

    footer .container {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 40px;
        max-width: 1000px;
        margin: 0 auto;
    }

footer .logo-area {
    flex: 1;               /* 余白を持たせて全体のバランス維持 */
    display: flex;         /* 子要素をフレックス化 */
    justify-content: flex-start; /* 左寄せ */
    align-items: flex-start;     /* 上寄せしたい場合 */
}

    footer img {
        width:108px;
        height:108px;
    }

    footer .logo-text{
        margin-top: 10px;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        font-size: 15px;
        gap:1em;
    }

    footer .links {
        flex: 2;
        display: flex;
        justify-content: space-between;
        min-width: 300px;
        max-width: 420px;
        margin:0 1.5em 0 0 ;
    }

    footer .links ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    footer .links li {
        margin: 6px 0;
    }

    footer .links .links_list{
        font-size: 11px;
    }

    footer .links a {
        color: #fff;
        text-decoration: none;
    }

    footer .links a:hover {
        color: #e6f0fa;
        transition: background 0.3s;
    }

    footer .buttons {
        flex: 1;
        min-width: 200px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

footer .buttons a {
    position: relative;
    display: block;
    background: #fff;
    color: #405158;
    text-align: center;
    padding: 10px 2em;
    border-radius: 6px;
    transition: background 0.3s;
}

footer .buttons a::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1em;
    height: 1em;
    background: url("../img/arrow_button.svg") no-repeat center center;
    background-size: contain;
}
    footer .buttons .sell{
        background: #405158;
        color: #fff;
        text-align: center;
        padding: 10px;
        border-radius: 6px;
        transition: background 0.3s;
    }

    footer .buttons a:hover {
        background: #e6f0fa;
    }


    @media (max-width: 768px) {  
    footer  {
        font-size: 12px;
    }
    footer .links .links_list{
        font-size: 10px;
    }
    }


    /* ===== コピーライト ===== */
.copyright {
    max-width: 1000px;
    margin: 30px auto 0;
    /* 上に余白30px、左右オートで中央寄せ */
    font-size: 11px;
    text-align: left;
}
    .copyright span{
        font-family: brandon-grotesque;
        font-weight: medium;
    }

    .copyright a {
        color: #fff;
        margin: 0 5px;
    }

    .copyright a:hover {
        color: #e6f0fa;
        transition: background 0.3s;
    }

    .copyright hr{
        background-color: #fff;
        height: 1px;
        margin:1em 0;
        border: none;
    }


/* TOPページ以降 */


/* ヘッダー (変更なし) */
.site-header {
    background-color: var(--bg-color);
    padding: 0 40px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    z-index: 200;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-dark);
}

.main-nav ul { margin: 0; padding: 0; list-style: none; display: flex; }
.main-nav li { margin: 0 15px; }
.main-nav a { text-decoration: none; color: var(--text-dark); font-size: 14px; font-weight: bold; text-align: center; }
.main-nav .nav_eng {
    display: block;
    font-size: 22px;
    font-weight: bold;
    font-family: brandon-grotesque;
}
.main-nav .nav_ja {
    display: block;
    font-size: 11px;
    font-weight: bold;
    font-family: toppan-bunkyu-midashi-go-std;
}

.signin-button { text-decoration: none; color: var(--text-dark); border: 1px solid var(--text-dark); padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: bold; }

/* ヒーローセクション (変更なし) */
.hero-section { background-image: url('https://placehold.co/1400x800/e2e8f0/64748b?text=背景画像をここに配置'); background-size: cover; background-position: center; height: 600px; display: flex; align-items: center; }
.hero-text { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.sub-headline { font-size: 16px; color: var(--text-light); line-height: 1.7; }
.main-headline { font-size: 64px; font-weight: 700; color: var(--text-dark); line-height: 1.3; letter-spacing: 0.08em; margin-top: 20px; }

/* 申込みボタン (変更なし) */
.cta-button { position: fixed; bottom: 30px; right: 30px; background-color: var(--accent-blue); color: white; width: 120px; height: 120px; border-radius: 50%; display: flex; justify-content: center; align-items: center; text-align: center; text-decoration: none; font-size: 16px; font-weight: bold; line-height: 1.4; box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 100; }


/* --- ここから追加・変更 --- */

/* ハンバーガーメニューボタン */
.menu-toggle {
    display: none; /* PCでは非表示 */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 300;
}
.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* スマホ用ナビゲーション */
.mobile-nav {
    display: none; /* PCでは非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(248, 247, 245, 0.98);
    z-index: 150;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.mobile-nav.active {
    display: flex; /* activeクラスがついたら表示 */
}
.mobile-nav ul { list-style: none; padding: 0; text-align: center; }
.mobile-nav li { margin: 20px 0; }
.mobile-nav a { text-decoration: none; color: var(--text-dark); font-size: 20px; font-weight: bold; }
.signin-button-mobile {
    display: inline-block;
    border: 1px solid var(--text-dark);
    padding: 10px 20px;
    border-radius: 25px;
    margin-top: 15px;
}

/* メニューを開いた時のボタン（×印）のスタイル */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* レスポンシブ対応 (900px以下) */
@media (max-width: 900px) {
    .main-nav, .signin-button {
        display: none; /* PC用メニューを非表示 */
    }
    .menu-toggle {
        display: block; /* ハンバーガーメニューを表示 */
    }
    .hero-section { height: 400px; }
    .main-headline { font-size: 32px; }
    .sub-headline { font-size: 14px; }
    .cta-button { width: 100px; height: 100px; font-size: 14px; }
}