@charset "UTF-8";
/* --------------------------------
  under-mv
--------------------------------*/
.ud-mv {
  position: relative;
}

.ud-mv .primary-nav {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 517px;
  width: auto;
  padding: 0 40px;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 10;
}
.ud-mv .primary-nav .logo {
  width: 102px;
  margin-bottom: 48px;
}
.ud-mv .primary-nav .logo a {
  display: block;
}

.ud-mv .primary-nav .logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.ud-mv .cmn-nav-item {
  font-size: var(--fs-13);
  margin-bottom: 20px;
}
.ud-mv .ud-mv-img {
  position: relative;
  width: 150%;
  margin-left: -25%;
  height: 517px;
}
.ud-mv .ud-mv-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ud-mv .ud-mv-ttl {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: var(--color-white);
}
.ud-mv .ud-mv-ttl .ud-mv-title {
  font-size: var(--fs-33);
  font-weight: var(--fw-bold);
  letter-spacing: 0.3em;
  line-height: 1;
  padding-bottom: 16px;
}
.ud-mv .ud-mv-ttl span {
  display: block;
  letter-spacing: 0.3em;
  text-align: center;
}
.ud-mv .ud-line {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  display: block;
  width: 40%;
  height: 18px;
  background-color: var(--color-red-2);
  z-index: 10;
}
.ud-mv .recruit-link {
  position: absolute;
  bottom: 0;
  right: 5%;
  display: block;
  margin-right: 5%;
  margin-left: auto;
  width: 177px;
  height: auto;
  object-fit: contain;
  transform: translateY(50%);
  z-index: 10;
}
@media screen and (min-width: 1300px) {
  .ud-mv .recruit-link {
    margin-right: calc((100% - 1300px) / 2 + 5%);
  }
}
@media screen and (max-width: 960px) {
  .ud-mv .recruit-link {
    width: 140px;
  }
}
@media screen and (max-width: 768px) {
  .ud-mv .primary-nav {
    height: 400px;
    width: auto;
    padding: 0 24px;
  }
  .ud-mv .primary-nav .logo {
    width: 80px;
    margin-bottom: 32px;
  }
  .ud-mv .cmn-nav-item {
    margin-bottom: 12px;
  }
  .ud-mv .cmn-nav-item::before {
    left: -16px;
    width: 8px;
  }
  .ud-mv .ud-mv-img {
    height: 400px;
  }
  .ud-mv .ud-mv-ttl .ud-mv-title {
    padding-bottom: 4px;
    font-size: var(--fs-28);
  }
  .ud-mv .ud-line {
    height: 12px;
  }
}
@media screen and (max-width: 600px) {
  .ud-mv .primary-nav {
    background-color: initial;
    padding: 0;
    position: fixed;
    top: 16px;
    left: 16px;
    height: auto;
  }
  .ud-mv .primary-nav .logo {
    width: 40px;
  }
  .ud-mv .cmn-nav {
    display: none;
  }
  .ud-mv .ud-mv-img {
    height: 300px;
  }
  .ud-mv .ud-line {
    height: 8px;
  }
  .ud-mv .recruit-link {
    width: 88px;
  }
}
@media screen and (max-width: 480px) {
  .ud-mv .ud-mv-img {
    height: 200px;
  }
}

/*--------------------------------
section-ttl
--------------------------------*/
.wiring-gb {
  background-color: var(--color-beige-1);
  background-image:
    url("../../img/common/wiring-gb-l.webp"),
    url("../../img/common/wiring-gb-r.webp");
  background-position:
    calc(50% - 600px) 90px,
    calc(50% + 600px) top;
  background-size:
    863px auto,
    811px auto;
  background-repeat: no-repeat, no-repeat;
}
.ttl-main {
  position: relative;
  color: var(--color-red-2);
  letter-spacing: 0.1em;
  font-size: 120px;
  line-height: 1;
}
.ttl-main.wide {
  letter-spacing: 0.5em;
  white-space: nowrap;
}
.ttl-sub {
  letter-spacing: 0.3em;
  font-size: var(--fs-21);
  font-weight: var(--fw-bold);
  padding-right: 30px;
}
.ttl-cap-ttl {
  letter-spacing: 0.3em;
  font-size: var(--fs-21);
  font-weight: var(--fw-bold);
  margin-bottom: 16px;
}
.ttl-cap {
  font-size: var(--fs-15);
}
.ttl-cap-ttl.right,
.ttl-cap.right {
  width: 50%;
  margin-left: auto;
  margin-right: 0;
}
@media screen and (min-width: 2000px) {
  .wiring-gb {
    background-position:
      left 90px,
      right top;
  }
}
@media screen and (max-width: 768px) {
  .wiring-gb {
    background-position:
      -200px 90px,
      right -200px top;
    background-size:
      400px auto,
      400px auto;
  }
  .ttl-main {
    font-size: 40px;
  }
  .ttl-cap-ttl.right,
  .ttl-cap.right {
    width: 100%;
    margin-left: 0;
    margin-right: auto;
  }
}

