@charset "UTF-8";

/* ============================
*  Base
* ========================== */
:root {
  --text-color-primary: #1c2661;
  --text-color-secondary: #fff;
  --text-color-hover: #4194ef;
  --text-color-orange: #ff5d35;
  --text-color-breadcrumb: #707070;

  --bg-page: #fff;
  --bg-color-primary: #1c2661;
  --bg-orange: #ff5d35;
  --bg-white: #fff;

  --color-gray-blue: #858bae;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text-color-primary);
  font-family: 'Noto Sans JP', sans-serif;
}

picture {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

:lang(en) {
  font-family: 'Inter', sans-serif;
}

/* ============================
*  Layout
* ========================== */
.l-main {
  margin-block-start: 106px;

  @media screen and (max-width: 1000px) {
    margin-block-start: 54px;
  }
}

.l-inner {
  display: block;
  max-width: 1366px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 10rem;

  @media screen and (max-width: 1000px) {
    max-width: 100%;
    padding-inline: 1.25rem;
  }
}

.l-bg-wrapper {
  width: 100%;
  background-size: cover;

  &:has(.c-box) {
    padding-inline: 7.32vw;
  }

  @media screen and (max-width: 1000px) {
    position: relative;
    padding-block-end: 0;
    background-color: #17222c;
    background-size: contain;
    background-repeat: no-repeat;
  }
}

.l-page-main {
  background-color: var(--bg-page);
}

.l-page__content {
  max-width: 45.75rem;
  width: 100%;
  margin-inline: auto;
  padding-block-end: 8rem;

  @media screen and (max-width: 1000px) {
    padding-inline: 1.25rem;
  }

  & .c-section-title {
    margin-block-end: 2.5rem;
  }
}

/* ============================
*  Component
* ========================== */
/*-------------------------
  パンくずリスト
-------------------------*/
.c-breadcrumb {
  padding-block: 2rem;
  background-color: var(--bg-white);
}

.c-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color-breadcrumb);

  @media screen and (max-width: 1000px) {
    flex-wrap: wrap;
  }
}
.c-breadcrumb__item {
  font-size: 0.875rem;
  line-height: 1.462;
  font-weight: 500;

  &:not(:last-of-type) {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    &::after {
      content: '';
      background-color: var(--text-color-breadcrumb);
      width: 1px;
      height: 0.938rem;
      transform: rotate(45deg);
    }
  }
}

.c-breadcrumb__link {
  text-transform: uppercase;
}

.p-single .c-breadcrumb__item--current {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 16rem;
}

/*-------------------------
  見出し
-------------------------*/
/* Top page */
.c-p-top-section-title {
  display: flex;
  gap: 1rem;
  margin-block-end: 2rem;
  align-items: baseline;
  color: #0c161f;
}

.c-p-top-section-title--ja {
  font-size: 2.5rem;
  line-height: 1.45;
  font-weight: 600;

  @media screen and (max-width: 1000px) {
    font-size: 2rem;
    line-height: 1.438;
  }
}

.c-p-top-section-title--en {
  font-size: 1rem;
  /* line-height: 1.208; */
  font-weight: 600;

  @media screen and (max-width: 1000px) {
    font-size: 0.875rem;
    line-height: 1.214;
  }
}

/* Single page */
.c-page-header:not(.p-news__header) {
  @media screen and (max-width: 1000px) {
    margin-block-end: 4.5rem;
  }
}

.c-page-header .l-inner {
  padding-block: 1rem 5.5rem;

  @media screen and (max-width: 1000px) {
    padding-block: 0;
  }
}

.c-page-header__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.c-page-title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.c-page-title--ja {
  font-size: 2.5rem;
  line-height: 1.4;
  font-weight: 700;

  @media screen and (max-width: 1000px) {
    font-size: 2rem;
    line-height: 1.5;
  }
}

.c-page-title--en {
  font-size: 0.875rem;
  line-height: 1.214;
  font-weight: 600;
}

.c-page-header__nav {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;

  @media screen and (max-width: 1000px) {
    .p-about-us & {
      display: none;
    }
  }
}

.c-page-header__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.c-page-header__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s ease;

  &::before {
    content: '';
    width: 0.625rem;
    height: 1px;
    background-color: var(--text-color-primary);
  }

  /* Hover State */
  &:hover {
    color: var(--text-color-hover);
  }

  &:hover::before {
    background-color: var(--text-color-hover);
  }
}

.c-section-title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.c-section-title--ja {
  font-size: 1.5em;
  line-height: 1.5;
  font-weight: 600;
}

.c-section-title--en {
  font-size: 0.75rem;
  line-height: 1.25;
  font-weight: 600;
}

/*-------------------------
  ページネーション
-------------------------*/
/* 一覧用 */
.c-archive-pagination {
  padding-block-end: 8rem;
}

.c-archive-pagination__list {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2.125rem;
}

.c-archive-pagination__item--prev,
.c-archive-pagination__item--next {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 5.313rem;
  height: 100%;
  padding-inline: 1.125rem;
  background-color: var(--bg-white);
  border: 1px solid var(--bg-orange);
  border-radius: 100px;
  font-size: 1rem;
  line-height: 1.5;
  flex-shrink: 0;
  transition: 0.3s ease;

  /* Hover State */
  &:hover {
    background-color: var(--bg-orange);
    color: var(--text-color-secondary);
  }

  &:hover::before,
  &:hover::after {
    filter: brightness(0) invert(1);
  }
}

.c-archive-pagination__item--prev {
  margin-inline-end: 2rem;
}

.c-archive-pagination__item--next {
  margin-inline-start: 2rem;
}

.c-archive-pagination__item--prev::before,
.c-archive-pagination__item--next::after {
  content: '';
  background-image: url(../images/arrow-pagination.svg);
  width: 4.3px;
  height: 7.7px;
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.c-archive-pagination__item--next::after {
  transform: rotate(180deg);
}

.c-archive-pagination__numbers {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.c-archive-pagination__item--number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.125rem;
  height: 2.125rem;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 600;
  font-family: 'Inter', sans-serif;

  &.c-archive-pagination__item--current {
    background-color: var(--bg-color-primary);
    color: var(--text-color-secondary);
    border-radius: 50%;
  }
}

/* 詳細用 */
.c-single-pagination {
  padding-block-end: 10rem;

  @media screen and (max-width: 1000px) {
    padding-block-end: 0;
  }
}

.c-single-pagination__list {
  display: flex;
  align-items: center;
  justify-content: space-between;

  @media screen and (max-width: 1000px) {
    margin-block-end: 1.5rem;
  }
}

.c-single-pagination__item {
  padding-block: 0.25rem;
  padding-inline: 1.5rem;
  background-color: var(--bg-white);
  border-radius: 100px;

  @media screen and (max-width: 1000px) {
    padding-block: 0.125rem;
    padding-inline: 0.75rem;
  }
}

.c-single-pagination-label {
  font-size: 1rem;
  line-height: 1.5;

  @media screen and (max-width: 1000px) {
    font-size: 0.75rem;
  }
}

/*-------------------------
  スクロールボタン
-------------------------*/
.c-scroll-button {
  position: absolute;
  z-index: 10;
  left: 14.28vw;
  bottom: -1.125rem;
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  background-color: var(--bg-white);
  border-radius: 50%;
  transition: 0.3s ease;
  overflow: hidden;

  /* Hover state */
  &:hover {
    transform: scale(1.1);
    background-color: var(--bg-color-primary);
  }

  &:hover .c-scroll-button__img {
    transform: translate(0, 100%) rotate(90deg);
  }

  &:hover .c-scroll-button__img-hover {
    display: block;
    transform: translate(0, 50%) rotate(90deg);
  }

  @media screen and (max-width: 1000px) {
    display: none;
  }
}

.c-scroll-button__img {
  transform: translate(0, -50%) rotate(90deg);
  transition: 0.4s ease;
}

.c-scroll-button__img-hover {
  transform: translate(0, -50%) rotate(90deg);
  transition: 0.2s ease;
}

/*-------------------------
  コンテンツボックス
-------------------------*/
.c-box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  width: fit-content;
  padding: 1.563rem;
  background-color: rgba(255, 255, 255, 0.9);

  @media screen and (max-width: 1000px) {
    content: '';
    position: absolute;
    bottom: 2.46dvh;
    padding-block: 1.563rem;
    padding-inline: 1.563rem 1.25rem;
  }
}

.c-box__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: var(--text-color-primary);
}

.c-content__desc {
  font-size: clamp(1rem, 2.34vw, 2rem);
  line-height: 1.375;
  font-weight: 700;

  @media screen and (max-width: 1000px) {
    font-size: 1.5rem;
    line-height: 1.333;
  }
}

.c-content__label-wrapper {
  display: grid;
  grid-template-columns: minmax(auto, 240px) auto;
  justify-content: space-between;
  align-items: center;
  gap: 0.938rem;

  @media screen and (max-width: 1000px) {
    grid-template-columns: minmax(auto, 100%) auto;
  }

  &::before {
    content: '';
    width: 100%;
    height: 1px;
    background-color: var(--bg-color-primary);
  }
}

.c-content__label {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
}

.c-content__label--en {
  font-size: 0.875rem;
  line-height: 1.214;
  white-space: nowrap;
}

/*-------------------------
  リンクボタン
-------------------------*/
.c-button {
  display: flex;
  align-items: center;
  width: 15rem;
  height: 2.5rem;
  border: 1px solid var(--bg-orange);
  cursor: pointer;
  overflow: hidden;

  @media screen and (max-width: 1000px) {
    height: 3rem;
  }

  &:hover .c-button__arrow-img {
    transform: translate(100%, -200%);
  }

  &:hover .c-button__arrow-img-hover {
    transform: translate(125%, -200%);
  }
}

.c-button__label {
  position: relative;
  display: block;
  padding-inline: 4rem;
  color: var(--bg-orange);
  font-size: 0.875rem;
  line-height: 1.429;

  @media screen and (max-width: 1000px) {
    padding-inline: 3.5rem;

    font-size: 1rem;
    line-height: 1.5;
  }

  &::after {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    content: '';
    width: 1px;
    height: 1.688rem;
    background-color: var(--bg-orange);

    @media screen and (max-width: 1000px) {
      height: 2rem;
    }
  }
}

.c-button__arrow {
  display: block;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;

  width: 40px;
  height: 38px;

  @media screen and (max-width: 1000px) {
    width: 46px;
  }
}

.c-button__arrow-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;

  width: 23px;
  height: 23px;

  transition: 0.3s ease;

  .p-contact & {
    width: 56px;
    height: 56px;
  }
}

.c-button__arrow-img-hover {
  position: absolute;
  bottom: -100%;
  left: -50%;
  transform: translateX(-50%);
  display: block;

  width: 23px;
  height: 23px;

  transition: 0.3s ease;
}

