* {
  line-height: 150%;
  font-feature-settings: "palt";
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--colorBlack);
  line-height: 150%;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  display: inline-block;
  color: var(--colorBlack);
  font-feature-settings: "palt";
}

.for-sp {
  display: none;
}

.for-pc {
  display: block;
}

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

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

  .for-pc {
    display: none;
  }
}

/* ==========
  header
========== */
.header {
  position: fixed;
  top: 2.5rem;
  left: 2.5rem;
  right: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--colorWhite);
  border-radius: 0.5rem;
  transition: 0.35s ease-out;
  padding: 1rem 1.5rem;
  z-index: 10;
}

.header.scrolled {
  top: 0;
  left: 0;
  right: 0;
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.header__logo {
  line-height: 0;
}

.header__logo img {
  width: 15.75rem;
}

.en-US .header__logo img {
  width: 8.03rem;
}

.zh-TW .header__logo img {
  width: 20.6875rem;
}


.headerNav__wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.headerNav__content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.headerNav__list {
  display: flex;
  gap: 1.5rem;
}

.headerNav__listItem a {
  font-weight: 700;
  color: var(--colorBlack);
  transition: color 0.35s ease-out;
}

.headerNav__listItem.is-current a {
  color: var(--colorMain);
}

@media (hover: hover) {
  .headerNav__listItem a:hover {
    color: var(--colorMain);
  }
}

.header__contactLink a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--colorWhite);
  background-color: var(--colorMain);
  border: 1px solid var(--colorMain);
  border-radius: 0.25rem;
  transition:
    color 0.35s ease-out,
    background-color 0.35s ease-out;
  padding: 0.5rem 0.9375rem;
}

@media (hover: hover) {
  .header__contactLink a:hover {
    color: var(--colorMain);
    background-color: var(--colorWhite);
  }
}

.header__languageList {
  display: flex;
  gap: 1rem;
}

.header__languageListItem {
  line-height: 0;
}

.header__languageListItem a {
  font-size: 0.75rem;
  color: var(--colorGray);
  transition: color 0.35s ease-out;
}

@media (hover: hover) {
  .header__languageListItem a:hover {
    color: var(--colorMain);
  }
}

.header__languageListItem.current {
  display: none;
}

.header__hamburger {
  display: none;
}

/* header：サイト内検索 */
.header.is-searchOpen {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.header__searchToggle {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  color: var(--colorMain);
  background-color: var(--colorLightGray);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.35s ease-out;
}

@media (hover: hover) {
  .header__searchToggle:hover {
    background-color: var(--colorMediumLightGray);
  }
}

.header__searchToggleIcon {
  grid-area: 1 / 1;
  width: 1.25rem;
  height: 1.25rem;
  transition:
    opacity 0.25s ease-out,
    transform 0.25s ease-out;
}

.header__searchToggleIcon--close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}

.header__searchToggle[aria-expanded="true"] .header__searchToggleIcon--search {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}

.header__searchToggle[aria-expanded="true"] .header__searchToggleIcon--close {
  opacity: 1;
  transform: none;
}

.headerSearch {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--colorLightGray);
  border-radius: 0 0 0.5rem 0.5rem;
  padding: 2rem 4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition:
    opacity 0.35s ease-out,
    transform 0.35s ease-out,
    visibility 0.35s ease-out;
}

.header.scrolled .headerSearch {
  border-radius: 0;
}

.headerSearch.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.headerSearch__form {
  display: flex;
  max-width: 67.5rem;
  margin-inline: auto;
}

.headerSearch__input {
  flex: 1;
  min-width: 0;
  height: 3.5rem;
  padding: 0 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--colorBlack);
  background-color: var(--colorWhite);
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.headerSearch__input::placeholder {
  color: var(--colorPlaceholder);
}

.headerSearch__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.headerSearch__input:focus-visible {
  box-shadow: inset 0 0 0 1px var(--colorMain);
}

.headerSearch__submit {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  color: var(--colorWhite);
  background-color: var(--colorMain);
  border: 1px solid var(--colorMain);
  border-radius: 0 0.25rem 0.25rem 0;
  cursor: pointer;
  transition:
    color 0.35s ease-out,
    background-color 0.35s ease-out;
}

.headerSearch__submit svg {
  width: 1.75rem;
  height: 1.75rem;
}

@media (hover: hover) {
  .headerSearch__submit:hover {
    color: var(--colorMain);
    background-color: var(--colorWhite);
  }
}

.headerSearch__overlay {
  position: fixed;
  inset: 0;
  z-index: 9;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease-out,
    visibility 0.35s ease-out;
}

.headerSearch__overlay.is-open {
  opacity: 1;
  visibility: visible;
}

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

  .header__searchToggleIcon {
    width: 1.125rem;
    height: 1.125rem;
  }

  .headerSearch {
    padding: 1.05rem 1.125rem;
  }

  .headerSearch__input {
    height: 3rem;
    padding: 0 0.75rem;
    font-size: 1rem; /* iOSでフォーカス時に拡大されないよう16px以上にする */
  }

  .headerSearch__submit {
    width: 3rem;
    height: 3rem;
  }

  .headerSearch__submit svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}

