@charset "utf-8";
/* guardian ページ専用スタイル */

.section--guardian {
	margin-top: 40px;
}

/* ハンバーガーメニュー時のロゴ切り替え(下層ページのみ） */
.header__logo-img--normal {
	display: none;
}

.header__logo.is-visible .header__logo-img--white {
	display: none;
}

.header__logo.is-visible .header__logo-img--normal {
	display: block;
}

.hero {
	background: #f7eff0;
	padding-bottom: 60px;
}

.hero__container {
	aspect-ratio: 750/1084;
	position: relative;
}

.hero__image {
	position: relative;
	height: 100%;
	width: 100%;
}

.hero__tittle {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	font-size: 2.7rem;
	font-weight: 500;
	text-align: center;
	width: 100%;
	letter-spacing: 0.14em;
	text-shadow: 0 0 4px #3b3b3b, 0 0 8px #3b3b3b, 0 0 12px #3b3b3b;
}

.hero__mask {
	bottom: 0;
	position: absolute;
	width: 100%;
}

.hero__logo {
	bottom: 0;
	left: 0;
	margin: 0 auto;
	position: absolute;
	right: 0;
	width: 85px;
}

.hero__text {
	margin-top: 30px;
	padding: 0 20px;
}

.section {
	position: relative;
}

.section__title .title__lang {
	display: block;
}

.section__title .title__lang--en {
	color: #e07f81;
	font-size: 1.2rem;
	font-weight: 700;
	text-transform: uppercase;
}

.section__title .title__lang--jp {
	font-size: 2.3rem;
	font-weight: 500;
}

.section__title .title--center {
	text-align: center;
}

.section__title .title--left .title__lang--en {
	margin-bottom: 10px;
}

.section--guardian {
	padding-bottom: 80px;
	padding-top: 70px;
}

/* =====================
   #guardian (Login Page)
   ===================== */

#guardian .guardian__text {
	margin-top: 30px;
	margin-bottom: 36px;
	font-size: 1.4rem;
	font-weight: 400;
}

/* =====================
   #guardian シンプル一覧
   ===================== */
#guardian .guardian-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#guardian .guardian-list li {
	display: flex;
	align-items: baseline;
	gap: 4px;
	padding: 20px 0 16px;
	border-bottom: 1px dotted #cccccc;
	flex-direction: column;
}

#guardian .guardian-list li:first-child {
	padding: 0 0 10px;
}

#guardian .guardian-list time {
	color: #191e1f;
	font-weight: 500;
	letter-spacing: .05em;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

#guardian .guardian-list time::before {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background-color: #e07f81;
}

#guardian .guardian-list a {
	color: #e07f81;
	font-weight: 400;
	position: relative;
	padding-bottom: 2px;
	border-bottom: 1px solid #e07f81;
	text-decoration: none;
}

#guardian .guardian-list a:hover {
	opacity: 1;
	border-bottom: none;
}

#guardian .guardian-list {
	margin-top: 50px;
}

/* =====================
   Pager
   ===================== */
.pager {
	margin: 32px 0 50px;
	text-align: center;
}

.pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
}

/* Page Numbers (1, 2, 3...) */
.pagination__item a,
.pagination__item span {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid #e07f81;
	background: #fff;
	color: #e07f81;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.5rem;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination__item a:hover {
	background: #e07f81;
	color: #fff;
}

.pagination__item.is-current span {
	background: #e07f81;
	color: #fff;
}

/* Next / Prev / Last Buttons */
.pagination__next a {
	width: 60px;
	padding: 0 4px;
	display: inline-grid;
	grid-auto-flow: column;
	place-items: center;
	gap: 0px;
	font-size: 1.4rem;
	font-weight: 400;
	white-space: nowrap;
	transition: background-color 0.3s ease, color 0.3s ease;

	/* Shared base styles */
	height: 32px;
	border: 1px solid #e07f81;
	background: #fff;
	color: #e07f81;
	text-decoration: none;
}

.pagination__next a:hover {
	background: #e07f81;
	color: #fff;
}

.pagination__arrow {
	font-size: 20px;
	line-height: 1;
}