/* リンクボタン */
.l-page__content .c-button,
.contact__content .c-button,
.p-404 .c-button {
  display: grid;
  grid-template-columns: 1fr 56px;
  width: fit-content;
  height: 3.5rem;
  margin-inline: auto;
  background-color: var(--bg-orange);
  border: none;

  @media screen and (max-width: 1000px) {
    width: 100%;
  }

  & .c-button__label {
    font-size: 1.25rem;
    line-height: 1.45;
    color: var(--text-color-secondary);
    text-align: center;
  }

  & .c-button__label::after {
    background-color: var(--bg-white);
  }

  & .c-button__arrow {
    width: 56px;
    height: 56px;
  }

  & .c-button__arrow-img {
    left: 50%;
  }

  & .c-button__arrow-img-hover {
    opacity: 0;
    bottom: -50%;
    left: 0;
  }

  /* Hover State */
  &:hover {
    background-color: #ff9a81;
  }

  &:hover .c-button__arrow-img {
    transform: translate(100%, -50%);
  }

  &:hover .c-button__arrow-img-hover {
    opacity: 1;
    transform: translate(0, -50%);
  }
}

.contact__content .c-button {
  margin-inline-start: -3.5rem;

  & .c-button__arrow-img-hover {
    transform: translate(-100%, -50%);

    width: 56px;
    height: 56px;
  }

  &:hover .c-button__arrow-img-hover {
    transform: translate(0%, -50%);
  }

  @media screen and (max-width: 1000px) {
    max-width: 400px;
    width: 100%;
    margin-inline-start: 0;
  }
}

/* 確認画面 */
.c-button.contact-confirm__back-button {
  direction: rtl;
  background-color: #bbb;

  & .c-button__label::after {
    right: auto;
    left: 0;
  }

  & .c-button__arrow {
    transform: rotate(180deg);
  }

  /* Hover State */
  &:hover {
    background-color: #dfdfdf;
  }
}

/*-------------------------
  お問い合わせページ関連
-------------------------*/
.c-contact {
  width: 100%;
  background-color: var(--bg-white);
}

.c-contact__inner {
  max-width: 1046px;
  margin-inline: auto;
  width: 100%;
  height: 100%;
  padding-block: 5rem;
  /* border-top: 1px solid var(--bg-color-primary); */

  @media screen and (max-width: 1000px) {
    padding-block: 1.25rem;
  }
}

.c-contact .l-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 15rem;
  background-image: url(../images/bg-contact.png);
  background-size: contain;
  transition: 0.3s ease;

  @media screen and (max-width: 1000px) {
    position: relative;
    flex-direction: column;
    align-items: flex-start;

    max-width: 100%;
    width: auto;
    height: 21.125rem;
    margin-inline: 1.25rem;
    padding-block: 2rem;
    padding-inline-start: 1.25rem;
    background-image: url(../images/bg-contact-sp.png);

    &::after {
      position: absolute;
      content: '';
      top: 0;
      left: 0;

      width: 100%;
      height: 100%;
      background-color: rgba(28, 38, 97, 0.75);
    }
  }

  /* Hover state */
  &:hover {
    background-image: url(../images/bg-contact-hover.png);

    @media screen and (max-width: 768px) {
      background-image: url(../images/bg-contact-sp.png);

      &::after {
        background-color: rgba(255, 255, 255, 0.75);
      }
    }
  }

  &:hover .c-p-top-section-title,
  &:hover .c-contact__desc {
    position: relative;
    z-index: 5;
    color: var(--text-color-primary);
  }

  &:hover .c-contact__button {
    position: relative;
    z-index: 5;
    transform: scale(1.178);
    background-color: var(--bg-color-primary);
  }

  &:hover .c-contact__button-img {
    position: relative;
    z-index: 5;
    transform: translate(100%, 0);
  }

  &:hover .c-contact__button-img-hover {
    position: relative;
    z-index: 5;
    display: block;
    transform: translate(0, -100%);
  }
}

.c-contact .c-p-top-section-title,
.c-contact .c-contact__desc {
  color: var(--text-color-secondary);
}

.c-contact .c-p-top-section-title {
  margin-bottom: 1rem;
}

.c-contact__content {
  position: relative;
  z-index: 5;
}

.c-contact__button {
  position: relative;
  z-index: 5;
  width: clamp(56px, 82.35vw, 112px);
  height: clamp(56px, 82.35vw, 112px);
  background-color: var(--bg-white);
  border-radius: 50%;
  overflow: hidden;
  transition: 0.3s ease;

  @media screen and (max-width: 1000px) {
    margin-inline: auto;
  }
}

.c-contact__button-img {
  transform: translate(0, 0);
  transition: 0.4s ease;
}

.c-contact__button-img-hover {
  transform: translate(-100%, -105.89%);
  transition: 0.2s ease;
}

/*-------------------------
  お知らせページ関連
-------------------------*/
/* ページナビゲーション */
.c-page-header__content {
  position: relative;

  @media screen and (max-width: 1000px) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
  }
}

.c-page-header__nav-inner,
.c-page-header__category-list {
  display: flex;
  align-items: center;
  height: 33px;
}

.p-news .c-page-header {
  @media screen and (max-width: 1000px) {
    overflow-x: visible;
  }
}

.p-news .c-page-header__nav {
  flex-shrink: 0;
  position: relative;

  @media screen and (max-width: 1000px) {
    width: 100%;
    padding-block-end: 2.5rem;
  }
}

.c-page-header__nav-inner {
  align-items: center;
  gap: 3rem;

  @media screen and (max-width: 1000px) {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: auto;
  }
}

.c-page-header__nav-inner:has(.c-page-header__archive-btn.open) .c-page-header__category-list {
  right: 14.5rem;

  @media screen and (max-width: 1000px) {
    right: 0;
  }
}

/* カテゴリー */
.c-page-header__category-list {
  position: relative;
  flex-shrink: 0;
  gap: 1.5rem;

  @media screen and (max-width: 1000px) {
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    height: auto;
  }
}

.c-page-header__category-item {
  flex-shrink: 0;

  font-size: 1rem;
  line-height: 1.5;

  @media screen and (max-width: 1000px) {
    font-size: 0.875rem;
  }
}

.c-page-header__category-item--active {
  display: flex;
  align-items: center;
  height: 1.625rem;
  background-color: var(--bg-color-primary);
  color: var(--text-color-secondary);
  padding-inline: 0.875rem;
  border-radius: 50px;
  transition: 0.3s ease;
}

/* お知らせリスト */
.p-news .p-news__body {
  @media screen and (max-width: 1000px) {
    position: relative;
    top: 0;
  }
}

.c-news__list {
  display: grid;
  grid-template-rows: 4.5rem;
  gap: 0.5rem;

  @media screen and (max-width: 1000px) {
    display: flex;
    flex-direction: column;
    /* gap: 1rem; */
  }
}

.p-top-news__content .c-news__list.p-top-news__list {
  grid-template-rows: repeat(4, 3.75rem);
  gap: 1rem;

  padding-block-end: 0;

  @media screen and (max-width: 1000px) {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
}

.c-news__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
  height: 100%;
  padding-inline-end: clamp(3rem, 5.71vw, 4.875rem);
  padding-block: 1.5rem;
  padding-inline: 2rem;
  background-color: var(--bg-white);
  border-radius: 4px;

  &:hover {
    cursor: pointer;
  }

  @media screen and (max-width: 1000px) {
    flex-direction: column;
    align-items: flex-start;
    height: fit-content;
    gap: 0.76rem;
    padding: 1rem;
  }
}

.p-top .c-news__item {
  padding-inline: 0 4.875rem;
  padding-block: 0 1rem;

  &::after {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #1c2661 6rem, #c4c9e6 6rem);
  }

  @media screen and (max-width: 1000px) {
    gap: 0.5rem;
    padding-inline: 0;
  }
}

.c-news__item-link {
  display: block;
  width: 100%;
  height: 100%;
}

.c-news__meta {
  display: grid;
  grid-template-columns: 6rem 6.5rem;
  gap: 1.5rem;
}

.c-news__date {
  width: 100%;
  font-size: 1rem;
  line-height: 1.5;
  /* font-weight: 500; */
  font-family: 'Inter', sans-serif;
}

.c-news__category {
  display: block;
  width: 100%;
  height: fit-content;
  padding-block: 0.125rem;
  border: 1px solid var(--color-gray-blue);
  font-size: 0.75rem;
  line-height: 1.417;
  text-align: center;

  &.p-top-news__category {
    background-color: var(--bg-orange);
    border: none;
    color: var(--text-color-secondary);
  }
}

.c-news__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
  font-size: 1rem;
  line-height: 1.25;
}

/* ============================
*  Utility
* ========================== */
.u-pc-only {
  display: block;
  @media screen and (max-width: 1000px) {
    display: none;
  }
}

.u-sp-only {
  display: none;
  @media screen and (max-width: 1000px) {
    display: block;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.single {
  align-items: center;
}

.multiline {
  align-items: flex-start !important;
}

/* ============================
*  Header
* ========================== */
.l-header {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: 106px;
  background-color: var(--bg-color-primary);

  z-index: 100;

  @media screen and (max-width: 1000px) {
    height: 54px;
  }
}

.l-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1366px;
  width: 100%;
  height: 100%;
  margin-inline: auto;
  padding-inline: clamp(1rem, 2.93vw, 2.5rem);

  @media screen and (max-width: 1000px) {
    max-width: 100%;

    padding-block: 1rem;
    padding-inline: 1.25rem;
  }
}

.l-header__top {
  height: auto;

  @media screen and (max-width: 1000px) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
  }
}

.l-header__logo {
  flex-shrink: 0;
  max-width: 277px;
  width: 100%;
  height: auto;

  & img {
    aspect-ratio: 277 / 36;
  }

  @media screen and (max-width: 1000px) {
    width: 154px;
    height: auto;

    & img {
      aspect-ratio: 154 / 20;
    }
  }
}

/*-------------------------
  Hamburger Menu Icon
.-------------------------*/
.hamburger-menu {
  display: none;

  @media screen and (max-width: 1000px) {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    height: 22px;
    z-index: 100;

    &.is-fixed {
      position: fixed;
      top: 0;
      right: 0;
      right: 0;
      width: 100%;
      background-color: #1c2661;
      z-index: 1000;
    }
  }
}

