@charset "UTF-8";

* html body {
  background: url(null) fixed;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;

  /*ナビ表示のときはスクロールしないように*/
  &.is-locked {
    overflow-y: hidden;
  }
}

body {
  margin: 0;
  padding: 0;
  background: var(--wht-color);
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.8;
  font-weight: var(--font-regular);
  font-style: normal;
  font-family: var(--font-base);
  overflow-wrap: break-word;
  text-size-adjust: 100%;
  font-feature-settings: "palt";
  letter-spacing: 1.6px;
}

/* ------------------------------------------------------------ */
/* img */
/* ------------------------------------------------------------ */
.main-logo,
.thumb,
.image,
.banner {
  margin: 0 auto;
  text-align: center;
}

/* ------------------------------------------------------------ */
/* link */
/* ------------------------------------------------------------ */
::selection {
  color: var(--primary-color);
  background: rgba(var(--base-color-rgb), 0.1);
  text-shadow: none;
}

::-moz-selection {
  color: var(--primary-color);
  background: rgba(var(--base-color-rgb), 0.1);
  text-shadow: none;
}

a {
  color: var(--text-color);
  cursor: pointer;
  line-height: inherit;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  text-decoration: none;

  &:link {
    color: var(--text-color);
    text-decoration: none;
  }

  &:visited {
    color: var(--text-color);
    text-decoration: none;
  }

  &:hover {
    color: var(--primary-color);
    opacity: 0.8;
    text-decoration: none;
  }

  &:active {
    color: var(--text-color);
    text-decoration: none;
  }

  /*電話番号リンクをスマホのみ有効にする*/
  &[href*="tel:"] {
    @media (min-width: 751px) {
      pointer-events: none;
      cursor: default;
      text-decoration: none;
    }
  }
}

