@charset "UTF-8";

/*============================================================
  ファイル名：hyakunin-custom.css
  作成日　　：2026-07-12
  更新日　　：2026-07-26

  内容：
  「百人一首てつログ」専用の追加スタイル

  主な対象：
  ・百人一首の記事本文
  ・トップページのメインビジュアル
  ・トップページのボタン
  ・ヘッダーとグローバルメニュー
  ・トップページ「百人一首とは」セクション
  ・百人一首個別ページの画像
  ・パソコン、タブレット、スマートフォン表示

  配置先：
  /wp-content/themes/swell_child/assets/css/
  hyakunin-custom.css
============================================================*/


/*============================================================
  0. 外部フォントの読み込み
============================================================*/

/*
 * トップページのタイトルで使用する、
 * Google Fonts「Yuji Syuku」を読み込む。
 *
 * 読み込みに失敗した場合は、
 * CSSで指定している游明朝などの代替フォントが使用される。
 */
@import url("https://fonts.googleapis.com/css2?family=Yuji+Syuku&display=swap");


/*============================================================
  1. 百人一首個別ページの記事本文
============================================================*/

/*------------------------------------------------------------
  1-1. 個別ページの通常本文
------------------------------------------------------------*/

/*
 * .single-hyakunin を先頭に付けることで、
 * 百人一首の個別ページだけに適用する。
 *
 * 固定ページや通常投稿など、
 * ほかのページの本文には影響させない。
 */
.single-hyakunin .post_content p {
	font-size: 20px;
	line-height: 2;
	font-weight: 500;
	color: #222;
}


/*------------------------------------------------------------
  1-2. 和歌本文
------------------------------------------------------------*/

/*
 * 和歌は通常本文より少し大きくし、
 * 行間も広くして読みやすくする。
 */
.single-hyakunin .post_content p.hyakunin-waka {
	font-size: 22px;
	line-height: 2.2;
	font-weight: 500;
	color: #222;
}


/*============================================================
  2. トップページとヘッダーの余白
============================================================*/

/*------------------------------------------------------------
  2-1. トップページ上部の余白を削除
------------------------------------------------------------*/

/*
 * トップページのコンテンツ領域上部に、
 * SWELL標準の余白が入る場合がある。
 *
 * メインビジュアルをヘッダー直下から表示するため、
 * 上余白を削除する。
 */
.home .l-content {
	padding-top: 0 !important;
	margin-top: 0 !important;
}


/*------------------------------------------------------------
  2-2. ヘッダーロゴ周辺の余白
------------------------------------------------------------*/

/*
 * ロゴの上下に発生する余白を小さくして、
 * ヘッダー全体の高さを抑える。
 */
#header .l-header__logo {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}


/*
 * SWELLのロゴ本体とリンク部分にも、
 * 上下の余白が入らないようにする。
 */
#header .c-headLogo,
#header .c-headLogo__link {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}


/*============================================================
  3. トップページ・メインビジュアル
============================================================*/

/*------------------------------------------------------------
  3-1. メインビジュアル全体
------------------------------------------------------------*/

/*
 * トップページのヒーロー部分に、
 * 明朝系フォントを設定する。
 */
.hyakunin-hero {
	font-family:
		"Yu Mincho",
		"游明朝",
		YuMincho,
		"Hiragino Mincho ProN",
		"Hiragino Mincho Pro",
		"Noto Serif JP",
		serif;
}


/*------------------------------------------------------------
  3-2. サイトタイトル
------------------------------------------------------------*/

/*
 * 「百人一首てつログ」のタイトル。
 *
 * Yuji Syukuを優先し、
 * 利用できない場合は游明朝などを使用する。
 */
.hyakunin-hero .hyakunin-hero-title {
	margin-top: 0;
	margin-bottom: 24px;
	padding: 0;

	border: none;
	background: none;
	box-shadow: none;

	font-family:
		"Yuji Syuku",
		"Yu Mincho",
		"游明朝",
		"Hiragino Mincho ProN",
		"Hiragino Mincho Pro",
		"Noto Serif JP",
		serif;

	/*
	 * clamp()により、
	 * 画面幅に応じて44pxから64pxの間で変化する。
	 */
	font-size: clamp(44px, 4.2vw, 64px);

	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0.04em;

	color: #382417;
	text-shadow: none;

	/*
	 * 日本語文字の間隔や詰めを自然にする。
	 */
	font-kerning: normal;
	font-feature-settings: "palt";
}


/*
 * SWELL標準見出しの前後装飾を非表示にする。
 */
.hyakunin-hero .hyakunin-hero-title::before,
.hyakunin-hero .hyakunin-hero-title::after {
	display: none;
}


/*------------------------------------------------------------
  3-3. キャッチコピー
------------------------------------------------------------*/

/*
 * 「百人一首から、日本の心へ」など、
 * タイトル下のキャッチコピーに使用する。
 */
.hyakunin-hero .hyakunin-hero-catch {
	margin-top: 0;
	margin-bottom: 38px;

	font-family:
		"Yu Mincho",
		"游明朝",
		YuMincho,
		"Hiragino Mincho ProN",
		"Hiragino Mincho Pro",
		"Noto Serif JP",
		serif;

	font-size: clamp(24px, 2.4vw, 34px);
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: 0.1em;

	color: #8b2f2c;
	text-shadow: none;

	font-kerning: normal;
	font-feature-settings: "palt";
}


/*------------------------------------------------------------
  3-4. ヒーロー説明文
------------------------------------------------------------*/

/*
 * キャッチコピーの下に表示する、
 * サイト紹介文に使用する。
 */
.hyakunin-hero .hyakunin-hero-description {
	margin-top: 0;
	margin-bottom: 34px;

	font-family:
		"Yu Mincho",
		"游明朝",
		YuMincho,
		"Hiragino Mincho ProN",
		"Hiragino Mincho Pro",
		"Noto Serif JP",
		serif;

	font-size: clamp(17px, 1.45vw, 21px);
	font-weight: 500;
	line-height: 2;
	letter-spacing: 0.035em;

	color: #2b211b;
	text-shadow: none;

	font-kerning: normal;
}


/*------------------------------------------------------------
  3-5. ヒーローボタンの配置
------------------------------------------------------------*/

/*
 * 「第一首から読む」と「歌人から探す」の
 * 2つのボタンを中央に配置する。
 */
.hyakunin-hero .hyakunin-hero-buttons {
	gap: 18px;
	justify-content: center;
	margin-top: 10px;
}


/*============================================================
  4. トップページ・SWELLボタン
============================================================*/

/*------------------------------------------------------------
  4-1. 2つのボタンに共通する設定
------------------------------------------------------------*/

/*
 * hero-btn-read
 *   「第一首から読む」ボタン
 *
 * hero-btn-author
 *   「歌人から探す」ボタン
 */