.hamburger-menu__label {
  color: var(--text-color-secondary);
  font-size: 0.5rem;
  letter-spacing: 0.125em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hamburger-menu__line {
  position: relative;
  width: 32px;
  height: 1px;
  background-color: var(--bg-white);
  border-radius: 5px;
  transition: all 0.3s ease;
  z-index: 100;

  &::after {
    content: '';
    position: absolute;
    left: 0;
    width: 32px;
    height: 1px;
    background-color: var(--bg-white);
    border-radius: 5px;
    transition: all 0.3s ease;
  }

  &::after {
    top: 8px;
  }
}

.open .hamburger-menu__line {
  top: 0;
  background-color: var(--text-color-primary);
  transform: rotate(325deg);

  &::after {
    top: 0;
    background-color: var(--text-color-primary);
    transform: rotate(70deg);
  }
}

/*-------------------------
  Drawer Menu
-------------------------*/
.drawer-menu {
  position: relative;
  top: auto;
  right: auto;
  width: fit-content;
  background-color: transparent;
  flex-shrink: 0;

  @media screen and (max-width: 1000px) {
    position: fixed;
    right: -100%;
    /* right: 0; 仮置き */
    top: 0;
    width: 100%;
    height: 100dvh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10.34dvh;
    background-color: var(--bg-white);
    transition: 0.3s ease;
    z-index: 50;
  }
}

.drawer-menu.open {
  right: 0;
}

.drawer-menu__content {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.93vw, 2.5rem);

  @media screen and (max-width: 1000px) {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(1rem, 6.36dvh, 4.75rem);
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  @media screen and (max-width: 400px) and (max-height: 700px) {
    gap: 2rem;
  }
}

.l-header__nav {
  @media screen and (max-width: 1000px) {
    overflow-y: auto;
    max-height: calc(100% - 192px);
    width: 100%;
    min-height: 0;
    flex-shrink: 0;
    padding-inline: 1.25rem;
    padding-bottom: 1rem;
  }
}

.l-header__nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.93vw, 2.5rem);

  @media screen and (max-width: 1000px) {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
}

.l-header__nav-item:not(.u-sp-only) {
  position: relative;
  display: inline-block;

  &::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-color-secondary);
    transition: width 0.2s ease;
  }

  /* Hover state */
  &:hover::after {
    bottom: -2px;
    width: 100%;
  }

  @media screen and (max-width: 1000px) {
    position: relative;
    width: 100%;

    &::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 100%;
      height: 1px;
      background: linear-gradient(to right, #1c2661 43%, #c4c9e6 43%);
    }
  }
}

@media screen and (max-width: 1000px) {
  .l-header__nav-item.u-sp-only {
    position: relative;
    width: 100%;
  }

  .l-header__nav-item.u-sp-only::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #1c2661 43%, #c4c9e6 43%);
  }
}

.l-header__nav-link {
  display: block;
  width: 100%;
  height: 100%;

  font-size: 0.875rem;
  line-height: 1.429;
  color: var(--text-color-secondary);
  transition: 0.3s ease;

  @media screen and (max-width: 1000px) {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding-inline: 0.5rem 1rem;
    padding-block: 1.5rem 1.25rem;

    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
    color: var(--text-color-primary);

    &::after {
      content: '';
      width: 8px;
      height: 7px;
      background-color: var(--bg-color-primary);
      clip-path: polygon(0 0, 100% 0, 50% 100%);
      transform: rotate(-90deg);
    }

    @media screen and (max-width: 400px) and (max-height: 700px) {
      padding-block: 1rem 0.875rem;
    }
  }
}

/* Header Contact */
.l-header__contact {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.76vw, 1.5rem);

  @media screen and (max-width: 1000px) {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 192px;
    flex-direction: column-reverse;
    flex-shrink: 0;
    width: 100%;
  }
}

.l-header__contact-form {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-orange);
  border-radius: 100px;
  transition: 0.3s ease;

  /* Hover State */
  &:hover {
    background-color: #ff9a81;
  }

  @media screen and (max-width: 1000px) {
    display: none;
  }
}

.l-header__contact-form-link {
  padding-block: 0.25rem;
  padding-inline: 1.75rem;
  font-size: 0.813rem;
  font-weight: 500;
  line-height: 1.462;
  color: var(--text-color-secondary);
}

.l-header__contact-tel {
  color: var(--text-color-primary);

  @media screen and (max-width: 1000px) {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-block: 3.94vh 5.5rem;
    background-color: var(--bg-color-primary);
  }
}

.tel-number-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color-secondary);

  @media screen and (max-width: 1000px) {
    justify-content: space-between;
    gap: 0;
  }
}

.tel-icon {
  width: 1.5rem;
  aspect-ratio: 6 / 7;

  width: 1.625rem;
  height: auto;
  aspect-ratio: 26 / 31;
}

.tel-number {
  pointer-events: none;

  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  line-height: 1.094;
  font-weight: 600;

  @media screen and (max-width: 1000px) {
    pointer-events: auto;

    font-size: 2.5rem;
    line-height: 1.075;
  }
}

.tel-reception-hours {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--text-color-secondary);

  @media screen and (max-width: 1000px) {
    justify-content: space-between;
  }
}

.tel-reception-hours-label {
  padding-block: 1px;
  width: 3.75rem;
  border: 1px solid var(--text-color-secondary);
  border-radius: 50px;
  font-size: 0.625rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-align: center;

  @media screen and (max-width: 1000px) {
    width: 4.125rem;
    font-size: 0.75rem;
    line-height: 1.417;
  }
}

.tel-reception-hours-desc {
  font-size: 0.688rem;
  line-height: 1.455;

  @media screen and (max-width: 1000px) {
    font-size: 0.875rem;
    line-height: 1.429;
  }
}

/* ============================
*  Footer
* ========================== */
.l-footer {
  background-color: var(--bg-color-primary);
  color: var(--text-color-secondary);
}

.l-footer__inner {
  position: relative;
  max-width: 1366px;
  width: 100%;
  margin-inline: auto;
  padding-block: 4.813rem;
  padding-inline: 10rem;

  @media screen and (max-width: 1000px) {
    padding-block: 3rem 5rem;
    padding-inline: 1.25rem;
  }
}

.l-footer__content {
  display: grid;
  grid-template-columns: 67% 29%;
  /* gap: clamp(1rem, 3.73vw, 3.188rem); */
  justify-content: space-between;
  width: 100%;

  @media screen and (max-width: 1000px) {
    grid-template-columns: 1fr;
  }
}

.l-footer__logo {
  width: 277px;
  height: 36px;
  margin-block-end: 0.5rem;

  @media screen and (max-width: 1000px) {
    width: 240px;
    height: 30px;
    margin-block-end: 0.75rem;
  }
}

.l-footer__logo-img {
  aspect-ratio: 277 / 36;

  @media screen and (max-width: 1000px) {
    aspect-ratio: 8 / 1;
  }
}

.l-footer__address {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.l-footer__address-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-block-end: 3rem;

  @media screen and (max-width: 1000px) {
    margin-bottom: 3rem;
  }
}

.l-footer__address-group {
  display: flex;
  flex-wrap: wrap;

  & .l-footer__address-tel::after {
    content: '／';
  }
}

.l-footer__address-item {
  display: flex;
  font-size: 1rem;
  line-height: 1.5;

  @media screen and (max-width: 1000px) {
    font-size: 0.875rem;
    line-height: 1.429;
  }
}

.l-footer__address-label {
  &:lang(en) {
    text-transform: uppercase;
  }

  &::after {
    content: '：';
  }
}

.l-footer__address-map {
  height: 170px;

  @media screen and (max-width: 1000px) {
    height: 20.94dvh;
    margin-block-end: 2rem;
  }
}

.l-footer__address-map-iframe {
  aspect-ratio: 70 / 17;

  @media screen and (max-width: 1000px) {
    aspect-ratio: 333 / 170;
  }
}

.l-footer__right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  @media screen and (max-width: 1000px) {
    gap: 1.5rem;
  }
}

.l-footer__nav {
  height: fit-content;
}

.l-footer__list {
  display: flex;
  justify-content: space-between;

  @media screen and (max-width: 1000px) {
    justify-content: flex-start;
    gap: 2rem;
  }
}

.l-footer__sub-list {
  position: relative;
  padding-inline-start: 1rem;

  &::before {
    content: '';
    position: absolute;
    left: 0;
    width: 1px;
    height: 100%;
    background-color: var(--color-gray-blue);
  }
}

.l-footer__group-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.l-footer__link {
  display: block;
  position: relative;
  display: inline-block;
  width: fit-content;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
  transition: 0.3s ease;

  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-color-secondary);
    transition: width 0.2s ease;
  }

  /* Hover state */
  &:hover::after {
    width: 100%;
  }
}

.l-footer__sub-list-label {
  margin-block-end: 0.875rem;
}

.l-footer__sub-list {
  display: flex;
  flex-direction: column;
}

.l-footer__sub-list-item {
  position: relative;
  font-size: 1rem;
  line-height: 2;
  font-weight: 400;
  width: fit-content;

  &::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-color-secondary);
    transition: width 0.2s ease;
  }

  /* Hover state */
  &:hover::after {
    width: 100%;
  }
}

.l-footer__copyright {
  font-size: 0.75rem;
  line-height: 1.417;
  white-space: nowrap;

  /* @media screen and (max-width: 1000px) {
    text-align: left;
  } */
}

.l-footer__copyright-link {
  text-decoration: underline;
  transition: 0.2s opacity;

  &:hover {
    opacity: 0.6;
  }
}


/* ============================
*  Top
* ========================== */
/*-------------------------
  FV
-------------------------*/
.l-fv {
  position: relative;
  width: 100%;
  height: calc(100svh - 106px);

  @media screen and (max-width: 1000px) {
    height: calc(100svh - 54px);
  }

  & .l-inner {
    display: flex;
    align-items: center;
    height: 100%;

    @media screen and (max-width: 1000px) {
      padding-inline-end: 0;
    }
  }
}

.l-fv__content {
  position: absolute;
  /* top: calc(10.96vw + 106px); */
  top: 19.53dvh;
  left: 11.71vw;
  z-index: 1;

  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: fit-content;

  color: var(--text-color-secondary);

  @media screen and (max-height: 700px) and (min-height: 600px) and (min-width: 999px) {
    top: 19.5vh;
  }

  @media screen and (max-width: 1000px) {
    top: auto;
    bottom: 10rem;
    left: 5.33vw;
    gap: 1rem;
  }
}

.l-fv__catchcopy {
  font-size: min(clamp(2rem, 4.39vw, 3.75rem), 7.8vh);
  line-height: 1.4;
  font-weight: 900;
  text-shadow: 2px 2px 8px #17222c;

  @media screen and (max-width: 1000px) {
    font-size: 2.5rem;
    line-height: 1.4;
    letter-spacing: -0.02em;
  }

  & .l-fv__catchcopy--sub {
    font-size: min(min(3.65vw, 3.125rem), 6.5vh);
    line-height: 1.92;
    font-weight: 600;

    @media screen and (max-width: 1000px) {
      font-size: 2rem;
      line-height: 1.438;
    }
  }

  & .l-fv__catchcopy--small {
    font-size: min(min(2.92vw, 2.5rem), 5.2vh);

    @media screen and (max-width: 1000px) {
      font-size: 1.5rem;
    }
  }
}

