/*
Theme Name:original
Author:SolabotSchool
Version:1.00
*/

/*全体設定*/
/*ヘッダー*/
/*フッター*/
/*固定ページ全体*/
/*投稿一覧*/
/*上部広告スライダー*/
/*左サイドバー詳細検索*/
/*トップページ*/
/*投稿詳細*/

/*メディアクエリ・ブレイクポイント*/

/*-----------------------------------------------全体設定-----------------------------------------------*/
/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;}
ul{list-style:none;}
table{border-collapse:collapse;border-spacing:0;}
caption,th{text-align:left;}
q:before,q:after{content:'';}
object,embed{vertical-align:top;}
legend{display:none;}
h1,h2,h3,h4,h5,h6{font-size:100%;}
img,abbr,acronym,fieldset{border:0;}
select {
  background: #fff;
  border: 1px solid #777;
  padding: 0.4vw 0.6vw;
  font-size: 1vw;
  font-weight: bold;
}
input, textarea {
  font-size: 1vw;
}

body{
	overflow-x: hidden;
}
img {
	display: block;
    width: 100%;
	height: auto;
}

/*全体幅*/
*, *:before, *:after { box-sizing: border-box;}

/*フォント*/
@font-face {
	font-family: "NotoSansJP-Regular";
	src: url("/wp-content/themes/original/fonts/NotoSansJP-Regular.woff") format("woff");
	font-display: swap;
}
@font-face {
	font-family: "NotoSansJP-Regular";
	src: url("/wp-content/themes/original/fonts/NotoSansJP-Medium.woff") format("woff");
	font-display: swap;
}
@font-face {
	font-family: "NotoSansJP-Regular";
	src: url("/wp-content/themes/original/fonts/NotoSansJP-Bold.woff") format("woff");
	font-display: swap;
}

div,a,p,span {
	font-family: "NotoSansJP-Regular";
}
h1,h2,h3,h4,h5 {
	font-family: "NotoSansJP-Bold";
}

/*カラー　色*/
.red {
  color: #d00;
}

/*-----------------------------------------------ヘッダー-----------------------------------------------*/
#masthead {
  padding: 0.6vw 0;
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
}
.main-header-content {
  display: flex;
  justify-content: space-between;
  padding: 0 1vw;
}
.site-branding {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 2vw;
}
.site-logo {
  width: 6vw;
}
.site-title {
  margin-left: 0;
}
.site-title a {
  font-size: 1vw;
  color: #000;
  text-decoration: none;
}
.site-title {
  margin-left: 1vw;
}
.site-description {
  font-size: 1vw;
  line-height: 1.2;
  margin-right: 2vw;
}
.header_nav {
  margin-left: auto;
  margin-right: 1vw;
  flex-shrink: 0;
}
.header_nav_container {
  display: flex;
  align-items: center;
}
.nav_item {
  margin-right: 1vw;
}

/*投稿種別選択*/
.contents_type_select {
  display: flex;
  gap: 1vw;
  margin: 0.3vw 1vw 0.3vw 0;
}
.contents_type_select_button a {
  font-size: 1vw;
  display: flex;
  width: 7vw;
  text-decoration: none;
  color: #fff;
  height: 100%;
  align-items: center;
  border-radius: 0.2vw;
  justify-content: center;
}
.contents_type_select_button.select1 a {
  background: #45688d;
}
.contents_type_select_button.select2 a {
  background: #d98b47;
}
.contents_type_select_button a:hover {
  opacity: 0.8;
}

/*qr*/
.nav_item.qr {
  width: 3vw;
}

/* Drawer Button */
.drawer-hamburger {
	background-color: transparent;
	box-sizing: content-box;
	display: block;
	margin-right: -5px;
	outline: 0;
	padding: 12px 5px;
	transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
	width: 21px;
	min-width: 21px;
	z-index: 102;
	border: 0;
}
.drawer-hamburger:hover,
.drawer-hamburger:focus {
	background-color: transparent;
}
.drawer-hamburger-icon {
	position: relative;
	display: block;
}
.drawer-hamburger-icon,
.drawer-hamburger-icon:before,
.drawer-hamburger-icon:after {
	background-color: #111;
	height: 2px;
	transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
	width: 100%;
}
.drawer-hamburger-icon:before,
.drawer-hamburger-icon:after {
	position: absolute;
	left: 0;
	content: ' ';
}
.drawer-hamburger-icon:before {
	top: -6px;
}
.drawer-hamburger-icon:after {
	top: 6px;
}
.drawer-opened .drawer-hamburger-icon {
	background-color: transparent;
}
.drawer-opened .drawer-hamburger-icon:before,
.drawer-opened .drawer-hamburger-icon:after {
	top: 0;
}
.drawer-opened .drawer-hamburger-icon:before {
	transform: rotate(45deg);
}
.drawer-opened .drawer-hamburger-icon:after {
	transform: rotate(-45deg);
}

