/*
Theme Name: Sarah Yokokawa 1.1.0
Theme URI: https://sarahyokokawa.com
Author: Sarah Yokokawa
Description: オリジナルテーマ - sarahyokokawa.com のデザインを忠実に再現したオリジナルテーマ。jQuery廃止・FB SDK更新・ハードコードURL除去。
Version: 1.8.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sarah-theme
Tags: two-columns, right-sidebar, responsive-layout, custom-header, custom-menu, featured-images
*/

/* =Genericons Icon Font
-------------------------------------------------------------- */
@font-face {
	font-family: 'Genericons';
	src: url('font/genericons-regular-webfont.eot');
	src: url('font/genericons-regular-webfont.eot?#iefix') format('embedded-opentype'),
	     url('font/genericons-regular-webfont.woff') format('woff'),
	     url('font/genericons-regular-webfont.ttf') format('truetype'),
	     url('font/genericons-regular-webfont.svg#genericonsregular') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* =Reset
-------------------------------------------------------------- */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
article, aside, details, figcaption, figure,
footer, header, main, nav, section { display: block; }
ol, ul { list-style: none; }
table {
	border-collapse: collapse;
	border-spacing: 0;
	margin: 0 0 1.5em;
	width: 100%;
}
th { font-weight: bold; }
th, td { border: 1px solid #EAEAEA; padding: 6px 10px; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
a img { border: 0; }
a img:hover { opacity: 0.8; }
embed, iframe, object { max-width: 100%; }
.entry-content img, .entry-content table,
.entry-content embed, .entry-content object, .entry-content video {
	max-width: 100% !important;
	height: auto !important;
}
.entry-content iframe {
	max-width: 100% !important;
	aspect-ratio: 16 / 9;
	height: auto !important;
	width: 100%;
}
.entry-content table { display: block; overflow-x: auto; }

/* =Typography
-------------------------------------------------------------- */
body {
	color: #666666;
	font: 16px 'Lato', sans-serif;
	line-height: 1.625;
	/* 背景色はカスタマイザーのcustom-backgroundで設定 */
	background-color: #e5f9f9;
	background-image: url("https://sarahyokokawa.com/wp-content/uploads/2019/01/48189145_2271075512927190_2922528290612707328_o-1.jpg");
	background-repeat: repeat;
	background-position: top left;
	background-attachment: scroll;
}
h1, h2, h3, h4, h5, h6 {
	padding-bottom: 18px;
	color: #222222;
	font-weight: normal;
	font-family: 'Lato', sans-serif;
}
h1 { font-size: 30px; line-height: 36px; }
h2 { font-size: 28px; line-height: 34px; }
h3 { font-size: 26px; line-height: 32px; }
h4 { font-size: 24px; line-height: 30px; }
h5 { font-size: 22px; line-height: 28px; }
h6 { font-size: 19px; line-height: 25px; }
hr {
	border-color: #EAEAEA;
	border-style: solid;
	border-width: 1px 0 0;
	margin: 30px 0;
}
p {
	margin-bottom: 15px;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
}
strong { font-weight: bold; }
em { font-style: italic; }
pre {
	background-color: #fff;
	margin-bottom: 20px;
	overflow: auto;
	padding: 20px;
}
code, kbd, tt, var {
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 14px;
}
blockquote {
	font-style: italic;
	margin: 0 0 15px;
	padding: 20px;
	background: #F8F8F8;
}
a { color: #666666; text-decoration: none; }
a:hover { color: #0abab5; }

/* =CLEARFIX
-------------------------------------------------------------- */
.clearfix:after, .clearfix:before { content: ""; display: table; }
.clearfix:after { clear: both; }

/* =BODY / PAGE WRAPPER
-------------------------------------------------------------- */
body {
	padding-top: 30px;
	padding-bottom: 30px;
}
#page {
	max-width: 1268px;
	margin: 0 auto;
	background-color: #FFFFFF;
	box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
}
.inner-wrap {
	margin: 0 auto;
	max-width: 1218px;
	padding: 0 25px;
	box-sizing: border-box;
}

/* =HEADER
-------------------------------------------------------------- */
#masthead { background-color: #fff; }
#header-text-nav-container { border-bottom: 1px solid #EAEAEA; }
#header-text-nav-wrap {
	padding-top: 15px;
	padding-bottom: 15px;
}
#header-left-section {
	float: left;
	margin-right: 25px;
}
#header-logo-image {
	float: left;
	padding: 0 20px 0 0;
	max-width: 100%;
}
#header-logo-image img { margin-bottom: 0; max-height: 80px; width: auto; }
#header-text { float: left; padding: 10px 20px 0 0; }