/* header：ハンバーガーメニュー内の言語切り替え（SPのみ） */
.headerNav__language {
  display: none;
}

@media screen and (max-width: 1000px) {
  /* SPではヘッダーの言語切り替えを消し、メニュー内に表示する */
  .header__languageList {
    display: none;
  }

  .headerNav__language {
    position: absolute;
    /* メニュー（top: 3.5rem、高さ100dvh）は画面下から3.5remはみ出しているため、その分を足す */
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
  }

  .headerNav__languageIcon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .headerNav__languageList {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .headerNav__languageListItem {
    line-height: 0;
  }

  .headerNav__languageListItem a {
    position: relative;
    font-size: 0.75rem;
    color: var(--colorGray);
    line-height: 1.5;
    transition: color 0.35s ease-out;
  }

  .headerNav__languageListItem.current a {
    font-weight: 700;
    color: var(--colorBlack);
  }

  .headerNav__languageListItem a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -0.75rem;
    transform: translateY(-50%);
    display: block;
    width: 1px;
    height: 1rem;
    background-color: var(--colorMediumLightGray);
  }

  .headerNav__languageListItem:last-of-type a::after {
    content: unset;
  }
}

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

  .header__searchToggleIcon {
    width: 1rem;
    height: 1rem;
  }
}

@media screen and (max-width: 1000px) {
  .header {
    top: 1.0625rem;
    left: 4.1%;
    right: 4.1%;
    padding: 0.55rem 1.25rem 0.75rem 1.125rem;
  }

  .header:has(.headerNav__content.active) {
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0;
  }

  .header__logo img {
    width: 10.25rem;
  }

  .en-US .header__logo img {
    width: 5.23rem;
  }

  .headerNav__wrap {
    gap: 1.25rem;
  }

  .headerNav__content {
    position: absolute;
    top: -1rem;
    left: 0;
    right: 0;
    display: flex;
    opacity: 0;
    transition: 0.35s ease-out;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    background-color: var(--colorWhite);
    pointer-events: none;
    gap: 2.5rem;
    height: 100dvh;
  }

  .headerNav__content.active {
    pointer-events: all;
    opacity: 1;
  }

  .headerNav__list {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .header__contactLink {
    text-align: center;
    width: 100%;
    max-width: 15rem;
  }

  .header__contactLink a {
    padding: 1rem 0;
    width: 100%;
    max-width: 15rem;
  }

  .header__languageList {
    gap: 0.75rem;
    align-items: center;
  }

  .header__languageListItem a {
    font-size: 0.625rem;
  }

  .header__title {
    font-size: 0.875rem;
  }

  .header__hamburger {
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    margin: -0.5rem;
    padding: 0;
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
  }

  .header__hamburger span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    background-color: var(--colorMain);
    transition: 0.35s ease-out;
    width: 1.5rem;
    height: 2px;
  }

  .header__hamburger span:first-of-type {
    top: calc(50% - 4px);
  }

  .header__hamburger span:last-of-type {
    top: calc(50% + 2px);
  }

  .header__hamburger.active span:first-of-type {
    top: calc(50% - 1px);
    transform: translateX(-50%) rotate(30deg);
  }

  .header__hamburger.active span:last-of-type {
    top: calc(50% - 1px);
    transform: translateX(-50%) rotate(-30deg);
  }
}

/* ==========
  container
========== */
section {
  padding-inline: 3.125vw;
}

.container {
  margin: 0 auto;
  max-width: 100rem;
}

@media screen and (max-width: 767px) {
  section {
    padding-inline: 4.1%;
  }
}

/* page title */
.page__title {
  border-bottom: 4px solid var(--colorLightGray);
  padding-inline: 3.125vw;
}

.page__title .container {
  width: 100%;
}

.page__titleContainer {
  padding-block: 0 2.25rem;
  margin-top: 8rem;
}

.page__titleText--en {
  font-weight: 800;
  font-family: "Nunito Sans", "Noto Sans JP", sans-serif;
  color: var(--colorMain);
  line-height: 130%;
  padding-left: 0.25rem;
}

.page__titleText {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 12%;
  margin-top: 0.2rem;
}

.pageSection__titleWrap {
  text-align: center;
}

.pageSection__title--en {
  font-size: 0.875rem;
  font-weight: 800;
  font-family: "Nunito Sans", sans-serif;
  color: var(--colorMain);
  line-height: 130%;
}

.pageSection__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 0.25rem;
}

@media screen and (max-width: 767px) {
  .page__titleContainer {
    padding-block: 0 1.75rem;
    margin-top: 6rem;
  }

  .page__title {
    padding-inline: 4.1%;
  }

  .page__titleText--en {
    font-size: min(3.59vw, 0.875rem);
  }

  .page__titleText {
    font-size: min(8.21vw, 2rem);
  }

  .pageSection__title--en {
    font-size: min(3.08vw, 0.75rem);
  }

  .pageSection__title {
    font-size: min(7.18vw, 1.75rem);
    line-height: 154%;
    margin-top: 0.25rem;
  }
}

