@charset "UTF-8";
/* CSS Document */
:root {
  --main-color: #ff8c42;
/* 	  #7cbb38; */
}

body {
	font-size: 18px;
}
.entry-title, .archive-title {
	margin-bottom: 1em;
    font-size: 2rem;
	margin-top: 1em;
}
.related-entry-heading {
	font-size: 1.75rem;
	text-align: center;
}

.a-wrap {
	display: block;
	position: relative;
	padding: 1.5em 1em;
	border-bottom: 1px solid #eee;
}
.navi-in > ul li {
	padding:0 0.75em !important;
}
.copy-button span {
	color: #fff!important;
}
/**************************************************
フッター
***************************************************/
#footer,
body.single #footer,
body.page #footer,
body.home #footer,
body.archive #footer {
	background: #2c2c2c !important;
}

footer.nb-footer .copyright,
body.single footer.nb-footer .copyright,
body.page footer.nb-footer .copyright,
body.home footer.nb-footer .copyright {
	color: #fff !important;
	background: #000 !important;
	border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

#footer p,
#footer a,
body.single #footer p,
body.single #footer a,
body.page #footer p,
body.page #footer a {
	color: rgba(255, 255, 255, 0.8) !important;
}

#footer .company-name,
body.single #footer .company-name,
body.page #footer .company-name {
	font-weight: 600 !important;
	color: #ff8c00 !important;
}

footer .map,
body.single footer .map,
body.page footer .map {
	background: #fff !important;
	color: #000 !important;
}

#footer .copyright a,
#footer .copyright p,
body.single #footer .copyright a,
body.single #footer .copyright p {
	color: rgba(255, 255, 255, 0.8) !important;
}

#footer .footer-menu-list li a,
#footer .footer-text a,
body.single #footer .footer-menu-list li a,
body.single #footer .footer-text a {
	color: rgba(255, 255, 255, 0.8) !important;
}

#footer .footer-menu-list li a:hover,
#footer .footer-text a:hover,
body.single #footer .footer-menu-list li a:hover,
body.single #footer .footer-text a:hover {
	color: #ff8c00 !important;
}

/* ロゴ画像の色を反転させない（白いロゴを正しく表示） */
.logo img,
.navbar-brand img,
.custom-logo img,
.site-logo img,
header .logo img,
header .navbar-brand img,
a.custom-logo-link img,
.custom-logo-link img {
	filter: none !important;
	-webkit-filter: none !important;
	opacity: 1 !important;
}

/* メニューのキャプションを非表示 */
.menu-item-description,
.nav-menu .menu-item-description,
.header-nav .menu-item-description,
.footer-nav .menu-item-description {
	display: none !important;
}

