@charset "utf-8";

/*
Theme Name: sfrth
Description: sfrthのサイト(2025作成)
*/

/* overall */
html {
  font-size: 16px;
  scroll-padding-top: 250px!important;
}
body {
  font-family: "meiryo", sans-serif;
  font-weight: 400;
  font-style: normal;
}
#wrapper {
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
ul {
  list-style: none;
}
a {
  color: #333;
  text-decoration: none;
  transition: all .5s;
}
a:hover{
  color: #707070;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
.padding{
  padding-bottom: 5%;
}

/*================= sp非表示 =================*/
.sp, .tablet{
  display: none!important;
}

/*================= ふわっと表示 =================*/
.fade {
	opacity: 0;
	transform: translateY(100px);
	transition: opacity 1.5s, transform 1s;
}.fade.active {
	opacity: 1;
	transform: translateY(0px);
}

/*================= img - rotate =================*/
@keyframes rotation {
  0% { transform: rotateZ(0);}
  100% { transform: rotateZ(360deg); }
}
.spin {
  animation: 20s linear infinite rotation;
}
.resizeimage img { width: 100vw; }

/*================= more - button =================*/ 
.more_button {
  background-color: #000;
  border: #000 solid 1px;
  padding: 2.5% 10%;
  width: fit-content;
  height: 100%;
  display: flex;
  align-items: center;
  height: auto;
  position: relative;
  line-height: normal;
}
.more_button a {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.more_button .more-txt {
  display: flex;
  align-items: center; 
  justify-content: center;
  font-family: "Noto Sans", "Yu Gothic", "游ゴシック体", sans-serif, monospace;
}


/*================= more - hoverAnimation =================*/
.more-txt span {
  display: inline-flex;
  justify-content: center;
  overflow-x: hidden;
  text-align: center;
}
.more-txt span span {
  transition: transform 0.2s ease, visibility 0.3s ease;
  will-change: transform;
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
}
.more_button .more-txt span:last-child span {
  padding-left:10px;
}
.more_button:hover .more-txt span span {
  animation: slide-out-in-cycle 0.6s ease-in-out forwards;
}

.more_button:hover .more-txt span:nth-child(1) span { animation-delay: 0s; }
.more_button:hover .more-txt span:nth-child(2) span { animation-delay: 0.05s; }
.more_button:hover .more-txt span:nth-child(3) span { animation-delay: 0.1s; }
.more_button:hover .more-txt span:nth-child(4) span { animation-delay: 0.15s; }
.more_button:hover .more-txt span:nth-child(5) span { animation-delay: 0.2s; }
.more_button:hover .more-txt span:nth-child(6) span { animation-delay: 0.25s; }
.more_button:hover .more-txt span:nth-child(7) span { animation-delay: 0.3s; }

.more-txt {
  white-space: nowrap;
}

/* spirit - 文字回転 */
#spirit .more-txt span{
  overflow: visible;
}

.more_title:hover .more-txt span span {
  animation: slide-out-in-cycle 0.6s ease-in-out forwards;
}

.more_title:hover .more-txt span:nth-child(1) span { animation-delay: 0s; }
.more_title:hover .more-txt span:nth-child(2) span { animation-delay: 0.05s; }
.more_title:hover .more-txt span:nth-child(3) span { animation-delay: 0.1s; }
.more_title:hover .more-txt span:nth-child(4) span { animation-delay: 0.15s; }
.more_title:hover .more-txt span:nth-child(5) span { animation-delay: 0.2s; }
.more_title:hover .more-txt span:nth-child(6) span { animation-delay: 0.25s; }
.more_title:hover .more-txt span:nth-child(7) span { animation-delay: 0.3s; }
.more_title:hover .more-txt span:nth-child(8) span { animation-delay: 0.35s; }
.more_title:hover .more-txt span:nth-child(9) span { animation-delay: 0.4s; }
.more_title:hover .more-txt span:nth-child(10) span { animation-delay: 0.45s; }
.more_title:hover .more-txt span:nth-child(11) span { animation-delay: 0.5s; }
.more_title:hover .more-txt span:nth-child(12) span { animation-delay: 0.55s; }
.more_title:hover .more-txt span:nth-child(13) span { animation-delay: 0.6s; }
.more_title:hover .more-txt span:nth-child(14) span { animation-delay: 0.65s; }
.more_title:hover .more-txt span:nth-child(15) span { animation-delay: 0.7s; }
.more_title:hover .more-txt span:nth-child(16) span { animation-delay: 0.75s; }

@keyframes slide-out-in-cycle {
  0% {
    transform: translateX(0);
    visibility: visible;
  }
  25% {
    transform: translateX(3px);
    visibility: hidden;
  }
  50% {
    transform: translateX(3px);
    visibility: hidden;
  }
  75% {
    transform: translateX(-3px);
    visibility: hidden;
  }
  100% {
    transform: translateX(0);
    visibility: visible;
  }
}

/* ===============================================
  loading page
=============================================== */
.loader {
  position: fixed;
  width: 100%;
  height: 100vh;
  background-color: #000;
  z-index: 555;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loader .txt {
  font-size: 30px;
  font-weight: 700;
  color: #68EFE4;
  position: relative;
  display: inline-block;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.loader_contents {
  height: auto;
  position: relative;
}
.loader_contents img {
  width: 85%;
  height: auto;
  display: block;
  margin: auto;
}

/* ===============================================
  header
=============================================== */
header {
  padding: 1% 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #404040;
  position: fixed;
  width: 100%;
  height: auto;
  z-index: 20;
  transition: all 0.15s linear;
}
h1{
  z-index: 1;
}
h1 img{
  width: 100%;
}

/* background - wave */
.canvas-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px; /* 波の高さ */
  z-index: 5;
  overflow: hidden; /* 子要素が外に出ないようにする */
}
canvas#background {  /* グラデーションを滑らかにする */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px; /* 波の高さに応じて設定 */
  z-index: 5;
  filter: blur(8px); /* 全体にぼかしを適用 */
  mask-image: linear-gradient(to bottom, black 10%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 10%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
}



/* ===============================================
  hamburger
=============================================== */
#btn {
  width: 60px;
  height: 60px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  position: relative;/*ボタン内側の基点となるためrelativeを指定*/
}
/*ボタン内側*/
.openbtn2 span{
  display: inline-block;
  transition: all .4s;/*アニメーションの設定*/
  position: absolute;
  left: 13px;
  height: 2px;
  background-color: #000;
}
.openbtn2 span:nth-of-type(1) {
  top: 20px; 
  width: 80%;
}
.openbtn2 span:nth-of-type(2) {
  top: 30px;
  left: auto;
  right: 0;
  width: 50%;
}
.openbtn2 span:nth-of-type(3){
  top: 40px;
  background-color: transparent;
}
.openbtn2 span:nth-of-type(3)::after{
  content: 'MENU';
  font-size: 14px;
  font-weight: 700;
}
/*activeクラスが付与されると線が回転して×に*/
.openbtn2.on span:nth-of-type(1) {
  top: 20px;
  left: 26px;
  transform: translateY(6px) rotate(-45deg);
  width: 45%;
  background-color: #fff;
}
.openbtn2.on span:nth-of-type(2) {
  top: 32px;
  left: 26px;
  transform: translateY(-6px) rotate(45deg);
  width: 45%;
  background-color: #fff;
}
.openbtn2.on span:nth-of-type(3)::after {
  content: 'CLOSE';
  color: #fff;
}

/* nav */
nav {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #71D4D5; 
  transition: all .5s ease, opacity .5s ease;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  pointer-events: none; /* クリックを無効化 */
}
nav.on {
  opacity: 1;
  pointer-events: auto; /* クリックを有効化 */
}
nav a {
  position: relative;
  margin: 10% auto;
  text-decoration: none;
  color: #000;
  text-align: center;
  font-weight: 700;
}
nav a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: .5px;
  background-color: #000;
}
nav a:hover{
  color: rgba(255, 255, 255, .8);
}
.container {
  height: auto;
  position: relative;
}
.container img {
  width: 70%;
  height: auto;
  display: block;
  margin: auto;
}
.menu {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
}


