@charset "UTF-8";

/*
Theme Name: mihara
Description: みはら循環器内科
Version: 1.0
Author: Road Skip
Text Domain: mihara
*/





/* ヘッダー　*/
.logo{
	margin: 18px 0 0 0;
	width: 400px;
}
.header{
	height: 0px;
}
.header-nav {
  width: 100%;
  height: 87px;
  padding: 17px 4.428% 25px 3%;
}
.header-nav.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
}


.gnav {
  padding: 52px 0 22px 20px;
  font-size: 18px;
  font-weight: 500;
  line-height: 3;
  letter-spacing: 0.05em;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99999;
}

.gnav-list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
	background-color: #fff;
    border-radius: 40px 0 0 40px;
	max-width: 960px;
}
.gnav-list li:not(:last-of-type) {
  margin-right: 30px;
}
.gnav-list a {
  display: block;
}
.gnav-list a {
  color: #333;
}




/* -------------------
  サブメニュー設定
-------------------- */

/* 親 li を基準にする */
.menu-item {
  position: relative;
}


/* PC用初期状態：非表示 */
@media screen and (min-width: 1301px) {
  .menu-item .subMenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #36b48e;
    width: 280px;
    z-index: 999;
    transition: all 0.3s ease-in-out;
  }
	.subMenu p{
	color: #d2f5c0;
    padding: 10px 10px 0;
		}
	.gnav-list {
	padding: 3px 40px;
}
  /* ホバー時に表示 */
  .menu-item:hover .subMenu {
    display: block;
  }

  /* サブメニュー内リンク装飾 */
  .menu-item .subMenu li a {
    display: block;
    padding: 14px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.6);
	line-height: 24px;
  }

  .menu-item .subMenu li:last-child a {
    border-bottom: none;
  }

  .menu-item .subMenu li a:hover {
    background: #122b3f;
  }
	.arrow{
	display: none;
}
	.instagram-logo{
		width: 30px;
    vertical-align: middle;
	}	
}

/* SP用：常に表示＆装飾なし */
@media screen and (max-width: 1300px) {
  .menu-item .subMenu {
    display: flex !important;
	flex-wrap: wrap;
    position: static;
    width: 340px;
    background: none;
	line-height: 1.2;
	position: static;
	justify-content: space-between;
	font-size: 16px;
	padding-left: 10px;
  }
	.subMenu p{
		color: #2f9b7b;
		padding: 10px 240px 0 0;
	}
	.menu-item .subMenu li {
    flex: 0 0 45%;
	}
	.subMenu span{
		font-size: 14px;
	}
	#gnav {
		background-color: #D2F5C0;
	}
	.gnav-list{
		background-color: #D2F5C0;
	}

  /* サブメニューリンクの装飾リセット */
  .menu-item .subMenu li a {
    border: none;
    background: none;
    color: #333;
    padding: 8px 0;
  }

  .menu-item .subMenu li a:hover {
    background: none;
  }
	#gnav.is-open {
    max-height: 100vh;
    overflow-y: auto;
  }
	.subMenu a {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .subMenu img .gnav-list li img{
	display: flex;
    max-width: 20px;
  }
	.arrow{
		width: 24px;
		vertical-align: middle;
        padding-left: 5px;
	}
	.instagram-logo{
		width: 40px;
	}
	.instagram-img {
    display: block;
    width: 40px;
    margin-left: auto;
    margin-right: 30px;
}
}

/* リキャプチャ非表示 */
.grecaptcha-badge { visibility: hidden; }


.inner.is-small {
    margin: 0 auto;
}

.cat-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  font-size: 0.8125rem;
  color: #555555;
}
.cat-list > li {
  min-width: 40px;
  padding: 5px 10px;
  margin-top: 0.5em;
  background-color: #d2f5c0;
  border-radius: 10px;
  text-align: center;
  line-height: 1;
  color: #36b48e;
}
.cat-list > li:not(:last-of-type) {
  margin-right: 0.923em;
}

.news-list > li {
  padding-bottom: 18px;
  border-bottom: 1px solid #37b594;
}
.home-news .news-list > li{
	border-bottom: 1px solid #fff;
}
.news-list > li:not(:last-of-type) {
  margin-bottom: 30px;
}
.news-list{
	border-top: 2px solid #fff;
	border-bottom: 2px solid #fff;
	padding-top: 20px;
	max-width: 1000px;
    margin: 0px auto 40px;
}
.news-date{
	padding-left: 20px;
	color: #555;
}

.news-list .thumbnail {
  margin-right: 10px;
  line-height: 1;
}
.news-list .text {
  flex: 1 1 0;
  line-height: 1.687;
}
.news-list .date {
  font-size: 0.8125rem;
  color: #808080;
}
.thumbnail img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: center;
	margin-bottom: 5px;
}
.news-detl{
	text-align: right;
    color: #37b594;
}
@media(max-width: 700px){
	.thumbnail img{
		display: block;
		margin: 0 auto 10px;
	}
}


/* フッター　*/
.footer {
	background-image: url('img/footer-bg-img.png');
	background-position: bottom;
    background-size: contain;
	background-color: #37B594;
	box-shadow: -1px -20px 0px #D2F5C0;
	border-top-left-radius: 20px;
  border-top-right-radius: 20px;
	margin-top: 80px;
	font-size: 18px;
}

.footer .inner {
  position: relative;
}

.copyright {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: #fff;
  text-align: center;
}
.footer-logo{
    padding-top: 40px;
	width: 100px;
}
.footer-name{
	font-size:28px;
	color:#fff;
	padding-top: 20px;
}
.footer-add{
	color: #fff;
	padding-top: 20px;
	font-size: 18px;
}
.footer-gnav{
	padding-top: 40px;
	color: #fff;
}

/* フッターメニュー */
.footer-gnav-list{
	line-height: 3;
}
.footer-gnav-list li a{
	color: #fff;
}
.menu-item .footer-subMenu {
    display: flex !important;
	flex-wrap: wrap;
    position: static;
    max-width: 420px;
    background: none;
	line-height: 1.2;
	position: static;
	justify-content: space-between;
	font-size: 16px;
	padding-left: 10px;
  }
.footer-subMenu li a{
	color: #fff !important;
}
	.footer-subMenu p{
		color: #d2f5c0;
		padding: 10px 240px 0 0;
	}
	.menu-item .footer-subMenu li {
    flex: 0 0 45%;
	}
	.footer-subMenu span{
		font-size: 14px;
	}

  .menu-item .footer-subMenu li a {
    border: none;
    background: none;
    color: #333;
    padding: 8px 0;
  }

  .menu-item .footer-subMenu li a:hover {
    background: none;
  }
	.footer-subMenu a {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .footer-subMenu img .gnav-list li img{
	display: flex;
    max-width: 20px;
  }
	.arrow{
		width: 24px;
		vertical-align: middle;
        padding-left: 5px;
	}
	.instagram-logo{
		width: 40px;
	}
	.instagram-img {
    display: block;
    width: 40px;
    margin-left: auto;
    margin-right: 30px;
}
.footer-tel-logo{
	width: 24px;
	margin-right:5px;
	margin-top: 10px;
}
.footer_phone,
  .footer_phone a {
    color: #fff !important;
    font-weight: 600;
    font-style: normal;
    margin: 5px 0;
    padding: 6px;
    text-decoration: none;
  }
.footer_phone a span{
	font-size: 28px !important;
    padding-top: 5px;
}
.footer-insta-logo{
		width: 40px;
	}
	.footer-insta-logo {
    display: block;
    width: 40px;
    margin-left: auto;
    margin-right: 30px;
    padding-bottom: 80px;
}
.footer-privacy a {
	position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: #fff;
    text-align: center;
	font-size: 14px;
}
@media screen and (min-width: 768px){
	.footer-gnav{
		padding-top: 140px;
	}
}








.page404-text-box {
  max-width: 585px;
  margin: 0 auto;
  font-size: 0.9375rem;
  color: #333;
  line-height: 2.333;
}
.page404-text-box > p:not(:last-of-type) {
  margin-bottom: 1.5em;
}
.page404-text-box a {
  text-decoration: underline;
}
.notfound h1{
	margin-top: 200px;
    text-align: center;
}

.home-main {
  padding-top: 0;
  padding-bottom: 120px;
  background-color: #FFFFFF;
  position: relative;
  z-index: 1;
}

.box-white {
  padding: 60px 0 60px;
  margin-bottom: 74px;
}
.box-white.is-page404 {
  padding-top: 56px;
  padding-bottom: 56px;
}

.text-red {
  color: #DA1725;
}

.btn-wrapper {
  margin-top: 30px;
  text-align: center;
}

.btn-submit {
  display: inline-block;
  min-width: 240px;
  padding: 10px 30px;
  border-radius: 30px;
  color: #FFFFFF;
  text-align: center;
  background-color: #004e98;
}
.btn-submit:hover {
  background-position-x: 100%;
  color: #333;
}

.form-wrapper {
  max-width: 586px;
  margin: 0 auto;
}
.form-wrapper .about-text {
  margin-bottom: 54px;
  font-size: 0.9375rem;
  color: #333;
  line-height: 2.333;
}
@media screen and (max-width: 768px) {
  .form-wrapper .about-text {
    font-size: 0.875rem;
  }
}
.form-wrapper .about-text a:not(a[href^="tel:"]) {
  text-decoration: underline;
}

.form-box dd {
        padding-bottom: 2em;
    }

.required-text {
	font-size:14px;
  color: #fff;
	background-color: #004e98;
	padding: 3px;
	border-radius: 3px;
  margin-left: 0.5em;
}



.news-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
.news-wrapper .main-content {
  width: 61.551%;
}
.news-wrapper .sidebar {
  width: 32.931%;
}

.news-title {
  margin-bottom: 1em;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 2.25;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.more-link {
  color: #2f9b7b;
  font-size:14px;
}
.more-link:hover {
  text-decoration: none;
}
.news-pg .page-title, .blog-pg .page-title {
	margin-top: 200px;
	margin-bottom: 40px;
	text-align:center;
	color: #8c5e2d;
}

@media screen and (max-width: 768px) {
  .news-title {
    font-size: 1.125rem;
  }
}

.wp-pagenavi {
  display: flex;
  justify-content: flex-end;
  margin-top: 42px;
}
.wp-pagenavi span, .wp-pagenavi a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #444444;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: 0.3s ease-in;
}
.wp-pagenavi span:not(:last-child), .wp-pagenavi a:not(:last-child) {
  margin-right: 2.622%;
}
@media screen and (max-width: 768px) {
  .wp-pagenavi span, .wp-pagenavi a {
    font-size: 0.875rem;
  }
}
.wp-pagenavi span:hover, .wp-pagenavi a:hover {
  background-color: #1576BE;
  color: #FFFFFF;
}
.wp-pagenavi span.current {
  background-color: #1576BE;
  color: #FFFFFF;
}
.wp-pagenavi a {
  color: #666666;
}
.wp-pagenavi a.nextpostslink, .wp-pagenavi a.previouspostslink {
  width: auto;
  padding: 5px 1.2em;
}

.sidebar .box-white {
  padding-right: 8.376%;
  padding-left: 8.376%;
}
.sidebar .item {
  padding: 0 3.773%;
  padding-bottom: 36px;
}
.sidebar .item:not(:last-of-type) {
  border-bottom: 1px solid #37b594;
  margin-bottom: 42px;
}
.sidebar-list {
  padding: 0 7.718%;
  font-weight: 500;
  color: #555555;
}
.sidebar-list a {
  display: inline-block;
  padding-right: 1em;
  line-height: 2.562;
}
.sidebar-list a::before {
  content: "-";
  display: inline-block;
  margin-right: 0.5em;
}

.post .box-white {
  padding-right: 5.882%;
  padding-left: 5.882%;
}
.post-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
  font-size: 0.875rem;
  color: #555555;
}
.post-header time {
  margin-bottom: 0.5em;
}
.post-header .cat-list {
  font-size: 0.875rem;
}
@media screen and (max-width: 768px) {
  .post-header .cat-list {
    font-size: 0.8125rem;
  }
}
.post-header .cat-list > li {
  padding-right: 18px;
  padding-left: 18px;
}
.post-title {
  margin-bottom: 0.718em;
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.468;
}
@media screen and (max-width: 768px) {
  .post-title {
    font-size: 1.375rem;
  }
}
.post-wrapper {
  line-height: 1.75;
  letter-spacing: 0.11em;
}
.post-wrapper > * {
  margin-bottom: 36px;
}
.post-wrapper h2 {
  padding-left: 1.166em;
  margin-bottom: 1.5em;
  border-left: 3px solid #333;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.5;
}
@media screen and (max-width: 768px) {
  .post-wrapper h2 {
    font-size: 1.125rem;
  }
}
.post-wrapper h3 {
  padding: 10px 4.444%;
  margin-bottom: 1.318em;
  background-color: #E2EBEF;
  border-radius: 10px;
  font-size: 1.375rem;
  font-weight: bold;
  color: #333;
  line-height: 1.5;
}
@media screen and (max-width: 768px) {
  .post-wrapper h3 {
    font-size: 1rem;
  }
}
.post-wrapper .images-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.post-wrapper .images-wrapper.col2 {
  margin-bottom: 0;
}
.post-wrapper .images-wrapper.col2 > a {
  width: 47.46%;
  margin-bottom: 36px;
}
.post .eyecatch {
  height: 0;
  padding: 120px;
  position: relative;
  overflow: hidden;
}
.post .eyecatch img {
  width: 200px;
    height: 200px;
    object-fit: cover;
    object-position: center center;
    margin-bottom: 5px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.lb-outerContainer {
  background-color: transparent;
}

.lightbox .lb-image {
  border: none;
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  margin-top: 60px;
  border-top: 1px dashed #666666;
  border-bottom: 1px dashed #666666;
  font-size: 0.875rem;
  font-weight: 500;
  color: #666666;
}
@media screen and (max-width: 768px) {
  .page-nav {
    font-size: 0.8125rem;
  }
}
.page-nav > li {
  min-width: 5em;
}
.page-nav > li:first-of-type a::after {
  right: auto;
  left: 0;
  transform: translateY(-50%) rotate(-135deg);
}
.page-nav a {
  display: inline-block;
  min-width: 5em;
  padding: 5px 14px;
  position: relative;
}
.page-nav a.to-archive {
  font-weight: bold;
  color: #333;
}
.page-nav a.to-archive::after {
  content: none;
}
.page-nav a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1px solid #666666;
  border-right: 1px solid #666666;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%) rotate(45deg);
}

