@charset "utf-8";

* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #FFF9D0;
  padding-top: 80px;
}

/* ===== ヘッダー全体 ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

/* ===== ロゴ ===== */
header .logo {
  height: 50px;
}

/* ===== ハンバーガーメニュー ===== */
.hamburger {
  display: flex;
  /* 常に表示 */
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: 0.4s ease-in-out;
}

/* ===== ハンバーガー → × 変化 ===== */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ===== ナビゲーション（非表示状態） ===== */
.header-links {
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background-color: #fff;
  text-align: center;
  border-top: 1px solid #ddd;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* ===== ナビ内のリンク ===== */
.header-links ul {
  list-style: none;
  margin: 0;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.header-links a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  transition: color 0.3s;
}


/* ===== 開いた状態 ===== */
.header-links.active {
  max-height: 400px;
  /* メニュー数に応じて調整 */
  opacity: 1;
}

a.radius:link,
a.radius:visited {
  color: #000;
}

.reculit .radius:hover {
  background-color: #000;
}

/* ===== スライド効果を滑らかに ===== */
@media (prefers-reduced-motion: reduce) {
  .header-links {
    transition: none;
  }
}

#salon,
#menu,
#stylist,
#information,
#contact {
  scroll-margin-top: 100px;
}



/* フッタースタート */
footer {
  background-color: #fff;
  text-align: center;
  padding: 60px 20px 10px;
}

footer img {
  max-width: 220px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}

footer nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0;
  margin: 0 0 30px;
}

footer nav ul li a {
  color: #000;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  transition: 0.3s;
}

footer nav ul li a:hover{
  color: #c0a05b;
}

footer p {
  font-size: 12px;
  color: #000;
  padding-top: 15px;
  margin: 0;
}


/* タイトル */
h2 {
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 40px;
  border-bottom: 2px solid #000;
  display: inline-block;
  padding-bottom: 8px;
}

.title {
  text-align: left;
  padding: 30px 120px;
}

/* ボタン */
.radius {
  display: inline-block;
  font-size: 14px;
  border: 1px solid #000;
  border-radius: 30px;
  padding: 10px 25px;
  text-align: center;
  transition: 0.3s;
  font-weight: bold;
  background-color: #fff;
  cursor: pointer;
}

.radius:hover {
  background-color: #333;
  color: #fff;
}

@media screen and (max-width: 768px) {
  
  header {
    padding: 10px 20px;
  }

  footer nav ul {
    flex-direction: column;
    gap: 15px;
  }

  footer img {
    max-width: 180px;
  }


}