/*==========================================================================
# 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;
	background-color: #f8f8f8;
}

#main-content,
main {
	background-color: #f8f8f8;
	padding: 0 !important;
	margin: 0 !important;
}

.header {
	padding: 0;
	background: #f8f8f8;
}

.footer {
	margin: 0;
}

img {
	width: 100%;
	height: auto;
	max-width: 100%;
}

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

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

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

.footer__right {
	flex-shrink: 0;
	width: 500px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 48px;
}

.footer__search {
	width: 300px;
}

.footer__nav-cols {
	display: flex;
	gap: 120px;
	flex-wrap: wrap;
}

.footer__sns {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 80px;
	padding-top: 32px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__sns a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: #fff;
	transition: opacity 0.2s ease;
}

.footer__sns a:hover {
	opacity: 0.7;
}

.footer__sns svg {
	width: 22px;
	height: 22px;
	display: block;
}

.footer__copyright {
	margin-top: 24px;
	color: #fff;
	font-size: 12px;
	letter-spacing: 0.05em;
	text-align: center;
}

.footer__nav {
	min-width: 0;
}

.footer__nav-title {
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 20px;
	letter-spacing: 0.05em;
	line-height: 1.3;
}

.footer__nav-list li {
	display: flex;
	align-items: baseline;
	gap: 6px;
}

.footer__nav-list li::before {
	content: "－";
	color: #fff;
	font-size: 14px;
	flex-shrink: 0;
}

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

.footer__nav-list a {
	color: #fff;
	font-size: 14px;
	letter-spacing: 0.02em;
}

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

.header__inner {
	padding: 12px 40px;
}

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

.header__title {
	font-size: 20px;
	font-weight: 700;
	color: #62b850 !important;
}

.header__title-link {
	color: #62b850;
	text-decoration: none;
}

.header__button {
	background: #62b850;
	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;
	pointer-events: none;
	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__img:hover .gallery__link-position {
	opacity: 1;
	pointer-events: auto;
}
}

.gallery__link-buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
}

.gallery__link-btn {
	align-items: center;
	border: 1.5px solid #fff;
	border-radius: 30px;
	color: #fff;
	display: flex;
	gap: 5px;
	justify-content: center;
	padding: 10px 24px;
	text-decoration: none;
	transition: all 0.3s ease 0s;
}

@media (hover: hover) {
.gallery__link-btn:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: scale(1.05);
}
}

.gallery__link-text {
	color: #fff;
	display: inline-block;
	font-size: 13px;
}

.gallery__link-img {
	height: 16px;
	margin-top: -1px;
	width: 16px;
}

.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: #62b850;
	border-color: #62b850;
	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: #62b850;
	color: #fff;
	display: inline-block;
	padding: 6px 18px;
}

.search__item {
	border-bottom: 1px solid #62b850;
	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: #62b850;
	border: solid 1px #62b850;
	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: #62b850;
	border: 1px solid #62b850;
	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: #62b850;
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 80px;
	padding-bottom: 20px;
	position: relative;
	text-align: center;
}

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

.archive__title.has-description {
	margin-bottom: 40px;
}

.archive__description {
	color: #555;
	font-size: 15px;
	line-height: 1.8;
	margin: 0 auto 80px;
	max-width: 800px;
	text-align: center;
}

.archive__description p {
	margin: 0;
}

.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 #62b850;
	color: #333;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.tags__link:hover {
	background-color: #62b850;
	color: #fff;
	border-color: #62b850;
}

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


.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.search-form {
	width: 100%;
}

#sform {
	position: relative;
	display: flex;
	width: 100%;
	box-sizing: border-box;
}

#sbox {
	flex: 1;
	min-width: 0;
	height: 50px;
	padding: 0 20px;
	border-radius: 5px 0 0 5px;
	outline: 0;
	background: #fff;
	border: none;
	font-size: 14px;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
}

#sbtn {
	flex-shrink: 0;
	height: 50px;
	padding: 0 16px;
	background: #F29100;
	color: #fff;
	border: none;
	border-radius: 0 5px 5px 0;
	font-size: 14px;
	cursor: pointer;
	white-space: nowrap;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
}

#sbtn:before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 4px;
	vertical-align: middle;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat center / contain;
}

#sbtn:hover {
	opacity: 0.8;
}

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

.no-result {
	text-align: center;
	font-size: 16px;
	line-height: 2;
	padding: 60px 0;
	color: #555;
}

/* =============================================================
監修者
============================================================= */
.footer-supervisor {
	margin-top: 0;
	width: 100%;
}

