/*
Theme Name: takahara-kogyou
*/

@charset "UTF-8";
*,
*:before,
*:after {
  box-sizing: inherit;
}
html {
  font-size: 62.5%;
  box-sizing: border-box;
}
body {
  -webkit-font-feature-settings: "palt";
          font-feature-settings: "palt";
  font-family:  "Shippori Mincho", "Noto Serif JP",'Noto Sans JP', sans-serif, "HiraginoSans-W3", "HiraginoSansW6", "HiraKakuProN-W3", "Hiragino Sans", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "メイリオ";
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #474747;
  font-size: 1.6rem;
  line-height: 2;
  letter-spacing: 0.3em;
}
body.open {
  overflow: hidden;
}
a {
  color: #474747;
  display: block;
}
a:link {
  text-decoration: none;
  -moz-opacity: 0.8;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
a:visited {
  color: #474747;
}
a:hover {
  opacity: 0.5;
}
h1 {
  font-size: 3rem;
  letter-spacing: 0.1rem;
  line-height: 1.5;
  font-weight: 400;
  color: #004569;
}
h2 {
  font-size: 4rem;
  letter-spacing: 0.1rem;
  line-height: 1.2;
  font-weight: bold;
  color: #004569;
  margin-bottom: 3rem;
}
h3 {
  font-size: 2.2rem;
  letter-spacing: 0.1rem;
  font-weight: bold;
}
h4 {
  font-size: 1.8rem;
  letter-spacing: 0.1rem;
  font-weight: 400;
}
p,span {
  font-family:'Noto Sans JP', sans-serif, "HiraginoSans-W3", "HiraginoSansW6", "HiraKakuProN-W3", "Hiragino Sans", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "メイリオ";
}
img {
  display: block;
  width: 100%;
}
input, button, textarea, select {
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-weight: normal;
}
button {
  text-decoration: none;
  -moz-opacity: 0.8;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
button:hover {
  cursor: pointer;
}
.link_btn {
  font-family: Noto Sans JP;
  font-weight: bold;
  display: inline-block;
  padding: 1rem 2rem;
  /*color: #fff;*/
  border: solid 3px #C9DBE5;
  border-radius: 3rem;
  text-align: center;
  font-size: 1.2rem;
}
.link_btn:hover {
  opacity: 0.5;
}
/*---------- header ----------*/
header {
  font-family: 'Noto Sans';
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.header_logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
}
.header_logo img {
  width: 10rem;
  height: auto;
}
.header_company {
  color: #fff;
  padding-left: 2rem;
  margin: 3rem 0 1rem 0;
}
.header_company_label {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1rem;
}
.header_company_name {
  font-size: 3rem;
  font-weight: bold;
}
header a {
  color: #fff;
  display: block;
}
header a:visited {
  color: #fff;
}

.global-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 300px;
  height: 100%;
  background-color: #2f3b4a;
  color: #fff;
  padding: 20px;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.global-menu .menu-header h2 {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #fff;
}

.global-menu .md_gl_nav {
  margin-bottom: 20px;
}

.nuv-list {
  list-style: none;
  padding: 0;
}

.nuv-list li {
  margin-bottom: 15px;
}

.nuv-list li a {
  color: #fff;
  text-decoration: none;
  font-size: 1em;
  display: block;
}

.nuv-list li a:hover {
  text-decoration: underline;
}

.contact-info {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 25rem;
  background-color: #2f3b4a;
  color: #fff;
  text-align: center;
  z-index: 1000;
  border-radius: 0;
}

.contact-info p {
  padding: 1rem;
  margin: 0;
  font-size: 1.2em;
}

.contact-info .contact-button {
  display: inline-block;
  margin-top: 10px;
  padding: 1rem 2rem;
  width: 25rem;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
}

.contact-info .contact-button:hover {
  background-color: #0056b3;
}




/*---------- main ----------*/
.fl_wrap {
  opacity: 1;
  transition: opacity 2.0s ease;
}
.fl_wrap.hidden {
  display: none;  
}
/* main {
  background-image: url(assets/images/japanese-paper.jpg);
  background-size: cover;
  background-position: center;
} */
.fl_main_visual{
  position: relative;
  width: 100%;
  height: 70rem;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.fl_main_visual img{
  width: 100%;
  height: auto;
  display: block;
  min-height: 70rem;
}
.swiper-slide-active .item,
.swiper-slide-duplicate-active .item,
.swiper-slide-prev .item {
  animation: zoomanime 6.5s linear 0s normal both;
}
@keyframes zoomanime {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.3);
  }
}

.md_visual_word {
  position: relative;
  height: 100%;
}
.vertical {
  writing-mode: vertical-rl; /* 縦書きモードに設定 */
  text-orientation: upright; /* 文字を直立させる */
}
.inline-number{
  text-combine-upright: all;
}
.md_visual_word-subtitle {
  margin-left: 2rem;
}
.md_visual_word-title {
  padding-top: 5rem;
}
.md_visual_word-title h1 {
  font-size: 4rem;
  letter-spacing: 0.1rem;
  line-height: 1.2;
  font-weight: bold;
  color: #004569;
  margin-bottom: 0;
}
.md_visual_word-subtitle h1,
.company_md_visual_word-subtitle h1,
.history_md_visual_word-subtitle h1,
.wp_visual_word-subtitle h1,
.construction_visual_word-subtitle h1,
.recuruitment_visual_word-subtitle h1,
.insulation_visual_word-subtitle h1,
.spraying_visual_word-subtitle h1  {
  font-weight: bold;
  color: #474747;
  font-size: 2.3rem;
  margin-bottom: 0;
  line-height: 1.5;
}
.md_visual_word-subtitle p {
  font-weight: bold;
  color: #474747;
  font-size: 2.3rem;
  margin-bottom: 0;
  line-height: 1.5; 
  font-family: 'Shippori Mincho', "Noto Serif JP",'Noto Sans JP', sans-serif;
}
/* .md_visual_word h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 50%;
} */
.fl_breadcrumb {
  padding: 1rem 0;
}
.md_breadcrumb {
  display: flex;
  font-size: 1.2rem;
}
.copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.photo-container {
    position: relative;
    width: 100%;
    z-index: 0;
    height: 100%;
}
.main_visual_slider {
  position: relative;
  overflow: hidden;
}


/* mv */
.construction_visual_word-subtitle,
.recuruitment_visual_word-subtitle {
  position:absolute;
  right: 8rem;
  top: 5rem;
}
.construction_visual_word-title,
.recuruitment_visual_word-title {
  position: absolute;
  right: 19rem;
  top: 30rem;
}
.construction_visual_word-title h2,
.recuruitment_visual_word-title h2{
  font-size: 7rem;
}
.about_md_visual_word-title {
  position: absolute;
  right: 22rem;
  top: 8rem;
}
.about_md_visual_word-title h2{
  font-size: 6rem;
}
.company_md_visual_word-title h2{
  font-size: 8rem;
}
.wp_visual_word-subtitle,
.insulation_visual_word-subtitle,
.spraying_visual_word-subtitle{
  position: absolute;
  right: 10rem;
  top: 10rem;
}
.wp_visual_word-title,
.insulation_visual_word-title{
  position: absolute;
  right: 19rem;
  top: 18rem;
}
.wp_visual_word-title h2,
.insulation_visual_word-title h2{
  font-size: 6rem;
}
.spraying_visual_word-title{
  position: absolute;
  right: 16rem;
  top: 18rem;
}
.spraying_visual_word-title h2{
  font-size: 6rem;
}
.right-contents {
  width: 25rem;
  height: 100%;
  position: absolute;
  right: 0;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  padding: 4rem;
  z-index: 1;
  background-color: #fff;
  opacity: 0.9;
}


/* about */
.fl_top_about{
  position: relative;
}
.fl_top_about .frame .about_strengths {
  padding-top: 10rem;
}
.background-paint{
  position: absolute;
  top: -15;
  right: 0;
  z-index: -5;
  width: 55%;
}
.background-paint-item{
  position: absolute;
  top: 65rem;
  right: 0;
  width: 40%;
}
.top_about-text {
  margin: 0 10rem;
}
.about_strengths{
  margin: 0 10rem;
}
.top_about-text {
  padding-top: 15rem;
}
.fl_top_about p{
  font-weight: bold;
}
.top_about-text .link_btn {
  margin-top: 2rem;
}
.decoration {
  border-bottom: 1px solid #000;
}
.fl_top_about .col3{
    margin: 10rem 0;
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}
.fl_top_about .md_col3{
  position: relative;
  display: inline-block;
}
.fl_top_custom-container {
  width: 100%;
  position: relative;
}
.fl_top_custom-container .background {
  width: 918px;
  height: 270px;
  position: absolute;
  background: #848484;
}
.fl_top_custom-container .content {
  width: 411px;
  height: 213px;
  position: absolute;
  left: 0;
  top: 57px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding-top: 96px;
}
.fl_top_custom-container .img_wrapper {
  position: relative;
}
.fl_top_custom-container .inner-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40%;
  height: 40%;
  min-width: 36rem;
  min-height: 10rem;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}
