/* ===== Reset ===== */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  margin: 0;
  min-height: 100%;
  background: #ffffff;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'YuGothic', 'Yu Gothic', 'Zen Kaku Gothic New', sans-serif;
  color: #2C3138;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.9;
  overflow-x: hidden;
}
/* Wraps all scrolling content; carries the same page background so nothing
   shows through behind the position:fixed sidebar/topbar/contact button. */
.page-wrap {
  position: relative;
  min-height: 100vh;
  background: #ffffff;
}
body.rc-page,
body.rc-page .page-wrap {
  background: #ddecf8;
}
::selection { background: #c4def2; }
/* 既定のリンク色。デザイン原本は各リンクに色を直接指定しており、
   hover で文字色を変えるリンクは1つも無いため :hover は定義しない。
   （以前あった `a:hover { color: #3178b5 }` は詳細度が .contact-btn より高く、
     お問い合わせボタンの文字色を背景と同じ #3178b5 にして消していた） */
a { color: #4193d6; }
img { max-width: 100%; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details[open] .faq-plus { transform: rotate(45deg); }

/* ===== Sidebar / Nav ===== */
.sidebar {
  position: fixed; top: 0; left: 0; bottom: 0; width: 212px; z-index: 52;
  display: flex; flex-direction: column; padding: 36px 30px 40px;
}
.sidebar .logo { display: block; margin-bottom: 56px; }
.sidebar .logo img { width: 115px; height: auto; display: block; }
.sidebar nav { display: flex; flex-direction: column; gap: 26px; }
.nav-link {
  text-decoration: none; display: flex; align-items: center; gap: 10px;
  color: #4A555F; font-size: 14px; letter-spacing: 0.07em; font-weight: 500;
}
.nav-link .dot { width: 7px; height: 7px; border-radius: 50%; background: #4193d6; flex: none; opacity: 0; }
.nav-link.active, .nav-link.force-active { color: #4193d6; font-weight: 700; }
.nav-link.active .dot, .nav-link.force-active .dot { opacity: 1; }

.overlay {
  position: fixed; inset: 0; z-index: 58; background: rgba(20,30,40,0.4);
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
body.menu-open .overlay { opacity: 1; pointer-events: auto; }
body.menu-open .sidebar { transform: translateX(0); }

.mobile-topbar {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; height: 60px; z-index: 55;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  align-items: center; gap: 16px; padding: 0 16px;
  box-shadow: 0 1px 0 rgba(38,51,61,0.08);
}
.hamburger-btn {
  width: 40px; height: 40px; border: none; background: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; cursor: pointer; padding: 0;
}
.hamburger-btn span { width: 22px; height: 2px; background: #26333D; display: block; }
/* 原本はモバイルのロゴをリンクにしていないが、タップしても反応せず
   デスクトップのサイドバーロゴ（リンク）と挙動が食い違うため、
   トップへ戻るリンクにしている（見た目は原本と同一） */
.mobile-topbar .tb-logo-link { display: block; flex: none; }
.mobile-topbar .tb-logo { width: 62px; height: auto; display: block; }
.mobile-topbar .tb-spacer { width: 40px; }

.contact-btn {
  position: fixed; top: 8px; right: 8px; z-index: 51; text-decoration: none;
  color: #ffffff; background: #4193d6; padding: 16px 24px; border-radius: 8px;
  font-size: 14px; letter-spacing: 0.06em; font-weight: 700;
  transition: box-shadow 0.2s; display: flex; align-items: center; box-sizing: border-box;
}
/* color は継承だけに頼らず明示する（.btn-primary:hover と同様）。
   将来また全体 a:hover が入っても文字が消えないようにするため。 */
.contact-btn:hover { background: #3178b5; box-shadow: 0 6px 14px rgba(65,147,214,0.4); color: #ffffff; }

.btn-dot { width: 6px; height: 6px; border-radius: 50%; background: #ffffff; display: inline-block; transition: width 0.2s, height 0.2s; }
a:hover .btn-dot, button:hover .btn-dot { width: 10px; height: 10px; }

/* ===== Shared section labels ===== */
.eyebrow { font-family: 'Stack Sans Text','YuGothic','Yu Gothic',sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 0.16em; color: #4193d6; margin-bottom: 7px; }
.about-grid .eyebrow { margin-bottom: 8px; }
.sec-head { text-align: center; margin-bottom: 70px; }
.sec-head h2 { font-family: 'Shippori Mincho',serif; font-weight: 700; font-size: 34px; letter-spacing: 0.08em; margin: 0; }
.sec-services .sec-head { margin-bottom: 78px; }

/* ===== HERO (index) ===== */
.hero {
  position: relative; background: #ffffff url('images/hero-top.png') center bottom / 100% auto no-repeat;
  padding: 120px 44px 240px 256px; min-height: calc(100vw * 0.5997 + 40px);
}
.hero-inner { max-width: 1412px; margin: 0 auto; min-height: 460px; display: flex; flex-direction: column; justify-content: center; }
.hero-text { max-width: 340px; display: flex; flex-direction: column; }
.hero-title { font-family: 'Zen Old Mincho',serif; font-weight: 900; color: #26333D; font-size: 60px; line-height: 1.42; letter-spacing: 0.05em; margin: 0; text-shadow: 0 2px 16px rgba(255,255,255,0.6); order: 1; }
.hero-mobile-img { display: none; order: 2; }
.hero-desc { color: #4A555F; font-size: 16px; font-weight: 500; letter-spacing: 0.03em; margin: 32px 0 0; max-width: 300px; line-height: 2.15; text-shadow: 0 1px 10px rgba(255,255,255,0.85), 0 1px 2px rgba(255,255,255,0.9); order: 3; }
.hero-cta { margin-top: 40px; display: flex; gap: 14px; order: 4; }
.btn-primary {
  text-decoration: none; background: #4193d6; color: #ffffff; padding: 15px 28px 15px 36px;
  border-radius: 999px; font-size: 15px; font-weight: 700; letter-spacing: 0.06em;
  transition: box-shadow 0.2s, background 0.2s; display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary:hover { background: #3178b5; box-shadow: 0 8px 20px rgba(65,147,214,0.4); color: #fff; }

/* ===== ABOUT ===== */
.sec-about { background: #ffffff; padding: 130px 0 0 256px; overflow: hidden; }
.about-grid { max-width: 1332px; margin: 0 auto; display: grid; grid-template-columns: 1fr 0.9fr; gap: 72px; align-items: start; }
.about-img-wrap { border-radius: 8px 0 0 8px; overflow: hidden; margin-right: min(0px, calc((1588px - 100vw) / 2)); height: 560px; }
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== SERVICES ===== */
.sec-services { background: #ffffff; padding: 130px 44px 0 256px; }
.sec-services > .inner { max-width: 1332px; margin: 0 auto; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; margin-bottom: 90px; }
.svc-row-last { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; }
.svc-img { aspect-ratio: 5/4; background: #c4def2; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-head { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 16px; }
.svc-num-wrap { position: relative; width: 52px; height: 52px; flex: none; display: flex; align-items: center; justify-content: center; }
.svc-num-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid #79b3e2; -webkit-mask-image: conic-gradient(from 0deg, black 0deg 90deg, transparent 90deg 180deg, black 180deg 360deg); mask-image: conic-gradient(from 0deg, black 0deg 90deg, transparent 90deg 180deg, black 180deg 360deg); }
.svc-num-text { position: absolute; right: 4px; bottom: 4px; font-family: 'Shippori Mincho',serif; font-weight: 700; font-size: 22px; line-height: 1; color: #79b3e2; }
.svc-title { font-family: 'Shippori Mincho',serif; font-weight: 700; font-size: 26px; letter-spacing: 0.04em; margin: 0 0 6px; color: #4193d6; position: relative; top: 16px; }
.svc-body { font-size: 16px; font-weight: 500; color: #525E68; line-height: 2.2; margin: 0; }

/* ===== FACILITIES ===== */
.sec-facilities { background: #ffffff; padding: 0 44px 130px 256px; }
.sec-facilities > .inner { max-width: 1332px; margin: 0 auto; padding: 88px 0 0; }
.facilities-box { position: relative; background: #ddecf8; border-radius: 8px; padding: 76px 60px 60px; margin-top: 36px; box-sizing: border-box; }
.facility-notch { position: absolute; left: 50%; top: -64px; transform: translateX(-50%); width: 240px; height: 120px; background: #ddecf8; border-radius: 140px 140px 0 0; }
.facilities-head { position: relative; text-align: center; margin-bottom: 44px; }
.facilities-head h3 { font-family: 'Shippori Mincho',serif; font-weight: 700; font-size: 24px; letter-spacing: 0.06em; margin: 0 0 14px; }
.facilities-head p { font-size: 16px; font-weight: 500; color: #5C6772; margin: 0; line-height: 2; }
.facilities-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 16px; }
.facility-card { background: #ffffff; border-radius: 8px; padding: 28px 10px; text-align: center; }
.facility-icon-wrap { width: 70px; height: 70px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; }
.facility-icon-wrap img { width: 100%; height: 100%; object-fit: contain; }
.facility-card .label { font-family: 'Shippori Mincho',serif; font-weight: 500; font-size: 15px; letter-spacing: 0.05em; color: #4193d6; }

/* ===== STRENGTH ===== */
.sec-strength { background: #F7F2E9; margin-top: 0; padding: 132px 44px 132px 256px; }
.sec-strength > .inner { max-width: 1352px; margin: 0 auto; }
.sec-strength .sec-head { margin-bottom: 96px; }
.strength-row { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 70px; align-items: center; margin-bottom: 104px; }
.strength-row-alt { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 70px; align-items: center; margin-bottom: 104px; }
.strength-row-last { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 70px; align-items: center; }
.strength-row img, .strength-row-alt img, .strength-row-last img { width: 80%; height: auto; display: block; margin: 0 auto; }
.strength-text { max-width: 430px; }
/* 原本が margin-left:auto を外したため 0 に合わせる（2026-08-21 デザイン反映） */
.strength-text.push-right { margin-left: 0; }
.strength-heading { font-family: 'Shippori Mincho',serif; font-weight: 700; font-size: 26px; letter-spacing: 0.03em; margin: 0 0 18px; line-height: 1.6; display: flex; align-items: baseline; gap: 16px; }
.strength-num { font-family: 'Shippori Mincho',serif; font-weight: 700; font-size: 40px; line-height: 0.8; color: #9cc6e6; }
.strength-body { font-size: 16px; font-weight: 500; color: #4f5b64; line-height: 2.15; margin: 0; padding-left: 56px; }

/* ===== WORKS (index) ===== */
.sec-works { margin: 0; padding: 130px 44px 0 256px; }
.sec-works > .inner { max-width: 1332px; margin: 0 auto; }
.works-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 34px; }
.work-card { background: #ffffff; border-radius: 8px; padding: 16px 16px 28px; box-shadow: 0 4px 18px rgba(38,51,61,0.05); }
.work-card .thumb { aspect-ratio: 4/3; background: #c4def2; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: #8FA3B2; font-size: 11px; letter-spacing: 0.12em; font-family: ui-monospace,monospace; }
.work-card .body { padding: 0 8px; }
.work-tags { display: flex; gap: 8px; margin-bottom: 14px; }
.work-tag { font-size: 11px; letter-spacing: 0.05em; color: #4193d6; background: transparent; border: 1px solid #4193d6; padding: 0 8px; border-radius: 4px; }
.work-card h3 { font-family: 'Shippori Mincho',serif; font-weight: 700; font-size: 19px; letter-spacing: 0.03em; margin: 0 0 11px; line-height: 1.6; }
.work-card p { font-size: 16px; font-weight: 500; color: #5C6772; line-height: 2; margin: 0; }

/* ===== MESSAGE ===== */
.sec-message { background: #1a6fb0 url('images/message-bg-sm.jpg') center / cover no-repeat; margin-top: 130px; padding: 118px 44px 118px 256px; }
.message-grid { max-width: 1332px; margin: 0 auto; display: grid; grid-template-columns: fit-content(700px) minmax(365px, 1fr); gap: 74px; align-items: center; }
.message-title { font-family: 'Zen Old Mincho',serif; font-weight: 700; font-size: 42px; line-height: 1.6; letter-spacing: 0.05em; color: #ffffff; margin: 0 0 36px; }
.message-photo { aspect-ratio: 1/1; background: #FBFAF7; border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.42); font-size: 12px; letter-spacing: 0.14em; font-family: ui-monospace,monospace; }

/* ===== COMPANY ===== */
.sec-company { position: relative; overflow: hidden; padding: 130px 44px 32px 256px; }
.sec-company > .inner { max-width: 1332px; margin: 0 auto; position: relative; z-index: 1; }
.company-box { max-width: 680px; margin: 0 auto; background: #ffffff; border-radius: 8px; padding: 48px 56px; box-shadow: 0 4px 20px rgba(38,51,61,0.06); position: relative; z-index: 1; }
.company-divider { position: absolute; left: 172px; top: 48px; bottom: 48px; width: 1.5px; background-color: #79B3E2; }
.company-row { display: grid; grid-template-columns: 140px 1fr; gap: 32px; padding: 19px 0; }
.company-row .k { font-weight: 500; font-size: 15px; letter-spacing: 0.07em; color: #26333D; }
.company-row .v, .company-row li { font-size: 16px; font-weight: 500; color: #525E68; line-height: 1.9; }
.company-row ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.company-row li { display: flex; align-items: baseline; gap: 8px; }
.company-row li .bullet { width: 5px; height: 5px; border-radius: 50%; background: #4193d6; flex: none; position: relative; top: -2px; }

/* ===== HISTORY ===== */
.sec-history { padding: 104px 44px 0 256px; }
.sec-history > .inner { max-width: 932px; margin: 0 auto; }
.history-wrap { position: relative; width: 560px; margin: 0 auto; }
.history-line { position: absolute; left: 158px; top: 23px; bottom: -6px; width: 2px; background: #D8DFE4; z-index: 0; }
.history-list { display: flex; flex-direction: column; gap: 52px; }
.history-row { display: flex; gap: 24px; align-items: center; }
.history-year { width: 120px; flex: none; text-align: center; font-family: 'Shippori Mincho',serif; font-weight: 700; font-size: 20px; letter-spacing: 0.04em; color: #26333D; white-space: nowrap; }
.history-dot-wrap { width: 30px; flex: none; display: flex; justify-content: center; }
.history-dot { position: relative; z-index: 1; width: 13px; height: 13px; border-radius: 50%; border: 2px solid #4193d6; background: #FAF7F1; display: block; }
.history-items { flex: 1; padding-top: 2px; }
.history-items div { margin-bottom: 6px; }
.history-items div span { font-size: 15px; font-weight: 500; color: #525E68; line-height: 1.9; }

/* ===== CONTACT (index) ===== */
.sec-contact { background: #ffffff; margin-top: 130px; padding: 118px 44px 118px 256px; }
.sec-contact > .inner { max-width: 932px; margin: 0 auto; }
.contact-grid { display: flex; flex-direction: column; gap: 26px; }
.form-field { display: flex; flex-direction: column; gap: 26px; }
.form-field label { display: block; font-size: 14px; font-weight: 500; letter-spacing: 0.04em; color: #2C3138; margin-bottom: 10px; }
.form-field input, .form-field textarea {
  width: 100%; border: 1px solid #DCE2E7; border-radius: 8px; padding: 14px 16px; font-size: 15px;
  font-family: inherit; color: #2C3138; background: #FBFAF7;
}
.form-field textarea { line-height: 1.9; }
.form-field .radio-group-label { margin-bottom: 14px; }
.form-field input:focus, .form-field textarea:focus { border: 1px solid #4193d6; outline: none; }
.radio-list { display: flex; flex-direction: column; gap: 12px; }
.radio-list label { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: #4A555F; cursor: pointer; }
/* ラジオ/チェックボックスは appearance:none にして見た目を CSS で描く。
   原因: 上の `.form-field input` が padding:14px 16px / border:1px / border-radius / background を
   型セレクタ `input` で当てているため、ラジオ・チェックボックスにも効いてしまう。
   `* { box-sizing: border-box }` なので width/height:16px を指定しても
   枠は padding+border 分の 34x30px までしか縮まない。
   Chrome/Blink は appearance:auto のとき UA 側で padding/border を捨てるので PC では 16px に見えるが、
   iOS Safari(WebKit) は同じようには捨てないため、スマホだけ大きく表示される。 */
.radio-list input,
.checkbox-row input {
  -webkit-appearance: none; appearance: none;
  box-sizing: border-box; flex: none; margin: 0; padding: 0;
  width: 16px; height: 16px; min-width: 16px; min-height: 16px;
  border: 1px solid #868F99;
  background-color: #ffffff; background-image: none; background-repeat: no-repeat;
  background-position: center; background-origin: border-box; background-size: 16px 16px;
  display: inline-block; vertical-align: middle; cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.radio-list input { border-radius: 50%; }
/* `.form-field input:focus` の border 上書きを打ち消す（:checked を後に置いて優先させる） */
.radio-list input:focus { border: 1px solid #868F99; }
.radio-list input:checked { border-color: #4193d6; background-color: #4193d6;
  background-image: radial-gradient(circle at 50% 50%, #ffffff 0 2.75px, rgba(255,255,255,0) 3.25px); }
/* `.form-field input:focus` の outline:none を打ち消してキーボードフォーカスを可視化 */
.radio-list input:focus-visible { outline: 2px solid #4193d6; outline-offset: 2px; }
.checkbox-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #4A555F; cursor: pointer; }
.checkbox-row input { border-radius: 4px; position: relative; top: 1px; }
.checkbox-row input:focus { border: 1px solid #868F99; }
.checkbox-row input:checked { border-color: #4193d6; background-color: #4193d6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.7 8.4l2.9 2.9 5.7-6.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.checkbox-row input:focus-visible { outline: 2px solid #4193d6; outline-offset: 2px; }
/* Keep the generic .form-field label styling off the radio/checkbox option labels
   (the design styles those as plain 400-weight text without margins) */
.form-field .radio-list label { font-weight: 400; letter-spacing: normal; margin: 0; }
.form-field label.checkbox-row { display: flex; font-size: 14px; font-weight: 400; letter-spacing: normal; margin: 0; color: #4A555F; }
.btn-submit {
  margin: 8px auto 0; align-self: center; background: #4193d6; color: #ffffff; border: none;
  border-radius: 999px; padding: 18px 24px 18px 32px; font-size: 16px; font-weight: 700;
  letter-spacing: 0.12em; font-family: inherit; cursor: pointer; transition: box-shadow 0.2s, background 0.2s;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-submit:hover { background: #3178b5; box-shadow: 0 8px 20px rgba(65,147,214,0.4); }

/* ===== FOOTER ===== */
footer.site-footer { background: #4193d6; color: #ffffff; padding: 60px 0 32px; border-radius: 40px 0 0 0; }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 0 44px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,0.12); flex-wrap: wrap; gap: 24px; }
.footer-top img { width: 115px; height: auto; display: block; margin-bottom: 14px; }
.footer-top p { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.6); line-height: 2; margin: 0; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; color: rgba(255,255,255,0.78); font-size: 13.5px; letter-spacing: 0.05em; }
.footer-nav a.active { color: #FFFFFF; font-weight: 600; }
.footer-bottom { padding-top: 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom span { font-family: ui-monospace,monospace; font-size: 11px; letter-spacing: 0.1em; color: #ffffff; }
.footer-bottom a { text-decoration: none; font-family: 'Stack Sans Text','YuGothic','Yu Gothic',sans-serif; font-size: 10px; letter-spacing: 0.05em; color: #ffffff; }
/* Recruit page footer variant (matches 採用情報.dc.html) */
body.rc-page .footer-top p { font-weight: 400; }
body.rc-page .footer-top img, body.pp-page .footer-top img { margin-bottom: 16px; }
body.rc-page .footer-bottom span { font-family: 'Stack Sans Text','YuGothic','Yu Gothic',sans-serif; color: rgba(255,255,255,0.45); }
body.rc-page .footer-bottom a { color: rgba(255,255,255,0.45); }
/* Privacy page footer variant (matches プライバシーポリシー.dc.html) */
body.pp-page .footer-bottom span { font-family: 'Stack Sans Text','YuGothic','Yu Gothic',sans-serif; color: rgba(255,255,255,0.45); }
body.pp-page .footer-bottom a { color: #79b3e2; }

/* 差し込んだ写真は枠いっぱいに（プレースホルダ枠にも適用） */
.work-card .thumb img, .message-photo img, .rc-member .photo img {
  width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block;
}

/* 画像は幅/高さ属性で領域を先に確保している（読み込み中のガタつき防止）。
   縦横比は属性から算出されるので、幅だけ指定している画像も歪まない。 */
img { height: auto; }
.about-img-wrap img, .svc-img img, .rc-about-img img, .rc-exp-img img,
.work-card .thumb img, .message-photo img, .rc-member .photo img,
.facility-icon-wrap img, .rc-work-icon-wrap img { height: 100%; }

/* ================= RECRUIT PAGE ================= */
body.rc-page { background: #ddecf8; }
/* 採用情報.dc.html uses the Zen Kaku fallback for its section labels */
body.rc-page .eyebrow { font-family: 'Stack Sans Text','Zen Kaku Gothic New',sans-serif; }
/* Per-section heading margins from 採用情報.dc.html */
.rc-work .sec-head { margin-bottom: 56px; }
.rc-members .sec-head { margin-bottom: 64px; }
.rc-benefits .sec-head { margin-bottom: 56px; }
.rc-faq .sec-head { margin-bottom: 56px; }
.rc-hero { background: #ffffff; padding: 40px 44px 40px 256px; position: relative; }
.rc-hero-box {
  position: relative; max-width: 1320px; margin: 0 auto; border-radius: 20px; overflow: visible;
  background: #bfe1f5 url('images/recruit-hero.jpg') center / cover no-repeat; min-height: 660px; padding: 72px 64px;
}
.rc-hero-watermark { font-family: 'Stack Sans Text','Zen Kaku Gothic New',sans-serif; font-size: 126px; font-weight: 700; letter-spacing: 0.16em; color: rgba(255,255,255,0.4); position: relative; top: -159px; display: inline-block; left: -74px; }
.rc-hero-textwrap { max-width: 760px; }
.rc-hero-title { font-family: 'Zen Old Mincho',serif; font-weight: 900; color: #ffffff; font-size: 52px; line-height: 1.55; letter-spacing: 0.04em; margin: 0; text-shadow: 0 2px 20px rgba(20,45,75,0.35); position: relative; top: -184px; }
.rc-hero-wave { position: absolute; left: 0; bottom: -64px; width: 100%; height: auto; pointer-events: none; z-index: 2; }

.rc-mission { background: #ffffff; padding: 104px 44px 8px 256px; }
.rc-mission .inner { max-width: 972px; margin: 0 auto; }
.rc-mission p { font-size: 16px; color: #4A555F; line-height: 2.5; letter-spacing: 0.02em; margin: 0 0 34px; }
.rc-mission p:nth-of-type(4) { margin-bottom: 40px; }
.rc-mission .highlight { font-family: 'Shippori Mincho',serif; font-size: 24px; color: #26333D; line-height: 2.1; letter-spacing: 0.04em; margin: 0; font-weight: 700; }
.rc-mission .highlight span { background: linear-gradient(transparent 70%, #c4def2 70%); }

.rc-about { background: #ffffff; padding: 118px 44px 130px 256px; }
.rc-about-grid { max-width: 1332px; margin: 0 auto; display: grid; grid-template-columns: 1fr 0.9fr; gap: 72px; align-items: center; }
.rc-about-img { aspect-ratio: 8/5; background: #c4def2; border-radius: 8px; overflow: hidden; }
.rc-about-img img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.rc-about-grid .eyebrow { margin-bottom: 8px; }
.rc-about-grid p { font-size: 15.5px; color: #525E68; line-height: 2.2; margin: 0; }

.rc-work { margin: 0; padding: 130px 44px 0 256px; }
.rc-work .inner { max-width: 1212px; margin: 0 auto; }
.rc-work-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.rc-work-card { background: #ffffff; border-radius: 16px; padding: 44px 30px; box-shadow: 0 4px 18px rgba(38,51,61,0.05); text-align: center; }
.rc-work-icon-wrap { height: 78px; display: flex; align-items: center; justify-content: center; margin-bottom: 26px; }
.rc-work-icon-wrap img { width: 76px; height: 76px; object-fit: contain; }
.rc-work-card h3 { font-family: 'Shippori Mincho',serif; font-weight: 700; font-size: 17px; letter-spacing: 0.03em; margin: 0; line-height: 1.7; color: #4193d6; }

.rc-vision { background: #16334D url('images/recruit-vision-bg.jpg') center / cover no-repeat; margin-top: 118px; padding: 120px 44px 120px 256px; position: relative; overflow: hidden; }
.rc-vision-overlay { position: absolute; inset: 0; background: rgba(10,25,42,0.42); }
.rc-vision-watermark { position: absolute; top: 38px; right: 0; left: 0; text-align: center; font-family: 'Stack Sans Text','YuGothic','Yu Gothic',sans-serif; font-weight: 700; font-size: 180px; letter-spacing: 0.06em; color: rgba(255,255,255,0.08); line-height: 1; user-select: none; pointer-events: none; }
.rc-vision-body { position: relative; max-width: 1052px; margin: 0 auto; }
.rc-vision-body h2 { font-family: 'Shippori Mincho',serif; font-weight: 700; font-size: 32px; letter-spacing: 0.06em; margin: 0 0 40px; color: #ffffff; }
.rc-vision-body p { font-size: 16px; color: rgba(255,255,255,0.9); line-height: 2.4; letter-spacing: 0.02em; margin: 0 0 30px; }

.rc-experience { background: #ffffff; padding: 118px 44px 118px 256px; }
.rc-experience .inner { max-width: 1252px; margin: 0 auto; }
.rc-exp-gap { display: flex; flex-direction: column; gap: 96px; }
.rc-exp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.rc-exp-img { aspect-ratio: 4/3; background: #c4def2; border-radius: 8px; overflow: hidden; }
.rc-exp-img img { width: 100%; height: 100%; object-fit: cover; }
.rc-exp-card { background: #FAF7F1; border-radius: 8px; padding: 36px 40px; margin-top: 24px; position: relative; z-index: 1; top: 24px; }
.rc-exp-card.reverse { margin-left: -16%; }
.rc-exp-card.normal { margin-right: -16%; }
.rc-exp-card h3 { font-family: 'Shippori Mincho',serif; font-weight: 700; font-size: 24px; letter-spacing: 0.03em; margin: 0 0 18px; line-height: 1.5; position: relative; }
.rc-exp-no { position: absolute; left: 0; top: -69px; font-family: 'Shippori Mincho',serif; color: #79b3e2; font-size: 56px; line-height: 1; font-weight: 400; letter-spacing: normal; }
.rc-exp-card p { font-size: 15.5px; color: #525E68; line-height: 2.2; margin: 0; }

.rc-schedule { margin: 0; padding: 112px 44px 0 256px; background: #ddecf8; }
.rc-schedule .inner { max-width: 1212px; margin: 0 auto; }
.rc-schedule-box { background: #ffffff; border-radius: 16px; padding: 56px 60px; display: grid; grid-template-columns: 0.7fr 1fr; gap: 64px; align-items: start; }
.rc-schedule-box h2 { font-family: 'Shippori Mincho',serif; font-weight: 700; font-size: 32px; letter-spacing: 0.08em; margin: 0; }
.rc-schedule-timeline { position: relative; width: 320px; margin: 0 auto; }
/* bottom は「縦線の下端が最下の円の内側で終わる」ための値（Issue #15 ②）。
   下の align-items:flex-start 化で最下の円が 14.24px 上がったので 34px → 48.24px。
   ⚠️ 最下行が1行に収まる文言に変われば円は動かないので 34px に戻すこと。 */
.rc-schedule-line { position: absolute; left: 85px; top: 18px; bottom: 48.24px; width: 2px; background: #D8DFE4; z-index: 0; }
.rc-schedule-list { display: flex; flex-direction: column; gap: 28px; }
/* ⚠️ align-items は center ではなく flex-start（及川さんのご依頼／Issue #16）。
   ラベルが折り返した行（「業務終了。お疲れ様でした！」は全幅で2行、幅280px では
   「集合・移動」「作業終了・移動」も2行）で center にすると:
     ・円と時刻が**2行の中間**に来て、1行のラベルの行（円と文字が同じ高さ）と揃わない
     ・行が縦に伸びる分だけ円の間隔が広がる（実測 17:00→18:00 が 74.55px / 他は 60.30px）
   flex-start にして下の2つのオフセットで「円・時刻を1行目に合わせる」と、
   どの行でも円が1行目と中揃えになり、円の間隔も 60.30px で揃う。
   オフセットは1行のラベルの現状の位置と同値なので、**1行の行の描画は一切変わらない**。 */
.rc-schedule-item { display: flex; gap: 18px; align-items: flex-start; }
.rc-schedule-time { width: 56px; flex: none; text-align: center; font-family: 'Shippori Mincho',serif; font-weight: 700; font-size: 17px; letter-spacing: 0.02em; color: #26333D; white-space: nowrap; }
/* 9.65px = (時刻の行box 32.3px − 円 13px) / 2。円の中心を1行目の中心に置く。
   margin box は 22.65px で時刻の 32.3px より低いため、行の高さには影響しない。 */
.rc-schedule-dot-wrap { width: 24px; flex: none; display: flex; justify-content: center; margin-top: 9.65px; }
.rc-schedule-dot { position: relative; z-index: 1; width: 13px; height: 13px; border-radius: 50%; border: 2px solid #4193d6; background: #ffffff; display: block; }
/* 0.95px = (時刻の行box 32.3px − ラベルの行box 30.4px) / 2。1行目の中心を時刻に合わせる。
   margin ではなく position:relative なのは、**行の高さを増やさない**ため
   （margin-top だと折り返した行が約1px 伸びて一日の流れ全体の高さが変わる）。 */
.rc-schedule-label { flex: 1; position: relative; top: 0.95px; }
.rc-schedule-label span { font-family: 'Shippori Mincho',serif; font-size: 16px; color: #26333D; font-weight: 600; line-height: 1.7; }

.rc-members { margin: 0; padding: 118px 44px 0 256px; background: #ddecf8; }
.rc-members .inner { max-width: 1212px; margin: 0 auto; }
.rc-members-grid { display: grid; grid-template-columns: repeat(2, minmax(0,438px)); justify-content: center; gap: 72px; }
.rc-member .photo { aspect-ratio: 1/1; background: #EFF1F3; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; color: #8FA3B2; font-size: 12px; letter-spacing: 0.14em; font-family: ui-monospace,monospace; }
.rc-member .name-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.rc-member .name { font-family: 'Shippori Mincho',serif; font-weight: 700; font-size: 22px; letter-spacing: 0.08em; color: #26333D; }
.rc-member .romaji { font-family: 'Stack Sans Text','YuGothic','Yu Gothic',sans-serif; font-size: 13px; letter-spacing: 0.08em; color: #4193d6; }
.rc-member .role { font-size: 13px; letter-spacing: 0.08em; color: #5C6772; }

.rc-wanted { margin-top: 112px; padding: 0 44px 0 256px; }
.rc-wanted-box { background: linear-gradient(rgba(26,38,53,0.55),rgba(26,38,53,0.55)), url('images/recruit-wanted-bg-2.jpg') center / cover no-repeat; padding: 70px 44px; border-radius: 20px; }
.rc-wanted-inner { max-width: 852px; margin: 0 auto; padding: 48px 52px; }
.rc-wanted-inner h3 { font-family: 'Shippori Mincho',serif; font-weight: 700; font-size: 24px; letter-spacing: 0.06em; margin: 0 0 30px; color: #ffffff; text-align: center; }
.rc-wanted-list { display: flex; flex-direction: column; gap: 18px; max-width: 520px; margin: 0 auto; }
.rc-wanted-item { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,0.84); border-radius: 999px; padding: 18px 28px; }
.rc-wanted-item .check { flex: none; color: #4193d6; position: relative; top: 4px; }
.rc-wanted-item span.text { font-size: 16px; color: #2c3138; line-height: 1.9; }

.rc-benefits { background: #ffffff; padding: 112px 44px 112px 256px; }
.rc-benefits .inner { max-width: 1212px; margin: 0 auto; }
.rc-benefits-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.rc-benefit-chip { background: #ffffff; border: 1px solid #4193d6; border-radius: 999px; padding: 5px 26px; font-family: 'Shippori Mincho',serif; font-weight: 600; font-size: 15px; letter-spacing: 0.03em; color: #4193d6; }

.rc-faq { padding: 112px 44px 0 256px; }
.rc-faq .inner { max-width: 972px; margin: 0 auto; }
.rc-faq-list { display: flex; flex-direction: column; gap: 16px; }
.rc-faq-item { background: #ffffff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(38,51,61,0.05); }
.rc-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; font-size: 15.5px; font-weight: 500; color: #26333D; }
.faq-plus { flex: none; width: 39px; height: 39px; border-radius: 50%; background: #ddecf8; display: flex; align-items: center; justify-content: center; color: #4193d6; transition: transform 0.2s; }
.rc-faq-item .divider { margin: 0 26px; border-top: 1px solid #E4E9EE; }
.rc-faq-item .answer { padding: 16px 26px 24px; font-size: 14.5px; color: #525E68; line-height: 2.1; display: flex; align-items: flex-start; gap: 14px; }
.rc-faq-item .faq-q { display: flex; align-items: flex-start; gap: 14px; }
.faq-badge { font-family: 'Stack Sans Text','Zen Kaku Gothic New',sans-serif; font-size: 36px; font-weight: 700; color: #4193d6; flex: none; line-height: 1; height: 29px; display: flex; align-items: center; position: relative; top: -3px; }
.faq-badge-a { height: 30px; top: -1px; }

.rc-cta { padding: 0 44px 0 256px; margin-top: 118px; position: relative; z-index: 1; }
.rc-cta-box { max-width: 1332px; margin: 0 auto; background: #0f2d50 url('images/recruit-cta-sea.jpg') center / cover no-repeat; border-radius: 20px; padding: 104px 44px; text-align: center; }
.rc-cta-box h2 { font-family: 'Zen Old Mincho',serif; font-weight: 700; font-size: 40px; line-height: 1.6; letter-spacing: 0.05em; color: #ffffff; margin: 0; text-shadow: 0 2px 16px rgba(0,0,0,0.45); }

.rc-entry { background: #ffffff; margin-top: -200px; padding: 304px 44px 104px 256px; }
.rc-entry .inner { max-width: 932px; margin: 0 auto; }
.rc-entry-head { text-align: center; margin-bottom: 50px; }
.rc-entry-head h2 { font-family: 'Shippori Mincho',serif; font-weight: 700; font-size: 32px; letter-spacing: 0.06em; line-height: 1.5; margin: 0; }

/* ================= PRIVACY PAGE ================= */
.pp-section { padding: 100px 44px 130px 256px; }
.pp-inner { max-width: 1032px; margin: 0 auto; }
.pp-head { text-align: center; margin-bottom: 70px; }
.pp-head .eyebrow { margin-bottom: 8px; }
.pp-section h1 { font-family: 'Shippori Mincho',serif; font-weight: 700; font-size: 34px; letter-spacing: 0.06em; margin: 0; }
.pp-section h2 { font-family: 'Shippori Mincho',serif; font-weight: 700; font-size: 18px; color: #26333D; margin: 32px 0 12px; }
.pp-section h3 { font-family: 'Shippori Mincho',serif; font-weight: 700; font-size: 16px; color: #26333D; margin: 20px 0 10px; }
.pp-section p { margin: 0 0 20px; }
.pp-body { font-size: 15px; font-weight: 500; color: #525E68; line-height: 1.9; }
/* プライバシーポリシーの箇条書き（原本のインラインスタイルに合わせた値） */
.pp-body .pp-list { margin: 0 0 20px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pp-body .pp-list > li { display: flex; align-items: baseline; gap: 10px; }
.pp-body .pp-bullet { width: 5px; height: 5px; border-radius: 50%; background: #4193d6; flex: none; position: relative; top: -3px; }
.pp-body .pp-li-col { display: flex; flex-direction: column; gap: 8px; }
.pp-body .pp-li-row { display: flex; align-items: baseline; gap: 10px; }
.pp-body .pp-sublist { margin: 0; padding: 0 0 0 24px; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.pp-body .pp-sublist > li { display: flex; align-items: baseline; gap: 10px; }
.pp-body .pp-dash { width: 5px; height: 1.5px; background: #9cc6e6; flex: none; position: relative; top: -4px; }

/* ================================================= */
/* ===================== MOBILE ==================== */
/* ================================================= */
@media (max-width: 768px) {
  .sidebar {
    top: 0; left: 0; bottom: 0; width: 240px; z-index: 60; padding: 28px 26px 32px; background: #ffffff;
    box-shadow: 2px 0 24px rgba(0,0,0,0.14); transform: translateX(-100%); transition: transform 0.28s ease;
    overflow-y: auto;
  }
  .mobile-topbar { display: flex; }
  .contact-btn {
    top: 0; right: 0; padding: 0 18px; border-radius: 0 0 0 8px; font-size: 13px;
    height: 60px; padding-top: 0; padding-bottom: 0; z-index: 56; letter-spacing: 0.05em;
  }

  /* Hero (index) */
  .hero { background-image: none; padding: 84px 20px 44px; min-height: 0; }
  .hero-inner { max-width: 100%; margin: 0; min-height: 0; display: block; }
  .hero-text { max-width: 100%; }
  .hero-title { font-size: 44px; position: relative; left: 16px; top: 16px; }
  .hero-mobile-img {
    display: block; margin: 28px -20px 0;
    background: #ffffff url('images/hero-top-mobile.png') center bottom / contain no-repeat;
    aspect-ratio: 1626/1841;
  }
  .hero-desc { max-width: 100%; text-shadow: none; margin-top: 28px; }
  .hero-cta { margin-top: 32px; }

  /* About */
  .sec-about { padding: 88px 20px 0; }
  .about-grid { max-width: 100%; margin: 0; display: flex; flex-direction: column; gap: 28px; align-items: stretch; }
  .about-img-wrap { border-radius: 8px; margin-right: 0; height: 260px; order: 1; }

  /* Services */
  .sec-services { padding: 88px 20px 0; }
  .svc-row, .svc-row-last { display: flex; flex-direction: column; gap: 22px; margin-bottom: 56px; align-items: stretch; }
  .svc-row-last { margin-bottom: 0; }
  .svc-img { aspect-ratio: 4/3; }
  .svc-num-wrap { width: 40px; height: 40px; }
  .svc-num-text { font-size: 17px; right: 3px; bottom: 3px; }
  .svc-title { font-size: 21px; top: 10px; letter-spacing: 0.03em; }
  .order-2 { order: 2; }

  /* Facilities */
  .sec-facilities { padding: 0 20px 88px; }
  .facilities-box { padding: 52px 18px 32px; margin-top: 28px; }
  .facility-notch { top: -36px; width: 150px; height: 72px; border-radius: 100px 100px 0 0; }
  .facilities-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .facility-card { padding: 18px 6px; }
  .facility-icon-wrap { width: 52px; height: 52px; margin: 0 auto 10px; }

  /* Strength */
  .sec-strength { padding: 80px 20px 80px; }
  .strength-row, .strength-row-alt, .strength-row-last { display: flex; flex-direction: column; gap: 18px; margin-bottom: 56px; align-items: stretch; }
  .strength-row-last { margin-bottom: 0; }
  .strength-row img, .strength-row-alt img, .strength-row-last img { width: 87%; }
  .strength-text { max-width: 100%; }
  .strength-text.push-right { margin-left: 0; }
  .strength-num { font-size: 30px; position: relative; top: 2px; }
  .strength-heading { font-size: 21px; margin-bottom: 14px; gap: 12px; letter-spacing: 0.02em; line-height: 1.5; }
  .strength-body { padding-left: 0; line-height: 2.1; }

  /* Works */
  .sec-works { padding: 88px 20px 0; }
  .works-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }

  /* Message */
  .sec-message { margin-top: 88px; padding: 64px 20px; }
  .message-grid { max-width: 100%; margin: 0; display: flex; flex-direction: column; gap: 28px; align-items: stretch; }
  /* 代表者写真はメッセージ本文と代表者名の下に置く（及川さんのご指定）。
     写真は 1200x1200 の正方形で、枠も 1/1 なので切り取られず全体が出る。 */
  .sec-message .order-2 { order: 0; }
  .message-title { font-size: 28px; margin-bottom: 22px; }

  /* Company */
  .sec-company { padding: 80px 20px 28px; }
  .company-box { max-width: 100%; padding: 28px 20px; }
  .company-divider { display: none; }
  .company-row { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-bottom: 1px solid #EEF1F3; }
  /* 一番下の行は下線を出さない（及川さんのご指定）*/
  .company-row:last-child { border-bottom: none; }

  /* History */
  .sec-history { padding: 72px 20px 0; }
  .history-wrap { width: 100%; }
  .history-line { left: 101px; }
  .history-row { gap: 14px; }
  .history-year { width: 72px; text-align: right; font-size: 15px; letter-spacing: 0.02em; }

  /* Contact (index) */
  .sec-contact { margin-top: 88px; padding: 64px 20px 88px; }
  .contact-grid { display: flex; flex-direction: column; gap: 26px; }

  /* SP のタップ領域を拡大（index / recruit 両フォーム共通）。
     label に padding を足し、同量の負 margin で相殺するので
     見た目の 16px 枠・行間・レイアウト高さは一切変わらない。 */
  .form-field .radio-list label { padding: 6px 0; margin: -6px 0; }
  .form-field label.checkbox-row { padding: 6px 0; margin: -6px 0; }

  /* Footer */
  .footer-inner { max-width: 100%; margin: 0 auto; padding: 0 20px; }

  /* ---- Recruit page ---- */
  .rc-hero { padding: 76px 20px 20px; }
  .rc-hero-box { max-width: 100%; margin: 0; border-radius: 8px; min-height: 420px; padding: 36px 26px; }
  .rc-hero-watermark { font-size: 56px; letter-spacing: 0.1em; top: -72px; left: -8px; }
  .rc-hero-title { font-size: 28px; line-height: 1.6; letter-spacing: 0.02em; top: -56px; }
  .rc-hero-textwrap { max-width: 100%; }
  .rc-hero-wave { bottom: 0; }

  .rc-mission { padding: 64px 20px 8px; }

  .rc-about { padding: 64px 20px 72px; }
  .rc-about-grid { max-width: 100%; margin: 0; display: flex; flex-direction: column; gap: 28px; }
  .rc-about-img { aspect-ratio: 16/9; order: 1; }

  .rc-work { padding: 72px 20px 0; }
  .rc-work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .rc-work-card { border-radius: 12px; padding: 26px 16px; }
  .rc-work-icon-wrap { height: 52px; margin-bottom: 16px; }
  .rc-work-icon-wrap img { width: 48px; height: 48px; }
  .rc-work-card h3 { font-size: 14px; letter-spacing: 0.02em; line-height: 1.6; }

  .rc-vision { margin-top: 64px; padding: 64px 20px; }
  .rc-vision-watermark { top: 18px; font-size: 64px; }

  .rc-experience { padding: 64px 20px 64px; }
  .rc-exp-gap { gap: 56px; }
  .rc-exp-row { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .rc-exp-card { margin: -20px 0 0 !important; padding: 28px 24px; top: 0; }
  .rc-exp-no { position: static; display: block; font-size: 38px; margin-bottom: 12px; }

  .rc-schedule { padding: 64px 20px 0; }
  .rc-schedule-box { padding: 32px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px; }
  .rc-schedule-timeline { width: 100%; max-width: 320px; margin: 0 auto; text-align: left; }
  /* 「業務終了。お疲れ様でした！」が nowrap のため白いカードの外へはみ出し、
     360px 以下では overflow:hidden で文字が切れていた（原本も同様）。
     モバイルだけ折り返しを許可してカード内に収める。 */

  /* 固定トップバー(60px)にアンカー先の見出しが隠れないようにする */
  section[id] { scroll-margin-top: 68px; }

  /* 日本語の折り返し改善（スマホのみ）。
     ⚠️ 2026-08-04 に body へ入れた `word-break: auto-phrase` と `text-wrap: pretty` は
     どちらも「右側に空白ができてテキストが左寄りに見える」原因になったため body から外した
     （Issue #8）。両者は逆のブラウザで症状が出るので、片方だけ直すと見落とす:
       - auto-phrase … Chrome/Blink のみ対応。長い段落で1行が文節単位で早く終わる。
         Safari では無視されるので Chrome の DevTools でだけ見える。
       - text-wrap: pretty … Safari 17.5+ は段落全体を見て行を組み直すため、
         悪い改行を避けるべく各行を短く詰めて右端に余白を残す。Chrome の実装は
         最終行の孤立語を避けるだけで穏やかなので、DevTools では再現しない
         （＝実機 iPhone でのみ発生。及川さんの実機報告で判明）。
     auto-phrase は Safari では無視される＝実機に影響しないため、Chrome での
     改善分（「人々のくらしを／支える使命に」等）を保つよう見出しと短いラベルにだけ残す。
     text-wrap は指定しない（既定の `wrap`）。 */
  .hero-title, .message-title, .rc-hero-title, .strength-heading span,
  .rc-exp-card h3, .rc-cta-box h2, .rc-entry-head h2,
  .history-items, .rc-schedule-label, .rc-wanted-item .text { word-break: auto-phrase; }

  /* ⚠️ auto-phrase は「文節を割らない」ので、その要素の min-content 幅が
     **最長の文節の幅**まで広がる。フレックス項目の既定 `min-width:auto` と
     組み合わさると `flex:1` でも縮まなくなる（Issue #16）。
     沿革の「株式会社安里電設として法人化」は min-content が 135px あり、
     幅280px（Galaxy Fold 外側画面）では入る幅が 110px しかないため
     1行目の末尾の「と」が画面の右端で切れていた。縮小を許可して収める。
     ・幅300px 以上は入る幅が 135px を超えるので描画は一切変わらない
       （幅320/390/768/1440px で全セクション差 0px を実測）
     ・原本は auto-phrase を持たない（`word-break:normal`）ので、
       原本の沿革は 280px でも 110px で折り返す。これで原本の描画に揃う。 */
  .history-items { min-width: 0; }

  /* PC の行長に合わせて入れた改行はスマホでは無効にする（右側の空白の原因）。
     display:none の <br> は改行しない（モバイル含め全ブラウザで同挙動）。 */
  .pc-br { display: none; }

  .rc-members { padding: 64px 20px 0; }
  .rc-members-grid { display: flex; flex-direction: column; align-items: center; gap: 32px; }

  .rc-wanted { margin-top: 64px; padding: 0 20px 0; }
  .rc-wanted-box { padding: 40px 22px; border-radius: 12px; }
  .rc-wanted-inner { max-width: 100%; margin: 0; padding: 0; }

  .rc-benefits { padding: 64px 20px 64px; }

  .rc-faq { padding: 64px 20px 0; }

  .rc-cta { padding: 0 20px; margin-top: 64px; }
  .rc-cta-box { max-width: 100%; margin: 0; border-radius: 12px; padding: 56px 24px; }
  .rc-cta-box h2 { font-size: 24px; line-height: 1.7; letter-spacing: 0.03em; }

  .rc-entry { margin-top: -140px; padding: 200px 20px 72px; }

  /* ---- Privacy page ---- */
  .pp-section { padding: 76px 20px 72px; }
}

/* ================= PC 限定の微調整 ================= */
/* ABOUT US の画像は高さ 560px 固定（#7）にしたため、object-fit:cover の切り取り範囲が
   画面が広いほど中央へ寄り、1500px 付近から作業員の頭が切れてしまう。
   縦位置を少し上げてヘルメット・顔・手元をフレーム内に保つ。
   SP（<=768px）は高さ 260px で構図が別なので、意図的に PC だけに限定する。 */
@media (min-width: 769px) {
  .about-img-wrap img { object-position: 50% 22%; }
}