.hyakunin-hero .hero-btn-read a,
.hyakunin-hero .hero-btn-author a {
	display: flex;
	align-items: center;
	justify-content: center;

	min-width: 250px;
	padding: 17px 34px;

	font-family:
		"Yu Mincho",
		"游明朝",
		YuMincho,
		"Hiragino Mincho ProN",
		"Noto Serif JP",
		serif;

	font-size: 22px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.07em;

	color: #fff !important;

	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 14px;

	text-decoration: none !important;
	text-shadow: none;

	box-shadow:
		0 5px 12px rgba(45, 28, 18, 0.22);

	/*
	 * マウスを乗せたときの動きをなめらかにする。
	 */
	transition:
		transform 0.2s ease,
		background-color 0.2s ease,
		box-shadow 0.2s ease;
}


/*------------------------------------------------------------
  4-2. 「第一首から読む」ボタン
------------------------------------------------------------*/

.hyakunin-hero .hero-btn-read a {
	background: #8f302b !important;
}


/*
 * マウスを乗せたときは、
 * 少し明るい赤色にし、上へ移動させる。
 */
.hyakunin-hero .hero-btn-read a:hover {
	background: #a33b35 !important;
	transform: translateY(-2px);

	box-shadow:
		0 8px 18px rgba(45, 28, 18, 0.3);
}


/*------------------------------------------------------------
  4-3. 「歌人から探す」ボタン
------------------------------------------------------------*/

.hyakunin-hero .hero-btn-author a {
	background: #365f3c !important;
}


/*
 * マウスを乗せたときは、
 * 少し明るい緑色にし、上へ移動させる。
 */
.hyakunin-hero .hero-btn-author a:hover {
	background: #46764e !important;
	transform: translateY(-2px);

	box-shadow:
		0 8px 18px rgba(45, 28, 18, 0.3);
}


/*============================================================
  5. ヘッダー・グローバルメニュー
============================================================*/

/*------------------------------------------------------------
  5-1. メニュー項目全体
------------------------------------------------------------*/

/*
 * メニュー項目同士の間隔を調整する。
 */
.c-gnav {
	gap: 18px;
}


/*------------------------------------------------------------
  5-2. メニューリンク
------------------------------------------------------------*/

.c-gnav > li > a {
	color: #2b1d17;

	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0.06em;

	padding: 14px 18px;

	transition: all 0.25s ease;
}


/*
 * マウスを乗せたメニュー文字を赤茶色にする。
 */
.c-gnav > li > a:hover {
	color: #8d2a24;
}


/*------------------------------------------------------------
  5-3. メニュー下の飾り線
------------------------------------------------------------*/

.c-gnav > li {
	position: relative;
}


/*
 * 通常時は線の幅を0にして非表示にする。
 */
.c-gnav > li::after {
	content: "";

	position: absolute;
	left: 50%;
	bottom: 4px;

	width: 0;
	height: 2px;

	background: #c7a145;

	transform: translateX(-50%);
	transition: width 0.25s ease;
}


/*
 * マウスを乗せると、
 * メニュー下に金色の線を表示する。
 */
.c-gnav > li:hover::after {
	width: 72%;
}


/*------------------------------------------------------------
  5-4. 現在表示しているページ
------------------------------------------------------------*/

/*
 * 現在表示中のページ、またはその親メニューを、
 * 赤茶色で表示する。
 */
.c-gnav .current-menu-item > a,
.c-gnav .current-menu-parent > a {
	color: #8d2a24;
}


/*------------------------------------------------------------
  5-5. サブメニュー
------------------------------------------------------------*/

/*
 * サブメニュー全体に角丸と影を付ける。
 */
.c-gnav .sub-menu {
	border-radius: 10px;
	overflow: hidden;

	box-shadow:
		0 8px 25px rgba(0, 0, 0, 0.15);
}


/*
 * サブメニューの各リンク。
 */
.c-gnav .sub-menu a {
	background: #fffdf8;
	color: #2b1d17;

	font-size: 16px;

	padding: 12px 18px;
}


/*
 * サブメニューへマウスを乗せたときの色。
 */
.c-gnav .sub-menu a:hover {
	background: #f6efe4;
	color: #8d2a24;
}


/*------------------------------------------------------------
  5-6. ヘッダー内部の上下余白
------------------------------------------------------------*/

/*
 * ロゴやメニューが窮屈にならない範囲で、
 * ヘッダー全体の高さを調整する。
 */
.l-header__inner {
	padding-top: 10px;
	padding-bottom: 10px;
}


/*============================================================
  6. トップページ・メインビジュアルのスマートフォン対応
============================================================*/

/*
 * 画面幅767px以下で適用する。
 */
@media screen and (max-width: 767px) {

	/*--------------------------------------------------------
	  6-1. ヒーロータイトル
	--------------------------------------------------------*/

	.hyakunin-hero .hyakunin-hero-title {
		margin-bottom: 18px;

		font-size: 34px;
		font-weight: 400;
		line-height: 1.25;
		letter-spacing: 0.04em;
	}


	/*--------------------------------------------------------
	  6-2. キャッチコピー
	--------------------------------------------------------*/

	.hyakunin-hero .hyakunin-hero-catch {
		margin-bottom: 26px;

		font-size: 20px;
		font-weight: 600;
		line-height: 1.6;
		letter-spacing: 0.05em;
	}


	/*--------------------------------------------------------
	  6-3. ヒーロー説明文
	--------------------------------------------------------*/

	.hyakunin-hero .hyakunin-hero-description {
		margin-bottom: 26px;

		font-size: 15px;
		line-height: 1.9;
		letter-spacing: 0.015em;
	}


	/*--------------------------------------------------------
	  6-4. ボタンの配置
	--------------------------------------------------------*/

	.hyakunin-hero .hyakunin-hero-buttons {
		gap: 12px;
	}


	/*
	 * スマートフォンでは、
	 * それぞれのボタン領域を横幅いっぱいにする。
	 */
	.hyakunin-hero .hero-btn-read,
	.hyakunin-hero .hero-btn-author {
		width: 100%;
	}


	/*
	 * リンク本体も横幅いっぱいにする。
	 */
	.hyakunin-hero .hero-btn-read a,
	.hyakunin-hero .hero-btn-author a {
		width: 100%;
		min-width: 0;

		padding: 14px 20px;

		font-size: 18px;
	}

}


/*============================================================
  7. 百人一首個別ページ・画像
============================================================*/

/*------------------------------------------------------------
  7-1. 画像共通設定
------------------------------------------------------------*/

/*
 * 画像の縦横比が崩れないようにする。
 *
 * 各画像の横幅は、この後の種類別設定で指定する。
 */
.single-hyakunin .hyakunin-image img {
	height: auto;
}


