/*
Theme Name:   GeneratePress Child (Nousagi)
Description:  パティスリー野うさぎ用の GeneratePress 子テーマ。旧テーマ TCD「Muum」の見た目を再現する。
Author:       アイジョブ
Template:     generatepress
Version:      1.0.0
Text Domain:  generatepress-child-nousagi
*/

/* ==========================================================================
   目次
   1. 基本（文字・リンク・GeneratePress の枠の解除）
   2. アイコン
   3. ヘッダー
   4. スライダー（トップ）
   5. 本文の枠（メイン・サイドバー）
   6. トップページ
   7. サイドバー
   8. 固定ページ・投稿・一覧
   9. 本文の書式（旧テーマと同じ）
   10. フッター
   11. 画面の端の部品（トップへ戻る・サイドボタン・スマホのメニュー）
   12. お問い合わせフォーム（Contact Form 7。旧テーマのページ設定にあった CSS）
   13. 旧テーマの追加CSS（表 .fem-table）
   14. WordPress 標準の色（ブロックの文字色・背景色）
   15. 画面の幅ごとの調整（1251px 以下 / 1160px 以下 / 1100px 以下 / 750px 以下）
   ========================================================================== */

/* ---------- 1. 基本 ---------- */
body.nousagi,
body.nousagi input,
body.nousagi textarea,
body.nousagi button,
body.nousagi select {
	font-family: Arial, "Hiragino Sans", "Yu Gothic Medium", Meiryo, sans-serif;
}
body.nousagi {
	margin: 0;
	background: #fff;
	color: #000;
	font-size: 16px;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
}
.nousagi a {
	color: #000;
	text-decoration: none;
}
.nousagi a:hover {
	color: #a0a0a0;
}
.nousagi p {
	margin: 0;
}
.nousagi ul,
.nousagi ol {
	margin: 0;
	padding: 0;
	list-style: none;
}
.nousagi h1,
.nousagi h2,
.nousagi h3,
.nousagi h4,
.nousagi h5,
.nousagi h6 {
	margin: 0;
	font-weight: 600;
	line-height: 1.4;
	color: #000;
}
/* GeneratePress の枠（#page・#content）は幅の制限と余白を外し、旧テーマと同じ部品で組む */
.nousagi .site.grid-container {
	max-width: none;
	padding: 0;
}
.nousagi .site-content {
	display: block;
	padding: 0;
}
.nousagi .clearfix::after {
	content: "";
	display: block;
	clear: both;
}
.animate_background .image {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	transition: transform .75s ease;
}
.animate_background:hover .image {
	transform: scale(1.2);
}

/* ---------- 2. アイコン（色は文字色と同じになる） ---------- */
:root {
	--icon-clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M12 6.5V12l3.8 2.3' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	--icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10' cy='10' r='6.5' fill='none' stroke='%23000' stroke-width='3'/%3E%3Cpath d='M15 15l6 6' stroke='%23000' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
	--icon-home: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5L1.5 11.5h3V21h6v-6h3v6h6v-9.5h3z'/%3E%3C/svg%3E");
	--icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.5 3.5L17 12l-8.5 8.5' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E");
	--icon-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 16l8-8 8 8' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E");
	--icon-twitter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.2 2.3h3.4l-7.4 8.4L23 21.7h-6.8l-5.3-7-6.1 7H1.4l7.9-9L.9 2.3h7l4.8 6.4zm-1.2 17.4h1.9L6.8 4.2H4.8z'/%3E%3C/svg%3E");
	--icon-facebook: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12a12 12 0 1 0-13.9 11.9v-8.4H7.1V12h3V9.4c0-3 1.8-4.7 4.5-4.7 1.3 0 2.7.2 2.7.2v3h-1.5c-1.5 0-2 .9-2 1.9V12h3.4l-.5 3.5h-2.9v8.4A12 12 0 0 0 24 12z'/%3E%3C/svg%3E");
	--icon-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.5 2 2 5.6 2 10.1c0 4 3.6 7.4 8.4 8 .3.1.8.2.9.5.1.3.1.7 0 1l-.1.9c0 .3-.2 1 .9.5s6-3.5 8.1-6c1.5-1.6 1.8-3.2 1.8-4.9C22 5.6 17.5 2 12 2z'/%3E%3C/svg%3E");
	--icon-rss: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3.5a16.5 16.5 0 0 1 16.5 16.5h-3.2A13.3 13.3 0 0 0 4 6.7zm0 6.3A10.2 10.2 0 0 1 14.2 20H11a7 7 0 0 0-7-7zM6.2 15.6a2.2 2.2 0 1 1 0 4.4 2.2 2.2 0 0 1 0-4.4z'/%3E%3C/svg%3E");
}
.date {
	position: relative;
	padding-left: 22px;
	color: #999;
	font-size: 14px;
	line-height: 1;
}
.date::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	background-color: currentColor;
	-webkit-mask: var(--icon-clock) no-repeat center / contain;
	mask: var(--icon-clock) no-repeat center / contain;
}

