@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=Homemade+Apple&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: 400;
	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: #605f5d;
	font-size: 100%;
  font-weight: 400;
	font: inherit;
  letter-spacing: .1em;  
	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-family: "Noto Sans JP", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  font-weight: 400;
  font-style: normal;
}
@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: #605f5d;
  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 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;
}
/******************************************************
レスポンシブ
******************************************************/
@media screen and (max-width: 1024px){
  .inner {
    position:relative;
    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: 1025px) {
  .inner {
    position:relative;
    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: 'Noto Serif JP','游明朝体', 'Yu Mincho', 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', YuMincho, 'MS PMincho', 'Times New Roman', serif;}
.bold {font-weight: bold;}
/******************************************************
ヘッダー
******************************************************/
@media screen and (min-width:1240px) {
  #header {
    position: relative;
    z-index: 100;
  }
  #h_cover {
    position: absolute;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    height: 10rem;
    padding-right: 10rem;
    box-sizing: border-box;
    z-index: 101;
  }
  #h_logo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
    padding: 2rem;
  }
  #h_logo .image img {
    width: auto;
    height: 5rem;
  }
  #h_logo .text {
    width: 100%;
    margin-top: 1rem;
    text-align: center;
    line-height: 1.5;
    font-family: '游明朝体', 'Yu Mincho', 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', YuMincho, 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;  
    border: 1px solid #605f5d;
    box-sizing: border-box;
  }
  #h_logo .text .title {
    font-size: 2rem;
  }
  #h_btn_list {
    display: flex;
    flex-wrap: wrap;
  }
  #h_btn_list .btn {
    width: 240px;
  }
  #h_btn_list .btn a {
    position: relative;
    display: block;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
  }
  #h_btn_list .btn a:hover {
    opacity: .7;
  }
  #h_btn_list .btn a:before {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    content: "";
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    background: rgba(0,0,0,.025);
  }
  #h_btn_list .btn a:after {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    content: "";
    clip-path: polygon(0 0, 0% 100%, 100% 100%);
    background: rgba(0,0,0,.025);
  }
  #h_btn_list .btn a.tel {
    background: #4c6b8a;
  }
  #h_btn_list .btn a.web {
    background: #caa100;
  }  
  
  #h_btn_list .btn a span {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 10rem;
    color: #fff;
    font-size: 2rem;
    font-family: '游明朝体', 'Yu Mincho', 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', YuMincho, 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif; 
    z-index: 1;
  }
  #h_btn_list .btn a span:before {
    display: block;
    content: "";
    width: 1.2em;
    height: 1.2em;
    margin-bottom: .3em;    
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);    
  }
  #h_btn_list .btn a.tel span:before {
    background: url(/wp-content/uploads/images/icon_tel_white.webp) center center no-repeat;
    background-size: cover;

  }
  #h_btn_list .btn a.web span:before {
    background: url(/wp-content/uploads/images/icon_web.webp) center center no-repeat;
    background-size: cover;
  }
  /* 開閉ボタン */
  #h_toggle_btn {
    position: fixed;
    display: block;
    width: 100px;
    height: 100px;
    padding: 25px;
    top: 0;
    right: 0;
    z-index: 101;
    color: #fff;
    background: #605f5d;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
  }
  #h_toggle_btn .btn {
    position: relative;
    width: 50px;
    height: 50px;
    padding-top: 30px;
  }
  #h_toggle_btn span {
    display: block;
    width: 40px;
    height: 1px;
    background: #fff;
    position: absolute;
    left: 5px;
    -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: 0px;
  }
  #h_toggle_btn span:nth-child(2){
    top: 12px;
  }
  #h_toggle_btn span:nth-child(3){
    top: 24px;
  }
  #h_toggle_btn.open {
    z-index: 10004;
  }
  #h_toggle_btn.open span {
    color: #fff;
  }
  #h_toggle_btn.open span:nth-child(1) {
    top: 12px;
    -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: 12px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
    background: #fff;
  }  
  #h_toggle_btn div {
    font-size: 1.2rem;
    text-align: center;
    font-family: "Noto Serif JP", serif;
    letter-spacing: .1em;
  }
  
  /* メニュー全体 */
  #h_nav {
    background: rgba(255,255,255,.9);
    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 {
    font-family: '游明朝体', 'Yu Mincho', 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', YuMincho, 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif; 
  }
  #h_nav li a {
    position: relative;
    display: block;
    padding: 1em;
    padding-left: 2.6em;
    border-bottom: 1px solid #f2f2f2;
  }
  #h_nav li a:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 1.6em;
    height: 1.6em;
    margin-top: -.8em;
    line-height: 1;
    background: url(/wp-content/uploads/images/icon_logo.webp) center center no-repeat;
    background-size: contain;
  }   
}
/******************************************************
フッター
******************************************************/
@media screen and (min-width:1240px) {
  #f_clinic {
    padding: 10rem 0;
    background: #f9f9f9 url(/wp-content/uploads/images/bg_clinic.webp) top center no-repeat;
    background-size: cover;
  }
  #f_clinic .clinic_flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
  }
  #f_clinic .clinic_flex .clinic_image {
    width: calc(50% - 4rem);
  }
  #f_clinic .clinic_flex .clinic_image .image {
    margin-bottom: 2rem;
  }
  #f_clinic .clinic_flex .clinic_image .image img {
    object-fit: cover;
    aspect-ratio: 16 / 9;
  }
  #f_clinic .clinic_flex .clinic_image .schedule {
    padding: 3rem;
    background: #fff;
  }
  #f_clinic .clinic_flex .clinic_image .schedule span {
    color: #4c6b8a;
  }  
  #f_clinic .clinic_flex .clinic_image .schedule table {
    width: 100%;
    margin-bottom: 1em;
    border-bottom: 1px solid #ccc;
  }
  #f_clinic .clinic_flex .clinic_image .schedule table tr:first-child {
    border-bottom: 1px solid #ccc;
  }
  #f_clinic .clinic_flex .clinic_image .schedule table th,
  #f_clinic .clinic_flex .clinic_image .schedule table td {
    padding: .4em;
    text-align: center;
  }
  #f_clinic .clinic_flex .clinic_image .schedule table tr.am th,
  #f_clinic .clinic_flex .clinic_image .schedule table tr.am td {
    padding-bottom: 0;
  }
  #f_clinic .clinic_flex .clinic_image .schedule table tr.pm th,
  #f_clinic .clinic_flex .clinic_image .schedule table tr.pm td {
    padding-top: 0;
  }
  #f_clinic .clinic_flex .clinic_image .schedule p {
    text-align: right;
  }  
  
  #f_clinic .clinic_flex .clinic_data {
    width: calc(50% - 4rem);
    text-align: center;
  }
  #f_clinic .clinic_flex .clinic_data .logo {
    margin-bottom: 5rem;
  }
  #f_clinic .clinic_flex .clinic_data .logo img {
    width: 360px;
    height: auto;
  }
  #f_clinic .clinic_flex .clinic_data .btn {
    margin-bottom: 5rem;
  }
  #f_clinic .clinic_flex .clinic_data .btn a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 320px;
    height: 60px;
    margin: 0 auto;
    color: #fff;
    text-align: center;
    font-family: 'Noto Serif JP','游明朝体', 'Yu Mincho', 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', YuMincho, 'MS PMincho', 'Times New Roman', serif;    
    background: #caa100;
    border: 1px solid #caa100;
    border-radius: 30px;
    box-sizing: border-box;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;    
  }
  #f_clinic .clinic_flex .clinic_data .btn a:hover {
    color: #caa100;
    background: #fff;
  }
  #f_clinic .clinic_flex .clinic_data .tel a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3.6rem;
    line-height: 1.5;
    font-family: 'Noto Serif JP','游明朝体', 'Yu Mincho', 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', YuMincho, 'MS PMincho', 'Times New Roman', serif;
  }
  #f_clinic .clinic_flex .clinic_data .tel a:before {
    display: block;
    content: "";
    width: 1em;
    height: 1em;
    margin-right: .5em;
    line-height: 1;
    background: url(/wp-content/uploads/images/icon_tel_gray.webp) center center no-repeat;
    background-size: contain;
  }
  #f_clinic .clinic_flex .clinic_data .address {
    margin-bottom: 5rem;
  }  
  #f_clinic .clinic_flex .clinic_data .access_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  #f_clinic .clinic_flex .clinic_data .access_list .list {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: calc(50% - 5px);
    height: 70px;
    padding-left: 60px;
    color: #4c6b8a;
    text-align: center;
    line-height: 1.3;
    border-radius: 35px;
    border: 1px solid #4c6b8a;
    box-sizing: border-box;
    overflow: hidden;
  }
  #f_clinic .clinic_flex .clinic_data .access_list .list span {
    width: 100%;
    font-family: 'Noto Serif JP','游明朝体', 'Yu Mincho', 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', YuMincho, 'MS PMincho', 'Times New Roman', serif;    
  }
  #f_clinic .clinic_flex .clinic_data .access_list .list:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 70px;
    height: 70px;
    border-radius: 0 50% 50% 0;
  }
  #f_clinic .clinic_flex .clinic_data .access_list .list.list001:before {
    background: #4c6b8a url(/wp-content/uploads/images/icon_access001.webp) center center no-repeat;
    background-size: 50%;
  }
  #f_clinic .clinic_flex .clinic_data .access_list .list.list002:before {
    background: #4c6b8a url(/wp-content/uploads/images/icon_access002.webp) center center no-repeat;
    background-size: 50%;
  }
  
  #f_map {}
  #f_map .map {
    height: 0;
    overflow: hidden;
    padding-bottom: 540px;
    position: relative;
  }
  #f_map .map iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
  }   
  #copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 8rem;
    color: #fff;
    text-align: center;
    background: #4e6986;
  }
  #copyright .logo {
    display: flex;
    align-items: center;
  }
  #copyright .logo img {
    width: auto;
    height: 3.4rem;
  }
  #copyright .logo:after {
    display: flex;
    content: "";
    width: 1px;
    height: 2rem;
    margin: 0 1em;
    background: #fff;
  }  
}
/******************************************************
追従バナー
******************************************************/
@media screen and (min-width:1025px) {
  .fix_banner {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 100;
  }
  .fix_banner.hidden {
    display: none;
  }
  .fix_banner span.close_btn {
    display: block;
    width: 20px;
    height: 20px;
    color: #4c6b8a;
    line-height: 15px;
    text-align: center;
    background: #fff;
    cursor: pointer;
  }
}
@media screen and (max-width:1024px) {
  .fix_banner {
    position: fixed;
    bottom: 7rem;
    left: 1rem;
    z-index: 99;
  }
  .fix_banner.hidden {
    display: none;
  }
  .fix_banner span.close_btn {
    display: block;
    width: 20px;
    height: 20px;
    color: #4c6b8a;
    line-height: 15px;
    text-align: center;
    background: #fff;
    cursor: pointer;
  }
  .fix_banner img {
    max-width: 60%;
  }
}
/******************************************************
トップに戻るボタン
******************************************************/
@media screen and (min-width:1240px) {
  #page_top_cover {
    position: relative;
    z-index: 100;
  }
  #page_top {
    display: none;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    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: 6rem;
    height: 6rem;
    color: #fff;
    font-size: 1.4rem;
    text-decoration: none;
    background: #605f5d;
    -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: -.6rem;
    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: -.6rem;
    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 (min-width:1240px) {
  .main_title {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5em;
    color: #343434;
    font-size: 3rem;
    text-align: center;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;   
  }
  .main_title span.eng {
    color: #4c6b8a;
    font-size: 10.8rem;
    line-height: 1.3;
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
    font-style: normal;   
  }
  .main_title.white,
  .main_title.white span.eng {
    color: #fff;
  }
}
/******************************************************
切り替えボタン
******************************************************/
@media screen and (min-width:1240px) {
  .change_btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 5rem;
  }
  .change_btn {
    margin: 0 5px;
    text-align: center;
    cursor: pointer;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;   
  } 
  .change_btn:hover {
    opacity: .7;
  }  
  .change_btn.adult {
    color: #fff;
    background: #4c6b8a;
  }
  .change_btn.child {
    color: #fff;
    background: #caa100;
  }
  .change_btn a,
  .change_btn span {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 60px;
    color: #fff;
  }
  .change_btn span:after {  
    position: absolute;
    top: 100%;
    left: 50%;
    display: block;
    content: "";
    width: 0;
    height: 0;
    margin-left: -15px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
  }    
  .change_btn.adult.active span:after {  
    border-top: 15px solid #4c6b8a;
  }     
  .change_btn.child.active span:after {  
    border-top: 15px solid #caa100;
  }
  /* コンテンツ */
  .change_content {
    display: none;
  }
  .change_content.active {
    display: block;
  }
}
/******************************************************
メインビジュアル
******************************************************/
@media screen and (min-width:1240px) {
  #top_main {
    position: relative;
    width: 100%;
    height: 100vh;
    margin-bottom: 5rem;
    background: #666;
  }
  #main_visual {
    width: 100%;
    height: 100vh;
  }
  #main_visual .image {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  #main_visual .image:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 35% 0, 65% 100%, 0% 100%);
    background: url(/wp-content/uploads/images/bg_fee.webp) center center no-repeat;
    background-size: cover;
  }
  
  #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 .catch_copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 60%;
    height: 100vh;
    padding: 15rem 8rem 30rem; 
    color: #4d4c4a;
    box-sizing: border-box;
    z-index: 1;
  }
  #main_visual .image .main_message {
    display: flex;
    font-size: 3vw;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;       
    line-height: 1.35;
  }
  #main_visual .image .main_message .border {
    margin-bottom: .5em;
    padding-bottom: .5em;
    border-bottom: 1px solid #4d4c4a;
  }
  #main_visual .image .sub_message {
    display: flex;
    flex-direction: column;
    font-size: 1.7vw;
    line-height: 1.6;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;       
  }
  #main_visual .image .sub_message span:nth-child(n+2) {
    margin-top: .8em;
  }
  #main_visual .image .sub_message i {
    display: inline-block;
    margin-right: .4em;
    padding: 0 .6em;
    background: #fff;
  }
  #main_visual .image .sub_message i.blue {
    color: #4c6b8a;
  }
  #main_visual .image .sub_message i.orange {
    color: #caa100;
  }
  #top_main .clinic_name {
    position: absolute;
    bottom: 2rem;
    left: 8rem;
    font-size: 6vw;
    line-height: 1.1;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;  
    z-index: 1;
  }
  #top_main .clinic_name i {
    vertical-align: baseline;
  }
  #top_main .clinic_name i.blue {
    color: #4c6b8a;
  }
  #top_main .clinic_name i.orange {
    color: #caa100;
  }
}
/******************************************************
お問い合わせ
******************************************************/
@media screen and (min-width:1240px) {
  .section_contact {
    padding: 10rem 0;
    background: url(/wp-content/uploads/images/bg_contact.webp) center center no-repeat;
    background-size: cover;
  }
  .section_contact .title_cover {
    position: relative;
  }
  .section_contact .title_cover .title_jap {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1.5em;
    color: #fff;
    font-size: 4.8rem;
    text-align: center;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;     
    line-height: 1.2;
    z-index: 1;
    text-shadow: 0 0 10px rgba(0,0,0,.5);
  }
  .section_contact .title_cover .title_eng {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    margin-top: -.5em;
    color: #486683;
    font-size: 18rem;
    text-align: center;
    line-height: 1;
    font-family: "Cormorant Garamond", serif;
  }
  .section_contact .contact_box {
    background: #fff;
  }
  .section_contact .contact_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 3rem;
  }
  .section_contact .contact_flex .text {
    width: calc(50% - 1.5rem);
    text-align: center;
  }
  .section_contact .contact_flex .text .title {
    color: #4c6b8a;
    font-size: 3rem;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif; 
  }
  .section_contact .contact_flex .text .message {
    margin-bottom: 2rem;
    padding: .5em;
    font-size: 2rem;
    line-height: 1;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;     
    background: #f6f7f9;
  }
  .section_contact .contact_flex .list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(50% - 1.5rem);
    background: #f6f7f9;
  }
  .section_contact .contact_flex .list ul {
    padding: 3rem;
  }
  .section_contact .contact_flex .list li {
    position: relative;
    padding-left: 2em;
    padding-bottom: .3em;
    margin-bottom: .3em;
    border-bottom: 1px dotted #ccc;
  }
  .section_contact .contact_flex .list li:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 1em;
    height: 1em;
    margin-top: -.5em;
    background: url(/wp-content/uploads/images/icon_check_yellow.webp) center center no-repeat;
    background-size: contain;
  }
  .section_contact .btn_cover {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 4rem;
    background: #f6f7f9;
  }
  .section_contact .btn_cover .btn {
    width: calc(50% - 1rem);
  }
  .section_contact .btn_cover .btn.tel {
    background: #4c6b8a;
  }
  .section_contact .btn_cover .btn.mail {
    background: #caa100;
  }
  .section_contact .btn_cover .btn a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    color: #fff;
    line-height: 1;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif; 
  }
  .section_contact .btn_cover .btn a .small {
    width: 100%;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    font-size: 2.4rem;
    text-align: center;
    border-bottom: 1px solid #fff;
  }
  .section_contact .btn_cover .btn a .large {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3.6rem;
  }
  .section_contact .btn_cover .btn a .large:before {
    display: block;
    content: "";
    width: 1.2em;
    height: 1.2em;
    margin-right: .6em;
    line-height: 1;
  }
  .section_contact .btn_cover .btn.tel a .large:before {
    background: url(/wp-content/uploads/images/icon_tel_white.webp) center center no-repeat;
    background-size: contain;
  }    
  .section_contact .btn_cover .btn.mail a .large:before {
    background: url(/wp-content/uploads/images/icon_mail_white.webp) center center no-repeat;
    background-size: contain;
  }    
  
  
  
  
  
  
  
  
  
  
  
  
  
  
}
/******************************************************
こんなお悩みありませんか？
******************************************************/
@media screen and (min-width:1240px) {
  #top_trouble {
    padding: 10rem 0 0;
    overflow: hidden;
  }
  #top_trouble .trouble_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 16rem 10rem;
  }
  #top_trouble .trouble_list .list {
    width: calc((100% / 4) - 15px);
    margin-left: 20px;
    padding: 1rem;
    color: #fff;
    font-size: 2rem;
    text-align: center;
    line-height: 1.5;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;      
    box-sizing: border-box;
  }
  #top_trouble .trouble_list .list:nth-child(4n+1) {
    margin-left: 0;
  }
  #top_trouble .trouble_list .list:nth-child(n+5) {
    margin-top: 20px;
  }
  #top_trouble .adult .trouble_list .list {
    background: url(/wp-content/uploads/images/bg_trouble_adult.webp) center center no-repeat;
    background-size: cover;
  }
  #top_trouble .child .trouble_list .list {
    background: url(/wp-content/uploads/images/bg_trouble_child.webp) center center no-repeat;
    background-size: cover;
  }  
  

  #top_trouble .trouble_list .list .box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    object-fit: cover;
    aspect-ratio: 1 / 1;    
    border: 1px solid #fff;
  }
  
  #top_trouble .trouble_comment {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;       
  }
  #top_trouble .trouble_comment:before {
    position: absolute;
    bottom: 25rem;
    left: 50%;
    display: block;
    content: "";
    width: 360px;
    height: 300px;
    margin-left: -700px;
    background: url(/wp-content/uploads/images/trouble_img003.webp) center center no-repeat;
    background-size: contain;
    z-index: 1;
  }  
  #top_trouble .trouble_comment:after {
    position: absolute;
    bottom: 25rem;
    right: 50%;
    display: block;
    content: "";
    width: 360px;
    height: 240px;
    margin-right: -700px;
    background: url(/wp-content/uploads/images/trouble_img002.webp) center center no-repeat;
    background-size: contain;
    z-index: 1;
  }  
  
  #top_trouble .trouble_comment .top_comment {
    font-size: 4rem;
    line-height: 1.35;
  }
  #top_trouble .trouble_comment .top_comment .small {
    color: #caa100;
  }
  #top_trouble .trouble_comment .top_comment .large {
    font-size: 4.8rem;
  }
  #top_trouble .trouble_comment .top_comment .large span {
    display: inline-block;
    border-bottom: 5px solid #caa100;
  }
  #top_trouble .trouble_comment .top_comment:after {
    display: block;
    content: "";
    margin: 0 auto;
    width: 960px;
    background: url(/wp-content/uploads/images/trouble_img001.webp) top center no-repeat;
    background-size: contain;
    object-fit: cover;
    aspect-ratio: 16 / 9;
  }  
  #top_trouble .trouble_comment .bottom_comment {
    position: relative;
    width: 100%;
    margin-top: -12rem;
    padding: 20rem 0 10rem;
    font-size: 4rem;
    line-height: 1.5;
    background: url(/wp-content/uploads/images/bg_case.webp) top center no-repeat;
    background-size: cover;
    clip-path: polygon(50% 12rem, 100% 0%, 100% 100%, 0 100%, 0 0);
    text-shadow: 0 0 .1em #fff,0 0 .1em #fff,0 0 .1em #fff,0 0 .1em #fff,0 0 .1em #fff,0 0 .1em #fff;
  }
  #top_trouble .trouble_comment .bottom_comment .large {
    color: #caa100;
    font-size: 6rem; 
  }
}
/******************************************************
当院の矯正が選ばれる理由
******************************************************/
@media screen and (min-width:1240px) {
  #top_reason {
    padding: 10rem 0;
  }
  #top_reason .reason_list .list {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }  
  #top_reason .reason_list .list:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
  }
  #top_reason .reason_list .list:nth-child(odd):after {
    clip-path: polygon(100% 50%, 20% 10%, 50% 80%);
    background: #f9f9f9;
  }
  #top_reason .reason_list .list:nth-child(even):after {
    clip-path: polygon(0% 50%, 80% 10%, 50% 80%);
    background: #f9f9f9;
  }
  #top_reason .reason_list .list:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
  }  
  #top_reason .reason_list .list:nth-child(odd):before {
    clip-path: polygon(30% 40%, 0 70%, 20% 100%);
    background: #edf0f3;
  }
  #top_reason .reason_list .list:nth-child(even):before {
    clip-path: polygon(70% 40%, 100% 70%, 80% 100%);
    background: #faf5e5;
  }  
  
  
  #top_reason .reason_list .list:nth-child(n+2) {
    margin-top: 8rem;    
  }
  #top_reason .reason_list .list:nth-child(odd) {
    flex-direction: row-reverse;
  }
  #top_reason .reason_list .list .image {
    position: relative;
    width: calc(100% - 860px);
    z-index: 1;
  }
  #top_reason .reason_list .list:nth-child(odd) .image {
    box-shadow: -2rem 2rem 0 0 rgba(76,107,138,1);
  }
  #top_reason .reason_list .list:nth-child(even) .image {
    box-shadow: 2rem 2rem 0 0 rgba(202,161,0,1);
  }  
  
  #top_reason .reason_list .list:nth-child(1) .image {
    background: url(/wp-content/uploads/images/feature_img001.webp) top center no-repeat;
    background-size: cover;
  }
  #top_reason .reason_list .list:nth-child(2) .image {
    background: url(/wp-content/uploads/images/feature_img002.webp) top center no-repeat;
    background-size: cover;
  }
  #top_reason .reason_list .list:nth-child(3) .image {
    background: url(/wp-content/uploads/images/feature_img003.webp) top center no-repeat;
    background-size: cover;
  }
  #top_reason .reason_list .list:nth-child(4) .image {
    background: url(/wp-content/uploads/images/feature_img004.webp) top center no-repeat;
    background-size: cover;
  }  
  
  #top_reason .reason_list .list .text {
    position: relative;
    z-index: 1;    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 860px;
    padding: 8rem;
    box-sizing: border-box;
    object-fit: cover;
    aspect-ratio: 3 / 2;
  }
  #top_reason .reason_list .list .text .number {
    margin-bottom: 1.2em;
    color: #4c6b8a;
    font-size: 2rem;
    text-align: center;
    line-height: 1.5;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;     
  }
  #top_reason .reason_list .list .text .title {
    margin-bottom: 1.2em;
    color: #caa100;
    font-size: 3rem;
    text-align: center;
    line-height: 1.5;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif; 
  }
}
/******************************************************
メリット
******************************************************/
@media screen and (min-width:1240px) {
  #top_merit .merit_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10rem 16rem;
  }
  #top_merit .adult .merit_list {    
    background: #edf0f3;
  }
  #top_merit .child .merit_list {
    background: #faf5e5;
  }
  #top_merit .merit_list .list {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc((100% / 3) - 20px);
    margin-left: 30px;
    padding: 6rem;
    background: #fff;
    box-sizing: border-box;
    object-fit: cover;
    aspect-ratio: 1 / 1;
  }
  #top_merit .merit_list .list:nth-child(3n+1) {
    margin-left: 0;
  }
  #top_merit .merit_list .list:nth-child(n+4) {
    margin-top: 30px;
  }
  #top_merit .merit_list .list:before {
    position: absolute;
    top: 10px;
    left: 10px;
    display: block;
    content: "";
    width: 100px;
    height: 100px;
  }
  #top_merit .merit_list .list:after {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: block;
    content: "";
    width: 100px;
    height: 100px;
  }
  #top_merit .adult .merit_list .list:before {
    border-top: 1px solid #4c6b8a;
    border-left: 1px solid #4c6b8a;
  }  
  #top_merit .adult .merit_list .list:after {
    border-right: 1px solid #4c6b8a;
    border-bottom: 1px solid #4c6b8a;
  }  
  #top_merit .child .merit_list .list:before {
    border-top: 1px solid #caa100;
    border-left: 1px solid #caa100;
  }  
  #top_merit .child .merit_list .list:after {
    border-right: 1px solid #caa100;
    border-bottom: 1px solid #caa100;
  }    
  #top_merit .merit_list .list .title {
    margin-bottom: 1.2em;
    font-size: 2rem;
    text-align: center;
    line-height: 1.5;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif; 
  }  
  #top_merit .adult .merit_list .list .title {
    color: #4c6b8a;
  }
  #top_merit .child .merit_list .list .title {
    color: #caa100;
  }
  #top_merit .merit_list .list .icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 3rem;
    padding: 2rem;
    border-radius: 50%;
    box-sizing: border-box;
  }
  #top_merit .adult .merit_list .list .icon {
    background: #edf0f3;
  }
  #top_merit .child .merit_list .list .icon {
    background: #faf5e5;
  }
}
/******************************************************
成人矯正と小児矯正の違い
******************************************************/
@media screen and (min-width:1240px) {
  #top_difference {
    padding: 10rem 0;
    background: url(/wp-content/uploads/images/bg_difference.webp) top center no-repeat;
    background-size: cover;
  }
  #top_difference .difference_comment {
    margin-bottom: 5rem;
    color: #fff;
    text-align: center;
  }
  #top_difference .change_btns .change_btn {
    margin: 0 3rem;
  }
}
/******************************************************
当院で可能な矯正治療
******************************************************/
@media screen and (min-width:1240px) {
  #top_type {
    padding: 10rem 0;
  }
  #top_type .type_list .list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 12rem;
    padding: 8rem 16rem;
    color: #fff;
    background: #ccc;
  }
  #top_type .adult .type_list .list {
    background: url(/wp-content/uploads/images/bg_type_adult.webp) top center;
    background-size: 100% auto;
  }
  #top_type .child .type_list .list {
    background: url(/wp-content/uploads/images/bg_type_child.webp) top center;
    background-size: 100% auto;
  }
  #top_type .type_list.adult .list:nth-child(odd) {
    flex-direction: row-reverse;
  }
  #top_type .type_list.adult .list:nth-child(even) {
    flex-direction: row;
  }
  #top_type .type_list.child .list:nth-child(odd) {
    flex-direction: row;
  }
  #top_type .type_list.child .list:nth-child(even) {
    flex-direction: row-reverse;
  }  
  
  #top_type .type_list .list .image {
    width: calc(50% - 3rem);
    margin-top: -16rem;
  }
  #top_type .type_list .list .text {
    position: relative;
    width: calc(50% - 3rem);
    padding: 8rem;
    box-sizing: border-box;
  }
  #top_type .type_list .list .text:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100px;
    height: 100px;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
  }  
  #top_type .type_list .list .text:after {
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    content: "";
    width: 100px;
    height: 100px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
  }    
  #top_type .type_list .list .text .title {
    position: relative;
    padding-left: 2em;
    margin-bottom: 1.2em;
    font-size: 2.4rem;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif; 
  }
  #top_type .type_list .list .text .title:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 1em;
    height: 1em;
    margin-top: -.5em;
    background: url(/wp-content/uploads/images/icon_logo.webp) center center no-repeat;
    background-size: contain;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
  }
}
/******************************************************
矯正治療の流れ
******************************************************/
@media screen and (min-width:1240px) {
  #top_flow {
    background: #fff;
  }
  #top_flow .flow_list .list {
    position: relative;
    padding: 10rem 0;
  }
  #top_flow .flow_list .list:nth-child(odd) {
    background: #f9f9f9;
  }
  #top_flow .flow_list .list:nth-child(even) {
    background: #fff;
  }
  #top_flow .flow_list .list:nth-child(n+2):before {
    position: absolute;
    top: 0;
    left: 50%;
    display: block;
    content: "";
    width: 0;
    height: 0;
    margin-left: -120px;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-top: 30px solid #edf0f3;
  }
  #top_flow .flow_list .list_inner {
    position:relative;
    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_flow .flow_list .list_inner .number {
    order: 1;
    width: 80px;
    color: #4c6b8a;
    font-size: 6rem;
    line-height: 1;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;     
  }
  #top_flow .flow_list .list_inner .image {
    order: 3;
    width: 300px;
  }
  #top_flow .flow_list .list_inner .comment {
    order: 2;
    width: calc(100% - 480px);
  }
  #top_flow .flow_list .list_inner .comment h3 {
    margin-bottom: .5em;
    padding-bottom: .5em;
    font-size: 2.4rem;
    line-height: 1.5;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;  
    border-bottom: 1px solid #ccc;
  }
}
/******************************************************
症例紹介
******************************************************/
@media screen and (min-width:1240px) {
  #top_case {
    padding: 10rem 0;
    background: url(/wp-content/uploads/images/bg_case.webp) top center repeat-y;
    background-size: 100% auto;
  }
  #top_case .case_list .list {
    display: flex;
    flex-direction: column;
    width: 960px;
    padding: 2rem;
    box-sizing: border-box;
  }
  #top_case .case_list .arrow {
    position: absolute;
    top: 50%;
    width: 80px;
    height: 80px;
    margin-top: -40px;
    border-radius: 50%;
    z-index: 1;
    cursor: pointer;
  }
  #top_case .case_list .prev {
    left: calc(50% - 520px);
    background: #f9f9f9 url(/wp-content/uploads/images/icon_prev.webp) center center no-repeat;
    background-size: contain;
  }
  #top_case .case_list .next {
    right: calc(50% - 520px);
    background: #f9f9f9 url(/wp-content/uploads/images/icon_next.webp) center center no-repeat;
    background-size: contain;    
  }
  #top_case .case_list .list .box {
    flex-grow: 1;
    padding: 5rem;
    box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
    background: rgba(255,255,255,1);
  }
  #top_case .case_list .list .image {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
  }
  #top_case .case_list .list .image:after {
    position: absolute;
    top: 50%;
    left: calc(50% - 10px);
    display: block;
    content: "";
    width: 0;
    height: 0;
    margin-top: -20px;
    border-left: 20px solid #4c6b8a;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
  }
  #top_case .case_list .list .image .before,
  #top_case .case_list .list .image .after {
    position: relative;
    width: calc(50% - 2rem);    
  }
  #top_case .case_list .list .image .before:before,
  #top_case .case_list .list .image .after:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 120px;
    padding: .4em;
    color: #fff;
    font-size: 1.4rem;
    text-align: center;
    background: rgba(202,161,0,.8);
  }
  #top_case .case_list .list .image .before:before {
    content: "Before";
  }
  #top_case .case_list .list .image .after:before {
    content: "After";
  }
  
  #top_case .case_list .list table {
    width: 100%;
    table-layout: fixed;
  }
  #top_case .case_list .list th,
  #top_case .case_list .list td {
    padding: .8em;
    text-align: left;
  }
  #top_case .case_list .list th {
    width: 25%;
    border-bottom: 1px solid #4c6b8a;
  }
  #top_case .case_list .list td {
    border-bottom: 1px solid #ccc;
  }
}
/******************************************************
費用について
******************************************************/
@media screen and (min-width:1240px) {
  #top_fee {
    padding: 10rem 0;
    background: url(/wp-content/uploads/images/bg_fee.webp) top center;
  }
  #top_fee .fee_box:nth-child(n+2) {
    margin-top: 5rem;
  }
  #top_fee .fee_box h3 {
    position: relative;
    margin-bottom: 1.2em;
    padding-left: 1.2em;
    font-size: 2.4rem;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;      
  }
  #top_fee .fee_box h3:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: .8em;
    height: .8em;
    margin-top: -.4em;
    background: #4c6b8a;
  }
  #top_fee .fee_table table {
    width: 100%;
    table-layout: fixed;
    background: #fff;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
  }
  #top_fee .fee_table th,
  #top_fee .fee_table td {
    padding: .8em;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
  }
  #top_fee .fee_table th {
    color: #fff;
    background: #4c6b8a;
  }
  #top_fee .fee_table .price {
    width: 420px;
  }
  #top_fee .fee_comment {
    padding: 5rem;
    background: #fff;
  }
}
/******************************************************
よくあるご質問
******************************************************/
@media screen and (min-width:1240px) {
  #top_faq {
    padding: 10rem 0;
    background: #f9f9f9;    
  }
  #top_faq .faq dt {
    position: relative;
    padding: .8em 3rem .8em 3em;
    cursor: pointer;
  }
  #top_faq .adult .faq dt {
    color: #fff;
    background: #4c6b8a;
  }
  #top_faq .child .faq dt {
    color: #fff;
    background: #caa100
  }
  #top_faq .faq dt:nth-of-type(n+2) {
    margin-top: 2rem;
  }
  #top_faq .faq dt:before {
    position: absolute;
    display: block;
    top: 50%;
    right: 20px;
    content: "";
    width: 15px;
    line-height: 1;
    border-bottom: 1px solid #fff;
  }
  #top_faq .faq dt:after {
    position: absolute;
    display: block;
    top: 50%;
    right: 27px;
    margin-top: -7px;
    content: "";
    height: 15px;
    line-height: 1;
    border-left: 1px solid #fff;
  }
  #top_faq .faq dt.active:after {
    display: none;
  }
  #top_faq .faq dt span:before {
    content: "Q.";
    position: absolute;
    top: 50%;
    left: .8em;
    color: #fff;
    font-family: "Cormorant Garamond", serif;
    font-size: 2.4rem;
    line-height: 1;
    margin-top: -.5em;
  }
  
  #top_faq .faq dd {
    display: none;
    position: relative;
    margin-top: 2rem;
    padding: 3em;
    background: #fff;
  }
  #top_faq .faq dd:nth-of-type(1) {
    display: block;
  }
  #top_faq .faq dd:before {
    content: "A.";
    display: block;
    font-size: 2.4rem;
    font-family: "Cormorant Garamond", serif;
  }
  #top_faq .faq_cover_1 .faq dd:nth-of-type(1) {
    display: block;
  }  
}
/******************************************************
胸腺担当医挨拶
******************************************************/
@media screen and (min-width: 1240px) {
  #top_doctor {
    position: relative;
    padding: 10rem 0;
    background: url(/wp-content/uploads/images/bg_doctor.webp) top center no-repeat;
    background-size: cover;
  }
  #top_doctor .doctor_flex {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 2;
  }
  #top_doctor .doctor_flex .text {
    max-width: 640px;
    box-sizing: border-box;
  }
  #top_doctor .doctor_flex .title {
    display: flex;
    flex-direction: column;
    width: fit-content;
    margin-bottom: 6rem;
    line-height: 1.5;
  }
  #top_doctor .doctor_flex .title .eng {
    color: #4c6b8a;
    font-size: 10.8rem;
    font-family: "Cormorant Garamond", serif;
    letter-spacing: .2em;
  }
  #top_doctor .doctor_flex .title .jap {
    position: relative;
    font-size: 2rem;
    text-align: right;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;  
  }
  #top_doctor .doctor_flex .title .jap:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: calc(100% - 10em);
    height: 1px;
    background: #605f5d;
  }
  #top_doctor .doctor_flex .sp_image {
    display: none;
  }
  #top_doctor .doctor_flex .comment p:nth-child(n+2) {
    margin-top: 1.2em;
  }
  #top_doctor .doctor_name {
    position: absolute;
    bottom: 10rem;
    right: 10rem;
    display: flex;
    flex-direction: column;
    padding: 3rem;
    color: #fff;
    line-height: 1.5;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;  
    background: rgba(76,107,138,.8);
  }
  #top_doctor .doctor_name .large {
    font-size: 3rem;
  }
}
/******************************************************
電話お問い合わせ
******************************************************/
@media screen and (min-width:1240px) {
  #tel_contact {
    padding: 10rem 0;
    background: url(/wp-content/uploads/images/bg_contact_2.webp) center center no-repeat;
    background-size: cover;
  }
  #tel_contact .contact_flex {
    display: flex;
    flex-wrap: wrap;
  }
  #tel_contact .contact_flex .title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;    
    width: 50%;
    padding: 6rem;
    color: #fff;
    font-size: 3rem;
    text-align: center;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;  
    background: #4c6b8a;
    box-sizing: border-box;
  }
  #tel_contact .contact_flex .tel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    padding: 6rem;
    text-align: center;
    background: #fff;
    box-sizing: border-box;
  }
  #tel_contact .contact_flex .tel_cover {
    display: flex;
    flex-direction: column;    
    width: fit-content;
  }
  #tel_contact .contact_flex .tel .number a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4.8rem;
    line-height: 1.5;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;  
  }
  #tel_contact .contact_flex .tel .number a:before {
    display: block;
    content: "";
    width: 1em;
    height: 1em;
    margin-right: .5em;
    line-height: 1;
    background: url(/wp-content/uploads/images/icon_tel_gray.webp) center center no-repeat;
    background-size: contain;
  }  
  #tel_contact .contact_flex .tel .comment {
    display: flex;
    flex-direction: column;
    text-align :left;
  }
}
/******************************************************
スライダー
******************************************************/
@media screen and (min-width:1240px) {
  #top_slider {}
  .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; 
    width: 420px;
    height: 280px;
    margin: 0;    
    padding: 0;
  }
  .simply-scroll-list .image img {
    display: block;
  }   
}

























