/* ===============================================
  contents
=============================================== */
/* hero */
.hero{
  /* overflow: hidden; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding-top: 10%;
}
.hero h2 img {
  max-width: none;
  width: 100%;
  object-position: center;
  height: auto;
  position: static;
}


/* contents - overall */
.width{
  width: 85%;
  margin: 0 auto;
}
.height{
  min-height: 100vh;
}
#works, #service, #news, #contact{
  margin-top: 10%;
}
#contact{
  margin-bottom: 20%;
}
#concept{
  margin-bottom: 8%;
}
.leftTitle-content_Title img{
  max-width: 90%;
}

/* /////// concept /////// */
.leftTitle-content, #service .leftTitle-content{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10%;
  height: auto;
}
#service .leftTitle-content{
  align-content: center;
}
.leftTitle-content_txt, .bg_blk{
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: right;
  margin-top: 15%;
}
.leftTitle-content_Title{
  width: 50%;
}
.leftTitle-content_txt h4{
  font-size: 24px;
  margin-bottom: 3%;
}

/* /////// spirit /////// */
.bgColor{
  background-color: #71D4D5;
  padding: .3%;
}
.leftTitle-content_txt .txt01{
  margin-bottom: 15%;
}
.spirit_list li , .more_title{
  display: flex;
  justify-content: space-between;
  margin-bottom: 3%;
  position: relative;
  align-items: center;
}
.spirit_list li::before, .more_title::before{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-bottom: #333 solid 1px;
}
.spirit_listTitle {
  position: relative;
  z-index: 1;
  background-color: #71D4D5;
  padding-bottom: 1%;
  font-size: 19px;
  font-weight: 700;
}
.more-txt.spirit_listTxt {
  opacity: 0;
  transition: opacity 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.more-txt.spirit_listTitle {
  transition: opacity 0.3s ease;
  position: relative;
  border-bottom: #333 solid 1px;
}
.more_title {
  position: relative;
}
.more_title:hover .spirit_listTitle {
  opacity: 0;
}
.more_title:hover .spirit_listTxt {
  opacity: 1;
}

/* 背景circle */
.bgColor {
  position: relative; /* 絶対配置子を包むため */
  overflow: hidden; /* はみ出し隠す */
  background-color: #71D4D5;
  padding: 0.3%;
}
.bg-spin {
  position: absolute;
  top: 0%;
  left: 39%;
  width: 65%;
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  animation: 20s linear infinite rotation;
  z-index: 0;
}
.leftTitle-content_txt, article {
  position: relative;
  z-index: 1;
}



/* /////// service /////// */
.leftTitle-content_txt{
  margin-top: 5%;
}
.service_list li{
  border-top: #71D4D5 1px solid;
  /* padding: 2%; */
}
.service_list li:last-child{
  border-bottom: #71D4D5 1px solid;
}

.test__box a, #service-sp .test__box button{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2%;
}
.test__box a:hover, #service-sp .test__box button:hover{
  /* color: #71D4D5; */
  background-color: rgba(104, 239, 228, 0.2);
}
.title_en{
  font-size: 12px;
  color: #71D4D5;
}
.title_num{
  width: 15%;
  font-size: 26px;
  font-weight: 400;
}
.title_details{
  width: 70%;
}
.title_arrow{
  width: 15%;
  text-align: right;
}
.service_overview p{
  margin-bottom: 5%;
}