/* Drawer Navigation */
.drawer-overlay {
	display: none;
	height: 100vh;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 100;
}
.drawer-navigation {
	background: #fff;
	height: 100vh;
	overflow-y: auto;
	position: fixed;
	right: 0;
	top: 0;
	transform: translateX(100%);
	transition: all .6s cubic-bezier(0.190, 1.000, 0.220, 1.000);
	width: 90%;
	z-index: 101;
	-webkit-overflow-scrolling: touch;
}
.drawer-navigation-content {
	box-sizing: border-box;
	height: 100%;
	overflow-y: auto;
	padding: 60px 75px 60px 40px;
	width: 100%;
}
.drawer-opened .drawer-overlay {
	display: block;
}
.drawer-opened .drawer-navigation {
	box-shadow: 0 0 90px rgba(0, 0, 0, 0.2);
	transform: translateX(0);
}

/*ドロワーオープン時スクロール禁止*/
html.overflow_hidden {
  overflow: hidden;
}

.drawer_nav .header_nav_container {
  display: block;
}

/*モーダル関連*/
.modal{
  display: none;
  position: fixed;
  top: 0;
  height: 100vh;
  width: 100%;
  left: 0;
  z-index: 999;
}
.modal_bg{
  position: absolute;
  height: 100vh;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
}
/* モーダル本体 */
.modal_content{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: scroll; /* はみ出た部分はスクロールさせる */
  height: 60%;/* これが無いと「overflow:scroll」が利かない */
  width: 60%;/* これが無いと「overflow:scroll」が利かない */
  background: white;
  padding: 40px;
}
/* モーダルウィンドウ表示中に記事本体を固定 */
body.fixed {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
}

/*-----------------------------------------------フッター-----------------------------------------------*/
/*追尾フッター*/
.fixed_footer {
  position: sticky;
  bottom: 0;
  z-index: 999;
  background: #fff;
}
.footer_nav_container {
  display: flex;
  justify-content: space-evenly;
  padding: 1vw;
}

.footer_contents {
  background: #333;
  color: #fff;
  padding: 2vw 0;
  text-align: center;
}

/*下部問い合わせ*/
.bottom_contact {
  margin: 3vw auto;
  width: 60%;
  background: #3f3f3f;
  text-align: center;
  border-radius: 0.3vw;
  padding: 6vw 0;
  color: #fff;
}
.bottom_contact_title {
  font-size: 2.8vw;
  margin-bottom: 2vw;
}
.bottom_contact_caption {
  font-size: 1vw;
  margin-bottom: 3vw;
}
.bottom_contact_button a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2vw;
  background: #518fdf;
  border-radius: 2vw;
  display: inline-block;
  padding: 0.4vw 2vw;
}


/*-----------------------------------------------固定ページ全体-----------------------------------------------*/
/*狭いコンテンツ*/
.entry-content {
  width: 50vw;
  margin: auto;
  padding: 2vw 0;
}
.entry-title {
  font-size: 1.4vw;
  margin-bottom: 1vw;
}


/*-----------------------------------------------投稿一覧-----------------------------------------------*/
.post_items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.post_items::after {
  content: "";
  width: calc(100% / 3 - 1vw);
  display: block;
}
.post_list_item {
  width: calc(100% / 3 - 1vw);
  position: relative;
  margin-bottom: 2vw;
}
.post_list_item > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  display: block;
  height: 100%;
}
.post_list_thumbnail {
  border: 1px solid #ddd;
  position: relative;
}
.post_media_wrap {
  position: relative;
}
.post_media_wrap:before {
  content: "";
  display: block;
  padding-top: 56%;
}
.post_media_wrap img, .post_media_wrap .wp-video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*リストアイテムラベル*/
.post_list_label {
  position: absolute;
  z-index: 3;
  border: 1px solid #10cbf7;
  margin: 0.2vw;
}
.post_list_label a {
  text-decoration: none;
}
.post_list_label.cat {
  top: 0;
  left: 0;
}
.post_list_label.cat a {
  text-decoration: none;
}
.post_list_label,.post_list_label a {
  font-size: 1vw;
  line-height: 1;
  padding: 0.2vw;
  color: #10cbf7;
}
.post_list_label.target_age {
  bottom: 0;
  left: 0;
}
.post_list_label.contents_status {
  bottom: 0;
  right: 0;
}
.post_list_label.area {
  top: 0;
  right: 0;
  display: flex;
}

