/* ---------- base ---------- */
html {
  font-size: 16px;
  line-height: 1.8;
}

img {
  /* height: 100%; */
  width: 100%; /* 画像のサイズを親要素の横幅に合わせたい場合。 */
  height: 100%;
  object-fit: cover; /* もし表示させたい比率と画像の比率が異なると画像が歪むので、object-fitによって制御する。 */
}

body {
  font-family: "Noto Sans JP", sans-serif;
}

:root {
  --white-color: #fff;
  --black-color: #333333;
  --base-color: #f8f9fa;
  --main-color: #4b5d9a;
  --accent-color: #d64545;
  --gray-color01: #f7f7f7;
  --gray-color02: #e8e8e8;
  --gray-color03: #aaa;
}

:root {
  --content-width-sm: 1112px;
  --content-width: 1168px;
  --content-width-lg: 1408px;
}

.l_container-sm,
.l_container,
.l_container-lg {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
}

.l_container-sm {
  max-width: calc(var(--content-width-sm) + 32px);
}

.l_container {
  max-width: calc(var(--content-width) + 32px);
}

.l_container-lg {
  max-width: calc(var(--content-width-lg) + 32px);
}

.l_contents {
  padding: 80px 0;
}

@media screen and (min-width: 640px) {
  .l_contents {
    padding: 120px 0;
  }
}

.m_container {
  padding: 0 0 0 16px;
  margin: 0 0 0 auto;
  max-width: calc(var(--content-width) + (100vw - var(--content-width)) / 2);
}

.works_contents {
  padding: 160px 0;
}

@media screen and (min-width: 640px) {
  .works_contents {
    padding: 220px 0 120px;
  }
}

/* ---------- utility ---------- */
@media screen and (min-width: 375px) {
  .u_sm-dn {
    display: none;
  }
}
@media screen and (min-width: 640px) {
  .u_md-dn {
    display: none;
  }
}

@media screen and (min-width: 1080px) {
  .u_lg-dn {
    display: none;
  }
}

/* ---------- header ---------- */
.l_header {
  height: 72px;
  width: 100%;
  padding: 0 16px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  transition: transform 0.3s ease;
}

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

@media screen and (min-width: 640px) {
  .l_header {
    padding: 0 40px;
    height: 100px;
  }
}

.l_header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.l_header-logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.l_header-logo_link {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.l_header-logo_icon-wrapper {
  width: 24px;
  height: 32px;
}

.l_header-logo_icon {
  width: 100%;
  height: 100%;
}

.l_header-logo_txt {
  color: var(--black-color);
  font-size: 1.35rem;
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
}

.top_header-logo_txt {
  color: var(--white-color);
}

.m_hamburger {
  width: 24px;
  height: 24px;
  position: relative;
}

@media screen and (min-width: 1080px) {
  .m_hamburger {
    display: none;
  }
}

.m_hamburger-bar {
  position: absolute;
  background-color: var(--black-color);
  transition: 0.5s;
}

.top_hamburger-bar {
  background-color: var(--white-color);
}

/* プラスの形 */
/* .m_hamburger-bar:first-child {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.m_hamburger-bar:last-child {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
} */

/* 二本線の形 */
.m_hamburger-bar:first-child {
  width: 100%;
  height: 2px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-6px); /* 上にずらす */
  transition: 0.3s ease;
  transform-origin: center;
}

.m_hamburger-bar:last-child {
  width: 100%;
  height: 2px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(6px); /* 下にずらす */
  transition: 0.3s ease;
  transform-origin: center;
}

.l_header-nav {
  display: none;
}

@media screen and (min-width: 1080px) {
  .l_header-nav {
    display: block;
  }
}

.l_header-nav_list {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* .l_header-nav_link {
  color: var(--black-color);
  font-family: "Lato", sans-serif;
  font-weight: bold;
  font-size: 1.05rem;
} */

.slide-text {
  position: relative;
  display: inline-block;
  width: 6.5rem; /* 例: WORKSと施工事例どちらにも合う適度な幅 */
  height: 1.2em;
  overflow: hidden;
}

.slide-en,
.slide-ja {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.4s ease;
  font-family: "Lato", sans-serif;
  font-weight: bold;
  font-size: 1.05rem;
  color: var(--black-color-color);
}

/* .top_header-nav_link .slide-en,
.top_header-nav_link .slide-ja {
  color: var(--white-color);
} */

.top_header-nav_list {
  color: var(--white-color);
}

.slide-en {
  transform: translateY(0%);
  z-index: 1;
}

.slide-ja {
  transform: translateY(100%);
  z-index: 0;
}

.l_header-nav_link:hover .slide-en {
  transform: translateY(-100%);
}

.l_header-nav_link:hover .slide-ja {
  transform: translateY(0%);
}

@media screen and (min-width: 1080px) {
  .l_header-nav-sp {
    display: none;
  }
}

.l_header-nav-sp {
  position: fixed;
  top: 0 !important;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gray-color03);
  z-index: -1;
  height: 100vh;
}

.l_header-nav_list-sp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.l_header-nav_item-sp {
  padding: 0 16px;
  position: relative;
}

.l_header-nav_item-sp::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 16px;
  width: 100%;
  height: 1px;
  background-color: var(--white-color);
}

