/*
Theme Name: Arkhe Child (堀哲郎事務所)
Template: arkhe
Description: 税理士堀哲郎事務所 用 Arkhe 子テーマ
Author: OCOSCO合同会社
Version: 1.1.0
Text Domain: arkhe-child
*/

/* ==========================================================
   基本
   ========================================================== */
:root {
	--hx-brown: #40210f;
	--hx-text: #333;
	--hx-beige: #f5f3ee;
	--hx-line: #9fa0a0;
	--hx-navy: #2d3947;
	--hx-accent: #ca8a36;
	--hx-mincho: "Sawarabi Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
	--hx-gothic: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Meiryo", "メイリオ", sans-serif;
}

body {
	font-family: var(--hx-gothic);
	color: var(--hx-text);
	letter-spacing: .03em;
}

a { color: var(--hx-navy); }

/* 固定ページのタイトル帯はページ内の見出しで代替するため非表示 */
.page .p-topArea,
.page .c-pageTitle,
.page .p-entry__head,
.home .p-topArea {
	display: none;
}

/* 本文エリアの上下余白をセクション側で持つ */
.page .l-content,
.home .l-content {
	padding-top: 0;
	padding-bottom: 0;
}
.page .l-main,
.home .l-main { margin-bottom: 0; }

/* ==========================================================
   ヘッダー
   ========================================================== */
.l-header {
	background: #fff;
}
.l-header__logo img,
.c-headLogo img {
	max-height: 40px;
	width: auto;
}
.c-gnav > .menu-item > a {
	font-family: var(--hx-mincho);
	color: var(--hx-brown);
	letter-spacing: .08em;
}
.c-gnav > .menu-item > a .__mainText { font-size: 15px; }
.c-gnav > .menu-item > a .__subText {
	font-family: "Lato", sans-serif;
	font-size: 10px;
	letter-spacing: .1em;
	color: var(--hx-brown);
	opacity: .8;
}

/* ==========================================================
   セクション共通
   ========================================================== */
.hx-section {
	padding-top: 80px;
	padding-bottom: 80px;
}
.hx-section.is-beige { background-color: var(--hx-beige); }

.hx-ttl {
	font-family: var(--hx-mincho);
	color: var(--hx-brown);
	font-size: 2rem;
	font-weight: normal;
	letter-spacing: .12em;
	line-height: 1.3;
	margin-bottom: 0 !important;
	border: none;
	padding: 0;
	background: none;
}
.hx-ttl::before,
.hx-ttl::after { content: none !important; }

/* 全幅セクション内の中身は中央 1000px に収める（Arkhe は layout クラスを出さないため） */
.hx-section > *,
.hx-diagram > * {
	width: min(1000px, calc(100% - 48px));
	max-width: none;
	margin-left: auto !important;
	margin-right: auto !important;
	box-sizing: border-box;
}
.hx-section > .alignwide { width: min(1100px, calc(100% - 48px)); }
.hx-section .wp-block-group__inner-container > .alignwide { max-width: 1100px; }

/* 見出しの中央寄せ（WP7 の見出しブロックは textAlign 属性のクラスを出さないため CSS で指定） */
.hx-ttl,
.hx-ttl-en,
.hx-lead,
.hx-card-ttl,
.hx-price-ttl,
.hx-name,
.hx-profile-link { text-align: center; }
.hx-ttl-en {
	font-family: var(--hx-mincho);
	color: var(--hx-brown);
	font-size: .9rem;
	letter-spacing: .08em;
	margin-top: .2em !important;
	margin-bottom: 3em !important;
}

.hx-lead {
	font-size: .95rem;
	letter-spacing: .15em;
	line-height: 2;
	margin-bottom: 3em !important;
}

/* 枠線ボタン */
.hx-btns { margin-top: 3em !important; }
.hx-btn .wp-block-button__link,
.wp-block-button.hx-btn .wp-block-button__link {
	min-width: 330px;
	padding: .7em 1.5em;
	border: 1px solid var(--hx-navy);
	border-radius: 0;
	background: transparent;
	color: var(--hx-navy);
	font-size: .9rem;
	letter-spacing: .1em;
	text-align: center;
	transition: background .2s, color .2s;
}
.hx-btn .wp-block-button__link:hover {
	background: var(--hx-navy);
	color: #fff;
}

/* PC / スマホ 出し分け */
.hx-sp { display: none; }
@media (max-width: 767px) {
	.hx-pc { display: none; }
	.hx-sp { display: block; }
}

