html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: #f4f4f4;
  color: #202020;
  font-family:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.6;
}

body.admin-bar {
  min-height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    min-height: calc(100vh - 46px);
  }
}

body > main {
  flex: 1 0 auto;
}

#site-footer {
  margin-top: auto;
}

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

img {
  display: block;
  width: 100%;
}

#site-header {
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  max-width: 1180px;
  min-height: 78px;
  margin: 0 auto;
  padding: 8px 24px;
}

.site-header .brand {
  display: flex;
  align-items: center;
  min-width: 290px;
}

.brand-logo {
  width: 284px;
  height: auto;
}

/* The English lockup is less wide than the Japanese one, so narrow it to keep the same cap height. */
.brand-logo--en {
  width: 256px;
}

.primary-nav {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(4, 76px);
  gap: 4px;
  justify-self: center;
  text-align: center;
}

.primary-nav a,
.utility-nav > a,
.utility-item > a {
  display: grid;
  grid-template-rows: 42px 32px;
  justify-items: center;
  align-items: start;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.primary-nav a:hover,
.utility-nav > a:hover,
.utility-item > a:hover,
.company-menu-trigger[aria-expanded="true"] {
  color: #e60012;
  transform: translateY(-2px);
}

.nav-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto;
}

.nav-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #202020;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    stroke 0.2s ease,
    transform 0.2s ease;
}

.primary-nav a:hover .nav-icon svg,
.utility-nav > a:hover .nav-icon svg,
.utility-item > a:hover .nav-icon svg,
.company-menu-trigger[aria-expanded="true"] .nav-icon svg {
  stroke: #e60012;
  transform: translateY(-1px);
}

.utility-nav {
  display: flex;
  align-items: start;
  gap: 12px;
  justify-self: end;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.utility-nav > a,
.utility-item > a {
  min-width: 62px;
  padding-top: 0;
  border-top: 3px solid transparent;
  text-align: center;
}

.utility-item {
  position: relative;
}

.nav-label {
  display: grid;
  place-items: center;
  min-height: 32px;
}

.hero {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-visual {
  position: relative;
}

.hero img {
  display: block;
  width: 100%;
  height: auto;
}

/* Top page hero slider (fade) */
.hero-slides {
  display: grid;
}

.hero-slide {
  position: relative;
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1s ease,
    visibility 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  aspect-ratio: 2560 / 1100;
  object-fit: cover;
}

.hero-slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease;
}

.hero-slider-arrow:hover,
.hero-slider-arrow:focus-visible {
  background: rgba(0, 0, 0, 0.5);
}

.hero-slider-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

.hero-slider-arrow.is-prev {
  left: 0;
}

.hero-slider-arrow.is-prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.hero-slider-arrow.is-next {
  right: 0;
}

.hero-slider-arrow.is-next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}

