* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Shippori Mincho', serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* アニメーション */
.fade-target {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-target.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-content {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease, transform 1s ease;
}

.hero-content.hero-fade-in {
    opacity: 1;
    transform: translateX(0);
}

.hero-image-wrapper {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.hero-image-wrapper.hero-image-fade-in {
    opacity: 1;
    transform: scale(1);
}

/* ヒーローセクション */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 60px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-right: -100px;
}

.hero-image-wrapper {
    position: relative;
    width: 60%;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/himage-bg.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 300;
}

.hero-product-type {
    font-size: 34px;
    font-weight: 300;
    margin-bottom: 0;
    letter-spacing: 1px;
    line-height: 0.9;
}

.hero-title {
    font-size: 88px;
    font-weight: 300;
    margin-bottom: 60px;
    margin-top: 0;
    letter-spacing: -2px;
    line-height: 0.9;
}

.hero-series {
    font-size: 36px;
    font-weight: 300;
    margin-left: 10px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-bottom: 60px;
}

.spec-item {
    text-align: center;
    border-left: 1px solid #444;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.spec-item:first-child {
    border-left: none;
}

.spec-label {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 10px;
}

.spec-value {
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 5px;
    line-height: 1;
}

.spec-value-small {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.4;
}

.spec-sublabel {
    font-size: 14px;
    color: #ccc;
}

.cta-buttons,
.spec-button {
    width: 100%;
    display: flex;
    gap: 20px;
}

.cta-buttons .btn,
.spec-button .btn {
    flex: 1;
}

.btn {
    padding: 20px 50px;
    font-size: 14px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    line-height: 1.6;
}

.btn-primary {
    background: linear-gradient(135deg, #d4a017 0%, #b8860b 100%);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 160, 23, 0.4);
}

.btn-primary a,
.btn-primary a:link,
.btn-primary a:visited,
.btn-primary a:hover,
.btn-primary a:active {
    color: #000;
    text-decoration: none;
    display: block;
}

.btn-text {
    font-size: 18px;
    font-weight: 600;
}

.hero-image {
    position: absolute;
    bottom: 5%;
    left: 0;
    right: 0;
    width: 100%;
    height: 85%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 2;
    padding-left: 20%;
}

.hero-image-main {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.hero-note {
    position: absolute;
    bottom: 0;
    right: 20px;
    font-size: 12px;
    color: #999;
    z-index: 3;
}

/* 共通セクションスタイル */
section {
    padding: 120px 0;
}

.section-title {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.3;
}

.section-title-large {
    font-size: 72px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 10px;
}

.section-text {
    font-size: 16px;
    color: #fff;
    line-height: 1.8;
}

/* イントロセクション */
.intro-section {
    position: relative;
    background: #000;
    text-align: center;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.intro-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('images/sec-pre-bgm.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1;
}

.intro-section .container {
    position: relative;
    z-index: 2;
}

.intro-section .section-title {
    font-size: 56px;
    margin-bottom: 40px;
}

.intro-section .section-text {
    font-size: 20px;
    line-height: 2;
    max-width: 900px;
    margin: 0 auto;
}

/* 特長セクション */
.features-section,
.features-section-alt {
    position: relative;
}

.features-section {
    background: #000;
}

.features-section-alt {
    background: #0a0a0a;
}

.features-section::before,
.features-section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #8b0000, transparent);
}

.features-section .section-title,
.features-section-alt .section-title {
    font-size: 36px;
    line-height: 1.4;
}

.content-split {
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
}

.content-split::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 60%;
    background: linear-gradient(180deg, transparent, #333, transparent);
}

.text-content,
.image-content {
    flex: 1;
}

.image-content {
    position: relative;
}

.image-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 2px solid #8b0000;
    border-left: 2px solid #8b0000;
    opacity: 0.5;
}

.image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.note-text {
    font-size: 14px;
    color: #999;
    display: block;
    margin-top: 10px;
}

/* サポートセクション */
.support-section {
    position: relative;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
    background: #fff;
}

.support-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/sp-image-bg.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.support-section .container {
    position: relative;
    z-index: 2;
}

.support-section .section-title {
    color: #000;
    font-size: 42px;
    margin-bottom: 40px;
    line-height: 1.5;
}

.support-image {
    max-width: 900px;
    margin: 0 auto 40px;
}

.support-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.support-section .section-text {
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

/* 動画セクション */
.movie-section {
    background: #000;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* スペックセクション */
.spec-section {
    background: #000;
    padding-bottom: 80px;
}

.spec-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.spec-column {
    background: #0a0a0a;
    padding: 40px 30px;
    border-radius: 8px;
}

.spec-model-title {
    font-size: 28px;
    font-weight: 500;
    text-align: center;
    position: sticky;
    top: 0;
    background: #0a0a0a;
    padding: 20px 30px;
    margin: -40px -30px 10px;
    z-index: 10;
    border-radius: 8px 8px 0 0;
}

.spec-model-subtitle {
    font-size: 16px;
    font-weight: 300;
    color: #ccc;
}

.spec-list {
    margin-top: 30px;
}

.spec-list dt {
    font-size: 14px;
    float: left;
    clear: left;
    width: 40%;
    padding: 12px 10px 12px 0;
    border-top: 1px solid #333;
}

.spec-list dt:first-of-type {
    border-top: none;
}

.spec-list dd {
    font-size: 14px;
    float: left;
    width: 60%;
    padding: 12px 0;
    margin-left: 0;
    line-height: 1.6;
    border-top: 1px solid #333;
}

.spec-list dd:first-of-type {
    border-top: none;
}

.spec-list::after {
    content: "";
    display: table;
    clear: both;
}

.spec-button {
    margin-top: 30px;
    clear: both;
}

/* フッター */
.footer {
    background: #1a1a1a;
    padding: 40px 20px;
    text-align: center;
    color: #888;
    border-top: 1px solid #333;
}

.footer p {
    margin: 8px 0;
    font-size: 13px;
}

.footer a {
    color: #d4a017;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 40px;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
        margin-right: 0;
    }

    .hero-title {
        font-size: 56px;
    }

    .hero-product-type {
        font-size: 28px;
    }

    .hero-image-wrapper {
        width: 100%;
        height: 60vh;
        min-height: 500px;
    }

    .hero-bg {
        background-size: cover;
    }

    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-split {
        flex-direction: column;
        gap: 40px;
    }

    .content-split::after {
        display: none;
    }

    .content-split .text-content {
        order: 2;
    }

    .content-split .image-content {
        order: 1;
    }

    .image-content::before {
        width: 60px;
        height: 60px;
        top: -10px;
        left: -10px;
    }

    .spec-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .spec-model-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-product-type {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-image-wrapper {
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-right: -20px;
        height: 60vh;
        min-height: 450px;
    }

    .hero-bg {
        background-size: cover;
        background-position: center;
    }

    .hero-image {
        bottom: 8%;
        height: 80%;
        padding-left: 0;
        left: 50%;
        transform: translateX(-30%);
    }

    .hero-image-main {
        max-width: 90%;
        max-height: 100%;
    }

    .hero-note {
        right: 10px;
        font-size: 10px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-title-large {
        font-size: 48px;
        letter-spacing: 5px;
    }

    .section-text {
        font-size: 14px;
    }

    .intro-section .section-title {
        font-size: 36px;
    }

    .intro-section .section-text {
        font-size: 16px;
        line-height: 1.8;
    }

    .intro-bg {
        background-attachment: scroll;
    }

    .features-section .section-title,
    .features-section-alt .section-title {
        font-size: 28px;
    }

    .support-section .section-title {
        font-size: 24px;
    }

    .specs-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
    }

    .spec-item {
        padding: 0 10px;
    }

    .spec-label {
        font-size: 10px;
    }

    .spec-value {
        font-size: 24px;
    }

    .spec-value-small {
        font-size: 14px;
    }

    .spec-sublabel {
        font-size: 10px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    section {
        padding: 80px 0;
    }
}
