@charset "utf-8";
:root {
  --color-primary: #c90010;
  --color-primary-bright: #e60012;
  --color-text: #616161;
  --color-surface: #f8f9f9;
  --color-white: #fff;
  --header-height: 65px;
  --transition-base: 0.3s ease;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  color: var(--color-text);
  font-family:
    "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
    "游ゴシック", "Yu Gothic", sans-serif;
  min-height: 100vh;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

li {
  list-style: none;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition:
    color var(--transition-base),
    background-color var(--transition-base),
    opacity var(--transition-base);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #005caf;
  outline-offset: 3px;
}

/*------------------------------------------
ホバーで動くアイコンエフェクト
※動かしたい要素に、
animation: pulsation .7s alternate infinite;
を記述
-------------------------------------------*/
@keyframes pulsation {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1.1);
  }
}

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

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

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

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  height: var(--header-height);
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 777;
  background-color: var(--color-white);
  transition: top var(--transition-base);
}

#header .header_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

#header .header_inner .logo {
  width: 25%;
  text-align: center;
  line-height: 1;
  z-index: 999;
}

#header .header_inner .menu {
  display: flex;
  align-items: center;
  width: 75%;
}

#header .header_inner .menu .menu_list {
  width: calc(100% / 6);
  border-left: 1px solid var(--color-text);
}

#header .header_inner .menu .menu_list .menu_title {
  text-align: center;
  display: flex;
  height: var(--header-height);
  flex-direction: column;
  justify-content: center;
  letter-spacing: 1px;
}

#header .header_inner .menu .menu_list .drop_menu_list a {
  text-align: center;
  display: flex;
  height: var(--header-height);
  flex-direction: column;
  justify-content: center;
  letter-spacing: 1px;
}

#header .header_inner .menu .menu_list.contact a,
#header .header_inner .menu .menu_list.recruit a {
  text-align: center;
  display: flex;
  height: var(--header-height);
  flex-direction: column;
  justify-content: center;
  letter-spacing: 1px;
}

#header .header_inner .menu .menu_list a:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

#header .header_inner .menu .menu_list:hover .drop_menu_list {
  transform: scaleY(1);
}

#header .header_inner .menu .menu_list a .ja {
  display: block;
  line-height: 1;
}

#header .header_inner .menu .menu_list a .en {
  font-size: 12px;
  display: block;
  line-height: 1;
}

#header .header_inner .menu .contact {
  background-color: #232323;
  border-left: none;
  transition: all 0.3s ease;
  border-right: 1px solid #fff;
}
#header .header_inner .menu .contact:hover {
  background-color: #005caf;
  transition: all 0.3s ease;
}

#header .header_inner .menu .contact a {
  color: #fff;
  position: relative;
}

#header .header_inner .menu .recruit {
  background-color: #161616;
  border-left: none;
  transition: all 0.3s;
}
#header .header_inner .menu .recruit:hover {
  background-color: #ffb11b;
  transition: all 0.3s;
}

#header .header_inner .menu .recruit a {
  color: #fff;
  position: relative;
}

#header .header_inner .menu .contact a:hover,
#header .header_inner .menu .recruit a:hover {
  background-color: inherit;
}

/*--- ドロップダウンメニュー ---*/
.drop_menu {
  position: relative;
}

.drop_menu .drop_menu_list {
  position: absolute;
  top: 100%;
  width: 100%;
  z-index: 1;
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform 0.3s;
}

.drop_menu .drop_menu_list li a {
  padding: 0 8px;
  font-size: 13px;
  border-bottom: 1px solid var(--color-text);
}

.drop_menu .drop_menu_list li:first-of-type a {
  border-top: 1px solid var(--color-text);
}
.drop_menu .drop_menu_list li:last-of-type a {
  border-bottom: none;
}

.drop_menu .drop_menu_list .drop_menu_item {
  background-color: var(--color-white);
  transition: opacity 0.3s;
}

#header .menu_info {
  display: flex;
}

#header .menu_info a {
  text-align: center;
  height: var(--header-height);
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

@media screen and (max-width: 1024px) {
  #header .header_inner .logo {
    padding: 0 0 0 20px;
  }

  #header .header_inner .logo img {
    max-width: inherit;
  }

  #header .header_inner .hamburger {
    width: 43px;
    height: 43px;
    padding: 0;
    border: 0;
    background-color: var(--color-primary-bright);
    border-radius: 50%;
    cursor: pointer;
    position: fixed;
    top: 15px;
    right: 24px;
    z-index: 30;
  }

  #header .header_inner .hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--color-white);
    display: block;
    position: absolute;
    transition: 0.3s ease-in-out;
    left: 9px;
  }

  #header .header_inner .hamburger span:nth-child(1) {
    top: 16px;
  }

  #header .header_inner .hamburger span:nth-child(2) {
    top: 26px;
  }

  #header.open .header_inner .hamburger span:nth-child(1) {
    top: 21px;
    background-color: var(--color-white);
    transform: rotate(-45deg);
  }

  #header.open .header_inner .hamburger span:nth-child(2) {
    top: 21px;
    background-color: var(--color-white);
    transform: rotate(45deg);
  }

  #header .header_inner .menu {
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    right: 0;
    visibility: hidden;
    z-index: 20;
    padding-top: 65px;
  }

  #header.open .header_inner .menu {
    opacity: 1;
    visibility: visible;
    overflow: scroll;
  }

  #header .header_inner .mask {
    display: none;
    transition: all 0.3s ease;
  }
  #header.open .header_inner .mask {
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
    opacity: 0.3;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
  }

  #header .header_inner .menu .menu_list {
    width: 100%;
    border-left: none;
  }

  #header .header_inner .menu .menu_list .menu_title {
    background-color: var(--color-primary);
    padding-left: 15px;
    height: 50px;
    color: #fff;
    text-align: left;
  }

  #header .header_inner .menu .menu_list .drop_menu_list a {
    text-align: left;
    height: 38px;
    padding-left: 30px;
  }

  .drop_menu {
    position: static;
  }

  .drop_menu .drop_menu_list {
    position: static;
    top: 100%;
    width: 100%;
    z-index: 999;
    transform: scaleY(1);
    transform-origin: center top;
    transition: transform 0.3s;
  }

  .drop_menu .drop_menu_list .drop_menu_item {
    background-color: #e9e9e9;
  }

  .drop_menu .drop_menu_list .drop_menu_item:nth-of-type(odd) {
    background-color: #f4f4f4;
  }

  .drop_menu .drop_menu_list li a {
    border-bottom: none;
  }

  .drop_menu .drop_menu_list li:first-of-type a {
    border-top: none;
  }
}

@media screen and (max-width: 599px) {
  #header .header_inner .logo {
    padding-left: 10px;
  }
  #header .header_inner .logo img {
    width: 190px;
    background-color: #fff;
    padding: 6px 12px;
    border-radius: 5px;
  }

  #header .header_inner .menu .menu_list .menu_title {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    height: 40px;
  }

  #header .header_inner .menu .menu_list a .ja {
    margin-right: 9px;
  }
}