/* bg-image */
.bg-image {
  position: absolute;
  content: "";
  display: block;
  width: 1146px;
  height: 575px;
  background-image: url("../../img/common/cmn-bg-img.svg");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}
.bg-image.right {
  right: 0;
  transform: translateX(50%);
}
.bg-image.left {
  left: 0;
  transform: translateX(-50%);
}
.bg-image.top {
  top: 0;
}
.bg-image.bottom {
  bottom: 0;
}
@media screen and (max-width: 1200px) {
  .bg-image {
    width: 100vw;
    height: 60vw;
  }
}
/*--------------------------------
  news-archive tabs
--------------------------------*/
.news .news-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
}

.news .news-tabs__item {
  width: 174px;
  cursor: pointer;
  background-color: var(--color-white);
  border: 2px solid #d9a6a6;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
  position: relative;
  text-align: center;
  padding: 8px 0;
}

.news .news-tabs__item::after {
  content: none;
}

.news .news-tabs__item.is-active {
  background-color: var(--color-red-2);
  color: var(--color-white);
  border-color: var(--color-red-2);
}

.news .news-tabs__item:not(.is-active):hover {
  background-color: rgba(166, 30, 30, 0.1);
}

@media screen and (max-width: 768px) {
  .news .news-tabs__item {
    flex: 1;
    min-width: auto;
    padding: 8px 12px;
    font-size: var(--fs-14);
  }
}

/*--------------------------------
  news-archive list layout
--------------------------------*/
.news .news-panels,
.news .content,
.news .latest {
  position: relative;
  z-index: 1;
}

.news .news-panels::before,
.news .content::before,
.news .latest::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background-color: var(--color-beige-2);
  z-index: -1;
}

.news .content article.article-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news .content article.article-panel[hidden] {
  display: none;
}

.news .content .article-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.news .content .left,
.news .content .right {
  width: calc(50% - 20px);
}

.news .content .img {
  aspect-ratio: 407 / 320;
}

.news .content .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news .news-item {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--color-black-3);
  padding: 32px 0;
}

.news .news-item__link {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  color: inherit;
  text-decoration: none;
}

.news .news-item__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news .news-item__meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.news .news-item__date {
  font-size: var(--fs-15);
  color: var(--color-black-3);
}

.news .news-item__cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 0;
  background-color: var(--color-red-2);
  color: var(--color-white);
  font-size: var(--fs-14);
}

.news .news-item__ttl {
  font-size: var(--fs-18);
  font-weight: var(--fw-bold);
}

.news .news-item__excerpt {
  font-size: var(--fs-15);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  line-clamp: 1;
}

.news .news-item__icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center;
}

/*--------------------------------
  news-archive pagination
--------------------------------*/
.news .news-pagination {
  margin-top: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.news .news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.news .news-pagination .page-numbers li {
  display: inline-block;
  margin: 0;
}

.news .news-pagination .page-numbers a,
.news .news-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: var(--fs-15);
  color: var(--color-black-3);
  text-decoration: none;
  border: 1px solid rgba(32, 9, 5, 0.16);
  background-color: var(--color-white);
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.news .news-pagination .page-numbers a:hover {
  background-color: rgba(166, 30, 30, 0.1);
  border-color: var(--color-red-2);
  color: var(--color-red-2);
}

.news .news-pagination .page-numbers .current {
  background-color: var(--color-red-2);
  color: var(--color-white);
  border-color: var(--color-red-2);
}

.news .news-pagination .page-numbers .dots {
  border: none;
  background-color: transparent;
  cursor: default;
}

@media screen and (max-width: 768px) {
  .news .news-tabs {
    margin-bottom: 24px;
  }
  .news .news-item {
    padding: 20px 0;
  }
  .news .news-item__link {
    gap: 16px;
  }

  .news .news-item__meta {
    gap: 12px;
  }

  .news .news-item__ttl {
    font-size: var(--fs-16);
  }
  .news .news-item__excerpt {
    padding-right: 28px;
  }

  .news .news-pagination {
    margin-top: 32px;
  }

  .news .news-pagination .page-numbers a,
  .news .news-pagination .page-numbers span {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    font-size: var(--fs-14);
  }
}

/*--------------------------------
  news-single article
--------------------------------*/
.news .content .meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.news .content .date {
  font-size: var(--fs-15);
  color: var(--color-black-3);
}

.news .content .cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 2px 8px;
  border-radius: 0;
  background-color: var(--color-red-2);
  color: var(--color-white);
  font-size: var(--fs-14);
}