/******************************************************
ヘッダー
******************************************************/
@media screen and (max-width:1239px) {
  #header {
    position: relative;
    z-index: 100;
    width: 100%;
    height: 6rem;
  }
  #h_cover {
    position: fixed;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 6rem;
    padding-right: 6rem;
    box-sizing: border-box;
    z-index: 101;
    background: #fff;
  }
  #h_logo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem;
  }
  #h_logo .image {
    width: 4rem;
    height: 4rem;
    background: url(/wp-content/uploads/images/icon_logo.webp) center center no-repeat;
    background-size: contain;
  }
  #h_logo .image img {
    display: none;
    width: auto;
    height: 2rem;
  }
  #h_logo .text {
    margin-left: 1rem;
    line-height: 1.5;
    font-family: '游明朝体', 'Yu Mincho', 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', YuMincho, 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;  
  }
  #h_logo .text .title {
    font-size: 1.4rem;
  }
  #h_logo .text .sub {
    font-size: 1rem;
  }
  #h_btn_list {
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
  #h_btn_list .btn {
    width: 50%;
    background: #fff;
  }
  #h_btn_list .btn a {
    position: relative;
    display: block;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
  }
  #h_btn_list .btn a:hover {
    opacity: .7;
  }
  #h_btn_list .btn a:before {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    content: "";
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    background: rgba(0,0,0,.025);
  }
  #h_btn_list .btn a:after {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    content: "";
    clip-path: polygon(0 0, 0% 100%, 100% 100%);
    background: rgba(0,0,0,.025);
  }
  #h_btn_list .btn a.tel {
    background: #4c6b8a;
  }
  #h_btn_list .btn a.web {
    background: #caa100;
  }  
  
  #h_btn_list .btn a span {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 6rem;
    color: #fff;
    font-size: 1.2rem;
    font-family: '游明朝体', 'Yu Mincho', 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', YuMincho, 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif; 
    z-index: 1;
  }
  #h_btn_list .btn a span:before {
    display: block;
    content: "";
    width: 1.5em;
    height: 1.5em;
    margin-bottom: .3em;    
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);    
  }
  #h_btn_list .btn a.tel span:before {
    background: url(/wp-content/uploads/images/icon_tel_white.webp) center center no-repeat;
    background-size: cover;

  }
  #h_btn_list .btn a.web span:before {
    background: url(/wp-content/uploads/images/icon_web.webp) center center no-repeat;
    background-size: cover;
  }
  /* 開閉ボタン */
  #h_toggle_btn {
    position: fixed;
    display: block;
    width: 60px;
    height: 60px;
    padding: 0;
    top: 0;
    right: 0;
    z-index: 101;
    color: #fff;
    background: #605f5d;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
  }
  #h_toggle_btn .btn {
    position: relative;
    width: 60px;
    height: 60px;
    padding-top: 35px;
  }
  #h_toggle_btn span {
    display: block;
    width: 20px;
    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: 23px;
  }
  #h_toggle_btn span:nth-child(3){
    top: 30px;
  }
  #h_toggle_btn.open {
    z-index: 10004;
  }
  #h_toggle_btn.open span {
    color: #fff;
  }
  #h_toggle_btn.open span:nth-child(1) {
    top: 23px;
    -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: 23px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
    background: #fff;
  }  
  #h_toggle_btn div {
    font-size: 1rem;
    text-align: center;
    font-family: "Noto Serif JP", serif;
    letter-spacing: .1em;
  }
  
  /* メニュー全体 */
  #h_nav {
    background: rgba(255,255,255,.9);
    display: block;
    width: 480px;
    max-width: calc(100% - 60px);
    height: 100%;
    padding: 6rem 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 {
    font-family: '游明朝体', 'Yu Mincho', 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', YuMincho, 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif; 
  }
  #h_nav li a {
    position: relative;
    display: block;
    padding: 1em;
    padding-left: 2.6em;
    border-bottom: 1px solid #f2f2f2;
  }
  #h_nav li a:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 1.6em;
    height: 1.6em;
    margin-top: -.8em;
    line-height: 1;
    background: url(/wp-content/uploads/images/icon_logo.webp) center center no-repeat;
    background-size: contain;
  } 
}
/******************************************************
フッター
******************************************************/
@media screen and (max-width:1239px) {
  #footer {
    padding-bottom: 6rem;
  }
  #f_clinic {
    padding: 5rem 0;
    background: #f9f9f9 url(/wp-content/uploads/images/bg_clinic.webp) top center no-repeat;
    background-size: cover;
  }
  #f_clinic .clinic_flex {}
  #f_clinic .clinic_flex .clinic_image {
    margin-bottom: 3rem;
  }
  #f_clinic .clinic_flex .clinic_image .image {
    margin-bottom: 2rem;
  }
  #f_clinic .clinic_flex .clinic_image .image img {
    object-fit: cover;
    aspect-ratio: 16 / 9;
  }
  #f_clinic .clinic_flex .clinic_image .schedule {
    padding: 3rem 1.5rem;
    background: #fff;
  }
  #f_clinic .clinic_flex .clinic_image .schedule span {
    color: #4c6b8a;
  }  
  #f_clinic .clinic_flex .clinic_image .schedule table {
    width: 100%;
    margin-bottom: 1em;
    border-bottom: 1px solid #ccc;
  }
  #f_clinic .clinic_flex .clinic_image .schedule table tr:first-child {
    border-bottom: 1px solid #ccc;
  }
  #f_clinic .clinic_flex .clinic_image .schedule table th,
  #f_clinic .clinic_flex .clinic_image .schedule table td {
    padding: .2em;
    text-align: center;
  }
  #f_clinic .clinic_flex .clinic_image .schedule table tr.am th,
  #f_clinic .clinic_flex .clinic_image .schedule table tr.am td {
    padding-bottom: 0;
  }
  #f_clinic .clinic_flex .clinic_image .schedule table tr.pm th,
  #f_clinic .clinic_flex .clinic_image .schedule table tr.pm td {
    padding-top: 0;
  }
  #f_clinic .clinic_flex .clinic_image .schedule p {
    text-align: right;
  }  
  
  #f_clinic .clinic_flex .clinic_data {
    text-align: center;
  }
  #f_clinic .clinic_flex .clinic_data .logo {
    margin-bottom: 3rem;
  }
  #f_clinic .clinic_flex .clinic_data .logo img {
    width: 240px;
    height: auto;
  }
  #f_clinic .clinic_flex .clinic_data .btn {
    margin-bottom: 3rem;
  }
  #f_clinic .clinic_flex .clinic_data .btn a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 280px;
    height: 60px;
    margin: 0 auto;
    color: #fff;
    text-align: center;
    font-family: 'Noto Serif JP','游明朝体', 'Yu Mincho', 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', YuMincho, 'MS PMincho', 'Times New Roman', serif;    
    background: #caa100;
    border: 1px solid #caa100;
    border-radius: 30px;
    box-sizing: border-box;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;    
  }
  #f_clinic .clinic_flex .clinic_data .btn a:hover {
    color: #caa100;
    background: #fff;
  }
  #f_clinic .clinic_flex .clinic_data .tel a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    line-height: 1.5;
    font-family: 'Noto Serif JP','游明朝体', 'Yu Mincho', 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', YuMincho, 'MS PMincho', 'Times New Roman', serif;
  }
  #f_clinic .clinic_flex .clinic_data .tel a:before {
    display: block;
    content: "";
    width: 1em;
    height: 1em;
    margin-right: .5em;
    line-height: 1;
    background: url(/wp-content/uploads/images/icon_tel_gray.webp) center center no-repeat;
    background-size: contain;
  }
  #f_clinic .clinic_flex .clinic_data .address {
    margin-bottom: 3rem;
  }  
  #f_clinic .clinic_flex .clinic_data .access_list {}
  #f_clinic .clinic_flex .clinic_data .access_list .list {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    height: 60px;
    padding-left: 50px;
    color: #4c6b8a;
    text-align: center;
    line-height: 1.3;
    border-radius: 30px;
    border: 1px solid #4c6b8a;
    box-sizing: border-box;
    overflow: hidden;
  }
  #f_clinic .clinic_flex .clinic_data .access_list .list:nth-child(n+2) {
    margin-top: 1.5rem;
  }
  #f_clinic .clinic_flex .clinic_data .access_list .list span {
    width: 100%;
    font-family: 'Noto Serif JP','游明朝体', 'Yu Mincho', 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', YuMincho, 'MS PMincho', 'Times New Roman', serif;    
  }
  #f_clinic .clinic_flex .clinic_data .access_list .list:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 60px;
    height: 60px;
    border-radius: 0 50% 50% 0;
  }
  #f_clinic .clinic_flex .clinic_data .access_list .list.list001:before {
    background: #4c6b8a url(/wp-content/uploads/images/icon_access001.webp) center center no-repeat;
    background-size: 50%;
  }
  #f_clinic .clinic_flex .clinic_data .access_list .list.list002:before {
    background: #4c6b8a url(/wp-content/uploads/images/icon_access002.webp) center center no-repeat;
    background-size: 50%;
  }
  
  #f_map {}
  #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%;
  }   
  #copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 2rem 0;
    color: #fff;
    text-align: center;
    font-family: '游明朝体', 'Yu Mincho', 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', YuMincho, 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif; 
    background: #4e6986;
  }
  #copyright .logo {}
  #copyright .logo img {
    width: auto;
    height: 3rem;
  }
  #copyright .logo:after {
    display: block;
    content: "";
    width: 2rem;
    height: 1px;
    margin: 1em auto;
    background: #fff;
  }    
  
}
/******************************************************
トップに戻るボタン
******************************************************/
@media screen and (max-width:1239px) {
  #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: #605f5d;
  }  
  #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;
  }    
}
/******************************************************
タイトル
******************************************************/
@media screen and (max-width:1239px) {
  .main_title {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5em;
    color: #343434;
    text-align: center;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;   
  }
  .main_title span.eng {
    color: #4c6b8a;
    font-size: 3rem;
    line-height: 1.3;
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
    font-style: normal;   
  }
  .main_title.white,
  .main_title.white span.eng {
    color: #fff;
  }
}
/******************************************************
切り替えボタン
******************************************************/
@media screen and (max-width:1239px) {
  .change_btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 1.5rem;
    margin-bottom: 3rem;
  }
  .change_btn {
    width: calc(50% - 2px);
    text-align: center;
    cursor: pointer;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;   
  } 
  .change_btn:nth-child(2n) {
    margin-left: 4px;
  }
  .change_btn:hover {
    opacity: .7;
  }  
  .change_btn.adult {
    color: #fff;
    background: #4c6b8a;
  }
  .change_btn.child {
    color: #fff;
    background: #caa100;
  }
  .change_btn a,
  .change_btn span {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 50px;
    color: #fff;
    font-size: 1.2rem;
  }
  .change_btn span:after {  
    position: absolute;
    top: 100%;
    left: 50%;
    display: block;
    content: "";
    width: 0;
    height: 0;
    margin-left: -15px;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
  }    
  .change_btn.adult.active span:after {  
    border-top: 15px solid #4c6b8a;
  }     
  .change_btn.child.active span:after {  
    border-top: 15px solid #caa100;
  }
  /* コンテンツ */
  .change_content {
    display: none;
  }
  .change_content.active {
    display: block;
  }
}
/******************************************************
メインビジュアル
******************************************************/
@media screen and (max-width:1239px) {
  #top_main {
    position: relative;
    width: 100%;
    height: 75vh;
    margin-bottom: 3rem;
    background: #666;
  }
  #main_visual {
    width: 100%;
    height: 75vh;
  }
  #main_visual .image {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
  }
  #main_visual .image:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    clip-path: polygon(0 45%, 100% 60%, 100% 100%, 0% 100%);
    background: rgba(255,255,255,.6) url(/wp-content/uploads/images/bg_fee.webp) center center no-repeat;
    background-size: cover;
  }
  
  #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 .catch_copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 75vh;
    padding: 0 1.5rem 20vw; 
    color: #4d4c4a;
    box-sizing: border-box;
    z-index: 1;
  }
  #main_visual .image .main_message {
    display: flex;
    font-size: 5vw;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;       
    line-height: 1.35;
  }
  #main_visual .image .main_message .border {
    margin-bottom: .5em;
    padding-bottom: .5em;
    border-bottom: 1px solid #4d4c4a;
  }
  #main_visual .image .sub_message {
    display: flex;
    flex-direction: column;
    font-size: 3.2vw;
    line-height: 1.6;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;       
  }
  #main_visual .image .sub_message span:nth-child(n+2) {
    margin-top: .8em;
  }
  #main_visual .image .sub_message i {
    display: inline-block;
    margin-right: .4em;
    padding: 0 .6em;
    background: #fff;
  }
  #main_visual .image .sub_message i.blue {
    color: #4c6b8a;
  }
  #main_visual .image .sub_message i.orange {
    color: #caa100;
  }
  #top_main .clinic_name {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    font-size: 6vw;
    line-height: 1.1;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;  
    z-index: 1;
  }
  #top_main .clinic_name i {
    vertical-align: baseline;
  }
  #top_main .clinic_name i.blue {
    color: #4c6b8a;
  }
  #top_main .clinic_name i.orange {
    color: #caa100;
  }
}
/******************************************************
お問い合わせ
******************************************************/
@media screen and (max-width:1239px) {
  .section_contact {
    padding: 5rem 0;
    background: url(/wp-content/uploads/images/bg_contact.webp) center center no-repeat;
    background-size: cover;
  }
  .section_contact .title_cover {
    position: relative;
  }
  .section_contact .title_cover .title_jap {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1.5em;
    color: #fff;
    text-align: center;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;     
    line-height: 1.5;
    z-index: 1;
    text-shadow: 0 0 10px rgba(0,0,0,.5);
  }
  .section_contact .title_cover .title_eng {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    margin-top: -.5em;
    color: #486683;
    font-size: 6rem;
    text-align: center;
    line-height: 1;
    font-family: "Cormorant Garamond", serif;
  }
  .section_contact .contact_box {
    background: #fff;
  }
  .section_contact .contact_flex {
    padding: 3rem;
  }
  .section_contact .contact_flex .text {
    text-align: center;
  }
  .section_contact .contact_flex .text .title {
    color: #4c6b8a;
    font-size: 2rem;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif; 
  }
  .section_contact .contact_flex .text .message {
    margin-bottom: 2rem;
    padding: .5em;
    line-height: 1;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;     
    background: #f6f7f9;
  }
  .section_contact .contact_flex .text .data {
    margin-bottom: 1.5rem;
  }
  .section_contact .contact_flex .list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f6f7f9;
  }
  .section_contact .contact_flex .list ul {
    padding: 1.5rem;
  }
  .section_contact .contact_flex .list li {
    position: relative;
    padding-left: 2em;
    padding-bottom: .3em;
    margin-bottom: .3em;
    line-height: 1.5;
    border-bottom: 1px dotted #ccc;
  }
  .section_contact .contact_flex .list li:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 1em;
    height: 1em;
    margin-top: -.5em;
    background: url(/wp-content/uploads/images/icon_check_yellow.webp) center center no-repeat;
    background-size: contain;
  }
  .section_contact .btn_cover {
    padding: 3rem;
    background: #f6f7f9;
  }
  .section_contact .btn_cover .btn {
    width: 100%;
  }
  .section_contact .btn_cover .btn:nth-child(n+2) {
    margin-top: 1.5rem;
  }
  .section_contact .btn_cover .btn.tel {
    background: #4c6b8a;
  }
  .section_contact .btn_cover .btn.mail {
    background: #caa100;
  }
  .section_contact .btn_cover .btn a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    color: #fff;
    line-height: 1;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif; 
  }
  .section_contact .btn_cover .btn a .small {
    width: 100%;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    text-align: center;
    border-bottom: 1px solid #fff;
  }
  .section_contact .btn_cover .btn a .large {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
  }
  .section_contact .btn_cover .btn a .large:before {
    display: block;
    content: "";
    width: 1.2em;
    height: 1.2em;
    margin-right: .6em;
    line-height: 1;
  }
  .section_contact .btn_cover .btn.tel a .large:before {
    background: url(/wp-content/uploads/images/icon_tel_white.webp) center center no-repeat;
    background-size: contain;
  }    
  .section_contact .btn_cover .btn.mail a .large:before {
    background: url(/wp-content/uploads/images/icon_mail_white.webp) center center no-repeat;
    background-size: contain;
  }    
  
  
  
  
  
  
  
  
  
  
  
  
  
  
}
/******************************************************
こんなお悩みありませんか？
******************************************************/
@media screen and (max-width:1239px) {
  #top_trouble {
    padding: 5rem 0 0;
    overflow: hidden;
  }
  #top_trouble .trouble_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 0 1.5rem;
  }
  #top_trouble .trouble_list .list {
    width: calc((100% / 2) - 3px);
    margin-left: 6px;
    padding: .5rem;
    color: #fff;
    text-align: center;
    line-height: 1.5;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;      
    box-sizing: border-box;
  }
  #top_trouble .trouble_list .list:nth-child(2n+1) {
    margin-left: 0;
  }
  #top_trouble .trouble_list .list:nth-child(n+3) {
    margin-top: 6px;
  }
  #top_trouble .adult .trouble_list .list {
    background: url(/wp-content/uploads/images/bg_trouble_adult.webp) center center no-repeat;
    background-size: cover;
  }
  #top_trouble .child .trouble_list .list {
    background: url(/wp-content/uploads/images/bg_trouble_child.webp) center center no-repeat;
    background-size: cover;
  }  
  

  #top_trouble .trouble_list .list .box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    object-fit: cover;
    aspect-ratio: 1 / 1;   
    padding: .5rem;
    border: 1px solid #fff;
    box-sizing: border-box;
  }
  
  #top_trouble .trouble_comment {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;       
  }
  /*
  #top_trouble .trouble_comment:before {
    position: absolute;
    bottom: 25rem;
    left: 50%;
    display: block;
    content: "";
    width: 360px;
    height: 300px;
    margin-left: -700px;
    background: url(/wp-content/uploads/images/trouble_img003.webp) center center no-repeat;
    background-size: contain;
    z-index: 1;
  }  
  #top_trouble .trouble_comment:after {
    position: absolute;
    bottom: 25rem;
    right: 50%;
    display: block;
    content: "";
    width: 360px;
    height: 240px;
    margin-right: -700px;
    background: url(/wp-content/uploads/images/trouble_img002.webp) center center no-repeat;
    background-size: contain;
    z-index: 1;
  }  
  */
  #top_trouble .trouble_comment .top_comment {
    line-height: 1.35;
  }
  #top_trouble .trouble_comment .top_comment .small {
    color: #caa100;
  }
  #top_trouble .trouble_comment .top_comment .large {
    font-size: 1.8rem;
  }
  #top_trouble .trouble_comment .top_comment .large span {
    display: inline-block;
    border-bottom: 2px solid #caa100;
  }
  #top_trouble .trouble_comment .top_comment:after {
    display: block;
    content: "";
    margin: 0 auto;
    width: 100%;
    background: url(/wp-content/uploads/images/trouble_img001.webp) top center no-repeat;
    background-size: contain;
    object-fit: cover;
    aspect-ratio: 16 / 9;
  }  
  #top_trouble .trouble_comment .bottom_comment {
    position: relative;
    width: 100%;
    margin-top: -5rem;
    padding: 10rem 0 5rem;
    font-size: 2rem;
    line-height: 1.5;
    background: url(/wp-content/uploads/images/bg_case.webp) top center no-repeat;
    background-size: cover;
    clip-path: polygon(50% 5rem, 100% 0%, 100% 100%, 0 100%, 0 0);
    text-shadow: 0 0 .1em #fff,0 0 .1em #fff,0 0 .1em #fff,0 0 .1em #fff,0 0 .1em #fff,0 0 .1em #fff;
  }
  #top_trouble .trouble_comment .bottom_comment .large {
    color: #caa100;
    font-size: 3rem; 
  }
}
/******************************************************
当院の矯正が選ばれる理由
******************************************************/
@media screen and (max-width:1239px) {
  #top_reason {
    padding: 5rem 1.5rem;
  }
  #top_reason .reason_list .list {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }  
  /*
  #top_reason .reason_list .list:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
  }
  #top_reason .reason_list .list:nth-child(odd):after {
    clip-path: polygon(100% 50%, 20% 10%, 50% 80%);
    background: #f9f9f9;
  }
  #top_reason .reason_list .list:nth-child(even):after {
    clip-path: polygon(0% 50%, 80% 10%, 50% 80%);
    background: #f9f9f9;
  }
  #top_reason .reason_list .list:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
  }  
  #top_reason .reason_list .list:nth-child(odd):before {
    clip-path: polygon(30% 40%, 0 70%, 20% 100%);
    background: #edf0f3;
  }
  #top_reason .reason_list .list:nth-child(even):before {
    clip-path: polygon(70% 40%, 100% 70%, 80% 100%);
    background: #faf5e5;
  }  
  */
  
  
  #top_reason .reason_list .list:nth-child(n+2) {
    margin-top: 3rem;    
  }

  #top_reason .reason_list .list .image {
    position: relative;
    width: 100%;
    height: 56.25vw;
    margin-bottom: 3rem;
    z-index: 1;
  }
  #top_reason .reason_list .list:nth-child(odd) .image {
    box-shadow: -.5rem .5rem 0 0 rgba(76,107,138,1);
  }
  #top_reason .reason_list .list:nth-child(even) .image {
    box-shadow: .5rem .5rem 0 0 rgba(202,161,0,1);
  }  
  
  #top_reason .reason_list .list:nth-child(1) .image {
    background: url(/wp-content/uploads/images/feature_img001.webp) top center no-repeat;
    background-size: cover;
  }
  #top_reason .reason_list .list:nth-child(2) .image {
    background: url(/wp-content/uploads/images/feature_img002.webp) top center no-repeat;
    background-size: cover;
  }
  #top_reason .reason_list .list:nth-child(3) .image {
    background: url(/wp-content/uploads/images/feature_img003.webp) top center no-repeat;
    background-size: cover;
  }
  #top_reason .reason_list .list:nth-child(4) .image {
    background: url(/wp-content/uploads/images/feature_img004.webp) top center no-repeat;
    background-size: cover;
  }  
  
  #top_reason .reason_list .list .text {
    position: relative;
    z-index: 1;    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    object-fit: cover;
    aspect-ratio: 3 / 2;
  }
  #top_reason .reason_list .list .text .number {
    margin-bottom: 1.2em;
    color: #4c6b8a;
    font-size: 1.6rem;
    text-align: center;
    line-height: 1.5;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;     
  }
  #top_reason .reason_list .list .text .title {
    margin-bottom: 1.2em;
    color: #caa100;
    font-size: 2rem;
    text-align: center;
    line-height: 1.5;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif; 
  }
}
/******************************************************
メリット
******************************************************/
@media screen and (max-width:1239px) {
  #top_merit {}
  #top_merit .merit_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 5rem 1.5rem;
  }
  #top_merit .adult .merit_list {    
    background: #edf0f3;
  }
  #top_merit .child .merit_list {
    background: #faf5e5;
  }
  #top_merit .merit_list .list {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem;
    background: #fff;
    box-sizing: border-box;
    object-fit: cover;
    aspect-ratio: 1 / 1;
  }
  #top_merit .merit_list .list:nth-child(n+2) {
    margin-top: 1.5rem;
  }
  #top_merit .merit_list .list:before {
    position: absolute;
    top: 10px;
    left: 10px;
    display: block;
    content: "";
    width: 100px;
    height: 100px;
  }
  #top_merit .merit_list .list:after {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: block;
    content: "";
    width: 100px;
    height: 100px;
  }
  #top_merit .adult .merit_list .list:before {
    border-top: 1px solid #4c6b8a;
    border-left: 1px solid #4c6b8a;
  }  
  #top_merit .adult .merit_list .list:after {
    border-right: 1px solid #4c6b8a;
    border-bottom: 1px solid #4c6b8a;
  }  
  #top_merit .child .merit_list .list:before {
    border-top: 1px solid #caa100;
    border-left: 1px solid #caa100;
  }  
  #top_merit .child .merit_list .list:after {
    border-right: 1px solid #caa100;
    border-bottom: 1px solid #caa100;
  }    
  #top_merit .merit_list .list .title {
    margin-bottom: 1.2em;
    font-size: 2rem;
    text-align: center;
    line-height: 1.5;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif; 
  }  
  #top_merit .adult .merit_list .list .title {
    color: #4c6b8a;
  }
  #top_merit .child .merit_list .list .title {
    color: #caa100;
  }
  #top_merit .merit_list .list .icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 3rem;
    padding: 2rem;
    border-radius: 50%;
    box-sizing: border-box;
  }
  #top_merit .adult .merit_list .list .icon {
    background: #edf0f3;
  }
  #top_merit .child .merit_list .list .icon {
    background: #faf5e5;
  }
}
/******************************************************
成人矯正と小児矯正の違い
******************************************************/
@media screen and (max-width:1239px) {
  #top_difference {
    padding: 5rem 0;
    background: url(/wp-content/uploads/images/bg_difference_sp.webp) top center no-repeat;
    background-size: cover;
  }
  #top_difference .difference_comment {
    margin-bottom: 5rem;
    color: #fff;
    text-align: center;
  }
  #top_difference .change_btns .change_btn {}
}
/******************************************************
当院で可能な矯正治療
******************************************************/
@media screen and (max-width:1239px) {
  #top_type {
    padding: 5rem 0;
  }
  #top_type .type_list .list {
    color: #fff;
    background: #ccc;
  }
  #top_type .adult .type_list .list {
    background: url(/wp-content/uploads/images/bg_type_adult.webp) top center;
    background-size: 100% auto;
  }
  #top_type .child .type_list .list {
    background: url(/wp-content/uploads/images/bg_type_child.webp) top center;
    background-size: 100% auto;
  }

  
  #top_type .type_list .list .image {
    width: 100%;
  }
  #top_type .type_list .list .text {
    position: relative;
    width: 100%;
    padding: 5rem 1.5rem;
    box-sizing: border-box;
  }
  #top_type .type_list .list .text .title {
    position: relative;
    padding-left: 2em;
    margin-bottom: .8em;
    font-size: 2rem;
    line-height: 1.5;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif; 
  }
  #top_type .type_list .list .text .title:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 1em;
    height: 1em;
    margin-top: -.5em;
    background: url(/wp-content/uploads/images/icon_logo.webp) center center no-repeat;
    background-size: contain;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
  }
}
/******************************************************
矯正治療の流れ
******************************************************/
@media screen and (max-width:1239px) {
  #top_flow {
    background: #fff;
  }
  #top_flow .flow_list .list {
    position: relative;
    padding: 5rem 0;
  }
  #top_flow .flow_list .list:nth-child(odd) {
    background: #f9f9f9;
  }
  #top_flow .flow_list .list:nth-child(even) {
    background: #fff;
  }
  #top_flow .flow_list .list:nth-child(n+2):before {
    position: absolute;
    top: 0;
    left: 50%;
    display: block;
    content: "";
    width: 0;
    height: 0;
    margin-left: -80px;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-top: 30px solid #edf0f3;
  }
  #top_flow .flow_list .list_inner {
    position:relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
  }
  #top_flow .flow_list .list_inner .number {
    order: 1;
    width: 100%;
    margin-bottom: .5em;
    color: #4c6b8a;
    font-size: 4rem;
    line-height: 1;
    text-align: center;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;     
  }
  #top_flow .flow_list .list_inner .image {
    order: 2;
    width: 100%;
    margin-bottom: 2rem;
  }
  #top_flow .flow_list .list_inner .comment {
    order: 3;
  }
  #top_flow .flow_list .list_inner .comment h3 {
    margin-bottom: .5em;
    padding-bottom: .5em;
    font-size: 2rem;
    line-height: 1.5;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;  
    border-bottom: 1px solid #ccc;
  }
}
/******************************************************
症例紹介
******************************************************/
@media screen and (max-width:1239px) {
  #top_case {
    padding: 5rem 0;
    background: url(/wp-content/uploads/images/bg_case.webp) top center repeat-y;
    background-size: 100% auto;
  }
  #top_case .case_list .list {
    display: flex;
    flex-direction: column;
    padding: 0 1.5rem;
    box-sizing: border-box;
  }
  #top_case .case_list .arrow {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    border-radius: 50%;
    z-index: 1;
    cursor: pointer;
  }
  #top_case .case_list .prev {
    left: 0;
    background: #f9f9f9 url(/wp-content/uploads/images/icon_prev.webp) center center no-repeat;
    background-size: contain;
  }
  #top_case .case_list .next {
    right: 0;
    background: #f9f9f9 url(/wp-content/uploads/images/icon_next.webp) center center no-repeat;
    background-size: contain;    
  }
  #top_case .case_list .list .box {
    flex-grow: 1;
    padding: 3rem 1.5rem;
    box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
    background: rgba(255,255,255,1);
  }
  #top_case .case_list .list .image {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
  }
  #top_case .case_list .list .image:after {
    position: absolute;
    top: 50%;
    left: calc(50% - 5px);
    display: block;
    content: "";
    width: 0;
    height: 0;
    margin-top: -10px;
    border-left: 10px solid #4c6b8a;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }
  #top_case .case_list .list .image .before,
  #top_case .case_list .list .image .after {
    position: relative;
    width: calc(50% - 1rem);    
  }
  #top_case .case_list .list .image .before:before,
  #top_case .case_list .list .image .after:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 60px;
    padding: .4em;
    color: #fff;
    font-size: 1rem;
    text-align: center;
    background: rgba(202,161,0,.8);
  }
  #top_case .case_list .list .image .before:before {
    content: "Before";
  }
  #top_case .case_list .list .image .after:before {
    content: "After";
  }
  
  #top_case .case_list .list table {
    width: 100%;
    table-layout: fixed;
  }
  #top_case .case_list .list th,
  #top_case .case_list .list td {
    padding: .8em;
    text-align: left;
  }
  #top_case .case_list .list th {
    width: 25%;
    border-bottom: 1px solid #4c6b8a;
  }
  #top_case .case_list .list td {
    border-bottom: 1px solid #ccc;
  }
}
/******************************************************
費用について
******************************************************/
@media screen and (max-width:1239px) {
  #top_fee {
    padding: 5rem 0;
    background: url(/wp-content/uploads/images/bg_fee.webp) top center;
  }
  #top_fee .fee_box:nth-child(n+2) {
    margin-top: 3rem;
  }
  #top_fee .fee_box h3 {
    position: relative;
    margin-bottom: 1.2em;
    padding-left: 1.2em;
    font-size: 2rem;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;      
  }
  #top_fee .fee_box h3:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: .8em;
    height: .8em;
    margin-top: -.4em;
    background: #4c6b8a;
  }
  #top_fee .fee_table table {
    width: 100%;
    table-layout: fixed;
    background: #fff;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
  }
  #top_fee .fee_table th,
  #top_fee .fee_table td {
    padding: .4em;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
  }
  #top_fee .fee_table th {
    color: #fff;
    background: #4c6b8a;
  }
  #top_fee .fee_table .price {
  }
  #top_fee .fee_comment {
    padding: 3rem 1.5rem;
    background: #fff;
  }
}
/******************************************************
よくあるご質問
******************************************************/
@media screen and (max-width:1239px) {
  #top_faq {
    padding: 5rem 0;
    background: #f9f9f9;    
  }
  #top_faq .change_btns {
    margin-right: 0;
    margin-left: 0;
  }
  #top_faq .faq dt {
    position: relative;
    padding: .8em 3rem .8em 3em;
    line-height: 1.5;
    cursor: pointer;
  }
  #top_faq .adult .faq dt {
    color: #fff;
    background: #4c6b8a;
  }
  #top_faq .child .faq dt {
    color: #fff;
    background: #caa100
  }
  #top_faq .faq dt:nth-of-type(n+2) {
    margin-top: 2rem;
  }
  #top_faq .faq dt:before {
    position: absolute;
    display: block;
    top: 50%;
    right: 20px;
    content: "";
    width: 15px;
    line-height: 1;
    border-bottom: 1px solid #fff;
  }
  #top_faq .faq dt:after {
    position: absolute;
    display: block;
    top: 50%;
    right: 27px;
    margin-top: -7px;
    content: "";
    height: 15px;
    line-height: 1;
    border-left: 1px solid #fff;
  }
  #top_faq .faq dt.active:after {
    display: none;
  }
  #top_faq .faq dt span:before {
    content: "Q.";
    position: absolute;
    top: 50%;
    left: .8em;
    color: #fff;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    line-height: 1;
    margin-top: -.5em;
  }
  
  #top_faq .faq dd {
    display: none;
    position: relative;
    margin-top: 2rem;
    padding: 1.5rem;
    background: #fff;
  }
  #top_faq .faq dd:nth-of-type(1) {
    display: block;
  }
  #top_faq .faq dd:before {
    content: "A.";
    display: block;
    font-size: 2rem;
    font-family: "Cormorant Garamond", serif;
  }
  #top_faq .faq_cover_1 .faq dd:nth-of-type(1) {
    display: block;
  }  
}
/******************************************************
胸腺担当医挨拶
******************************************************/
@media screen and (max-width:1239px) {
  #top_doctor {
    position: relative;
    padding: 5rem 0;
    background: url(/wp-content/uploads/images/bg_doctor.webp) top center no-repeat;
    background-size: cover;
  }
  #top_doctor .doctor_flex {
    z-index: 2;
  }
  #top_doctor .doctor_flex .text {
    max-width: 640px;
    box-sizing: border-box;
  }
  #top_doctor .doctor_flex .title {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.5;
  }
  #top_doctor .doctor_flex .title .eng {
    color: #4c6b8a;
    font-size: 3rem;
    font-family: "Cormorant Garamond", serif;
  }
  #top_doctor .doctor_flex .title .jap {
    position: relative;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;  
  }

  #top_doctor .doctor_flex .sp_image {
    margin-bottom: 3rem;
  }
  #top_doctor .doctor_flex .comment {
    margin-bottom: 3rem;
  }
  #top_doctor .doctor_flex .comment p:nth-child(n+2) {
    margin-top: 1.2em;
  }
  #top_doctor .doctor_name {
    display: flex;
    flex-direction: column;
    padding: 0 1.5rem;
    text-align: right;
    line-height: 1.5;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;  
  }
  #top_doctor .doctor_name .large {
    font-size: 2rem;
  }
}
/******************************************************
電話お問い合わせ
******************************************************/
@media screen and (max-width:1239px) {
  #tel_contact {    
    padding: 5rem 0;
    background: url(/wp-content/uploads/images/bg_contact_2.webp) center center no-repeat;
    background-size: cover;
  }
  #tel_contact .contact_flex {
    display: flex;
    flex-wrap: wrap;
  }
  #tel_contact .contact_flex .title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;    
    width: 100%;
    padding: 3rem;
    color: #fff;
    font-size: 2rem;
    text-align: center;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;  
    background: #4c6b8a;
    box-sizing: border-box;
  }
  #tel_contact .contact_flex .tel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 3rem;
    text-align: center;
    background: #fff;
    box-sizing: border-box;
  }
  #tel_contact .contact_flex .tel_cover {
    display: flex;
    flex-direction: column;    
    width: fit-content;
  }
  #tel_contact .contact_flex .tel .number a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    line-height: 1.5;
    font-family: '游明朝体', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'Noto Serif JP', 'MS PMincho', 'Times New Roman', serif;  
  }
  #tel_contact .contact_flex .tel .number a:before {
    display: block;
    content: "";
    width: 1em;
    height: 1em;
    margin-right: .5em;
    line-height: 1;
    background: url(/wp-content/uploads/images/icon_tel_gray.webp) center center no-repeat;
    background-size: contain;
  }  
  #tel_contact .contact_flex .tel .comment {
    display: flex;
    flex-direction: column;
    text-align :left;
  }
}
/******************************************************
スライダー
******************************************************/
@media screen and (max-width:1239px) {
  #top_slider {}
  .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; 
    width: 240px;
    height: 160px;
    margin: 0;    
    padding: 0;
  }
  .simply-scroll-list .image img {
    display: block;
  }   
}