/* Rooky homepage redesign — 2026-10-16 */
body:has(.qj-topimage) {
  --r-teal:#009f93; --r-teal-dark:#007d75; --r-navy:#12324b;
  --r-yellow:#ffe500; --r-mint:#eaf9f6; --r-line:#dce9e8;
  color:var(--r-navy); background:#f7fbfb;
  font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  font-size:15px; line-height:1.75; -webkit-font-smoothing:antialiased;
}
body:has(.qj-topimage) *,body:has(.qj-topimage) *::before,body:has(.qj-topimage) *::after{box-sizing:border-box}
body:has(.qj-topimage) a{transition:color .2s,background .2s,transform .2s,box-shadow .2s}
body:has(.qj-topimage) #head{width:100%;height:auto;padding:12px 0;background:rgba(255,255,255,.98);border-bottom:1px solid var(--r-line)}
body:has(.qj-topimage) .qj-head{width:calc(100% - 48px);max-width:1180px;min-height:68px;height:auto;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:28px}
body:has(.qj-topimage) .qj-head__set,body:has(.qj-topimage) .qj-head__set__logo{display:flex;align-items:center}
body:has(.qj-topimage) .qj-head__set__logo img{width:178px;height:auto;max-height:62px;object-fit:contain}
body:has(.qj-topimage) .qj-head__panel{display:flex;align-items:center;gap:24px;margin-left:auto}
body:has(.qj-topimage) .qj-head__panel__free{display:flex;align-items:center;gap:16px}
body:has(.qj-topimage) .qj-head__panel__free__hello{margin:0;color:#526978;font-size:12px}
body:has(.qj-topimage) .qj-head__panel__free__link{margin:0}
body:has(.qj-topimage) .qj-head__panel__free__link a{color:var(--r-navy);font-weight:700;text-decoration:none}
body:has(.qj-topimage) .qjMyMenuList{display:flex;align-items:center;gap:10px;margin:0}
body:has(.qj-topimage) .qjMyMenuList__item{border:0}
body:has(.qj-topimage) .qjMyMenuList__item a{min-width:104px;min-height:46px;padding:10px 16px;border:1px solid var(--r-line);border-radius:999px;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--r-navy);background:#fff;text-decoration:none;font-weight:800}
body:has(.qj-topimage) .qjMyMenuList__item:last-child a{border-color:var(--r-teal);color:#fff;background:var(--r-teal);box-shadow:0 8px 20px rgba(0,159,147,.18)}
body:has(.qj-topimage) .qjMyMenuList__item a:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(18,50,75,.12)}
body:has(.qj-topimage) #menu{width:100%;height:auto;background:#fff;border-bottom:1px solid var(--r-line)}
body:has(.qj-topimage) #menu ul{width:calc(100% - 48px);max-width:1180px;height:auto;margin:0 auto;padding:0;display:flex;align-items:center;gap:34px}
body:has(.qj-topimage) #menu li{width:auto;border:0;float:none}
body:has(.qj-topimage) #menu li a{position:relative;display:block;padding:14px 0 13px;color:var(--r-navy);font-size:14px;font-weight:700;text-decoration:none}
body:has(.qj-topimage) #menu li a::after{content:"";position:absolute;right:0;bottom:7px;left:0;height:3px;border-radius:3px;background:var(--r-yellow);transform:scaleX(0);transform-origin:left;transition:transform .2s}
body:has(.qj-topimage) #menu li a:hover::after{transform:scaleX(1)}
body:has(.qj-topimage) #contents{width:100%;padding:0;overflow:hidden}
body:has(.qj-topimage) .qj-topimage{position:relative;width:100%;height:480px;margin:0;overflow:hidden;background-image:url("/common/img/rooky-genz-hero-20261016.png");background-position:center;background-size:cover}
body:has(.qj-topimage) .qj-topimage::before{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 31%,rgba(255,255,255,.72) 54%,rgba(255,255,255,.06) 82%)}
body:has(.qj-topimage) .qj-topimage::after{content:"SCOUT BAITO FOR STUDENTS";position:absolute;right:30px;bottom:18px;color:rgba(255,255,255,.82);font-size:11px;font-weight:800;letter-spacing:.18em}
body:has(.qj-topimage) .qj-topimage__{position:relative;z-index:1;width:calc(100% - 48px);max-width:1180px;height:100%;margin:0 auto}
body:has(.qj-topimage) .qj-topimage__text{position:relative;top:auto;left:auto;width:min(590px,56%);height:auto;padding:82px 0 36px}
body:has(.qj-topimage) .qj-topimage__text::before{content:"学生のためのスカウト型バイトサービス";display:inline-flex;margin-bottom:20px;padding:7px 14px;border-radius:999px;color:var(--r-teal-dark);background:var(--r-mint);font-size:12px;font-weight:800;letter-spacing:.02em}
body:has(.qj-topimage) .qj-topimage__title{position:relative;width:auto;margin:0 0 24px;padding:0 0 18px;color:var(--r-navy);font-size:0!important;font-weight:900;line-height:1.18;letter-spacing:-.035em;text-shadow:none}
body:has(.qj-topimage) .qj-topimage__title::before{content:"あなたに合うバイトから\Aスカウトが届く。";display:block;white-space:pre-line;color:var(--r-navy);font-size:clamp(38px,4.2vw,62px);font-weight:900;line-height:1.18;letter-spacing:-.035em}
body:has(.qj-topimage) .qj-topimage__title::after{content:"";position:absolute;left:0;bottom:0;width:88px;height:7px;border-radius:99px;background:var(--r-yellow)}
body:has(.qj-topimage) .qj-topimage__lead{width:auto;max-width:560px;margin:0;color:#334d5e;font-size:17px;font-weight:600;line-height:1.9;text-shadow:none}
body:has(.qj-topimage) .easySearchForm{position:relative;z-index:3;width:calc(100% - 48px);max-width:1180px;height:auto;margin:-42px auto 34px;padding:0;border:1px solid rgba(0,159,147,.12);border-radius:22px;background:var(--r-mint);box-shadow:0 18px 50px rgba(18,50,75,.12)}
body:has(.qj-topimage) .easySearchForm__{width:100%;height:auto;margin:0;padding:24px}
body:has(.qj-topimage) .easySearchForm .formGrid{width:100%;height:auto;display:flex;align-items:stretch;gap:12px}
body:has(.qj-topimage) .easySearchForm .formGrid__col{padding:0}
body:has(.qj-topimage) .easySearchForm .formGrid__col--3{flex:1 1 0;width:auto}
body:has(.qj-topimage) .easySearchForm .formGrid__col--05{display:none}
body:has(.qj-topimage) .easySearchForm .formGrid__col--free{flex:0 0 220px;width:auto}
body:has(.qj-topimage) .easySearchForm .cmn-stylishSelect{height:58px;border:1px solid var(--r-line);border-radius:14px;overflow:hidden;background:#fff}
body:has(.qj-topimage) .easySearchForm .cmn-stylishSelect select{width:100%;height:58px;padding:0 46px 0 18px;border:0;color:var(--r-navy);background:#fff;font-size:15px;font-weight:700}
body:has(.qj-topimage) .easySearchForm .cmn-stylishSelect .fa{right:18px;color:var(--r-teal)}
body:has(.qj-topimage) .easySearchForm__submit,body:has(.qj-topimage) .easySearchForm__submit input{width:100%;height:58px}
body:has(.qj-topimage) .easySearchForm__submit input{border:0;border-radius:14px;color:var(--r-navy);background:var(--r-yellow);box-shadow:0 8px 18px rgba(165,142,0,.16);font-size:16px;font-weight:900;text-indent:0!important;cursor:pointer}
body:has(.qj-topimage) .easySearchForm__submit input:hover{transform:translateY(-2px);filter:brightness(.98)}
body:has(.qj-topimage) .contents_inline.c2{width:calc(100% - 48px);max-width:1180px;margin:0 auto 56px}
body:has(.qj-topimage) .contents_inline h2,body:has(.qj-topimage) .cmn-heading--lv2{margin-top:30px;padding:0 0 12px;border-bottom:0;color:var(--r-navy);font-size:24px;font-weight:900;line-height:1.4}
body:has(.qj-topimage) .contents_inline h2::after,body:has(.qj-topimage) .cmn-heading--lv2::after{content:"";display:block;width:48px;height:5px;margin-top:10px;border-radius:5px;background:var(--r-yellow)}
body:has(.qj-topimage) .contents_inline .cmn-panel,body:has(.qj-topimage) .contents_inline .cmn-panel--notice{overflow:hidden;border:1px solid var(--r-line);border-radius:18px;background:#fff;box-shadow:0 10px 30px rgba(18,50,75,.06)}
body:has(.qj-topimage) .contents_inline a{color:var(--r-teal-dark);font-weight:700}
body:has(.qj-topimage) #foot{border-top:0;background:var(--r-navy);color:rgba(255,255,255,.86)}
body:has(.qj-topimage) #foot a{color:#fff}
@media(max-width:900px){body:has(.qj-topimage) .qj-head{width:calc(100% - 32px)}body:has(.qj-topimage) .qj-head__panel__free{display:none}body:has(.qj-topimage) #menu ul{width:calc(100% - 32px);gap:24px;overflow-x:auto}body:has(.qj-topimage) .qj-topimage__{width:calc(100% - 40px)}body:has(.qj-topimage) .qj-topimage__text{width:65%}body:has(.qj-topimage) .easySearchForm{width:calc(100% - 32px)}}
@media(max-width:767px){
  body:has(.qj-topimage){font-size:14px}body:has(.qj-topimage) #head{padding:8px 0}
  body:has(.qj-topimage) .qj-head{width:calc(100% - 24px);min-height:56px;gap:12px}
  body:has(.qj-topimage) .qj-head__set__logo img{width:132px;max-height:48px}
  body:has(.qj-topimage) .qj-head__panel{gap:6px}body:has(.qj-topimage) .qjMyMenuList{gap:6px}
  body:has(.qj-topimage) .qjMyMenuList__item a{min-width:0;min-height:40px;padding:8px 11px}
  body:has(.qj-topimage) .qjMyMenuList__item__icon{display:none}body:has(.qj-topimage) .qjMyMenuList__item__name{font-size:11px;white-space:nowrap}
  body:has(.qj-topimage) #menu ul{width:100%;gap:0;padding:0 12px}body:has(.qj-topimage) #menu li{flex:0 0 auto}body:has(.qj-topimage) #menu li a{padding:12px 13px 11px;font-size:12px;white-space:nowrap}
  body:has(.qj-topimage) .qj-topimage{height:500px;background-position:62% center}
  body:has(.qj-topimage) .qj-topimage::before{background:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.92) 56%,rgba(255,255,255,.2) 100%)}
  body:has(.qj-topimage) .qj-topimage__{width:calc(100% - 32px)}body:has(.qj-topimage) .qj-topimage__text{width:100%;padding:46px 0 20px}
  body:has(.qj-topimage) .qj-topimage__text::before{margin-bottom:16px;padding:6px 10px;font-size:10px}
  body:has(.qj-topimage) .qj-topimage__title{margin-bottom:18px;padding-bottom:15px}
  body:has(.qj-topimage) .qj-topimage__title::before{font-size:clamp(32px,10.5vw,44px)}
  body:has(.qj-topimage) .qj-topimage__lead{max-width:94%;font-size:14px;line-height:1.8}
  body:has(.qj-topimage) .easySearchForm{width:calc(100% - 24px);margin:-34px auto 26px;border-radius:18px}
  body:has(.qj-topimage) .easySearchForm__{padding:16px}body:has(.qj-topimage) .easySearchForm .formGrid{flex-direction:column;gap:10px}
  body:has(.qj-topimage) .easySearchForm .formGrid__col,body:has(.qj-topimage) .easySearchForm .formGrid__col--3,body:has(.qj-topimage) .easySearchForm .formGrid__col--free{width:100%;flex:none}
  body:has(.qj-topimage) .contents_inline.c2{width:calc(100% - 24px);margin:0 auto 36px}
}

/* 2026-10-17: show an actual Japan-region map and keep all 47 prefectures visible. */
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area{
  padding-right:82px!important;
}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area::after{
  content:""!important;
  position:absolute!important;
  top:50%!important;
  right:12px!important;
  bottom:auto!important;
  width:60px!important;
  height:60px!important;
  background-color:transparent!important;
  background-image:url("rooky-region-map-sprite.svg?v=20261017-1450")!important;
  background-repeat:no-repeat!important;
  background-size:480px 60px!important;
  clip-path:none!important;
  opacity:1!important;
  transform:translateY(-50%)!important;
}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area[data-region-map="1"]::after{background-position:0 0!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area[data-region-map="2"]::after{background-position:-60px 0!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area[data-region-map="3"]::after{background-position:-120px 0!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area[data-region-map="4"]::after{background-position:-180px 0!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area[data-region-map="5"]::after{background-position:-240px 0!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area[data-region-map="6"]::after{background-position:-300px 0!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area[data-region-map="7"]::after{background-position:-360px 0!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area[data-region-map="8"]::after{background-position:-420px 0!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .foreign .map_area::after{
  content:"🌏"!important;
  width:auto!important;
  height:auto!important;
  background:none!important;
  font-size:25px!important;
  line-height:1!important;
}
@media(max-width:767px){
  body:has(.qj-topimage) .qj-homeExplore .areaType .map_area{padding-right:76px!important}
  body:has(.qj-topimage) .qj-homeExplore .areaType .map_area>ul{gap:7px 11px!important}
  body:has(.qj-topimage) .qj-homeExplore .areaType .map_area>ul>li a{font-size:12px!important;line-height:1.5!important}
}

@media(max-width:767px){
body:has(.qj-topimage) .qj-topimage{width:100%!important;min-width:0!important}
body:has(.qj-topimage) .contents_inline.c2{overflow:hidden}
body:has(.qj-topimage) .qj-article__,body:has(.qj-topimage) .qj-article__des,body:has(.qj-topimage) .qj-article__des__title,body:has(.qj-topimage) .view-article__embed{width:100%!important;min-width:0!important}
body:has(.qj-topimage) .embed-articleListHorizntal{display:grid!important;grid-template-columns:1fr!important;gap:16px!important;width:100%!important;margin:0!important}
body:has(.qj-topimage) .embed-articleListHorizntal__,body:has(.qj-topimage) .view-articleCardThumb,body:has(.qj-topimage) .view-articleCardThumb__,body:has(.qj-topimage) .view-articleCardThumb__thumb,body:has(.qj-topimage) .view-articleCardThumb__thumb img,body:has(.qj-topimage) .view-articleCardThumb__body{width:100%!important;max-width:100%!important;margin:0!important}
body:has(.qj-topimage) #foot .foot_inline{width:calc(100% - 24px)!important;min-width:0!important}
body:has(.qj-topimage) #foot .cmslGrid{display:block!important;width:100%!important}
body:has(.qj-topimage) #foot .cmslGrid__col,body:has(.qj-topimage) #foot .foot_menu,body:has(.qj-topimage) #foot .areaList,body:has(.qj-topimage) #foot .areaList__prefecture{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}
body:has(.qj-topimage) #foot .areaList{display:block!important}
}

@media(max-width:767px){
body:has(.qj-topimage){overflow-x:hidden}
body:has(.qj-topimage) .contents_m,body:has(.qj-topimage) .contents_s{float:none!important;width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important}
body:has(.qj-topimage) .passwordNotice,body:has(.qj-topimage) .passwordNotice__title,body:has(.qj-topimage) .passwordNotice__body,body:has(.qj-topimage) .contents_box,body:has(.qj-topimage) .contents_box>h2,body:has(.qj-topimage) .contents_box>.body{width:100%!important;max-width:100%!important;min-width:0!important}
body:has(.qj-topimage) #social{width:100%!important;max-width:100%!important;display:flex!important;flex-wrap:wrap!important}
body:has(.qj-topimage) iframe{max-width:100%!important}
}

@media(max-width:767px){body:has(.qj-topimage) .qj-head__set{padding-right:0!important}}
@media(max-width:767px){body:has(.qj-topimage) .qj-topimage__title::before{font-size:clamp(28px,8vw,32px)!important;word-break:keep-all}}

/* Article cards: keep thumbnails and card heights consistent */
body:has(.qj-topimage) .qj-article .embed-articleListHorizntal{
  align-items:stretch;
}
body:has(.qj-topimage) .qj-article .embed-articleListHorizntal__{
  display:flex;
  height:auto;
}
body:has(.qj-topimage) .qj-article .view-articleCardThumb{
  width:100%;
  height:100%;
}
body:has(.qj-topimage) .qj-article .view-articleCardThumb__{
  display:flex;
  flex-direction:column;
  width:100%;
  height:100%;
}
body:has(.qj-topimage) .qj-article .view-articleCardThumb__thumb{
  width:100%;
  aspect-ratio:16 / 9;
  overflow:hidden;
  background:#eaf3f2;
}
body:has(.qj-topimage) .qj-article .view-articleCardThumb__thumb img{
  display:block;
  width:100%!important;
  height:100%!important;
  object-fit:cover;
  object-position:center;
}
body:has(.qj-topimage) .qj-article .view-articleCardThumb__body{
  flex:1 1 auto;
}
body:has(.qj-topimage) .qj-article .view-articleCardThumb__body__title{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}
body:has(.qj-topimage) .qj-article .view-articleCardThumb__body__description{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}

/* Article detail: reusable editorial layout */
body:has(.view-article){
  --ra-teal:#009f93;
  --ra-teal-dark:#007d75;
  --ra-navy:#12324b;
  --ra-yellow:#ffe500;
  --ra-mint:#eaf9f6;
  --ra-line:#dce9e8;
  color:var(--ra-navy);
  background:#f5f8f8;
  font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  font-size:16px;
  line-height:1.85;
  -webkit-font-smoothing:antialiased;
}
body:has(.view-article) *,body:has(.view-article) *::before,body:has(.view-article) *::after{box-sizing:border-box}
body:has(.view-article) #head{width:100%;height:auto;padding:12px 0;background:#fff;border-bottom:1px solid var(--ra-line)}
body:has(.view-article) .qj-head{width:calc(100% - 48px);max-width:1180px;min-height:68px;height:auto;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:28px}
body:has(.view-article) .qj-head__set,body:has(.view-article) .qj-head__set__logo{display:flex;align-items:center}
body:has(.view-article) .qj-head__set__logo img{width:178px;height:auto;max-height:62px;object-fit:contain}
body:has(.view-article) .qj-head__panel{display:flex;align-items:center;gap:24px;margin-left:auto}
body:has(.view-article) .qj-head__panel__free{display:flex;align-items:center;gap:16px}
body:has(.view-article) .qjMyMenuList{display:flex;align-items:center;gap:10px;margin:0}
body:has(.view-article) .qjMyMenuList__item{border:0}
body:has(.view-article) .qjMyMenuList__item a{min-width:104px;min-height:46px;padding:10px 16px;border:1px solid var(--ra-line);border-radius:999px;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--ra-navy);background:#fff;text-decoration:none;font-weight:800}
body:has(.view-article) .qjMyMenuList__item:last-child a{border-color:var(--ra-teal);color:#fff;background:var(--ra-teal)}
body:has(.view-article) #menu{width:100%;height:auto;background:#fff;border-bottom:1px solid var(--ra-line)}
body:has(.view-article) #menu ul{width:calc(100% - 48px);max-width:1180px;height:auto;margin:0 auto;padding:0;display:flex;align-items:center;gap:34px}
body:has(.view-article) #menu li{width:auto;border:0;float:none}
body:has(.view-article) #menu li a{display:block;padding:14px 0;color:var(--ra-navy);font-size:14px;font-weight:700;text-decoration:none}
body:has(.view-article) .l-pagebody{padding:34px 0 72px}
body:has(.view-article) .l-contents{width:calc(100% - 48px)!important;max-width:1180px!important;margin:0 auto!important}
body:has(.view-article) .cmslPanel{width:100%!important;margin:18px 0 0;border:1px solid var(--ra-line);border-radius:24px;background:#fff;box-shadow:0 18px 50px rgba(18,50,75,.08);overflow:hidden}
body:has(.view-article) .cmslPanel__body{width:100%!important;padding:38px!important}
body:has(.view-article) .cmslGrid.cmslGrid--separate{display:grid!important;grid-template-columns:minmax(0,1fr) 300px;gap:38px;width:100%!important;margin:0!important}
body:has(.view-article) .cmslGrid>.cmslGrid__col{width:auto!important;min-width:0!important;padding:0!important}
body:has(.view-article) .view-article{width:100%!important;margin:0!important;padding:0!important}
body:has(.view-article) .view-article__header{width:100%!important;padding:0 0 28px;border-bottom:1px solid var(--ra-line)}
body:has(.view-article) .view-article__header__category{margin-bottom:12px}
body:has(.view-article) .view-articleCategoryList,body:has(.view-article) .view-articleTagList{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0}
body:has(.view-article) .view-articleCategoryList__item,body:has(.view-article) .view-articleTagList__item{margin:0!important;border:0!important}
body:has(.view-article) .view-articleCategoryList a{display:inline-flex;padding:5px 11px;border-radius:999px;color:var(--ra-teal-dark);background:var(--ra-mint);font-size:12px;font-weight:800;text-decoration:none}
body:has(.view-article) .view-article__header__date{margin:0 0 12px;color:#71838f;font-size:12px;letter-spacing:.02em}
body:has(.view-article) .view-article__header__title{width:100%!important;margin:0;color:var(--ra-navy);font-size:clamp(28px,3vw,40px);font-weight:900;line-height:1.42;letter-spacing:-.025em;word-break:auto-phrase;text-wrap:pretty}
body:has(.view-article) .view-article__header__description{margin-top:14px;color:#526978;font-size:16px;line-height:1.9}
body:has(.view-article) .view-article__header__tag{margin-top:18px}
body:has(.view-article) .view-articleTagList a{display:inline-flex;padding:5px 10px;border:1px solid var(--ra-line);border-radius:8px;color:#526978;background:#fff;font-size:12px;text-decoration:none}
body:has(.view-article) .view-article__body{width:100%!important;padding-top:34px;color:#2f4656;font-size:16px;line-height:1.95}
body:has(.view-article) .view-article__body p{margin:0 0 1.4em}
body:has(.view-article) .view-article__body h2{margin:2.2em 0 .8em;padding:0 0 12px;border-bottom:3px solid var(--ra-yellow);color:var(--ra-navy);font-size:26px;line-height:1.5}
body:has(.view-article) .view-article__body h3{margin:1.8em 0 .7em;padding-left:14px;border-left:5px solid var(--ra-teal);color:var(--ra-navy);font-size:21px;line-height:1.55}
body:has(.view-article) .view-article__body ul,body:has(.view-article) .view-article__body ol{margin:20px 0;padding:20px 22px 20px 44px;border-radius:14px;background:#f4faf9}
body:has(.view-article) .view-article__body li+li{margin-top:8px}
body:has(.view-article) .view-article__body blockquote{margin:28px 0;padding:22px 24px;border:0;border-left:6px solid var(--ra-teal);border-radius:0 14px 14px 0;background:var(--ra-mint);color:#35535f}
body:has(.view-article) .view-article__body img{max-width:100%;height:auto}
body:has(.view-article) .view-articleParts--picture{margin:0 0 34px;padding:0 0 34px;border-bottom:1px solid var(--ra-line)}
body:has(.view-article) .view-articleParts--picture:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0}
body:has(.view-article) .view-articleParts__picture{display:grid!important;grid-template-columns:minmax(230px,40%) minmax(0,1fr);gap:28px;align-items:start;width:100%!important}
body:has(.view-article) .view-articleParts__picture__thumb,body:has(.view-article) .view-articleParts__picture__comment{width:auto!important;height:auto!important;min-width:0!important}
body:has(.view-article) .view-articleParts__picture__thumb a{display:block}
body:has(.view-article) .view-articleParts__picture__thumb img{display:block;width:100%!important;height:auto!important;border-radius:16px;background:#edf4f3;box-shadow:0 8px 24px rgba(18,50,75,.1)}
body:has(.view-article) .view-articleParts__picture__comment__title{margin:0 0 13px;color:var(--ra-navy);font-size:20px;font-weight:900;line-height:1.55;text-decoration:none}
body:has(.view-article) .view-articleParts__picture__comment__text{color:#405966;font-size:15px;line-height:1.95}
body:has(.view-article) .view-article__body table{width:100%;margin:28px 0;border-collapse:collapse}
body:has(.view-article) .view-article__body th{background:var(--ra-mint);color:var(--ra-navy);font-weight:800}
body:has(.view-article) .view-article__body th,body:has(.view-article) .view-article__body td{padding:14px 16px;border:1px solid var(--ra-line);text-align:left;vertical-align:top}
body:has(.view-article) .cmslGrid__col--4 .view-article__embed{margin-bottom:32px}
body:has(.view-article) .cmslGrid__col--4 .view-article__embed__title{margin:0 0 14px;padding:0 0 10px;border-bottom:3px solid var(--ra-yellow);color:var(--ra-navy);font-size:20px;font-weight:900}
body:has(.view-article) .cmslGrid__col--4 .view-articleCard{margin:0;border-bottom:1px solid var(--ra-line)}
body:has(.view-article) .cmslGrid__col--4 .view-articleCard__{display:grid!important;grid-template-columns:84px minmax(0,1fr);gap:13px;padding:13px 0!important;text-decoration:none}
body:has(.view-article) .cmslGrid__col--4 .view-articleCard__thumb{width:84px!important;height:64px!important;overflow:hidden;border-radius:10px;background:#edf4f3}
body:has(.view-article) .cmslGrid__col--4 .view-articleCard__thumb img{width:100%!important;height:100%!important;object-fit:cover}
body:has(.view-article) .cmslGrid__col--4 .view-articleCard__body{width:auto!important;min-width:0!important}
body:has(.view-article) .cmslGrid__col--4 .view-articleCard__body__title{display:-webkit-box;margin:0;overflow:hidden;color:var(--ra-navy);font-size:13px;font-weight:800;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:3}
body:has(.view-article) .cmslGrid__col--4 .view-articleCard__body__description{display:none}
body:has(.view-article) .cmslGrid__col--4 .view-articleCardThumb{margin-bottom:16px}
body:has(.view-article) .cmslGrid__col--4 .view-articleCardThumb__thumb{aspect-ratio:16 / 9;overflow:hidden;border-radius:12px}
body:has(.view-article) .cmslGrid__col--4 .view-articleCardThumb__thumb img{width:100%!important;height:100%!important;object-fit:cover}
body:has(.view-article) #foot{border-top:0;background:var(--ra-navy);color:rgba(255,255,255,.86)}
body:has(.view-article) #foot a{color:#fff}

@media(max-width:900px){
  body:has(.view-article) .qj-head{width:calc(100% - 32px)}
  body:has(.view-article) .qj-head__panel__free{display:none}
  body:has(.view-article) #menu ul{width:calc(100% - 32px);gap:24px;overflow-x:auto}
  body:has(.view-article) .l-contents{width:calc(100% - 32px)!important}
  body:has(.view-article) .cmslPanel__body{padding:28px!important}
  body:has(.view-article) .cmslGrid.cmslGrid--separate{grid-template-columns:minmax(0,1fr);gap:48px}
  body:has(.view-article) .cmslGrid__col--4{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
}
@media(max-width:767px){
  body:has(.view-article){font-size:15px;overflow-x:hidden}
  body:has(.view-article) #head{padding:8px 0}
  body:has(.view-article) .qj-head{width:calc(100% - 24px);min-height:56px;gap:10px}
  body:has(.view-article) .qj-head__set__logo img{width:132px;max-height:48px}
  body:has(.view-article) .qj-head__panel{gap:6px}
  body:has(.view-article) .qjMyMenuList{gap:6px}
  body:has(.view-article) .qjMyMenuList__item a{min-width:0;min-height:40px;padding:8px 11px}
  body:has(.view-article) .qjMyMenuList__item__icon{display:none}
  body:has(.view-article) .qjMyMenuList__item__name{font-size:11px;white-space:nowrap}
  body:has(.view-article) #menu ul{width:100%;gap:0;padding:0 12px}
  body:has(.view-article) #menu li{flex:0 0 auto}
  body:has(.view-article) #menu li a{padding:12px 13px;font-size:12px;white-space:nowrap}
  body:has(.view-article) .l-pagebody{padding:18px 0 48px}
  body:has(.view-article) .l-contents{width:calc(100% - 20px)!important}
  body:has(.view-article) .cmslPanel{margin-top:10px;border-radius:18px}
  body:has(.view-article) .cmslPanel__body{padding:20px!important}
  body:has(.view-article) .view-article__header{padding-bottom:22px}
  body:has(.view-article) .view-article__header__title{font-size:27px;line-height:1.45}
  body:has(.view-article) .view-article__body{padding-top:26px;font-size:15px;line-height:1.9}
  body:has(.view-article) .view-articleParts__picture{grid-template-columns:minmax(0,1fr);gap:20px}
  body:has(.view-article) .view-articleParts--picture{margin-bottom:28px;padding-bottom:28px}
  body:has(.view-article) .view-articleParts__picture__comment__title{font-size:19px}
  body:has(.view-article) .cmslGrid__col--4{display:block}
  body:has(.view-article) .view-article__body table{display:block;max-width:100%;overflow-x:auto;white-space:nowrap}
  body:has(.view-article) #foot .foot_inline{width:calc(100% - 24px)!important;min-width:0!important}
}

/* Homepage hero parity with the approved concept — 2026-10-16 */
@media(min-width:901px){
  body:has(.qj-topimage) .qj-head,
  body:has(.qj-topimage) #menu ul,
  body:has(.qj-topimage) .qj-topimage__{width:calc(100% - 128px);max-width:1680px}
  body:has(.qj-topimage) .contents_inline.c2{max-width:1440px}
  body:has(.qj-topimage) .qj-head__set__logo img{width:216px;max-height:72px}
  body:has(.qj-topimage) .qj-topimage{height:610px;background-position:center center}
  body:has(.qj-topimage) .qj-topimage::before{background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 24%,rgba(255,255,255,.88) 40%,rgba(255,255,255,.22) 60%,rgba(255,255,255,.02) 78%)}
  body:has(.qj-topimage) .qj-topimage__text{width:58%;max-width:720px;padding:64px 0 112px}
  body:has(.qj-topimage) .qj-head{width:calc(100% - 128px);max-width:1680px}
  body:has(.qj-topimage) .easySearchForm{width:calc(100% - 128px);max-width:1600px;margin:-66px auto 52px}
  body:has(.qj-topimage) .easySearchForm__{padding:20px 26px}
  body:has(.qj-topimage) .easySearchForm .cmn-stylishSelect,
  body:has(.qj-topimage) .easySearchForm .cmn-stylishSelect select,
  body:has(.qj-topimage) .easySearchForm__submit,
  body:has(.qj-topimage) .easySearchForm__submit input{height:68px}
  body:has(.qj-topimage) .easySearchForm .formGrid__col--free{flex-basis:310px}
}
@media(min-width:1200px){
  body:has(.qj-topimage) #container{position:relative}
  body:has(.qj-topimage) #head{padding:10px 0}
  body:has(.qj-topimage) .qj-head{min-height:76px}
  body:has(.qj-topimage) .qj-head__panel__free__hello{display:none}
  body:has(.qj-topimage) #menu{position:absolute;top:10px;left:calc(50% - 330px);z-index:5;width:auto;border:0;background:transparent}
  body:has(.qj-topimage) #menu ul{width:auto;max-width:none;gap:30px}
  body:has(.qj-topimage) #menu li a{padding:25px 0 22px;font-size:15px}
  body:has(.qj-topimage) #menu li a::after{bottom:15px}
}
body:has(.qj-topimage) .qjMyMenuList__item:last-child a{border-color:var(--r-yellow);color:var(--r-navy);background:var(--r-yellow);box-shadow:0 8px 20px rgba(165,142,0,.16)}
body:has(.qj-topimage) .qj-topimage__text::before{display:none}
body:has(.qj-topimage) .qj-topimage__eyebrow{display:inline-flex;margin:0 0 22px;padding:7px 14px;border-radius:999px;color:var(--r-teal-dark);background:var(--r-mint);font-size:12px;font-weight:900;line-height:1.4;letter-spacing:.02em}
body:has(.qj-topimage) .qj-topimage__title{margin:0 0 28px;padding:0;font-size:clamp(42px,4.1vw,64px)!important;line-height:1.16;letter-spacing:-.045em}
body:has(.qj-topimage) .qj-topimage__title::before,
body:has(.qj-topimage) .qj-topimage__title::after{display:none}
body:has(.qj-topimage) .qj-topimage__title span{display:block;white-space:nowrap}
body:has(.qj-topimage) .qj-topimage__title em{position:relative;z-index:0;font-style:normal}
body:has(.qj-topimage) .qj-topimage__title em::after{content:"";position:absolute;right:-2px;bottom:2px;left:-2px;z-index:-1;height:9px;border-radius:99px;background:var(--r-yellow);transform:rotate(-1.5deg)}
body:has(.qj-topimage) .qj-topimage__lead{max-width:610px;margin:0 0 26px;font-size:16px;line-height:1.75}
body:has(.qj-topimage) .qj-topimage__lead strong,
body:has(.qj-topimage) .qj-topimage__lead span{display:block}
body:has(.qj-topimage) .qj-topimage__lead strong{margin-bottom:7px;color:var(--r-navy);font-size:18px;font-weight:900}
body:has(.qj-topimage) .qj-topimage__actions{display:flex;gap:14px;margin:0 0 16px}
body:has(.qj-topimage) .qj-heroCta{display:inline-flex;min-height:58px;padding:13px 28px;border:2px solid var(--r-teal);border-radius:999px;align-items:center;justify-content:center;gap:13px;color:var(--r-teal-dark);background:#fff;font-size:16px;font-weight:900;text-decoration:none;box-shadow:0 10px 24px rgba(18,50,75,.08)}
body:has(.qj-topimage) .qj-heroCta--primary{border-color:var(--r-yellow);color:var(--r-navy);background:var(--r-yellow)}
body:has(.qj-topimage) .qj-heroCta:hover{transform:translateY(-2px);box-shadow:0 13px 28px rgba(18,50,75,.15)}
body:has(.qj-topimage) .qj-heroGuide{display:inline-flex;align-items:center;gap:9px;color:#078dce!important;font-size:14px;font-weight:900;text-decoration:underline;text-underline-offset:4px}
body:has(.qj-topimage) .qj-heroGuide .fa-book{font-size:19px}
body:has(.qj-topimage) .easySearchForm{background:rgba(234,249,246,.97);box-shadow:0 20px 54px rgba(18,50,75,.14)}
body:has(.qj-topimage) .easySearchForm .cmn-stylishSelect{border-color:#cfe5e2}
body:has(.qj-topimage) .easySearchForm__submit input{color:var(--r-navy);background:var(--r-yellow);box-shadow:0 10px 22px rgba(165,142,0,.2)}
body:has(.qj-topimage) .qj-homeIntro{width:calc(100% - 48px);max-width:1360px;margin:0 auto 56px;padding:18px 0 12px;text-align:center}
body:has(.qj-topimage) .qj-homeIntro__eyebrow{position:relative;display:inline-block;margin:0 0 14px;color:var(--r-teal);font-size:16px;font-weight:900;letter-spacing:.04em}
body:has(.qj-topimage) .qj-homeIntro__eyebrow::after{content:"";display:block;width:42px;height:4px;margin:8px auto 0;border-radius:99px;background:var(--r-teal)}
body:has(.qj-topimage) .qj-homeIntro h2{margin:0 0 34px;padding:0;border:0;color:var(--r-navy);font-size:clamp(28px,3vw,42px);font-weight:900;line-height:1.45;letter-spacing:-.025em}
body:has(.qj-topimage) .qj-homeIntro h2::after{display:none}
body:has(.qj-topimage) .qj-homeIntro__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
body:has(.qj-topimage) .qj-homeIntro__card{padding:30px 26px;border:1px solid var(--r-line);border-radius:22px;background:#fff;text-align:left;box-shadow:0 12px 34px rgba(18,50,75,.06)}
body:has(.qj-topimage) .qj-homeIntro__card>.fa{display:flex;width:50px;height:50px;margin-bottom:18px;border-radius:15px;align-items:center;justify-content:center;color:var(--r-teal);background:var(--r-mint);font-size:23px}
body:has(.qj-topimage) .qj-homeIntro__card h3{margin:0 0 9px;color:var(--r-navy);font-size:20px;font-weight:900}
body:has(.qj-topimage) .qj-homeIntro__card p{margin:0;color:#526978;font-size:14px;line-height:1.8}

@media(min-width:901px) and (max-width:1199px){
  body:has(.qj-topimage) .qj-topimage{height:570px}
  body:has(.qj-topimage) .qj-topimage__text{width:61%;padding-top:58px}
  body:has(.qj-topimage) .qj-topimage__title{font-size:clamp(40px,4.15vw,50px)!important}
  body:has(.qj-topimage) .qj-heroCta{padding-right:22px;padding-left:22px;font-size:14px}
}
@media(max-width:900px){
  body:has(.qj-topimage) .qj-topimage{height:650px;background-position:64% center}
  body:has(.qj-topimage) .qj-topimage::before{background:linear-gradient(180deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.95) 54%,rgba(255,255,255,.12) 100%)}
  body:has(.qj-topimage) .qj-topimage__text{width:100%;max-width:650px;padding:42px 0 92px}
  body:has(.qj-topimage) .qj-topimage__title{font-size:clamp(34px,6.4vw,50px)!important}
  body:has(.qj-topimage) .qj-topimage__lead{max-width:620px}
  body:has(.qj-topimage) .qj-topimage__actions{flex-wrap:wrap}
  body:has(.qj-topimage) .qj-homeIntro__grid{grid-template-columns:1fr}
}
@media(max-width:767px){
  body:has(.qj-topimage) .qj-topimage{height:650px;background-position:67% bottom}
  body:has(.qj-topimage) .qj-topimage__{width:calc(100% - 28px)}
  body:has(.qj-topimage) .qj-topimage__text{padding:30px 0 80px}
  body:has(.qj-topimage) .qj-topimage__eyebrow{margin-bottom:14px;font-size:10px}
  body:has(.qj-topimage) .qj-topimage__title{margin-bottom:20px;font-size:clamp(29px,8.2vw,39px)!important;line-height:1.22;letter-spacing:-.05em}
  body:has(.qj-topimage) .qj-topimage__title span{white-space:normal}
  body:has(.qj-topimage) .qj-topimage__title span:first-child{white-space:nowrap}
  body:has(.qj-topimage) .qj-topimage__lead{margin-bottom:20px;font-size:13px;line-height:1.65}
  body:has(.qj-topimage) .qj-topimage__lead strong{font-size:15px}
  body:has(.qj-topimage) .qj-topimage__actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:13px}
  body:has(.qj-topimage) .qj-heroCta{min-height:50px;padding:10px 9px;gap:6px;font-size:12px;text-align:center}
  body:has(.qj-topimage) .qj-heroGuide{font-size:12px}
  body:has(.qj-topimage) .easySearchForm{margin-top:-54px}
  body:has(.qj-topimage) .qj-homeIntro{width:calc(100% - 24px);margin-bottom:34px;padding-top:8px}
  body:has(.qj-topimage) .qj-homeIntro__eyebrow{font-size:13px}
  body:has(.qj-topimage) .qj-homeIntro h2{margin-bottom:22px;font-size:26px}
  body:has(.qj-topimage) .qj-homeIntro__grid{gap:12px}
  body:has(.qj-topimage) .qj-homeIntro__card{padding:22px 20px}
}
@media(max-width:390px){
  body:has(.qj-topimage) .qj-topimage__title{font-size:28px!important}
  body:has(.qj-topimage) .qj-topimage__actions{grid-template-columns:1fr}
  body:has(.qj-topimage) .qj-heroGuide{font-size:11px}
}

/* Homepage lower content — approved concept implementation */
body:has(.qj-topimage) button,
body:has(.qj-topimage) input,
body:has(.qj-topimage) select{font-family:inherit}
body:has(.qj-topimage) .qjMyMenuList__item a,
body:has(.qj-topimage) .qj-heroCta,
body:has(.qj-topimage) .easySearchForm__submit input{line-height:1.35}
body:has(.qj-topimage) .qjMyMenuList__item__icon,
body:has(.qj-topimage) .qjMyMenuList__item__name{display:inline-flex;align-items:center;line-height:1}

body:has(.qj-topimage) .qj-homeExplore.contents_inline.c2{
  width:calc(100% - 96px);max-width:1360px;margin:0 auto 72px;overflow:visible
}
body:has(.qj-topimage) .qj-homeExplore .contents_m{
  float:none!important;width:100%!important;max-width:none!important;margin:0!important
}
body:has(.qj-topimage) .qj-homeExplore .contents_s{display:none!important}
body:has(.qj-topimage) .qj-homeExplore .contents_box{
  width:100%!important;max-width:none!important;margin:0 0 50px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important
}
body:has(.qj-topimage) .qj-homeExplore .contents_box>h2,
body:has(.qj-topimage) .qj-homeExplore .contents_box>.body{
  width:100%!important;max-width:none!important;min-width:0!important
}
body:has(.qj-topimage) .qj-homeExplore .contents_box>h2{
  position:relative;margin:0 0 18px!important;padding:0 0 0 18px!important;border:0!important;color:var(--r-navy);font-size:28px!important;font-weight:900;line-height:1.45
}
body:has(.qj-topimage) .qj-homeExplore .contents_box>h2::before{
  content:"";position:absolute;top:.18em;bottom:.18em;left:0;width:6px;border-radius:99px;background:var(--r-teal)
}
body:has(.qj-topimage) .qj-homeExplore .contents_box>h2::after{display:none!important}
body:has(.qj-topimage) .qj-homeExplore .contents_box>.body{padding:0!important;border:0!important;background:transparent!important}

body:has(.qj-topimage) .qj-homeExplore .passwordNotice{
  display:grid;grid-template-columns:minmax(260px,320px) minmax(0,1fr);align-items:center;gap:22px;width:100%!important;margin:0 0 42px;padding:20px 24px;border:1px solid #ff7a2f;border-radius:18px;background:#fff9f5;box-shadow:0 10px 26px rgba(255,110,35,.07)
}
body:has(.qj-topimage) .qj-homeExplore .passwordNotice__title{
  width:auto!important;margin:0!important;padding:0!important;border:0!important;color:#f35f1b;font-size:20px!important;font-weight:900;line-height:1.45;text-align:left;background:transparent!important
}
body:has(.qj-topimage) .qj-homeExplore .passwordNotice__title::after{display:none!important}
body:has(.qj-topimage) .qj-homeExplore .passwordNotice__title span{margin-right:8px;color:#f35f1b}
body:has(.qj-topimage) .qj-homeExplore .passwordNotice__body{width:auto!important;border:0!important;background:transparent!important}
body:has(.qj-topimage) .qj-homeExplore .passwordNotice__inner{display:flex;align-items:center;gap:18px;padding:0!important}
body:has(.qj-topimage) .qj-homeExplore .passwordNotice__icon{display:flex;flex:0 0 48px;width:48px;height:48px;align-items:center;justify-content:center;border-radius:50%;color:#fff;background:#ff6c24;font-size:24px}
body:has(.qj-topimage) .qj-homeExplore .passwordNotice__text{display:flex;min-width:0;flex:1 1 auto;align-items:center;justify-content:space-between;gap:22px}
body:has(.qj-topimage) .qj-homeExplore .passwordNotice__text>p:first-child{margin:0;color:#526978;font-size:13px;line-height:1.7}
body:has(.qj-topimage) .qj-homeExplore .passwordNotice__btnWrap{flex:0 0 auto;margin:0!important}
body:has(.qj-topimage) .qj-homeExplore .passwordNotice__btn{display:inline-flex;min-height:46px;padding:10px 20px;align-items:center;justify-content:center;border-radius:999px;color:#fff!important;background:#ff6c24;text-decoration:none;box-shadow:0 8px 18px rgba(255,108,36,.2);font-size:13px;font-weight:900;line-height:1.35;white-space:nowrap}

body:has(.qj-topimage) .qj-homeExplore .contents_box.free form{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:16px;align-items:center}
body:has(.qj-topimage) .qj-homeExplore .contents_box.free label{display:block;min-width:0}
body:has(.qj-topimage) .qj-homeExplore .contents_box.free label>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body:has(.qj-topimage) .qj-homeExplore .contents_box.free input[type="text"]{display:block;width:100%!important;height:58px;padding:0 20px;border:1px solid #cfe0e5;border-radius:16px;color:var(--r-navy);background:#fff;font-size:15px;line-height:58px;outline:0;box-shadow:0 5px 18px rgba(18,50,75,.04)}
body:has(.qj-topimage) .qj-homeExplore .contents_box.free input[type="text"]:focus{border-color:var(--r-teal);box-shadow:0 0 0 4px rgba(0,159,147,.1)}
body:has(.qj-topimage) .qj-homeExplore .contents_box.free .search_button{width:100%!important;height:58px;margin:0!important;padding:0 24px;border:0!important;border-radius:16px;color:#fff!important;background:var(--r-teal)!important;font-size:16px;font-weight:900;line-height:58px;text-align:center;text-indent:0!important;box-shadow:0 9px 20px rgba(0,159,147,.2);cursor:pointer}

body:has(.qj-topimage) .qj-homeExplore .areaType{padding:30px!important;border-radius:26px!important;background:var(--r-mint)!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .prefectures>ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area{min-width:0;margin:0!important;padding:18px;border:1px solid var(--r-line);border-radius:16px;background:#fff;box-shadow:0 7px 18px rgba(18,50,75,.04);list-style:none}
body:has(.qj-topimage) .qj-homeExplore .areaType .area_name{margin:0 0 9px!important;padding:0!important;border:0!important;background:none!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .area_name a{color:var(--r-navy)!important;font-size:17px;font-weight:900;text-decoration:none}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area>ul{display:flex;flex-wrap:wrap;gap:5px 10px;margin:0!important;padding:0!important;list-style:none}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area>ul>li{width:auto!important;margin:0!important;padding:0!important;border:0!important;background:none!important;list-style:none}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area>ul>li a{color:#526978!important;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}
body:has(.qj-topimage) .qj-homeExplore .areaType .foreign{margin-top:14px}
body:has(.qj-topimage) .qj-homeExplore .areaType .foreign>ul{margin:0;padding:0;list-style:none}
body:has(.qj-topimage) .qj-homeExplore .areaType .foreign .map_area{padding:13px 18px}

body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0!important;padding:0!important;list-style:none}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li{width:auto!important;min-width:0;margin:0!important;padding:0!important;border:0!important;list-style:none}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li>a{position:relative;display:flex;min-height:74px;padding:16px 36px 16px 18px;align-items:center;border:1px solid var(--r-line);border-radius:16px;color:var(--r-navy)!important;background:#fff;text-decoration:none;font-size:13px;font-weight:800;line-height:1.45;box-shadow:0 7px 18px rgba(18,50,75,.05)}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li>a::after{content:"›";position:absolute;right:16px;color:var(--r-teal);font-size:24px;font-weight:600;line-height:1}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li>a:hover{transform:translateY(-2px);border-color:#b8dcd8;box-shadow:0 11px 24px rgba(18,50,75,.09)}

body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul{display:flex;flex-wrap:wrap;gap:10px;margin:0!important;padding:0!important;list-style:none}
body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul>li{width:auto!important;margin:0!important;padding:0!important;border:0!important;list-style:none}
body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul>li>a{display:inline-flex;min-height:42px;padding:9px 16px;align-items:center;border:1px solid #d3ebe8;border-radius:999px;color:var(--r-navy)!important;background:#effaf8;text-decoration:none;font-size:12px;font-weight:750;line-height:1.35}
body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul>li>a:hover{transform:translateY(-1px);border-color:var(--r-teal);background:#e2f7f3}

body:has(.qj-topimage) .qj-homeExplore .contents_box.news .body{overflow:hidden;border:1px solid var(--r-line)!important;border-radius:16px;background:#fff!important}
body:has(.qj-topimage) .qj-homeExplore .contents_box.news ul{margin:0!important;padding:0!important;list-style:none}
body:has(.qj-topimage) .qj-homeExplore .contents_box.news li{display:grid;grid-template-columns:130px minmax(0,1fr);gap:18px;margin:0!important;padding:16px 20px!important;border:0!important;border-bottom:1px solid var(--r-line)!important;align-items:center;list-style:none}
body:has(.qj-topimage) .qj-homeExplore .contents_box.news li:last-child{border-bottom:0!important}
body:has(.qj-topimage) .qj-homeExplore .contents_box.news li>span{color:#526978;font-size:13px;font-weight:700}
body:has(.qj-topimage) .qj-homeExplore .contents_box.news li>p{margin:0!important}
body:has(.qj-topimage) .qj-homeExplore .contents_box.news li a{color:var(--r-navy)!important;text-decoration:none;font-size:14px;font-weight:750}
body:has(.qj-topimage) .qj-homeExplore .contents_box.news .more{margin:0!important;padding:14px 20px;text-align:right;border-top:1px solid var(--r-line)}
body:has(.qj-topimage) .qj-homeExplore .contents_box.news .more a{color:var(--r-teal-dark)!important;text-decoration:none;font-weight:900}
body:has(.qj-topimage) .qj-homeExplore #social{display:none!important}

body:has(.qj-topimage) .qj-article{padding:14px 0 72px;background:#fff}
body:has(.qj-topimage) .qj-article__{width:calc(100% - 96px)!important;max-width:1360px!important;margin:0 auto!important}
body:has(.qj-topimage) .qj-article__des__title{position:relative;margin:0 0 22px!important;padding:0 0 0 18px!important;border:0!important;color:var(--r-navy);font-size:28px!important;font-weight:900;line-height:1.45}
body:has(.qj-topimage) .qj-article__des__title::before{content:"";position:absolute;top:.18em;bottom:.18em;left:0;width:6px;border-radius:99px;background:var(--r-teal)}
body:has(.qj-topimage) .qj-article__des__title::after{display:none!important}
body:has(.qj-topimage) .qj-article .embed-articleListHorizntal{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px!important;width:100%!important;margin:0!important}
body:has(.qj-topimage) .qj-article .embed-articleListHorizntal__{width:auto!important;min-width:0!important;margin:0!important}
body:has(.qj-topimage) .qj-article .view-articleCardThumb{overflow:hidden;border:1px solid var(--r-line);border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(18,50,75,.05)}
body:has(.qj-topimage) .qj-article .view-articleCardThumb__body{min-height:94px;padding:16px 17px!important}
body:has(.qj-topimage) .qj-article .view-articleCardThumb__body__title{margin:0;color:var(--r-navy);font-size:15px;font-weight:850;line-height:1.55}
body:has(.qj-topimage) .qj-article .view-articleCardThumb__body__description{display:none}
body:has(.qj-topimage) .qj-article .qj-linkBtn{display:inline-flex;min-height:46px;padding:10px 22px;align-items:center;justify-content:center;border:1px solid var(--r-teal);border-radius:999px;color:var(--r-teal-dark)!important;background:#fff;text-decoration:none;font-size:14px;font-weight:900;line-height:1.35}

/* Keep the legacy page-top control readable and visually consistent. */
body:has(.qj-topimage) #pagetop{right:20px;bottom:20px;z-index:30;width:48px;height:48px;margin:0}
body:has(.qj-topimage) #pagetop a{display:flex!important;width:48px;height:48px;padding:0!important;align-items:center;justify-content:center;overflow:hidden;border:0!important;border-radius:50%!important;background:var(--r-teal)!important;box-shadow:0 10px 24px rgba(0,125,117,.24)!important;color:transparent!important;font-size:0!important;line-height:1;text-indent:0!important}
body:has(.qj-topimage) #pagetop a::before{content:"\2191";color:#fff;font-size:24px;font-weight:900;line-height:1}
body:has(.qj-topimage) #pagetop a:hover{background:var(--r-teal-dark)!important;transform:translateY(-2px)}

@media(max-width:1100px){
  body:has(.qj-topimage) .qj-homeExplore .areaType .prefectures>ul{grid-template-columns:repeat(2,minmax(0,1fr))}
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:767px){
body:has(.qj-topimage) #pagetop{right:12px;bottom:12px;width:44px;height:44px}
body:has(.qj-topimage) #pagetop a{width:44px;height:44px}
  body:has(.qj-topimage) .qj-homeExplore.contents_inline.c2,
  body:has(.qj-topimage) .qj-article__{width:calc(100% - 24px)!important}
  body:has(.qj-topimage) .qj-homeExplore{margin-bottom:42px}
  body:has(.qj-topimage) .qj-homeExplore .contents_box{margin-bottom:34px!important}
  body:has(.qj-topimage) .qj-homeExplore .contents_box>h2,
  body:has(.qj-topimage) .qj-article__des__title{font-size:23px!important}
  body:has(.qj-topimage) .qj-homeExplore .passwordNotice{display:block;margin-bottom:30px;padding:18px}
  body:has(.qj-topimage) .qj-homeExplore .passwordNotice__title{margin-bottom:13px!important;font-size:18px!important}
  body:has(.qj-topimage) .qj-homeExplore .passwordNotice__inner{align-items:flex-start}
  body:has(.qj-topimage) .qj-homeExplore .passwordNotice__icon{flex-basis:42px;width:42px;height:42px;font-size:20px}
  body:has(.qj-topimage) .qj-homeExplore .passwordNotice__text{display:block}
  body:has(.qj-topimage) .qj-homeExplore .passwordNotice__btnWrap{margin-top:13px!important}
  body:has(.qj-topimage) .qj-homeExplore .contents_box.free form{grid-template-columns:1fr;gap:10px}
  body:has(.qj-topimage) .qj-homeExplore .areaType{padding:20px 16px!important;border-radius:20px!important}
  body:has(.qj-topimage) .qj-homeExplore .areaType .prefectures>ul{grid-template-columns:1fr;gap:10px}
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li>a{min-height:64px;padding:13px 29px 13px 13px;font-size:11px}
  body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul{gap:7px}
  body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul>li>a{min-height:38px;padding:8px 12px;font-size:11px}
  body:has(.qj-topimage) .qj-homeExplore .contents_box.news li{grid-template-columns:1fr;gap:5px;padding:14px 16px!important}
  body:has(.qj-topimage) .qj-article{padding:8px 0 48px}
  body:has(.qj-topimage) .qj-article .embed-articleListHorizntal{grid-template-columns:1fr!important;gap:14px!important}
  body:has(.qj-topimage) .qj-article .view-articleCardThumb__body{min-height:0}
}

/* 2026-10-16 visual parity pass: header, discovery cards, and article row */
@media(min-width:1200px){
  body:has(.qj-topimage) #head{padding:12px 0}
  body:has(.qj-topimage) .qj-head{width:calc(100% - 96px);max-width:1360px;min-height:72px;gap:22px}
  body:has(.qj-topimage) .qj-head__set__logo img{width:188px;max-height:64px}
  body:has(.qj-topimage) .qj-head__panel__free__link a{display:inline-flex;min-height:38px;padding:8px 13px;align-items:center;border-radius:999px;color:var(--r-teal-dark);background:var(--r-mint);font-size:13px}
  body:has(.qj-topimage) #menu{top:12px;left:50%;transform:translateX(-50%)}
  body:has(.qj-topimage) #menu ul{gap:36px}
  body:has(.qj-topimage) #menu li a{padding:24px 0 21px;font-size:15px}
  body:has(.qj-topimage) .qjMyMenuList__item a{min-width:98px;min-height:44px;padding:9px 14px}
}

body:has(.qj-topimage) .qj-homeIntro__card{position:relative;overflow:hidden;padding:27px 26px 25px;border-color:#d5e7e5;box-shadow:0 12px 30px rgba(18,50,75,.065)}
body:has(.qj-topimage) .qj-homeIntro__card::before{content:"";position:absolute;top:0;right:0;left:0;height:5px;background:var(--r-teal)}
body:has(.qj-topimage) .qj-homeIntro__card:nth-child(2)::before{background:#ffbd2e}
body:has(.qj-topimage) .qj-homeIntro__card:nth-child(3)::before{background:#4c91e8}
body:has(.qj-topimage) .qj-homeIntro__card h3{font-size:19px;line-height:1.45}
body:has(.qj-topimage) .qj-homeIntro__card p{color:#405966;font-size:14px;line-height:1.85}

@media(min-width:768px){
  body:has(.qj-topimage) .qj-homeExplore .areaType>h2::after{content:"働きたいエリアからアルバイトを見つけよう";display:block!important;position:absolute;right:0;bottom:.38em;width:auto;height:auto;margin:0;color:#647e8d;background:none;font-size:13px;font-weight:700;letter-spacing:.01em}
  body:has(.qj-topimage) .qj-homeExplore .jobType>h2::after{content:"興味のある職種からアルバイトを探そう";display:block!important;position:absolute;right:0;bottom:.38em;width:auto;height:auto;margin:0;color:#647e8d;background:none;font-size:13px;font-weight:700;letter-spacing:.01em}
  body:has(.qj-topimage) .qj-homeExplore .featuresType>h2::after{content:"希望条件に合う募集をすぐに確認";display:block!important;position:absolute;right:0;bottom:.38em;width:auto;height:auto;margin:0;color:#647e8d;background:none;font-size:13px;font-weight:700;letter-spacing:.01em}
}

body:has(.qj-topimage) .qj-homeExplore .areaType{padding:30px 30px 26px!important;background:linear-gradient(135deg,#eaf9f6 0%,#f2fbfa 100%)!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .prefectures>ul{grid-auto-rows:1fr;gap:12px}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area{position:relative;min-height:128px;padding:19px 54px 18px 18px;overflow:hidden;border-color:#d5e7e5;box-shadow:0 7px 18px rgba(18,50,75,.045)}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area::after{content:"⌖";position:absolute;right:15px;bottom:8px;color:var(--r-teal);font-size:38px;font-weight:700;line-height:1;opacity:.13;pointer-events:none}
body:has(.qj-topimage) .qj-homeExplore .areaType .area_name a{font-size:16px}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area>ul{position:relative;z-index:1;gap:6px 10px}
body:has(.qj-topimage) .qj-homeExplore .areaType .foreign{margin-top:12px;text-align:right}
body:has(.qj-topimage) .qj-homeExplore .areaType .foreign>ul{display:inline-block}
body:has(.qj-topimage) .qj-homeExplore .areaType .foreign .map_area{min-height:0;padding:10px 42px 10px 15px;border-radius:999px}
body:has(.qj-topimage) .qj-homeExplore .areaType .foreign .area_name{margin:0!important}

body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li>a{min-height:76px;padding:16px 40px 16px 18px;border-color:#d5e7e5;border-radius:15px;font-size:13px;line-height:1.5}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-last-child(2):nth-child(4n + 1){grid-column:2}

body:has(.qj-topimage) .qj-article__{position:relative}
body:has(.qj-topimage) .qj-article .view-article__embed{position:relative}
body:has(.qj-topimage) .qj-article .embed-articleListHorizntal--3>.embed-articleListHorizntal__:nth-of-type(n+4){display:none!important}
body:has(.qj-topimage) .qj-article .embed-articleListHorizntal--3{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
body:has(.qj-topimage) .qj-article .view-articleCardThumb__body{min-height:104px}
body:has(.qj-topimage) .qj-article .embed-articleListHorizntal:not(.embed-articleListHorizntal--3){display:block!important;position:absolute;top:-65px;right:0;width:auto!important}
body:has(.qj-topimage) .qj-article .embed-articleListHorizntal:not(.embed-articleListHorizntal--3)>.embed-articleListHorizntal__{display:block!important;width:auto!important}
body:has(.qj-topimage) .qj-article .view-article__embed>p:has(.qj-linkBtn){position:absolute;top:-65px;right:0;margin:0!important}
body:has(.qj-topimage) .qj-article .qj-linkBtn{min-width:126px;border-color:#cbe3e0;background:#f5fbfa;font-size:13px}
body:has(.qj-topimage) .qj-article .qj-linkBtn::after{content:"›";margin-left:10px;font-size:22px;line-height:1}

@media(max-width:1100px) and (min-width:768px){
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul{grid-template-columns:repeat(3,minmax(0,1fr))}
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-last-child(2):nth-child(4n + 1){grid-column:auto}
}

@media(max-width:767px){
  body:has(.qj-topimage) .qj-homeIntro__card{padding:22px 20px 20px}
  body:has(.qj-topimage) .qj-homeExplore .areaType .map_area{min-height:0;padding:16px 48px 16px 16px}
  body:has(.qj-topimage) .qj-homeExplore .areaType .foreign{text-align:left}
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul{grid-template-columns:1fr;gap:9px}
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-last-child(2):nth-child(4n + 1){grid-column:auto}
  body:has(.qj-topimage) .qj-article__des__title{padding-right:116px!important}
  body:has(.qj-topimage) .qj-article .embed-articleListHorizntal--3{grid-template-columns:1fr!important;gap:14px!important}
  body:has(.qj-topimage) .qj-article .embed-articleListHorizntal:not(.embed-articleListHorizntal--3){top:-59px}
  body:has(.qj-topimage) .qj-article .view-article__embed>p:has(.qj-linkBtn){top:-59px}
  body:has(.qj-topimage) .qj-article .embed-articleListHorizntal--3>.embed-articleListHorizntal__:nth-of-type(n+4){display:none!important}
}

/* 2026-10-16 final visual parity correction */
@media(min-width:1200px){
  body:has(.qj-topimage) .qj-head__panel{width:auto!important;min-width:0;margin-left:auto}
  body:has(.qj-topimage) .qj-head__panel__free{width:auto!important;min-width:0;margin-left:auto}
  body:has(.qj-topimage) .qj-head__panel__free__link{display:flex!important;width:auto!important;min-width:0;margin:0!important}
  body:has(.qj-topimage) .qj-head__panel__free__link__item{width:auto!important;margin:0!important}
  body:has(.qj-topimage) .qj-head__panel__free__link a{padding:0 4px!important;border-radius:0;background:transparent!important;white-space:nowrap}
}

/* The search action follows the teal primary-action color used in the approved mockup. */
body:has(.qj-topimage) .easySearchForm__submit input{
  color:#fff!important;background:linear-gradient(135deg,#08b5ac 0%,#009f93 100%)!important;
  box-shadow:0 10px 22px rgba(0,159,147,.24)!important
}

/* Region cards: replace the temporary pin glyph with quiet, map-like color shapes. */
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area::after{
  content:"";right:18px;bottom:18px;width:43px;height:52px;background:currentColor;
  clip-path:polygon(42% 0,74% 8%,100% 32%,82% 54%,92% 78%,59% 100%,30% 88%,0 63%,15% 36%);
  color:inherit!important;opacity:.42;transform:rotate(-7deg)
}
body:has(.qj-topimage) .qj-homeExplore .areaType .prefectures>ul>li.map_area:nth-child(1){color:#65c5ed}
body:has(.qj-topimage) .qj-homeExplore .areaType .prefectures>ul>li.map_area:nth-child(2){color:#71d2a0}
body:has(.qj-topimage) .qj-homeExplore .areaType .prefectures>ul>li.map_area:nth-child(3){color:#a88cf2}
body:has(.qj-topimage) .qj-homeExplore .areaType .prefectures>ul>li.map_area:nth-child(4){color:#f1bd59}
body:has(.qj-topimage) .qj-homeExplore .areaType .prefectures>ul>li.map_area:nth-child(5){color:#f28f91}
body:has(.qj-topimage) .qj-homeExplore .areaType .prefectures>ul>li.map_area:nth-child(6){color:#71d2a0}
body:has(.qj-topimage) .qj-homeExplore .areaType .prefectures>ul>li.map_area:nth-child(7){color:#5fbae9}
body:has(.qj-topimage) .qj-homeExplore .areaType .prefectures>ul>li.map_area:nth-child(8){color:#d68bbf}
body:has(.qj-topimage) .qj-homeExplore .areaType .prefectures>ul>li.map_area:nth-child(2)::after{transform:rotate(13deg);clip-path:polygon(35% 0,82% 12%,94% 43%,72% 61%,100% 85%,54% 100%,18% 80%,0 42%)}
body:has(.qj-topimage) .qj-homeExplore .areaType .prefectures>ul>li.map_area:nth-child(3)::after{transform:rotate(-18deg);clip-path:polygon(18% 0,63% 4%,100% 33%,80% 67%,55% 100%,21% 84%,0 43%)}
body:has(.qj-topimage) .qj-homeExplore .areaType .prefectures>ul>li.map_area:nth-child(4)::after{transform:rotate(19deg);clip-path:polygon(45% 0,100% 22%,84% 55%,95% 91%,43% 100%,0 75%,16% 34%)}
body:has(.qj-topimage) .qj-homeExplore .areaType .prefectures>ul>li.map_area:nth-child(5)::after{transform:rotate(-3deg);clip-path:polygon(22% 0,78% 7%,100% 38%,68% 57%,88% 100%,32% 89%,0 56%)}
body:has(.qj-topimage) .qj-homeExplore .areaType .prefectures>ul>li.map_area:nth-child(6)::after{transform:rotate(9deg);clip-path:polygon(37% 0,83% 16%,100% 54%,72% 100%,21% 86%,0 43%)}
body:has(.qj-topimage) .qj-homeExplore .areaType .prefectures>ul>li.map_area:nth-child(7)::after{transform:rotate(-12deg);clip-path:polygon(28% 0,77% 6%,100% 28%,84% 70%,49% 100%,0 72%,13% 31%)}
body:has(.qj-topimage) .qj-homeExplore .areaType .prefectures>ul>li.map_area:nth-child(8)::after{transform:rotate(16deg);clip-path:polygon(42% 0,89% 15%,100% 56%,70% 81%,77% 100%,31% 91%,0 49%)}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area .area_name{position:relative;z-index:2;padding-right:18px!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area .area_name::after{
  content:"›";position:absolute;right:0;top:50%;color:var(--r-teal);font-size:22px;font-weight:900;line-height:1;transform:translateY(-50%)
}
body:has(.qj-topimage) .qj-homeExplore .areaType .foreign .map_area::after{width:24px;height:28px;right:12px;bottom:6px;opacity:.25}

/* Job cards use large visual cues and the six-column rhythm from the mockup while preserving every live category link. */
@media(min-width:1200px){
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-last-child(2):nth-child(4n + 1){grid-column:auto}
}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li>a{
  min-height:116px;padding:18px 34px 15px 15px;flex-direction:column;justify-content:center;gap:9px;text-align:center
}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li>a::before{
  content:"☕";display:block;color:#ff8b2b;font-family:"Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:29px;font-weight:900;line-height:1
}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(1)>a::before{content:"💼"}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(2)>a::before{content:"☎️"}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(3)>a::before{content:"🛍️"}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(4)>a::before{content:"🎬"}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(5)>a::before{content:"📚"}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(6)>a::before{content:"🎓"}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(7)>a::before{content:"🍽️"}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(8)>a::before{content:"🍳"}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(9)>a::before{content:"☕"}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(10)>a::before{content:"🎪"}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(11)>a::before{content:"🎤"}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(12)>a::before{content:"📣"}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(13)>a::before{content:"🛠️"}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(14)>a::before{content:"🧸"}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li>a::after{top:50%;right:13px;transform:translateY(-50%)}

/* Add a consistent cue to feature chips without hiding any of the existing filters. */
body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul>li>a::before{
  content:"✓";margin-right:8px;color:var(--r-teal);font-family:inherit;font-size:13px;font-weight:900
}

@media(max-width:767px){
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul{grid-template-columns:repeat(2,minmax(0,1fr))}
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li>a{min-height:102px;padding:14px 28px 13px 12px;font-size:11px}
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li>a::before{font-size:24px}
}

/* 2026-10-17 attachment-matched hero and header */
body:has(.qj-topimage) .qj-topimage{
  background-image:url("/common/img/rooky-genz-hero-20261017.jpg")!important;
  background-position:center center
}
body:has(.qj-topimage) .qj-topimage::before{
  background:linear-gradient(90deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.97) 28%,rgba(255,255,255,.76) 42%,rgba(255,255,255,.08) 59%,rgba(255,255,255,0) 78%)
}
body:has(.qj-topimage) .qj-topimage__eyebrow{display:none}
body:has(.qj-topimage) .qj-topimage__title{max-width:720px}
body:has(.qj-topimage) .qj-topimage__lead{max-width:540px}
body:has(.qj-topimage) .qj-heroCta{min-width:250px}
body:has(.qj-topimage) .qj-heroCta--primary{min-width:310px}

@media(min-width:1200px){
  body:has(.qj-topimage) #head{padding:14px 0}
  body:has(.qj-topimage) .qj-head{width:calc(100% - 80px);max-width:1480px;min-height:72px}
  body:has(.qj-topimage) .qj-head__set__logo img{width:224px;max-height:68px}
  body:has(.qj-topimage) #menu{top:14px;left:42%}
  body:has(.qj-topimage) #menu ul{gap:0}
  body:has(.qj-topimage) #menu li{position:relative;padding:0 27px}
  body:has(.qj-topimage) #menu li+li::before{content:"";position:absolute;top:50%;left:0;width:1px;height:24px;background:#d7e1e5;transform:translateY(-50%)}
  body:has(.qj-topimage) #menu li a{padding:23px 0 20px;font-size:16px}
  body:has(.qj-topimage) .qj-head__panel__free__link{position:relative;padding-right:24px}
  body:has(.qj-topimage) .qj-head__panel__free__link::after{content:"";position:absolute;top:50%;right:5px;width:1px;height:25px;background:#d7e1e5;transform:translateY(-50%)}
  body:has(.qj-topimage) .qjMyMenuList__item:first-child a{border:0;background:transparent;box-shadow:none}
  body:has(.qj-topimage) .qjMyMenuList__item:first-child a::before{content:"♙";color:var(--r-navy);font-size:24px;line-height:1}
  body:has(.qj-topimage) .qjMyMenuList__item:last-child a{min-width:142px;padding-right:20px;padding-left:20px}
  body:has(.qj-topimage) .qjMyMenuList__item:last-child a::after{content:"›";margin-left:10px;font-size:25px;line-height:1}
  body:has(.qj-topimage) .qj-topimage{height:610px}
  body:has(.qj-topimage) .qj-topimage__{width:calc(100% - 96px);max-width:1460px}
  body:has(.qj-topimage) .qj-topimage__text{width:52%;max-width:720px;padding:105px 0 100px}
  body:has(.qj-topimage) .qj-topimage__title{margin-bottom:30px;font-size:clamp(50px,4.1vw,65px)!important}
  body:has(.qj-topimage) .qj-topimage__lead strong{font-size:20px}
  body:has(.qj-topimage) .qj-topimage__lead span{font-size:16px}
  body:has(.qj-topimage) .qj-topimage__actions{margin-top:30px}
  body:has(.qj-topimage) .easySearchForm{width:calc(100% - 112px);max-width:1360px;margin:-62px auto 54px}
}

body:has(.qj-topimage) .easySearchForm .cmn-stylishSelect{position:relative}
body:has(.qj-topimage) .easySearchForm .cmn-stylishSelect::before{position:absolute;top:50%;left:20px;z-index:2;color:var(--r-teal);font-family:FontAwesome;font-size:24px;line-height:1;transform:translateY(-50%);pointer-events:none}
body:has(.qj-topimage) .easySearchForm .formGrid__col--3:nth-child(1) .cmn-stylishSelect::before{content:"\f041"}
body:has(.qj-topimage) .easySearchForm .formGrid__col--3:nth-child(2) .cmn-stylishSelect::before,
body:has(.qj-topimage) .easySearchForm .formGrid__col--3:nth-child(3) .cmn-stylishSelect::before{content:"\f0b1"}
body:has(.qj-topimage) .easySearchForm .cmn-stylishSelect select{padding-left:62px}
body:has(.qj-topimage) .easySearchForm__submit{position:relative}
body:has(.qj-topimage) .easySearchForm__submit::before{content:"\f002";position:absolute;top:50%;left:28%;z-index:2;color:#fff;font-family:FontAwesome;font-size:27px;font-weight:400;line-height:1;transform:translate(-50%,-50%);pointer-events:none}
body:has(.qj-topimage) .easySearchForm__submit input{padding-left:42px}

@media(max-width:1199px){
  body:has(.qj-topimage) .qj-heroCta,
  body:has(.qj-topimage) .qj-heroCta--primary{min-width:0}
}
@media(max-width:767px){
  body:has(.qj-topimage) .qj-topimage{background-position:66% center}
  body:has(.qj-topimage) .qj-topimage::before{background:linear-gradient(180deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.94) 53%,rgba(255,255,255,.18) 100%)}
  body:has(.qj-topimage) .qj-topimage__title span:first-child{white-space:normal}
  body:has(.qj-topimage) .easySearchForm__submit::before{left:34%}
  body:has(.qj-topimage) #menu ul{scrollbar-width:none;-ms-overflow-style:none}
  body:has(.qj-topimage) #menu ul::-webkit-scrollbar{display:none}
}

/* Live header structure correction after production verification */
@media(min-width:1200px){
  body:has(.qj-topimage) .qj-head__panel{flex:1 1 auto!important;width:auto!important;min-width:0!important;gap:16px}
  body:has(.qj-topimage) .qj-head__panel__free{flex:0 0 auto!important;width:auto!important;min-width:0!important;margin-left:auto!important;gap:0}
  body:has(.qj-topimage) .qj-head__panel__free__link{position:relative;padding-left:24px}
  body:has(.qj-topimage) .qj-head__panel__free__link::before{content:"";position:absolute;top:50%;left:5px;width:1px;height:25px;background:#d7e1e5;transform:translateY(-50%)}
  body:has(.qj-topimage) .qj-head__panel__menu{flex:0 0 auto!important;width:auto!important;min-width:0!important}
  body:has(.qj-topimage) .qjMyMenuList{width:auto!important;min-width:0!important;gap:7px}
  body:has(.qj-topimage) .qjMyMenuList__item{width:auto!important;min-width:0!important}
  body:has(.qj-topimage) .qjMyMenuList__item a{flex-direction:row!important;width:auto!important;min-width:96px;gap:7px;white-space:nowrap}
  body:has(.qj-topimage) .qjMyMenuList__item:last-child a{min-width:150px}
  body:has(.qj-topimage) .qjMyMenuList__item a:has(.qjMyMenuList__item__icon)::before{display:none!important}
  body:has(.qj-topimage) .qjMyMenuList__item__icon{display:flex!important;flex:0 0 21px!important;width:21px!important;height:21px!important;margin:0!important;align-items:center;justify-content:center;font-size:17px!important;line-height:1!important}
  body:has(.qj-topimage) .qjMyMenuList__item__name{display:block!important;width:auto!important;min-width:0!important;margin:0!important;font-size:14px!important;line-height:1.25!important;white-space:nowrap!important;writing-mode:horizontal-tb!important}
  body:has(.qj-topimage) .qjMyMenuList__item__name span{display:inline!important;white-space:nowrap!important}
  body:has(.qj-topimage) .qjMyMenuList__item:first-child .fa-sign-in::before{content:"\f007"}
  body:has(.qj-topimage) .qjMyMenuList__item:last-child .qjMyMenuList__item__icon{display:none!important}
}

/* 2026-10-17 responsive polish from live screenshots */
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area{
  padding:18px 46px 18px 18px!important;
}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area .area_name{
  float:none!important;
  width:100%!important;
  min-width:0!important;
  margin:0 0 10px!important;
  padding:0!important;
  line-height:1.45!important;
}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area .area_name::after{
  display:none!important;
}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area>ul{
  float:none!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  gap:5px 10px!important;
}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area::after{
  right:12px;
  bottom:12px;
  width:32px;
  height:39px;
  opacity:.25;
}
body:has(.qj-topimage) .qj-homeExplore .areaType .foreign .map_area .area_name{
  margin:0!important;
}

/* Keep helper copy out of the heading line so it cannot overlap at intermediate widths. */
body:has(.qj-topimage) .qj-homeExplore .contents_box>h2::after{
  display:none!important;
  content:none!important;
}

@media(max-width:767px){
  body:has(.qj-topimage) .qj-homeIntro h2{
    font-size:clamp(22px,6.8vw,26px)!important;
    line-height:1.5;
    text-wrap:balance;
  }
  body:has(.qj-topimage) .qj-homeExplore .areaType .map_area{
    padding:16px 42px 16px 16px!important;
  }
  body:has(.qj-topimage) .qj-homeExplore .areaType .map_area .area_name a{
    font-size:16px!important;
  }
  body:has(.qj-topimage) .qj-homeExplore .areaType .map_area>ul{
    gap:5px 9px!important;
  }
}

@media(max-width:420px){
  body:has(.qj-topimage) .qj-head{
    width:calc(100% - 18px)!important;
    gap:6px!important;
  }
  body:has(.qj-topimage) .qj-head__set__logo img{
    width:112px!important;
  }
  body:has(.qj-topimage) .qj-head__panel,
  body:has(.qj-topimage) .qjMyMenuList{
    gap:4px!important;
  }
  body:has(.qj-topimage) .qjMyMenuList__item{
    width:auto!important;
    min-width:0!important;
  }
  body:has(.qj-topimage) .qjMyMenuList__item a{
    width:auto!important;
    min-width:0!important;
    padding:8px 10px!important;
  }
  body:has(.qj-topimage) .qjMyMenuList__item:first-child a{width:70px!important}
  body:has(.qj-topimage) .qjMyMenuList__item:last-child a{width:82px!important}
  body:has(.qj-topimage) .qjMyMenuList__item__icon{display:none!important}
  body:has(.qj-topimage) .qjMyMenuList__item__name{
    display:block!important;
    width:auto!important;
    font-size:11px!important;
    line-height:1.25!important;
    white-space:nowrap!important;
  }
}

/* 2026-10-17 lower-page visual system matched to the approved reference */
body:has(.qj-topimage) .qj-homeExplore{
  --r-orange:#ff6726;
  --r-blue:#347fe6;
}

/* Password notice: icon, message and action share one compact row. */
body:has(.qj-topimage) .qj-homeExplore .passwordNotice{
  display:grid!important;
  grid-template-columns:54px minmax(0,1fr) auto!important;
  grid-template-rows:auto auto!important;
  column-gap:18px!important;
  row-gap:1px!important;
  padding:20px 22px!important;
  border:1px solid #ff8c58!important;
  border-radius:16px!important;
  background:linear-gradient(90deg,#fff8f4 0%,#fff 68%,#fff8f4 100%)!important;
}
body:has(.qj-topimage) .qj-homeExplore .passwordNotice__title{
  grid-column:2!important;
  grid-row:1!important;
  align-self:end!important;
  color:#f05a1f!important;
  font-size:20px!important;
}
body:has(.qj-topimage) .qj-homeExplore .passwordNotice__title span{display:none!important}
body:has(.qj-topimage) .qj-homeExplore .passwordNotice__body,
body:has(.qj-topimage) .qj-homeExplore .passwordNotice__inner,
body:has(.qj-topimage) .qj-homeExplore .passwordNotice__text{display:contents!important}
body:has(.qj-topimage) .qj-homeExplore .passwordNotice__icon{
  grid-column:1!important;
  grid-row:1 / 3!important;
  align-self:center!important;
  width:52px!important;
  height:52px!important;
  background:linear-gradient(135deg,#ff7a32,#ff5420)!important;
}
body:has(.qj-topimage) .qj-homeExplore .passwordNotice__text>p:first-child{
  grid-column:2!important;
  grid-row:2!important;
  align-self:start!important;
  margin:0!important;
  color:#526978!important;
  font-size:0!important;
}
body:has(.qj-topimage) .qj-homeExplore .passwordNotice__text>p:first-child::before{
  content:"より安心してご利用いただくため、パスワードの定期的な変更をお願いします。";
  font-size:13px;
  line-height:1.65;
}
body:has(.qj-topimage) .qj-homeExplore .passwordNotice__btnWrap{
  grid-column:3!important;
  grid-row:1 / 3!important;
  align-self:center!important;
}
body:has(.qj-topimage) .qj-homeExplore .passwordNotice__btn{
  min-width:220px!important;
  min-height:48px!important;
  background:linear-gradient(135deg,#ff7a32,#ff5420)!important;
}
body:has(.qj-topimage) .qj-homeExplore .passwordNotice__btn::after{
  content:"›";
  margin-left:12px;
  font-size:22px;
  line-height:1;
}

/* Search field: clear input affordance and a reference-matched action. */
body:has(.qj-topimage) .qj-homeExplore .contents_box.free label{position:relative}
body:has(.qj-topimage) .qj-homeExplore .contents_box.free label::before{
  content:"";
  position:absolute;
  top:50%;
  left:22px;
  z-index:2;
  width:19px;
  height:19px;
  border:3px solid #67b8c3;
  border-radius:50%;
  box-shadow:8px 8px 0 -6px #67b8c3;
  transform:translateY(-50%);
}
body:has(.qj-topimage) .qj-homeExplore .contents_box.free input[type="text"]{
  padding-left:58px!important;
  border-color:#ccdaef!important;
  background:#fff!important;
}
body:has(.qj-topimage) .qj-homeExplore .contents_box.free input[type="text"]::placeholder{color:#8295b0}
body:has(.qj-topimage) .qj-homeExplore .contents_box.free .search_button{
  background:linear-gradient(135deg,#10b8bd,#00a09a)!important;
}

/* Region cards use a recognizable map cue rather than abstract polygons. */
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area::after{
  content:""!important;
  width:34px!important;
  height:42px!important;
  right:16px!important;
  bottom:13px!important;
  color:currentColor!important;
  background:currentColor!important;
  clip-path:polygon(42% 0,74% 8%,100% 32%,82% 54%,92% 78%,59% 100%,30% 88%,0 63%,15% 36%)!important;
  opacity:.42!important;
  transform:none!important;
}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area{
  border-color:#d8e7e9!important;
  box-shadow:0 8px 20px rgba(18,50,75,.055)!important;
}

/* Job cards: simple, consistent icons with the reference palette. */
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li>a::before{
  font-family:"Segoe UI Emoji","Noto Color Emoji",sans-serif!important;
  font-weight:400!important;
  font-size:32px!important;
}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(6n + 1)>a::before{content:"🍴"!important}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(6n + 2)>a::before{content:"🛍️"!important}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(6n + 3)>a::before{content:"🎓"!important}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(6n + 4)>a::before{content:"🎬"!important}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(6n + 5)>a::before{content:"📚"!important}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(6n)>a::before{content:"🎨"!important}

/* Feature chips keep every live filter but give the primary conditions distinct icons. */
body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul>li>a::before{
  content:"✓";
  min-width:18px;
  margin-right:8px;
  font-family:inherit;
  font-size:14px;
  font-weight:900;
  text-align:center;
}
body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul>li:nth-child(1)>a::before{content:"▣"}
body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul>li:nth-child(23)>a::before{content:"駅";font-size:11px}
body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul>li:nth-child(44)>a::before{content:"🔰";font-family:"Segoe UI Emoji",sans-serif}
body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul>li:nth-child(47)>a::before{content:"🎓";font-family:"Segoe UI Emoji",sans-serif}
body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul>li:nth-child(57)>a::before{content:"▤"}
body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul>li:nth-child(30)>a::before{content:"♡";font-size:17px}

/* News and article cards follow the approved compact editorial treatment. */
body:has(.qj-topimage) .qj-homeExplore .contents_box.news li{grid-template-columns:110px 88px minmax(0,1fr)!important}
body:has(.qj-topimage) .qj-homeExplore .contents_box.news li::before{
  content:"お知らせ";
  display:inline-flex;
  min-height:28px;
  padding:4px 14px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  color:#fff;
  background:linear-gradient(135deg,#12b4b3,#009f93);
  font-size:12px;
  font-weight:900;
}
body:has(.qj-topimage) .qj-homeExplore .contents_box.news li>span{grid-column:1;grid-row:1}
body:has(.qj-topimage) .qj-homeExplore .contents_box.news li::before{grid-column:2;grid-row:1}
body:has(.qj-topimage) .qj-homeExplore .contents_box.news li>p{grid-column:3;grid-row:1}
body:has(.qj-topimage) .qj-article .view-articleCardThumb__thumb{position:relative}
body:has(.qj-topimage) .qj-article .embed-articleListHorizntal--3>.embed-articleListHorizntal__:nth-of-type(1) .view-articleCardThumb__thumb::after{content:"学生インタビュー"}
body:has(.qj-topimage) .qj-article .embed-articleListHorizntal--3>.embed-articleListHorizntal__:nth-of-type(2) .view-articleCardThumb__thumb::after{content:"Rookyの使い方"}
body:has(.qj-topimage) .qj-article .embed-articleListHorizntal--3>.embed-articleListHorizntal__:nth-of-type(3) .view-articleCardThumb__thumb::after{content:"お仕事図鑑"}
body:has(.qj-topimage) .qj-article .view-articleCardThumb__thumb::after{
  position:absolute;
  left:14px;
  bottom:12px;
  padding:5px 12px;
  border-radius:999px;
  color:#12324b;
  background:#ffe500;
  font-size:11px;
  font-weight:900;
}

/* Compact footer: preserve essential legal links and remove the duplicate regional directory. */
body:has(.qj-topimage) #foot{position:relative;padding:42px 0 36px;background:linear-gradient(135deg,#0b4777,#07365f)!important}
body:has(.qj-topimage) #foot .foot_inline{position:relative;width:calc(100% - 96px)!important;max-width:1360px!important;min-height:92px;margin:0 auto!important;padding:0 0 0 210px!important}
body:has(.qj-topimage) #foot .foot_inline::before{
  content:"Rooky";
  position:absolute;
  top:4px;
  left:0;
  color:#fff;
  font-family:Georgia,"Times New Roman",serif;
  font-size:39px;
  font-weight:900;
  letter-spacing:-.04em;
}
body:has(.qj-topimage) #foot .foot_inline::after{
  content:"大学生の毎日を、ちょっと豊かに。\A© Rooky All rights reserved.";
  position:absolute;
  top:55px;
  left:2px;
  white-space:pre-line;
  color:rgba(255,255,255,.72);
  font-size:11px;
  line-height:1.7;
}
body:has(.qj-topimage) #foot .cmslGrid{display:none!important}
body:has(.qj-topimage) #foot .foot_menu{display:flex!important;flex-wrap:wrap;gap:12px 28px;margin:18px 0 0!important;padding:0!important;justify-content:flex-end;list-style:none}
body:has(.qj-topimage) #foot .foot_menu li{float:none!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
body:has(.qj-topimage) #foot .foot_menu a{font-size:13px;font-weight:700;text-decoration:none}

@media(min-width:1200px){
  body:has(.qj-topimage) .qj-homeExplore .areaType>h2::after{content:"働きたいエリアからアルバイトを見つけよう"!important}
  body:has(.qj-topimage) .qj-homeExplore .jobType>h2::after{content:"興味のある職種からアルバイトを探そう"!important}
  body:has(.qj-topimage) .qj-homeExplore .featuresType>h2::after{content:"こだわりの条件から自分にぴったりのアルバイトを見つけよう"!important}
  body:has(.qj-topimage) .qj-homeExplore .areaType>h2::after,
  body:has(.qj-topimage) .qj-homeExplore .jobType>h2::after,
  body:has(.qj-topimage) .qj-homeExplore .featuresType>h2::after{
    display:block!important;
    position:absolute!important;
    right:0!important;
    bottom:.45em!important;
    width:auto!important;
    max-width:48%!important;
    height:auto!important;
    margin:0!important;
    color:#647e8d!important;
    background:none!important;
    font-size:13px!important;
    font-weight:700!important;
    line-height:1.4!important;
    text-align:right!important;
    letter-spacing:.01em!important;
  }
}

@media(max-width:767px){
  body:has(.qj-topimage) .qj-homeExplore .passwordNotice{
    grid-template-columns:44px minmax(0,1fr)!important;
    grid-template-rows:auto auto auto!important;
    gap:4px 12px!important;
  }
  body:has(.qj-topimage) .qj-homeExplore .passwordNotice__icon{width:42px!important;height:42px!important;grid-row:1 / 3!important}
  body:has(.qj-topimage) .qj-homeExplore .passwordNotice__title{font-size:17px!important}
  body:has(.qj-topimage) .qj-homeExplore .passwordNotice__btnWrap{grid-column:1 / 3!important;grid-row:3!important;margin-top:12px!important}
  body:has(.qj-topimage) .qj-homeExplore .passwordNotice__btn{width:100%!important;min-width:0!important}
  body:has(.qj-topimage) .qj-homeExplore .contents_box.news li{grid-template-columns:88px minmax(0,1fr)!important;gap:7px 10px!important}
  body:has(.qj-topimage) .qj-homeExplore .contents_box.news li>span{grid-column:1;grid-row:1}
  body:has(.qj-topimage) .qj-homeExplore .contents_box.news li::before{grid-column:2;grid-row:1;justify-self:start}
  body:has(.qj-topimage) .qj-homeExplore .contents_box.news li>p{grid-column:1 / 3;grid-row:2}
  body:has(.qj-topimage) #foot{padding:34px 0 28px}
  body:has(.qj-topimage) #foot .foot_inline{width:calc(100% - 32px)!important;min-height:0!important;padding:78px 0 0!important}
  body:has(.qj-topimage) #foot .foot_inline::before{font-size:34px}
  body:has(.qj-topimage) #foot .foot_inline::after{top:48px}
  body:has(.qj-topimage) #foot .foot_menu{justify-content:flex-start;gap:10px 18px}
  body:has(.qj-topimage) #foot .foot_menu a{font-size:11px}
}

/* Region-map final override: keep real Japan sprite above legacy decorative rules. */
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area{padding-right:82px!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area::after{
  content:""!important;position:absolute!important;top:50%!important;right:12px!important;bottom:auto!important;
  width:60px!important;height:60px!important;background-color:transparent!important;
  background-image:url("rooky-region-map-sprite.svg?v=20261017-1450")!important;
  background-repeat:no-repeat!important;background-size:480px 60px!important;
  clip-path:none!important;opacity:1!important;transform:translateY(-50%)!important
}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area[data-region-map="1"]::after{background-position:0 0!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area[data-region-map="2"]::after{background-position:-60px 0!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area[data-region-map="3"]::after{background-position:-120px 0!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area[data-region-map="4"]::after{background-position:-180px 0!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area[data-region-map="5"]::after{background-position:-240px 0!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area[data-region-map="6"]::after{background-position:-300px 0!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area[data-region-map="7"]::after{background-position:-360px 0!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area[data-region-map="8"]::after{background-position:-420px 0!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .foreign .map_area::after{content:"🌏"!important;width:auto!important;height:auto!important;background:none!important;font-size:25px!important;line-height:1!important}
@media(max-width:767px){
  body:has(.qj-topimage) .qj-homeExplore .areaType .map_area{padding-right:76px!important}
  body:has(.qj-topimage) .qj-homeExplore .areaType .map_area>ul{gap:7px 11px!important}
  body:has(.qj-topimage) .qj-homeExplore .areaType .map_area>ul>li a{font-size:12px!important;line-height:1.5!important}
}
@media(max-width:767px){
  body:has(.qj-topimage) .qj-homeExplore .areaType .prefectures>ul{grid-auto-rows:auto!important}
  body:has(.qj-topimage) .qj-homeExplore .areaType .map_area{min-height:0!important;padding:16px!important}
  body:has(.qj-topimage) .qj-homeExplore .areaType .map_area .area_name{padding-right:70px!important}
  body:has(.qj-topimage) .qj-homeExplore .areaType .map_area>ul{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px 10px!important}
  body:has(.qj-topimage) .qj-homeExplore .areaType .map_area::after{top:10px!important;right:10px!important;transform:none!important}
  body:has(.qj-topimage) .qj-homeExplore .areaType .foreign .map_area>ul{display:block!important}
}
/* Match the approved regional-card reference: regional silhouette plus right arrow. */
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area{padding-right:94px!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area::after{right:26px!important}
body:has(.qj-topimage) .qj-homeExplore .areaType .map_area::before{
  content:"›";position:absolute;z-index:3;top:50%;right:10px;color:var(--r-teal);font-size:25px;font-weight:900;line-height:1;transform:translateY(-50%)
}
body:has(.qj-topimage) .qj-homeExplore .areaType .foreign .map_area::before{display:none}
@media(max-width:767px){
  body:has(.qj-topimage) .qj-homeExplore .areaType .map_area{padding:16px!important}
  body:has(.qj-topimage) .qj-homeExplore .areaType .map_area .area_name{padding-right:84px!important}
  body:has(.qj-topimage) .qj-homeExplore .areaType .map_area::after{top:10px!important;right:24px!important}
  body:has(.qj-topimage) .qj-homeExplore .areaType .map_area::before{top:40px!important;right:8px!important;transform:none!important}
}

/* Job-category final layout: compact five-column cards matching the approved reference. */
@media(min-width:1200px){
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:12px!important
  }
}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li{grid-column:auto!important}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li>a{
  min-height:66px!important;
  padding:13px 36px 13px 16px!important;
  flex-direction:row!important;
  justify-content:flex-start!important;
  gap:0!important;
  text-align:left!important;
  font-size:13px!important;
  line-height:1.45!important
}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li>a::before{display:none!important;content:none!important}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li>a::after{
  top:50%!important;
  right:14px!important;
  transform:translateY(-50%)!important
}
@media(max-width:767px){
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul{grid-template-columns:1fr!important;gap:9px!important}
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li>a{min-height:58px!important;padding:12px 34px 12px 14px!important;font-size:12px!important}
}

/* Approved lower-page reference: six clear job families with flat-color icons. */
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:14px!important
}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li>a{
  min-height:126px!important;
  padding:16px 30px 14px!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:10px!important;
  border-radius:15px!important;
  text-align:center!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1.35!important
}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li>a::before{
  content:""!important;
  display:block!important;
  flex:0 0 50px!important;
  width:50px!important;
  height:50px!important;
  margin:0 auto!important;
  background-image:url("rooky-job-icons.svg?v=20261017-1535")!important;
  background-repeat:no-repeat!important;
  background-size:300px 50px!important
}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(1)>a::before{background-position:0 0!important}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(1)>a::before,
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(2)>a::before,
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(3)>a::before,
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(4)>a::before,
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(5)>a::before,
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(6)>a::before{content:""!important}

/* 2026-10-17 footer brand and article link visibility fix. */
body:has(.qj-topimage) #foot .foot_inline::before{
  content:""!important;
  width:176px!important;
  height:48px!important;
  border-radius:0;
  background:transparent url("https://rookys.net/file/image/202602/447f286b9e3492efdc99c3a71ed2c9fd.png") center/contain no-repeat!important;
  filter:brightness(0) invert(1);
}
body:has(.qj-topimage) #foot .foot_inline::after{
  content:"学生の毎日を、もっと豊かに。\A© Rooky All rights reserved."!important;
}
body:has(.qj-topimage) .qj-article .qj-linkBtn,
body:has(.qj-topimage) .qj-article .qj-linkBtn .qj-linkBtn__name{
  color:#087e78!important;
}
@media(max-width:600px){
  body:has(.qj-topimage) #foot .foot_inline::before{width:156px!important;height:43px!important;background-size:contain!important}
}

/* Footer proportion refinement: balance the official mark, copy and legal links. */
body:has(.qj-topimage) #foot{padding:46px 0 40px!important}
body:has(.qj-topimage) #foot .foot_inline{min-height:106px!important;padding-left:238px!important}
body:has(.qj-topimage) #foot .foot_inline::before{top:0!important;width:202px!important;height:56px!important}
body:has(.qj-topimage) #foot .foot_inline::after{top:64px!important;left:1px!important;font-size:12.5px!important;line-height:1.65!important;letter-spacing:.01em}
body:has(.qj-topimage) #foot .foot_menu{gap:14px 30px!important;margin-top:16px!important;align-items:center}
body:has(.qj-topimage) #foot .foot_menu a{font-size:14px!important;line-height:1.5!important}
@media(max-width:600px){
  body:has(.qj-topimage) #foot{padding:34px 0 30px!important}
  body:has(.qj-topimage) #foot .foot_inline{min-height:0!important;padding:88px 0 0!important}
  body:has(.qj-topimage) #foot .foot_inline::before{width:174px!important;height:48px!important}
  body:has(.qj-topimage) #foot .foot_inline::after{top:56px!important;font-size:11.5px!important}
  body:has(.qj-topimage) #foot .foot_menu{gap:10px 18px!important;margin-top:18px!important}
  body:has(.qj-topimage) #foot .foot_menu a{font-size:12px!important}
}

/* Smartphone template uses <footer> without the desktop #foot id. */
@media(max-width:600px){
  body:has(.qj-topimage) footer{position:relative!important;padding:34px 16px 30px!important;background:linear-gradient(135deg,#0b4777,#07365f)!important;color:#fff!important}
  body:has(.qj-topimage) footer .foot_inline{position:relative!important;width:100%!important;min-height:0!important;margin:0!important;padding:88px 0 0!important}
  body:has(.qj-topimage) footer .foot_inline::before{content:"";position:absolute;top:0;left:0;width:174px;height:48px;background:transparent url("https://rookys.net/file/image/202602/447f286b9e3492efdc99c3a71ed2c9fd.png") center/contain no-repeat;filter:brightness(0) invert(1)}
  body:has(.qj-topimage) footer .foot_inline::after{content:"学生の毎日を、もっと豊かに。";position:absolute;top:56px;left:1px;color:rgba(255,255,255,.76);font-size:11.5px;line-height:1.65}
  body:has(.qj-topimage) footer .foot_menu{display:flex!important;flex-wrap:wrap!important;gap:10px 18px!important;margin:18px 0 0!important;padding:0!important;border:0!important;list-style:none!important}
  body:has(.qj-topimage) footer .foot_menu li{float:none!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
  body:has(.qj-topimage) footer .foot_menu a{display:inline!important;padding:0!important;border:0!important;background:none!important;color:#fff!important;font-size:12px!important;font-weight:700!important;text-decoration:none!important}
  body:has(.qj-topimage) footer .footCopy{margin:18px 0 0!important;padding:0!important;border:0!important;background:none!important;color:transparent!important;font-size:0!important;text-align:left!important}
  body:has(.qj-topimage) footer .footCopy::after{content:"© Rooky All rights reserved.";color:rgba(255,255,255,.76);font-size:11px;line-height:1.6}
}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(2)>a::before{background-position:-50px 0!important}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(3)>a::before{background-position:-100px 0!important}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(4)>a::before{background-position:-150px 0!important}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(5)>a::before{background-position:-200px 0!important}
body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(6)>a::before{background-position:-250px 0!important}

/* Keep every existing feature searchable while presenting the reference's six priorities first. */
body:has(.qj-topimage) .qj-homeExplore .featuresType .body{overflow:hidden!important}
body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul{
  display:flex!important;
  flex-wrap:nowrap!important;
  gap:10px!important;
  padding:0 0 8px!important;
  overflow-x:auto!important;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
  scroll-snap-type:x proximity
}
body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul>li{flex:0 0 auto!important;scroll-snap-align:start}
body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul>li>a{min-height:50px!important;padding:10px 18px!important;font-size:13px!important}
body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul>li.rooky-feature-primary>a{background:#effaf8!important}
body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul>li.rooky-feature-primary:nth-child(1)>a::before{content:"▣"!important}
body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul>li.rooky-feature-primary:nth-child(2)>a::before{content:"駅"!important;font-size:11px!important}
body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul>li.rooky-feature-primary:nth-child(3)>a::before{content:"🔰"!important}
body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul>li.rooky-feature-primary:nth-child(4)>a::before{content:"🎓"!important}
body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul>li.rooky-feature-primary:nth-child(5)>a::before{content:"▤"!important}
body:has(.qj-topimage) .qj-homeExplore .featuresType .body>ul>li.rooky-feature-primary:nth-child(6)>a::before{content:"♡"!important;font-size:17px!important}

@media(max-width:1100px) and (min-width:768px){
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:767px){
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li>a{min-height:112px!important;padding:14px 25px 12px!important;font-size:13px!important}
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li>a::before{flex-basis:44px!important;width:44px!important;height:44px!important;background-size:264px 44px!important}
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(2)>a::before{background-position:-44px 0!important}
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(3)>a::before{background-position:-88px 0!important}
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(4)>a::before{background-position:-132px 0!important}
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(5)>a::before{background-position:-176px 0!important}
  body:has(.qj-topimage) .qj-homeExplore .jobType .body>ul>li:nth-child(6)>a::before{background-position:-220px 0!important}
}
