@charset "UTF-8";

/* ==========================================================================
   基本設定 (Base Styles)
   ========================================================================== */

/* 
 * bodyタグへのスタイル適用
 * ページ全体のフォント、文字色、行間、背景色を設定しています。
 */
body {
    /* 日本語フォント 'Noto Sans JP' を優先的に使用 */
    font-family: 'Noto Sans JP', sans-serif;
    /* 文字色: 白 (#f0f0f0) */
    color: #f0f0f0;
    /* 行間: 文字の高さの1.9倍 (読みやすくするため広めに設定) */
    line-height: 1.9;
    /* 背景色: 黒 (#050505) */
    background-color: #050505;
}

/* ==========================================================================
   ユーティリティクラス (Utility Classes)
   ========================================================================== */

/* 
 * 明朝体見出し用クラス
 * 高級感や信頼感を出すために明朝体 ('Noto Serif JP') を使用します。
 */
.font-serif-heading {
    font-family: 'Noto Serif JP', serif;
    /* 文字間隔を少し広げて上品さを演出 */
    letter-spacing: 0.08em;
}

/* 
 * リッチゴールド（決定版）
 * 高級感のある金属的な質感を表現するグラデーションテキスト
 */
.hama-gold {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-weight: bold;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;

    background-image: linear-gradient(to bottom,
            /* 上から下へのグラデーション */
            #a38c59 0%,
            /* 上端：落ち着いたブロンズ */
            #f0e1b9 25%,
            /* 上部ハイライト：輝き */
            #d4af37 50%,
            /* 中央：メインの金（メタリックゴールド） */
            #c5a059 75%,
            /* 下部：少し深みのある金 */
            #7a6538 100%
            /* 下端：影 */
        );
}

/* ==========================================================================
   コンポーネント (Components)
   ========================================================================== */

/* 
 * PDFの「SPECIAL」シール風デザイン
 * 立体的なバッジのような見た目を作ります。
 */
.seal-badge {
    /* 背景: 黒っぽいグラデーション */
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    /* 枠線: ゴールド */
    border: 2px solid #C4A000;
    /* 影: 外側の黒い枠線と、浮き上がり効果の影 */
    box-shadow: 0 0 0 4px #1a1a1a, 0 10px 15px rgba(0, 0, 0, 0.3);
    /* 配置: 子要素を中央揃えにする */
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* 形: 完全な円形 */
    border-radius: 50%;
    /* アスペクト比: 1対1 (正円を保つ) */
    aspect-ratio: 1/1;
}

/* シールの内側の点線枠 */
.seal-badge::before {
    content: '';
    position: absolute;
    /* 上下左右から3px内側に配置 */
    inset: 3px;
    /* 点線: ゴールド */
    border: 1px dashed #C4A000;
    border-radius: 50%;
    /* 透明度: 70% */
    opacity: 0.7;
}

/* 
 * 箔押し風ゴールドグラデーションテキスト
 * 文字がキラキラ光るようなエフェクトです。
 */
.gold-gradient-text {
    /* 背景: ゴールドのグラデーション */
    background: linear-gradient(to right, #B48E40, #E5C325, #B48E40);
    /* 背景を文字の形に切り抜く (Webkitブラウザ用) */
    -webkit-background-clip: text;
    background-clip: text;
    /* 文字色を透明にして背景を見せる */
    -webkit-text-fill-color: transparent;
    /* 背景サイズを横に2倍にしてアニメーションさせる */
    background-size: 200% auto;
    /* アニメーション: 'shine' を4秒かけて無限に繰り返す */
    animation: shine 4s linear infinite;
}

/* 
 * ゴールドボタン
 * 高級感のあるボタンデザインです。
 */
.gold-btn {
    /* 背景: 斜めのゴールドグラデーション */
    background: linear-gradient(135deg, #C4A000 0%, #B48E40 100%);
    position: relative;
    overflow: hidden;
    /* ホバー時の変化を滑らかにする */
    transition: all 0.3s ease;
}

/* ボタンの光沢エフェクト */
.gold-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* 上から下への透明グラデーションで光沢を表現 */
    background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
}

/* 
 * DMの「枠」風デザイン
 * 二重線のような枠を作ります。
 */
.card-frame {
    border: 1px solid #333;
    background: #1a1a1a;
    position: relative;
}

/* 内側の枠線 */
.card-frame::after {
    content: '';
    position: absolute;
    /* 上下左右から4px内側に配置 */
    inset: 4px;
    border: 1px solid #333;
    /* マウスイベントを無効化 (下の要素をクリックできるように) */
    pointer-events: none;
}

/* 
 * ヘッダーナビゲーション用スタイル
 * 現在いるページ（アクティブ状態）を黄色アンダーラインで示します。
 * 全ページのホバー時の挙動を黄色に統一します。
 */
.nav-link {
    position: relative;
    color: #d1d5db; /* text-gray-300 */
    transition: color 0.3s ease;
}

/* ホバー時の統一カラー（黄色・ゴールド） */
.nav-link:hover,
.nav-link:focus {
    color: #d4af37 !important;
}

/* アクティブ（現在いるページ）のスタイル */
.nav-link.active {
    color: #d4af37 !important;
}

/* アクティブ文字の下に黄色い下線を引く */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #d4af37;
    border-radius: 2px;
}

/* ==========================================================================
   アニメーション (Animations)
   ========================================================================== */

/* 
 * キラキラ光るアニメーション定義
 * 背景位置を移動させて光が走るように見せます。
 */
@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* 
 * 下からふわっと浮き上がるアニメーション定義
 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
        /* 20px下に配置 */
    }

    to {
        opacity: 1;
        transform: translateY(0);
        /* 元の位置へ */
    }
}

/* スクロール時のアニメーション用クラス (初期状態) */
.animate-on-scroll {
    opacity: 0;
    /* イージング: 動きの加減速を調整 */
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 表示状態のクラス (JavaScriptで付与) */
.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Salon Popup Animations */
@keyframes slideShine {
    0% {
        transform: translateX(-100%) skewX(-15deg);
    }

    100% {
        transform: translateX(200%) skewX(-15deg);
    }
}

.salon-shine {
    animation: slideShine 3s infinite;
}