/* ---------- 3. ヘッダー ---------- */
#header {
	position: relative;
	z-index: 100;
	background: #fff;
}
#header_top {
	display: flex;
	align-items: center;
	width: 1130px;
	height: 100px;
	margin: 0 auto;
}
#header_logo {
	flex: 0 0 auto;
}
#header_logo .logo {
	margin: 0;
	font-size: 0;
	line-height: 1;
}
#header_logo a {
	display: block;
}
#header_logo a:hover {
	opacity: .7;
}
#header_logo img {
	display: block;
	width: auto;
	height: 60px;
}
#site_description {
	flex: 1 1 auto;
	margin: 0 40px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
}
#header_search {
	flex: 0 0 300px;
	position: relative;
	height: 60px;
}
#header_search input[type="text"] {
	position: absolute;
	right: 50px;
	top: 10px;
	width: 0;
	height: 40px;
	padding: 0;
	border: 0;
	background: #f0f0f0;
	color: #000;
	font-size: 14px;
	opacity: 0;
	transition: width .3s ease, opacity .3s ease, padding .3s ease;
}
#header_search.active input[type="text"] {
	width: 250px;
	padding: 0 15px;
	opacity: 1;
}
.nousagi .search_button,
.nousagi .search_button:hover,
.nousagi .search_button:focus {
	position: absolute;
	right: 0;
	top: 0;
	width: 50px;
	height: 60px;
	padding: 0;
	border: 0;
	background: none;
	color: #000;
	cursor: pointer;
}
.nousagi .search_button::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 16px;
	height: 16px;
	margin: -8px 0 0 -8px;
	background-color: currentColor;
	-webkit-mask: var(--icon-search) no-repeat center / contain;
	mask: var(--icon-search) no-repeat center / contain;
}
.nousagi .search_button:hover::before {
	background-color: var(--nousagi-sub);
}
#menu_button {
	display: none;
}
#global_menu {
	background: #f0f0f0;
}
#global_menu > ul {
	display: flex;
	width: 1130px;
	margin: 0 auto;
}
#global_menu > ul > li {
	flex: 1 1 0;
	min-width: 0;
}
#global_menu > ul > li > a {
	display: block;
	height: 60px;
	border-right: 1px solid #fff;
	color: #000;
	font-size: 14px;
	line-height: 60px;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	transition: background .3s ease, color .3s ease;
}
#global_menu > ul > li:first-child > a {
	border-left: 1px solid #fff;
}
#global_menu > ul > li > a:hover {
	background: var(--nousagi-sub);
	color: #fff;
}
#global_menu > ul > li.current-menu-item > a {
	background: var(--nousagi-main);
	color: #fff;
}

/* ---------- 4. スライダー（トップ） ---------- */
#header_slider {
	position: relative;
	height: 550px;
	overflow: hidden;
}
#header_slider .item {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1.5s ease;
}
#header_slider .item.is-active {
	opacity: 1;
	z-index: 1;
}
#header_slider .slider_dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 30px;
	z-index: 10;
	text-align: center;
	font-size: 0;
}
#header_slider .slider_dots li {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin: 0 5px;
}
#header_slider .slider_dots button,
#header_slider .slider_dots button:focus {
	display: block;
	width: 12px;
	height: 12px;
	padding: 0;
	border: 0;
	border-radius: 20px;
	background: #fff;
	cursor: pointer;
}
#header_slider .slider_dots li.is-active button,
#header_slider .slider_dots button:hover {
	background: #aaa;
}

/* ---------- 5. 本文の枠 ---------- */
#main_contents {
	display: flex;
	width: 1130px;
	margin: 0 auto;
	padding: 60px 0 100px; /* 旧テーマの下余白（150px からバナー欄の分 50px を引いたもの） */
}
#main_contents.front {
	padding: 110px 0 100px;
}
#main_col {
	flex: 1 1 auto;
	min-width: 0;
}
#main_contents.layout_type2 #main_col {
	flex: 0 0 740px;
	width: 740px;
	margin-right: 40px;
}
#side_col {
	flex: 0 0 350px;
	width: 350px;
}
#main_col.page_col {
	flex: 0 1 1000px;
	max-width: 1000px;
	margin: 0 auto;
}

/* ---------- 6. トップページ ---------- */
#index_tab {
	height: 90px;
	margin-bottom: 10px;
}
#index_tab p {
	margin: 1px;
	height: 60px;
	padding-left: 30px;
	background: var(--nousagi-main);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 60px;
}
.post_list.type2 .item {
	position: relative;
	margin-bottom: 40px;
}
.post_list.type2 .link {
	display: flex;
	height: 230px;
}
.post_list.type2 .image_wrap {
	flex: 0 0 352px;
	overflow: hidden;
}
.post_list.type2 .content {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	padding: 0 30px;
	border: 1px solid #ddd;
	border-left: 0;
}
.post_list.type2 .title {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.8;
}
.post_list.type2 .date {
	margin-top: 7px;
}
.post_list .category,
#post_image .category {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 2;
	min-width: 130px;
	height: 40px;
	padding: 0 20px;
	background: var(--nousagi-main);
	color: #fff;
	font-size: 12px;
	line-height: 40px;
	text-align: center;
	box-sizing: border-box;
	transition: background .3s ease;
}
.nousagi .post_list .category:hover,
.nousagi #post_image .category:hover {
	background: var(--nousagi-sub);
	color: #fff;
}
.index_bottom_contents.post_content h2 {
	margin: 84px 0 36.4px;
	font-size: 28px;
	text-align: center;
}
.index_bottom_contents.post_content h2:first-child {
	margin-top: 84px !important;
}
.nousagi .post_content hr {
	height: 0;
	margin: 16px 0;
	border: 0;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid transparent;
	background: none;
}

