/**
 * Emotional Theme - Main Styles
 */

/* ==========================================
   Base Styles
   ========================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

@media (max-width: 768px) {
    html {
        font-size: 62.5%; /* 10px相当 */
    }
}

body {
    font-family: var(--font-base);
    line-height: 1.8;
    color: var(--color-primary);
    background-color: var(--color-background);
    /* -webkit-font-smoothing: antialiased; */
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul, ol {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-transform: lowercase;
}

/* ==========================================
   Icons
   ========================================== */

.icon {
    height: 16px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    overflow: visible;
}

.icon--small {
    width: 18px;
    height: 18px;
}

.icon--large {
    width: 32px;
    height: 32px;
}

/* Icon color control via CSS */
.icon svg {
    width: 100%;
    height: 100%;
}

/* ==========================================
   First View
   ========================================== */

.firstview {
    position: relative;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
}

/* WordPress Admin Bar adjustment */
.admin-bar .firstview {
    height: calc(100dvh - 32px);
}

@media screen and (max-width: 782px) {
    .admin-bar .firstview {
        height: calc(100dvh - 46px);
    }
}

.firstview__background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    z-index: 0;
    background-color: #000;
}

/* WordPress Admin Bar adjustment */
.admin-bar .firstview__background {
    top: 32px;
    height: calc(100dvh - 32px);
}

@media screen and (max-width: 782px) {
    .admin-bar .firstview__background {
        top: 46px;
        height: calc(100dvh - 46px);
    }
}

/* Poster Image (shown while video loads) */
.firstview__poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: opacity 0.5s ease;
}

.firstview__poster.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.firstview__poster.is-active {
    opacity: 1;
}

/* Video */
.firstview__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.firstview__video.is-playing {
    opacity: 1;
}

/* Fallback for image only */
.firstview__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.firstview__content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    color: var(--color-light);
}

.firstview__nav {
    position: absolute;
    left: 50px;
    bottom: 40px;
    text-transform: lowercase;
}