/* breadcrumbs */
.breadcrumbs {
  letter-spacing: 13%;
  margin-top: 1.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.breadcrumbs a {
  font-size: 0.75rem;
  color: var(--colorGray);
  text-decoration: underline;
}

@media (hover: hover) {
  .breadcrumbs a:hover {
    color: var(--colorMain);
  }
}

.breadcrumbs .current-item {
  font-size: 0.75rem;
  font-weight: 700;
}

.breadcrumbs__arrow {
  display: inline-block;
  background-color: var(--colorMain);
  border-radius: 50%;
  margin: 0 0.5rem 0.2rem;
  width: 0.25rem;
  height: 0.25rem;
}

@media screen and (max-width: 767px) {
  .breadcrumbs {
    margin-top: 0.875rem;
  }
}

/* service list */
.service__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service__listItem {
  display: flex;
  flex-direction: column;
  background-color: var(--colorLightGray);
  border-radius: 0.5rem;
  overflow: hidden;
}

.service__itemImg {
  overflow: hidden;
}

.service__itemImg img {
  transition: transform 0.35s ease-out;
  width: 100%;
  aspect-ratio: 384 / 256;
  object-fit: cover;
}

.service__itemImgLink,
.service__itemTitleLink {
  display: block;
  color: inherit;
}

.service__itemTextWrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem 1.5rem;
}

.service__itemLeadText {
  font-size: 0.875rem;
  font-weight: 700;
  transition: color 0.35s ease-out;
}

.service__itemTitle {
  font-size: 1.375rem;
  font-weight: 700;
  transition: color 0.35s ease-out;
  margin-top: 1rem;
}

.service__itemText {
  font-size: 0.875rem;
  color: var(--colorGray);
  line-height: 175%;
  margin-top: 1.5rem;
}

.service__itemMakerLink a {
  font-size: 0.875rem;
  color: var(--colorBlack);
  line-height: 175%;
  text-decoration: underline;
  transition: color 0.35s ease-out;
}

@media (hover: hover) {
  .service__itemMakerLink a:hover {
    color: var(--colorMain);
    text-decoration: unset;
  }
}

.service__itemDetailBtn {
  margin-top: auto;
}

.service__itemDetailBtn a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 700;
  font-feature-settings: normal;
  color: var(--colorBlack);
  transition: color 0.35s ease-out;
}

@media (hover: hover) {
  .service__itemDetailBtn a:hover {
    color: var(--colorMain);
  }
}

.service__itemDetailBtn a .product__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translate(100%, -50%);
  display: block;
  background-image: url(../images/common/img-arrow-red.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 1.5rem;
  height: 1.5rem;
}

.service__itemDetailBtn .product__arrow {
  position: relative;
  overflow: hidden;
  width: 1.5rem;
  height: 1.5rem;
}

/* サムネイル・グループ名・タイトル・「詳しく見る」のどれにホバーしても、カード全体を同じ動きにする */
@media (hover: hover) {
  .service__listItem:has(.service__itemImgLink:hover, .service__itemTitleLink:hover, .service__itemDetailBtn a:hover) img {
    transform: scale(110%);
  }

  .service__listItem:has(.service__itemImgLink:hover, .service__itemTitleLink:hover, .service__itemDetailBtn a:hover) .service__itemLeadText,
  .service__listItem:has(.service__itemImgLink:hover, .service__itemTitleLink:hover, .service__itemDetailBtn a:hover) .service__itemTitle,
  .service__listItem:has(.service__itemImgLink:hover, .service__itemTitleLink:hover, .service__itemDetailBtn a:hover) .service__itemDetailBtn a {
    color: var(--colorMain);
  }

  .service__listItem:has(.service__itemImgLink:hover, .service__itemTitleLink:hover, .service__itemDetailBtn a:hover) .service__itemDetailBtn .product__arrow::after {
    animation: product-hover 0.5s forwards;
  }
}

.service .detail__btn {
  margin: 2rem 2.5rem 0 auto;
  width: fit-content;
}

@media screen and (max-width: 767px) {
  .service__list {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .service__itemTextWrap {
    padding: 0.75rem 1rem 1.25rem;
  }

  .service__itemLeadText {
    font-size: 0.75rem;
  }

  .service__itemTitle {
    font-size: 1.25rem;
  }

  .service__itemText {
    font-size: 0.75rem;
    margin-top: 1.125rem;
  }

  .service__itemMakerLink a {
    font-size: 0.75rem;
  }

  .service .detail__btn {
    margin-top: 2.35rem;
  }

  .service__itemDetailBtn a {
    font-size: 0.75rem;
  }
}

/* page__imgSlider */
.page__imgSlider {
  overflow: hidden;
  padding-inline: 0;
  margin-top: 6rem;
}

.page__imgSlider .slider-wrapper {
  display: flex;
}

.page__imgSlider .slider {
  animation: img-scroll 40s infinite linear .5s both;
  display: flex;
  flex-shrink: 0;
}

.page__imgSlider .slide {
  flex-shrink: 0;
  width: 41.25rem;
}

.page__imgSlider .slide img {
  display: block;
  width: 100%;
}

@keyframes img-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

@media screen and (max-width: 767px) {
  .page__imgSlider {
    margin-top: 4rem;
  }

  .page__imgSlider .slide {
    width: 22.5rem;
  }
}

/* linkMenu */
.linkMenu--white {
  transform: translateY(-2.45rem);
  padding-inline: 3.125vw 0;
}

.linkMenu--white .container {
  margin-left: auto;
}

/* 画面幅が広いとき：背景は右端まで伸ばし、リンクは通常の.containerと同じ位置に配置 */
@media screen and (min-width: 768px) {
  .linkMenu--white {
    container-type: inline-size;
    padding-inline: 0;
  }

  .linkMenu--white .container {
    max-width: none;
    margin: 0;
    padding-left: max(3.125vw, (100cqw - 100rem) / 2);
  }

  .linkMenu--white .linkMenu__list--white {
    padding-right: calc(2.5rem + max(3.125vw, (100cqw - 100rem) / 2));
  }
}

.linkMenu--white .linkMenu__container {
  padding-bottom: 2.5rem;
}

.linkMenu__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background-color: var(--colorLightGray);
  border-radius: 1rem;
  padding: 2.5rem;
}