/* forPc */
/* 高さ調整 */
#service-pc .service-content {
  max-height: 550px;
  overflow-y: auto;
}
#service-pc .leftTitle-content_txt{
  margin-top: 0;
}
/* 高さ調整end */
#service-pc .leftTitle-content_Title{
  display: flex;
  gap: 10%;
  height: 100%;
}
.service_titleDesc{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* contents - pc */
.content-box{
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background-color: rgba(104, 239, 228, 0.2);
  padding: 5% 7%;
  height:100%; 
}
#service-pc .content-box {
  max-height: 550px;
  overflow-y: auto;
  height: auto;
}
.content-box.active{
  display: block;
  opacity: 1;
  max-height: 100%;
}
.menu-btn.active{
  font-weight: 700;
  background-color: rgba(104, 239, 228, 0.2);
}
.content-box .service-list, #service-sp .accordion-content .service-list{
  background-color: #fff;
  padding: 4%;
  margin: 5% 0;
}
.business-area{
  color: #71D4D5;
}
.content-box .serviceT_details{
  font-weight: 700;
}
.service-title{
  display: flex;
  gap: 2%;
  align-items: center;
  margin-bottom: 3%;
}
.serviceT_en{
  color: #71D4D5;
  font-size: 10px;
}
.service-title .title_num{
  font-size: 38px;
}
.service-title .serviceT_main{
  font-size: 24px;
}
.service-title .serviceT_en{
  font-size: 18px;
}
/* .content-box .service-list{
  display: flex;
} */

