/*
Theme Name: cms
Author: cms
Version: 2.1.0
*/
html, body, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin:0;
	padding:0;
	border:0;
	outline:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
	font-weight: normal;
}
div, span {
	margin:0;
	padding:0;
	border:0;
	outline:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
}

body {
	line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
	display:block;
}

ul,
ol{
	list-style:none;
}

blockquote, q {
	quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content:'';
	content:none;
}

a {
	margin:0;
	padding:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;
}
pre {
	white-space: inherit;
}
ins {
	background-color:#ff9;
	color:#000;
	text-decoration:none;
}
mark {
	background-color:#ff9;
	color:#000;
	font-style:italic;
	font-weight:bold;
}
del {
	text-decoration: line-through;
}
abbr[title], dfn[title] {
	border-bottom:1px dotted;
	cursor:help;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
hr {
	display:block;
	height:1px;
	border:0;
	border-top:1px solid #cccccc;
	margin:1em 0;
	padding:0;
}
input, select {
	vertical-align:middle;
}
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

body,
.wp-block-cover-image .wp-block-cover__inner-container,
.wp-block-cover .wp-block-cover__inner-container {
  font-size: 16px;
  font-family: 'Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
  line-height: 1.6;
  color: #333333;
  word-break: normal;
  overflow-wrap: break-word;
  writing-mode: horizontal-tb;
}
a {
	color: #0084b2;
}
a:hover {
	text-decoration: none;
}
table {
	width:100%;
	border-collapse: collapse;
	border-spacing: 0;
}
table th {
	vertical-align: top;
}
img {
	max-width: 100%;
	vertical-align: top;
	height: auto;
}
video {
	max-width: 100%;
	height: auto;
	vertical-align: top;
}
strong {
	font-weight: bold;
}
#site {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}
.inner {
	margin: 0 auto;
	width: 1080px;
}
.inner-2 {
	margin: 0 auto;
	width: 860px;
}
.hover:hover,
input[type="submit"]:hover {
  transition: .3s;
  opacity: 0.7;
}
a:hover {
  transition: .3s;
}
.clearfix::after {
	content: "";
	display: block;
	clear: both;
}
.sp-only {
	display: none;
}
.sp-only-inline {
	display: none;
}

@media screen and (max-width: 1440px) {
  .inner {
    width: 92%;
    max-width: 1080px;
  }
  .inner-2 {
    width: 92%;
    max-width: 860px;
  }
}

@media screen and (max-width:640px) {
#site {
	min-width: auto;
}
.inner,
.inner-2 {
	margin: 0 3%;
	width: auto;
}
.pc-only {
	display: none;
}
.sp-only {
	display: block;
}
.sp-only-inline {
	display: inline;
}
}

/* ==========================================================================
site-header
========================================================================== */
#site-header .site-title {
	padding: 10px 0;
	font-size: 13px;
}
#site-header .site-header-pc .site-header-main {
	margin-bottom: 15px;
}
#site-header .site-header-pc .site-header-main .site-header-main-left {
	float: left;
	width: 50%;
}
#site-header .site-header-pc .site-header-main .site-header-main-left .logo {
	margin-top: 5px;
}
#site-header .site-header-pc .site-header-main .site-header-main-left .logo a {
	text-decoration: none;
	color: #333333;
}
#site-header .site-header-pc .site-header-main .site-header-main-right {
	float: right;
	width: 40%;
}
#site-header .site-header-pc .site-header-main .site-header-main-right p {
	margin: 0;
	text-align: right;
	font-size: 13px;
}
#site-header .site-header-pc .site-header-main .site-header-main-right .tel {
	margin-bottom: 10px;
	font-size: 34px;
	font-weight: bold;
	line-height: 1.2;
	color: #049a00;
	text-align: right;
}
#site-header .site-header-pc .site-header-main .site-header-main-right .tel i {
	margin-right: 5px;
}
#site-header .site-header-pc .site-header-main .site-header-main-right .btn-list {
	margin-top: 10px;
	text-align: right;
	letter-spacing: -.4em;
}
#site-header .site-header-pc .site-header-main .site-header-main-right .btn-list li {
	display: inline-block;
	margin-left: 2%;
	width: 48%;
	text-align: center;
	letter-spacing: normal;
}
#site-header .site-header-pc .global-nav {
	border-top: solid 1px #111111;
	border-bottom: solid 1px #111111;
}
#site-header .site-header-pc .global-nav ul li {
	float: left;
	width: 16.5%;
}
#site-header .site-header-pc .global-nav ul li a {
	position: relative;
	display: block;
	padding: 12px 10px;
	text-align: center;
	text-decoration: none;
	color: #333333;
	font-size: 14px;
}