/*-------------------------------------------
共通パーツ
-------------------------------------------*/
.inner {
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

@media screen and (max-width: 1024px) {
  .inner {
    padding: 0 20px;
  }
}

.section_title {
  display: flex;
  flex-direction: column;
  margin-bottom: 36px;
}

.section_title .ja {
  font-size: 28px;
  line-height: 1;
  color: var(--color-primary);
  font-weight: bold;
  letter-spacing: 2px;
}

.section_title .ja span {
  font-size: 42px;
}

.section_title .en {
  font-size: 14px;
  line-height: 1;
  font-weight: normal;
}

@media screen and (max-width: 767px) {
  .section_title .ja {
    font-size: 22px;
  }

  .section_title .ja span {
    font-size: 26px;
  }

  .section_title .en {
    font-size: 12px;
    line-height: 1;
    font-weight: normal;
  }
}

/*-------------------------------------------
サブページ共通
-------------------------------------------*/
.subpage-main {
  display: block;
  overflow: clip;
  padding-top: var(--header-height);
}

/* スマホ本文エリアの控えめな見出しスケール。PC・ヘッダー・フッターは対象外。 */
@media (max-width: 767px) {
  main {
    --rcs-type-heading-hero: 1.875rem;
    --rcs-type-heading-large: 1.625rem;
    --rcs-type-heading-medium: 1.375rem;
    --rcs-type-heading-small: 1.1875rem;
    --rcs-type-lead: 1rem;
  }

  /* 本文の個別17px・18px指定を統一。見出し・ラベルは対象外。 */
  body main .award-list-page__lead,
  body main.initiatives-page .initiative-card__description,
  body main.community-page .community-intro__text,
  body main.community-page .community-article p,
  body main.initiatives-page .initiative-detail-intro__text,
  body main.environment-page .environment-card__body p,
  body main.environment-page .environment-list,
  body main .repair-flow .repair-flow__lead,
  body main .contact-intro > p:first-child,
  body main .management-values__inner > ul strong {
    font-size: 16px !important;
  }

  body main.subpage-main h1,
  body main.partner-entry-page h1,
  body main.recruit-partner-page h1,
  body main .repair-page-hero h1,
  body main .partner-page-hero h1,
  body main .company-page-hero h1,
  body main .initiatives-page-hero h1,
  body main .contact-page-hero h1,
  body main .partner-entry-page-hero h1,
  body main .works-hero h1 {
    font-size: 30px !important;
  }

  body main.subpage-main h2,
  body main.partner-entry-page h2,
  body main.recruit-partner-page h2,
  body main .community-intro__content h2,
  body main .community-activities__heading h2 {
    font-size: 26px !important;
  }

  body main.subpage-main h3,
  body main.partner-entry-page h3,
  body main.recruit-partner-page h3 {
    font-size: 22px !important;
  }

  body main.subpage-main h4,
  body main.partner-entry-page h4,
  body main.recruit-partner-page h4 {
    font-size: 19px !important;
  }

  body main .top-message__statement,
  body main .construction-management__catch,
  body main .management-association__promise,
  body main.community-page .community-intro__lead {
    font-size: 22px !important;
  }
}

/*-------------------------------------------
メインビジュアル
-------------------------------------------*/
.mainvisual {
  position: relative;
  width: 100%;
  margin-top: 65px;
}

.mainvisual img {
  width: 100%;
  object-fit: cover;
  height: calc(100vh - 65px);
}

/* スマホ用画像は全体を表示し、画像内の紹介文が切れないようにする。 */
@media screen and (max-width: 768px) {
  .mainvisual img {
    display: block;
    width: 100%;
    height: auto;
  }
}

.mainvisual .mv_text {
  position: absolute;
  top: 38%;
  left: 2%;
  margin: 0 auto;
  color: #fff;
}

.mainvisual .mv_text span {
  color: var(--color-primary);
  font-weight: bold;
}

.mainvisual .mv_text .mv_catch {
  font-size: 46px;
  font-family:
    "A-OTF 教科書ICA Pro", "リュウミン R-KL", "游明朝", YuMincho,
    "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝",
    "ＭＳ 明朝", "Sawarabi Mincho", serif;
  border-bottom: 1px solid var(--color-primary);
  margin-bottom: 8px;
}

.mainvisual .mv_text p {
  font-size: 22px;
  font-family:
    "リュウミン R-KL", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3",
    "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝",
    "Sawarabi Mincho", serif;
  letter-spacing: 2px;
}

@media screen and (max-width: 1279px) {
  .mainvisual .mv_text {
    top: 45%;
    left: 2%;
  }

  .mainvisual .mv_text .mv_catch {
    font-size: 42px;
  }

  .mainvisual .mv_text p {
    font-size: 18px;
  }
}

@media screen and (max-width: 1024px) {
  .mainvisual .mv_text {
    top: 50%;
    left: 4%;
  }

  .mainvisual .mv_text .mv_catch {
    font-size: 34px;
  }

  .mainvisual .mv_text p {
    font-size: 16px;
  }
}

@media screen and (max-width: 767px) {
  .mainvisual .mv_text {
    top: 16%;
    left: 4%;
  }

  .mainvisual .mv_text .mv_catch {
    font-size: 34px;
  }

  .mainvisual .mv_text p {
    font-size: 16px;
  }
}

@media screen and (max-width: 599px) {
  .mainvisual .mv_text {
    top: 12%;
    left: 4%;
  }

  .mainvisual .mv_text .mv_catch {
    font-size: 26px;
  }

  .mainvisual .mv_text p {
    font-size: 13px;
  }
}

/*-------------------------------------------
トップページ
-------------------------------------------*/
#top .message {
  text-align: center;
  padding: 90px 0;
}

#top .message .section_heading {
  margin-bottom: 16px;
  font-size: 22px;
}

@media screen and (max-width: 767px) {
  #top .message {
    text-align: center;
    padding: 40px 0;
  }

  #top .message .section_heading {
    margin-bottom: 16px;
    font-size: 18px;
  }

  #top .message .text {
    font-size: 14px;
  }
}

/*---- NEWS ----*/
#news {
  background-color: var(--color-surface);
}

#news .content {
  padding: 140px 0 180px 0;
  position: relative;
}

#news .content .inner {
  max-width: 1280px;
  background-color: #fff;
  padding: 72px 40px;
  margin: 0 auto;
  border-radius: 30px 0 30px 0;
}

#news .section_title_news {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 56px;
  text-align: center;
}

#news .news_label {
  margin-bottom: 32px;
  padding: 12px 0;
  border-radius: 50px;
  color: #fff;
  background-color: var(--color-primary);
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

#news .news_list {
  display: block;
  height: 320px;
  overflow-y: scroll;
  padding: 20px;
}

#news .news_list::-webkit-scrollbar {
  width: 6px;
  border-radius: 5px;
}
#news .news_list::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 5px;
}

#news .news_list::-webkit-scrollbar-track {
  background: #fff;
}

#news .news_list div {
  display: flex;
  border-bottom: 1px solid #ccc;
}

#news .news_list dt {
  width: 20%;
  padding: 16px 24px;
}

#news .news_list dd {
  width: 80%;
  padding: 16px 24px;
}

@media screen and (max-width: 1279px) {
  #news .content {
    padding: 80px 30px;
  }
}

@media screen and (max-width: 767px) {
  #news .content {
    padding: 40px 15px;
  }

  #news .section_title_news {
    font-size: 20px;
    margin-bottom: 32px;
  }

  #news .content .inner {
    padding: 40px 24px;
  }

  #news .news_label {
    margin-bottom: 22px;
    padding: 8px 0;
    font-size: 14px;
  }

  #news .news_list {
    font-size: 14px;
  }

  #news .news_list div {
    flex-direction: column;
  }

  #news .news_list dt {
    width: 100%;
    padding: 16px 8px 8px 8px;
    font-size: 12px;
  }

  #news .news_list dd {
    width: 100%;
    padding: 0 8px 16px 8px;
    font-size: 12px;
  }
}

/*---- 事業紹介 ----*/
#top_business {
  width: 100%;
  padding: 40px 0 48px;
  background-color: var(--color-surface);
}

#top_business .section_title {
  text-align: center;
  z-index: 2;
  position: relative;
}

#top_business .business_items {
  position: relative;
  width: min(100% - 48px, 1240px);
  margin: 38px auto 0;
  padding-top: 38px;
}

#top_business .business_items .bg_title {
  position: absolute;
  z-index: 0;
  top: -170px;
  left: -110px;
  margin: 0;
  color: #d4d4d4;
  font-size: 128px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: -0.06em;
  pointer-events: none;
}

#top_business .business_items .bg_title span {
  font-size: 205px;
}

#top_business .business_panels {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
}

#top_business .business_panel {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 42px;
}

#top_business .business_panel + .business_panel {
  border-left: 1px solid #d2d2d2;
}