.l_header-nav_link-sp {
  color: var(--white-color);
  font-family: "Lato", sans-serif;
  font-weight: bold;
  font-size: 2rem;
  display: block;
  width: 100%;
}

.l_header-nav_sub-sp {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.25rem;
  font-weight: normal;
  color: var(--white-color);
  margin-left: 16px;
}

/* ---------- footer ---------- */
.l_footer {
  background-color: var(--black-color);
  padding: 80px 0 16px;
}

.l_footer_contents {
  display: flex;
  gap: 80px;
  flex-direction: column;
  margin-top: 40px;
}

.l_footer_info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--base-color);
}

.l_footer-logo {
  display: inline-block;
}

.l_footer-logo_link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.l_footer-logo_icon-wrapper {
  width: 24px;
  height: 32px;
}

.l_footer-logo_icon {
  width: 100%;
  height: 100%;
}

.l_footer-logo_txt {
  font-size: 1.35rem;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
}

.l_footer_menu-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.l_footer_menu-list::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--gray-color02);
}

.l_footer_menu-item {
  color: var(--base-color);
  font-size: 1.25rem;
}

.l_footer_menu_sub {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  font-weight: bold;
  margin-left: 8px;
}

.l_footer_menu-item {
  overflow: hidden;
  padding-top: 2px;
  border-bottom: 2px solid transparent;
  transition: border-bottom-color 0.24s;
}

.l_footer_menu-item:hover {
  border-bottom-color: var(--white-color);
}

.l_footer_menu-link {
  position: relative;
  overflow: hidden;
}

.l_footer_copyright {
  text-align: center;
  margin-top: 40px;
}

.l_footer_copyright_txt {
  color: var(--white-color);
  font-size: 0.75rem;
}

@media screen and (min-width: 640px) {
  .l_footer_contents {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media screen and (min-width: 640px) {
  .l_footer_info-list {
    margin-top: 0;
  }
}

@media screen and (min-width: 640px) {
  .l_footer_menu-list {
    margin-top: 0;
    max-width: 550px;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    gap: 40px 56px;
  }
}

@media screen and (min-width: 640px) {
  .l_footer_menu-list::before {
    top: 0;
    left: -10%;
    width: 1px;
    height: 100%;
  }
}

@media screen and (min-width: 1080px) {
  .l_footer_menu-list::before {
    left: -20%;
  }
}

@media screen and (min-width: 1080px) {
  .l_footer_copyright {
    margin-top: 80px;
  }
}

/* ---------- m_arrow-button ---------- */
.m_arrow-button {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  font-size: 12px;
  color: var(--main-color);
  text-decoration: none;
  border-radius: 50%;
  overflow: hidden;
}

.m_circle-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.m_circle-border circle {
  fill: none;
  stroke: var(--main-color);
  stroke-width: 2;
  stroke-dasharray: 301.59; /* 2πr ≈ 2×π×48 */
  stroke-dashoffset: 301.59;
  transition: stroke-dashoffset 0.8s ease;
}

.top_pickup_item:hover .m_circle-border circle {
  stroke-dashoffset: 0;
}

.top_pickup_item:hover .top_pickup_img {
  transform: scale(1.05);
}

/* ---------- m_section-title ---------- */
.m_section-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.m_section-title_ja {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.75rem;
}

.m_section-title_en {
  display: block;
  font-family: "Lato", sans-serif;
  font-size: 1.75rem;
  font-weight: bold;
}

@media screen and (min-width: 1080px) {
  .m_section-title_en {
    font-size: 2.25rem;
  }
}
/* ---------- m_btn ---------- */
.m_btn_right-arrow {
  width: 60px;
  height: 60px;
  color: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 50%;
  padding: 8px;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top_kv_btn-wrapper {
  position: absolute;
  bottom: 10%;
  right: 10%;
}

.top_kv_btn {
  color: var(--white-color);
  transition: transform 0.3s ease;
}

.top_kv_btn:hover {
  transform: translateX(10px);
}

.top_pickup_btn-wrapper {
  margin: 64px 0 auto;
  text-align: center;
}

.top_about_btn-wrapper {
  margin: 64px 0 auto;
  text-align: center;
}

@media screen and (min-width: 640px) {
  .top_about_btn-wrapper {
    text-align: left;
  }
}

.top_service_btn-wrapper {
  margin: 64px 0 auto;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .top_service_btn-wrapper {
    text-align: left;
  }
}

.news_box:hover .m_btn_right-arrow {
  background-color: var(--main-color);
  color: var(--white-color);
}

.contact_form_btn-wrapper {
  margin: 64px auto 0;
  text-align: center;
}

.contact_form_btn-wrapper .m_btn__submit {
  cursor: pointer;
}

.m_btn_input {
  cursor: pointer;
}

.m_btn__submit:hover .m_btn_input {
  text-decoration: underline;
}

.m_btn {
  display: inline-flex;
  gap: 16px;
  align-items: center;
}

.m_btn:hover .m_btn_head {
  text-decoration: underline var(--main-color);
}

.m_btn:hover .m_btn_head__cta {
  text-decoration: none;
}

.m_btn:hover .top_kv_btn_head {
  text-decoration: none;
}


.m_btn:hover .m_btn_right-arrow {
  background-color: var(--main-color);
  color: var(--white-color);
}

/* ---------- m_cta ---------- */
.m_cta {
  background: url(../images/contact.webp) no-repeat center center / cover;
  padding: 80px 0;
  height: 100%;
  color: var(--white-color);
  position: relative;
  overflow: hidden;
}

@media screen and (min-width: 1080px) {
  .m_cta {
    padding: 120px 0;
  }
}

.m_cta::before {
  content: "";
  position: absolute;
  inset: 0; /* top: 0; right: 0; bottom: 0; left: 0; と同じ */
  background-color: rgba(0, 0, 0, 0.5); /* 黒で50%の透過 */
  z-index: 1;
}

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

@media screen and (min-width: 1080px) {
  .m_section-title__cta {
    text-align: left;
  }
}

.m_cta_box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 2; /* ::beforeの上に表示するため */
}

@media screen and (min-width: 1080px) {
  .m_cta_box {
    align-items: flex-start;
  }
}

.m_cta_txt {
  text-align: center;
}

@media screen and (min-width: 1080px) {
  .m_cta_txt {
    text-align: left;
  }
}

.m_cta_btn-wrapper .m_btn_right-arrow {
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
}

.m_cta:hover .m_btn_right-arrow__cta {
  background-color: var(--accent-color);
  color: var(--white-color);
  transform: scale(1.3);
}

/* .m_cta_btn-wrapper:hover .m_btn_right-arrow__cta {
  background-color: var(--accent-color);
  color: var(--white-color);
  transform: scale(1.3);
} */

.cursor-follower {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--accent-color);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.05s linear;
  z-index: 1000;
}

.m_cta_btn-wrapper:hover .cursor-follower {
  width: 0;
  height: 0;
}


/* ----------- m_kv ---------- */
.m_kv {
  padding-top: 80px;
  height: 50vh;
}

@media screen and (min-width: 640px) {
  .m_kv {
    padding-top: 100px;
    height: 60vh;
  }
}

@media screen and (min-width: 1080px) {
  .m_kv {
    height: 80vh;
  }
}

.m_kv-box {
  display: flex;
  flex-direction: column-reverse;
  gap: 24px;
}

@media screen and (min-width: 1080px) {
  .m_kv-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }
}

