/* 
    Theme Name:キヨモトテックイチ
*/
@font-face {
  font-family: 'NotoSansJP';
  src: url('fonts/NotoSansJP-VariableFont_wght.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --easing: cubic-bezier(.2, 1, .2, 1);
  --transition: .8s var(--easing);
  --color-black: #000;
  --color-border: #333;
  --color-gray: #666;
  --color-blue: #154a95;
  --color-yellow: #f2c820;
  --color-sky: #eef3f9;
}

html {
  font-size: 100%;
}

body{
  color: var(--color-black);
  letter-spacing: 2px;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.6;
  font-family: "NotoSansJP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.en-title{
  font-family: "Poppins", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

h2.en-title{
  font-size: 5rem;
  color: var(--color-blue);
  padding-bottom: 3rem;
  line-height: 1;
}
h2.en-title span{
  position: relative;
  font-family: "NotoSansJP", sans-serif;
  font-weight: 500;
  display: block;
  font-size: 1rem;
  padding-left: 3.8rem;
  padding-top: 0.6rem;
}
h2.en-title span::before{
  position: absolute;
  content: '';
  width: 2rem;
  height: 1px;
  background-color: var(--color-blue);
  left: 1rem;
  top: 1.2rem;
}
.title-box{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.title-box .text{
  width: 50%;
}

img{
  max-width: 100%;
}

.sp{
  display: none;
}

section{
  padding: 2rem 0;
  margin: 5rem 0;
}

.contents_in{
  width: 1200px;
  padding: 0 1rem;
  margin: 0 auto;
}

.text-c{
  text-align: center;
}
.c-blue{
  color: var(--color-blue);
}
.c-yellow{
  color: var(--color-yellow);
}
.c-white{
  color: #fff;
}
.bk-gray{
  background-color: #e6e6e6;
}
.bk-blue{
  background-color: var(--color-blue);
}
.bk-sky{
  background-color: var(--color-sky);
}

.more-btn{
  display: block;
  width: fit-content;
  height: fit-content;
  border: 1px solid var(--color-border);
  position: relative;
  transition: ease-in 0.2s;
}
.more-btn a{
  display: block;
  padding: 1rem 4rem;
}
.more-btn:hover{
  background-color: var(--color-gray);
  color: #fff;
}
.more-btn::after{
  position: absolute;
  content: '';
  width: 2.6rem;
  height: 1px;
  background-color: var(--color-border);
  right: -1rem;
  top: 50%;
  transition: ease-in 0.2s;
}
.more-btn:hover::after{
  right: -2rem;
}

/*  =========== ヘッダー =========== */
.site-header {
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}
.site-header.is-show {
  transform: translateY(0);
  opacity: 1;
}

.hd-container{
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
}
#hd-logo{
  max-width: 500px;
  width: 38vw;
  padding: 1.4rem 1rem;
}

.menu-list{
  display: flex;
  height: 100%;
  justify-content: space-around;
  align-items: center;
}
.menu-item{
  height: 100%;
  display: flex;
  align-items: center;
  padding: 1.4rem 1rem;
}

.menu-link{
  padding: 0.4rem;
  transition: ease-in-out 0.2s;
}
.menu-link:hover,
.menu-link.is-active,
.menu-item:has(.is-active) .menu-link{
  color: var(--color-blue);
}

.menu-cta .menu-link{
  background-color: var(--color-yellow);
  padding: 0.6rem 1rem;
  border-radius: 3rem;
}
.menu-cta .menu-link:hover{
  color: #fff;
  background-color: var(--color-blue);
}

/* サブメニュー */
.sb-menu {
  position: fixed;
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  background: var(--color-blue);
  padding: 1.8rem 4vw;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-2rem);
  transition:
    opacity 0.3s ease,
    transform 0.4s cubic-bezier(.22,1,.36,1);
  z-index: -1;
  display: flex;
  justify-content: center;
}

/* hoverで表示 */
/* .menu-item.has-sub:hover > .sb-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
} */

.menu-item.has-sub:hover > .sb-menu,
.sb-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}


/* サブメニューリンク */
.sb-menu li{
  width: fit-content;
  margin: 0 1rem;
}
.sb-menu li a {
  position: relative;
  display: block;
  padding: 0.6rem 1rem;
  white-space: nowrap;
  color: #fff;
}
.sb-menu li a::before{
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background-color: #fff;
  transition: 0.2s;
}

.sb-menu li a:hover::before,
.sub-link.is-active::before {
  width: 100%;
}

/* PC（1024px以上）ではハンバーガー非表示 */
.hamburger-button {
  display: none;
}

.nav-menu {
  display: block;
}