.privacy-wrapper {
  max-width: 574px;
  margin: 0 auto;
  font-size: 0.9375rem;
}
.privacy-wrapper > * {
  margin-bottom: 1.8em;
}
.privacy-wrapper h2 {
  margin-bottom: 1.35em;
  font-size: 1.25rem;
}
@media screen and (max-width: 768px) {
  .privacy-wrapper h2 {
    font-size: 1.125rem;
  }
}

/*========================
  ナビゲーション調整用の設定
==========================*/
@media screen and (max-width: 1300px) {
  .header-nav {
    height: 54px;
    padding: 4px 4.8% 5px 2.933%;
  }
  .site-id-img {
    width: 38px;
    height: 17px;
  }
  .gnav {
    width: 100%;
    height: 100vh;
    padding-top: 80px;
    background: #ffff;
    line-height: 3;
    position: fixed;
    top: 0;
    right: -120%;
    z-index: 2;
    transition: all 0.6s;
  }
  .gnav.is-open {
    right: 0;
  }
  .gnav-list {
    display: block;
    padding-top: 38px;
    padding-bottom: 36px;
  }
  .gnav-list li {
    text-align: left;
  }
  .gnav-list li:not(:last-of-type) {
    margin-right: 0;
  }
  .gnav-list li:first-of-type {
    display: block;
  }
 
  
  
  .btn-nav {
    display: inline-block;
    width: 58px;
    height: 58px;
    margin: 20px;
    border: 2px solid #fbfbfb;
	border-radius: 30px;
    background-color: #fff;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999;
  }
	#gnav{
		z-index: 10000;
		height: 640px;
	}



	
  .btn-nav::before, .btn-nav::after {
    content: "";
    height: 2.4px;
    background-color: #36b48e;
    position: absolute;
    right: 12px;
    transition: all 0.4s;
  }
  .btn-nav::before {
    width: 30px;
    top: 22px;
  }
  .btn-nav::after {
    width: 30px;
    top: 30px;
  }
  .btn-nav.is-open::before {
    transform: translateY(4px) rotate(-36deg);
    width: 32px;
  }
  .btn-nav.is-open::after {
    transform: translateY(-4px) rotate(36deg);
    width: 32px;
  }
  
  .home-news {
    padding: 0 3%;
  }
	
}
.inner {
    padding-right: 6.133%;
    padding-left: 6.133%;
  }
/*========================
  769pxより広い場合の設定
==========================*/
@media screen and (min-width: 769px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}
/*========================
  768px以下の設定
==========================*/
@media screen and (max-width: 768px) {
	.logo{
		width: 270px;
		margin: 14px 0 0 0;
	}
  .news-list {
    width: 114.678%;
    margin-left: -7.339%;
  }
  .news-list a::after {
    right: 5.333%;
  }
  .news-list .thumbnail {
    width: 100%;
  }
  .footer-a {
    padding-top: 26px;
    padding-bottom: 12px;
  }
  .footer-nav {
    justify-content: center;
    margin-top: 16px;
  }

  .home-main {
    padding-bottom: 0;
  }
  
  
  .home-news {
    width: 100%;
    padding-right: 6.4%;
    padding-left: 6.4%;
    padding-bottom: 40px;
    margin-top: 34px;
    margin-bottom: 0;
  }
  .home-news .news-list .thumbnail {
    width: 31%;
  }
  .home-news > p {
    min-height: auto;
  }
  .box-white {
    padding-top: 30px;
    padding-bottom: 60px;
  }
  .form-wrapper {
    max-width: 480px;
  }
  .form-box {
    display: block;
  }
  .form-box dt, .form-box dd {
    display: block;
    width: 100%;
  }
  .form-box dt {
    padding-bottom: 0.3em;
  }
  .form-box dt.message {
    padding-top: 0;
  }
  .form-box dd {
    padding-bottom: 1em;
  }
  
  
  .news-wrapper .box-white {
    margin-bottom: 40px;
  }
  .news-wrapper .main-content, .news-wrapper .sidebar {
    width: 100%;
  }
  .news-list {
    width: 100%;
    margin-left: 0;
  }
  .page-nav {
    width: 104%;
    padding: 10px 0;
    margin-left: -2%;
  }
  .page-nav a {
    padding: 5px 8px;
  }
  .page-nav a.to-archive {
    padding: 5px 0;
  }
}
/*　お問い合わせ　*/
.contact{
	margin-bottom: 40px;
}
.contact-telfax-box h3{
padding-bottom: 20px;
	text-align: center;

}
.contact-telfax-box{
	max-width: 600px;
	margin: 0 auto 60px;
	border-bottom: 1px solid #37B594;
	padding-bottom: 10px;
}
.contact-telfax-box .flex-box {
	text-align: center;
}
.contact-box {
    padding-top: 0;
    padding-bottom: 46px;
    border-radius: 0;
  }
  .contact-box .content-wrapper {
    max-width: calc(480px + 17.6%);
    padding: 0 8.8%;
    margin: 0 auto;
  }
  .contact-box .content-wrapper .item-left, .contact-box .content-wrapper .item-right {
    width: 100%;
  }
  .contact-box .content-wrapper .item-left {
    padding: 0 0 38px;
    border-right: none;
    border-bottom: 1px solid #CCCCCC;
  }
  .contact-box .content-wrapper .item-right .text {
    margin-bottom: 36px;
  }
  .contact-box .business-hours {
    display: block;
  }
  .contact-box .business-hours::after {
    content: "";
  }
@media screen and (max-width: 768px) {
    .box-white {
        padding-top: 30px;
        padding-bottom: 60px;
    }
}
.box-white {
    margin-bottom: 74px;
}
input[type=text], input[type=email], input[type=tel], textarea {
    width: 100%;
    padding: 6px 10px;
    border: 1.8px solid #c0bebe;
	border-radius: 6px;
    outline: none;
}
.checkbox{
  display: block;
  margin-bottom: 0.5em;
	display: flex;
	flex-direction: column;
}
.wpcf7-spinner{
	display: flex !important;
}

/* 送信前は非表示 */
.wpcf7-response-output {
    display: none;
}

/* メッセージがある時だけ表示 */
.wpcf7-response-output:not(:empty) {
    display: block;
    margin: 0 auto !important;
    padding: 20px !important;
    color: #000;
    font-weight: bold;
	text-align: center;
	font-size: 20px;
}







@media(min-width:768px){
	input[type=text], input[type=email], input[type=tel], textarea{
margin-top: 7px;
	}
}

.contact_btn {
    background-color: #36b48e;
    border: 1px solid #36b48e;
    color: #fff;
    text-align: center;
    font-size: 22px;
    padding: 10px 20px;
    display: block;
    width: 250px;
    border-radius: 10px;
}
.contact_btn::before {
    display: inline-block;
    content: '\f0e0';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
}
.contact_btn:hover {
    opacity: 1;
    background-color: #fff;
    color: #36b48e;
}
.contact_tel {
    font-size: 30px;
    text-align: center;
}
.contact_tel::before {
    font-size: 23px;
    margin-right: 7px;
}
.contact_area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 30px;
}
@media screen and (max-width: 767px) {  
    .contact_btn {
        margin: 0 auto;
    }   
    .contact_area {
        flex-direction: column;
        gap: 30px;
    }
}
.contact_form {
    width: 100%;
    margin: 20px 0;
}
.contact_form caption {
    text-align: left;
    margin-bottom: 20px;
}
.contact_form tr {
    display: flex;
    align-items: center;
}
.contact_form th {
    width: 30%;
    font-weight: bold;
}
.contact_form td {
    width: 70%;
}
.contact_form th, .contact_form td {
    padding-bottom: 20px;
}
.contact_form th p, .contact_form td p {
    margin: 0;
}
.contact_form input[type="text"],
.contact_form input[type="email"] {
    max-width: 500px;
    font-size: 16px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
}
.contact_form textarea {
    display: block;
    max-width: 500px;
    height: 200px;
    font-size: 15px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
}
.contact_form input[type="text"]:focus,
.contact_form input[type="email"]:focus,
.contact_form textarea:focus {
    outline: 2px solid #36b48e;
}
.required {
    display: inline-block;
    color: red;
    padding: 0 5px;
    font-weight: bold;
}
.form_btn {
    max-width: 500px;
    margin: 0 auto;
}
.form_btn input {
    width: 60%;
    border-radius: 10px;
    background-color: #36b48e;
    border: 1px solid #36b48e;
    color: #fff;
    padding: 10px 15px;
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
	margin: 0 auto;
	display: block;
}
.form_btn input:hover {
    background-color: #fff;
    color: #36b48e;
}
.privacy_confirm {
    text-align: center;
    margin: 0 auto 50px;
}
.privacy_confirm p {
    margin: 0;
}
.privacy_check {
    width: 13px;
    height: 13px;
    margin-right: 8px;
}

