/* ==========================================================================
   KKCis 採用サイト 共通スタイル
   ========================================================================== */

:root {
  --color-red: #E6001A;
  --color-red-dark: #C8000F;
  --color-blue: #0086B3;
  --color-olive: #6E8E1E;
  --color-gray-bg: #F2F2F2;
  --color-gray-bg-2: #F7F7F7;
  --color-gray-border: #DDDDDD;
  --color-gray-deco: #C6C6C6;
  --color-text: #333333;
  --color-text-light: #666666;
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-serif: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --content-width: 1200px;
  --header-height: 88px;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-base);
  color: var(--color-text);
  line-height: 1.8;
  background: #FFFFFF;
  overflow-x: hidden;
  word-break: break-word;
}

a {
  transition: opacity 0.2s ease, color 0.2s ease;
}
a:hover {
  opacity: 0.7;
}

.inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 100;
  background: #FFFFFF;
}

.site-header .deco-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.site-header .deco-layer::before,
.site-header .deco-layer::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.site-header .deco-layer::before {
  width: 220px;
  height: 220px;
  background: var(--color-gray-deco);
  top: -120px;
  left: -60px;
  opacity: 0.6;
}
.site-header .deco-layer::after {
  width: 160px;
  height: 160px;
  background: var(--color-olive);
  bottom: -110px;
  left: 40px;
  opacity: 0.5;
}
.site-header .deco-red {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--color-red);
  top: -90px;
  right: 60px;
  opacity: 0.85;
}
.site-header .deco-blue {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--color-blue);
  bottom: -100px;
  right: -40px;
  opacity: 0.85;
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--header-height);
}

.global-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 14px 0;
}
.global-nav li {
  position: relative;
  padding: 0 14px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}
.global-nav li::after {
  content: "|";
  position: absolute;
  right: -3px;
  color: var(--color-red);
}
.global-nav li:first-child::before {
  content: "|";
  position: absolute;
  left: -3px;
  color: var(--color-red);
}
.global-nav a {
  color: var(--color-text);
}
.global-nav li.is-current a,
.global-nav li.current-menu-item a,
.global-nav a:hover {
  color: var(--color-red);
}

