/* カード本体 */
.clickable-card {
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    padding: 1.5rem 3rem 1.5rem 1.5rem;
    transition: box-shadow 0.25s ease;
    cursor: pointer;
  }
   
  .clickable-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  }
   
  /* 右側の矢印 */
  .clickable-card::after {
    content: "\203A"; /* › */
    position: absolute;
    right: 1.25rem;
    top: 1.5rem;
    font-size: 1.5rem;
    color: #e06b6b;
    font-weight: 300;
    line-height: 1;
  }
   
  /* 見出し（タイトル） */
  .clickable-card .wp-block-heading {
    margin: 0 0 0.75rem;
    padding: 0;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.5;
    color: #333;
  }
   
  /* --- リンクをカード全体に広げる --- */
  .clickable-card .wp-block-heading a {
    text-decoration: none;
    color: inherit;
  }
   
  .clickable-card .wp-block-heading a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
  }
   
  /* 説明文 */
  .clickable-card p {
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    line-height: 1.8;
    color: #555;
  }
   
  /* ----- カラムで横並び ----- */
  .wp-block-columns .clickable-card {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

/*--------------------------------------------------
	交通アクセスページ
--------------------------------------------------*/

/* タブ切り替え */
body.page-access .access-tabs,
body.page-template-page-access-in-toyama-php .access-tabs {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	width: 100%;
	max-width: var(--max-content-width);
	margin: 40px auto 0;
	padding: 0 var(--container-padding);
}
body.page-access .access-tabs__link,
body.page-template-page-access-in-toyama-php .access-tabs__link {
	display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 46px;
    padding: 0 48px;
    border: 1px solid #B9B9B9;
    border-radius: var(--radius-full);
    background: #B9B9B9;
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
}
body.page-access .access-tabs__link.-active,
body.page-template-page-access-in-toyama-php .access-tabs__link.-active {
    background: var(--color-black);
    color: var(--color-white);
}
body.page-access .access-tabs__link:hover,
body.page-template-page-access-in-toyama-php .access-tabs__link:hover {
	opacity: 0.8;
}

/* タブコンテンツ */
body.page-access .access-content,
body.page-template-page-access-in-toyama-php .access-content {

}

/* セクションタイトル */
body.page-access .access-section-title,
body.page-template-page-access-in-toyama-php .access-section-title {
	font-size: clamp(1.25rem, 1.25rem + 0.75vw, 2rem);
	font-weight: 700;
	text-align: center;
	margin: 87px 0 30px;
}

/* 交通手段ナビゲーション */
body.page-access .access-nav {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin-bottom: 40px;
	background: var(--color-white);
	padding: 30px 0 0;
}
body.page-access .access-nav__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--color-black);
	transition: opacity 0.25s;
}
body.page-access .access-nav__item:hover {
	opacity: 0.7;
}
body.page-access .access-nav__icon {
	width: 56px;
	height: 56px;
	object-fit: contain;
}
body.page-access .access-nav__label {
	font-size: 0.8125rem;
	font-weight: 700;
	white-space: nowrap;
}
body.page-access .access-nav__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin-bottom: -12px;
	border-radius: 50%;
	background: var(--color-black);
	font-size: 0;
	color: transparent;
	overflow: visible;
}
body.page-access .access-nav__arrow::before {
	content: '';
	display: block;
	width: 12px;
	height: 12px;
	border-right: 2.5px solid var(--color-white);
	border-bottom: 2.5px solid var(--color-white);
	transform: rotate(45deg);
	margin-top: -6px;
}

body.page-access .access-content__inner,
body.page-template-page-access-in-toyama-php .access-content__inner {
	max-width: var(--max-content-width);
	width: 100%;
	margin: 95px auto 0;
	padding: 0 var(--container-padding);
}
/* 紹介文 */
body.page-access .access-intro {
	max-width: calc(var(--max-content-width) - 180px);
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 72px;
}
body.page-access .access-intro p {
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 2.1;
}

/* ルートマップ */
body.page-access .access-map {
	margin-bottom: 60px;
	border-radius: 40px;
	overflow: hidden;
	text-align: center;
}
body.page-access .access-map__image {
	max-width: 100%;
	height: auto;
}

/* ===== 各交通手段セクション ===== */
body.page-access .access-section {
	margin-bottom: 80px;
	scroll-margin-top: 100px;
}

/* セクション見出し */
body.page-access .access-section__heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-bottom: 40px;
}
body.page-access .access-section__icon {
	width: 80px;
	height: 80px;
	padding: 17.5px;
	border-radius: 50%;
	background: var(--color-white);
	box-sizing: content-box;
	object-fit: contain;
}
body.page-access .access-section__title {
	font-size: 1.25rem;
	font-weight: 700;
	text-align: center;
}

