/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding-top: 80px;
    font-family: "Shippori Mincho";
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    color: #545454;
    line-height: 1.8;
    background-color: #f5f0e6;

    letter-spacing: 0.05em;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 6%;
    background-color: transparent;
    padding: 20px 50px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(252, 252, 249, 0.9);
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);

}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 500;
    font-size: 1.2rem;
    font-family: "Josefin Slab", serif;

}

.logo a {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.1em;
    transition: transform 0.3s ease;
    display: inline-block;

}


.nav-menu ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-menu li a {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    letter-spacing: 0.08em;
    transition: transform 0.3s ease;
}

.nav-menu a:hover {
    color: #8c8273;
    
}

.menu-toggle,
.menu-title {
    display: none;
}

.nav-icon {
    width: 30px;
    height: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #545454;
    font-size: 0.9rem;
}

a {
    text-decoration: none;
    color: inherit;
}

.main-visual {
    width: 100%;
    padding: 0 6% 80px 6%;
    margin-top: 16px;
}

.mv-container {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
   
}

.mv-image-box {
    width: 100%;
    height: 60vh;
    overflow: hidden;

}

.mv-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.mv-text-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    width: 100%;
    padding: 0 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.main-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 15px;
}

.sub-title {
    font-size: 16px;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

/* ==========================================
   トップページ Aboutセクション
   ========================================== */
.top-about {
    padding: 100px 6%;
    text-align: center;


}

.container-small {
    max-width: 600px;
    margin: 0 auto;
}
.section-title {
    font-family: "Josefin Slab";
    font-size: 24px;
    font-weight: normal;
    letter-spacing: 0.15em;
    margin-bottom: 40px;
    color: #545454;
}

.about-lead {
    font-size: 16px;
    line-height: 2.2;
    letter-spacing: 0.08em;
    margin-bottom: 40px;
    background-image: url(haikei-shiromaru-center.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 600px;
    padding: 150px 50px;
    color: #545454;
}

.btn-more {
    display: inline-block;
    padding: 12px 50px;
    background-color: #545454;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.1em;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin-top: 100px;
}

.btn-more:hover {
    background-color: #6b6254;
    transform: translateY(-2px);

}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 10px;
}

#about p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    background-image: url(../sozai/haikei-shiromaru-center.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 700px;
    padding: 150px 50px;
}

/* ==========================================
   トップページ カテゴリセクション
   ========================================== */
.top-categories {
    padding: 60px 6% 120px 6%;
    text-align: center;
}

.category-grid {
    display: flex;
    justify-content: center;
    gap: 8%;
    max-width: 1100px;
    margin: 40px auto 0 auto;
}


.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;

}


.category-img-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 4px solid #B26822;
    box-sizing: border-box;
    
}


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

.category-card:hover .category-img {
    transform: scale(1.08);
}

.category-name {
    font-size: 16px;
    letter-spacing: 0.1em;
    color: #545454;
}


section {
    padding: 100px 20px;
    margin: 0 auto;
    text-align: center;
}

h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: #545454;
}

/* 商品グリッド */
.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.img-placeholder {
    aspect-ratio: 3/4;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: 0.3s;
}

.item-card:hover .img-placeholder {
    opacity: 0.7;
}

.item-img-container {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin-bottom: 15px;
}

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

}

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


.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s, transform 1s;
}

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


/* ==========================================
   全ページ共通：画面幅いっぱいのブラウンフッター
   ========================================== */
.site-footer {
    width: 100%;
    background-color: #B26822;
    padding: 60px 0;
    text-align: center;

}


.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 6%;
}

.footer-logo a {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.15em;
    color: #ffffff;
    display: inline-block;
    margin-bottom: 15px;
    transition: opacity 0.3s ease;
}


.footer-logo a:hover {
    opacity: 0.8;
}


.copyright {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: #f7f4ef;
    opacity: 0.8;

}

/* ==========================================
   下層ページ共通 メインビジュアル
   ========================================== */
.page-mv {
    width: 100%;
    padding: 0 6% 60px 6%;
    margin-top: 16px;
}

.page-mv-container {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    aspect-ratio: 16 / 7;
    overflow: hidden;
}

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

.page-mv-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Shippori Mincho';
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #ffffff;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
   
}

/* ==========================================
   Aboutページ：新・交互2カラムレイアウト
   ========================================== */
.about-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 6% 120px 6%;
}
.about-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 120px;
   
}

.about-row.row-reverse {
    flex-direction: row-reverse;
}