.header-toggle {
  display: none;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb {
  padding: 14px 0;
  font-size: 0.8125rem;
  color: var(--color-text-light);
}
.breadcrumb .dot {
  color: var(--color-red);
}
.breadcrumb a {
  color: var(--color-text-light);
}
.breadcrumb a:hover {
  color: var(--color-red);
}

/* ==========================================================================
   Page heading
   ========================================================================== */
.page-heading {
  text-align: center;
  padding: 20px 0 40px;
}
.page-heading h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-red);
  letter-spacing: 0.08em;
}
.page-heading .sub {
  display: block;
  margin-top: 6px;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
}
.page-heading-news h1 {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.page-heading-news .sub {
  margin-top: 2px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
  color: #000000;
}
.page-heading-company h1,
.page-heading-job h1,
.page-heading-people h1,
.page-heading-charm h1,
.page-heading-recruit h1,
.page-heading-blog h1,
.page-heading-faq h1,
.page-heading-contact h1,
.page-template-page-company .page-heading h1,
.page-template-page-company-php .page-heading h1,
.page-template-page-job .page-heading h1,
.page-template-page-job-php .page-heading h1,
.page-template-page-charm .page-heading h1,
.page-template-page-charm-php .page-heading h1,
.page-template-page-recruit .page-heading h1,
.page-template-page-recruit-php .page-heading h1,
.page-template-page-faq .page-heading h1,
.page-template-page-faq-php .page-heading h1,
.page-template-page-contact .page-heading h1,
.page-template-page-contact-php .page-heading h1,
.page-template-page-privacy .page-heading h1,
.page-template-page-privacy-php .page-heading h1,
.page-template-page-sitemap .page-heading h1,
.page-template-page-sitemap-php .page-heading h1,
.post-type-archive-interview .page-heading h1,
.single-interview .page-heading h1,
.post-type-archive-blog .page-heading h1,
.single-blog .page-heading h1 {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
}
.page-heading-company .sub,
.page-heading-job .sub,
.page-heading-people .sub,
.page-heading-charm .sub,
.page-heading-recruit .sub,
.page-heading-blog .sub,
.page-heading-faq .sub,
.page-heading-contact .sub,
.page-template-page-company .page-heading .sub,
.page-template-page-company-php .page-heading .sub,
.page-template-page-job .page-heading .sub,
.page-template-page-job-php .page-heading .sub,
.page-template-page-charm .page-heading .sub,
.page-template-page-charm-php .page-heading .sub,
.page-template-page-recruit .page-heading .sub,
.page-template-page-recruit-php .page-heading .sub,
.page-template-page-faq .page-heading .sub,
.page-template-page-faq-php .page-heading .sub,
.page-template-page-contact .page-heading .sub,
.page-template-page-contact-php .page-heading .sub,
.page-template-page-privacy .page-heading .sub,
.page-template-page-privacy-php .page-heading .sub,
.page-template-page-sitemap .page-heading .sub,
.page-template-page-sitemap-php .page-heading .sub,
.post-type-archive-interview .page-heading .sub,
.single-interview .page-heading .sub,
.post-type-archive-blog .page-heading .sub,
.single-blog .page-heading .sub {
  margin-top: 4px;
  font-family: var(--font-base);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
  color: #000000;
}

/* ==========================================================================
   Tabs
   ========================================================================== */
.tab-nav {
  display: flex;
  border-bottom: 3px solid var(--color-red);
}
.tab-nav button {
  flex: 1;
  padding: 18px 10px;
  background: #FFFFFF;
  border: 1px solid var(--color-gray-border);
  border-bottom: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-blue);
}
.tab-nav button + button {
  border-left: none;
}
.tab-nav button.is-active {
  background: var(--color-gray-bg);
  color: var(--color-red);
}
.tab-panel {
  display: none;
  padding: 50px 40px;
  background: var(--color-gray-bg);
  border: 1px solid var(--color-red);
  border-top: none;
}
.tab-panel.is-active {
  display: block;
}
.tab-footer-links {
  text-align: center;
  padding: 30px 0;
  font-size: 0.9375rem;
}
.tab-footer-links a {
  padding: 0 14px;
  color: var(--color-red);
}
.tab-footer-links a.is-blue {
  color: var(--color-blue);
}
.tab-layout-company .tab-footer-links,
.tab-layout-job .tab-footer-links,
.tab-layout-people .tab-footer-links,
.tab-layout-charm .tab-footer-links,
.page-template-page-company .tab-footer-links,
.page-template-page-company-php .tab-footer-links,
.page-template-page-job .tab-footer-links,
.page-template-page-job-php .tab-footer-links,
.page-template-page-charm .tab-footer-links,
.page-template-page-charm-php .tab-footer-links,
.post-type-archive-interview .tab-footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 34px 0 30px;
}
.tab-layout-company .tab-footer-links a,
.tab-layout-job .tab-footer-links a,
.tab-layout-people .tab-footer-links a,
.tab-layout-charm .tab-footer-links a,
.page-template-page-company .tab-footer-links a,
.page-template-page-company-php .tab-footer-links a,
.page-template-page-job .tab-footer-links a,
.page-template-page-job-php .tab-footer-links a,
.page-template-page-charm .tab-footer-links a,
.page-template-page-charm-php .tab-footer-links a,
.post-type-archive-interview .tab-footer-links a {
  position: relative;
  padding: 0 22px;
  font-size: 0.875rem;
  line-height: 1;
  border-left: 1px solid var(--color-text);
}
.tab-layout-company .tab-footer-links a:last-child,
.tab-layout-job .tab-footer-links a:last-child,
.tab-layout-people .tab-footer-links a:last-child,
.tab-layout-charm .tab-footer-links a:last-child,
.page-template-page-company .tab-footer-links a:last-child,
.page-template-page-company-php .tab-footer-links a:last-child,
.page-template-page-job .tab-footer-links a:last-child,
.page-template-page-job-php .tab-footer-links a:last-child,
.page-template-page-charm .tab-footer-links a:last-child,
.page-template-page-charm-php .tab-footer-links a:last-child,
.post-type-archive-interview .tab-footer-links a:last-child {
  border-right: 1px solid var(--color-text);
}
.tab-layout-company .tab-footer-links a:nth-child(1),
.tab-layout-job .tab-footer-links a:nth-child(1),
.tab-layout-people .tab-footer-links a:nth-child(1),
.tab-layout-charm .tab-footer-links a:nth-child(1),
.page-template-page-company .tab-footer-links a:nth-child(1),
.page-template-page-company-php .tab-footer-links a:nth-child(1),
.page-template-page-job .tab-footer-links a:nth-child(1),
.page-template-page-job-php .tab-footer-links a:nth-child(1),
.page-template-page-charm .tab-footer-links a:nth-child(1),
.page-template-page-charm-php .tab-footer-links a:nth-child(1),
.post-type-archive-interview .tab-footer-links a:nth-child(1) {
  color: var(--color-red);
}
.tab-layout-company .tab-footer-links a:nth-child(2),
.tab-layout-job .tab-footer-links a:nth-child(2),
.tab-layout-people .tab-footer-links a:nth-child(2),
.tab-layout-charm .tab-footer-links a:nth-child(2),
.page-template-page-company .tab-footer-links a:nth-child(2),
.page-template-page-company-php .tab-footer-links a:nth-child(2),
.page-template-page-job .tab-footer-links a:nth-child(2),
.page-template-page-job-php .tab-footer-links a:nth-child(2),
.page-template-page-charm .tab-footer-links a:nth-child(2),
.page-template-page-charm-php .tab-footer-links a:nth-child(2),
.post-type-archive-interview .tab-footer-links a:nth-child(2) {
  color: var(--color-blue);
}
.tab-layout-company .tab-footer-links a:nth-child(3),
.tab-layout-charm .tab-footer-links a:nth-child(3),
.page-template-page-company .tab-footer-links a:nth-child(3),
.page-template-page-company-php .tab-footer-links a:nth-child(3),
.page-template-page-charm .tab-footer-links a:nth-child(3),
.page-template-page-charm-php .tab-footer-links a:nth-child(3) {
  color: var(--color-olive);
}
.tab-layout-company .tab-nav,
.tab-layout-job .tab-nav,
.tab-layout-people .tab-nav,
.tab-layout-charm .tab-nav,
.page-template-page-company .tab-nav,
.page-template-page-company-php .tab-nav,
.page-template-page-job .tab-nav,
.page-template-page-job-php .tab-nav,
.page-template-page-charm .tab-nav,
.page-template-page-charm-php .tab-nav,
.post-type-archive-interview .tab-nav {
  border-bottom: 1px solid var(--color-red);
}
.tab-layout-company .tab-nav button,
.tab-layout-job .tab-nav button,
.tab-layout-people .tab-nav button,
.tab-layout-charm .tab-nav button,
.page-template-page-company .tab-nav button,
.page-template-page-company-php .tab-nav button,
.page-template-page-job .tab-nav button,
.page-template-page-job-php .tab-nav button,
.page-template-page-charm .tab-nav button,
.page-template-page-charm-php .tab-nav button,
.post-type-archive-interview .tab-nav button {
  min-height: 66px;
  padding: 19px 10px;
  font-size: 0.9375rem;
  background: #FFFFFF;
  border: 1px solid var(--color-gray-border);
  border-bottom: none;
}
.tab-layout-company .tab-nav button + button,
.tab-layout-job .tab-nav button + button,
.tab-layout-people .tab-nav button + button,
.tab-layout-charm .tab-nav button + button,
.page-template-page-company .tab-nav button + button,
.page-template-page-company-php .tab-nav button + button,
.page-template-page-job .tab-nav button + button,
.page-template-page-job-php .tab-nav button + button,
.page-template-page-charm .tab-nav button + button,
.page-template-page-charm-php .tab-nav button + button,
.post-type-archive-interview .tab-nav button + button {
  margin-left: -1px;
  border-left: 1px solid var(--color-gray-border);
}
.tab-layout-company .tab-nav button:nth-child(1),
.tab-layout-job .tab-nav button:nth-child(1),
.tab-layout-people .tab-nav button:nth-child(1),
.tab-layout-charm .tab-nav button:nth-child(1),
.page-template-page-company .tab-nav button:nth-child(1),
.page-template-page-company-php .tab-nav button:nth-child(1),
.page-template-page-job .tab-nav button:nth-child(1),
.page-template-page-job-php .tab-nav button:nth-child(1),
.page-template-page-charm .tab-nav button:nth-child(1),
.page-template-page-charm-php .tab-nav button:nth-child(1),
.post-type-archive-interview .tab-nav button:nth-child(1) {
  color: var(--color-red);
}
.tab-layout-company .tab-nav button:nth-child(2),
.tab-layout-job .tab-nav button:nth-child(2),
.tab-layout-people .tab-nav button:nth-child(2),
.tab-layout-charm .tab-nav button:nth-child(2),
.page-template-page-company .tab-nav button:nth-child(2),
.page-template-page-company-php .tab-nav button:nth-child(2),
.page-template-page-job .tab-nav button:nth-child(2),
.page-template-page-job-php .tab-nav button:nth-child(2),
.page-template-page-charm .tab-nav button:nth-child(2),
.page-template-page-charm-php .tab-nav button:nth-child(2),
.post-type-archive-interview .tab-nav button:nth-child(2) {
  color: var(--color-blue);
}
.tab-layout-company .tab-nav button:nth-child(3),
.tab-layout-charm .tab-nav button:nth-child(3),
.page-template-page-company .tab-nav button:nth-child(3),
.page-template-page-company-php .tab-nav button:nth-child(3),
.page-template-page-charm .tab-nav button:nth-child(3),
.page-template-page-charm-php .tab-nav button:nth-child(3) {
  color: var(--color-olive);
}
.tab-layout-company .tab-nav button.is-active,
.tab-layout-job .tab-nav button.is-active,
.tab-layout-people .tab-nav button.is-active,
.tab-layout-charm .tab-nav button.is-active,
.page-template-page-company .tab-nav button.is-active,
.page-template-page-company-php .tab-nav button.is-active,
.page-template-page-job .tab-nav button.is-active,
.page-template-page-job-php .tab-nav button.is-active,
.page-template-page-charm .tab-nav button.is-active,
.page-template-page-charm-php .tab-nav button.is-active,
.post-type-archive-interview .tab-nav button.is-active {
  position: relative;
  z-index: 2;
  margin-bottom: -1px;
  background: var(--color-gray-bg);
  border-color: var(--color-red);
  border-bottom-color: var(--color-gray-bg);
}
.tab-layout-company .tab-panel,
.tab-layout-job .tab-panel,
.tab-layout-people .tab-panel,
.tab-layout-charm .tab-panel,
.page-template-page-company .tab-panel,
.page-template-page-company-php .tab-panel,
.page-template-page-job .tab-panel,
.page-template-page-job-php .tab-panel,
.page-template-page-charm .tab-panel,
.page-template-page-charm-php .tab-panel,
.post-type-archive-interview .tab-panel {
  padding: 72px 78px 78px;
  border-top: none;
}
.tab-layout-company .section-block-title,
.tab-layout-job .section-block-title,
.tab-layout-people .section-block-title,
.tab-layout-charm .section-block-title,
.page-template-page-company .section-block-title,
.page-template-page-company-php .section-block-title,
.page-template-page-job .section-block-title,
.page-template-page-job-php .section-block-title,
.page-template-page-charm .section-block-title,
.page-template-page-charm-php .section-block-title,
.post-type-archive-interview .section-block-title {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 56px;
  white-space: nowrap;
}
.tab-layout-company .section-block-title .lead,
.tab-layout-job .section-block-title .lead,
.tab-layout-people .section-block-title .lead,
.tab-layout-charm .section-block-title .lead,
.page-template-page-company .section-block-title .lead,
.page-template-page-company-php .section-block-title .lead,
.page-template-page-job .section-block-title .lead,
.page-template-page-job-php .section-block-title .lead,
.page-template-page-charm .section-block-title .lead,
.page-template-page-charm-php .section-block-title .lead,
.post-type-archive-interview .section-block-title .lead {
  margin-left: 0;
  white-space: normal;
}
.president-message-layout {
  align-items: flex-start;
  gap: 64px;
}
.president-message-text {
  flex: 1 1 auto;
  min-width: 0;
}
.president-photo-block {
  flex: 0 0 220px;
  margin: 0;
}
.president-photo-block img {
  display: block;
  width: 220px;
  height: 260px;
  object-fit: cover;
}
.president-photo-block figcaption {
  margin-top: 18px;
  font-size: 0.8125rem;
  line-height: 1.85;
  color: var(--color-text);
}

