/* ================================================
   ReBone Official Website - Style Sheet
   カラーテーマ：白 × ゴールド × シャンパンピンク
   清潔感・高級感・メモリアル
   ================================================ */

/* カラー変数定義 */
:root {
    --color-white: #FFFFFF;
    --color-champagne-pink: #F3E4E6;
    --color-gold: #C8A46A;
    --color-gold-hover: #A8843A;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-footer: #2C2420;
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
}

/* 基本リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.8;
    overflow-x: hidden;
}

/* タイポグラフィ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.4;
}

/* ヘッダー */
.header {
    background-color: var(--color-white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.logo {
    height: 120px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* ナビゲーション */
.nav {
    display: flex;
    gap: 32px;
    align-items: center;
    white-space: nowrap;
}

.nav a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav a:hover {
    color: var(--color-gold);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.cta-button {
    background-color: var(--color-gold);
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(200, 164, 106, 0.3);
}

.cta-button:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 164, 106, 0.4);
}

/* モバイルメニュー */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--color-gold);
    cursor: pointer;
}

/* メインコンテンツ */
main {
    margin-top: 80px;
}

/* セクション共通 */
.section {
    padding: 80px 30px;
}

.section-alt {
    background-color: var(--color-champagne-pink);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--color-text);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-gold);
    margin: 20px auto 0;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-champagne-pink) 100%);
    padding: 150px 30px 100px;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--color-text);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--color-text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* サンプル制作例セクション */
.sample-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
}

.sample-item {
    background-color: var(--color-white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sample-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(200, 164, 106, 0.2);
}

.sample-item h3 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--color-gold);
}

.sample-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sample-step {
    text-align: center;
}

.sample-step-label {
    font-size: 14px;
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.sample-step img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.sample-arrow {
    text-align: center;
    color: var(--color-gold);
    font-size: 24px;
    margin: 10px 0;
}

/* フォーム */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-sans);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}

.form-note {
    font-size: 13px;
    color: var(--color-text-light);
    margin-top: 5px;
}

/* ラジオボタン・チェックボックス */
.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group label,
.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-group input[type="radio"],
.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

/* ボタン */
.btn {
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(200, 164, 106, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 164, 106, 0.4);
}

/* フッター */
.footer {
    background-color: var(--color-footer);
    color: var(--color-white);
    padding: 50px 30px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer a {
    color: var(--color-gold);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* アニメーション */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* レスポンシブ - タブレット */
@media (max-width: 768px) {
    .logo {
        height: 80px;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        gap: 20px;
    }
    
    .nav.active {
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .sample-showcase {
        grid-template-columns: 1fr;
    }
}

/* レスポンシブ - スマホ */
@media (max-width: 480px) {
    .logo {
        height: 60px;
    }
    
    .header-container {
        padding: 15px 20px;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .hero {
        padding: 120px 20px 80px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
}
