/* ============================================================
Global utilities
============================================================ */
:root {
    --black: #000;
    --white: #fff;
    --gray: #eee;
    --transition-fast: 0.2s ease-out;
    --transition-med: 0.3s ease-out;
}

::selection {
    background-color: var(--black);
    color: var(--white);
}

.contents-cover {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 100;
}

/* ============================================================
Hero
============================================================ */
#hero {
    width: 100%;
    background: var(--gray);
    position: relative;
}

#hero img {
    width: 100%;
}

#hero {
    width: 100%;
    background: var(--gray);
}

#hero .hero-flex {
    display: flex;
}

#hero .hero-flex .left {
    width: 50%;
    position: relative;
}

#hero .hero-flex .right {
    width: 50%;
    position: relative;
}

#hero .logo-flex {
    position: absolute;
    transform: translateX(-50%) translateY(-50%);
    top: 20%;
    left: 50%;
    width: 40%;
    gap: 20px;
    display: flex;
    flex-direction: column;
    z-index: 9;
}

#hero .logo-1 img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

#hero .logo-2 img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

#hero .hero-flex .copyright {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.6rem;
    color: #fff;
    text-align: right;
    position: absolute;
    right: 10px;
    bottom: 10px;
}

@media (max-width: 769px) {
    #hero .logo-flex {
        width: 55%;
        top: 50%;
    }
}

/* ============================================================
Hero Swiper
============================================================ */
.hero-swiper {
    position: relative;
    width: 100%;
    height: 80vh;
}

.hero-swiper .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide {
    width: 100%;
    height: 100vh;
    position: relative;
}

.hero-swiper .swiper-slide img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    animation: floatYUp 8s linear;
    transform-origin: center center;
    position: absolute;
    top: -10%;
    left: 0;
    animation-play-state: paused;
}

.hero-swiper .swiper-slide .copyright-1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.3rem;
    color: #fff;
    text-align: right;
    position: absolute;
    right: 5px;
    top: 78.5vh;
    z-index: 9;
}

.hero-swiper .swiper-slide .copyright-2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.3rem;
    color: #fff;
    text-align: right;
    position: absolute;
    right: 5px;
    top: 77vh;
    z-index: 9;
}


/* スライド切り替わり時のアニメーションリセット */
.hero-swiper .swiper-slide-active img {
    animation-play-state: running;
}

/* Y座標のじわじわ動くアニメーション（上向き一方向） */
@keyframes floatYUp {

    0% {
        transform: translateY(0);
    }

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

/* Y座標のじわじわ動くアニメーション（下向き一方向） */
@keyframes floatYDown {

    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(60px);
    }
}

/* 各スライドで少し異なるタイミングのアニメーション */
.hero-swiper .swiper-slide:nth-child(1) img {
    animation: floatYUp 8s linear;
}

.hero-swiper .swiper-slide:nth-child(2) img {
    animation: floatYDown 8s linear;
}

.hero-swiper .swiper-slide:nth-child(3) img {
    animation: floatYUp 8s linear;
}

.hero-swiper .swiper-slide:nth-child(4) img {
    animation: floatYDown 8s linear;
}

/* ページネーションのスタイル */
.hero-swiper .swiper-pagination {
    bottom: 20px;
}

.hero-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

/* ============================================================
Device helpers
============================================================ */
@media (max-width: 768px) {
    .pc {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .sp {
        display: none !important;
    }
}

/* ============================================================
Main layout
============================================================ */
#main {
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

@media (max-width: 768px) {
    #main {
        width: 100%;
    }
}

@media (min-width: 769px) {
    #main {
        width: 90%;
        max-width: 1200px;
    }
}

/* ============================================================
Intro
============================================================ */
.brand-intro {
    margin: 40px auto;
    text-align: center;
}

.intro-paragraph {
    display: block;
    line-height: 1.6rem;
    font-size: 0.62rem;
}

.intro-paragraph:first-child {
    margin-bottom: 10px;
}

.brand-intro {
    margin: 90px auto;
}

