/* ========================
   共通レイアウトと基本設定（work.cssベース）
   ======================== */
body {
  background: #a0a0a0;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0;
  padding: 0;
  position: relative;
  font-family: 'Roboto', sans-serif !important;
  font-weight: 700;
  color: black;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="8" fill="black"/></svg>') 10 10, auto;
}

/* ========================
   メインコンテンツ
   ======================== */
.centered {
  position: absolute;
  width: 70%;
  height: 70%;
}

.centered-img {
  position: absolute;
  width: 60%;
  height: 60%;
}

/* ========================
   コーナーボタン（work.cssと完全統一）
   ======================== */
.corner-button {
  position: absolute;
  background: none;
  border: none;
  font-size: 2.4rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 1000;
  color: black;
  text-decoration: none;
}
.corner-button.fixed {
  position: fixed;
  min-width: 4.5em;
}
.corner-button.fixed.home {
  top: 2vh;
  left: 2vh;
  text-align: left;
}
.corner-button.fixed.about {
  top: 2vh;
  right: 2vh;
  text-align: right;
}
.corner-button.work {
  position: fixed;
  bottom: 2vh;
  left: 2vh;
  text-align: left;
  min-width: 4.5em;
}
.corner-button.contact {
  position: fixed;
  bottom: 2vh;
  right: 2vh;
  text-align: right;
  min-width: 4.5em;
}

/* フッターボタン（PCは非表示） */
.footer-buttons {
  display: none;
  position: fixed;
  width: 100%;
  height: auto;
  z-index: 1000;
}
.footer-button {
  position: fixed;
  background: none;
  border: none;
  font-size: 1.8rem;
  font-weight: 700;
  color: black;
  cursor: pointer;
  min-width: 4.5em;
  z-index: 1000;
  text-decoration: none;
}
.footer-button.work {
  bottom: 2vh;
  left: 2vh;
}
.footer-button.contact {
  bottom: 2vh;
  right: 2vh;
}

/* ========================
   モバイル対応（work.cssと完全統一）
   ======================== */
@media only screen and (max-width: 768px) {
  body {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100svh !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .corner-button {
    display: none !important;
  }
  .corner-button.fixed {
    display: block !important;
    position: fixed !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: black !important;
    min-width: 4.5em !important;
    background: none !important;
    border: none !important;
    text-decoration: none !important;
  }
  .corner-button.fixed.home {
    top: 2vh !important;
    left: 2vh !important;
    text-align: left !important;
  }
  .corner-button.fixed.about {
    top: 2vh !important;
    right: 2vh !important;
    text-align: right !important;
  }
  .footer-buttons {
    display: block !important;
  }
  .footer-button.work {
    bottom: 2vh;
    left: 2vh;
  }
  .footer-button.contact {
    bottom: 2vh;
    right: 2vh;
  }
  .footer-button {
    background: none;
    border: none;
    color: black;
    font-size: 1.8rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 1000;
    text-decoration: none;
  }
  .centered {
    width: 83%;
    height: 83%;
  }
  .centered-img {
    width: 74%;
    height: 74%;
  }
}
