/* glue-inc.jp 共通スタイル（2026-11 リニューアル版。Studioのデザインを写し取って再現） */
/* 画面幅の切り替え: 1140px / 840px / 540px / 320px 以下（Studioの small / tablet / mobile / mini） */
:root {
  --bg: #fafafa;
  --bg-blue: #f5f8fb;
  --text: #414141;
  --gray: #7a7a7a;
  --blue: #549cd4;
  --blue-light: #8ac3df;
  --yellow: #f0d180;
  --green: #82b582;
  --orange: #ebb593;
  --white: #ffffff;
  --ease: cubic-bezier(0.4, 0.4, 0, 1);
  --font: "Noto Sans JP", sans-serif;
  /* 見出し: Studioでは「あおとゴシック R」（TypeSquare）。新サイトでは使えないため Zen Kaku Gothic New で代替 */
  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  /* 中身の左右の端: 841px以上 120px / 541〜840px 40px / 540px以下 20px。中身の幅は最大1040px（.wrap）で中央寄せ */
  --pad-x: 120px;
}
@media (max-width: 840px) { :root { --pad-x: 40px; } }
@media (max-width: 540px) { :root { --pad-x: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1;
  word-spacing: 1px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, dl, dd { margin: 0; padding: 0; }
h1, h2, h3 { font-weight: 400; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* 幅ごとの改行の出し分け（Studioの data-bp と同じ考え方） */
.br-small, .br-mini { display: none; }
@media (max-width: 1140px) { .br-small { display: inline; } }
@media (max-width: 840px) { .br-small { display: none; } }
@media (max-width: 320px) { .br-mini { display: inline; } }

/* ---------- 共通の部品 ---------- */
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; position: relative; z-index: 1; }
.label { font-size: 11px; line-height: 21px; letter-spacing: 4px; color: var(--blue); }
.bars { display: flex; gap: 6px; padding-top: 12px; }
.bars::before, .bars::after { content: ""; height: 4px; border-radius: 2px; }
.bars::before { width: 28px; background: var(--blue); }
.bars::after { width: 14px; background: var(--yellow); }
.sec-title { padding-top: 16px; font-family: var(--font-head); font-size: 38px; line-height: 55px; letter-spacing: 3px; }
@media (max-width: 540px) { .sec-title { font-size: 30px; } }

/* 丸の中の「＞」 */
.chev { position: relative; width: 8px; height: 8px; margin-left: -3px; }
.chev::before {
  content: ""; position: absolute; inset: 0;
  border: solid var(--white); border-width: 1px 1px 0 0;
  transform: rotate(45deg);
}
.dot {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue);
}

/* 「VIEW MORE」「採用サイトを見る」などの文字＋青い丸 */
.more {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 13px; line-height: 25px; letter-spacing: 2px;
  transition: translate 0.3s var(--ease);
}
.more:hover { translate: 0 -3px; }

/* 枠線のボタン（わたしたちについて） */
.btn-line {
  display: inline-flex; align-items: center; gap: 22px;
  padding: 7px 7px 7px 33px; border: 1px solid var(--text); border-radius: 999px;
  font-size: 14px; line-height: 27px; letter-spacing: 1px;
  transition: translate 0.3s var(--ease);
}
.btn-line .dot { width: 40px; height: 40px; background: var(--text); }
.btn-line:hover { translate: 0 -3px; }

/* 白いボタン（お問い合わせはこちら） */
.btn-white {
  display: inline-flex; align-items: center; gap: 22px;
  padding: 8px 8px 8px 34px; background: var(--white); border-radius: 999px;
  font-size: 14px; line-height: 27px; letter-spacing: 1px;
  transition: translate 0.3s var(--ease);
}
.btn-white .dot { width: 40px; height: 40px; }
.btn-white:hover { translate: 0 -3px; }

/* 図形（丸・三角） */
.shape { position: absolute; z-index: 0; pointer-events: none; }
.circle { border-radius: 50%; }

/* スクロールで下からふわっと表示 */
.reveal { opacity: 0; translate: 0 20px; transition: opacity 600ms ease-in-out, translate 600ms ease-in-out; }
.reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; transition: none; }
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 10;
  display: flex; justify-content: center;
  padding: 20px var(--pad-x); background: var(--bg);
}
@media (max-width: 540px) { .site-header { padding-top: 16px; padding-bottom: 16px; } }
.site-header .inner { width: 100%; max-width: 1040px; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.site-header .logo { display: block; width: 62px; height: 26px; background: url(/images/logo.webp) center / cover no-repeat; }
.gnav { display: flex; align-items: center; gap: 40px; }
.gnav a { position: relative; font-size: 13px; line-height: 25px; letter-spacing: 3px; }
.gnav a[aria-current="page"] { color: var(--blue); }
.gnav a[aria-current="page"]::after {
  content: ""; position: absolute; bottom: -6px; right: -3px;
  width: 49px; height: 1px; background: var(--blue);
}
.gnav .nav-careers { display: inline-flex; align-items: center; gap: 6px; }
.gnav .nav-careers .chev::before, .site-footer .nav-careers .chev::before { border-color: var(--text); }
.gnav .nav-careers .chev { margin: 2px 0 0; }
.gnav .nav-contact {
  padding: 10px 22px; border-radius: 999px; background: var(--blue);
  color: var(--white); font-size: 12px; line-height: 23px;
}
.gnav .nav-contact[aria-current="page"] { color: var(--white); }
.gnav .nav-contact[aria-current="page"]::after { content: none; }
.menu-btn { display: none; }
.sp-menu { display: none; }
@media (max-width: 840px) {
  .site-header .gnav { display: none; }
  .menu-btn {
    display: grid; place-items: center;
    position: absolute; top: 20px; right: var(--pad-x); z-index: 12;
    width: 40px; height: 40px;
  }
  .menu-btn svg { width: 28px; height: 28px; }
  .sp-menu {
    position: fixed; inset: 0; z-index: 11;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    background: var(--bg);
    opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
  }
  .sp-menu.open { opacity: 1; visibility: visible; }
  .sp-menu .gnav { display: flex; flex-direction: column; gap: 32px; }
}
@media (max-width: 540px) { .menu-btn { top: 8px; } }

/* ---------- 下層ページの見出し（ラベル／ページ名／パンくず） ---------- */
.page-hero { position: relative; padding: 159px var(--pad-x) 96px; }
.page-hero .wrap { max-width: 1040px; }
.page-hero h1 { padding-top: 14px; font-family: var(--font-head); font-size: 46px; line-height: 64px; letter-spacing: 4px; }
.crumbs { display: flex; align-items: center; padding-top: 22px; padding-bottom: 1px; margin-top: -1px; font-size: 11px; line-height: 21px; letter-spacing: 2px; color: var(--gray); }
.crumbs li + li::before { content: "›"; margin: 0 11px 0 12px; }
/* 文字リンクのホバー: 3px上へ（0.3s）。パンくずの「›」は li 側の ::before なので動かない */
.crumbs a { display: inline-block; }
.crumbs a, .gnav a, .site-footer .fnav a { transition: translate 0.3s var(--ease); }
.crumbs a:hover, .gnav a:hover, .site-footer .fnav a:hover { translate: 0 -3px; }

.page-hero .hero-circle { top: 100px; right: 56px; width: 140px; height: 140px; background: var(--yellow); }
.page-hero .hero-tri { bottom: 97px; right: 320px; width: 90px; }
@media (max-width: 840px) {
  .page-hero .hero-tri { right: 219px; }
}
/* 上の余白は全ページ共通: 159px（541px以上）・96px（540px以下） */
@media (max-width: 540px) {
  .page-hero { padding-top: 96px; }
  .page-hero h1 { font-size: 34px; }
  .page-hero .hero-circle, .page-hero .hero-tri { display: none; }
}

/* ---------- お問い合わせの帯（青） ---------- */
.contact-band {
  position: relative; overflow: hidden;
  padding: 120px var(--pad-x); background: var(--blue); color: var(--white); text-align: center;
}
@media (max-width: 840px) { .contact-band { padding-top: 40px; padding-bottom: 40px; } }
.contact-band .label { color: var(--white); }
.contact-band h2 { padding: 16px 0 40px; font-family: var(--font-head); font-size: 30px; line-height: 54px; letter-spacing: 2px; }
.contact-band .btn-white { color: var(--text); }
.contact-band .c1 { bottom: 48px; left: 56px; width: 160px; height: 160px; background: var(--blue-light); }
.contact-band .c2 { top: 40px; right: 120px; width: 80px; height: 80px; background: var(--yellow); }
.contact-band .t1 { bottom: 40px; right: 56px; width: 150px; }
@media (max-width: 840px) { .contact-band .shape { display: none; } }
@media (max-width: 540px) { .contact-band h2 { font-size: 24px; } }

/* ---------- フッター ---------- */
.site-footer { padding: 80px var(--pad-x) 56px; background: var(--bg); }
.site-footer .fnav { display: flex; justify-content: center; align-items: flex-start; gap: 40px; font-size: 13px; line-height: 25px; letter-spacing: 3px; }
.site-footer .nav-careers { display: inline-flex; align-items: center; gap: 6px; }
.site-footer .nav-careers .chev { margin: 2px 0 0; }
.site-footer .legal { display: flex; justify-content: center; gap: 32px; padding-top: 28px; font-size: 12px; line-height: 23px; color: var(--gray); }
.site-footer .flogo { display: block; width: 52px; height: 22px; margin: 40px auto 12px; background: url(/images/logo.webp) center / cover no-repeat; }
.site-footer .note { text-align: center; font-size: 11px; line-height: 21px; letter-spacing: 1px; color: var(--gray); }
@media (max-width: 540px) {
  .site-footer .fnav { flex-wrap: wrap; gap: 14px 24px; }
  .site-footer .legal { flex-direction: column; align-items: center; gap: 8px; }
}