/* ==========================================================
   トップ：メインビジュアル
   ========================================================== */
.hx-mv {
	padding: 0 !important;
	margin-top: 0 !important;
}

/* ==========================================================
   トップ：代表あいさつ
   ========================================================== */
.hx-greeting { gap: 4em; align-items: flex-start; }
.hx-greeting-ph img { display: block; margin: 0 auto; }
.hx-name {
	font-family: var(--hx-mincho);
	font-size: 1.1rem;
	margin-top: .8em !important;
	padding-bottom: .6em;
	border-bottom: 2px dotted #ccc;
}
.hx-name .hx-small { font-size: .85em; }
.hx-profile-link {
	font-size: .8rem;
	margin-top: .6em !important;
}
.hx-profile-link .pum-trigger,
.hx-profile-link span { cursor: pointer; }
.hx-profile-link span:hover { text-decoration: underline; }
.hx-greeting-txt p {
	font-size: .9rem;
	line-height: 1.9;
	margin-bottom: 1.4em;
}

/* ==========================================================
   トップ：事業の図
   ========================================================== */
.hx-diagram {
	background: linear-gradient(90deg, #ced1dd 0%, #ced1dd 50%, #e3d5c5 50%, #e3d5c5 100%);
	padding-top: 40px;
	padding-bottom: 60px;
}
.hx-diagram .wp-block-image { margin-bottom: 0; }

/* ==========================================================
   トップ：事業内容（3行）
   ========================================================== */
.hx-svc-row {
	margin: 1.5em 0 !important;
	gap: 0 !important;
	align-items: center !important;
}
.hx-svc-label {
	border-left: 1px solid var(--hx-line);
	border-right: 1px solid var(--hx-line);
	text-align: center;
	font-weight: bold;
	padding: .6em .5em;
}
.hx-svc-label p { margin: 0; }
.hx-svc-text { padding-left: 1.5em; }
.hx-svc-text p { font-size: .85rem; line-height: 1.8; margin: 0; }

/* ==========================================================
   トップ：事務所概要
   ========================================================== */
.hx-section .hx-info {
	max-width: 720px;
	margin: 2em auto 0 !important;
}
.hx-info table { border: none; }
.hx-info th,
.hx-info td {
	border: none;
	border-bottom: 1px dotted #ccc;
	padding: 1em .5em;
	font-size: .9rem;
	text-align: left;
	vertical-align: top;
	background: none;
}
.hx-info th {
	width: 9em;
	font-weight: bold;
	white-space: nowrap;
}
.hx-map {
	margin-top: 3em;
	text-align: center;
}
.hx-map iframe {
	width: 100%;
	max-width: 705px;
	height: 450px;
	border: 0;
}

/* ==========================================================
   フッター上：写真スライダー
   ========================================================== */
.hx-gallery {
	padding: 0 !important;
	margin-top: 0 !important;
}

/* ==========================================================
   事業内容ページ
   ========================================================== */
.hx-card {
	background: #fff;
	padding: 3em 3.5em;
	margin-bottom: 3em !important;
}
.hx-card-ttl {
	font-family: var(--hx-mincho);
	color: var(--hx-brown);
	font-size: 1.6rem;
	font-weight: normal;
	letter-spacing: .2em;
	border: none;
	padding: 0;
	background: none;
}
.hx-card-ttl::before,
.hx-card-ttl::after { content: none !important; }
.hx-card-copy {
	font-size: .9rem;
	line-height: 1.9;
	padding-bottom: 1.5em;
	border-bottom: 1px solid #e5e2da;
}
.hx-card-sub {
	font-size: 1.1rem;
	color: var(--hx-brown);
	margin-top: 2em !important;
	padding: 0 0 0 .7em;
	border: none;
	border-left: 4px solid var(--hx-accent);
	background: none;
}
.hx-card-h {
	font-size: 1rem;
	margin-top: 1.6em !important;
	padding: 0;
	border: none;
	background: none;
}
.hx-card-sub::before,
.hx-card-h::before { content: none !important; }
.hx-card p { font-size: .9rem; line-height: 1.9; }

/* 料金 */
.hx-price-ttl {
	font-family: var(--hx-mincho);
	color: var(--hx-brown);
	font-size: 1.5rem;
	font-weight: normal;
	letter-spacing: .15em;
	margin-top: 3em !important;
	padding: .5em 0;
	border: none;
	border-top: 1px solid var(--hx-brown);
	border-bottom: 1px solid var(--hx-brown);
	background: none;
	scroll-margin-top: 100px;
}
.hx-price-sub {
	font-size: 1.1rem;
	margin-top: 2.5em !important;
	padding: 0;
	border: none;
	background: none;
	scroll-margin-top: 100px;
}
.hx-price-h {
	font-size: 1rem;
	margin-top: 1.8em !important;
}
.hx-price-ttl::before,
.hx-price-sub::before,
.hx-price-h::before { content: none !important; }

.hx-price table { border-collapse: collapse; width: 100%; }
.hx-price th,
.hx-price td {
	border: 1px solid #d6d2c8;
	padding: .8em 1em;
	font-size: .9rem;
	vertical-align: middle;
}
.hx-price thead { border-bottom: none; }
.hx-price thead th {
	background: var(--hx-brown);
	color: #fff;
	text-align: center;
	font-weight: normal;
	letter-spacing: .1em;
}
.hx-price tbody td:last-child {
	text-align: right;
	white-space: nowrap;
}
.hx-price-3col tbody td:first-child { font-weight: bold; width: 28%; }
.hx-price-3col tbody td:last-child { width: 24%; }
.hx-note { font-size: .85rem; color: #666; }
.hx-list li { font-size: .9rem; }

/* ==========================================================
   お問い合わせ
   ========================================================== */
.hx-section .hx-form-box {
	max-width: 800px;
	margin-left: auto !important;
	margin-right: auto !important;
	background: #fff;
	padding: 3em 3.5em;
	box-sizing: border-box;
}
.hx-form-box .smf-item { margin-bottom: 1.6em; }
.hx-form-box .smf-item__label { margin-bottom: .4em; }
.hx-form-box input[type=text],
.hx-form-box input[type=email],
.hx-form-box input[type=tel],
.hx-form-box textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	background: #fbfaf7;
	border: 1px solid #d6d2c8;
	padding: .7em .8em;
}
.hx-form-box .smf-action { text-align: center; margin-top: 2em; }
.hx-form-box .smf-item__label__text { font-weight: bold; font-size: .95rem; }
.hx-form-box .smf-action .smf-button-control__control {
	min-width: 240px;
	border-radius: 0;
	background: var(--hx-navy);
	color: #fff;
	border: 1px solid var(--hx-navy);
	letter-spacing: .1em;
}

/* ==========================================================
   代表プロフィール（Popup Maker）
   ========================================================== */
#popmake-89 {
	padding: 2.5em 2.5em 2em !important;
	background: #fff !important;
	font-size: .88rem;
	line-height: 1.9;
	box-sizing: border-box;
}
#popmake-89 h2 {
	font-family: var(--hx-mincho);
	color: var(--hx-brown);
	font-weight: normal;
	font-size: 1.6rem;
	text-align: center;
	border: none;
	background: none;
	padding: 0;
}
#popmake-89 h2::before { content: none !important; }
@media (max-width: 767px) {
	#popmake-89 { padding: 2em 1.2em 1.5em !important; }
}