@media screen and (max-width:640px) {
#site-header {
	margin-bottom: 0;
	padding: 0;
	width: 100%;
	background: #ffffff;
}
#site-header.fixed-sp {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
}
#site-header .site-title {
	padding: 5px 0;
	text-align: center;
}
#site-header.fixed-sp .site-title {
	display: none;
}
#site-header .site-header-sp .site-header-main .site-header-main-left {
	float: left;
	width: 37%;
	padding-top: 10px;
}
#site-header .site-header-sp .site-header-main .site-header-main-right {
	float: right;
	width: 62%;
	margin-right: -3%;
}
#site-header .site-header-sp .site-header-main .site-header-main-right ul {
	text-align: right;
	letter-spacing: -.4em;
}
#site-header .site-header-sp .site-header-main .site-header-main-right ul li {
	display: inline-block;
	width: 25%;
	letter-spacing: normal;
	cursor: pointer;
}
#site-header .site-header-sp .site-header-main .site-header-main-right ul :first-child {
	margin: 0;
}
.site-header-sp-nav {
	display: none;
	position: relative;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 100;
}
.site-header-sp-nav .site-header-sp-nav-bg {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: #000000ad;
	background-image: url(assets/images/header-sp-btn-menu-close.png);
	background-repeat: no-repeat;
	background-position: 5% 15px;
	background-size: 10% auto;
}
.site-header-sp-nav .site-header-sp-nav-main {
	position: fixed;
	right: -100%;
	top: 0;
	width: 80%;
	height: 100%;
	background: #ffffff;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}
.site-header-sp-nav .site-header-sp-nav-main .logo {
	padding: 20px 3%;
	text-align: center;
}
.site-header-sp-nav .site-header-sp-nav-main .btn-top {
	margin-bottom: 20px;
	text-align: center;
}
.site-header-sp-nav .site-header-sp-nav-main .btn-top a {
	display: inline-block;
	padding: 2px 10px;
	border: solid 1px #999999;
	text-decoration: none;
	color: #333333;
}
.site-header-sp-nav .site-header-sp-nav-main .title {
	padding: 10px 3%;
	background: #111111;
	color: #ffffff;
}
.site-header-sp-nav .site-header-sp-nav-main ul {
	padding: 0 3% 30px;
}
.site-header-sp-nav .site-header-sp-nav-main ul li a {
	position: relative;
	display: block;
	padding: 15px 3%;
	border-bottom: solid 1px #cccccc;
	text-decoration: none;
	color: #333333;
}
.site-header-sp-nav .site-header-sp-nav-main ul li a::before {
	position: absolute;
	content: "";
	top: 0;
	bottom: 0;
	right: 6%;
	width: 6px;
	height: 6px;
	margin: auto 0;
	border-top: 2px solid #111111;
	border-right: 2px solid #111111;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
}

/* ==========================================================================
entry-content layout
========================================================================== */
.entry-content-2 .entry-content-main {
	float: right;
	width: 70%;
}
.entry-content-2 .entry-content-side {
	float: left;
	width: 27%;
}
.entry-content-2-reverse .entry-content-main {
	float: left;
	width: 70%;
}
.entry-content-2-reverse .entry-content-side {
	float: right;
}
.entry-content-2 .entry-content-side .entry-content-side-item {
	margin-bottom: 50px;
}
.entry-content-2 .entry-content-side h2 {
	padding: 8px 3%;
	background: #111111;
	text-align: center;
	font-size: 18px;
	color: #ffffff;
}
.entry-content-2 .entry-content-side ul li a {
	display: block;
	position: relative;
	padding: 15px;
	border-bottom: dotted 1px #bbbbbb;
	text-decoration: none;
	color: #333333;
}
.entry-content-2 .entry-content-side ul li a:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 0;
	height: 0;
	margin: auto;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 7px solid #111111;
}

@media screen and (max-width:640px) {
.entry-content-2 .entry-content-main {
	width: 100%;
}
.entry-content-2 .entry-content-side {
	width: 100%;
}
}

/* ==========================================================================
site-footer
========================================================================== */
#site-footer {
	margin-top: 100px;
	padding: 30px 0;
	background-size: cover;
	font-size: 13px;
	background: #eaeaea;
}
#site-footer a {
	text-decoration: none;
	color: #333333;
}
#site-footer .site-footer-info {
	float: left;
	width: 28%;
}
#site-footer .site-footer-info h2 {
	margin-bottom: 10px;
}
#site-footer .site-footer-info p {
	margin: 0 0 10px;
}
#site-footer .site-footer-info .tel {
	font-size: 20px;
	font-weight: bold;
}
#site-footer .site-footer-info .tel i {
	margin-right: 5px;
}
#site-footer .site-footer-nav {
	float: right;
	width: 70%;
}
#site-footer .site-footer-nav .site-footer-nav-item {
	display: inline-block;
	margin: 0 1% 10px;
	width: 30%;
	vertical-align: top;
}
#site-footer .site-footer-nav .site-footer-nav-item h3 {
	margin: 20px 0 10px;
	border-bottom: solid 1px #111111;
}
#site-footer .site-footer-nav .site-footer-nav-item ul li {
	margin-bottom: 10px;
}
#site-footer .site-footer-nav .site-footer-nav-item ul li a {
	position: relative;
	padding-left: 15px;
}
#site-footer .site-footer-nav .site-footer-nav-item ul li a:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 7px solid #111111;
}
#site-footer .copyright {
	text-align: center;
	font-size: 11px;
}

@media screen and (max-width:640px) {
#site-footer .site-footer-info {
	float: none;
	width: auto;
	padding: 20px 3%;
	background: #ffffff;
	text-align: center;
	box-shadow: rgba(0, 0, 0, 0.1) 2px 2px 3px 0px;
}
#site-footer .site-footer-info h2 img {
	max-width: 80%;
}
#site-footer .site-footer-nav {
	float: none;
	width: auto;
}
#site-footer .site-footer-nav .site-footer-nav-item {
	display: block;
	margin: 0 0 10px;
	width: auto;
}
#site-footer .site-footer-nav .site-footer-nav-item ul li{
	display: inline-block;
	margin: 0 1% 10px;
	width: 45%;
}
}

/* ==========================================================================
site-main
========================================================================== */
.breadcrumb ol li {
	display: inline-block;
	position: relative;
	font-size: 14px;
}
.breadcrumb ol li:before {
	content: ">";
	margin: 0 10px;
}
.breadcrumb ol li:first-child:before {
	display: none;
}
.breadcrumb ol li a {
	color: #333333;
}
.entry-title {
	position: relative;
	margin-bottom: 20px;
	padding: 80px 0;
	background: #bbbbbb;
	background-position: center center;
	background-size: cover;
	text-align: center;
	overflow: hidden;
}
.entry-title:before{
  content: '';
  background: inherit;
  -webkit-filter: blur(3px);
  -moz-filter: blur(3px);
  -o-filter: blur(3px);
  -ms-filter: blur(3px);
  filter: blur(3px);
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
}
.entry-title::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(0,0,0,0.28);
}
.entry-title h1,
.entry-title p {
	position: relative;
	font-size: 32px;
	font-weight: normal;
	color: #ffffff;
	z-index: 1;
}
.entry-title-2 {
	margin-bottom: -40px;
}
.entry-content {
	margin-top: 50px;
}
.entry-content h2.has-text-align-center:after {
	right: 0;
	margin: 0 auto;
}
.entry-content h2.has-text-align-right:after {
	left: inherit;
	right: 0;
	margin: 0 auto;
}
.entry-content .editor p {
	margin-bottom: 20px;
}
.entry-content .editor ul {
	margin-bottom: 30px;
	padding: 20px 5%;
	border: solid 1px #dddddd;
	background: #ffffff;
}
.entry-content .editor ul li {
	padding: 5px 0 5px 30px;
	background: url(assets/images/icon-check-01.png);
	background-position: top 6px left;
	background-repeat: no-repeat;
}
.entry-content .editor ol {
	margin-bottom: 30px;
	padding: 40px 5%;
	border: solid 1px #dddddd;
	counter-reset: li_count;
}
.entry-content .editor ol li {
	margin-top: 30px;
	padding-bottom: 10px;
	border-bottom: solid 1px #dddddd;
}
.entry-content .editor ol li:first-child {
	margin-top: 0;
}
.entry-content .editor ol li:before {
  counter-increment: li_count;
  content: counter(li_count)".";
  margin-right: 5px; 
}
.entry-content .editor table {
	margin-bottom: 20px;
	width: 100%;
	border-top: solid 1px #cccccc;
}
.entry-content .editor table th {
	background: #f2f2f2;
}
.entry-content .editor table th,
.entry-content .editor table td {
	padding: 15px 5px 15px;
	border-bottom: solid 1px #cccccc;
	vertical-align: middle;
}
.entry-content .editor blockquote {
	margin-bottom: 30px;
	padding: 20px 5%;
	background: #f7f7f7;
}
.entry-content .editor blockquote cite {
	display: block;
	text-align: right;
	font-size: 12px;
}
.entry-content .editor .googlemap {
	width: 100%;
}
.entry-content .editor .youtube {
	width: 100%;
	height: 500px;
}

