:root {
  --dark-base: #0f1a14;
  --green-main: #0a7b6c;
  --blue-main: #355c8c;
  --olive-accent: #8a6f1f;
  --soft-white: #f4f4f2;
  --base-white: #f7f7f4;      /* 温度のある白 */
  --text-main: #1e2b28;      /* 黒寄りネイビー */
  --text-sub: #5c6b66;       /* 補助テキスト */
  --accent-green: #0a7b6c;   /* 深緑 */
  --accent-olive: #8a6f1f;   /* オリーブ */
}

body {
  margin: 0;
  background: var(--base-white);
  color: var(--text-main);
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.9;
}


* {
  box-sizing: border-box;
}

/*body {
  margin: 0;
  background: var(--dark-base);
  color: var(--soft-white);
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.9;
}*/


/*body {
  font-family: sans-serif;
  background: black;
  color: white;
}*/

/* ===== 角メニュー ===== */
.corner-menu {
  position: fixed;
  top: clamp(60px, 8vw, 100px); /* ★ spacerと同じ値 */  
  right: 0px;
  width: 180px;
  height: 180px;
  /*background-image: url("../images/menu_bg.png");
  background-size: 150%;
  background-position: 80% 20%;
  background-repeat: no-repeat; */
  z-index: 30;
  transition: top 0.3s ease;
}

/* スクロール後：画面右上に固定 */
.corner-menu.is-fixed {
  position: fixed;
  top: 0;
}

.menu-button {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 90px;
  height: 45px;
  border: 2px solid black;
  border-radius: 50%;
  background: transparent;
  color: black;
  cursor: pointer;
  overflow: hidden;
  font-weight: 700;
  text-align: center;

  display: flex;
  align-items: center;      /* 縦中央 */
  justify-content: center;  /* 横中央 */
}


.menu-button.active {
  border: 2px solid white;
  color: white;
  background: transparent;
}

.menu-button.active::after {
  color: white;
}


.menu-text {
  display: block;
  transition: transform 0.6s ease;
}

.menu-button:hover .menu-text {
  transform: translateY(-100%);
}

.menu-button::after {
  content: "MENU";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  text-align: center;
  transition: transform 0.6s ease;
  transition-delay: 0.15s;
}

.menu-button:hover::after {
  transform: translateY(-120%);
}


/*.spray-bg {
  position: fixed;
  top: 0;
  right: 0;
  width: 600px;
  height: 240px;
  background-image: url("../images/menu_bg.png");
  background-size: 100%;
  background-position: 100% 20%;
  background-repeat: no-repeat;
  z-index: 10;          /* ← メニューより下 
  pointer-events: none;
}*/

/* ===== メニュー画面 ===== */
.menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 30%;
  height: 100vh;
  background: black;

  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  padding: 80px 20px;   /* ← 上下余白 */
  transition: right 0.6s ease;
  z-index: 20;
}

.menu ul {
  list-style: none;
  text-align: center;
}

body.menu-open {
  overflow: hidden;
}


.menu.open {
  right: 0;
}


.menu li {
  margin: 20px 0;
}

.menu a {
  color: white;
  text-decoration: none;
  font-size: 24px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== ヘッダー（menu-placeholder） ===== */
#menu-placeholder {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;               /* ← ボタンと同じ高さ */
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;

  background-color: rgba(255,255,255,0);
  transition: background-color 0.3s ease;
}

/* スクロール後 */
#menu-placeholder.scrolled {
  background-color: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
}


/* スクロール後は文字色変更 */
#menu-placeholder.scrolled .menu-button {
  color: #000;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(60px, 8vw, 100px); /* ← 今までの spacer と同じ */
  background: #fff;
  z-index: 20;

  display: flex;
  align-items: center;
  padding: 0 24px;
}

.site-title {
  font-size: clamp(14px, 1.6vw, 20px);
  line-height: 1.3;
  margin: 0;
}

.site-title span {
  font-size: 0.75em;
  color: var(--text-sub);
}

.spacer {
  height: clamp(60px, 8vw, 100px);
}