#top_business .business_panel_heading {
  min-height: 82px;
}

#top_business .business_panel_heading h3 {
  margin: 0 0 8px;
  color: var(--color-text);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  letter-spacing: 0.06em;
}

#top_business .business_panel_heading p {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}

#top_business .business_panel_image {
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 8.5;
  margin-top: 16px;
  background: #e8e8e8;
}

#top_business .business_panel_image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

#top_business .business_panel_image:hover img {
  transform: scale(1.035);
}

#top_business .business_panel_links {
  margin: 18px 0 0;
  padding: 0;
  border-top: 1px solid #c9c9c9;
  list-style: none;
}

#top_business .business_panel_links li {
  border-bottom: 1px solid #c9c9c9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 4px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.25s ease, padding 0.25s ease;
}

/*#top_business .business_panel_links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 4px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.25s ease, padding 0.25s ease;
}*/

#top_business .business_panel_links a:hover {
  padding-left: 10px;
  color: var(--color-primary);
}

#top_business .business_panel_links a span {
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

#top_business .section_link a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100% - 40px, 280px);
  min-height: 44px;
  margin: 34px auto 0;
  padding: 8px 28px;
  border: 1px solid #999;
  border-radius: 999px;
  color: var(--color-text);
  background: transparent;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

#top_business .section_link a:hover {
  color: #fff;
  border-color: var(--color-primary);
  background-color: var(--color-primary);
}

@media screen and (max-width: 1024px) {
  #top_business {
    padding-bottom: 42px;
  }

  #top_business .business_items {
    width: min(100% - 40px, 900px);
  }

  #top_business .business_panel {
    padding-inline: 28px;
  }

  #top_business .business_panel_heading {
    min-height: 105px;
  }

  #top_business .section_link a {
    margin-top: 30px;
  }
}

@media screen and (max-width: 767px) {
  #top_business {
    padding-top: 34px;
  }

  #top_business .business_items {
    width: min(100% - 30px, 600px);
    margin-top: 24px;
    padding-top: 20px;
  }

  #top_business .business_panels {
    flex-direction: column;
  }

  #top_business .business_panel {
    padding: 0;
  }

  #top_business .business_panel + .business_panel {
    margin-top: 46px;
    padding-top: 42px;
    border-top: 1px solid #d2d2d2;
    border-left: 0;
  }

  #top_business .business_panel_heading {
    min-height: 0;
  }

  #top_business .business_panel_heading h3 {
    font-size: 21px;
  }

  #top_business .business_panel_image {
    margin-top: 14px;
  }

  #top_business .business_panel_links a {
    padding-block: 12px;
    font-size: 13px;
  }

  #top_business .section_link a {
    min-height: 42px;
    margin-top: 28px;
    font-size: 13px;
  }
}

/*---- 協力会社募集バナー ----*/
.partner-recruit-banner {
  position: relative;
  z-index: 1;
  width: calc(100% - 84px);
  margin: 54px 42px 0;
}

.partner-recruit-banner__link {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  min-height: 320px;
  border-block: 1px solid #d4d4d4;
  color: #222;
  background-color: #f7f7f6;
  background-image: url("../images/partner-recruit-banner-bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.partner-recruit-banner__link::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.9) 38%,
    rgba(255, 255, 255, 0.2) 58%,
    transparent 72%
  );
  transition: opacity 0.35s ease;
}

.partner-recruit-banner__inner {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 320px;
}

.partner-recruit-banner__copy {
  width: min(52%, 620px);
  padding: 42px 0 38px 54px;
}

.partner-recruit-banner__en {
  position: relative;
  margin: 0 0 18px;
  padding-top: 18px;
  color: var(--color-primary-bright);
  font: 700 14px/1.4 Arial, Helvetica, sans-serif;
  letter-spacing: 0.26em;
}

.partner-recruit-banner__en::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 62px;
  height: 3px;
  background-color: var(--color-primary-bright);
}

.partner-recruit-banner h2 {
  margin: 0;
  color: #222;
  font-size: clamp(38px, 4.2vw, 60px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.08em;
}

.partner-recruit-banner__lead {
  margin: 18px 0 0;
  color: #333;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

.partner-recruit-banner__more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(100%, 270px);
  margin-top: 24px;
  padding: 13px 4px 11px;
  border-bottom: 1px solid var(--color-primary-bright);
  color: var(--color-primary-bright);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.partner-recruit-banner__arrow {
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.3s ease;
}

.partner-recruit-banner__link:hover::before,
.partner-recruit-banner__link:focus-visible::before {
  opacity: 0.86;
}

.partner-recruit-banner__link:hover .partner-recruit-banner__arrow,
.partner-recruit-banner__link:focus-visible .partner-recruit-banner__arrow {
  transform: translateX(10px);
}

.partner-recruit-banner__link:focus-visible {
  outline: 3px solid var(--color-primary-bright);
  outline-offset: 4px;
}

@media screen and (max-width: 1024px) {
  .partner-recruit-banner {
    width: calc(100% - 56px);
    margin: 46px 28px 0;
  }

  .partner-recruit-banner__link,
  .partner-recruit-banner__inner {
    min-height: 300px;
  }

  .partner-recruit-banner__inner {
    width: 100%;
  }

  .partner-recruit-banner__copy {
    width: 58%;
    padding-left: 38px;
  }
}

@media screen and (max-width: 767px) {
  .partner-recruit-banner {
    width: 100%;
    margin: 42px 0 0;
  }

  .partner-recruit-banner__link {
    min-height: 430px;
    background-position: 66% center;
  }

  .partner-recruit-banner__link::before {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.94) 56%,
      rgba(255, 255, 255, 0.66) 76%,
      rgba(255, 255, 255, 0.2) 100%
    );
  }

  .partner-recruit-banner__inner {
    align-items: flex-end;
    width: 100%;
    min-height: 430px;
  }

  .partner-recruit-banner__copy {
    width: 100%;
    padding: 44px 26px 38px;
  }

  .partner-recruit-banner__en {
    margin-bottom: 18px;
    padding-top: 18px;
    font-size: 11px;
    letter-spacing: 0.2em;
  }

  .partner-recruit-banner__en::before {
    width: 52px;
    height: 2px;
  }

  .partner-recruit-banner h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .partner-recruit-banner__lead {
    margin-top: 18px;
    font-size: 15px;
  }

  .partner-recruit-banner__more {
    width: min(100%, 220px);
    margin-top: 24px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partner-recruit-banner__link::before,
  .partner-recruit-banner__arrow {
    transition: none;
  }
}

/*---- 施工事例 ----*/
#top_works {
  padding: 120px 0 90px 0;
}

#top_works .works_feature {
  position: relative;
  margin-top: 38px;
}

#top_works .works_feature .bg_title {
  position: absolute;
  top: -176px;
  right: 0;
  z-index: 0;
  margin: 0;
  font-size: 160px;
  font-weight: bold;
  color: #ccc;
  line-height: 1;
  pointer-events: none;
}

#top_works .works_feature .bg_title span {
  font-size: 260px;
}

#top_works .works_feature__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(230px, 0.78fr) minmax(0, 2.72fr);
  grid-template-rows: auto auto 1fr auto;
  column-gap: clamp(34px, 4vw, 72px);
  min-height: 500px;
  color: var(--color-text);
  text-decoration: none;
}

#top_works .works_feature__lead {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  margin: 0;
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
  font-size: clamp(28px, 2.3vw, 40px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.08em;
}

#top_works .works_feature__accent {
  grid-column: 1;
  grid-row: 2;
  display: block;
  width: 48px;
  height: 2px;
  margin-top: 24px;
  background: var(--color-primary);
}

#top_works .works_feature__gallery {
  grid-column: 2;
  grid-row: 1 / 5;
  display: grid;
  grid-template-columns: 1.75fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
  height: 500px;
}

#top_works .works_feature__image {
  margin: 0;
  overflow: hidden;
  background: #eee;
}