/* ---------- 7. サイドバー ---------- */
.widget_content {
	margin-bottom: 40px;
}
#side_col .widget_media_image img {
	display: inline;
	max-width: 100%;
	height: auto;
}
.widget_headline {
	margin-bottom: 20px;
	padding-left: 18px;
	border-left: 4px solid var(--nousagi-main);
	font-size: 18px;
	font-weight: 600;
	line-height: 40px;
}
.styled_post_list1 li a {
	display: flex;
	height: 100px;
	background: #fff;
}
.styled_post_list1 .image_wrap {
	flex: 0 0 100px;
	height: 100px;
	overflow: hidden;
}
.styled_post_list1 .title_area {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	padding: 0 18px;
	border-top: 1px solid #ddd;
	border-right: 1px solid #ddd;
}
.styled_post_list1 li:last-child .title_area {
	border-bottom: 1px solid #ddd;
}
.styled_post_list1 .title_area_inner {
	width: 100%;
}
.styled_post_list1 .title {
	margin-top: 2px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.8;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.styled_post_list1 .date {
	line-height: 28px;
}
.p-dropdown__title {
	position: relative;
	height: 60px;
	padding: 0 18px;
	border: 1px solid #ddd;
	background: #fff;
	font-size: 14px;
	line-height: 60px;
	cursor: pointer;
}
.p-dropdown__title::after {
	content: "";
	position: absolute;
	right: 18px;
	top: 50%;
	width: 12px;
	height: 12px;
	margin-top: -6px;
	background-color: #000;
	transform: rotate(90deg);
	transition: transform .3s ease;
	-webkit-mask: var(--icon-chevron) no-repeat center / contain;
	mask: var(--icon-chevron) no-repeat center / contain;
}
.p-dropdown__title:hover::after {
	background-color: #a0a0a0;
}
.p-dropdown.is-open .p-dropdown__title::after {
	transform: rotate(-90deg);
}
.p-dropdown__list {
	display: none;
	border: 1px solid #ddd;
	border-top: 0;
}
.p-dropdown.is-open .p-dropdown__list {
	display: block;
}
.p-dropdown__list li a {
	display: block;
	padding: 12px 18px;
	border-top: 1px solid #ddd;
	font-size: 14px;
	line-height: 1.6;
}
.p-dropdown__list li:first-child a {
	border-top: 0;
}

/* ---------- 8. 固定ページ・投稿・一覧 ---------- */
#page_header {
	height: 60px;
	background: var(--nousagi-main);
	text-align: center;
}
#page_header .title {
	margin: 0;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 60px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
#bread_crumb {
	border-bottom: 1px solid #ddd;
}
#bread_crumb ul {
	width: 1130px;
	margin: 0 auto;
	height: 59px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 12px;
	line-height: 59px;
	color: #999;
}
#bread_crumb li {
	display: inline;
	position: relative;
	font-size: 12px;
}
#bread_crumb li:not(.last)::after {
	content: "";
	display: inline-block;
	width: 9px;
	height: 9px;
	margin: 0 13px;
	background-color: #000;
	-webkit-mask: var(--icon-chevron) no-repeat center / contain;
	mask: var(--icon-chevron) no-repeat center / contain;
}
#bread_crumb li a {
	display: inline-block;
	color: #000;
}
#bread_crumb li.home a span {
	display: inline-block;
	width: 16px;
	height: 14px;
	vertical-align: middle;
	background-color: currentColor;
	font-size: 0;
	-webkit-mask: var(--icon-home) no-repeat center / contain;
	mask: var(--icon-home) no-repeat center / contain;
}
#post_title {
	margin-bottom: 30px;
}
#post_title .title {
	margin-top: 10px;
	font-size: 36px;
	font-weight: 500;
	line-height: 1.5;
}
#post_image {
	position: relative;
	height: 485px;
	margin-bottom: 30px;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
.single_share {
	margin: 0 0 35px;
	padding-top: 12px;
}
.single_share ul {
	display: flex;
	flex-wrap: wrap;
}
.single_share li {
	width: 100px;
	margin: 0 3px 3px 0;
}
.nousagi .single_share li a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	border-radius: 3px;
	color: #fff;
	font-size: 11px;
	line-height: 30px;
	transition: opacity .3s ease;
}
.nousagi .single_share li a:hover {
	color: #fff;
	opacity: .8;
}
.single_share .twitter a { background: #000; }
.single_share .facebook a { background: #35589a; }
.single_share .line a { background: #00c300; }
.single_share .rss a { background: #ffb53c; }
.single_share .icon {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 6px;
	background-color: currentColor;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}
.single_share .icon-twitter { -webkit-mask-image: var(--icon-twitter); mask-image: var(--icon-twitter); }
.single_share .icon-facebook { -webkit-mask-image: var(--icon-facebook); mask-image: var(--icon-facebook); }
.single_share .icon-line { -webkit-mask-image: var(--icon-line); mask-image: var(--icon-line); }
.single_share .icon-rss { -webkit-mask-image: var(--icon-rss); mask-image: var(--icon-rss); }
#next_prev_post {
	display: flex;
	margin-top: 40px;
}
#next_prev_post .item {
	width: 50%;
	height: 120px;
	margin-right: -1px;
	border: 1px solid #ddd;
	box-sizing: border-box;
}
#next_prev_post .next_post {
	margin-left: auto;
}
#next_prev_post a {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 10px;
}
#next_prev_post .image_wrap {
	flex: 0 0 100px;
	height: 100px;
	overflow: hidden;
}
#next_prev_post .title_area {
	padding: 0 20px;
}
#next_prev_post .title {
	font-size: 16px;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
