/*
Theme Name: Takaichi Pharma
Theme URI: https://takaichi-pharma.co.jp
Author: MJE INC.
Description: 高市製薬株式会社 コーポレートサイト オリジナルテーマ
Version: 1.0.0
Text Domain: takaichi-pharma
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --color-green-dark:   #1f3a2c;
  --color-green-mid:    #3c5943;
  --color-green-pale:   #dfe8da;
  --color-green-pale-2: #eef2ea;
  --color-cream:        #f7f6f1;
  --color-maroon:       #582420;
  --color-white:        #ffffff;
  --color-text:         #2b2b28;
  --color-text-soft:    #55584f;
  --color-border:       #d7ddd0;

  --font-serif-en: Georgia, "Noto Serif JP", serif;
  --font-jp: "Shippori Mincho", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-serif-jp: "Noto Serif JP", serif;

  --content-width: 1120px;
  --gutter: 24px;
  --header-height: 92px;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.9;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-height);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
button { font-family: inherit; }

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-heading {
  font-family: var(--font-serif-en);
  font-size: 40px;
  color: var(--color-green-dark);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.section-eyebrow {
  display: block;
  font-family: var(--font-serif-jp);
  font-size: 24px;
  color: var(--color-text);
  font-weight: 600;
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--color-green-dark);
  border-bottom: 1px solid var(--color-green-dark);
  padding-bottom: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-green-dark);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(31, 58, 44, 0.08);
  min-height: var(--header-height);
  box-sizing: border-box;
}
.site-header__logo a {
  font-family: var(--font-jp);
  font-size: 18px;
  color: var(--color-green-dark);
  letter-spacing: 0.05em;
}
.site-header__logo img {
  max-height: 48px;
  width: auto;
  display: block;
}
.custom-logo-link { display: block; }
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.primary-menu {
  display: flex;
  gap: 32px;
  position: relative;
}
.primary-menu > li {
  position: relative;
  font-size: 14px;
}
.primary-menu > li > a {
  padding: 8px 0;
  display: inline-block;
}
.primary-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 8px 0;
  box-shadow: 0 8px 20px rgba(31, 58, 44, 0.08);
}
.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
  display: block;
}
.primary-menu .sub-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  white-space: nowrap;
}
.primary-menu .sub-menu li a:hover { background: var(--color-green-pale-2); }

.header-cta {
  background: var(--color-green-dark);
  color: #fff !important;
  padding: 18px 28px;
  font-size: 14px;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
}

@media (max-width: 900px) {
  .site-header__nav .primary-menu { display: none; }
  .menu-toggle { display: block; }

  .site-header__nav.is-open .primary-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 8px 0;
    box-shadow: 0 12px 24px rgba(31, 58, 44, 0.12);
    z-index: 200;
  }
  .site-header__nav.is-open .primary-menu > li {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }
  .site-header__nav.is-open .primary-menu > li > a {
    display: block;
    padding: 14px var(--gutter);
  }
  .site-header__nav.is-open .primary-menu .sub-menu {
    position: static;
    display: block;
    border: 0;
    box-shadow: none;
    padding-left: var(--gutter);
  }
  body.nav-open { overflow: hidden; }
}

/* ==========================================================================
   Page header (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 64px var(--gutter) 40px;
  /* background: var(--color-green-pale-2); */
}
/* 子ページ（/company/overview/ など）のみ背景色あり。/company/ などのハブページは背景なし */
/* 子ページ共通ヘッダー：左テキスト／右画像（画像は右端まで） */
.page-hero--split { padding-left: 0; padding-right: 0; padding-bottom: 0; }
.page-hero--split > .container {
  /* padding-left: max(var(--gutter), calc((100vw - var(--content-width)) / 2 + var(--gutter))); */
}
.page-hero__split {
  display: flex;
  align-items: stretch;       /* 左カラムを右の画像と同じ高さにして、ジャンプリンクを画像の下端に揃える */
  margin: 8px 0 100px;
}
.page-hero__split-text {
  display: flex;
  flex-direction: column;
  flex: 0 0 40%;
  box-sizing: border-box;
  padding-left: max(var(--gutter), calc((100vw - var(--content-width)) / 2 + var(--gutter)));
  padding-right: 24px;
}
.page-hero:not(.has-image) .page-hero__split-text { flex-basis: 100%; padding-bottom: 40px; }
.page-hero__split-image { flex: 1; min-width: 0; }
.page-hero__split-image img { display: block; width: 100%; height: 25vw; min-height: 200px; max-height: 420px; object-fit: cover; }
@media (max-width: 700px) {
  .page-hero__split { display: block; }
  .page-hero__split-text { padding: 0 var(--gutter) 24px; }
  .page-hero__split-image img { height: 52vw; }
}
body.page-child .page-hero {
  /* background: var(--color-green-pale-2); */
}
.page-hero__breadcrumb {
  font-size: 12px;
  color: var(--color-text-soft);
  margin-bottom: 18px;
}
.page-hero__eyebrow {
  font-family: var(--font-jp);
  font-size: 18px;
  color: var(--color-text);
  margin-top: 8px;
  display: block;
  font-weight: 600;
}
.page-hero__title {
  font-family: var(--font-serif-en);
  font-size: 52px;
  color: var(--color-green-dark);
}
.page-hero__image {
  margin-top: 32px;
  overflow: hidden;
}
.page-hero__image img { width: 100%; object-fit: cover; max-height: 320px; }

.page-hero__lead {
  max-width: var(--content-width);
  margin: 32px auto 0;
  padding: 0 var(--gutter);
  color: var(--color-text-soft);
  font-size: 14px;
}