/* ハンバーガー回転アニメ */
.openbtn-active .line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.openbtn-active .line:nth-child(2) {
  opacity: 0;
}
.openbtn-active .line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/*  =========== フッター =========== */
.foot-btn{
  background-image: image-set(
    url(img/f-bk.webp) type("image/webp"),
    url(img/f-bk.png) type("image/png")
  );
  background-size: cover;
  background-position: center;
  padding: 7rem 0;
}
.foot-btn .contents_in{
  display: flex;
  justify-content: space-between;
}
.foot-btn .btn-item{
  width: 32%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  background: rgb(0 0 0 / 50%);
  border: 1px solid #fff;
  padding: 2rem 0;
}
.foot-btn .btn-item:hover{
  background: rgb(21 74 149 / 50%);
}
.foot-btn img{
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.foot-btn p{
  margin-top: 1rem;
}
.foot-box{
  padding: 6rem 0 8rem;
}
.foot-box .contents_in{
  display: flex;
  justify-content: space-between;
}
.f-company b{
  display: inline-block;
  font-size: 1.6rem;
  padding: 1rem 0;
}
.f-company p{
  font-weight: 300;
  line-height: 1.8;
}
.f-link ul{
  height: 12rem;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}
.f-link li{
  position: relative;
  margin-bottom: 1.2rem;
  margin-left: 2rem;
  padding-left: 1rem;
  font-size: 0.9rem;
}
.f-link li:first-child,
.f-link li:nth-child(2){
  margin-left: 0;
}
.f-link li::before{
  position: absolute;
  content: '';
  width: 0.6rem;
  aspect-ratio: 1 / 1;
  background-color: var(--color-yellow);
  border-radius: 50%;
  left: 0;
  top: 0.4rem;
}
.f-link a{
  font-weight: 500;
  transition: ease-in 0.2s;
}
.f-link a:hover{
  color: #f2c820;
}
.f-link li span a{
  display: block;
  font-weight: 300;
  margin-top: 0.8rem;
}
footer{
  border-top: 1px solid var(--color-gray);
  color: #4d4d4d;
  text-align: center;
  padding: 0.6rem;
}

/*  =========== フェードイン =========== */
.js-fadein {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s ease,
    transform 1s cubic-bezier(.22,1,.36,1);
}

/* 表示 */
.js-fadein.is-show {
  opacity: 1;
  transform: translateY(0);
}


/*  =========== トップページ =========== */
.top{
  margin: 0;
  padding: 0;
}
/* ===============================
   HERO
================================ */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* =========================
   背景
========================= */
.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition:
    opacity 1.2s ease,
    transform 1.8s cubic-bezier(.22,1,.36,1);
}
#top-slide {
  width: 100%;
  height: 100vh;
  background-color: #fff;
}

.hero-bg.is-show {
  opacity: 1;
  transform: scale(1);
}

/* =========================
   ヘッダー
========================= */
.site-header {
  position: fixed;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1000;
  background-color: rgb(255 255 255 / 80%);
}

.site-header.is-show {
  opacity: 1;
}

.hero-inner {
  position: absolute;
  top: 20%;
  left: 4%;
}

/* メインタイトル */
.hero-title {
  font-size: 7vw;
  color: var(--color-blue);
  line-height: 1.2;
}

/* 行マスク */
.hero-line {
  display: block;
  overflow: hidden;
  line-height: 1;
  letter-spacing: 0px;
}

/* =========================
   文字 初期状態
========================= */
.js-split span {
  display: inline-block;
  opacity: 0;
  transform: translateX(40vw);
  transition:
    transform 0.9s cubic-bezier(.22,1,.36,1),
    opacity 0.4s ease;
  will-change: transform, opacity;
}

/* 発火 */
.js-split.is-active span {
  opacity: 1;
  transform: translateX(0);
}

/* =========================
   サブテキスト
========================= */
.hero-sub {
  margin-top: 1.4rem;
  font-size: 1.6rem;
  font-weight: bold;
}

.hero-sub span {
  display: inline-block;
  opacity: 0;
  transform: translateX(40vw);
  transition:
    transform 0.6s cubic-bezier(.22,1,.36,1),
    opacity 0.3s ease;
}

.hero-sub.is-active span {
  opacity: 1;
  transform: translateX(0);
}

.r_img_box{
  position: relative;
}

.top-about{
  margin: 12rem 0 5rem;
}
.r_img_box .img{
  position: absolute;
  width: calc(100% - 780px);
  max-width: 900px;
  min-width: 600px;
  top: 0;
  right: 0;
}

.r_img_box h2{
  color: var(--color-blue);
  font-size: 2.6rem;
  margin-bottom: 3rem;
  font-weight: 900;
}
.r_img_box .text{
  max-width: 500px;
  line-height: 1.8;
}
.r_img_box .text p{
  margin-bottom: 2rem;
}

.sol-item{
  position: relative;
  padding-bottom: 4rem;
  margin-bottom: 6rem;
}
.sol-item .text{
  position: absolute;
  width: 42%;
  background-color: #fff;
  padding: 3.6rem 3rem;
  box-shadow: 0.3rem 0.3rem 1rem rgba(0, 0, 0, 0.3);
  left: 0;
  bottom: 0;
}
.sol-item:last-of-type{
  margin-bottom: 2rem;
}
.sol-item b{
  font-size: 2rem;
}
.sol-item .catch{
  margin: 1.4rem 0;
  text-align: justify;
}
.sol-item .img{
  text-align: right;
  width: 64%;
  margin-left: auto;
}

.sol-item:nth-of-type(even) .text{
  left: auto;
  right: 0;
}

.sol-item:nth-of-type(even) .img{
  text-align: left;
  margin-left: 0;
}