/* サイトタイトル・説明：ティール色 */
#site-title a {
	color: #0abab5;
	font-size: 36px;
}
h1#site-title { padding-bottom: 5px; }
#site-title a:hover { color: #0abab5; opacity: 0.8; }
#site-description {
	line-height: 24px;
	font-size: 16px;
	padding-bottom: 0;
	color: #0abab5;
}
#header-right-section { float: right; }

/* =NAVIGATION
-------------------------------------------------------------- */
.main-navigation { float: right; padding-top: 5px; }
.main-navigation ul { margin: 0; padding: 0; list-style: none; }
.main-navigation li {
	float: left;
	position: relative;
	padding: 0 0 0 25px;
	font-family: 'Lato', sans-serif;
}
.main-navigation ul li a { font-size: 16px; }
.main-navigation a {
	color: #444444;
	display: block;
	float: left;
	padding: 16px 0 0;
	height: 30px;
}
.main-navigation a:hover,
.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current_page_ancestor a,
.main-navigation ul li.current-menu-ancestor a,
.main-navigation ul li.current_page_item a,
.main-navigation ul li:hover > a { color: #0abab5; }

/* ドロップダウン */
.main-navigation ul li ul { display: none; z-index: 9999; }
.main-navigation ul li:hover > ul { display: block; }
.main-navigation ul li ul {
	position: absolute;
	background: rgba(255,255,255,0.95);
	border-top: 1px solid #0abab5;
	top: 45px; left: 25px;
	width: 200px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.main-navigation ul li ul li {
	float: none;
	border-bottom: 1px solid #EAEAEA;
	padding: 0;
}
.main-navigation ul li ul li a {
	float: none;
	font-size: 13px;
	height: 100%;
	padding: 8px 12px;
	color: #666;
}
.main-navigation ul li ul li a:hover { color: #0abab5; background: #f9f9f9; }
.main-navigation ul li ul li ul { left: 200px; top: -1px; }

/* モバイルメニュー */
.menu-toggle {
	display: none;
	cursor: pointer;
	background: #3A3A3A;
	color: #fff;
	font-size: 18px;
	font-weight: 300;
	padding: 8px 20px;
	border: none;
	width: 100%;
	text-align: left;
	margin-top: 10px;
}
.menu-toggle:hover { background: #0abab5; }

/* =SLIDER
-------------------------------------------------------------- */
#featured-slider {
	position: relative;
	overflow: hidden;
	background: #000;
}
.slider-cycle {
	position: relative;
	width: 100%;
	aspect-ratio: 1200 / 453;
	overflow: hidden;
}
#featured-slider .slides {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
}
#featured-slider .slides.displayblock { display: block; }
#featured-slider .slides.displaynone  { display: none; }
#featured-slider figure { margin: 0; padding: 0; width: 100%; height: 100%; }
#featured-slider figure img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
}
#featured-slider .entry-container {
	position: absolute;
	top: 20%;
	left: 4%;
	max-width: 45%;
	z-index: 10;
}
#featured-slider .entry-description-container {
	background: rgba(0,0,0,0.5);
	padding: 15px 20px;
	margin-bottom: 10px;
}
#featured-slider .entry-title {
	color: #fff;
	font-size: 22px;
	line-height: 1.3;
	padding-bottom: 8px;
}
#featured-slider .entry-title a { color: #fff; }
#featured-slider .entry-title a:hover { color: #0abab5; }
#featured-slider .entry-content { color: #eee; font-size: 14px; }
#featured-slider .entry-content p { margin-bottom: 0; color: #eee; }
.slider-read-more-button {
	display: inline-block;
	background: #0abab5;
	color: #fff !important;
	padding: 8px 20px;
	font-size: 14px;
	transition: background 0.2s;
}
.slider-read-more-button:hover { background: #089a95; color: #fff !important; }

/* スライダーナビ（数字付き） */
#controllers {
	position: absolute;
	bottom: 12px;
	width: 100%;
	text-align: center;
	z-index: 20;
}
#controllers a {
	display: inline-block;
	width: 22px;
	height: 22px;
	line-height: 22px;
	background: rgba(255,255,255,0.4);
	border-radius: 50%;
	margin: 0 3px;
	text-align: center;
	font-size: 11px;
	color: #fff;
	text-decoration: none;
}
#controllers a.activeSlide,
#controllers a.active { background: #0abab5; color: #fff; }

