/* =========================
   全体
========================= */

body {
    margin: 0;
    font-family: "Hiragino Mincho ProN", "YuMincho", serif;
    background: #0d0d0d;
    color: #fff;
    overflow-x: hidden;
}


/* =========================
   ローディング
========================= */

#loading {
    position: fixed;
    inset: 0;
    background: #0d0d0d;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-text {
    color: #fff;
    font-size: 24px;
    letter-spacing: 3px;
    animation: loadingFade 1.5s infinite;
}

@keyframes loadingFade {
    0%,100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}


/* =========================
   ヘッダー
========================= */

.header {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1000;
    /* 他の要素より前に出す */
}

.header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 10px;
}

.nav li {
    margin-right: 20px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

nav ul li {
    display: inline-grid;
    margin: 3px 15px;
}

nav ul li a {
    color: #481d6e;
    text-decoration: none;
    font-weight: bold;
}
.nav-btn {
    display: inline-grid;
    padding: 8px 16px;
    color: #852b7d;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: #cf4014;
    color: #fff;
    transform: translateY(-3px);
}

.nav-btn:active {
    transform: translateY(0);
}

h1 {
    background-color: #481d6e;
    color: #fff;
    padding: 30px;
    text-align: center;
}


/* =========================
   ハンバーガー
========================= */

.hamburger {
    display: none;

    background: none;
    border: none;

    color: #fff;
    font-size: 28px;

    cursor: pointer;
}


/* =========================
   スローガンページ
========================= */

.slogan-page {
    background: #0d0d0d;
    color: #fff;

    padding: 100px 20px;
    text-align: center;

    overflow: hidden;

    transition: background 1.5s ease;
}

/* 少し明るくなる */
.slogan-page.light-on {
    background: #181818;
}


/* =========================
   タイトル
========================= */

.slogan-hero h1 {
    font-size: 24px;
    letter-spacing: 4px;

    margin-bottom: 100px;

    opacity: 0;
}


/* =========================
   メイン
========================= */

.slogan-main {
    position: relative;

    max-width: 1000px;
    margin: 0 auto;
}


/* 背景ロゴ */

.slogan-main::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        url("images/kannkannsenn rogo.png")
        center/contain
        no-repeat;

    opacity: 0.18;

    z-index: 0;
}


/* 前面を上に */

.slogan-main * {
    position: relative;
    z-index: 1;
}


/* =========================
   ロゴ
========================= */

.logo-box img {
    width: 500px;

    margin-bottom: 80px;

    opacity: 0;

    transform: scale(0.9);

    filter:
        drop-shadow(0 10px 30px rgba(255,255,255,0.08));

    transition: 1.5s ease;
}

/* 表示時 */

.logo-box img.show {
    opacity: 1;
    transform: scale(1);
}


/* =========================
   縦書き
========================= */

.slogan-vertical {
    writing-mode: vertical-rl;

    font-size: 100px;
    letter-spacing: 12px;

    margin: 0 auto 80px;

    opacity: 0;

    transform: translateY(40px);

    text-shadow:
        0 0 10px rgba(255,255,255,0.2),
        0 0 30px rgba(255,255,255,0.08);
}


/* =========================
   説明文
========================= */

.slogan-text {
    max-width: 650px;

    margin: 0 auto;

    line-height: 2.5;
    font-size: 16px;

    color: #d0d0d0;

    opacity: 0;
}

.slogan-text p {
    margin-bottom: 35px;
}


/* =========================
   アニメーション
========================= */

/* フェード */

.fade-in.show {
    animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}


/* 下から浮く */

.fade-up.show {
    animation: fadeUp 1.5s ease forwards;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ロゴ呼吸 */

.logo-box img.show {
    animation:
        fadeLogo 1.5s ease forwards,
        floatLogo 5s ease-in-out infinite;
}

@keyframes fadeLogo {

    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}

@keyframes floatLogo {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

}


/* =========================
   スマホ
========================= */

@media (max-width: 768px) {

    /* ハンバーガー表示 */

    .hamburger {
        display: block;
        margin: 10px auto;
    }

    /* メニュー隠す */

    .nav ul {
        display: none;
        flex-direction: column;

        background: rgba(20,20,20,0.95);

        padding: 20px;
    }

    /* 開いた時 */

    .nav ul.active {
        display: flex;
    }

    .nav li {
        margin: 10px 0;
    }

    /* 縦書き */

    .slogan-vertical {
        font-size: 70px;
        letter-spacing: 8px;
    }

    /* ロゴ */

    .logo-box img {
      width: 240px;
    }

    /* 説明 */

    .slogan-text {
        font-size: 14px;
        line-height: 2.2;
    }

}

/* =========================
   SNS
========================= */

.social-section {

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;

    padding: 70px 20px;
}

/* 丸 */

.social-link {

    width: 65px;
    height: 65px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;

    text-decoration: none;

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(10px);

    transition: 0.4s ease;
}

/* アイコン */

.social-link i {

    font-size: 30px;
    color: rgba(255,255,255,0.85);

    transition: 0.4s ease;
}

/* ホバー */

.social-link:hover {

    transform:
        translateY(-8px)
        scale(1.08);

    background:
        rgba(140,90,255,0.18);

    box-shadow:
        0 0 25px rgba(140,90,255,0.45);
}

.social-link:hover i {

    color: #fff;

    text-shadow:
        0 0 12px rgba(255,255,255,0.8);
}

/* スマホ */

@media (max-width: 768px) {

    .social-section {
        gap: 20px;
    }

    .social-link {

        width: 54px;
        height: 54px;
    }

    .social-link i {

        font-size: 24px;
    }
}
footer {
    background-color: rgb(116, 34, 136);
    color: #fff;
    text-align: center;
    padding: 10px;
}