/*------------------------------------------------------------
  7-2. 歌札画像・歌人画像
------------------------------------------------------------*/

/*
 * 歌札画像と歌人画像は、
 * 記事本文幅の50%で表示する。
 *
 * 大きな画面でも最大440pxまでとする。
 */
.single-hyakunin .hyakunin-utafuda-image img,
.single-hyakunin .hyakunin-kajin-image img {
	width: 50%;
	max-width: 440px;
	height: auto;
}


/*------------------------------------------------------------
  7-3. 神社画像
------------------------------------------------------------*/

/*
 * 神社画像は本文幅の80%で表示する。
 *
 * 歌札や歌人画像より横長の場合を考慮し、
 * 最大幅は900pxにする。
 */
.single-hyakunin .hyakunin-jinja-image img {
	width: 80%;
	max-width: 900px;
	height: auto;
}


/*------------------------------------------------------------
  7-4. 地図画像
------------------------------------------------------------*/

/*
 * 地図は文字や位置関係を確認しやすいように、
 * 神社画像より大きく表示する。
 *
 * 本文幅の80%、最大900pxとする。
 */
.single-hyakunin .hyakunin-map-image img {
	width: 80%;
	max-width: 900px;
	height: auto;
}


/*============================================================
  8. 百人一首個別ページ・画像のスマートフォン対応
============================================================*/

/*
 * 画面幅600px以下で適用する。
 */
@media screen and (max-width: 600px) {

	/*--------------------------------------------------------
	  8-1. 歌札画像・歌人画像
	--------------------------------------------------------*/

	/*
	 * スマートフォンでは本文幅の80%とする。
	 *
	 * 元画像が縦長でも大きくなりすぎないように、
	 * 最大220pxに制限する。
	 */
	.single-hyakunin .hyakunin-utafuda-image img,
	.single-hyakunin .hyakunin-kajin-image img {
		width: 80%;
		max-width: 220px;
	}


	/*--------------------------------------------------------
	  8-2. 神社画像
	--------------------------------------------------------*/

	.single-hyakunin .hyakunin-jinja-image img {
		width: 70%;
		max-width: 300px;
	}


	/*--------------------------------------------------------
	  8-3. 地図画像
	--------------------------------------------------------*/

	/*
	 * スマートフォンでも地図を読みやすくするため、
	 * 横幅の95%まで広げる。
	 */
	.single-hyakunin .hyakunin-map-image img {
		width: 95%;
		max-width: 500px;
	}

}


/*============================================================
  9. トップページ「百人一首とは」セクション
============================================================*/

/*
 * 作成日：2026-07-12
 * 更新日：2026-07-14
 *
 * ヒーロー画像より控えめな高さとし、
 * 見出し、本文、ボタンを中央に配置する。
 *
 * パソコン、タブレット、スマートフォンに対応する。
 */


/*------------------------------------------------------------
  9-1. セクション全体
------------------------------------------------------------*/

.hyakunin-about-section {
	position: relative;
	display: block;

	box-sizing: border-box;

	width: 100%;
	height: 260px;
	min-height: 0;

	margin: 0;
	padding: 0;

	overflow: hidden;

	background-color: #fff8e8;

	/*
	 * 「百人一首とは」セクションの背景画像。
	 *
	 * 画像を変更した場合は、
	 * URL部分を新しい画像URLへ変更する。
	 */
	background-image:
		url("https://tetsu-hyaku.com/wp-content/uploads/2026/07/hyakunin-about-bg_03.jpg");

	background-repeat: no-repeat;

	/*
	 * 人物や本など、
	 * 画像下部の要素を残しやすくする。
	 */
	background-position: center 68%;
	background-size: cover;
}


/*------------------------------------------------------------
  9-2. 中央の文字を読みやすくする薄い背景
------------------------------------------------------------*/

/*
 * セクション中央だけを明るくし、
 * 文字の読みやすさを高める。
 *
 * 左右の桜や人物は、
 * できるだけ隠さないようにする。
 */
.hyakunin-about-section::before {
	content: "";

	position: absolute;
	inset: 0;
	z-index: 1;

	pointer-events: none;

	background:
		radial-gradient(
			ellipse at center,
			rgba(255, 252, 242, 0.88) 0%,
			rgba(255, 252, 242, 0.78) 28%,
			rgba(255, 252, 242, 0.35) 49%,
			rgba(255, 252, 242, 0) 70%
		);
}


/*------------------------------------------------------------
  9-3. 中央の内容
------------------------------------------------------------*/

/*
 * 見出し、説明文、リンクを縦方向へ並べる。
 */
.hyakunin-about-section .hyakunin-about-inner {
	position: relative;
	z-index: 2;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	box-sizing: border-box;

	width: 520px;
	max-width: 50%;
	height: 100%;

	margin: 0 auto;
	padding: 10px 8px;

	text-align: center;
}


/*------------------------------------------------------------
  9-4. 見出し「百人一首とは」
------------------------------------------------------------*/

.hyakunin-about-section .hyakunin-about-heading {
	display: block;

	margin: 0 !important;
	padding: 0 !important;

	border: 0 !important;
	background: none !important;

	font-family:
		"Yu Mincho",
		"游明朝",
		YuMincho,
		"Hiragino Mincho ProN",
		"Hiragino Mincho Pro",
		serif !important;

	font-size: 24px !important;
	line-height: 1.3 !important;
	font-weight: 500 !important;
	letter-spacing: 0.12em !important;

	color: #38251d !important;
	text-align: center !important;

	text-shadow:
		0 1px 2px rgba(255, 255, 255, 0.75);
}


/*
 * SWELL標準の見出し装飾を解除する。
 */
.hyakunin-about-section .hyakunin-about-heading::before,
.hyakunin-about-section .hyakunin-about-heading::after {
	content: none !important;
	display: none !important;
}


/*------------------------------------------------------------
  9-5. 見出し下の飾り線
------------------------------------------------------------*/

/*
 * 中央の花を左右の線で挟む。
 */
.hyakunin-about-section .hyakunin-about-heading-line {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 270px;
	max-width: 82%;

	margin: 5px auto 8px;
}


/*
 * 花以外のspan要素を左右の線として使用する。
 */
.hyakunin-about-section
.hyakunin-about-heading-line
> span:not(.hyakunin-about-flower) {
	display: block;
	flex: 1;

	height: 1px;

	background-color:
		rgba(174, 127, 46, 0.62);
}


/*
 * 飾り線中央の花。
 */
.hyakunin-about-section .hyakunin-about-flower {
	display: block;

	margin: 0 9px;

	font-size: 13px;
	line-height: 1;

	color: #b88b37;
}


/*------------------------------------------------------------
  9-6. 説明文全体
------------------------------------------------------------*/

