/*==========================================================================
# reset - ブラウザの差異や不要なスタイルを無くすためのスタイル
========================================================================== */

* {
	box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td,
small,
button,
time,
figure {
	border: 0;
	font: inherit;
	font-size: 100%;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	line-height: 1;
}

ol,
ul {
	list-style: none;
}

li,
dd {
	list-style-type: none;
}

header,
footer,
nav,
section,
article,
aside,
figure,
figcaption {
	display: block;
}

img {
	border: none;
}

a {
	cursor: pointer;
	text-decoration: none;
}

::before,
::after {
	pointer-events: none;
}

/* =============================================================
common - 全体に共通するスタイル
============================================================= */

body {
	color: #333;
	font-family: "ヒラギノ明朝 ProN", serif;
	font-size: 16px;
	line-height: 1.6875;
}

img {
	width: 100%;
}

.inner {
	box-sizing: content-box;
	margin: 0 auto;
	max-width: 1500px;
	padding: 0 70px;
}

.footer {
	background: #395137;
	padding: 60px 0;
}

.footer__flex {
	display: flex;
	justify-content: space-between;
	gap: 40px;
}

.footer__search {

}

.footer__nav-list li+li {
	margin-top: 20px;
}

.footer__nav-list a {
	color: #fff;
	font-size: 16px;
}

.footer__nav-list a:hover {
	opacity: 0.8;

}

.header__inner {
	padding: 12px 40px;
}

.header__flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.heeder__title {
	font-size: 20px;
	font-weight: 700;
	color: #395137 !important;
}

.heeder__title-link {
	color: #395137;
	text-decoration: none;
}

.header__button {
	background: #395137;
	border-radius: 30px;
	cursor: pointer;
	display: inline-block;
	padding: 10px;
	/* position: fixed; */
	right: 18px;
	top: 18px;
	width: 180px;
	z-index: 100;
}

.header__button:hover {
	opacity: 0.8;
}

.header__button-flex {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: center;
}

.header__button-text {
	color: #fff;
	font-size: 20px;
}

.header__button-img {
	height: 24px;
	width: 24px;
}

.home,
.tag {
	padding: 120px 0;
}

.gallery__items {
	display: flex;
	-moz-column-gap: 28px;
	column-gap: 28px;
	flex-wrap: wrap;
	row-gap: 40px;
}

.gallery__item {
	flex: 0 0 calc((100% - 84px) / 4);
}

.gallery__item-shadow {
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.gallery__img {
	aspect-ratio: 310/240;
	position: relative;
	overflow: hidden;
}


.gallery__img .gallery__mainimg {
	position: absolute;
	inset: 0;
}

.gallery__img .gallery__mainimg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	display: block;
}

.gallery__img::before {
	background: rgba(0, 0, 0, 0.6);
	content: "";
	inset: 0; /* 暗さ調整 */
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transition: opacity 0.3s ease;
	z-index: 1;
}

@media (hover: hover) {
.gallery__img:hover::before {
	opacity: 1;
}
}

.gallery__link-position {
	height: 100%;
	left: 50%;
	opacity: 0;
	position: absolute;
	text-decoration: none;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	z-index: 5;
}

.gallery__link-flex {
	align-items: center;
	display: flex;
	justify-content: center;
}

@media (hover: hover) {
.gallery__link-flex:hover {
	opacity: 1;
}
}

.gallery__link-texts {
	align-items: center;
	display: flex;
	gap: 5px;
	justify-content: center;
	transition: all 0.3s ease 0s;
}

@media (hover: hover) {
.gallery__link-texts:hover {
	transform: scale(1.1);
}
}

.gallery__link-text {
	color: #fff;
	display: inline-block;
}

.gallery__link-img {
	height: 18px;
	margin-top: -3px;
	width: 18px;
}

.gallery__link-img img {
	height: 100%;
	width: 100%;
}

.gallery__item-detail {
	background: #fff;
	padding: 10px 12px;
}

.gallery__item-title {
	font-size: 14px;
}

/* WP paginate_links() 用（.pagination 版） */
.pagination {
	display: flex;
	justify-content: center;
	margin-top: 80px;
}

/* paginate_links() は ul/li を出さず、a/span が直で並ぶことが多い */
.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	width: 50px;
	height: 50px;
	border: 1px solid #222;
	border-radius: 50%;
	background: transparent;
	color: #222;
	font-size: 16px;
	font-weight: 400;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	margin: 0 6px;
	/* gap:12px 相当（左右6pxずつ） */
	vertical-align: middle;
}

