@charset "UTF-8";
:root {
  --max: 1200px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  padding: 80px 0 0 0;
  margin: 0;
  font-family: system-ui, -apple-system, "Noto Sans JP", sans-serif;
}
body .wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0x;
}

/* オーバーレイ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 900;
}

header {
  position: fixed;
  top: 0;
  background: #464646;
  color: #ffffff;
  width: 100%;
  height: 80px;
}
header .wrap {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header h1 {
  font-size: 2.5em;
  font-weight: normal;
  margin: 0;
  display: flex;
  align-items: center;
}
header h1 small {
  display: block;
  font-size: 0.3em;
  font-weight: normal;
  margin-left: 10px;
}
header .hamburger {
  display: none;
}
header nav {
  display: flex;
  gap: 20px;
}
header nav a {
  color: #ffffff;
  text-decoration: none;
}
header nav a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  margin: 60px 0 0 0;
  padding: 30px 0;
  background: #464646;
  color: #ffffff;
  font-size: 0.8em;
}

#about {
  padding: 60px 0 0 0;
}

#services, #results, #skills, #contact {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 0 0 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: #fafafa;
  padding: 24px;
  box-sizing: border-box;
}
.card h3 {
  font-size: 20px;
  margin-bottom: 16px;
}
.card ul {
  padding-left: 1.2em;
  line-height: 1.8;
}

.btn {
  display: block;
  width: 100%;
  padding: 20px;
  background: #007BFF;
  color: #fff;
  font-size: 1.2em;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  margin: 0 auto 0 auto;
}
.btn:hover {
  background: #0056b3;
}

#contactForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#contactForm input, #contactForm textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;
}
#contactForm textarea {
  resize: vertical;
  min-height: 100px;
}

/* スマホ */
@media (max-width: 768px) {
  body {
    padding: 60px 0 0 0;
  }
  header {
    height: 60px;
    z-index: 900;
  }
  header .wrap {
    position: relative;
    height: 60px;
  }
  header {
    /* ハンバーガー（span無し） */
  }
  header .hamburger {
    display: block;
    position: relative;
    width: 32px;
    height: 24px;
    border: 0;
    background: none;
    cursor: pointer;
    /* 中央線 */
    background: linear-gradient(#ffffff, #ffffff) center/100% 2px no-repeat;
  }
  header .hamburger::before, header .hamburger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffffff;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  header .hamburger::before {
    top: 0;
  }
  header .hamburger::after {
    bottom: 0;
  }
  header .hamburger.is-open {
    background: none;
  }
  header .hamburger.is-open::before {
    transform: translateY(11px) rotate(45deg);
  }
  header .hamburger.is-open::after {
    transform: translateY(-11px) rotate(-45deg);
  }
  /* ドロワー */
  .drawer {
    display: block;
    position: fixed;
    top: 60px;
    right: 0;
    height: 100dvh; /* 2026 */
    width: min(86vw, 360px);
    background: #4e4e4e;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 1000;
    align-items: center;
  }
  .drawer a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    border-bottom: solid 1px rgba(255, 255, 255, 0.1);
    padding: 14px 12px;
  }
  .drawer__inner {
    padding: 88px 20px 24px; /* ヘッダー分+余白 */
    display: grid;
    gap: 12px;
  }
  .drawer__link {
    display: block;
    padding: 14px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #111;
    font-weight: 600;
  }
  .drawer__link:hover {
    background: rgba(0, 0, 0, 0.06);
  }
  /* Open状態（bodyに付ける） */
  body.is-drawer-open {
    overflow: hidden; /* スクロールロック */
  }
  body.is-drawer-open .overlay {
    opacity: 1;
    pointer-events: auto;
  }
  body.is-drawer-open .drawer {
    transform: translateX(0);
  }
  .wrap {
    padding: 0 16px;
  }
  #about {
    padding: 30px 0 0 0;
  }
  #services, #results, #skills, #contact {
    margin: 0 auto;
    padding: 50px 0 0 0;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/*# sourceMappingURL=style.css.map */