.hyakunin-about-section .hyakunin-about-description {
	display: block;

	width: 100%;

	margin: 0;
	padding: 0;

	font-family:
		"Yu Mincho",
		"游明朝",
		YuMincho,
		"Hiragino Mincho ProN",
		"Hiragino Mincho Pro",
		serif !important;

	font-size: 14px !important;
	line-height: 1.55 !important;
	font-weight: 400 !important;
	letter-spacing: 0.025em !important;

	color: #392d27 !important;
	text-align: center !important;

	text-shadow:
		0 1px 2px rgba(255, 255, 255, 0.75);
}


/*------------------------------------------------------------
  9-7. 説明文の段落
------------------------------------------------------------*/

.hyakunin-about-section .hyakunin-about-description p {
	margin: 0 0 4px !important;
	padding: 0 !important;

	font-size: 14px !important;
	line-height: 1.55 !important;

	color: #392d27 !important;
	text-align: center !important;
}


/*
 * 最後の段落だけ下余白を付けない。
 */
.hyakunin-about-section
.hyakunin-about-description p:last-child {
	margin-bottom: 0 !important;
}


/*------------------------------------------------------------
  9-8. 「もっと詳しく見る」リンクの外側
------------------------------------------------------------*/

.hyakunin-about-section .hyakunin-about-link-area {
	margin: 8px 0 0;
	padding: 0;
}


/*------------------------------------------------------------
  9-9. 「もっと詳しく見る」リンク
------------------------------------------------------------*/

.hyakunin-about-section .hyakunin-about-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	box-sizing: border-box;

	gap: 17px;
	min-width: 185px;

	margin: 0;
	padding: 6px 15px;

	border:
		1px solid rgba(165, 117, 38, 0.72);

	border-radius: 1px;

	background-color:
		rgba(255, 253, 246, 0.78);

	font-family:
		"Yu Mincho",
		"游明朝",
		YuMincho,
		"Hiragino Mincho ProN",
		"Hiragino Mincho Pro",
		serif !important;

	font-size: 13px !important;
	line-height: 1.4 !important;
	letter-spacing: 0.07em !important;

	color: #38291f !important;
	text-decoration: none !important;

	box-shadow:
		0 2px 5px rgba(87, 59, 27, 0.06);

	transition:
		color 0.25s ease,
		background-color 0.25s ease,
		border-color 0.25s ease,
		transform 0.25s ease;
}


/*
 * マウスを乗せたときは、
 * 背景を赤茶色、文字を白色にする。
 */
.hyakunin-about-section .hyakunin-about-link:hover {
	border-color: #8e2d27;
	background-color: #8e2d27;

	color: #ffffff !important;

	transform: translateY(-1px);
}


/*------------------------------------------------------------
  9-10. リンク右側の矢印
------------------------------------------------------------*/

.hyakunin-about-section .hyakunin-about-arrow {
	font-size: 16px;
	line-height: 1;
}


/*============================================================
  10. 「百人一首とは」セクション・タブレット対応
============================================================*/

/*
 * 画面幅959px以下で適用する。
 */
@media screen and (max-width: 959px) {

	/*--------------------------------------------------------
	  10-1. セクション全体
	--------------------------------------------------------*/

	.hyakunin-about-section {
		height: 270px;
		background-position: center 65%;
	}


	/*--------------------------------------------------------
	  10-2. 中央の内容
	--------------------------------------------------------*/

	.hyakunin-about-section .hyakunin-about-inner {
		width: 500px;
		max-width: 59%;

		padding: 10px 8px;
	}


	/*--------------------------------------------------------
	  10-3. 見出し
	--------------------------------------------------------*/

	.hyakunin-about-section .hyakunin-about-heading {
		font-size: 22px !important;
	}


	/*--------------------------------------------------------
	  10-4. 説明文
	--------------------------------------------------------*/

	.hyakunin-about-section .hyakunin-about-description,
	.hyakunin-about-section .hyakunin-about-description p {
		font-size: 13px !important;
		line-height: 1.55 !important;
	}


	/*--------------------------------------------------------
	  10-5. リンク
	--------------------------------------------------------*/

	.hyakunin-about-section .hyakunin-about-link {
		min-width: 175px;
		padding: 6px 13px;

		font-size: 12px !important;
	}

}


/*============================================================
  11. 「百人一首とは」セクション・スマートフォン対応
============================================================*/

/*
 * 画面幅599px以下で適用する。
 */
