@charset "UTF-8";
/* 模擬店オリジナル配色設定 */
body{
    background: linear-gradient(135deg, #FFECB3 0%, #FFD54F 50%, #FFB300 100%);
    background-attachment: fixed;
    color: #4E342E;
}

/* 星空アニメーションの無効化 */
body::before,
body::after,
.main::after {
    display: none !important;
}

/* ヘッダーの調整 */
header {
    background-color: rgba(255, 253, 231, 0.95);
    border-bottom: 1px solid rgba(255, 179, 0, 0.3);
}

.header-logo a,
.nav-item a {
    color: #BF360C;
}

.header-logo a:hover,
.nav-item > a:hover {
    background-color: rgba(255, 179, 0, 0.1);
}

.menu-toggle span {
  background: #c25a3a;
}

.page-title {
    background: linear-gradient(135deg, #FF8F00, #E65100);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    box-shadow: 0px 5px 15px rgba(230, 81, 0, 0.3);
}

.breadcrumbs li,
.breadcrumbs a {
    color: #5D4037;
}

.breadcrumbs li:not(:last-child)::after {
    color: #5f5552;
}

.breadcrumbs span[aria-current="page"] {
    color: #5f5552;
}

.tab-btn {
    color: #E65100;
    background-color: rgba(255, 255, 256, 0.6);
}

.tab-btn.active {
    background-color: #E65100;
    color: #ffffff;
}

.tab-content-container {
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 5px 25px rgba(230, 81, 0, 0.15);
}

.tab-heading {
    color: #E65100;
    border-bottom: 3px solid #FFB300;
}

.footer_upper {
    background: #FF8F00;
}

.footer_lower {
    background-color: #BF360C;
}

.sitemap-title a,
.sitemap-list li a {
    color: #FFF3E0;
}

@media (max-width: 767px) {
  .header-nav {
    background-color: rgba(250, 235, 217, 0.95);
  }
}

.preparation-icon i {
    color: #ee854c;
}

.preparation-tab p {
    color: #6e2a05;
}

/* 模擬店検索 Tab 1 設定 (統一フォームレイアウト) */

button {
  font-family: inherit;
}

.btn-submit-container {
    text-align: center;
    margin-top: 20px;
}

.btn-submit{
    display: inline-block;
    padding: 10px 50px;
    background: linear-gradient(135deg, #FFB300 0%, #E65100 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(247, 228, 57, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-submit:visited,
.btn-submit:hover,
.btn-submit:active{
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(247, 228, 57, 0.6);
}

.search-form {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    align-items: center; 
    flex-wrap: nowrap; 
}

.search-form input[type="text"] {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #FFB300;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #fff;
    color: black;
    box-sizing: border-box;
    height: 48px; 
}

.search-form button,
.search-form a#clear-search-btn {
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    box-sizing: border-box;
    height: 48px; 
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    text-decoration: none; 
    white-space: nowrap;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.search-form button {
    background-color: #FFB300;
    color: #fff;
    border: none;
}

.search-form button:hover {
    background-color: #E65100;
}

.search-form a#clear-search-btn {
    background-color: #ffb30015;
    color: #FFB300;
    border: 2px solid #FFB300;
}

.search-form a#clear-search-btn:hover {
    background-color: #ffb30056;
    color: #FFB300;
}

.search-hint-box {
    margin: 20px 0 30px;
    padding: 20px;
    background-color: rgba(255, 247, 225, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(201, 174, 56, 0.3);
}

.hint-section h3 {
    margin: 0 0 15px;
    font-size: 1rem;
    color: #BF360C;
    border: none;
}

.hint-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hint-chip {
    padding: 6px 15px;
    background-color: #FFF;
    border: 1px solid #FFB300;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #E65100;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* --- 部門別ヒントチップのカラー配色設定 --- */
/* フレッシュマン（レッドパープル） */
.hint-chip[data-keyword="フレッシュマン"] { 
    background-color: #fff0f6; 
    color:#bd5183; 
    border: 1px solid #f067a6; 
}
.hint-chip[data-keyword="フレッシュマン"]:hover { 
    background-color: #f067a6; 
    color: #fff; 
}

/* がっつり（朱色） */
.hint-chip[data-keyword="がっつり"] { 
    background-color: #fff5f5; 
    color: #bc363a; 
    border: 1px solid #ef454a; 
}
.hint-chip[data-keyword="がっつり"]:hover { 
    background-color: #ef454a; 
    color: #fff; 
}

/* IFF（山吹色） */
.hint-chip[data-keyword="IFF"] { 
    background-color: #fffbeb; 
    color: #7d560B; 
    border: 1px solid #fcaf17; 
}
.hint-chip[data-keyword="IFF"]:hover { 
    background-color: #fcaf17; 
    color: #fff; 
}

/* 肉料理（マリーゴールド） */
.hint-chip[data-keyword="肉料理"] { 
    background-color: #fff9f2; 
    color: #b76e1e; 
    border: 1px solid #f79428; 
}
.hint-chip[data-keyword="肉料理"]:hover { 
    background-color: #f79428; 
    color: #fff; 
}

/* デザート・ドリンク（ベゴニア） */
.hint-chip[data-keyword="デザート・ドリンク"] { 
    background-color: #fff5f5; 
    color: #b3534c; 
    border: 1px solid #f37167; 
}
.hint-chip[data-keyword="デザート・ドリンク"]:hover { 
    background-color: #f37167; 
    color: #fff; 
}

/* 麺（リーフグリーン） */
.hint-chip[data-keyword="麺"] { 
    background-color: #f4f9ee; 
    color: #5f7a3a; 
    border: 1px solid #91ba58; 
}
.hint-chip[data-keyword="麺"]:hover { 
    background-color: #91ba58; 
    color: #fff; 
}

/* ふっとう（アップルグリーン） */
.hint-chip[data-keyword="ふっとう"] { 
    background-color: #f4faf3; 
    color: #5c7b56; 
    border: 1px solid #96c78c; 
}
.hint-chip[data-keyword="ふっとう"]:hover { 
    background-color: #96c78c; 
    color: #fff; 
}

.iff-description-box {
    margin: 20px 0 30px;
    padding: 20px;
    background-color: rgba(255, 247, 225, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(201, 174, 56, 0.3);
}

.search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.search-item {
    background-color: #fff;
    border: 1px solid rgba(255, 179, 0, 0.2);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.08);
    display: flex;
    flex-direction: column;
}

/* --- 部門別：検索カード枠線・要素の色分け設定 --- */

/* フレッシュマン */
.search-item.theme-freshman { border: 2px solid #f0bbd3; }
.search-item.theme-freshman h3 { color: #f067a6; }
.search-item.theme-freshman p strong { color: #f067a6; }

/* がっつり */
.search-item.theme-filling { border: 2px solid #efbdbe; }
.search-item.theme-filling h3 { color: #ef454a; }
.search-item.theme-filling p strong { color: #ef454a; }

/* IFF  */
.search-item.theme-iff { border: 2px solid #fceac7; }
.search-item.theme-iff h3 { color: #fcaf17; }
.search-item.theme-iff p strong { color: #fcaf17; }

/* 肉料理 */
.search-item.theme-meat { border: 2px solid #f7dbbc; }
.search-item.theme-meat h3 { color: #f79428; }
.search-item.theme-meat p strong { color: #f79428; }

/* デザート・ドリンク  */
.search-item.theme-dessert { border: 2px solid #f3c0bc; }
.search-item.theme-dessert h3 { color: #f37167; }
.search-item.theme-dessert p strong { color: #f37167; }

/* 麺 */
.search-item.theme-noodle { border: 2px solid #a8ba90; }
.search-item.theme-noodle h3 { color: #91ba58; }
.search-item.theme-noodle p strong { color: #91ba58; }

/* ふっとう */
.search-item.theme-futto { border: 2px solid #9ec796; }
.search-item.theme-futto h3 { color: #96c78c; }
.search-item.theme-futto p strong { color: #96c78c; }


.search-image {
    width: 100%;
    height: 180px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: transparent;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; 
    transition: transform 0.3s ease;
    display: block;
}

.search-item h3 {
    margin: 0 0 15px;
    color: #E65100;
    font-size: 1.25rem;
    border: none;
    padding: 0;
}

.search-item p {
    margin: 6px 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.search-item strong {
    color: #BF360C; /* デフォルト色（未分類時用） */
}

.search-item .item-footer {
    margin-top: auto;
    padding-top: 20px;
}

.search-item .vote-link {
    display: block;
    text-align: center;
    color: #E65100;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.search-item .vote-link:hover {
    text-decoration: underline;
}

.vote-button {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.vote-button:hover {
    background-color: #388E3C;
}

.disabled {
    width: 100%;
    padding: 12px;
    background-color: #ccc;
    color: #666;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: not-allowed;
}

.modal {
    display: none;
    position: fixed;
    z-index: 200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-content h3 {
    margin-top: 0;
    color: #BF360C;
    border: none;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 25px;
}

.modal-button {
    padding: 10px 25px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.confirm-button {
    background-color: #4CAF50;
    color: white;
}

.cancel-button {
    background-color: #f44336;
    color: white;
}

/*レスポンシブ対応*/
@media (max-width: 767px) {
    .search-results {
        grid-template-columns: 1fr;
    }
    
    .search-form {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .search-form input[type="text"] {
        width: 100%;
        flex: none;
    }
    
    .search-form button,
    .search-form a#clear-search-btn {
        width: 100%;
    }
}

/* 模擬店マップ Tab2 設定 */

#tab2 h3 {
    margin-top: 30px;
    border-left: 6px solid #FF8F00;
    color: #E65100;
}

#tab2 .tab-text {
    position: relative;
    z-index: 1;
}

#tab2 .clickable-img {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 20px auto;
    cursor: zoom-in;
    transition: opacity .2s ease;
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
}

#tab2 .clickable-img:hover {
    opacity: .9;
}

#tab2 .tab-text::before,
#tab2 .tab-text::after {
    pointer-events: none !important;
}

.img-modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,.88);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity .25s ease,
        visibility .25s ease;
    z-index: 100;
    cursor: zoom-out;
}

.img-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-photo {
    display: block;
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    transform: scale(.95);
    transition: transform .25s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,.4);
    pointer-events: none;
}

.img-modal.open .modal-photo {
    transform: scale(1);
}
/* 模擬店グランプリ Tab 3 設定 */

#tab3 .grandprix-top-visual {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

#tab3 .grandprix-top-visual img {
    max-width: 100%;
    height: auto;
    max-height: 250px;
    display: block;
    margin: 0 auto;
}

#tab3 .highlight-box {
    background-color: rgba(255, 143, 0, 0.1);
    color: #BF360C;
    font-weight: bold;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.8;
    border: 1px dashed #E65100;
}

#tab3 .grandprix-section {
    margin-bottom: 40px;
}

#tab3 h3 {
    margin-top: 30px;
    border-left: 6px solid #FF8F00;
    color:#E65100;
}

#tab3 p {
    margin-bottom: 15px;
}

#tab3 .grandprix-map-box {
    margin-top: 20px;
    text-align: center;
}

#tab3 .grandprix-map-box img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#tab3 .search-link {
    display: block;
    text-align: center;
    text-decoration: none !important;
    border-bottom: none !important;
    width: 80%;
    max-width: 400px;
    margin: 25px auto;
    padding: 1rem 2rem;
    border-radius: 50px;
    background-color: #FFA000;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 0 #FF6F00;
}

#tab3 .search-link:hover {
    transform: translateY(3px);
    box-shadow: 0 3px 0 #FF6F00;
    background-color: #FFB300;
    text-decoration: none !important;
}

#tab3 .search-link::after {
    display: none !important;
}

#tab3 .depart-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0;
    list-style: none;
    margin: 30px 0;
}

#tab3 .depart-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(33.33% - 20px);
    max-width: 180px;
    margin-bottom: 20px;
}

#tab3 .depart-item p {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #5D4037;
}

#tab3 .depart-item a {
    margin-top: auto;
    text-decoration: none !important;
    border-bottom: none !important;
    display: inline-block;
}

#tab3 .depart-item a:hover {
    text-decoration: none !important;
    border-bottom: none !important;
}

#tab3 .depart-item a::after {
    display: none !important;
}

#tab3 .depart-item img {
    width: 140px;
    height: auto;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
}

#tab3 .depart-item a:hover img {
    transform: scale(1.15);
}

#tab3 .sub-info {
    font-size: 0.95rem;
    color: #5D4037;
    background: rgba(255, 248, 225, 0.8);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #FFB300;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    #tab3 .grandprix-top-visual-title {
        font-size: 1.8rem;
    }
    
    #tab3 .depart-item {
        width: calc(50% - 10px);
        max-width: none;
    }
    
    #tab3 .depart-item img {
        width: 100%;
        max-width: 120px; 
    }
    
    #tab3 .depart-item p {
        font-size: 1rem;
        height: auto;
        margin-bottom: 5px;
    }
    
    #tab3 .search-link {
        width: 100%;
    }
}

/* ページトップへ戻るボタン */
.pagetop-btn {
  position: fixed;
  width: 75px;
  height: 75px;
  border: solid 1px #fbdc97;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  right: 25px;
  bottom: 25px;
  z-index: 99;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.pagetop-btn::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-left: 2px solid #666059;
  border-top: 2px solid #666059;
  transform: rotate(45deg);
  margin-top: 4px;
}

.pagetop-btn::after {
  content: "PAGE\A TOP";
  white-space: pre;
  text-align: center;
  font-size: 12px;
  color: #666059;
  font-weight: 700;
  margin-top: 2px;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.pagetop-btn.visible {
  opacity: 1;
  transform: translateY(0);
}