.linkMenu__list--white {
  background-color: var(--colorWhite);
  border-radius: 1rem 0 0 0;
  padding-right: calc(2.5rem + 3.125vw);
}

.linkMenu__listItem {
  background-color: var(--colorWhite);
  border-radius: 0.25rem;
}

.linkMenu__listItem a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  letter-spacing: 3%;
  transition: color 0.35s ease-out;
  padding: 1.5rem;
  width: 100%;
}

.linkMenu__list--white .linkMenu__listItem {
  border: 1px solid var(--colorMediumLightGray);
  border-radius: 0.5rem;
}

.linkMenu__list--white .linkMenu__listItem a {
  padding: 1.4rem 1.5rem 1.5rem;
}

@media (hover: hover) {
  .linkMenu__listItem a:hover {
    color: var(--colorMain);
  }
}

.linkMenu__listItem.current a {
  color: var(--colorMain);
}

.linkMenu__listItem a .link__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translate(100%, -50%);
  display: block;
  background-image: url(../images/common/img-arrow-red.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 1.5rem;
  height: 1.5rem;
}

.linkMenu__listItem .link__arrow {
  position: relative;
  overflow: hidden;
  width: 1.5rem;
  height: 1.5rem;
}

@media (hover: hover) {
  .linkMenu__listItem a:hover .link__arrow::after {
    animation: product-hover 0.5s forwards;
  }
}

@media screen and (max-width: 767px) {
  .linkMenu--white {
    transform: translateY(-1.55rem);
    padding-inline: 1rem 0;
  }
  .linkMenu__list {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 2rem 1rem;
  }

  .linkMenu--white .linkMenu__list {
    padding: 2rem 2rem 2rem 1rem;
  }

  .linkMenu__listItem a {
    font-size: 0.875rem;
    padding: 1.09375rem 1rem 0.9rem;
  }

  .linkMenu__list--white .linkMenu__listItem a {
    padding: 1rem 1rem 0.87rem;
  }
}

/* SERVICE */
.service__contentBg {
  position: relative;
  margin-top: 2.4rem;
}

.service__bg {
  border-radius: 1rem;
  overflow: hidden;
}

.service__bg img {
  object-fit: contain;
  width: 100%;
  min-height: 21.3125rem;
}

.service__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 4rem;
  width: 100%;
}

.service__contentText {
  color: var(--colorWhite);
  line-height: 1.5;
  text-align: center;
}

.service__contentTitle {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--colorWhite);
  line-height: 1.5;
  text-align: center;
  font-feature-settings: normal;
  margin-top: 0.5rem;
}

.service__contentLink {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.service__contentLinkItem a {
  position: relative;
  text-align: center;
  background-color: var(--colorWhite);
  border-radius: 0.5rem;
  transition: color 0.35s ease-out;
  padding-block: 1.5rem;
  width: 100%;
}

.service__contentLinkItemCat {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
}

.service__contentLinkItemTitle {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 0.45rem;
}

.service__arrowWrap {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
}

.service__contentLink .product__arrow,
.service__link .product__arrow {
  position: relative;
  display: block;
  overflow: hidden;
  width: min(1.875vw, 1.665rem);
  height: min(1.875vw, 1.665rem);
}

.service__contentLink .product__arrow::after,
.service__link .product__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: min(1.875vw, 1.665rem);
  transform: translate(100%, -50%);
  display: block;
  background-image: url(../images/common/img-arrow-red.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: min(1.875vw, 1.665rem);
  height: min(1.875vw, 1.665rem);
}

@media (hover: hover) {
  .service__contentLink a:hover,
  .service__link a:hover {
    color: var(--colorMain);
  }
  
  .service__contentLinkItem a:hover .product__arrow::after,
  .service__link a:hover .product__arrow::after {
    animation: product-hover 0.5s forwards;
  }
}

.service__link {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.45rem;
}

.service__link a {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--colorWhite);
  border: 1px solid var(--colorMediumLightGray);
  border-radius: 0.5rem;
  transition: color 0.35s ease-out;
  padding: 1.5rem;
  width: 100%;
}

.service__linkItemCat {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  font-feature-settings: normal;
}

.service__clinkItemTitle {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5rem;
  font-feature-settings: normal;
  margin-top: 0.5rem;
}

