@charset "UTF-8";
/*
 * ======================================
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * ======================================
 *
 * .hakoco-container / --narrow / --form   - 1200/960/880px幅＋左右padding clamp(20px,4vw,40px) を内包するコンテナ
 * .hakoco-section / --lg / --xl / --blog  - clamp() で可変するセクション上下余白
 * .hakoco-stack / --24〜--72 / --section   - flex縦積み＋gap
 * .hakoco-heading / --md                  - 英字(Oswald)＋日本語(□アイコン付き)の2段見出し
 * .hakoco-text / .hakoco-lead / .hakoco-paragraphs - 本文・リード文
 * .hakoco-btn                             - 角丸2px・矢印付き・space-between のボタン（サイト内1種類。色のみ白背景用solid／青背景用white）
 * .hakoco-br-sp / .hakoco-br-pc / .hakoco-br-lg - SPのみ(〜699px)／PCのみ(700px〜)／広幅PCのみ(1101px〜)の改行
 * .hakoco-page-top / .hakoco-thanks       - ページトップボタン配色・送信完了ページ
 * .form-pattern-1（!important上書き）      - CMSフォームのデフォルトデザインをサイトに合わせる
 * .hakoco-header / .hakoco-logo / .hakoco-nav-toggle / .hakoco-sp-nav - ヘッダー・テキストロゴ・MENUボタン・ドロップダウン型SPナビ
 * .hakoco-mv                              - MV（グラデーション暗幕・英字ライン・縦書きSCROLL）
 * .hakoco-split / --reverse               - auto-fit 2カラム（minmax 420/440px）
 * .hakoco-photo / --lg / --sm / --right   - 写真＋背面のメインカラー矩形あしらい
 * .hakoco-stripes / --box                 - 斜めストライプ装飾（左上・右下）
 * .hakoco-band / .hakoco-head-row         - メインカラー帯セクション / 見出し＋ボタン横並び
 * .hakoco-service-card / .hakoco-num / .hakoco-service-title - 事業カード・大番号
 * .hakoco-news / .hakoco-news-list        - TOPお知らせ（左見出し＋右サムネ付きリスト）
 * .hakoco-recruit-band                    - 写真＋グラデーション暗幕の採用導線
 * .hakoco-cta / .hakoco-tel-num           - お問い合わせCTA（電話カード＋フォームカード）
 * .hakoco-cta-box                         - 帯内CTAボックス（電話・FAX・フォームボタン）
 * .hakoco-page-hero / .hakoco-breadcrumb  - 下層ヒーロー（右上の枠装飾）・パンくず
 * .hakoco-origin / .hakoco-signature      - 社名の由来図式・代表署名
 * .hakoco-table / .hakoco-map             - 上2px罫線の項目テーブル・地図
 * .hakoco-points / .hakoco-point / .hakoco-marker - 角三角あしらい付きポイントカード・黄色マーカー
 * .hakoco-contact-methods / .hakoco-form  - 電話/FAXパネル・フォーム（ボタン型ラジオ）
 * .hakoco-blog / .hakoco-post-card / .hakoco-pagination / .hakoco-side-block / .hakoco-article - ブログ一覧・詳細
 *
 * ======================================
 * 共通SCSSに不足していたもの
 * ======================================
 *
 * [値の粒度不足]
 *  - section / container の余白が固定px（120px/60px, 1200px内padding無し）。clamp() による可変余白がない
 *  - heading__en の font-weight が 700 固定（Oswald 500 にしたい）
 *  - fz-* に 13/15/17px 等の刻みがない
 * [構造不足]
 *  - 見出し日本語の前に□アイコンを付ける見出しがない
 *  - auto-fit(minmax) 型の2カラムgrid がない（column2 は % 固定）
 *  - ヘッダーの「TEL」ラベル付き電話番号、テキスト型（MENU/CLOSE）トグル、ヘッダー直下ドロップダウン型SPナビがない
 *  - 一覧＋280px固定サイドバーの grid（main-side は % 固定＋sticky）
 *  - サムネ付きお知らせ行（news-list はサムネなし）
 * [装飾パターン不足]
 *  - 写真背面のずらし矩形（ベタ）、斜めストライプ帯、カード角の三角あしらい、下層ヒーロー右上の枠装飾
 *  - 透過62%の黄色マーカー
 * [状態不足]
 *  - btn--white の hover が「白→メインカラー反転」のみで、薄青背景にする hover がない
 *  - ラジオをボタン型にする選択状態スタイルがない
 *
 */

/* ==========================================================================
   Base（claude-design-output 基準：本文16px・line-height normal）
   ========================================================================== */
body {
  font-size: 1.6rem;
  line-height: normal;
  background: #fff;
}
@media (max-width: 896px) { body { font-size: 1.6rem; } }
@media (max-width: 639px) { body { font-size: 1.6rem; } }

a:hover { color: inherit; }

/* ==========================================================================
   Layout
   ========================================================================== */
.container.hakoco-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 40px);
  padding-right: clamp(20px, 4vw, 40px);
}
.container.hakoco-container--narrow { max-width: 960px; }
.container.hakoco-container--form { max-width: 880px; }

.section.hakoco-section { padding: clamp(72px, 10vw, 120px) 0; }
.section.hakoco-section--lg { padding: clamp(80px, 11vw, 130px) 0; }
.section.hakoco-section--xl { padding: clamp(80px, 11vw, 140px) 0; }
.section.hakoco-section--blog { padding: clamp(56px, 8vw, 100px) 0; }
.section.hakoco-section.section--pt0 { padding-top: 0; }

