@charset "utf-8";

html {
  scrollbar-gutter: stable;
  scrollbar-color: var(--colorBlue1) var(--colorGray1);

  &::-webkit-scrollbar {
    width: 0.5rem;
    height: 0.5rem;
  }
  &::-webkit-scrollbar-track {
    border-radius: 0.625rem;
  }
  &::-webkit-scrollbar-track:vertical {
    background-color: var(--colorGray1);
  }
  &::-webkit-scrollbar-track:horizontal {
    background-color: var(--colorGray1);
  }
  &::-webkit-scrollbar-thumb {
    border-radius: 0.625rem;
    background: var(--colorBlue1);
  }

  --fontBase: "BIZ UDPGothic", sans-serif;
  --fontMontserratAlt: "Montserrat Alternates", sans-serif;
  --fontTbudrgothic: "tbudrgothic-std", sans-serif;
  --colorWhite1: #fff;
  --colorBlack1: #333349;
  --colorGray1: #efefef;
  --colorBlue1: #4660f1;
  --sizeMaxWidthPC: 120rem;
  --sizeMaxWidthTB: 64em;
  --sizeMaxWidthSP: 48em;
  --easing: cubic-bezier(0.7, -0.04, 0, 0.98);
}

* {
  margin: 0;
  padding: 0;
  letter-spacing: 0;
  font: inherit;
  font-variant-numeric: tabular-nums;
  vertical-align: baseline;
  border: 0;
  min-width: 0;
  min-height: 0;
}

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

html {
  block-size: 100%;
  -webkit-text-size-adjust: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  text-decoration: none;
  color: var(--colorBlack1);
  cursor: pointer;
}

a:hover {
  text-decoration: none;
}

button {
  cursor: pointer;
}

img {
  vertical-align: bottom;
  max-width: 100%;
  height: auto;
}

select,
input,
textarea,
button {
  vertical-align: middle;
  background-color: transparent;
  outline: 0px;
  color: var(--colorBlack1);
}

select,
input,
textarea {
  border: 1px solid var(--colorBlack1);
}

input[type="radio"],
input[type="checkbox"] {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}

input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
}

progress {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
}

body {
  min-height: 100dvh;
  overflow-wrap: anywhere;
  line-break: strict;
  word-break: normal;
  font-family: var(--fontBase);
  font-weight: 400;
  font-feature-settings: "palt";
  color: var(--colorBlack1);
  background-color: var(--colorBlue1);
  @media (max-width: 360px) {
    zoom: progress(100lvw, 0px, 360px);
    -webkit-text-size-adjust: initial;
  }
}

@media all and (-ms-high-contrast: none) {
  body {
    width: 100%;
  }
}

.wrap {
  container-type: inline-size;
  display: flex;
  width: 100%;
  min-height: 100svh;
  background-color: var(--colorGray1);
}

.wrap__body {
  width: calc(100% - 7.2568cqi);
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.main {
  width: 70%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}
@media (max-width: 90em) {
  .main {
    width: 90%;
  }
}


input[type="checkbox"] {
  position: relative;
  display: inline-block;
  width: 1rem;
  aspect-ratio: 1/1;
  margin-right: calc(1rem / 4);
  border: 1px solid var(--colorBlack1);
  border-radius: calc(1rem / 4);
  vertical-align: middle;
  cursor: pointer;
}

input[type="checkbox"]:checked:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  aspect-ratio: 2/1;
  border-left: 2px solid var(--colorBlack1);
  border-bottom: 2px solid var(--colorBlack1);
  translate: -50% -50%;
  rotate: -45deg;
}

input[type="radio"] {
  position: relative;
  display: inline-block;
  width: 1rem;
  aspect-ratio: 1/1;
  margin-right: calc(1rem / 4);
  border: 1px solid var(--colorBlack1);
  border-radius: 50%;
  background-color: var(--colorWhite1);
  vertical-align: middle;
  cursor: pointer;
}

input[type="radio"]:checked:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  aspect-ratio: 1/1;
  translate: -50% -50%;
  border-radius: 50%;
  background-color: var(--colorBlack1);
}

a {
  opacity: 1;
  transition: opacity 0.2s var(--easing);
}
@media (any-hover: hover) {
  a:hover {
    opacity: 0.7;
    transition: opacity 0.2s var(--easing);
  }
  a:focus-visible {
    opacity: 0.7;
    transition: opacity 0.2s var(--easing);
  }
}

