/*
Theme Name: Heisei Kagura Clinic
Theme URI: https://heisei-kagura.jp/
Description: 平成かぐらクリニックの現行デザインを忠実に再現したWordPressテーマ。静的HTMLサイトのデザイン（920px固定幅・画像ナビ・お知らせ）をそのままWordPress化したものです。お知らせは投稿（post）で管理します。
Author: Cowork
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: heisei-kagura
*/

/* =========================================================
   以下は現行サイト（heisei-kagura.jp/style.css）をそのまま収録。
   デザインを1:1で再現するため改変していません。
   画像参照は images/ 配下を想定（テーマ直下の images/ にコピーしてください）。
   ========================================================= */

@charset "utf-8";

@media print {
#header, #nav, #print, #pageTop, #footer {
	display: none;
}
}
/*iPhone*/
html {
	-webkit-text-size-adjust: none
}
html, body, div, span, 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;
}
html, body {
	height: 100%;
	text-align: center;
	background: url(https://heisei-kagura.jp/images/body_bg.png) repeat-y center top;
	background-color: #FAFAFA;
	font: 12px/1 "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #666;
}
body {
	line-height: 20px;
	background-color: #FAFAFA;
}
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;
	color: #666;
	text-decoration: none;
}
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;
}
.fade {
	-webkit-transition: 0.5s ease-in-out;
	-moz-transition: 0.5s ease-in-out;
	-o-transition: 0.5s ease-in-out;
	transition: 0.5s ease-in-out;
}
.fade:hover {
	opacity: 0.4;
	filter: alpha(opacity=60);
}
textarea {
	resize: none;
	width: 100%;
}
#wrapper {
	max-width: 2120px;
	margin: 0px auto;
	background: url(https://heisei-kagura.jp/images/sub_bg.png) no-repeat center top;
}
#wrapperSub {
	max-width: 2120px;
	margin: 0px auto;
	background: url(https://heisei-kagura.jp/images/sub_bg.png) no-repeat center top;
}
#header {
	margin: 0px auto;
	width: 920px;
	height: 235px;
	padding: 30px 0px 0px;
	position: relative;
}
#logo {
	height: 45px;
	width: 367px;
	float: left;
}
#headerAddress {
	float: right;
	height: 110px;
	width: 275px;
}
#topText {
	height: 82px;
	width: 573px;
	position: absolute;
	top: 100px;
	left: 0px;
}
#nav {
	background: url(https://heisei-kagura.jp/images/nav_bg.png) no-repeat center top;
	height: 50px;
	width: 100%;
	min-width: 920px;
}
#menu {
	margin: 0px auto;
	width: 918px;
	overflow: hidden;
}
#menu li {
	float: left;
}
#contentsWrap {
	margin-right: auto;
	margin-left: auto;
	width: 920px;
	padding: 50px 35px;
	text-align: left;
	overflow: hidden;
	position: relative;
}
#mentalHealth {
	margin: 35px 0px 0px;
	width: 100%;
	overflow: hidden;
}
#mentalHealth li {
	float: left;
	height: 230px;
	width: 204px;
	position: relative;
}
#mentalHealth li p {
	font-size: 14px;
	color: #FFF;
	width: 174px;
	position: absolute;
	left: 16px;
	top: 112px;
	line-height: 22px;
}
.second {
	margin: 0px 0px 0px 10px;
}
#leftBox {
	float: left;
	width: 632px;
	height: 315px;
}
#rightBox {
	float: right;
}
#news {
	width: 240px;
	background: url(https://heisei-kagura.jp/images/info_bg.png) no-repeat;
	padding: 60px 10px 30px;
	height: 162px;
	position: relative;
	overflow: hidden;
	margin: 0px 0px 14px;
}
#glance {
	height: 10px;
	width: 50px;
	position: absolute;
	top: 232px;
	left: 197px;
}
#scroll_area {
	overflow: auto;
	width: 270px;
	height: 162px;
}
#scroll_area span {
	font-size: 11px;
	clear: both;
	display: block;
	line-height: 20px;
	padding: 7px 0px 2px;
}
#scroll_area p {
	padding: 0px 0px 7px;
	line-height: 20px;
	border-bottom: 1px dotted #29ABE2;
	width: 240px;
}
#scroll_area p a {
	text-decoration: none;
	color: #999;
}
#topContets {
	clear: both;
	padding: 26px 0px 0px;
	position: relative;
	width: 920px;
}
.title {
	clear: both;
}
.seminarInformation {
	line-height: 33px;
	color: #29ABE2;
	font-size: 20px;
	background-image: url(https://heisei-kagura.jp/images/title_seminar.png);
	background-position: center;
	background-repeat: repeat-x;
}
.seminarInformation span {
	background-color: #FFFFFF;
	padding-right: 10px;
}
.seminarBottom {
	line-height: 20px;
	color: #29ABE2;
	margin-bottom: 30px;
}
.time {
	width: 110px;
}
.lecturer {
	width: 240px;
}
.theme {
	width: 290px;
}
.capacity {
	width: 50px;
}
.cate {
	width: 100px;
}
.factor {
	width: 100px;
}
.subTitle {
	clear: both;
	padding: 20px 0px 32px;
}
.topSubTitle {
	margin: 0px 0px 16px;
	clear: both;
}
.topContentsText {
	width: 620px;
	line-height: 24px;
	margin: 0px 0px 26px;
}
.semContentsText {
	line-height: 24px;
	margin: 0px 0px 26px;
	font-weight: normal;
	background: url(https://heisei-kagura.jp/images/check.png) no-repeat left 2px;
}
.semContentsText em {
	font-size: 13px;
	font-weight: bold;
	padding: 0px 0px 0px 25px;
	font-style: normal;
}
#hospitalImage {
	position: absolute;
	left: 640px;
	top: 110px;
}
#hospitalImageSub {
	position: absolute;
	left: 675px;
	top: 135px;
}
#spaceImage {
	position: absolute;
	left: 661px;
	top: 522px;
}
#spaceImageSub {
	position: absolute;
	left: 696px;
	top: 45px;
}
.seminarCategory {
	overflow: hidden;
	margin-bottom: 10px;
	clear: both;
}
#seminarCourse {
	width: 470px;
	overflow: hidden;
	float: left;
}
#seminarLeft {
	margin: 0px 10px 0px 0px;
	float: left;
	width: 230px;
}
#seminarLeft li {
	margin: 0px 0px 7px;
}
#seminarRight li {
	margin: 0px 0px 7px;
}
#seminarRight {
	float: right;
	width: 230px;
}
#seminarFee {
	width: 430px;
	float: right;
	text-align: center;
	font-size: 11px;
}
.pink {
	color: #FFF;
	background: #FF7BAC;
	font-size: 10px;
}
.lightPink {
	color: #FF7BAC;
	background: #FFE5EE;
	line-height: 40px;
}
#seminarFee td {
	border: 1px solid #FFF;
	vertical-align: middle;
	padding-top: 3px;
	padding-bottom: 3px;
}
#seminarFee th {
	font-size: 14px;
	font-weight: bold;
	border: 1px solid #FFF;
	line-height: 40px;
}
.newsSeminarTitle {
	margin-top: 20px;
	line-height: 20px;
}
.newsSeminarBottom {
	font-size: 11px;
}
#annotation {
	font-size: 11px;
}
#bigAddress {
	margin: 20px 0px 0px;
	clear: both;
}
#leftContents {
	float: left;
	width: 280px;
	margin: 33px 0 0 0;
}
#mapAddress {
	background: url(https://heisei-kagura.jp/images/map_address_bg.png) no-repeat;
	height: 52px;
	width: 220px;
	padding: 10px 0px 0px 70px;
	vertical-align: middle;
	line-height: 20px;
	margin: 0px 0px 30px;
	color: #000;
	background-size: contain;
}
#leftContents .station {
	line-height: 24px;
	color: #000;
}
#print {
	float: left;
	margin: 20px 0px 0px;
}
#MrHaba {
	padding: 0px 0px 0px 240px;
	height: 230px;
	background: url(https://heisei-kagura.jp/images/mr-habayoshitaka.png) no-repeat;
	margin: 10px 0px 0px;
}
#MrHaba p a {
	text-decoration: underline;
}
#name {
	font-size: 16px;
	border-bottom: 1px dotted #666;
}
#MrHaba p {
	line-height: 28px;
	margin: 20px 0px 0px;
	font-size: 11px;
}
#rightContents small a {
	float: right;
	margin: 10px 0px 0px;
	text-decoration: none;
	color: #29ABE2;
	line-height: 20px;
	display: block;
}
#rightContents small a img {
	vertical-align: top;
	margin: 0px 5px 0px 0px;
}
#rightContents {
	margin: 33px 0 0 0;
	float: right;
	width: 600px;
}
.policy {
	width: 860px;
	padding: 30px;
	overflow: hidden;
	background-color: #EFEFE3;
	border-radius: 3px;
	background-image: url(https://heisei-kagura.jp/images/policy_top.png), url(https://heisei-kagura.jp/images/policy_bottom.png);
	background-repeat: no-repeat, no-repeat;
	background-position: 25px top, 795px bottom;
	margin-bottom: 35px;
}
.alignRight {
	text-align: right;
}
.privacypolicy h2 {
	font-weight: bold;
	margin-bottom: 30px;
}
.privacypolicy p {
	line-height: 26px;
	margin-bottom: 30px;
}
.privacypolicy ol.infoNum li {
	line-height: 26px;
	margin: 0px 0px 20px 20px;
	list-style-type: decimal;
}
.privacypolicy ul.infoNum li {
	line-height: 26px;
	margin: 0px 0px 20px 20px;
	list-style-type: lower-latin;
}
p.dayRight {
	margin: -30px 0px 10px;
	padding: 0px;
	text-align: right;
}
#info {
	line-height: 26px;
	margin: -30px 0px 0px;
}
#info h3 {
	font-weight: bold;
}
#info p {
	margin-bottom: 0px;
}
.privacypolicy h3 {
	margin-bottom: 10px;
}
.target {
	width: 100%;
	line-height: 26px;
	border-top: 1px solid #CACACA;
	border-right: 1px solid #CACACA;
	margin-bottom: 50px;
}
.target th, .target td {
	border-bottom: 1px solid #CACACA;
	border-left: 1px solid #CACACA;
	padding: 10px;
	width: 50%;
	text-align: left;
	background-color: #FFFFFF;
}
.target caption {
	text-align: left;
}
.target tr:nth-of-type(1) th {
	background-color: #E5E5E5;
}
.target ul li {
	list-style-type: disc;
	margin-left: 20px;
}
#well-known {
	line-height: 30px;
}
#well-known dd {
	padding-left: 30px;
}
#well-known p {
	margin-bottom: 0px;
}
#well-known ol > li > p, #well-known ol > li > ol > li, #well-known ol > li > ul > li {
	padding-left: 25px;
}
#questionNav li {
	float: left;
}
#questionNav {
	margin: 30px 0px 0px;
	overflow: hidden;
}
.questioThree {
	margin: 0px 0px 0px 4px;
}
.questionTitle {
	margin: 20px 0px;
	clear: both;
}
.quuestionBox {
	background: #DFF2FB;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;
	padding: 5px 20px 20px;
	width: 880px;
}
.quuestionBox dl dt {
	background: url(https://heisei-kagura.jp/images/q.png) no-repeat left center;
	padding: 0px 0px 0px 25px;
	color: #0071BC;
	margin: 14px 0px;
	line-height: 20px;
}
.quuestionBox dl dd {
	padding: 15px;
	width: 850px;
	background: #FFF url(https://heisei-kagura.jp/images/a.png) no-repeat 18px 20px;
	display: block;
	text-indent: 25px;
	line-height: 24px;
}
.supportBox {
	background: #FFADC7;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;
	padding: 5px 20px 20px;
	width: 880px;
	margin: 30px 0px 0px;
}
.supportBox dl dt {
	color: #FFF;
	margin: 14px 0px;
	line-height: 20px;
	font-size: 15px;
	font-weight: bold;
}
.supportBox dl dd {
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;
	padding: 15px;
	width: 850px;
	background: #FFF;
	display: block;
	line-height: 24px;
	color: #F75E82;
}
.supportBox dl dd a {
	color: #F75E82;
	text-decoration: underline;
}
.loaf {
	margin: 0px 0px 20px;
}
.loaf a {
	color: #3CF;
}
.directorText {
	margin: 20px 0px 16px;
	line-height: 25px;
	color: #29ABE2;
}
#drIto {
	font-size: 18px;
	padding: 20px 0px 0px;
}
.career tr th {
	text-align: center;
	height: 60px;
	width: 90px;
	background: #E6E6E6;
	vertical-align: middle;
}
.career tr td {
	line-height: 20px;
	background: #F2F2F2;
	padding: 10px 0px 0px 10px;
}
.qualification li {
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;
	color: #0071BC;
	background: #D9F6FF;
	height: 72px;
	width: 70%;
	/*float: left;*/
	padding: 15px 20px;
	line-height: 18px;
}