/* Header variant with no image: eyebrow label (left) + lead paragraph
   (right), with a hairline rule underneath — used by page-company.php */
.page-hero__intro-row {
  max-width: var(--content-width);
  margin: 20px auto 0;
  padding: 0 var(--gutter) 40px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  border-bottom: 1px solid var(--color-border); /* 既定：行全体に下線 */
}
.page-hero__intro-row .section-eyebrow { margin: 0; }
.page-hero__intro-row p { margin: 0; color: var(--color-text-soft); font-size: 14px; }
/* /company /business /sustainability /recruit のみ：下線は文章側（右カラム）だけに引く */
.page-hero__intro-row--hub { border-bottom: 0; }
.page-hero__intro-row--hub p {
  margin: 0;
  color: var(--color-text);
  font-size: 18px;
  border-bottom: 1px solid var(--color-border);
  padding: 0 0 30px;
  font-family: var(--font-serif-jp);
  font-weight: 600;
}
@media (max-width: 700px) {
  .page-hero__intro-row { grid-template-columns: 1fr; gap: 8px; }
}
.page-hero__jump {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 16px 24px;
  margin: auto 0 0;           /* 左カラムの一番下（＝隣の画像の下端の高さ）に配置 */
  padding-top: 32px;          /* タイトルとの最低限の間隔 */
  font-size: 13px;
}
.page-hero__jump .btn-link::after { content: "↓"; }   /* リンクボタン末尾の下矢印 */

/* ==========================================================================
   Front page: FV
   ========================================================================== */
.fv {
  position: relative;
  padding: 24px var(--gutter) 0;
}
.fv__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1.4fr;
  gap: 0;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}
.fv__grid > div { position: relative; overflow: hidden; }
.fv__grid img { width: 100%; height: 100%; object-fit: cover; }
.fv__panel--pale { background: var(--color-green-pale); }

.fv__copy {
  position: absolute;
  left: var(--gutter);
  bottom: 40px;
  z-index: 5;

  opacity: 0;
  transform: translateY(18px);
  animation: fvFadeInFloat 1.1s ease-out forwards;
  animation-delay: 0.25s;
}
.fv__copy--image img {
  max-width: 360px;
  width: 60vw;
  height: auto;
}

