/* ========================================
   Base
======================================== */

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

html,
body {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #808080;
  font-family: "Noto Sans JP", sans-serif;
}

a {
  color: inherit;
}

.company,
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.button {
  color: #fff;
}

img {
  display: block;
}

/* ========================================
   Header
======================================== */

.header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  inset: 0 0 auto;
  width: 100%;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.admin-bar .header {
  top: var(--wp-admin--admin-bar--height, 32px);
}

.header__inner {
  width: 100%;
  max-width: 1440px;
  height: 100%;
  margin-inline: auto;
  padding-inline: 19px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  display: flex;
  flex: 0 0 63px;
  align-items: stretch;
  align-self: stretch;
  margin: 0;
}

.header__logo-link {
  display: flex;
  width: 100%;
  align-items: center;
  text-decoration: none;
}

.header__logo img {
  width: 43px;
  height: auto;
}

.header__nav {
  flex: 0 0 auto;
  color: #808080;
}

.header__list {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.header__item {
  width: clamp(96px, 8.8889vw, 128px);
}

.header__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 55px;
  color: #808080;
  font-size: 16px;
  text-decoration: none;
}

.header__menu-button,
.header__overlay {
  display: none;
}

.header__logo-link:focus-visible,
.header__link:focus-visible,
.header__menu-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

#about,
#services,
#message,
#company,
#contact {
  scroll-margin-top: 70px;
}

/* ========================================
   Utilities
======================================== */

.pc-only {
  display: inline;
}

.sp-only {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.u__comma {
  margin-right: -0.35em;
}

@media (max-width: 767px) {
  .pc-only {
    display: none;
  }

  .sp-only {
    display: inline;
  }
}

/* ========================================
   Hero
======================================== */

@property --hero-dissolve-progress {
  syntax: "<percentage>";
  inherits: false;
  initial-value: -74%;
}

.hero {
  --hero-gradient-opacity: 0.8;
  --hero-gradient-blend-mode: screen;
  --hero-gradient-duration: 2.5s;
  --hero-pan-distance: 4.5%;
  --hero-case-visible-duration: 3s;
  --hero-case-fade-duration: 1s;
  --hero-pan-duration: calc(
    var(--hero-case-visible-duration) + var(--hero-case-fade-duration)
  );
  position: relative;
  width: 100%;
  height: 750px;
  overflow: hidden;
}

.hero__cases,
.hero__gradient,
.hero__bottom-fade {
  position: absolute;
  pointer-events: none;
}

.hero__cases {
  z-index: 0;
  inset: 0;
  overflow: hidden;
}

.hero__case {
  --hero-dissolve-x: 50%;
  --hero-dissolve-y: 50%;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--hero-case-fade-duration) ease-in-out;
}

.hero__case.is-active,
.hero__case.is-fading-in,
.hero__case.is-fading-out {
  visibility: visible;
}

.hero__case.is-active,
.hero__case.is-fading-in {
  opacity: 1;
}

.hero__case.is-active,
.hero__case.is-fading-in,
.hero__case.is-fading-out {
  z-index: 1;
}

.hero__case.is-fading-out {
  opacity: 0;
}

