/*
Theme Name: majestic_plus_child
Template: majestic_plus
*/

/* ----- ボタンの背景色 ------*/
.wp-block-button__link,
.wp-block-button {
	background-color: #cf2e2e;
	border-radius: 5px;
/*グラデ用 	background: linear-gradient(0deg, #f35c51 0%, #fe2d2d 50%, #6b0800 100%);  */
}
/* ----- ボタンのテキストの色 ------*/
.wp-block-button__link:not(.has-text-color),
.wp-block-button__link:not(.has-text-color):active,
.wp-block-button__link:not(.has-text-color):focus,
.wp-block-button__link:not(.has-text-color):hover,
.wp-block-button__link:not(.has-text-color):visited {
	color: #fff;
}

/* ----- ヘッダーパーツのロゴ ------*/
#smart-logo {
/*     top: 34px; */
/*     left: 30px; */
}
#smart-logo img {
/* 	max-height: 46px; */
}

@media only screen and (max-width: 769px) {
	#smart-logo img {
/* 		max-height: 28px; */
	}
	#smart-logo {
/* 		top: 14px; */
/* 		left: 14px; */
	}
}

/* ----- ヘッダーパーツの電話番号 ------*/
#header-parts .header-tell {
/*     font-size: 1.7em; */
}


h1.post-title:before,
h1.entry-title:before{
 	background: -webkit-gradient(linear, left top, right bottom, from(#fb4e4e), to(#ab2a2a));
	background: -webkit-linear-gradient(left top, #fb4e4e 0%, #ab2a2a 100%);
	background: -o-linear-gradient(left top, #fb4e4e 0%, #ab2a2a 100%);
	background: linear-gradient(to right bottom, #fb4e4e 0%, #ab2a2a 100%); 
}

/* ----- トップパーツ背景カラー ------- */
.internet-insurance,
.ins_company,
body.home .company {
	background: #ffefef;
}

/* ----- ページ送りカラー ------- */
.pnavi .page-numbers.current {
/* 	background-color: #ffefef; */
}


/* ----- 画面サイズ調整用 ------- */
@media screen and (min-width:770px) and ( max-width:1240px) {
	#menu-menu li a {
/* 		font-size: 1.1em; */
	}
	body,
	.bg_image,
	#nav-topbar .container {
/* 		    min-width: 1200px; */
	}
	.page-image .image-container {
/* 		height: 350px; */
	}
}

/* ----- 画面サイズ調整用2 ------- */
@media screen and (min-width:770px){
	body,
	.bg_image,
	#nav-topbar .container, .navigation{
		min-width: auto; 
	}
	.header-data .wp-block-group__inner-container {
		display: flex;
		line-height: 1.2;
		align-items: center;
	}
}
@media only screen and (max-width: 1300px) {
	.header-data .wp-block-group__inner-container {
		display: flex;
		flex-direction: column;
    	line-height: 1;
		margin-right: 20px;
	}
	#header-parts .header-tell {
		font-size: 25px;
	}
	#header-parts .business-hours {
		font-size: 12px;
		text-align: left;
		margin-left: 35px;
	}
}
@media only screen and (min-width:770px) and  (max-width: 1015px) {
	#smart-logo {
		width: 25%;
	}
	#smart-logo img {
		max-height: fit-content;
	}
}


/* ----- スライダースマホ対応用 ------- */
@media only screen and (max-width: 769px) {
	.main-slider,
	.bg_image {
/* 		height: 190px; */
	}
	.bg_image {
/* 		margin-top: 0px; */
	}
	body.home .site-content-contain {
/* 		margin-top: 260px; */
	}
}
/* ----- 進行状況確認用 ------- */
.progress-box {
	position: fixed;
    left: 10px;
    bottom: 10px;
    z-index: 100;
    text-align: center;
}
.progress-box a {
	display: block;
    background: #333;
    color: #FFF;
    font-size: 14px;
    width: 100px;
    padding: 10px;
    border-radius: 5px;
	 line-height: 1;
}
.progress-box a span{
	font-size: 10px;
    display: block;
    margin-top: 5px;
}
@media only screen and (max-width: 769px) {
	.progress-box {
		display: none;
	}
}


