@charset "UTF-8";
/* ==========================================================================
   合同会社MuOG コーポレートサイト
   基準デザイン：PC 1440px / SP 390px
   ブレークポイント：〜1100px（タブレット調整）／〜840px（メニュー切替）／〜540px（スマホ）
   ========================================================================== */

:root {
  --c-text: #111;
  --c-black: #000;
  --c-dark: #111;
  --c-footer: #101010;
  --c-bg: #f8f7f6;
  --c-gray: #e8e8e8;
  --c-white: #fff;
  --c-muted: #aaa;
  --c-line: #ddd;
  --c-red: #f23a3c;
  --font: Montserrat, "Noto Sans JP", sans-serif;
  --pad: 128px;          /* 左右の余白 */
  --radius: 8px;
}

/* ---------- リセット ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.icon { flex: none; display: inline-block; vertical-align: middle; }

/* ---------- 共通レイアウト ---------- */
.inner {
  width: 100%;
  max-width: calc(1184px + var(--pad) * 2);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.inner--narrow { max-width: calc(984px + 228px * 2); padding: 0 228px; }
.section { padding: 40px 0 120px; }
.section--gray { background: var(--c-bg); }
.section-title {
  margin-left: -20px;
  color: var(--c-black);
  font-size: 64px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font);
  white-space: nowrap;
  transition: opacity .2s;
}
.btn:hover { opacity: .8; }
.btn--lg { height: 62px; padding: 0 48px; font-size: 16px; font-weight: 500; }
.btn--sm { height: 51px; padding: 0 24px; font-size: 14px; font-weight: 700; letter-spacing: .05em; }
.btn--dark { background: var(--c-dark); color: var(--c-white); }
.btn--white { background: var(--c-white); color: var(--c-text); }
.btn--lg .icon { margin-left: 4px; }
.btn--sm .icon { margin-left: 4px; }
.text-link {
  display: inline-flex; align-items: center; gap: 2px;
  font-size: 14px; font-weight: 500;
  transition: opacity .2s;
}
.text-link:hover { opacity: .6; }
.view-more {
  display: inline-flex; align-items: center;
  font-size: 14px; font-weight: 500; line-height: 20px;
  transition: opacity .2s;
}
.view-more:hover { opacity: .6; }

/* ==========================================================================
   ヘッダー（ヒーローの上に浮かぶ白い角丸バー）
   ========================================================================== */
.site-header {
  position: fixed;
  top: 42px;
  left: 24px;
  right: 24px;
  z-index: 100;
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 69px;
  padding: 0 24px;
  background: var(--c-white);
  border-radius: var(--radius);
}
.site-header__logo { display: block; width: 179px; }
.site-header__logo img { width: 78px; height: auto; }
.global-nav { margin-left: 24px; }
.global-nav ul { display: flex; gap: 32px; }
.global-nav a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .05em;
  white-space: nowrap;
  transition: opacity .2s;
}
.global-nav a:hover { opacity: .6; }
.menu-toggle { display: none; }

/* ==========================================================================
   トップ：メインビジュアル
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  padding: 305px 0 120px;
  background: #3b4f66 url(../img/hero.webp) center / cover no-repeat;
  color: var(--c-white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 35, .28);
}
.hero__inner { position: relative; }
.hero__title {
  margin-left: 13px;
  font-size: 72px;
  font-weight: 500;
  line-height: 1.2;
}
.hero__lead { margin-top: 89px; font-size: 28px; line-height: 1.6; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 48px; }
.hero__scroll {
  position: absolute;
  top: 494px;
  right: 48px;
  writing-mode: vertical-rl;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .15em;
  line-height: 20px;
}
.hero__scroll::after {
  content: "";
  position: absolute;
  top: 96px;
  left: 50%;
  width: 1px;
  height: 300px;
  background: rgba(255, 255, 255, .7);
}

/* ---------- 課題提起（黒背景） ---------- */
.problem {
  padding: 96px 0 96px;
  background: var(--c-dark);
  color: var(--c-white);
}
.problem__question,
.problem__title {
  font-size: 64px;
  font-weight: 500;
  line-height: 1.2;
}
.problem__title { margin-top: 32px; }
.problem__body {
  display: grid;
  grid-template-columns: 414px minmax(0, 621px);
  margin-top: 96px;
  padding-left: 118px;
}
.problem__catch {
  font-size: 32px;
  line-height: 1.6;
  letter-spacing: .05em;
}
.problem__text {
  padding-top: 12px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .05em;
}
.problem__note { margin-top: 26px; }
.problem__note + .problem__note { margin-top: 16px; }