.section-block-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  padding-bottom: 16px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--color-red);
}
.section-block-title .lead {
  color: var(--color-red);
  font-weight: 700;
  margin-left: 8px;
}

/* 仕事を知る - 「KKCは身近なところに（事業内容）」見出しのフォントサイズを2pt程度縮小 */
.tab-layout-job .section-block-title {
  margin-bottom: 44px;
  font-size: 1.125rem;
}

/* ==========================================================================
   KKCの魅力 - キャリアアップ・研修制度／様々な支援制度
   デザインカンプ（reference/追加デザイン260912/暫定追加デザイン）に基づく
   固定ハードコード。#career は青系、#support は緑系のトーンを使用する。
   ========================================================================== */
:root {
  --charm-blue-tint: #CBE3EF;
  --charm-blue-tint-2: #C7D3DA;
  --charm-gray-tint: #E4E4E4;
  --charm-olive-tint: #DEE5C9;
  --charm-olive-tint-2: #C9D8AE;
}

.charm-heading {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--color-red);
  color: var(--color-red);
}
#career .charm-heading { color: var(--color-blue); border-bottom-color: var(--color-blue); }
#support .charm-heading { color: var(--color-olive); border-bottom-color: var(--color-olive); }
#career.tab-panel { border-color: var(--color-blue); }
#support.tab-panel { border-color: var(--color-olive); }

/* タブ切り替え時、選択中タブに合わせて外枠線の色も変える（数字＝赤／キャリアアップ＝青／支援制度＝緑） */
.tab-layout-charm .tab-nav[data-active-tab="career"] {
  border-bottom-color: var(--color-blue);
}
.tab-layout-charm .tab-nav[data-active-tab="support"] {
  border-bottom-color: var(--color-olive);
}
.tab-layout-charm .tab-nav button.is-active[data-tab="career"] {
  border-color: var(--color-blue);
  border-bottom-color: var(--color-gray-bg);
}
.tab-layout-charm .tab-nav button.is-active[data-tab="support"] {
  border-color: var(--color-olive);
  border-bottom-color: var(--color-gray-bg);
}
@media (max-width: 900px) {
  .tab-layout-charm .tab-nav button.is-active[data-tab="career"] {
    border-color: var(--color-blue);
  }
  .tab-layout-charm .tab-nav button.is-active[data-tab="support"] {
    border-color: var(--color-olive);
  }
  .tab-layout-charm .tab-nav button[data-tab="support"]:last-child {
    border-bottom-color: var(--color-olive);
  }
}

.charm-intro {
  text-align: center;
  margin-bottom: 60px;
}
.charm-intro-en {
  font-family: var(--font-base);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
  color: #000000;
  margin-bottom: 40px;
}
.charm-intro-catch {
  font-size: 2.3rem;
  font-weight: 300;
  margin-bottom: 14px;
}
#career .charm-intro-catch { color: var(--color-blue); }
#support .charm-intro-catch { color: var(--color-olive); }
.charm-intro-catch2 {
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text);
}
.charm-intro-catch2 .accent {
  color: var(--color-red);
  font-weight: 300;
}
.charm-intro-lead {
  font-size: 0.875rem;
  line-height: 2.1;
  color: var(--color-text);
}

.charm-contents {
  padding: 44px 40px;
  margin-bottom: 80px;
  text-align: center;
}
#career .charm-contents { background: var(--charm-blue-tint); }
#support .charm-contents { background: var(--charm-olive-tint); }
.charm-contents-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
  margin-bottom: 4px;
}
.charm-contents-title {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 10px;
}
#career .charm-contents-title { color: var(--color-blue); }
#support .charm-contents-title { color: var(--color-olive); }
.charm-contents-note {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-bottom: 28px;
}
.charm-contents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: left;
}
.charm-contents-item {
  display: block;
  position: relative;
  aspect-ratio: 227 / 236;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 22px 18px 18px;
  box-sizing: border-box;
  color: #FFFFFF;
  text-decoration: none;
}
.charm-contents-item-title {
  display: block;
  margin-left: 37%;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  height: 46px;
  overflow: hidden;
}
.charm-contents-item ul {
  position: absolute;
  left: 43%;
  right: 18px;
  top: 41.5%;
  font-size: 0.75rem;
  line-height: 1.9;
}

.charm-section-head {
  text-align: center;
  margin-bottom: 24px;
}
.charm-section-num {
  display: block;
  height: 44px;
  width: auto;
  margin: 0 auto 2px;
}
.charm-section-en {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-text-light);
  margin-bottom: 8px;
}
.charm-section-title {
  font-size: 2.3rem;
  font-weight: 300;
  margin-bottom: 6px;
}
#career .charm-section-title { color: var(--color-blue); }
#support .charm-section-title { color: var(--color-olive); }
.charm-section-note {
  font-size: 0.8125rem;
  line-height: 1.9;
  color: var(--color-text-light);
  text-align: center;
}

.charm-cards {
  display: grid;
  gap: 14px;
  margin-bottom: 80px;
}
.charm-cards-cols-3 { grid-template-columns: repeat(3, 1fr); }
.charm-cards-cols-4 { grid-template-columns: repeat(4, 1fr); }
.charm-card {
  padding: 20px 18px;
}
.charm-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.charm-card p {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--color-text);
}
#career .charm-card.tone-accent { background: var(--charm-blue-tint); }
#career .charm-card h5 { color: var(--color-blue); }
#support .charm-card.tone-accent { background: var(--charm-olive-tint); }
#support .charm-card h5 { color: var(--color-olive); }
.charm-card.tone-white { background: #FFFFFF; }
.charm-card.tone-gray { background: var(--charm-gray-tint); }

.charm-group {
  display: flex;
  align-items: stretch;
  margin-bottom: 2px;
}
.charm-group-label {
  flex: 0 0 227px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  padding: 20px;
  box-sizing: border-box;
}
#support .charm-group-label { background: var(--charm-olive-tint-2); color: var(--color-olive); }
.charm-group-cards {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-left: 2px;
}
.charm-group-card {
  background: #FFFFFF;
  padding: 20px 22px;
}
.charm-group-card h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 8px;
}
#support .charm-group-card h5 { color: var(--color-olive); }
.charm-group-card p {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--color-text);
}
.charm-group + .charm-section-head { margin-top: 80px; }

.charm-steps {
  margin-bottom: 70px;
}
.charm-step {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 12px 30px;
  margin-bottom: 8px;
}
.charm-step-label {
  flex: 0 0 auto;
  height: 26px;
  width: auto;
}
.charm-step-title {
  flex: 0 0 220px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-blue);
}
.charm-step-desc {
  flex: 1 1 auto;
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--color-text);
}
.charm-step.tone-accent { background: var(--charm-blue-tint); }
.charm-step.tone-white { background: #FFFFFF; }
.charm-step.tone-gray { background: var(--charm-blue-tint-2); }

.charm-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 10px 0 30px;
}
.charm-flow-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-blue);
  padding: 10px;
  box-sizing: border-box;
}
.charm-flow-circle.tone-accent { background: var(--charm-blue-tint); }
.charm-flow-circle.tone-gray { background: var(--charm-blue-tint-2); }
.charm-flow-arrow {
  width: 44px;
  height: 8px;
  border-radius: 4px;
  background: var(--color-blue);
  margin: 0 6px;
}

