/* 経済産業省への転職カウンセリングサービス（旧 STUDIO: lp.volve.co.jp/service/meti）
   色・文字サイズは STUDIO 版の設定値に合わせている */

:root {
  --title: #1a79a4;
  --blue: #1b76b5;
  --pale: #f3f9fb;
  --text: #333;
  --line: #ddd;
  --red: #f23a3c;
  --footer: #eee;
}

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

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.sp { display: none; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  background: rgba(255, 255, 255, .69);
  backdrop-filter: blur(4px);
}
.header__logo { width: 184px; }
.header__nav { display: flex; gap: 30px; padding-right: 20px; font-size: 14px; }
.header__nav a { text-decoration: none; }
.header__nav a:hover { text-decoration: underline; }

/* ---------- ヒーロー ---------- */
.hero { position: relative; margin-top: 100px; color: #fff; }
.hero__bg { width: 100%; }
.hero__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  /* STUDIO 版と同じく、画面中央より少し左に文字を置く（右側のイラストに重ねない） */
  padding: 0 24px 0 max(24px, calc(50% - 300px));
}
.hero__title { margin: 0 0 12px; font-size: clamp(28px, 3vw, 40px); font-weight: 700; line-height: 1.4; letter-spacing: .05em; }
.hero__lead { margin: 0 0 24px; font-size: 16px; }
.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(390px, 100%);
  height: 58px;
  border-radius: 80px;
  background: #fff;
  color: var(--title);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
  transition: transform .2s;
}
.hero__cta:hover { transform: translateY(-2px); }

