@charset "UTF-8";

/* =========================================================
   style.css — top page (index.html) specific styles
   ========================================================= */

/* =========================================================
   Header
   ========================================================= */
:root { --rail-w: 88px; }
@media (max-width: 768px) { :root { --rail-w: 64px; } }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  transition: background .3s var(--ease);
}
/* フロントページ＝ヒーロー動画の上に重ねる透過ヘッダー */
.site-header--overlay {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header--overlay::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.30), rgba(0,0,0,0));
}
.site-header--overlay .lang-switch { color: #fff; }
.site-header--overlay .lang-switch a.is-active { border-bottom-color: #fff; }
.site-header--overlay .lang-switch span { color: rgba(255,255,255,.55); }
/* ロゴ下地の白ボックス（右下のみ角丸・左端に密着） */
.site-header--overlay .site-logo {
  background: #fff;
  margin-left: calc(clamp(16px, 3vw, 36px) * -1);
  padding-left: clamp(16px, 3vw, 36px);
  padding-right: clamp(20px, 3vw, 32px);
  border-radius: 0 0 18px 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 88px;
  padding-left: clamp(16px, 3vw, 36px);
  padding-right: calc(var(--rail-w) + clamp(16px, 3vw, 36px));
}
@media (max-width: 768px) {
  .site-header__inner { height: 64px; padding-left: 18px; padding-right: calc(var(--rail-w) + 12px); }
}

/* right-edge rail: hamburger + recruit stacked */
.site-rail {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 51;
  display: flex;
  flex-direction: column;
  width: var(--rail-w);
}
.site-rail .menu-toggle,
.site-rail .header-recruit {
  width: var(--rail-w);
  height: var(--rail-w);
  margin: 0;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  height: 100%;
}
.site-logo img {
  height: clamp(36px, 4vw, 52px);
  width: auto;
  display: block;
}
@media (max-width: 768px) {
  .site-logo img { height: 34px; }
}
.site-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 28px);
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--ff-en);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--c-text-soft);
}
.lang-switch a { padding-bottom: 4px; }
.lang-switch a.is-active { border-bottom: 1.5px solid var(--c-text-soft); }
.lang-switch span { color: var(--c-border); }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--r-pill);
  background: var(--c-green);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
}
.header-cta:hover { background: var(--c-green-dark); opacity: 1; }
.header-cta::before {
  content: "";
  width: 18px; height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'><path d='M2 2h20v14H2zM2 2l10 8 10-8' fill='none' stroke='black' stroke-width='2'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'><path d='M2 2h20v14H2zM2 2l10 8 10-8' fill='none' stroke='black' stroke-width='2'/></svg>") center/contain no-repeat;
}
.header-recruit {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--c-navy);
  color: #fff;
  text-align: center;
  transition: background .25s var(--ease);
}
.header-recruit:hover { background: #28366b; opacity: 1; }
.header-recruit__icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  position: relative;
}
.header-recruit__icon::after {
  content: ""; position: absolute;
  width: 6px; height: 6px;
  background: currentColor;
  border-radius: 50%;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -75%);
}
.header-recruit__icon::before {
  content: ""; position: absolute;
  width: 12px; height: 6px;
  background: currentColor;
  border-radius: 6px 6px 0 0;
  inset: auto auto 4px 50%;
  transform: translateX(-50%);
}
.header-recruit__text { font-size: 11px; letter-spacing: 0.12em; }
/* --- エントリーボタン専用（全ページ適用のためstyle.cssへ移設 / 旧CSSアイコンのダブり防止） --- */
.header-recruit--entry { background: #c44649; }
.header-recruit--entry:hover { background: #ad3a3d; opacity: 1; }
.header-recruit__icon--entry {
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.header-recruit__icon--entry::before,
.header-recruit__icon--entry::after { content: none; }
/* 採用情報配下以外の右上ボタン（採用情報＝ネイビー・リンク先/recruitment/） */
.header-recruit--recruit { background: var(--c-navy); }
.header-recruit--recruit:hover { background: #28366b; opacity: 1; }
.menu-toggle {
  background: var(--c-green-dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  transition: background .25s var(--ease);
}
.menu-toggle:hover { background: #1f3329; }
.menu-toggle__bars {
  position: relative;
  width: 28px;
  height: 16px;
}
.menu-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.6px;
  background: currentColor;
  transition: transform .35s var(--ease), top .35s var(--ease), opacity .25s var(--ease);
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 7px; }
.menu-toggle__bars span:nth-child(3) { top: 14px; }
.is-menu-open .menu-toggle__bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.is-menu-open .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.is-menu-open .menu-toggle__bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Drawer menu */
.drawer {
  position: fixed;
  inset: 0;
  background: var(--c-green-dark);
  color: #fff;
  z-index: 49;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
  overflow-y: auto;
}
.is-menu-open .drawer { opacity: 1; pointer-events: auto; }
.is-menu-open .site-header,
.is-menu-open .site-rail { visibility: hidden; }

.drawer__topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(20px, 2.4vw, 32px) clamp(20px, 3vw, 40px) clamp(20px, 2.4vw, 32px) 0;
  background: var(--c-green-dark);
}
.drawer__lang {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-en);
  font-weight: 600;
  font-size: clamp(13px, 1.1vw, 15px);
  letter-spacing: 0.14em;
  align-self: center;
}
.drawer__lang a {
  color: #fff;
  padding-bottom: 2px;
}
.drawer__lang a.is-active { border-bottom: 1px solid #fff; }
.drawer__lang span { color: rgba(255,255,255,.5); }

.drawer__close {
  width: clamp(64px, 6vw, 88px);
  aspect-ratio: 1;
  background: #fff;
  border: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background .25s var(--ease);
}
.drawer__close:hover { background: #f1f1f1; }
.drawer__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42%;
  height: 1.8px;
  background: var(--c-green-dark);
}
.drawer__close span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.drawer__close span:nth-child(2) { transform: translate(-50%, -50%) rotate(-45deg); }

.drawer__body {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 40px) 0 clamp(60px, 6vw, 90px);
}

.drawer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 4vw, 80px);
  margin-bottom: clamp(48px, 5vw, 72px);
}
.drawer-col {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1vw, 14px);
}
.drawer-nav__group {
  border-bottom: 1px solid rgba(255,255,255,.22);
  padding-bottom: clamp(12px, 1.4vw, 20px);
  padding-top: clamp(8px, 1vw, 14px);
}
.drawer-nav__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 19px);
  letter-spacing: 0.08em;
  padding: 6px 4px;
}
.drawer-nav__main:hover { opacity: .85; }
.drawer-nav__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 22px;
  border-radius: 9999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.4);
  position: relative;
  flex-shrink: 0;
  transition: background .2s var(--ease);
}
.drawer-nav__arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.2px;
  background: #fff;
  transform: translate(-55%, -50%);
}
.drawer-nav__arrow::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1.2px solid #fff;
  border-right: 1.2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}