/* accordion - forSp */
#service-sp .accordion-toggle {
  all: unset;
  display: block;
  width: 96%;
  cursor: pointer;
}
#service-sp .accordion-content{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0;
  opacity: 0;
}
#service-sp .serviceAccordion_padding{
  padding: 0 10%;
}
#service-sp .service-list ul li{
  border: none;
}
#service-sp .accordion-content.active{
  max-height: 1000px;
  padding: 5% 0;
  opacity: 1;
  background-color: rgba(104, 239, 228, 0.2);
}
#service-sp .accordion-toggle.active {
  background-color: rgba(104, 239, 228, 0.2);
}
#service-sp .test__box button{
  transition: all .5s;
}
#service-sp .accordion-content .service-list{
  flex-direction: column;
  align-items: flex-start;
}


/* /////// works /////// */
#works.noBg{
  margin-bottom: 8%;
}
#works div.more_button{
  margin-left: auto;
  padding: 4% 20%;
}
#works .sp_width{
  margin-bottom: 5%;
}
#works .sp_width p{
  margin-bottom: 2%;
}
/* slick */
.slider {
  margin-inline: auto;
  max-width: 100%;
}
.slider-img{
  width: 200px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 3px 3px 3px #ddd;
}
.slider-img img{
  transition: .5s all;
  width: 100%;
  height: 13vw;
  object-fit: cover;
  object-position: 50% 50%;
}
.slider-img img:hover{
  transform: scale(1.2,1.2);
  transition: .5s all;
}
.slick-slide{
  margin: 0 .8rem;
}

/* /////// company(before - sp用に残してある) /////// */
#company .pc h3{
  color: #fff;
}
#company .leftTitle-content{
  gap: 5%;
  display: flex;
  align-items: center;
}
#company  .leftTitle-content_Title{
  width: 10%;
}
#company .leftTitle-content_txt{
  margin-top: 0%;
  width: 90%;
  background-color: #71D4D5;
  padding: 5% 0 3% 5%;
}
.bg_blk_txt{
  margin-bottom: 20%;
}
#company .more_button .more-txt{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  height: 100%;
  line-height: normal;
  text-align: center;
}

/* company new(PC) */
#company-pc.pc{
  background-color: #71D4D5;
  display: flex;
  align-items: center;
  text-align: center;
}
#company-pc.pc .leftTitle-content_txt{
  padding: 0;
  width: 100%;
}
#company-pc.pc h3 {
  position: relative;
  width: 100%;
  margin-bottom: 8%;
  padding: 1%;
}
#company-pc.pc h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background-color: #fff;
}
#company-pc.pc .bg_blk_txt{
  margin-bottom: 5%;
}
#company-pc.pc .bg_blk_txt p{
  margin-bottom: 2%;
}
#company-pc.pc .more_button{
  margin: 0 auto;
}


/* /////// news, contact /////// */
.width.news, .width.contact, .top_text{
  width: 70%;
  margin: 0 auto;
}
.width.news{
  margin-bottom: -15%;
}
.news h3, .contact h3, .new-contact h3, #company .pc h3{
  font-size: 30px;
}