.qualification-right li {
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;
	border-radius: 3px;
	color: #0071BC;
	background: #D9F6FF;
	height: 72px;
	width: 90%;
	margin-top: 20px;
	padding: 19px 20px;
	line-height: 18px;
}

.qualification {
	margin: 18px 0px 0px;
	overflow: hidden;
}
.qualificationThree {
	margin: 10px 0;
}
.partTimeDoctor {
	margin: 20px 0 15px;
	font-size: 18px;
	font-weight: normal;
}
#hours {
	text-align: center;
	background: url(https://heisei-kagura.jp/images/consultation_hours_bg.png) no-repeat;
	margin: 30px 0px 20px;
}
#hours tr th {
	height: 50px;
}
#hours tr td {
	height: 60px;
	vertical-align: middle;
	line-height: 16px;
}
#hours small {
	font-size: 10px;
	line-height: 12px;
}
.rice {
	font-size: 13px;
	line-height: 24px;
	margin: 0px 0px 30px;
}
.white {
	color: #FFF;
}
#insurance {
	margin: 0px 0px 0px 14px;
}
#newSemnar {
	width: 100%;
	margin: 10px 0px 5px;
	font-size: 10px;
}
#newSemnar tr th {
	color: #FFF;
	background: #29ABE2;
	line-height: 50px;
	border: 1px solid #FFF;
	text-align: center;
}
#newSemnar tr td {
	background: #F2F2F2;
	border: 1px solid #FFF;
	height: 50px;
	padding: 10px;
	text-align: center;
	vertical-align: middle;
}
.info {
	padding: 30px 0px;
	border-bottom: 1px dotted #29ABE2;
}
.info h2 {
	font-size: 14px;
	color: #FFF;
	background: #29ABE2;
	font-weight: normal;
	line-height: 20px;
	display: inline;
	padding: 5px 20px;
}
.infoContents {
	margin: 20px 0px 0px;
}
.infoContents a {
	color: #29ABE2;
	text-decoration: underline;
}
.pager {
	text-align: center;
	padding: 30px 0px 0px;
}
a.page-numbers, .pager .current {
	background: rgba(0,0,0,0.02);
	border: solid 1px rgba(0,0,0,0.1);
	border-radius: 5px;
	padding: 5px 8px;
	margin: 0 2px;
}
.pager .current {
	background: #BCD400;
	border: 1px solid #8CC63F;
	color: rgba(255,255,255,1);
}
.clinic {
	color: #00A99D;
	font-size: 18px;
	padding-bottom: 10px;
}
.box {
	margin-top: 70px;
}
#history {
	width: 100%;
	line-height: 40px;
	margin: 40px 0px;
	color: #29ABE2;
}
#history th {
	background-color: #29ABE2;
	color: #FFFFFF;
	text-align: center;
	font-size: 16px;
	border: 1px solid #29ABE2;
}
#history td {
	border: 1px solid #29ABE2;
}
#history td:nth-child(odd) {
	text-align: center;
}
#history td:nth-child(even) {
	text-indent: 40px;
}
#pageTop {
	position: fixed;
	right: 20px;
	bottom: 160px;
	cursor: pointer;
	float: none;
	display: block;
}
#footer {
	background: #BCD400;
	height: 140px;
	width: 100%;
	font-size: 11px;
	color: #FFF;
	clear: both;
	padding-top: 10px;
	position: relative;
}
#footerIn {
	width: 920px;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
	text-align: left;
}
#footerIn li:nth-child(1), #footerIn li:nth-child(11) {
	border-left: 1px solid #FFFFFF;
}
#footerIn li {
	border-right: 1px solid #FFFFFF;
	margin-top: 10px;
	display: inline-block;
	line-height: 12px;
}
#footerIn li a {
	color: #FFFFFF;
	display: block;
	padding: 0px 6px;
}
#footer #privacy {
	position: absolute;
	bottom: 0px;
	left: 50%;
	margin-left: 411px;
	width: 84px;
	height: 90px;
}
#privacy span {
	display: none;
}
#privacy:hover span {
	display: block;
	position: absolute;
	top: -140px;
	left: -122px;
	font-size: 13px;
	background-color: rgba(57,181,74,0.90);
	width: 300px;
	padding: 5px 10px;
	border-radius: 3px;
	z-index: 100;
	line-height: 20px;
	text-align: left;
}
#privacy span:before {
	content: '';
	display: block;
	position: absolute;
	height: 0;
	width: 0;
	top: 130px;
	left: 50%;
	border: 10px solid transparent;
	border-left: 10px solid rgba(57,181,74,0.90);
	transform: rotate(90deg);
	-webkit-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	z-index: 100;
	margin-left: -5px;
}
#attention {
	background-color: #FFFFFF;
	margin-bottom: 50px;
	width: 920px;
	text-align: center;
	overflow: hidden;
	font-size: 14px;
}
#attention p {
	display: inline-block;
	text-align: left;
	margin-left: 30px;
	line-height: 30px;
	letter-spacing: 1px;
	position: relative;
	top: -10px;
}