.drawer-nav__main:hover .drawer-nav__arrow { background: rgba(255,255,255,.22); }

.drawer-nav__sub {
  list-style: none;
  margin: clamp(10px, 1.2vw, 16px) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.6vw, 10px);
}
.drawer-nav__sub a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.92);
  font-size: clamp(12px, 0.95vw, 14px);
  letter-spacing: 0.06em;
  padding: 2px 4px 2px 16px;
}
.drawer-nav__sub a::before {
  content: "→";
  font-family: var(--ff-en);
  color: rgba(255,255,255,.7);
  font-size: 0.95em;
}
.drawer-nav__sub a:hover { color: #fff; }

.drawer-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
  margin-top: clamp(40px, 4vw, 60px);
}
.drawer-cta__contact {
  width: min(900px, 100%);
  background: #fff;
  color: var(--c-text);
  border-radius: 8px;
  padding: clamp(22px, 2.4vw, 32px) clamp(28px, 3vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 48px);
  font-weight: 700;
  font-size: clamp(15px, 1.3vw, 18px);
  letter-spacing: 0.06em;
  position: relative;
  transition: background .2s var(--ease);
}
.drawer-cta__contact:hover { background: #f5f5f5; opacity: 1; }
.drawer-cta__arrow {
  width: 44px;
  height: 22px;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid var(--c-green-dark);
  position: relative;
  flex-shrink: 0;
}
.drawer-cta__arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.2px;
  background: var(--c-green-dark);
  transform: translate(-55%, -50%);
}
.drawer-cta__arrow::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1.2px solid var(--c-green-dark);
  border-right: 1.2px solid var(--c-green-dark);
  transform: translateY(-50%) rotate(45deg);
}
.drawer-cta__tel {
  color: #fff;
  font-family: var(--ff-en);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 64px);
  letter-spacing: 0.02em;
  line-height: 1;
  margin-top: clamp(8px, 1vw, 16px);
}
.drawer-cta__hours {
  color: rgba(255,255,255,.85);
  font-size: clamp(12px, 0.95vw, 14px);
  letter-spacing: 0.1em;
  margin: 0;
}
.drawer-cta__legal {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,.7);
  font-size: clamp(12px, 0.9vw, 13px);
  letter-spacing: 0.08em;
  margin: clamp(6px, 1vw, 14px) 0 0;
}
.drawer-cta__legal a { color: rgba(255,255,255,.9); }
.drawer-cta__legal a:hover { color: #fff; }

@media (max-width: 768px) {
  .header-cta { display: none; }
  .lang-switch { font-size: 12px; }
  .header-recruit__text { font-size: 9px; }
  .drawer-nav { grid-template-columns: 1fr; gap: 0; }
  .drawer-nav__main { font-size: 16px; }
  .drawer-cta__contact { font-size: 14px; padding: 20px 24px; }
  .drawer-cta__tel { font-size: clamp(28px, 9vw, 44px); }
}

/* =========================================================
   Hero  — full-bleed video/illustration, title.svg overlaid left
   ========================================================= */
/* ========== 下層ページ共通ヒーロー（全面画像＋パンくず/タイトルをオーバーレイ・全ページ適用） ========== */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(360px, 28vw, 460px);
  padding-top: clamp(80px, 7vw, 110px);
  padding-bottom: clamp(20px, 3vw, 40px);
  overflow: hidden;
  background: #fff;
}
.page-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
}
.page-hero__crumb {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(12px, 0.95vw, 14px);
  color: var(--c-muted);
  letter-spacing: 0.08em;
  margin-bottom: clamp(16px, 2.2vw, 32px);
}
.page-hero__crumb a:hover { color: var(--c-green); }
.page-hero__title {
  font-family: var(--ff-en);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(38px, 4.5vw, 66px);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--c-green);
  margin: 0;
}
.page-hero__sub {
  font-family: var(--ff-jp);
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: 0.18em;
  color: var(--c-text);
  margin-top: clamp(16px, 1.6vw, 22px);
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #0b0f14; /* 動画読込前の下地（暗） */
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 62%, rgba(0,0,0,.35) 100%);
}
.hero__media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media video {
  opacity: 1;
}
.hero__pattern {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: url(../img/pattern-05.png) repeat;
  opacity: .4;
}
.hero__media--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 88px 0;
}
.hero__title {
  margin: 0;
  width: min(50%, 672px);  /* 画面中央 */
}
.hero__title img {
  width: 100%;
  height: auto;
  display: block;
}
.hero__scroll {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--c-navy-dark);
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: 0.24em;
  font-weight: 500;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 56px;
  background: currentColor;
  animation: scrollLine 1.8s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (max-width: 900px) {
  .hero { height: 100svh; min-height: 480px; }
  .hero__media { position: absolute; inset: 0; height: 100%; }
  .hero__media--split { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .hero__media video,
  .hero__media img { height: 100%; object-fit: cover; }
  .hero__content {
    position: relative;
    padding: 88px var(--pad-x) 32px;
    z-index: 2;
  }
  .hero__title { width: 100%; max-width: 520px; }
}
@media (max-width: 768px) {
  .hero__content { padding-top: 64px; }
  .hero__scroll { display: none; }
}

/* =========================================================
   About / Mission
   ========================================================= */
.about {
  position: relative;
  padding-block: clamp(72px, 9vw, 140px);
  overflow: hidden;
  background: #fff;
}
.about__layout {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(40px, 5vw, 88px);
  align-items: start;
}
.about__left { max-width: 680px; }
.about__eyebrow {
  font-family: "Lexend", var(--ff-en-body), system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: 0.04em;
  color: var(--c-green);
  text-transform: none;
  display: inline-block;
  margin-bottom: 18px;
}
.about__title {
  font-family: var(--ff-jp);
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--c-green);
  margin: 0 0 28px;
}
.about__lead {
  line-height: 2.0;
  font-size: 14.5px;
  color: var(--c-text);
  letter-spacing: 0.04em;
  margin-bottom: clamp(36px, 4vw, 52px);
  max-width: 580px;
}
.about__list {
  display: grid;
  gap: clamp(20px, 2vw, 32px);
  margin-bottom: clamp(36px, 4vw, 56px);
}
.about-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  align-items: start;
}
.about-item__num {
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 1;
  color: var(--c-green);
  letter-spacing: -0.02em;
  display: inline-block;
  border-bottom: 1.5px solid var(--c-green);
  padding-bottom: 6px;
  width: max-content;
}
.about-item__title {
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 19px);
  letter-spacing: 0.05em;
  color: var(--c-text);
  margin-bottom: 4px;
}
.about-item__body p {
  font-size: 13.5px;
  line-height: 1.85;
  color: #2f2f2d;
  letter-spacing: 0.03em;
}
.about__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Badges (2x2 grid on the right) */
.about__badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.4vw, 22px);
  max-width: 520px;
  justify-self: end;
  align-self: start;
  position: sticky;
  top: 110px;
}
.badge {
  aspect-ratio: 1;
  background: var(--c-green);
  background-image: radial-gradient(circle at 30% 25%, rgba(255,255,255,.10), transparent 65%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(18px, 2vw, 28px);
  line-height: 1.4;
  position: relative;
}
.badge__eyebrow {
  font-weight: 700;
  font-size: clamp(14px, 1.4vw, 18px);
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
}
.badge__title {
  font-weight: 400;
  font-size: clamp(10.5px, 0.95vw, 12.5px);
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: rgba(255,255,255,.92);
}
.badge__title em { font-style: normal; font-family: var(--ff-en); font-weight: 600; font-size: 1.15em; letter-spacing: 0.02em; }

@media (max-width: 980px) {
  /* SP: 1カラム縦積み。about__left を display:contents で分解し、
     バッジをリード直下へ並べ替え(websupport #4506)／CTAは中央寄せ(#4507)。
     グリッド由来の幅はみ出し(480px->右クリップ)も解消。 */
  .about__layout { display: flex; flex-direction: column; gap: 0; }
  .about__left { display: contents; }
  .about__eyebrow { order: 1; }
  .about__title   { order: 2; }
  .about__lead    { order: 3; }
  .about__badges  { order: 4; position: static; width: 100%; max-width: 480px; margin-inline: auto; margin-bottom: clamp(32px, 6vw, 52px); justify-self: auto; }
  .about__list    { order: 5; }
  .about__cta     { order: 6; justify-content: center; }
}
@media (max-width: 540px) {
  .about-item { grid-template-columns: 56px 1fr; gap: 16px; }
  .about__badges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .badge { padding: 12px; }
}

/* =========================================================
   Core Solution
   ========================================================= */
.core { background: #fff; }
.core__intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin-bottom: clamp(60px, 7vw, 100px);
}
.core__eyebrow {
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: clamp(44px, 7vw, 88px);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--c-green);
  margin: 0;
}
.core__sub {
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: 0.06em;
  color: var(--c-text);
  margin-top: 8px;
}
.core__lead {
  color: var(--c-text);
  font-size: 14.5px;
  letter-spacing: 0.04em;
  line-height: 1.9;
}
.core__rows {
  display: grid;
  gap: 0;
  /* not in .container - extends to viewport edges */
}
.core-row {
  display: grid;
  /* 3 columns: left gutter (matches container content edge), text, image-to-edge */
  grid-template-columns:
    calc((100vw - min(100vw, var(--container) + var(--pad-x) * 2)) / 2 + var(--pad-x))
    minmax(0, 1fr)
    minmax(0, 1.1fr);
  column-gap: 0;
  align-items: center;
  padding-block: clamp(40px, 5vw, 64px);
  position: relative;
}
.core-row::before { content: ""; } /* gutter column placeholder */
.core-row__copy {
  /* text aligns with .core__intro content start (no extra padding-left) */
  padding-right: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid #b9c0c8;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.core-row__eyebrow {
  font-family: var(--ff-en);
  font-weight: 600;
  font-size: clamp(16px, 1.5vw, 19px);
  letter-spacing: 0.08em;
  color: var(--c-green);
  margin-bottom: 14px;
}
.core-row__title {
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--c-green);
  margin-bottom: 18px;
}
.core-row__body {
  font-size: 16px;
  line-height: 1.95;
  color: var(--c-text);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.core-row__media {
  position: relative;
  /* Trapezoid: top is shorter, bottom-right corner extends downward,
     so the bottom side becomes longer than the top side */
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 77%);
  transition: transform .4s var(--ease);
}
.core-row__media img {
  width: 100%;
  height: auto;
  display: block;
}
.core-row:hover .core-row__media { transform: translateY(-4px); }