.hero-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-slider-dot {
  width: 28px;
  height: 4px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.hero-slider-dot.is-active {
  background: #e60012;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

.company-submenu {
  position: fixed;
  top: var(--company-menu-top, 78px);
  left: var(--company-menu-left, 50vw);
  z-index: 30;
  width: 170px;
  background: #e92439;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.company-submenu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.company-submenu a {
  display: block;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.hero-copy {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: max-content;
  max-width: calc(100% - 64px);
  margin: 0;
  padding: 10px 28px;
  transform: translate(-50%, -50%);
  background: #e60012;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-align: center;
}

.hero-ribbon {
  padding: 20px 24px;
  background: #e60012;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  max-width: 1180px;
  margin: 24px auto 0px;
  padding: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.service-card {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.service-card img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-card span {
  display: block;
  padding: 12px 16px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
}

.service-card.orange span {
  background: #f39800;
}

.service-card.green span {
  background: #00a95f;
}

.service-card.blue span {
  background: #005bac;
}

.service-card.red span {
  background: #e60012;
}

.banner-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 36px;
}

.banner-row a {
  display: block;
  padding: 14px 20px;
  background: #fff;
  color: #3d3d3d;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.banner-row strong {
  margin-left: 8px;
  color: #d71920;
  font-size: 22px;
  font-style: italic;
  letter-spacing: 0.12em;
}

.banner-row img {
  width: auto;
  max-width: 100%;
  height: 30px;
  margin: 0 auto;
}

.side-column {
  display: grid;
  gap: 18px;
  align-content: start;
}

.info-panel {
  background: #fff;
  padding: 18px 20px 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.info-panel h2 {
  margin: 0 0 14px;
  padding: 0 0 7px;
  border-bottom: 4px solid #d71920;
  color: #1f1f1f;
  font-family: "Oswald", Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.info-panel h2 span {
  color: #d71920;
}

.info-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-panel li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 6px;
  align-items: start;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.info-panel time {
  color: #e60012;
  font-weight: 900;
  white-space: nowrap;
}

.info-panel a {
  letter-spacing: -0.01em;
}

.side-card {
  display: block;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6e6e6;
}

.side-card img {
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
}

.side-card span {
  display: block;
  padding: 8px 12px;
  background: #050505;
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.calendar {
  background: #fff;
  padding: 12px;
}

.calendar-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 8px;
}

.calendar-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0;
  font-size: 11px;
  color: #333;
}

.calendar-legend .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.legend-swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
}

.legend-swatch.legend-holiday {
  background: #d3d3d3;
}

.legend-swatch.legend-auction {
  border-radius: 50%;
  background: #f5a623;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid #333;
  border-right: 0;
  border-bottom: 0;
  font-size: 12px;
  text-align: center;
}

.calendar-grid > span {
  position: relative;
  min-height: 26px;
  padding: 3px 2px;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  background: #fff;
  box-sizing: border-box;
}

.calendar-grid .cal-dow {
  font-weight: 800;
  background: #fff;
}

.calendar-grid .cal-day.is-holiday {
  background: #d3d3d3;
}

.calendar-grid .cal-day.is-empty {
  background: #f4f4f4;
}

.calendar-grid .cal-day .cal-num {
  font-weight: 700;
}

.calendar-grid .cal-day .cal-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-left: 3px;
  border-radius: 50%;
  background: #f5a623;
  vertical-align: middle;
}

.calendar-nav {
  display: flex;
  align-items: stretch;
  gap: 4px;
  margin-top: 8px;
}

.calendar-nav .cal-nav-btn,
.calendar-nav .cal-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 4px;
  border: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.calendar-nav .cal-nav-btn {
  flex: 0 0 auto;
  min-width: 52px;
  background: #0f2f6b;
}

.calendar-nav .cal-nav-btn:hover {
  background: #16418f;
}

.calendar-nav .cal-detail-btn {
  flex: 1 1 auto;
  background: #1e9e5a;
}

.calendar-nav .cal-detail-btn:hover {
  background: #23b366;
}

.calendar-nav .cal-arrow {
  font-size: 10px;
}

.primary-nav a.is-active,
.utility-nav > a.is-active,
.utility-item > a.is-active {
  color: #e60012;
}

.primary-nav a.is-active .nav-icon svg,
.utility-nav > a.is-active .nav-icon svg,
.utility-item > a.is-active .nav-icon svg {
  stroke: #e60012;
}

.page {
  /* padding-bottom: 21px; */
}

.page-container,
.page-layout {
  max-width: 1180px;
  margin: 32px auto 0;
  padding: 0;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
}

.page-main,
.page-side {
  display: grid;
  gap: 24px;
  align-content: start;
}

.page-hero,
.detail-hero,
.recruit-hero {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  background: #111;
  color: #fff;
}

.page-hero.compact {
  height: 340px;
}

.page-hero img,
.detail-hero img,
.recruit-hero img {
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.page-hero > div,
.detail-hero > div,
.recruit-hero > div {
  position: absolute;
  right: 64px;
  bottom: 54px;
  left: 64px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}

.page-hero p,
.detail-hero p,
.recruit-hero p,
.page-title p {
  margin: 0 0 6px;
  color: #e60012;
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page-hero h1,
.detail-hero h1,
.recruit-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.18;
}

.page-title {
  max-width: 1180px;
  margin: 0 auto;
  padding: 58px 0 0;
}

.page-title h1 {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 4px solid #d71920;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
}

.page-title h1 span,
.section-card h2 span {
  color: #d71920;
}

.page-heading {
  margin-bottom: 24px;
}

.page-heading h2,
.section-card h2,
.spec-box h2 {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 3px solid #d71920;
  font-family: "Oswald", sans-serif;
  font-size: 30px;
  line-height: 1;
}

.section-card,
.spec-box,
.article-page {
  background: #fff;
  padding: 28px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.section-card p,
.article-page p {
  margin: 0 0 1em;
}

.step-grid,
.card-grid,
.initiative-grid,
.product-grid,
.numbers-grid,
.recruit-menu {
  display: grid;
  gap: 22px;
}

.step-grid,
.product-grid,
.card-grid,
.initiative-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-grid article,
.product-card,
.numbers-grid article,
.recruit-menu a {
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.step-grid article {
  padding: 22px;
}

.step-grid strong {
  color: #d71920;
  font-family: "Oswald", sans-serif;
  font-size: 34px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  font: inherit;
}

.contact-form button,
.contact-form input[type="submit"] {
  justify-self: center;
  min-width: 180px;
  padding: 13px 24px;
  border: 0;
  background: #d71920;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

/* Contact Form 7 on sell page */
.wpcf7 {
  margin: 0;
}

.wpcf7 form.contact-form {
  display: grid;
  gap: 16px;
}

/* CF7 still wraps blocks in <p>/<br>; unwrap so the theme grid layout works. */
.wpcf7 form.contact-form > p {
  display: contents;
}

.wpcf7 form.contact-form br {
  display: none;
}

.wpcf7 form.contact-form .asahi-cf7-product {
  display: grid;
  gap: 8px;
}

.wpcf7 form.contact-form .product-fields > p {
  display: contents;
}

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

.wpcf7 form.contact-form .wpcf7-not-valid-tip {
  margin-top: 4px;
  color: #d71920;
  font-size: 13px;
  font-weight: 700;
}

.wpcf7 form.contact-form .wpcf7-response-output {
  margin: 8px 0 0;
  padding: 12px 14px;
  border-width: 2px;
  font-weight: 700;
}

.wpcf7 form.contact-form.sent .wpcf7-response-output {
  border-color: #2e7d32;
  background: #e8f5e9;
  color: #1b5e20;
}

.wpcf7 form.contact-form.invalid .wpcf7-response-output,
.wpcf7 form.contact-form.failed .wpcf7-response-output {
  border-color: #d71920;
  background: #fdecea;
  color: #9b1c1c;
}

.wpcf7-spinner {
  margin-left: 8px;
}

.product-card {
  display: grid;
  overflow: hidden;
}

.product-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.product-card strong {
  padding: 16px 18px 4px;
  font-size: 20px;
}

.product-card span {
  padding: 0 18px 18px;
  color: #555;
}

.detail-hero {
  display: grid;
  grid-template-columns: 58% 42%;
  min-height: 420px;
}

.detail-hero img {
  opacity: 1;
}

.detail-hero > div {
  position: static;
  display: grid;
  align-content: center;
  padding: 48px;
  background: #111;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li::before {
  margin-right: 8px;
  color: #d71920;
  content: "■";
}

.spec-box dl,
.info-table {
  width: 100%;
}

.spec-box dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px 14px;
  margin: 0;
}

.spec-box dt,
.info-table th {
  color: #d71920;
  font-weight: 900;
}

.spec-box dd {
  margin: 0;
}

.news-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid #d8d8d8;
}

.news-list > a,
.news-list > li > a {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px 22px;
  border-bottom: 1px solid #e7e7e7;
}

.news-list > a:last-child,
.news-list > li:last-child > a {
  border-bottom: 0;
}

.news-list > a:hover,
.news-list > li > a:hover {
  background: #fafafa;
}

.news-list time,
.article-date,
.news-date {
  margin: 0;
  color: #e60012;
  font-weight: 900;
  white-space: nowrap;
}

.news-list span {
  min-width: 0;
  line-height: 1.7;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.news-list-empty {
  padding: 24px 22px;
  color: #666;
}

.information-archive,
.information-single {
  padding-top: 0;
}

.information-single {
  background: #fff;
  border: 1px solid #d8d8d8;
  padding: 28px 32px;
}

.information-single-title {
  margin: 8px 0 24px;
  padding-bottom: 16px;
  border-bottom: 3px solid #d71920;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.5;
}

.information-single-body {
  line-height: 1.9;
}

.information-back {
  margin: 32px 0 0;
}

.article-page {
  max-width: 880px;
  margin: 48px auto 0;
}

.article-page h1 {
  margin: 8px 0 24px;
  padding-bottom: 16px;
  border-bottom: 3px solid #d71920;
  font-size: 32px;
}

.text-link {
  display: inline-block;
  margin-top: 16px;
  color: #d71920;
  font-weight: 900;
}

.recruit-subnav {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.recruit-subnav .text-link {
  margin-top: 0;
}

.recruit-stack {
  display: grid;
  gap: 28px;
}

.recruit-stack .section-card {
  scroll-margin-top: 96px;
}

.recruit-stack {
  display: grid;
  gap: 28px;
}

.recruit-stack .section-card {
  scroll-margin-top: 96px;
}

.recruit-article h2 {
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #d71920;
  font-size: 20px;
  font-weight: 900;
}

.recruit-article h2:first-child {
  margin-top: 0;
}

.recruit-article h3 {
  margin: 20px 0 10px;
  font-size: 16px;
  font-weight: 900;
}

.recruit-profile {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.recruit-profile img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid #ddd;
}

.recruit-profile-name {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
}

.recruit-profile h2 {
  margin: 18px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #e5e5e5;
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.4;
}

.recruit-profile h2:first-of-type {
  margin-top: 0;
}

.recruit-profile p {
  margin: 0 0 1em;
  line-height: 1.9;
}

.recruit-profile p:last-child {
  margin-bottom: 0;
}

.recruit-note {
  margin: 12px 0 0;
  color: #666;
  font-size: 13px;
  line-height: 1.7;
}

.recruit-pay-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 8px 0 0;
}

.recruit-pay-card {
  padding: 16px 14px;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.recruit-pay-card h3 {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid #d71920;
  font-size: 15px;
}

.recruit-pay-card h4 {
  margin: 16px 0 8px;
  padding-top: 12px;
  border-top: 1px solid #e5e5e5;
  font-size: 14px;
  font-weight: 800;
}

.recruit-pay-card p {
  margin: 0 0 8px;
  line-height: 1.7;
}

.recruit-pay-card p:last-child {
  margin-bottom: 0;
}

.recruit-pay-notes {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: #555;
  font-size: 13px;
}

.recruit-pay-notes li {
  margin: 0 0 4px;
  line-height: 1.7;
}

.recruit-role-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.recruit-role-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  line-height: 1.7;
}

.recruit-role-list li:last-child {
  border-bottom: 0;
}

.recruit-role-list strong {
  display: inline-block;
  min-width: 4.5em;
  color: #d71920;
}

@media (max-width: 768px) {
  .recruit-profile,
  .recruit-pay-grid {
    grid-template-columns: 1fr;
  }
}

.company-menu-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-bottom: 28px;
  background: #d71920;
}

.company-menu-grid a {
  padding: 14px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  font-weight: 800;
  text-align: center;
}

.company-page {
  display: grid;
  gap: 44px;
}

.company-hero-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.company-block {
  display: grid;
  gap: 18px;
}

.company-block-heading {
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 2px solid #e60012;
  color: #111;
  font-family: "Oswald", sans-serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-align: center;
}

.company-block-heading span {
  color: #e60012;
}

.company-block-body {
  padding: 28px 32px;
  border: 1px solid #d8d8d8;
  background: #fff;
}

.company-block-body p {
  margin: 0 0 1em;
  line-height: 1.9;
}

.company-block-body p:last-child {
  margin-bottom: 0;
}

.company-signature {
  margin-top: 24px;
  font-weight: 700;
  line-height: 1.7;
  text-align: right;
}

.company-philosophy {
  display: grid;
  gap: 28px;
}

.company-philosophy-item {
  display: grid;
  gap: 12px;
}

.company-philosophy-item + .company-philosophy-item {
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}

.company-philosophy-item h3 {
  margin: 0;
  color: #111;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.company-philosophy-item h3::before {
  margin-right: 6px;
  color: #e60012;
  content: "■";
}

.company-philosophy-lead,
.company-philosophy-slogan {
  margin: 0;
  color: #111;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.company-philosophy-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.company-philosophy-list > div {
  display: grid;
  grid-template-columns: 4.5em 1fr;
  gap: 10px 14px;
  align-items: start;
}

.company-philosophy-list dt {
  margin: 0;
  color: #e60012;
  font-weight: 900;
}

.company-philosophy-list dd {
  margin: 0;
  line-height: 1.8;
}

.company-philosophy-notes {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2em;
  line-height: 1.8;
}

.company-bordered-box {
  border: 1px solid #d8d8d8;
  background: #fff;
}

.company-info-table {
  margin: 0;
}

.company-info-table th,
.company-info-table td {
  padding: 13px 16px;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
  text-align: left;
  vertical-align: top;
}

.company-info-table tr:last-child th,
.company-info-table tr:last-child td {
  border-bottom: 0;
}

.company-info-table th {
  width: 220px;
  background: #fff;
  color: #333;
  font-weight: 500;
}

.company-info-table th.company-info-sub {
  padding-left: 34px;
  color: #555;
}

.company-plain-list {
  margin: 0;
  padding-left: 1.3em;
}

.company-plain-list li {
  line-height: 1.75;
}

.company-office-item:not(:has(img)) {
  grid-template-columns: 1fr;
}

.company-office-note {
  margin-top: 10px;
  color: #555;
  font-size: 13px;
  line-height: 1.7;
}

.company-chart-box {
  padding: 24px 22px 28px;
}

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

.org-chart {
  display: grid;
  gap: 18px;
}

.org-chart-caption {
  margin: 0;
  color: #666;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.org-chart-node {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 2px solid #9e1b24;
  background: #fff;
  color: #222;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.org-chart-node.is-primary {
  background: #9e1b24;
  color: #fff;
}

.org-chart-node.is-staff {
  background: #f7f2f2;
}

.org-chart-governance,
.org-chart-staff,
.org-chart-leaves,
.org-chart-groups {
  margin: 0;
  padding: 0;
  list-style: none;
}

.org-chart-governance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.org-chart-chevron {
  width: 18px;
  height: 18px;
  background: #9e1b24;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.org-chart-staff {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.org-chart-hq {
  display: grid;
  grid-template-columns: minmax(160px, 0.72fr) minmax(0, 2.28fr);
  gap: 14px;
  align-items: start;
}

.org-chart-panel {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid #ead6d6;
  background: #fffdfd;
}

.org-chart-panel-title,
.org-chart-group-title {
  margin: 0;
  padding: 10px 12px;
  background: #9e1b24;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.org-chart-group-title {
  font-size: 13px;
}

.org-chart-groups {
  display: grid;
  gap: 12px;
}

.org-chart-group {
  display: grid;
  gap: 8px;
}

.org-chart-subgroups,
.org-chart-groups-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.org-chart-groups-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.org-chart-subgroup-title {
  margin: 0 0 8px;
  padding: 8px 10px;
  border: 2px solid #9e1b24;
  background: #fff5f5;
  color: #9e1b24;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.org-chart-leaves {
  display: grid;
  gap: 6px;
}

.org-chart-leaves li {
  padding: 9px 8px;
  border: 1px solid #9e1b24;
  background: #fff;
  color: #333;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.history-list {
  display: grid;
  margin: 0;
}

.history-list > div {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e5e5;
}

.history-list > div:last-child {
  border-bottom: 0;
}

.history-list dt {
  margin: 0;
  color: #333;
  font-weight: 800;
  line-height: 1.6;
}

.history-list dd {
  margin: 0;
  line-height: 1.7;
}

.company-office-list {
  display: grid;
  gap: 18px;
  padding: 24px 28px;
  border: 1px solid #d8d8d8;
  background: #fff;
}

.company-office-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 14px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e5e5;
}

.company-office-item:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.company-office-more {
  margin: 4px 0 0;
}

.company-office-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 900;
}

.company-office-item p {
  margin: 0 0 4px;
  font-size: 13px;
  line-height: 1.65;
}

.company-office-item .text-link {
  margin-top: 12px;
}

.company-office-item img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border: 1px solid #ddd;
}

.company-initiative-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 20px 22px;
  list-style: none;
}

.company-initiative-list li {
  display: grid;
  gap: 6px;
}

.company-initiative-list strong {
  display: block;
  font-size: 15px;
  font-weight: 900;
}

.company-initiative-list strong::before {
  margin-right: 6px;
  color: #d71920;
  content: "■";
}

.company-initiative-list p {
  margin: 0;
  line-height: 1.75;
}

.company-message {
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 28px;
}

.company-message img {
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.company-scroll-target {
  scroll-margin-top: 96px;
}

.info-table {
  border-collapse: collapse;
  background: #fff;
}

.info-table th,
.info-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #e8e8e8;
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 180px;
  background: #fafafa;
}

.chart-box {
  display: grid;
  gap: 28px;
  padding: 40px;
  background: #fff;
  text-align: center;
}

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

.chart-row.small {
  grid-template-columns: repeat(4, 1fr);
}

.chart-node,
.chart-row.small span {
  padding: 18px 12px;
  background: #d71920;
  color: #fff;
  font-weight: 900;
}

.chart-node.top {
  justify-self: center;
  min-width: 220px;
}

.timeline {
  display: grid;
  background: #fff;
}

.timeline article {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid #e8e8e8;
}

.timeline time {
  color: #d71920;
  font-family: "Oswald", sans-serif;
  font-size: 26px;
  font-weight: 700;
}

.office-search {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
}

.office-search-page {
  display: grid;
  gap: 36px;
}

.office-search-page .map-panel {
  background: #fff;
  padding: 28px 32px;
}

.office-search-page .map-panel h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.office-search-page .map-panel > p {
  margin: 0 0 20px;
  color: #555;
}

.japan-map-container {
  max-width: 760px;
  margin: 0 auto;
}

.japan-map-container svg {
  width: 100%;
  height: auto;
  display: block;
}

.japan-map-container .prefecture {
  fill: #ececec;
  stroke: #666;
  stroke-width: 1;
  transition: fill 0.2s ease;
}

.japan-map-container .prefecture.has-office {
  fill: #ffd8da;
  cursor: pointer;
}

.japan-map-container .prefecture.has-office:hover,
.japan-map-container .prefecture.has-office:focus {
  fill: #d71920;
  outline: none;
}

.japan-map-container .prefecture.is-disabled {
  fill: #f5f5f5;
  cursor: default;
}

.office-map-nav {
  margin-top: 24px;
}

.office-map-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.office-map-nav a {
  display: inline-block;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #d71920;
  color: #d71920;
  font-size: 13px;
  font-weight: 700;
}

.office-map-nav a:hover {
  background: #d71920;
  color: #fff;
}

.office-listings {
  display: grid;
  gap: 32px;
}

.office-prefecture-block {
  scroll-margin-top: 120px;
  background: #fff;
  padding: 28px 32px;
}

.office-prefecture-block.is-highlighted {
  box-shadow: inset 0 0 0 3px #d71920;
}

.office-item.is-highlighted {
  box-shadow: inset 0 0 0 3px #d71920;
  border-radius: 4px;
  transition: box-shadow 0.2s ease;
}

.office-prefecture-block h2,
.office-prefecture-block h3 {
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #d71920;
  font-size: 22px;
}

.office-prefecture-block--related h3 {
  font-size: 18px;
}

.office-related-block > h2 {
  margin: 0;
  font-size: 26px;
}

/* Map clicks target .office-item (office-{id}), so it needs the same offset as prefecture blocks. */
.office-item {
  scroll-margin-top: 120px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

/* Logged-in WP admin bar sits above the sticky site header. */
.admin-bar .office-prefecture-block,
.admin-bar .office-item {
  scroll-margin-top: 152px;
}

.office-item:has(.office-photo) {
  grid-template-columns: 1fr 260px;
  align-items: start;
}

.office-item:has(.office-photo) .office-photo {
  order: 2;
}

.office-item:last-child {
  border-bottom: 0;
}

.office-photo img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.office-body h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.office-body p {
  margin: 0 0 8px;
}

.office-description {
  margin-top: 12px;
}

.office-map-fallback {
  margin: 0;
  padding: 24px;
  background: #fff7f7;
  color: #666;
  text-align: center;
}

.map-panel {
  background: #fff;
  padding: 28px;
}

.map-placeholder {
  display: grid;
  gap: 12px;
  min-height: 360px;
  margin-top: 20px;
  padding: 28px;
  background: linear-gradient(135deg, #d9ecff, #fff);
  place-content: center;
}

.map-placeholder a {
  display: block;
  min-width: 180px;
  padding: 12px 18px;
  background: #d71920;
  color: #fff;
  font-weight: 900;
  text-align: center;
}

.office-list {
  display: grid;
  gap: 22px;
}

.office-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: #fff;
}

.office-card img {
  height: 100%;
  min-height: 150px;
  object-fit: cover;
}

.office-card div {
  padding: 22px;
}

.office-card h2 {
  margin: 0 0 10px;
  color: #d71920;
}

.recruit-hero {
  height: 460px;
}

.recruit-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.58), transparent 65%);
}