/* /////// news /////// */
/* .width.news{
  margin: 20% auto;
} */
.news h3{
  text-align: center;
  margin-bottom: 5%;
}
.news_box li{
  padding: 3% 5%;
}
.news_box li{
  border-bottom: #707070 solid 1px;
}
.news_box li:first-child{
  border-top: #707070 solid 1px;
}
.news_box li a.newsBox_link{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.news_box li a.newsBox_link:hover{
  color: rgba(113, 212, 213, 0.8);
}
.newsDate{
  width: 20%;
}
.newsDetails{
  width: 70%;
}
.news_arrow{
  width: 10%;
  text-align: right;
}
.news .more_button{
  margin: 0 auto;
  margin-top: 5%;
  display: flex;
}
.newsTxt{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2; /* 表示する行数を指定 */
  text-overflow: ellipsis; /* 省略記号を追加 */
}

/* new */
.new-contact{
  text-align: center;
}
.new-contact h3, .new-contact p{
  margin-bottom: 2%;
}
.newC-mail{
  color: #71D4D5;
  font-weight: 700;
  font-size: 40px;
}

/* ===============================================
  footer
=============================================== */
/* footer {
  margin-top: 25%;
} */
.footerBg{
  background-color: #000;
  padding: 5% 0;
}
.footerBg .width{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footerNav{
  display: flex;
  justify-content: flex-start;
  gap: 0 5rem;
}
.footerNav ul li{
  margin-bottom: 10%;
}
.footerNav ul li a{
  color: #fff;
}
.footerNav ul li a span{
  font-size: 10px;
}
footer p.copy {
  text-align: center;
  color: #6A6A6A;
  padding: .5% 0;
}

/* ==========================================================================
  top index以外
========================================================================== */
.subTop {
  height: auto;
  position: relative;
  width: 100%;
  height: auto;
  padding-top: 25%;
}
.top_title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding: 0;
  margin: 0;
}
.top_title span {
  height: 1.5px;
  background: #71D4D5;
  z-index: 1;
}
.top_title span.line-left {
  flex-grow: 3;
}
.top_title span.line-right {
  flex-grow: .5;
}
.top_title h2 {
  position: relative;
  font-size: 24px;
  margin: 0 30px;
  white-space: nowrap;
  z-index: 2;
}
.top_title h2 img {
  position: absolute;
  transform: translateX(-50%);
  width: auto;
  max-width: 700px;
  height: auto;
}
.top_text {
  margin-top: 12%;
}

/* news */
.top_news .top_title h2 img {
  top: -900%;
  left: -450%;
}
.newsTitle{
  font-size: 18px;
  margin-bottom: 1%;
}

/* company */
.top_company .top_title h2 img {
  top: -900%;
  left: -250%;
}

/* contact */
.top_contact .top_title h2 img {
  top: -700%;
  left: -350%;
}

/* contact */
.new-contact.forPage{
  margin: 10% auto;
}

/* service */
.top_service .top_title h2 img {
  top: -700%;
  left: -370%;
}

/* ==========================================================================
  company
========================================================================== */
/* company */
#company_details{
  position: relative;
  margin: 0% 0 20% 0;
}
ul.company_button{
  display: flex;
  justify-content: center;
  gap: 8%;
  margin-top: -12%;
}
ul.company_button .diamond02{
  width: 70px;
  height: 70px;
}
button.diamond02 div{
  font-size: 16px;
  background: transparent;
  transform: rotate(-45deg);
  text-align: center;
}
dl.companyDetails div.border{
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  text-align: left;
  border-bottom: 1px solid #ccc;
}
dl.companyDetails div.border:first-child{
  border-top: 1px solid #ccc;
}
dl.companyDetails div dt{
  width: 38%;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2rem;
  padding: 1.1em 0em 1em 0;
  vertical-align: middle;
  align-items: center;
  text-align: center;
  align-content: center;
}
dl.companyDetails div dd{
  width: 62%;
  margin: 0;
  padding: 1em 1em 1em 0;
  vertical-align: middle;
  line-height: 2.7rem;
  line-height: 1.8;
  padding-left: 1%;
}
dl.companyDetails div dd a:hover{
  color: #333;
  text-decoration: underline;
}
.ceo_details {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  margin: 0 auto;
  margin-top: 5%;
  font-size: 15px;
  width: fit-content;
  gap: 50px;
}
.ceo_title, .ceo_name {
  width: 50%;
  white-space: nowrap;
}
.ceo_name{
  display: flex;
  flex-direction: column;
  /* align-items: end; */
  font-size: 16px;
}
.ceo_name p{
  text-align: left;
}
.ceo_title p{
  margin-bottom: 2%;
}
.name_en{
  font-size: 10px;
}
dl.companyDetails dt.padding, dl.companyDetails dd.padding{
  padding-top: 10%;
  padding-bottom: 10%;
}
dl.companyDetails dd{
  padding-left: 5%;
}