/* ------------------------------------------------------------ */
/* ボタン */
/* ------------------------------------------------------------ */
.btn {
  height: auto;
  margin: 0 auto;

  & a,
  & p {
    display: inline-block;
    color: var(--wht-color);
    background: var(--base-color);
    margin: 0 auto;
    padding: 0.6em 2em;
    font-size: 1.1em;
    font-weight: var(--font-semibold);
    transition: all 0.3s ease-in-out;

    &:hover {
      opacity: 1;
      background: var(--primary-color);
    }
  }

  &.btn-wht a,
  &.btn-wht p {
    background: var(--wht-color);
    color: var(--base-color);
    border: 1px solid var(--base-color);

    &:hover {
      background: var(--base-color);
      color: var(--wht-color);
    }
  }

  &.pale-color a {
    background: var(--base-color);

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

  &.has-arrow a {
    padding: 0.6em 3.5em 0.6em 2em;
    position: relative;

    &::before,
    &::after {
      position: absolute;
      content: "";
      background: var(--wht-color);
      top: 50%;
      right: 1.5em;
    }

    &::before {
      width: 14px;
      height: 1.5px;
      transform: translateY(-50%);
    }
    &::after {
      width: 11px;
      height: 11px;
      background: transparent;
      border-top: 1.5px solid var(--wht-color);
      border-right: 1.5px solid var(--wht-color);
      transform: translateY(-50%) rotate(45deg);
      margin-right: 0px;
    }
  }
}

.btn-inline {
  a {
    display: inline-block;
    color: var(--wht-color);
    background: var(--base-color);
    padding: 0em 1em;

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

.btn-cntct {
  text-align: center;

  a {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: var(--wht-color);
    font-size: var(--fs-xxl);
    font-weight: var(--font-semibold);
    padding: 0.8em 0.5em;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    box-shadow: 3px 3px 10px rgba(var(--base-color-rgb), 0);

    &:hover {
      background: var(--pale-color);
      box-shadow: 3px 3px 10px rgba(var(--base-color-rgb), 0.4);
    }

    figure {
      width: 20px;
      height: 20px;
    }
  }
}

/* ------------------------------------------------------------ */
/* common layouts */
/* ------------------------------------------------------------ */
.wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.inner {
  width: 100%;
  max-width: 100%;
  height: auto;
  padding: 0 1em;
  margin: 0 auto;
  clear: both;

  &::after {
    content: "";
    clear: both;
    display: block;
  }

  @media screen and (min-width: 768px) {
    padding: 0 2em;
  }

  @media screen and (min-width: 1025px) {
    max-width: 1200px;
  }
}

.align-center {
  text-align: center;
}
.align-right {
  text-align: right;
}

.uppercase {
  text-transform: uppercase;
}

/* ------------------------------------------------------------ */
/* header */
/* ------------------------------------------------------------ */
.main-header {
  width: 100%;
  height: auto;
  background: var(--wht-color);
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  /* スマホ用の慣性スクロール */
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 0 5px 0 rgb(0 0 0 / 30%);

  & .main-logo {
    width: 250px;
    margin: 0;

    @media screen and (min-width: 1025px) {
      width: 350px;
      padding: 1em;
    }

    & a {
      display: flex;
      padding: 0.6em 0;
    }
  }

  @media screen and (min-width: 1025px) {
    /* position: inherit; */
  }
}

/* hamburger */
.hamburger {
  width: 32px;
  height: 22px;

  & button {
    min-height: inherit;
    position: relative;
    width: 100%;
    height: 100%;
    outline: none;
  }

  & span {
    height: 2px;
    width: 100%;
    display: block;
    background: var(--base-color);
    transition: all 0.3s ease-in-out;
    position: absolute;
    left: 0;

    &:first-of-type {
      top: 0;
    }

    &:nth-of-type(2) {
      top: 50%;
      transform: translateY(-50%);
    }

    &:nth-of-type(3) {
      bottom: 0;
    }
  }

  &.is-open span {
    &:first-of-type {
      top: 10px;
      transform: rotate(45deg);
    }

    &:nth-of-type(2) {
      opacity: 0;
    }

    &:nth-of-type(3) {
      top: 10px;
      transform: rotate(-45deg);
      left: 0;
    }
  }
}

/* ------------------------------------------------------------ */
/* gnav */
/* ------------------------------------------------------------ */
.gnav {
  @media screen and (min-width: 1025px) {
    box-shadow: none;
    width: calc(100% - 100px);
    padding: 0;
  }
}

.spnav {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  /*右から*/
  right: 0;
  transform: translateX(100%);
  /*左から*/
  /*
  left: 0;
  transform: translateX(-100%);
  */
  /*上から*/
  /*
  left:0;
  transform: translateY(-100%);
  */
  z-index: 999;
  -webkit-transition: transform 0.3s;
  transition: transform 0.3s;
  background: var(--wht-color);

  @media screen and (min-width: 480px) {
    width: 350px;
  }
}

.show-nav {
  & .spnav {
    transform: translateX(0);
    pointer-events: auto;
    overflow-y: auto;
  }

  & .spnav_inner {
    opacity: 1;
    transition: 1.8s cubic-bezier(0.165, 0.84, 0.44, 1) 0.3s;
  }

  & .hidden-nav.overlay {
    opacity: 1;
    visibility: visible;
  }
}

.spnav_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: auto;
  opacity: 0;
  position: relative;
  padding: 75px 0 1.5em;
  z-index: 999;
  /*
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  */
}

.hidden-nav.overlay {
  position: fixed;
  width: 100vw;
  height: 100vh;
  display: block;
  background: rgba(var(--base-color-rgb), 0.2);
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 10;
}

/* ------------------------------------------------------------ */
/* nav-menu */
/* ------------------------------------------------------------ */
.nav-menu {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  margin: 0 auto 2em;

  @media screen and (min-width: 1025px) {
    flex-direction: row;
    justify-content: flex-end;
    margin: 0;
  }
}

.menu-item {
  /* 【重要】ドロップダウンの基準位置にするため、PC時にポインティングを設定 */
  @media screen and (min-width: 1025px) {
    position: relative;
  }

  & > a,
  & > p {
    display: block;
    width: 100%;
    padding: 0.8em 1.5em;
    color: var(--base-color);
    font-size: 1.6rem;
    font-weight: var(--font-semibold);
    position: relative;
    z-index: 2;

    @media screen and (min-width: 1025px) {
      overflow: visible; /* PC時ははみ出せるようにする */
    }
  }

  & a {
    &:hover {
      opacity: 1;
    }

    @media screen and (min-width: 1025px) {
      padding: 1em 2em;
      font-size: 1.4rem;
      position: relative;
      border: none;

      &:hover {
        color: var(--base-color);
      }
    }
  }

  /* 2階層目の ul (ドロップダウン) の初期状態 */
  & > ul {
    display: none; /* スマホ時は一旦非表示、またはアコーディオン連動（現状維持用） */

    @media screen and (min-width: 1025px) {
      display: block; /* 表示自体はブロックに */
      position: absolute;
      top: 100%; /* 親（.menu-item）の真下に配置 */
      left: 50%;
      transform: translateX(
        -50%
      ); /* 中央揃え（左揃えが良い場合は left: 0; transform: none; ） */
      min-width: 240px; /* メニューの横幅（サイトに合わせて調整してください） */
      background-color: #fff; /* ドロップダウンの背景色 */
      border-top: 2px solid var(--base-color);
      z-index: 10;

      /* アニメーション用の初期状態（ふわっと出す場合） */
      opacity: 0;
      visibility: hidden;
      transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
    }

    /* 子要素のリンクスタイル */
    & li {
      width: 100%;

      & a {
        display: block;
        padding: 0.8em 1.5em;
        font-size: 1.5rem;
        color: var(--base-color);
        text-align: left;
        white-space: nowrap; /* テキストの折り返し防止 */

        &:hover /* ホバー時 */ {
          background-color: var(--secondary-color);
          color: var(--primary-color);
        }
      }
    }
  }

  /* 親をホバーしたとき、直下の子階層 ul を表示する */
  @media screen and (min-width: 1025px) {
    &:hover > ul {
      opacity: 1;
      visibility: visible;
    }
  }

  /* 子要素に ul を持っている .menu-item のみ */
  &:has(> ul) {
    /* PC表示時のみ矢印を表示する場合 */
    @media screen and (min-width: 1025px) {
      /* リンクテキストの右側に矢印の余白を確保 */
      & > a {
        padding-right: 3.5em; /* 矢印と被らないよう少し調整 */
      }

      /* 矢印アイコン（下向き chevron）の作成 */
      &::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 1.8em; /* 位置はテキストとの幅に合わせて調整してください */
        width: 8px;
        height: 8px;
        border-right: 2px solid var(--primary-color);
        border-bottom: 2px solid var(--primary-color);
        transform: translateY(-70%) rotate(45deg); /* 初期状態：下矢印 */
        transition: transform 0.3s ease;
        pointer-events: none; /* マウスイベントを透過 */
        z-index: 3;
      }

      /* ホバー時に 180度回転して上矢印にする */
      &:hover::after {
        transform: translateY(-30%) rotate(225deg); /* ホバー時：上矢印 */
      }
    }
  }

  /*アコーディオン（変更なし）*/
  & .nav_ttl {
    position: relative;
    padding-right: 3em;

    &::before {
      content: "";
      display: block;
      width: 1em;
      height: 2px;
      background: var(--base-color);
      position: absolute;
      top: 50%;
      right: 1em;
      transform: translateY(-50%);
    }

    &::after {
      content: "";
      display: block;
      width: 2px;
      height: 1em;
      background: var(--base-color);
      position: absolute;
      top: 50%;
      right: 1.5em;
      transform: translate(50%, -50%);
    }

    &.is-open::after {
      content: none;
    }
  }
}

.nav_cnt {
  display: none;

  &.is-open {
    display: block;
  }
}

.nav-child {
  background: var(--pale-color);
}
.nav-child li a {
  display: block;
  padding: 0.8em 1.5em;
  font-size: 1.6rem;
}

/* ------------------------------------------------------------ */
/* common content */
/* ------------------------------------------------------------ */
.content {
  width: 100%;
  height: auto;
  position: relative;
  padding: 0;
  margin: 0 auto;
}

.base {
  width: 100%;
  height: auto;
  position: relative;
  padding: 3.5em 0;
  margin: 0 auto;

  @media screen and (min-width: 480px) {
    padding: 4em 0;
  }

  @media screen and (min-width: 768px) {
    padding: 5em 0;
  }

  @media screen and (min-width: 1025px) {
    padding: 6em 0;
  }
}

.bg_color {
  background: var(--pale-color);

  &.bold {
    background: var(--tertiary-color);
  }
}

.bg {
  background: url("../img/mv03.jpg") no-repeat center / cover;
  background-attachment: fixed;

  &::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(var(--base-color-rgb), 0.5);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
  }

  & * {
    position: relative;
    color: var(--wht-color);
    z-index: 3;
  }
}