/* ---------- サービス（トップ） ---------- */
.section-head--stack .view-more { margin-top: 0; }
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.section-head--row .view-more { margin-bottom: 0; }
.service-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 96px;
}
.service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 352px;
  padding: 64px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #333;
  color: var(--c-white);
  text-align: center;
}
.service-tile--wide { grid-column: 1 / -1; min-height: 327px; }
.service-tile__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, .42);
}
.service-tile > :not(img) { position: relative; z-index: 2; }
.service-tile__title { font-size: 36px; font-weight: 600; line-height: 1.4; }
.service-tile__text {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: .05em;
}
.service-tile .btn { width: 234px; margin-top: 48px; }

/* ---------- CTA ---------- */
.cta {
  padding: 120px 0;
  background: var(--c-gray);
  text-align: center;
}
.cta__title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .05em;
}
.cta__text {
  margin-top: 24px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .05em;
}
.cta .btn { width: 212px; margin-top: 47px; padding: 0; }

/* ---------- ニュース ---------- */
.news-list { display: flex; flex-wrap: wrap; gap: 24px; }
.news-list--top { margin-top: 48px; }
.news-card {
  display: block;
  width: 312px;
  padding: 24px;
  background: var(--c-white);
  border-radius: var(--radius);
  transition: opacity .2s;
}
.news-card:hover { opacity: .75; }
.news-card__img { overflow: hidden; border-radius: 4px; aspect-ratio: 264 / 180; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; }
.news-card__title {
  margin-top: 36px;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: .05em;
}
.news-card__date {
  margin-top: 12px;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: .05em;
}
.top-news { padding-bottom: 120px; }

/* ---------- イメージ写真 ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; }
.gallery img { width: 100%; height: 360px; object-fit: cover; }

/* ---------- 採用（トップ） ---------- */
.top-careers__inner {
  display: grid;
  grid-template-columns: minmax(0, 444px) minmax(0, 590px);
  justify-content: space-between;
  gap: 48px;
  max-width: 1440px;
  padding-right: 130px;
}
.top-careers__body {
  margin-top: -10px;
  font-size: 16px;
  line-height: 1.9;
}
.top-careers__body p + p { margin-top: 23px; }
.top-careers .btn { width: 225px; margin-top: 48px; padding: 0; }
.top-careers__img { padding-top: 75px; }
.top-careers__img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer {
  padding: 96px 0 97px;
  background: var(--c-footer);
  color: var(--c-white);
}
.footer-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 178px;
  padding: 48px;
  background: var(--c-white);
  color: var(--c-text);
  border-radius: var(--radius);
  transition: opacity .2s;
}
.footer-card:hover { opacity: .85; }
.footer-card__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .05em;
}
.badge {
  display: inline-block;
  padding: 6px 12px;
  background: var(--c-dark);
  color: var(--c-white);
  border-radius: 80px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .05em;
}
.footer-card__text {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: .05em;
}
.footer-card__text--normal { font-weight: 400; }
.footer-card__arrow { flex: none; }

.footer-main {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 96px;
  padding: 0 24px 0 var(--pad);
}
.footer-main__logo {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 1160px;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}
/* 元サイトでは幅36pxに押し込まれ「ホー/ム」と折り返していたため、幅を確保して1行表示 */
.footer-nav { flex: none; width: 96px; }
.footer-nav ul { display: flex; flex-direction: column; gap: 32px; }
.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: .05em;
  white-space: nowrap;
  transition: opacity .2s;
}
.footer-nav a:hover { opacity: .6; }
.footer-nav .icon { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 59px;
}
.footer-bottom__copy small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
}
.footer-bottom__links { display: flex; align-items: center; gap: 12px; }
.footer-bottom__links a,
.footer-bottom__presskit {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  line-height: 1.4;
}
.footer-bottom__links a { transition: opacity .2s; }
.footer-bottom__links a:hover { opacity: .6; }
.footer-bottom__presskit .icon { width: 16px; height: 16px; }

/* ==========================================================================
   下層ページ共通：ページ見出し（ぼかし写真）
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  height: 382px;
  padding-top: 168px;
  background: #333;
  color: var(--c-white);
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: url(../img/page-header.webp) center / cover no-repeat;
  filter: blur(5px);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .38);
}
.page-hero .inner { position: relative; z-index: 1; }
.page-hero__title { font-size: 72px; font-weight: 500; line-height: 1.2; }
.page-hero__sub { margin-top: 12px; font-size: 14px; font-weight: 700; line-height: 1.4; }

/* ==========================================================================
   会社情報
   ========================================================================== */
