/* ===== Custom Properties ===== */
:root {
  --color-primary: #2245a5;
  --color-grad-dark: #0D3B7F;
  --color-grad-light: #8EB1D9;
  --color-accent: #FE0404;
  --color-header-border: #54944E;
  --color-contact-btn: #6380a0;
  --color-instagram-btn: #9e6980;
  --color-recruit-bg: #8b841d;
  --color-business-bg: rgba(52, 94, 75, 0.8);
  --color-sub-bg: rgba(141, 139, 124, 0.2);
  --color-phone-btn: #60975b;
  --color-text: #333333;
  --color-text-sub: #535252;
  --color-text-gray: #707070;
  --color-overlay: rgba(35, 33, 33, 0.36);
  --color-gray-bg: #f9f9f9;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
  --max-width: 1450px;
  --header-height: 87px;
  --header-padding-x: 20px;
  --header-logo-width: 60px;
  --header-logo-gap: 10px;
  --header-logo-text-size: 16px;
  --header-logo-company-ch: 7;
  /* L2〜L4 = ヘッダーロゴ基準（docs/07-layout-grid.md） */
  --layout-grid-l2: var(--header-padding-x);
  --layout-grid-l3: calc(var(--header-padding-x) + var(--header-logo-width));
  --layout-grid-l3-inset: var(--header-logo-width);
  --layout-grid-l4: calc(
    var(--layout-grid-l3) + var(--header-logo-gap) + (var(--header-logo-company-ch) * var(--header-logo-text-size))
  );
  --layout-grid-l4-inset: calc(
    var(--layout-grid-l3-inset) + var(--header-logo-gap) + (var(--header-logo-company-ch) * var(--header-logo-text-size))
  );
  /* L5〜L8 = L4〜L1 のミラー（docs/07-layout-grid.md） */
  --layout-grid-l5-inset: calc(100% - var(--layout-grid-l4-inset));
  --layout-grid-l6-inset: calc(100% - var(--layout-grid-l3-inset));
  --layout-grid-l7-inset: 100%;
  --layout-grid-width-l3-l6: calc(var(--layout-grid-l6-inset) - var(--layout-grid-l3-inset));
  --layout-grid-width-l4-l5: calc(var(--layout-grid-l5-inset) - var(--layout-grid-l4-inset));
  --content-inner-padding-left: var(--layout-grid-l2);
  --subpage-block-pad-y: 60px;
  --page-header-title-char-duration: 1.6s;
  --page-header-title-char-interval: 0.18s;
  --page-header-title-gradient-gap: 0.1s;
  --page-header-title-fill-color: var(--color-header-border);
  --philosophy-bg-color: #e2e2e0;
  /* SVG feTurbulence：グレーのみ・コンクリート調（bg-noise.png 代替） */
  --philosophy-noise-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='3' stitchTiles='stitch' result='noise'/%3E%3CfeColorMatrix in='noise' type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='0.14' intercept='0.86'/%3E%3CfeFuncG type='linear' slope='0.14' intercept='0.86'/%3E%3CfeFuncB type='linear' slope='0.14' intercept='0.86'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' fill='%23e2e2e0'/%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --philosophy-noise-size: 360px 360px;
  --hero-ratio-width: 2900;
  --hero-ratio-height: 1026;
  --hero-fit-height: calc(100vw * var(--hero-ratio-height) / var(--hero-ratio-width));
  --hero-center-overlay: rgba(13, 59, 127, 0.58);
  --hero-zoom-min: 1.05;
  --hero-zoom-max: 1.13;
  --hero-zoom-duration: 14s;
  --hero-catchcopy-rise-duration: 1s;
  --hero-catchcopy-pop-duration: 1s;
  --hero-catchcopy-delay-ict: 1s;
  --hero-catchcopy-char-interval: 0.4s;
  --hero-catchcopy-char-duration: 0.35s;
  --hero-catchcopy-delay-cross: calc(var(--hero-catchcopy-delay-ict) + 3 * var(--hero-catchcopy-char-interval));
  --hero-catchcopy-delay-skill: calc(var(--hero-catchcopy-delay-cross) + var(--hero-catchcopy-pop-duration));
  --hero-catchcopy-gap: 4px;
  --hero-catchcopy-size: 12px;
  --hero-catchcopy-cross-size: 16px;
  --hero-catchcopy-padding: 8px 6px 22px;
  --hero-catchcopy-line-height: 1.35;
  --hero-catchcopy-letter-spacing: 0.02em;
  --hero-banner-offset: 6px;
  --section-pad-sp: 60px 20px;
  --section-pad-tab: 60px 40px;
  --section-pad-pc: 80px 125px;
  --results-inline-pad: 20px;
  --result-section-gap: 60px;
  --result-photo-gap: 40px;
  --section-gap: 40px;
  --section-reveal-duration: 1.6s;
  --section-reveal-distance: 24px;
  --section-reveal-stagger: 0.1s;
  --section-reveal-easing: cubic-bezier(0.22, 1, 0.36, 1);
  --recruit-photo-inset: clamp(6px, 1.4%, 9px);
  --read-more-gap: 48px;
  --read-more-size: 18px;
  --recruit-desc-margin: 28px;
  --voice-inner-bleed: 8px;
  --voice-inner-pad-x: 24px;
  --voice-inner-pad-y: 32px;
  --section-lead-size: 20px;
  --business-photo-ratio: 7 / 6;
  --cta-banner-content-max: 880px;
  --cta-banner-min-height: auto;
  --cta-banner-padding: 36px 20px;
  --cta-banner-title-size: 18px;
  --cta-banner-title-line-height: 1.5;
  --cta-banner-title-margin: 16px;
  --cta-banner-title-padding-bottom: 8px;
  --cta-banner-title-underline: 2px;
  --cta-banner-title-wrap: normal;
  --cta-banner-text-size: 13px;
  --cta-banner-text-line-height: 1.85;
  --business-head-overlay-left: rgba(72, 120, 82, 0.32);
  --business-head-overlay: rgba(38, 72, 46, 0.84);
  --business-head-title-size: 20px;
  --business-head-text-size: 15px;
  --footer-cta-btn-width: 304px;
  --footer-cta-btn-height: 68px;
  --footer-cta-btn-gap: 16px;
  --footer-cta-btn-font-size: 30px;
  --footer-cta-btn-icon-size: 42px;
  --footer-cta-btn-mail-icon-size: 48px;
  --footer-cta-btn-icon-padding-x: 14px;
  --footer-cta-btn-col-logo: 1fr;
  --footer-cta-btn-col-text: 3fr;
  --scroll-top-size: 56px;
  --scroll-top-bg: #76c067;
  --scroll-top-offset-x: 20px;
  --scroll-top-offset-y: 24px;
  --nav-link-underline-easing: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: #fff;
  overflow-x: hidden;
}