@supports (
  (mask-image: radial-gradient(circle, #000, transparent)) or
    (-webkit-mask-image: radial-gradient(circle, #000, transparent))
) {
  .hero__case {
    transition: none;
  }

  .hero__case.is-fading-in,
  .hero__case.is-fading-out {
    opacity: 1;
    -webkit-mask-image: radial-gradient(
      circle at var(--hero-dissolve-x) var(--hero-dissolve-y),
      transparent 0%,
      transparent var(--hero-dissolve-progress),
      rgba(0, 0, 0, 0.12) calc(var(--hero-dissolve-progress) + 16%),
      rgba(0, 0, 0, 0.48) calc(var(--hero-dissolve-progress) + 40%),
      #000 calc(var(--hero-dissolve-progress) + 74%)
    );
    -webkit-mask-repeat: no-repeat;
    mask-image: radial-gradient(
      circle at var(--hero-dissolve-x) var(--hero-dissolve-y),
      transparent 0%,
      transparent var(--hero-dissolve-progress),
      rgba(0, 0, 0, 0.12) calc(var(--hero-dissolve-progress) + 16%),
      rgba(0, 0, 0, 0.48) calc(var(--hero-dissolve-progress) + 40%),
      #000 calc(var(--hero-dissolve-progress) + 74%)
    );
    mask-repeat: no-repeat;
    animation-name: hero-case-dissolve;
    animation-duration: var(--hero-case-fade-duration);
    animation-timing-function: linear;
    animation-fill-mode: both;
  }

  .hero__case.is-fading-in {
    animation-direction: reverse;
  }
}

.hero__case.is-hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes hero-case-dissolve {
  0% {
    --hero-dissolve-progress: -74%;
  }

  25% {
    --hero-dissolve-progress: -62%;
  }

  55% {
    --hero-dissolve-progress: -18%;
  }

  80% {
    --hero-dissolve-progress: 42%;
  }

  100% {
    --hero-dissolve-progress: 130%;
  }
}

.hero__case-image {
  flex: 0 0 auto;
  width: max(1600px, 111.111vw);
  height: auto;
  max-width: none;
  transform: translateX(var(--hero-pan-distance));
  opacity: 0.3;
}

.hero__case.is-panning .hero__case-image {
  animation-name: hero-case-pan;
  animation-duration: var(--hero-pan-duration);
  animation-timing-function: linear;
  animation-fill-mode: forwards;
  will-change: transform;
}

@keyframes hero-case-pan {
  from {
    transform: translateX(var(--hero-pan-distance));
  }

  to {
    transform: translateX(calc(0% - var(--hero-pan-distance)));
  }
}

.hero__gradient {
  z-index: 1;
  inset: 0;
  opacity: var(--hero-gradient-opacity);
  mix-blend-mode: var(--hero-gradient-blend-mode);
  animation: hero-gradient-pulse var(--hero-gradient-duration) ease-in-out
    infinite;
}

@keyframes hero-gradient-pulse {
  0% {
    opacity: calc(var(--hero-gradient-opacity) - 0.12);
  }

  35% {
    opacity: calc(var(--hero-gradient-opacity) + 0.12);
  }

  70% {
    opacity: calc(var(--hero-gradient-opacity) - 0.12);
  }

  100% {
    opacity: calc(var(--hero-gradient-opacity) - 0.12);
  }
}

.hero__gradient img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.hero__bottom-fade {
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 247px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
}

.hero__copy {
  position: absolute;
  top: 69px;
  left: 15px;
  margin: 0;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-size: 143px;
  font-style: normal;
  font-weight: 200;
  line-height: 159px;
}

.hero__copy-line {
  display: block;
}

.hero__copy-line--01 {
  letter-spacing: -0.02em;
}

.hero__copy-line--02 {
  letter-spacing: -0.08em;
}

.hero__copy-line--03 {
  letter-spacing: -0.02em;
}

.hero__logo {
  position: absolute;
  top: 369px;
  right: 42px;
  width: clamp(280px, 26.1vw, 376px);
}

.hero__logo img {
  width: 100%;
  height: auto;
}

/* ========================================
   About
======================================== */

.about {
  padding: 140px 40px 120px;
  background: #fff;
}

.about__inner {
  display: grid;
  grid-template-columns: minmax(260px, 399px) minmax(0, 650px);
  gap: clamp(64px, 6.944vw, 100px);
  justify-content: center;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}

.about__title {
  align-self: center;
  width: 100%;
  max-width: 399px;
  margin: 0;
}

.about__title-image {
  width: 100%;
  height: auto;
}

.about__content {
  width: 100%;
  max-width: 650px;
}

.about__lead {
  margin: 0;
  font-size: 36px;
  font-weight: 300;
  line-height: 70px;
  letter-spacing: 0;
}

.about__body {
  max-width: 650px;
  margin: 32px 0 0;
  font-size: 20px;
  font-weight: 350;
  line-height: 38px;
  letter-spacing: 0;
  text-align: justify;
}

.about__body-paragraph {
  margin: 0;
}

.about__body-paragraph + .about__body-paragraph {
  margin-top: 19px;
}

@media (min-width: 1025px) {
  .about {
    padding-top: 80px;
  }

  .about__inner {
    grid-template-columns: minmax(260px, 399px) minmax(0, 760px);
    max-width: 1260px;
  }

  .about__title {
    align-self: start;
    margin-top: 90px;
  }

  .about__content,
  .about__body {
    max-width: 760px;
  }

  .about__body {
    font-feature-settings: "palt";
  }
}

.content-parallax {
  --content-parallax-travel-ratio: 0.91;
  --content-parallax-max-travel: 1000px;
  --content-parallax-offset: 0px;
  position: relative;
  width: 100%;
  height: 340px;
  overflow: hidden;
  background: #fff;
}

.content-parallax__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--content-parallax-offset), 0);
  will-change: transform;
}

/* ========================================
   Values
======================================== */

.values {
  padding: 80px 40px 92px;
  background: #fff;
}

.values__inner {
  display: grid;
  gap: 48px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.values__card {
  text-align: center;
}

.values__number {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 166px;
  font-weight: 100;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.values__number--planning {
  color: #f48678;
}

.values__number--creative {
  color: #7ccabd;
}

.values__number--production {
  color: #bed500;
}

.values__copy {
  margin: 10px 0 0;
  font-size: 50px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0;
  transform: translateX(0.5em);
}

.values__title {
  margin: 8px 0 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0;
}

.values__description {
  margin: 14px auto 0;
  font-size: 22px;
  font-weight: 350;
  line-height: 1.9;
  letter-spacing: 0;
}

/* ========================================
   Services
======================================== */

.services {
  position: relative;
  padding: 130px 40px 115px;
  background: #fff;
}

.services::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    #eea9a7 0%,
    #c3b2d4 33%,
    #a6daec 66%,
    #c5da53 100%
  );
  content: "";
}

.services__inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}

