/* キシディル・ビデオスタジオ カスタムCSS - シニア向け高視認性設計 */
:root {
    --bg-warm: #FAF9F6;
    --text-dark: #2C2E2F;
    --brand-navy: #1E3A8A;
    --brand-accent: #B45309;
    --card-bg: #FFFFFF;
    --border-color: #E4DFD5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-warm);
    color: var(--text-dark);
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    font-size: 18px; /* 大きめのフォント */
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--brand-navy);
    text-decoration: underline;
}
a:hover {
    color: var(--brand-accent);
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--brand-accent);
    color: white;
    padding: 8px;
    z-index: 100;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ヘッダー */
header {
    background: var(--card-bg);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 1rem 2rem;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--brand-navy);
    font-weight: bold;
    font-size: 1.4rem;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--brand-navy);
}

nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

nav a {
    text-decoration: none;
    font-weight: 500;
    color: var(--text-dark);
}

nav a.active {
    color: var(--brand-accent);
    border-bottom: 2px solid var(--brand-accent);
}

/* メイン枠組み */
main {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.section-margin {
    margin-bottom: 4rem;
}

/* ヒーローセクション */
.hero {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem 2rem;
    margin-top: 1rem;
}

@media(min-width: 768px) {
    .hero {
        flex-direction: row;
        align-items: center;
    }
    .hero-text {
        flex: 1.2;
    }
    .hero-img {
        flex: 0.8;
    }
}

.hero h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    color: var(--brand-navy);
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: var(--brand-accent);
    color: white;
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    text-align: center;
}

.btn:hover {
    background: #92400E;
    color: white;
}

.btn-secondary {
    background: var(--brand-navy);
}

.btn-secondary:hover {
    background: #172554;
}

.responsive-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
    max-height: 400px;
    border: 1px solid var(--border-color);
}

/* サービスグリッド - 意図的に非対称で手作り感のある構造 */
.services-section h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--brand-navy);
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media(min-width: 768px) {
    .service-card {
        flex-direction: row;
    }
    .service-card:nth-child(even) {
        flex-direction: row-reverse;
    }
    .service-card-text {
        flex: 1;
    }
    .service-card-img {
        width: 320px;
    }
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--brand-navy);
    margin-bottom: 1rem;
}

.price-tag {
    display: inline-block;
    font-weight: bold;
    color: var(--brand-accent);
    background: #FEF3C7;
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* アシメトリー紹介ブロック */
.about-block {
    background: #F3F4F6;
    border-radius: 8px;
    padding: 2.5rem;
    border-left: 6px solid var(--brand-navy);
}

.about-block h2 {
    color: var(--brand-navy);
    margin-bottom: 1rem;
}

/* 問い合わせフォーム */
.contact-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
}

.contact-section h2 {
    color: var(--brand-navy);
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
}

.form-control:focus {
    outline: 2px solid var(--brand-navy);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input {
    margin-top: 0.3rem;
}

/* アコーディオン FAQ */
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--brand-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 1.2rem 1.2rem 1.2rem;
    display: none;
    border-top: 1px solid var(--border-color);
    background: #FAF9F6;
}

.faq-answer.show {
    display: block;
}

/* トラストレイヤー（フッター直前の免責・親会社表記） */
.trust-layer {
    background: #F1F5F9;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.5rem;
    margin-top: 4rem;
    font-size: 0.95rem;
    color: #475569;
}

.trust-layer h4 {
    color: var(--brand-navy);
    margin-bottom: 0.5rem;
}

/* フッター */
footer {
    background: #1E293B;
    color: #F8FAFC;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media(min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links a {
    color: #CBD5E1;
    text-decoration: none;
}

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

.footer-info {
    font-size: 0.9rem;
    color: #94A3B8;
}

/* クッキー同意バナー */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1E293B;
    color: white;
    padding: 1.5rem;
    z-index: 1000;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
    display: none;
}

.cookie-container {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media(min-width: 768px) {
    .cookie-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.cookie-text {
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-text a {
    color: #93C5FD;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.btn-cookie {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.btn-accept {
    background: #10B981;
    color: white;
}

.btn-decline {
    background: #64748B;
    color: white;
}

/* レスポンシブメニュー用 */
@media(max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--card-bg);
        border-top: 1px solid var(--border-color);
        padding: 1rem 0;
    }
    nav.active {
        display: block;
    }
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}