@charset "UTF-8";
*, ::before, ::after {
  box-sizing: border-box;
}

html, body, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, div, span, img, a, table, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: normal;
  font-size: 100%;
  vertical-align: baseline;
}

header, footer, nav, section, article, main, aside, figure, figcaption {
  display: block;
}

ol, ul {
  list-style: none;
  list-style-type: none;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  font: inherit;
  cursor: pointer;
}

input,
select,
textarea {
  color: inherit;
  font: inherit;
  vertical-align: top;
}

span {
  font-weight: inherit;
}

address {
  font-style: normal;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #000;
  font-weight: 400;
  font-size: clamp(11px, 0.833vw, 16px);
  line-height: 1.6;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0;
}
@media screen and (max-width: 768px) {
  body {
    font-size: 14px;
  }
}
body.is-fixed {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

.l-sectionInner {
  max-width: 1920px;
  margin-inline: auto;
  padding-inline: clamp(70px, 8.75vw, 165px);
}
@media screen and (max-width: 768px) {
  .l-sectionInner {
    max-width: 620px;
    padding-inline: 30px;
  }
}
@media screen and (max-width: 400px) {
  .l-sectionInner {
    padding-inline: 20px;
  }
}

.l-header {
  margin-top: 125px;
}
@media screen and (max-width: 768px) {
  .l-header {
    margin-top: 70px;
  }
}

.l-headerInner {
  max-width: 1920px;
  margin-inline: auto;
  padding-inline: clamp(70px, 8.75vw, 165px);
}
@media screen and (max-width: 768px) {
  .l-headerInner {
    max-width: 600px;
    padding-inline: 30px;
  }
}
@media screen and (max-width: 400px) {
  .l-headerInner {
    padding-inline: 20px;
  }
}

.c-errorPage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  text-align: center;
}
.c-errorPage__inner {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
.c-errorPage__title {
  margin-bottom: 24px;
  font-weight: bold;
  font-size: 24px;
}
@media screen and (min-width: 768px) {
  .c-errorPage__title {
    font-size: 32px;
  }
}
.c-errorPage__message {
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 1.8;
}
@media screen and (min-width: 768px) {
  .c-errorPage__message {
    font-size: 18px;
  }
}
.c-errorPage__link {
  color: blue;
  font-size: 16px;
  text-decoration: underline;
  transition: opacity 0.3s;
}
@media (any-hover: hover) {
  .c-errorPage__link:hover {
    opacity: 0.7;
  }
}

.wpcf7-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 924px;
  margin-top: clamp(96px, 8.5vw, 160px);
  margin-inline: auto;
  gap: 50px;
}

.c-formItem {
  display: flex;
  width: 100%;
  gap: 20px;
}
@media screen and (max-width: 768px) {
  .c-formItem {
    flex-direction: column;
  }
}

.c-formItem__head {
  width: 200px;
}

.c-formItem__Label {
  font-weight: 200;
  font-size: 16px;
  line-height: 1.44;
  letter-spacing: 0.08em;
}
@media screen and (max-width: 768px) {
  .c-formItem__Label {
    font-size: 14px;
  }
}

.wpcf7-text,
.wpcf7-textarea {
  width: clamp(550px, 36.458vw, 700px);
  padding: 15px 10px;
  border: none;
  border: 1px solid #999;
  border-radius: 3px;
  background: #fff;
  transition: border-color 0.3s ease;
}
@media screen and (max-width: 1100px) {
  .wpcf7-text,
  .wpcf7-textarea {
    width: clamp(420px, 50vw, 550px);
  }
}
@media screen and (max-width: 768px) {
  .wpcf7-text,
  .wpcf7-textarea {
    width: 100%;
  }
}
.wpcf7-text:hover, .wpcf7-text:focus,
.wpcf7-textarea:hover,
.wpcf7-textarea:focus {
  border-color: rgb(0, 30, 60);
  outline: none;
}
.wpcf7-text.is-error,
.wpcf7-textarea.is-error {
  border-color: red;
  background-color: pink;
}

.wpcf7-textarea {
  height: 250px;
}

.form-checkbox {
  align-self: start;
  padding-left: 220px;
  font-weight: 200;
  font-size: 19px;
  font-size: 16px;
  line-height: 1.44;
  letter-spacing: 0.06em;
}
@media screen and (max-width: 768px) {
  .form-checkbox {
    align-self: center;
    padding-left: 0;
    font-size: 14px;
  }
}
.form-checkbox input {
  width: 25px;
  height: 25px;
  margin-right: 8px;
  accent-color: #000;
  vertical-align: middle;
}

.c-formButton {
  align-self: start;
  padding-left: 220px;
}
@media screen and (max-width: 768px) {
  .c-formButton {
    align-self: center;
    padding-left: 0;
  }
}

.wpcf7-submit {
  padding: 10px 25px;
  border: none;
  background-color: #767676;
  color: #fff;
  font-weight: 200;
  font-size: 17px;
  font-size: 16px;
  line-height: 1.44;
  letter-spacing: 0.06em;
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .wpcf7-submit {
    font-size: 14px;
  }
}