.services__header {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(40px, 4.1667vw, 60px);
  align-items: center;
}

.services__lead {
  margin: 0;
  font-size: clamp(27px, 2.8vw, 36px);
  font-weight: 300;
  line-height: 1.944444;
  transform: translateY(5px);
}

.services__title {
  width: 100%;
  max-width: 432px;
  margin: 0;
}

.services__title-image,
.services__diagram-image,
.services__modal-title img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.services__diagram {
  width: 100%;
  margin: 100px auto 0;
}

.services__diagram-image {
  max-width: 876px;
  margin-inline: auto;
}

.services__details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4.1667vw, 60px);
  width: 100%;
  max-width: 1000px;
  margin-top: 88px;
  margin-inline: auto;
}

.services__column {
  min-width: 0;
}

.services__group {
  margin: 0;
  font-size: clamp(15px, 1.25vw, 16px);
  font-weight: 350;
  line-height: 1.75;
  word-break: auto-phrase;
}

.services__group + .services__group {
  margin-top: 34px;
}

.services__more {
  display: none;
}

.services__modal[hidden] {
  display: none;
}

.services__modal {
  position: fixed;
  z-index: 100000;
  inset: 0;
  overflow: hidden;
  background: rgba(128, 128, 128, 0.45);
}

.services__modal-inner {
  width: min(100%, 640px);
  height: calc(100dvh - min(40px, 6.25vw));
  margin: min(40px, 6.25vw) auto 0;
  padding: min(58px, 9.0625vw) min(32px, 5vw) min(80px, 12.5vw);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border-radius: min(24px, 3.75vw) min(24px, 3.75vw) 0 0;
  -webkit-overflow-scrolling: touch;
}

.services__modal-header {
  position: relative;
}

.services__modal-title {
  width: 67.5%;
  max-width: 432px;
  margin: 0 auto;
}

.services__modal-close {
  position: fixed;
  top: min(68px, 10.625vw);
  right: calc(max(0px, (100vw - 640px) / 2) + min(32px, 5vw));
  width: min(52px, 8.125vw);
  height: min(52px, 8.125vw);
  padding: 0;
  color: #808080;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.services__modal-close::before,
.services__modal-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 1px;
  background: currentColor;
  content: "";
}

.services__modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.services__modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.services__modal-close:focus-visible,
.services__more-button:focus-visible {
  outline: 2px solid #808080;
  outline-offset: 3px;
}

.services__modal-content {
  width: 100%;
  margin: min(72px, 11.25vw) auto 0;
  text-align: center;
}

.services__modal-group {
  margin: 0;
  font-size: clamp(14px, 3.125vw, 20px);
  font-weight: 350;
  line-height: 1.9;
  word-break: auto-phrase;
}

.services__modal-group + .services__modal-group {
  margin-top: min(42px, 6.5625vw);
}

/* ========================================
   Message
======================================== */

.message {
  padding: 120px 40px 140px;
  background: #fff;
}

.message__inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.message__visual {
  position: relative;
  width: 100%;
}

.message__picture,
.message__image {
  display: block;
  width: 100%;
  height: auto;
}

.message__title {
  position: absolute;
  top: 50%;
  left: 8%;
  margin: 0;
  color: #808080;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 64px;
  font-weight: 350;
  line-height: 1;
  letter-spacing: 0;
  transform: translateY(-50%);
}

.message__body {
  margin-top: 76px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 350;
  line-height: 38px;
  letter-spacing: 0;
}

.message__text {
  text-align: justify;
}

.message__paragraph,
.message__signature {
  margin: 0;
}

.message__paragraph + .message__paragraph {
  margin-top: 0;
}

.message__signature {
  display: flex;
  gap: 1em;
  margin-top: 48px;
}

/* ========================================
   Company / Contact
======================================== */

.company-contact {
  width: 100%;
  background: linear-gradient(
    90deg,
    #e7a48e 0%,
    #cdb4d1 33%,
    #a6daec 66%,
    #c5da53 100%
  );
}

.company {
  padding: 64px 40px 0;
  color: #fff;
}