.charm-letter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.charm-letter-card {
  background-repeat: no-repeat;
  background-size: 100% 100%;
  aspect-ratio: 460 / 140;
  padding: 18px 24px 18px 26%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.charm-letter-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 8px;
}
.charm-letter-card p {
  font-size: 0.8125rem;
  line-height: 1.75;
  color: var(--color-text);
}

.charm-data-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.charm-data-card {
  margin: 0;
  background: var(--color-gray-bg);
}
.charm-data-card img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .charm-contents-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .charm-cards-cols-3,
  .charm-cards-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .charm-group {
    flex-direction: column;
  }
  .charm-group-label {
    flex-basis: auto;
  }
  .charm-group-cards {
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-top: 2px;
  }
  .charm-step {
    flex-wrap: wrap;
    gap: 6px 26px;
  }
  .charm-step-title {
    flex-basis: 100%;
  }
  .charm-letter-grid {
    grid-template-columns: 1fr;
  }
  .charm-data-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .charm-flow {
    flex-direction: column;
  }
  .charm-flow-arrow {
    width: 8px;
    height: 30px;
    margin: 4px 0;
  }
}

@media (max-width: 480px) {
  .charm-contents-grid {
    grid-template-columns: 1fr;
  }
  .charm-contents-item {
    aspect-ratio: auto;
    min-height: 180px;
  }
  .charm-cards-cols-3,
  .charm-cards-cols-4 {
    grid-template-columns: 1fr;
  }
  .charm-letter-card {
    aspect-ratio: auto;
    padding: 20px 22px 20px 22px;
  }
  .charm-letter-card h5 { margin-top: 34px; }
  .charm-data-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: 60px;
  background: #FFFFFF;
}
.footer-wave {
  display: block;
  width: 100%;
  height: clamp(88px, 9vw, 128px);
  line-height: 0;
  background: #FFFFFF url("../img/common/footer_bk.png") center top / cover no-repeat;
}
.footer-wave svg {
  display: none;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 24px 20px 6px;
  font-size: 0.8125rem;
  background: #FFFFFF;
}
.footer-nav li {
  position: relative;
  padding: 0 10px;
  white-space: nowrap;
}
.footer-nav li::after {
  content: "|";
  position: absolute;
  right: -3px;
  color: var(--color-red);
}
.footer-nav li:first-child::before {
  content: "|";
  position: absolute;
  left: -3px;
  color: var(--color-red);
}
.footer-nav a {
  color: var(--color-text);
}
.footer-nav li.is-current a,
.footer-nav li.current-menu-item a,
.footer-nav a:hover {
  color: var(--color-red);
}
.footer-official {
  text-align: center;
  padding-bottom: 20px;
  font-size: 0.8125rem;
  background: #FFFFFF;
}
.footer-official::before,
.footer-official::after {
  content: "|";
  color: var(--color-red);
  padding: 0 10px;
}
.footer-official a {
  color: var(--color-red);
}
.footer-marks {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px 0 30px;
  background: #FFFFFF;
}
.footer-marks img {
  height: 60px;
  width: auto;
}
.footer-brand {
  position: relative;
  margin-top: -54px;
  text-align: center;
  padding-bottom: 40px;
}
.footer-brand img {
  height: 46px;
  width: auto;
  margin-bottom: 14px;
}
.footer-address {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}
.footer-copyright {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 10px;
}

/* ==========================================================================
   Utility
   ========================================================================== */
.main-content {
  padding-bottom: 60px;
}
.text-red { color: var(--color-red); }
.text-blue { color: var(--color-blue); }
.placeholder-note {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 10px;
  font-size: 0.6875rem;
  color: #FFFFFF;
  background: var(--color-text-light);
  border-radius: 3px;
}
figure.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gray-bg);
  border: 1px dashed var(--color-gray-border);
  color: var(--color-text-light);
  font-size: 0.8125rem;
  text-align: center;
  min-height: 140px;
}

/* ==========================================================================
   HOME - Hero（01HOME03.png / 1600 x 886、hero.md の支給PNGを原形で配置）
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 1600 / 886;
  overflow: hidden;
  background: #fff;
  isolation: isolate;
}
.hero-stage { position: absolute; inset: 0; }
.hero-piece {
  position: absolute;
  display: block;
  height: auto;
  margin: 0;
  --hero-x: 0px;
  --hero-y: 0px;
  --hero-delay: 0s;
  --hero-duration: 1.5s;
}
.hero-piece img { display: block; width: 100%; height: auto; }
.hero-logo {
  left: 42.34375%; top: 28.555305%; width: 15.3125%;
  z-index: 2; --hero-delay: .5s; --hero-duration: 5s; --hero-y: -5px;
}
.hero-recruiting {
  left: 42.0625%; top: 67.72009%; width: 16.125%;
  z-index: 2; --hero-delay: 1.2s; --hero-duration: 3s; --hero-y: -5px;
}
.hero-enter {
  left: 47.5%; top: 83.747178%; width: 5%; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  z-index: 3; --hero-delay: 1.7s; --hero-duration: 3s; --hero-y: -5px;
  transition: filter .2s ease;
}
.hero-enter:hover { filter: opacity(.65); }
.hero-enter:focus-visible { outline: 2px solid var(--color-red); outline-offset: 4px; }
.hero-bg2 { left: -.375%; top: -15.575621%; width: 31.3125%; --hero-delay: 2.5s; }
.hero-bg3 { left: 66.5625%; top: -32.957111%; width: 33.8125%; --hero-delay: 3s; }
.hero-bg4 { left: -16%; top: 23.476298%; width: 45%; --hero-delay: 3.5s; }
.hero-bg5 { left: 72.25%; top: 19.977427%; width: 42.625%; --hero-delay: 3.5s; }
.hero-staff6 { left: -4.8125%; top: -13.092551%; width: 16.3125%; z-index: 1; --hero-delay: 4s; }
.hero-staff7 { left: 88.6875%; top: -8.916479%; width: 18.3125%; z-index: 1; --hero-delay: 4s; }
.hero-staff8 { left: 9.5625%; top: 19.638826%; width: 23.9375%; z-index: 1; --hero-delay: 4.5s; }
.hero-staff9 { left: 66.8125%; top: 37.358916%; width: 25%; z-index: 1; --hero-delay: 4.5s; }
.hero-staff10 { left: 3.0625%; top: 72.009029%; width: 13.25%; z-index: 1; --hero-delay: 4s; }
.hero-staff11 { left: 85.9375%; top: 70.654628%; width: 11.625%; z-index: 1; --hero-delay: 4s; }

/* JSが使える場合だけ画像の読み込みを待つ。無効時・読み込み失敗時は静止表示。 */
.has-hero-js .hero:not(.is-ready) .hero-piece { visibility: hidden; }
.hero.is-ready .hero-piece {
  animation: hero-reveal var(--hero-duration) ease var(--hero-delay) both;
}
@keyframes hero-reveal {
  from { opacity: 0; visibility: hidden; transform: translate3d(var(--hero-x), var(--hero-y), 0); }
  to { opacity: 1; visibility: visible; transform: translate3d(0, 0, 0); }
}
/* キーボード操作でenterに移った場合は待ち時間を省く。 */
.hero.is-ready .hero-enter:focus-visible { animation: none; }

/* HOMEのヘッダーはカンプと同じくHEROの上に重ねる。 */
body.is-home .site-header { position: absolute; top: 0; left: 0; right: 0; background: transparent; }
body.is-home .site-header .deco-layer { display: none; }

/* ==========================================================================
   HOME - Catch copy
   ========================================================================== */
