/*/// responsible /*/

.visible640,
.visible480,
.visible768,
.visible834,
.visible1024,
.brsp1024,
.brsp834,
.brsp768,
.brsp640,
.brsp480,
.disnone{
	display: none ;
	}



@media screen and (min-width:1200px)  and (min-aspect-ratio: 15/9){
  #keyvisual .cont {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-auto-rows: 40% 60%;
    width: 100%;
  }
  #keyvisual .cont h2 {
    width: auto;
    z-index: 20;
    position: relative;
    grid: 1 2 1 3 auto;
    grid-area: 1 / 2 / 2 / 3;
    text-align: left;
    padding: 0 4% 0 4%;
    top:0;
  }
  #keyvisual .cont h2 img{
    margin-left:0%;
    width: 85%;
  }
  #keyvisual .cont .imgs {
    width:auto;
    grid-area: 1 / 1 / 3 / 2;
  }
  #keyvisual .cont p.read {
    width: auto;
    padding: 0 40px;
    font-weight: 500;
    font-size: clamp(14px,1.8vw,20px);
    grid-area: 2 / 2 / 3 / 3;
  }

}
@media screen and (max-height:800px) and (min-width:640px) and (orientation:landscape){
  header.home #header .header h1 svg#logo{
    width: min(950px , 130vh);
  }
}
@media screen and (max-width:1238px){
  header.home #header .logo h1 svg#logo{
    width:68vw;
  }
}
@media screen and (max-width:1025px){

  .brsp1024{
    display: inline;
  }
	.visible1024{
		display: block;
	}
	.hidden1024{
		display: none;
	}

  /*/----------------------------/*/
  header.home #header .logo h1{
    width:70vw;
  }
  #keyvisual .cont{
    display: block;
    width:100%;
    top:23%;
  }
  #keyvisual .cont h2{
    width:100%;
    text-align: center;
    transform: none;
    margin-bottom: 5%;
    top:auto;
    padding: 0 20px;
  }

  #keyvisual .cont .imgs{
    width:100%;
    margin-left:0%;
  }
  #keyvisual .cont p.read{
    width:100%;
  }
  #keyvisual .cont h2{
    text-align: right;
  }
  #keyvisual-second .photoimage{
    height:35vh;
  }

  #interior .interior_contents .textarea .textbox .illust12{
    right:0;
    bottom:0;
    transform:translate(0,50%);
  }


  /*//////// 1024 ///////////*/
}

@media screen and (max-width:835px){
  .brsp834{
    display: inline;
  }
	.visible834{
		display: block;
	}
	.hidden834{
		display: none;
	}
  /*--- header ---*/
  header {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height: auto;
    z-index: 999;
  }
  #header .header h1{
    position: absolute;
    top: 0px;
    left: 0;
    width: min(calc(100% - 70px), 350px);
    padding-top:0;
    z-index: 50;
  }
  #header.mopen .header h1 svg#logo g path{
    fill:#99BC5B !important;
  }
  #header .toggle_btn{
    display: flex;
  }
  .toggle_btn {
    background:black;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: absolute;
    right:0;
    top:0;
    z-index: 40;
  }
  .toggle_btn .humberger{
    background:white;
    width:25px;
    height: 2px;
    position: relative;
  }
.toggle_btn .humberger:after,
.toggle_btn .humberger:before{
  content:"";
  width:25px;
  height: 2px;
  background: white;
  transition:.3s all ease-out;

}
.toggle_btn .humberger:after{
  position: absolute;
  top:-10px;
  left:0;
}
.toggle_btn .humberger:before{
  position: absolute;
  bottom:-10px;
  left:0;
}
#header.mopen .toggle_btn .humberger{
  background:transparent;
}
#header.mopen .toggle_btn .humberger:after{
  top:0px;
  left:0;
  transform:rotate(45deg);
}
#header.mopen .toggle_btn .humberger:before{
  bottom:0px;
  left:0;
  transform:rotate(-45deg);
}
#globalmenu {
  background:url(../../img/illust00.svg) no-repeat center center #273800;
  background-size:130%;
  background-blend-mode: soft-light;
  width:100%;
  height: 100vh;
  position: fixed;
  bottom:100%;
  left:0;
  z-index: 26;
  transition:.3s all cubic-bezier(0.770, 0.000, 0.175, 1.000);
  /* transition-delay: .4s; */
}

#header.mopen #globalmenu{
  bottom:0;
}