.fl_top_custom-container .text-box {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
}
.fl_top_custom-container .number-box {
  padding-bottom: 10px;
  border-bottom: 3px white solid;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.fl_top_custom-container .number {
  color: white;
  font-size: 40px;
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 800;
  line-height: 48px;
  letter-spacing: 4.70px;
  word-wrap: break-word;
}
.fl_top_custom-container .text {
  color: white;
  font-size: 25px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  line-height: 35px;
  letter-spacing: 3px;
  word-wrap: break-word;
}
.fl_top_custom-container .dummy-text {
  width: 918px;
  position: absolute;
  left: 0;
  top: 287px;
  color: #474747;
  font-size: 15px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  line-height: 27px;
  letter-spacing: 1.50px;
  word-wrap: break-word;
}
.fl_top_about .imgae-btn{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    border: solid 1px #fff;
    border-radius: 1.5rem;
    white-space: nowrap;
    padding: 1rem;
}
.fl_top_about .about-us,
.history-text,
.company-text{
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 7rem;
}
.fl_top_about .md_left{
  position: relative;
  display: flex;
  gap: 2rem;
  margin-top: 15rem;
  padding-top: 3rem;
  border-top: solid 1px #D9D9D9;
}
.fl_top_about .md_left .decoration{
  position: absolute;
  right: 0;
  top: -2rem;
  font-size: 1rem;
  color: #848484;
}
.fl_recuruitment-office .history{
  padding-top: 2rem;
}
.company .text-box,
.fl_recuruitment-office .history .text-box {
  margin-left: 1.5rem;
}
.text-box span{
  font-size: 1rem;
  color: #848484;
}
.text-box .title{
  position: relative;
 font-family: "Shippori Mincho";
}
.company .text-box .title::before,
.fl_recuruitment-office .history .text-box .title::before{
  position: absolute;
  top: -4rem;
  left: -1rem;
  content: "";
  padding: 5rem;
  border-left: solid 1px #6D6866;
  font-size: 1.6rem;
}
body.company .text-box .title::before {
  border-left: none;
}
page-template-default page page-id-14 logged-in admin-bar company customize-support
.fl_top_about .md_right,
.history-text .md_right,
.company-text .md_right{
  position: relative;
}
.fl_top_about .illust,
.history-text .illust,
.company-text .illust{
  position: absolute;
  top: 70%;
  right: 0;
  width: 80%;
}


/* service */
.fl_top_service{
  margin: 15rem 0;
  padding: 5rem 0;
}
.fl_top_service .frame{
  position: relative;
  padding-right: 0;
}
.service-title{
  position: relative;
  display: flex;
  margin-bottom: 5rem;
}
.fl_waterproof_construction .service-title {
  width: 100%;
}
.fl_top_service .service-title::after,
.fl_about_service-case .service-title::after{
  position: absolute;
  content: "";
  padding: 1rem;
  width: 75rem;
  border-bottom: 1px solid;
  top: 4rem;
  left: -35rem;
}
.service-title img{
  position: absolute;
  width: 14%;
  z-index: -1;
  top: -60px;
  left: -24rem;
}
.service-title h2{
  white-space: nowrap;
  line-height: 6rem;
}
.service-title p,
.craftsman-text p{
  font-size: 1.2rem;
  padding: 3rem 10rem;
  max-width: 45%;
}
.service-title .service-title-top,
.service-title .service-title-bottom {
  font-size: 4rem;
  font-family: inherit;
  border-bottom: 2px solid #fff;
}
.service-title .service-title-bottom {
  width: 100%;
  display: inline-block;
}
.inquiry-text .md-right {
  font-size: 1.2rem;
  padding: 3rem;
  width: 60%;
}
.inquiry-text .md-right .link_btn {
  margin-top: 2rem;
}
.case-wrapper {
  position: relative;
  padding: 2rem 0 3rem;
}
.case-wrapper::before{
  position: absolute;
  content: "";
  width: 100vw;
  height: 110%;
  background-color: #C8DAE4;
  clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
  z-index: -2;
  top: -2rem;
  left: -35rem;
}
.service-title .case{
  display: flex;
}
.case h3{
  color: #004569;
  font-weight: bold;
  font-size: 3rem;
}
.case .link_btn{
  font-family: Noto Sans JP;
  font-weight: bold;
  display: inline-block;
  padding: 1rem 2rem;
  color: #004569;
  background-color: #fff;
  border: solid 3px #C9DBE5;
  border-radius: 3rem;
  text-align: center;
  font-size: 1.2rem;
  height: 5rem;
  line-height: 2.5rem;
  margin-top: 1rem;
}

.fl_top_service .case-list {
  display: flex;
}
.case-list{
  margin: 5rem 0;
}
.case-type{
  white-space: nowrap;
  margin-right: 5rem;
}
.case-type ul{
  font-family: 'Noto Sans JP';
  font-weight: bold;
  font-size: 1.8rem;
  letter-spacing: 0.1rem;
  align-items: flex-start;
}
.fl_top_service .case-type ul{
  display: flex;
  flex-direction: column;
}
.case-type ul li{
  display: inline-block;
  border-radius: 3rem;
  padding: 5px 10px;
  margin: 1rem 1rem 1rem 0;
  border-radius: 15px;
  font-weight: bold;
  color: #333;
  background-color: transparent;
  transition: background-color 0.3s;
}
.fl_top_service .case-type ul li{
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.case-type li {
  cursor: pointer;
}
.case-type .selected{
  background-color: #007C8E;
  color: #fff;
}
.case-image{
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  padding: 3rem 0 4rem;
}
.case-image-card .day{
  font-size: 1.1rem;
  color: #848484;
}
.case-image-card .case-title{
  font-size: 1.5rem;
  font-weight: bold;
}

.case-image-card {
  width: 30%;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  background-color: #fff;
  text-align: center;
}

.case-image-card-img {
  width: 100%;
  aspect-ratio: 5 / 3;
  overflow: hidden;
}
.case-image-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fl_top_service .swiper_block {
  min-width: calc(100% - 20rem);
  max-width: calc(100% - 20rem);
}
.fl_top_service .swiper,
.fl_top_service .swiper-wrapper {
  width: 100%;
}
.fl_top_service .swiper-wrapper.center-align {
  display: flex;
  justify-content: center;
  gap: 30px;
}
.fl_top_service .case-list {
  max-width: 100%;
}
.fl_top_service .case-type {
  width: 20rem;
  margin: 0;
}
.fl_top_service .case-image-card {
  width: calc(100% / 2.5);
}
.fl_top_service .case h3 {
  width: 20rem;
}
.fl_top_service .case {
  display: flex;
}

/* service切り出し */
.fl_about_service .about-us{
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
}
.fl_about_service .md_left {
  position: relative;
  display: flex;
  gap: 2rem;
  margin-top: 15rem;
  padding-top: 3rem;
  border-top: solid 1px #D9D9D9;
}
.fl_about_service .md_left .decoration {
  position: absolute;
  right: 0;
  top: -2rem;
  font-size: 1rem;
  color: #848484;
}
.company .text-box, .fl_recuruitment-office .history .text-box {
  margin-left: 1.5rem;
}
.fl_about_service .md_right,
.history-text .md_right,
.fl_recuruitment-office .md_right {
  position: relative;
}
.fl_about_service .illust,
.history-text .illust,
.fl_recuruitment-office .illust {
  position: absolute;
  top: 70%;
  right: 0;
  width: 80%;
}


/* 採用情報パーツ */
.fl_inquiry{
  padding: 15rem 0;
}
.inquiry-title{
  position: relative;
}
.inquiry-title h2{
font-size: 4rem;
font-weight: bold;
}
.title-image{
  position: absolute;
  z-index: -2;
  top: -7rem;
  left: -20rem;
  width: 80%;
}
.title-image2{
  position: absolute;
  z-index: -2;
  top: -4rem;
  right: 10rem;
  width: 20%;
}
.title-image img{
  object-fit: contain;
}
.inquiry-text{
  padding: 1rem 0;
  display: flex;
  align-items: center;
}
.inquiry-text .md-left{
width: 40%;
}

.fl_craftsman{
  position: relative;
}
.fl_craftsman .frame{
  display: flex;
  align-items: center;
  margin-bottom: 8rem;
}
.fl_craftsman .link_btn{
  margin-top: 2rem;
}
.craftsman-title h2{
  line-height: 2;
}
.craftsman-text p{
  padding: 3rem 0;
  max-width: 100%;
}
.craftsman-image{
  position: relative;
}
.craftsman-image-bg{
  position: absolute;
  top: 0;
  right: -5rem;
  width: 75%;
  z-index: -2;
}
.fl_rolemodel,
.road-to-about{
  position: relative;
}
.fl_rolemodel .decoration{
  position: absolute;
  width: 70rem;
  text-align: right;
  left: 0;
  top: -2rem;
  border-bottom: solid 2px #D9D9D9;
  color: #A2A2A2;
  letter-spacing: normal;
  padding-right: 1rem;
}
body.road-to .fl_road-to .road-to-about {
  padding-top: 6rem;
}
.road-to-about .decoration {
  position: absolute;
  width: 40%;
  text-align: right;
  left: 0;
  top: 2rem;
  border-bottom: solid 2px #D9D9D9;
  color: #A2A2A2;
  letter-spacing: normal;
  padding-right: 1rem;
}
.road-to-about .decoration::after {
  content: '';
  display: inline-block;
  height: 2px;
  width: 105px;
  background-color: #6D6866;
  position: absolute;
  right: 0;
  bottom: -2px;
}
.fl_rolemodel .decoration.salary {
  top: -3rem;  
}
.fl_rolemodel .decoration::after {
  content: '';
  display: inline-block;
  height: 2px;
  width: 105px;
  background-color: #6D6866;
  position: absolute;
  right: 0;
  bottom: -2px;
}
.fl_rolemodel .decoration.salary::after {
  width: 70px;
}
.rolemodel-title{
  display: flex;
  justify-content: space-between;
  padding: 3rem 0;
}
.roadmap{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 3rem 0;
}
.roadmap h2 {
  margin: 0 3rem 0 0;
}
.roadmap .link_btn {
  width: 18rem;
  background-color: #fff;
  margin: 1rem 0;
}
.rolemodel-title h3,
.roadmap h3{
  color: #004569;
}
.rolemodel-member{
  display: flex;
  margin-left: -30rem;
  height: auto;
  align-items: center;
  gap: 5rem;
}
/*.rolemodel-title .link_btn,
.roadmap .link_btn{
  margin-left: 25rem;
}*/
.rolemodel-member .md-left{
  position: relative;
  z-index: -2;
  max-width: 90%;
  object-fit: contain;
}
.rolemodel-member-bg{
  position: absolute;
  z-index: -3;
  top: 23rem;
  left: -6rem;
  height: auto;
  max-width: 100%;
}

.rolemodel-member .md-right span{
  font-weight: bold;
}
.roadmap-item-01,
.roadmap-item-02,
.roadmap-item-03{
  display: flex;
}
.roadmap-item-01 img,
.roadmap-item-02 img,
.roadmap-item-03 img{
  width:10rem;
  margin-right: 2Srem;
  object-fit: contain;
}
.roadmap-text .title{
  font-family: "Shippori Mincho";
}
.roadmap-text .title{
  font-size: 2rem;
  padding-bottom: 0;
}
.roadmap-text span{
  font-size: 1.5rem;
  padding-bottom: 0;
}
.roadmap-contents{
  padding-left: 15vw;
  position: relative;
}
.roadmap-contents .roadmap-text {
  padding-left: 3rem;
}
.roadmap-item-01,
.roadmap-item-02,
.roadmap-item-03{
padding-bottom: 2rem;
}
.roadmap-item-01 {
  padding-left: 12rem;
}
.roadmap-item-02 {
  padding-left: 6rem;
}
.roadmap-item-03 {
  padding-left: 0rem;
}
.roadmap-contents .roadmap-contents-bnr {
  position: absolute;
  top: 50%;
  transform: translateY(-55%);
  left: -15vw;
  width: 45%;
  max-width: 375px; 
}

/* about */
.about_strengths-text{
padding-bottom: 3rem;
}
.strengths-content{
  padding-bottom: 3rem;
}
.strengths-content-bnr01,
.strengths-content-bnr02{
  position: relative;
}
.strengths-content p{
  font-weight:normal;
}
.strengths-content-title{
  position: absolute;
  color: #fff;
  background-color: #D9D9D9;
  display: flex;
  bottom: 8px;
  left: 3px;
  padding: 1rem 5rem;
  filter: brightness(0.5) contrast(1.5);
}
.strengths-content-title .num{
  font-size: 4.5rem;
  font-weight: bold;
  /* border-bottom: 2px solid #fff; */
  display: inline-block;
  padding-bottom: 0;
}
.strengths-content-title span{
  font-size: 2rem;
  font-family: "Noto Sans JP";
  font-weight: bold;
  display: inline-block;
  line-height: 1.1;
}

.fl_about_service,
.fl_about_service-case,
.fl_company{
  margin: 1rem 0 5rem;
  padding: 1rem 0 5rem;
}
.fl_about_service {
  margin: 1rem 0 0;
  padding: 1rem 0 10%;
}
.fl_about_service-case .case{
  display: flex;
  position: relative;
}
.fl_about_service-case .case::before{
  position: absolute;
  content: "";
  width: 100vw;
  height: 60rem;
  background-color: #C8DAE4;
  clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
  z-index: -2;
  bottom: -50rem;
  left: -55rem;
}

.fl_about_service-case .case-list{
  display: inline-block;
  text-align: center;
}
.fl_about_service-case .title{
  font-size: 2rem;
  font-weight: bold;
  color: #6D6866;
}
.fl_about_service-case .case-type{
  white-space: nowrap;
  margin-left: 5rem;
  margin-right: 0;
}
.fl_about_service-case ul{
  display: block;
}
.fl_about_service-case .service-title {
  margin-bottom: 0;
}

.about_explanation-image,
.company_image,
.history_image{
  display: flex;
  margin-left: -40rem;
  gap: 15rem;
  padding-bottom: 5rem;
  z-index: -2;
  align-items: center;
}
.company_image{
  padding-bottom: 0;
}
.about_explanation-image .md_left,
.company_image .md-left,
.history_image .md-left{
position: relative;
display: flex;
gap: 2rem;
margin-top: 15rem;
padding-top: 0;
border-top:none;
z-index: -2;
}
.company_image .md_right img,
.history_image .md_right img{
  mix-blend-mode: multiply; 
}
.company_text{
  margin: 10rem 6rem 3rem;
}
.about-part .company_text{
  width: 80%;
  margin: 5rem auto 0;
}
.about_explanation-text{
  margin: 0 20rem;
}
.history-text .table-section,
.company-text .table-section{
  margin: 0;
}

/* 会社概要 */
.company_md_visual_word-subtitle {
  position:absolute;
  right: 10rem;
  top: 25rem;
}
.company_md_visual_word-title {
  position: absolute;
  right: 17rem;
  top: 40rem;
}
.company-title{
  width: 70%;
  margin: 0 auto;
  text-align:center;
}
.company-title h2{
  display: inline-block;
}
.table-section .text-box,
.history-text .md_left .text-box{
  padding: 3rem 0 0rem 2rem;
  border-left: 1px solid #6D6866;
  margin: 5rem 0 2rem 0;
}
.table-section .text-box .title,
.history-text .md_left .title{
  color: #004569;
  font-size: 3rem;
  font-weight: bold;
}
.text-box .link_btn {
  margin-top: 2rem;
}
.company-table,
.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.6rem;
  color: #333;
  font-family: 'Noto Sans JP';
  margin: 0 3rem;
}
.company-table th,
.company-table td,
.history-table th,
.history-table td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
}
.company-table th {
  width: 20%;
  font-weight: bold;
  color: #333;
}
.company-table td {
  width: 80%;
  color: #333;
}
.company-table tr:not(:last-child),
.history-table tr:not(:last-child) {
  border-bottom: 1px solid #ccc;
}
.history-text{
  /*margin: 0 20rem 10rem 20rem;*/
  margin-bottom: 10rem;
  padding-bottom: 10rem;
}
.history-text .md_left{
  width: 50%;
}
.history-text .md_right{
  width: 50%;
}