.intro-head {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.intro-head-jp {
    font-size: 1rem;
    margin-bottom: 40px;
}

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

@media (max-width: 768px) {
    .brand-intro {
        margin: 40px auto;
    }

    .intro-head {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .intro-head-jp {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .intro-paragraph {
        font-size: 0.8rem;
        line-height: 1.5rem;
    }
}

/* ============================================================
Image gallery utilities
============================================================ */
.image-item .photo {
    position: relative;
}

.image-item img {
    width: 100%;
}

.image-item a {
    -webkit-tap-highlight-color: transparent;
}

.image-item .copyright {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.6rem;
    color: #fff;
    text-align: right;
    position: absolute;
    right: 10px;
    bottom: 10px;
}

@media (min-width: 769px) {
    .image-item a:hover img {
        filter: brightness(1.1);
        transition: filter var(--transition-med);
    }

    .image-item a:not(:hover) img {
        filter: brightness(1);
        transition: filter var(--transition-fast);
    }
}

@media (max-width: 769px) {
    .image-item .copyright {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 0.25rem;
        color: #fff;
        text-align: right;
        position: absolute;
        right: 2px;
        bottom: 2px;
    }
}


/* ============================================================
Swiper Gallery Styles
============================================================ */
.swiper-gallery {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.swiper-gallery .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
Product list (shared)
============================================================ */
.product-list {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: end;
    margin: 40px auto 120px auto;
}

.product-list .product-item {
    display: flex;
    justify-content: end;
    align-items: center;
}

.product-item {
    gap: 8px;
}

.product-item .product-name,
.product-item .product-price {
    /* width: 48px; */
    font-size: 0.62rem;
}

.product-item a.product-action {
    background: var(--black);
    color: var(--white);
    font-size: 0.56rem;
    letter-spacing: 0.1rem;
    padding: 3px 8px;
    border: 1px solid var(--black);
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.product-item a.product-action:hover {
    background: var(--white);
    color: var(--black);
}

@media (min-width: 769px) {
    .product-list {
        gap: 16px;
    }

    .product-item {
        gap: 32px;
    }

    .product-item .product-name,
    .product-item .product-price {
        font-size: 0.9rem;
    }

    .product-item a.product-action {
        font-size: 0.68rem;
        padding: 3px 20px;
    }
}

@media (max-width: 769px) {
    .product-list {
        margin: 30px auto 0 auto;
    }

    .product-item {
        margin-bottom: 10px;
    }
}

/* ============================================================
Content blocks (generic spacing)
============================================================ */
.content-block {
    position: relative;
    margin: 40px auto;
}

/* ============================================================
Block‑specific layout overrides
============================================================ */
/* --- block 1 ------------------------------------------------- */
#photo-block-1 {
    width: 60%;
    margin-bottom: 90px;
}

#photo-block-1 .image-gallery {
    /* display: flex; */
    justify-content: center;
    align-items: center;
}

#photo-block-1 .image-gallery .image-item {
    width: 100%;
}

#photo-block-1 .image-gallery .credit {
    width: 100%;
}

@media (min-width: 769px) {}

@media (max-width: 769px) {
    #photo-block-1 {
        width: 90%;
        margin-bottom: 40px;
    }
}

/* --- block 2 ------------------------------------------------- */
#photo-block-2 {
    width: 80%;
}

#photo-block-2 .image-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
}

#photo-block-2 .image-gallery .image-item.item-1 {
    width: 50%;
}

#photo-block-2 .image-gallery .image-item.item-2 {
    width: 50%;
    position: relative;
}

#photo-block-2 .image-gallery .image-item.item-2 .photo {
    width: 70%;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

@media (min-width: 769px) {}

@media (max-width: 769px) {
    #photo-block-2 {
        width: 90%;
    }
}

/* --- block3 ------------------------------------------------- */
#photo-block-3 {
    width: 80%;
}

@media (min-width: 769px) {}

@media (max-width: 769px) {
    #photo-block-3 {
        width: 90%;
    }
}

/* --- block4 ------------------------------------------------- */
#photo-block-4 {
    width: 60%;
}

@media (min-width: 769px) {}

@media (max-width: 769px) {
    #photo-block-4 {
        width: 90%;
    }
}

/* --- block5 ------------------------------------------------- */
#photo-block-5 {
    width: 80%;
}

@media (min-width: 769px) {}

@media (max-width: 769px) {
    #photo-block-5 {
        width: 90%;
    }
}

/* --- block6 ------------------------------------------------- */
#photo-block-6 {
    width: 60%;
}

@media (min-width: 769px) {}

@media (max-width: 769px) {
    #photo-block-6 {
        width: 90%;
    }
}

/* --- block7 ------------------------------------------------- */
#photo-block-7 {
    width: 80%;
}

#photo-block-7 .image-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
}

#photo-block-7 .image-gallery .image-item.item-1 {
    width: 50%;
}

#photo-block-7 .image-gallery .image-item.item-2 {
    width: 50%;
    position: relative;
}

