/* --- Variables & Reset --- */
:root {
    --color-bg: #fcfbf9;      /* クリーム色 */
    --color-text: #6d5f5d;    /* ココアブラウン */
    --color-accent: #d4a373;  /* アンティークゴールド/ベージュ */
    --color-white: #ffffff;
    
    --font-script: "Great Vibes", cursive;
    --font-base: "Shippori Mincho", serif;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
}

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

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

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }

.img-placeholder {
    background-color: #eeeae4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-family: var(--font-script);
    font-size: 1.5rem;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

/* 少し角を丸くして優しさを出す */
.rounded {
    border-radius: 8px; 
}

/* フェードインアニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Typography --- */
.cursive-title {
    font-family: var(--font-script);
    font-size: 3rem;
    color: var(--color-accent);
    display: block;
    margin-bottom: -10px; /* 日本語タイトルと少し重ねる */
    line-height: 1;
}

.jp-title {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

/* --- Header --- */
.header {
    padding: 30px 0;
    text-align: center;
    position: relative;
    background-color: var(--color-bg);
}

.header__logo {
    font-family: var(--font-script);
    font-size: 3rem;
    color: var(--color-text);
    margin-bottom: 20px;
}

.header__nav ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hamburger {
    display: none;
}

/* --- Hero Area --- */
.hero {
    position: relative;
    width: 100%;
    height: 600px; /* 画像の高さ */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 80px;
}

.hero__img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* 背景画像：明るい、自然光、ビーズ、レースなど */
    background-image: url(images/sample-accessory-hero.png);
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* 白いカードを重ねて文字を載せる */
.hero__text-box {
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 50px 60px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(109, 95, 93, 0.05);
    max-width: 500px;
}

.hero__catch-en {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 15px;
}

.hero__catch-jp {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 25px;
    line-height: 1.6;
}

.hero__desc {
    font-size: 0.95rem;
    line-height: 2;
}

/* --- Section --- */
.section {
    padding: 80px 0;
}

/* --- About --- */
.about__content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about__img {
    flex: 1;
    height: 400px;
    box-shadow: 10px 10px 0px rgba(212, 163, 115, 0.2); /* 写真の影を色付きでずらす */
}

.about__text {
    flex: 1;
}

.about__text p {
    margin-bottom: 20px;
    text-align: justify;
}

.signer {
    font-family: var(--font-script);
    font-size: 1.5rem;
    text-align: right;
    margin-top: 20px;
    color: var(--color-accent);
}

/* --- Items --- */
.items__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.item-card {
    display: block;
}

.item-card:hover .item-card__img {
    filter: brightness(1.05);
}

.item-card__img {
    aspect-ratio: 3 / 4;
    margin-bottom: 15px;
}

.item-card__info {
    text-align: center;
}

.item-card__info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.item-card__info p {
    font-size: 0.8rem;
    color: #999;
}

.btn-area {
    text-align: center;
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-accent);
    color: #fff;
    padding: 15px 50px;
    border-radius: 50px;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(212, 163, 115, 0.4);
    transition: transform 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* --- Gallery --- */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery__item {
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.gallery__item:hover {
    opacity: 0.8;
}

.gallery__note {
    text-align: center;
    margin-top: 20px;
    font-family: var(--font-script);
    font-size: 1.2rem;
    color: var(--color-accent);
}

/* --- Contact --- */
.contact {
    background-color: #f5f2ed; /* 背景色を少し変える */
    text-align: center;
}

.contact__inner p {
    margin-bottom: 30px;
}

/* --- Footer --- */
.footer {
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid #eeeae4;
}

.footer__logo {
    font-family: var(--font-script);
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer__links {
    margin-bottom: 20px;
}

.footer__links a {
    margin: 0 15px;
    font-size: 0.8rem;
    color: #999;
}

.copyright {
    font-size: 0.7rem;
    color: #ccc;
}

/* --- Mobile Nav Overlay --- */
.mobile-nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(252, 251, 249, 0.98);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav ul {
    text-align: center;
}

.mobile-nav li {
    margin: 30px 0;
}

.mobile-nav a {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--color-text);
}

/* --- Responsive (Mobile) --- */
@media (max-width: 768px) {
    .header__nav { display: none; }
    
    .hamburger {
        display: block;
        position: absolute;
        top: 30px; right: 20px;
        width: 30px; height: 20px;
        cursor: pointer;
        z-index: 100;
    }
    
    .hamburger span {
        position: absolute;
        width: 100%; height: 2px;
        background-color: var(--color-text);
        transition: all 0.3s;
    }
    
    .hamburger span:nth-child(1) { top: 0; }
    .hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
    .hamburger span:nth-child(3) { bottom: 0; }
    
    /* ハンバーガーアニメーション */
    .hamburger.active span:nth-child(1) { top: 50%; transform: rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { top: 50%; transform: rotate(-45deg); }

    .hero { height: 500px; }
    
    .hero__text-box {
        margin: 0 20px;
        padding: 40px 20px;
    }
    
    .about__content {
        flex-direction: column;
        gap: 40px;
    }
    
    .about__img { height: 250px; }
    
    .items__grid {
        grid-template-columns: 1fr; /* スマホは1列 */
        gap: 40px;
    }
    
    .item-card {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .gallery__grid {
        grid-template-columns: repeat(2, 1fr); /* スマホは2列 */
    }
}