@media screen and (max-width: 599px) {

	/*--------------------------------------------------------
	  11-1. セクション全体
	--------------------------------------------------------*/

	.hyakunin-about-section {
		height: 320px;

		/*
		 * 横長画像の中央部分を使用する。
		 */
		background-position: center center;
		background-size: cover;
	}


	/*--------------------------------------------------------
	  11-2. 背景の明るさ
	--------------------------------------------------------*/

	/*
	 * スマートフォンでは背景画像と文字が重なりやすい。
	 *
	 * そのため、全体に薄い生成り色を重ねて、
	 * 文字を読みやすくする。
	 */
	.hyakunin-about-section::before {
		background:
			rgba(255, 250, 237, 0.86);
	}


	/*--------------------------------------------------------
	  11-3. 中央の内容
	--------------------------------------------------------*/

	.hyakunin-about-section .hyakunin-about-inner {
		width: 100%;
		max-width: none;

		padding: 18px 20px;
	}


	/*--------------------------------------------------------
	  11-4. 見出し
	--------------------------------------------------------*/

	.hyakunin-about-section .hyakunin-about-heading {
		font-size: 22px !important;
		letter-spacing: 0.09em !important;
	}


	/*--------------------------------------------------------
	  11-5. 見出し下の飾り線
	--------------------------------------------------------*/

	.hyakunin-about-section .hyakunin-about-heading-line {
		width: 235px;

		margin-top: 6px;
		margin-bottom: 10px;
	}


	/*--------------------------------------------------------
	  11-6. 説明文
	--------------------------------------------------------*/

	.hyakunin-about-section .hyakunin-about-description,
	.hyakunin-about-section .hyakunin-about-description p {
		font-size: 13px !important;
		line-height: 1.65 !important;
		letter-spacing: 0.015em !important;
	}


	/*
	 * 各段落の間隔を少し広げる。
	 */
	.hyakunin-about-section .hyakunin-about-description p {
		margin-bottom: 6px !important;
	}


	/*--------------------------------------------------------
	  11-7. リンク領域
	--------------------------------------------------------*/

	.hyakunin-about-section .hyakunin-about-link-area {
		margin-top: 10px;
	}


	/*--------------------------------------------------------
	  11-8. 「もっと詳しく見る」リンク
	--------------------------------------------------------*/

	.hyakunin-about-section .hyakunin-about-link {
		min-width: 175px;

		padding: 7px 13px;

		font-size: 12px !important;
	}

}



	/*==========================================================
	  時代アーカイブの「- tax -」を非表示
	==========================================================*/

	.tax-jidai .c-pageTitle__subTitle{
		display:none;
	}


	/*==========================================================
	  百人一首専用・新着記事
	==========================================================*/

	.hyakunin-latest-posts__item {
		margin: 0;
		padding: 14px 0;
		border-bottom: 1px solid #dddddd;
	}

	.hyakunin-latest-posts__item:first-child {
		padding-top: 0;
	}

	.hyakunin-latest-posts__link {
		display: flex;
		align-items: flex-start;
		gap: 14px;
		color: inherit;
		text-decoration: none;
	}

	.hyakunin-latest-posts__link:hover
	.hyakunin-latest-posts__title {
		color: #9b211b;
	}

	.hyakunin-latest-posts__thumbnail {
		flex: 0 0 90px;
		width: 90px;
	}

	.hyakunin-latest-posts__thumbnail img {
		display: block;
		width: 90px;
		height: 68px;
		object-fit: cover;
		border-radius: 3px;
	}

	.hyakunin-latest-posts__content {
		display: flex;
		flex: 1;
		flex-direction: column;
		min-width: 0;
	}

	.hyakunin-latest-posts__number {
		margin-bottom: 3px;
		color: #806b3d;
		font-size: 12px;
		font-weight: 700;
	}

	.hyakunin-latest-posts__title {
		font-size: 15px;
		font-weight: 600;
		line-height: 1.6;
		transition: color 0.2s ease;
	}

	.hyakunin-latest-posts__date {
		margin-top: 5px;
		color: #777777;
		font-size: 12px;
	}


	/*==========================================================
	  百人一首専用・投稿カレンダー
	==========================================================*/

	.hyakunin-calendar table {
		width: 100%;
		border-collapse: collapse;
		text-align: center;
	}

	.hyakunin-calendar caption {
		margin-bottom: 10px;
		font-size: 17px;
	}

	.hyakunin-calendar th,
	.hyakunin-calendar td {
		padding: 9px 4px;
		text-align: center;
	}

	.hyakunin-calendar th {
		background-color: #f5f5f5;
	}

	.hyakunin-calendar td a {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 34px;
		min-height: 34px;
		color: #ffffff;
		font-weight: 700;
		text-decoration: none;
		background-color: #073f52;
		border-radius: 50%;
	}

	.hyakunin-calendar td a:hover {
		background-color: #9b211b;
	}


	/* スマートフォン */
	@media screen and (max-width: 600px) {

		.hyakunin-latest-posts__thumbnail {
			flex-basis: 76px;
			width: 76px;
		}

		.hyakunin-latest-posts__thumbnail img {
			width: 76px;
			height: 58px;
		}

		.hyakunin-calendar th,
		.hyakunin-calendar td {
			padding: 7px 2px;
		}
	}



	/*==========================================================
	  コメントフォームの入力説明
	==========================================================*/

	.single-hyakunin .hyakunin-comment-notes {
		margin: 0 0 22px;
		padding: 12px 16px;
		color: #555555;
		font-size: 14px;
		line-height: 1.8;
		background-color: #f8f6f0;
		border-left: 4px solid #806b3d;
	}

	.single-hyakunin .hyakunin-comment-notes p {
		margin: 0;
	}

	.single-hyakunin .hyakunin-comment-notes p + p {
		margin-top: 3px;
	}
	





/*============================================================
  作成日：2026-07-26
  内容　：歌人個別ページのレイアウト
  対象　：カスタム投稿タイプ「歌人」
============================================================*/


/*------------------------------------------------------------
  1．歌人個別ページ全体
------------------------------------------------------------*/

.single-kajin .hyakunin-kajin-single {
	max-width: 1100px;
	margin: 0 auto;
}


/*------------------------------------------------------------
  2．ページ上部の見出し
------------------------------------------------------------*/

.single-kajin .hyakunin-kajin-page-header {
	margin-bottom: 32px;
}

.single-kajin .hyakunin-kajin-page-type {
	margin-bottom: 8px;
	font-size: 16px;
	color: #765a4a;
}

.single-kajin .hyakunin-kajin-page-title {
	margin: 0;
	font-family: "Yuji Syuku", serif;
	font-size: 40px;
	line-height: 1.5;
	font-weight: 400;
	color: #222;
}


/*------------------------------------------------------------
  3．歌人年表
  更新日：2026-07-26
------------------------------------------------------------*/

/*
 * 年表全体を、生成り色のカードとして表示する。
 */
.single-kajin .hyakunin-kajin-timeline {
	box-sizing: border-box;

	width: 100%;
	max-width: 1100px;

	margin: 0 auto 48px;
	padding: 14px 14px 20px;

	border: 1px solid #d8c6ad;
	border-radius: 12px;

	background-color: #fffdf8;

	box-shadow:
		0 3px 12px rgba(87, 62, 35, 0.08);

	/*
	 * 年表画像がカードの横幅を超えた場合でも、
	 * カード外へはみ出さないようにする。
	 */
	overflow: hidden;
}


/*
 * 「歌人年表」の見出し。
 *
 * SWELL標準の濃い青色の見出しを解除し、
 * 年表に合う落ち着いた和風の見出しにする。
 */
.single-kajin .hyakunin-kajin-timeline
.hyakunin-kajin-section-title {
	position: relative;

	margin: 0 0 16px !important;
	padding: 12px 16px 13px !important;

	border: 0 !important;
	border-top: 3px double #806b3d !important;
	border-bottom: 1px solid #cdbb9c !important;

	background: #f7f0e3 !important;

	font-family:
		"Yuji Syuku",
		"Yu Mincho",
		"游明朝",
		YuMincho,
		serif !important;

	font-size: 27px !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	letter-spacing: 0.12em !important;

	color: #38281f !important;
	text-align: center !important;
}


/*
 * SWELL標準見出しの左線や装飾を非表示にする。
 */
.single-kajin .hyakunin-kajin-timeline
.hyakunin-kajin-section-title::before,
.single-kajin .hyakunin-kajin-timeline
.hyakunin-kajin-section-title::after {
	content: none !important;
	display: none !important;
}


/*
 * 年表画像を包むfigure要素。
 */
.single-kajin .hyakunin-kajin-timeline-figure {
	box-sizing: border-box;

	width: 100%;

	margin: 0;
	padding: 0;

	text-align: center;
}


/*
 * 年表画像。
 *
 * 元画像を必要以上に拡大せず、
 * ページ中央に配置する。
 */