.m_kv_img-wrapper {
  aspect-ratio: 16 / 9;
  max-height: 350px;
  overflow: hidden;
  border-radius: 20px 0 0 20px;
}

@media screen and (min-width: 1080px) {
  .m_kv_img-wrapper {
    aspect-ratio: 3 / 4;
    max-width: 714px;
    max-height: 724px;
    width: 50%;
  }
}

.m_kv_title {
  font-size: 2rem;
  font-weight: bold;
  font-family: "Lato", sans-serif;
}

@media screen and (min-width: 1080px) {
  .m_kv_title {
    font-size: 3.125rem;
  }
}

.m_kv_title-sub {
  font-size: 0.875rem;
  margin-left: 16px;
  font-weight: normal;
}

/* ---------- top_kv ---------- */
.top_kv {
  width: 100%;
  height: 100vh;
}


.top_kv-inner {
  position: relative;
  height: 100%;
}

.top_kv_box {
  position: absolute;
  top: 45%;
  width: auto;
  z-index: 2;
}

@media screen and (min-width: 1080px) {
  .top_kv_box {
    top: 45%;
  }
}

.top_kv_copy {
  font-size: 2rem;
  color: #fff;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  display: inline-block;
}

.top_kv-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* padding-top: 72px; */
  /* max-height: 1000px; */
}

/* @media screen and (min-width: 1088px) {
  .top_kv-slideshow {
    padding-top: 80px;
  }
} */

.top_kv-slideshow_slide_img {
  object-fit: cover;
  object-position: center center;
  height: 100%;
  filter: brightness(0.8);
}

/* @media screen and (min-width: 640px) {
  .sp-only {
    display: none;
  }
} */

.top_kv_dots {
  /* ドットの全体（枠） */
  position: absolute;
  left: 85% !important;
  transform: translateX(-50%);
  bottom: 5% !important;
  width: 96px !important;
  /* 幅 */
  height: 16px;
  /* 高さ */
  display: flex;
  /* 横並び */
  justify-content: space-between;
  /* 両端揃え */
  z-index: 3;
}

.top_kv_dots .swiper-pagination-bullet {
  /* Swiperが自動的に特定のclass名を付与している
  「swiper-pagination-bullet」はつまり1つのドットを示している */
  background: var(--white-color);
  /* color: transparent; */
  /* 要素内のテキストが透明になり、背景や他の要素が見えるようになります。
  要素自体は表示されますが、その内部のテキストは見えなくなる
   */
  
  /* border: 2px solid var(--white-color); */
  width: 12px;
  height: 12px;
  border-radius: 100vh;
  /* 16px四方の正円 */
  margin: 0 8px;
  position: relative;
}

.top_kv_dots .swiper-pagination-bullet.swiper-pagination-bullet-active {
  /* Swiperが自動的に特定のclass名を付与している
  「swiper-pagination-bullet-active」はドットの中で選択されている箇所を表している */
  background: var(--main-color);
  position: relative;
}