.post_list_title a {
  font-size: 1vw;
  text-decoration: none;
}


/*投稿がない場合*/
.no_post {
  font-size: 1vw;
}

/*-----------------------------------------------上部広告スライダー-----------------------------------------------*/
.ad_post_slider {
  position: relative;
  border: 5px solid #45688d;
  width: 96%;
  padding-top: 0.3vw;
  margin: 0 auto 1vw;
}
.ad_post_slider_title {
  font-size: 1.2vw;
  padding-left: 1vw;
  margin-bottom: 0.2vw;
}
.ad_post_slider_hide {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  font-size: 1vw;
  display: flex;
  align-items: center;
  line-height: 1;
  background: #45688d;
  color: #fff;
  padding: 0.3vw 0.8vw 0.5vw;
}
.ad_post_slider_hide:hover {
  opacity: 0.8;
}
.ad_post_slider_hide svg {
  background: #fff;
  padding: 0.1vw;
  border-radius: 50%;
}
.ad_post_slider_hide span {
  margin-right: 0.3vw;
}

.ad_post_slider .post_list_item {
  width: 100%;
  margin-bottom: 1vw;
}


/*-----------------------------------------------左サイドバー詳細検索-----------------------------------------------*/
.filter-title {
  font-size: 1.1vw;
  background: #ddd;
  padding: 0.2vw;
  position: sticky;
  top: 0;
}
.filter-field {
  padding: 0.8vw 0.4vw;
}
.filter-field label {
  display: flex;
  font-size: 1vw;
  margin-bottom: 0.6vw;
  line-height: 1;
}
.filter-field label input {
  margin-right: 0.2vw;
}

/*エリア関連*/
.child-terms {
  margin-left: 1vw;
}
.area-group .child-terms .child-terms {
  max-height: 50vh;
  overflow-y: auto;
  border: 1px solid #ddd;
  padding: 0.4vw 1vw;
  margin-bottom: 1vw;
}

/*表示・非表示*/
.serach_panel_toggle {
  position: absolute;
  top: 0.4vw;
  left: 0.4vw;
  z-index: 1;
  width: 2vw;
  background: #fff;
  border-radius: 0.2vw;
  cursor: pointer;
  padding: 0.1vw;
}

.serach_panel_toggle:hover {
  opacity: 0.8;
}


.main_container.search_hide {
  position: relative;
}
.main_container.search_hide .post_list {
  width: 100%;
}
.main_container.search_hide .search_container {
  width: 0;
}
.main_container.search_hide .serach_panel_toggle {
  opacity: 0;
}

.main_container.search_hide .serach_panel_toggle.open {
  position: absolute;
  top: 1vw;
  right: 100%;
  left: auto;
  opacity: 1;
  background: #45688d;
  padding: 1.6vw 0.2vw;
  border-radius: 0 0.2vw 0.2vw 0;
}

/*-----------------------------------------------トップページ-----------------------------------------------*/
.main_container {
  padding-top: 1vw;
  display: flex;
  width: 96%;
  margin: auto;
  justify-content: space-between;
}
.search_container {
  width: 20%;
  transition: all 0.3s;
}
.sticky_wrap {
  position: sticky;
  top: 4.2vw;
}
.search_title {
  font-size: 1.3vw;
  background: #45688d;
  color: #fff;
  text-align: center;
  padding: 0.4vw 0;
}
.search_container form {
  max-height: 76vh;
  overflow-y: auto;
}
.main_container .post_list {
  width: 78%;
  transition: all 0.3s;
}

.search_container select {
  width: 100%;
}
.search_container input[type="text"] {
  width: 100%;
  padding: 0.4vw;
}

