@charset "UTF-8";
/* ===== フォント ===== */
@import url("https://fonts.googleapis.com/css2?family=Akshar:wght@700&family=LINE+Seed+JP:wght@400;700;800&family=Noto+Sans+JP:wght@400;500;700;900&family=Yellowtail&display=swap");

/* ===== デザイントークン ===== */
:root {
  --font-jp: "Noto Sans JP", sans-serif;
  --font-seed: "LINE Seed JP", "Noto Sans JP", sans-serif;
  --c-text: #222222;
  --c-white: #ffffff;
  --c-teal: #0ba29b;
  /* ブレークポイント: 767px以下 = スマホレイアウト(Figma「スマホ」365px)、768px以上 = PCレイアウト(Figma「PC」1920px) */
  --header-h: 100px;
}

/* ===== リセット・ベース ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--c-text);
  background: #fff;
  overflow-x: clip;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* 表示切替ユーティリティ */
@media (max-width: 767px) { .pc-only { display: none !important; } }
@media (min-width: 768px) { .sp-only { display: none !important; } }

/* ===== ヘッダー(FVの上に重ねて表示) ===== */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}
.site-header__brand { display: flex; align-items: center; gap: 20px; min-width: 0; }
.site-header__logo { width: 76px; height: 50px; object-fit: cover; flex: none; }
.site-header__name {
  display: flex; align-items: center; flex-wrap: nowrap; column-gap: 31px; /* PC幅では社名と「採用サイト」を常に横並び(折り返さない) */
  font-weight: 700; font-size: clamp(15px, 1.25vw, 24px); line-height: normal; white-space: nowrap;
}
.site-header__company { color: #0ba29b; }
.site-header__sub { color: #222; }
.site-header__entry {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: clamp(200px, 14.583vw, 280px); height: 56px;
  border-radius: 1000px; background: #222; color: #fff;
  font-family: var(--font-seed); font-weight: 700; font-size: clamp(15px, 1.0417vw, 20px); letter-spacing: 0.05em;
  white-space: nowrap;
}
@media (max-width: 767px) {
  /* スマホ幅: 375pxでFigmaどおり、それより広い画面では他のセクションと同じく比例して大きくする(--s = 375px基準の1px) */
  :root { --s: max(1px, 100vw / 375); --header-h: calc(64 * var(--s)); }
  .site-header { padding: 0 calc(10 * var(--s)) 0 calc(20 * var(--s)); }
  .site-header__brand { gap: calc(4 * var(--s)); }
  .site-header__logo { width: calc(45 * var(--s)); height: calc(30 * var(--s)); }
  .site-header__name {
    /* 利用者の指定により「採用サイト」を社名の開始位置(左)に揃える(Figmaのスマホ版は右揃え) */
    flex-direction: column; align-items: flex-start; text-align: left;
    font-size: calc(9 * var(--s)); line-height: calc(12 * var(--s));
  }
  .site-header__sub { color: #333; }
  .site-header__entry { width: calc(112 * var(--s)); height: calc(30 * var(--s)); border-radius: 400px; font-size: calc(10 * var(--s)); letter-spacing: 0.05em; } /* 利用者の指定で10px基準(Figmaは8px) */
}

/* ===== フッター ===== */
.site-footer { background: #fff; }
.site-footer__main {
  max-width: 1440px; margin: 0 auto; box-sizing: content-box;
  padding: 45px clamp(20px, 12.5vw, 240px) 39px;
  display: flex; align-items: center; gap: 29px;
}
.site-footer__logo { width: clamp(280px, 25vw, 480px); height: auto; aspect-ratio: 480 / 84; object-fit: cover; flex: none; }
.site-footer__address { flex: 1 1 auto; min-width: 0; color: #333; font-size: 13px; line-height: 1.2; letter-spacing: 0.26px; }
.site-footer__address span { display: inline-block; }
.site-footer__corp {
  flex: none; margin-left: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 13px;
  width: 265px; height: 50px; border-radius: 4px; background: #11a59d; color: #fff;
  font-weight: 500; font-size: 16px; line-height: 1.5; letter-spacing: 0.1em; font-feature-settings: "palt" 1;
}
.site-footer__corp img { width: 7px; height: 13px; }
.site-footer__bar { background: #11a59d; color: #fff; }
.site-footer__bar-inner {
  max-width: 1440px; margin: 0 auto; box-sizing: content-box;
  padding: 0 clamp(20px, 12.5vw, 240px);
  height: 45px; display: flex; align-items: center;
}
.site-footer__links { display: flex; gap: 50px; padding-left: 23px; }
.site-footer__links a { font-size: 13px; line-height: 1.5; text-decoration: underline; color: #fff; }
.site-footer__copy { margin-left: auto; font-size: 12px; line-height: normal; text-align: center; white-space: nowrap; }
/* PC幅(768px以上)では、どの幅でも「ロゴ|住所|企業サイトボタン」の1行と、下の帯の1行を保つ。
   狭い幅では左右の余白・ロゴ・ボタンを縮め、住所だけが欄内で折り返す(1920pxではFigmaどおり) */
@media (min-width: 768px) {
  .site-footer__main, .site-footer__bar-inner { padding-left: clamp(24px, calc(37.5vw - 480px), 240px); padding-right: clamp(24px, calc(37.5vw - 480px), 240px); }
  .site-footer__main { flex-wrap: nowrap; gap: clamp(16px, 1.51vw, 29px); }
  .site-footer__logo { width: clamp(180px, 25vw, 480px); }
  .site-footer__address { white-space: normal; }
  .site-footer__corp { width: clamp(160px, 13.8vw, 265px); }
  .site-footer__links { gap: clamp(24px, 2.6vw, 50px); padding-left: clamp(0px, 1.2vw, 23px); }
}
@media (max-width: 767px) {
  /* 利用者の指定により、スマホでもPCと同じ構成(ロゴ・住所・企業サイトボタン/下の帯にリンクとコピーライト)にし、文字を読みやすい大きさにする */
  .site-footer__main {
    display: grid; grid-template-columns: 1fr auto; align-items: center;
    /* 余白: 上下28・左右20、ロゴ段と住所の間18(帯の上下余白と揃えたリズム) */
    padding: calc(28 * var(--s)) calc(20 * var(--s)); column-gap: calc(12 * var(--s)); row-gap: calc(18 * var(--s));
    max-width: none; box-sizing: border-box;
  }
  .site-footer__logo { grid-column: 1; grid-row: 1; width: calc(190 * var(--s)); aspect-ratio: 480 / 84; }
  .site-footer__side { grid-column: 2; grid-row: 1; display: flex; }
  .site-footer__address { grid-column: 1 / -1; grid-row: 2; padding-left: calc(2 * var(--s)); font-size: calc(12 * var(--s)); line-height: 1.7; letter-spacing: 0.02em; }
  .site-footer__address .site-footer__sep { display: none; }
  .site-footer__address .site-footer__tel { display: block; }
  .site-footer__corp { width: calc(118 * var(--s)); height: calc(36 * var(--s)); border-radius: calc(4 * var(--s)); font-size: calc(13 * var(--s)); gap: calc(8 * var(--s)); margin-left: 0; }
  .site-footer__corp img { width: calc(5 * var(--s)); height: calc(9 * var(--s)); }
  .site-footer__privacy-sp { display: none; }
  .site-footer__bar-inner { flex-direction: column; justify-content: center; gap: calc(10 * var(--s)); height: auto; padding: calc(18 * var(--s)) calc(20 * var(--s)) calc(16 * var(--s)); max-width: none; }
  .site-footer__links { display: flex; justify-content: center; gap: calc(28 * var(--s)); padding-left: 0; }
  .site-footer__links a { font-size: calc(12 * var(--s)); }
  .site-footer__copy { margin: 0; font-size: calc(10 * var(--s)); }
}
@media (min-width: 768px) {
  .site-footer__side { display: contents; }
  .site-footer__privacy-sp { display: none; }
}

/* ===== ボタンのホバー(Figmaに指定なし。追加実装) ===== */
.site-header__entry { transition: background-color 0.3s ease; }
.site-footer__corp { transition: background-color 0.3s ease; }
.site-footer__corp img { transition: transform 0.3s ease; }
@media (hover: hover) {
  .site-header__entry:hover { background: #0ba29b; }
  .site-footer__corp:hover { background: #0d8a84; }
  .site-footer__corp:hover img { transform: translateX(4px); }
}
.site-header__entry:focus-visible { background: #0ba29b; }
.site-footer__corp:focus-visible { background: #0d8a84; }

/* ===== テキストリンクのホバー(Figmaに指定なし。追加実装): 少し薄くなり、下線が消える ===== */
.site-header__brand,
.site-footer__links a,
.site-footer__privacy-sp { transition: opacity 0.3s ease; }
@media (hover: hover) {
  .site-header__brand:hover { opacity: 0.7; }
  .site-footer__links a:hover,
  .site-footer__privacy-sp:hover { opacity: 0.7; text-decoration: none; }
}
.site-footer__links a:focus-visible,
.site-footer__privacy-sp:focus-visible { opacity: 0.7; text-decoration: none; }

/* 注: text-wrap-style: pretty(段落末の1〜2文字残りを避ける指定)は、iPhone(Safari)では全行の長さを詰めてしまい
   本文が細長く折り返されるため使わない */

/* フッターのロゴ(トップへのリンク) */
.site-footer__logo-link { display: block; flex: none; grid-column: 1; grid-row: 1; transition: opacity 0.3s ease; }
@media (hover: hover) { .site-footer__logo-link:hover { opacity: 0.7; } }

/* ===== 企業サイトボタン(利用者の指定): 文言「企業サイトはこちら」、色 #ff4e42、ひと回り大きく ===== */
.site-footer__corp { background: #ff4e42; font-weight: 700; }
@media (hover: hover) { .site-footer__corp:hover { background: #e23a2f; } }
.site-footer__corp:focus-visible { background: #e23a2f; }
@media (min-width: 768px) {
  .site-footer__corp {
    width: clamp(200px, 16.667vw, 320px); height: clamp(52px, 3.125vw, 60px);
    border-radius: 6px; gap: clamp(10px, 0.78vw, 15px);
    font-size: clamp(15px, 0.9375vw, 18px);
  }
  .site-footer__corp img { width: 8px; height: 15px; }
}
@media (max-width: 767px) {
  /* スマホ: ロゴ → 住所 → ボタン(横幅いっぱい)の縦並びにして、ロゴを小さくせずにボタンを大きく見せる */
  .site-footer__main { grid-template-columns: 1fr; row-gap: calc(16 * var(--s)); }
  .site-footer__logo-link, .site-footer__logo { grid-column: 1; grid-row: 1; }
  /* 左そろえは保ったまま、横幅いっぱいのボタンに合わせてロゴを大きめにする */
  .site-footer__logo { width: calc(240 * var(--s)); }
  .site-footer__address { grid-column: 1; grid-row: 2; }
  .site-footer__side { justify-self: stretch; }
  .site-footer__side { grid-column: 1; grid-row: 3; margin-top: calc(4 * var(--s)); }
  .site-footer__corp {
    width: 100%; height: calc(48 * var(--s)); border-radius: calc(6 * var(--s));
    gap: calc(10 * var(--s)); font-size: calc(15 * var(--s)); letter-spacing: 0.08em;
  }
  .site-footer__corp img { width: calc(6 * var(--s)); height: calc(11 * var(--s)); }
}