/* SVGそのもののサイズ */
.bullet-progress {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 24px;
  height: 24px;
  transform: rotate(-90deg);
}

/* 背景円（薄いガイド） */
.progress-bg {
  fill: none;
  /* stroke: rgba(255, 255, 255, 0.1); */
  stroke-width: 1;
}

/* アニメーション対象のリング */
.progress-ring {
  fill: none;
  stroke: var(--main-color);
  stroke-width: 1;
  stroke-dasharray: 62.8; /* 2πr = 2 * 3.14 * 10 */
  stroke-dashoffset: 62.8;
  transition: stroke-dashoffset 0s;
}

/* アクティブなときに進捗アニメーションをつける */
.swiper-pagination-bullet-active .progress-ring {
  animation: fillRing 5s linear forwards;
}

@keyframes fillRing {
  from {
    stroke-dashoffset: 62.8;
  }
  to {
    stroke-dashoffset: 0;
  }
}


.top_kv_credit {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 0.625rem;
  color: #fff;
  background: rgba(0,0,0,0.4);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ---------- top_pickup ---------- */
.top_pickup_list {
  display: grid;
  gap: 40px;
  margin-top: 80px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .top_pickup_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }
}

@media (min-width: 1024px) {
  .top_pickup_list {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 16px;
  }
}

.top_pickup_img-wrapper {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 2px 2px 4px rgba(170, 170, 170, 0.16);
}

@media screen and (min-width: 640px) {
  .top_pickup_img-wrapper {
    border-radius: 20px;
  }
}

.top_pickup_img {
  transition: transform 0.3s ease;
  aspect-ratio: 4 / 3;
}

.top_pickup_content {
  display: flex;
  gap: 16px;
  align-items: center;
  /* margin-top: 16px; */
  padding: 16px 8px;
}

.top_pickup_title {
  font-size: 0.875rem;
  font-weight: 500;
}

/* ---------- top_about ---------- */
@media screen and (min-width: 640px) {
  .top_about {
    background: url(../images/m_kv.webp) no-repeat center right / cover;
  }
}

@media screen and (min-width: 640px) {
  .top_about .l_contents {
    padding: 0;
  }
}

@media screen and (min-width: 640px) {
  .top_about_box {
    background: var(--base-color);
    padding: 120px;
    max-width: 700px;
  }
}

.top_about_img-wrapper {
  width: calc(100vw - 16px);
  aspect-ratio: 4 / 3;
  margin-top: 40px;
}

.top_about_main-txt {
  font-size: 1.75rem;
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
  margin-top: 40px;
}

.top_about_sub-txt {
  font-family: "Noto Serif JP", serif;
  margin-top: 40px;
}

/* ---------- top_service ---------- */
.top_service_txt {
  margin-top: 40px;
}

.top_service_img-wrapper {
  width: 80%;
  height: auto;
  margin: 40px auto 0;
}

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

@media screen and (min-width: 768px) {
  .top_service_txts {
    width: 50%;
  }
}

@media screen and (min-width: 768px) {
  .top_service_img-wrapper {
    width: 35%;
    height: auto;
    margin: 0;
  }
}

/* ---------- company_message ----------- */
.company_message_img-wrapper {
  width: 80%;
  margin: 60px auto 0;
}

.company_message_txt-box {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 60px;
}

.company_message_txt:last-child {
  text-align: right;
}

@media screen and (min-width: 1080px) {
  .company_message_contents {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
  }
}

@media screen and (min-width: 1080px) {
  .company_message_img-wrapper {
    width: 40%;
    margin: 0;
  }
}

@media screen and (min-width: 1080px) {
  .company_message_txt-box {
    width: 50%;
  }
}


/* ---------- company_philosophy ---------- */
.company_philosophy_txt,
.company_philosophy_message-txt,
.company_philosophy_guid-item {
  font-size: 0.875rem;
  font-weight: bold;
}

.company_philosophy_txt {
  margin-top: 60px;
}

.company_philosophy_message-txt {
  margin-top: 40px;
}

.company_philosophy_guid-item {
  margin-top: 40px;
  position: relative;
  padding-left: 40px;
}

.company_philosophy_guid-item::before {
  font-size: 1.25rem;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.company_philosophy_guid-item:first-child::before {
  content: "01";
}
.company_philosophy_guid-item:nth-child(2)::before {
  content: "02";
}
.company_philosophy_guid-item:nth-child(3)::before {
  content: "03";
}
.company_philosophy_guid-item:nth-child(4)::before {
  content: "04";
}
.company_philosophy_guid-item:nth-child(5)::before {
  content: "05";
}
.company_philosophy_guid-item:nth-child(6)::before {
  content: "06";
}
.company_philosophy_guid-item:nth-child(7)::before {
  content: "07";
}

.company_philosophy_message,
.company_philosophy_guid {
  font-size: 1.25rem;
  font-weight: bold;
  margin-top: 60px;
}

@media screen and (min-width: 640px) {
  .company_philosophy-box {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    /* gap: 200px; */
  }
}

@media screen and (min-width: 640px) {
  .company_philosophy_title-box {
    width: 40%;
  }
}

@media screen and (min-width: 640px) {
  .company_philosophy_content-box {
    width: 40%;
  }
}

/* ---------- company_about us & company_history ---------- */
@media screen and (min-width: 640px) {
  .company_section_box {
    display: flex;
    justify-content: space-between;
  }
}

@media screen and (min-width: 640px) {
  .company_about {
    width: 48%;
  }
}

@media screen and (min-width: 640px) {
  .company_history {
    width: 48%;
  }
}

@media screen and (min-width: 800px) {
  .company_about {
    width: 40%;
  }
}

@media screen and (min-width: 800px) {
  .company_history {
    width: 40%;
  }
}

.company-overview {
  /* max-width: 600px; */
  margin: 60px auto 0;
}

.company-overview dl {
  margin: 0;
  padding: 0;
}

.overview-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-wrap: wrap;
  /* padding: 1rem 0; */
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-color03);
}

