/* =========================
   基本
========================= */

body {
  margin: 0;
  cursor: none;

  background-image: url("img-with/top1.png");

  background-size: 100% 60%;
  background-position: center;
  background-repeat: no-repeat;

  padding-bottom: 120px;

  font-family: "special-gothic-semiexpanded", sans-serif;
}

/* =========================
   背景レイヤー（使うならOK）
========================= */

.bg {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background-image: url("img_with/top1.PNG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  z-index: -1;
}

/* ギャラリー */
.gallery {
  margin-top: 400px;
  padding: 40px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* 枠 */
.img-box {
  position: relative;
  overflow: hidden;
}

/* 画像 */
.img-box img {
  width: 100%;
  height: 450px;
  object-fit: cover;

  transition: 0.4s;
}

/* hoverで暗く＋ぼかし */
.img-box:hover img {
  filter: brightness(0.5) blur(2px);
  transform: scale(1.05);
}

/* 情報 */
.info {
  position: absolute;
  bottom: 30px;
  left: 30px;

  color: white;
  font-size: 14px;

  opacity: 0;
  transform: translateY(10px);
  transition: 0.4s;

  pointer-events: none;
}

/* hoverで出る */
.img-box:hover .info {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   英語フォント（必要なら残す）
========================= */

.en {
  font-family: "special-gothic-semiexpanded", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* =========================
   タイトル
========================= */

.title {
  position: absolute;
  top: 40px;
  left: 40px;

  color: rgb(255, 0, 230);
  font-size: 40px;
}

.sub {
  font-size: 12px;
  color: #000000;
  letter-spacing: 1.5px;
}

/* =========================
   about
========================= */

.content {
  margin-top: 200px;
  padding: 40px;
}

.text {
  font-size: 20px;
  line-height: 1.8;
  color: #000;
  max-width: 600px;
}

.about .title {
  font-size: 48px;
  margin-top: 80px;
  margin-bottom: 90px;
}

.about .text {
  font-size: 20px;
  line-height: 2;
  letter-spacing: 0.03em;
  max-width: 600px;
  margin-left: 100px;
}

.about .content {
  margin-top: 200px;
  padding-left: 50px;
}

/* =========================
   works menu
========================= */

.works-menu {
  position: absolute;
  top: 150px;
  left: 50px;

  display: flex;
  gap: 10px;

  font-size: 18px;
  margin-top: 80px;
}

.works-item {
  font-size: 20px;
  text-decoration: none;
  color: #000;
  transition: 0.2s;
}

.works-item:hover {
  color: #ff00d4;
}

.divider {
  font-size: 20px;
  color: #1100ff;
}

/* =========================
   メニュー
========================= */

.menu {
  position: absolute;
  top: 50px;
  right: 40px;

  display: flex;
  flex-direction: column;
  align-items: flex-end;

  gap: 12px;
}

.menu-item {
  font-size: 35px;
  text-decoration: none;
  color: #000;
  padding: 6px 0;
  transition: 0.2s;
}

.menu-item:hover {
  color: #3cff00;
}

/* =========================
   ギャラリー
========================= */

.gallery {
  margin-top: 400px;
  padding: 40px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;

  margin-bottom: 120px;
}

.gallery img {
  width: 100%;
  height: 450px;
  object-fit: cover;

  background: #ddd;
  border: 1px solid #000;
  transition: 0.3s;
}

.gallery img:hover {
  border: 2px solid rgb(255, 0, 128);
  transform: scale(1.03);
}

/* =========================
   カーソル
========================= */

#cursor {
  width: 60px;
  height: 60px;

  background: rgb(255, 0, 242);
  border-radius: 50%;

  position: fixed;
  pointer-events: none;

  transform: translate(-50%, -50%);

  z-index: 10000;
}

/* =========================
   星
========================= */

#star-container {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  pointer-events: none;
}

.star {
  position: absolute;
  width: 40px;
  height: 40px;

  clip-path: polygon(
    50% 0%, 61% 35%, 98% 35%,
    68% 57%, 79% 91%,
    50% 70%, 21% 91%,
    32% 57%, 2% 35%, 39% 35%
  );

  animation: fall 1s forwards;
}

@keyframes fall {
  to {
    transform: translateY(60px) scale(0.5) rotate(180deg);
    opacity: 0;
  }
}

/* =========================
   フッター
========================= */

.footer {
  text-align: center;
  padding: 40px 0;

  font-size: 14px;
  color: #ee00ff;

  margin-top: 120px;
}

.about .footer {
  margin-top: 400px;
}

.archives .footer {
  margin-top: 700px;
}

/* 背景 */

.bg {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background-image: url("img-top/top1.PNG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  z-index: -1;
}