/*--------------------------------------------------------- 
Theme Name: TOKYO
Theme URI: 
Description: 中古車販売店「愛's country」専用の在庫管理・LP一体型テーマ
Author: 
Author URI: 
Tags: 
Text Domain: tokyo
Version: 1.1.0
---------------------------------------------------------*/




/*---------------------------------------------------------

 $$$$$$\   $$$$$$\  $$\      $$\ $$ \      $$\  $$$$$$\  $$\   $$\ 
$$  __$$\ $$  __$$\ $$ \    $$$ |$$ \    $$$ |$$  __$$\ $$ \  $$ | 
$$ /  \__|$$ /  $$ |$$ \ \  $$$$ |$$ \ \  $$$$ |$$ /  $$ |$$ \\ $$ | 
$$ |      $$ |  $$ |$$\\ \$$ $$ |$$\\ \$$ $$ |$$ |  $$ |$$ \\$$ | 
$$ |      $$ |  $$ |$$ \ \$$  $$ |$$ \ \$$  $$ |$$ |  $$ |$$ \\\$$ | 
$$ |  $$\ $$ |  $$ |$$ |\$  /$$ |$$ |\$  /$$ |$$ |  $$ |$$ |\$$$ | 
\$$$$$$  | $$$$$$  |$$ | \_/ $$ |$$ | \_/ $$ | $$$$$$  |$$ | \$$ | 
 \______/  \______/ \__|     \__|\__|     \__| \______/ \__|  \__|
 
サイト内で共通する一般的な要素についてのスタイルを記述しました

---------------------------------------------------------*/



*
{
	font-family: "Noto Sans JP","Noto Serif JP","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","Osaka","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic","Segoe UI","proxima-nova","proxima-nova-1","proxima-nova-2","Proxima Nova",Oswald,Helvetica,Arial,sans-serif;
	margin: 0px;
	padding: 0px;
	box-sizing:border-box;
}

img {
	border: none;
	vertical-align: bottom;
}
a {
	color: #000000;
}


a.wrapper {
	display:block;
	position:absolute;
	bottom:0;
	top:0;
	left:0;
	right:0;
}

.clearfix:after{
	content: "";
	clear: both;
	display: block;
}

/* Common */
#container {
	word-wrap: break-word;
	height:auto;
	background-color:#DDDDDD;
	background-image:url('../images/asphalt.jpg');
	background-size:300px;
	min-width:1160px;
}

.wrap {
}

.header .header-link-and-search .header-link-and-search-in, .header .header-in,  .footer .footer-in {
	margin:0 auto;
	overflow:auto;
}

.card {
	border-radius:2px;
	box-shadow:0px 1px 2px 0px rgba(60,64,67,.3), 0px 1px 3px 1px rgba(60,64,67,.15);
}

.clear {
	clear: both;
}

/*基本機能的な*/
img.alignright {display: block;	margin: 0 0 0 auto;}
img.alignleft {	display: block;	margin: 0 auto 0 0;}
img.aligncenter {display: block;	margin: 0 auto;}
img.float-left {float: left;}
img.float-right {float: right;}
.wp-caption {text-align: center;}
.aligncenter {clear: both;display: block;margin-left: auto;margin-right: auto;}
.clearfix:after {visibility: hidden;display: block;font-size: 0;content: " ";clear: both;height: 0;}
* html .clearfix {zoom: 1;}

/* Logo Image Common */
.logo-image,
.custom-logo {
    width: 300px;
    height: auto;
    display: block;
    margin: 0;
    border: none;
    transition: opacity 0.3s ease;
}

.logo-image:hover,
.custom-logo-link:hover {
    opacity: 0.8;
}
*:first-child + html .clearfix {zoom: 1;}
/*基本機能的なのここまで*/



	#container {
	}
	
	.min1200 {
		min-height:1200px;
	}

	.newsandtop .newsandtop-in, .home-advertisement .home-advertisement-in, .wrap .wrap-in, .post-detail-box .post-detail-box-in, .recommend-post-box .recommend-post-box-in, .header .header-link-and-search .header-link-and-search-in, .footer .footer-in {
		width:1120px;
		padding:0 20px;
        margin:0 auto;
	}
	
	.wrap .wrap-in {
		min-height:1000px;
        margin-top:20px;
	}


/* SP */
@media screen and (max-width: 639px) {
	#container {
		width:auto;
		padding:0 0 0 0;
		min-width:0px;
	}

	.none-in-sp {   
		display:none;
	}

	.newsandtop .newsandtop-in, .home-advertisement .home-advertisement-in, .wrap .wrap-in, .post-detail-box .post-detail-box-in, .recommend-post-box .recommend-post-box-in, .header .header-link-and-search .header-link-and-search-in, .footer .footer-in, .headline .headline-in {
		width:100%;
		/*max-width:500px;*/
		padding:0 15px;
	}
}