.l-fv__desc {
  font-size: min(clamp(0.875rem, 1.24vw, 1.063rem), 2.2vh);
  line-height: 1.824;
  font-weight: 500;
  text-shadow: 2px 2px 8px #17222c;

  @media screen and (max-width: 1000px) {
    font-size: 0.875rem;
    line-height: 2;
  }
}

/*-------------------------
  スライダー
-------------------------*/
.l-fv__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.l-fv__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1s ease;

  &.l-fv__slide--last .l-fv__slide-img {
      object-position: 0 50%;
      
      @media screen and (max-width: 1000px) {
        width: 100%;
        object-position: 50% 60%;
      }
  }

  & .l-fv__slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0 60%;
    transform: scale(1.08);

    @media screen and (max-width: 1000px) {
      object-position: 50% 60%;
    }
  }

  &.l-fv__slide--active {
    opacity: 1;
    z-index: 1;

    & .l-fv__slide-img {
      animation: fvZoom 6s 2s ease forwards;
    }
  }

  &.l-fv__slide--dissolve-out {
    opacity: 0;
    z-index: 0;
  }
}

@keyframes fvZoom {
  0% {
    transform: scale(1.08);
  }
  80% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}

/* ============================
*  CTA (Only SP)
* ========================== */
.cta__contact-form {
  display: none;
  height: 0;

  @media screen and (max-width: 1000px) {
    position: fixed;
    z-index: 500;
    bottom: 0;
    left: 0;

    display: block;
    background-color: var(--bg-orange);

    height: 6.9dvh;
    width: 100%;
    flex-shrink: 0;
    border-radius: 0;

    & .cta__contact-form-link {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      font-size: 1.25rem;
      line-height: 1.45;
      font-weight: 500;
      color: var(--text-color-secondary);
    }
  }
}

/*-------------------------
  会社案内
-------------------------*/
.p-top-about-us .l-bg-wrapper {
  padding-block: 26.04dvh 26.04dvh;
  background-image: url(../images/bg-top-about-us.webp);
  background-position: bottom left;
  aspect-ratio: 1366 / 689;

  @media screen and (max-width: 1000px) {
    height: 61.58dvh;
    padding-block: 0;
    background-size: cover;
    background-image: url(../images/bg-top-about-us-sp.png);
    background-position: center;
    aspect-ratio: 1110 / 560;
  }
}

@media screen and (max-width: 1000px) {
  .p-top-about-us .l-inner {
    padding-inline-end: 0;
  }

  .p-top-about-us .c-box {
    right: 0;
  }
}

/*-------------------------
  業務案内
-------------------------*/
.p-top-business-overview .l-bg-wrapper {
  padding-block: 38.41dvh 9.11dvh;
  background-image: url(../images/bg-top-business-overview.webp);
  background-repeat: no-repeat;

  @media screen and (max-width: 1000px) {
    height: 61.58dvh;
    background-image: url(../images/bg-top-business-overview-sp.png);
    padding-block-end: 0;
    background-position: center;
    background-size: cover;
    aspect-ratio: 25 / 16;
  }
}

.p-top-business-overview .c-box {
  margin-left: auto;
  padding-inline-end: 0.5rem;

  & .c-content__label-wrapper {
    grid-template-columns: minmax(auto, 174px) auto;

    @media screen and (max-width: 1000px) {
      grid-template-columns: minmax(auto, 16.53vw) auto;
    }
  }

  @media screen and (max-width: 1000px) {
    left: 0;
  }
}

/*-------------------------
  お知らせ
-------------------------*/
.p-top-news .l-bg-wrapper {
  background-color: var(--bg-white);
}

.p-top-news .l-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(2rem, 7.03vw, 6rem);
  justify-content: space-between;
  padding-block: 11.72dvh 10.42dvh;

  @media screen and (max-width: 1000px) {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 3rem;
  }
}

@media screen and (max-width: 1000px) {
  .p-top-news__content {
    margin-block-end: 3rem;
  }
}

.p-top-news .c-p-top-section-title {
  height: fit-content;
}

.p-top-news .c-button {
  margin-block-start: -11.625rem;

  @media screen and (max-width: 1000px) {
    margin-block-start: 0;
    margin-inline-start: 1.5rem;
  }
}

/*-------------------------
  採用情報
-------------------------*/
.p-top-recruitment .l-bg-wrapper {
  background-image: url(../images/bg-top-recruitment.webp);
  background-repeat: no-repeat;

  @media screen and (max-width: 1000px) {
    position: relative;
    /* height: 100dvh; */
    min-height: 100svh;
    padding-block-end: 0;
    background-image: none;
    background-color: transparent;
  }
}

.p-top-recruitment__image {
  display: none;
  height: 0;

  @media screen and (max-width: 1000px) {
    display: block;
    width: 100%;
    height: 52.96dvh;
  }
}

.p-top-recruitment__content-box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: fit-content;
  margin-inline: 0 auto;
  padding-inline: 11.71vw 5.42vw;

  color: var(--text-color-secondary);
  aspect-ratio: 585 / 560;

  &::before,
  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
  }

  &::before {
    background-color: #0c161f;
    opacity: 0.5;
  }

  &::after {
    background-color: #093863;
    mix-blend-mode: multiply;
    opacity: 0.5;
  }

  @media screen and (max-width: 1000px) {
    /* position: absolute;
    bottom: 0; */
    width: 100%;
    /* height: 47.04dvh; */
    padding-block: 2.5rem 3rem;
    padding-inline: 1.25rem;
    background-color: #1c2661;

    &::before,
    &::after {
      display: none;
    }
  }
}

.p-top-recruitment .c-p-top-section-title,
.p-top-recruitment__desc,
.p-top-recruitment .c-button {
  flex-shrink: 0;
  position: relative;
  z-index: 5;
  mix-blend-mode: normal;
}

.p-top-recruitment .c-p-top-section-title {
  margin-block-end: 1.5rem;
  color: var(--text-color-secondary);

  & .c-p-top-section-title--ja {
    font-size: 3rem;

    @media screen and (max-width: 768px) {
      font-size: 2rem;
    }
  }
}

.p-top-recruitment__desc {
  margin-block-end: 4rem;
  font-size: 1rem;
  line-height: 1.75;

  @media screen and (max-width: 1000px) {
    margin-block-end: 2.5rem;
  }
}

.p-top-recruitment .c-button {
  border: 1px solid var(--bg-white);

  &::after {
    background-image: url(../images/arrow-button-white.svg);
  }
}

.p-top-recruitment .c-button__label {
  color: var(--text-color-secondary);

  &::after {
    background-color: var(--bg-white);
  }
}

/* ============================
*  会社案内 About Us
* ========================== */
.p-about-us__bg {
  position: relative;
  z-index: 2;
  overflow: hidden;

  &::before,
  &::after {
    /* z-index: -1; */
    position: absolute;
    content: '';
    max-width: 1920px;
    width: 100%;
    height: auto;

    background-size: 100%;
    background-repeat: no-repeat;
  }

  &::before {
    top: 0;
    background-image: url(../images/bg-page-about-us-top.png);
    aspect-ratio: 683 / 405;

    @media screen and (min-width: 1920px) {
      top: -150px;
    }
  }

  &::after {
    right: 0;
    bottom: 0;

    background-image: url(../images/bg-page-about-us-bottom.png);
    aspect-ratio: 683 / 576;

    @media screen and (min-width: 1920px) {
      bottom: -380px;
    }
  }

  & .c-breadcrumb,
  & .c-page-header {
    position: relative;
    z-index: 5;
    background-color: var(--bg-white);
  }

  & .p-about-us__images,
  & .p-about-us__content-item,
  & .c-contact {
    position: relative;
    z-index: 5;
  }

  @media screen and (max-width: 1000px) {
    background-image: url(../images/bg-page-about-us-sp.png);
    background-position: top -3svh left;
    background-size: cover;

    &::before,
    &::after {
      display: none;
    }
  }
}

.p-about-us__content-item .l-inner {
  display: grid;
  grid-template-columns: minmax(auto, 12.125rem) 1fr;

  @media screen and (max-width: 1000px) {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.p-about-us__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  width: 100%;
  overflow: hidden;

  @media screen and (max-width: 1000px) {
    height: 190px;
  }

  .p-about-us__image {
    aspect-ratio: 683 / 272;

    @media screen and (max-width: 1000px) {
      aspect-ratio: 188 / 191;
    }
  }
}

/*-------------------------
  セクション共通
-------------------------*/
.p-about-us__content-item {
  scroll-margin-top: 160px;

  @media screen and (max-width: 1000px) {
    scroll-margin-top: 80px;
  }
}

/*-------------------------
  ごあいさつ
-------------------------*/
.message .l-inner {
  padding-block: 2.5rem;

  @media screen and (max-width: 1000px) {
    padding-block: 4.5rem;
  }
}

.message__content {
  display: flex;
  gap: 3.25rem;

  @media screen and (max-width: 1000px) {
    flex-direction: column-reverse;
    align-items: center;
    gap: 2em;
  }
}

.message__descs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-block-end: 2rem;
  padding-inline-end: 10rem;

  @media screen and (max-width: 1000px) {
    margin-block-end: 1rem;
    padding-inline-end: 0;
  }
}

.message__desc {
  font-size: 1rem;
  line-height: 1.75;
}

.message__img {
  aspect-ratio: 207 / 266;

  @media screen and (max-width: 1000px) {
    aspect-ratio: 219 / 282;
  }
}

.message__meta {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
}

.message__meta-label {
  font-size: 1rem;
  line-height: 1.75;
  margin-inline-end: 0.5rem;
}

.message__meta-name {
  font-size: 1.313em;
  line-height: 1.429;
}

/*-------------------------
  会社概要
-------------------------*/
.company-profile .l-inner {
  padding-block-end: 4.5rem;
}

.company-profile__content {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;

  @media screen and (max-width: 1000px) {
    gap: 3rem;
  }
}

.company-profile__image {
  margin-block-end: 1.125rem;

  & .company-profile__img {
    aspect-ratio: 852 / 240;

    @media screen and (max-width: 1000px) {
      aspect-ratio: 335 / 192;
    }
  }
}

.company-profile__section-title {
  margin-block-end: 1rem;
  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 500;
}

.company-profile__tel-item {
  display: grid;
  grid-template-columns: minmax(auto, 4rem) 1fr;
  gap: 1.125rem;
}

.p-about-us__list-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;

  @media screen and (max-width: 1000px) {
    grid-template-columns: 1fr;
    gap: 0;

    & .p-about-us__list:nth-of-type(2) .p-about-us__item:first-of-type {
      border-top: none;
    }
  }
}