@media screen and (min-width: 1080px) {
  .overview-item {
    flex-direction: row;
  }
}

.overview-item:not(:first-child) {
  margin-top: 24px;
}

.overview-item dt {
  /* width: 30%; */
  font-weight: bold;
}

.overview-item dd {
  /* width: 70%; */
  margin: 0;
}

@media screen and (min-width: 1080px) {
.overview-item dt {
  width: 30%;
}
}

@media screen and (min-width: 1080px) {
  .overview-item dd {
  width: 60%;
}
}

.history {
  /* max-width: 800px; */
  margin: 60px auto 0;
  /* padding: 2rem 1rem; */
  /* font-family: sans-serif; */
}

.history-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  /* margin-bottom: 2rem; */
}

.history-item:not(:first-child) {
  margin-top: 48px;
}

.year {
  width: 100px;
  font-weight: bold;
  font-size: 1rem;
  white-space: nowrap;
}

.events {
  flex: 1;
}

.event {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-color03);
}

.event:not(:first-child) {
  margin-top: 24px;
}

.month {
  width: 3rem;
  font-weight: normal;
}

.description {
  flex: 1;
}

/* ---------- service-features ---------- */
.service_features {
  background-color: var(--black-color);
  position: relative;
}
.service_features-title {
  color: var(--white-color);
}
.service_features_img-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 4px 4px 4px rgba(170, 170, 170, 0.16);
  margin-top: 60px;
}

.service_features_box {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 40px auto 0;
  width: 90%;
}

@media screen and (min-width: 640px) {
  .service_features_box {
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
  }
}

.service_features_txt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  gap: 40px;
}

@media screen and (min-width: 640px) {
  .service_features_txt {
    width: 40%;
    text-align: left;
  }
}

.service_features_txt:nth-child(2n) {
  flex-direction: row-reverse;
}

@media screen and (min-width: 640px) {
  .service_features_txt:nth-child(2n) {
  flex-direction: row;
}
}

.service_features_desc {
  /* font-size: 0.825rem; */
  font-weight: bold;
  color: var(--white-color);
  width: 80%;
  margin: 0 auto;
}

.service_features_num {
  color: transparent; /* 中を透明にする */
  -webkit-text-stroke: 1px white; /* 白色の縁取り */
  font-size: 2.5rem;
  width: auto;
}

/* @media screen and (min-width: 1080px) {
  .service_features {
    height: 100vh;
  }
}

@media screen and (min-width: 1080px) {
  .service_features_box {
    display: none;
  }
}

@media screen and (min-width: 1080px) {
  .service_features_contents {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: var(--content-width);
    padding: 0 16px;
  }
}

@media screen and (min-width: 1080px) {
  .service_features_img-wrapper {
    width: 45%;
    aspect-ratio: 4 / 3;
    margin-top: 0;
  }
}

@media screen and (min-width: 1080px) {
  .service_features_pc {
    width: 40%;
  }
}

@media screen and (min-width: 1080px) {
  .service_features_txt {
    width: 100%;
    text-align: left;
    flex-direction: column;
    align-items: flex-start;
  }
} 

@media screen and (min-width: 1080px) {
  .service_features_num {
    font-size: 3rem;
  }
}

@media screen and (min-width: 1080px) {
  .service_features_desc {
    font-size: 1.5rem;
    margin: 0;
    width: 100%;
  }
}

@media screen and (min-width: 1080px) {
  .service_features_nav-list  {
    margin-top: 60px;
    display: flex;
    gap: 16px;
  }
}

@media screen and (min-width: 1080px) {
  .service_features_nav-item {
    color: var(--white-color);
    background-color: var(--gray-color03);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media screen and (min-width: 1080px) {
  .service_features_nav-item__current {
    background-color: var(--main-color);
  }
} */


/* ---------- service-process ---------- */
.service_process_card {
  background: var(--gray-color01);
  box-shadow: 4px 4px 4px rgba(170, 170, 170, 0.5);
  border-radius: 10px;
  width: 100%;
  padding: 16px;
  margin-top: 60px;
  overflow: hidden;
}

.service_process_list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service_process_item {
  font-size: 0.875rem;
  font-weight: bold;
  padding-left: 32px;
  position: relative;
}

.service_process_item::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50vh;
  background-color: var(--main-color);
  position: absolute;
  top: 6px;
  left: -4px;
  z-index: 1;
}

/* .service_process_item:not(:first-child)::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 2px;
  background: var(--black-color);
  width: 2px;
  height: 65px;
} */