/* タイトルと白丸背景を重ねるボックス */
.about-title-box {
    width: 45%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 白くて丸い背景画像 */
.bg-circle-img {
    width: 100%;
    height: auto;
    opacity: 0.8;

}

.about-row-title {
    position: absolute;
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-weight: normal;
    color: #545454;
    letter-spacing: 0.1em;
    line-height: 1.6;
    text-align: center;
    width: 80%;

}

.about-row-title::after {
    display: none !important;
}


.about-text-box {
    width: 48%;
}

.about-text {
    font-size: 14.5px;
    line-height: 2.3;
    color: #545454;
    letter-spacing: 0.05em;
}

.about-shop-info {
    margin-top: 60px;
    border-top: 1px solid #dcd5c9;
    padding-top: 60px;
}

.shop-title {
    font-family: 'Josefin Slab', serif;
    font-size: 26px;
    font-weight: normal;
    color: #4a463e;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
}

.shop-info-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 6%;
}

.map-placeholder {
    width: 50%;
    height: 280px;
    background-color: #eaddcd;
    color: #8c8273;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border-radius: 6px;
}

.info-details {
    width: 44%;
}

.info-details p {
    font-size: 14.5px;
    line-height: 2.2;
    color: #4a463e;
    margin-bottom: 10px;
}

.map-placeholder iframe {
    width: 100% !important;
    height: 100% !important;
}

/* ==========================================
   Itemsページ：商品一覧グリッド
   ========================================== */
.items-list-section {
    padding: 40px 6% 120px 6%;
}

.items-container {
    max-width: 1100px;
    margin: 40px auto;
}


.items-grid-page {
    display: flex;
    flex-wrap: wrap;
    gap: 60px 5%;
}

.item-card-page {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.item-img-box-page {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin-bottom: 18px;
    background-color: #eaddcd;
}

.item-img-box-page img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.5s ease;
    
}

.item-card-page:hover img {
    transform: scale(1.04);
}