.p-about-us__item {
  display: grid;
  grid-template-columns: 6.3rem 1fr;
  padding-block: 0.5rem;
  border-bottom: 1px solid #c1c1c1;

  @media screen and (max-width: 1000px) {
    grid-template-columns: 4.875rem 1fr;
    gap: 1rem;
    align-items: center;
    padding-block: 0.5rem 0.75rem;

    #company-background & {
      align-items: flex-start;
    }
  }
}

.p-about-us__item:first-of-type {
  border-top: 1px solid #c1c1c1;
}

.p-about-us__label {
  font-size: 0.875rem;
  line-height: 1.429;
  font-weight: 500;
}

.p-about-us__value {
  font-size: 1rem;
  line-height: 1.75;
}

.p-about-us__tel-item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.125rem;
}

.google-map-link {
  display: block;
  width: 5.313rem;
  height: 1.313rem;
  margin-block-start: 0.5rem;
  background-color: var(--bg-orange);
  border-radius: 2px;
  font-size: 0.875rem;
  line-height: 1.429;
  font-weight: 400;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-color-secondary);
  text-align: center;
}

/*-------------------------
  沿革
-------------------------*/
.company-background .l-inner {
  padding-block-end: 4.5rem;
}

.company-background__time {
  @media screen and (max-width: 500px) {
    display: block;
    padding-block-start: 0.25rem;
  }
}

/* ============================
*  業務案内 biz-overview
* ========================== */
.p-biz-detail__header {
  position: relative;
  width: 100%;
  height: 10rem;
  margin-block-end: 1rem;

  @media screen and (max-width: 1000px) {
    height: 23.65svh;
    background-image: url(../images/bg-page-bussiness-title-sp.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
  }

  &::before {
    position: absolute;
    left: 0;
    content: '';

    height: 100%;
    width: 77%;
    background: linear-gradient(to right, #ff5d35 0%, #ff5d35 55%, rgba(255, 93, 53, 0) 90%);
    border-radius: 0 4px 4px 4px;

    @media screen and (max-width: 1000px) {
      z-index: 1;

      height: 100%;
      width: 100%;

      background: linear-gradient(to bottom, #ff5d35 0%, #ff5d35 50%, rgba(255, 93, 53, 0) 90%);
      border-radius: 0;
    }
  }

  & .l-inner {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    max-width: 1046px;
    width: 100%;
    height: 10rem;
    margin-inline: auto 10rem;
    color: var(--text-color-secondary);
    overflow: hidden;

    background-image: url(../images/bg-page-bussiness-title.png);
    background-size: cover;

    @media screen and (max-width: 1365px) {
      left: 0;
      right: 0;
      transform: translateX(0);
      max-width: 100%;
    }

    @media screen and (max-width: 1000px) {
      max-width: 100%;
      height: 100%;

      margin-inline: auto;
      transform: none;
      background-image: none;
    }
  }

  & .c-section-title {
    position: absolute;
    z-index: 10;
    width: fit-content;
    height: fit-content;
    margin-inline-start: -10rem;

    padding-block-start: 4.125rem;
    color: var(--text-color-secondary);

    @media screen and (max-width: 1365px) {
      left: 0;
      margin-inline-start: 20rem;
      width: 10rem;
    }

    @media screen and (max-width: 1000px) {
      top: 0.99dvh;
      margin-inline-start: 1.25rem;
      padding-block-start: 0;
    }
  }
}
.p-biz-detail__body .l-inner {
  padding-block-end: 4rem;

  @media screen and (max-width: 1000px) {
    padding-block-end: 0.875rem;
  }
}

.p-biz-detail__desc {
  font-size: 1rem;
  line-height: 1.5;
  margin-block-end: 2rem;

  @media screen and (max-width: 1000px) {
    margin-block-end: 3rem;
  }
}

.p-biz-detail__list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  @media screen and (max-width: 1000px) {
    gap: 2.5rem;
  }
}

.p-biz-detail__list {
  display: grid;
  column-gap: 1px;
}

.p-biz-detail__list--top {
  grid-template-columns: repeat(3, auto);

  @media screen and (max-width: 1000px) {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.p-biz-detail__list--bottom {
  grid-template-columns: repeat(3, 1fr);

  @media screen and (max-width: 1000px) {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.p-biz-detail__item {
  display: grid;
  grid-template-rows: auto 208px 1fr;

  @media screen and (max-width: 1000px) {
    grid-template-rows: auto 192px 1fr;

    &.p-biz-detail__item--kasou .p-biz-detail__item-img {
      object-position: top;
    }
  }
}

.p-biz-detail__item-heading {
  padding: 0.75rem;
  background-color: var(--bg-color-primary);
  color: var(--text-color-secondary);
}

.p-biz-detail__list--top .p-biz-detail__item-heading {
  height: 5.75rem;
}

.p-biz-detail__list--bottom .p-biz-detail__item-heading {
  height: 7.125rem;

  @media screen and (max-width: 1000px) {
    height: auto;
  }
}

.p-biz-detail__item-label {
  margin-block-end: 3px;
  font-size: 1.125em;
  line-height: 1.5;
  font-weight: 700;
  scroll-margin-top: 106px;
}

.p-biz-detail__item-image {
  height: 100%;
}

.p-biz-detail__item-desc {
  font-size: clamp(0.625rem, 0.95vw, 0.813rem);
  line-height: 1.462;
  font-weight: 400;

  @media screen and (max-width: 1000px) {
    font-size: 0.813rem;
    line-height: 1.462;
  }
}

.p-biz-detail__item-img {
  height: 100%;

  @media screen and (max-width: 1000px) {
    aspect-ratio: 335 / 192;
  }

  .p-biz-detail__list--bottom & {
    aspect-ratio: 348 / 208;
  }
}

.p-biz-detail__item-content {
  padding-block-start: 0.75rem;
  padding-inline-end: 0.625rem;
}

.p-biz-detail__content-list .p-biz-detail__content-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: clamp(0.5rem, 1.02vw, 0.875rem);
  font-weight: 500;
  line-height: 1.714;

  @media screen and (max-width: 1000px) {
    font-size: 0.875rem;
    line-height: 1.667;
  }
}

.p-biz-detail__content-item::before {
  content: '';
  width: 0.25rem;
  height: 0.25rem;
  background-color: var(--bg-color-primary);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  flex-shrink: 0;
}

.p-biz-detail__content-item.multiline::before {
  margin-top: 0.5rem;
}

/* 特殊車両整備 */
.p-biz-detail__item--tokushu .p-biz-detail__item-content.u-pc-only {
  display: grid;
  grid-template-columns: repeat(3, auto);
  column-gap: clamp(0.5rem, 1.17vw, 1rem);

  @media screen and (max-width: 1000px) {
    display: none;
    height: 0;
  }
}

.p-biz-detail__item--tokushu .p-biz-detail__item-content.u-sp-only {
  @media screen and (max-width: 1000px) {
    & .p-biz-detail__content-list {
      display: flex;
      flex-wrap: wrap;
      gap: 0.875rem;
    }
  }
}

/* ============================
*  お知らせ一覧
* ========================== */
.l-inner .c-news__list {
  padding-block-end: 4.5rem;
}

/* ============================
*  お知らせ詳細
* ========================== */
.p-single > .l-inner {
  display: flex;
  flex-direction: column;
  gap: 6rem;

  @media screen and (max-width: 1000px) {
    gap: 0;

    padding-block-start: 3rem;

    & .c-single-pagination {
      order: 2;
    }

    & .wp-block-table {
      margin-inline-end: -1.25rem;
    }
  }
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(auto, 16.5rem) 1fr;
  gap: clamp(2rem, 34.13vw, 8rem);

  padding-block-start: 8rem;

  @media screen and (max-width: 1000px) {
    display: contents;
  }
}

.column-main {
  order: 2;

  @media screen and (max-width: 1000px) {
    order: 1;
  }
}

.news-sidebar {
  order: 1;

  @media screen and (max-width: 1000px) {
    order: 3;
  }
}

/*-------------------------
  記事
-------------------------*/
.article__inner {
  display: flex;
  flex-direction: column;

  @media screen and (max-width: 1000px) {
    margin-block-end: 6rem;
  }
}

.article__heading {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  margin-block-end: 6.5rem;

  @media screen and (max-width: 768px) {
    margin-block-end: 4.5rem;
  }
}

/* 本文 */
.article__content p {
  margin-block-end: 3.5rem;
  font-size: 1rem;
  line-height: 2;
  font-weight: 400;

  @media screen and (max-width: 1000px) {
    margin-block-end: 2.5rem;
  }
}

.article__content p + p {
  margin-block-start: -1.5rem;

  @media screen and (max-width: 1000px) {
    margin-block-start: -0.75rem;
  }
}

/* 画像 */
.wp-block-image {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-block-end: 3.5rem;

  @media screen and (max-width: 1000px) {
    margin-block-end: 2.5rem;
  }
}

.wp-block-image :where(figcaption) {
  margin-block: 0 !important;
  font-size: 0.875rem;
  line-height: 1.429;
  font-weight: 400;
}

/* テーブル */
.wp-block-table {
  margin-block-end: 3.5rem;

  @media screen and (max-width: 1000px) {
    overflow-x: auto;
    margin-block-end: 2.5rem;
    /* Firefox */
    scrollbar-width: none;

    /* IE/Edge(レガシー) */
    -ms-overflow-style: none;
  }

  /* Chrome, Safari */
  .wp-block-table::-webkit-scrollbar {
    display: none;
  }
}

.wp-block-table table {
  @media screen and (max-width: 1000px) {
    overflow-x: auto;
    min-width: 655px;
    margin-block-end: 2.5rem;
  }
}

.wp-block-table tr {
  display: grid;
  grid-template-columns: minmax(auto, 43.66%) 1fr;
  border-top: 1px solid var(--color-gray-blue);
}

.wp-block-table tr:last-of-type {
  border-bottom: 1px solid var(--color-gray-blue);
}

.wp-block-table td,
.wp-block-table th {
  border: none !important;
  padding: 1rem !important;
}

.wp-block-table td {
  font-size: 1rem;
  line-height: 1.5;
}

.wp-block-table td:first-child {
  background-color: #ffddc4;
}

.wp-block-table td:not(:first-child) {
  background-color: var(--bg-white);
}

/* 見出し */
/* H2 */
.c-article-title {
  margin-block-end: 1.5rem;
  font-size: 1.75rem;
  line-height: 1.429;
  font-weight: 600;

  @media screen and (max-width: 1000px) {
    font-size: 1.25rem;
    line-height: 1.45;
  }
}

/* H3 */
.c-article-sub-title {
  margin-block-end: 1.5rem;
  padding-block-end: 0.25rem;
  border-bottom: 1px solid var(--bg-color-primary);
  font-size: 1.5rem;
  line-height: 1.458;
  font-weight: 600;

  @media screen and (max-width: 1000px) {
    font-size: 1.125rem;
    line-height: 1.444;
  }
}

/* H4 */
.c-article-title--level-4 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-block-end: 1.5rem;
  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 600;

  @media screen and (max-width: 1000px) {
    font-size: 1rem;
    line-height: 1.5;
  }

  &::before {
    content: '';
    width: 0.375rem;
    height: 0.375rem;
    background-color: var(--bg-orange);
    border-radius: 50%;

    @media screen and (max-width: 1000px) {
      width: 0.25rem;
      height: 0.25rem;
    }
  }
}

/* H5 */
.c-article-title--level-5 {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-block-end: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.444;
  font-weight: 600;

  @media screen and (max-width: 1000px) {
    font-size: 0.875rem;
    line-height: 1.429;
  }

  &::before {
    content: '';
    width: 0.25rem;
    height: 0.25rem;
    background-color: var(--color-gray-blue);
    border-radius: 50%;
  }
}

/* リスト */
.c-article__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-block-end: 1.5rem;
}

.c-article__list-item {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;

  @media screen and (max-width: 1000px) {
    font-size: 0.875rem;
    line-height: 1.429;
  }
}

.c-article__list--ordered {
  counter-reset: my-counter;
  list-style-position: inside;

  & .c-article__list-item {
    display: grid;
    grid-template-columns: 1rem 1fr;
    align-items: center;
    gap: 0.5rem;
    counter-increment: my-counter;
    content: counter(my-counter);
  }

  & .c-article__list-item::before {
    content: counter(my-counter);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--bg-orange);
    font-family: 'Inter', sans-serif;

    @media screen and (max-width: 1000px) {
      font-size: 1rem;
      line-height: 1.25;
    }
  }
}

.c-article__list--unordered {
  & .c-article__list-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  & .c-article__list-item::before {
    content: '';
    width: 0.25rem;
    height: 0.25rem;
    background-color: var(--bg-color-primary);
    border-radius: 50%;
  }
}

/* タグ */
.wp-block-post-terms__separator {
  display: none;
}

.taxonomy-post_tag.wp-block-post-terms {
  display: flex;
  align-items: center;
  gap: 1rem;

  @media screen and (max-width: 1000px) {
    flex-wrap: wrap;

    margin-block-start: 1.5rem;
  }
}

.taxonomy-post_tag.wp-block-post-terms a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 7.375rem;
  height: 1.25rem;

  border: 1px solid var(--color-gray-blue);

  font-size: 0.75rem;
  line-height: 1.417;
  font-weight: 500;
}

/*-------------------------
  サイドバー
-------------------------*/
.sidebar__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  @media screen and (max-width: 1000px) {
    gap: 1.5rem;

    padding-block-end: 4.5rem;
  }
}

