/* =========================
   全体
========================= */

body {
    margin: 0;
    font-family: "Hiragino Mincho ProN", "YuMincho", serif;
    background:
        linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.8)),
        url("images/23692590.png") center/cover no-repeat fixed;
    color: #fff;
    overflow-x: hidden;
}

/* =========================
   ローディング
========================= */
body {
    font-family: "YuMincho", serif;
}

#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;
}


/* =========================
   メイン
========================= */

.contact-page {
    padding: 100px 20px;
}

/* =========================
   タイトル
========================= */

.contact-hero {
    text-align: center;
    margin-bottom: 80px;
}

.contact-hero h2 {
    font-size: 64px;
    margin-bottom: 20px;

    letter-spacing: 8px;
    font-weight: normal;

    color: #fff;

    text-shadow:
        0 0 10px rgba(180,120,255,0.6),
        0 0 30px rgba(180,120,255,0.4);
}

.contact-hero p {
    max-width: 700px;
    margin: 0 auto;

    color: #ccc;
    line-height: 2;
    font-size: 16px;
}

/* =========================
   カード
========================= */

.contact-card {
    max-width: 900px;
    margin: 0 auto;

    padding: 60px;

    border-radius: 30px;

    background: rgba(255,255,255,0.06);

    backdrop-filter: blur(18px);

    border: 1px solid rgba(255,255,255,0.1);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.5);

    position: relative;
    overflow: hidden;
}

/* 光 */

.contact-card::before {
    content: "";

    position: absolute;
    top: -200px;
    left: -200px;

    width: 400px;
    height: 400px;

    background: radial-gradient(
        circle,
        rgba(140,90,255,0.25),
        transparent
    );

    animation: glowMove 8s linear infinite;
}

@keyframes glowMove {

    0% {
        transform: translate(0,0);
    }

    50% {
        transform: translate(120px,80px);
    }

    100% {
        transform: translate(0,0);
    }
}

/* =========================
   各項目
========================= */

.contact-item {
    position: relative;
    z-index: 1;

    padding: 25px 0;

    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 10px;

    letter-spacing: 3px;

    color: #b78cff;
}

.contact-item p {
    margin: 0;

    color: #ddd;
    line-height: 2;
}

/* =========================
   フェードアニメーション
========================= */

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   スマホ
========================= */

@media (max-width: 768px) {

    .hamburger {
        display: block;
    }

    .nav ul {
        display: none;
        flex-direction: column;
        background: rgba(0,0,0,0.95);
    }

    .nav ul.active {
        display: flex;
    }

    .contact-hero h2 {
        font-size: 42px;
        letter-spacing: 4px;
    }

    .contact-card {
        padding: 35px 25px;
    }

    .header h1 {
        font-size: 16px;
    }
}

/* =========================
   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;
}