.catch {
  text-align: center;
  padding: 10px 0 50px;
}
.catch-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--color-red);
  margin-bottom: 24px;
}
.catch-lead {
  font-size: 0.9375rem;
  line-height: 2.1;
  color: var(--color-text);
}

/* ==========================================================================
   HOME - Numbers
   ========================================================================== */
.numbers {
  padding-bottom: 50px;
}
.numbers-title {
  font-family: var(--font-serif);
  text-align: center;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-red);
  letter-spacing: 0.15em;
  margin-bottom: 34px;
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
body.is-home .numbers-grid .number-card {
  display: none;
}
.number-image-card {
  margin: 0;
  background: var(--color-gray-bg);
}
.number-image-card img {
  display: block;
  width: 100%;
  height: auto;
}
.number-card {
  background: var(--color-gray-bg);
  padding: 26px 18px;
  text-align: center;
}
.number-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.number-card .card-note {
  font-size: 0.75rem;
  color: var(--color-text-light);
}
.number-icon {
  margin: 14px auto;
  width: 70px;
  height: 70px;
}
.number-card .number-context {
  font-size: 0.8125rem;
  margin-top: 10px;
}
.number-value {
  margin-top: 6px;
}
.number-value .big {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--color-red);
  line-height: 1;
}
.number-value .unit {
  font-size: 0.9rem;
  margin-left: 2px;
}
.number-detail {
  font-size: 0.8125rem;
  margin-top: 6px;
  color: var(--color-text);
}

/* ピクトグラム・円グラフ（アイコン共通） */
.pict-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
}
.pict-person {
  width: 20px;
  height: 60px;
  fill: var(--color-gray-deco);
}
.pict-person.is-accent { fill: var(--color-red); }
.pict-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px 6px;
  width: 90px;
  margin: 0 auto;
}
.pict-grid .pict-person {
  width: 100%;
  height: 30px;
}
.pict-building {
  width: 60px;
  height: 60px;
  fill: var(--color-red);
}
.pie-chart {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  margin: 0 auto;
}

/* ==========================================================================
   HOME - Banners & News
   ========================================================================== */
.home-panels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding-bottom: 20px;
}
.banner {
  position: relative;
  display: block;
  aspect-ratio: 585 / 235;
  overflow: hidden;
  color: #FFFFFF;
}
.banner-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.banner-text .ja {
  font-size: 1.375rem;
  font-weight: 700;
}
.banner-text .en {
  font-size: 0.9375rem;
  letter-spacing: 0.1em;
}
.banner-photo {
  width: 44%;
  object-fit: cover;
  height: 100%;
}
.banner-red { background: var(--color-red); }
.banner-blue { background: var(--color-blue); }
.banner-olive { background: var(--color-olive); }

.home-news {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: transparent;
  padding: 0;
}
.home-news-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 30px;
  background: #BFBFBF;
  color: #FFFFFF;
  padding: 4px 14px 4px 22px;
  font-weight: 700;
}
.home-news-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--color-red);
}
.home-news-head span {
  flex: 1;
  text-align: center;
}
.home-news-head a {
  position: absolute;
  right: 12px;
  display: inline-flex;
  align-items: center;
  color: #FFFFFF;
  font-size: 0.8125rem;
  font-weight: 400;
}
.home-news-head a::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 8px;
  margin-right: 8px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%208%22%3E%3Cpath%20d%3D%22M0%205H23M18%202L23%205%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221%22%20stroke-linecap%3D%22butt%22%20stroke-linejoin%3D%22miter%22/%3E%3C/svg%3E") center / contain no-repeat;
}
.home-news ul {
  flex: 1;
  padding: 8px 0 0;
  background: transparent;
}
.home-news li {
  padding: 5px 0;
  font-size: 0.8125rem;
  line-height: 1.62;
  border-bottom: 1px dashed var(--color-gray-border);
}
.home-news li:last-child { border-bottom: none; }
.home-news li a {
  display: flex;
  gap: 14px;
  color: inherit;
}
.home-news .date {
  color: var(--color-red);
  flex-shrink: 0;
}

/* ==========================================================================
   List box（お知らせ／スタッフBLOG 一覧）
   ========================================================================== */
.list-box {
  border: 1px solid var(--color-gray-border);
  background: var(--color-gray-bg);
  padding: 40px;
}
.list-box-news {
  border-color: var(--color-red);
}
.list-box-blog {
  border-color: var(--color-red);
}
.list-box ul li {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--color-gray-border);
  font-size: 0.9375rem;
}
.list-box ul li:last-child { border-bottom: none; }
.list-box a.list-link {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  width: 100%;
  color: var(--color-text);
}
.list-box .date {
  color: var(--color-red);
  flex-shrink: 0;
  width: 130px;
  font-weight: 700;
}

/* ==========================================================================
   Detail box（お知らせ／スタッフBLOG／社員インタビュー 詳細）
   ========================================================================== */
.detail-box {
  border: 1px solid var(--color-gray-border);
  background: var(--color-gray-bg);
  padding: 50px 40px;
}
.detail-box-news {
  border-color: var(--color-red);
}
.detail-box-recruit {
  border-color: var(--color-red);
}
.detail-box-recruit .info-table {
  line-height: 2;
}
.detail-box-recruit .info-table th,
.detail-box-recruit .info-table td {
  border-bottom: none;
  padding-top: 0;
  padding-bottom: 0;
}
/* ラベル列はデザインカンプに合わせて内容幅にフィット（width:1% トリック） */
.detail-box-recruit .info-table th {
  width: 1%;
  padding-right: 24px;
}
.detail-box-blog,
.detail-box-faq,
.detail-box-contact {
  border-color: var(--color-red);
}
.detail-box-people {
  text-align: center;
}
.detail-box-people .placeholder-note {
  font-size: 0.9375rem;
  padding: 8px 20px;
}
.detail-date {
  color: var(--color-red);
  font-weight: 700;
  font-size: 0.9375rem;
}
.detail-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 10px 0 26px;
}
.detail-body p {
  margin-bottom: 1.2em;
}
.detail-body strong {
  color: var(--color-red);
}
.detail-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
  font-size: 0.9375rem;
}
.detail-pager a, .detail-pager span {
  min-width: 54px;
  padding: 0 14px;
  color: var(--color-red);
  line-height: 1;
  text-align: center;
  border-left: 1px solid var(--color-text);
}
.detail-pager a:last-child,
.detail-pager span:last-child {
  border-right: 1px solid var(--color-text);
}
.detail-pager span.is-disabled {
  color: var(--color-red);
}

/* ==========================================================================
   ページャー（お知らせ／スタッフBLOG 一覧、the_posts_pagination()）
   ========================================================================== */
.pagination {
  padding: 30px 0;
}
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  color: var(--color-red);
  border: 1px solid var(--color-gray-border);
}
.pagination .page-numbers.current {
  color: #FFFFFF;
  background: var(--color-red);
  border-color: var(--color-red);
}
.pagination .page-numbers.dots {
  border: none;
}

/* ==========================================================================
   会社概要テーブル
   ========================================================================== */
.info-table {
  width: 100%;
  font-size: 0.9375rem;
  margin-bottom: 40px;
}
.info-table th,
.info-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--color-gray-border);
  vertical-align: top;
}
.info-table th {
  width: 160px;
  font-weight: 700;
  white-space: nowrap;
}
.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-bottom: 30px;
  font-size: 0.875rem;
}
.jump-nav a {
  color: var(--color-red);
}
.sub-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-red);
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-red);
}
.plain-text p {
  margin-bottom: 1em;
  font-size: 0.9375rem;
}
.plain-text ul {
  margin: 0 0 1em 1.4em;
  font-size: 0.9375rem;
}
.plain-text ul li {
  list-style: disc;
  margin-bottom: 0.3em;
}

