@charset "utf-8";

/**
 * ============================================================================
 * File: global.css
 * Author: hack.code
 * Version: 1.0.0
 * Last Modified: 2026-2
 * ============================================================================
 */

/* Page Layout Settings */
*, *::before, *::after {
  box-sizing: border-box;
}
:root {
  --header-h: 88px;
}
html, body {
  height: 100%;
}
html {
  scroll-padding-top: var(--header-h);
}
body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  letter-spacing: .02em;
  background-color: #ffffff;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
}

/* Input Autocomplete Hack */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus{
  -webkit-text-fill-color: #0f172a;
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset;
  box-shadow: 0 0 0px 1000px #ffffff inset;
  transition: background-color 9999s ease-out 0s;
}

/* Header */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background-color: rgba(255, 255, 255, .8);
}

/* Contents Box */
.contents-box{
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  width: 100%;
}
@media (min-width: 768px) {
  .contents-box{
    width: 960px;
  }
}
@media (min-width: 1024px) {
  .contents-box{
    width: 1080px;
  }
}
@media (min-width: 1280px) {
  .contents-box{
    width: 1200px;
  }
}
/* Footer */
footer {
  margin-top: auto;
  border-top: 1px solid #e5e7eb;
  background-color: #ffffff;
}

/* Drawer */
#mobile-drawer {
  transition-timing-function: cubic-bezier(.22, .61, .36, 1);
}