.core__more { margin-top: clamp(48px, 6vw, 72px); display: flex; justify-content: center; }
@media (max-width: 900px) {
  .core-row {
    grid-template-columns: var(--pad-x) minmax(0, 1fr);
    padding-right: var(--pad-x);
  }
  .core-row__copy { padding-right: 0; }
  .core-row__media {
    grid-column: 1 / -1;
    margin-top: 24px;
    margin-inline: calc(var(--pad-x) * -1);
  }
}

/* =========================================================
   Research & Development
   ========================================================= */
.rd {
  position: relative;
  color: #fff;
  background:
    linear-gradient(rgba(42, 69, 55, 0.82), rgba(42, 69, 55, 0.82)),
    url("../img/rd-bg-pattern.webp") center/cover no-repeat;
  overflow: hidden;
  padding-block: clamp(72px, 9vw, 140px);
}
.rd__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(48px, 6vw, 72px);
  position: relative;
  z-index: 1;
}
.rd__eyebrow {
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: 0.24em;
  color: #fff;
}
.rd__rule {
  display: inline-block;
  width: 56px;
  height: 1px;
  background: rgba(255,255,255,.5);
  margin: 4px 0 6px;
}
.rd__title {
  font-family: var(--ff-jp);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: 0.08em;
  color: #fff;
  line-height: 1.5;
  margin: 0;
}
.rd__lead {
  font-size: clamp(13px, 1.1vw, 15px);
  color: rgba(255,255,255,.78);
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.rd__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 28px);
  position: relative;
  z-index: 1;
}
.rd-card {
  background: #fff;
  color: var(--c-text);
  border-radius: clamp(8px, 1vw, 14px);
  padding: clamp(24px, 2.5vw, 36px) clamp(22px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--sh-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.rd-card:hover { transform: translateY(-4px); box-shadow: var(--sh-card-hover); opacity: 1; }
.rd-card__title {
  font-weight: 700;
  font-size: clamp(18px, 1.7vw, 22px);
  letter-spacing: 0.05em;
  color: var(--c-text);
  line-height: 1.5;
  margin: 0;
}
.rd-card__body {
  font-size: 16px;
  line-height: 1.9;
  color: #2f2f2d;
  letter-spacing: 0.03em;
  flex: 1;
}

.rd__more {
  margin-top: clamp(48px, 6vw, 72px);
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .rd__cards { grid-template-columns: 1fr; gap: 16px; }
}

/* =========================================================
   Resources & Works  (shares dark-green band w/ R&D)
   ========================================================= */
.rw {
  position: relative;
  background:
    linear-gradient(rgba(42, 69, 55, 0.82), rgba(42, 69, 55, 0.82)),
    url("../img/rd-bg-pattern.webp") center/cover no-repeat;
  color: #fff;
  padding-block: clamp(40px, 5vw, 80px) clamp(72px, 9vw, 140px);
  margin-top: -1px; /* eliminate seam between .rd and .rw */
}
.rw__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2vw, 28px);
}
.rw-card {
  background: #fff;
  color: var(--c-text);
  border-radius: clamp(10px, 1.2vw, 16px);
  padding: clamp(28px, 3.2vw, 44px);
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.rw-card:hover { transform: translateY(-3px); box-shadow: var(--sh-card); opacity: 1; }
.rw-card__heading {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  margin-bottom: clamp(14px, 1.8vw, 24px);
}
.rw-card__watermark {
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 84px);
  letter-spacing: 0.05em;
  line-height: 1;
  color: rgba(68, 106, 86, 0.16);  /* faint green watermark */
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  grid-area: 1 / 1;
}
.rw-card__title {
  grid-area: 1 / 1;
  z-index: 1;
  align-self: center;
  font-weight: 700;
  font-size: clamp(17px, 1.7vw, 21px);
  letter-spacing: 0.05em;
  color: var(--c-text);
  margin: 0;
  text-align: center;
}
.rw-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rw-card__lead {
  font-size: 16px;
  line-height: 1.9;
  color: #2f2f2d;
  letter-spacing: 0.03em;
}
.rw-card .btn-mini {
  margin-top: 8px;
  align-self: flex-start;
}
@media (max-width: 768px) {
  .rw__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Journal
   ========================================================= */
.journal {
  background-color: var(--c-bg-soft);
  background-image:
    linear-gradient(to right, rgba(68, 106, 86, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(68, 106, 86, 0.06) 1px, transparent 1px);
  background-size: 18px 18px;
  position: relative;
}
.journal__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.journal__eyebrow {
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--c-green);
  margin: 0;
}
.journal__rule {
  display: inline-block;
  width: 56px;
  height: 1px;
  background: var(--c-green);
  opacity: .6;
  margin: 8px 0 4px;
}
.journal__sub {
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--c-text);
}

