@charset "utf-8";
html {
  height: 100%;
  font-family: "Noto Serif JP", serif;
  background-color: #000;
  scrollbar-width: none;
  width: 100%;
  overflow-x: hidden;
}
/* Chrome / Edge / Safari */
::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  overflow-y: auto;
  width: 100%;
  overflow-x: hidden;
}
.container {
  height: auto;
  overflow: visible;
}
.header {
  display: flex;
  color: #858585;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 20px 0 20px 20px;
  height: 50px;
}
.top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}
.title {
  width: 70%;
}
.language {
  display: flex;
  gap: 5%;
  width: 30%;
  justify-content: flex-end;
  align-items: center;
}
details {
  line-height: 1.5;
  position: absolute;
  top: 10px;
  left: 10px;
  height: 100px;
  text-align: center;
}
.lang-switch ul li a {
  display: inline-block;
  font-size: 20px;
  font-weight: lighter;
  opacity: 0.5;
}
.threeline {
  width: 50%;
  position: relative;
}
.hamburger {
  width: 40px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1100;
}
.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  transition: 0.3s;
}
.hamburger.active span {
  background: #000;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}
.menu {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  list-style: none;
  transform: translateY(-100%);
  transition: 0.4s;
  z-index: 1050;
}
.menu li a {
  color: #000;
  font-size: 24px;
  text-decoration: none;
}
.menu.open {
  transform: translateY(0);
}
.section1,
.section2,
.section3,
.section10 {
  min-height: 100vh;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  position: relative;
}
.section4,
.section5,
.section6,
.section7,
.section8,
.section9 {
  min-height: 100vh;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 4%;
  position: relative;
}
.section1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section1 > *:not(.bg-movie) {
  position: relative;
  z-index: 1;
}
.section1 > .bg-movie {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
}
.marquee-track h1 {
  flex-shrink: 0;
  margin: 0;
  padding: 0 !important;
}
.bg-movie video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}
.section1 h1,
.section2 h1,
.section10 h1 {
  font-weight: normal;
  font-size: clamp(20px, 4vw, 60px);
}
.header-chilled,
.about-chilled,
.production-chilled {
  font-size: clamp(10px, 2vw, 20px);
  line-height: 1.5;
}
.draw-text {
  position: relative;
  display: inline-block;
  color: transparent;
  white-space: nowrap;
}

.draw-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  border-right: 2px solid currentColor;
  animation: drawLine 1.6s steps(20) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes drawLine {
  to {
    width: 100%;
    border-right-color: transparent;
  }
}

