@charset "utf-8";

:root {
    /* --------------------------
         デザイン幅
       -------------------------- */
    --designwidth: 1440;
    /* --------------------------
            カラー・フォント・余白・タイポグラフィ
        -------------------------- */
    --base: #F5F0E4;
    --base2: #EDE4D3;
    --bk: #151414;
    --light_gray: #bfbfbf;
    --gray: #353535;
    --accent: #b8d200;
    --matred: #C92D30;
    --red: #AC2324;
    --yellow: #f1c40f;
    --matyellow: #d4ac0d;
    --white1: #f9f9f9;
    --white2: #FAF7F1;
    --green: #427C28;
    --matgreen: #026337;
    --jp-font: "Noto Sans JP", sans-serif;
    --jp-font-weight-Bold: 700;
    --en-font: "Roboto", sans-serif;
    --en-font-weight-Black: 900;
    /* 余白・タイポグラフィ用（8pxベース） */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 40px;
    --space-2xl: 48px;
    --space-3xl: 56px;
    --space-4xl: 64px;
    --space-5xl: 80px;
    --container-padding: 24px;
    --letter-tight: 0.02em;
    --letter-normal: 0.04em;
    --letter-wide: 0.08em;
    --letter-wider: 0.12em;
    --line-tight: 1.4;
    --line-body: 1.75;
    --line-relaxed: 1.9;
    --line-loose: 2;
}

html {
    font-size: 62.5%;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    color: var(--bk);
    scroll-behavior: smooth;
}

body {
    min-width: 100%;
    height: 100%;
    font-family: YakuHanJP, 'Roboto', 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 1.6em;
    line-height: 1.6;
    letter-spacing: var(--letter-normal);
    text-align: center;
    position: relative;
    background-color: var(--accent);
    overflow-x: hidden !important;
    z-index: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
    background-color: var(--base);
    position: relative;
}

footer {
    flex-shrink: 0;
}

figure {
    line-height: 0;
}

p {
    line-height: var(--line-body);
    letter-spacing: var(--letter-normal);
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

picture {
    display: block;
}

.en-ttl {
    position: relative;
    padding: 0 0 var(--space-md);
    font-size: 4.8rem;
    font-family: var(--en-font);
    font-weight: var(--en-font-weight-Black);
    letter-spacing: 0.06em;
    line-height: 1.2;
    display: inline-block;
}

.en-ttl::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    content: '';
    background-image: repeating-linear-gradient(-45deg, var(--green), var(--green) 1px, transparent 2px, transparent 5px);
    background-size: 7px 7px;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

@media (max-width:768px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }
}

/* フッター */
footer {
    background-color: var(--green);
    padding: var(--space-5xl) 0 var(--space-xs);
}

footer>div.footer_inner {
    width: 86.666%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

footer>div.footer_inner>div.footer_logp {
    width: 72px;
    margin: 0 auto;
}

footer>div.footer_inner>div.footer_logp>img {
    width: 100%;
}

footer>div.footer_inner>h2 {
    font-family: var(--en-font);
    color: #fff;
    font-size: 1.6rem;
    letter-spacing: 0.08em;
    line-height: 1.5;
    padding: 56px 0 16px;
}

footer>div.footer_inner>div.footer_sns_icon_flex {
    width: 250px;
    margin: 0 auto;
}

footer>div.footer_inner>div.footer_sns_icon_flex>ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer>div.footer_inner>div.footer_sns_icon_flex>ul>li {
    width: 30px;
}

footer>div.footer_inner>div.footer_copylight {
    margin: 0 auto;
    padding-top: var(--space-lg);
}

footer>div.footer_inner>div.footer_copylight>small {
    font-family: var(--en-font);
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    color: var(--base);
}

/* フッター内バナー（クリスマスLPと同程度のサイズ感に） */
footer>div.footer_inner>div.journal_banner,
footer>div.footer_inner>div.app_banner {
    width: 320px;
    max-width: 100%;
    margin: 40px auto 0 auto;
}

footer>div.footer_inner>div.journal_banner img,
footer>div.footer_inner>div.app_banner img {
    width: 100%;
    height: auto;
    display: block;
}


/* --- ここからハンバーガーメニューのCSS --- */

/* 1. ハンバーガーボタン */
.hamburger {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    background: var(--bk);
    border: none;
    cursor: pointer;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius:4px;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    -ms-border-radius:4px;
    -o-border-radius:4px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--white1);
    margin: 4px 0;
    transition: all 0.3s;
}

/* 2. メニュー本体 */
.menu-container {
    position: fixed;
    top: 0;
    right: -300px;
    /* 画面外へ */
    width: 250px;
    height: 100%;
    background: var(--base);
    /* メニュー背景は白に設定 */
    transition: all 0.4s;
    z-index: 90;
    /* ボタンの下、オーバーレイの上 */
    padding-top: 80px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
}

.menu-container.is-active {
    right: 0;
}

/* 3. オーバーレイ（背景の黒マスク） */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* 半透明の黒 */
    opacity: 0;
    visibility: hidden;
    /* 見えない時はクリック判定も消す */
    transition: all 0.3s;
    z-index: 80;
    /* メニューの下 */
    cursor: pointer;
}

.overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* メニューリストのデザイン */
.menu-container ul {
    list-style: none;
    padding: 0;
}

.menu-container ul li a {
    display: block;
    color: var(--bk);
    padding: 15px 20px;
    text-decoration: none;
    border-bottom: 1px solid var(--gray);
}

/* ボタンのアニメーション */
.hamburger.is-active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}
