:root {
    /* Colors */
    --color-bg: #e7e7e7e;
    --color-text: #222222;
    --color-text-light: #666666;
    --color-accent: #8b8580;
    --color-white: #ffffff;
    --color-border: #e0e0e0;

    /* Fonts */
    --font-main: 'Noto Sans JP', sans-serif;
    --font-english: 'Manrope', sans-serif;

    /* Sizes */
    --header-height: 80px;
    --max-width: 1200px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Utility */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__title {
    font-family: var(--font-english);
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .section__title {
        font-size: 2rem;
    }
}

.section__subtitle {
    font-size: 0.9rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(160, 169, 174, 0.95);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    line-height: 1;
    /* 画像の上下余白を消すため */
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo img {
    height: 50px;
    /* ヘッダー高さに合わせて調整 */
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    /* 黒ロゴを白抜きに反転 */
    opacity: 0.95;
}

.nav__list {
    display: flex;
    gap: 40px;
}

.nav__item {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.85);
}

.nav__item a {
    color: inherit;
}

.nav__item a:hover {
    color: var(--color-white);
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

/* Hamburger menu lines – match PC navigation color */
.hamburger-menu__line {
    display: block;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.85);
    /* same as PC nav items */
    position: absolute;
    transition: 0.3s;
    font-family: var(--font-main);
    font-size: 0.9rem;
}

/* Overlay navigation links – match PC navigation color and font */
.overlay-nav__item a {
    font-size: 0.9rem;
    /* same as PC nav */
    color: rgba(255, 255, 255, 0.85);
    /* same as PC nav items */
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-main);
}

.hamburger-menu__line:nth-child(1) {
    top: 0;
}

.hamburger-menu__line:nth-child(2) {
    top: 9px;
    /* spaced evenly */
}

.hamburger-menu__line:nth-child(3) {
    top: 18px;
    /* bottom line */
}

/* Hero */
/* 固有スタイルは top.css へ移動 */

/* Philosophy */
/* 固有スタイルは top.css / philosophy.css へ移動 */

/* Philosophy */


/* Collection */
/* 固有スタイルは top.css / collection.css へ移動 */

/* Journal */
/* 固有スタイルは top.css へ移動 */

/* Contact */
.contact {
    background-color: #f8f7f5;
    /* 落ち着いたニュアンスホワイト */
}

.contact__content {
    text-align: center;
}

.contact__desc {
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--color-text);
    color: var(--color-white);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.contact__info {
    margin-top: 60px;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Contact form styling */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid rgba(160, 169, 174, 0.6);
    border-radius: 4px;
    background: transparent;
    color: var(--color-text);
    font-family: var(--font-main);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(139, 133, 128, 0.2);
}

.contact-form label {
    text-align: left;
}

.contact-form button {
    align-self: center;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    background-color: #a0a9ae;
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: var(--color-accent);
}

/* Contact form label & required indicator */
.contact-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.contact-form .required {
    color: var(--color-accent);
    margin-left: 0.2rem;
}

.contact-form input:required,
.contact-form textarea:required {
    border-color: var(--color-accent);
}

.contact-text {
    font-size: 0.8em;
    margin-top: 30px;
}

/* Footer */
.footer {
    background-color: #a0a9ae;
    padding: 60px 0 30px;
    text-align: center;
    color: var(--color-white);
}

.footer__logo {
    margin-bottom: 30px;
    display: inline-block;
    /* 中央揃えのため */
}

.footer__logo img {
    height: 60px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    /* 黒ロゴを白抜きに反転 */
    opacity: 0.9;
}

.footer__nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.footer__nav a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer__nav a:hover {
    color: var(--color-white);
}

.footer__info {
    font-size: 0.85rem;
}

.copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    padding-top: 10px;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responseive */
@media (max-width: 768px) {

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #a0a9ae;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
        z-index: 1000;
    }

    .nav.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .nav__item {
        font-size: 1.2rem;
        color: var(--color-white);
    }

    .hamburger-menu {
        display: block;
    }
}

/* Overlay Navigation */
.overlay-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(160, 169, 174, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: calc(var(--header-height) + 50px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 999;
}

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

.overlay-nav__list {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.overlay-nav__item a {
    font-size: 1.3rem;
    text-transform: uppercase;
    /* match PC navigation */
    color: rgba(255, 255, 255, 0.85);
    /* white */
    text-decoration: none;
    font-weight: 300;
    font-family: var(--font-main);
}

.overlay-nav__item a:hover {
    opacity: 0.7;
}

/* Page Hero (for subpages) */
.page-hero {
    position: relative;
    width: 100%;
    height: 350px;
    /* Topページより低く */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    margin-top: var(--header-height);
    /* 固定ヘッダー分下げる */
}

.page-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.page-hero__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* 文字を見やすく */
}

.page-hero__content {
    position: relative;
    z-index: 1;
}

.page-hero__title {
    font-family: var(--font-english);
    font-size: 3rem;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
    font-weight: 300;
}

@media (max-width: 768px) {
    .page-hero__title {
        font-size: 2rem;
    }
}

.page-hero__subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Mission */
/* Mission */
/* 固有スタイルは philosophy.css へ移動 */

/* Values */
/* 固有スタイルは philosophy.css へ移動 */

/* Product Grid */
/* 固有スタイルは collection.css へ移動 */



/* Image Modal */
/* 固有スタイルは collection.css へ移動 */

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}