.section2 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.about-chilled h2,
.production-chilled h2 {
  color: #4fa3a5;
}
.section2,
.about-section {
  opacity: 0;
  transform: translateY(80px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.section2.in-view,
.about-section.in-view {
  opacity: 1;
  transform: translateY(0);
}

.production-introduction h1,
.production-chilled p {
  color: #fff;
  padding: 0 !important;
}
.production-text,
.production_text {
  line-height: 1.5;
}
.production-introduction {
  opacity: 0;
  transform: translateX(120px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.production-introduction.in-view {
  opacity: 1;
  transform: translateX(0);
}

.section3 {
  overflow-x: hidden;
  overflow-y: visible;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  position: relative;
  text-align: center;
  height: auto;
}
.section3-track {
  color: rgba(255, 255, 255, 0.5);
}
.section3 > *:not(.bg-movie) {
  position: relative;
  z-index: 1;
}
.section3 > .bg-movie {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.section3 h1 {
  font-size: clamp(20px, 4vw, 60px);
  padding-right: 2rem;
}
.production-introduction {
  z-index: 2;
}
.production-site {
  text-align: center;
  color: #fff;
}
.production-text {
  width: 80%;
  height: 50vh;
  margin-top: 45px;
}
.production-text:hover {
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}
.production-text img {
  margin: 50px auto 0;
  width: 100px;
}
.production-text h2 {
  font-size: clamp(15px, 4vw, 50px);
}
iframe {
  width: 80%;
  height: 50vh;
  aspect-ratio: 4 / 5;
}
.animate-target {
  opacity: 0;
}
.from-bottom {
  transform: translateY(40px);
}
.from-left {
  transform: translateX(-60px);
}
.from-right {
  transform: translateX(60px);
}
.animate-show {
  opacity: 1;
  transform: translate(0, 0);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.production-text h2,
.production-text p,
.production-text img {
  opacity: 0;
  transform: translateY(30px);
}
.production-text.show h2 {
  animation: textUp 0.6s ease forwards;
}
.production-text.show p {
  animation: textUp 0.6s ease forwards;
  animation-delay: 0.2s;
}
.production-text.show img {
  animation: textUp 0.6s ease forwards;
  animation-delay: 0.4s;
}
@keyframes textUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.vertical {
  display: none;
}
@media (min-width: 762px) {
  .section4,
  .section6,
  .section8 {
    flex-direction: row;
    justify-content: center;
  }
  .section5,
  .section7,
  .section9 {
    flex-direction: row-reverse;
    justify-content: center;
  }
  .production-text {
    max-width: 48%;
    height: 100vh;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  iframe {
    max-width: 48%;
    height: 100vh;
    aspect-ratio: 1 / 1;
  }
  .vertical {
    display: inline-block;
    writing-mode: vertical-rl;
    text-orientation: upright;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
  }
}
.section10 > *:not(.bg-movie) {
  position: relative;
  z-index: 1;
}
.section10 > .bg-movie {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.section10 {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  text-align: center;
}
.section10 h1 {
  color: #fff;
}
.about-chilled {
  color: #fff;
  padding: 0 !important;
}
.section11 {
  min-height: 100svh;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.section11-chilled {
  width: 100%;
  padding: 10px 20px;
}
.section11 h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.skill img,
.skill-section12 img {
  border-radius: 30px;
}
.skills-top-img {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.skills-top-img .skill {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.skills-top-img .skill.in-view {
  opacity: 1;
  transform: translateY(0);
}
.from-left {
  opacity: 0;
  transform: translateX(-60px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.from-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

.skill {
  text-align: center;
  padding: 10px 0;
  border-radius: 12px;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}
.skill:hover {
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}
.skill img {
  width: 120px;
  max-width: 70vw;
  height: auto;
}
.skill p {
  margin-top: 8px;
  font-size: 14px;
}
.skill a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}
.notqualified {
  display: flex;
  gap: 50px;
  justify-content: center;
}
@media (min-width: 762px) {
  .section11 {
    height: 100vh;
  }
  .section11-chilled {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
  }
  .section11 h2 {
    font-size: clamp(24px, 4vw, 50px);
    margin-bottom: 50px;
  }
  .skills-top-img {
    flex-direction: row;
    justify-content: center;
    gap: 10%;
    margin: 0 15%;
  }
  .skill {
    width: 25%;
  }
  .skill img {
    width: 100%;
    max-width: 260px;
  }
  .skill p {
    margin-top: 20px;
    font-size: 16px;
  }
  .notqualified {
    flex-direction: column;
  }
}
.section12 {
  min-height: 100svh;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.from-left-12 {
  opacity: 0;
  transform: translateX(-60px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.from-left-12.in-view {
  opacity: 1;
  transform: translateX(0);
}

.from-bottom-12 {
  opacity: 0;
  transform: translateY(40px);
}

.from-bottom-12.in-view {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.section12-chilled {
  width: 100%;
  padding: 10px 20px;
}
.section12 h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.skills-bottom-img {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.skill-section12 {
  text-align: center;
  padding: 10px 0;
  border-radius: 12px;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}
.skill-section12 img {
  width: 120px;
  max-width: 70vw;
  height: auto;
}
.skill-section12 p {
  margin-top: 8px;
  font-size: 14px;
}
@media (min-width: 762px) {
  .section12 {
    height: 100vh;
  }
  .section12-chilled {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
  }
  .section12 h2 {
    font-size: clamp(24px, 4vw, 50px);
    margin-bottom: 50px;
  }
  .skills-bottom-img {
    flex-direction: row;
    justify-content: center;
    gap: 10%;
    margin: 0 15%;
  }
  .skill-section12 {
    width: 25%;
  }
  .skill-section12 img {
    width: 100%;
    max-width: 260px;
  }
  .skill-section12 p {
    margin-top: 20px;
    font-size: 16px;
  }
}
@media (min-width: 762px) {
}
#contact {
  padding: 0 6% 120px 6%;
  color: #fff;
  min-height: 100vh;
  position: relative;
}

#contact {
  opacity: 0;
  transform: translateY(-50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

#contact.is-show {
  opacity: 1;
  transform: translateY(0);
}

#contact form {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  transition-delay: 0.3s;
}

#contact.is-show form {
  opacity: 1;
  transform: translateY(0);
}

#contact h2 {
  text-align: center;
  font-size: clamp(24px, 6vw, 48px);
  margin-bottom: 40px;
  letter-spacing: 0.15em;
  padding-top: 120px;
}
.contact-form {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  letter-spacing: 0.05em;
}
.contact-form small {
  font-size: 12px;
  opacity: 0.7;
  margin-left: 6px;
  color: red;
}
.contact-form input,
.contact-form textarea {
  margin-top: 10px;
  padding: 14px;
  background: #111;
  border: 1px solid #333;
  color: #fff;
  font-size: 14px;
}
.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4fd1c5;
}
.contact-form button {
  margin-top: 20px;
  padding: 14px;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.3s ease;
}
.contact-form button:hover {
  background: #fff;
  color: #000;
}
button {
  text-align: center;
}

.footer-inner {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}
.footer-nav a {
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.15em;
  font-size: 14px;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.footer-nav a:hover {
  opacity: 1;
}
.copy {
  font-size: 12px;
  opacity: 0.6;
  letter-spacing: 0.1em;
  margin-top: 20px;
  color: #fff;
  padding-bottom: 30px;
}
@media (min-width: 768px) {
  .footer-nav ul {
    flex-direction: row;
    justify-content: center;
    gap: 40px;
  }
}

#bgmKill {
  position: fixed;
  top: 10px;
  right: 90px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  display: grid;
  place-items: center;
  z-index: 2000;
  cursor: pointer;
  padding: 0;
}

#bgmKill svg {
  width: 20px;
  height: 20px;
  color: #fff;
  opacity: 0.9;
}

#bgmKill:hover svg {
  opacity: 1;
}
#bgmKill:active {
  transform: translateY(1px);
}

/* ==============================
   Thumbnail Portfolio
============================== */

.samuneiru-section {
  min-height: 100svh;
  padding: 120px 6% 100px;
  color: #fff;
  text-align: center;
  position: relative;
}

.samuneiru-heading {
  margin-bottom: 50px;
}

.samuneiru-heading h1 {
  font-size: clamp(28px, 6vw, 64px);
  font-weight: normal;
  letter-spacing: 0.18em;
  margin: 0 0 16px;
}

.samuneiru-heading h2 {
  font-size: clamp(18px, 3vw, 32px);
  color: #4fa3a5;
  margin: 0 0 12px;
  font-weight: normal;
}

.samuneiru-heading p {
  font-size: clamp(13px, 2vw, 16px);
  opacity: 0.8;
  margin: 0;
  line-height: 1.8;
}

.samuneiru-grid {
  width: min(100%, 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.samuneiru-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  overflow: hidden;
  text-align: left;
  transition:
    transform 0.35s ease,
    background-color 0.35s ease,
    border-color 0.35s ease;
}

.samuneiru-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(79, 163, 165, 0.55);
}

.samuneiru-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.samuneiru-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

.samuneiru-card:hover .samuneiru-img img {
  transform: scale(1.05);
  filter: brightness(1.08);
}

.samuneiru-body {
  padding: 20px 22px 24px;
}

.samuneiru-body h3 {
  font-size: clamp(16px, 2vw, 22px);
  color: #fff;
  margin: 0 0 10px;
  font-weight: normal;
  letter-spacing: 0.08em;
}

.samuneiru-body p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* PC：4分割 */
@media (min-width: 762px) {
  .samuneiru-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .samuneiru-body {
    padding: 18px;
  }

  .samuneiru-body p {
    font-size: 13px;
  }
}

/* ==============================
   Thumbnail / Banner Portfolio
============================== */

.samuneiru-section {
  min-height: 100svh;
  padding: 120px 6% 100px;
  color: #fff;
  text-align: center;
  position: relative;
}

.samuneiru-section h1 {
  font-size: clamp(28px, 6vw, 60px);
  font-weight: normal;
  letter-spacing: 0.12em;
  margin: 0 0 50px;
}

.samuneiru-chilled h2 {
  color: #4fa3a5;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: normal;
  margin: 0 0 12px;
}

.samuneiru-chilled > p {
  font-size: 15px;
  opacity: 0.8;
  margin: 0 0 50px;
}

.samuneiru-list,
.samuneiru-list2 {
  width: min(100%, 1100px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
}
.samuneiru-list2 {
  margin-top: 30px;
}

.samuneiru-item {
  text-align: center;
}

.samuneiru-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.samuneiru-item img:hover {
  transform: translateY(-4px);
  filter: brightness(1.08);
}

.samuneiru-item p {
  margin-top: 14px;
  font-size: 15px;
  color: #fff;
  opacity: 0.9;
}

.samuneiru-link {
  margin-top: 70px;
}

.samuneiru-link a {
  color: #fff;
  text-decoration: none;
  font-size: clamp(15px, 2vw, 20px);
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  padding-bottom: 6px;
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.samuneiru-link a:hover {
  color: #4fa3a5;
  border-color: #4fa3a5;
}

/* PC：4分割表示 */
@media (min-width: 762px) {
  .samuneiru-list,
  .samuneiru-list2 {
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
  }
}
