/**
Theme Name: astra child
Author: Brainstorm Force
Author URI: http://**.com/about/
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/*
#primary {
margin-top:0!important;
}*/

/* 選択時の反転色を無効化 */
::selection {
    background: #d8e7f1;
    color: inherit; /* 文字色は元の色のまま */
}

/* Firefox用 */
::-moz-selection {
    background: transparent;
    color: inherit;
}


/* header */
ul#ast-hf-menu-2 {
	gap:10px;
	font-size:.9em;
}
ul#ast-hf-menu-2 li.menu-item a{
	background: var(--ast-global-color-1);
    color: #FFF;
    border-radius: 5px;
    padding: 0px 10px;
	height:40px;
	transition: color 0.3s ease;
}
ul#ast-hf-menu-2 li.menu-item a:hover{
	background-color:#f88e47;
}
	
ul#ast-hf-menu-2 li.menu-item a::before {
	font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
} 
ul#ast-hf-menu-2 li#menu-item-30 a::before {
    content: "\f879";/* ← phone */
    
}

ul#ast-hf-menu-2 li#menu-item-31 a::before {
	content: "\f0e0"; /* ← envelope */
}

/* カスタム投稿タイプループ */


.custom-case-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}


.custom-case-item {
  display: block; /* aタグ全体リンク用 */
  width: calc(33.333% - 16px);
  border: 1px solid var(--e-global-color-astglobalcolor0);
  text-decoration: none!important;
  color: inherit;
  box-sizing: border-box;
  transition: box-shadow 0.3s;
}

.custom-case-item:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	color:unset;
}

.custom-case-image {
  width: 100%;
  aspect-ratio: 16/9; /* ★縦横比を固定！ */
  overflow: hidden;
}

.custom-case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* トリミングしてフィットさせる */
  display: block;
}

.custom-case-text {
  padding: 12px;
}

.custom-case-text dl {
  margin: 0;
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
	
}

.custom-case-text dt {
  font-weight: bold;
	text-decoration:none;
	color:var(--e-global-color-astglobalcolor0);
	text-align:right;
	width:40%;
	margin-bottom:.3em;
}

.custom-case-text dd {
	width:55%;
	margin:0;
}

.no-image {
  background: #f0f0f0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 0.9em;
}

.more-btn {
  margin:1em;
  padding: 10px 20px;
  background: #f5f4f2;
  color: var(--e-global-color-astglobalcolor0);
  font-size: 0.9em;
	font-weight:700;
  border-radius: 5px;
	text-align: center;
    transition: background 0.3s;
}
.more-btn i {
	margin-left:5px;
}

.custom-case-item:hover .more-btn {
  background: #e3e2e0;
}

@media (max-width: 767px) { 
	.custom-case-list { 
		display:block;
	}
	
	.custom-case-item {
		width:100%;
		margin-bottom:1em;
	}
}


/*中古車販売*/
a.usedcarbox,
.usedcarbox {
width:100%;
 display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px; /* 画像とテキストの間隔 */
    margin-bottom: 30px;
color:#000;
padding: 1.5em;
    border-bottom: 2px solid #808285;
font-size:.9em;
text-decoration:none!important;   
}

