/* ==========================================================================
   Tennis Gut Antenna - Base Styles
   参考UI: SUUMO(地図×リスト分割/絞り込みサイドバー), ホットペッパービューティー(カードリスト/バッジ)
   ========================================================================== */

:root {
	--tga-primary: #0047FF;      /* イロコト参考の強めの青 */
	--tga-primary-dark: #0032B8;
	--tga-accent: #FF6B35;       /* PR/即日対応などのアクセント(ホットペッパー系オレンジ) */
	--tga-ink: #111318;          /* 見出し・巨大文字用の濃色 */
	--tga-bg: #F4F3EF;           /* イロコト参考の生成りグレー */
	--tga-surface: #FFFFFF;
	--tga-border: #E1E6EB;
	--tga-text: #1C2733;
	--tga-text-muted: #6B7684;
	--tga-ball: #D6F235;      /* テニスボールを意識したイエローグリーン */
	--tga-ball-dark: #A8C400;
	--tga-radius: 8px;
	--tga-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
	--tga-font: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	--tga-font-display: "Hiragino Sans", "Yu Gothic", var(--tga-font);
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--tga-font);
	background: var(--tga-bg);
	color: var(--tga-text);
	line-height: 1.7;
}

a { color: inherit; text-decoration: none; }

.tga-container { max-width: 1200px; margin: 0 auto; padding: 24px 16px; }