/* =PAGE TITLE BAR
-------------------------------------------------------------- */
.header-post-title-container {
	background: #F8F8F8;
	border-bottom: 1px solid #EAEAEA;
	padding: 20px 0;
}
.header-post-title-class { font-size: 22px; padding-bottom: 0; }

/* =MAIN
-------------------------------------------------------------- */
#main { padding: 0; }
#main > .inner-wrap { padding-top: 25px; padding-bottom: 30px; }

/* =PRIMARY / SECONDARY（通常ブログ）
-------------------------------------------------------------- */
#primary { float: left; width: 61.5%; }
#secondary { float: right; width: 30%; }
.left-sidebar #primary { float: right; }
.left-sidebar #secondary { float: left; }
.no-sidebar #primary { float: none; width: 70%; margin: 0 auto; }
.no-sidebar-full-width #primary { float: none; width: 100%; }
.no-sidebar #secondary,
.no-sidebar-full-width #secondary { display: none; }

/* =BUSINESS PAGE（フルワイド・ウィジェット縦積み）
-------------------------------------------------------------- */
/* business.php テンプレート用：サイドバーなし全幅 */
.page-template-business #primary,
.page-template-page-templatesbusiness-php #primary {
	float: none;
	width: 100%;
}
.page-template-business #secondary,
.page-template-page-templatesbusiness-php #secondary {
	display: none;
}

/* ビジネスページ内ウィジェット */
#content .widget { margin-bottom: 30px; }
#content .widget_text { margin-bottom: 20px; }

/* サービスブロック（3カラムグリッド）※CSS Gridで組み直し（高さの違いに影響されない） */
.widget_service_block {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px 4.4%;
	margin-bottom: 40px;
	clear: both;
}
.widget_service_block .tg-one-third {
	float: none;
	width: auto;
	margin-right: 0;
}
.tg-after-two-blocks-clearfix,
.tg-after-three-blocks-clearfix { clear: none; }

/* 2カラム */
.tg-one-half { float: left; width: 47.5%; margin-right: 5%; }
.tg-one-half-last { float: right; margin-right: 0; }

