/**
 * ちゃんこグループ ヘッダースタイル
 * 商品サイト（199wpjachanko_01_susukino）と同じレイアウト
 */

/* ヘッダートップバー（ピンク） */
.header_top {
    background-color: var(--main-color);
    color: #fff;
    text-align: center;
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.4;
}
.header_top .hidden-xs {
    font-size: 12px;
}
.header_top .visible-xs {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.header_top .visible-xs small {
    font-size: 10px;
}

/* ちゃんこヘッダー（ロゴエリア） */
.chan_header {
    background: url(../../../upfile/header_bg.png);
    background-size: cover;
    background-position: center;
    background-color: #fff;
    padding: 15px 0;
}
.chan_header h1 {
    text-align: center;
    margin: 0;
    padding: 0;
}
.chan_header h1 span {
    position: relative;
    display: inline-block;
    width: 100%;
}
.chan_header .header_logo {
    display: none;
}
.chan_header .header_logo img {
    height: auto;
    width: auto;
    max-width: 100%;
}
.chan_header #header-inc {
    margin-left: auto;
}
.chan_header #header-section {
    text-align: right;
    position: relative;
    text-shadow: -1px 0px 10px rgb(255 255 255);
    bottom: 0px;
    right: 0px;
}
#header-section .open,
#header-section .shop-tel {
    color: #F21616;
    line-height: 1.4em;
    font-family: 'Fredoka One', cursive;
    display: block;
}
#header-section .open {
    font-size: 20px;
}
#header-section .shop-tel {
    font-size: 28px;
}
.chan_header .site_description {
    top: 34px;
    left: 0;
    color: #000;
    text-indent: 0;
    font-size: 12px;
    text-align: center;
    margin-top: 5px;
}

/* ティッカー（マーキー） */
#ticker {
    background-repeat: repeat-x;
    background-position: left top;
    height: 46px;
    background-color: var(--main-color);
    padding: 0;
}
#ticker .container {
    position: relative;
}
#ticker_text {
    display: none;
}
#ticker_content {
    padding: 3px 3px 3px 0;
    background-color: rgba(255, 255, 255, 1.00);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    width: 100%;
    margin-top: 10px;
    float: right;
    height: 28px;
    box-shadow: 0 2px 8px -4px #171717 inset;
}
#ticker .ticker {
    font-size: 13px;
    line-height: 22px;
}
#ticker marquee {
    color: #333;
}

/* ナビバー - sticky に変更（商品サイトと同じ） */
.navbar-fixed-bottom,
.navbar-fixed-top {
    position: sticky !important;
    top: 0;
}
.navbar-custom {
    background-color: #fff;
    box-shadow: 0px 0px 4px 1px #bfbfbf;
    color: #333;
}
.navbar-custom .navbar-brand {
    color: #333;
    height: 100px;
}
.navbar-custom .navbar-brand img {
    height: 100px;
}
.navbar-custom .nav li > a {
    color: #333;
    letter-spacing: initial;
    font-family: "M PLUS Rounded 1c", sans-serif;
}
.navbar-custom .nav li > a i {
    color: var(--main-color);
}
.navbar-custom .navbar-toggle .icon-bar {
    background: #333;
}

/* PC版ナビゲーション配置（元サイトと同じ） */
.navbar-nav {
    display: flex !important;
    justify-content: space-between !important;
    flex-direction: column;
    float: none !important;
}
@media screen and (min-width: 768px) {
    .navbar-nav {
        flex-direction: row !important;
        align-items: center !important;
    }
    .navbar-nav.navbar-right {
        float: none !important;
        margin-right: 0 !important;
    }
    .navbar-custom .navbar-nav > li {
        float: none !important;
    }
    .navbar-custom .navbar-nav > li > a {
        padding: 15px 18px;
    }
    .navbar-custom .navbar-collapse {
        padding: 0;
    }
    .navbar-custom .navbar-brand {
        display: none !important;
    }
    .navbar-custom .container {
        display: flex;
        justify-content: center;
    }
    .navbar-custom .navbar-header {
        display: none;
    }
    #custom-collapse {
        display: block !important;
        width: 100%;
    }
    #custom-collapse .navbar-nav {
        width: 100%;
    }
}