@media screen and (max-width: 480px) {  
    .contact_form tr {
        flex-direction: column;
    }   
    .contact_form th {
        text-align: center;
    }
    .contact_form th, .contact_form td, 
    .contact_form input[type="text"],
    .contact_form input[type="email"] {
        width: 100%;
    }
}



/*----------------------------------------
  ここから
----------------------------------------*/

html {
  font-size: 100%;
}
body {
  color: #333;
  font-family: "Zen Maru Gothic", sans-serif;
}
img {
  max-width: 100%;
	height: auto;
  vertical-align: bottom;
}
li {
  list-style: none;
}
a {
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  opacity: 0.7;
}
h2{
	font-size:24px;
	text-align: center;
	color: #8C5E2D;
    padding-bottom: 20px;
}
h3{
	font-weight:400;
	color: #333;
	font-size: 20px;
}
h4{
	text-align: center;
	padding-bottom: 10px;
	font-size: 18px;
}
p {
	line-height: 24px;
}
/* スマホの時だけ改行させるクラス */
.br-sp {
    display: none; /* PCでは非表示 */
}
@media (max-width: 600px) {
    .br-sp {
        display: block;
        content: "\A";
        white-space: pre;
    }
}
@media screen and (min-width: 1000px){
	.flex{
		display: flex;
		justify-content: space-between;
	}
	.img{
		margin: 0 auto 20px;
		display: block;
	}
}




/* Header */
#header .logo {
  width: 100%;
  max-width: 130px;
  position: fixed;
  top: 15px;
  left: 20px;
  z-index: 30;
}
#header .logo a {
  display: block;
}
#header .logo img {
  width: 100%;
}

@media screen and (max-width: 767px) {
	#header .logo {
    max-width: 100px;
    top: 23px;
  }
  #header .navi .menu-area .menu {
    flex-direction: column;
    padding: 20px;
  }
  #header .navi .menu-area .menu li {
    width: 100%;
    margin: 0;
  }
  #header .navi .menu-area .menu li::after {
    top: 30px;
  }
  #header .navi .menu-area .menu li:nth-child(-n+2) {
    border-top: none;
  }
  #header .navi .menu-area .menu li a {
    padding: 20px 0;
  }
  #header .navi .menu-area .btn {
    flex-direction: column;
    padding: 20px;
  }
  #header .navi .menu-area .btn li {
    width: 100%;
    margin: 0 0 20px;
  }
}
	

/* Mainvisual */
.image-wrapper {
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.first-vw {
  width: 100%;
  height: auto;
  display: block;
}

.schedule_box {
  position: absolute;
  left: 230px;
  transform: translateX(-50%);
  bottom: 40px;
  background-color: #fff;
  color: #333;
  padding: 20px 20px 10px;
  box-sizing: border-box;
  z-index: 10;
  display: flex;
  border-radius: 0 30px 30px 0;
  box-shadow: 5px 5px 0px #8C5E2D;
  width: 480px;
}
.schedule_time span {
  margin-right: 20px;
}
.schedule_box p{
	padding-right: 20px;
}
.mainvisual .info {
  position: absolute;
  top: 140px;
  right: 70px;
  background: #d2f5c0cf;
  padding: 0px 10px 5px;
  border-radius: 6px;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}
.info-add{
	color: #333;
	font-size: 14px;
}
.info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}
.font32{
	font-size: 32px;
}
.choushinki-icon{
	width: 30px;
    margin: 0 auto 0px;
    display: block;
}


@media(max-width:767px){
	.top-description{
		margin-top: 120px !important;
	}
	.choushinki-icon{
		margin-bottom:10px;
	}
  .image-wrapper {
    height: 90vh;
  }
	.schedule_box{
		display: block;
		width: 340px;
	}
	
  .mainvisual,
  .image-wrapper {
    height: auto !important;     /* 高さ固定を解除 */
    overflow: visible !important;/* 隠さずに見せる */
  }

  .first-vw {
    width: 100%;
    height: auto;   /* アスペクト比を維持して縮小 */
    display: block;
  }
	.schedule_box{
		width: 160px !important;
		border-radius:30px !important;
        left: auto !important;
        right: 10px !important;
        transform: none !important;
		bottom: -80px !important;
	}
	
	.page-eyecatch {
    width: 100%;
    height: 340px;
    overflow: hidden;
}

.page-eyecatch img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

	
	.info-add{
		display: none;
	}
	.font32{
	font-size: 20px;
}
	.mainvisual .info{
		right: 20px;
	}
}
@media screen and (max-width: 1300px){
	.mainvisual .info{
        top: 95px;
	}
}
.mv-text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 2.4rem;
  font-weight: bold;
  z-index: 1;
  text-align: center;
  width: 90%;
	line-height: 2;
}

/* PC */
.pc-text .line {
  writing-mode: vertical-rl;
  text-orientation: upright; 
  font-size: 28px;
  font-weight: bold;
}
.pc-text {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 5px;
  flex-direction: row-reverse;
}
@media(min-width:1031px){
.pc-text .line1 {
  margin-top: -120px;
}
.pc-text .line2 {
  margin-top: 100px;
}
.pc-text .line3 {
  margin-top: 320px;
}
}

@media(min-width:768px){
	.sp-text {
  display: none;
}
	.footer-tel-logo{
	margin-bottom: 5px;
	width: 18px;
	}
}
@media (max-width:1030px) and (min-width:768px){
.pc-text .line1 {
  margin-top: -100px;
}
.pc-text .line2 {
  margin-top: -20px;
}
.pc-text .line3 {
  margin-top: 80px;
}
	.pc-text .line{
		font-size: 22px;
	}
	.info-add{
		display: none;
	}
	.font32{
	font-size: 20px;
}
	.mainvisual .info{
		right: 20px;
	}
}


/* スマホ */
@media(max-width:767px) {
  .pc-text {
    display: none;
  }

  .sp-text {
    display: flex;
    flex-direction: row-reverse;
    gap: 40px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .sp-text .line {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 28px;
    font-weight: bold;
  }
  .sp-text .line1 {
    margin-top: -40px;
  }
  .sp-text .line2 {
    margin-top: 100px;
  }
  .sp-text .line3 {
    margin-top: 260px;
  }
	.sp-text .line{
		font-size: 26px;
	}
	.sp-text .line {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  text-shadow:
    0 0 4px rgba(148, 127, 89, 0.6),
    0 0 14px rgba(148, 127, 89, 0.4);
}
}


/* ブログのカテゴリページ　*/
.blog-category{
	margin-top: 200px;
}
.blog-category h1{
	text-align: center;
	color: #8c5e2d;
	padding-bottom: 40px;
}
.blog-category h2{
	text-align: left;
}
.blog-category article{
	padding: 20px 10px;
    border-bottom: 1px solid #37b594;
}

.blog-eyecatch img {
    height: 340px;               /* 高さ調整 */
    object-fit: cover;           /* はみ出してもOK */
    object-position: 60% center; /* 右寄せで院長優先表示 */
  }	


/* 固定ページタイトル */
.page-eyecatch {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.page-eyecatch img {
  width: 100%;
  height: auto; /* 画像が伸び縮みしないようにする */
  display: block;
}

.eyecatch-title {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #8C5E2D;
  font-size: 32px;
}
.page-content{
	margin-top: 80px;
}

@media screen and (max-width: 1330px){
	.eyecatch-title{
		font-size: 20px;
		width: 90%;
	}	
}
/* Fixed-btn */
#fixed-btn {
  width: 40px;
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10;
}

/* Footer */
#footer {
  background-color: #f2f9fd;
  padding: 0 20px 40px;
}
#footer .content {
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  border-radius: 30px;
  padding: 5%;
  margin: 0 auto 30px;
  position: relative;
  top: -60px;
}
#footer .content .info-area {
  width: 50%;
  font-size: 14px;
}
#footer .content .info-area .address {
  margin-bottom: 5px;
}
#footer .content .info-area .tel {
  margin-bottom: 30px;
}
#footer .content .info-area .menu {
  display: flex;
  flex-wrap: wrap;
}
#footer .content .info-area .menu li {
  width: 45%;
  border-bottom: dashed 1px #121212;
  position: relative;
  margin-right: 5%;
}
#footer .content .info-area .menu li::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: solid 1px #121212;
  border-right: solid 1px #121212;
  transform: rotate(45deg);
  position: absolute;
  top: 20px;
  right: 10px;
}
#footer .content .info-area .menu li:nth-child(-n+2) {
  border-top: dashed 1px #121212;
}
#footer .content .info-area .menu li a {
  display: block;
  padding: 12px 0;
}
#footer .content .btn-area {
  width: 45%;
  max-width: 380px;
  margin-left: 5%;
}
#footer .content .btn-area .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffef00;
  border-radius: 20px;
  font-weight: bold;
  padding: 25px 0;
}
#footer .content .btn-area .btn:first-child {
  margin-bottom: 20px;
}
#footer .content .btn-area .btn .arrow {
  width: 20px;
  margin-right: 10px;
}
#footer .copyright {
  font-size: 10px;
  text-align: center;
}

/*-------------------------------------------
スマートフォン
-------------------------------------------*/
@media screen and (max-width: 767px) {


  /*-------------------------------------------
  Bottom-img
  -------------------------------------------*/
  .bottom-img img {
    height: 300px;
  }

  /*-------------------------------------------
  Fixed-btn
  -------------------------------------------*/
  #fixed-btn {
    width: 40px;
    bottom: 10px;
    right: 10px;
  }

  /*-------------------------------------------
  Footer
  -------------------------------------------*/
  #footer .content {
    flex-direction: column;
    padding: 40px 20px;
    margin: 0 auto;
  }
  #footer .content .info-area {
    width: 100%;
    margin-bottom: 30px;
  }
  #footer .content .btn-area {
    width: 100%;
    margin: 0 auto;
  }
}


/* カレンダー */
.calendar h2{
	display: none;
}
.wpsbc-container .wpsbc-calendars .wpsbc-calendar .wpsbc-calendar-header{
	background: #37B594 !important;
	border-radius: 8px 8px 0 0;
}
.wpsbc-container .wpsbc-calendars .wpsbc-calendar .wpsbc-calendar-header .wpsbc-calendar-header-navigation .wpsbc-next, .wpsbc-container .wpsbc-calendars .wpsbc-calendar .wpsbc-calendar-header .wpsbc-calendar-header-navigation .wpsbc-prev{
	background: #37B594 !important;
}
.wpsbc-container .wpsbc-calendars .wpsbc-calendar .wpsbc-calendar-header .wpsbc-select-container select{
	border: none !important;
	color: #fff !important;
	font-size: 16px !important;
}
.wpsbc-container .wpsbc-calendars .wpsbc-calendar{
	border: 2px solid #36b48e !important;
	border-radius: 10px;
}
.wpsbc-container.wpsbc-calendar-3 .wpsbc-legend-item-icon-12 div:first-of-type {
    background-color: #e2e2e2 !important;
}






/* トップ */
.orange{
	color: #FB6F45;
}
.green{
	color: #37B594;
}
.small{
	font-size: 16px;
}
.top-description{
	text-align: center;
    background-color: #D2F5C0;
	background-image: url(img/back-logo.png);
    background-position: bottom right;
	padding: 40px 10px;
	max-width: 850px;
	margin: 80px auto 40px;
	border-radius: 10px;
}
.font28{
	font-size: 28px;
	font-weight: 600;
	line-height: 36px;
}
.font20{
	font-size: 20px;
	line-height: 28px;
}
.top-description .font20{
	padding-top: 20px;
	padding-bottom: 20px;
}

