@import url('https://fonts.googleapis.com/css2?family=Exo:wght@400;700&family=Noto+Sans+JP:wght@400;700&display=swap');

:root {
  --main-yellow-light: #f9d976;
  --main-yellow-deep: #f39c12;
  --dark-text: #333;
  --light-text: #fff;

  --z-header: 1000;
  --z-overlay: 900;
  --z-drawer: 1100;
  --z-toggle: 1200;
}

/* 全体リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
}

body {
  height: auto;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--dark-text);
  background: #fafafa;
  line-height: 1.6;
}

/* ===== MAIN ===== */
.site-main {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #333;
  color: var(--light-text);
  padding: clamp(0.8rem, 1.5vw, 1rem)
           clamp(1rem, 3vw, 2rem);
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  display: flex;
  justify-content: center;
  text-align: center;
  line-height: 1.4;
}

/* Large Desktop（1440px〜） */
@media (min-width: 1440px) {}

/* Desktop（1025px〜1439px） */
@media (min-width: 1025px) and (max-width: 1439px) {


}

/* Tablet（768px〜1023px） */
@media (min-width: 768px) and (max-width: 1023px) {

  /* 画像とメディア要素のみ幅制限 */
  img,
  video,
  canvas,
  svg,
  iframe {
    max-width: 100%;
    height: auto;
  }

  /* セクションとコンテナの幅を確実に100%に */
  .section,
  .site-main,
  .projects-grid,
  .skill-list__cards,
  .about-section__wrapper,
  .works-section,
  .projects-section,
  .skill-section,
  .about-section,
  .contact-section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

}

/* Mobile（〜767px） */
@media (max-width: 767px) {

  /* 画像とメディア要素のみ幅制限 */
  img,
  video,
  canvas,
  svg,
  iframe {
    max-width: 100%;
    height: auto;
  }

  /* セクションとコンテナの幅を確実に100%に */
  .section,
  .site-main,
  .works-section,
  .projects-grid,
  .skill-list__cards,
  .about-section__wrapper,
  .projects-section,
  .skill-section,
  .about-section,
  .contact-section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

}