#next_prev_post .nav {
	display: none;
}
#next_prev_post .next_post a {
	flex-direction: row-reverse;
}
#related_post {
	margin: 40px 0 -22px;
}
#related_post .headline {
	margin: 0 0 20px;
	padding-left: 18px;
	border-left: 4px solid var(--nousagi-main);
	font-size: 21px;
	font-weight: 600;
	line-height: 40px;
}
#related_post .post_list {
	display: flex;
	flex-wrap: wrap;
}
#related_post .item {
	width: 230px;
	margin: 0 25px 22px 0;
}
#related_post .item:nth-child(3n) {
	margin-right: 0;
}
#related_post .image_wrap {
	height: 150px;
	margin-bottom: 15px;
	overflow: hidden;
}
#related_post .title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
}
.blog_list {
	display: flex;
	flex-wrap: wrap;
}
.blog_list .item {
	width: 350px;
	margin: 0 40px 40px 0;
}
.blog_list .item:nth-of-type(3n) {
	margin-right: 0;
}
.blog_list .link {
	display: block;
	height: 100%;
}
.blog_list .image_wrap {
	height: 230px;
	overflow: hidden;
}
.blog_list .content {
	position: relative;
	min-height: 162px;
	padding: 25px 30px 50px;
	border: 1px solid #ddd;
	border-top: 0;
	background: #fff;
	box-sizing: border-box;
}
.blog_list .title {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.6;
}
.blog_list .date {
	position: absolute;
	left: 31px;
	bottom: 31px;
}
.page_navi {
	margin-top: 20px;
}
.page_navi ul {
	display: flex;
	justify-content: center;
}
.page_navi li {
	margin-left: -1px;
}
.page_navi li .page-numbers {
	display: block;
	width: 50px;
	height: 50px;
	border: 1px solid #ddd;
	background: #fff;
	box-sizing: border-box;
	font-size: 14px;
	line-height: 48px;
	text-align: center;
}
.nousagi .page_navi a.page-numbers:hover {
	border-color: var(--nousagi-sub);
	background: var(--nousagi-sub);
	color: #fff;
}
.page_navi .page-numbers.current {
	border-color: var(--nousagi-main);
	background: var(--nousagi-main);
	color: #fff;
}
.no_post p {
	line-height: 2.4;
}
.no_post_search {
	position: relative;
	max-width: 400px;
	height: 50px;
	margin-top: 20px;
	border: 1px solid #ddd;
}
.no_post_search input[type="text"] {
	width: 100%;
	height: 48px;
	padding: 0 60px 0 15px;
	border: 0;
	background: #fff;
}
.no_post_search .search_button {
	height: 48px !important;
}

/* ---------- 9. 本文の書式（旧テーマと同じ） ---------- */
.post_content {
	font-size: 16px;
	line-height: 1;
	word-wrap: break-word;
}
#article .post_content > :first-child {
	margin-top: 0 !important;
}
.nousagi .post_content p {
	margin: 0 0 2em;
	line-height: 2.4;
}
.nousagi .post_content p:last-child {
	margin-bottom: 0;
}
.post_content a {
	color: #1578d6;
}
.nousagi .post_content a:hover {
	color: #1578d6;
	text-decoration: underline;
}
.nousagi .post_content h1 { margin: 80px 0 1em; font-size: 30px; line-height: 1.4; text-align: center; }
.nousagi .post_content h2 { margin: 3em 0 1.3em; font-size: 28px; line-height: 1.4; text-align: center; }
.nousagi .post_content h3 { margin: 3em 0 1.3em; font-size: 26px; line-height: 1.6; }
.nousagi .post_content h4 { margin: 2.3em 0 1em; font-size: 22px; line-height: 1.6; }
.nousagi .post_content h5 { margin: 2.3em 0 1em; font-size: 20px; line-height: 1.6; }
.nousagi .post_content h6 { margin: 2.3em 0 1em; font-size: 18px; line-height: 1.6; }
.nousagi .post_content .has-text-align-left { text-align: left; }
.nousagi .post_content .has-text-align-center { text-align: center; }
.nousagi .post_content .has-text-align-right { text-align: right; }
.nousagi .post_content ul,
.nousagi .post_content ol {
	margin: 0 0 24px 1.3em;
}
.nousagi .post_content ul {
	list-style: circle outside;
}
.nousagi .post_content ol {
	list-style: decimal outside;
	margin-left: 1.5em;
}
.nousagi .post_content li {
	line-height: 2.2;
}
.nousagi .post_content .wp-block-columns {
	margin-bottom: 0;
}
.nousagi .post_content li > ul,
.nousagi .post_content li > ol {
	margin-bottom: 0;
}
.nousagi .post_content table {
	width: 100%;
	margin: 0 0 24px;
	border-collapse: collapse;
}
.nousagi .post_content td,
.nousagi .post_content th {
	padding: 17px 25px;
	border: 1px solid #ddd;
	background: #fff;
	line-height: 2.2;
}
.nousagi .post_content th {
	background: #f7f7f7;
	font-weight: normal;
}
.nousagi .post_content blockquote {
	position: relative;
	margin: 0 0 25px;
	padding: 27px 30px;
	border: 1px solid #ccc;
	background: #fff;
	box-shadow: 0 3px 0 0 rgba(150, 150, 150, .1);
	font-style: normal;
}
.nousagi .post_content blockquote::before,
.nousagi .post_content blockquote::after {
	content: '"';
	position: absolute;
	width: 30px;
	height: 30px;
	color: #5cbcd7;
	font-size: 30px;
	font-style: italic;
	line-height: 40px;
}
.nousagi .post_content blockquote::before {
	top: 5px;
	left: 10px;
}
.nousagi .post_content blockquote::after {
	bottom: 7px;
	right: -2px;
	line-height: 60px;
}
.nousagi .post_content img {
	max-width: 100%;
	height: auto;
}
.nousagi .post_content .alignleft { float: left; }
.nousagi .post_content .alignright { float: right; }
.nousagi .post_content .aligncenter { margin-left: auto; margin-right: auto; margin-bottom: 7px; }
.nousagi .post_content .wp-block-image .aligncenter { display: table; }
.nousagi .post_content .wp-block-image figcaption {
	margin: 8px 0 16px;
	font-size: 16px;
	line-height: 1;
}

/* ---------- 10. フッター ---------- */
#footer_carousel {
	position: relative;
	height: 184px;
	background: var(--nousagi-main);
}
#footer_carousel .post_list {
	display: flex;
	width: 1130px;
	height: 184px;
	margin: 0 auto;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
#footer_carousel .post_list::-webkit-scrollbar {
	display: none;
}
#footer_carousel .item {
	flex: 0 0 25%;
	height: 184px;
	scroll-snap-align: start;
}
#footer_carousel .link {
	display: block;
	position: relative;
	height: 100%;
	overflow: hidden;
}
#footer_carousel .image_wrap {
	height: 100%;
}
#footer_carousel .title_area {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 10px 20px;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .55));
	color: #fff;
}
#footer_carousel .date {
	margin-bottom: 10px;
	color: #fff;
}
#footer_carousel .title {
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.8;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
#footer_carousel .carousel_arrow,
#footer_carousel .carousel_arrow:hover,
#footer_carousel .carousel_arrow:focus {
	position: absolute;
	top: 50%;
	width: 45px;
	height: 45px;
	margin-top: -22px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