.recruit-hero > div {
  z-index: 1;
}

.recruit-menu {
  grid-template-columns: repeat(5, 1fr);
}

.recruit-menu a {
  display: grid;
  min-height: 120px;
  padding: 20px;
  background: #d71920;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  place-items: center;
  text-align: center;
}

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

.numbers-grid article {
  display: grid;
  min-height: 140px;
  padding: 20px 14px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-top: 3px solid #d71920;
  box-shadow: none;
  color: #222;
  place-items: center;
  align-content: center;
  gap: 6px;
  text-align: center;
}

.numbers-grid strong {
  color: #d71920;
  font-family: "Oswald", sans-serif;
  font-size: 52px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1;
}

.numbers-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 4px;
  place-items: center;
  border-radius: 50%;
  background: #d71920;
}

.numbers-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.numbers-grid .numbers-label {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

/* Override `.section-card p` margin inside number cards. */
/* The unit hangs to the right so the number itself sits at the card center. */
.numbers-grid .numbers-value {
  position: relative;
  margin: 0;
}

.numbers-value span {
  position: absolute;
  bottom: 0.1em;
  left: 100%;
  margin-left: 4px;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

/* Long English units (e.g. "billion yen") wrap so they stay inside the card. */
html[lang^="en"] .numbers-value span {
  width: min-content;
  line-height: 1.1;
  text-align: left;
  white-space: normal;
}

.numbers-grid .numbers-note {
  margin: 4px 0 0;
  color: #777;
  font-size: 12px;
}

.numbers-footnote {
  margin: 18px 0 0;
  font-size: 13px;
  color: #555;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  background: #fff;
  padding: 20px 24px;
}

.faq-list summary {
  color: #d71920;
  font-weight: 900;
  cursor: pointer;
}

.site-footer {
  margin-top: 24px;
  background: #efefef;
}

.footer-contact {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 16px 24px;
  background: #233c74;
  color: #fff;
  font-weight: 800;
}

.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 0;
}

.footer-sitemap section {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-sitemap h2 {
  margin: 0 0 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid #bbb;
  font-size: 15px;
}

.footer-sitemap a {
  color: #333;
  font-size: 13px;
}

.copyright {
  margin: 0;
  padding: 14px;
  background: #222;
  color: #fff;
  font-size: 12px;
  text-align: center;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  justify-self: end;
}

.mobile-menu-toggle-bars {
  position: relative;
  display: block;
  width: 26px;
  height: 20px;
}

.mobile-menu-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #202020;
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease,
    top 0.25s ease;
}

.mobile-menu-toggle-bars span:nth-child(1) {
  top: 0;
}

.mobile-menu-toggle-bars span:nth-child(2) {
  top: 8px;
}

.mobile-menu-toggle-bars span:nth-child(3) {
  top: 16px;
}

.mobile-menu-toggle[aria-expanded="true"]
  .mobile-menu-toggle-bars
  span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"]
  .mobile-menu-toggle-bars
  span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"]
  .mobile-menu-toggle-bars
  span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-menu-overlay.is-open {
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: min(320px, 82vw);
  background: #fff;
  box-shadow: -6px 0 22px rgba(0, 0, 0, 0.16);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}

.mobile-menu-title {
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #202020;
}

.mobile-menu-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #202020;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0 24px;
}