@keyframes fvFadeInFloat {
  0%   { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .fv__copy { animation: none; opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .fv__grid { grid-template-columns: 1fr; min-height: auto; }
  .fv__grid > div { height: 220px; }
  .fv__copy { position: static; margin-top: 12px; }
  .fv__copy--image img { width: 70vw; max-width: 280px; }
}

/* ==========================================================================
   Front page: alternating content blocks (Company / Business / Sustainability)
   ========================================================================== */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 72px var(--gutter);
  max-width: var(--content-width);
  margin: 0 auto;
}
.content-block--reverse .content-block__media { order: 2; }
.content-block__media img { width: 100%; }
.content-block__body h3 {
  font-family: var(--font-serif-jp);
  font-size: 20px;
  margin: 20px 0 12px;
}
.content-block__body p { color: var(--color-text-soft); font-size: 14px; }
.content-block__links {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .content-block { grid-template-columns: 1fr; gap: 28px; padding: 48px var(--gutter); }
  .content-block--reverse .content-block__media { order: 0; }
}

/* ==========================================================================
   Front page: News
   ========================================================================== */
.news-section {
  background: var(--color-green-dark);
  color: #fff;
  padding: 72px var(--gutter);
}
.news-section .section-heading,
.news-section .section-eyebrow { color: #fff; }
.news-list { max-width: var(--content-width); margin: 32px auto 0; }
.news-list li {
  display: flex;
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  font-size: 14px;
}
.news-list time { color: rgba(255,255,255,0.7); min-width: 90px; }
.news-list .news-cat {
  border: 1px solid rgba(255,255,255,0.5);
  padding: 2px 10px;
  font-size: 12px;
  min-width: 90px;
  text-align: center;
}
.news-list .news-title { flex: 1; }
.news-section .btn-link {
  color: #fff;
  border-color: #fff;
  margin: 32px auto 0;
  max-width: var(--content-width);
  justify-content: flex-end;
  display: flex;
}

/* ==========================================================================
   Front page: Recruit banner
   ========================================================================== */
.recruit-section { padding: 72px var(--gutter); max-width: var(--content-width); margin: 0 auto; }
.recruit-banner {
  margin-top: 32px;
  background: var(--color-border);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-soft);
  font-size: 14px;
  text-align: center;
}
.recruit-banner img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Front page: Access / Contact
   ========================================================================== */
.access-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.access-contact__panel {
  padding: 56px var(--gutter);
  color: #fff;
  position: relative;
}
.access-contact__panel--access { background: linear-gradient(135deg, var(--color-maroon), #3a1815); }
.access-contact__panel--contact { background: linear-gradient(135deg, var(--color-green-mid), var(--color-green-dark)); }
.access-contact__panel h2 { font-family: var(--font-serif-en); font-size: 30px; }
.access-contact__panel .section-eyebrow { color: rgba(255,255,255,0.8); }
.access-contact__panel p { font-size: 13px; margin: 16px 0 24px; color: rgba(255,255,255,0.85); }
.access-contact__buttons { display: flex; flex-direction: column; gap: 12px; }
.access-contact__buttons a {
  background: #fff;
  color: var(--color-text);
  padding: 14px 20px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 900px) {
  .access-contact { grid-template-columns: 1fr; }
}

/* ==========================================================================
   History page
   ========================================================================== */
.history-intro {
  max-width: var(--content-width);
  margin: 56px auto;
  padding: 0 var(--gutter);
  color: var(--color-text-soft);
  font-size: 14px;
}
.history-badge {
  text-align: center;
  margin: 40px auto;
}
.history-badge .num { font-family: var(--font-serif-en); font-size: 30px; color: var(--color-maroon); }

.timeline {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--color-border);
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px 0;
  align-items: center;
}
.timeline-item__media img { width: 100%; }
.timeline-item__year {
  font-family: var(--font-serif-en);
  font-size: 22px;
  color: var(--color-maroon);
}
.timeline-item__title { font-size: 15px; margin: 6px 0 10px; }
.timeline-item__text { font-size: 13px; color: var(--color-text-soft); }

@media (max-width: 700px) {
  .timeline-item { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
}

.history-list {
  max-width: var(--content-width);
  margin: 64px auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
}
@media (max-width: 700px) { .history-list { grid-template-columns: 1fr; gap: 12px; } }
.history-list table { width: 100%; border-collapse: collapse; font-size: 13px; }
.history-list th, .history-list td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.history-list th { width: 140px; color: var(--color-text-soft); font-weight: 500; }
.site-footer__cols ul li::before {
  content: "-";
  /* position: absolute; */
  /* left: 0; */
  margin: 0 4px 0 12px;
}

.history-future {
  text-align: center;
  padding: 100px var(--gutter) 64px;
}
.history-future h2 {
  font-family: var(--font-serif-en);
  font-size: 50px;
  font-weight: 400;
  color: var(--color-green-mid);
}
.history-future__sub {
  display: block;
  margin-top: 0;
  font-family: var(--font-serif-jp);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
}
.history-future p { max-width: 720px; margin: 24px auto; font-size: 14px; color: var(--color-text-soft); text-align: left; }
.history-future__banner { display: block; max-width: 720px; margin: 40px auto 0; }
.history-future__banner img { display: block; width: 100%; height: auto; }
.history-future__banner-ph {
  display: flex; align-items: center; justify-content: center;
  min-height: 140px; background: var(--color-border); color: var(--color-text-soft); font-size: 14px;
}

/* 二つの百年（PC 2カラム） */
.hundred-years { max-width: var(--content-width); margin: 80px auto 0; padding: 0 var(--gutter); }
.hundred-years__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 40px; }
.century { position: relative; padding-left: 32px; }
.century::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 0; width: 1px; background: var(--color-border); }
.century__head { position: relative; margin-bottom: 40px; }
.century__head::before {
  content: ""; position: absolute; left: -32px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--color-maroon);
}
.century--company .century__head::before { background: var(--color-green-dark); }
.century__label { display: block; font-family: var(--font-serif-jp); font-size: 15px; color: var(--color-maroon); }
.century__title { display: block; font-family: var(--font-serif-en); font-size: 30px; color: var(--color-maroon); }
.century--company .century__label, .century--company .century__title { color: var(--color-green-dark); }
.century-item { position: relative; padding-bottom: 56px; }
.century-item::before {
  content: ""; position: absolute; left: -32px; top: 10px; width: 9px; height: 9px; border-radius: 50%;
  background: #fff; border: 1px solid #999; box-sizing: border-box; margin-left: 2px;
}
.century-item__year { font-family: var(--font-serif-en); font-size: 24px; color: var(--color-text); }
.century-item__year small { font-size: 12px; margin-left: 4px; font-family: var(--font-serif-jp); }
.century-item__title {
  margin: 8px 0 12px;
  font-family: var(--font-serif-jp);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
}
.century-item__year-unit { font-size: 0.6em; margin-left: 1px; font-family: var(--font-serif-jp); }
.century-item__text {
  font-size: 13px;
  color: var(--color-text-soft);
  margin-bottom: 14px;
  padding: 0 0 0 14px;
}
.century-item__media img {
  display: block;
  width: 50%;
  height: auto;
  padding: 0 0 0 14px;
}
.century-item__credit {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--color-text-soft);
  padding: 0 0 0 14px;
}
@media (max-width: 900px) {
  .hundred-years__cols { grid-template-columns: 1fr; gap: 56px; }
}

.company-links {
  max-width: var(--content-width);
  margin: 64px auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 60px;
}
.company-links a {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
  font-size: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #fff; padding-top: 56px; }
.site-footer__cols {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--gutter) 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 28px 24px;
}
.site-footer__logo { font-family: var(--font-jp); font-size: 18px; color: var(--color-green-dark); margin-bottom: 40px; }
.site-footer__logo img { display: block; max-width: 220px; height: auto; }
.site-footer__address { font-size: 14px; color: var(--color-text); line-height: 1.8; }
.site-footer__copy { display: block; margin-top: 24px; font-size: 11px; color: var(--color-text-soft); }
.site-footer__cols h4.site-footer__subhead { margin-top: 28px; }
/* 2行グリッド：1行目の高さが揃うので、事業内容と採用情報の開始位置が一致する */
.site-footer__c1 { grid-column: 1; grid-row: 1 / span 2; }
.site-footer__c2 { grid-column: 2; }
.site-footer__c3 { grid-column: 3; }
.site-footer__c4 { grid-column: 4; }
.site-footer__r1 { grid-row: 1; }
.site-footer__r2 { grid-row: 2; }
.site-footer__cols h4 { font-size: 15px; margin-bottom: 10px; }
.site-footer__cols ul li { font-size: 12px; margin-bottom: 6px; color: var(--color-text-soft); font-weight: 500; }
.site-footer__strap {
  font-family: var(--font-jp);
  padding: 0 var(--gutter) 48px;
  color: var(--color-text);
  font-size: 26px;
  max-width: var(--content-width);
  margin: 0 auto;
  font-weight: 500;
}
.site-footer__strap small { display: block; font-size: 11px; color: var(--color-text-soft); margin-top: 8px; font-family: var(--font-sans); }