.custom-phone,
.custom-phone a {
  color: #333 !important;
	text-align: center;
}
.home-news{
	background-color: #D2F5C0;
	padding: 40px 10px;
	margin: 40px auto;
	border-radius: 10px;
}
.home-news h2{
	padding-bottom: 40px;
}
h2{
	text-align: center;
}
.home-news h2{
	color: #fff;
	text-align: center;
}

.eng{
	font-size:14px;
}
.news-category{
	color: #37b594;
    background-color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    margin-left: 10px
}
.news-title{
	color: #8c5e2d;
	margin-bottom: 0;
}
.button{
	color: #fff;
    background-color: #37b594;
    padding: 8px 14px;
    border-radius: 20px;
    margin-left: 10px;
}
.btn{
	text-align: right;
}
@media screen and (min-width: 1000px){
.flex {
    display: flex;
    gap: 80px;
}
.flex-box {
    flex: 1;
}
	}
.wpsbc-container .wpsbc-calendars-wrapper {
    max-width: 380px;
    margin: 0 auto;
}
.timetable{
	max-width: 600px;
    width: 100%;
	margin: auto;
	display: block;
}
.timetable-dtl{
	padding-top: 20px;
	max-width: 400px;
	width: 100%;
	margin: auto;
    display: block;
}
.monshinhyou{
	width: 200px;
    padding-top: 20px;
}
@media screen and (min-width: 1301px){
.flex-2{
	display: flex;
    gap: 20px; /* ボックス間の隙間 */
	justify-content: center;
}
	}
@media screen and (max-width: 1300px){
	.monshinhyou{
		display: block;
		margin: 0 auto;
	}
}
.calender-time{
	margin: 40px 0;
}

/* インスタグラム */
.instagram{
	margin-bottom: 40px;
}
.instagram-feed{
	padding: 40px 20px;
	background-color: #f5fef1;;
}
/* ポイント */	
.feature-item {
  max-width: 90%;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  margin: 10px auto 10px auto;
}
.feature-item .whis {
  display: block;
  font-size: 80px;
  color: #fff;
  margin-right: 40px;
  font-family: "Whisper", cursive;
  font-weight: 400;
  font-style: normal;
  flex-shrink: 0;
  width: 80px;
}
@media (min-width: 768px) {
  .feature-item {
    flex-wrap: nowrap;
  }
  .feature-item .whis {
    margin-bottom: 0;
  }
}
@media (max-width: 767px) {
  .feature-item .whis {
    font-size: 60px;
	  margin-top: 5px;
	  text-align: center;
	  margin: auto;
  }
	.feature-item{
		max-width: 100%;
		flex-direction: column;
	}
	.feature-item .text-wrap h3{
		text-align: center;
	}
}

.feature-item .text-wrap {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  flex: 1;
}

/* h3 と p の余白調整 */
.feature-item .text-wrap h3,
.feature-item .text-wrap p {
  margin: 0 0 10px 0;
  padding: 0;
}

.point {
  background-color: #D2F5C0;
  padding: 40px 20px;
  margin-bottom: 40px;
}

/* 文字縦並び */
.point, .services-f{
	display: flex;
	justify-content: flex-end;
}
.section-title-v{
	letter-spacing: 0.1em;
	writing-mode: vertical-rl;
	display: flex;
    gap: 10px;
	margin-left: 20px;
	flex-direction: row-reverse;
    justify-content: flex-end;
}
.section-title-v .en{
	color: #37B594;
	font-size: 14px;
	align-self: flex-end;
}
.img{
	align-self: center;
}
@media(max-width: 1000px){
	.section-title-v{
		margin-bottom: 20px;
		writing-mode: horizontal-tb;
		display: block;
	}
	.section-title-v .en{
		
	}
	.point{
		flex-direction:column-reverse;
	}
	.services-f{
		display: block;
	}
	.img{
		margin: 0 auto 20px;
	}
	    .services .img {
        margin: 0 auto 20px;
        display: block;
        max-width: 600px;
    }
}
/*　診療科目　*/
.brown{
	color: #8C5E2D;
}
.services h3{
	text-align: center;
}
.services {
  padding: 40px 0px;
  margin-bottom: 40px;
}
.services h3{
	margin-bottom: 20px;
}
.services .section-title-v{
	margin-left: 0;
	margin-right: 20px;
}
.check{
	width: 20px;
}
.services ul {
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
	max-width: 600px;
    margin: auto;
}
.services ul li{
	text-align: center;
	background-color: #fff;
	padding: 5px;
	width: 165px;
	border-radius: 10px;
}
.shoujou{
	background-color: #DDC59A;
	padding: 40px 20px;
    border-radius: 10px;
	margin-top: 20px;
}
.shoujou h4{
	text-align: center;
    margin-bottom: 20px;
}
.services li {
  position: relative;
  text-align: center;
  padding-right: 30px;
  list-style: none;
  line-height: 1.5;
}

.services li .check {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: auto;
}
.font14{
	font-size: 14px;
}
.btn-arrow{
    width: 24px;
    vertical-align: middle;
    padding-left: 5px;
}
.shousai-btn {
	display: flex;
    margin: 20px 0;
    justify-content: flex-end;
}
.border{
  border-bottom: 1px dashed #8C5E2D;
  margin: 40px 0;
}
.services ul.kenshin li {
    width: 100%;
	padding: 20px 5px 5px;
}
.services ul.kenshin img.check {
    display: block;
    margin: 5px 0 0 auto;
	position: static !important;
}
.services ul.kenshin li {
    position: relative;
}
.red{
	color: #FF0000;
}
.border-sp{
  display: none;
}
.services-disease_attention{
	padding-top: 10px;
	max-width: 500px;
    margin: 0 auto;
    display: block;
	width: 100%;
}
.services-disease_comment{
	width: 180px;
}
.shousai-btn-others{
	margin: 20px 0 20px;
}
.font30{
	font-size: 30px;
}
.top-qa{
	background-image: url('img/top-qa-bg.png');
	background-size: cover;
	background-position: center bottom;
	padding: 40px 20px;
}
.qa-box{
	margin-top: 20px;
}
.qa-q, .qa-a{
	padding: 10px 20px;
	border-radius: 30px;
	background-color: #fff;
	margin-top: 10px;
	margin-bottom: 10px;
}
.top-qa.flex{
	gap: 10px;
}
.qa-q, .qa-a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-qa .btn{
	margin-top: 40px;
    margin-bottom: 40px;
}
.top-qa{
	margin-bottom: 40px;
}
.top-access-bg{
	background-color: #DDC59A;
	color: #fff;
	padding: 40px 20px;
    border-radius:10px;
	font-size: 18px;
	margin-bottom: 40px;
}
.top-add-tel{
	margin-top: 20px;
}
.tel-fax a{
	color: #fff !important;
	font-size: 18px;
}
.top-add-tel{
		display: block;
    justify-content: space-between;
	}

.bottom-map {
  max-width: 600px;
  margin: 0 auto;
  padding: 0;
}


.bottom-map iframe {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: 10px;
  display: block;
}

@media screen and (min-width: 768px){
.flex.reverse{
		flex-direction: row-reverse;
}
}
@media (max-width: 767px){
	.border-sp{
  border-bottom: 1px dashed #8C5E2D;
  margin: 40px 0;
  display: block;
}
	.tel-fax{
		margin-top: 10px;
	}	
}
@media (min-width: 1250px) {
    .services-disease_comment {
        display: none;
    }
    .text.flex-box.lifestyle-d {
	background-image: url('img/services-disease-comment.png');
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 180px;
    min-height: 250px;
}
}
@media screen and (max-width: 1060px) {
.shousai-btn {
	text-align: right;
    margin: 10px 0 10px;
	display: block;
}
	.shousai-btn p{
		padding-bottom: 14px;
	}
	.shousai-btn-others{
	margin: 20px 0 20px;
}
	}

@media screen and (min-width: 1200px){
.top-add-tel{
		display: flex;
    justify-content: space-between;
	}
	}



/*-------------------------------------------
 固定ページ用css
  -------------------------------------------*/

/* 内科ページの追加CSS */

p.my-padding {
  margin: 0 !important;          /* デフォルトマージンを消す */
  box-sizing: border-box !important;
  display: block !important;
	padding-bottom: 80px;/* pタグに確実にブロック表示 */
}

p.green-text-padding {
  padding: 0px 0px 80px 0px !important;      /* 上下左右 */
  margin: 0 !important;          /* デフォルトマージンを消す */
  box-sizing: border-box !important;
  display: center !important;      /* pタグに確実にブロック表示 */
}

.rounded-text-bg {
    
    padding: 20px 20px 20px 28px;               /* 内側の余白 */
    border-radius: 10px;         /* 角丸の大きさ */
}

.text-red {
    color: #ff0000;
} /* 発熱の文字色*/

.double-line {
    line-height: 2;
} /* テキストの行間2 */


/* 循環器内科ページの追加CSS */


.block-media-text-line {
  line-height: 1.5 !important;
	padding-bottom: 20px;
} /* メディアとテキストの行間 */


/* メディアとテキストの画像を H3 の高さに揃える */
/* H3 と画像の上端を揃える */
.my-media-h3 {
  align-items: flex-start !important;
	margin-bottom: 60px !important;
}

.my-media-h3 .wp-block-media-text__media,
.my-media-h3 .wp-block-media-text__content {
  align-self: flex-start !important;
}

.my-media-h3 .wp-block-media-text__media {
  margin-top: 5em; /* H3 の高さ分だけ下げる（数値は調整） */
}


/* 上下に余白を追加 */
.my-media-h3 {
  margin-top: 24px !important;
}
@media(max-width:600px){
	.wp-block-media-text > .wp-block-media-text__content {
    padding: unset !important;
}
	.rounded-text-bg{
padding: 0;
	}
}



/* 生活習慣病ページの追加CSS */

.lifestyle-padding {
    padding: 0px; /* 上下左右 30px */
}


hr.thin-separator {
　background: none !important;      /* 背景色を消す */
  border: none;                      /* デフォルトの border を消す */
  border-top: 1px dashed #37b594;   /* 点線に設定 */
  height: 0;                         /* 高さをリセット */
  margin: 60px 0;                     /* 上下の余白調整 */
}

.tight-title {
    background-color: #D2F5C0; /* 背景色を指定 */
	  margin : 8px 0px !important;
	  padding: 8px 10px !important;       /* 上下4px、左右8pxの余白に調整 */
	  border-radius: 5px !important;     /* 角丸を付けたい場合 */ 
}

/* メディアとテキストの画像とテキストを上揃えにする */
.align-top-media-text .wp-block-media-text__content {
    align-items: start; /* 上揃え */
　　padding-left: 0px;
    margin: 0;
    text-align: left;
}

/* メディアとテキストブロック全体にパディング */
.my-media-text-right .wp-block-media-text__content {
    padding-top: 30px; /* 上だけ余白を追加 */
	  padding-left: 0px;
	  margin-left: 0px; /* 画像との間に余白を作る */
}

/* メディアとテキストブロック全体にパディング */
.my-media-text-left .wp-block-media-text__content {
    padding-top: 30px; /* 上だけ余白を追加 */  padding-right: 0px;
	  margin-left: 0px; /* 画像との間に余白を作る */
}

.icon-text {
  padding-left: 8px; 
	padding-bottom: 20px;/* アイコンとテキストの間隔 */
}
:where(.wp-block-columns.is-layout-flex) {
  gap: 0 !important;
	max-width: 900px;
	margin: 0 auto;
}
.wp-block-buttons>.wp-block-button{
	width: 300px;
}
.qa-q.border, .qa-a.border {
  border-bottom: 1px solid #37B594;
  margin-bottom: 10px;
	border-radius: 0px;
}
.qa-btn-padding{
	margin-top: 26px !important;
}
.bg-img-width img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.qa .wp-block-button__link{
	margin: 0;
}
@media (min-width: 768px){
	.qa-btn{
		padding-bottom: 0;
	}
}