/*2018/10/26 GSC*/
.access-inner h2 {
	font-size: 16px;
	font-weight: bold;
	padding-top: 20px;
}

.access-inner p{
	font-size:14px;
	padding-top: 15px;
}

.access-inner .clear-none{
overflow: hidden;
clear:both;
}

.access-inner .right{
	float: right;
}

.access-inner .left{
	float: left;
}




/*gsc-rework-program*/

#gsc-rework-program{
	margin-bottom: 60px;
	line-height: 1.8;
}

#gsc-rework-program .gsc-inner{
	width: 920px;
	margin: 0 auto;
}

#gsc-rework-program .gsc-rework-top{
	margin-top: 60px;
}

#gsc-rework-program .gsc-rework-top h3{
	font-size: 22px;
	text-align: center;
	position: relative;
	bottom: 22px;
	background-color: #fff;
	width: 250px;
	margin: 0 auto;
	color: #009245;
}

#gsc-rework-program .gsc-rework-top p{
	font-size: 16px;
	text-align: left;
}

#gsc-rework-program .gsc-rework-top a{
	color: #009245;
	font-size: 14px;
	display: block;
	margin-top: 20px;
}

#gsc-rework-program .gsc-rework-top{
	padding: 10px 20px 20px;
	border: 1px solid #009245;
}