/* YouTube動画レスポンシブ埋め込み */
.video-responsive {
	position: relative;
	width: 100%;
	padding-top: 56.25%; /* 16:9比率 */
	margin: 1.5em 0;
}
.video-responsive iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media screen and (min-width:641px) {
#site-main {
	padding: 0 !important;
}
}

@media screen and (max-width:640px) {
.entry-title {
	padding: 30px 0;
}
.entry-title h1 {
	font-size: 26px;
}
.entry-content .editor ul {
	padding: 20px 5%;
}
.entry-content .editor ol {
	padding: 20px 5%;
}
.entry-content .editor .googlemap {
	height: 250px;
}
.entry-content .editor .youtube {
	height: 200px;
}
}

/* ==========================================================================
page
========================================================================== */
.page .entry-content .editor h2 {
	margin: 80px 0 40px;
	padding-bottom: 40px;
	position: relative;
	font-size: 30px;
	font-weight: bold;
}
.page .entry-content .editor h2:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 4px;
	background: #111111;
}
.page .entry-content .editor h2:first-child {
	margin-top: 0;
}
.page .entry-content .editor h3 {
	margin: 40px 0 20px;
	padding-left: 30px;
	position: relative;
	font-size: 28px;
	font-weight: bold;
}
.page .entry-content .editor h3:after {
	content: "";
	position: absolute;
	top: 12px;
	left: 0;
	width: 20px;
	height: 20px;
	border-radius: 100px;
	background: #111111;
}
.page .entry-content .editor h4 {
	margin: 40px 0 20px;
	padding: 10px 0;
	border-top: solid 1px #111111;
	border-bottom: solid 1px #111111;
	font-size: 22px;
	font-weight: bold;
}

@media screen and (max-width:640px) {
.page .entry-content .editor h2 {
	margin: 40px 0 30px;
	padding-bottom: 20px;
	font-size: 24px;
}
.page .entry-content .editor h3 {
	margin: 40px 0 20px;
	padding-left: 25px;
	font-size: 22px;
}
.page .entry-content .editor h3:after {
	top: 8px;
	width: 16px;
	height: 16px;
}
.page .entry-content .editor h4 {
	font-size: 18px;
}
}

/* ==========================================================================
single
========================================================================== */
.single-post .entry-content h1 {
	margin-bottom: 10px;
	font-size: 30px;
	font-weight: bold;
}
.single-post .entry-content .date {
	display: block;
	margin-bottom: 30px;
	font-size: 14px;
}
.single-post .entry-content .date span {
	display: inline-block;
}
.single-post .entry-content .img {
	margin-bottom: 30px;
}
.single-post .editor h2 {
	margin: 80px 0 40px;
	padding-bottom: 10px;
	border-bottom: solid 2px #111111;
	font-size: 26px;
	font-weight: bold;
}
.single-post .editor h3 {
	margin: 60px 0 30px;
	padding: 10px 3%;
	background: #111111;
	font-size: 23px;
	font-weight: bold;
	color: #ffffff;
}
.single-post .editor h4 {
	margin: 40px 0 20px;
	padding-left: 20px;
	border-left: solid 5px #111111;
	font-size: 20px;
	font-weight: bold;
}

@media screen and (max-width:640px) {
.single-post .entry-content h1 {
	font-size: 26px;
}
.single-post .editor h2 {
	margin: 40px 0 20px;
	font-size: 22px;
}
.single-post .editor h3 {
	margin: 40px 0 20px;
	font-size: 20px;
}
.single-post .editor h4 {
	margin: 40px 0 20px;
	padding-left: 10px;
	font-size: 18px;
}
}

/* ==========================================================================
item
========================================================================== */
.news-list {
	max-width: 600px;
	margin: 0 auto 50px;
}
.news-list .wp-block-column:first-child p {
	margin: 0;
}
.post-list .post-item {
	position: relative;
	display: inline-block;
	margin: 0 3% 60px 0;
	width: 46%;
	vertical-align: top;
}
.post-list .post-item .new {
	position: absolute;
	top: -5px;
	left: -5px;
	padding: 5px 10px;
	background: #111111;
	border: solid 1px #ffffff;
	font-weight: bold;
	color: #ffffff;
	z-index: 1;
}
.post-list .post-item .img {
	position: relative;
	margin-bottom: 15px;
	overflow: hidden;
}
.post-list .post-item .img::before {
	content: "";
	display: block;
	padding-top: 75%;
}
.post-list .post-item .img img {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	vertical-align: bottom;
}
.post-list .post-item .date {
	font-size: 14px;
}
.post-list .post-item h2 {
	font-size: 18px;
	font-weight: bold;
}
.post-list .post-item h2 a {
	color: #333333;
}
.page-nation {
	text-align: center;
}
.page-nation a,
.page-nation span {
	display: inline-block;
	margin: 0 5px 20px;
	padding: 10px 15px;
	background: #eeeeee;
	text-decoration: none;
	font-size: 14px;
}
.page-nation a:hover {
	background: #111111;
	color: #ffffff;
	opacity: 1;
}
.page-nation span {
	background: #000;
	color: #ffffff;
}
.voices-list .voices-item {
	padding: 50px 0;
	border-top: solid 1px #dddddd;
}
.voices-list .voices-item:first-child {
	padding-top: 0;
	border: none;
}
.voices-list .voices-item .video {
	margin-bottom: 10px;
}
.voices-list .voices-item .video iframe {
	width: 100%;
	height: 420px;
}
.voices-list .voices-item .left {
	float: left;
	width: 70%;
}
.voices-list .voices-item .right {
	float: right;
	width: 27%;
}
.voices-list .voices-item h2 {
	margin-bottom: 20px;
	font-size: 26px;
	font-weight: bold;
}
.voices-list .voices-item .user-info {
	margin-bottom: 20px;
	font-weight: bold;
}
.voices-list .voices-item .img-user {
	margin-bottom: 10px;
}
.cat-list {
	margin-bottom: 50px;
	padding: 30px 3%;
	border-top: solid 1px #e8e8e8;
	border-bottom: solid 1px #e8e8e8;
	text-align: center;
	background: #f5f5f5;
}
.cat-list li {
	display: inline-block;
	margin: 0 10px 10px;
}
.cat-list li a {
	padding: 5px 20px;
	background: #c3c3c3;
	border-radius: 100px;
	text-decoration: none;
	color: #333333;
}
.cat-list li.current a {
	background: #111111;
	color: #ffffff;
}

