* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
  background: #f6f6f6;
  color: #111;
}

/* 画面中央・幅70%くらい */
.wrap {
  width: min(70vw, 980px);
  margin: 0 auto;
  min-height: 100dvh;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
text-align: center;
}

.main {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* 手書きの長方形枠 */
.box {
  background: #fff;
  border: 2px solid #222;
  border-radius: 10px;
  padding: 18px;
}

.header { min-height: 72px; }
.hero   { min-height: 130px; }
.footer { min-height: 72px; margin-top: auto; }

.box__text {
  margin: 0;
  font-size: 28px;
  letter-spacing: .06em;
}

/* メニュー（□＋文字） */
.menu {
  display: grid;
  gap: 18px;
justify-content: center;
}

.menu__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  padding: 8px 6px;
  border-radius: 10px;

}

.menu__item:hover {
  background: rgba(0,0,0,.06);
}

.menu__icon {
  width: 36px;
  height: 36px;
  border: 2px solid #222;
  border-radius: 6px;
  background: #fff;
  flex: 0 0 36px;
}

.menu__label {
  font-size: 22px;
  letter-spacing: .03em;
}


.gallery-title {
  font-size: 56px; /* 28px × 2 */
}


/* スマホは横幅を少し広めに使う */
@media (max-width: 720px) {
  .wrap { width: min(92vw, 980px); }
  .box__text { font-size: 22px; }
  .menu__label { font-size: 18px; }
}


/* ヘッダー・フッターをポジネガ反転 */
.header,
.footer {
  background: #222;     /* 塗り（黒系） */
  color: #fff;          /* 文字を白 */
  border-color: #222;   /* 枠線も同色に */
}
.footer .box__text {
  font-size: 14px;
}

/*　Xアイコン */

.menu__item[href^="https://x.com"] .menu__icon {
  background: #222;
}








