@charset "utf-8";

/* * {
  outline: 1px solid red !important;
} */

*, ::before, ::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --v-space: min(90%, 1226px);
  --main-color: #EDF1F3;
  --sub-color: #000000;
  --text-color: #1a1a1a;
  --main-decoration: #1a1a1a;
  --box-shadow: #b5b5b5;
  --sub-decoration: #FF007B;
  --font-family:  "Oleo Script", system-ui;
}
/* body */
body {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 600;
  background-color: #FFFFFF;
  color: var(--text-color);
  font-size: calc(10 * (100vw / 828));
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--sub-color);
}


html, body, main {
  margin: 0;
  padding: 0;
  border: 0;
}
a {
  color: var(--sub-color);
  text-decoration: none;
}

a:hover {
  color: inherit;
}

.w-container {
  padding-left: 4%;
  padding-right: 4%;
}

section {
  background-color: var(--main-color);
  border-radius: 50px;
  padding-bottom: 0px;
  padding-top: 50px;
  margin-left: 10px;
  margin-right: 10px;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 32px 32px, 32px 32px;
  background-position: -1px -1px, -1px -1px;
}

h2 {
  font-family: var(--font-family);
  font-weight: 400;
  color: var(--main-decoration);
  font-size: 30px;
  display: flex;
  vertical-align: top;
}

/* ローディング */
/* #loading {
  background-color: var(--);
  position: fixed;
  inset: 0;
  z-index: 9999;
  place-items: center;
} */

/* header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

.header-container {

  margin: auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
}

.header-logo img {
  margin-top: 10px;
  width: 150px;
  height: auto;
  padding: 5px 20px;
  border-radius: 50px;
}


.header-container ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  gap: 20px;
  font-family:var(--font-family);
  font-weight: 700;
  font-style: normal;
  font-size: 32px;
  list-style: none;
}

.header-container ul a {
  color: aliceblue;
  background-color: var(--sub-color);
  line-height: 1em;
  border-radius: 50px;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 5px;
  padding-bottom: 4px;
  font-family: var(--font-family);
  font-weight: 400;
  display: flex;
  text-align: center;
}

.header-container ul a:hover{
  background-color: var(--sub-decoration);
  color: var(--text-color);
}



/* ナビゲーションボタン */
.site-menu-btn {
  padding: 0;
  outline: none;
  background-color: var(--sub-color);
  color: var(--main-color);
  font-size: 30px;
  padding: 5px 10px;
  border-radius: 50%;
  border: none;
  display: flex;
  flex-direction: column;
}
 .fa-caret-up {
  display: inline-block;
  background-color: none;
  margin-top: 9em;
 }
  .open .site-menu-btn {
    z-index: 110;
    color: #ffffff;
  }
  .site-menu-btn .fa-bars {
    display: revert;
  }
  .open .site-menu-btn .fa-bars {
    display: none;
  }

  .site-menu-btn .fa-caret-up {
    display: none;
  }
  .open .site-menu-btn .fa-caret-up {
    display: revert;
  }


@media (min-width: 768px) {

  .header-logo img {
    width: clamp(70px, 19.5vw, 150px);
  }
  .site-menu-btn {
    display: none;
  }
}
/* ナビゲーションメニュー：モバイル */
@media (max-width: 768px) {

  .site-menu {
    position: fixed;
    top: -50vh;
    left: 0;
    width: 100%;
    height: 50vh;
    z-index: 50;
    margin: 0;
    background-color: var(--sub-color);
    border-radius: 0px 0px 50px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;  
    align-items: center; 
    transition: transform 0.3s;
  }
  .site-menu-click {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10;
  }
  .open .site-menu {
    transform: translateY(100%);
  }
  .open body {
    position: fixed;
    overflow: hidden;
  }
  .open .site-menu-click {
    display: block;

  }
  .site-menu nav {
    width: 100%;
    height: auto;
    margin: 0;
    padding-top: 20px;
    padding-bottom: 50px;
  }
  .site-menu ul  {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    gap: 40px;
    font-size: 40px;
  }

}

.works-list ul {
  text-decoration: none;
  list-style: none;
  display: flex;
  justify-content: flex-start;
  font-family: var(--font-family);
  gap:  clamp(0px, 7vw, 70px);
  font-size: clamp(13px, 2vw, 15px);
  margin-bottom: 100px;
}


.works-list a {
  padding: 6px 2.6vw;
  border: 2px solid var(--main-decoration);
  border-radius: 50px;
  display: flex;
  font-size: clamp(12px, 2.6vw, 20px);
}
.works-list a:hover {
  background-color: var(--sub-decoration);
  border: none;
  align-items: center;
  padding: 6px 2.6vw;
  border-radius: 50px;
}

/* 作品カード */
.works-card-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 30px;

}

.works-card {
  max-width: 100%;
  display: block;

}

.works-card a {
  text-decoration: none;
  color: var(--text-color);
  display: block;
}
.works-card a:hover {

}

.works-card img {
  display: block;
  max-width: 100%;
  margin-bottom: 10px;
  box-shadow: 0 0 10px #b5b5b5;
  border-radius: 20px;
}

.works-card h4 {
  font-size: clamp(12px, 2.1vw, 16px);
}

.label {
  box-shadow: 0 2px 10px var(--box-shadow);
  border: 0.5px solid var(--box-shadow);
  border-radius: 50px;
  background-color: #e2e1e1;
  text-align: center;
  margin-top: 10px;
  padding: 0px 10px 2px;
  display: inline-block;
  font-size: clamp(12px, 1.9vw, 15px);
  font-weight: 500;
}


/* モバイル用：ワーク */
@media (min-width: 768px) {
  .works-card-container {
    grid-template-columns: repeat(3, 1fr);
  }
  .works-list ul {
    gap: 5px;
  }

}