/* ------------------------------------------------------------ */
/* ttl */
/* ------------------------------------------------------------ */
.main-ttl {
  font-size: var(--fs-xxxl);
  margin: 0 auto 1.5em;
  color: var(--base-color);

  &.has-jpttl {
    position: relative;

    &[data-caps]::after {
      content: attr(data-caps);
      display: block;
      color: var(--primary-color);
      font-size: var(--fs-l);
    }
  }
}

.sub-ttl {
  font-size: var(--fs-xl);
  margin: 0 auto 0.8em;
  font-weight: var(--font-semibold);
  color: var(--primary-color);
}

.item-ttl {
  font-size: var(--fs-xl);
  margin: 0 0 0.8em;
  font-weight: var(--font-semibold);
  color: var(--base-color);
}

.sec-ttl {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  margin-bottom: 2em;

  .en {
    display: block;
    font-family: var(--font-en);
    font-size: var(--fs-xxl);
    font-weight: var(--font-extrabold);
    line-height: 1;
    letter-spacing: 0.05em;
    color: var(--base-color);
    text-transform: uppercase;

    @media screen and (min-width: 1025px) {
      margin-bottom: 0.4em;
    }
  }

  .jp {
    display: block;
    font-size: var(--fs-l);
    line-height: 1.4;
    color: var(--primary-color);
  }
}

