/* ============================================================
   採用ページ（/recruit/）専用スタイル
   現行スマホ版のデザインを土台に、PCでは中央寄せの1列で表示する。
   メインサイトのCSSには依存しない（このファイルだけで完結）
   ============================================================ */

:root {
    --maroon: #3d0808;      /* ヘッダーのメニュー帯・フッター */
    --wine: #8c1c1c;        /* 見出しの枠・小見出し */
    --red: #a50000;         /* 強調文字・ボタン */
    --text: #333;
    --soft: #555;
    --line: #d9c9c9;
    --bg-soft: #f6f2ef;     /* 囲み */
    --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px; /* 固定ヘッダーぶん */
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.85;
}

img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: var(--wine); }
strong { color: var(--red); font-weight: bold; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: bold; line-height: 1.5; }
.center { text-align: center; }
.small { font-size: 14px; color: var(--soft); }

/* ---------- ヘッダー ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 8px 16px;
}
.site-header__logo img { display: block; width: 160px; }
.site-header__links { display: flex; align-items: center; gap: 12px; }
.site-header__home {
    font-size: 13px;
    color: var(--soft);
    text-decoration: none;
    white-space: nowrap;
}
.site-header__home::after { content: " ›"; }
.site-header__entry {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 4px;
    background: var(--red);
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
}

.recruit-nav { background: var(--maroon); }
.recruit-nav ul {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.recruit-nav li + li { border-left: 1px solid rgba(255, 255, 255, .15); }
.recruit-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 6px 2px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
}
.recruit-nav a:hover { background: rgba(255, 255, 255, .1); }

/* ---------- ヒーロー ---------- */
.hero { background: #1a0d08; }
.hero img { display: block; width: 100%; max-width: 1600px; margin: 0 auto; }

/* ---------- 本文 ---------- */
.container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 16px 40px;
}
.intro { padding-top: 24px; }
.section { padding-top: 56px; }
.section > img,
.point > img,
.box > img { display: block; margin: 0 auto 20px; border-radius: 4px; }
.img-small { max-width: 360px !important; }

/* ページ見出し（現行スマホ版の上下線の見出し） */
.page-title {
    margin-bottom: 24px;
    padding: 14px 0;
    border-top: 3px solid var(--maroon);
    border-bottom: 1px solid var(--line);
    font-size: 19px;
    text-align: center;
}

/* セクション見出し（現行の二重枠の見出し画像をHTMLで再現） */
.section-title {
    margin-bottom: 28px;
    padding: 18px 12px;
    border: 3px double var(--wine);
    outline: 1px solid var(--wine);
    outline-offset: 4px;
    color: var(--maroon);
    font-family: var(--serif);
    font-size: 21px;
    letter-spacing: .08em;
    text-align: center;
}

/* 小見出し（現行の赤字＋下線） */
.sub-title {
    margin: 32px 0 14px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--wine);
    color: var(--wine);
    font-size: 17px;
}

/* 魅力1〜3 */
.point { margin-bottom: 40px; }
.point__title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    color: var(--maroon);
    font-family: var(--serif);
    font-size: 19px;
}
.point__no {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--wine);
    color: #fff;
    font-family: var(--serif);
    font-size: 11px;
    line-height: 1.1;
}
.point__no b { font-size: 24px; }

/* 箇条書き */
.list { margin: 0 0 1em; padding: 0; list-style: none; }
.list li {
    position: relative;
    margin-bottom: .6em;
    padding-left: 1.1em;
}
.list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .75em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--wine);
}

/* 囲み */
.box {
    margin: 28px 0;
    padding: 20px 18px 8px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--bg-soft);
}
.box__title {
    margin-bottom: 14px;
    color: var(--wine);
    font-size: 17px;
}
.note-box {
    padding: 14px 16px;
    border-radius: 4px;
    background: var(--bg-soft);
}

/* 経営理念 */
.principle {
    margin: 0 0 24px;
    padding: 20px 8px;
    border-top: 1px solid var(--wine);
    border-bottom: 1px solid var(--wine);
    color: var(--maroon);
    font-family: var(--serif);
    font-size: 20px;
    font-weight: bold;
    line-height: 1.7;
    text-align: center;
}

/* インタビュー */
.qa__body { display: flex; align-items: flex-start; gap: 14px; }
.qa__face { flex-shrink: 0; width: 72px; border-radius: 50%; background: #eee; }

/* ---------- ボタン ---------- */
.button {
    display: inline-block;
    min-width: 260px;
    margin: 8px 0 16px;
    padding: 15px 24px;
    border: 0;
    border-radius: 6px;
    background: var(--red);
    color: #fff;
    font-family: inherit;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.button:hover { opacity: .88; }
.button--block { display: block; width: 100%; }
.button[disabled] { opacity: .6; cursor: wait; }

/* ---------- 申込みフォーム ---------- */
.entry-form,
.entry-done {
    margin: 24px 0;
    padding: 24px 18px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--bg-soft);
}
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 6px; font-weight: bold; }
.req {
    margin-left: 8px;
    padding: 1px 6px;
    border-radius: 3px;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    vertical-align: 2px;
}
.field input[type="text"],
.field input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #bbb;
    border-radius: 4px;
    background: #fff;
    font-family: inherit;
    font-size: 16px; /* iPhoneで入力時に拡大されない大きさ */
}
.field input:focus { outline: 2px solid var(--wine); outline-offset: 1px; }
.field--check { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.field--check input { width: 22px; height: 22px; margin: 0; accent-color: var(--wine); }
.field--check label { margin: 0; font-weight: normal; }
.field--check .field__error { flex-basis: 100%; }
.field__error,
.form-message { margin: 6px 0 0; color: var(--red); font-size: 14px; font-weight: bold; }
.field__error:empty,
.form-message:empty { display: none; }
.is-error input[type="text"],
.is-error input[type="email"] { border-color: var(--red); background: #fff6f6; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 16px; }

/* ---------- フッター ---------- */
.site-footer {
    padding: 28px 16px 20px;
    background: var(--maroon);
    color: #fff;
    text-align: center;
}
.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    font-size: 14px;
}
.site-footer a { color: #fff; }
.site-footer__copy { margin: 0; color: rgba(255, 255, 255, .6); font-size: 12px; }

/* ---------- PC（768px以上） ---------- */
@media (min-width: 768px) {
    html { scroll-padding-top: 150px; }
    body { font-size: 17px; }
    .site-header__logo img { width: 220px; }
    .site-header__home { font-size: 14px; }
    .site-header__entry { padding: 8px 20px; font-size: 14px; }
    .recruit-nav a { min-height: 56px; font-size: 14px; }
    .recruit-nav br { display: none; } /* PCは1行 */
    .container { padding-bottom: 64px; }
    .intro { padding-top: 40px; }
    .section { padding-top: 80px; }
    .page-title { font-size: 24px; }
    .section-title { font-size: 26px; }
    .point__title { font-size: 22px; }
    .sub-title { font-size: 19px; }
    .box { padding: 28px 32px 12px; }
    .box__title { font-size: 19px; }
    .principle { font-size: 24px; }
    .qa__face { width: 100px; }
    .section > img,
    .point > img,
    .box > img { max-width: 600px; }
    .entry-form,
    .entry-done { padding: 32px 40px; }
}
