/* --- Base Styles --- */
:root {
    --main-red: #B40003;
    --accent-gold: #DBAF46;
    --dark-text: #333;
    --light-gray: #f8f9fa;
}

body {
    font-family: 'Noto Serif JP', serif;
    /* 'serif' を予備のフォントとして指定 */
    color: var(--dark-text);
    background-color: #fff;
    word-break: break-all;
    background-image: url(./images/main-background_img.jpg);
    background-repeat: repeat-y;
    background-size: 100%;
}

.main-color {
    color: var(--main-red);
}

.btn-top {
    display: block;
    background-color: var(--main-red);
    color: #fff;
    font-weight: 800;
    border-radius: 10px;
    width: 80%;
    max-width: 350px;
    /* 右側に矢印用のスペースを確保するためパディングを調整 */
    padding: 20px 50px 20px 20px;
    position: relative;
    /* 疑似要素を配置するための基準 */
    text-align: left;
    /* テキストを左揃えに */
    text-decoration: none;
    /* aタグのデフォルト下線を削除 */
    transition: background-color 0.3s ease;
    /* ホバー時の背景色変化を滑らかに */
    overflow: hidden;
    /* はみ出した要素を隠す */
    box-shadow: 0 4px 15px rgba(180, 0, 3, 0.2);
}

.btn-top:hover {
    background-color: #9a0002;
    /* ホバー時の背景色を少し暗くする */
    color: #fff;
}

/* 矢印を疑似要素で作成 */
.btn-top::after {
    content: '▶';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* 動きを滑らかに */
}

/* ホバー時に矢印を右に動かす */
.btn-top:hover::after {
    transform: translateY(-50%) translateX(8px);
}


@media screen and (max-width: 575.98px) {
    .btn-top {
        margin: 0 auto;
    }
}

/* =================================================================
   Single Post Styles (Common & Specific)
   ================================================================= */

/* --- Store Details Page (single-store.php) --- */

/* 店舗ヘッダーエリア */
.store-header h1 {
    color: var(--main-red);
    font-weight: 700;
    border-bottom: 3px solid var(--accent-gold);
    padding-bottom: 0.75rem;
    display: inline-block;
    margin-bottom: 30px;
}

/* 店舗エリアのテキスト */
.store-header .text-muted {
    color: #6c757d !important;
}

/* コンテンツエリア */
.store-single-content .lead {
    font-size: 1.25rem;
    color: #555;
    font-weight: 600;
    margin-top: 20px;
}

.store-single-content hr {
    border-top: 2px solid var(--accent-gold);
    opacity: 1;
    width: 100px;
    margin-left: 0;
}

/* WYSIWYGエディタからのコンテンツを想定したスタイル */
.store-details-content {
    line-height: 1.8;
}

.store-details-content h2,
.store-details-content h3 {
    color: var(--main-red);
    font-weight: 500;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-left: 5px solid var(--main-red);
    padding-left: 1rem;
}

.store-details-content a {
    color: var(--main-red);
    text-decoration: underline;
    font-weight: 500;
}

.store-details-content a:hover {
    color: #8c0002;
}

/* 「一覧に戻る」ボタン */
.btn-back-to-list {
    background-color: var(--main-red);
    color: #fff;
    border: 2px solid var(--main-red);
    padding: 0.75rem 2.5rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    /* aタグの下線を消す */
    display: inline-block;
    /* aタグにpaddingなどを効かせる */
}

.btn-back-to-list:hover {
    background-color: #fff;
    color: var(--main-red);
}


/* --- News/Blog Post Page (single.php) --- */

/* 記事ヘッダーエリア */
.post-header {
    background-image: url(./images/background-img.jpg);
    background-size: cover;
    background-position: center;
}

.post-header h1 {
    color: var(--light-gray);
    font-weight: 700;
}

.post-meta {
    font-size: 0.9rem;
    color: #fff;
}

.post-meta a {
    color: #fff;
}



.post-meta .fa-regular {
    color: var(--light-gray);
}

.archive-card-button {
    background-color: var(--main-red);
    width: 100%;
        color: #fff;
        transition: 0.5s;
}

.archive-card-button:hover {
    background-color: var(--accent-gold);
}

/* 記事本文 */
.single-post-content .post-content {
    line-height: 1.9;
    font-size: 1.05rem;
    background-color: #fff;
    padding: 30px;
    border-radius: 15px;
}

.single-post-content .post-content h2,
.single-post-content .post-content h3 {
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-gray);
}

.single-post-content .post-content a {
    color: var(--main-red);
    text-decoration: none;
    border-bottom: 1px dotted var(--main-red);
}

.single-post-content .post-content a:hover {
    color: #8c0002;
    border-bottom: 1px solid #8c0002;
}

.single-post-content .post-content blockquote {
    border-left: 4px solid var(--accent-gold);
    padding: 0.5rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
    background-color: var(--light-gray);
}

.wp-block-image img {
    margin-bottom: 10px;
    width: 100% !important;
}

/* タグ */
.post-tags a {
    display: inline-block;
    background-color: var(--light-gray);
    color: var(--dark-text);
    padding: 0.3rem 0.8rem;
    margin: 0.2rem;
    border-radius: 4px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background-color 0.3s;
}