/* 健康診断ページの追加CSS */


.wp-block-buttons {
  display: flex !important;
  justify-content: center !important; /* 強制的に中央 */
}

.wp-block-button {
  margin: 0 auto !important; /* ブロックを中央寄せ */
}



.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px; 
  color: #fff; 
  text-decoration: none;
	margin : 40px 40px 40px 0px; 
}



/* アイコンのサイズと余白 */
.wp-block-button__link .button-icon {
  width: 32px;
  height: 32px;
	margin-top : 8px;
  margin-right: 8px; /* テキストとの間隔 */
}


.health-check-title {
	padding-top : 120px;
}


/* 表全体 */
.wp-block-table.health-check table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;

}

/* 角だけ丸くする */
.wp-block-table.health-check.circle tr:first-child td:first-child {
  border-top-left-radius: 12px;
}
.wp-block-table.health-check.circle tr:first-child td:last-child {
  border-top-right-radius: 12px;
}
.wp-block-table.health-check.circle tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}
.wp-block-table.health-check.circle tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

/* ヘッダー行 */
.wp-block-table.health-check tr:first-child td {
  background-color: #37B594;
  color: #fff;
  text-align: center;
  padding: 20px;
	font-size : 1.3em ;
}

/* 全セル中央寄せ */
.wp-block-table.health-check td {
  text-align: center;
  vertical-align: middle;
  border: 1px solid #37B594;
  padding: 10px 0;
  position: relative;
}
.wp-block-table td, .wp-block-table th{
padding: 0
}

/* 採血なし列 丸アイコン */
.wp-block-table.health-check tr:nth-child(2) td:nth-child(3),
.wp-block-table.health-check tr:nth-child(3) td:nth-child(3),
.wp-block-table.health-check tr:nth-child(4) td:nth-child(3) {
  position: relative;
}

.wp-block-table.health-check tr:nth-child(2) td:nth-child(3)::before,
.wp-block-table.health-check tr:nth-child(3) td:nth-child(3)::before,
.wp-block-table.health-check tr:nth-child(4) td:nth-child(3)::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: #d4b58f;
  border-radius: 50%;
}

/* 採血なし列 斜線 5〜9行目 */
.wp-block-table.health-check tr:nth-child(n+5):nth-child(-n+10) td:nth-child(3)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(-45deg, #ccc, #ccc 1px, transparent 1px, transparent 4px);
  transform-origin: center;
}

/* 採血あり列 丸アイコン 2〜9行目 */
.wp-block-table.health-check tr:nth-child(n+2):nth-child(-n+10) td:nth-child(4)::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: #d4b58f;
  border-radius: 50%;
}

/* 検査内容列（2列目）の2～10行目を左寄せ */
.wp-block-table.health-check tr:nth-child(n+2):nth-child(-n+10) td:nth-child(2) {
  text-align: left;
  padding-left: 8px; /* 少し内側に余白 */
}

/* 最下行だけ角丸適用 */
.wp-block-table.health-check.circle tr.footer-row td:first-child {
  border-bottom-left-radius: 12px;
}
.wp-block-table.health-check.circle tr.footer-row td:last-child {
  border-bottom-right-radius: 12px;
}


/* 特定検診のお知らせ */
.health-check-announce {
	padding: 40px ;
	margin :100px auto ;
	max-width: 900px;
}

/* 特定検診の余白調整 */
.wp-block-group.health-check-announce h2 {
  margin-bottom: 20px; 
}








@media (max-width: 600px) {
	.wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__content, .rounded-text-bg, {
		padding-left: 0;
		padding-right: 0;
	}
}
@media (min-width: 900px){
	p.my-padding {
	padding: 0px 200px 80px 200px !important;      /* 上下左右 */
}
}




/*-------------------------------------------
 自由診療css
  -------------------------------------------*/

/* === フォント読み込みは必ず先頭にまとめる === */
@import url('https://fonts.googleapis.com/css2?family=Tangerine&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond&family=Shippori+Mincho&family=Tangerine&display=swap');

/* 自由診療内服薬ページ飾り文字だけ適用 */
.decorative {
  font-family: 'Tangerine', cursive;
  padding-top: 6px;
  line-height: 0.8;
}

/* 自由診療内服薬ページ全体に Shippori Mincho を適用 */
.page-id-670 {
  font-family: 'Shippori Mincho', serif;
  max-width: 1120px !important;
	margin: 0 auto !important; /* 中央寄せ */
	width: 100%; 	
}



/* 自由診療内服薬ページの追加CSS */



/* free-point のカードスタイル */
.free-point {
  border-radius: 10px;     /* 角丸 */
  margin: 12px 0;          /* 上下の間隔（任意） */
  box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* ほんのり影（任意） */
}

.wp-block-group .page-id-670 { 
	max-width: 1120px !important;
  　margin: 0 auto !important; /* 中央寄せ */
  　width: 100%; 
}

.page-id-670 .p {
    padding-top : 20px ; 
}

p.double-top {
  padding-top: 40px;  /* 上だけ余白を2倍 */
}

p.pt-1_5 {
  padding-top: 30px;   /* 上だけ1.5倍の余白 */
}

ul.free-point li {
  list-style-type: disc !important;   /* ●ポチ */
  list-style-position: outside !important; /* 外側に配置 */
  margin-left: 1.5em;   /* 左に余白を確保 */
}


ul.free-point {
  list-style-type: disc !important;
  list-style-position: outside;
  padding: 1em 1.5em;   /* 内側の余白を調整 */
  background-color: #d2f5c0;
  border-radius: 8px;   /* 箱の角丸（お好みで） */
  display: inline-block; /* テキスト幅に合わせる！ */
}

.free-point {
	margin-left :20px ;
}


.wp-block-columns.free-heading {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding-top: 100px;
    padding-bottom: 10px;
    justify-content: center !important;
    flex-wrap: wrap;
	margin-bottom: 0;
}

.wp-block-columns.free-heading > .wp-block-column {
    flex: 0 0 auto;
}
@media(min-width:768px){
.wp-block-columns.free-heading {
    padding-left: 70px;
}
}

/* ロゴ */
.wp-block-columns.free-heading .wp-block-column:first-child img,
#header-logo img {
  width: 40px !important;
  height: auto !important;
  display: block !important;
}

/* 右カラムを左寄せ */
.wp-block-columns.free-heading .wp-block-column.title-wrapper {
  display: flex !important;
  justify-content: flex-start !important; /* 左寄せ */
}

/* タイトル＋副題をまとめる内側ブロックを文字幅にフィット */
.wp-block-columns.free-heading .title-wrapper .wp-block-group.title-wrapper {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;      /* 副題をタイトル幅中央に */
  text-align: center !important;
  width: max-content !important;
  margin: 0 !important;
}

/* メインタイトル */
.wp-block-columns.free-heading .title-wrapper .wp-block-group.title-wrapper .title-text {
  display: inline-block !important;
  text-align: center !important;
  margin: 0 auto !important;
}

/* 副題 */
.wp-block-columns.free-heading .title-wrapper .wp-block-group.title-wrapper .decorative-subtitle {
  display: inline-block !important;
  text-align: center !important;
  margin: -5px 0 0 0 !important;
  font-family: 'Tangerine', cursive !important;
  font-size: 16px !important;
}

.price-list-title {
    margin-bottom: 2px; /* タイトルとサブタイトルの間を詰める */
}

/* 左寄せ強制クラスを打ち消す */
.wp-block-columns.free-heading .decorative-subtitle.has-text-align-left {
  text-align: center !important;
}


/* 料金一覧表のタイトル余白調整 */
.price-list-title {
	padding-top: 150px !important;
	padding-bottom : 20px !important;
}


.free-box  {
	max-width: 1120px!important;
	margin: 0px auto ;       /* 、左右自動で中央寄せ */
	padding: 20px 36px 2px 36px;            /* 内側の余白 */
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	backdrop-filter: blur(10px); /* 背景ぼかし */
  -webkit-backdrop-filter: blur(10px); /* Safari対応 */
  z-index: 0;

}

.item {
	margin-top:35px; 
}

.free-text  {
	max-width: 900px; 
	margin: 20px auto 0 auto;         /* 中央寄せ。上下余白は20 */
  padding: 0;   

}


.white-box {
  max-width: 900px;         /* ボックスの最大幅（好みに応じて調整） */
  margin: 20px auto 30px auto;        /* 上下20px、左右自動で中央寄せ */
  padding: 10px 40px;            /* 内側の余白 */
  border-radius: 5px;       /* 角丸 */
  background: #fff;         /* 念のため白背景を指定 */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  box-sizing: border-box;   /* padding を含めて幅計算 
} 

.white-box .wp-block-columns {
  padding: 20px !important;   /* 上下に20px余白（好みに応じて調整） */
}

.white-box hr {
	border-bottom: 1px solid !important; /* 区切り線（1px） */
    margin: 0;         /* 区切り線の余白をリセット */
}

.wp-block-separator {
    border: none;           /* デフォルトのボーダーを消す */
    height: 1px;            /* 線の太さを1pxに */
    background-color: #616161; /* 好きな色 */
    margin: 0;         /* 上下の余白調整 */
}

/* 親コンテナ：横並び＋折り返し */
.text-icon-container > .wp-block-group__inner-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px 0px !important; /* 行間・列間の間隔 */
}

.white-box.vitamin,
.white-box.vitamin .wp-block-group__inner-container {
  max-width: 800px;  /* 好きな幅に調整 */
  margin: 0 auto !important;    /* 中央寄せ */
	padding: 10px !important; /* 上下左右の余白を狭く */
	line-height: 32px;/* 行間 */
}

/* 各アイコンテキストブロック */
.text-icon {
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
  flex: 0 1 auto !important;  /* 横幅に応じて縮む */
  white-space: normal !important; /* nowrap を打ち消す */
}

.recommend .wp-block-group__inner-container {
    background-color: transparent !important;
}

.wp-block-group__inner-container {
  background: transparent !important; /* 外側の背景は透明 */
}

.recommend {
	max-width: 900px;         /* ボックスの最大幅（好みに応じて調整） *//
	background: #fff;  /* 外側は透過 */
  margin: 20px auto 30px auto;        /* 上下20px、左右自動で中央寄せ */
  padding: 10px 5px 10px 40px;            /* 内側の余白 */
  border-radius: 5px;       /* 角丸 */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  box-sizing: border-box;   /* padding を含めて幅計算 */
}

/* 表の左右外側の縦線だけ消す */

.table {
  border-collapse: collapse; /* 枠線を重ねて表示 */
}

/* セル全体の線 */
.table th,
.table td {
  border: 1px solid #616161; /* 内側の線 */
}

/* 左右端の縦線を消す */
.table tr th:first-child,
.table tr td:first-child {
  border-left: none;  /* 左端の線を消す */
}

.table tr th:last-child,
.table tr td:last-child {
  border-right: none; /* 右端の線も消す */
}

/* 左右セルの幅を7：3 */
.table td:first-child {
  width: 70%;
}
.table td:last-child {
  width: 30%;
}

/* 表の下の赤字余白調整 */

.free-attention {
	padding : 0px 100px 60px auto !important; /* 表の下の赤字余白調整 */
	margin-bottom : 20px ;
	margin-right :74px ;
}

.price-list {
	padding :40px;
	margin: 20px auto 5px auto;
}