/* ---------- 新たな動き ---------- */
.news {
  position: relative;
  width: min(880px, calc(100% - 32px));
  margin: -30px auto 0;
  padding: 40px 20px 50px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.news__head { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 10px; }
.news__head img { width: 217px; }
.news__head h2 { margin: 0; padding: 4px 16px; background: var(--pale); color: var(--title); font-size: 28px; font-weight: 700; }
.news__text { width: 90%; margin: 10px 0 0; font-size: 16px; font-weight: 500; color: #000; }
.news__text + .news__text { margin-top: 20px; }

.article {
  width: 90%;
  margin-top: 10px;
  padding: 3px;
  display: flex;
  gap: 10px;
  border: 1px solid #eee;
  text-decoration: none;
  transition: background .2s;
}
.article:hover { background: #fafafa; }
.article img { width: 30%; flex: none; object-fit: cover; }
.article__body { min-width: 0; }
.article h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.article p { margin: 0; font-size: 13px; color: #555; }

/* ---------- 強み ---------- */
.strength { margin-top: 100px; padding: 0 16px 100px; background: var(--pale); }
.strength__title { margin: 0; padding-top: 0; transform: translateY(-50%); text-align: center; font-size: 35px; font-weight: 700; color: #000; }
.strength__item {
  width: min(1060px, 100%);
  margin: 40px auto 0;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.strength__item img { width: 422px; max-width: 40%; flex: none; }
.strength__item h3 { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; font-size: 26px; font-weight: 700; color: #000; }
.strength__num { color: var(--title); font-size: 58px; line-height: 1; }
.strength__item p { margin: 0; font-size: 18px; color: #000; }

/* ---------- 申込フォーム ---------- */
.entry { padding: 80px 16px 50px; background: var(--blue); color: #fff; text-align: center; }
.entry__title { margin: 0 0 20px; font-size: 30px; font-weight: 500; line-height: 1.5; }
.entry__lead { margin: 0 0 40px; font-size: 20px; }
.entry__card {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 60px 16px 80px;
  border-radius: 16px;
  background: #f9fcff;
  color: var(--text);
}
.entry__form-title { margin: 0 0 40px; color: var(--title); font-size: 24px; font-weight: 700; line-height: 1.5; }
.entry__intro { width: min(600px, 100%); margin: 0 auto; text-align: left; font-size: 16px; }

.form { width: min(600px, 100%); margin: 70px auto 0; text-align: left; }
.field { margin-bottom: 20px; }
.field > label { display: block; margin-bottom: 10px; font-size: 15px; font-weight: 700; }
.req { margin-left: 5px; color: var(--red); }
.field input[type='text'], .field input[type='email'], .field textarea {
  width: 100%;
  height: 50px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.field textarea { height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27, 118, 181, .15); }
[aria-invalid='true'] { border-color: var(--red) !important; background: #fff6f6 !important; }

.check { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }

.field__error, .form__error { margin: 6px 0 0; color: var(--red); font-size: 13px; font-weight: 500; }
.form__error { margin: 0 0 16px; padding: 12px 16px; border-radius: 4px; background: #fff3f3; white-space: pre-line; }

.submit {
  width: 100%;
  padding: 15px;
  border: 0;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}
.submit:hover { opacity: .85; }
.submit:disabled { opacity: .5; cursor: default; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 運営会社 ---------- */
.company { padding: 50px 16px 50px; }
.company__title { margin: 0 0 30px; text-align: center; font-size: 28px; font-weight: 700; }
.company__table { width: min(600px, 100%); margin: 0 auto; }
.company__table > div { display: flex; padding: 24px 16px; border-bottom: 1px solid #eee; }
.company__table dt { width: 30%; flex: none; font-weight: 500; }
.company__table dd { margin: 0; }
.company__table dd a { display: inline-flex; align-items: center; gap: 8px; }
.company__table dd img { width: 19px; }

/* ---------- フッター ---------- */
.footer { padding: 60px 60px 30px; background: var(--footer); }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.footer__name { font-size: 20px; font-weight: 500; text-decoration: none; }
.footer__address { margin: 5px 0 0; font-size: 16px; }
.footer__links { display: flex; gap: 20px; margin: 0; }
.footer__links a { text-decoration: none; }
.footer__sns { display: flex; justify-content: center; align-items: center; gap: 25px; margin: 30px 0; }
.footer__sns img { width: 30px; }
.footer__articles { font-size: 20px; font-weight: 900; text-decoration: none; }
.footer__copy { margin: 0; text-align: center; font-size: 12px; }

/* ---------- 完了ページ・規約ページ ---------- */
.page { min-height: 60vh; margin-top: 100px; padding: 80px 16px 100px; }
.page__inner { width: min(838px, 100%); margin: 0 auto; }
.page h1 { margin: 0 0 32px; color: var(--title); font-size: 32px; line-height: 1.5; text-align: center; }
.page__thanks { font-size: 16px; line-height: 1.8; text-align: center; }
.page__meta { margin: 0 0 24px; text-align: right; }
.page__body { font-size: 15px; line-height: 1.9; }
.page__back { margin-top: 48px; text-align: center; }
.page__back a { color: var(--title); }

/* ---------- スマホ ---------- */
@media (max-width: 840px) {
  .header__nav { display: none; }
  .strength__item { flex-direction: column; align-items: center; gap: 20px; }
  .strength__item img { max-width: 100%; }
}

@media (max-width: 540px) {
  .sp { display: inline; }
  .header { height: 64px; }
  .header__logo { width: 130px; }
  .hero, .page { margin-top: 64px; }
  .hero__inner { justify-content: flex-start; padding: 40px 20px 0; }
  .hero__title { font-size: 28px; }
  .hero__lead { font-size: 14px; }
  .hero__cta { font-size: 18px; height: 52px; }
  .news { padding: 32px 16px 36px; }
  .news__head { flex-direction: column; gap: 12px; }
  .news__head img { width: 180px; }
  .news__head h2 { font-size: 20px; }
  .news__text { width: 100%; font-size: 14px; }
  .article { width: 100%; }
  .article img { width: 37%; }
  .article h3 { font-size: 13px; }
  .article p { display: none; }
  .strength__title { font-size: 26px; }
  .strength__item h3 { font-size: 20px; }
  .strength__num { font-size: 44px; }
  .strength__item p { font-size: 15px; }
  .entry { padding-top: 60px; }
  .entry__title { font-size: 20px; }
  .entry__lead { font-size: 14px; }
  .entry__card { padding: 40px 16px 48px; }
  .entry__form-title { font-size: 18px; margin-bottom: 24px; }
  .entry__intro { font-size: 14px; }
  .form { margin-top: 40px; }
  .company__title { font-size: 22px; }
  .company__table > div { padding: 18px 4px; font-size: 14px; }
  .footer { padding: 40px 20px 24px; }
  .footer__top { flex-direction: column; }
  .footer__name { font-size: 18px; }
  .footer__address { font-size: 13px; }
  .footer__sns img { width: 25px; }
  .page h1 { font-size: 22px; }
}