/* モバイルメニューボタンのキャプションを非表示（メニュー自体は表示） */
@media screen and (max-width: 768px) {
	/* スマホ表示時のヘッダー背景をオレンジに */
	body header,
	body #top-header,
	body #menu-wrap,
	body .header-container,
	body .navbar,
	body header nav.navbar-default,
	body nav.navbar {
		border-bottom: none !important;
	}
	
	/* スマホ表示時のロゴテキストを白に（オレンジ背景で見やすく） */
	body .navbar-brand,
	body header nav.navbar-default .navbar-header .navbar-brand,
	body .site-title,
	body .logo-text,
	body .site-logo-text,
	body a.custom-logo-link {
		color: #ffffff !important;
	}
	
	body .logo-menu-button,
	body .logo-menu-button a,
	body .logo-menu-button .logo-text,
	body .logo-menu-button .site-logo-text {
		color: #ffffff !important;
	}
	
	/* モバイルメニューボタンのキャプションテキストのみを非表示 */
	.mobile-menu-button .button-caption,
	.mobile-menu-button .caption,
	.mobile-header-menu-button .button-caption,
	.mobile-header-menu-button .caption,
	.mobile-footer-menu-button .button-caption,
	.mobile-footer-menu-button .caption,
	.mobile-menu-buttons .button-caption,
	.mobile-menu-buttons .caption,
	.menu-button:not(.logo-menu-button) .button-caption,
	.menu-button:not(.logo-menu-button) .caption,
	.button-caption,
	.caption {
		display: none !important;
		font-size: 0 !important;
		line-height: 0 !important;
		opacity: 0 !important;
		visibility: hidden !important;
		width: 0 !important;
		height: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
	}
	
	/* モバイルメニューボタン内のテキストspanを非表示（アイコン以外） */
	.mobile-menu-button span:not([class*="icon"]):not([class*="fa"]):not([class*="icomoon"]),
	.mobile-header-menu-button span:not([class*="icon"]):not([class*="fa"]):not([class*="icomoon"]),
	.mobile-footer-menu-button span:not([class*="icon"]):not([class*="fa"]):not([class*="icomoon"]),
	.menu-button:not(.logo-menu-button) span:not([class*="icon"]):not([class*="fa"]):not([class*="icomoon"]) {
		display: none !important;
		font-size: 0 !important;
		line-height: 0 !important;
		opacity: 0 !important;
		visibility: hidden !important;
	}
	
	/* モバイルメニューボタン自体のテキストノードを非表示（アイコンは表示） */
	.mobile-menu-button,
	.mobile-header-menu-button,
	.mobile-footer-menu-button,
	.menu-button:not(.logo-menu-button) {
		font-size: 0 !important;
		line-height: 0 !important;
		position: relative !important;
	}
	
	/* ロゴメニューボタンにロゴテキストを表示 */
	.logo-menu-button,
	.logo-menu-button a {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		text-align: center !important;
		font-size: 1.2rem !important;
		font-weight: bold !important;
		color: #ff8c42 !important;
		text-decoration: none !important;
		line-height: 60px !important;
		height: 60px !important;
		white-space: nowrap !important;
		visibility: visible !important;
		opacity: 1 !important;
		position: relative !important;
		padding: 0 15px !important;
	}
	
	/* ロゴ画像を表示 */
	.logo-menu-button img,
	.logo-menu-button a img,
	.logo-menu-button .menu-button-in img {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		width: auto !important;
		height: auto !important;
		max-height: 60px !important;
		max-width: 200px !important;
		margin: 0 auto !important;
		object-fit: contain !important;
	}
	
	/* ロゴ画像がある場合、テキストを非表示（画像を優先） */
	.logo-menu-button img ~ .logo-text,
	.logo-menu-button img ~ .site-logo-text,
	.logo-menu-button a img ~ .logo-text,
	.logo-menu-button a img ~ .site-logo-text,
	.logo-menu-button .menu-button-in img ~ .logo-text,
	.logo-menu-button .menu-button-in img ~ .site-logo-text {
		display: none !important;
	}
	
	/* ロゴメニューボタンが空の場合のフォールバック */
	.logo-menu-button:empty::before,
	.logo-menu-button a:empty::before {
		content: "古谷昭典法律事務所" !important;
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		color: #ff8c42 !important;
		font-size: 1.2rem !important;
		font-weight: bold !important;
		white-space: nowrap !important;
		line-height: 60px !important;
	}
	
	/* アイコンは表示 */
	.mobile-menu-button [class*="icon"],
	.mobile-menu-button .fa,
	.mobile-menu-button [class*="icomoon"],
	.mobile-header-menu-button [class*="icon"],
	.mobile-header-menu-button .fa,
	.mobile-header-menu-button [class*="icomoon"],
	.mobile-footer-menu-button [class*="icon"],
	.mobile-footer-menu-button .fa,
	.mobile-footer-menu-button [class*="icomoon"],
	.menu-button [class*="icon"],
	.menu-button .fa,
	.menu-button [class*="icomoon"] {
		font-size: 1.5rem !important;
		line-height: 1 !important;
		display: inline-block !important;
		text-indent: 0 !important;
		color: inherit !important;
		opacity: 1 !important;
		visibility: visible !important;
	}
	
	/* ハンバーガーメニュー（三本線）と検索アイコンの色を白に */
	.mobile-menu-button .fa-bars,
	.mobile-header-menu-button .fa-bars,
	.menu-button .fa-bars,
	.fa-bars,
	.mobile-menu-button .fa-search,
	.mobile-header-menu-button .fa-search,
	.menu-button .fa-search,
	.fa-search,
	.mobile-menu-button [class*="fa-bars"],
	.mobile-header-menu-button [class*="fa-bars"],
	.menu-button [class*="fa-bars"],
	.mobile-menu-button [class*="fa-search"],
	.mobile-header-menu-button [class*="fa-search"],
	.menu-button [class*="fa-search"] {
		color: #ffffff !important;
	}
	
	/* Font Awesomeアイコンの::before疑似要素の色を白に */
	.mobile-menu-button .fa-bars::before,
	.mobile-header-menu-button .fa-bars::before,
	.menu-button .fa-bars::before,
	.fa-bars::before,
	.mobile-menu-button .fa-search::before,
	.mobile-header-menu-button .fa-search::before,
	.menu-button .fa-search::before,
	.fa-search::before,
	.mobile-menu-button [class*="fa-bars"]::before,
	.mobile-header-menu-button [class*="fa-bars"]::before,
	.menu-button [class*="fa-bars"]::before,
	.mobile-menu-button [class*="fa-search"]::before,
	.mobile-header-menu-button [class*="fa-search"]::before,
	.menu-button [class*="fa-search"]::before,
	.navi-menu-button .fa-bars::before,
	.navi-menu-button .fas::before {
		color: #ffffff !important;
	}
	
	/* ロゴメニューボタンのアイコンは非表示（テキストを表示するため） */
	.logo-menu-button [class*="icon"],
	.logo-menu-button .fa,
	.logo-menu-button [class*="icomoon"],
	.logo-menu-button a [class*="icon"],
	.logo-menu-button a .fa,
	.logo-menu-button a [class*="icomoon"] {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
	}
	.mobile-header-menu-buttons {
		background-color: #ff8c42 !important;
	}
}