.bus-box{
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}
.bus-item{
  width: 31%;
  color: #fff;
  padding: 1rem 1.4rem;
}
.bus-item:nth-child(1){
  background: url(img/top/business_bk01.png) no-repeat center / cover ;
}
.bus-item:nth-child(2){
  background: url(img/top/business_bk02.png) no-repeat center / cover ;
}
.bus-item:nth-child(3){
  background: url(img/top/business_bk03.png) no-repeat center / cover ;
}
.bus-item b{
  font-size: 2rem;
}
.bus-item p{
  padding-top: 10rem;
  padding-bottom: 1rem;
}
.arr{
  display: flex;
  max-width: 60px;
  aspect-ratio: 1 / 1;
  justify-content: center;
  background-color: #fff;
  padding: 1rem;
  border-radius: 50%;
  border: 1px solid var(--color-blue);
  margin-left: auto;
  transition: ease-in 0.2s;
}
.arr:hover{
  background-color: var(--color-blue);
}
.arr:hover img{
  filter: brightness(0) invert(1);
}
.top-news{
  margin-bottom: 8rem;
}
.top-news .title-box{
  align-items: center;
}
.news-box{
  display: flex;
  flex-wrap: wrap;
}
.top-post-item{
  width: 23%;
  margin-right: 2%;
  margin-bottom: 2rem;
  box-shadow: 0.3rem 0.3rem 1rem rgba(255, 255, 255, 1);
  transition: ease-in 0.2s;
}
.top-post-item:hover{
  box-shadow: 0.3rem 0.3rem 1rem rgba(0, 0, 0, 0.3);
}
.top-post-item img{
  object-fit: cover;
}
.date{
  display: flex;
  align-items: center;
  padding: 1rem 0.4rem 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 1px;
}
.post_new{
  background-color: var(--color-yellow);
  color: #fff;
  padding: 0.2rem 1.4rem;
  font-size: 0.8rem;
  border-radius: 4rem;
  font-weight: bold;
  margin-right: 0.6rem;
}
.date p{
  color: var(--color-gray);
  padding: 0.2rem 0;
}
.title{
  font-weight: 500;
  padding: 0 0.4rem 0.4rem;
}

/*  =========== 下層ページ共通 =========== */
.common-top {
  position: relative;
  overflow: hidden;
  padding: 10vw 0;
  height: 70vw;
}
.common-text{
  width: 40%;
  padding: 1rem 2rem;
}
.common-hero-title{
  margin-bottom: 2vw;
}
.common-hero-title span {
  display: block;
  font-size: 10vw;
  color: var(--color-blue);
  opacity: 0.1;
  line-height: 1;
}
.common-hero-title .long-title{
  letter-spacing: -0.8vw;
  white-space: nowrap;
  font-size: 9.2vw;
}
.common-hero-title b{
  font-size: 3vw;
}
.common-text p{
  line-height: 2.4;
}

.hero-wrapper {
  position: absolute;
  top: 15vw;
  right: 0%;
  width: 100%;
  transform: translate(20%, 0);
  transition: transform 1s cubic-bezier(.22,1,.36,1);
}

.hero-wrapper.is-active {
  transform: translate(0, 10vw) !important;
}

.hero-img figure {
  margin: 0;
  overflow: hidden;
}

.hero-img img {
  transform-origin: left center;
  transform: scale(1.05);
  clip-path: inset(10% 20% 0% 20%);
  transition:
    transform 1.1s cubic-bezier(.22,1,.36,1),
    clip-path 1.1s cubic-bezier(.22,1,.36,1);
}

.hero-img img.is-active {
  transform: scale(1);
  clip-path: inset(4% 0% 0% 0%) !important;
}

.common-box{
  display: flex;
  justify-content: space-between;
}
.common-box .text{
  width: 44%;
}
.common-box .img{
  width: 50%;
}
.common-box .text p,
.float-box .text p,
.common-box .text b.bl-text,
.float-box .text b.bl-text{
  padding-bottom: 1.4rem;
}
.common-box .text b.bl-text{
  display: block;
  font-size: 1.4rem;
  letter-spacing: 1px;
}

