html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.75;
  background: #fff;
}

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

a {
  color: inherit;
}

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

.js-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-fog {
  opacity: 0;
  filter: blur(14px) brightness(1.06);
  transform: scale(1.015);
  transition: opacity 1s ease, filter 1.2s ease, transform 1.2s ease;
}

.js-fog.is-visible {
  opacity: 1;
  filter: blur(0) brightness(1);
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .js-fade,
.js-fog {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
.l-container {
  width: min(100% - 32px, 1080px);
  margin-inline: auto;
}

.l-container--narrow {
  width: min(100% - 32px, 800px);
}

.c-section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.c-section-title__en {
  color: #004381;
  font-family: "Minion Pro", serif;
  font-size: clamp(2.75rem, 5.4vw, 4rem);
  line-height: 1;
}

.c-section-title__ja {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.c-section-title--left {
  align-items: flex-start;
}

.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #c9a063;
  color: #fff;
  transition: opacity 0.3s ease;
}
.c-btn:hover {
  opacity: 0.8;
}

.c-btn--header {
  min-height: 38px;
  padding: 12px 24px 7px;
  font-family: "Minion Pro", serif;
  font-size: 1.125rem;
  line-height: 1;
  transition: all 0.3s ease;
  border: 1px solid #c9a063;
}
.c-btn--header:hover {
  opacity: 1;
  background: #fff;
  color: #c9a063;
}

.c-btn--submit {
  width: min(100%, 335px);
  min-height: 52px;
  padding: 16px 14px;
  border: 0;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.c-btn--submit:disabled {
  background: #bdbdbd;
  color: #fff;
  cursor: not-allowed;
  opacity: 1;
}

.l-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
}

.l-header__wrap {
  width: min(100% - 32px, 1280px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px clamp(16px, 4vw, 48px);
  border-radius: 50px;
  background: #f6faff;
}

.l-header__logo {
  display: block;
  width: min(240px, 42vw);
}

.l-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.l-header__menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.l-header__menu a {
  position: relative;
  display: inline-block;
  font-family: "Minion Pro", serif;
  font-size: 1.125rem;
  line-height: 1.5;
}
.l-header__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.l-header__menu a:hover::after {
  transform: scaleX(1);
}

.p-hamburger {
  display: none;
}

.p-fv {
  padding-top: 12px;
  height: 490px;
  position: relative;
}
.p-fv .l-container {
  width: calc(100% - 45px);
  max-width: none;
  margin-left: 0;
  margin-right: auto;
  height: 100%;
}
.p-fv img {
  height: 100%;
  width: 100%;
  max-width: none;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-fv.js-fog .l-container {
  position: relative;
}
.p-fv.js-fog .l-container::after {
  content: "";
  position: absolute;
  inset: -2%;
  background: radial-gradient(circle at 15% 35%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 55%), radial-gradient(circle at 65% 25%, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0) 58%), radial-gradient(circle at 88% 68%, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0) 60%);
  filter: blur(16px);
  opacity: 0.82;
  transform: scale(1.04);
  transition: opacity 1.3s ease, transform 1.3s ease;
  pointer-events: none;
}
.p-fv.js-fog.is-visible .l-container::after {
  opacity: 0;
  transform: scale(1);
}

.p-service {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.p-service::before {
  content: "";
  position: absolute;
  top: -6%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(900px, 95vw, 1400px);
  aspect-ratio: 1/1;
  background: url("../img/bg-circle.webp") no-repeat center center/contain;
  pointer-events: none;
  opacity: 0.5;
}
.p-service .l-container {
  position: relative;
}

.p-service__list {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.p-service-card {
  display: flex;
  align-items: flex-start;
  gap: 90px;
}

.p-service-card--reverse {
  justify-content: center;
}

.p-service-card__body {
  flex: 1;
}

.p-service-card__title {
  color: #001b34;
  font-family: "Shippori Mincho B1", serif;
  font-size: 1.6875rem;
  font-weight: 600;
  line-height: 1.5;
}

.p-service-card__text {
  margin-top: 30px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 2;
}

.p-service-card__image {
  width: min(500px, 46.29%);
  border-radius: 10px;
  overflow: hidden;
}

.p-contact {
  padding: 20px 0 100px;
}

.p-page {
  padding: 80px 0 120px;
}

.p-company-head {
  height: 270px;
  padding: 0 0 20px;
  overflow: clip;
}

.p-company-head__inner {
  width: calc(100% - 60px);
  max-width: none;
  margin-left: 60px;
  margin-right: 0;
  display: grid;
  grid-template-columns: 20.2898550725% minmax(0, 1fr);
  height: 100%;
  border-radius: 0 0 0 10px;
  overflow: hidden;
}

.p-company-head__lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding-inline: 40px;
  background: #004381;
  color: #fff;
}

.p-company-head__en {
  font-family: "Minion Pro", serif;
  font-size: clamp(2.75rem, 4.5vw, 3.875rem);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.p-company-head__ja {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.p-company-head__image {
  height: 100%;
  position: relative;
  min-width: 0;
}
.p-company-head__image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 27, 52, 0.2);
  pointer-events: none;
}
.p-company-head__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.p-company-outline {
  padding: 80px 0;
}

.p-company-outline__table {
  margin-top: 36px;
}

.p-company-outline__row {
  display: grid;
  grid-template-columns: 180px 1fr;
}
.p-company-outline__row dt,
.p-company-outline__row dd {
  padding: 16px;
}
.p-company-outline__row dt {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #c9a063;
  color: #000;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1;
}
.p-company-outline__row dd {
  border-bottom: 1px solid #333;
  color: #000;
  font-size: 1rem;
  line-height: 1.7;
}

.p-privacy-policy {
  padding: 40px 0;
}

.p-privacy-policy__title {
  color: #004381;
  font-family: "Shippori Mincho B1", serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.5;
}

.p-privacy-policy__subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 20px;
}

.p-privacy-policy__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.p-privacy-policy__content {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 10px;
}
@media screen and (max-width: 767px) {
  .p-privacy-policy__content {
    font-size: 0.875rem;
  }
}

.p-contact-form {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.p-contact-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 31px;
}

.p-contact-form__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
}

.p-contact-form__item--full {
  grid-column: 1/-1;
}

.p-contact-form__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #001b34;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}
.p-contact-form__label em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 17px;
  padding: 2px 4px;
  color: #c9a063;
  font-size: 0.75rem;
  font-style: normal;
  line-height: 1;
}