@media (max-width: 900px) {
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .site-footer__c1, .site-footer__c2, .site-footer__c3, .site-footer__c4 { grid-column: auto; }
  .site-footer__r1, .site-footer__r2 { grid-row: auto; }
  .site-footer__c1 { grid-column: 1 / -1; }
  .company-links { grid-template-columns: 1fr; }
}

.page-hub .page-hero__title { margin-bottom: 0; }

/* ==========================================================================
   SP-only / PC-only line breaks & content, for use in 固定ページ本文 via
   the [sp_br] [pc_br] [sp]...[/sp] [pc]...[/pc] shortcodes (inc/responsive-text.php)
   ========================================================================== */
.u-br-sp, .u-sp { display: none; }
.u-br-pc, .u-pc { display: inline; }
@media (max-width: 600px) {
  .u-br-sp, .u-sp { display: inline; }
  .u-br-pc, .u-pc { display: none !important; }
}

/* ==========================================================================
   会社情報サブページ共通フッター（quicklinks + Contact CTA）
   template-parts/company-footer.php
   ========================================================================== */
.company-quicklinks {
  background: var(--color-green-pale-2);
  padding: 56px var(--gutter) 100px;
}
.company-quicklinks__grid {
  max-width: var(--content-width);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 60px;
}
.company-quicklinks__grid a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 18px;
  font-family: var(--font-serif-jp);
  font-weight: 600;
}

.company-cta {
  position: relative;
  margin-top: 4vw;            /* カードが帯の上にはみ出す分の余白 */
}
/* 子ページ（/company/overview/ など）のみ：Contact帯の上余白なし。/company/ は上の指定のまま */
body.page-child .company-cta { margin-top: 0; }
.company-cta__bg {
  height: 19vw;
  min-height: 180px;
  background: var(--color-border);
  overflow: hidden;
}
.company-cta__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
.company-cta__card {
  position: absolute;
  z-index: 2;
  top: -3.0vw;
  right: 8%;
  width: 42%;
  max-width: 600px;
  box-sizing: border-box;
  background: linear-gradient(135deg, var(--color-green-dark), var(--color-green-mid));
  color: #fff;
  padding: 3.4vw 4vw;
}
.company-cta__head { display: flex; align-items: baseline; gap: 14px; }
.company-cta__card h2 { margin: 0; font-family: var(--font-serif-en); font-size: 32px; font-weight: 400; color: #fff; }
.company-cta__card .section-eyebrow { display: inline; font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.9); }
.company-cta__button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--color-text);
  padding: 14px 20px;
  margin-top: 2.4vw;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 900px) {
  .company-quicklinks__grid { grid-template-columns: 1fr; }
  .company-cta { margin-top: 0; }
  .company-cta__bg { height: 200px; }
  .company-cta__card { position: relative; top: auto; right: auto; width: auto; max-width: none; margin: -48px var(--gutter) 0; padding: 28px 24px; }
  .company-cta__button { margin-top: 20px; }
}

/* ==========================================================================
   会社情報ハブページ（page-company.php）カード一覧
   ========================================================================== */
.company-cards {
  max-width: var(--content-width);
  margin: 48px auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
}
.company-card__title {
  font-size: 26px;
  font-family: var(--font-serif-en);
  line-height: 1.2;
}
.company-card__media {
  aspect-ratio: 7 / 3;
  background: var(--color-border);
  overflow: hidden;
  margin-top: 16px;
}
.company-card__media img { width: 100%; height: 100%; object-fit: cover; }
.company-card__title-en {
  display: block;
  font-family: var(--font-serif-en);
  font-size: 13px;
  color: var(--color-green-mid);
  margin-top: 4px;
}

@media (max-width: 700px) {
  .company-cards { grid-template-columns: 1fr; }
}

/* ==========================================================================
   会社概要ページ（page-overview.php）情報テーブル
   ========================================================================== */
.info-table-block {
  max-width: var(--content-width);
  margin: 56px auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
}
.info-table-block__label {
  font-size: 20px;
  padding-top: 4px;
  font-family: var(--font-jp);
  color: var(--color-text);
  font-weight: 600;
}
.info-table-block table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  /* font-family: var(--font-jp); */
  color: var(--color-text);
  /* font-weight: 800; */
}
.info-table-block th, .info-table-block td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.info-table-block th {
  width: 160px;
  /* color: var(--color-text-soft); */
  font-weight: 500;
  white-space: nowrap;
}
.info-table-block td {
  /* white-space: pre-line; */
}

@media (max-width: 700px) {
  .info-table-block { grid-template-columns: 1fr; gap: 8px; }
  .info-table-block th { width: 120px; }
}

/* ==========================================================================
   代表挨拶ページ（page-greeting.php）
   ========================================================================== */
.greeting-hero { max-width: var(--content-width); margin: 40px auto 0; padding: 0 var(--gutter); }
.greeting-hero img { width: 100%; max-height: 420px; object-fit: cover; }

.greeting-body {
  max-width: var(--content-width);
  margin: 56px auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}
.greeting-body__text h2 { font-size: 22px; margin-bottom: 20px; }
.greeting-body__text p { font-size: 14px; color: var(--color-text-soft); margin-bottom: 1.4em; }
.greeting-body__text img { max-width: 100%; height: auto; display: block; margin: 0 0 1.4em; }
.greeting-body__text figure { margin: 0 0 1.4em; }
.greeting-body__text .alignright { float: right; margin: 0 0 1em 1.5em; }
.greeting-body__text .alignleft { float: left; margin: 0 1.5em 1em 0; }
.greeting-body__text .aligncenter { margin-left: auto; margin-right: auto; }
.greeting-body__portrait img { width: 100%; }