/*  =========== 会社案内 =========== */
.company-top .hero-wrapper{
  transform: translate(2%, 0);
}
.company-top .hero-img img{
  clip-path: inset(10% 5% 0% 35%);
}
.company-top .hero-img img.is-active{
  clip-path: inset(4% 0% 0% 0%);
}
.syaze{
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  width: 50%;
  font-size: 1.4rem;
}
.syaze .left{
  width: 55%;
}
.syaze .right{
  width: 40%;
}
.syaze span{
  background-color: var(--color-blue);
  color: #fff;
  display: block;
  padding: 0.2rem 1rem;
  letter-spacing: 6px;
  margin-bottom: 0.6rem;
  width: fit-content;
}
.message-catch{
  font-size: 1.4rem;
  font-weight: 500;
}
.float-box .img{
  float: right;
  width: 40%;
  margin: 0 0 1rem 3rem;
}
.float-box li{
  position: relative;
  font-weight: bold;
  padding-left: 1.6rem;
  margin-bottom: 0.4rem;
}
.top-name{
  display: block;
  max-width: 16rem;
  margin-left: auto;
  margin-top: 2rem;
}
.overview table{
  width: 100%;
}
.overview tr{
  border-top: 1px solid var(--color-blue);
  border-bottom: 1px solid var(--color-blue);
}
.overview th,
.overview td{
  padding: 2rem 1.4rem;
}
.overview th{
  vertical-align: middle;
  color: var(--color-blue);
  background-color: var(--color-sky);
}
.overview td{
  line-height: 2;
}
.overview td span{
  font-size: 0.9rem;
  display: inline-block;
  width: 100px;
  text-align: center;
  border: 1px solid #ccc;
  margin-bottom: 0.8rem;
  margin-right: 1rem;
}
.overview td a{
  margin-left: 1rem;
  font-weight: bold;
  color: var(--color-blue);
}
.overview td a:hover{
  opacity: 0.6;
}
.com-about .common-box .img{
  width: 40%;
}
.com-about li,
.permission li,
.qualification li{
  padding-left: 1.8rem;
  margin-bottom: 1.6rem;
  position: relative;
}
.com-about li::before,
.permission li::before,
.qualification li::before,
.float-box li::before{
  position: absolute;
  content: '';
  width: 1rem;
  aspect-ratio: 1 / 1;
  background-color: var(--color-blue);
  left: 0;
  top: 0.3rem;
  border-radius: 50%;
}
.soshiki{
  margin-top: 8rem;
  text-align: center;
}
.soshiki .border-title{
  font-size: 1.6rem;
  font-weight: normal;
}
.soshiki .border{
  border-bottom: 1px dashed #ccc;
  margin-bottom: 3rem;
}
.com-about ul{
  width: 50%;
}
.history li{
  display: flex;
  background-color: #fff;
  padding: 2rem;
}
.history li:nth-child(even){
  background-color: var(--color-sky);
}
.history li b{
  margin-right: 1rem;
  width: 100px;
}
.permission ul{
  display: flex;
  flex-wrap: wrap;
}
.permission li{
  width: 50%;
}
.qualification{
  margin-bottom: 0;
  padding: 8rem 0 10rem;
  margin-top: 10rem;
}
.qualification b{
  font-size: 1.4rem;
  font-weight: 500;
}
.qualification ul{
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: left;
  align-items: stretch;
  padding-top: 1rem;
  margin-bottom: 1.6rem;
}
.qualification li{
  min-width: 500px;
  padding-left: 1.4rem;
  margin-bottom: 1.2rem;
}
.qualification li::before{
  width: 0.6rem;
  top: 0.5rem;
  border-radius: 0;
}
.partner{
  margin: 0;
  padding: 10vw 0;
  background-image: url(img/company/company03.jpg);
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
}
.partner span{
  font-size: 1.3rem;
  margin-left: 1rem;
}
.partner .contents_in{
  background-color: #fff;
  border-radius: 10px;
  padding: 4rem;
}
.partner b{
  display: block;
  border-bottom: 1px solid var(--color-blue);
  letter-spacing: 2px;
  font-size: 2rem;
  color: var(--color-blue);
  padding-bottom: 0.6rem;
  margin-bottom: 2rem;
}
.partner ul{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}
.partner ul li{
  width: 32%;
  padding: 0.6rem 1rem;
  text-align: left;
}
/*  =========== 事業案内 =========== */
.service-top .hero-wrapper{
  transform: translate(4%, 0);
}
.service-top .hero-img img{
  clip-path: inset(10% 5% 0% 35%);
}
.service-step{
  padding: 8rem 0; 
}
.service-step b{
  font-size: 2.4rem;
}
.service-step .step{
  padding: 0.8rem 0;
}
.service-step .step p{
  font-size: 1.4rem;
}
.service-step .carousel{
  margin-top: 2rem;
}
.service-step .swiper{
  min-height: auto !important;
}
.service-step .scn-item.swiper-slide{
  border-radius: 0;
  min-height: fit-content !important;
}
.service-step .img{
  padding: 0.6rem 0;
}
.service-step .c-blue{
  font-size: 1.2rem;
}
.kind-box{
  display: flex;
  justify-content: space-between;
}
.kind-item{
  width: 30%;
}
.kind-item b{
  display: block;
  font-size: 1.8rem;
  padding: 1rem;
}
.kind-item .bk-img{
  aspect-ratio: 1 / 1;
}
.bus-kind:nth-child(1) .bk-img{
  background-image: image-set(
    url(img/service/business01.webp) type("image/webp"),
    url(img/service/business01.png) type("image/png")
  );
  background-size: cover;
}
.bus-kind:nth-child(2) .bk-img{
  background-image: image-set(
    url(img/service/business02.webp) type("image/webp"),
    url(img/service/business02.png) type("image/png")
  );
  background-size: cover;
}
.bus-kind:nth-child(3) .bk-img{
  background-image: image-set(
    url(img/service/business03.webp) type("image/webp"),
    url(img/service/business03.png) type("image/png")
  );
  background-size: cover;
}
.kind-item .more-btn{
  margin-top: 1.4rem;
}
.setubi .swiper,
.sagyo .swiper{
  min-height: auto !important;
}
/*  =========== ソリューション =========== */
.intro .kind-box{
  justify-content: left;
}
.sol-kind{
  margin-right: 5%;
}
.sol-kind:nth-child(1) .bk-img{
  background-image: image-set(
    url(img/solution/example01.webp) type("image/webp"),
    url(img/solution/example01.png) type("image/png")
  );
  background-size: cover;
}
.sol-kind:nth-child(2) .bk-img{
  background-image: image-set(
    url(img/solution/example02.webp) type("image/webp"),
    url(img/solution/example02.png) type("image/png")
  );
  background-size: cover;
}

/*  =========== メンテナンス事業 =========== */
.genba-box{
  display: flex;
  justify-content: space-between;
  margin-top: 6rem;
}
.genba-item{
  width: 30%;
  box-shadow: 0.3rem 0.3rem 1rem rgba(0, 0, 0, 0.3);
}
.genba-item .text{
  padding: 1rem;
  text-align: center;
}