/* ==========================================================================
  contact - 無し
========================================================================== */
#form{
  margin: 10% 0 20% 0;
}
#form h4{
  text-align: center;
  width: 90%;
  margin: 0 auto;
}
form .form-container {
  -webkit-border-radius:6px;
  -moz-border-radius:6px;
  border-radius:6px;
  text-align: center;
  width: 70%;
  margin: 0 auto;
}
form .head {
  -webkit-border-radius:6px 6px 0px 0px;
  -moz-border-radius:6px 6px 0px 0px;
  border-radius:6px 6px 0px 0px;
  background-color:#404040;
  color:#FAFAFA;
}
form h3 {
  text-align:center;
  padding:18px 0 18px 0;
  font-size: 1.4em;
}
form .info_input{
  margin: 4rem 0;
}
form .contact_inside{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  gap: 4%;
}
form .contact_inside p{
  width: 26%;
  text-align: left;
}
form p span.required{
  color: #FF0000;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 12px;
}
.wpcf7-form-control-wrap,
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output{
  width: 70%;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output{
  margin: 3% auto;
}
form input {
  margin-bottom:10px;
  width: 70%;
}
form textarea {
  height:100px;
  margin-bottom:10px;
}
form input, form textarea {
  padding: 15px 10px 10px;
  border: 1px solid #000;
  color:#000;
  font-weight: 400;
  width: 100%;
  max-width: 600px;
}
::-webkit-input-placeholder {
  color: #969696;
  font-weight: 400;
}
:-moz-placeholder {
  color: #969696;
  font-weight: 400;
}
::-moz-placeholder {
  color: #969696;
  font-weight: 400;
}
:-ms-input-placeholder {  
  color: #969696;
  font-weight: 400; 
}
form button{
  margin: 0 auto;
}

/* ==========================================================================
  news - single.php
========================================================================== */
.news.single{
  margin: 15% auto;
}
.single .title{
  margin-bottom: 5%;
}
.single .newsDetails{
  width: 100%;
}
.single .newsTitle{
  text-align: left;
  margin: 0;
  width: 100%;
  font-size: 20px;
}
.single .newsDate{
  text-align: right;
  font-size: 12px;
  width: 100%;
}
a.post_link:hover{
  color: #71D4D5;
}
.newsDetails h1{
  color: #71D4D5!important;
  border-left: 5px solid #71D4D5!important;
}
/* Gutenbergクラス対応 */
.has-large-font-size {
  font-size: 18px !important;
}
.has-medium-font-size {
  font-size: 16px !important;
}
.has-small-font-size {
  font-size: 14px !important;
}

/* ==========================================================================
  news - archive.php
========================================================================== */
#news_list{
  padding-top: 20%;
  margin-bottom: 20%;
}

/* pagenation */
.pagination {
  text-align: center;
  margin-top: 20px;
}
.pagination ul {
  list-style: none;
  padding: 0;
}
.pagination li {
  display: inline;
  margin: 0 5px;
}
.pagination a {
  text-decoration: none;
  padding: 8px 16px;
  color: #333;
  border-radius: 3px;
}
.pagination a:hover {
  background-color: #ddd;
}
.pagination .current {
  background-color: #ddd;
  padding: 8px 16px;
  border-radius: 3px;
}

