
/*
Theme Name: next
*/
/*-----------------------------------------------------------------------
目次

１，基本スタイルシート
２，レイアウト基本スタイルシート
３，レイアウトスタイルシート
------------------------------------------------------------------------*/




/*-----------------------------------------------------------------------
基本共通スタイルシート
------------------------------------------------------------------------*/

/* タグの基本的な物 */
/* reset */
html, body, div, span, applet, object, iframe,
p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-style:normal;
    font-weight: normal;
	font-size: 100%;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

html{
    overflow-y: scroll;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

input, textarea,{
	margin: 0;
	padding: 0;
}

ol, ul{
    list-style:none;
}

table{
    border-collapse: collapse;
    border-spacing:0;
}

caption, th{
    text-align: left;
}

a:focus {
	outline:none;
}

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}

.clearfix {
	min-height: 1px;
}

* html .clearfix {
	height: 1px;
	/*ﾂ･*//*/
	height: auto;
	overflow: hidden;
	/**/
}


.both{
	clear:both;
}

.bottom20 {
	margin-bottom: 20px;
}

.bottom10 {
	margin-bottom: 10px;
}

.top30 {
	margin-top: 30px;
}

.top20 {
	margin-top: 20px;
}

.action-p {
	line-height: 1.4;
	margin-bottom: 10px;
}

.action-img {
	float: left;
	margin-right: 10px;
}

/* 最低限必要なheightを指定して、後は容量合わせてautoに（今回は最低限50px）点線を引く */
.box {
	min-height:50px;
	height:auto !important;
	height:50px;
	margin:0px 0px 10px 0px;
	padding:10px;
	border:1px dotted #FF6600;
}

/* floatの解除①（floatの直後に設置） */
.myclear {
    	clear:both;
}

/* floatの解除②（floatの親要素に設置） */
.myclearfix {
    	min-height: 1px;
}
/*--------------------------------------------------------------
						サイト全体
----------------------------------------------------------------*/
body {
	background-color: #EFEFF0;
	padding-left: 2%;
	padding-right: 2%;
}
.center {
	text-align: center;
}
.content {
	display: flex;
}
/*--------------------------------------------------------------
						ヘッダー
----------------------------------------------------------------*/
.header__inner {
	display: flex;
	justify-content: space-between;
	padding-top: 10px;
}
h1 a {
	text-decoration: none;
	color: black;
}
.head_decoration {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.count {
	text-align: right;
}
.wp-pagenavi {
	width: 50%;
}
.count, .vision {
	width: 20%;
}

.vision {
	margin-left: 2%;
}
.count span {
	font-size: 2.0em;
}
#result2 {
	width: 100px;
	height: 100px;
	color: black;
	font-weight: bold;
	font-size: 35px;
	line-height: 3;
	background-color: #86E6E9;
	border-radius: 50%;
	text-align: center;

}
/* ハンバーガーメニュー */
.header__nav {
	display: none;
}
.header__hamburger {
	display: none;
}
#js-nav #searchform {
	display: none;
}