/* 沿革 */
.fl_history {
  padding-top: 15rem;
}
.history_md_visual_word-subtitle {
  position:absolute;
  right: 10rem;
  top: 10rem;
}
.history_md_visual_word-title h2{
  font-size: 6rem;
}
.history_md_visual_word-title {
  position: absolute;
  right: 17rem;
  top: 18rem;
}
.history-title{
  width: 70%;
  margin: 0 auto;
  text-align:center;
}
.history-title h2{
  display: inline-block;
}
.history_text{
  margin: 10rem 6rem;
}
.history-table th {
  width: 30%;
  font-weight: bold;
  color: #333;
}
.history-table td {
  width: 70%;
  color: #333;
}
.company-text {
  margin: 0 20rem 10rem 20rem;
  padding-bottom: 10rem;
}
.frame .company-text {
  margin: 20rem 0 20rem 0;
}
.staff_text{
  margin: 10rem 6rem;
} 
.staff_text h2 {
  text-align: center;
}
.fl_company .col3 {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
}
.fl_company .md_col3 {
  width: 30%;
  line-height: 1;
  letter-spacing: normal;
  margin: 2rem 0;
  display: flex;
  flex-wrap: wrap;
}
.fl_company .col3::after {
  display: block;
  content: "";
  width: 30%;
}
.fl_company .staff-image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.fl_company .staff-info .staff-job {
  font-size: 1.4rem;
  padding: 10px 0 0;
  color: #848484;
  line-height: 1.2;
}
.fl_company .staff-info {
  margin-top: auto;
}
.fl_company .staff-info .staff-name {
  padding: 10px 0 0;
}






/* 防水工事について */
.waterproofing_about,
.insulation_about,
.spraying_about{
  padding: 0 5rem;
}
.waterproofing_about-text,
.insulation_about-text,
.spraying_about-text{
  padding: 5rem;
}
.waterproofing-contents,
.insulation-contents,
.spraying-contents{
  border-bottom: 1px solid #D9D9D9;
  border-top: 1px solid #D9D9D9;
  padding: 5rem 3rem;
}
.waterproofing-contents-inner,
.insulation-contents-inner,
.spraying-contents-inner{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 4rem;
}
.waterproofing-kinds,
.insulation-kinds,
.spraying-kinds{
  flex: 1 1 calc(50% - 4rem); 
}
.waterproofing-content-title h3,
.insulation-content-title h3,
.spraying-content-title h3{
  font-family: "Noto Sans JP";
  font-weight: bold;
  font-size: 3rem;
  color: #004569;
  padding-bottom: 0;
}
.waterproofing-contents-inner::after {
  width: calc(50% - 4rem);
  content: '';
}

.waterproofing_price,
.insulation_price,
.spraying_price {
  padding: 5rem 2rem;
  margin: 5rem;
  border: 1px dashed#007C8E;
  text-align: center;
  border-radius: 2rem;
}
.price-list{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  letter-spacing: 0.1rem;
}
.price-contents {
  width: 47%;
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid;
  justify-content: space-between;
  align-items: center;
}
.spraying_price .price-contents {
  width: 100%;
  justify-content: flex-start;
}
.price-contents p{
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #007C8E;
  color: #fff;
  padding: 0rem 1.2rem;
  border-radius: 3rem;
  margin: 2rem 1rem;
  min-width: 10rem;
  min-height: 6rem;
  font-size: 1.5rem;
}

.construction-about{
  margin: 0;
  text-align: center;
}
.construction-about-title{
  display: flex;
  text-align: left;
  gap: 5rem;
  align-items: center;
  padding: 5rem 0;
  margin-bottom: 5rem;
}
.construction-about-title p,
.spraying-about-title p{
  white-space: nowrap;
  font-size: 3rem;
}
.construction-about-title span,
.spraying-about-title span{
  font-size: 4.5rem;
}
.construction-about-title p,
.spraying-about-title p{
  z-index: 2;
}
.construction-about-title .main-text,
.construction-about-title .main-text-insulation,
.spraying-about-title .main-text,
.spraying-about-title .main-text-insulation{
  white-space: normal;
  font-size: 1.6rem;
  position: relative;
  z-index: 1;
  margin-right: 4rem;
  color: #28292A;
}
.construction-about-title .main-text {
  font-size: 1.4rem;
}
.construction-about-title .main-text::after{
  position: absolute;
  content: "";
  width: 60vw;
  height: calc(100% + 100px);
  background-color: #fff;
  top: -50px;
  right: -40px;
  clip-path: polygon(10% 0%, 100% 0, 100% 100%, 0% 100%);
  z-index: -1;
}
.fl_waterproof_construction,
.fl_insulation_construction{
  background-color: rgba(200, 218, 228, 0.6);
  padding: 5rem 0;
}
.fl_waterproof_construction p,
.fl_insulation_construction p{
  font-weight: bold;
  color: #004569;
}
.construction-service{
  margin: 5rem 0;
}
.construction-service-inner{
  display: flex;
  align-items: center;
  margin-left: -25rem;
  gap: 5rem;
}
.construction-service-inner .md_left{
  margin-top: 0;
  width: 100%;
  border: none;
  z-index: 1;
  position: relative;
}
.construction-service-inner .md_left::after{
  position: absolute;
  content: "";
  width: 20vw;
  height: 50rem;
  background-color: #AEC4CE;
  left: -70px;
  bottom: -50px;
  clip-path: polygon(0 0, 60% 0, 100% 100%, 45% 100%);
  z-index: -1;
}
.construction-service-inner .md_right .service-title{
  position: inherit;
  display: inline-block;
  margin: 0;
}
.security-title{
  font-weight: bold;
  font-size: 3rem;
  background-color: #AEC4CE;
  padding: 0 3rem;
  border-bottom: 3px solid;
  margin: 10rem 0 2rem 0;
}
.fl_wp_service-case-inner{
  margin: 5rem 0;
  position: relative;
}
.fl_wp_service-case .case{
  display: flex;
  position: relative;
}
.fl_wp_service-case .case h3{
  max-width: 16rem;
  min-width: 15rem;
  line-height: 4rem;
  align-content: center;
}
.fl_wp_service-case .case h3.long_category_name{
  font-size: 2.4rem;
}
.fl_wp_service-case-inner::before{
  position: absolute;
  content: "";
  width: 95vw;
  height: calc(80%);
  background-color: #C8DAE4;
  clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
  z-index: -2;
  top: -2rem;
  left: -35rem;
}
.fl_wp_service-case .case-list{
  text-align: center;
  margin-top: 2rem;
}
.fl_wp_service-case .title{
  font-size: 3rem;
  font-weight: bold;
  color: #6D6866;
}
.fl_wp_service-case .case-type{
  white-space: nowrap;
  margin-left: 5rem;
  margin-right: 0;
}
.fl_wp_service-case ul{
  display: block;
}
.fl_wp_service-case .no-posts{
  padding-bottom: 3rem;
  font-weight: normal;
}



/* 断熱工事 */
.construction-about-title .main-text-insulation::after{
  position: absolute;
  content: "";
  width: 60vw;
  height: calc(100% + 100px);
  background-color: #fff;
  top: -50px;
  right: -40px;
  clip-path: polygon(10% 0%, 100% 0, 100% 100%, 0% 100%);
  z-index: -1;
}
/*.construction-about-title:last-of-type{
  margin-top: 10rem;
}*/


/* 硬質発泡ウレタン吹付 */
.spraying-about-title {
  display: flex;
  text-align: left;
  gap: 5rem;
  align-items: center;
  padding: 5rem 0;
  margin: 5rem 0;
}
.spraying-about-title .main-text-insulation::after {
  position: absolute;
  content: "";
  width: 60vw;
  height: calc(100% + 100px);
  background-color: #fff;
  top: -50px;
  right: -40px;
  clip-path: polygon(10% 0%, 100% 0, 100% 100%, 0% 100%);
  z-index: -1;
}





/* 施工実績 */

.fl_construction_service-case{
  margin: 0 0 5rem;
  padding: 5rem 0;
}
.fl_construction_service-case .case{
  display: flex;
  justify-content: center;
  position: relative;
}
.fl_construction_service-case .case-list{
  text-align: center;
}
.fl_construction_service-case .title{
  font-size: 3rem;
  font-weight: bold;
  color: #004569;
}
.fl_construction_service-case .case-type{
  white-space: nowrap;
  margin-right: 0;
  text-align: center;
}

.pagination {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pagination a:not(.next):not(.prev),
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border: 2px solid #007b8a;
  border-radius: 50%;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  background-color: #007b8a;
  color: white;
  margin: 0 5px;
  vertical-align: middle;
  box-sizing: border-box;
}
.pagination .current {
  background-color: white;
  color: #007b8a;
  font-weight: bold;
}
.pagination a.next,
.pagination a.prev {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #007b8a;
  border: none;
}



/* 施工実績詳細 */
.fl_wp-detail_service-case-inner,
.fl_recuruitment-inner{
  padding: 10rem 0;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.wp-detail-image {
  position: relative;
  width: 100%;
  margin: auto;
  overflow: hidden;
}
.wp-detail-image .label {
  position: absolute;
  color: white;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: bold;
  z-index: 10;
  border-radius: 3px;
}
.wp-detail-image .label-before {
  top: 10px;
  left: 10px;
  background-color: #898989;
}
.wp-detail-image .label-after {
  top: 10px;
  right: 10px;
  background-color: #007C8E;
}
.image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.image-before,
.image-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.image-before img,
.image-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-after {
  clip-path: inset(0 0 0 50%);
  transition: clip-path 0.2s ease;
}
.slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background-color: #fff;
  cursor: pointer;
  z-index: 10;
  transform: translateX(-50%);
}
.slider-control {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #000;
  color: #fff;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  text-align: center;
  z-index: 11;
}

