:root {
    --main-color: #1549E3;
    --base-color: #EEEEEE;
    --sub-color: #333333;

    --font-bruno: 'Bruno Ace', cursive;
    /* Weight: 400 only */
    --font-roboto: 'Roboto', sans-serif;
    /* Weight: 100, 300, 400, 500, 700, 900 (+ Italic) */
    --font-antonio: 'Antonio', sans-serif;
    /* Weight: 100..700 (Variable) */
    --font-noto-jp: 'Noto Sans JP', sans-serif;
    /* Weight: 100..900 (Variable) */
}

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

body {
    background-color: var(--base-color);
    color: var(--sub-color);
    font-family: var(--font-noto-jp);
}

html {
    font-size: 16px;
}

@media (max-width: 768px) {
    html {
        font-size: 12px;
    }
}

/* ========================
    共通スタイル
======================== */
img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background-color: var(--main-color);
    color: var(--base-color);
    padding: 1rem 3rem;
    border-radius: 100px;
    transition: all 0.3s;
    z-index: 100;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

button:hover {
    background-color: var(--base-color);
    color: var(--main-color);
    box-shadow: 0 0 0 1px var(--main-color);
}

/* ========================
    共通スタイル
======================== */
.title {
    font-size: 4rem;
    margin-bottom: 1rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .title {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
}


.text {
    font-size: 1.25rem;
    line-height: 1.6;
}

/* ========================
    ヒーローセクション
======================== */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    /* 浮遊によるはみ出し防止 */
    background-color: var(--base-color);
}

h1 {
    display: inline-block;
    font-size: 2.5rem;
    position: absolute;
    top: 40px;
    left: 60px;
    font-family: var(--font-bruno);
}