/* TOP: spacing between stacked sections */
.hero + .about-section,
.about-section + .business-section,
.business-section + .recruit-section,
main + .cta-banner,
.recruit-map + .cta-banner,
.cta-banner + .footer-cta,
.page-header + .cta-banner--business-head {
  margin-top: var(--section-gap);
}

/* Part reveal (scroll into view) */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal:not(.is-active) {
    opacity: 0;
    transform: translateY(var(--section-reveal-distance));
  }

  html.js .reveal.is-active {
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity var(--section-reveal-duration) var(--section-reveal-easing),
      transform var(--section-reveal-duration) var(--section-reveal-easing);
    transition-delay: calc(var(--reveal-index, 0) * var(--section-reveal-stagger));
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

address {
  font-style: normal;
}

/* ===== Layout ===== */
.page-content {
  padding-top: var(--header-height);
}

/* ===== Site Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 2px solid var(--color-header-border);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.site-header__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--header-padding-x);
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: var(--header-logo-gap);
  text-decoration: none;
  flex-shrink: 0;
}

.site-header__logo-img {
  width: var(--header-logo-width);
  height: auto;
}

.site-header__logo-text {
  font-size: var(--header-logo-text-size);
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.site-header__nav {
  display: none;
  margin-left: auto;
}

.site-header__nav-list {
  display: flex;
  align-items: center;
  list-style: none;
}

.site-header__nav-link,
.site-footer__nav-link {
  position: relative;
  display: inline-block;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s;
}

.site-header__nav-link {
  font-size: 14px;
  color: var(--color-text);
  padding: 4px 12px 8px;
}

.site-footer__nav-link {
  color: var(--color-text-gray);
  padding: 4px 8px 8px;
}

.site-header__nav-link::after,
.site-footer__nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--nav-link-underline-easing);
}

.site-header__nav-link::after {
  left: 12px;
  right: 12px;
}

.site-footer__nav-link::after {
  left: 8px;
  right: 8px;
}

.site-header__nav-link:hover,
.site-header__nav-link[aria-current="page"],
.current-menu-item .site-header__nav-link,
.site-footer__nav-link:hover,
.site-footer__nav-link[aria-current="page"],
.current-menu-item .site-footer__nav-link {
  color: var(--color-primary);
}

.site-header__nav-link:hover::after,
.site-header__nav-link[aria-current="page"]::after,
.current-menu-item .site-header__nav-link::after,
.site-footer__nav-link:hover::after,
.site-footer__nav-link[aria-current="page"]::after,
.current-menu-item .site-footer__nav-link::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .site-header__nav-link::after,
  .site-footer__nav-link::after,
  .scroll-top {
    transition: none;
  }
}

.site-header__buttons {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.site-header__btn {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  color: #fff;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.site-header__btn-icon {
  display: block;
  width: 18px;
  height: auto;
  flex-shrink: 0;
}

.site-header__btn:hover,
.footer-cta__btn:hover {
  opacity: 0.85;
}

.site-header__btn--contact {
  background: var(--color-contact-btn);
}

.site-header__btn--instagram {
  background: var(--color-instagram-btn);
}

/* ===== Hamburger ===== */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.hamburger--open .hamburger__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger--open .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger--open .hamburger__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== Mobile Nav ===== */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav--open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav__list {
  list-style: none;
  text-align: center;
}

.mobile-nav__item {
  border-bottom: 1px solid #eee;
}

.mobile-nav__link {
  display: block;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
}

.mobile-nav__link:hover {
  color: var(--color-primary);
}

.mobile-nav__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 240px;
}

.mobile-nav__buttons .site-header__btn {
  height: 44px;
  font-size: 15px;
  width: 100%;
}

/* ===== Footer CTA ===== */
.footer-cta {
  background: #fff;
  padding: 0 20px 60px;
  border: none;
}

.footer-cta__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.footer-cta__content {
  grid-column: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  justify-items: center;
  width: 100%;
  max-width: var(--footer-cta-btn-width);
  margin: 0 auto;
  min-width: 0;
}

.footer-cta__left {
  min-width: 0;
  width: 100%;
  text-align: center;
}

.footer-cta__title,
.footer-cta__subtitle {
  font-weight: 700;
  color: var(--color-text-sub);
}

.footer-cta__title {
  font-size: 28px;
  margin-bottom: 6px;
}

.footer-cta__subtitle {
  font-size: 18px;
  margin-bottom: 12px;
}

.footer-cta__desc {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 0;
  text-align: center;
}

.footer-cta__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: var(--footer-cta-btn-gap);
}

.footer-cta__btn {
  display: grid;
  grid-template-columns: var(--footer-cta-btn-col-logo) var(--footer-cta-btn-col-text);
  align-items: stretch;
  width: var(--footer-cta-btn-width);
  max-width: 100%;
  height: var(--footer-cta-btn-height);
  font-size: var(--footer-cta-btn-font-size);
  font-weight: 700;
  color: #fff;
  padding: 0;
  transition: opacity 0.2s;
}

.footer-cta__btn-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 100%;
  padding: 0 var(--footer-cta-btn-icon-padding-x);
}

.footer-cta__btn-text {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 100%;
  text-align: center;
  white-space: nowrap;
}

.footer-cta__btn--phone {
  background: var(--color-phone-btn);
}

.footer-cta__btn--inquiry {
  background: var(--color-contact-btn);
}

.footer-cta__btn--instagram {
  background: var(--color-instagram-btn);
}

.footer-cta__btn--inquiry .footer-cta__btn-icon {
  width: var(--footer-cta-btn-mail-icon-size);
}

.footer-cta__btn-icon {
  width: var(--footer-cta-btn-icon-size);
  height: auto;
  flex-shrink: 0;
  display: block;
}

/* ===== Site Footer ===== */
.site-footer {
  padding: 0 0 16px;
}

.site-footer__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  box-sizing: border-box;
}

/* L2〜L7 コンテンツ帯（docs/07-layout-grid.md） */
.site-footer__content {
  margin-inline: var(--content-inner-padding-left);
  border-top: 1px solid var(--color-text-gray);
  padding-top: 30px;
  box-sizing: border-box;
}

