/* ================================================
   株式会社ルナソーレ / 買取五宝 - 共通スタイル
   Black × Gold Premium Design
   ================================================ */

:root {
    --gold:        #FFD700;
    --gold-dark:   #FFA500;
    --gold-light:  #FFE55C;
    --black:       #000000;
    --black-soft:  #0d0d0d;
    --black-card:  #111111;
    --black-light: #1a1a1a;
    --black-mid:   #222222;
    --text:        #1a1a1a;
    --text-light:  #555;
    --text-muted:  #888;
    --white:       #ffffff;
    --bg:          #ffffff;
    --bg-light:    #f8f7f4;
    --bg-gray:     #f0ede8;
    --border:      #e5e0d8;
    --shadow-gold: 0 10px 40px rgba(255,215,0,0.25);
    --shadow:      0 10px 35px rgba(0,0,0,0.12);
    --shadow-lg:   0 20px 60px rgba(0,0,0,0.2);
    --radius:      20px;
    --radius-sm:   12px;
    --transition:  0.3s ease;
}

/* ================================================
   リセット・基本
   ================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.8; color: var(--text); overflow-x: hidden; background: var(--bg);
}
img  { max-width: 100%; height: auto; display: block; }
ul   { list-style: none; }
a    { color: inherit; text-decoration: none; }

/* ================================================
   スクロールプログレスバー
   ================================================ */
.scroll-progress {
    position: fixed; top: 0; left: 0; width: 0%; height: 3px; z-index: 9999;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold));
    box-shadow: 0 0 15px rgba(255,215,0,0.8); transition: width 0.1s ease-out;
}

/* ================================================
   ヘッダー（Black + Gold Border）
   ================================================ */
header {
    background: linear-gradient(135deg, rgba(0,0,0,0.97), rgba(17,17,17,0.97));
    backdrop-filter: blur(15px); color: var(--white);
    padding: 1rem 0; position: sticky; top: 0; z-index: 1000;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 4px 25px rgba(0,0,0,0.4), 0 2px 0 rgba(255,215,0,0.3);
    transition: padding var(--transition);
}
header.scrolled { padding: 0.65rem 0; }

.header-content {
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
    display: flex; justify-content: space-between; align-items: center; position: relative;
}

.brand-link {
    display: flex; align-items: center; gap: 1.2rem;
    text-decoration: none; transition: opacity var(--transition);
}
.brand-link:hover { opacity: 0.85; }
.brand-logo { height: 52px; width: 52px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 12px rgba(255,215,0,0.35); }
.brand-logo-placeholder {
    width: 52px; height: 52px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 900; color: black; letter-spacing: -0.02em;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name {
    font-size: 1.6rem; font-weight: 900; letter-spacing: 0.06em; line-height: 1.1;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark), var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.brand-sub { font-size: 0.78rem; color: rgba(255,255,255,0.5); letter-spacing: 0.2em; margin-top: 0.2rem; }

.nav-list { display: flex; gap: 0.2rem; align-items: center; }
.nav-list a {
    color: rgba(255,255,255,0.82); font-weight: 600; font-size: 0.9rem;
    padding: 0.45rem 0.9rem; border-radius: 6px; position: relative;
    transition: all var(--transition); letter-spacing: 0.03em;
}
.nav-list a:hover, .nav-list a.active { color: var(--gold); background: rgba(255,215,0,0.08); }
.nav-list a.btn-nav {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--black); font-weight: 900; padding: 0.5rem 1.3rem; border-radius: 25px;
    margin-left: 0.5rem; box-shadow: 0 3px 12px rgba(255,215,0,0.4);
}
.nav-list a.btn-nav:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); color: var(--black); }

/* ハンバーガー */
.hamburger {
    display: none; flex-direction: column; cursor: pointer;
    gap: 5px; padding: 8px; background: none; border: none;
}
.hamburger span { width: 24px; height: 2px; background: var(--gold); border-radius: 2px; transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(0,0,0,0.98); backdrop-filter: blur(15px);
    border-bottom: 2px solid var(--gold); padding: 0.5rem 2rem 1.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
    display: block; color: rgba(255,255,255,0.85); padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255,215,0,0.1); font-size: 1rem; font-weight: 600;
    transition: all var(--transition);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--gold); padding-left: 0.5rem; }

/* ================================================
   ページヒーロー（内ページ）
   ================================================ */
