@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=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&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: #616263;
	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", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", 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.6;
}
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;
}
img {
  max-width: 100%;
	height: auto;
  vertical-align: middle;
}
a {
  color: #616263;
  text-decoration: none;
  vertical-align: baseline;
  border:none;
  outline:none;
}
span, time {
  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 zoomUp {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.add-animation {
  animation: zoomUp 10s linear 0s normal both;
}
/******************************************************
レスポンシブ
******************************************************/
.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;}
}

/******************************************************
ヘッダー
******************************************************/
@media screen and (min-width:1280px) {
  #h_cover {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    padding: 1.5rem;
    padding-right: calc(100px + 3rem);
    box-sizing: border-box;
    z-index: 100;
  }
  #h_logo {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #h_logo .image {
    width: 280px;
    height: 50px;
    margin-bottom: .5rem;
    box-sizing: border-box;
    background: url(/wp-content/uploads/images/clinic_logo.webp) center center no-repeat;
    background-size: contain;
  }
  #h_logo .image img {
    display: none;
  }
  #h_logo .type {
    width: 280px;
    margin-left: 2rem;
    color: #fff;
    font-size: 1.6rem;
    text-align: center;
    line-height: 3.2rem;
    background: #69baed;
  }
  #h_btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-family: "Noto Serif JP", serif;
  }
  #h_btn .btn {
    position: relative;
    width: 300px;
    margin-left: 1.5rem;
  }
  #h_btn .btn a {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;    
    height: 100px; 
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
    box-sizing: border-box;
  }
  #h_btn .btn a:hover {
    opacity: .7;
  }
  #h_btn .btn a .title {
    font-size: 1.6rem;
    line-height: 3rem;
  }
  #h_btn .btn a .logo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 2.4rem;
    line-height: 3rem;
  }
  
  /* 電話番号 */
  #h_btn .btn a.tel {
    color: #69baed;
    background: #fff;
  }
  #h_btn .btn a.tel:after {
    content: "";
    position: absolute;
    border-left: 30px solid #69baed;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    bottom: -20px;
    right: -5px;
    width: 0;
    height: 0;
    transform: rotate(45deg);
  }
  #h_btn .btn a.tel .logo {
    color: #69baed;
  }
  #h_btn .btn a.tel .logo .icon {
    content: "";
    width: 3rem;
    height: 3rem;
    margin-right: 1rem;
    line-height: 3rem;
    background: url(/wp-content/uploads/images/icon_phone_beige.webp) center center;
    background-size: contain;
  }
  /* フォーム */
  #h_btn .btn a.form {
    color: #fff;
    background: #69baed;
  }
  #h_btn .btn a.form:after {
    content: "";
    position: absolute;
    border-left: 30px solid #fff;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    bottom: -20px;
    right: -5px;
    width: 0;
    height: 0;
    transform: rotate(45deg);
  }
  #h_btn .btn a.form .logo {
    color: #fff;
  }
  #h_btn .btn a.form .logo .icon {
    content: "";
    width: 3rem;
    height: 3rem;
    margin-right: 1rem;
    line-height: 3rem;
    background: url(/wp-content/uploads/images/icon_plane.webp) center center;
    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: #bbdc62;
    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: 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: 10px;
    text-align: center;
    font-family: "Noto Serif JP", serif;
  }
  
  /* メニュー全体 */
  #h_nav {
    background: rgba(255,255,255,.95);
    display: block;
    width: 480px;
    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: 1em;
    padding-left: 1.5em;
    border-bottom: 1px solid #f2f2f2;
  }
  #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: #69baed;
  }
}
@media screen and (max-width:1279px) {
  #header {
    height: 6rem;
  }
  #h_cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 100;
    background: #fff;    
  }
  #h_logo {
    padding: 2rem 1.5rem;
    padding-right: 7.2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  #h_logo .image {
  }
  #h_logo .image img {
    display: block;
    height: 1.6rem;
    vertical-align: middle;
  }
  #h_logo .type {
    margin-left: 1rem;
    padding: .5rem;
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    text-align: left;
    background: #69baed;
  }
  
  #h_btn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }
  #h_btn .btn {
    width: calc(100% / 2);
  }
  #h_btn .btn a {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem .5rem;    
    box-sizing: border-box;
  }
  #h_btn .btn a .title {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  #h_btn .btn a .logo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    line-height: 2.5rem;
  }
  
  /* 電話番号 */
  #h_btn .btn a.tel {
    color: #69baed;
    background: #fff;
  }

  #h_btn .btn a.tel .logo {
    font-weight: 500;
  }
  #h_btn .btn a.tel .logo .icon {
    content: "";
    width: 2rem;
    height: 2rem;
    margin-right: .4rem;
    line-height: 2rem;
    background: url(/wp-content/uploads/images/icon_phone_beige.webp) center center;
    background-size: contain;
  }
  /* フォーム */
  #h_btn .btn a.form {
    color: #fff;
    background: #69baed;
  }

  #h_btn .btn a.form .logo {
    color: #fff;
    font-weight: 500;
  }
  #h_btn .btn a.form .logo .icon {
    content: "";
    width: 2rem;
    height: 2rem;
    margin-right: .4rem;
    line-height: 2rem;
    background: url(/wp-content/uploads/images/icon_plane.webp) center center;
    background-size: contain;
  }  
  #h_toggle_btn {
    position: fixed;
    display: block;
    width: 60px;
    height: 60px;
    top: 0;
    right: 0;
    z-index: 101;
    color: #fff;
    background: #bbdc62;
    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: 26px;
    height: 1px;
    background: #fff;
    position: absolute;
    left: 17px;
    -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: 22px;
  }
  #h_toggle_btn span:nth-child(3){
    top: 28px;
  }
  #h_toggle_btn.open {
    z-index: 10004;
  }
  #h_toggle_btn.open span {
    color: #fff;
  }
  #h_toggle_btn.open span:nth-child(1) {
    top: 22px;
    -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: 22px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
    background: #fff;
  }  
  #h_toggle_btn div {
    position: absolute;
    width: 100%;
    bottom: .8rem;
    font-size: 1rem;
    text-align: center;
  }
  
  /* メニュー全体 */
  #h_nav {
    background: rgba(255,255,255,.9);
    display: block;
    width: 280px;
    max-width: 100%;
    height: 100%;
    padding: 9rem 3rem 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: 1em;
    padding-left: 1.5em;
    border-bottom: 1px solid #f2f2f2;
  }
  #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: #69baed;
  }
  #h_nav .link_btn a {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 5rem;
    color: #ffd7b9;
    border: 1px solid #ffd7b9;
    background: #fff;
    box-sizing: border-box;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;    
  }
  #h_nav .link_btn a:hover {
    opacity: .7;
  }
  #h_nav .link_btn a:after {
    position: absolute;
    display: block;
    content: "\f105";
    font-family: "FontAwesome";
    top: 50%;
    right: 1em;
    margin-top: -.5em;
    line-height: 1; 
  }
  #h_nav .link_btn a .logo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
  #h_nav .link_btn a .logo .icon {
    content: "";
    width: 2rem;
    height: 2rem;
    margin-right: 1rem;
    line-height: 2rem;
    background: url(/wp-content/uploads/images/icon/icon_logo.png) center center;
    background-size: contain;
  }  
}

