:root {
  --color-main: #93BFEB;
  --color-sub:  #FFEB84;
  --color-white: #FFFFFF;
  --color-text: #2c3e50;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* 横スクロール防止 */
  font-family: "M PLUS Rounded 1c", sans-serif;
  background: var(--color-main);
  color: var(--color-text);
}

/* ===== Header ===== */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--color-main);
  color: var(--color-white);
  position: relative;
  z-index: 1000;
}

/* ロゴ */
.logo {
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Rampart One", cursive;
}

.logo-icon {
  width: 36px;
  height: auto;
}

/* ナビ */
.nav {
  display: flex;
  gap: 24px;
  list-style: none;
}

/* ナビリンク */
.nav a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: bold;
  padding: 6px 4px;
}

.nav a:hover {
  opacity: 0.8;
}

/* ===== Hamburger ===== */
.hamburger {
  display: none;             /* デフォルト非表示 */
  flex-direction: column;
  justify-content: space-between;
  width: 36px;               /* 幅を少し大きめ */
  height: 24px;              /* 高さも少し大きめ */
  background: none;          /* 背景なし */
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 2000;             /* navや他要素より前面 */
}

.hamburger span {
  display: block;
  height: 4px;               /* 線の太さをアップ */
  background: #fff;          /* 白 */
  border-radius: 2px;
  width: 100%;               /* 横いっぱい */
}

.hamburger span + span {
  margin-top: 4px;           /* 線の間隔 */
}


/* ===== Mobile（スマホ） ===== */
@media (max-width: 768px) {

  .site-header {
    padding: 12px 16px; /* 余白調整 */
  }

     .hamburger {
    display: flex;            /* モバイル表示時に表示 */
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
  }

  .logo {
    font-size: 20px;
  }

  .logo-icon {
    width: 28px;
  }

  .hamburger {
    display: flex;
  }

  /* 右スライドメニュー */
  .nav {
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    right: -100%;       /* ← 画面幅に応じて完全に隠す */
    width: 200px;
    max-width: 100vw;   /* 画面幅を超えないように制限 */
    height: 100vh;
    background: var(--color-main);
    padding-top: 60px;
    gap: 16px;
    transition: right 0.3s ease-in-out;
    overflow-x: hidden; /* はみ出す場合に隠す */
    z-index: 1050;
  }

  .nav a {
    width: 100%;
    text-align: left;
    padding: 16px 24px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    box-sizing: border-box;
  }

  .nav.active {
    right: 0;           /* 画面右端に合わせる */
  }
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-main);
  color: var(--color-white);
  text-align: center;
  padding: 40px 20px;
  font-size: 0.85rem;
}

.footer-content p,
.footer-content a {
  margin: 6px 0;
}

.footer-content a {
  color: #fff;
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

.social-links {
  margin: 12px 0;
  display: flex;
  justify-content: center;
  gap: 40px; /* アイコン間隔 */
}

.social-links img {
  width: 32px;
  height: 32px;
  transition: transform 0.2s;
}

.social-links a:hover img {
  transform: scale(1.1);
}

.studio-name {
    font-family: 'Rampart One', cursive; 
  font-weight: bold;
  font-size: 1.1rem;
}

.email a {
  font-size: 0.95rem;
}



/* ===== Layout ===== */
.page {
  padding: 24px;
  min-height: 60vh;
}
