/* ===========================
   D12 PIPEHUB LP DESIGN
   Structure & Silence
   ペルソナ：森下隼（38歳／構造美を愛するプロダクトデザイナー）
   =========================== */

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Serif JP', serif;
    color: #222222;
    background-color: #FFFFFF;
    line-height: 1.9;
    letter-spacing: 0.03em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* TYPOGRAPHY */
h1, h2, h3 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 400;
    letter-spacing: 0.05em;
}

h1 {
    font-size: 2.8rem;
    line-height: 1.6;
}

h2 {
    font-size: 2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem;
}

p {
    font-size: 1.125rem;
    line-height: 1.9;
    margin-bottom: 1.8rem;
}

blockquote.quote {
    font-size: 1.4rem;
    line-height: 1.8;
    font-weight: 300;
    border-left: 2px solid #B3B3B3;
    padding-left: 2rem;
    margin: 3rem 0;
    color: #444;
    font-style: italic;
}

/* LAYOUT */
.section {
    min-height: 100vh;
    padding: 8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.breath-text p {
    margin-bottom: 2.5rem;
}

/* HERO SECTION */
#hero {
    background-color: #FFFFFF;
    text-align: center;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.hero-product {
    margin-bottom: 2rem;
}

.structure-icon {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #E8E8E8 0%, #C0C0C0 100%);
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.structure-icon::before {
    content: '';
    position: absolute;
    width: 40%;
    height: 2px;
    background: #999;
    top: 30%;
    left: 30%;
    transform: rotate(45deg);
}

.structure-icon::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 2px;
    background: #999;
    top: 30%;
    right: 30%;
    transform: rotate(-45deg);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

.hero-inscription {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #B3B3B3;
    margin-top: 4rem;
}

/* CTA BUTTONS */
.cta-button,
.cta-button-large,
.cta-button-final {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: #707070;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-button:hover,
.cta-button-large:hover,
.cta-button-final:hover {
    background-color: #000000;
    transform: translateY(-2px);
}

.cta-button:active,
.cta-button-large:active,
.cta-button-final:active {
    transform: translateY(0);
}

.cta-button-large {
    padding: 1.3rem 4rem;
    font-size: 1.05rem;
    margin-top: 2rem;
}

.cta-button-final {
    padding: 1.5rem 5rem;
    font-size: 1.1rem;
}

/* TEXT SECTIONS */
.text-section {
    background-color: #FAFAFA;
}

.section-title {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* DARK SECTIONS */
.dark-section {
    background-color: #F5F5F5;
    color: #222;
}

.mono-section {
    background: linear-gradient(to bottom, #FEFEFE 0%, #F0F0F0 100%);
}

/* IMAGES & PLACEHOLDERS */
.section-image {
    margin: 4rem 0;
}

.placeholder-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #E8E8E8 0%, #D0D0D0 50%, #C0C0C0 100%);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.structure-detail {
    height: 300px;
}

.pipes-assembly {
    height: 500px;
}

.craftsmanship-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 3rem 0;
}

.craftsmanship-grid .placeholder-image {
    height: 280px;
}

.full-kit {
    height: 600px;
    background: linear-gradient(135deg, #F5F5F5 0%, #E0E0E0 50%, #C8C8C8 100%);
}

.workshop-scene {
    height: 450px;
}

/* PARALLAX */
.parallax-image {
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* YEAR BADGE */
.year-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #999;
    text-align: center;
    margin-top: 3rem;
    opacity: 0.6;
}

/* CENTER PAUSE (強調) */
.center-pause {
    text-align: center;
    border: none;
    padding: 3rem 0;
    font-size: 1.8rem;
    color: #000;
}

/* SPEC SECTION */
#spec {
    background-color: #FFFFFF;
}

.spec-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.spec-detail h3 {
    color: #999;
    margin-bottom: 1rem;
}

.spec-detail ul {
    list-style: none;
    padding-left: 0;
}

.spec-detail ul li {
    padding: 0.4rem 0;
    border-bottom: 1px solid #F0F0F0;
}

.spec-detail ul li:last-child {
    border-bottom: none;
}

/* OFFER SECTION */
.offer-section {
    background-color: #FAFAFA;
}

.product-layout {
    margin-bottom: 4rem;
}

.price-box {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    padding: 3rem;
    margin: 3rem 0;
    text-align: center;
}

.price-original {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 1rem;
}

.price-special {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
}

.price-special span {
    color: #707070;
}

.price-note {
    font-size: 0.9rem;
    color: #666;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.05em;
    margin-top: 1rem;
}

/* TESTIMONIALS */
.testimonials {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
}

.testimonial {
    background-color: #F9F9F9;
    padding: 2rem 2.5rem;
    border-left: 3px solid #C0C0C0;
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
}

/* CLOSING SECTION */
.closing-section {
    background-color: #FFFFFF;
    min-height: 80vh;
    text-align: center;
}

.closing-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.closing-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 0.08em;
}

.closing-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #888;
}

.shadow-line {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C0C0C0, transparent);
    margin-top: 3rem;
    animation: shadowExpand 2s ease-in-out infinite;
}

@keyframes shadowExpand {
    0%, 100% { width: 200px; opacity: 0.5; }
    50% { width: 300px; opacity: 1; }
}

/* RESERVE SECTION */
.reserve-section {
    background-color: #F5F5F5;
}

.reserve-box {
    background-color: #FFFFFF;
    border: 1px solid #D0D0D0;
    padding: 4rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.reserve-box h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-family: 'Noto Serif JP', serif;
    text-transform: none;
}

.reserve-detail {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.reserve-period {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 2rem;
}

.reserve-price {
    font-size: 1.3rem;
    margin: 2rem 0;
}

.reserve-price .original {
    color: #999;
    text-decoration: line-through;
}

.reserve-price .special {
    color: #000;
    font-weight: 600;
    font-size: 1.6rem;
}

/* FOOTER */
.footer {
    background-color: #222;
    color: #AAA;
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.footer-text {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: #CCC;
}

.footer-copy {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #777;
}

/* FADE-IN ANIMATIONS */
.fade-in,
.fade-up {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in {
    transform: scale(0.95);
}

.fade-up {
    transform: translateY(40px);
}

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

/* DELAYS */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }
.delay-5 { transition-delay: 1s; }
.delay-6 { transition-delay: 1.2s; }

/* RESPONSIVE */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .section {
        padding: 5rem 1.5rem;
        min-height: auto;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .structure-icon {
        width: 140px;
        height: 140px;
    }

    .craftsmanship-grid {
        grid-template-columns: 1fr;
    }

    .spec-content {
        grid-template-columns: 1fr;
    }

    .price-box,
    .reserve-box {
        padding: 2rem;
    }

    blockquote.quote {
        font-size: 1.2rem;
        padding-left: 1rem;
    }

    .cta-button-large,
    .cta-button-final {
        padding: 1.2rem 2.5rem;
        font-size: 1rem;
    }
}

/* SMOOTH SCROLL LIMITER (静寂感のための速度制限) */
html.smooth-scroll {
    scroll-behavior: smooth;
}