#footer_carousel .carousel_arrow::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 14px;
	height: 14px;
	margin: -7px 0 0 -7px;
	background-color: #fff;
	-webkit-mask: var(--icon-chevron) no-repeat center / contain;
	mask: var(--icon-chevron) no-repeat center / contain;
}
#footer_carousel .carousel_arrow:hover::before {
	background-color: #aaa;
}
#footer_carousel .prev_item {
	left: 25px;
}
#footer_carousel .prev_item::before {
	transform: rotate(180deg);
}
#footer_carousel .next_item {
	right: 25px;
}
#footer_widget {
	background: #f0f0f0;
}
#footer_widget_inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	width: 1130px;
	margin: 0 auto;
	padding: 60px 0 20px;
}
#footer_widget .widget_content {
	width: 351px;
	margin: 0 38px 40px 0;
	font-size: 16px;
	line-height: 1.6;
}
#footer_widget .widget_content:nth-child(3n) {
	margin-right: 0;
}
#footer_widget h2 {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
}
#footer_widget li {
	margin: 0 0 10px;
	padding: 2px 0;
	line-height: 32px;
}
#footer_widget .wp-block-group__inner-container > * {
	margin: 0;
}
#footer_menu {
	padding: 23px 0 13px;
	text-align: center;
}
#footer_menu li {
	display: inline-block;
	margin: 0 18px 10px;
	font-size: 14px;
	line-height: 1;
}
#footer_bottom {
	background: var(--nousagi-main);
}
#copyright {
	color: #fff;
	font-size: 12px;
	line-height: 60px;
	text-align: center;
}

/* ---------- 11. 画面の端の部品 ---------- */
#return_top {
	position: fixed;
	right: 0;
	bottom: -60px;
	z-index: 100;
	transition: transform .3s ease;
}
#return_top.active {
	transform: translate3d(0, -120px, 0);
}
#return_top a {
	display: block;
	position: relative;
	width: 60px;
	height: 60px;
	background: var(--nousagi-main);
}
#return_top a:hover {
	background: var(--nousagi-sub);
}
#return_top a::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 14px;
	height: 14px;
	margin: -7px 0 0 -7px;
	background-color: #fff;
	-webkit-mask: var(--icon-up) no-repeat center / contain;
	mask: var(--icon-up) no-repeat center / contain;
}
#return_top span {
	display: block;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
}
.side_menu_button {
	position: fixed;
	right: 0;
	top: 50%;
	z-index: 300;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	transform: translateY(-50%);
	pointer-events: none;
}
.side_menu_button .item {
	position: relative;
	right: -70px;
	display: flex;
	background: var(--nousagi-side);
	transform: translate3d(calc(100% - 70px), 0, 0);
	transition: background .25s ease, transform .25s ease;
	pointer-events: auto;
}
.nousagi .side_menu_button .item,
.nousagi .side_menu_button .item:hover {
	color: #fff;
}
.side_menu_button .item:hover {
	background: #ffadad;
	transform: translate3d(0, 0, 0);
}
body.start_first_animation .side_menu_button .item:nth-child(1) {
	animation: nousagi_side_menu .25s ease 0s forwards;
}
body.start_first_animation .side_menu_button .item:nth-child(2) {
	animation: nousagi_side_menu .25s ease .2s forwards;
}
@keyframes nousagi_side_menu {
	0% { right: -70px; }
	100% { right: 0; }
}
.side_menu_button .title {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	width: 70px;
	padding: 40px 0;
	border-right: 1px solid rgba(255, 255, 255, .3);
	font-weight: 600;
	writing-mode: vertical-rl;
	box-sizing: border-box;
}
.side_menu_button .content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 25px;
	line-height: 1.6;
}
.side_menu_button .catch {
	font-weight: 600;
}
.side_menu_button .catch + .desc {
	margin-top: 10px;
}
html.open_menu .side_menu_button {
	opacity: 0;
}
#drawer_menu {
	position: fixed;
	top: 0;
	right: -300px;
	z-index: 1000;
	width: 300px;
	height: 100%;
	overflow-y: auto;
	background: #000;
	visibility: hidden;
	transition: right .3s ease, visibility .3s ease;
}
html.open_menu #drawer_menu {
	right: 0;
	visibility: visible;
}
#drawer_overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 999;
	background: rgba(0, 0, 0, .3);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease, visibility .3s ease;
}
html.open_menu #drawer_overlay {
	opacity: 1;
	visibility: visible;
}
#close_menu button,
#close_menu button:hover,
#close_menu button:focus {
	display: block;
	width: 100%;
	height: 50px;
	padding: 0 20px;
	border: 0;
	background: #000;
	color: #fff;
	font-size: 12px;
	text-align: right;
	cursor: pointer;
}
#drawer_menu .side_menu_button {
	position: static;
	transform: none;
	pointer-events: auto;
	flex-direction: row;
	align-items: stretch;
}
#drawer_menu .side_menu_button .item {
	right: 0;
	flex: 1 1 50%;
	transform: none;
	animation: none;
	flex-direction: column;
}
#drawer_menu .side_menu_button .title {
	width: auto;
	padding: 15px 10px;
	border-right: 0;
	border-bottom: 1px solid rgba(255, 255, 255, .3);
	writing-mode: horizontal-tb;
	font-size: 14px;
}
#drawer_menu .side_menu_button .content {
	padding: 10px;
	font-size: 11px;
}
#drawer_menu .side_menu_button .item + .item {
	border-left: 1px solid rgba(255, 255, 255, .3);
}
#mobile_menu a {
	display: block;
	height: 60px;
	padding: 0 60px 0 20px;
	border-bottom: 1px solid rgba(255, 255, 255, .2);
	color: #fff;
	font-size: 13px;
	line-height: 60px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.nousagi #mobile_menu a:hover {
	background: #333;
	color: #fff;
}
#footer_search {
	position: relative;
	height: 45px;
	margin: 30px 20px;
	background: rgba(255, 255, 255, .2);
}
#footer_search input[type="text"] {
	width: 100%;
	height: 45px;
	padding: 0 50px 0 15px;
	border: 0;
	background: none;
	color: #fff;
	font-size: 14px;
}
#footer_search .search_button {
	height: 45px;
	color: #fff;
}

