/*
Theme Name: 村田興産株式会社
Theme URI: https://jikka.jp/
Author: Yamapla Corporation. 
Author URI: https://yp1.jp/
Description: 
Version: 1.0
License: 
License URI: 
Tags: 
Text Domain: 
*/

@font-face {
	font-family: 'icomoon';
	src:  url('fonts/icomoon.eot?upsj4w');
	src:  url('fonts/icomoon.eot?upsj4w#iefix') format('embedded-opentype'),
	  url('fonts/icomoon.ttf?upsj4w') format('truetype'),
	  url('fonts/icomoon.woff?upsj4w') format('woff'),
	  url('fonts/icomoon.svg?upsj4w#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
	font-display: block;
  }
  
  [class^="icon-"], [class*=" icon-"] {
	/* use !important to prevent issues with browser extensions that change fonts */
	font-family: 'icomoon' !important;
	speak: never;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
  
	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
  }
  
  .icon-instagram:before {
	background-image: url(./img/common/instagram.svg);
    background-repeat: no-repeat;
    font-size: 16px;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
  

/* 記事内行寄せ
-------------------------------------------------------------------------------*/
.alignleft{ float: left; }
.alignright{ float: right; }
.aligncenter{
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft{
	margin: 12px 24px 12px 0;
	margin: 0.857142857rem 1.714285714rem 0.857142857rem 0;
}
img.alignright{
	margin: 12px 0 12px 24px;
	margin: 0.857142857rem 0 0.857142857rem 1.714285714rem;
}
img.aligncenter{
	margin-top: 12px;
	margin-top: 0.857142857rem;
	margin-bottom: 12px;
	margin-bottom: 0.857142857rem;
}

/* ギャラリー
-------------------------------------------------------------------------------*/
.gallery{ /** ギャラリーを囲むボックス **/
	width: 100%;
	text-align: center !important;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-top: 1em !important;
	margin-bottom: 1em !important;
    overflow: hidden;
}
.gallery br{ display: none; } /** 自動で挿入される clearfix の余白解除 **/
.gallery .gallery-item{ margin: 1% !important; }
.gallery-columns-1 .gallery-item{
	-ms-flex-preferred-size: 98%;
	flex-basis: 98%;
}
.gallery-columns-2 .gallery-item{
	-ms-flex-preferred-size: 48%;
	flex-basis: 48%;
}
.gallery-columns-3 .gallery-item{
	-ms-flex-preferred-size: 31.33%;
	flex-basis: 31.33%;
}
.gallery-columns-4 .gallery-item{
	-ms-flex-preferred-size: 23%;
	flex-basis: 23%;
}
.gallery-columns-5 .gallery-item{
	-ms-flex-preferred-size: 18%;
	flex-basis: 18%;
}
.gallery-columns-6 .gallery-item{
	-ms-flex-preferred-size: 14.66%;
	flex-basis: 14.66%;
}
.gallery-columns-7 .gallery-item{
	-ms-flex-preferred-size: 12.28%;
	flex-basis: 12.28%;
}
.gallery-columns-8 .gallery-item{
	-ms-flex-preferred-size: 10.5%;
	flex-basis: 10.5%;
}
.gallery-columns-9 .gallery-item{
	-ms-flex-preferred-size: 9.11%;
	flex-basis: 9.11%;
}
.gallery-item img{ /** 画像共通のスタイル **/
	max-width: 100%;
	height: auto;
	padding-top: 5px !important;
	padding-bottom: 5px !important;
}
.gallery-item .gallery-caption{ /** キャプション **/
	text-align: center;
	font-size: 0.9em;
	line-height: 1.4em;
	padding: 0 !important;
    margin: 0 0 10px;
}
.gallery-item .gallery-caption br{ display: inline-block; }
@media screen and (max-width: 768px){
	.gallery-columns-3 .gallery-item,
	.gallery-columns-4 .gallery-item{
		-ms-flex-preferred-size: 48%;
		flex-basis: 48%;
	}
	.gallery-columns-5 .gallery-item,
	.gallery-columns-6 .gallery-item,
	.gallery-columns-7 .gallery-item,
	.gallery-columns-8 .gallery-item,
	.gallery-columns-9 .gallery-item{
		-ms-flex-preferred-size: 31.33%;
		flex-basis: 31.33%;
	}
}

/* ドロワーメニュー */
#drawer_menu { display:none; }

/* ヘッダー
-------------------------------------------------------------------------------*/
#header {
    z-index: 300;
    position: sticky;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 80px;
    background: #F8F6F1;
    transform: translate3d(0, 0, 0);
    transition: transform 0.5s ease, opacity 0.7s ease 0.1s;
}
#header_logo {
    height: 100%;
    position: absolute;
    left: 40px;
    top: 0;
    z-index: 3;
}
#header_logo a {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.25s ease;
}
#global_menu {
    height: 80px;
    z-index: 2;
    position: absolute;
    top: 0;
    right: clamp(1.875rem, -2.317rem + 6.1vw, 5rem);
	display: block;
}
#global_menu ul ul {
    background: #fff;
    display: none;
    width: 250px;
    position: absolute;
    top: 80px;
    margin: 0;
    padding: 0;
    z-index: 100;
}
.pc .megamenu_button + ul {
    display: none !important;
}
#global_menu > ul > li > a {
    color: #000;
    text-decoration: none;
    height: 80px;
    line-height: 80px;
    padding: 0 clamp(0.438rem, -0.655rem + 1.59vw, 1.25rem);
    display: block;
    position: relative;
    overflow: hidden;
	font-weight: 700;
	font-family: "Noto Sans JP", serif;
}
#global_menu > ul > li {
    display: inline-block;
    position: relative;
    line-height: 1;
    text-align: center;
    font-size:clamp(0.875rem, 0.539rem + 0.49vw, 1.125rem);
}
.sns_button_list li a {
    display: block;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 18px;
    height: 18px;
}
#header_logo img.mobile {
    display: none;
}
@media screen and (max-width: 1100px) {
	
	#header {
		height: 60px;
		transition: transform 0.5s ease, opacity 0.7s ease 0.1s;
	}
	#header_logo {
		left: 20px;
	}
	#header_logo img.pc {
		display: none;
	}
	#header_logo img.mobile {
		display: block;
		width: 200px;
		height: auto;
	}
	#global_menu {
		display: none;
	}
    #drawer_menu_button span {
        width: 22px;
        height: 2px;
        background: #000;
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        transition: all 0.4s ease;
    }
    #drawer_menu_button span:nth-child(1) {
        top: 24px;
    }
    #drawer_menu_button span:nth-child(2) {
        top: 30px;
    }
    #drawer_menu_button span:nth-child(3) {
        top: 36px;
    }
    #drawer_menu_button {
        width: 60px;
        height: 60px;
        display: block;
        position: absolute;
        right: 0;
        top: 0;
    }
}


