@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&family=Poppins:wght@300;400&display=swap');

/* デザインシステムトークン */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f6f8fa;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.6);
    --accent: #0f766e;
    --accent-gradient: linear-gradient(135deg, #0f766e, #0369a1);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: rgba(15, 23, 42, 0.08);
    --border-active: rgba(15, 118, 110, 0.5);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
}

/* カスタムスクールバー */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* 共通コンポーネント＆タイポグラフィ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    font-weight: 700;
}

p {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* プレローダー */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-title {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    animation: pulse 2s infinite ease-in-out;
}

.loader-bar-wrap {
    width: 200px;
    height: 2px;
    background: rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.loader-bar {
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    position: absolute;
    left: -100%;
    animation: load 1.8s forwards cubic-bezier(0.1, 0.7, 0.1, 1);
}

/* アニメーションキーフレーム */
@keyframes load {
    to { left: 0; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

@keyframes subtle-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.6; }
}

/* 固定ヘッダー */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    background-color: var(--bg-glass);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-preorder {
    background: var(--text-primary);
    color: var(--bg-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    transition: var(--transition-smooth);
}

.btn-preorder:hover {
    transform: translateY(-2px);
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.2);
}

/* メニューボタン・トグル */
.menu-toggle {
    cursor: pointer;
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    z-index: 1002;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ドロワーメニュー */
.drawer-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 6rem 3rem 3rem 3rem;
    transition: var(--transition-smooth);
}

.drawer-menu.active {
    right: 0;
}

.drawer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.drawer-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.drawer-links a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.drawer-contact {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.drawer-contact p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.drawer-contact a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

.drawer-contact a:hover {
    text-decoration: underline;
}

/* スクロールアニメーション用スタイル */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ヒーローセクション */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 8rem;
    padding-bottom: 4rem;
    overflow: hidden;
}

.hero-glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.05) 0%, rgba(3, 105, 161, 0.02) 50%, rgba(255,255,255,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    animation: subtle-glow 8s infinite ease-in-out;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-subtitle::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background-color: var(--accent);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

.hero-tagline {
    display: block;
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
    font-weight: 300;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.03em;
}

.hero-desc {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 3rem;
}

.hero-tag {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.hero-tag span {
    color: var(--accent);
    font-weight: 600;
    margin-right: 0.3rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.25);
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--text-primary);
    color: var(--bg-primary);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.15);
}

.btn-secondary {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.hero-image-wrap {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(15, 23, 42, 0.12));
}

/* 主要機能セクション */
.section {
    padding: 8rem 0;
}

.section-bg-alt {
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 5rem auto;
}

.section-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.8rem;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    line-height: 1.2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(41, 243, 195, 0.03) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 23, 42, 0.15);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.05);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.feature-card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.feature-card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* 適応モード（Modes）セクション */
.modes-section {
    padding: 8rem 0;
    position: relative;
}

.modes-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

.modes-tabs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mode-tab {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
    outline: none;
}

.mode-tab:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.mode-tab.active {
    background: rgba(15, 118, 110, 0.03);
    border-color: var(--border-active);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.04);
}

.mode-tab-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.mode-tab.active .mode-tab-title {
    color: var(--accent);
}

.mode-tab-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: none;
}

.mode-tab.active .mode-tab-desc {
    display: block;
}

.modes-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    aspect-ratio: 1;
    overflow: hidden;
}

.modes-img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: var(--transition-smooth);
    animation: float 8s infinite ease-in-out;
}

/* パララックスセクション */
.parallax-section {
    height: 50vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)), url('assets/images/ambient_bg.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
    will-change: transform;
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.parallax-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.parallax-subtitle {
    font-size: 1.2rem;
    color: var(--accent);
    letter-spacing: 0.1em;
}

/* 詳細解説・快適性 (Benefits) */
.benefits-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.benefits-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.benefit-item {
    border-left: 2px solid rgba(15, 23, 42, 0.1);
    padding-left: 1.5rem;
    transition: var(--transition-smooth);
}

.benefit-item:hover {
    border-left-color: var(--accent);
}

.benefit-title {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.benefit-desc {
    font-size: 0.95rem;
}

/* 予約注文 (Order) セクション */
.order-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.06);
}

.order-visual-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 3rem;
    position: relative;
}

.order-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08));
    transition: var(--transition-smooth);
    animation: float 7s infinite ease-in-out;
}

.order-price-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--text-primary);
    color: var(--bg-primary);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
}