@media (max-width: 900px) {
  .greeting-body { grid-template-columns: 1fr; }
  .greeting-body__portrait { max-width: 320px; margin: 0 auto; }
}

/* ==========================================================================
   アクセス・敷地案内図ページ（page-access.php）
   ========================================================================== */
.access-block {
  max-width: var(--content-width);
  margin: 56px auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
}
.access-block__label {
  font-size: 20px;
  padding-top: 4px;
  font-family: var(--font-jp);
  color: var(--color-text);
  font-weight: 600;
}
.access-block__map {
  background: var(--color-border);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-soft);
  font-size: 14px;
  overflow: hidden;
}
.access-block__map iframe { width: 100%; height: 100%; border: 0; }
.access-block__map img { width: 100%; height: 100%; object-fit: cover; }
.access-block__text {
  margin-top: 30px;
  padding: 20px 0;
  border-top: 1px solid var(--color-border);
  font-size: 15px;
  color: var(--color-text-soft);
  white-space: pre-line;
  border-bottom: 1px solid var(--color-border);
}

@media (max-width: 700px) {
  .access-block { grid-template-columns: 1fr; }
}

/* ==========================================================================
   事業内容（/business/ と 子ページ：企画開発・品質管理・製造設備・OEM）
   ========================================================================== */
.biz-body { max-width: var(--content-width); margin: 0 auto; padding: 0 var(--gutter); }
.biz-section { margin-top: 96px; }
.biz-section .section-eyebrow { margin-bottom: 32px; }
.biz-heading { font-family: var(--font-jp); font-size: 28px; line-height: 1.5; font-weight: 600; color: var(--color-green-dark); margin: 0 0 20px; }
.biz-body p { font-size: 15px; line-height: 2; }
.biz-note { font-size: 13px !important; color: var(--color-text-soft); margin-top: 16px; }
.biz-lead { margin: 0 0 8px; }
.biz-ph { background: var(--color-green-pale-2); }
.biz-ph:empty { min-height: 200px; }
.biz-ph img, .biz-split__media img { display: block; width: 100%; height: 100%; object-fit: cover; max-width: 400px; }

/* 見出し＋本文（左）／画像（右） */
.biz-split { display: grid; grid-template-columns: 3fr 2fr; gap: 56px; align-items: start; margin-top: 56px; justify-items: end; }
.biz-split:has(.biz-split__media:only-child),
.biz-split > .biz-split__text:only-child { grid-template-columns: 1fr; }
.biz-split > .biz-split__text:only-child { grid-column: 1 / -1; max-width: 860px; }

/* 囲みボックス（製剤化とは…） */
.biz-box { border: 1px solid var(--color-green-mid); padding: 28px 40px; margin-top: 56px; }
.biz-box__head { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-jp); font-size: 20px; font-weight: 600; color: var(--color-green-dark); }
.biz-box__head::-webkit-details-marker { display: none; }
.biz-box__head i { position: relative; width: 16px; height: 16px; flex: 0 0 16px; }
.biz-box__head i::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--color-green-dark); }
.biz-box__head i::after  { content: ""; position: absolute; top: 0; bottom: 0; left: 7px; width: 2px; background: var(--color-green-dark); }
.biz-box[open] .biz-box__head i::after { display: none; }
.biz-box p { margin: 16px 0 0; }

.biz-detail { margin-top: 40px; max-width: 860px; }
.biz-detail h3 { font-family: var(--font-jp); font-size: 18px; font-weight: 600; color: var(--color-green-dark); margin: 0 0 8px; }
.biz-detail p { margin: 0; }

/* 品質方針 */
.biz-policy { margin-top: 56px; }
.biz-policy__list { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: pol; }
.biz-policy__list li { display: flex; font-family: var(--font-jp); font-size: 18px; line-height: 2; font-weight: 600; color: var(--color-green-dark); }
.biz-policy__list li span { flex: 0 0 2em; }

/* 設備（大2枚／小3枚） */
.biz-eq { display: grid; gap: 32px; margin: 24px auto; max-width: 800px; }
.biz-eq--large { grid-template-columns: repeat(2, 1fr); }
.biz-eq--small { grid-template-columns: repeat(3, 1fr); }
.biz-eq figure { margin: 0; }
.biz-eq .biz-ph { aspect-ratio: 4 / 3; overflow: hidden; }
.biz-eq--large .biz-ph { aspect-ratio: 16 / 9; }
.biz-eq figcaption { margin-top: 12px; font-size: 14px; line-height: 1.8; }
.biz-eq figcaption strong { display: block; font-family: var(--font-jp); font-size: 18px; font-weight: 600; color: var(--color-green-dark); }
.biz-section > .biz-eq:first-of-type { margin-top: 0; }

/* 製造工程 */
.biz-steps { list-style: none; margin: 0; padding: 0; }
.biz-step { display: grid; grid-template-columns: 240px 1fr 360px; gap: 40px; align-items: start; padding: 32px 0; border-top: 1px solid var(--color-border); }
.biz-step:last-child { border-bottom: 1px solid var(--color-border); }
.biz-step__head { font-family: var(--font-jp); font-size: 22px; font-weight: 600; color: var(--color-green-dark); }
.biz-step__no { font-family: var(--font-serif-en); margin-right: 8px; color: var(--color-green-mid); }
.biz-step__text { margin: 0; }
.biz-step__media { aspect-ratio: 3 / 2; overflow: hidden; }

.biz-spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.biz-spec th, .biz-spec td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.biz-spec th { width: 200px; font-weight: 500; }