#photo-block-7 .image-gallery .image-item.item-2 .photo {
    width: 80%;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

#photo-block-7 .credit {
    display: flex;
}


#photo-block-7 .credit .product-list {
    align-items: end;
    width: 50%
}

#photo-block-7 .credit .flex-block {
    width: 50%
}

@media (min-width: 769px) {}

@media (max-width: 769px) {
    #photo-block-7 {
        width: 90%;
    }
}

/* --- block8 ------------------------------------------------- */
#photo-block-8 {
    width: 80%;
}

#photo-block-8 .image-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
}

#photo-block-8 .image-gallery .image-item.item-1 {
    width: 50%;
}

#photo-block-8 .image-gallery .image-item.item-2 {
    width: 50%;
    position: relative;
}

#photo-block-8 .image-gallery .image-item.item-2 .photo {
    width: 80%;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

@media (min-width: 769px) {}

@media (max-width: 769px) {
    #photo-block-8 {
        width: 90%;
    }
}

/* --- block9 ------------------------------------------------- */
#photo-block-9 {
    width: 80%;
}

#photo-block-9 .image-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
}

#photo-block-9 .image-gallery .image-item.item-1 {
    width: 50%;
    position: relative;
}

#photo-block-9 .image-gallery .image-item.item-2 {
    width: 50%;
}

#photo-block-9 .image-gallery .image-item.item-1 .photo {
    width: 80%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

#photo-block-9 .credit {
    display: flex;
}

#photo-block-9 .credit .product-list {
    width: 50%
}

#photo-block-9 .credit .flex-block-1 {
    align-items: end;
    margin-right: 12%;
    width: 50%;
}

#photo-block-9 .credit .flex-block-2 {
    width: 62%;
    align-items: end;
}

@media (min-width: 769px) {}

@media (max-width: 769px) {
    #photo-block-9 {
        width: 90%;
    }
}

/* --- block10 ------------------------------------------------- */
#photo-block-10 {
    width: 60%;
}

@media (min-width: 769px) {}

@media (max-width: 769px) {
    #photo-block-10 {
        width: 90%;
    }

    #photo-block-10.content-block {
        margin: 20px auto 40px auto;
    }
}

/* --- block11 ------------------------------------------------- */
#photo-block-11 {
    width: 80%;
}

@media (min-width: 769px) {}

@media (max-width: 769px) {
    #photo-block-11 {
        width: 100%;
    }
}


/* ============================================================
Staff credit
============================================================ */
.staff-credit {
    text-align: center;
    margin-top: 160px;
    margin-bottom: 80px;
}

.staff-credit ul li {
    margin-bottom: 40px;
}

.staff-role {
    margin-bottom: 12px;
    color: #9c9c9c;
    font-size: 0.72rem;
}

.staff-name {
    font-size: 0.72rem;
}

@media (min-width: 769px) {

    .staff-role,
    .staff-name {
        font-size: 0.82rem;
    }
}

@media (max-width: 769px) {
    .staff-credit {
        margin-top: 80px;
        margin-bottom: 0px;
    }
}

/* ============================================================
Footer
============================================================ */
#footer {
    width: 100%;
    margin: 64px auto;
    text-align: center;
}

#footer a:hover img {
    opacity: 0.5;
}

#footer-logo {
    margin: 0 auto 90px;
}

#footer-logo h3 {
    width: 90px;
    margin: 0 auto 5px;
}

#footer-logo h3 img {
    width: 100%;
}

#footer-link {
    font-size: 0.8rem;
    letter-spacing: 0.1rem;
    margin: 0 auto 90px;
}

#footer-link span {
    color: #aaa;
    margin: 0 25px;
}

#footer-sns {
    margin: 0 auto 90px;
}

.footer-sns-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

#footer-sns p {
    font-size: 1rem;
    letter-spacing: 0.1rem;
    margin: 0 auto 40px;
}

#footer-sns img {
    width: 33px;
    margin: 0 15px;
}

#footer-sns a:nth-of-type(3) img {
    margin: 0 15px 0 8px;
}

#footer-copyright {
    width: 100%;
    margin: 0 auto 90px;
}

#footer-copyright p {
    font-size: 0.8rem;
    letter-spacing: 0.1rem;
}

@media (min-width: 769px) {
    #footer {
        margin: 90px auto;
    }
}

@media (max-width: 768px) {
    #footer-link a {
        display: block;
        margin: 0 auto 20px;
    }

    #footer-link span {
        display: none;
    }
}