.shosai-single div.usedcarbox {
grid-template-columns: 500px 1fr;
}
a.usedcarbox:hover {
background: #f6f6f6;}

.usedcarbox01 {
     grid-row: span 2 / span 2;
}

.usedcarbox01 img {
    max-width: 100%;
    height: auto;
    display: block;
}

.usedcar_price {
    font-size: 1em;
    margin-top: 10px;
    background: #f5f5f5;
    padding: 5px 10px;
    font-weight: bold;
    text-wrap-mode: nowrap;
}

.usedcar_price strong {
    color: var(--ast-global-color-0);
    font-size: 2em;
    margin: 0px .3em;
}

.orange_btn {
    margin-top: 10px;
}

.orange_btn {
    display: inline-block;
    background: var(--ast-global-color-1);
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 4px;
width:100%;
text-align: center;
    font-weight: 700;
}

.orange_btn::after {
    content: "\f105"; /* Font Awesomeのコード */
    font-family: "Font Awesome 5 Free"; /* バージョンにより要確認 */
    font-weight: 900; /* Solidなら900 */
    margin-left: 8px; /* 文字との間隔 */
}

.usedcarbox02 {
    flex: 1; /* 残り幅を使用 */
}

.usedcarbox02 h2 {
    margin: 0;
    color: var(--ast-global-color-0);


}
p.userdcar_grade {
margin-bottom:unset;
}

.usedcar_table01,
.usedcar_table02 {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: .8em;
}

.usedcar_table01 th,
.usedcar_table02 th {
    background-color: #3a3937;
    color: #fff;
    padding: 8px;
    border: 1px solid #000;
    text-align: left;
    width: 25%; /* th幅を揃える */
}

.usedcar_table01 td,
.usedcar_table02 td {
    background-color: #FFF;
    color: #000;
    padding: 8px;
    border: 1px solid #000;
}

.usedcarbox04 {
grid-column: span 2 / span 2;
    grid-row-start: 3;
padding: 1em;
background:#f5f5f5;
}

/* スマホ用（768px以下） */
@media (max-width: 768px) {
    a.usedcarbox,.usedcarbox {
        grid-template-columns: 1fr 1fr;
padding:.5em;
gap:10px;
    }
   
.usedcar_price {
        text-align: center;
        font-size: .8em;
        padding: 5px;
}



.usedcarbox01 {
grid-row: unset;
}
.usedcarbox03 {
grid-column: 2 span / 2 span;
}
.usedcar_table01, .usedcar_table02 {
margin-top:5px;
margin-bottom:0px;
}

}



/* カスタム投稿タイプ詳細 sinlge-....php */

.shosai-single-meta {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5em;
	font-size:.9em;
}

.shosai-single-meta th,
.shosai-single-meta td {
  border: 1px solid #ddd;
  padding: 8px 12px;
}

.shosai-single-meta th {
  background: var(--e-global-color-astglobalcolor0);
  text-align: left;
  white-space: nowrap;
	color:#fff;
width: 30%;
    text-align: right;
}

.shosai-single-meta td {
  word-break: break-word;
}
article.shosai-single
{
	display:flex;
	flex-direction:column;
	gap:20px;
}

article.shosai-single h1.shosai-single-title,
.ll-page-title{
	background-color: #F6F6F6;
    padding: 15px 5px 10px 15px;
    border-style: solid;
    border-width: 0px 0px 3px 0px;
    border-color: var(--e-global-color-astglobalcolor0);
    border-radius: 0px 0px 03px 0px;
	font-size:1.3em;
	line-height:1.3em;
	font-weight:700;
}
.ll-page-title {
margin-bottom:20px;}

.shosai-single-content {
	background:#F6F6F6;
	padding:1em;
}

/* 固定spfooter */


section#sp_fixed_footer {
    background: #00000080;
    position: fixed;
    bottom: 0;
    width: 100%;
    color: #FFF;
    font-size: .75em;
    text-align: center;
	padding:.3em;
	}
.sp_footer_btn {
    margin: .5em;
}
.sp_footer_btn div {
    display: flex;
    gap: 1em;
}
.sp_footer_btn div a {
    width: 100%;
    background: #068BF1;
    border-radius: 5px !important;
	padding:0.5em;
}
.sp_footer_btn .elementor-button-content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 5px;
    justify-content: center;
}
.sp_footer_btn .elementor-button-icon {
    align-items: center;
    display: flex;
}

.sp_footer_btn .elementor-button-icon svg {
	width:1em;
	height:1em;
	fill:#fff;
}

@media (min-width: 768px) {
	section#sp_fixed_footer {
		display:none;
	}
}
@media (max-width: 767px) {
.ast-scroll-to-top-right {
    right: 0px!important;
    bottom: 65px!important;
}
}

/*修理カテゴリループ*/

ul.shuri_cate_list {
    list-style: none;
    margin: 0;
    padding: 10px;
}
ul.shuri_cate_list  li {
display: inline-block;
margin-bottom:.3em;
}
ul.shuri_cate_list  li a{
    border: 1px solid var(--ast-global-color-0);
    display: block;
    font-weight: 700;
    padding: .5em;
    border-radius: 5px;
    font-size: .6em;
}

a.more-btn {
    display: block;
}

/*カスタム投稿タイプsingle.php*/
table.shosai-single-meta ul.shuri_cate_list  li 
{
margin-right: .5em;
}

/*修理カテゴリリンクリスト*/




 {
width:30%;
}

ul.syuri_cate_list {
  display: flex;         /* 子divを横並びに */
  flex-wrap: wrap;       /* スマホで改行 */
  align-items: stretch;  /* 高さ揃える */
gap: 1em;
    font-size: .9em;
}

ul.syuri_cate_list li {
  flex: 1 1 30%;         /* 横幅指定（例：30%） */
  display: flex;         /* このdiv内でaを伸ばす準備 */
}

ul.syuri_cate_list li a {
  flex: 1;               /* 親divいっぱいに伸ばす */
  display: flex;         /* ボタン内のテキスト中央寄せ */
  align-items: center;
  justify-content: center;
     border: 1px solid var(--ast-global-color-0);
    padding: .5em;
font-weight:700;
    border-radius: 10px;
}


/* 一時的なカスタマイズ1008 */
.pricetable strong {
	color:red;
}
.tenken_table table th {
	    background-color: #f0f0f0;
}
.w20 {
	width:20%;
}