.hide{
	display:none;
}
/*吸わんトク*/
.swan-box{
	   border-radius: 10px;
	width:60%;
	background-color:#ffffff;
    -webkit-box-shadow: 0 7px 16px -11px rgb(0 25 50 / 70%);
    box-shadow: 0 7px 16px -11px rgb(0 25 50 / 70%);
    overflow: hidden;
	margin:30px auto 20px;
	border:solid 1px #666666;
}
@media only screen and (min-width: 770px){
.swan-shohin{
	padding-top:30px;
	align-items:center;
	max-width:860px;
	min-width:820px;
	margin:0 auto;
}
}

.swan-box img{
	display:block;
	margin:0;
	padding:0;
}

.swan-box h3{
	margin:10px auto;
	font-size:22px;
}
.swan-box p{
	line-height:1.4em;
}
@media only screen and (max-width: 769px){
	.swan-box h3{
		font-size:14px;
	}
	.swan-box{
		width:90%;
	}
	.internet-insurance .swan-box figure img{
		width:100% !important;
	}
}

.internet-insurance .swan-box .wp-block-group__inner-container{
	width: 100%;
    margin: 0 auto;
    margin-top: 0;
    display: block;
    flex-wrap: wrap;
}
.internet-insurance .swan-box .wp-block-image{
	width: 100%;
    margin: 20px auto;
    text-align: center;
	border:none;
	border-radius:0;
    -webkit-box-shadow: 0 rgb(0 0 0 / 70%);
    box-shadow:none;
    overflow: hidden;
}
.internet-insurance .swan-box figure img{
	margin:0 auto;
	width:100%;
}
.internet-insurance  #swan-img{
	width:100%;
}
.swan-b img{
	width:40% !important;
}

body.solicitation-policy h2{
	padding:20px;
}

/* ----- ▼ majestic_plusテーブルバグ修正 ▼ ------- */
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: #f0f0f0 !important;
}
/* ----- ▲ majestic_plusテーブルバグ修正 ▲ ------- */

/* ----- ▼ Google Maps ▼ ------- */
.top-map iframe {
    width: 100%;
    height: 600px;
}
.company-map iframe {
    width: 100%;
    height: 600px;
}
/* ----- ▲ Google Maps ▲ ------- */


body.personal-information .indbox p,
body.ind .indbox p
body.indbox p{
	text-indent:-1em;
	padding-left:1em;
}

/* 記事カテゴリー一覧 */
.cat_list{
	width:500px;
	max-width:90%;
	margin:0 auto;
}
.cat_list ul{
	display:flex;
	justify-content:space-between;
}


.post-thumb-category a{
	padding:5px;
}

.post_description .post-meta{
	padding: 5px;
}

.post_description h2.post-title {
    padding-top: 20px;
}

.post-standard .post-inner {
    padding-left: 0px;
	float:none;
}

article.post-standard .post_description {
    padding: 0 0 125px;
}

.content .post-byline{
	font-size:11px;
}

.post-standard .post-thumbnail{
	margin-left:0px;
}

body.blog .content .page,body.blog .content .post{
    margin: 20px auto 10px;
    width: 70%;
}

@media only screen and (max-width: 769px){
.post_description h2.post-title{
    padding-bottom: 0px;
    padding-top: 20px;
	min-width: 220px;
	}	
	
	.post_description .post-meta{
	left:10px;
	}

	.post-title{
	padding: 0 10px;
	}
	
	article.post-standard .post_description {
    padding: 0 0 0px;
	width:100%;
	max-width:500px;
	}
	
	.cat_list ul{
	display:block;
	text-align:center;
	}
	
	.post-thumbnail img {
    margin-left: 5px;
	}
	
	body.blog .content .page, body.blog .content .post{
    width: 100%;
}
	
}


/* 各カテゴリー */
body.archive .container-inner .post {
    overflow: hidden;
    border-radius: 0;
	box-shadow:none;
    margin: 20px auto 10px;
    width: 70%;
}

body.archive .container-inner {
    background: #fff;
}

/* カテゴリー一覧メニューアコーディオン */
.acd-check{
    display: none;
}
.acd-label{
    background: #333;
    color: #fff;
    display: block;
    margin-bottom: 1px;
    padding: 10px;
	text-align: center;
}
.acd-content{
/*     border: 1px solid #333; */
    height: 0;
    opacity: 0;
    padding: 0 10px;
    transition: .5s;
    visibility: hidden;
}
.acd-check:checked + .acd-label + .acd-content{
	height: fit-content;
    opacity: 1;
    padding: 10px;
    visibility: visible;
}