.hakoco-stack { display: flex; flex-direction: column; }
.hakoco-stack--24 { gap: 24px; }
.hakoco-stack--28 { gap: 28px; }
.hakoco-stack--32 { gap: 32px; }
.hakoco-stack--36 { gap: 36px; }
.hakoco-stack--44 { gap: 44px; }
.hakoco-stack--56 { gap: clamp(40px, 5vw, 56px); }
.hakoco-stack--64 { gap: clamp(40px, 5vw, 64px); }
.hakoco-stack--72 { gap: clamp(48px, 6vw, 72px); }
.hakoco-stack--section { gap: clamp(72px, 10vw, 120px); }

.hakoco-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--split-min, 440px)), 1fr));
  gap: var(--split-gap, clamp(40px, 6vw, 80px));
  align-items: center;
}
.hakoco-split--about   { --split-gap: clamp(48px, 6vw, 88px); }
.hakoco-split--origin  { --split-min: 420px; --split-gap: clamp(40px, 6vw, 80px); }
/* PC：社名の由来テキストを指定位置で改行し3行に収める（テキスト列＝最長行の幅） */
.hakoco-br-lg { display: none; }
@media (min-width: 1101px) {
  .hakoco-br-lg { display: inline; }
  .hakoco-split--origin { grid-template-columns: max-content minmax(0, 1fr); }
}
.hakoco-split--recruit { --split-gap: clamp(40px, 6vw, 80px); }
.hakoco-split--service { --split-gap: clamp(36px, 5vw, 72px); }
.hakoco-split--reverse { direction: rtl; }
.hakoco-split--reverse > * { direction: ltr; }

/* ==========================================================================
   Heading（英字 Oswald 500 + 日本語17px □アイコン）
   ========================================================================== */
