@charset "UTF-8";
/* CSS Document */
html {
  margin: 0 !important;
  scroll-behavior: smooth;}

body {
  margin: 0;
  padding: 0;
  font-family: 'Zen Kaku Gothic New','ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', '游ゴシック', 'Yu Gothic', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  background-color: #f5f5f5;
  color: #333333
  }
  
a {
  text-decoration: none; /* 下線を消す */
  outline: none; /* フォーカス時の枠線を消す */
}

a:focus,
a:active,
a:visited{
  outline: none !important;
  text-decoration: none;
}

  
/*header*/
.hero{
width: 100%;
height: 100vh;
pointer-events: inherit;
margin-bottom: 120px;
}

.hero img{
width: 50%;
max-width: 300px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}

/*TOP*/

#top_recruit,#top_about{
width: 80%;
margin: 0 auto;
}

#top_about{
text-align: center;
margin-bottom: 120px;
}

#top_recruit h2{
font-size: 20px;
font-weight: bold;
margin-bottom: 40px;
text-align: center;
}

#top_recruit p{
font-size: 14px;
margin-bottom: 40px;
text-align: center;
}

.recruit-btn {
width: 200px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: #111;
  border: 2px solid #111;
  background: #fff;
  border-radius: 999px;
  transition: 
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.15s ease;
margin: 0 auto 120px;
  text-align: center;
}


/* ホバー：白→黒反転 */
.recruit-btn:hover {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
  transform: translateY(-2px);
}

.recruit-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}

#top_contact{
width: 80%;
max-width: 1000px;
margin: 0 auto 120px;;
}

.contact h2{
font-size: 20px;
font-weight: bold;
margin-bottom: 80px;
text-align: center;
}





/*コンタクトフォーム*/
/* ---------- base ---------- */
/* ベース */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.form {
  max-width: 760px;
  margin: 40px auto;
  padding: 32px 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(148, 163, 184, 0.16);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
}

/* 1行ごとのラッパー：左ラベル / 右入力 */
.form-content {
  display: flex;
  align-items: center; /* ← ラベルを上下中央寄せ */
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e5e7eb;
}

.form-content:last-of-type {
  border-bottom: none;
}

/* ラベル側 */
.form-left {
  width: 26%;
  min-width: 120px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.form-left span {
  display: inline-block;
}

/* 入力側 */
.form-right {
  flex: 1;
}

/* input / textarea 共通スタイル（CF7用） */
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  outline: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #9ca3af;
}

/* フォーカス時 */
.form input:focus,
.form textarea:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(37, 99, 235, 0.12),
    0 8px 20px rgba(15, 23, 42, 0.08);
}

/* テキストエリア大きめに */
.form textarea {
  min-height: 140px;
  resize: vertical;
}

/* form-top だけ上側の余白を少し広めにしたい場合 */
.form-top {
  padding-top: 20px;
}

/* 同意チェックエリア */
.form + p {
  max-width: 760px;
  margin: 16px auto 0;
  font-size: 13px;
  color: #4b5563;
}

/* acceptance（[acceptance ... class:input2] ）のチェックボックス */
.input2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.input2 input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  appearance: none;
  background: #ffffff;
  position: relative;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.input2 input[type="checkbox"]::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 3px;
  transform: scale(0);
  transition: transform 0.18s ease-out;
}

.input2 input[type="checkbox"]:checked {
  border-color: #2563eb;
  background-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
}

.input2 input[type="checkbox"]:checked::after {
  transform: scale(1);
  background-image:
    linear-gradient(-45deg, transparent 55%, #ffffff 55%, #ffffff 65%, transparent 65%),
    linear-gradient(45deg, transparent 30%, #ffffff 30%, #ffffff 40%, transparent 40%);
}

/* 送信ボタン */
.form-button {
  max-width: 760px;
  margin: 24px auto 0;
  text-align: center;
}

#formbtn {
  display: inline-block;
  min-width: 220px;
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  background: #111827;
  color: #f9fafb;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background-color 0.18s ease,
    opacity 0.18s ease;
}

#formbtn:hover {
  background: #020617;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
  transform: translateY(-1px);
}

#formbtn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
  opacity: 0.9;
}

.wpcf7-spinner{
display: none!important;
}

/* SPレイアウト（1カラム） */
@media (max-width: 768px) {
  .form {
    padding: 24px 16px;
    border-radius: 12px;
  }

  .form-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .form-left {
    width: 100%;
  }

  .form + p,
  .form-button {
    padding: 0 16px;
  }

  #formbtn {
    width: 100%;
    min-width: auto;
  }
}


/*footer*/
footer{
width: 100%;
}

.footer_logo{
width: 100px;
margin: 0 auto 40px;
}

.address{
text-align: center;
}

.address p{
margin-bottom: 10px;
line-height: 1.6rem;
}

.copyright{
font-size: 12px;
padding-bottom: 10px;
text-align: center;
}
