/*
Theme Name: GENSEN Child
Theme URI: https://thailandpicks.com
Description: GENSEN の子テーマ（タイランドピックス用カスタマイズ）
Author: Thailandpicks
Author URI: https://thailandpicks.com
Template: gensen_tcd050
Version: 1.0.0
Text Domain: gensen-child
*/

#index_header_search { display: none !important; }
#main_col { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.tp-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0; }
.tp-hero-main { position: relative; border-radius: 8px; overflow: hidden; }
.tp-hero-main img { width: 100%; height: 320px; object-fit: cover; display: block; }
.tp-hero-main .tp-hero-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.75)); padding: 30px 20px 20px; }
.tp-hero-main .tp-cat { display: inline-block; background: #c8a96e; color: #fff; font-size: 11px; padding: 3px 10px; border-radius: 3px; margin-bottom: 8px; letter-spacing: 0.05em; }
.tp-hero-main .tp-title { color: #fff; font-size: 18px; font-weight: 600; line-height: 1.4; margin: 0; }
.tp-hero-sub { display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.tp-hero-sub-card { display: grid; grid-template-columns: 130px 1fr; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.tp-hero-sub-card img { width: 130px; height: 100%; object-fit: cover; display: block; }
.tp-hero-sub-body { padding: 14px; display: flex; flex-direction: column; justify-content: center; }
.tp-hero-sub-body .tp-cat { color: #c8a96e; font-size: 11px; margin-bottom: 6px; display: block; }
.tp-hero-sub-body .tp-title { font-size: 14px; font-weight: 600; line-height: 1.5; color: #1a1a1a; margin: 0 0 4px; }
.tp-hero-sub-body .tp-date { font-size: 11px; color: #bbb; }
.tp-section-head { display: flex; align-items: center; gap: 12px; margin: 40px 0 20px; }
.tp-section-head::before, .tp-section-head::after { content: ''; flex: 1; height: 1px; background: #e8e8e8; }
.tp-section-head h2 { font-size: 13px; font-weight: 600; color: #888; letter-spacing: 0.1em; white-space: nowrap; margin: 0; }
.tp-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.tp-card { border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.06); transition: transform 0.2s, box-shadow 0.2s; }
.tp-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.tp-card a { text-decoration: none; color: inherit; display: block; }
.tp-card-img { width: 100%; height: 160px; object-fit: cover; display: block; }
.tp-card-body { padding: 14px; }
.tp-card-cat { font-size: 11px; color: #c8a96e; margin-bottom: 6px; display: block; }
.tp-card-title { font-size: 14px; font-weight: 600; line-height: 1.5; color: #1a1a1a; margin: 0 0 8px; }
.tp-card-date { font-size: 11px; color: #bbb; }
.tp-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.tp-card4 { border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.06); transition: transform 0.2s; }
.tp-card4:hover { transform: translateY(-2px); }
.tp-card4 a { text-decoration: none; color: inherit; display: block; }
.tp-card4-img { width: 100%; height: 110px; object-fit: cover; display: block; }
.tp-card4-body { padding: 10px; }
.tp-card4-cat { font-size: 10px; color: #c8a96e; margin-bottom: 4px; display: block; }
.tp-card4-title { font-size: 12px; font-weight: 600; line-height: 1.5; color: #1a1a1a; margin: 0; }
.tp-newsletter { background: #1a1a1a; color: #fff; text-align: center; padding: 40px 20px; margin: 40px 0; border-radius: 8px; }
.tp-newsletter h3 { font-size: 18px; margin-bottom: 8px; }
.tp-newsletter p { font-size: 13px; color: #aaa; margin-bottom: 20px; }
.tp-newsletter a { display: inline-block; background: #c8a96e; color: #fff; padding: 10px 28px; border-radius: 4px; font-size: 13px; text-decoration: none; }
.tp-newsletter a:hover { background: #b8996e; }
.tp-cat-list { margin: 40px 0 60px; }
.tp-cat-list-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
.tp-cat-list-wrap a { display: inline-block; background: #f7f6f2; border: 1px solid #e8e6df; border-radius: 20px; padding: 6px 16px; font-size: 12px; color: #555; text-decoration: none; transition: background 0.2s; }
.tp-cat-list-wrap a:hover { background: #ede9e0; color: #333; }
@media (max-width: 768px) {
  .tp-hero { grid-template-columns: 1fr; }
  .tp-grid3 { grid-template-columns: 1fr 1fr; }
  .tp-grid4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .tp-grid3, .tp-grid4 { grid-template-columns: 1fr; }
  .tp-hero-sub-card { grid-template-columns: 100px 1fr; }
}