/* OEM */
.biz-bullets { list-style: none; margin: 24px 0 0; padding: 0; }
.biz-bullets li { font-size: 16px; line-height: 2; padding-left: 1em; text-indent: -1em; font-family: var(--font-jp); font-weight: 600; }
.biz-bullets li::before { content: "・"; }
.biz-area { display: grid; /* grid-template-columns: 240px 1fr 320px; */ gap: 40px; align-items: center; padding: 32px 0; border-top: 1px solid var(--color-border); max-width: 900px; margin: 0 auto; }
.biz-area:last-child { border-bottom: 1px solid var(--color-border); }
.biz-area h3 { margin: 0; font-family: var(--font-jp); font-size: 22px; font-weight: 600; color: var(--color-green-dark); }
.biz-area p { margin: 0; }
.biz-area__media { aspect-ratio: 3 / 2; overflow: hidden; }
.biz-area__media:empty { display: none; }
.biz-area:has(.biz-area__media:empty) { grid-template-columns: 240px 1fr; }

.biz-flow { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: flex-start; gap: 0; }
.biz-flow li { position: relative; flex: 0 0 260px; text-align: center; margin: 0 40px; }
.biz-flow li + li::before { content: "→"; position: absolute; left: -64px; top: 110px; width: 48px; font-size: 24px; color: var(--color-green-mid); }
.biz-flow__circle { width: 220px; height: 220px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; }
.biz-flow span { font-family: var(--font-jp); font-size: 18px; font-weight: 600; color: var(--color-green-dark); }

/* /business/ 親ページ */
.biz-hub { max-width: var(--content-width); margin: 56px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.biz-hub__flow img { display: block; width: 100%; height: auto; }
.biz-hub__flow-text { list-style: none; margin: 0; padding: 40px 24px; display: flex; justify-content: space-between; gap: 8px; background: var(--color-green-pale-2); font-family: var(--font-jp); font-weight: 600; color: var(--color-green-dark); }
.biz-hub__flow-text li + li::before { content: "→"; margin-right: 8px; color: var(--color-green-mid); }
.biz-hub__flow-caption { text-align: center; font-size: 13px; color: var(--color-text-soft); margin: 8px 0 0; }
.biz-hub__links { list-style: none; margin: 0; padding: 0; }
.biz-hub__links li { border-bottom: 1px solid var(--color-border); }
.biz-hub__links li:first-child { border-top: 1px solid var(--color-border); }
.biz-hub__links a { display: flex; justify-content: space-between; align-items: center; padding: 28px 8px; font-family: var(--font-jp); font-size: 22px; font-weight: 600; color: var(--color-green-dark); text-decoration: none; }
.biz-hub__links a:hover { color: var(--color-green-mid); }

@media (max-width: 900px) {
  .biz-split, .biz-hub { grid-template-columns: 1fr; gap: 32px; }
  .biz-eq--large, .biz-eq--small { grid-template-columns: 1fr; }
  .biz-step, .biz-area, .biz-area:has(.biz-area__media:empty) { grid-template-columns: 1fr; gap: 16px; }
  .biz-flow { flex-direction: column; align-items: center; gap: 56px; }
  .biz-flow li { margin: 0; }
  .biz-flow li + li::before { content: "↓"; left: 50%; top: -52px; margin-left: -24px; text-align: center; }
  .biz-box { padding: 20px; }
}

/* ==========================================================================
   サステナビリティ / マテリアリティ
   ========================================================================== */
.sus-sdgs { max-width: 900px; margin: 0 auto; }
.sus-sdgs p { margin: 0 0 16px; }
.sus-sdgs__logo { margin: 32px 0 8px; }
.sus-sdgs__logo img { display: block; width: 100%; height: auto; }
.sus-item { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--color-text); }
.sus-item h3 { margin: 0 0 12px; font-family: var(--font-jp); font-size: 20px; font-weight: 600; color: var(--color-green-dark); }
.sus-item__label { margin: 24px 0 0 !important; }
.sus-item ul { list-style: none; margin: 0 0 16px; padding: 0; font-size: 15px; line-height: 2; }
.sus-item ul li { padding-left: 1em; text-indent: -1em; }
.sus-item ul li::before { content: "・"; }
.sus-icons { display: flex; gap: 12px; margin-top: 24px; }
.sus-icons img { width: 96px; height: 96px; object-fit: contain; display: block; }

.sus-twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 120px; }
.sus-twocol__img { margin: 24px 0 16px; }
.sus-twocol__img img { display: block; width: 100%; height: auto; }
.sus-twocol .section-eyebrow { margin-bottom: 24px; }
.sus-news { list-style: none; margin: 24px 0 0; padding: 0; }
.sus-news li { padding: 14px 0; border-bottom: 1px solid var(--color-text); font-size: 14px; line-height: 1.7; }
.sus-news li:first-child { border-top: 1px solid var(--color-text); }
.sus-news time { display: block; color: var(--color-text-soft); }
.sus-news a { color: var(--color-text); text-decoration: none; }
.sus-more { display: flex; justify-content: space-between; align-items: center; width: fit-content; min-width: 220px; margin: 24px 0 0 auto; padding-bottom: 6px; border-bottom: 1px solid var(--color-text); font-size: 13px; color: var(--color-text); text-decoration: none; gap: 24px; }