/* カテゴリー */
/* PC ラベル */
.sidebar__category-label {
  display: block;

  width: 100%;
  padding: 0.5rem;

  border: 1px solid var(--color-gray-blue);
  border-radius: 4px;

  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}

/* SP ボタン */
.sidebar__category-btn {
  position: relative;

  @media screen and (max-width: 1000px) {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 33px;
    border: 1px solid var(--color-gray-blue);
    border-radius: 4px;
    cursor: pointer;

    &.open {
      background-color: var(--bg-white);
      border: none;
      border-radius: 4px 4px 0 0;
    }

    &.open .sidebar__category-icon {
      transform: rotate(45deg) translateY(-50%);
    }
  }
}

.sidebar__category-icon {
  display: block;

  @media screen and (max-width: 1000px) {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    transition: rotate 0.3s ease;
  }
}

/* リスト */
.sidebar__category-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block: 1rem;
  padding-inline: 0.5rem;

  @media screen and (max-width: 1000px) {
    position: relative;
    opacity: 0;
    visibility: hidden;

    height: 0;
    padding: 0;
    transform: translateY(-20px);
    padding-inline: 1.5rem;
    margin-inline: 1.25rem;

    transition: 0.2s ease;

    &.open {
      position: relative;
      z-index: 10;
      top: 0;

      flex-direction: row;
      gap: 2rem;
      flex-wrap: wrap;
      opacity: 1;
      visibility: visible;
      transform: translateY(0);

      width: calc(100% - 2.5rem);
      height: fit-content;
      padding-block: 0.5rem 1rem;
      padding-inline: 1.5rem;
      margin-inline: 1.25rem;

      background-color: var(--bg-white);
      border-radius: 0 0 4px 4px;
    }

    &.open .sidebar__category-item {
      opacity: 1;
      height: fit-content;
      visibility: visible;
    }
  }
}

.sidebar__category-item {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;

  @media screen and (max-width: 1000px) {
    height: 0;
    opacity: 0;
    padding: 0;
    visibility: hidden;
    transition: 0.3s ease;
  }
}

/* 月別アーカイブ */
.sidebar__archive-anchor {
  position: relative;
  /* width: 100%; */
  height: 2.125rem;
  flex-shrink: 0;

  .p-news & {
    width: 200px;

    @media screen and (max-width: 1000px) {
      width: 100%;
    }
  }
}

.sidebar__archive {
  position: relative;
  width: 100%;
  height: 2.125rem;

  transition: scale 0.3s ease;
}

/* 開いたときだけ絶対配置にして、下のコンテンツを押さないようにする */
.sidebar__archive:has(.sidebar__archive-dropdown.open) {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: fit-content; /* 中身に合わせて実際に高さが伸びる */
  padding-block-end: 1rem;
  background-color: var(--bg-white);
  border-radius: 4px;
}

.p-news .sidebar__archive:has(.sidebar__archive-dropdown.open) {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.p-news .sidebar__archive-dropdown.open {
  @media screen and (max-width: 1000px) {
    width: 100%;
    padding-inline: 0;
    max-height: 100%;
  }
}

.sidebar__archive-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 33px;
  padding-inline: 4.625rem;
  background-color: var(--bg-white);
  cursor: pointer;

  .p-news & {
    padding-inline: 0;
  }
}

.sidebar__archive-icon {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  transition: transform 0.3s ease;
}

.sidebar__archive-btn.open .sidebar__archive-icon {
  transform: translateY(-50%) rotate(45deg);
}

/* wrapperはもう浮かせる必要がない。普通にフローの中に並べる */
.sidebar__archive-dropdown-wrapper {
  position: relative;
  width: 100%;
}

/* ドロップダウンが開いているときだけ、パディングを見せる */
.sidebar__archive:has(.sidebar__archive-dropdown.open) .sidebar__archive-dropdown-wrapper {
  padding-inline: 2.5rem;

  .p-news & {
    padding-inline: 1rem;

    @media screen and (max-width: 1000px) {
      padding-inline: 1.5rem;
    }
  }

  @media screen and (max-width: 1000px) {
    padding-inline: 1.5rem;
  }
}

/* 実際にスクロールする要素 */
.sidebar__archive-dropdown {
  height: 0;
  opacity: 0;
  visibility: hidden;
  padding-block: 0.5rem 1.5rem;
  overflow: hidden;
  transition: 0.3s ease;
  scrollbar-width: none;
  -ms-overflow-style: none;

  &.open {
    opacity: 1;
    visibility: visible;
    overflow-y: scroll;
    height: fit-content;
    max-height: 100px;
  }

  .p-news & {
    padding-block: 0;
  }

  &::-webkit-scrollbar {
    display: none;
  }
}

.sidebar__archive-dropdown::-webkit-scrollbar {
  display: none;
}

.sidebar__archive-list {
  display: grid;
  grid-template-columns: repeat(2, 76px);
  justify-items: center;
  justify-content: center;
  gap: 0.5rem 2rem;
  width: 100%;

  .p-news & {
    gap: 0.5rem 1rem;
    @media screen and (max-width: 1000px) {
      gap: 0.5rem 1.25rem;
    }
  }

  @media screen and (max-width: 1000px) {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem 1.25rem;
    width: 100%;
  }
}

.sidebar__archive-dropdown .sidebar__archive-item {
  width: 100%;
  padding-block-end: 2px;
  border-bottom: 1px solid var(--bg-color-primary);
}