.company-info-content {
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--color-text);
}
.company-info-jump {
  justify-content: flex-start;
  gap: 0;
  padding-bottom: 46px;
}
.company-info-jump a {
  display: inline-block;
  padding: 0 18px;
  color: var(--color-red);
  line-height: 1;
  border-left: 1px solid var(--color-red);
}
.company-info-jump a:last-child {
  border-right: 1px solid var(--color-red);
}
.company-info-section {
  margin-top: 70px;
}
.company-info-section:first-of-type {
  margin-top: 0;
}
.company-info-heading {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin: 0 0 36px;
  padding-bottom: 15px;
  font-size: 1.0625rem;
  line-height: 1.4;
  border-bottom: 1px solid var(--color-red);
}
.company-info-heading span {
  color: var(--color-text);
  font-weight: 700;
}
.company-info-heading em {
  color: var(--color-olive);
  font-style: normal;
  font-weight: 700;
}
.company-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.96fr);
  gap: 70px;
}
.company-info-rows {
  display: grid;
  gap: 22px;
}
.company-info-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 26px;
}
.company-info-row--spaced {
  padding-bottom: 12px;
}
.company-info-label,
.company-side h3,
.company-policy-block h3,
.company-license-block h3,
.company-route dt {
  font-weight: 700;
}
.company-info-list,
.company-policy-list,
.company-license-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.company-info-list li,
.company-policy-list li,
.company-license-grid li {
  margin-bottom: 0.2em;
}
.company-info-list li.li--spaced {
  margin-top: 1.5em;
}
.company-side-block + .company-side-block {
  margin-top: 32px;
}
.company-side-block p,
.company-policy-block p,
.company-license-block p {
  margin-bottom: 1.15em;
}
.company-policy-block h3,
.company-license-block h3 {
  margin: 0 0 0.8em;
}
.company-policy-block h3:not(:first-child),
.company-license-block h3:not(:first-child) {
  margin-top: 2em;
}
.company-policy-catch,
.company-license-lead,
.company-cert-count {
  font-weight: 700;
}
.company-policy-philosophy {
  text-align: center;
}
.company-note {
  color: var(--color-text-light);
  font-size: 0.8125rem;
}
.company-license-group {
  overflow: hidden;
}
.company-license-logo {
  float: right;
  width: 110px;
  height: auto;
  margin: 0 0 16px 24px;
}
.company-license-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  margin-top: 22px;
}
.company-license-grid h3 {
  margin-top: 0 !important;
  font-size: 0.9375rem;
}
.company-access-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}
.company-access-map {
  margin: 0;
}
.company-access-map img {
  display: block;
  width: 100%;
  height: auto;
}
.company-route-list {
  display: grid;
  gap: 20px;
  margin: 0;
}
.company-route {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 22px;
}
.company-route dd {
  margin: 0;
}

/* ==========================================================================
   人物インタビューカード
   ========================================================================== */
.people-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.people-card {
  display: flex;
  gap: 18px;
}
.people-card img {
  width: 140px;
  height: 175px;
  object-fit: cover;
  flex-shrink: 0;
}
.people-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.people-card p {
  font-size: 0.8125rem;
  line-height: 1.7;
}
.people-card .more-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--color-red);
  font-size: 0.8125rem;
}

/* インタビュー詳細（Q&A） */
.qa-block {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}
.qa-block > img {
  width: 220px;
  height: 260px;
  object-fit: cover;
  flex-shrink: 0;
}
.qa-list dt {
  font-weight: 700;
  color: var(--color-red);
  margin-top: 14px;
}
.qa-list dt:first-child { margin-top: 0; }
.qa-list dd {
  margin: 4px 0 0;
  font-size: 0.9375rem;
}

/* ==========================================================================
   アコーディオン（職種紹介／FAQ）
   ========================================================================== */
.accordion-item {
  border-bottom: 1px solid var(--color-red);
  padding: 20px 0;
}
.accordion-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}
.accordion-head .label {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-right: 10px;
}
.accordion-head h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  flex: 1;
}
.accordion-head .interview-link {
  font-size: 0.8125rem;
  color: var(--color-red);
  white-space: nowrap;
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 0.9375rem;
  line-height: 1.9;
}
.accordion-item.is-open-default .accordion-body {
  max-height: 1000px;
}
.accordion-body-inner {
  padding-top: 14px;
}
.accordion-trigger {
  display: block;
  width: 100%;
  text-align: right;
  margin-top: 10px;
  color: var(--color-red);
  font-size: 0.8125rem;
}
.accordion-item.is-open .accordion-trigger .close-label { display: inline; }
.accordion-item.is-open .accordion-trigger .open-label { display: none; }
.accordion-trigger .close-label { display: none; }

.faq-category {
  margin-bottom: 20px;
}
.faq-category h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-red);
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--color-red);
}

/* ==========================================================================
   事業内容グリッド（仕事を知る）
   デザインカンプ準拠。薄グレーのタブパネル上に白いカードを並べ、
   導入（市町村）＋住民情報／福祉／税 は 1 枚の白カード内を縦罫線で 3 分割する。
   ========================================================================== */

/* 導入（市町村）＋住民情報／福祉／税 を内包する白カード */
.biz-hero {
  background: #FFFFFF;
  padding: 40px 34px 34px;
  margin-bottom: 20px;
}
.biz-hero-top {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 36px;
}
.biz-hero-left {
  flex: 0 0 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}
.biz-hero-icon {
  height: 96px;
  width: auto;
  display: block;
}
.biz-hero-label {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-red);
  margin: 0;
}
.biz-hero-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.875rem;
  line-height: 1.95;
  margin: 0;
}
.biz-hero-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.biz-hero-col {
  padding: 0 34px;
}
.biz-hero-col:first-child {
  padding-left: 0;
}
.biz-hero-col:last-child {
  padding-right: 0;
}
.biz-hero-col + .biz-hero-col {
  border-left: 1px solid var(--color-gray-deco);
}
.biz-hero-col-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-red);
  letter-spacing: 0.2em;
  margin: 0 0 16px;
}
.biz-hero-col-text {
  font-size: 0.8125rem;
  line-height: 1.95;
  margin: 0;
}

/* カード表示する 6 業種（タイトル → アイコン → 本文の順） */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.biz-card {
  background: #FFFFFF;
  padding: 28px 34px 34px;
  text-align: center;
}
.biz-card-title {
  color: var(--color-red);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin: 0 0 24px;
}
.biz-card-icon {
  height: 72px;
  width: auto;
  display: block;
  margin: 0 auto 24px;
}
.biz-card-text {
  font-size: 0.8125rem;
  text-align: left;
  line-height: 1.95;
  margin: 0;
}

/* ==========================================================================
   募集要項
   ========================================================================== */
.recruit-flex {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.recruit-flex .info-table {
  flex: 1;
  min-width: 260px;
  margin-bottom: 0;
}
.recruit-side {
  flex-shrink: 0;
}
.recruit-badge-group {
  margin-bottom: 20px;
}
.recruit-badge-group:last-child {
  margin-bottom: 0;
}
/* ロゴ＋注記（左）とQRコード（右）を上端そろえで横並び（デザインカンプ準拠） */
.recruit-badge {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.recruit-badge-logo a,
.recruit-badge-qr {
  display: block;
  text-decoration: none;
}
.recruit-badge-qr {
  flex-shrink: 0;
}
.recruit-side img.mynavi { width: 195px; display: block; }
.recruit-side img.qr { width: 123px; display: block; }
.recruit-side .recruit-badge-logo p {
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--color-text-light);
  text-align: left;
}

.flow-list {
  counter-reset: flow;
}
.flow-step {
  background: #FFFFFF;
  text-align: center;
  padding: 20px;
  font-weight: 700;
  font-size: 1.0625rem;
}
.flow-step--highlight {
  color: var(--color-red);
}
.flow-arrow {
  display: flex;
  justify-content: center;
  padding: 6px 0;
}
.flow-arrow::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 14px solid var(--color-text);
}
.flow-arrow--accent::after {
  border-top-color: var(--color-red);
}
.flow-final {
  background: #FFFFFF;
  text-align: center;
  padding: 18px 20px;
  font-size: 0.875rem;
}
.flow-final .big-text {
  display: block;
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--color-red);
  margin-bottom: 6px;
}