.filter-submit {
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #ddd;
  padding-top: 5px !important;
  margin-bottom: 0 !important;
  z-index: 5;
}
.filter-submit button {
  width: 96%;
  background: #45688d;
  display: block;
  font-size: 1vw;
  margin: auto;
    margin-bottom: auto;
  border: 0;
  border-radius: 0.2vw;
  color: #fff;
  padding: 0.4vw 0 0.2vw;
  cursor: pointer;
}
.filter-submit .form_reset {
  margin-bottom: 0.3vw;
  background: #777;
}

.filter-submit button:hover {
  opacity: 0.8;
}

/*-----------------------------------------------投稿フォーム-----------------------------------------------*/
.wpuf-label {
  font-size: 1vw;
}
.wpuf-fields select {
  background: #fff;
  border: 1px solid #777;
  padding: 0.4vw 0.6vw;
  font-size: 1vw;
}
.wpuf-fields input,.wpuf-fields textarea {
  font-size: 1vw;
  padding: 0.4vw 0.6vw;
  width: 100%;
}
.wpuf-submit-button {
  font-size: 1.2vw;
  padding: 0.8vw 5vw;
  font-weight: bold;
  background: #222;
  color: #fff;
  border: 0;
  border-radius: 0.4vw;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s;
}
.wpuf-submit-button:hover {
  opacity: 0.8;
}


/*-----------------------------------------------投稿詳細-----------------------------------------------*/
.entry-header {
  width: 50vw;
  margin: auto;
}


/*投稿内詳細*/
.post_h2 {
  font-size: 2vw;
  border-left: 10px solid #45688d;
  margin-bottom: 2vw;
  background: #e6edf4;
  line-height: 1;
  padding: 0.8vw 0 0.4vw 1vw;
}

.single .wp-video {
  margin: auto;
}
.post-thumbnail {
  margin-bottom: 2vw;
}
.entry-title {
  font-size: 1.8vw;
}

.post_images {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.post_images_item {
  width: calc(100% / 2 - 1vw);
  margin-bottom: 2vw;
  position: relative;
}
.post_images_item:before {
  content: "";
  display: block;
  padding-top: 56%;
}
.post_images_item img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: ;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post_detailed_item {
  display: flex;
  border: 1px solid #000;
  border-bottom: 0;
}
.post_detailed_label {
  border-right: 1px solid #000;
  padding: 1.2vw;
  font-size: 1vw;
  background: #eee;
  width: 17vw;
  text-align: center;
}
.post_detailed_field {
  padding: 1.2vw;
  font-size: 1vw;
}
.post_detailed_item:last-child {
  border-bottom: 1px solid #000;
}

.post_detailed {
  margin-bottom: 2vw;
}


/*-------------------------------------メディアクエリ750以下【SPのみ】-------------------------------------*/
@media only screen and (max-width: 750px) {
	.pc_only {
		display: none !important;
	}
	/*ヘッダー*/
	.header_nav {
		display: none;
	}
	.site-logo {
		width: 16vw;
	}
	.site-title {
		margin-left: 3vw;
	}
	.site-title a {
		font-size: 4vw;
	}
	.main-header-content {
		padding-right: 3vw;
	}
	/*トップページ*/
	.slide_fv .slide_image_wrap::before {
		padding-top: 100%;
	}
	.about_container {
		padding: 12vw 6vw;
	}
	.home_h2 {
		font-size: 6vw;
	}
	.about_contents {
		flex-direction: column-reverse;
	}
	.about_text {
		width: 100%;
		font-size: 4vw;
	}
	.about_image {
		width: 100%;
		margin-bottom: 3vw;
	}
	/*下部問い合わせ*/
	.bottom_contact {
		width: 88vw;
		margin: 6vw auto;
	}
	.bottom_contact_title {
		font-size: 5vw;
		margin-bottom: 3vw;
	}
	.bottom_contact_caption {
		font-size: 2.8vw;
		width: 64%;
		margin: 0 auto 6vw;
	}
	.bottom_contact_button a {
		font-size: 3.8vw;
		padding: 3vw 6vw;
		border-radius: 6vw;
	}
	/*フッター*/
	.footer_contents {
		font-size: 3vw;
	}
}
/*--------------------------------メディアクエリ750以上【タブレット以上】---------------------------------*/
@media only screen and (min-width: 751px) {
	.sp_only {
		display: none !important;
	}
	
}