/* =========================================================
   千代田サービス販売 共通スタイル
   - デザイントークン / ベース / ヘッダー / フッター / 共通部品
   - ページ固有のスタイルは pages.css
   ========================================================= */
:root {
  --blue: #235bc4;        /* メインの青（見出し英字・リンク） */
  --blue-dark: #1e3489;
  --blue-mid: #2c6bb0;
  --blue-light: #70a7dd;
  --sky: #76c0e5;
  --teal: #4ea7bf;
  --pale: #e9eef8;        /* フッター背景 */
  --pale-2: #bccbeb;      /* 会社紹介の装飾ブロック */
  --text: #000;
  --gray: #4e4e4e;
  --line: #dcdcdc;
  --max: 1200px;
  --sans: 'Noto Sans JP', sans-serif;
  --serif: 'Noto Serif JP', serif;
  --shippori: 'Shippori Mincho', serif;
  --roboto: 'Roboto', sans-serif;
  --robotoCondensed: 'Roboto Condensed', sans-serif;
  --header-h: 100px;
  --gap-section: clamp(6.25rem, 8vw + 1rem, 11.25rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: #fff;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
main { overflow-x: clip; } /* 装飾の擬似要素による横はみ出し防止（sticky を壊さない clip） */
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .75; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.sp-only { display: none; }
@media (max-width: 1024px) {
  .sp-only { display: block; }
  .pc-only { display: none !important; }
}
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.spacer { height: var(--gap-section); }

/* ---------- 見出し（英字小見出し＋和文明朝） ---------- */
.sec-title { text-align: center; margin-bottom: 3rem; font-weight: normal; }
.sec-title__en {
  display: block;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: .02em;
  line-height: 1.6;
}
.sec-title__jp {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.25rem, .6vw + 1rem, 1.5rem);
  font-weight: 400;
  letter-spacing: .05em;
  line-height: 1.6;
}
.sec-title--left { text-align: left; }
.sec-title--white .sec-title__en, .sec-title--white .sec-title__jp { color: #fff; }

/* ---------- ボタン ---------- */
.btn-outline {
  display: flex; align-items: center; justify-content: center;
  width: min(520px, 100%);
  min-height: 85px;
  margin-inline: auto;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-size: 1.5rem;
  letter-spacing: .05em;
  transition: background .3s, color .3s;
}
.btn-outline:hover { background: var(--blue); color: #fff; opacity: 1; }
.btn-outline--white { border-color: #fff; color: #fff; }
.btn-outline--white:hover { background: #fff; color: var(--blue); }

/* 下線＋矢印のテキストリンク */
.link-arrow {
  position: relative;
  display: inline-flex; align-items: center; gap: 1.6rem;
  padding: 0 0 .5rem 2.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-size: .9375rem;
}
.link-arrow::before { content: ""; position: absolute; left: 0; bottom: -1px; width: 20px; border-bottom: 1px solid var(--blue); }
.link-arrow i { color: #bbb; }
.link-center { text-align: center; margin-top: 4rem; }

/* ---------- ヘッダー ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 50; height: var(--header-h); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 0 20px; }
.site-header__logo img { width: 150px; }
.gnav { display: flex; align-items: center; gap: 60px; }
.gnav__list { display: flex; gap: 0; }
.gnav__item { position: relative; }
.gnav__link {
  display: block; padding: 10px;
  font-family: var(--serif); font-size: 15px; letter-spacing: .03em; line-height: 1.5;
  cursor: pointer;
}
.gnav__sub {
  position: absolute; top: 100%; left: 50%; translate: -50% 0;
  min-width: 160px; padding: 10px 0;
  background: rgba(255, 255, 255, .96); box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
  opacity: 0; visibility: hidden; transition: opacity .25s;
}
.gnav__sub a { display: block; padding: 6px 20px; font-family: var(--serif); font-size: 14px; white-space: nowrap; }
.gnav__item.has-sub:hover .gnav__sub, .gnav__item.has-sub:focus-within .gnav__sub { opacity: 1; visibility: visible; }
.gnav__cta { display: flex; align-items: center; gap: 30px; }
.btn-contact {
  display: flex; align-items: center; justify-content: center;
  width: 150px; height: 54px;
  border: 1px solid var(--blue); background: #fff;
  color: var(--blue); font-weight: 700; font-size: 15px;
}
.tel { text-align: center; line-height: 1.3; }
.tel__num { font-family: var(--roboto); font-size: 20px; }
.tel__num i { color: var(--blue); font-size: .9em; margin-right: 3px; }
.tel__time { font-family: var(--roboto); color: var(--gray); font-size: 15px; }
.menu-btn { display: none; }

/* ダイキンバナー（右下固定） */
.daikin-banner {
  position: fixed; right: 14px; top: 680px; z-index: 40;
  width: 250px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .15));
}
@media (max-height: 900px) { .daikin-banner { top: auto; bottom: 30px; } }

@media (max-width: 1280px) {
  .gnav { gap: 24px; }
  .gnav__link { padding: 10px 6px; font-size: 14px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 70px; }
  .site-header__logo { position: relative; z-index: 60; }
  .site-header__logo img { width: 130px; }
  .menu-btn {
    display: block; position: relative; z-index: 60;
    width: 40px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer;
  }
  .menu-btn span { position: absolute; left: 5px; width: 30px; height: 1.5px; background: #000; transition: .3s; }
  .menu-btn span:nth-child(1) { top: 6px; }
  .menu-btn span:nth-child(2) { top: 14px; }
  .menu-btn span:nth-child(3) { top: 22px; }
  .is-menu-open .menu-btn span:nth-child(1) { top: 14px; rotate: 30deg; }
  .is-menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .is-menu-open .menu-btn span:nth-child(3) { top: 14px; rotate: -30deg; }
  .gnav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; align-items: stretch; gap: 30px;
    padding: 100px 20px 40px; overflow-y: auto;
    background: rgba(255, 255, 255, .93);
    opacity: 0; visibility: hidden; transition: opacity .3s;
  }
  .is-menu-open .gnav { opacity: 1; visibility: visible; }
  .is-menu-open { overflow: hidden; }
  .gnav__list { display: block; columns: 2; column-gap: 20px; }
  .gnav__item { break-inside: avoid; margin-bottom: 26px; }
  .gnav__link { padding: 0; font-size: 16px; cursor: default; }
  .gnav__sub { position: static; translate: none; opacity: 1; visibility: visible; background: none; box-shadow: none; padding: 6px 0 0; min-width: 0; }
  .gnav__sub a { padding: 4px 0 4px 14px; position: relative; }
  .gnav__sub a::before { content: ""; position: absolute; left: 4px; top: 50%; width: 5px; border-top: 2px solid var(--blue-light); }
  .gnav__cta { flex-direction: column; gap: 30px; }
  .daikin-banner { width: 160px; right: 8px; bottom: 16px; top: auto; }
}

/* ---------- ページタイトル（下層MV） ---------- */
.page-mv { position: relative; display: flex; align-items: flex-end; min-height: 405px; }
.page-mv__img { width: 50%; height: 405px; overflow: hidden; }
.page-mv__img img { width: 100%; height: 100%; object-fit: cover; }
.page-mv__title { flex: 1; padding: 0 0 0 30px; max-width: calc(var(--max) / 2 + 60px); text-align: right; font-weight: normal; }
.page-mv__jp { display: block; font-family: var(--serif); font-size: 1.375rem; letter-spacing: .05em; }
.page-mv__en {
  display: block; margin-bottom: -.12em;
  font-family: var(--roboto); font-weight: 300; color: var(--blue);
  font-size: clamp(3rem, 6.4vw, 6.25rem); line-height: 1; letter-spacing: .08em;
}
@media (max-width: 767px) {
  .page-mv { display: block; padding-top: var(--header-h); }
  .page-mv__img { width: 100%; height: 220px; }
  .page-mv__title { padding: 20px 20px 0; max-width: none; }
}

/* ---------- 採用バナー（トップ・会社紹介の下部） ---------- */
.recruit-cta { position: relative; width: min(var(--max), 100%); margin: 0 auto; min-height: 645px; background-size: cover; background-position: center; }
.recruit-cta__inner {
  position: absolute; left: 0; bottom: 0;
  width: min(600px, 100%);
  padding: 90px 40px 100px;
  background: #fff;
}
.recruit-cta .sec-title { margin-bottom: 2.5rem; }
.recruit-cta .sec-title__jp { font-size: clamp(1.25rem, 1vw + 1rem, 1.75rem); text-align: left; line-height: 1.5; }
.recruit-cta__text { font-size: .9375rem; margin-bottom: 3rem; }
.recruit-cta .btn-outline { min-height: 85px; }
@media (max-width: 767px) {
  .recruit-cta { min-height: 0; padding-top: 260px; }
  .recruit-cta__inner { position: relative; padding: 50px 20px 60px; }
}

/* ---------- 記事一覧（日付＋タイトルの行） ---------- */
.news-list__item { display: flex; align-items: baseline; gap: 2.4rem; padding: 1rem 0; position: relative; }
.news-list__date { flex: none; font-family: var(--roboto); color: var(--blue); font-size: 1.25rem; }
.news-list__title { flex: 1; font-size: 1.125rem; font-weight: 400; line-height: 1.6; padding-right: 120px; }
.news-list__title a::after { content: ""; position: absolute; inset: 0; }
.news-list__item::after {
  content: ""; position: absolute; right: 0; top: 50%;
  width: 80px; height: 6px;
  border-bottom: 1px solid var(--blue); border-right: 1px solid var(--blue);
  transform: skewX(45deg); transform-origin: bottom;
}
@media (max-width: 767px) {
  .news-list__item { flex-direction: column; gap: 0; }
  .news-list__date { font-size: 1rem; }
  .news-list__title { font-size: 1rem; padding-right: 70px; }
  .news-list__item::after { width: 50px; }
}

/* ---------- 記事詳細（共通） ---------- */
.article { width: min(1000px, calc(100% - 40px)); margin: 0 auto; padding-top: calc(var(--header-h) + 60px); }
.article__date { font-family: var(--roboto); color: var(--blue); }
.article__category a { display: inline-block; padding: 2px 14px; background: var(--blue); color: #fff; font-size: .875rem; }
.article__title { margin: .6rem 0 2.5rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); font-size: clamp(1.25rem, 1vw + 1rem, 1.75rem); font-weight: 500; line-height: 1.6; }
.article__thumb { margin-bottom: 2.5rem; text-align: center; }
.article__body { line-height: 2; }
.article__body img { display: inline-block; margin: .5rem; }
.article__back { margin-top: 5rem; }

/* ---------- フッター ---------- */
.site-footer__bg { background: var(--pale); padding: 100px 0 100px; }
.site-footer__inner { display: grid; grid-template-columns: 330px 1fr 245px; gap: 40px; width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-footer__info img { width: 200px; }
.site-footer__name { margin: 1.2rem 0 1.6rem; font-family: var(--serif); font-size: 1.25rem; }
.site-footer__address { font-size: .875rem; color: var(--gray); line-height: 1.65; }
.fnav__main { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 1.6rem; margin-bottom: 3.4rem; }
.fnav__main a { position: relative; padding-left: 16px; font-weight: 500; font-size: .9375rem; }
.fnav__main a::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.fnav__sub { display: grid; grid-template-columns: repeat(2, 1fr); row-gap: .6rem; padding-left: 10px; }
.fnav__sub a { position: relative; padding-left: 16px; font-size: .9375rem; }
.fnav__sub a::before { content: ""; position: absolute; left: 0; top: .75em; width: 7px; border-top: 2px solid var(--blue-light); }
.site-footer__contact { text-align: center; }
.site-footer__label { position: relative; display: inline-block; padding-left: 14px; color: var(--blue); font-size: .875rem; }
.site-footer__label::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.tel__num--lg { font-size: 1.9rem; margin-top: .5rem; }
.site-footer__contact .tel__time { font-size: 1.25rem; margin-bottom: 2.4rem; }
.site-footer__contact .btn-outline { min-height: 65px; font-size: 1rem; margin-top: .6rem; font-family: var(--roboto); }
.site-footer__copy { padding: 18px 0; text-align: center; font-size: 12px; color: var(--gray); }
@media (max-width: 1024px) {
  .site-footer__bg { padding: 60px 0; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .fnav__main { grid-template-columns: repeat(2, 1fr); }
}