.page-hero {
    background: linear-gradient(135deg, rgba(0,0,0,0.93), rgba(17,17,17,0.90)),
                url('https://images.unsplash.com/photo-1610375461246-83df859d849d?w=1600&h=700&fit=crop') center/cover fixed;
    color: var(--white); text-align: center; padding: 5.5rem 2rem 5rem;
    position: relative; overflow: hidden; border-bottom: 2px solid var(--gold);
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 60%, rgba(255,215,0,0.18), transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(255,165,0,0.12), transparent 45%);
    animation: heroGlow 5s ease-in-out infinite alternate;
}
@keyframes heroGlow { from { opacity: 0.5; } to { opacity: 1; } }
.page-hero-content { position: relative; z-index: 1; }
.breadcrumb { font-size: 0.83rem; color: rgba(255,255,255,0.45); margin-bottom: 1.2rem; }
.breadcrumb a { color: rgba(255,215,0,0.6); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 0.45rem; }
.page-hero h1 {
    font-size: 2.9rem; font-weight: 900; letter-spacing: 0.1em; margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark), var(--gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero .hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 580px; margin: 0 auto; }

/* ================================================
   セクション共通
   ================================================ */
.section    { padding: 6rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-bg { padding: 6rem 2rem; }
.section-bg .section-inner { max-width: 1200px; margin: 0 auto; }

.section-head { text-align: center; margin-bottom: 4.5rem; }
.section-tag {
    display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em;
    padding: 0.35rem 1.2rem; border-radius: 20px; margin-bottom: 0.9rem;
    background: linear-gradient(135deg, rgba(255,215,0,0.12), rgba(255,165,0,0.1));
    color: var(--gold-dark); border: 1px solid rgba(255,215,0,0.25);
}
.section-title {
    font-size: 2.6rem; font-weight: 900; display: block;
    letter-spacing: 0.08em; margin-bottom: 0.5rem;
    position: relative; padding-bottom: 1.2rem;
}
.section-title.dark { color: var(--black); }
.section-title.light {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 4px; border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), var(--gold), var(--gold-dark), transparent);
    transition: width 0.9s ease;
}
.section-title.visible::after { width: 160px; }
.section-desc { color: var(--text-light); font-size: 1.03rem; line-height: 1.9; }
.section-desc.light { color: rgba(255,255,255,0.7); }

/* ================================================
   ボタン
   ================================================ */
.btn-gold {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--black); padding: 1rem 2.5rem; border-radius: 50px;
    font-weight: 900; font-size: 1rem; border: none; cursor: pointer;
    transition: all 0.4s ease; box-shadow: 0 6px 22px rgba(255,215,0,0.4);
    letter-spacing: 0.06em; position: relative; overflow: hidden;
}
.btn-gold::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 0; height: 0; background: rgba(255,255,255,0.3);
    border-radius: 50%; transform: translate(-50%,-50%); transition: width 0.6s, height 0.6s;
}
.btn-gold:hover::before { width: 450px; height: 450px; }
.btn-gold:hover { transform: translateY(-4px); box-shadow: 0 12px 35px rgba(255,215,0,0.6); }
.btn-gold-lg { padding: 1.2rem 3.5rem; font-size: 1.15rem; }

.btn-outline-gold {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: transparent; color: var(--gold); padding: 0.95rem 2.5rem;
    border-radius: 50px; font-weight: 700; font-size: 1rem;
    border: 2px solid var(--gold); cursor: pointer; transition: all var(--transition);
    letter-spacing: 0.05em;
}
.btn-outline-gold:hover { background: var(--gold); color: var(--black); transform: translateY(-3px); }

.btn-outline-white {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: transparent; color: var(--white); padding: 0.95rem 2.5rem;
    border-radius: 50px; font-weight: 700; font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.5); cursor: pointer; transition: all var(--transition);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; transform: translateY(-3px); }

/* ================================================
   アニメーション
   ================================================ */
