@charset "UTF-8";
/* TEMP: remove before launch */
#opening {
  /* display: none; */
}

/* ============================
*  Common
* ========================== */
:root {
  /* Text Color*/
  --text-color-primary: #111;
  --text-color-secondary: #444;
  --text-color-eyebrow: #a68e74;
  --text-color-sub-eyebrow: #999;
  --text-color-white: #fff;

  /* Background Color */
  --bg-color-light-gray: #f4f4f4;
  --bg-color-warm-gray: #75706c;
  --bg-color-white: #fff;
  --bg-opnening: #1e1e1e;

  /* Line Color */
  --line-color-opening: #a28e77;
}

:lang(en) {
  font-family: 'Cormorant Garamond', serif;
  text-transform: uppercase;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 350;

  &.is-fixed {
    overflow: hidden;
    height: 100%;
  }
}

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

/* ============================
*  Layout
* ========================== */
.l-content {
  @media screen and (min-width: 769px) {
    max-width: 1200px;
    width: 100%;
  }
}

.l-inner {
  padding-inline: 1.25rem;

  @media screen and (min-width: 769px) {
    & {
      max-width: 1366px;
      width: 100%;
      margin-inline: auto;
      padding-inline: 5.188rem;
    }
  }
}

.l-main {
  padding-block-start: 67px;

  @media screen and (min-width: 769px) {
    padding-block-start: 93px;
  }
}

/* ============================
*  Component
* ========================== */
/*-------------------------
  Title
-------------------------*/
.c-title {
  margin-block-end: 2rem;
}

.c-title--en {
  display: block;
  margin-block-end: 0.563rem;

  font-size: 0.75rem;
  line-height: 1.167;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-color-eyebrow);

  @media screen and (min-width: 769px) {
    & {
      margin-block-end: 0.625rem;

      font-size: 0.875rem;
      line-height: 1.214;
    }
  }
}

.c-title--ja {
  font-size: 1.5rem;
  line-height: 1.667;
  font-weight: 500;
  color: var(--text-color-primary);
  font-family: 'Shippori Mincho', serif;

  @media screen and (min-width: 769px) {
    & {
      font-size: 3rem;
      line-height: 1.458;
    }
  }
}

/* Vertical */
.c-title-vertical-title {
  display: flex;
  flex-direction: row-reverse;
  gap: 0.5rem;

  width: fit-content;
  margin-block-end: 0;

  letter-spacing: 0.05em;

  @media screen and (min-width: 769px) {
    & {
      gap: 0.875rem;
    }
  }
}

.c-title-vertical-title .c-title--en {
  writing-mode: vertical-lr;

  height: auto;
  margin-block-end: 0;
  margin-inline-start: 0.1rem;
}

.c-title-vertical-title .c-title--ja {
  writing-mode: vertical-lr;
  line-height: 1.125;
  letter-spacing: 0.115em;
}

.c-page__heading {
  position: relative;

  height: 70px;
  margin-block-start: 4rem;
  padding-inline: 1.25rem;

  &::after {
    position: absolute;
    left: 0;
    bottom: 0rem;

    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #e0e0e0 0%, #e0e0e0 5.33%, #a68e74 5.33%, #a68e74 30.93%, #e0e0e0 30.93%, #e0e0e0 100%);

    content: '';

    @media screen and (min-width: 769px) {
      & {
        margin-block-start: 5.875rem;
      }
    }
  }

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

  & .c-title--en {
    margin-block-end: 0.5rem;
  }

  @media screen and (min-width: 769px) {
    & {
      max-width: 1366px;
      width: 100%;
      height: 139px;
      margin-inline: auto;
      padding-inline: 5.188rem;
    }

    &::after {
      background: linear-gradient(to right, #e0e0e0 0%, #e0e0e0 6.15%, #a68e74 6.15%, #a68e74 20%, #e0e0e0 20%, #e0e0e0 100%);
    }

    & .c-title--en {
      margin-block-end: 0.785rem;
    }
  }
}

.c-section-title {
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.25rem;

  height: 71px;

  &::before {
    position: absolute;
    left: 0;
    top: 0;

    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #a68e74 0, #a68e74 1rem, #e0e0e0 1rem, #e0e0e0 100%);

    content: '';
  }

  @media screen and (min-width: 769px) {
    & {
      flex-direction: row;
      justify-content: flex-start;
      align-items: flex-end;
      align-content: flex-start;
      gap: 4rem;

      height: 96px;
    }
  }
}

.c-section-title--en {
  font-size: 0.688rem;
  line-height: 1.182;
  letter-spacing: 0.2em;
  color: var(--text-color-eyebrow);

  @media screen and (min-width: 769px) {
    & {
      padding-block-end: 1.5rem;

      font-size: 0.75rem;
      line-height: 1.167;
    }
  }
}

.c-section-title--ja {
  font-size: 1.313rem;
  line-height: 1.429;
  font-weight: 500;
  color: var(--text-color-primary);
  font-family: 'Shippori Mincho', serif;

  @media screen and (min-width: 769px) {
    & {
      font-size: 2rem;
      line-height: 1.438;
    }
  }
}
/*-------------------------
  Text
-------------------------*/
.c-text {
  font-size: 0.875rem;
  line-height: 1.714;
  letter-spacing: 0.05em;
  color: var(--text-color-secondary);

  @media screen and (min-width: 769px) {
    & {
      font-size: 1rem;
      line-height: 1.813;
    }
  }
}

/*-------------------------
  View more Button
-------------------------*/
.c-more-button {
  position: relative;
  display: block;

  width: fit-content;
  height: fit-content;
  padding-block-start: 0.5rem;
  padding-inline-end: 0.5rem;

  border-top: 1px solid #e5e5e5;

  @media screen and (min-width: 769px) {
    & {
      padding-block-start: 0.688rem;
      padding-inline-end: 0.25rem;

      transition: 0.2s ease;
    }

    &::after {
      z-index: 2;
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;

      width: 100%;
      height: 1px;

      background: #111;

      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.2s ease;
    }

    /* Hover State */
    &:hover::after {
      transform: scaleX(1);
    }

    &:hover .c-more-button__label::after {
      transform: translateX(0.25rem);
    }
  }
}

.c-more-button__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.625rem;

  font-size: 0.938rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.1em;

  &::after {
    width: 24px;
    height: 5px;

    background-image: url(../images/arrow-button.svg);
    background-repeat: no-repeat;
    background-size: contain;

    content: '';
  }

  @media screen and (min-width: 769px) {
    & {
      font-size: 1.063rem;
      line-height: 1.235;
    }

    &::after {
      width: 30px;
      height: 7px;

      background-size: cover;

      transition: 0.2s ease;
    }
  }
}

/*-------------------------
  Tel Contact
-------------------------*/
.c-tel-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  height: 9.375rem;
  padding-inline: 6.3vw;
  border: 1px solid var(--bg-color-white);

  color: var(--text-color-white);
}

.c-tel-contact__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;

  font-size: 0.875rem;
  line-height: 1.214;

  &::after {
    content: '';

    width: 3.25rem;
    height: 1px;
    margin-block-end: 1rem;

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

.c-tel-contact__number {
  margin-block-end: 0.25rem;

  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: 0.031em;
  font-family: 'Helvetica Neue', sans-serif;
}

.c-tel-contact__number-link {
  color: inherit;

  @media screen and (min-width: 769px) {
    & {
      pointer-events: none;
    }
  }
}

.c-tel-contact__hours {
  opacity: 0.6;
  display: flex;
  align-items: flex-start;

  font-size: 0.813rem;
  line-height: 1.462;
  font-family: 'Noto Sans JP', sans-serif;
}

/*-------------------------
  Recruit Component
-------------------------*/
.c-recruit {
  flex-shrink: 0;
  flex-grow: 1;
  display: flex;
  align-items: center;

  width: 100%;
  /* height: 500px; */
  min-height: 500px;

  background-image: url(../images/bg-recruit-sp.png);
  background-size: cover;
  background-position: center;

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

  @media screen and (min-width: 769px) {
    & {
      position: relative;

      height: 51.04dvh;

      background-image: url(../images/bg-recruit.png);

      background-position: center;

      cursor: pointer;

      transition: left 0.4s ease;
    }

    &::after {
      z-index: 10;
      content: '';
      position: absolute;
      top: 0;
      left: -200%;

      width: 100%;
      height: 100%;

      background-color: #444;
      opacity: 0.5;

      transition: left 0.4s ease;
    }

    /* is-hovered: 暗いオーバーレイがスライドイン */
    &.is-hovered::after {
      left: 0;
      background-color: #444;
    }

    /* is-leaving: 白いオーバーレイがスライドアウト */
    &.is-leaving::after {
      left: -100%;
      background-color: #444;
    }

    /* Hover State */
    &:hover {
      background-image: url(../images/bg-recruit-hover.png);
    }

    &:hover .c-recruit__button {
      background-color: var(--bg-color-white);
      color: var(--text-color-primary);
    }
  }
}

.l-header__drawer-content .c-recruit {
  min-height: auto;
  
  @media screen and (min-width: 769px) {
    & {
      max-height: 28.69vw;
    }
  }
}

.c-recruit__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;

  max-width: 261px;
  width: 100%;
  margin-inline: auto;

  @media screen and (min-width: 769px) {
    & {
      z-index: 20;
      position: relative;

      gap: 0;

      max-width: 100%;
    }
  }
}