.mobile-nav-item,
.mobile-nav-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
  background: transparent;
  color: #202020;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.mobile-nav-item .nav-icon,
.mobile-nav-accordion-trigger .nav-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin: 0;
}

.mobile-nav-label {
  flex: 1;
}

.mobile-nav-leading {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mobile-nav-accordion-trigger {
  justify-content: space-between;
}

.mobile-nav-item.is-active .nav-icon svg,
.mobile-nav-accordion-trigger.is-active .nav-icon svg {
  stroke: #e60012;
}

.mobile-nav-accordion-trigger {
  width: 100%;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  font: inherit;
  font-weight: 700;
}

.mobile-nav-item.is-active,
.mobile-nav-accordion-trigger.is-active {
  color: #e60012;
}

.mobile-nav-accordion-icon {
  position: relative;
  width: 12px;
  height: 12px;
}

.mobile-nav-accordion-icon::before,
.mobile-nav-accordion-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: #202020;
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.mobile-nav-accordion-icon::before {
  width: 12px;
  height: 2px;
}

.mobile-nav-accordion-icon::after {
  width: 2px;
  height: 12px;
}

.mobile-nav-accordion-trigger[aria-expanded="true"]
  .mobile-nav-accordion-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.mobile-nav-accordion-panel {
  display: none;
  flex-direction: column;
  background: #f7f7f7;
}

.mobile-nav-accordion-panel.is-open,
.mobile-nav-accordion-panel:not([hidden]) {
  display: flex;
}

.mobile-nav-accordion-panel a {
  padding: 12px 20px 12px 36px;
  border-bottom: 1px solid #eaeaea;
  color: #333;
  font-size: 14px;
  font-weight: 500;
}

.mobile-nav-accordion-panel a:last-child {
  border-bottom: 0;
}

body.is-menu-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 64px;
  }

  .primary-nav,
  .utility-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .company-submenu {
    display: none;
  }

  .hero {
    border: 0;
  }

  .content-wrap {
    grid-template-columns: 1fr;
  }

  .page-container,
  .page-layout,
  .page-title,
  .footer-sitemap {
    width: calc(100% - 32px);
  }

  .page-layout,
  .two-column,
  .company-message,
  .office-search {
    grid-template-columns: 1fr;
  }

  .org-chart-governance,
  .org-chart-staff,
  .org-chart-hq,
  .org-chart-subgroups,
  .org-chart-groups-row {
    grid-template-columns: 1fr;
  }

  .org-chart-chevron {
    display: none;
  }

  .step-grid,
  .product-grid,
  .card-grid,
  .initiative-grid,
  .numbers-grid,
  .recruit-menu,
  .footer-sitemap {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .page-title h1 {
    font-size: 24px;
  }

  .numbers-grid strong {
    font-size: 64px;
  }

  .numbers-value span {
    font-size: 20px;
  }

  .company-philosophy-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .company-block-body {
    padding: 20px 18px;
  }

  .header-inner {
    min-height: auto;
    padding: 12px 16px;
  }

  .site-header .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 200px;
  }

  .brand-logo--en {
    width: 180px;
  }

  .hero-copy {
    max-width: calc(100% - 32px);
    padding: 8px 16px;
    font-size: 16px;
    letter-spacing: 0.04em;
  }

  .hero-ribbon {
    padding: 14px 18px;
    font-size: 12px;
  }

  .service-grid,
  .banner-row {
    grid-template-columns: 1fr;
  }

  .page-hero.compact,
  .recruit-hero {
    height: 360px;
  }

  .page-hero > div,
  .recruit-hero > div {
    right: 24px;
    bottom: 36px;
    left: 24px;
  }

  .step-grid,
  .product-grid,
  .card-grid,
  .initiative-grid,
  .numbers-grid,
  .recruit-menu,
  .footer-sitemap,
  .chart-row,
  .chart-row.small,
  .company-menu-grid {
    grid-template-columns: 1fr;
  }

  .news-list a,
  .timeline article,
  .office-card,
  .office-item,
  .office-item:has(.office-photo),
  .history-list > div,
  .company-office-item {
    grid-template-columns: 1fr;
  }

  .office-photo img {
    height: 200px;
  }

  .company-office-item img {
    width: 100%;
    height: 160px;
  }

  .footer-contact {
    align-items: center;
    flex-direction: column;
    gap: 8px;
  }

  .section-card,
  .spec-box,
  .article-page {
    padding: 18px;
  }

  /* 定義リスト型テーブルはラベルと内容を縦に積む */
  .info-table,
  .info-table thead,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: auto;
  }

  .info-table tr {
    border-bottom: 1px solid #e8e8e8;
  }

  .info-table tr:last-child {
    border-bottom: 0;
  }

  .info-table th,
  .info-table td {
    padding: 12px 14px;
    border-bottom: 0;
  }

  .info-table th {
    background: #f7f7f7;
  }

  .info-table td:empty {
    display: none;
  }

  .recruit-role-list strong {
    display: block;
    min-width: 0;
  }

  .company-info-table th {
    background: #f7f7f7;
    font-weight: 700;
  }

  /* 役員一覧など値が短い行は横並びのまま維持する */
  .company-info-table tr:has(> .company-info-sub) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .company-info-table .company-info-sub {
    padding-left: 26px;
    background: transparent;
    font-weight: 500;
  }

  .company-plain-list {
    padding-left: 1.2em;
  }

  .calendar-nav .cal-nav-btn,
  .calendar-nav .cal-detail-btn {
    min-height: 44px;
  }

  .calendar-nav .cal-arrow {
    font-size: 12px;
  }

  .footer-sitemap a {
    padding: 6px 0;
  }

  .footer-contact a {
    padding: 4px 0;
  }

  .info-panel ul {
    gap: 4px;
  }

  .info-panel a {
    display: inline-block;
    padding: 6px 0;
  }

  a[href^="tel:"] {
    display: inline-block;
    padding: 5px 0;
  }
}

