@charset "UTF-8";
@import url('css/layout-ikemen.css?ver=20260830-4');

/*!
Theme Name: tachi-nomi.com 本番作業テーマ
Description: tachi-nomi.com の本番作業用テーマ。正常確認済みの基準版を維持し、機能を統合して更新します。
Theme URI: https://tachi-nomi.com/
Author: Hisae Komatsu
Author URI: https://nelog.jp/
Template: cocoon-master
Version: 1.3.0-main-rating
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

/* =====================
   タブレット表示（1200px以下）
===================== */
@media (max-width: 1200px) {
  .header-inner {
    max-width: 900px !important;
  }

  .logo-area img {
    height: 50px;
  }

  .main-nav .my-custom-submenu {
    top: 152%;
  }
}

/* 1023px以下（タブレット・スマホ対応） */
@media screen and (max-width: 1023px) {
  body {
    overflow-x: hidden !important;
    position: relative !important;
    width: 100% !important;
  }

  .site-content {
    width: 100%;
    margin: 0 auto;
  }

  .wrap {
    width: 100% !important;
    margin: 0 auto;
    display: block;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .main,
  .sidebar {
    width: 100%;
  }

  main.main,
  div.sidebar {
    padding: 0;
  }

  .main-nav .my-custom-submenu {
    top: 138%;
  }

  /* イケメンスライダーFVの幅 */
  .ikemen-slider {
    width: 100% !important;
  }

  #sidebar-ikemen {
    width: 100% !important;
  }

  .toppage-title.is-top::before {
    left: calc(50% - 27px) !important;
  }

  .intro-box {
    width: 100% !important;
  }

  .news-container {
    width: 100% !important;
  }

  .main-request {
    width: 98%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 910px) {
  .header-inner {
    width: 98% !important;
    max-width: 900px !important;
  }

  .btn-login {
    padding: 7px 10px;
  }

  .logo-area img {
    height: 45px;
  }

  .main-request {
    width: 98%;
    margin: 0 auto;
  }
}

/* 834px以下 */
@media screen and (max-width: 834px) {
  body {
    overflow-x: hidden !important;
    position: relative !important;
    width: 100% !important;
  }

  .header-inner {
    width: 100% !important;
    max-width: 750px !important;
  }

  .login-buttons {
    gap: 7px;
  }

  .btn-login {
    padding: 7px 9px;
  }

  .main-nav {
    margin-right: 33px;
  }

  .logo-area img {
    height: 41px !important;
  }

  .main-nav .nav-list li a {
    font-size: 13px;
  }

  .site-content {
    width: 100%;
    margin: 0 auto;
  }

  .slick-dots {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .header-inner {
    position: relative;
  }

  .logo-area img {
    height: 50px;
  }

  .custom-header {
    padding: 12px;
  }

  .header-inner .sp-menu-toggle {
    display: block !important;
    width: 42px !important;
    height: 35px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 10001 !important;
    margin-left: auto !important;
    padding: 0 !important;
  }

  .sp-menu-toggle span {
    display: block !important;
    width: 30px !important;
    height: 3px !important;
    background-color: #333 !important;
    margin: 6px auto !important;
    transition: all 0.3s ease !important;
  }

  body .sp-menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px) !important;
    background-color: #333 !important;
  }

  body .sp-menu-toggle.open span:nth-child(2) {
    opacity: 0 !important;
  }

  body .sp-menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -9px) !important;
    background-color: #333 !important;
  }

  .header-inner .sp-menu {
    display: block !important;
    position: absolute !important;
    top: 64px !important;
    right: -103% !important;
    width: 100% !important;
    height: calc(100vh - 7rem) !important;
    background: #ece9e4;
    padding: 20px !important;
    transition: right 0.4s ease !important;
    z-index: 10000 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .sp-menu .sub-menu {
    display: none;
  }

  .header-inner .sp-menu.active {
    right: -2rem !important;
  }

  .sp-menu .nav-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }

  .sp-menu .nav-list a {
    text-decoration: none !important;
    color: #333 !important;
    font-size: 16px !important;
    display: block !important;
  }

  .sp-menu .login-buttons {
    display: flex !important;
    gap: 10px !important;
    margin: 30px auto 0 !important;
    width: 100%;
  }

  .btn-login {
    width: 80%;
    text-align: center;
  }

  .sp-nav {
    margin: 40px auto 0;
    width: 100%;
  }

  .sp-nav .nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .sp-nav .nav-list li {
    border-bottom: 1px solid #ddd;
  }

  .sp-nav .nav-list li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
  }

  .sp-nav .sub-menu {
    background: #f4f4f4;
    padding-left: 20px;
  }

  .sp-nav .sub-menu li a {
    font-size: 14px;
    color: #666;
  }

  .sp-menu .my-custom-submenu {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
    display: block !important;
  }

  .sp-menu .my-custom-submenu.is-open {
    max-height: 500px;
  }

  .sp-menu .menu-item-has-children > a {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 40px;
    text-decoration: none;
    color: #333;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .sp-menu .menu-item-has-children > a::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transition: transform 0.3s ease;
    pointer-events: none;
  }

  .sp-menu .menu-item-has-children > a.is-active::after {
    transform: translateY(-50%) rotate(225deg);
  }

  .sp-menu .login-buttons,
  .sp-menu .sp-nav {
    box-sizing: border-box;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-menu-title {
    font-size: 1.1rem;
  }

  .footer-menu-list a {
    font-size: 12px;
  }
}

/* iPhone・スマホ */
@media screen and (max-width: 600px) {
  .taikai-container {
    padding: 20px 15px;
    margin: 0 auto 50px;
  }

  .delete-btn,
  .btn-back {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 14px 8px !important;
    font-size: 16px !important;
  }
}

/* 480px以下 */
@media screen and (max-width: 480px) {
  html,
  body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }

  h1.main-conts_touroku {
    font-size: 1.4rem !important;
  }

  .breadcrumb-area {
    margin: 10px 0 0;
    left: 1%;
    width: 100%;
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 5px;
  }

  .register-page .register-form {
    margin: 20px auto;
  }
}

