@charset "UTF-8";
/*
Template: arkhe
Theme Name: Arkhe Child
Theme URI: https://arkhe-theme.com/ja/
Description: Arkhe用子テーマ（オリパ比較室のデザイン）
Version: 1.1.0
Text Domain: arkhe
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ==========================================================================
   1. デザイントークン
   サイト名・配色を変えるときは、まずここを編集します。
   Arkhe本体の変数（--ark-*）も上書きしているため、カスタマイザーの色設定より優先されます。
   ========================================================================== */
:root {
	--oc-ivory: #faf7ef;
	--oc-ivory-deep: #f1ede1;
	--oc-teal: #0e4d5c;
	--oc-teal-dark: #0a3a46;
	--oc-teal-soft: #e4eef0;
	--oc-yellow: #f2c230;
	--oc-yellow-soft: #fbeeb8;
	--oc-ink: #26323a;
	--oc-muted: #5b676d;
	--oc-line: #d8d2c0;
	--oc-link: #0b6477;
	--oc-focus: #1a5fd1;

	--oc-font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
	--oc-font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "MS PMincho", serif;

	/* Arkhe本体の変数 */
	--ark-color--main: var(--oc-teal);
	--ark-color--text: var(--oc-ink);
	--ark-color--link: var(--oc-link);
	--ark-color--bg: var(--oc-ivory);
	--ark-color--gray: var(--oc-ivory-deep);
	--ark-color--border: var(--oc-line);
	--ark-font_family: var(--oc-font-sans);
	--ark-letter_spacing: 0.02em;
	--ark-line_height: 1.85;
}

html {
	scroll-padding-top: 88px;
}

body {
	background-color: var(--oc-ivory);
	color: var(--oc-ink);
	font-family: var(--oc-font-sans);
	-webkit-font-smoothing: antialiased;
}

:where(a):focus-visible,
:where(button):focus-visible,
:where(summary):focus-visible {
	outline: 3px solid var(--oc-focus);
	outline-offset: 2px;
}

/* ==========================================================================
   2. ヘッダー・ナビゲーション・フッター
   ========================================================================== */
.l-header {
	background: var(--oc-ivory);
	border-bottom: 1px solid var(--oc-line);
	box-shadow: none;
}

.l-header .c-headLogo,
.l-header .c-headLogo a {
	font-family: var(--oc-font-serif);
	font-weight: 700;
	font-size: 1.5rem;
	letter-spacing: 0.06em;
	color: var(--oc-teal);
	text-decoration: none;
}

.c-gnav > .menu-item > a {
	position: relative;
	font-weight: 700;
	font-size: 14px;
	color: var(--oc-ink);
}

.c-gnav > .menu-item > a::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 4px;
	height: 2px;
	background: transparent;
}

.c-gnav > .menu-item > a:hover::after,
.c-gnav > .current-menu-item > a::after,
.c-gnav > .current-menu-ancestor > a::after,
.c-gnav > .current_page_item > a::after {
	background: var(--oc-teal);
}

.p-drawer,
.c-drawerNav {
	background: var(--oc-ivory);
	color: var(--oc-ink);
}

.p-drawer .menu-item a {
	font-weight: 700;
	border-bottom: 1px solid var(--oc-line);
}

.l-footer {
	background: var(--oc-ivory);
	color: var(--oc-ink);
	border-top: 1px solid var(--oc-line);
}

.l-footer a {
	color: var(--oc-ink);
}

.l-footer .c-copyright {
	color: var(--oc-muted);
	font-size: 12px;
}

/* ==========================================================================
   3. 本文タイポグラフィ（固定ページ・投稿・TOP共通）
   ========================================================================== */
.post_content {
	font-size: 16px;
	line-height: 1.9;
}

.post_content h1,
.post_content h2,
.post_content h3,
.post_content h4 {
	color: var(--oc-ink);
	font-weight: 700;
	line-height: 1.45;
	background: none;
	border-image: none;
}

.post_content h1 {
	font-family: var(--oc-font-serif);
	font-size: clamp(28px, 5vw, 44px);
	margin: 0 0 12px;
	letter-spacing: 0.04em;
}

.post_content h2 {
	font-family: var(--oc-font-serif);
	font-size: clamp(22px, 3.4vw, 28px);
	margin: 2.4em 0 0.9em;
	padding: 0 0 0 14px;
	border: 0;
	border-left: 4px solid var(--oc-yellow);
}

.post_content h2::before,
.post_content h2::after,
.post_content h3::before,
.post_content h3::after {
	content: none;
}

.post_content h3 {
	font-size: clamp(18px, 2.6vw, 21px);
	margin: 2em 0 0.8em;
	padding: 0 0 8px;
	border: 0;
	border-bottom: 2px solid var(--oc-teal);
}