.color-picker {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.color-option {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.color-option.active {
    border-color: var(--accent);
    transform: scale(1.15);
}

.color-option::after {
    content: attr(data-color-name);
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--text-secondary);
    white-space: nowrap;
    opacity: 0;
    transition: var(--transition-smooth);
}

.color-option:hover::after, .color-option.active::after {
    opacity: 1;
}

.order-perks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.order-perk {
    text-align: center;
}

.order-perk-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.order-perk p {
    font-size: 0.75rem;
    font-weight: 500;
}

/* 仕様表 (Specs) セクション */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.specs-row {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
}

.specs-label {
    font-weight: 500;
    color: var(--text-primary);
}

.specs-val {
    color: var(--text-secondary);
    text-align: right;
}

/* FAQセクション */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.faq-item.active {
    border-color: var(--border-active);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer-inner {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* お問い合わせセクション */
.contact-section {
    background-color: #ffffff;
    padding: 7rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 100px;
}

.contact-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.contact-detail-item span {
    color: var(--accent);
    font-size: 1.3rem;
    background: rgba(15, 118, 110, 0.08);
    padding: 0.7rem;
    border-radius: 50%;
    margin-top: 0.1rem;
}

.contact-detail-item h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.contact-detail-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-form-container {
    background: #fcfcfc;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group label .required {
    color: #ef4444;
    margin-left: 2px;
}

.form-input {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 0.9rem 1.2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    width: 100%;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
    outline: none;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
}

.success-icon {
    color: var(--accent);
    font-size: 4rem !important;
    margin-bottom: 1.5rem;
}

.success-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.success-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 400px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        position: static;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
}

/* フッター */
.site-footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 5rem 0 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-desc {
    margin-top: 1rem;
    max-width: 320px;
}

.footer-title {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    flex-grow: 1;
    outline: none;
    font-family: var(--font-body);
}

.newsletter-input:focus {
    border-color: var(--accent);
}

.btn-submit {
    background: var(--accent-gradient);
    border: none;
    border-radius: 8px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
}

.btn-submit span {
    color: var(--bg-primary) !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   ライフスタイルセクション (Lifestyle Section)
   ========================================================================== */
.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 1rem;
}

.lifestyle-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.lifestyle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
}

.lifestyle-image-wrap {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
}

.lifestyle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.lifestyle-card:hover .lifestyle-img {
    transform: scale(1.04);
}

.lifestyle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.lifestyle-tag {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-family: var(--font-heading);
}

.lifestyle-info {
    padding: 2rem;
}

.lifestyle-card-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.lifestyle-card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-subtitle {
        justify-content: center;
    }
    
    .hero-subtitle::before {
        display: none;
    }
    
    .hero-tags {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .modes-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .modes-visual {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .benefits-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .order-card {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 2.5rem;
    }
    
    .lifestyle-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .lifestyle-image-wrap {
        height: 260px;
    }

    .lifestyle-info {
        padding: 1.5rem;
    }

    .site-header {
        padding: 0.9rem 0;
    }

    .site-header.scrolled {
        padding: 0.7rem 0;
    }

    .hero-section {
        min-height: auto;
        padding-top: 7rem;
        padding-bottom: 4rem;
    }

    .hero-image-wrap {
        max-width: 320px;
        margin: 0 auto;
    }

    .section {
        padding: 5rem 0;
    }

    .features-grid {
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .modes-layout {
        gap: 2.5rem;
    }

    .mode-tab {
        padding: 1.25rem 1.5rem;
    }

    .benefits-split {
        gap: 2.5rem;
    }

    .benefit-item {
        padding-left: 1.25rem;
    }

    .order-card {
        padding: 2.5rem 1.5rem;
        gap: 2.5rem;
    }

    .order-visual-wrap {
        padding: 2rem 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .brand-logo {
        font-size: 1.3rem;
        letter-spacing: 0.05em;
    }

    .btn-preorder {
        display: none; /* スマホではヘッダーの注文ボタンを非表示にし、重なりを防ぐ */
    }

    .nav-actions {
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.15;
    }

    .section-title {
        font-size: 1.8rem !important;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: stretch;
    }

    .btn-primary, .btn-secondary {
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    .hero-tags {
        gap: 0.5rem;
    }

    .hero-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .order-price-badge {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 1rem;
        align-self: center;
    }

    .order-perks {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 2rem;
    }

    .specs-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
        padding: 0.9rem 0;
    }

    .specs-val {
        text-align: left;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }

    .faq-answer-inner {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }

    .loader-title {
        font-size: 1.75rem;
    }
}

/* ==========================================================================
   言語切り替えシステム
   ========================================================================== */
html[lang="en"] :is(.lang-ja, [lang="ja"]) {
    display: none !important;
}
html[lang="ja"] :is(.lang-en, [lang="en"]) {
    display: none !important;
}

/* 言語切り替えトグルのスタイル */
.lang-switcher {
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid var(--border);
    padding: 3px;
    border-radius: 20px;
    gap: 2px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
    outline: none;
    line-height: 1;
}

.lang-btn:hover {
    color: var(--text-primary);
}

.lang-btn.active {
    background: var(--text-primary);
    color: var(--bg-primary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