.c-recruit__label {
  font-size: 0.75rem;
  line-height: 1.167;
  letter-spacing: 0.2em;

  @media screen and (min-width: 769px) {
    & {
      font-size: 0.875rem;
      line-height: 1.214;
      margin-bottom: 1.9rem;
      opacity: 0.6;
    }
  }
}

.c-recruit__catchcopy {
  width: 182.38px;
  margin-block-start: -1.5rem;

  @media screen and (min-width: 769px) {
    & {
      width: 100%;
      margin-block-start: -1.375rem;
    }
  }
}

.c-recruit__catchcopy-img {
  @media screen and (min-width: 769px) {
    & {
      display: none;
    }
  }
}

.c-recruit__catchcopy-text {
  display: none;
  @media screen and (min-width: 769px) {
    & {
      display: block;

      margin-block-end: 2rem;

      font-size: 3rem;
      line-height: 1.458;
      text-align: center;
    }
  }
}

.c-recruit__tags {
  display: flex;
  justify-content: space-between;

  width: 100%;

  @media screen and (min-width: 769px) {
    & {
      justify-content: center;
      gap: 2.5rem;

      margin-block-end: 4rem;
    }
  }
}

.c-recruit__tag {
  font-size: 0.813rem;
  line-height: 1.462;
  letter-spacing: 0.05em;
}

.c-recruit__button {
  width: 220px;
  padding-block: 1rem;

  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;

  font-size: 0.938rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-align: center;

  @media screen and (min-width: 769px) {
    & {
      font-size: clamp(0.75rem, 1.11vw, 1rem);
      font-weight: 400;

      transition: 0.3s ease;
    }
  }
}

/*-------------------------
  Card and card list
-------------------------*/
/* List */
.c-cards {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;

  @media screen and (min-width: 769px) {
    & {
      flex-direction: row;
      gap: 1.39vw;
    }
  }
}

/* Card */
.c-card {
  max-width: 77.07vw;
  width: 100%;

  @media screen and (min-width: 769px) {
    & {
      max-width: 306px;
    }
  }
}

.c-card__image {
  margin-block-end: 0.688rem;
}

.c-card__img {
  aspect-ratio: 289 / 216;

  @media screen and (min-width: 769px) {
    & {
      aspect-ratio: 306 / 229;
    }
  }
}

.c-card__title {
  margin-block-end: 0.813rem;

  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: 0.05em;
  font-weight: 500;
  font-family: 'Shippori Mincho', serif;
  color: var(--text-color-primary);

  @media screen and (min-width: 769px) {
    & {
      font-size: 1.125rem;
    }
  }
}

.c-card__desc {
  font-size: 0.813rem;
  line-height: 1.769;
  letter-spacing: 0.05em;
  color: var(--text-color-secondary);

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

/*-------------------------
  Navigation
-------------------------*/
.c-nav__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(auto, 141px));
  justify-content: space-between;
  row-gap: 1.5rem;

  padding: 0;
  margin: 0;

  @media screen and (min-width: 769px) {
    & {
      display: flex;
      flex-direction: column;
      flex-wrap: wrap;
      flex-grow: 1;
      justify-content: space-between;
      /* gap: 4rem clamp(2rem, 8.78vw, 7.5rem); */
      gap: 4rem 0;

      height: 106px;
    }
  }
}

.c-nav__item {
  @media screen and (min-width: 769px) {
    &.l-header__nav-item--pp,
    &.l-header__nav-item--sitemap {
      display: none;
    }
  }
}

.c-nav__item-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 100%;

  &::after {
    content: '';
    flex-shrink: 0;

    width: 13px;
    height: 3px;

    background-image: url(../images/arrow-menu-sp.png);
    background-size: contain;
    background-repeat: no-repeat;
  }

  @media screen and (min-width: 769px) {
    & {
      position: relative;
      display: inline-flex;

      justify-content: flex-start;
      gap: 1rem;

      height: auto;
    }

    &::after {
      width: 16px;
      height: 3.2px;

      background-image: url(../images/arrow-menu-pc.png);
    }

    &::before {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      width: 0;
      height: 1px;
      background-color: var(--bg-color-white);
      transition: width 0.3s ease-in-out;
    }

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

.c-nav__link {
  color: var(--text-color-white);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.214;
  font-family: 'Shippori Mincho', serif;

  height: 100%;

  @media screen and (min-width: 769px) {
    & {
      font-size: 1.063rem;
      line-height: 1;
    }
  }
}

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

.u-sp-only {
  display: block;

  @media screen and (min-width: 769px) {
    & {
      display: none;
    }
  }
}

.u-pc-only {
  display: none;

  @media screen and (min-width: 769px) {
    & {
      display: block;
    }
  }
}

.u-num {
  font-family: 'Cormorant Garamond', serif;
}

.u-mincho {
  font-family: 'Shippori Mincho', serif;
}

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

  width: 100%;
  height: 67px;

  &.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 67px;

    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.06);

    z-index: 100;
  }

  &.is-fixed .l-header__logo-img {
    content: url(../images/logo-black.svg);
  }

  &.is-fixed .l-header__hamburger-line,
  &.is-fixed .l-header__hamburger-line::after {
    background-color: var(--text-color-primary);
  }

  &.is-fixed .l-header__hamburger-label {
    color: var(--text-color-primary);
  }

  @media screen and (min-width: 769px) {
    &.is-fixed {
      height: 67px;
    }

    &.is-fixed .l-header__top {
      padding-block: 1.125rem;
    }
  }
}

.open .l-header__hamburger-line,
.open .l-header__hamburger-line::after {
  background-color: var(--bg-color-white);
}

/*-------------------------
  Top
-------------------------*/
.l-header__top {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 300;

  width: 100%;
  height: 67px;
  padding: 1.5rem;

  @media screen and (min-width: 769px) {
    & {
      width: 100%;
      height: fit-content;
      padding-block: 1.125rem 2rem;
      padding-inline: 3.125rem;
      flex-shrink: 0;
    }
  }
}

.l-header__logo {
  width: 160px;

  @media screen and (min-width: 769px) {
    & {
      width: 240px;
    }
  }
}

.l-header__logo-img {
  content: url('../images/logo-black.svg');

  @media screen and (min-width: 769px) {
    &.l-top-header__logo-img {
      content: url('../images/logo-white.svg');
    }
  }
}

.l-header.open .l-header__logo-img {
  content: url('../images/logo-white.svg');
}

.l-header__link {
  color: inherit;
  font-weight: inherit;
  font-size: inherit;
}

/* Open State */
.l-header.open .l-header__top {
  height: 67px;
  padding-block: 1.25rem;

  @media screen and (min-width: 769px) {
    & {
      /* height: 107px; */
    }
  }
}

/*-------------------------
  Hamburger Menu
-------------------------*/
.l-header__hamburger {
  position: relative;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  width: 50px;
  height: 30px;

  cursor: pointer;

  @media screen and (min-width: 769px) {
    & {
      flex-direction: row;
      align-items: center;
      gap: 1rem;

      width: fit-content;
      height: 14px;
    }
  }
}

.l-header__hamburger-line {
  display: block;
  position: relative;

  width: 50px;
  height: 1px;

  background-color: #111;

  transform-origin: center;
  transition: all 0.3s ease;

  &::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 0;

    width: 30px;
    height: 1px;

    background-color: #111;

    transform-origin: center;
    transition: all 0.3s ease;
  }

  @media screen and (min-width: 769px) {
    .l-top-header &,
    .l-top-header &::after {
      background-color: var(--bg-color-white);
    }

    & {
      top: -5px;
    }
  }
}

.l-header.open .l-header__hamburger-line {
  top: 5px;

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

  transform: rotate(15deg);

  &::after {
    top: 0;

    width: 50px;

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

    transform: rotate(-30deg);
  }

  @media screen and (min-width: 769px) {
    & {
      top: 0;
    }
  }
}

.l-header__hamburger-label {
  font-size: 0.75rem;
  line-height: 1.167;
  letter-spacing: 0.15em;

  transition: 0.3s ease;

  @media screen and (min-width: 769px) {
    .l-top-header & {
      color: var(--text-color-white);
    }
  }
}

.l-header.open .l-header__hamburger-label {
  color: var(--text-color-white);
}

/*-------------------------
  Drawer Menu
-------------------------*/
.l-header__drawer {
  opacity: 0;
  overflow-y: auto;
  position: fixed;
  inset: 0;

  width: 100%;
  min-height: 100dvh;
  padding-block-start: 67px;

  background-color: var(--bg-color-warm-gray);
  z-index: 150;

  pointer-events: none;
  transition: opacity 0.2s ease;

  &.open {
    opacity: 1;

    pointer-events: auto;
  }

  @media screen and (min-width: 769px) {
    & {
      transform: translateY(-100%);

      /* padding-block-start: 21.22dvh; */

      transition:
        transform 0.3s ease,
        opacity 0.3s ease;
    }

    &.open {
      transform: translateY(0);
    }
  }
}

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

  height: 100%;

  @media screen and (min-width: 769px) {
    & {
      align-items: center;
      /* gap: clamp(3rem, 10.42dvh, 5rem); */
      height: 100%;
    }
  }
}