.company__inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.company__title,
.contact__title {
  margin: 0;
  font-size: 40px;
  font-weight: 350;
  line-height: 1;
  letter-spacing: 0;
}

.company__information {
  margin-top: 48px;
  font-size: 18px;
  font-weight: 350;
  line-height: 1.9;
  letter-spacing: 0;
  word-break: auto-phrase;
}

.company__group + .company__group {
  margin-top: 48px;
}

.company__item {
  margin: 0;
}

.contact {
  padding: 80px 40px 80px;
  overflow-anchor: none;
}

.contact__inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 80px 64px;
  color: #808080;
  background: #fff;
  border-radius: 8px;
}

.contact__title {
  color: #a6daec;
  text-align: center;
}

.contact__lead {
  margin: 32px 0 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0;
  text-align: center;
  word-break: auto-phrase;
}

.contact.is-sent .contact__lead {
  display: none;
}

.contact__form {
  width: 100%;
  max-width: 760px;
  margin: 48px auto 0;
}

.contact__form .wpcf7,
.contact__form .wpcf7-form {
  width: 100%;
}

.contact__form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  min-width: 0;
}

.contact__form .wpcf7-form-control {
  max-width: 100%;
}

.contact__form .wpcf7-form p {
  margin: 0;
}

.contact__form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 8px;
  color: #d85c5c;
  font-size: 13px;
  font-weight: 350;
  line-height: 1.5;
}

.contact__form .wpcf7-form-control.wpcf7-not-valid {
  border-color: #d85c5c;
}

.contact__form .wpcf7-response-output {
  margin: 80px auto 0;
  padding: 0;
  font-size: clamp(20px, calc(16px + 0.625vw), 22px);
  font-weight: 350;
  line-height: 1.8;
  text-align: center;
}

.contact__form form.invalid .wpcf7-response-output,
.contact__form form.unaccepted .wpcf7-response-output,
.contact__form form.payment-required .wpcf7-response-output {
  color: #b44949;
  background: #fff5f5;
  border: 1px solid #d85c5c;
}

.contact__form form.sent .wpcf7-response-output {
  color: #4f858f;
  background: transparent;
  border: 0;
  padding: 0;
}

.wpcf7 form.sent .contact__field,
.wpcf7 form.sent .contact__actions {
  display: none;
}

.contact.is-sent .wpcf7-response-output {
  margin-top: 16px;
}

.contact__success-title {
  display: block;
  font-size: clamp(20px, calc(4px + 5vw), 36px);
  font-weight: 400;
  line-height: 1.4;
  color: #3d707b;
}

.contact__success-text {
  display: block;
  font-size: clamp(16px, calc(8px + 2vw), 24px);
  line-height: 1.8;
  margin-top: 16px;
  color: #808080;
}

.contact__field {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.contact__field + .contact__field {
  margin-top: 24px;
}

.contact__label {
  font-size: 16px;
  font-weight: 350;
  line-height: 1.6;
  text-align: left;
}

.contact__input,
.contact__textarea {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 10px 16px;
  color: #808080;
  font: inherit;
  background: #fff;
  border: 1px solid #aaa;
  border-radius: 8px;
  box-shadow: none;
}

.contact__input {
  height: 48px;
}

.contact__textarea {
  min-height: 180px;
  resize: vertical;
}

.contact__input:focus-visible,
.contact__textarea:focus-visible,
.contact__submit:focus-visible {
  outline: 2px solid #6ebbd3;
  outline-offset: 3px;
}

.contact__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}

.contact__privacy {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}

.contact__privacy-link {
  padding: 0;
  color: inherit;
  font: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact__privacy-link:focus-visible,
.contact__privacy-close:focus-visible {
  outline: 2px solid #6ebbd3;
  outline-offset: 3px;
}

.contact__privacy-modal[hidden] {
  display: none;
}

.contact__privacy-modal {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 24px
    max(24px, env(safe-area-inset-bottom));
}

.contact__privacy-overlay {
  position: absolute;
  inset: 0;
  background: rgba(128, 128, 128, 0.55);
}

.contact__privacy-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(880px, 100%);
  max-height: 100%;
  color: #808080;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.contact__privacy-header {
  display: flex;
  flex: 0 0 auto;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px 24px;
}

.contact__privacy-title {
  margin: 0;
  color: #6ebbd3;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  line-height: 1.4;
}