#top_works .works_feature__image--main {
  grid-column: 1;
  grid-row: 1 / 3;
}

#top_works .works_feature__image--sub01 {
  grid-column: 2;
  grid-row: 1;
}

#top_works .works_feature__image--sub02 {
  grid-column: 2;
  grid-row: 2;
}

#top_works .works_feature__image--detail {
  grid-column: 3;
  grid-row: 1 / 3;
}

#top_works .works_feature__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

#top_works .works_feature__image--main img {
  object-position: center 44%;
}

#top_works .works_feature__cta {
  grid-column: 1;
  grid-row: 4;
  align-self: end;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 260px);
  min-height: 68px;
  padding: 0 28px;
  background-color: #fff;
  border: 1px solid var(--color-text);
  border-radius: 0 40px 40px 0;
  color: var(--color-text);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

#top_works .works_feature__cta span {
  font-size: 18px;
  transition: transform 0.3s ease;
}

#top_works .works_feature__content:hover .works_feature__image img {
  transform: scale(1.035);
}

#top_works .works_feature__cta:hover {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

#top_works .works_feature__cta:hover span {
  transform: translateX(5px);
}

@media screen and (max-width: 1024px) {
  #top_works {
    padding: 60px 0 90px 0;
  }

  #top_works .works_feature {
    margin-top: 30px;
  }

  #top_works .works_feature__content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    min-height: 0;
  }

  #top_works .works_feature__lead {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
  }

  #top_works .works_feature__accent {
    grid-column: 1;
    grid-row: 2;
    margin-bottom: 30px;
  }

  #top_works .works_feature__gallery {
    grid-column: 1;
    grid-row: 3;
    height: 440px;
  }

  #top_works .works_feature__cta {
    grid-column: 1;
    grid-row: 4;
    justify-self: end;
    margin-top: 34px;
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
  }
}

@media screen and (max-width: 767px) {
  #top_works .works_feature__lead {
    font-size: 26px;
  }

  #top_works .works_feature__gallery {
    grid-template-columns: 1.45fr 1fr;
    grid-template-rows: 1.25fr 1fr;
    gap: 7px;
    height: 430px;
  }

  #top_works .works_feature__image--main {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  #top_works .works_feature__image--sub01 {
    grid-column: 1;
    grid-row: 2;
  }

  #top_works .works_feature__image--sub02 {
    display: none;
  }

  #top_works .works_feature__image--detail {
    grid-column: 2;
    grid-row: 2;
  }

  #top_works .works_feature__cta {
    justify-self: stretch;
    width: 100%;
    min-height: 58px;
    margin-top: 26px;
    padding: 0 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #top_works .works_feature__image img,
  #top_works .works_feature__cta,
  #top_works .works_feature__cta span {
    transition: none;
  }
}

/*---- 企業情報 ----*/
#top_company {
  padding: 160px 0 80px 0;
  width: 100%;
  background-color: var(--color-surface);
  position: relative;
}

#top_company::after {
  content: "";
  position: absolute;
  bottom: 0;
  background-color: var(--color-surface);
  z-index: -1;
}

#top_company .section_title {
  width: 100%;
  text-align: left;
  z-index: 2;
  position: relative;
}

#top_company .company_items {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  flex-wrap: wrap;
  padding: 0 30px;
}

#top_company .company_items .bg_title {
  position: absolute;
  top: -280px;
  left: 40%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  font-size: 160px;
  font-weight: bold;
  color: #ccc;
  z-index: -1;
}
#top_company .company_items .bg_title span {
  font-size: 260px;
}

#top_company .company_items .company_item {
  width: 48%;
  border: 1px solid #ccc;
  background-color: var(--color-surface);
  margin-bottom: 4%;
}

#top_company .company_items .company_item a img {
  opacity: 1;
  transition: none;
  width: 100%;
}

#top_company .company_items .company_item a:hover img {
  opacity: 1;
  transition: none;
}

#top_company .company_items .company_item a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  font-size: 20px;
  transition: all 0.3s ease;
  text-align: center;
  line-height: 1;
  letter-spacing: 2px;
  position: relative;
}

#top_company .company_items .company_item a::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
  background: var(--color-text);
  opacity: 0;
  transition: 0.3s;
}
#top_company .company_items .company_item a:hover:before {
  opacity: 0.2;
}

#top_company .company_items .company_item a::after {
  content: "";
  display: block;
  width: 0;
  height: 45px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  transition: 0.3s;
  background: var(--color-primary);
}
#top_company .company_items .company_item a:hover:after {
  width: 100%;
}

#top_company .company_items .company_item a h3 {
  position: absolute;
  z-index: 4;
  color: var(--color-text);
  top: 12px;
  left: 18px;
  transition: 0.3s;
}

#top_company .company_items .company_item a:hover h3 {
  color: #fff;
  transition: 0.3s;
}

#top_company .company_items .company_item a .arrow {
  position: absolute;
  bottom: 8px;
  right: 15px;
}

#top_company .company_items .company_item a .arrow span {
  display: inline-block;
  vertical-align: middle;
  color: var(--color-text);
  line-height: 1;
  position: relative;
  width: 80px;
  height: 1px;
  background: currentColor;
}

#top_company .company_items .company_item a .arrow span::before {
  content: "";
  width: 14px;
  border: 1px solid currentColor;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(30deg);
  transform-origin: top right;
  position: absolute;
  top: 50%;
  right: -2px;
  box-sizing: border-box;
}

#top_company .company_items .company_item a:hover .arrow span {
  color: #fff;
}

#top_company .section_link {
  padding: 0 30px;
  width: 30%;
  margin: 0 auto;
}

#top_company .section_link a {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  border: 1px solid #ccc;
  border-radius: 0 50px 50px 0;
  font-size: 18px;
}

#top_company .section_link a:hover {
  background-color: var(--color-primary);
  color: #fff;
}

@media screen and (max-width: 1024px) {
  #top_company {
    padding: 40px 0 70px 0;
  }

  #top_company .company_items {
    flex-wrap: nowrap;
    padding: 0 0;
    flex-direction: column;
  }

  #top_company .company_items .company_item {
    width: 100%;
    border: none;
    margin-bottom: 6%;
  }

  #top_company .company_items .company_item a img {
    opacity: 1;
  }

  /* 全カード共通で見出し帯の高さを確保し、画像に重ねない。 */
  #top_company .company_items .company_item a {
    padding-top: 45px;
  }

  #top_company .company_items .company_item a::after {
    width: 100%;
  }

  #top_company .company_items .company_item a h3 {
    color: #fff;
  }

  #top_company .company_items .company_item a .arrow {
    display: none;
  }

  #top_company .section_link {
    width: 40%;
  }

  #top_company .section_link a {
    border: none;
    font-size: 16px;
    background-color: var(--color-primary);
    color: #fff;
  }
}

@media screen and (max-width: 767px) {
  #top_company .company_items .company_item a h3 {
    font-size: 16px;
    top: 7px;
    left: 9px;
    font-weight: normal;
  }

  #top_company .company_items .company_item a::after {
    height: 30px;
  }

  #top_company .company_items .company_item a {
    padding-top: 30px;
  }

  #top_company .section_link {
    width: 80%;
  }

  #top_company .section_link a {
    padding: 12px 0;
  }
}

/*---- 取り組み ----*/
#top_attempt {
  padding: 180px 0 160px 0;
  /*background-image: url("../images/attempt_bg.jpg");*/
  background-size: cover;
  background-color: rgba(255, 255, 255, 0.5);
  background-blend-mode: lighten;
  width: 100%;
}

#top_attempt .inner {
}

#top_attempt .section_title {
  text-align: center;
  padding-left: 30px;
}

#top_attempt .bg_title {
  position: absolute;
  top: -210px;
  left: -320px;
  font-size: 160px;
  font-weight: bold;
  color: #aeaeae;
  z-index: 0;
}
#top_attempt .bg_title span {
  font-size: 260px;
}