@media (max-width: 414px) {
  .header-inner .sp-menu {
    top: 128% !important;
    right: -105% !important;
    padding: 8px 10px !important;
  }

  .btn-login {
    width: 47% !important;
    text-align: center;
    padding: 7px 10px;
    font-size: 14px;
  }

  .site-content {
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  main.main,
  div.sidebar {
    padding: 0;
    margin: 0;
  }

  h1.main-conts_touroku::before {
    left: 50% !important;
  }

  /* イケメン・一般会員様登録ページ／ログインページ */
  .register-page .register-form {
    margin-top: 50px;
    width: 96% !important;
  }

  table:not(.has-border-color) :where(th, td) {
    border: 1px solid var(--cocoon-x-thin-color) !important;
  }
}

/* =====================================================
   トップ検索フォーム中央揃え・上下余白調整
===================================================== */
body.home .searchbox {
  height: auto !important;
  min-height: 0 !important;
  padding: 20px 0 18px !important;
}

body.home .searchbox_text {
  margin: 0 0 18px !important;
  padding: 0 !important;
}

body.home .searchbox-inner {
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  text-align: center !important;
}

body.home .ikemen-search-form {
  display: inline-block !important;
  width: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

body.home .ikemen-search-row {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 14px !important;
  width: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  flex-wrap: nowrap !important;
}

body.home .ikemen-search-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.home .ikemen-search-item label {
  margin: 0 0 10px !important;
  text-align: center !important;
  line-height: 1.4 !important;
}

body.home .search-btn-wrap {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
}

body.home .ikemen-search-button {
  height: 50px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

/* スマホでは検索欄とボタンを縦並びにする */
@media screen and (max-width: 600px) {
  body.home .ikemen-search-form {
    display: block !important;
    width: 100% !important;
  }

  body.home .ikemen-search-row {
    width: 100% !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
  }

  body.home .ikemen-search-item,
  body.home .search-btn-wrap {
    width: 100% !important;
    max-width: 320px !important;
  }

  body.home .select-wrap,
  body.home .select-wrap select,
  body.home .ikemen-search-button {
    width: 100% !important;
  }
}

body.single-ikemen #main table td {
  background-color: #ffffff !important;
  border-bottom: 1px solid #c8c1b7 !important;
}

/* =========================
   ヘッダーメニューを1段でクールに整える
========================= */

/* メニューバー全体 */
#global-navi,
.global-nav,
.gnav,
#header-menu {
  background: linear-gradient(to bottom, #2c2c2c, #1f1f1f);
  border-top: 1px solid #3a3a3a;
  border-bottom: 1px solid #111;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* ul を横一列に */
#global-navi ul,
.global-nav ul,
.gnav ul,
#header-menu ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* li */
#global-navi ul li,
.global-nav ul li,
.gnav ul li,
#header-menu ul li {
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}

/* a */
#global-navi ul li a,
.global-nav ul li a,
.gnav ul li a,
#header-menu ul li a {
  display: block;
  padding: 16px 24px;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: all 0.25s ease;
  position: relative;
}

/* 区切り線 */
#global-navi ul li + li a,
.global-nav ul li + li a,
.gnav ul li + li a,
#header-menu ul li + li a {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

/* ホバー時 */
#global-navi ul li a:hover,
.global-nav ul li a:hover,
.gnav ul li a:hover,
#header-menu ul li a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f3c45b;
}

/* 現在のページ */
#global-navi ul li.current-menu-item a,
#global-navi ul li.current_page_item a,
.global-nav ul li.current-menu-item a,
.global-nav ul li.current_page_item a,
.gnav ul li.current-menu-item a,
.gnav ul li.current_page_item a,
#header-menu ul li.current-menu-item a,
#header-menu ul li.current_page_item a {
  color: #f3c45b;
  background: rgba(255, 255, 255, 0.05);
}

/* 現在ページ・ホバー時の下線演出 */
#global-navi ul li a::after,
.global-nav ul li a::after,
.gnav ul li a::after,
#header-menu ul li a::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 8px;
  height: 2px;
  background: #f3c45b;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

#global-navi ul li a:hover::after,
#global-navi ul li.current-menu-item a::after,
#global-navi ul li.current_page_item a::after,
.global-nav ul li a:hover::after,
.global-nav ul li.current-menu-item a::after,
.global-nav ul li.current_page_item a::after,
.gnav ul li a:hover::after,
.gnav ul li.current-menu-item a::after,
.gnav ul li.current_page_item a::after,
#header-menu ul li a:hover::after,
#header-menu ul li.current-menu-item a::after,
#header-menu ul li.current_page_item a::after {
  transform: scaleX(1);
}

/* 画面が狭い時も1段を維持したい場合 */
#global-navi,
.global-nav,
.gnav,
#header-menu {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#global-navi::-webkit-scrollbar,
.global-nav::-webkit-scrollbar,
.gnav::-webkit-scrollbar,
#header-menu::-webkit-scrollbar {
  height: 6px;
}

#global-navi::-webkit-scrollbar-thumb,
.global-nav::-webkit-scrollbar-thumb,
.gnav::-webkit-scrollbar-thumb,
#header-menu::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
}

/* ========================================
   スマホメニューのサブ項目を
   ○ → 金の ▶ に変更
======================================== */
@media screen and (max-width: 768px) {

  /* デフォルトの丸印を消す */
  .sp-menu .sub-menu,
  .sp-menu .sub-menu ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .sp-menu .sub-menu li {
    list-style: none !important;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
  }

  .sp-menu .sub-menu li::marker {
    content: "" !important;
  }

  /* リンクの見た目 */
  .sp-menu .sub-menu li a {
    position: relative;
    display: block;
    padding: 16px 20px 16px 42px !important;
    text-decoration: none;
    color: #333 !important;
    border-bottom: 1px solid #e5e5e5;
    background: #f8f8f8;
  }

  /* 金の ▶ を付ける */
  .sp-menu .sub-menu li a::before {
    content: "▶";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    line-height: 1;
    color: #d8a23c !important;
  }
}

/* ========================================
   スマホメニュー
   都道府県（3階層目）を右へずらす
======================================== */
@media screen and (max-width: 768px) {

  /* 3階層目のリンク */
  .sp-menu .sub-menu .sub-menu li a {
    padding-left: 62px !important;
  }

  /* 3階層目の金色▶も右へ */
  .sp-menu .sub-menu .sub-menu li a::before {
    left: 38px !important;
  }
}