.mission { padding-bottom: 120px; }
.mission__inner {
  display: grid;
  grid-template-columns: minmax(0, 464px) minmax(0, 704px);
  justify-content: space-between;
  gap: 16px;
  margin-top: 3px;
}
.mission__text { padding-top: 48px; }
.mission__catch { margin-bottom: 48px; font-size: 24px; line-height: 1.4; }
.mission__text p:not(.mission__catch) { font-size: 16px; line-height: 1.6; }
.mission__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 24px;
}
.mission__images img {
  width: 100%;
  aspect-ratio: 340 / 222;
  object-fit: cover;
  border-radius: var(--radius);
}

.values { padding: 120px 0; background: var(--c-white); }
.values__inner {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 544px);
  justify-content: start;
  gap: 96px;
}
.values__img img {
  width: 100%;
  aspect-ratio: 480 / 417;
  object-fit: cover;
  border-radius: var(--radius);
}
.values__title { color: #333; font-size: 48px; font-weight: 600; line-height: 1; }
.values__lead { margin-top: 48px; font-size: 16px; line-height: 1.6; }
.values__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 47px 48px;
  margin-top: 48px;
}
.values__list dt { font-size: 20px; font-weight: 500; line-height: 1.4; }
.values__list dd { margin-top: 6px; font-size: 13px; line-height: 1.6; }

.message { padding-bottom: 160px; }
.message__inner {
  display: grid;
  grid-template-columns: minmax(0, 636px) minmax(0, 500px);
  justify-content: space-between;
  gap: 48px;
  margin-top: 36px;
}
.message__title { font-size: 48px; font-weight: 600; line-height: 1; }
.message__text {
  margin-top: 24px;
  color: #333;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .1em;
}
.message__profile {
  margin-top: 20px;
  padding: 30px 35px;
  background: #eee;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
}
.message__profile p + p { margin-top: 30.4px; }
.message__img { padding-top: 170px; }
.message__img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.about { padding: 120px 0; background: var(--c-white); }
.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 608px);
  justify-content: space-between;
  gap: 48px;
}
.about__img img {
  width: 100%;
  aspect-ratio: 480 / 549;
  object-fit: cover;
  border-radius: var(--radius);
}
.about__body { margin-top: -80px; }
.about__table { margin-top: 52px; border-top: 1px solid var(--c-line); }
.about__table > div {
  display: flex;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 16px;
  line-height: 1.4;
}
.about__table dt { flex: none; }

/* ==========================================================================
   事業内容
   ========================================================================== */
.services__lead {
  margin-top: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 2.5;
}
.service-cards { display: grid; gap: 64px; margin-top: 96px; }
.service-card {
  display: grid;
  grid-template-columns: minmax(0, 555px) minmax(0, 437px);
  justify-content: space-between;
  gap: 48px;
  padding: 48px;
  background: var(--c-white);
  border-radius: var(--radius);
}
.service-card__title { font-size: 48px; font-weight: 600; line-height: 1; }
.service-card__sub { margin-top: 12px; font-size: 16px; line-height: 1.6; }
.service-card__text { margin-top: 34px; font-size: 14px; font-weight: 400; line-height: 1.6; }
.service-card .btn { width: 190px; margin-top: 34px; padding: 0; }
.service-card__img img {
  width: 100%;
  aspect-ratio: 437 / 320;
  object-fit: cover;
  border-radius: var(--radius);
}
.services { padding-bottom: 160px; }

/* ==========================================================================
   ニュース一覧・記事
   ========================================================================== */
.news-index { padding: 96px 0; }
.news-index__inner { display: flex; align-items: flex-start; gap: 64px; }
.news-category {
  flex: none;
  width: 220px;
  padding: 12px 24px;
  background: var(--c-white);
  border-radius: var(--radius);
}
.news-category__title { font-size: 20px; font-weight: 500; line-height: 28px; padding: 12px 0; }
.news-category a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  font-size: 14px;
  font-weight: 600;
}
.news-index__main { flex: 1; min-width: 0; }
.news-index__title { font-size: 32px; font-weight: 600; line-height: 1.4; }
.news-index .news-list { margin-top: 48px; }
.news-index .news-card { width: 284px; }
.news-index .news-card__img { aspect-ratio: 236 / 160; }

