@charset "utf-8";
/*
Theme Name: grits THEME
Author: grits
Version: 1.0.0
*/
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);
@import url('https://fonts.googleapis.com/css2?family=Bacasime+Antique&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');
/******************************************************
リセット
******************************************************/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
  font-weight: normal;
	font: inherit;
	vertical-align: middle;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
html, body {
  margin: 0;
	padding: 0;
	border: 0;
  color: #333;
	font-size: 100%;
  font-weight: normal;
	font: inherit;
	vertical-align: middle;
  word-break : break-all;
}
html {
  font-size: 62.5%;
}
body {
  position: relative;
  font-size: 16px;
	font-size: 1.6rem;
  line-height: 2;
  font-weight: normal;
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif;
}
@media screen and (max-width:767px) {
  body {
    font-size: 14px;
    font-size: 1.4rem;
  }
}
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font-weight: normal;
  line-height: 1.5;
}
table, th, td {
  border-collapse: collapse;
  font-weight: normal;
}
dl, dt, dd {
  margin: 0;
  padding: 0;
}
p, ul, ol, li {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul, ol {
  text-align: left;
}
img {
  max-width: 100%;
	height: auto;
  vertical-align: middle;
}
a {
  color: #333;
  text-decoration: none;
  vertical-align: baseline;
  border:none;
  outline:none;
}
span {
  vertical-align: baseline;
}
*:focus {
  outline: none;
}
/******************************************************
animate.css カスタマイズ
******************************************************/
@keyframes fadeInUp30 {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fadeInUp30 {
  animation-name: fadeInUp30;
  animation-duration: 1s;
}
@keyframes fadeInUp60 {
  from {
    opacity: 0;
    transform: translate3d(0, 60px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fadeInUp60 {
  animation-name: fadeInUp60;
  animation-duration: 1s;
}
@keyframes fadeInUp90 {
  from {
    opacity: 0;
    transform: translate3d(0, 60px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fadeInUp60 {
  animation-name: fadeInUp90;
  animation-duration: 1s;
}
@keyframes zoomUp {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.add-animation {
  animation: zoomUp 10s linear 0s normal both;
}
/******************************************************
iPhoneリセット
******************************************************/
.clearfix:after,
.inner:after {
  content: "";
  display: block;
  height: 0;
  font-size: 0;
  line-height: 0;
  clear: both;
  visibility: hidden;
}
/******************************************************
iPhoneリセット
******************************************************/
input,textarea,select {
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif;
}
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}
input[type=text], input[type=email], input[type=tel], textarea, select {
  box-sizing: border-box;
  font-size: 1.6rem;
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif;
  outline: none;
  -webkit-appearance:none;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #ccc;
}
/******************************************************
レスポンシブ
******************************************************/
.pc, .tab, .sp {display: none;}
.inner {position: relative;}
@media screen and (max-width: 767px){
  .inner {
    margin: 0 1.5rem;
  }
  .sp {display: block;}
  .sp-left {text-align:left!important;}
  .sp-right {text-align:right!important;}
  .sp-center {text-align:center!important;}
}
@media screen and (min-width: 768px) {
  .inner {
    width: 1300px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5rem;
    box-sizing: border-box;
  }
  .pc {display: block;}
  .pc-left {text-align:left!important;}
  .pc-right {text-align:right!important;}
  .pc-center {text-align:center!important;}
}
/******************************************************
基本フォント
******************************************************/
.text-center {text-align: center;}
.text-right {text-align: right;}
.text-left {text-align: left;}
.sans {font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif;}
.serif {font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;}
.bold {font-weight: bold;}
/******************************************************
ヘッダー
******************************************************/
@media screen and (min-width: 1025px){
  #h_logo {
    position: absolute;
    top: 0;
    left: 0;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    z-index: 1;
  }
  #h_logo .image {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
  }
  #h_logo .image img {
    width: auto;
    height: 9rem;
  }
  #h_logo .text {
    display: flex;
    flex-direction: column;
    margin-left: 1em;
    text-align: center;
    line-height: 1.5;
    letter-spacing: .2em;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;
  }
  #h_logo .text .title {
    margin-bottom: 1rem;
    padding: 0 1em;
    color: #fff;
    font-size: 1.8rem;
    line-height: 2;
    box-sizing: border-box;
    background: #478fb0;
  }
  #h_logo .text .sub_title {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  #h_banner_list {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    z-index: 1;
  }
  #h_banner_list .list {
    width: 240px;
    background: #fff;
  }
  #h_banner_list .list a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 8rem;
    color: #fff;
    font-size: 2rem;
    text-align: center;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif; 
    box-shadow: 0 0 1rem 0 rgba(0,0,0,.1);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;    
  }
  #h_banner_list .list a:hover {
    opacity: .7;
  }
  #h_banner_list .list a.tel {
    background: #478fb0;
  }
  #h_banner_list .list a.tel:before {
    content: "";
    width: 1em;
    height: 1em;
    margin-right: .5em;
    background: url(/wp-content/uploads/images/icon_tel.webp) center center no-repeat;
    background-size: contain;
  }
  #h_banner_list .list a.web {
    background: #d77589;
  }
  #h_banner_list .list a.web:before {
    content: "";
    width: 1em;
    height: 1em;
    margin-right: .5em;
    background: url(/wp-content/uploads/images/icon_web.webp) center center no-repeat;
    background-size: contain;
  }  
  #h_banner_list .list a.line {
    background: #2dae37;
  }
  #h_banner_list .list a.line:before {
    content: "";
    width: 1em;
    height: 1em;
    margin-right: .5em;
    background: url(/wp-content/uploads/images/icon_line.webp) center center no-repeat;
    background-size: contain;
  }  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  #h_toggle_btn {
    position: fixed;
    display: block;
    width: 100px;
    height: 100px;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 101;
    color: #fff;
    background: #478fb0;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
    
    display: none;
  }
  #h_toggle_btn span {
    display: block;
    width: 40px;
    height: 1px;
    background: #fff;
    position: absolute;
    left: 30px;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;	
  }
  #h_toggle_btn span:nth-child(1){
    top: 24px;
  }
  #h_toggle_btn span:nth-child(2){
    top: 36px;
  }
  #h_toggle_btn span:nth-child(3){
    top: 48px;
  }
  #h_toggle_btn.open {
    z-index: 10004;
  }
  #h_toggle_btn.open span {
    color: #fff;
  }
  #h_toggle_btn.open span:nth-child(1) {
    top: 36px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
    background: #fff;
  }
  #h_toggle_btn.open span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  #h_toggle_btn.open span:nth-child(3) {
    top: 36px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
    background: #fff;
  }  
  #h_toggle_btn div {
    position: absolute;
    width: 100%;
    bottom: 16px;
    text-align: center;
  }  
  
  #h_btn {
    position: absolute;
    top: 1.5rem;
    right: 13.5rem;
    z-index: 1;
  }
  #h_btn .btn a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: 100px;
    color: #fff;
    line-height: 1.3;
    letter-spacing: .2em;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;    
    text-shadow: 0 0 6px rgba(0,0,0,.5);
  }
  #h_btn .btn a .number span {
    font-size: 3rem;
  }
  
  #h_nav {
    background: rgba(112,95,74,.95);
    display: block;
    width: 540px;
    max-width: calc(100% - 60px);
    height: 100%;
    padding: 18rem 6rem 6rem;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100;
    visibility: hidden;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
    webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
    box-sizing: border-box;
  }
  #h_nav.on {
    visibility: visible;
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -o-transform: translateX(0px);
    transform: translateX(0px);
  }
  #h_nav li a {
    position: relative;
    display: block;
    padding: 1.2em 0;
    padding-right: 3em;
    color: #fff;
    border-bottom: 1px solid #ccc;
  }
  #h_nav li a:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 1rem;
    height: 1rem;
    margin-top: -.5rem;
    line-height: 1;
    background: var(--main-color);
  }
  #h_nav li:nth-child(even) a:before {
    background: var(--sub-color);
  }
  
  #page_top {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 50;
  }
  #page_top a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 8rem;
    height: 8rem;
    color: #fff;
    font-size: 1.4rem;
    text-decoration: none;
    background: #478fb0;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;  
  }       
  .fix_banner_list {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 100;
    display: flex;
  }
  .fix_banner_list .fix_banner:nth-child(n+2) {
    margin-left: 1rem;
  }
  .fix_banner_list .fix_banner {
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear; 
  }
  .fix_banner_list .fix_banner:hover {
    opacity: .7;
  }
  .fix_banner_list .fix_banner img {
    width: 360px;
  }
  .fix_banner.hidden {
    display: none;
  }
  .fix_banner span.close_btn {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    color: #333;
    line-height: 15px;
    text-align: center;
    background: #fbfbfb;
    cursor: pointer;
  }  
  .fix_banner span.close_btn:before,
  .fix_banner span.close_btn:after {
    position: absolute;
    display: block;
    width: 12px;
    height: 1px;
    content: "";
    background: #333;
    top: 10px;
    left: 4px;
  }
  .fix_banner span.close_btn:before {
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
  }
  .fix_banner span.close_btn:after {
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
  }  
  
}
@media screen and (max-width: 1024px){
  #header {
    height: 7rem;
  }
  #h_cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 7rem;
    background: #fff;
    z-index: 100;
  }
  #h_cover.active {
    box-shadow: 0 0 6px 0 rgba(0,0,0,.1);
  }
  
  #h_logo {
    position: absolute;
    top: 0;
    left: 0;
    height: 7rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    text-align: left;
    box-sizing: border-box;
  }
  #h_logo .image {
    display: flex;
    flex-direction: column;
  }
  #h_logo .image img {
    width: auto;
    height: 5rem;
  }
  #h_logo .text {
    display: flex;
    flex-direction: column;
    margin-left: 1rem;
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.5;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;
  }
  #h_logo .text .title {
    margin-bottom: .3rem;
    padding: 0 1em;
    color: #fff;
    line-height: 1.8;
    letter-spacing: .1em;
    box-sizing: border-box;
    background: #478fb0;    
  }
  #h_logo .text .sub_title {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  
  #h_toggle_btn {
    position: fixed;
    display: block;
    width: 70px;
    height: 70px;
    top: 0;
    right: 0;
    z-index: 101;
    color: #fff;
    background: #478fb0;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
  }
  #h_toggle_btn span {
    display: block;
    width: 30px;
    height: 1px;
    background: #fff;
    position: absolute;
    left: 20px;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;	
  }
  #h_toggle_btn span:nth-child(1){
    top: 16px;
  }
  #h_toggle_btn span:nth-child(2){
    top: 24px;
  }
  #h_toggle_btn span:nth-child(3){
    top: 32px;
  }
  #h_toggle_btn.open {
    z-index: 10004;
  }
  #h_toggle_btn.open span {
    color: #fff;
  }
  #h_toggle_btn.open span:nth-child(1) {
    top: 24px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
    background: #fff;
  }
  #h_toggle_btn.open span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  #h_toggle_btn.open span:nth-child(3) {
    top: 24px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
    background: #fff;
  }  
  #h_toggle_btn div {
    position: absolute;
    width: 100%;
    font-size: 1rem;
    bottom: 10px;
    text-align: center;
  }  
  #h_nav {
    background: rgba(71,143,176,.95);
    display: block;
    width: 540px;
    max-width: calc(100% - 60px);
    height: 100%;
    padding: 8rem 1.5rem 3rem;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100;
    visibility: hidden;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
    webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
    box-sizing: border-box;
  }
  #h_nav.on {
    visibility: visible;
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -o-transform: translateX(0px);
    transform: translateX(0px);
  }
  #h_nav li a {
    position: relative;
    display: block;
    padding: 1.2em 0;
    color: #fff;
    border-bottom: 1px solid #ccc;
  }
  #h_nav li a:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 1rem;
    height: 1rem;
    margin-top: -.5rem;
    line-height: 1;
    background: var(--main-color);
  }
  #h_nav li:nth-child(even) a:before {
    background: var(--sub-color);
  }
  
  
  #h_banner_list {
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: calc(100% - 6rem);
    z-index: 10;
  }
  #h_banner_list .list {
    width: calc(100% / 3);
    background: #fff;
  }
  #h_banner_list .list a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 6rem;
    color: #fff;
    font-size: 1.2rem;
    text-align: center;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif; 
    box-shadow: 0 0 1rem 0 rgba(0,0,0,.1);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;    
  }
  #h_banner_list .list a:hover {
    opacity: .7;
  }
  #h_banner_list .list a.tel {
    background: #478fb0;
  }
  #h_banner_list .list a.tel:before {
    content: "";
    width: 1em;
    height: 1em;
    margin-right: .5em;
    background: url(/wp-content/uploads/images/icon_tel.webp) center center no-repeat;
    background-size: contain;
  }
  #h_banner_list .list a.web {
    background: #d77589;
  }
  #h_banner_list .list a.web:before {
    content: "";
    width: 1em;
    height: 1em;
    margin-right: .5em;
    background: url(/wp-content/uploads/images/icon_web.webp) center center no-repeat;
    background-size: contain;
  }  
  #h_banner_list .list a.line {
    background: #2dae37;
  }
  #h_banner_list .list a.line:before {
    content: "";
    width: 1em;
    height: 1em;
    margin-right: .5em;
    background: url(/wp-content/uploads/images/icon_line.webp) center center no-repeat;
    background-size: contain;
  }  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  #page_top {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 50;
  }
  #page_top a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 6rem;
    height: 6rem;
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    background: #478fb0;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;  
  }        
 
  
  .fix_banner_list {
    position: fixed;
    bottom: 7rem;
    left: 1rem;
    z-index: 100;
    display: flex;
    width: calc(100% - 2rem);
    box-sizing: border-box;
    
    display: none;
  }
  .fix_banner_list .fix_banner:nth-child(n+2) {
    margin-left: 1rem;
  }
  .fix_banner_list .fix_banner {
    width: calc(50% - .5rem);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear; 
  }
  .fix_banner_list .fix_banner:hover {
    opacity: .7;
  }
  .fix_banner_list .fix_banner img {
    width: 100%;
  }
  
  .fix_banner.hidden {
    display: none;
  }
  .fix_banner span.close_btn {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    color: #6d7783;
    line-height: 15px;
    text-align: center;
    background: #eee;
    cursor: pointer;
  }  
  .fix_banner span.close_btn:before,
  .fix_banner span.close_btn:after {
    position: absolute;
    display: block;
    width: 12px;
    height: 1px;
    content: "";
    background: #6d7783;
    top: 10px;
    left: 4px;
  }
  .fix_banner span.close_btn:before {
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
  }
  .fix_banner span.close_btn:after {
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
  }    
  
}
/******************************************************
フッター
******************************************************/
@media screen and (min-width: 1240px){
  .gmap {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 480px;
    filter: grayscale(100%);
  } 
  .gmap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }  
  #copyright {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 80px;
    padding-bottom: 2rem;
    color: #fff;
    text-align: center;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;
    background: #478fb0;
  }
}
@media screen and (max-width: 1239px){
  .gmap {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    filter: grayscale(100%);
  } 
  .gmap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }  
  #copyright {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 7.5rem;
    height: 60px;
    color: #fff;
    text-align: center;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;
    background: #478fb0;
  }  
}
/******************************************************
タイトル・共通
******************************************************/
@media screen and (min-width:1240px) {
  .main_title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 5rem;
    text-align: center;
    line-height: 1.5;
    letter-spacing: .2em;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;    
  }
  .main_title .jap {
    font-size: 3rem;
  }
  .main_title .eng {
    font-size: 9.6rem;
    font-family: "Bacasime Antique", serif;
    font-weight: 400;    
    background: linear-gradient(135deg, #4d788c, #478fb0 30%, #26a7e1);
    background: -webkit-linear-gradient(45deg, #4d788c, #478fb0 30%, #26a7e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;        
  }
  .main_title.orange .eng {
    color: #d77589;
  }
  .main_title.green .eng {
    color: #478fb0;
  }
}
@media screen and (max-width:1239px) {
  .main_title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.5;
    letter-spacing: .2em;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;    
  }
  .main_title .jap {
    font-size: 1.4rem;
  }
  .main_title .eng {
    font-size: 4rem;
    font-family: "Bacasime Antique", serif;
    font-weight: 400;    
    background: linear-gradient(135deg, #4d788c, #478fb0 30%, #26a7e1);
    background: -webkit-linear-gradient(45deg, #4d788c, #478fb0 30%, #26a7e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;        
  }
  .main_title.orange .eng {
    color: #d77589;
  }
  .main_title.green .eng {
    color: #478fb0;
  }
}
/******************************************************
メインビジュアル
******************************************************/
@media screen and (min-width:1240px) {
  #top_main {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #fff;
  }
  #main_visual {
    position: relative;
    width: 100%;
    height: 100vh;
  }
  #main_visual:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(38,167,225,.1);
  }
  #main_visual .image {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
  }
  #main_visual .image .image_1 {
    width: calc((100% / 5) * 2);
    height: 100vh;  
  }
  #main_visual .image .image_2 {
    width: calc((100% / 5) * 3);
    height: 100vh;    
  }
  #main_visual .image .image_1 {
    display: flex;
    flex-direction: column;
  }
  #main_visual .image .image_1 .image_1_1,
  #main_visual .image .image_1 .image_1_2,
  #main_visual .image .image_1 .image_1_3 {
    width: 100%;
    height: calc(100vh / 3);
  }
  #main_visual .image_a .image_2 {
    background: #ccc url(/wp-content/uploads/images/main_img001.webp) top center no-repeat;
    background-size: cover;
  }
  #main_visual .image_b .image_2 {
    background: #ccc url(/wp-content/uploads/images/main_img002.webp) top center no-repeat;
    background-size: cover;
  }
  
  #main_visual .image_a .image_1_1 {
    background: #ddd url(/wp-content/uploads/images/main_img001_001.webp) top center no-repeat;
    background-size: cover;
  }
  #main_visual .image_b .image_1_1 {
    background: #ddd url(/wp-content/uploads/images/main_img002_001.webp) top center no-repeat;
    background-size: cover;
  }
  
  #main_visual .image_a .image_1_2 {
    background: #ddd url(/wp-content/uploads/images/main_img001_002.webp) top center no-repeat;
    background-size: cover;
  }
  #main_visual .image_b .image_1_2 {
    background: #ddd url(/wp-content/uploads/images/main_img002_002.webp) top center no-repeat;
    background-size: cover;
  }
  
  #main_visual .image_a .image_1_3 {
    background: #ddd url(/wp-content/uploads/images/main_img001_003.webp) top center no-repeat;
    background-size: cover;
  }  
  #main_visual .image_b .image_1_3 {
    background: #ddd url(/wp-content/uploads/images/main_img002_003.webp) top center no-repeat;
    background-size: cover;
  } 

  #main_content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
  }
  #catch_copy {
  }  
  #pc_nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8rem;    
    z-index: 100;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear; 
  }
  #pc_nav.m_fixed {
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: 0 0 1rem 0 rgba(0,0,0,.1);
  }
  #pc_nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 8rem;
    background: rgba(255,255,255,.95);
  }
  #pc_nav ul li {
    margin: 0 1em;
    font-size: 1.8rem;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;  
  }
  #pc_nav ul li a {
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;  
  }
  #pc_nav ul li a:hover {
    color: #478fb0;
  }
}
@media screen and (max-width:1239px) {
  #top_main {
    position: relative;
    width: 100%;
    height: 75vh;
    background: #fff;
  }
  #main_visual {
    position: relative;
    width: 100%;
    height: 75vh;
  }
  #main_visual:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(38,167,225,.1);
  }
  #main_visual .image {
    width: 100%;
    height: 75vh;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }
  #main_visual .image .image_1 {
    order: 2;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 25vh;  
  }
  #main_visual .image .image_2 {
    order: 1;
    width: 100%;
    height: 50vh;    
  }
  #main_visual .image .image_1 {
    display: flex;
    flex-wrap: wrap;
  }
  #main_visual .image .image_1 .image_1_1,
  #main_visual .image .image_1 .image_1_2,
  #main_visual .image .image_1 .image_1_3 {
    width: calc(100% / 3);
  }
  #main_visual .image_a .image_2 {
    background: #ccc url(/wp-content/uploads/images/main_img001.webp) top center no-repeat;
    background-size: cover;
  }
  #main_visual .image_b .image_2 {
    background: #ccc url(/wp-content/uploads/images/main_img002.webp) top center no-repeat;
    background-size: cover;
  }
  
  #main_visual .image_a .image_1_1 {
    background: #ddd url(/wp-content/uploads/images/main_img001_001.webp) top center no-repeat;
    background-size: cover;
  }
  #main_visual .image_b .image_1_1 {
    background: #ddd url(/wp-content/uploads/images/main_img002_001.webp) top center no-repeat;
    background-size: cover;
  }
  
  #main_visual .image_a .image_1_2 {
    background: #ddd url(/wp-content/uploads/images/main_img001_002.webp) top center no-repeat;
    background-size: cover;
  }
  #main_visual .image_b .image_1_2 {
    background: #ddd url(/wp-content/uploads/images/main_img002_002.webp) top center no-repeat;
    background-size: cover;
  }
  
  #main_visual .image_a .image_1_3 {
    background: #ddd url(/wp-content/uploads/images/main_img001_003.webp) top center no-repeat;
    background-size: cover;
  }  
  #main_visual .image_b .image_1_3 {
    background: #ddd url(/wp-content/uploads/images/main_img002_003.webp) top center no-repeat;
    background-size: cover;
  } 

  #main_content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
  }
  #catch_copy {
  }  
  #pc_nav {
    display: none;
  }
}
/******************************************************
このようなお悩みはありませんか？
******************************************************/
@media screen and (min-width:1240px) {
  #top_worry {
    padding-top: 10rem;
  }
  #top_worry .worry_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #top_worry .worry_list .list {
    position: relative;
    width: 50%;
    padding: 10rem 8rem;
    box-sizing: border-box;
  }
  #top_worry .worry_list .list:nth-child(1) {
    background: #478fb0;
  }  
  #top_worry .worry_list .list:nth-child(1):after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/images/worry_img001.webp) top center no-repeat;
    background-size: cover;
    opacity: .3;
    -ms-filter: blur(6px);
    filter: blur(6px);       
  }  
  #top_worry .worry_list .list:nth-child(2) {
    background: #d77589;
  }  
  #top_worry .worry_list .list:nth-child(2):after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/images/worry_img002.webp) top center no-repeat;
    background-size: cover;
    opacity: .3;
    -ms-filter: blur(6px);
    filter: blur(6px);       
  }    
  #top_worry .worry_list .list h3 {
    position: relative;
    margin-bottom: 5rem;
    z-index: 1;
  }
  #top_worry .worry_list .list h3 span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 500px;
    max-width: 100%;
    height: 6rem;
    margin: 0 auto;
    color: #fff;
    font-size: 2.4rem;
    text-align: center;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;      
    background: #fff;
    border-radius: 3rem;
  }
  #top_worry .worry_list .list:nth-child(1) h3 span {
    background: #478fb0;
  }
  #top_worry .worry_list .list:nth-child(2) h3 span {
    background: #d77589;
  }
  #top_worry .worry_list .list ul {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 1;
  }
  #top_worry .worry_list .list li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc((100% / 3) - 10px);
    margin-left: 15px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    font-size: 1vw;
    text-align: center;
    line-height: 1.5;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;       
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 1rem 0 rgba(0,0,0,.1);
  }
  #top_worry .worry_list .list li:nth-child(3n+1) {
    margin-left: 0;
  }
  #top_worry .worry_list .list li:nth-child(n+4) {
    margin-top: 15px;
  }
}
@media screen and (max-width:1239px) {
  #top_worry {
    padding-top: 5rem;
  }
  #top_worry .worry_list {}
  #top_worry .worry_list .list {
    position: relative;
    padding: 5rem 1.5rem;
    box-sizing: border-box;
  }
  #top_worry .worry_list .list:nth-child(1) {
    background: #478fb0;
  }  
  #top_worry .worry_list .list:nth-child(1):after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/images/worry_img001.webp) top center no-repeat;
    background-size: cover;
    opacity: .3;
    -ms-filter: blur(6px);
    filter: blur(6px);       
  }  
  #top_worry .worry_list .list:nth-child(2) {
    background: #d77589;
  }  
  #top_worry .worry_list .list:nth-child(2):after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/images/worry_img002.webp) top center no-repeat;
    background-size: cover;
    opacity: .3;
    -ms-filter: blur(6px);
    filter: blur(6px);       
  }    
  #top_worry .worry_list .list h3 {
    position: relative;
    margin-bottom: 3rem;
    z-index: 1;
  }
  #top_worry .worry_list .list h3 span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    height: 4rem;
    margin: 0 auto;
    color: #fff;
    font-size: 1.8rem;
    text-align: center;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;      
    background: #fff;
    border-radius: 2rem;
  }
  #top_worry .worry_list .list:nth-child(1) h3 span {
    background: #478fb0;
  }
  #top_worry .worry_list .list:nth-child(2) h3 span {
    background: #d77589;
  }
  #top_worry .worry_list .list ul {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 1;
  }
  #top_worry .worry_list .list li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc((100% / 2) - 5px);
    margin-left: 10px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    font-size: 1.4rem;
    text-align: center;
    line-height: 1.5;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;       
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 1rem 0 rgba(0,0,0,.1);
  }
  #top_worry .worry_list .list li:nth-child(2n+1) {
    margin-left: 0;
  }
  #top_worry .worry_list .list li:nth-child(n+3) {
    margin-top: 10px;
  }
}
/******************************************************
胃カメラ検査・大腸カメラ検査とは？
******************************************************/
@media screen and (min-width:1240px) {
  #top_about {
    padding-top: 10rem;
    background: #fff;
  }
  #top_about .about_flex {
    display: flex;
    flex-wrap: wrap;
  }
  #top_about .about_box {
    position: relative;
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;      
  }
  #top_about .about_box:nth-child(1) {
    background: #478fb0;
  }  
  #top_about .about_box:nth-child(1):after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/images/about_img001.webp) top center no-repeat;
    background-size: cover;
    opacity: .3;
    -ms-filter: blur(6px);
    filter: blur(6px);       
  }
  #top_about .about_box:nth-child(2) {
    background: #d77589;
  }    
  #top_about .about_box:nth-child(2):after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/images/about_img002.webp) top center no-repeat;
    background-size: cover;
    opacity: .3;
    -ms-filter: blur(6px);
    filter: blur(6px);       
  }
  #top_about .about_box .title {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 200px;
    padding: 5rem;
    color: #fff;
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;     
    box-sizing: border-box;
    z-index: 1;
  }
  #top_about .about_box:nth-child(1) .title {
    background: rgba(71, 143, 176, 0.7);
  }
  #top_about .about_box:nth-child(2) .title {
    background: rgba(215, 117, 137, 0.7);
  }  
  #top_about .about_box .title h3 {
    font-size: 3rem;
  }
  #top_about .about_box .comment {
    position: relative;
    width: calc(100% - 200px);
    padding: 12rem 8rem;
    color: #fff;
    box-sizing: border-box;
    z-index: 1;
    text-shadow: 0 0 .2em rgba(0,0,0,0.3);    
  }
  #top_about .about_box .comment p {
  } 
}
@media screen and (max-width:1239px) {
  #top_about {
    padding-top: 5rem;
    background: #fafafa;
  }
  #top_about .about_flex {
  }
  #top_about .about_box {
    position: relative;
    width: 100%; 
  }
  #top_about .about_box:nth-child(1) {
    background: #478fb0;
  }  
  #top_about .about_box:nth-child(1):after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/images/about_img001.webp) top center no-repeat;
    background-size: cover;
    opacity: .3;
    -ms-filter: blur(6px);
    filter: blur(6px);  
  }
  #top_about .about_box:nth-child(2) {
    background: #d77589;
  }    
  #top_about .about_box:nth-child(2):after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/images/about_img002.webp) top center no-repeat;
    background-size: cover;
    opacity: .3;
    -ms-filter: blur(6px);
    filter: blur(6px);   
  }
  #top_about .about_box .title {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    color: #fff;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;     
    box-sizing: border-box;
    z-index: 1;
  }
  #top_about .about_box:nth-child(1) .title {
    background: rgba(71, 143, 176, 0.7);
  }
  #top_about .about_box:nth-child(2) .title {
    background: rgba(215, 117, 137, 0.7);
  }  
  #top_about .about_box .title h3 {
    font-size: 2rem;
  }
  #top_about .about_box .comment {
    position: relative;
    padding: 5rem 1.5rem;
    color: #fff;
    box-sizing: border-box;
    z-index: 1;
  }
  #top_about .about_box .comment p {
  }  
}
/******************************************************
内視鏡検査を受けるべき理由
******************************************************/
@media screen and (min-width:1240px) {
  #top_reason {
    padding: 10rem 0;
  }
  #top_reason .reason_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #top_reason .reason_list .list {
    position: relative;
    width: calc(100% / 3);
    border-left: 1px solid #fff;
    box-sizing: border-box;
  }
  #top_reason .reason_list .list:nth-child(3n+1) {
    border-left: none;
  }
  #top_reason .reason_list .list:nth-child(odd) {
    background: #f6f6f6;
  }
  #top_reason .reason_list .list:nth-child(even) {
    background: #fbfbfb;
  }
  #top_reason .reason_list .list .title_cover {
    position: relative;
    background: #478fb0;
  }
  #top_reason .reason_list .list .title_cover:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    content: "";
    opacity: .3;
  }
  #top_reason .reason_list .list:nth-child(1) .title_cover:before {
    background: url(/wp-content/uploads/images/reason_img001.webp) top center no-repeat;
    background-size: cover;
  }
  #top_reason .reason_list .list:nth-child(2) .title_cover:before {
    background: url(/wp-content/uploads/images/reason_img002.webp) top center no-repeat;
    background-size: cover;
  }
  #top_reason .reason_list .list:nth-child(3) .title_cover:before {
    background: url(/wp-content/uploads/images/reason_img003.webp) top center no-repeat;
    background-size: cover;
  }  
  #top_reason .reason_list .list .title {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: #fff;
    font-size: 1.5vw;
    text-align: center;
    line-height: 1.5;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;
    z-index: 1;
  }
  #top_reason .reason_list .list .comment {
    padding: 6rem;
  }
}
@media screen and (max-width:1239px) {
  #top_reason {
    padding: 5rem 0;
  }
  #top_reason .reason_list {}
  #top_reason .reason_list .list {
    position: relative;
    border-left: 1px solid #fff;
    box-sizing: border-box;
  }
  #top_reason .reason_list .list:nth-child(3n+1) {
    border-left: none;
  }
  #top_reason .reason_list .list:nth-child(odd) {
    background: #f6f6f6;
  }
  #top_reason .reason_list .list:nth-child(even) {
    background: #fbfbfb;
  }
  #top_reason .reason_list .list .title_cover {
    position: relative;
    background: #478fb0;
  }
  #top_reason .reason_list .list .title_cover:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    content: "";
    opacity: .3;
  }
  #top_reason .reason_list .list:nth-child(1) .title_cover:before {
    background: url(/wp-content/uploads/images/reason_img001.webp) top center no-repeat;
    background-size: cover;
  }
  #top_reason .reason_list .list:nth-child(2) .title_cover:before {
    background: url(/wp-content/uploads/images/reason_img002.webp) top center no-repeat;
    background-size: cover;
  }
  #top_reason .reason_list .list:nth-child(3) .title_cover:before {
    background: url(/wp-content/uploads/images/reason_img003.webp) top center no-repeat;
    background-size: cover;
  }  
  #top_reason .reason_list .list .title {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: #fff;
    font-size: 1.8rem;
    text-align: center;
    line-height: 1.5;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;
    z-index: 1;
  }
  #top_reason .reason_list .list .comment {
    padding: 5rem 1.5rem;
  }
}
/******************************************************
よくある疾患と病気
******************************************************/
@media screen and (min-width:1240px) {
  #top_disease .disease_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #top_disease .disease_flex .flex {
    position: relative;
    width: 50%;
    padding: 10rem 0;
  }
  #top_disease .disease_flex .flex:nth-child(1) {
    background: #478fb0;
  }
  #top_disease .disease_flex .flex:nth-child(1):before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    content: "";
    background: url(/wp-content/uploads/images/disease_img001.webp) top center no-repeat;
    background-size: cover;
    opacity: .3;
    -ms-filter: blur(6px);
    filter: blur(6px);
  }
  #top_disease .disease_flex .flex:nth-child(2) {
    background: #d77589; 
  }
  #top_disease .disease_flex .flex:nth-child(2):before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    content: "";
    background: url(/wp-content/uploads/images/disease_img002.webp) top center no-repeat;
    background-size: cover;
    opacity: .3;
    -ms-filter: blur(6px);
    filter: blur(6px);    
  }  
  #top_disease .disease_flex .flex h3 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 600px;
    max-width: 100%;
    margin-bottom: 3rem;
    color: #fff;
    font-size: 3rem;
    text-align: center;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;       
    box-sizing: border-box;
    z-index: 1;
  }  
  #top_disease .disease_flex .flex h3 .icon {
    margin-bottom: 3rem;
  }
  #top_disease .disease_flex .flex:nth-child(1) h3 {
    margin-left: auto;
    padding-right: 5rem;
  }  
  #top_disease .disease_flex .flex:nth-child(1) h3 .icon {
    width: 120px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    background: url(/wp-content/uploads/images/icon_a.webp) center center no-repeat;
    background-size: contain;
  }  
  #top_disease .disease_flex .flex:nth-child(2) h3 {
    margin-right: auto;
    padding-left: 5rem;
  }
  #top_disease .disease_flex .flex:nth-child(2) h3 .icon {
    width: 120px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    background: url(/wp-content/uploads/images/icon_b.webp) center center no-repeat;
    background-size: contain;
  }    
  #top_disease .disease_list {
    position: relative;
    width: 600px;
    max-width: 100%;
    color: #fff;
    box-sizing: border-box;
    z-index: 1;
  }
  #top_disease .disease_flex .flex:nth-child(1) .disease_list {
    margin-left: auto;
    padding-right: 5rem;
  }
  #top_disease .disease_flex .flex:nth-child(2) .disease_list {
    margin-right: auto;
    padding-left: 5rem;
  }
  
  #top_disease .disease_flex .flex .disease_list .list:nth-child(n+2) {
    margin-top: 3rem;
  }
  #top_disease .disease_flex .flex .disease_list .list .title {
    margin-bottom: .8em;
    padding: .8em;
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
    background: #666;
  }
  #top_disease .disease_flex .flex:nth-child(1) .disease_list .list .title {
    background: rgba(71, 143, 176, 0.7);
  }
  #top_disease .disease_flex .flex:nth-child(2) .disease_list .list .title {
    background: rgba(215, 117, 137, 0.7);
  }  
  #top_disease .disease_flex .flex .disease_list .list .comment br {
    display: none;
  }
}
@media screen and (max-width:1239px) {
  #top_disease .disease_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #top_disease .disease_flex .flex {
    position: relative;
    padding: 5rem 1.5rem;
  }
  #top_disease .disease_flex .flex:nth-child(1) {
    background: #478fb0;
  }
  #top_disease .disease_flex .flex:nth-child(1):before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    content: "";
    background: url(/wp-content/uploads/images/disease_img001.webp) top center no-repeat;
    background-size: cover;
    opacity: .3;
    -ms-filter: blur(6px);
    filter: blur(6px);
  }
  #top_disease .disease_flex .flex:nth-child(2) {
    background: #d77589; 
  }
  #top_disease .disease_flex .flex:nth-child(2):before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    content: "";
    background: url(/wp-content/uploads/images/disease_img002.webp) top center no-repeat;
    background-size: cover;
    opacity: .3;
    -ms-filter: blur(6px);
    filter: blur(6px);    
  }  
  #top_disease .disease_flex .flex h3 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    color: #fff;
    font-size: 1.8rem;
    text-align: center;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;       
    box-sizing: border-box;
    z-index: 1;
  }  
  #top_disease .disease_flex .flex h3 .icon {
    margin-bottom: 3rem;
  }
  #top_disease .disease_flex .flex:nth-child(1) h3 .icon {
    width: 120px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    background: url(/wp-content/uploads/images/icon_a.webp) center center no-repeat;
    background-size: contain;
  }  
  #top_disease .disease_flex .flex:nth-child(2) h3 .icon {
    width: 120px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    background: url(/wp-content/uploads/images/icon_b.webp) center center no-repeat;
    background-size: contain;
  }    
  #top_disease .disease_list {
    position: relative;
    color: #fff;
    box-sizing: border-box;
    z-index: 1;
  }  
  #top_disease .disease_flex .flex .disease_list .list:nth-child(n+2) {
    margin-top: 3rem;
  }
  #top_disease .disease_flex .flex .disease_list .list .title {
    margin-bottom: .8em;
    padding: .8em;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1;
    background: #666;
  }
  #top_disease .disease_flex .flex:nth-child(1) .disease_list .list .title {
    background: rgba(71, 143, 176, 0.7);
  }
  #top_disease .disease_flex .flex:nth-child(2) .disease_list .list .title {
    background: rgba(215, 117, 137, 0.7);
  }  
  #top_disease .disease_flex .flex .disease_list .list .comment br {
    display: none;
  }
}
/******************************************************
当院の内視鏡検査が選ばれる理由
******************************************************/
@media screen and (min-width:1240px) {
  #top_feature {
    padding: 10rem 0;
  }
  /* 01 */
  #top_feature .feature_box_1_cover {
    position: relative;
  }
  #top_feature .feature_box_1_cover:after {
    position: absolute;
    top: 100%;
    left: 0;
    display: block;
    content: "";
    width: calc(100% - 10rem);
    height: 16rem;
    background: #d1e3eb;
    z-index: -1;
  }
  #top_feature .feature_box_1_cover .feature_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row-reverse;
    margin: 16rem 0;
    background: #a3c7d7;
  }
  #top_feature .feature_box_1_cover .feature_box .image {
    width: 50%;
    margin-top: -8rem;
    margin-bottom: 8rem;
  }
  #top_feature .feature_box_1_cover .feature_box .text {
    position: relative;
    margin-top: 8rem;
    margin-bottom: -8rem;
    width: 50%;
    padding: 5rem 10rem;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 0 1rem rgba(0,0,0,.1);
  }
  #top_feature .feature_box_1_cover .feature_box .text_cover {
    position: relative;
    z-index: 2;
  }
  #top_feature .feature_box_1_cover .feature_box .text:before {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: block;
    content: "";
    width: calc(100% - 2rem);
    height: calc(100% - 2rem);
    box-sizing: border-box;
    border: 1px solid #333;
    z-index: 1;
  }
  #top_feature .feature_box_1_cover .feature_box .text:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    clip-path: polygon(100% 65%, 65% 100%, 100% 100%);
    background: #f2f2f2;
  }
  /* 02,03 */
  #top_feature .feature_box_2_cover {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 24rem 0 16rem;
  }
  #top_feature .feature_box_2_cover .feature_box {
    width: 50%;
    display: flex;
    flex-direction: column;
  }

  
  #top_feature .feature_box_2_cover .feature_box .image {
    position: relative;
    width: 80%;
    margin: 0 auto;
    margin-bottom: -8rem;
    z-index: 1;
  }
  #top_feature .feature_box_2_cover .feature_box .text {
    position: relative;
    flex-grow: 1;
    padding: 16rem 10rem 5rem;
    box-sizing: border-box;  
    
    
  }
  #top_feature .feature_box_2_cover .feature_box:nth-child(1) .text {
    background: #fbfbfb;
  }
  #top_feature .feature_box_2_cover .feature_box:nth-child(1) .text:before {
    position: absolute;
    bottom: 100%;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 16rem;
    background: #a3c7d7;
  }
  #top_feature .feature_box_2_cover .feature_box:nth-child(1) .text:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    clip-path: polygon(0 65%, 0 100%, 35% 100%);
    background: #d1e3eb;
  }  
  
  
  #top_feature .feature_box_2_cover .feature_box:nth-child(2) .text {
    background: #f6f6f6;
  }
  #top_feature .feature_box_2_cover .feature_box:nth-child(2) .text:before {
    position: absolute;
    bottom: 100%;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 16rem;
    background: #d1e3eb;
  }
  #top_feature .feature_box_2_cover .feature_box:nth-child(2) .text:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    clip-path: polygon(100% 65%, 65% 100%, 100% 100%);
    background: #a3c7d7;
  }  
  #top_feature .feature_box_2_cover .feature_box .text_cover {
    position: relative;
    z-index: 1;
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  /* 04 */
  #top_feature .feature_box_4_cover {
    position: relative;
  }
  #top_feature .feature_box_4_cover:after {
    position: absolute;
    top: 100%;
    right: 0;
    display: block;
    content: "";
    width: calc(100% - 10rem);
    height: 16rem;
    background: #d1e3eb;
    z-index: -1;
  }
  #top_feature .feature_box_4_cover .feature_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 16rem 0;
    background: #a3c7d7;
  }
    #top_feature .feature_box_4_cover .image {
    width: 50%;
    margin-top: -8rem;
    margin-bottom: 8rem;
  }
    #top_feature .feature_box_4_cover .text {
    position: relative;
    margin-top: 8rem;
    margin-bottom: -8rem;
    width: 50%;
    padding: 5rem 10rem;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 0 1rem rgba(0,0,0,.1);
  }
    #top_feature .feature_box_4_cover .text_cover {
    position: relative;
    z-index: 2;
  }
    #top_feature .feature_box_4_cover .text:before {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: block;
    content: "";
    width: calc(100% - 2rem);
    height: calc(100% - 2rem);
    box-sizing: border-box;
    border: 1px solid #333;
    z-index: 1;
  }
    #top_feature .feature_box_4_cover .text:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    clip-path: polygon(100% 65%, 65% 100%, 100% 100%);
    background: #f2f2f2;
  }

  
  
  #top_feature .feature_box .number_title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;       
  }
  #top_feature  .feature_box .number_title .number span {
    position: relative;
    display: inline-block;
    padding: 0 2em;
    font-size: 8rem;
    color: #478fb0;
  }
  #top_feature  .feature_box .number_title .number span:first-letter {
    color: #333;
  }
  #top_feature  .feature_box .number_title .number span:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 1.5em;
    height: 1px;
    background: #ccc;
  }
  #top_feature  .feature_box .number_title .number span:after {
    position: absolute;
    top: 50%;
    right: 0;
    display: block;
    content: "";
    width: 1.5em;
    height: 1px;
    background: #ccc;
  }  
  #top_feature  .feature_box h3 {
    margin-bottom: 3rem;
    font-size: 2.4rem;
    text-align: center;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;    
  }  
  
  
}
@media screen and (max-width:1239px) {
  #top_feature {
    padding: 5rem 0 0;
  }
  #top_feature .feature_box .image img {
    width: 100%;
    height: auto;
  }
  #top_feature .feature_box .text {
    padding: 5rem 1.5rem;
  }  
  #top_feature .feature_box .number_title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;       
  }
  #top_feature  .feature_box .number_title .number span {
    position: relative;
    display: inline-block;
    padding: 0 2em;
    font-size: 4rem;
    color: #478fb0;
  }
  #top_feature  .feature_box .number_title .number span:first-letter {
    color: #333;
  }
  #top_feature  .feature_box .number_title .number span:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 1.5em;
    height: 1px;
    background: #ccc;
  }
  #top_feature  .feature_box .number_title .number span:after {
    position: absolute;
    top: 50%;
    right: 0;
    display: block;
    content: "";
    width: 1.5em;
    height: 1px;
    background: #ccc;
  }  
  #top_feature  .feature_box h3 {
    margin-bottom: 3rem;
    font-size: 1.8rem;
    text-align: center;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;    
  }  
  
  
}
/******************************************************
内視鏡検査の流れ
******************************************************/
@media screen and (min-width:1240px) {
  #top_flow {
    padding: 10rem 0;
    background: #fbfbfb;
  }
  #top_flow .flow_btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #top_flow .flow_btn .btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-algin: center;
    font-size: 2.4rem;
    font-weight: 600;
    width: calc(50% - 2px);
    height: 8rem;
    cursor: pointer;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;    
  }
  #top_flow .flow_btn .btn:hover {
    opacity: .7;
  }
  #top_flow .flow_btn .btn.btn_a {
    background: #478fb0;
  }
  #top_flow .flow_btn .btn.btn_b {
    background: #d77589;
  }
  #top_flow .flow_contents .content {
    display: none;
    padding: 6rem;
    box-sizing: border-box;
  }
  #top_flow .flow_contents .content.active {
    display: block;
  }
  #top_flow .flow_contents .content.content_a {
    border: 1px solid #478fb0;
    background: #fff;
  }
  #top_flow .flow_contents .content.content_b {
    border: 1px solid #d77589;
    background: #fff;
  }
  #top_flow .flow_list .list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #top_flow .flow_list .list:nth-child(even) {
    flex-direction: row-reverse;
  }
  #top_flow .flow_list .list:nth-child(n+2) {
    margin-top: 4rem;
  }
  #top_flow .flow_list .list .image {
    width: calc(45% - 2rem);
  }
  #top_flow .flow_list .list .text {
    width: calc(55% - 2rem);
  }
  #top_flow .flow_list .list .text h3 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1em;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;      
  }
  #top_flow .flow_list .list .text h3 .number {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    color: #fff;
    text-align: center;
    line-height: 1;
    background: #478fb0;
  }
  #top_flow .content_b .flow_list .list .text h3 .number {
    background: #d77589;
  }
  #top_flow .flow_list .list .text h3 .title {
    margin-left: 1em;
    font-size: 2.4rem;
    line-height: 1.5;
  }     
  #top_flow .flow_list .list .text .comment br {
    display: none;
  }
}
@media screen and (max-width:1239px) {
  #top_flow {
    padding: 5rem 0;
    background: #fbfbfb;  
  }
  #top_flow .flow_btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #top_flow .flow_btn .btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-algin: center;
    font-size: 1.4rem;
    font-weight: 600;
    width: calc(50% - 1px);
    height: 6rem;
    cursor: pointer;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;    
  }
  #top_flow .flow_btn .btn.btn_a {
    background: #478fb0;
  }
  #top_flow .flow_btn .btn.btn_b {
    background: #d77589;
  }
  #top_flow .flow_contents .content {
    display: none;
    padding: 3rem 1.5rem;
    box-sizing: border-box;
  }
  #top_flow .flow_contents .content.active {
    display: block;
  }
  #top_flow .flow_contents .content.content_a {
    border: 1px solid #478fb0;
    background: #fff;
  }
  #top_flow .flow_contents .content.content_b {
    border: 1px solid #d77589;
    background: #fff;
  }
  #top_flow .flow_list .list {}
  #top_flow .flow_list .list:nth-child(n+2) {
    margin-top: 3rem;
  }
  #top_flow .flow_list .list .image {
    margin-bottom: 1em;
    text-align: center;
  }
  #top_flow .flow_list .list .text {}
  #top_flow .flow_list .list .text h3 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1em;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;      
  }
  #top_flow .flow_list .list .text h3 .number {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    color: #fff;
    text-align: center;
    line-height: 1;
    background: #478fb0;
  }
  #top_flow .content_b .flow_list .list .text h3 .number {
    background: #d77589;
  }
  #top_flow .flow_list .list .text h3 .title {
    margin-left: 1em;
    font-size: 1.6rem;
    line-height: 1.5;
  }     
  #top_flow .flow_list .list .text .comment br {
    display: none;
  }
}
/******************************************************
お問い合わせ
******************************************************/
@media screen and (min-width:1240px) {
  #top_contact {
    padding: 10rem 0;
    color: #fff;
    background: url(/wp-content/uploads/images/bg_contact.webp) center center no-repeat;
    background-size: cover;
  }
  #top_contact .main_title .eng {
    color: #fff;
    background: none;
    -webkit-text-fill-color: #fff;     
  }  
  #top_contact .contact_comment {    
    margin-bottom: 5rem;
    font-size: 2.4rem;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;      
    text-align: center;
  }
  #top_contact .banner_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #top_contact .banner_list .list {
    width: calc((100% / 3) - 20px);
    background: #fff;
  }
  #top_contact .banner_list .list a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 10rem;
    color: #fff;
    font-size: 2.4rem;
    text-align: center;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif; 
    box-shadow: 0 0 1rem 0 rgba(0,0,0,.1);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;    
  }
  #top_contact .banner_list .list a:hover {
    opacity: .7;
  }
  #top_contact .banner_list .list a.tel {
    background: #478fb0;
  }
  #top_contact .banner_list .list a.tel:before {
    content: "";
    width: 1em;
    height: 1em;
    margin-right: .5em;
    background: url(/wp-content/uploads/images/icon_tel.webp) center center no-repeat;
    background-size: contain;
  }
  #top_contact .banner_list .list a.web {
    background: #d77589;
  }
  #top_contact .banner_list .list a.web:before {
    content: "";
    width: 1em;
    height: 1em;
    margin-right: .5em;
    background: url(/wp-content/uploads/images/icon_web.webp) center center no-repeat;
    background-size: contain;
  }  
  #top_contact .banner_list .list a.line {
    background: #2dae37;
  }
  #top_contact .banner_list .list a.line:before {
    content: "";
    width: 1em;
    height: 1em;
    margin-right: .5em;
    background: url(/wp-content/uploads/images/icon_line.webp) center center no-repeat;
    background-size: contain;
  }  
}
@media screen and (max-width:1239px) {
  #top_contact {
    padding: 5rem 0;
    color: #fff;
    background: url(/wp-content/uploads/images/bg_contact.webp) center center no-repeat;
    background-size: cover;
  }
  #top_contact .main_title .eng {
    color: #fff;
    background: none;
    -webkit-text-fill-color: #fff;     
  }  
  #top_contact .contact_comment {    
    margin-bottom: 3rem;
    font-size: 1.8rem;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;      
    text-align: center;
  }
  #top_contact .banner_list {}
  #top_contact .banner_list .list {
    background: #fff;
  }
  #top_contact .banner_list .list:nth-child(n+2) {
    margin-top: 1.5rem;
  }
  #top_contact .banner_list .list a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 7rem;
    color: #fff;
    font-size: 2rem;
    text-align: center;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif; 
    box-shadow: 0 0 1rem 0 rgba(0,0,0,.1);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;    
  }
  #top_contact .banner_list .list a.tel {
    background: #478fb0;
  }
  #top_contact .banner_list .list a.tel:before {
    content: "";
    width: 1em;
    height: 1em;
    margin-right: .5em;
    background: url(/wp-content/uploads/images/icon_tel.webp) center center no-repeat;
    background-size: contain;
  }
  #top_contact .banner_list .list a.web {
    background: #d77589;
  }
  #top_contact .banner_list .list a.web:before {
    content: "";
    width: 1em;
    height: 1em;
    margin-right: .5em;
    background: url(/wp-content/uploads/images/icon_web.webp) center center no-repeat;
    background-size: contain;
  }  
  #top_contact .banner_list .list a.line {
    background: #2dae37;
  }
  #top_contact .banner_list .list a.line:before {
    content: "";
    width: 1em;
    height: 1em;
    margin-right: .5em;
    background: url(/wp-content/uploads/images/icon_line.webp) center center no-repeat;
    background-size: contain;
  }  
}
/******************************************************
ごあいさつ
******************************************************/
@media screen and (min-width:1240px) {
  #top_greeting {
    padding: 10rem 0;
    background: url(/wp-content/uploads/images/bg_greeting.webp) top left no-repeat;
    background-size: cover;
  }
  #top_greeting .greeting_flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin-bottom: 8rem;
  }
  #top_greeting .greeting_flex .image {
    width: 480px;
    box-shadow: 1rem 1rem 0 rgba(71,143,176,1);
  }
  #top_greeting .greeting_flex .text {
    position: relative;
    width: calc((100% - 480px) + 8rem);
    margin-top: 8rem;
    margin-right: -8rem;
    margin-bottom: -8rem;
    padding: 6rem;
    background: rgba(255,255,255,.7);
    box-sizing: border-box;
    z-index: 1;
  }
  #top_greeting .greeting_flex .text h2 {
    position: relative;
    margin-bottom: 1em;
  }
  #top_greeting .greeting_flex .text h2 .eng {
    position: absolute;
    top: -.8em;
    left: -.8em;
    color: #478fb0;
    font-size: 8rem;
    line-height: 1;
    font-family: "Italianno", cursive;
    font-weight: 400;
    font-style: normal;
    transform: rotate(-15deg);
    transform-origin: bottom left;
  }
  #top_greeting .greeting_flex .text h2 .jap {
    font-size: 3rem;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;        
  }
  #top_greeting .greeting_flex .text .comment {
    margin-bottom: 2em;
  }
  #top_greeting .greeting_flex .text .name {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    line-height: 1;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;     
  }
  #top_greeting .greeting_flex .text .name .jap {
    font-size: 2rem;
    font-weight: 600;
  }
  #top_greeting .greeting_flex .text .name .jap span {
    margin-left: .5em;
    font-size: 3rem;
  }
  #top_greeting .greeting_flex .text .name .eng {
    margin-left: 1em;
    color: #478fb0;
    font-size: 2rem;
  }
  #top_greeting .career_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #top_greeting .career_list .list {
    width: calc(50% - 2rem);
    padding: 4rem;
    color: #fff;
    background: rgba(149, 187, 88, .9);    
    box-sizing: border-box;
  }
  #top_greeting .career_list .list h3 {
    margin-bottom: .5em;
    padding-bottom: .5em;
    font-size: 2.4rem;
    border-bottom: 1px solid #fff;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;      
  }
  #top_greeting .career_list .list li {
    position: relative;
    padding-left: 1.5em;
  }
  #top_greeting .career_list .list li:before {
    position: absolute;
    top: 0;
    left: 0;
    content: "・";
  }
}
@media screen and (max-width:1239px) {
  #top_greeting {
    padding: 5rem 0;
    background: url(/wp-content/uploads/images/bg_greeting.webp) top left no-repeat;
    background-size: cover;
  }
  #top_greeting .greeting_flex {
    margin-bottom: 1.5rem;
  }
  #top_greeting .greeting_flex .image {
    text-align: center;
  }
  #top_greeting .greeting_flex .image img {
    width: 60%;
  }
  #top_greeting .greeting_flex .text {
    position: relative;
    padding: 3rem 1.5rem;
    background: rgba(255,255,255,.7);
    box-sizing: border-box;
    z-index: 1;
  }
  #top_greeting .greeting_flex .text h2 {
    position: relative;
    margin-bottom: 1em;
  }
  #top_greeting .greeting_flex .text h2 .eng {
    position: absolute;
    top: -1.2em;
    left: -.4em;
    color: #478fb0;
    font-size: 4rem;
    line-height: 1;
    font-family: "Italianno", cursive;
    font-weight: 400;
    font-style: normal;
    transform: rotate(-15deg);
    transform-origin: bottom left;
  }
  #top_greeting .greeting_flex .text h2 .jap {
    font-size: 2rem;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;        
  }
  #top_greeting .greeting_flex .text .comment {
    margin-bottom: 2em;
  }
  #top_greeting .greeting_flex .text .name {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    line-height: 1;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;     
  }
  #top_greeting .greeting_flex .text .name .jap {
    font-weight: 600;
  }
  #top_greeting .greeting_flex .text .name .jap span {
    margin-left: .5em;
    font-size: 2rem;
  }
  #top_greeting .greeting_flex .text .name .eng {
    margin-left: 1em;
    color: #478fb0;
  }
  #top_greeting .career_list {}
  #top_greeting .career_list .list {
    padding: 3rem 1.5rem;
    color: #fff;
    background: rgba(149, 187, 88, .9);    
    box-sizing: border-box;
  }
  #top_greeting .career_list .list:nth-child(n+2) {
    margin-top: 1.5rem;
  }
  #top_greeting .career_list .list h3 {
    margin-bottom: .5em;
    padding-bottom: .5em;
    font-size: 2rem;
    border-bottom: 1px solid #fff;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;      
  }
  #top_greeting .career_list .list li {
    position: relative;
    padding-left: 1.5em;
  }
  #top_greeting .career_list .list li:before {
    position: absolute;
    top: 0;
    left: 0;
    content: "・";
  }
}
/******************************************************
スライダー
******************************************************/
@media screen and (min-width:1240px) {
  #top_slider {
    margin-bottom: 10rem;
  }
  .simply-scroll-container {
    position: relative;
  }
  .simply-scroll-clip {
    position: relative;
    overflow: hidden; 
  }
  .simply-scroll-list {
    overflow: hidden;
    margin: 0;
    padding: 0;
  }
  .simply-scroll-list .image {
    float: left; 
    margin: 0;
  }    
  #top_slider .simply-scroll-list .image {
    width: 360px;
    height: 240px;
    padding: 0 1rem;
  }
  .simply-scroll-list .image img {
    display: block;
  }   
}
@media screen and (max-width:1239px) {
  #top_slider {
    margin-bottom: 1.5rem;
  }
  .simply-scroll-container {
    position: relative;
  }
  .simply-scroll-clip {
    position: relative;
    overflow: hidden; 
  }
  .simply-scroll-list {
    overflow: hidden;
    margin: 0;
    padding: 0;
  }
  .simply-scroll-list .image {
    float: left; 
    margin: 0;
  }    
  #top_slider .simply-scroll-list .image {
    width: 240px;
    height: 160px;
    padding: 0 .5rem;
  }
  .simply-scroll-list .image img {
    display: block;
  }   
}
/******************************************************
医院情報
******************************************************/
@media screen and (min-width:1240px) {
  #top_clinic {
    padding: 2rem;
    background: #478fb0;
  }
  #top_clinic .clinic_information {
    padding: 10rem 0;
    background: #fff;
    background-size: cover;
  }
  #top_clinic .clinic_logo {
    margin-bottom: 8rem;
    text-align: center;
  }
  #top_clinic .clinic_logo img {
    width: auto;
    height: 12rem;
  }
  #top_clinic .clinic_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 1300px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5rem;
    box-sizing: border-box;    
  }
  #top_clinic .clinic_flex .clinic_data {
    width: calc(50% - 3rem);
  }
  #top_clinic .clinic_flex .clinic_data table {
    width: 100%;
    table-layout: fixed;
  }
  #top_clinic .clinic_flex .clinic_data th,
  #top_clinic .clinic_flex .clinic_data td {
    padding: .8em;
    border-bottom: 1px solid #ccc;
  }
  #top_clinic .clinic_flex .clinic_data th {
    width: 25%;
  }
  #top_clinic .clinic_flex .clinic_schedule {
    width: calc(50% - 3rem);
  }
  #top_clinic .clinic_flex .clinic_schedule table {
    width: 100%;
    margin-bottom: 1em;
    background: #f4f7f8;
  }
  #top_clinic .clinic_flex .clinic_schedule th,
  #top_clinic .clinic_flex .clinic_schedule td {
    padding: .8em;
    text-align: center;
  }
  #top_clinic .clinic_flex .clinic_schedule tr:first-child {
    color: #fff;
    background: #478fb0;
  }
  #top_clinic .clinic_flex .clinic_schedule tr:nth-child(2) {
    border-bottom: 1px solid #ccc;
  }
  #top_clinic .clinic_flex .clinic_schedule p {
    text-align: right;
  }
}
@media screen and (max-width:1239px) {
  #top_clinic {
    padding: 1.5rem;
    background: #478fb0;
  }
  #top_clinic .clinic_information {
    margin-bottom: 1.5rem;
    padding: 5rem 0;
    background: #fff;
  }
  #top_clinic .clinic_logo {
    margin-bottom: 3rem;
    text-align: center;
  }
  #top_clinic .clinic_logo img {
    width: auto;
    height: 8rem;
  }
  #top_clinic .clinic_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;    
  }
  #top_clinic .clinic_flex .clinic_data {
    margin-bottom: 3rem;
  }
  #top_clinic .clinic_flex .clinic_data table {
    width: 100%;
    table-layout: fixed;
  }
  #top_clinic .clinic_flex .clinic_data th,
  #top_clinic .clinic_flex .clinic_data td {
    padding: .5em;
    border-bottom: 1px solid #ccc;
  }
  #top_clinic .clinic_flex .clinic_data th {
    width: 70px;
  }
  #top_clinic .clinic_flex .clinic_schedule {}
  #top_clinic .clinic_flex .clinic_schedule table {
    width: 100%;
    margin-bottom: 1em;
    background: #f4f7f8;
  }
  #top_clinic .clinic_flex .clinic_schedule th,
  #top_clinic .clinic_flex .clinic_schedule td {
    padding: .5em;
    font-size: 1.2rem;
    text-align: center;
  }
  #top_clinic .clinic_flex .clinic_schedule tr:first-child {
    color: #fff;
    background: #478fb0;
  }
  #top_clinic .clinic_flex .clinic_schedule tr:nth-child(2) {
    border-bottom: 1px solid #ccc;
  }
  #top_clinic .clinic_flex .clinic_schedule p {
    text-align: left;
  }
}