.table-title {
	margin-bottom : 5px;
}
.health-ckeck .wp-block-button__link{
	padding: 10px 20px;
}
.access-location p {
    width: 250px !important;
    margin: 0 auto !important;
    display: block;
}
.access-columns {
  gap: 80px !important;
}
.access-columns:where(.wp-block-columns.is-layout-flex) {
  max-width: none !important;
}
.access-clinichours{
  max-width: 650px;
  margin: 0 auto !important;
}
@media (max-width: 767px) {
  .white-box {
    padding: 10px;
  }
  .free-box {
    padding-left: 10px;
    padding-right: 10px;
  }
  .free-point {
    margin-left: 0;
  }
  .health-check-announce {
    padding: 40px 20px;
  }
  .decorative {
    font-size: 40px !important;
  }
  .wp-block-columns.free-heading {
    padding-top: 60px;
	  margin-bottom: 0;
  }
  .recommend {
    padding: 10px !important;
  }
}



/* 院長紹介 */
.doctor__greeting {
position: relative;
}

.doctor__greeting_wrap {
margin: 0 5% 2%;

@media screen and (min-width: 768px) {
margin: 0 10% 2%;
}
@media screen and (min-width: 1396px) {
position: absolute;
top: 29px;
left: 32px;
width: 40%;

}
}

.doctor__greeting_ttl {
margin-bottom: 4%;
font-size: 27px;
color: #8C5E2D;
@media screen and (min-width: 1396px) {
margin-bottom: 12px;
}

}

.doctor__greeting_ttlspan {
display: block;
font-size: 14px;
color: #37B594;
}



.doctor__greeting_txt {
margin-bottom: 4%;
line-height: 2;
@media screen and (min-width: 1396px) {
margin-bottom: 15px;
}

}


.doctor__greeting_txtspan {
display: block;
color: #11A17B;
line-height: 2;
}

.doctor__greeting_name {
margin-bottom: 5%;
}

.doctor__greeting_img {
  height: 600px;
  object-fit: contain;
  display: none;
}

.doctor__greeting_img02 {
  width: 100%;
  height: auto;
  display: block;
}

.whis{
	font-family: "Whisper", cursive;
}






.director-kodawari3{
	padding: 40px 20px;
	border-radius: 10px;
}
.director-kodawari{
	padding: 40px 20px;
	border-radius: 10px;
	    max-width: 1100px;
	margin: auto;
}
.history-list{
	margin-bottom: 5px;
}
.history{
	padding: 40px 20px;
	max-width: 700px;
	margin: auto;
	border-radius: 10px;
}
.license{
	padding: 40px 20px;
	max-width: 520px;
	margin: auto;
	border-radius: 10px;
}
.license .wp-block-list li {
    list-style: disc inside !important;
	list-style-position: outside !important; /* マーカーは左端に固定 */
    padding-left: 1.5em;
}
.license .wp-block-list li::marker {
    content: '•';
    margin-left: 20px;
}
.director-gap.wp-block-columns {
    gap: 40px !important;
}
/* 施設案内 */



.facility-item {
  display: inline-block;   /* 複数並べたい時 */
  margin: 0 10px 20px;     /* 画像間の余白 */
  text-align: center;
}

.facility-item img {
  display: block;
  max-width: 100%;
	overflow: hidden; /* シャドウをきれいに保つ */
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25); /* ←ドロップシャドウ */
}

.facility-item figcaption {
  background-color: #D2F5C0; /* 緑背景 */
  color: #000;               /* 黒文字 */
  padding: 6px 10px;
  font-size: 16px;
	overflow: hidden; /* シャドウをきれいに保つ */
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25); /* ←ドロップシャドウ */
}

.wp-block-image figcaption {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.facility .wp-block-columns{
	gap: 20px !important;
}
.access .wp-block-image .alignleft{
	margin: 0;
}









@media(max-width: 767px){
	.director-kodawari > .wp-block-column:nth-child(1) {
		padding-bottom: 40px;
	}
}


@media screen and (min-width: 1396px) {
  .doctor__greeting_pic {
    margin: 0 15% 0 38%;
  }

  .doctor__greeting_img {
    display: block;
  }

  .doctor__greeting_img02 {
    display: none;
  }
	.director .wp-block-button__link{
		margin-top: 0;
	}
	.director .wp-block-button.director-intvw .wp-block-button__link {
    margin-top: 20px;
}
}


/*-------------------------------------------
 自由診療　点滴
  -------------------------------------------*/
.drip {
   color: #616161
}

.drip {
   font-family: "Sawarabi Mincho", serif
}
.drip .eyecatch-title{
	color: #fff;
}


.drip__ttl {
   position: relative;
   text-align: center;
   color: #fff;
   font-size: 25px;
   text-shadow: 4px 4px 5px #5b5b5b
}

@media screen and (min-width: 1024px) {
   .drip__ttl {
       font-size: 40px
   }
}

.drip__span {
   display: block;
   font-size: 20px;
   font-family: "Tangerine", cursive;
   text-shadow: 4px 4px 5px #000
}

@media screen and (min-width: 1024px) {
   .drip__span {
       font-size: 22px
   }
}


.drip__first {
   margin: 0 10px 48px;
   text-align: center;
   color: #e9820b;
   font-size: 16px;
   line-height: 2
}

@media screen and (min-width: 1024px) {
  .drip__first {
       font-size: 18px
   }
}

.drip__about {
   margin: 0 10px 20%
}

@media screen and (min-width: 1024px) {
  .drip__about {
       margin: 0 26% 178px
   }
}

.drip__about_ttl {
   margin-bottom: 58px;
   font-size: 20px;
   font-weight: normal
}

@media screen and (min-width: 1024px) {
   .drip__about_ttl {
       font-size: 27px
   }
}

.drip__about_txt {
   line-height: 2
}

.drip__about_span {
   display: block;
   font-size: 20px;
   font-family: "Tangerine", cursive;
   color: #af9dc0
}

@media screen and (min-width: 1024px) {
   .drip__about_span {
       font-size: 22px
   }
}

.drip__point {
   position: relative;
   margin-bottom: 12%;
   padding: 32px 10px;
   background-color: #fffb93
}

@media screen and (min-width: 768px) {
   .drip__point {
       padding: 32px 5%
   }
}

.drip__point_ttl {
   margin-bottom: 24px;
   font-size: 20px;
   font-weight: normal;
   border-bottom: 2px solid #fff;
   overflow: hidden
}

@media screen and (min-width: 1024px) {
   .drip__point_ttl {
       margin-bottom: 5%;
       font-size: 27px
   }
}

@media screen and (min-width: 768px) {
   .drip__point_container {
       display: flex;
       gap: 5%
   }
}

@media screen and (min-width: 1682px) {
   .drip__point_container {
       gap: 0
   }
}

.drip__point_pic01 {
   width: 70%;
   margin: 0 auto;
   margin-bottom: 5%;
}

@media screen and (min-width: 768px) {
   .drip__point_pic01 {
       transform: translateY(-172px)
   }
}

@media screen and (min-width: 1024px) {
   .drip__point_pic01 {
       transform: translateY(-234px)
   }
}

.drip__point_pic02 {
   width: 70%;
   margin: 0 auto;
   margin-bottom: 5%
}

@media screen and (min-width: 768px) {
   .drip__point_pic02 {
       transform: translateY(415px)
   }
}

@media screen and (min-width: 1024px) {
   .drip__point_pic02 {
       transform: translateY(234px)
   }
}

.drip__point_img {
   display: block;
   margin: 0 auto;
}

.drip__point_check {
   display: inline-block;
   margin-left: 10px;
	width: 20px;
}

.drip__point_number {
   font-family: "Tangerine", cursive;
   font-size: 80px;
   color: #fff;
   font-weight: bold;
}

.drip__point_li {
   display: flex;
   align-items: flex-start;
   gap: 8%;
   margin-bottom: 10%;
}

@media screen and (min-width: 1024px) {
   .drip__point_li {
       margin-bottom: 10px;
   }
}

.drip__point_li:nth-of-type(1),
.drip__point_li:nth-of-type(2) {
   margin-bottom: 10%
}

@media screen and (min-width: 1024px) {

  .drip__point_li:nth-of-type(1),
  .drip__point_li:nth-of-type(2) {
       margin-bottom: 10%;
   }
}

.drip__point_point {
   display: flex;
   align-items: center;
   margin-bottom: 7px;
   font-size: 18px
}

@media screen and (min-width: 1024px) {
  .drip__point_point {
       font-size: 24px;
		   line-height: 34px;
   }
}



@media screen and (min-width: 768px) {
   .drip__wrap {
       margin: 0 10%
   }
}

.drip__ttlbox {
   display: flex;
   text-align: center;
   justify-content: center
}

.drip__h2ttl {
   position: relative;
   margin-bottom: 10px;
   font-size: 20px;
   font-weight: normal
}

@media screen and (min-width: 1024px) {
  .drip__h2ttl {
       font-size: 27px
   }
}

.drip__span_mini {
   display: block;
   font-size: 14px;
   font-family: "Tangerine", cursive;
   color: #af9dc0
}

@media screen and (min-width: 1024px) {
   .drip__span_mini {
       font-size: 16px
   }
}

.drip__detail_box {
   padding: 3% 2%;
   background-color: #fff;
   border-radius: 10px;
   line-height: 2
}

.drip__detail_box:nth-of-type(1) {
   margin-bottom: 5%
}

.drip__detail_dtdd:nth-of-type(1),
.drip__detail_dtdd:nth-of-type(2) {
   border-bottom: 1px solid #616161
}

@media screen and (min-width: 1024px) {
.drip__detail_dtdd {
       display: flex;
       justify-content: center;
       align-items: center;
       padding: 5px 0;
       width: 100%
   }
}

@media screen and (min-width: 1024px) {
 .drip__detail_dt {
       width: 25%
   }
}

.drip__detail_ddbox,
.drip__detail_dd:nth-of-type(1),
.drip__detail_dd:nth-of-type(5) {
   width: 75%
}

@media screen and (min-width: 1024px) {
.drip__detail_box:nth-of-type(2) {
       display: flex;
       align-items: center
   }
}

.drip__recommend_recbox {
   padding: 3% 2%;
   background-color: #fff;
   border-radius: 10px;
   line-height: 2
}

@media screen and (min-width: 1024px) {
.drip__recommend_recbox {
       display: flex;
       align-items: center;
       gap: 40px;
       flex-wrap: wrap
   }
}

.drip__recommend_ul {
   display: flex;
   flex-wrap: wrap;
   gap: 20px;
   list-style: none;
   padding: 0;
   margin: 0;
   flex: 1
}

#top .drip__recommend_item {
   display: flex;
   align-items: center;
   gap: 8px
}

.drip__checkmark {
   display: inline-block;
   z-index: 10
}

.drip__highvc {
   position: relative;
   margin-bottom: 12%;
   width: 100%
}