.p-contact-form input[type=text],
.p-contact-form input[type=email],
.p-contact-form input[type=tel],
.p-contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #bdbdbd;
  border-radius: 5px;
  background: #fafafa;
  color: #333;
  font-size: 1rem;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.2;
}
.p-contact-form input[type=text]:focus, .p-contact-form input[type=text]:focus-visible,
.p-contact-form input[type=email]:focus,
.p-contact-form input[type=email]:focus-visible,
.p-contact-form input[type=tel]:focus,
.p-contact-form input[type=tel]:focus-visible,
.p-contact-form textarea:focus,
.p-contact-form textarea:focus-visible {
  outline: 2px solid #004381;
  outline-offset: 2px;
  border-color: #004381;
}

.p-contact-form textarea {
  resize: vertical;
  min-height: 206px;
}

.p-contact-form__check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}
.p-contact-form__check-list label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
}

.p-contact-form__item--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
}
.p-contact-form__item--check .p-contact-form__label {
  flex: 0 0 160px;
  padding-top: 2px;
}
.p-contact-form__item--check .p-contact-form__check-list {
  flex: 1 1 auto;
}

.p-contact-form__check-list .wpcf7-form-control {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}

.p-contact-form__check-list .wpcf7-list-item,
.p-contact-form__privacy .wpcf7-list-item {
  margin: 0;
}

.p-contact-form__check-list .wpcf7-list-item label,
.p-contact-form__privacy .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.p-contact-form input[type=checkbox] {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  margin: 0;
  border: 1px solid #bdbdbd;
  border-radius: 2px;
  background: #fafafa;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.p-contact-form input[type=checkbox]::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-1px) rotate(-45deg) scale(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.p-contact-form input[type=checkbox]:checked {
  background: #004381;
  border-color: #004381;
}
.p-contact-form input[type=checkbox]:checked::before {
  transform: translateY(-1px) rotate(-45deg) scale(1);
}
.p-contact-form input[type=checkbox]:focus, .p-contact-form input[type=checkbox]:focus-visible {
  outline: 2px solid #004381;
  outline-offset: 2px;
}

.p-contact-form__privacy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-inline: auto;
  font-size: 0.875rem;
}