.p-header {
  view-transition-name: header;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-inline: 2.8%;
  padding-top: 3.926%;
  margin-bottom: max(2.4%, 2.7rem);
  z-index: 3;
}
.wrap__body:not(:has(.p-worksCategorySection)) .p-header {
  margin-bottom: 7.6%;
}
@media (max-width: 48em) {
  .p-header {
    padding-top: 0;
    padding-bottom: 0;
    padding-inline: 3%;
    margin-bottom: 0;
    height: 3.125rem;
  }
}

.p-headerLogo {
  display: block;
  flex-shrink: 0;
  max-width: 5.9375rem;
}

@media (max-width: 48em) {
  .p-headerLogo {
    width: 2.625rem;
  }
}

.p-headerMenu {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 65rem;
  gap: 4.625rem;
  container-type: inline-size;
  margin-inline: auto;
}
@media (max-width: 48em) {
  .p-headerMenu {
    container-type: normal;
    margin-inline: 0;
    width: 100%;
    max-width: 17.5rem;
    height: 100%;
    background-color: var(--colorBlue1);
    color: var(--colorWhite1);
    & a {
      color: var(--colorWhite1);
    }
    position: fixed;
    top: 0;
    right: 0;
    translate: 100% 0;
    opacity: 0;
    z-index: 100;
    overflow-y: auto;
    overscroll-behavior-y: none;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0;
  }
}
@media (max-width: 48em) and (prefers-reduced-motion: no-preference) {
  .p-headerMenu {
    transition: 0.3s 0.1s var(--easing);
  }
}

.p-headerMenu__navList {
  display: flex;
  align-items: center;
  gap: 3.3125rem;
  margin-inline: auto;
}
@media (max-width: 48em) {
  .p-headerMenu__navList {
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 6rem;
  }
}

.p-headerMenu__snsList {
  display: none;
}
@media (max-width: 48em) {
  .p-headerMenu__snsList {
    display: flex;
    align-items: center;
    gap: 1.6875rem;
    margin-top: 6rem;
  }
}

.p-headerMenu__snsLink {
  display: block;
  width: 2rem;
  aspect-ratio: 1;
  background-color: currentColor;
  -webkit-mask-image: var(--snsIcon);
  mask-image: var(--snsIcon);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
@media (max-width: 48em) {
  .p-headerMenu__snsLink {
    width: 1.5rem;
  }
}

.p-headerMenu__brand {
  display: none;
}
@media (max-width: 48em) {
  .p-headerMenu__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--colorWhite1);
  }
}

