/* Shared public chrome; account, search and form behavior stays in WordPress. */
body.medjunix-legacy-renewal {
  padding-top: 0 !important;
  background: #f7f3ea;
  color: #1c2b25;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.9;
}
.medjunix-legacy-renewal .container { padding-inline: 0; }
.medjunix-legacy-renewal .site-header { top: 0; background: #fff; }
.medjunix-legacy-renewal.admin-bar .site-header { top: 32px; }
.medjunix-legacy-renewal .site-header p,
.medjunix-legacy-renewal .site-footer p { margin-top: 0; }
.medjunix-legacy-renewal .utility-bar__inner { gap: 18px; }
.medjunix-legacy-renewal .utility-links { margin-left: auto; }
.medjunix-legacy-language { flex-shrink: 0; }
.medjunix-legacy-language select { min-height: 28px; max-width: 130px; border: 1px solid #b9d5c7; border-radius: 2px; color: #072f25; background: #fff; font-size: 14px; }
.medjunix-legacy-renewal .fadein { opacity: 1; transform: none; }
.medjunix-legacy-renewal .sp-only { display: none; }
.medjunix-legacy-renewal :is(h1,h2,h3,.lead,.faq-question) {
  word-break: normal; line-break: strict; overflow-wrap: normal; text-wrap: pretty;
}
@supports (word-break: auto-phrase) {
  .medjunix-legacy-renewal :is(h1,h2,h3,.lead,.faq-question) { word-break: auto-phrase; }
}
.medjunix-legacy-renewal :is(.guide-hero,.company-contact-hero,.jobseeker-contact-hero,.hero-section) {
  display: flex !important; position: relative; align-items: center !important; justify-content: center !important;
  min-height: 260px !important; margin: 0 !important; padding: 64px 24px !important;
  background: #edf2ec !important; color: #072f25 !important; text-align: center !important;
}
.medjunix-legacy-renewal :is(.guide-hero,.company-contact-hero,.jobseeker-contact-hero,.hero-section)::before {
  content: none !important;
}
.medjunix-legacy-renewal :is(.hero-content,.guide-hero .hero-content) { position: static !important; transform: none !important; padding: 0 !important; }
.medjunix-legacy-renewal :is(.guide-hero,.company-contact-hero,.jobseeker-contact-hero,.hero-section) :is(h1,.hero-title) {
  margin: 0 0 18px !important; color: #072f25 !important; font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px) !important; line-height: 1.5 !important; text-shadow: none !important;
}
.medjunix-legacy-renewal :is(.guide-hero,.company-contact-hero,.jobseeker-contact-hero,.hero-section) :is(p,.lead,.hero-subtitle) {
  margin: 0 !important; color: #344c40 !important; font: 16px/1.9 var(--font-sans) !important; text-shadow: none !important;
}
.medjunix-legacy-renewal .faq-nav { padding: 20px 0; margin: 0; background: #fff; border-bottom: 1px solid #ccd9d1; }
.medjunix-legacy-renewal .faq-nav ul { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.medjunix-legacy-renewal .faq-nav li { display: flex; }
.medjunix-legacy-renewal .faq-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; background: #0b3f31; color: #fff; font-size: 15px; }
.medjunix-legacy-renewal .faq-nav a:visited { color: #fff; }
.medjunix-legacy-renewal .faq-nav a:is(:hover,:focus-visible,:active) { background: #155541; color: #fff; }
.medjunix-legacy-renewal .section.faq { margin: 0; padding: 58px 0 0; scroll-margin-top: 160px; }
.medjunix-legacy-renewal .section.faq:last-of-type { padding-bottom: 80px; }
.medjunix-legacy-renewal .section-subtitle { margin-bottom: 12px; color: #344c40; font-size: 15px; }
.medjunix-legacy-renewal .section-title { margin: 0 0 24px; color: #072f25; font-size: 28px; }
.medjunix-legacy-renewal .faq-list { display: grid; gap: 12px; margin: 0; }
.medjunix-legacy-renewal .faq-item { margin: 0; padding: 0; border: 1px solid #ccd9d1; border-radius: 4px; background: #fff; }
.medjunix-legacy-renewal .faq-question { display: flex; align-items: flex-start; gap: 14px; width: 100%; margin: 0; padding: 22px; border: 0; background: #fff; color: #072f25; font: 700 16px/1.8 var(--font-sans); text-align: left; cursor: pointer; }
.medjunix-legacy-renewal .faq-question .faq-toggle { position: static; flex-shrink: 0; margin: 0; color: #155541; font-size: 18px; }
.medjunix-legacy-renewal .faq-answer { padding: 0 22px 22px 54px; margin: 0; color: #344c40; font-size: 16px; line-height: 1.9; }
.medjunix-legacy-renewal :is(.company-contact,.jobseeker-contact,.document-request).container { width: min(880px, calc(100% - 48px)); max-width: none; padding: 64px 0 80px; margin: 0 auto; }
.medjunix-legacy-renewal main > h2 { margin: 0 0 16px; color: #072f25; font: 600 clamp(24px, 3vw, 34px)/1.5 var(--font-serif); text-align: center; }
.medjunix-legacy-renewal :is(.section-sub,.section-desc,.form-description) { color: #344c40; font-size: 16px; }
.medjunix-legacy-renewal main > .section-sub { text-align: center; }
.medjunix-legacy-renewal .wpcf7 { padding: 36px; border: 1px solid #ccd9d1; border-radius: 4px; background: #fff; box-shadow: 0 18px 48px #072f2510; }
.medjunix-legacy-renewal form { margin: 0; }
.medjunix-legacy-renewal .form-block { margin-bottom: 24px; text-align: left; }
.medjunix-legacy-renewal form label { display: block; margin-bottom: 8px; color: #072f25; font-size: 16px; font-weight: 700; }
.medjunix-legacy-renewal form :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=hidden]),textarea,select) { width: 100%; max-width: 100%; min-height: 48px; padding: 12px; border: 1px solid #7b9185; border-radius: 3px; color: #1c2b25; background: #fff; font: 16px/1.6 var(--font-sans); }
.medjunix-legacy-renewal form :is(input,textarea)::placeholder { color: #56695f; opacity: 1; }
.medjunix-legacy-renewal form .required { display: inline-block; padding: 3px 7px; border-radius: 2px; background: #9b432d; color: #fff; font-size: 12px; }
.medjunix-legacy-renewal form .optional { display: inline-block; padding: 3px 7px; border-radius: 2px; background: #155541; color: #fff; font-size: 12px; }
.medjunix-legacy-renewal form .name-row { display: flex; gap: 16px; }
.medjunix-legacy-renewal form .name-row > * { min-width: 0; flex: 1; }
.medjunix-legacy-renewal form .input-group { display: flex; gap: 16px; }
.medjunix-legacy-renewal form .input-half { flex: 1; min-width: 0; }
.medjunix-legacy-renewal form .input-half p { margin: 0; }
.medjunix-legacy-renewal form label + br { display: none; }
.medjunix-legacy-renewal form :is(input[type=submit],button[type=submit]) { display: block; width: min(320px, 100%); min-height: 56px; margin: 28px auto 0; border: 1px solid #0b3f31; border-radius: 2px; background: #0b3f31; color: #fff; font: 700 16px/1.5 var(--font-sans); cursor: pointer; }
.medjunix-legacy-renewal form :is(input[type=submit],button[type=submit]):is(:hover,:focus-visible,:active) { background: #155541; color: #fff; }
.medjunix-legacy-renewal .contact-details { margin: 40px 0 0; color: #1c2b25; background: #edf2ec; }
.medjunix-legacy-renewal .contact-intro { margin-bottom: 32px; padding: 22px; border-left: 3px solid #155541; background: #edf2ec; color: #072f25; }
.medjunix-legacy-renewal .contact-intro p { margin: 0; }
.medjunix-legacy-renewal .contact-info { margin-top: 40px; }
.medjunix-legacy-renewal .contact-details { padding: 28px; }
.medjunix-legacy-renewal .line-btn { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 14px 22px; color: #fff; background: #0b3f31; text-decoration: none; }
.medjunix-legacy-renewal .line-btn:visited { color: #fff; }
.medjunix-legacy-renewal .line-btn:is(:hover,:focus-visible,:active) { color: #fff; background: #155541; }
.medjunix-legacy-renewal .line-btn svg path { fill: #fff; }
.medjunix-legacy-renewal .line-title { display: block; font-weight: 700; }
.medjunix-legacy-renewal .line-subtitle { display: block; font-size: 14px; }
.medjunix-legacy-renewal :is(.news-archive,.single-news) { margin: 0; padding: 64px 0 80px; background: #f7f3ea; color: #1c2b25; }
.medjunix-legacy-renewal :is(.archive-title,.single-news-title,.news-detail-title) { color: #072f25; font-size: clamp(28px,4vw,48px); }
.medjunix-legacy-renewal .news-list { padding: 0; list-style: none; }
.medjunix-legacy-renewal .news-item { padding: 0; margin: 0; border-bottom: 1px solid #ccd9d1; background: #fff; }
.medjunix-legacy-renewal .news-item > a { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 24px; color: #072f25; text-decoration: none; }
.medjunix-legacy-renewal .news-item > a:is(:hover,:focus-visible) { background: #edf2ec; color: #072f25; }
.medjunix-legacy-renewal .news-title { flex: 1 1 260px; font-size: 18px; }
.medjunix-legacy-renewal .news-label { padding: 4px 10px; background: #0b3f31; color: #fff; font-size: 14px; }
.medjunix-legacy-renewal .back-to-home { margin: 36px auto 0; text-align: center; }
.medjunix-legacy-renewal .back-to-home .btn { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 24px; background: #0b3f31; color: #fff; }
.medjunix-legacy-renewal .site-footer h2 { font-family: var(--font-sans); }
.medjunix-legacy-renewal .news-single { padding: 64px 0 80px; background: #f7f3ea; color: #1c2b25; }
.medjunix-legacy-renewal .news-single .container { width: min(880px,calc(100% - 48px)); }
.medjunix-legacy-renewal .news-meta { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.medjunix-legacy-renewal .news-single h1.news-title { margin-bottom: 32px; color: #072f25; font-size: clamp(24px,3.5vw,44px); text-wrap: balance; }
.medjunix-legacy-renewal .news-content { padding: 32px; background: #fff; color: #1c2b25; }
.medjunix-legacy-renewal .back-to-archive { margin-top: 32px; }
.medjunix-legacy-renewal .back-to-archive .btn { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 24px; background: #0b3f31; color: #fff; }
@media (max-width: 782px) { .medjunix-legacy-renewal.admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .medjunix-legacy-renewal.admin-bar .site-header { top: 0; } }
@media (max-width: 768px) {
  .medjunix-legacy-renewal .sp-only { display: inline; }
  .medjunix-legacy-renewal .utility-bar__inner > p { display: none; }
  .medjunix-legacy-renewal .utility-links { margin-left: 0; }
  .medjunix-legacy-language { margin-left: auto; }
  .medjunix-legacy-renewal :is(.guide-hero,.company-contact-hero,.jobseeker-contact-hero,.hero-section) { min-height: 220px !important; padding: 40px 24px !important; }
  .medjunix-legacy-renewal .section.faq { padding-top: 36px; }
  .medjunix-legacy-renewal .wpcf7 { padding: 22px 18px; }
  .medjunix-legacy-renewal :is(.company-contact,.jobseeker-contact,.document-request).container { width: calc(100% - 32px); padding-top: 40px; }
  .medjunix-legacy-renewal .faq-nav ul { gap: 8px; }
  .medjunix-legacy-renewal .faq-nav a { padding: 10px 12px; font-size: 14px; }
  .medjunix-legacy-renewal .faq-question { padding: 18px; }
  .medjunix-legacy-renewal .faq-answer { padding: 0 18px 18px; }
  .medjunix-legacy-renewal .section-title { font-size: 24px; }
}