/*--------------------------------------------------------------
						グローバルメニュー（サイドバー）
----------------------------------------------------------------*/
nav {
	width: 15%;
}
.textform {
	width: 100%;
}
.price {
	width: 70%;
}
.style {
	width: 100%;
	display: block;
}
.submit, .wpcf7-submit, .confirm {
	width: 90%;
	padding: 5px 0px 5px 0px;
	margin-top: 10px;
}
.aco {
	display: none;
}
.nav-open{
	padding: 0px 15px 0px 0px;
	position: relative;
}
.nav-open::before{/* 閉じている時 */
	content: "＋";
	position: absolute;
	right: 20px;
	width: 24px;
	border-radius: 50%;
	text-align: center;
	background-color: #86E6E9;
	color: black;
}
.nav-open.active::before{/* 開いている時 */
	content: "－";
}
.list_name {
	border-left: solid 5px #425B54;
	padding-left: 7px;
}
#wpcf7-f14189-o1 input {
	width: 100%;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-top: 5px;
}
#result, .your-email input, .your-name input {
	width: 100%;
}
.mt10 {
	margin-top: 10px;
	margin-bottom: 5px;
}
/*--------------------------------------------------------------
						メインコンテンツ
----------------------------------------------------------------*/
.maincontent {
	width: 85%;
}
.content_list {
	display: flex;
	flex-wrap: wrap;
}
.content_list .list {
	width: 13.5%;
	border: silver 1px solid;
	margin-left: 1%;
	margin-bottom: 1%;
	padding: 0% 1% 1% 1%;
	display: flex;
	justify-content: center;
	flex-direction: column;
	background-color: white;
}
.list_id {
	font-size: 0.8em;
}
.content_list .list h2,
.content_list .list p {
	width: 98%;
}
.content_list .list h2 {
	word-break: break-all;
	font-size: 1.2em;
	line-height: 1.3;
}
.list .photo {
	text-align: center;
}
.list .photo a {
	display: block;
	width: 100%;
	margin: 0 auto;
}
.list .photo a img {
	width: 100%;
	margin: 0 auto;
}
.list .price {
	font-size: 22px;
	font-weight: bold;
}
.button {
	text-align: center;
	background-color: silver;
	width: 98%;
	margin-top: 20px;
	border-radius: 10px;
	border: silver 1px solid;

}
.button a {
	display: block;
	padding: 2%;
	text-decoration: none;
	color: green;
}
.listheader {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
/*--------------------------------------------------------------
						WP＿pagenavi
----------------------------------------------------------------*/
.wp-pagenavi {/* 全体 */
    margin: 20px 0;
    font-size: 12px;
		display: flex;
		justify-content: center;
		align-items: baseline;
}
.wp-pagenavi a {/* フォント色 */
    color: #4a4a4a;
}
.pages {/* 左の表記 */
    margin-right: 20px;
}
.wp-pagenavi .current,
.wp-pagenavi a.page {/* ボタン */
    margin: 0 6px 6px 0;
    display: inline-block;
    border: solid 1px #eee;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
}
.wp-pagenavi .current {/* カレント数字 */
    border: none;
    background: #87e6e9;
    color: black;
}
.wp-pagenavi a.page:hover {/* マウスオーバー */
    background: #87e6e9;
    color: black;
}
.wp-pagenavi .first,
.wp-pagenavi .extend {/* ... */
    margin-right: 10px;
}
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {/* 記号の削除 */
    display: none;
}
.content_list + .wp-pagenavi {
	width: 100%;
}
/*--------------------------------------------------------------
						フッター
----------------------------------------------------------------*/
footer {
	background-color: #435C55;
	margin-top: 20px;

}
footer p {
	padding-top: 10px;
	padding-bottom: 10px;
	color: white;
}
/*--------------------------------------------------------------
						ラジオ・チェックボタン装飾
----------------------------------------------------------------*/
/* ラジオボタンの○を消す */
.list input[type="checkbox"] {
display: none;
}
/* 画像の周りに隙間をあける */
.list label img {
    margin: 3px;
    padding: 5px;
}
/* 未選択の場合、色を薄くする */
.list input[type="checkbox"] + label img {
    opacity:0.2;
  }
/* 選択済みの場合、色を濃くする */
.list input[type="checkbox"]:checked + label img {
    opacity:1;
}

/* 未選択の場合、色を薄くする */
.list input[type="checkbox"] + label img {
    opacity:0.2;
  }
/* 選択済みの場合、色を濃くする */
.list input[type="checkbox"]:checked + label img {
    opacity:1;
}
.output {
	width: 100%;
	height: 25px;
	background-color: red;
}


@media screen and (max-width: 1140px) {
	nav {
		width: 20%;
	}
	.content_list .list {
		width: 28%;
	}

}
@media screen and (max-width: 768px) {
	body {
		overflow: hidden;
	}
	.maincontent {
		width: 100%;
	}
	.content_list .list {
		width: 46%;
	}
	nav.sidebar {
		display: none;
	}
	/* ここからハンバーガーメニュー */
	.header {
  background-color: white;
  width: 100%;
  /* height: 50px; */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
	/* ハンバーガーメニュー */
	#js-nav #searchform {
		display: block;
		width: 90%;
	}
	#js-nav ul.menu {
		width: 90%;
	}

	.header__nav {
	 display: block;
 k	}
	.header__hamburger {
	 display: block;
	}
	.header__inner {
  padding: 0 20px; /*左右の余白確保*/
  display: flex; /*ロゴとハンバーガーメニューを横に並べる*/
  align-items: center;
  justify-content: space-between;
  height: inherit; /*親要素の高さを継承*/
  position: relative;
}

/* ヘッダーのロゴ部分 */
.header__title {
  width: 80px;
}

.header__title img {
  display: block;
  width: 100%;
  height: 100%;
}
/* ヘッダーのナビ部分 */
.header__nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 104%;
  height: auto;
  transform: translateX(100%);
  background-color: silver; /*ハンバーガーメニュークリック時のナビゲーションメニュー背景色*/
  transition: ease .4s; /*ハンバーガーメニュークリック時のナビゲーションメニュー出現を遅延*/
	z-index: 100;
}
/* ハンバーガーメニュー */
.header__hamburger {
  width: 48px;
  height: 100%;
}

.hamburger {
  background-color: transparent; /*buttonタグデフォルトスタイルを打ち消し*/
  border-color: transparent; /*buttonタグデフォルトスタイルを打ち消し*/
  z-index: 9999;
}

/* ハンバーガーメニューの線 */
.hamburger span {
  width: 100%;
  height: 1px;
  background-color: #000;
  position: relative;
  transition: ease .4s; /*ハンバーガーメニュークリック時の三本線の動きを遅延*/
  display: block;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 8px 0;
}

.hamburger span:nth-child(3) {
  top: 0;
}
/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
  transform: translateX(0);
	width: 100%;
	padding: 1% 1% 4% 2%;
}

.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
}
/* ハンバーガーメニューここまで */

}
@media screen and (max-width: 428px) {
	.content_list .list {
		width: 100%;
	}
}