.w80 {
	width:80%;
}


/*サイドバー*/
#secondary h2 {
    font-size: 0.9em;
    background: var(--ast-global-color-2);
    color: #FFF;
    padding: 5px 10px;
}

ul.widget_recent li
{
    font-weight: 700;
    border-bottom: 1px dotted var(--ast-global-color-2);
    padding-bottom: .5em;
}
ul.widget_recent li time
{
font-size: .9em !important;
    font-weight: 400;
    margin-top: 0;
    color: var(--ast-global-color-3);
}

ul.widget_recent li img {
border-radius: 10px 10px 0px 0px;
}


.widget_category li {
	list-style: none;
	position: relative;
	margin: 0 0 8px 0;
	padding: 0 0 0 calc(1em + 5px);
	line-height: 1.4;
}

.widget_category li:before {
position: absolute;
	top: 0;
	left: 0;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	font-family: "Font Awesome 5 Free"; 
	font-weight: 900;
	content: '\f07b';
	color: var(--ast-global-color-2);
}

.widget_category li:last-child{
	margin-bottom: 0px;
}
.widget_category li a{
}
body.archive .entry-title,
bodycategory .entry-title{
font-size:1em!important;
}
.entry-meta, .entry-meta * {
    color: var(--ast-global-color-2)!important;
    font-weight: 400!important;
}

.entry-meta .cat-links a {
	list-style: none;
	position: relative;
	margin: 0 0 8px 0;
	line-height: 1.4;
}
.entry-meta .cat-links a:before {
	top: 0;
	left: 0;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	font-family: "Font Awesome 5 Free"; 
	font-weight: 900;
	content: '\f07b';
	color: var(--ast-global-color-2);
margin-right:2px;
} 




/*固定ページ見出し設定（no elementor）*/

.page .entry-header
{
    max-width: 980px;
    width: 100%;
    background: url(https://www.llcs.jp/img/ll_subheader.jpg) no-repeat;
    height: auto;
    background-size: contain;
    aspect-ratio: 4 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page .entry-header h1.entry-title
{
color: #FFF;
    text-align: center;
}

/* ------------------------------
   Contact Form 7 - Custom Style
------------------------------ */
.form-list {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.form-list dt {
  background-color: #f3f6fa;
  padding: 6px 12px;
  border-left: 4px solid #0078d7;
  font-weight: 600;
  color: #333;
  margin-bottom: 1em;
}
.form-list dt p {
margin-bottom:0;}

.form-list dd {
  margin-bottom: 20px;
}

.form-list dd label {
font-size:1em;
}

.form-list input[type="text"],
.form-list input[type="email"],
.form-list input[type="tel"],
.form-list textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.5;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-list input:focus,
.form-list textarea:focus {
  border-color: #0078d7;
  box-shadow: 0 0 3px rgba(0, 120, 215, 0.3);
  outline: none;
}

.form-list textarea {
  height: 140px;
  resize: vertical;
}

/* 必須マーク */
.required {
  color: #e60033;
  font-size: 0.9em;
  margin-left: 4px;
}

/* チェックボックス */
.form-list .wpcf7-list-item {
  display: block;
  margin-bottom: 6px;
}

/* 同意確認文 */
.form-list [type="checkbox"] + span {
  font-size: 0.95em;
}

/* 送信ボタン */
.form-submit {
  text-align: center;
  margin-top: 30px;
}

.form-submit input[type="submit"] {
  transition: background-color 0.2s ease;
}

.form-submit input[type="submit"]:hover {
  background-color: var(--ast-global-color-7);
}

/* スマホ対応 */
@media (max-width: 600px) {
  .form-list {
    padding: 0 10px;
  }
  .form-submit input[type="submit"] {
    width: 100%;
  }
}


/*****************カスタム投稿タイプTOP*******************/



/*見出し*/

.mi_fukidashi div.elementor-widget-container {
  position: relative;
  display: inline-block;
  padding:15px 0;
  width: 100%;
  color: #555;
  font-size: 16px;
  background: var( --e-global-color-astglobalcolor0 );
}

.mi_fukidashi div.elementor-widget-container:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid var( --e-global-color-astglobalcolor0 );
z-index: 999;
}

.mi_fukidashi div.elementor-widget-container h2 {
  margin: 0;
  padding: 0;
}

/*選ばれる理由*/

.riyubox h3 strong {

background:var(--e-global-color-astglobalcolor0);
color:#FFF;
padding: 2px 10px;
margin-right: 11px;

}


/********お問い合わせCTA********/

.uketsuke_time {
display:inline-block;
background:#555;
color:#FFF;
margin-right:5px;
padding: .1em .5em;
}
.kyukei_time {
font-size:.9em;}
