@charset "UTF-8";

/* =========================================
   1. 基本設定・変数
   ========================================= */
:root {
    --main-color: #9d3d56; /* ボルドー */
    --accent-color: #d4a5b3; /* 薄いピンク */
    --bg-beige: #f4f0ea; /* ベージュ背景 */
    --bg-gray: #f5f5f5; /* グレー背景 */
    --text-color: #333333;
    --font-en: 'Calibri', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
    --max-width: 1200px;
}

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

body {
    font-family: var(--font-jp);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a:hover { opacity: 0.7; }

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
    object-fit: cover;
}

ul { list-style: none; }

/* =========================================
   2. 共通レイアウト・パーツ
   ========================================= */
.inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 80px 0; }

/* 背景色ユーティリティ */
.section-gray, .bg-gray, .gray-wrapper { background-color: var(--bg-gray); }
.section-beige, .bg-beige, .beige-wrapper { background-color: var(--bg-beige); }
.bg-white, .white-wrapper { background-color: #fff; }

/* ラッパー設定（下層ページ用） */
.gray-wrapper, .white-wrapper, .beige-wrapper {
    padding-top: 40px;
    padding-bottom: 80px;
    min-height: 60vh;
}

/* タイトル */
.section-title {
    text-align: center;
    font-family: var(--font-en);
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

.section-title span {
    display: block;
    font-size: 0.9rem;
    font-family: var(--font-jp);
    margin-top: 5px;
    font-weight: normal;
    color: #666;
}

/* ボタン */
.btn-area {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn {
    display: inline-block;
    border: 1px solid #333;
    padding: 10px 60px;
    font-family: var(--font-en);
    font-weight: bold;
    letter-spacing: 0.1em;
    transition: all 0.3s;
    cursor: pointer;
}

.view-all-btn:hover {
    background: #333;
    color: #fff;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.page-num {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
    background: #fff;
    font-family: var(--font-en);
    transition: 0.3s;
    cursor: pointer;
}

.page-num.active, .page-num:hover {
    background: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
}

/* =========================================
   3. ヘッダー
   ========================================= */
.header {
    height: 75px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
    border-bottom: 1px solid #eee;
}

.header-inner {
    width: 100%;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ロゴ画像設定 */
.header-logo-img {
    height: 30px;
    width: auto;
    display: block;
}

/* PCナビゲーション */
.pc-nav ul {
    display: flex;
    gap: 25px;
    font-family: var(--font-en);
    font-weight: bold;
    font-size: 0.9rem;
}

.pc-nav .btn-online a { color: var(--main-color); }

/* ハンバーガーメニューボタン */
.hamburger {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 200;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    position: absolute;
    transition: 0.3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) { transform: rotate(45deg); top: 9px; background: #fff; }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg); bottom: 9px; background: #fff; }

/* SPナビゲーションメニュー */
.sp-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--main-color);
    color: #fff;
    z-index: 150;
    padding-top: 80px;
    text-align: center;
}

.sp-nav.active { display: block; }

.sp-nav ul li {
    margin-bottom: 20px;
    font-family: var(--font-en);
    font-size: 1.2rem;
}

.sp-sns { margin-top: 40px; }
.sp-sns i { font-size: 2rem; margin: 0 10px; }

.sp-banners {
    margin-top: 30px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.sp-banner-img {
    display: block;
    width: 100%;
    max-width: 280px;
}

.sp-banner-img img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    aspect-ratio: 7 / 2;
}

/* =========================================
   4. フッター
   ========================================= */
.footer {
    background: #973654; 
    border-top: none; 
    color: #fff;
    padding: 60px 0 20px;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; 
    padding: 0 20px;
    flex-wrap: wrap;
    align-items: flex-start; 
}

.footer-col { margin-bottom: 20px; }


/* フッターロゴ画像 */
.footer-logo-img {
    height: 180px;
    width: auto;
    display: block;
    margin-bottom: 15px;
}

.footer-sns-block {
  text-align: center;
}
.footer-heading {
    font-family: var(--font-en);
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.sns-icons a {
    font-size: 2.5rem;
    margin: 0 10px;
    display: inline-block;
}

.footer-banners-block {
    display: flex;
    flex-direction: column; 
    gap: 15px;
    align-items: flex-end; 
}

.footer-banner {
    display: block;
    width: 100%; 
    max-width: 280px; 
}

.footer-banner img {
    aspect-ratio: 7 / 2; 
    width: 100%;
    height: auto;
    border-radius: 4px;
    transition: transform 0.3s;
    background: #fff; 
}

.footer-banner:hover img { transform: scale(1.05); }

.copyright {
    text-align: center;
    margin-top: 40px;
    font-size: 0.8rem;
    font-family: var(--font-en);
    opacity: 0.8;
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 20px;
}

/* =========================================
   5. メインビジュアル (Slider)
   ========================================= */
.main-visual {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 40px;
}

.slider-container-fluid { width: 100%; }

.slider-wrapper {
    display: flex;
    will-change: transform;
}

.slide-item {
    width: 1200px; 
    flex-shrink: 0;
    margin: 0 10px;
}

.slide-item img {
    aspect-ratio: 8 / 5;
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active { background: var(--main-color); }

/* =========================================
   6. 商品・カテゴリ
   ========================================= */
/* カテゴリーボタン */
.category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.cat-btn {
    background: #fff;
    border: 1px solid #ccc;
    width: 180px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-family: var(--font-jp);
    transition: 0.3s;
    font-size: 0.9rem;
}

.cat-btn:hover, .cat-btn.active {
    background: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
}

.category-heading {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

/* 商品表示エリア（タブ切り替え用） */
.product-area {
    display: none;
    animation: fadeIn 0.5s ease;
}
.product-area.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 商品グリッド */
.product-grid, .sub-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-item {
     display: block;
}

.product-item .img-box img { aspect-ratio: 1 / 1; }

.product-item .txt-box {
    padding: 15px;
}

.product-item .name {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.product-item .price {
    font-weight: bold;
    font-family: var(--font-en);
}

/* =========================================
   7. ニュース・コラム
   ========================================= */
/* グリッドレイアウト */
.news-grid { /* トップページ用: 2列 */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.news-page-grid, .column-grid { /* 一覧ページ・関連記事用: 3列 */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* 記事アイテム共通 */
.news-item .img-box img,
.column-item .img-box img {
    aspect-ratio: 8 / 5;
    object-fit: cover;
}

.news-item .txt-box,
 {
    padding-top: 15px;
}

.news-item .date {
    font-family: var(--font-en);
    color: #888;
    font-size: 0.85rem;
}

.news-item .title,
.column-item .title {
    font-weight: 500;
    margin-top: 5px;
}

/* コラムカテゴリータブ（トップページ用） */
.column-tabs {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
    font-family: var(--font-jp);
}

.tab-btn.active, .tab-btn:hover {
    border-bottom-color: var(--main-color);
    color: var(--main-color);
}

.column-content {
    display: none;
    animation: fadeIn 0.5s ease;
}
.column-content.active { display: block; }

/* コラム一覧ページ用カード */
.column-item {
    display: block;
    padding-bottom: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.column-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* =========================================
   8. 動画・Instagram・Information・カレンダー
   ========================================= */

/* 動画 (横スクロール) */
.movie-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--main-color) #eee;
}

.movie-card {
    flex: 0 0 auto;
    width: 200px;
    padding-bottom: 10px;
}

.movie-card .img-box img {
    aspect-ratio: 9 / 16;
    border-radius: 8px;
    width: 100%;
}

.movie-card .txt-box {
    margin-top: 10px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Instagram */
.insta-layout {
    display: grid;
    grid-template-columns: 2fr 1fr; 
    gap: 10px;
}

.insta-feed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.insta-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}

/* リールエリア */
.insta-reel {
    position: relative;
    height: 100%; /* PCでは高さを親に合わせる */
}

.insta-reel .reel-link, 
.insta-reel img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2rem;
    pointer-events: none;
}

/* Information List */
.info-list {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #ccc;
}

.info-list.scroll-active {
    max-height: 300px;
    overflow-y: auto;
    border-bottom: 1px solid #ccc;
    scrollbar-width: thin;
    scrollbar-color: var(--main-color) #eee;
}

.info-list.scroll-active::-webkit-scrollbar { width: 8px; }
.info-list.scroll-active::-webkit-scrollbar-track { background: #eee; }
.info-list.scroll-active::-webkit-scrollbar-thumb { background: var(--main-color); border-radius: 4px; }

.info-list li {
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.info-list .date {
    font-family: var(--font-en);
    color: var(--main-color);
    font-weight: bold;
}

/* Calendar */
.calendar-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.business-hours {
    background: #fff;
    border: 1px solid var(--main-color); 
    padding: 10px 20px;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 6px;
    display: flex; 
    justify-content: center;
    align-items: center;
}

.business-hours .hours-title { font-weight: bold; color: var(--main-color); font-size: 1rem; margin-bottom: 2px; }
.business-hours .hours-time { font-size: 1.1rem; font-weight: bold; }
.business-hours .small-note { font-size: 0.75rem; color: #888; margin-left: 5px; }

.calendar-container {
    background: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-header h3 { font-family: var(--font-en); font-size: 1.5rem; }

.cal-btn {
    background: #eee;
    border: none;
    padding: 5px 15px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
}
.cal-btn:hover { background: #ddd; }

.calendar-legend {
    margin-bottom: 10px;
    text-align: right;
    font-size: 0.8rem;
}
.legend-item { margin-left: 15px; }
.holiday { color: #e74c3c; }
.event-legend { color: #888; font-weight: bold; }
.manager-day { color: #333; }
.manager-day i { color: var(--main-color); margin-right: 3px; }

/* カレンダー本体 */
.calendar-body { width: 100%; }
.cal-row { display: flex; width: 100%; }

.cal-cell {
    flex: 1;
    border: 1px solid #eee;
    min-height: 100px;
    padding: 0;
    position: relative;
    font-size: 0.9rem;
    background: #fff;
    min-width: 0; 
}

.cal-cell.today { 
    background-color: #fff9e5; /* 薄い黄色で休日と差別化 */
    border: 2px solid var(--main-color); /* 枠線で強調 */
    font-weight: bold;
    z-index: 1; /* 枠線が重なった時に上に来るように */
}

.cal-header .cal-cell {
    min-height: auto;
    text-align: center;
    font-weight: bold;
    background: #f9f9f9;
    font-family: var(--font-en);
    padding: 10px 0;
}

.cal-cell.sun .date-num { color: #e74c3c; }
.cal-cell.sat .date-num { color: #3498db; }
.cal-cell.holiday .date-num { color: #e74c3c; } 
.cal-cell.holiday { background: #fff0f0; } 
.cal-cell.empty { background: #fcfcfc; }


.date-header { display: flex; justify-content: space-between; padding: 5px; }
.date-num { font-size: 0.85rem; z-index: 2; }
.manager-mark { font-size: 0.8rem; color: var(--main-color); }

.cell-events {
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* イベントバー */
.event-bar {
    height: 18px;
    font-size: 0.7rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 18px;
    padding: 0 5px;
    position: relative;
    display: block; 
    text-decoration: none; 
    cursor: pointer; 
}
.event-bar:hover { opacity: 0.85; }
.event-bar.color-green { background-color: #65c286; }
.event-bar.color-blue { background-color: #65a0c2; }
.event-bar.color-orange { background-color: #ebae54; }
.event-bar.color-pink { background-color: #d4a5b3; }
.event-bar.color-red { background-color:  #973654; }
.event-bar.is-start { border-top-left-radius: 4px; border-bottom-left-radius: 4px; margin-left: 2px; }
.event-bar.is-end { border-top-right-radius: 4px; border-bottom-right-radius: 4px; margin-right: 2px; }
.event-bar.is-middle { margin-left: -1px; margin-right: -1px; border-radius: 0; width: calc(100% + 2px); z-index: 1; }

/* =========================================
   9. 下層ページ共通
   ========================================= */
.page-header {
    padding: 50px 0;
    text-align: center;
}

/* 背景色クラス */
.bg-beige { background-color: var(--bg-beige); }
.bg-white { background-color: #fff; }
.bg-gray { background-color: var(--bg-gray); }

.page-title {
    font-family: var(--font-en);
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 5px;
    letter-spacing: 0.05em;
}

.page-header p {
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb {
    max-width: var(--max-width);
    margin: 0 auto 40px;
    padding: 0 20px;
    font-size: 0.85rem;
    color: #888;
    font-family: var(--font-en);
}
.breadcrumb a { color: #888; }
.breadcrumb i { margin: 0 10px; font-size: 0.7rem; }

/* Product Page Styles */
.product-page-cats { margin-bottom: 20px; }

.subcategory-tree-container {
    max-width: var(--max-width);
    margin: 0 auto 40px;
    min-height: 30px; 
}

.tree-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background: #fff;
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.tree-parent {
    font-weight: bold;
    font-size: 1.1rem;
    margin-right: 20px;
    position: relative;
    color: var(--text-color);
}

.tree-parent::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 14px;
    background: #ccc;
    position: absolute;
    right: -10px; 
    top: 50%;
    transform: translateY(-50%);
}

.tree-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 0; 
}
.tree-list li { display: flex; align-items: center; }
.tree-list li::after { content: "|"; color: #ccc; margin: 0 10px; font-size: 0.8rem; }
.tree-list li:last-child::after { content: none; }

.tree-item {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-family: var(--font-jp);
    color: #555;
    padding: 0;
    transition: 0.2s;
}
.tree-item:hover { color: var(--main-color); }
.tree-item.active {
    font-weight: bold;
    color: var(--text-color);
    border-bottom: 2px solid var(--main-color); 
}

.main-content.full-width { width: 100%; }

.product-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.result-count { font-weight: bold; font-size: 1rem; }
.sort-select { padding: 5px 10px; border: 1px solid #ccc; font-size: 0.9rem; }

/* Article Page Styles */
.article-container {
    margin: 0 auto;
    background: #fff; 
}
.beige-wrapper .article-container { background-color: transparent; }

.article-header { margin-bottom: 40px; }
.article-date { display: inline-block; color: #888; font-family: var(--font-en); font-size: 0.9rem; margin-bottom: 10px; }
.article-title { font-size: 1.8rem; font-weight: bold; line-height: 1.4; margin-bottom: 20px; }

.article-eye-catch { margin-bottom: 50px; width: 100%; }
.article-eye-catch img { width: 100%; height: auto; border-radius: 4px; }

.article-body { margin-bottom: 60px; font-size: 1rem; line-height: 1.8; }
.article-body h3 { font-size: 1.4rem; border-bottom: 2px solid var(--main-color); padding-bottom: 10px; margin-top: 40px; margin-bottom: 20px; }
.article-body h4{ font-size: 1.2rem; border-left: 4px solid var(--main-color); padding-left: 10px;  margin-bottom: 20px; }
.article-body p { margin-bottom: 20px; }
.article-body img { max-width: 100%; height: auto; margin: 30px 0; border-radius: 4px; }

/* 記事内の商品画像はリセット */
.article-body .product-item img { margin: 0; border-radius: 0; aspect-ratio: 1 / 1; width: 100%; }

.article-images-row {
    display: flex;
    gap: 20px;
    margin: 40px 0;
}
.article-images-row .img-box {
    width: 50%;
}
.article-images-row .img-box img {
    width: 100%;
    height: auto;
    margin: 0;
}

/* --- 修正: floatを使った2カラムレイアウト（テキスト回り込み対応） --- */
.article-block-2col {
    display: block; /* Flexを解除 */
    overflow: hidden; /* clearfix */
    margin: 40px 0;
}

.article-block-2col .img-box {
    float: left; /* 左に寄せる */
    width: 50%;
    margin-right: 30px; /* 右側に余白 */
    margin-bottom: 20px; /* 下側に余白 */
}

.article-block-2col .img-box img {
    width: 100%;
    margin: 0;
    display: block;
}

.article-block-2col .txt-box {
    display: block; /* Flex解除 */
    width: auto; /* 幅指定解除 */
}

.article-pagination {
    border-top: 1px solid #eee;
    padding-top: 40px;
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.article-pagination .prev, .article-pagination .next { width: 30%; }
.article-pagination .prev a, .article-pagination .next a { display: flex; align-items: center; gap: 10px; color: #666; font-size: 0.9rem; transition: 0.3s; }
.article-pagination .prev a:hover, .article-pagination .next a:hover { color: var(--main-color); }
.article-pagination .next a { justify-content: flex-end; }
.article-pagination .back-list { width: 30%; text-align: center; }
.article-pagination .back-btn { display: inline-block; padding: 10px 30px; border: 1px solid #ccc; color: #333; font-family: var(--font-en); font-size: 0.9rem; transition: 0.3s; }
.article-pagination .back-btn:hover { background: #333; color: #fff; border-color: #333; }

/* 関連記事エリア */
.related-news-section { margin-top: 80px; border-top: 1px solid #eee; padding-top: 60px; }
.related-news-title { font-size: 1.5rem; font-weight: bold; margin-bottom: 30px; text-align: center; font-family: var(--font-en); }

/* =========================================
   10. ワークショップ告知 (Workshop) - 新規追加
   ========================================= */

/* 開催概要ボックス */
.workshop-info-box {
    background-color: #f9f9f9;
    padding: 1px 30px 30px 30px;
    border-radius: 8px;
}

.workshop-info-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: 20px;
}

.workshop-dl {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #ddd;
}

.workshop-dl dt {
    width: 20%;
    padding: 15px;
    background: #fff;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
}

.workshop-dl dd {
    width: 80%;
    padding: 15px;
    border-bottom: 1px solid #ddd;
    margin: 0;
}

/* 申し込みエリア */
.workshop-apply-area {
    text-align: center;
    margin: 50px 0;
    padding: 40px 30px; /* 余白少し広めに */
    background: var(--bg-beige);
    border-radius: 8px;
}

/* ボタンを横並びにするラッパー */
.workshop-apply-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* 共通ボタンスタイル */
.apply-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 300px; /* 固定幅で見栄えを整える */
    max-width: 100%;
    padding: 15px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.apply-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    opacity: 0.9;
    color: #fff;
}

/* LINE予約ボタン */
.apply-btn.line {
    background-color: #06c755; /* LINE公式カラー */
}

/* Web予約ボタン */
.apply-btn.web {
    background-color: var(--main-color);
}

/* =========================================
   11. ABOUTページ
   ========================================= */
.about-intro { max-width: 800px; margin: 60px auto; text-align: justify; line-height: 2; font-size: 0.95rem; }

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}
.about-grid-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background-color: #eee; }

.company-section { display: flex; gap: 50px; align-items: center; margin-bottom: 80px; }
.company-img { width: 50%; }
.company-img img { width: 100%; height: auto; border-radius: 4px; }
.company-txt { width: 50%; }
.company-txt h3 { font-size: 1.6rem; margin-bottom: 20px; font-weight: bold; border-bottom: none; }
.company-txt p { margin-bottom: 20px; line-height: 1.8; text-align: justify; }

.about-bottom-area { text-align: center; margin-bottom: 60px; padding-top: 60px; border-top: 1px solid #eee; }
.about-logo-box { margin-bottom: 30px; }
.about-logo-box img { max-width: 250px; height: auto; margin-bottom: 10px; }
.about-logo-box p { font-size: 0.8rem; color: #666; font-family: var(--font-en); }
.about-bottom-banner img { max-width: 600px; width: 100%; height: auto; }

/* =========================================
   12. ACCESSページ
   ========================================= */
.access-map {
    width: 100%;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.access-map iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.shop-info-table { width: 100%; border-collapse: collapse; margin-bottom: 60px; }
.shop-info-table th, .shop-info-table td { padding: 20px; border-bottom: 1px solid #eee; text-align: left; }
.shop-info-table th { width: 30%; font-weight: bold; color: var(--main-color); vertical-align: top; }
.shop-info-table td { width: 70%; }

.access-guide h3 { font-size: 1.4rem; margin-bottom: 20px; padding-left: 15px; border-left: 5px solid var(--main-color); }
.access-guide p { margin-bottom: 30px; line-height: 1.8; }



/* =========================================
   13. レスポンシブ (タブレット・スマホ) ★重要★
   ========================================= */
@media (max-width: 768px) {
    /* Header */
    .header { padding: 0; }
    .pc-nav { display: none; }
    .hamburger { display: block; }
    .header-inner { padding: 0 15px; }

    .section { padding: 50px 0; }

    .section-title {font-size: 1.4rem;}

    /* Slide */
    .slide-item { width: 100%; margin: 0; }
    
    /* Grid Layouts (2列統一: Top, Product, News, Column, About) */
    .product-grid, .column-grid, .news-grid, .news-page-grid, .sub-page-grid, .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .news-item .title{
        font-size: 0.8rem;
    }
    
    .column-item .title {
        font-size: 0.8rem;
    }

    /* Buttons */
    .cat-btn { width: 45%; font-size: 0.8rem; padding: 8px; }

    /* Info */
    .info-list li { flex-direction: column; gap: 5px; }

    /* Instagram */
    .insta-layout { grid-template-columns: 1fr; }
    
    

    /* Footer */
    .footer-inner { flex-direction: column; align-items: center; gap: 30px; }
    .footer-address, .footer-sns-block, .footer-banners-block { width: 100%; text-align: center; align-items: center; }
    .footer-banners-block { align-items: center; } 
    /* フッターロゴ中央寄せ */
    .footer-logo-img { margin-left: auto; margin-right: auto; }

    /* Product Page */
    /* カテゴリリストを横スクロールに変更 */
    .category-list, .product-page-cats {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 10px;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .category-list::-webkit-scrollbar,
    .product-page-cats::-webkit-scrollbar { display: none; }

    .cat-btn, .product-page-cats .cat-btn {
        width: auto;
        min-width: 120px;
        flex: 0 0 auto;
        font-size: 0.8rem;
        padding: 8px 15px;
        white-space: nowrap;
    }

    .tree-wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
    .tree-parent::after { display: none; }
    .tree-list { flex-wrap: wrap; gap: 10px 0; }
    .tree-list li::after { margin: 0 8px; }

    /* Article Page */
    .article-title { font-size: 1.4rem; }
    /* --- 修正: 2カラムレイアウト（スマホ時）--- */
    .article-block-2col .img-box {
        float: none; /* フロート解除 */
        width: 100%; /* 幅いっぱい */
        margin-right: 0;
        margin-bottom: 20px;
    }
    /* Workshop Page (SP) */
    .workshop-info-box { padding: 20px; }
    .workshop-dl dt, .workshop-dl dd { width: 100%; display: block; border-bottom: none; }
    .workshop-dl dt { background: #eee; padding: 10px; border-top: 1px solid #ddd; }
    .workshop-dl dd { padding: 10px 10px 20px; }
    
    /* ボタンを縦並びにする */
    .workshop-apply-btns {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .apply-btn {
        width: 100%;
    }

    /* Calendar */
    .calendar-container { padding: 10px; }
    .cal-cell { min-height: 85px; }
    .date-num { font-size: 0.75rem; padding: 2px 4px; }
    .manager-mark { font-size: 0.7rem; }
    .event-bar { height: 14px; line-height: 14px; font-size: 0.65rem; padding: 0 2px; margin-bottom: 1px; }

    /* About Page */
    .about-intro { padding: 0; text-align: left; }
    .company-section { flex-direction: column; gap: 30px; }
    .company-img, .company-txt { width: 100%; }
    .company-txt h3 { font-size: 1.4rem; text-align: center; }

    /* Access Page */
    .access-map { margin-bottom: 40px; }
    .shop-info-table, .shop-info-table tbody, .shop-info-table tr, .shop-info-table th, .shop-info-table td {
        display: block; width: 100%;
    }
    .shop-info-table th { padding-bottom: 5px; border-bottom: none; font-size: 0.9rem; }
    .shop-info-table td { padding-top: 0; padding-bottom: 20px; border-bottom: 1px solid #eee; }
}
/* =========================================
   ランキングページ (Ranking) 用スタイル
   ========================================= */

   .ranking-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--bg-beige);
}
.ranking-header h3 {
    font-size: 1.5rem;
    color: var(--main-color);
    font-weight: bold;
}

/* --- 総合ランキング --- */
.ranking-top-area {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
}

.ranking-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
    position: relative;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex; /* 横並びレイアウト */
    gap: 30px;
    align-items: center;
}

/* 順位バッジ */
.rank-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-en);
    font-weight: bold;
    font-size: 1.4rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    z-index: 1;
}

/* 1位〜3位の色分け */
.rank-1 .rank-badge { background: #e6b422; border: 3px solid #fff; } /* 金 */
.rank-2 .rank-badge { background: #a0a0a0; border: 3px solid #fff; } /* 銀 */
.rank-3 .rank-badge { background: #b87333; border: 3px solid #fff; } /* 銅 */

/* 4位以下の色分け（追加） */
.rank-other .rank-badge { 
    background: #333; 
    border: 3px solid #fff; 
    width: 50px; 
    height: 50px; 
    font-size: 1.1rem;
    top: -15px;
    left: -15px;
}

/* 1位だけ少し豪華に */
.ranking-card.rank-1 {
    border: 2px solid #e6b422;
    background: #fffdf5;
}

.ranking-img { width: 40%; flex-shrink: 0; }
.ranking-img img { width: 100%; border-radius: 4px; aspect-ratio: 1/1; object-fit: cover;}
.ranking-info { width: 65%; }

.ranking-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}
.ranking-price {
    color: var(--main-color);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: block;
}
.ranking-desc {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* --- 部門別ランキング --- */
.dept-section { margin-bottom: 80px; }
.dept-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 5px solid var(--main-color);
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dept-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    background: #fff;
}

.dept-card .rank-badge {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    top: -10px;
    left: -10px;
}
.dept-card .ranking-name { font-size: 1rem; margin-top: 15px; display: block;}
.dept-card .ranking-price { font-size: 0.9rem; margin-bottom: 10px; }
.dept-card .ranking-desc {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* SP対応 */
@media (max-width: 768px) {
    .ranking-card { flex-direction: column; gap: 15px; padding: 20px; }
    .ranking-img, .ranking-info { width: 100%; }
    
    .dept-grid { grid-template-columns: 1fr; } /* 部門別も縦並びに */
}