/*-------------------------
  Header Navigation
-------------------------*/
.l-header__nav {
  padding-inline: 1.25rem;
  padding-block: 2.5rem 4rem;

  @media screen and (min-width: 769px) {
    & {
      display: flex;
      align-items: center;
      /* justify-content: space-between; */
      /* gap: clamp(4rem, 9.81vw, 8.375rem); */

      width: 100%;
      height: auto;
      padding-inline: 9.74vw;
      margin-block: auto;
    }
  }
}

/*-------------------------
  PC 電話問い合わせ
-------------------------*/
.c-tel-contact.l-header__tel-contact {
  display: none;

  @media screen and (min-width: 769px) {
    display: flex;
  }
}

/* ============================
*  Footer
* ========================== */
.l-footer {
  width: 100%;

  background-color: var(--bg-color-warm-gray);
}

.l-footer__inner {
  max-width: 1366px;
  width: 100%;
  margin-inline: auto;
  padding-block: 4rem 2.5rem;
  padding-inline: 1.25rem;

  @media screen and (min-width: 769px) {
    & {
      padding-inline: 5.188rem;
    }
  }
}

.l-footer__content {
  margin-block-end: 0;

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

  @media screen and (min-width: 769px) {
    & {
      display: grid;
      grid-template-areas:
        'address tel-contact'
        'address nav-menu';

      max-width: 1200px;
      width: 100%;
      margin-block-end: 0.563rem;
      margin-inline: auto;
    }
  }
}

.l-footer__content .c-tel-contact__hours {
  @media screen and (min-width: 769px) {
    & {
      margin-inline-start: -3rem;
    }
  }
}

/*-------------------------
  Tel Contact
-------------------------*/
.l-footer__tel-contact.c-tel-contact {
  grid-area: tel-contact;

  display: flex;

  margin-block-end: 4rem;

  @media screen and (min-width: 769px) {
    & {
      position: relative;

      display: grid;
      grid-template-columns: 1fr 1fr;

      max-width: 600px;
      width: 100%;
      height: 7em;
      margin-block-end: 1.5rem;
      margin-inline-start: auto;
      padding-inline: 0;
    }

    &::after {
      display: block;
      position: absolute;
      top: 50%;
      left: 50%;

      width: 1px;
      height: 3.25rem;

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

      content: '';
      transform: translate(-50%, -50%);
    }
  }
}

.l-footer__tel-contact .c-tel-contact__label {
  @media screen and (min-width: 769px) {
    & {
      position: relative;

      flex-direction: row;
      justify-content: center;
    }

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

.l-footer__tel-contact .c-tel-contact__number-wrapper {
  @media screen and (min-width: 769px) {
    & {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
  }
}

/*-------------------------
  Address
-------------------------*/
.l-footer__address-wrapper {
  grid-area: address;

  margin-block-end: 5rem;
}

.l-footer__logo {
  width: 160px;
  margin-block-end: 1rem;

  @media screen and (min-width: 769px) {
    & {
      width: 240px;
      margin-block-end: 2.25rem;
    }
  }
}

.l-footer__address-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;

  @media screen and (min-width: 769px) {
    & {
      gap: 0;
    }
  }
}

.l-footer__address-item {
  display: flex;
}

.l-footer__address-label {
  font-size: 0.813rem;
  line-height: 1.692;
  letter-spacing: 0.05em;

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

  @media screen and (min-width: 769px) {
    & {
      font-size: 0.938rem;
      line-height: 2;
    }
  }
}

.l-footer__address-value {
  font-size: 0.813rem;
  line-height: 1.692;
  letter-spacing: 0.05em;

  @media screen and (min-width: 769px) {
    & {
      font-size: 0.938rem;
      line-height: 2;
    }
  }
}

/*-------------------------
  Navigation Menu
-------------------------*/
.l-footer__nav {
  grid-area: nav-menu;

  margin-block-end: 5rem;

  @media screen and (min-width: 769px) {
    & {
      max-width: 600px;
      width: 100%;
      height: 81px;
      margin-block-end: 0;
      margin-inline-start: auto;
    }
  }
}

.l-footer__nav-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 2.375rem;

  @media screen and (min-width: 769px) {
    & {
      display: flex;
      flex-direction: column;
      flex-wrap: wrap;
      gap: 2.375rem clamp(2rem, 6.66vw, 5.688rem);

      max-width: 600px;
      width: 100%;
      height: 100%;
    }
  }
}

.l-footer__nav-link {
  font-size: 0.75rem;
  line-height: 1.417;
  letter-spacing: 0.05em;
  font-weight: 300;

  transition: 0.2s ease;

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

    &:hover {
      opacity: 0.7;
    }
  }
}

/*-------------------------
  Copyright
-------------------------*/
.l-footer__copyright {
  display: block;

  font-size: 0.625rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-color-white);
  font-family: 'Shippori Mincho', serif;
  text-transform: none;

  @media screen and (min-width: 769px) {
    & {
      font-size: 0.75rem;
      line-height: 1.167;
    }
  }
}

/* ============================
*  Top Page
* ========================== */
/*-------------------------
  Opening Screen
-------------------------*/
.opening {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-opnening);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 1.25rem;
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1);

  &.is-hidden {
    transform: translateY(-100%);
  }
}

.opening__inner {
  display: inline-flex;
  flex-direction: column;
}

.opening__line {
  width: 0;
  height: 1px;
  background-color: var(--line-color-opening);
  transition: width 1.5s ease;

  &.is-active {
    width: 100%;
  }
}

.opening__title-wrap {
  overflow: hidden;
}

.opening__title {
  display: block;

  font-size: clamp(1.4rem, 4vw, 2.5rem);
  color: var(--text-color-white);
  font-weight: 500;
  letter-spacing: 0.24em;

  transform: translateY(100%);
  transition: transform 1.5s ease;

  &.is-active {
    transform: translateY(0);
  }

  @media screen and (min-width: 769px) {
    & {
      font-size: 1.75rem;
      line-height: 1.214;
    }
  }
}

/*-------------------------
  FV
-------------------------*/
.l-fv {
  position: relative;

  width: 100%;
  height: auto;

  @media screen and (min-width: 769px) {
    & {
      height: 100dvh;
    }
  }
}

/* FV Text */
.l-fv__text {
  padding-block: 3.5rem 2rem;
  padding-inline-start: 1.25rem;

  @media screen and (min-width: 769px) {
    & {
      z-index: 6;
      position: absolute;

      left: 6.25rem;
      bottom: 19.01dvh;

      padding: 0;

      content: '';
    }
  }
}

.l-fv__catchopy {
  font-size: 1.813rem;
  line-height: 1.655;
  font-weight: 600;
  color: var(--text-color-primary);

  @media screen and (min-width: 769px) {
    & {
      font-size: 3.75rem;
      line-height: 1.35;
      color: var(--text-color-white);
    }
  }
}

/* FV Video */
.l-fv__video-wrapper {
  position: relative;

  width: 100%;
  height: 49.26dvh;

  overflow: hidden;

  &::before {
    opacity: 0.7;
    position: absolute;
    z-index: 5;

    content: '';

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    background-image: url(../images/fv-wrapper-sp.png);
    background-size: contain;
  }

  @media screen and (min-width: 769px) {
    & {
      height: 100dvh;
      margin-block-start: -93px;
    }

    &::before {
      background-image: url(../images/fv-wrapper.png);
    }
  }
}

.l-fv__video {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;
  transform: scale(1.4);

  @media screen and (min-width: 769px) {
    & {
      transform: scale(1.4);
    }
  }
}

/* Fv Scroll Bar */
.l-fv__scroll-bar {
  display: none;

  @media screen and (min-width: 769px) {
    & {
      display: flex;
      align-items: center;
      gap: 1rem;
      z-index: 5;
      position: absolute;
      right: 3.125rem;
      bottom: 19.01dvh;

      width: 156px;
      height: 16px;

      content: '';
      transform: rotate(90deg);

      cursor: default;
    }
  }
}

.l-fv__scroll-bar-label {
  @media screen and (min-width: 769px) {
    & {
      font-size: 0.813rem;
      font-weight: 400;
      letter-spacing: 0.013rem;
      color: var(--text-color-white);
    }
  }
}

.l-fv__scroll-bar-line {
  @media screen and (min-width: 769px) {
    position: relative;
    display: block;
    overflow: hidden;

    width: 5rem;
    height: 1px;
    background: var(--text-color-primary);
  }
}

.l-fv__scroll-bar-white {
  @media screen and (min-width: 769px) {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 1px;
    background: var(--bg-color-white);
    animation: infinite scrollbar 3.6s ease;
    /* transition: transform 0.8s ease-out; */
  }
}

.l-fv__scroll-bar-white {
  @media screen and (min-width: 769px) {
    /* transform: translateX(300%); */
  }
}

@keyframes scrollbar {
  0% {
    transform: translateX(0);
  }
  5% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(300%);
  }
  100% {
    transform: translateX(0);
  }
}

/*-------------------------
  企業情報 Philosophy
-------------------------*/
.p-top-philosophy__bg {
  width: 100%;

  background-image: url(../images/bg-top-philosophy.png);
  background-size: cover;
}

.p-top-philosophy .l-inner {
  padding-block: 5rem;

  @media screen and (min-width: 769px) {
    & {
      padding-block: 6.25rem;
      padding-inline-end: 0;
    }
  }
}

.p-top-philosophy__content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;

  @media screen and (min-width: 769px) {
    & {
      flex-direction: row-reverse;
      align-items: center;
      gap: 3.5rem;
    }
  }
}