.sidebar__archive-link {
  display: grid;
  grid-template-columns: 1fr 0.75rem;
  justify-content: space-between;
  align-items: center;

  width: 100%;

  font-size: 0.875rem;
  line-height: 1.214;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

.sidebar__archive-count {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: var(--bg-orange);
  font-size: 0.5rem;
  line-height: 12px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: var(--text-color-secondary);
}

/* 右のスクロールボタン。wrapperがフローの中にあるので普通に絶対配置でOK */
.sidebar__archive-scroll {
  display: none;
  position: absolute;
  right: 0;
  top: 0.5rem;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 20px;
  height: 76px;
}

/* dropdownが開いているときだけスクロールバーを表示 */
.sidebar__archive-dropdown-wrapper:has(.sidebar__archive-dropdown.open) .sidebar__archive-scroll {
  display: flex;

  .p-news & {
    display: none;
  }
  @media screen and (max-width: 1000px) {
    display: none !important;
  }
}

.sidebar__archive-scroll-up,
.sidebar__archive-scroll-down {
  background: none;
  border: none;
  cursor: pointer;
  color: #5b6699;
  flex-shrink: 0;
  padding: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.sidebar__archive-scroll-up:focus,
.sidebar__archive-scroll-down:focus,
.sidebar__archive-scroll-up:focus-visible,
.sidebar__archive-scroll-down:focus-visible {
  outline: none;
}

/* ============================
*  採用情報
* ========================== */
.l-page-main.p-recruit {
  overflow-x: hidden;
}
/*-------------------------
  画像スライダー
-------------------------*/
.swiper.p-recruit__image-slider {
  overflow: visible !important;

  width: 100%;
  height: 270px !important;
  margin-block-end: 2.625rem;

  background-color: rgb(245, 245, 245);
}

.swiper-wrapper.p-recruit__image-slider-wrapper {
  /* transition-timing-function: linear; */
  align-items: center;
}

.swiper-slide.p-recruit__image-slide {
  flex-shrink: 0;

  width: 250px !important;
  height: 250px !important;
  transform: scale(1);

  transition:
    transform 0.5s ease,
    opacity 0.5s ease;

  &.swiper-slide-active {
    transform: scale(1.08) !important;
  }
}

.p-recruit__image-slider-img {
  aspect-ratio: 1 / 1;
}

/*-------------------------
  イントロ
-------------------------*/
.p-recruit__intro {
  position: relative;
  width: 100%;
  height: 481px;
  margin-block-end: 6.25rem;
  @media screen and (max-width: 1000px) {
    height: fit-content;
  }
}

.p-recruit__intro-inner {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 1206px;
  width: 100%;
  height: 481px;

  margin-inline-start: auto;
  padding-block: 3.25rem;
  padding-inline: 5.813rem 10rem;
  background-image: url(../images/bg-page-recruitment-intro.png);
  background-size: cover;

  @media screen and (min-width: 1440px) {
    max-width: 100%;
    right: auto;
    left: 12rem;
  }

  @media screen and (min-width: 1536px) {
    right: auto;
    left: 15rem;
  }

  @media screen and (min-width: 1920px) {
    left: 27.3rem;
    right: auto;
    max-width: 100%;
    margin-inline: auto 0;
    padding-inline-end: clamp(10rem, 23.43vw, 20rem);
  }

  @media screen and (min-width: 2560px) {
    left: 47rem;
    right: auto;
  }

  @media screen and (max-width: 1280px) {
    left: 7.2rem;
    right: auto;
  }

  @media screen and (max-width: 1000px) {
    position: relative;
    left: 0;
    max-width: 100%;
    width: auto;
    height: 100%;
    margin-inline: 1.25rem auto;
    padding-block: 3.25rem 2.75rem;
    padding-inline: 1rem 1.25rem;
    background-image: url(../images/bg-page-recruitment-intro-sp.png);
  }
}

.p-recruit__intro-content {
  position: relative;
  width: fit-content;
  display: grid;
  grid-template-columns: minmax(auto, 390px) 463px;
  gap: clamp(3.375rem, 7.39vw, 5.313rem);
  justify-content: space-between;
  max-width: 950px;
  width: 100%;
  /* margin-inline-start: auto; */

  @media screen and (min-width: 1367px) {
  }

  @media screen and (max-width: 1000px) {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.p-recruit__intro-title {
  font-size: 1.875rem;
  line-height: 1.833;
  font-weight: 700;
  color: var(--text-color-secondary);

  @media screen and (max-width: 1000px) {
    font-size: 1.438rem;
    line-height: 1.826;
  }
}

.p-recruit__intro-desc-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;

  /* width: 463px; */
}

.p-recruit__intro-desc {
  font-size: 1rem;
  line-height: 2;
  font-weight: 400;
  color: var(--text-color-secondary);
}

/*-------------------------
  セクション共通
-------------------------*/
.p-recruit__item-wrapper {
  display: block;
  max-width: 1366px;
  width: 100%;
  margin-inline: auto 10rem;
  padding-inline: 10rem;

  @media screen and (max-width: 1280px) {
    padding-inline: 0 7.7rem;
  }

  @media screen and (max-width: 1000px) {
    padding-inline: 1.25rem 0;
  }

  @media screen and (min-width: 1440px) {
    padding-inline: 10rem 7.7rem;
  }

  @media screen and (min-width: 1523px) {
    padding-inline: 10rem 5.3rem;
  }

  @media screen and (min-width: 1680px) {
    padding-inline: 10rem 9.7rem;
  }

  @media screen and (min-width: 1920px) {
    padding-inline: 10rem 17.3rem;
  }

  @media screen and (min-width: 2560px) {
    padding-inline: 0 37rem;
  }
}

.p-recruit__item-inner {
  max-width: 890px;
  width: 100%;
  margin-inline-start: auto;
  padding-block-end: 8rem;

  .p-recruit-joblist & {
    padding-block-end: 7rem;
  }

  @media screen and (max-width: 1000px) {
    max-width: 100%;
    margin-inline: auto;
    padding-block-end: 1.75rem;

    .p-recruit-joblist & {
      padding-block-end: 1.75rem;
    }
  }
}

.p-recruit__item-header {
  width: 100%;
  height: 6.5rem;
  padding: 1rem;
  background-size: cover;

  @media screen and (max-width: 1000px) {
    display: flex;
    align-items: center;
    height: 4.188rem;
    padding-block: 0;
    padding-inline: 0.5rem;
  }
}

.p-recruit__item-title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--text-color-secondary);
}

.p-recruit__item-title--ja {
  font-size: 2rem;
  line-height: 1.438;
  font-weight: 700;

  @media screen and (max-width: 1000px) {
    font-size: 1.5rem;
    line-height: 1.458;
  }
}

.p-recruit__item-title--en {
  font-size: 0.875rem;
  line-height: 1.214;
  font-weight: 600;

  @media screen and (max-width: 1000px) {
    font-size: 0.75rem;
  }
}

.p-recruit__item-body {
  @media screen and (max-width: 1000px) {
    padding-inline-end: 1.25rem;
    line-height: 1.25;
  }
}

/*-------------------------
  インタビュー
-------------------------*/
.p-recruit-interview .p-recruit__item-header {
  margin-block-end: 4rem;
  background-image: url(../images/bg-page-recruitment-interview-title.png);

  @media screen and (max-width: 1000px) {
    margin-block-end: 2.25rem;
  }
}

.p-recruit-interview__heading {
  grid-area: heading;

  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  /* width: 20rem; */
  padding-inline-start: 0.75rem;
  border-left: 2px solid var(--bg-orange);

  @media screen and (max-width: 1000px) {
    padding-inline-start: 0;
    border-left: none;
  }
}

.p-recruit-interview__body {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.p-recruit-interview__item {
  display: grid;
  grid-template-areas:
    'image heading'
    'image first-group'
    'content content';
  gap: 2rem;

  @media screen and (max-width: 1000px) {
    grid-template-areas:
      'image'
      'heading'
      'first-group'
      'content';
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.p-recruit-interview__image {
  grid-area: image;

  width: 100%;
  height: auto;
}

.p-recruit-interview__img {
  aspect-ratio: 201 / 187;

  @media screen and (max-width: 1000px) {
    aspect-ratio: 335 / 243;
  }
}

.p-recruit-interview__content {
  grid-area: content;

  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.p-recruit-interview__title {
  font-size: 1.75rem;
  line-height: 1.429;
  font-weight: 700;

  @media screen and (max-width: 1000px) {
    display: flex;
    /* align-items: center; */
    gap: 0.5rem;
    font-size: 1.25rem;
    line-height: 1.45;

    &::before {
      content: '';
      width: 2px;
      height: 3.125rem;
      margin-block-start: 0.313rem;
      background-color: var(--bg-orange);
    }
  }
}

.p-recruit-interview__meta {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;

  @media screen and (max-width: 1000px) {
    padding-inline-start: 10px;
  }
}

.p-recruit-interview__group {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.p-recruit-interview__group--first {
  grid-area: first-group;
}

.p-recruit-interview__question {
  font-size: 1.125rem;
  line-height: 1.778;
  font-weight: 700;
}

.p-recruit-interview__answer {
  font-size: 1rem;
  line-height: 2;
  font-weight: 400;
}

/*-------------------------
  働く環境
-------------------------*/
.p-recruit-enviroment .p-recruit__item-header {
  background-image: url(../images/bg-page-recruitment-enviroment-title.png);
  margin-block-end: 1.5rem;
}

.p-recruit-enviroment__catchcopy {
  margin-block-end: 1.5rem;

  font-size: 1.5rem;
  line-height: 1.667;
  font-weight: 600;
}

.p-recruit-enviroment__desc {
  margin-block-end: 4rem;

  font-size: 1rem;
  line-height: 2;
}

.p-recruit-enviroment__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: space-between;
  gap: 1.75rem;
  min-width: 900px;
  width: 100%;

  @media screen and (max-width: 1000px) {
    min-width: 100%;
    grid-template-columns: 1fr;
    gap: 1rem;

    padding: 0.5rem;

    background-color: #ebebeb;
  }
}

.p-recruit-enviroment__item {
  position: relative;

  padding-block: 2.25rem 1rem;
  padding-inline: 0.75rem;

  background-color: var(--bg-white);
  border: 1px solid var(--bg-orange);

  @media screen and (max-width: 1000px) {
    padding-block: 1.25rem;
    padding-inline: 1rem;

    border: none;
  }
}

.p-recruit-enviroment__item-number {
  position: absolute;
  top: 0;
  left: 0;

  width: 3.25rem;
  height: 2.75rem;
  padding-block-start: 0.313rem;
  padding-inline-start: 0.625rem;

  border-radius: 0 0 30px 0;
  background-color: #e8eaf1;

  color: var(--text-color-orange);
  font-size: 1.5rem;
  line-height: 1.208;
  font-weight: 500;
  font-family: 'Inter', sans-serif;

  @media screen and (max-width: 1000px) {
    width: 2rem;
    height: 1.75rem;
    padding-block-start: 0.375rem;
    padding-inline-start: 0.375rem;

    border-radius: 0 0 8px 0;
    background-color: var(--bg-orange);

    color: var(--text-color-secondary);
    font-size: 1rem;
  }
}

.p-recruit-enviroment__item-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;

  @media screen and (max-width: 1000px) {
    flex-direction: row;
    gap: 0.75rem;
  }
}

.p-recruit-enviroment__item-image {
  max-width: 118px;
  width: 100%;

  @media screen and (max-width: 1000px) {
    flex-shrink: 0;

    max-width: 100%;
    width: 98px;
  }
}

.p-recruit-enviroment__item-title {
  margin-block-end: 0.5rem;

  font-size: 1.375rem;
  line-height: 1.273;
  font-weight: 500;
  text-align: center;

  @media screen and (max-width: 1000px) {
    margin-block-end: 1.25rem;

    font-size: 1.25rem;
    line-height: 1.45;
  }
}

.p-recruit-enviroment__item-desc {
  font-size: 1rem;
  line-height: 2;
  text-align: center;
}

/*-------------------------
  募集職種
-------------------------*/
.p-recruit-joblist .p-recruit__item-header {
  background-image: url(../images/bg-page-recruitment-joblist-title.png);
  margin-block-end: 4rem;
}

.p-recruit-joblist__content {
  width: 100%;
  padding: 3rem;

  background-color: #ebebeb;

  @media screen and (max-width: 1000px) {
    margin-inline-end: 1.25rem;
    padding-block: 4.5rem;
    padding-inline: 0.5rem;
  }
}

.p-recruit-joblist__title {
  margin-block-end: 1.25rem;
  padding-block-end: 0.75rem;

  border-bottom: 1px solid var(--bg-orange);

  color: #444;
  font-size: 1.5rem;
  line-height: 1.167;
  font-weight: 700;
}

.p-recruit-joblist__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  margin-block-end: 3rem;

  @media screen and (max-width: 1000px) {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;

    margin-block-end: 1.25rem;
  }
}

.p-recruit-joblist__job-type {
  color: #444;
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 600;
}

.p-recruit-joblist__note {
  color: #707070;
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;
}

.p-recruit-joblist__list {
  max-width: 46.25rem;
  width: 100%;
  margin-inline: auto;

  @media screen and (max-width: 1000px) {
    max-width: 100%;
  }
}

.p-recruit-joblist__item {
  display: grid;
  grid-template-columns: minmax(auto, 9.75rem) 1fr;

  &:not(:last-child) {
    border-bottom: 1px solid #bbbbbb;
  }

  &:first-child .p-recruit-joblist__label {
    border-radius: 8px 0 0 0;
  }

  &:first-child .p-recruit-joblist__desc {
    border-radius: 0 8px 0 0;
  }

  &:last-child .p-recruit-joblist__label {
    border-radius: 0 0 0 8px;
  }

  &:last-child .p-recruit-joblist__desc {
    border-radius: 0 0 8px 0;
  }
}

.p-recruit-joblist__label {
  display: flex;
  align-items: center;

  padding-block: 1.5rem;
  padding-inline: 1.5rem 1rem;

  background-color: #ffddc4;

  color: #444;
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 500;

  @media screen and (max-width: 1000px) {
    font-size: 0.875rem;
    line-height: 2.214;
  }
}

.p-recruit-joblist__desc {
  padding: 1.5rem;

  background-color: var(--bg-white);

  color: #444;
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;

  @media screen and (max-width: 1000px) {
    font-size: 0.875rem;
    line-height: 1.429;
  }
}

/*-------------------------
  お問い合わせ
-------------------------*/
.p-recruit .c-contact__inner {
  @media screen and (min-width: 1440px) {
    /* margin-inline: auto; */
  }
}

/* ============================
*  フォーム共通
* ========================== */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  color: #c1c1c1;

  @media screen and (max-width: 1000px) {
    font-size: 0.875rem;
    line-height: 1.429;
  }
}

.contact__form-group .wpcf7-form-control-wrap {
  width: 100%;
}

.contact__form-input {
  width: 100%;
  height: 2.5rem;
  padding-block: 0.5rem;
  padding-inline: 0.75rem;
  background-color: #fff;
  border-radius: 4px;
  font-weight: 400;
  border: 1px solid #acacac;
}

.contact-confirm__content .contact__form-input {
  border: none;
}

.contact__form-input--textarea {
  display: block;
  height: 310px;
}

.contact__form-link {
  text-decoration: underline;
  text-underline-offset: 0.1em;
}

.contact__form-submit {
  margin-block-start: 4rem;
}

.contact__form-address {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact__form-select {
  position: relative;
  display: flex;
  align-items: center;
  width: 12.5rem;
}

.contact__form-select::after {
  content: '';
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
  height: 11px;
  background: var(--bg-orange);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  z-index: 5;
}

.contact__form-label-text {
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 500;
}

/* ============================
*  お問い合わせ contact
* ========================== */
.contact__content .l-inner {
  display: grid;
  grid-template-columns: minmax(auto, 16.5rem) 1fr;
  grid-template-rows: 1fr;
  gap: 8rem;

  margin-block-end: 8rem;

  @media screen and (max-width: 1000px) {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.contact__desc {
  height: fit-content;

  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
}

.wp-block-contact-form-7-contact-form-selector {
  height: fit-content;
}

.contact__form-content {
  width: 100%;
  font-weight: 500;
}

.contact__form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;

  &:not(:last-of-type) {
    margin-block-end: 1.5rem;
  }
}

.contact__form-group--inquiry {
  margin-block-end: 2rem;
}

.contact__form-group legend {
  margin: 0;
  margin-block-end: 1rem;
  padding: 0;

  @media screen and (max-width: 1000px) {
    margin-block-end: 1.5rem;
  }
}

.contact__form-label:has(.c-required-label) {
  display: flex;
  align-items: center;
  /* gap: 1rem; */
}

/* 必須マーク */
.c-required-label {
  color: var(--text-color-orange);
}

/*-------------------------
  お問い合わせ種別(ラジオ)
-------------------------*/
.contact__form-types {
  padding-block-end: 2.5rem;

  @media screen and (max-width: 1000px) {
    padding-block-end: 4rem;
  }
}

.contact__form-types .contact__form-type-input {
  display: grid;
  grid-template-columns: repeat(3, 12rem);
  gap: 1.5rem clamp(1rem, 3.51vw, 3rem);

  @media screen and (max-width: 1000px) {
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }
}

/* 1選択肢 = wpcf7-list-item */
.contact__form-types .wpcf7-list-item {
  margin: 0;

  & input[type='radio'] {
    left: 0;
  }
}

/* radioを隠す */
.contact__form-types input[type='radio'] {
  position: absolute;
  opacity: 0;
}

/* ラジオボタンラベル本体 */
.contact__form-types .wpcf7-list-item-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  height: 1rem;
  flex-shrink: 0;

  font-size: 1rem;
  line-height: 1.75;
  font-weight: 500;
}

.contact__form-types .wpcf7-list-item-label::before {
  position: relative;
  content: '';
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--bg-color-primary);
  background-color: var(--bg-white);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ラジオボタンチェック状態 */
.contact__form-types input[type='radio']:checked + .wpcf7-list-item-label::after {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--bg-orange);
  border-radius: 50%;
  flex-shrink: 0;
}

/*-------------------------
  チェックボックス
-------------------------*/
/* チェックボックス本体を非表示 */
.contact__form-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

/* チェックボックスラベルのスタイル */
.contact__form-checkbox-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

/* チェックボックスの見た目（未チェック時） */
.contact__form-checkbox-label::before {
  content: '';
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--bg-color-primary);
  background-color: var(--bg-white);
  flex-shrink: 0;
  transition: all 0.2s ease;
}
/* チェック マーク */
.contact__form-checkbox-label:has(.contact__form-checkbox:checked)::after {
  content: url(../images/icon-checked.svg);
  position: absolute;
  left: 1px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-color-orange);
  font-size: 0.85rem;
  font-weight: bold;
}