/* ---------- 12. お問い合わせフォーム（Contact Form 7） ---------- */
/* 旧テーマ本体の CF7 用の書式 */
.nousagi .wpcf7 {
	width: 100%;
	margin: 0 0 2.5em !important;
	padding: 0;
	border: 1px solid #ddd;
	background: #fafafa;
	color: #000;
	font-size: 14px;
	line-height: 1;
}
.nousagi .wpcf7 form {
	margin: 1.5em 1.5em 0;
}
.nousagi .wpcf7 p {
	margin-bottom: 1em;
	font-size: 16px;
	line-height: 2.4;
}
.nousagi .wpcf7 input,
.nousagi .wpcf7 textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 0;
	color: #000;
	font-size: 16px;
	line-height: 1.2;
}
.nousagi .wpcf7 select,
.nousagi .wpcf7 input[type="checkbox"],
.nousagi .wpcf7 input[type="radio"] {
	width: auto;
	max-width: 97%;
	padding: 8px;
	border: 1px solid #ccc;
}
.nousagi .wpcf7 .wpcf7-list-item {
	display: block;
}
.nousagi .wpcf7 textarea {
	height: 300px;
}
.nousagi .wpcf7 input:focus,
.nousagi .wpcf7 textarea:focus {
	border: 1px solid #bbb;
	outline: none;
}
.nousagi .wpcf7 .wpcf7-submit {
	display: block;
	position: relative;
	width: 225px;
	height: 48px;
	margin: 30px auto 0;
	border: none !important;
	outline: none;
	background-color: #333;
	color: #fff;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
	cursor: pointer;
	transition: all .3s;
}
.nousagi .wpcf7 form .wpcf7-response-output {
	margin: 2em .5em 2em;
	padding: 0;
	border: none;
	text-align: center;
}
.nousagi .wpcf7 form.invalid .wpcf7-response-output,
.nousagi .wpcf7 form.unaccepted .wpcf7-response-output {
	color: #dc3232;
	font-size: 1em;
}
/* 旧テーマの「お問い合わせ」ページ設定にあった装飾 */
.nousagi .wpcf7 {
	background-color: #fff;
	border: 0;
}
#cf7-area {
	width: 100%;
	margin: 0 auto;
	font-family: "遊ゴシック", "ヒラギノ角ゴ", "メイリオ", "MS Pゴシック", sans-serif;
}
.cf7-item {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	margin: 0 0 1.75em;
}
.cf7-q {
	width: 30%;
	margin: 0 0 0 10px;
}
.cf7-a {
	width: 60%;
}
.form-heading {
	width: 100%;
	margin: 0 0 2em;
	padding: 1em .8em;
	border-left: 1em solid #db8687;
	border-radius: 2px;
	background-color: #fec7ea;
	color: #fff;
	font-weight: bold;
	box-sizing: content-box; /* 旧テーマと同じ幅の計算（GeneratePress は border-box） */
}
.nousagi .form-heading p {
	margin: 0;
}
#cf7-area label {
	font-weight: bold;
}
.nousagi .cf7-a input,
.nousagi .cf7-a textarea {
	width: 500px;
	margin-left: 10px;
	background: #f0f8ff;
}
.nousagi .cf7-a input:focus,
.nousagi .cf7-a textarea:focus {
	border: 2px solid #ff1493;
	background: #ffe4e1;
	outline: 0;
}
#cf7-area .wpcf7-list-item {
	display: block;
}
.nousagi #cf7-area textarea {
	height: 200px;
	padding: .625em .4375em;
}
.cf7-accept-check {
	margin: 50px auto;
	text-align: center;
}
.cf7-submit {
	width: 40%;
	margin: 0 auto;
	text-align: center;
}
.nousagi .wpcf7 input.wpcf7-submit {
	width: 100%;
	padding: 8px;
	border-radius: 5px;
	background-color: #fec7ea;
	color: #fff;
	font-size: 1.2em;
}
.nousagi .wpcf7 input.wpcf7-submit:hover {
	background-color: #db8687;
	color: #191970;
}
.cf7-btn {
	width: 40%;
	margin: 0 auto;
	border-radius: 10px;
	text-align: center;
}
.cf7-req {
	display: inline-block;
	float: right;
	margin-right: 10px;
	padding: 4px 6px;
	border-radius: 5px;
	background: #eb2a2a;
	color: #fff;
	font-size: .7em;
}

/* ---------- 13. 旧テーマの追加CSS（表 .fem-table） ---------- */
:root {
	--f-text: #998671;
	--f-line: #e29399;
	--f-bg1: #e29399;
	--f-bg2: #fef4f4;
}
.nousagi .fem-table table {
	color: var(--f-text);
	border: 2px solid var(--f-line);
	background-color: #fff;
}
.nousagi .fem-table table th {
	border: 1px dotted #fff;
	background-color: var(--f-bg1);
}
.nousagi .fem-table thead {
	border-bottom: 1px solid var(--f-line);
	color: #fff;
}
.nousagi .fem-table table td {
	border: 1px dotted var(--f-line);
	text-align: left;
	vertical-align: middle;
}

