@import url('common.css');

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

body {
    font-family: 'Garamond', 'Georgia', serif;
    color: #9e6b48;
    overflow-x: hidden;
}

/* Hamburger Menu */
.hamburger {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: #9e6b48;
    transition: all 0.3s ease;
}

.hamburger:hover span {
    background: #9e6b48;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    animation: menuFadeIn 0.3s ease;
}

.menu-overlay.active {
    display: flex;
}

@keyframes menuFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.menu-items {
    list-style: none;
    text-align: center;
}

.menu-items li {
    margin: 30px 0;
    font-size: 2rem;
    letter-spacing: 3px;
    transition: all 0.3s ease;
}

.menu-items li a {
    color: #9e6b48;
    text-decoration: none;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.menu-items li a:hover {
    color: #9e6b48;
    border-bottom: 2px solid #9e6b48;
}

/* Page Hero */
.page-hero {
    width: 100vw;
    height: 65vh;
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.4)),
        url('../img/new4.jpg');
    background-size: cover;
    background-position: center 25%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 60px;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
}

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

.hero-overlay h1 {
    font-size: 4.5rem;
    font-weight: 200;
    letter-spacing: 12px;
    margin-bottom: 15px;
    color: #9e6b48;
}

.hero-overlay .subtitle {
    font-size: 1.2rem;
    letter-spacing: 4px;
    font-weight: 300;
    color: #9e6b48;
    font-family: 'Hiragino Mincho ProN', 'Yu Mincho', 'MS Mincho', serif;
}

/* Contact Content */
.contact-content {
    min-height: 50vh;
    padding: 100px 60px;
    /* Background removed to show body image */
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-box {
    text-align: center;
    padding: 80px 60px;
    border: 2px solid #2a1f1d;
    background: rgba(255, 255, 255, 0.8);
}

.contact-box h2 {
    font-size: 2.5rem;
    font-weight: 200;
    letter-spacing: 6px;
    margin-bottom: 40px;
    color: #9e6b48;
}

.contact-box p {
    font-size: 1.15rem;
    line-height: 2;
    color: #9e6b48;
    margin-bottom: 15px;
}

.contact-box p.jp {
    font-size: 1rem;
    font-family: 'Hiragino Mincho ProN', 'Yu Mincho', 'MS Mincho', serif;
    color: #9e6b48;
    margin-bottom: 40px;
}

.contact-info {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #2a1f1d;
}

.contact-info .email {
    font-size: 1.4rem;
    color: #9e6b48;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.contact-info .note {
    font-size: 0.9rem;
    color: #9e6b48;
    font-style: italic;
}

/* Footer */
footer {
    /* Background removed for body image */
    padding: 60px 50px;
    text-align: center;
}

footer p {
    color: #9e6b48;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 30px;
    justify-content: center;
}

.social-links a {
    color: #9e6b48;
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 1px;
}

.social-links a:hover {
    color: #9e6b48;
}

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

    /* スマホでは中央に配置 */
    .page-hero {
        background-position: center;
    }

    .hero-overlay h1 {
        font-size: 3rem;
    }

    .menu-items li {
        font-size: 1.5rem;
    }

    .contact-content {
        padding: 60px 30px;
    }

    .contact-box {
        padding: 50px 30px;
    }

    .contact-box h2 {
        font-size: 2rem;
    }

    .contact-info .email {
        font-size: 1.1rem;
    }
}