/* Image */
.p-top-philosophy__images {
  grid-area: images;

  @media screen and (min-width: 769px) {
    & {
      max-width: 606px;
      width: 100%;
    }
  }
}

.p-top-philosophy__img:nth-of-type(1) {
  aspect-ratio: 335 / 228;

  @media screen and (min-width: 769px) {
    & {
      height: 413px;
      aspect-ratio: 606 / 413;
    }
  }
}

.p-top-philosophy__img:nth-of-type(2) {
  aspect-ratio: 335 / 142;

  @media screen and (min-width: 769px) {
    & {
      height: 257px;
      aspect-ratio: 606 / 257;
    }
  }
}

/* Text */
.p-top-philosophy__text {
  display: flex;
  flex-direction: column;
  gap: 2rem;

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

  @media screen and (min-width: 769px) {
    & {
      justify-content: space-between;
      max-height: 523px;
      width: 100%;
      gap: 3.5rem;
    }

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

.p-top-philosophy__descs {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;

  @media screen and (min-width: 769px) {
    & {
      /* max-width: 428px; */
      width: 100%;
    }
  }
}

/* Button */
.p-top-philosophy__button {
  grid-area: button;
}

/*-------------------------
  強み Our Strength
-------------------------*/
.p-top-strength .l-inner {
  padding-block: 2.5rem 7.5rem;

  @media screen and (min-width: 769px) {
    & {
      padding-block: 6.25rem 7.125rem;
    }
  }
}

.p-top-strength__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;

  @media screen and (min-width: 769px) {
    & {
      gap: 4rem;
    }
  }
}

/* Introduction */
.p-top-strength__intro {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;

  @media screen and (min-width: 769px) {
    & {
      flex-direction: row-reverse;
      justify-content: space-between;
    }
  }
}

.p-top-strength__intro-image {
  margin-inline-end: -1.25rem;

  @media screen and (min-width: 769px) {
    & {
      max-width: 606px;
      width: 100%;
      margin-inline-end: -5.188rem;
    }
  }
}

.p-top-strength .c-title {
  white-space: nowrap;

  @media screen and (min-width: 769px) {
    & {
      margin-block-end: 4rem;
    }
  }
}

/* List */
.p-top-strength__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  @media screen and (min-width: 769px) {
    & {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
    }
  }
}

.p-top-strength__item {
  padding: 1.5rem;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);

  border-top: 1px solid var(--text-color-eyebrow);
  border-radius: 4px;

  @media screen and (min-width: 769px) {
    & {
      padding-bottom: 1.5rem;
      padding-inline: 2rem;
    }
  }
}

.p-top-strength__item-heading {
  display: flex;
  align-items: center;
  gap: 1rem;

  margin-block-end: 1.375rem;

  @media screen and (min-width: 769px) {
    & {
      gap: 1.5rem;
    }
  }
}

.p-top-strength__item-number {
  font-size: 1.25em;
  line-height: 1.45;
  letter-spacing: 0.05em;
  color: var(--text-color-eyebrow);
}

.p-top-strength__item-title {
  font-size: 1.188rem;
  line-height: 1.421;
  letter-spacing: 0.05em;
  color: var(--text-color-primary);

  @media screen and (min-width: 769px) {
    & {
      font-size: 1.375rem;
      line-height: 1.455;
    }
  }
}

.p-top-strength__item-image {
  width: 254px;

  @media screen and (min-width: 769px) {
    & {
      width: 280px;
    }
  }
}

.p-top-strength__item-img {
  aspect-ratio: 254 / 133;

  @media screen and (min-width: 769px) {
    & {
      aspect-ratio: 280 / 147;
    }
  }
}

.p-top-strength__item-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;

  @media screen and (min-width: 769px) {
    & {
      gap: 0.875rem;
    }
  }
}

.c-text.p-top-strength__item-desc {
  @media screen and (min-width: 769px) {
    & {
      font-size: 0.938rem;
      line-height: 1.667;
    }
  }
}

/*-------------------------
  事業紹介 Service
-------------------------*/
.p-top-service__bg {
  width: 100%;

  background-color: var(--bg-color-light-gray);
}

.p-top-service .l-inner {
  position: relative;

  padding-block: 6.563rem 5rem;

  @media screen and (min-width: 769px) {
    & {
      padding-block: 6.25rem;
    }
  }
}

.p-top-service__content {
  height: fit-content;
}

.p-top-service .c-title {
  position: absolute;
  top: -2.5rem;
  right: 1.25rem;

  margin-inline-start: auto;

  content: '';

  @media screen and (min-width: 769px) {
    & {
      top: -5rem;
      right: 5.188rem;
    }
  }
}

.p-top-service__body {
  display: flex;
  flex-direction: column;
  gap: 4rem;

  width: 100%;

  @media screen and (min-width: 769px) {
    & {
      max-width: 1083px;
    }
  }
}

.p-top-service__item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  @media screen and (min-width: 769px) {
    & {
      gap: 2.5rem;
    }

    &:nth-of-type(odd) {
      flex-direction: row;
    }

    &:nth-of-type(even) {
      flex-direction: row-reverse;
    }

    /* Hover State */
    &:hover .p-top-service__item-img {
      /* transform: scale(1.1); */
    }

    &:hover .c-more-button::after {
      /* transform: scaleX(1); */
    }

    &:hover .c-more-button .c-more-button__label::after {
      transform: translateX(0.25rem);
    }
  }
}