.post_content h4 {
	font-size: 17px;
	margin: 1.8em 0 0.6em;
	padding: 0 0 0 10px;
	border: 0;
	border-left: 3px solid var(--oc-teal);
	color: var(--oc-teal-dark);
}

.post_content > :first-child {
	margin-top: 0;
}

.post_content a:not(.wp-block-button__link):not(.ocr-btn):not(.ocr-chipbox):not(.ocr-chip) {
	color: var(--oc-link);
	text-underline-offset: 3px;
}

.post_content a:not(.wp-block-button__link):not(.ocr-btn):hover {
	text-decoration-thickness: 2px;
}

/* リスト */
.post_content ul,
.post_content ol {
	padding-left: 1.5em;
}

.post_content li {
	margin: 0.3em 0;
}

.post_content ul > li::marker {
	color: var(--oc-teal);
}

/* 表 */
.post_content .wp-block-table table,
.post_content table:not([class*="ocr-"]) {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--oc-line);
	background: #fff;
	font-size: 15px;
}

.post_content .wp-block-table th,
.post_content .wp-block-table td,
.post_content table:not([class*="ocr-"]) th,
.post_content table:not([class*="ocr-"]) td {
	padding: 10px 14px;
	border: 1px solid var(--oc-line);
}

.post_content .wp-block-table thead th,
.post_content table:not([class*="ocr-"]) thead th {
	background: var(--oc-teal);
	color: #fff;
	border-color: var(--oc-teal-dark);
}

.post_content .wp-block-table tbody tr:nth-child(even) td,
.post_content table:not([class*="ocr-"]) tbody tr:nth-child(even) td {
	background: var(--oc-ivory-deep);
}

/* 引用・注釈 */
.post_content blockquote {
	margin: 1.6em 0;
	padding: 12px 18px;
	background: #fff;
	border: 1px solid var(--oc-line);
	border-left: 4px solid var(--oc-teal);
	color: var(--oc-ink);
}

.post_content .oc-note,
.post_content small,
.post_content .has-small-font-size {
	color: var(--oc-muted);
	font-size: 13px;
	line-height: 1.7;
}

/* ボタン（標準ブロック） */
.post_content .wp-block-button__link {
	min-height: 44px;
	padding: 10px 26px;
	border: 1px solid var(--oc-teal);
	border-radius: 3px;
	background: var(--oc-teal);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	box-shadow: none;
}

.post_content .wp-block-button__link:hover {
	background: var(--oc-teal-dark);
	color: #fff;
}

.post_content .is-style-outline > .wp-block-button__link {
	background: #fff;
	color: var(--oc-teal);
}

.post_content .is-style-outline > .wp-block-button__link:hover {
	background: var(--oc-teal-soft);
}

.post_content img {
	box-shadow: none;
}

/* ==========================================================================
   4. TOPページ用のブロックスタイル（パターン「オリパ比較室 TOP」のclass）
   ========================================================================== */
.oc-intro {
	padding: 28px 0 8px;
}

.oc-intro__lead {
	margin: 0 0 8px;
	font-size: 14px;
	color: var(--oc-muted);
}

.oc-intro h1 {
	display: inline;
	text-decoration: underline;
	text-decoration-color: var(--oc-yellow);
	text-decoration-thickness: 0.16em;
	text-underline-offset: 0.12em;
	text-decoration-skip-ink: none;
}

.oc-intro__sub {
	margin: 14px 0 0;
	font-size: 18px;
}

.oc-intro__facts {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.oc-intro__facts li {
	margin: 0 0 6px;
}

.oc-intro__facts .ocr-count-inline {
	font-family: var(--oc-font-serif);
	font-size: 28px;
	color: var(--oc-teal);
	margin: 0 4px;
}

.oc-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 24px;
}

.oc-section-head > h2 {
	margin-bottom: 0.7em;
}

.oc-points {
	gap: 16px;
}

.oc-points > .wp-block-column {
	padding: 18px 20px;
	background: #fff;
	border: 1px solid var(--oc-line);
}

.oc-points h3 {
	margin: 0 0 8px;
	padding: 0;
	border: 0;
	font-size: 16px;
}

.oc-points p {
	margin: 0;
	font-size: 14px;
	line-height: 1.8;
}

.oc-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--oc-teal);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	vertical-align: middle;
}

.oc-guides {
	gap: 16px;
}

.oc-guides > .wp-block-column {
	padding: 16px 20px;
	background: #fff;
	border: 1px solid var(--oc-line);
}

.oc-guides h3 {
	margin: 0 0 4px;
	padding: 0;
	border: 0;
	font-size: 16px;
}

.oc-guides p {
	margin: 0;
	font-size: 13px;
	color: var(--oc-muted);
}

@media (max-width: 781px) {
	.oc-points,
	.oc-guides {
		gap: 12px;
	}
}