@media (max-width: 768px) {
    h1 {
        top: 60px;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.hero-cta {
    position: fixed;
    top: 40px;
    right: 60px;
    font-size: 1.25rem;

    transition: opacity 0.4s ease, visibility 0.4s;
    z-index: 999;
    /* 他の要素に埋もれないよう調整 */
}

@media (max-width: 768px) {
    .hero-cta {
        top: 95%;
        right: 50%;
        transform: translate(50%, -50%);
        font-size: 1.5rem;
    }
}

.hero-img-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.hero-img {
    position: absolute;
    width: auto;
    height: 85vh;
    /* 画面の高さに合わせる */
    object-fit: contain;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    /* 1.5秒かけてフェード */

    /* 浮遊アニメーションを画像自体に適用 */
    animation: float 3s ease-in-out infinite alternate;
}

@media (max-width: 768px) {
    .hero-img {
        width: 105%;
        height: auto;
    }
}


.hero-img.is-active {
    opacity: 1;
    z-index: 2;
}

/* 浮遊アニメーション：translateYのみを制御して中央配置を維持 */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

.hero-copy {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
    pointer-events: none;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .hero-copy {
        top: 45%;
    }
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: var(--font-roboto);
}

/* ========================
    コンセプトセクション
======================== */
.concept {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    padding: 10px;
}

@media (max-width: 768px) {
    .concept {
        height: 60vh;
    }
}

.concept-content>p {
    font-size: 1.25rem;
    line-height: 2.4;
}

@media (max-width: 768px) {
    .concept-content>p {
        line-height: 1.6;
    }
}

/* ========================
    特長セクション
======================== */
.features {
    height: 300vh;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .features {
        height: auto;
        padding: 0 20px;
    }
}

.features-top {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100vh;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(45deg, #EDE5DC, #C2AB92);
}

@media (max-width: 768px) {
    .features-top {
        flex-direction: column-reverse;
        justify-content: center;
        height: auto;
    }
}

.features-top-img {
    flex: 1 0 60%;
    padding-top: 20px;
}

@media (max-width: 768px) {
    .features-top-img {
        flex: 1;
        padding-top: 0;
        margin-top: -20px;
    }
}

.features-top-content {
    flex: 0 1 40%;
    padding-right: 100px;
}

@media (max-width: 768px) {
    .features-top-content {
        flex: 1;
        padding: 20px 40px 0 40px;

    }
}


.earpad {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    padding: 60px;
    height: 100vh;
}

@media (max-width: 768px) {
    .earpad {
        flex-direction: column-reverse;
        gap: 100px;
        padding: 20px;
        height: auto;
    }
}

.earpad-img {
    flex: 0 0 40%;
    position: relative;
    display: inline-block;
    /* 画像の幅にコンテナを合わせる */
}

@media (max-width: 768px) {
    .earpad-img {
        flex: 1;
        width: 80%;
        margin-bottom: 50px;
    }
}

.hotspot {
    position: absolute;
    top: 10%;
    left: 95%;
    display: flex;
    align-items: center;
    transform: translate(-50%, -50%);
    z-index: 10;
}

@media (max-width: 768px) {
    .hotspot {
        top: 0%;
        left: 70%;
        transform: translate(-50%, -50%) rotate(-90deg);
    }
}

.hotspot-dot {
    width: 16px;
    height: 16px;
    background-color: var(--main-color);
    border-radius: 50%;
}

.hotspot-line {
    width: clamp(100px, 15vw, 250px);
    /* 画面幅に応じて可変しつつ制限をかける */
    height: 4px;
    background-color: var(--main-color);
}

.earpad-content {
    flex: 1 1;
}

.headgere {
    height: 100vh;
    position: relative;
    padding: 0 60px;
}

@media (max-width: 768px) {
    .headgere {
        height: auto;
        padding: 0 20px 250px 20px;
    }
}

.headgere-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    /* 親要素に対するサイズを固定 */
}

@media (max-width: 768px) {
    .headgere-img {
        width: 100%;
    }
}

.headgere-content {
    max-width: 40vw;
}

@media (max-width: 768px) {
    .headgere-content {
        max-width: 100%;
    }
}

.hotspot2 {
    position: absolute;
    /* 画像内の特定のパーツ（例：バンドの付け根）に%で固定 */
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 768px) {
    .hotspot2 {
        position: absolute;
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.hotspot-dot2 {
    width: 16px;
    height: 16px;
    background-color: var(--main-color);
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.hotspot-L {
    position: absolute;
    bottom: 8px;
    right: 6px;
    width: 150px;
    height: 250px;
    border-top: 4px solid var(--main-color);
    border-right: 4px solid var(--main-color);
    pointer-events: none;
}

@media (max-width: 768px) {
    .hotspot-L {
        bottom: 8px;
        right: 6px;
        width: 0;
        height: 100px;
        border-top: 4px solid var(--main-color);
        border-right: 4px solid var(--main-color);
        pointer-events: none;
    }
}

/* ========================
    特長セクション
======================== */
.performance {
    height: 200vh;
    padding: 40px;
    background-color: var(--sub-color);
}

@media (max-width: 768px) {
    .performance {
        height: auto;
        padding: 20px;
    }
}

.performance-wrap {
    width: 100%;
    height: 100%;
    padding: 60px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(45deg, #FFFFFF, #CCCCCC);
}

@media (max-width: 768px) {
    .performance-wrap {
        padding: 20px 40px;
    }
}

.performance-top {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 50px;
}

@media (max-width: 768px) {
    .performance-top {
        height: auto;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }
}

/* 画像の修正 */
.inside-img {
    flex: 0 0 50%;
}

@media (max-width: 768px) {
    .inside-img {
        flex: 1;
    }
}

.performance-content {
    max-width: 40vw;
}

@media (max-width: 768px) {
    .performance-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .performance-content>h2 {
        font-size: 2.5rem;
    }
}

.performance-list {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

@media (max-width: 768px) {
    .performance-list {
        height: auto;
        flex-direction: column;
        gap: 40px;
    }
}


.performance-item {
    flex: 1 0;
    position: relative;
}

.list-num {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-25%, -90%);
    font-size: 8rem;
    color: rgba(204, 204, 204, 0.5);
    z-index: 1;
    line-height: 1;
    pointer-events: none;
    font-family: var(--font-antonio);
}

@media (max-width: 768px) {
    .list-num {
        font-size: 5rem;
        top: 5%;
        left: -5%;
    }
}

.list-title {
    margin-bottom: 0.5rem;
}

/* テキスト要素を前面に配置 */
.sub-title,
.list-title,
.performance-item p {
    position: relative;
    z-index: 2;
    /* 番号(z-index: 1)より上に配置 */
}

/* ========================
    ギャラリーセクション
======================== */
.gallery {
    height: 100vh;
    padding: 40px 0;
}

@media (max-width: 768px) {
    .gallery {
        height: 60vh;
        padding: 20px 0;
    }
}

.gallery-swiper {
    width: 100%;
    height: 100%;
}

/* 修正ポイント：各スライド（.swiper-slide） */
.gallery-item {
    border-radius: 20px;
    padding: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .gallery-item {
        padding: 20px;
    }
}

/* 修正ポイント：画像 */
.gallery-item img {
    max-height: 100%;
    width: auto;

    /* 余計な隙間を排除し、中央配置を確実にする */
    margin: auto;
    display: block;
}

@media (max-width: 768px) {

    /* 修正ポイント：画像 */
    .gallery-item img {
        max-height: auto;
        width: 100%;
    }
}

/* ページネーションのカスタマイズ（青色に合わせる） */
.swiper-pagination-bullet-active {
    background: var(--main-color) !important;
}

.gallery1 {
    background: linear-gradient(-45deg,
            #6E6E6E, #FFFFFF);
}

.gallery2 {
    background: linear-gradient(-45deg,
            #4D5C65, #CBD8DF);
}

.gallery3 {
    background: linear-gradient(-45deg,
            #0D0D0D, #ACACAC);
}

.gallery4 {
    background: linear-gradient(-45deg,
            #977C61, #E6DDD0);
}

/* ========================
    ギャラリーセクション
======================== */
.spec {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    background-color: #FFFFFF;
}

@media (max-width: 768px) {
    .spec {
        height: auto;
        padding: 50px 0;
    }
}

.spec-title {
    text-align: center;
}

.spec-wrap {
    width: 60vw;
}

@media (max-width: 768px) {
    .spec-wrap {
        width: 90vw;
    }
}


.spec-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: solid 0.5px var(--sub-color);
    padding: 2rem 1rem;
    gap: 50px;
}

@media (max-width: 768px) {
    .spec-wrap {
        width: 90vw;
    }
}


.spec-list:nth-child(1) {
    border-top: solid 0.5px var(--sub-color);
}

.spec-list>h3 {
    font-weight: 400;
}

/* ========================
    フッターセクション
======================== */
.footer {
    height: 100vh;
}

.footer-top {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.price {
    font-size: 2rem;
    line-height: 1
}

.tax {
    font-size: 1rem;
    margin-left: 0.5rem;
}

.blue-text {
    font-size: 1.25rem;
    color: var(--main-color);
}

.footer-cta {
    font-size: 1.5rem;
    margin-top: 2rem;
}

.footer-bottom {
    height: 20vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background-color: #000;
}

.brand-name {
    font-size: 2rem;
    color: var(--base-color);
    font-family: var(--font-bruno);
}