/* ===== 基本 ===== */
:root {
  --green: #0f5b45;
  --green-2: #16765a;
  --lime: #d4f25a;
  --cream: #fbf6ea;
  --bg: #ffffff;
  --text: #1b1f1d;
  --muted: #5f6763;
  --r: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
  overflow-wrap: anywhere;
}
h1, h2, h3 { margin: 0; line-height: 1.35; font-weight: 900; }
p { margin: 0 0 1em; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }

.pill {
  display: inline-block; margin: 0 0 12px;
  padding: 4px 14px; border-radius: 999px;
  background: var(--green); color: #fff; font-size: .8rem; font-weight: 700;
}
.pill--lime { background: var(--lime); color: var(--green); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 28px;
  border: 2px solid var(--green); border-radius: 999px;
  background: var(--green); color: #fff; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .15s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--line { background: transparent; color: var(--green); }
.btn--block { width: 100%; }

/* ===== 上部 ===== */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 1200px; margin: 0 auto; padding: 16px 16px 8px;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1.15rem; text-decoration: none; white-space: nowrap; }
.brand__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--lime); border: 5px solid var(--green); }
.brand__tag { font-size: .7rem; background: var(--lime); color: var(--green); padding: 2px 8px; border-radius: 999px; }
.top__tel { font-family: "Outfit", sans-serif; font-weight: 800; text-decoration: none; color: var(--green); white-space: nowrap; }
.top__tel::before { content: "TEL "; font-size: .75em; }

/* ===== 下の丸いメニュー ===== */
.dock {
  position: fixed; z-index: 50; left: 50%; bottom: 12px; transform: translateX(-50%);
  display: flex; gap: 2px; padding: 6px;
  width: max-content; max-width: calc(100% - 16px);
  background: rgba(15, 91, 69, .96); border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  overflow-x: auto; scrollbar-width: none;
}
.dock::-webkit-scrollbar { display: none; }
.dock a {
  flex: none; padding: 10px 14px; border-radius: 999px;
  color: #fff; text-decoration: none; font-size: .85rem; font-weight: 700; white-space: nowrap;
}
.dock a:hover { background: rgba(255,255,255,.12); }
.dock .dock__entry { background: var(--lime); color: var(--green); padding-inline: 20px; }
@media (max-width: 420px) {
  .dock a { padding: 9px 10px; font-size: .78rem; }
  .dock .dock__entry { padding-inline: 14px; }
}
/* とても狭い画面:電話番号は短く、メニューは4つに絞る */
@media (max-width: 359px) {
  .top { flex-wrap: wrap; }
  .top__tel::before { content: none; }
  .top__tel { font-size: .85rem; }
  .dock { gap: 0; padding: 5px; }
  .dock a { padding: 8px 6px; font-size: .74rem; }
  .dock .dock__salary { display: none; }
}