/* hover */
.pagination a.page-numbers:hover {
	opacity: 0.7;
}

/* current */
.pagination .page-numbers.current {
	background-color: #395137;
	border-color: #395137;
	color: #fff;
	pointer-events: none;
}

/* 省略記号（dots）は span で出る */
.pagination .page-numbers.dots {
	border: none;
	border-radius: 0;
	width: auto;
	height: auto;
	padding: 0 8px;
	font-size: 14px;
}

/* prev/next を将来 true にした時も同じルールで整える */
.pagination .page-numbers.prev,
.pagination .page-numbers.next {
	border: none;
	border-radius: 0;
	width: auto;
	height: auto;
	padding: 0 8px;
	font-size: 14px;
}

.pagination a.page-numbers.prev:hover,
.pagination a.page-numbers.next:hover {
	background: none;
	color: #000;
	text-decoration: underline;
	opacity: 1;
	/* underline の見た目優先 */
}

.search__result {
	padding-bottom: 60px;
}

.search-result-text {
	font-size: 18px;
	font-weight: 700;
}

.search {
	background: #f9f9f9;
	height: 100%;
	position: fixed;
	top: 0;
	transform: translateX(105%);
	transition: transform 0.4s ease;
	width: 100%;
	z-index: 300;
	overflow-y: scroll;
}

.search.is-active {
	transform: translateX(0);
}

.search__close {
	align-items: center;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 5px;
	position: absolute;
	right: 30px;
	top: 20px;
}

.search__close:hover {
	opacity: 0.8;
}

.search__close-icon {
	height: 32px;
	width: 32px;
}

.search__close-icon img {
	height: 100%;
	width: 100%;
}

.search__close-text {
	display: inline-block;
	font-size: 14px;
	letter-spacing: 1px;
}

.search__inner {
	margin: 0 auto;
	max-width: 100%;
	padding: 40px;
	padding-top: 100px;
	width: 1000px;
}

.search__title {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 12px;
	background: #395137;
	color: #fff;
	display: inline-block;
	padding: 6px 18px;
}

.search__item {
	border-bottom: 1px solid #395137;
	padding: 24px 0;
}

.search__checks {
	display: flex;
	flex-wrap: wrap;
	row-gap: 12px;
	-moz-column-gap: 22px;
	column-gap: 22px;
}

.search__check {
	position: relative;
}

.search__check [type=checkbox] {
	display: none;
}

.search__check label {
	font-size: 15px;
}

.search__checklabel {
	cursor: pointer;
	display: block;
	padding-left: 12px;
	position: relative;
	color: #333;
	transition: all 0.3s ease 0s;
}

.search__checklabel:hover {
	color: #4F7A63;
}

.search__checklabel::before {
	background: #395137;
	border: solid 1px #395137;
	content: "";
	display: block;
	height: 3px;
	border-radius: 50%;
	left: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transition: 0.2s;
	width: 3px;
}

/* .search__checklabel::after {
	border-bottom: solid 2px #FF5353;
	border-left: solid 2px #FF5353;
	content: "";
	display: block;
	height: 6px;
	left: 2px;
	opacity: 0;
	position: absolute;
	top: 6px;
	transform: rotate(-45deg);
	transition: 0.2s;
	width: 12px;
} */