.service .detail__btn {
  margin-top: 2.8rem;
}

@media screen and (max-width: 950px) {
  .service__bg img {
    object-fit: cover;
    min-height: unset;
    height: 31.25rem;
  }
  .service__contentLink {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

@media screen and (max-width: 767px) {
  .service__container {
    padding-top: 4.15rem;
  }

  .service__content {
    padding: 2.5rem 1rem;
  }
  .service__contentText {
    font-size: 0.875rem;
  }

  .service__contentTitle {
    font-size: 1.5rem;
  }

  .service__contentLinkItem a {
    padding-block: 1rem 0.875rem;
  }

  .service__contentLinkItemCat {
    font-size: 0.75rem;
  }

  .service__contentLinkItemTitle {
    font-size: 1.125rem;
  }

  .service__contentLink .product__arrow,
  .service__link .product__arrow {
    width: 1.5rem;
    height: 1.5rem;
  }

  .service__contentLink .product__arrow::after,
  .service__link .product__arrow::after {
    right: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
  }

  .service__link {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .service__link a {
    padding: 1rem;
  }

  .service__linkItemCat {
    font-size: 0.625rem;
  }

  .service__clinkItemTitle {
    font-size: 1rem;
    margin-top: 0.35rem;
  }

  .service .detail__btn {
    margin-top: 2.2rem;
  }
}

/* btn */
.detail__btn a {
  position: relative;
  font-weight: 700;
  color: var(--colorBlack);
  gap: 0.5rem;
}

@media (hover: hover) {
  .detail__btn a:hover {
    color: var(--colorMain);
  }
}

.detail__btn a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.5rem;
  transform: translate(150%, -50%);
  display: block;
  background-image: url(../images/common/img-arrow-white.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1rem 1rem;
  width: 1rem;
  height: 1rem;
  z-index: 2;
}

.detail__btn a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.5rem;
  transform: translate(100%, -50%);
  display: block;
  background-color: var(--colorMain);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  z-index: 1;
}

@media (hover: hover) {
  .detail__btn a:hover::before {
    animation: arrow-hover 0.5s forwards;
  }
}

@keyframes arrow-hover {
  0% {
    transform: translate(150%, -50%);
    opacity: 1;
  }

  16% {
    transform: translate(200%, -50%);
    opacity: 1;
  }

  17% {
    transform: translate(200%, -50%);
    opacity: 0;
  }

  50% {
    transform: translate(300%, -50%);
    opacity: 0;
  }

  51% {
    transform: translate(0%, -50%);
    opacity: 0;
  }

  83% {
    transform: translate(100%, -50%);
    opacity: 0;
  }

  84% {
    transform: translate(100%, -50%);
    opacity: 1;
  }

  100% {
    transform: translate(150%, -50%);
    opacity: 1;
  }
}

@media screen and (max-width: 767px) {
  .detail__btn a {
    font-size: 0.875rem;
  }
}

@keyframes product-hover {
  0% {
    transform: translate(100%, -50%);
    opacity: 1;
  }

  50% {
    transform: translate(300%, -50%);
    opacity: 1;
  }

  51% {
    transform: translate(0%, -50%);
    opacity: 0;
  }

  52% {
    transform: translate(0%, -50%);
    opacity: 1;
  }

  100% {
    transform: translate(100%, -50%);
    opacity: 1;
  }
}

/* primaryBtn */
.primaryBtn {
  background: var(--colorMain);
  color: var(--colorWhite);
  width: 12.875rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 0.25rem;
  border: 1px solid var(--colorMain);
  transition: all 0.3s;
}

@media (hover: hover) {
  .primaryBtn:hover {
    background: var(--colorWhite);
    color: var(--colorMain);
  }
}

@media screen and (max-width: 767px) {
  .primaryBtn {
    font-size: 0.875rem;
    width: 15rem;
    height: 3.3125rem;
  }
}

/* scrollFade */
.js-scrollFadeWrap {
  position: relative;
}

.js-scrollFade {
  display: flex;
  align-items: center;
  overflow-x: auto;
  gap: 2.4rem;
  position: relative;
}

.js-scrollFadeWrap::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--colorMediumLightGray);
  z-index: 1;
}

.js-scrollFadeWrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 6rem;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    #fff
  );
  pointer-events: none;
  z-index: 2;
}

.js-scrollFadeWrap.is-scrollEnd::after {
  opacity: 0;
}

.js-scrollFade::-webkit-scrollbar {
  display: none;
}

/* pageHead */
.pageHead {
  padding-block: 5rem 3.5rem;
}