.mainte-app{
  background: url(img/maintenance/maintenance-bk.jpg) no-repeat center / cover ;
  padding: 8rem 1rem;
  margin-bottom: 0;
}
.mainte-app b{
  font-size: 3rem;
}
.mainte-app .text{
  margin-top: 2rem;
}
.mainte-app .text p{
  padding-bottom: 2rem;
}
.mainte-app .text p:last-child{
  padding: 0;
}

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

.scroll-infinity{
  overflow: hidden;
}
.scroll-infinity__wrap {
  display: flex;
  min-width: fit-content;
}
.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0;
}
.scroll-infinity__list--left {
  animation: infinity-scroll-left 80s infinite linear 0.5s both;
}
.scroll-infinity__item {
  width: calc(100vw / 6);
  margin-right: 2vw;
}
.scroll-infinity__item>img {
  width: 100%;
}

/*  =========== メタル事業 =========== */
.carousel {
  position: relative;
  padding: 0 7vw;
  max-width: 1600px;
  margin: 0 auto;
}

/* スライド */
.swiper{
  height: fit-content;
  min-height: 40vw !important;
}
.carousel .swiper-slide {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  height: fit-content;
  padding-bottom: 1rem;
  overflow: hidden;
}
.border-title{
  max-width: 1200px;
  margin: 0 auto;
  font-size: 2vw;
  font-weight: bold;
  padding: 0.4rem 0.8rem;
}
.border{
  width: 100%;
  border-bottom: 2px solid #ccc;
  margin-bottom: 5rem;
}
.equ-item .img img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel .title {
  padding: 12px;
  text-align: center;
}

.carousel .title b{
  font-size: 1.4rem;
}

.carousel .title p{
  font-weight: 400;
  letter-spacing: 1px;
}

.equ-item .list {
  padding: 0 12px 12px;
  font-size: 14px;
}

.equ-item .list li{
  position: relative;
  padding-left: 1.4rem;
}
.equ-item .list li::before{
  position: absolute;
  content: '';
  width: 0.8rem;
  aspect-ratio: 1 / 1;
  background-color: var(--color-yellow);
  border-radius: 50%;
  left: 0.2rem;
  top: 0.3rem;
}

.cl-contents p,
.cl-contents ul{
  padding: 0 1rem;
}
.swiper-button-prev,
.swiper-button-next {
  width: 40px;
  height: 40px;
}

.swiper-navigation-icon{
  font-size: 16px;
  color: #333;
}

.swiper-button-prev {
  left: 2vw !important;
}
.swiper-button-next {
  right: 2vw !important;
}

.scn-item.swiper-slide{
  min-height: 36rem !important;
}

@media (max-width: 768px) {
  .swiper {
    padding: 0 40px;
  }
}

.torikumi{
  background-color: var(--color-blue);
  color: #fff;
  padding: 10rem 0;
  margin-bottom: 0;
}
.torikumi b{
  display: block;
  font-size: 2.8rem;
  text-align: center;
  padding-bottom: 0.6rem;
}
.torikumi .border{
  margin-bottom: 3rem;
}
.torikumi .contents_in{
  max-width: 1000px;
}
.torikumi p{
  font-size: 1.6rem;
  margin-bottom: 1.8rem;
}
.torikumi li{
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.6rem;
  font-size: 1.2rem;
}
.torikumi li span{
  position: absolute;
  left: 0;
  top: 0rem;
  background-color: #002c6a;
  color: var(--color-blue);
  font-weight: bold;
  font-size: 1.4rem;
  padding: 0 0.7rem;
  border-radius: 50%;
}
.mokuhyo{
  background-image: image-set(
    url(img/metal/metal-bk.webp) type("image/webp"),
    url(img/metal/metal-bk.jpg) type("image/jpg")
  );
  background-size: cover;
  background-position: center;
  text-align: center;
  margin: 0;
  padding: 10rem 0;
}
.mokuhyo b{
  font-size: 2.8rem;
  display: block;
  margin-bottom: 2rem;
}
.mokuhyo .text p{
  margin-bottom: 1.4rem;
}

/*  =========== FA事業 =========== */
.fa-flow{
  display: flex;
  justify-content: space-between;
  margin-top: 8rem;
}
.fa-flow .flow-item{
  position: relative;
  padding: 0.4rem 1rem;
  width: 32%;
}
.fa-flow .flow-item::before,
.fa-flow .flow-item::after{
  position: absolute;
  content: '';
  display: block;
  background-color: var(--color-blue);
  z-index: -1;
}
.fa-flow .flow-item::before{
  width: 11rem;
  height: 5rem;
  left: 0;
  top: 0;
}
.fa-flow .flow-item::after{
  width: 30px;
  height: 35px;
  clip-path: polygon(30px 50%, 0% 0%, 0% 35px);
  right: -8%;
  top: 50%;
}
.fa-flow .flow-item:last-child::after{
  content: none;
}
.fa-flow .flow-item p{
  font-weight: 500;
  font-size: 2rem;
  color: #fff;
}
.flow-about .text{
  width: 50%;
}
.flow-about .img{
  width: 44%;
}