.site-footer__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 16px;
}

.site-footer__nav {
  display: none;
  font-size: 13px;
}

.site-footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 0;
}

.site-footer__nav-list li {
  display: inline-flex;
  align-items: center;
}

.site-footer__nav-list li + li::before {
  content: '|';
  margin: 0 6px;
  color: var(--color-text-gray);
  font-weight: 700;
}

.site-footer__nav-sep {
  color: var(--color-text-gray);
  margin: 0 6px;
}

.site-footer__company {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-gray);
  margin-bottom: 0;
}

.site-footer__address {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.site-footer__copyright {
  font-size: 12px;
  color: #999;
  text-align: center;
}

/* ===== Scroll to Top ===== */
.scroll-top {
  position: fixed;
  right: var(--scroll-top-offset-x);
  bottom: var(--scroll-top-offset-y);
  z-index: 900;
  width: var(--scroll-top-size);
  height: var(--scroll-top-size);
  border: none;
  border-radius: 50%;
  background: var(--scroll-top-bg);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    background-color 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: #6ab55c;
}

.scroll-top:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.scroll-top__icon {
  display: block;
  width: 22px;
  height: 22px;
}

/* ===== Section Base ===== */
.section {
  padding: var(--section-pad-sp);
}

.section--default {
  background: #fff;
}

.section--gray {
  background: var(--color-gray-bg);
}

.section--beige {
  background: var(--color-sub-bg);
}

.section--philosophy {
  background-color: var(--philosophy-bg-color);
  background-image: var(--philosophy-noise-tile);
  background-repeat: repeat;
  background-size: var(--philosophy-noise-size);
  background-position: center;
}

.result-entry-wrap--philosophy {
  position: relative;
  isolation: isolate;
  padding-block: var(--result-section-gap);
}

.result-entry-wrap--philosophy::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background-color: var(--philosophy-bg-color);
  background-image: var(--philosophy-noise-tile);
  background-repeat: repeat;
  background-size: var(--philosophy-noise-size);
  background-position: center;
}

.result-entry-wrap--philosophy .results-section {
  padding: 0;
  max-width: none;
  margin: 0;
}

.result-entry-wrap--philosophy .result-entry {
  margin-block: 0;
}

/* ===== Section Title ===== */
.section-title {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.section-title--center {
  justify-content: center;
  text-align: center;
}

.section-title--center .section-title__bar {
  display: none;
}

.section-title__bar {
  width: 15px;
  height: 60px;
  background: var(--color-accent);
  flex-shrink: 0;
}

.section-title__heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
}

.section-title__heading--white {
  color: #fff;
}

.section-title__heading--recruit {
  color: var(--color-recruit-bg);
}

.section-title__subheading {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 4px;
}

.section-title__subheading--white {
  color: #fff;
}

.about-section .section-title,
.business-section .section-title {
  align-items: center;
}

.business-section .section-title {
  margin-bottom: 0;
}

.about-section .section-title__text,
.business-section .section-title__text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.about-section .section-title__subheading,
.business-section .section-title__subheading {
  margin-top: 0;
}

/* ===== Page Header (inner pages) ===== */
.page-header {
  position: relative;
  height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.page-header__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
}

.page-header__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: var(--content-inner-padding-left);
}

.page-header__title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.page-header__title-char {
  display: inline-block;
  color: #fff;
}

.page-header--compact-title .page-header__title,
.page-header--compact-title .page-header__title-char {
  letter-spacing: 0;
}

@media (prefers-reduced-motion: no-preference) {
  body.is-subpage .page-header__title-char {
    animation: page-header-title-char var(--page-header-title-char-duration) cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: calc(
      var(--page-header-title-gradient-gap)
      + var(--char-index, 0) * var(--page-header-title-char-interval)
    );
  }
}

@keyframes page-header-title-char {
  0%,
  20% {
    color: #fff;
  }

  45% {
    color: var(--page-header-title-fill-color);
  }

  70%,
  100% {
    color: #fff;
  }
}

.page-header__subtitle {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-top: 8px;
}

/* ===== CTA Banner ===== */
.cta-banner {
  position: relative;
  min-height: var(--cta-banner-min-height);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(269.9deg, rgba(10, 37, 78, 0.66) 0%, rgba(21, 51, 95, 0.66) 22%, rgba(66, 107, 164, 0.66) 73%, rgba(142, 177, 217, 0.66) 100%),
    url('../images/top-cta-recruit-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--cta-banner-content-max);
  margin: 0 auto;
  padding: var(--cta-banner-padding);
  text-align: left;
  box-sizing: border-box;
}

.cta-banner__title {
  display: table;
  margin: 0 auto var(--cta-banner-title-margin);
  font-size: var(--cta-banner-title-size);
  font-weight: 700;
  line-height: var(--cta-banner-title-line-height);
  color: #fff;
  padding-bottom: var(--cta-banner-title-padding-bottom);
  position: relative;
  text-align: center;
  white-space: var(--cta-banner-title-wrap);
  max-width: 100%;
}

.cta-banner__title::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--cta-banner-title-underline);
  background: var(--color-accent);
}

.cta-banner__text {
  font-size: var(--cta-banner-text-size);
  color: #fff;
  line-height: var(--cta-banner-text-line-height);
  margin: 0;
  text-align: left;
}

.cta-banner--business-head .cta-banner__bg {
  background-image:
    linear-gradient(to right, var(--business-head-overlay-left), var(--business-head-overlay)),
    url('../images/business-head.jpg');
}

.cta-banner--business-head .cta-banner__content,
.cta-banner--business-head .cta-banner__text {
  text-align: center;
}

.cta-banner--business-head .cta-banner__title,
.cta-banner__title--business-head {
  font-size: var(--business-head-title-size);
}

.cta-banner--business-head .cta-banner__text {
  font-size: var(--business-head-text-size);
}

/* ===== Recruit Map ===== */
.recruit-map {
  width: 100%;
}

.page-template-page-about .page-content > .section:last-child {
  padding-bottom: 24px;
}

body.is-subpage .page-content > .section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 0;
  padding-right: 0;
}

body.is-subpage .subpage__inner,
body.is-subpage .page-content > .results-list,
body.is-subpage .page-content > .contact-section,
body.is-subpage .page-content > .content-wrapper {
  width: 100%;
  max-width: var(--max-width);
  min-width: 0;
  margin-inline: auto;
  padding-inline: var(--content-inner-padding-left);
  box-sizing: border-box;
}