.list-ttl {
  font-size: var(--fs-l);
  margin-bottom: 0.5em;
  color: var(--base-color);
}

.border-ttl {
  font-size: var(--fs-xl);
  border-left: 8px solid var(--base-color);
  color: var(--base-color);
  padding-left: 0.8em;
  margin-bottom: 1em;
}

.b_border-ttl {
  font-size: var(--fs-xl);
  position: relative;
  color: var(--base-color);
  padding-bottom: 0.7em;

  &::before {
    position: absolute;
    content: "";
    width: 40px;
    height: 3px;
    left: 0;
    bottom: 0;
    background: var(--base-color);
  }

  &.has-icon {
    display: flex;
    gap: 1em;
    align-items: center;
    padding-bottom: 1.5em;
    margin-bottom: 1em;
  }

  .ttl-icon {
    width: 56px;
    height: 56px;
  }
}

.thin_b_border-ttl {
  color: var(--primary-color);
  font-weight: var(--font-regular);
  border-bottom: 1px solid var(--base-color);
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
}

.os-ttl {
  color: var(--primary-color);
  font-size: var(--fs-xxl);
  font-family: var(--font-en);
  font-weight: var(--font-medium);
  letter-spacing: 0.01rem;
  line-height: 1.2em;
  margin-bottom: 0.5em;
}

/* ------------------------------------------------------------ */
/* display */
/* ------------------------------------------------------------ */
.pc {
  @media screen and (min-width: 1025px) {
    display: block;
  }
}

.sp {
  @media screen and (max-width: 1024px) {
    display: block;
  }
}

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

/* ------------------------------------------------------------ */
/* flx_box */
/* ------------------------------------------------------------ */

.flx_box {
  width: 100%;
  height: auto;
  margin: 0 auto 1em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  /* スマホ時のデフォルト隙間（横: 0px / 縦下方向: 1.5em など） */
  gap: 1.5em 0px;

  @media screen and (min-width: 480px) {
    gap: 1em 1em; /* 480px以上の時の隙間（縦 横） */
  }

  @media screen and (min-width: 768px) {
    gap: 2em 2em; /* 768px以上の時の隙間（縦 横） */
  }

  .product-box & {
    justify-content: flex-start;
  }
}

