@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD (青総合税理士事務所)
    Theme URI: https://swell-theme.com/
    Description: 青総合税理士事務所サイト用の SWELL 子テーマ。旧 Next.js サイトのデザイントークンを移植。
    Version: 1.0.0
    Author: Knowledge Link
    Author URI: https://swell-theme.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* =========================================================
   デザイントークン（旧サイトの OKLCH パレットを sRGB 化）
   ========================================================= */
:root {
	--aot-primary: #122334;        /* Deep Navy */
	--aot-primary-light: #263c54;
	--aot-secondary: #cba960;      /* Champagne Gold */
	--aot-secondary-dark: #b18827;

	--aot-gray-50: #f9fafb;
	--aot-gray-100: #f3f4f6;
	--aot-gray-200: #e5e7eb;
	--aot-gray-300: #d1d5db;
	--aot-gray-400: #9ca3af;
	--aot-gray-500: #6b7280;
	--aot-gray-600: #4b5563;
	--aot-gray-700: #374151;
	--aot-gray-800: #1f2937;

	--aot-font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
	--aot-font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

/* =========================================================
   サイト共通（SWELL 側の見た目を旧サイトのトンマナに寄せる）
   ========================================================= */
body {
	font-family: var(--aot-font-sans);
}

/* 見出しは明朝 */
.post_content h2,
.post_content h3,
.c-postTitle__ttl,
.c-pageTitle,
.p-articleHead .c-postTitle__ttl,
.l-articleBottom h2,
.widget_title {
	font-family: var(--aot-font-serif);
}

/* ヘッダー：旧サイトのグラスモーフィズムを再現 */
.l-header,
.l-fixHeader {
	background: rgba(255, 255, 255, .78);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, .3);
}

.c-gnav > .menu-item > a .ttl {
	font-size: 14px;
	letter-spacing: .04em;
}

/* ヘッダーの「お問い合わせ」メニュー項目をボタン化（メニューに aot-header-cta クラスを付与） */
.c-gnav .aot-header-cta > a {
	background: var(--aot-primary);
	color: #fff;
	transition: background-color .3s;
}
.c-gnav .aot-header-cta > a:hover {
	background: var(--aot-primary-light);
	color: #fff;
}
.c-gnav .aot-header-cta > a::after {
	display: none;
}
.c-gnav .aot-header-cta > a .ttl {
	padding: 0 12px;
}

/* フッター：ネイビー地＋ゴールドの見出し */
.l-footer {
	background: var(--aot-primary);
	color: rgba(255, 255, 255, .72);
}
.l-footer a,
.l-footer .c-listMenu a {
	color: rgba(255, 255, 255, .72);
}
.l-footer a:hover,
.l-footer .c-listMenu a:hover {
	color: #fff;
}
.l-footer .widget_title,
.l-footer .c-widget__title {
	color: var(--aot-secondary);
	font-family: var(--aot-font-serif);
	font-size: 15px;
	letter-spacing: .04em;
}
.l-footer .l-footer__foot,
.l-footer .l-footer__copyright {
	color: rgba(255, 255, 255, .45);
	font-size: 12px;
}
.l-footer .c-listMenu a::before {
	color: var(--aot-secondary);
}

/* フッターウィジェット（ブランド / サイトマップ / サービス） */
.aot-footer-logo {
	display: block;
	width: 180px;
	height: auto;
	margin-bottom: 24px;
	filter: brightness(0) invert(1);
	opacity: .9;
}
.aot-footer-address {
	font-style: normal;
	font-size: 14px;
	line-height: 1.9;
	color: rgba(255, 255, 255, .72);
}
.aot-footer-tel {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 16px 0 0;
	font-size: 14px;
}
.aot-footer-tel span {
	color: var(--aot-secondary);
	font-size: 12px;
	letter-spacing: .08em;
}
.aot-footer-tel a {
	color: #fff;
}
.aot-footer-services {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.9;
	color: rgba(255, 255, 255, .72);
}

/* リンク・アクセントカラー */
.post_content a {
	color: var(--aot-primary-light);
}

/* =========================================================
   記事末尾の監修者ボックス
   ========================================================= */
.aot-supervisor {
	margin: 48px 0 8px;
	padding: 28px;
	background: var(--aot-gray-50);
	border-top: 2px solid var(--aot-secondary);
	border-radius: 2px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}
.aot-supervisor__label {
	margin: 0 0 16px;
	font-size: 12px;
	letter-spacing: .12em;
	font-weight: 600;
	color: var(--aot-secondary-dark);
	text-transform: uppercase;
}
.aot-supervisor__body {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}
.aot-supervisor__img {
	flex: 0 0 auto;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
}
.aot-supervisor__name {
	margin: 0 0 2px;
	font-family: var(--aot-font-serif);
	font-size: 18px;
	font-weight: 700;
	color: var(--aot-primary);
}
.aot-supervisor__name span {
	margin-left: 8px;
	font-size: 12px;
	font-weight: 400;
	color: var(--aot-gray-500);
}
.aot-supervisor__role {
	margin: 0 0 10px;
	font-size: 12px;
	color: var(--aot-secondary-dark);
	font-weight: 600;
}
.aot-supervisor__profile {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.9;
	color: var(--aot-gray-600);
}
@media (max-width: 599px) {
	.aot-supervisor__body {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}

/* プライバシーポリシーのお問い合わせ窓口ボックス */
.aot-privacy-contact {
	margin-top: 48px;
	padding: 32px;
	background: var(--aot-gray-50);
	border-radius: 2px;
}
.aot-privacy-contact h2 {
	margin-top: 0;
}

/* =========================================================
   Cookie 同意バナー
   ========================================================= */
.aot-consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9998;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 16px;
	background: #fff;
	border-top: 1px solid var(--aot-gray-200);
	box-shadow: 0 -4px 12px rgba(0, 0, 0, .08);
	transform: translateY(100%);
	opacity: 0;
	transition: transform .3s ease-out, opacity .3s ease-out;
}
.aot-consent.is-visible {
	transform: none;
	opacity: 1;
}
.aot-consent__text {
	flex: 1;
	margin: 0;
	font-size: 14px;
	line-height: 1.8;
	color: var(--aot-gray-600);
}
.aot-consent__text a {
	color: var(--aot-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.aot-consent__text a:hover {
	color: var(--aot-primary-light);
}
.aot-consent__actions {
	display: flex;
	gap: 12px;
	flex: 0 0 auto;
}
.aot-consent__btn {
	padding: 8px 16px;
	font-size: 14px;
	border: 1px solid var(--aot-gray-300);
	background: #fff;
	color: var(--aot-gray-500);
	border-radius: 2px;
	cursor: pointer;
	transition: color .25s, background-color .25s;
}
.aot-consent__btn:hover {
	color: var(--aot-gray-700);
}
.aot-consent__btn--accept {
	padding: 8px 24px;
	font-weight: 500;
	background: var(--aot-primary);
	border-color: var(--aot-primary);
	color: #fff;
}
.aot-consent__btn--accept:hover {
	background: var(--aot-primary-light);
	border-color: var(--aot-primary-light);
	color: #fff;
}
@media (min-width: 640px) {
	.aot-consent {
		flex-direction: row;
		align-items: center;
		padding: 24px;
	}
}
