@charset "UTF-8";

/*
webar_dashboard.css
*/

/*/////////////////////////////////////////////////////////*/
/*　Woocomerce メニュー隠す*/
/*/////////////////////////////////////////////////////////*/
/* Storefrontの固定ミニカートバー(例) */
.storefront-sticky-add-to-cart,
.site-header-cart.sticky,
#wc-sticky-add-to-cart {
    display: none !important;
}

.td-nav-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* WooCommerceの要素より前面に */
    background: #fff;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}

/* 固定ナビの分だけ本文が隠れないよう、下に余白を作る */
body {
    padding-bottom: 70px; /* ナビの高さに合わせて調整 */
}

/*/////////////////////////////////////////////////////////*/
/*　ダッシュボード*/
/*/////////////////////////////////////////////////////////*/
body.page-template-page-walking_around_town_default #content #main h1.entry-title{
	font-size:1.3em;
	letter-spacing: 0.1em;
	color:#fff;
	text-align:center;
	font-family: 'M PLUS Rounded 1c', sans-serif !important;
	margin:1em auto 0 auto;}

body.page-template-page-walking_around_town_default #content #main h1.entry-title::before{
	content:'WEBARまちあるき';
	letter-spacing: 0.1em;
	display:block;
	font-size:60%;
	width:130px;
	padding:0.03em 0;
	margin:0 auto 0.7em auto;
	border:1px solid #fff;
	color:#fff;
	text-align:center;
	font-family: 'M PLUS Rounded 1c', sans-serif !important;}


#td-wrap{
	max-width:420px;
	margin:0 auto;
	font-family:sans-serif;}

#td-wrap a{
	text-decoration:none;}


.td-header{background:#f7f9ff;border:1px solid #dde4f5;border-radius:14px;padding:14px 16px 12px;margin-bottom:14px;}
.td-header-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px;}
.td-tour-label{font-size:11px;color:#888;letter-spacing:.04em;}
.td-lang-badge{font-size:11px;background:#e8f0fe;color:#1a56db;border:1px solid #c5d3f5;border-radius:20px;padding:3px 10px;text-decoration:none;}
.td-tour-title{font-size:16px;font-weight:600;color:#1a1a2e;margin:4px 0 10px;line-height:1.35;}
.td-progress-bar-wrap{height:5px;background:#e0e0e0;border-radius:3px;overflow:hidden;}
.td-progress-bar-fill{height:100%;background:#3b82f6;border-radius:3px;transition:width .5s ease;}
.td-progress-label{display:flex;justify-content:space-between;font-size:11px;color:#888;margin-top:5px;}
.td-section-label{
	font-size:11px;
	color:#fff;
	letter-spacing:.04em;
	margin:14px 0 8px;}

.td-main-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:12px;}
.td-feature-card{background:#fff;border:1px solid #e5e7eb;border-radius:13px;padding:14px 12px 12px;display:flex;flex-direction:column;gap:5px;text-decoration:none;color:inherit;transition:border-color .15s;}
.td-feature-card:hover{border-color:#93c5fd;}
.td-card-accent{border-color:#bfdbfe;background:#eff6ff;}
.td-card-icon{font-size:20px;line-height:1;color:#3b82f6;}
.td-icon-green{color:#16a34a;}
.td-icon-amber{color:#d97706;}
.td-icon-gray{color:#9ca3af;}
.td-card-name{font-size:13px;font-weight:600;color:#111827;line-height:1.2;}
.td-card-desc{font-size:11px;color:#6b7280;line-height:1.4;}
.td-card-tag{font-size:10px;padding:2px 7px;border-radius:20px;width:fit-content;}
.td-tag-ar{background:#ede9fe;color:#5b21b6;}
.td-tag-live{background:#dcfce7;color:#15803d;}
.td-tag-lms{background:#fef9c3;color:#854d0e;}
.td-tag-gps{background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;}
.td-post-btn{width:100%;background:#fff;border:1.5px dashed #d1d5db;border-radius:13px;padding:13px 14px;display:flex;align-items:center;gap:12px;cursor:pointer;margin-bottom:14px;text-align:left;}
.td-post-btn:hover{border-color:#93c5fd;background:#f8faff;}
.td-post-icon{font-size:22px;color:#9ca3af;flex-shrink:0;}
.td-post-btn strong{display:block;font-size:13px;color:#111827;}
.td-post-sub{font-size:11px;color:#9ca3af;}
.td-spot-card{background:#fff;border:1px solid #e5e7eb;border-radius:13px;padding:13px 14px;display:flex;align-items:center;gap:12px;margin-bottom:14px;}
.td-spot-icon{font-size:22px;color:#9ca3af;flex-shrink:0;}
.td-spot-title{font-size:13px;font-weight:600;color:#111827;}
.td-spot-sub{font-size:11px;color:#6b7280;margin-top:2px;}
.td-nav-bar{
	text-align:center;
	display:flex;
	justify-content:space-around;
	padding:10px 0 6px;
	border-top:1px solid #e5e7eb;
	background:#fff;
	border-radius:0 0 14px 14px;}

.td-nav-item{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:10px;color:#9ca3af;text-decoration:none;}
.td-nav-active{color:#3b82f6;}
.td-nav-icon{font-size:20px;line-height:1;}

.td-card-thumb{
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
  display: block;
}

/* ログインカード全体 */
.td-login-card {
  grid-column: 1 / -1;
  width: 100%;           /* 追加：グリッド内で確実に全幅を取る */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.td-login-message {
  width: 100%;           /* 追加：文章の幅で縮まないように */
  box-sizing: border-box;
  text-align: center !important; /* 追加：確実に中央揃え */
}

.td-login-card #loginform {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.td-login-card #loginform .login-username,
.td-login-card #loginform .login-password {
  display: flex;
  flex-direction: column; /* ラベルとinputを縦に */
  align-items: center;
  gap: 6px;
  width: 100%;
}

label.user_login {
  display: block !important;
}

/* 入力欄・ボタンを角丸に */
.td-login-card #loginform .input,
.td-login-card #loginform input[type="text"],
.td-login-card #loginform input[type="password"] {
  border-radius: 10px;
  width: 100%;
}

.td-login-card #loginform #wp-submit,
.td-login-card #loginform .button-primary {
  border-radius: 10px;
}

.td-login-card #loginform .login-remember,
.td-login-card #loginform .login-submit{
  display: flex;
  justify-content: center;
  width: 100%;
}

.td-banner-note {
  grid-column: 1 / -1;
  width: 100%;
  display: block;
  text-align: center;
  font-weight: normal;
  margin: 12px 0;
}

.td-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.td-logout-badge {
  font-size: 12px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}

.td-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.td-header-top .td-logout-badge {
  background: #f3f4f6 !important;   /* 薄いグレー背景（EN バッジに寄せる） */
  color: #1f2937 !important;         /* 濃いグレーの文字色（白背景でも読める） */
  border: 1px solid #d1d5db !important;
  border-radius: 999px !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}