/* カラム共通 */
.flx_item {
  width: 100%; /* スマホ時は1カラム */
  height: auto;

  & .thumb {
    width: 100%;
    height: auto;
  }
}

.flx_about {
  @media screen and (min-width: 1025px) {
    flex-wrap: nowrap;
    gap: 2em 5em;

    & > .flx_item:first-child {
      flex: 6;
      width: auto;
    }
    & > .flx_item:last-child {
      flex: 4;
      width: auto;
    }
  }
}

.flx_company {
  @media screen and (min-width: 1025px) {
    flex-wrap: nowrap;
    gap: 4em;
  }
}

.flx_strengths {
  @media screen and (min-width: 1025px) {
    .flx_item:first-child {
      width: 50%;
    }
    .flx_item:last-child {
      width: calc(50% - 2em);
    }
  }
}

.flx_overseas {
  @media screen and (min-width: 768px) {
    .os-figure {
      width: 30%;
    }
    .flx_item:not(.os-figure) {
      width: calc(70% - 2em);
    }
  }
  @media screen and (min-width: 1025px) {
    .os-figure {
      width: 25%;
    }
    .flx_item:not(.os-figure) {
      width: calc(75% - 2em);
    }
  }
}

.flx_process {
  margin-bottom: 2em;

  @media screen and (min-width: 768px) {
    flex-wrap: nowrap;
    margin-bottom: 3em;

    .flx_item:first-child {
      width: 70%;
    }
  }
}

/* ========================================================
   column
======================================================== */

/* 2カラム */
.flx_2cols .flx_item {
  @media screen and (min-width: 768px) {
    width: calc((100% - 2em) / 2);
  }
  /* @media screen and (min-width: 1025px) {
    width: calc((100% - 2em) / 2);
  } */
}

/* 3カラム */
.flx_3cols .flx_item {
  @media screen and (min-width: 768px) {
    width: calc((100% - 1em * 2) / 2);
  }
  @media screen and (min-width: 1025px) {
    width: calc((100% - 2em * 2) / 3);
  }
}

/* 4カラム */
.flx_4cols .flx_item {
  @media screen and (min-width: 768px) {
    width: calc((100% - 1em * 3) / 2);
  }
  @media screen and (min-width: 1025px) {
    width: calc((100% - 2em * 3) / 4);
  }
}

/* ------------------------------------------------------------ */
/* margin */
/* ------------------------------------------------------------ */
.margin-none {
  margin: 0;
}
.has-margin_b-ss {
  margin-bottom: 0.5em;
}
.has-margin_b-s {
  margin-bottom: 1em;
}
.has-margin_b-m {
  margin-bottom: 3em;
}
.has-margin_b-l {
  margin-bottom: 5em;
}

/* ------------------------------------------------------------ */
/* list */
/* ------------------------------------------------------------ */
.pointList {
  margin: 0 auto 1em;

  & li {
    position: relative;
    padding-left: 1em;
    margin: 0 auto 0.5em;

    &::before {
      content: "";
      display: block;
      position: absolute;
      width: 5px;
      height: 5px;
      background: var(--base-color);
      border-radius: 50%;
      top: 0.75em;
      left: 3px;
    }
  }
}

.border-list {
  display: flex;
  flex-direction: column;
  gap: 1em 1em;

  & li {
    background: var(--wht-color);
    padding: 1.5em;
    position: relative;
    box-shadow: 3px 3px 10px rgba(var(--base-color-rgb), 0.15);
    transition: all 0.3s ease-in-out;

    &:hover {
      box-shadow: 3px 3px 10px rgba(var(--base-color-rgb), 0.4);
    }

    &::before {
      position: absolute;
      content: "";
      left: 0;
      top: 0;
      width: 8px;
      height: 100%;
      z-index: 10;
      background: var(--primary-color);
    }
  }
}

