/* ================ mainvisual ================ */
body {
  background-color: #fff;
}

.mainvisual {
  position: relative;
  aspect-ratio: 247/136;
  max-height: calc(100svh - var(--hdH));
  container-type: inline-size;
  margin: 0 auto;
}
.mainvisual .bg {
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 54.45% 100%, 0% 33.2352%);
}
.mainvisual .bg img {
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mainvisual .catchcopy {
  position: absolute;
  left: 0;
  bottom: 0;
  padding-left: 0.6591em;
  font-size: 3.5627cqw;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.03em;
}
.mainvisual .catchcopy::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 50%;
  translate: 0 50%;
  width: 0.1136em;
  height: calc(100% - 0.4em);
  background-color: var(--green);
}
@media screen and (width < 768px) {
  .mainvisual {
    aspect-ratio: auto;
    max-height: none;
  }
  .mainvisual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #0C3861 -9.81%, rgba(12, 56, 97, 0) 42.69%);
    pointer-events: none;
  }
  .mainvisual .bg {
    clip-path: none;
    aspect-ratio: 39/52;
  }
  .mainvisual .bg img {
    max-width: none;
    object-position: 58% center;
  }
  .mainvisual .catchcopy {
    left: 5.1282%;
    bottom: 6.9231%;
    padding-left: 0;
    padding-bottom: 0.5405em;
    font-size: min(3.7rem, 9.4871vw);
    color: #fff;
  }
  .mainvisual .catchcopy::before {
    left: 0;
    bottom: 0;
    translate: 0 0;
    width: 38.835%;
    height: 0.1622em;
  }
}

/* ================ production ================ */
.production {
  padding-block: 130px 106px;
}
.production ul {
  list-style: none;
  margin-top: 60px;
}
.production ul > li {
  --liItemColor: var(--green);
  --liItemText: #fff;
}
.production ul > li:nth-child(n+2) {
  margin-top: 40px;
}
.production ul > li:nth-child(2) {
  --liItemColor: var(--yellow);
  --liItemText: #000;
}
.production ul > li:nth-child(2) .thumb img {
  object-position: 25% center;
}
.production a {
  display: flex;
  border: 2px solid var(--bdGray);
  border-radius: 8px;
  font-size: 1.5rem;
  color: var(--bl02);
  container-type: inline-size;
}
.production a > div {
  flex: 0 0 50%;
  padding: 0.5em 2.1333em 0.75em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.production .thumb {
  padding: 0;
  overflow: hidden;
  border-radius: 6px 0 0 6px;
}
.production .thumb img {
  flex: 1 0 auto;
  transition: 0.3s scale;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.production h4 {
  margin-bottom: 15px;
  font-size: clamp(1.8rem, 4.4643cqw, 5rem);
  font-weight: 900;
  color: var(--bl);
  line-height: 1.2;
}
.production h4::before {
  content: attr(data-en);
  display: block;
  margin-bottom: 8px;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--liItemColor);
}
.production .more {
  background-color: var(--liItemColor);
  border-width: 2px;
  border-color: var(--liItemColor);
  margin-top: 1em;
  padding-block: 0.75em;
  color: var(--liItemText);
}
@media (any-hover: hover) {
  .production a:hover .thumb img {
    scale: 1.1 1.1;
  }
  .production a:hover .more {
    background-color: #fff;
    color: #000;
  }
}
@media (any-hover: none) {
  .production a:active .thumb img {
    scale: 1.1 1.1;
  }
  .production a:active .more {
    background-color: #fff;
    color: #000;
  }
}
@media screen and (width < 768px) {
  .production {
    padding-block: min(80px, 20.5128205128vw);
  }
  .production ul {
    margin-top: 28px;
  }
  .production a {
    flex-direction: column;
  }
  .production a > div {
    padding: 2.1333em;
  }
  .production .thumb {
    border-radius: 6px 6px 0 0;
  }
  .production .thumb img {
    aspect-ratio: 175/114;
  }
  .production h4 {
    font-size: 4rem;
    font-size: min(4rem, 11.4942528736cqw);
  }
}

/* ================ about ================ */
.about {
  background-color: #F3F4F6;
  padding-block: 70px;
}
.about > .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}
.about .catchcopy {
  flex: 0 0 100%;
  font-size: 6rem;
  font-size: min(6rem, 5.3571cqw);
  font-weight: 900;
  line-height: 1.2;
}
.about .thumb {
  order: 1;
  flex: 0 0 41.0714%;
  max-width: 460px;
  border-radius: 8px;
  overflow: hidden;
  margin-left: auto;
}
.about .content {
  flex: 0 0 50%;
}
.about .content p {
  max-width: 458px;
  line-height: 1.8;
  margin-top: 2.25em;
}
.about h2[data-en] {
  margin-top: 120px;
}
.about h2[data-en]::before {
  white-space: nowrap;
  color: var(--bl);
}
.about .btn {
  margin-top: 36px;
}
.about .btn a {
  width: fit-content;
  min-height: 55px;
  background-color: #fff;
  color: var(--green);
  letter-spacing: 0.02em;
}
@media (any-hover: hover) {
  .about .btn a:hover {
    background-color: var(--green);
    color: #fff;
  }
}
@media (any-hover: none) {
  .about .btn a:active {
    background-color: var(--green);
    color: #fff;
  }
}
@media screen and (width < 768px) {
  .about {
    padding-block: min(80px, 20.5128205128vw);
  }
  .about > .inner {
    display: block;
  }
  .about .catchcopy {
    margin-bottom: min(50px, 12.8205128205vw);
    font-size: min(4rem, 10.2564102564vw);
    line-height: 1.45;
  }
  .about h2[data-en] {
    margin-top: min(50px, 12.8205128205vw);
  }
  .about .btn a {
    width: 100%;
  }
}

