@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

.date-tags,.footer-meta {
	display:none;
}

.article h1 {
	/*! text-align: center; */
	font-weight: 700;
	line-height: 1.6;
	margin: 0 0 5rem 0;
	padding: 0.3rem 0 0.3rem 2.5rem;
	position: relative;
}

.article h1:before {
    background: #ff0000;
  border-radius: 0.6rem;
  content: "";
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 0.5rem;
}

.article h2 {
	text-align: center;
	background-color:transparent;
	color: #444;
	font-size: 1.5rem;
}

.sp {
	display:none;
}

.metaslider .flexslide {
	margin-bottom:0 0 0 0;
}



/*ボタン*/

.button-area {
	margin-top:2rem;
}

.button {
    background: #d3141c;
    border-radius: 9999px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 250px;
    padding: 10px 25px;
    color: #fff;
    line-height: 1.8;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    font-weight: bold;
}
.button:hover {
    background: #333333;
    color: #FFF;
}
.button:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
.button:hover:after {
    border-color: #FFF;
}

/*ヘッダー*/

.header-in {
	width:100%;
}

.header-inner {
	display:flex;
	justify-content:space-between;
}

.logo-text {
  padding: 20px 0 30px;
  font-size: 1em;
  width: 200px;
}

.header-text {
	width:600px;
	font-size: 14px;
	font-weight:bold;
}

.header-phone {
	font-size: 2rem;
	text-decoration: none;
	font-weight: bold;
	color:#333;
}




.navi {
  background-color: #1d2b5f;
  display: flex;
  align-items: center;
}

.navi a {
	color:#fff;
}

/*フッター*/

#footer .menu-item a:hover {
 color:#333;
}

.footer {
  margin-top: 0px;
  padding: 8px;
}



.top-flow {
	background-color:#eab71e;
	padding: 36px 24px;
}


/*買取の流れTOP*/
.flow-box {
	display:flex;
	width:100%;
	margin:0 auto;
	justify-content: space-around;
}


.purchase-box {
	width:20%;
	color:#C92E1D;
	text-align: center;
	border: solid 2px;
	border-radius: 10px;
    padding: 0.5rem;
	background-color: #fff;
}

.purchase-box div {
	text-align:left;
    font-weight: bold;
}

.purchase-box i {
    font-size: 2rem;
}

.purchase-box p {
    font-weight: bold;
}

.case-text {
	text-align:center;
	color:#111;
	font-size:2rem;
	font-weight: bold;
}

span.marker {
    background: linear-gradient(transparent 10%, #21ff00 10%);
}

/*中古車一覧画面*/

.car-item {
	border-bottom: solid 2px #ddd;
	padding-bottom:1em;
	margin-bottom: 2em;
}



.car-list a {
	text-decoration:none;
	/*! color:#444; */
	display: block;
}

.car-box {
	/*! border-bottom: solid 3px #ccc; */
	/*! padding-bottom:24px; */
	/*! text-decoration: none; */
}

.car-box a {
    text-decoration: none;
    color:#333;
    display: flex;
}

.car-item-inner:hover {
    background-color: #ddd;
}

.car-item-image {
	width:40%;
	height:auto;
	margin-right: 2em;
}

.car-item-inner {
	display:flex;
    padding: 1rem;
	border-bottom: solid 3px #ccc;
	padding-bottom: 24px;
    margin-bottom: 36px;
}

.car-item-inner:hover {
    background-color: #ddd;
}

.car-list-table {
	width:350px;
	margin-right: 50px;
}

.car-list-table h2 {
    font-size: 1.4rem;
    text-align: left;
}

.right {
	text-align:right;
}

.total-font {
	font-size:2rem;
	color:red;
	font-weight:bold;
}

.car-list-table table:not(.has-border-color) :where(th, td) {
	border:none;
}

.car-list-table table tr{
	background-color:transparent;
}


.car-text {
	font-size:14px;
}

.contact-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f00;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s;
    font-weight: bold;
    display: block;
    text-align: center;
}

.carlist-btn {
	width:80%;
	margin:0 auto;
	margin-top: 1rem;
}

.carlist-btn a {
	text-align:center;
	display: block;
}


/*中古車詳細画面*/
.carimg-content {
	width:60%;
}

.car-details-content {
	width:38%;
	margin-left: 2%;
}

.car--box {
	display:flex;
	justify-content: space-around;
}

.priceWrap {
	display:flex;
}

.totalPrice-title {
	
	font-size: 14px;
	font-weight: bold;
}

.total__Price {
	width:50%;
}

.base__Price {
	width:50%;
}

.totalPrice {
	
}

.totalPrice p {
	line-height: 0.1em;
	font-size: 14px;
}

