@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD 葛飾橋コラム
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

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

.kh-site {
	--kh-blue: #2944c3;
	--kh-band: #3073d5;
	--kh-light: #dce5fc;
	--kh-orange: #ff8b36;
	--kh-grey: #f1f1f1;
	background: #fdfdfd;
	color: #171717;
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

.kh-site a { color: var(--kh-blue); }
.kh-site a:hover { text-decoration: underline; }
.kh-site :focus-visible { outline: 3px solid #1936b4; outline-offset: 3px; }

#body_wrap.kh-shell {
	max-width: 1000px;
	min-height: 100vh;
	margin-inline: auto;
	background: #fff;
	border-inline: 1px solid #e4e4e4;
}

.kh-skip {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	padding: .5rem 1rem;
	background: #fff;
	transform: translateY(-150%);
}

.kh-skip:focus { transform: none; }
.kh-header { position: relative; padding-inline: 12px; }

.kh-masthead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 85px;
	gap: 16px;
	padding-inline: 10px;
}

.kh-brand {
	display: block;
	width: min(375px, 55%);
	font-weight: 700;
}

.kh-brand img { display: block; width: 100%; height: auto; }

.kh-contact {
	text-align: center;
	color: var(--kh-blue);
	font-size: .76rem;
	line-height: 1.35;
}

.kh-contact p { margin: 0; }
.kh-contact-label { display: none; }
.kh-phone { display: inline-block; font-size: 1.5rem; letter-spacing: .05em; }
.kh-phone::before { content: "☎"; margin-right: .25em; }
.kh-menu { display: none; }