.pageHead__column {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.pageHead__left {
  flex: 1;
  max-width: 49.5rem;
}

.pageHead__title {
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: 3%;
}

.pageHead__text {
  line-height: 1.75;
  color: var(--colorGray);
  margin-top: 1.5rem;
}

@media screen and (max-width: 767px) {
  .pageHead {
    padding-block: 4rem 3rem;
  }

  .pageHead__column {
    flex-direction: column;
    gap: 2rem;
  }

  .pageHead__title {
    font-size: 1.25rem;
  }

  .pageHead__text {
    margin-top: 1rem;
    font-size: 0.875rem;
    line-height: 2;
  }

  .pageHead__btn {
    margin-inline: auto;
  }
}

/* cardList */
.cardList {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cardList__item a {
  width: 100%;
}

.cardList__img {
  aspect-ratio: 282 / 222;
  overflow: hidden;
}

.cardList__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.3s;
}

.cardList__body {
  display: grid;
  grid-template-columns: auto 1.5rem;
  gap: 1rem;
  margin-top: 1rem;
}

.cardList__text {
  font-weight: 700;
  line-height: 1.5;
}

@media (hover: hover) {
  .cardList__item a:hover .cardList__img img {
    transform: scale(1.05);
  }
}

@media screen and (max-width: 767px) {
  .cardList {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 0.5rem;
  }

  .cardList__text {
    font-size: 0.875rem;
  }
}

/* 取り扱い製品 */
.has-arrow .arrow {
  position: relative;
  overflow: hidden;
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

.has-arrow .arrow::after {
  content: "";
  background-image: url(../images/common/img-arrow-red.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 1.5rem;
  height: 1.5rem;
  overflow: hidden;
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translate(100%, -50%);
}

.sectionProduct {
  padding-block: 6rem 7.5rem;
  border-top: 4px solid #f6f6f6;
}

.product__commonTitle {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
}

.productOverview {
  margin-top: 2.5rem;
  padding-inline: 0;
}

.productOverviewList {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.2rem;
}

.productOverviewList__item a {
  display: grid;
  grid-template-columns: 6rem auto;
  transition: all 0.3s;
}

.productOverviewList__img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.productOverviewList__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.3s;
}

.productOverviewList__item:first-child a,
.productOverviewList__item:first-child .productOverviewList__img {
  border-top-left-radius: 0.5rem;
}

.productOverviewList__item:nth-child(4) a,
.productOverviewList__item:nth-child(4) .productOverviewList__nameWrap {
  border-top-right-radius: 0.5rem;
}

.productOverviewList__item:nth-child(4n + 1):nth-last-child(-n + 4) a,
.productOverviewList__item:nth-child(4n + 1):nth-last-child(-n + 4) .productOverviewList__img {
  border-bottom-left-radius: 0.5rem;
}

.productOverviewList__item:nth-child(4n):last-child a,
.productOverviewList__item:nth-child(4n):last-child .productOverviewList__nameWrap {
  border-bottom-right-radius: 0.5rem;
}

.productOverviewList__nameWrap {
  display: grid;
  grid-template-columns: auto 1.5rem;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(to right, #f6f6f5 0%, #f0f0f0 100%);
  padding-inline: 1.5rem;
}

.productOverviewList__name {
  line-height: 1.5;
  font-size: 1rem;
  font-weight: 700;
}

.productOverviewList__name::after {
  content: "";
  background-image: url(../images/common/img-arrow-red.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 1.5rem;
  height: 1.5rem;
}

@media screen and (max-width: 1200px) and (min-width: 768px) {
  .has-arrow .arrow {
    width: 2vw;
    height: 2vw;
  }

  .has-arrow .arrow::after {
    width: 2vw;
    height: 2vw;
    right: 2vw;
  }

  .productOverviewList {
    margin-top: 2vw;
    gap: 0.267vw;
  }

  .productOverviewList__item a {
    grid-template-columns: 8vw auto;
  }

  .productOverviewList__item:first-child a,
  .productOverviewList__item:first-child .productOverviewList__img {
    border-top-left-radius: 0.667vw;
  }

  .productOverviewList__item:nth-child(4) a,
  .productOverviewList__item:nth-child(4) .productOverviewList__nameWrap {
    border-top-right-radius: 0.667vw;
  }

  .productOverviewList__item:nth-child(4n + 1):nth-last-child(-n + 4) a,
  .productOverviewList__item:nth-child(4n + 1):nth-last-child(-n + 4) .productOverviewList__img {
    border-bottom-left-radius: 0.667vw;
  }

  .productOverviewList__item:nth-child(4n):last-child a,
  .productOverviewList__item:nth-child(4n):last-child .productOverviewList__nameWrap {
    border-bottom-right-radius: 0.667vw;
  }

  .productOverviewList__nameWrap {
    grid-template-columns: auto 2vw;
    gap: 1.333vw;
    padding-inline: 2vw;
  }

  .productOverviewList__name {
    font-size: 1.333vw;
  }

  .productOverviewList__name::after {
    width: 2vw;
    height: 2vw;
  }
}

.industryOverview {
  margin-top: 3.5rem;
  padding-inline: 0;
}

.industryOverviewList {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1.5rem;
  border-top: 1px solid var(--colorMediumLightGray);
  border-left: 1px solid var(--colorMediumLightGray);
}

.industryOverviewList__item a {
  background: var(--colorWhite);
  padding-inline: 2rem;
  border-right: 1px solid var(--colorMediumLightGray);
  border-bottom: 1px solid var(--colorMediumLightGray);
  width: 100%;
  height: 5.5rem;
  font-weight: 700;
  transition: all 0.35s;
  display: grid;
  grid-template-columns: auto 1.5rem;
  align-items: center;
  gap: 1rem;
}

.industryOverviewList {
  border-radius: 0.5rem;
}

.industryOverviewList__item:first-child a {
  border-top-left-radius: 0.5rem;
}

.industryOverviewList__item:nth-child(4) a {
  border-top-right-radius: 0.5rem;
}

.industryOverviewList__item:nth-child(4n + 1):nth-last-child(-n + 4) a {
  border-bottom-left-radius: 0.5rem;
}

.industryOverviewList__item:nth-child(4n):last-child a {
  border-bottom-right-radius: 0.5rem;
}

@media (hover: hover) {
  .has-arrow:hover {
    color: var(--colorMain);
  }

  .has-arrow:hover .arrow::after {
    animation: product-hover 0.5s forwards;
  }

  .productOverviewList__item a:hover .productOverviewList__img img {
    transform: scale(1.05);
  }
}

.sectionProduct__btn {
  margin: 3.5rem 0 0 auto;
  width: fit-content;
  padding-right: 2.6rem;
  padding-block: 0.25rem;
  line-height: 1;
}

@media screen and (max-width: 767px) {
  .sectionProduct {
    padding-block: 4rem 6rem;
  }

  .product__commonTitle {
    font-size: 1.125rem;
  }

  .productOverviewList {
    grid-template-columns: repeat(2, 1fr);
  }

  .productOverviewList__item a {
    grid-template-columns: 1fr;
  }

  .productOverviewList__nameWrap {
    height: 4.625rem;
    padding-inline: 1rem;
  }

  .industryOverviewList {
    grid-template-columns: repeat(2, 1fr);
  }

  .industryOverviewList__item a {
    padding-inline: 1rem;
  }

  .sectionProduct__btn {
    margin-top: 2.5rem;
    padding-block: 0.375rem;
  }

  .productOverviewList__item:nth-child(4) a,
  .productOverviewList__item:nth-child(4) .productOverviewList__nameWrap {
    border-top-right-radius: 0;
  }

  .productOverviewList__item:nth-child(4n + 1):nth-last-child(-n + 4) a,
  .productOverviewList__item:nth-child(4n + 1):nth-last-child(-n + 4) .productOverviewList__img {
    border-bottom-left-radius: 0;
  }

  .productOverviewList__item:nth-child(4n):last-child a,
  .productOverviewList__item:nth-child(4n):last-child .productOverviewList__nameWrap {
    border-bottom-right-radius: 0;
  }

  .productOverviewList__item:nth-child(2) a,
  .productOverviewList__item:nth-child(2) .productOverviewList__img {
    border-top-right-radius: 0.5rem;
  }

  .productOverviewList__item:nth-child(2n + 1):nth-last-child(-n + 2) a,
  .productOverviewList__item:nth-child(2n + 1):nth-last-child(-n + 2) .productOverviewList__nameWrap {
    border-bottom-left-radius: 0.5rem;
  }

  .productOverviewList__item:nth-child(2n):last-child a,
  .productOverviewList__item:nth-child(2n):last-child .productOverviewList__nameWrap {
    border-bottom-right-radius: 0.5rem;
  }

  .industryOverviewList__item:nth-child(4) a {
    border-top-right-radius: 0;
  }

  .industryOverviewList__item:nth-child(4n + 1):nth-last-child(-n + 4) a {
    border-bottom-left-radius: 0;
  }

  .industryOverviewList__item:nth-child(4n):last-child a {
    border-bottom-right-radius: 0;
  }

  .industryOverviewList__item:nth-child(2) a {
    border-top-right-radius: 0.5rem;
  }

  .industryOverviewList__item:nth-child(2n + 1):nth-last-child(-n + 2) a {
    border-bottom-left-radius: 0.5rem;
  }

  .industryOverviewList__item:nth-child(2n):last-child a {
    border-bottom-right-radius: 0.5rem;
  }
}
@keyframes link-hover {
  0% {
    transform: translate(100%, -50%) rotate(90deg);
    opacity: 1;
  }

  50% {
    transform: translate(100%, 200%) rotate(90deg);
    opacity: 1;
  }

  51% {
    transform: translate(100%, 0%) rotate(90deg);
    opacity: 0;
  }

  52% {
    transform: translate(100%, -200%) rotate(90deg);
    opacity: 1;
  }

  100% {
    transform: translate(100%, -50%) rotate(90deg);
    opacity: 1;
  }
}

/* ==========
  footer
========== */
.footer__container {
  background-color: var(--colorLightGray);
  padding: 5.8rem 3.125%;
}

.footer__content {
  display: flex;
  margin: 0 auto;
  max-width: 100rem;
  gap: 12vw;
}

.footer__infoWrap {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.footer__logo img {
  width: 12.5rem;
}

.en-US .footer__logo img {
  width: 6.37rem;
}

.zh-TW .footer__logo img {
  width: 16.5rem;
}

.footer__address {
  font-size: 0.875rem;
  color: var(--colorGray);
  line-height: 175%;
  margin-top: 2.5rem;
}

.footer__language {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
}

.footer__languageList {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__languageListItem {
  line-height: 0;
}

.footer__languageListItem a {
  position: relative;
  font-size: 0.75rem;
  color: var(--colorGray);
  transition: color 0.35s ease-out;
}

@media (hover: hover) {
  .footer__languageListItem a:hover,
  .footer__languageListItem.current a:hover {
    color: var(--colorMain);
  }
}

.footer__languageListItem.current a {
  font-weight: 700;
  color: var(--colorBlack);
  transition: color 0.35s ease-out;
}

.footer__languageListItem a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.5rem;
  transform: translateY(-50%);
  display: block;
  background-color: var(--colorMediumLightGray);
  width: 1px;
  height: 1rem;
}

.footer__languageListItem:last-of-type a::after {
  content: unset;
}

.footer__menuWrap {
  width: 100%;
}

.footer__menuList {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: min(5vw, 4.5rem);
  margin-block: 0.45rem 2.65rem;
}

.footer__menuListItem--zh {
  margin-top: 1rem;
}

.footer__menuListItem--zh:first-of-type {
  margin-top: 0;
}

.footer__menuListItemTitle {
  display: flex;
  align-items: center;
  font-weight: 700;
  gap: 0.5rem;
}

.footer__menuListItemTitle::before {
  content: "";
  display: block;
  background-color: var(--colorMain);
  border-radius: 50%;
  width: 0.5rem;
  height: 0.5rem;
}

.footer__menuCategoryList {
  margin-top: 1.2rem;
}

.footer__menuCategoryList01 {
  display: grid;
  grid-template-columns: repeat(2, auto);
  align-items: center;
  row-gap: 0.8rem;
  column-gap: 0.5rem;
  margin-left: 1rem;
}

.footer__menuCategoryList02 {
  margin-left: 0.875rem;
}

.footer__menuCategoryList02 .footer__menuCategoryListItem {
  margin-top: 0.75rem;
}

.footer__menuCategoryListItem a {
  font-size: 0.875rem;
  color: var(--colorGray);
  transition: color 0.35s ease-out;
}

@media (hover: hover) {
  .footer__menuCategoryListItem a:hover {
    color: var(--colorMain);
  }
}

.footer__menuLine {
  display: block;
  border-bottom: 1px solid #dedede;
  width: 100%;
  height: 1px;
}

.footer__linkList {
  display: flex;
  flex-wrap: wrap;
  margin-top: 2.375rem;
  gap: 2.4rem;
}

.footer__linkListItem a {
  display: flex;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 700;
  transition: color 0.35s ease-out;
  gap: 0.4375rem;
}

@media (hover: hover) {
  .footer__linkListItem a:hover {
    color: var(--colorMain);
  }
}

.footer__linkListItem a::before {
  content: "";
  display: block;
  background-color: var(--colorMain);
  border-radius: 50%;
  width: 0.5rem;
  height: 0.5rem;
}

.footer__bottomContainer {
  background-color: var(--colorBlack);
  padding: 2rem 3.125%;
}

.footer__contentBottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 100rem;
}

.footer__copyright {
  font-size: 0.6875rem;
  color: var(--colorLightGray);
}

.footer__bottomLink {
  display: flex;
  gap: 2rem;
}

.footer__bottomLinkItem a {
  position: relative;
  font-size: 0.75rem;
  color: var(--colorLightGray);
  letter-spacing: 9%;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.35s ease-out;
}

@media (hover: hover) {
  .footer__bottomLinkItem a:hover {
    text-decoration-color: currentColor;
  }
}

.footer__bottomLinkItem a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1rem;
  transform: translateY(-50%);
  display: block;
  background-color: var(--colorLightGray);
  width: 1px;
  height: 1rem;
}

.footer__bottomLinkItem:last-of-type a::after {
  content: unset;
}

@media screen and (max-width: 767px) {
  .footer__container {
    padding: 3.75rem 4.1%;
  }

  .footer__content {
    flex-direction: column-reverse;
    gap: 0;
  }

  .footer__menuList {
    grid-template-columns: 1fr;
    gap: 2.75rem;
    margin-bottom: 3rem;
  }

  .footer__menuListItemTitle {
    font-size: 0.875rem;
  }

  .footer__menuCategoryList01 {
    row-gap: 0.5rem;
  }

  .footer__menuCategoryList02 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.65rem;
  }

  .footer__menuCategoryList02 .footer__menuCategoryListItem {
    margin-top: 0;
  }

  .footer__menuCategoryListItem a {
    font-size: 0.75rem;
  }

  .footer__linkList {
    margin-top: 1.25rem;
    column-gap: 1.5rem;
    row-gap: 0.875rem;
  }

  .footer__linkListItem a {
    font-size: 0.875rem;
  }

  .footer__infoWrap {
    margin-top: 4rem;
  }

  .footer__logo img {
    width: 12.5rem;
  }

  .en-US .footer__logo img {
    width: 6.37rem;
  }

  .footer__address {
    font-size: 0.75rem;
    margin-top: 1.5rem;
  }

  .footer__language {
    margin-top: 2rem;
  }

  .footer__bottomContainer {
    padding: 1.65rem 4.1%;
  }

  .footer__contentBottom {
    flex-direction: column-reverse;
    gap: 0.45rem;
  }

  .footer__bottomLinkItem a {
    font-size: 0.625rem;
  }

  .footer__copyright {
    font-size: 0.625rem;
  }
}