.p-contact-form__link {
  color: #004381;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}
.p-contact-form__link:hover {
  opacity: 0.8;
}

.p-contact-form .c-btn--submit {
  margin-inline: auto;
}

.l-footer {
  margin-top: 40px;
  background: #01213f;
}

.l-footer__inner {
  width: min(100% - 32px, 1080px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 0;
}

.l-footer__logo {
  width: min(370px, 48%);
  transition: opacity 0.3s ease;
}
.l-footer__logo:hover {
  opacity: 0.8;
}

.l-footer__menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px 40px;
}
.l-footer__menu a {
  position: relative;
  display: inline-block;
  color: #fff;
  font-family: "Minion Pro", serif;
  font-size: 1.125rem;
  line-height: 1.2;
}
.l-footer__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.l-footer__menu a:hover::after {
  transform: scaleX(1);
}

.l-footer__copyright {
  padding: 18px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.36;
  text-align: center;
}

@media screen and (max-width: 767px) {
  html {
    scroll-padding-top: 92px;
  }
  body {
    font-size: 0.9375rem;
    line-height: 1.7;
  }
  .c-section-title {
    gap: 6px;
  }
  .c-section-title__en {
    font-size: clamp(2.375rem, 8.8vw, 3rem);
  }
  .c-section-title__ja {
    font-size: 0.875rem;
    line-height: 1.5;
  }
  .l-header {
    padding: 12px 0;
  }
  .l-header__wrap {
    padding: 10px 14px;
  }
  .l-header__logo {
    width: min(190px, 55vw);
  }
  .p-hamburger {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .p-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #001b34;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .p-hamburger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .p-hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }
  .p-hamburger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .l-header__nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 20px 16px;
    border-radius: 16px;
    background: #f6faff;
  }
  .l-header__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .l-header__menu a {
    font-size: 1rem;
    line-height: 1.4;
  }
  .c-btn--header {
    width: 100%;
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1;
  }
  .p-service {
    padding: 56px 0 72px;
  }
  .p-fv {
    height: 340px;
  }
  .p-fv .l-container {
    width: calc(100% - 16px);
  }
  .p-fv img {
    -o-object-position: 65% 50%;
       object-position: 65% 50%;
  }
  .p-service__list {
    margin-top: 40px;
    gap: 48px;
  }
  .p-service-card,
.p-service-card--reverse {
    flex-direction: column;
    gap: 24px;
  }
  .p-service-card--reverse {
    flex-direction: column-reverse;
  }
  .p-service-card__image {
    width: 100%;
  }
  .p-service-card__title {
    font-size: 1.375rem;
    line-height: 1.45;
  }
  .p-service-card__text {
    margin-top: 16px;
    font-size: 0.9375rem;
    line-height: 1.9;
  }
  .p-contact {
    padding-bottom: 72px;
  }
  .p-page {
    padding: 56px 0 72px;
  }
  .p-company-head {
    height: 200px;
    padding-bottom: 8px;
  }
  .p-company-head__inner {
    width: calc(100% - 16px);
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    height: 100%;
    border-radius: 0 0 0 8px;
  }
  .p-company-head__lead {
    padding: 14px 20px 12px;
    gap: 2px;
  }
  .p-company-head__en {
    font-size: clamp(2.25rem, 10vw, 2.875rem);
  }
  .p-company-head__ja {
    font-size: 0.875rem;
  }
  .p-company-head__image img {
    min-height: 0;
  }
  .p-company-outline {
    padding: 56px 0 72px;
  }
  .p-company-outline__table {
    margin-top: 24px;
  }
  .p-company-outline__row {
    grid-template-columns: 100px 1fr;
  }
  .p-company-outline__row dt,
.p-company-outline__row dd {
    padding: 12px 10px;
  }
  .p-company-outline__row dt {
    font-size: 0.875rem;
    line-height: 1.4;
    text-align: center;
  }
  .p-company-outline__row dd {
    font-size: 0.875rem;
    line-height: 1.7;
  }
  .p-privacy-policy__title {
    font-size: 1.25rem;
  }
  .p-privacy-policy__subtitle {
    font-size: 1rem;
    margin-bottom: 16px;
  }
  .p-privacy-policy__list {
    gap: 20px;
  }
  .p-contact-form {
    margin-top: 36px;
    gap: 28px;
  }
  .p-contact-form__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .p-contact-form__check-list {
    flex-direction: column;
    gap: 10px;
  }
  .p-contact-form__check-list .wpcf7-form-control {
    gap: 10px;
  }
  .p-contact-form__check-list label {
    font-size: 0.9375rem;
    line-height: 1.6;
  }
  .p-contact-form__item--check {
    flex-direction: column;
    gap: 8px;
  }
  .p-contact-form__item--check .p-contact-form__label {
    flex: none;
    padding-top: 0;
  }
  .p-contact-form__label {
    font-size: 0.9375rem;
  }
  .p-contact-form input[type=text],
.p-contact-form input[type=email],
.p-contact-form input[type=tel],
.p-contact-form textarea {
    font-size: 0.9375rem;
  }
  .p-contact-form__privacy {
    font-size: 0.8125rem;
  }
  .c-btn--submit {
    font-size: 0.9375rem;
  }
  .l-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 48px 0;
  }
  .l-footer__logo {
    width: min(280px, 75%);
  }
  .l-footer__menu {
    justify-content: flex-start;
    gap: 12px 24px;
  }
  .l-footer__menu a {
    font-size: 1rem;
  }
  .l-footer__copyright {
    font-size: 0.6875rem;
  }
}
.wpcf7-spinner {
  display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #004381;
}