body.is-subpage .page-content > .results-list,
body.is-subpage .page-content > .contact-section,
body.is-subpage .page-content > .content-wrapper {
  padding-top: var(--subpage-block-pad-y);
  padding-bottom: var(--subpage-block-pad-y);
}

.page-template-page-about .info-table__value,
.page-template-page-recruit .recruit-table__value {
  min-width: 0;
  overflow-wrap: break-word;
}

.page-template-page-about .info-table__label {
  text-align: left;
  padding-left: 16px;
}

.page-template-page-about .info-table__row:last-child {
  border-bottom: none;
}

.page-template-page-about .philosophy {
  width: 100%;
  margin-top: 40px;
  box-sizing: border-box;
}

.page-template-page-about .philosophy__content {
  width: 100%;
  margin-left: 0;
  padding-inline: 0;
}

.page-template-page-about .philosophy__body {
  min-width: 0;
}

.page-template-page-about {
  --subpage-heading-em: 28px;
}

.recruit-map__iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  width: 100%;
  line-height: 0;
}

.hero__panel-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--hero-center-overlay);
  pointer-events: none;
}

@keyframes hero-catchcopy-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-catchcopy-char-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-catchcopy-pop {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }

  70% {
    transform: scale(1.12);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hero-side-zoom-in-out {
  0%,
  100% {
    transform: scale(var(--hero-zoom-min));
  }

  50% {
    transform: scale(var(--hero-zoom-max));
  }
}

@keyframes hero-side-zoom-out-in {
  0%,
  100% {
    transform: scale(var(--hero-zoom-max));
  }

  50% {
    transform: scale(var(--hero-zoom-min));
  }
}

.hero__panel-media {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  min-height: 0;
}

.hero__catchcopy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--hero-catchcopy-padding);
  pointer-events: none;
}

.hero__catchcopy-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hero-catchcopy-gap);
  margin: 0;
  color: #fff;
  font-weight: 700;
  line-height: var(--hero-catchcopy-line-height);
  text-align: center;
  letter-spacing: var(--hero-catchcopy-letter-spacing);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero__catchcopy-line {
  font-size: var(--hero-catchcopy-size);
}

.hero__catchcopy-line:not(.hero__catchcopy-line--ict) {
  opacity: 0;
  animation: hero-catchcopy-rise var(--hero-catchcopy-rise-duration) cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__catchcopy-line--ict {
  display: inline-flex;
  opacity: 1;
}

.hero__catchcopy-char {
  display: inline-block;
  opacity: 0;
  animation: hero-catchcopy-char-in var(--hero-catchcopy-char-duration) ease forwards;
  animation-delay: calc(var(--hero-catchcopy-delay-ict) + var(--char-index) * var(--hero-catchcopy-char-interval));
}

.hero__catchcopy-title .hero__catchcopy-line:nth-child(3) {
  animation-delay: var(--hero-catchcopy-delay-skill);
}

.hero__catchcopy-cross {
  font-size: var(--hero-catchcopy-cross-size);
  line-height: 1;
  color: var(--color-accent);
  opacity: 0;
  animation: hero-catchcopy-pop var(--hero-catchcopy-pop-duration) cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--hero-catchcopy-delay-cross);
}

@media (prefers-reduced-motion: reduce) {
  .hero__catchcopy-line,
  .hero__catchcopy-cross,
  .hero__catchcopy-char {
    opacity: 1;
    animation: none;
    transform: none;
  }

  .page-header__title,
  .page-header__subtitle,
  .page-header__title-char {
    animation: none;
    color: #fff;
    opacity: 1;
    transform: none;
  }

  .hero__panel--left .hero__panel-image,
  .hero__panel--right .hero__panel-image {
    animation: none;
    transform: scale(var(--hero-zoom-min));
  }
}

.hero__panel-banner {
  position: absolute;
  bottom: var(--hero-banner-offset);
  left: 0;
  z-index: 3;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.hero__panels {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: var(--hero-fit-height);
  line-height: 0;
}

.hero__panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.hero__panel:not(.hero__panel--center) {
  flex: 1050 1 0;
  width: auto;
  height: auto;
}

.hero__panel--left .hero__panel-image,
.hero__panel--right .hero__panel-image {
  inset: -2px;
  object-fit: cover;
  object-position: center center;
  transform: scale(var(--hero-zoom-min));
  transform-origin: center center;
  will-change: transform;
}

.hero__panel--left .hero__panel-image {
  animation: hero-side-zoom-in-out var(--hero-zoom-duration) ease-in-out infinite;
}

.hero__panel--right .hero__panel-image {
  animation: hero-side-zoom-out-in var(--hero-zoom-duration) ease-in-out infinite;
}

.hero__panel--center {
  flex: 800 1 0;
  width: auto;
  height: auto;
  display: flex;
  flex-direction: column;
}

.hero__panel-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

/* ===== TOP Page Sections ===== */
.about-section,
.business-section,
.recruit-section {
  padding: var(--section-pad-sp);
}

.about-section {
  background: linear-gradient(269.8deg, var(--color-grad-dark) 0%, var(--color-grad-light) 100%);
}

.about-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-card__body {
  margin-bottom: 24px;
}

.about-card__lead,
.business-section__lead,
.recruit-section__lead {
  font-size: var(--section-lead-size);
  font-weight: 700;
}

.about-card__lead {
  color: var(--color-text-sub);
  margin-bottom: 16px;
}

.about-card__desc {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text-sub);
}

.about-card__link,
.business-section__more-link,
.recruit-section__link {
  font-size: var(--read-more-size);
  font-weight: 700;
}

.about-card__link,
.recruit-section__link {
  display: block;
  margin-top: var(--read-more-gap);
  text-align: right;
}

.about-card__link {
  color: var(--color-text-sub);
}

.about-card__link:hover {
  color: var(--color-primary);
}