@media screen and (max-width: 1391px){
	#drawer_menu .header {
        position: relative;
        width: 100%;
        height: 50px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
	#mobile_menu {
        width: 100%;
        margin: 0;
    }
	#mobile_menu ul {
        margin: 0;
    }
	#mobile_menu li {
        position: relative;
    }
	#mobile_menu a {
        position: relative;
        display: block;
        margin: 0;
        padding: 0 50px 0 20px;
        height: 50px;
        line-height: 50px;
        overflow: hidden;
        text-decoration: none;
        color: #fff !important;
        font-size: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        transition: none;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        visibility: visible;
    }
	#mobile_sns {
        text-align: left;
        padding: 30px 20px;
    }
	#mobile_sns li {
        margin: 0 15px 10px 0;
    }
	#mobile_sns {
        text-align: left;
        padding: 30px 20px;
    }
	#mobile_sns li {
        margin: 0 15px 10px 0;
    }
	.sns_button_list li {
		font-size: 12px;
		display: inline-block;
		margin: 0 7px;
		position: relative;
	}
}

@media screen and (max-width: 600px) {
	#header {
		transition: transform 0.5s ease, opacity 0.7s ease 0.1s;
		transform: translate3d(0, 0, 0);
	}
	
}




/* フッター
-------------------------------------------------------------------------------*/

