@charset "utf-8";

/* =========================================
   全体の高級感スタイル
========================================= */

body {
    margin: 0;
    padding: 0;
    background: #111;
    /* 黒より少し柔らかい、深いグレー */
    color: #e4e4e4;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.8;
}

/* メインタイトル */
h1 {
    text-align: center;
    color: #d4af37;
    /* 上品な金色 */
    margin-top: 40px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-size: 2rem;
    font-weight: 700;
}

/* 説明文 */
#setumei {
    max-width: 900px;
    margin: 30px auto;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #d4af37;
    border-radius: 6px;
    font-size: 1rem;
    color: #ddd;
}

/* =========================================
   スライダー
========================================= */

.slider {
    width: 100%;
    max-height: 420px;
    overflow: hidden;
    position: relative;
    border-bottom: 4px solid #d4af37;
}

/* 横並び */
.slides {
    display: flex;
    transition: transform 0.6s ease;
}

/* スライド */
.slide {
    min-width: 100%;
}

.slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    filter: brightness(85%);
}

/* =========================================
   入力フォーム（高級カード・改良 + 強化版）
========================================= */

form {
    max-width: 650px;
    margin: 50px auto 100px auto;
    padding: 40px 45px;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.45);

    /* ★ 外側金色グロー追加 */
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #1c1c1c, #181818);
}

/* ★ 内側にゴールドの光フレーム */
form::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.4), rgba(212, 175, 55, 0) 60%);

    pointer-events: none;
}

/* ラベル */
label {
    display: block;
    margin-bottom: 18px;
    color: #d4af37;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;

    /* ★ ラベルにアニメーション */
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* 入力欄 共通 */
input[type="text"],
textarea {
    width: 100%;
    padding: 14px 1px;
    margin-top: 6px;
    background: linear-gradient(145deg, #242424, #1b1b1b);
    /* ★立体的な黒 */
    border: 1px solid #444;
    border-radius: 6px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.25s ease;

    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.6);
    /* ★内側の影でリッチに */
}

/* ★入力欄フォーカス時のアニメーション */
input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: #d4af37;
    background: #2c2c2c;
    box-shadow:
        0 0 10px rgba(212, 175, 55, 0.45),
        inset 0 0 10px rgba(0, 0, 0, 0.6);
}

/* テキストエリア */
textarea {
    height: 140px;
    resize: vertical;
}

/* ★入力中にラベルが少し動く */
input:focus+label,
textarea:focus+label {
    transform: translateX(3px);
    color: #f0d98c;
}

/* ボタンエリア */
.form-buttons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

/* ボタン共通 */
button,
input[type="submit"] {
    flex: 1;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    border: 1px solid #d4af37;
    background: linear-gradient(160deg, #111, #000);
    /* ★メタル質感黒 */
    color: #d4af37;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

/* ★ホバー時に金色がふわっと光る */
button::before,
input[type="submit"]::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.5), rgba(212, 175, 55, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

button:hover::before,
input[type="submit"]:hover::before {
    opacity: 1;
}

/* ホバー動作 */
button:hover,
input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
    color: #000;
}

/* クリック時 */
button:active,
input[type="submit"]:active {
    transform: scale(0.97);
}

/* =========================================
   ギターブランド紹介（既存）
========================================= */

.introduction {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.08));
    border-left: 5px solid #d4af37;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.introduction:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.introduction .detail {
    flex: 1 1 45%;
    margin-right: 20px;
}

.introduction .detail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.introduction .text {
    flex: 1 1 50%;
    font-size: 1.2rem;
    font-weight: 600;
    color: #d4af37;
}

.introduction .text a {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 22px;
    background: linear-gradient(135deg, #d4af37, #f0e68c);
    color: #111;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.introduction .text a:hover {
    background: linear-gradient(135deg, #f0e68c, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* 偶数番目は左右反転 */
.introduction:nth-child(even) {
    flex-direction: row-reverse;
}

/* ブランド紹介ページ用 */
.brand-header img {
    width: 100%;
    max-width: 900px;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.brand-setumei {
    max-width: 900px;
    margin: 30px auto;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #d4af37;
    border-radius: 8px;
    color: #ddd;
    line-height: 1.8;
    font-size: 1rem;
}

.brand-link {
    max-width: 900px;
    margin: 30px auto 60px auto;
    display: flex;
    justify-content: space-between;
}

.brand-link a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    border: 1px solid #d4af37;
    border-radius: 5px;
    transition: 0.3s;
}

.brand-link a:hover {
    background: #d4af37;
    color: #000;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* パーティクル */


#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* クリック操作を邪魔しない */
    z-index: 1;
}

/* ホバー時演出 */

a:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}


/* ナビゲーション */

/* ===========================
   高級感のある Navigation Bar
=========================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(25, 25, 25, 0.6);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: 0.4s ease;
}

.navbar.shrink {
    padding: 5px 0;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(12px);
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.4s;
}

.navbar.shrink .nav-container {
    padding: 8px 30px;
}

.nav-logo {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* メニュー */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    position: relative;
    color: #fff;
    font-size: 17px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: 0.3s ease;
    padding: 5px 0;
}

/* 下線アニメーション */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #ffdd88, #ffbb33);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: #ffdd88;
    text-shadow: 0 0 8px rgba(255, 200, 100, 0.7);
}


/* =======================
   ページトップに戻るボタン
======================= */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: rgba(255, 200, 80, 0.85);
    color: #222;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 200, 100, 0.7);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: 0.4s ease;
    z-index: 999;
}

/* 表示された時 */
#backToTop.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#backToTop:hover {
    box-shadow: 0 0 20px rgba(255, 220, 120, 1);
    transform: scale(1.1);
}

/* 説明のフェードイン */


.fadein {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.fadein.visible {
    opacity: 1;
    transform: translateY(0);
}



/* ロード画面 */

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000, #111111);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease;
}

/* ===== 中央コンテンツ ===== */
.loading-content {
    text-align: center;
}

/* タイトル（ロゴ風） */
.loading-title {
    font-family: "Playfair Display", serif;
    font-size: 36px;
    color: #d4af37;
    /* ゴールド */
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

/* ゴールドのバー */
.loading-bar {
    width: 0;
    height: 4px;
    margin: 0 auto;
    background: linear-gradient(to right, #b8860b, #ffd700, #b8860b);
    border-radius: 2px;
    animation: loadingBar 1.6s ease forwards 0.1s;
}

/* タイトルのフェードイン */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ゴールドバー伸びるアニメ */
@keyframes loadingBar {
    0% {
        width: 0;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        width: 200px;
        opacity: 1;
    }
}

/* フェードアウト後に消す */
#loading.hidden {
    opacity: 0;
    pointer-events: none;
}