/******************************************************
フッター
******************************************************/
@media screen and (min-width:1240px) {
  #f_map {
    margin-bottom: -24rem;
  }
  #f_map .map {
    height: 0;
    overflow: hidden;
    padding-bottom: 48rem;
    position: relative;
  }
  #f_map .map iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
  }  
  
  #footer {
    padding-top: 30rem;
    color: #fff;
    background: url(/wp-content/uploads/images/bg_footer.webp) top center no-repeat;
    background-size: cover;
  }
  #footer a {
    color: #fff;
  }
  #f_inner {
    width: 1300px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5rem;
    box-sizing: border-box;
  }
  #f_nav_list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 5rem;
  }
  #f_nav_list .list {
    position: relative;
    width: calc(100% / 3);
    margin-bottom: 2em;
    padding-left: 1.2em;
    line-height: 1;
    box-sizing: border-box;
  }
  #f_nav_list .list:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 0;
    height: 0;
    margin-top: -.2em;
    line-height: 1;
    border-left: .6em solid #fff;
    border-top: .4em solid transparent;
    border-bottom: .4em solid transparent;      
  }
  #f_nav_list .list.order_001 {order:1;}
  #f_nav_list .list.order_002 {order:2;}
  #f_nav_list .list.order_003 {order:3;}
  #f_nav_list .list.order_004 {order:4;}
  #f_nav_list .list.order_005 {order:5;}
  #f_nav_list .list.order_006 {order:6;}
  #f_nav_list .list.order_007 {order:7;}
  #f_nav_list .list.order_008 {order:8;}
  #f_nav_list .list.order_009 {order:9;}
  #f_nav_list .list.order_010 {order:10;}
  
  
  
  #f_banner_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #f_banner_list .list {
    width: calc(50% - 10px);
  }
  #copyright {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 6rem 0;
    text-align: center;
  }
  #copyright .mg_logo img {
    width: auto;
    height: 5rem;
  }
  #copyright .mg_logo:after {
    display: inline-block;
    content: "";
    margin: 0 1em;
    width: 1px;
    height: 2rem;
    background: #fff;
    vertical-align: middle;
  }
}
@media screen and (max-width:1239px) {
  #f_map {
    padding-bottom: 1.5rem;
  }
  #f_map .map {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
  }
  #f_map .map iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
  }  
  
  #footer {
    padding: 5rem 0 11rem;
    color: #fff;
    background: url(/wp-content/uploads/images/bg_footer.webp) top center no-repeat;
    background-size: cover;
  }
  #footer a {
    color: #fff;
  }
  #f_inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
  }
  #f_nav_list {
    margin-bottom: 3rem;
  }
  #f_nav_list .list {
    position: relative;
    margin-bottom: 1em;
    padding-left: 1.2em;
    line-height: 1;
    box-sizing: border-box;
  }
  #f_nav_list .list:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 0;
    height: 0;
    margin-top: -.2em;
    line-height: 1;
    border-left: .6em solid #fff;
    border-top: .4em solid transparent;
    border-bottom: .4em solid transparent;      
  }
  #f_nav_list .list.order_001 {order:1;}
  #f_nav_list .list.order_002 {order:2;}
  #f_nav_list .list.order_003 {order:3;}
  #f_nav_list .list.order_004 {order:4;}
  #f_nav_list .list.order_005 {order:5;}
  #f_nav_list .list.order_006 {order:6;}
  #f_nav_list .list.order_007 {order:7;}
  #f_nav_list .list.order_008 {order:8;}
  #f_nav_list .list.order_009 {order:9;}
  #f_nav_list .list.order_010 {order:10;}
  
  
  
  #f_banner_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
  }
  #f_banner_list .list:nth-child(n+2) {
    margin-top: 1.5rem;
  }

  #copyright {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
  #copyright .mg_logo {
    margin-bottom: 1rem;
  }
  #copyright .mg_logo img {
    width: auto;
    height: 4rem;
  }

  #copyright .copy {
    text-align: center;
  }
  
  
}
/******************************************************
トップページ
******************************************************/
@media screen and (min-width:1240px) {
  /* タイトル */
  .main_title {
    display: flex;
    flex-direction: column;
    text-align: center;    
    margin-bottom: 6rem;
  }
  .main_title .eng {
    color: #69baed;
    font-size: 12rem;
    font-family: "Cormorant Garamond", serif;
    line-height: 1;
  }
  .main_title .jap {
    font-size: 3.6rem;
    font-weight: 600;
  }
  
  .title_cover {
    position: relative;
    margin-bottom: 12rem;
    padding: 6rem 0;
    text-align: center;
    background: #bbdc62;
  }
  .title_cover:after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 60px 120px 0 120px;
    border-color: #bbdc62 transparent transparent transparent;
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -120px;
  }
  .sub_title {
    color: #fff;
    font-size: 4.8rem;
    font-weight: 600;
    text-shadow: 0 0 .2em rgba(152,179,80,0.3);
  }
  .sub_title span {
    color: #ff0;
    font-size: 7.2rem;
  }
  /* メインビジュアル */
  #top_main {
    position: relative;
    width: 100%;
    height: 100vh;
    margin-bottom: 12rem;
    overflow: hidden;
  }
  #top_main:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100vh;
    content: "";
    background-image: linear-gradient(315deg, rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0));
    z-index: 1;
  }  
  #top_main:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100vh;
    content: "";
    background: url(/wp-content/uploads/images/bg_main_cover.webp) center right no-repeat;
    background-size: cover;
    z-index: 2;
  }
  #main_visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
  }
  #main_visual .image {
    position: relative;
    width: 100%;
    height: 100vh;
  }
  #main_visual .image_a {
    background: url(/wp-content/uploads/images/main_img001.webp) top center no-repeat;
    background-size: cover;
  }
  #main_visual .image_b {
    background: url(/wp-content/uploads/images/main_img002.webp) top center no-repeat;
    background-size: cover;
  }
  #main_visual .image_c {
    background: url(/wp-content/uploads/images/main_img003.webp) top center no-repeat;
    background-size: cover;
  }
  #catch_copy {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding-left: 40%;
    height: 100vh;
    color: #fff;
    font-weight: 600;
    z-index: 2;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;     
  }
  #catch_copy .main_catch {
    display: flex;
    flex-direction: column;
    font-size: 3vw;
    line-height: 1.3;
    text-shadow: 0 0 .2em rgba(0,0,0,0.3);
  }
  #catch_copy .sub_catch {
    display: flex;
    flex-direction: column;    
    margin-top: .5em;
    font-size: 1.8vw;
    line-height: 1.5;
    text-shadow: 0 0 .2em rgba(0,0,0,0.3);
  }
  
  /* こんな症状はありませんか？ */
  #top_worry_1 {
    position: relative;
    padding: 12rem 0;
    color: #fff;
    z-index: 1;
    background: #000;
  }
  #top_worry_1:after {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/images/bg_001.webp) top right no-repeat;
    background-size: cover;
    opacity: .7;
  }  
  #top_worry_1 h3 {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
    font-size: 4rem;    
    font-weight: 600;      
    line-height: 1.5;
    z-index: 1;
    text-shadow: 0 0 .2em rgba(0,0,0,0.3);    
  }  
  #top_worry_1 h3 .large {
    font-size: 9.6rem;
  }
  #top_worry_1 h3 .small {
    font-size: 3rem;
  }  
  #top_worry_1 ul {
    position: relative;
    list-style: none;
    z-index: 1;
  }
  #top_worry_1 li {
    position: relative;
    padding-left: 5rem;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 0 .2em rgba(0,0,0,0.3);      
  }
  #top_worry_1 li:nth-child(n+2) {
    margin-top: 1rem;
  }
  #top_worry_1 li:before {
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -15px;
    display: block;
    content: "";
    width: 30px;
    height: 30px;
    background: url(/wp-content/uploads/images/icon_check_green.webp) center center no-repeat;
    background-size: cover;
  }
  #top_worry_1 .image {
    position: absolute;
    right: 0rem;
    bottom: -5rem;
    z-index: 3;
  }
  #top_worry_2 {
    position: relative;
    padding: 12rem 0;
    color: #fff;
    z-index: 1;
    background: #000;
  }
  #top_worry_2:after {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/images/bg_002.webp) top right no-repeat;
    background-size: cover;
    opacity: .7;
  }
  #top_worry_2 h3 {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-left: 30%;    
    margin-bottom: 3rem;
    font-size: 4rem;    
    font-weight: 600;      
    line-height: 1.5;
    z-index: 1;
    text-shadow: 0 0 .2em rgba(0,0,0,0.3);    
  }  
  #top_worry_2 h3 .large {
    font-size: 9.6rem;
  }
  #top_worry_2 h3 .small {
    font-size: 3rem;
  }  
  #top_worry_2 ul {
    position: relative;
    padding-left: 30%;
    list-style: none;
    z-index: 1;
  }
  #top_worry_2 li {
    position: relative;
    padding-left: 5rem;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 0 .2em rgba(0,0,0,0.3);      
  }  
  #top_worry_2 li:nth-child(n+2) {
    margin-top: 1rem;
  }
  #top_worry_2 li:before {
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -15px;
    display: block;
    content: "";
    width: 30px;
    height: 30px;
    background: url(/wp-content/uploads/images/icon_check_blue.webp) center center no-repeat;
    background-size: cover;
  }
  #top_worry_2 .image {
    position: absolute;
    left: 0rem;
    bottom: -5rem;
    z-index: 2;
  }  
  /* 内視鏡検査について */
  #top_about {
    padding-top: 12rem;
    background: #fafafa;
  }
  #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: #386480;
  }  
  #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;
  }
  #top_about .about_box:nth-child(2) {
    background: #323b1a;
  }    
  #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;
  }
  #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(105,186,236,.5);
  }
  #top_about .about_box:nth-child(2) .title {
    background: rgba(187,220,98,.5);
  }  
  #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;
    text-align: center;
    box-sizing: border-box;
    z-index: 1;
    text-shadow: 0 0 .2em rgba(0,0,0,0.3);    
  }
  #top_about .about_box .comment p {
  }  
  /* なぜ内視鏡検査を受けたほうがいいのか？ */
  #top_data {
    padding: 0 0 12rem;
    background: url(/wp-content/uploads/images/bg_data.webp) bottom center no-repeat;
    background-size: contain;
  } 
  #top_data .data_ranking .ranking_title {
    padding: .6em;
    color: #fff;
    text-align: center;
    font-size: 2.4rem;
    font-weight: 600;
    background: #bbdc62;
  }
  #top_data .data_ranking .ranking_list {
    margin-bottom: 10rem;
    padding: 4rem 8rem;
    border: 1px solid #bbdc62;
    background: #f5fae8;
  }  
  #top_data .data_ranking .ranking_list dl {
    display: flex;
    font-size: 2rem;
    font-weight: 600;
  }
  #top_data .data_ranking .ranking_list dl dd {
    margin-left: 2em;
  }
  #top_data .data_ranking .ranking_list dt,
  #top_data .data_ranking .ranking_list dd span {
    font-size: 3rem;
  }
  #top_data .data_ranking .ranking_list dl:nth-child(1) dd span.point {
    color: #69baed;
  }
  #top_data .data_ranking .ranking_list dl:nth-child(2) dd span.point {
    color: #f29ca6;
  }
  #top_data .ranking_image {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 5rem;
  }
  #top_data .ranking_image .image {
    width: calc(50% - 3rem);
  }
  #top_data .ranking_comment {
    padding: 5rem;
    text-align: center;
    border-radius: 1rem;
    background: #fafafa;
  }
  #top_data .ranking_comment span {
    font-weight: 600;
  }
  #top_data .ranking_comment span.color_1 {
    color: #69baed;
  }
  #top_data .ranking_comment span.color_2 {
    color: #f29ca6;
  }   
  /* 胃カメラ検査・大腸カメラ検査でわかる疾患 */
  #top_symptom {
    margin-bottom: 12rem;
    padding: 12rem 0;
    background: #fafafa;
  }
  #top_symptom h3 {
    margin-bottom: 5rem;
    font-size: 2.4rem;
    text-align: center;
  }
  #top_symptom h3 span {
    display: inline-block;
    padding: .5em 1em;
    line-height: 1;
    font-weight: 600;
  }
  #top_symptom h3.title_1 span {
    border-bottom: 5px solid #bbdc62;
  }
  #top_symptom h3.title_2 span {
    border-bottom: 5px solid #69baed;
  }  
  #top_symptom .symptom_list .list:nth-child(n+2) {
    margin-top: 5rem;
  }
  #top_symptom .symptom_list .list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  #top_symptom .symptom_list .list li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 5rem;
    margin: 0 .5rem 1rem;
    padding: 0 2em;
    font-weight: 600;
    list-style: none;
    color: #fff;
    border-radius: 2.5rem;
    background: #ccc;
   }
  #top_symptom .symptom_list .list:nth-child(1) li {
    background: #bbdc62;
  }
  #top_symptom .symptom_list .list:nth-child(2) li {
    background: #69baed;
  }
  /* 選ばれる理由 */
  #top_reason {
    margin-bottom: 12rem;
  }
  #top_reason .reason_list .list {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: #e8f6ff;
  }
  #top_reason .reason_list .list:nth-child(n+1) {
    margin-top: 12rem;
  }
  #top_reason .reason_list .list:nth-child(odd) {
    margin-left: 8rem;
  }
  #top_reason .reason_list .list:nth-child(odd):before {
    position: absolute;
    bottom: -1rem;
    left: 1rem;
    display: block;
    content: "";
    width: calc(100% - 1rem);
    height: calc(100% - 1rem);
    border-left: 1px solid #69baed;
    border-bottom: 1px solid #69baed;
    box-sizing: border-box;
  }
  #top_reason .reason_list .list:nth-child(odd):after {
    position: absolute;
    top: -5rem;
    right: 5rem;
    display: block;
    content: "";
    width: 10rem;
    height: 10rem;
    box-sizing: border-box;
    background: #aee0ff;
  }    
  #top_reason .reason_list .list:nth-child(even) {
    flex-direction: row-reverse;
    margin-right: 8rem;
  }
  #top_reason .reason_list .list:nth-child(even):before {
    position: absolute;
    bottom: -1rem;
    right: 1rem;
    display: block;
    content: "";
    width: calc(100% - 1rem);
    height: calc(100% - 1rem);
    border-right: 1px solid #69baed;
    border-bottom: 1px solid #69baed;
    box-sizing: border-box;
  }  
  #top_reason .reason_list .list:nth-child(even):after {
    position: absolute;
    top: -5rem;
    left: 5rem;
    display: block;
    content: "";
    width: 10rem;
    height: 10rem;
    box-sizing: border-box;
    background: #aee0ff;
  }  
  #top_reason .reason_list .list .image {
    position: relative;
    width: 50%;
    margin-top: -8rem;
    padding-bottom: 8rem;
    z-index: 1;
  }
  #top_reason .reason_list .list:nth-child(odd) .image {
    margin-left: -8rem;
  }
  #top_reason .reason_list .list:nth-child(even) .image {
    margin-right: -8rem;
  }
  #top_reason .reason_list .list .comment {
    width: 50%;
    padding: 12rem;
    box-sizing: border-box;
  }
  #top_reason .reason_list .list .title {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
  }
  #top_reason .reason_list .list .number {
    width: 200px;
    color: #69baed;
    font-size: 16rem;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;   
    line-height: 1;
  }
  #top_reason .reason_list .list h3 {
    width: calc(100% - 200px);
    font-size: 3rem;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif; 
  }
  /* 検査の流れ */
  #top_flow {
    position: relative;
    padding: 12rem 0;
    background: url(/wp-content/uploads/images/bg_flow.webp) top center no-repeat;
    bakcground-size: 100% auto;
  }
  #top_flow:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 6rem;
    content: "";
    background-image: linear-gradient(0deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  }
  #top_flow .flow_list {}
  #top_flow .flow_list .list:nth-child(n+2) {
    margin-top: 8rem;
  }
  #top_flow .flow_list .title {
    margin-bottom: 4rem;
    position: relative;
    color: #fff;
    font-size: 2.4rem;
    text-align: center;
    font-weight: bold;
    line-height: 8rem;
    background: #bbdc62;
    border-radius: 40px;
  }
  #top_flow .flow_list .second .title {
    background: #69baed;
  }
  #top_flow .flow_list .title span {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    line-height: 1;
  }
  #top_flow .flow_step {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  #top_flow .flow_step:nth-child(n+2) {
    margin-top: 2rem;
  }
  #top_flow .flow_step .step {
    width: 18%;
    padding: 2rem 0;
    color: #fff;
    background: #bbdc62;
    box-sizing: border-box;
    text-align: center;
  }
  #top_flow .second .flow_step .step {
    background: #69baed;
  }
  #top_flow .flow_step .step .eng {
    font-size: 1.2rem;
    line-height: 2rem;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif; 
  }
  #top_flow .flow_step .step .eng span {
    font-size: 2.4rem;
  }
  #top_flow .flow_step .step .jap {
    font-size: 1.6rem;
    font-weight: bold;
    lien-height: 2rem;
  }
  #top_flow .flow_step .comment {
    width: 80%;
    padding: 2rem;
    background: #f2f2f2;
    box-sizing: border-box;
  }
  #top_flow .number {
    margin-top: 3rem;
    padding-left: 2rem;
  }
  #top_flow .flow_step ul {
    list-style: none;
  }
  #top_flow .flow_step li {
    position: relative;
    padding-left: 3rem;
    padding-bottom: 3rem;
    border-left: 8px solid #bbdc62;
  }
  #top_flow .second .flow_step li {
    border-left: 8px solid #69baed;
  }
  #top_flow .flow_step li:before {
    position: absolute;
    display: block;
    top: -1rem;
    left: -2.9rem;
    width: 5rem;
    margin-right: 1rem;
    color: #fff;
    font-size: 2rem;
    text-align: center;
    line-height: 5rem;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif; 
    background: #bbdc62;
    border-radius: 50%;
  }
  #top_flow .flow_step li:nth-child(1):before {content: "01";}
  #top_flow .flow_step li:nth-child(2):before {content: "02";}
  #top_flow .flow_step li:nth-child(3):before {content: "03";}
  #top_flow .flow_step li:nth-child(4):before {content: "04";}
  #top_flow .flow_step li:nth-child(5):before {content: "05";}
  #top_flow .flow_step li:nth-child(6):before {content: "06";}
  #top_flow .second .flow_step li:before {
    background: #69baed;
  }
  #top_flow .flow_step li:last-child {
    border-left: 8px solid #f2f2f2;
  }
  #top_flow .flow_step .number_title {
    position: relative;
    color: #bbdc62;
    font-size: 1.6rem;
    font-weight: bold;
  }
  #top_flow .second .flow_step .number_title {
    color: #69baed;
  }
  #top_flow .flow_step li p {
    padding-top: 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 li img {
    display: block;
    border-radius: 2rem;
  }
  #image-scroll.simply-scroll-list .image {
    float: left; 
    padding: 0 1rem;
    margin: 0;
    width: 360px;
    height: 240px;
    list-style:none!important;
  }    
  #image-scroll.simply-scroll-list .image:nth-child(odd) {
    margin-bottom: 2rem;
  }
  #image-scroll.simply-scroll-list .image:nth-child(even) {
    margin-top: 2rem;
  }
  #image-scroll.simply-scroll-list img {
    display: block;
  }    
  /* 医師挨拶 */
  #top_greeting {
    padding: 12rem 2rem;
  }
  #top_greeting .greeting_cover {
    padding: 12rem;
    background: url(/wp-content/uploads/images/bg_greeting.webp) bottom center no-repeat;
    background-size: cover;
  }
  #top_greeting .greeting_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;    
  }
  #top_greeting .greeting_flex .image {
    width: 480px;
  }
  #top_greeting .greeting_flex .photo {
    position: relative;
    margin-bottom: 3rem;
  }
  #top_greeting .greeting_flex .photo:before {
    position: absolute;
    top: -1rem;
    left: -1rem;
    display: block;
    content: "";
    width: 160px;
    height: 160px;
    border-top: 1px solid #69baed;
    border-left: 1px solid #69baed;
  }
  #top_greeting .greeting_flex .photo:after {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    display: block;
    content: "";
    width: 160px;
    height: 160px;
    border-bottom: 1px solid #69baed;
    border-right: 1px solid #69baed;
  }  
  #top_greeting .greeting_flex .name {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;   
    line-height: 1;
  }
  #top_greeting .greeting_flex .name .doctor {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    color: #fff;
    text-align: center;
    border-radius: 50%;
    background: #69baed;
  }
  #top_greeting .greeting_flex .name .jap {
    margin: 0 1em;
    font-size: 3rem;
  }
  #top_greeting .greeting_flex .name .eng {
    font-size: 2rem;
  }
  #top_greeting .greeting_flex .comment {
    width: calc(100% - 540px);
    padding: 6rem 0;
  }
  /* 医院情報 */
  #top_clinic {
    margin-bottom: 12rem;
    padding: 12rem 0;
    background: #fafafa;
  }
  #top_clinic .clinic_logo {
    margin-bottom: 5rem;
    text-align: center;
  }
  #top_clinic .clinic_logo img {
    width: auto;
    height: 4.8rem;
  }
  #top_clinic .clinic_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #top_clinic .icon img {
    width: 4rem;
    height: 4rem;
  }  
  #top_clinic .clinic_flex .data,
  #top_clinic .clinic_flex .schedule {
    width: calc(50% - 3rem);
    box-sizing: border-box;
  }
  #top_clinic .clinic_flex .access {
    width: 100%;
    margin-top: 5rem;
  }
  #top_clinic .clinic_flex .address {
    display: flex;
    align-items: center;
    margin-bottom: 5rem;
  }
  #top_clinic .clinic_flex .address .icon {
    padding: 3rem;
    padding-left: 0;
    border-right: 1px solid #616263;
  }
  #top_clinic .clinic_flex .address .text {
    padding-left: 3rem;
  }
  #top_clinic .clinic_flex .tel {
    font-size: 3rem;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;   
  }
  #top_clinic .clinic_flex .tel a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 8rem;
    text-align: center;
    border: 1px solid #616263;
  }
  #top_clinic .clinic_flex .schedule {
  }
  #top_clinic .clinic_flex .schedule .table_cover {
    margin-bottom: 2rem;
    padding: 3rem;
    background: #fff;    
  }
  #top_clinic .clinic_flex .schedule .table_cover table {
    width: 100%;
  }
  #top_clinic .clinic_flex .schedule .table_cover table tr:nth-child(n+2) {
    border-top: 1px solid #616263;
  }
  #top_clinic .clinic_flex .schedule .table_cover table th,
  #top_clinic .clinic_flex .schedule .table_cover table td {
    padding: .5em;
  }
  #top_clinic .clinic_flex .schedule p {
    text-align: center;
  }
  #top_clinic .clinic_flex .access .access_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  #top_clinic .clinic_flex .access .access_list .list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 3rem;
    font-size: 2rem;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;
  }
  #top_clinic .clinic_flex .access .access_list .list .icon {
    margin-right: 3rem;
  }          
}
@media screen and (max-width:1239px) {
  /* タイトル */
  .main_title {
    display: flex;
    flex-direction: column;
    text-align: center;    
    margin-bottom: 3rem;
  }
  .main_title .eng {
    color: #69baed;
    font-size: 3.6rem;
    font-family: "Cormorant Garamond", serif;
    line-height: 1;
  }
  .main_title .jap {
    font-weight: 600;     
  }
  
  .title_cover {
    position: relative;
    margin-bottom: 5rem;
    padding: 3rem 0;
    text-align: center;
    background: #bbdc62;
  }
  .title_cover:after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 30px 120px 0 120px;
    border-color: #bbdc62 transparent transparent transparent;
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -120px;
  }
  .sub_title {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    text-shadow: 0 0 .2em rgba(152,179,80,0.3);    
  }
  .sub_title span {
    color: #ff0;
    font-size: 2.4rem;
  }
  /* メインビジュアル */
  #top_main {
    position: relative;
    width: 100%;
    height: 75vh;
    margin-bottom: 5rem;
    overflow: hidden;
  }
  #top_main:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 75vh;
    content: "";
    background-image: linear-gradient(315deg, rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0));
    z-index: 1;
  }  
  #top_main:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 75vh;
    content: "";
    background: url(/wp-content/uploads/images/bg_main_cover.webp) center right no-repeat;
    background-size: cover;
    z-index: 2;
  }
  #main_visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75vh;
  }
  #main_visual .image {
    position: relative;
    width: 100%;
    height: 75vh;
  }
  #main_visual .image_a {
    background: url(/wp-content/uploads/images/main_img001sp.webp) top center no-repeat;
    background-size: cover;
  }
  #main_visual .image_b {
    background: url(/wp-content/uploads/images/main_img002sp.webp) top center no-repeat;
    background-size: cover;
  }
  #main_visual .image_c {
    background: url(/wp-content/uploads/images/main_img003sp.webp) top center no-repeat;
    background-size: cover;
  }
  #catch_copy {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 75vh;
    color: #fff;
    text-align: center;
    font-weight: 600;
    z-index: 3;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;     
  }
  #catch_copy .main_catch {
    display: flex;
    flex-direction: column;
    font-size: 6vw;
    line-height: 1.3;
    text-shadow: 0 0 .2em rgba(0,0,0,0.3);
  }
  #catch_copy .sub_catch {
    display: flex;
    flex-direction: column;    
    margin-top: .5em;
    font-size: 3.2vw;
    line-height: 1.5;
    text-shadow: 0 0 .2em rgba(0,0,0,0.3);
  }
  
  /* こんな症状はありませんか？ */
  #top_worry {}
  #top_worry_1 {
    position: relative;
    padding: 5rem 0;
    color: #fff;
    z-index: 1;
    background: #000;
  }
  #top_worry_1:after {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/images/bg_001sp.webp) top right no-repeat;
    background-size: cover;
    opacity: .7;
  }  
  #top_worry_1 h3 {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
    font-weight: 600;      
    line-height: 1.5;
    text-align: center;
    z-index: 1;
    text-shadow: 0 0 .2em rgba(0,0,0,0.3);    
  }  
  #top_worry_1 h3 .large {
    font-size: 3rem;
  }
  #top_worry_1 h3 .small {
    font-size: 2rem;
  }  
  #top_worry_1 ul {
    position: relative;
    list-style: none;
    z-index: 1;
  }
  #top_worry_1 li {
    position: relative;
    padding-left: 3rem;
    font-weight: bold;
    text-shadow: 0 0 .2em rgba(0,0,0,0.3);      
  }
  #top_worry_1 li:nth-child(n+2) {
    margin-top: 1rem;
  }
  #top_worry_1 li:before {
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -15px;
    display: block;
    content: "";
    width: 20px;
    height: 20px;
    background: url(/wp-content/uploads/images/icon_check_green.webp) center center no-repeat;
    background-size: cover;
  }
  #top_worry_1 .image {
    position: absolute;
    right: 0rem;
    bottom: -5rem;
    z-index: 3;
  }
  #top_worry_2 {
    position: relative;
    padding: 5rem 0;
    color: #fff;
    z-index: 1;
    background: #000;
  }
  #top_worry_2:after {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/images/bg_002sp.webp) top right no-repeat;
    background-size: cover;
    opacity: .7;
  }
  #top_worry_2 h3 {
    position: relative;
    display: flex;
    flex-direction: column; 
    margin-bottom: 3rem;  
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
    z-index: 1;
    text-shadow: 0 0 .2em rgba(0,0,0,0.3);    
  }  
  #top_worry_2 h3 .large {
    font-size: 3rem;
  }
  #top_worry_2 h3 .small {
    font-size: 2rem;
  }  
  #top_worry_2 ul {
    position: relative;
    list-style: none;
    z-index: 1;
  }
  #top_worry_2 li {
    position: relative;
    padding-left: 3rem;
    font-weight: bold;
    text-shadow: 0 0 .2em rgba(0,0,0,0.3);      
  }  
  #top_worry_2 li:nth-child(n+2) {
    margin-top: 1rem;
  }
  #top_worry_2 li:before {
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -15px;
    display: block;
    content: "";
    width: 20px;
    height: 20px;
    background: url(/wp-content/uploads/images/icon_check_blue.webp) center center no-repeat;
    background-size: cover;
  }
  #top_worry_2 .image {
    position: absolute;
    left: 0rem;
    bottom: -5rem;
    z-index: 2;
  }  
  /* 内視鏡検査について */
  #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: #386480;
  }  
  #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;
  }
  #top_about .about_box:nth-child(2) {
    background: #323b1a;
  }    
  #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;
  }
  #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(105,186,236,.5);
  }
  #top_about .about_box:nth-child(2) .title {
    background: rgba(187,220,98,.5);
  }  
  #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 {
  }  
  /* なぜ内視鏡検査を受けたほうがいいのか？ */
  #top_data {
    padding: 0 0 5rem;
    background: url(/wp-content/uploads/images/bg_data.webp) bottom center no-repeat;
    background-size: contain;
  } 
  #top_data .data_ranking .ranking_title {
    padding: .5rem;
    color: #fff;
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    background: #bbdc62;
  }
  #top_data .data_ranking .ranking_list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    padding: 3rem 1.5rem;
    border: 1px solid #bbdc62;
    background: #f5fae8;
  }  
  #top_data .data_ranking .ranking_list dl {
    width: 50%;
    font-weight: 600;
  }
  #top_data .data_ranking .ranking_list dl dd {}
  #top_data .data_ranking .ranking_list dt,
  #top_data .data_ranking .ranking_list dd span {
    font-size: 1.6rem;
  }
  #top_data .data_ranking .ranking_list dl:nth-child(1) dd span.point {
    color: #69baed;
  }
  #top_data .data_ranking .ranking_list dl:nth-child(2) dd span.point {
    color: #f29ca6;
  }
  #top_data .ranking_image {
    margin-bottom: 3rem;
  }
  #top_data .ranking_image .image:nth-child(n+2) {
    margin-top: 3rem;
  }
  #top_data .ranking_comment {
    padding: 3rem 1.5rem;
    text-align: center;
    border-radius: 1rem;
    background: #fafafa;
  }
  #top_data .ranking_comment span {
    font-weight: 600;
  }
  #top_data .ranking_comment span.color_1 {
    color: #69baed;
  }
  #top_data .ranking_comment span.color_2 {
    color: #f29ca6;
  }   
  /* 胃カメラ検査・大腸カメラ検査でわかる疾患 */
  #top_symptom {
    margin-bottom: 5rem;
    padding: 5rem 0;
    background: #fafafa;
  }
  #top_symptom h3 {
    margin-bottom: 3rem;
    font-size: 2rem;
    text-align: center;
  }
  #top_symptom h3 span {
    display: inline-block;
    padding: .5em 1em;
    line-height: 1;
    font-weight: 600;
  }
  #top_symptom h3.title_1 span {
    border-bottom: 5px solid #bbdc62;
  }
  #top_symptom h3.title_2 span {
    border-bottom: 5px solid #69baed;
  }  
  #top_symptom .symptom_list .list:nth-child(n+2) {
    margin-top: 3rem;
  }
  #top_symptom .symptom_list .list ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  #top_symptom .symptom_list .list li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;    
    height: 5rem;
    margin: 0 .5rem 1rem;
    padding: 0 1em;
    font-weight: 600;
    list-style: none;
    color: #fff;
    text-align: center;
    line-height: 1.5;
    border-radius: 2.5rem;
    background: #ccc;
   }
  #top_symptom .symptom_list .list:nth-child(1) li {
    background: #bbdc62;
  }
  #top_symptom .symptom_list .list:nth-child(2) li {
    background: #69baed;
  }
  /* 選ばれる理由 */
  #top_reason {
    margin-bottom: 5rem;
  }
  #top_reason .reason_list .list {
    background: #e8f6ff;
  }
  #top_reason .reason_list .list .image {
    position: relative;
    width: 100%;
    z-index: 1;
  }
  #top_reason .reason_list .list .comment {
    padding: 3rem 1.5rem;
    box-sizing: border-box;
  }
  #top_reason .reason_list .list .title {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
  }
  #top_reason .reason_list .list .number {
    width: 80px;
    color: #69baed;
    font-size: 6rem;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;   
    line-height: 1;
  }
  #top_reason .reason_list .list h3 {
    width: calc(100% - 80px);
    font-size: 1.8rem;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif; 
  }
  
  /* 検査の流れ */
  #top_flow {
    position: relative;
    padding: 5rem 0;
    background: url(/wp-content/uploads/images/bg_flow.webp) top center no-repeat;
    bakcground-size: 100% auto;
  }
  #top_flow:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 2.5rem;
    content: "";
    background-image: linear-gradient(0deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  }
  #top_flow .flow_list {}
  #top_flow .flow_list .list:nth-child(n+2) {
    margin-top: 3rem;
  }
  #top_flow .flow_list .title {
    margin-bottom: 3rem;
    position: relative;
    color: #fff;
    font-size: 2rem;
    text-align: center;
    font-weight: bold;
    line-height: 5rem;
    background: #bbdc62;
    border-radius: 40px;
  }
  #top_flow .flow_list .second .title {
    background: #69baed;
  }
  #top_flow .flow_list .title span {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    line-height: 1;
  }
  #top_flow .flow_step {}

  #top_flow .flow_step:nth-child(n+2) {
    margin-top: 2rem;
  }
  #top_flow .flow_step .step {
    padding: 2rem 0;
    color: #fff;
    background: #bbdc62;
    box-sizing: border-box;
    text-align: center;
  }
  #top_flow .second .flow_step .step {
    background: #69baed;
  }
  #top_flow .flow_step .step .eng {
    font-size: 1.2rem;
    line-height: 2rem;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif; 
  }
  #top_flow .flow_step .step .eng span {
    font-size: 2.4rem;
  }
  #top_flow .flow_step .step .jap {
    font-size: 1.6rem;
    font-weight: bold;
    lien-height: 2rem;
  }
  #top_flow .flow_step .comment {
    padding: 2rem;
    background: #f2f2f2;
    box-sizing: border-box;
  }
  #top_flow .number {
    margin-top: 3rem;
    padding-left: 2rem;
  }
  #top_flow .flow_step ul {
    list-style: none;
  }
  #top_flow .flow_step li {
    position: relative;
    padding-left: 3rem;
    padding-bottom: 3rem;
    border-left: 8px solid #bbdc62;
  }
  #top_flow .second .flow_step li {
    border-left: 8px solid #69baed;
  }
  #top_flow .flow_step li:before {
    position: absolute;
    display: block;
    top: -1rem;
    left: -2.9rem;
    width: 5rem;
    margin-right: 1rem;
    color: #fff;
    font-size: 2rem;
    text-align: center;
    line-height: 5rem;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif; 
    background: #bbdc62;
    border-radius: 50%;
  }
  #top_flow .flow_step li:nth-child(1):before {content: "01";}
  #top_flow .flow_step li:nth-child(2):before {content: "02";}
  #top_flow .flow_step li:nth-child(3):before {content: "03";}
  #top_flow .flow_step li:nth-child(4):before {content: "04";}
  #top_flow .flow_step li:nth-child(5):before {content: "05";}
  #top_flow .flow_step li:nth-child(6):before {content: "06";}
  #top_flow .second .flow_step li:before {
    background: #69baed;
  }
  #top_flow .flow_step li:last-child {
    border-left: 8px solid #f2f2f2;
  }
  #top_flow .flow_step .number_title {
    position: relative;
    color: #bbdc62;
    font-size: 1.6rem;
    font-weight: bold;
  }
  #top_flow .second .flow_step .number_title {
    color: #69baed;
  }
  #top_flow .flow_step li p {
    padding-top: 1.5rem;
  }
    
  /* スライダー */
  .simply-scroll-container {
    position: relative;
  }
  .simply-scroll-clip {
    position: relative;
    overflow: hidden; 
  }
  .simply-scroll-list {
    overflow: hidden;
    margin: 0;
    padding: 0;
  }
  #image-scroll.simply-scroll-list .image {
    float: left; 
    padding: 0 .5rem;
    margin: 0;
    width: 240px;
    height: 160px;
    list-style:none!important;
  }    
  #image-scroll.simply-scroll-list img {
    display: block;
  }    
  /* 医師挨拶 */
  #top_greeting {}
  #top_greeting .greeting_cover {
    padding: 5rem 1.5rem;
    background: url(/wp-content/uploads/images/bg_greeting.webp) bottom center no-repeat;
    background-size: cover;
  }
  #top_greeting .greeting_flex {}
  #top_greeting .greeting_flex .image {
    width: 60%;
    margin: 0 auto;
  }
  #top_greeting .greeting_flex .photo {
    position: relative;
    margin-bottom: 3rem;
  }
  #top_greeting .greeting_flex .photo:before {
    position: absolute;
    top: -1rem;
    left: -1rem;
    display: block;
    content: "";
    width: 160px;
    height: 160px;
    border-top: 1px solid #69baed;
    border-left: 1px solid #69baed;
  }
  #top_greeting .greeting_flex .photo:after {
    position: absolute;
    bottom: -1rem;
    right: -1rem;
    display: block;
    content: "";
    width: 160px;
    height: 160px;
    border-bottom: 1px solid #69baed;
    border-right: 1px solid #69baed;
  }  
  #top_greeting .greeting_flex .name {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;   
    line-height: 1;
  }
  #top_greeting .greeting_flex .name .doctor {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    margin-bottom: 1rem;
    color: #fff;
    text-align: center;
    border-radius: 50%;
    background: #69baed;
  }
  #top_greeting .greeting_flex .name .jap {
    margin: 0 1em;
    font-size: 2rem;
  }
  #top_greeting .greeting_flex .name .eng {}
  #top_greeting .greeting_flex .comment {
    margin-top: 3rem;
  }
  /* 医院情報 */
  #top_clinic {
    padding: 5rem 0;
    background: #fafafa;
  }
  #top_clinic .clinic_logo {
    margin-bottom: 5rem;
    text-align: center;
  }
  #top_clinic .clinic_logo img {
    width: auto;
    height: 2rem;
  }
  #top_clinic .clinic_flex {}
  #top_clinic .icon img {
    width: 3rem;
    height: 3rem;
  }  
  #top_clinic .clinic_flex .data,
  #top_clinic .clinic_flex .schedule {
    box-sizing: border-box;
  }
  #top_clinic .clinic_flex .access {
    width: 100%;
    margin-top: 3rem;
  }
  #top_clinic .clinic_flex .address {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
  }
  #top_clinic .clinic_flex .address .icon {
    padding: 1.5rem;
    padding-left: 0;
    border-right: 1px solid #616263;
  }
  #top_clinic .clinic_flex .address .text {
    padding-left: 1.5rem;
  }
  #top_clinic .clinic_flex .tel {
    margin-bottom: 3rem;
    font-size: 2rem;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;   
  }
  #top_clinic .clinic_flex .tel a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 5rem;
    text-align: center;
    border: 1px solid #616263;
  }
  #top_clinic .clinic_flex .schedule {
  }
  #top_clinic .clinic_flex .schedule .table_cover {
    margin-bottom: 1rem;
    padding: 1.5rem;
    background: #fff;    
  }
  #top_clinic .clinic_flex .schedule .table_cover table {
    width: 100%;
  }
  #top_clinic .clinic_flex .schedule .table_cover table tr:nth-child(n+2) {
    border-top: 1px solid #616263;
  }
  #top_clinic .clinic_flex .schedule .table_cover table th,
  #top_clinic .clinic_flex .schedule .table_cover table td {
    padding: .3em;
    text-align: center;
  }
  #top_clinic .clinic_flex .schedule p {
    text-align: center;
  }
  #top_clinic .clinic_flex .access .access_list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #top_clinic .clinic_flex .access .access_list .list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 1.5rem;
    font-family: "游明朝体", "Yu Mincho", "Hiragino Mincho Pro", "Hiragino Mincho ProN", YuMincho, "MS PMincho", "Times New Roman", serif;
  }
  #top_clinic .clinic_flex .access .access_list .list .icon {
    margin-right: 1.5rem;
  }          
}