/*---------------------------------------------------------
 オーバーヘッドメニュー
---------------------------------------------------------*/
.overhead-menu {
    background: linear-gradient(to right, #e70314, #8b1102);
    color: #fff;
    font-size: 13px;
}

.overhead-menu-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.overhead-left-menu,
.overhead-right-menu {
    flex: 1;
}

.overhead-right-menu {
    text-align: right;
}

.overhead-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.overhead-menu li {
    display: inline-block;
    margin: 0 10px;
}

.overhead-menu a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.overhead-menu a:hover {
    opacity: 0.8;
}

@media screen and (max-width: 639px) {
    .overhead-menu-inner {
        padding: 8px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .overhead-right-menu {
        text-align: left;
    }
    .overhead-menu li {
        margin: 0 10px 0 0;
    }
}


/*---------------------------------------------------------

$$\   $$\ $$$$$$$$\  $$$$$$\  $$$$$$$\  $$$$$$$$\ $$$$$$$\  
$$ |  $$ |$$  _____|$$  __$$\ $$  __$$\ $$  _____|$$  __$$\ 
$$ |  $$ |$$ |      $$ /  $$ |$$ |  $$ |$$ |      $$ |  $$ | 
$$$$$$$$ |$$$$$\    $$$$$$$$ |$$ |  $$ |$$$$$\    $$$$$$$  |
$$  __$$ |$$  __|   $$  __$$\ |$$ |  $$ |$$  __|   $$  __$$<  
$$ |  $$ |$$ |      $$ |  $$ |$$ |  $$ |$$ |      $$ |  $$ | 
$$ |  $$ |$$$$$$$$\ $$ |  $$ |$$$$$$$  |$$$$$$$$\ $$ |  $$ | 
\__|  \__|\________|\__|  \__|\_______/ \________|\__|  \__|

ヘッダー用のスタイルシートです。

---------------------------------------------------------*/


.header {
    background-color: #000000;
    border-radius: 0px!important;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
	margin: 0 0 0px 0;
}

.header-in .detail {
	display: block;
	float: left;
	border: none;
	margin: 15px 0;
}

#container .header .header-in .detail .title a,
#container .header .header-in .detail .description a {
    color: #ffffff;
    text-decoration: none;
    font-weight:normal;
}

#container .header .header-in .detail:hover a {
	text-shadow: none;
}

.header-in .detail:hover {
	background-color: transparent;
	box-shadow: none;
}

.header-in .detail .title {
	display: block;
}

#container .header .header-in .detail .title a {
	display: block;
	padding: 0;
	font-weight: normal;
	font-family: "Oswald";
	font-size: 72px;
	line-height: 1;
	letter-spacing: -2px;
}

.header-in .detail .description {
	display: block;
	text-align: left;
}

.header-in .detail .description a {
	padding: 0 15px 6px 21px;
	font-size: 10px;
	line-height: 1;
	display: block;
}

/* --- Header Layout --- */
.header-in {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-nav {
    display: flex;
    gap: 15px;
}

/* --- Buttons --- */
.header-nav a, .mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* LINE Button */
.btn-line {
    background-color: #06c755;
    color: #ffffff !important;
}
.btn-line i {
    margin-right: 8px;
    font-size: 18px;
}

/* Stock List Button (Red Gradient) */
.btn-stock {
    background: linear-gradient(to right, #e70314, #8b1102);
    color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(231, 3, 20, 0.3);
}

/* Backorder Button (White/Dark) */
.btn-bo {
    background-color: #ffffff;
    color: #000000 !important;
    border: 1px solid #dddddd;
}

/* Close Button */
.btn-close {
    background-color: #333333;
    color: #ffffff !important;
    border: 1px solid #ffffff;
    margin-top: 20px;
}

.header-nav a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* --- Hamburger Menu --- */
.hamburger {
    display: none;
    width: 24px;  /* 小さく調整 */
    height: 16px; /* 小さく調整 */
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
    margin-left: 15px;
    padding: 0;
}

.hamburger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.4s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 7px; }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.is-active span {
    background-color: #ffffff !important; /* ✕ボタンの色を白に固定 */
}

.hamburger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile Menu Overlay --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1500;
    transition: all 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu.is-active {
    right: 0;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 80%;
}

.mobile-nav a {
    font-size: 18px;
    padding: 15px;
}


@media screen and (max-width: 639px) {
    .header {
        margin: 0 0 0px 0;
    }

    .header-in {
        padding: 15px; /* 右側に余白を追加 */
    }

    .header-in .detail {
        display: block;
        border: none;
        margin: 0;
    }

    .header-in .detail:hover {
        background-color: transparent;
        box-shadow: none;
    }

    .logo-image,
    .custom-logo {
        width: 150px;
        margin: 0 auto;
    }

    .header-in .detail .title {
        display: block;
    }

    #container .header .header-in .detail .title a {
		font-size: 30px;
        display: block;
        padding: 0;
        font-family: "Oswald";
        line-height: 1;
        letter-spacing: -2px;
    }

    .header-in .detail .description {
        display: none;
    }
	.header-nav {
        display: none;
    }
    .hamburger {
        display: block;
    }
}