.fade-in       { opacity: 0; transform: translateY(35px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left  { opacity: 0; transform: translateX(-50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(50px);  transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }
.scale-in      { opacity: 0; transform: scale(0.85); transition: opacity 0.8s ease, transform 0.8s ease; }
.scale-in.visible { opacity: 1; transform: scale(1); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ================================================
   カード共通（ゴールドボーダー）
   ================================================ */
.card-gold {
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 2.5rem;
    border: 2px solid transparent; position: relative; overflow: hidden;
    transition: all 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card-gold::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
}
.card-gold:hover { transform: translateY(-12px); border-color: rgba(255,215,0,0.4); box-shadow: var(--shadow-gold); }

/* 黒カード（ゴールドボーダー）*/
.card-dark {
    background: rgba(255,255,255,0.04); backdrop-filter: blur(15px);
    border-radius: var(--radius); padding: 2.8rem;
    border: 2px solid rgba(255,215,0,0.2); position: relative; overflow: hidden;
    transition: all 0.45s ease;
}
.card-dark::before {
    content: ''; position: absolute; top: -50%; right: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.08), transparent 65%);
    opacity: 0; transition: opacity 0.5s;
}
.card-dark:hover::before { opacity: 1; }
.card-dark:hover {
    transform: translateY(-10px); border-color: var(--gold);
    box-shadow: 0 15px 50px rgba(255,215,0,0.25);
    background: rgba(255,255,255,0.08);
}

/* ================================================
   CTAバナー（ゴールドグラデーション）
   ================================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--black-soft) 0%, var(--black-light) 50%, var(--black-soft) 100%);
    color: var(--white); text-align: center; padding: 5.5rem 2rem;
    position: relative; overflow: hidden; border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
}
.cta-banner::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255,215,0,0.12), transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255,165,0,0.08), transparent 45%);
}
.cta-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.cta-banner h2 {
    font-size: 2.4rem; font-weight: 900; margin-bottom: 0.8rem; letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cta-banner p  { font-size: 1.1rem; margin-bottom: 2.5rem; color: rgba(255,255,255,0.8); }
.cta-btns      { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; }

/* ================================================
   フッター
   ================================================ */
footer {
    background: var(--black); color: rgba(255,255,255,0.5);
    padding: 4rem 2rem 2rem; border-top: 2px solid var(--gold);
}
.footer-top {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
    padding-bottom: 3rem; border-bottom: 1px solid rgba(255,215,0,0.15);
}
.footer-brand .footer-logo {
    display: flex; align-items: center; gap: 1rem;
    margin-bottom: 1.2rem; text-decoration: none;
}
.footer-brand .footer-logo-img { height: 44px; width: 44px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 10px rgba(255,215,0,0.3); }
.footer-brand .footer-logo-name {
    font-size: 1.3rem; font-weight: 900; letter-spacing: 0.06em;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.footer-brand p   { font-size: 0.87rem; line-height: 1.9; margin-bottom: 0.4rem; }
.footer-brand .footer-tel { font-size: 1.1rem; font-weight: 700; color: var(--gold); margin-top: 1rem; display: block; }
.footer-col h4 {
    color: var(--gold); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em;
    margin-bottom: 1.2rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,215,0,0.2);
}
.footer-col a {
    display: block; font-size: 0.87rem; color: rgba(255,255,255,0.5);
    margin-bottom: 0.6rem; transition: all var(--transition);
}
.footer-col a:hover { color: var(--gold); padding-left: 0.4rem; }
.footer-bottom {
    max-width: 1200px; margin: 2rem auto 0;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.82rem; flex-wrap: wrap; gap: 1rem;
}

/* ================================================
   フォーム
   ================================================ */
.form-group { margin-bottom: 1.8rem; }
.form-label { display: block; font-size: 0.92rem; font-weight: 700; margin-bottom: 0.5rem; color: rgba(255,255,255,0.9); }
.form-label .required { background: var(--gold-dark); color: black; font-size: 0.72rem; padding: 0.1rem 0.5rem; border-radius: 4px; margin-left: 0.5rem; font-weight: 900; }
.form-input, .form-select, .form-textarea {
    width: 100%; padding: 0.9rem 1.1rem; border: 2px solid rgba(255,215,0,0.2); border-radius: var(--radius-sm);
    font-size: 1rem; color: var(--white); font-family: inherit; background: rgba(255,255,255,0.05);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none; border-color: var(--gold); background: rgba(255,215,0,0.05);
    box-shadow: 0 0 0 4px rgba(255,215,0,0.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-textarea { resize: vertical; min-height: 160px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FFD700' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-color: rgba(255,255,255,0.05); }
.form-select option { background: var(--black-light); color: var(--white); }

/* ================================================
   グリッドレイアウト
   ================================================ */
.grid-2    { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3    { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4    { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 2rem; }

/* ================================================
   ユーティリティ
   ================================================ */
.text-center  { text-align: center; }
.text-gold    { color: var(--gold); }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }

/* ================================================
   レスポンシブ
   ================================================ */
@media (max-width: 1024px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .grid-4     { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .hamburger  { display: flex; }
    nav         { display: none; }
    .page-hero  { padding: 4rem 1.5rem 3.5rem; background-attachment: scroll; }
    .page-hero h1 { font-size: 2rem; }
    .section    { padding: 4rem 1.5rem; }
    .section-bg { padding: 4rem 1.5rem; }
    .section-title { font-size: 2rem; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cta-banner h2 { font-size: 1.85rem; }
    .cta-btns { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
    .page-hero h1 { font-size: 1.75rem; }
    .section-title { font-size: 1.75rem; }
    .btn-gold-lg  { padding: 1rem 2rem; font-size: 1rem; }
}
