/* ============================================================
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 .logo-1 {
    position: absolute;
    bottom: 12%;
    left: 50%;
    width: 22%;
    transform: translateX(-50%);
}

#hero .logo-2 {
    position: absolute;
    bottom: 4%;
    left: 50%;
    width: 20%;
    transform: translateX(-50%);
}

@media (max-width: 769px) {
    #hero .logo-1 {
        position: absolute;
        bottom: 16%;
        left: 50%;
        width: 36%;
        transform: translateX(-50%);
    }

    #hero .logo-2 {
        position: absolute;
        bottom: 5%;
        left: 50%;
        width: 32%;
        transform: translateX(-50%);
    }
}

/* ============================================================
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;
}

@media (min-width: 769px) {
    .brand-intro {
        margin: 90px auto;
    }

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

/* ============================================================
Image gallery utilities
============================================================ */
.image-item img {
    width: 100%;
}

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

@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);
    }
}

/* ============================================================
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: center;
    align-items: center;
    margin: 40px auto 120px auto;
}

.product-list .product-item {
    display: flex;
    justify-content: space-between;
    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: 40px auto 40px auto;
    }

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

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

@media (min-width: 769px) {
    .content-block {
        margin: 80px auto;
    }
}

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

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

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

@media (min-width: 769px) {
    .block1 {
        margin-bottom: 228px;
    }

    .block1 .product-list {
        bottom: -138px;
    }
}

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

/* --- block2 ------------------------------------------------- */
#photo-block-2 .image-gallery {
    display: block;
}

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

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

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

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

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

@media (max-width: 769px) {
    #photo-block-3 .image-gallery {
        gap: 8px;
    }

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

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

/* --- block4 ------------------------------------------------- */
#photo-block-4 .image-gallery {
    display: block;
}

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

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

/* --- block5 ------------------------------------------------- */
#photo-block-5 .image-gallery {
    display: block;
}

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

/* --- block6 ------------------------------------------------- */
#photo-block-6 .image-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 28px;
}

#photo-block-6 .image-gallery .item-1 {
    display: flex;
    gap: 10px;
    width: 55%;
}

#photo-block-6 .image-gallery .item-2 {
    width: 45%;
}

@media (max-width: 769px) {
    #photo-block-6 .image-gallery {
        gap: 8px;
    }

    #photo-block-6 .image-gallery .item-1 {
        width: 50.4%;
        padding: 0;
    }

    #photo-block-6 .image-gallery .item-2 {
        width: 49.6%;
        padding: 0;
    }
}

/* --- block7 ------------------------------------------------- */
#photo-block-7 .image-gallery {
    display: block;
}

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

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

/* --- block8 ------------------------------------------------- */
#photo-block-8 .image-gallery {
    display: block;
}

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

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

/* --- block9 ------------------------------------------------- */
#photo-block-9 .image-gallery {
    display: block;
}

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

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

/* --- block10 ------------------------------------------------- */
#photo-block-10 .image-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 62px;
}

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

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

@media (max-width: 769px) {
    #photo-block-10 .image-gallery {
        gap: 8px;
    }

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

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

/* --- block11 ------------------------------------------------- */
#photo-block-11 .image-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 62px;
}

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

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

@media (max-width: 769px) {
    #photo-block-11 .image-gallery {
        gap: 0px;
    }

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

    #photo-block-11 .image-gallery .item-2 {
        width: 55%;
    }
}

/* --- block12 ------------------------------------------------- */
#photo-block-12 .image-gallery {
    display: block;
}

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

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

/* --- block13 ------------------------------------------------- */
#photo-block-13 .image-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 62px;
}

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

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

@media (max-width: 769px) {
    #photo-block-13 .image-gallery {
        gap: 8px;
    }


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

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

/* --- block14 ------------------------------------------------- */
#photo-block-14 .image-gallery {
    display: block;
}

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

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

/* ============================================================
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;
    }
}