#top_attempt .attempt_items {
  position: relative;
  width: 65%;
  margin: 0 0 0 auto;
  background-color: rgba(248, 249, 249, 0.9);
  padding: 45px;
  border-radius: 30px 0 0 30px;
  border: 1px solid #ccc;
  border-right: none;
}

#top_attempt .attempt_items .attempt_flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 40px;
}

#top_attempt .attempt_items .attempt_item {
  width: 43%;
  margin-bottom: 2%;
  display: flex;
  border: 1px solid #ccc;
}
#top_attempt .attempt_items .attempt_item:nth-of-type(n + 3) {
  margin-bottom: 0;
}

#top_attempt .attempt_items .attempt_item a {
  display: flex;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

#top_attempt .attempt_items .attempt_item a img {
  transition: transform 0.3s ease;
}

#top_attempt .attempt_items .attempt_item a:hover img {
  transform: scale(1.1);
  transition: transform 0.3s ease;
  opacity: 1;
}

#top_attempt .attempt_items .attempt_item a p {
  background-color: #fff;
  padding: 18px 0;
  text-align: center;
  transition: all 0.6s;
  z-index: 1;
  font-weight: bold;
  border-top: 1px solid #ccc;
}

#top_attempt .attempt_items .attempt_item a:hover p {
  background-color: var(--color-primary);
  color: #fff;
  transition: all 0.6s;
}

#top_attempt .section_link {
  width: 30%;
  margin: 0 0 0 auto;
}

#top_attempt .section_link a {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  border: 1px solid #ccc;
  border-radius: 0 50px 50px 0;
  font-size: 18px;
}

#top_attempt .section_link a:hover {
  background-color: var(--color-primary);
  color: #fff;
}

@media screen and (max-width: 1024px) {
  #top_attempt {
    padding: 40px 0 60px 0;
  }

  #top_attempt .section_title {
    text-align: left;
    padding-left: 0;
  }

  #top_attempt .attempt_items {
    position: relative;
    width: 90%;
    margin: 0 auto 0 auto;
    background-color: rgba(248, 249, 249, 0.85);
    padding: 20px;
    border-radius: 30px 30px 30px 30px;
    border-right: 1px solid #ccc;
  }

  #top_attempt .attempt_items .attempt_item {
    width: 48%;
  }

  #top_attempt .attempt_items .attempt_item a img {
    opacity: 1;
  }

  #top_attempt .attempt_items .attempt_item a p {
    background-color: var(--color-primary);
    padding: 8px 0;
    color: #fff;
    border-top: 1px solid var(--color-primary);
    border: 1px solid var(--color-primary);
  }

  #top_attempt .section_link {
    width: 40%;
    margin: 0 auto 0 auto;
  }

  #top_attempt .section_link a {
    justify-content: center;
    border: none;
    background-color: var(--color-primary);
    font-size: 16px;
    color: #fff;
  }
}

@media screen and (max-width: 767px) {
  #top_attempt {
    padding: 90px 0 80px 0;
  }

  #top_attempt .attempt_items .attempt_flex {
    flex-direction: column;
  }

  #top_attempt .attempt_items .attempt_item {
    width: 100%;
    margin-bottom: 4%;
  }

  #top_attempt .attempt_items .attempt_item:nth-of-type(n + 3) {
    margin-bottom: 4%;
  }
  #top_attempt .attempt_items .attempt_item:last-of-type {
    margin-bottom: 0;
  }

  #top_attempt .attempt_items .attempt_item a {
    display: flex;
    justify-content: center;
  }

  #top_attempt .section_link {
    margin: 0 auto 0 auto;
    width: 70%;
  }

  #top_attempt .section_link a {
    display: flex;
    justify-content: center;
    padding: 12px 0;
  }
}

/*-------------------------------------------
フッター
-------------------------------------------*/
#footer {
  background-color: var(--color-primary);
  width: 100%;
  position: relative;
}

#footer .section_title {
  text-align: center;
}

/*--- お問い合わせ ---*/
#footer .footer_contact {
  background-color: #232323;
  padding: 54px;
}

#footer .bg_title {
  position: absolute;
  top: 5%;
  left: 26%;
  font-size: 160px;
  font-weight: bold;
  z-index: 0;
  color: #393939;
}
#footer .bg_title span {
  font-size: 260px;
}

#footer .footer_contact .icon_contact {
  display: flex;
  justify-content: center;
}

#footer .footer_contact .icon_contact a {
  border: 2px solid #fff;
  display: inline-block;
  border-radius: 50%;
  z-index: 3;
}

#footer .footer_contact .icon_contact a svg {
  width: 260px;
  border-radius: 50%;
}

#footer .footer_contact .icon_contact a:hover {
  background-color: #fff;
}

#footer .footer_contact .icon_contact a svg:hover {
  fill: var(--color-primary);
  animation: pulsation 0.7s alternate infinite;
}

#footer .footer_contact .footer_contact_info {
  margin-top: 40px;
}

#footer .footer_contact .footer_contact_info .heading {
  display: flex;
  justify-content: center;
  color: #fff;
  margin-bottom: 24px;
}

#footer .footer_contact .footer_contact_info .footer_contact_tel {
  background-color: #fff;
  max-width: 580px;
  width: 100%;
  margin: 0 auto;
  padding: 24px;
  border-radius: 8px;
}

#footer .footer_contact .footer_contact_info .footer_contact_tel .text {
  text-align: center;
  margin-bottom: 16px;
  font-weight: bold;
}

#footer .footer_contact .footer_contact_info .footer_contact_tel .tel_item {
  display: flex;
  align-items: center;
  justify-content: center;
}

#footer .footer_contact .footer_contact_info .footer_contact_tel .tel_item img {
  width: 76px;
  margin-right: 32px;
}

#footer
  .footer_contact
  .footer_contact_info
  .footer_contact_tel
  .tel_item
  .tel_info {
  line-height: 1.2;
  text-align: center;
}

#footer
  .footer_contact
  .footer_contact_info
  .footer_contact_tel
  .tel_item
  .tel_info
  .tel_num {
  color: var(--color-primary);
  font-weight: bold;
  font-size: 42px;
  letter-spacing: 2px;
}

#footer
  .footer_contact
  .footer_contact_info
  .footer_contact_tel
  .tel_item
  .tel_info
  .reception_time {
  font-size: 14px;
}

@media screen and (max-width: 767px) {
  #footer .footer_contact {
    padding: 20px;
  }

  #footer .footer_contact .icon_contact a svg {
    width: 160px;
  }

  #footer .footer_contact .footer_contact_info {
    margin-top: 28px;
  }

  #footer .footer_contact .footer_contact_info .heading {
    font-size: 14px;
  }

  #footer .footer_contact .footer_contact_info .footer_contact_tel {
    padding: 16px;
  }

  #footer .footer_contact .footer_contact_info .footer_contact_tel .text {
    text-align: center;
    margin-bottom: 16px;
    font-weight: bold;
  }

  #footer .footer_contact .footer_contact_info .footer_contact_tel .tel_item {
    flex-direction: column;
  }

  #footer
    .footer_contact
    .footer_contact_info
    .footer_contact_tel
    .tel_item
    img {
    width: 64px;
    margin-right: 0;
    margin-bottom: 6px;
  }

  #footer
    .footer_contact
    .footer_contact_info
    .footer_contact_tel
    .tel_item
    .tel_info {
    line-height: 1.2;
    text-align: center;
  }

  #footer
    .footer_contact
    .footer_contact_info
    .footer_contact_tel
    .tel_item
    .tel_info
    .tel_num {
    font-size: 36px;
    letter-spacing: 0;
  }

  #footer
    .footer_contact
    .footer_contact_info
    .footer_contact_tel
    .tel_item
    .tel_info
    .reception_time {
    font-size: 12px;
  }
}

/*--- フッターコンテンツ ---*/
#footer .footer_contents {
  display: flex;
  padding: 140px 0;
  width: 100%;
}

#footer .inner {
  padding-bottom: 40px;
}

