.home_top_title{
  composes: ryumin from "./style.css";
  font-size: 2.5rem;
  text-align: center;
}
.home_top_message{
  composes: gothic from "./style.css";
  font-size: 1.2rem;
  line-height: 1.8em;
  letter-spacing: 2px;
margin-top: 10px;
  text-align: center;
}
.home_top{
  position: relative;
  width:100%;
  height:750px;
}
.home_top_movie{
  position: absolute;
  top:0;
  width:100%;
  height:100%;
}
.home_top_movie video{
  object-fit: cover;
  width:100%;
  height:100%;
}
.home_top_description{
position: absolute;
  display: flex;
  justify-content: center;
  padding: 200px 0;
  top:0;
  width:100%;
  height:100%;
  flex-wrap: wrap;
  color:#fff;
}

.home_merit{
  margin-top: -100px;
  z-index:9;
}
.home_merit ul{
  display: flex;
width:100%;
  justify-content: space-between;
  align-items: center;
}

.home_merit ul li{
  display: table;
}
.home_merit_inner{
  position: relative;
  display: table-cell;
  background-color:rgba(195,13,35,0.8);
  text-align: center;
  composes: gothic from "style.module.css";
  padding: 40px;
  font-size: 1.5rem;
  color:#fff;
}
.home_merit_inner span.home_square{
  position: absolute;
  left:20px;
  top:-40px;
  display: block;
  width: 60px;
  height: 60px;
  transform: rotate(45deg);
  background: linear-gradient(to right,#C30D23,#EA652D);
}
.home_merit_inner span.home_merit_num{
  position: absolute;
  left:20px;
  top:-50px;
  display: block;
  width: 60px;
  height: 60px;
  color:#fff;
  line-height:80px;
  font-size: 1.8rem;
  z-index: 99;
}

.home_daihyo{
  composes: sydeBySide from "./style.css";
  font-size: 1.2rem;
}
.home_daihyo_left{
  width:65%;
}
.home_daihyo_right{
  width:30%;
  padding-left: 20px;
  text-align: center;
}
.home_daihyo_right img{
  width:100%;
}


.map_block{
  padding: 0 60px 60px;
}


.osusume_block{
  background: url("/mark_white.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto 200px;
}
.osusume_block ul li{
  display: block;
  text-align: center;
  font-size: 1.4rem;
  padding: 10px 0;
  font-weight: 600;
 }

.company_block {
  display: flex;
  justify-content: center;
  padding: 3rem 0;
}

.company_block .card{
  margin: 0 1rem;
  min-width: 500px;
}

.home_company_list{
  padding: 0 20px 20px 20px;
}
.home_company_list ul li{
  display: flex;
  font-size: 1.1rem;
  padding: 3px 0;
}
.home_company_left{
  width:100px;
  font-weight: 600;
  color:#C30D23;
}

.service_detail {
  margin: 3rem 0 0 0;
}

.telno {
  font-size: 1.5rem;
}

.line_qr {
  height: 100px;
  width: 100px;
}

.contact_row {
  padding: 0 1rem;
  text-align: center;
  border-radius: 10px;
  background-color: white;
  height: 300px;
  border:3px solid var(--main-color);
  box-shadow: 2px 2px 3px rgba(100, 100, 100, 0.5);
}
.contact_row > div {
  padding: 1rem;
}
.contact_row > div:first-child {
  font-size: 1.2rem;
  border-bottom: 2px dotted gray;
  font-weight: bold;
}

.tetsuduki {
  margin: 1rem 0;
}

.tetsuduki > * {
  display: inline-block;
  vertical-align: middle;
  margin: 0.5rem;
}

.tetsuduki > .tbox {
  background-color: var(--main-color);
  color: white;
  width: 200px;
  height: 90px;
  text-align: center;
  line-height: 1.5rem;
  border-radius: 5px;
  padding: 1.3rem 0;
}

.tetsuduki > .triangle_right {
  width: 0;
  height: 0;
  border-left: 15px solid #ff9999;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

@media (max-width: 768px) {
  .contact_row {
    height: auto;
  }
  .tetsuduki > * {
    display: block;
    margin: 0 auto;
  }
  .tetsuduki > .tbox {
    width: 80%;
    font-size: 1.2rem;
    margin: 0 auto 1rem auto;
  }
  .tetsuduki > .triangle_right {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 30px solid #ff9999;
  }

}

.member_data_block{
  display: block;
}
.member_data_block:after{
  display: block;
  content:"";
  clear: both;
}
.member_data_left{
  display: inline-block;
  width: 50%;
  padding-right: 30px;
}
.member_data_right{
  display: inline-block;
  width: 50%;
  padding-left: 30px;
  float: right;
}
.member_data_block img{
  object-fit: cover;
  width:100%;
  height:500px;
}
.member_data_title,.member_name{
  composes: ryumin from "style.css";
  font-size: 1.8rem;
  font-weight: 500;
}
.member_name .yomi{
  font-size: 1.2rem;
  font-weight: normal;
}

.member_data_title{
  composes: red_colored from "style.css";
  border-bottom: 1px solid #EA652D;
  margin: 10px 0;
}
.member_status{
  composes: red_colored from "style.css";
  margin-bottom: 10px;
}

.member_list ul{
  display: flex;
  flex-wrap: wrap;
  gap:20px;
}
.member_list ul li{
  width:100%;

}
.member_list ul li:first-child,.member_list ul li:nth-child(3n){
  padding-left: 150px;

}

.member_list ul li:nth-child(2n){
  padding-right: 150px;

}

.member_list ul li:first-child{
  width:100%;
}
.member_message{
  position: relative;
  z-index:99;
}

.member_message ul li{
  text-align: center;
  padding: 10px 0;
}
.member_list ul li .member_history_list ul{
  gap:0;
}
.member_list ul li .member_history_list ul li{
  display: flex;
  padding: 10px 0;
  text-align: left;
}
.member_list ul li .member_history_left{
  color:#C30D23;
  padding-right: 10px;
}

@media (max-width: 768px) {
  .member_data_block{
    display: block;
  }
  .member_data_left{
    width: 100%;
    padding-right: 0;
    margin-bottom: 10px;
  }
  .member_data_right{
    width: 100%;
    padding-left: 0;
  }
  .member_data_block img{
    display: block;
    margin: 0 auto;
    object-fit: cover;
    width:80%;
    height:300px;
  }
  .member_data_title,.member_name{
    composes: ryumin from "style.css";
    font-size: 1.8rem;
    font-weight: 500;
  }
  .member_data_title{
    composes: red_colored from "style.css";
    border-bottom: 1px solid #EA652D;
    margin: 10px 0;
  }
  .member_status{
    composes: red_colored from "style.css";
    margin-bottom: 10px;
  }

  .member_list ul{
    display: flex;
    flex-wrap: wrap;
    gap:20px;
  }
  .member_list ul li{
    width:100%;

  }
  .member_list ul li:first-child,.member_list ul li:nth-child(3n){
    padding-left: 0;

  }

  .member_list ul li:nth-child(2n){
    padding-right: 0;

  }

  .member_list ul li:first-child{
    width:100%;
  }
  .member_message{
    position: relative;
    z-index:99;
  }

  .member_message ul li{
    text-align: justify;
    padding: 10px 0;
  }
  .member_list ul li .member_history_list ul{
    gap:0;
  }
  .member_list ul li .member_history_list ul li{
    display: flex;
    padding: 10px 0;
    text-align: left;
  }
  .member_list ul li .member_history_left{
    color:#C30D23;
    padding-right: 10px;
    font-weight: 550;
  }

}

/* Mobile */
@media (max-width: 768px) {
  .home_top_title{
    font-size: 1.8rem;
    line-height: 1.2em;
    margin-top: 3rem;
  }
  .home_top_message{
    font-size: 1rem;
  }
  .home_top{
    position: relative;
    width:100%;
    height:650px;
  }
  .home_top_description{
    padding: 100px 0;
  }

  .home_merit{
    margin-top: -200px;
  }
  .home_merit ul{
    display: block;
  }

  .home_merit ul li{
    display: block;
    width:80%;
    margin: 0 auto;
  }
  .home_merit_inner{
    position: relative;
    display: block;
    padding: 0 40px 40px;
    font-size: 1.3rem;
    margin-bottom: 40px;
  }

  .home_merit_inner span.home_square{
    position: relative;
    left:auto;
    top:-20px;
    margin: 0 auto;
    display: block;
    transform: rotate(45deg);
    background: linear-gradient(to right,#C30D23,#EA652D);
  }


  .home_merit_inner span.home_merit_num{
    position: absolute;
    left:0;
    top:-30px;
    display: block;
    width:100%;
    text-align: center;
    color:#fff;
    line-height:80px;
    font-size: 1.5rem;
    z-index: 99;
  }

  .home_daihyo{
    composes: sydeBySide from "./style.css";
    font-size: 1.1rem;
  }
  .home_daihyo_left{
    width:100%;
    margin-bottom: 10px;
  }
  .home_daihyo_right{
    width:100%;
    padding-left: 0;
    text-align: center;
  }
  .osusume_block{
    background: url("/mark_white.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 200px;
    /*font-family: "新ゴ M";*/
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-weight: 600;
  }
  .osusume_block ul li{
    /*
    display: block;
    text-align: center;

     */
    font-size: 1.2rem;
    padding: 10px 0;
  }

  .company_block {
    display: block;
    padding: 2rem 1rem;
  }

  .company_block .card{
    min-width: auto;
    width: 100%;
    margin: 0 0 2rem 0;
  }

  .home_company_list{
    padding: 0;
  }
  .home_company_list ul li{
    display: block;
    font-size: 1.2rem;
    padding: 10px 0;
  }
  .home_company_left{
    width:auto;
  }

  .map_block{
    padding: 0;
    padding-top: 40px;
  }

}