.firstview__menu {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.firstview__menu li a {
    font-family: var(--font-english);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: var(--color-light);
    filter: drop-shadow(0px 0px 0.3em #000);
}

.firstview__logo {
    position: absolute;
    right: 40px;
    top: 40px;
    transform: translateX(-50%);
    writing-mode: vertical-rl;
    line-height: 1.4em;
}

.firstview__logo-text {
    font-family: var(--font-english);
    font-size: 2rem;
    letter-spacing: 0.02em;
    color: var(--color-accent);
    filter: drop-shadow(0px 0px 0.3em #000);
}

.firstview__instagram {
    position: absolute;
    right: 40px;
    bottom: 40px;
    color: var(--color-light);
    transform: translateY(-50%, -50%);
}

.firstview__instagram .icon {
    width: 30px;
    height: 30px;
    stroke: var(--color-light);
    filter: drop-shadow(0px 0px 0.3em #000);
}

/* ==========================================
   Site Header
   ========================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 250;
    background-color: var(--color-background);
    transition: transform 0.3s ease;
}

.site-header--hidden {
    transform: translateY(-100%);
}

.site-header--visible {
    transform: translateY(0);
}

.site-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    padding-right: calc(50vw - 460px);
}

.site-branding__link {
    font-family: var(--font-english);
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    color: var(--color-primary);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.header-icon .icon {
    stroke: var(--color-primary);
}

.header-icon--menu {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-english);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-left: 1rem;
}

/* Hamburger Icon */
.hamburger-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 36px;
    height: 24px;
}

.hamburger-icon__line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Active state - X shape */
.hamburger-toggle.is-active .hamburger-icon__line:first-child {
    transform: translateY(3px) rotate(20deg);
}

.hamburger-toggle.is-active .hamburger-icon__line:last-child {
    transform: translateY(-3px) rotate(-20deg);
}


/* ==========================================
   Breadcrumb
   ========================================== */

.breadcrumb {
    padding: 15px 40px;
    font-size: 0.75rem;
}

.breadcrumb__inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb__link {
    font-family: var(--font-english);
}

.breadcrumb__separator {
    color: var(--color-primary);
    opacity: 0.5;
}

.breadcrumb__current {
    font-family: var(--font-english);
}

/* ==========================================
   Hamburger Menu
   ========================================== */

.hamburger-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100dvh;
    background-color: var(--color-background);
    z-index: 200;
    transition: right 0.3s ease;
    overflow-y: auto;
    border-left: 4px solid var(--color-accent);
}

/* WordPress Admin Bar adjustment */
.admin-bar .hamburger-menu {
    top: 32px;
    height: calc(100dvh - 32px);
}

@media screen and (max-width: 782px) {
    .admin-bar .hamburger-menu {
        top: 45px;
        height: calc(100dvh - 45px);
    }
}

.hamburger-menu.is-active {
    right: 0;
}

.hamburger-menu__inner {
    padding-left: 20px;
    padding-top: 60px;
}

.hamburger-menu__list {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-transform: lowercase;
}

.hamburger-menu__list > li > a,
.hamburger-menu__list > li > .menu-item__toggle {
    font-family: var(--font-english);
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Sub menu */
.hamburger-menu__list .sub-menu {
    display: none;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
    padding-left: 20px;
}

.hamburger-menu__list .sub-menu a {
    font-family: var(--font-english);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: var(--color-primary);
}

.hamburger-menu__list > li.is-open > .sub-menu {
    display: flex;
}

/* Overlay */
.hamburger-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hamburger-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================
   Page Wrapper (Front Page)
   ========================================== */

.page-wrapper {
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .page-wrapper > * {
        padding-left: calc(50vw - 500px);
        padding-right: calc(50vw - 500px);
    }
}

/* ==========================================
   Decorative Line (Continuous)
   ========================================== */

.decorative-line {
    position: absolute;
    top: 0;
    left: 20px;
    width: 20px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.decorative-line__svg {
    display: block;
    width: 13px;
    height: auto;
}

/* Dark line (for body area) - behind light line */
.decorative-line--dark {
    color: var(--color-primary);
    z-index: 300;
}

/* Light line (for firstview area) - clipped to firstview height */
.decorative-line--light {
    color: var(--color-light);
    z-index: 301;
    clip-path: inset(0 0 calc(100% - 100dvh) 0);
    height: auto;
}

/* Admin bar adjustment for light line clip */
.admin-bar .decorative-line--light {
    clip-path: inset(0 0 calc(100% - 100dvh + 32px) 0);
}

@media screen and (max-width: 782px) {
    .admin-bar .decorative-line--light {
        clip-path: inset(0 0 calc(100% - 100dvh + 46px) 0);
    }
}

/* ==========================================
   Main Content
   ========================================== */

.site-main {
    position: relative;
    background-color: var(--color-background);
    z-index: 1;
}

.site-main__content {
    margin-left: 50px;
    padding: 60px 40px 60px 0px;
}

/* ==========================================
   Section Styles
   ========================================== */

.section {
    margin-bottom: 8rem;
}

/* トップページのみ横並び */
.page-front .section {
    display: flex;
    gap: 2.5rem;
}

.section__title {
    position: relative;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
    flex-shrink: 0;
}

.section__title-accent {
    position: absolute;
    z-index: -1;
    top: -4px;
    width: 2.2rem;
    height: 8px;
    background-color: var(--color-accent);
    
}

.section__title-text {
    font-family: var(--font-english);
    font-size: 2.2rem;
    font-weight: normal;
    letter-spacing: 0.1em;
    writing-mode: vertical-rl;
    line-height: 1em;
    white-space: nowrap;
}

.section__title-sub {
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    writing-mode: vertical-rl;    
    opacity: 0.6;
}

.section__content {
    flex: 1;
    padding-left: 20px;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==========================================
   About Section
   ========================================== */

.about__image {
    margin-bottom: 30px;
    max-width: 600px;
}

.about__image img {
    width: 100%;
    height: auto;
}

.about__text {
    font-size: 0.9375rem;
    line-height: 2.2;
    writing-mode: vertical-rl;
    display: flex;
    flex-direction: column;
    justify-content: center;
    letter-spacing: 0.2em;
    margin-top: 6em;
    margin-bottom: 6em;
}

.about__text .line {
    position: relative;
    padding-top: 7em;
    margin: 0 3em;
}

.about__text .line::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(50% - 0.1em);
    width: 1px;
    height: 6em;
    background-color: var(--color-accent);
}

@media (max-width: 760px) {
    .about__text {
        font-size: 2.2vw;
    }
}

@media (max-width: 340px) {
    .about__text .line {
        margin: 0 0.8rem;
    }
}

/* ==========================================
   Topic Section
   ========================================== */

/* Topic List */
.topic__list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    padding-top: 0.7em;
    margin-right: 1em;
}

.topic__list::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: calc(100% - 6px);
    height: 1px;
    transform: translateX(-50%);
    background-color: var(--color-primary);
}

.topic__item {
    position: relative;
    background-color: #fff;
    border-top: 1px solid var(--color-primary);
    margin-bottom: -2rem;
}

/* 左右のボーダーを疑似要素で描画（回転で下部が内側に） */
.topic__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background-color: var(--color-primary);
    transform-origin: top left;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.topic__item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background-color: var(--color-primary);
    transform-origin: top right;
    transform: rotate(2deg);
    transition: transform 0.3s ease;
}

/* 展開時は回転を解除して真っ直ぐに、下ボーダーを追加 */
.topic__item.is-expanded::before,
.topic__item.is-expanded::after {
    transform: rotate(0);
}

.topic__item.is-expanded {
    margin-bottom: 0;
    border-bottom: 1px solid var(--color-primary);
}

.topic__header {
    position: relative;
    display: block;
    width: 100%;
    padding: 30px 2em 40px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
}

.topic__category {
    position: absolute;
    top: -0.7em;
    left: 20px;
    display: inline-block;
    padding: 2px 12px;
    font-family: var(--font-english);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--color-background);
    background-color: var(--color-primary);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.topic__title {
    font-size: 0.9375rem;
    font-weight: normal;
    line-height: 1.6;
    word-break: break-all;
    color:var(--color-primary);
}

.topic__body {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.3s ease;
}

.topic__body-inner {
    min-height: 0;
    overflow: hidden;
    padding: 0 2em 20px;
}

.topic__item.is-expanded .topic__body {
    grid-template-rows: 1fr;
}

.topic__excerpt {
    width: 100%;
    font-size: 0.875rem;
    line-height: 2;
    margin-bottom: 15px;
}

.topic__more {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    font-family: var(--font-english);
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    color: var(--color-primary);
}

.topic__more::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background-color: var(--color-primary);
}