.drip__highvc_wrap {
   position: relative;
   padding: 5%;
   border-radius: 10px;
   background: linear-gradient(-65deg, #FEAE84 17%, #FFFCA7 100%)
}

@media screen and (min-width: 768px) {
   .drip__highvc_wrap {
       padding-bottom: 15%;
	   z-index:1;
   }
}

.drip__highvc_wrap::before {
   content: "";
   background-image: url("img/crown-recommend.png");
   background-repeat: no-repeat;
   position: absolute;
   top: -143px;
   left: -134px;
   background-size: contain
}

@media screen and (min-width: 768px) {
   .drip__highvc_wrap::before {
       top: -61px;
       left: -58px;
       width: 25%;
       height: 25%
   }
}

@media screen and (min-width: 1024px) {
   .drip__highvc_wrap::before {
       top: -136px;
       left: -132px;
       width: 25%;
       height: 25%
   }
}

.drip__highvc_wrap::after {
   content: "";
   background-image: url("img/vitamin-c.png");
   background-repeat: no-repeat;
   position: absolute;
   bottom: -473px;
   right: -20px;
   background-size: contain
}

@media screen and (min-width: 768px) {
  .drip__highvc_wrap::after {
       bottom: -887px;
       right: -5px;
       width: 50%;
       height: 50%
   }
}

@media screen and (min-width: 1024px) {
  .drip__highvc_wrap::after {
       bottom: -473px;
       right: -20px;
       width: 50%;
       height: 50%;
	  z-index: -1;
   }
}

@media screen and (min-width: 1024px) {
  .drip__highvc_container {
       display: flex;
       justify-content: space-between;
       align-items: center;
       gap: 5%;
       margin-bottom: 5%
   }
}

.drip__highvc_pic {
   margin-bottom: 5%
}

@media screen and (min-width: 1024px) {
   .drip__highvc_pic {
       margin-bottom: 0;
       width: 50%;
       z-index: 1
   }
}

@media screen and (max-width: 1023px) {
    .drip__highvc_txt02::before {
        content: "";
        background-image: url(img/speech-bubble.png);
        background-repeat: no-repeat;
        position: absolute;
        width: 300px;
        height: 200px;
		background-size: 100%;
        top: -15px;
        left: -15px;
    }
	.drip__highvc_txt02{
		padding-top: 20px;
	}
	    .drip__span_big {
        font-size: 20px;
    }
}
}




.drip__highvc_txt {
   position: relative;
   line-height: 2;
   z-index: 2
}

.drip__highvc_txt::after {
   content: "";
   background-image: url("img/bubble.png");
   background-repeat: no-repeat;
   position: absolute;
   top: -46px;
   right: 63px;
   width: 0;
   height: 0;
   z-index: -1
}

@media screen and (min-width: 1024px) {
  .drip__highvc_txt::after {
       width: 335px;
       height: 343px
   }
}

@media screen and (min-width: 1024px) {
   .drip__highvc_txt {
       width: 50%
   }
}

.drip__highvc_txt02,
.drip__highvc_txt03 {
   line-height: 2
}

@media screen and (min-width: 1024px) {

  .drip__highvc_txt02,
  .drip__highvc_txt03 {
       width: 100%
   }
}

.drip__highvc_txt02 {
   position: relative;
   margin-bottom: 10%;
   color: #ff0957;
}

@media screen and (min-width: 1024px) {
   .drip__highvc_txt02 {
       margin-bottom: 100px;
       font-size: 20px
   }

   .drip__highvc_txt02::before {
       content: "";
       background-image: url("img/speech-bubble.png");
       background-repeat: no-repeat;
       position: absolute;
       top: -55px;
       left: -30px;
       width: 430px;
       height: 200px
   }
}

.drip__highvc_txt03 {
   margin-bottom: 5%;
   color: red;
   margin-bottom: 0;
}

.drip__highvc_img {
   display: block
}

@media screen and (min-width: 1024px) {
   .drip__span_big {
       font-size: 28px
   }
}

.drip__myers {
   margin-bottom: 12%
}