.article { padding: 96px 0 120px; }
.article__box {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px;
  background: var(--c-white);
  border-radius: var(--radius);
}
.article__date { color: var(--c-muted); font-size: 14px; letter-spacing: .05em; }
.article__title { margin-top: 8px; font-size: 32px; font-weight: 600; line-height: 1.4; }
.article__img { margin-top: 32px; overflow: hidden; border-radius: var(--radius); }
.article__img img { width: 100%; }
.article__body { margin-top: 32px; font-size: 16px; line-height: 1.9; }
.article__back { margin-top: 48px; text-align: center; }

/* ==========================================================================
   お問い合わせ・完了・プライバシーポリシー
   ========================================================================== */
.simple-page { padding: 184px 0 120px; }
.simple-page__inner { max-width: calc(684px + var(--pad) * 2); text-align: center; }
.simple-page__label { font-size: 14px; font-weight: 500; line-height: 1.4; }
.simple-page__title { margin-top: 24px; font-size: 36px; font-weight: 500; line-height: 1.4; }
.simple-page__text { margin-top: 24px; font-size: 14px; font-weight: 400; line-height: 1.6; }
.simple-page__back { margin-top: 48px; }
.simple-page:not(.contact):not(.policy) { min-height: 599px; }

.contact-form {
  max-width: 780px;
  margin: 64px auto 0;
  padding: 48px;
  background: var(--c-white);
  border-radius: var(--radius);
}
.form-alert {
  margin-bottom: 24px;
  padding: 12px 16px;
  border: 1px solid var(--c-red);
  border-radius: 4px;
  color: var(--c-red);
  font-size: 14px;
}
.form-row + .form-row { margin-top: 24px; }
.form-label { display: block; font-size: 16px; font-weight: 500; line-height: 1.4; }
.req { margin-left: 5px; color: var(--c-red); font-size: 15px; font-weight: 700; }
.form-input {
  display: block;
  width: 100%;
  height: 50px;
  margin-top: 10px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
}
.form-input::placeholder { color: #ccc; }
.form-input:focus { outline: none; border-color: #999; background: var(--c-white); }
.form-textarea { height: 160px; padding: 12px; line-height: 1.6; resize: vertical; }
.is-error .form-input { border-color: var(--c-red); }
.form-error { margin-top: 6px; color: var(--c-red); font-size: 14px; font-weight: 500; }
.form-consent { margin-top: 48px; text-align: center; font-size: 14px; font-weight: 400; }
.form-consent label { cursor: pointer; }
.form-consent input { margin: 0 6px 0 0; vertical-align: -1px; }
.form-consent a { text-decoration: underline; text-underline-offset: 2px; }
.form-submit { margin-top: 23px; text-align: center; }
.btn--submit { width: 200px; padding: 0; border-radius: 10px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.policy { padding-bottom: 184px; }
.policy__body {
  margin-top: 72px;
  text-align: left;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .05em;
}
.policy__body h2 {
  margin-top: 48px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
}
.policy__body h2 + p { margin-top: 24px; }
.policy__body p + p { margin-top: 24px; }
.policy__body a { color: #115cf1; font-weight: 700; text-decoration: underline; word-break: break-all; }
.policy__date { margin-top: 24px; }

/* ==========================================================================
   採用（準備中）・404
   ========================================================================== */
.notice-visual {
  position: relative;
  height: 613px;
  background: #f2f2f2 url(../img/careers-preparing.webp) center / contain no-repeat;
}
.notice-visual__back {
  position: absolute;
  top: 371px;
  left: 50%;
  transform: translateX(-50%);
}
.notfound { padding: 140px 0 96px; text-align: center; }
.notfound__img { width: 768px; margin: 0 auto; border-radius: var(--radius); }
.notfound__back { margin-top: 32px; }

/* ==========================================================================
   スクロール表示アニメーション（JS有効時のみ）
   ========================================================================== */
.js .fade { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .fade.is-shown { opacity: 1; transform: none; }
/* ==========================================================================
   採用情報
   ========================================================================== */
.careers-message { padding-bottom: 120px; }
.careers-person { background: var(--c-white); }
.careers-message__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: 64px;
  align-items: start;
}
.careers-message__catch { margin: 40px 0 32px; font-size: 24px; font-weight: 500; line-height: 1.6; }
.careers-message__body p:not(.careers-message__catch) { margin-top: 20px; font-size: 16px; line-height: 1.9; }
.careers-message__img { padding-top: 96px; }
.careers-message__img img { width: 100%; height: auto; border-radius: 8px; }
.careers-lead { margin-top: 8px; font-size: 16px; font-weight: 700; letter-spacing: .05em; }
.careers-person__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
}
.careers-person__list li { padding: 40px 32px; border-radius: 8px; background: var(--c-bg); }
.careers-person__num { display: block; color: #aaa; font-size: 14px; font-weight: 600; letter-spacing: .1em; }
.careers-person__list h3 { margin-top: 16px; font-size: 20px; font-weight: 600; line-height: 1.5; }
.careers-person__list p { margin-top: 16px; font-size: 15px; line-height: 1.8; }
.careers-job__table { max-width: 880px; margin-top: 48px; }
.careers-job__table dt { width: 140px; font-weight: 600; }
.careers-job__table dd { line-height: 1.7; }
.careers-entry .btn { width: 240px; }

/* お問い合わせ種別（セレクト） */
.form-select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z' fill='%23111'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  cursor: pointer;
}

@media (max-width: 840px) {
  .careers-message__inner { grid-template-columns: 1fr; gap: 32px; }
  .careers-message__img { padding-top: 0; order: -1; }
  .careers-person__list { grid-template-columns: 1fr; gap: 16px; }
  .careers-person__list li { padding: 32px 24px; }
  .careers-job__table > div { flex-direction: column; gap: 6px; }
  .careers-job__table dt { width: auto; }
}
@media (max-width: 540px) {
  .careers-message__catch { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .fade { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   タブレット（〜1100px）
   ========================================================================== */
@media (max-width: 1100px) {
  :root { --pad: 48px; }
  .inner--narrow, .top-careers__inner { padding: 0 var(--pad); }
  .hero__title { font-size: 60px; margin-left: 0; }
  .hero__lead { font-size: 24px; }
  .problem__question, .problem__title { font-size: 52px; }
  .problem__body { grid-template-columns: 1fr 1.4fr; gap: 32px; padding-left: 0; }
  .problem__catch { font-size: 28px; }
  .section-title { margin-left: 0; font-size: 56px; }
  .mission__inner, .values__inner, .message__inner, .about__inner { gap: 40px; }
  .values__title, .message__title { font-size: 40px; }
  .message__text { font-size: 18px; }
  .message__img { padding-top: 120px; }
  .service-card { grid-template-columns: 1fr 1fr; }
  .footer-main { padding-left: var(--pad); }
}

/* ==========================================================================
   〜840px：ハンバーガーメニュー・1カラム化
   ========================================================================== */
@media (max-width: 840px) {
  .site-header { top: 30px; left: 12px; right: 12px; }
  .site-header__bar { justify-content: space-between; height: 56px; padding: 0 16px 0 20px; }
  .site-header__logo { width: auto; }
  .site-header__logo img { width: 66px; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 40px;
    padding: 0 4px;
    border: 0;
    background: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
  }
  .menu-toggle .icon { width: 20px; height: 20px; }
  .menu-toggle .icon--close { display: none; }
  .menu-toggle[aria-expanded="true"] .icon--menu { display: none; }
  .menu-toggle[aria-expanded="true"] .icon--close { display: inline-block; }
  .global-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 20px;
    background: var(--c-white);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  }
  .global-nav.is-open { display: block; }
  .global-nav ul { flex-direction: column; gap: 0; }
  .global-nav li + li { border-top: 1px solid #eee; }
  .global-nav a { padding: 16px 0; font-size: 15px; }

  .hero { padding: 160px 0 96px; }
  .hero__scroll { display: none; }
  .problem__body { grid-template-columns: 1fr; gap: 32px; margin-top: 64px; }
  .service-tiles { grid-template-columns: 1fr; gap: 48px; margin-top: 56px; }
  .service-tile, .service-tile--wide { min-height: 0; padding: 48px 24px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: auto; aspect-ratio: 390 / 253; }
  .top-careers__inner { grid-template-columns: 1fr; gap: 0; }
  .top-careers__img { order: -1; padding-top: 0; margin-bottom: 24px; }
  .top-careers__img img { height: auto; aspect-ratio: 342 / 240; }
  .top-careers__body { margin-top: 24px; }

  .mission__inner, .values__inner, .message__inner, .about__inner { grid-template-columns: 1fr; }
  .mission__inner { margin-top: 0; }
  .mission__text { padding-top: 48px; }
  .values__img { order: 1; }
  .message__img { padding-top: 0; }
  .about__body { margin-top: 0; }
  .about__img { order: 1; }
  .service-card { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .service-card__img { order: -1; }
  .news-index__inner { flex-direction: column-reverse; gap: 64px; }
  .news-category { width: 100%; }
  .news-index__main { width: 100%; }

  .footer-cards { grid-template-columns: 1fr; gap: 48px; }
  .footer-main { flex-direction: column; align-items: stretch; gap: 32px; padding: 0 var(--pad); }
  .footer-main__logo { flex: none; width: 100%; }
  .footer-nav { width: auto; }
  .footer-nav ul { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 16px 24px; }
  .footer-bottom { flex-direction: column-reverse; gap: 24px; margin-top: 40px; }
}

/* ==========================================================================
   スマホ（〜540px）
   ========================================================================== */
@media (max-width: 540px) {
  :root { --pad: 24px; }
  .btn--lg { width: 100%; }
  .hero { padding-top: 168px; }
  .hero__title { font-size: 34px; line-height: 1.35; }
  .hero__lead { margin-top: 40px; font-size: 20px; line-height: 1.8; }
  .hero__buttons { flex-direction: column; gap: 24px; margin-top: 48px; }

  .problem { padding: 72px 0; }
  .problem__question, .problem__title { font-size: 30px; line-height: 1.3; }
  .problem__title { margin-top: 24px; }
  .problem__catch { font-size: 22px; }
  .problem__text { font-size: 15px; padding-top: 0; }

  .section { padding-top: 32px; }
  .section-title { font-size: 40px; }
  .section-head--row { align-items: center; }
  .service-tile__title { font-size: 26px; }
  .service-tile__text { margin-top: 16px; font-size: 15px; }
  .service-tile .btn { width: 216px; margin-top: 24px; height: 47px; }
  .cta { padding: 64px 0; }
  .cta__title { font-size: 26px; line-height: 1.3; }
  .cta__text { font-size: 15px; }
  .cta .btn { width: 100%; margin-top: 64px; }
  .news-card, .news-index .news-card { width: 100%; }
  .top-careers .btn { width: 210px; height: 47px; }

  .page-hero { height: 264px; padding-top: 118px; }
  .page-hero__title { font-size: 40px; }
  .mission__catch { font-size: 20px; }
  .mission__images { gap: 12px; }
  .values { padding: 64px 0; }
  .values__title { font-size: 28px; line-height: 1.3; }
  .values__lead { margin-top: 24px; }
  .values__list { gap: 32px 16px; margin-top: 32px; }
  .values__list dt { font-size: 18px; }
  .message__title { font-size: 26px; line-height: 1.3; }
  .message__text { font-size: 14px; letter-spacing: .05em; line-height: 1.6; }
  .message__profile { padding: 24px; font-size: 15px; }
  .message { padding-bottom: 64px; }
  .about { padding: 48px 0 64px; }
  .about__table > div { padding: 14px 0; font-size: 15px; }
  .about__table dt { width: 5.5em; }
  .services__lead { font-size: 18px; line-height: 1.7; margin-top: 16px; }
  .service-cards { gap: 48px; margin-top: 48px; }
  .service-card__title { font-size: 28px; }
  .service-card .btn { width: 100%; }
  .news-index { padding: 48px 0 64px; }
  .news-index__title { font-size: 24px; }
  .news-index .news-list { margin-top: 24px; }
  .article { padding: 48px 0 64px; }
  .article__box { padding: 24px; }
  .article__title { font-size: 22px; }

  .simple-page { padding-top: 104px; }
  .simple-page__title { font-size: 26px; }
  .simple-page__text { text-align: center; }
  .contact-form { margin-top: 32px; padding: 24px; }
  .form-consent { margin-top: 24px; }
  .policy__body { margin-top: 48px; font-size: 17px; }
  .policy__body h2 { font-size: 17px; }
  .policy { padding-bottom: 96px; }

  .notice-visual { height: 420px; background-size: auto 100%; }
  .notice-visual__back { top: 241px; }
  .notfound { padding: 120px 0 64px; }

  .site-footer { padding: 64px 0; }
  .footer-card { min-height: 0; padding: 24px; }
  .footer-card__title { font-size: 32px; }
  .footer-card__title--badge { flex-direction: column-reverse; align-items: flex-start; gap: 12px; }
  .footer-card__text { margin-top: 12px; font-size: 13px; }
  .footer-card__arrow { width: 32px; height: 32px; }
  .footer-main { margin-top: 48px; }
  .footer-bottom__links { gap: 20px; }
  .footer-bottom__links a, .footer-bottom__presskit { font-size: 13px; }
}