@media screen and (max-width: 1024px) {
  #footer .footer_contents {
    padding: 60px 0;
    flex-direction: column-reverse;
  }
}

/*--- フッターロゴエリア ---*/
#footer .footer_contents .footer_logo_area {
  margin-right: 280px;
}

#footer .footer_contents .footer_logo_area .footer_logo {
  margin-bottom: 14px;
}

#footer .footer_contents .footer_logo_area .footer_address {
  color: #fff;
  line-height: 1.4;
  font-size: 14px;
  margin-bottom: 14px;
}

#footer .footer_contents .footer_logo_area .footer_sns {
  margin-bottom: 13px;
}

#footer .footer_contents .footer_logo_area .footer_sns .sns_list {
  display: flex;
  align-items: center;
}

#footer .footer_contents .footer_logo_area .footer_sns .sns_list li {
  margin-right: 16px;
}

#footer .footer_contents .footer_logo_area .footer_sns .sns_list li img {
  width: 24px;
}

#footer .footer_contents .footer_logo_area .footer_sns .sns_list li img:hover {
  animation: pulsation 0.7s alternate infinite;
}

#footer .footer_contents .footer_logo_area .copyright p {
  font-size: 12px;
  color: #fff;
}

@media screen and (max-width: 1024px) {
  #footer .footer_contents .footer_logo_area {
    margin-right: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }

  #footer .footer_contents .footer_logo_area .footer_logo {
    margin-bottom: 14px;
  }

  #footer .footer_contents .footer_logo_area .footer_address {
    color: #fff;
    line-height: 1.4;
    font-size: 14px;
    margin-bottom: 14px;
  }
}

@media screen and (max-width: 767px) {
  #footer .footer_contents .footer_logo_area {
    align-items: flex-start;
    flex-direction: column;
  }
}

/*--- フッターメニュー ---*/
#footer .footer_contents .footer_menu {
  display: flex;
}

#footer .footer_contents .footer_menu .footer_menu_list {
  margin-right: 52px;
}

#footer .footer_contents .footer_menu .footer_menu_list li a {
  color: #fff;
}

#footer .footer_contents .footer_menu .footer_menu_list .footer_menu_lead {
  margin-bottom: 18px;
  line-height: 1.3;
  display: inline-block;
}

#footer
  .footer_contents
  .footer_menu
  .footer_menu_list
  .footer_menu_lead:hover {
  background-color: #fff;
}
#footer
  .footer_contents
  .footer_menu
  .footer_menu_list
  .footer_menu_lead
  a:hover {
  color: var(--color-primary);
}

#footer
  .footer_contents
  .footer_menu
  .footer_menu_list
  .footer_menu_lead
  a
  .en {
  font-size: 24px;
  display: block;
  font-weight: bold;
  letter-spacing: 1px;
}
#footer
  .footer_contents
  .footer_menu
  .footer_menu_list
  .footer_menu_lead
  a
  .ja {
  font-size: 14px;
  display: block;
}

#footer .footer_contents .footer_menu .footer_menu_list .footer_menu_sub {
  font-size: 16px;
  margin-bottom: 14px;
  margin-left: 24px;
  list-style: disc;
  color: #fff;
  line-height: 1.3;
}

#footer
  .footer_contents
  .footer_menu
  .footer_menu_list
  .footer_menu_sub
  a:hover {
  border-bottom: 1px solid #fff;
}

@media screen and (max-width: 1024px) {
  #footer .footer_contents .footer_menu {
    display: flex;
    flex-wrap: wrap;
    padding: 0 30px;
    margin-bottom: 36px;
  }

  #footer .footer_contents .footer_menu .footer_menu_list {
    margin-right: 2%;
    width: 48%;
  }
}

@media screen and (max-width: 767px) {
  #footer .footer_contents .footer_menu .footer_menu_list {
    display: none;
  }
}

/*--- ポリシー・関連リンク ---*/
#footer .footer_other {
  background-color: #161616;
  padding: 12px 40px 17px 20px;
  border-radius: 0 50px 50px 0;
}

#footer .footer_other_list {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

#footer .footer_other .footer_other_top a {
  color: #fff;
  letter-spacing: 1px;
  font-size: 14px;
}

#footer .footer_other .footer_other_top a::before {
  content: "";
  display: inline-block;
  background-image: url("../images/icon_home.svg");
  width: 26px;
  height: 26px;
  background-size: contain;
  vertical-align: middle;
  margin-right: 6px;
}

#footer .footer_other .footer_other_top a:hover {
  border-bottom: 1px solid #fff;
}

#footer .footer_other .footer_other_recruit a {
  color: #fff;
  letter-spacing: 1px;
  font-size: 14px;
}

#footer .footer_other .footer_other_recruit a::after {
  content: "";
  display: inline-block;
  background-image: url("../images/icon_link.svg");
  width: 18px;
  height: 18px;
  background-size: contain;
  vertical-align: middle;
  margin-left: 8px;
}

#footer .footer_other .footer_other_recruit a:hover {
  border-bottom: 1px solid #fff;
}

#footer .footer_other .footer_other_other {
  display: flex;
  gap: 56px;
}

#footer .footer_other .footer_other_other a {
  color: #fff;
  letter-spacing: 1px;
  border-bottom: 1px solid #fff;
  font-size: 14px;
}

#footer .footer_other ul .footer_other_other a:hover {
  border-bottom: none;
}

@media screen and (max-width: 1024px) {
  #footer .footer_other {
  }

  #footer .footer_other .footer_other_other {
    display: flex;
    flex-direction: column;
  }

  #footer .footer_other .footer_other_other a:first-of-type {
    margin-bottom: 8px;
  }
}

@media screen and (max-width: 767px) {
  #footer .footer_other {
    padding: 12px 16px 17px 20px;
    border-radius: 0 26px 26px 0;
  }

  #footer .footer_other_list {
    align-items: flex-start;
    flex-direction: column;
  }

  #footer .footer_other .footer_other_top a {
    letter-spacing: 0;
    font-size: 14px;
  }

  #footer .footer_other .footer_other_top a::before {
    width: 18px;
    height: 18px;
  }

  #footer .footer_other .footer_other_recruit a::after {
    width: 14px;
    height: 14px;
  }

  #footer .footer_other .footer_other_other {
    margin-top: 8px;
    margin-left: auto;
  }

  #footer .footer_other .footer_other_other {
    gap: 8px;
    line-height: 1;
  }

  #footer .footer_other .footer_other_other a {
    letter-spacing: 0;
    border-bottom: none;

    font-size: 13px;
  }
}

/*---トップに戻るボタン---*/
#page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color: var(--color-primary);
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid var(--color-primary);
  font-size: 34px;
}

#page-top a:hover {
  background: var(--color-primary);
  color: #fff;
  border: 1px solid #fff;
  animation: pulsation 0.7s alternate infinite;
}

/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  opacity: 0;
  transform: translateX(100px);
}

/*　左の動き　*/

#page-top.LeftMove {
  animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/*　右の動き　*/

#page-top.RightMove {
  animation: RightAnime 0.5s forwards;
}
@keyframes RightAnime {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 1;
    transform: translateX(100px);
  }
}

/*---スクロール表示のフェイドイン---*/
/*-下から-*/
.fib-js-1 {
  opacity: 0;
  transform: translate(0, 80px);
  transition: all 0.2s;
}
.fib-js-2 {
  opacity: 0;
  transform: translate(0, 80px);
  transition: all 0.4s;
}
.fib-js-3 {
  opacity: 0;
  transform: translate(0, 80px);
  transition: all 0.6s;
}
.fib-js-4 {
  opacity: 0;
  transform: translate(0, 80px);
  transition: all 0.8s;
}
.fib-js-1.active,
.fib-js-2.active,
.fib-js-3.active,
.fib-js-4.active {
  opacity: 1;
  transform: translate(0, 0);
}