.drip__myers_wrap {
   position: relative;
   padding: 5%;
   border-radius: 10px;
   background: linear-gradient(-65deg, #FF9393 17%, #fdbe75 100%)
}

@media screen and (min-width: 768px) {
   .drip__myers_wrap {
       padding-bottom: 15%;
		z-index: 1;   
   }
}

.drip__myers_wrap::after {
   content: "";
   position: absolute;
   background-image: url("img/myers.png");
   background-repeat: no-repeat;
   background-size: contain;
   bottom: 0;
   right: 0;
   width: 0;
   height: 0;
}
@media screen and (min-width: 768px) {
   .drip__myers_wrap::after {
       bottom: -400px;
       right: 0;
       width: 50%;
       height: 50%;
	   z-index: -1;
   }
}
@media screen and (min-width: 1024px) {
   .drip__myers_wrap::after {
       bottom: -180px;
       right: -5px;
       width: 40%;
       height: 40%;
       z-index: -1;
   }
}


.drip__myers_txt {
   margin-bottom: 36px;
   line-height: 2
}

 .drip__shiratama {
   position: relative;
   margin-bottom: 12%
}

.drip__shiratama_wrap {
   position: relative;
   padding: 5%;
   border-radius: 10px;
   background: linear-gradient(-65deg, #FF7777 17%, #FFDBC8 100%)
}

@media screen and (min-width: 768px) {
  .drip__shiratama_wrap {
       padding-bottom: 15%;
	  z-index: 1;
   }
}

.drip__shiratama_wrap::after {
   content: "";
   background-image: url("img/glutathione.png");
   background-repeat: no-repeat;
   position: absolute;
   bottom: 0;
   right: 0px;
   width: 0;
   height: 0;
   background-size: contain
}

@media screen and (min-width: 768px) {
  .drip__shiratama_wrap::after {
       bottom: -543px;
       right: 0;
       width: 50%;
       height: 50%
   }
}

@media screen and (min-width: 1024px) {
   .drip__shiratama_wrap::after {
       bottom: -280px;
       right: -5px;
       width: 40%;
       height: 40%;
	   z-index: -1;
   }
}

.drip__shiratama_txt {
   margin-bottom: 36px;
   line-height: 2
}

 .drip__shiratama_pic {
   width: 100%;
   margin: 0 auto
}

.drip__shiratama_img {
   display: block;
   width: 100%;
   margin-bottom: 36px
}

 .drip__hangover {
   margin-bottom: 12%
}

.drip__hangover_wrap {
   position: relative;
   padding: 5%;
   border-radius: 10px;
   background: linear-gradient(-65deg, #DEB8FF 17%, #93D2FF 100%)
}

@media screen and (min-width: 768px) {
   .drip__hangover_wrap {
       padding-bottom: 15%
   }
}

.drip__hangover_wrap::after {
   content: "";
   background-image: url("img/back-deco/hangover.png");
   background-repeat: no-repeat;
   position: absolute;
   bottom: 0;
   right: 0px;
   width: 0;
   height: 0;
   background-size: contain
}

@media screen and (min-width: 768px) {
  .drip__hangover_wrap::after {
       bottom: -639px;
       right: 0;
       width: 50%;
       height: 50%
   }
}

@media screen and (min-width: 1024px) {
   .drip__hangover_wrap::after {
       bottom: -295px;
       right: -5px;
       width: 40%;
       height: 40%
   }
}

.drip__hangover_txt {
   margin-bottom: 36px;
   line-height: 2
}

.drip__hangover_pic {
   width: 100%;
   margin: 0 auto
}

.drip__hangover_img {
   display: block;
   width: 100%;
   margin-bottom: 36px
}

.drip__vitamin {
   margin-bottom: 12%
}

.drip__vitamin_wrap {
   position: relative;
   padding: 5%;
   border-radius: 10px;
   background: linear-gradient(-65deg, #FF8F20 17%, #FFF372 100%)
}

@media screen and (min-width: 768px) {
   .drip__vitamin_wrap {
       padding-bottom: 15%;
	   z-index: 1;
   }
}

.drip__vitamin_wrap::after {
   content: "";
   background-image: url("img/vitamin.png");
   background-repeat: no-repeat;
   position: absolute;
   bottom: 0;
   right: 0px;
   width: 0;
   height: 0;
   background-size: contain
}

@media screen and (min-width: 768px) {
    .drip__vitamin_wrap::after {
       bottom: -444px;
       right: 0;
       width: 50%;
       height: 50%
   }
}

@media screen and (min-width: 1024px) {
   .drip__vitamin_wrap::after {
       bottom: -94px;
       right: 10px;
       width: 40%;
       height: 40%;
	   z-index: -1;
   }
}

.drip__vitamin_txt {
   margin-bottom: 36px;
   line-height: 2
}

.drip__placenta {
   margin-bottom: 12%
}

 .drip__placenta_wrap {
   position: relative;
   padding: 5%;
   border-radius: 10px;
   background: linear-gradient(-65deg, #FF65C6 17%, #FFDECA 100%)
}

@media screen and (min-width: 768px) {
   .drip__placenta_wrap {
       padding-bottom: 15%
   }
}

 .drip__placenta_wrap::after {
   content: "";
   background-image: url("img/placenta.png");
   background-repeat: no-repeat;
   position: absolute;
   bottom: 0;
   right: 0px;
   width: 0;
   height: 0;
   background-size: contain
}

@media screen and (min-width: 768px) {
   .drip__placenta_wrap::after {
       bottom: -437px;
       right: 0;
       width: 50%;
       height: 50%
   }
}

@media screen and (min-width: 1024px) {
   .drip__placenta_wrap::after {
       bottom: -66px;
       right: 10px;
       width: 40%;
       height: 40%
   }
}

.drip__placenta_txt {
   margin-bottom: 36px;
   line-height: 2
}

 .drip__price {
   margin-bottom: 12%;
   width: 100%
}

.drip__price_wrap {
   position: relative;
   padding: 5%;
   border-radius: 10px;
   background: linear-gradient(-65deg, #FFDEE8 17%, #E49DE9 100%)
}

@media screen and (min-width: 768px) {
  .drip__price_wrap {
       padding-bottom: 15%
   }
}

.drip__price_wrap::after {
   content: "";
   background-image: url("img/price-list.png");
   background-repeat: no-repeat;
   position: absolute;
   bottom: 0;
   right: 0px;
   width: 0;
   height: 0;
   background-size: contain
}

@media screen and (min-width: 768px) {
   .drip__price_wrap::after {
       bottom: -380px;
       right: 113px;
       width: 50%;
       height: 50%
   }
}

@media screen and (min-width: 1024px) {
  .drip__price_wrap::after {
       bottom: -316px;
       right: 321px;
       width: 40%;
       height: 40%
   }
}

/* 表 */

/* テーブル全体 */
.drip__table_wrap {
  width: 100%;
  overflow-x: hidden;
}

.drip__table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 10px;
  line-height: 1.8;
}


.drip__table th,
.drip__table td {
  border-bottom: 1px solid #616161;
  border-right: 1px solid #616161;
  padding: 20px;
  text-align: left;
  font-weight: normal;
  white-space: normal;
}


.drip__table th:last-child,
.drip__table td:last-child {
  border-right: none;
  text-align: right;
}


.drip__table tr:last-child td {
  border-bottom: none;
}
.drip__table td.table-center-last {
  border-bottom: none;
}


.drip__price_txt {
  text-align: right;
  color: red;
  margin-top: 8px;
  font-size: 14px;
}


.drip__table td.table-center {
  text-align: left;
}



@media screen and (max-width: 767px) {
  .drip__table th,
  .drip__table td {
    font-size: 14px;
    padding: 8px;
  }
}







.drip__room {
   margin: 0 4% 6%
}

.drip__room_container {
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   gap: 24px;
}

@media screen and (min-width: 1024px) {
   .drip__room_container {
       flex-direction: row;
       justify-content: space-between
   }
}

 .drip__room_box {
   text-align: center
}

 .drip__room_pic {
   margin-bottom: 12px
}

 .drip__room_txt {
   text-align: center;
   margin-bottom: 5%
}






/*-------------------------------------------
 自由診療　AGA
  -------------------------------------------*/

/* 基本 */
.aga, .aga-access {
  color: #092237;
  font-family: "eb-garamond", "yu-gothic-pr6n", serif;
}

.aga:lang(en) {
  font-family: "eb-garamond", serif;
}

.aga:lang(ja) {
  font-family: "yu-gothic-pr6n", serif;
  font-weight: 500;
}

/* AGAページベース */
.aga {
  background-color: #D8DDE5;
  font-family: serif;
  overflow: hidden;
}


.aga__mv {
  width: 100%;
  height: 85vh;
  margin-bottom: 80px;
  background: url("img/aga-mv-sp.jpg") center center / cover;
  background-repeat: no-repeat;
}

@media screen and (min-width: 768px) {
 .aga__mv {
    display: flex;
    padding-left: 15%;
    font-size: 40px;
    background: url("img/aga-mv-tb.jpg") center center / cover;
  }
}

@media screen and (min-width: 1250px) {
   .aga__mv {
    display: flex;
    align-items: center;
    font-size: 40px;
    background: url("img/aga-mv.jpg") center center / cover;
  }
}

/* MVタイトル */
.aga__ttl {
  text-align: center;
  color: #3C3C3C;
  font-size: 22px;
  text-shadow: 2px 2px 4px #5b5b5bb8;
	position: absolute;
    top: 43%;
    left: 30%;
    transform: translate(-50%, -50%);
    text-align: center;
}
@media screen and (max-width: 767px) {
.aga__ttl {
	position: absolute;
    top: 24%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
	}
}

@media screen and (min-width: 570px) {
 .aga__ttl {
    font-size: 32px;
  }
}

@media screen and (min-width: 1250px) {
 .aga__ttl {
    padding-top: 0;
    font-size: 40px;
  }
}

@media screen and (min-width: 1530px) {
  .aga__ttl_br {
    display: none;
  }
}

 .aga__span {
  display: block;
  font-size: 16px;
  font-family: "eb-garamond", serif !important;
  text-shadow: 4px 4px 10px rgb(0 0 0 / 30%);
}

@media screen and (min-width: 1024px) {
  .aga__span {
    font-size: 22px;
  }
}


.aga__about {
  margin: 0 10px 10%;
  padding: 40px 5%;
  background-color: #fff;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
}

@media screen and (min-width: 1024px) {
   .aga__about {
    margin: 0 26% 10%;
  }
}

 .aga__about_ttl {
  font-size: 20px;
  font-weight: normal;
}

@media screen and (min-width: 1024px) {
   .aga__about_ttl {
    font-size: 27px;
  }
}

 .aga__point_number {
  font-family: "eb-garamond", serif;
}
 .aga__about_txt {
  line-height: 2;
}

.aga__worries {
  position: relative;
  padding: 40px 5%;
  margin-bottom: 10%;
  background-color: #B1B1B1;
}

 .aga__worries::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
  background-color: #6C6C6C;
  top: 0;
  left: 0;
  z-index: 0;
}

.aga__worries_ttl {
  font-size: 20px;
  margin-bottom: 4%;
}

@media screen and (min-width: 768px) {
 .aga__worries_ttl {
    font-size: 28px;
  }
}

@media screen and (min-width: 1024px) {
   .aga__worries_ttl {
    font-size: 35px;
  }
}

 .aga__worries_ul {
  position: relative;
  z-index: 1;
  color: #fff;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  width: auto;
}

@media screen and (min-width: 500px) {
   .aga__worries_ul {
    width: max-content;
    margin: 0 auto;
  }
}

@media screen and (min-width: 1024px) {
 .aga__worries_ul {
    width: 100%;
    margin: 0;
  }
}

.aga__worries_li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8%;
}

@media screen and (min-width: 1024px) {
  .aga__worries_li {
    margin-bottom: 10px;
  }
}

@media screen and (min-width: 1638px) {
  .aga__worries_li {
    margin-bottom: 12px;
    font-size: 24px;
  }
}

 .aga__worries_li:nth-child(1) {
  justify-content: flex-end;
  margin-right: 17%;
}
 .aga__worries_li:nth-child(2) {
  justify-content: flex-start;
  margin-left: 1%;
}

 .aga__worries_li:nth-child(3) {
  justify-content: flex-end;
  margin-right: 4%;
}

 .aga__worries_li:nth-child(4) {
  justify-content: flex-start;
  margin-left: 14%;
}

 .aga__worries_li:nth-child(5) {
  justify-content: flex-end;
  margin-right: -1%;
}

.aga__worries_li:nth-child(6) {
  justify-content: flex-start;
  margin-left: 30%;
}

 .aga__worries_check {
  display: block;
  width: 30px;
}

@media screen and (min-width: 1024px) {
   .aga__worries_check {
    width: 40px;
  }
}


 .aga__point {
  position: relative;
  margin-bottom: 12%;
  padding: 32px 10px;
  color: #ffffff;
  background-color: #4977BC;
}

@media screen and (min-width: 768px) {
 .aga__point {
    padding: 32px 5%;
  }
}

.aga__point_ttl {
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: normal;
  border-bottom: 2px solid #fff;
  overflow: hidden;
  z-index: 4;
	color: #fff;
}

@media screen and (min-width: 1024px) {
  .aga__point_ttl {
    margin-bottom: 5%;
    font-size: 27px;
  }
}

.aga__point_span {
  font-weight: 900;
}

 .aga__point_container {
  display: block;
}

@media screen and (min-width: 768px) {
  .aga__point_container {
    display: flex;
    gap: 3%;
  }
}

.aga__point_pic01,
 .aga__point_pic02 {
  width: 70%;
  margin: 0 auto 40px;
}

@media screen and (min-width: 768px) {
   .aga__point_pic02 {
    transform: translateY(86px);
  }
}

@media screen and (min-width: 1024px) {
   .aga__point_pic02 {
    transform: translateY(86px);
  }
}

 .aga__point_img {
  display: block;
  margin: 0 auto;
}

@media screen and (min-width: 1024px) {
 .aga__point_ul {
    width: 84%;
  }
}

.aga__point_check {
  display: inline-block;
  margin-left: 10px;
}

 .aga__point_number {
  font-family: "Tangerine", cursive;
  font-size: 80px;
  color: #fff;
  font-weight: bold;
}

 .aga__point_li {
  display: flex;
  lign-items: center;
  gap: 8%;
  margin-bottom: 8%;
}

@media screen and (min-width: 1024px) {
  .aga__point_li {
    margin-bottom: 20px;
  }
}

 .aga__point_li:nth-of-type(1),
 .aga__point_li:nth-of-type(2) {
  margin-bottom: 10%;
}

@media screen and (min-width: 1024px) {
  .aga__point_li:nth-of-type(1),
 .aga__point_li:nth-of-type(2) {
    margin-bottom: 40px;
  }
}

 .aga__point_point {
  display: flex;
  align-items: center;
  margin-bottom: 7px;
  font-size: 18px;
}

@media screen and (min-width: 1024px) {
   .aga__point_point {
    font-size: 24px;
	line-height: 32px;
  }
}


.aga__wrap {
  margin: 0 5%;
}

@media screen and (min-width: 940px) {
   .aga__wrap {
    margin: 0 20%;
  }
}


.aga__wrap {
  margin: 0;
}


.aga__medicine {
    margin-bottom: 12%;
    padding: 40px 5%;
    background: #6C6C6C;
    width: 100%;
}

.aga__medicine_ttl {
    font-weight: normal;
    color: #ffffff;
    font-size: 20px;
    text-align: center;
}
.aga__medicine_txt{
	color: #fff;
	margin-bottom: 20px;
}

@media screen and (min-width: 1024px) {
    .aga__medicine_ttl {
        font-size: 27px;
    }
}


.aga__medicine_table_wrap {
    margin: 0 auto;
    display: block;
    width: 100%;
    max-width: 500px;
}


.aga__medicine_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #fff;
    line-height: 2;
    padding: 3% 2%;
}


.aga__medicine_caption {
    display: table-caption;
    position: relative;
    font-size: 20px;
    background-color: #fff;
    padding-top: 20px;
}
@media screen and (min-width: 1024px) {
    .aga__medicine_caption {
        font-size: 24px;
    }
}


.aga__medicine_table th,
.aga__medicine_table td {
    border-top: 1px solid #616161;
    padding: 10px;
    text-align: left;
    font-weight: normal;
}

.aga__medicine_table th {
    width: 34%;
}

.aga__medicine_table td {
    width: 66%;
	border-left: 1px solid #616161;
}


.aga__medicine_box {
    display: flex;
    justify-content: center;
}

.aga__medicine_rogo {
    display: block;
    width: 44px;
    height: 36px;
    margin-top: 5px;
}

.aga__medicine_span {
    display: block;
    font-size: 16px;
}

.aga__medicine_effect {
    margin-bottom: 20px;
    padding: 2%;
    font-size: 16px;
    background-color: #4977BC;
    color: #fff;
    text-align: center;
}

.aga__medicine_attention {
    padding: 40px 3%;
    background-color: #fff;
    color: #092237;
}

.aga__medicine_attention_ttl {
    text-align: center;
    margin-bottom: 2%;
    font-size: 24px;
}

.aga__medicine_attention_txt {
    line-height: 2;
}


@media screen and (max-width: 1023px) {
    .aga__medicine_table_wrap {
        display: block;
        width: 95%;
        margin: 0 auto 20px;
    }
    .aga__medicine_table {
        max-width: 100%;
    }
}
@media (min-width: 768px){
	.aga__price_wrap{
		width: 80%;
		margin: auto;
	}
	.aga__price_table th, .aga__price_table td{
		padding: 10px 20px !important;
	}
}


@media screen and (min-width: 1024px) and (max-width: 1299px) {
    .aga__medicine_table_wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .aga__medicine_table {
        width: 80%;
        max-width: 500px;
        margin-bottom: 20px;
    }
}


@media screen and (min-width: 1300px) {
    .aga__medicine_table_wrap {
        display: flex;
        justify-content: space-around;
        flex-wrap: nowrap;
        width: 100%;
        max-width: none;
    }
    .aga__medicine_table {
        width: 45%;
        max-width: none;
    }
}


.aga__price {
  margin-bottom: 12%;
  width: 100%;
}

.aga__price_wrap {
  position: relative;
  padding: 5%;
  border-collapse: collapse;
  background: #4977BC;
}

.aga__price_wrap::after {
  content: "";
  background-image: url("img/price-list-aga.png");
  background-repeat: no-repeat;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  background-size: contain;
}

@media screen and (min-width: 872px) {
  .aga__price_wrap::after {
    bottom: -51px;
    left: 25px;
    width: 20%;
    height: 20%;
  }
}

@media screen and (min-width: 1024px) {
  .aga__price_wrap::after {
    bottom: -21px;
    left: 25px;
    width: 15%;
    height: 15%;
  }
}

.aga__price_ttl {
  color: #fff;
  font-size: 20px;
}

@media screen and (min-width: 1024px) {
  .aga__price_ttl {
    font-size: 27px;
  }
}

.aga__price_table_wrap {
  width: 100%;
}

.aga__price_table {
  border-collapse: collapse;
  padding: 3% 2%;
  margin-bottom: 2%;
  background-color: #fff;
  line-height: 2;
}

.aga__price_table th,
.aga__price_table td {
  border-bottom: 1px solid #616161;
  padding: 10px;
  width: 30%;
  text-align: left;
  white-space: nowrap;
  font-weight: normal;
}

.aga__item {
  text-align: center !important;
}

.aga__price td:last-child {
  width: 12%;
}

.aga-access .flex{
	margin-top: 60px;
}


@media screen and (min-width: 500px) {
  .aga__price td:last-child {
    text-align: right;
  }
}

.aga__price td {
  border-left: 1px solid #616161;
}

.aga__price_txt {
  text-align: right;
  color: #ffffff;
}

@media screen and (min-width: 1024px) {
  .aga__price_br01 {
    display: none;
  }
}

@media screen and (min-width: 500px) {
  .aga__price_br02 {
    display: none;
  }
}