/* Common */
input::-webkit-input-placeholder {
    color: #fff;
}

input:-moz-placeholder {
    color: #fff;
}




/*---------------------------------------------------------

$$$$$$$$\  $$$$$$\   $$$$$$\ $$$$$$$$\ $$$$$$$$\ $$$$$$$\  
$$  _____|$$  __$$\ $$  __$$\\__$$  __|$$  _____|$$  __$$\ 
$$ |      $$ /  $$ |$$ /  $$ |  $$ |   $$ |      $$ |  $$ | 
$$$$$\    $$ |  $$ |$$ |  $$ |  $$ |   $$$$$\    $$$$$$$  |
$$  __|   $$ |  $$ |$$ |  $$ |  $$ |   $$  __|   $$  __$$<  
$$ |      $$ |  $$ |$$ |  $$ |  $$ |   $$ |      $$ |  $$ | 
$$ |       $$$$$$  | $$$$$$  |  $$ |   $$$$$$$$\ $$ |  $$ | 
\__|       \______/  \______/   \__|   \________|\__|  \__|

旧フッター用のスタイルシートです。（現在は .site-footer を使用）

---------------------------------------------------------*/



.footer {
	background-color:#000000;
	border-radius:0px!important;
}

.footer-in .detail {
	display:block;
	float:left;
	border:solid 1px #ffffff;
	margin:30px 0;
}

.footer-in .detail:hover {
	background-color:#000000;
	box-shadow:
	-2px -1px 0 0 #00A1D2,
	2px 1px 0 0 #FC2792;
}

.footer-in .detail .title {
	display:block;
}

.footer-in .detail .title a {
	display:block;
	padding:0px 15px 0 15px;
	font-weight:normal;
	font-family:"Oswald";
	font-size:72px;
	line-height:1;
	color:#ffffff;
	text-decoration:none;
	letter-spacing:-2px;
}

.footer-in .detail .title a span {
	margin:0 0 0 -4px;
	font-family:"Oswald";
}

.footer-in .detail .description {
	display:block;
	text-align:left;
}

.footer-in .detail .description a {
	padding:0 15px 6px 21px;
	color:#ffffff;
	font-size:10px;
	line-height:1;
	text-decoration:none;
	display:block;
}

.footer-in .detail:hover a {
text-shadow:
	-2px -1px 0 #00A1D2,
	2px 1px 0 #FC2792;
}

.footer-in .information {
	float:right;
	padding:60px 0 60px 0;
	height:150px;
	width:760px;
}

.footer-in .information div {
	float:right;
}

.footer-in .information ul {
	display:block;
}

.footer-in .information ul li {
	display:inline-block;
	margin:0 0 0 10px;
	list-style-type: none;
}

.footer-in .information ul li a {
	font-size:12px;
	color:#ffffff;
	text-decoration:none;
	padding:9px 0 10px 0;
}

.footer-in .information ul li a:hover {
	text-shadow:
		0.5px 0px 0 #00A1D2,
		-0.5px 0px 0 #FC2792;
}

.footer .footer-in .footer-copyright {
	display:block;
	margin:0 0 100px 0;
	font-size:16px;
	line-height:1;
	clear:both;
	text-align:center;
	color:#ffffff;
}


