/* Fresh /interviews/ implementation. Figma API node mapping is documented per section. */
/* Match TOP's canonical 1366px canvas scaling through the tablet/PC transition. */
@media (min-width: 768px) and (max-width: 1365px) {
  html:has(.interviews-fresh) { font-size: calc(100vw / 136.6) !important; }
}

.interviews-fresh {
  margin: 0;
  color: #333;
  background: #f3f4f6 url("../../assets/noise/noise-black05.png") 0 0 / 25.6rem 25.6rem repeat;
}

.interviews-fresh__main {
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: hidden;
  padding-top: 10rem;
  background: #f3f4f6 url("../../assets/noise/noise-black05.png") 0 0 / 25.6rem 25.6rem repeat;
}

.interviews-fresh__main::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 48.55rem;
  height: 58.7rem;
  background: url("../assets/contact-section-02/background-pc.svg") left top / 100% 100% no-repeat;
  pointer-events: none;
}

.interviews-breadcrumb {
  display: flex;
  width: calc(100% - 20rem);
  max-width: 116.6rem;
  height: 2.4rem;
  margin-inline: auto;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2.4rem;
  letter-spacing: 0.08rem;
}

.interviews-breadcrumb__outer {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
}

.interviews-breadcrumb__row,
.interviews-breadcrumb__items {
  display: flex;
  width: 19.6rem;
  height: 2.4rem;
  align-items: center;
  gap: 1.2rem;
}

.interviews-breadcrumb__group {
  display: flex;
  width: 19.6rem;
  height: 2.4rem;
  flex-direction: column;
}

.interviews-breadcrumb__home,
.interviews-breadcrumb__current {
  display: block;
  height: 2.4rem;
  margin: 0;
  white-space: nowrap;
  text-decoration: none;
}

.interviews-breadcrumb__home {
  width: 3.4rem;
  color: #333;
}

.interviews-breadcrumb__chevron {
  display: grid;
  width: 0.4rem;
  height: 0.9rem;
  place-items: center;
  overflow: visible;
}

.interviews-breadcrumb__chevron img {
  display: block;
  width: 0.4rem;
  height: 0.9rem;
}

.interviews-breadcrumb__current {
  width: 13.4rem;
  color: #989898;
}

.interviews-breadcrumb :focus-visible {
  outline: 0.2rem solid #333;
  outline-offset: 0.2rem;
}

/* S2 page heading: Figma PC 201:3405 / SP 250:7191. */
.interviews-heading {
  width: calc(100% - 20rem);
  max-width: 116.6rem;
  margin: 8rem auto 0;
  color: #333;
}

.interviews-heading__inner,
.interviews-heading__stack {
  display: flex;
  flex-direction: column;
}

.interviews-heading__stack {
  gap: 2.4rem;
}

.interviews-heading__eyebrow {
  display: flex;
  height: 1.7rem;
  align-items: center;
  gap: 0.8rem;
}

.interviews-heading__symbol,
.interviews-heading__symbol img {
  width: 2.6rem;
  height: 1.7rem;
  flex: 0 0 2.6rem;
}