.post-tags a:hover {
    background-color: var(--accent-gold);
    color: #fff;
}

/* 前後の記事へのナビゲーション */
.post-navigation a {
    color: var(--main-red);
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.post-navigation a:hover {
    background-color: var(--light-gray);
    border-color: #ccc;
}

/* --- Header --- */
.header {
    border-bottom: 1px solid #eee;
    z-index: 1000;
}

.navbar {
    padding: 0.5rem 0;
}

.navbar-brand img {
    height: 40px;
}

/* Desktop Navigation */
.desktop-nav .navbar-nav {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-nav .nav-item {
    margin: 0;
}

.desktop-nav .nav-link {
    color: var(--dark-text);
    font-weight: 500;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.desktop-nav .nav-link.active,
.desktop-nav .nav-link:hover {
    color: var(--main-red);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    border: none;
    background: transparent;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--dark-text);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hamburger-line:nth-child(1) {
    top: 0px;
}

.hamburger-line:nth-child(2) {
    top: 10px;
}

.hamburger-line:nth-child(3) {
    top: 20px;
}

/* Active state for hamburger */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
    background: #fff;
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
    background: #fff;
}

/* Mobile Overlay Menu */
.mobile-overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--main-red) 0%, #8b0002 100%);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: scale(0.8);
}

.mobile-overlay-menu.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.overlay-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-btn:hover {
    transform: rotate(90deg);
}

.overlay-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.overlay-nav-item {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mobile-overlay-menu.active .overlay-nav-item {
    opacity: 1;
    transform: translateY(0);
}

.mobile-overlay-menu.active .overlay-nav-item:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-overlay-menu.active .overlay-nav-item:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-overlay-menu.active .overlay-nav-item:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-overlay-menu.active .overlay-nav-item:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-overlay-menu.active .overlay-nav-item:nth-child(5) {
    transition-delay: 0.5s;
}

.overlay-nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 1rem 2rem;
    display: block;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.overlay-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
}

.overlay-nav-link:hover::before,
.overlay-nav-link.active::before {
    left: 0;
}

.overlay-nav-link:hover,
.overlay-nav-link.active {
    color: var(--accent-gold);
    transform: translateX(10px);
}

/* トップページ */

/* Hero Area
-------------------------------------------------- */

.hero-section {
    /* ビューポートの高さの85% */
    min-height: 300px;
    background-image: url(./images/background-img.jpg);
    background-size: cover;
    background-position: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

.hero {
    position: relative;
    /* 背景色 */
    overflow: hidden;
    /* はみ出した部分を非表示 */
    /* Flexboxで子要素(media-container)を中央に配置 */
    display: flex;
    justify-content: center;
    align-items: center;


}

/* 枠と動画(仮)のコンテナ */
.hero-media-container {
    position: relative;
    width: 95%;
}

/* 動画(仮)のプレースホルダー */
.hero .hero-video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* コンテナ全体をカバー */
    z-index: 1;
}

/* 装飾用の枠 */
.hero .hero-waku {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* アスペクト比を保ちつつコンテナに収める */
    z-index: 2;
    pointer-events: none;
    /* クリックイベントを透過させる */
}

.hero-img {
    aspect-ratio: 16 / 6.37;
    object-fit: cover;
}

/* ロゴ */
.hero .hero-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    max-width: 450px;
    /* ロゴが大きくなりすぎないように最大幅を指定 */
    height: auto;
    z-index: 3;
    filter: brightness(0) invert(1);
}

.mini-info-aria {
    background: #fff;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    margin: 30px auto;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    padding: 20px 20px;
}

.mini-info-aria dl {
    margin-bottom: 0;
    font-size: 1rem;
}

.mini-info-aria dt {
    color: var(--main-red);
    font-weight: 800;
}

.mini-info-aria dd {
    margin-bottom: 0;
}