.iper-list {
  display: flex;
  flex-direction: column;
  gap: 1em;

  @media screen and (min-width: 768px) {
    flex-direction: row;
    flex-wrap: wrap;
  }

  & li {
    border: 1px solid rgba(var(--primary-color-rgb), 0.5);
    padding: 1.5em;
    transition: all 0.3s ease-in-out;

    &:hover {
      box-shadow: 3px 3px 10px rgba(var(--base-color-rgb), 0.4);
      transform: translateY(-3px);
    }

    @media screen and (min-width: 768px) {
      width: calc((100% - 2em) / 2);
    }
    @media screen and (min-width: 1025px) {
      width: calc((100% - 1em * 3) / 4);
    }

    & .iper-ttl {
      font-weight: var(--font-medium);
      font-size: var(--fs-l);
      letter-spacing: 0.05em;
      color: var(--base-color);
      padding-left: 60px;
      position: relative;
      margin-bottom: 1em;

      @media screen and (min-width: 1025px) {
        padding-left: 0;
        padding-top: 45px;
        margin-bottom: 0;
      }
    }

    & .iper-ttl::before {
      position: absolute;
      content: "";
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 60px;
      height: 55px;

      @media screen and (min-width: 1025px) {
        top: 0;
        transform: inherit;
      }
    }

    &:nth-of-type(1) .iper-ttl::before {
      background: url(../img/iper01.png) no-repeat 0 0 / contain;
    }
    &:nth-of-type(2) .iper-ttl::before {
      background: url(../img/iper02.png) no-repeat 0 0 / contain;
    }
    &:nth-of-type(3) .iper-ttl::before {
      background: url(../img/iper03.png) no-repeat 0 0 / contain;
    }
    &:nth-of-type(4) .iper-ttl::before {
      background: url(../img/iper04.png) no-repeat 0 0 / contain;
    }
    &:nth-of-type(5) .iper-ttl::before {
      background: url(../img/iper05.png) no-repeat 0 0 / contain;
    }
    &:nth-of-type(6) .iper-ttl::before {
      background: url(../img/iper06.png) no-repeat 0 0 / contain;
    }
    &:nth-of-type(7) .iper-ttl::before {
      background: url(../img/iper07.png) no-repeat 0 0 / contain;
    }
    &:nth-of-type(8) .iper-ttl::before {
      background: url(../img/iper08.png) no-repeat 0 0 / contain;
    }
  }
}

.history-list {
  position: relative;

  @media screen and (min-width: 1025px) {
    display: flex;
    flex-direction: column;
    gap: 2em;
    flex-wrap: nowrap;
    gap: 1.5em;
  }

  &::before {
    position: absolute;
    content: "";
    width: 1px;
    height: 100%;
    left: 10px;
    top: 0.5em;
    background: rgba(var(--base-color-rgb), 0.5);

    @media screen and (min-width: 1025px) {
      left: 70px;
      height: calc(100% - 1em);
      top: 1em;
    }
  }

  & li {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    padding-left: 2em;
    margin-bottom: 1.5em;
    position: relative;

    @media screen and (min-width: 1025px) {
      flex-direction: row;
      gap: 60px;
      padding-left: 0;
      margin-bottom: 0;
    }

    &::before {
      position: absolute;
      content: "";
      width: 13px;
      height: 13px;
      left: 4px;
      top: 0.3em;
      border-radius: 10px;
      border: 2px solid var(--primary-color);
      background: var(--pale-color);

      @media screen and (min-width: 1025px) {
        left: 64px;
        top: 0.7em;
      }
    }
  }

  .year {
    color: var(--primary-color);
    font-weight: var(--font-medium);
    font-size: 2rem;
    line-height: 1em;
    @media screen and (min-width: 1025px) {
      width: 45px;
      line-height: inherit;
    }
  }

  .event {
    position: relative;

    @media screen and (min-width: 1025px) {
      width: calc(100% - 105px);
    }

    &::before {
      content: "ー ";
    }
  }
}

.tec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;

  li {
    width: calc((100% - 2em) / 2);
    display: block;
    padding: 1em;
    text-align: center;
    color: var(--primary-color);
    background: var(--tertiary-color);
    font-size: var(--fs-l);
    font-weight: var(--font-semibold);
  }
}