/* ==========================================================================
   お問い合わせフォーム（外部メールフォーム espar / ESPF）
   見た目はコーポレートサイト（https://www.kkcis.kyoto/contact/）の
   contact.css（#mailform / .formTbl / .btn-box）に合わせている
   ========================================================================== */
.alc {
  text-align: center;
}
.contact-lead {
  text-align: center;
  margin-bottom: 30px;
}
.contact-form {
  max-width: 900px;
  margin: 0 auto;
}
/* フォーム冒頭の注意書き（コーポレートサイトと同じく中央寄せ） */
.contact-form-lead {
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.9;
  margin: 0;
}
/* 必須マークは赤いアスタリスク（コーポレートサイトと同じ） */
.required {
  color: #D80000;
}

/* 入力欄エリア：上下の細い罫線で挟む */
.contact-mailform {
  text-align: center;
  margin: 2em 0;
  padding: 1.5em 0;
  border-top: 1px solid var(--color-gray-border);
  border-bottom: 1px solid var(--color-gray-border);
}
.contact-form-table {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
  color: #555555;
  font-size: 1rem;
  line-height: 1.8;
}
.contact-form-table th {
  width: 30%;
  padding: 15px 15px 15px 0;
  text-align: right;
  font-weight: normal;
  vertical-align: middle;
  border: none;
  background: none;
}
.contact-form-table th.va-top {
  vertical-align: top;
}
.contact-form-table td {
  width: 70%;
  padding: 15px 0 15px 15px;
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
  border: none;
}
.contact-form-table input[type="text"],
.contact-form-table textarea {
  width: 500px;
  max-width: 100%;
  padding: 0.7em;
  border: 1px solid var(--color-gray-border);
  background: #FFFFFF;
  color: #555555;
  font-size: 0.9375rem;
  font-family: var(--font-base);
  box-sizing: border-box;
}
.contact-form-table textarea {
  resize: vertical;
  vertical-align: top;
}
.contact-form-table select {
  height: 40px;
  background: #FFFFFF;
  color: #555555;
  font-size: 0.9375rem;
  font-family: var(--font-base);
}
.contact-form-table input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  margin-right: 0.7em;
  margin-top: -1px;
  vertical-align: middle;
  cursor: pointer;
}
.contact-form-table td > label {
  cursor: pointer;
}

/* ESPF のエラーメッセージ。表示/非表示は form.js（jQuery の show/hide）が
   インラインスタイルで制御するため、初期表示のちらつき防止のみ CSS で行う */
.contact-form-error {
  display: none;
  color: #D80000;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 2.0;
}
/* ESPF のシステムメッセージも初期は非表示 */
.espf-m-token-expire,
.espf-m-token-error,
.espf-m-mail-error,
.espf-m-success,
.espf-m-failure {
  display: none;
  margin: 0 0 20px;
  font-size: 0.9375rem;
  line-height: 1.8;
}
.espf-m-success {
  color: #1F7A2E;
}
.espf-m-failure,
.espf-m-token-expire,
.espf-m-token-error,
.espf-m-mail-error {
  color: #D80000;
}

/* ボタン */
.contact-btn-box {
  margin: 3em 0 0;
}
.contact-btn-box ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-btn-box li {
  display: contents;
}
.espf-b-back,
.espf-b-confirm,
.espf-b-submit {
  width: 200px;
  height: 50px;
  font-size: 0.9375rem;
  font-family: var(--font-base);
  color: #FFFFFF;
  background: #D90000;
  border-style: none;
  border-radius: 0;
  -webkit-appearance: button;
  appearance: button;
  box-sizing: border-box;
  transition: all 0.2s ease;
  cursor: pointer;
}
.espf-b-back {
  background-color: #666666;
}
.espf-b-back:hover,
.espf-b-confirm:hover,
.espf-b-submit:hover {
  opacity: 0.65;
}
/* 「戻る」「送信」は確認画面でのみ表示される。form.js 読込前のちらつき防止 */
.espf-b-back,
.espf-b-submit {
  display: none;
}

/* 個人情報の取得・利用に関する同意について */
.contact-agreement {
  margin: 50px auto 0;
  max-width: 900px;
  font-size: 0.9375rem;
  line-height: 1.9;
}
.contact-agreement-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 1em;
}
.contact-agreement-lead {
  margin-bottom: 2em;
}
.contact-agreement-subtitle {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 2em 0 0.4em;
}
.contact-agreement-list {
  list-style: none;
  padding: 0;
  margin: 0.4em 0 0;
}
.contact-agreement-list li::before {
  content: "・";
}
.contact-agreement-window {
  margin-top: 1.6em;
}
.contact-agreement a {
  color: var(--color-red);
  text-decoration: underline;
}

/* ==========================================================================
   サイトマップ
   ========================================================================== */