@media screen and (min-width: 768px) {

    .hero-section {
        /* ビューポートの高さの85% */
        min-height: 200px;
        background-image: url(./images/background-img.jpg);
        background-size: cover;
        background-position: center;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .mini-info-aria dl {
        display: flex;
        align-items: center;
        margin-bottom: 0;
        font-size: 1.2rem;
    }

    .mini-info-aria dt {
        border-right: 2px solid var(--main-red);
        padding-right: 10px;
        margin-right: 10px;
    }
}


/* section01 */

.section01 {
    padding: 100px 0;
    background-image: url(./images/main-img.png);
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 60%;
}

.deco-01 {
    max-width: 200px;
    margin: 20px 0;
}

.read-catch01 {
    font-size: 1rem;
    color: var(--dark-text);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
}

.read-catch02 {
    font-size: 1.5rem;
    color: var(--main-red);
    margin: 20px 0;
    font-weight: 800;
    text-align: center;
}



.read-catch01 span {
    font-size: 1.5em;
}

@media screen and (min-width: 768px) {

    .section01 {
        padding: 50px 0;
        background-size: 50%;
    }

    .read-catch01 {
        font-size: 2rem;
        color: var(--dark-text);
        font-weight: 800;
        line-height: 1.2;
        margin-bottom: 30px;
    }

    .read-catch02 {
        font-size: 3rem;
        color: var(--main-red);
        margin: 20px 0;
        font-weight: 800;
        text-align: left;

    }

    .deco-01 {
        max-width: 400px;
        margin: 20px 0;
    }
}

/* 本日のオススメ店舗スライダー */
.recommended-stores {
    background-image: url(./images/background-img.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 50px;
    margin: 50px 0;
}

/* 背景パターン */


.recommended-slider-wrapper {
    position: relative;
    z-index: 2;
}

.recommended-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.recommended-title::before,
.recommended-title::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 50px;
    background-image: url('./images/decoration.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.recommended-title::before {
    left: -210px;
    transform: translateY(-50%) scaleX(-1);
    /* 左側は反転 */
}

.recommended-title::after {
    right: -210px;
}

/* タイトルコンテナで余白を確保 */
.recommended-title-container {
    text-align: center;
    padding: 0 90px;
    margin-bottom: 2rem;
}

/* レスポンシブ対応 */
@media (max-width: 1199.98px) {
    .recommended-title::before {
        left: -60px;
        width: 50px;
        height: 25px;
    }

    .recommended-title::after {
        right: -60px;
        width: 50px;
        height: 25px;
    }

    .recommended-title-container {
        padding: 0 80px;
    }
}

@media (max-width: 991.98px) {

    .recommended-title::before,
    .recommended-title::after {
        display: none;
    }

    .recommended-title {
        font-size: 1.75rem;
    }

    .recommended-title-container {
        padding: 0 20px;
    }
}

@media (max-width: 575.98px) {
    .recommended-title {
        font-size: 1.5rem;
    }

    .recommended-title-container {
        padding: 0 15px;
    }
}

/* スライダーコンテナ */
.recommended-slider {
    margin: 0 -15px;
}

.recommended-item {
    padding: 0 15px;
}

.recommended-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recommended-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.recommended-image {
    position: relative;
    width: 100%;
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
}

.recommended-info {
    padding: 1rem;
    text-align: center;
    min-height: 100px;
}

.card-text:last-child {
    margin-top: 5px;
    margin-bottom: 0;
    font-size: 0.8em;
}

.store-name {
    color: var(--dark-text);
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
}

.store-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
}

/* オススメ店舗一覧へボタン */
.btn-view-all {
    background-color: #fff;
    color: var(--main-red);
    font-weight: bold;
    border: none;
    border-radius: 10px;
    padding: 1.5rem 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 50px auto 20px;
}

.btn-view-all:hover {
    background-color: #f8f9fa;
    color: var(--main-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Slick Slider カスタマイズ */
.recommended-slider .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background-color: var(--accent-gold);
    border: none;
    border-radius: 50%;
    color: var(--dark-text);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* テキストを完全に隠す */
    text-indent: -9999px;
    overflow: hidden;
}

.recommended-slider .slick-arrow:hover {
    background-color: #c89f3c;
    transform: translateY(-50%) scale(1.1);
}

.recommended-slider .slick-prev {
    left: -25px;
}

.recommended-slider .slick-next {
    right: -25px;
}

/* デフォルトのbefore疑似要素を削除 */
.recommended-slider .slick-arrow:before {
    display: none;
}

/* カスタム矢印アイコン */
.recommended-slider .slick-prev:after {
    content: '◀';
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    color: #fff;
    text-indent: 0;
}

.recommended-slider .slick-next:after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    color: #fff;
    text-indent: 0;
}

/* レスポンシブ対応 */
@media (max-width: 991.98px) {

    .recommended-title::before,
    .recommended-title::after {
        display: none;
    }

    .recommended-title {
        font-size: 1.75rem;
    }

    .recommended-slider .slick-arrow {
        width: 40px;
        height: 40px;
    }

    .recommended-slider .slick-prev:after,
    .recommended-slider .slick-next:after {
        font-size: 1rem;
    }

    .recommended-slider .slick-prev {
        left: -20px;
    }

    .recommended-slider .slick-next {
        right: -20px;
    }
}

@media (max-width: 575.98px) {
    .recommended-title {
        font-size: 1.5rem;
    }

    .recommended-slider .slick-arrow {
        width: 35px;
        height: 35px;
    }

    .recommended-slider .slick-prev:after,
    .recommended-slider .slick-next:after {
        font-size: 0.9rem;
    }

    .recommended-slider .slick-prev {
        left: -17px;
    }

    .recommended-slider .slick-next {
        right: -17px;
    }

    .btn-view-all {
        padding: 1rem 1.5rem;
        font-size: 0.7rem;
    }
}

/* NEWS& TOPICS */

/* NEWS & TOPICS セクション */

/* タイトル */
.news-title-container {
    text-align: center;
    padding: 0 80px;
    margin-bottom: 3rem;
}

.news-title {
    color: var(--dark-text);
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    letter-spacing: 0.1em;
}

.news-title::before,
.news-title::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 50px;
    background-image: url('./images/decoration.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: cent
}

.news-title::before {
    left: -210px;
    transform: translateY(-50%) scaleX(-1);
}

.news-title::after {
    right: -210px;
}

/* ニュースリスト */
.news-list {
    max-width: 1000px;
    margin: 50px auto;
}

.news-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.news-item:hover {
    background-color: rgba(180, 0, 3, 0.02);
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 8px;
    border-bottom: 1px solid transparent;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
}

/* 日付部分 */
.news-date {
    background-color: var(--main-red);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 600;
    white-space: nowrap;
    min-width: 100px;
    text-align: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    width: 25%;
}

/* コンテンツ部分 */
.news-content {
    flex: 1;
    padding-top: 0.25rem;
}

.news-link {
    color: var(--dark-text);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.6;
    transition: color 0.3s ease;
    display: block;
}

.news-link:hover {
    color: var(--main-red);
    text-decoration: underline;
}



/* レスポンシブ対応 */
@media (max-width: 991.98px) {
    .news-title-container {
        padding: 0 60px;
    }

    .news-title::before,
    .news-title::after {
        width: 50px;
        height: 25px;
    }

    .news-title::before {
        left: -60px;
    }

    .news-title::after {
        right: -60px;
    }

    .news-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .news-title-container {
        padding: 0 20px;
    }

    .news-title::before,
    .news-title::after {
        display: none;
    }

    .news-title {
        font-size: 1.5rem;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem 0;
    }

    .news-date {
        margin-right: 0;
        margin-bottom: 0.75rem;
        min-width: auto;
        display: inline-block;
    }

    .news-content {
        padding-top: 0;
        width: 100%;
    }

    .news-link {
        font-size: 0.95rem;
    }
}

@media (max-width: 575.98px) {
    .news-topics {
        padding: 3rem 0;
    }

    .news-title {
        font-size: 1.25rem;
    }

    .news-date {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .news-link {
        font-size: 0.9rem;
    }

    .btn-more-news {
        padding: 0.6rem 2rem;
        font-size: 0.9rem;
    }
}

/* マップ */

.section-map {
    padding: 50px 0;
    /* 背景画像の下にアクセントカラーを敷いています。 */
    background: url(./images/background-img-02.png) center / cover no-repeat, #FFE090;
    text-align: center;
    /* タイトルと装飾を中央に配置するため */
    border-top: 5px solid var(--accent-gold);
}

.map-container {
    height: 700px;
    overflow: hidden;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
}

.map-container iframe {
    width: 100%;
    height: calc(100% + 60px);
    /*  
    margin-top: -60px;*/
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}


.map-title {
    color: var(--main-red);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.3rem;
    padding: 20px 40px 10px;
    /* 装飾とのスペースを確保 */
    position: relative;
    display: inline-block;
    /* テキストの幅に合わせる */
}




@media screen and (min-width: 1024px) {



    /* タイトルの左右の装飾 */
    .map-title::before {
        content: '';
        position: absolute;
        top: 44%;
        width: 300px;
        height: 200px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }


    .map-title::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 200px;
        /* 画像のサイズに合わせて調整してください */
        height: 50px;
        /* 画像のサイズに合わせて調整してください */
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    /* 左側の装飾 */
    .map-title::before {
        background-image: url('./images/harumaki.png');
        /* 左側の画像 */
        left: -255px;
        /* 位置を調整 */
        transform: translateY(-50%) scaleX(-1);
        /* 画像を水平反転 */
    }

    /* 右側の装飾 */
    .map-title::after {
        background-image: url('./images/decoration.png');
        /* 右側の画像 */
        right: -200px;
        /* 位置を調整 */
        transform: translateY(-50%);
    }

}

/* トップページフッター */

.index-footer {
    background-image: url(./images/background-img.jpg);
    background-size: cover;
    background-position: center;
    padding-top: 50px;
    padding-bottom: 50px;
    border-top: 5px solid var(--accent-gold);
    border-bottom: 5px solid var(--accent-gold);

}

.index-footer img {
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 30px;
}

/* Spin loading //////////////////////////////////////////////////////////////////*/

#circle-spin-loader-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 1100;
    display: none;
    background-color: rgba(119, 119, 119, 0.5);
}

#circle-spin-loader {
    position: absolute;
    top: calc(50% - 35px);
    left: calc(50% - 30px);
    border: 8px solid var(--main-red);
    border-top: 8px solid #f3f3f3;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: none;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* end Spin loading */



/* Search Area */
.search-area {
    background-color: transparent;
    padding: 2rem 0;
}

.search-container {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: border-radius 0.4s ease;
    background: var(--main-red);
}

/* 詳細検索が開いている時は上側のみ角丸 */
.search-container.expanded {
    border-radius: 15px 15px 0 0;
}

/* 詳細検索ボタン */
.search-toggle-wrapper {
    background-color: #fff;
    padding: 1rem;
    text-align: center;
    border: 2px solid var(--main-red);
    border-radius: 15px;
    transition: border-radius 0.4s ease;
}

/* 詳細検索が開いている時はボタンの下側角丸を削除 */
.search-container.expanded .search-toggle-wrapper {
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}

.search-toggle-btn {
    background: transparent;
    border: none;
    color: var(--dark-text);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-toggle-btn:hover {
    color: var(--main-red);
}

.search-toggle-btn i {
    transition: transform 0.3s ease;
}

.search-toggle-btn.active i {
    transform: rotate(180deg);
}

/* 検索フォーム */
.search-form-wrapper {
    background-color: var(--main-red);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 0 15px 15px;
}

.search-form-wrapper.active {
    max-height: 300px;
}

.search-form {
    padding: 2rem;
}

/* 検索入力行 */
.search-inputs-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-input-group.area-search {
    flex: 3;
}

.search-input-group.keyword-search {
    flex: 7;
}

.search-input-group .form-select,
.search-input-group .form-control {
    border-radius: 25px;
    border: none;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
}

.search-input-group .form-select:focus,
.search-input-group .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.3);
    border-color: transparent;
}