.service_process_item::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 2px;
  background: var(--black-color);
  width: 2px;
  height: 65px;
}

.service_process_item:first-child:before {
  display: none;
}

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

@media screen and (min-width: 640px) {
  .service_process_card {
    padding: 100px 16px 40px;
  }
}

@media screen and (min-width: 640px) {
  .service_process_list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 100px 40px;
  }
}

@media screen and (min-width: 640px) {
  .service_process_item {
  font-size: 1rem;
  font-weight: normal;
  padding-left: 0;
  width: 250px;
  text-align: center;
}
}

@media screen and (min-width: 640px) {
  .service_process_item::after {
  width: 40px;
  height: 40px;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
}
}

@media screen and (min-width: 640px) {
  .service_process_item:first-child:after {
    content: "1";
  }
}

@media screen and (min-width: 640px) {
  .service_process_item:nth-child(2):after {
    content: "2";
  }
}
@media screen and (min-width: 640px) {
  .service_process_item:nth-child(3):after {
    content: "3";
  }
}
@media screen and (min-width: 640px) {
  .service_process_item:nth-child(4):after {
    content: "4";
  }
}
@media screen and (min-width: 640px) {
  .service_process_item:nth-child(5):after {
    content: "5";
  }
}
@media screen and (min-width: 640px) {
  .service_process_item:nth-child(6):after {
    content: "6";
  }
}
@media screen and (min-width: 640px) {
  .service_process_item:last-child:after {
    content: "7";
  }
}

@media screen and (min-width: 640px) {
  .service_process_item::before {
    display: none;
}
}

/* ---------- single-work ---------- */
.single_kv {
  width: 100%;
  height: 45vw;
  min-height: 450px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-shadow: 2px 2px 4px rgba(170, 170, 170, 0.16);
}

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

@media screen and (min-width: 1080px) {
  .single_work-desc {
    width: 55%;
  }
}

@media screen and (min-width: 1080px) {
  .single_work-info {
    width: 40%;
  }
}

.single_work-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.single_work-name {
  font-size: 1.75rem;
}

.single_work-date {
  font-size: 0.75rem;
  color: var(--gray-color03);
}

.single_work-title {
  font-size: 1.25rem;
  margin-top: 40px;
}

.single_work-desc p {
  font-size: 0.875em;
  margin-top: 40px;
}

.single_work-overview {
  border-top: 1px solid var(--gray-color03);
}

.single_work-overview {
  /* max-width: 600px; */
  margin: 60px auto 0;
}

@media screen and (min-width: 1080px) {
  .single_work-overview {
  /* max-width: 600px; */
  margin: 0;
}
}

.single_work-overview dl {
  margin: 0;
  padding: 0;
}


.single_work-overview-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-wrap: wrap;
  /* padding: 1rem 0; */
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-color03);
  margin-top: 24px;
}

@media screen and (min-width: 640px) {
  .single_work-overview-item {
    flex-direction: row;
  }
}

.single_work-overview-item dt {
  /* width: 30%; */
  font-weight: bold;
  font-size: 0.875rem;
}

.single_work-overview-item dd {
  /* width: 70%; */
  margin: 0;
  font-size: 0.875rem;
}

@media screen and (min-width: 640px) {
.single_work-overview-item dt {
  width: 30%;
}
}

@media screen and (min-width: 640px) {
  .single_work-overview-item dd {
  width: 60%;
}
}

.single_work-gallery {
  margin-top: 60px;
}

@media screen and (min-width: 1080px) {
  .single_work_img-flex {
    display: flex;
    justify-content: space-between;
    max-height: 800px;
  }
}

.single_work_img-wrapper {
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 4px 4px 4px rgba(170, 170, 170, 0.5);
}

@media screen and (min-width: 1080px) {
  .single_work_img-wrapper {
    width: 75%;
    margin: 0;
  }
}

.single_work_img-sub_list {
  width: calc(100% + ((100vw - 100%) / 2));
  display: flex;
  overflow-x: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;  /* IE, Edge */
  margin: 40px auto 0;
  gap: 0 16px;
}
.single_work_img-sub_list::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

@media screen and (min-width: 1080px) {
  .single_work_img-sub_list {
    /* display: grid; */
    /* grid-template-columns: repeat(2, 1fr); */
    flex-direction: column;
    width: 23%;
    gap: 16px;
    margin: 0;
    /* overflow: hidden; */
    overflow-y: scroll;
    flex-shrink: 0;
}
}

.single_work_img-sub-wrapper {
  width: 15%;
  min-width: 150px;
  aspect-ratio: 4 / 3;
  border-radius: 15px;
  overflow: hidden;
}

@media screen and (min-width: 1080px) {
  .single_work_img-sub-wrapper {
    width: 100%;
    flex-shrink: 0;
  }
}



/* ---------- news ---------- */
.news_contents {
  margin-top: 60px;
  border-top: 1px solid var(--gray-color03);
}

.news_box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid var(--gray-color03);
  padding: 40px 0;
  cursor: pointer;
}

