/* CSS Document */

@import url(pc.css) screen and (min-width: 641px);
@import url(sp.css) screen and (max-width: 640px);

*{
	padding:0;
	margin:0;
    box-sizing: border-box;
}
main{
    width: 100%;
    overflow-x: hidden;
}

.slick-list{
    width: 100%!important;
    overflow: visible!important; 
}
img{
    max-width: 100%;
}
.clear{
	clear:both;}

.tenjijo_right .sp iframe{
    box-sizing: border-box!important;
    max-width: 100%;
    width:100%;
    height: auto;
    aspect-ratio: 6 / 4;
}
.news_wrap{
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap:30px;
}
.news_wrap > div.sns_l{
    position: relative;
    aspect-ratio: 6 / 4;
    overflow: hidden;
    width: 100%;
}
.sns_l{
    height:500px;
}
.sns_l iframe{
    height: auto!important;
    position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.fb_iframe_widget{
}
.fb_iframe_widget,
.fb_iframe_widget span{
}
@media screen and (min-width: 768px){
.news_wrap{
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap:30px;
}
    .news_wrap > div.sns_l{
    position: relative;
    overflow: hidden;
    width: 100%;
   height: 500px!important;
        aspect-ratio: 1;
}
    .fb_iframe_widget{
        height: 500px!important;
    }
    .sns_l iframe{
        width: 500px!important;
        height: 500px!important;
        aspect-ratio: 1;
}
}
@media screen and (max-width: 767px){
    .news_wrap{
       grid-template-columns: minmax(0,1fr);
    } 
    .news_wrap > div.sns_l{
    position: relative;
    overflow: hidden;
    width: 100%;
        aspect-ratio: 10 / 11;
}
    .sns_l iframe{
        height: auto!important;
        aspect-ratio: 10 / 11;
    }  
        .sns_l iframe{
        width: auto!important;
        height: 500px!important;
            margin-inline: auto;
}
}
@media screen and (max-width: 480px){
    .news_wrap > div.sns_l{
        aspect-ratio: 10 / 15;
}
    .sns_l iframe{
        aspect-ratio: 10 / 15;
    } 
}

body{
	background-color:#FFF;
	color:#333;
	width:100%;
	height:100%;
	font-family: "Sawarabi Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;}

.top_slide{
	width:100%;
	overflow:hidden;}

.totop {
  position: fixed;
    z-index: 99;
}

.totel {
  position: fixed;
    z-index: 99;
}


@media (min-width: 641px) {
   .totop {
    top:80%;
    right: 0;
    width: 90px;
  }
  
  a.anchor{
    display: block;
    padding-top: 88px;
    margin-top: -88px;
}

  .totel {
    top:50%;
    right: 0;
    width: 54px;
  }
  .totel img{
	  width:100%;}

  
}
@media (max-width: 640px) {
  .totop {
    top:92%;
    right: 0;
    width: 45px;
  }
  
  .totop img{
	  width:100%;}
  
  a.anchor{
    display: block;
    padding-top: 80px;
    margin-top: -80px;}

.totel{
    top:70%;
    right: 0;
    width: 45px;
	z-index:99;
  }
  
  .totel img{
	  width:100%;}

  
}

.hozBox{
	margin-bottom:20px;
	max-height:800px;
	position:relative}

.hozBox .hozSlider{
	margin-bottom:0}

.hozBox .hozSlider .slick-list{
	max-height:800px;
	overflow:hidden}

.hozBox .hozSlider li{
	text-align:center}

.hozBox .hozSlider li img{
	display:inline-block;
	max-height:800px;
	width:auto}

.hozBox .hozSlider .slick-arrow{
	display:block !important;
	position:absolute;
	left:-35px;
	top:50%;
	z-index:15;
	width:26px;
	height:40px;
	margin-top:-20px}

.hozBox .hozSlider .slick-arrow:before{
	content:"";
	position:absolute;
	left:5px;
	top:7px;
	width:26px;
	height:26px;
	border-left:2px solid #a5a5a5;
	border-top:2px solid #a5a5a5;
	-moz-transform:rotate(-45deg) skew(-8deg, -8deg);
	-webkit-transform:rotate(-45deg) skew(-8deg, -8deg);
	-ms-transform:rotate(-45deg) skew(-8deg, -8deg);
	transform:rotate(-45deg) skew(-8deg, -8deg)}

.hozBox .hozSlider .slick-next{
	left:auto;
	right:-35px}

.hozBox .hozSlider .slick-next:before{
	left:auto;
	right:5px;
	-moz-transform:rotate(135deg) skew(-8deg, -8deg);
	-webkit-transform:rotate(135deg) skew(-8deg, -8deg);
	-ms-transform:rotate(135deg) skew(-8deg, -8deg);
	transform:rotate(135deg) skew(-8deg, -8deg)}

.hozBox .hozSlider .slick-dots{
	position:absolute;
	left:0;
	bottom:10px;
	z-index:15;
	width:100%;
	text-align:center}

.hozBox .hozSlider .slick-dots li{
	display:inline-block;
	vertical-align:middle;
	width:11px;
	height:11px;
	background:#fff;
	-moz-border-radius:50%;
	-webkit-border-radius:50%;
	-ms-border-radius:50%;
	border-radius:50%;
	margin:0 5px;
	text-indent:-9999em}

.hozBox .hozSlider .slick-dots li button{
	display:none}

.hozBox .hozSlider .slick-dots .slick-active{
	background:#F90}

@media only screen and (max-width: 1070px){
	.hozBox .hozSlider .slick-arrow{
	left:10px}

.hozBox .hozSlider .slick-next{
	left:auto;
	right:10px}

}

@media only screen and (max-width: 767px){
	.hozBox{
	margin:0 -10px 35px;
	max-height:inherit}

.hozBox .hozSlider li img{
	max-height:inherit;
	width:100%}

.hozBox .hozSlider .slick-arrow{
	left:5px}

.hozBox .hozSlider .slick-arrow:before{
	top:12px;
	width:16px;
	height:16px;
	-moz-transform:rotate(-45deg) skew(0deg, 0deg);
	-webkit-transform:rotate(-45deg) skew(0deg, 0deg);
	-ms-transform:rotate(-45deg) skew(0deg, 0deg);
	transform:rotate(-45deg) skew(0deg, 0deg)}

.hozBox .hozSlider .slick-next{
	left:auto;
	right:5px}

.hozBox .hozSlider .slick-next:before{
	-moz-transform:rotate(135deg) skew(0deg, 0deg);
	-webkit-transform:rotate(135deg) skew(0deg, 0deg);
	-ms-transform:rotate(135deg) skew(0deg, 0deg);
	transform:rotate(135deg) skew(0deg, 0deg)}

.hozBox .hozSlider .slick-dots li{
	width:8px;
	height:8px;
	margin:0 3px}

}

.thumbBox{
	text-align:center;}

.thumbBox .hozThumb{
	margin-bottom:30px}

.thumbBox .hozThumb li{
	width:15%;
	margin:0 8px;
	border:1px solid #fff}

.thumbBox .hozThumb li img{
	width:100%;}

.thumbBox .hozThumb li.slick-current{
	border:1px solid #000}

@media only screen and (max-width: 767px){
	.thumbBox{
	display:none}

}


.clearfix:after { 
	content: "."; 
	display: block; 
	clear: both; 
	height: 0; 
	visibility: hidden; }
	
.al-center{
	text-align:center;}



.hozBox2{
	margin-bottom:20px;
	max-height:800px;
	position:relative}

.hozBox2 .hozSlider{
	margin-bottom:0}

.hozBox2 .hozSlider .slick-list{
	max-height:800px;
	overflow:hidden}

.hozBox2 .hozSlider li{
	text-align:center}

.hozBox2 .hozSlider li img{
	display:inline-block;
	max-height:800px;
	width:auto}

.hozBox2 .hozSlider .slick-arrow{
	display:block !important;
	position:absolute;
	left:-35px;
	top:50%;
	z-index:15;
	width:26px;
	height:40px;
	margin-top:-20px}

.hozBox2 .hozSlider .slick-arrow:before{
	content:"";
	position:absolute;
	left:5px;
	top:7px;
	width:26px;
	height:26px;
	border-left:2px solid #a5a5a5;
	border-top:2px solid #a5a5a5;
	-moz-transform:rotate(-45deg) skew(-8deg, -8deg);
	-webkit-transform:rotate(-45deg) skew(-8deg, -8deg);
	-ms-transform:rotate(-45deg) skew(-8deg, -8deg);
	transform:rotate(-45deg) skew(-8deg, -8deg)}

.hozBox2 .hozSlider .slick-next{
	left: auto;
/*	right :-35px;*/
    right: 5px;
}

.hozBox2 .hozSlider .slick-next:before{
	left:auto;
	right: 5px;
	-moz-transform:rotate(135deg) skew(-8deg, -8deg);
	-webkit-transform:rotate(135deg) skew(-8deg, -8deg);
	-ms-transform:rotate(135deg) skew(-8deg, -8deg);
	transform:rotate(135deg) skew(-8deg, -8deg)}

.hozBox2 .hozSlider .slick-dots{
	position:absolute;
	left:0;
	bottom:10px;
	z-index:15;
	width:100%;
	text-align:center}

.hozBox2 .hozSlider .slick-dots li{
	display:inline-block;
	vertical-align:middle;
	width:11px;
	height:11px;
	background:#fff;
	-moz-border-radius:50%;
	-webkit-border-radius:50%;
	-ms-border-radius:50%;
	border-radius:50%;
	margin:0 5px;
	text-indent:-9999em}

.hozBox2 .hozSlider .slick-dots li button{
	display:none}

.hozBox2 .hozSlider .slick-dots .slick-active{
	background:#F90}

.hozBox2{
	margin:0 -10px 35px;
	max-height:inherit}

.hozBox2 .hozSlider li img{
	max-height:inherit;
	width:100%;
}

.hozBox2 .hozSlider .slick-arrow{
	left: 5px;
    left: auto;
    cursor: pointer;
}

.hozBox2 .hozSlider .slick-arrow:before{
	top:12px;
	width:16px;
	height:16px;
	-moz-transform:rotate(-45deg) skew(0deg, 0deg);
	-webkit-transform:rotate(-45deg) skew(0deg, 0deg);
	-ms-transform:rotate(-45deg) skew(0deg, 0deg);
	transform:rotate(-45deg) skew(0deg, 0deg)}

.hozBox2 2.hozSlider .slick-next{
	left:auto;
	right:5px}

.hozBox2 .hozSlider .slick-next:before{
	-moz-transform:rotate(135deg) skew(0deg, 0deg);
	-webkit-transform:rotate(135deg) skew(0deg, 0deg);
	-ms-transform:rotate(135deg) skew(0deg, 0deg);
	transform:rotate(135deg) skew(0deg, 0deg)}

.hozBox2 .hozSlider .slick-dots li{
	width:8px;
	height:8px;
	margin:0 3px}



.thumbBox2{
	text-align:center;}

.thumbBox .hozThumb{
	margin-bottom:30px}

.thumbBox2 .hozThumb li{
	width:15%;
	margin:0 8px;
	border:1px solid #fff}

.thumbBox2 .hozThumb li img{
	width:100%;}

.thumbBox2 .hozThumb li.slick-current{
	border:1px solid #000}

	.thumbBox2{
	display:none}


.about-carcaretokai,.about-carcaretokai *{
    box-sizing: border-box;
}
.about-carcaretokai{
    width: min(100%,1450px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    grid-template-rows: minmax(0,1fr) auto auto;
    gap: 0 clamp(15px,3vw,30px);
    padding-inline: 15px;
}
.about-carcaretokai .contents_title.pbg6{
    grid-column:  1 / -1;
    margin-bottom: 0;
    padding-bottom: 10px;
}
.about-carcaretokai > .tcb_box{
    width: 100%!important;
    height: auto!important;
    aspect-ratio: 340 / 316;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: subgrid;
    grid-row: span 3;
    background: #fff;
    gap: 0;
    margin-top: clamp(15px,3vw,30px);
}
.about-carcaretokai > .tcb_box > *{
    grid-column:  1 / -1;
}
.about-carcaretokai > .tcb_box > img{
    grid-row:  1 / 2;
}
.about-carcaretokai > .tcb_box > .tcb_p1{
    grid-row:  2 / 3;
}
.about-carcaretokai > .tcb_box > .tcb_p2{
    grid-row:  3 / -1;
}
.about-carcaretokai > .tcb_box > a{
    width: 100%;
    height: 100%;
    grid-row: 1 / -1;
    z-index: 3;
    display: grid;
}
.about-carcaretokai > .tcb_box img{
    width: 100%;
    height: auto;
    aspect-ratio: 340 / 227;
    object-fit: cover;
}
.about-carcaretokai > .tcb_box img.rogo{
    object-fit: contain;
    align-self: center;
    padding-inline: 15px;
}
.about-carcaretokai > .tcb_box img.tenkenkun{
    width: min(55%,182px);
    margin-inline: auto;
    padding: 10px 20px 10px; 
    aspect-ratio: 182 / 227;
}
.about-carcaretokai > .tcb_box img.sonpo{
    width: min(75%,259px);
    margin-inline: auto;
    padding: 10px 20px 10px; 
    aspect-ratio: 258 / 228;
}
.about-carcaretokai > .tcb_box img.kyouei{
    padding: 10px 20px 10px; 
    aspect-ratio: 248 / 57;
}
.about-carcaretokai > .tcb_box:has(.tenkenkun) p{
    padding-block: 7px;
}
.about-carcaretokai > .tcb_box:has(.tenkenkun) p.tcb_p2{
    font-size: 13px;
}
.about-carcaretokai > .tcb_box p.tcb_p2{
    min-height: 4em;
}

/*
.pc-cols-2{
    
}
*/
@media screen and (min-width:641px){
    .pc-cols-2{
        display: grid;
        grid-template-columns: minmax(0,1fr);
        gap: 10px;
        align-items: center;
    }
    .pc-cols-2 img{
        width:min(100%,227px);
        height: auto;
        margin-inline: 50px auto;
    }
}
@media screen and (min-width:1025px){
    .pc-cols-2{
        grid-template-columns: minmax(0,2fr) minmax(227px,1fr);
    }
    .pc-cols-2 img{
        margin-inline: 0;
    }
}
@media screen and (max-width:640px){
    .pc-cols-2{
        display: contents;
    }
}

.slick-box5{
    width:100%!important;
    height: auto;
}
.slick-track{
    overflow-x: hidden;
}

/*swiper*/
.swiper{
  width: 100%;
  height: auto;
	margin: 0 auto;	
}

.swiper-wrapper {
  /* wrapperのサイズを調整 */
  width: 100%;
/*  height: 300px;*/
}
.swiper-slide {
  /* スライドのサイズを調整、中身のテキスト配置調整、背景色 */
  color: #ffffff;
  width: 100%;
  height: 100%;
  text-align: center;
/*  line-height: 300px;*/
}

.slider-thumbnail img{
    width: 100%;
    height: auto;
    aspect-ratio: 6 / 3.5;
    object-fit: cover;
}
.slider-thumbnail .swiper-slide {
  opacity: .5;
  transition: opacity .5s;
  width: calc(100% / 3);
    cursor: pointer;
}
.slider-thumbnail .swiper-slide.swiper-slide-thumb-active {
  opacity: 1;
}

/* レイアウトのためのスタイル */
.swiper {
  max-width: 500px;
  width: 100%;
}
.swiper-slide img {
  height: auto;
  width: 100%;
}
/*swiperカスタマイズ*/
:root {
    --swiper-theme-color: #fff;
    --swiper-navigation-size: 28px;
    --swiper-pagination-bullet-color: #fff;
    --swiper-pagination-bullet-inactive-color: #fff;
    --swiper-pagination-bullet-opacity: 1;
    --swiper-pagination-bullet-horizontal-gap: 8px;
}


/*.grid_table*/
.grid_table,.grid_table *{
    box-sizing: border-box;
}

.grid_table{
    display: grid;
}
.grid_table tbody,
.grid_table tr{
    display: contents;
}
.inquiery_table{
    display: grid;
}

@media screen and (min-width: 641px){
    .inquiery_table{
        grid-template-columns: minmax(0,1fr) minmax(0,3fr);
        gap:20px;
    
    }
}

.grid_contact_wrap,.grid_contact_wrap *{
    box-sizing: border-box;
}
.grid_contact_wrap{
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 10px 10px;
    overflow: hidden;
}
.grid_contact_wrap > dl{
    display: grid;
    gap: 5px 20px;
    padding: 0px;
    align-items: start;
}
.grid_contact_wrap > dl dt,
.grid_contact_wrap > dl dd{
    width: 100%;
    height: auto;
    display: grid;
    align-items: center;
    padding: 5px;
    line-height: 1.5;
}

.grid_contact_wrap > dl dt span{
    padding: 5px 10px;
}
.grid_contact_wrap > dl dt span > span{
    padding: 5px;
}
.grid_contact_wrap > dl span > span{
    font-size: 15px;
}

.grid_contact_wrap > dl .size_wide input,
.grid_contact_wrap > dl .size_wide textarea{
    width: min(100%,540px);
    height: auto;
}
.grid_contact_wrap > dl .size_fit{
    width: fit-content;
    height: auto;
}
.grid_contact_wrap > dl .size70 input{
    width: 70%;
    height: auto;
}
.indent-1em{
    display: inline-block;
        padding-left: 1em;
        text-indent: -1em;
    }
@media screen and (min-width: 641px){
    .grid_contact_wrap > dl{
        grid-template-columns: minmax(200px,1fr) minmax(0,3.2fr);
    }
    .grid_contact_wrap > dl dt span{
    padding: 5px 0px;
}
    .grid_contact_wrap > dl dd > span.cols2{
        display: grid;
        grid-template-columns: minmax(0,1fr);
        gap:10px;
    }
    .grid_contact_wrap > dl span > span.red{
    color: red;
}
    @media screen and (min-width: 768px){
    .grid_contact_wrap > dl dd > span.cols2{
        grid-template-columns: auto minmax(0,1fr);
    }
}
    
}
@media screen and (max-width: 640px){
    .grid_contact_wrap > dl{
        grid-template-columns: minmax(0,1fr);
    }
    .grid_contact_wrap > dl dt{
        padding: 0;
        
    }
    .grid_contact_wrap > dl dt > span{
        min-height: 36px;
        background-color: #F90;
        color: #FFF;
    }
}


@media screen and (min-width:641px){
.sp_on{
    display: none;
}
}
@media screen and (min-width:481px){
.sp_only{
    display: none;
}
}
@media screen and (max-width:480px){
.sp_none{
    display: none;
}
}
@media screen and (max-width:640px){
.pc_on{
    display: none;
}
}
@media screen and (max-width:641px){
.pc_only{
    display: none;
}
}

/*grid_table*/
.grid_table,.grid_table *{
    box-sizing: border-box;
}
.grid_table{
    display: grid;
}
table.company_profile_table{
    display: grid;
    gap: 2px 0;
    margin-top: 15px;
}
table.company_profile_table tbody,
table.company_profile_table tr{
    display: contents;
}
table.company_profile_table th,
table.company_profile_table td{
    padding: 8px 10px;
    display: grid;
    align-items: start;
    line-height: 1.4;
}
table.company_profile_table th > span,
table.company_profile_table td > span,
table.company_profile_table td > dl{
    align-items: start;
}
table.company_profile_table th{
    background: #FFE0C1;
    font-weight: 500;
    min-width: 109px;
}
table.company_profile_table td{
    border-bottom: 1px dotted #FC6;
}
table.company_profile_table th > span{
    justify-self: center;
}
table.company_profile_table td > span,
table.company_profile_table td > dl{
    justify-self: start;
}
table.company_profile_table td dl,
table.company_profile_table td > div{
    display: grid;
}
table.company_profile_table td dl > *{
    padding: 5px 10px;
}
table.company_profile_table td > dl{
    display: grid;
        grid-template-columns: auto minmax(0,1fr);
    }
@media screen and (min-width:641px){
    table.company_profile_table{
        grid-template-columns: auto minmax(0,1fr);
    }
    table.company_profile_table td > div{
        grid-template-columns: auto minmax(0,1fr);
    }
    table.company_profile_table td > div dl{
        grid-template-columns: subgrid;
        grid-column: span 2;
    }
}
@media screen and (max-width:640px){
    table.company_profile_table{
        grid-template-columns: minmax(0,1fr);
    }
    table.company_profile_table td > div{
        gap: 1em 0;
    }
    table.company_profile_table td > div dl{
        grid-template-columns: minmax(0,1fr);
    }
    table.company_profile_table td dl > *{
        padding: 0px 10px;
    }
}

/*クルマを選ぶ*/
.seach_menu,.seach_menu *{
    box-sizing: border-box;
}
.seach_menu{
    display: grid;
    gap: 3px 3px;
}
.seach_menu > a{
    padding:3px 5px;
    background: rgba(255,255,255,0.5);
}
.seach_menu > a:hover{
    opacity: 0.6;
}
.seach_menu > .subnavi{
    grid-row: 1 / -1;
    align-self: start;
}
@media screen and (min-width:641px){
.seach_menu{
    display: grid;
    gap: 3px 3px;
    grid-template-columns: auto repeat(4,minmax(0,5em)) minmax(0,1fr);
    grid-template-rows: repeat(2,auto);
    align-items: start;
}
    .seach_menu:after{
        content: "";
        grid-column: 6 / -1;
        grid-row: 1 / -1;
    }
}
@media screen and (max-width:640px){
    .seach_menu{
       grid-template-columns: minmax(0,1fr); 
    }
    
    .navSP .child > ul{
        display: grid;
        gap:3px;
/*        padding: 3px;*/
        grid-template-columns: repeat(2,8em) minmax(0,1fr);
        grid-template-rows: repeat(4,auto);
        padding: 0 5px 0.8em 1em;
    }
    .navSP .child > ul li{
        text-align: center;
    }
    .navSP .child > ul:after{
        content: "";
        grid-column: -2 / -1;
        grid-row: 1 / -1;
    }
    .navSP .child > ul li{
        padding: 3px 5px;
        background: rgba(255,255,255,0.2);
    }
    .navSP .child > ul li a{
        padding: 3px 5px;
    }
}
.grid_wrap,.grid_wrap *{
    box-sizing: border-box;
}
.grid_wrap{
    display: grid;
} 
.seach_wrap{
    width:min(94%,800px);
    margin-inline: auto;
    display: grid;
    gap: clamp(10px,3vw,30px);
}
.seach_wrap > div{
    width:100%;
    height: auto;
    aspect-ratio: 168 / 136;
    display: grid;
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: minmax(0,1fr) 1.5em;
    padding: 10px;
    gap: 5px 0;
    place-items: center;
    place-content: center;
    border: 1px solid #333;
    filter: drop-shadow(1.5px 1px 1px rgba(0,0,0,0.3));
    border-radius: 5px;
    background: #fff;
    transition: 0.3s ease-out;
}
.seach_wrap > div > *{
    grid-column: 1 / -1;
}
.seach_wrap > div > img{
    grid-row: 1 / 2;
/*    aspect-ratio: 111 / 99;*/
    width: auto;
    height: 100%;
    object-fit: contain;
}
@media screen and (min-width:641px){
    .seach_wrap > div > img.yokonaga{
        width: 100%;
        height: auto;
    }
}
@media screen and (max-width:641px){
    .seach_wrap > div > img.yokonaga{
        width: auto;
        height: 100%;
    }
}
.seach_wrap > div > p{
    grid-row: 2 / -1;
    font-size: 15px;
    align-self: end;
}
.seach_wrap > div > a{
    grid-row: 1 / -1;
    width: 100%;
    height: 100%;
}
.seach_wrap > div:has(a:hover){
    background: #E3F1FB;
}
.seach_wrap > ul{
    grid-column: 1 / -1;
    padding-top: 20px;
}
.seach_wrap > ul li{
    text-align: left;
    line-height: 1.5;
    list-style: none;
    font-size: 14px;
    padding-bottom: 5px;
}
.seach_wrap > ul.kome li{
    padding-left: 1em;
    text-indent: -1em;
}
@media screen and (min-width:641px){
    .seach_wrap{
        grid-template-columns: repeat(4,minmax(0,1fr));
    }
}
@media screen and (max-width:640px){
    .seach_wrap{
        grid-template-columns: minmax(0,1fr);
    }
    .seach_wrap > div{
        aspect-ratio: 338 / 217;
    }
    .seach_wrap > div > img{
        align-self: start;
    }
}

/*order順番*/
.order-1{order:-1;}.order-2{order:-2;}.order-3{order:-3;}.order-4{order:-4;}
.order1{order:1;}.order2{order:2;}.order3{order:3;}.order4{order:4;}
.order5{order:5;}.order6{order:6;}.order7{order:7;}.order8{order:8;}
.order9{order:9;}.order10{order:10;}.order11{order:11;}.order12{order:12;}

.tenken_wrap,.tenken_wrap *{
    box-sizing: border-box;
}
.tenken_wrap{
    display: grid;
    grid-template-columns: 2.5em minmax(100px,1fr) minmax(65px,1fr) repeat(6,minmax(110px,1.3fr));
    grid-template-rows: auto repeat(6,auto);
    white-space: nowrap;
    width: min(100%,1080px);
    overflow: auto;
    position: relative;
    margin-block: 10px;
}
@media screen and (min-width:872px){
    tr.sp-title *{
        display: none!important;
    }
    .tenken_wrap.rows-9{
        grid-template-rows: repeat(9,auto);
    }
}
@media screen and (max-width:871px){
    .tenken_wrap.rows-9{
        grid-template-rows: repeat(10,auto);
    }
}
.tenken_wrap > .tenken_table{
    display: grid;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
    grid-row: 1 / -1;
    border-top:1px solid #222;
    border-left:1px solid #222;
}
.tenken_wrap > .tenken_table th,
.tenken_wrap > .tenken_table td{
    border-right: 1px solid #222;
    border-bottom: 1px solid #222;
    padding: 8px 5px;
    display: grid;
    place-items: center;
    line-height: 1.4;
}
.tenken_wrap > .tenken_table th{
    font-size: clamp(14px,1.6vw,16px);
    font-weight: 500;
}
.tenken_wrap > .tenken_table td{
    font-size: 15px;
}
.tenken_table tbody,
.tenken_table tr{
    display: contents;
}
.tenken_wrap > .tenken_title{
    grid-column: 1 / 4;
    grid-row: 1 / -1;
    display: grid; 
    letter-spacing: -0.05em;
    position: sticky;
    top:0;
    left:0;
    background: #fff;
    z-index: 3!important;
}
/*
.tenken_wrap > .tenken_title th > span{
    justify-self: start;
}
*/
.tenken_wrap > .tenken_title th.txt-al-left{
    text-align: left;
}
/*
.tenken_wrap.t2 > .tenken_title th{
    text-align: center;
}
*/

.tenken_wrap > .tenken_honbun{
    grid-column: 4 / -1;
    grid-row: 1 / -1;
    display: grid;
    border-left: none;
/*    min-width: 780px;*/
    overflow-x: auto;
    z-index: 1;
}
.tenken_wrap > .tenken_honbun th,
.tenken_wrap > .tenken_honbun td{
    letter-spacing: -0.05em;
    overflow-x: hidden;
}
.tenken_wrap > .tenken_title{
    width: 240px;
     overflow-x: hidden;
}
.tategaki{
    writing-mode: vertical-rl;
-webkit-text-orientation: upright;
  text-orientation: upright;
}

@media screen and (max-width: 640px){
    .tenken_wrap > .tenken_table th:has(.tategaki){
        padding-left: 0px;
    }
    .tenken_wrap > .tenken_table th .tategaki{
        transform: translateX(-3px);
    }
}

.bgt-gr,
.bgt-grs th{
    background: #B8FFBA;
}
.bgt-dgr,
.bgt-dgrs th{
    background: #146B17;
    color: #fff;
}
.bgt-pi,
.bgt-pi th{
    background: #FFDFE2;
}
.inlb{
    display: inline-block!important;
}
/*
.tenken_wrap > .tenken_title th.bgt-dgr > span,
.tenken_wrap > .tenken_title th.bgt-gr > span,
.bgt-gr > span,
.bgt-grs th > span{
    justify-self: center;
}
*/
.colspan-2{grid-column: span 2;}
.colspan-3{grid-column: span 3;}
.colspan-4{grid-column: span 4;}
.colspan-5{grid-column: span 5;}
.colspan-6{grid-column: span 6;}
.colspan-7{grid-column: span 7;}
.colspan-8{grid-column: span 8;}
.colspan-9{grid-column: span 9;}
.colspan-10{grid-column: span 10;}
.colspan-11{grid-column: span 11;}
.colspan-12{grid-column: span 12;}
.colspan-full{grid-column: 1 / -1;}

.rowspan-2{grid-row: span 2;}
.rowspan-3{grid-row: span 3;}
.rowspan-4{grid-row: span 4;}
.rowspan-5{grid-row: span 5;}
.rowspan-6{grid-row: span 6;}
.rowspan-7{grid-row: span 7;}
.rowspan-8{grid-row: span 8;}
.rowspan-9{grid-row: span 9;}
.rowspan-10{grid-rown: span 10;}
.rowspan-11{grid-row: span 11;}
.rowspan-12{grid-row: span 12;}
.rowspan-full{grid-row: 1 / -1;}

.tenken_wrap.t2{
    margin-bottom:0;
}
.chuushaku{
    display: grid;
    gap: 5px 0;
    line-height: 1.7;
    padding-inline: 15px;
}
.chuushaku p{
    font-size: 15px;
    
}
.chuushaku h3{
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
}
.chuushaku ul{
    padding-left: 1.5em;
    padding-bottom: 10px;
}
.chuushaku h4{
    font-size: 18px;
    font-weight: 500;
    padding:16px;
    background: #E8F8FF;
}