/* ===== ヒーロー:タイル ===== */
.bento {
  max-width: 1200px; margin: 0 auto; padding: 8px 16px 0;
  display: grid; gap: 12px;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "title  title"
    "photo1 photo1"
    "stat1  stat2"
    "photo2 photo2"
    "list   list";
}
.tile { border-radius: var(--r); padding: 22px; min-width: 0; }
.tile--title { grid-area: title; background: var(--cream); padding: 28px 22px; }
.tile--title h1 { font-size: clamp(2.2rem, 9vw, 4.4rem); margin-bottom: 16px; }
.tile--title mark { background: none; color: var(--green); position: relative; }
.tile--title mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .28em; background: var(--lime); z-index: -1; border-radius: 4px; }
.tile--title h1 { position: relative; z-index: 0; }
.tile--title > p:not(.pill) { color: var(--muted); }
.tile--photo {
  display: flex; align-items: flex-end; min-height: 220px;
  background: radial-gradient(circle at 30% 30%, #b9d6c8, #8fb9a6);
}
.tile--photo span { position: relative; z-index: 1; background: rgba(255,255,255,.8); padding: 1px 10px; border-radius: 999px; font-size: .7rem; color: var(--muted); }
/* 写真が images/ にあれば表示し、なければ仮置きの枠のまま */
.tile--photo, .face { position: relative; overflow: hidden; }
.tile--photo img, .face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--photo1 { grid-area: photo1; }
.tile--photo2 { grid-area: photo2; background: radial-gradient(circle at 70% 30%, #e7dcb8, #cbbb8a); }
.tile--stat { background: var(--green); color: #fff; display: flex; flex-direction: column; justify-content: space-between; }
.bento .tile--stat { grid-area: stat1; }
.bento .tile--lime { grid-area: stat2; background: var(--lime); color: var(--green); }
.tile--stat p { margin: 0; font-size: .85rem; font-weight: 700; }
.tile--stat strong { font-family: "Outfit", "Zen Maru Gothic", sans-serif; font-size: clamp(1.9rem, 8vw, 3.4rem); line-height: 1.1; white-space: nowrap; }
.tile--stat small { font-size: .4em; margin-left: 2px; }
.tile--list { grid-area: list; background: var(--cream); }
.tile--list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tile--list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.tile--list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: .3em; border-radius: 50%; background: var(--lime) center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3' fill='none' stroke='%230f5b45' stroke-width='2'/%3E%3C/svg%3E"); }

@media (min-width: 640px) {
  .bento {
    grid-template-areas:
      "title  title"
      "photo1 stat1"
      "photo1 stat2"
      "photo2 list";
  }
  .tile--photo { min-height: 260px; }
}
@media (min-width: 1000px) {
  .bento {
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas:
      "title  title  photo1 stat1"
      "title  title  photo1 stat2"
      "photo2 photo2 list   list";
  }
  .tile--title { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
  .tile--photo2 { min-height: 200px; }
  .tile--list { display: flex; align-items: center; padding: 28px 32px; }
}

/* ===== セクション共通 ===== */
.sec { padding: 72px 16px; }
.sec > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.sec--green { background: var(--green); color: #fff; border-radius: var(--r); margin: 0 8px; }
.sec--cream { background: var(--cream); }
.sec__head { margin-bottom: 32px; }
.sec__head h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); margin-bottom: 10px; }
.sec__head > p:not(.pill) { color: var(--muted); margin: 0; }
.sec--green .sec__head > p:not(.pill) { color: #cfe3da; }
.photo-note { margin: 8px 0 0; font-size: .75rem; color: var(--muted); }
.sec__note { margin: 16px auto 0; font-size: .8rem; color: #cfe3da; }
@media (min-width: 768px) {
  .sec { padding: 100px 32px; }
  .sec--green { margin: 0 16px; }
}

/* ===== 仕事診断 ===== */
.quiz { background: var(--cream); border-radius: var(--r); padding: 28px 20px; max-width: 760px !important; }
.quiz__progress { height: 8px; background: #e8e1cf; border-radius: 999px; overflow: hidden; margin-bottom: 24px; }
.quiz__progress span { display: block; height: 100%; width: 0; background: var(--green); transition: width .3s; }
.quiz__step { display: none; }
.quiz__step.is-active { display: block; animation: pop .3s; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.quiz__q { font-size: clamp(1.15rem, 4vw, 1.4rem); font-weight: 900; }
.quiz__a { display: grid; gap: 10px; }
.quiz__a button {
  min-height: 56px; padding: 12px 20px; border-radius: 16px; cursor: pointer;
  background: #fff; border: 2px solid #e1d9c4; font-weight: 700; text-align: left;
  transition: border-color .2s, background .2s;
}
.quiz__a button:hover, .quiz__a button:focus-visible { border-color: var(--green); background: #f1faf5; outline: none; }
.quiz__result { text-align: center; animation: pop .3s; }
.quiz__label { margin: 0; color: var(--muted); font-weight: 700; }
.quiz__job { font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 900; color: var(--green); margin: 4px 0 8px; }
.quiz__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
@media (min-width: 640px) {
  .quiz { padding: 40px; }
  .quiz__a { grid-template-columns: repeat(3, 1fr); }
  .quiz__a button { text-align: center; }
}

.jobs { display: grid; gap: 12px; margin-top: 40px !important; }
.job { border: 2px solid #e8e1cf; border-radius: var(--r); padding: 22px; }
.job__icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin: 0 0 12px;
  border-radius: 50%; background: var(--lime); color: var(--green);
  font-family: "Outfit", sans-serif; font-weight: 800; font-size: 1.2rem;
}
.job h3 { font-size: 1.2rem; margin-bottom: 6px; }
.job p:last-child { margin: 0; font-size: .92rem; color: var(--muted); }
@media (min-width: 768px) { .jobs { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* ===== 収入モデル ===== */
.bars { list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; display: grid; gap: 18px; }
.bars li { display: grid; gap: 6px; }
.bars__who { font-weight: 900; }
.bars__who small { font-weight: 500; font-size: .8rem; color: #cfe3da; margin-left: 8px; }
.bars__bar { display: block; width: var(--w); min-width: 170px; max-width: 100%; background: var(--lime); color: var(--green); border-radius: 999px; padding: 10px 18px; }
.bars__bar b { font-weight: 900; white-space: nowrap; }
@media (min-width: 768px) {
  .bars li { grid-template-columns: 220px 1fr; align-items: center; }
}

/* ===== 先輩の話 ===== */
.talks { display: grid; gap: 20px; }
.talk { background: var(--cream); border-radius: var(--r); padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; }
.talk__who { display: flex; align-items: center; gap: 12px; font-weight: 900; margin: 0 0 6px; flex-wrap: wrap; }
.talk__who small { flex-basis: 100%; padding-left: 64px; margin-top: -14px; font-weight: 500; font-size: .8rem; color: var(--muted); }
.face { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: .65rem; color: var(--muted); background: #e3dcc9; flex: none; }
.bubble {
  margin: 0; padding: 12px 16px; max-width: 88%;
  background: #fff; border-radius: 18px 18px 18px 4px; font-size: .95rem;
}
.bubble--q { align-self: flex-end; background: var(--green); color: #fff; border-radius: 18px 18px 4px 18px; font-weight: 700; }
@media (min-width: 900px) { .talks { grid-template-columns: 1fr 1fr; } .talk { padding: 28px; } }

/* ===== 1日の流れ ===== */
.day { list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.day li { background: #fff; border-radius: 18px; padding: 16px; font-weight: 700; font-size: .92rem; }
.day b { display: block; font-family: "Outfit", sans-serif; font-weight: 800; font-size: 1.6rem; color: var(--green); line-height: 1.2; }
@media (min-width: 640px) { .day { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .day { grid-template-columns: repeat(6, 1fr); } }

/* ===== 募集要項 ===== */
.terms { display: grid; gap: 12px; }
.terms details { border: 2px solid #e8e1cf; border-radius: var(--r); overflow: hidden; }
.terms details[open] { border-color: var(--green); }
.terms summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 18px 56px 18px 18px; position: relative; font-weight: 900; font-size: 1.15rem;
}
.terms summary::-webkit-details-marker { display: none; }
.terms summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--cream);
  display: grid; place-items: center; font-size: 1.2rem; transition: transform .2s;
}
.terms details[open] summary::after { content: "−"; background: var(--lime); }
.terms summary span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-family: "Outfit", sans-serif; font-size: 1rem; }
.terms summary em { font-style: normal; font-size: .72rem; background: var(--cream); padding: 2px 10px; border-radius: 999px; }
.terms dl { margin: 0; padding: 0 18px 18px; display: grid; }
.terms dt { font-weight: 900; color: var(--green); font-size: .85rem; margin-top: 12px; }
.terms dd { margin: 0; padding-bottom: 12px; border-bottom: 1px dashed #ddd5c1; }
.terms dd:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 768px) {
  .terms dl { grid-template-columns: 140px 1fr; padding: 0 28px 24px; }
  .terms dt, .terms dd { margin: 0; padding: 12px 0; border-bottom: 1px dashed #ddd5c1; }
  .terms dt:nth-last-of-type(1), .terms dd:last-child { border-bottom: 0; }
}
.common { margin-top: 24px !important; background: var(--cream); border-radius: var(--r); padding: 22px; display: grid; gap: 16px; }
.common h3 { font-size: 1.05rem; margin-bottom: 4px; }
.common p { margin: 0; font-size: .92rem; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: #fff; border-radius: 999px; padding: 4px 14px; font-size: .85rem; font-weight: 700; }
@media (min-width: 900px) { .common { grid-template-columns: 1fr 1.2fr; padding: 28px 32px; align-items: center; } }

/* ===== FAQ ===== */
.faq { display: grid; gap: 12px; }
.faq div { background: #fff; border-radius: var(--r); padding: 22px; }
.faq h3 { font-size: 1.05rem; margin-bottom: 8px; display: flex; gap: 10px; }
.faq h3::before { content: "Q"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); color: var(--green); font-family: "Outfit", sans-serif; font-size: .9rem; }
.faq p { margin: 0; padding-left: 38px; color: var(--muted); font-size: .92rem; }
@media (min-width: 768px) { .faq { grid-template-columns: 1fr 1fr; } }

/* ===== 応募 ===== */
#entry { margin-bottom: 24px; }
.entry { display: grid; gap: 28px; }
.tel {
  display: inline-block; margin-top: 20px; text-decoration: none;
  font-family: "Outfit", sans-serif; font-weight: 800; font-size: clamp(1.8rem, 7vw, 2.4rem); color: var(--lime); line-height: 1.2;
}
.tel small { display: block; font-family: "Zen Maru Gothic", sans-serif; font-size: .8rem; font-weight: 500; color: #cfe3da; }
.form { background: #fff; color: var(--text); border-radius: var(--r); padding: 24px 18px; min-width: 0; }
.form__steps { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.form__steps li { text-align: center; font-size: .8rem; font-weight: 700; padding: 6px; border-radius: 999px; background: #f0ece0; color: var(--muted); }
.form__steps li.is-on { background: var(--green); color: #fff; }
.form__page { border: 0; padding: 0; margin: 0; display: grid; gap: 18px; min-width: 0; }
.form__page legend { font-weight: 900; font-size: 1.1rem; margin-bottom: 14px; padding: 0; }
.choices { display: grid; gap: 8px; }
.choices label { cursor: pointer; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { display: block; padding: 14px 18px; border: 2px solid #e1d9c4; border-radius: 16px; font-weight: 700; transition: .2s; }
.choices input:checked + span { border-color: var(--green); background: #eaf6ef; color: var(--green); }
.choices input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.choices.is-error span { border-color: #d33; }
.field { display: block; font-weight: 700; font-size: .9rem; }
.field em { font-style: normal; font-size: .7rem; background: #d33; color: #fff; border-radius: 999px; padding: 1px 8px; margin-left: 4px; }
.field input, .field select, .field textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  font: inherit; font-weight: 500; border: 2px solid #e1d9c4; border-radius: 14px; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); }
.field .is-error { border-color: #d33; background: #fff6f6; }
.form__nav { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; }
.form__msg { margin: 14px 0 0; font-weight: 700; text-align: center; }
.form__msg:empty { display: none; }
.form__msg.is-error { color: #d33; }
.form__msg.is-ok { color: var(--green); }
@media (min-width: 640px) { .choices { grid-template-columns: repeat(3, 1fr); } .choices span { text-align: center; } .form { padding: 32px; } }
@media (min-width: 900px) { .entry { grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; } }

/* ===== フッター ===== */
.foot { text-align: center; font-size: .8rem; color: var(--muted); padding: 24px 16px 100px; }
.foot p { margin: 0 0 4px; }
