@charset "UTF-8";
.font-en {
  font-family: "Lexend", sans-serif;
}

html,
body {
  height: 100%;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

@media (max-width: 768px) {
  html,
  body {
    scroll-snap-type: none;
  }
}
h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  color: #1e1e1e;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: #1e1e1e;
  border-bottom: 3px solid #1e1e1e;
  display: inline;
  margin: 0 auto;
}

h2.title-jp {
  font-size: clamp(1.2rem, 3vw, 2.4rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 2rem);
  color: #1e1e1e;
}

p {
  color: #1e1e1e;
  font-size: 1rem;
  line-height: 1.6;
}

/* Common */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: #1e1e1e;
  background: #f5f5f5;
  line-height: 1.6;
  font-family: "Noto Sans JP", sans-serif;
}

a {
  color: #007bff;
  text-decoration: none;
}

.container {
  max-width: 90vw;
}

/* Components */
/* ===== font ===== */
.nav-jp {
  font-size: 0.7rem;
}

.nav-en {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-top: 2px;
  font-family: "Lexend", sans-serif;
  line-height: 0.7;
  display: block;
}

/* ===== Header ===== */
.custom-header {
  background: white;
  padding-top: 8px;
  padding-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  z-index: 99999;
}
.custom-header .navbar-brand {
  font-size: 20px;
  letter-spacing: 0.5px;
}
.custom-header .nav-link {
  color: #1e1e1e;
  font-size: 14px;
  padding: 8px 14px !important;
  margin-right: 6px;
  transition: 0.2s;
}
.custom-header .nav-link:hover {
  color: #1e1e1e;
}
.custom-header .btn {
  font-size: 14px;
  padding: 6px 18px;
}

/* モバイル時 */
@media (max-width: 991px) {
  .custom-header .nav-link {
    padding: 12px !important;
    margin-right: 0;
  }
}
/* dropdown */
@media (min-width: 992px) {
  .navbar .dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    min-width: 240px;
    border-radius: 0;
    border: none;
    background: #1e1e1e;
  }
  .navbar .dropdown-menu a {
    color: #fff;
  }
  .navbar .dropdown:hover .dropdown-menu {
    display: grid;
    opacity: 1;
    visibility: visible;
  }
  .dropdown-menu {
    font-size: 0.9rem;
    padding: 5px 0 0;
  }
  .dropdown-item {
    text-align: center;
    min-width: 80px;
  }
  .dropdown-item::after {
    content: "";
    display: block;
    background-color: #fff;
    width: 0px;
    height: 2px;
    border-radius: 3px;
    margin: 0 auto;
    transition: all 0.3s;
    margin-top: 5px;
  }
  .dropdown-item:hover {
    background: #1e1e1e;
  }
  .dropdown-item:hover::after {
    width: 30px;
  }
}
/* to top button */
#to-top {
  display: block;
  visibility: hidden;
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 18px;
  border: none;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

.to-top:hover {
  transform: translateY(-4px);
}

#to-top.is-show {
  opacity: 1;
  visibility: visible;
}

/* Pages */
/* ===== Section ===== */
section {
  scroll-snap-align: start;
  min-height: 100vh;
}

/* ===== hero===== */
.hero {
  width: 100%;
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 120px;
  background-image: url("../img/works/3d_01.png");
  background-size: cover;
  background-position: center 20px;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-inner {
  max-width: 600px;
  padding-top: 100px;
}

.hero-icon {
  width: 400px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
}

/* ===== Works ===== */
.works .title-wrap-inner {
  background-image: url(../img/circle.svg);
  width: 400px;
  height: 400px;
  margin-top: -200px;
}

.works-group {
  margin-bottom: 5%;
  scroll-snap-align: start;
  min-height: 100vh;
}

/* .works-header */
.works-header-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-attachment: fixed;
  display: flex;
}
.works-header-bg:after {
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
}

.works-header {
  background-color: white;
  position: absolute;
  z-index: 10;
  padding: 2rem;
  border-radius: 8px;
  width: 400px;
  height: 400px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.works-header .material-symbols-outlined {
  font-size: 90px;
  color: #1e1e1e;
  display: inline-block;
}

.works-header h3.title {
  font-size: 3rem;
  line-height: 1.1;
}

.works-header a {
  width: 100%;
  height: 100%;
  position: absolute;
}

.works-group.works-graphic {
  margin-top: -100px;
}

.works-header-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.works-header-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.works-header-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 4px), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.works-graphic .works-header-bg {
  background-image: url("../img/works/print_01.png");
}

.works-motion .works-header-bg {
  background-image: url("../img/works/motion-3d_01.png");
}

.works-web .works-header-bg {
  background-image: url("../img/works/web_01.png");
}

.works-3d .works-header-bg {
  background-image: url("../img/works/3d_01.png");
}

.works-logo .works-header-bg {
  background-image: url("../img/works/logo_01.png");
}

.works-illustration .works-header-bg {
  background-image: url("../img/works/Illust_01.png");
}

/* works masonry 共通 */
.masonry {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-content: center;
  gap: 16px;
}

.masonry-item {
  cursor: pointer;
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  filter: brightness(0.8);
  transition: filter 0.3s ease, transform 0.3s ease;
}
.masonry-item:hover {
  filter: brightness(1);
}

/* .masonry-item delay*/
.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(5px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

@media (max-width: 991px) {
  .masonry {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 575px) {
  .masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Responsive */
@media (max-width: 1200px) {
  .masonry {
    -moz-column-count: 3;
         column-count: 3;
  }
}
@media (max-width: 768px) {
  .masonry {
    -moz-column-count: 2;
         column-count: 2;
  }
}
@media (max-width: 480px) {
  .masonry {
    -moz-column-count: 1;
         column-count: 1;
  }
}
/* ===== About me ===== */
.about-me .container {
  max-width: 600px;
}

.about-me .subtitle {
  font-size: 1.4rem;
}

/* ===== Products ===== */
.products .title {
  font-size: 1rem;
  line-height: 1.1;
}

.products .subtitle {
  font-size: 1.4rem;
  line-height: 1.2;
  height: 3rem;
  display: flex;
  align-items: center;
}

.products .material-symbols-outlined {
  font-size: 60px;
  color: #1e1e1e;
}

/* ===== Contact ===== */
.contact input.form-control,
.contact textarea.form-control {
  color: #aaa;
}/*# sourceMappingURL=index.css.map */