.btn_bl {
	display: block;
	text-align: center;
	  align-content: space-around;
  font-size: clamp(14px, 1.6vw, 16px);
	text-decoration: none;
	margin: auto;
	padding: 1.5rem 6rem;
	font-weight: bold;
	border: 2px solid #0085ca;
	background: #0085ca;
	color: #fff;
	transition: 0.5s;
}

a.btn_bl:hover {
	color: #0085ca;
	background: #fff;
}

@media (max-width: 768px) {
  .btn_bl {
    padding: 1rem 4rem;
  }
}




/* 表示用 */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  color: #333;
}
img {
  display: block;
}
a {
  text-decoration: none;
}
.areacontainer {
  width: 100%;
  max-width: 940px;
  margin: 40px auto;
  padding-inline: 20px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-content: flex-start;
  gap: 16px;
}


.txt__red{
  font-size: 16px;
  font-weight: 800;
  order: 1;
  color: #e50012;
  text-align: center;
  padding: 0 0 8px 0;

}

.txt__blue {
  font-size: 2rem;
  font-weight: 800;
  order: 1;
  color: #0085ca;
  text-align: center;
  padding: 24px 0 40px 0;
}

.primary__blue {
  font-size: 1.3rem;
  font-weight: 800;
  order: 1;
  color: #0085ca;
  text-align: center;
  padding: 0 0 8px 0;
}

.primary__blue2 {
  font-size: 0.8rem;
  font-weight: 800;
  order: 1;
  color: #0085ca;
  text-align: center;
  padding: 0 0 8px 0;
}

@media (max-width: 768px) {
  .primary__blue {
    font-size: 1rem;
  }
}

.primary__txt{
padding: 24px;
margin: 12px 24px 0 24px;
font-size: clamp(14px, 1.6vw, 20px);
line-height: 36px;
}

/* カード型レイアウト */

.cards {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr ;
  gap: 20px;
  margin: 0 auto;
  @media (max-width: 768px) {
    max-width: 400px;
    grid-template-columns: 1fr; /* 1列に変更 */
    gap: 40px;
  }
}

.card {
  border-radius: 10px;
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s;
  margin-top: 32px;
}