@media screen and (max-width:640px) {
.post-list .post-item {
	margin: 0 0 40px;
	width: 100%;
}
.voices-list .voices-item .video iframe {
	width: 100%;
	height: 300px;
}
.voices-list .voices-item .left {
	width: 100%;
}
.voices-list .voices-item .right {
	margin-bottom: 20px;
	width: 100%;
}
}
@media screen and (max-width:400px) {
.voices-list .voices-item .video iframe {
	height: 200px;
}
}

/* ==========================================================================
wp
========================================================================== */
.wp-block-media-text {
	margin-bottom: 50px;
}
.wp-block-button__link {
	padding: 5px 20px;
	border-radius: 4px;
	background: #111111;
	color: #ffffff;
}
.wp-block-cover-image .wp-block-cover__inner-container,
.wp-block-cover .wp-block-cover__inner-container {
	width: 100%;
}
.sp-side-3 .wp-block-column {
	flex-basis: 31% !important;
	margin: 0 1%;
}
.wp-block-cover,
.wp-block-cover-image {
	width: 94%;
	min-height: auto;
	padding: 0 3% 0;
}
.entry-content .editor .blocks-gallery-grid {
	margin: 0;
	padding: 0;
	border: none;
}
.entry-content .editor .blocks-gallery-grid .blocks-gallery-item {
	padding: 0;
	background: none;
}
.w-full {
	width: calc(100vw - 6%);
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
}

/* ==========================================================================
home (メインビジュアル・トップページ)
========================================================================== */
.home-top {
	margin-bottom: 50px;
	text-align: center;
	font-weight: bold;
	color: #ffffff;
}
.home-top .home-top-1-1 {
	padding: 100px 0;
	background: #bbbbbb;
	background-size: cover;
	background-position: center center;
}
.home-top .home-top-1-1 .text1 {
	font-size: 38px;
	text-shadow:0px 0px 12px #444444;
}
.home-top .home-top-1-1 .text2 {
	font-size: 62px;
	text-shadow:0px 0px 12px #444444;
}
.home-top .home-top-1-1 .btn {
	margin-top: 50px;
}
.home-top .home-top-1-1 .btn a {
	display: inline-block;
	padding: 15px 10%;
	min-width: 160px;
	background-color: #111111;
	background-image: url(assets/images/icon-arrow-02.png);
	background-position: center right 20px;
	background-repeat: no-repeat;
	border-radius: 100px;
	text-decoration: none;
	font-size: 18px;
	font-weight: bold;
	color: #ffffff;
}
.home-top .home-top-1-2 {
	position: relative;
	padding: 20px 0;
	background-size: cover;
	background-position: center center;
	overflow: hidden;
}
.home-top .home-top-1-2::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #111111;
	opacity: 0.9;
}
.home-top .home-top-1-2::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(0,0,0,0.2);
}
.home-top .home-top-1-2 p {
	position: relative;
	font-size: 30px;
	z-index: 10;
}
.home-top .home-top-2 p img {
	width: 100%;
}
.home-top .home-top-3 {
	position: relative;
	overflow: hidden;
}
.home-top .home-top-3::before {
	display: none;
}
.home-top .home-top-3 .home-top-3-video {
	position: relative;
	height: auto;
}
.home-top .home-top-3 .home-top-3-video::before {
	display: none;
	content: none;
}
.home-top .home-top-3 .home-top-3-video video,
.home-top .home-top-3 .home-top-3-video img {
	position: static;
	width: 100%;
	height: auto;
	display: block;
}
.home-top .home-top-3 .home-top-3-text {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 5;
}
.home-top .home-top-3 .home-top-3-text .inner {
	display: flex;
  flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	height: 100%;
	text-align: center;
}
.home-top .home-top-3 .home-top-3-text .text1 {
	font-size: 38px;
	text-shadow:0px 0px 12px #444444;
}
.home-top .home-top-3 .home-top-3-text .text2 {
	font-size: 62px;
	text-shadow:0px 0px 12px #444444;
}

/* ノートPC（MacBook Air等 1440px以下）のメインビジュアル最適化 */
@media screen and (max-width: 1440px) {
  .home-top .home-top-1-1 .text1,
  .home-top .home-top-3 .home-top-3-text .text1 {
    font-size: clamp(24px, 2.5vw, 36px);
    line-height: 1.3;
  }
  .home-top .home-top-1-1 .text2,
  .home-top .home-top-3 .home-top-3-text .text2 {
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.3;
  }
}

