/*
Theme Name: RJ Okinawa
Theme URI: https://okinawa-travel.biz/
Author: 株式会社フォレスト
Author URI: https://www.forest.la/
Description: 「沖縄を、もっと好きになる。」をテーマにした沖縄観光・地域メディア向けオリジナルWordPressテーマ。RJ関連サービスへの自然な導線、レスポンシブ対応、ハンバーガーメニューを備えています。
Version: 1.5.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: rj-okinawa
*/

:root{--ink:#18221f;--muted:#6e7874;--accent:#ef6f5e;--sea:#0f93c5;--soft:#f6f3ed;--line:#e8e8e3;--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:"Noto Sans JP",sans-serif;background:#fff;line-height:1.7}body.admin-bar .site-header{top:32px}@media(max-width:782px){body.admin-bar .site-header{top:46px}}
img{max-width:100%;height:auto}.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(0,0,0,.05)}.header-inner{height:76px;max-width:1440px;margin:auto;padding:0 28px;display:flex;align-items:center;gap:30px}.brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none;white-space:nowrap}.brand-mark{font-size:31px;color:var(--accent);line-height:1}.brand strong{display:block;font-family:"Noto Serif JP",serif;font-size:21px;letter-spacing:.08em}.brand small{display:block;font-size:9px;color:#6e7874;letter-spacing:.06em}.global-nav{margin-left:auto;display:flex;gap:24px;align-items:center}.global-nav a{color:inherit;text-decoration:none;font-size:12px;font-weight:600}.global-nav a:hover{color:var(--accent)}.menu-btn{border:0;background:transparent;cursor:pointer;padding:0;margin-left:auto}
.hero{width:100%;max-width:none;margin:0;position:relative;min-height:610px;overflow:hidden;border-radius:0;background:#087aa8}.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,45,66,.60),rgba(0,40,58,.13) 65%,rgba(0,0,0,.00))}.hero-content{position:relative;z-index:2;max-width:1440px;margin:auto;padding:80px 7vw 54px;color:#fff}.eyebrow{font-size:11px;letter-spacing:.23em;margin:0 0 10px;opacity:.9}.hero h1{font-family:"Noto Serif JP",serif;font-weight:500;font-size:clamp(44px,6vw,80px);line-height:1.25;letter-spacing:.08em;margin:0 0 22px;text-shadow:0 2px 10px rgba(0,0,0,.18)}.hero-copy{font-family:"Noto Serif JP",serif;font-size:16px;line-height:2;margin:0}.hero-copy.sub{margin-top:12px}.search{width:min(560px,100%);height:58px;background:#fff;border-radius:999px;margin-top:26px;display:flex;overflow:hidden;box-shadow:0 8px 30px rgba(0,0,0,.14)}.search input{border:0;outline:0;flex:1;padding:0 22px;font-size:14px;font-family:inherit}.search button{width:58px;border:0;background:#fff;font-size:26px;cursor:pointer}.chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.chips span{background:rgba(255,255,255,.9);color:#26302c;border-radius:999px;padding:6px 12px;font-size:11px}
.quick-links{max-width:1440px;margin:0 auto;padding:24px 28px 12px;display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.quick-links a{display:grid;grid-template-columns:78px 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;color:inherit;text-decoration:none}.quick-links img{grid-row:1/3;width:78px;height:78px;object-fit:cover;border-radius:14px}.quick-links b{font-family:"Noto Serif JP",serif;font-size:14px}.quick-links small{font-size:10px;color:#7b817e}
.section{max-width:1440px;margin:0 auto;padding:70px 28px}.two-col{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:34px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:24px}.section-heading span{font-size:11px;letter-spacing:.18em;color:#969c98}.section-heading h2{font-family:"Noto Serif JP",serif;font-size:34px;margin:2px 0 0}.section-heading a{color:#4b5551;text-decoration:none;font-size:13px}.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:white;box-shadow:0 6px 20px rgba(30,35,32,.04)}.card img{width:100%;height:190px;object-fit:cover}.card>div{padding:14px 16px 18px}.card h3{font-family:"Noto Serif JP",serif;font-size:18px;line-height:1.55;margin:8px 0}.card p{font-size:12px;color:var(--muted);margin:0}.tags{display:flex;gap:6px}.tags span{background:#f1f2ef;border-radius:999px;padding:3px 8px;font-size:10px;color:#68716d}
.experience-panel{background:#f7f3ed;border-radius:22px;padding:24px;align-self:start;position:sticky;top:104px}.experience-panel>p{text-align:center;font-family:"Noto Serif JP",serif;margin:0;color:#7f7b73}.experience-panel h2{text-align:center;font-family:"Noto Serif JP",serif;font-size:28px;line-height:1.45;margin:4px 0 20px}.experience-panel a{display:grid;grid-template-columns:96px 1fr 22px;align-items:center;background:#fff;border-radius:14px;overflow:hidden;margin-bottom:10px;color:inherit;text-decoration:none;box-shadow:0 2px 12px rgba(0,0,0,.04);transition:transform .2s,box-shadow .2s}.experience-panel a:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.09)}.experience-panel a img{width:96px;height:74px;object-fit:cover}.experience-panel a span{padding:8px 10px}.experience-panel a small,.experience-panel a b{display:block}.experience-panel a small{font-size:10px;color:#777}.experience-panel a b{font-family:"Noto Serif JP",serif;font-size:16px;margin-top:2px}.experience-panel i{font-style:normal}.experience-panel .rj-more{display:block!important;text-align:center!important;width:100%;border-radius:999px;background:#625f58!important;color:#fff!important;padding:14px 18px!important;margin-top:10px!important;font-size:12px;text-decoration:none;box-shadow:none}.experience-panel .rj-more:hover{transform:none;background:#4f4c47!important}
.good-banner{max-width:1440px;min-height:260px;margin:8px auto 0;position:relative;overflow:hidden;border-radius:24px;display:grid;grid-template-columns:1.2fr .8fr;align-items:center}.good-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.good-bg{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,30,42,.5) 0%,rgba(0,38,53,.15) 49%,rgba(255,255,255,.92) 56%,rgba(255,255,255,.98) 100%)}.good-message,.good-copy{position:relative;z-index:2;padding:42px}.good-message{color:#fff}.good-message span{font-size:11px;letter-spacing:.2em}.good-message h2{font-family:"Noto Serif JP",serif;font-weight:500;font-size:34px;line-height:1.55;margin:8px 0}.good-copy h3{font-family:"Noto Serif JP",serif;font-size:26px;margin:0 0 8px}.good-copy p{font-size:13px;color:#4d5652}.good-copy a{display:inline-block;border:1px solid #aaa;border-radius:999px;padding:9px 17px;color:inherit;text-decoration:none;font-size:12px}.style-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:12px}.style-grid a{color:inherit;text-decoration:none}.style-grid img{width:100%;aspect-ratio:1/1.05;object-fit:cover;border-radius:12px}.style-grid b{display:block;font-family:"Noto Serif JP",serif;font-size:13px;line-height:1.5;padding-top:8px}
.rj-work{max-width:1440px;margin:28px auto 0;padding:0 28px;width:100%}.rj-work-inner{width:100%;background:linear-gradient(120deg,#f7f3ed 0%,#edf7f7 100%);border-radius:24px;padding:38px 44px;display:flex;align-items:center;justify-content:space-between;gap:30px;overflow:hidden}.rj-work-inner>div{min-width:0}.rj-work-inner>div>span{display:block;font-size:10px;letter-spacing:.2em;color:#8e918d;margin-bottom:4px}.rj-work h2{font-family:"Noto Serif JP",serif;font-size:27px;line-height:1.5;margin:0 0 8px}.rj-work p{margin:0;color:#65706b;font-size:13px}.rj-work a{flex:0 0 auto;display:flex;align-items:center;gap:20px;background:var(--ink);color:#fff;text-decoration:none;padding:14px 23px;border-radius:999px;font-size:13px;transition:transform .2s,opacity .2s}.rj-work a:hover{transform:translateY(-2px);opacity:.9}
.site-footer{border-top:1px solid var(--line);max-width:1440px;margin:60px auto 0;padding:36px 28px 54px;display:flex;justify-content:space-between;align-items:end}.site-footer strong{font-family:"Noto Serif JP",serif;font-size:24px;letter-spacing:.08em}.site-footer p,.site-footer small{margin:4px 0 0;color:#7b817e;font-size:12px}
.menu-btn{width:44px;height:44px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;border-radius:50%;transition:background .2s}.menu-btn:hover{background:#f3f4f2}.menu-btn span{width:21px;height:1.5px;background:var(--ink);display:block;transition:transform .25s,opacity .2s}.menu-overlay{position:fixed;inset:0;background:rgba(14,29,26,.35);backdrop-filter:blur(2px);z-index:39;opacity:0;visibility:hidden;transition:.25s}.mobile-menu{position:fixed;top:0;right:0;width:min(430px,90vw);height:100dvh;background:#fff;z-index:40;transform:translateX(102%);transition:transform .32s ease;box-shadow:-12px 0 40px rgba(0,0,0,.12);padding:24px;display:flex;flex-direction:column}.menu-open{overflow:hidden}.menu-open .menu-overlay{opacity:1;visibility:visible}.menu-open .mobile-menu{transform:translateX(0)}.menu-open .menu-btn span:nth-child(1){transform:translateY(6.5px) rotate(45deg)}.menu-open .menu-btn span:nth-child(2){opacity:0}.menu-open .menu-btn span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg)}.mobile-menu-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:22px;border-bottom:1px solid var(--line)}.menu-close{width:42px;height:42px;border:0;border-radius:50%;background:#f4f4f1;font-size:28px;line-height:1;cursor:pointer}.mobile-menu-nav{display:flex;flex-direction:column;padding:18px 0}.mobile-menu-nav a{display:flex;justify-content:space-between;align-items:center;text-decoration:none;color:var(--ink);font-family:"Noto Serif JP",serif;font-size:18px;padding:14px 2px;border-bottom:1px solid #eee}.mobile-menu-nav a span{color:#999;font-family:sans-serif}.mobile-menu-rj{margin-top:auto;background:#f7f3ed;border-radius:18px;padding:18px}.mobile-menu-rj p{font-family:"Noto Serif JP",serif;font-size:14px;margin:0 0 12px}.mobile-menu-rj a{display:flex;justify-content:space-between;text-decoration:none;background:#625f58;color:#fff;border-radius:999px;padding:12px 17px;font-size:13px}
.content-wrap{max-width:1100px;margin:0 auto;padding:64px 28px}.entry-title{font-family:"Noto Serif JP",serif;font-size:38px;line-height:1.4}.entry-content{font-size:15px}.entry-content img{border-radius:14px}.post-list{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.post-item{border:1px solid var(--line);border-radius:14px;overflow:hidden}.post-item a{color:inherit;text-decoration:none}.post-item img{width:100%;height:190px;object-fit:cover}.post-item-body{padding:16px}.post-item h2{font-family:"Noto Serif JP",serif;font-size:18px;margin:0 0 8px}
@media(max-width:1050px){.global-nav{display:none}.two-col{grid-template-columns:1fr}.experience-panel{position:static}.quick-links{grid-template-columns:repeat(3,1fr)}.style-grid{grid-template-columns:repeat(4,1fr)}.post-list{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.header-inner{height:62px;padding:0 16px}.brand strong{font-size:18px}.brand small{font-size:8px}.hero{min-height:650px}.hero-bg{object-position:60% center}.hero-overlay{background:linear-gradient(180deg,rgba(0,70,95,.18),rgba(0,44,66,.58) 55%,rgba(0,35,52,.75))}.hero-content{padding:58px 22px 26px;display:flex;flex-direction:column;justify-content:end;min-height:650px}.hero h1{font-size:44px}.hero-copy{font-size:14px}.hero-copy.sub{display:none}.search{height:52px}.chips{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.chips span{white-space:nowrap}.section{padding:42px 16px}.section-heading{align-items:start}.section-heading h2{font-size:28px}.section-heading a{font-size:11px;margin-top:12px}.article-grid{grid-template-columns:1fr 1fr;gap:12px}.card img{height:130px}.card>div{padding:10px 11px 13px}.card h3{font-size:14px}.card p{display:none}.good-banner{border-radius:0;display:block;min-height:430px}.good-banner>img{object-position:center top}.good-bg{background:linear-gradient(180deg,rgba(0,30,42,.15) 0%,rgba(0,30,42,.45) 40%,rgba(255,255,255,.96) 62%,#fff 100%)}.good-message{padding:46px 22px 130px}.good-message h2{font-size:30px}.good-copy{padding:26px 22px 32px}.style-grid{grid-template-columns:repeat(2,1fr);gap:14px}.style-grid b{font-size:13px}.site-footer{margin-top:20px;padding:28px 18px 40px;display:block}.site-footer small{display:block;margin-top:18px}.mobile-menu{width:88vw;padding:18px}.mobile-menu-head .brand strong{font-size:17px}.rj-work{padding:0 16px;margin-top:18px}.rj-work-inner{padding:26px 22px;display:block}.rj-work h2{font-size:22px;line-height:1.55}.rj-work a{margin-top:18px;justify-content:space-between;width:100%}.experience-panel a{grid-template-columns:88px 1fr 22px}.experience-panel a img{width:88px;height:70px}.content-wrap{padding:40px 16px}.entry-title{font-size:29px}.post-list{grid-template-columns:1fr}}

/* v1.1: fixed PICK UP + latest posts + EC */
.latest-section{padding-top:30px}.latest-heading{align-items:flex-end}.latest-heading p{margin:5px 0 0;color:var(--muted);font-size:12px}.latest-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.latest-card{border-top:1px solid var(--line);padding-top:14px}.latest-thumb{display:block;border-radius:14px;overflow:hidden}.latest-thumb img{width:100%;height:170px;object-fit:cover;transition:transform .35s}.latest-card:hover .latest-thumb img{transform:scale(1.025)}.latest-body{padding:12px 2px 0}.latest-meta{display:flex;gap:8px;align-items:center;font-size:10px;color:#8a928e}.latest-meta span{background:#f1f2ef;border-radius:999px;padding:3px 7px}.latest-card h3{font-family:"Noto Serif JP",serif;font-size:17px;line-height:1.55;margin:8px 0}.latest-card h3 a{color:inherit;text-decoration:none}.latest-card p{font-size:11px;color:var(--muted);margin:0 0 10px}.latest-more{font-size:11px;color:var(--ink);text-decoration:none;border-bottom:1px solid #bbb}.latest-empty{border:1px dashed #d9dcd8;border-radius:16px;padding:28px;text-align:center;color:#8b928e;background:#fafaf8}
.shop-section{max-width:1440px;margin:10px auto 0;padding:62px 28px;display:grid;grid-template-columns:330px 1fr;gap:34px;background:linear-gradient(120deg,#f8f4ed 0%,#f5f8f5 100%);border-radius:26px}.shop-intro{padding:14px 10px}.shop-intro>span{font-size:10px;letter-spacing:.2em;color:#8a8e89}.shop-intro h2{font-family:"Noto Serif JP",serif;font-size:32px;line-height:1.55;margin:8px 0 14px}.shop-intro p{font-size:12px;color:var(--muted);margin:0 0 20px}.shop-intro>a{display:inline-block;background:var(--ink);color:#fff;text-decoration:none;border-radius:999px;padding:12px 18px;font-size:12px}.shop-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.shop-card{display:block;color:inherit;text-decoration:none;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 5px 18px rgba(0,0,0,.04);transition:transform .2s,box-shadow .2s}.shop-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(0,0,0,.08)}.shop-card img{width:100%;height:160px;object-fit:cover}.shop-card span{display:block;padding:12px 14px 0;font-size:9px;letter-spacing:.15em;color:#a07a51}.shop-card h3{font-family:"Noto Serif JP",serif;font-size:16px;margin:4px 14px 6px;line-height:1.45}.shop-card p{font-size:10px;color:var(--muted);margin:0;padding:0 14px 16px}
@media(max-width:1050px){.latest-grid{grid-template-columns:repeat(2,1fr)}.shop-section{grid-template-columns:1fr}.shop-intro{max-width:680px}.shop-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.latest-section{padding-top:18px}.latest-heading{display:block}.latest-heading>a{display:inline-block;margin-top:10px}.latest-grid{grid-template-columns:1fr 1fr;gap:12px}.latest-thumb img{height:120px}.latest-card h3{font-size:14px}.latest-card p{display:none}.shop-section{margin-top:0;padding:38px 16px;border-radius:0;gap:20px}.shop-intro{padding:0}.shop-intro h2{font-size:26px}.shop-grid{grid-template-columns:1fr 1fr;gap:10px}.shop-card img{height:120px}.shop-card h3{font-size:14px;margin-left:11px;margin-right:11px}.shop-card span{padding-left:11px}.shop-card p{display:none}}

/* v1.3: single post header cleanup */
.single-main{max-width:1100px;margin:0 auto;padding:34px 28px 64px}.single-entry-header{padding:8px 0 24px;border-bottom:1px solid var(--line);margin-bottom:28px}.single-entry-header .entry-title{margin:0;font-family:"Noto Serif JP",serif;font-size:38px;line-height:1.42}.entry-date{margin:10px 0 0;color:var(--muted);font-size:12px;letter-spacing:.04em}.single-featured-image{margin:0 0 30px}.single-featured-image img{display:block;width:100%;border-radius:18px}.single-main--designed{max-width:none;padding:0;margin:0}.single-article--designed{margin:0}.entry-content--designed{margin:0;padding:0}.entry-content--designed>.rj-post{margin-top:0}.entry-content--designed .rj-post-hero{margin-top:0}
@media(max-width:700px){.single-main{padding:24px 16px 44px}.single-entry-header{padding:4px 0 18px;margin-bottom:20px}.single-entry-header .entry-title{font-size:28px}.single-main--designed{padding:0}.single-featured-image img{border-radius:12px}}

/* v1.4: static HTML hero parity + reliable image display */
@media(min-width:701px){
  .hero{height:calc(100vh - 76px);min-height:760px;max-height:850px}
  .hero-content{min-height:100%;display:flex;flex-direction:column;justify-content:center}
}
.quick-links img,.card img,.experience-panel img,.latest-thumb img,.shop-card img,.style-grid img,.good-banner>img{display:block}


/* v1.5: Okinawa good actions + regional value circulation */
.good-actions{max-width:1440px;margin:24px auto 0;padding:0 28px;display:grid;grid-template-columns:1.05fr .95fr 1.2fr;gap:0;background:#fff;overflow:hidden;border-radius:24px;box-shadow:0 10px 38px rgba(23,49,44,.07);border:1px solid #edf0ec}.good-actions-photo{position:relative;min-height:300px;overflow:hidden}.good-actions-photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.good-actions-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,35,50,0) 45%,rgba(0,35,50,.58) 100%)}.good-actions-photo-copy{position:absolute;left:26px;right:26px;bottom:24px;z-index:2;color:#fff}.good-actions-photo-copy span,.good-actions-kicker{display:block;font-size:9px;letter-spacing:.2em}.good-actions-photo-copy strong{display:block;font-family:"Noto Serif JP",serif;font-size:24px;font-weight:500;line-height:1.55;margin-top:5px}.good-actions-copy{padding:38px 34px;display:flex;flex-direction:column;justify-content:center}.good-actions-kicker{color:#8a918d;margin-bottom:5px}.good-actions-copy h2{font-family:"Noto Serif JP",serif;font-size:30px;line-height:1.45;margin:0 0 12px}.good-actions-copy p{font-size:12px;color:var(--muted);margin:0 0 20px}.good-actions-more{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;width:max-content;max-width:100%;border:1px solid #cfd4d0;border-radius:999px;padding:10px 17px;color:inherit;text-decoration:none;font-size:11px}.good-actions-grid{background:linear-gradient(135deg,#f7fcfd,#f6f8f4);padding:32px;display:grid;grid-template-columns:1fr 1fr;gap:12px;align-content:center}.good-action-card{background:#fff;border-radius:14px;padding:15px 14px;display:grid;grid-template-columns:42px 1fr;gap:11px;align-items:center;box-shadow:0 4px 16px rgba(31,62,55,.045)}.good-action-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#eff9fb;color:#0f93c5;font-size:20px;font-weight:700}.good-action-card:nth-child(3) .good-action-icon{background:#eff8ef;color:#61a851}.good-action-card:nth-child(4) .good-action-icon{background:#fff6e9;color:#de9a34}.good-action-card b{display:block;font-size:12px}.good-action-card small{display:block;font-size:9px;color:#85908b;margin-top:2px}.good-actions-note{grid-column:1/-1;text-align:right;margin:2px 0 0;font-size:9px;color:#9aa19d}

.circulation-section{max-width:1440px;min-height:430px;margin:28px auto 0;position:relative;overflow:hidden;border-radius:24px;display:grid;grid-template-columns:.9fr 1.15fr .55fr;align-items:center;background:#e9f8ff}.circulation-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 58%;filter:saturate(.9) brightness(1.08)}.circulation-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(244,252,255,.98) 0%,rgba(236,250,255,.96) 30%,rgba(232,248,253,.79) 58%,rgba(235,249,253,.28) 100%)}.circulation-copy,.circulation-wheel,.circulation-message{position:relative;z-index:2}.circulation-copy{padding:48px 20px 48px 42px}.circulation-copy>span{font-size:9px;letter-spacing:.2em;color:#6b8790}.circulation-copy h2{font-family:"Noto Serif JP",serif;font-size:32px;line-height:1.55;font-weight:500;margin:8px 0 16px}.circulation-copy p{font-size:12px;color:#607177;margin:0 0 22px;max-width:420px}.circulation-copy a{display:inline-flex;align-items:center;gap:30px;border:1px solid #aebdc2;border-radius:999px;padding:10px 17px;color:inherit;text-decoration:none;font-size:11px;background:rgba(255,255,255,.62)}.circulation-wheel{width:330px;height:330px;margin:auto;border-radius:50%;background:radial-gradient(circle,#fff 0 27%,rgba(255,255,255,.55) 28% 46%,rgba(30,170,207,.08) 47% 100%);border:1px solid rgba(33,153,189,.16);box-shadow:inset 0 0 0 28px rgba(255,255,255,.28)}.wheel-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:112px;height:112px;border-radius:50%;display:grid;place-items:center;text-align:center;background:linear-gradient(145deg,#0ba3d1,#087eb5);color:#fff;font-family:"Noto Serif JP",serif;font-size:20px;line-height:1.35;box-shadow:0 12px 30px rgba(14,137,183,.26)}.wheel-item{position:absolute;width:112px;text-align:center;color:#2b4b55}.wheel-item:before{content:"";display:block;width:42px;height:42px;border-radius:50%;margin:0 auto 4px;background:linear-gradient(145deg,#b9ebf4,#7bd5e5);box-shadow:0 4px 12px rgba(0,139,177,.12)}.wheel-item b{display:block;font-size:11px}.wheel-item small{display:block;font-size:8px;color:#74878d}.wheel-1{left:109px;top:2px}.wheel-2{right:-4px;top:67px}.wheel-3{right:-13px;top:186px}.wheel-4{left:111px;bottom:-9px}.wheel-5{left:9px;bottom:22px}.wheel-6{left:-23px;top:178px}.wheel-7{left:-17px;top:65px}.wheel-8{left:108px;top:64px;transform:translateY(-28px)}.wheel-8:before{background:linear-gradient(145deg,#f6e59d,#eec54c)}.wheel-4:before,.wheel-5:before{background:linear-gradient(145deg,#bceec0,#72c982)}.circulation-message{align-self:start;justify-self:end;padding:54px 38px 0 0;color:#fff;font-family:"Noto Serif JP",serif;font-size:25px;line-height:1.6;text-shadow:0 2px 12px rgba(0,85,125,.35);transform:rotate(-4deg)}

@media(max-width:1050px){.good-actions{grid-template-columns:1fr 1fr}.good-actions-grid{grid-column:1/-1;grid-template-columns:repeat(4,1fr)}.good-action-card{grid-template-columns:1fr;text-align:center}.circulation-section{grid-template-columns:1fr 1fr}.circulation-message{display:none}.circulation-copy{padding-left:34px}.circulation-wheel{transform:scale(.9)}}
@media(max-width:700px){.good-actions{margin-top:0;padding:0;display:block;border-radius:0;border-left:0;border-right:0}.good-actions-photo{min-height:280px}.good-actions-copy{padding:28px 20px}.good-actions-copy h2{font-size:27px}.good-actions-grid{padding:20px 16px 24px;grid-template-columns:1fr 1fr}.good-action-card{padding:13px 8px}.good-actions-note{text-align:left}.circulation-section{margin-top:0;border-radius:0;display:block;min-height:auto;padding-bottom:28px}.circulation-bg{object-position:70% center}.circulation-overlay{background:linear-gradient(180deg,rgba(244,252,255,.98) 0%,rgba(237,250,255,.92) 52%,rgba(230,247,253,.76) 100%)}.circulation-copy{padding:40px 20px 18px}.circulation-copy h2{font-size:28px}.circulation-wheel{width:300px;height:300px;transform:scale(.86);margin:-8px auto -16px}.wheel-center{width:104px;height:104px;font-size:18px}.circulation-message{display:none}}

/* Hero search overflow fix */
.hero .search{
    position:relative;
    z-index:3;
    width:min(560px,100%);
    height:58px;
    margin-top:26px;
    overflow:hidden;
    border-radius:999px;
}

.hero .search button{
    position:relative;
    right:auto;
    bottom:auto;
    width:58px;
    height:58px;
    flex:0 0 58px;
    padding:0;
    margin:0;
    border:0;
    border-radius:0;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
}

.hero .search button::before,
.hero .search button::after{
    position:static;
}
.hero{
    isolation:isolate;
}
/* Top-page category layout; retain desktop/tablet rules and existing assets. */
@media (max-width: 767px) {
  .rj-front-page .quick-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 12px;
    padding: 18px 16px 8px;
  }

  .rj-front-page .quick-links > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    text-align: center;
  }

  .rj-front-page .quick-links > a > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .rj-front-page .quick-links > a > b {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
    overflow-wrap: normal;
    word-break: normal;
    writing-mode: horizontal-tb;
  }

  .rj-front-page .quick-links > a > small {
    display: none;
  }
}