@media (max-width: 480px){
    .topic__body-inner {
        padding: 0 0 20px;
    }

    .topic__excerpt{
        font-size: 0.8rem;
    }
}


/* ==========================================
   Brand Section
   ========================================== */

.brand__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 30px;
    width: 100%;
}

.brand__item {
    text-align: center;
    width: 100%;
    min-width: 0;
}

.brand__thumbnail {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 0.5em;
}

.brand__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.brand__link:hover .brand__thumbnail img {
    transform: scale(1.05);
}

.brand__name {
    font-size: 0.8125rem;
    font-weight: normal;
    text-align: left;
    
}

/* ==========================================
   thumbnail
   ========================================== */
.matsunoha__thumbnail{
    margin-bottom: 0.5em;
}


/* ==========================================
   Matsunoha & Creation Sections
   ========================================== */

.matsunoha__slider,
.creation__slider {
    /* Slider styles - customize based on slider library */
}

.creation__thumbnail {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.creation__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ==========================================
   Pop Up Section
   ========================================== */

.popup__featured {
    margin-bottom: 30px;
}

.popup__thumbnail {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.popup__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.popup__title {
    font-size: 1.125rem;
    font-weight: normal;
    margin-bottom: 15px;
}

.popup__excerpt {
    font-size: 0.875rem;
    line-height: 2;
}

/* ==========================================
   Instagram Section
   ========================================== */

.section--instagram .section__content {
    /* Smash Balloon will handle the layout */
}

/* ==========================================
   Buttons
   ========================================== */

.btn {
    display: inline-block;
    font-family: var(--font-english);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    padding: 12px 30px;
    border: 1px solid var(--color-primary);
    background-color: transparent;
    color: var(--color-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
    opacity: 1;
}

.btn--more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: fit-content;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 67% 33% 33% 67% / 52% 32% 68% 48%;
    padding: 1rem;
    margin-left: auto;
    margin-right: 2rem;
    margin-top: 2rem;
    background-color: var(--color-primary);
    color: var(--color-background);
}

.btn--more span {
    line-height: 1em;
}

.btn--more:hover {
    background-color: transparent;
    color: var(--color-primary);
}

/* ==========================================
   Footer
   ========================================== */

.site-footer {
    position: relative;
    z-index: 1;
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 60px 40px;
}

.site-footer a {
    color: var(--color-light);
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer__info {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.footer__logo {
    font-family: var(--font-english);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.footer__address {
    font-size: 0.875rem;
    line-height: 1.6;
    letter-spacing: 0.05em;
}

.footer__calendar {
    height: 12rem;
    aspect-ratio: 1 / 1;
    background-color: #fff;
    padding: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 769px) {
    .calendar-popup-trigger {
        cursor: pointer;
    }
}

.calendar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.calendar-overlay.is-active {
    opacity: 1;
}

.calendar-overlay__image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    background-color: #fff;
    padding: 1rem;
}

.footer__calendar img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.footer__map {
    height: 12rem;
    width: fit-content;
    background-color: #fff;
    padding: 1em;
}

.footer__map img {
    height: 100%;
    width: fit-content;
}

.footer__copyright {
    text-align: center;
    font-size: 0.75rem;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================
   Page Templates - About
   ========================================== */

.page-about {
    /* About page specific styles */
}

.about-hero {
    height: 300px;
    overflow: hidden;
}

.about-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    padding: 60px 0;
}

.about-content__wrapper {
    display: flex;
    gap: 60px;
}

.about-content__image {
    flex: 1;
}

.about-content__text {
    flex: 1;
    font-size: 0.9375rem;
    line-height: 2.2;
}

/* Decorative circles */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.deco-circle--pink {
    background-color: #f5d5d5;
}

.deco-circle--green {
    background-color: #d5e5d5;
}

/* ==========================================
   Archive - Brand List
   ========================================== */

.archive-brand .brand-list__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.brand-list__item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.brand-list__thumbnail {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.brand-list__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-list__info {
    display: flex;
    flex-direction: column;
}

.brand-list__name {
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 10px;
}

.brand-list__excerpt {
    font-size: 0.8125rem;
    line-height: 1.8;
    flex: 1;
}

.brand-list__link {
    display: inline-block;
    font-family: var(--font-english);
    font-size: 0.75rem;
    padding: 8px 20px;
    background-color: var(--color-primary);
    color: var(--color-background);
    margin-top: 15px;
    align-self: flex-start;
}

/* ==========================================
   Page Transition
   ========================================== */

.site-main,
.site-footer {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-transition--in {
    opacity: 1;
}

.page-transition--out {
    opacity: 0;
}

/* ==========================================
   Utility Classes
   ========================================== */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 6rem;
}

/* 画面幅いっぱいのアイキャッチ画像 */
.post-thumbnail--fullwidth {
    position: relative;
    width: 100vw;
    height: 20dvh;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    overflow: hidden;
}

.post-thumbnail--fullwidth img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* タイトルを画像に被せる */
.post-thumbnail--fullwidth + .container {
    position: relative;
    margin-top: 3rem;
    z-index: 1;
}

.post-thumbnail--fullwidth + .container .entry-title,
.post-thumbnail--fullwidth + .container .page-title {
    color: var(--color-primary);

}

/* トップページ以外のcontainer */
body:not(.page-front) .container {
    padding-right: 40px;
    padding-left: 80px;
}

.entry-content{
    padding-top: 2.5rem;
    padding-bottom: 5rem;
}

body.single .entry-content p{
 margin-bottom: 4em;   
 line-height: 2em;
}

@media (max-width: 768px) {
    body:not(.page-front) .container {
        padding-right: 1rem;
        padding-left: 2.5rem;
    }
}

/* ==========================================
   Responsive - Tablet
   ========================================== */

@media (max-width: 1000px) {
    .site-header__inner{
        padding-right: 40px;
    }

    .archive-brand .brand-list__grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {
    .footer__calendar {
        height: 14rem;
    }

    .footer__map {
        height: 14rem;
    }
}

@media (max-width: 480px) {
    .footer__info {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .footer__calendar {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        padding: 4em;
    }

    .footer__map {
        width: 100%;
        height: auto;
        padding: 4em;
    }

    .footer__details * {
        font-size: 1.2rem;
    }

    .footer__logo {
        font-size: 2rem;
    }
}

/* ==========================================
   Responsive - Mobile
   ========================================== */

@media (max-width: 768px) {
    /* First View - Mobile */
    .firstview__logo-text {
        font-size: 3rem;
    }

    .firstview__menu li a {
        font-size: 1.6rem;
    }

    .firstview__nav {
        left: 26px;
        bottom: 30px;
    }

    .firstview__logo {
        right: 20px;
    }

    .firstview__instagram {
        right: 20px;
        bottom: 30px;
    }

    /* Header */
    .site-header__inner {
        padding: 1rem 15px 1rem 26px;
   }

    /* Decorative Line */
    .decorative-line {
        left: 7px;
        width: 15px;
    }

    .site-main__content {
        margin-left: 30px;
        padding: 40px 0;
        padding-left: 0;
    }

    /* Sections */
    .page-front .section {
        gap: 1.6rem;
    }

    .section__title-accent{
        width: 3.2rem;
    }

    .section__title-text {
        font-size: 3.2rem;
    }

    .section__content {
        padding-left: 0;
    }

    /* Topic */
    .topic__item {
        margin-bottom: -3rem;
    }

    .topic__header {
        padding: 25px 2em 15px;
    }

    .topic__category {
        left: 15px;
    }

    .topic__body {
        padding: 0 15px 15px;
    }

    /* Brand */
    .brand__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Brand Archive */
    .archive-brand .brand-list__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .brand-list__item {
        grid-template-columns: 1fr;
    }

    /* About Content */
    .about-content__wrapper {
        flex-direction: column;
    }

    /* Footer */
    .site-footer {
        padding: 40px 20px;
    }

    /* Breadcrumb */
    .breadcrumb {
        padding: 10px 20px;
    }

    /* Hamburger Menu */
    .hamburger-menu {
        max-width: 100%;
        width: 250px;
    }
}

/* ==========================================
   Responsive - Small Mobile
   ========================================== */

@media (max-width: 480px) {

    .section__content {
        align-items: stretch;
    }

    .section__title-accent{
        width: 1.92rem;
    }

    .section__title-text {
        font-size: 1.92rem;
    }

    .topic__header {
        padding: 25px 1.6rem 15px;
    }

    .topic__title {
        font-size: 0.96rem;
    }

    .topic__category{
        font-size: 0.96rem;
    }

    .brand__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 360px) {
    .brand__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================
   Page Hero
   ========================================== */

.page-hero {
    height: 300px;
    overflow: hidden;
    margin-top: 70px; /* Header height */
}

.page-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================
   Page Header
   ========================================== */

.page-header {
    margin-bottom: 60px;
}

.page-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    position: relative;
}

.page-title__accent {
    position: absolute;
    z-index: -1;
    bottom: 0.3em;
    width: 1rem;
    height: 1.5em;
    background-color: var(--color-accent);
}

.page-title__text {
    font-family: var(--font-english);
    font-size: 2rem;
    font-weight: normal;
    letter-spacing: 0.05em;
    margin-left: 0.5rem;
}

.page-header__description p{
    font-size: 0.875rem;
    max-width: 800px;
    letter-spacing: 0.2em;
    margin-bottom: 1em;
    text-align: center;
    line-height: 2em;
}

@media (max-width: 500px){
    .page-header__description p{
        font-size: 3vw;
        letter-spacing: 0.07em;
        text-align: left;
    }
}

/* ==========================================
   About Page Styles
   ========================================== */

.about-content {
    position: relative;
    margin-bottom: 80px;
}

.about-content__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: start;
}

.about-content__image img {
    width: 100%;
}

.about-content__text {
    position: relative;
    font-size: 0.9375rem;
    line-height: 2.4;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    height: 400px;
}

.about-content__tagline {
    margin-top: 40px;
    font-size: 1rem;
}

.tagline-jp,
.tagline-en {
    display: block;
}

/* Shop Info */
.shop-info {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin: 1rem 0;
}

.shop-info__map {
    position: relative;
}

.shop-info__map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

.shop-info__map-link {
    display: inline-block;
    margin-top: 15px;
    font-family: var(--font-english);
    font-size: 0.875rem;
}

.shop-info__floors {
    margin-bottom: 30px;
}

.floor-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    font-family: var(--font-english);
    font-size: 0.875rem;
}

.floor-item__label {
    color: var(--color-accent);
}

.shop-info__card {
    background-color: none;
    padding: 0;
}

.shop-info__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-english);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.shop-info__logo-icon,
.footer__logo-icon {
    width: 20px;
    height: 20px;
    background-color: var(--color-accent);
}

.shop-info__address {
    font-style: normal;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.shop-info__hours {
    font-family: var(--font-english);
    font-size: 0.875rem;
    line-height: 1.8;
}

/* Decorative Circles */
.deco-circles {
    position: absolute;
    pointer-events: none;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
}

.deco-circle--pink {
    background-color: rgba(245, 200, 200, 0.6);
}

.deco-circle--green {
    background-color: rgba(200, 220, 200, 0.6);
}

.deco-circle--1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: clamp(-60px, 10vw - 100px, 60px);
}

.deco-circle--2 {
    width: 100px;
    height: 100px;
    top: 40%;
    left: clamp(30px, 15vw - 80px, 120px);
}

.deco-circle--3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    right: clamp(20%, 30vw, 40%);
}

.deco-circle--4 {
    width: 100px;
    height: 100px;
    bottom: 10%;
    right: clamp(15%, 25vw, 30%);
}

/* ==========================================
   Footer Extended
   ========================================== */

.footer__details {
    display: flex;
    flex-direction: column;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-english);
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.footer__hours {
    font-family: var(--font-english);
    font-size: 0.875rem;
    line-height: 1.4;
    margin-top: 0.8em;
}

.footer__map-link {
    display: inline-block;
    margin-top: 15px;
    font-family: var(--font-english);
    font-size: 0.875rem;
}

/* ==========================================
   Pop Up Store List Page
   ========================================== */

.popup-list__section-title {
    font-family: var(--font-japanese);
    font-size: 1.25rem;
    font-weight: normal;
    letter-spacing: 0.1em;
    padding-bottom: 10px;
    opacity: 0.8;
}

.popup-list__upcoming {
    margin-bottom: 3rem;
}

.popup-list__past {
    margin-bottom: 60px;
}

.popup-list__past .popup-list__item {
    opacity: 0.7;
}

.popup-list__past .popup-list__item:hover {
    opacity: 1;
}

.popup-list__category {
    margin-bottom: 40px;
}

.popup-list__category-title {
    font-family: var(--font-english);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    border-bottom: 1.6px solid var(--color-primary);
    padding-right: 0.5em;
    margin-right: 3rem;
    line-height: 1.5em;
    margin-bottom: 0.5em;
}

.popup-list__grid {
    border-left: 1px solid var(--color-accent);
    padding-right: 3rem;
}

.popup-list__grid a {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    border-bottom: 1px solid #999;
    margin-left: 1rem;
    margin-bottom: 0.5em;
    max-width: fit-content;
    transition: opacity 0.3s ease;
    gap: 1rem;
}



.popup-list__grid a:hover {
    opacity: 0.7;
}

.popup-list__thumbnail {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    width:50%;
}

.popup-list__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.popup-list__item:hover .popup-list__thumbnail img {
    transform: scale(1.05);
}

.popup-list__info {
    display: flex;
    align-items: stretch;
    /* gap: 1rem; */
    flex-direction: column;
}

.popup-list__status {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 2px 10px;
    margin-bottom: 8px;
    border-radius: 2px;
}

.popup-list__status--active {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.popup-list__status--upcoming {
    background-color: var(--color-primary);
    color: var(--color-background);
}

.popup-list__title {
    font-size: 1.4rem;
    font-weight: normal;
    line-height: 1.6;
}

p.popup-list__dates {
    font-family: var(--font-english);
    font-size: 0.8125rem;
    color: #999;
}

.popup-list__dates span{
    padding: 0 0.3em;
}

.popup-list__dates span:first-child{
    padding-left: 0;
}

.popup-list__dates span:last-child{
    padding-right: 0;
}

.popup-list__excerpt {
    font-size: 0.8125rem;
    line-height: 1.8;
}

.popup-list__title .instagram_link {
    padding-left: 1rem;
    font-size: 0.8rem;
    padding-right: 1rem;
    position: relative;
    opacity: 0.6;
}

.popup-list__title .instagram_link:before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0.8em;
    height: 0.8em;
    border: 0.5px solid var(--color-primary);
}

.popup-list__title .instagram_link:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0.8em;
    height: 0.8em;
    border-right: 0.5px solid var(--color-primary);
    border-top: 0.5px solid var(--color-primary);
    transform: translate(1px, -1px);
}

@media (max-width: 480px) {
    .popup-list__grid a {
        flex-direction: column;
    }
    .popup-list__thumbnail {
        width:100%;
    }
}

/* ==========================================
   Creation List Page
   ========================================== */

.creation-list {
    margin-top: 40px;
}

.creation-list__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.creation-list__link {
    display: block;
}

.creation-list__thumbnail {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 10px;
}

.creation-list__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.creation-list__link:hover .creation-list__thumbnail img {
    transform: scale(1.05);
}

.creation-list__link:hover {
    opacity: 1;
}

.creation-list__title {
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.6;
    margin-bottom: 6px;
}

.creation-list__excerpt {
    font-size: 0.8125rem;
    line-height: 1.8;
    color: #666;
}

@media (max-width: 768px) {
    .creation-list__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .creation-list__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Responsive - About Page
   ========================================== */

@media (max-width: 768px) {
    .page-hero {
        height: 200px;
        margin-top: 60px;
    }

    .page-title__text {
        font-size: 1.75rem;
    }

    .about-content__text {
        writing-mode: horizontal-tb;
        height: auto;
    }

    .shop-info {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .shop-info__details {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.base_items_list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
}

.base_item_title{
    font-size: 10px;
}