@charset "UTF-8";

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

html {
    font-size: 16px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: #fff;
    color: #1a1a1a;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: content-box;
}

@media (max-width: 1540px) {
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

.tesla-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.tesla-eyebrow.dark {
    color: #888;
}

.tesla-section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 18px;
    color: #1a1a1a;
}

.tesla-section-title.left {
    text-align: left;
}

.tesla-section-title.light {
    color: #fff;
}

.tesla-lead {
    font-size: 0.92rem;
    line-height: 2;
    text-align: center;
    color: #555;
    margin-bottom: 40px;
}

.tesla-lead.light {
    color: rgba(255, 255, 255, 0.7);
}

.tesla-body {
    font-size: 0.92rem;
    line-height: 2;
    color: #555;
}

/* Hero */

.tesla-hero {
    position: relative;
    height: 50vh;
    min-height: 700px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.52)),
        url('../images/tesla/hero_cars.png') center / cover no-repeat;
}

.tesla-hero__content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    max-width: 860px;
}

.tesla-hero__title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.35;
    margin-bottom: 24px;
}

.tesla-hero__lead {
    font-size: 0.95rem;
    line-height: 2;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
}

/* Certification */

.tesla-cert {
    padding: 90px 0 80px;
    background: #f7f7f7;
}

.tesla-cert__layout {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 28px;
    align-items: stretch;
    margin-bottom: 28px;
}

.tesla-cert__main {
    overflow: hidden;
    background: #111;
    min-height: 420px;
}

.tesla-cert__main img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

.tesla-cert__side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tesla-cert__item {
    background: #fff;
    padding: 26px 24px;
    border-left: 2px solid #333;
}

.tesla-cert__name {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.tesla-cert__desc {
    font-size: 0.86rem;
    line-height: 1.85;
    color: #666;
}

.tesla-cert__gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.tesla-cert__shot {
    margin: 0;
    background: #111;
    overflow: hidden;
}

.tesla-cert__shot img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #1a1a1a;
    transition: transform 0.7s ease;
}

.tesla-cert__shot:hover img {
    transform: scale(1.05);
}

.tesla-cert__shot figcaption {
    padding: 12px 14px 14px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.75);
    background: #111;
}

@media (max-width: 900px) {
    .tesla-cert {
        padding: 60px 0;
    }

    .tesla-cert__layout,
    .tesla-cert__gallery {
        grid-template-columns: 1fr;
    }

    .tesla-cert__main,
    .tesla-cert__main img {
        min-height: 280px;
    }
}

/* Intro */

.tesla-intro {
    padding: 90px 0 70px;
    background: #fff;
}

.tesla-intro__visual {
    overflow: hidden;
}

.tesla-intro__visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 520px;
}

/* Points */

.tesla-points {
    padding: 90px 0;
    background: #111;
    color: #fff;
}

.tesla-point-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.tesla-point {
    background: #1a1a1a;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tesla-point__media {
    height: 220px;
    overflow: hidden;
}

.tesla-point__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.tesla-point:hover .tesla-point__media img {
    transform: scale(1.06);
}

.tesla-point__body {
    padding: 24px 22px 28px;
}

.tesla-point__num {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 10px;
}

.tesla-point__title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
    color: #fff;
}

.tesla-point__text {
    font-size: 0.85rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.68);
}

/* Split */

.tesla-split {
    padding: 90px 0;
    background: #f7f7f7;
}

.tesla-split__row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 70px;
}

.tesla-split__row:last-child {
    margin-bottom: 0;
}

.tesla-split__row.reverse {
    direction: rtl;
}

.tesla-split__row.reverse > * {
    direction: ltr;
}

.tesla-split__media {
    overflow: hidden;
    min-height: 360px;
}

.tesla-split__media img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}

.tesla-split__content .tesla-section-title {
    margin-bottom: 20px;
}

/* Support */

.tesla-support {
    padding: 80px 0;
    background: #fff;
}

.tesla-support__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tesla-support__card {
    background: #111;
    color: #fff;
    overflow: hidden;
}

.tesla-support__media {
    height: 240px;
    overflow: hidden;
}

.tesla-support__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tesla-support__body {
    padding: 28px 26px 32px;
}

.tesla-support__title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.tesla-support__text {
    font-size: 0.88rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.7);
}

/* CTA */

.tesla-cta {
    padding: 90px 0;
    background: #111;
    text-align: center;
    color: #fff;
}

.tesla-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    padding: 1rem 2.4rem;
    margin-top: 10px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: background 0.25s ease, color 0.25s ease;
}

.tesla-btn:hover {
    background: #fff;
    color: #111;
}

@media (max-width: 900px) {
    .tesla-intro,
    .tesla-points,
    .tesla-split,
    .tesla-support,
    .tesla-cta {
        padding: 60px 0;
    }

    .tesla-point-grid,
    .tesla-support__grid,
    .tesla-split__row,
    .tesla-split__row.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 28px;
    }

    .tesla-section-title.left {
        text-align: center;
    }

    .tesla-split__content {
        text-align: center;
    }

    .tesla-split__media,
    .tesla-split__media img {
        min-height: 240px;
    }

    .pc {
        display: none;
    }
}
