:root{
  --blue:#114fa1;
  --blue-bright:#2a6be7; /* hover時の明るめ青 */
  --yellow: #ffcb13;
  --orange:#e48100;
  --ink:#0e1526;
  --muted:#5b6b82;
  --bg:#ffffff;
  --overlay: rgba(255,255,255,.92);
  --radius: 16px;
  --chip-border:#d8e4ff;
  --chip-bg:#f4f7ff;
  --gray-bg: rgb(246 246 246)
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
a{ color:inherit; text-decoration:none; }

/* ===== Base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

:root{
  --s-blue: #2a6be7;
  --s-blue-ink: #1653ce;
  --ts-ext: #0f172a;
  --s-muted: #6b7280;
  --s-line: #e6edf7;

  /* 画像のQAセクションっぽい “薄グレー” */
  --qa-bg: #f3f5f7;

  --card: #ffffff;
  --shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

body{
  font-family: "Noto Sans JP", system-ui, sans-serif;
  color: var(--s-text);
  background: #fff;
  line-height: 1.75;
}
a{ color: inherit; text-decoration: none; }
/* ===== Header（indexに寄せた簡易版） ===== */
.s-header-in,
.s-hero-in,
.s-main,
.s-footer{
  padding-inline: clamp(16px, 5vw, 84px);
}

/* ===== Header ===== */
.s-header{
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--s-line);
}
.s-header-in{
  height: 64px;
  display:flex;
  align-items:center;
}
.s-company{
  font-weight: 900;
  letter-spacing: .02em;
}
.s-company:hover{ color: var(--s-blue-ink); }

.s-hero{
  padding: 38px 0 20px;
  position: relative;
  overflow:hidden;
}
.s-hero::before{
  content:"";
  position:absolute;
  inset:-60px -60px auto -60px;
  height: 240px;
  background:
    radial-gradient(800px 220px at 18% 20%, rgba(42,107,231,.18), transparent 60%),
    radial-gradient(700px 240px at 85% 0%, rgba(25,167,174,.12), transparent 58%),
    linear-gradient(120deg, rgba(42,107,231,.08), rgba(42,107,231,0));
  pointer-events:none;
}
.s-hero-inner{
  position: relative;
  padding-inline: clamp(16px, 4vw, 56px);
  text-align: center;
}
.s-hero-title{
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 900;
  color: var(--s-blue);
  line-height: 1;
  letter-spacing: .02em;
}
.s-hero-sub{
  margin-top: 10px;
  font-weight: 900;
  font-size: 14px;
  color: #111827;
}
/* ヘッダー：フル幅／影なし */
.site-header{
  position:fixed; inset-block-start:0; inset-inline:0;
  z-index:1000; background:var(--bg);
  border-bottom:1px solid #eceff3;
}
.header-inner{
  max-width:none; padding:.9rem 1.2rem;
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
}
.brand-text{ display:flex; flex-direction:column; line-height:1.15; }
.brand-title{ font-size: clamp(1.3rem, 2.2vw, 1.8rem); margin:0; font-weight:800; letter-spacing:.01em;}
.brand-sub{ font-size: clamp(.85rem, 1.1vw, 1rem); color:var(--muted); letter-spacing:.08em; }