/* ========================================
   スマホメニュー
   開いたサブメニューを内容分だけ縦に伸ばす
======================================== */
@media screen and (max-width: 768px) {

  /* 開いているメニューの高さ制限を解除 */
  .sp-menu .sub-menu.open,
  .sp-menu .sub-menu.is-open,
  .sp-menu .sub-menu.active,
  .sp-menu li.open > .sub-menu,
  .sp-menu li.is-open > .sub-menu,
  .sp-menu li.active > .sub-menu {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* 地域の下にある都道府県メニューも制限解除 */
  .sp-menu .sub-menu .sub-menu {
    height: auto;
    overflow: hidden;
  }

  .sp-menu .sub-menu .sub-menu.open,
  .sp-menu .sub-menu .sub-menu.is-open,
  .sp-menu .sub-menu .sub-menu.active,
  .sp-menu .sub-menu li.open > .sub-menu,
  .sp-menu .sub-menu li.is-open > .sub-menu,
  .sp-menu .sub-menu li.active > .sub-menu {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* スマホメニュー全体も縦スクロール可能にする */
  .sp-menu,
  .sp-menu-inner,
  .mobile-menu,
  .mobile-menu-inner {
    max-height: calc(100vh - 90px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}

/* =====================================================
   イケメン一覧カード：年齢・都道府県
===================================================== */
.ikemen-meta-area {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  gap: 7px !important;
  width: 100% !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

.meta-age-ikemen {
  display: inline-block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #444 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  white-space: nowrap !important;
}

.meta-area-ikemen {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 3px 10px !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  background: #b4872e !important;
  border: 1px solid #8f681d !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.18) !important;
}
/* =====================================================
   イケメン一覧カード：LINEアイコン
===================================================== */
.ikemen-image {
  position: relative !important;
}

.ikemen-line-icon {
  position: absolute !important;
  top: auto !important;
  left: auto !important;
  right: 5px !important;
  bottom: 5px !important;

  display: block;
  width: 38px;
  height: 38px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  z-index: 5;
}

.ikemen-line-icon img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  object-fit: cover;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .ikemen-line-icon {
    top: auto !important;
    left: auto !important;
    right: 3px !important;
    bottom: 3px !important;

    width: 34px;
    height: 34px;
    border-radius: 7px;
  }
}

/* =====================================================
   イケメン一覧カード：彼氏ランク
   写真左下にボタン風で表示
===================================================== */
.ikemen-rank-badge {
  position: absolute !important;
  top: auto !important;
  right: auto !important;
  left: 5px !important;
  bottom: 5px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 76px;
  min-height: 30px;
  margin: 0 !important;
  padding: 5px 12px !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.03em;
  white-space: nowrap;
  border-radius: 999px;
  box-sizing: border-box;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.28);
  z-index: 6;
}

/* スタンダード：青 */
.ikemen-rank-badge.rank-standard {
  background: linear-gradient(135deg, #5b7891, #334f68) !important;
  border: 1px solid #294257 !important;
}

/* プラチナ：銀 */
.ikemen-rank-badge.rank-platinum {
  color: #333333 !important;
  background: linear-gradient(135deg, #f7f7f7, #aeb7c1) !important;
  border: 1px solid #8f99a5 !important;
}

/* プレミアム：金 */
.ikemen-rank-badge.rank-premium {
  background: linear-gradient(135deg, #d9ae47, #916516) !important;
  border: 1px solid #74500d !important;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .ikemen-rank-badge {
    left: 3px !important;
    bottom: 3px !important;
    min-width: 68px;
    min-height: 27px;
    padding: 4px 9px !important;
    font-size: 11px !important;
  }
}

/* =====================================================
   Android・スマホのイケメン一覧を2列に固定
===================================================== */
@media screen and (max-width: 768px) {

  body.post-type-archive-ikemen .ikemen-grid,
  body.tax-area_category .ikemen-grid,
  body.tax-date_category .ikemen-grid,
  body.home .ikemen-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  body.post-type-archive-ikemen .ikemen-card,
  body.tax-area_category .ikemen-card,
  body.tax-date_category .ikemen-card,
  body.home .ikemen-card {
    display: flex !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body.post-type-archive-ikemen .ikemen-info,
  body.tax-area_category .ikemen-info,
  body.tax-date_category .ikemen-info,
  body.home .ikemen-info {
    padding: 8px !important;
  }
}

/* =====================================================
   PageSpeed CLS対策
   FVスライダー初期化前のレイアウト崩れ防止
===================================================== */

body.home .ikemen-slider-wrap {
  width: 100%;
  aspect-ratio: 8 / 3;
  overflow: hidden;
}

body.home .ikemen-slider {
  width: 100%;
  max-width: 1280px;
  aspect-ratio: 8 / 3;
  margin: 0 auto;
  overflow: hidden;
}

/* Slickが起動する前は1枚目だけ表示 */
body.home .ikemen-slider:not(.slick-initialized) > div:not(:first-child) {
  display: none !important;
}

/* 1枚目の高さを最初から確保 */
body.home .ikemen-slider:not(.slick-initialized) > div:first-child {
  display: block !important;
  width: 100%;
  aspect-ratio: 8 / 3;
}

body.home .ikemen-slider img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 8 / 3;
  object-fit: cover;
}

/* =========================================================
   tachi-nomi.com ブランド化 Phase 1
   既存機能は触らず、表側のブランド表示だけを切り替える
========================================================= */
.tachinomi-logo{
  display:inline-flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  line-height:1;
  text-decoration:none;
}
.tachinomi-logo-main{
  display:block;
  font-size:30px;
  font-weight:800;
  letter-spacing:.08em;
  color:#1f2933;
}
.tachinomi-logo-sub{
  display:block;
  margin-top:6px;
  font-size:10px;
  font-weight:700;
  letter-spacing:.22em;
  color:#7a6a55;
}
.tachinomi-hero{
  width:100%;
  box-sizing:border-box;
  padding:64px 24px;
  background:linear-gradient(135deg,#f7f1e7 0%,#ffffff 55%,#efe5d8 100%);
  border-bottom:1px solid rgba(70,55,35,.10);
}
.tachinomi-hero-inner{
  width:min(1080px,100%);
  margin:0 auto;
  text-align:center;
}
.tachinomi-hero-kicker{
  margin:0 0 12px;
  font-size:14px;
  font-weight:700;
  letter-spacing:.14em;
}
.tachinomi-hero h1{
  margin:0;
  font-size:clamp(36px,5vw,64px);
  line-height:1.22;
  letter-spacing:.04em;
}
.tachinomi-hero-copy{
  max-width:760px;
  margin:20px auto 0;
  font-size:17px;
  line-height:1.9;
}
.tachinomi-hero-points{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin-top:26px;
}
.tachinomi-hero-points span{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 18px;
  border:1px solid rgba(70,55,35,.18);
  border-radius:999px;
  background:rgba(255,255,255,.84);
  font-size:14px;
  font-weight:700;
}
/* 旧イケメン一覧への誘導画像はCPT切替完了まで非表示 */
.ikemen-archives{
  display:none !important;
}
/* 旧コンセプト画像は立ち飲み用ビジュアル完成まで非表示 */
.rentalcomcept .intro-character{
  display:none !important;
}
.rentalcomcept .intro-content{
  width:100% !important;
  max-width:none !important;
}
.sp-only{display:none;}
@media screen and (max-width:768px){
  .tachinomi-logo-main{font-size:23px;}
  .tachinomi-logo-sub{font-size:8px;letter-spacing:.16em;}
  .tachinomi-hero{padding:42px 18px;}
  .tachinomi-hero-copy{font-size:15px;line-height:1.8;}
  .tachinomi-hero-points{gap:8px;}
  .tachinomi-hero-points span{min-height:36px;padding:0 13px;font-size:12px;}
  .sp-only{display:block;}
}

/* =========================================================
   tachi-nomi.com Phase2E
   立ち飲み店舗詳細ページ専用
   Cocoon標準SNS/本文レイアウトを使わず、店舗情報をシンプル表示
========================================================= */
body.single-tachinomi{
  background:#f6f3ee;
}
body.single-tachinomi #container{
  background:#f6f3ee;
}
.tn-shop-page{
  width:100%;
  box-sizing:border-box;
  padding:34px 18px 64px;
  color:#262626;
}
.tn-shop-wrap{
  width:min(1080px,100%);
  margin:0 auto;
}
.tn-shop-breadcrumb{
  margin:0 0 16px;
  font-size:13px;
  color:#70695f;
}
.tn-shop-breadcrumb a{
  color:#5b554d;
  text-decoration:none;
}
.tn-shop-breadcrumb span{
  margin:0 7px;
  color:#aaa29a;
}
.tn-shop-header{
  margin:0 0 18px;
}
.tn-shop-title{
  margin:0;
  font-size:clamp(28px,4vw,44px);
  line-height:1.3;
  letter-spacing:.02em;
}
.tn-shop-catch{
  margin:10px 0 0;
  color:#625d56;
  font-size:16px;
  line-height:1.8;
}
.tn-shop-status{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  margin-top:12px;
  padding:0 12px;
  border-radius:999px;
  background:#ece7df;
  font-size:13px;
  font-weight:700;
}
.tn-shop-status.is-open{
  background:#e8f5e9;
  color:#23652a;
}
.tn-shop-status.is-closed{
  background:#fbe9e7;
  color:#8d2c20;
}
.tn-shop-main{
  display:grid;
  grid-template-columns:minmax(0,1.16fr) minmax(320px,.84fr);
  gap:22px;
  align-items:start;
}
.tn-shop-card{
  overflow:hidden;
  border:1px solid #e4ddd3;
  border-radius:16px;
  background:#fff;
  box-shadow:0 7px 26px rgba(39,31,22,.06);
}
.tn-shop-photo{
  width:100%;
  aspect-ratio:16/10;
  background:#e9e4dc;
}
.tn-shop-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.tn-shop-photo-empty{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  color:#8b8379;
  font-weight:700;
  letter-spacing:.08em;
}
.tn-shop-rating{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  padding:17px 20px;
  border-top:1px solid #eee8df;
}
.tn-shop-stars{
  color:#c9931c;
  font-size:21px;
  letter-spacing:1px;
  line-height:1;
}
.tn-shop-rating-score{
  font-size:21px;
  font-weight:800;
}
.tn-shop-rating-count,
.tn-shop-rating-pending{
  color:#777067;
  font-size:13px;
}
.tn-shop-facts{
  padding:6px 20px 18px;
}
.tn-shop-fact{
  display:grid;
  grid-template-columns:90px minmax(0,1fr);
  gap:12px;
  padding:12px 0;
  border-bottom:1px solid #f0ebe4;
}
.tn-shop-fact:last-child{
  border-bottom:0;
}
.tn-shop-fact dt{
  margin:0;
  color:#81786e;
  font-size:13px;
  font-weight:700;
}
.tn-shop-fact dd{
  margin:0;
  font-size:15px;
  line-height:1.65;
  overflow-wrap:anywhere;
}
.tn-shop-fact a{
  color:#315f8b;
  text-decoration:underline;
  text-underline-offset:3px;
}
.tn-shop-section{
  margin-top:22px;
  padding:22px;
  border:1px solid #e4ddd3;
  border-radius:16px;
  background:#fff;
  box-shadow:0 7px 26px rgba(39,31,22,.05);
}
.tn-shop-section h2{
  margin:0 0 16px;
  padding:0 0 10px;
  border-bottom:2px solid #c7a56a;
  font-size:21px;
  line-height:1.4;
}
.tn-shop-map{
  overflow:hidden;
  width:100%;
  min-height:330px;
  border-radius:12px;
  background:#eee9e1;
}
.tn-shop-map iframe{
  display:block;
  width:100%;
  height:380px;
  border:0;
}
.tn-shop-map-empty{
  display:flex;
  min-height:260px;
  align-items:center;
  justify-content:center;
  padding:24px;
  text-align:center;
  color:#746d64;
  line-height:1.8;
}
.tn-shop-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
.tn-shop-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 18px;
  border:1px solid #d5ccc0;
  border-radius:9px;
  background:#fff;
  color:#2e2b27 !important;
  font-size:14px;
  font-weight:700;
  text-decoration:none !important;
}
.tn-shop-btn.is-primary{
  border-color:#2f4e68;
  background:#2f4e68;
  color:#fff !important;
}
.tn-shop-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.tn-shop-tag{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 11px;
  border-radius:999px;
  background:#f0ece6;
  color:#4f4942;
  font-size:12px;
  font-weight:700;
}
.tn-shop-admin-edit{
  margin-top:18px;
  text-align:right;
  font-size:13px;
}
.tn-shop-admin-edit a{
  color:#655c52;
}
@media screen and (max-width:768px){
  .tn-shop-page{
    padding:24px 12px 42px;
  }
  .tn-shop-main{
    grid-template-columns:1fr;
    gap:14px;
  }
  .tn-shop-title{
    font-size:30px;
  }
  .tn-shop-catch{
    font-size:14px;
  }
  .tn-shop-section{
    margin-top:14px;
    padding:16px;
    border-radius:12px;
  }
  .tn-shop-facts{
    padding:5px 15px 14px;
  }
  .tn-shop-fact{
    grid-template-columns:78px minmax(0,1fr);
    gap:8px;
  }
  .tn-shop-map iframe{
    height:310px;
  }
  .tn-shop-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .tn-shop-btn{
    width:100%;
    padding:0 10px;
  }
}


/* =========================================================
   tachi-nomi.com Phase2F
   店舗一覧 / エリア一覧
========================================================= */
body.post-type-archive-tachinomi,
body.tax-tachinomi_area{
  background:#f6f3ee;
}
.tn-list-page{
  width:100%;
  box-sizing:border-box;
  padding:34px 18px 64px;
  color:#262626;
}
.tn-list-wrap{
  width:min(1120px,100%);
  margin:0 auto;
}
.tn-list-breadcrumb{
  margin:0 0 18px;
  font-size:13px;
  color:#70695f;
}
.tn-list-breadcrumb a{
  color:#5b554d;
  text-decoration:none;
}
.tn-list-breadcrumb span{
  margin:0 7px;
  color:#aaa29a;
}
.tn-list-header{
  position:relative;
  margin:0 0 24px;
  padding:26px 28px;
  border:1px solid #e3dcd2;
  border-radius:16px;
  background:#fff;
}
.tn-list-kicker{
  margin:0 0 5px;
  color:#9a7940;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
}
.tn-list-header h1{
  margin:0;
  font-size:clamp(28px,4vw,42px);
  line-height:1.3;
}
.tn-list-lead{
  margin:10px 0 0;
  color:#6a635b;
  font-size:14px;
  line-height:1.8;
}
.tn-list-count{
  display:inline-flex;
  margin:14px 0 0;
  padding:5px 11px;
  border-radius:999px;
  background:#f1ece4;
  color:#524b43;
  font-size:13px;
  font-weight:700;
}
.tn-shop-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.tn-list-card{
  overflow:hidden;
  margin:0;
  border:1px solid #e3dcd2;
  border-radius:15px;
  background:#fff;
  box-shadow:0 7px 24px rgba(39,31,22,.05);
}
.tn-list-card-link{
  display:block;
  height:100%;
  color:#262626 !important;
  text-decoration:none !important;
}
.tn-list-photo{
  position:relative;
  width:100%;
  aspect-ratio:4/3;
  background:#e9e4dc;
}
.tn-list-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.tn-list-photo-empty{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  color:#8b8379;
  font-weight:700;
  letter-spacing:.08em;
}
.tn-list-status{
  position:absolute;
  left:10px;
  top:10px;
  display:inline-flex;
  min-height:28px;
  align-items:center;
  padding:0 10px;
  border-radius:999px;
  background:rgba(255,255,255,.94);
  color:#27642c;
  font-size:12px;
  font-weight:800;
  box-shadow:0 3px 10px rgba(0,0,0,.08);
}
.tn-list-body{
  padding:15px 16px 16px;
}
.tn-list-area{
  margin:0 0 5px;
  color:#9a7940;
  font-size:12px;
  font-weight:800;
}
.tn-list-body h2{
  margin:0;
  font-size:20px;
  line-height:1.45;
}
.tn-list-catch{
  margin:7px 0 0;
  color:#6e675f;
  font-size:13px;
  line-height:1.65;
}
.tn-list-meta{
  display:flex;
  flex-direction:column;
  gap:5px;
  margin-top:12px;
  padding-top:11px;
  border-top:1px solid #eee8df;
  color:#4e4943;
  font-size:13px;
}
.tn-list-rating{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:5px;
  margin-top:10px;
  color:#777067;
  font-size:12px;
}
.tn-list-stars{
  color:#c9931c;
  font-size:16px;
  letter-spacing:.5px;
}
.tn-list-stars.is-empty{
  color:#b89c63;
}
.tn-list-pagination{
  margin-top:30px;
  text-align:center;
}
.tn-list-pagination .nav-links{
  display:flex;
  justify-content:center;
  gap:7px;
  flex-wrap:wrap;
}
.tn-list-pagination .page-numbers{
  display:inline-flex;
  min-width:40px;
  min-height:40px;
  align-items:center;
  justify-content:center;
  padding:0 10px;
  border:1px solid #d9d0c4;
  border-radius:8px;
  background:#fff;
  color:#3b3732;
  text-decoration:none;
}
.tn-list-pagination .page-numbers.current{
  border-color:#2f4e68;
  background:#2f4e68;
  color:#fff;
}
.tn-list-empty{
  padding:54px 20px;
  border:1px solid #e3dcd2;
  border-radius:15px;
  background:#fff;
  text-align:center;
  color:#726a61;
}
@media screen and (max-width:900px){
  .tn-shop-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media screen and (max-width:560px){
  .tn-list-page{ padding:22px 10px 44px; }
  .tn-list-header{ padding:20px 17px; border-radius:12px; }
  .tn-shop-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .tn-list-card{ border-radius:11px; }
  .tn-list-body{ padding:11px 10px 12px; }
  .tn-list-body h2{ font-size:15px; }
  .tn-list-catch{ font-size:11px; line-height:1.5; }
  .tn-list-meta{ font-size:11px; gap:3px; }
  .tn-list-rating{ font-size:10px; gap:3px; }
  .tn-list-stars{ font-size:13px; }
  .tn-list-status{ left:7px; top:7px; min-height:24px; padding:0 7px; font-size:10px; }
}


/* ===== tachi-nomi.com 5段階評価 ===== */
.tn-shop-stars.is-empty{
  color:#b9b1a7;
}
.tn-rating-box{
  padding:18px 20px 20px;
  border-top:1px solid #eee8df;
  background:#fffdf9;
}
.tn-rating-title{
  margin:0 0 10px;
  color:#312d28;
  font-size:15px;
  font-weight:800;
}
.tn-rating-notice{
  margin:0 0 10px;
  padding:9px 11px;
  border-radius:8px;
  background:#edf7ef;
  color:#24643a;
  font-size:13px;
  font-weight:700;
}
.tn-rating-stars-input{
  display:flex;
  align-items:center;
  gap:3px;
  width:max-content;
  max-width:100%;
}
.tn-rating-star-option{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:42px;
  margin:0;
  cursor:pointer;
  color:#d7d0c7;
  font-size:31px;
  line-height:1;
  transition:color .12s ease, transform .12s ease;
}
.tn-rating-star-option:hover{
  transform:translateY(-1px);
}
.tn-rating-star-option.is-on{
  color:#c9931c;
}
.tn-rating-star-option input{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  margin:-1px !important;
  padding:0 !important;
  overflow:hidden !important;
  clip:rect(0 0 0 0) !important;
  white-space:nowrap !important;
  border:0 !important;
}
.tn-rating-star-option:focus-within{
  outline:2px solid #80631b;
  outline-offset:2px;
  border-radius:6px;
}
.tn-rating-help,
.tn-rating-login{
  margin:8px 0 0;
  color:#777067;
  font-size:12px;
  line-height:1.6;
}
.tn-rating-login a{
  color:#315f8b;
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:3px;
}
.tn-rating-noscript-btn{
  margin-top:10px;
  padding:9px 14px;
  border:0;
  border-radius:7px;
  background:#4b433a;
  color:#fff;
  cursor:pointer;
}
@media screen and (max-width:480px){
  .tn-rating-box{padding:15px 15px 17px;}
  .tn-rating-star-option{width:34px;height:39px;font-size:29px;}
}

/* ===== 評価UI：星以外の文字が見えないように完全固定 ===== */
.tn-rating-star-option .tn-rating-star-glyph{
  display:block;
  width:100%;
  height:100%;
  line-height:42px;
  text-align:center;
  font-size:31px;
  font-weight:400;
}
@media screen and (max-width:480px){
  .tn-rating-star-option .tn-rating-star-glyph{
    line-height:39px;
    font-size:29px;
  }
}


/* ===== 電話番号認証（Firebase） ===== */
.tn-phone-verify-box{
  margin-top:4px;
  padding:15px;
  border:1px solid #e7ded2;
  border-radius:10px;
  background:#fff;
}
.tn-phone-verify-title{
  margin:0 0 5px;
  color:#312d28;
  font-size:15px;
  font-weight:800;
}
.tn-phone-verify-lead{
  margin:0 0 13px;
  color:#6e675f;
  font-size:12px;
  line-height:1.6;
}
.tn-phone-field{ margin:0 0 10px; }
.tn-phone-field label{
  display:block;
  margin:0 0 5px;
  color:#4a443e;
  font-size:12px;
  font-weight:700;
}
.tn-phone-field input{
  box-sizing:border-box;
  width:100%;
  min-height:44px;
  padding:9px 11px;
  border:1px solid #d8cec2;
  border-radius:7px;
  background:#fff;
  color:#27231f;
  font-size:16px;
}
.tn-phone-field input:focus{
  outline:2px solid rgba(49,95,139,.22);
  border-color:#315f8b;
}
.tn-phone-btn{
  min-height:42px;
  padding:9px 15px;
  border:0;
  border-radius:7px;
  background:#315f8b;
  color:#fff;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
}
.tn-phone-btn:hover{ opacity:.92; }
.tn-phone-btn:disabled{
  opacity:.55;
  cursor:not-allowed;
}
.tn-phone-code-step{ margin-top:13px; }
.tn-phone-status{
  min-height:1.5em;
  margin:10px 0 0;
  font-size:12px;
  font-weight:700;
  line-height:1.6;
}
.tn-phone-status.is-success{ color:#24643a; }
.tn-phone-status.is-error{ color:#b3261e; }
.tn-phone-privacy{
  margin:10px 0 0;
  color:#888078;
  font-size:10px;
  line-height:1.6;
}
.tn-phone-verified-badge{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  margin:0 0 8px;
  padding:3px 9px;
  border-radius:999px;
  background:#edf7ef;
  color:#24643a;
  font-size:11px;
  font-weight:800;
}
.tn-phone-verify-box.is-busy{ opacity:.86; }
@media screen and (max-width:480px){
  .tn-phone-verify-box{padding:13px;}
  .tn-phone-btn{width:100%;}
}

/* ===== 行った店 / 未訪問：一覧・地図 ===== */
.tn-visit-tools{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 18px;
  padding:12px 14px;
  border:1px solid #e5ddd3;
  border-radius:12px;
  background:#fff;
}
.tn-visit-filter{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
}
.tn-visit-filter-btn{
  min-height:36px;
  padding:7px 13px;
  border:1px solid #d8d0c5;
  border-radius:999px;
  background:#fff;
  color:#4a443e;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}
.tn-visit-filter-btn.is-active{
  border-color:#315f8b;
  background:#315f8b;
  color:#fff;
}
.tn-visit-filter-count{
  margin:0;
  color:#746d64;
  font-size:11px;
  white-space:nowrap;
}
.tn-visit-login-note{
  margin:0 0 18px;
  padding:11px 13px;
  border:1px solid #e5ddd3;
  border-radius:10px;
  background:#fff;
  color:#6d665e;
  font-size:12px;
  line-height:1.7;
}
.tn-visit-login-note a{
  color:#315f8b;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px;
}
.tn-visit-badge{
  position:absolute;
  top:7px;
  right:7px;
  z-index:3;
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:3px 8px;
  border-radius:999px;
  box-shadow:0 2px 8px rgba(0,0,0,.12);
  font-size:10px;
  font-weight:900;
  line-height:1;
}
.tn-visit-badge.is-visited{
  background:#2f7a4c;
  color:#fff;
}
.tn-visit-badge.is-unvisited{
  background:rgba(255,255,255,.94);
  color:#615b54;
  border:1px solid rgba(75,67,58,.18);
}
.tn-my-rating{
  margin:7px 0 0;
  color:#2f7a4c;
  font-size:10px;
  font-weight:800;
}
.tn-list-card[hidden]{
  display:none !important;
}
.tn-list-map-section{
  margin:0 0 22px;
  overflow:hidden;
  border:1px solid #e2d9cf;
  border-radius:14px;
  background:#fff;
}
.tn-list-map-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  padding:15px 16px 12px;
  border-bottom:1px solid #eee7de;
}
.tn-list-map-kicker{
  margin:0 0 2px;
  color:#9a7a37;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}
.tn-list-map-head h2{
  margin:0;
  color:#342f2a;
  font-size:18px;
  line-height:1.35;
}
.tn-map-legend{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  color:#676057;
  font-size:10px;
  font-weight:700;
}
.tn-map-legend > span{
  display:inline-flex;
  align-items:center;
  gap:5px;
}
.tn-legend-pin{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  border-radius:50%;
  font-style:normal;
  line-height:1;
}
.tn-legend-pin.is-visited{
  background:#2f7a4c;
  color:#fff;
  font-size:10px;
}
.tn-legend-pin.is-unvisited{
  background:#617b93;
}
.tn-list-map{
  width:100%;
  height:360px;
  background:#f1eee9;
}
.tn-map-div-icon{
  background:transparent !important;
  border:0 !important;
}
.tn-map-pin{
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border:3px solid #fff;
  border-radius:50% 50% 50% 0;
  box-shadow:0 2px 7px rgba(0,0,0,.28);
  transform:rotate(-45deg);
  color:#fff;
  font-size:13px;
  font-weight:900;
}
.tn-map-pin--visited{
  background:#2f7a4c;
}
.tn-map-pin--visited::before{
  content:'✓';
  transform:rotate(45deg);
  font-size:13px;
  line-height:1;
}
.tn-map-pin--visited{
  font-size:0;
}
.tn-map-pin--unvisited{
  background:#617b93;
}
.tn-map-pin--neutral{
  background:#4c657c;
}
.tn-map-popup strong{
  display:block;
  margin-bottom:4px;
  font-size:13px;
}
.tn-map-popup a{
  display:inline-block;
  margin-top:6px;
  color:#315f8b;
  font-weight:800;
  text-decoration:none;
}
.tn-map-popup-rating{
  color:#2f7a4c;
  font-size:11px;
  font-weight:800;
}
@media screen and (max-width:560px){
  .tn-visit-tools{
    align-items:flex-start;
    flex-direction:column;
    gap:8px;
    padding:10px;
  }
  .tn-visit-filter{
    width:100%;
  }
  .tn-visit-filter-btn{
    flex:1 1 0;
    padding:7px 8px;
    font-size:11px;
  }
  .tn-visit-filter-count{
    align-self:flex-end;
  }
  .tn-list-map-head{
    align-items:flex-start;
    flex-direction:column;
    padding:12px 13px 10px;
  }
  .tn-list-map-head h2{
    font-size:16px;
  }
  .tn-list-map{
    height:300px;
  }
  .tn-visit-badge{
    top:6px;
    right:6px;
    min-height:22px;
    padding:3px 7px;
    font-size:9px;
  }
}

/* ===== 一覧カード：訪問状況を本文内に確実表示 ===== */
.tn-card-visit-row{
  display:flex;
  justify-content:flex-end;
  margin:0 0 8px;
}
.tn-card-visit-badge{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:3px 9px;
  border-radius:999px;
  font-size:10px;
  font-weight:900;
  line-height:1;
  box-sizing:border-box;
}
.tn-card-visit-badge.is-visited{
  background:#2f7a4c;
  color:#fff;
}
.tn-card-visit-badge.is-unvisited{
  background:#fff;
  color:#615b54;
  border:1px solid #d9d1c7;
}
@media screen and (max-width:480px){
  .tn-card-visit-row{margin-bottom:6px;}
  .tn-card-visit-badge{min-height:22px;padding:3px 7px;font-size:9px;}
}

/* ===== 営業時間から自動判定する現在営業状態 ===== */
.tn-shop-status.is-unconfirmed,
.tn-list-status.is-unconfirmed{
  background:#8a8178;
  color:#fff;
}
.tn-list-status.is-open{
  background:#edf8ef;
  color:#1d6735;
  border-color:#cde7d3;
}
.tn-list-status.is-closed{
  background:#f3f1ee;
  color:#6a625b;
  border-color:#ded8d0;
}

/* ===== 店舗関係者登録 ===== */
.tn-shop-relation-section{
  background:#fffdf9;
}
.tn-shop-relation-text{
  margin:0 0 12px;
  color:#655e56;
  font-size:13px;
  line-height:1.75;
}
.tn-shop-relation-claim{
  margin:0;
}
.tn-shop-relation-summary,
.tn-shop-relation-login{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  box-sizing:border-box;
  padding:10px 18px;
  border:0;
  border-radius:8px;
  background:#315f8b;
  color:#fff !important;
  font-size:13px;
  font-weight:800;
  line-height:1.4;
  text-decoration:none !important;
  cursor:pointer;
}
.tn-shop-relation-summary{
  list-style:none;
}
.tn-shop-relation-summary::-webkit-details-marker{
  display:none;
}
.tn-shop-relation-summary::before{
  content:'✓';
  margin-right:7px;
  font-weight:900;
}
.tn-shop-relation-summary:hover,
.tn-shop-relation-login:hover{
  opacity:.92;
}
.tn-shop-relation-auth{
  margin-top:14px;
  max-width:620px;
}
.tn-shop-relation-auth .tn-phone-verify-box{
  margin-top:0;
}
.tn-shop-relation-verified{
  padding:14px 15px;
  border:1px solid #cfe5d5;
  border-radius:10px;
  background:#f1f9f3;
}
.tn-shop-relation-badge{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:4px 10px;
  border-radius:999px;
  background:#2f7a4c;
  color:#fff;
  font-size:12px;
  font-weight:800;
}
.tn-shop-relation-verified p{
  margin:9px 0 0;
  color:#4e6254;
  font-size:12px;
  line-height:1.7;
}
@media screen and (max-width:480px){
  .tn-shop-relation-summary,
  .tn-shop-relation-login{
    width:100%;
  }
}

/* ===== 店舗関係者登録：確認方式・複数関係者・自己解除 ===== */
.tn-shop-relation-form{
  max-width:620px;
  padding:16px;
  border:1px solid #ded8d0;
  border-radius:10px;
  background:#fff;
}
.tn-shop-relation-notice{
  max-width:620px;
  margin:0 0 12px;
  padding:10px 12px;
  border:1px solid #efd49d;
  border-radius:8px;
  background:#fff8e8;
  color:#74551b;
  font-size:12px;
  line-height:1.65;
}
.tn-shop-relation-field{
  display:block;
  margin:14px 0;
}
.tn-shop-relation-field > span{
  display:block;
  margin-bottom:6px;
  color:#3e3934;
  font-size:13px;
  font-weight:800;
}
.tn-shop-relation-position{
  width:100%;
  max-width:360px;
  min-height:44px;
  box-sizing:border-box;
  padding:8px 10px;
  border:1px solid #cfc7bf;
  border-radius:7px;
  background:#fff;
  color:#333;
  font-size:14px;
}
.tn-shop-relation-check{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin:14px 0 16px;
  color:#403b36;
  font-size:13px;
  line-height:1.6;
  cursor:pointer;
}
.tn-shop-relation-check input{
  flex:0 0 auto;
  width:18px;
  height:18px;
  margin:2px 0 0;
}
.tn-shop-relation-register-btn{
  min-height:44px;
  padding:10px 18px;
  border:0;
  border-radius:8px;
  background:#315f8b;
  color:#fff;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
}
.tn-shop-relation-register-btn:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.tn-shop-relation-register-status,
.tn-shop-relation-remove-status{
  margin:9px 0 0;
  color:#2f7a4c;
  font-size:12px;
  line-height:1.6;
}
.tn-shop-relation-register-status.is-error,
.tn-shop-relation-remove-status.is-error{
  color:#b33636;
}
.tn-shop-relation-remove{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid #d9e8dd;
}
.tn-shop-relation-remove-btn{
  padding:8px 12px;
  border:1px solid #b9b2aa;
  border-radius:7px;
  background:#fff;
  color:#655e56;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
.tn-shop-relation-remove-btn:hover{
  background:#f8f5f1;
}
@media screen and (max-width:480px){
  .tn-shop-relation-form{
    padding:14px 12px;
  }
  .tn-shop-relation-position,
  .tn-shop-relation-register-btn,
  .tn-shop-relation-remove-btn{
    width:100%;
  }
}

/* ===== 店舗関係者エリア：通常時はコンパクト、ボタンで展開 ===== */
.tn-shop-relation-section{
  padding:14px 18px;
}
.tn-shop-relation-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.tn-shop-relation-section .tn-shop-relation-head h2{
  flex:0 0 auto;
  margin:0;
  padding:0;
  border-bottom:0;
  font-size:17px;
  line-height:1.4;
}
.tn-shop-relation-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:8px 14px;
  border:0;
  border-radius:8px;
  background:#315f8b;
  color:#fff;
  font-size:12px;
  font-weight:800;
  line-height:1.35;
  cursor:pointer;
}
.tn-shop-relation-toggle.is-registered{
  background:#2f7a4c;
}
.tn-shop-relation-toggle::after{
  content:'▼';
  margin-left:8px;
  font-size:9px;
}
.tn-shop-relation-toggle[aria-expanded="true"]::after{
  content:'▲';
}
.tn-shop-relation-toggle:hover{
  opacity:.92;
}
.tn-shop-relation-panel{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid #e4ddd3;
}
.tn-shop-relation-panel[hidden]{
  display:none !important;
}
@media screen and (max-width:480px){
  .tn-shop-relation-section{
    padding:12px 13px;
  }
  .tn-shop-relation-head{
    gap:10px;
  }
  .tn-shop-relation-section .tn-shop-relation-head h2{
    font-size:15px;
  }
  .tn-shop-relation-toggle{
    flex:1 1 auto;
    min-width:0;
    padding:8px 10px;
    font-size:11px;
  }
}


/* ===== 評価カード内：私の評価 + 店舗関係者入口 ===== */
.tn-rating-my-score{
  margin:10px 0 0;
  color:#4f4942;
  font-size:12px;
  line-height:1.6;
}
.tn-rating-my-score strong{
  color:#2f7a4c;
  font-size:13px;
}
.tn-rating-relation.tn-shop-relation-section{
  margin:12px 0 0;
  padding:12px 0 0;
  border-top:1px solid #eee8df;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.tn-rating-relation .tn-shop-relation-head{
  display:block;
}
.tn-rating-relation .tn-shop-relation-toggle{
  min-height:34px;
  padding:7px 12px;
  border:1px solid #d8c9b5;
  border-radius:7px;
  background:#f8f4ed;
  color:#4b433a;
  font-size:12px;
  font-weight:800;
}
.tn-rating-relation .tn-shop-relation-toggle.is-registered{
  border-color:#b9d9c5;
  background:#edf7ef;
  color:#2f7a4c;
}
.tn-rating-relation .tn-shop-relation-panel{
  margin-top:11px;
  padding-top:11px;
}
@media screen and (max-width:480px){
  .tn-rating-relation.tn-shop-relation-section{
    padding:11px 0 0;
  }
  .tn-rating-relation .tn-shop-relation-toggle{
    width:auto;
    max-width:100%;
    min-height:32px;
    padding:6px 10px;
    font-size:11px;
  }
}

/* =========================================================
 * tachi-nomi.com フロント店舗編集 / 更新元表示
 * ========================================================= */
.tn-shop-update-source dd{display:flex;flex-direction:column;gap:3px}
.tn-shop-update-source dd strong{color:#23733f}
.tn-shop-update-source dd span{font-size:12px;color:#777}

.tn-shop-edit-section{padding-bottom:20px}
.tn-shop-edit-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.tn-shop-edit-head h2{margin:0}
.tn-shop-edit-toggle,.tn-shop-edit-save,.tn-shop-edit-login{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:7px;background:#2673b8;color:#fff;font-weight:700;text-decoration:none;padding:10px 18px;cursor:pointer;line-height:1.4}
.tn-shop-edit-toggle:hover,.tn-shop-edit-save:hover,.tn-shop-edit-login:hover{opacity:.9;color:#fff}
.tn-shop-edit-note{margin:10px 0 0;color:#666;font-size:13px;line-height:1.7}
.tn-shop-edit-result{margin:12px 0 0;padding:9px 12px;border-radius:6px;background:#f5f5f5}
.tn-shop-edit-result.is-success{background:#eef8f1;color:#23733f}
.tn-shop-edit-result.is-error{background:#fff1f1;color:#a52a2a}
.tn-shop-edit-panel{margin-top:16px;padding:18px;border:1px solid #ded8ce;border-radius:10px;background:#fffdf9}
.tn-shop-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tn-shop-edit-field{display:flex;flex-direction:column;gap:6px}
.tn-shop-edit-field.is-wide{grid-column:1/-1}
.tn-shop-edit-field>span,.tn-shop-edit-features legend,.tn-shop-edit-hours legend{font-weight:700}
.tn-shop-edit-field em{font-style:normal;color:#b32d2e;font-size:11px;margin-left:4px}
.tn-shop-edit-field input,.tn-shop-edit-field select,.tn-shop-edit-hours select{width:100%;box-sizing:border-box;border:1px solid #c9c2b8;border-radius:6px;background:#fff;padding:9px 10px;font:inherit}
.tn-shop-edit-features,.tn-shop-edit-hours{margin:18px 0 0;padding:14px;border:1px solid #e3ddd4;border-radius:8px}
.tn-shop-edit-features legend,.tn-shop-edit-hours legend{padding:0 6px}
.tn-shop-edit-checks{display:flex;gap:8px 16px;flex-wrap:wrap}
.tn-shop-edit-checks label{display:inline-flex;align-items:center;gap:5px}
.tn-shop-edit-hours-list{display:flex;flex-direction:column}
.tn-shop-edit-hours-row{display:grid;grid-template-columns:90px minmax(240px,1fr) 70px;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #eee8df}
.tn-shop-edit-hours-row:last-child{border-bottom:0}
.tn-shop-edit-hours-time{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px}
.tn-shop-edit-closed{white-space:nowrap}
.tn-shop-edit-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:18px}
.tn-shop-edit-cancel{border:1px solid #bcb4a9;border-radius:7px;background:#fff;color:#444;font-weight:600;padding:9px 16px;cursor:pointer}

@media (max-width:700px){
  .tn-shop-edit-grid{grid-template-columns:1fr}
  .tn-shop-edit-field.is-wide{grid-column:auto}
  .tn-shop-edit-hours-row{grid-template-columns:1fr;gap:7px}
  .tn-shop-edit-hours-time{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
  .tn-shop-edit-head{align-items:flex-start}
  .tn-shop-edit-toggle,.tn-shop-edit-login{width:100%}
}
.tn-shop-edit-hours-time .tn-time-select-wrap{display:grid;grid-template-columns:minmax(48px,1fr) auto minmax(48px,1fr);align-items:center;gap:4px;min-width:0}
.tn-shop-edit-hours-time .tn-time-select-wrap select{width:100%;min-width:0;padding:8px 6px}
.tn-shop-edit-hours-time .tn-time-colon{font-weight:700;color:#666;text-align:center}


/* ===== 立ち飲み店舗：写真3枚編集・ギャラリー ===== */
.tn-shop-photo-gallery{background:#fff}
.tn-shop-photo-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:8px;background:#f7f3ed;border-top:1px solid #eee8df}
.tn-shop-photo-thumb{display:block;overflow:hidden;aspect-ratio:4/3;padding:0;border:2px solid transparent;border-radius:7px;background:#e9e4dc;cursor:pointer}
.tn-shop-photo-thumb.is-active{border-color:#2673b8}
.tn-shop-photo-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.tn-shop-edit-photos{margin:0 0 18px;padding:14px;border:1px solid #e3ddd4;border-radius:8px}
.tn-shop-edit-photos legend{padding:0 6px;font-weight:700}
.tn-shop-edit-photo-note{margin:0 0 12px;color:#666;font-size:13px;line-height:1.7}
.tn-shop-edit-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.tn-shop-edit-photo-item{display:flex;min-width:0;flex-direction:column;gap:7px}
.tn-shop-edit-photo-preview{display:flex;align-items:center;justify-content:center;overflow:hidden;width:100%;aspect-ratio:4/3;border:1px solid #ddd5ca;border-radius:7px;background:#f2eee8;color:#837a70;font-size:12px}
.tn-shop-edit-photo-preview img{display:block;width:100%;height:100%;object-fit:cover}
.tn-shop-edit-photo-item input[type=file]{width:100%;max-width:100%;font-size:12px}
.tn-shop-edit-photo-remove{display:inline-flex;align-items:center;gap:5px;color:#8d2c20;font-size:12px}
@media screen and (max-width:640px){
  .tn-shop-edit-photo-grid{grid-template-columns:1fr}
  .tn-shop-edit-photo-preview{max-width:280px}
}
