/* KURO PDS Front Page Styles */
:root {
  --kp-black: #000;
  --kp-gray: #818181;
  --kp-gray-line: #c7c7c7;
  --kp-text: #111;
  --kp-muted: #555;
  --kp-font: "Helvetica Neue", "Noto Sans JP", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--kp-text);
  font-family: var(--kp-font);
  background: #fff;
}

body.kp-menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 2s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

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

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

button{
  color: #000;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

.sp{
  display: none;
}

.kp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 10;
  padding: 28px 60px 0 60px;
  display: flex;
  align-items: center;
  justify-content: right;
  gap: 24px;
  font-size: 15px;
  font-weight: bold;
}

.kp-nav__logo-small {
  position: absolute;
  left: 24px;
  top: 18px;
  width: 110px;
}

.kp-nav__logo-small img {
  width: 100%;
  height: auto;
  display: block;
}

.kp-nav__links {
  display: flex;
  gap: 80px;
}

.kp-nav__link {
  padding: 6px 4px;
}

.kp-vertical-logo {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-lr;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.06em;
  z-index: 1;
}

.kp-vertical-logo span{
  border: 1px solid #1A1311;
  padding: 10px 3px;
  margin: 5px;
}

.kp-contact-badge {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1px solid #d0d0d0;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: bold;
  background: #D1D1D1;
  transition: transform 160ms ease, box-shadow 160ms ease;
  z-index: 100;
  letter-spacing: 0.05rem;
}

.kp-contact-badge:hover,
.kp-contact-badge:focus-visible {
  transform: translateY(-2px);
  /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); */
}

.kp-hamburger {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 120;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.kp-hamburger__icon {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}

.kp-hamburger__line {
  display: block;
  width: 32px;
  height: 2px;
  background: #000;
}

.kp-hamburger__line--bottom {
  width: 28px;
}

.kp-hamburger__label {
  font-size: 12px;
  letter-spacing: 0.02em;
}

.kp-mobile-menu {
  position: fixed;
  inset: 0;
  background-color: #818181;
  color: #fff;
  z-index: 130;
  display: none;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.kp-mobile-menu.is-open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.kp-mobile-menu__header {
  display: flex;
  justify-content: space-between;
  padding: 28px 22px 20px;
  align-items: flex-start;
}

.kp-mobile-menu__logo {
  display: inline-flex;
  align-items: flex-end;
  gap: 12px;
  color: inherit;
  padding-top: 20px;
  padding-left: 20px;
}

.kp-mobile-menu__logo img {
  width: 120px;
  height: auto;
  display: block;
}

.kp-mobile-menu__logo-text {
  font-size: 11px;
  letter-spacing: 0.04em;
}

.kp-mobile-menu__close {
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  position: relative;
  cursor: pointer;
}

.kp-mobile-menu__close::before,
.kp-mobile-menu__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 1px;
  background: #fff;
  transform-origin: center;
}

.kp-mobile-menu__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.kp-mobile-menu__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.kp-mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 60px 40px;
  font-size: 22px;
}

.kp-mobile-menu__link {
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.kp-mobile-menu__link--icon img {
  width: 20px;
  filter: brightness(0) invert(1);
}

.kp-hero {
  display: flex;
  /* align-items: center; */
  justify-content: center;
  padding: 200px 12vw 120px 12vw;
  column-gap: 64px;
  height: calc(100vh - 320px);
  flex-direction: column;
  width: 700px;
  margin: 0 auto;
}

.kp-hero__logo {
  position: static;
  width: 200px;
  margin-bottom: 18px;
}

.kp-hero__text {
  justify-self: start;
}

.kp-hero__title {
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 0.03em;
  margin: 0 0 18px;
}

.kp-hero__sub {
  font-size: 22px;
  font-weight: bold;
  margin: 0;
}

.kp-section {
  padding: 80px 12vw 0;
}

.kp-section__heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
  font-size: 12px;
  font-weight: bold;
}

.kp-section__line {
  flex: 0 0 150px;
  height: 1px;
  background: #cfcfcf;
}

.kp-section__label-en {
  text-transform: lowercase;
  font-size: 24px;
}

.kp-section__label-ja {
  font-size: 12px;
  color: var(--kp-muted);
  white-space: nowrap;
  padding-top: 3px;
}