/* ---------- Header ---------- */
.tga-header { background: var(--tga-surface); border-bottom: 1px solid var(--tga-border); position: sticky; top: 0; z-index: 100; }
.tga-header__inner { max-width: 1200px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 24px; }
.tga-logo { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 19px; letter-spacing: -0.02em; color: var(--tga-ink); white-space: nowrap; }
.tga-logo__mark { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: var(--tga-primary); color: #fff; border-radius: 4px; transform: rotate(-6deg); font-size: 16px; }
.tga-header-search { flex: 1; display: flex; max-width: 480px; }
.tga-header-search input { flex: 1; padding: 8px 12px; border: 1px solid var(--tga-border); border-radius: var(--tga-radius) 0 0 var(--tga-radius); font-size: 14px; }
.tga-header-search button { padding: 8px 16px; background: var(--tga-primary); color: #fff; border: none; border-radius: 0 var(--tga-radius) var(--tga-radius) 0; cursor: pointer; }
.tga-header-nav ul { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; font-size: 14px; }

/* ---------- Hero (front page) : イロコト型の大胆な背景タイポ+斜めグラフィック ---------- */
.tga-hero { position: relative; overflow: hidden; background: var(--tga-ink); color: #fff; padding: 72px 16px 64px; text-align: center; }
.tga-hero::before {
	/* 斜めに走るテニスボールカラーの帯(青一色だと単調なのでテニスらしさを演出) */
	content: "";
	position: absolute;
	top: -20%; left: -10%;
	width: 140%; height: 60%;
	background: linear-gradient( 100deg, var(--tga-ball), var(--tga-ball-dark) );
	transform: rotate(-6deg);
	opacity: 0.92;
	z-index: 0;
}
.tga-hero__bgtext {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	font-size: clamp(90px, 22vw, 260px);
	font-weight: 900;
	color: rgba(255,255,255,0.05);
	white-space: nowrap;
	letter-spacing: -0.04em;
	z-index: 0;
	pointer-events: none;
	user-select: none;
}
.tga-hero__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.tga-hero__title { font-size: clamp(26px, 5vw, 36px); font-weight: 900; letter-spacing: -0.02em; margin: 0 0 10px; line-height: 1.4; text-shadow: 0 2px 16px rgba(0,0,0,0.55); }
.tga-hero__lead { font-size: 15px; opacity: 0.85; margin: 0 0 28px; }
.tga-hero-search__row { display: flex; background: #fff; border-radius: var(--tga-radius); overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.tga-hero-search__input { flex: 1; border: none; padding: 16px; font-size: 15px; color: var(--tga-text); }
.tga-hero-search__btn { border: none; background: var(--tga-accent); color: #fff; padding: 0 28px; font-weight: 900; cursor: pointer; letter-spacing: 0.02em; }
.tga-hero-search__btn:hover { background: #E85A28; }
.tga-hero-search__quicklinks { margin-top: 14px; font-size: 13px; opacity: 0.85; }
.tga-hero-search__quicklinks a { margin-left: 8px; text-decoration: underline; color: #fff; }

.tga-section-title { font-size: 20px; font-weight: 900; margin: 0 0 16px; position: relative; display: inline-block; padding-left: 14px; }
.tga-section-title::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 2px; width: 6px; background: var(--tga-primary); transform: skewX(-12deg); }

/* ---------- PR注目のお店(トップページ、広告枠) ---------- */
.tga-pr-section { max-width: 1200px; margin: 0 auto; padding: 32px 16px 8px; }
.tga-list--pr { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.tga-list--pr .tga-shop-card__link { flex-direction: column; }
.tga-list--pr .tga-shop-card__thumb { width: 100%; height: 160px; }
.tga-pref-list { max-width: 1200px; margin: 0 auto; padding: 48px 16px 40px; }

/* エリアから探す(SUUMO型の地方グルーピング) */
.tga-region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.tga-region-block { background: var(--tga-surface); border: 2px solid var(--tga-ink); border-radius: 6px; padding: 14px 16px; }
.tga-region-block__title { font-size: 14px; font-weight: 900; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--tga-primary); display: inline-block; }
.tga-region-block__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.tga-region-block__list a { font-size: 13px; font-weight: 600; }
.tga-region-block__list a:hover { color: var(--tga-primary); text-decoration: underline; }
.tga-pref-count { color: var(--tga-text-muted); font-size: 11px; }

/* ---------- ブログ(最新記事)セクション ---------- */
.tga-blog-section { max-width: 1200px; margin: 0 auto; padding: 16px 16px 56px; }
.tga-blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tga-blog-card { background: var(--tga-surface); border: 2px solid var(--tga-ink); border-radius: 4px; overflow: hidden; transition: transform .12s ease, box-shadow .12s ease; }
.tga-blog-card:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--tga-primary); }
.tga-blog-card__link { display: block; }
.tga-blog-card__thumb { height: 160px; background: #eef1f4; }
.tga-blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tga-blog-card__body { padding: 14px; }
.tga-blog-card__date { font-size: 11px; color: var(--tga-text-muted); }
.tga-blog-card__title { font-size: 15px; font-weight: 800; margin: 6px 0; }
.tga-blog-card__excerpt { font-size: 13px; color: var(--tga-text-muted); margin: 0; line-height: 1.6; }
.tga-blog-more { text-align: center; margin-top: 24px; }
.tga-blog-more__link { font-weight: 800; color: var(--tga-primary); }

/* ---------- Search / Archive page (SUUMO型 地図×リスト) ---------- */
.tga-search { max-width: 1200px; margin: 0 auto; padding: 16px; }
.tga-search__heading h1 { font-size: 20px; margin: 0 0 12px; }
.tga-search__toolbar { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 13px; color: var(--tga-text-muted); }
.tga-search__body { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: start; }
.tga-list { display: flex; flex-direction: column; gap: 12px; }

.tga-filters { background: var(--tga-surface); border: 1px solid var(--tga-border); border-radius: var(--tga-radius); padding: 16px; position: sticky; top: 80px; }
.tga-filters__title { font-size: 15px; margin: 0 0 12px; }
.tga-filter-group { margin-bottom: 20px; }
.tga-filter-group h3 { font-size: 13px; color: var(--tga-text-muted); margin: 0 0 8px; }
.tga-filter-select { width: 100%; padding: 8px; border: 1px solid var(--tga-border); border-radius: 4px; }
.tga-filter-checklist { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.tga-filter-checklist li { margin-bottom: 6px; }
.tga-filter-apply { width: 100%; padding: 12px; background: var(--tga-ink); color: #fff; border: none; border-radius: 4px; font-weight: 900; cursor: pointer; letter-spacing: 0.02em; }
.tga-filter-apply:hover { background: var(--tga-primary); }

/* ---------- Shop Card (ホットペッパー型カード) ---------- */
.tga-shop-card { background: var(--tga-surface); border: 2px solid var(--tga-ink); border-radius: 4px; overflow: hidden; transition: transform .12s ease, box-shadow .12s ease; }
.tga-shop-card:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--tga-primary); }
.tga-shop-card--sponsored { border-color: var(--tga-accent); box-shadow: 3px 3px 0 var(--tga-accent); }
.tga-shop-card__badge--pr { background: var(--tga-accent); left: auto; right: 8px; font-weight: 900; }
.tga-shop-card__link { display: flex; }
.tga-shop-card__thumb { position: relative; width: 160px; min-width: 160px; height: 120px; background: #eef1f4; }
.tga-shop-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tga-shop-card__noimage { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--tga-text-muted); font-size: 12px; }
.tga-shop-card__badge { position: absolute; top: 8px; left: 8px; background: var(--tga-accent); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.tga-shop-card__body { padding: 12px; flex: 1; }
.tga-shop-card__title { font-size: 15px; font-weight: 800; margin: 0 0 4px; }
.tga-shop-card__access { font-size: 12px; color: var(--tga-text-muted); margin: 0 0 6px; }
.tga-badges { list-style: none; display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 8px; padding: 0; }
.tga-badge { font-size: 11px; background: #EAF3FF; color: var(--tga-primary); padding: 2px 8px; border-radius: 12px; font-weight: 700; }
.tga-shop-card__footer { display: flex; justify-content: flex-end; }
.tga-shop-card__price { font-weight: 900; color: var(--tga-accent); font-size: 15px; }
.tga-shop-card__price--muted { color: var(--tga-text-muted); font-weight: 400; font-size: 12px; }

.tga-empty-note { color: var(--tga-text-muted); padding: 24px; text-align: center; }

/* ---------- Shop detail ---------- */
.tga-shop-detail__hero img { width: 100%; max-height: 360px; object-fit: cover; }
.tga-shop-detail__body { max-width: 1200px; margin: 0 auto; padding: 24px 16px; display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
.tga-shop-detail__header h1 { font-size: 22px; margin: 0 0 8px; }
.tga-shop-detail__section { margin-bottom: 32px; }
.tga-shop-detail__section h2 { font-size: 16px; border-left: 4px solid var(--tga-primary); padding-left: 8px; margin-bottom: 12px; }
.tga-info-table, .tga-price-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tga-info-table th, .tga-price-table th, .tga-price-table td { border-bottom: 1px solid var(--tga-border); padding: 8px; text-align: left; }
.tga-info-table th { width: 120px; color: var(--tga-text-muted); }
.tga-maps-link { margin-left: 8px; font-size: 12px; color: var(--tga-primary); text-decoration: underline; white-space: nowrap; }
.tga-maps-cta { position: sticky; top: 80px; }
.tga-maps-cta__btn { display: block; text-align: center; padding: 14px; background: var(--tga-primary); color: #fff; border-radius: var(--tga-radius); font-weight: 700; }
.tga-maps-cta__btn:hover { background: var(--tga-primary-dark); }
.tga-sns-list { list-style: none; padding: 0; }
.tga-sns-list a { display: inline-block; margin-bottom: 8px; padding: 8px 16px; background: var(--tga-primary); color: #fff; border-radius: var(--tga-radius); }

/* ---------- 管理画面: 店舗一覧のスポンサーバッジ・並び替え ---------- */
.tga-admin-badge { display: inline-block; font-size: 11px; color: #999; }
.tga-admin-badge--sponsor { background: #FF9800; color: #fff; padding: 2px 8px; border-radius: 10px; font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.tga-search__body { grid-template-columns: 1fr; }
	.tga-filters { position: relative; top: 0; }
	.tga-shop-detail__body { grid-template-columns: 1fr; }
	.tga-header-search { display: none; }
}

/* ---------- パンくずリスト ---------- */
.tga-breadcrumbs { max-width: 1200px; margin: 0 auto; padding: 14px 16px 0; }
.tga-breadcrumbs__list { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; font-size: 12px; color: var(--tga-text-muted); }
.tga-breadcrumbs__item { display: flex; align-items: center; gap: 4px; }
.tga-breadcrumbs__item:not(:last-child)::after { content: "›"; margin-left: 4px; color: var(--tga-text-muted); }
.tga-breadcrumbs__item a { color: var(--tga-text-muted); text-decoration: underline; }
.tga-breadcrumbs__item a:hover { color: var(--tga-primary); }

/* ---------- フッター ---------- */
.tga-footer { background: var(--tga-ink); color: #fff; margin-top: 48px; }
.tga-footer__inner { max-width: 1200px; margin: 0 auto; padding: 40px 16px; display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.tga-logo--footer { color: #fff; }
.tga-footer__lead { font-size: 13px; opacity: 0.7; margin-top: 10px; line-height: 1.8; max-width: 320px; }
.tga-footer__heading { font-size: 13px; font-weight: 900; margin: 0 0 14px; opacity: 0.9; }
.tga-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.tga-footer__list a { opacity: 0.75; }
.tga-footer__list a:hover { opacity: 1; text-decoration: underline; }
@media (max-width: 700px) {
	.tga-footer__inner { grid-template-columns: 1fr; }
}

/* ---------- Googleマップ埋め込み(APIキー不要のembedトリック) ---------- */
.tga-map-embed { border-radius: var(--tga-radius); overflow: hidden; border: 2px solid var(--tga-ink); margin-bottom: 12px; }
.tga-map-embed iframe { display: block; }

/* ---------- ブログ記事ページ(SEO最適化テンプレート) ---------- */
.tga-post-page { max-width: 1200px; margin: 0 auto; padding: 0 16px 56px; }
.tga-post__category { display: inline-block; background: var(--tga-primary); color: #fff; font-size: 11px; font-weight: 900; padding: 4px 10px; border-radius: 3px; margin-bottom: 10px; }
.tga-post__title { font-size: clamp(22px, 4vw, 32px); font-weight: 900; line-height: 1.4; margin: 0 0 12px; }
.tga-post__meta { display: flex; gap: 16px; font-size: 12px; color: var(--tga-text-muted); margin-bottom: 20px; }
.tga-post__eyecatch { border-radius: var(--tga-radius); overflow: hidden; margin-bottom: 24px; }
.tga-post__eyecatch img { width: 100%; max-height: 420px; object-fit: cover; }
.tga-post__main { max-width: 760px; margin: 0 auto; }

.tga-toc { background: var(--tga-surface); border: 2px solid var(--tga-ink); border-radius: 6px; padding: 18px 20px; margin-bottom: 32px; }
.tga-toc__title { font-weight: 900; margin: 0 0 10px; font-size: 14px; }
.tga-toc__list { margin: 0; padding-left: 20px; font-size: 13px; line-height: 2; }
.tga-toc__item--sub { list-style: none; margin-left: 12px; }
.tga-toc a { color: var(--tga-primary); }

.tga-post__content { font-size: 16px; line-height: 1.9; color: var(--tga-text); }
.tga-post__content h2 { font-size: 22px; font-weight: 900; margin: 40px 0 16px; padding-bottom: 8px; border-bottom: 3px solid var(--tga-ink); }
.tga-post__content h3 { font-size: 18px; font-weight: 800; margin: 28px 0 12px; padding-left: 10px; border-left: 5px solid var(--tga-primary); }
.tga-post__content p { margin: 0 0 20px; }
.tga-post__content img { max-width: 100%; height: auto; border-radius: 6px; margin: 16px 0; }
.tga-post__content ul, .tga-post__content ol { margin: 0 0 20px; padding-left: 24px; line-height: 1.9; }
.tga-post__content blockquote { border-left: 4px solid var(--tga-primary); background: #F4F7FF; padding: 12px 18px; margin: 20px 0; color: var(--tga-text-muted); }
.tga-post__content a { color: var(--tga-primary); text-decoration: underline; }
.tga-post__content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.tga-post__content th, .tga-post__content td { border: 1px solid var(--tga-border); padding: 8px 12px; }

.tga-post__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.tga-post__tag { font-size: 12px; background: #EAF3FF; color: var(--tga-primary); padding: 4px 10px; border-radius: 12px; }

.tga-post__share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 20px 0; border-top: 1px solid var(--tga-border); border-bottom: 1px solid var(--tga-border); margin-bottom: 40px; }
.tga-post__share-label { font-size: 13px; font-weight: 700; color: var(--tga-text-muted); }
.tga-post__share-btn { font-size: 12px; font-weight: 700; padding: 6px 14px; border: 2px solid var(--tga-ink); border-radius: 20px; }
.tga-post__share-btn:hover { background: var(--tga-ink); color: #fff; }

.tga-related-posts { margin-top: 40px; }

/* ---------- /pref/ 都道府県一覧ページ ---------- */
.tga-search__heading { padding: 8px 0 20px; }
.tga-search__heading h1 { font-size: 22px; font-weight: 900; margin: 0 0 6px; }
.tga-search__lead { font-size: 13px; color: var(--tga-text-muted); margin: 0; }

/* ---------- 店舗ページURL表示ボックス ---------- */
.tga-shop-url-box { background: var(--tga-surface); border: 2px solid var(--tga-ink); border-radius: 6px; padding: 14px; }
.tga-shop-url-box__label { font-size: 12px; font-weight: 800; margin: 0 0 8px; color: var(--tga-text-muted); }
.tga-shop-url-box__row { display: flex; gap: 6px; }
.tga-shop-url-box__input { flex: 1; min-width: 0; font-size: 11px; padding: 8px; border: 1px solid var(--tga-border); border-radius: 4px; color: var(--tga-text-muted); background: var(--tga-bg); }
.tga-shop-url-box__copy { font-size: 12px; font-weight: 800; padding: 0 12px; background: var(--tga-ink); color: #fff; border: none; border-radius: 4px; cursor: pointer; white-space: nowrap; }
.tga-shop-url-box__copy:hover { background: var(--tga-primary); }
.tga-shop-url-box__link { display: block; margin-top: 10px; font-size: 12px; font-weight: 800; color: var(--tga-primary); }
