/* ==========================================================
   PEAU. 株式会社 — style.css（共通スタイル）
   ========================================================== */

/* ----------------------------------------------------------
   Reset & Base
   ---------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  background-color: #F4F2ED;
  color: #1a1a1a;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  max-width: 1920px;
  margin: 0 auto;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* img のデフォルトは各コンポーネントで個別に定義 */
img {
  display: block;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

/* ----------------------------------------------------------
   Typography helpers
   ---------------------------------------------------------- */
.eyebrow {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: lowercase;
}

.section-heading {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

/* ----------------------------------------------------------
   Navigation
   ---------------------------------------------------------- */
#nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1920px;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 20px 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nav-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-logo-text {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
}

.nav-menu {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 36px;
}

.nav-menu a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #fff;
  text-transform: uppercase;
  transition: opacity 0.2s;
}

.nav-menu a:hover {
  opacity: 0.65;
}

.nav-menu a.active {
  border-bottom: 1px solid #fff;
  padding-bottom: 2px;
}

/* ハンバーガーメニュー（スマホ表示用トグルボタン） */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  padding: 0;
  margin-left: auto;
  flex-shrink: 0;
  cursor: pointer;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ----------------------------------------------------------
   Hero（全ページ共通）
   ---------------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* auto-height モード（TOPページ）：画像の自然な高さで表示 */
.hero-bg {
  position: relative;
  z-index: 0;
  width: 100%;
}

.hero-bg img {
  display: block;
  width: 100%;
  height: auto;
}

/* fixed-height モード（about / brand ページ）：指定高さで全面カバー */
.hero-bg--fixed {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg--fixed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* テキストは画像に重ねて絶対配置 */
.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 0 40px 48px;
}

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */
#footer {
  background-color: #0d0d0d;
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 40px 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-company-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-info-row {
  display: flex;
  gap: 10px;
  font-size: 13px;
  line-height: 2;
}

.footer-info-label {
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.06em;
  flex-shrink: 0;
  min-width: 60px;
}

.footer-map {
  height: 220px;
  overflow: hidden;
  filter: grayscale(1);
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.06em;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ----------------------------------------------------------
   Contact セクション（TOPページ）
   ---------------------------------------------------------- */
#contact {
  background-color: #DDDAD4;
  padding: 80px 40px;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: start;
}

.contact-heading {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.contact-note {
  margin-top: 20px;
  font-size: 11px;
  line-height: 1.8;
  color: #777;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-categories {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.contact-categories label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
}

.contact-categories input[type="radio"] {
  accent-color: #1a1a1a;
}

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

.form-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #555;
  display: flex;
  align-items: center;
  gap: 6px;
}

.required-badge {
  background: #c0392b;
  color: #fff;
  font-size: 11px;
  padding: 1px 5px;
  letter-spacing: 0.05em;
}

.form-input,
.form-textarea {
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  background: transparent;
  padding: 8px 0;
  font-size: 15px;
  font-family: inherit;
  color: #1a1a1a;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #1a1a1a;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.7;
}

.form-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.form-privacy input[type="checkbox"] {
  accent-color: #1a1a1a;
  width: 14px;
  height: 14px;
}

.form-privacy a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-submit-row {
  display: flex;
  justify-content: flex-end;
}

.btn-submit {
  background: #1a1a1a;
  color: #fff;
  border: none;
  padding: 12px 40px;
  font-size: 13px;
  letter-spacing: 0.14em;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}

.btn-submit:hover {
  opacity: 0.75;
}

.btn-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.contact-thanks {
  display: none;
  padding: 40px 0;
  text-align: center;
  font-size: 14px;
  color: #555;
  line-height: 2;
}

/* ----------------------------------------------------------
   Utility
   ---------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ----------------------------------------------------------
   Responsive — Tablet（max-width: 900px）
   ---------------------------------------------------------- */
@media (max-width: 900px) {
  #nav {
    padding: 16px 20px;
  }

  .nav-menu {
    gap: 20px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------
   Responsive — Mobile（max-width: 600px）
   ---------------------------------------------------------- */
@media (max-width: 600px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    background-color: #0d0d0d;
    z-index: 99;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    font-size: 13px;
  }

  #contact {
    padding: 56px 20px;
  }

  #footer {
    padding: 40px 20px 24px;
  }

  .contact-categories {
    flex-direction: column;
    gap: 10px;
  }
}