.p-headerMenu__brandLink {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.p-headerMenu__brandLogo {
  width: 2rem;
}

.p-headerMenu__brandName {
  font-family: var(--fontMontserratAlt);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.p-headerMenu__brandDescription {
  font-family: var(--fontMontserratAlt);
  font-size: 0.5rem;
  line-height: 1.6;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 0.5rem;
}

.p-headerMenu__navLink {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.268rem;
  color: var(--colorBlue1);
}
@media (any-hover: hover) {
  .p-headerMenu__navLink:hover {
    color: var(--colorBlue1);
    opacity: 0.7;
    transition: opacity 0.2s var(--easing);
  }
}

.p-headerMenu__nav--en {
  font-family: var(--fontMontserratAlt);
  font-weight: 600;
  font-size: min(1.4cqi, 0.875rem);
  line-height: 1.8;
  letter-spacing: 0.46em;
  text-transform: uppercase;
}
@media (max-width: 48em) {
  .p-headerMenu__nav--en {
    font-size: 0.82rem;
  }
}

.p-headerMenu__nav--ja {
  font-size: min(0.8cqi, 0.5rem);
  line-height: 1.3;
  letter-spacing: 0.207936em;
}
@media (max-width: 48em) {
  .p-headerMenu__nav--ja {
    font-size: 0.5184rem;
  }
}

/* ===== GLOBAL MENU ===== */
.c-globalMenu__button {
  display: none;
  background-color: transparent;
  border: 0;
  position: fixed;
  width: 1.875rem;
  right: 3%;
  top: 3%;
  cursor: pointer;
  z-index: 101;
}
@media (max-width: 48em) {
  .c-globalMenu__button {
    display: block;
    top: 0.875rem;
  }
}

.c-globalMenu__description {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
}

.c-globalMenu__icon {
  overflow: visible;
}

.c-globalMenu__iconLine {
  stroke: var(--colorBlue1);
  stroke-width: 0.09375rem;
  filter: drop-shadow(0.03125rem 0 0 var(--colorWhite1)) drop-shadow(-0.03125rem 0 0 var(--colorWhite1)) drop-shadow(0 0.03125rem 0 var(--colorWhite1)) drop-shadow(0 -0.03125rem 0 var(--colorWhite1));
}
@media (prefers-reduced-motion: no-preference) {
  .c-globalMenu__iconLine {
    transition: 0.4s var(--easing);
  }
}

.c-globalMenu__iconLine--1 {
  transform-origin: top;
}

.c-globalMenu__iconLine--2 {
  transform-origin: center;
}

.c-globalMenu__iconLine--3 {
  transform-origin: bottom;
}

.c-globalMenu__button[aria-expanded="true"] .c-globalMenu__iconLine {
  stroke: #fff;
  filter: none;
}

.c-globalMenu__button[aria-expanded="true"] .c-globalMenu__iconLine--1 {
  rotate: 405deg;
  translate: 0 calc(50% - 0.5px);
}
@media (prefers-reduced-motion: no-preference) {
  .c-globalMenu__button[aria-expanded="true"] .c-globalMenu__iconLine--1 {
    transition-duration: 0.4s;
    transition-delay: 0.2s;
    transition-timing-function: var(--easing);
  }
}

.c-globalMenu__button[aria-expanded="true"] .c-globalMenu__iconLine--2 {
  transform: scaleX(0);
}
@media (prefers-reduced-motion: no-preference) {
  .c-globalMenu__button[aria-expanded="true"] .c-globalMenu__iconLine--2 {
    transition: 0.2s var(--easing);
  }
}

.c-globalMenu__button[aria-expanded="true"] .c-globalMenu__iconLine--3 {
  rotate: -405deg;
  translate: 0 calc(-50% + 0.5px);
}
@media (prefers-reduced-motion: no-preference) {
  .c-globalMenu__button[aria-expanded="true"] .c-globalMenu__iconLine--3 {
    transition-duration: 0.4s;
    transition-delay: 0.2s;
    transition-timing-function: var(--easing);
  }
}

.p-headerMenu[aria-hidden="false"] {
  translate: 0 0;
  opacity: 1;
}

.p-globalMenu__background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 99;
  opacity: 0;
  transition: 0.3s var(--easing);
  cursor: pointer;
}

.p-globalMenu__background.is-active {
  opacity: 1;
}

.p-headerSidebar {
  position: sticky;
  top: 0;
  height: 100svh;
  width: 7.2568cqi;
  max-width: 8.75rem;
  background-color: var(--colorBlue1);
  border-radius: 0 0 4cqi 0;
  z-index: 4;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  container-type: inline-size;
  padding-top: 4.1007%;
  padding-bottom: 3.78%;
}
.p-headerSidebar::-webkit-scrollbar {
  display: none;
}
@media (max-width: 48em) {
  .p-headerSidebar {
    display: none;
  }
  .wrap__body {
    width: 100%;
  }
}

.p-headerSidebar__body {
  min-height: 100%;
  height: max-content;
  display: flex;
  flex-direction: column;
}

.p-headerSidebar__logo {
  display: flex;
  justify-content: center;
}

.p-headerSidebar__logoImage {
  display: block;
  width: 30.14cqw;
}

.p-headerSidebar__middle {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 17.53cqw;
}

.p-headerSidebar__name {
  writing-mode: vertical-rl;
  font-family: var(--fontMontserratAlt);
  font-weight: 600;
  font-size: 27.05cqw;
  line-height: 2.61;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--colorWhite1);
}

.p-headerSidebar__description {
  writing-mode: vertical-rl;
  font-family: var(--fontMontserratAlt);
  font-weight: 400;
  font-size: 6cqw;
  line-height: 3.03;
  margin-top: 24.83cqw;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: var(--colorWhite1);
}

.p-headerSidebar__content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 13.79cqw;
}

.p-headerSidebar__bottom {
  display: flex;
  justify-content: center;
}