.about-card__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* ===== Business Section (TOP) ===== */
.business-section {
  background-image:
    linear-gradient(var(--color-business-bg), var(--color-business-bg)),
    url('../images/top-business-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.business-section__header {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.business-section__header-inner {
  max-width: 100%;
}

.business-section__lead {
  color: #fff;
  margin-top: 16px;
  text-align: left;
}

/* Photo Grid */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.photo-grid__item {
  border-radius: 14px;
  overflow: hidden;
  background: #ccc;
}

.business-section .photo-grid__item {
  background: #fff;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.business-section .photo-grid__image {
  width: 100%;
  height: auto;
  aspect-ratio: var(--business-photo-ratio);
  object-fit: cover;
}

.business-section .photo-grid__placeholder {
  width: 100%;
  aspect-ratio: var(--business-photo-ratio);
}

.photo-grid__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.photo-grid__placeholder {
  width: 100%;
  height: 220px;
  background: #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
}

.business-section__more {
  max-width: var(--max-width);
  margin: 20px auto 0;
  text-align: right;
}

.business-section__more-link {
  color: #fff;
}

/* ===== Recruit Section (TOP) ===== */
.recruit-section {
  background: var(--color-recruit-bg);
}

.recruit-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.recruit-section__photos {
  order: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.2%, 16px);
  background: #fff;
  padding: clamp(10px, 1.2%, 16px);
  width: 100%;
  box-sizing: border-box;
}

.recruit-section__photo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 500 / 368;
  min-width: 0;
  padding: var(--recruit-photo-inset);
  background: #fff;
  box-sizing: border-box;
}

.recruit-section__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.recruit-section__box {
  order: 1;
  margin-top: 0;
  margin-bottom: 24px;
  background: rgba(149, 158, 105, 0.8);
  padding: 32px 24px;
}

.recruit-section .section-title {
  align-items: center;
  margin-bottom: 24px;
}

.recruit-section .section-title__text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.recruit-section .section-title__subheading {
  margin-top: 0;
}

.recruit-section__lead {
  color: #fff;
  margin-bottom: 0;
}

.recruit-section__desc {
  font-size: 18px;
  line-height: 2;
  color: #fff;
  margin: var(--recruit-desc-margin) 0;
}

.recruit-section__link {
  color: #fff;
}

/* ===== Greeting Box ===== */
.greeting-box {
  background: #fff;
  padding: 40px 24px;
  margin-top: 32px;
}

.greeting-box__catch {
  font-family: var(--font-serif);
  font-size: 22px;
  text-align: left;
  margin-bottom: 24px;
  color: var(--color-text-sub);
}

.greeting-box__text {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
  margin: 0;
}

.greeting-box__author {
  width: fit-content;
  margin-top: 32px;
  margin-left: auto;
  text-align: left;
  font-family: var(--font-serif);
}

.greeting-box__author-title {
  font-size: 16px;
  line-height: 2;
}

.greeting-box__author-name {
  font-size: 20px;
  font-weight: 600;
}

/* ===== Philosophy ===== */
.philosophy {
  margin-top: 32px;
}

.philosophy__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 16px;
}

.philosophy__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.7;
  text-align: left;
  margin-bottom: 0;
}

.philosophy__text {
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
}

.philosophy__banner {
  width: 100%;
}

.philosophy__banner-image {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Info / Recruit Table ===== */
.info-table,
.recruit-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
}

.info-table__row {
  border-bottom: 1px solid var(--color-primary);
}

.recruit-table__row {
  border-bottom: 1px solid #707070;
}

.info-table__label,
.recruit-table__label {
  padding: 16px 20px 16px 0;
  font-size: 14px;
  font-weight: 700;
  vertical-align: top;
  white-space: nowrap;
}

.info-table__label {
  color: var(--color-text-sub);
  width: 140px;
}

.recruit-table__label {
  color: var(--color-text);
  width: 160px;
  text-align: left;
  padding-left: 16px;
}

.recruit-table__br-sp {
  display: inline;
}

.info-table__value,
.recruit-table__value {
  padding: 16px 0;
  font-size: 14px;
  line-height: 2;
  color: var(--color-text);
}

.info-table__value a:hover {
  color: var(--color-primary);
}

/* ===== Awards ===== */
.award-category {
  font-size: 16px;
  color: var(--color-text);
  font-weight: 400;
  margin-bottom: 12px;
}

.award-category + .award-grid,
.award-category + .award-list {
  margin-top: 0;
}

.award-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 32px;
}

.award-grid__item {
  color: var(--color-text);
}

.award-grid__image-wrap {
  margin-bottom: 4px;
}

.award-grid__image {
  width: 90%;
  max-width: 270px;
  height: auto;
  display: block;
}

.award-grid__caption {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text);
}

.award-list {
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
}

.award-list p + p {
  margin-top: 0;
}

/* ===== Community ===== */
.community {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.community__image {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
}

.community__text {
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
}

/* ===== Results (Construction List) ===== */
.results-list {
  display: flex;
  flex-direction: column;
  gap: var(--result-section-gap);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-pad-sp);
}

.results-list .results-section {
  padding: 0;
  max-width: none;
  margin: 0;
}

.results-section {
  padding: var(--section-pad-sp);
  max-width: var(--max-width);
  margin: 0 auto;
}

.result-entry {
  margin: 0;
}

.result-entry__meta {
  margin: 0 0 20px;
}

.result-entry__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-bottom: 16px;
}

.result-entry__meta-row:last-child {
  margin-bottom: 0;
}

.result-entry__meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
}

.result-entry__meta-item--full {
  flex: 1 1 100%;
  width: 100%;
}

.result-entry__label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  background: #60975b;
  white-space: nowrap;
}

.result-entry__value {
  flex: 0 1 auto;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text);
}

.result-entry__meta-item--full .result-entry__value {
  flex: 1;
  min-width: 0;
}

.result-entry__photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--result-photo-gap);
  margin-top: 16px;
}

.result-entry__photo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.result-entry__photo-caption {
  text-align: center;
  font-size: 14px;
  color: var(--color-text);
  padding: 6px 0;
  line-height: 2;
  margin: 0;
}

/* ===== Work Grid (求人写真) ===== */
.job-work-photos {
  margin-top: 40px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 16px;
  row-gap: calc(48px * 0.95);
  max-width: var(--max-width);
  margin: 0 auto;
}

.work-grid__item {
  text-align: center;
}

.work-grid__image-wrap {
  width: calc(80% * 1.05);
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
}

.work-grid__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-grid__label {
  font-size: 14px;
  color: var(--color-text);
  margin-top: 8px;
  line-height: 2;
}