.news .content .ttl {
  font-size: var(--fs-24);
  font-weight: var(--fw-bold);
  color: var(--color-black-3);
  line-height: 1.6;
  margin: 0;
}

.news .content .desc {
  font-size: var(--fs-15);
  color: var(--color-black-3);
  line-height: 1.75;
}

.news .content .article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.news .content .article-nav__prev,
.news .content .article-nav__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 32px;
  font-size: var(--fs-20);
  font-weight: var(--fw-medium);
  color: var(--color-white);
  background-color: var(--color-red-2);
  font-family: var(--font-barlow);
  text-decoration: none;
  transition: opacity 0.3s ease;
  border: none;
  border-radius: 0;
}

.news .content .article-nav__prev:hover,
.news .content .article-nav__next:hover {
  opacity: 0.8;
}

.news .content .article-nav__arrow {
  font-size: var(--fs-18);
  font-weight: var(--fw-bold);
  color: var(--color-white);
}

.news .content .article-nav__text {
  color: var(--color-white);
}

.news .content .article-nav__prev {
  margin-right: auto;
}

.news .content .article-nav__next {
  margin-left: auto;
}

.news .latest-title {
  font-size: var(--fs-21);
  font-weight: var(--fw-bold);
  color: var(--color-black-3);
  margin: 0;
}

@media screen and (max-width: 768px) {
  .news .content .article-wrapper {
    flex-direction: column-reverse;
    gap: 24px;
  }
  .news .content .left,
  .news .content .right {
    width: 100%;
  }

  .news .content .ttl {
    font-size: var(--fs-20);
  }
  .news .content .img {
    width: 80%;
    aspect-ratio: 3 / 2;
    margin-left: auto;
    margin-right: auto;
  }
  .news .content .article-nav {
    gap: 16px;
    margin-top: 32px;
    padding-top: 20px;
  }
  .news .content .article-nav__prev,
  .news .content .article-nav__next {
    padding: 4px 16px;
  }
  .news .latest-title {
    font-size: var(--fs-18);
  }
}
@media screen and (max-width: 480px) {
  .news .content .img {
    width: 100%;
  }
}

/*--------------------------------
  latest cards
--------------------------------*/
.news .latest-cards {
  position: relative;
  z-index: 1;
}

.news .latest-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news .latest-card {
  position: relative;
  z-index: 1;
  border: 1px solid var(--color-red-2);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.news .latest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news .latest-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news .latest-card__img {
  width: 100%;
  aspect-ratio: 298 / 212;
  overflow: hidden;
  background-color: var(--color-beige-1);
  flex-shrink: 0;
}

.news .latest-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news .latest-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 12px;
}

.news .latest-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.news .latest-card__date {
  color: var(--color-black-3);
}

.news .latest-card__cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 0;
  background-color: var(--color-red-2);
  color: var(--color-white);
  font-size: var(--fs-15);
  font-weight: var(--fw-medium);
}

.news .latest-card__ttl {
  font-weight: var(--fw-bold);
  color: var(--color-black-3);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news .latest-card__excerpt {
  font-size: var(--fs-14);
  color: var(--color-black-3);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.news .latest-card__readmore {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--color-red-2);
  font-family: var(--font-barlow);
  font-weight: var(--fw-medium);
}

.news .latest-card__readmore-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.news .latest-card:hover .latest-card__readmore-icon {
  transform: translateX(4px);
}

.news .latest-empty {
  padding: 40px 0;
  text-align: center;
  font-size: var(--fs-16);
  color: var(--color-black-3);
}

@media screen and (max-width: 1024px) {
  .news .latest-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media screen and (max-width: 768px) {
  .news .latest-cards-grid {
    gap: 16px;
  }

  .news .latest-card__content {
    padding: 16px;
  }
  .news .latest-card__ttl {
    font-size: var(--fs-15);
  }

  .news .latest-card__excerpt {
    font-size: var(--fs-13);
  }
}
@media screen and (max-width: 600px) {
  .news .latest-cards-grid {
    gap: 8px;
  }
  .news .latest-card__content {
    padding: 12px 8px;
    gap: 8px;
  }
  .news .latest-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .news .latest-card__cat {
    padding: 4px;
    line-height: 1;
  }
  .news .latest-card__date,
  .news .latest-card__readmore-text {
    font-size: var(--fs-12);
    line-height: 1;
  }
  /* 600px以下では3件目以降を非表示（2件のみ表示） */
  .news .latest-card:nth-child(n + 3) {
    display: none;
  }
}
