@charset "UTF-8";
/* ===================== 全体設定・リセット ===================== */
/* ★追加：box-sizingをborder-boxに統一し、はみ出しを防止 */
*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
:root {
  --header-h: 64px;
}
.sp-only {
  display: none;
}
.tab-only {
  display: inline;
}
.pc-tab-only {
  display: inline;
}
/* ===================== 固定ナビ ===================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 30px;
  padding-bottom: 0;
  z-index: 100;
  background: #fff;
  backdrop-filter: blur(6px);
  color: #000;
}
.site-header .logo {
  font-family: "henderson-sans-basic", sans-serif;
  font-weight: 400;
  font-style: normal;
  display: flex;
  margin-left: 20px;
  padding-left: 0px;
  flex-shrink: 0;
}
.logo img {
  width: 40px;
  height: auto;
}
.name {
  margin-left: 10px;
  align-items: center;
  margin-top: 10px;
}
.name a {
  color: #000; /* ヘッダーの文字色に合わせる場合 */
  text-decoration: none;
}
.site-header nav ul {
  display: flex;
  gap: 35px;
  list-style: none;
}
.site-header nav a {
  color: #000;
  text-decoration: none;
  font-family: "henderson-sans-basic", sans-serif;
  font-weight: 100;
  font-style: normal;
  white-space: nowrap;
}
/* 1. ボタン全体のサイズと位置 */
.hamburger {
  display: none;
  position: relative; /* 中の線の位置の基準にする */
  width: 30px; /* ボタン全体の横幅 */
  height: 18px; /* ボタン全体の高さ */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0; /* 余計な余白を消す */
}
/* 2. 3本の線に共通するスタイル（ここで太さを決める） */
.hamburger span {
  display: block;
  position: absolute; /* 自由に配置できるようにする */
  left: 0;
  width: 100%; /* 30pxいっぱいに線を引く */
  height: 1px; /* ★ここが「線の太さ」！1px〜4pxでお好み調整 */
  background-color: #000; /* 線の色 */
  border-radius: 10px; /* 角を丸くすると柔らかい印象になります */
  transition: all 0.3s; /* あとでアニメーションさせるための準備 */
}
/* 1番上の線 */
.hamburger span:nth-child(1) {
  top: 0;
}
/* 真ん中の線 */
.hamburger span:nth-child(2) {
  top: 50%; /* 上から50%の位置へ */
  transform: translateY(-50%); /* 線の厚みの分だけ微調整して真ん中へ */
}
/* 1番下の線 */
.hamburger span:nth-child(3) {
  bottom: 0; /* 1番下に配置 */
}
/* クラスがついた時、上の線を45度傾ける */
.hamburger.is-active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
/* クラスがついた時、真ん中の線を消す */
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
/* クラスがついた時、下の線を-45度傾ける */
.hamburger.is-active span:nth-child(3) {
  top: 50%;
  bottom: auto; /* ★元の bottom: 0 を無効化 */
  transform: translateY(-50%) rotate(-45deg);
}
/* SPドロワー */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 80;
  background: #fff;
  transform: translateY(-100%);
  opacity: 0; /* 追加：透明にして見えなくする */
  pointer-events: none; /* 追加：裏側のクリック干渉を防ぐ */
  transition: transform .25s ease, opacity .25s ease; /* opacityのアニメーション追加 */
  display: block;
}
.drawer.open {
  transform: translateY(0);
  opacity: 1; /* 追加：開いた時に表示 */
  pointer-events: auto; /* 追加：クリック判定を復活 */
}
.drawer ul {
  list-style: none;
  margin: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.drawer a {
  color: #000;
  text-decoration: none;
  display: block;
  padding: 12px 4px;
  font-family: "henderson-sans-basic", sans-serif;
  font-weight: 100;
  font-style: normal;
}
/* ======================== タイトル共通 ======================== */
.main-content {
  margin: 100px 320px;
}
h1 {
  font-family: "henderson-sans-basic", sans-serif;
  font-weight: 100;
  font-style: normal;
  font-size: 38pt;
  letter-spacing: .05em;
  text-align: center;
  margin-top: 80px;
  line-height: 1.2;
}
.sub-title {
  font-family: ryo-gothic-plusn, sans-serif;
  font-weight: 300;
  font-style: normal;
  display: block;
  font-size: 18pt;
  letter-spacing: .1em;
  text-align: center;
  margin-top: -10px;
  padding-bottom: 60px;
}
/* --------------------------- 案内文エリア ------------------------ */
.intro-section {
  font-family: ryo-gothic-plusn, sans-serif;
  font-weight: 300;
  font-size: 14pt;
  margin: 0 auto;
  max-width: 467px;
  line-height: 2.3em;
  margin-bottom: 90px;
}
/* -------------------------- フォームエリア ------------------------- */
.form-group {
  margin: 35px auto;
}
label {
  font-family: ryo-gothic-plusn, sans-serif;
  font-weight: 400;
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}
.required-mark {
  color: #888;
  font-size: 16px;
  margin-left: 5px;
  font-weight: normal;
}
.optional-mark {
  color: #888;
  font-size: 16px;
  margin-left: 5px;
  font-weight: normal;
}
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #333;
  background-color: #fcfcfc;
}
textarea {
  height: 150px;
  resize: vertical;
}
.btn-wrap {
  text-align: center;
  box-sizing: content-box;
  display: block;
}
.submit-btn {
  display: inline-block;
  padding: 16px 64px;
  border: 1px solid #999;
  border-radius: 30px;
  font-family: ryo-gothic-plusn, sans-serif;
  font-weight: 400;
  font-size: 15px;
  text-decoration: none;
  color: #333;
  transition: all .3s ease;
  text-align: center;
  letter-spacing: 1px;
  margin-top: 120px;
  margin-bottom: 20px;
}
.submit-btn:hover {
  background: #000;
  color: #fff;
}
/* ====================== スマホ（〜599px） ===================== */
@media screen and (max-width:599px) {
  :root {
    --header-h: 56px;
  } /* スマホは少し低いヘッダー */
  .hamburger {
    display: block;
  }
  .site-header .global-nav {
    display: none;
  }
  /* 改行制御（SPはSP改行のみ有効） */
  .sp-only {
    display: inline;
  }
  .tab-only {
    display: none;
  }
  .pc-only {
    display: none;
  }
  .pc-tab-only {
    display: none;
  }
  .main-content {
    margin: 0 20px;
  }
  h1 {
    font-size: 28pt;
    margin-top: 100px;
  }
  .sub-title {
    font-size: 16pt;
  }
/* -------------------------- 案内文エリア ----------------------- */
  .intro-section {
    font-size: 12pt;
    margin: 0 auto;
  }
}
/* ====================== TAB ===================== */
@media screen and (min-width: 600px) and (max-width: 1024px) {
  .hamburger {
    display: none;
  }
  .site-header .global-nav {
    display: block;
  }
  .drawer {
    display: none;
  } /* ★追加：タブレットではSPドロワー自体を無効化 */
  .pc-only, .sp-only {
    display: none;
  }
  .tab-only {
    display: inline;
  }
  .main-content {
    margin: 100px 100px;
  }
}
/* ====================== PC ===================== */
@media screen and (min-width: 1025px) {
  .hamburger { display: none; }
  .site-header .global-nav { display: block; }
  .drawer { display: none; } /* ★追加：PCではSPドロワー自体を無効化 */
  /* 改行制御（PC/Tablet改行を有効） */
  .pc-only {
    display: inline;
  }
  .sp-only, .tab-only {
    display: none;
  }
}