/* Friseur Shingo 採用LP – ホームページとは独立した単体ページ
   色はサロンと同じ和紙白・墨黒。アクセントはロゴの金だけ。
   フォントは端末の明朝・ゴシック（外部読み込みなし）。 */

:root {
  --washi:  #f4f0e8;
  --paper:  #ebe5d9;
  --card:   #fbf9f4;
  --sumi:   #221f1b;
  --sumi-2: #55504a;
  --sumi-3: #857d73;
  --hair:   rgba(34, 31, 27, 0.14);
  --gold:   #957942;

  --mincho: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --gothic: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
            "Yu Gothic", "Meiryo", sans-serif;
  --pad: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--washi);
  color: var(--sumi);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:is(h1, h2, h3, p, li, dd, summary, blockquote) { word-break: auto-phrase; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid var(--sumi);
  background: transparent;
  color: var(--sumi);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { background: var(--sumi); color: var(--washi); }
.btn--solid { background: var(--sumi); color: var(--washi); }
.btn--solid:hover { background: #000; border-color: #000; }

/* ---------- ヘッダー ---------- */
.head {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px var(--pad);
  background: rgba(244, 240, 232, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.head.is-stuck { border-bottom-color: var(--hair); }
.head__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.head__brand img { width: 40px; height: 40px; }
.head__name { font-family: var(--mincho); font-size: 15px; letter-spacing: 0.08em; line-height: 1.3; }
.head__name small { display: block; font-family: var(--gothic); font-size: 11px; letter-spacing: 0.18em; color: var(--sumi-3); }
.head .btn { padding: 9px 18px; font-size: 13px; }

/* ---------- ヒーロー ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 72px) var(--pad) clamp(72px, 9vw, 128px);
}
.eyebrow { font-size: 13px; letter-spacing: 0.22em; color: var(--gold); }
.hero h1 {
  margin-top: 16px;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(2rem, 3.9vw, 3.1rem);
  line-height: 1.45;
  letter-spacing: 0.04em;
}
.hero__sub { margin-top: 22px; max-width: 32em; color: var(--sumi-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags li { padding: 3px 12px; border: 1px solid var(--hair); background: var(--card); font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.actions--center { justify-content: center; margin-top: 0; }
.hero__note { margin-top: 14px; font-size: 13px; color: var(--sumi-3); }
.hero__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 62% 50%; }
.hero__photo figcaption { margin-top: 10px; font-size: 12px; letter-spacing: 0.14em; color: var(--sumi-3); text-align: right; }

/* ---------- セクション共通 ---------- */
.sec { padding: clamp(80px, 11vw, 150px) var(--pad); }
.sec--paper { background: var(--paper); }
.wrap { max-width: 1080px; margin: 0 auto; }
.sec-head { max-width: 680px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.label { display: inline-flex; align-items: baseline; gap: 12px; font-size: 11px; letter-spacing: 0.28em; color: var(--gold); }
.label b { font-family: var(--mincho); font-weight: 500; font-size: 15px; letter-spacing: 0.08em; }
.sec-head h2,
.about__title {
  margin-top: 12px;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.55;
  letter-spacing: 0.05em;
}
.sec-head p:not(.label) { margin-top: 18px; color: var(--sumi-2); }

/* ---------- 01 不安 ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2.2vw, 24px); }
.card { padding: clamp(26px, 3.4vw, 40px); background: var(--card); border: 1px solid var(--hair); }
.card__q { font-size: 14px; color: var(--sumi-3); }
.card__q::before { content: "Q."; margin-right: 0.4em; font-family: var(--mincho); color: var(--gold); }
.card h3 { margin-top: 8px; font-family: var(--mincho); font-weight: 500; font-size: 1.35rem; line-height: 1.55; }
.card p:last-child { margin-top: 12px; font-size: 15px; color: var(--sumi-2); }

/* ---------- 02 お店 ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about__text > p:not(.label) { margin-top: 20px; color: var(--sumi-2); }
.facts { display: grid; grid-template-columns: repeat(3, auto); gap: 0 28px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--hair); }
.facts dt { font-size: 12px; color: var(--sumi-3); }
.facts dd { font-family: var(--mincho); font-size: 1rem; line-height: 1.5; }

.styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.4vw, 16px); margin-top: clamp(56px, 7vw, 96px); }
.styles img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }

.voices { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.2vw, 24px); margin-top: clamp(56px, 7vw, 96px); }
.voices__title {
  grid-column: 1 / -1;
  margin-bottom: 8px;
  font-family: var(--mincho);
  font-weight: 500;
  font-size: 1.35rem;
  text-align: center;
  letter-spacing: 0.06em;
}
.voice { padding: clamp(26px, 3.4vw, 40px); background: var(--paper); }
.voice blockquote { font-family: var(--mincho); font-size: 1.05rem; line-height: 2; }
.voice blockquote::before { content: "「"; }
.voice blockquote::after { content: "」"; }
.voice figcaption { margin-top: 14px; font-size: 13px; color: var(--sumi-3); }
.voices__note { grid-column: 1 / -1; font-size: 12px; color: var(--sumi-3); text-align: right; }

/* ---------- 03 チーム ---------- */
.team { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px 16px; text-align: center; }
.team img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.team h3 { margin-top: 12px; font-size: 14px; font-weight: 600; letter-spacing: 0.1em; }
.team p { font-size: 12px; color: var(--sumi-3); }

/* ---------- 04 ドイツで働く ---------- */
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.num { padding-top: 22px; border-top: 1px solid var(--sumi); }
.num__big { font-family: var(--mincho); font-size: clamp(2rem, 3.6vw, 2.7rem); line-height: 1.25; }
.num__big small { margin-left: 0.1em; font-size: 0.5em; }
.num h3 { margin-top: 8px; font-size: 15px; font-weight: 600; }
.num p:last-child { margin-top: 6px; font-size: 14px; color: var(--sumi-2); }
.fineprint { margin-top: 36px; font-size: 12px; color: var(--sumi-3); text-align: center; }

/* ---------- 05 募集要項 ---------- */
.spec { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--sumi); }
.spec > div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.spec dt { font-size: 14px; font-weight: 600; padding-top: 1px; }
.spec dd { color: var(--sumi-2); }
.spec small { display: block; margin-top: 4px; font-size: 13px; color: var(--sumi-3); }
/* 未定の条件（決まったら書き換え） */
.tbd { display: inline-block; padding: 0 10px; border: 1px dashed var(--sumi-3); color: var(--sumi-3); font-size: 14px; }

/* ---------- 06 流れ ---------- */
.flow { max-width: 760px; margin: 0 auto; counter-reset: step; }
.flow li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding-bottom: 34px; }
.flow li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--mincho);
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--gold);
}
.flow li::after { content: ""; position: absolute; left: 16px; top: 44px; bottom: 6px; width: 1px; background: var(--hair); }
.flow li:last-child { padding-bottom: 0; }
.flow li:last-child::after { display: none; }
.flow h3 { font-family: var(--mincho); font-weight: 500; font-size: 1.2rem; line-height: 1.6; }
.flow p { margin-top: 4px; font-size: 15px; color: var(--sumi-2); }