#footer{
	font-family: "Noto Sans JP", serif;
	border-top: none;
    display: block;
    background-color: #F8F6F1;
}
#footer_inner {
    max-width: 1700px;
    margin: 0 auto;
    border: 0;
    outline: 0;
    padding: 100px;
    box-sizing: border-box;
}
#footer_address {
    font-size: 16px;
    margin-top: 17px;
	word-wrap: break-word;
}
#footer_sns {
    margin-top: 15px;
    text-align: left;
    margin-left: -10px;
}
#footer_nav {
    border-top: 1px solid #ddd;
    position: relative;
    width: auto;
    margin: 0 auto;
    padding: 0 100px;
}
.sns_button_list li {
    font-size: 12px;
    display: inline-block;
    margin: 0 7px;
    position: relative;
}
#drawer_mneu_close_button{
    cursor: pointer;
    display: block;
    background-image: url(./img/common/close.svg);
    background-repeat: no-repeat;
    display: block;
    top: 17px !important;
    right: 12px  !important;
    position: absolute;
    width: 20px !important;
    height: 20px !important;
    z-index: 10;
}
#drawer_mneu_close_button:before{
    display: none !important;
}
.sns_button_list li a {
    display: block;
    background-image: url(./img/common/instagram_white.svg);
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 18px;
    height: 18px;
	color: #000;
}
#footer .sns_button_list li a {
    display: block;
    background-image: url(./img/common/instagram.svg);
    background-repeat: no-repeat;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 18px;
    height: 18px;
	color: #000;
}
.sns_button_list li.insta a:before {
    background-image: url(./img/common/instagram.svg);
    background-repeat: no-repeat;
    font-size: 15px;
    font-size: 16px;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.sns_button_list li a span {
    display: none;
}
#footer_nav li {
    font-size: 16px;
    flex: 0 0 auto !important;
    width: auto !important;
    margin-right: 40px;
}
#copyright {
    height: 60px;
    line-height: 60px;
    position: relative;
    font-size: 14px;
	background-color: #E0D9C7;
}
#copyright span {
box-sizing: border-box;
}
#footer_logo img.mobile {
    display: none;
}


  /* カレント表示 */
  .header-nav__item.current a {
	color: #326F38 !important;
  }
#global_menu ul li a:hover {
	color: #326F38 !important;
	transition: all 0.3s; /* アニメーションの動きの速度 */}

#copyright span {
    display: block;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 100px;
}
.swiper-wrapper {
	user-select: none;
	transition-timing-function: ease-out;
    margin: 0 auto;
	transform: translate3d(0px, 0, 0);
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
    box-sizing: content-box;
}
#footer_nav li {
    font-size: 16px;
    flex: 0 0 auto !important;
    width: auto !important;
    margin-right: 40px;
}
#footer_nav li a {
    height: 70px;
    line-height: 70px;
    display: block;
}
@media screen and (max-width: 1100px) {
	#footer_inner {
		padding: 80px 40px;
	}
	#copyright span {
		padding: 0 40px;
	}
	#footer_nav li {
		font-size: 14px;
	}
	#footer_nav li a {
		height: 50px;
		line-height: 50px;
	}
	#footer_nav {
		padding: 0 40px;
	}
}
@media screen and (max-width: 800px) {
    #footer_address {
        font-size: 14px;
    }
    #footer_nav {
        padding: 0 20px;
    }
	img.logo_image.pc {
		display: none;
	}
	#footer_logo img.mobile {
		display: block;
	}
	#footer_inner {
		padding: 40px 20px 35px;
	}
	#footer_nav li {
		margin-right: 20px;
	}
}
@media screen and (max-width: 650px) {
    #footer_nav .swiper-wrapper {
        display: block;
        text-align: center;
    }
	#footer_nav li {
		margin-right: 0px;
	}
}
@media only screen and (min-width: 1720px) {
    #footer_nav {
        padding-left: calc(50% - 750px) !important;
        padding-right: calc(50% - 750px) !important;
    }
	#copyright span {
		display: block;
		max-width: 1700px;
		margin: 0 auto;
		padding: 0 100px;
		box-sizing: border-box;
	}

}

/* ニワイエ
-------------------------------------------------------------------------------*/


@Media screen and (min-width: 768px){
        #niwaie .contents .separate2 .wrap:first-of-type {
	float: left;
	width: 48%;
	margin: 1%;
    }
    #niwaie .contents .separate2 .wrap:last-of-type {
	float: right;
	width: 48%;
	margin: 1%;
    }
    #realestate .contents .entry #flower .separate2 .wrap:first-of-type {
        float: left;
        width: 68%;
        margin: 1%;
    }
    #realestate .contents .entry #flower .separate2 .wrap:last-of-type {
        float: left;
        width: 28%;
        margin: 1%;
    }
}