.contact__checkboxes {
  @media screen and (max-width: 1000px) {
    width: fit-content;
    margin-inline: auto;
  }
}

/* ============================
*  確認画面
* ========================== */
.contact-confirm__content .contact__desc {
  margin-block-end: 4rem;
}

.contact-confirm__content .contact__form-types {
  padding-block-end: 0;
}

.contact-confirm__content .contact__form-group:not(:has(.contact__form-submit)) {
  display: grid;
  grid-template-columns: minmax(auto, 14.75rem) 1fr;
  margin-block-end: 0;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--bg-orange);

  @media screen and (max-width: 1000px) {
    grid-template-columns: 1fr;
  }
}

.contact-confirm__content .contact__form-input {
  background-color: transparent;
  height: auto;
  padding: 0;
}

.contact-confirm__content .contact__form-group:first-of-type {
  border-top: 1px solid var(--bg-orange);
}

.contact-confirm__content .contact__form-label-text {
  font-weight: 400;
  color: var(--color-gray-blue);
}

.contact-confirm__content .c-required-label,
.contact-confirm__content .contact__form-select::after {
  display: none;
}

.contact-confirm__button-wrapper {
  display: grid;
  grid-template-columns: minmax(auto, 17.5rem) minmax(auto, 17.5rem);
  grid-template-rows: 1fr;
  justify-content: center;
  gap: clamp(2rem, 7.03vw, 6rem);
  margin-block-start: 4rem;

  & .c-button.contact-confirm__back-button,
  & .c-button.contact__form-submit {
    width: 100%;
    margin-block-start: 0;
  }

  @media screen and (max-width: 1000px) {
    display: flex;
    flex-direction: column-reverse;
    height: fit-content;

    & .c-button.contact-confirm__back-button,
    & .c-button.contact__form-submit {
      flex-shrink: 0;
    }
  }
}

.p-contact-confirm .c-button {
  & .c-button__arrow-img-hover {
    transform: translate(-100%, -50%);

    width: 56px;
    height: 56px;
  }

  &:hover .c-button__arrow-img-hover {
    transform: translate(0, -50%);
  }
}

.wpcf7-spinner {
  display: none !important;
  height: 0;
}

/* ============================
*  サンクスページ（送信完了）
* ========================== */
.p-thanks__desc {
  margin-block-end: 5rem;
}

.p-thanks .c-button {
  & .c-button__arrow-img-hover {
    transform: translate(-100%, -50%);

    width: 56px;
    height: 56px;
  }

  &:hover .c-button__arrow-img-hover {
    transform: translate(0, -50%);
  }
}

/* ============================
*  サイトマップ
* ========================== */
.p-sitemap .l-page__content {
  padding-block-end: 10.5rem;

  @media screen and (max-width: 1000px) {
    padding-block-end: 6.25rem;
  }
}

.sitemap__nav {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;

  @media screen and (max-width: 1000px) {
    grid-template-columns: repeat(2, auto);
    justify-content: flex-start;
    column-gap: 4.5rem;
    row-gap: 3.125rem;
  }
}

.sitemap__section-title {
  margin-block-end: 2rem;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 600;
}

.sitemap__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sitemap__list::before {
  content: '';
  position: absolute;
  left: 0;
  width: 1px;
  height: 100%;
  background-color: var(--color-gray-blue);
}

.sitemap__item {
  padding-inline-start: 1rem;
  font-size: 1rem;
  line-height: 1.5;
}

.sitemap__link {
  transition: 0.2s opacity;

  &:hover {
    opacity: 0.6;
  }
}

.sitemap__nav-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  & .sitemap__section-title {
    margin-block-end: 0;
  }
}

/* ============================
*  個人情報保護方針
* ========================== */
.privacy-policy__content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.privacy-policy__desc-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;

  @media screen and (max-width: 1000px) {
    gap: 2rem;
  }
}

.privacy-policy__desc {
  font-size: 1rem;
  line-height: 2.5;
  font-weight: 400;

  @media screen and (max-width: 1000px) {
    line-height: 2;
  }
}

.privacy-policy__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* ============================
*  404
* ========================== */
.p-404 .l-page__content {
  padding-block: 6.75rem 8rem;

  @media screen and (max-width: 1000px) {
    padding-block: 2rem 4.5rem;
  }
}

.p-404 .c-button__arrow-img,
.p-404 .c-button__arrow-img-hover {
  width: 56px;
  height: 56px;
}

.p-404 .c-section-title {
  margin-block-end: 3rem;

  @media screen and (max-width: 1000px) {
    margin-block-end: 2rem;
  }

  & .c-section-title--ja {
    font-size: 2rem;
    line-height: 1.469;
    text-align: center;

    @media screen and (max-width: 1000px) {
      font-size: 1.5rem;
      line-height: 1.667;
      text-align: left;
    }
  }
}

.p-404 .c-button {
  & .c-button__arrow-img-hover {
    transform: translate(-100%, -50%);
  }

  &:hover .c-button__arrow-img-hover {
    transform: translate(0%, -50%);
  }
}

.p-404__desc {
  margin-block-end: 4.5rem;

  font-size: 1rem;
  line-height: 2.5;
  text-align: center;

  @media screen and (max-width: 1000px) {
    margin-block-end: 4rem;

    line-height: 2;
    text-align: left;
  }
}