.p-headerSidebar__snsList {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16.48cqw;
}

.p-headerSidebar__snsLink {
  display: block;
  width: 20.69cqw;
  aspect-ratio: 1;
  background-color: var(--colorWhite1);
  -webkit-mask-image: var(--snsIcon);
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: var(--snsIcon);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.p-footer {
  view-transition-name: footer;
  padding-top: 5%;
  padding-bottom: 1.2%;
  margin-top: auto;
}
@media (max-width: 48em) {
  .p-footer {
    padding-top: 0;
    padding-bottom: 0;
    height: 2rem;
    display: flex;
    align-items: center;
  }
}

.p-footer__copyright {
  font-family: var(--fontMontserratAlt);
  display: block;
  width: 100%;
  text-align: center;
  font-size: 0.7rem;
  color: var(--colorBlue1);
}

.p-worksCategorySection {
  position: relative;
  margin-bottom: max(2.9%, 1.875rem);
}
@media (max-width: 48em) {
  .p-worksCategorySection {
    order: 2;
    margin-bottom: 0;
  }
}

.main:has(.p-workDetail) .p-worksCategorySection {
  margin-top: 3rem;
}
@media (max-width: 48em) {
  .main:has(.p-workDetail) .p-worksCategorySection {
    order: 1;
  }
}

.p-worksCategoryMobileTooltip {
  display: none;
}
@media (max-width: 48em) {
  .p-worksCategoryMobileTooltip {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    translate: 0 -100%;
    width: 100%;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    pointer-events: none;
    z-index: 10;
  }
  .p-worksCategoryMobileTooltip:not([inert]) {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    pointer-events: auto;
  }
}
@media (max-width: 48em) and (prefers-reduced-motion: no-preference) {
  .p-worksCategoryMobileTooltip {
    transition: clip-path 0.3s var(--easing);
  }
}

@media (max-width: 48em) {
  .p-worksCategoryListMask {
    mask-image: linear-gradient(to right, #000 85%, transparent);
  }
}

.p-worksCategoryListWrap {
  container-type: inline-size;
  max-width: 65rem;
  margin-inline: auto;
}
@media (max-width: 48em) {
  .p-worksCategoryListWrap {
    overflow-x: auto;
    width: 100%;
    scrollbar-color: var(--colorBlue1) transparent;
  }
  .p-worksCategoryListWrap::-webkit-scrollbar {
    height: 0.25rem;
  }
  .p-worksCategoryListWrap::-webkit-scrollbar-track {
    border-radius: 0.625rem;
    background-color: color-mix(in srgb, var(--colorBlue1) 10%, transparent);
  }
  .p-worksCategoryListWrap::-webkit-scrollbar-thumb {
    border-radius: 0.625rem;
    background: var(--colorBlue1);
  }
}

.p-worksCategoryList {
  justify-content: center;
  background-color: color-mix(in srgb, var(--colorGray1) 80%, transparent);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}
@media (max-width: 48em) {
  .p-worksCategoryList {
    gap: 0.6rem;
    width: max-content;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 3.4rem;
    height: 3.375rem;
    backdrop-filter: none;
  }
}

.p-worksCategoryListItemButton {
  font-family: var(--fontTbudrgothic);
  display: block;
  padding-top: min(0.74cqi, 0.5rem);
  padding-bottom: min(0.74cqi, 0.5rem);
  padding-inline: min(1.48cqi, 1rem);
  background-color: var(--colorWhite1);
  border-radius: calc(infinity * 1px);
  border: 0.0625rem solid var(--colorBlue1);
  color: var(--colorBlue1);
  font-size: min(1.45cqi, 0.9375rem);
  letter-spacing: 0.16em;
  cursor: pointer;
  transition:
    background-color 0.2s var(--easing),
    color 0.2s var(--easing);
  line-height: 1;
}
.p-worksCategoryListItemButton:hover,
.p-worksCategoryListItemButton:focus-visible {
  background-color: var(--colorBlue1);
  color: var(--colorWhite1);
  opacity: 1;
}
@media (max-width: 48em) {
  .p-worksCategoryListItemButton {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
  }
}
.p-worksCategoryListItem {
  position: relative;
  flex-shrink: 0;
}

.p-worksCategoryTooltip {
  position: absolute;
  bottom: 0;
  left: 0;
  translate: 0 100%;
  width: 13.75rem;
  padding-top: 0.5rem;
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  pointer-events: none;
  z-index: 10;
}
.p-worksCategoryListItem:last-child > .p-worksCategoryTooltip {
  left: auto;
  right: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .p-worksCategoryTooltip {
    transition: clip-path 0.3s var(--easing);
  }
}
@media (max-width: 48em) {
  .p-worksCategoryTooltip {
    position: static;
    translate: none;
    width: auto;
    padding-bottom: 0;
    clip-path: none;
    transition: none;
    display: none;
  }
}
.p-worksCategoryListItem:hover > .p-worksCategoryTooltip {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: auto;
}
.p-worksCategoryListItem:focus-within > .p-worksCategoryTooltip {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: auto;
}
@media (max-width: 48em) {
  .p-worksCategoryListItem:hover > .p-worksCategoryTooltip,
  .p-worksCategoryListItem:focus-within > .p-worksCategoryTooltip {
    display: none;
  }
}

.p-worksCategoryTooltipInner {
  background-color: color-mix(in srgb, var(--colorBlue1) 90%, transparent);
  padding: 1.4cqi 1cqi;
}
@media (max-width: 48em) {
  .p-worksCategoryTooltipInner {
    padding: 2.4cqi 1.8cqi;
  }
}

.p-worksCategoryTooltipList {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 1.2cqi;
  letter-spacing: 0.16em;
}
@media (max-width: 48em) {
  .p-worksCategoryTooltipList {
    font-size: 2.4cqi;
  }
}

.p-worksCategoryTooltipLink {
  color: var(--colorWhite1);
  opacity: 1;
}
@media (max-width: 48em) {
  .p-worksCategoryTooltipLink {
    display: block;
    padding-block: 1.5cqi;
  }
}

.p-worksList {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  margin-inline: auto;
}
@media (max-width: 48em) {
  .p-worksList {
    width: 100%;
    margin-inline: 0;
    order: 1;
    height: calc(100svh - 3.125rem - 3.375rem - 2rem);
    overflow-y: auto;
    scrollbar-width: none;
  }
  .p-worksList::-webkit-scrollbar {
    display: none;
  }
}

@keyframes worksItemFadeIn {
  from {
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }
  to {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

@keyframes skeleton {
  0% {
    background-position: 0 200%;
  }
  100% {
    background-position: 0 -200%;
  }
}

.p-worksListItem {
  width: calc((100% - 2rem) / 3);
  aspect-ratio: 16 / 9;
  min-height: 0;
  display: block;
  background: linear-gradient(180deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
  background-size: 100% 200%;
  animation: skeleton 1.5s ease-in-out infinite;
}
@media (max-width: 65.5em) {
  .p-worksListItem {
    width: calc((100% - 1rem) / 2);
  }
}
@media (max-width: 48em) {
  .p-worksListItem {
    width: 100%;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .p-worksListItem {
    transition: scale 0.3s var(--easing);
  }
}
@media (any-hover: hover) and (prefers-reduced-motion: no-preference) {
  .p-worksListItem:hover {
    scale: 0.97;
    opacity: 1;
    transition: scale 0.3s var(--easing);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .p-worksListItem:focus-visible {
    scale: 0.97;
    opacity: 1;
    transition: scale 0.3s var(--easing);
  }
}

.p-worksListItem.is-active {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  background: none;
  animation: none;
}
@media (prefers-reduced-motion: no-preference) {
  .p-worksListItem.is-active {
    clip-path: none;
    background: none;
    animation: worksItemFadeIn 0.4s var(--easing) forwards;
  }
}

.p-worksListCanvas,
.p-worksListVideo,
.p-worksListImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (prefers-reduced-motion: no-preference) {
  .p-worksListCanvas,
  .p-worksListVideo,
  .p-worksListImage {
    transition: scale 0.3s var(--easing);
  }
}
@media (any-hover: hover) and (prefers-reduced-motion: no-preference) {
  .p-worksListItem:hover .p-worksListCanvas,
  .p-worksListItem:hover .p-worksListVideo,
  .p-worksListItem:hover .p-worksListImage {
    scale: 1.05;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .p-worksListItem:focus-visible .p-worksListCanvas,
  .p-worksListItem:focus-visible .p-worksListVideo,
  .p-worksListItem:focus-visible .p-worksListImage {
    scale: 1.05;
  }
}

.p-about {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-inline: auto;
  container-type: inline-size;
}
@media (max-width: 48em) {
  .p-about {
    flex-direction: column;
  }
}

.p-about__imageWrap {
  width: 36.264%;
  flex-shrink: 0;
}
@media (max-width: 48em) {
  .p-about__imageWrap {
    width: 80%;
    max-width: 30rem;
    margin-inline: auto;
  }
}

.p-about__image {
  width: 100%;
  height: auto;
}

.p-about__body {
  width: 47.92%;
}
@media (max-width: 48em) {
  .p-about__body {
    width: 100%;
  }
}

.p-about__profile {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

@media (max-width: 48em) {
  .p-about__profile {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
  }
}

.p-about__name {
  font-size: 2.53cqi;
  font-weight: 700;
  line-height: 0.886;
  letter-spacing: 0.16em;
  color: var(--colorBlue1);
}
@media (max-width: 48em) {
  .p-about__name {
    font-size: 1.2rem;
  }
}

.p-about__subName {
  font-size: 1.68cqi;
  font-weight: 400;
  line-height: 1.468;
  letter-spacing: 0.16em;
  font-family: var(--fontMontserratAlt);
  color: var(--colorBlue1);
}
@media (max-width: 48em) {
  .p-about__subName {
    font-size: 0.7rem;
  }
}

.p-about__text {
  font-size: 1.25cqi;
  font-weight: 400;
  line-height: 1.482;
  letter-spacing: 0.16em;
  color: var(--colorBlue1);
  margin-top: 2.99cqi;
  padding-bottom: 5.22cqi;
  border-bottom: 0.0625rem solid var(--colorBlue1);
}

@media (max-width: 48em) {
  .p-about__text {
    font-size: 0.7rem;
    margin-top: 1.9rem;
    padding-inline: 1.2rem;
    padding-bottom: 1.2rem;
  }
}

.p-about__announcements {
  margin-top: 5.22cqi;
}
@media (max-width: 48em) {
  .p-about__announcements {
    margin-top: 1.2rem;
    padding-inline: 1.2rem;
  }
}

.p-about__announcementsTitle {
  font-size: 1.87cqi;
  font-weight: 700;
  line-height: 0.886;
  letter-spacing: 0.16em;
  color: var(--colorBlue1);
}
@media (max-width: 48em) {
  .p-about__announcementsTitle {
    font-size: 0.9rem;
  }
}

.p-about__announcementsList {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 2.99cqi;
}
@media (max-width: 48em) {
  .p-about__announcementsList {
    margin-top: 0.8rem;
    gap: 0.8rem;
  }
}

.p-about__announcementsItem {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  font-size: 1.25cqi;
  line-height: 1.482;
  letter-spacing: 0.16em;
  color: var(--colorBlue1);
  font-family: var(--fontBase);
}
@media (max-width: 48em) {
  .p-about__announcementsItem {
    font-size: 0.7rem;
  }
}

.p-about__announcementsDate {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
}

.p-about__announcementsContent {
  font-family: var(--fontDefault);
}

/* ===== CONTACT ===== */
.p-contact {
  max-width: 80rem;
  margin-inline: auto;
}

.p-contact__section {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 2rem;
  padding-block: 3rem;
}
@media (max-width: 48em) {
  .p-contact__section {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding-block: 2rem;
  }
}

.p-contact__title {
  text-align: center;
  font-size: var(--contactTitlePcFontSize);
  font-weight: 700;
  line-height: 1.482;
  letter-spacing: 0.16em;
  color: var(--colorBlue1);
}
@media (max-width: 48em) {
  .p-contact__title {
    font-size: var(--contactTitleMobileFontSize);
    text-align: left;
    padding-left: 1rem;
  }
}

.p-contact__body {
  color: var(--colorBlue1);
  letter-spacing: 0.16em;
  line-height: 1.8;
}
@media (max-width: 48em) {
  .p-contact__body {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 1rem;
  }
}

.p-contact__bodyAnnotation {
  font-size: var(--contactAnnotationPcFontSize);
  line-height: 1.6;
  margin-bottom: 1rem;
}
@media (max-width: 48em) {
  .p-contact__bodyAnnotation {
    font-size: var(--contactAnnotationMobileFontSize);
  }
}

.p-contact__content {
  font-size: var(--contactContentPcFontSize);
}
@media (max-width: 48em) {
  .p-contact__content {
    font-size: var(--contactContentMobileFontSize);
  }
}

.p-contact__schedule {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
}
@media (max-width: 48em) {
  .p-contact__schedule {
    font-size: 1rem;
  }
}

.p-contact__annotation {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.p-contact__infoList {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.p-contact__template {
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.8;
  letter-spacing: 0.16em;
  color: var(--colorBlue1);
  white-space: pre-wrap;
  word-break: break-all;
  border: 0.0625rem solid var(--colorBlue1);
  padding: 1.5rem;
}
@media (max-width: 48em) {
  .p-contact__template {
    font-size: 0.75rem;
    padding: 1rem;
  }
}

.p-contact__caution {
  font-size: 0.875rem;
  line-height: 2;
}
@media (max-width: 48em) {
  .p-contact__caution {
    font-size: 0.75rem;
  }
}

.p-contact__privacy {
  max-height: 15rem;
  overflow-y: auto;
  font-size: var(--contactContentPcFontSize);
  line-height: 2;
  border: 0.0625rem solid var(--colorBlue1);
  padding: 1.5rem;
}

.p-contact__privacy h3 {
  font-weight: 700;
  margin-top: 1.5rem;
}

.p-contact__privacy h3:first-child {
  margin-top: 0;
}

.p-contact__privacy p {
  margin-top: 0.5rem;
}

.p-contact__privacy ul {
  margin-top: 0.5rem;
  padding-left: 1.5rem;
  list-style: disc;
}

@media (max-width: 48em) {
  .p-contact__privacy {
    font-size: var(--contactContentMobileFontSize);
  }
}

.p-workDetail {
  container-type: inline-size;
  display: grid;
  grid-template-columns: 63% 34%;
  gap: 3%;
}
@media (max-width: 48em) {
  .p-workDetail {
    grid-template-columns: 1fr;
    gap: unset;
  }
  .p-workDetail__media {
    display: contents;
  }
  .p-workDetail__thumbnail {
    order: 1;
  }
  .p-workDetail__info {
    order: 4;
    margin-top: 1rem;
  }
  .p-workDetail__mediaList {
    order: 2;
    margin-top: 1.5rem;
  }
  .p-workDetail__iframeList {
    order: 3;
  }
}

.p-workDetail__info {
  position: sticky;
  top: 2rem;
  align-self: start;
}
@media (max-width: 48em) {
  .p-workDetail__info {
    position: static;
  }
}

.p-workDetail__thumbnail {
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
}

.p-workDetail__title {
  font-size: 1.45cqi;
  font-weight: 400;
  line-height: 1.73;
  letter-spacing: 0.14em;
  color: var(--colorBlue1);
  margin-bottom: 2.42cqi;
}
@media (max-width: 48em) {
  .p-workDetail__title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
}

.p-workDetail__description {
  font-size: 0.92cqi;
  font-weight: 400;
  line-height: 1.73;
  letter-spacing: 0.14em;
  color: var(--colorBlue1);
}
@media (max-width: 48em) {
  .p-workDetail__description {
    font-size: 0.875rem;
  }
}

.p-workDetail__productionYear {
  margin-top: 1.69cqi;
  font-size: 0.92cqi;
  font-weight: 400;
  line-height: 1.73;
  letter-spacing: 0.14em;
  color: var(--colorBlue1);
}
@media (max-width: 48em) {
  .p-workDetail__productionYear {
    margin-top: 0.72rem;
    font-size: 0.625rem;
  }
}

.p-workDetail__mediaList,
.p-workDetail__iframeList {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 5%;
}

.p-workDetail__mediaList > *,
.p-workDetail__iframeList > * {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.p-workDetail__mediaList canvas,
.p-workDetail__mediaList img,
.p-workDetail__mediaList video,
.p-workDetail__mediaList iframe,
.p-workDetail__iframeList canvas,
.p-workDetail__iframeList img,
.p-workDetail__iframeList video,
.p-workDetail__iframeList iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-workDetail__iframeList .iframe-container {
  height: 100%;
}

.p-workDetail__canvas,
.p-workDetail__video,
.p-workDetail__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