/* Last Page Button (double arrow) */
.pagination__next.-warp a {
	width: 32px;
	height: 32px;
	padding: 0;
	display: grid;
	place-items: center;
	transition: background-color 0.3s ease;
}

.pagination__next.-warp a:hover {
	background: #e07f81;
}

.pagination__next a img {
	max-width: 6px;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Arrow Image Toggle Logic */
.pagination__next a .arrow-white,
.pagination__next.-warp a .arrow-double-white {
	display: none;
}

.pagination__next a:hover .arrow-normal {
	display: none;
}

.pagination__next a:hover .arrow-white {
	display: inline-block;
}

.pagination__next.-warp a .arrow-double-normal {
	max-width: 10px;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.pagination__next.-warp a:hover .arrow-double-normal {
	display: none;
}

.pagination__next.-warp a:hover .arrow-double-white {
	display: inline-block;
	max-width: 10px;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* =====================
   Archive Select
   ===================== */
.archive-select.-category {
	margin-bottom: 2.4rem;
}

.archive-select__header {
	background: #e07f81;
	padding: 10px 20px;
	text-align: center;
}

.archive-select__title {
	color: #fff;
	font-size: 1.7rem;
	font-weight: 500;
	margin: 0;
}

.archive-select__body {
	background: #fff;
	padding: 0;
	text-align: center;
}

.archive-select__wrapper {
	position: relative;
	display: inline-block;
	max-width: 400px;
	width: 100%;
}

.archive-select__select {
	width: 100%;
	padding: 21px 14px 21px 12px;
	border: 1px solid #e0e0e0;
	background: #fff;
	color: #191e1f;
	font-size: 1.5rem;
	border-radius: 0;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
}

.archive-select__wrapper::after {
	content: "";
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 8px solid #e07f81;
	pointer-events: none;
}

.archive-select__select:hover {
	border-color: #e07f81;
}

/* =====================
   Logged In Layout
   ===================== */

.guardian-columns {
	display: flex;
	justify-content: space-between;
	gap: 60px;
	margin-top: 0;
}

@media (max-width: 900px) {
	.guardian-columns {
		flex-direction: column;
		gap: 40px;
	}
}

.guardian-main {
	flex: 1;
	width: 100%;
	/* Ensure it takes full width in flex item context if needed */
}

.guardian-side {
	width: 300px;
	flex-shrink: 0;
}

@media (max-width: 900px) {
	.guardian-side {
		width: 100%;
	}
}

.guardian-item {
	border-bottom: 1px dotted #ccc;
	padding: 15px 0;
	display: block;
	/* dl defaults to block but ensuring */
}

.guardian-item dt {
	margin-bottom: 8px;
	font-size: 0.95em;
	color: #666;
	display: flex;
	align-items: center;
	gap: 10px;
}

.guardian-item dt span.date {
	font-family: 'Barlow', sans-serif;
	color: #999;
}

.guardian-item dt span.category {
	background: #e07f81;
	color: #fff;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 0.8em;
	line-height: 1;
}

.guardian-item dd {
	margin: 0;
	padding-left: 0;
	/* Reset default dd margin */
}

.guardian-item dd a {
	color: #333;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.3s;
	font-size: 1.1rem;
	display: block;
}

.guardian-item dd a:hover {
	color: #e07f81;
	opacity: 0.8;
}

/* Blog Navigation */
.blog-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	padding: 0;
	margin: 30px 0;
}

.blog-nav li a {
	display: block;
	padding: 8px 16px;
	background: #f7eff0;
	color: #e07f81;
	border-radius: 20px;
	text-decoration: none;
	font-size: 0.9rem;
	transition: all 0.3s;
}

.blog-nav li a:hover {
	background: #e07f81;
	color: #fff;
}

/* Blog List Grid */
.blog-list-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	margin-top: 30px;
}

@media (max-width: 600px) {
	.blog-list-container {
		grid-template-columns: 1fr;
	}
}

.blog-item {
	background: #fff;
}

.blog-item a {
	text-decoration: none;
	color: inherit;
	display: block;
}

.blog-thumb {
	width: 100%;
	aspect-ratio: 4/3;
	overflow: hidden;
	border-radius: 10px;
	margin: 0 0 15px;
}

.blog-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.blog-item a:hover .blog-thumb img {
	transform: scale(1.05);
}

.blog-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
	font-size: 0.9rem;
	color: #999;
}

