
:root{
  --bg:#05070b; --panel:#0b1018; --panel2:#111722; --line:#2b3242;
  --gold:#e7c777; --pink:#d83575; --purple:#7045c8; --text:#f7f1e8; --muted:#b9b2a7;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:radial-gradient(circle at 60% 0,#182034 0,#07090e 38%,#020305 100%);color:var(--text);font-family:"Hiragino Mincho ProN","Yu Mincho","Noto Serif JP",serif;}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.site-header{position:sticky;top:0;z-index:50;background:rgba(3,4,7,.94);border-bottom:1px solid #252b36;backdrop-filter:blur(8px)}
.header-inner{display:flex;align-items:center;gap:22px;max-width:1540px;margin:auto;padding:14px 22px}
.logo{min-width:280px}
.logo .main{font-size:34px;letter-spacing:.06em;color:#f5e8c1;line-height:1}
.logo .sub{font-size:12px;color:var(--gold);letter-spacing:.25em;margin-top:5px}
.global-nav{display:flex;align-items:center;gap:8px;flex:1;justify-content:center}
.global-nav a{padding:10px 14px;border-radius:10px;font-weight:700;font-size:14px}
.global-nav small{display:block;color:var(--gold);font-size:9px;text-align:center;margin-top:2px;letter-spacing:.08em}
.global-nav a.active,.global-nav a:hover{background:linear-gradient(135deg,rgba(216,53,117,.3),rgba(231,199,119,.08));color:#fff}
.header-actions{display:flex;gap:12px;align-items:center}
.icon-link{font-size:13px;color:#ddd}
.cta{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;border-radius:6px;background:linear-gradient(135deg,#d83575,#b72761);font-weight:700;box-shadow:0 0 18px rgba(216,53,117,.35)}
.wrap{max-width:1540px;margin:0 auto;padding:18px 16px 36px}
.grid-home{display:grid;grid-template-columns:310px minmax(0,1fr)340px;gap:16px}
.card{background:linear-gradient(180deg,rgba(16,22,32,.95),rgba(6,8,13,.95));border:1px solid var(--line);border-radius:8px;box-shadow:0 14px 35px rgba(0,0,0,.28);overflow:hidden}
.card-pad{padding:18px}
.age-box{min-height:315px;background:linear-gradient(180deg,rgba(36,14,39,.84),rgba(4,5,9,.92)),url('../img/left-banners.jpg') center/cover;border-color:#62435c;text-align:center;display:flex;flex-direction:column;justify-content:center}
.age-box .age{font-size:80px;line-height:.8;color:#fff;margin:16px 0 8px}
.age-box .over{letter-spacing:.2em;color:#ead9b3}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:7px;padding:13px 18px;border:1px solid rgba(255,255,255,.14);background:#121825;font-weight:700}
.btn-pink{background:linear-gradient(135deg,#df3f80,#bd2864);border:0}
.btn-blue{background:linear-gradient(135deg,#244fc0,#713fb6);border:0}
.btn-gold{background:linear-gradient(135deg,#e0be67,#a77b29);color:#130d08;border:0}
.hero{min-height:315px;background:linear-gradient(90deg,rgba(4,5,10,.96) 0%,rgba(3,4,8,.75) 43%,rgba(4,5,8,.18) 100%),url('../img/hero.jpg') center/cover;position:relative;padding:36px 34px;display:flex;align-items:center;border-color:#3d3542}
.hero h1{font-size:48px;line-height:1.38;margin:0 0 18px;text-shadow:0 3px 18px rgba(0,0,0,.6)}
.hero p{font-size:17px;line-height:2;color:#fff;max-width:560px}
.hero-actions{display:flex;gap:14px;margin-top:28px}.hero-actions .btn{min-width:220px}
.badge-round{position:absolute;right:54px;top:34px;width:120px;height:120px;border-radius:50%;border:3px solid var(--gold);display:grid;place-items:center;text-align:center;background:rgba(7,7,10,.55);color:var(--gold);font-weight:700}
.section{margin-top:14px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:12px}
.section h2{font-size:22px;margin:0}.en{display:block;color:#d35b80;font-size:11px;letter-spacing:.16em;text-transform:uppercase;margin-top:2px}
.more{font-size:12px;color:#d8caa5}
.quick{display:grid;grid-template-columns:repeat(5,1fr);gap:0}.quick a{padding:20px 14px;border-right:1px solid var(--line);display:flex;gap:10px;align-items:center;justify-content:center}.quick a:last-child{border-right:0}.quick b{color:var(--gold)}.quick small{display:block;color:#ddd;font-size:10px}
.store-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.store-card{border:1px solid #34394a;border-radius:7px;overflow:hidden;background:#090d14;position:relative}
.store-card .photo{height:138px;background:var(--panel2) center/cover}.store-card:nth-child(1) .photo{background-image:url('../img/store-grid.jpg')}.store-card:nth-child(2) .photo{background-image:url('../img/hero.jpg')}.store-card:nth-child(3) .photo{background-image:url('../img/feature-list.jpg')}.store-card:nth-child(4) .photo{background-image:url('../img/side-ranking.jpg')}
.store-body{padding:10px}.tag{display:inline-block;background:#d83575;color:white;border-radius:4px;padding:3px 7px;font-size:11px}.rating{color:#ffd25d}.price{float:right;color:#f2d195}
.schedule-row{display:grid;grid-template-columns:repeat(8,1fr);gap:10px}.cast-mini{background:#101621;border:1px solid #32394b;border-radius:7px;overflow:hidden;text-align:center}.cast-mini .thumb{height:110px;background:url('../img/schedule-strip.jpg') center/cover}.time{display:inline-block;background:#d83575;border-radius:3px;padding:3px 6px;font-size:12px;margin-top:-16px;position:relative}.cast-mini b{display:block;padding:5px 4px 9px;font-size:13px}
.rank-list{padding:14px}.rank-item{display:grid;grid-template-columns:35px 72px 1fr auto;gap:10px;align-items:center;border-bottom:1px solid #202635;padding:10px 0}.rank-item:last-child{border-bottom:0}.rank-no{font-size:26px;color:var(--gold);font-weight:bold}.rank-photo{height:48px;border-radius:5px;background:url('../img/side-ranking.jpg') center/cover}.rank-item b{display:block}.rank-item small{color:#aaa}.star{color:#ffd25d}
.feature-list{padding:12px}.feature{display:grid;grid-template-columns:90px 1fr;gap:10px;border-bottom:1px solid #222938;padding:10px 0}.feature:last-child{border-bottom:0}.feature .fimg{height:56px;border-radius:5px;background:url('../img/feature-list.jpg') center/cover}.feature b{display:block}.feature small{color:#b8b0a6}
.notice li{list-style:none;display:flex;gap:10px;border-bottom:1px solid #202635;padding:12px 0;color:#ddd}.notice ul{padding:0;margin:0}.label{font-size:10px;background:#d83575;border-radius:3px;padding:2px 6px}.ad-banner{background:linear-gradient(90deg,#ffd7e6,#c42f72);color:#231019;border-radius:8px;min-height:115px;padding:22px;display:flex;align-items:center;justify-content:space-between;margin-top:14px;font-weight:700}
.reasons{display:grid;grid-template-columns:240px repeat(5,1fr);gap:0;margin-top:16px}.reason{padding:18px;border-right:1px solid #2b3140}.reason:last-child{border-right:0}.reason b{color:var(--gold);display:block;margin-bottom:6px}
.footer{border-top:1px solid #252b36;background:#040509;padding:24px 16px;color:#aaa}.footer-inner{max-width:1540px;margin:auto}.footer a{margin-right:22px;color:#ddd}
.page-hero{padding:52px 28px;background:linear-gradient(90deg,rgba(4,5,10,.96),rgba(4,5,10,.5)),url('../img/hero.jpg') center/cover;border:1px solid var(--line);border-radius:10px;margin-bottom:18px}.page-hero h1{font-size:42px;margin:0 0 10px}.page-hero p{max-width:760px;line-height:1.9}
.two-col{display:grid;grid-template-columns:minmax(0,1fr)330px;gap:16px}.content-block{padding:24px;line-height:2;color:#e9e2d5}.content-block h2{color:#f2d89a}.table{width:100%;border-collapse:collapse}.table th,.table td{border-bottom:1px solid #2a3040;padding:13px;text-align:left}.form input,.form textarea,.form select{width:100%;padding:13px;margin:7px 0 14px;background:#080c13;border:1px solid #333b4d;border-radius:6px;color:white}.form textarea{min-height:150px}
.store-list{display:grid;gap:12px}.store-list-item{display:grid;grid-template-columns:210px 1fr 190px;gap:18px;align-items:center}.store-list-item .photo{height:140px;background:url('../img/store-grid.jpg') center/cover;border-radius:7px}
@media(max-width:1050px){.grid-home,.two-col{grid-template-columns:1fr}.global-nav{overflow:auto;justify-content:flex-start}.header-inner{flex-wrap:wrap}.logo{min-width:100%}.store-grid{grid-template-columns:repeat(2,1fr)}.schedule-row{grid-template-columns:repeat(4,1fr)}.reasons{grid-template-columns:1fr 1fr}.quick{grid-template-columns:1fr 1fr}.store-list-item{grid-template-columns:1fr}.header-actions{display:none}}
@media(max-width:640px){.wrap{padding:10px}.hero h1{font-size:32px}.hero{padding:28px 20px}.store-grid,.schedule-row,.reasons,.quick{grid-template-columns:1fr}.hero-actions{flex-direction:column}.badge-round{display:none}.global-nav a{font-size:12px;padding:8px}.logo .main{font-size:28px}}


/* ===== v20 commercial beta enhancement ===== */
body::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;
  background:
    radial-gradient(circle at 15% 8%,rgba(216,53,117,.18),transparent 24%),
    radial-gradient(circle at 82% 16%,rgba(231,199,119,.13),transparent 22%),
    linear-gradient(180deg,rgba(255,255,255,.02),transparent 36%);
}
.site-header{box-shadow:0 10px 35px rgba(0,0,0,.55)}
.logo .main{font-family:Georgia,"Times New Roman",serif;text-shadow:0 0 18px rgba(231,199,119,.25)}
.global-nav a{border:1px solid transparent}
.global-nav a:hover{border-color:rgba(231,199,119,.22)}
.hero{min-height:420px;border:1px solid rgba(231,199,119,.32);box-shadow:0 0 70px rgba(216,53,117,.14)}
.hero::after{
  content:"";position:absolute;inset:0;border-radius:8px;pointer-events:none;
  background:linear-gradient(120deg,transparent 0%,rgba(255,255,255,.07) 50%,transparent 100%);
  mix-blend-mode:screen;
}
.hero h1{font-size:58px;color:#fff7df}
.hero p{font-size:18px}
.card{border-color:rgba(231,199,119,.16)}
.section h2{letter-spacing:.04em}
.section h2::before{content:"";display:inline-block;width:8px;height:22px;background:linear-gradient(#e7c777,#d83575);border-radius:3px;margin-right:10px;vertical-align:-4px}
.store-card{transition:.2s;box-shadow:0 8px 20px rgba(0,0,0,.26)}
.store-card:hover,.rank-item:hover,.feature:hover{transform:translateY(-2px);filter:brightness(1.12)}
.store-card .photo,.cast-mini .thumb,.rank-photo,.feature .fimg{position:relative}
.store-card .photo::after,.cast-mini .thumb::after,.rank-photo::after,.feature .fimg::after{
  content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.62));
}
.top-search{
  display:grid;grid-template-columns:1.2fr 1fr 1fr auto;gap:10px;margin-top:18px;
  background:rgba(5,7,11,.75);border:1px solid rgba(231,199,119,.25);padding:14px;border-radius:10px
}
.top-search select,.top-search input{
  background:#080c13;color:#fff;border:1px solid #3b4050;border-radius:7px;padding:13px;
}
.ribbon{position:absolute;left:10px;top:10px;background:linear-gradient(135deg,#e7c777,#ad7924);color:#120b05;padding:5px 9px;border-radius:4px;font-weight:700;font-size:12px}
.portal-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}
.portal-strip a{padding:18px;border-radius:8px;background:linear-gradient(135deg,#151b28,#080b12);border:1px solid rgba(231,199,119,.18)}
.portal-strip b{display:block;color:#f2d89a;font-size:18px}
.portal-strip small{color:#b9b2a7}
.fixed-sp-cta{display:none}
.ad-banner{box-shadow:0 0 28px rgba(216,53,117,.22)}
.cast-mini{transition:.2s}
.cast-mini:hover{transform:translateY(-2px);border-color:rgba(231,199,119,.45)}
.content-block p{font-size:16px}
@media(max-width:900px){
  .top-search{grid-template-columns:1fr}
  .portal-strip{grid-template-columns:1fr 1fr}
  .hero h1{font-size:38px}
  .fixed-sp-cta{display:flex;position:fixed;left:10px;right:10px;bottom:10px;z-index:60;gap:8px}
  .fixed-sp-cta a{flex:1}
  body{padding-bottom:76px}
}


/* ===== v30 Kyoto men's esthe commercial beta ===== */
.kyoto-hero{
  position:relative;min-height:620px;border:1px solid rgba(231,199,119,.32);
  background:
    linear-gradient(90deg,rgba(2,3,7,.97) 0%,rgba(2,3,7,.74) 42%,rgba(2,3,7,.2) 100%),
    url('../img/hero.jpg') center/cover;
  border-radius:12px;overflow:hidden;display:grid;grid-template-columns:1fr 390px;gap:20px;align-items:end;padding:42px;
  box-shadow:0 0 80px rgba(216,53,117,.18), inset 0 0 120px rgba(0,0,0,.5);
}
.kyoto-hero h1{font-size:66px;line-height:1.22;margin:0 0 18px;color:#fff7dd;text-shadow:0 5px 25px rgba(0,0,0,.75)}
.kyoto-hero p{font-size:19px;line-height:2;max-width:780px}
.kyoto-hero .hero-copy{align-self:center}
.hero-side-panel{align-self:stretch;display:flex;flex-direction:column;gap:12px}
.hero-side-card{background:rgba(5,7,13,.78);border:1px solid rgba(231,199,119,.22);border-radius:10px;padding:16px;backdrop-filter:blur(7px)}
.hero-side-card h3{margin:0 0 8px;color:#f2d89a}
.hero-kpi{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}
.hero-kpi div{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:9px;padding:12px;text-align:center}
.hero-kpi b{display:block;color:#e7c777;font-size:24px}
.area-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
.area-tabs a{padding:10px 16px;border-radius:999px;border:1px solid rgba(231,199,119,.26);background:rgba(11,16,24,.72)}
.area-tabs a.hot{background:linear-gradient(135deg,#d83575,#a5265b);border:0}
.wide-ad{margin:16px 0;padding:20px 26px;border-radius:10px;background:linear-gradient(100deg,#e7c777,#dd6d9c,#6b45ce);color:#120b08;display:flex;justify-content:space-between;align-items:center;font-weight:800;box-shadow:0 14px 30px rgba(0,0,0,.28)}
.wide-ad small{display:block;font-weight:600}
.big-store-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.big-store{min-height:430px;position:relative;border:1px solid rgba(231,199,119,.18);border-radius:12px;overflow:hidden;background:#080c13;display:flex;align-items:end;transition:.2s}
.big-store:hover{transform:translateY(-4px);border-color:rgba(231,199,119,.5)}
.big-store::before{content:"";position:absolute;inset:0;background:url('../img/store-grid.jpg') center/cover;filter:brightness(.88)}
.big-store:nth-child(2)::before{background-image:url('../img/hero.jpg')}
.big-store:nth-child(3)::before{background-image:url('../img/feature-list.jpg')}
.big-store:nth-child(4)::before{background-image:url('../img/side-ranking.jpg')}
.big-store:nth-child(5)::before{background-image:url('../img/schedule-strip.jpg')}
.big-store:nth-child(6)::before{background-image:url('../img/ogp.jpg')}
.big-store::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 25%,rgba(0,0,0,.92))}
.big-store .info{position:relative;z-index:2;padding:22px;width:100%}
.big-store h3{font-size:25px;margin:8px 0}
.big-store .meta{color:#f0d99b}
.big-store .reserve{display:flex;gap:8px;margin-top:14px}
.big-store .reserve span{flex:1;text-align:center;border-radius:6px;background:rgba(216,53,117,.9);padding:9px;font-weight:700}
.cast-photo-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.cast-photo{position:relative;min-height:260px;border:1px solid #303747;border-radius:10px;overflow:hidden;background:#111722}
.cast-photo::before{content:"";position:absolute;inset:0;background:url('../img/schedule-strip.jpg') center/cover}
.cast-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.9))}
.cast-photo .info{position:absolute;left:0;right:0;bottom:0;padding:12px;text-align:center}
.cast-photo .time{margin:0 0 8px}
.rank-commercial{display:grid;grid-template-columns:1.3fr 1fr;gap:16px}
.rank-large{display:grid;grid-template-columns:110px 1fr 110px;gap:18px;align-items:center;border-bottom:1px solid #272e3e;padding:16px 0}
.rank-large .rank-no{font-size:42px}
.rank-large .photo{height:88px;background:url('../img/side-ranking.jpg') center/cover;border-radius:8px}
.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.article-card{background:#0b1018;border:1px solid #293041;border-radius:10px;overflow:hidden}
.article-card .photo{height:170px;background:url('../img/feature-list.jpg') center/cover}
.article-card .body{padding:16px}
.local-seo{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.local-seo a{background:linear-gradient(180deg,#111722,#090d14);border:1px solid #303747;border-radius:8px;padding:16px}
.local-seo b{color:#f2d89a;display:block}
@media(max-width:1100px){
 .kyoto-hero{grid-template-columns:1fr;min-height:auto;padding:28px}
 .kyoto-hero h1{font-size:42px}
 .big-store-grid{grid-template-columns:1fr 1fr}
 .cast-photo-grid{grid-template-columns:repeat(3,1fr)}
 .rank-commercial{grid-template-columns:1fr}
 .article-grid,.local-seo{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
 .big-store-grid,.cast-photo-grid,.article-grid,.local-seo{grid-template-columns:1fr}
 .wide-ad{display:block}
}


/* ===== v40 real portal layout refinement ===== */
:root{--pink2:#e23a82;--gold2:#f4d47d}
.wrap{max-width:1560px}
.site-header{position:sticky}
.kyoto-hero{grid-template-columns:minmax(0,1fr)390px;margin-top:6px}
.big-store-grid{grid-template-columns:repeat(4,1fr)}
.big-store{min-height:360px}
.big-store .info{background:linear-gradient(180deg,transparent,rgba(0,0,0,.2));}
.big-store::before{filter:brightness(1.04) saturate(1.08)}
.big-store:nth-child(1)::before{background-image:url('../img/photo-1.jpg')}
.big-store:nth-child(2)::before{background-image:url('../img/photo-2.jpg')}
.big-store:nth-child(3)::before{background-image:url('../img/photo-3.jpg')}
.big-store:nth-child(4)::before{background-image:url('../img/photo-4.jpg')}
.big-store:nth-child(5)::before{background-image:url('../img/photo-5.jpg')}
.big-store:nth-child(6)::before{background-image:url('../img/photo-6.jpg')}
.big-store:nth-child(7)::before{background-image:url('../img/photo-7.jpg')}
.big-store:nth-child(8)::before{background-image:url('../img/photo-8.jpg')}
.cast-photo-grid{grid-template-columns:repeat(8,1fr);gap:10px}
.cast-photo{min-height:270px;background:#0d111b}
.cast-photo::before{filter:brightness(1.13) saturate(1.08);background-size:cover;background-position:center 28%}
.cast-photo:nth-child(1)::before{background-image:url('../img/photo-1.jpg')}
.cast-photo:nth-child(2)::before{background-image:url('../img/photo-2.jpg')}
.cast-photo:nth-child(3)::before{background-image:url('../img/photo-3.jpg')}
.cast-photo:nth-child(4)::before{background-image:url('../img/photo-4.jpg')}
.cast-photo:nth-child(5)::before{background-image:url('../img/photo-5.jpg')}
.cast-photo:nth-child(6)::before{background-image:url('../img/photo-6.jpg')}
.cast-photo:nth-child(7)::before{background-image:url('../img/photo-7.jpg')}
.cast-photo:nth-child(8)::before{background-image:url('../img/photo-8.jpg')}
.cast-photo:nth-child(9)::before{background-image:url('../img/photo-9.jpg')}
.cast-photo:nth-child(10)::before{background-image:url('../img/photo-10.jpg')}
.cast-photo:nth-child(11)::before{background-image:url('../img/photo-1.jpg')}
.cast-photo:nth-child(12)::before{background-image:url('../img/photo-2.jpg')}
.cast-photo::after{background:linear-gradient(180deg,rgba(0,0,0,.08) 15%,rgba(0,0,0,.12) 48%,rgba(0,0,0,.86) 100%)}
.cast-photo .info{z-index:2}
.cast-photo small{display:block;color:#dccdb1;margin-top:4px}
.time{background:linear-gradient(135deg,#e43b82,#b92763);box-shadow:0 6px 12px rgba(216,53,117,.25)}
.rank-large{grid-template-columns:70px 96px 1fr 115px}
.rank-large .photo{height:96px;width:96px;background-size:cover}
.rank-large:nth-child(2) .photo{background-image:url('../img/photo-1.jpg')}
.rank-large:nth-child(3) .photo{background-image:url('../img/photo-2.jpg')}
.rank-large:nth-child(4) .photo{background-image:url('../img/photo-3.jpg')}
.rank-large:nth-child(5) .photo{background-image:url('../img/photo-4.jpg')}
.rank-large:nth-child(6) .photo{background-image:url('../img/photo-5.jpg')}
.rank-large h3{font-size:22px;margin:0 0 8px}
.rank-large p{margin:0;color:#c8bcaa}
.wide-ad{background-image:linear-gradient(100deg,rgba(231,199,119,.92),rgba(221,109,156,.9),rgba(107,69,206,.92)),url('../img/ad-1.jpg');background-size:cover;color:#120b08}
.card-pad{padding:22px}
.portal-filter{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:16px 0}
.portal-filter a{background:#0d1320;border:1px solid #333b4d;border-radius:8px;padding:13px;text-align:center}
.portal-filter b{color:var(--gold2)}
.info-dense{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.info-dense .card{padding:18px}
.info-dense h3{color:#f3d58c}
.footer{margin-top:20px}
@media(max-width:1200px){.big-store-grid{grid-template-columns:repeat(3,1fr)}.cast-photo-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:800px){.big-store-grid{grid-template-columns:1fr 1fr}.cast-photo-grid{grid-template-columns:1fr 1fr}.portal-filter,.info-dense{grid-template-columns:1fr 1fr}.rank-large{grid-template-columns:48px 74px 1fr}.rank-large .photo{width:74px;height:74px}.rank-large .star{grid-column:3}}
@media(max-width:540px){.big-store-grid,.cast-photo-grid,.portal-filter,.info-dense{grid-template-columns:1fr}}


/* ===== v42 release candidate polish ===== */
.ad-rc{
  min-height:112px;border-radius:12px;display:flex;align-items:center;justify-content:space-between;
  padding:26px 34px;margin:18px 0;color:#180b10;
  background:
    linear-gradient(100deg,rgba(246,211,123,.94),rgba(225,92,143,.93),rgba(111,63,210,.92)),
    url('../img/ad-2.jpg') center/cover;
  box-shadow:0 18px 40px rgba(0,0,0,.32);
}
.ad-rc h3{margin:0 0 6px;font-size:24px;color:#17070d}
.ad-rc p{margin:0;font-weight:700}
.ad-rc .btn{background:#0b1018;color:#fff;border:0;min-width:150px}
.genre-hub{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.genre-card{min-height:250px;border-radius:12px;overflow:hidden;position:relative;border:1px solid rgba(231,199,119,.2);background:#0a0e16;padding:22px;display:flex;align-items:end}
.genre-card::before{content:"";position:absolute;inset:0;background:url('../img/photo-1.jpg') center/cover;filter:brightness(.72)}
.genre-card:nth-child(2)::before{background-image:url('../img/photo-5.jpg')}
.genre-card:nth-child(3)::before{background-image:url('../img/photo-8.jpg')}
.genre-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 20%,rgba(0,0,0,.9))}
.genre-card .inner{position:relative;z-index:2}
.genre-card h3{font-size:28px;margin:0 0 8px;color:#fff7df}
.genre-card p{color:#e8d8bf}
.legal-table th{width:220px;color:#f2d89a}
.article-card .photo{background-image:url('../img/photo-11.jpg')}
.article-card:nth-child(2) .photo{background-image:url('../img/photo-12.jpg')}
.article-card:nth-child(3) .photo{background-image:url('../img/photo-7.jpg')}
.article-card:nth-child(4) .photo{background-image:url('../img/photo-8.jpg')}
.article-card:nth-child(5) .photo{background-image:url('../img/photo-9.jpg')}
.article-card:nth-child(6) .photo{background-image:url('../img/ad-3.jpg')}
.rc-note{font-size:13px;color:#c9bda9;line-height:1.9}
@media(max-width:800px){.genre-hub{grid-template-columns:1fr}.ad-rc{display:block}.ad-rc .btn{margin-top:14px}}


/* ===== v43 SP FIX: mobile first override ===== */
html, body{
  max-width:100%;
  overflow-x:hidden !important;
}
img, video, iframe{
  max-width:100%;
}
*{
  min-width:0;
}

/* PC header remains, SP changes below */
@media(max-width:760px){
  body{
    background:#05070b;
    padding-bottom:78px;
  }

  .site-header{
    position:sticky;
    top:0;
    z-index:100;
  }

  .header-inner{
    display:block;
    padding:12px 14px 8px;
  }

  .logo{
    min-width:0;
    display:block;
    margin-bottom:10px;
  }

  .logo .main{
    font-size:28px;
    line-height:1.05;
    letter-spacing:.04em;
    white-space:normal;
  }

  .logo .sub{
    font-size:11px;
    letter-spacing:.16em;
  }

  .global-nav{
    display:flex;
    gap:6px;
    justify-content:flex-start;
    overflow-x:auto;
    overflow-y:hidden;
    white-space:nowrap;
    padding:6px 0 4px;
    scrollbar-width:none;
  }

  .global-nav::-webkit-scrollbar{
    display:none;
  }

  .global-nav a{
    flex:0 0 auto;
    min-width:74px;
    padding:9px 10px;
    text-align:center;
    font-size:12px;
    line-height:1.2;
    border:1px solid rgba(231,199,119,.16);
    background:#0d111b;
  }

  .global-nav small{
    font-size:8px;
    white-space:nowrap;
  }

  .header-actions{
    display:none !important;
  }

  .wrap{
    width:100%;
    max-width:100%;
    padding:10px 10px 26px;
  }

  .kyoto-hero{
    display:flex;
    flex-direction:column-reverse;
    grid-template-columns:1fr;
    min-height:auto;
    padding:18px 14px;
    margin-top:8px;
    border-radius:10px;
    background-position:center top;
  }

  .kyoto-hero h1{
    font-size:34px;
    line-height:1.28;
    letter-spacing:0;
    writing-mode:horizontal-tb !important;
    word-break:keep-all;
    overflow-wrap:normal;
    white-space:normal;
    margin:0 0 14px;
  }

  .kyoto-hero p{
    font-size:14px;
    line-height:1.85;
    word-break:normal;
  }

  .hero-copy{
    width:100%;
  }

  .hero-side-panel{
    width:100%;
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    align-self:auto;
  }

  .hero-side-card{
    padding:14px;
  }

  .hero-side-card h3{
    font-size:17px;
  }

  .hero-side-card p{
    font-size:14px;
    line-height:1.8;
  }

  .hero-kpi{
    grid-template-columns:repeat(3,1fr);
    gap:6px;
    margin:14px 0;
  }

  .hero-kpi div{
    padding:9px 4px;
  }

  .hero-kpi b{
    font-size:17px;
  }

  .hero-kpi small{
    font-size:10px;
  }

  .hero-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    margin-top:16px;
  }

  .hero-actions .btn{
    width:100%;
    min-width:0;
    padding:13px;
  }

  .area-tabs{
    gap:7px;
    margin-top:14px;
  }

  .area-tabs a{
    padding:8px 12px;
    font-size:13px;
  }

  .ad-rc,
  .wide-ad,
  .ad-banner{
    display:block;
    min-height:auto;
    padding:18px 16px;
    margin:12px 0;
    text-align:left;
  }

  .ad-rc h3{
    font-size:19px;
  }

  .ad-rc p,
  .wide-ad small{
    font-size:13px;
    line-height:1.7;
  }

  .ad-rc .btn,
  .wide-ad .btn{
    width:100%;
    margin-top:12px;
  }

  .card,
  .card-pad,
  .content-block{
    width:100%;
    border-radius:10px;
  }

  .card-pad,
  .content-block{
    padding:16px;
  }

  .section{
    margin-top:12px;
  }

  .section-head{
    display:block;
    margin-bottom:12px;
  }

  .section h2{
    font-size:21px;
    line-height:1.35;
  }

  .section h2::before{
    height:19px;
  }

  .portal-filter,
  .genre-hub,
  .big-store-grid,
  .cast-photo-grid,
  .rank-commercial,
  .article-grid,
  .local-seo,
  .info-dense,
  .store-grid,
  .quick,
  .two-col,
  .reasons{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px;
  }

  .portal-filter a,
  .local-seo a{
    padding:13px;
    text-align:left;
  }

  .genre-card{
    min-height:170px;
  }

  .genre-card h3{
    font-size:23px;
  }

  .big-store{
    min-height:320px;
    width:100%;
  }

  .big-store h3{
    font-size:24px;
  }

  .big-store .info{
    padding:18px 14px;
  }

  .big-store .meta,
  .big-store p{
    font-size:13px;
    line-height:1.7;
  }

  .big-store .reserve{
    gap:7px;
  }

  .big-store .reserve span{
    padding:10px 4px;
    font-size:13px;
  }

  .cast-photo-grid{
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  }

  .cast-photo{
    min-height:220px;
  }

  .cast-photo .info{
    padding:10px 6px;
  }

  .cast-photo b{
    font-size:15px;
  }

  .cast-photo small{
    font-size:11px;
    line-height:1.5;
  }

  .time{
    font-size:11px;
    padding:3px 6px;
  }

  .rank-commercial aside{
    width:100%;
  }

  .rank-large{
    display:grid;
    grid-template-columns:40px 68px 1fr;
    gap:10px;
    padding:13px 0;
  }

  .rank-large .rank-no{
    font-size:30px;
  }

  .rank-large .photo{
    width:68px;
    height:68px;
  }

  .rank-large h3{
    font-size:17px;
    margin:0 0 5px;
  }

  .rank-large p,
  .rank-large small{
    font-size:12px;
    line-height:1.5;
  }

  .rank-large .star{
    grid-column:3;
    font-size:14px;
  }

  .article-card .photo{
    height:150px;
  }

  .article-card .body{
    padding:14px;
  }

  .article-card h3{
    font-size:17px;
  }

  .article-card p{
    font-size:13px;
    line-height:1.7;
  }

  .table,
  .table tbody,
  .table tr,
  .table th,
  .table td{
    display:block;
    width:100%;
  }

  .table th{
    border-bottom:0;
    padding-bottom:4px;
  }

  .table td{
    padding-top:4px;
  }

  .form input,
  .form textarea,
  .form select{
    font-size:16px;
  }

  .footer{
    padding:20px 14px;
  }

  .footer a{
    display:inline-block;
    margin:0 12px 10px 0;
    font-size:13px;
  }

  .footer p{
    font-size:12px;
    line-height:1.7;
  }

  .fixed-sp-cta{
    display:flex !important;
    position:fixed;
    left:8px;
    right:8px;
    bottom:8px;
    z-index:200;
    gap:8px;
  }

  .fixed-sp-cta a{
    flex:1;
    min-width:0;
    padding:12px 6px;
    font-size:13px;
  }
}

@media(max-width:390px){
  .logo .main{
    font-size:25px;
  }
  .kyoto-hero h1{
    font-size:30px;
  }
  .cast-photo-grid{
    grid-template-columns:1fr 1fr !important;
  }
}