@media screen and (min-width: 1080px) {
  .news_box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.news_title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media screen and (min-width: 1080px) {
  .news_title {
    width: 80%;
  }
}

.news_txt {
  transition: transform 0.3s ease;
}

@media screen and (min-width: 640px) {
  .news_box:hover .news_txt {
  transform: translateX(24px);
}
}


.modal {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  margin: auto;
  width: 90%;
  height: auto;
  max-width: 1000px;
  max-height: 70vh;
  padding: 32px;
  color: #fff;
  background-color: var(--base-color);
  border-radius: 20px;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
  overflow: scroll;
}

.modal-close {
  margin-left: auto;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white-color);
  background-color: var(--main-color);
  border-radius: 50%;
  position: sticky;
  top: 1%;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.2);
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
}


.modal.is-active {
  visibility: visible;
  opacity: 1;
}
.overlay.is-active {
  visibility: visible;
  opacity: 1;
}

.modal_title-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

@media screen and (min-width: 640px) {
  .modal_title-box {
    flex-direction: row;
    gap: 0px;
    justify-content: space-between;
    align-items: end;
}
}

.modal-title {
  font-size: 1.25rem;
  color: var(--black-color);
}

.modal-date {
  font-size: 0.875rem;
  color: var(--gray-color03);
}

.modal_txt {
  color: var(--black-color);
}

.modal_txt-box {
  margin-top: 40px;
}

.modal-close-txt {
  color: var(--black-color);
  width: 100%;
  margin: 60px auto 0;
}

.modal_txt-box {
  color: #333; /* または #000など、背景に対して読みやすい色に */
}

/* ---------- contact ---------- */
.contact_form {
  margin-top: 60px;
}

.contact_form_heading {
  font-weight: bold;
  position: relative;
  font-size: 0.875rem;
  /* 「contact_form_required」のposition指定の基準 */
}

.contact_form_heading:not(:first-child) {
  margin-top: 40px;
  /* 最初以外の上下余白 */
}

.contact_form_example {
  color: var(--gray-color03);
  font-size: 12px;
  font-weight: normal;
  margin-left: 16px;
  /* headingとexample左右余白 */
}

.contact_form_detail {
  margin-top: 16px;
  /* inputの枠とheadingの上下余白 */
}

.contact_form_input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--gray-color03);
  border-radius: 4px;
  /* 入力欄 */
  padding: 0 8px;
  /* 入力時、左右に余裕を持たせる */
}

.contact_form_required {
  font-size: 12px;
  font-weight: bold;

  padding: 0 8px;
  /* 必須の枠内の左右余白 */

  display: flex;
  justify-content: center;
  align-items: center;
  /* 「必須」の上下左右中央寄せ */

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

  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  /* 上下中央＆relative要素の右端 */
}

/* contact_form_radio関連について、
検証ツールで確認してみたら、自分が付与したクラス名が反映されておらず、
Contact Form 7が自動で付与したクラス名が反映されていた。
残っていたのは
.contact_form_radio {
  appearance: radio;
} だけ*/

@media screen and (min-width: 1080px) {
  .contact_form_radio-list {
    display: flex;
    /* radio-item横並び */
  }
}

.contact_form_radio-item {
  display: flex;
  align-items: center;
  /*上下中央寄せ */
  margin-top: 16px;
}

@media screen and (min-width: 1080px) {
  .contact_form_radio-item {
    margin-right: 40px;
    /* 横並びになった時のradio-itemの右余白 */
  }
}

.contact_form_radio {
  appearance: radio;
  /* radioボタン出現 */
}

.contact_form_label {
  font-size: 14px;
  font-weight: bold;
  padding-left: 16px;
  /* 項目名とラジオボタンの左右余白 */
  width: 100%;
}

.contact_form_textarea {
  width: 100%;

  height: 250px;
  /* 高さ指定 */

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

  padding: 8px 16px;
  /* 入力時に余裕を持たせる */

  resize: none;
  /* 要素がユーザーによってリサイズされるのを防ぐために使用。
  テキストエリアの右下にサイズ調整できる箇所があった。
  ユーザーがテキストエリアのサイズを変更してしまうと、デザインが崩れる可能性があります。
  そのため、この機能を無効にする*/
}

.contact_form_privacy-wrapper {
  font-size: 14px;
  font-weight: bold;
  margin-top: 43px;
  /* textareaとの上下余白 */
  text-align: center;
  /* テキスト中央寄せ */
}

.contact_form_privacy-link {
  color: var(--main-color);
}
.contact_form_privacy-link:hover {
  text-decoration: underline var(--main-color);
}

/* チェックボックスデザイン
input[type="checkbox"] セレクターを使って全てのチェックボックスに適用されるスタイルを定義
⇒今回はプライバシーポリシーのチェックボックス */
input[type="checkbox"] {
  cursor: pointer;/* ユーザーにクリッカブルな要素であることを示します。 */
  padding-left: 30px;/*label手前にチェックボックス用の余白を開ける。今回はチェックボックスと「プライバシーポリシー」の左右余白*/
  vertical-align: middle;/* チェックボックスを垂直方向に中央揃え */
  position: relative;
}

input[type="checkbox"]::before,
input[type="checkbox"]::after {
  /* チェックボックスの外観（before）とチェックマーク（after）の共通部分の指定 */
  content: "";
  display: block;
  position: absolute;
}