.table-wrapper{
  font-family: Noto Sans JP;
  font-size: 1.8rem;
  display: flex;
}
.property-details {
  width: 100%;
  border-collapse: collapse;
  margin: 7rem 2rem;
  table-layout: fixed;
}
.property-details th,
.property-details td {
  border-bottom: 1px solid #ccc;
  padding: 10px 15px;
  text-align: left;
  vertical-align: middle;
}
.property-details th {
  font-weight: bold;
  width: 20%;
  color: #555;
}
.property-details td {
  font-size: 1.6rem;
}
.property-details td {
  width: 30%;
}

.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 10px 0;
}
.navigation span {
  font-family: "Shippori Mincho", "Noto Serif JP",'Noto Sans JP', sans-serif, "HiraginoSans-W3", "HiraginoSansW6", "HiraKakuProN-W3", "Hiragino Sans", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "メイリオ";
}
.nav-link {
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}
.nav-link.disabled {
  color: #aaa;
  pointer-events: none;
  cursor: default;
}
.nav-link:hover {
  color: #005f64;
}
.nav-link.prev{
  display: flex;
  align-items: center;
}
.nav-link.next{
  display: flex;
  align-items: center;
}
.nav-link.prev::before {
  content: "〈 ";
  font-size: 4rem;
  margin-right: 3rem;
}
.nav-link.next::after {
  content: " 〉";
  font-size: 4rem;
  margin-left: 3rem;
}
.nav-link.back {
  text-align: center;
  flex-grow: 1;
  font-size: 14px;
  margin: 0 16rem;
  text-decoration: none;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  padding: 3rem;
}
.nav-link.back:hover {
  color: #005f64;
}


/* 採用情報 */
.recruit-table {
  width: 90%;
  border-collapse: collapse;
  font-family: "Noto Sans JP";
  font-weight: bold;
  font-size: 1.6rem;
  padding: 0 4rem;
  margin: 0 auto 10rem;
}
.recruit-table tbody{
  border: 1px solid #ccc;
}
.recruit-table th,
.recruit-table td {
  padding: 10px 15px;
  border-bottom: 1px solid #ccc;
  vertical-align: top;
  text-align: left;
}
.recruit-table th {
  min-width: 15rem;
  background-color: #f8f8f8;
  font-weight: bold;
}
.benefits-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 30%);
  row-gap: 4rem;
  column-gap: 5%;
}
.benefit-item {
  background-color: #D9D9D9;
  padding: 2rem;
  border-radius: 0.2rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.icon {
  width: 20rem;
  height: 20rem;
  background-color: #aaa;
  border-radius: 50%;
  margin: 0 auto 10px;
}
.benefit-title {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
}
.benefit-description {
  font-size: 14px;
  color: #555;
}

.fl_recuruitment-office{
  padding: 0 0 20rem 0;
  margin: 0;
}
.fl_recuruitment-office .about-us {
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center;
}
.fl_recuruitment-office .md_left {
  position: relative;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  border: none;
  flex-direction: column;
}
.fl_recuruitment .frame {
  padding: 0 3rem;
}


/* 提携職人募集 */
.fl_partner-craftsman .background-paint {
  position: absolute;
  right: 0;
  z-index: -5;
  width: 55%;
}
.fl_partner-craftsman{
  margin: 0 10rem;
}
.fl_partner-craftsman .frame {
  padding: 10rem 0 0;
}
.fl_partnership{
  margin: 15rem 10rem;
}
.partner-craftsman-about-inner{
  margin: 5rem 0;
  display: flex;
  align-items: center;
}
.partner-craftsman-img{
  width: 35%;
  padding-right: 5%;
}
.partner-craftsman-about-inner .partner-craftsman-copy{
  width: 65%;
}
.fl_partnership .frame {
  padding: 0 0 0 5rem;
}
.partnership-about p,
.partnership-flow{
  padding-left: 5rem;
}
.partnership-flow-step{
  padding: 3rem 0 0rem 5rem;
  display: flex;
  align-items: flex-start;
}
.partnership-about{
  position: relative;
  padding-bottom: 5rem;
}
.partnership-about img{
  position: absolute;
  width: 20%;
  z-index: -1;
  top: -60px;
  left: -15rem;
}
.partnership-about h2{
  position: relative;
}
.partnership-about h2::after{
  position: absolute;
  content: "";
  padding: 1rem;
  width: 80rem;
  border-bottom: 1px solid;
  top: 4rem;
  left: -50rem;
}
.partnership-flow{
  font-family: "Noto Sans JP";
  position: relative;
}
.partnership-flow::before{
  content: '';
  position: absolute;
  left: 130px;
  top: 90px;
  bottom: 0;
  width: 2px;
  height: 70%;
  background: #ddd;
}
.partnership-flow-step .number{
flex-shrink: 0;
width: 60px;
height: 60px;
background: #005a80;
color: #fff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 3rem;
font-weight: bold;
position: relative;
z-index: 1;
letter-spacing: normal;
}
.step-right{
  padding-left: 5rem;
}
.step-right .title{
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}


/* ロールモデル */
.fl_rolemodel .background-paint{
  position: absolute;
  top: 85rem;
  right: 0rem;
  z-index: -5;
  width: 55%;
}
.rolemodel-inner {
  margin-top: 5rem;
  padding-top: 5rem;
}
.rolemodel-inner .rolemodel-member .md-right span {
  font-size: 3rem;
  color: #004569;
}
.rolemodel-inner .rolemodel-member{
  padding: 5rem 0;
}
.team{
  padding: 10rem 0;
}
.team img{
  max-width: 45%;
}
.rolemodel-inner .roadmap-contents {
  padding-left: 40%;
  position: relative;
}
.roadmap-contents-bnr{
  position: absolute;
  top: 50%;
  transform: translateY(-55%);
  left: 0;
  width: 45%;
  max-width: 700px; 
}



/* 年収1000万への道 */
.road-to-about,
.road-to-step-inner{
  margin: 0 auto;
  padding: 3rem 0;
}
.road-to-block{
  display: flex;
}
.road-to-block h3{
  color: #004569;
  margin-bottom: 2rem;
}
.left-block,
.right-block{
  width: 50%;
  margin: 3rem;
  padding: 3rem;
  border: 1px dashed #b0cbd8;
  border-radius: 1rem;
}
.left-block .text,
.right-block .text{
  margin-left: 2rem;
  letter-spacing: 0.3rem;
}
.left-block span{
  font-weight: bold;
}
.fl_road-to-step{
  font-family: "Noto Sans JP";
}
.road-to-step {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1px; /* 矢印間の隙間 */
  margin: 50px auto;
  overflow: hidden;
}
.step {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-height: 120px;
  padding: 2rem 2rem 2rem 5rem;
  background-color: #b0cbd8;
  text-align: left;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  clip-path: polygon(90% 0%, 100% 50%, 90% 100%, 0% 100%, 10% 50%, 0% 0%);
}
.step:first-child {
  clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
}
.step:last-child {
  clip-path: polygon(100% 0, 100% 50%, 100% 100%, 0% 100%, 10% 50%, 0% 0%);
}
.step .step-year {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}
.step .step-title {
  font-size: 1.4rem;
  margin: 0;
}

.info-section {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 3rem;
  margin: auto;
}
.info-section .content_wrapper {
  display: flex;
  align-items: center;
}

.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  width: 10%;
  background-color: #b0cbd8;
  color: white;
  text-align: center;
  position: relative;
  clip-path: polygon(0 0, 100% 0%, 100% 85%, 50% 100%, 0 85%);
}
.arrow .year-title {
  font-size: 1rem;
  line-height: 1.6;
}
.arrow .year-title span {
  font-size: 1.5rem;
  font-weight: bold;
}
.content {
  flex: 1;
  padding: 0 3rem;
}
.content .title {
  font-size: 1.8rem;
  color: #AEC4CE;
  margin-bottom: 10px;
}
.content .description {
  font-size: 1rem;
  line-height: 1.8;
}
.image {
  flex: 0 0 35%;
}
#content01:target,
#content02:target,
#content03:target,
#content04:target,
#content05:target {
    background-color: #005a80;
    color: #fff;
}
.step.highlight,
.arrow.highlight{
  background-color: #005a80;
}
.road-to-step a:visited {
  color: #fff;
}


/* プライバシーポリシー */
.fl_privacy .frame{
  padding: 2rem 5rem 3rem;
  background-color: #F1F2F6;
}
.privacy-inner{
  margin: 0;
  text-align: start;
}
.privacy h2{
  padding: 3rem;
  border-bottom: 1.5px solid;
}
.privacy-contents{
  margin: 5rem 0;
  padding: 5rem;
  background-color: #fff;
  font-family: "Noto Sans JP";
  border-radius: 2rem;
}
.privacy-title{
  font-size: 3rem;
  font-weight: bold;
  color: #293249;
  padding-left: 2.5rem;
  position: relative;
}
.privacy-title::before{
  position: absolute;
  top: 1.2rem;
  left: 0;
  content: "";
  height: 3rem;
  color: #007C8E;
  border-left: 1rem solid;
  border-radius: 1rem;
}
.privacy-text{
  margin-top: 5rem;
  position: relative;
}
.privacy-text::before{
  position: absolute;
  top: -4rem;
  left: -5rem;
  content: "";
  width: 109%;
  height: 1rem;
  color: #007C8E;
  border-top: 4px solid;
}



/* お問い合わせ */
.fl_application_form{
  padding: 5rem 0;
  width: 100%;
  margin: 0 auto;
}
.form-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}
.wpcf7-form p{
  margin: 3rem 0;
  display: flex;
  margin-bottom: 20px;
}
label {
  width: 200px;
  text-align: right;
  margin-right: 10px;
  color: #004569;
}
.form-group{
  border-bottom: 2px solid #004569;
}
.contact-form{
  border-bottom: none !important;
}
/* ラベル部分を3割の幅に設定 */
.form-group label {
  flex: 3;
  font-weight: bold;
  margin: .5rem 0;
  text-align: left;
  width: fit-content;
  display: flex;
  align-items: center;
  cursor: pointer;
  min-width: 220px;
}
/* 入力欄部分を7割の幅に設定 */
.form-group .wpcf7-form-control-wrap {
  flex: 7;
  display: flex;
}
.wpcf7-list-item {
  margin: 0 2rem 0 0;
}
.wpcf7-list-item label {
  min-width: inherit;
}
.wpcf7-not-valid-tip {
  font-size: 1.2rem;
  display: flex;
  line-height: normal;
  letter-spacing: normal;
  margin-left: 2rem;
  width: 120px;
  align-items: center;
}
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
}
input, textarea {
  border: 1px solid #F0F0F0;
  background-color: #F0F0F0;
}
.required {
  background-color: red;
  color: #fff;
  margin: 1rem;
  padding: 0.3rem;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: normal;
}
.notes p {
  font-size: 12px;
  color: #666;
  margin-top: -10px;
}

