/* Existing office brand, with readable controls and responsive contact flow. */
:root {
  --office-green: #355e41;
  --office-accent: #91ba58;
  --office-ink: #25332a;
  --office-muted: #56635a;
  --office-line: #dce5d9;
  --office-paper: #f5f7f2;
}
body { color: var(--office-ink); font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; font-weight: 400; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--office-green) !important;
  outline-offset: 4px;
}
.skip-link { position: absolute; top: 8px; left: 16px; z-index: 1100; padding: 12px 18px; color: #fff; background: var(--office-green); transform: translateY(-160%); }
.skip-link:focus { transform: none; color: #fff; }
#main-content { scroll-margin-top: 110px; }
.ftco-animate { opacity: 1; visibility: visible; }
.ftco-animate { transition: opacity .6s ease, transform .6s ease; }
.ftco-animate.reveal-pending { opacity: 0; transform: translateY(12px); transition: none; }
.ftco-animate:focus-within { opacity: 1; transform: none; transition: none; }
.slide-in-content { overflow: hidden; }
@media print {
  .ftco-animate.reveal-pending { opacity: 1; transform: none; }
}
#ftco-navbar .navbar-brand img { width: 120px; height: auto; margin: 8px 0; }
#ftco-navbar .navbar-nav > .nav-item > .nav-link { color: #344439; font-size: 14px; font-weight: 600; }
#ftco-navbar .nav-link[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; color: var(--office-green) !important; }
#ftco-navbar .navbar-toggler { display: none; min-height: 44px; padding: 10px 12px; color: var(--office-ink) !important; }
.menu-label { padding-left: 8px; font-size: 13px; font-weight: 600; }
.contact-hero { background: #eaf0e5; border-bottom: 1px solid var(--office-line); }
.contact-hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; min-height: 310px; gap: 64px; }
.contact-hero-copy { padding: 42px 0; }
.contact-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; color: var(--office-muted); font-size: 13px; }
.contact-breadcrumb li + li::before { content: "/"; margin-right: 12px; color: #788573; }
.contact-breadcrumb a { color: var(--office-green); text-decoration: underline; text-underline-offset: 3px; }
.contact-eyebrow { margin: 0 0 8px; color: var(--office-green); font-size: 12px; letter-spacing: .15em; font-weight: 700; }
.contact-hero h1 { font-size: clamp(30px, 3.1vw, 42px); font-weight: 600; letter-spacing: .06em; line-height: 1.45; margin: 0 0 14px; }
.contact-hero p:last-child { margin-bottom: 0; color: var(--office-muted); line-height: 1.9; font-size: 15px; }
.contact-hero-photo { width: 100%; height: 235px; object-fit: cover; object-position: center; border-radius: 6px; }
.contact-section { background: var(--office-paper); padding: 56px 0 72px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.contact-form { background: #fff; padding: 32px; border: 1px solid var(--office-line); border-radius: 8px; scroll-margin-top: 120px; }
.contact-form-heading { margin-bottom: 30px; border-bottom: 1px solid var(--office-line); padding-bottom: 22px; }
.contact-form-heading h2 { font-size: 22px; line-height: 1.6; font-weight: 600; margin: 0 0 8px; }
.contact-form-heading p { color: var(--office-muted); font-size: 13px; line-height: 1.8; margin: 0; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-field label { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; line-height: 1.6; font-weight: 600; color: var(--office-ink); margin-bottom: 9px; }
.field-requirement { color: #46633b; background: #eaf1e3; padding: 2px 7px; font-size: 10px; letter-spacing: .05em; border-radius: 3px; }
.field-optional { color: #5f6860; background: #f0f2ef; }
.contact-form .form-control { width: 100%; min-width: 0; height: 48px !important; border: 1px solid #b8c5b4; background: #fff !important; color: var(--office-ink) !important; border-radius: 4px; padding: 10px 12px; font-size: 16px; line-height: 1.6; }
.contact-form .form-control::placeholder { color: #737e73; opacity: 1; }
.contact-form textarea.form-control { height: auto !important; min-height: 150px; resize: vertical; }
.contact-form .form-control:focus { border-color: var(--office-green); }
.field-help { margin: 7px 0 0; font-size: 12px; line-height: 1.8; color: var(--office-muted); }
.contact-field-invalid .form-control { border: 2px solid #a43a32; }
.field-errors { list-style: none; margin: 7px 0 0; padding: 0; color: #922c25; font-size: 13px; line-height: 1.7; }
.contact-error-summary { background: #fff6f4; border: 1px solid #ddb2ad; border-left: 4px solid #a43a32; padding: 18px 20px; margin: 0 0 28px; scroll-margin-top: 130px; }
.contact-error-summary h3 { font-size: 16px; color: #832c26; font-weight: 600; margin: 0 0 10px; }
.contact-error-summary p, .contact-error-summary ul { font-size: 14px; line-height: 1.9; margin-bottom: 0; }
.contact-error-summary ul:empty { display: none; }
.contact-error-summary a { color: #832c26; text-decoration: underline; text-underline-offset: 3px; }
.contact-consent { font-size: 12px; line-height: 1.9; color: var(--office-muted); margin: 26px 0 15px; }
.contact-submit, a.contact-submit { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 52px; padding: 14px 24px; color: #fff; background: var(--office-green); border: 1px solid var(--office-green); border-radius: 4px; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; }
.contact-submit:hover { color: #fff; background: #254b30; }
.contact-submit:disabled { opacity: .7; cursor: wait; }
.contact-submit-status { margin: 10px 0 0; font-size: 13px; color: var(--office-muted); }
.contact-submit-status:empty { margin: 0; }
.contact-aside { padding-top: 5px; }
.contact-aside h2 { font-size: 19px; line-height: 1.6; font-weight: 600; margin: 0 0 14px; }
.contact-aside p { font-size: 14px; color: var(--office-muted); line-height: 1.9; }
.contact-phone { display: inline-block; color: var(--office-green); font-size: 27px; letter-spacing: .025em; font-weight: 600; line-height: 1.5; margin-bottom: 18px; }
.contact-phone:hover { color: #254b30; text-decoration: underline; }
.contact-privacy { border-top: 1px solid #ccd8c6; margin-top: 22px; padding-top: 22px; }
.contact-privacy summary { cursor: pointer; font-size: 15px; font-weight: 600; line-height: 1.8; padding: 5px 0 14px; }
.contact-privacy p { font-size: 12px; line-height: 1.9; }
.contact-confirmation { max-width: 710px; margin: 0 auto; padding: 46px; border: 1px solid var(--office-line); border-radius: 8px; background: #fff; }
.contact-confirmation h2 { font-size: 26px; line-height: 1.65; color: var(--office-green); font-weight: 600; margin: 0 0 18px; }
.contact-confirmation p { font-size: 15px; line-height: 2; }
.contact-confirmation .contact-submit { margin-top: 16px; }
.contact-shortcuts { position: fixed; right: 24px; bottom: 22px; z-index: 1050; display: flex; border: 1px solid #bbc9b5; border-radius: 5px; overflow: visible; box-shadow: 0 3px 15px #203b2014; }
.contact-shortcuts a { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 18px; color: var(--office-green); background: #fff; font-size: 13px; font-weight: 600; }
.contact-shortcuts a:last-child { color: #fff; background: var(--office-green); }
.contact-shortcuts a:hover { text-decoration: underline; text-underline-offset: 3px; }
#page_top { bottom: 92px; right: 24px; }
.ftco-footer { padding-bottom: 100px; }
.home-slider-image.carousel, .home-slider-image.carousel .slider-item { height: auto !important; }
.home-slider-image.carousel .slider-item { background-position: center 35% !important; }
.home-slider-image.carousel .slider-item .slider-text { height: auto; min-height: 320px; padding: 45px 0; }
.home-slider-image.carousel .slider-item .slider-text h1 { margin-top: 0 !important; font-size: 36px; line-height: 1.5; }
.home-slider-image.carousel .slider-item[data-bg*="background/003.jpg"] { background-position: center 45% !important; }
.home-slider-image.carousel .slider-item .overlay { opacity: .45; }
.home-slider-image .breadcrumbs { font-size: 14px; line-height: 1.9; }
.home-slider-image .breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; }
.recruitment-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.recruitment-step { display: flex; gap: 24px; padding: 28px; background: var(--office-paper); border: 1px solid var(--office-line); border-radius: 6px; }
.recruitment-step img { width: 100px; height: 110px; object-fit: cover; border-radius: 5px; flex: 0 0 auto; }
.recruitment-step h3 { font-size: 18px; font-weight: 600; line-height: 1.6; }
.recruitment-step p { margin-bottom: 0; font-size: 14px; line-height: 1.9; }
.blog-author-photo { width: 120px; height: 120px; object-fit: cover; object-position: 50% 30%; }
.about-author .bio { flex: 0 0 120px; }
.about-author .desc { min-width: 0; }
.blog-article-body { min-width: 0; overflow-wrap: anywhere; }
.blog-article-body img { max-width: 100% !important; height: auto !important; }
.blog-article-body table { display: block; max-width: 100%; overflow-x: auto; }
.blog-article-body th, .blog-article-body td { min-width: 7em; padding: .6em .8em; border: 1px solid var(--office-line); }
.blog-article-body th { background: var(--office-paper); }
.blog-article-body pre { max-width: 100%; overflow-x: auto; }
.services-wrap h3 a { color: var(--office-green); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 992px) {
  .contact-hero { padding-top: 95px; }
  .home-slider-image.carousel { margin-top: 95px; }
}
@media (max-width: 991.98px) {
  #ftco-navbar .navbar-toggler { display: inline-flex; align-items: center; }
  #ftco-navbar .navbar-nav > .nav-item > .nav-link { padding: 12px 8px; min-height: 44px; }
  #ftco-navbar .navbar-brand img { width: 108px; }
  .contact-hero-inner { gap: 28px; min-height: 270px; }
  .contact-hero-photo { height: 210px; }
  .contact-layout { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; }
  .contact-form { padding: 24px; }
  .contact-fields { grid-template-columns: minmax(0, 1fr); }
  .contact-phone { font-size: 22px; }
  .recruitment-step { display: block; padding: 24px; }
  .recruitment-step img { margin-bottom: 20px; }
}
@media (max-width: 767.98px) {
  body { padding-bottom: 62px; }
  .contact-hero-inner { grid-template-columns: 1fr; gap: 0; padding-bottom: 28px; }
  .contact-hero-copy { padding: 25px 0 22px; }
  .contact-breadcrumb { margin-bottom: 22px; }
  .contact-hero h1 { font-size: 30px; margin-bottom: 10px; }
  .contact-hero-photo { height: 168px; object-position: center 43%; }
  .contact-section { padding: 28px 0 40px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .contact-form { padding: 22px 18px; }
  .contact-form-heading h2 { font-size: 20px; }
  .contact-submit { width: 100%; padding-left: 10px; padding-right: 10px; }
  .contact-aside { padding: 0 5px; }
  .contact-phone { font-size: 28px; }
  .contact-confirmation { padding: 28px 22px; }
  .contact-confirmation h2 { font-size: 23px; }
  .contact-shortcuts { bottom: 0; left: 0; right: 0; border-radius: 0; padding-bottom: env(safe-area-inset-bottom); background: #fff; }
  .contact-shortcuts a { width: 50%; min-height: 58px; font-size: 14px; }
  #page_top { right: 15px; bottom: 85px; }
  .ftco-footer { padding-bottom: 60px; }
  .home-slider-image.carousel .slider-item .slider-text { min-height: 250px; padding: 32px 0; }
  .home-slider-image.carousel .slider-item .slider-text h1 { font-size: 28px; }
  .recruitment-steps { grid-template-columns: minmax(0, 1fr); }
  .about-author { flex-direction: column; gap: 20px; }
  .about-author .bio { margin-right: 0 !important; }
}
@media (prefers-reduced-motion: reduce) {
  .ftco-animate.reveal-pending { opacity: 1; transform: none; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .main-img { animation: none !important; opacity: 0; }
  .main-img:first-child { opacity: 1; }
}
