/*
Template:ystandard
Theme Name:ystandard-child
Theme URI: https://wp-ystandard.com
Author: yosiakatsuki
Author URI: https://yosiakatsuki.net
Description:「自分色に染めた、自分だけのサイトを作る楽しさ」を感じてもらうために作った一風変わったWordPressテーマ「ystandard」の子テーマ
Version: 4.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

:root {
	--site-bg: #fff;
	--content-bg: #fff;
	--header-bg: #fff;
	--header-shadow: 0 1px 0 #ececec;
	--site-bg-gray: #f6f6f6;
	--site-bg-light-gray: #f6f6f6;
	--site-border-gray-light: #e6e6e6;
	--footer-bg: #1b3348;
	--footer-text: #f4efe6;
	--footer-text-gray: #d9d0c2;
	--sub-footer-bg: #1b3348;
	--sub-footer-text: #f4efe6;
	--link-text: #8d2f2a;
	--link-text-hover: #6e241f;
	--font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
	--ystd-content-default-width: 1080px;
	--ystd-layout-gap: 1.75rem;
	--ystd-container-gutter: 1.5rem;
	--global-nav-margin: 0.7rem;
}

body {
	--bg: #fff;
	--card: #fff;
	--line: #e6e6e6;
	font-size: 17px;
	line-height: 1.85;
	background-color: #fff;
}

body .cpta-ribbon {
	margin: 0;
	padding: 0.55rem 1.25rem;
	background: #1b3348;
	color: #f7f1e6;
	text-align: center;
	font-size: 0.8125rem;
	line-height: 1.6;
	letter-spacing: 0;
}

.site-header__content {
	align-items: center;
	gap: 0.75rem 1.25rem;
}

.site-branding {
	flex: 0 0 auto;
	padding-top: 0.85rem;
	padding-bottom: 0.85rem;
}

.site-branding .site-title {
	font-family: "Iowan Old Style", "Palatino Linotype", "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 1.125rem;
	line-height: 1.35;
	letter-spacing: 0.03em;
	white-space: nowrap;
}

.site-branding .site-description {
	margin-top: 0.2rem;
	font-size: 0.75rem;
	line-height: 1.4;
}

.global-nav {
	font-size: 0.8125rem;
}

.global-nav__menu {
	flex-wrap: wrap;
	row-gap: 0.15rem;
}

.global-nav__menu > .menu-item > a {
	padding-top: 0.45em;
	padding-bottom: 0.45em;
}

.cpta-header-cta {
	align-self: center;
	margin-left: 0.35rem;
	padding: 0.45rem 0.9rem;
	font-size: 0.8125rem;
	white-space: nowrap;
}

.site-content {
	padding-top: 1.25rem;
	padding-bottom: 2rem;
}

.content__main,
.archive__main,
.no-title .content__main,
.no-title.has-background .content__main {
	padding: 2.25rem 0.5rem 3rem;
	margin-bottom: 2rem;
}

.singular-header {
	margin-bottom: 1.75rem;
}

.singular-header__title {
	font-size: 1.7rem;
	line-height: 1.4;
	letter-spacing: 0.04em;
}

.entry-content {
	margin-top: 1.5rem;
	margin-bottom: 1.75rem;
}

.is-front-page .entry-content {
	margin-top: 1.25rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.content__main h1,
.content__main h2,
.content__main h3 {
	line-height: 1.45;
	letter-spacing: 0.03em;
}

.entry-content h2,
.content__main h2 {
	font-size: 1.2rem;
	margin: 1.75em 0 0.75em;
}

.entry-content h3,
.content__main h3 {
	font-size: 1.05rem;
	margin: 1.2em 0 0.35em;
}

.entry-content p,
.content__main p {
	margin: 0.85em 0;
}

.entry-content .cpta-hero h1,
.entry-content .cpta-page-head h1,
.content__main .cpta-article h1,
.content__main .cpta-page-head h1 {
	font-family: "Iowan Old Style", "Palatino Linotype", "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 1.85rem;
	font-weight: 500;
	line-height: 1.4;
	margin: 0.15em 0 0.45em;
}

.entry-content .cpta-kicker,
.content__main .cpta-kicker {
	font-size: 0.75rem;
	line-height: 1.5;
}

.entry-content .cpta-hero-lead,
.entry-content .cpta-lead,
.content__main .cpta-lead {
	font-size: 1.02rem;
	line-height: 1.85;
}

.entry-content .cpta-hero-actions {
	margin-top: 1.15rem;
	gap: 1.25rem;
}

.entry-content .cpta-cta-actions,
.content__main .cpta-cta-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem;
}

.entry-content .cpta-home-grid {
	gap: 2.5rem;
	margin-top: 3rem;
}

.entry-content .cpta-section-head,
.content__main .cpta-section-head {
	margin-top: 2.25rem;
	margin-bottom: 1.1rem;
	padding-bottom: 0.55rem;
}

.entry-content .cpta-list,
.entry-content .cpta-card-grid,
.content__main .cpta-list,
.content__main .cpta-card-grid {
	gap: 1.35rem;
}

.entry-content .cpta-card,
.content__main .cpta-card {
	padding: 1.4rem 1.5rem;
}

.entry-content .cpta-card h2,
.entry-content .cpta-card h3,
.content__main .cpta-card h2,
.content__main .cpta-card h3 {
	font-size: 1.05rem;
	line-height: 1.55;
	margin: 0.55em 0 0.3em;
}

.entry-content .cpta-card .cpta-meta,
.content__main .cpta-card .cpta-meta {
	margin-bottom: 0.15rem;
}

.entry-content .cpta-meta,
.entry-content .cpta-muted,
.content__main .cpta-meta,
.content__main .cpta-muted,
.entry-content .cpta-disclaimer,
.content__main .cpta-disclaimer {
	font-size: 0.875rem;
	line-height: 1.7;
}

.entry-content .cpta-badge,
.entry-content .cpta-tag,
.content__main .cpta-badge,
.content__main .cpta-tag {
	font-size: 0.75rem;
	padding: 0.2em 0.65em;
	background: #f3f3f3;
}

.entry-content .cpta-badge-高,
.content__main .cpta-badge-高 {
	background: #8d2f2a;
	color: #fff;
}

.entry-content .cpta-defs,
.content__main .cpta-defs {
	margin: 1.1rem 0;
}

.entry-content .cpta-defs div,
.content__main .cpta-defs div {
	gap: 1.25rem;
	padding: 0.95rem 0;
}

.entry-content .cpta-table th,
.entry-content .cpta-table td,
.content__main .cpta-table th,
.content__main .cpta-table td {
	padding: 0.9rem 0.85rem;
	font-size: 0.95rem;
	line-height: 1.7;
}

.entry-content .cpta-filters,
.content__main .cpta-filters,
.entry-content .cpta-form p,
.content__main .cpta-form p {
	gap: 1rem 1.5rem;
	margin-top: 0.75rem;
	margin-bottom: 1.5rem;
}

.entry-content .cpta-form input,
.entry-content .cpta-form select,
.entry-content .cpta-form textarea,
.entry-content .cpta-filters input,
.entry-content .cpta-filters select,
.entry-content .cpta-filters textarea,
.content__main .cpta-form input,
.content__main .cpta-form select,
.content__main .cpta-form textarea,
.content__main .cpta-filters input,
.content__main .cpta-filters select,
.content__main .cpta-filters textarea {
	padding: 0.7rem 0.85rem;
	border-color: #d9d9d9;
	background: #fff;
}

.entry-content .cpta-month,
.content__main .cpta-month {
	margin-top: 2.75rem;
}

.entry-content .cpta-task-list li,
.content__main .cpta-task-list li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 0.75rem;
	row-gap: 0.3rem;
	padding: 1.1rem 0.1rem;
}

.entry-content .cpta-task-list .cpta-muted,
.content__main .cpta-task-list .cpta-muted {
	flex-basis: 100%;
}

.entry-content .cpta-sample-note,
.entry-content .cpta-ai-note,
.content__main .cpta-sample-note,
.content__main .cpta-ai-note {
	background: #f6f6f6;
	padding: 0.8rem 1rem;
}

.entry-content .cpta-form label,
.entry-content .cpta-filters label,
.content__main .cpta-form label,
.content__main .cpta-filters label {
	font-size: 0.875rem;
}

.entry-content .cpta-panel,
.entry-content .cpta-office-comment,
.content__main .cpta-panel,
.content__main .cpta-office-comment {
	padding: 1.4rem 1.5rem;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.cpta-office-foot {
	background: #1b3348;
	color: #f4efe6;
	padding: 1.6rem 0 0.4rem;
	font-size: 0.9375rem;
	line-height: 1.7;
}

.cpta-office-foot .cpta-footer-name {
	font-family: "Iowan Old Style", "Palatino Linotype", "Yu Mincho", "Hiragino Mincho ProN", serif;
	font-size: 1.125rem;
	line-height: 1.4;
	margin: 0 0 0.35rem;
}

.cpta-office-foot p {
	margin: 0.3rem 0;
}

.cpta-office-foot a,
.cpta-office-foot .cpta-disclaimer {
	color: #d9d0c2;
	font-size: 0.875rem;
}

.footer-nav .menu-item,
.footer-copy {
	font-size: 0.8125rem;
}

@media (max-width: 860px) {
	body {
		font-size: 16px;
	}

	.site-branding .site-title {
		font-size: 1.05rem;
		white-space: normal;
	}

	.cpta-header-cta {
		display: none;
	}

	.singular-header__title,
	.entry-content .cpta-hero h1,
	.entry-content .cpta-page-head h1,
	.content__main .cpta-article h1,
	.content__main .cpta-page-head h1 {
		font-size: 1.4rem;
	}

	.entry-content .cpta-hero h1 br {
		display: none;
	}

	body .cpta-ribbon {
		font-size: 0.75rem;
		padding: 0.4rem 0.65rem;
	}

	.entry-content .cpta-home-grid,
	.entry-content .cpta-defs div,
	.content__main .cpta-defs div {
		gap: 1.25rem;
	}
}