.item-name-page {
    font-size: 15px;
    color: #545454;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

.item-price-page {
    font-size: 13.5px;
    color: #8c8273;
    letter-spacing: 0.08em;
}

@media (max-width: 768px) {
    .item-card-page {
        width: 47.5%;
    }

    .items-grid-page {
        gap: 40px 5%;
    }
}

/* ==========================================
   Contactページ：お問い合わせフォーム
   ========================================== */
.contact-section {
    padding: 40px 6% 120px 6%;
}

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

.contact-lead-text {
    font-size: 14.5px;
    line-height: 2.0;
    color: #545454;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 0.05em;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.form-group label {
    font-size: 14px;
    color: #545454;
    margin-bottom: 10px;
    font-weight: bold;
}


.required {
    font-size: 11px;
    background-color: #B26822;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: normal;
    vertical-align: middle;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 14px 15px;
    font-size: 14.5px;
    font-family: "Shippori Mincho", serif;
    color: #545454;
    background-color: #ffffff;
    border: 1px solid #dcd5c9;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group textarea {
    height: 180px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #B26822;
    box-shadow: 0 0 5px rgba(178, 104, 34, 0.1);
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.btn-submit {
    display: inline-block;
    padding: 14px 80px;
    background-color: #545454;
    color: #ffffff;
    font-size: 15px;
    font-family: "Shippori Mincho", serif;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}


.btn-submit:hover {
    background-color: #B26822;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}

.sp-only {
    display: none;
}

/* ==========================================
   📱 スマートフォン用のスタイル（画面幅768px以下）
   ========================================== */
@media (max-width: 768px) {

    /* ------------------------------------------
       1. ヘッダーとハンバーガーボタンの設定
       ------------------------------------------ */
    header {
        padding: 15px 25px;
        z-index: 100;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: rgba(245, 240, 230, 0.85);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.08);
        z-index: 99;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 15vh;
        gap: 50px;
        transition: right 0.4s ease;
    }

    
    .nav-menu.active {
        right: 0;
    }
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    nav ul li {
        margin-left: 0;
    }

    .nav-menu a {
        font-size: 20px;
        flex-direction: row;
        gap: 10px;
    }
    .menu-toggle {
        display: block;
        width: 30px;
        height: 22px;
        position: relative;
        z-index: 100;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #545454;
        left: 0;
        transition: all 0.4s ease;
    }

    .menu-toggle span:nth-child(1) {
        top: 0;
    }

    .menu-toggle span:nth-child(2) {
        top: 10px;
    }

    .menu-toggle span:nth-child(3) {
        top: 20px;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

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

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    .menu-title {
        display: block;
        font-family: 'Josefin Slab', serif;
        font-size: 24px;
        font-weight: 400;
        letter-spacing: 0.15em;
        color: #8c8273;
        border-bottom: 1px solid #dcd5c9;
        padding-bottom: 10px;
        width: 60%;
        text-align: center;
    }

    /* ------------------------------------------
       2. Topページ：メインビジュアル（MV）
       ------------------------------------------ */
    .main-visual {
        padding: 0 4% 40px 4%;
    }

    .mv-container {
        padding: 0 !important;
        width: 100%;
    }

    .mv-image-box {
        height: 45vh;
    }

    .main-title {
        font-size: 24px;
        line-height: 1.5;
        margin-bottom: 10px;
        letter-spacing: 0.15em;
        text-indent: 0.15em;
        padding-left: 0;
    }

    /* ------------------------------------------
       3. Topページ：Aboutセクション（白丸背景部分）
       ------------------------------------------ */
    .top-about {
        padding: 60px 4%;
    }

    .about-lead {
        font-size: 14px;
        line-height: 2.0;
        background-size: 100% auto;
        padding: 80px 20px;
    }

    .btn-more {
        margin-top: 50px;
    }

    /* ------------------------------------------
       4. Topページ：Categoriesセクション（丸型3つ並ぶ部分）
       ------------------------------------------ */
    .top-categories {
        padding: 40px 4% 80px 4%;
    }

    .category-grid {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .category-card {
        width: 60%;
    }

    /* ------------------------------------------
       5. Topページ：Itemsセクション（商品一覧）
       ------------------------------------------ */
    section {
        padding: 60px 4%;
    }

    .item-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px 4%;
    }

    /* ------------------------------------------
       6. 共通フッター
       ------------------------------------------ */
    .site-footer {
        padding: 40px 0;
    }

    .footer-inner {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

   
    .sp-only {
        display: inline;
    }

    .mv-text-box {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        text-align: center;
        padding: 0 20px;
    }

    .sub-title {
        font-size: 13px;
        line-height: 1.6;
        width: 100%;
        text-align: center;
        display: block;
    }

    /* ==========================================
       下層ページ共通：スマホ用メインビジュアル
       ========================================== */
    .page-mv-container {
        aspect-ratio: 16 / 9;
    }

    .page-mv-title {
        font-size: 32px;
        width: 100%;
        text-align: center;
    }

    /* ==========================================
       Aboutページ：スマホ用レスポンシブ
       ========================================== */
    .about-container {
        padding: 20px 4% 80px 4%;
    }

    .about-row {
        flex-direction: column !important;
        margin-bottom: 60px;
    }

    .about-row row-reverse {
        flex-direction: column-reverse !important;
    }

    .about-title-box,
    .about-text-box {
        width: 100%;
    }

    .about-title-box {
        margin-bottom: 40px;
    }

    .about-row-title {
        font-size: 18px;
    }

    .about-text {
        font-size: 14px;
        line-height: 2.0;
    }

    .shop-info-flex {
        flex-direction: column;
        gap: 30px;
    }

    .map-placeholder,
    .info-details {
        width: 100%;
    }

    .map-placeholder {
        height: 240px;
    }

    /* ==========================================
       Contactページ：スマホ用レスポンシブ
       ========================================== */
    .contact-section {
        padding: 40px 4% 80px 4%;
    }

    .contact-container {
        width: 100%;
    }

    .contact-lead-text {
        font-size: 14px;
        text-align: left;
        line-height: 1.8;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }

    .btn-submit {
        width: 100%;
        padding: 14px 0;
        border-radius: 25px;
    }

    /* ==========================================
       Contactページ：スマホ用のボタンタップ演出
       ========================================== */
    .btn-submit:active {
        background-color: #8c8273 !important;
        color: #fff !important;
        transform: scale(0.98);
    }

    .fade-in-target {
        transform: translateY(15px);
    }


}

/* ==========================================
   フッターSNSアイコンのスタイル（PC・スマホ共通）
   ========================================== */
.footer-sns {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 10px 0;
 
}

.sns-link {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}


.sns-link:active {
    color: #8c8273;
    transform: translateY(-2px);
    
}

/* ==========================================
   スクロールでふわっと表示させるアニメーション
   ========================================== */

.fade-in-target {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 2.0s ease, transform 2.0s ease;
}

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

.logo a:hover,
.nav-menu li a:hover {
    transform: translateY(-3px);
}