/* ===========================================
   Gay Massage Portal v2.0.1
   =========================================== */

/* Reset */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --primary:#14488c;--primary-light:#1a5aad;--primary-dark:#0e3366;
  --accent:#14488c;--accent-hover:#1a5aad;
  --bg:#ffffff;--bg-alt:#f4f7fb;--white:#fff;
  --text:#333;--text-light:#666;--border:#dde3eb;
  --line:#06c755;
  --shadow-sm:0 1px 3px rgba(20,72,140,.06);--shadow-md:0 4px 12px rgba(20,72,140,.1);--shadow-lg:0 8px 24px rgba(20,72,140,.12);
  --radius:8px;--radius-lg:14px;
  --max-w:1200px;--header-h:64px;
}

/* WordPress overrides */
body{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Noto Sans JP",sans-serif !important;color:var(--text) !important;background:var(--bg) !important;line-height:1.7 !important;font-size:16px !important}
body .site-main{padding:0 !important;margin:0 !important}
body .wp-site-blocks{padding:0 !important}
body img{max-width:100%;height:auto}
html{scroll-behavior:smooth}
a{color:var(--accent);text-decoration:none;transition:color .2s}
a:hover{color:var(--accent-hover)}
img{display:block}
ul,ol{list-style:none}

body .container{max-width:var(--max-w);margin:0 auto;padding:0 20px}

/* Buttons */
body .btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 24px;border-radius:6px;font-size:.9rem;font-weight:600;cursor:pointer;border:2px solid transparent;transition:all .2s;text-decoration:none;line-height:1.4}
body .btn--primary{background:var(--accent);color:#fff;border-color:var(--accent)}
body .btn--primary:hover{background:var(--accent-hover);color:#fff}
body .btn--outline{background:transparent;color:var(--accent);border-color:var(--accent)}
body .btn--outline:hover{background:var(--accent);color:#fff}
body .btn--line{background:var(--line);color:#fff;border-color:var(--line)}
body .btn--block{display:flex;width:100%}
body .btn--sm{padding:6px 16px;font-size:.8rem}

/* ===== Header ===== */
body .site-header{background:var(--primary) !important;color:#fff;position:sticky;top:0;z-index:1000;height:var(--header-h);box-shadow:var(--shadow-md);overflow:hidden}
body .site-header__inner{display:flex !important;align-items:center !important;justify-content:space-between !important;height:var(--header-h);max-width:var(--max-w);margin:0 auto;padding:0 20px}
body .site-header__logo{display:flex;align-items:center;flex-shrink:0}
body .site-header__logo-img{height:36px !important;width:auto !important;max-height:36px !important;object-fit:contain}
body .btn--header{background:#fff;color:var(--primary);border:2px solid #fff;padding:6px 18px;font-size:.82rem;font-weight:700;border-radius:6px;white-space:nowrap}
body .btn--header:hover{background:var(--bg-alt);color:var(--primary)}
body .site-header__nav{display:flex;align-items:center;gap:8px}
body .main-nav{display:flex;gap:4px}
body .main-nav li a{color:rgba(255,255,255,.85);padding:8px 12px;border-radius:6px;font-size:.85rem}
body .main-nav li a:hover{color:#fff;background:rgba(255,255,255,.1)}
body .site-header__toggle{display:none;background:none;border:none;cursor:pointer;width:30px;height:22px;position:relative}
body .site-header__toggle span{display:block;width:100%;height:2px;background:#fff;position:absolute;left:0;transition:.3s}
body .site-header__toggle span:nth-child(1){top:0}
body .site-header__toggle span:nth-child(2){top:10px}
body .site-header__toggle span:nth-child(3){top:20px}

/* ===== Hero ===== */
body .hero{background:var(--primary) !important;color:#fff !important;padding:48px 0;text-align:center;position:relative;overflow:hidden}
body .hero .container{position:relative;z-index:1}
body .hero__title{font-size:1.8rem;font-weight:800;margin-bottom:8px;color:#fff}
body .hero__sub{font-size:.9rem;opacity:.8;margin-bottom:24px;color:#fff}
body .hero__search{display:flex;gap:8px;max-width:680px;margin:0 auto;background:rgba(255,255,255,.12);padding:8px;border-radius:var(--radius)}
body .hero__search select{flex:1;padding:12px;border:none;border-radius:6px;font-size:.9rem;color:var(--text);background:#fff}
body .hero__search .btn{white-space:nowrap;background:#fff;color:var(--primary);border-color:#fff;font-weight:700}
body .hero__search .btn:hover{background:var(--bg-alt);color:var(--primary)}

/* ===== Section ===== */
body .section{padding:44px 0}
body .section--alt{background:var(--bg-alt)}
body .section__title{font-size:1.4rem;font-weight:700;margin-bottom:20px;padding-left:14px;border-left:4px solid var(--accent);color:var(--text)}
body .section__more{text-align:center;margin-top:28px}

/* ===== Region Map (SUUMO style) ===== */
body .region-map{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:24px}
body .region-map__title{font-size:1.2rem;font-weight:700;margin-bottom:20px;display:flex;align-items:center;gap:8px;color:var(--text)}
body .region-map__title::before{content:"";display:inline-block;width:4px;height:20px;background:var(--primary);border-radius:2px}
body .region-map__grid{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(180px,1fr)) !important;gap:16px !important}
body .region-card{border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:box-shadow .2s;background:var(--white)}
body .region-card:hover{box-shadow:var(--shadow-md)}
body .region-card__header{background:var(--primary) !important;color:#fff !important;padding:8px 14px;font-weight:700;font-size:.9rem;text-align:center}
body .region-card__body{padding:10px 14px}
body .region-card__prefs{display:flex;flex-wrap:wrap;gap:0}
body .region-card__pref{display:inline;font-size:.82rem;line-height:1.8}
body .region-card__pref a{color:var(--primary) !important;text-decoration:none}
body .region-card__pref a:hover{opacity:.6;text-decoration:underline}
body .region-card__pref+.region-card__pref::before{content:"|";color:var(--border);margin:0 4px;font-size:.75rem}

/* ===== Tag list ===== */
body .tag-list{display:flex;flex-wrap:wrap;gap:8px}
body .tag-link{display:inline-flex;align-items:center;gap:4px;padding:8px 18px;background:var(--white);border:1px solid var(--border);border-radius:20px;color:var(--text);font-size:.85rem;font-weight:500;transition:all .2s}
body .tag-link:hover{background:var(--accent);color:#fff;border-color:var(--accent)}
body .tag-link span{font-size:.75rem;color:var(--text-light)}
body .tag-link:hover span{color:rgba(255,255,255,.7)}

/* ===== Shop grid ===== */
body .shop-grid{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(280px,1fr)) !important;gap:20px !important}
body .shop-card{background:var(--white);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);transition:all .25s}
body .shop-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}
body .shop-card__link{display:block;color:var(--text);text-decoration:none}
body .shop-card__image{position:relative;aspect-ratio:4/3;overflow:hidden;background:#eee}
body .shop-card__img{width:100% !important;height:100% !important;object-fit:cover !important}
body .shop-card__noimage{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#aaa;font-size:.85rem}
body .shop-card__body{padding:12px 14px}
body .shop-card__title{font-size:.95rem;font-weight:700;margin-bottom:4px;color:var(--text)}
body .shop-card__meta{display:flex;flex-wrap:wrap;gap:6px;font-size:.75rem;color:var(--text-light);margin-bottom:4px}
body .shop-card__price{font-size:.85rem;font-weight:600;color:var(--accent);margin-bottom:2px}
body .shop-card__casts{font-size:.75rem;color:var(--text-light)}

/* ===== Cast grid ===== */
body .cast-grid{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(170px,1fr)) !important;gap:14px !important}
body .cast-grid--compact{grid-template-columns:repeat(auto-fill,minmax(140px,1fr)) !important}
body .cast-card{background:var(--white);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);transition:all .25s}
body .cast-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
body .cast-card__link{display:block;color:var(--text);text-decoration:none}
body .cast-card__image{position:relative;aspect-ratio:3/4;overflow:hidden;background:#eee}
body .cast-card__img{width:100% !important;height:100% !important;object-fit:cover !important}
body .cast-card__noimage{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#aaa;font-size:.8rem}
body .cast-card__body{padding:8px 10px}
body .cast-card__name{font-size:.88rem;font-weight:700;margin-bottom:3px}
body .cast-card__specs{display:flex;flex-wrap:wrap;gap:4px;font-size:.72rem;color:var(--text-light)}
body .cast-card__specs span+span::before{content:" / "}
body .cast-card__shop{font-size:.7rem;color:var(--text-light);margin-top:3px}

/* Badge */
body .badge{position:absolute;top:8px;left:8px;padding:3px 10px;border-radius:4px;font-size:.7rem;font-weight:700;color:#fff;z-index:1}
body .badge--new{background:var(--accent)}
body .tag{display:inline-flex;padding:3px 10px;border-radius:4px;font-size:.72rem;font-weight:600;text-decoration:none}
body .tag--area{background:#e3f2fd;color:#1565c0}
body .tag--cat{background:#fce4ec;color:#c62828}
body .tag--feat{background:#e8f5e9;color:#2e7d32}

/* ===== Filter ===== */
body .filter-panel{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:18px;margin-bottom:20px}
body .filter-group{margin-bottom:12px}
body .filter-group:last-child{margin-bottom:0}
body .filter-group__label{font-weight:700;font-size:.85rem;display:block;margin-bottom:6px;color:var(--text)}
body .filter-group__tags{display:flex;flex-wrap:wrap;gap:6px}
body .filter-tag{display:inline-flex;align-items:center;gap:3px;padding:5px 14px;border-radius:20px;font-size:.8rem;border:1px solid var(--border);background:var(--white);color:var(--text);cursor:pointer;transition:all .2s;text-decoration:none}
body .filter-tag:hover,body .filter-tag.is-active{background:var(--accent);color:#fff;border-color:var(--accent)}

/* Sub links */
body .sub-links{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:16px}
body .sub-links__label{font-weight:600;font-size:.85rem;color:var(--text)}

/* Page title */
body .page-title{font-size:1.5rem;font-weight:800;margin-bottom:16px;padding-bottom:10px;border-bottom:2px solid var(--border);color:var(--text)}
body .taxonomy-desc{font-size:.9rem;color:var(--text-light);line-height:1.8;margin-bottom:16px}
body .archive-count{font-size:.85rem;color:var(--text-light);margin-bottom:16px}
body .no-results{text-align:center;padding:40px;color:var(--text-light)}

/* ===== Single Shop ===== */
body .single-shop{padding:20px 0 48px}
body .single-shop__hero{border-radius:var(--radius-lg);overflow:hidden;max-height:400px;margin-bottom:16px}
body .single-shop__hero img{width:100%;object-fit:cover}
body .single-shop__tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
body .single-shop__title{font-size:1.7rem;font-weight:800;margin-bottom:6px;color:var(--text)}
body .single-shop__price{font-size:1.05rem;font-weight:700;color:var(--accent);margin-bottom:4px}
body .single-shop__access{font-size:.85rem;color:var(--text-light);margin-bottom:20px}
body .single-shop__grid{display:grid;grid-template-columns:1fr 300px;gap:32px}
body .shop-sec{margin-bottom:32px}
body .shop-sec__title{font-size:1.15rem;font-weight:700;margin-bottom:12px;padding-bottom:6px;border-bottom:2px solid var(--border);color:var(--text)}
body .shop-sec__count{font-size:.85rem;font-weight:400;color:var(--text-light)}
body .gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px}
body .gallery-grid__item{border-radius:6px;overflow:hidden}
body .gallery-grid__item img{width:100%;aspect-ratio:4/3;object-fit:cover}
body .coupon-box{background:#fff8e1;border:2px dashed #ffb74d;border-radius:var(--radius);padding:16px;font-size:.9rem}
body .shop-map{border-radius:var(--radius);overflow:hidden}

/* Info card (sidebar) */
body .info-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow-md);position:sticky;top:calc(var(--header-h) + 16px)}
body .info-card__title{font-size:1rem;font-weight:700;margin-bottom:12px;color:var(--text)}
body .info-table{width:100%;font-size:.85rem;margin-bottom:16px}
body .info-table th{text-align:left;font-weight:600;padding:7px 8px 7px 0;border-bottom:1px solid var(--border);white-space:nowrap;width:70px;color:var(--text-light);vertical-align:top}
body .info-table td{padding:7px 0;border-bottom:1px solid var(--border)}
body .info-card__actions{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}
body .info-card__sns{text-align:center;font-size:.8rem}

/* ===== Single Cast ===== */
body .single-cast{padding:20px 0 48px}
body .single-cast__grid{display:grid;grid-template-columns:380px 1fr;gap:36px}
body .single-cast__images{position:relative}
body .single-cast__main-img{border-radius:var(--radius-lg);width:100%}
body .cast-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:10px}
body .cast-gallery__item{border-radius:6px;overflow:hidden}
body .cast-gallery__item img{width:100%;aspect-ratio:1;object-fit:cover}
body .single-cast__name{font-size:1.5rem;font-weight:800;margin-bottom:6px;color:var(--text)}
body .single-cast__shop{font-size:.9rem;color:var(--text-light);margin-bottom:18px}
body .single-cast__shop a{color:var(--accent)}
body .spec-table{width:100%;font-size:.9rem;margin-bottom:20px}
body .spec-table th{text-align:left;font-weight:600;padding:8px 10px 8px 0;border-bottom:1px solid var(--border);width:90px;color:var(--text-light)}
body .spec-table td{padding:8px 0;border-bottom:1px solid var(--border)}
body .cast-msg{margin-bottom:20px}
body .cast-msg__title{font-size:1rem;font-weight:700;margin-bottom:6px;color:var(--text)}
body .cast-msg__body{background:var(--bg-alt);padding:14px;border-radius:var(--radius);font-size:.9rem}
body .cast-sns{margin-bottom:16px}
body .cast-cta{display:flex;flex-direction:column;gap:8px}

/* Breadcrumb */
body .breadcrumb{padding:10px 0}
body .breadcrumb__list{display:flex;flex-wrap:wrap;gap:4px;font-size:.76rem;max-width:var(--max-w);margin:0 auto;padding:0 20px}
body .breadcrumb__item{display:flex;align-items:center;color:var(--text-light)}
body .breadcrumb__item a{color:var(--text-light)}
body .breadcrumb__item a:hover{color:var(--accent)}
body .breadcrumb__item+.breadcrumb__item::before{content:">";margin-right:4px}
body .breadcrumb__item--current{font-weight:600;color:var(--text)}

/* Pagination */
body .pagination{margin-top:28px;text-align:center}
body .pagination .nav-links{display:flex;justify-content:center;gap:4px}
body .pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 8px;border:1px solid var(--border);border-radius:6px;font-size:.85rem;color:var(--text);transition:all .2s}
body .pagination .page-numbers:hover,body .pagination .page-numbers.current{background:var(--accent);color:#fff;border-color:var(--accent)}

/* Entry content */
body .entry-content p{margin-bottom:1em}
body .entry-content h2{font-size:1.25rem;margin:1.4em 0 .5em}
body .entry-content h3{font-size:1.1rem;margin:1.2em 0 .5em}
body .entry-content ul,body .entry-content ol{padding-left:1.5em;margin-bottom:1em;list-style:revert}

/* ===== Footer ===== */
body .site-footer{background:var(--primary) !important;color:rgba(255,255,255,.8) !important;padding:44px 0 20px}
body .site-footer__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-bottom:28px}
body .site-footer__col h4{color:#fff;font-size:.9rem;margin-bottom:10px}
body .site-footer__col ul{display:flex;flex-direction:column;gap:5px}
body .site-footer__col a,body .footer-nav a{color:rgba(255,255,255,.6) !important;font-size:.8rem}
body .site-footer__col a:hover,body .footer-nav a:hover{color:#fff !important}
body .footer-nav{display:flex;flex-direction:column;gap:5px}
body .site-footer__bottom{text-align:center;padding-top:20px;border-top:1px solid rgba(255,255,255,.1)}
body .site-footer__bottom p{font-size:.75rem;opacity:.5;color:#fff}

/* ===== Responsive ===== */
@media(max-width:768px){
  body .hero__title{font-size:1.4rem}
  body .hero__search{flex-direction:column}
  body .shop-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr)) !important}
  body .cast-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr)) !important}
  body .single-shop__grid{grid-template-columns:1fr}
  body .single-shop__side{order:-1}
  body .info-card{position:static}
  body .single-cast__grid{grid-template-columns:1fr}
  body .single-cast__images{max-width:360px}
  body .site-footer__grid{grid-template-columns:1fr;gap:20px}
  body .region-map__grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr)) !important}
  body .site-header__toggle{display:block}
  body .site-header__nav{display:none;position:fixed;top:var(--header-h);left:0;right:0;bottom:0;background:var(--primary);padding:20px;flex-direction:column;align-items:stretch;z-index:999}
  body .site-header__nav.is-open{display:flex}
  body .main-nav{flex-direction:column}
  body .main-nav li a{padding:12px 0;font-size:1rem}
}
@media(max-width:480px){
  body .hero{padding:36px 0}
  body .hero__title{font-size:1.2rem}
  body .page-title{font-size:1.2rem}
  body .section{padding:28px 0}
  body .shop-grid{grid-template-columns:1fr !important}
  body .region-map__grid{grid-template-columns:1fr !important}
}