/* ---------- 07 FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--sumi); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq summary {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 20px 40px 20px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--mincho); font-weight: 400; color: var(--gold); }
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1px solid var(--sumi);
  border-bottom: 1px solid var(--sumi);
  transform: translateY(-75%) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { padding: 0 0 22px 30px; color: var(--sumi-2); }

/* ---------- 応募（濃い色のブロック） ---------- */
.sec--dark { background: var(--sumi); color: var(--washi); }
.sec--dark .label { color: #c4a870; }
.sec--dark .sec-head p:not(.label) { color: rgba(244, 240, 232, 0.72); }
.sec--dark .btn { border-color: var(--washi); color: var(--washi); }
.sec--dark .btn:hover { background: var(--washi); color: var(--sumi); }
.sec--dark .btn--solid { background: var(--washi); color: var(--sumi); }
.sec--dark .btn--solid:hover { background: #fff; border-color: #fff; }
.contact__addr { margin-top: 18px; font-size: 13px; text-align: center; color: rgba(244, 240, 232, 0.6); }
/* 応募データの扱い（詳細は Datenschutz） */
.contact__note { max-width: 560px; margin: 14px auto 0; font-size: 12px; line-height: 1.8; text-align: center; color: rgba(244, 240, 232, 0.5); }
.contact__note a { text-decoration: underline; text-underline-offset: 3px; }
.contact__note a:hover { color: var(--washi); }
.tpl { max-width: 560px; margin: 48px auto 0; border: 1px solid rgba(244, 240, 232, 0.24); }
.tpl__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(244, 240, 232, 0.24);
  font-size: 13px;
  color: rgba(244, 240, 232, 0.6);
}
.tpl__copy {
  padding: 4px 12px;
  border: 1px solid rgba(244, 240, 232, 0.5);
  background: none;
  color: var(--washi);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.tpl__copy:hover { background: var(--washi); color: var(--sumi); }
.tpl__text {
  margin: 0;
  padding: 18px;
  font-family: var(--gothic);
  font-size: 14px;
  line-height: 1.9;
  white-space: pre-wrap;
  color: rgba(244, 240, 232, 0.82);
}

/* ---------- フッター ---------- */
.foot { padding: 56px var(--pad) 40px; text-align: center; font-size: 13px; color: var(--sumi-2); }
.foot img { width: 96px; margin: 0 auto 16px; }
.foot address { font-style: normal; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-top: 14px; }
.foot nav a { text-underline-offset: 3px; text-decoration-color: var(--hair); }
.foot small { display: block; margin-top: 20px; font-size: 11px; letter-spacing: 0.12em; color: var(--sumi-3); }

/* ---------- スマホ ---------- */
.mbar { display: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; }
  .hero__photo { order: -1; }
  .hero__photo img { aspect-ratio: 3 / 2; }
  .about { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(3, 1fr); }
  .nums, .voices { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 10px; }
  .spec > div { grid-template-columns: 1fr; gap: 2px; }
  .actions .btn { width: 100%; }
  .head .btn { display: none; }

  .mbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(244, 240, 232, 0.96);
    border-top: 1px solid var(--hair);
  }
  .mbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border: 1px solid var(--sumi);
    font-size: 14px;
    text-decoration: none;
  }
  .mbar a:first-child { background: var(--sumi); color: var(--washi); }
  body { padding-bottom: 74px; }
}