@media screen and (max-width:640px) {
.home-top {
	margin-bottom: -25px;
  padding-left: 0;
  padding-right: 0;
}
.home-top .home-top-1-1 {
	padding: 50px 0;
}
.home-top .home-top-1-1 .text1 {
	font-size: 18px;
}
.home-top .home-top-1-1 .btn {
	margin-top: 20px;
}
.home-top .home-top-1-1 .text2 {
	font-size: 32px;
}
.home-top .home-top-1-2 p {
	font-size: 15px;
}
/* メインビジュアル動画のスマホ最適化（アスペクト比維持・見切れ防止） */
.home-top .home-top-3 .home-top-3-video {
	position: relative;
	height: auto;
}
.home-top .home-top-3 .home-top-3-video video {
	position: static;
	width: 100%;
	height: auto;
	object-fit: contain;
}
.home-top .home-top-3 .home-top-3-text .text1 {
	font-size: 18px;
}
.home-top .home-top-3 .home-top-3-text .text2 {
	font-size: 32px;
}
}

/* ==========================================================================
wpcf7-form
========================================================================== */
.entry-content .editor .wpcf7-form table th {
	background: #f2f2f2;
}
.entry-content .wpcf7-form input[type="text"],
.entry-content .wpcf7-form input[type="email"],
.entry-content .wpcf7-form textarea {
	padding: 5px 1%;
	font-size: 20px;
	border: solid 1px #cccccc;
	width: 98%;
}
.entry-content .wpcf7-form .btn {
	margin: 30px 0;
	text-align: center;
}
.entry-content .wpcf7-form .btn input[type="submit"] {
	padding: 10px 3%;
	width: 30%;
	background: #888888;
	font-size: 16px;
	color: #ffffff;
}

@media screen and (max-width:640px) {
.entry-content .wpcf7-form .btn input[type="submit"] {
	width: 100%;
}
}

/* ==========================================================================
パスワード保護
========================================================================== */
.post-password-form input[type="password"] {
	padding: 5px 10px;
	border: solid 1px #cccccc;
	font-size: 20px;
}
.post-password-form input[type="submit"] {
	margin-left: 10px;
	padding: 5px 20px;
	background: #888888;
	font-size: 16px;
	color: #fff;
}

/* ==========================================================================
ブロックエディター
========================================================================== */
.page .wp-block-cover.is-style-w100p {
	margin-right: -300%;
	margin-left: -300%;
	padding-right: 300%;
	padding-left: 300%;
	width: 100%;
}
.is-style-balloon {
	position: relative;
	margin-bottom: 30px !important;
	padding: 10px 3% !important;
	background: #111111 !important;
	border: none !important;
	border-radius: 4px;
	color: #ffffff;
}
.is-style-balloon:before{
	content: "";
	position: absolute;
	left: 30px;
	bottom: -24px;
	border: 10px solid transparent;
	border-top: 16px solid #111111;
}
.wp-block-image {
	text-align: center;
}
.c-block-link-list {
	text-align: center;
}
.c-block-link-list .link-list-item {
	display: inline-block;
	margin: 0 1% 10px;
	width: 47%;
	text-align: left;
}
.c-block-link-list .link-list-item a {
	text-decoration: none;
}
.c-block-link-list .link-list-item .link-list-item-img {
	position: relative;
	margin-bottom: 10px;
	height: 200px;
	background-size: cover;
	background-position: center center;
}
.c-block-link-list .link-list-item .link-list-item-img:before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(0,0,0,0.28);
}
.c-block-link-list .link-list-item .link-list-item-img p {
	position: absolute;
	bottom: 0;
	left: 10px;
	margin: 0;
	font-size: 30px;
	font-weight: bold;
	color: #ffffff;
}
.c-block-link-list .link-list-item .text {
	position: relative;
	padding-left: 20px;
	color: #333333;
}
.c-block-link-list .link-list-item .text::before {
	position: absolute;
	content: "";
	top: 0;
	bottom: 0;
	left: 0;
	width: 6px;
	height: 6px;
	margin: auto 0;
	border-top: 2px solid #111111;
	border-right: 2px solid #111111;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
.c-block-mv {
	max-width: 700px;
	margin: 0 auto 30px;
}
.c-block-mv .mv-main {
	position: relative;
	padding: 50px 6% 20px;
	background: #111111;
	overflow: hidden;
}
.c-block-mv .mv-main:before {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	background: #fff;
	top: 0;
	left: 0;
	opacity: 0.8;
}
.c-block-mv .mv-main:after {
	content: "";
	width: 100%;
	height: 200%;
	position: absolute;
	transform: skewX(145deg);
	background: #fff;
	bottom: 0;
	opacity: 0.25;
	right: 50px;
}
.c-block-mv .mv-main .top-text {
	position: relative;
	zoom: 1.7;
	z-index: 1;
}
.c-block-mv .mv-main .img {
	position: relative;
	margin: 20px 0;
	overflow: hidden;
	z-index: 1;
}
.c-block-mv .mv-main .img:after {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	border: solid 10px #ffffff;
	bottom: 0;
	right: 0;
	opacity: 0.5;
  box-sizing: border-box;
}
.c-block-mv .mv-main .bottom-text {
	position: relative;
	zoom: 1.7;
	z-index: 1;
}
.c-block-mv.img-only {
	margin-bottom: 0;
}
.c-block-mv.img-only .mv-main {
	position: static;
	padding: 0;
	background: transparent !important;
}
.c-block-mv.img-only .mv-main:before,
.c-block-mv.img-only .mv-main:after {
	display: none;
}
.c-block-mv.img-only .mv-main .img {
	margin: 0;
}
.c-block-mv.img-only .mv-main .img:after {
	display: none;
}
.c-block-slide {
	margin-bottom: 50px;
}
.c-block-slide .slide-item {
	width: 450px;
	margin: 0 20px;
}
.c-block-slide .slide-item .img {
	position: relative;
	margin-bottom: 10px;
	overflow: hidden;
}
.c-block-slide .slide-item .img::before {
	content: "";
	display: block;
	padding-top: 75%;
}
.c-block-slide .slide-item .img img {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	vertical-align: bottom;
}
.c-block-slide .slick-arrow {
	position: absolute;
	top: 32%;
	width: 50px;
	height: 50px;
	background-color: #111;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 100% auto;
	border: none;
	z-index: 80;
	cursor: pointer;
	outline: 0;
}
.c-block-slide .slick-prev {
	left: 2%;
}
.c-block-slide .slick-prev::before {
	position: absolute;
	content: "";
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 10px;
	height: 10px;
	margin: auto;
	border-top: 3px solid #ffffff;
	border-right: 3px solid #ffffff;
	-webkit-transform: rotate(-135deg);
	transform: rotate(-135deg);
}
.c-block-slide .slick-next {
	right: 2%;
}
.c-block-slide .slick-next::before {
	position: absolute;
	content: "";
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 10px;
	height: 10px;
	margin: auto;
	border-top: 3px solid #ffffff;
	border-right: 3px solid #ffffff;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
.c-block-slide .slide-item .title {
	margin-bottom: 5px;
	font-size: 22px;
	font-weight: bold;
}
.wp-block-media-text .wp-block-media-text__content h2:first-child,
.wp-block-media-text .wp-block-media-text__content h3:first-child,
.wp-block-media-text .wp-block-media-text__content h4:first-child {
	margin-top: 0;
} 
.wp-block-buttons .wp-block-button.big a {
	padding: 10px 50px;
	font-size: 120%;
}
.wp-block-buttons .wp-block-button.small a {
	font-size: 70%;
}
.home .editor > .wp-block-cover:first-child,
.home .editor > .wp-block-cover-image:first-child {
	margin-top: -50px;
}
.editor > .wp-block-cover:last-child,
.editor > .wp-block-cover-image:last-child {
	margin-bottom: -100px;
}

@media screen and (max-width: 1440px) {
  .c-block-mv {
    padding-left: 3%;
    padding-right: 3%;
    box-sizing: border-box;
  }
}

@media screen and (max-width:781px) {
.wp-block-columns.is-style-sp-side {
	flex-wrap: nowrap;
}
.wp-block-columns.is-style-sp-side .wp-block-column {
	margin: 0 1%;
	flex-basis: 0 !important;
	flex-grow: 1;
}
.c-block-link-list .link-list-item {
	display: block;
	margin: 0 0 10px;
	width: auto;
}
.c-block-link-list .link-list-item .link-list-item-img {
	height: 200px;
}
.c-block-mv {
	margin: 0 -3% 30px;
}
.c-block-mv .mv-main .top-text,
.c-block-mv .mv-main .bottom-text {
	zoom: 1;
}
.c-block-slide {
	margin: 0 -3% 50px;
}
.c-block-slide .slide-item {
	width: 260px;
	margin: 0 10px;
}
.c-block-slide .slick-arrow {
	top: 25%;
	width: 40px;
	height: 40px;
}
}

@media screen and (max-width:640px) {
.wp-block-media-text {
	display: block;
	margin-bottom: 30px;
	overflow: hidden;
}
.wp-block-media-text figure {
	float: left;
	width: 30%;
}
.wp-block-media-text .wp-block-media-text__content {
	float: right;
	width: 68%;
	padding: 0;
}
.wp-block-media-text.has-media-on-the-right figure {
	float: right;
}
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
	float: left;
}	
.wp-block-media-text.is-stacked-on-mobile figure {
	float: none;
	width: auto;
	margin-bottom: 20px;
}
.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
	float: none;
	width: auto;
	padding: 0;
}
.wp-block-embed-youtube iframe {
	width: 100%;
}
}