.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.tab {
  border: 1px solid #004d73;
  background: white;
  color: #004d73;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 20px;
  margin: 0 5px;
}
.tab.active {
  background: #004d73;
  color: white;
}
.tabs p{
  display: flex;
  gap: 1rem;
}
.tab-content {
  display: none
}
.tab-content.active {
  display: block
}
.policy{
  width: 80%;
  margin: 5rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid;
  border-bottom: 1px solid;
  padding: 2rem;
}
.policy a{
  color: #405BBB;
  border-bottom: 1px solid;
  font-weight: bold;
}
input[type="checkbox"].consent {
  display: inline-block; /* チェックボックスを表示 */
  visibility: visible;
  width: auto;
  height: auto;
}
.wpcf7-form input[type="submit"] {
  width: 40%;
  margin: 0 auto;
  padding: 1.2rem;
  font-size: 2rem;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.submit-btn:hover {
  background-color: #555;
}

.privacy-policy {
  width: 100%;
  margin: 0 0 5rem;
  padding: 3rem 0;
  border-top: solid 1px #ccc;
  border-bottom: solid 1px #ccc;
  letter-spacing: normal;
}
.privacy-policy .privacy-policy-link{
  display: inline-block;
  color: #4c8cfa;
  text-decoration: underline;
  position: relative;
  padding-right: 2.2rem;
}
.privacy-policy .privacy-policy-link:visited {
  color: #4c8cfa;  
}
.privacy-policy .privacy-policy-link::before {
  content: "";
  position: absolute;
  border: 1px solid #4c8cfa;
  right: 2px;
  width: 0.8em;
  height: 0.6em;
  display: block;
  top: 50%;
  transform: translateY(-50%);
  margin-top: -0.1em;
}
.privacy-policy .privacy-policy-link::after {
  content: "";
  position: absolute;
  border: 1px solid #4c8cfa;
  right: 5px;
  width: 0.8em;
  height: 0.6em;
  display: block;
  top: 54%;
  transform: translateY(-50%);
  margin-top: 0.05em;
}
.privacy-policy-block p,
.privacy-policy .wpcf7-form-control-wrap {
  display: inline-block;
  margin: 0 auto;
}
.privacy-policy-block br {
  display: none;
}
input[type="radio"] {
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 50%; /* ラジオボタンなので丸くする */
  position: relative;
  margin-right: 10px;
  transition: background-color 0.3s, border-color 0.3s;
}

input[type="radio"]:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background-color: #007BFF; /* 選択時の色 */
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0); /* 初期は非表示 */
  transition: transform 0.3s ease;
}

input[type="radio"]:checked:after {
  transform: translate(-50%, -50%) scale(1); /* 選択時に表示 */
}
input[type="checkbox"]  {
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 0;
  position: relative;
  margin-right: 10px;
  transition: background-color 0.3s;
}
input[type="checkbox"]:after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  width: 7px;
  height: 12px;
  border: solid #007BFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
}
input[type="checkbox"]:checked:after {
  opacity: 1;
}
.wpcf7-list-item-label::before, 
.wpcf7-list-item-label::after {
  content: none;
}
.wpcf7-form-control.wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
}

/*---------- footer ----------*/
footer {
  position: relative;
  color: #fff;
  font-size: 1.3rem;
  background-size: cover;
  background-position: center;
}
footer::before{
  content: "";
  position: absolute;
  top: 0;
  left: -250px;
  height: 100%;
  width: 100%;
  background: #004569;
  z-index: -3;  
}
footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #004569;
  z-index: -1;
}
footer a {
  color: #fff;
}
footer a:visited {
  color: #fff;
}
.fl_copy {
  padding: 1rem 0;
}
.md_logo img {
  width: 100%;
  height: auto;
}
.md_copylight {
  font-size: 1.2rem;
  text-align: center;
}
.md_logo {
  padding-top: 2rem;
  align-items: center;
}
.logo_address {
  letter-spacing: initial;
  font-size: 1.2rem;
  padding-top: 2rem;
  padding-left: 3rem;
}
.company-name{
  font-size: 2rem;
}
.company-name,
.adress {
  font-weight: bold;
}
.link_title {
  margin-bottom: 2rem;
  display: block;
  font-size: 2rem;
}
.page-guide-image {
  width: 300px;
  height: 200px;
}

.md_footNavi .link_title {
  margin: 0 0 1rem;
  font-weight: bold;
  font-style: oblique;
  font-size: 2rem;
}

.error-message {
  font-size: 1.7rem;
  padding: 5rem 2rem;
  margin-left: 28rem;
}

/*==========================================================================
■ PC版のみ
==========================================================================*/
@media screen and (min-width: 769px) {
.pcDisNon {
  display: none;
}
/*---------- header ----------*/
header {
  width: 250px;
  margin: 2rem;
  border-radius: 4rem;
  position: fixed;
  background-color: #2f3b4a;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  z-index: 10;
}
/* header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
} */
.header_frame {
  padding: 5rem 0;
}
.globalnav {
  letter-spacing: 0.2rem;
}
.nav_list li {
  height: 5.5rem;
}

.menu-item-has-children {
  position: relative;
}
.nav_list .sub-menu {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background-color: #2f3b4a;
  z-index: 1000;
  list-style: none;
}
.nav_list .sub-menu .menu-item {
  width: 20rem;
  height: 6rem;
  line-height: 2rem;
  overflow: hidden;
}
.nav_list .menu-item-has-children:hover > .sub-menu {
  display: block;
}
.nav_list li a,
.sub-menu li a {
  height: 100%;
  display: flex;
  justify-content: start;
  align-items: center;
  padding-left: 3rem;
}
.nav_list li a:hover,
.sub-menu li a:hover {
  background-color: #415D6B;
  opacity: 1;
}

/*---------- main ----------*/
main {
  /* width: calc(100% - 250px); */
  margin: 0 0 0 auto;
}
.fl_wrap {
  position: relative;
}
.frame {
  padding: 0 5rem;
  margin: 0 0 0 28rem;
}

.fl_company{
  padding: 4rem 0 5rem;
}


/*---------- footer ----------*/
footer {
  width: 100%;
  padding-left: 28rem;
}
.fl_md {
  max-width: 100rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 30rem;
  gap: 2rem;
  font-family:'Noto Sans JP', sans-serif, "HiraginoSans-W3", "HiraginoSansW6", "HiraKakuProN-W3", "Hiragino Sans", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "メイリオ";
}
.md_footer {
  width: 70%;
  height: 70%;
  margin: auto 0 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  letter-spacing: 0;
}
.md_logo {
  width: 40rem;
  height: 100%;
  border-left: solid 1px #444;
  padding-left: 3rem;
  margin: auto 0 0;
}
.link_title {
  margin: 0 0 2rem 1rem;
}
.md_footNavi {
  display: flex;
  flex-wrap: wrap;
  width: 33%;
}
.md_footNavi li {
  margin: 0 1rem 1rem; 
  min-width: 55px;
  width: 100%; 
}
}