.interviews-heading__english {
  display: block;
  height: 1.7rem;
  font-family: "Jost", sans-serif;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.7rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.interviews-heading__title {
  margin: 0;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 7.7rem;
  letter-spacing: 0.48rem;
}

/* S3 filter: Figma PC 201:3414 / SP 250:7200. */
.interviews-filter-fresh {
  display: flex;
  width: calc(100% - 20rem);
  max-width: 116.6rem;
  margin: 8rem auto 0;
  flex-direction: column;
  gap: 2.4rem;
  color: #000;
  font-family: "Jost", "Noto Sans JP", sans-serif;
}

.interviews-filter-fresh__group {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  flex-direction: column;
  gap: 2.4rem;
}

.interviews-filter-fresh__legend {
  width: auto;
  height: 4.6rem;
  margin: 0 0 2.4rem;
  padding: 0;
  float: none;
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 4.6rem;
  letter-spacing: 0.32rem;
}

.interviews-filter-fresh__options {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.interviews-filter-fresh__option {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 6.9rem;
  cursor: pointer;
}

.interviews-filter-fresh__option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.interviews-filter-fresh__option span {
  display: grid;
  width: 100%;
  min-height: 6.9rem;
  padding: 1.6rem 0;
  place-items: center;
  border: 1px solid #989898;
  background: #333;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 3.5rem;
  letter-spacing: 0;
  text-align: center;
}

.interviews-filter-fresh__option input:checked + span {
  background: #f7e730;
  color: #333;
}

.interviews-filter-fresh__option input:focus-visible + span,
.interviews-filter-fresh__select-wrap select:focus-visible,
.interviews-filter-fresh__submit:focus-visible {
  outline: 0.3rem solid #1677ff;
  outline-offset: 0.3rem;
}

.interviews-filter-fresh__select-wrap {
  position: relative;
  width: 100%;
  height: 6.9rem;
}

.interviews-filter-fresh__select-wrap select {
  width: 100%;
  height: 6.9rem;
  margin: 0;
  padding: 1.6rem 7.6rem 1.6rem 4rem;
  appearance: none;
  border: 1px solid #989898;
  border-radius: 0;
  background: #fff;
  color: #333;
  font: 700 2.4rem/3.5rem "Jost", "Noto Sans JP", sans-serif;
  letter-spacing: 0;
  cursor: pointer;
}

.interviews-filter-fresh__arrow {
  position: absolute;
  top: 2.5rem;
  right: 4.1rem;
  width: 2.1rem;
  height: 1rem;
  border-right: 0.2rem solid #989898;
  border-bottom: 0.2rem solid #989898;
  transform: rotate(45deg) skew(8deg, 8deg);
  transform-origin: center;
  pointer-events: none;
}

.interviews-filter-fresh__submit {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.interviews-filter-fresh__submit:focus {
  z-index: 2;
  width: auto;
  height: auto;
  margin: 0;
  padding: 1.2rem 2rem;
  clip-path: none;
  background: #333;
  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .interviews-filter-fresh__option:hover span { filter: brightness(.92); }
}

@media (max-width: 767px) {
  .interviews-fresh__main {
    padding-top: 2.1rem;
  }

  .interviews-fresh__main::before {
    width: 100%;
    height: 34.3rem;
    background-image: url("../assets/contact-section-02/background-sp.svg");
    background-size: 37.8rem 34.3rem;
  }

  .interviews-breadcrumb {
    width: calc(100% - 3.2rem);
    max-width: none;
  }

  .interviews-breadcrumb__outer {
    display: contents;
  }

  .interviews-heading {
    width: 20.9rem;
    max-width: calc(100% - 3.2rem);
    margin: 4rem 1.6rem 0;
  }

  .interviews-heading__english {
    font-size: 2rem;
  }

  .interviews-heading__title {
    width: calc(100% + 0.24rem);
    font-size: 2.4rem;
    line-height: 3.8rem;
    letter-spacing: 0.24rem;
  }

  .interviews-filter-fresh {
    width: calc(100% - 3.2rem);
    max-width: none;
    margin-top: 4rem;
  }

  .interviews-filter-fresh__group {
    gap: 1.6rem;
  }

  .interviews-filter-fresh__legend {
    height: 2.9rem;
    margin-bottom: 1.6rem;
    font-size: 2rem;
    line-height: 2.9rem;
    letter-spacing: 0.2rem;
  }

  /* R23 #4: SP inherited the 6.9rem/2.4rem PC chips, so the 採用区分・働き方
     buttons dwarfed the page. Matched to the /jobs/ SP search chips
     (44px tall, 14px/16.8px text, 0.8rem grid gap). */
  .interviews-filter-fresh__options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .interviews-filter-fresh__option {
    min-height: 4.4rem;
  }

  .interviews-filter-fresh__option span {
    min-height: 4.4rem;
    padding: 0.4rem;
    font-size: 1.4rem;
    line-height: 1.68rem;
    letter-spacing: 0.07rem;
  }

  /* R23 #3: same /jobs/ SP select — 34px tall with a square 9x9 chevron.
     The old arrow was a 21x10 box skewed 8deg, which rendered as a warped "∨". */
  .interviews-filter-fresh__select-wrap {
    height: 3.4rem;
  }

  .interviews-filter-fresh__select-wrap select {
    height: 3.4rem;
    padding: 0 3.8rem 0 2.5rem;
    font-size: 1.6rem;
    line-height: 1.92rem;
  }

  .interviews-filter-fresh__arrow {
    top: 1.2rem;
    right: 2.6rem;
    width: 0.9rem;
    height: 0.9rem;
    border-right: 0.2rem solid #333;
    border-bottom: 0.2rem solid #333;
    transform: rotate(45deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .interviews-fresh * {
    scroll-behavior: auto !important;
  }
}