input[type=checkbox]:checked + .search__checklabel::after {
	opacity: 1;
}

.search__button {
	margin-top: 50px;
	text-align: center;
}

.search__button [type=submit] {
	background-color: #395137;
	border: 1px solid #395137;
	border-radius: 50px;
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-weight: 700;
	padding: 13px;
	width: 260px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	transition: all 0.3s ease 0s;
}

/* .archive {
	padding: 120px 0;
} */

.archive__title {
	color: #395137;
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 80px;
	padding-bottom: 20px;
	position: relative;
	text-align: center;
}

.archive__title::after {
	background: #395137;
	bottom: 0;
	content: "";
	height: 2px;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	width: 50px;
}

.tags {
	margin-bottom: 40px;
}

.tags__list {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.tags__item {

}

.tags__link {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 30px;
	background: #fff;
	border: 1px solid #395137;
	color: #333;
}

.tags__item.is-active .tags__link {
	background-color: #395137;
	color: #fff;
	border-color: #395137;
}


.search-form {
	height: 50px;
}

#sform {
	position: relative;
	max-width: 300px;
	width: 100%;
}

#sbox {
	height: 50px;
	padding: 0 110px 0 20px;
	border-radius: 5px;
	outline: 0;
	background: #fff;
	/*検索窓の背景色*/
	border: none;
	font-size: 14px;
}

#sbtn {
	height: 50px;
	width: 50px;
	position: absolute;
	/* left: calc(100% - 50px); */
	right: 0;
	top: 0;
	background: #F29100;
	/*検索ボタンの色*/
	color: #fff;
	/*検索アイコンの色*/
	border: none;
	border-radius: 0 5px 5px 0;
}

#sbtn .fa-search {
	font-size: 20px;
	position: absolute;
	top: 30%;
	left: 10%;
}

#sbtn:before {
	font-family: FontAwesome;
	content: "\f002";
	transition: all 0.3s ease 0s;
}

#sbtn:hover {
	opacity: 0.8;
}

.search-result-text-position {
	margin-bottom: 40px;
}

/* =============================================================
監修者
============================================================= */
.footer-supervisor {
	margin-top: 36px;
}

.supervisor-card {
	background: #fff;
	border-radius: 10px;
	border: 1px solid #000;
	padding: 30px 20px;
	max-width: 600px;
	width: 100%;
}

.supervisor-card__flex {
	display: flex;
	gap: 20px;
}

.supervisor-icon {
	flex: 0 0 80px;
	height: 80px;
}

.supervisor-icon img {
	width: 100%;
}

.supervisor-info {

}

.supervisor-label {
	font-weight: 700;
	font-size: 15px;
}

.supervisor-name {
	font-size: 15px;
	margin-top: 2px;
}

.supervisor-bio {
	font-size: 13px;
	margin-top: 6px;
}

@media screen and (max-width: 767px) {
.footer-supervisor {
	margin-top: 24px;
}

.supervisor-card {
	padding: 20px 15px;
	max-width: 450px;
}

.supervisor-card__flex {
	flex-direction: column;
}

.supervisor-icon {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	overflow: hidden;
	flex: auto;
	margin: 0 auto;
}

.supervisor-icon img {
	width: 100%;
}

.supervisor-info {}

.supervisor-label {
	font-size: 14px;
	text-align: center;
}

.supervisor-name {
	font-size: 14px;
	text-align: center;
	margin-top: 2px;
}

.supervisor-bio {
	font-size: 12px;
	margin-top: 6px;
}
}

/* =============================================================
タブレット対応
============================================================= */

@media screen and (min-width: 768px) and (max-width: 1024px) {

.is-pc,
.is-sp {
	display: none;
}

.inner {
	padding: 0 40px;
}

.gallery__item {
	flex: 0 0 calc((100% - 28px) / 2);
}

.search__check {
	flex: 0 0 calc((100% - 20px) / 2);
}

.home,
.tag {
	padding: 80px 0;
}

/* .archive {
	padding: 80px 0;
} */

}