.single-kajin .hyakunin-kajin-timeline-image {
	display: block;

	width: 100%;
	max-width: 100%;
	height: auto;

	margin: 0 auto;

	object-fit: contain;

	border: 1px solid #dfd2bf;
	border-radius: 4px;

	background-color: #fffaf0;

	box-shadow:
		0 2px 8px rgba(70, 48, 25, 0.08);
}


/*
 * 画像リンク周辺に不要な装飾を付けない。
 */
.single-kajin .hyakunin-kajin-timeline-figure a {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	overflow: hidden;
	text-decoration: none;
}




/*
 * 年表画像へマウスを乗せたとき。
 *
 * 拡大できる画像であることが分かる程度に、
 * 少しだけ透明度を変える。
 */
.single-kajin .hyakunin-kajin-timeline-figure a:hover {
	opacity: 0.94;
}


/*------------------------------------------------------------
  歌人年表・タブレット対応
------------------------------------------------------------*/

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

	.single-kajin .hyakunin-kajin-timeline {
		margin-bottom: 40px;
		padding: 12px 12px 16px;
	}

	.single-kajin .hyakunin-kajin-timeline
	.hyakunin-kajin-section-title {
		padding: 10px 12px 11px !important;
		font-size: 24px !important;
	}

}


/*------------------------------------------------------------
  歌人年表・スマートフォン対応
------------------------------------------------------------*/

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

	.single-kajin .hyakunin-kajin-timeline {
		margin-bottom: 32px;
		padding: 8px 8px 12px;

		border-radius: 7px;
	}

	.single-kajin .hyakunin-kajin-timeline
	.hyakunin-kajin-section-title {
		margin-bottom: 10px !important;
		padding: 9px 8px 10px !important;

		font-size: 21px !important;
		letter-spacing: 0.08em !important;
	}

	.single-kajin .hyakunin-kajin-timeline-image {
		border-radius: 2px;
	}

}


/*------------------------------------------------------------
  4．歌人画像と基本情報のプロフィールカード
  更新日：2026-07-26
------------------------------------------------------------*/

/*
 * 歌人画像を左側、基本情報を右側に配置する。
 *
 * 左側の画像領域を少し小さくし、
 * 右側の基本情報欄を広く確保する。
 *
 * 年表カードと色や枠線を揃え、
 * ページ全体に統一感を持たせる。
 */
.single-kajin .hyakunin-kajin-profile {
	display: grid;
	grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
	align-items: stretch;

	box-sizing: border-box;

	gap: 40px;

	width: 100%;
	max-width: 1100px;

	margin: 0 auto 48px;
	padding: 26px;

	overflow: hidden;

	border: 1px solid #d8c6ad;
	border-radius: 12px;

	background-color: #fffdf8;

	box-shadow:
		0 3px 12px rgba(87, 62, 35, 0.08);
}


/*------------------------------------------------------------
  5．歌人画像
------------------------------------------------------------*/

/*
 * 歌人画像側の領域。
 *
 * 画像の周囲に淡い生成り色を付け、
 * 肖像画らしい見せ方にする。
 */
.single-kajin .hyakunin-kajin-profile-image-area {
	display: flex;
	align-items: center;
	justify-content: center;

	box-sizing: border-box;

	width: 100%;
	min-width: 0;

	padding: 14px;

	border: 1px solid #e2d4bf;
	border-radius: 8px;

	background-color: #faf5ea;
}


/*
 * figure要素の標準余白を解除する。
 */
.single-kajin .hyakunin-kajin-profile-figure {
	width: 100%;

	margin: 0;

	text-align: center;
}


/*
 * 歌人画像を大きくしすぎず、
 * 縦横比を保ったまま中央に表示する。
 */
.single-kajin .hyakunin-kajin-profile-image {
	display: block;

	width: 100%;
	max-width: 270px;
	height: auto;
	max-height: 480px;

	margin: 0 auto;

	border-radius: 5px;

	object-fit: contain;

	box-shadow:
		0 2px 8px rgba(70, 48, 25, 0.08);
}


/*
 * 画像リンクに余計な装飾を付けない。
 */
.single-kajin .hyakunin-kajin-profile-figure a {
	display: block;

	width: 100%;

	text-decoration: none;
}


/*
 * クリックできる画像であることが分かるように、
 * マウスを乗せたときだけ少し透明度を変更する。
 */
.single-kajin .hyakunin-kajin-profile-figure a:hover {
	opacity: 0.94;
}


/*------------------------------------------------------------
  6．歌人の基本情報
------------------------------------------------------------*/

/*
 * 基本情報全体。
 */
.single-kajin .hyakunin-kajin-profile-data {
	display: flex;
	flex-direction: column;
	justify-content: center;

	box-sizing: border-box;

	width: 100%;
	min-width: 0;
}


/*
 * 「歌番号」「歌人」「歌人読み」などの各行。
 *
 * 左側の項目名を110pxに縮め、
 * 右側の表示領域を広く確保する。
 */
.single-kajin .hyakunin-kajin-data-row {
	display: grid;
	grid-template-columns: 110px minmax(0, 1fr);
	align-items: center;

	box-sizing: border-box;

	gap: 18px;

	width: 100%;

	margin: 0;
	padding: 18px 4px;

	border-bottom: 1px solid #e1d6c8;
}


/*
 * 最初の行の上余白を小さくする。
 */
.single-kajin .hyakunin-kajin-data-row:first-child {
	padding-top: 6px;
}


/*
 * 最後の行には下線を表示しない。
 */
.single-kajin .hyakunin-kajin-data-row:last-child {
	padding-bottom: 6px;

	border-bottom: 0;
}


/*
 * 左側の項目名。
 */
.single-kajin .hyakunin-kajin-data-label {
	position: relative;

	margin: 0;
	padding-left: 22px;

	font-family:
		"Yu Mincho",
		"游明朝",
		YuMincho,
		serif;

	font-size: 16px;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: 0.05em;

	color: #665445;
}


/*
 * 項目名の前に小さな飾りを付ける。
 */
.single-kajin .hyakunin-kajin-data-label::before {
	content: "◆";

	position: absolute;
	top: 0.1em;
	left: 0;

	font-size: 11px;

	color: #b38a45;
}


/*
 * 右側の入力内容。
 */
.single-kajin .hyakunin-kajin-data-value {
	min-width: 0;

	margin: 0;

	font-size: 20px;
	font-weight: 400;
	line-height: 1.8;

	color: #28201b;

	overflow-wrap: anywhere;
}


/*
 * 歌人名だけを大きな明朝体にする。
 *
 * 「天智天皇」などの短い歌人名が、
 * 途中で改行されないようにする。
 */
.single-kajin .hyakunin-kajin-name {
	font-family:
		"Yuji Syuku",
		"Yu Mincho",
		"游明朝",
		YuMincho,
		serif;

	font-size: 34px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0.05em;

	color: #241a15;

	white-space: nowrap;
	word-break: keep-all;
	overflow-wrap: normal;
}


