/* kuon — Studio 版の寸法・色をそのまま写したもの */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #fff;
  color: #333;
  font-family: "Roboto", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; }

/* 表示時にふわっと出る（Studio の appear：opacity 0 → 1, 1000ms, 遅延 200〜300ms） */
.appear { opacity: 0; transition: opacity 1000ms cubic-bezier(0.4, 0.4, 0, 1) 300ms; }
.is-ready .appear.is-in { opacity: 1; }
.appear.d200 { transition-delay: 200ms; }
.appear.d600 { transition-delay: 600ms; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  background: #fff;
  padding: 64px 70px 25px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; height: 28px; }
.logo img { width: 130px; height: 28px; object-fit: contain; object-position: left center; }
.nav { display: flex; gap: 20px; }
.nav a { font-size: 12px; font-weight: 500; letter-spacing: 1.2px; line-height: 24px; color: #333; }
.menu-btn { display: none; }
.menu-panel, .menu-overlay { display: none; }

main { flex: 1 0 auto; padding: 177px 70px 0; }
.wrap { max-width: none; }

/* ---------- フッター ---------- */
.site-footer { padding: 90px 70px 31px; display: flex; align-items: center; gap: 5px; }
.site-footer svg { width: 16px; height: 16px; fill: #333; }
.site-footer p { font-size: 14px; line-height: 14px; letter-spacing: 0.7px; color: #222; }

/* ---------- BRAND ---------- */
.brand-group + .brand-group { margin-top: 37px; }
.brand-group h2 { margin: 0 0 10px; font-size: 16px; font-weight: 700; letter-spacing: 1.6px; line-height: 22.4px; color: #333; }
.brand-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; column-gap: 10px; }
.brand-list li { display: flex; }
.brand-list a, .brand-list .sep {
  /* 幅1440pxで55px（今のサイトと同じ）。画面が狭いほど小さく、広いほど大きくする */
  font-size: clamp(30px, 3.82vw, 80px); font-weight: 700; letter-spacing: 0.05em; line-height: 1.4; color: #e1e1e1;
  white-space: nowrap;
}
.brand-list a { transition: color 0.3s cubic-bezier(0.4, 0.4, 0, 1); }
.brand-list a:hover, .brand-list a:focus-visible { color: #222; outline: none; }

/* ---------- 見出し付きの文章（ABOUT） ---------- */
.section + .section { margin-top: 40px; }
.section h2 { margin: 0 0 10px; font-size: 20px; font-weight: 500; line-height: 34px; letter-spacing: 1px; color: #222; }
.body-text { font-size: 16px; line-height: 27.2px; letter-spacing: 0.8px; color: #222; white-space: pre-line; }
#access, #contact { scroll-margin-top: 140px; }
.map { display: block; width: 800px; max-width: 100%; height: 344px; border: 0; margin: 20px 0; }
.section-contact { margin-top: 140px !important; }

/* ---------- フォーム ---------- */
.form { width: 800px; max-width: 100%; margin-top: 30px; }
.field + .field { margin-top: 20px; }
.field label { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 500; line-height: 21px; letter-spacing: 0.75px; color: #222; }
.field .req { color: #f23a3c; font-weight: 700; margin-left: 5px; }
.field input, .field textarea {
  display: block; width: 100%; height: 50px; padding: 10px 16px;
  border: 0; border-radius: 0; background: #f8f8f8; color: #333;
  font: inherit; font-size: 14px; line-height: 19.6px;
  -webkit-appearance: none; appearance: none;
}
.field textarea { height: 160px; font-size: 15px; line-height: 21px; resize: vertical; }
.field input[type="email"] { font-size: 15px; }
.field input:focus, .field textarea:focus { outline: 1px solid #ccc; }
.agree { margin-top: 20px; display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 21px; color: #222; }
.agree input { margin: 0; width: 13px; height: 13px; }
.agree a { text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send {
  display: block; width: 100%; height: 50px; margin-top: 40px; padding: 0;
  border: 0; border-radius: 0; background: #222; color: #fff; cursor: pointer;
  font: inherit; font-size: 18px; font-weight: 700; letter-spacing: 0.9px;
  transition: opacity 0.3s cubic-bezier(0.4, 0.4, 0, 1);
}
.send:hover { opacity: 0.8; }
.send:disabled { opacity: 0.5; cursor: default; }
.form-msg { margin-top: 16px; min-height: 21px; font-size: 15px; line-height: 21px; letter-spacing: 0.75px; color: #222; }
.form-msg.error { color: #f23a3c; }

/* ---------- RECRUIT ---------- */
.job-card {
  margin-top: 55px; width: 315px; height: 200px; background: #fcfcfc;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  transition: background-color 0.3s cubic-bezier(0.4, 0.4, 0, 1);
}
.job-card:hover { background: #eee; }
.job-card .en { font-size: 16px; line-height: 27.2px; letter-spacing: 0.8px; color: #222; }
.job-card .ja { font-size: 14px; line-height: 23.8px; letter-spacing: 0.7px; color: #222; }

.job { padding-left: 70px; padding-bottom: 40px; }
.job h1 { margin: 0; font-size: 20px; font-weight: 700; line-height: 32px; letter-spacing: 2px; color: #333; }
.job .notes { margin-top: 20px; }
.job dl { margin: 40px 0 0; }
.job dt { font-size: 12px; line-height: 16.8px; letter-spacing: 0.6px; color: #a8a8a8; }
.job dd { margin: 11px 0 0; }
.job dd + dt { margin-top: 40px; }
.job .small { font-size: 13px; line-height: 20.8px; letter-spacing: 0.65px; color: #222; white-space: pre-line; }

/* ---------- POLICY ---------- */
.policy h1 { margin: 0 0 10px; font-size: 18px; font-weight: 700; line-height: 30.6px; letter-spacing: 0.9px; color: #222; }
.policy h2 { margin: 60px 0 10px; font-size: 16px; font-weight: 700; line-height: 22.4px; color: #444; }
.policy p { font-size: 14px; line-height: 26.6px; color: #444; }
.policy ul { list-style: none; margin: 16px 0 0; padding: 0; max-width: 875px; }
.policy li { display: flex; font-size: 15px; line-height: 22.5px; color: #444; }
.policy li + li { margin-top: 4px; }
.policy li::before { content: "・"; width: 18px; flex: none; font-size: 16px; }

/* ---------- スマホ ---------- */
/* スマホ・タブレット（幅840px以下）：メニューを「…」にし、ブランド名を小さく並べる */
@media (max-width: 840px) {
  .site-header { padding: 19px 20px; }
  .logo { height: 22px; }
  .logo img { width: 100px; height: 22px; }
  .nav { display: none; }
  .menu-btn {
    display: flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; color: #333;
  }
  .menu-btn svg { width: 24px; height: 24px; fill: currentColor; }
  .menu-btn .i-close { display: none; }
  .menu-open .menu-btn .i-more { display: none; }
  .menu-open .menu-btn .i-close { display: block; }
  .menu-overlay {
    display: block; position: fixed; inset: 0; z-index: 8;
    background: rgba(0, 0, 0, 0.16); opacity: 0; pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0.4, 0, 1);
  }
  .menu-panel {
    display: grid; grid-template-columns: 175px 1fr; row-gap: 20px;
    position: fixed; top: 0; left: 0; right: 0; z-index: 9;
    padding: 100px 20px 39px; background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-100%); transition: transform 0.3s cubic-bezier(0.4, 0.4, 0, 1);
  }
  .menu-panel a { font-size: 12px; font-weight: 500; letter-spacing: 1.2px; line-height: 24px; color: #333; }
  .menu-open .menu-overlay { opacity: 1; pointer-events: auto; }
  .menu-open .menu-panel { transform: none; }

  main { padding: 100px 20px 0; }
  .site-footer { padding: 70px 20px 30px; }
  .site-footer svg { width: 14px; height: 14px; }
  .site-footer p { font-size: 12px; line-height: 12px; letter-spacing: 0.6px; }

  .brand-group + .brand-group { margin-top: 61px; }
  .brand-list { column-gap: 20px; }
  .brand-list a { font-size: 24px; line-height: 33.6px; letter-spacing: 1.2px; }
  .brand-list .sep { display: none; }
  /* 今のサイトどおり、スマホの INTERNATIONAL は1行に1ブランド */
  .brand-list[data-brands="international"] { flex-direction: column; }

  .map { height: 344px; }
  .section-contact { margin-top: 101px !important; }

  .job-card { margin-top: 215px; width: 100%; max-width: 340px; }
  .job { padding-left: 10px; }
  .job h1 { font-size: 14px; line-height: 22.4px; letter-spacing: 1.4px; margin-left: -10px; }
  .job .notes { margin-top: 35px; }
  .job dl { margin-top: 81px; }
  .job dd { margin-top: 50px; }
  .job dd + dt { margin-top: 80px; }
}