/* ==========================================================================
wpadminbar
========================================================================== */
#wpadminbar #wp-admin-bar-wp-logo,
#wpadminbar #wp-admin-bar-site-name #wp-admin-bar-menus,
#wpadminbar #wp-admin-bar-customize,
#wpadminbar #wp-admin-bar-comments,
#wpadminbar #wp-admin-bar-password_protected {
	display: none;
}

/* ==========================================================================
other
========================================================================== */
.link-tel {
	text-decoration: underline;
}
.link-tel.wp-block-button__link {
	text-decoration: none;
}
.mv-scroll {
	margin-bottom: 30px;
	height: 240px;
	background-position:center center;
	background-repeat: repeat-x;
	background-size: auto 240px;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
}
.mv-scroll-2 {
	margin-bottom: 30px;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
}
.single-post .mv-scroll-2 {
	margin-left: 0;
	margin-right: 0;
}
.mv-scroll-2 .mv-scroll-2-inner {
	position: relative;
	display: flex;
	flex-flow: row nowrap;
	width: 100vw;
	overflow: hidden;
}
.single-post .mv-scroll-2 .mv-scroll-2-inner {
	width: auto;
}
.mv-scroll-2 .mv-scroll-2-inner .mv-scroll-list {
	display: flex;
	flex-flow: row nowrap;
	margin: 0;
	padding: 0;
	backface-visibility: hidden;
	will-change: transform;
}
.mv-scroll-2 .mv-scroll-2-inner.mv-scroll-cnt-8 .mv-scroll-list-1 {
	animation: scroll-1 40s -20s linear infinite;
}
.mv-scroll-2 .mv-scroll-2-inner.mv-scroll-cnt-8 .mv-scroll-list-2 {
	animation: scroll-2 40s linear infinite;
}
.mv-scroll-2 .mv-scroll-2-inner.mv-scroll-cnt-10 .mv-scroll-list-1 {
	animation: scroll-1 50s -25s linear infinite;
}
.mv-scroll-2 .mv-scroll-2-inner.mv-scroll-cnt-10 .mv-scroll-list-2 {
	animation: scroll-2 50s linear infinite;
}
.mv-scroll-2 .mv-scroll-2-inner.mv-scroll-cnt-12 .mv-scroll-list-1 {
	animation: scroll-1 60s -30s linear infinite;
}
.mv-scroll-2 .mv-scroll-2-inner.mv-scroll-cnt-12 .mv-scroll-list-2 {
	animation: scroll-2 60s linear infinite;
}
.mv-scroll-2 .mv-scroll-2-inner.mv-scroll-cnt-14 .mv-scroll-list-1 {
	animation: scroll-1 70s -35s linear infinite;
}
.mv-scroll-2 .mv-scroll-2-inner.mv-scroll-cnt-14 .mv-scroll-list-2 {
	animation: scroll-2 70s linear infinite;
}
.mv-scroll-2 .mv-scroll-2-inner.mv-scroll-cnt-16 .mv-scroll-list-1 {
	animation: scroll-1 80s -40s linear infinite;
}
.mv-scroll-2 .mv-scroll-2-inner.mv-scroll-cnt-16 .mv-scroll-list-2 {
	animation: scroll-2 80s linear infinite;
}
.mv-scroll-2 .mv-scroll-2-inner.mv-scroll-cnt-18 .mv-scroll-list-1 {
	animation: scroll-1 90s -45s linear infinite;
}
.mv-scroll-2 .mv-scroll-2-inner.mv-scroll-cnt-18 .mv-scroll-list-2 {
	animation: scroll-2 90s linear infinite;
}
.mv-scroll-2 .mv-scroll-2-inner.mv-scroll-cnt-20 .mv-scroll-list-1 {
	animation: scroll-1 100s -50s linear infinite;
}
.mv-scroll-2 .mv-scroll-2-inner.mv-scroll-cnt-20 .mv-scroll-list-2 {
	animation: scroll-2 100s linear infinite;
}
.mv-scroll-2 .mv-scroll-2-inner .mv-scroll-list .mv-scroll-item {
	width: calc(100vw / 4);
	margin: 0;
	text-align: center;
}
.mv-scroll-2 .mv-scroll-2-inner .mv-scroll-list .mv-scroll-item .img {
	position: relative;
	margin: 0;
}
.mv-scroll-2 .mv-scroll-2-inner .mv-scroll-list .mv-scroll-item .img::before {
	content: "";
	display: block;
	padding-top: 75%;
}
.mv-scroll-2 .mv-scroll-2-inner .mv-scroll-list .mv-scroll-item .img img {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 101%;
	max-width: none;
	height: 100% !important;
	object-fit: cover;
	vertical-align: bottom;
}