@media screen and (min-width: 1025px) {

.is-tb,
.is-sp {
	display: none;
}

}

@media screen and (max-width: 767px) {

.is-pc,
.is-tb {
	display: none;
}

.inner {
	padding: 0 24px;
}

.home,
.tag {
	padding: 60px 0;
}

.footer__flex {
	flex-direction: column-reverse;
	gap: 40px;
}

.footer__nav-list li+li {
	margin-top: 14px;
}

.footer__nav-list a {
	font-size: 14px;
}

.header__inner {
	padding: 12px 20px;
}

.heeder__title {
	font-size: 16px;
}

.header__button {
	border-radius: 0;
	height: 68px;
	right: 0;
	top: 0;
	width: 68px;
}

.header__button-flex {
	flex-direction: column-reverse;
	gap: 0;
}

.header__button-text {
	font-size: 14px;
}

.header__button-img {
	height: 28px;
	width: 28px;
}

.gallery__items {
	row-gap: 28px;
}

.gallery__item {
	flex: 0 0 100%;
}


  .pagination {
  	margin-top: 40px;
  }

  .pagination .page-numbers {
  	width: 36px;
  	height: 36px;
  	font-size: 13px;
  	margin: 0 4px;
  	/* gap:8px 相当 */
  }

  /* dots / prev / next はサイズ固定しない */
  .pagination .page-numbers.dots,
  .pagination .page-numbers.prev,
  .pagination .page-numbers.next {
  	width: auto;
  	height: auto;
  	font-size: 13px;
  	padding: 0 6px;
  }

.search__result {
	padding-bottom: 30px;
}

.search-result-text {
	font-size: 15px;
}

  .search__title {
  	font-size: 15px;
  	padding: 4px 12px;
  }

.search__close {
	right: 20px;
}

.search__close-icon {
	height: 28px;
	width: 28px;
}

.search__close-text {
	font-size: 13px;
}

.search__inner {
	padding: 20px;
}

.search__checks {
	flex-direction: column;
	flex-wrap: wrap;
	row-gap: 6px;
	-moz-column-gap: 14px;
	column-gap: 14px;
}

.search__check {
	flex: 0 0 100%;
}

.search__checklabel {
	font-size: 14px;
}

.search__item {
	padding: 18px 0;
}

.search__button [type=submit] {
	margin-top: 40px;
	max-width: 100%;
	width: 240px;
}

/* .archive {
	padding: 60px 0;
} */

.archive__title {
	font-size: 16px;
	margin-bottom: 40px;
	padding-bottom: 12px;
}

.archive__title::after {
	width: 36px;
}

.tags {
	margin-bottom: 28px;
}

.tags__list {
	gap: 10px;
}

.tags__item {}

.tags__link {
	padding: 5px 10px;
	font-size: 13px;
}

.search-form {
	height: 40px;
}

#sform {
	position: relative;
	width: 100%;
}

#sbox {
	height: 40px;
	padding: 0 14px;
	border-radius: 5px;
	outline: 0;
	background: #fff;
	/*検索窓の背景色*/
	border: none;
	font-size: 13px;
	width: calc(100% - 38px);
}

#sbtn {
	height: 40px;
	width: 40px;
	position: absolute;
	/* left: calc(100% - 50px); */
	right: 0;
	top: 0;
	background: #F29100;
	/*検索ボタンの色*/
	color: #fff;
	/*検索アイコンの色*/
	border: none;
	border-radius: 0 5px 5px 0;
}

#sbtn .fa-search {
	font-size: 20px;
	position: absolute;
	top: 30%;
	left: 10%;
}

#sbtn:before {
	font-family: FontAwesome;
	content: "\f002";
	transition: all 0.3s ease 0s;
}

#sbtn:hover {
	opacity: 0.8;
}

.search-result-text-position {
	margin-bottom: 28px;
}

}