/*-左から-*/
.fil-js {
  opacity: 0;
  transform: translate(-80px, 0);
  transition: all 1s;
}
.fil-js.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* スクロール表示アニメーション一時停止：復旧時はこの指定を削除 */
.fib-js-1,
.fib-js-2,
.fib-js-3,
.fib-js-4,
.fil-js {
  opacity: 1;
  transform: none;
  transition: none;
}
/*---スクロール表示のフェイドイン---*/

/*---フェードインエフェクト---*/
.fade-in-top {
  opacity: 0;
  animation-name: fadein-top;
  animation-duration: 1.2s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}
@keyframes fadein-top {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-right {
  opacity: 0;
  animation-name: fadein-right;
  animation-duration: 1.2s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}
@keyframes fadein-right {
  0% {
    opacity: 0;
    transform: translateX(160px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-left {
  opacity: 0;
  animation-name: fadein-left;
  animation-duration: 1.2s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}
@keyframes fadein-left {
  0% {
    opacity: 0;
    transform: translateX(-160px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-bottom {
  opacity: 0;
  animation-name: fadein-bottom;
  animation-duration: 1.2s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}
@keyframes fadein-bottom {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/*---フェードインエフェクト---*/

/*---MVスクロール促進---*/
#wrapper {
  display: table;
  position: absolute;
  bottom: 5%;
  right: 15%;
}
#wrapper-inner {
  display: table-cell;
  vertical-align: middle;
}
#scroll-down {
  display: block;
  position: relative;
  padding-top: 79px;
  text-align: center;
}
.arrow-down {
  display: block;
  margin: 0 auto;
  width: 10px;
  height: 38px;
}
.arrow-down:after {
  content: "";
  display: block;
  margin: 0;
  padding: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-primary);
  behavior: url(-ms-transform.htc);
  -moz-transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  transform: rotate(135deg);
}
#scroll-title {
  display: block;
  text-transform: uppercase;
  color: var(--color-primary);
  font-family:
    Helvetica Neue,
    Helvetica,
    Arial;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.1em;
}

#scroll-down::before {
  -webkit-animation: elasticus 1.2s cubic-bezier(1, 0, 0, 1) infinite;
  -moz-animation: elasticus 1.2s cubic-bezier(1, 0, 0, 1) infinite;
  -o-animation: elasticus 1.2s cubic-bezier(1, 0, 0, 1) infinite;
  animation: elasticus 1.2s cubic-bezier(1, 0, 0, 1) infinite;
  position: absolute;
  top: 0px;
  left: 50%;
  margin-left: -1px;
  width: 2px;
  height: 90px;
  background: var(--color-primary);
  content: " ";
}
@-webkit-keyframes elasticus {
  0% {
    -webkit-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -o-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    -webkit-transform: scale(1, 0);
    -ms-transform: scale(1, 0);
    -moz-transform: scale(1, 0);
    -o-transform: scale(1, 0);
    transform: scale(1, 0);
  }
  50% {
    -webkit-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -o-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  50.1% {
    -webkit-transform-origin: 0% 100%;
    -ms-transform-origin: 0% 100%;
    -moz-transform-origin: 0% 100%;
    -o-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  100% {
    -webkit-transform-origin: 0% 100%;
    -ms-transform-origin: 0% 100%;
    -moz-transform-origin: 0% 100%;
    -o-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
    -webkit-transform: scale(1, 0);
    -ms-transform: scale(1, 0);
    -moz-transform: scale(1, 0);
    -o-transform: scale(1, 0);
    transform: scale(1, 0);
  }
}
@-moz-keyframes elasticus {
  0% {
    -webkit-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -o-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    -webkit-transform: scale(1, 0);
    -ms-transform: scale(1, 0);
    -moz-transform: scale(1, 0);
    -o-transform: scale(1, 0);
    transform: scale(1, 0);
  }
  50% {
    -webkit-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -o-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  50.1% {
    -webkit-transform-origin: 0% 100%;
    -ms-transform-origin: 0% 100%;
    -moz-transform-origin: 0% 100%;
    -o-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  100% {
    -webkit-transform-origin: 0% 100%;
    -ms-transform-origin: 0% 100%;
    -moz-transform-origin: 0% 100%;
    -o-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
    -webkit-transform: scale(1, 0);
    -ms-transform: scale(1, 0);
    -moz-transform: scale(1, 0);
    -o-transform: scale(1, 0);
    transform: scale(1, 0);
  }
}
@-o-keyframes elasticus {
  0% {
    -webkit-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -o-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    -webkit-transform: scale(1, 0);
    -ms-transform: scale(1, 0);
    -moz-transform: scale(1, 0);
    -o-transform: scale(1, 0);
    transform: scale(1, 0);
  }
  50% {
    -webkit-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -o-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  50.1% {
    -webkit-transform-origin: 0% 100%;
    -ms-transform-origin: 0% 100%;
    -moz-transform-origin: 0% 100%;
    -o-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  100% {
    -webkit-transform-origin: 0% 100%;
    -ms-transform-origin: 0% 100%;
    -moz-transform-origin: 0% 100%;
    -o-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
    -webkit-transform: scale(1, 0);
    -ms-transform: scale(1, 0);
    -moz-transform: scale(1, 0);
    -o-transform: scale(1, 0);
    transform: scale(1, 0);
  }
}
@keyframes elasticus {
  0% {
    -webkit-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -o-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    -webkit-transform: scale(1, 0);
    -ms-transform: scale(1, 0);
    -moz-transform: scale(1, 0);
    -o-transform: scale(1, 0);
    transform: scale(1, 0);
  }
  50% {
    -webkit-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    -moz-transform-origin: 0% 0%;
    -o-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  50.1% {
    -webkit-transform-origin: 0% 100%;
    -ms-transform-origin: 0% 100%;
    -moz-transform-origin: 0% 100%;
    -o-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  100% {
    -webkit-transform-origin: 0% 100%;
    -ms-transform-origin: 0% 100%;
    -moz-transform-origin: 0% 100%;
    -o-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
    -webkit-transform: scale(1, 0);
    -ms-transform: scale(1, 0);
    -moz-transform: scale(1, 0);
    -o-transform: scale(1, 0);
    transform: scale(1, 0);
  }
}
#paschka {
  display: block;
  color: white;
  font-family:
    helvetica neue,
    helvetica,
    arial;
  font-size: 32px;
  text-decoration: none;
  position: fixed;
  bottom: 0px;
  right: 0px;
  padding: 0px;
  transition: all 0.1s ease;
  background: #000;
  height: 40px;
  line-height: 30px;
  vertical-align: middle;
  width: 40px;
  text-align: center;
  border-radius: 5%;
  bottom: 20px;
  right: 20px;
}
#paschka:hover {
  background: #232323;
  transition: all 0.1s ease;
  color: #f0f0f0;
}

@media screen and (max-width: 768px) {
  #wrapper {
    bottom: 2%;
    left: 3%;
  }

  #scroll-title {
    font-size: 10px;
  }
}
/*---MVスクロール促進---*/

/*-------------------------------------------
RCSサイト共通：下層ページ用デザイントークン／ラッパー

既存トップページへの影響を避けるため、既存変数は上書きせず、
新規の --rcs-* と .rcs-* のみを追加しています。
-------------------------------------------*/
:root {
  --rcs-color-brand: var(--color-primary);
  --rcs-color-brand-bright: var(--color-primary-bright);
  --rcs-color-ink: #252525;
  --rcs-color-muted: #747474;
  --rcs-color-line: #dedede;
  --rcs-color-page-surface: #f7f7f6;
  --rcs-content-width: 1180px;
  --rcs-page-gutter: 24px;
  --rcs-font-gothic:
    "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
    "游ゴシック", "Yu Gothic", sans-serif;
  --rcs-font-mincho:
    "A-OTF 教科書ICA Pro", "リュウミン R-KL", "游明朝", YuMincho,
    "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E",
    "ＭＳ Ｐ明朝", "ＭＳ 明朝", "Sawarabi Mincho", serif;
}

.rcs-page-main {
  display: block;
  overflow: clip;
}

.rcs-content-width {
  width: min(
    calc(100% - (var(--rcs-page-gutter) * 2)),
    var(--rcs-content-width)
  );
  margin-inline: auto;
}

@supports not (overflow: clip) {
  .rcs-page-main {
    overflow: hidden;
  }
}

/*-------------------------------------------
RCSサイト共通：下層ページヘッダー

各ページでは日本語タイトルと英語表記のみ変更して使用する。
-------------------------------------------*/
.subpage-hero {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: clamp(300px, 28vw, 400px);
  color: var(--rcs-color-ink);
  background-color: #c9c9c7;
}

.subpage-hero__inner {
  width: min(
    calc(100% - (var(--rcs-page-gutter) * 2)),
    var(--rcs-content-width)
  );
  margin-inline: auto;
  padding-block: 64px;
}

.subpage-hero__title {
  margin: 0;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

/*-------------------------------------------
RCSサイト共通：ページ内アンカーナビ

リンクの数に合わせて番号を自動採番する。
-------------------------------------------*/
.subpage-anchor-nav {
  width: 100%;
  background-color: #fff;
  border-block: 1px solid var(--rcs-color-line);
}

.subpage-anchor-nav__list {
  counter-reset: subpage-anchor;
  display: flex;
  width: min(
    calc(100% - (var(--rcs-page-gutter) * 2)),
    var(--rcs-content-width)
  );
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.subpage-anchor-nav__list > li {
  counter-increment: subpage-anchor;
  flex: 1 1 0;
  min-width: 0;
}

.subpage-anchor-nav__list > li + li {
  border-left: 1px solid var(--rcs-color-line);
}

.subpage-anchor-nav__list a {
  display: flex;
  align-items: center;
  min-height: 132px;
  padding: 24px clamp(18px, 2.2vw, 34px);
  color: var(--rcs-color-ink);
  text-decoration: none;
  transition:
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.subpage-anchor-nav__list a::before {
  content: counter(subpage-anchor, decimal-leading-zero);
  flex: 0 0 auto;
  margin-right: clamp(14px, 1.6vw, 24px);
  color: var(--rcs-color-brand);
  font: 500 12px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.12em;
}

.subpage-anchor-nav__label {
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: 0.05em;
}

.subpage-anchor-nav__list a::after {
  content: "\2193";
  flex: 0 0 auto;
  margin-left: auto;
  padding-left: 14px;
  color: var(--rcs-color-brand);
  font: 400 18px/1 Arial, Helvetica, sans-serif;
  transition: transform 0.25s ease;
}

.subpage-anchor-nav__list a:hover,
.subpage-anchor-nav__list a:focus-visible {
  color: var(--rcs-color-brand);
  box-shadow: inset 0 -3px 0 var(--rcs-color-brand);
}

.subpage-anchor-nav__list a:hover::after,
.subpage-anchor-nav__list a:focus-visible::after {
  transform: translateY(4px);
}

.subpage-anchor-nav__list a:focus-visible {
  outline: 2px solid var(--rcs-color-brand);
  outline-offset: -4px;
}

@media screen and (max-width: 1024px) {
  .subpage-anchor-nav__list {
    flex-wrap: wrap;
  }

  .subpage-anchor-nav__list > li {
    flex-basis: 50%;
  }

  .subpage-anchor-nav__list > li:nth-child(odd) {
    border-left: 0;
  }

  .subpage-anchor-nav__list > li:nth-child(n + 3) {
    border-top: 1px solid var(--rcs-color-line);
  }

  .subpage-anchor-nav__list a {
    min-height: 112px;
  }
}

@media screen and (max-width: 767px) {
  .subpage-anchor-nav__list {
    width: 100%;
  }

  .subpage-anchor-nav__list > li {
    flex-basis: 100%;
  }

  .subpage-anchor-nav__list > li + li {
    border-top: 1px solid var(--rcs-color-line);
    border-left: 0;
  }

  .subpage-anchor-nav__list a {
    min-height: 88px;
    padding: 18px 24px;
  }

  .subpage-anchor-nav__label {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .subpage-anchor-nav__list a,
  .subpage-anchor-nav__list a::after {
    transition: none;
  }
}

.subpage-hero__title::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin-top: 24px;
  background-color: var(--rcs-color-brand);
}

.subpage-hero__en {
  margin: 22px 0 0;
  color: var(--rcs-color-ink);
  font: 500 14px/1.5 Arial, Helvetica, sans-serif;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

@media screen and (max-width: 767px) {
  .subpage-hero {
    min-height: 260px;
  }

  .subpage-hero__inner {
    width: min(100% - 30px, var(--rcs-content-width));
    padding-block: 48px;
  }

  .subpage-hero__title {
    font-size: clamp(34px, 10vw, 46px);
  }

  .subpage-hero__title::after {
    width: 48px;
    height: 2px;
    margin-top: 20px;
  }

  .subpage-hero__en {
    margin-top: 18px;
    font-size: 12px;
    letter-spacing: 0.18em;
  }
}

/* ==========================================================
   RCSサイト共通：ページ内アンカーナビの追従

   .subpage-main直下に.subpage-anchor-navを設置すると、固定ヘッダー
   直下で追従する。追従開始後の.is-compactはmain.jsが付与する。
   ========================================================== */
.subpage-main > .subpage-anchor-nav {
  position: sticky;
  z-index: 700;
  top: var(--header-height);
  box-shadow: 0 8px 22px rgba(20, 20, 20, .08);
}

.subpage-anchor-nav-sentinel {
  display: block;
  width: 100%;
  height: 0;
}

.subpage-main > .subpage-anchor-nav .subpage-anchor-nav__list a {
  transition:
    min-height .25s ease,
    padding .25s ease,
    color .25s ease,
    box-shadow .25s ease;
}

.subpage-main > .subpage-anchor-nav.is-compact .subpage-anchor-nav__list a {
  min-height: 32px;
  padding-block: 12px;
}

/* アンカーナビ以降のトップレベルセクションを自動的に補正する。 */
.subpage-main > .subpage-anchor-nav ~ section[id] {
  scroll-margin-top: calc(var(--header-height) + 78px);
}

@media (max-width: 1024px) {
  .subpage-main > .subpage-anchor-nav {
    overflow: visible;
  }

  .subpage-main > .subpage-anchor-nav .subpage-anchor-nav__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .subpage-main > .subpage-anchor-nav .subpage-anchor-nav__list > li {
    min-width: 0;
    border-top: 0;
  }

  .subpage-main > .subpage-anchor-nav .subpage-anchor-nav__list > li + li {
    border-top: 0;
    border-left: 1px solid var(--rcs-color-line);
  }

  .subpage-main > .subpage-anchor-nav .subpage-anchor-nav__list > li:nth-child(odd) {
    border-left: 0;
  }

  .subpage-main > .subpage-anchor-nav .subpage-anchor-nav__list > li:nth-child(n + 3) {
    border-top: 1px solid var(--rcs-color-line);
  }

  .subpage-main > .subpage-anchor-nav .subpage-anchor-nav__label {
    min-width: 0;
    white-space: nowrap;
    font-size: clamp(10px, 2.9vw, 12px);
    letter-spacing: 0;
  }

  .subpage-main > .subpage-anchor-nav .subpage-anchor-nav__list a::before {
    margin-right: 5px;
    font-size: 10px;
    letter-spacing: 0;
  }

  .subpage-main > .subpage-anchor-nav .subpage-anchor-nav__list a::after {
    padding-left: 4px;
    font-size: 14px;
  }

  .subpage-main > .subpage-anchor-nav .subpage-anchor-nav__list a {
    min-height: 64px;
    height: 100%;
    padding: 10px 6px;
  }

  .subpage-main > .subpage-anchor-nav.is-compact .subpage-anchor-nav__list a {
    min-height: 64px;
    padding-block: 8px;
  }

  .subpage-main > .subpage-anchor-nav ~ section[id] {
    scroll-margin-top: calc(var(--header-height) + 64px);
  }
}