/*  =========== お問い合わせ =========== */
.contact-top{
  padding: 10vw 0 0;
  height: fit-content;
}
.contact .center{
  text-align: center;
  margin-bottom: 3rem;
}
.contact form{
  padding: 2rem 0;
}
.contact .form-item label{
  font-weight: bold;
  display: inline-block;
  margin-bottom: 4px;
  width: 400px;
  font-size: 1.2rem;
}
.contact .form-item br{
  display: none;
}
.contact .form-item label .required{
  font-size: 0.8rem;
  font-weight: 500;
  color: #fff;
  background-color: var(--color-blue);
  padding: 0.2rem 0.4rem;
  margin-left: 0.6rem;
}
.contact .form-item {
  margin-bottom: 2rem;
}
.contact form input,
.contact form textarea{
  border: 1px solid #ccc;
  padding: 0.6rem;
}
.contact .policy{
  text-align: center;
}
.contact .policy label{
  width: 100%;
}
.contact .policy a{
  text-indent: 2px;
  display: inline-block;
  text-decoration: underline;
}
.contact .policy label span{
  margin: 0;
  font-weight: 500;
}
.ct-btn{
  text-align: center;
}
.ct-btn input{
  background-color: var(--color-blue);
  color: #fff;
  width: 8rem;
  letter-spacing: 0.4rem;
  text-align: center;
  border-radius: 30px;
}
.ct-btn [type="submit"]:disabled{
  opacity: 0.8;
}

/*  =========== ニュース一覧・アーカイブページ =========== */

/*  =========== ニュース詳細 =========== */
.news-single .border{
  margin-bottom: 1rem;
}
.news-single-day{
  margin-bottom: 2rem;
}
.single-btn{
  margin: 4rem auto 6rem;
}

/*  =========== 実績紹介 =========== */
.single-top{
  margin-top: 0;
  padding-top: 12rem;
}
.single-top h2{
  font-size: 2.4rem;
  font-weight: bold;
  padding-bottom: 1rem;
}
.single-top p{
  line-height: 2;
}
.single-about{
  line-height: 1.8;
}
.single01 .up-img01{
  margin: 2rem 0;
}
.single01 b{
  font-size: 1.2rem;
}
.features li{
  padding-left: 1.8rem;
  position: relative;
  margin-bottom: 0.6rem;
}
.features li::before{
  position: absolute;
  content: '';
  width: 0.8rem;
  aspect-ratio: 1 / 1;
  background-color: var(--color-blue);
  top: 0.5rem;
  left: 0;
  border-radius: 50%;
}
.single-about .table-wrap{
  margin: 2rem 0;
}
.single-about .table-wrap p{
  padding-bottom: 0.4rem;
}
.single-about .table-wrap th,
.single-about .table-wrap td{
  padding: 0.4rem 1rem;
  border: 1px solid;
}
.single-about .table-wrap td{
  min-width: 80px;
  text-align: center;
}
.single-about .up-flex{
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}
.single-about .up-item{
  text-align: center;
  margin: 0 3rem;
}
.single-about .up-item img{
  padding-top: 0.4rem;
}
.products-catalog a{
  display: flex;
  align-items: center;
  width: fit-content;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 1rem 1.4rem;
  transition: 0.4s;
}
.products-catalog a:hover{
  background-color: var(--color-blue);
  color: #fff;
}
.pdf-icon{
  max-width: 2.2rem;
  margin-right: 1rem;
}
.pdf-text{
  font-size: 1.2rem;
}

/*  =========== カタログ一覧 =========== */
.catalog-box{
  display: flex;
  flex-wrap: wrap;
}
.catalog-box .pdf-download{
  margin: 1rem;
}

/*  =========== プライバシーポリシー =========== */
.pp{
  margin-top: 2rem;
  line-height: 2;
}
.pp p{
  margin-bottom: 1rem;
}
.pp .c-blue{
  font-size: 1.4rem;
  display: block;
  margin-top: 2rem;
  padding-bottom: 0.2rem;
}

/*  =========== 404 NOT FOUND =========== */
.notfound{
  padding: 10rem 0;
}
.notfound .more-btn{
  margin-top: 2rem;
}


/*  =========== タブレット(768～1200px) =========== */