/*
 * 「歌人」と「歌人読み」の値は、
 * できるだけ途中で改行しない。
 *
 * PHP上の表示順では、
 * 2行目が「歌人」、3行目が「歌人読み」となる。
 */
.single-kajin .hyakunin-kajin-data-row:nth-child(2)
.hyakunin-kajin-data-value,
.single-kajin .hyakunin-kajin-data-row:nth-child(3)
.hyakunin-kajin-data-value {
	white-space: nowrap;
	word-break: keep-all;
	overflow-wrap: normal;
}


/*------------------------------------------------------------
  7．歌番号へのリンク
------------------------------------------------------------*/

/*
 * 「第1首」をボタンとして表示する。
 */
.single-kajin .hyakunin-kajin-uta-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	box-sizing: border-box;

	min-width: 120px;

	padding: 8px 22px;

	border: 1px solid #bda9b7;
	border-radius: 6px;

	background-color: #f3edf2;

	font-family:
		"Yu Mincho",
		"游明朝",
		YuMincho,
		serif;

	font-size: 19px;
	line-height: 1.5;
	letter-spacing: 0.05em;

	color: #44333f !important;
	text-decoration: none !important;

	box-shadow:
		0 2px 5px rgba(70, 48, 60, 0.06);

	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}


/*
 * 歌番号へマウスを乗せたとき。
 */
.single-kajin .hyakunin-kajin-uta-link:hover {
	background-color: #806176;

	color: #ffffff !important;

	transform: translateY(-1px);
}


/*------------------------------------------------------------
  プロフィールカード・タブレット対応
------------------------------------------------------------*/

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

	.single-kajin .hyakunin-kajin-profile {
		grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);

		gap: 24px;

		margin-bottom: 40px;
		padding: 20px;
	}

	.single-kajin .hyakunin-kajin-profile-image {
		max-width: 250px;
	}

	.single-kajin .hyakunin-kajin-data-row {
		grid-template-columns: 100px minmax(0, 1fr);

		gap: 14px;

		padding: 15px 2px;
	}

	.single-kajin .hyakunin-kajin-data-label {
		padding-left: 18px;

		font-size: 15px;
	}

	.single-kajin .hyakunin-kajin-data-value {
		font-size: 18px;
	}

	.single-kajin .hyakunin-kajin-name {
		font-size: 30px;
	}

}


/*------------------------------------------------------------
  プロフィールカード・スマートフォン対応
------------------------------------------------------------*/

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

	/*
	 * スマートフォンでは、
	 * 歌人画像と基本情報を縦に並べる。
	 */
	.single-kajin .hyakunin-kajin-profile {
		display: block;

		margin-bottom: 32px;
		padding: 14px;

		border-radius: 8px;
	}

	.single-kajin .hyakunin-kajin-profile-image-area {
		margin-bottom: 20px;
		padding: 10px;
	}

	.single-kajin .hyakunin-kajin-profile-image {
		max-width: 250px;
		max-height: none;
	}

	/*
	 * スマートフォンでも、
	 * ラベルと内容は横並びを維持する。
	 */
	.single-kajin .hyakunin-kajin-data-row {
		grid-template-columns: 90px minmax(0, 1fr);

		gap: 10px;

		padding: 13px 0;
	}

	.single-kajin .hyakunin-kajin-data-label {
		padding-left: 16px;

		font-size: 14px;
		letter-spacing: 0.02em;
	}

	.single-kajin .hyakunin-kajin-data-label::before {
		font-size: 9px;
	}

	.single-kajin .hyakunin-kajin-data-value {
		font-size: 17px;
		line-height: 1.7;
	}

	.single-kajin .hyakunin-kajin-name {
		font-size: 28px;
		letter-spacing: 0.05em;
	}

	.single-kajin .hyakunin-kajin-uta-link {
		min-width: 100px;

		padding: 7px 16px;

		font-size: 17px;
	}

}


/*------------------------------------------------------------
  8．歌人解説
  更新日：2026-07-26
------------------------------------------------------------*/

/*
 * 歌人解説全体を、年表やプロフィールと同じ
 * 生成り色のカードとして表示する。
 */
.single-kajin .hyakunin-kajin-commentary {
	box-sizing: border-box;

	width: 100%;
	max-width: 1100px;

	margin: 0 auto 48px;
	padding: 14px 28px 32px;

	border: 1px solid #d8c6ad;
	border-radius: 12px;

	background-color: #fffdf8;

	box-shadow:
		0 3px 12px rgba(87, 62, 35, 0.08);
}


/*
 * 「歌人解説」の見出し。
 *
 * SWELL標準の濃い背景色を解除し、
 * 年表見出しと統一した和風デザインにする。
 */
.single-kajin .hyakunin-kajin-commentary
.hyakunin-kajin-section-title {
	margin: 0 0 26px !important;
	padding: 10px 16px 11px !important;

	border: 0 !important;
	border-top: 3px double #806b3d !important;
	border-bottom: 1px solid #cdbb9c !important;

	background: #f7f0e3 !important;

	font-family:
		"Yuji Syuku",
		"Yu Mincho",
		"游明朝",
		YuMincho,
		serif !important;

	font-size: 27px !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	letter-spacing: 0.12em !important;

	color: #38281f !important;
	text-align: center !important;
}


/*
 * SWELL標準見出しの装飾を解除する。
 */
.single-kajin .hyakunin-kajin-commentary
.hyakunin-kajin-section-title::before,
.single-kajin .hyakunin-kajin-commentary
.hyakunin-kajin-section-title::after {
	content: none !important;
	display: none !important;
}


/*
 * 解説本文の横幅を少し抑え、
 * 長文でも目が左右に動きすぎないようにする。
 */
.single-kajin .hyakunin-kajin-commentary-text {
	max-width: 920px;
	margin: 0 auto;
}


/*
 * 解説本文。
 */
.single-kajin .hyakunin-kajin-commentary-text p {
	margin: 0 0 1.4em;

	font-size: 20px;
	font-weight: 400;
	line-height: 2;
	letter-spacing: 0.02em;

	color: #28201b;
}


/*
 * 最後の段落には下余白を付けない。
 */
.single-kajin .hyakunin-kajin-commentary-text p:last-child {
	margin-bottom: 0;
}


/*------------------------------------------------------------
  歌人解説・スマートフォン対応
------------------------------------------------------------*/

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

	.single-kajin .hyakunin-kajin-commentary {
		margin-bottom: 32px;
		padding: 8px 18px 24px;

		border-radius: 8px;
	}

	.single-kajin .hyakunin-kajin-commentary
	.hyakunin-kajin-section-title {
		margin-bottom: 20px !important;
		padding: 9px 8px 10px !important;

		font-size: 21px !important;
		letter-spacing: 0.08em !important;
	}

	.single-kajin .hyakunin-kajin-commentary-text p {
		font-size: 18px;
		line-height: 1.9;
	}

}