#globalmenu nav{
  height: 100%;
}
#globalmenu ul {
  display: flex;
  align-content: center;
  justify-content: center;
  flex-wrap: wrap;
  z-index: 10;
  position: relative;
  width:100%;
  height: 100%;
  padding-top:30px;
}
#globalmenu ul li{
  width:100%;
  margin:.7vh 0;
}
#globalmenu ul li a{
  display: block;
  color:white;
  font-weight: 700;
  padding:1em clamp(20px,1.9vw,35px);
  position: relative;
  text-align: left;
  line-height: 1;
}
#globalmenu ul li a span.en{
  display: block;
  font-size: clamp(30px,3.1vw,33px);
  font-family: 'Be Vietnam Pro', sans-serif;
  margin-bottom:5px;
}
#globalmenu ul li span.en > span{
  display: inline-block;
}

/*--- topkeyvisual ---*/
#keyvisual .cont {
  top: 15%;
}
#keyvisual .cont h2 {
  text-align: center;
  margin-bottom: 8%;
}
#keyvisual .cont h2 img{
  width:90%;
  margin-left:0%;
}
#keyvisual .cont > .imgs{
  aspect-ratio: unset;
  height: 47vh;
}
#keyvisual .illust00{
  width:50%;
}

  /*/----------------------------/*/

  .result_detail .photoarea .illust08{
    width:max(80px,20vw);
  }

  #top_aboutus .photoarea .imgs img{
    width:100%;
    height: 100%;
    object-fit: cover;
  }

  #contact .formarea .private_area{
    border:3px solid #CBCDC2;
    border-radius:20px;
    padding:20px;
    width:auto;
    margin:30px 0px 3em;
  }
  #contact .formarea dl dt,
  #contact .formarea  dl dd{
    width:100%;
  }
  #contact .formarea ul.col3{
    display: block;
  }
  #contact .formarea ul.col3 li {
    width:100%;
  }
  #contact .formarea dl.yosan ul.col2{
    display: block;
  }
  #contact .formarea dl.yosan ul.col2 li{
    width:100%;
  }
  /*//////// 834 ///////////*/
}

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

  .brsp768{
    display: inline;
  }
  .visible768{
    display: block;
  }
  .hidden768{
    display: none;
  }
  /*/----------------------------/*/
  #keyvisual-second .photoimage .key_text {
    width:80%;
  }
  #keyvisual-second .photoimage .key_text img{
    width:90%;
  }
  #air .photoarea{
    width:93%;
    margin-left:auto;
    margin-right:auto;
  }
  #air:after {
    height: 25%;
  }


  /*//////// 768 ///////////*/
}
@media screen and (max-width:640px){
  .brsp640{
    display: inline;
  }
  .visible640{
    display: block;
  }
  .hidden640{
    display: none;
  }
  /*/----------------------------/*/
  .inner{
    padding:0;
  }


/*------ top contents -------*/

#top_aboutus .flex{
  display: block;
  margin-top:30%;
}
#top_aboutus .illust01{
  width:103%;
}
#top_aboutus .illust02{
  width:20%;
  top:0;
  right:10px;
}
#top_aboutus .illust03{
  width:110%;
  transform:rotate(90deg) translate(0%,50%);
  transform-origin:top;
}
#top_aboutus .textarea{
   width:100%;
   padding:25px;
 }
 #top_aboutus .photoarea{
  width:100%;
 }

 #top_service .top_title{
  text-align:left;
  margin: 0 0 10% 25px;
 }
 #top_service .top_title .ja{
  margin-left:0;
 }
 #top_service .photoarea{
  width:100%;
}
 #top_service .illust_area01{
  width: 50%;
  transform:translate(0,-45%)
  }
  #top_service .textarea{
    display: block;
  }
  #top_service .textarea .row{
    width:100%;
    padding:5% 25px;
  }
  #top_service .textarea .row:first-child{
    border:0;
    border-bottom:1px solid black;
  }
  #top_service .textarea .row .next_btn{
    position: static;
    margin:auto;
    width:max(15vw,40px);
    height:max(15vw,40px);
  }
  #top_service .textarea dl dd{
    padding-right:0;
    margin-bottom: 20%;
  }
  #top_service .photoarea{
    display: block;
  }
  #top_service .photoarea .imgs01,
  #top_service .photoarea .imgs02{
    width:100%;
  }
  #top_service .illust06{
    display: block;
    width:25%;
    right:10px;
    transform: translate(0,-60%);
  }
  #top_service .illust07{
    position: relative;
    z-index: 40;
    transform:scale(1.2);
  }
  .results_list{
  padding:0 25px;
  }
  .results_list .elem {
    width:50%;
  }
  .results_list .elem .name{
    font-size:max(15px,4vw);
  }
  .results_list .elem .data_num:after{
    font-size:max(15px,4vw);
  }
  .results_list .elem .data_num .num{
    font-size:max(30px,14vw);
  }
  .result_data{
    padding:3rem 5rem 8rem ;
  }
  .result_detail .result_data .wrap{
    padding-left:8%;
  }

	.simulation-result .result table {
		display: flex;
		margin:30px 0;
	}
	.simulation-result .result table thead{
		display: block;
		flex:0 0 30%;
	}
	.simulation-result .result table tbody{
		display: block;
		flex:0 1 70%;
	}
	.simulation-result .result table thead.sp{
    display: block;
  }
	.simulation-result .result table thead tr {
		display: block;
		width:100%;
	}
	.simulation-result .result table thead tr th{
    display:block;
		padding:10px;
		border-bottom:2px solid white;
		width:100%;
			font-size:15px;
  }
