/*
Theme Name:若草ビレッジ オフィシャルテーマ
Theme URL:
Description:
Author:
Version:
*/

html, body {
	overflow-x: hidden;
	font-size: 1rem;
	line-height: 1.75;
	color: #707070;
	-webkit-print-color-adjust: exact;
}

a {
	color: #434343;
}

/*navbar*/
.navbar ul {
	display: flex;
	margin: 0.4rem 0 0 0;
	padding: 0;
	list-style: none;
}
.navbar ul a {
	display: block;
	border-bottom: 1px solid transparent;
	padding: .5rem;
	color: #434343;
	text-decoration: none;
	transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
	font-size: 0.9rem;
}
.navbar ul a:hover {
	border-bottom: 1px solid #434343;
}

/* サブメニューをabsoluteにするため、親メニューをrelativeに */
.menu-item-has-children {
  position: relative;
}
/* 親メニューにマウスオーバーしたときにカーソルを変更 */
.menu-item-has-children:hover {
  cursor: pointer;
}
/* 子を持つ親メニューにマウスオーバーしたときサブメニューを表示 */
.menu-item-has-children:hover .sub-menu {
  display: block;
}
/* サブメニューをabsoluteにして親メニューの下に配置。スタイルは適宜調整してください */
.navbar .sub-menu {
  display: none;
  position: absolute;
  top: 80%;
  left: 0;
  width: 200px;
  background: white;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
  padding: 0;
	z-index: 1;
}
/* サブニューのリンクタグをmenu-itemの大きさと合わせ、クリックしやすいようにした */
.sub-menu > .menu-item a {
  display: block;
  width: 100%;
  height: 100%;
  padding: .5em;
}
/* サブメニューにマウスオーバーしたときリンクの背景色とテキストカラーを変更 */
.sub-menu > .menu-item a:hover {
	display: block;
  background: black;
  width: 100%;
  color: white;
}

.navbar ul .btn-outline-secondary {
	margin-left: 1rem;
	margin-top: -0.2rem;
}
.btn-outline-secondary {
	border-color: #707070 !important;
	color: #707070 !important;
	border-radius: 0;
}
.btn-outline-secondary:hover {
	background-color: #707070;
	transition: all .5s;
	color: #FFF !important;
}
.btn-outline-secondary a {
	border-bottom: none !important;
}
.btn-outline-secondary a:hover {
	border-bottom: none !important;
	color: #FFF !important;
}

/*slick*/
.slider {
  margin: 0 auto;
  padding: 0;
}
.slider .slick-list {
  overflow: hidden;
}
.slider .slick-track {}
.slider .slick-slide {
  padding: 0;
  transition-duration: 0.3s;
}
.slider .slick-slide.slick-current {
  opacity: 1;
}
.slider .slick-slide a {
  display: block;
}
.slider .slick-slide a:hover {
  display: block;
  opacity: .7;
}
.slider img {
  height: auto;
  width: 100%;
}
.slick-prev, .slick-next {
  z-index: 1;
}
.slick-dots {
	bottom: -3rem !important;
}
@media (max-width: 428px) {
	.navbar ul a {
		text-align: center;
	}	
	.navbar ul li:nth-child(3) {
		margin-bottom: 1rem;
	}	
	.navbar .sub-menu {
		width: 100%;
	}
}

/*top*/
#mainvisuasl video {
	height: 102%;
}
#section-news {
	background: url("img/bg-sakura@2x.png") no-repeat right top / 50%;
}
#section-news h2 {
	margin-top: 6rem;
	margin-bottom: 2rem;
}

.gradient-1 {
	position: absolute;
	background: linear-gradient(45deg, #E76D96, #6DBAF8);
	transform: translateY(-50%);
	top: 50%;
	left: 45%;
	padding: 3rem;
	color: #FFF;
	width: 55%;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	line-height: 2.2;
}
.relative {
	position: relative;
}

.bg-pink {
	background: url("img/bg-pink@2x.jpg") no-repeat 0 50% / 80%;
	padding-left: 100px;
}
.bg-sky {
	background: url("img/bg-sky@2x.jpg") no-repeat 100% 50% / 80%;
	padding-right: 100px;
}
.bg-gray {
	background: #EBEBEB;
}
@media (max-width: 992px) {
.gradient-1 {
	position: static;
	width: 100%;
	transform: translate(0);
}
	.bg-pink {
		padding-left: 0;
	}
}

#section-blog h3 a {
	color: #434343;
}
#section-blog .wp-block-column {
	padding: 0 2%;
}
#section-blog .wp-block-button {
	width: 100%;
	display: block;
}
#section-blog .wp-block-button a {
	width: 100%;
	padding: 0.5rem;
	font-size: 1rem;
}
#section-blog .wp-block-button a:hover {
	background-color: #434343;
	transition: all .5s;
	color: #FFF;
}


#section-merit {
	padding-top: 5rem;
}
#section-dx {
	padding: 5rem 0 8rem;
}
#section-security {
	padding-top: 5rem;
	padding-bottom: 6rem;
}
#section-security img {
	width: 25%;
}

/*common*/
.h1 {
	font-size: 1.2rem;
}
.h2 {
	font-size: 1.5rem;
	font-weight: bold;
}
.h3 {
	font-size: 1.2rem;
}
.text-left {text-align: left;}
.text-right {text-align: right;}
.btn-secondary {
	background: #FFF !important;
	border-color: #FFF !important;
	border-radius: 50px;
	color: #707070;
	padding-left: 3rem;
	padding-right: 3rem;
}
.btn-secondary:hover {
	background: #707070 !important;
	border-color: #707070 !important;
	color: #FFF;
}
blockquote {
	background: #FFB903;
	border: 6px double #FFF;
	padding: 1rem;
	text-align: center;
}
blockquote p {
	margin-bottom: 0;
}

.py-8 {
	padding: 8rem 0;
}

/*page*/
.page-template-default h1,
.single-post h1,
.search-results h1 {
	margin-top: 2rem;
	margin-bottom: 3rem;
	text-align: center;
	font-size: 2rem;
	font-weight: bold;
}
.wp-block-image {
	margin: 1rem 0;
}
.page-template-default h2,
.post-template-default h2 {
	margin-top: 3rem;
	margin-bottom: 2rem;
	font-weight: bold;
	text-align: center;
}
.single-post li {
	margin-bottom: 1rem;
}
.single-post li img {
	margin: 1rem 0;
}

/*sidebar*/
button[type="submit"] {
	background: #000;
	border: 1px solid #000;
	border-radius: 0 3px 3px 0;
	margin-left: -5px;
	color: #FFF;
}


/*footer*/
.footer-inner {
	background: url("img/bg-footer@2x.jpg") no-repeat center center / cover;
	padding: 6rem 5px;
	color: #FFF;
	text-align: center;
}
footer address {
	margin: 2rem 0;
	text-align: center;
	font-size: 14px;
}

.btn.no-pointer {
	cursor: default;
} 




/*価格表*/
@media (max-width: 428px) {
#tablepress-1,
#tablepress-1 th,
#tablepress-1 td {
	width: 100%;
	text-align: center;
}
/*お問い合わせ*/
.table-contact,
.table-contact th,
.table-contact td {
	display: block;
	width: 100%;
}
.table-contact input,
.table-contact textarea {
	width: 100%;
}
	}