.contact__privacy-close {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #808080;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.contact__privacy-close::before,
.contact__privacy-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.contact__privacy-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.contact__privacy-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.contact__privacy-body {
  min-height: 0;
  padding: 32px;
  overflow-y: auto;
  overscroll-behavior: contain;
  font-size: 16px;
  font-weight: 350;
  line-height: 1.9;
  overflow-wrap: anywhere;
  -webkit-overflow-scrolling: touch;
}

.contact__privacy-body > :first-child {
  margin-top: 0;
}

.contact__privacy-body > :last-child {
  margin-bottom: 0;
}

.contact__privacy-body h1,
.contact__privacy-body h2,
.contact__privacy-body h3,
.contact__privacy-body h4,
.contact__privacy-body h5,
.contact__privacy-body h6 {
  margin: 2em 0 0.75em;
  color: #666;
  font-weight: 500;
  line-height: 1.5;
}

.contact__privacy-body h1 {
  font-size: 1.6em;
}

.contact__privacy-body h2 {
  font-size: 1.4em;
}

.contact__privacy-body h3,
.contact__privacy-body h4,
.contact__privacy-body h5,
.contact__privacy-body h6 {
  font-size: 1.15em;
}

.contact__privacy-body p,
.contact__privacy-body ul,
.contact__privacy-body ol {
  margin: 0 0 1.25em;
}

.contact__privacy-body ul,
.contact__privacy-body ol {
  padding-left: 1.75em;
  list-style-position: outside;
}

.contact__privacy-body ul {
  list-style-type: disc;
}

.contact__privacy-body ol {
  list-style-type: decimal;
}

.contact__privacy-body li + li {
  margin-top: 0.4em;
}

.contact__privacy-body a {
  color: #4f91a5;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

body.contact-privacy-modal-open {
  overflow: hidden;
}

.contact__consent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.6;
  cursor: pointer;
}

.contact__consent-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contact__consent-box {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 1px solid #aaa;
  border-radius: 3px;
}

.contact__consent-input:checked + .contact__consent-box {
  background-color: #a6daec;
  border-color: #a6daec;
}

.contact__consent-input:checked + .contact__consent-box::after {
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: "";
  transform: rotate(45deg);
}

.contact__consent-input:focus-visible + .contact__consent-box {
  outline: 2px solid #6ebbd3;
  outline-offset: 3px;
}

.contact__consent-text {
  display: block;
}

.contact__consent .wpcf7-form-control-wrap,
.contact__consent .wpcf7-acceptance,
.contact__consent .wpcf7-list-item {
  display: block;
}

.contact__consent .wpcf7-list-item {
  margin: 0;
}

.contact__consent label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.contact__consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 1px solid #808080;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.contact__consent input[type="checkbox"]:checked {
  background-color: #5bafcf;
  border-color: #5bafcf;
}

.contact__consent input[type="checkbox"]:checked::before {
  content: "";
  display: block;
  width: 6px;
  height: 12px;
  margin: 2px auto 0;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.contact__consent input[type="checkbox"]:focus-visible {
  outline: 2px solid #5bafcf;
  outline-offset: 2px;
}

.contact__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 360px;
  height: 48px;
  padding: 0;
  font: inherit;
  font-size: 22px;
  font-weight: 400;
  border-radius: 999px;
  cursor: pointer;
  margin-top: 24px;
}

.services__more-button,
.contact__submit {
  color: #fff;
  background-color: #a6daec;
  border: 1px solid #a6daec;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .services__more-button:hover,
  .contact__submit:hover {
    color: #a6daec;
    background-color: #fff;
    border-color: #a6daec;
  }
}

/* ========================================
   Footer
======================================== */