.mat-item { margin-top: 96px; }
.mat-item__body { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: center; margin-top: 16px; padding-left: 40px; }
.mat-item__title { margin: 0 0 12px; font-family: var(--font-jp); font-size: 26px; font-weight: 600; color: var(--color-green-dark); }
.mat-item__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.mat-tag { display: inline-block; padding: 2px 10px; font-size: 12px; background: var(--color-green-mid); color: #fff; }
.mat-tag--light { background: var(--color-green-pale); color: var(--color-text-soft); }
.mat-item__text p { margin: 0; }
.mat-item__links { display: flex; flex-wrap: wrap; gap: 0 32px; }
.mat-item__links .sus-more { margin-left: 0; min-width: 0; }
.mat-item__media { aspect-ratio: 1 / 1; overflow: hidden; }
.mat-item__media img { max-width: none; }

@media (max-width: 900px) {
  .sus-twocol { grid-template-columns: 1fr; gap: 56px; }
  .mat-item__body { grid-template-columns: 1fr; padding-left: 0; }
  .sus-icons img { width: 72px; height: 72px; }
}

/* ==========================================================================
   お知らせ（一覧・詳細）
   ========================================================================== */
.news-archive { max-width: var(--content-width); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 200px 1fr; gap: 56px; }
.news-archive__nav ul { list-style: none; margin: 0; padding: 0; }
.news-archive__nav li a { display: block; padding: 10px 14px; font-size: 14px; color: var(--color-text); text-decoration: none; border-left: 2px solid transparent; }
.news-archive__nav li.is-current a { background: #f2f2f2; border-left-color: var(--color-text); }
.news-archive__list { list-style: none; margin: 0; padding: 0; }
.news-archive__list li + li { margin-top: 24px; }
.news-archive__item { display: flex; align-items: center; gap: 32px; color: var(--color-text); text-decoration: none; }
.news-archive__thumb { flex: 0 0 160px; width: 160px; height: 120px; background: #b3b3b3; overflow: hidden; }
.news-archive__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-archive__meta { display: flex; gap: 14px; align-items: center; font-size: 12px; }
.news-archive__meta span { padding-left: 14px; border-left: 1px solid var(--color-text); line-height: 1; }
.news-archive__title { margin: 12px 0 0; font-family: var(--font-jp); font-size: 16px; font-weight: 500; line-height: 1.7; }
.news-archive__item:hover .news-archive__title { color: var(--color-green-mid); }
.news-archive .navigation.pagination { margin-top: 56px; }
.news-archive .nav-links { display: flex; justify-content: center; gap: 16px; font-size: 12px; }
.news-archive .nav-links a { color: var(--color-text-soft); text-decoration: none; }
.news-archive .nav-links .current { color: var(--color-text); font-weight: 600; }
.news-archive .screen-reader-text { position: absolute; left: -9999px; }

.news-single__crumb { padding-top: 24px; }
.news-single { max-width: 750px; margin: 56px auto 0; padding: 0 var(--gutter); }
.news-single__meta { display: flex; gap: 14px; align-items: center; font-size: 12px; }
.news-single__meta span { padding-left: 14px; border-left: 1px solid var(--color-text); line-height: 1; }
.news-single__title { margin: 16px 0 0; padding: 24px 50px; border: 1px solid var(--color-text); font-family: var(--font-jp); font-size: 24px; font-weight: 500; line-height: 1.6; }
.news-single__content { margin: 48px 50px 0; font-size: 14px; line-height: 2; }
.news-single__content img { max-width: 100%; height: auto; display: block; }
.news-single__back { display: flex; align-items: center; justify-content: center; position: relative; margin: 48px 50px 0; padding: 14px; border: 1px solid var(--color-text); font-size: 13px; color: var(--color-text); text-decoration: none; }
.news-single__back span { position: absolute; left: 24px; }

@media (max-width: 800px) {
  .news-archive { grid-template-columns: 1fr; gap: 32px; }
  .news-archive__nav ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .news-archive__thumb { flex-basis: 96px; width: 96px; height: 72px; }
  .news-archive__item { gap: 16px; }
  .news-single__title { padding: 16px 20px; font-size: 20px; }
  .news-single__content, .news-single__back { margin-left: 0; margin-right: 0; }
}

/* ==========================================================================
   採用情報 / 募集要項 / 採用に関するお問い合わせ
   ========================================================================== */
.rec-narrow { max-width: 900px; margin-left: auto; margin-right: auto; }
.rec-narrow > p { margin: 0 0 8px; }
.rec-values { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 56px 40px; }
.rec-values li { text-align: center; }
.rec-values__circle { width: 200px; height: 200px; margin: 0 auto 20px; border-radius: 50%; overflow: hidden; }
.rec-values__circle img { max-width: none; }
.rec-values span { font-size: 15px; line-height: 1.8; }

.rec-work { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center; }
.rec-work:not(:has(.rec-work__media)) { grid-template-columns: 1fr; }
.rec-work__media img { display: block; width: 100%; height: auto; }
.rec-work p { margin: 0; font-size: 14px; }

.rec-env { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--color-text); }
.rec-env h3 { margin: 0 0 16px; font-family: var(--font-jp); font-size: 22px; font-weight: 600; color: var(--color-green-dark); }
.rec-env__body.has-image { display: grid; grid-template-columns: 1fr 200px; gap: 40px; align-items: center; }
.rec-env__text p { margin: 0; }
.rec-env__bullets { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; font-size: 14px; line-height: 2; }
.rec-env__bullets li { padding-left: 1em; text-indent: -1em; break-inside: avoid; }
.rec-env__bullets li::before { content: "・"; }
.rec-env__media img { display: block; width: 100%; height: auto; }

.rec-banner { display: flex; align-items: center; justify-content: center; max-width: 700px; min-height: 240px; margin: 0 auto; background: #b3b3b3; color: var(--color-text); text-decoration: none; overflow: hidden; }
.rec-banner img { display: block; width: 100%; height: auto; max-width: none; }

.rec-job { margin-top: 56px; scroll-margin-top: 120px; }
.rec-job:first-child { margin-top: 0; }
.rec-job h3 { margin: 0 0 16px; font-family: var(--font-jp); font-size: 22px; font-weight: 600; color: var(--color-text); }
.rec-job__table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.9; }
.rec-job__table th, .rec-job__table td { border: 1px solid var(--color-text); padding: 14px 18px; vertical-align: top; text-align: left; }
.rec-job__table th { width: 150px; font-weight: 500; background: var(--color-green-pale); white-space: nowrap; }

.rec-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.rec-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 32px; height: 1px; background: var(--color-text); }
.rec-steps li { position: relative; text-align: left; }
.rec-steps__no { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%; background: var(--color-green-dark); color: #fff; font-family: var(--font-serif-en); font-size: 22px; line-height: 1; }
.rec-steps__no small { font-size: 9px; letter-spacing: 0.1em; margin-bottom: 2px; }
.rec-steps li:nth-child(2) .rec-steps__no { background: var(--color-green-mid); }
.rec-steps li:nth-child(3) .rec-steps__no { background: #8aa58f; }
.rec-steps li:nth-child(4) .rec-steps__no { background: var(--color-green-pale); color: var(--color-green-dark); }
.rec-steps h3 { margin: 0 0 8px; font-family: var(--font-jp); font-size: 20px; font-weight: 600; }
.rec-steps p { margin: 0; font-size: 13px; line-height: 1.9; }

/* フォーム（Contact Form 7 想定。/contact/ とも共通） */
.tp-form-wrap { max-width: 900px; margin: 0 auto; padding: 0 var(--gutter); }
.tp-form-lead { font-size: 13px; line-height: 2; margin: 0 0 64px; }
.tp-form p { margin: 0; }
.tp-form .tp-form__row { margin-bottom: 32px; }
.tp-form label, .tp-form .tp-form__label { display: block; margin-bottom: 10px; font-size: 13px; }
.tp-form .req { display: inline-block; margin-left: 8px; padding: 1px 6px; background: #c0272d; color: #fff; font-size: 10px; line-height: 1.6; vertical-align: middle; }
.tp-form input[type="text"], .tp-form input[type="email"], .tp-form input[type="tel"], .tp-form textarea { display: block; width: 100%; padding: 14px 16px; border: 1px solid var(--color-text); border-radius: 0; background: #fff; font-size: 14px; font-family: inherit; box-sizing: border-box; }
.tp-form textarea { min-height: 200px; resize: vertical; }
.tp-form ::placeholder { color: #aaa; }
.tp-form .tp-form__note { font-size: 12px; line-height: 1.9; margin: 40px 0 12px; }
.tp-form .tp-form__note a { color: var(--color-text); text-decoration: underline; }
.tp-form .tp-form__agree { margin-bottom: 40px; font-size: 13px; }
.tp-form .wpcf7-list-item { margin: 0; }
.tp-form input[type="submit"], .tp-form .wpcf7-submit { display: block; width: 100%; padding: 16px; border: 0; border-radius: 0; background: #000; color: #fff; font-size: 13px; cursor: pointer; }
.tp-form .wpcf7-not-valid-tip { color: #c0272d; font-size: 12px; margin-top: 6px; }
.tp-form .wpcf7-response-output { margin: 24px 0 0 !important; font-size: 13px; }

@media (max-width: 900px) {
  .rec-values { grid-template-columns: 1fr; }
  .rec-work { grid-template-columns: 1fr; }
  .rec-env__body.has-image { grid-template-columns: 1fr; }
  .rec-env__bullets { columns: 1; }
  .rec-job__table th { width: 96px; white-space: normal; }
  .rec-job__table th, .rec-job__table td { padding: 10px 12px; }
  .rec-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .rec-steps::before { display: none; }
}

/* ==========================================================================
   お問い合わせ（select）／ 個人情報保護方針 ／ 404
   ========================================================================== */
.tp-form select { display: block; width: 100%; padding: 14px 16px; border: 1px solid var(--color-text); border-radius: 0; background: #fff; font-size: 14px; font-family: inherit; box-sizing: border-box; color: var(--color-text); }
.tp-form-lead a { color: var(--color-text); text-decoration: underline; }

.privacy-body { max-width: 750px; margin: 0 auto; padding: 0 var(--gutter); }
.privacy-body__title { margin: 0 0 40px; font-family: var(--font-jp); font-size: 24px; font-weight: 500; }
.privacy-body__content { font-size: 13px; line-height: 2; }
.privacy-body__content p { margin: 0 0 20px; }

.notfound { max-width: 900px; margin: 40px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: center; }
.notfound__img img { display: block; width: 100%; height: auto; }
.notfound__num { font-family: var(--font-serif-en); font-size: 96px; line-height: 1; color: var(--color-green-mid); font-weight: 700; }
.notfound__text p { margin: 0; font-size: 13px; line-height: 2; }
.notfound__btn { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; padding: 16px 28px; border: 1px solid var(--color-text); color: var(--color-text); text-decoration: none; font-size: 13px; }
.notfound__btn:hover { background: var(--color-text); color: #fff; }
@media (max-width: 800px) {
  .notfound { grid-template-columns: 1fr; gap: 24px; }
}

/* サンクスページ */
.thanks { max-width: 600px; margin: 40px auto 0; padding: 0 var(--gutter); text-align: center; }
.thanks__title { margin: 0 0 32px; font-family: var(--font-jp); font-size: 26px; font-weight: 500; line-height: 1.6; color: var(--color-green-dark); }
.thanks__text { margin: 0; font-size: 14px; line-height: 2.2; }
.thanks__note { margin: 32px 0 0; font-size: 12px; line-height: 1.9; color: var(--color-text-soft); }
.thanks__btn { max-width: 360px; margin: 56px auto 0; }
