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

:root {
  --orange: #d4521a;
  --white: #ffffff;
  --off-white: #fafafa;
  --ink: #1a1a1a;
  --gray: #666;
  --border: #e0e0e0;
}

body {
  font-family: 'Jost', 'Noto Sans JP', sans-serif;
  background: var(--off-white);
  color: var(--ink);
  font-weight: 300;
}

/* ── HEADER ── */
header {
  background: var(--white);
  padding: 18px 48px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-wrap { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 52px; width: auto; }

/* ── NAV ── */
nav {
  background: var(--orange);
  display: flex;
  justify-content: center;
  position: sticky;
  top: 89px; /* 他のページと共通のヘッダー高さに合わせる */
  z-index: 90;
}

nav a {
  display: inline-block;
  padding: 14px 44px;
  font-family: 'Jost', sans-serif;
  font-size: 10.5px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  position: relative;
  transition: background 0.2s;
}

nav a::after {
  content: '';
  position: absolute;
  right: 0; top: 25%; bottom: 25%;
  width: 0.5px;
  background: rgba(255,255,255,0.35);
}

nav a:last-child::after { display: none; }
nav a:hover { background: rgba(0,0,0,0.12); }
nav a.active { background: rgba(0,0,0,0.15); }

/* ── ハンバーガー・ドロワー（デスクトップでは非表示） ── */
.hamburger { display: none; }
.drawer { display: none; }
.drawer-overlay { display: none; }

/* ── CONTACT ── */
.contact-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 48px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  align-items: start;
}

.contact-label h1 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--ink);
  padding-top: 8px;
}

/* ── FORM ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group > label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  background: var(--white);
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 8px 4px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input[type="text"]::placeholder,
.form-group input[type="email"]::placeholder {
  color: #bbb;
  font-size: 11px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--orange);
}

.form-group textarea {
  resize: vertical;
  border: 1px solid var(--border);
  padding: 12px;
}

.form-group textarea:focus {
  border-color: var(--orange);
}

/* チェックボックス */
.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11.5px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.6;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  min-width: 13px;
  border: 1px solid var(--border);
  margin-top: 3px;
  cursor: pointer;
  position: relative;
}

.checkbox-item input[type="checkbox"]:checked {
  background: var(--orange);
  border-color: var(--orange);
}

.checkbox-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 3px; top: 1px;
  width: 5px; height: 8px;
  border: 1.5px solid var(--white);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

/* プライバシー同意チェックボックス */
.privacy-agree {
  padding-top: 8px;
}

.privacy-agree .checkbox-item {
  font-size: 12px;
  letter-spacing: 0.05em;
}

/* 送信ボタン */
.form-submit {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.form-submit button {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 12px 56px;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.form-submit button:hover {
  opacity: 0.85;
}

/* ── PRIVACY POLICY BOX ── */
.privacy-box {
  margin-top: 10px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  
  /* スクロールさせるための必須設定 */
  max-height: 200px;       /* ボックスの最大高さ（好みに応じて調整してください） */
  overflow-y: auto;        /* 縦方向に中身がはみ出た場合のみスクロールバーを表示 */
  
  /* スクロールバーのカスタマイズ（任意：モダンな細めデザインに） */
  scrollbar-width: thin;
  scrollbar-color: var(--orange);
}

/* Google Chrome, Safari, Edge 用のスクロールバー微調整 */
.privacy-box::-webkit-scrollbar {
  width: 6px;
}
.privacy-box::-webkit-scrollbar-track {
  background: transparent;
}
.privacy-box::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

/* ボックス内のテキスト調整 */
.privacy-box h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
}

.privacy-box h3 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: var(--ink);
  margin-top: 18px;
  margin-bottom: 6px;
}

.privacy-box p,
.privacy-box li {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 8px;
}

.privacy-box ul {
  padding-left: 16px;
  margin-bottom: 12px;
}

.privacy-box a {
  color: var(--orange);
  text-decoration: underline;
}

.privacy-date {
  text-align: right;
  margin-top: 16px;
}

/* ── FOOTER ── */
footer {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 10px 48px;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 300;
  position: relative;
}

.footer-sns {
  position: absolute;
  left: 48px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.footer-sns a {
  display: flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-sns a:hover {
  opacity: 1;
}

.footer-sns img {
  height: 22px;
  width: auto;
}

.footer-logo {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.25em;
  margin-bottom: 8px;
  opacity: 0.9;
}

.footer-copy {
  opacity: 0.65;
  font-size: 7px;
  letter-spacing: 0.2em;
}

/* ── RESPONSIVE (スマホ) ── */
@media (max-width: 600px) {

  header {
    padding: 14px 20px;
    justify-content: space-between;
    top: 0;
  }

  .logo-img { height: 38px; }

  #global-nav { display: none; }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }

  .hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--orange);
  }

  .drawer {
    display: block;
    position: fixed;
    top: 0; right: -100%;
    width: 65%;
    height: 100%;
    background: var(--white);
    z-index: 200;
    transition: right 0.3s ease;
    padding: 60px 32px 40px;
  }

  .drawer.open { right: 0; }

  .drawer-close {
    position: absolute;
    top: 20px; right: 20px;
    background: none;
    border: none;
    font-size: 18px;
    color: var(--orange);
    cursor: pointer;
  }

  .drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--white);
  }

  .drawer-nav a {
    display: block;
    padding: 16px 0;
    font-family: 'Jost', sans-serif;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--orange);
    text-decoration: none;
    border-bottom: 0.5px solid #ececec;
  }

  .drawer-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }

  .contact-wrap {
    padding: 40px 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .checkbox-item {
    font-size: 11px;
  }

  .footer-sns {
    left: 20px;
  }

  .footer-sns img {
    height: 18px;
  }
}