/*------------------------------------------------------------
  9．歌人一覧へ戻るボタン
------------------------------------------------------------*/

.single-kajin .hyakunin-kajin-back-area {
	margin: 40px 0;
	text-align: center;
}

.single-kajin .hyakunin-kajin-back-link {
	display: inline-block;
	padding: 12px 28px;
	border: 1px solid #b9a3b4;
	border-radius: 30px;
	color: #493d47;
	text-decoration: none;
}

.single-kajin .hyakunin-kajin-back-link:hover {
	opacity: 0.8;
}


/*------------------------------------------------------------
  10．スマートフォン表示
------------------------------------------------------------*/

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

	.single-kajin .hyakunin-kajin-page-title {
		font-size: 30px;
	}

	.single-kajin .hyakunin-kajin-commentary {
		padding: 20px;
	}

	.single-kajin .hyakunin-kajin-commentary-text p {
		font-size: 18px;
		line-height: 1.9;
	}
}



/*============================================================
  作成日：2026-07-26
  更新日：2026-07-26
  内容　：歌人個別ページのパンくず下の空白を削除
============================================================*/

/*
 * SWELLは画面幅600px以上で .l-content に
 * padding-top: 4em を設定する。
 * 歌人個別ページだけ、その余白を確実に解除する。
 */
body.single-kajin #content.hyakunin-kajin-content,
body.single-kajin #content.l-content.hyakunin-kajin-content,
body.single-kajin div#content.l-content.l-container.hyakunin-kajin-content {
	margin-top: 0 !important;
	margin-block-start: 0 !important;
	padding-top: 0 !important;
	padding-block-start: 0 !important;
}

/*
 * 外側だけでなく、記事本体までの各階層に残る余白も解除する。
 */
body.single-kajin #main_content,
body.single-kajin .l-mainContent,
body.single-kajin .l-mainContent__inner,
body.single-kajin article.hyakunin-kajin-single,
body.single-kajin article.hyakunin-kajin-single > .post_content {
	margin-top: 0 !important;
	margin-block-start: 0 !important;
	padding-top: 0 !important;
	padding-block-start: 0 !important;
}

/*
 * ページ先頭の見出しには、最低限の間隔だけを付ける。
 */
body.single-kajin .hyakunin-kajin-page-header {
	margin-top: 0 !important;
	padding-top: 0 !important;
}


/*============================================================
作成日：2026-07-26
内容　：トップページボタンのホバー効果（最終版）
============================================================*/

/*------------------------------------------------------------
「歌人一覧を見る」
------------------------------------------------------------*/
.home .hero-btn-author .swell-block-button__link {
	background-color: #356b3d !important;
	color: #ffffff !important;

	transition:
		background-color .25s ease,
		transform .25s ease,
		box-shadow .25s ease !important;
}

.home .hero-btn-author .swell-block-button__link:hover {
	background-color: #1f4e79 !important;   /* 濃い藍色 */

	transform: translateY(-3px) scale(1.03);

	box-shadow:
		0 12px 26px rgba(0,0,0,.35) !important;
}


/*------------------------------------------------------------
「第一首から読む」
------------------------------------------------------------*/
.home .hero-btn-read .swell-block-button__link {
	background-color: #9c302d !important;
	color: #ffffff !important;

	transition:
		background-color .25s ease,
		transform .25s ease,
		box-shadow .25s ease !important;
}

.home .hero-btn-read .swell-block-button__link:hover {
	background-color: #1f4e79 !important;   /* 濃い藍色 */

	transform: translateY(-3px) scale(1.03);

	box-shadow:
		0 12px 26px rgba(0,0,0,.35) !important;
}




/*============================================================
  作成日：2026-07-27
  内容　：トップページ「上の句から探す」ボタン
  追加先：hyakunin-custom.css の一番下
============================================================*/

/*
 * WordPress編集画面の「追加CSSクラス」には、
 * hero-btn-kaminoku
 * を設定する。
 */
.home .hero-btn-kaminoku .swell-block-button__link {
	min-width: 320px !important;
	padding: 22px 42px !important;
	background-color: #7b552d !important;
	color: #ffffff !important;
	font-size: 27px !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	border-radius: 16px !important;
	box-shadow: 0 7px 17px rgba(45, 28, 18, 0.28) !important;
	transition:
		background-color .25s ease,
		transform .25s ease,
		box-shadow .25s ease !important;
}

/* マウスオーバー時は濃い藍色へ変化する。 */
.home .hero-btn-kaminoku .swell-block-button__link:hover {
	background-color: #1f4e79 !important;
	transform: translateY(-3px) scale(1.03);
	box-shadow: 0 12px 26px rgba(0, 0, 0, .35) !important;
}

/* クリック時は少し沈む。 */
.home .hero-btn-kaminoku .swell-block-button__link:active {
	transform: translateY(1px) scale(.98);
	box-shadow: 0 4px 8px rgba(0, 0, 0, .25) !important;
}

@media screen and (max-width: 767px) {
	.home .hero-btn-kaminoku {
		width: 100% !important;
	}

	.home .hero-btn-kaminoku .swell-block-button__link {
		box-sizing: border-box !important;
		width: 100% !important;
		min-width: 0 !important;
		padding: 16px 20px !important;
		font-size: 20px !important;
	}
}



/*============================================================
  作成日：2026-07-27
  内容　：トップページ3つの導線ボタンを中央揃えにする
============================================================*/

/*
 * SWELLボタンの外側を中央揃えにする。
 */
.home .hero-btn-kaminoku,
.home .hero-btn-author,
.home .hero-btn-read {
	margin-right: auto !important;
	margin-left: auto !important;
	text-align: center !important;
}


/*
 * ボタンのリンク本体も中央へ配置する。
 */
.home .hero-btn-kaminoku .swell-block-button__link,
.home .hero-btn-author .swell-block-button__link,
.home .hero-btn-read .swell-block-button__link {
	margin-right: auto !important;
	margin-left: auto !important;
}




/*============================================================
作成日：2026-07-27
内容：歌人ページ 投稿日・更新日
============================================================*/

.hyakunin-post-date{
	margin: 8px 0 28px;
	text-align:right;
	font-size:16px;
	color:#555;
}

.hyakunin-post-date-label{
	font-weight:bold;
	color:#8a641d;
}

.hyakunin-post-date-space{
	display:inline-block;
	width:28px;
}

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

	.hyakunin-post-date{
		text-align:center;
		font-size:14px;
		line-height:1.8;
	}

	.hyakunin-post-date-space{
		display:block;
		height:4px;
		width:100%;
	}
}

