@charset "UTF-8";

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

:root {
    --primary-color: #5c4d3c;
    --accent-color: #d4af37;
    --text-color: #333333;
    --bg-color: #fbf9f5;
    --bg-dark: #f0ede5;
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
}

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

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

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

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

.inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.sec-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    position: relative;
    letter-spacing: 0.1em;
}

.sec-title.left {
    text-align: left;
}

.title-img {
    max-height: 250px;
    width: auto;
    max-width: 100%;
}

/* =========================================
   Header
========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(251, 249, 245, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 100;
    backdrop-filter: blur(5px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.header-logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-color);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 99;
    transition: right 0.3s ease;
    padding-top: 100px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-list li {
    border-bottom: 1px solid #eee;
}

.mobile-nav-list a {
    display: block;
    padding: 20px 30px;
    font-family: var(--font-serif);
    color: var(--primary-color);
    font-weight: 500;
}

/* =========================================
   FV
========================================= */
.fv {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: row;
    padding-top: 80px;
    overflow: hidden;
    background-color: var(--bg-color);
}

.fv-left {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
    padding: 100px 40px 60px;
}

.fv-right {
    width: 60%;
    position: relative;
    height: 100%;
}

.fv-right .swiper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.fv-right .swiper-slide {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fv-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FV Left Inner elements */
.fv-top {
    width: 100%;
    display: flex;
    justify-content: center;
}

.fv-catch-wrapper {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 15px;
}

.fv-catch-small {
    text-align: left;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 2;
    letter-spacing: 0.15em;
    color: var(--primary-color);
}

.fv-middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.fv-logo-img {
    max-height: 200px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.fv-nav {
    display: flex;
    flex-direction: row-reverse;
    gap: 25px;
    justify-content: center;
}

.fv-nav a {
    writing-mode: vertical-rl;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s;
}

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

.fv-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.tel-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    opacity: 0.8;
}

.tel-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
}

.shop-btn {
    display: block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 40px;
    font-family: var(--font-serif);
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: 0.3s;
    width: 260px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

/* =========================================
   Recommend
========================================= */
.recommend {
    background-image: url('../img/background1.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}

.recommend .sec-title {
    color: #fff;
}

.recommend-box {
    background: #fff;
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    max-width: 800px;
    margin: 0 auto;
}

.recommend-list li {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.recommend-list li:last-child {
    margin-bottom: 0;
}

.recommend-list .check {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
    flex-shrink: 0;
}

.recommend-list .check::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 9px;
    width: 5px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

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

.about-img {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.about-text {
    flex: 1;
}

.about-catch {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--primary-color);
    margin-bottom: 30px;
}

/* =========================================
   Service
========================================= */
.service {
    background-image: url('../img/background1.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 50px;
}

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-item-img {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.service-item-text {
    flex: 1;
}

.service-item-text .num {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--accent-color);
    line-height: 1;
    display: block;
    margin-bottom: 10px;
    opacity: 0.5;
}

.service-item-text h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* =========================================
   Products
========================================= */
.products {
    background-color: #fff;
}

.products-intro {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1rem;
    line-height: 2;
}

.products-list {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.product-item {
    flex: 1;
    background: var(--bg-dark);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-10px);
}

.product-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

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

.product-item:hover .product-img img {
    transform: scale(1.05);
}

.product-text {
    padding: 25px;
    text-align: center;
}

.product-text h3 {
    font-family: var(--font-serif);
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.product-text .price {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.product-text .desc {
    font-size: 0.95rem;
    text-align: left;
    color: var(--text-color);
}

/* Shop Button */
.products-btn-container {
    text-align: center;
    margin-top: 60px;
}

.btn-shop {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 50px;
    border-radius: 50px;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-shop:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    opacity: 1;
}

/* =========================================
   Access
========================================= */
.access {
    background-image: url('../img/background2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
}

.access-container {
    display: flex;
    gap: 50px;
    background: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.access-info {
    flex: 1;
}

.access-info h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 15px;
}

.access-info dl {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #eee;
}

.access-info dt,
.access-info dd {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.access-info dt {
    width: 30%;
    font-weight: 700;
    color: var(--primary-color);
}

.access-info dd {
    width: 70%;
}

.tel-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.access-map {
    flex: 1.2;
}

.access-map iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border-radius: 4px;
}

/* HP Link */
.hp-link-container {
    text-align: center;
    margin-top: 60px;
}

.hp-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s;
}

.hp-link:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

.hp-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    fill: var(--primary-color);
}

.hp-text {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
}

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

.footer-logo {
    margin-bottom: 10px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* =========================================
   Back to Top
========================================= */
.page-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-top.show {
    opacity: 1;
    visibility: visible;
}

.page-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/* =========================================
   SP Fixed Bottom Buttons
========================================= */
.sp-bottom-fixed {
    display: none;
}

/* =========================================
   Animations
========================================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.js-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-kenburns {
    animation: kenburns 15s ease-out infinite alternate;
    transform-origin: center;
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

/* =========================================
   Responsive
========================================= */
.sp-only {
    display: none;
}

@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
        padding-bottom: 60px;
    }
    
    .products-intro {
        text-align: left;
    }
    
    /* SP Fixed Background (Safari iOS Fix) */
    .recommend,
    .service,
    .access {
        background-image: none !important;
        clip-path: inset(0);
    }
    
    .recommend::before,
    .service::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background-image: url('../img/SPbackground1.jpeg');
        background-size: cover;
        background-position: center;
        z-index: -1;
        pointer-events: none;
    }
    
    .access::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background-image: url('../img/SPbackground2.jpg');
        background-size: cover;
        background-position: center;
        z-index: -1;
        pointer-events: none;
    }
    
    .sp-only {
        display: block;
    }

    .header-inner {
        padding: 0 20px;
        height: 60px;
    }
    
    .nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .fv {
        flex-direction: column-reverse;
        padding-top: 60px;
        height: auto;
        min-height: auto;
    }

    .fv-left {
        width: 100%;
        height: auto;
        padding: 40px 20px;
        gap: 40px;
    }

    .fv-right {
        width: 100%;
        height: 60vh;
    }

    .fv-logo-img {
        max-height: 120px;
    }

    .fv-nav {
        gap: 15px;
    }

    .fv-catch-small {
        font-size: 1rem;
    }

    /* SP Fixed Bottom Buttons */
    .sp-bottom-fixed {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
    
    .sp-btn-tel, .sp-btn-shop {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 60px;
        color: #fff;
        text-decoration: none;
        font-family: var(--font-serif);
        font-size: 0.95rem;
        font-weight: bold;
        letter-spacing: 0.1em;
    }
    
    .sp-btn-tel {
        background-color: #8c8172; /* slightly different from primary for distinction */
    }
    
    .sp-btn-shop {
        background-color: var(--primary-color);
    }
    
    .page-top {
        bottom: 80px;
        width: 50px;
        height: 50px;
    }
    
    .about-flex {
        flex-direction: column;
        gap: 30px;
    }

    .service-list {
        gap: 50px;
    }

    .service-item,
    .service-item.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .products-list {
        flex-direction: column;
        gap: 40px;
    }

    .access-container {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
    }

    .recommend-box {
        padding: 30px 20px;
    }

    .recommend-list li {
        font-size: 1rem;
    }

    .sec-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .title-img {
        max-height: 150px;
        max-width: 100%;
    }

    .about-catch,
    .service-item-text h3 {
        font-size: 1.4rem;
    }
    
    .access-info h3 {
        font-size: 1.5rem;
    }
    
    .access-map iframe {
        min-height: 250px;
    }
}