/* 検索ボタン行 */
.search-buttons-row {
    display: flex;
    gap: 1rem;
}

.search-button-group {
    flex: 1;
}

.btn-search-submit {
    background-color: var(--accent-gold);
    color: var(--dark-text);
    font-weight: bold;
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-search-submit:hover {
    background-color: #c89f3c;
    color: var(--dark-text);
    transform: translateY(-2px);
}

.btn-search-location {
    background-color: #333;
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-search-location:hover {
    background-color: #555;
    color: #fff;
    transform: translateY(-2px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .search-inputs-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .search-input-group.area-search,
    .search-input-group.keyword-search {
        flex: 1;
    }

    .search-buttons-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .search-form {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .search-form {
        padding: 1rem;
    }

    .search-toggle-wrapper {
        padding: 0.75rem;
    }

    .btn-search-submit,
    .btn-search-location {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* ストアカード */

.store-card img {
    height: 200px;
    width: 100%;
    object-fit: cover
}

/* モーダル */

.modal-content {
    max-height: 85vh;
    /* 高さを最大85vhに制限 */
    overflow-y: auto;
    /* 縦方向にコンテンツがはみ出た場合にスクロールを許可 */
    height: auto;
    /* コンテンツの高さに合わせる */
}

/* styles for store modals */
.modal-content.d-flex {
    display: flex !important;
    flex-direction: column;
    padding: 1rem !important;
}

@media (min-width: 576px) {
    .modal-content.d-flex {
        flex-direction: row !important;
    }
}

.modal-media {
    width: 100%;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    overflow: hidden;
    color: #999;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-bottom: 1rem;
}

@media (min-width: 576px) {
    .modal-media {
        width: 50%;
        margin-bottom: 0;
    }
}

.modal-media video,
.modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    width: 100%;
    padding-left: 0;
    overflow-wrap: break-word;
}

@media (min-width: 576px) {
    .modal-info {
        width: 50%;
        padding-left: 1.5rem;
    }
}

.modal-info h3 {
    color: var(--main-red);
    text-align: center;
}

.store-caption {
    white-space: pre-line;
}

.store-details {
    line-height: 1.5;
}

.modal-card-button {
    background-color: var(--main-red);
        color: #fff;
        transition: 0.5s;
}

.modal-card-button:hover {
    background-color: var(--accent-gold);
}


/* Store List */
.card-img-placeholder {
    width: 100%;
    padding-top: 75%;
    /* Aspect ratio 4:3 */
}

.card-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.location-text {
    font-weight: 500;
}




/************************************
** レスポンシブページネーション
************************************/
.pagination {
    list-style-type: none;
    padding-left: 0;
    margin: 30px 0;
    margin-top: 3rem !important;
}

.pagination li {
    list-style-type: none !important;
    font-size: var(--bs-pagination-font-size);
}

.pagination,
.pagination li a {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    color: var(--main-red);
}

.pagination a {
    font-weight: 300;
    text-decoration: none;
    border: 1px solid #ddd;
    border-left-width: 0;
    padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
    color: var(--main-red);
    border-color: #dee2e6;
    background: #fff;
}

.pagination li:not([class*="current"]) a:hover {
    background-color: #eee;
}

.pagination li:first-of-type a {
    border-left-width: 1px;
}

.pagination li.first span,
.pagination li.last span,
.pagination li.previous span,
.pagination li.next span {
    /* screen readers only */
    position: absolute;
    top: -9999px;
    left: -9999px;
}

.pagination li.first a::before,
.pagination li.last a::after,
.pagination li.previous a::before,
.pagination li.next a::after {
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
}

.pagination li.first a::before {
    content: "\f100";
}

.pagination li.last a::after {
    content: "\f101";
}

.pagination li.previous a::before {
    content: "\f104";
}

.pagination li.next a::after {
    content: "\f105";
}

.pagination li.current a {
    background-color: var(--main-red);
    border-color: var(--main-red);
    color: #fff;
    cursor: default;
    pointer-events: none;
}

.pagination>li:first-child>a {
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.pagination>li:last-child>a {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}

@media only screen and (max-width: 680px) {

    .pagination li.first,
    .pagination li.last {
        /* screen readers only */
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .pagination li.previous a {
        border-left-width: 1px;
    }
}

@media only screen and (max-width: 500px) {
    .pagination li {
        /* screen readers only */
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .pagination li.current,
    .pagination li.first,
    .pagination li.last,
    .pagination li.previous,
    .pagination li.next {
        position: initial;
        top: initial;
        left: initial;
    }

    .pagination li.previous a {
        border-left-width: 0;
    }
}

@media only screen and (max-width: 400px) {

    .pagination li.first,
    .pagination li.last {
        /* screen readers only */
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .pagination li.previous a {
        border-left-width: 1px;
    }
}

@media only screen and (max-width: 240px) {

    /* For watches? */
    .pagination li {
        width: 50%;
    }

    .pagination li.current {
        order: 2;
        width: 100%;
        border-left-width: 1px;
    }
}

/**** END レスポンシブページネーション ****/

/* Pagination */
/*
.pagination .page-link {
    color: var(--main-red);
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: var(--main-red);
    border-color: var(--main-red);
    color: #fff;
}

.pagination .page-link:hover {
    background-color: #fbeaea;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
}
*/



/* --- Footer --- */
.footer {
    border-top: 2px solid var(--accent-gold);
}

.footer-brand {
    padding-bottom: 20px;
}

.footer .nav .nav-item {
    font-size: 0.8em;
}

.footer-brand img {
    width: 80%;
    margin: 0 auto;
    max-width: 700px;
}

.footer .nav-link {
    color: #6c757d;
}

.footer .nav-link:hover {
    color: var(--main-red);
}

.footer ul {
    border-top: 2px solid var(--accent-gold);
    padding: 20px 0;
    ;
}

.corprate-info {
    background-color: var(--main-red);
    color: #fff;
    font-size: 0.8em;
    padding: 10px 0;
}

/* --- Page Top Button --- */
.page-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--main-red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    transform: translateY(20px);
    z-index: 999;
}

.page-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-top-btn:hover {
    background-color: #9a0002;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .page-title .title-text {
        font-size: 2rem;
    }

    .overlay-nav-link {
        font-size: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .page-title .title-text {
        font-size: 1.75rem;
    }

    .overlay-nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem;
    }
}

/* 下層ページ */

/* Page Title */

.page-title {
    margin: 50px 0 30px;
}

.page-title h1 {
    position: relative;
    display: inline-block;
    padding: 1rem 2rem;
}

.page-title .sub-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: 1rem;
    color: var(--main-red);
    letter-spacing: 0.25rem;
}

.page-title {
    background: url('images/waku.png') center center / contain no-repeat;
}

@media screen and (max-width: 575.98px) {

    .page-titleimg {
        max-width: 100%;
    }

    .page-title .sub-title {
        font-size: 1rem;
        font-weight: 800;
        margin-top: 1rem;
        color: var(--main-red);
        letter-spacing: 0.25rem;
    }

    .page-title h1 {
        position: relative;
        display: inline-block;
        padding: 0.5rem 2rem;
    }
}


/* 店舗用シングルページ */

.store-detail-badge {
    margin-bottom: 0;
    background-color: var(--main-red);
    color: #fff;
    font-size: 0.8em;
    padding: 2px 5px;
    border-radius: 0.4em;
    margin-right: 5px;
    margin-right: 10px;
}

h1.store-detail-title {
    font-size: 1.5rem;
    color: var(--main-red);
    border-top: 1px solid;
    padding-top: 20px;
}

.store-details-content-container {
    border: 1px solid var(--main-red);
    margin-top: 20px;
    border-radius: 10px;
    background-color: #fff;
}

.store-content-title {
    display: flex;
    border-bottom: 1px solid var(--main-red);
    margin-bottom: 0;
}

.store-content-title:last-child {
    border-bottom: none;
}


.store-content-title dt {
    background-color: var(--main-red);
    color: #fff;
    width: 20%;
    padding: 5px;
    text-align: center;
    font-size: 0.9em;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #fff;
}

.store-details-content-container .store-content-title:last-child dt {
    border-bottom: none;
    /* 最後のdt要素の下線を消す */
}

.store-details-content-container .store-content-title:first-child dt {
    border-top-left-radius: 9px;
    /* 親要素の半径10px - ボーダー1px */
}

.store-details-content-container .store-content-title:last-child dt {
    border-bottom-left-radius: 9px;
    /* 親要素の半径10px - ボーダー1px */
}

.store-content-title dd {
    padding: 15px;
    width: 80%;
    font-size: 0.9em;
    margin-bottom: 0;
}

.category-list .card-header {
    background-color: var(--main-red);
    color: #fff;
    border-bottom: none;
}


.category-list {
    border: 1px solid var(--main-red);
}


.category-list .list-group-item {
    color: var(--main-red);
}

.category-list .list-group-item {
    border-bottom: 1px solid var(--main-red);
}

.category-list .list-group-item a {
    color: var(--main-red);
    text-decoration: none;
    transition: 0.5s;
}

.category-list .list-group-item a:hover {
    color: var(--dark-text);
}

.category-list .list-group-item:last-child {
    border-bottom: var(--main-red) 1px solid;
}

/* modalのリスト */

.modal-info .store-content-title dt {
    font-size: 0.7em;
}

.modal-info .store-content-title dd {
    font-size: 0.8em;
}

.modal-info .store-content-title a {
    color: var(--main-red);
    text-decoration: none;
    transition: 0.5s;
}

.modal-info .store-content-title a:hover {
    color: var(--dark-text);
}

/* 加盟店 */

.kamei-title h1 {
    color: var(--main-red);
    font-size: 2.5rem;
    text-align: center;
    padding: 20px;
        font-weight: 600;
}

.kamei-read {
    color: var(--main-red);
    font-size: 2rem;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
        font-weight: 600;
}

.kamei-text {
    font-size: 1.2rem;
    font-weight: 600;
}

/* 下層ページ */

.under-container {
    width: 90%;
    max-width: 1000px;
    margin: 100px auto;

}

.under-container a {
    color: var(--main-red);
    font-size: 1.2em;
    margin-top: 10px;
}

.under-container .photo {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border-radius: 1rem;
    margin-bottom: 20px;
}

.under-container a:hover {
    color: var(--accent-gold);
    transition: 0.5s;
}

.under-hero {
    color: #fff;
}

.under-hero h2 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
}

.under-hero p {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 20px;
}

.under-article-title {
    border-bottom: 2px solid var(--accent-gold);
    margin-bottom: 50px;
}


.under-article-title h3 {
    font-weight: 700;
    color: var(--main-red);
}

.title-harumaki {
    position: absolute;
    width: 50%;
    right: 0;
    bottom: 0;
}

.promo-container {
    width: 100%;
    max-width: 80%;
    margin-top: 100px;
    /* 画像が上にはみ出すスペースを確保 */
}

.tenpo-link {
    margin: 30px 0;
}

a.tenpo-link {
    text-decoration: none;
}

.tenpo-button {
    background: var(--main-red);
    color: #fff;
    padding: 20px;
    border-radius: 20px;
    border: 5px solid var(--accent-gold);
    margin: 50px 0;
    transition: 0.5s;
}

.tenpo-button:hover {
    opacity: 0.5;
}

.tenpo-button p {
    color: #fff;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0;
    font-weight: 700;
    line-height: 1.3;
}

.tenpo-button p span {
    font-size: 1.7em;
}

.tenpo-button img {
    max-width: 250px;
    filter: brightness(0) invert(1);
    margin-right: 20px;
}

.himitsu-container-01 {
    position: relative;
    /* 子要素のabsoluteの基準点にする */
    background-color: #c00;
    /* 画像ではパターンが使われていますが、ここでは赤色で代用 */
    background-image: url(./images/background-img.jpg);
    background-size: cover;
    color: white;
    border-radius: 20px;
    border: 4px solid #e8b447;
    padding: 40px;
}

.himitsu-container-01 a {
    color: #fff;
    transition: 0.5s;
}

.himitsu-container-01 a:hover {
    color: var(--accent-gold);
    transition: 0.5s;
}


.himitsu-container-01 img {
    position: absolute;
    width: 30%;
    right: 10%;
    bottom: -20%;
}

.himitsu-container-01 h4 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.himitsu-text {
    font-size: 1.1rem;
    font-weight: 600;
}

/* --- 1つ目のレイアウト（春巻き） --- */
.content-wrapper {
    position: relative;
    background-color: #c00;
    background-image: url(./images/background-img.jpg);
    background-size: cover;
    color: white;
    border-radius: 20px;
    border: 4px solid #e8b447;
    padding: 40px 40px 40px 220px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 150px auto;
    /* 上下にマージンを追加 */
}

.food-image {
    position: absolute;
    left: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
}

.text-content {
    width: 60%;
    margin-left: auto;
}

.text-content h2 {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    font-weight: bold;
}

.text-content h3 {
    font-size: 2rem;
    margin: 0 0 20px 0;
    font-weight: bold;
}

.text-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 15px 0;
}


/* --- 2つ目のレイアウト（黒鯛） --- */
.kurodai-container {
    position: relative;
    width: 80%;
    margin-left: 0;
    margin-right: auto;
    margin-top: 250px;
    margin-bottom: 100px;
    /* 下にマージンを追加 */
}

.kurodai-title {
    position: absolute;
    top: -80px;
    right: 0;
    font-size: 4rem;
    color: #c00;
    font-weight: 900;
    margin: 0;
    line-height: 1;
    z-index: 20;
}

.kurodai-image {
    position: absolute;
    bottom: 0;
    left: -40px;
    width: 50%;
    z-index: 10;
}

.kurodai-text-content {
    background-color: #111;
    color: white;
    border: 4px solid #e8b447;
    border-radius: 10px;
    padding: 40px;
    padding-left: 45%;
}

.kurodai-description p {
    margin: 0 0 1em 0;
    line-height: 1.7;
}

.kurodai-description p:last-child {
    margin-bottom: 0;
}

/* --- ボタンのスタイル --- */
.bouncing-arrow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #dcae4f;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: bounce 2s ease-in-out infinite;
    margin: 0 auto;
}

/* --- 矢印のスタイル --- */
.arrow-icon {
    /* 見た目 */
    width: 15px;
    /* 矢印のサイズ */
    height: 15px;
    /* 矢印のサイズ */
    border: solid white;
    border-width: 0 5px 5px 0;
    /* 下と右のボーダーだけ表示 */

    /* 位置と形 */
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    /* 45度回転させて矢印の形にする */
    margin-top: -10px;
    /* 円の中心にくるように微調整 */
}

/* --- アニメーションの定義 --- */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
        /* 開始、中間、終了地点は元の位置 */
    }

    40% {
        transform: translateY(-15px);
        /* 40%の時点で上に15px移動 */
    }

    60% {
        transform: translateY(-8px);
        /* 60%の時点で上に8px移動 */
    }
}




/* =============================================== */
/* レスポンシブ対応（画面幅が768px以下の場合） */
/* =============================================== */

@media (min-width:1800px) {
    .food-image {
        position: absolute;
        left: -100px;
        top: 50%;
        transform: translateY(-50%);
        width: 45%;
    }
}

@media (max-width: 768px) {
    .himitsu-container-01 {
        width: 90%;
        margin: 0 auto;
    }

    .himitsu-container-01 img {
        position: unset;
        width: 100%;
    }

    /* --- 1つ目のレイアウト（春巻き）の調整 --- */
    .content-wrapper {
        padding: 20px;
        margin-top: 120px;
        /* 画像がはみ出すマージン */
    }

    .food-image {
        /* absolute配置を解除 */
        position: relative;
        transform: none;

        /* 上に配置し、中央揃え */
        display: block;
        left: auto;
        top: auto;
        width: 200px;
        height: 200px;
        margin: -120px auto 20px auto;
        /* 上に-120pxはみ出させて中央へ */
    }

    .text-content {
        /* 幅を100%にして中央揃え */
        width: 100%;
        margin-left: 0;
        text-align: center;
    }

    .promo-container {
        max-width: 90%;
        margin: 0 auto;
    }

    .tenpo-button img {
        max-width: 100%;
        filter: brightness(0) invert(1);
        /* margin-right: 20px; */
        margin: 20px auto;
    }

    /* --- 2つ目のレイアウト（黒鯛）の調整 --- */
    .kurodai-container {
        width: 95%;
        /* 幅を広げる */
        margin: 0 auto;
    }

    .kurodai-title {
        /* absolute配置を解除 */
        position: static;
        text-align: center;
        margin-bottom: 20px;
        font-size: 2.2rem;
    }

    .kurodai-image {
        /* absolute配置を解除 */
        position: relative;
        display: block;
        width: 100%;
        top: auto;
        left: auto;
        margin: 0 auto;
        /* テキストボックスに少し被るように、ネガティブマージンを設定 */
        margin-bottom: -80px;
    }

    .kurodai-text-content {
        /* 画像が重なる分のpaddingを上に確保 */
        padding: 100px 20px 20px 20px;
    }
}

/* archiveデザイン*/

.archive-content {
    min-height: 800px;
}

.archive-card .card-body {
    border-radius: 10px;
    border: 1px solid var(--main-red);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.archive-card img {
    aspect-ratio: 4 / 3; 
    height: auto;
    width: 100%;         /* 親要素の幅いっぱいに広げる */
    object-fit: cover;   /* 画像が歪まないように、比率を保ったままトリミング */
    margin-bottom: 15px;
}
/* --- Sidebar Widgets (Simple Style) --- */
.simple-sidebar-widget {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
}

.sidebar-widget-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--main-red);
}