.totalPrice span {
	color: red;
	font-weight: bold;
	font-size: 3rem;
}

.basePrice_title {
	font-size: 14px;
	font-weight: bold;
}

.basePrice {

}

.basePrice span {
		font-weight: bold;
	font-size: 3rem;
}


.car-details-table {
    margin-top: 20px;
    width: 100%;
}

.car-details-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    margin: 0 auto;
    background-color: transparent;
}

.car-details-table th, .car-details-table td {
    padding: 4px 6px;
    text-align: left;
    border: 16px solid #fff;
	/*! border:none; */
    background-color: #fff;
    font-weight: bold;
}

.car-details-table th {
    background-color: #f1f1f1;
    font-weight: normal;
    text-align: center;
	/*! border:none; */
    width: 100px;
}

.car-details-table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.car-details-table tbody tr:nth-child(even) {
    background-color: #ffffff;
}



.car-slider-main img {
    width: 600px;            /* 幅をスライダーの幅に合わせる */
    height: 450px;/* 高さを固定 */
	margin: 0 auto;
    object-fit: contain;
}

.car-slider-thumbs img {
    width: 200px;            /* 幅をスライダーの幅に合わせる */
    height: 100px;          /* 高さを固定 */
    object-fit: cover;      /* アスペクト比を維持しながら画像を切り抜く */
}

.slick-prev, .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    z-index: 100;
    cursor: pointer;
    border-radius: 50%;
}

.slick-prev {
    left: 10px;
}

.slick-next {
    right: 10px;
}

.slick-prev:hover, .slick-next:hover {
    background: rgba(0, 0, 0, 0.8);
}