/* ---------- 14. WordPress 標準の色（GeneratePress では出力されないため、ここで定義） ---------- */
.has-black-color { color: #000 !important; }
.has-cyan-bluish-gray-color { color: #abb8c3 !important; }
.has-white-color { color: #fff !important; }
.has-pale-pink-color { color: #f78da7 !important; }
.has-vivid-red-color { color: #cf2e2e !important; }
.has-luminous-vivid-orange-color { color: #ff6900 !important; }
.has-luminous-vivid-amber-color { color: #fcb900 !important; }
.has-light-green-cyan-color { color: #7bdcb5 !important; }
.has-vivid-green-cyan-color { color: #00d084 !important; }
.has-pale-cyan-blue-color { color: #8ed1fc !important; }
.has-vivid-cyan-blue-color { color: #0693e3 !important; }
.has-vivid-purple-color { color: #9b51e0 !important; }
.has-black-background-color { background-color: #000 !important; }
.has-cyan-bluish-gray-background-color { background-color: #abb8c3 !important; }
.has-white-background-color { background-color: #fff !important; }
.has-pale-pink-background-color { background-color: #f78da7 !important; }
.has-vivid-red-background-color { background-color: #cf2e2e !important; }
.has-luminous-vivid-orange-background-color { background-color: #ff6900 !important; }
.has-luminous-vivid-amber-background-color { background-color: #fcb900 !important; }
.has-light-green-cyan-background-color { background-color: #7bdcb5 !important; }
.has-vivid-green-cyan-background-color { background-color: #00d084 !important; }
.has-pale-cyan-blue-background-color { background-color: #8ed1fc !important; }
.has-vivid-cyan-blue-background-color { background-color: #0693e3 !important; }
.has-vivid-purple-background-color { background-color: #9b51e0 !important; }

/* ---------- 15. 画面の幅ごとの調整 ---------- */

/* 1251px 以下：ヘッダーをスマホ用（ロゴ＋メニューボタン）にする（旧テーマと同じ幅） */
@media screen and (max-width: 1251px) {
	#header {
		height: 60px;
	}
	#header_top {
		width: auto;
		height: 60px;
		position: relative;
	}
	#header_logo {
		margin-left: 20px;
	}
	#header_logo img {
		height: 40px;
	}
	#site_description {
		margin: 0 0 0 20px;
		padding-right: 60px;
		font-size: 12px;
	}
	#header_search,
	#global_menu {
		display: none;
	}
	#menu_button,
	#menu_button:hover,
	#menu_button:focus {
		display: block;
		position: absolute;
		right: 0;
		top: 0;
		z-index: 50;
		width: 60px;
		height: 60px;
		padding: 0;
		border: 0;
		background: none;
		cursor: pointer;
	}
	#menu_button span {
		position: absolute;
		left: 20px;
		width: 22px;
		height: 2px;
		background: #000;
		transition: background-color .2s ease;
	}
	#menu_button span:nth-child(1) { top: 25px; }
	#menu_button span:nth-child(2) { top: 31px; }
	#menu_button span:nth-child(3) { top: 37px; }
	#menu_button:hover span {
		background: #a0a0a0;
	}
	#main_contents,
	#bread_crumb ul,
	#footer_widget_inner,
	#footer_carousel .post_list {
		width: auto;
		margin-left: 40px;
		margin-right: 40px;
	}
	#return_top {
		bottom: -60px;
	}
	#return_top.active {
		transform: translate3d(0, -60px, 0);
	}
}

/* 1160px 以下：右端のボタンはメニューの中だけに出す */
@media screen and (max-width: 1160px) {
	body > .side_menu_button {
		display: none;
	}
}

/* 1100px 以下：1列にする（サイドバーは本文の下へ） */
@media screen and (max-width: 1100px) {
	#header_slider {
		height: 450px;
	}
	#header_slider .slider_dots {
		bottom: 20px;
	}
	#main_contents {
		display: block;
	}
	#main_contents.layout_type2 #main_col {
		width: 100%;
		margin-right: 0;
	}
	#side_col {
		width: 100%;
		padding-top: 40px;
	}
	#side_col .widget_content:last-child {
		margin-bottom: 0;
	}
	#main_col.page_col,
	.single #main_col {
		max-width: 740px;
		margin: 0 auto;
	}
	.blog_list .item {
		width: calc(50% - 15px);
		margin-right: 30px;
	}
	.blog_list .item:nth-of-type(3n) {
		margin-right: 30px;
	}
	.blog_list .item:nth-of-type(2n) {
		margin-right: 0;
	}
	#footer_carousel .item {
		flex-basis: 33.333%;
	}
	#footer_widget .widget_content {
		width: calc(50% - 20px);
		margin-right: 40px;
	}
	#footer_widget .widget_content:nth-child(3n) {
		margin-right: 40px;
	}
	#footer_widget .widget_content:nth-child(2n) {
		margin-right: 0;
	}
}

/* 750px 以下：スマホ */
@media screen and (max-width: 750px) {
	#site_description {
		display: none;
	}
	#header_slider {
		height: 300px;
		margin-bottom: 20px;
	}
	#main_contents {
		margin: 0;
		padding: 40px 20px 90px;
	}
	#main_contents.front {
		padding: 35px 20px 90px;
	}
	#index_tab {
		height: 67px;
		margin-bottom: 0;
	}
	#index_tab p {
		height: 45px;
		font-size: 11px;
		line-height: 45px;
	}
	.post_list.type2 {
		margin: 0 -20px 40px;
	}
	.post_list.type2 .item {
		margin: 0;
		padding: 20px;
		border-top: 1px solid #ddd;
		border-bottom: 1px solid #ddd;
	}
	.post_list.type2 .item + .item {
		border-top: 0;
	}
	.post_list.type2 .link {
		height: 105px;
	}
	.post_list.type2 .image_wrap {
		flex-basis: 160px;
	}
	.post_list.type2 .content {
		padding: 0 0 0 20px;
		border: 0;
	}
	.post_list.type2 .title {
		font-size: 15px;
		line-height: 1.8;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
		overflow: hidden;
	}
	.post_list .category {
		left: 20px;
		top: 20px;
		min-width: 0;
		height: 35px;
		padding: 0 15px;
		font-size: 11px;
		line-height: 35px;
	}
	.index_bottom_contents.post_content h2,
	.index_bottom_contents.post_content h2:first-child {
		margin: 66px 0 22px !important;
		font-size: 22px;
	}
	.widget_content {
		margin-bottom: 40px;
	}
	.p-dropdown__title {
		height: 50px;
		line-height: 50px;
	}
	#page_header {
		height: 50px;
	}
	#page_header .title {
		padding: 0 20px;
		font-size: 16px;
		line-height: 50px;
	}
	#bread_crumb {
		border-top: 1px solid #ddd;
	}
	#bread_crumb ul {
		height: 43px;
		margin: 0;
		padding: 0 20px;
		line-height: 43px;
	}
	#post_title .title {
		font-size: 20px;
		font-weight: 600;
	}
	#post_image {
		height: 240px;
		margin: 0 -20px 30px;
	}
	#post_image .category {
		min-width: 0;
		height: 35px;
		padding: 0 15px;
		font-size: 11px;
		line-height: 35px;
	}
	.single_share {
		margin-bottom: 40px;
	}
	.single_share ul {
		flex-wrap: nowrap;
	}
	.single_share li {
		flex: 1 1 0;
		width: auto;
	}
	.single_share li:last-child {
		margin-right: 0;
	}
	.single_share .icon {
		width: 14px;
		height: 14px;
		margin-right: 0;
	}
	.single_share .ttl {
		display: none;
	}
	#next_prev_post .item {
		height: 52px;
	}
	#next_prev_post a {
		justify-content: center;
		padding: 0;
	}
	#next_prev_post .image_wrap,
	#next_prev_post .title {
		display: none;
	}
	#next_prev_post .title_area {
		padding: 0;
	}
	#next_prev_post .nav {
		display: block;
		font-size: 16px;
		line-height: 52px;
	}
	#related_post .headline {
		font-size: 18px;
	}
	#related_post .item,
	#related_post .item:nth-child(3n) {
		width: calc(50% - 10px);
		margin: 0 20px 15px 0;
	}
	#related_post .item:nth-child(2n) {
		margin-right: 0;
	}
	#related_post .image_wrap {
		height: 100px;
		margin-bottom: 12px;
	}
	#related_post .title {
		font-size: 14px;
	}
	.blog_list .item,
	.blog_list .item:nth-of-type(3n),
	.blog_list .item:nth-of-type(2n) {
		width: 100%;
		margin: 0 0 20px;
	}
	.blog_list .image_wrap {
		height: 210px;
	}
	.blog_list .content {
		min-height: 0;
		padding: 20px 20px 60px;
	}
	.blog_list .title {
		font-size: 16px;
	}
	.blog_list .date {
		left: 21px;
		bottom: 26px;
	}
	.nousagi .post_content h1 { font-size: 24px; margin: 80px 0 1em; }
	.nousagi .post_content h2 { font-size: 22px; margin: 3em 0 1em; }
	.nousagi .post_content h3 { font-size: 20px; margin: 2em 0 1em; }
	.nousagi .post_content h4 { font-size: 18px; margin: 2em 0 1em; }
	.nousagi .post_content h5 { font-size: 16px; margin: 2em 0 1em; }
	.nousagi .post_content h6 { font-size: 14px; margin: 2em 0 1em; }
	.nousagi .post_content td,
	.nousagi .post_content th {
		padding: 14px 20px;
		line-height: 1.8;
	}
	.nousagi .post_content li {
		line-height: 1.8;
	}
	.page_navi {
		margin-top: 40px;
	}
	.page_navi li .page-numbers {
		width: 40px;
		height: 40px;
		line-height: 38px;
	}
	#footer_carousel .post_list {
		width: 100%;
		margin: 0;
	}
	#footer_carousel .item {
		flex-basis: 50%;
	}
	#footer_carousel .title {
		font-size: 12px;
	}
	#footer_carousel .carousel_arrow {
		display: none;
	}
	#footer_widget {
		padding: 0 20px;
	}
	#footer_widget_inner {
		display: block;
		margin: 0;
		padding: 40px 0;
	}
	#footer_widget .widget_content,
	#footer_widget .widget_content:nth-child(3n) {
		width: 100%;
		margin: 0 0 40px;
	}
	#footer_widget .widget_content:last-child {
		margin-bottom: 0;
	}
	#footer_menu {
		padding: 30px 0 28px;
	}
	#footer_menu li {
		display: block;
		margin: 0;
	}
	#footer_menu li a {
		display: block;
		line-height: 35px;
	}
	#copyright {
		line-height: 50px;
	}
	#return_top {
		bottom: -50px;
	}
	#return_top.active {
		transform: translate3d(0, -50px, 0);
	}
	#return_top a {
		width: 50px;
		height: 50px;
	}
}

/* 768px 以下：お問い合わせフォーム（旧テーマのページ設定と同じ） */
@media screen and (max-width: 768px) {
	.cf7-item {
		display: block;
	}
	#cf7-area label {
		display: block;
		margin-bottom: 10px;
	}
	.cf7-q {
		width: 100%;
		margin: 0;
	}
	.cf7-a {
		width: 100%;
	}
	.nousagi .cf7-a input,
	.nousagi .cf7-a textarea {
		max-width: 100%; /* 旧テーマでは入力欄が画面からはみ出していたため、画面の幅に収める */
		margin-left: 0;
	}
	.nousagi .wpcf7 input.wpcf7-submit {
		width: 90%;
	}
	.cf7-req {
		float: left;
	}
}
