* {margin: 0;padding: 0;box-sizing: border-box;}
html {scroll-behavior: smooth;}
body {font-family: "游ゴシック", YuGothic, "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", sans-serif;overflow-x:hidden;color: #000;background: #ffffff;line-height: 1.7;}
img {display: block;width: 100%;}
a {color: inherit;text-decoration: none;}
button {font: inherit;}
.light{background-color:#fff;}
.dark{background-image: url(images/bg-05.jpg);background-size: cover;}
.text-white{color:#fff !important;}

/* ==================================================
   COMMON
================================================== */
.container {width: min(1200px, calc(100% - 80px));margin: 0 auto;}
.section {position: relative;padding: 140px 0;}
.section-title {font-size: clamp(32px, 4vw, 64px);font-weight: 500;letter-spacing: -0.04em;line-height: 1.15;}
.section-lead {margin-top: 25px;color: #666;font-size: 15px;}
.eyebrow {margin-bottom: 25px;font-size: 16px;letter-spacing: .18em;text-transform: uppercase;color: #000;}
.btn {display: inline-flex;align-items: center;justify-content: center;min-width: 170px;height: 52px;padding: 0 28px;border-radius: 30px;background: #111;color: #fff;font-size: 13px;font-weight: 600;transition: .3s;}
.btn:hover {background: #333;transform: translateY(-2px);}

/* ==================================================
   横ズレ防止
================================================== */
html {overflow-x: hidden;}
.lifestyle,.damage {overflow: hidden;}

/* ==================================================
   HEADER
================================================== */

.header {
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 67px;
    display: flex;
    align-items: center;
    /*background: rgba(255,255,255,.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0,0,0,.06);*/
}

.header-inner {
    width: min(1400px, calc(100% - 60px));
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .08em;
    width: 120px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 35px;
    font-size: 12px;
    color: #444;
}

.header-buy {
    min-width: 110px;
    height: 38px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: #111;
    color: #fff;

    font-size: 12px;
}

/* =========================================
   HERO
========================================= */
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
    height: auto;
    overflow: hidden;
}

.hero-parallax {
    position: absolute;
    z-index: 0;
    inset: 0;

    width: 100%;
    height: 100%;

    background-image: url(images/tdx400a-hero-pc.webp);
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: 50% 0%;

    will-change: background-position;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1400px, calc(100% - 100px));
    height: 100%;
    min-height: 0;
    margin: 0 auto;
}

/* SMARTPHONE */
@media (max-width: 900px) {
    .hero {
        aspect-ratio: 9 / 16;
        min-height: 0;
        height: auto;
    }

    .hero-parallax {
        inset: 0;
        width: 100%;
        height: 100%;

        background-image: url(images/tdx400a-hero-sp.webp);
        background-size: 100% auto;
        background-position: 50% 0%;
        background-repeat: no-repeat;
    }

    .hero-inner {
        width: 100%;
        height: 100%;
        min-height: 0;
        margin: 0;
        padding: 0;
    }

    .section.lifestyle {
        padding-top: 0;
    }
}

/* =========================================
   HERO → LIFESTYLE 境界処理
========================================= */

.hero {
    position: relative;
    z-index: 1;
}

.lifestyle {
    position: relative;
    z-index: 2;
    background: #fff;
}


/* SMARTPHONE */
@media (max-width: 900px) {

    .section.lifestyle {
        padding-top: 20%;
    }

}
/* ==================================================
   LIFESTYLE
================================================== */

.lifestyle {
    /*background: #ffffff;*/
}

.lifestyle-inner {
    display: grid;
    grid-template-columns: 1.7fr 1.3fr;
    align-items: center;
    gap: 80px;
}

.lifestyle-image {
    height: 650px;
    overflow: hidden;
}

.lifestyle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lifestyle-copy {
    max-width: 500px;
}

.lifestyle-copy h2 {
    font-size: clamp(38px, 5vw, 70px);
    line-height: 1.2;
    letter-spacing: -.05em;
    font-weight: 500;
}

.lifestyle-copy p {
    margin-top: 30px;
    color: #000;
}

.lifestyle-copy span {
    margin-top: 30px;
    color: #000;
    font-size:11px;
}


/* ==================================================
   FEATURES
================================================== */

.features {
    background: #f7f6f3;
}

.feature-heading {
    text-align: center;
    margin-bottom: 80px;
}

.feature-heading h2 {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 500;
    letter-spacing: -.04em;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.feature {
    padding: 50px 45px;
    text-align: center;
    border-left: 1px solid #ddd;
}

.feature:last-child {
    border-right: 1px solid #ddd;
}

.feature-number {
    font-size: 16px;
    letter-spacing: .15em;
    color: #000;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 25px auto;
    border: 1px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

img.feature-img {
    max-width: 100px;
    margin: 0 auto;
}

.feature h3 {
    font-size: 19px;
    font-weight: 500;
}

.feature p {
    margin-top: 15px;
    font-size: 14px;
    color: #000;
    text-align: left;
}

.feature span {
    margin-top: 15px;
    font-size: 11px;
    color: #000;
}


/* ==================================================
   POWER
================================================== */

.power {
    min-height: 720px;
    display: flex;
    align-items: center;
    background: #050505;
    color: #fff;
    overflow: hidden;
}

.power-inner {
    position: relative;
    width: min(1400px, calc(100% - 100px));
    margin: auto;
}

.power-copy {
    position: relative;
    z-index: 2;
    width: 45%;
}

.power-title {
    font-size: clamp(38px, 5vw, 72px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.05em;
}

.power-description {
    margin-top: 25px;
    color: #000;
    font-size: 14px;
}

.power-stats {
    display: flex;
    gap: 60px;
    margin-top: 60px;
}

.stat strong {
    display: block;
    font-size: 42px;
    font-weight: 400;
}

.stat span {
    font-size: 11px;
    color: #000;
}

.power-product {
    position: absolute;

    width: 65%;
    right: -10%;
    top: 50%;

    transform:
        translateY(-50%)
        rotate(-8deg);

    opacity: .95;
}

/* ==================================================
   DAMAGE
================================================== */

.damage {
    /*background: #ffffff;*/
}

.damage-inner {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr;
    align-items: center;
    gap: 80px;
}

.damage-image {
    height: 650px;
    overflow: hidden;
}

.damage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.damage-copy {
    max-width: 500px;
}

.damage-copy h2 {
    font-size: clamp(38px, 5vw, 70px);
    line-height: 1.2;
    letter-spacing: -.05em;
    font-weight: 500;
}

.damage-copy p {
    margin-top: 30px;
    color: #000;
}

/* ==================================================
   TEMPERATURE
================================================== */

.temperature {
    background: #ebe8e2;
}

.temperature-inner {
    display: grid;
    gap: 100px;
    align-items: center;
}

.temperature-copy h2 {
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.15;
    font-weight: 500;
    letter-spacing: -.05em;
}

.temperature-copy p {
    margin-top: 25px;
    color: #000;
}

.temperature-image {
}

.temperature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.temperature-image picture {
    display: block;
    width: 100%;
}

.temperature-image img {
    display: block;
    width: 100%;
    height: auto;
}

.temperature-graph {
    margin-top: 50px;
    width: 100%;
    height: 180px;
    position: relative;
    border-left: 1px solid #999;
    border-bottom: 1px solid #999;
}

.temperature-graph::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1px dashed #aaa;
}

.temperature-line {
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 30%;
    height: 2px;
    background: #111;
    transform: rotate(-5deg);
    transform-origin: left center;
}

.temperature-line::after {
    content: "本製品";
    position: absolute;
    right: 0;
    top: -25px;
    font-size: 10px;
}

/* ==================================================
   DISPLAY
================================================== */

.display {
    background: #f7f6f3;
}

.display-heading {
    max-width: 600px;
    margin-bottom: 70px;
}

.display-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}


/* 1つのアイテム全体 */
#display .display-gallery .detail {
    aspect-ratio: auto;
    height: auto;
    overflow: visible;

    /* 共通 .detail の装飾を完全解除 */
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none;
}


#display .display-gallery .detail img {
    display: block;
    width: 100%;
    height: auto;

    aspect-ratio: 1 / 1.15;
    object-fit: cover;

    box-shadow: 5px 5px 10px #b2b2b2;
    transition: transform .7s ease;
}


#display .display-gallery .detail p {
    display: block;

    margin: 12px 0 0;
    padding: 0;

    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;

    color: #222;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    font-style: italic;
    font-weight: bold;
}

/* hover */
#display .display-gallery .detail:hover img {
    transform: scale(1.05);
}
/* ==================================================
   LIFESTYLE SCENES
================================================== */

.scenes {
    background: #dedbd4;
}

.scenes-heading {
    text-align: center;
    margin-bottom: 70px;
}

.scenes-heading h2 {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 500;
    letter-spacing: -.04em;
}

.scenes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.scene {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.scene img {
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.scene:hover img {
    transform: scale(1.04);
}

.scene-caption {
    position: absolute;
    left: 25px;
    bottom: 20px;
    color: #fff;
    font-size: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,.4);
}

/* ==================================================
   LIFESTYLE SCENES
================================================== */

.scenes {
    background: #dedbd4;
}

.scenes-heading {
    text-align: center;
    margin-bottom: 70px;
}

.scenes-heading h2 {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 500;
    letter-spacing: -.04em;
}

.scenes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.scene {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.scene img {
    height: 100%;
    object-fit: cover;
    transition: transform .8s ease;
}

.scene:hover img {
    transform: scale(1.04);
}

.scene-caption {
    position: absolute;
    left: 25px;
    bottom: 20px;
    color: #fff;
    font-size: 16px;
    /*text-shadow: 0 2px 10px rgba(0,0,0,.4);*/
    background: rgba(0, 0, 0, 0.3);
    padding: 0 2%;
}

/* ==================================================
   DESIGN
================================================== */

.design {
    background: #f7f6f3;
}

.design-heading {
    max-width: 600px;
    margin-bottom: 70px;
}

.design-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.detail {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    box-shadow: 5px 5px 10px #b2b2b2;
}

.detail img {
    height: 100%;
    object-fit: cover;

    transition: transform .7s ease;
}

.detail:hover img {
    transform: scale(1.05);
}
/* ==================================================
   COLOR
================================================== */

.color {
    background: #f7f6f3;
}

.color-heading {
    text-align: center;
    margin-bottom: 70px;
}

.color-heading h2 {
    font-size: clamp(32px, 4vw, 54px);
    font-weight: 500;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.color {
    padding: 40px;
    background: #fff;
    border: 1px solid #e3e1dd;
}

.stars {
    color: #b18b37;
    letter-spacing: 3px;
}

.color h3 {
    margin-top: 25px;
    font-size: 17px;
    font-weight: 500;
}

.color p {
    margin-top: 15px;
    color: #777;
    font-size: 14px;
}

#color .color img {
	transform-origin: center center;
	will-change: transform;
}

/* ==================================================
   SPEC
================================================== */

.spec {
    background-image:url(images/bg-08.jpg);
    background-size: cover;
}

.spec-heading {
    text-align: center;
    margin-bottom: 70px;
}

.spec-heading h2 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 500;
}

.spec-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.spec-column {
    border-top: 1px solid #000;
}

.spec-row {
    min-height: 58px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
    border-bottom: 1px solid #656565;
    font-size: 14px;
}

.spec-row span:first-child {
    color: #000;
    font-size: 14px;
}

/* =================================
   SPEC PC / SP 切り替え
================================= */

.spec-pc {
    display: grid;
}

.spec-sp {
    display: none;
}


/* スマートフォン */
@media (max-width: 900px) {

    .spec-pc {
        display: none;
    }

    .spec-sp {
        display: grid;
    }

}

/* ==================================================
   CTA
================================================== */

.cta {
    min-height: 700px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background:#373737;
    color: #fff;
}

.cta-inner {
    width: min(1400px, calc(100% - 100px));
    margin: auto;
    position: relative;
    z-index: 2;
}

.cta-copy {
    width: 45%;
}

.cta-title {
    font-size: clamp(42px, 5vw, 76px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.05em;
}

.cta-description {
    margin-top: 25px;
    color: #bbb;
}

.cta-price {
    margin: 35px 0;
    font-size: 18px;
    font-weight: bold;
}

.cta .btn {
    background: #fff;
    color: #111;
}

.cta-product {
    position: absolute;

    width: 55%;
    right: -5%;
    top: 50%;
    transform:
        translateY(-50%)
        rotate(-4deg);

    filter:
        drop-shadow(
            0 40px 40px rgba(0,0,0,.5)
        );
}

/* =========================================
   CTA BUTTONS
========================================= */

.cta-buttons {
    width: min(760px, 100%);
    margin: 40px auto 0;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}


/* 1つ目だけ横幅いっぱい */
.cta-button-main {
    grid-column: 1 / -1;
}


/* ボタン共通 */
.cta-button {
    min-height: 64px;
    padding: 16px 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
    text-decoration: none;

    font-size: 16px;
    font-weight: 600;

    transition:
        transform .3s ease,
        opacity .3s ease;
   background: #fff;
    color: #373737;
}


/* hover */
.cta-button:hover {
    transform: translateY(-3px);
    opacity: .85;
}


/* =========================================
   SMARTPHONE
========================================= */

@media (max-width: 900px) {

    .cta-buttons {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 30px;
    }

    .cta-button-main {
        grid-column: auto;
    }

    .cta-button {
        width: 100%;
        min-height: 60px;
    }

}


/* ==================================================
   FOOTER
================================================== */

.footer {
    padding: 35px 0;
    background: #050505;
    color: #fff;
    font-size: 14px;
}

.footer-inner {
    width: min(1200px, calc(100% - 80px));
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 900px) {
    .container,
    .power-inner,
    .cta-inner {
        width: min(100% - 40px, 700px);
    }

    .nav {
        display: none;
    }

    .hero-inner {
        display: block;
    }

    .hero-title {
        font-size: 43px;
        text-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff, 0 0 30px #71dcf6, 0 0 40px #7371f6, 0 0 50px #58cbd7, 0 0 60px #9dbdab, 0 0 70px #8fd0ff;
    }
    .hero-copy {
        width: 100%;
        top:0;
    }

    .hero-product {
        width: 85vw;
        right: -10%;
        top: 62%;
    }

    .lifestyle-inner,
    .temperature-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .lifestyle-image {
        height: 450px;
        order: 2;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature {
        border-left: 0;
        border-bottom: 2px solid #ffffff;
    }

    .feature:last-child {
        border-right: 0;
    }

	.power {
	        min-height: auto;
    }

    .power-inner {
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    .power-copy {
        width: 100%;
    }

    /* 画像を文字の下に配置 */
    .power-image {
        position: relative;
        width: 100%;
    }

	.power-product {
	    position: relative;
	    width: 120%;
	    max-width: none;
	    right: auto;
	    top: auto;
	    margin-left: -10%;
	    transform: rotate(-8deg);
    }

    .damage-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .damage-copy {
        width: 100%;
        max-width: none;
    }

    .damage-image {
        width: 100%;
        height: auto;
    }

    .damage-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    .display-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .design-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .scenes-grid,
    .review-grid {
        grid-template-columns: 1fr;
    }
    
    .spec-table {
        grid-template-columns: 1fr;
    }

   .cta {
        min-height: auto;
        padding: 100px 0;
    }

    .cta-inner {
        display: flex;
        flex-direction: column;
        gap: 60px;
    }

    .cta-copy {
        width: 100%;
        position: relative;
        z-index: 2;
    }

    .cta-product {
        position: relative;
        width: 110%;
        max-width: none;
        right: auto;
        top: auto;
        margin-left: -5%;
        transform: rotate(-4deg);
        filter:
            drop-shadow(
                0 30px 30px rgba(0,0,0,.35)
            );
    }

    .footer-inner {
        width: calc(100% - 40px);
        flex-direction: column;
        gap: 15px;
    }
}


@media (max-width: 500px) {

    .section {
        padding: 90px 0;
    }

    .hero-title {
        font-size: 43px;
        text-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff, 0 0 30px #71dcf6, 0 0 40px #7371f6, 0 0 50px #58cbd7, 0 0 60px #9dbdab, 0 0 70px #8fd0ff;
    }

    .hero-product {
        top: 63%;
    }

    .lifestyle-image {
        height: 350px;
    }

    .display-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    
    .design-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .power-stats {
        gap: 30px;
    }

    .stat strong {
        font-size: 30px;
    }

    .color {
        padding: 28px;
    }

    .color-grid {
        grid-template-columns: 1fr;
    }
    
    .spec-row {
        grid-template-columns: 1fr 1.3fr;
    }
}