/*買取事例*/
.case-studies {
    padding: 50px 20px;
    background: #1d2b5f;
    text-align: center;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.case-studies h2 {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: #fff;
}

.case-studies-list {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 3rem;
}

.case-study-item {
    width: 23%;
    background: #fff;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.case-study-item:hover {
    transform: translateY(-5px);
}

.case-study-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.case-study-item h3 {
    font-size: 18px;
    margin: 10px 0;
}

.case-study-item p {
    /*! font-size: px; */
    color: #333;
    margin: 5px 0;
}

.customer-voice {
    font-style: italic;
    color: #007bff;
}

.price span {
    color: red;
    font-weight: bold;
    font-size: 18px;
}






/*フロントページの中古車一覧ページ*/
.latest-cars {
    padding: 50px 20px;
    background: #F2E4D4;
    text-align: center;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-image: url(https://a-plusautos.com/wp-content/uploads/haikei-1.png);
    background-attachment: fixed;
    background-size: cover;
}

.latest-cars .front {
	width:20%;
}

.latest-cars h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #fff;
}

.page-id-8 .car-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.car-item {
    background: #fff;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    text-align: left;
}

.car-item:hover {
    transform: translateY(-5px);
}

.car-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.car-item h3 {
    font-size: 18px;
    margin: 10px 0;
    height: 60px;
    color: #333;
}

.car-item p {
    font-size: 14px;
    color: #333;
    margin: 5px 0;
}

.car-price span {
    color: red;
    font-weight: bold;
    font-size: 18px;
}

.car-detail-btn {
    display: block;
    background-color: #007bff;
    color: white;
    font-size: 14px;
    padding: 8px 15px;
    text-align: center;
    border-radius: 5px;
    margin-top: 10px;
    text-decoration: none;
    border: none;
    float: right;
}

.car-detail-btn:hover {
    background-color: #0056b3;
}

.more-cars {
    margin-top: 20px;
}

.more-cars-btn {
    display: inline-block;
    background-color: #ff4500;
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.more-cars-btn:hover {
    background-color: #d63c00;
}

.white-text {
	color:#fff;
}


/*サービス内容*/
.service-box {
	width:80%;
	margin: 0 auto;
}

.ex-text {
	width:80%;
	margin: 0 auto;
}



/*ContactForm7カスタマイズ*/
table.CF7_table{
	/*! width:80%; */
	margin:0 auto;
	border: 3px solid #e5e5e5;
}

table.CF7_table tr{
	border-top: 1px solid #e5e5e5;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table{
	display:table;
}

/*入力欄*/
.CF7_table input, .CF7_table textarea {
	border: 1px solid #d8d8d8;
}

.CF7_table ::placeholder {
	color:#797979;
}

/*「必須」文字*/
.CF7_req{
	font-size:12px;
	padding: 4px;
	background: #f00;/*オレンジ*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
	text-align: left;
}

/*「任意」文字*/
.CF7_unreq{
	font-size:.9em;
	padding: 5px;
	background: #bdbdbd;/*グレー*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/* タイトル列 */
@media screen and (min-width: 768px){
	.CF7_table th{
	width:30%;/*横幅*/
	background-color:#ebedf5;/*ブルーグレー*/
	text-align: left;
	font-size: 1rem;
	padding: 1rem;
	}
}

/* レスポンシブ */
@media screen and (max-width: 768px){
	table.CF7_table{
	width:95%;
	}
	.CF7_table tr, .CF7_table td, .CF7_table th{
	display: block;
	width: 100%;
	line-height:2.5em;
	}
	.CF7_table th{
	background-color:#ebedf5;
	}
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#f00;/* オレンジ*/
	border:0;
	color:#fff;
	font-size:1.2em;
	font-weight:bold;
	margin:0 auto;
	border-radius: 5px;
	margin-top: 2rem;
	width: 300px;
	text-align: center;
	display: flex;
}

.CF7_btn{
	text-align:center;
	margin-top:20px;
}

.wpcf7-spinner{
	width:0;
	margin:0;
}

.form-container {
}

.wpcf7 p {
	display: inline;
 }

input[type="number"] {
	max-width:200px;
}

select {
	width:auto;
}


/*faq*/
.faq {
  background-color: #efefef;
  padding:2rem 1rem;
  border-radius:1rem;
}

.faq-question-label {
  background-color: #9b2227;
	padding:8px 18px;
	border-radius:2rem;
	color: #fff;
}

.faq-answer-content {
  margin-top: 6px;
  margin-left: 3rem;
}

.faq-answer-label {
	display:none;
}




/*買取の流れ*/
.aboutBox h2 {
  background: #ff0000;
  border-radius: 60px;
  color: #ffffff;
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 700;
  left: 50%;
  margin: 0;
  padding: 1rem 0;
  position: absolute;
  text-align: center;
  top: -30px;
  transform: translateX(-50%);
  width: 600px;
}

.aboutBox {
  margin-top: 8rem;
  position: relative;
}

.aboutBox {
  background: #fff4f4;
  border: 4px solid #ff0000;
  border-radius: 10px;
  padding: 2rem 2.5rem 2.5rem 2rem;
}

aboutBox .aboutBoxInner {
  margin: 0 !important;
}

.aboutBox h3 {
  background: url(../about/img/ico_title.png) no-repeat 0 0.4rem;
    background-size: auto;
  background-size: 30px 29px;
  border: none;
  color: #ff0000;
  font-size: 1.6rem;
  margin: 0 0 1rem 0;
  padding: 0 0 0 4rem;
}

.box02, .box03, .box04, .box05 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 0 3rem 0;
  position: relative;
  width: 100%;
}

.aboutBox .box02Inner:first-child {
  width: 430px;
}

.reverse {
  flex-flow: row-reverse;
}



/*2*/

 .aboutBox.secondBox {
  background: #edf8fe;
  border: 4px solid #28b4fe;
}

.aboutBox.secondBox h2 {
  background: #28b4fe;
}

 .aboutBox.secondBox h3 {
  background: url(../about/img/ico_title_02.png) no-repeat 0 0.4rem;
    background-size: auto;
  background-size: 30px 29px;
  color: #28b4fe;
}

 .box02 .box02Inner {
  flex-shrink: 0;
  margin: 0;
    margin-top: 0px;
  max-width: 100%;
  width: 48.5%;
}

.box02 li {
	font-size:0.8em;
}

.box02INner {
	display:flex;
}

.box02INner h4 {
  margin-bottom: 1em;
  margin-left: 12px;
  background-color: #28b4fe;
  color: #fff;
  border-top: none;
  border-bottom: none;
  border-radius: 8px;
  text-align: center;
}

/*3*/

 .aboutBox.thaadBox {
  background: #f4f9ec;
  border: 4px solid #7fc31c;
}

 .aboutBox.thaadBox h2 {
  background: #7fc31c;
}

.aboutBox.thaadBox h3 {
  background: url(../about/img/ico_title_03.png) no-repeat 0 0.4rem;
    background-size: auto;
  background-size: 30px 29px;
  color: #7fc31c;
}

 .aboutBox.fourthBox h2 {
  background: #ff8c00;
}

.aboutBox.fourthBox {
background: #ffddb4;
  border: 4px solid #ff8c00;
}

@media screen and (max-width: 768px) {
  /* タイトルのはみ出し防止 */
  .aboutBox h2 {
    width: 90%;
    font-size: 1.2rem;
    padding: 0.8rem 0;
    top: -20px;
  }

  /* フレックスレイアウト解除 */
  .box02, .box03, .box04, .box05 {
    display: block;
  }

  /* イラスト画像とテキストを縦並びに */
  .aboutBox .box02Inner:first-child,
  .box02 .box02Inner {
    width: 100% !important;
    margin-bottom: 1.5rem;
  }

  /* 普通車・軽自動車の並列を縦に */
  .box02INner {
    display: block;
  }

  .box02INner h4 {
    font-size: 1rem;
    margin-left: 0;
  }

  .box02 li {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }

  /* 背景画像付き見出しの調整 */
  .aboutBox h3 {
    font-size: 1.2rem;
    padding-left: 3rem;
    background-size: 24px 24px;
  }

  /* キャラ画像調整（中央寄せ） */
  .chara {
    text-align: center;
    margin: 1rem 0;
  }

  .chara img {
    max-width: 200px;
    margin: 0 auto;
  }
}



/*CTA*/
.cta-box {
	background-image: url(https://a-plusautos.com/wp-content/uploads/haikei-3.png);	
		background-size: cover;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-top: 50px;
	padding-bottom: 50px;    
}

.cta {
	display:flex;
	justify-content: center;
	flex-wrap:wrap;
    max-width: 1240px;
    margin: 0 auto;
}

.content-top, .content-bottom {
  margin: 0 0;
}


.cta-telbtn {
	color: #d3141c;
  border: solid 4px #d3141c;
  background-color: #fff;
flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30.667rem;
  height: 10.334rem;
  border-radius: 0.667rem;
display:flex;
	text-decoration:none;
	font-weight:bold;
	margin-right: 2rem;
	margin-bottom: 2rem;
}

.cta-text {
    font-size: 2em;
}

.cta-telbtn:hover {
    background-color:#d3141c;
    color: #fff;
}

.cta-contactbtn {
	color: #1d2b7d;
  border: solid 4px #1d2b7d;
  background-color: #fff;
flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30.667rem;
  height: 10.334rem;
  border-radius: 0.667rem;
	  display: flex;
	text-decoration:none;
	font-weight:bold;
	font-size: 2em;
}

.cta-contactbtn:hover {
    background-color: #1d2b7d;
    color: #fff;
}

.cta-formbtn {
	color:#eab71e;
	 border: solid 4px #eab71e;
	margin-right: 2rem;
}

.cta-formbtn:hover {
    background-color:#eab71e;
    color: #fff;
}


.cta-linebtn {
	color:#00B900;
	 border: solid 4px #00B900;
}

.cta-linebtn:hover {
    background-color:#00B900;
    color: #fff;
}

.entry-content > *, .mce-content-body > *, .article p, .demo .entry-content p, .article dl, .article ul, .article ol, .article blockquote, .article pre, .article table, .article .toc, .body .article, .body .column-wrap, .body .new-entry-cards, .body .popular-entry-cards, .body .navi-entry-cards, .body .box-menus, .body .ranking-item, .body .rss-entry-cards, .body .widget, .body .author-box{
  margin-bottom: 0px;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	.case-studies-list {
		width:100%;
	}
	
	.latest-cars .front {
  width: 30%;
}
	
	.cta-contactbtn {
		width:45%;
		font-size: 1.4em;
	}
	
	.cta-telbtn {
		width:45%;
	}
	
	.case-text {
		text-align:left;
		font-size:1.6rem;
	}
	
	.header-inner {
		display:none;
	}
	
	/* iOSのみに適用するCSSハック */
@supports (-webkit-touch-callout: none) {
    .latest-cars {
        background-attachment: scroll !important;
    }
}
	
	.car-item-inner {
		display:block;
	}
	
	
.mobile-menu-buttons .menu-button {
  color: #1d2b5f;
}
	
.mobile-menu-buttons .menu-content {
  cursor: default;
  background-color: #1d2b5f;
  color: #fff;
}
	
	.menu-drawer a {
		color:#fff;
		margin-bottom: 1rem;
	}	
	
	
}

/*480px以下*/
@media screen and (max-width: 480px){
	.sp {
		display:block;
	}
	
	.pc {
		display:none;
	}
	
	.header-text {
		display:none;
	}
	
		.cta-contactbtn {
		width:100%;
		font-size: 1.4em;
			margin-bottom:2rem;
	}
	
	.cta-telbtn {
		width:100%;
		margin-right:0px;
	}
	
	.cta-formbtn {
		margin-right:0px;
	}
	
	.flow-box,.case-studies-list {
		flex-wrap:wrap;
	}
	
	.purchase-box,.case-study-item {
		width:45%;
		margin-bottom: 16px;
	}
	
	.latest-cars .front {
		width:80%;
	}
	
	.car-box a {
		display:block;
	}
	
	.car-item-image {
		width:100%;
	}
	
	.car-list-table {
		width:100%;
	}
	
	.car--box {
		display:block;
	}
	
	.carimg-content {
		width:100%;
	}
	
	.car-details-content {
		width:100%;
	}
	
	.car-slider-main img {
		width:100%;
	}
	

	
}