.simulation-result .result table tbody tr{
	display: flex;
  flex-wrap: wrap;
}
.simulation-result .result table tbody tr th,
 .simulation-result .result table tbody tr td{
		display: block;
		padding:10px;
		width:100%;
		font-size:15px;
	}

.simulation-result .result table th.total{
	width:100%;
	height: 3.5em;
  display: flex;
  justify-content: center;
  align-items: center;
	}
.simulation-result .result table tbody th.ti{
	width:100%;
}
.simulation-result .result table th.ti br,
.simulation-result .result table td.total-half br{
	display: none;
}
.simulation-result .result table td.total-half{
	width:50%;
}
.simulation-result .result table td.total-half .mini{
	margin-right:1em;
}
#simulation .question .select.swiper-wrapper{
	justify-content: flex-start;
}
#simulation .selectSlider {
	width:100%;
}
#simulation .selectSlider .swiper-slide{
	flex-shrink:0;
}
#simulation .question .select input[type="number"]{
	width:70%;
}
#simulation .formarea .question{
	padding:60px 25px 30px;
}
  #interior .interior_contents{
    position: static;
    width:100%;
    padding-top:0%;
    margin:min(280px,28%) 0;
  }
  #interior .interior_contents .textarea {
    position: static;
    width:clamp(345px,80%,560px);
    z-index: 40;
    margin:-10%  auto 0 0;
  }
  #interior .interior_contents .photoarea {
    position: static;
    width:min(90%,810px);
    margin:0 0 0 auto;
  }
  #interior .interior_contents:nth-child(2n) .textarea{
    position: static;
    margin:-10% 0 0 auto;
  }
  #interior .interior_contents:nth-child(2n) .photoarea{
    position: static;
    margin:0 auto 0 0;
  }
  #company .company_contents {
    display: block;
  }
  #company .company_contents .company_header{
    width:min(400px,60%);
    margin-bottom: min(70px,10%) ;
  }
  #company .company_contents .company_outline{
    width:100%;
  }
  #company .company_contents .company_outline table tr th,
  #company .company_contents .company_outline table tr td{
    padding:1.5em 1em;
}
/*---------- privacy --------*/
  #privacy .inner{
    padding:0 25px;
  }
/*---------------- footer --------------*/
  .btm_link{
    display: block;
    height: auto;
  }
  .btm_link .elem{
    width:100%;
  }
  #footer .inner{
    display: block;
    padding:0 25px;
  }
  #footer .footerlink ul{
    margin:8% auto;
  }
  #footer .footerlink ul li{
    margin:0;
    text-align: center;
  }
  #footer .footerlink ul li a{
    margin:auto;

  }
  #footer .co-info{
    position: relative;
    padding-bottom:9%;
  }
  #footer .co-info .btmlogo{
    margin:auto;
    text-align: center;
  }
  #footer .co-info p{
    text-align: center;
  }
  #footer .co-info:after{
    content:"";
    border-bottom:1px solid #666;
    width:50px;
    height: 1px;
    display: block;
    position: absolute;
    bottom:0;
    left:50%;
    transform:translate(-50%,-50%);
  }
  #footer .copyrignt p{
    text-align: center;
  }
  .gototop{
    right:0;
  }
  /*//////// 640 ///////////*/
}

@media screen and (max-width:480px){
  .brsp480{
    display: inline;
  }
  .visible480{
    display: block;
  }
  .hidden480{
    display: none;
  }
  /*/----------------------------/*/
  #keyvisual .cont > .imgs{
    height: 34vh;
  }

  #confirm dl {
    display: block;
    border-bottom: 1px solid #eee;
  }
  #confirm dl dt{
    width:auto;
    border-right:0;
    color: var(--subColor);
    padding:0;
  }
  #confirm dl dd{
    width:auto;
    padding:0 0 1em 1em;
  }
.simulation-result .result table td.total-half .mini{
	margin-right:0;
}
.simulation-result .result table td.total-half br{
	display: inline;
}
.simulation-result .result table thead.sp tr th.total.sp_min_2x{
	height: 5em;
}
  /*//////// 480 ///////////*/
}