/* ===== ルートテーブル ===== */
body.page-access .access-routes-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-bottom: 43px;
}
body.page-access .access-routes {
	width: 100%;
	min-width: 600px;
	border-collapse: collapse;
	font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
}
body.page-access .access-route__from,
body.page-access .access-route__to,
body.page-access .access-route__info {
	padding: 20px 16px;
	border-top: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	text-align: center;
	vertical-align: middle;
}
body.page-access .access-route__from,
body.page-access .access-route__to {
	width: 25%;
	font-size: 0.875rem; /* 14px */
	white-space: nowrap;
}
body.page-access .access-route__info {
	width: 30%;
}
body.page-access .access-route__arrow {
	padding: 0 16px;
	font-size: 1.125rem;
	color: #666;
	text-align: center;
	vertical-align: middle;
}
body.page-access .access-route__name {
	display: block;
	font-size: 0.625rem; /* 10px */
	color: #777;
	line-height: 1.5;
	margin-top: 4px;
}
body.page-access .access-route__time {
	display: block;
	font-size: 0.875rem; /* 14px */
	color: var(--color-black);
}

/* ===== リンクボックス ===== */
body.page-access .access-links {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 80px;
}
body.page-access .access-link {
	display: inline-flex;
	align-items: center;
	position: relative;
	max-width: 388px;
	width: 100%;
	height: 56px;
	padding: 12px 48px 12px 1.2em;
	border: 1px solid var(--gray-700);
	border-radius: var(--radius-full);
	background: var(--color-white);
	color: var(--gray-700);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	transition: opacity 0.25s;
}
body.page-access .access-link::after {
	content: '';
	display: block;
	position: absolute;
	top: calc(50% - 9px);
	right: 16px;
	width: 18px;
	height: 18px;
	background: url(../images/icon_blank_gr.svg) no-repeat center center / contain;
}
body.page-access .access-link:hover {
	opacity: 0.7;
}
body.page-access .access-link__url {
	display: none;
}
body.page-access .access-link__icon {
	display: none;
}

/* ===== サブセクション（空港→駅） ===== */
body.page-access .access-subsection {
	margin: 32px 0 24px;
}
body.page-access .access-subsection__title {
	font-size: 0.9375rem;
	font-weight: 700;
	margin-bottom: 16px;
}
body.page-access .access-transport-cards {
	display: flex;
	justify-content: center;
	gap: 8px;
}
body.page-access .access-transport-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-radius: 100px;
	background: var(--color-white);
}
body.page-access .access-transport-card__icon {
	width: 32px;
	height: 32px;
	object-fit: contain;
}
body.page-access .access-transport-card__time {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
}
body.page-access .access-transport-card__time span {
	font-size: 0.75rem; /* 12px */
	font-weight: 700;
}

/* ===== 自動車マップ ===== */
body.page-access .access-car-map {
	margin-bottom: 32px;
	text-align: center;
}
body.page-access .access-car-map__caption {
	font-size: 0.875rem;
	color: #e06b6b;
	font-weight: 700;
	margin-bottom: 16px;
}
body.page-access .access-car-map__image {
	max-width: 100%;
	height: auto;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
}

/* ===== 富山市内での交通 アンカーナビ ===== */
body.page-template-page-access-in-toyama-php .access-in-nav {
	display: flex;
	align-items: center;
	gap: 0;
	border: 1px solid #ccc;
	border-radius: var(--radius-full);
	overflow: hidden;
	margin-top: 60px;
}
body.page-template-page-access-in-toyama-php .access-in-nav__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 24px;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--color-black);
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.25s;
}
body.page-template-page-access-in-toyama-php .access-in-nav__item:hover {
	opacity: 0.7;
}
body.page-template-page-access-in-toyama-php .access-in-nav__item::before {
	content: '';
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--color-black);
}
body.page-template-page-access-in-toyama-php .access-in-nav__item::after {
	content: '';
	position: absolute;
	width: 6px;
	height: 6px;
	border-right: 2px solid var(--color-white);
	border-bottom: 2px solid var(--color-white);
	transform: rotate(-45deg);
}
body.page-template-page-access-in-toyama-php .access-in-nav__item {
	position: relative;
	padding-left: 40px;
}
body.page-template-page-access-in-toyama-php .access-in-nav__item::before {
	position: absolute;
	left: 14px;
}
body.page-template-page-access-in-toyama-php .access-in-nav__item::after {
	left: 21px;
}