.c-sectionTitle {
  width: -moz-fit-content;
  width: fit-content;
  font-size: clamp(45px, 6.666vw, 128px);
  line-height: 1.35;
  font-family: "Cinzel", serif;
  letter-spacing: 0.1em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media screen and (max-width: 768px) {
  .c-sectionTitle {
    font-size: clamp(45px, 8.5vw, 65px);
  }
}

.c-sectionSubTitle {
  width: -moz-fit-content;
  width: fit-content;
  font-weight: 200;
  font-size: clamp(18px, 2.5vw, 48px);
  line-height: 1.43;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media screen and (max-width: 768px) {
  .c-sectionSubTitle {
    font-size: clamp(18px, 3.2vw, 25px);
  }
}

.c-sectionSubTitle__en {
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  font-size: clamp(36px, 3.125vw, 60px);
  line-height: 1.35;
  font-family: "Cinzel", serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media screen and (max-width: 768px) {
  .c-sectionSubTitle__en {
    font-size: clamp(36px, 5.9vw, 45px);
  }
}

.c-sectionText {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.302vw, 25px);
  font-weight: 200;
  line-height: 1.43;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 768px) {
  .c-sectionText {
    gap: clamp(16px, 3.3vw, 25px);
    line-height: 1.8;
  }
}
.c-sectionText p {
  font-weight: inherit;
}

.c-drawerButton {
  display: none;
  z-index: 200;
  position: relative;
  width: 55px;
  height: 55px;
}
@media screen and (max-width: 768px) {
  .c-drawerButton {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}
.c-drawerButton__bar {
  width: 80%;
  height: 1px;
  transform: translateZ(0);
  transform-origin: left center;
  background: #000;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.2s linear;
  will-change: transform;
}
.c-drawerButton__text {
  display: block;
  position: relative;
  margin-top: -10px;
}
.c-drawerButton__text::before {
  content: "MENU";
  color: #000;
  font-size: 10px;
  transition: color 0.2s linear;
}
.c-drawerButton.is-checked .c-drawerButton__bar:nth-of-type(1) {
  transform: rotate(22deg);
  background-color: #fff;
}
.c-drawerButton.is-checked .c-drawerButton__bar:nth-of-type(2) {
  transform: rotate(-22deg);
  background-color: #fff;
}
.c-drawerButton.is-checked .c-drawerButton__text::before {
  content: "CLOSE";
  color: #fff;
}

.c-drawerNav {
  visibility: hidden;
  z-index: 150;
  position: fixed;
  height: 100vh;
  inset: 0;
  overflow-y: auto;
  transform: translateY(-8px);
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s linear, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.25s;
}
.c-drawerNav.is-open {
  visibility: visible;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.25s linear, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s;
}
.c-drawerNav__list {
  display: flex;
  z-index: 1;
  position: relative;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  padding: 120px 40px 40px;
}
.c-drawerNav__item {
  display: block;
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  border-bottom: 1px solid #fff;
  font-size: 18px;
  font-family: "Cinzel", serif;
}
.c-drawerNav__item a {
  display: block;
  padding-block: 5svh;
  color: #fff;
  text-decoration: none;
}
.c-drawerNav__info {
  margin-top: 20px;
  text-align: center;
}

.c-globalNav {
  display: block;
}
@media screen and (max-width: 768px) {
  .c-globalNav {
    display: none;
  }
}
.c-globalNav__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 53px;
}
.c-globalNav__item {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  font-family: "Cinzel", serif;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  opacity: 1;
  transition: opacity 0.3s ease;
}
@media (any-hover: hover) {
  .c-globalNav__item:hover {
    opacity: 0.4;
  }
}
.c-globalNav__item:last-child .c-button {
  padding: 12px 10px;
  font-size: 14px;
}

.js-fadeImg,
.js-fadeImgFv {
  overflow: hidden;
  transform: scale(0.9); /* 枠：0.8 → 1.0 */
  opacity: 0;
  transition: transform 600ms ease, opacity 900ms ease;
}

.js-fadeImg img,
.js-fadeImgFv img {
  display: block;
  transform: scale(1.1); /* 画像：1.1 → 1.0 */
  transition: transform 900ms ease;
}

.js-fadeImg.is-inview,
.js-fadeImgFv.is-inview {
  transform: scale(1);
  opacity: 1;
}

.js-fadeImg.is-inview img,
.js-fadeImgFv.is-inview img {
  transform: scale(1);
}

/* 任意：動きを無効化 */
@media (prefers-reduced-motion: reduce) {
  .js-fadeImg,
  .js-fadeImg img,
  .js-fadeImgFv,
  .js-fadeImgFv img {
    transition: none !important;
  }
}
.p-artist {
  margin-top: clamp(144px, 15vw, 288px);
}

.p-artist__wrap {
  display: flex;
  flex-direction: column;
  margin-top: clamp(64px, 5vw, 96px);
  gap: clamp(120px, 12.5vw, 240px);
}
@media screen and (max-width: 768px) {
  .p-artist__wrap {
    gap: 150px;
  }
}

.p-artist__item {
  display: flex;
}
@media screen and (max-width: 768px) {
  .p-artist__item {
    flex-direction: column;
  }
}
.p-artist__item:nth-child(2) {
  flex-direction: row-reverse;
}
@media screen and (max-width: 768px) {
  .p-artist__item:nth-child(2) {
    flex-direction: column;
  }
}

.p-artist__itemList {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.p-artist__itemList li {
  font-weight: 200;
}

.p-artist__itemImgs {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 50%;
  max-width: 50%;
  gap: clamp(32px, 2.604vw, 50px);
}
@media screen and (max-width: 1100px) {
  .p-artist__itemImgs {
    min-width: 40%;
    max-width: 40%;
  }
}
@media screen and (max-width: 768px) {
  .p-artist__itemImgs {
    max-width: 100%;
  }
}
.p-artist__itemImgs .sho {
  z-index: -1;
  aspect-ratio: 1949/1384;
  width: 80%;
  height: auto;
}
.p-artist__itemImgs .sho img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.p-artist__itemImgs .sho2 {
  z-index: -1;
  align-self: flex-end;
  aspect-ratio: 1898/1749;
  width: 80%;
  height: auto;
}
.p-artist__itemImgs .sho2 img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-artist__itemMain {
  padding-top: clamp(150px, 15.625vw, 300px);
  padding-left: clamp(96px, 8.333vw, 160px);
}
@media screen and (max-width: 1100px) {
  .p-artist__itemMain {
    padding-left: 50px;
  }
}
@media screen and (max-width: 768px) {
  .p-artist__itemMain {
    padding-top: 60px;
    padding-left: 0;
  }
}
.p-artist__itemMain--reverse {
  padding-right: clamp(96px, 8.333vw, 160px);
  padding-left: 0;
}
@media screen and (max-width: 1100px) {
  .p-artist__itemMain--reverse {
    padding-right: 50px;
  }
}
@media screen and (max-width: 768px) {
  .p-artist__itemMain--reverse {
    padding-right: 0;
  }
}

.p-artist__itemName {
  font-size: clamp(16px, 1.094vw, 21px);
}

.p-artist__itemText {
  margin-top: 20px;
  gap: clamp(40px, 3.125vw, 60px);
}
.p-artist__itemText p {
  line-height: 2.8;
}

.p-about__first {
  display: flex;
  align-items: center;
  gap: clamp(70px, 8.75vw, 168px);
}
@media screen and (max-width: 1100px) {
  .p-about__first {
    margin-top: 40px;
  }
}
.p-about__first .p-about__left {
  aspect-ratio: 600/850;
  width: 100%;
  max-width: 31.25vw;
  height: auto;
}
@media screen and (max-width: 768px) {
  .p-about__first .p-about__left {
    max-width: 100%;
  }
}
.p-about__first .p-about__left img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.p-about__first .p-about__right {
  padding-bottom: clamp(64px, 7.5vw, 160px);
}
@media screen and (max-width: 1100px) {
  .p-about__first .p-about__right {
    padding-bottom: 30px;
  }
}
.p-about__first .p-about__right .p-about__subTitle {
  margin-top: clamp(24px, 1.927vw, 37px);
}
.p-about__first .p-about__right .p-about__text {
  margin-top: clamp(24px, 1.927vw, 37px);
}
@media screen and (max-width: 768px) {
  .p-about__first {
    flex-direction: column-reverse;
    gap: 50px;
  }
}

.p-about__second {
  margin-top: clamp(-150px, -9.271vw, -80px);
  background: url(../images/cover.webp) no-repeat center center;
  background-size: cover;
}
@media screen and (max-width: 1300px) {
  .p-about__second {
    margin-top: -60px;
  }
}
@media screen and (max-width: 1100px) {
  .p-about__second {
    margin-top: -30px;
  }
}
@media screen and (max-width: 768px) {
  .p-about__second {
    background-position: right -300px center;
  }
}
@media screen and (max-width: 600px) {
  .p-about__second {
    background-position: right -830px top;
  }
}
.p-about__second .p-about__secondInner {
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto -80px;
  padding-block: 60px;
  color: #fff;
  text-align: left;
}
@media screen and (max-width: 768px) {
  .p-about__second .p-about__secondInner {
    margin-right: clamp(-80px, -5vw, 0px);
    padding-block: 100px;
  }
}
@media screen and (max-width: 600px) {
  .p-about__second .p-about__secondInner {
    margin-inline: 0 auto;
  }
}
.p-about__second .p-about__text {
  margin-top: clamp(24px, 1.927vw, 37px);
}
@media screen and (max-width: 1100px) {
  .p-about__second .p-about__text {
    padding-right: 10px;
  }
}
@media screen and (max-width: 768px) {
  .p-about__second .p-about__text {
    padding-right: 0;
  }
}

.p-about__third {
  position: relative;
  margin-top: clamp(120px, 10vw, 200px);
  padding-left: clamp(120px, 22vw, 415px);
}
@media screen and (max-width: 768px) {
  .p-about__third {
    padding-left: 30px;
  }
}
@media screen and (max-width: 400px) {
  .p-about__third {
    padding-left: 20px;
  }
}
.p-about__third .p-about__textWrap {
  display: flex;
  flex-direction: column;
  margin-top: clamp(48px, 4.271vw, 82px);
  gap: clamp(40px, 3.75vw, 72px);
}
.p-about__third .p-about__subTitle {
  text-transform: capitalize;
}
.p-about__third .img {
  z-index: -1;
  position: absolute;
  top: clamp(120px, 13.021vw, 230px);
  right: 30px;
  aspect-ratio: 2306/1289;
  max-width: 45vw;
  height: auto;
}
@media screen and (max-width: 1100px) {
  .p-about__third .img {
    top: 220px;
    right: 0;
    max-width: 35vw;
  }
}
@media screen and (max-width: 768px) {
  .p-about__third .img {
    top: auto;
    bottom: -120px;
    min-width: 150px;
  }
}
.p-about__third .img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-artwork {
  margin-top: clamp(150px, 13.8vw, 270px);
}
@media screen and (max-width: 768px) {
  .p-artwork {
    margin-top: 50px;
  }
}

.p-artwork__title {
  margin-inline: 0 auto;
  padding-left: 120px;
}
@media screen and (max-width: 1100px) {
  .p-artwork__title {
    padding-left: 0;
  }
}

.p-artwork__text {
  margin-top: 10px;
  padding-left: 120px;
}
@media screen and (max-width: 1100px) {
  .p-artwork__text {
    padding-left: 0;
  }
}

.p-artwork__boxes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: clamp(40px, 5vw, 95px);
  gap: clamp(40px, 3.125vw, 60px);
}
@media screen and (max-width: 768px) {
  .p-artwork__boxes {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
@media screen and (max-width: 600px) {
  .p-artwork__boxes {
    gap: 10px;
  }
}

.p-artwork__item {
  display: block;
  position: relative;
}
@media (any-hover: hover) {
  .p-artwork__item:hover .img::after {
    opacity: 0.8;
  }
  .p-artwork__item:hover .p-artwork__itemTitle {
    opacity: 1;
  }
}
.p-artwork__item .p-artwork__itemTitle {
  z-index: 5;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: 200;
  line-height: 1.43;
  letter-spacing: 0.06em;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.p-artwork__item .img {
  position: relative;
  aspect-ratio: 600/400;
  width: 100%;
  height: auto;
}
.p-artwork__item .img::after {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.p-artwork__item .img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-contact {
  margin-top: clamp(80px, 6.302vw, 121px);
}

.p-contact__title {
  margin-inline: auto;
}

.p-contact__text {
  max-width: 1400px;
  margin-top: clamp(32px, 2.344vw, 40px);
  margin-inline: auto;
  padding-bottom: 65px;
  border-bottom: 1px solid #B2B2B2;
  font-size: clamp(14px, 0.938vw, 18px);
  line-height: 2;
  text-align: center;
}

.footer {
  margin-top: 310px;
}
@media screen and (max-width: 768px) {
  .footer {
    margin-top: 200px;
  }
}

.footer__inner {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  grid-template-columns: repeat(4, 1fr);
  background: url(../images/footer.webp) no-repeat center -330px;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  position: relative;
}
.footer__inner::after {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  content: "";
  opacity: 0.8;
}

.footer__link {
  display: flex;
  z-index: 5;
  position: relative;
  align-items: center;
  padding-block: clamp(24px, 2.8vw, 51px);
  border: 1px solid #fff;
  color: #fff;
  font-size: clamp(14px, 1.25vw, 21px);
  line-height: 1.37;
  font-family: "Cinzel", serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.footer__link--about {
  grid-area: 1/1/2/4;
  padding-left: 15%;
}
.footer__link--art {
  grid-area: 2/1/3/4;
  padding-left: 15%;
}
.footer__link--contact {
  grid-area: 1/4/3/5;
  justify-content: center;
  padding-inline: 10px;
}
.footer__link--hakurei {
  grid-area: 3/1/4/5;
  justify-content: center;
  font-size: clamp(22px, 1.875vw, 28px);
}
.footer__link::after {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  content: "";
  opacity: 0;
  transition: opacity 0.3s ease;
}
@media (any-hover: hover) {
  .footer__link:hover {
    color: #000;
  }
  .footer__link:hover::after {
    opacity: 0.7;
  }
}

.footer__pageTop {
  z-index: 100;
  position: absolute;
  top: 0;
  right: 19%;
  padding: 15px;
  transform: translateY(-100%);
  transition: opacity 0.3s ease;
}
@media (any-hover: hover) {
  .footer__pageTop:hover {
    opacity: 0.7;
  }
}
.footer__pageTop span {
  display: block;
  position: relative;
  line-height: 1.37;
  font-family: "Cinzel", serif;
  letter-spacing: 0.07em;
  writing-mode: vertical-rl;
}
.footer__pageTop span::before {
  z-index: 10;
  position: absolute;
  right: -10px;
  bottom: -40px;
  width: 1px;
  height: 32px;
  background: #fff;
  content: "";
}
.footer__pageTop span::after {
  z-index: 20;
  position: absolute;
  right: -10px;
  bottom: -17px;
  width: 1px;
  height: 155px;
  background: #000;
  content: "";
  animation: lineRL 1.6s ease-in-out infinite;
}

@keyframes lineRL {
  /* 右から左へ伸びる（右側の隠し量を減らす） */
  0% {
    clip-path: inset(100% 0 0 0);
  }
  50% {
    clip-path: inset(0 0 0 0);
  }
  /* 右から左へ消す（左側の隠し量を増やす） */
  100% {
    clip-path: inset(0 0 100% 0);
  }
}
.p-hakurei__first {
  display: flex;
  align-items: center;
  gap: clamp(70px, 8.75vw, 168px);
}
@media screen and (max-width: 1100px) {
  .p-hakurei__first {
    margin-top: 40px;
  }
}
.p-hakurei__first .p-hakurei__left {
  aspect-ratio: 600/850;
  width: 100%;
  max-width: 31.25vw;
  height: auto;
}
@media screen and (max-width: 768px) {
  .p-hakurei__first .p-hakurei__left {
    max-width: 100%;
  }
}
.p-hakurei__first .p-hakurei__left img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.p-hakurei__first .p-hakurei__right {
  padding-bottom: 180px;
}
@media screen and (max-width: 1100px) {
  .p-hakurei__first .p-hakurei__right {
    padding-bottom: 0;
  }
}
@media screen and (max-width: 768px) {
  .p-hakurei__first {
    flex-direction: column-reverse;
    gap: 50px;
  }
}

.p-hakurei__second {
  display: flex;
  gap: clamp(40px, 3.906vw, 75px);
}
@media screen and (max-width: 1100px) {
  .p-hakurei__second {
    margin-top: 50px;
  }
}
@media screen and (max-width: 768px) {
  .p-hakurei__second {
    flex-direction: column;
  }
}
.p-hakurei__second .p-hakurei__left {
  position: relative;
  margin-top: clamp(120px, 9.896vw, 190px);
  padding-left: clamp(120px, 12.5vw, 240px);
}
@media screen and (max-width: 768px) {
  .p-hakurei__second .p-hakurei__left {
    width: -moz-fit-content;
    width: fit-content;
    margin-inline: auto;
    padding-left: 0;
  }
}
.p-hakurei__second .p-hakurei__left .p-hakurei__subTitle {
  text-wrap: nowrap;
}
.p-hakurei__second .p-hakurei__left .img {
  z-index: -1;
  position: absolute;
  top: 20%;
  left: 0;
  aspect-ratio: 1/1;
  width: 100%;
  min-width: 150px;
  max-width: 13vw;
  height: auto;
}
@media screen and (max-width: 768px) {
  .p-hakurei__second .p-hakurei__left .img {
    display: none;
  }
}
.p-hakurei__second .p-hakurei__left .img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.p-hakurei__second .p-hakurei__left .img-sho {
  z-index: -2;
  position: absolute;
  top: -41%;
  left: 0;
  aspect-ratio: 1/1;
  width: 100%;
  max-width: 13vw;
  height: auto;
}
@media screen and (max-width: 768px) {
  .p-hakurei__second .p-hakurei__left .img-sho {
    max-width: 30vw;
  }
}
@media screen and (max-width: 600px) {
  .p-hakurei__second .p-hakurei__left .img-sho {
    top: -150px;
    width: 150px;
    max-width: none;
  }
}
.p-hakurei__second .p-hakurei__left .img-sho img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.p-hakurei__second .p-hakurei__right {
  aspect-ratio: 1/1;
  width: 100%;
  max-width: 31.25vw;
  height: auto;
}
@media screen and (max-width: 768px) {
  .p-hakurei__second .p-hakurei__right {
    max-width: 100%;
  }
}
.p-hakurei__second .p-hakurei__right img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-hakurei__subTitle {
  margin-top: 20px;
}

.p-hakurei__text {
  margin-top: clamp(24px, 1.927vw, 37px);
}

.p-hakurei__bottomImg {
  aspect-ratio: 1063/358;
  width: 70%;
  max-width: 1150px;
  height: auto;
  margin-top: clamp(120px, 9.375vw, 180px);
  margin-inline: auto 0;
}
.p-hakurei__bottomImg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (max-width: 768px) {
  .p-hakurei__bottomImg {
    margin-top: 50px;
  }
}

:root {
  --bg-logo-opacity: 0.2; /* 背景ロゴの濃さ */
  --bg-gray-level: 0.75; /* 背景ロゴの明るさ（0.7〜0.9） */
  --logo-fade: 0.6s; /* 白→グレーのクロスフェード時間 */
  --logo-show-delay: 0.9s; /* ロゴ（白）が出始めるタイミング */
}

/* =========================================
   Hero
========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero__content {
  z-index: 1;
  position: relative;
}

/* ロゴ共通（完全一致で重ねる） */
.hero__logo {
  display: block;
  position: absolute;
  top: clamp(300px, 28vw, 550px);
  left: 50%;
  width: 35vw;
  height: auto;
  transform: translateX(-50%) translateZ(0);
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
  transition: opacity var(--logo-fade) ease;
  will-change: opacity;
          user-select: none;
}
@media screen and (max-width: 1100px) {
  .hero__logo {
    top: clamp(300px, 50vw, 500px);
    width: 40vw;
  }
}
@media screen and (max-width: 768px) {
  .hero__logo {
    top: 120px;
    left: 70%;
  }
}
@media screen and (max-width: 600px) {
  .hero__logo {
    top: 100px;
    left: 75%;
    width: 45vw;
  }
}

/* 背景用ロゴ（グレー） */
.hero__logo--bg {
  z-index: 0;
  filter: brightness(var(--bg-gray-level)); /* 固定（アニメしない） */
  opacity: var(--bg-logo-opacity); /* 通常時は表示 */
}

/* ローディング用ロゴ（白） */
.hero__logo--loading {
  z-index: 10000;
  filter: brightness(0) invert(1); /* 固定（アニメしない） */
  opacity: 0; /* 初期は非表示 */
}

/* =========================================
   Loading Overlay
========================================= */
#loading {
  z-index: 9999;
  position: fixed;
  inset: 0;
  transform: translateZ(0);
  pointer-events: auto;
}

/* 白ベース（最初は白一色でFVを隠す） */
#loading-bg {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 1;
}

/* 黒塗りレイヤー（下→上） */
#loading-bg::before {
  position: absolute;
  inset: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  background: #000;
  content: "";
  opacity: 1;
  will-change: transform, opacity;
}

/* =========================================
   Animation (Loading)
========================================= */
/* 黒塗り → フェードアウト */
body.is-loading #loading-bg::before {
  animation: loadingFill 0.8s ease-out forwards, loadingFadeOut 0.6s ease-out forwards;
  animation-delay: 0s, 2s; /* 黒が消え始める */
}

/* 白ベースも黒と同時に消す（白残り防止） */
body.is-loading #loading-bg {
  animation: loadingFadeOut 0.6s ease-out forwards;
  animation-delay: 2s;
}

/* ローディング中：背景用ロゴは隠す（白ロゴだけ見せたい） */
body.is-loading .hero__logo--bg {
  opacity: 0;
}

/* ローディング中：白ロゴを表示（delay後にフェードイン） */
body.is-loading .hero__logo--loading {
  opacity: 1;
  transition-delay: var(--logo-show-delay);
}

/* =========================================
   ★ 早めクロスフェード（ここが肝）
   黒が消え始める 2.0s で「白→グレー」へ切り替えを開始する
========================================= */
/* fade-to-bg が付いたら：白ロゴを消す／背景ロゴを出す */
body.is-loading.fade-to-bg .hero__logo--loading {
  opacity: 0;
  transition-delay: 0s;
}

body.is-loading.fade-to-bg .hero__logo--bg {
  opacity: var(--bg-logo-opacity);
}

/* =========================================
   Overlay remove
========================================= */
body.is-loaded #loading {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s linear, visibility 0s linear 0.2s;
}

/* =========================================
   Keyframes
========================================= */
@keyframes loadingFill {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}
@keyframes loadingFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
/* =========================================
   Reduced Motion
========================================= */
@media (prefers-reduced-motion: reduce) {
  body.is-loading #loading-bg,
  body.is-loading #loading-bg::before {
    animation: none;
  }
  #loading-bg {
    opacity: 0;
  }
  #loading-bg::before {
    transform: scaleY(1);
    opacity: 0;
  }
  .hero__logo--loading {
    opacity: 0;
    transition: none;
  }
  .hero__logo--bg {
    opacity: var(--bg-logo-opacity);
    transition: none;
  }
  body.is-loaded #loading {
    transition: none;
  }
}
/* デフォルトではローディングを出さない（JSが動かない時の白画面防止） */
#loading {
  display: none;
}