.p-top-service__item-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  & .c-more-button:hover {
    &::after {
      transform: scaleX(1);
    }
  }

  @media screen and (min-width: 769px) {
    & {
      justify-content: space-between;

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

@media screen and (min-width: 769px) {
  .p-top-service__item:has(.c-more-button:hover) .p-top-service__item-img {
    transform: scale(1.1);
  }
}

.p-top-service__item-title {
  grid-area: title;

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

.p-top-service__item-title--en {
  font-size: 0.75rem;
  line-height: 1.167;
  letter-spacing: 0.2em;
  color: var(--text-color-sub-eyebrow);
}

.p-top-service__item-title--ja {
  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--text-color-primary);

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

.p-top-service__item-image {
  grid-area: image;

  @media screen and (min-width: 769px) {
    & {
      overflow: hidden;

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

.p-top-service__item-img {
  aspect-ratio: 335 / 160;

  @media screen and (min-width: 769px) {
    & {
      aspect-ratio: 558 / 267;

      transition: 0.2s ease;
    }
  }
}

.p-top-service__item-desc {
  grid-area: desc;
}

.p-top-service__item-button {
  margin-block-start: -0.5rem;
  grid-area: button;

  @media screen and (min-width: 769px) {
    & {
      margin-block-start: 0;
    }
  }
}

/*-------------------------
  施工実績 Projects
-------------------------*/
.p-top-projects .l-inner {
  padding-block: 5rem;
  padding-inline-end: 0;

  @media screen and (min-width: 769px) {
    & {
      /* max-width: 100%;
      margin-inline: auto 0; */
      padding-block: 6.25rem;
      padding-inline: 5.188rem 0;
    }
  }
}

.p-top-projects__content {
  display: flex;
  gap: 1rem;

  @media screen and (min-width: 769px) {
    & {
      gap: 4rem;
    }
  }
}

.p-top-projects .c-title {
  flex-shrink: 0;
}

.p-top-projects__body {
  display: flex;
  flex-direction: column;
  gap: 4rem;

  @media screen and (min-width: 769px) {
    & {
      overflow: hidden;

      width: 100%;
    }
  }
}

/* Swiper */
.p-top-projects__slider {
  width: 100%;
  overflow: hidden;

  /* height: 354px !important; */

  @media screen and (min-width: 769px) {
    & {
      /* height: 469px !important; */
    }
  }
}

.p-top-projects__item.swiper-slide {
  flex-shrink: 0;
  width: 200px !important;

  @media screen and (min-width: 769px) {
    & {
      width: 300px !important;
    }
  }
}

.projects-card__image {
  width: 200px;

  @media screen and (min-width: 769px) {
    & {
      width: 300px;
    }
  }
}

.projects-card__img {
  aspect-ratio: 200 /267;

  @media screen and (min-width: 769px) {
    & {
      aspect-ratio: 300 /469;
    }
  }
}

/* Swiper Navigation */
.swiper-button-wrapper {
  position: absolute;
  top: 113px !important;

  /* width: 78.13vw; */
  width: 100%;
  height: 44px;

  @media screen and (min-width: 769px) {
    top: 182px !important;

    width: 948px;
    height: 56px;
  }
}

.swiper-button-prev,
.swiper-button-next {
  position: inherit !important;

  width: 42px;
  height: 42px;

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

  @media screen and (min-width: 769px) {
    & {
      width: 56px;
      height: 56px;
    }
  }
}

.swiper-button-prev {
  left: 0 !important;

  @media screen and (min-width: 769px) {
    & {
      width: 56px;
      height: 56px;
    }
  }
}

.swiper-button-next {
  right: 0 !important;
}

.swiper-button-prev .swiper-navigation-icon,
.swiper-button-next .swiper-navigation-icon {
  transition: 0.2s ease;
}

.swiper-navigation-icon {
  flex-shrink: 0 !important;

  width: 8px !important;
  height: 16px !important;

  color: var(--text-color-primary) !important;
  fill: var(--text-color-primary);

  @media screen and (min-width: 769px) {
    width: 10.43px !important;
    height: 20.86px !important;
  }
}

.swiper-button-prev.swiper-button-disabled .swiper-navigation-icon,
.swiper-button-next.swiper-button-disabled .swiper-navigation-icon {
  color: #e5e5e5 !important;
}

/* Hover State */
.swiper-button-prev:not(.swiper-button-disabled):hover .swiper-navigation-icon {
  transform: translateX(-8px) rotate(180deg) !important;
}

.swiper-button-next:not(.swiper-button-disabled):hover .swiper-navigation-icon {
  transform: translateX(8px) rotate(0) !important;
}

/* projects-card */
@media screen and (min-width: 769px) {
  .projects-card__content {
    width: 100%;
    display: grid;
    justify-content: space-between;
    align-items: center;
    padding-right: 1.5rem;
  }
}
.projects-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  /* width: 200px !important; */
}

.projects-card__img {
  aspect-ratio: 200 /267;
}

.projects-card__title {
  display: inline-block;
  margin-block-end: 0.125rem;

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

.projects-card__category {
  display: block;
  margin-bottom: 0.875rem;

  font-size: 0.688rem;
  line-height: 1.455;
  font-weight: 500;
  color: #808080;
  font-family: 'Shippori Mincho', serif;
}

.projects-card__year {
  display: block;

  font-size: 0.813rem;
  line-height: 1.231;
  color: #808080;

  @media screen and (min-width: 769px) {
    & {
      grid-row: 1;
      grid-column: 2;
    }
  }
}

/*-------------------------
  未来への取り組み Future & CSR
-------------------------*/
.p-top-future-csr__bg {
  background-color: var(--bg-color-light-gray);
}

.p-top-future-csr .l-inner {
  padding-block: 5rem;

  @media screen and (min-width: 769px) {
    & {
      padding-block: 6.25rem;
    }
  }
}

.p-top-future-csr .c-title {
  margin-block-end: 2rem;

  text-align: center;

  & .c-title--ja {
    letter-spacing: 0;
  }

  @media screen and (min-width: 769px) {
    & {
      margin-block-end: 3.4rem;
    }
  }
}
.p-top-future-csr__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  @media screen and (min-width: 769px) {
    & {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
    }
  }
}

.p-top-future-csr__item {
  padding: 1rem;

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

  cursor: pointer;

  @media screen and (min-width: 769px) {
    & {
      padding-inline-end: 1.5rem;

      transition: 0.2s ease;
    }

    /* Hover State */
    &:hover {
      box-shadow: 0 0 8px rgba(0, 0, 0, 0.04);
    }

    &:hover .c-more-button::after {
      transform: scaleX(1);
    }

    &:hover .c-more-button .c-more-button__label::after {
      transform: translateX(0.25rem);
    }
  }
}

.p-top-future-csr__item-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  @media screen and (min-width: 1025px) {
    & {
      display: grid;
      grid-template-columns: minmax(auto, 240px) 1fr;
    }
  }
}

.p-top-future-csr__item-image {
  border-radius: 4px;

  @media screen and (min-width: 1025px) {
    & {
      max-width: 240px;
      width: 100%;
      max-height: 240px;
      height: 100%;
    }
  }
}

.p-top-future-csr__item-img {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
}

.p-top-future-csr__item-text {
  display: flex;
  flex-direction: column;

  @media screen and (min-width: 769px) {
    & {
      gap: 0.938rem;
    }
  }
}

.p-top-future-csr__item-title {
  /* margin-block-end: 1.25rem; */

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.688rem;
}

.p-top-future-csr__item-title--en {
  font-size: 0.75rem;
  line-height: 1.167;
  letter-spacing: 0.1em;
  color: var(--text-color-sub-eyebrow);

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

.p-top-future-csr__item-title--ja {
  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--text-color-primary);
}

.p-top-future-csr__item-desc {
  @media screen and (min-width: 769px) {
    & {
      line-height: 1.5;
    }
  }
}

.p-top-future-csr .c-more-button {
  margin-block-start: 2rem;

  @media screen and (min-width: 769px) {
    & {
      margin-block-start: auto;
    }
  }
}

/*-------------------------
  主要お取引先 Major clients
-------------------------*/
.p-major-clients .l-inner {
  padding-block: 4rem;
  padding-inline: 3rem;

  @media screen and (min-width: 769px) {
    & {
      padding-block-end: 4rem 3.5rem;
    }
  }
}

.p-major-clients__bg {
  background-color: #f2f2ee;
}

.p-major-clients__title {
  margin-block-end: 2.25rem;

  font-size: 0.875rem;
  line-height: 1.214;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-color-eyebrow);
  text-align: center;
}

.p-major-clients__list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 2.5rem;
  justify-content: center;
  justify-items: center;

  @media screen and (min-width: 769px) {
    & {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      column-gap: 3.5rem;
      row-gap: 2rem;

      max-width: 832px;
      width: 100%;
      margin-inline: auto;
    }
  }
}

.p-major-clients__item {
  font-size: 0.875rem;
  line-height: 1.429;
  font-weight: 500;
  color: var(--text-color-sub-eyebrow);
  font-family: 'Shippori Mincho', serif;

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

/* ============================
*  施工実績 Projects.html
* ========================== */
.p-projects .c-page__heading {
  margin-block-end: 4rem;

  @media screen and (min-width: 769px) {
    & {
      margin-block-end: 5.5rem;
    }
  }
}

.p-projects .l-inner {
  @media screen and (min-width: 769px) {
    & {
      display: grid;
      grid-template-columns: minmax(auto, 254px) 1fr;
      align-items: start;
      gap: 4rem;
      min-height: 100vh;
    }
  }
}

/*-------------------------
  Navigation
-------------------------*/
.p-projects__nav {
  position: relative;

  max-width: 77.87vw;
  width: 100%;
  margin-block-end: 5rem;

  @media screen and (min-width: 769px) {
    & {
      position: sticky;
      top: 93px;

      align-self: start;

      max-width: 254px;
      margin-block-start: 0.625rem;
    }
  }
}

.p-projects__nav-label {
  position: relative;
  display: block;

  height: 37px;
  margin-block-end: 1rem;

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

  &::after {
    position: absolute;
    left: 0;
    bottom: 0rem;

    width: 67.73vw;
    height: 1px;
    background: linear-gradient(to right, #a68e74 0, #a68e74 1rem, #e0e0e0 1rem, #e0e0e0 100%);

    content: '';
  }

  @media screen and (min-width: 769px) {
    & {
      height: 47px;
      margin-block-end: 1.5rem;

      font-size: 1.125rem;
      line-height: 1.444;
    }

    &::after {
      max-width: 100%;
    }
  }
}
.p-projects__nav-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.p-projects__nav-item {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 4.188rem;
  height: 1.813rem;

  border: 1px solid #ddd5cc;
  border-radius: 100px;

  @media screen and (min-width: 769px) {
    & {
      width: 4.625rem;
      height: 2rem;
    }

    /* Hover State */
    &:hover {
      background-color: var(--text-color-eyebrow);
      border: 1px solid var(--text-color-eyebrow);
    }

    &:hover .p-projects__nav-link {
      color: var(--text-color-white);
    }
  }
}

.p-projects__nav-link {
  font-size: 0.75rem;
  line-height: 1.417rem;
  color: var(--text-color-secondary);

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

/*-------------------------
  Content
-------------------------*/
.p-projects__content {
  display: flex;
  flex-direction: column;
  gap: 5rem;

  padding-block-end: 5rem;

  @media screen and (min-width: 769px) {
    & {
      gap: 5.313rem;

      padding-block-end: 5.75rem;
    }
  }
}

.p-projects__section {
  scroll-margin-top: 5rem;
}

/* Title */
.p-projects__section-title {
  margin-block-end: 1.5rem;
  padding-block-end: 0.75rem;

  border-bottom: 1px solid #e0e0e0;

  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--text-color-eyebrow);

  @media screen and (min-width: 769px) {
    & {
      height: 57px;
      margin-block-end: 1.875rem;
      padding-block-end: 0;

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

/* List */
.p-projects__list {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;

  @media screen and (min-width: 769px) {
    & {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      row-gap: 2rem;
    }
  }
}

.p-projects__list-item {
  font-size: 0.875rem;
  line-height: 1.214;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-color-primary);

  @media screen and (min-width: 769px) {
    & {
      font-size: 1rem;
      line-height: 1.5;

      transition: 0.2s ease;
    }
  }
}

/* ============================
*  企業情報 company.html
* ========================== */
/*-------------------------
  Heading
-------------------------*/
.p-company .c-page__heading {
  margin-block-end: 3.5rem;

  @media screen and (min-width: 769px) {
    & {
      margin-block-end: 6.25rem;
    }
  }
}

/*-------------------------
  Philosophy
-------------------------*/
.p-company__philosophy-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;

  margin-block-end: 2.25rem;

  @media screen and (min-width: 769px) {
    & {
      margin-block-end: 3rem;
    }
  }
}

.p-company__philosophy-title--en {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-color-eyebrow);
}

.p-company__philosophy-title--ja {
  font-size: 1.625rem;
  line-height: 1.731;
  font-weight: 500;
  color: var(--text-color-primary);
  font-family: 'Shippori Mincho', serif;
  text-align: center;

  @media screen and (min-width: 769px) {
    & {
      font-size: 2.75rem;
      line-height: 1.591;
    }
  }
}

.p-company__philosophy-desc {
  margin-block-end: 2.5rem;

  text-align: center;

  @media screen and (min-width: 769px) {
    & {
      max-width: 49.313rem;
      margin-block-end: 3.6rem;
      margin-inline: auto;
    }
  }
}

/* List */
.p-company__philosophy-list {
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;

  width: 100%;
  padding-block: 2.5rem;
  padding-inline: 1.5rem;

  background-color: #f2f2ee;

  @media screen and (min-width: 769px) {
    & {
      max-width: 806px;
      margin-inline: auto;
      padding: 4rem;
    }
  }
}

/* List Item */
.p-company__philosophy-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;

  @media screen and (min-width: 769px) {
    & {
      display: grid;
      grid-template-columns: minmax(auto, 260px) 1fr;
      gap: 2rem;
    }
  }
}

.p-company__philosophy-item-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;

  @media screen and (min-width: 769px) {
    & {
      flex-direction: row;
      align-items: baseline;
      gap: 0.85rem;
    }
  }
}

.p-company__philosophy-item-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;

  font-size: 1.125rem;
  line-height: 1.444;
  font-weight: 700;
  /* letter-spacing: 0.05em; */
  font-family: 'Shippori Mincho', serif;

  &::after {
    width: 1rem;
    height: 1px;

    background-color: var(--text-color-eyebrow);

    content: '';
  }

  @media screen and (min-width: 769px) {
    & {
      flex-direction: row;
      align-items: center;
      gap: 0.85rem;

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

    &::after {
      width: 1px;
      height: 1.125rem;

      background-color: var(--text-color-eyebrow);

      content: '';
    }
  }
}

.p-company__philosophy-item-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-family: 'Klee One', 'クレー', cursive;
  text-align: center;
  line-height: 1.45;

  @media screen and (min-width: 769px) {
    & {
      font-size: 1.5rem;
      line-height: 1.35;
      text-align: start;
      letter-spacing: 0;
    }
  }
}

/*-------------------------
  代表メッセージ
-------------------------*/
.p-company__message {
  margin-block-start: -2.875rem;
  padding-block-end: 10rem;

  @media screen and (min-width: 769px) {
    & {
      margin-block-start: -6.25rem;
      padding-block-end: 12.5rem;
    }
  }
}

.p-company__message-title-wrapper {
  overflow: visible;
  position: relative;

  width: 100%;
  height: 159px;
  margin-block-end: 13.375rem;

  background-image: url(../images/image-page-company-message.png);
  background-size: cover;
  background-position: center;

  @media screen and (min-width: 769px) {
    & {
      max-width: 1200px;
      width: 100%;
      height: 509px;
      margin-inline: auto;
    }
  }
}

.p-company__message-title {
  position: absolute;
  top: 7.688rem;
  right: 1.25rem;

  display: flex;
  flex-direction: column;
  gap: 1rem;

  writing-mode: vertical-rl;
  white-space: nowrap;

  content: '';

  @media screen and (min-width: 769px) {
    & {
      top: auto;
      bottom: -17rem;
      right: 7.5rem;
    }
  }
}

.p-company__message-title--bold {
  font-size: 1.313rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.5em;

  @media screen and (min-width: 769px) {
    & {
      font-size: 2.625rem;
      letter-spacing: 0.2em;
    }
  }
}

.p-company__message-title--light {
  font-size: 0.813rem;
  letter-spacing: 0.16em;

  @media screen and (min-width: 769px) {
    & {
      font-size: 1.125rem;
      letter-spacing: 0.22em;
    }
  }
}

.p-company__message .l-inner {
  display: flex;
  flex-direction: column-reverse;
  gap: 2.375rem;
  margin-block-start: -64px;

  @media screen and (min-width: 769px) {
    & {
      display: grid;
      grid-template-columns: minmax(auto, 789px) 300px;
      justify-content: space-between;
      align-items: flex-end;
      margin-block-start: -174px;
    }
  }
}

.p-company__message-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  @media screen and (min-width: 769px) {
    & {
      gap: 1.813rem;

      margin-block-start: 3.7rem;
    }
  }
}