.sidebar-widget-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.sidebar-widget-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #fff;
}

.sidebar-widget-list li:last-child {
    border-bottom: none;
}

.sidebar-widget-list li a {
    text-decoration: none;
    color: var(--dark-text);
    transition: color 0.2s ease-in-out;
}

.sidebar-widget-list li a:hover {
    color: var(--main-red);
}

/* --- Google My Map Header Fix (single-stores.php) --- */
.googlemap-wrapper {
    position: relative;
    overflow: hidden;
    /* はみ出した部分を隠す */
    height: 450px;
    /* 表示したいマップの高さ */
    border-radius: .25rem;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
}

.googlemap-wrapper iframe {
    position: absolute;
    top: -80px;
    /* ヘッダー分（約80px）を上にずらす */
    left: 0;
    width: 100%;
    height: calc(100% + 80px);
    /* 上にずらした分、高さを足す */
    border: 0;
}
/* コンタクトページ */

/* --- お問い合わせフォームの装飾 --- */

/* フォーム全体のラッパー */
.contact-form-wrapper {
    max-width: 700px; /* フォームの横幅 */
    margin: 40px auto; /* 上下と中央寄せの余白 */
    padding: 2em;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* 各フォーム項目（ラベルと入力欄のセット） */
.form-group {
    margin-bottom: 1em;
}

/* ラベルのスタイル */
.form-group label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
    color: var(--main-red);
    font-size: 15px;
}

/* 入力フィールド (input, textarea) の共通スタイル */
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    color: #555;
    background-color: #fff;
    box-sizing: border-box; /* paddingを含めて幅を100%に */
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* 入力フィールドがフォーカスされた時のスタイル */
.form-control:focus {
    border-color: var(--main-red); /* フォーカス時の枠線の色 */
    outline: none; /* デフォルトのアウトラインを消す */
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.2); /* 影をつける */
}

/* 送信ボタンのラッパー */
.submit-button-wrapper {
    text-align: center; /* ボタンを中央に配置 */
    margin-top: 2em;
}

/* 送信ボタンのスタイル */
.submit-button {
    display: inline-block;
    padding: 12px 40px;
    width: 100%;
    border: none;
    border-radius: 5px;
    background-color: var(--main-red);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 送信ボタンにマウスカーソルが乗った時のスタイル */
.submit-button:hover {
    background-color: var(--accent-gold); /* 少し暗い色に */
    transform: translateY(-2px); /* 少し上に動かす */
}

/* Contact Form 7のエラーメッセージ等のスタイル調整 */
.wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 0.8em 1em;
    border-radius: 4px;
}