@charset "UTF-8";
/*
Theme Name: Beauty Salon Theme
Description: 洗練された美容室向けオリジナルテーマ (極軽量・高速・SEO最適化済)
Version: 1.0.0
Author:chab-art
Author URI: https://chab-art.com/
Copyright: (C) 2026 chabart All Rights Reserved.
※上記の記載がない場合は、サイトを利用できません。無断使用の場合、作成者が見つけ次第、適切な機関へ相談させていただきます。
*/

/* ===================================================
 * Variables & Base
 * =================================================== */
@font-face {
  font-family: 'ThemeFont';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/theme-font-regular.woff2') format('woff2');
}

:root {
    --color-bg: #EFEBE4;
    --color-text: #4A4641;
    --color-main: #9E958A;
    --color-accent: #B2A296;
    --color-white: #FFFFFF;
    --container-width: 1100px;
}

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

body {
    font-family: 'ThemeFont', "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; text-decoration: none; transition: 0.3s ease; }
a:hover { opacity: 0.7; }

/* ===================================================
 * Utility Classes
 * =================================================== */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.title-serif { font-family: "Times New Roman", Times, serif; font-weight: normal; color: #4A3E38; }
.section-title { font-size: 2rem; text-align: center; margin-bottom: 25px; letter-spacing: 0.05em; color: #4A3E38; }
.section-subtitle { font-size: 0.85rem; color: #888; text-align: center; margin-bottom: 40px; letter-spacing: 0.1em; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.section { margin-bottom: 80px; }
.btn-wrap { text-align: center; } 

.btn-more { display: inline-block; padding: 12px 50px; border: 1px solid var(--color-main); color: var(--color-main); transition: 0.3s; background: transparent; border-radius: 30px;}
.btn-more:hover { background-color: var(--color-main); color: var(--color-white); }
.round-btn { border-radius: 50px; border-color: #A89B8D; color: #A89B8D; font-size: 0.95rem; background: transparent; }
.round-btn:hover { background-color: #A89B8D; color: var(--color-white); }

/* ===================================================
 * Header & Navigation
 * =================================================== */
.site-header { background-color: var(--color-white); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-bottom: 40px;}
.new-top-page .site-header { margin-bottom: 0; }

.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; max-width: var(--container-width); margin: 0 auto; }
.site-title { font-size: 1.5rem; line-height: 1; margin: 0; }
.site-title a { display: block; }
.site-title img { width: auto; height: 50px; object-fit: contain; }
.global-nav ul { display: flex; list-style: none; gap: 30px; }
.global-nav a { font-size: 0.95rem; font-weight: 500; letter-spacing: 0.05em; padding: 10px 0; }
.global-nav a:hover { color: var(--color-main); }
.header-qr-hamburger { display: flex; align-items: center; gap: 20px; }
.header-qr { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.qr-img-wrap { background: var(--color-white); border: 1px solid var(--color-main); border-radius: 4px; padding: 2px; display: flex; }
.qr-img-wrap img { width: 40px; height: 40px; }
.qr-text { font-family: serif; font-size: 0.7rem; color: var(--color-main); font-weight: bold; }
.hamburger { display: none; cursor: pointer; width: 30px; height: 20px; position: relative; z-index: 110; }
.hamburger span { position: absolute; width: 100%; height: 2px; background: var(--color-text); left: 0; transition: 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; }
.mobile-menu { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--color-white); z-index: 90; padding: 100px 20px; overflow-y: auto; opacity: 0; transition: 0.3s; }
.mobile-menu.active { display: block; opacity: 1; }
.mobile-nav ul { list-style: none; }
.mobile-nav li { margin-bottom: 25px; text-align: center; }
.mobile-nav a { font-size: 1.2rem; font-weight: bold; display: block; padding: 10px; }

/* ===================================================
 * Hero Section (Top Page)
 * =================================================== */
.hero-new { position: relative; width: 100%; height: 60vh; min-height: 400px; margin-bottom: 80px; margin-top: -40px; }
.hero-new-bg { position: absolute; width: 100%; height: 100%; }
.hero-new-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-new-bg::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.25); }
.hero-new-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: #FFF; width: 90%; z-index: 2; }
.hero-catch { font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.8; letter-spacing: 0.1em; margin-bottom: 10px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero-signature { font-family: 'Brush Script MT', 'Dancing Script', cursive; font-size: clamp(3rem, 6vw, 5rem); line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

/* ===================================================
 * Top Page Layout Grid
 * =================================================== */
.top-row { display: flex; gap: 50px; margin-bottom: 30px; }
.middle-row { margin-bottom: 80px; }
.bottom-row { display: flex; gap: 50px; margin-bottom: 80px; }

.top-left { flex: 1.2; min-width: 0; }
.top-right { flex: 0.8; min-width: 0; display: flex; flex-direction: column; }
.bottom-left { flex: 1.2; min-width: 0; display: flex; flex-direction: column; }
.bottom-right { flex: 0.8; min-width: 0; display: flex; flex-direction: column; }

.bottom-left .btn-wrap, .bottom-right .btn-wrap {
    margin-top: auto; 
    padding-top: 30px;
}

/* ===================================================
 * Hair Catalog セクション
 * =================================================== */
.section-catalog .section-title { font-size: 1.5rem; margin-bottom: 0; }
.section-catalog .section-subtitle { font-size: 0.75rem; margin-bottom: 15px; }

.catalog-collage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 10px;
    align-items: start;
    max-width: 580px;
    margin: 0 auto 30px;
}

.collage-item { position: relative; display: block; z-index: 2; transition: transform 0.3s ease; }
.collage-item:hover { transform: translateY(-3px); z-index: 10; }

.collage-item img {
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2;
    display: block;
}

.collage-item:nth-child(1) img { aspect-ratio: 1 / 1.05; border-radius: 100px 100px 0 0; }
.collage-item:nth-child(1)::after {
    content: ""; position: absolute; top: -8px; left: -8px; width: 100%; height: 100%;
    border: 1px solid #A89B8D; border-radius: 110px 110px 0 0; z-index: 1;
}
.collage-item:nth-child(2) { margin-top: 15px; }
.collage-item:nth-child(2) img { aspect-ratio: 1 / 1.05; border-radius: 100px 100px 0 0; }
.collage-item:nth-child(2)::after {
    content: ""; position: absolute; bottom: -8px; right: -8px; width: 100%; height: 100%;
    border: 1px solid #A89B8D; border-radius: 110px 110px 0 0; z-index: 1;
}
.collage-item:nth-child(3) img { aspect-ratio: 1 / 0.85; }
.collage-item:nth-child(4) img { aspect-ratio: 1 / 0.85; }
.collage-item:nth-child(4)::before {
    content: ""; position: absolute; top: 15px; left: -15px; width: 60%; height: 130%;
    background-color: #E7DFD4; z-index: 0;
}
.collage-item:nth-child(4)::after {
    content: ""; position: absolute; bottom: -20px; left: -25px; width: 60%; height: 140%;
    border-left: 1px solid #A89B8D; border-bottom: 1px solid #A89B8D; z-index: 1;
}
.collage-item:nth-child(5) { margin-top: 15px; }
.collage-item:nth-child(5) img { aspect-ratio: 1 / 1.05; }
.collage-item:nth-child(6) img { aspect-ratio: 1 / 0.85; }
.collage-item:nth-child(6)::before {
    content: ""; position: absolute; top: 20px; right: -15px; width: 70%; height: 110%;
    background-color: #E7DFD4; z-index: 0;
}
.collage-item:nth-child(6)::after {
    content: ""; position: absolute; bottom: -20px; right: -25px; width: 90%; height: 140%;
    border-right: 1px solid #A89B8D; border-bottom: 1px solid #A89B8D; z-index: 1;
}
.collage-item:nth-child(7) img { aspect-ratio: 1 / 1.05; }
.collage-item:nth-child(8) { margin-top: 15px; }
.collage-item:nth-child(8) img { aspect-ratio: 1 / 1.05; }
.collage-item:nth-child(9) { display: block !important; margin-top: 5px; }
.collage-item:nth-child(9) img { aspect-ratio: 1 / 0.85; }


/* ===================================================
 * MENU & PRICES (トップページ右上)
 * =================================================== */
.section-menu { flex-grow: 1; display: flex; flex-direction: column; margin-bottom: 0; }

.menu-card { 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
    background: #fff; 
    padding: 30px 20px; 
    border-radius: 4px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}

.menu-card-title { text-align: center; font-size: 1.6rem; margin-bottom: 20px; letter-spacing: 0.05em; }
.menu-card-body { margin-bottom: 20px; }
.menu-card .btn-wrap { margin-top: auto; padding-top: 20px; text-align: center; }

.menu-list .menu-item { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; position: relative; font-size: 0.9rem;}
.menu-list .menu-item dt, .menu-list .menu-item dd { background: #fff; position: relative; z-index: 1; }
.menu-list .menu-item dt { padding-right: 10px; }
.menu-list .menu-item dd { padding-left: 10px; font-weight: bold; }
.menu-list .menu-item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.5em; border-bottom: 1px dotted #ccc; z-index: 0; }
.menu-category { font-size: 1.2rem; margin: 20px 0 10px; border-bottom: 1px solid #eee; padding-bottom: 5px; color: var(--color-main);}

/* ===================================================
 * Styling Item (トップページ中段: 6列・アーチ型)
 * =================================================== */
.item-arch-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; margin-bottom: 30px;}
.item-arch-card { background: #fff; text-align: center; border-radius: 100px 100px 0 0; overflow: hidden; padding-bottom: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.03); display: block; transition: 0.3s;}
.item-arch-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.arch-img { aspect-ratio: 1/1; }
.arch-img img { width: 100%; height: 100%; object-fit: cover; }
.arch-body { padding: 10px 5px; display: flex; flex-direction: column; justify-content: space-between; height: calc(100% - 100%); }
.arch-title { font-size: 0.75rem; margin-bottom: 8px; line-height: 1.4; color: var(--color-text);}
.arch-price { font-weight: bold; font-size: 0.9rem; color: var(--color-text); margin-top: auto;}

/* ===================================================
 * Column (トップページ左下: 新レイアウト)
 * =================================================== */
.column-box {
    display: flex;
    background: #fff;
    gap: 25px;
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.column-latest {
    flex: 1.1;
    display: block;
    transition: 0.3s;
}

.column-latest-img {
    aspect-ratio: 16/9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.column-latest-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease;
}

.column-latest:hover .column-latest-img img {
    transform: scale(1.03);
}

.column-latest-title {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text);
    font-weight: bold;
}

.column-list {
    flex: 0.9;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.column-list-item {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid #EAEAEA;
    transition: 0.3s;
}

.column-list-item:first-child {
    padding-top: 0;
}

.column-list-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.column-list-title {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-text);
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.column-list-item:hover .column-list-title {
    color: var(--color-main);
}

/* ===================================================
 * Blog (トップページ右下: 3列)
 * =================================================== */
.blog-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.blog-square-card { background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.03); display: block; transition: 0.3s;}
.blog-square-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.blog-img { aspect-ratio: 1/1; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-info { padding: 15px; text-align: center; } 
.blog-title { font-size: 0.8rem; line-height: 1.4; margin-bottom: 10px; color: var(--color-text); font-weight: bold; }
.blog-date { font-size: 0.7rem; color: #888; }

/* ===================================================
 * 下層ページ (Breadcrumbs, Layouts, Archives, Singles)
 * =================================================== */
.breadcrumbs { font-size: 0.85rem; color: #888; margin-bottom: 25px; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs a:hover { color: var(--color-main); text-decoration: underline; }

.back-link-wrap { margin-bottom: 30px; }
.back-to-list-link { display: inline-flex; align-items: center; padding: 8px 24px; border: 1px solid #ddd; border-radius: 30px; font-size: 0.9rem; }
.back-to-list-link span { margin-right: 8px; }

.grid-3x3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.grid-item { aspect-ratio: 1 / 1; overflow: hidden; background-color: #eee; display: block; }
.grid-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.grid-item:hover img { transform: scale(1.05); }

.card-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin-bottom: 40px; }
.card { background: var(--color-white); border-radius: 4px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.03); display: block; }
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.card-img { aspect-ratio: 3 / 2; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px; }
.card-title { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.4; }
.card-date { font-size: 0.85rem; color: #888; }

.two-column { display: flex; gap: 40px; margin-bottom: 60px; }
.main-area { flex: 1; min-width: 0; }
.sidebar-area { width: 300px; }
.widget { background: var(--color-white); padding: 30px; margin-bottom: 30px; border-radius: 4px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.widget-title { font-size: 1.1rem; margin-bottom: 20px; border-bottom: 1px solid var(--color-main); padding-bottom: 10px; color: var(--color-main); }
.widget ul { list-style: none; }
.widget li { padding: 8px 0; border-bottom: 1px dashed #eee; font-size: 0.95rem; }

.catalog-layout { display: flex; gap: 40px; margin-bottom: 60px; }
.catalog-sidebar { width: 260px; flex-shrink: 0; background: var(--color-white); padding: 30px 20px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); align-self: flex-start; }
.catalog-main { flex: 1; min-width: 0; }
.side-nav-group { margin-bottom: 25px; }
.side-nav-title { font-size: 1.1rem; margin-bottom: 10px; color: var(--color-main); border-bottom: 1px solid #eee; padding-bottom: 5px; }
.side-nav-all { display: block; text-align: center; padding: 12px; border: 2px solid var(--color-main); border-radius: 30px; font-weight: bold; color: var(--color-main); }
.side-nav-all.active { background: var(--color-main); color: var(--color-white); }
.side-nav-list { list-style: none; }
.side-nav-list a { display: block; padding: 8px 15px; margin-bottom: 5px; border-radius: 4px; }
.side-nav-list a.active { background: #f0f0f0; font-weight: bold; color: var(--color-main); }
.filter-toggle-btn { display: none; }

.grid-4x4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.item-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 40px; }
.item-card { background: var(--color-white); border: 1px solid #EAEAEA; border-radius: 8px; overflow: hidden; display: block;}
.item-img { aspect-ratio: 1 / 1; overflow: hidden; }
.item-img img { width: 100%; height: 100%; object-fit: cover; }
.item-body { padding: 20px 15px; text-align: center; }
.item-brand { font-size: 0.75rem; color: var(--color-main); margin-bottom: 5px; }
.item-title { font-size: 0.95rem; font-weight: 500; }
.item-price { font-size: 1.05rem; font-weight: bold; margin-top: 10px; }
.tax-inc { font-size: 0.75rem; font-weight: normal; }

.single-article { background: var(--color-white); padding: 40px; border-radius: 4px; margin-bottom: 40px; }
.single-body ul, .single-body ol, .single-item-content ul, .single-item-content ol { padding-left: 1.5em; margin-bottom: 1.5em; }
.single-body li, .single-item-content li { margin-bottom: 0.5em; }
.single-title { font-size: 1.8rem; margin-bottom: 15px; line-height: 1.4; }
.single-date { font-size: 0.9rem; color: var(--color-main); margin-bottom: 30px; }
.single-thumbnail { margin-bottom: 40px; border-radius: 4px; overflow: hidden; }
.single-body { line-height: 2; }
.single-body h2 { font-size: 1.5rem; color: var(--color-main); border-left: 4px solid var(--color-main); padding-left: 15px; margin: 40px 0 20px; }
.single-body p { margin-bottom: 1.5em; }

.catalog-single-title { margin-bottom: 30px; }
.catalog-single-thumbnail { max-width: 600px; margin: 0 auto 40px; }
.catalog-single-body { max-width: 600px; margin: 0 auto; }

.single-item-wrapper { background: var(--color-white); padding: 40px; border-radius: 8px; margin-bottom: 60px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.single-item-header { display: flex; gap: 40px; }
.single-item-gallery { flex: 1; border-radius: 8px; overflow: hidden; }
.single-item-gallery img { width: 100%; height: auto; object-fit: cover; }
.single-item-info { flex: 1; }
.single-item-brand { color: var(--color-main); font-weight: bold; margin-bottom: 10px; }
.single-item-title { font-size: 1.8rem; margin-bottom: 20px; line-height: 1.3; }
.single-item-price { font-size: 1.5rem; font-weight: bold; margin-bottom: 30px; border-bottom: 2px solid #eee; padding-bottom: 15px; }
.single-item-content { line-height: 1.8; }
.related-items-section { margin-top: 60px; }
.related-section-title { font-size: 1.4rem; margin-bottom: 30px; text-align: center; color: var(--color-main); }

.card-nav { display: flex; gap: 20px; margin-bottom: 60px; }
.card-nav-prev, .card-nav-next { flex: 1; }
.nav-card { display: flex; align-items: center; gap: 15px; padding: 15px; border: 1px solid #EAEAEA; border-radius: 8px; background: var(--color-white); height: 100%; transition: 0.3s; }
.nav-card:hover { border-color: var(--color-main); transform: translateY(-2px); }
.flex-row-reverse { flex-direction: row-reverse; }
.nav-card-img { width: 80px; height: 80px; flex-shrink: 0; border-radius: 4px; overflow: hidden; }
.nav-card-img img { width: 100%; height: 100%; object-fit: cover; }
.nav-label { display: block; font-size: 0.75rem; color: var(--color-main); margin-bottom: 5px; }
.nav-title { font-size: 0.9rem; line-height: 1.4; margin: 0; }

.concept-wrap { max-width: 900px; margin: 0 auto 80px; }
.concept-lead { margin-bottom: 80px; }
.lead-title { font-size: 1.5rem; color: var(--color-main); border-left: 4px solid var(--color-main); padding-left: 15px; margin-bottom: 20px; line-height: 1.4; }
.lead-text { font-size: 1rem; line-height: 2; }
.concept-features { display: flex; flex-direction: column; gap: 80px; }
.feature-item { display: flex; align-items: center; gap: 50px; }
.feature-item.reverse { flex-direction: row-reverse; }
.feature-img { flex: 1.2; border-radius: 4px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-content { flex: 1; }
.feature-num { display: block; font-family: "Times New Roman", serif; font-size: 3rem; color: var(--color-main); opacity: 0.3; line-height: 1; margin-bottom: 5px; }
.feature-title { font-size: 1.3rem; margin-bottom: 15px; color: var(--color-text); }
.feature-text { font-size: 0.95rem; line-height: 1.8; }

.search-result-header { margin-bottom: 40px; }
.search-card-img { background: #f5f5f5; }
.search-excerpt { font-size: 0.85rem; color: #666; margin-top: 10px; }
.search-no-result { padding: 40px 0; }
.search-no-result-text { font-size: 1.2rem; font-weight: bold; margin-bottom: 20px; }
.search-no-result-desc { color: #666; margin-bottom: 40px; }
.not-found-wrap { padding: 100px 0; text-align: center; }
.not-found-title { font-family: serif; font-size: 5rem; color: rgba(158, 149, 138, 0.2); line-height: 1; }
.not-found-subtitle { font-size: 1.8rem; color: var(--color-main); display: block; margin-top: 10px; }
.pagination { text-align: center; margin: 40px 0; }
.pagination .page-numbers { display: inline-block; padding: 8px 16px; margin: 0 5px; border: 1px solid #ddd; border-radius: 4px; }
.pagination .current { background: var(--color-main); color: #fff; border-color: var(--color-main); }

/* ===================================================
 * Footer
 * =================================================== */
.site-footer { background-color: var(--color-main); color: var(--color-white); padding: 60px 0 0; margin-top: 80px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; margin-bottom: 60px; }
.footer-col { flex: 1; }
.footer-logo img { height: 80px; width: auto; filter: brightness(0) invert(1); }

/* マップ画像の表示調整 */
.footer-map img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* 動的メニューのスタイル（管理画面から追加されるul/li用） */
ul.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
ul.footer-nav li {
    margin-bottom: 10px;
}
ul.footer-nav li a {
    color: var(--color-white);
    transition: 0.3s;
}
ul.footer-nav li a:hover {
    color: var(--color-accent);
}

/* 最下部コピーライトのフルウィズ化 */
.footer-bottom {
    width: 100%;
    background: rgba(0,0,0,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    margin-top: 60px;
}

/* ===================================================
 * Responsive (Smartphones & Tablets)
 * =================================================== */
@media screen and (max-width: 900px) {
    .top-row, .middle-row, .bottom-row { flex-direction: column; gap: 60px; margin-bottom: 60px;}
    
    .catalog-collage { grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0; max-width: 100%; margin: 0 auto; }
    .collage-item { margin-top: 0 !important; }
    .collage-item:nth-child(n)::before, .collage-item:nth-child(n)::after { display: none; }
    .collage-item img { border-radius: 4px !important; aspect-ratio: 3/4 !important; }
    .collage-item:nth-child(n+7) { display: none !important; }
    
    .item-arch-grid { grid-template-columns: repeat(3, 1fr); }
    .column-box { flex-direction: column; } 
    .blog-grid-3 { grid-template-columns: repeat(3, 1fr); }
    
    .two-column, .catalog-layout, .card-nav, .single-item-header { flex-direction: column; }
    .sidebar-area, .catalog-sidebar { width: 100%; }
    .grid-3x3, .item-grid-3, .grid-4x4 { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    
    .catalog-sidebar { padding: 0; overflow: hidden; }
    .filter-toggle-btn { display: flex; justify-content: space-between; padding: 15px 20px; width: 100%; background: #fff; border: 2px solid var(--color-main); color: var(--color-main); font-weight: bold; cursor: pointer; border-radius: 8px; }
    .catalog-sidebar > *:not(.filter-toggle-btn) { display: none; padding: 0 20px 20px; }
    .catalog-sidebar.is-open > *:not(.filter-toggle-btn) { display: block; margin-top: 15px; }
    
    .feature-item, .feature-item.reverse { flex-direction: column; gap: 20px; }
    .concept-features { gap: 50px; }
    .lead-title { font-size: 1.3rem; }
    .single-item-wrapper, .single-article { padding: 20px; }
    .single-item-title { font-size: 1.5rem; }
    .single-title { font-size: 1.4rem; }
}

@media screen and (max-width: 768px) {
    .global-nav, .header-qr { display: none; }
    .hamburger { display: block; }
    .footer-inner { flex-direction: column; }
    .footer-bottom { margin-top: 40px; }
}

@media screen and (max-width: 500px) {
    .catalog-collage { grid-template-columns: repeat(2, 1fr); }
    .item-arch-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ===================================================
 * カタログボタンの余白調整（スマホ対応）
 * =================================================== */
.section-catalog .btn-wrap {
    margin-top: 40px !important;
}

/* ===================================================
 * 追従するボタン (Floating Buttons)
 * =================================================== */
.floating-contact { 
    position: fixed; 
    right: 20px; 
    bottom: 20px; 
    display: flex; 
    flex-direction: column; 
    align-items: flex-end; 
    gap: 15px; 
    z-index: 9999; 
}
.float-sns-group { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
}
.float-btn-sns { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 45px; 
    height: 45px; 
    border-radius: 50%; 
    color: #fff; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); 
    transition: transform 0.3s; 
}
.float-btn-sns:hover { 
    transform: translateY(-3px); 
    color: #fff; 
}
.float-btn-sns svg { 
    width: 20px; 
    height: 20px; 
    fill: currentColor;
}
.float-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.float-line { background-color: #06C755; }
.float-yt { background-color: #FF0000; }
.float-tt { background-color: #000000; }
.float-x  { background-color: #000000; }

.float-main-group { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}
.float-btn { 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    width: 65px; 
    height: 65px; 
    border-radius: 50%; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); 
    transition: transform 0.3s; 
    text-decoration: none; 
}
.float-btn:hover { 
    transform: translateY(-5px); 
}
.float-phone { 
    background-color: var(--color-main); 
    color: var(--color-white); 
}
.float-mail { 
    background-color: var(--color-text); 
    color: var(--color-white); 
}
.float-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}
.float-text { 
    font-size: 0.75rem; 
    margin-top: 3px; 
    font-family: serif; 
}

/* --- スマホ表示時の下部固定バー化 --- */
@media screen and (max-width: 768px) {
    .floating-contact { 
        right: 0; 
        bottom: 0; 
        left: 0; 
        background: transparent !important; 
        pointer-events: none; 
    }
    .float-sns-group { 
        margin-right: 15px; 
        margin-bottom: 15px;
        pointer-events: auto; 
    }
    .float-main-group { 
        flex-direction: row; 
        width: 100%; 
        background-color: var(--color-white); 
        pointer-events: auto; 
        padding-bottom: env(safe-area-inset-bottom); 
        gap: 0; 
    }
    .float-btn { 
        width: 50%; 
        height: 70px; 
        border-radius: 0; 
        flex-direction: row; 
        gap: 10px; 
        box-shadow: none; 
    }
    .float-text { 
        font-size: 1.05rem; 
        margin-top: 0; 
    }
    body { 
        padding-bottom: 80px; 
    } 
}

/* ===================================================
 * ハンバーガーボタン アニメーション（開いた時の × 印）
 * =================================================== */
.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}