/* ハンバーガー */
.nav-toggle{
  appearance:none; border:0; background:transparent; padding:.7rem;
  display:inline-flex; flex-direction:column; gap:.35rem; align-items:center; justify-content:center;
  border-radius:12px; cursor:pointer;
}
.nav-toggle:hover{ background:#f6f8fb; }
.nav-toggle:focus-visible{ outline:2px solid var(--blue); outline-offset:3px; }
.nav-toggle-bar{
  width:28px; height:2px; background:var(--ink); border-radius:2px;
  transition:transform .22s ease, opacity .18s ease, background .18s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1){ transform: translateY(8px) rotate(45deg); background:var(--blue); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3){ transform: translateY(-8px) rotate(-45deg); background:var(--blue); }

/* 白オーバーレイ */
.nav-overlay{
  position:fixed; inset:0; background:var(--overlay);
  opacity:0; pointer-events:none; transition:opacity .24s ease;
}
.nav-overlay.is-open{ opacity:1; pointer-events:auto; }

/* ドロワー（幅スリム） */
.nav-drawer{
  position:fixed; inset-block:0; inset-inline-end:0;
  width:min(90vw, 380px);
  background:var(--bg);
  transform: translateX(100%); transition: transform .26s ease;
  display:flex; flex-direction:column;
}
@media (min-width:1200px){ .nav-drawer{ width:400px; } }
.nav-drawer.is-open{ transform: translateX(0); }

/* 最上部：会社名なしで×のみ右寄せ */
.drawer-header{
  display:flex; align-items:center; justify-content:flex-end;
  padding:1.05rem 1.1rem; border-bottom:1px solid #eef1f5;
}
.drawer-close{
  appearance:none; border:0; background:transparent; font-size:1.6rem; line-height:1;
  border-radius:10px; padding:.35rem; cursor:pointer;
}
.drawer-close:hover{ background:#f2f6fd; }
.drawer-close:focus-visible{ outline:2px solid var(--blue); outline-offset:3px; }

/* Quick chips（おしゃれ目チップ） */
.drawer-quick{
  display:grid; grid-template-columns:1fr 1fr; gap:.6rem; padding:1rem 1.1rem 0;
}
.chip-link{
  display:inline-flex; align-items:center; gap:.55rem;
  padding:.7rem 1rem; border-radius:999px;
  border:1px solid var(--chip-border);
  background:var(--chip-bg);
  color:var(--blue); font-weight:700; font-size:.98rem;
  transition: border-color .2s ease, color .2s ease, transform .12s ease;
}
.chip-link i{ font-size:1.05rem; }
.chip-link:hover{
  color:var(--blue-bright);
  border-color:#bcd0ff;
  transform: translateY(-1px);
}

/* セパレータ */
.drawer-sep{ border:0; border-top:1px solid #eef1f5; margin:1rem 0; }

/* メニュー */
.drawer-section{ padding:.2rem 0 1.1rem; }
.nav-vertical{ list-style:none; margin:0; padding:0 .4rem; display:grid; gap:.1rem; }

/* ===== hover演出：背景ナシ＋文字色↑＋左ドット（大きめ＆距離） ===== */
.nav-link,
.nav-accordion{
  position:relative;
  display:block; width:100%;
  padding:1rem 1.2rem 1rem 2.2rem;  /* 文字を右へオフセット */
  border:0; background:transparent; cursor:pointer;
  text-align:left; color:var(--ink);
  border-radius:12px; font-size:1.12rem; font-weight:800; letter-spacing:.01em;
  transition: color .18s ease;
}
/* 左ドット：大きめ＋距離 */
.nav-link::before,
.nav-accordion::before{
  content:"・";
  position:absolute;
  left:1rem;
  top:50%;
  transform:translateY(-50%);
  opacity:0;
  color:var(--blue-bright);
  font-weight:900;
  font-size:1.35rem;
  transition: opacity .18s ease, transform .18s ease;
}
.nav-link:hover,
.nav-accordion:hover{ color:var(--blue-bright); }
.nav-link:hover::before,
.nav-accordion:hover::before{
  opacity:1;
  transform:translateY(-50%) translateX(0);
}

/* フォーカス可視 */
.nav-accordion:focus-visible,
.nav-link:focus-visible{ outline:2px solid var(--blue); outline-offset:3px; }

/* 子あり（＋/−） */
.nav-item.has-children{ border-radius:12px; }
.nav-accordion{
  display:flex; align-items:center; justify-content:space-between;
  padding-right:1rem;
}
.nav-accordion-label{ pointer-events:none; }
.nav-accordion-icon{
  position:relative; width:18px; height:18px; flex:0 0 18px; opacity:.85;
}
.nav-accordion-icon::before,
.nav-accordion-icon::after{
  content:""; position:absolute; inset:50% auto auto 0; right:0;
  width:18px; height:2px; background:currentColor; transform:translateY(-50%);
  border-radius:2px;
}
.nav-accordion-icon::after{ transform: translateY(-50%) rotate(90deg); }
.nav-accordion[aria-expanded="true"] .nav-accordion-icon::after{ opacity:0; }

/* 子メニュー（ドットも大きめ＆距離） */
.nav-sub{ list-style:none; margin:0; padding:.2rem 0 .6rem; }
.nav-sub .nav-sub-link{
  position:relative;
  display:block;
  padding:.7rem 1.2rem .7rem 2.4rem;
  border-radius:10px;
  font-size:1.02rem; font-weight:700; color:#1b2437; transition: color .18s ease;
}
.nav-sub .nav-sub-link::before{
  content:"・";
  position:absolute;
  left:1.2rem;
  top:50%;
  transform:translateY(-50%);
  opacity:0;
  color:var(--blue-bright);
  font-weight:900;
  font-size:1.25rem;
  transition: opacity .18s ease, transform .18s ease;
}
.nav-sub .nav-sub-link:hover{ color:var(--blue-bright); }
.nav-sub .nav-sub-link:hover::before{
  opacity:1;
  transform:translateY(-50%) translateX(0);
}

/* フッターCTA：元の .btn-primary（幅・整列は従来どおり）。色だけ変更 */
.drawer-foot{ margin-top:auto; padding:1.1rem 1.1rem 1.6rem; border-top:1px solid #eef1f5; }
.btn-primary{
  display:block; width:100%; text-align:center; text-decoration:none;
  background:#f4f2eb;        /* ← 通常は薄ベージュ */
  color:inherit;              /* 文字は継承（黒系） */
  padding:1rem 1rem; border-radius:14px; font-weight:800; font-size:1.05rem;
  transition: background-color .25s ease, color .25s ease;
}
.btn-primary:hover{
  background:#114fa1;        /* ← hoverで青 */
  color:#fff;                /* ← 文字は白 */
}
.btn-primary:focus-visible{ outline:2px solid var(--orange); outline-offset:3px; }

/* メニュー（ロゴの下に“横並び”で配置） */
.menu{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(10px, 2vw, 22px);
  flex-wrap: wrap;                    /* 折り返しても“行”のまま（縦1列にしない） */
}
.menu a{
  position: relative;
  display: inline-block;
  padding: 8px 0;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(14px, 1.6vw, 16px); /* 上段は少し大きめ */
  letter-spacing: .01em;
  transition: opacity .2s ease;
}
.menu.menu-primary a:hover {
    color: var(--blue-bright);
}
.menu a::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:2px;
  height:2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--brand);
  transition: transform .22s ease;
}
.menu a:hover{ opacity:.95; }
.menu a:hover::after{ transform: scaleX(1); }

/* 右：上下の高さを使って中央に固定される採用ボタン */
.footer-cta{
  align-self: stretch;                /* 親行の高さに合わせて伸ばす */
  display: flex;
  align-items: center;                /* 垂直中央 */
  justify-content: center;            /* 水平中央 */
}
.btn-recruit{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 9999px;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(42,107,231,.35);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn-recruit:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(42,107,231,.45);
  opacity:.98;
}

/* ===== 下段：黒背景セクション（白文字） ===== */
.footer-black{
  background: #0e1526;
  color: #fff;
}
.footer-black .container-5xl{ padding-block: 16px 14px; }

/* 法令系メニュー（小さめ文字） */
.menu-legal{
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
  flex-wrap: wrap;
}
.menu-legal a{
  color: #e6e6e6;
  font-weight: 500;
  font-size: clamp(12px, 1.4vw, 13px);
  padding: 8px 0;
  text-decoration: none;
  transition: opacity .2s ease;
}
.menu-legal a:hover{ opacity:.9; }

copyright, /* 万一の typo 対策 */
.copyright{
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  color: #d5d5d5;
  letter-spacing: .02em;
}

/* ===== レスポンシブ ===== */
/* 中幅：余白・並びを少し調整 */
@media (max-width: 980px){
  .footer-main{
    grid-template-columns: 1fr;  /* 上段は1カラムに */
    row-gap: 12px;
  }
  .footer-cta{
    justify-content: flex-start; /* 左寄せ（好みで center にしてもOK） */
  }
}

/* 狭幅：主要メニューは横スクロールで“縦並びにしない” */
@media (max-width: 520px){
  .menu.menu-primary{
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    gap: 18px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 2px;
    mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  }
  .menu.menu-primary li{ display: inline; }
}
.btn01 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
    margin-top: 1.2rem;
    width: 19rem;
    min-height: 4rem;
    padding: 0 6.5rem 0 2.5rem;
    font-size: 1rem;
    letter-spacing: .02em;
    font-weight: 700;
    line-height: 1.6;
    border-radius: 100vw;
    background-color: #f4f2eb;
    -webkit-transition: color .25s ease, background-color .25s ease;
    transition: color .25s ease, background-color .25s ease;
}
.btn01:hover {
    background: #114fa1;
    color: #fff;
}
.btn01:hover .btn-icon {
    color: #114fa1;
}
.btn01 .btn-icon {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 1.5rem;
    font-size: .9rem;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
}
.btn01 .btn-icon i {
    background: #fff;
    padding: .7rem;
    border-radius: 4rem;
}








/* 全体 */
body{
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  color: #151515;
  line-height: 1.7;
}

/* セクション */
.contact-section{
  padding: 60px 20px;
}
.contact-wrap{
  max-width: 640px;
  margin: 0 auto;
}

/* タイトル */
.contact-title{
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  text-align: center;
}
.contact-sub{
  text-align: center;
  margin: 6px 0 30px;
  font-size: 14px;
  opacity: .7;
}

/* 必須表示 */
.req{
  color: #e54848;
  font-weight: 700;
}

/* フォーム全体 */
.contact-form{
  display: grid;
  gap: 26px;
}

/* 各フィールド */
.form-group{
  display: grid;
  gap: 6px;
}
.form-label{
  font-weight: 600;
  font-size: 15px;
}
.form-input,
.form-textarea{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
  transition: 0.2s;
}
.form-input:focus,
.form-textarea:focus{
  outline: none;
  border-color: #000;
}

.form-textarea{
  height: 160px;
  resize: vertical;
}

/* チェックボックス */
.form-check{
  font-size: 14px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.form-check input{
  width: 18px;
  height: 18px;
  margin-top: 3px;
}
.privacy-link{
  color: #151515;
  font-weight: 600;
  border-bottom: 1px solid #151515;
  text-decoration: none;
}
.privacy-link:hover{
  opacity: .6;
}

/* ボタン */
.form-btns{
  margin-top: 14px;
  display: flex;
  gap: 16px;
  justify-content: center;
}
.btn-submit{
  background: #000;
  color: #fff;
  border: none;
  padding: 12px 34px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.btn-submit:hover{
  opacity: .8;
}
.btn-back{
  padding: 12px 34px;
  border-radius: 8px;
  border: 1px solid #000;
  color: #000;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.btn-back:hover{
  background: #f5f5f5;
}

/* Footer */
.s-footer{
  border-top: 1px solid var(--s-line);
  background: #fff;
  text-align:center;
  padding: 18px 16px 22px;
  color: #8a94a7;
  font-weight: 700;
}

.form-check br {
  display: none;
}

@media (max-width: 768px) {
  .form-input,
  .form-textarea{
    max-width: 350px;
  }
  .form-check br {
    display: initial;
  }
}