@charset "utf-8";

/* =====================
       HEADER
    ====================== */
.l-header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 40;
    color: #fff;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
}

.l-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.5vw;
    flex-wrap: wrap;
    padding: 10px;
}

.l-header-siteguide {
    width: 100%;
    font-size: clamp(8px, 2.8vw,14px);
        margin-bottom: 0;
}

.l-header__logo {
    font-weight: 700;
    letter-spacing: 0.12em;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.l-header__logo a img.header-logo {
    width: 180px;
}

.l-header__toggle {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}


.l-header__toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.l-header__nav {
    display: flex;
    gap: 24px;
    /* font-size: 0.85rem; */
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.l-header__menu {
    display: flex;
    gap: 24px;
}

.l-header__menu a {
    position: relative;
    padding-block: 2px;
    color: #fff;
}

.l-header__menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.2s ease;
}

.l-header__menu a:hover::after {
    width: 100%;
}

/* PC用：どのクラスでも横並びにする保険 */
.l-header__nav>ul,
.l-header__nav .l-header__menu,
.l-header__nav .menu {
    display: flex;
    gap: 24px;
}

.l-header__nav ul,
.l-header__nav .l-header__menu,
.l-header__nav .menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.l-header__inner,
.l-header__nav,
.l-header__menu {
  min-width: 0;
}

.l-header, .l-header * {
  box-sizing: border-box;
}


/* SP ナビ（ドロワー） */
@media (max-width: 768px) {
    .l-header {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    }

    .l-header__logo a img.header-logo {
        width: 100px;
    }

    .l-header__toggle {
        display: flex;
    }

    .l-header__nav {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.9);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .l-header__menu {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .l-header.is-open .l-header__nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .l-header.is-open .l-header__toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .l-header.is-open .l-header__toggle span:nth-child(2) {
        opacity: 0;
    }

    .l-header.is-open .l-header__toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


    .l-header__toggle {
        display: flex;
        /* ← SPのときだけ表示 */
    }

    .l-header__nav>ul,
    .l-header__nav .l-header__menu,
    .l-header__nav .menu {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}


/* =====================
       HERO
    ====================== */
.p-hero {
    position: relative;
    height: min(80vh, 720px);
    min-height: 420px;
    overflow: hidden;
    height: 90vh;
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    flex-wrap: wrap;
}

h1.p-hero__title {
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 1.5em;
        font-size: clamp(2rem, 5vw, 3.4rem) !important;
}

p.p-hero__text {
    font-size: 1.3rem;
}

.p-hero__content {
    position: relative;
    z-index: 4;
    padding: 20px;
}

.p-hero__media,
.p-hero__img {
    width: 100%;
    height: 100%;
}

.p-hero__image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
}

.p-hero__image img {
    object-fit: cover;
    object-position: center;
    height: 100%;
    width: 100%;
}