/*==========================================================================
■ Tab版
==========================================================================*/
@media screen and (min-width: 769px) and (max-width: 1024px) {
/*---------- header ----------*/

/*---------- main ----------*/
.service-title{
  position: relative;
  display: flex;
  flex-direction: column;
}
.case-list{
  display: flex;
  flex-direction: column;
  margin: 5rem 0;
}
.craftsman-image-bg{
  top: 0;
  right: -5rem;
  width: 75%;
  z-index: -2;
}
.fl_craftsman .frame{
  overflow: hidden;
}


.construction_visual_word-subtitle,
.recuruitment_visual_word-subtitle,
.insulation_visual_word-subtitle {
  position: absolute;
  left: 60rem;
  top: 12rem;
  right: auto;
}
.construction_visual_word-title,
.recuruitment_visual_word-title,
.insulation_visual_word-title{
  position: absolute;
  right: auto;
  top: 35rem;
  left: 50rem;
}
.about_md_visual_word-title {
  position: absolute;
  right: 19rem;
  top: 12rem;
}

.background-paint {
  position: absolute;
  top: -15rem;
  right: 0;
  z-index: -5;
  width: 55%;
}
.background-paint-item {
  position: absolute;
  top: 17rem;
  right: 0;
  width: 40%;
}
.fl_top_about {
  position: relative;
}
.top_about-text,
.about_strengths {
  margin: 0 3rem;
}
.fl_top_about .col3 {
  margin: 10rem 3rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-direction: column;
}
.fl_top_about .about-us {
  display: flex;
  align-items: center;
  gap: 7rem;
  flex-direction: column;
  padding: 0 3rem;
}
.fl_top_about .md_left {
  position: relative;
  display: flex;
  gap: 2rem;
  margin-top: 6rem;
  padding-top: 3rem;
  border-top: none;
}
.fl_top_service,
.fl_about_service-case {
  margin: 10rem 0;
  padding: 10rem 3rem;
}
.service-title img{
  display: none;
}
.service-title::after{
  width: 70rem;
  top: 8rem;
}
.service-title h2 {
  white-space: nowrap;
  line-height: 1;
}
.service-title p,
.inquiry-text .md-right,
.craftsman-text p {
  font-size: 1.2rem;
  padding: 0 0 5rem 0;
  max-width: 100%;
}
.case-type {
  white-space: nowrap;
  margin: 0;
}
.case-type ul {
  font-family: 'Noto Sans JP';
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
}
.fl_inquiry {
  padding: 0;
}
.fl_inquiry .frame{
  padding: 0 3rem;
}
.inquiry-title{
  padding-bottom: 10rem;
}
.title-image {
  display: block;
  position: absolute;
  z-index: -2;
  top: -4rem;
  left: -4rem;
}
.title-image2 {
  position: absolute;
  z-index: -2;
  top: 4rem;
  right: 0;
  width: 42%;
}
.inquiry-text {
  margin-top: 10rem;
  padding: 0;
  display: block;
}
.inquiry-text .md-left{
  margin: 0;
  width: 100%;
}
.fl_craftsman{
  padding: 0 3rem;
}
.fl_craftsman .frame {
  display: block;
  align-items: center;
}
.craftsman-text p{
  padding: 0 0 5rem 0;
}

.fl_rolemodel{
  padding: 10rem 0;
}
.fl_rolemodel .frame{
  margin: 0 0 0 250px;
}
.rolemodel-title .link_btn,
.roadmap .link_btn{
  margin:0;
  max-width: 100%;
}
.rolemodel-title, .roadmap {
  display: block;
  padding: 3rem 0;
  max-width: 100%;
}
.rolemodel-member{
  display: flex;
  position: relative;
  height: auto;
  padding-bottom: 5rem;
  flex-direction: column;
  margin:0;
  gap:0;
}
.rolemodel-member .md-left {
  position: static;
  left: -30rem;
  width: 100%;
  z-index: -2;
  object-fit: contain;
}
.rolemodel-member-bg {
  display: none;
  /* position: absolute;
  z-index: -3;
  top: 0;
  left: -3rem;
  width: 110%;
  height: auto; */
}
.rolemodel-member .md-right {
  margin: 1rem;
  position: static;
}
.roadmap-contents {
  padding:3rem 0;
}

.roadmap-item-01 {
  padding-left: 0;
}
.roadmap-item-02 {
  padding-left: 0;
}
.roadmap-item-03 {
  padding-left: 0;
}
.roadmap-item-01 img,
.roadmap-item-02 img,
.roadmap-item-03 img {
  width: 10rem;
  padding-right: 2rem;
  object-fit: contain;
}


/* main {
  padding-top: 4.8rem;
} */
.fl_heading h1 {
  margin: 0 auto;  
}
.md_breadcrumb {
  margin: 0 1rem;
}
.md_visual_word h1 {
  width: 60%;
}

/* about */
.about_md_visual_word-title {
  position: absolute;
  right: auto;
  top: 37rem;
  left: 50rem;
}
.strengths-content-title{
  position: absolute;
  color: #fff;
  background-color: #D9D9D9;
  display: flex;
  bottom: 8px;
  left: 3px;
  padding: 0 5rem;
  filter: brightness(0.5) contrast(1.5);
}
.strengths-content-title .num {
  font-size: 2.5rem;
  padding-bottom: 0;
}
.strengths-content-title span {
  font-size: 1rem;
}
.fl_about_service-case .case {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
}
.fl_about_service-case .case-type {
  white-space: nowrap;
  margin: 0;
}
.fl_about_service-wrap .fl_about_service {
  margin: 0 0 15rem 0;
}
.fl_about_service{
  margin: 0 0 15rem 0;
  padding: 0 0 10rem 0;
}

/* service切り出し */
.fl_about_service .about-us {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
  flex-direction: column;
}
.fl_about_service .md_left{
  margin-top: 0;
}


/* 会社概要 */
/*.company_text {
  margin: 10rem 10rem;
}*/


/* 防水工事について */
.waterproofing_about,
.insulation_about{
  padding: 0;
}
.waterproofing_about-text,
.insulation_about-text{
  padding: 3rem;
}
.waterproofing-contents,
.insulation-contents{
  padding: 5rem 3rem 10rem 3rem;
}
.waterproofing-contents-inner,
.insulation-contents-inner {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 10rem;
}
.waterproofing-content-title p,
.insulation-content-title p{
  font-size: 2rem;
}
.waterproofing_price,
.insulation_price {
  padding: 3rem;
  margin: 3rem;
}
.price-list {
  display: flex;
  letter-spacing: 0.1rem;
  flex-direction: column;
  flex-wrap: wrap;
}
.price-contents {
  width: 100%;
  display: flex;
  gap: 0;
  border-bottom: 1px solid;
  justify-content: space-between;
  align-items: center;
}
.fl_waterproof_construction {
  margin-top: 15rem;
}
.fl_waterproof_construction,
.insulation_construction {
  padding: 10rem 0;
}
.construction-about {
  margin: 0 3rem;
}
.construction-about-title {
  display: flex;
  gap: 0rem;
  flex-direction: column;
}
.construction-about-title .main-text::after,
.construction-about-title .main-text-insulation::after{
  display: none;
}
.construction-service {
  margin: 10rem 0 5rem 0;
}
.ƒ {
  display: flex;
  align-items: center;
  margin: 0rem 3rem;
  gap: 5rem;
  flex-direction: column;
}
.construction-service-inner .md_left::after {
  position: absolute;
  content: "";
  width: 31vw;
  height: 18rem;
  background-color: #AEC4CE;
  left: -20px;
  bottom: -20px;
  clip-path: polygon(0 0, 80% 0, 100% 100%, 20% 100%);
  z-index: -1;
}

.fl_wp_service-case-inner {
  margin: 3rem;
}
.fl_wp_service-case .case {
  display: flex;
  position: relative;
  flex-direction: column;
}
.case-type ul{
  justify-content: space-around;
}
.fl_wp_service-case .case-list{
  display: flex;
  margin-top: 1rem;
}
.fl_wp_service-case .title {
  font-size: 2rem;
  line-height: 2.8rem;
}
.fl_wp_service-case .case h3 {
  font-size: 2.4rem;
  max-width: none;
  min-width: none;
}

.security {
  margin: 0 3rem;
  text-align: center;
}
.security-title {
  margin: 5rem 0 2rem 0;
}
.security p{
  text-align: left;
}


/* ウレタン吹付工事 */
.spraying_visual_word-subtitle {
  position: absolute;
  right: 30rem;
  top: 18rem;
}
.spraying_visual_word-title {
  position: absolute;
  right: 40rem;
  top: 30rem;
}
.spraying_about {
  padding: 0;
}
.spraying_about-text {
  padding: 3rem;
}
.spraying_price {
  padding: 3rem;
  margin: 3rem 0rem;
}
.spraying-about-title .main-text-insulation::after{
  display: none;
}
.spraying-about-title {
  display: flex;
  text-align: left;
  gap: 0;
  align-items: center;
  padding: 5rem 0;
  margin: 5rem 0;
  flex-direction: column;
}




/* 施工実績詳細 */
.fl_wp-detail_service-case-inner,
.fl_recuruitment-inner {
  padding: 10rem 3rem;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.table-wrapper {
  font-family: "Noto Sans JP";
  font-size: 1.8rem;
  display: block;
}
.property-details {
  width: 100%;
  border-collapse: collapse;
  margin: 3rem 0 0 0;
  table-layout: fixed;
}
.property-details:nth-child(2){
  margin: 0 0 3rem 0;
}
.nav-link.prev {
  display: flex;
  align-items: center;
  padding: 0 2rem 0 0;
}
.nav-link.prev::before {
  content: "〈 ";
  font-size: 4rem;
  margin-right: 0;
}
.nav-link.back {
  text-align: center;
  flex-grow: 1;
  font-size: 14px;
  margin: 0;
  text-decoration: none;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  padding: 1rem;
}
.nav-link.next {
  display: flex;
  align-items: center;
  margin: 0 0 0 2rem;
}
.nav-link.next::after {
  content: " 〉";
  font-size: 4rem;
  margin-left: 0;
}


/* 採用情報 */
.recuruitment_visual_word-subtitle {
  position:absolute;
  right: 35rem;
  top: 16rem;
}
.fl_recuruitment-inner {
  text-align: left;
}
.recruit-table th,
.recruit-table td {
  vertical-align: center;
}
.benefits-grid {
  display: flex;
  row-gap: 4rem;
  flex-direction: column;
}
.fl_recuruitment-office .about-us{
  display: flex;
  align-items: center;
  gap: 7rem;
  flex-direction: column;
  padding: 0 3rem;
}
.fl_recuruitment-office .md_left {
  margin-top: 0rem;
  padding-top: 3rem;
}



/*---------- footer ----------*/
.fl_md {
  margin: 0 1rem;
}
.md_logo {
  justify-content: center;
  padding: 2rem 0 0;
}
.logo_address p {
  font-size: 1.2rem;
  margin: 0;
}
.md_copylight {
  margin: 0;
}
.md_footNavi li {
  margin: 0 0 1rem 0;
}


/* 提携職人募集 */
.fl_partner-craftsman,
.fl_partnership {
  margin: 5rem 3rem;
}
.fl_partner-craftsman .background-paint {
  position: absolute;
  top: 55rem;
  right: 0;
  z-index: -5;
  width: 55%;
}
.partner-craftsman-about,
.partnership-about,
.partnership-flow {
  padding: 0;
}
.partner-craftsman-copy {
  width: 100%;
  margin: 0;
}
.partner-craftsman-about-inner .partner-craftsman-copy{
  width: 100%;
}
.partner-craftsman-about-inner {
  margin: 5rem 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
}
.partnership-about img {
  position: absolute;
  width: 40%;
  z-index: -1;
  top: 0;
  left: -19rem;
}
.partnership-flow::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 90px;
  bottom: 0;
  width: 2px;
  height: 75%;
  background: #ddd;
}
.partnership-flow-step {
  padding: 5rem 0 0 5rem;
  display: flex;
  align-items: flex-start;
}



/* ロールモデル */
.fl_rolemodel .background-paint {
  position: absolute;
  top: 185rem;
  right: 0rem;
  z-index: -5;
  width: 55%;
}
.rolemodel-inner .roadmap-contents {
  padding-left: 0;
}
.roadmap-contents-bnr {
  position: relative;
  margin: 0 auto 3rem;
}
.road-to-about .decoration {
  width: 50vw;
  top: 0;
}
.roadmap-contents .roadmap-contents-bnr {
  position: inherit;
  left: 0;
  margin: 3rem 0 0;
}


/* 年収1000万への道 */
.road-to-about, .road-to-step-inner {
  max-width: 100%;
  margin: 0;
  padding: 3rem;
}
.road-to-block {
  display: flex;
  flex-direction: column;
}
.left-block, .right-block {
  width: 100%;
  margin: 0 0 3rem 0;
}

.road-to-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 50px auto;
  overflow: hidden;
  flex-direction: column;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  width: 90%;
  padding: 1rem;
  min-height: 7rem;
  background-color: #b0cbd8;
  text-align: center;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  clip-path: polygon(50% 15%, 100% 0, 100% 85%, 50% 100%, 0 85%, 0 0);
}
.step:first-child{
  clip-path: polygon(50% 0, 100% 0, 100% 85%, 50% 100%, 0 85%, 0 0);
}
.step:last-child{
  clip-path: polygon(50% 15%, 100% 0, 100% 100%, 50% 100%, 0 100%, 0 0);
}

/* プライバシーポリシー */
.privacy-inner {
  margin: 0 5rem;
}
.privacy-text::before{
  width: 122%;
}



/* お問い合わせ */
.fl_application_form {
  padding: 10rem 0rem;
}
.form-group label {
  flex: 4;
}
.form-group .wpcf7-form-control-wrap {
  flex: 6;
}


.recuruitment_visual_word-subtitle {
  position: absolute;
  right: 35rem;
  top: 16rem;
}

.case-image-card{
  width: 45%;
}

}


