/* ===== Base ===== */
html,
body {
    margin: 0;
    height: 100%;
    background: #000;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-track {
    display: flex;
    height: 100%;
    transition: transform .6s ease;
    will-change: transform;
}

.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    pointer-events: none;
    z-index: 2;
}

.hero__content {
    position: absolute;
    inset: 0;
    display: flex;
    /* grid→flex に変更 */
    flex-direction: column;
    justify-content: center;
    /* 縦中央寄せ */
    align-items: center;
    /* 横中央寄せ */
    gap: 0.3em;
    /* ← h1 と h2 の間隔をこれで統一！ */
    z-index: 3;
    text-align: center;
    padding: 0 4vw;
}

.hero__content h1 {
    margin: 0;
    color: #fff;
    font-weight: 700;
    font-size: clamp(32px, 6vw, 72px);
    letter-spacing: -.03em;
    text-shadow: 0 4px 16px rgba(0, 0, 0, .4);
}

.hero__content h2 {
    margin: 0;
    color: #fff;
    font-weight: 500;
    font-size: clamp(18px, 2vw, 36px);
    letter-spacing: -.02em;
    text-shadow: 0 4px 16px rgba(0, 0, 0, .4);
    margin-top: 2px;
}

/* Dots & Arrows */
.dots {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 4;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
}

.dot.is-active {
    background: #fff;
}

.nav {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 4;
}

.btn {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .6);
    background: rgba(0, 0, 0, .28);
    color: #fff;
    font-size: 22px;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.btn:hover {
    background: rgba(255, 255, 255, .15);
}

/* About */
.about {
    background: #fff;
    color: #111;
    padding: 80px 20px;
}

.about .container {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-size: clamp(24px, 4vw, 40px);
    margin: 0 0 .75rem;
}

.about p {
    line-height: 1.8;
    font-size: 1.05rem;
}

.about .link {
    display: inline-block;
    margin-top: 1.25rem;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #111;
}

.about .link:hover {
    opacity: .7;
}

@media (max-width:600px) {
    .hero {
        height: 100svh;
    }
}

/* iOSアドレスバー対策 */


.slide img {
    background: magenta;
    /* 仮の背景 */
    outline: 2px solid red;
}