.square-list {
  li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.1em;

    &::before {
      position: absolute;
      content: "■";
      left: 0;
      color: var(--primary-color);
    }
  }
}

/* ------------------------------------------------------------ */
/* animation */
/* ------------------------------------------------------------ */
@keyframes fadeInup {
  0% {
    opacity: 0;
    transform: translateY(50%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeIndown {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0);
  }
}

.fadeInup {
  opacity: 0;
  animation: fadeInup 2s ease-in-out 0.3s 1 forwards;
}

.fadeIn {
  opacity: 0;
  animation: fadeIn 2s ease-in-out 2.5s 1 forwards;
}

.inview {
  opacity: 0;
}

/* ------------------------------------------------------------ */
/* swiper */
/* ------------------------------------------------------------ */
.loop-slider .swiper-wrapper {
  transition-timing-function: linear;
}
/* ------------------------------------------------------------ */
/* タブ */
/* ------------------------------------------------------------ */
.tab_btn {
  display: flex;

  & a {
    width: 100%;
    display: block;
    padding: 1em;
    background: var(--primary-color);
    color: var(--wht-color);
    opacity: 0.7;

    &.active {
      background: var(--base-color);
      opacity: 1;
    }
  }
}

.tab_box {
  display: none;
  padding: 2em;
  border: 2px solid var(--base-color);

  &.is-active {
    display: block;
  }
}

/* ------------------------------------------------------------ */
/* アコーディオン */
/* ------------------------------------------------------------ */
.ac_cnt {
  display: none;
}

/* ------------------------------------------------------------ */
/* form  */
/* ------------------------------------------------------------ */
.form_box {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;

  & .hissu {
    display: inline-block;
    padding: 5px;
    margin: 0 5px;
    font-size: 0.8em;
    line-height: 1;
    color: var(--wht-color);
    background: var(--attention-color);
  }

  & dl {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1em 0;
  }

  & dt {
    width: 100%;
    font-weight: bold;
    padding: 5px 0;

    @media screen and (min-width: 480px) {
      width: 25%;
      padding-right: 1em;
    }
  }

  & dd {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    @media screen and (min-width: 480px) {
      width: 75%;
    }
  }

  & span {
    display: inline-block;
    margin: 0 5px;
  }

  & .note {
    padding: 5px;
    font-size: 0.8em;
    color: var(--attention-color);
    letter-spacing: 0;
  }

  & input[type="tel"],
  & input[type="text"],
  & select,
  & textarea {
    border: 1px solid var(--secondary-color);
    vertical-align: middle;
  }

  & input[type="text"].sizeS {
    width: 40%;
    max-width: 150px;
  }

  & label.select {
    width: 100%;
    position: relative;

    &::before {
      content: "▼";
      display: block;
      position: absolute;
      top: 50%;
      right: 1em;
      transform: translateY(-50%);
      font-size: 0.7em;
    }

    & select {
      padding-right: 2em;
    }
  }

  & label.check,
  & label.radio {
    display: inline-block;
    margin-right: 1em;
  }
}

.submit-item {
  text-align: center;
  padding: 2em 0;

  & input[type="button"],
  & input[type="reset"],
  & input[type="back"],
  & input[type="submit"] {
    font-weight: bold;
    display: inline-block;
    letter-spacing: 0.075em;
    min-width: 200px;
    color: var(--wht-color);
    background: var(--attention-color);
    border: 2px solid var(--attention-color);
    margin: 0 auto;
    padding: 12px 1em;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;

    &:hover {
      background: var(--wht-color);
      color: var(--attention-color);
    }
  }
}

/* ------------------------------------------------------------ */
/* section  */
/* ------------------------------------------------------------ */

.link-box {
  align-items: stretch;

  & a {
    box-shadow: 3px 3px 30px rgba(var(--base-color-rgb), 0);
    background: var(--wht-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;

    &:hover {
      box-shadow: 3px 3px 30px rgba(var(--base-color-rgb), 0.4);
      transform: translateY(-3px);
      opacity: 1;
      color: var(--text-color);
    }
  }

  & .link-card {
    padding: 2em;
    display: flex;
    flex-direction: column;
    flex-grow: 1;

    .text {
      margin-bottom: 2em;
    }

    .btn {
      margin-top: auto;
    }
  }
}

.field-box {
  counter-reset: card-counter;

  a {
    border: 1px solid rgba(var(--primary-color-rgb), 0.3);
    display: flex;
    flex-direction: column;
    height: 100%;

    /* サムネイル */
    .thumb {
      overflow: hidden;

      img {
        transition: transform 0.3s ease;
      }
    }

    /* ボタン表記 */
    .inBtn {
      color: var(--primary-color);
      position: relative;
      padding-right: 1em;
      margin-top: auto;

      &::after {
        position: absolute;
        content: "";
        top: 0;
        bottom: 0;
        right: 0;
        margin: auto;
        width: 8px;
        height: 8px;
        border-top: 1px solid var(--primary-color);
        border-right: 1px solid var(--primary-color);
        transform: rotate(45deg);
      }
    }

    /* カード本体 */
    .link-card {
      padding: 4em 2em 2em;
      position: relative;
      counter-increment: card-counter;
      display: flex;
      flex-direction: column;
      flex-grow: 1;

      &::before {
        position: absolute;
        content: counter(card-counter, decimal-leading-zero);
        left: 0.9em;
        top: 0.7em;
        font-family: var(--font-en);
        font-size: 2.2em;
        line-height: 1em;
        color: var(--pale-color);
      }

      &::after {
        position: absolute;
        content: "";
        width: 8px;
        height: 100%;
        left: 0;
        top: 0;
        background: var(--wht-color);
        transition: all 0.3s ease-in-out;
      }

      .text {
        margin-bottom: 1em;

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

    /* aタグのホバー処理 */
    &:hover {
      opacity: 1;
      border: 1px solid rgba(var(--primary-color-rgb), 1);

      .thumb img {
        transform: scale(1.05);
      }

      .inBtn {
        color: var(--base-color);

        &::after {
          border-color: var(--base-color);
        }
      }

      .link-card::after {
        background: var(--primary-color);
      }
    }
  }
}

.tec-box {
  .flx_item {
    border: 1px solid rgba(var(--primary-color-rgb), 0.3);
    box-shadow: 3px 3px 10px rgba(var(--base-color-rgb), 0);
    transition: all 0.3s ease-in-out;

    &:hover {
      box-shadow: 3px 3px 10px rgba(var(--base-color-rgb), 0.4);
    }
  }
  .link-card {
    padding: 1em;
  }
}

.btn-tec a {
  margin: 0.5em 1em;
}

/* 採用情報 */
.rec-inner {
  width: 100%;
  max-width: 100%;
  height: auto;
  padding: 0 1em;
  margin: 0 auto;

  @media screen and (min-width: 768px) {
    padding: 0 0 0 10%;
  }
}

/* ------------------------------------------------------------ */
/* footer */
/* ------------------------------------------------------------ */
.main-footer {
  width: 100%;
  padding-top: 3em;
}

.ft-flx {
  margin-bottom: 2em;

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

  p {
    font-size: 1.4rem;
  }
}
.ft-logo {
  width: 100%;
  max-width: 430px;
  margin-bottom: 2em;
}
.ft-nav {
  display: flex;
  gap: 2.5em;

  a {
    font-size: 1.4rem;
    font-weight: bold;
  }
}

.copy {
  padding: 1.5em 0;
  font-size: 1rem;
  border-top: 1px solid var(--base-color);

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

/* ------------------------------------------------------------ */
/* display (非表示設定) */
/* ------------------------------------------------------------ */
@media screen and (max-width: 1024px) {
  .pc {
    display: none !important;
  }
}

@media screen and (min-width: 1025px) {
  .sp {
    display: none !important;
  }
}

/* 768px以上（タブレット・PC）のときは非表示 */
@media screen and (min-width: 768px) {
  .sp-only {
    display: none !important;
  }
}