/*==========================================================================
■ SP版
==========================================================================*/
@media screen and (max-width: 768.98px) {
.spDisNon {
    display: none;
}
h1 {
  font-size: 2.5rem;
}
h1.copy {
  font-size: 2.5rem;
}
h2 {
  font-size: 2.4rem;
}
p {
  font-size: 1.4rem;
}

/*---------- header ----------*/
header {
  position: fixed;
  width: 100%;
  z-index: 2;
  background-color: none;
}
.globalnav-wrap {
  position: fixed;
  top: 0.2rem;
  right: 0.5rem;
  background-color: #2f3b4a;
  width: 5.5rem;
  height: 5.5rem;
}
.globalnav-wrap.opacity {
  background-color: rgba(47, 59, 74, 0.8);
}
.header_logo {
  display: flex;
  justify-content: left;
  align-items: center;
  margin-bottom: 0;
  width: fit-content;
}
.header_logo p {
  margin: 0;
}
.header_logo img {
  width: 5rem;
  height: auto;
}
.nav_list > li > a {
  display: block;
  padding: 1rem 2rem;
  position: relative;
}
.nav_list > li > a:hover {
  opacity: 1;
}
.nav_list a:after {
  content: "";
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 2rem;
  width: 7px;
  height: 7px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
}
.md_gl_nav .tog_bar.active + ul {
  border-bottom: solid .1rem #fff;
}
.md_gl_nav .tog_bar.active:after {
  content: "\f068";
}
.md_gl_nav .md_gl_nav_inner {
  display: none;
  padding: 1rem 0;
}
.md_gl_nav .md_gl_nav_inner li {
  margin: 0 2.3rem 0;
}
.md_gl_nav .md_gl_nav_inner li a {
  display: block;
  padding: 1rem 0;
}
.md_gl_nav {
  background-color: #415D6B;
  height: 100%;
  margin: 0;
  padding-bottom: 10rem;
  position: fixed;
  overflow-x: hidden;
  overflow-y: auto;
  min-width: 100vw;
  top: 4.8rem;
  right: 0;
  z-index: 6;
}

.nav_list .sub-menu {
  position: static; /* 子要素を通常のフローに戻す */
  display: none; /* 初期は非表示 */
  margin-top: 0.5rem; /* 少しスペースを追加 */
  margin-left: 3rem;
}
.nav_list .sub-menu .menu-item {
  padding: 0.5rem 0;
}
.nav_list .sub-menu .menu-item a:after {
  display: none;;
}
.nav_list .menu-item-has-children.active > .sub-menu {
  display: block; /* 親がアクティブ時に表示 */
}
.menu-item-has-children.active > a:after {
  transform: rotate(135deg); /* 下向きに回転 */
}

.overlay {
  display: block;
  width: 0;
  height: 0;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 4.8rem;
  left: 0;
  z-index: 5;
  opacity: 0;
}
.globalnav-wrap .globalnav .md_gl_nav {
  top: 0;
  -webkit-transition: all .2s;
  transition: all .2s;
  right: -100vw;
}
.globalnav-wrap.open .globalnav .md_gl_nav {
  top: 0;
  right: 0;
}
.globalnav-wrap.open .overlay {
  opacity: 1;
  -webkit-transition: opacity .2s;
  transition: opacity .2s;
  width: 100%;
  height: 100%;
}
.nav-button-wrap {
    z-index: 1000;
    cursor: pointer;
    position: absolute;
    top: 1.4rem;
    right: 1.5rem;
}
.nav-button,
.nav-button span {
  display: inline-block;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.nav-button {
  z-index: 20;
  width: 25px;
  height: 17px;
  position: relative;
}
.nav-button span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
}
.nav-button span:nth-of-type(1) {
  top: 0;
}
.nav-button span:nth-of-type(2) {
  top: 8px;
}
.nav-button span:nth-of-type(3) {
  bottom: 0;
}
.active .nav-button span:nth-of-type(1) {
  -webkit-transform: translateY(10px) rotate(-45deg);
          transform: translateY(10px) rotate(-45deg);
}
.active .nav-button span:nth-of-type(2) {
  opacity: 0;
}
.active .nav-button span:nth-of-type(3) {
  -webkit-transform: translateY(-6px) rotate(45deg);
          transform: translateY(-6px) rotate(45deg);
}

.contact-info {
  width: 100%;
  display: flex;
  align-items: center;  
}
.contact-info p {
  font-size: 1.2rem;
  width: 50%;
  letter-spacing: normal;  
}
.contact-info .contact-button {
  width: 50%;
  margin: 0;
  letter-spacing: normal;  
}
/*---------- main ----------*/
.fl_main_visual .right-contents {
  position: absolute;
  width: 100%;
  padding: 2rem 2rem 5rem;
  display: block;
  background-color: initial;
}

.link_btn {
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
}

.service-title{
  position: relative;
  display: flex;
  flex-direction: column;
}
.case-list{
  display: flex;
  flex-direction: column;
  margin: 0 0 5rem 0 !important;
}
.craftsman-image-bg{
  top: 0;
  right: -5rem;
  width: 75%;
  z-index: -2;
}
.fl_craftsman .frame{
  overflow: hidden;
}

.md_visual_word-subtitle {
  writing-mode: inherit;
  text-orientation: inherit;
  margin-left: 0;
  background-color: #fff;
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 1rem;
}
.md_visual_word-title {
  writing-mode: inherit;
  text-orientation: inherit;
  padding-top: 3rem;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  background-color: #fff;
  position: absolute;
  left: 0;
  top: 0;
  padding: 1rem;
}
.md_visual_word-title h1 {
  font-size: 3rem;
}
body.spraying .md_visual_word-title h2 {
  font-size: 2.7rem;
}
.about_md_visual_word-title {
  position: absolute;
  right: 19rem;
  top: 12rem;
}

.background-paint {
  position: absolute;
  top: -15rem;
  right: 0;
  z-index: -5;
  width: 55%;
}
.background-paint-item {
  position: absolute;
  top: 17rem;
  right: 0;
  width: 40%;
}
.fl_top_about {
  margin: 5rem 0rem;
  position: relative;
}
.top_about-text,
.about_strengths {
  margin: 0 3rem;
}
.fl_top_about .frame .about_strengths {
  padding-top: 3rem;
}
.top_about-text {
  padding-top: 3rem;
}
.fl_top_about .col3 {
  margin: 10rem 3rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-direction: column;
}
.fl_top_about .about-us {
  display: flex;
  align-items: center;
  gap: 7rem;
  flex-direction: column;
  padding: 0 3rem;
}
.fl_top_about .md_left {
  position: relative;
  display: flex;
  gap: 2rem;
  margin-top: 6rem;
  padding-top: 3rem;
  border-top: solid 1px #D9D9D9;
}
.fl_top_service {
  margin-bottom: 5rem;
  padding: 0;
}
.fl_top_service .service-title,
.fl_top_service .case,
.fl_top_service .case-type,
.fl_top_service .swiper_block {
  padding: 0 1.5rem;
}
.case-image-card {
  width: 80%;
}
.service-title {
  margin-bottom: 0;
}
.service-title img{
  display: none;
}
.service-title::after{
  width: 70rem;
}
.service-title h2 {
  white-space: nowrap;
  line-height: 1;
}
.service-title p,
.inquiry-text .md-right,
.craftsman-text p {
  font-size: 1.2rem;
  padding: 0 0 1rem 0;
  max-width: 100%;
}
.case-type {
  white-space: nowrap;
  margin: 0;
}
.case-type ul {
  font-family: 'Noto Sans JP';
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 3px;
}
.fl_inquiry {
  padding: 0;
}
.fl_inquiry .frame{
  padding: 0 3rem;
}
.fl_inquiry .md-right{
  width: 100%;
}
.title-image {
  display: block;
  position: absolute;
  z-index: -2;
  top: -4rem;
  left: -2rem;
}
.title-image2 {
  position: absolute;
  z-index: -2;
  top: 4rem;
  right: 0;
  width: 42%;
}
.inquiry-text {
  margin-top: 10rem;
  padding: 0;
  display: block;
}
.inquiry-text .md-left{
  margin: 0;
  width: 100%;
}
.fl_craftsman{
  padding: 3rem 3rem 0;
}
.fl_craftsman .frame {
  display: block;
  align-items: center;
}
.craftsman-text p{
  padding: 0 0 5rem 0;
}

.fl_rolemodel{
  padding:10rem 0;
}
.fl_rolemodel .frame{
  margin: 0 3rem;
}
.rolemodel-title .link_btn,
.roadmap .link_btn{
  margin:0;
  max-width: 100%;
}
.rolemodel-title, .roadmap {
  display: block;
  padding: 3rem 0;
  max-width: 100%;
}
.rolemodel-member{
  display: flex;
  position: relative;
  height: auto;
  flex-direction: column;
  margin:0;
  gap:0;
}
.rolemodel-member .md-left {
  position: static;
  left: -30rem;
  width: 100%;
  z-index: -2;
  object-fit: contain;
}
.rolemodel-member-bg {
  display: none;
  /* position: absolute;
  z-index: -3;
  top: 0;
  left: -3rem;
  width: 110%;
  height: auto; */
}
.rolemodel-member .md-right {
  margin: 1rem;
  position: static;
}
.roadmap-contents {
  padding:3rem 0;
}

.roadmap-item-01 {
  padding-left: 0;
}
.roadmap-item-02 {
  padding-left: 0;
}
.roadmap-item-03 {
  padding-left: 0;
}
.roadmap-item-01 img,
.roadmap-item-02 img,
.roadmap-item-03 img {
  width: 10rem;
  padding-right: 0;
  object-fit: contain;
}
.roadmap-contents .roadmap-text {
  padding-left: 2rem;
}
.roadmap-contents .roadmap-contents-bnr {
  position: inherit;
  left: 0;
  margin: 0 0 3rem;
  width: 75%;
  transform: inherit;
  top: inherit;
}


.fl_heading h1 {
  margin: 0 auto;
}
.md_breadcrumb {
  margin: 0 1rem;
}
.photo-container {
  height: 50rem;
}



/* about */
.fl_about_service-case {
  margin: 2rem 0;
  padding: 0 3rem;
}
.fl_about_service-case .case {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
}
.fl_about_service-wrap .fl_about_service {
  margin: 0 0 15rem 0 !important;
}
body.blog .fl_about_service-wrap .fl_about_service {
  margin: 0 0 25rem 0 !important;
}
.fl_about_service{
  padding: 3rem 0 3rem 0;
}
.fl_about_service-case .case::before {
position: absolute;
content: "";
width: 100vw;
height: 32rem;
background-color: #C8DAE4;
clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
z-index: -2;
top: -20px;
left: -105px;
}
.about_explanation-image{
  margin-left: 0;
  gap: 1rem;
}
.about_explanation-image .md_left{
  border: none;
}
.about_explanation-text {
  width: calc(100% - 6rem);
  margin-left: 3rem;
  margin-right: 3rem;
  box-sizing: border-box;
}
.strengths-content-title{
  position: absolute;
  color: #fff;
  background-color: #D9D9D9;
  display: flex;
  bottom: 8px;
  left: 3px;
  padding: 0 5rem;
  filter: brightness(0.5) contrast(1.5);
}
.strengths-content-title .num {
  font-size: 2.5rem;
  padding-bottom: 0;
}
.strengths-content-title span {
  font-size: 1rem;
}

.fl_top_custom-container .img_wrapper {
  width: calc(100% + 3rem);
  left: -1.5rem;
}
.fl_top_custom-container .inner-content {
  min-width: 20rem;
  min-height: 5rem;
}
.fl_top_custom-container .number-box {
  padding-bottom: 0;
}
.fl_top_custom-container .number {
  font-size: 15px;
  line-height: 25px;
}
.fl_top_custom-container .text-box {
  gap: 15px;
}
.fl_top_custom-container .text {
  font-size: 10px;
  line-height: 13px;
}

/* service切り出し */
.fl_about_service .about-us{
  display: flex;
  align-items: center;
  gap: 7rem;
  flex-direction: column;
  padding: 0 3rem;
}
.fl_about_service .md_left {
  margin-top: 0rem;
  padding-top: 3rem;
}

/* 会社概要 */
.company_md_visual_word-subtitle {
  right: 10rem;
  top: 20rem;
}
.company_md_visual_word-title {
  right: 17rem;
  top: 25rem;
}
.company_image,
.history_image {
  margin-bottom: 2rem;
  margin-left: -10rem;
  gap: 0rem;
  align-items: flex-end;
}
.company_image .md_right,
.history_image .md_right{
  padding: 0 3rem;
}
.company_text,
.history_text {
  margin: 0 3rem;
}
.history_text .table-section {
  margin: 2rem 0;
}
.table-section {
  margin: 2rem 3rem;
}
.company-table,
.history-table{
  margin: 0;
}
.company-table,
.company-table tbody,
.company-table tr,
.company-table td,
.company-table th,
.history-table,
.history-table tbody,
.history-table tr,
.history-table td,
.history-table th {
  display: block; /* テーブルをブロック化 */
  width: 100%; /* 親幅に合わせる */
}
.history-text {
  display: block;
  margin: 0 3rem 20rem 3rem;
  padding-bottom: 10rem;
}
.history-text .md_left,
.company-text .md_left {
  width: 100%;
  margin-bottom: 3rem;
}
.history-text .md_right{
  width: 100%;
}
.staff_text {
  margin: 5rem 2rem 0;
}
.fl_company .col3 {
  padding: 0 3rem;
}
.fl_company .md_col3 {
  width: 48%;
}
.fl_company .staff-info .staff-job {
  font-size: 1.2rem;
}

/* 沿革 */
.history_md_visual_word-title {
  top: 12rem;
}
.company-text {
  display: block;
  gap: 7rem;
}
.company-text {
  margin: 0 3rem 10rem 3rem;
  padding-bottom: 10rem;
}
.company-table{
  word-break: break-word;
}


/* 防水工事について */
.waterproofing_about,
.insulation_about{
  padding: 0;
}
.waterproofing_about-text,
.insulation-text{
  padding: 3rem;
}
.waterproofing-contents-inner,
.insulation-contents-inner {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 10rem;
}
.waterproofing-content-title p,
.insulation-content-title p{
  font-size: 2rem;
}
.waterproofing_price,
.insulation_price {
  padding: 3rem 1rem;
  margin: 3rem 1rem;
}
.price-list {
  display: flex;
  letter-spacing: 0.1rem;
  flex-direction: column;
  flex-wrap: wrap;
}
.price-contents {
  width: 100%;
  display: flex;
  gap: 0;
  border-bottom: 1px solid;
  justify-content: space-between;
  align-items: center;
}
.price-contents p {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 2.2rem;
  margin-left: 0;
  margin-bottom: 1rem;
  min-width: 13rem;
  min-height: 5rem;
}
.price-contents span {
  line-height: 2.2rem;
}
.fl_waterproof_construction,
.fl_insulation_construction {
  padding: 10rem 0;
}
.construction-about {
  margin: 0 3rem;
}
.construction-about-title {
  display: flex;
  gap: 0rem;
  flex-direction: column;
}
.construction-about-title .main-text,
.construction-about-title .main-text-insulation {
  margin-right: 0;
}
.construction-about-title .main-text::after,
.construction-about-title .main-text-insulation::after{
  display: none;
}
.construction-service {
  margin: 10rem 0 5rem 0;
}
.construction-service-inner {
  display: flex;
  align-items: center;
  margin: 0rem 3rem;
  gap: 5rem;
  flex-direction: column;
}
.construction-service-inner .md_left::after {
  position: absolute;
  content: "";
  width: 31vw;
  height: 18rem;
  background-color: #AEC4CE;
  left: -20px;
  bottom: -20px;
  clip-path: polygon(0 0, 45% 0, 100% 100%, 55% 100%);
  z-index: -1;
}
.construction-service-inner .md_right{
  width: 100%;
}
.service-title .service-title-top,
.service-title .service-title-bottom {
  font-size: 3rem;
}
.case h3 {
  font-size: 1.9rem;
}
.fl_wp_service-case .title {
  font-size: 1.9rem;
}
.case-type ul li{
  flex-grow: 1;
  padding: 1rem 0.5rem;
  margin: 2rem 0;
  text-align: center;
}

.fl_top_service .case h3 {
  margin-top: 1.5rem;
}
.fl_top_service .service-title::after,
.fl_about_service-case .service-title::after {
  width: 90%;
}
.fl_top_service .case-type {
  width: 100%;
  margin: 1rem 0 2rem;
}
.fl_top_service .case-type ul{
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
}
.fl_top_service .case-type ul li{
  display: flex;
  justify-content: center;
  align-items: center;
}
.fl_top_service .case .link_btn {
  width: 100%;
}
.fl_top_service .case .link_btn {
  height: auto;
}
.fl_top_service .swiper {
  width: 100%;
  overflow: hidden;
  padding-bottom: 1rem;
}
.fl_top_service .swiper-wrapper {
  display: flex;
  transition: transform 0.3s ease;
  will-change: transform; /* 描画の最適化 */
}
.fl_top_service .swiper-slide {
  flex-shrink: 0;
  width: 70%;
  box-sizing: border-box;
}
.service-title .service-title-bottom {
  padding: 2rem 0 0.5rem 0;
}
.fl_top_service .swiper_block {
  min-width: 100%;
  max-width: 100%;
}

.fl_wp_service-case-inner {
  margin: 2rem;
}
.fl_wp_service-case .case {
  flex-direction: column;
}
.fl_wp_service-case .case::before{
  display: none;
}
.fl_wp_service-case .case-type{
  margin-left: 0;
}
.fl_wp_service-case .case h3,
.fl_wp_service-case .case h3.long_category_name {
  font-size: 2.2rem;
  max-width: none;
  min-width: none;
}

.security {
  margin: 0 3rem;
  text-align: center;
}
.security-title {
  margin: 5rem 0 2rem 0;
}
.security p{
  text-align: left;
}


/* 硬質発泡ウレタン吹付 */
.spraying_visual_word-title h2 {
  font-size: 5rem;
}
.spraying_about {
  padding: 0;
}
.spraying_about-text {
  padding: 5rem;
}
.spraying_price {
  padding: 2rem;
  margin: 3rem;
  border: 1px dashed #007C8E;
  text-align: center;
  border-radius: 2rem;
}
.spraying-about-title .main-text-insulation::after {
  display: none;
}
.spraying-about-title {
  display: flex;
  text-align: left;
  gap: 3rem;
  padding: 0 0 3rem;
  margin: 5rem 0 0;
  flex-direction: column;
  align-items: center;
}
.spraying-about-title .main-text-insulation {
  margin-right: 0;
}

/* 施工実績詳細 */
.fl_wp-detail_service-case-inner,
.fl_recuruitment-inner {
  padding: 10rem 0;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.table-wrapper {
  font-family: "Noto Sans JP";
  font-size: 1.8rem;
  display: block;
}
.property-details {
  width: 100%;
  border-collapse: collapse;
  margin: 3rem 0 0 0;
  table-layout: fixed;
}
.property-details:nth-child(2){
  margin: 0 0 3rem 0;
}
.nav-link.prev::before {
  content: "〈 ";
  font-size: 4rem;
  margin-right: 0;
}
.nav-link.back {
  text-align: center;
  flex-grow: 1;
  font-size: 14px;
  margin: 0;
  text-decoration: none;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  padding: 1rem;
}
.nav-link.next::after {
  content: " 〉";
  font-size: 4rem;
  margin-left: 0;
}



/* 採用情報 */
.recuruitment_visual_word-subtitle {
  position:absolute;
  right: 13rem;
  top: 16rem;
}
.fl_recuruitment-inner {
  text-align: left;
}
.recruit-table {
  font-size: 1.3rem;
  width: 100%;
}
.recruit-table th,
.recruit-table td {
  vertical-align: center;
}
.recruit-table th {
  min-width: auto;
  max-width: 6rem;
}
.benefits-grid {
  display: flex;
  row-gap: 4rem;
  flex-direction: column;
}
.fl_recuruitment-office .about-us{
  display: flex;
  align-items: center;
  gap: 7rem;
  flex-direction: column;
  padding: 0 3rem;
}
.fl_recuruitment-office .md_left {
  margin-top: 0rem;
  padding-top: 3rem;
}


/* 提携職人募集 */
.fl_partner-craftsman {
  position: relative;
  margin: 0;
  padding: 0 3rem;
}
.fl_partnership {
  margin: 5rem 3rem;
}
.partner-craftsman-img {
  width: 50%;
  padding-right: 0;
  max-width: 20rem;
}
.partnership-about img {
  top: 2rem;
  left: -5rem;  
}
.partnership-about p {
  padding-left: 2rem;
}
.partnership-flow-step {
  padding: 3rem 0 0 1rem;
}
.fl_partner-craftsman .background-paint {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -5;
  width: 55%;
}
.partner-craftsman-about,
.partnership-about,
.partnership-flow {
  padding: 0;
}
.partner-craftsman-copy {
  width: 100%;
  margin: 0;
}
.partner-craftsman-about-inner .partner-craftsman-copy{
  width: 100%;
}
.partnership-flow-step .number {
  width: 40px;
  height: 40px;  
  font-size: 2rem;
}
.partner-craftsman-about-inner {
  margin: 5rem 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
}
.partnership-flow::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 70px;
  bottom: 0;
  width: 2px;
  height: 75%;
  background: #ddd;
}
.step-right {
  padding-left: 1rem;
  margin-top: .5rem;
}
.step-right .title {
  font-size: 2rem;
  line-height: 1.5;
}
.partnership-flow-step {
  padding: 3rem 0 0 1rem;
  display: flex;
  align-items: flex-start;
}
.partnership-about h2::after {
  position: absolute;
  content: "";
  padding: 1rem;
  width: 65rem;
  border-bottom: 1px solid;
  top: 2rem;
  left: -50rem;
}
.roadmap h2 {
  margin: 0 0 3rem 0;
}


/* ロールモデル */
.fl_rolemodel .background-paint {
  position: absolute;
  top: 105rem;
  right: 0;
  z-index: -5;
  width: 55%;
}
.fl_rolemodel {
  padding: 5rem 0 0;
}
.rolemodel-inner {
  margin-top: 0;
}
.rolemodel-inner .rolemodel-member {
  padding: 0;
}
.rolemodel-member .md-left {
  max-width: 100%;
}
.rolemodel-member .md-right {
  margin-top: 2rem;
}
.rolemodel-inner .rolemodel-member .md-right span {
  font-size: 1.5rem;
}
.rolemodel-member{
  align-items: flex-start;
}
.rolemodel-inner .roadmap-contents {
  padding-left: 0;
}
.roadmap-contents-bnr {
  left: 19rem;
  top: -9rem;
}
.fl_rolemodel .decoration {
  width: 50vw;
  top: 3rem;
}
.fl_rolemodel .decoration.salary {
  width: 50vw;
  top: 4rem;
}
.rolemodel-title h2 {
  margin-bottom: 0;
}


/* 年収1000万への道 */
.road-to-about, .road-to-step-inner {
  max-width: 100%;
  margin: 0;
  padding: 2rem;
}
.road-to-block {
  display: flex;
  flex-direction: column;
}
.left-block, .right-block {
  width: 100%;
  margin: 0 0 3rem 0;
}

.road-to-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 50px auto;
  overflow: hidden;
  flex-direction: column;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  width: 90%;
  padding: 1.5rem;
  background-color: #b0cbd8;
  text-align: center;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  clip-path: polygon(50% 15%, 100% 0, 100% 85%, 50% 100%, 0 85%, 0 0);
}
.step:first-child{
  clip-path: polygon(50% 0, 100% 0, 100% 85%, 50% 100%, 0 85%, 0 0);
}
.step:last-child{
  clip-path: polygon(50% 15%, 100% 0, 100% 100%, 50% 100%, 0 100%, 0 0);
}
.info-section {
  display: flex;
  flex-direction: row;
  padding: 0;
  margin: auto;
  align-items: stretch;
  margin: 4rem 0;
  gap: 6px;
}
.arrow {
  width: 10%;
  background-color: #b0cbd8;
  color: white;
  text-align: center;
  position: relative;
  clip-path: polygon(0 0, 100% 0%, 100% 85%, 50% 100%, 0 85%);
}
.info-section .content_wrapper {
  flex-direction: column;
  flex: 1;
  margin-left: 1rem;
}
.content {
  width: 100%;
  padding: 0;
  margin: 1rem 0;
}
.content_wrapper .image {
  width: 100%;
  margin-top: 1rem;
}
.content_wrapper .image img {
  width: 100%;
  height: auto;
}