/* JSが開始したときだけ表示 */
body.is-loading #loading {
  display: block;
}

.p-orderFlow {
  margin-top: 40px;
}
@media screen and (max-width: 1100px) {
  .p-orderFlow {
    margin-top: 140px;
  }
}
@media screen and (max-width: 768px) {
  .p-orderFlow {
    margin-top: 40px;
  }
}

.p-orderFlow__title {
  margin-inline: auto;
}

.p-orderFlow__text {
  margin-top: clamp(40px, 3.854vw, 74px);
  text-align: center;
}

.p-orderFlow__main {
  display: flex;
  flex-direction: column;
  margin-top: clamp(96px, 9.79vw, 188px);
  padding-left: clamp(0px, 0px + 100 * (100vw - 1200px) / 720, 100px);
}
@media screen and (max-width: 768px) {
  .p-orderFlow__main {
    gap: 70px;
  }
}

.p-orderFlow__stepWrap {
  display: flex;
  gap: clamp(50px, 8.75vw, 168px);
}
@media screen and (max-width: 1100px) {
  .p-orderFlow__stepWrap {
    gap: 40px;
  }
}
@media screen and (max-width: 768px) {
  .p-orderFlow__stepWrap {
    flex-direction: column-reverse;
    gap: 50px;
  }
}