.heading.hakoco-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.heading--left.hakoco-heading { align-items: flex-start; }
.hakoco-heading .heading__en {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 0.03em;
  color: #163996;
}
.hakoco-heading--md .heading__en { font-size: clamp(36px, 5vw, 56px); }
.hakoco-heading .heading__ja {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: normal;
  color: #1c2440;
}
.hakoco-heading .heading__ja::before {
  content: "";
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border: 2px solid #163996;
}
.hakoco-heading.heading--white .heading__en,
.hakoco-heading.heading--white .heading__ja { color: #fff; }
.hakoco-heading.heading--white .heading__ja::before { border-color: #fff; }

/* ==========================================================================
   Text
   ========================================================================== */
.hakoco-text { font-size: 16px; line-height: 2.1; text-wrap: pretty; }
.hakoco-text--lh-20 { line-height: 2; }
.hakoco-text--15 { font-size: 15px; line-height: 1.8; }
.hakoco-paragraphs { display: flex; flex-direction: column; gap: 24px; }

.hakoco-lead {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.6;
}
.hakoco-lead--base { color: #163996; line-height: 1.65; }
.hakoco-lead--message {
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.7;
  color: #163996;
}

/* ==========================================================================
   Button
   ========================================================================== */
.btn.hakoco-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: auto;
  max-width: none;
  min-width: 240px;
  height: 60px;
  padding: 0 28px;
  border: 0;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}
.btn.hakoco-btn:hover { opacity: 1; }
.btn--solid.hakoco-btn { background: #163996; color: #fff; }
.btn--solid.hakoco-btn:hover { background: #0f2a72; color: #fff; }
.btn--white.hakoco-btn { background: #fff; color: #163996; }
.btn--white.hakoco-btn:hover { background: #eef2fa; color: #163996; }

/* ==========================================================================
   Header
   ========================================================================== */
.header.hakoco-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e3e8f3;
  box-shadow: none;
}
.header__inner.hakoco-header__inner {
  max-width: none;
  height: clamp(64px, 7vw, 84px);
  padding: 0 clamp(16px, 2vw, 28px);
  gap: 24px;
}

/* テキストロゴ（ヘッダー・フッター共通） */
.header-logo.hakoco-logo { gap: 12px; }
.hakoco-logo .header-logo__icon.hakoco-logo__icon {
  position: relative;
  align-items: flex-end;
  width: 30px;
  height: 30px;
  padding-bottom: 3px;
  border: 3px solid #163996;
  border-radius: 0;
  background: transparent;
}
.hakoco-logo__icon::before {
  content: "";
  width: 12px;
  height: 4px;
  background: #163996;
}
.hakoco-logo .header-logo__body { line-height: 1; }
.hakoco-logo .header-logo__name.hakoco-logo__en {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.08em;
  color: #163996;
}
.hakoco-logo:hover { opacity: 1; }
.hakoco-logo--white .header-logo__icon.hakoco-logo__icon { border-color: #fff; }
.hakoco-logo--white .hakoco-logo__icon::before { background: #fff; }
.hakoco-logo--white .header-logo__name.hakoco-logo__en { color: #fff; }

/* PCナビ・右側 */
.hakoco-header__pc {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header__nav.hakoco-header__nav {
  gap: clamp(16px, 2vw, 30px);
  margin: 0;
}
.hakoco-header__nav .header__nav-item a {
  gap: 3px;
  padding: 6px 0;
}
.hakoco-header__nav .header__nav-item a::after { background: #163996; }
.hakoco-header__nav .header__nav-item a:hover::after,
.hakoco-header__nav .header__nav-item--current a::after {
  width: 100%;
  left: 0;
  transform: none;
}
.hakoco-header__nav .header__nav-ja {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  color: #1c2440;
  white-space: nowrap;
}
.hakoco-header__nav .header__nav-en {
  font-weight: 500;
  font-size: 10px;
  line-height: normal;
  letter-spacing: 0.16em;
  color: #163996;
}
.header__right.hakoco-header__right {
  gap: 16px;
  height: auto;
}
.hakoco-header__tel {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
}
.hakoco-header__tel:hover { opacity: 0.8; }
.hakoco-header__tel-label { font-size: 10px; letter-spacing: 0.16em; color: #163996; }
.hakoco-header__tel-num { font-size: 22px; letter-spacing: 0.04em; color: #1c2440; white-space: nowrap; }
.header__cta.hakoco-header__cta {
  flex-direction: row;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.header__cta.hakoco-header__cta:hover { background: #0f2a72; color: #fff; }

/* SP：TELボタン＋MENUボタン */
.hakoco-header__sp-tel { display: none; }
@media (max-width: 1100px) {
  .hakoco-header__pc { display: none; }
  .hakoco-header__sp-tel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-right: 56px;
    border: 1px solid #163996;
    border-radius: 2px;
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: #163996;
  }
}
.nav-toggle.hakoco-nav-toggle {
  top: calc((clamp(64px, 7vw, 84px) - 48px) / 2);
  right: clamp(16px, 2vw, 28px);
  width: 48px;
  height: 48px;
  border-radius: 2px;
  background: #163996;
  backdrop-filter: none;
}
.hakoco-nav-toggle .nav-toggle__line { display: none; }
.hakoco-nav-toggle::after {
  content: "MENU";
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #fff;
}
.hakoco-nav-toggle.is-active::after { content: "CLOSE"; }

/* SPナビ：ヘッダー直下に開くドロップダウン型 */
.sp-nav.hakoco-sp-nav {
  top: clamp(64px, 7vw, 84px);
  bottom: auto;
  max-height: calc(100vh - clamp(64px, 7vw, 84px));
  padding: 12px 20px 28px;
  align-items: stretch;
  justify-content: flex-start;
  background: #163996;
}
@media (min-width: 1101px) { .sp-nav.hakoco-sp-nav { display: none; } }
.hakoco-sp-nav .sp-nav__list { max-width: none; text-align: left; }
.hakoco-sp-nav .sp-nav__item { border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.hakoco-sp-nav .sp-nav__item:first-child { border-top: 0; }
.hakoco-sp-nav .sp-nav__link {
  padding: 16px 4px;
  font-size: 15px;
  font-weight: 700;
  line-height: normal;
}
.hakoco-sp-nav .sp-nav__link::after { content: none; }
.hakoco-sp-nav .sp-nav__link:hover { color: #fff; }
.hakoco-sp-nav .sp-nav__en {
  margin: 0;
  padding: 0;
  opacity: 1;
  font-size: 11px;
  letter-spacing: 0.16em;
}
.hakoco-sp-nav .sp-nav__bottom { max-width: none; margin-top: 20px; }
.hakoco-sp-nav__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  border-radius: 2px;
  background: #fff;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: #163996;
}

/* ==========================================================================
   Main Visual
   ========================================================================== */
.hakoco-mv {
  position: relative;
  overflow: hidden;
  background: #0f2a72;
}
.hakoco-mv #slideshow {
  position: relative;
  height: clamp(520px, 82vh, 780px);
}
.hakoco-mv .swiper-slide,
.hakoco-mv .main_slider__inner { height: 100%; }
.hakoco-mv .swiper-slide img,
.hakoco-mv .main_slider__inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.hakoco-mv__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10, 30, 84, 0.82) 0%, rgba(10, 30, 84, 0.55) 55%, rgba(10, 30, 84, 0.15) 100%);
  pointer-events: none;
}
.hakoco-mv__content {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.hakoco-container.hakoco-mv__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  height: 100%;
  padding-bottom: 40px; /* デザインのスライドドット行（gap28+mt8+h4）分。CMSスライダーのページネーション位置 */
  color: #fff;
}
.hakoco-mv__en {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: 0.3em;
}
.hakoco-mv__en::before {
  content: "";
  width: 40px;
  height: 1px;
  background: #fff;
}
.hakoco-mv__title {
  margin: 0;
  font-size: clamp(34px, 5.6vw, 68px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-wrap: balance;
}
.hakoco-mv__lead {
  max-width: 42em;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 500;
  line-height: 2;
}
.hakoco-mv__scroll {
  position: absolute;
  right: clamp(20px, 4vw, 40px);
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  writing-mode: vertical-rl;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #fff;
}
.hakoco-mv__scroll::after {
  content: "";
  width: 1px;
  height: 56px;
  background: #fff;
}

/* ==========================================================================
   写真＋背面矩形あしらい
   ========================================================================== */
.hakoco-photo {
  --photo-px: clamp(32px, 4vw, 48px);
  --photo-py: clamp(32px, 4vw, 48px);
  --photo-w: 60%;
  position: relative;
  padding: 0 0 var(--photo-py) var(--photo-px);
}
.hakoco-photo--lg { --photo-px: clamp(32px, 4vw, 56px); --photo-py: clamp(40px, 5vw, 64px); --photo-w: 62%; }
.hakoco-photo--sm { --photo-px: clamp(24px, 3vw, 40px); --photo-py: clamp(24px, 3vw, 40px); }
.hakoco-photo::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--photo-w);
  height: 70%;
  background: #163996;
}
.hakoco-photo--right { padding: 0 var(--photo-px) var(--photo-py) 0; }
.hakoco-photo--right::before { left: auto; right: 0; }
.hakoco-photo img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ==========================================================================
   メインカラー帯・斜めストライプ
   ========================================================================== */
.hakoco-band {
  position: relative;
  overflow: hidden;
  color: #fff;
}
.hakoco-band > .container { position: relative; z-index: 1; }
.hakoco-stripes::before,
.hakoco-stripes::after {
  content: "";
  position: absolute;
  width: clamp(160px, 24vw, 360px);
  height: 70%;
  pointer-events: none;
}
.hakoco-stripes::before {
  left: 0;
  top: 0;
  background: linear-gradient(115deg, #2f7ee0 0, #2f7ee0 16%, rgba(47, 126, 224, 0.35) 16%, rgba(47, 126, 224, 0.35) 30%, transparent 30%);
}
.hakoco-stripes::after {
  right: 0;
  bottom: 0;
  background: linear-gradient(295deg, #2f7ee0 0, #2f7ee0 12%, rgba(47, 126, 224, 0.35) 12%, rgba(47, 126, 224, 0.35) 26%, transparent 26%);
}
.hakoco-stripes--box::before,
.hakoco-stripes--box::after {
  width: clamp(120px, 16vw, 220px);
  height: 100%;
}
.hakoco-stripes--box::before {
  background: linear-gradient(115deg, #2f7ee0 0, #2f7ee0 18%, rgba(47, 126, 224, 0.35) 18%, rgba(47, 126, 224, 0.35) 30%, transparent 30%);
}
.hakoco-stripes--box::after {
  background: linear-gradient(295deg, #2f7ee0 0, #2f7ee0 14%, rgba(47, 126, 224, 0.35) 14%, rgba(47, 126, 224, 0.35) 28%, transparent 28%);
}

.hakoco-head-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

/* ==========================================================================
   TOP：事業内容カード
   ========================================================================== */
.hakoco-service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.hakoco-service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #1c2440;
}
.hakoco-service-card:hover { opacity: 1; color: #1c2440; }
.hakoco-service-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 60%;
}
.hakoco-service-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 3vw, 36px);
}
.hakoco-service-card__head { display: flex; align-items: baseline; gap: 16px; }
.hakoco-service-card__num {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1;
  color: #163996;
}
.hakoco-service-card__title { margin: 0; font-size: clamp(19px, 2vw, 22px); font-weight: 700; }
.hakoco-service-card__text { font-size: 15px; line-height: 1.95; color: #3a4361; }
.hakoco-service-card__more {
  align-self: flex-end;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: #163996;
}

/* ==========================================================================
   TOP：お知らせ
   ========================================================================== */
.hakoco-news {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
}
.hakoco-news__head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.hakoco-news__body { min-width: 0; }
@media (min-width: 1020px) {
  .hakoco-news { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hakoco-news__body { grid-column: span 2; }
}
.news-list.hakoco-news-list { border-top: 1px solid #d5dcec; }
.hakoco-news-list .news-list__item { border-bottom: 1px solid #d5dcec; }
.hakoco-news-list .news-list__link {
  display: grid;
  grid-template-columns: clamp(96px, 14vw, 160px) minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
  align-items: center;
  padding: 22px 0;
  color: #1c2440;
}
.hakoco-news-list .news-list__link:hover { background: #f5f7fc; opacity: 1; }
.hakoco-news-list__thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #dfe6f4; }
.hakoco-news-list__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hakoco-news-list__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hakoco-news-list__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hakoco-news-list .news-list__title {
  flex: none;
  min-width: 0;
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 700;
  line-height: 1.6;
}

/* 日付・カテゴリバッジ（お知らせ共通） */
.news-list__date.hakoco-date,
.hakoco-news-list .news-list__date {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #4a5373;
}
.news-list__date.hakoco-date { letter-spacing: 0; }
.news-list__date.hakoco-date--lg { font-size: 15px; }

/* ==========================================================================
   TOP：採用導線
   ========================================================================== */
.hakoco-recruit-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10, 30, 84, 0.85) 0%, rgba(10, 30, 84, 0.6) 50%, rgba(10, 30, 84, 0.15) 100%),
    url("https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28903/bg-recruit.png") right center / cover no-repeat,
    #0f2a72;
}
.hakoco-container.hakoco-recruit-band__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding-top: clamp(80px, 11vw, 130px);
  padding-bottom: clamp(80px, 11vw, 130px);
  color: #fff;
}
.hakoco-recruit-band__text { max-width: 640px; }

/* ==========================================================================
   お問い合わせCTA（TOP）
   ========================================================================== */
.hakoco-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}
.hakoco-cta__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
  width: 100%;
  max-width: 960px;
}
.hakoco-cta__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 24px;
}
.hakoco-cta__card:hover { opacity: 1; }
.hakoco-cta__card--tel {
  gap: 10px;
  border: 1px solid #d5dcec;
  background: #fff;
  color: #1c2440;
}
.hakoco-cta__card--mail {
  justify-content: center;
  gap: 12px;
  background: #163996;
  color: #fff;
}
.hakoco-cta__card--mail:hover { background: #0f2a72; color: #fff; }
.hakoco-cta__label { font-size: 14px; font-weight: 700; }
.hakoco-cta__fax { font-size: 13px; color: #4a5373; }
.hakoco-cta__mail {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
}

/* 電話番号（Oswald＋アイコン） */
.hakoco-tel-num {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1;
  letter-spacing: 0.04em;
}
.hakoco-tel-num i { font-size: 0.75em; }
.hakoco-tel-num--lg { font-size: clamp(32px, 3.8vw, 44px); line-height: 1.1; color: #163996; }
.hakoco-tel-num--lg i { font-size: 0.8em; }
.hakoco-tel-num--md { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.1; color: #163996; }

/* ==========================================================================
   下層：ページヒーロー・パンくず
   ========================================================================== */
.page-hero.hakoco-page-hero {
  background: #163996;
  color: #fff;
}
.hakoco-page-hero::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: clamp(180px, 26vw, 340px);
  aspect-ratio: 1 / 1;
  border: clamp(20px, 3vw, 36px) solid rgba(255, 255, 255, 0.08);
}
.hakoco-container.hakoco-page-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
.hakoco-page-hero .heading__en {
  font-weight: 500;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1;
  letter-spacing: 0.03em;
}
.hakoco-page-hero .heading__ja {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
  line-height: normal;
}
.hakoco-page-hero .heading__ja::before {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
}

.breadcrumb.hakoco-breadcrumb {
  padding: 0;
  border-bottom: 1px solid #e3e8f3;
  font-size: 13px;
  color: #4a5373;
}
.hakoco-breadcrumb .hakoco-container { padding-top: 14px; padding-bottom: 14px; }
.hakoco-breadcrumb .breadcrumb__list { gap: 10px; }
.hakoco-breadcrumb .breadcrumb__item:not(:last-child)::after {
  content: "›";
  margin: 0 0 0 10px;
  color: #4a5373;
}
.hakoco-breadcrumb .breadcrumb__link:hover { opacity: 1; color: #163996; }

/* ==========================================================================
   会社概要
   ========================================================================== */
.hakoco-signature {
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  padding-top: 8px;
}
.hakoco-signature__role { font-size: 14px; color: #4a5373; }
.hakoco-signature__name { font-size: 22px; font-weight: 700; letter-spacing: 0.2em; }

.hakoco-origin {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(28px, 4vw, 48px);
  background: #fff;
}
.hakoco-origin__formula {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  text-align: center;
}
.hakoco-origin__part {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.hakoco-origin__word {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  color: #163996;
}
.hakoco-origin__word--lg { font-size: clamp(40px, 6vw, 64px); letter-spacing: 0.08em; }
.hakoco-origin__plus {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 32px;
  color: #163996;
}
.hakoco-origin__ja { font-size: 14px; font-weight: 700; }
.hakoco-origin__ja--lg { font-size: 16px; }
.hakoco-origin__divider { height: 1px; background: #d5dcec; }

/* 項目テーブル（会社概要・募集要項） */
.table-basic.hakoco-table {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  border-top: 2px solid #163996;
}
.hakoco-table th,
.hakoco-table td {
  padding: 22px clamp(12px, 2vw, 24px);
  border: 0;
  border-bottom: 1px solid #d5dcec;
  font-size: 15px;
  vertical-align: top;
}
.hakoco-table th {
  width: 28%; /* デザイン：minmax(6.5em, 28%) */
  background: #eef2fa;
  color: #163996;
  font-weight: 700;
  line-height: normal;
}
.hakoco-table td { line-height: 1.8; }
@media (max-width: 410px) { .hakoco-table th { width: 104px; } }

.hakoco-map iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  min-height: 300px;
  border: 0;
  filter: grayscale(0.2);
}

/* ==========================================================================
   事業内容
   ========================================================================== */
.hakoco-num {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: clamp(56px, 7vw, 88px);
  line-height: 0.9;
  color: #163996;
}
.hakoco-service-title {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.5;
}
.hakoco-service-title__sub { margin-left: 8px; font-size: 0.6em; color: #4a5373; }

/* 帯内CTAボックス（事業内容・採用情報） */
.hakoco-cta-box {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 72px);
  background: #163996;
  color: #fff;
  text-align: center;
}
.hakoco-cta-box > * { position: relative; z-index: 1; }
.hakoco-cta-box__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hakoco-cta-box__en {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.3em;
}
.hakoco-cta-box__title { margin: 0; font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.6; }
.hakoco-cta-box__text { font-size: 15px; line-height: 1.9; }
.hakoco-cta-box__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 3vw, 40px);
  width: 100%;
}
.hakoco-cta-box__tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: min(100%, 360px);
  padding: 20px 32px;
  border-radius: 2px;
  background: #fff;
  color: #163996;
}
a.hakoco-cta-box__tel:hover { background: #eef2fa; color: #163996; opacity: 1; }
.hakoco-cta-box__label { font-size: 13px; font-weight: 700; color: #1c2440; }
.hakoco-cta-box__tel--fax {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
}
.hakoco-cta-box__tel--fax .hakoco-cta-box__label { color: #fff; }

/* ==========================================================================
   採用情報：こんな方に向いています
   ========================================================================== */
.hakoco-point-section {
  background: url("https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28903/bg-01.png") right top / cover no-repeat #163996;
  color: #fff;
}
.hakoco-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 2.4vw, 28px);
}
.hakoco-point {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: clamp(24px, 2.4vw, 32px) clamp(24px, 2.6vw, 36px) clamp(36px, 3.6vw, 48px);
  background: #fff;
  color: #1c2440;
  box-shadow: rgba(8, 24, 72, 0.25) 0 12px 32px;
}
.hakoco-point::before,
.hakoco-point::after {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
}
.hakoco-point::before { left: 0; top: 0; background: linear-gradient(135deg, #2f7ee0 50%, transparent 50%); }
.hakoco-point::after { right: 0; bottom: 0; background: linear-gradient(315deg, #2f7ee0 50%, transparent 50%); }
.hakoco-point__num {
  position: absolute;
  right: clamp(16px, 2vw, 24px);
  top: 12px;
  font-family: "Oswald", sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(48px, 5vw, 64px);
  line-height: 1;
  color: #c9d5ec;
}
.hakoco-point__icon {
  position: relative;
  width: clamp(110px, 11vw, 140px);
  height: clamp(110px, 11vw, 140px);
  margin-bottom: -12px;
  object-fit: contain;
}
.hakoco-point__title {
  position: relative;
  margin: 0;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.6;
  color: #163996;
  text-align: center;
}
.hakoco-marker {
  padding: 0 4px;
  background: linear-gradient(transparent 62%, #fff0a8 62%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hakoco-point__line { display: block; width: 100%; height: 1px; background: #c9d5ec; }
.hakoco-point__text { align-self: stretch; font-size: 15px; line-height: 1.95; color: #3a4361; }

/* ==========================================================================
   お問い合わせ
   ========================================================================== */
.hakoco-contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2px;
  border: 1px solid #d5dcec;
  background: #d5dcec;
}
.hakoco-contact-methods__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px 24px;
  background: #fff;
  color: #1c2440;
}
a.hakoco-contact-methods__item:hover { opacity: 1; color: #1c2440; }
.hakoco-contact-methods__label { font-size: 14px; font-weight: 700; }

.hakoco-form {
  display: flex;
  flex-direction: column;
  border-top: 2px solid #163996;
}
.hakoco-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: center;
  gap: 12px 32px;
  padding: 26px 0;
  border-bottom: 1px solid #d5dcec;
}
.hakoco-form__row--top { align-items: start; }
.hakoco-form__row--top .hakoco-form__label { padding-top: 14px; }
@media (max-width: 639px) {
  .hakoco-form__row { grid-template-columns: minmax(0, 1fr); }
}
.hakoco-form__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
}
.hakoco-form__req {
  padding: 2px 8px;
  border-radius: 2px;
  background: #163996;
  color: #fff;
  font-size: 11px;
}
.form-input.hakoco-form__input {
  min-width: 0;
  height: 54px;
  padding: 0 16px;
  border: 1px solid #c5cee3;
  border-radius: 2px;
  background: #fafbfe;
  color: #1c2440;
  font-size: 16px;
}
.form-input.hakoco-form__input:focus {
  outline: 2px solid #163996;
  border-color: #163996;
}
.form-input.hakoco-form__textarea {
  height: auto;
  padding: 14px 16px;
  line-height: 1.8;
  resize: vertical;
}
.hakoco-form__choices { display: flex; flex-wrap: wrap; gap: 12px; }
.hakoco-form__choice { position: relative; flex: 1 1 180px; cursor: pointer; }
.hakoco-form__choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.hakoco-form__choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border: 1px solid #163996;
  border-radius: 2px;
  background: #fff;
  color: #163996;
  font-size: 15px;
  font-weight: 700;
}
.hakoco-form__choice input:checked + span { background: #163996; color: #fff; }
.hakoco-form__choice input:focus-visible + span { outline: 2px solid #163996; outline-offset: 2px; }
.hakoco-form__submit { display: flex; justify-content: center; padding-top: 44px; }
button.hakoco-btn { font-family: inherit; cursor: pointer; }

/* ==========================================================================
   お知らせ（一覧・詳細・サイドバー）
   ========================================================================== */
.main-side.hakoco-blog {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 1079px) {
  .main-side.hakoco-blog { grid-template-columns: minmax(0, 1fr); }
}
.main-side__main.hakoco-blog__main {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: auto;
  min-width: 0;
}
.main-side__main.hakoco-blog__main--article { gap: 32px; }
.main-side__side.hakoco-blog__side {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: auto;
  min-width: 0;
  margin-top: 0;
  position: static;
}

.hakoco-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: clamp(24px, 3vw, 36px) clamp(20px, 2.4vw, 28px);
}
.hakoco-post-card__link {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #1c2440;
}
.hakoco-post-card__link { transition: none; } /* ダミー記事：共通 a のホバーフェードを無効化 */
.hakoco-post-card__link:hover { opacity: 1; color: #1c2440; }
.hakoco-post-card__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #dfe6f4; }
.hakoco-post-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hakoco-post-card__meta { display: flex; align-items: center; gap: 12px; }
.hakoco-post-card__title { font-size: 16px; font-weight: 700; line-height: 1.65; }

.pagination.hakoco-pagination { margin: 0; padding-top: 16px; }
.hakoco-pagination .pagination__list { display: flex; justify-content: center; gap: 8px; }
.hakoco-pagination .pagination__link {
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d5dcec;
  border-radius: 2px;
  color: #163996;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 16px;
}
.hakoco-pagination .pagination__link:hover { opacity: 1; border-color: #163996; color: #163996; }
.hakoco-pagination .pagination__link.is-current { border-color: #163996; background: #163996; color: #fff; }

.hakoco-article { display: flex; flex-direction: column; gap: 32px; }
.hakoco-article__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 28px;
  border-bottom: 1px solid #d5dcec;
}
.hakoco-article__meta { display: flex; align-items: center; gap: 14px; }
.hakoco-article__title {
  margin: 0;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.55;
  text-wrap: balance;
}
.hakoco-article__img { aspect-ratio: 16 / 9; overflow: hidden; background: #dfe6f4; }
.hakoco-article__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hakoco-article__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 16px;
  line-height: 2.1;
}
.hakoco-article__back {
  display: flex;
  justify-content: center;
  padding-top: 24px;
  border-top: 1px solid #d5dcec;
}

.hakoco-side-block { display: flex; flex-direction: column; gap: 6px; }
.hakoco-side-block__title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid #163996;
  font-size: 15px;
  font-weight: 700;
}
.hakoco-side-block__en {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #163996;
}
.hakoco-side-block__list { display: flex; flex-direction: column; gap: 6px; }
.hakoco-side-block__link {
  display: flex;
  justify-content: space-between;
  padding: 12px 4px;
  border-bottom: 1px solid #e3e8f3;
  font-size: 14px;
  color: #1c2440;
}
.hakoco-side-block__link:hover { opacity: 1; color: #163996; }
.hakoco-side-block__count { font-family: "Oswald", sans-serif; font-weight: 500; color: #4a5373; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer.hakoco-footer {
  background: #163996;
  color: #fff;
}
.footer-body.hakoco-footer__body {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 88px) clamp(20px, 4vw, 40px) 32px;
}
.footer-body__inner.hakoco-footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(36px, 5vw, 64px);
  max-width: none;
  margin: 0;
  padding: 0;
}
.footer-body__left.hakoco-footer__left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: auto;
}
.footer-body__right.hakoco-footer__right { width: auto; }
.footer-body__logo.hakoco-logo { align-self: flex-start; margin-bottom: 0; }
.footer-body__info.hakoco-footer__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #fff;
}
.hakoco-footer__contact { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.hakoco-footer__contact a { color: #fff; }
.footer-body__nav.hakoco-footer__nav {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 8px;
}
.hakoco-footer__nav .footer-body__nav-item { font-size: 14px; }
.hakoco-footer__nav .footer-body__nav-item a { font-size: 14px; color: #fff; }
.hakoco-footer__nav .footer-body__nav-item a:hover { color: #fff; opacity: 0.7; }
.footer-body__map.hakoco-footer__map {
  height: 260px;
  margin-top: 0;
  border-radius: 0;
}
.hakoco-footer__map iframe { display: block; }
.footer-bottom.hakoco-footer__bottom {
  display: flex;
  justify-content: center;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.hakoco-footer__bottom .footer-bottom__copyright {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #fff;
}

/* ==========================================================================
   実装後調整（初稿提出前）
   ========================================================================== */

/* --- 改行切り替え（SP＝699px以下） --- */
.hakoco-br-sp { display: none; }
@media (max-width: 699px) {
  .hakoco-br-sp { display: inline; }
  .hakoco-br-pc { display: none; }
}

/* --- 見出しの文字組み（1文字だけ次行に落ちるのを防ぐ） --- */
.hakoco-heading .heading__ja,
.hakoco-service-title,
.hakoco-service-card__title,
.hakoco-lead { text-wrap: balance; }

/* --- 縦並び＋中央寄せの中の文字は横幅いっぱいに広げて text-align で中央そろえ --- */
.hakoco-cta > p,
.hakoco-cta__card > *,
.hakoco-cta-box__head,
.hakoco-cta-box__head > *,
.hakoco-cta-box__tel > *,
.hakoco-contact-methods__item > *,
.hakoco-origin__part > *,
.hakoco-point__title,
.hakoco-thanks > .hakoco-thanks__title,
.hakoco-thanks > .hakoco-thanks__text {
  align-self: stretch;
  text-align: center;
}
.hakoco-tel-num,
.hakoco-cta__mail { justify-content: center; }

/* --- ページトップボタン --- */
.hakoco-page-top .page-top__link {
  border: 1px solid #163996;
  background: #fff;
  color: #163996;
  box-shadow: 0 4px 12px rgba(22, 57, 150, 0.2);
}
.hakoco-page-top .page-top__link::before {
  content: "\f077";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 16px;
}
.hakoco-page-top .page-top__link:hover {
  border-color: #fff;
  background: #163996;
  color: #fff;
  opacity: 1;
}

/* --- SPメニュー内の電話番号アイコン --- */
.hakoco-sp-nav__tel { gap: 10px; }
.hakoco-sp-nav__tel i { font-size: 0.8em; }

/* --- 月別アーカイブ（CMS出力） --- */
.hakoco-side-block__list ul { display: flex; flex-direction: column; gap: 6px; }
.hakoco-side-block__list ul a {
  display: flex;
  padding: 12px 4px;
  border-bottom: 1px solid #e3e8f3;
  font-size: 14px;
  color: #1c2440;
}
.hakoco-side-block__list ul a:hover { opacity: 1; color: #163996; }

/* --- 送信完了ページ --- */
.hakoco-thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.hakoco-thanks__title {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.6;
  color: #163996;
}
.hakoco-thanks__tel {
  width: 100%;
  max-width: 440px;
  border: 1px solid #d5dcec;
}

/* --- CMSフォーム（.form-pattern-1 のデフォルトを上書き） --- */
.hakoco-form-area .form-contents {
  padding: 0 !important;
  background: transparent !important;
}
.hakoco-form-area .form-contents form dl {
  margin: 0 !important;
  border-top: 2px solid #163996 !important;
}
.hakoco-form-area .form-contents form dl dt:not(.pattern-exclusion) {
  float: left !important;
  width: calc((100% - 32px) / 3) !important;
  margin: 0 !important;
  padding-top: 42px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: normal !important;
}
.hakoco-form-area .form-contents form dl dt:not(.pattern-exclusion) span {
  display: inline-flex !important;
  flex-direction: row-reverse !important;
  align-items: center !important;
  gap: 10px !important;
  font-size: 15px !important;
}
.hakoco-form-area .form-pattern-1 dl dt:not(.pattern-exclusion) span::before {
  top: 0 !important;
  margin: 0 !important;
  padding: 2px 8px !important;
  border-radius: 2px !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: normal !important;
}
.hakoco-form-area .form-pattern-1 dl dt:not(.pattern-exclusion) span.required::before {
  content: "必須" !important;
  background: #163996 !important;
  color: #fff !important;
}
.hakoco-form-area .form-pattern-1 dl dt:not(.pattern-exclusion) span.optional::before {
  content: "任意" !important;
  border: 1px solid #163996 !important;
  background: #fff !important;
  color: #163996 !important;
}
.hakoco-form-area .form-contents form dl dd:not(.pattern-exclusion) {
  margin: 0 !important;
  padding: 26px 0 26px calc((100% - 32px) / 3 + 32px) !important;
  border-bottom: 1px solid #d5dcec !important;
  line-height: 1.8 !important;
}
.hakoco-form-area .form-pattern-1 dd:not(.pattern-exclusion) .textarea,
.hakoco-form-area .form-pattern-1 dd:not(.pattern-exclusion) .textarea-serect,
.hakoco-form-area .form-pattern-1 dd:not(.pattern-exclusion) .textarea-date,
.hakoco-form-area .form-pattern-1 dd:not(.pattern-exclusion) .textarea-time,
.hakoco-form-area .form-pattern-1 dd:not(.pattern-exclusion) .textarea-datetime,
.hakoco-form-area .form-pattern-1 dd:not(.pattern-exclusion) .textarea-datetimepicker {
  height: 54px !important;
  padding: 0 16px !important;
  border: 1px solid #c5cee3 !important;
  border-radius: 2px !important;
  background: #fafbfe !important;
  color: #1c2440 !important;
  font-size: 16px !important;
  font-family: inherit !important;
}
.hakoco-form-area .form-pattern-1 dd:not(.pattern-exclusion) textarea.textarea {
  height: auto !important;
  padding: 14px 16px !important;
  line-height: 1.8 !important;
  resize: vertical;
}
.hakoco-form-area .form-pattern-1 dd:not(.pattern-exclusion) .textarea:focus,
.hakoco-form-area .form-pattern-1 dd:not(.pattern-exclusion) .textarea-serect:focus {
  outline: 2px solid #163996 !important;
  border-color: #163996 !important;
}
/* エラー表示 */
.hakoco-form-area .form-contents .form-err-msg {
  margin: 0 0 24px !important;
  padding: 16px 20px !important;
  border: 1px solid #c62828 !important;
  border-radius: 2px !important;
  background: #fdf0f0 !important;
  color: #c62828 !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
}
/* 送信完了メッセージ（同一ページ表示の場合） */
.hakoco-form-area .form-pattern-1 .form-thanks-msg {
  padding: 48px 24px !important;
  border: 0 !important;
  background: #eef2fa !important;
  font-size: 15px !important;
  line-height: 1.9 !important;
}
.hakoco-form-area .form-pattern-1 .form-thanks-msg .back-home-btn { width: 240px !important; }
.hakoco-form-area .form-pattern-1 .form-thanks-msg .back-home-btn a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 60px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 2px !important;
  background: #163996 !important;
  color: #fff !important;
  font-size: 15px !important;
  letter-spacing: 0 !important;
}
.hakoco-form-area .form-pattern-1 .form-thanks-msg .back-home-btn a:hover { background: #0f2a72 !important; }
/* ファイル添付欄 */
.hakoco-form-area .form-pattern-1 dd:not(.pattern-exclusion) .upload-area {
  border: 2px dashed #c5cee3 !important;
  background: #f5f7fc !important;
}
.hakoco-form-area .form-pattern-1 dd:not(.pattern-exclusion) .upload-area .upload-msg p { color: #4a5373 !important; }
.hakoco-form-area .form-pattern-1 dd:not(.pattern-exclusion) .upload-msg button {
  border: 1px solid #163996 !important;
  border-radius: 2px !important;
  background: #fff !important;
  color: #163996 !important;
}
.hakoco-form-area .form-pattern-1 dd:not(.pattern-exclusion) .upload-msg button::before { background-color: #163996 !important; }
.hakoco-form-area .form-pattern-1 dd:not(.pattern-exclusion) .upload-msg button:hover { background: #eef2fa !important; }
.hakoco-form-area .form-pattern-1 dd:not(.pattern-exclusion) .input-file-clear {
  border: 0 !important;
  border-radius: 2px !important;
  background: #4a5373 !important;
  color: #fff !important;
}
/* 送信ボタン：サイトのボタン（.hakoco-btn）と同じデザインで中央配置 */
.hakoco-form-area .form-pattern-1 .submit-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 280px !important;
  height: 60px !important;
  margin: 44px auto 0 !important;
  padding: 0 28px !important;
  border: 0 !important;
  border-radius: 2px !important;
  background: #163996 !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}
.hakoco-form-area .form-pattern-1 .submit-btn::before {
  margin: 0 !important;
  background-color: #fff !important;
}
.hakoco-form-area .form-pattern-1 .submit-btn::after {
  content: "→";
  font-family: "Oswald", sans-serif;
  font-weight: 500;
}
.hakoco-form-area .form-pattern-1 .submit-btn:hover { background: #0f2a72 !important; }

@media (max-width: 639px) {
  .hakoco-form-area .form-contents form dl dt:not(.pattern-exclusion) {
    float: none !important;
    width: 100% !important;
    padding-top: 26px !important;
  }
  .hakoco-form-area .form-contents form dl dd:not(.pattern-exclusion) {
    padding: 12px 0 26px !important;
  }
}

/* --- SP（699px以下） --- */
@media (max-width: 699px) {
  /* MV：全画面（ヘッダー分を引く） */
  .hakoco-mv #slideshow {
    height: calc(100vh - clamp(64px, 7vw, 84px));
    height: calc(100svh - clamp(64px, 7vw, 84px));
  }

  /* PCで左寄せの見出し・ボタンは中央配置 */
  .heading--left.hakoco-heading {
    align-items: center;
    text-align: center;
  }
  .hakoco-container.hakoco-page-hero__inner {
    align-items: center;
    text-align: center;
  }
  .hakoco-head-row,
  .hakoco-container.hakoco-recruit-band__inner {
    flex-direction: column;
    align-items: center;
  }
  .hakoco-recruit-band__text { align-items: center; text-align: center; }

  /* ボタン：横幅をそろえて中央配置 */
  .btn.hakoco-btn {
    display: flex;
    width: 280px;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
  }

  /* フッター：ナビ非表示・ロゴ／住所を中央配置 */
  .footer-body__nav.hakoco-footer__nav { display: none; }
  .footer-body__left.hakoco-footer__left { align-items: center; text-align: center; }
  .footer-body__logo.hakoco-logo { align-self: center; }
  .hakoco-footer__contact { justify-content: center; }
}

/* --- ページ内リンク先：固定ヘッダーに隠れないよう位置を調整 --- */
.hakoco-anchor { scroll-margin-top: calc(clamp(64px, 7vw, 84px) + 32px); }