/* サービスウィジェット内 */
.service-image { margin-bottom: 12px; overflow: hidden; aspect-ratio: 642 / 300; }
.service-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.widget_service_block h1.widget-title {
	font-size: 18px;
	font-weight: bold;
	color: #444;
	padding-bottom: 8px;
	border-bottom: none;
}
.widget_service_block h1.widget-title a { color: #444; }
.widget_service_block h1.widget-title a:hover { color: #0abab5; }
.widget_service_block p { font-size: 14px; line-height: 1.7; margin-bottom: 8px; }
.more-link-wrap { margin-top: 8px; }
.more-link {
	font-size: 13px;
	color: #0abab5;
	text-decoration: none;
}
.more-link:hover { text-decoration: underline; }

/* =POST / ARTICLE
-------------------------------------------------------------- */
#main { overflow-x: hidden; }
#content .post, #content .page { padding-bottom: 45px; }
.single #content .post { padding-bottom: 25px; }
.post .entry-title, .page .entry-title { font-size: 26px; line-height: 32px; }
.post .entry-title a, .page .entry-title a { color: #444444; }
.post .entry-title a:hover, .page .entry-title a:hover { color: #0abab5; }
.post-featured-image { margin-bottom: 15px; }
.post-featured-image img { max-width: 100%; height: auto; display: block; }
.entry-content { margin-bottom: 10px; }
.entry-content ul { list-style: square; padding: 0 0 0 35px; margin-bottom: 30px; }
.entry-content ol { padding: 0 0 0 35px; margin-bottom: 30px; list-style: decimal; }
.entry-content a { color: #0abab5; }
.entry-content a:hover { color: #089a95; text-decoration: underline; }

/* エントリーメタ */
.entry-meta {
	border: 1px solid #EAEAEA;
	font-size: 14px; color: #666;
	font-family: 'Lato', sans-serif;
	margin: 0 0 20px;
}
.entry-meta .by-author, .entry-meta .date,
.entry-meta .category, .entry-meta .comments,
.entry-meta .edit-link {
	float: left; padding: 5px 10px;
	border-right: none;
}
.entry-meta .read-more-link {
	padding: 5px 10px;
	background-color: #0abab5;
	float: right;
}
.entry-meta a { color: #666; }
.entry-meta a.read-more { color: #fff; }
.entry-meta a.read-more:hover { color: #fff; }
.entry-meta a:hover { color: #0abab5; }

/* =SIDEBAR
-------------------------------------------------------------- */
#secondary .widget { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #EAEAEA; }
#secondary h3.widget-title {
	font-size: 16px; font-weight: bold; color: #444;
	padding-bottom: 10px;
	border-bottom: 2px solid #0abab5;
	margin-bottom: 15px;
}
#secondary h3.widget-title span { display: inline; }
#secondary .widget ul li { border-bottom: 1px solid #EAEAEA; padding: 5px 0; font-size: 14px; }
#secondary .widget ul li:last-child { border-bottom: none; }
#secondary a:hover { color: #0abab5; }

/* サイドバー内 Newsletter フォーム（pub_form）本番同等スタイル */
#secondary dl.pub_form dt { font-size: 13px; color: #444; margin-bottom: 3px; margin-top: 8px; }
#secondary dl.pub_form dd { margin: 0 0 4px; }
#secondary dl.pub_form input[type="text"] {
	width: 100%;
	padding: 6px 8px;
	border: 1px solid #ddd;
	background: #f7f7f7;
	color: #333;
	font-size: 13px;
	margin-bottom: 6px;
	box-sizing: border-box;
}
#secondary input[type="submit"] {
	background: #0abab5;
	color: #fff;
	border: none;
	padding: 6px 20px;
	cursor: pointer;
	font-size: 13px;
}
#secondary input[type="submit"]:hover { background: #089a95; }
#secondary .center { text-align: center; margin-top: 8px; }
#secondary hr { border-color: #EAEAEA; margin: 8px 0; }

/* =FOOTER WIDGET AREA
-------------------------------------------------------------- */
#colophon { background-color: #3A3A3A; color: #aaa; overflow-x: hidden; }
.g-ytsubscribe, .g-ytsubscribe iframe { max-width: 100% !important; }

.footer-widgets-wrapper { padding: 40px 0 20px; }
.footer-widgets-area { overflow: hidden; }

/* 4カラム均等 */
.tg-one-fourth { float: left; width: 22%; margin-right: 4%; }
.tg-one-fourth-last { margin-right: 0; }
.tg-column-1 { float: left; width: 22%; margin-right: 4%; }
.tg-column-2 { float: left; width: 22%; margin-right: 4%; }
.tg-column-3 { float: left; width: 22%; margin-right: 4%; }
.tg-column-4 { float: left; width: 22%; margin-right: 0; }

#colophon h3.widget-title {
	font-size: 14px; font-weight: bold;
	color: #ddd; padding-bottom: 10px;
	border-bottom: 1px solid #555;
	margin-bottom: 12px;
}
#colophon h3.widget-title span { display: inline; }
#colophon h3.widget-title a { color: #ddd; }
#colophon h3.widget-title a:hover { color: #0abab5; }
#colophon .widget, #colophon p { color: #aaa; font-size: 13px; }
#colophon a { color: #ccc; }
#colophon a:hover { color: #0abab5; }
#colophon .widget ul li { border-bottom: 1px solid #4a4a4a; padding: 5px 0; font-size: 13px; }
#colophon .widget ul li:last-child { border-bottom: none; }

/* Recent Posts Widget Extended スタイル上書き */
.rpwe-block ul { list-style: none !important; margin-left: 0 !important; padding-left: 0 !important; }
.rpwe-block li {
	border-bottom: 1px solid #4a4a4a !important;
	margin-bottom: 8px; padding-bottom: 8px;
	list-style-type: none;
}
.rpwe-block h3 {
	background: none !important;
	font-size: 12px !important;
	font-weight: 400;
	line-height: 1.5em;
	margin: 0 !important;
	color: #ccc;
}
.rpwe-block a { color: #ccc !important; text-decoration: none; }
.rpwe-block a:hover { color: #0abab5 !important; }
.rpwe-time { color: #888; font-size: 11px; }
.rpwe-alignleft { display: inline; float: left; }

/* Newsletter フォーム */
#colophon input[type="text"] {
	width: 100%;
	padding: 6px 8px;
	border: 1px solid #555;
	background: #4a4a4a;
	color: #ccc;
	font-size: 13px;
	margin-bottom: 6px;
	box-sizing: border-box;
}
#colophon input[type="submit"] {
	background: #0abab5;
	color: #fff;
	border: none;
	padding: 6px 20px;
	cursor: pointer;
	font-size: 13px;
}
#colophon input[type="submit"]:hover { background: #089a95; }
#colophon dl.pub_form dt { font-size: 12px; color: #aaa; margin-bottom: 3px; margin-top: 8px; }
#colophon dl.pub_form dd { margin: 0 0 4px; }
#colophon .center { text-align: center; margin-top: 8px; }
#colophon hr { border-color: #555; margin: 8px 0; }

/* SNS アイコン */
#colophon .widget img {
	max-width: 55px;
	height: auto;
	margin-bottom: 6px;
	display: block;
}

/* =FOOTER BOTTOM BAR
-------------------------------------------------------------- */
.footer-socket-wrapper { background-color: #2A2A2A; padding: 15px 0; }
.footer-socket-area { overflow: hidden; }
.footer-socket-wrapper .copyright { float: left; font-size: 13px; color: #888; padding: 3px 0; }
.footer-socket-wrapper .copyright a { color: #aaa; }
.footer-socket-wrapper .copyright a:hover { color: #0abab5; }
.small-menu { float: right; }
.small-menu ul { list-style: none; margin: 0; padding: 0; }
.small-menu ul li { display: inline; }
.small-menu a { display: inline; color: #888; font-size: 13px; padding: 3px 8px; }
.small-menu a:hover { color: #0abab5; }

/* =SCROLL TO TOP
-------------------------------------------------------------- */
#scroll-up {
	display: none;
	position: fixed;
	bottom: 30px; right: 30px;
	width: 40px; height: 40px;
	background: #0abab5;
	border-radius: 3px;
	z-index: 999;
	text-decoration: none;
}
#scroll-up:after {
	content: "↑";
	color: #fff; font-size: 20px;
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
}
#scroll-up:hover { background: #089a95; }

/* =PAGINATION
-------------------------------------------------------------- */
.site-navigation { margin: 20px 0 40px; overflow: hidden; font-size: 14px; }
.nav-previous { float: left; }
.nav-next { float: right; }
.site-navigation a { color: #0abab5; }
.site-navigation a:hover { text-decoration: underline; }

/* =SEARCH
-------------------------------------------------------------- */
.search-form { position: relative; margin-bottom: 20px; }
.search-form input[type="search"] {
	width: 100%; padding: 8px 40px 8px 10px;
	border: 1px solid #EAEAEA; font-size: 14px; box-sizing: border-box;
}
.search-form input[type="submit"] {
	position: absolute; right: 0; top: 0;
	height: 100%; width: 36px;
	background: #0abab5; border: none; color: #fff; cursor: pointer;
}

/* =IMAGES
-------------------------------------------------------------- */
img { max-width: 100%; height: auto; }
.alignleft { float: left; margin: 0 20px 10px 0; }
.alignright { float: right; margin: 0 0 10px 20px; }
.aligncenter { display: block; margin: 0 auto 10px; }
.wp-caption { max-width: 100%; margin-bottom: 20px; }
.wp-caption-text { font-size: 12px; color: #999; text-align: center; padding: 5px; }

/* =COMMENTS
-------------------------------------------------------------- */
#comments { padding-top: 20px; }
.comment-list { list-style: none; padding: 0; margin-bottom: 30px; }
.comment { border-bottom: 1px solid #EAEAEA; padding: 15px 0; }
.comment-author { font-weight: bold; margin-bottom: 5px; }
.comment-meta { font-size: 12px; color: #999; margin-bottom: 8px; }
#respond { margin-top: 30px; }
#respond h3 { font-size: 20px; margin-bottom: 15px; }
#respond input, #respond textarea {
	width: 100%; padding: 8px 10px;
	border: 1px solid #EAEAEA; font-size: 14px;
	margin-bottom: 10px; box-sizing: border-box;
	font-family: 'Lato', sans-serif;
}
#respond textarea { height: 150px; resize: vertical; }
#respond input[type="submit"] {
	width: auto; background: #0abab5; color: #fff;
	border: none; padding: 10px 25px; cursor: pointer; font-size: 15px;
}
#respond input[type="submit"]:hover { background: #089a95; }

/* =404
-------------------------------------------------------------- */
.error-404 { padding: 40px 0; text-align: center; }

/* =RESPONSIVE
-------------------------------------------------------------- */
@media screen and (max-width: 1308px) {
	#page { width: 97%; }
	.inner-wrap { width: 94%; max-width: 100%; }
}
@media screen and (max-width: 1078px) {
	body { padding: 15px 0; }
	#featured-slider .entry-container { max-width: 60%; top: 15%; }
	.footer-socket-wrapper .copyright { float: none; max-width: 100%; text-align: center; margin-bottom: 5px; }
	.small-menu { float: none; text-align: center; }
	.tg-one-half, .tg-one-third { float: left; width: 46.7%; }
	.tg-one-half-last { float: right; }
	.tg-one-fourth,
	.tg-column-1, .tg-column-3 { float: left; width: 46.7%; margin-right: 6.6%; }
	.tg-column-2, .tg-column-4 { float: right; margin-right: 0; }
	.widget_service_block { grid-template-columns: repeat(2, 1fr); }
	.widget_service_block .tg-one-third { float: none; width: auto; margin-right: 0; }
}
@media screen and (max-width: 900px) {
	#featured-slider .entry-content { display: none; }
	#featured-slider .entry-container { top: auto; bottom: 15%; }
}
@media screen and (max-width: 768px) {
	#primary, #secondary { float: none; width: 100%; margin: 0; }
	.no-sidebar #primary { width: 100%; }
	#header-left-section { float: none; max-width: 100%; margin-right: 0; }
	#header-logo-image { float: none; text-align: center; margin-bottom: 10px; }
	#header-text { float: none; text-align: center; padding: 5px 0; }
	#header-right-section { float: none; }
	.main-navigation { float: none; width: 100%; }
	.main-navigation li { float: none; padding: 0; }
	.main-navigation a { float: none; height: auto; padding: 10px 15px; border-bottom: 1px solid #EAEAEA; }
	.main-navigation ul li ul { position: static; width: 100%; box-shadow: none; border-top: none; }
	.main-navigation ul li ul li a { padding-left: 30px; }
	.menu-toggle { display: block; }
	.main-navigation ul { display: none; }
	.main-navigation.toggled ul { display: block; }
	#featured-slider .entry-container { max-width: 80%; top: 10%; }
	.slider-cycle { aspect-ratio: 1200 / 453; background: #000; }
	#featured-slider figure img { aspect-ratio: auto; object-fit: contain; }
	.tg-one-half, .tg-one-half-last,
	.tg-one-third, .tg-one-fourth,
	.tg-column-1, .tg-column-2, .tg-column-3, .tg-column-4 {
		float: none; width: 100%; margin-right: 0;
	}
	.widget_service_block { grid-template-columns: 1fr; }
}
@media screen and (max-width: 480px) {
	body { padding: 0; }
	#page { width: 100%; box-shadow: none; }
	#site-title a { font-size: 26px; }
	#featured-slider .entry-description-container { display: none; }
	#featured-slider .entry-container { max-width: 90%; }
}

/* =BUSINESS PAGE INTRO
-------------------------------------------------------------- */
.sarah-intro { margin-bottom: 25px; overflow: hidden; }
.sarah-intro .intro-photo { max-width: 444px; width: 100%; height: auto; }
.sarah-intro .intro-catch { font-family: 'Lato', sans-serif; font-size: 11pt; color: #189aa9; margin-bottom: 10px; }
.sarah-intro .intro-body { font-family: 'Lato', sans-serif; font-size: 11pt; color: #189aa9; margin-bottom: 6px; line-height: 1.8; }
.sarah-intro .intro-photo-credit { font-size: 9pt; }
.sarah-intro .intro-photo-credit a { color: #189aa9; text-decoration: underline; }

.sarah-book { margin-bottom: 20px; overflow: hidden; }
.sarah-book .book-title { font-family: 'Lato', sans-serif; font-size: 14.5pt; color: #c13e84; margin-bottom: 10px; }
.sarah-book .book-title a { color: #c13e84; }

.sarah-event { margin-bottom: 20px; overflow: hidden; }
.sarah-banner { margin-bottom: 20px; }

/* pub_form スタイル */
dl.pub_form dt { font-size: 12px; color: #aaa; margin-bottom: 3px; margin-top: 8px; }
dl.pub_form dd { margin: 0 0 4px; }
dl.pub_form input[type="text"] {
	width: 100%; padding: 4px 6px;
	border: 1px solid #555; background: #4a4a4a;
	color: #ccc; font-size: 12px;
}

/* =DEFAULT-WP-PAGE NAV（本番と同じ前後記事ナビ）
-------------------------------------------------------------- */
ul.default-wp-page {
	list-style: none;
	padding: 0;
	margin: 20px 0 30px;
	overflow: hidden;
}
ul.default-wp-page li.previous { float: left; }
ul.default-wp-page li.next     { float: right; }
ul.default-wp-page a           { color: #0abab5; font-size: 14px; }
ul.default-wp-page a:hover     { text-decoration: underline; }
ul.default-wp-page .meta-nav   { font-size: 13px; }

/* single ページのアイキャッチは非表示（コンテンツ内画像を使う） */
.single .post-featured-image { display: none; }

/* =SINGLE PAGE 差分修正
-------------------------------------------------------------- */

/* タグ：枠あり・角丸・間隔詰め */
.single #content .tags {
	margin: 20px 0 15px;
	line-height: 2.0;
}
.single #content .tags a {
	border: 1px solid #eaeaea;
	padding: 2px 5px;
	border-radius: 3px;
	color: #666;
	margin-right: 3px;
	display: inline-block;
	font-size: 12px;
	text-decoration: none;
}
.single #content .tags a:hover { color: #0abab5; border-color: #0abab5; }

/* エントリーメタ：外枠のみ・区切り線なし・アイコン付き */
.single .entry-meta-bar { margin-top: 15px; }
.single .entry-meta {
	border: 1px solid #eaeaea;
	font-size: 14px;
	color: #666;
	font-family: 'Lato', sans-serif;
	margin: 0 0 20px;
	overflow: hidden;
	display: block;
	padding: 5px 0;
}
.single .entry-meta .by-author,
.single .entry-meta .date,
.single .entry-meta .category,
.single .entry-meta .edit-link {
	float: left;
	padding: 0 10px;
	border-right: none;
}
/* アイコン（Genericons フォント・本番と同じ） */
.entry-meta .by-author::before,
.entry-meta .date::before,
.entry-meta .category::before,
.entry-meta .edit-link::before {
	display: inline-block !important;
	-webkit-font-smoothing: antialiased;
	font: normal 18px/1 'Genericons' !important;
	vertical-align: top;
	margin-right: 3px;
}
.entry-meta .by-author::before { content: '\f304' !important; }
.entry-meta .date::before      { content: '\f307' !important; }
.entry-meta .category::before  { content: '\f301' !important; }
.single .entry-meta a { color: #666; }
.single .entry-meta a:hover { color: #0abab5; }

/* 前後記事ナビ：枠あり・padding */
ul.default-wp-page { margin: 10px 0 30px; }
ul.default-wp-page li.previous a,
ul.default-wp-page li.next a {
	display: inline-block;
	border: 1px solid #eaeaea;
	padding: 8px 14px;
	color: #666;
	font-size: 13px;
	text-decoration: none;
	line-height: 1.5;
}
ul.default-wp-page li.previous a:hover,
ul.default-wp-page li.next a:hover {
	border-color: #0abab5;
	color: #0abab5;
}

/* Recent Posts フッター：サムネイルサイズ調整 */
.rpwe-thumb {
	width: 40px !important;
	height: 40px !important;
	object-fit: cover;
	border: 1px solid #4a4a4a !important;
	margin: 2px 8px 2px 0 !important;
	padding: 0 !important;
}
.rpwe-block li {
	border-bottom: 1px solid #4a4a4a !important;
	margin-bottom: 8px !important;
	padding-bottom: 8px !important;
}
.rpwe-block h3 {
	font-size: 11px !important;
	line-height: 1.4em !important;
	margin-bottom: 2px !important;
}
.rpwe-time {
	font-size: 10px !important;
	color: #777 !important;
	display: block;
	margin-top: 2px;
}

/* =SNS シェアボタン（sarah_share_buttons）
-------------------------------------------------------------- */
.sarah-share-buttons {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 24px 0 0;
	padding: 16px 0;
	border-top: 1px solid #EAEAEA;
	border-bottom: 1px solid #EAEAEA;
	flex-wrap: wrap;
}
.sarah-share-buttons .share-label {
	font-family: 'Lato', sans-serif;
	font-size: 12px;
	font-weight: 700;
	color: #aaa;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-right: 4px;
}
.sarah-share-buttons .share-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 14px;
	border-radius: 3px;
	font-family: 'Lato', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	line-height: 1;
	transition: opacity 0.2s;
}
.sarah-share-buttons .share-btn:hover {
	opacity: 0.85;
	color: #fff;
	text-decoration: none;
}
.sarah-share-buttons .share-x    { background: #000; }
.sarah-share-buttons .share-fb   { background: #1877F2; }
.sarah-share-buttons .share-line { background: #06C755; }
.sarah-share-buttons .share-btn svg {
	flex-shrink: 0;
}

/* =著者プロフィールボックス
-------------------------------------------------------------- */
.sarah-author-box {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin: 0 0 0;
	padding: 24px;
	background: #f9f9f9;
	border-left: 3px solid #0abab5;
	border-radius: 3px;
}
.sarah-author-avatar img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	display: block;
	flex-shrink: 0;
}
.sarah-author-info { flex: 1; }
.sarah-author-name {
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 700;
}
.sarah-author-name a {
	color: #444;
	text-decoration: none;
}
.sarah-author-name a:hover { color: #0abab5; }
.sarah-author-bio {
	margin: 0;
	font-size: 13px;
	color: #666;
	line-height: 1.7;
}
/* 前後ナビとの間隔 */
.sarah-author-box + ul.default-wp-page {
	margin-top: 32px;
}

/* ======================================
	 Sarah CF7 Form Style（Trust Formデザイン移植）
====================================== */
.sarah-cf7-form{
	width: 100%;
	height: auto;
}
.sarah-cf7-form table{
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	margin-bottom: 2em;
	text-align: center;
}
.sarah-cf7-form table,
.sarah-cf7-form table th,
.sarah-cf7-form table td {
	border: none;
}
.sarah-cf7-form input,
.sarah-cf7-form select,
.sarah-cf7-form textarea {
	margin: 0;
	outline: none;
	vertical-align: middle;
}
.sarah-cf7-form ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sarah-cf7-form ul li {
	list-style: none;
	margin: 0;
	padding: 0;
}
.sarah-cf7-form table th {
	padding: 6px 0;
	border-bottom: 1px solid #ccc;
	text-align: left;
	vertical-align: top;
	font-weight: bold;
	line-height: 1.4;
}
.sarah-cf7-form table td {
	padding: 6px 0;
	border-bottom: 1px solid #ccc;
	text-align: left;
	vertical-align: middle;
	line-height: 1.4;
}
.sarah-cf7-form table tr:hover{
	background: #f4f4f4;
}
.sarah-cf7-form table div{
	padding: 0 10px;
}
.sarah-cf7-form p.submit-container {
	text-align: center;
}
.sarah-cf7-form div.submessage {
	font-size: 80%;
	font-weight: normal;
	margin-top: 2px;
	line-height: 1.3;
}
.sarah-cf7-form span.require {
	margin-left: 3px;
	color: #e55a3b;
}
.sarah-cf7-form input[type="checkbox"],
.sarah-cf7-form input[type="radio"] {
	margin-right: 3px;
}
.sarah-cf7-form label{
	display: block;
	width: 100%;
}
/* ラジオ・チェックボックスの選択肢を縦並びに（本番デザインに合わせる） */
.sarah-cf7-form .wpcf7-list-item {
	display: block;
	margin: 0 0 4px 0;
}
.sarah-cf7-form .wpcf7-list-item:last-child {
	margin-bottom: 0;
}
.sarah-cf7-form .wpcf7-form-control-wrap input[type="text"],
.sarah-cf7-form .wpcf7-form-control-wrap input[type="email"],
.sarah-cf7-form .wpcf7-form-control-wrap input[type="tel"],
.sarah-cf7-form .wpcf7-form-control-wrap textarea {
	width: 100%;
	box-sizing: border-box;
}
.sarah-cf7-form .wpcf7-not-valid-tip {
	font-size: 80%;
	color: #e55a3b;
}
.sarah-cf7-form .wpcf7-response-output {
	margin: 1em 0 0;
	padding: 0.5em 1em;
	border: 1px solid #ccc;
}

@media only screen and (max-width:600px){
	.sarah-cf7-form table{
		margin: 2em auto;
		border: 1px solid #ccc;
		border-bottom-width: 0;
	}
	.sarah-cf7-form table th,
	.sarah-cf7-form table td{
		padding: 0;
		float: left;
		clear: both;
		width: 100%;
	}
	.sarah-cf7-form table th{
		background-color: #f4f4f4;
	}
	.sarah-cf7-form table ul li{
		line-height: 3.5em;
	}
	.sarah-cf7-form table tr:hover{
		background: #fff;
	}
}

/* reCAPTCHA非表示 */
/* reCAPTCHA v3 のバッジ（Contact Form 7 が全ページに読み込む）を非表示にする。
   Google 側は position:fixed; right:-186px で画面右外に収納しているため、
   position:absolute に上書きすると本来スクロール領域に含まれない要素が
   ページ幅に加算され、PC・スマホともに横スクロールが発生していた。
   position は Google 側の fixed のまま触らない。 */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