.p-orderFlow__img {
  aspect-ratio: 600/632;
  width: 100%;
  min-width: 290px;
  max-width: 31.25vw;
  height: auto;
}
@media screen and (max-width: 768px) {
  .p-orderFlow__img {
    max-width: 100%;
  }
}
.p-orderFlow__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-orderFlow__step {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
@media screen and (max-width: 1100px) {
  .p-orderFlow__step {
    justify-content: center;
    gap: 30px;
  }
}
@media screen and (max-width: 768px) {
  .p-orderFlow__step {
    gap: 50px;
  }
}

.p-orderFlow__stepItem {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 2.604vw, 50px);
}
@media screen and (max-width: 1100px) {
  .p-orderFlow__stepItem {
    gap: 15px;
  }
}
@media screen and (max-width: 1100px) {
  .p-orderFlow__stepItem .p-orderFlow__stepText {
    gap: 10px;
  }
}

.p-orderFlow__stepTitle {
  font-weight: 600;
  font-size: clamp(15px, 0.99vw, 19px);
}

.p-orderMade {
  margin-top: clamp(280px, 29.167vw, 560px);
}
@media screen and (max-width: 768px) {
  .p-orderMade {
    margin-top: 220px;
  }
}

.p-orderMade__first {
  display: flex;
  position: relative;
  align-items: center;
  gap: clamp(40px, 5.729vw, 100px);
}
.p-orderMade__first .p-orderMade__left {
  aspect-ratio: 550/750;
  width: 100%;
  max-width: 28.2vw;
  height: auto;
}
@media screen and (max-width: 768px) {
  .p-orderMade__first .p-orderMade__left {
    max-width: 100%;
  }
}
.p-orderMade__first .p-orderMade__left img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.p-orderMade__first .p-orderMade__right {
  padding-bottom: 60px;
}
@media screen and (max-width: 1100px) {
  .p-orderMade__first .p-orderMade__right {
    padding-bottom: 0;
  }
}
.p-orderMade__first .p-orderMade__right .p-orderMade__title {
  text-wrap: nowrap;
}
.p-orderMade__first .p-orderMade__right .p-orderMade__text {
  margin-top: clamp(24px, 1.927vw, 37px);
}
@media screen and (max-width: 768px) {
  .p-orderMade__first {
    flex-direction: column-reverse;
    gap: 50px;
  }
}
.p-orderMade__first .img {
  z-index: -1;
  position: absolute;
  top: clamp(-500px, -26.042vw, -200px);
  right: 0;
  aspect-ratio: 1898/1749;
  width: 100%;
  max-width: 30vw;
  height: auto;
}
@media screen and (max-width: 768px) {
  .p-orderMade__first .img {
    min-width: 200px;
    max-width: 35vw;
  }
}
.p-orderMade__first .img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-orderMade__second {
  display: flex;
  justify-content: space-between;
  gap: clamp(40px, 3.906vw, 75px);
}
@media screen and (max-width: 768px) {
  .p-orderMade__second {
    flex-direction: column;
    gap: 20px;
  }
}
.p-orderMade__second .p-orderMade__left {
  position: relative;
  padding-top: clamp(48px, 6.5vw, 125px);
  padding-left: clamp(80px, 7.8125vw, 150px);
}
@media screen and (max-width: 768px) {
  .p-orderMade__second .p-orderMade__left {
    width: -moz-fit-content;
    width: fit-content;
    margin-inline: auto;
    padding-left: 0;
    padding-block: 50px;
  }
}
.p-orderMade__second .p-orderMade__left .img {
  z-index: -1;
  position: absolute;
  top: 13%;
  left: 0;
  aspect-ratio: 1/1;
  max-width: 15vw;
  height: auto;
}
@media screen and (max-width: 768px) {
  .p-orderMade__second .p-orderMade__left .img {
    display: none;
  }
}
.p-orderMade__second .p-orderMade__left .img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.p-orderMade__second .p-orderMade__textWrap {
  display: flex;
  flex-direction: column;
  margin-top: clamp(24px, 1.927vw, 37px);
  gap: clamp(30px, 3.906vw, 75px);
}
.p-orderMade__second .p-orderMade__right {
  width: 100%;
  max-width: 31.25vw;
  margin-top: -65px;
}
@media screen and (max-width: 1100px) {
  .p-orderMade__second .p-orderMade__right {
    margin-top: -20px;
  }
}
@media screen and (max-width: 768px) {
  .p-orderMade__second .p-orderMade__right {
    max-width: 100%;
    margin-top: 0;
  }
}
.p-orderMade__second .p-orderMade__right .img {
  aspect-ratio: 600/600;
  width: 100%;
  height: auto;
}
.p-orderMade__second .p-orderMade__right .img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-orderMade__subTitle {
  margin-top: 20px;
}