@keyframes scroll-1 {
0% {
	-webkit-transform: translateX(100%);
	-ms-transform: translateX(100%);
	transform: translateX(100%);
}
to {
	-webkit-transform: translateX(-100%);
	-ms-transform: translateX(-100%);
	transform: translateX(-100%);
}
}

@keyframes scroll-2 {
0% {
	-webkit-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0);
}
to {
	-webkit-transform: translateX(-200%);
	-ms-transform: translateX(-200%);
	transform: translateX(-200%);
}
}

.mv-bottom {
	text-align: center;
}

@media screen and (max-width:1080px) {
.mv-scroll-2 {
	margin-left: 0;
	margin-right: 0;
}
.inner-2 .mv-scroll-2 {
	margin-left: -110px;
	margin-right: -110px;
}
}

@media screen and (max-width:640px) {
.link-tel {
	text-decoration: underline;
}
.link-tel.wp-block-button__link {
	text-decoration: none;
}
.mv-scroll {
	height: 100px;
	background-size: auto 100px;
}
.mv-scroll-2,
.inner-2 .mv-scroll-2 {
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
}
.mv-scroll-2 .mv-scroll-2-inner .mv-scroll-list .mv-scroll-item {
	width: calc(101vw / 2.5);
}
}

.move-01 {
	animation: move-01 1.5s infinite;
}
@keyframes move-01 {
	5% {transform: translateX(5px) rotate(3deg);}
	10% {transform: translateX(-5px) rotate(-3deg);}
	15% {transform: translateX(5px) rotate(3deg);}
	20% {transform: translateX(-5px) rotate(-3deg);}
	25% {transform: translateX(5px) rotate(3deg);}
	30% {transform: translateX(-5px) rotate(-3deg);}
	32% {transform: translateX(0) rotate(0);}
}

/* ==========================================================================
管理画面バー
========================================================================== */
#wpadminbar #wp-admin-bar-root-default #wp-admin-bar-new-content,
#wpadminbar #wp-admin-bar-root-default #wp-admin-bar-new_draft,
#wpadminbar #wp-admin-bar-top-secondary {
	display: none;
}

/* ==========================================================================
   2. PCグローバルメニュー：項目数に応じた自動均等配置
   ========================================================================== */
@media screen and (min-width: 641px) {
  #site-header .site-header-pc .global-nav ul {
    display: flex !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
  }

  #site-header .site-header-pc .global-nav ul li {
    flex: 1 1 0 !important;
    float: none !important;
    width: auto !important;
    text-align: center !important;
  }

  #site-header .site-header-pc .global-nav ul li a {
    display: block !important;
    width: 100% !important;
    padding: 14px 0 !important;
    font-weight: normal !important;
    box-sizing: border-box !important;
  }
}

/* ==========================================================================
   1. PCヘッダー：左右高さ揃え ＆ ロゴ拡大・隙間完成版
   ========================================================================== */
@media screen and (min-width: 641px) {
  #site-header .site-header-pc .site-header-main {
    position: relative !important;
    min-height: 245px !important;
    padding: 10px 0 !important;
  }

  /* 【左上】ロゴ：存在感が出るよう108pxまで拡大 */
  #site-header .site-header-pc .site-header-main .site-header-main-left {
    float: left !important;
    width: 42% !important;
    padding-top: 0 !important;
  }
  #site-header .site-header-pc .site-header-main .site-header-main-left .logo {
    margin: 0 !important;
  }
  #site-header .site-header-pc .site-header-main .site-header-main-left .logo img {
    max-height: 108px !important;
    width: auto !important;
    display: block !important;
  }

  /* 【左下】予約バナー：拡大したロゴの下に約30pxの隙間を空けて配置 */
  #site-header .site-header-pc .site-header-main .site-header-main-right .btn-list {
    position: absolute !important;
    left: 0 !important;
    top: 150px !important;
    bottom: auto !important;
    margin: 0 !important;
    width: 42% !important;
  }
  #site-header .site-header-pc .site-header-main .site-header-main-right .btn-list li {
    display: block !important;
    width: 100% !important;
    max-width: 370px !important;
  }
  #site-header .site-header-pc .site-header-main .site-header-main-right .btn-list li img {
    width: 100% !important;
    max-width: 370px !important;
    height: auto !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08) !important;
    display: block !important;
  }

  /* 【右側全体】文字情報 */
  #site-header .site-header-pc .site-header-main .site-header-main-right {
    float: right !important;
    width: 56% !important;
    text-align: right !important;
    padding-top: 10px !important;
    font-size: 14.5px !important;
    line-height: 1.6 !important;
    color: #333333 !important;
  }

  /* 電話番号 */
  #site-header .site-header-pc .site-header-main .site-header-main-right .tel {
    font-size: 32px !important;
    line-height: 1.15 !important;
    margin-bottom: 8px !important;
    font-weight: bold !important;
    letter-spacing: 0.5px !important;
  }

  #site-header .site-header-pc .site-header-main .site-header-main-right * {
    font-size: inherit !important;
    line-height: inherit !important;
  }
}