/* SP */
@media screen and (max-width: 639px) {
	.footer {
		background-color:#000000;
	}

	.footer-in .detail {
		display:block;
		border:solid 1px #ffffff;
		margin:10px 10px 10px 0;;
		float:left;
	}
	
	.footer-in .detail:hover {
		background-color:#000000;
		box-shadow:
		-2px -1px 0 0 #00A1D2,
		2px 1px 0 0 #FC2792;
	}
	
	.footer-in .detail .title {
		display:block;
	}
	
	.footer-in .detail .title a {
		display:block;
		padding:2px 10px 9px 9px;
		font-weight:normal;
		font-family:"Oswald";
		font-size:40px;
		line-height:1;
		color:#ffffff;
		text-decoration:none;
		letter-spacing:-2px;
	}
	
	.footer-in .detail .title a span {
		margin:0 0 0 -3px;
		font-family:"Oswald";
	}
	
	.footer-in .detail .description {
		display:none;
	}
	
	.footer-in .detail .description a {
		padding:0 15px 5px 21px;
		color:#ffffff;
		font-size:10px;
		line-height:1;
		text-decoration:none;
		display:block;
	}
	
	.footer-in .detail:hover a {
	text-shadow:
		-2px -1px 0 #00A1D2,
		2px 1px 0 #FC2792;
	}
	
	.footer-in .information {
		margin:25px 0 0 0;
	}
	
	.footer-in .information ul {
		display:block;
	}
	
	.footer-in .information ul li {
		display:block;
		float:right;
		margin:0 10px 10px 0;
	}
	
	.footer-in .information ul li a {
		display:block;
		font-size:10px;
		line-height:1;
		color:#ffffff;
		text-decoration:none;
	}
	
	.footer-in .information ul li a:hover {
		text-shadow:
			0.5px 0px 0 #00A1D2,
			-0.5px 0px 0 #FC2792;
	}

	.footer .footer-in .footer-copyright {
		clear:both;
		margin:40px  0 100px 0;
		font-size:12px;
		line-height:1;
		text-align:center;
		color:#ffffff;
	}
}




/* Load More Button */
.load-more-container {
    text-align: center;
    margin: 40px 0;
}

#load-more-btn {
    background-color: #333;
    color: #fff !important;
    padding: 12px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

#load-more-btn:hover {
    background-color: #555;
}

#load-more-btn.loading,
#load-more-btn:disabled {
    cursor: not-allowed;
    background-color: #777;
}

/*---------------------------------------------------------

 新フッター用のスタイル

---------------------------------------------------------*/
.site-footer {
    background-color: #000;
    color: #fff;
    padding: 60px 0;
    font-size: 14px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-left {
    flex: 0 0 320px; /* 左カラムの幅を固定 */
}

/* サイトタイトル (ヘッダーと共通) */
.site-footer .footer-left .detail {
    display: inline-block;
    border: none;
    margin-bottom: 20px;
    transition: all 0.2s ease-in-out;
}
.site-footer .footer-left .detail .title a {
    display: block;
	padding: 0;
	font-family: "Oswald", sans-serif;
	font-size: 72px;
	line-height: 1;
	font-weight: normal;
	color: #fff;
    text-decoration: none;
	letter-spacing: -2px;
}
.site-footer .footer-left .detail .description {
	display: block;
	text-align: left;
}
.site-footer .footer-left .detail .description a {
	padding: 0 15px 6px 21px;
	color: #ffffff;
	font-size: 10px;
	line-height: 1;
	text-decoration: none;
	display: block;
}
.site-footer .footer-left .detail:hover {
    background-color: transparent;
	box-shadow: none;
}
.site-footer .footer-left .detail:hover a {
    text-shadow: none;
}

.footer-address p {
    margin: 0;
    line-height: 1.8;
}

.footer-address p a {
	color:white;
	text-decoration:underline;
}

.footer-right {
    flex: 1;
}

.footer-nav > ul {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 3; /* メニューを3列にする */
    column-gap: 30px;
}

.footer-nav ul ul {
    padding-left: 15px; /* サブメニューのインデント */
    margin-top: 5px;
}

.footer-nav li {
    margin-bottom: 10px;
    break-inside: avoid-column; /* 列の途中で改行されないようにする */
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 0.7;
}

.footer-middle {
    text-align: center;
    margin-bottom: 30px;
}

.footer-sns {
    margin-bottom: 20px;
}

.footer-sns a {
    color: #fff;
    font-size: 32px;
    margin: 0 15px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-sns a:hover {
    opacity: 0.7;
}

.footer-info p {
    margin: 0;
    font-size: 13px;
}

.footer-divider {
    border: none;
    border-top: 1px solid #444;
    margin: 30px 0;
}

.footer-bottom {
    text-align: center;
}

.footer-copyright {
    font-size: 12px;
    color: #aaa;
}

@media screen and (max-width: 639px) {
    .site-footer {
        padding: 40px 0;
    }
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .footer-left {
        flex-basis: auto;
    }
    .footer-right {
        text-align: left;
    }
    .footer-nav > ul {
        column-count: 1; /* スマホでは1列にする */
    }
}