@charset "utf-8";

/* 変数設定（管理しやすく） */
:root {
  --primary-color: #00b3c4;
  --accent-color: #FCFAF2;
  --bg-color: #fff;
  --text-color: #333;
  --white: #ffffff;
  --font-main: 'Zen Maru Gothic', sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.8;
  overflow-x: hidden;
}

/* レイアウト共通 */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
padding: 80px 10px;
}

.bg-accent {
  background-color: var(--accent-color);
}

.section-title {
  font-size: 27px;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  font-weight: 500;
}

/* =========================
   Header
========================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
}

.header-inner {
  max-width: 1300px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴエリア */
.site-title a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
}

.site-logo {
  height: 30px;
  margin-right: 10px;
}

.site-name {
  font-size: 1rem;
  font-weight: 500;
}

/* ===ハンバーガー=== */
.hamburger {
  width: 30px;
  height: 22px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #b9a96a;
  border-radius: 3px;
  transition: 0.3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { bottom: 0; }

/* hamburger開いたとき */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

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

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

/* ===メニューナビゲーション=== */

#nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--white);
  box-shadow: -5px 0 20px rgba(0,0,0,0.1);
  padding-top: 100px;
  transition: 0.4s;
}

#nav ul {
  list-style: none;
  text-align: center;
}

#nav li {
  margin-bottom: 30px;
}

#nav a {
  text-decoration: none;
  font-size: 1.1rem;
  color: var(--text-color);
  transition: 0.3s;
}

#nav a:hover {
  color: var(--primary-color);
}

/* メニュー開いた状態 */
#nav.active {
  right: 0;
}




/* =========================
パソコン表示（768px以上）
========================= */
@media (min-width: 768px) {
 .section-title {
  font-size: 30px;
  margin-bottom: 50px;
}

/*ヘッダーメニュー　パソコン用*/
    
  /* ハンバーガー非表示 */
  .hamburger {
    display: none;
  }

  /* ナビを通常表示に戻す */
  #nav {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    padding-top: 0;
    right: 0;
  }

  #nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
  }

  #nav li {
    margin-bottom: 0;
  } 
  .site-logo {
  height: 40px;
  margin-right: 10px;
}

.site-name {
  font-size: 1.5rem;
  font-weight: 600;
}    
}