/*--------------------------------------------------
	レスポンシブ（768px以上）
--------------------------------------------------*/
@media (min-width: 768px) {
	body.page-access .access-tabs,
	body.page-template-page-access-in-toyama-php .access-tabs {
		flex-direction: row;
		justify-content: center;
		gap: 36px;
	}
	body.page-access .access-nav {
		gap: 75px;
		padding: 58px 0 0;
	}
	body.page-access .access-nav__icon {
		width: 80px;
		height: 80px;
	}
	body.page-access .access-nav__label {
		font-size: 1rem;
	}
	body.page-access .access-nav__item {
		gap: 20px;
	}
	body.page-access .access-transport-cards {
		justify-content: flex-start;
		gap: 16px;
	}
	body.page-access .access-transport-card {
		gap: 22px;
		padding: 16px 32px;
	}
	body.page-access .access-transport-card__icon {
		width: 46px;
		height: 46px;
	}
	body.page-access .access-transport-card__time {
		font-size: 1.25rem;
	}
}

/*--------------------------------------------------
	ボランティアガイド アーカイブ
--------------------------------------------------*/

.volunteer-archive .archive__wrapper {
	background: inherit;
}
.volunteer-archive .archive__list {
	background: inherit;
}

/* コンテンツ・入会案内コンテナ */
.volunteer-archive .archive__content {
	max-width: var(--max-content-width);
	width: 100%;
	margin: 40px auto 0;
	padding: 0 var(--container-padding);
}

/* 数字（丸背景） */
.volunteer-archive .archive__index {
	position: absolute;
	top: -12px;
	left: -12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #4DBCEB;
	color: var(--color-white);
	font-family: var(--font-montserrat);
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
	z-index: 1;
}

/* エリアごとの丸色 */
.volunteer-archive .archive__index.archive__area--toyama-central {
	background: #4DBCEB;
}
.volunteer-archive .archive__index.archive__area--toyama-bay {
	background: #4DBCEB;
}
.volunteer-archive .archive__index.archive__area--kureha {
	background: #4DBCEB;
}
.volunteer-archive .archive__index.archive__area--fuchu-yatsuo {
	background: #F08C1F;
}
.volunteer-archive .archive__index.archive__area--oyama {
	background: #85BB34;
}
.volunteer-archive .archive__index.archive__area--osawano-hosoiri {
	background: #E66277;
}


/*--------------------------------------------------
	ボランティアガイド 入会案内カード
--------------------------------------------------*/

.volunteer-entry {
	margin-top: 40px;
	margin-bottom: 140px;
}
.volunteer-entry__card {
	border: 3px solid #85BB34;
	border-radius: 36px;
	overflow: hidden;
	background: var(--color-white);
}
.volunteer-entry__header {
	position: relative;
	background: rgba(133, 187, 52, 0.2);
	padding: 24px 0 24px;
	text-align: center;
}
.group_entry .volunteer-entry__icon {
	position: absolute;
	left: 25%;
	bottom: -50px;
	width: 60px;
	height: auto;
}
.group_no_entry .volunteer-entry__icon {
	position: absolute;
	left: 20%;
	bottom: -35px;
	width: 105px;
	height: auto;
}
.volunteer-entry__title {
	font-size: 1.125rem;
	font-weight: 700;
	text-align: center;
	margin: 0;
}
.volunteer-entry__body {
	padding: 45px 15px 45px;
	max-width: 780px;
	margin-left: auto;
	margin-right: auto;
}
.volunteer-entry__date {
	text-align: right;
	font-size: 0.875rem;
	margin: 0 0 16px;
}
.volunteer-entry__description {
	font-size: 0.9375rem;
	line-height: 2;
	margin-bottom: 24px;
}
.volunteer-entry__info {
	margin: 0;
	border-top: 1px dotted #85BB34;
}
.volunteer-entry__info-row {
	display: flex;
	gap: 24px;
	padding: 16px;
	border-bottom: 1px dotted #85BB34;
}
.volunteer-entry__info-row dt {
	flex-shrink: 0;
	width: 100px;
	font-weight: 700;
	font-size: 0.875rem;
}
.volunteer-entry__info-row dd {
	margin: 0;
	font-size: 0.875rem;
}
.volunteer-entry__action {
	padding: 24px 32px 32px;
	text-align: center;
}
.volunteer-entry__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	min-width: 280px;
	padding: 16px 40px;
	border-radius: var(--radius-full);
	background: var(--color-black);
	color: var(--color-white);
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	transition: opacity 0.25s;
}
.volunteer-entry__button:hover {
	opacity: 0.8;
}
.volunteer-entry__button svg {
	flex-shrink: 0;
}