.kh-nav {
	background: linear-gradient(#fafafa, #ededed);
	border-bottom: 1px solid #d1d1d1;
}

.kh-nav ul,
.kh-footer ul,
.kh-post-grid,
.kh-breadcrumb ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.kh-nav ul {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	align-items: stretch;
	padding-block: 8px;
}

.kh-nav li + li { border-left: 1px solid #bcbcbc; }

.kh-nav a {
	display: grid;
	place-content: center;
	min-height: 36px;
	padding: 2px 4px;
	text-align: center;
	line-height: 1.3;
	font-size: .78rem;
	font-weight: 700;
}

.kh-nav small { font-size: .88em; font-weight: 500; }
.kh-nav a:hover { background: #e7ecfc; }
.kh-main { margin: 22px 12px 0; }

.kh-section-band {
	margin: 0 0 17px;
	padding: 5px 12px;
	border-radius: 5px;
	color: #fff;
	font-weight: 700;
	background: radial-gradient(circle at 1px 1px, #ffffff24 1px, transparent 1.5px) 0 0 / 7px 7px, var(--kh-band);
}

.kh-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(175px, 21vw, 305px);
	overflow: hidden;
	isolation: isolate;
	padding: 24px clamp(24px, 5vw, 43px);
	border: 1px solid #a8d2f4;
	background: var(--kh-light);
}

.kh-hero::after {
	position: absolute;
	inset: 0;
	border: 14px solid #fff;
	content: "";
	pointer-events: none;
}

.kh-hero-photo {
	position: absolute;
	z-index: -1;
	inset: 0 0 0 auto;
	width: 45%;
	height: 100%;
	object-fit: cover;
	object-position: 70% center;
	mask-image: linear-gradient(to right, transparent, #000 46%);
}

.kh-hero h1 {
	margin: 0;
	color: #164c78;
	font-size: clamp(1.3rem, 2.25vw, 1.8rem);
	font-weight: 600;
}

.kh-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 42px 30px;
	margin-top: 29px;
}

.kh-post-card,
.kh-post-card > a { height: 100%; }

.kh-post-card > a {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 10px;
	background: var(--kh-grey);
}

.kh-card-image,
.kh-detail-photo {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #e2e8f3;
}

.kh-card-image img,
.kh-detail-photo img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.kh-post-card h2 { margin: 0 2px 1.25rem; font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
.kh-post-card time { margin: auto 2px 0; color: #333; font-size: .78rem; text-align: right; }

.kh-empty {
	margin: 29px 0 0;
	padding: 1.25rem;
	border: 1px solid #e0e8fa;
	background: #f7f9fe;
	color: #3c4554;
}

.kh-column-index .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 30px;
}

.kh-column-index .page-numbers { display: block; padding: .5rem .85rem; }
.kh-column-index .page-numbers.current { background: var(--kh-grey); }
.kh-to-top { margin: 22px 0 0; text-align: right; font-size: .87rem; }
.kh-footer { margin-top: 26px; text-align: center; }

.kh-contact-guide {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 16px 32px;
	margin: 0 12px 24px;
	padding: 16px 20px;
	border: 1px solid #e0e8fa;
	background: #f7f9fe;
	text-align: left;
}

.kh-contact-guide h2 { margin: 0 0 6px; font-size: 1rem; }
.kh-contact-guide p { margin: 4px 0 0; font-size: .85rem; }
.kh-contact-guide a { text-decoration: underline; }

.kh-footer-photo {
	display: block;
	width: calc(100% - 24px);
	height: auto;
	margin-inline: auto;
}

.kh-footer-panel {
	padding: 14px 12px 12px;
	background: radial-gradient(circle at 1px 1px, #ffffff26 1px, transparent 1.5px) 0 0 / 7px 7px, #79a8db;
}

.kh-footer-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.kh-footer-cards a {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: 9px;
	background: #fff;
	text-align: left;
}

.kh-footer-cards span { color: #171717; font-size: .76rem; line-height: 1.45; }
.kh-footer-cards strong { display: block; color: var(--kh-blue); }
.kh-footer-icon { width: 45px; aspect-ratio: 1; object-fit: cover; }

.kh-footer .kh-footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 5px 12px;
	padding-top: 16px;
	font-size: .82rem;
}

.kh-footer-links a { color: #122752; font-weight: 700; }
.kh-copyright { display: block; padding-block: 4px; font-size: .72rem; }
.kh-breadcrumb { margin: 8px 8px 22px; color: #444; font-size: .85rem; }
.kh-breadcrumb ol { display: flex; flex-wrap: wrap; gap: .35rem; }
.kh-breadcrumb li + li::before { content: "›"; margin-right: .35rem; }
.kh-detail { padding-inline: clamp(8px, 3.2vw, 38px); }
.kh-detail > h1 { margin: 0 0 1.6rem; font-size: clamp(1.25rem, 2.25vw, 1.7rem); line-height: 1.45; overflow-wrap: anywhere; }
.kh-detail-photo { aspect-ratio: 16 / 9; background: var(--kh-grey); }
.kh-detail-date { display: block; margin-top: .4rem; text-align: right; font-size: .82rem; }
.kh-entry { margin: 1.6rem 0; overflow-wrap: anywhere; }
.kh-entry img { max-width: 100%; height: auto; }
/* ▼ SWELLデフォルトの見出しを使うためコメントアウト ▼
.kh-entry.post_content h2,
.kh-entry.post_content h3 {
	margin: 2.5rem 0 1.4rem;
	padding: .6rem .9rem;
	border: 0;
	border-radius: 5px;
	background: var(--kh-orange);
	color: #25170f;
}

.kh-entry.post_content h3 { background: var(--kh-band); color: #fff; }
.kh-entry.post_content h2::before,
.kh-entry.post_content h3::before,
.kh-entry.post_content h2::after,
.kh-entry.post_content h3::after { content: none; }
▲ ここまで ▲ */
.kh-entry .wp-block-table { max-width: 100%; overflow-x: auto; }
.kh-entry table { width: 100%; border-collapse: collapse; }
.kh-entry table td,
.kh-entry table th { padding: .5rem; border: 1px solid #d8dce1; }
.kh-entry table thead th { background: var(--kh-band); color: #fff; }
.kh-entry table tbody th { background: var(--kh-light); }
.kh-entry .wp-block-button__link { border-radius: 99px; background: var(--kh-orange); color: #25170f; }
.kh-detail-back { margin-top: 2rem; text-align: center; }

@media (max-width: 850px) {
	.kh-post-grid { gap: 24px 16px; }
}

@media (max-width: 680px) {
	.kh-site { --kh-mobile-gutter: 16px; font-size: 15px; }
	#body_wrap.kh-shell { border: 0; }
	.kh-header { padding: 0; }
	.kh-masthead { display: block; min-height: 57px; padding: 0; }
	.kh-brand { display: flex; align-items: center; min-height: 57px; width: min(255px, calc(100% - 62px)); margin-left: 3px; }
	.kh-desktop-menu, .kh-contact-address, .kh-contact-hours { display: none; }
	.kh-contact {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		padding: 4px 8px;
		background: #f7f9fe;
	}
	.kh-contact-label { display: block; }
	.kh-contact .kh-phone { display: inline-flex; align-items: center; min-height: 36px; font-size: 1.05rem; font-weight: 700; }
	.kh-menu { display: block; }

	.kh-menu summary {
		position: absolute;
		top: 0;
		right: 0;
		display: grid;
		place-content: center;
		justify-items: center;
		gap: 4px;
		width: 57px;
		height: 57px;
		background: #434fdd;
		color: #fff;
		cursor: pointer;
		list-style: none;
		font-size: 11px;
		line-height: 1;
	}

	.kh-menu summary::-webkit-details-marker { display: none; }
	.kh-menu summary:focus-visible { outline-color: #fff; outline-offset: -5px; }

	.kh-menu-icon {
		position: relative;
		display: block;
		width: 29px;
		height: 22px;
		border-block: 3px solid currentColor;
	}

	.kh-menu-icon::after { position: absolute; inset: 7px 0 auto; height: 3px; background: currentColor; content: ""; }
	.kh-menu .kh-nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
	.kh-menu .kh-nav li { border: 0; border-top: 1px solid #bcbcbc; }
	.kh-menu .kh-nav li:nth-child(even) { border-left: 1px solid #bcbcbc; }
	.kh-menu .kh-nav li:last-child { grid-column: 1 / -1; }
	.kh-menu .kh-nav a { min-height: 58px; font-size: .86rem; }
	.kh-main { margin: 15px 0 0; }
	.kh-section-band { margin-inline: var(--kh-mobile-gutter); margin-bottom: 16px; }
	.kh-hero { min-height: clamp(176px, 50vw, 245px); margin-inline: var(--kh-mobile-gutter); padding-left: clamp(24px, 8vw, 44px); }
	.kh-hero::after { border-width: 8px 11px; }
	.kh-hero-photo { width: 68%; mask-image: linear-gradient(to right, transparent 10%, #000 66%); }
	.kh-post-grid { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 12px; }
	.kh-post-card > a { padding: 24px var(--kh-mobile-gutter) 12px; border-bottom: 1px solid #bbb; background: #fff; }
	.kh-card-image { border: 5px solid var(--kh-grey); }
	.kh-post-card h2 { margin: 0; font-size: .92rem; }
	.kh-post-card time { margin: 0; font-size: .85rem; }
	.kh-empty, .kh-column-index .nav-links { margin-inline: var(--kh-mobile-gutter); }
	.kh-to-top { margin-inline: var(--kh-mobile-gutter); }
	.kh-footer { margin-top: 32px; }
	.kh-contact-guide {
		grid-template-columns: minmax(0, 1fr);
		margin-inline: var(--kh-mobile-gutter);
		padding: 16px;
	}
	.kh-contact-guide section + section { padding-block-start: 16px; border-top: 1px solid #d8e1f3; }
	.kh-contact-guide h2[id] { scroll-margin-top: var(--kh-mobile-gutter); }
	.kh-contact-guide .kh-phone { display: inline-flex; align-items: center; min-height: 44px; }
	.kh-footer-photo { width: calc(100% - 2 * var(--kh-mobile-gutter)); margin-bottom: 12px; }
	.kh-footer-panel { padding: 16px var(--kh-mobile-gutter); }
	.kh-footer-cards { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.kh-footer .kh-footer-links {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 4px 8px;
		margin-top: 14px;
		padding-top: 8px;
		border-top: 1px solid #12275238;
	}
	.kh-footer-links a {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 36px;
		padding: 4px;
	}
	.kh-copyright { padding-block: 8px; }
	.kh-breadcrumb { margin-inline: 22px; }
	.kh-detail { padding-inline: 22px; }
	.kh-detail-photo { aspect-ratio: 16 / 9; }
	.kh-entry { line-height: 1.8; }
}
/* フッターのお問い合わせボタン */
.kh-contact-guide .kh-contact-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    background: var(--kh-band);
    color: #fff !important;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none !important;
    transition: opacity .2s;
}

.kh-contact-guide .kh-contact-btn:hover {
    opacity: .85;
}