/* ==========================================================================
  media query
========================================================================== */
@media screen and (max-width: 1300px) {
  .service{
    min-height: 360px;
  }
}
@media screen and (max-width: 1200px) {
  .bg-spin{
    width:75%;
    left: 36%;
  }
  /* service */
  .content-box .service-list, 
  #service-sp .accordion-content .service-list{
    margin: 5% 0;
  }
}
@media screen and (max-width: 1100px) {
  .tablet{
    display: block!important;
  }
  .pc02{
    display: none!important;
  }
  /* spirit */
  .bg-spin{
    width:85%;
    left: 36%;
  }
  /* service */
  h3.tablet{
    border-bottom: #000 solid 4px;
    font-weight: 700;
    font-size: 24px;
  }
  #service-pc .leftTitle-content_Title{
    flex-direction: column;
  }
  h3.tablet, .service_overview{
    margin-bottom: 10%;
  }
  .service-title{
    gap: 5%;
  }
  .service-title .title_num{
    font-size: 28px;
  }
  .service-title .serviceT_main{
    font-size: 18px;
  }
  .service-title .serviceT_en{
    font-size: 14px;
  }
}
@media screen and (max-width: 900px) {
  .width{
    width: 85%;
  }
  .leftTitle-content_Title{
    width: 40%;
  }
  .leftTitle-content_txt, .bg_blk{
    width: 60%;
  }
  #service-pc .leftTitle-content_Title{
    width: 50%;
  }
  #service-pc .leftTitle-content_txt, .bg_blk{
    width: 50%;
  }
  #service-pc .service-content {
    max-height: 600px;
  }
  .leftTitle-content{
    gap: 5%;
  }
  .service{
    min-height: 330px;
  }
  .bg-spin{
    left: 24%;
  }
}
@media screen and (max-width: 840px) {
  html {
    font-size: 14px;
  }

  /* sp表示・pc非表示 */
  .sp{
    display: block!important;
  }
  .pc{
    display: none!important;
  }

  /* header */
  header {
    padding: 2.5% 4%;
  }

  /* hero */
  .hero, .width{
    height: auto;
  }
  .hero .sp{
    margin-top: 20%;
  }
  .top.sp{
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: -20%;
  }
  .top.sp img {
    max-width: 100%;
    width: auto;
    height: auto;
    position: static;
  }
  .hero {
    position: relative;
  }
  .hero h2 img {
    width: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -15%;
  }
  img.logo{
    width: 60%;
  }
  .logo-wrap{
    text-align: center;
  }
  .staff-lines {
    gap: 40px!important;
  }

  /* index全体のレイアウト */
  .leftTitle-content, .contact-flex{
    flex-direction: column;
  }
  .leftTitle-content_Title, .leftTitle-content_txt, .bg_blk,
  #company .leftTitle-content_Title, #company .leftTitle-content_txt{
    width: 100%;
  }
  #concept{
    margin-top: -35%;
    margin-bottom: 0;
  }
  /* #company .sp{
    display: flex!important;
  } */
  #contact{
    margin-bottom: 40%;
  }
  .leftTitle-content{
    justify-content: center;
  }
  .index .width{
    margin-right: 0;
    width: 90%;
  }
  h3.sp{
    border-bottom: #000 solid 4px;
    font-weight: 700;
    font-size: 24px;
  }
  #works .more_button{
    margin-right: 5%;
  }
  #company .more_button{
    margin-left: auto;
    background-color: #fff;
    border: #fff solid 1px;
  }
  #company .more_button a{
    color: #000;
  }
  .leftTitle-content_txt, #company .leftTitle-content_txt{
    margin-top: 10%;
  }
  /* spirit */
  .spirit_listTxt{
    margin-right: 5%;
    font-size: 15px;
  }
  .spirit_listTitle {
    font-size: 17px;
  }
  .bg-spin{
    width:100%;
    left: 10%;
    top: 25%;
  }
  #spirit .txt02 ul{
    width: 90%;
    margin-left: auto;
  }

  /* service */
  .tabs{
    flex-direction: column-reverse;
  }
  .tab-left, .tab-content{
    width: 100%;
  }
  .tab-content .tab-pane.active, .tab-left-txt{
    margin-bottom: 15%;
  }
  .tab-content{
    margin-top: 15%;
  }
  .tab-content-title{
    margin-bottom: 5%;
  }
  .tab-left-txt h4{
    margin-bottom: 3%;
  }
  .sp_width02{
    width: 90%;
  }

  /* works */
  .slider-top{
    margin-bottom: .8rem;
  }
  .slider-img img{
    transition: .5s all;
    width: 100%;
    height: 20vw;
    object-fit: cover;
    object-position: 50% 50%;
  }

  /* news */
  .index .width.news, .index .width.contact{
    width: 80%;
    margin: 0 auto;
    margin-bottom: 20%;
  }
  .index .width.news{
  margin-bottom: -25%;
  margin-top: -40%!important;
  }
  .news h3, .contact h3, .new-contact h3 #company.pc h3{
    text-align: center;
    font-size: 24px;
    margin-bottom: 7%;
  }
  .newC-mail{
    text-align: center;
    font-size: 28px;
    margin-bottom: 7%;
  }
  .news_box li a.newsBox_link{
    flex-direction: column;
  }
  .newsDate, .newsDetails{
    margin: 3% 0;
  }
  .newsDate, .newsDetails ,.news_arrow{
    width: 100%;
  }

  /* contact */
  .contact-flex p{
    margin-bottom: 5%;
  }
  .contact-flex p.more-txt{
    margin-bottom: 0;
  }
  .contact .more_button{
    justify-content: center;
  }
  /* footer */
  footer .width{
    width: 80%;
    margin: 0 auto;
  }
  .footerBg .width{
    flex-direction: column;
  }
  .footerNav{
    flex-direction: column;
    width: 100%;
  }
  .footerNav {
    display: flex;
    justify-content: flex-start;
    text-align: left;
  }
  .footerBg{
    padding: 10% 0;
  }
  .footerNav ul li{
    margin-bottom: 5%;
  }
  .footer_logo{
    margin-top: 8%;
    text-align: right;
  }
  .footer_logo img{
    width: 100%;
    margin: 0 auto;
  }
  .footer_logo {
    width: 100%; 
    text-align: right; 
    margin-top: 8%;
  }
  .footer_logo img {
    width: 35%; 
    margin: 0;
  }
  /* ====================
    index以外 - top
  ======================= */
  .subTop{
    padding-top: 50%;
  }
  .top_title h2 img{
    max-width: 500px;
  }
  .top_company .top_title h2 img{
    top: -600%;
    left: -180%;
  }
  .top_contact .top_title h2 img{
    top: -500%;
    left: -250%;
  }
  .top_service .top_title h2 img {
    top: -500%;
    left: -270%;
  }
  .top_news .top_title h2 img {
    top: -500%;
    left: -370%;
  }  
  .top_text{
    width: 80%;
    margin-top: 30%;
  }
  #form{
    margin-top: 30%;
  }
  /* contact */
  .new-contact.forPage{
    margin: 40% auto;
  }
  .new-contact h3{
    margin-bottom: 2%;
  }
  /* ====================
    company
  ======================= */
  .column, .ceo_details{
    flex-direction: column;
    gap: 5px;
  }
  dl.companyDetails div.column dt, dl.companyDetails div.column dd,
  .ceo_title, .ceo_name{
    width: 90%;
    margin: 0 auto;
  }
  dl.companyDetails dt.padding{
    display: flex;
    gap: 5%;
    align-items: center;
  }
  dl.companyDetails dt.padding div{
    width: 50%;
  }
  .ceo_details{
    margin-top: 0;
    text-align: left;
  }
  .ceo_title{
    margin-bottom: 10%;
  }
  .ceo_name{
    display: block;
  }
  dl.companyDetails dt.padding{
    padding-bottom: 0%;
  }
  dl.companyDetails div.column dt.left{
    text-align: left;
    width: 80%;
    margin: 0 auto;
  }
  
  /* ====================
    contact
  ======================= */
  form .contact_inside{
    flex-direction: column;
  }
  form .form-container {
    width: 100%;
  }
  form .contact_inside p{
    width: 80%;
    text-align: center;
    margin-bottom: 1.5%;
  }
  form input, form textarea, form .contact_inside p,
  .wpcf7-form-control-wrap{
    width: 90%;
  }
}