.p-orderMade__bottomImg {
  aspect-ratio: 2306/1289;
  width: 60%;
  max-width: 900px;
  height: auto;
  margin-top: -260px;
  margin-inline: auto 0;
}
.p-orderMade__bottomImg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (max-width: 768px) {
  .p-orderMade__bottomImg {
    width: 80%;
    margin-top: 0;
  }
}

.p-overview {
  margin-top: -90px;
}
@media screen and (max-width: 1100px) {
  .p-overview {
    margin-top: 140px;
  }
}

.p-overview__list {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin-top: clamp(40px, 3.85vw, 75px);
  margin-inline: auto;
}

.p-overview__item {
  display: flex;
  padding: 20px 80px;
  border-top: 1px solid #8F8F8F;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 768px) {
  .p-overview__item {
    padding: 15px 20px;
  }
}
@media screen and (max-width: 600px) {
  .p-overview__item {
    padding-inline: 12px;
  }
}
.p-overview__item dt {
  width: 33%;
  text-transform: uppercase;
}
@media screen and (max-width: 768px) {
  .p-overview__item dt {
    width: 25%;
    min-width: 90px !important;
  }
}
@media (any-hover: hover) {
  .p-overview__item dd a:hover {
    color: rgb(0, 30, 60);
  }
}
.p-overview__item:last-child {
  border-bottom: 1px solid #8F8F8F;
}

