@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');
/******************************************************
基本設定
******************************************************/
:root {
  --white: #fff; /* 白 */
  --main-color: #fd8a5e; /* メインカラー */
  --sub-color: #893312; /* サブカラー */
  --bg-color: #fd8a5e; /* 背景色1（基本的にメインカラーと同じ） */
  --bg-high-color: #fafafa; /* 背景色2 */
  --inner-size: 1300px; /* インナー */
  --text-size-pc: 16px; /* フォントサイズ */
  --text-size-sp: 14px; /* フォントサイズ */
  --text-color: #333; /* テキストカラー（通常） */
  --text-high-color: #fff; /* テキストカラー（背景あり） */
  --text-space: 0; /* フォントの間隔 */
  --text-weight: 400; /* フォントの太さ */
  --text-weight-bold: 600; /* フォント（太字）の太さ */
  --text-weight-black: 900; /* フォント（超太字）の太さ */
  --border-color: #ccc; /* 線の色 */
  --sans: "Noto Sans JP", "游ゴシック", "Zen Kaku Gothic New", "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif; /* ゴシック体 */
  --serif: "游明朝体","Noto Serif JP", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", "Hiragino Mincho ProN", "MS PMincho", "Times New Roman", serif; /* 明朝体 */
  --catch: "Noto Sans JP", "游ゴシック", "Zen Kaku Gothic New", "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  --alphabet: "Cormorant Garamond", serif; /* 英語フォント */
}
/******************************************************
リセット
******************************************************/
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: var(--text-weight);
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
html, body {
  margin: 0;
	padding: 0;
	border: 0;
  color: var(--text-color);
	font-size: 100%;
  font-weight: var(--text-weight);
	font: inherit;
	vertical-align: middle;
  word-break: break-all;
}
html {
  font-size: 62.5%;
}
body {
  position: relative;
  font-size: var(--text-size-pc);
  line-height: 2;
  font-weight: var(--text-weight);
  letter-spacing: var(--text-space);
  font-family: var(--sans);
}
@media screen and (max-width:767px) {
  body {
    font-size: var(--text-size-sp);
  }
}
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font-weight: var(--text-weight);
  line-height: 1.5;
}
table, th, td {
  border-collapse: collapse;
  font-weight: var(--text-weight);
}
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: var(--text-color);
  text-decoration: none;
  vertical-align: baseline;
  border:　none;
  outline:　none;
}
span {
  vertical-align: baseline;
}
*:focus {
  outline: none;
}
/******************************************************
iPhoneリセット
******************************************************/
input,textarea,select {
  font-family: var(--sans);
}
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 {
  font-size: 1.6rem;
  font-family: var(--sans);
  outline: none;
  -webkit-appearance:none;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid var(--border-color);
  box-sizing: border-box;
}
/******************************************************
animate.css カスタマイズ
******************************************************/
@keyframes fadeInUp30 {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fadeInUp30 {
  animation-name: fadeInUp30;
  animation-duration: 1s;
}
@keyframes zoomUp {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
/******************************************************
iPhoneリセット
******************************************************/
.clearfix:after,
.inner:after,
.box:after {
  content: "";
  display: block;
  height: 0;
  font-size: 0;
  line-height: 0;
  clear: both;
  visibility: hidden;
}
/******************************************************
レスポンシブ
******************************************************/
.pc, .tab, .sp {display: none;}
.inner {position: relative;}
@media screen and (max-width: 767px){
  .inner {
    margin: 0 1.5rem;
  }
  .sp {display: block;}
  .sp-left {text-align:left!important;}
  .sp-right {text-align:right!important;}
  .sp-center {text-align:center!important;}
}
@media screen and (min-width: 768px) {
  .inner {
    width: var(--inner-size);
    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;}
}
/******************************************************
基本フォント
******************************************************/
.sans {
  font-family: var(--sans);
}
.serif {
  font-family: var(--serif);
}
.bold {
  font-weight: var(--text-weight-bold);
}
/******************************************************
追従バナー
******************************************************/
@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: #1daa39;
    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: #1daa39;
    line-height: 15px;
    text-align: center;
    background: #fff;
    cursor: pointer;
  }
  .fix_banner img {
    max-width: 60%;
  }
}
/******************************************************
ヘッダー
******************************************************/
@media screen and (min-width:1240px) {
  #header {
    position: relative;
    z-index: 100;
  }
  #h_cover {
    position: fixed;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    height: 11rem;
    padding-right: 11rem;
    box-sizing: border-box;
    z-index: 101;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
  }
  #h_cover.active {
    background: var(--white);
  }
  #h_logo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
    padding: 2rem;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
  }
  #h_logo .image {
    display: flex;
    align-items: center;
    margin-top: .5rem;
  }
  #h_logo .image img {
    width: auto;
    height: 7rem;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
  }
  #h_logo .image .logo {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
  }
  #h_logo .text {
    width: 100%;
    padding: 1rem;
    text-align: center;
    line-height: 1;
    color: var(--white);
    font-family: var(--serif);  
    border: 1px solid var(--white);
    box-sizing: border-box;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
  }
  #h_logo .text .title {
    font-size: 2rem;
  }
  
  #h_cover.active #h_logo {
    padding: 1.5rem;
  }
  #h_cover.active #h_logo .image .logo {
    -webkit-filter: none;
    filter: none;
  }
  #h_cover.active #h_logo .image img {
    height: 5rem;
  }
  #h_cover.active #h_logo .text {
    padding: .5rem;
    color: var(--white);
    background: #1daa39;
    border: 1px solid #1daa39;
  }
  #h_cover.active #h_logo .text .title {
    font-size: 1.6rem;
  }
  
  
  
  
  
  #h_btn_list {
    display: flex;
    flex-wrap: wrap;
  }
  #h_btn_list .btn {
    width: 280px;
  }
  #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: var(--main-color);
  }
  #h_btn_list .btn a.web {
    background: var(--sub-color);
  }  
  
  #h_btn_list .btn a span {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 11rem;
    color: #fff;
    font-size: 2rem;
    font-family: var(--serif);
    z-index: 1;
  }
  #h_btn_list .btn a span:before {
    display: block;
    content: "";
    width: 1.5em;
    height: 1.5em;
    margin-right: .5em;   
    -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: 110px;
    height: 110px;
    padding: 30px;
    top: 0;
    right: 0;
    z-index: 101;
    color: var(--white);
    background: #1daa39;
    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: 35px;
  }
  #h_toggle_btn span {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--white);
    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: var(--serif);
  }
  #h_nav li a {
    position: relative;
    display: block;
    padding: 1em;
    padding-left: 2.6em;
    border-bottom: 1px solid var(--border-color);
  }
  #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) {
  #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: var(--white);
    font-size: 1.4rem;
    text-decoration: none;
    background: var(--main-color);
    -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) {
  #f_clinic {
    padding: 10rem 0;
    background: var(--white) 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: var(--white);
  }
  #f_clinic .clinic_flex .clinic_image .schedule span {
    color: var(--sub-color);
  }  
  #f_clinic .clinic_flex .clinic_image .schedule table {
    width: 100%;
    margin-bottom: 1em;
    border-bottom: 1px solid var(--border-color);
  }
  #f_clinic .clinic_flex .clinic_image .schedule table tr:first-child {
    border-bottom: 1px solid var(--border-color);
  }
  #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: var(--white);
    text-align: center;
    font-family: var(--serif);
    background: var(--main-color);
    border: 1px solid var(--main-color);
    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: var(--main-color);
    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: var(--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: var(--sub-color);
    text-align: center;
    line-height: 1.3;
    border-radius: 35px;
    border: 1px solid var(--sub-color);
    box-sizing: border-box;
    overflow: hidden;
  }
  #f_clinic .clinic_flex .clinic_data .access_list .list span {
    width: 100%;
    font-family: var(--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: var(--sub-color) 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: var(--sub-color) 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: var(--white);
    text-align: center;
    background: var(--sub-color);
  }
  #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: var(--white);
  }  
}
/******************************************************
タイトル
******************************************************/
@media screen and (min-width:1240px) {
  .main_title {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5em;
    color: var(--text-color);
    font-size: 3rem;
    text-align: center;
    font-family: var(--serif);
  }
  .main_title span.eng {
    font-size: 10.8rem;
    line-height: 1.3;
    font-family: var(--alphabet);
    font-weight: var(--text-weight);
    font-style: normal; 
    /* グラデーション */
    background: linear-gradient(180deg, #fd8a5e 50%, #893312 100%);    
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;     
  }
  .main_title.white,
  .main_title.white span.eng {
    color: var(--white);
  }
}
/******************************************************
メインビジュアル
******************************************************/
@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%;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
  }  
  #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;
  }
  #catch_copy {
    position: absolute;
    top: 0;
    left: 0;
    width: 1200px;
    max-width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/images/catch_copy.webp) left center no-repeat;
    background-size: contain;
    z-index: 1;
  }
}
/******************************************************
メッセージ
******************************************************/
@media screen and (min-width:1240px) {
  #top_message {
    padding: 10rem 0;
    background: url(/wp-content/uploads/images/bg_message.webp) top center no-repeat;
    background-size: cover;
  }
  #top_message h2 {
    margin-bottom: 8rem;
    padding: .5em 0;
    color: var(--white);
    font-size: 4rem;
    text-align: center;
    line-height: 1;
    font-family: var(--serif);
    background: rgba(253,138,94,.5);
  }
  #top_message .message_flex {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 3rem;
    color: var(--white);
    font-family: var(--serif);
    background: rgba(0,0,0,.1);
  }
  #top_message .message_flex .message_title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(50% - 2rem);
    padding: 4rem;
    text-align: center;
    border: 1px solid var(--white);
    box-sizing: border-box; 
  }
  #top_message .message_flex .message_title .title {
    margin-bottom: .5em;
    padding-bottom: .5em;
    font-size: 3rem;
    line-height: 1.5;
    border-bottom: 1px solid var(--white);
  }
  #top_message .message_flex .message_title .comment {
    margin-bottom: 1em;
    font-size: 2rem;
  }
  #top_message .message_flex .message_title .time {
    padding: 1em;
    border: 1px solid var(--white);
  }
  #top_message .message_flex .message_title .time .large {
    font-size: 2rem;
  }
  #top_message .message_flex .message_list {
    width: calc(50% - 2rem);
  }
  #top_message .message_flex .message_list .list {
    border: 1px solid var(--white);
    padding: .5em 1em;
    font-size: 2rem;
  }
  #top_message .message_flex .message_list .list:nth-child(n+2) {
    margin-top: 15px;
  }
  #top_message .message_flex .message_list .list span {
    position: relative;
    display: block;
    padding-left: 1.5em;
  }
  #top_message .message_flex .message_list .list span: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;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
  }  
}
/******************************************************
こんなお悩みありませんか？
******************************************************/
@media screen and (min-width:1240px) {
  #top_trouble {
    padding: 10rem 0 0;
    overflow: hidden;
    background: var(--bg-high-color);
  }
  #top_trouble .trouble_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 16rem 16rem;
  }
  #top_trouble .trouble_list .list {
    width: calc((100% / 4) - 15px);
    margin-left: 20px;
    padding: 1rem;
    color: var(--white);
    font-size: 2rem;
    text-align: center;
    line-height: 1.5;
    font-family: var(--serif);      
    box-sizing: border-box;
  }
  #top_trouble .trouble_list .list:nth-child(odd) {
    background: var(--sub-color);
  }
  #top_trouble .trouble_list .list:nth-child(even) {
    background: var(--main-color);
  }
  #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 .trouble_list .list .box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    object-fit: cover;
    aspect-ratio: 1 / 1;    
    border: 1px solid var(--white);
  }
  #top_trouble .trouble_list .list .icon {
    width: 50%;
    margin: 0 auto;
  }
  #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: var(--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: var(--sub-color);
  }
  #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 var(--sub-color);
  }
  #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 var(--white),0 0 .1em var(--white),0 0 .1em var(--white),0 0 .1em var(--white),0 0 .1em var(--white),0 0 .1em var(--white);
  }
  #top_trouble .trouble_comment .bottom_comment .large {
    color: var(--main-color);
    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: #fff3ef;
  }
  #top_reason .reason_list .list:nth-child(even):after {
    clip-path: polygon(0% 50%, 80% 10%, 50% 80%);
    background: #f3eae7;
  }
  #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: #fff3ef;
  }
  #top_reason .reason_list .list:nth-child(even):before {
    clip-path: polygon(70% 40%, 100% 70%, 80% 100%);
    background: #f3eae7;
  }  
  
  
  #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(253,138,94,1);
  }
  #top_reason .reason_list .list:nth-child(even) .image {
    box-shadow: 2rem 2rem 0 0 rgba(137,51,18,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:nth-child(5) .image {
    background: url(/wp-content/uploads/images/feature_img005.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: var(--main-color);
    font-size: 3rem;
    text-align: center;
    line-height: 1.5;
    font-family: var(--serif); 
  }
  #top_reason .reason_list .list .text .title {
    margin-bottom: 1.2em;
    color: var(--sub-color);
    font-size: 3rem;
    text-align: center;
    line-height: 1.5;
    font-family: var(--serif); 
  }
}
/******************************************************
メリット
******************************************************/
@media screen and (min-width:1240px) {
  #top_merit .merit_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10rem 16rem;
    background: #fff3ef;
  }
  #top_merit .merit_list .list {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc((100% / 3) - 30px);
    margin-left: 45px;
    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: 45px;
  }
  #top_merit .merit_list .list .title {
    margin-bottom: 1.2em;
    color: var(--sub-color);
    font-size: 2rem;
    text-align: center;
    line-height: 1.5;
    font-family: var(--serif);
  }  
  #top_merit .merit_list .list .image {
    margin-bottom: 3rem;
  }
}
/******************************************************
お問い合わせ
******************************************************/
@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: var(--white);
    font-size: 4.8rem;
    text-align: center;
    font-family: var(--serif);   
    line-height: 1.2;
    z-index: 1;
    text-shadow: 0 0 .3em rgba(0,0,0,.5);
  }
  .section_contact .title_cover .title_eng {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    margin-top: -.5em;
    color: var(--sub-color);
    font-size: 18rem;
    text-align: center;
    line-height: 1;
    font-family: var(--alphabet);
    opacity: .3;
  }
  .section_contact .contact_box {
    background: var(--white);
  }
  .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: var(--sub-color);
    font-size: 3rem;
    font-family: var(--serif);
  }
  .section_contact .contact_flex .text .message {
    margin-bottom: 2rem;
    padding: .5em;
    font-size: 2rem;
    line-height: 1;
    font-family: var(--serif);    
    background: #fff3ef;
  }
  .section_contact .contact_flex .list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(50% - 1.5rem);
    background: #fff3ef;
  }
  .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 var(--border-color);
  }
  .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: #fff3ef;
  }
  .section_contact .btn_cover .btn {
    width: calc(50% - 1rem);
  }
  .section_contact .btn_cover .btn.tel {
    background: var(--main-color);
  }
  .section_contact .btn_cover .btn.mail {
    background: var(--sub-color);
  }
  .section_contact .btn_cover .btn a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    color: var(--white);
    line-height: 1;
    font-family: var(--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 var(--white);
  }
  .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_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: var(--white);
    background: var(--border-color);
  }
  #top_type .type_list .list:nth-child(odd) {
    background: url(/wp-content/uploads/images/bg_type001.webp) top center;
    background-size: 100% auto;
  }
  #top_type .type_list .list:nth-child(even) {
    background: url(/wp-content/uploads/images/bg_type002.webp) top center;
    background-size: 100% auto;
  }  
  #top_type .type_list .list:nth-child(odd) {
    flex-direction: row-reverse;
  }
  #top_type .type_list .list:nth-child(even) {
    flex-direction: row;
  }
  #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 var(--white);
    border-left: 1px solid var(--white);
  }  
  #top_type .type_list .list .text:after {
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    content: "";
    width: 100px;
    height: 100px;
    border-right: 1px solid var(--white);
    border-bottom: 1px solid var(--white);
  }    
  #top_type .type_list .list .text .title {
    position: relative;
    margin-bottom: 1.2em;
    font-size: 2.4rem;
    font-family: var(--serif);
  }
}
/******************************************************
矯正治療の流れ
******************************************************/
@media screen and (min-width:1240px) {
  #top_flow {
    background: var(--white);
  }
  #top_flow .flow_list .list {
    position: relative;
    padding: 10rem 0;
  }
  #top_flow .flow_list .list:nth-child(odd) {
    background: var(--bg-high-color);
  }
  #top_flow .flow_list .list:nth-child(even) {
    background: var(--white);
  }
  #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 var(--border-color);
  }
  #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: var(--sub-color);
    font-size: 6rem;
    line-height: 1;
    font-family: var(--serif);    
  }
  #top_flow .flow_list .list_inner .image {
    order: 3;
    width: 420px;
  }
  #top_flow .flow_list .list_inner .comment {
    order: 2;
    width: calc(100% - 600px);
  }
  #top_flow .flow_list .list_inner .comment h3 {
    margin-bottom: .5em;
    padding-bottom: .5em;
    font-size: 2.4rem;
    line-height: 1.5;
    font-family: var(--serif);    
    border-bottom: 1px solid var(--border-color);
  }
}
/******************************************************
症例紹介
******************************************************/
@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: cover;
  }
  #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: var(--bg-high-color) 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: var(--bg-high-color) 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: var(--white);
  }
  #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: 50%;
    display: block;
    content: "";
    width: 20px;
    height: 60px;
    margin-top: -30px;
    margin-left: -10px;
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
    background: var(--border-color);
  }
  #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(253,138,94,.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 .image img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }  
  #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 var(--main-color);
  }
  #top_case .case_list .list td {
    border-bottom: 1px solid var(--border-color);
  }
}
/******************************************************
費用について
******************************************************/
@media screen and (min-width:1240px) {
  #top_fee {
    padding: 10rem 0;
    background: var(--bg-high-color);
  }
  #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: var(--serif);     
  }
  #top_fee .fee_box h3:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: .8em;
    height: .8em;
    margin-top: -.4em;
    background: var(--sub-color);
  }
  #top_fee .fee_table table {
    width: 100%;
    table-layout: fixed;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
  }
  #top_fee .fee_table th,
  #top_fee .fee_table td {
    padding: .8em;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
  }
  #top_fee .fee_table th {
    color: var(--white);
    background: var(--sub-color);
  }
  #top_fee .fee_table .price {
    width: 420px;
  }
  #top_fee .fee_comment {
    padding: 5rem;
    background: var(--white);
  }
}
/******************************************************
よくあるご質問
******************************************************/
@media screen and (min-width:1240px) {
  #top_faq {
    padding: 10rem 0;
    background: var(--white);    
  }
  #top_faq .faq dt {
    position: relative;
    padding: .8em 3rem .8em 3em;
    cursor: pointer;
  }
  #top_faq .faq dt {
    color: var(--white);
    background: var(--sub-color);
  }
  #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 var(--white);
  }
  #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 var(--white);
  }
  #top_faq .faq dt.active:after {
    display: none;
  }
  #top_faq .faq dt span:before {
    content: "Q.";
    position: absolute;
    top: 50%;
    left: .8em;
    color: var(--white);
    font-family: var(--alphabet);
    font-size: 2.4rem;
    line-height: 1;
    margin-top: -.5em;
  }
  #top_faq .faq dd {
    display: none;
    position: relative;
    margin-top: 2rem;
    padding: 3em;
    background: var(--white);
    border: 1px solid var(--border-color);
  }
  #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: var(--alphabet);
  }
  #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 {
    font-size: 12rem;
    font-family: var(--alphabet);
    letter-spacing: .1em;
    /* グラデーション */
    background: linear-gradient(180deg, #fd8a5e 50%, #893312 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;    
  }
  #top_doctor .doctor_flex .title .jap {
    position: relative;
    font-size: 2rem;
    text-align: right;
    font-family: var(--serif);  
  }
  #top_doctor .doctor_flex .title .jap:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: calc(100% - 10em);
    height: 1px;
    background: var(--text-color);
  }
  #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: var(--white);
    line-height: 1.5;
    font-family: var(--serif);  
    background: rgba(137,51,18,.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: var(--white);
    font-size: 3rem;
    text-align: center;
    font-family: var(--serif);
    background: var(--sub-color);
    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: var(--white);
    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: var(--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 {
    padding: 20px 0;
  }
  .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: 25vw;
    aspect-ratio: 3 / 2;
    margin: 0 10px;    
    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;
    flex-direction: row-reverse;
    padding: 1rem;
  }
  #h_logo .image .logo {
    display: none;
  }
  #h_logo .image img {
    width: auto;
    height: 4rem;
  }
  #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: var(--main-color);
  }
  #h_btn_list .btn a.web {
    background: var(--sub-color);
  }  
  
  #h_btn_list .btn a span {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 6rem;
    color: #fff;
    font-size: 1.4rem;
    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-right: .5em;  
    -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: #1daa39;
    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;
    border-bottom: 1px solid #f2f2f2;
  }
}
/******************************************************
トップに戻るボタン
******************************************************/
@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: var(--main-color);
  }  
  #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) {
  #footer {
    padding-bottom: 6rem;
  }
  #f_clinic {
    padding: 5rem 0;
    background: var(--white) 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: 5rem;
  }
  #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: var(--white);
  }
  #f_clinic .clinic_flex .clinic_image .schedule span {
    color: var(--sub-color);
  }  
  #f_clinic .clinic_flex .clinic_image .schedule table {
    width: 100%;
    margin-bottom: 1em;
    border-bottom: 1px solid var(--border-color);
  }
  #f_clinic .clinic_flex .clinic_image .schedule table tr:first-child {
    border-bottom: 1px solid var(--border-color);
  }
  #f_clinic .clinic_flex .clinic_image .schedule table th,
  #f_clinic .clinic_flex .clinic_image .schedule table td {
    padding: .3em;
    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: 320px;
    height: 60px;
    margin: 0 auto;
    color: var(--white);
    text-align: center;
    font-family: var(--serif);
    background: var(--main-color);
    border: 1px solid var(--main-color);
    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: var(--main-color);
    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: var(--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 {
  }
  #f_clinic .clinic_flex .clinic_data .access_list .list {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    height: 60px;
    padding: 0 60px;
    color: var(--sub-color);
    text-align: center;
    line-height: 1.3;
    border-radius: 35px;
    border: 1px solid var(--sub-color);
    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: var(--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: var(--sub-color) 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: var(--sub-color) 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;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1.5rem 0;
    color: var(--white);
    text-align: center;
    background: var(--sub-color);
  }
  #copyright .logo {
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  #copyright .logo img {
    width: auto;
    height: 3.4rem;
  }
  #copyright .logo:after {
    display: block;
    content: "";
    width: 2rem;
    height: 1px;
    margin: 1.5rem auto;
    background: var(--white);
  }  
}
/******************************************************
タイトル
******************************************************/
@media screen and (max-width:1239px) {
  .main_title {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5em;
    color: var(--text-color);
    font-size: 1.6rem;
    text-align: center;
    font-family: var(--serif);
  }
  .main_title span.eng {
    font-size: 4rem;
    line-height: 1.3;
    font-family: var(--alphabet);
    font-weight: var(--text-weight);
    font-style: normal; 
    /* グラデーション */
    background: linear-gradient(180deg, #fd8a5e 50%, #893312 100%);    
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;     
  }
  .main_title.white,
  .main_title.white span.eng {
    color: var(--white);
  }
}
/******************************************************
メインビジュアル
******************************************************/
@media screen and (max-width:1239px) {
  #top_main {
    position: relative;
    width: 100%;
    height: 80vh;
    margin-bottom: 3rem;
    background: #666;
  }
  #main_visual {
    width: 100%;
    height: 80vh;
  }
  #main_visual .image {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
  }  
  #main_visual .image:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
  }  
  #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;
  }
  #catch_copy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/wp-content/uploads/images/catch_copy.webp) left center no-repeat;
    background-size: contain;
    z-index: 1;
  }
}
/******************************************************
メッセージ
******************************************************/
@media screen and (max-width:1239px) {
  #top_message {
    padding: 5rem 0;
    background: url(/wp-content/uploads/images/bg_message.webp) top center no-repeat;
    background-size: cover;
  }
  #top_message h2 {
    margin-bottom: 3rem;
    padding: .5em 0;
    color: var(--white);
    font-size: 2rem;
    text-align: center;
    line-height: 1.5;
    font-family: var(--serif);
    background: rgba(253,138,94,.5);
  }
  #top_message .message_flex {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    color: var(--white);
    font-family: var(--serif);
    background: rgba(0,0,0,.1);
  }
  #top_message .message_flex .message_title {
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--white);
    box-sizing: border-box; 
  }
  #top_message .message_flex .message_title .title {
    margin-bottom: .5em;
    padding-bottom: .5em;
    font-size: 2rem;
    line-height: 1.5;
    border-bottom: 1px solid var(--white);
  }
  #top_message .message_flex .message_title .comment {
    margin-bottom: 1em;
  }
  #top_message .message_flex .message_title .time {
    display: flex;
    flex-direction: column;
    padding: 1em;
    text-align: center;
    border: 1px solid var(--white);
  }
  #top_message .message_flex .message_title .time .large {
    font-size: 2rem;
  }
  #top_message .message_flex .message_list {
    margin-bottom: 1.5rem;
  }
  #top_message .message_flex .message_list .list {
    border: 1px solid var(--white);
    padding: .5em 1em;
    font-size: 1.6rem;
  }
  #top_message .message_flex .message_list .list:nth-child(n+2) {
    margin-top: 10px;
  }
  #top_message .message_flex .message_list .list span {
    position: relative;
    display: block;
    padding-left: 1.5em;
  }
  #top_message .message_flex .message_list .list span: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;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
  }  
}
/******************************************************
こんなお悩みありませんか？
******************************************************/
@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(50% - 3px);
    margin-left: 6px;
    padding: .5rem;
    color: var(--white);
    text-align: center;
    line-height: 1.5;
    font-family: var(--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 .trouble_list .list:nth-child(odd) {
    background: var(--sub-color);
  }
  #top_trouble .trouble_list .list:nth-child(even) {
    background: var(--main-color);
  }
  

  #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_list .list .icon {
    width: 30%;
    margin: 0 auto;
  }
  #top_trouble .trouble_list .list .box .title br {
    display: none;
  }
  #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: var(--sub-color);
  }
  #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 var(--sub-color);
  }
  #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: var(--main-color);
    font-size: 3rem; 
  }
}
/******************************************************
当院の矯正が選ばれる理由
******************************************************/
@media screen and (max-width:1239px) {
  #top_reason {
    padding: 5rem 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: #fff3ef;
  }
  #top_reason .reason_list .list:nth-child(even):after {
    clip-path: polygon(0% 50%, 80% 10%, 50% 80%);
    background: #f3eae7;
  }
  #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: #fff3ef;
  }
  #top_reason .reason_list .list:nth-child(even):before {
    clip-path: polygon(70% 40%, 100% 70%, 80% 100%);
    background: #f3eae7;
  }  
  */
  #top_reason .reason_list .list:nth-child(odd) {
    flex-direction: row-reverse;
  }
  #top_reason .reason_list .list .image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    z-index: 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:nth-child(5) .image {
    background: url(/wp-content/uploads/images/feature_img005.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;
    padding: 5rem 1.5rem;
    box-sizing: border-box;
    object-fit: cover;
    aspect-ratio: 3 / 2;
  }
  #top_reason .reason_list .list .text .number {
    margin-bottom: 1.2em;
    color: var(--main-color);
    font-size: 2rem;
    text-align: center;
    line-height: 1.5;
    font-family: var(--serif); 
  }
  #top_reason .reason_list .list .text .title {
    margin-bottom: 1.2em;
    color: var(--sub-color);
    font-size: 2rem;
    text-align: center;
    line-height: 1.5;
    font-family: var(--serif); 
  }
}
/******************************************************
メリット
******************************************************/
@media screen and (max-width:1239px) {
  #top_merit .merit_list {
    padding: 5rem 1.5rem;
    background: #fff3ef;
  }
  #top_merit .merit_list .list {
    box-sizing: border-box;
    object-fit: cover;
  }
  #top_merit .merit_list .list:nth-child(n+2) {
    margin-top: 3rem;
  }
  #top_merit .merit_list .list .title {
    margin-bottom: 1.2em;
    color: var(--sub-color);
    font-size: 2rem;
    text-align: center;
    line-height: 1.5;
    font-family: var(--serif);
  }  
  #top_merit .merit_list .list .image {
    margin-bottom: 3rem;
  }
}
/******************************************************
お問い合わせ
******************************************************/
@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: var(--white);
    font-size: 1.8rem;
    text-align: center;
    font-family: var(--serif);   
    line-height: 1.2;
    z-index: 1;
    text-shadow: 0 0 .3em rgba(0,0,0,.5);
  }
  .section_contact .title_cover .title_eng {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    margin-top: -.5em;
    color: var(--sub-color);
    font-size: 6rem;
    text-align: center;
    line-height: 1;
    font-family: var(--alphabet);
    opacity: .3;
  }
  .section_contact .contact_box {
    background: var(--white);
  }
  .section_contact .contact_flex {
    padding: 1.5rem;
  }
  .section_contact .contact_flex .text {
    margin-bottom: 3rem;
    text-align: center;
  }
  .section_contact .contact_flex .text .title {
    margin-bottom: 2rem;
    color: var(--sub-color);
    font-size: 2rem;
    font-family: var(--serif);
  }
  .section_contact .contact_flex .text .message {
    margin-bottom: 2rem;
    padding: .5em;
    font-size: 1.6rem;
    line-height: 1;
    font-family: var(--serif);    
    background: #fff3ef;
  }
  .section_contact .contact_flex .list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff3ef;
  }
  .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;
    border-bottom: 1px dotted var(--border-color);
  }
  .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: 1.5rem;
    background: #fff3ef;
  }
  .section_contact .btn_cover .btn:nth-child(n+2) {
    margin-top: 1.5rem;
  }
  .section_contact .btn_cover .btn.tel {
    background: var(--main-color);
  }
  .section_contact .btn_cover .btn.mail {
    background: var(--sub-color);
  }
  .section_contact .btn_cover .btn a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    color: var(--white);
    line-height: 1;
    font-family: var(--serif);
  }
  .section_contact .btn_cover .btn a .small {
    width: 100%;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    font-size: 1.6rem;
    text-align: center;
    border-bottom: 1px solid var(--white);
  }
  .section_contact .btn_cover .btn a .large {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.4rem;
  }
  .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_type {
    padding: 5rem 0;
  }
  #top_type .type_list .list {
    color: var(--white);
    background: var(--border-color);
  }
  #top_type .type_list .list:nth-child(odd) {
    background: url(/wp-content/uploads/images/bg_type001.webp) top center;
    background-size: 100% auto;
  }
  #top_type .type_list .list:nth-child(even) {
    background: url(/wp-content/uploads/images/bg_type002.webp) top center;
    background-size: 100% auto;
  }  
  #top_type .type_list .list:nth-child(odd) {
    flex-direction: row-reverse;
  }
  #top_type .type_list .list:nth-child(even) {
    flex-direction: row;
  }
  #top_type .type_list .list .image {
  }
  #top_type .type_list .list .text {
    position: relative;
    padding: 5rem 1.5rem;
    box-sizing: border-box;
  }
  #top_type .type_list .list .text .title {
    position: relative;
    margin-bottom: 1.2em;
    font-size: 2rem;
    line-height: 1.5;
    font-family: var(--serif);
  }
}
/******************************************************
矯正治療の流れ
******************************************************/
@media screen and (max-width:1239px) {
  #top_flow {
    background: var(--white);
  }
  #top_flow .flow_list .list {
    position: relative;
    padding: 5rem 0;
  }
  #top_flow .flow_list .list:nth-child(odd) {
    background: var(--bg-high-color);
  }
  #top_flow .flow_list .list:nth-child(even) {
    background: var(--white);
  }
  #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: -60px;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-top: 15px solid var(--border-color);
  }
  #top_flow .flow_list .list_inner {
    width: 1300px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
  }
  #top_flow .flow_list .list_inner .number {
    margin-bottom: 2rem;
    color: var(--sub-color);
    font-size: 4rem;
    line-height: 1;
    text-align: center;
    font-family: var(--serif);    
  }
  #top_flow .flow_list .list_inner .image {
    margin-bottom: 2rem;
  }
  #top_flow .flow_list .list_inner .comment {
    order: 2;
  }
  #top_flow .flow_list .list_inner .comment h3 {
    margin-bottom: .5em;
    padding-bottom: .5em;
    font-size: 2rem;
    line-height: 1.5;
    font-family: var(--serif);    
    border-bottom: 1px solid var(--border-color);
  }
}
/******************************************************
症例紹介
******************************************************/
@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: cover;
  }
  #top_case .case_list .list {
    display: flex;
    flex-direction: column;
    padding: 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: .5rem;
    background: var(--bg-high-color) url(/wp-content/uploads/images/icon_prev.webp) center center no-repeat;
    background-size: contain;
  }
  #top_case .case_list .next {
    right: .5rem;
    background: var(--bg-high-color) 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;
    box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
    background: var(--white);
  }
  #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: 50%;
    display: block;
    content: "";
    width: 20px;
    height: 40px;
    margin-top: -20px;
    margin-left: -10px;
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
    background: var(--border-color);
  }
  #top_case .case_list .list .image .before,
  #top_case .case_list .list .image .after {
    position: relative;
    width: calc(50% - 1.5rem);    
  }
  #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: .2em;
    color: #fff;
    font-size: 1rem;
    text-align: center;
    background: rgba(253,138,94,.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 .image img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }  
  #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 var(--main-color);
  }
  #top_case .case_list .list td {
    border-bottom: 1px solid var(--border-color);
  }
}
/******************************************************
費用について
******************************************************/
@media screen and (max-width:1239px) {
  #top_fee {
    padding: 5rem 0;
    background: var(--bg-high-color);
  }
  #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: 1.8rem;
    font-family: var(--serif);     
  }
  #top_fee .fee_box h3:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: .8em;
    height: .8em;
    margin-top: -.4em;
    background: var(--sub-color);
  }
  #top_fee .fee_table table {
    width: 100%;
    table-layout: fixed;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    box-sizing: border-box;
  }
  #top_fee .fee_table th,
  #top_fee .fee_table td {
    padding: .8em;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
  }
  #top_fee .fee_table th {
    color: var(--white);
    background: var(--sub-color);
  }
  #top_fee .fee_table .price {}
  #top_fee .fee_comment {
    padding: 3rem;
    background: var(--white);
  }
  #top_fee .fee_box p {
    margin-bottom: 1.2em;
  }
}
/******************************************************
よくあるご質問
******************************************************/
@media screen and (max-width:1239px) {
  #top_faq {
    padding: 5rem 0;
    background: var(--white);    
  }
  #top_faq .faq dt {
    position: relative;
    padding: .8em 3rem .8em 3em;
    cursor: pointer;
  }
  #top_faq .faq dt {
    color: var(--white);
    line-height: 1.5;
    background: var(--sub-color);
  }
  #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 var(--white);
  }
  #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 var(--white);
  }
  #top_faq .faq dt.active:after {
    display: none;
  }
  #top_faq .faq dt span:before {
    content: "Q.";
    position: absolute;
    top: 50%;
    left: .8em;
    color: var(--white);
    font-family: var(--alphabet);
    font-size: 2rem;
    line-height: 1;
    margin-top: -.5em;
  }
  #top_faq .faq dd {
    display: none;
    position: relative;
    margin-top: 2rem;
    padding: 3em;
    background: var(--white);
    border: 1px solid var(--border-color);
  }
  #top_faq .faq dd:nth-of-type(1) {
    display: block;
  }
  #top_faq .faq dd:before {
    content: "A.";
    display: block;
    font-size: 2rem;
    font-family: var(--alphabet);
  }
  #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 {
    box-sizing: border-box;
  }
  #top_doctor .doctor_flex .title {
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
    line-height: 1.5;
  }
  #top_doctor .doctor_flex .title .eng {
    font-size: 4rem;
    font-family: var(--alphabet);
    text-align: center;    
    letter-spacing: .1em;
    /* グラデーション */
    background: linear-gradient(180deg, #fd8a5e 50%, #893312 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;    
  }
  #top_doctor .doctor_flex .title .jap {
    position: relative;
    text-align: center;
    font-size: 1.6rem;
    font-family: var(--serif);  
  }
  #top_doctor .doctor_flex .sp_image {
    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;
    margin-top: 3rem;
    padding: 0 1.5em;
    text-align: right;
  }
  #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-direction: column;
  }
  #tel_contact .contact_flex .title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;    
    width: 100%;
    padding: 3rem;
    color: var(--white);
    font-size: 2rem;
    text-align: center;
    font-family: var(--serif);
    background: var(--sub-color);
    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: var(--white);
    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: var(--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 {
    padding: 10px 0;
  }
  .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: 40vw;
    aspect-ratio: 3 / 2;
    margin: 0 5px;    
    padding: 0;
  }
  .simply-scroll-list .image img {
    display: block;
  }   
}
