:root {
  --brand-pink: #e31782;
  --text-color: #444444;
  --line-color: #dddddd;
  --page-bg: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text-color);
  background: var(--page-bg);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
}

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

.menu-state {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-header,
.menu-panel__header {
  position: absolute;
  top: 20px;
  left: 18px;
  right: 18px;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.site-header__logo,
.menu-panel__logo {
  display: block;
  width: 72px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-header__logo img,
.menu-panel__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.menu-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-header__logo:hover,
.menu-panel__logo:hover,
.menu-button:hover {
  opacity: 0.78;
  transform: scale(1.05);
}

.menu-button--open {
  gap: 7px;
  align-content: center;
}

.menu-button--open span {
  width: 37px;
  height: 4px;
  display: block;
  background: var(--brand-pink);
  transition: transform 180ms ease;
}

.menu-button--open:hover span:nth-child(1) {
  transform: translateX(-4px);
}

.menu-button--open:hover span:nth-child(2) {
  transform: translateX(4px);
}

.menu-button--open:hover span:nth-child(3) {
  transform: translateX(-4px);
}

.menu-button--close {
  position: relative;
}

.menu-button--close span {
  position: absolute;
  width: 72px;
  height: 7px;
  background: #ffffff;
  border-radius: 999px;
}

.menu-button--close span:first-child {
  transform: rotate(45deg);
}

.menu-button--close span:last-child {
  transform: rotate(-45deg);
}

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: 28px 20px;
  background: var(--brand-pink);
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.menu-state:checked ~ .menu-panel {
  opacity: 1;
  visibility: visible;
}

.menu-panel__links {
  display: grid;
  gap: 88px;
  justify-items: center;
  padding-top: 80px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 17vw, 96px);
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.menu-panel__links a {
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-panel__links a:hover {
  opacity: 0.82;
  transform: translateY(-6px);
}

.hero {
  min-height: 100svh;
  overflow: hidden;
  background: #ffffff;
  position: relative;
}

.hero__slider {
  min-height: 100svh;
  position: relative;
}

.hero__picture,
.hero__photo {
  width: 100%;
  display: block;
}

.hero__picture {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 900ms ease;
}

.hero__picture.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.hero__photo {
  min-height: 100svh;
  object-fit: cover;
  object-position: center top;
}

.hero__arrow {
  align-items: center;
  appearance: none;
  background: rgba(255, 255, 255, 0.72);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background 180ms ease, opacity 180ms ease;
  width: 44px;
  z-index: 3;
}

.hero__arrow:hover {
  background: #ffffff;
}

.hero__arrow::before {
  border-right: 2px solid #111111;
  border-top: 2px solid #111111;
  content: "";
  display: block;
  height: 12px;
  width: 12px;
}

.hero__arrow--prev {
  left: 18px;
}

.hero__arrow--prev::before {
  transform: rotate(-135deg);
}

.hero__arrow--next {
  right: 18px;
}

.hero__arrow--next::before {
  transform: rotate(45deg);
}

.hero__pager {
  align-items: center;
  bottom: 24px;
  display: flex;
  gap: 10px;
  justify-content: center;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 3;
}

.hero__pager-dot {
  appearance: none;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 999px;
  cursor: pointer;
  height: 10px;
  padding: 0;
  transition: background 180ms ease, transform 180ms ease, width 180ms ease;
  width: 10px;
}

.hero__pager-dot.is-active {
  background: #ffffff;
  transform: scale(1.1);
  width: 28px;
}

.talent-section,
.contact-section {
  padding: 72px 22px 0;
}

.section-title {
  margin: 0 0 50px;
  color: var(--brand-pink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.talent-grid {
  max-width: 520px;
  display: grid;
  margin: 0 auto;
}

.talent-grid--large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px 18px;
}

.talent-grid--small {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 14px;
  margin-top: 52px;
}

.talent-card {
  min-width: 0;
}

.talent-card__photo {
  aspect-ratio: 1 / 1.18;
  display: block;
  overflow: hidden;
  background: #f3f3f3 url("./assets/thumb.png") center / cover no-repeat;
}

.talent-card__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.talent-card__photo:hover img {
  transform: scale(1.04);
  filter: brightness(1.04);
}

.talent-card h2 {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
}

.talent-card p {
  margin: 2px 0 8px;
  color: #666666;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}

.talent-card ul {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.talent-card li a {
  width: 22px;
  height: 22px;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  background: center / contain no-repeat;
  color: transparent;
  font-size: 0;
  transition: transform 160ms ease, filter 160ms ease;
}

.talent-card li:nth-child(1) a {
  background-image: url("./assets/icon_2.png");
}

.talent-card li:nth-child(2) a {
  background-image: url("./assets/icon_1.png");
}

.talent-card li:nth-child(3) a {
  background-image: url("./assets/icon_3.png");
}

.talent-card li a:hover {
  transform: translateY(-2px);
  filter: brightness(1.18);
}

.talent-card--small h2 {
  margin-top: 8px;
  font-size: 12px;
}

.talent-card--small p {
  font-size: 10px;
}

.contact-section {
  padding-bottom: 78px;
}

.contact-form,
.contact-line {
  max-width: 520px;
  display: grid;
  gap: 26px;
  margin: 0 auto;
}

.contact-form .wpcf7-form {
  display: grid;
  gap: 26px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.contact-form br,
.contact-form label br {
  display: none;
}

.contact-form p {
  margin: 0;
}

.contact-form p:has(.wpcf7-submit) {
  text-align: center;
}

.contact-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 10px;
}

.contact-form__notice {
  color: #666666;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.contact-form input,
.contact-form textarea,
.contact-form .wpcf7-text,
.contact-form .wpcf7-email,
.contact-form .wpcf7-textarea {
  width: 100%;
  border: 1px solid var(--line-color);
  border-radius: 0;
  background: #ffffff;
  font: inherit;
}

.contact-form input,
.contact-form .wpcf7-text,
.contact-form .wpcf7-email {
  height: 52px;
  padding: 0 12px;
}

.contact-form textarea,
.contact-form .wpcf7-textarea {
  min-height: 244px;
  resize: vertical;
  padding: 12px;
}

.contact-form button,
.contact-form .wpcf7-submit,
.contact-line__button {
  width: min(100%, 310px);
  min-height: 66px;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 0;
  border: 0;
  border-radius: 999px;
  background: var(--brand-pink);
  color: #ffffff;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.contact-form button:hover,
.contact-form .wpcf7-submit:hover,
.contact-line__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgb(227 23 130 / 24%);
  filter: brightness(1.04);
}

.contact-form button:active,
.contact-form .wpcf7-submit:active,
.contact-line__button:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgb(227 23 130 / 18%);
}

.contact-line__button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand-pink), white 45%);
  outline-offset: 4px;
}

.site-footer {
  padding: 36px 18px 30px;
  background: #000000;
  color: #ffffff;
  text-align: center;
}

.footer-badges {
  max-width: 520px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto 32px;
}

.footer-badges img {
  width: 100%;
  height: auto;
  display: block;
}

.site-footer small {
  font-size: 9px;
}

@media (min-width: 768px) {
  .site-header,
  .menu-panel__header {
    left: 36px;
    right: 36px;
  }

  .site-header__logo,
  .menu-panel__logo {
    width: 92px;
  }

  .talent-section,
  .contact-section {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (min-width: 1024px) {
  .site-header,
  .menu-panel__header {
    top: 40px;
    left: 56px;
    right: 56px;
  }

  .site-header__logo,
  .menu-panel__logo {
    width: 120px;
  }

  .menu-button {
    width: 58px;
    height: 58px;
  }

  .menu-button--open {
    gap: 9px;
  }

  .menu-button--open span {
    width: 50px;
    height: 5px;
  }

  .menu-button--close span {
    width: 96px;
    height: 8px;
  }

  .menu-panel__links {
    gap: 72px;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    padding-top: 0;
    font-size: clamp(72px, 8vw, 128px);
  }

  .hero {
    min-height: 100vh;
    background: #f6f6f6;
  }

  .hero__slider {
    min-height: 100vh;
  }

  .hero__photo {
    width: 100%;
    height: 100vh;
    min-height: 680px;
    object-position: center center;
  }

  .hero__arrow {
    height: 56px;
    width: 56px;
  }

  .hero__arrow--prev {
    left: 40px;
  }

  .hero__arrow--next {
    right: 40px;
  }

  .hero__pager {
    bottom: 36px;
  }

  .talent-section {
    padding-top: 120px;
  }

  .contact-section {
    padding-top: 120px;
    padding-bottom: 110px;
  }

  .section-title {
    margin-bottom: 72px;
    font-size: clamp(56px, 5vw, 84px);
  }

  .talent-grid {
    max-width: 1180px;
  }

  .talent-grid--large {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 58px 28px;
  }

  .talent-grid--small {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 34px 22px;
    margin-top: 72px;
  }

  .talent-card h2 {
    font-size: 17px;
  }

  .talent-card p {
    font-size: 13px;
  }

  .talent-card li a {
    width: 26px;
    height: 26px;
  }

  .talent-card--small h2 {
    font-size: 13px;
  }

  .talent-card--small p {
    font-size: 11px;
  }

  .contact-form,
  .contact-line {
    max-width: 760px;
    gap: 30px;
  }

  .contact-form input {
    height: 58px;
  }

  .contact-form textarea {
    min-height: 280px;
  }

  .contact-form button,
  .contact-line__button {
    min-height: 70px;
    font-size: 20px;
  }

  .site-footer {
    padding-top: 48px;
    padding-bottom: 42px;
  }

  .footer-badges {
    max-width: 760px;
    gap: 24px;
  }
}

@media (min-width: 1440px) {
  .hero__photo {
    object-position: center 18%;
  }

  .talent-grid {
    max-width: 1280px;
  }
}