.footer {
  padding: 160px 32px 72px;
  background: #fff;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

.footer__logo {
  width: 350px;
}

.footer__group-logo {
  width: 197px;
  margin-top: 160px;
}

.footer__logo-image,
.footer__group-logo-image {
  display: block;
  width: 100%;
  height: auto;
}

.footer__logo:focus-visible,
.footer__group-logo:focus-visible {
  outline: 2px solid #a6daec;
  outline-offset: 4px;
}

/* ========================================
   Page
======================================== */

main.page {
  padding: 150px 0 120px;
}

.page__inner {
  width: min(calc(100% - 80px), 1000px);
  margin-inline: auto;
}

.page__title {
  margin: 0 0 64px;
  font-size: clamp(32px, 3.333vw, 48px);
  font-weight: 350;
  line-height: 1.4;
}

.page__content {
  font-size: 16px;
  line-height: 2;
}

.page__content > *:first-child {
  margin-top: 0;
}

.page__content > *:last-child {
  margin-bottom: 0;
}

.page__content p {
  margin: 0 0 24px;
}

.page__content h2 {
  margin: 64px 0 24px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.5;
}

.page__content h3 {
  margin: 48px 0 20px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
}

.page__content ul,
.page__content ol {
  margin: 0 0 24px;
  padding-left: 1.5em;
}

.page__content a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ========================================
   Not Found
======================================== */

.error404 {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  background: #fff;
}

.not-found {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  padding: 150px 24px 120px;
  background: #fff;
}

.not-found__inner {
  width: 100%;
  max-width: 900px;
  text-align: center;
}

.not-found__image {
  width: min(100%, 831px);
  height: auto;
  margin-inline: auto;
}

.not-found__title {
  margin: 48px 0 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
}

.not-found__text {
  margin: 28px 0 0;
  font-size: 20px;
  font-weight: 350;
  line-height: 2;
}

.not-found__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(360px, 100%);
  min-height: 48px;
  margin: 48px auto 0;
  padding: 8px 24px;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  background-color: #a6daec;
  border: 1px solid #a6daec;
  border-radius: 999px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.not-found__button:focus-visible {
  outline: 2px solid #6ebbd3;
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .not-found__button:hover {
    color: #a6daec;
    background-color: #fff;
    border-color: #a6daec;
  }
}

/* ========================================
   Responsive
======================================== */

@media (max-width: 1250px) {
  .hero__copy {
    font-size: clamp(110px, 13vw, 143px);
    line-height: 1.11;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  /* About */
  .about__inner {
    display: block;
  }

  .about__title {
    width: min(39vw, 300px);
    margin: 0 auto;
  }

  .about__content {
    margin: 64px auto 0;
  }

  .about__lead {
    text-align: center;
  }

  /* Services */
  .services__header {
    grid-template-columns: 1fr;
    gap: 40px;
    justify-items: center;
  }

  .services__lead {
    text-align: center;
    font-size: 36px;
  }

  /* Contact */
  .contact__field {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .contact__label {
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  /* Header */
  .header {
    height: min(70px, 10.9375vw);
  }

  .header__inner {
    padding-inline: min(18px, 2.8125vw);
  }

  .header__logo {
    flex-basis: min(77px, 12.03125vw);
  }

  .header__logo img {
    width: min(59px, 9.21875vw);
    height: min(54px, 8.4375vw);
  }

  .header__menu-button {
    position: relative;
    z-index: 3;
    display: flex;
    width: min(70px, 10.9375vw);
    height: min(70px, 10.9375vw);
    padding: 0;
    border: 0;
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: min(15px, 2.34375vw);
    color: #808080;
    cursor: pointer;
  }

  .header__menu-line {
    display: block;
    width: min(36px, 5.625vw);
    height: 1.5px;
    background-color: #808080;
    flex: 0 0 auto;
    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }

  .header__menu-button.is-open .header__menu-line:nth-child(1) {
    transform: translateY(calc(min(15px, 2.34375vw) + 1.5px)) rotate(45deg);
  }

  .header__menu-button.is-open .header__menu-line:nth-child(2) {
    opacity: 0;
  }

  .header__menu-button.is-open .header__menu-line:nth-child(3) {
    transform: translateY(calc(0px - min(15px, 2.34375vw) - 1.5px))
      rotate(-45deg);
  }

  .header__nav {
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    width: min(320px, 50vw);
    height: auto;
    min-height: 0;
    padding-top: min(56px, 8.75vw);
    border-bottom-left-radius: min(8px, 1.25vw);
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translate(100%, min(-6px, -0.9375vw));
    transform-origin: top right;
    pointer-events: none;
    transition:
      transform 0.3s ease,
      opacity 0.3s ease,
      visibility 0.3s;
  }

  .admin-bar .header__nav {
    top: 0;
  }

  .header__nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 0);
    pointer-events: auto;
  }

  .header__list {
    display: block;
    width: 100%;
  }

  .header__item {
    position: relative;
    width: 100%;
  }

  .header__item:not(:last-child)::after {
    display: block;
    width: 100%;
    height: 4px;
    background: linear-gradient(
      90deg,
      #eea9a7 0%,
      #c3b2d4 33%,
      #a6daec 66%,
      #c5da53 100%
    );
    content: "";
  }

  .header__link {
    justify-content: flex-start;
    height: min(80px, 12.5vw);
    padding-inline: min(32px, 5vw);
    font-size: min(22px, 3.4375vw);
    font-weight: 400;
    line-height: min(60px, 9.375vw);
    white-space: nowrap;
  }

  .header__overlay {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    display: block;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.3s ease,
      visibility 0.3s;
  }

  .admin-bar .header__overlay {
    top: calc(0px - var(--wp-admin--admin-bar--height, 46px));
  }

  .header__overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  #about,
  #services,
  #message,
  #company,
  #contact {
    scroll-margin-top: min(70px, 10.9375vw);
  }
}

@media (max-width: 767px) {
  /* Hero */
  .hero {
    height: auto;
    aspect-ratio: 640 / 750;
  }

  .hero__case-image {
    width: 111.111%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero__bottom-fade {
    height: 38.59375vw;
  }

  .hero__inner {
    padding-top: 10.78125vw;
  }

  .hero__copy {
    position: static;
    margin: 0;
    font-size: 16.5vw;
    line-height: 19vw;
  }

  .hero__logo {
    position: static;
    width: 58.75vw;
    margin-top: 12.03125vw;
    margin-left: 2.1875vw;
  }

  /* About */
  .about {
    padding: 80px clamp(16px, 5vw, 32px) 72px;
  }

  .about__inner {
    display: block;
  }

  .about__title {
    width: min(399px, 62.34375vw);
    margin: 0 auto;
  }

  .about__content {
    max-width: none;
    margin-top: 48px;
  }

  .about__lead {
    font-size: clamp(20px, calc(4px + 5vw), 36px);
    font-weight: 300;
    line-height: 1.944444;
    letter-spacing: 0;
    text-align: center;
  }

  .about__body {
    margin-top: 44px;
    font-size: clamp(16px, calc(8px + 2vw), 24px);
    font-weight: 350;
    line-height: 1.583333;
    letter-spacing: 0;
    text-align: justify;
  }

  .content-parallax {
    --content-parallax-travel-ratio: 0.8;
    --content-parallax-max-travel: 600px;
    height: 340px;
  }

  .content-parallax.content-parallax--about,
  .content-parallax.content-parallax--values {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 640 / 340;
    overflow: hidden;
  }

  .content-parallax.content-parallax--about > picture,
  .content-parallax.content-parallax--values > picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }

  /* Values */
  .values {
    padding: clamp(56px, 10.9375vw, 64px) clamp(16px, 5vw, 32px)
      clamp(64px, 13.4375vw, 86px);
  }

  .values__inner {
    gap: clamp(32px, 11.25vw, 72px);
  }

  .values__number {
    font-size: clamp(112px, calc(28px + 21.5625vw), 166px);
  }

  .values__copy {
    margin-top: clamp(16px, 3.4375vw, 22px);
    font-size: clamp(30px, calc(4px + 7.1875vw), 50px);
  }

  .values__title {
    margin-top: 10px;
    font-size: clamp(16px, calc(7px + 2.65625vw), 24px);
  }

  .values__description {
    margin-top: clamp(16px, 3.125vw, 20px);
    font-size: clamp(16px, calc(4px + 3.125vw), 24px);
    line-height: 1.65;
  }

  /* Services */
  .services {
    padding: min(90px, 14.0625vw) min(16px, 5vw) min(96px, 15vw);
  }

  .services__header {
    display: flex;
    gap: 0;
    flex-direction: column;
  }

  .services__lead {
    font-size: clamp(20px, calc(4px + 5vw), 36px);
    line-height: 1.833333;
    text-align: center;
  }

  .services__title {
    width: min(432px, 67.5vw);
    max-width: 432px;
    margin-top: min(68px, 10.625vw);
  }

  .services__diagram {
    width: 100%;
    margin-top: min(70px, 10.9375vw);
  }

  .services__details {
    display: none;
  }

  .services__more {
    display: flex;
    justify-content: center;
    margin-top: min(72px, 11.25vw);
  }

  .services__more-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(360px, 56.25vw);
    height: 48px;
    padding: 0;
    font: inherit;
    font-size: min(24px, 3.75vw);
    font-weight: 500;
    border-radius: 999px;
    cursor: pointer;
  }

  /* Message */
  .message {
    padding: min(80px, 12.5vw) 0 min(112px, 17.5vw);
  }

  .message__title {
    top: 50%;
    left: 73%;
    font-size: clamp(36px, 10vw, 64px);
    line-height: 1;
    transform: translate(-50%, -50%);
  }

  .message__body {
    margin-top: min(64px, 10vw);
    padding-inline: clamp(16px, 5vw, 32px);
    font-size: clamp(16px, calc(8px + 2vw), 24px);
    line-height: 1.583333;
  }

  .message__paragraph + .message__paragraph {
    margin-top: 0;
  }

  .message__signature {
    gap: 1em;
    margin-top: min(48px, 7.5vw);
  }

  /* Company / Contact */
  .company {
    padding: 48px clamp(16px, 5vw, 32px) 0;
  }

  .company__title,
  .contact__title {
    font-size: clamp(32px, 10vw, 40px);
  }

  .company__information {
    margin-top: 40px;
    font-size: clamp(12px, calc(6px + 1.875vw), 18px);
    line-height: 1.9;
  }

  .company__group + .company__group {
    margin-top: 40px;
  }

  .contact {
    padding: 48px clamp(16px, 5vw, 32px) 48px;
  }

  .contact__inner {
    padding: 24px clamp(16px, 5vw, 24px) 56px;
  }

  .contact__lead {
    margin-top: 32px;
    font-size: clamp(16px, 3.4375vw, 22px);
    line-height: 1.9;
  }

  .contact__form {
    margin-top: 40px;
  }

  .contact__form .wpcf7-not-valid-tip {
    font-size: clamp(12px, calc(10px + 0.625vw), 14px);
  }

  .contact__form .wpcf7-response-output {
    font-size: clamp(12px, calc(10px + 0.625vw), 14px);
  }

  .contact__success-title {
    font-size: clamp(16px, calc(0px + 5vw), 32px);
  }

  .contact__field {
    display: block;
  }

  .contact__field + .contact__field {
    margin-top: 18px;
  }

  .contact__label {
    display: block;
    font-size: clamp(14px, 3.125vw, 20px);
  }

  .contact__input,
  .contact__textarea {
    margin-top: 12px;
    padding-inline: clamp(12px, 2.5vw, 16px);
  }

  .contact__input {
    height: 56px;
  }

  .contact__textarea {
    min-height: 200px;
  }

  .contact__actions {
    margin-top: 40px;
  }

  .contact__consent {
    gap: 8px;
    margin-top: 18px;
    font-size: clamp(12px, 2.8125vw, 16px);
  }

  .contact__consent-box {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
  }

  .contact__consent-input:checked + .contact__consent-box::after {
    top: 2px;
    left: 5px;
  }

  .contact__privacy {
    font-size: clamp(12px, calc(10px + 0.625vw), 14px);
  }

  .contact__privacy-modal {
    padding: max(12px, env(safe-area-inset-top)) 12px
      max(12px, env(safe-area-inset-bottom));
  }

  .contact__privacy-dialog {
    border-radius: 12px;
  }

  .contact__privacy-header {
    gap: 12px;
    padding: 18px 16px 16px;
  }

  .contact__privacy-title {
    font-size: clamp(18px, 5.625vw, 24px);
  }

  .contact__privacy-close {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .contact__privacy-close::before,
  .contact__privacy-close::after {
    width: 24px;
  }

  .contact__privacy-body {
    padding: 20px 16px 28px;
    font-size: clamp(13px, 4.0625vw, 15px);
  }

  .contact__submit {
    width: min(360px, 56.25vw);
    height: 48px;
    font-size: min(24px, 3.75vw);
    margin-top: 24px;
  }

  /* Footer */
  .footer {
    padding: 140px clamp(16px, 5vw, 32px) 80px;
  }

  .footer__logo {
    width: min(350px, 70vw);
  }

  .footer__group-logo {
    width: min(197px, 45vw);
    margin-top: 160px;
  }

  /* Page */
  main.page {
    padding: 110px 0 80px;
  }

  .page__inner {
    width: min(calc(100% - 40px), 1000px);
  }

  .page__title {
    margin-bottom: 40px;
    font-size: 28px;
  }

  .page__content {
    font-size: 15px;
    line-height: 1.9;
  }

  .page__content h2 {
    margin-top: 48px;
    font-size: 22px;
  }

  .page__content h3 {
    margin-top: 36px;
    font-size: 18px;
  }

  /* Not Found */
  .not-found {
    padding: max(104px, 16.25vw) 0 max(88px, 13.75vw);
  }

  .not-found__inner {
    max-width: none;
  }

  .not-found__image {
    width: 100%;
  }

  .not-found__title {
    margin: min(64px, 10vw) 20px 0;
    font-size: clamp(20px, 4.375vw, 28px);
    line-height: 1.6;
  }

  .not-found__text {
    margin: min(40px, 6.25vw) 16px 0;
    font-size: clamp(15px, 3.75vw, 24px);
    line-height: 1.9;
  }

  .not-found__button {
    width: min(360px, 56.25vw);
    margin-top: min(56px, 8.75vw);
    padding: 0;
    font-size: min(24px, 3.75vw);
  }
}

/* ========================================
   Reduced Motion
======================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__gradient {
    animation: none;
    opacity: var(--hero-gradient-opacity);
  }

  .hero__case {
    transition: none;
  }

  .hero__case.is-fading-out {
    opacity: 0;
    -webkit-mask-image: none;
    mask-image: none;
    animation: none;
  }

  .hero__case:first-child {
    opacity: 1;
  }

  .hero__case:not(:first-child) {
    opacity: 0;
  }

  .hero__case-image,
  .hero__case.is-panning .hero__case-image {
    animation: none;
    transform: none;
    will-change: auto;
  }

  .content-parallax__image {
    will-change: auto;
  }

  .header__menu-line,
  .header__nav,
  .header__overlay {
    transition: none;
  }
}