.blog-meta time {
	font-family: 'Barlow', sans-serif;
}

.blog-cat {
	color: #e07f81;
}

.blog-title {
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 10px;
	line-height: 1.4;
	color: #333;
}

.blog-excerpt {
	font-size: 0.95rem;
	color: #666;
	line-height: 1.6;
}

/* Side Navigation */
.side-nav ul {
	list-style: none;
	padding: 0;
	margin: 0 0 40px;
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden;
}

.side-nav li {
	border-bottom: 1px solid #eee;
}

.side-nav li:last-child {
	border-bottom: none;
}

.side-nav a {
	display: block;
	padding: 18px 20px;
	color: #333;
	text-decoration: none;
	background: #fff;
	transition: background 0.3s;
	font-weight: 500;
	position: relative;
}

.side-nav a::after {
	content: "";
	/* Arrow icon could go here */
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	width: 8px;
	height: 8px;
	border-top: 2px solid #ccc;
	border-right: 2px solid #ccc;
	rotate: 45deg;
}

.side-nav a:hover {
	background: #fdf5f6;
	color: #e07f81;
}

.side-nav a:hover::after {
	border-color: #e07f81;
}

.side-nav .btn-logout {
	background: #f7eff0;
	color: #e07f81;
	text-align: center;
}

.side-nav .btn-logout::after {
	display: none;
	/* No arrow for logout usually, or keep it */
}

/* Side Banners */
.side-banners ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.side-banners li {
	margin-bottom: 15px;
}

.side-banners img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	transition: opacity 0.3s;
}

.side-banners a:hover img {
	opacity: 0.8;
}

.tel-link a {
	color: #333;
	pointer-events: none;
	text-decoration: none;
}

@media (max-width: 768px) {
	.tel-link a {
		pointer-events: auto;
	}
}

/* =====================
   Article List (Card Style for Guardian Top)
   ===================== */
ul.article_list {
	list-style: none;
	padding: 0;
	margin: 0;
}

ul.article_list li {
	margin-bottom: 4rem;
}

ul.article_list li a {
	display: block;
	border-radius: 30px 0 0 30px;
	text-decoration: none;
	transition: opacity 0.3s;
}

ul.article_list li a:hover {
	opacity: 0.8;
}

.article_image {
	width: 100%;
	height: 20rem;
}

.article_image img {
	border-radius: 30px 0 0 0px;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article_text {
	background-color: #f7eff0;
	padding: 2rem;
	border-radius: 0 0 0 30px;
}

.text_top {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.text_top .date {
	font-size: 1.4rem;
	color: #999999;
	letter-spacing: 0.15em;
}

.category {
	background-color: #e07f81;
	color: #fff;
	font-size: 1.4rem;
	letter-spacing: 0.15em;
	border-radius: 2.5px;
	line-height: 17px;
	height: 17px;
	padding: 0 5px;
	display: inline-flex;
	align-items: center;
}

.article_title {
	color: #191e1f;
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: 0.15em;
	margin-top: 0.8rem;
	line-height: 1.5;
}

/* =====================
   Category Links (Guardian Top)
   ===================== */
ul.link {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
	margin-bottom: 6rem;
	list-style: none;
	padding: 0;
}

ul.link li {
	width: calc((100% - 20px) / 3);
}

ul.link li a {
	display: block;
	text-align: center;
	font-size: 1.2rem;
	letter-spacing: 0.14em;
	color: #191e1f;
	font-weight: 500;
	background-color: #f7eff0;
	border-radius: 10px;
	padding: 24px 0 32px;
	position: relative;
	transition: opacity 0.5s ease;
	text-decoration: none;
}

ul.link li a::after {
	content: "";
	position: absolute;
	bottom: 13px;
	left: 50%;
	transform: translateX(-50%) rotate(-90deg);
	width: 10px;
	height: 10px;
	background: url(./../../images/policy/arrow.png) no-repeat center;
	background-size: contain;
}

ul.link li a:hover {
	background-color: #eedae0;
	opacity: 1;
}

@media (max-width: 768px) {
	ul.link li {
		width: calc((100% - 10px) / 2);
	}
}