/* ================ recruit ================ */
.recruit {
  background-color: var(--yellow);
  padding-top: 106px;
  padding-bottom: 146px;
}
.recruit > .inner {
  position: relative;
  display: flex;
  align-items: center;
}
.recruit h2 {
  position: absolute;
  right: min(40px, 3.125%);
  top: -100px;
  text-align: right;
  font-family: "Unbounded", sans-serif;
  font-size: 10rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #fff;
}
.recruit .thumb {
  flex: 0 0 44.6428%;
}
.recruit .content {
  flex: 0 0 50%;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 900;
  line-height: 1.4545;
  container-type: inline-size;
}
.recruit .content p {
  font-size: clamp(2.6rem, 7.8571cqw, 4.4rem);
}
.recruit .content strong {
  display: inline-block;
  background: url(../img/line.svg) no-repeat left 0.2363em bottom 0/5.7328em auto;
  padding-bottom: 0.1436em;
  font-size: clamp(3.2rem, 9.8214cqw, 5.5rem);
  letter-spacing: 0.04em;
}
.recruit .btn {
  margin-top: 40px;
  width: 100%;
  max-width: 460px;
}
.recruit .btn a {
  background-color: #fff;
  border: none;
  min-height: 55px;
  width: 100%;
  letter-spacing: 0.02em;
}
@media (any-hover: hover) {
  .recruit .btn a:hover {
    background-color: var(--bl);
    color: #fff;
  }
}
@media (any-hover: none) {
  .recruit .btn a:active {
    background-color: var(--bl);
    color: #fff;
  }
}
@media screen and (width < 768px) {
  .recruit {
    padding-block: min(125px, 32.0512820513vw) min(70px, 17.9487179487vw);
  }
  .recruit > .inner {
    display: block;
    width: 100%;
  }
  .recruit h2 {
    font-size: min(6rem, 15.3846153846vw);
    right: 0;
    top: calc(min(125px, 32.0512820513vw) * -1);
  }
  .recruit .content {
    width: 89.7436%;
    margin: min(36px, 9.2307692308vw) auto;
  }
  .recruit .content p {
    font-size: min(3rem, 8.5714285714cqw);
  }
  .recruit .content strong {
    font-size: min(4rem, 11.4285714286cqw);
  }
}