.p-works__first {
  display: flex;
  align-items: center;
  gap: clamp(70px, 8.75vw, 168px);
}
@media screen and (max-width: 1100px) {
  .p-works__first {
    margin-top: 40px;
  }
}
.p-works__first .p-works__left {
  aspect-ratio: 600/650;
  width: 100%;
  max-width: 31.25vw;
  height: auto;
}
@media screen and (max-width: 768px) {
  .p-works__first .p-works__left {
    max-width: 100%;
  }
}
.p-works__first .p-works__left img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.p-works__first .p-works__right {
  padding-top: 50px;
}
@media screen and (max-width: 768px) {
  .p-works__first .p-works__right {
    align-self: flex-start;
    padding-top: 0;
    padding-left: 40px;
  }
}
@media screen and (max-width: 400px) {
  .p-works__first .p-works__right {
    padding-left: 0;
  }
}
@media screen and (max-width: 768px) {
  .p-works__first {
    flex-direction: column-reverse;
    gap: 50px;
  }
}
.p-works__first .p-works__title {
  /* どこでも折り返してOK（強い） */
  word-break: normal;
  overflow-wrap: anywhere;
  /* 変な日本語折りを避ける */
}
.p-works__first .p-works__subTitle {
  margin-top: clamp(24px, 1.927vw, 37px);
}
.p-works__first .p-works__text {
  display: flex;
  flex-direction: column;
  margin-top: clamp(24px, 1.927vw, 37px);
  gap: 15px;
}