.kp-about__row {
  display: flex;
  align-items: baseline;
  gap: 48px;
  justify-content: space-between;
}

.kp-about__copy {
  margin-top: 0;
  font-weight: bold;
  flex: 1;
}

.kp-about__copy-inner{
  max-width: 450px;
  margin: 0 5% 0 auto;
}

@media (min-width: 1500px) {
  .kp-about__copy-inner{
    margin: 0 20% 0 auto;
  }
}
.kp-about__title {
  font-size: 28px;
  margin: 0 0 5px;
  letter-spacing: 0.01em;
  text-wrap-mode: nowrap;
}

.kp-about__title-ja {
  font-size: 28px;
  margin: 10px 0 20px;
}

.kp-about__body {
  font-size: 18px;
  line-height: 1.8;
  color: var(--kp-muted);
  margin: 0 0 80px;
}

.kp-brand__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  /* margin-top: 40px;
  margin-bottom: 72px; */
  margin: 40px 5vw 72px;
}

.kp-card {
  text-align: left;
  transition: transform 500ms ease;
  /* transition: transform 160ms ease, box-shadow 160ms ease; */
}

.kp-card.fade {
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.kp-card:hover,
.kp-card:focus-within {
  transform: translateY(-2px);
  /* box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08); */
}

.kp-brand-card {
  border: none;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

/* .kp-brand-card:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
} */

.kp-card__caption {
  font-size: 11px;
  margin-top: 12px;
  font-weight: bold;
}

.kp-brand-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.48);
  padding: 40px 16px;
  z-index: 200;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.kp-brand-modal.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.kp-brand-modal__panel {
  position: relative;
  background: #fff;
  width: min(600px, calc(100vw - 32px));
  max-height: calc(100vh - 200px);
  overflow: auto;
  padding: 50px;
  margin: 40px 0;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.kp-brand-modal.is-active .kp-brand-modal__panel {
  opacity: 1;
  transform: translateY(0);
}

.kp-brand-modal__close {
  position: fixed;
  top: 0;
  right: auto;
  left: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  color: transparent;
  z-index: 42;
  transition: opacity 160ms ease;
}

.kp-brand-modal__close::before,
.kp-brand-modal__close::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 1px;
  background: #000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 2px;
}

.kp-brand-modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.kp-brand-modal__close:hover {
  opacity: 0.7;
}

.kp-brand-modal__close:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
}

.kp-brand-modal__arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: none;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 40;
  transition: opacity 160ms ease;
}

.kp-brand-modal__arrow--prev {
  left: 0;
}

.kp-brand-modal__arrow--next {
  right: 0;
}

.kp-brand-modal__arrow::before {
  content: "";
  width: 18px;
  height: 18px;
  border-left: 1px solid #000;
  border-bottom: 1px solid #000;
  transform: rotate(45deg);
  display: block;
}

.kp-brand-modal__arrow--next::before {
  transform: rotate(-135deg);
}

.kp-brand-modal__arrow:hover {
  opacity: 0.7;
}

.kp-brand-modal__arrow:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
}

.kp-brand-modal__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.kp-brand-modal__slide {
  display: none;
  width: 100%;
}

.kp-brand-modal__slide.is-active {
  display: block;
  animation: kp-modal-fade 220ms ease;
}

@keyframes kp-modal-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kp-brand-modal__image-frame {
  width: 100%;
  max-width: 760px;
  margin: 0 auto ;
  box-sizing: border-box;
}

.kp-brand-modal__image {
  display: block;
  width: 100%;
  height: auto;
}

.kp-brand-modal__text {
  width: 100%;
  max-width: 760px;
}

.kp-brand-modal__text hr{
  margin-top: 30px;
}

.kp-brand-modal__title {
  /* margin: 0 0 12px; */
  font-weight: normal;
  font-size: 14px;
  margin-top: 30px;
}

.kp-brand-modal__description {
  margin: 0;
  font-size: 12px;
  color: var(--kp-muted);
  /* white-space: pre-line; */
  line-height: 1.5;
}

.kp-brand-modal__description a{
  text-decoration: underline;
}

.kp-feature {
  margin: 0;
  padding: 0;
}