/* navbarが固定でなくなるため、スペーサーを削除 */
.header-spacer {
    display: none !important;
    margin-top: 0 !important;
    height: 0 !important;
}
.breadcrumb-nav {
    margin-top: 0 !important;
}

/* PC用（426px以上） */
@media screen and (min-width: 426px) {
    .chan_header {
        padding: 20px 0;
    }
    .chan_header h1 span {
        display: block;
        position: relative;
        width: 100%;
    }
    .chan_header .header_logo {
        display: block;
        width: 100%;
    }
    .chan_header .header_logo img {
        width: 100%;
        height: auto;
        max-height: none;
    }
    .chan_header #header-inc {
        position: absolute;
        bottom: 10px;
        right: 10px;
        z-index: 10;
    }
    #header-section {
        text-align: right;
        background: rgba(255, 255, 255, 0.85);
        padding: 10px 15px;
        border-radius: 5px;
    }
    #header-section .open {
        font-size: 20px;
    }
    #header-section .shop-tel {
        font-size: 32px;
    }
    .chan_header .site_description {
        display: none !important;
    }
    #ticker_content {
        width: calc(100% - 240px);
    }
    #ticker_text {
        display: block;
        width: 230px;
        height: 46px;
        float: left;
        background-image: url(../../../upfile/ticker_text.png);
        background-repeat: no-repeat;
        background-position: left center;
    }
}

/* PC用（768px以上） */
@media screen and (min-width: 768px) {
    .chan_header {
        padding: 25px 0;
    }
    #header-section .open {
        font-size: 25px;
    }
    #header-section .shop-tel {
        font-size: 40px;
    }
}

/* スマホ用（767px以下） */
@media (max-width: 767px) {
    .header_top {
        padding: 5px 10px;
        font-size: 11px;
    }
    .chan_header {
        padding: 5px 0;
    }
    .chan_header .header_logo img,
    .chan_header .visible-xs img {
        max-height: 60px;
        width: auto;
    }
    #ticker {
        height: auto;
        padding: 5px 0;
    }
    #ticker_content {
        margin-top: 0;
        height: auto;
        padding: 5px;
    }
    #ticker .ticker {
        font-size: 11px;
    }
    /* navbarのロゴ（スマホ用） */
    .navbar-custom .navbar-brand,
    .navbar-custom .navbar-brand img {
        height: 50px;
    }
}

/* 768px以下でnavbar調整 */
@media screen and (max-width: 768px) {
    .navbar-nav > li > a {
        padding: 15px 10px;
        font-size: 12px;
    }
    .navbar-custom .navbar-brand,
    .navbar-custom .navbar-brand img {
        height: 50px;
    }
}

/* ============================================
   ちゃんこテーマ スライダースタイル
   ============================================ */

/* PC版スライダー（コンテンツ内配置・元サイトと同じ） */
.swiper-container-top-pc {
    width: 100%;
    margin: 0 auto 20px;
    padding: 10px 0;
    overflow: hidden;
}
.swiper-container-top-pc .swiper-slide {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0.5;
    transform: scale(0.9);
    transition: all 0.3s ease;
}
.swiper-container-top-pc .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}
.swiper-container-top-pc .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* スマホ版スライダー（コンテンツ内配置） */
.swiper-container-one {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 15px;
    box-sizing: border-box;
}
.swiper-container-one .swiper-wrapper {
    width: 100%;
}
.swiper-container-one .swiper-slide {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
}
.swiper-container-one .swiper-slide img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