/* ===== 画像プレースホルダー（本番画像差し替え前提） ===== */
.ph {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 60px;
  background: repeating-linear-gradient(
    -45deg,
    #e6e6e6,
    #e6e6e6 12px,
    #dedede 12px,
    #dedede 24px
  );
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 700;
}

.ph > span {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
}

.side-card .ph {
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
}

/* ===== リクルートLP（トップページ型） ===== */
.recruit-layout {
  align-items: start;
}

.recruit-main {
  display: grid;
  gap: 26px;
  align-content: start;
}

.rc-hero {
  position: relative;
  overflow: hidden;
}

.rc-hero-img {
  display: block;
  width: 100%;
  height: auto;
}

.rc-banner {
  display: block;
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.rc-banner:hover {
  opacity: 0.92;
}

.rc-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.rc-about {
  display: grid;
  grid-template-columns: 40% 1fr;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.rc-about:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.rc-about-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.rc-about-content {
  display: flex;
  flex-direction: column;
}

.rc-about-bar {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 22px;
  background: #d71920;
  color: #fff;
}

.rc-about-bar .en {
  font-family: "Oswald", sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.rc-about-bar .ja {
  font-size: 14px;
  font-weight: 700;
}

.rc-about-text {
  flex: 1;
  display: grid;
  gap: 1em;
  align-content: start;
  padding: 22px 24px;
}

.rc-about-text p {
  margin: 0;
  color: #333;
  line-height: 1.85;
}

.rc-about .rc-more {
  align-self: flex-end;
  margin: 0 24px 22px;
  padding: 8px 26px 8px 18px;
  background: #00a95f;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.rc-about .rc-more::after {
  margin-left: 8px;
  content: "\203A";
}

.rc-messages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.rc-msg {
  position: relative;
  display: block;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.rc-msg:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.rc-msg img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 640px) {
  .rc-messages {
    grid-template-columns: 1fr;
  }

  .rc-about {
    grid-template-columns: 1fr;
  }

  .rc-about-bar {
    flex-direction: column;
    gap: 2px;
  }
}

/* =========================================================
   オリジナルブランド 一覧 / 詳細
   ========================================================= */

/* --- 一覧（タイトル + サムネイルのみ） --- */
.brand-archive {
  max-width: 1180px;
  margin: 32px auto 72px;
  padding: 0 20px;
}

.brand-archive-head {
  margin-bottom: 28px;
  text-align: center;
}

.brand-archive-eyebrow,
.brand-single-eyebrow {
  margin: 0 0 4px;
  color: #e60012;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brand-archive-title {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.brand-card {
  display: block;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.brand-card-thumb {
  display: block;
  aspect-ratio: 3 / 2;
  background: #ececec;
}

.brand-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-card.is-noimage .brand-card-thumb::after {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #b5b5b5;
  font-size: 13px;
  font-weight: 700;
  content: "NO IMAGE";
}

.brand-card-title {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

/* --- 詳細（crawler ページ準拠のシングルカラム） --- */
.brand-single {
  max-width: 1000px;
  margin: 0 auto 72px;
  padding: 0 20px;
}

.brand-single-hero {
  margin: 28px 0 0;
}

.brand-single-hero img {
  width: 100%;
  height: auto;
}

.brand-single-head {
  margin: 28px 0 24px;
  text-align: center;
}

.brand-single-title {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
}

.brand-single-content {
  font-size: 16px;
  line-height: 1.9;
}

.brand-single-content p {
  margin: 0 0 20px;
}

.brand-single-content .brand-lead {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.brand-single-content .brand-lead-sub,
.brand-single-content .brand-section-lead {
  margin: 0 0 28px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

.brand-single-content h2 {
  position: relative;
  margin: 48px 0 28px;
  padding-bottom: 14px;
  font-size: 24px;
  font-weight: 800;
  text-align: center;
}

.brand-single-content h2::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 3px;
  margin: 0 auto;
  background: #e60012;
  content: "";
}

.brand-single-content ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.brand-single-content ul li {
  padding: 22px 16px;
  background: #f6f6f6;
  border-top: 3px solid #e60012;
  font-weight: 700;
  text-align: center;
}

.brand-single-content figure {
  margin: 0 0 28px;
}

.brand-single-content img {
  width: 100%;
  height: auto;
  margin: 0;
  display: block;
}

.brand-divider {
  margin: 40px 0;
  border: 0;
  border-top: 1px solid #ddd;
}

.brand-media-text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 40%);
  gap: 28px;
  align-items: center;
  margin: 0 0 28px;
}

.brand-media-text__body p {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.8;
}

.brand-media-text__body p:last-child {
  margin-bottom: 0;
}

.brand-media-text__body [lang="en"] {
  display: inline-block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

.brand-media-text__media {
  margin: 0;
}

.brand-single-content h3 {
  margin: 32px 0 14px;
  padding-left: 12px;
  border-left: 4px solid #e60012;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

.brand-single-content .brand-note {
  margin: 0 0 20px;
  color: #555;
  font-size: 13px;
  line-height: 1.7;
}

.brand-table-scroll {
  margin: 0 0 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.brand-spec-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}

.brand-spec-table th,
.brand-spec-table td {
  padding: 10px 12px;
  border: 1px solid #ddd;
  background: #fff;
  text-align: left;
  vertical-align: top;
}

.brand-spec-table thead th {
  background: #f6f6f6;
  border-top: 2px solid #e60012;
  font-weight: 800;
  white-space: nowrap;
}

.brand-spec-table td.is-num {
  text-align: right;
  white-space: nowrap;
}

.brand-single-back {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e2e2e2;
  text-align: center;
}

.brand-single-back a {
  color: #005bac;
  font-weight: 700;
}

.brand-single-back a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .brand-archive-title,
  .brand-single-title {
    font-size: 24px;
  }

  .brand-single-content .brand-lead {
    font-size: 22px;
  }

  .brand-single-content ul {
    grid-template-columns: 1fr;
  }

  .brand-media-text {
    grid-template-columns: 1fr;
  }

  .brand-media-text__media {
    order: -1;
  }
}

/* 買取（売りたい）ページ */
.sell-lead {
  font-size: 20px;
  font-weight: 800;
}

.sell-check {
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.sell-check li {
  position: relative;
  padding-left: 30px;
  line-height: 1.6;
}

.sell-check li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  top: 0;
  color: #d71920;
  font-weight: 800;
}

.sell-tel {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-top: 20px;
  padding: 18px 22px;
  background: #f7f7f7;
  border-left: 4px solid #d71920;
}

.sell-tel-label {
  font-weight: 800;
}

.sell-tel-number {
  font-family: "Oswald", sans-serif;
  font-size: 30px;
  line-height: 1;
  color: #d71920;
  letter-spacing: 0.02em;
}

.label-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.req {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 3px;
  background: #d71920;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.field-note {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 400;
  color: #666;
}

.product-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product-fields .full {
  grid-column: 1 / -1;
}

.product-fields .field-sub {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}

.product-fields input,
.product-fields textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  font: inherit;
  /* 16px未満はiOS Safariでフォーカス時に自動ズームが発生する */
  font-size: 16px;
}

@media (max-width: 640px) {
  .product-fields {
    grid-template-columns: 1fr;
  }
}