.p-company__message-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  margin-block-end: 1.5rem;

  @media screen and (min-width: 769px) {
    & {
      gap: 1.813rem;

      margin-block-end: 1.813rem;
    }
  }
}

.p-company__message-item-title {
  font-weight: 700;
}

.p-company__message-image {
  width: 131px;
  height: 174px;
  margin-block-end: 9px;

  @media screen and (min-width: 769px) {
    & {
      width: 300px;
      height: 400px;
      margin-block-end: 1.75rem;
    }
  }
}

.p-company__message-img {
  aspect-ratio: 131 / 174;

  @media screen and (min-width: 769px) {
    & {
      aspect-ratio: 3 / 4;
    }
  }
}

.p-company__message-position {
  display: block;

  margin-block-end: 5px;

  font-size: 0.625rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: #808080;

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

.p-company__message-name--ja {
  margin-inline-end: 1.5rem;

  font-size: 0.938rem;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text-color-primary);

  @media screen and (min-width: 769px) {
    & {
      font-size: 1.5rem;
      line-height: 1.458;
      letter-spacing: 0.24em;
    }
  }
}

.p-company__message-name--en {
  font-size: 0.563rem;
  line-height: 1.444;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-color-primary);

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

/*-------------------------
  会社概要 Outline
-------------------------*/
.p-company__outline .l-inner {
  padding-block-end: 5rem;

  @media screen and (min-width: 769px) {
    & {
      padding-block-end: 6.25rem;
    }
  }
}

.p-company__outline .c-section-title {
  margin-block-end: 2.313rem;

  @media screen and (min-width: 769px) {
    & {
      margin-block-end: 3.75rem;
    }
  }
}

.p-company__outline-content {
  width: 100%;

  @media screen and (min-width: 769px) {
    & {
      padding-inline-start: 8.063rem;
    }
  }
}