/* プライバシーポリシー */
.fl_privacy .frame {
  padding: 3rem;
}
.privacy-inner{
  margin: 0;
}
.privacy-contents{
  padding: 2rem 2.5rem;
}
.privacy-title{
  font-size: 2rem;
}
.privacy-title::before{
  top:0.5rem;
}
.privacy-text::before{
  left: -2rem;
  width: 112%;
}


/* お問い合わせ */
.fl_application_form {
  padding: 5rem 1.5rem 3rem;
  margin: 0 auto;
}
.tabs {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.wpcf7-form p {
  display: flex;
  margin: 0;
  flex-direction: column;
}
.tabs p {
  display: flex;
  gap: 1rem;
  flex-direction: row;
}
label {
  width: 100%;
}

.team{
  padding: 3rem 0;
}
.team img{
  max-width: 90%;
}
.form-group .wpcf7-form-control-wrap {
  flex-wrap: wrap;
  width: 100%;
}
.wpcf7-not-valid-tip {
  margin: 1rem 0 0;
}
.form-group {
  padding: 2rem 0;
}
.form-group br {
  display: none;
}
.form-group label {
  margin: 0 0 1rem 0;
}
.notes p {
  margin: 0;
}
.required {
  margin: 0 0 0 1rem;
}
.privacy-policy {
  padding-top: 0;
}
.privacy-policy-block p {
  display: inline-block;
}

/*---------- footer ----------*/
.fl_md {
  margin: 0 1rem;
}
.md_footer {
  padding: 3rem 0 2rem;
}
.md_logo {
  justify-content: center;
  border-top: solid 1px #8F8F8F;
  padding: 2rem 0 0;
}
.md_logo img {
  width: 50%;
  margin-left: 3rem;
}
.logo_address p {
  font-size: 1.2rem;
  margin: 0;
}
.logo_address .company-name{
  font-size: 2rem;
}
.md_copylight {
  margin: 0;
}
.md_footNavi li {
  margin: 0 0 1rem 0;
  padding: 0 0 0 4rem;
}
.md_footNavi .link_title {
  padding: 0 0 0 2rem;;
}

.case-image{
  justify-content: center;
}

.fl_copy {
  padding-bottom: 15rem;
}

.error-message {
  margin-left: 0;
}


}
/*---------- レイアウト微調整 ----------*/
@media screen and (max-width: 340px) {

}
@media screen and (max-width: 365px) {

}
@media screen and (max-width: 600px) {

}
@media screen and (max-width: 1200px) {
}