/******************************************************
トップに戻るボタン
******************************************************/
@media screen and (min-width:1280px) {
  #page_top_cover {
    position: relative;
    z-index: 100;
  }
  #page_top {
    display: none;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1;
  }
  /*
  #page_top.fixed {
    position: absolute;
    right: 0;
    bottom: 100%;
    z-index: 102;
  }
  */
  #page_top a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 7rem;
    height: 7rem;
    color: #fff;
    font-size: 1.4rem;
    text-decoration: none;
    background: #bbdc62;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;  
  }      
  #page_top a:before {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    content: "";
    width: 1.4rem;
    height: 1px;
    margin-top: -.7rem;
    transform-origin: top left;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
    background: #fff;
  }
  #page_top a:after {
    position: absolute;
    top: 50%;
    right: 50%;
    display: block;
    content: "";
    width: 1.4rem;
    height: 1px;
    margin-top: -.7rem;
    transform-origin: top right;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
    background: #fff;
  }    
  #page_top a:hover {
    opacity: .7;
  }
}
@media screen and (max-width:1279px) {
  #page_top_cover {
    position: relative;
    z-index: 100;
  }
  #page_top {
    position: fixed;
    bottom: 6rem;
    right: 0;
    z-index: 100;
  }
  /*
  #page_top.fixed {
    position: absolute;
    right: 0;
    bottom: 100%;
    z-index: 102;
  }
  */
  #page_top a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    color: #fff;
    text-align: center;
    background: #bbdc62;
  }  
  #page_top a:before {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    content: "";
    width: 1rem;
    height: 1px;
    margin-top: -.4rem;
    transform-origin: top left;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
    background: #fff;
  }
  #page_top a:after {
    position: absolute;
    top: 50%;
    right: 50%;
    display: block;
    content: "";
    width: 1rem;
    height: 1px;
    margin-top: -.4rem;
    transform-origin: top right;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
    background: #fff;
  }      
}