.p-company__outline-item {
  display: grid;
  grid-template-columns: 5.6rem 1fr;
  gap: 1rem;

  padding-block: 0.75rem;

  border-top: 1px solid #e0e0e0;

  font-size: 0.75rem;
  letter-spacing: 0.05em;
  line-height: 1.417;
  color: var(--text-color-secondary);

  &:last-of-type {
    border-bottom: 1px solid #e0e0e0;
  }

  @media screen and (min-width: 769px) {
    & {
      grid-template-columns: 7.4rem 1fr;
      gap: 9.5rem;

      padding-block: 1.5rem;

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

.p-company__outline-desc {
  @media screen and (min-width: 769px) {
    & {
      display: flex;
      justify-content: space-between;
    }
  }
}

.p-company__outline-map {
  margin-block-start: 0.75rem;

  @media screen and (min-width: 769px) {
    & {
      margin-block-start: 0;
    }

    /* Hover State */
    &:hover::after {
      transform: scaleX(1);
    }

    &:hover .p-company__outline-map-label::after {
      transform: translateX(0.25rem);
    }
  }
}

.p-company__outline-map-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  font-size: 0.938rem;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0.1em;

  &::after {
    width: 24px;
    height: 5px;

    background-image: url(../images/arrow-button.svg);
    background-size: contain;
    background-repeat: no-repeat;

    content: '';
  }

  @media screen and (min-width: 769px) {
    & {
      gap: 1rem;

      font-size: 1.063rem;
      line-height: 1.235;

      transition: 0.2s ease;
    }

    &::after {
      width: 30px;
      height: 6px;

      background-size: contain;
    }
  }
}

/*-------------------------
  アクセス Access
-------------------------*/
.p-company__access .l-inner {
  padding-block-end: 5rem;

  @media screen and (min-width: 769px) {
    & {
      padding-block-end: 6.25rem;
    }
  }
}

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

.p-company__access-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  @media screen and (min-width: 769px) {
    & {
      padding-inline-start: 8.063rem;
    }
  }
}

.p-company__access-map iframe {
  width: 100%;
  height: 30.91dvh;

  @media screen and (min-width: 769px) {
    & {
      height: 57.29dvh;
    }
  }
}

.p-company__access-address {
  font-size: 0.75rem;
  line-height: 1.417;
  letter-spacing: 0.05em;

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

/* ============================
*  事業紹介 service.html
* ========================== */
.p-service .c-page__heading {
  margin-block-end: 4rem;

  @media screen and (min-width: 769px) {
    & {
      margin-block-end: 6.25rem;
    }
  }
}

/*-------------------------
  共通
-------------------------*/
.p-service__body {
  display: flex;
  flex-direction: column;
  gap: 5rem;

  padding-block-end: 5rem;

  @media screen and (min-width: 769px) {
    & {
      gap: 6.25rem;

      max-width: 1366px;
      width: 100%;
      margin-inline: auto;
      padding-block-end: 6.25rem;
    }
  }
}

.p-service__item-inner {
  max-width: 82.4vw;
  width: 100%;
  @media screen and (min-width: 769px) {
    & {
      max-width: 1161px;
      width: 100%;
    }
  }
}

.p-service__item:nth-child(odd) .p-service__item-inner {
  margin-inline-start: auto;
}

.p-service__item:nth-child(even) .p-service__item-inner {
  margin-inline-end: auto;
}

.p-service__item:nth-child(odd) .l-inner:has(.p-service__item-content) {
  @media screen and (min-width: 769px) {
    & {
      padding-inline-start: 0;
    }
  }
}

.p-service__item:nth-child(even) .l-inner:has(.p-service__item-content) {
  @media screen and (min-width: 769px) {
    & {
      padding-inline-end: 0;
    }
  }
}

.p-service__item:nth-child(even) .p-service__item-content {
  @media screen and (min-width: 769px) {
    & {
      margin-left: auto;
    }
  }
}

/* Heading */
.p-service__item-heading {
  position: relative;

  width: 82.4vw;
  /* height: 27.96lvh; */
  height: 226px;
  margin-block-end: 16.438rem;
  margin-inline-start: auto;

  background-image: url(../images/bg-page-sevice-construction-title.png);
  background-size: cover;
  background-position-x: center;

  @media screen and (min-width: 769px) {
    & {
      width: 100%;
      height: 550px;
      margin-block-end: 4rem;
    }
  }
}

.p-service__furniture .p-service__item-heading {
  background-image: url(../images/bg-page-sevice-furniture-title.png);
}

.p-service__item-title-wrapper {
  position: absolute;
  top: 142px;
  right: 2rem;

  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2.25rem;

  width: fit-content;
  margin-block-end: 16.438rem;

  content: '';

  @media screen and (min-width: 769px) {
    & {
      top: 4rem;
      right: 5.188rem;
    }
  }
}

.p-service__item-title-wrapper.reverse {
  left: 2rem;
  align-items: flex-start;

  @media screen and (min-width: 769px) {
    & {
      left: 5.188rem;
      right: 0;
    }
  }
}

.p-service__item-number-wrapper {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  &::after {
    width: 50px;
    height: 1px;
    background-color: var(--bg-color-white);

    content: '';
  }

  @media screen and (min-width: 769px) {
    &::after {
      width: 92px;
    }
  }
}

.p-service__item-label {
  display: block;

  font-size: 0.563rem;
  line-height: 1.222;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text-color-white);

  @media screen and (min-width: 769px) {
    & {
      font-size: 0.875rem;
    }
  }
}

.p-service__item-number {
  display: block;
  margin-block-start: -1rem;

  font-size: 3.563rem;
  line-height: 1.211;
  font-weight: 500;
  color: var(--text-color-white);

  @media screen and (min-width: 769px) {
    & {
      font-size: 5.5rem;
    }
  }
}

.p-service__item-title-content {
  display: flex;
  flex-direction: row-reverse;
  gap: 2rem;

  @media screen and (min-width: 769px) {
    & {
      gap: 2.188rem;
    }
  }
}
.reverse .p-service__item-title-content {
  flex-direction: row;
}

.p-service__item-title {
  display: flex;
  flex-direction: row-reverse;
  gap: 0.5rem;

  width: fit-content;
  margin-block-end: 0;

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

  @media screen and (min-width: 769px) {
    & {
      gap: 0.875rem;

      color: var(--text-color-white);
    }
  }
}

.p-service__item-title--en {
  writing-mode: vertical-lr;

  height: auto;
  margin-block-end: 0;

  font-size: 0.5rem;
  letter-spacing: 0.1em;
  font-family: 'Noto Sans JP', sans-serif;

  @media screen and (min-width: 769px) {
    & {
      font-size: 0.75rem;
    }
  }
}

.p-service__item-title--ja {
  font-size: 1.313rem;
  letter-spacing: 0.15em;
  font-family: 'Shippori Mincho', serif;
  white-space: nowrap;
  writing-mode: vertical-rl;

  @media screen and (min-width: 769px) {
    & {
      font-size: 2.125rem;
    }
  }
}

.p-service__item-catchcopy {
  font-size: 0.875rem;
  line-height: 1.643;
  letter-spacing: 0.16em;
  font-weight: 500;
  font-family: 'Shippori Mincho', serif;
  writing-mode: vertical-rl;
  inline-size: max-content;
  color: var(--text-color-primary);

  @media screen and (min-width: 769px) {
    & {
      font-size: 1.125rem;
      line-height: 2.111;
      letter-spacing: 0.22em;
      color: var(--text-color-white);
    }
  }
}

/* Content */
.p-service__item-content {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  width: fit-content;
}

/* ============================
*  採用情報 recruitment.html
* ========================== */
/*-------------------------
  Introduction
-------------------------*/
.p-recruitment__intro {
  padding-block: 4rem 5rem;

  @media screen and (min-width: 769px) {
    & {
      padding-block: 0 6.25rem;
    }
  }
}

/* Heading */
.p-recruitment .c-page__heading {
  margin-block-end: 3.625rem;

  @media screen and (min-width: 769px) {
    & {
      margin-block-end: 6.25rem;
    }
  }
}

/* Youtube */
.p-recruitment__youtube {
  width: 100%;
  height: auto;
  margin-block-end: 5rem;

  @media screen and (min-width: 769px) {
    & {
      max-width: 1200px;
      margin-block-end: 5.5rem;
    }
  }
}

.p-recruitment__youtube iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 335 / 188;
  object-fit: cover;

  @media screen and (min-width: 769px) {
    & {
      aspect-ratio: 1200 / 673;
    }
  }
}

/* Content */
.p-recruitment__intro-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;

  @media screen and (min-width: 769px) {
    & {
      gap: 4rem;
    }
  }
}

.p-recruitment__intro-catchcopy {
  font-size: 1.625rem;
  line-height: 1.731;
  font-weight: 500;
  text-align: center;

  @media screen and (min-width: 769px) {
    & {
      font-size: 2.75rem;
      line-height: 1.591;
    }
  }
}

.c-text.p-recruitment__intro-desc {
  text-align: center;
}

/*-------------------------
  工野建設を知る About
-------------------------*/
.p-recruitment__about .l-inner {
  padding-block-end: 5rem;

  @media screen and (min-width: 769px) {
    & {
      padding-block-end: 6.25rem;
    }
  }
}

/* Heading */
.p-recruitment__about-heading {
  display: flex;
  justify-content: space-between;

  margin-block-end: 2.5rem;

  @media screen and (min-width: 769px) {
    & {
      margin-block-end: 4rem;
    }
  }
}

.p-recruitment__about-heading-image {
  width: 78.13vw;
  height: 100%;
  margin-inline-end: -1.25rem;

  @media screen and (min-width: 769px) {
    & {
      max-width: 1161px;
      width: 100%;
      margin-inline-end: -5.188rem;
    }
  }
}

.p-recruitment__about-heading-img {
  aspect-ratio: 293 / 129;

  @media screen and (min-width: 769px) {
    & {
      aspect-ratio: 1161 / 515;
    }
  }
}

/* Content */
.c-cards.p-recruitment__features {
  width: 77.07vw;
  margin-inline: auto;

  @media screen and (min-width: 769px) {
    & {
      width: fit-content;
    }
  }
}

/*-------------------------
  募集要項 Job Information
-------------------------*/
.job-info .l-inner {
  padding-block: 5rem;

  @media screen and (min-width: 769px) {
    & {
      padding-block: 6.25rem;
    }
  }
}

/* Heading */
.job-info__heading .c-title {
  text-align: center;
}

/* Content */
.job-info__content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;

  @media screen and (min-width: 769px) {
    & {
      gap: 4rem;
    }
  }
}

.job-info__list {
  width: 100%;

  @media screen and (min-width: 769px) {
    & {
      padding-inline-start: 8.125rem;
    }
  }
}

.job-info__item-title {
  margin-block-end: 2.5rem;
}

.job-info__list-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 3.375rem;

  padding-block: 0.75rem;

  border-top: 1px solid #e0e0e0;

  font-size: 0.75rem;
  line-height: 1.417;
  letter-spacing: 0.05em;

  @media screen and (min-width: 769px) {
    & {
      grid-template-columns: 4.5rem 1fr;
      gap: 12.75rem;

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

.job-info__list-item:last-of-type {
  border-bottom: 1px solid #e0e0e0;
}

/*-------------------------
  採用の流れ Flow
-------------------------*/
.p-recruitment__flow .l-inner {
  padding-block: 5rem;
}

/* List */
.p-recruitment__flow-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  @media screen and (min-width: 769px) {
    & {
      display: grid;
      grid-template-columns: repeat(4, 1fr);

      margin-block-end: 2.5rem;
    }
  }
}

.p-recruitment__flow-item {
  padding: 1.5rem;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);

  border-top: 1px solid var(--text-color-eyebrow);
  border-radius: 4px;

  @media screen and (min-width: 769px) {
    & {
      padding-block: 1.5rem 2rem;
      padding-inline: 2rem;
    }
  }
}

.p-recruitment__flow-item-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.125rem;

  margin-block-end: 1.125rem;

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

  @media screen and (min-width: 769px) {
    & {
      gap: 0.5rem;

      margin-block-end: 0.875rem;
    }
  }
}

.p-recruitment__flow-item-step {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;

  font-size: 0.75em;
  line-height: 1.233;
  letter-spacing: 0.05em;
  color: var(--text-color-eyebrow);

  @media screen and (min-width: 769px) {
    & {
      font-size: 1rem;
      line-height: 1.219;
    }
  }
}

.p-recruitment__flow-item-step .u-num {
  font-size: 1.875rem;

  @media screen and (min-width: 769px) {
    & {
      font-size: 2rem;
    }
  }
}

.p-recruitment__flow-item-title {
  font-size: 1.188rem;
  line-height: 1.421;
  letter-spacing: 0.05em;
  color: var(--text-color-primary);
  font-family: 'Shippori Mincho', serif;

  @media screen and (min-width: 769px) {
    & {
      font-size: 1.375rem;
      line-height: 1.455;
    }
  }
}