.journal__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 2.8vw, 40px);
}
.journal-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .3s var(--ease);
}
.journal-card:hover { transform: translateY(-3px); opacity: 1; }
.journal-card__date {
  font-family: var(--ff-en);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--c-text);
}
.journal-card__media {
  position: relative;
  overflow: hidden;
  /* same trapezoid clip as Core Solution images */
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 77%);
  aspect-ratio: 16/10;
  background: var(--c-bg-soft);
}
.journal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.journal-card:hover .journal-card__media img { transform: scale(1.04); }
.journal-card__title {
  font-weight: 700;
  font-size: clamp(15px, 1.3vw, 17px);
  letter-spacing: 0.04em;
  line-height: 1.65;
  color: var(--c-green);
  margin: 6px 0 0;
}
.journal-card__body {
  font-size: 16px;
  line-height: 1.85;
  color: #2f2f2d;
  letter-spacing: 0.02em;
}
.journal__more { margin-top: clamp(48px, 6vw, 72px); display: flex; justify-content: center; }
@media (max-width: 900px) {
  .journal__cards { grid-template-columns: 1fr; }
}

/* =========================================================
   Recruit banner
   ========================================================= */
.recruit {
  position: relative;
  padding: clamp(40px, 5vw, 80px) clamp(20px, 4vw, 70px);
}
.recruit__inner {
  position: relative;
  overflow: hidden;
  border-radius: clamp(10px, 1.2vw, 18px);
  height: clamp(320px, 30vw, 480px);
  background: var(--c-green);
}
.recruit__media {
  position: absolute; inset: 0;
  background: url("../img/recruit-banner.webp?v=3") center/cover no-repeat; /* 写真差替 DSC06674 (#4590) */
}
.recruit__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 36px);
  padding-left: clamp(28px, 6vw, 90px);
  max-width: 720px;
}
.recruit__title {
  margin: 0;
}
.recruit__title img {
  display: block;
  width: 100%;
  max-width: clamp(280px, 42vw, 560px);
  height: auto;
}
.recruit__cta {
  align-self: flex-start;
}