#gsc-rework-program .gsc-rework-contents{
	padding-top: 60px;
}

#gsc-rework-program .gsc-rework-contents img{
	padding: 30px 0;
}

#gsc-rework-program .gsc-rework-contents h2{
	font-size: 24px;
	color: #FF7BAC;
	text-align: left;
	padding-bottom: 15px;
}

#gsc-rework-program .gsc-rework-contents p{
	text-align: left;
	font-size: 14px;
	padding-top: 10px;
}

#gsc-rework-program .gsc-rework-contents p span{
	color: #FF7BAC;
	text-align: right;
	padding-top: 15px;
}

#gsc-rework-program .gsc-rework-contents h3{
font-size: 16px;
text-align: left;
padding-top: 15px;
}

/* =========================================================
   WordPress 必須クラス（テーマ審査基準の最低限）。
   既存デザインに影響しない補助スタイルのみ。
   ========================================================= */
.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
}
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1em; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 11px; }
.sticky, .gallery-caption, .bypostauthor { }

/* === 改修(6/17版): フォント拡大・濃緑統一・レスポンシブ === */
body{font-size:16px;line-height:1.8;}
#contentsWrap p,#contentsWrap li,#contentsWrap dd,#contentsWrap dt,.topContentsText,.rice,.career td,.qualification li,.quuestionBox dl dt,.quuestionBox dl dd,.infoContents,#hours td,#history td{font-size:16px;line-height:1.9;}
.hk-sec{font-size:19px;font-weight:bold;color:#1B5E20;border-left:6px solid #1B5E20;padding:2px 0 2px 12px;margin:34px 0 14px;line-height:1.5;}
#footer{background:#1B5E20;}
.pager .current{background:#1B5E20;border-color:#154a19;}
#history,#history td{color:#1B5E20;}#history th{background-color:#1B5E20;border-color:#1B5E20;}#history td{border-color:#1B5E20;}
.info h2,#newSemnar tr th{background:#1B5E20;}.info{border-bottom-color:#1B5E20;}
.infoContents a,.directorText,a:hover{color:#1B5E20;}
@media screen and (max-width:960px){#wrapper,#wrapperSub,#header,#nav,#menu,#contentsWrap,#footer,#footerIn,#topContets,#attention,#leftBox,#rightBox{width:100%!important;max-width:100%!important;box-sizing:border-box;}#contentsWrap{padding:16px!important;}#header{height:auto!important;padding:16px!important;text-align:center;}#logo,#headerAddress,#topText{position:static!important;float:none!important;width:auto!important;height:auto!important;margin:6px auto!important;}#contentsWrap img,#logo img,#headerAddress img,#topText img,#menu li img,#mentalHealth li img{max-width:100%!important;height:auto!important;}#nav{height:auto!important;}#menu{display:flex;flex-wrap:wrap;}#menu li{float:none;flex:1 1 33%;text-align:center;}#leftBox,#rightBox,#leftContents,#rightContents{float:none!important;width:auto!important;height:auto!important;margin:0 auto 14px!important;}#mentalHealth{display:flex;flex-wrap:wrap;gap:8px;}#mentalHealth li{float:none!important;flex:1 1 45%;width:auto!important;height:auto!important;}#hospitalImage,#spaceImage,#hospitalImageSub,#spaceImageSub{position:static!important;}#topContets,#hours,table#hours,.career,.target,#history,#newSemnar,.quuestionBox,.supportBox{width:100%!important;}.policy,.quuestionBox dl dd,.supportBox dl dd{width:auto!important;}body{font-size:17px;}#contentsWrap p,.topContentsText,.rice{font-size:17px!important;}#footerIn{width:100%!important;}#footerIn li{display:block;border:0!important;}#pageTop{right:8px;bottom:80px;}}

/* === 改修2: 文字拡大に伴うレイアウト補正・レスポンシブ強化 === */
body{font-size:13px;line-height:1.7;}
#scroll_area,#scroll_area span,#scroll_area p,#scroll_area p a{font-size:12px!important;line-height:1.6!important;}
#footerIn,#footerIn li,#footerIn li a{font-size:12px!important;}
#mentalHealth li p{font-size:13px!important;line-height:19px!important;}
#contentsWrap>p,.topContentsText,.rice,.privacypolicy p,.privacypolicy ol li,.privacypolicy ul li,.quuestionBox dl dd,.supportBox dl dd,.infoContents,.career td,.target td,.target th,#info,#well-known,#MrHaba p{font-size:16px!important;line-height:1.95!important;}
.qualification li,.qualification-right li{height:auto!important;min-height:72px;}
.qualification,.qualification-right{overflow:visible!important;}
.career tr th{height:auto!important;}
#MrHaba{height:auto!important;min-height:230px;}
.policy,.quuestionBox,.supportBox,.quuestionBox dl dd,.supportBox dl dd,#attention{width:auto!important;max-width:920px;box-sizing:border-box;}
@media screen and (max-width:768px){body{font-size:14px;}#contentsWrap>p,.topContentsText,.rice{font-size:16px!important;}#menu li{flex:1 1 50%;}#menu li img{width:100%!important;}#mentalHealth li{flex:1 1 100%;text-align:center;}#mentalHealth li img{max-width:204px;display:inline-block;}#news{width:auto!important;background-size:contain;height:auto!important;padding:50px 10px 20px!important;}#scroll_area{width:auto!important;height:auto!important;}#hours td,#hours th{font-size:13px!important;padding:4px 2px!important;}#MrHaba{padding-left:0!important;background:none!important;}#leftContents,#rightContents{text-align:center;}.qualification li,.qualification-right li{width:auto!important;}#footerIn li{display:inline-block;}}


/* ===== RESP-V2 スマホ崩れ修正 2026-06 ===== */
@media screen and (max-width:980px){
*{box-sizing:border-box;}
#wrapper,#wrapperSub{background-image:none!important;max-width:100%!important;}
#header{width:100%!important;height:auto!important;padding:16px 12px 0!important;overflow:hidden;}
#logo,#headerAddress,#topText{float:none!important;position:static!important;width:auto!important;height:auto!important;margin:0 auto 10px!important;}
#header img{max-width:100%!important;height:auto!important;}
#nav{min-width:0!important;width:100%!important;height:auto!important;background:#1B5E20!important;}
#menu{width:100%!important;display:flex!important;flex-wrap:wrap!important;justify-content:center!important;overflow:visible!important;}
#menu li{float:none!important;}
#menu li img{max-width:100%!important;height:auto!important;display:block;}
#contentsWrap{width:100%!important;padding:24px 14px!important;}
#contentsWrap img{max-width:100%!important;height:auto!important;}
#attention{width:100%!important;}
#attention p{margin-left:0!important;top:0!important;}
#leftBox,#rightBox{float:none!important;width:100%!important;height:auto!important;}
#rightBox{margin-top:24px!important;}
#mentalHealth{width:100%!important;display:flex;flex-wrap:wrap;gap:10px;}
#mentalHealth li{float:none!important;width:47%!important;height:auto!important;}
#mentalHealth li img{width:100%!important;}
#mentalHealth li p{position:static!important;width:auto!important;left:auto!important;top:auto!important;color:#1B5E20!important;}
.second{margin:0!important;}
#news{width:100%!important;height:auto!important;background-size:100% 100%!important;padding:20px 12px!important;}
#scroll_area{width:100%!important;height:auto!important;max-height:240px;}
#scroll_area p{width:auto!important;}
#glance{position:static!important;width:auto!important;height:auto!important;display:inline-block;margin-top:8px;}
#topContets{width:100%!important;}
.topContentsText{width:100%!important;}
#hospitalImage,#hospitalImageSub,#spaceImage,#spaceImageSub{position:static!important;left:auto!important;top:auto!important;display:block;margin:10px auto;}
#leftContents,#rightContents{float:none!important;width:100%!important;margin:16px 0 0!important;}
#MrHaba{padding:130px 0 0 0!important;height:auto!important;background-size:110px auto!important;background-position:top center!important;}
.qualification li,.qualification-right li{width:auto!important;height:auto!important;float:none!important;margin-bottom:10px;}
.policy,.quuestionBox,.supportBox{width:auto!important;}
.quuestionBox dl dd,.supportBox dl dd{width:auto!important;}
#questionNav li{float:none!important;}
#questionNav img{max-width:100%!important;height:auto!important;}
#hours,#newSemnar,#history,.target,.career,#seminarFee{display:block!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;background-size:cover!important;}
#seminarCourse,#seminarLeft,#seminarRight,#seminarFee{float:none!important;width:100%!important;}
#footer{height:auto!important;padding-bottom:20px;}
#footerIn{width:100%!important;text-align:center;}
#footer #privacy{position:static!important;margin:14px auto 0!important;display:inline-block;left:auto!important;}
#gsc-rework-program .gsc-inner{width:100%!important;padding:0 14px;}
#pageTop{right:8px!important;bottom:80px!important;}
#pageTop img{width:40px;height:auto;}
}
@media screen and (max-width:480px){
#mentalHealth li{width:100%!important;}
#header{padding-top:12px!important;}
}


/* ===== 改修3 文字拡大・太字（指示書①） 2026-06 ===== */
body{font-size:15px !important;font-weight:500 !important;-webkit-font-smoothing:antialiased;}
#contentsWrap p,#contentsWrap li,#contentsWrap dd,#contentsWrap dt,#contentsWrap td,#contentsWrap th,.topContentsText,.rice,.privacypolicy p,.privacypolicy li,.infoContents,#info,#MrHaba p,.quuestionBox dl dd,.supportBox dl dd,.semContentsText{font-size:17px !important;line-height:1.9 !important;font-weight:500 !important;}
h1,h2,h3,.subTitle,.topSubTitle,.partTimeDoctor,.clinic,#drIto,#name{font-weight:700 !important;}
.qualification li,.qualification-right li{height:auto !important;min-height:72px;}
.career tr th{height:auto !important;}
#MrHaba{height:auto !important;min-height:230px;}
#hours tr td{height:auto !important;}
#news{height:auto !important;min-height:162px;}
#scroll_area{height:auto !important;max-height:200px;}
#scroll_area span{font-size:13px !important;}
#scroll_area p{font-size:14px !important;}
#mentalHealth li p{font-size:14px !important;}
#footerIn li a{font-size:13px !important;}
#footer{height:auto !important;}


/* ===== 改修4 配色統一（指示書②：メインカラー濃緑#1B5E20） 2026-06 ===== */
#nav{background:#1B5E20 !important;}
#footer{background:#1B5E20 !important;}
.info h2{background:#1B5E20 !important;}
#newSemnar tr th{background:#1B5E20 !important;}
#history th{background:#1B5E20 !important;border-color:#1B5E20 !important;}
#history,#history td{border-color:#1B5E20 !important;}
#history{color:#1B5E20 !important;}
.seminarInformation,.seminarBottom,.directorText,.clinic{color:#1B5E20 !important;}
#scroll_area p{border-bottom-color:#1B5E20 !important;}
.info{border-bottom-color:#1B5E20 !important;}
.infoContents a,#rightContents small a{color:#1B5E20 !important;}
.quuestionBox{background:#E8F5E9 !important;}
.quuestionBox dl dt{color:#1B5E20 !important;}
.qualification li,.qualification-right li{color:#1B5E20 !important;background:#E8F5E9 !important;}
.pager .current{background:#1B5E20 !important;border-color:#1B5E20 !important;}