@media screen and (max-width: 650px) {
.bg-spin{
  left: 8%;
  top: 25%;
}
}

@media screen and (max-width: 550px) {
  /* ====================
    index
  ======================= */
  .container img{
    width: 90%;
  }
  /* header */
  h1 img{
    width: 85%;
  }
  #btn{
    width: 55px;
    height: 85px;
  }
  /* hero */
  .top.sp{
    margin-top: -27%;
  }
  /* overall */
  h3.sp, .leftTitle-content_txt h4, .news h3, .contact h3, #company.pc h3{
    font-size: 20px;
  }
  .sp_width{
    width: 80%;
  }
  /* spirit */
  .bg-spin{
    left: 8%;
    top: 30%;
  }
  /* service */
  .title_en{
    font-size: 10px;
  }
  /* news */
  .newsTitle{
    font-size: 16px;
  }
  /* ====================
    index以外 - top
  ======================= */
  .more_button{
    padding: 4.5% 20%;
  }
  .subTop{
    padding-top: 65%;
  }
  .top_text{
    width: 90%;
  }
  .top_contact .top_title h2 img{
    left: -220%;
  }
  .top_company .top_title h2 img{
    left: -170%;
  }
  .top_service .top_title h2 img {
    left: -250%;
  }
  .top_news .top_title h2 img {
    left: -350%;
  } 
  .index .width.news{
  margin-top: -80%!important;
  }
  .index div#company{
  margin-top: -20%!important;
  }
  /* ====================
    service
  ======================= */
  .more_button.toggleButtonS {
    padding: 6% 15%;
  }
}

@media screen and (max-width: 450px) {
  /* ====================
    index
  ======================= */
  h1 img{
    width: 75%;
  }
  .top.sp{
    margin-top: -35%;
  }
  .bg-spin{
    left: 5%;
    top: 35%;
  }
  /* ====================
    index以外 - top
  ======================= */
  .subTop{
    padding-top: 90%;
  }
}

/* 試し */
.fade.hero {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.staff-lines {
  position: absolute;
  top: 42%;
  left: 0;
  right: 0;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  z-index: 1;
}

.line {
  height: 1px;
  background-color: #70D4D5;
  width: 0%;
  animation: slideLine 0.6s forwards;
  opacity: 0;
}

.line1 { animation-delay: 0s; }
.line2 { animation-delay: 0.2s; }
.line3 { animation-delay: 0.4s; }
.line4 { animation-delay: 0.6s; }
.line5 { animation-delay: 0.8s; }

@keyframes slideLine {
  to {
    width: 100%;
    opacity: 1;
  }
}

.logo-wrap {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%) translateX(50%);
  z-index: 2;
  opacity: 0;
  animation: slideLogo 0.8s ease-out forwards;
  animation-delay: 1.2s;
}

.logo {
  max-height: 70%;
  width: auto;
}

@keyframes slideLogo {
  from {
    transform: translateX(50%);
    opacity: 0;
  }
  to {
    transform: translateX(0%);
    opacity: 1;
  }
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .logo-wrap {
    justify-content: center;
    right: auto;
  }
}