input[type="checkbox"]::before {/* チェックボックスの背景や枠線を定義 */
  background-color: #fff;
  border-radius: 0%;
  border: 1px solid var(--gray-color03);
  width: 24px; /*チェックボックスの横幅*/
  height: 24px; /*チェックボックスの縦幅*/
  transform: translateY(-50%);
  top: 50%;
  left: 5px;
  border-radius: 4px;
}

/*フォーカス（tabキー）が当たっているときに、チェックボックスの外観を変更 */
input[type="checkbox"]:focus-visible::before {
  border-color: blue;
}

input[type="checkbox"]::after {/* チェックマークの定義※デフォルトでは非表示 */
  border-bottom: 3px solid var(--main-color); /*チェックの太さ*/
  border-left: 3px solid var(--main-color); /*チェックの太さ*/
  opacity: 0; /*チェック前は非表示*/
  height: 10px; /*チェックの高さ*/
  width: 17px; /*チェックの横幅*/
  transform: rotate(-45deg);
  top: -7px; /*チェック時の位置調整*/
  left: 9px; /*チェック時の位置調整*/
}

input[type="checkbox"]:checked::after {
  /* チェックボックスがチェックされている場合に、チェックマークを表示。 */
  opacity: 1; /*チェック後表示*/
}

/* ---------- form ---------- */
/* contact form
Contact Form 7 プラグインで生成されるラジオボタンフォームに対するスタイル 
.wpcf7-radio { ... }: Contact Form 7のラジオボタンフォーム全体のスタイルを指定します。
.wpcf7-radio .wpcf7-list-item { ... }: ラジオボタンの各項目に対するスタイルを指定します。
.wpcf7-radio .wpcf7-list-item label { ... }: ラジオボタンのラベルのスタイルを指定します。
.wpcf7-list-item-label { ... }: ラジオボタンのラベルのスタイルを指定します。*/
.wpcf7-form {
  margin-top: 64px;
}

.wpcf7-radio {/* ラジオフォーム全体 */
  display: flex;
  flex-direction: column;
  /* 縦並び */
}

@media screen and (min-width: 1080px) {
  .wpcf7-radio {
    flex-direction: row;
    /* PCサイズでは横並び */
  }
}

.wpcf7-radio .wpcf7-list-item {
  margin-top: 24px;
  /* 全部のリストアイテムの上余白 */
}

.wpcf7-radio .wpcf7-list-item:not(:first-child) {
  margin-top: 40px;
  /* 最初以外のリストアイテムの上余白はmargin-top:24px;を上書き */
}

@media screen and (min-width: 1080px) {
  .wpcf7-radio .wpcf7-list-item {
    margin: 24px 40px 0 0;
    /* PCサイズ時の最初の要素がこの余白になる
    最初以外の要素にも適用されるが、margin-topのみ40pxに指定しているため下記で変更 */
  }
}

@media screen and (min-width: 1080px) {
  .wpcf7-radio .wpcf7-list-item:not(:first-child) {
    margin-top: 24px;
    /* 最初以外の要素のmargin-topを40pxから変更 */
  }
}

.wpcf7-radio .wpcf7-list-item label {
/* .wpcf7-radioの.wpcf7-list-itemのlabelタグ */
  /* appearance: radio; ※あってもなくても変わらない*/
  display: flex;
  align-items: center;
  /* inputタグ（ラジオボタン）とラベル（項目名）を上下中央揃え */
}

.wpcf7-radio .wpcf7-list-item input[type="radio"] {
  appearance: radio;
  /* ラジオボタン出現 */
}

.wpcf7-list-item-label {
  font-size: 14px;
  font-weight: bold;
  padding-left: 16px;
  /* ラジオボタンとの左右余白 */
}

.wpcf7-spinner {/* 送信ボタン */
  display: none;
  /* フォーム送信時に表示されるスピナーを非表示。 */
}

.wpcf7-acceptance .wpcf7-list-item {/* プライバシーポリシーのチェックボックスと「プライバシーポリシー」との左右余白 */
  margin: 0 16px 0 0;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  color: crimson;
  border-color: crimson;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--main-color);
  text-align: center;
}

.wpcf7-response-output {
  color: var(--main-color);
}
/* reCAPCHA */
.grecaptcha-badge {
    visibility: hidden;
}

.recaptcha-notice {
  font-size: 0.75rem;
  color: var(--gray-color02);
  text-align: center;
  margin-top: 40px;
}

.recaptcha-notice a {
  color: var(--main-color);
  text-decoration: underline;
}
.recaptcha-notice a:hover {
  text-decoration: none;
}

/* ---------- privacy ---------- */
.privacy h3 {
  font-size: 0.875rem;
  font-weight: bold;
  margin-top: 60px;
}

.privacy p {
  font-size: 0.875rem;
  margin-top: 24px;
}
/* ---------- 404 ---------- */

/* ---------- js ---------- */
.js_body.is-active {
  overflow: hidden;
}

.js_navigation {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.js_navigation.is-active {
  pointer-events: inherit;
  opacity: 1;
}

.js_hamburger.is-active .m_hamburger-bar:first-child {
  transform: rotate(45deg);
}

.js_hamburger.is-active .m_hamburger-bar:last-child {
  transform: rotate(-45deg);
}