@media screen and (max-width: 1200px) {
  img{
    width: 100%;
  }
  .hamburger-button {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger-lines .line {
    display: block;
    width: 100%;
    height: 3px;
    margin: 5px 0;
    background: var(--color-blue);
    transition: 0.3s;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 50%;
    height: 100vh;
    background: #fff;
    transition: 0.4s ease;
    padding-top: 80px;
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .menu-list {
    list-style: none;
    padding: 0;
    flex-direction: column;
    justify-content: normal;
  }

  .menu-item {
    margin-bottom: 10px;
    width: 100%;
    height: fit-content;
    padding: 0;
    flex-direction: column;
    align-items: baseline;
  }
  .menu-item.menu-cta{
    width: fit-content;
    margin-right: auto;
    padding: 20px;
  }
  .menu-link {
    width: 100%;
    color: #000;
    border-bottom: 1px solid #ccc;
    padding: 0.6rem 1.2rem;
  }
  .sb-menu{
    opacity: 1;
    z-index: 1;
    position: static;
    visibility: revert;
    background-color: #fff;
    color: var(--color-black);
    flex-direction: column;
    transform: none;
    padding: 0;
    margin-bottom: 20px;
  }
  .sb-menu li{
    padding-left: 1rem;
    position: relative;
  }
  .sb-menu li::before{
    position: absolute;
    content: '';
    width: 0.4rem;
    aspect-ratio: 1 / 1;
    background-color: var(--color-blue);
    top: 1.2rem;
    left: 0.8rem;
    border-radius: 50%;
  }
  .sb-menu li a{
    width: 100%;
    color: var(--color-black);
  }
  .sb-menu li a.is-active{
    color: var(--color-blue);
  }
  .contents_in{
    width: 100%;
    max-width: 800px;
    padding: 0 2rem;
  }
  /* ヘッダー */
  #hd-logo{
    min-width: 380px;
  }
  /* トップページ */
  .r_img_box .text{
    max-width: 100%;
  }
  .r_img_box .img{
    position: static;
    margin: 0 auto;
  }
  .title-box{
    flex-direction: column;
    align-items: baseline;
  }
  .title-box .text{
    width: 100%;
  }
  .sol-item{
    padding-bottom: 24rem;
  }
  .sol-item .text{
    width: 90%;
  }
  .sol-item .img{
    width: 80%;
  }
  .bus-box{
    flex-direction: column;
  }
  .bus-item p{
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .bus-item{
    width: 100%;
    padding: 2rem 3rem;
    margin-bottom: 2rem;
  }
  .top-news .title-box{
    flex-direction: row;
    justify-content: space-between;
  }
  .top-post-item{
    width: fit-content;
    max-width: 300px;
    margin: 2rem;
  }
  /* 下層共通ページ */
  .common-top{
    height: auto;
    padding: 5rem 0 12rem;
  }
  .common-hero-title b{
    font-size: 3rem;
  }
  .common-hero-title span{
    position: absolute;
    top: 0;
    left: 0;
    font-size: 6rem;
    rotate: 90deg;
    transform: translate(40%, 230%);
    width: 500px;
  }
  .common-text{
    width: 100%;
    position: relative;
    padding-top: 3rem;
  }
  .common-text p{
    padding-left: 3rem;
    width: fit-content;
  }
  .hero-wrapper{
    position: static;
    transform: translate(16%, 0);
    margin-top: 1rem;
  }
  .common-box{
    flex-direction: column;
  }
  .common-box .text,
  .common-box .img{
    width: 100%;
  }
  .border-title{
    font-size: 2rem;
  }
  .r_img_box .img{
    margin: 4rem auto 0;
  }
  /* 会社案内 */
  .top-message .common-box .text,
  .top-message .common-box .img{
    width: 100%;
  }
  .company-top .hero-wrapper{
    transform: translate(2%, 0);
  }
  .top-message .common-box .img{
    width: 70%;
    margin: 4rem auto 0;
  }
  .overview th{
    white-space: nowrap;
  }
  .overview td span{
    display: block;
    margin-bottom: 0.2rem;
  }
  .overview td a{
    display: block;
    margin-left: 0;
  }
  .overview td p{
    margin-bottom: 1rem;
  }
  .com-about ul{
    width: 100%;
    margin-bottom: 2rem;
  }
  .com-about .common-box .img{
    width: 70%;
    margin: 0 auto;
  }
  .history li b{
    flex-shrink: 0;
  }
  .permission li{
    width: 100%;
  }
  .qualification ul{
    grid-template-rows: repeat(15, auto);
  }
  .partner{
    padding-top: 10rem;
  }
  .partner ul li{
    width: 50%;
  }
  /* ソリューション */
  .kind-item{
    width: 50%;
  }
  /* 事業案内 */
  .kind-box{
    flex-wrap: wrap;
  }
  .bus-kind{
    width: 46%;
    margin-bottom: 4rem;
  }
  /* FA事業 */
  .common-hero-title .long-title{
    top: 0%;
    left: 0%;
    white-space: break-spaces;
    letter-spacing: 0;
    font-size: 6rem;
    transform: translate(30%, 90%);
  }
  .fa-flow .flow-item p{
    font-size: 1.8rem; 
  }
  .fa-flow .flow-item::before{
    width: 10rem;
    height: 4rem;
  }
  /* メンテナンス事業 */
  .mainte-app b{
    font-size: 2.4rem;
  }
  /* メタル事業 */
  .torikumi b{
    font-size: 2.4rem;
  }
  /* お問い合わせ */
  .contact-top{
    padding: 5rem 0 0rem;
  }
  .contact-top span{
    position: static;
    transform: translate(0);
    rotate: none;
  }
  /* フッター */
  .foot-box .contents_in{
    align-items: baseline;
    flex-direction: column;
  }
  .f-company{
    margin-bottom: 3rem;
  }
  /* シングルページ */
  .single-about video{
    width: 100%;
  }
  /*  =========== 404 NOT FOUND =========== */
  .notfound{
  padding: 8rem 2rem;
  }
}

/*  =========== スマホ(～768px) =========== */

@media screen and (max-width: 768px) {
  /* 共通 */
  h2.en-title{
    font-size: 3rem;
    letter-spacing: 1px;
  }
  .contents_in{
    padding: 0 1.4rem;
  }
  .more-btn a{
    padding: 1rem 3rem;
  }
  .hd-container{
    padding: 0 0.6rem;
  }
  .border{
    margin-bottom: 3rem;
  }
  .sp{
    display: block;
  }
  .pc{
    display: none;
  }
  /* ヘッダー */
  #hd-logo{
    min-width: 300px;
    padding: 1rem 0.4rem;
  }
  .nav-menu{
    width: 100%;
  }
  /* トップページ */
  .hero-title{
    font-size: 2.8rem;
  }
  .hero-line{
    line-height: 1.2;
  }
  .hero-sub{
    font-size: 1.4rem;
  }
  .top-about{
    margin: 6rem 0 5rem;
  }
  .r_img_box h2{
    font-size: 2rem;
  }
  .r_img_box .img{
    min-width: 90%;
  }
  .sol-item{
    display: flex;
    flex-direction: column-reverse;
    padding-bottom: 0;
  }
  .sol-item .text{
    width: 100%;
    position: static;
    padding: 2.6rem 2rem
  }
  .sol-item .img{
    width: 90%;
  }
  .sol-item b{
    font-size: 1.6rem;
  }
  .sol-item .catch{
    margin: 0.8rem 0 1.4rem;
  }
  .bus-item{
    padding: 1.2rem 1.4rem;
  }
  .bus-item p{
    padding-top: 0.8rem;
    padding-bottom: 1.2rem;
  }
  .bus-item b{
    font-size: 1.8re
  }
  .top-news .title-box{
    flex-direction: column;
    margin-bottom: 2rem;
  }
  .top-news h2.en-title{
    padding-bottom: 2rem;
  }
  .news-box{
    justify-content: center;
  }
  .top-post-item{
    margin: 1rem;
  }
  /* 共通下層ページ */
  .common-top{
    padding-bottom: 2rem;
  }
  .common-hero-title b{
    font-size: 2.2rem;
  }
  .common-hero-title span{
    font-size: 4.6rem;
    transform: translate(40%, 310%);
  }
  .common-text p{
    padding-left: 1rem;
  }
  .border-title{
    font-size: 1.8rem;
  }
  .hero-img img,
  .hero-img img.is-active{
    clip-path: inset(0% 0% 0% 10%) !important;
  }
  .hero-wrapper,
  .hero-wrapper.is-active{
    transform: translate(4%, 0) !important;
  }
  .hero-img img{
    transform: scale(1);
  }
  /* 会社案内 */
  .syaze{
    flex-direction: column-reverse;
    align-items: center;
    width: 100%;
  }
  .syaze .left{
    width: 100%;
  }
  .syaze .right{
    width: 60%;
    margin-bottom: 3rem;
  }
  .float-box .img{
    float: none;
    width: 100%;
    margin: 0 0 2rem;
  }
  .overview th,
  .overview td{
    display: block;
    padding: 1.2rem 1.4rem;
  }
  .com-about .common-box .img{
    width: 90%;
  }
  .history li{
    flex-direction: column;
  }
  .qualification ul{
    display: block;
  }
  .qualification li{
    min-width: fit-content;
  }
  .partner .contents_in{
    padding: 1rem;
  }
  .partner b{
    font-size: 1.6rem;
  }
  .partner span{
    font-size: 1.2rem;
  }
  .partner ul li{
    width: 100%;
  }
  /* ソリューション */
  .kind-item{
    width: 100%;
    margin: 0 0 3rem;
  }
  /* FA事業 */
  .fa-flow{
    flex-direction: column;
  }
  .fa-flow .flow-item{
    padding: 0.4rem 1rem 4rem;
    margin-bottom: 2rem;
    width: 100%;
  }
  .fa-flow .flow-item::after{
    transform: translateX(50%) rotate(90deg);
    right: 50%;
    bottom: 0;
    top: auto;
  }
  .fa-flow .flow-item p{
    font-size: 1.6rem;
  }
  /* メンテナンス事業 */
  .genba-box{
    flex-direction: column;
    align-items: center;
  }
  .genba-item{
    width: 90%;
    margin-bottom: 2rem;
  }
  .scroll-infinity__item{
    width: calc(100vw / 4);
    margin-right: 1rem;
  }
  .mainte-app{
    padding: 3rem 1rem 4rem;
  }
  .mainte-app b{
    font-size: 2rem;
  }
  /* シングルページ */
  .single-top{
    padding-top: 6rem;
  }
  .single-top h2{
    font-size: 1.8rem;
  }
  .single-about .table-wrap{
    overflow-x: scroll;
  }
  .single-about .table-wrap th,
  .single-about .table-wrap td{
    white-space: nowrap;
  }
  .single-about .up-flex{
    flex-wrap: wrap;
  }
  .single-about .up-item{
    margin: 0 0 2rem;
  }
  .products-catalog a{
    flex-wrap: wrap;
    padding: 0.6rem 1rem;
  }
  .pdf-text{
    font-size: 1rem;
  }
  .pdf-size{
    margin-left: 2.6rem;
  }
  /* お問い合わせ */
  .contact-top .common-hero-title span{
    display: none;
  }
  .contact{
    margin-top: 0;
  }
  .contact .form-item label{
    width: fit-content;
  }
  .contact form input,
  .contact form textarea{
    width: 100%;
  }
  .contact .check-pp{
    width: auto;
  }
  .contact .policy label{
    font-size: 1rem;
  }
  /* フッター */
  .f-company b{
    font-size: 1.4rem;
  }
  .foot-btn .contents_in{
    flex-wrap: wrap;
  }
  .foot-btn .btn-item{
    width: 100%;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 1rem;
  }
  .foot-btn img{
    width: 40px;
    height: 40px;
    margin-right: 0.8rem;
  }
  .foot-btn p{
    margin-right: 1rem;
    margin-top: 0;
  }
  .f-link ul{
    height: auto;
  }
  .f-link li{
    margin-left: 0;
  }
  /* 爆薬装置 */
  .kyodo b{
    font-size: 1rem;
  }
  /* カタログダウンロード */
  .catalog-box .pdf-download{
    margin: 1rem 0;
  }
  /*  =========== 404 NOT FOUND =========== */
  .notfound{
    padding: 8rem 2rem;
  }
}