#footer .footer-text,
body.single #footer .footer-text,
body.page #footer .footer-text {
	color: rgba(255, 255, 255, 0.8) !important;
}

#footer .footer-note,
body.single #footer .footer-note,
body.page #footer .footer-note {
	color: rgba(255, 255, 255, 0.6) !important;
}

#footer .registration-number,
body.single #footer .registration-number,
body.page #footer .registration-number {
	color: rgba(255, 255, 255, 0.8) !important;
}
/**************************************************
サイドバー
***************************************************/
.widget-sidebar h2, .widget-sidebar h3 {
	font-size: 0.9rem!important;
	font-weight: bold;
	background-color: var(--main-color)!important;
	color: #fff;
}
/* トップページと投稿ページのサイドバーを統一 */
body.home .sidebar h2,
body.home .sidebar h3,
body.single .sidebar h2,
body.single .sidebar h3,
body.archive .sidebar h2,
body.archive .sidebar h3 {
	position: relative;
	margin-bottom: 15px;
	padding: 15px 15px 15px 1.4em;
	letter-spacing: 0.1em;
	font-size: 1rem !important;
	color: #fff;
	text-align: center;
	border-radius: 10px;
	background: var(--main-color) !important;
	border: 2px solid var(--main-color) !important;
}
.sidebar li {
	font-size: 15px;
	border-bottom: 1px solid #eee;
}
/* トップページと投稿ページのサイドバーリストを統一 */
body.home .sidebar li,
body.single .sidebar li,
body.archive .sidebar li {
	font-size: 15px;
	padding: 7px 0;
	border-bottom: 1px solid #f5f5f5;
}
body.home .sidebar li a,
body.single .sidebar li a,
body.archive .sidebar li a {
	color: #000;
}
/* サイドバーウィジェットのスタイル統一 */
body.home .widget-sidebar,
body.single .widget-sidebar,
body.archive .widget-sidebar {
	margin-bottom: 30px;
}
body.home .widget-sidebar ul,
body.single .widget-sidebar ul,
body.archive .widget-sidebar ul {
	padding: 0 10px 20px;
	background: #fff;
}
body.home .widget-sidebar li,
body.single .widget-sidebar li,
body.archive .widget-sidebar li {
	padding: 7px 0;
	border-bottom: 1px solid #f5f5f5;
}
body.home .widget-sidebar li a,
body.single .widget-sidebar li a,
body.archive .widget-sidebar li a {
	color: #000;
}
/* Start of Selection */
.menu-item-has-children li::before {
	content: "▶"; /* Add a triangle arrow before child categories */
	margin-right: 0.5em; /* Space between the arrow and the text */
}
.menu-item-has-children li:last-child {
	border-bottom: none;
}
.sidebar .toc-list li {
	padding: 0.5em 0;
}
.author-box {
	border: none;
}
.widget_search .wp-block-search__label {
	display: none;
}
.nwa .author-box {
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.author-box p {
	font-size: 0.9rem;
	line-height: 1.5em;
}
.related-entry-card-content {
	padding:0 1em;
}
.related-entry-card-snippet, .entry-card-snippet {
	line-height: 1.5em;
	font-size: 0.75em;
}
.related-entry-card-title, .entry-card-title {
	margin-bottom: 0.5em;
}

/**************************************************
ショップ情報
***************************************************/
.shop-info {
	background: var(--main-color);
	border-radius: 6px;
	padding: 30px;
	margin-bottom: 5vh;
	background-size: cover;
}
.shop-info h3 {
	text-align: center;
	width: 50%;
	margin: 0 auto 1em;
	color: #fff;
	font-weight: bold;
	border: none!important;
}
.shop-info .menu {
	background: #fff;
	padding: 2em 1em;
	text-align: center;
	margin-bottom: 3vh;
}
.shop-info .menu p {
	margin-bottom: 1em;
}
.shop-info .menu .contact {
	margin:0 auto;
}
.shop-info .menu .line_box {
	width: 100%;
	margin:3vh auto 0;
}
.shop-info .menu .contact .tel {
	padding: 0;
	font-size: 2rem;
	font-weight: bold;
	border-bottom: none;
	text-align: center;
}
.shop-info .menu .contact .tel a {
	text-decoration: none;
	color: var(--main-color);
}
.shop-info dd {
	margin-left: 0!important;
}
.shop-info .menu .contact .btn-reva,
.hp-btn{
	background: var(--main-color);
	text-align: center;
	width: 100%;
	margin: auto;
	padding: 0.5em 0;
	border-radius: 6px;
	text-decoration: none;
	color: #fff;
}
.shop-info .detail {color: #fff;}
.shop-info .detail table { width: 100%; }
.shop-info .detail .name {
	text-align: center;
}
.shop-info .detail .name span {display: inline;}
.shop-info .detail th,
.shop-info .detail td {
	display: block;
	padding: 0.5em;
	text-align: left;
	font-weight: normal;
	border: none!important;
	font-size: 1rem;
}
.shop-info .detail th {
	background: #fff none repeat scroll 0 0;
    color: var(--main-color);
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin: 0.5em 0;
	text-align: center;
	padding: 0.25em 0;
    position: relative;
	font-weight: bold;
}
.shop-info .detail td span {
	display: block;
	text-align: right;
}
.shop-info .detail td a {
	padding: 0.2em 0.5em;
	border-radius: 6px;
	background: #fff;
	color: var(--main-color);
	font-size: 0.8rem;
}
.shop-info .menu .line {
	margin:  1em 0 1em;
	text-align: center;
}
.shop-info .menu .line span {
	color: #4FCD2B;
}
.shop-info .menu .line-btn {
	background: #4FCD2B;
	text-align: center;
	width: 100%;
	margin: auto;
	color: #fff;
	padding: 0.5em 0;
	border-radius: 6px;
	text-decoration: none;
}
.shop-info .hp-btn {
	background: #fff;
	color: var(--main-color);
	font-size: 1.4rem;
	font-weight: bold;
	margin: 3vh 0 0 0;
	padding: 0.25em 0;
	border-radius: 10px;
	text-align: center;
	text-decoration: none!important;
	display: block;
	border-bottom: 5px solid #aaa;
	color: var(--main-color);
}
table tr:nth-of-type(2n+1) {
	background: transparent!important;
}

@media screen and (max-width: 767px) {
	.shop-info .hp-btn {
		font-size: 1.2rem;
		padding: 0.5em 0;
		margin: 2vh 0 0 0;
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	}
}