.p-works__overview {
  position: relative;
  margin-top: clamp(144px, 15vw, 288px);
}
.p-works__overview .p-works__text {
  margin-top: clamp(64px, 5.208vw, 100px);
  line-height: 3;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .p-works__overview .p-works__text {
    text-align: left;
  }
}
.p-works__overview .img {
  z-index: -1;
  position: absolute;
  top: -280px;
  left: 65%;
  aspect-ratio: 1988/1516;
  max-width: 31vw;
  height: auto;
}
@media screen and (max-width: 1100px) {
  .p-works__overview .img {
    top: -150px;
  }
}
@media screen and (max-width: 768px) {
  .p-works__overview .img {
    min-width: 200px;
  }
}
.p-works__overview .img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-works__boxes {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(96px, 7.8125vw, 150px);
  gap: clamp(48px, 4.271vw, 80px);
}
.p-works__boxes .p-works__item {
  aspect-ratio: 1200/800;
  width: 100%;
  max-width: 1200px;
  height: auto;
  overflow: hidden;
}
.p-works__boxes .p-works__item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-works__other {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  padding-top: clamp(360px, 34.635vw, 665px);
}
@media screen and (max-width: 768px) {
  .p-works__other {
    padding-top: 280px;
  }
}
@media screen and (max-width: 600px) {
  .p-works__other {
    padding-top: 230px;
  }
}
.p-works__other .sho {
  z-index: -1;
  position: absolute;
  top: 10%;
  left: 5%;
  aspect-ratio: 2839/1598;
  width: 100%;
  max-width: 43vw;
  height: auto;
}
@media screen and (max-width: 768px) {
  .p-works__other .sho {
    top: 5%;
    min-width: 250px;
  }
}
.p-works__other .sho img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-works__otherBoxes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: clamp(32px, 2.604vw, 50px);
  gap: 30px;
}
@media screen and (max-width: 768px) {
  .p-works__otherBoxes {
    grid-template-columns: 1fr;
  }
}
.p-works__otherBoxes .p-works__otherItem {
  aspect-ratio: 600/400;
  width: 100%;
  height: auto;
  overflow: hidden;
}
.p-works__otherBoxes .p-works__otherItem img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.p-works__otherBoxes .p-works__otherItem {
  display: block;
  position: relative;
}
@media (any-hover: hover) {
  .p-works__otherBoxes .p-works__otherItem:hover .img::after {
    opacity: 0.8;
  }
  .p-works__otherBoxes .p-works__otherItem:hover .p-works__otherItemTitle {
    opacity: 1;
  }
}
.p-works__otherBoxes .p-works__otherItem .p-works__otherItemTitle {
  z-index: 5;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: 200;
  line-height: 1.43;
  letter-spacing: 0.06em;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.p-works__otherBoxes .p-works__otherItem .img {
  position: relative;
  aspect-ratio: 600/400;
  width: 100%;
  height: auto;
  overflow: hidden;
}
.p-works__otherBoxes .p-works__otherItem .img::after {
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.p-works__otherBoxes .p-works__otherItem .img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

@media screen and (max-width: 450px) {
  .u-hiddenPC {
    display: none;
  }
}