/* ==========================================================================
   3. 診療時間・担当医表（金曜女性医師：17px・直立・赤太字強調）
   ========================================================================== */
.table-schedule,
.wp-block-table.table-schedule {
  margin: 0 auto 20px !important;
}

/* --- PC表示（641px以上） --- */
@media screen and (min-width: 641px) {
  .table-schedule,
  .wp-block-table.table-schedule {
    width: 100% !important;
    max-width: 100% !important;
  }

  .table-schedule table {
    table-layout: fixed !important;
    width: 100% !important;
    border-collapse: collapse !important;
  }

  .table-schedule table th,
  .table-schedule table td {
    text-align: center !important;
    vertical-align: middle !important;
    padding: 10px 2px !important;
    font-weight: bold !important;
    line-height: 1.35 !important;
    color: #111111 !important;
    box-sizing: border-box !important;
    white-space: normal !important;
  }

  /* 曜日見出し：15px */
  .table-schedule table th {
    font-size: 15px !important;
  }

  /* 1列目：診療時間（14%・14.5px） */
  .table-schedule table th:first-child,
  .table-schedule table td:first-child {
    width: 14% !important;
    font-size: 14.5px !important;
    white-space: nowrap !important;
  }

  /* 2〜8列目（月〜日・祝）：各12.28%均等 & 医師名はすべて17pxで完全統一 */
  .table-schedule table th:not(:first-child),
  .table-schedule table td:not(:first-child) {
    width: 12.28% !important;
    font-size: 17px !important;
  }

  /* 金曜日の「（女性医師）」：17px拡大 ＆ イタリック解除 ＆ 赤太字 */
  .table-schedule table td:nth-child(6) small,
  .table-schedule table td:nth-child(6) mark,
  .table-schedule table td:nth-child(6) span,
  .table-schedule table td:nth-child(6) em {
    font-size: 17px !important;
    font-style: normal !important;
    background-color: transparent !important;
    color: #111111 !important;
    font-weight: bold !important;
    display: block !important;
    margin-top: 3px !important;
    letter-spacing: -0.4px !important;
    white-space: nowrap !important;
  }

  /* 土曜日の枠：余白と文字間を微調整して1行化をキープ */
  .table-schedule table td:nth-child(7) {
    letter-spacing: -0.3px !important;
    padding: 6px 1px !important;
  }

  /* 週表記・注記（smallタグ）：しっかり読める12.5pxの太字 */
  .table-schedule table td small {
    font-size: 12.5px !important;
    font-weight: bold !important;
    display: inline-block;
    line-height: 1.25 !important;
  }
}

/* --- スマホ表示（640px以下：全曜日均等横スクロール） --- */
@media screen and (max-width: 640px) {
  .table-schedule,
  .wp-block-table.table-schedule {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border: 1px solid #d0d7d5 !important;
    margin-bottom: 20px !important;
  }

  .table-schedule table {
    width: 1000px !important;
    min-width: 1000px !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
  }

  .table-schedule table th,
  .table-schedule table td {
    text-align: center !important;
    vertical-align: middle !important;
    font-weight: bold !important;
    color: #111111 !important;
    padding: 12px 6px !important;
    box-sizing: border-box !important;
    line-height: 1.4 !important;
  }

  .table-schedule table th:first-child,
  .table-schedule table td:first-child {
    width: 160px !important;
    font-size: 15px !important;
    white-space: nowrap !important;
  }

  .table-schedule table th:not(:first-child),
  .table-schedule table td:not(:first-child) {
    width: 120px !important;
    font-size: 16px !important;
  }

  /* スマホ版 金曜日の「（女性医師）」：15px ＆ 直立 ＆ 赤太字 */
  .table-schedule table td:nth-child(6) small,
  .table-schedule table td:nth-child(6) mark,
  .table-schedule table td:nth-child(6) span,
  .table-schedule table td:nth-child(6) em {
    font-size: 15px !important;
    font-style: normal !important;
    background-color: transparent !important;
    color: #111111 !important;
    font-weight: bold !important;
    display: block !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  .table-schedule table td:nth-child(6),
  .table-schedule table td:nth-child(7) {
    font-size: 15px !important;
    line-height: 1.35 !important;
    white-space: pre-line !important;
  }

  .table-schedule table td small {
    font-size: 12px !important;
    font-weight: bold !important;
    display: inline-block;
    line-height: 1.2 !important;
  }
}

/* ==========================================================================
   4. メインビジュアル文字：白縁取り解除 ＆ うっすら白背景で視認性向上
   ========================================================================== */
/* 白縁取り（袋文字ストローク）の完全解除 */
.home .entry-content > *:first-child,
.home .entry-content > *:first-child *,
.home .editor > *:first-child,
.home .editor > *:first-child *,
.wp-block-cover,
.wp-block-cover *,
.wp-block-cover-image,
.wp-block-cover-image *,
.wp-block-group,
.wp-block-group *,
.c-block-mv,
.c-block-mv *,
.home-top,
.home-top * {
  -webkit-text-stroke: 0 !important;
  -webkit-text-stroke-width: 0px !important;
  -webkit-text-stroke-color: transparent !important;
  text-stroke: 0 !important;
}

/* 黒太字 ＋ 文字の後ろにうっすら白い半透明の背景を敷いてくっきり表示 */
.home .entry-content > *:first-child p,
.home .entry-content > *:first-child h1,
.home .entry-content > *:first-child h2,
.home .entry-content > *:first-child h3,
.wp-block-cover p,
.wp-block-cover h2,
.wp-block-cover h3,
.wp-block-cover-image p,
.wp-block-cover-image h2 {
  color: #1a1a1a !important;
  font-weight: bold !important;
  line-height: 1.7 !important;
  width: fit-content !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 16px 28px !important;
  background-color: rgba(255, 255, 255, 0.72) !important;
  border-radius: 8px !important;
}

/* スマホ表示時は余白を少しコンパクトに調整 */
@media screen and (max-width: 640px) {
  .home .entry-content > *:first-child p,
  .home .entry-content > *:first-child h1,
  .home .entry-content > *:first-child h2,
  .home .entry-content > *:first-child h3,
  .wp-block-cover p,
  .wp-block-cover h2,
  .wp-block-cover h3,
  .wp-block-cover-image p,
  .wp-block-cover-image h2 {
    padding: 12px 18px !important;
  }
}