/*--------------------------------------------------
	お知らせ アーカイブ（リスト表示）
--------------------------------------------------*/

.news-archive .archive__wrapper {
	max-width: var(--max-content-width);
	width: 100%;
	margin: 50px auto 30px;
	padding: 0 var(--container-padding);
	background: inherit;
}
.news-archive .archive__list {
	display: block;
	padding: 0;
	border-radius: 0;
	background: none;
	border-top: 1px solid var(--gray-300);
}
.news-archive .archive__item {
	display: block;
	width: 100%;
	border-bottom: 1px solid var(--gray-300);
}
.news-archive .archive__item > a {
	display: block;
	padding: 16px 0;
	text-decoration: none;
	color: var(--color-black);
}
.news-archive .archive__date {
	display: block;
	margin-bottom: 4px;
	font-size: 0.8125rem;
	font-family: var(--font-montserrat);
	color: var(--gray-600);
}
.news-archive .archive__item .archive__title {
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.71;
	margin: 0;
}

.news-archive .archive__pagination{
	background: inherit;
}

@media (min-width: 768px) {
	.news-archive .archive__wrapper {
		margin-top: 100px;
		margin-bottom: 60px;
	}
	.news-archive .archive__item > a {
		display: flex;
		gap: 40px;
	}
	.news-archive .archive__date {
		margin-top: 2px;
		margin-bottom: 0;
	}
}

/*--------------------------------------------------
	ニュース シングル
--------------------------------------------------*/

.news-single .single__date {
	display: block;
	text-align: right;
}

/*--------------------------------------------------
	パンフレットギャラリ イントロ・ステップ
--------------------------------------------------*/

body.post-type-archive.post-type-archive-pamphlet .pamphlet-archive__intro {
	max-width: var(--max-content-width);
	margin: 0 auto 40px;
	padding: 0 var(--container-padding);
}
body.post-type-archive.post-type-archive-pamphlet .pamphlet-archive__intro-text {
	font-size: 0.875rem;
	line-height: 2;
	margin: 0 0 32px;
}
body.post-type-archive.post-type-archive-pamphlet .pamphlet-archive__steps {
	list-style: none !important;
	margin: 0;
	padding: 0;
	counter-reset: none;
	max-width: 640px;
}
body.post-type-archive.post-type-archive-pamphlet .pamphlet-archive__step {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 24px;
	list-style: none !important;
	text-indent: 0 !important;
}
body.post-type-archive.post-type-archive-pamphlet .pamphlet-archive__step::before {
	display: none !important;
}
body.post-type-archive.post-type-archive-pamphlet .pamphlet-archive__step:last-child {
	margin-bottom: 0;
}
body.post-type-archive.post-type-archive-pamphlet .pamphlet-archive__step-number {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--color-black);
	color: var(--color-white);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1;
}
body.post-type-archive.post-type-archive-pamphlet .pamphlet-archive__step-body {
	flex: 1;
}
body.post-type-archive.post-type-archive-pamphlet .pamphlet-archive__step-title {
	font-size: 0.9375rem;
	font-weight: 700;
	margin: 0 0 4px;
	line-height: 1.8;
}
body.post-type-archive.post-type-archive-pamphlet .pamphlet-archive__step-text {
	font-size: 0.8125rem;
	line-height: 1.8;
	margin: 0;
	color: var(--gray-600);
}

@media (min-width: 768px) {
	body.post-type-archive.post-type-archive-pamphlet .pamphlet-archive__intro {
		padding: 0;
	}
	body.post-type-archive.post-type-archive-pamphlet .pamphlet-archive__steps {
		margin-left: 6em;
	}
}

/*--------------------------------------------------
	パンフレット申込フォーム 利用規約
--------------------------------------------------*/

body.page-pamphlet_contact .page__pamphlet-contact-terms {
	margin-bottom: 40px;
}
body.page-pamphlet_contact .page__pamphlet-contact-terms-title {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 0;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--color-black);
}
body.page-pamphlet_contact .page__pamphlet-contact-terms-body {
	/* border: 1px solid #ccc; */
	/* padding: 20px; */
	margin-top: 16px;
}
body.page-pamphlet_contact .page__pamphlet-contact-terms-body p {
	margin: 0;
	font-size: 0.875rem;
	line-height: 2;
}

@media (min-width: 768px) {
	body.page-pamphlet_contact .page__pamphlet-contact-terms {
		max-width: 780px;
		margin-left: auto;
		margin-right: auto;
	}
}