.supervisor-card {
	background: #fff;
	border-radius: 10px;
	padding: 24px 20px;
	width: 100%;
}

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

.supervisor-icon {
	flex: 0 0 80px;
	height: 80px;
	border-radius: 50%;
	overflow: hidden;
}

.supervisor-icon img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.supervisor-label {
	font-size: 12px;
	font-weight: 700;
	color: #62b850;
}

.supervisor-name {
	font-size: 16px;
	font-weight: 700;
	margin-top: 2px;
	color: #333;
}

.supervisor-bio {
	font-size: 13px;
	line-height: 1.8;
	margin-top: 8px;
	color: #555;
}

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

.supervisor-card {
	padding: 20px 16px;
}

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

.supervisor-label {
	font-size: 11px;
}

.supervisor-name {
	font-size: 14px;
}

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

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

@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__right {
	width: 100%;
	gap: 20px;
}

.footer__search {
	width: 100%;
}

.footer__nav-cols {
	gap: 40px;
}

.footer__sns {
	margin-top: 56px;
	padding-top: 24px;
	gap: 16px;
}

.footer__sns a {
	width: 32px;
	height: 32px;
}

.footer__sns svg {
	width: 20px;
	height: 20px;
}

.footer__copyright {
	margin-top: 20px;
	font-size: 11px;
}

.footer__nav-title {
	font-size: 15px;
	margin-bottom: 16px;
}

.footer__nav-list li::before {
	font-size: 13px;
}

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

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

.header__inner {
	padding: 12px 20px;
}

.header__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;
}

.archive__title.has-description {
	margin-bottom: 24px;
}

.archive__description {
	text-align: left;
	font-size: 14px;
	margin-bottom: 40px;
}

.tags {
	margin-bottom: 28px;
}

.tags__list {
	gap: 10px;
}

.tags__item {}

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

.search-form {
	width: 100%;
}

#sform {
	display: flex;
	width: 100%;
}

#sbox {
	flex: 1;
	min-width: 0;
	height: 40px;
	padding: 0 14px;
	border-radius: 5px 0 0 5px;
	outline: 0;
	background: #fff;
	border: none;
	font-size: 13px;
}

#sbtn {
	flex-shrink: 0;
	height: 40px;
	padding: 0 14px;
	background: #F29100;
	color: #fff;
	border: none;
	border-radius: 0 5px 5px 0;
	font-size: 13px;
	cursor: pointer;
	white-space: nowrap;
}

#sbtn:before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-right: 4px;
	vertical-align: middle;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat center / contain;
}

#sbtn:hover {
	opacity: 0.8;
}

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

}


/*==========================================================================
クロージングセクション
========================================================================== */

:root {
	--dark-bg: #222831;
	--accent-primary: #2d4059;
	--accent-cta: #F29100;
	--accent-forest: #393e46;
	--brand-green: #00adb5;
	--accent-green: #27ae60;
	--accent-blue: #2d4059;
	--header-cyan: #27ae60;
	--text-white: #eeeeee;
	--text-dim: #929aab;
	--header-color: #00adb5;
	--transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	--border-radius-main: 40px;
}

.modern-closing {
	font-family: "Inter", "Noto Sans JP", sans-serif;
	padding: 0 40px 120px;
}

.modern-container {
	max-width: 1200px;
	margin: 0 auto;
	background: var(--dark-bg);
	border-radius: var(--border-radius-main);
	position: relative;
	overflow: hidden;
	display: flex;
	min-height: 480px;
	/* Instead of fixed aspect-ratio, use min-height for safety */
	box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

/* Background Accents */
.accent-top-left {
	position: absolute;
	top: -60px;
	left: -60px;
	width: 140px;
	height: 140px;
	background: var(--accent-green);
	border-radius: 50% 100% 50% 50%;
	transform: rotate(-15deg);
}

.accent-bottom-left {
	position: absolute;
	bottom: 10%;
	left: -20px;
	width: 100px;
	height: 100px;
	background: var(--accent-green);
	border-radius: 50%;
}

.modern-content {
	flex: 1;
	padding: 80px 60px;
	position: relative;
	z-index: 2;
	color: var(--text-white);
}

.modern-contact-label {
	font-size: 100px;
	font-weight: 800;
	line-height: 0.8;
	color: var(--header-cyan);
	margin-bottom: 10px;
	letter-spacing: -0.02em;
	font-family: 'Inter', sans-serif;
}

.modern-sub-label {
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 40px;
	color: var(--text-white);
}

.modern-title {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 48px;
	line-height: 1.6;
}

.modern-description {
	font-size: 14px;
	color: var(--text-dim);
	line-height: 1.8;
	max-width: 400px;
	margin-bottom: 40px;
}

.modern-btn {
	display: inline-flex;
	align-items: center;
	position: relative;
	background: #fff;
	border: 1px solid #F29100;
	color: #F29100;
	padding: 18px 50px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 700;
	font-size: 16px;
	transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
	overflow: hidden;
	z-index: 1;
}

.modern-btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 100%;
	background: #F29100;
	transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
	z-index: -1;
}