.kp-feature__img,
.kp-feature__video {
  width: 100%;
  /* height: 500px; */
  object-fit: cover;
  /* background: #000; */
}

.kp-profile {
  margin-top: 80px;
  margin-bottom: 120px;
}

.kp-profile__table {
  width: calc(100% - 10vw);
  border-collapse: collapse;
  font-size: 14px;
  margin: 80px 5vw 0;
}

.kp-profile__table tr {
  border-bottom: 1px solid var(--kp-gray-line);
}

.kp-profile__table td {
  padding: 30px 0;
}

.kp-profile__table td:first-child {
  width: 18%;
  color: var(--kp-muted);
}

.kp-profile__table td:last-child {
  width: 82%;
}

.kp-footer {
  background: var(--kp-gray);
  padding: 64px 12vw 54px;
  position: relative;
}

.kp-footer__logo {
  width: 120px;
  margin-bottom: 18px;
}

.kp-footer__text {
  font-size: 11px;
  line-height: 1.8;
  color: #fff;
  margin: 0 0 22px;
}

.kp-footer__sns {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.kp-footer__sns a{
  height: 20px;
}

.kp-footer__sns a img{
  height: 100%;
}

.kp-footer__logo2 {
  position: absolute;
  right: 12vw;
  bottom: 54px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.kp-footer__logo2__sp{
  display: none;
}

.kp-footer__stamp {
  /* position: absolute;
  right: 12vw;
  bottom: 38px; */
  width: 36px;
}

.kp-footer__group-logo {
  /* position: absolute;
  right: 12vw;
  bottom: 96px; */
  width: 130px;
}
@media (max-width: 767px) {
  .sp{
    display: block;
  }

  .pc{
    display: none;
  }

  .kp-nav {
    padding: 24px 20px 0 20px;
    justify-content: flex-end;
    display: none;
  }

  .kp-nav__logo-small {
    left: 16px;
    top: 16px;
  }

  .kp-nav__links {
    display: none;
  }

  .kp-vertical-logo {
    display: none;
  }

  .kp-contact-badge {
    display: none;
  }

  .kp-hamburger {
    display: flex;
  }

  .kp-mobile-menu {
    display: flex;
  }

  .kp-hero {
    grid-template-columns: 1fr;
    padding: 100px 28px 80px;
    row-gap: 40px;
    height: 100vh;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
  }

  .kp-hero__logo {
    position: static;
    width: 90px;
    justify-self: center;
  }

  .kp-hero__text {
    position: absolute;
    bottom: 40px;
    left: 10vw;
  }

  .kp-hero__title {
    font-size: 20px;
  }

  .kp-hero__sub {
    font-size: 11px;
  }

  .kp-section {
    padding: 30px 28px 0;
  }

  .kp-about__body{
    font-size: 13px;
  }

  .kp-about__row{
    flex-direction: column;
    margin-top: 50px;
  }

  .kp-section__number,
  .kp-section__line{
    display: none;
  }

  .kp-section__label-en{
    font-size: 18px;
  }

  .kp-about__title{
    font-size: 22px;
  }

  .kp-brand__grid {
    gap: 20px;
    margin: 30px 0 72px;
  }

  .kp-brand-modal {
    padding: 20px 12px;
  }

  .kp-brand-modal__panel {
    max-height: calc(100vh - 50px);
    padding: 50px 30px;
    margin: 20px 0;
    box-sizing: border-box;
  }

  .kp-brand-modal__arrow {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .kp-brand-modal__arrow::before{
    width: 13px;
    height: 13px;
  }

  .kp-brand-modal__arrow--prev {
    left: 0;
  }

  .kp-brand-modal__arrow--next {
    right: 0;
  }

  .kp-brand-modal__image-frame {
    border-width: 6px;
  }

  .kp-feature__img,
  .kp-feature__video {
    /* height: 220px; */
  }

  .kp-profile__table{
    margin: 30px 0 0;
    width: 100%;
    font-size: 12px;
  }

  .kp-profile__table td{
    padding: 20px 0;
  }

  .kp-profile__table td:first-child {
    width: 30%;
  }

  .kp-footer {
    padding: 48px 28px 58px;
  }

  .kp-footer__group-logo,
  .kp-footer__stamp {
    margin: 0 auto;
  }

  .kp-footer__logo{
    margin: 30px auto;
    width: 150px;
  }
  .kp-footer__logo2{
    display: none;
  }
  .kp-footer__logo2__sp{
    display: block;
  }

  .kp-footer__logo2__sp img{
    margin-top: 25px;
    margin-bottom: 50px;
  }

  .kp-footer__group-logo{
    width: 180px;
  }

  .kp-footer__stamp{
    width: 45px;
  }
}

/* Contact Page */
body.page-template-page-contact {
  margin: 0;
  color: var(--kp-text);
  font-family: var(--kp-font);
  background: #fff;
}

.kp-contact {
  min-height: 100vh;
  padding: 140px 28px 160px;
  box-sizing: border-box;
}

.kp-contact__inner {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 30px;
  margin-left: 10vw;
  font-weight: bold;
}

.kp-contact__eyebrow {
  font-size: 20px;
  letter-spacing: 0.02em;
}

.kp-contact__title {
  text-align: center;
  font-size: 14px;
  font-weight: normal;
  letter-spacing: 0.03em;
}

.kp-contact__inner2{
  margin: 0 auto;
  max-width: 700px;
}

.kp-contact__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.kp-contact__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kp-contact__label {
  display: inline-flex;
  align-items: end;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.kp-contact__required {
  color: #d9534f;
  font-size: 12px;
}

.kp-contact__input,
.kp-contact__textarea,
body.page-template-page-contact .wpcf7 input[type="text"],
body.page-template-page-contact .wpcf7 input[type="email"],
body.page-template-page-contact .wpcf7 input[type="tel"],
body.page-template-page-contact .wpcf7 textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--kp-gray-line);
  padding: 10px 0 12px;
  font-size: 14px;
  font-family: var(--kp-font);
  background: transparent;
  color: var(--kp-text);
  box-sizing: border-box;
}

.kp-contact__input:focus,
.kp-contact__textarea:focus,
body.page-template-page-contact .wpcf7 input[type="text"]:focus,
body.page-template-page-contact .wpcf7 input[type="email"]:focus,
body.page-template-page-contact .wpcf7 input[type="tel"]:focus,
body.page-template-page-contact .wpcf7 textarea:focus {
  outline: none;
  border-bottom-color: #7c7c7c;
}

.kp-contact__input::placeholder,
.kp-contact__textarea::placeholder,
body.page-template-page-contact .wpcf7 ::placeholder {
  color: #b5b5b5;
}

.kp-contact__textarea,
body.page-template-page-contact .wpcf7 textarea {
  resize: vertical;
  min-height: 140px;
}

.kp-contact__group--choices {
  gap: 10px;
  border: 0;
  padding: 0;
  margin: 0;
}

.kp-contact__group--choices legend {
  margin: 0;
  padding: 0;
  border: 0;
}

.kp-contact__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.kp-contact__choice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

body.page-template-page-contact input[type="radio"] {
  accent-color: #7c7c7c;
}

.kp-contact__submit,
body.page-template-page-contact .wpcf7 input[type="submit"] {
  display: inline-block;
  margin: 10px auto 0;
  padding: 12px 100px;
  border: none;
  border-radius: 999px;
  background: #7c7c7c;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease;
}

.kp-contact__submit:hover,
.kp-contact__submit:focus-visible,
body.page-template-page-contact .wpcf7 input[type="submit"]:hover,
body.page-template-page-contact .wpcf7 input[type="submit"]:focus-visible {
  background: #6a6a6a;
  transform: translateY(-1px);
}

.wpcf7-spinner{
  display: block;
}

body.page-template-page-contact .wpcf7 {
  width: 100%;
}

body.page-template-page-contact .wpcf7-form p {
  margin: 0 0 24px;
}

.kp-contact__thanks {
  padding: 80px 12px 60px;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

@media (max-width: 767px) {
  .kp-contact {
    padding: 100px 20px 120px;
  }

  .kp-contact__inner{
    flex-direction: column;
    margin-left: 0;
    gap: 0;
  }

  .kp-contact__eyebrow {
    font-size: 22px;
    margin-bottom: 0;
  }

  .kp-contact__title {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .kp-contact__form {
    gap: 20px;
  }


}