/* スライダーナビゲーション */
.swiper-container-top-pc .swiper-button-prev,
.swiper-container-top-pc .swiper-button-next,
.swiper-container-one .swiper-button-prev,
.swiper-container-one .swiper-button-next {
    color: var(--main-color) !important;
    background: rgba(255, 255, 255, 0.9);
    width: 35px !important;
    height: 35px !important;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.swiper-container-top-pc .swiper-button-prev:after,
.swiper-container-top-pc .swiper-button-next:after,
.swiper-container-one .swiper-button-prev:after,
.swiper-container-one .swiper-button-next:after {
    font-size: 16px !important;
    font-weight: bold;
}
.swiper-pagination-bullet {
    background: var(--main-color) !important;
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    opacity: 1;
}

/* PC版：バナーを表示 */
@media screen and (min-width: 768px) {
    .banner-pc {
        display: block !important;
    }
    .banner-xs {
        display: none !important;
    }
}

/* スマホ版：バナー切り替え */
@media screen and (max-width: 767px) {
    .banner-pc {
        display: none !important;
    }
    .banner-xs {
        display: block !important;
    }
    .swiper-container-one .swiper-button-prev,
    .swiper-container-one .swiper-button-next {
        width: 28px !important;
        height: 28px !important;
    }
    /* 会員バッジの位置調整（スマホ版） */
    .navbar-toggle.member_toggle {
        position: relative;
    }
    .navbar-toggle.member_toggle .badge {
        position: absolute;
        top: 5px;
        right: -5px;
    }

/* PC版ヘッダーの会員ボタンバッジ位置調整 */
@media screen and (min-width: 768px) {
    .navbar-custom .navbar-nav > li > a.member_toggle button {
        position: relative !important;
    }
    .navbar-custom .navbar-nav > li > a.member_toggle button .badge,
    .member_toggle .badge {
        position: absolute !important;
        top: -10px !important;
        right: -10px !important;
        font-size: 11px !important;
        padding: 3px 7px !important;
        border-radius: 10px !important;
        background-color: #dc687e !important;
        color: #fff !important;
    }

}

/* PC版ログインボタン */
@media screen and (min-width: 768px) {
    .navbar-custom .nav li > a.chanko-nav-login {
        background: var(--main-color) !important;
        color: #fff !important;
        border-radius: 50px !important;
        padding: 8px 20px !important;
        transition: all 0.3s ease !important;
    }
    .navbar-custom .nav li > a.chanko-nav-login:hover {
        background: var(--main-color-light) !important;
        color: #fff !important;
    }
}
    .swiper-container-one .swiper-button-prev:after,
    .swiper-container-one .swiper-button-next:after {
        font-size: 12px !important;
    }
}

/* ============================================
   ちゃんこテーマ セクションタイトル
   ============================================ */

.module-title {
    padding: 8px 15px !important;
    color: #FFF !important;
    text-decoration: none !important;
    background: var(--main-color) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    transition: .3s !important;
    display: block !important;
    white-space: normal !important;
    margin-bottom: 15px !important;
    font-size: 18px !important;
    border-radius: 5px !important;
}

.module-title small {
    color: #fff !important;
    opacity: 0.9;
    font-size: 14px !important;
    margin-left: 10px !important;
}

/* 料金カードヘッダー（module-titleと同じ色） */
.price-card-header {
    background: var(--main-color) !important;
    color: #fff !important;
    padding: 8px 15px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    border-radius: 5px 5px 0 0 !important;
}

.price-card-header small {
    color: #fff !important;
    opacity: 0.9;
    font-size: 14px !important;
    margin-left: 10px !important;
}

/* ============================================
   プロフィールページ スマホ表示（ヘッダー非表示時）
   ============================================ */

/* プロフィールページ専用スタイル（body.chanko-profile-pageで判定） */
@media (max-width: 767px) {
    /* ヒーロー写真を最上部から表示 */
    body.chanko-profile-page .profile-hero-section.action-xs {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* header-spacerを非表示 */
    body.chanko-profile-page .header-spacer {
        display: none !important;
        margin-top: 0 !important;
        height: 0 !important;
    }

    /* ナビバー全体を透明に */
    body.chanko-profile-page .navbar-fixed-top {
        position: absolute !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }

    /* navbar-headerも透明に */
    body.chanko-profile-page .navbar-fixed-top .navbar-header {
        background: transparent !important;
    }

    /* ロゴを非表示 */
    body.chanko-profile-page .navbar-fixed-top .navbar-brand {
        display: none !important;
    }

    /* メニューボタン・ログインボタンを見やすくする */
    body.chanko-profile-page .navbar-fixed-top .navbar-toggle {
        background: rgba(0, 0, 0, 0.5) !important;
        border: none !important;
        border-radius: 5px !important;
        color: #fff !important;
        margin-top: 10px !important;
    }

    body.chanko-profile-page .navbar-fixed-top .navbar-toggle .icon-bar {
        background-color: #fff !important;
    }

    body.chanko-profile-page .navbar-fixed-top .navbar-toggle .small,
    body.chanko-profile-page .navbar-fixed-top .navbar-toggle .fa {
        color: #fff !important;
    }

    /* スクロール後はナビバーを固定表示に戻す */
    body.chanko-profile-page.scrolled .navbar-fixed-top {
        position: fixed !important;
        background-color: #fff !important;
        box-shadow: 0px 0px 4px 1px #bfbfbf !important;
    }

    body.chanko-profile-page.scrolled .navbar-fixed-top .navbar-brand {
        display: block !important;
    }

    body.chanko-profile-page.scrolled .navbar-fixed-top .navbar-toggle {
        background: transparent !important;
        color: #333 !important;
    }

    body.chanko-profile-page.scrolled .navbar-fixed-top .navbar-toggle .icon-bar {
        background-color: #333 !important;
    }

    body.chanko-profile-page.scrolled .navbar-fixed-top .navbar-toggle .small,
    body.chanko-profile-page.scrolled .navbar-fixed-top .navbar-toggle .fa {
        color: #333 !important;
    }
}

/* ============================================
   ちゃんこテーマ サイドバーメニュー
   ============================================ */

/* メニューラッパー */
.side_menu .chanko-menu-wrapper {
    background: repeating-linear-gradient(
        90deg,
        #f5f5f5 0px,
        #f5f5f5 1px,
        #fafafa 1px,
        #fafafa 4px
    ) !important;
    padding: 10px !important;
    border-radius: 10px !important;
    margin-bottom: 0 !important;
}

/* リストグループリセット */
.side_menu .chanko-menu-wrapper .chanko-list-group {
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}

/* メニュー項目の基本スタイル */
.side_menu .chanko-menu-wrapper .chanko-list-group .list-group-item {
    display: flex !important;
    align-items: center !important;
    padding: 12px 20px !important;
    background: linear-gradient(to bottom, #fff, #eee) !important;
    border: none !important;
    border-radius: 0px !important;
    color: #333333 !important;
    font-size: 1.6rem !important;
    font-weight: bold !important;
    text-decoration: none !important;
    font-family: "M PLUS Rounded 1c", sans-serif !important;
    border-top: 5px solid #db0f13 !important;
    margin-bottom: 0 !important;
}

/* 各項目の上部ボーダー色 */
.side_menu .chanko-menu-wrapper .chanko-list-group .list-group-item:nth-of-type(1) {
    border-top-color: #db0f13 !important;
}
.side_menu .chanko-menu-wrapper .chanko-list-group .list-group-item:nth-of-type(2) {
    border-top-color: #FFD052 !important;
}
.side_menu .chanko-menu-wrapper .chanko-list-group .list-group-item:nth-of-type(3) {
    border-top-color: #EE5A16 !important;
}
.side_menu .chanko-menu-wrapper .chanko-list-group .list-group-item:nth-of-type(4) {
    border-top-color: #FF6432 !important;
}
.side_menu .chanko-menu-wrapper .chanko-list-group .list-group-item:nth-of-type(5) {
    border-top-color: #8BB619 !important;
}
.side_menu .chanko-menu-wrapper .chanko-list-group .list-group-item:nth-of-type(6) {
    border-top-color: #27B8E6 !important;
}
.side_menu .chanko-menu-wrapper .chanko-list-group .list-group-item:nth-of-type(7) {
    border-top-color: #9155D4 !important;
}
.side_menu .chanko-menu-wrapper .chanko-list-group .list-group-item:nth-of-type(8) {
    border-top-color: #E63296 !important;
}
.side_menu .chanko-menu-wrapper .chanko-list-group .list-group-item:nth-of-type(9) {
    border-top-color: #db0f13 !important;
}
.side_menu .chanko-menu-wrapper .chanko-list-group .list-group-item:nth-of-type(10) {
    border-top-color: #FFD052 !important;
}
.side_menu .chanko-menu-wrapper .chanko-list-group .list-group-item:nth-of-type(11) {
    border-top-color: #EE5A16 !important;
}
.side_menu .chanko-menu-wrapper .chanko-list-group .list-group-item:nth-of-type(12) {
    border-top-color: #FF6432 !important;
}

/* ホバー時 */
.side_menu .chanko-menu-wrapper .chanko-list-group .list-group-item:hover {
    background: linear-gradient(to bottom, #fff5f7, #ffe5ea) !important;
    color: #333 !important;
}

/* first-child と last-child のリセット */
.side_menu .chanko-menu-wrapper .chanko-list-group .list-group-item:first-child {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}
.side_menu .chanko-menu-wrapper .chanko-list-group .list-group-item:last-child {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* メニューアイコン */
.side_menu .chanko-menu-wrapper .chanko-menu-icon {
    width: 40px !important;
    height: auto !important;
    margin-right: 12px !important;
    flex-shrink: 0 !important;
}

/* ============================================
   ちゃんこテーマ ログインセクション
   ============================================ */

.chanko-login-section {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.chanko-login-logo {
    margin-bottom: 15px;
    text-align: center;
}

.chanko-login-logo img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* セクションタイトル */
.chanko-section-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin: 20px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--main-color);
}

/* ログインフォーム */
.chanko-login-form {
    margin-bottom: 20px;
}

.chanko-login-form .form-group {
    margin-bottom: 12px;
}

.chanko-login-form .chanko-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.chanko-login-form .chanko-input:focus {
    border-color: var(--main-color);
    outline: none;
}

.chanko-login-form .chanko-login-btn {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(to bottom, #333, #222);
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chanko-login-form .chanko-login-btn:hover {
    background: linear-gradient(to bottom, #555, #333);
}

.chanko-login-form .pull-right {
    float: right;
    margin-top: 5px;
}

.chanko-login-form .pull-right a {
    color: #666;
    font-size: 12px;
    text-decoration: underline;
}

.chanko-login-form .pull-right a:hover {
    color: var(--main-color);
}

/* メッセージ部分 */
.chanko-login-message {
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff5f8 0%, #fff 50%, #f5f8ff 100%);
    border-radius: 10px;
    padding: 20px;
    border: 2px solid #ffe0eb;
}

.chanko-login-message p {
    margin-bottom: 10px;
}

.chanko-message-title {
    font-size: 18px;
    color: #fff;
    text-align: center;
    margin-bottom: 15px !important;
    background: linear-gradient(to right, var(--main-color), var(--main-color-light));
    padding: 10px 15px;
    border-radius: 25px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.chanko-message-subtitle {
    font-size: 16px;
    text-align: center;
    margin-bottom: 15px !important;
    color: var(--main-color);
    background: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    border-left: 4px solid var(--main-color);
    border-right: 4px solid var(--main-color);
}

.chanko-login-message > p:nth-of-type(3) {
    text-align: center;
    background: #fffde7;
    padding: 10px;
    border-radius: 5px;
    border: 1px dashed #ffc107;
}

.chanko-benefits-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.chanko-benefits-list li {
    position: relative;
    padding: 12px 12px 12px 35px;
    margin-bottom: 8px;
    font-size: 13px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(255, 108, 161, 0.15);
    border-left: 4px solid;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chanko-benefits-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(255, 108, 161, 0.25);
}

.chanko-benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-weight: bold;
    font-size: 11px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
}

/* 各項目に異なる色を適用 */
.chanko-benefits-list li:nth-child(1) { border-left-color: #db0f13; }
.chanko-benefits-list li:nth-child(1)::before { background: #db0f13; }
.chanko-benefits-list li:nth-child(2) { border-left-color: #FFD052; }
.chanko-benefits-list li:nth-child(2)::before { background: #FFD052; }
.chanko-benefits-list li:nth-child(3) { border-left-color: #EE5A16; }
.chanko-benefits-list li:nth-child(3)::before { background: #EE5A16; }
.chanko-benefits-list li:nth-child(4) { border-left-color: #FF6432; }
.chanko-benefits-list li:nth-child(4)::before { background: #FF6432; }
.chanko-benefits-list li:nth-child(5) { border-left-color: #8BB619; }
.chanko-benefits-list li:nth-child(5)::before { background: #8BB619; }
.chanko-benefits-list li:nth-child(6) { border-left-color: #27B8E6; }
.chanko-benefits-list li:nth-child(6)::before { background: #27B8E6; }
.chanko-benefits-list li:nth-child(7) { border-left-color: #9155D4; }
.chanko-benefits-list li:nth-child(7)::before { background: #9155D4; }
.chanko-benefits-list li:nth-child(8) { border-left-color: #E63296; }
.chanko-benefits-list li:nth-child(8)::before { background: #E63296; }
.chanko-benefits-list li:nth-child(9) { border-left-color: #db0f13; }
.chanko-benefits-list li:nth-child(9)::before { background: #db0f13; }

.chanko-message-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    background: linear-gradient(to bottom, #fff8e1, #ffecb3);
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #ffc107;
}

.chanko-message-footer strong {
    color: #F21616;
    font-size: 18px;
}

/* 新規会員登録ボタン */
.chanko-register-button {
    text-align: center;
    margin: 20px 0;
}

.chanko-register-btn {
    display: inline-block;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(to bottom, var(--main-color), var(--main-color-dark));
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.chanko-register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 120%;
    }
    100% {
        left: 120%;
    }
}

.chanko-register-btn:hover {
    background: linear-gradient(to bottom, var(--main-color-light), var(--main-color));
    color: #fff;
}

/* ログイン済み時 */
.chanko-login-welcome {
    margin-bottom: 15px;
}

.chanko-login-welcome p {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.chanko-mypage-btn,
.chanko-reserve-btn {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.chanko-mypage-btn {
    background: linear-gradient(to bottom, var(--main-color), var(--main-color-dark));
    color: #fff;
}

.chanko-mypage-btn:hover {
    background: linear-gradient(to bottom, var(--main-color-light), var(--main-color));
    color: #fff;
}

.chanko-reserve-btn {
    background: linear-gradient(to bottom, #4CAF50, #45a049);
    color: #fff;
}

.chanko-reserve-btn:hover {
    background: linear-gradient(to bottom, #5fbf63, #4CAF50);
    color: #fff;
}

/* 店舗情報 */
.chanko-shop-info {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chanko-shop-info p {
    text-align: left;
    width: auto;
}

.chanko-shop-hours {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.chanko-shop-hours i {
    color: var(--main-color);
    margin-right: 5px;
}

.chanko-shop-tel {
    font-size: 20px;
    font-weight: bold;
    color: #F21616;
    font-family: 'Fredoka One', cursive;
}

.chanko-shop-tel i {
    margin-right: 5px;
}

.chanko-shop-tel a {
    color: #F21616;
    text-decoration: none;
}

.chanko-shop-tel a:hover {
    text-decoration: underline;
}

/* ============================================
   ちゃんこグループ 右サイドバー バナースタイル
   ============================================ */

/* 右サイドバー全体のラッパー */
.chanko-sidebar-wrapper {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 10px;
}

/* 右サイドバー内の全画像に共通スタイル */
.col-lg-3.col-lg-push-3 img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
    display: block;
}

/* バナーエリア */
.col-lg-3.col-lg-push-3 #fc-bnr {
    margin-bottom: 10px !important;
}

.col-lg-3.col-lg-push-3 #fc-bnr img {
    width: 100%;
    border-radius: 10px;
}

/* グループ店舗一覧 */
.col-lg-3.col-lg-push-3 .group {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.col-lg-3.col-lg-push-3 .group .shop {
    flex: 0 0 calc(50% - 3px);
}

.col-lg-3.col-lg-push-3 .group .shop img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 5px;
}

/* PC用アイコンバナー（3列表示） */
#chanko-side-pc,
#chanko-side-pc > div,
.col-lg-3.col-lg-push-3 .hidden-xs .chanko-lazy-content {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    align-items: flex-start !important;
}

#chanko-side-pc .fc-ico,
.col-lg-3.col-lg-push-3 .hidden-xs .fc-ico {
    flex: 0 0 calc(50% - 3px) !important;
    width: calc(50% - 3px) !important;
    max-width: calc(50% - 3px) !important;
    margin-bottom: 5px !important;
    box-sizing: border-box !important;
}

.col-lg-3.col-lg-push-3 .fc-ico img {
    width: 100% !important;
    border-radius: 10px !important;
}

/* ============================================
   ちゃんこテーマ フッタースタイル
   ============================================ */

/* 通常フッター（店舗情報エリア）のテーマカラー - ちゃんこテーマ専用 */
div.module-extra-small.footer.bg-dark.chanko-footer-upper {
    background: var(--main-color) !important;
    background-color: var(--main-color) !important;
}

div.module-extra-small.footer.chanko-footer-upper .widget-title {
    color: #fff !important;
    border-bottom-color: rgba(255, 255, 255, 0.5) !important;
}

div.module-extra-small.footer.chanko-footer-upper .widget p,
div.module-extra-small.footer.chanko-footer-upper .widget a,
div.module-extra-small.footer.chanko-footer-upper .icon-list li a {
    color: #fff !important;
}

div.module-extra-small.footer.chanko-footer-upper .icon-list li a:hover {
    text-decoration: underline;
}

div.module-extra-small.footer.chanko-footer-upper .badge {
    background-color: #fff !important;
    color: var(--main-color) !important;
}

/* Copyrightフッターのテーマカラー */
.footer.chanko-footer-theme {
    background-color: #16162a !important;
}

.footer.chanko-footer-theme .copyright,
.footer.chanko-footer-theme .copyright a {
    color: rgba(255,255,255,0.5) !important;
}

.footer.chanko-footer-theme .copyright a:hover {
    color: #fff !important;
    text-decoration: none;
}

/* ちゃんこグループフッター */
.chanko-group-footer {
    background: var(--main-color);
    padding: 40px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.chanko-group-footer .container {
    max-width: 1200px;
}

/* タイトル */
.chanko-group-footer-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}
.chanko-group-footer-title-text {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    letter-spacing: 1px;
    white-space: nowrap;
}
.chanko-group-footer-title-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

/* ローディング */
.chanko-group-loading {
    text-align: center;
    padding: 40px 0;
}
.chanko-group-loading p {
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    margin-top: 14px;
}
.chanko-group-loading-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    margin: 0 auto;
    animation: chankoSpin 0.8s linear infinite;
}
@keyframes chankoSpin {
    to { transform: rotate(360deg); }
}

/* フッターグループ全体 */
.chanko-group-footer #footer-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* 各リンクボックス（4列表示） */
.chanko-group-footer .link_box {
    flex: 0 0 calc(25% - 12px);
    width: calc(25% - 12px);
    box-sizing: border-box;
}

/* 外部読み込みコンテンツの背景を強制リセット */
.chanko-group-footer #footer-group,
.chanko-group-footer #footer-group *,
.chanko-group-footer .link_box,
.chanko-group-footer .link_box > div,
.chanko-group-footer .link_box ul {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* エリアタイトル */
.chanko-group-footer .link_box > div[class^="area_"] {
    padding: 8px 14px !important;
    color: #fff !important;
    background: rgba(255,255,255,0.08) !important;
    margin-bottom: 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 8px 8px 0 0 !important;
    border: none !important;
    border-bottom: 2px solid rgba(255,123,147,0.4) !important;
}

.chanko-group-footer .link_box > div[class^="area_"] p {
    margin: 0 !important;
    font-weight: 600 !important;
    color: #fff !important;
}

/* リストスタイル */
.chanko-group-footer .link_box ul {
    list-style: none !important;
    padding: 10px !important;
    margin: 0 0 20px 0 !important;
    border-radius: 5px !important;
    border: none !important;
}

.chanko-group-footer .link_box ul li {
    padding: 5px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    background: transparent !important;
}

.chanko-group-footer .link_box ul li:last-child {
    border-bottom: none !important;
}

.chanko-group-footer .link_box ul li a {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px !important;
    display: block !important;
    transition: color 0.3s ease !important;
    background: transparent !important;
}

.chanko-group-footer .link_box ul li a:hover {
    color: rgba(255,255,255,0.7) !important;
}

/* レスポンシブ対応（タブレット） */
@media (max-width: 991px) {
    .chanko-group-footer .link_box {
        flex: 0 0 calc(50% - 8px);
        width: calc(50% - 8px);
    }
}