.p-recruitment__flow-item-content:not(:has(.p-recruitment__flow-item-tel)) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.p-recruitment__flow-item-desc,
.p-recruitment__flow-item-note {
  font-size: 0.875rem;
  line-height: 1.714;
  letter-spacing: 0.05em;
  color: var(--text-color-secondary);

  @media screen and (min-width: 769px) {
    & {
      font-size: 0.938rem;
      line-height: 1.667;
    }
  }
}

.p-recruitment__flow-item-content:has(.p-recruitment__flow-item-tel, .p-recruitment__flow-item-note),
.p-recruitment__flow-item-content:has(:not(.p-recruitment__flow-item-desc:first-of-type)) {
  align-items: flex-start;
}

.p-recruitment__flow-item-tel {
  font-size: 0.875rem;
  line-height: 1.714;
  text-decoration: underline;
  text-align: left;
}

.p-recruitment__flow-notes {
  display: none;

  @media screen and (min-width: 769px) {
    & {
      display: flex;
      flex-direction: column;
    }
  }
}

.p-recruitment__flow-note {
  @media screen and (min-width: 769px) {
    font-size: 0.813rem;
    line-height: 1.769;
    letter-spacing: 0.05em;
    color: var(--text-color-secondary);
  }
}

/*-------------------------
  PC Image slider
-------------------------*/
.p-recruitment__image-slider {
  display: none;

  @media screen and (min-width: 769px) {
    & {
      display: block;
      overflow: hidden;

      width: 100%;
      height: 313px;
    }
  }
}

.p-recruitment__image-slider-track {
  @media screen and (min-width: 769px) {
    & {
      /* display: flex;
      width: fit-content;
      animation: slide 15s linear infinite alternate; */
      display: flex;
      width: max-content;
      animation: scroll 30s linear infinite;
    }
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.p-recruitment__image-slider-img {
  @media screen and (min-width: 769px) {
    & {
      width: auto;
      height: 313px;
      flex-shrink: 0;
      object-fit: contain;
    }
  }
}

@keyframes slide {
  0% {
    transform: translateX(calc(-100% + 100vw));
  }
  100% {
    transform: translateX(0);
  }
}

/* ============================
*  未来への取り組み
*  future-csr.html
* ========================== */
/*-------------------------
  Introduction
-------------------------*/
.p-future-csr__intro {
  padding-block: 4rem 5rem;

  @media screen and (min-width: 769px) {
    & {
      padding-block: 5.5rem 6.25rem;
    }
  }
}

.p-future-csr__intro-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;

  @media screen and (min-width: 769px) {
    & {
      gap: 4rem;
    }
  }
}

.p-future-csr__intro-catchcopy {
  font-size: 1.625rem;
  line-height: 1.731;
  font-weight: 500;
  text-align: center;

  @media screen and (min-width: 769px) {
    & {
      font-size: 2.75rem;
      line-height: 1.591;
    }
  }
}

.c-text.p-future-csr__intro-desc {
  text-align: center;
}

/*-------------------------
  Content
-------------------------*/
.p-future-csr__content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;

  padding-block-end: 5rem;

  @media screen and (min-width: 769px) {
    & {
      gap: 4rem;

      padding-block-end: 6.25rem;
    }
  }
}

/* Heading */
.p-future-csr__item-heading {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.5rem;

  width: 100%;
  height: 37.68lvh;
  padding-block-end: 1rem;
  padding-inline: 2rem;

  background-size: cover;

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

  @media screen and (min-width: 769px) {
    & {
      height: 488px;
      padding-block-end: 2.75rem;
      padding-inline: 6.25rem;
    }
  }
}

/* 01 子ども食堂・地域貢献 */
.p-future-csr__children-heading {
  background-image: url(../images/bg-page-future-children-title-sp.png);

  @media screen and (min-width: 769px) {
    & {
      background-image: url(../images/bg-page-future-children-title.png);
    }
  }
}

/* 02 外国人実習生受け入れ */
.p-future-csr__global-heading {
  background-image: url(../images/bg-page-future-global-title-sp.png);

  @media screen and (min-width: 769px) {
    & {
      background-image: url(../images/bg-page-future-global-title.png);
    }
  }
}

/* 03 高校説明会 */
.p-future-csr__school-heading {
  background-image: url(../images/bg-page-future-school-title.png);
}

/* 04 NISA、ライフプランセミナーの定期開催 */
.p-future-csr__nisa-heading {
  background-image: url(../images/bg-page-future-nisa-title-sp.png);

  @media screen and (min-width: 769px) {
    & {
      background-image: url(../images/bg-page-future-nisa-title.png);
    }
  }
}

/* Common */
.p-future-csr__item-number {
  font-size: 1.125rem;
  line-height: 1.444;
  font-family: 'Shippori Mincho', serif;

  @media screen and (min-width: 769px) {
    & {
      font-size: 1.813rem;
      line-height: 1.448;
    }
  }
}

.p-future-csr__item-title {
  font-size: 1.5rem;
  line-height: 1.333;
  font-weight: 400;
  font-family: 'Shippori Mincho', serif;

  @media screen and (min-width: 769px) {
    & {
      font-size: 2.625rem;
      line-height: 1.452;
    }
  }
}

.p-future-csr__item-catchcopy {
  font-size: 1.125rem;
  line-height: 1.556;
  font-weight: 400;
  font-family: 'Shippori Mincho', serif;

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

.p-future-csr__item-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

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

  background-color: #f2f2ee;

  @media screen and (min-width: 769px) {
    & {
      flex-direction: row;
      gap: 4rem;

      padding: 4rem;
    }
  }
}

/* Text */
.p-future-csr__item-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.p-future-csr__item-desc {
  font-size: 0.875rem;
  line-height: 1.714;
  letter-spacing: 0.05em;
  color: var(--text-color-secondary);

  @media screen and (min-width: 769px) {
    & {
      font-size: 1rem;
      line-height: 1.813;
    }
  }
}

/* Image */
.p-future-csr__item-image {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
}

.p-future-csr__item-img {
  width: 100%;
  height: auto;
  aspect-ratio: 147 / 104;

  @media screen and (min-width: 769px) {
    & {
      aspect-ratio: 245 / 174;
    }
  }
}

/* ============================
*  個人情報保護方針
*  privacy-policy.html
* ========================== */
/*-------------------------
  Heading
-------------------------*/
.p-privacy .c-page__heading {
  margin-block-end: 4rem;

  @media screen and (min-width: 769px) {
    & {
      margin-block-end: 5.875rem;
    }
  }
}

.p-privacy__sub-list-item {
    margin-top: 1em;
    margin-left: 1em;
}

.p-privacy__sub-list-item:before {
    content: "・";
}

/*-------------------------
  Content
-------------------------*/
.p-privacy__content {
  padding-block-end: 5rem;

  @media screen and (min-width: 769px) {
    & {
      padding-block-end: 6.25rem;
    }
  }
}

/* List */
.p-privacy__list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;

  list-style-type: decimal;
  list-style-position: inside;

  ::marker {
    font-size: 1.25rem;
    font-family: 'Shippori Mincho', serif;
  }

  @media screen and (min-width: 769px) {
    & {
      gap: 4rem;
    }

    ::marker {
      font-size: 1.75rem;
    }
  }
}

.p-privacy__item-title {
  display: inline-block;

  margin-bottom: 1.5rem;

  font-size: 1.25rem;
  font-family: 'Shippori Mincho', serif;

  @media screen and (min-width: 769px) {
    & {
      font-size: 1.75rem;
    }
  }
}

.p-privacy__address {
  display: flex;
  flex-direction: column;
  padding-inline-start: 1rem;
}

/* ============================
*  サイトマップ sitemap.html
* ========================== */
/*-------------------------
  Heading
-------------------------*/
.p-sitemap .c-page__heading {
  margin-block-end: 4rem;

  @media screen and (min-width: 769px) {
    & {
      margin-block-end: 6.25rem;
    }
  }
}

/*-------------------------
  Content
-------------------------*/
.l-inner:has(.p-sitemap__content) {
  @media screen and (min-width: 769px) {
    & {
      max-width: 1034px;
      /* padding-inline: 0; */
    }
  }
}

.p-sitemap__content {
  padding-block-end: 5rem;

  @media screen and (min-width: 769px) {
    & {
      padding-block-end: 6.25rem;
    }
  }
}

.p-sitemap__nav .c-nav__list {
  @media screen and (min-width: 769px) {
    & {
      display: grid;
      grid-template-columns: repeat(4, auto);
    }
  }
}

.p-sitemap__section .c-nav__item-inner {
  &::after {
    background-image: url(../images/arrow-button.svg);
  }

  @media screen and (min-width: 769px) {
    &::before {
      background-color: var(--text-color-primary);
    }

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

.c-nav__link.p-sitemap__link {
  color: var(--text-color-primary);
}

/* ============================
*  404 404.html
* ========================== */
/*-------------------------
  Heading
-------------------------*/
.p-404 .c-page__heading {
  margin-block-end: 4rem;

  @media screen and (min-width: 769px) {
    & {
      margin-block-end: 6.25rem;
    }
  }
}

/*-------------------------
  Content
-------------------------*/
.l-inner:has(.p-404__content) {
  padding-block-end: 5rem;

  @media screen and (min-width: 769px) {
    & {
      padding-block-end: 6.25rem;
    }
  }
}

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