.card__img-wrapper {
  width: 100%;
  height: auto;
  aspect-ratio: 360/240;
}
.card__img {
  width: 100%;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.card__body {
  width: 100%;
  background-color: #fff;
  padding: 24px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}
.card__time {
  display: flex;
  align-items: right;
  justify-content: space-between;
  font-size: 14px;
  margin-top: 15px;
  font-weight: bold;
  color: #b5b5b6;
  padding-bottom: 8px;
}

.card__title {
  display: flex;
    font-size: 1.25rem;
    font-weight: 800;
    order: 1;
    line-height: 28px;
}

.card__price {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  order: 1;
  color: #e50012;
}

.card__btn {
  display: inline-block;
  padding: 5px 35px;
  font-size: .75rem;
  background-color: #0085ca;
  color: #fff;
  border-radius: 10px;
  margin: 8px 16px 8px 0;
  margin-bottom: 8px;
}

.card__btn2 {
  display: inline-block;
  padding: 5px 35px;
  font-size: .75rem;
  background-color: #e50012;
  color: #fff;
  border-radius: 10px;
  margin: 8px 16px 8px 0;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.btn.__compact {
  padding: .5rem 1rem;
  border-radius: 10px;
  background-color: #e50012;
  color: #fff;
  font-weight: bold;
  letter-spacing: 1px;
  text-align: center;
}

.btn.__compact2 {
  padding: .5rem 1rem;
  border-radius: 10px;
  background-color: #0085ca;
  color: #fff;
  font-weight: bold;
  letter-spacing: 1px;
  text-align: center;
}

.__line{
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: bold;
  text-align: left;
  letter-spacing: 0.1em;
  color: #fff;
  background: #0085ca;
  padding: 16px 16px;
  position: relative;
  margin-top: 24px;
}

/* 表示用 */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  color: #333;
}
img {
  display: block;
}
a {
  text-decoration: none;
}
.container {
  width: 100%;
  max-width: 940px;
  margin: 40px auto;
  padding-inline: 20px;
}

/* カード型レイアウト */

.cards {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 20px;
  margin: 0 auto;
  @media (max-width: 768px) {
  max-width:400px;
    grid-template-columns: 1fr; /* 1列に変更 */
  gap: 40px;
}
}
.card {
  border-radius: 10px;
  box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s;
}

.card:hover {
  transform: translateY(-15px);
}
.card__img-wrapper {
  width: 100%;
  height: auto;
  aspect-ratio: 360/240;
}
.card__img {
  width: 100%;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.card__body {
  width: 100%;
  background-color: #fff;
  padding: 24px ;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.card__text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__time {
  display: flex;
  align-items: right;
  justify-content: space-between;
  font-size: 14px;
  margin-top: 15px;
  font-weight: bold;
  color: #b5b5b6;
}


/*ベースの設定*/
.cp_page {
  display: flex;
  min-height: 150px;/*ページ全体を覆う*/
  /*ページのコンテンツを真ん中に設置*/
  align-items: center;
  justify-content: center;
}
a.cp_modal_op {/*OPENボタン*/
  display: block;
  width: 350px;
  font-size: clamp(14px, 1.4vw, 16px);
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: #0085ca;
  border-radius: 5px;
  margin: auto;
  padding: 20px;
}

/*POPUPするウィンドウ*/
.cp_modal_area {
  position: fixed;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  transition: all 0.5s ease-in-out;
  opacity: 0;/*最初は非表示に設定*/
}
.cp_modal_area:target {
  z-index: 1;
  transition: all 0.5s ease-in-out;
  opacity: 1;/*OPENをクリックしたら表示*/
}
.cp_modal_cont {/*POPUPするウィンドウのコンテンツ*/
  position: relative;
  top: 50%;
  left: 50%;
  width: 80%;
  height: auto;
  transition: all 0.5s ease-in-out;
  transform: translate(-50%, -200%);/*最初は200%上に設置*/
  opacity: 0;/*最初は非表示に設定*/
  border-radius: 4px;
  outline: 1px solid transparent;
  background: #ffffff;
  padding: 20px;
}
.cp_modal_area:target .cp_modal_cont {
  z-index: 9999;
  transition: all 0.5s ease-in-out;
  transition-delay: 0.5s;
  transform: translate(-50%, -50%);/*OPENをクリックしたら真ん中に表示*/
  opacity: 1;/*OPENをクリックしたら表示*/
}
.cp_modal_area a{/*POPUPコンテンツをクリックしても閉じるように全体をaで囲む*/
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.cp_popup_cl {/*クローズボタン背景*/
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: #1b2538;
  clip-path: circle(50% at 50% 50%);
}
.cp_popup_cl::before {/*クローズボタンの「×」*/
  position: absolute;
  content: '';
  background: #ffffff;
  width: 10px;
  height: 10px;
  margin: 10px;
  clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
}

/* 試乗会カード */

.cp_card04 {
  width: 400px;
	overflow: hidden;
	border-radius: 3px;
	margin-top: 1rem;
	margin-bottom: 1rem;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	background-color: #fff;
	-webkit-box-shadow: 0 3px 7px -3px rgba(0, 0, 0, 0.3);
	        box-shadow: 0 3px 7px -3px rgba(0, 0, 0, 0.3);
					transition: all 0.25s ease-in;
				  border-bottom: 5px solid transparent;

}


.cp_card04 .photo {
	height: 200PX;
  object-fit: contain;
	overflow: hidden;
}
.cp_card04:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  border: none;
  border-bottom: 5px solid #0085ca;
}
.cp_card04 .details {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	padding: 1em 1em 0 1em;
	font-size: 0.8em;
}
.cp_card04 .date {
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 700;
	-webkit-box-flex: 1;
	   /* -ms-flex: 1;
	        flex: 1; */
	text-align: right;
}
.cp_card04 .category {
  font-size: clamp(14px, 1.6vw, 20px);
	-webkit-box-flex: 2;
	    -ms-flex: 2;
	        flex: 2;
}
.cp_card04 .category p {
  letter-spacing: 2px;
	font-size: clamp(14px, 1.6vw, 20px);
	padding: 3px 8px;
	cursor: pointer;
	width: 8em;
	margin: 0;
	border-radius: 10px;
	background: #0085ca;
	text-align: center;
	color: #ffffff;
}
.cp_card04 .description {
  letter-spacing: 1.2px;
	padding: 0 1em;
}
.cp_card04 .description h1 {
  font-size: clamp(14px, 1.6vw, 18px);
	margin: 0;
	margin-bottom: 0.5em;
  margin-top: 0.2em;
}


.cp_card04 .description .text p {
	margin: 0;
}

.cp_card04 .description .text a {
	float: right;
	margin-bottom: 10px;
	text-decoration: none;
	color: #0085ca;
  font-weight: 800;
}

.cp_card04 .description .text a:after {
	font-family: FontAwesome;
	margin-left: -10px;
	content: '\f061';
	-webkit-transition: all 0.3s ease;
	        transition: all 0.3s ease;
	vertical-align: middle;
	opacity: 0;
}
.cp_card04 .description .text a:hover:after {
	margin-left: 5px;
	opacity: 1;
}


.bule_p {
  margin: 3px auto 10px;
  padding: 5px;
  border-radius: 10px;
  border: #0085ca 1px solid;
  text-align: center;
}

.bule_p p {
  color: #0085ca;
  letter-spacing: 1px;
}

.btn_blue {
  width: 100%;
	text-align: center;
	  align-content: space-around;
  font-size: clamp(12px, 1.3vw, 16px);
	text-decoration: none;
  border-radius: 10px;
	margin: auto;
  margin-bottom: 16px;
	padding: 10px 0;
	font-weight: bold;
	border: 2px solid #0085ca;
	background: #0085ca;
	color: #fff;
	transition: 0.5s;
}

p.btn_blue:hover {
	color: #0085ca;
	background: #fff;
}

.btn_gray {
  width: 100%;
	text-align: center;
	  align-content: space-around;
  font-size: clamp(12px, 1.3vw, 16px);
	text-decoration: none;
  border-radius: 10px;
	margin: auto;
  margin-bottom: 16px;
	padding: 10px 0;
	font-weight: bold;
	border: 2px solid #98a5ae;
	background: #98a5ae;
	color: #fff;
	transition: 0.5s;
}

.bule_s {
  color: #0085ca;
  font-size: clamp(10px, 4vw, 12px);
  margin-left: 5px;
}


/*--------------------------------------------------------------*/
.cp_card05 {
  width: 400px;
	overflow: hidden;
	border-radius: 3px;
	margin-top: 1rem;
	margin-bottom: 1rem;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	background-color: #95cfecea;
	-webkit-box-shadow: 0 3px 7px -3px rgba(0, 0, 0, 0.3);
	        box-shadow: 0 3px 7px -3px rgba(0, 0, 0, 0.3);
					transition: all 0.25s ease-in;
				  border-bottom: 5px solid transparent;
}

.cp_card05 .photo {
	height: 200PX;
  object-fit: contain;
	overflow: hidden;
}
.cp_card05:hover {
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  border: none;
  border-bottom: 5px solid #98a5ae;
}
.cp_card05 .details {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	padding: 1em 1em 0 1em;
	font-size: 0.8em;
}
.cp_card05 .date {
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 700;
	-webkit-box-flex: 1;
	   /* -ms-flex: 1;
	        flex: 1; */
	text-align: right;
}
.cp_card05 .category {
  font-size: clamp(14px, 1.6vw, 20px);
	-webkit-box-flex: 2;
	    -ms-flex: 2;
	        flex: 2;
}

.cp_card05 .category p {
  letter-spacing: 2px;
	font-size: clamp(14px, 1.6vw, 20px);
	padding: 3px 8px;
	cursor: pointer;
	width: 8em;
	margin: 0;
	border-radius: 10px;
	background: #fff;
	text-align: center;
	color: #0085ca;
}
.cp_card05 .description {
  letter-spacing: 1px;
	padding: 0 1em;
}
.cp_card05 .description h1 {
	font-size: clamp(14px, 1.6vw, 20px);
	margin: 0;
	margin-bottom: 0.5em;
  margin-top: 0.2em;
}



.cp_card05 .description .text p {
	margin: 0;
}

.cp_card05 .description .text a {
	float: right;
	margin-bottom: 10px;
	text-decoration: none;
	color: #fff;
  font-weight: 800;
}

.cp_card05 .description .text a:after {
	font-family: FontAwesome;
	margin-left: -10px;
	content: '\f061';
	-webkit-transition: all 0.3s ease;
	        transition: all 0.3s ease;
	vertical-align: middle;
	opacity: 0;
}
.cp_card05 .description .text a:hover:after {
	margin-left: 5px;
	opacity: 1;
}


.bule_p_05 {
  margin: 3px auto 10px;
  padding: 5px;
  border-radius: 10px;
  border: #fff 1px solid;
  text-align: center;
}

.bule_p_05 p {
  color: #fff;
  letter-spacing: 1px;
}

.btn_blue_05 {
  width: 100%;
	text-align: center;
	  align-content: space-around;
  font-size: clamp(12px, 1.3vw, 16px);
	text-decoration: none;
  border-radius: 10px;
	margin: auto;
  margin-bottom: 16px;
	padding: 10px 0;
	font-weight: bold;
	border: 2px solid #fff;
	background: #fff;
	color: #0085ca;
	transition: 0.5s;
}

p.btn_blue_05:hover {
	color: #fff;
	background: #98a5ae;
}




/*------------------------------------------------------------------*/

/*空欄をつくる*/
.areacontainer::after{
  content:"";
  display: block;
  width: 400px;
  margin: 1rem auto;
}

/*アコーディオン全体*/
.accordion-area{
  list-style: none;
  width: 96%;
  max-width: 900px;
  margin:0 auto;
}

.accordion-area li{
  margin: 10px 0;
}

.accordion-area section {
border: 1px solid #ccc;
}

/*アコーディオンタイトル*/
.title {
  position: relative;/*+マークの位置基準とするためrelative指定*/
  cursor: pointer;
  font-size:1rem;
  font-weight: normal;
  padding: 3% 3% 3% 50px;
  transition: all .5s ease;
}

/*アイコンの＋と×*/
.title::before,
.title::after{
  position: absolute;
  content:'';
  width: 15px;
  height: 2px;
  background-color: #333;
  
}
.title::before{
  top:48%;
  left: 15px;
  transform: rotate(0deg);
  
}
.title::after{    
  top:48%;
  left: 15px;
  transform: rotate(90deg);

}
/*　closeというクラスがついたら形状変化　*/
.title.close::before{
transform: rotate(45deg);
}

.title.close::after{
transform: rotate(-45deg);
}

/*アコーディオンで現れるエリア*/
.box {
  display: none;/*はじめは非表示*/
  background: #f3f3f3;
  margin:0 3% 3% 3%;
  padding: 3%;
}


/* テーブル */


table{
  width: 90%;
  margin: 0 auto;
  border-collapse: collapse;
  border-spacing: 0;
}

table th{
  border-bottom: solid 2px #e50012;
  padding: 10px 0;
}

table td{
  padding: 10px 0;
  text-align: center;
}

table tr:nth-child(odd){
  background-color: #eee
}


/*リボン*/



/*リボンの部分
.cp_ribbon02_2 .cp_ribbon {
  position: absolute;
  top: 25px;
  left: -40px;
  width: 160px;
  height: 30px;
  background-color: #FF9800;
  color: #ffffff;
  text-align: center;
  line-height: 1.8;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);

}
/*リボンの影の部分
.cp_ribbon02_2::before,
.cp_ribbon02_2::after {
  position: absolute;
  content: '';
  width: 6px;
  height: 6px;
  background-color: #EF6C00;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.cp_ribbon02_2:before {
  top: -6px;
  left: 101px;
}
.cp_ribbon02_2:after {
  top: 101px;
  left: -6px;
}*/


/*リボン*/
.label_box {
  position: relative;
  background: #FFF;

  }

.label_inner {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 90px;
  height: 91px;
  }

/*リボン回転位置*/
.ribbon {
  display: inline-block;
  position: absolute;
  padding: 4px 0;
  top: 25px;
  left: -40px;
  width: 160px;
  text-align: center;
  font-size: 14px;
  background: #FF9800;
  line-height: 1.8;
  text-align: center;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  z-index: 2;
  }

  span.ribbon {
    color: #ffffff;
  }


/*.ribbon:before, .ribbon:after {
  position: absolute;
  content: "";
  border-top: 4px solid #835208;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  bottom: -4px;
  }
  .ribbon:before {
  left: 24px;
  }
  .ribbon:after {
  right: 10px;
  }*/

/*@media (max-width: 768px) {
  .cp_ribbon02_2 .cp_ribbon {
    left: -50px;
    width: 50vw;
        overflow: hidden;
 }
}*/

/**/

.logo__container{
  width: 90%;
  margin: 40px auto;
  padding-inline: 20px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-content: flex-start;
  gap: 16px;
}

.logo__item{
  display: flex;
  flex-wrap: wrap;
}


/**/

.modal_wrap input {
  display: none;
}

.modal_overlay {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  -webkit-transition: opacity 0.5s, -webkit-transform 0s 0.5s;
  transition: opacity 0.5s, -webkit-transform 0s 0.5s;
  transition: opacity 0.5s, transform 0s 0.5s;
  transition: opacity 0.5s, transform 0s 0.5s, -webkit-transform 0s 0.5s;
  -webkit-transform: scale(0);
          transform: scale(0);
}

.modal_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
}

.modal_content {
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
  margin-bottom: 30px;
  max-width: 600px;
  padding: 10px 30px 30px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background: #fff;
  line-height: 1.4em;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  position: absolute;
  top: 100px;
}

@media screen and (max-width: 768px) {
  .modal_content {
    width: 90%;
    height: auto - 10%;
  }
}

.modal_content p {
  padding-top: 0;
}

.modal_content img {
  width: 100%;
}

.close_button {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
}

.close_button2 {
  position: absolute;
  bottom: 14px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
}

.modal_wrap input:checked ~ .modal_overlay {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
}

.tab-004 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  max-width: 1000px;
}

.tab-004 > label {
  -webkit-box-flex: 1;
      -ms-flex: 1 1;
          flex: 1 1;
  -webkit-box-ordinal-group: 0;
      -ms-flex-order: -1;
          order: -1;
  position: relative;
  min-width: 70px;
  padding: .7em 1em;
  background-color: #f2f2f2;
  color: #999;
  font-weight: 600;
  font-size: .9em;
  text-align: center;
  cursor: pointer;
}

.tab-004 > label:hover,
.tab-004 label:has(:checked) {
  background-color: #0085ca;
  color: #fff;
}

.tab-004 label:has(:checked)::before {
  position: absolute;
  bottom: -8px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 18px;
  height: 9px;
  background-color: #0085ca;
  content: '';
  -webkit-clip-path: polygon(0 0, 100% 0, 50% 100%);
          clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.tab-004 input {
  display: none;
}

.tab-004 > div {
  display: none;
  width: 100%;
  padding: 1.5em 1em;
}

.tab-004 label:has(:checked) + div {
  display: block;
}

.bl_ttl {
  background-color: #0085ca;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 16px 16px;
}

.bl_ttl_sub {
  color: #0085ca;
  font-size: 16px;
  font-weight: bold;
  padding: 10px;
  border-bottom: #0085ca 2px solid;
}

.mapcontainer{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: flex-start;
  gap:8px;
  margin-top: 16px;
}

map {
  width: 98%;
  position: relative;
  padding-top: 56.25%;
}

.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.kiroro_info {
  width: 70%;
  margin: 0 auto;
}



@media screen and (max-width: 768px) {
  .top_site_link ul li a, .top_site_link ul li span {
      width: 100%;
  }
  .kiroro_info {
    width: 100%;
    margin: 0 auto;
  }
}