.modern-btn:hover {
	color: #fff;
}

.modern-btn:hover::before {
	width: 100%;
}

.modern-btn::after {
	content: "→";
	margin-left: 15px;
	font-size: 20px;
	transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.modern-btn:hover::after {
	transform: translateX(8px);
}

/* Visual Collage Wrapper */
.modern-visual {
	flex: 1.2;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.collage-wrapper {
	transform: rotate(-15deg) translateY(-20px) translateX(40px);
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	width: 140%;
}

.collage-item {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
	overflow: hidden;
}

.collage-item img {
	width: 100%;
	height: auto;
	display: block;
}

@media (max-width: 1024px) {
	.modern-container {
		flex-direction: column;
		aspect-ratio: auto;
		min-height: auto;
		border-radius: 30px;
	}

	.modern-content {
		padding: 60px 40px;
		text-align: center;
	}

	.modern-contact-label {
		font-size: 80px;
	}

	.modern-description {
		max-width: 100%;
		margin: 0 auto 40px;
	}

	.modern-visual {
		padding-bottom: 60px;
	}

	.collage-wrapper {
		transform: rotate(0) translateY(0) translateX(0);
		width: 100%;
		padding: 0 40px;
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 640px) {
	.modern-closing {
		padding: 0 15px 60px;
	}

	.modern-container {
		border-radius: 24px;
	}

	.modern-content {
		padding: 40px 20px;
	}

	.modern-contact-label {
		font-size: 50px;
	}

	.modern-sub-label {
		font-size: 14px;
		margin-bottom: 30px;
	}

	.modern-title {
		font-size: 16px;
		margin-bottom: 20px;
		line-height: 1.5;
	}

	.modern-description {
		font-size: 13px;
		margin-bottom: 30px;
	}

	.modern-btn {
		width: 100%;
		padding: 16px 20px;
		font-size: 15px;
		justify-content: center;
		box-sizing: border-box;
		/* Ensure padding doesn't affect width */
	}

	.collage-wrapper {
		grid-template-columns: repeat(2, 1fr);
		padding: 0 20px;
		gap: 10px;
	}

	.accent-top-left {
		width: 120px;
		height: 120px;
	}

	.accent-bottom-left {
		width: 60px;
		height: 60px;
	}
}


/*==========================================================================
# パンくずリスト
========================================================================== */

.breadcrumb {
	padding: 12px 0;
	font-size: 12px;
	background-color: #333;
	border-bottom: 1px solid #222;
}

.breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	list-style: none;
}

.breadcrumb__item {
	display: flex;
	align-items: center;
	color: #ccc;
}

.breadcrumb__item:not(:last-child)::after {
	content: ">";
	margin: 0 8px;
	color: #888;
}

.breadcrumb__link {
	color: #ccc;
	text-decoration: none;
}

.breadcrumb__link:hover {
	text-decoration: underline;
	color: #62b850;
}

.breadcrumb__current {
	color: #fff;
}


/*==========================================================================
# 個別投稿ページ
========================================================================== */

.single {
}

.single1 {
	padding: 80px 0 100px;
}

.single__layout {
	display: flex;
	gap: 60px;
}

.single__left {
	flex: 0 0 55%;
	max-width: 55%;
}

.single__right {
	flex: 1;
	min-width: 0;
}

.single__title {
	font-size: 22px;
	font-weight: 700;
	margin-bottom: 16px;
	line-height: 1.5;
}

.single__meta {
	display: flex;
	gap: 16px;
	margin-bottom: 32px;
	font-size: 13px;
	color: #888;
}

.single__date-label {
	margin-right: 4px;
}

.single__thumbnail {
	position: sticky;
	top: 20px;
}

.single__thumbnail img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.single__table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 40px;
	font-size: 14px;
	table-layout: fixed;
}

.single__table th,
.single__table td {
	padding: 14px 16px;
	border: 1px solid #e0e0e0;
	text-align: left;
	vertical-align: middle;
	line-height: 1.6;
}

.single__table th {
	width: 120px;
	background: #f5f5f5;
	font-weight: 700;
	font-size: 13px;
	color: #555;
	white-space: nowrap;
}

.single__table td {
	background: #fff;
}

.single__tag-link {
	display: inline-block;
	padding: 2px 10px;
	background: #f0f0f0;
	color: #333;
	text-decoration: none;
	border-radius: 4px;
	font-size: 12px;
	margin: 2px 4px 2px 0;
}

.single__tag-link:hover {
	background: #e0e0e0;
}

.single__tag-link--feature {
	background: #e8f4fd;
	color: #2a6496;
}

.single__link {
	margin-bottom: 40px;
}

.single__link-btn {
	display: inline-block;
	padding: 14px 32px;
	background: #62b850;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	transition: opacity 0.3s;
}

.single__link-btn:hover {
	opacity: 0.8;
}

.single__content {
	line-height: 1.8;
	margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
	.single {
		padding: 40px 0 60px;
	}

	.single__layout {
		flex-direction: column;
		gap: 32px;
	}

	.single__left {
		flex: none;
		max-width: 100%;
	}

	.single__thumbnail {
		position: static;
	}

	.single__meta {
		margin-bottom: 24px;
	}

	.single__table {
		margin-bottom: 28px;
	}

	.single__table th {
		width: 100px;
	}

	.single__link {
		margin-bottom: 28px;
	}
}


/*==========================================================================
# 固定ページ
========================================================================== */

.page {
	padding: 40px 0;
}

.page__title {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 24px;
	line-height: 1.5;
}

.page__content {
	line-height: 1.8;
}


/*==========================================================================
# スキップリンク
========================================================================== */

.skip-link {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal;
}

.skip-link:focus {
	clip: auto;
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	width: auto;
	height: auto;
	padding: 12px 24px;
	background: #62b850;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	z-index: 999;
	outline: 2px solid #F29100;
}


/*==========================================================================
# フォーカス状態（アクセシビリティ）
========================================================================== */

*:focus-visible {
	outline: 2px solid #F29100;
	outline-offset: 2px;
}

.header__button:focus-visible {
	outline: 2px solid #F29100;
	outline-offset: 2px;
}

.search__close:focus-visible {
	outline: 2px solid #F29100;
	outline-offset: 2px;
}

.tags__link:focus-visible {
	outline: 2px solid #F29100;
	outline-offset: 2px;
}

.pagination .page-numbers:focus-visible {
	outline: 2px solid #F29100;
	outline-offset: 2px;
}

.gallery__link-btn:focus-visible {
	outline: 2px solid #F29100;
	outline-offset: 2px;
}

.gallery__img:focus-within .gallery__link-position {
	opacity: 1;
	pointer-events: auto;
}

.gallery__img:focus-within::before {
	opacity: 1;
}


/*==========================================================================
# 404ページ
========================================================================== */

.error404 {
	padding: 120px 0;
	text-align: center;
}

.error404__title {
	font-size: 80px;
	font-weight: 800;
	color: #62b850;
	line-height: 1;
	margin-bottom: 16px;
	font-family: "Inter", sans-serif;
}

.error404__text {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 12px;
}

.error404__desc {
	font-size: 14px;
	color: #666;
	margin-bottom: 40px;
}

.error404__btn {
	display: inline-block;
	padding: 14px 32px;
	background: #62b850;
	color: #fff;
	text-decoration: none;
	border-radius: 50px;
	font-size: 14px;
	font-weight: 700;
	transition: opacity 0.3s;
}

.error404__btn:hover {
	opacity: 0.8;
}

@media screen and (max-width: 767px) {
.error404 {
	padding: 80px 0;
}

.error404__title {
	font-size: 50px;
}

.error404__text {
	font-size: 16px;
}

.error404__desc {
	font-size: 13px;
	margin-bottom: 32px;
}
}