/* ==========================================================
   フッター
   ========================================================== */
.l-footer {
	background: #fff;
	color: var(--hx-text);
}
.c-copyright {
	font-size: 10px;
	letter-spacing: .1em;
}

/* ==========================================================
   スマホ
   ========================================================== */
@media (max-width: 767px) {
	.hx-section { padding-top: 56px; padding-bottom: 56px; }
	.hx-ttl { font-size: 1.6rem; }
	.hx-lead { letter-spacing: .05em; text-align: left !important; }
	.hx-greeting { gap: 1.5em; }
	.wp-block-columns.hx-svc-row,
	.wp-block-columns.hx-svc-row.is-not-stacked-on-mobile { flex-wrap: wrap !important; }
	.wp-block-columns.hx-svc-row > .wp-block-column.hx-svc-label { flex-basis: 100% !important; border-right: none; text-align: left; padding: .3em .8em; }
	.wp-block-columns.hx-svc-row > .wp-block-column.hx-svc-text { flex-basis: 100% !important; padding-left: 0; padding-top: .6em; }
	.hx-btn .wp-block-button__link { min-width: 260px; }
	.hx-card,
	.hx-form-box { padding: 2em 1.25em; }
	.hx-info th { width: 6.5em; }
	.hx-map iframe { height: 300px; }
	.hx-price th,
	.hx-price td { padding: .6em; font-size: .82rem; }
	.hx-price tbody td:last-child { white-space: normal; }
}
