@charset "utf-8";
/*
Theme Name: chofufudo
Template: lightning
*/

body{
   font-family: "Noto Sans JP",sans-serif;
	font-size: 16px;
}


/***** RESET **********/
h2{
	border-top: none;
}
#topNews li,
.shop-page h2,
.site-footer .widget_nav_menu > div > ul li a{
	border-bottom: none;
}
#main #topNews h2,
.container.site-footer-content h2,
.container.site-footer-content p{
    margin-bottom: 0;
}
#topNews li{
    list-style: none;
}
.site-footer p a{
	text-decoration: none;
}

/***** FONT **********/
h1, .page-header{
	font-size: 40px;
}
h2{
    font-size: 30px;
}
h3{
    font-size: 1.3rem;
    padding-left: 0.5em;
}
.container.site-footer-content p{
    font-size: 1rem;
}
:where(:not(.wp-block-table)) > table :is(th, td){
	font-size: 16px;
}
.date {
	font-size: 0.9rem;
}
.copyBottom {
	font-size: 0.55rem;
}
a {
	font-weight: 700;
}

.copyBottom::before{
    content:"（";
    margin-left: 5px;
}
.copyBottom::after{
    content:"）";
    margin-right: 5px;
}

.page-header,
.container.site-footer-copyright p{
	text-align: left;
}
.shop-page .imageBlock{
	text-align: center;
}

/***** COLOR **********/
h2,
#topContents li a{
	color: #3B6119;
}
#topNews li .newsCont::before{
    color: #6EB72F;
}
#topNews li a {
	color: #333;
}
.shop-page h2 {
	color: #BC810B;
}
.page-header, .site-footer , .site-footer p a,
.site-footer .widget_nav_menu > div > ul li a{
	color: #fff;
}
.site-footer{
    background: #6EB72F;
}
.page-header{
	background: linear-gradient( 90deg, #6acb25 0%, #6acb25 40%, #06b5e0 100% );
}



/***** LIST *********/
#constitution li {
	list-style: katakana-iroha;
	margin-left: 2em;
}
#main h2{
    border-bottom: 2px solid #3B6119;
}
#main #topNews li{
    margin: 0 0 25px 0;
}
#main #topNews h2{
    border-bottom: none;
}
#topContents li {
	list-style: none;
	text-align: center;
	width: 320px;
	margin: 15px auto;
}
#topContents li a{
    border: 1px solid #3B6119;
}
#topNews li .newsCont::before{
    content: "■";
    margin-right: 5px;
}


/***** TOP **********/
#topNews {
	padding: 2em;
	background: url(https://chofu-fudo.jp/wps/wp-content/uploads/2024/05/topnews_image.png) no-repeat right bottom #fffef2;
    background-size: 18%;
}
#topNews h2 span {
	margin-left: 0.8em;
}
#topContents {
	margin-top: 6em;
}
#topContents h2 {
	text-align: center;
}
#topContents li a {
	display: block;
	padding: 1em;
}

/***** VIDEO **********/
.wp-block-embed.is-type-video {
	max-width: 680px;
	margin: 0 auto;
}


/***** Contents *****/
.wp-block-media-text .wp-block-media-text__content{
	padding-left: 0;
}
.page-header{
	height: 20vh;
}

/***** SHOP *****/
.shop-page .contentBox,
.shop-page .shop-detail{
	margin-bottom: 80px;
}
.shop-page .imageBlock {
	text-align: center;
}
.shop-page .imageBlock img {
	max-width: 400px;
	width: 100%;
}



/***** FOOTER **********/
.container.site-footer-content #block-2 {
	margin-bottom: 1em;
}
#block-6.widget {
	margin-bottom: 1.5em;
}
.site-footer .row div.col-lg-4:nth-child(2) {
	max-width: 15%;
	flex: 0 0 15%;
}
.site-footer .row div.col-lg-4:last-of-type {
	max-width: 46%;
	flex: 0 0 46.66666666%;
}


/***** WEB ICON **********/

a:not([href^="https://chofu-fudo.jp"]):not([href^="tel"])::after{
    font-family: "Font Awesome 7 Free";
    content: "\f08e";
    margin-left: 5px;
    display: inline;
}


@media (min-width: 779px){

#topContents ul {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}
    
/* telリンク */
a[href^="tel:"] {
	pointer-events: none;
	text-decoration: none;
    color: #3B6119;
	}

/***** SHOP *****/
.shop-page .contentBox {
	display: flex;
	width: 100%;
	gap: 0 15px;
}
.shop-page .textBolock {
	width: 60%;
}
.shop-page .imageBlock {
	width: 40%;
}

/* Footer */
#menu-footernavi {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	column-gap: 4%;
	row-gap: 1em;
}
#menu-footernavi li {
	flex: none;
	box-sizing: border-box;
	width: 30.6%;
	min-width: 30.6%;
	max-width: 30.6%;
	font-size: 14px;
}
	
    
}


@media (max-width: 779px){
	h1{
		font-size: 2rem;
	}
	h2{
		font-size: 1.8rem;
	}
	.shop-page .contentBox,
	.shop-page .textBolock,
	.shop-page .shop-detail{
	margin-bottom: 40px;
	}
	.wp-block-media-text__media {
	text-align: center;
	padding-bottom: 2em;
	}
	.wp-block-media-text__media img {
		max-width: 50%;
	}
	.wp-block-media-text .wp-block-media-text__content{
	padding: 5px;
	}
	.site-footer .row div.col-lg-4:first-of-type{
		margin-bottom: 1.5em;
	}
	.site-footer .row div.col-lg-4:nth-child(2){
		display: none;
	}

}