/* sample-salon style.css
   配色（design.md の 4 色 + 白）:
   ベース #F7F5F1 / メイン #3D4A44 / アクセント #C9C0B2 / テキスト #2B2B2B */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #F7F5F1;
  color: #2B2B2B;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

/* コンテナ: 最大幅 720px・中央寄せ・左右余白 20px */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* 見出し */
h1 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 16px;
}

h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 16px;
}

/* テキスト */
p {
  margin: 0 0 16px;
}

ul {
  margin: 0 0 16px;
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
}

a {
  color: #3D4A44;
  text-decoration: underline;
}

.note {
  font-size: 14px;
  line-height: 1.7;
}

/* デモサイト明示の帯（header 直前・全ページ共通） */
.demo-notice {
  margin: 0;
  padding: 8px 20px;
  background-color: #C9C0B2;
  color: #2B2B2B;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

/* ヘッダー */
.site-header {
  background-color: #F7F5F1;
  border-bottom: 1px solid #C9C0B2;
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-name {
  margin: 0 0 8px;
  font-weight: 700;
}

.site-header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-header nav li {
  margin-bottom: 0;
}

.site-header nav a[aria-current="page"] {
  font-weight: 700;
}

/* ヒーロー帯（トップのみ・メイン色の単色帯） */
.hero {
  background-color: #3D4A44;
  color: #FFFFFF;
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero h1 {
  margin: 0 0 8px;
}

.hero p {
  margin: 0;
}

/* セクション間の余白 */
.section {
  margin-top: 40px;
}

/* 下層ページ本文の上余白 */
.page {
  padding-top: 40px;
}

/* 表 */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
}

th,
td {
  border: 1px solid #C9C0B2;
  padding: 12px;
  text-align: left;
}

th {
  font-weight: 700;
}

thead th {
  background-color: #C9C0B2;
  color: #2B2B2B;
}

/* 定義リスト（アクセス） */
.info-list {
  margin: 0 0 16px;
}

.info-list div {
  padding-top: 8px;
  padding-bottom: 8px;
}

.info-list div + div {
  border-top: 1px solid #C9C0B2;
}

.info-list dt {
  font-weight: 700;
}

.info-list dd {
  margin: 0;
}

/* フォーム */
.form-field {
  margin: 0 0 24px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background-color: #FFFFFF;
  color: #2B2B2B;
  border: 1px solid #C9C0B2;
  border-radius: 4px;
  padding: 12px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.8;
}

button[type="submit"] {
  width: 100%;
  background-color: #3D4A44;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  padding: 12px 40px;
  border: none;
  border-radius: 4px;
}

/* フッター */
.site-footer {
  background-color: #3D4A44;
  color: #FFFFFF;
  padding-top: 40px;
  padding-bottom: 40px;
  margin-top: 40px;
}

.site-footer p {
  margin: 0 0 8px;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

/* 768px 以上: 見出し拡大・余白拡大・ナビ横並びのみ */
@media (min-width: 768px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-name {
    margin-bottom: 0;
  }

  .hero {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .section {
    margin-top: 64px;
  }

  .page {
    padding-top: 64px;
  }

  button[type="submit"] {
    width: auto;
  }

  .site-footer {
    margin-top: 64px;
  }
}