.sitemap-list > li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--color-gray-border);
  align-items: baseline;
}
.sitemap-list > li:first-child {
  font-weight: 700;
}
.sitemap-list .main-link {
  min-width: 160px;
  font-weight: 700;
  flex-shrink: 0;
  white-space: nowrap;
}
.sitemap-list .sub-link {
  color: var(--color-text);
  font-size: 0.9375rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .global-nav {
    display: none;
  }
  .header-inner {
    justify-content: space-between;
    padding: 0 20px;
    min-height: 64px;
  }
  .header-toggle {
    display: block;
    position: relative;
    z-index: 2;
    width: 32px;
    height: 24px;
  }
  .header-toggle span {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .header-toggle span:nth-child(1) { top: 0; }
  .header-toggle span:nth-child(2) { top: 11px; }
  .header-toggle span:nth-child(3) { top: 22px; }
  .header-toggle.is-open span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }
  .header-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  .header-toggle.is-open span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }

  .global-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    padding: 10px 0;
  }
  .global-nav.is-open li {
    width: 100%;
    padding: 12px 24px;
    border-bottom: 1px solid var(--color-gray-border);
  }
  .global-nav.is-open li::after {
    content: none;
  }

  .page-heading h1 {
    font-size: 1.7rem;
  }
  .tab-nav {
    flex-direction: column;
    border-bottom: none;
  }
  .tab-nav button {
    border: 1px solid var(--color-gray-border);
    border-bottom: none;
  }
  .tab-nav button:last-child {
    border-bottom: 3px solid var(--color-red);
  }
  .tab-nav button + button {
    border-left: 1px solid var(--color-gray-border);
  }
  .tab-panel {
    padding: 30px 18px;
  }
  .tab-layout-company .tab-nav,
  .tab-layout-job .tab-nav,
  .tab-layout-people .tab-nav,
  .tab-layout-charm .tab-nav,
  .page-template-page-company .tab-nav,
  .page-template-page-company-php .tab-nav,
  .page-template-page-job .tab-nav,
  .page-template-page-job-php .tab-nav,
  .page-template-page-charm .tab-nav,
  .page-template-page-charm-php .tab-nav,
  .post-type-archive-interview .tab-nav {
    border-bottom: none;
  }
  .tab-layout-company .tab-nav button,
  .tab-layout-job .tab-nav button,
  .tab-layout-people .tab-nav button,
  .tab-layout-charm .tab-nav button,
  .page-template-page-company .tab-nav button,
  .page-template-page-company-php .tab-nav button,
  .page-template-page-job .tab-nav button,
  .page-template-page-job-php .tab-nav button,
  .page-template-page-charm .tab-nav button,
  .page-template-page-charm-php .tab-nav button,
  .post-type-archive-interview .tab-nav button {
    min-height: 54px;
    padding: 15px 10px;
  }
  .tab-layout-company .tab-nav button + button,
  .tab-layout-job .tab-nav button + button,
  .tab-layout-people .tab-nav button + button,
  .tab-layout-charm .tab-nav button + button,
  .page-template-page-company .tab-nav button + button,
  .page-template-page-company-php .tab-nav button + button,
  .page-template-page-job .tab-nav button + button,
  .page-template-page-job-php .tab-nav button + button,
  .page-template-page-charm .tab-nav button + button,
  .page-template-page-charm-php .tab-nav button + button,
  .post-type-archive-interview .tab-nav button + button {
    margin-left: 0;
  }
  .tab-layout-company .tab-nav button.is-active,
  .tab-layout-job .tab-nav button.is-active,
  .tab-layout-people .tab-nav button.is-active,
  .tab-layout-charm .tab-nav button.is-active,
  .page-template-page-company .tab-nav button.is-active,
  .page-template-page-company-php .tab-nav button.is-active,
  .page-template-page-job .tab-nav button.is-active,
  .page-template-page-job-php .tab-nav button.is-active,
  .page-template-page-charm .tab-nav button.is-active,
  .page-template-page-charm-php .tab-nav button.is-active,
  .post-type-archive-interview .tab-nav button.is-active {
    margin-bottom: 0;
    border-color: var(--color-red);
  }
  .tab-layout-company .tab-panel,
  .tab-layout-job .tab-panel,
  .tab-layout-people .tab-panel,
  .tab-layout-charm .tab-panel,
  .page-template-page-company .tab-panel,
  .page-template-page-company-php .tab-panel,
  .page-template-page-job .tab-panel,
  .page-template-page-job-php .tab-panel,
  .page-template-page-charm .tab-panel,
  .page-template-page-charm-php .tab-panel,
  .post-type-archive-interview .tab-panel {
    padding: 30px 20px;
  }
  .tab-layout-company .section-block-title,
  .tab-layout-job .section-block-title,
  .tab-layout-people .section-block-title,
  .tab-layout-charm .section-block-title,
  .page-template-page-company .section-block-title,
  .page-template-page-company-php .section-block-title,
  .page-template-page-job .section-block-title,
  .page-template-page-job-php .section-block-title,
  .page-template-page-charm .section-block-title,
  .page-template-page-charm-php .section-block-title,
  .post-type-archive-interview .section-block-title {
    display: block;
    margin-bottom: 32px;
    padding-bottom: 16px;
    white-space: normal;
  }
  .tab-layout-company .section-block-title .lead,
  .tab-layout-job .section-block-title .lead,
  .tab-layout-people .section-block-title .lead,
  .tab-layout-charm .section-block-title .lead,
  .page-template-page-company .section-block-title .lead,
  .page-template-page-company-php .section-block-title .lead,
  .page-template-page-job .section-block-title .lead,
  .page-template-page-job-php .section-block-title .lead,
  .page-template-page-charm .section-block-title .lead,
  .page-template-page-charm-php .section-block-title .lead,
  .post-type-archive-interview .section-block-title .lead {
    display: block;
    margin-top: 8px;
  }

  /* スマホも同じ素材と登場順。中央を確保し、周囲の画像は画面端でトリミング。 */
  .hero { aspect-ratio: auto; height: clamp(560px, 115vw, 760px); }
  .hero-logo { left: max(35%, calc(50% - 90px)); top: 27%; width: min(30%, 180px); }
  .hero-recruiting { left: max(33%, calc(50% - 105px)); top: calc(27% + min(40.316742vw, 241.900452px) + 14px); width: min(34%, 210px); }
  .hero-enter { left: calc(50% - 40px); top: 86%; width: 80px; }
  .hero-bg2 { left: -25%; top: -18%; width: 85%; }
  .hero-bg3 { left: 69%; top: -20%; width: 78%; }
  .hero-bg4 { left: -81%; top: 24%; width: 115%; }
  .hero-bg5 { left: 78%; top: 26%; width: 112%; }
  .hero-staff6 { left: -10%; top: -7%; width: 36%; }
  .hero-staff7 { left: 84%; top: -4%; width: 39%; }
  .hero-staff8 { left: -13%; top: 23%; width: 43%; }
  .hero-staff9 { left: 66%; top: 42%; width: 44%; }
  .hero-staff10 { left: 1%; top: 72%; width: 27%; }
  .hero-staff11 { left: 78%; top: 74%; width: 25%; }
  body.is-home .header-toggle { background: rgba(255, 255, 255, .85); }
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-panels {
    grid-template-columns: 1fr;
  }
  .company-info-jump {
    justify-content: flex-start;
    padding-bottom: 32px;
  }
  .company-info-section {
    margin-top: 52px;
  }
  .company-overview-grid,
  .company-license-grid,
  .company-access-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .company-access-grid {
    gap: 28px;
  }
  .company-route {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .numbers-grid {
    grid-template-columns: 1fr;
  }
  .catch-title {
    font-size: 1.3rem;
    letter-spacing: 0.15em;
  }
  /* スマホではロゴ・QRを縮小して横並びを維持 */
  .recruit-badge {
    gap: 12px;
  }
  .recruit-side img.mynavi { width: 150px; }
  .recruit-side img.qr { width: 96px; }
}

@media (max-width: 780px) {
  .people-grid {
    grid-template-columns: 1fr;
  }
  .qa-block {
    flex-direction: column;
  }
  .president-message-layout {
    gap: 28px;
  }
  .qa-block > img {
    width: 100%;
    height: auto;
    max-width: 260px;
  }
  .president-photo-block {
    flex-basis: auto;
    max-width: 260px;
  }
  .president-photo-block img {
    width: 100%;
    height: auto;
  }
  .biz-hero {
    padding: 28px 20px 24px;
  }
  .biz-hero-top {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
  }
  .biz-hero-left {
    flex: 0 0 auto;
    gap: 20px;
  }
  .biz-hero-cols {
    grid-template-columns: 1fr;
  }
  .biz-hero-col {
    padding: 0;
  }
  .biz-hero-col + .biz-hero-col {
    border-left: none;
    border-top: 1px solid var(--color-gray-deco);
    margin-top: 24px;
    padding-top: 24px;
  }
  .biz-grid {
    grid-template-columns: 1fr;
  }
  .biz-card {
    padding: 24px 20px 28px;
  }
  .recruit-flex {
    flex-direction: column;
  }
  .recruit-side {
    align-self: stretch;
    width: 100%;
  }
  .contact-form-lead {
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.8;
  }
  .contact-mailform {
    text-align: left;
  }
  .contact-form-table {
    display: block;
    width: 100%;
    font-size: 0.875rem;
    line-height: 1.6;
  }
  .contact-form-table tbody,
  .contact-form-table tr,
  .contact-form-table th,
  .contact-form-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .contact-form-table th {
    text-align: left;
    padding: 2vw;
  }
  .contact-form-table th:empty {
    display: none;
  }
  .contact-form-table td {
    text-align: left;
    padding: 2vw;
  }
  .contact-form-table input[type="text"],
  .contact-form-table textarea {
    width: 100%;
    padding: 0.7em;
    border: none;
    background: #EEEEEE;
    font-size: 0.875rem;
  }
  .contact-form-table select {
    width: 80vw;
    height: 10vw;
    font-size: 0.875rem;
  }
  .contact-form-table input[type="checkbox"] {
    width: 5vw;
    height: 5vw;
  }
  .contact-form-error {
    font-size: 0.8125rem;
    line-height: 1.8;
  }
  .contact-btn-box ul {
    gap: 5vw;
  }
  .espf-b-back,
  .espf-b-confirm,
  .espf-b-submit {
    width: 30vw;
    height: 15vw;
    font-size: 1rem;
  }
  .sitemap-list > li {
    flex-direction: column;
    gap: 6px;
  }
  .sitemap-list .main-link {
    width: auto;
    min-width: 0;
    white-space: normal;
  }
  .detail-box, .tab-panel {
    padding: 30px 20px;
  }
  .info-table th {
    width: 110px;
  }
  .company-info-heading {
    display: block;
  }
  .company-info-heading em {
    display: block;
    margin-top: 4px;
  }
  .company-info-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .company-info-jump a {
    margin-bottom: 10px;
    padding: 0 12px;
  }
}