/* 採用バナー 視認性確保：写真上に青の透過レイヤー＋テキスト白（#4590後続指示） */
.recruit__media::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(26, 58, 92, 0.5); /* #1a3a5c 濃紺を透過 */
}
.recruit__title img { filter: brightness(0) invert(1); } /* 濃紺SVG->白 */
.recruit__cta { color: #fff; }
.recruit__cta::after { background: #fff; color: #1a3a5c; }
.recruit__cta:hover::after { background: rgba(255,255,255,.85); }
.recruit__big {
  position: absolute;
  right: clamp(28px, 3.5vw, 56px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  writing-mode: vertical-rl;
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: clamp(44px, 6vw, 96px);
  letter-spacing: 0.08em;
  line-height: 1;
  color: rgba(255,255,255,.55);
  pointer-events: none;
  user-select: none;
}
@media (max-width: 768px) {
  .recruit__big { font-size: clamp(36px, 9vw, 64px); right: 18px; }
  .recruit__title img { max-width: 78%; }
}

/* =========================================================
   Contact  (sits on top of the footer)
   ========================================================= */
.contact {
  position: relative;
  color: #fff;
  background: linear-gradient(160deg, #34533e 0%, #2a4537 50%, #21382c 100%);
  padding-block: clamp(64px, 8vw, 110px) clamp(90px, 11vw, 160px);
  overflow: hidden;
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.contact__head { display: flex; flex-direction: column; gap: 18px; }
.contact__eyebrow {
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: 0.18em;
  color: #fff;
  display: inline-block;
  border-bottom: 1.5px solid #fff;
  padding-bottom: 12px;
  width: max-content;
}
.contact__title {
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: #fff;
  margin-top: 8px;
}
.contact__lead {
  font-size: 16px;
  line-height: 1.95;
  color: rgba(255,255,255,.92);
  letter-spacing: 0.04em;
}
.contact__panel {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vw, 28px);
  align-self: stretch;
  padding-top: clamp(40px, 5vw, 60px);
}
.contact-link {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 700;
  color: var(--c-green);
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: 0.06em;
  padding: clamp(20px, 2.4vw, 32px) clamp(24px, 3vw, 40px);
  min-height: 80px;
}
.contact-link__arrow {
  width: 56px;
  height: 28px;
  border-radius: var(--r-pill);
  background: var(--c-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-en);
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.contact__tel {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  color: #fff;
}
.contact__tel-num {
  font-family: var(--ff-en);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.1;
}
.contact__tel-hours { font-size: 13px; color: rgba(255,255,255,.85); letter-spacing: 0.04em; }
@media (max-width: 900px) {
  .contact__inner { grid-template-columns: 1fr; }
  .contact__panel { padding-top: 0; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: #fff;
  position: relative;
  margin-top: clamp(-90px, -8vw, -50px); /* pulls up to overlap green section */
  border-top-left-radius: clamp(28px, 4vw, 50px);
  border-top-right-radius: clamp(28px, 4vw, 50px);
  padding-block: clamp(48px, 6vw, 80px) 36px;
  z-index: 2;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.footer-logo img { height: clamp(48px, 4.6vw, 60px); }
.footer-brand__info {
  font-size: 14px;
  line-height: 2;
  color: var(--c-text);
  letter-spacing: 0.04em;
  font-style: normal;
}
.footer-bottom {
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 0;
  border-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom__copy { font-size: 12.5px; color: var(--c-text); letter-spacing: 0.04em; }
.footer-bottom__links {
  display: flex;
  gap: 24px;
  font-size: 13.5px;
  color: var(--c-text);
  letter-spacing: 0.04em;
}
@media (max-width: 540px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}


/* =========================================================
   SP微調整 — websupport #4555-4561 ほか (2026-07-06)
   ※モバイル切替点に合わせ <=900px で適用（<=540pxだと実機幅で効かない不具合を修正）。
   ========================================================= */
@media (max-width: 900px) {
  /* #4561 .container 左右padding(20.7)->40px（全ページ） */
  .container { padding-inline: 40px; }

  /* #4557 .rd__cards gap 16->40px（全ページ） */
  .rd__cards { gap: 40px; }

  /* #4560 .journal-card__title 15px/24.8 -> 18px/34px（全ページ） */
  .journal-card__title { font-size: 18px; line-height: 34px; }

  /* #4577 .badge__eyebrow 14px/19.6 -> 18px/34px（全ページ） */
  .badge__eyebrow { font-size: 18px; line-height: 34px; }

  /* #4578 .about-item__title 16px/28 -> 18px/34px（全ページ） */
  .about-item__title { font-size: 18px; line-height: 34px; }

  /* #4579 .rd-card__body 16px/30.4 -> 15px/28.4px（全ページ） */
  .rd-card__body { font-size: 15px; line-height: 28.4px; }

  /* セクション間の余白を100pxに統一（異色・同色連続とも合計100px）＝各セクション上下50px。
     全ページの<section>に適用（ヒーロー/パンくずバーは除外）。#4558/#4559もこの統一ルールに含める。 */
  section:not([class*="hero"]):not([class*="crumb"]) { padding-block: 50px; }

  /* トップページ: 色境界ごとに調整（異色隣接=各100px / 同色連続=各50px＝合計100px）。
     色構成: hero暗 / about白 service白 / development緑 resources緑 / journal淡 / recruit緑 / contact白 */
  body.home #about       { padding-block: 100px 50px; }
  body.home #service     { padding-block: 50px 100px; }
  body.home #development { padding-block: 100px 50px; }
  body.home #resources   { padding-block: 50px 100px; }
  body.home #journal     { padding-block: 100px; }
  body.home .recruit     { padding-block: 100px; }
  body.home #contact     { padding-block: 100px; }

  /* 下層ページ: 色帯セクションの差分（濃色帯=上下100px / 隣接白は各50px＝合計100px）。汎用クラスで対応。 */
  #main [class*="hero"] + section { padding-top: 0; } /* ヒーロー改修後: 最初のセクションは写真直下に詰める(#4592) */
  #main .biz-strengths, #main .company, #main .job-duties, #main .who, #main .recruit-cta { padding-block: 100px; }
  #main .biz-strengths + section, #main .company + section, #main .job-duties + section, #main .who + section, #main .recruit-cta + section { padding-top: 100px; }
  #main section:has(+ .biz-strengths), #main section:has(+ .company), #main section:has(+ .job-duties), #main section:has(+ .who), #main section:has(+ .recruit-cta) { padding-bottom: 100px; }
  #main .job-duties + .who { padding-top: 50px; }
  #main .job-duties:has(+ .who) { padding-bottom: 50px; }

  /* #4555+#4556 core-row: 画像を見出し(タイトル)直下へ／copyの下線削除（全core-row）
     copyをdisplay:contentsで分解し単一カラムgridでorder制御。
     display:contentsによりcopyのborder-bottomも消える(=#4556)。 */
  .core-row { display: grid; grid-template-columns: 1fr; padding-inline: var(--pad-x); }
  .core-row__copy { display: contents; }
  .core-row__eyebrow { order: 1; }
  .core-row__title   { order: 2; }
  .core-row__media   { order: 3; grid-column: 1 / -1; margin: 20px calc(var(--pad-x) * -1) 4px; }
  .core-row__body    { order: 4; }
  .core-row__copy .btn-mini { order: 5; justify-self: start; margin-top: 8px; }
}

/* =========================================================
   下層ページ ヒーロー SP: 写真を約2/3高さ＋テキスト/パンくずは写真の下へ（後続指示 2026-07-06）
   ========================================================= */
@media (max-width: 900px) {
  /* 標準ヒーロー(--split以外)。#main接頭辞でページ別CSS(service.css等の重複定義)に勝たせる */
  #main .page-hero:not(.page-hero--split) {
    display: block;
    min-height: 0;
    padding-top: 0;
    padding-bottom: clamp(28px, 6vw, 44px);
    overflow: visible;
  }
  #main .page-hero:not(.page-hero--split) .page-hero__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(210px, 58vw, 290px); /* 従来約360px の約2/3 */
  }
  #main .page-hero:not(.page-hero--split) .page-hero__inner {
    padding-top: clamp(22px, 5vw, 32px);
  }
  /* aboutus 等の --split: 写真を上へ並べ替え・2/3高さ、テキストは写真の下 */
  #main .page-hero--split { display: flex; flex-direction: column; }
  #main .page-hero--split .page-hero__media {
    order: -1;
    min-height: 0;
    height: clamp(210px, 58vw, 290px);
  }
  #main .page-hero--split .page-hero__text { padding-block: clamp(22px, 5vw, 32px) 0; }
}

/* 募集要項ヒーロー(.req-hero) も SP は写真上＋テキスト下（後続指示） */
@media (max-width: 900px) {
  /* 順序反転: パンくず→見出し→写真（社長指示 2026-07-08） */
  #main .req-hero {
    display: flex;
    flex-direction: column;
    padding-top: clamp(84px, 20vw, 104px); /* 固定ヘッダー64px + 余白 */
    min-height: 0;
    padding-bottom: 40px; /* #4778 */
    overflow: visible;
    background: #fff; /* ヒーロー背景は白（社長指示 2026-07-08）・テキストはnavy維持 */
  }
  #main .req-hero__inner { order: 1; padding-top: 0; }
  #main .req-hero__media {
    order: 2;
    position: relative;
    inset: auto;
    height: clamp(210px, 58vw, 290px);
    margin-top: clamp(20px, 5vw, 32px);
  }
  #main .req-hero__media::after { display: none; }
  #main .req-hero__crumb { margin-bottom: clamp(14px, 3vw, 22px); }
  #main .req-hero__row { max-width: 100%; }
}


.br-sp { display: none; } /* SPのみ改行ユーティリティ (2026-07-07) */

/* SP微調整 websupport #4593-4599 (2026-07-06) */
@media (max-width: 900px) {
  #main .strength-cards { grid-template-columns: repeat(2, 1fr); max-width: none; } /* #4593 2列2行 */
  #main .biz-strengths > .container { padding-inline: 16px; } /* 正円化に伴い円を大きく (2026-07-07) */
  #main .strength-cards { gap: 12px; } /* 同上 */
  #main .strength-card__label { font-size: 18px; line-height: 28px; } /* #4647,#4652 全ページSP */
  #main .prod-tag { font-size: 14px; margin-bottom: 10px; } /* #4653,#4655 全ページSP */
  #main .prod-item__tagline { margin-bottom: 10px; } /* #4659 全ページSP */
  #main .prod-item__desc { font-size: 15px; line-height: 30px; margin-bottom: 30px; } /* #4656,#4657 全ページSP */
  #main .prod-feat { margin: 4px 0 30px; } /* #4658 全ページSP */
  #main .page-hero__crumb { margin-bottom: 25px; } /* #4654 全ページSP */
  #main .pd-dot-list { gap: 15px; } /* #4733 全ページSP */
  #main .pd-content__body { gap: 100px; } /* 製品詳細ブロック間=同色セクションリズム100px (2026-07-08) */
  #main .dev-detail__body { gap: 100px; } /* 開発詳細ブロック間=同色セクションリズム100px (2026-07-08) */
  #main .pd-content { padding-bottom: 100px; } /* #4736 最終ブロック→フッター100px 全ページSP */
  #main #technical { margin-top: 60px; gap: 5px; } /* #4737,#4738 全ページSP */
  #main .docs { padding-bottom: 100px; } /* #4739 最終→フッター100px 全ページSP */
  #main .jrn-grid { gap: 50px 20px; } /* #4740,#4745 全ページSP */
  #main .jrn { padding-bottom: 100px; } /* #4741 全ページSP */
  #main .jrn-article > .container { padding-top: 70px; } /* #4742 ジャーナル記事に限定(全.containerは過剰) */
  #main .jrn-article__crumb { margin-bottom: 40px; } /* #4743 全ページSP */
  #main .jrn-article__body p { font-size: 14px; line-height: 28px; } /* #4744 ジャーナル本文に限定(全p.fade-upは過剰) */
  #main .jrn-other { padding-bottom: 100px; } /* #4746 全ページSP */
  #main .jrn-article__crumb { font-size: 12px; } /* #4747 */
  #main .jrn-article__tag { font-size: 12px; padding: 5px 10px; } /* #4748 */
  #main .page-hero__lead { font-size: 24px; line-height: 36px; text-align: center; margin-bottom: 40px; } /* #4749 aboutus固有 */
  #main .message__grid { gap: 80px; } /* #4751 */
  #main .message__lead { margin: 40px 0 20px; } /* #4752 */
  #main .message__paras p { font-size: 15px; line-height: 30px; } /* #4753 message限定(全pは過剰) */
  #main .partners { padding-bottom: 100px; } /* #4755 */
  #main .partners__cols { gap: 40px; } /* #4756 */
  #main .company-table > div { grid-template-columns: 1fr; gap: 6px; } /* #4754 会社概要を2段(dt上/dd下) */
  #main .mvv-values li { position: relative; padding: 0; border-radius: 50%; } /* #4750 正円(padding-hack) */
  #main .mvv-values li::before { content: ""; display: block; padding-top: 100%; }
  #main .mvv-values li > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 8px; }
  #main .cf { padding-bottom: 100px; } /* #4757 contact */
  #main .recruit-hero__catch-pc { display: none; } /* 採用トップSPヒーロー差替 */
  #main .recruit-hero__catch-sp { display: block; }
  #main .recruit-hero__sub { display: none; }
  #main .recruit-hero__catch { max-width: min(80vw, 360px); }
  #main .recruit-hero__media::after { display: none; } /* SP: 白グラデ除去(社長指示) */
  #main .recruit-hero { align-items: flex-end; } /* SP: コピーを垂直下へ */
  #main .recruit-hero__catch-sp { filter: brightness(0) invert(1); } /* SP: SVGコピーを白化(視認性・社長指示) */
  #main .recruit-hero__crumb, #main .recruit-hero__crumb a { color: #fff; } /* SP: パンくずも白 */
  #main .recruit-intro__head { margin-top: 60px; } /* #4759 */
  #main .recruit-intro__body p { font-size: 15px; line-height: 30px; } /* #4760 recruit-intro限定(全pは過剰) */
  #main .recruit-intro__body p:nth-of-type(3) { margin-top: 15px; } /* #4761 3段落目のみ */
  #main .assignment__head { padding-top: 40px; } /* #4762 */
  #main .assignment__lead { font-size: 15px; } /* #4763 */
  #main .why-itl__title { display: block; } /* #4764 SPで改行外し続けて表示 */
  #main .why-itl__title span { display: inline; }
  #main .why-card__title { margin-bottom: 5px; } /* #4765 */
  #main .why-card { margin-bottom: 50px; } /* #4766 */
  #main .job-duties__list { gap: 20px; } /* #4767 */
  #main .who__col { gap: 20px; } /* #4768 */
  #main .why-itl__cards::before { display: none; } /* #4774 SP1列で横切る装飾線を削除 */
  #main .job-duties + .who { padding-top: 100px; } /* #4775 (同色境界差分50を上書き・社長指示) */
  #main .job-duties__inner { padding-bottom: 100px; } /* #4776 job-dutiesコンテナに限定(全.containerは過剰) */
  #main .bn-card__title { margin-bottom: 0; } /* #4779 */
  #main .req-process__steps { display: flex; grid-template-columns: none; overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; gap: 14px; margin: 0 calc(-1 * var(--pad-x)) clamp(20px,5vw,32px); padding: 0 var(--pad-x) 14px; scrollbar-width: thin; } /* #4780 横スクロール化 */
  #main .req-process__steps > .pr-step { flex: 0 0 auto; width: min(66vw, 240px); min-height: 0; scroll-snap-align: start; } /* #4780 カード幅=次がのぞく */
  #main .req-process__swipe { display: block; text-align: center; font-size: 12px; letter-spacing: 0.1em; color: var(--c-muted, #7a8194); margin: 0 0 10px; } /* #4780 スクロール可視化 */
  #main .entry-form { gap: 40px; } /* #4781 */
  #main .entry { padding-bottom: 100px; } /* #4782 */
  #main .voice__cards { gap: 50px; } /* #4783 */
  .br-sp { display: inline; } /* #4648 SPのみ改行 */
  #main .product-card__title { font-size: 20px; } /* #4595 全ページ */
  #main .biz-rd { padding-bottom: 100px; } /* #4596 この要素のみ */
  #contact { padding-block: 100px; } /* #4599 全#contact */
  #contact > .container { padding-bottom: 100px; } /* #4598 contactに限定(全.containerは過剰) */
  .biz-area__lead .sp-br { display: none; } /* #4594 SPで改行を外す */
}

/* 正円: 極小画面は1列で余裕を持たせる (2026-07-07) */
@media (max-width: 360px) {
  #main .strength-cards { grid-template-columns: 1fr; max-width: 300px; margin-inline: auto; }
}

/* == websupport 2026-07-22 batch (#5854/5856/5857/5862-3/5866/5867/5869/5872) == */
/* #5856 CONTACT: 電話番号を消しフォームへ誘導（全ページ共通CTA） */
.contact__tel { display: none; }

/* #5867 Footer: ロゴ・住所をセンタリング、角丸を控えめに */
.site-footer {
  border-top-left-radius: clamp(14px, 1.6vw, 18px);
  border-top-right-radius: clamp(14px, 1.6vw, 18px);
}
.site-footer__inner { align-items: center; text-align: center; }
.footer-brand__info { text-align: center; }

/* #5854 トップ RESEARCH&DEVELOPMENT の緑背景を明るめに（homeのみ） */
body.home #development {
  background:
    linear-gradient(rgba(58, 92, 74, 0.66), rgba(58, 92, 74, 0.66)),
    url("../img/rd-bg-pattern.webp") center/cover no-repeat;
}

/* == footer copyright center 2026-07-22 == */
/* footer 著作権・プライバシーを中央寄せ（縦積み・ロゴ/住所の中央寄せと統一） */
.footer-bottom {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}
.footer-bottom__links { text-align: center; }

/* トップの研究開発カード：タグが複数のときに横並びにする（.rd-card は縦のflexなので包む） */
.rd-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