@media (max-width: 767px) {
  body.is-subpage .page-header {
    height: var(--hero-fit-height);
  }

  body.is-subpage .section-title {
    align-items: center;
  }

  .page-template-page-about .info-table,
  .page-template-page-about .info-table tbody,
  .page-template-page-about .info-table__row,
  .page-template-page-recruit .recruit-table,
  .page-template-page-recruit .recruit-table tbody,
  .page-template-page-recruit .recruit-table__row {
    display: block;
    width: 100%;
  }

  .page-template-page-about .info-table__label,
  .page-template-page-about .info-table__value,
  .page-template-page-recruit .recruit-table__label,
  .page-template-page-recruit .recruit-table__value {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
  }

  .page-template-page-about .info-table__label,
  .page-template-page-recruit .recruit-table__label {
    width: auto;
    padding: 12px 16px 0;
    white-space: normal;
  }

  .page-template-page-about .info-table__value,
  .page-template-page-recruit .recruit-table__value {
    padding: 8px 16px 16px;
  }

  .page-template-page-about .info-table__value > :first-child,
  .page-template-page-about .info-table__value .awards,
  .page-template-page-about .info-table__value .community {
    margin-top: 0;
  }

  .page-template-page-about .info-table__value .award-category:first-child {
    margin-top: 0;
  }

  .page-template-page-recruit .job-work-photos .work-grid {
    column-gap: 12px;
    row-gap: calc(40px * 0.95);
  }

  .page-template-page-recruit .job-work-photos .work-grid__image-wrap {
    width: 100%;
  }

  .page-template-page-recruit .voice-card__photo {
    width: min(280px, 90%);
  }
}

/* ===== Job Intro / Desc ===== */
.recruit-intro,
.job-desc {
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
}

.recruit-intro {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.job-desc {
  max-width: 900px;
  margin: 24px auto 0;
  text-align: left;
}

/* ===== Voice Card ===== */
.voice-section__inner {
  background: #fff;
  border-radius: 24px;
  margin-inline: calc(-1 * var(--voice-inner-bleed));
  padding: var(--voice-inner-pad-y) calc(var(--voice-inner-pad-x) + var(--voice-inner-bleed));
  width: auto;
  max-width: none;
}

.voice-section__inner .section-title {
  margin-left: calc(-1 * var(--voice-inner-pad-x));
  margin-bottom: 32px;
}

.voice-card {
  margin-top: 0;
}

.voice-card__left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.voice-card__photo {
  width: 180px;
  overflow: hidden;
  margin: 0 auto;
}

.voice-card__photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.voice-card__text {
  font-size: 14px;
  line-height: 2;
  color: var(--color-text);
}

.voice-card__text p + p {
  margin-top: 16px;
}

/* ===== Contact Form ===== */
.contact-section {
  padding: var(--section-pad-sp);
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-section__notice {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-gray);
  text-align: center;
}

.contact-section .wpcf7 {
  max-width: 920px;
  margin: 0 auto;
}

.contact-section .wpcf7 .hidden-fields-container {
  display: none;
}

.contact-section .wpcf7 .screen-reader-response {
  position: absolute;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

.contact-section .wpcf7 form.init .wpcf7-response-output,
.contact-section .wpcf7 form.resetting .wpcf7-response-output,
.contact-section .wpcf7 form.submitting .wpcf7-response-output {
  display: none;
}

.contact-form__field > p {
  margin: 0;
}

.contact-form__label > p {
  margin: 0;
}

.contact-form__group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 20px;
}

.contact-form__group--textarea {
  align-items: start;
}

.contact-form__label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
}

.contact-form__required {
  font-size: 13px;
  color: #c00;
  margin-left: 6px;
}

.contact-form__field {
  min-width: 0;
}

.contact-form__field .wpcf7-form-control-wrap {
  display: block;
}

.contact-form__input,
.contact-form__textarea {
  display: block;
  width: 100%;
  background: rgba(112, 112, 112, 0.12);
  border: none;
  outline: none;
  padding: 16px;
  font-size: 16px;
  font-family: var(--font-sans);
  box-sizing: border-box;
}

.contact-form__input {
  height: 52px;
  padding: 0 16px;
}

.contact-form__textarea {
  height: 200px;
  resize: vertical;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  box-shadow: 0 0 0 2px var(--color-primary);
}

.contact-form__field .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  padding: 8px 0;
}

.contact-form__field .wpcf7-list-item {
  margin: 0;
}

.contact-form__field .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.contact-form__field .wpcf7-list-item input[type="radio"] {
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: var(--color-text);
}

.contact-form__submit-wrap {
  margin-top: 32px;
}

.contact-form__submit,
.contact-section .wpcf7-submit {
  display: block;
  width: 100%;
  max-width: 320px;
  height: 56px;
  background: var(--color-contact-btn);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin: 0 auto;
  font-family: var(--font-sans);
  transition: background 0.2s;
}

.contact-form__submit:hover,
.contact-section .wpcf7-submit:hover {
  background: #4e677f;
}

.contact-section .wpcf7-response-output {
  border: none;
  margin: 32px 0 0;
  padding: 30px 24px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}

.contact-section .wpcf7-mail-sent-ok {
  background: #e8f5e9;
  border: 1px solid #4caf50;
  color: #2e7d32;
}

.contact-section .wpcf7 form.invalid .wpcf7-response-output,
.contact-section .wpcf7 form.unaccepted .wpcf7-response-output,
.contact-section .wpcf7 form.failed .wpcf7-response-output,
.contact-section .wpcf7 form.spam .wpcf7-response-output,
.contact-section .wpcf7-validation-errors,
.contact-section .wpcf7-mail-sent-ng,
.contact-section .wpcf7-spam-blocked {
  background: #ffebee;
  border: 1px solid #ef5350;
  color: #cc0000;
}

.contact-section .wpcf7-not-valid-tip {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: #c00;
}

.contact-section .wpcf7-not-valid {
  box-shadow: 0 0 0 2px #ef5350;
}

/* ===== Pagination ===== */
.pagination {
  margin-top: 40px;
}

.pagination__list {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
}

.pagination__list .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  color: var(--color-text);
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}

.pagination__list .current,
.pagination__list .page-numbers:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* ===== Content (generic) ===== */
.content-wrapper {
  padding: var(--section-pad-sp);
  max-width: var(--max-width);
  margin: 0 auto;
}

.content-entry {
  margin-bottom: 40px;
}

.content-entry__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.content-entry__title a:hover {
  color: var(--color-primary);
}

.content-entry__body {
  font-size: 15px;
  line-height: 2;
  color: var(--color-text);
}

.content-empty {
  font-size: 16px;
  color: #666;
  text-align: center;
  padding: 40px 0;
}

/* ===== 404 ===== */
.error-404 {
  text-align: center;
}

.error-404__title {
  font-size: 80px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.error-404__text {
  font-size: 18px;
  color: var(--color-text);
  margin-bottom: 24px;
}

.error-404__link {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 4px;
  transition: opacity 0.2s;
}

.error-404__link:hover {
  opacity: 0.8;
}

/* ===== body nav-open (mobile nav open) ===== */
body.nav-open {
  overflow: hidden;
}

/* ===== Tablet (768px+) ===== */
@media (min-width: 768px) {
  :root {
    --section-pad-sp: var(--section-pad-tab);
    --voice-inner-bleed: 24px;
    --voice-inner-pad-x: 40px;
    --voice-inner-pad-y: 48px;
    --header-padding-x: 50px;
    --header-logo-width: 80px;
    --header-logo-text-size: 20px;
    --section-gap: 60px;
    --hero-catchcopy-gap: 10px;
    --hero-catchcopy-size: 24px;
    --hero-catchcopy-cross-size: 30px;
    --hero-catchcopy-padding: 16px 10px 52px;
    --hero-catchcopy-line-height: 1.45;
    --hero-catchcopy-letter-spacing: 0.04em;
    --hero-banner-offset: 10px;
    --cta-banner-min-height: 280px;
    --cta-banner-padding: 50px 56px;
    --cta-banner-title-size: 30px;
    --cta-banner-title-margin: 20px;
    --cta-banner-title-padding-bottom: 12px;
    --cta-banner-title-underline: 3px;
    --cta-banner-title-wrap: nowrap;
    --cta-banner-text-size: 15px;
    --cta-banner-text-line-height: 2;
    --business-head-title-size: 28px;
    --business-head-text-size: 22px;
  }

  .site-header__logo-text {
    font-size: var(--header-logo-text-size);
  }

  .hamburger {
    display: none;
  }

  .mobile-nav {
    display: none;
  }

  .site-header__nav {
    display: block;
    margin-left: auto;
  }

  .site-header__buttons {
    display: flex;
    margin-left: 20px;
  }

  .page-header {
    height: 280px;
  }

  .page-header__title {
    font-size: 36px;
  }

  /* 下層ページ縦グリッド（768px+ / docs/07-layout-grid.md） */
  body.is-subpage .page-header__content {
    padding-left: var(--layout-grid-l3);
    padding-right: var(--content-inner-padding-left);
  }

  .page-template-page-about .section--default .section-title,
  .page-template-page-about .section--philosophy .section-title,
  .page-template-page-about .section--gray .section-title,
  .page-template-page-recruit .section--philosophy .subpage__inner:has(.recruit-table) .section-title,
  .page-template-page-recruit .job-section .section-title,
  .page-template-page-recruit .voice-section__inner .section-title {
    margin-left: var(--layout-grid-l3-inset);
  }

  .page-template-page-about .info-table,
  .page-template-page-recruit .recruit-table {
    table-layout: fixed;
    margin-left: var(--layout-grid-l3-inset);
    width: var(--layout-grid-width-l3-l6);
  }

  .page-template-page-about .philosophy__heading {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding-left: var(--layout-grid-l3-inset);
  }

  .page-template-page-about .philosophy__banner,
  .page-template-page-recruit .job-work-photos,
  .page-template-page-recruit .voice-section__inner .voice-card,
  .page-template-page-company .results-list .result-entry {
    margin-left: var(--layout-grid-l3-inset);
    width: var(--layout-grid-width-l3-l6);
    box-sizing: border-box;
  }

  .page-template-page-about .philosophy__banner {
    max-width: none;
  }

  .page-template-page-recruit .voice-section__inner .voice-card {
    padding-inline: 0;
  }

  .page-template-page-about .philosophy__title {
    text-align: left;
    margin-left: 60px;
  }

  .page-template-page-about .section--default .greeting-box {
    padding-block: 32px;
    padding-inline: 0;
  }

  .page-template-page-about .section--default .greeting-box__catch,
  .page-template-page-about .section--default .greeting-box__text,
  .page-template-page-recruit .recruit-intro,
  .page-template-page-recruit .job-desc {
    max-width: none;
    margin-left: var(--layout-grid-l4-inset);
    margin-right: auto;
    width: var(--layout-grid-width-l4-l5);
    padding-inline: 0;
    box-sizing: border-box;
    text-align: left;
  }

  .page-template-page-about .section--default .greeting-box__author {
    margin-left: auto;
    margin-right: calc(100% - var(--layout-grid-l6-inset));
  }

  .page-template-page-recruit .job-work-photos .work-grid {
    max-width: none;
    margin: 0;
  }

  .page-template-page-recruit {
    --voice-inner-bleed: 0;
  }

  .page-template-page-recruit .voice-section__inner {
    width: var(--layout-grid-l7-inset);
    max-width: none;
    margin-inline: 0;
    padding-block: var(--voice-inner-pad-y);
    padding-inline: 0;
    box-sizing: border-box;
  }

  .page-template-page-recruit .voice-section__inner .section-title {
    margin-bottom: 32px;
  }

  .page-template-page-recruit .voice-card__photo {
    margin: 0;
  }

  .about-card {
    padding: 48px 60px;
  }

  .about-card__desc {
    font-size: 16px;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-grid__image {
    height: 260px;
  }

  .photo-grid__placeholder {
    height: 260px;
  }

  .section-title__heading {
    font-size: 32px;
  }

  .philosophy__content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    margin-bottom: 20px;
  }

  .page-template-page-about .philosophy__content {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .page-template-page-about {
    --subpage-heading-em: 32px;
  }

  .page-template-page-about .section--default .greeting-box {
    padding-block: 40px;
  }

  .philosophy__title {
    font-size: 26px;
  }

  .footer-cta {
    padding: 0 40px 60px;
  }

  .footer-cta__inner {
    grid-template-columns: 1fr 4fr 1fr;
  }

  .footer-cta__content {
    grid-column: 2;
    max-width: none;
    justify-items: stretch;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-cta__title {
    font-size: 32px;
  }

  .site-footer {
    padding: 0 0 20px;
  }

  .site-footer__content {
    padding-top: 36px;
  }

  .site-footer__nav {
    display: block;
    font-size: 15px;
  }

  .site-footer__company {
    font-size: 22px;
  }

  .site-footer__address {
    font-size: 18px;
  }

  .results-list {
    padding: var(--section-pad-tab);
  }

  :root {
    --results-inline-pad: 40px;
    --result-photo-gap: 48px;
  }

  .result-entry__label {
    font-size: 14px;
    padding: 8px 16px;
  }

  .result-entry__value {
    font-size: 15px;
  }

  .result-entry__photos {
    grid-template-columns: repeat(3, 1fr);
  }

  .result-entry__photo-image {
    height: 260px;
  }

  .info-table__label,
  .recruit-table__label {
    font-size: 15px;
  }

  .info-table__label {
    width: 180px;
  }

  .recruit-table__label {
    width: 200px;
  }

  .info-table__value,
  .recruit-table__value {
    font-size: 15px;
  }

  .recruit-table__br-sp {
    display: none;
  }

  .award-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .award-grid__image {
    width: 90%;
    max-width: none;
  }

  .community {
    grid-template-columns: 300px 1fr;
    gap: 32px;
    align-items: start;
  }

  .community__image {
    max-width: none;
  }

  .recruit-map__iframe {
    height: 360px;
  }

  .work-grid {
    grid-template-columns: repeat(4, 1fr);
    row-gap: calc(56px * 0.95);
  }

  .voice-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    column-gap: 80px;
    align-items: start;
  }

  .voice-card__left {
    margin-bottom: 0;
  }

  .voice-card__photo {
    width: 220px;
    margin: 0;
  }

  .voice-card__text {
    font-size: 15px;
  }

  .contact-section {
    padding: var(--section-pad-tab);
  }

  .contact-form__group {
    grid-template-columns: 220px 1fr;
    gap: 16px 32px;
    align-items: center;
  }

  .contact-form__field .wpcf7-list-item input[type="radio"] {
    width: 30px;
    height: 30px;
  }

  .content-wrapper {
    padding: var(--section-pad-tab);
  }
}

/* ===== Desktop (1201px+) ===== */
@media (min-width: 1201px) {
  :root {
    --section-gap: 80px;
    --result-section-gap: 80px;
    --results-inline-pad: 125px;
    --result-photo-gap: 64px;
    --read-more-gap: 56px;
    --read-more-size: 20px;
    --recruit-desc-margin: 36px;
    --voice-inner-bleed: 60px;
    --voice-inner-pad-x: 60px;
    --voice-inner-pad-y: 50px;
    --section-lead-size: 24px;
    --scroll-top-size: 64px;
    --scroll-top-offset-x: 40px;
    --scroll-top-offset-y: 40px;
    --subpage-block-pad-y: 80px;
    --hero-catchcopy-gap: 18px;
    --hero-catchcopy-size: 45px;
    --hero-catchcopy-cross-size: 56px;
    --hero-catchcopy-padding: 20px 12px 80px;
    --hero-catchcopy-line-height: 1.5;
    --hero-catchcopy-letter-spacing: 0.05em;
    --hero-banner-offset: 14px;
    --cta-banner-content-max: 980px;
    --cta-banner-min-height: 332px;
    --cta-banner-padding: 60px 72px;
    --cta-banner-title-size: 35px;
    --cta-banner-text-size: 16px;
    --business-head-title-size: 35px;
    --business-head-text-size: 28px;
  }

  .scroll-top__icon {
    width: 24px;
    height: 24px;
  }

  .section {
    padding: var(--section-pad-pc);
  }

  .page-header {
    height: 300px;
  }

  .page-header__title {
    font-size: 42px;
  }

  .page-header__subtitle {
    font-size: 20px;
  }

  .about-section,
  .business-section,
  .recruit-section {
    padding: var(--section-pad-pc);
  }

  .about-card {
    border-radius: 35px;
    padding: 60px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }

  .about-card__body {
    margin-bottom: 0;
  }

  .about-card__desc {
    font-size: 18px;
  }

  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .business-section .photo-grid__item {
    padding: 18px;
    border-radius: 18px;
  }

  .photo-grid__image {
    height: 300px;
  }

  .photo-grid__placeholder {
    height: 300px;
  }

  .photo-grid__item {
    border-radius: 18px;
  }

  .recruit-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
  }

  .recruit-section__photos,
  .recruit-section__box {
    order: 0;
  }

  .recruit-section__box {
    margin-bottom: 0;
    margin-top: 0;
    padding: 40px;
  }

  .recruit-section__photos {
    align-self: center;
  }

  .section-title__heading {
    font-size: 35px;
  }

  .section-title__subheading {
    font-size: 20px;
  }

  .footer-cta {
    padding: 0 125px 80px;
  }

  .footer-cta__content {
    gap: 60px;
  }

  .footer-cta__title {
    font-size: 35px;
  }

  .footer-cta__subtitle {
    font-size: 20px;
  }

  .results-list {
    padding: var(--section-pad-pc);
  }

  .result-entry__label {
    font-size: 15px;
  }

  .result-entry__value {
    font-size: 16px;
  }

  .result-entry__photo-image {
    height: 300px;
  }

  .greeting-box {
    padding: 60px 80px;
  }

  .page-template-page-about {
    --subpage-heading-em: 35px;
  }

  .page-template-page-about .section--default .greeting-box {
    padding-block: 48px;
  }

  .greeting-box__catch {
    font-size: 26px;
  }

  .greeting-box__text {
    font-size: 18px;
  }

  .greeting-box__author-name {
    font-size: 24px;
  }

  .philosophy__title {
    font-size: 32px;
    line-height: 1.65;
  }

  .philosophy__content {
    gap: 60px;
    margin-bottom: 24px;
  }

  .page-template-page-about .philosophy__content {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .philosophy__text {
    font-size: 16px;
  }

  .info-table__label,
  .recruit-table__label {
    font-size: 16px;
  }

  .info-table__label {
    width: 200px;
  }

  .recruit-table__label {
    width: 260px;
  }

  .info-table__value,
  .recruit-table__value {
    font-size: 16px;
  }

  .voice-section__inner {
    border-radius: 35px;
  }

  .voice-section__inner .section-title {
    margin-bottom: 40px;
  }

  .voice-card {
    grid-template-columns: 250px 1fr;
    column-gap: 100px;
  }

  .voice-card__photo {
    width: 250px;
  }

  .voice-card__text {
    font-size: 18px;
  }

  .contact-section {
    padding: var(--section-pad-pc);
  }

  .contact-form__group {
    grid-template-columns: 280px 1fr;
    gap: 20px 48px;
    margin-bottom: 24px;
  }

  .contact-form__input {
    height: 60px;
  }

  .contact-form__textarea {
    height: 218px;
  }

  .contact-form__field .wpcf7-list-item input[type="radio"] {
    width: 35px;
    height: 35px;
  }

  .contact-form__submit,
  .contact-section .wpcf7-submit {
    max-width: 480px;
    height: 65px;
    font-size: 28px;
  }

  .content-wrapper {
    padding: var(--section-pad-pc);
  }
}
