@charset "utf-8";
/*
Theme Name: grits THEME
Author: grits
Version: 1.0.0
*/
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');
/******************************************************
基本設定
******************************************************/
:root {  
  --white: #fff; /* 白 */
  --main-color: #027a5f; /* グリーン */
  --sub-color: #c19935; /* オレンジ */
  --sub-color-2: #434543; /* 黒 */
  --bg-high-color: #f5f5f5; /* グリーン */      
  --bg-high-color-2: #fbf6ef; /* オレンジ */
  --bg-high-color-3: #f5f5f5; /* 黒 */
  --inner-size: 1300px; /* インナー */
  --text-size-pc: 16px; /* フォントサイズ */
  --text-size-sp: 14px; /* フォントサイズ */
  --text-color: #333; /* テキストカラー（通常） */
  --title-color: #434543; /* タイトル用 */
  --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;
  background: var(--white);
}
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);
  }
}
/*
@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,
.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:1240px) {
  #header {}
  #h_cover {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    padding-right: calc(100px + 3rem);
    box-sizing: border-box;
    z-index: 100;
  }
  #h_logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
  }
  #h_logo .image {
    color: var(--white);
    font-size: 2.6rem;
    text-align: center;
    letter-spacing: .1em;
    font-weight: var(--text-weight-bold);
  }
  #h_logo img {
    height: 60px;
  }
  #h_logo .type {
    width: 360px;
    margin-bottom: .6rem;
    padding: .6em 1.2em;
    color: var(--white);
    font-size: 1.8rem;
    font-family: var(--serif);
    text-align: center;
    letter-spacing: .1em;
    line-height: 2.4rem;
    box-sizing: border-box;
    border: 1px solid var(--white);
  }
 
  #h_btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1.5rem 0;
  }
  #h_btn .btn {
    width: 200px;
  }  
  #h_btn .btn.tel {
    width: 300px;
  }
  #h_btn .btn a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
    color: var(--white);
    font-size: 2rem;
    text-align: center;
    line-height: 1.35;
    letter-spacing: .1em;    
    font-family: var(--serif);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;    
  }
  #h_btn .btn a:before {
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    content: "";
    width: 20px;
    height: 20px;
    background: var(--sub-color);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  }
  #h_btn .btn a:hover {
    opacity: .7;
  }
  #h_btn .btn.tel a {
    color: var(--sub-color);
    background: var(--white);
  }
  #h_btn .btn.web a {
    background: var(--main-color);
  }
  #h_btn .btn.mail a {
    background: var(--sub-color-2);
  }
  #h_btn .btn a .large {
    font-size: 1.2em;
  }  
  #h_btn .btn a .middle {
    font-size: 1em;
  }
  #h_btn .btn.tel a .large {
    display: flex;
    align-items: center;
  }
  #h_btn .btn.tel a .large:before {
    display: block;
    content: "";
    width: 1.2em;
    height: 1.2em;
    margin-right: .3em;
    background: url(/wp-content/uploads/images/icon_phone_orange.webp) center center no-repeat;
    background-size: contain;
  }
  #h_btn .btn.tel a .small {
    font-size: .8em;
  }
  #h_btn .btn.tel a .small {
    color: var(--text-color)
  }  
  #h_toggle_btn {
    position: fixed;
    display: block;
    width: 100px;
    height: 100px;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 101;
    color: var(--white);
    background: var(--title-color);
    cursor: pointer;
    box-sizing: border-box;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
  }
  #h_toggle_btn span {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--white);
    position: absolute;
    left: 30px;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;	
  }
  #h_toggle_btn span:nth-child(1){
    top: 24px;
  }
  #h_toggle_btn span:nth-child(2){
    top: 36px;
  }
  #h_toggle_btn span:nth-child(3){
    top: 48px;
  }
  #h_toggle_btn.open {
    z-index: 10004;
  }
  #h_toggle_btn.open span {
    color: var(--white);
  }
  #h_toggle_btn.open span:nth-child(1) {
    top: 36px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
    background: var(--white);
  }
  #h_toggle_btn.open span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  #h_toggle_btn.open span:nth-child(3) {
    top: 36px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
    background: #fff;
  }  
  #h_toggle_btn div {
    position: absolute;
    width: 100%;
    bottom: 10px;
    text-align: center;
    font-family: var(--serif);
  }
  
  /* メニュー全体 */
  #h_nav {
    background: rgba(255,255,255,.95);
    display: block;
    width: 480px;
    max-width: calc(100% - 60px);
    height: 100%;
    padding: 12rem 6rem 6rem;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100;
    visibility: hidden;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
    webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
    box-sizing: border-box;
  }
  #h_nav.on {
    visibility: visible;
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -o-transform: translateX(0px);
    transform: translateX(0px);
  }
  #h_nav li a {
    position: relative;
    display: block;
    padding: 1em;
    padding-left: 1.5em;
    border-bottom: 1px solid #f2f2f2;
  }
  #h_nav li a:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 1rem;
    height: 1rem;
    margin-top: -.5rem;
    line-height: 1;
    background: var(--sub-color);
  }
  
  #page_top {
    display: none;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
  }
  #page_top a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 7rem;
    height: 7rem;
    color: var(--white);
    font-size: 1.4rem;
    text-decoration: none;
    border-radius: 50%;
    background: var(--sub-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: -.5rem;
    transform-origin: top left;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
    background: var(--white);
  }
  #page_top a:after {
    position: absolute;
    top: 50%;
    right: 50%;
    display: block;
    content: "";
    width: 1.4rem;
    height: 1px;
    margin-top: -.5rem;
    transform-origin: top right;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
    background: var(--white);
  }     
  #page_top a:hover {
    opacity: .7;
  }
}
@media screen and (max-width:1239px) {
  #header {
    height: 6rem;
  }
  #h_cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 100;
    background: var(--white);    
  }
  #h_logo {
    padding: 1.5rem;
    padding-right: 7.2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-weight: var(--text-weight-bold);
  }
  #h_logo .image {
    color: var(--main-color);
    font-size: 1.8rem;
    line-height: 3rem;
  }
  #h_logo .type {
    margin-left: 1rem;
    padding: .6rem;
    color: var(--main-color);
    font-family: var(--serif);
    font-size: 1.2rem;
    line-height: 1;
    text-align: left;
    border: 1px solid var(--main-color);
  }
  
  #h_btn {
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
  }
  #h_btn .btn {
    width: calc(100% / 3);
  }  
  #h_btn .btn a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    color: var(--white);
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.35;
    letter-spacing: .1em;    
    font-family: var(--serif);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;    
  }
  #h_btn .btn a:before {
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    content: "";
    width: 10px;
    height: 10px;
    background: var(--sub-color);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  }
  #h_btn .btn a:hover {
    opacity: .7;
  }
  #h_btn .btn.tel a {
    color: var(--sub-color);
    background: var(--white);
  }
  #h_btn .btn.web a {
    background: var(--main-color);
  }
  #h_btn .btn.mail a {
    background: var(--sub-color-2);
  }
  #h_btn .btn a .large {
    font-size: 1.2em;
  }  
  #h_btn .btn a .middle {
    font-size: 1em;
  }
  #h_btn .btn.tel a .large {
    display: flex;
    align-items: center;
  }
  #h_btn .btn.tel a .large:before {
    display: block;
    content: "";
    width: 1.2em;
    height: 1.2em;
    margin-right: .3em;
    background: url(/wp-content/uploads/images/icon_phone_orange.webp) center center no-repeat;
    background-size: contain;
  }
  #h_btn .btn.tel a .small {
    font-size: .8em;
  }
  #h_btn .btn.tel a .small.none {
    display: none;
  }  
  #h_toggle_btn {
    position: fixed;
    display: block;
    width: 60px;
    height: 60px;
    top: 0;
    right: 0;
    z-index: 101;
    color: var(--white);
    background: var(--title-color);
    cursor: pointer;
    box-sizing: border-box;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
  }
  #h_toggle_btn span {
    display: block;
    width: 26px;
    height: 1px;
    background: var(--white);
    position: absolute;
    left: 17px;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;	
  }
  #h_toggle_btn span:nth-child(1){
    top: 16px;
  }
  #h_toggle_btn span:nth-child(2){
    top: 22px;
  }
  #h_toggle_btn span:nth-child(3){
    top: 28px;
  }
  #h_toggle_btn.open {
    z-index: 10004;
  }
  #h_toggle_btn.open span {
    color: var(--white);
  }
  #h_toggle_btn.open span:nth-child(1) {
    top: 22px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
    background: var(--white);
  }
  #h_toggle_btn.open span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  #h_toggle_btn.open span:nth-child(3) {
    top: 22px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
    background: var(--white);
  }  
  #h_toggle_btn div {
    position: absolute;
    width: 100%;
    bottom: .8rem;
    font-size: 1rem;
    text-align: center;
  }  
  /* メニュー全体 */
  #h_nav {
    background: rgba(255,255,255,.9);
    display: block;
    width: 300px;
    max-width: 100%;
    height: 100%;
    padding: 9rem 1.5rem 3rem;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100;
    visibility: hidden;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
    webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
    box-sizing: border-box;
  }
  #h_nav.on {
    visibility: visible;
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -o-transform: translateX(0px);
    transform: translateX(0px);
  }
  #h_nav li a {
    position: relative;
    display: block;
    padding: 1em;
    padding-left: 1.5em;
    border-bottom: 1px solid #f2f2f2;
  }
  #h_nav li a:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 1rem;
    height: 1rem;
    margin-top: -.5rem;
    line-height: 1;
    background: var(--sub-color);
  }
  #page_top {
    position: fixed;
    bottom: 6rem;
    right: 0;
    z-index: 99;
  }
  #page_top.fixed {
    position: absolute;
    bottom: 6rem;
  }
  #page_top a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 4.8rem;
    height: 4.8rem;
    color: var(--white);
    text-align: center;
    background: var(--sub-color);
    font-family: Century Gothic,CenturyGothic,AppleGothic,sans-serif;
    /*border-bottom: 1px solid var(--bg-high-color);*/
  }  
  #page_top a:before {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    content: "";
    width: 1rem;
    height: 1px;
    margin-top: -.3rem;
    transform-origin: top left;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
    background: var(--white);
  }
  #page_top a:after {
    position: absolute;
    top: 50%;
    right: 50%;
    display: block;
    content: "";
    width: 1rem;
    height: 1px;
    margin-top: -.3rem;
    transform-origin: top right;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
    background: var(--white);
  }  
}
/******************************************************
フッター
******************************************************/
@media screen and (min-width:1240px) {
  #footer #f_map {}
  #footer .map {
    position: relative;
    margin: 0;
  }
  #footer .map iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 1;
  }
  #copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    font-family: var(--serif);
    line-height: 1;
    height: 10rem;
    background: var(--sub-color-2);
  }
  #copyright span.logo:after {
    display: inline-block;
    content: "";
    width: 1px;
    margin: 0 1em;
    height: 1em;
    background: var(--white);
    vertical-align: middle;
  }
  #copyright span.logo img {
    width: auto;
    height: 4rem;
  }  
}
@media screen and (max-width:1239px) {
  #footer {
    padding-bottom: 6rem;
  }
  #footer #f_map {}
  #footer .map {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
  }
  #footer .map iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
  }  
  #copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--white);
    text-align: center;
    line-height: 1;
    padding: 3rem 0;
    font-family: var(--serif);
    background: var(--sub-color-2);
  }
  #copyright span.logo {
    margin-bottom: 1.5rem;
  }
  #copyright span.logo img {
    width: auto;
    height: 3rem;
  }   
  
}
/******************************************************
追従バナー
******************************************************/
@media screen and (min-width:1240px) {
  .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: var(--main-color);
    line-height: 15px;
    text-align: center;
    background: var(--white);
    cursor: pointer;
  }
}
@media screen and (max-width:1239px) {
  .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: var(--main-color);
    line-height: 15px;
    text-align: center;
    background: var(--white);
    cursor: pointer;
  }
  .fix_banner img {
    max-width: 60%;
  }
}
/******************************************************
タイトル
******************************************************/
@media screen and (min-width:1240px) {
  .main_title {
    display: flex;
    flex-direction: column;
    margin-bottom: 6rem;
    font-size: 3rem;
    text-align: center;
    font-family: var(--serif);
  }
  .main_title span {
    display: block;
  }
  .main_title .eng {
    margin-bottom: .1em;
    color: var(--title-color);
    font-size: 12rem;
    letter-spacing: .1em;
    line-height: 1;
    background: linear-gradient(0deg, #a28640, #aa8b3e 50%, #b2903b 50%, #c19935);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;  
  }
  .main_title.white .eng {
    background: linear-gradient(0deg, #fff, #fff 50%, #fff 50%, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
  }
  .main_title.white .jap {
    color: var(--white);
  }
}
@media screen and (max-width:1239px) {
  .main_title {
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
    font-size: 1.6rem;
    text-align: center;
    font-family: var(--serif);    
  }
  .main_title span {
    display: block;
  }
  .main_title .eng {
    margin-bottom: .1em;
    color: var(--title-color);
    font-size: 3rem;
    letter-spacing: .1em;
    line-height: 1;
    background: linear-gradient(0deg, #a28640, #aa8b3e 50%, #b2903b 50%, #c19935);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;  
  }
  .main_title.white .eng {
    background: linear-gradient(0deg, #fff, #fff 50%, #fff 50%, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
  }
  .main_title.white .jap {
    color: var(--white);
  }
}
/******************************************************
メインビジュアル
******************************************************/
@media screen and (min-width:1240px) {
  #top_main {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  #top_main #catch_copy {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-right: 40%;
    color: var(--white);
    box-sizing: border-box;
    z-index: 1;
  }
  #top_main #catch_copy .large {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: .5em;
    font-size: 3vw;
    line-height: 1.5;
    text-shadow: 0 0 .2em var(--sub-color-2);
    font-family: var(--serif);
  }
  #top_main #catch_copy .small {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 2;
  }
  #top_main #catch_copy .small .pc_marker span {
    display: inline-block;
    padding: .3em .6em;
    font-size: 1.2vw;
    font-weight: var(--text-weight-bold);
    text-shadow: 0 0 .1em var(--main-color),0 0 .1em var(--main-color),0 0 .1em var(--main-color),0 0 .1em var(--main-color),0 0 .1em var(--main-color),0 0 .1em var(--main-color),0 0 .1em var(--main-color),0 0 .1em var(--main-color),0 0 .1em var(--main-color),0 0 .1em var(--main-color);
    background: rgba(2,122,95,.7);
  }
  #top_main #catch_copy .small .pc_marker:nth-child(n+2) {
    margin-top: .5em;
  }
  #top_main #catch_copy .eng {
    color: var(--sub-color);
    font-size: 8vw;
    font-family: var(--alphabet);
    font-weight: var(--text-weight-bold);
    opacity: .3;
    letter-spacing: .2em;
    line-height: 1;
  }
}
@media screen and (max-width:1239px) {
  #top_main {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
  }
  #top_main #main_img {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: url(/wp-content/uploads/images/main_img001sp.webp) top center no-repeat;
    background-size: cover;
  }
  #top_main #main_img img {
    display: none;
  }
  #top_main #catch_copy {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 1.5rem 0;
    color: var(--white);
    box-sizing: border-box;
    z-index: 1;
  }
  #top_main #catch_copy .large {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: .5em;
    font-size: 5.4vw;
    line-height: 1.5;
    text-shadow: 0 0 .2em var(--sub-color-2);
    font-family: var(--serif);
  }
  #top_main #catch_copy .small {
    line-height: 2;
  }
  #top_main #catch_copy .small span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  #top_main #catch_copy .small span i {
    display: inline-block;
    margin-top: .5em;
    padding: .3em .6em;
    font-size: 3.2vw;
    font-weight: var(--text-weight-bold);
    text-shadow: 0 0 .1em var(--main-color),0 0 .1em var(--main-color),0 0 .1em var(--main-color),0 0 .1em var(--main-color),0 0 .1em var(--main-color),0 0 .1em var(--main-color),0 0 .1em var(--main-color),0 0 .1em var(--main-color),0 0 .1em var(--main-color),0 0 .1em var(--main-color);
    background: rgba(2,122,95,.8);
  }
  #top_main #catch_copy .eng {
    color: var(--sub-color);
    font-size: 16vw;
    font-family: var(--alphabet);
    font-weight: var(--text-weight-bold);
    opacity: .3;
    letter-spacing: .2em;
    line-height: 1;
  }
}
/******************************************************
このようなお悩みはありませんか？
******************************************************/
@media screen and (min-width:1240px) {
  #top_worry {
    position: relative;
    background: var(--bg-high-color) url(/wp-content/uploads/images/bg_worry.webp) top right no-repeat;
    bakcground-size: 100% auto;
  }
  #top_worry:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.2);
    clip-path: polygon(100% 0, 0 0, 0 100%);
  }
  #top_worry .cover {
    position: relative;
    padding: 10rem;
  }
  #top_worry .worry_list {
    display: flex;
    flex-wrap: wrap;
    width: 1200px;
    max-width: 100%;
    margin-right: auto;   
    box-sizing: border-box;
  }
  #top_worry .worry_list .list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 480px;
    height: 70px;
    margin-left: 30px;
    padding: 0 1em;
    font-size: 1.8rem;
    text-align: left;
    font-weight: var(--text-weight-bold);
    border: 1px solid var(--main-color);
    background: var(--white);
    box-sizing: border-box;
    box-shadow: 1rem 1rem 0 0 rgba(2,122,95,1);
  }
  #top_worry .worry_list .list:nth-child(2n+1) {
    margin-left: 0;
  }
  #top_worry .worry_list .list:nth-child(odd) {
    margin-bottom: 30px;
  }
  #top_worry .worry_list .list:nth-child(even) {
    margin-top: 30px;
  }
}
@media screen and (max-width:1239px) {
  #top_worry {
    position: relative;
    padding: 5rem 1.5rem;
    background: var(--bg-high-color) /*url(/wp-content/uploads/images/bg_worry.webp) top right no-repeat*/;
    bakcground-size: 100% auto;
  }
  #top_worry:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.2);
    clip-path: polygon(100% 0, 0 0, 0 100%);
  }
  #top_worry .cover {
    position: relative;
  }
  #top_worry .worry_list {}
  #top_worry .worry_list .list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 50px;
    padding: 0 1em;
    text-align: left;
    font-weight: var(--text-weight-bold);
    border: 1px solid var(--main-color);
    background: var(--white);
    box-sizing: border-box;
    box-shadow: .3rem .3rem 0 0 rgba(2,122,95,1);
  }
  #top_worry .worry_list .list:nth-child(n+2) {
    margin-top: 1rem;
  }
}
/******************************************************
インプラント治療について
******************************************************/
@media screen and (min-width:1240px) {
  #top_about {
    background: var(--white);
  }
  #top_about .about_arrow {
    position: relative;
    margin-bottom: 5rem;
  }
  #top_about .about_arrow:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: var(--bg-high-color);
    clip-path: polygon(100% 0, 0 0, 50% 100%);
  }
  #top_about .about_arrow .title {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 2em;
    font-size: 4.5rem;
    font-family: var(--serif);
    line-height: 1.5;
    letter-spacing: .1em;
    text-shadow: 0 0 .2em  #fff, 0 0 .2em  #fff, 0 0 .2em  #fff, 0 0 .2em  #fff, 0 0 .2em  #fff, 0 0 .2em  #fff, 0 0 .2em  #fff, 0 0 .2em  #fff, 0 0 .2em  #fff, 0 0 .2em  #fff;
  }
  #top_about .about_arrow .title span {
    color: var(--main-color);
    font-size: 1.35em;
  }  
  #top_about .about_box {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: space-between;
    color: var(--white);
    aspect-ratio: 3 / 1;
    width: 100%;
    min-height: 480px;    
    background-image:
      url(/wp-content/uploads/images/about_img001.webp),
      url(/wp-content/uploads/images/bg_color1.webp);
    background-repeat:
      no-repeat,
      no-repeat;
    background-position: 
      right center,
      top center;
    background-size:
      auto 100%,
      cover;   
  }
  #top_about .about_box .image {
    position: relative;
    width: calc(100% - 960px);
  }
  #top_about .about_box .image img {
    display: none;
  }
  #top_about .about_box .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 960px;
    padding: 10rem;
    text-align: left;
    box-sizing: border-box;
  }
  #top_about .about_box .title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 5rem;
    font-size: 3.6rem;
    font-family: var(--serif);
    line-height: 1.5;
  }
  #top_about .about_box .title span {
    padding: .5em;
    color: var(--white);
    line-height: 1;
    letter-spacing: .1em;
    background: var(--sub-color);
  }
  #top_about .about_box .title span:nth-child(n+2) {
    margin-top: .3em;
    margin-left: 1em;
  }
  #top_about .about_box .comment {
    font-size: 1.8rem;
  }
}
@media screen and (max-width:1239px) {
  #top_about {
    background: var(--white);
  }
  #top_about .about_arrow {
    position: relative;
    margin-bottom: 5rem;
  }
  #top_about .about_arrow:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: var(--bg-high-color);
    clip-path: polygon(100% 0, 0 0, 50% 100%);
  }
  #top_about .about_arrow .title {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 2em;
    font-size: 1.6rem;
    font-family: var(--serif);
    line-height: 1.5;
    letter-spacing: .1em;
    text-shadow: 0 0 .2em  #fff, 0 0 .2em  #fff, 0 0 .2em  #fff, 0 0 .2em  #fff, 0 0 .2em  #fff, 0 0 .2em  #fff, 0 0 .2em  #fff, 0 0 .2em  #fff, 0 0 .2em  #fff, 0 0 .2em  #fff;
  }
  #top_about .about_arrow .title span {
    color: var(--main-color);
    font-size: 1.35em;
  }  
  #top_about .about_box {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: space-between;
    color: var(--white);
    background: url(/wp-content/uploads/images/bg_color1.webp) top center no-repeat;
    backgroud-size: cover;
  }
  #top_about .about_box .image {
    position: relative;
  }
  #top_about .about_box .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5rem 1.5rem;
    text-align: left;
    box-sizing: border-box;
  }
  #top_about .about_box .title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 3rem;
    font-size: 1.6rem;
    font-family: var(--serif);
    line-height: 1.5;
  }
  #top_about .about_box .title span {
    padding: .5em;
    color: var(--white);
    line-height: 1;
    letter-spacing: .1em;
    background: var(--sub-color);
  }
  #top_about .about_box .title span:nth-child(n+2) {
    margin-top: .3em;
    margin-left: 1em;
  }
  #top_about .about_box .comment {}
}
/******************************************************
ページ内リンク
******************************************************/
@media screen and (min-width:1240px) {
  #top_link {
    padding: 10rem 0;
    background: var(--bg-high-color-3);
  }
  #top_link .link_btn {
    display: flex;
    flex-wrap: wrap;
  }
  #top_link .link_btn .btn {
    display: flex;
    flex-grow: 1;
    flex-basis: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #top_link .link_btn .btn:nth-child(n+2) {
    margin-left: 20px;
  }
  #top_link .link_btn .btn a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80px;
    color: var(--white);
    font-size: 1.8rem;
    font-family: var(--serif);
    font-weight: var(--text-weight-bold);
    border: 1px solid var(--main-color);
    background: var(--main-color);
    box-sizing: border-box;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;           
  }
  #top_link .link_btn .btn a:hover {
    color: var(--main-color);
    background: var(--white);
  }
  #top_link .link_btn .btn a:before {
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    content: "";
    width: 20px;
    height: 20px;
    background: var(--sub-color);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);    
    z-index: 1;
  }
}
@media screen and (max-width:1239px) {
  #top_link {
    padding: 5rem 0;
    background: var(--bg-high-color-3);
  }
  #top_link .link_btn {
    display: flex;
    flex-wrap: wrap;
  }
  #top_link .link_btn .btn {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #top_link .link_btn .btn:nth-child(n+2) {
    margin-top: 10px;
  }
  #top_link .link_btn .btn a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    color: var(--white);
    font-family: var(--serif);
    font-weight: var(--text-weight-bold);
    border: 1px solid var(--main-color);
    background: var(--main-color);
    box-sizing: border-box;          
  }
  #top_link .link_btn .btn a:before {
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    content: "";
    width: 10px;
    height: 10px;
    background: var(--sub-color);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);    
    z-index: 1;
  }
}
/******************************************************
インプラント治療のメリット
******************************************************/
@media screen and (min-width:1240px) {
  #top_merit {
    padding: 10rem 0;
    background: var(--sub-color-2) url(/wp-content/uploads/images/bg_merit.webp) top center no-repeat;
    background-size: cover;
  }
  #top_merit .merit_list {
    display: flex;
    flex-wrap: wrap;
  }
  #top_merit .merit_list .list {
    position: relative;
    width: calc((100% / 3) - 20px);
    margin-left: 30px;
    padding: 20px;
    aspect-ratio: 5 / 4;
    box-sizing: border-box;
    background: var(--white);
    overflow: hidden;
  }
  #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: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    content: "";
    opacity: .8;
  }
  #top_merit .merit_list .list:hover:before {
    filter: blur(3px);
  }
  #top_merit .merit_list .list:nth-child(1):before {
    background: url(/wp-content/uploads/images/merit_img001.webp) top center no-repeat;
    background-size: cover;
  }
  #top_merit .merit_list .list:nth-child(2):before {
    background: url(/wp-content/uploads/images/merit_img002.webp) top center no-repeat;
    background-size: cover;
  }
  #top_merit .merit_list .list:nth-child(3):before {
    background: url(/wp-content/uploads/images/merit_img003.webp) top center no-repeat;
    background-size: cover;
  }
  #top_merit .merit_list .list:nth-child(4):before {
    background: url(/wp-content/uploads/images/merit_img004.webp) top center no-repeat;
    background-size: cover;
  }
  #top_merit .merit_list .list:nth-child(5):before {
    background: url(/wp-content/uploads/images/merit_img005.webp) top center no-repeat;
    background-size: cover;
  }
  #top_merit .merit_list .list:nth-child(6):before {
    background: url(/wp-content/uploads/images/merit_img006.webp) top center no-repeat;
    background-size: cover;
  }
  #top_merit .merit_list .list:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    border: 1px solid var(--sub-color);
    box-sizing: border-box;
  }
  #top_merit .merit_list .list .title_cover {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 3rem;
    color: var(--white);
    background: rgba(0,0,0,.35);
    box-sizing: border-box;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;      
  }
  #top_merit .merit_list .list:hover .title_cover {
    opacity: 0;
  }
  #top_merit .merit_list .list .number {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 1em;
    font-family: var(--serif);
    line-height: 1.5;
  }
  #top_merit .merit_list .list .number .large {
    font-size: 6rem;
    line-height: 1;
  }
  #top_merit .merit_list .list .title {
    font-size: 2rem;
    text-align: center;    
    font-weight: var(--text-weight-bold);
  }  
  #top_merit .merit_list .list .comment_cover {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 3rem;
    box-sizing: border-box;
    background: rgba(255,255,255,.35);
    opacity: 0;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;       
  }  
  #top_merit .merit_list .list:hover .comment_cover {
    opacity: 1;
  }  
  #top_merit .merit_list .list .comment {
    font-size: 1.8rem;
    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, 0 0 .1em #fff, 0 0 .1em #fff, 0 0 .1em #fff, 0 0 .1em #fff;
  }
}
@media screen and (max-width:1239px) {
  #top_merit {
    padding: 5rem 0;
    background: var(--sub-color-2) url(/wp-content/uploads/images/bg_merit.webp) top center no-repeat;
    background-size: cover;
  }
  #top_merit .merit_list {}
  #top_merit .merit_list .list {
    position: relative;
    box-sizing: border-box;
  }
  #top_merit .merit_list .list:nth-child(n+2) {
    margin-top: 3rem;
  }
  #top_merit .merit_list .list:before {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    content: "";
  }
  #top_merit .merit_list .list:nth-child(1):before {
    background: url(/wp-content/uploads/images/merit_img001.webp) top center no-repeat;
    background-size: cover;
  }
  #top_merit .merit_list .list:nth-child(2):before {
    background: url(/wp-content/uploads/images/merit_img002.webp) top center no-repeat;
    background-size: cover;
  }
  #top_merit .merit_list .list:nth-child(3):before {
    background: url(/wp-content/uploads/images/merit_img003.webp) top center no-repeat;
    background-size: cover;
  }
  #top_merit .merit_list .list:nth-child(4):before {
    background: url(/wp-content/uploads/images/merit_img004.webp) top center no-repeat;
    background-size: cover;
  }
  #top_merit .merit_list .list:nth-child(5):before {
    background: url(/wp-content/uploads/images/merit_img005.webp) top center no-repeat;
    background-size: cover;
  }
  #top_merit .merit_list .list:nth-child(6):before {
    background: url(/wp-content/uploads/images/merit_img006.webp) top center no-repeat;
    background-size: cover;
  }
  #top_merit .merit_list .list .title_cover {

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    color: var(--white);
    box-sizing: border-box;  
  }
  #top_merit .merit_list .list .number {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 1em;
    font-family: var(--serif);
    line-height: 1.5;
  }
  #top_merit .merit_list .list .number .large {
    font-size: 6rem;
    line-height: 1;
  }
  #top_merit .merit_list .list .title {
    font-size: 1.8rem;
    text-align: center;    
    font-weight: var(--text-weight-bold);
  }  
  #top_merit .merit_list .list .comment_cover {   
  }  
  #top_merit .merit_list .list .comment {
    color: var(--white);
  }
}
/******************************************************
他の治療との比較
******************************************************/
@media screen and (min-width:1240px) {
  #top_comparison {
    padding: 10rem 0;
    background: var(--white) url(/wp-content/uploads/images/bg_mark2.webp) top center no-repeat;
    background-size: 100% auto;
  }
  #top_comparison .message {
    margin-bottom: 5rem;
    color: var(--main-color);
    font-size: 2.4rem;
    text-align: center;
    font-family: var(--serif);
  }
  #top_comparison .comment {
    margin-bottom: 5rem;
    text-align: center;
    font-weight: var(--text-weight-bold);
  }
  #top_comparison .table table {
    width: 100%;
    table-layout: fixed;
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    background: var(--bg-high-color);
  }
  #top_comparison .table th,
  #top_comparison .table td {
    padding: 1em;
    text-align: center;
    vertical-align: middle;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
  }
  #top_comparison .table th {
    color: var(--white);
    background: var(--sub-color-2);
  }
  #top_comparison .table td span {
    font-size: 1.2em;
    font-weight: var(--text-weight-bold);
  }
  #top_comparison .table .heading {
    color: var(--white);
    background: var(--sub-color-2);
  }
  #top_comparison .table .heading.implant {
    background: var(--main-color);
  }
  #top_comparison .table .implant {
    background: var(--bg-high-color-2);
  }  
}
@media screen and (max-width:1239px) {
  #top_comparison {
    padding: 5rem 0;
    background: var(--white) url(/wp-content/uploads/images/bg_mark2.webp) top center no-repeat;
    background-size: 100% auto;
  }
  #top_comparison .message {
    margin-bottom: 3rem;
    color: var(--main-color);
    font-size: 2rem;
    text-align: center;
    font-family: var(--serif);
  }
  #top_comparison .comment {
    margin-bottom: 5rem;
    text-align: center;
    font-weight: var(--text-weight-bold);
  }
  #top_comparison .table table {
    width: 100%;
    table-layout: fixed;
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    background: var(--bg-high-color);
  }
  #top_comparison .table th,
  #top_comparison .table td {
    padding: .5em;
    font-size: 1.2rem;
    text-align: center;
    vertical-align: middle;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
  }
  #top_comparison .table th {
    color: var(--white);
    background: var(--sub-color-2);
  }
  #top_comparison .table td span {
    font-size: 1.2em;
    font-weight: var(--text-weight-bold);
  }
  #top_comparison .table .heading {
    color: var(--white);
    background: var(--sub-color-2);
  }
  #top_comparison .table .heading.implant {
    background: var(--main-color);
  }
  #top_comparison .table .implant {
    background: var(--bg-high-color-2);
  }  
}
/******************************************************
インプラント治療の注意点
******************************************************/
@media screen and (min-width:1240px) {
  #top_caution {
    padding: 10rem 0;
    background: var(--bg-high-color) url(/wp-content/uploads/images/bg_mark.webp) center center no-repeat;
    background-size: cover;
  }
  #top_caution .caution_cover {
    padding: 1rem;
    background: url(/wp-content/uploads/images/bg_color2.webp) top center no-repeat;
    background-size: cover;    
  }
  #top_caution .caution_box {
    padding: 6rem;
    color: var(--white);
    text-align: center;
    border: 1px solid var(--white);
  }
  #top_caution .caution_box .title {
    position: relative;
    font-size: 3.6rem;
    font-family: var(--serif);
  }
  #top_caution .caution_box .title:after {
    display: block;
    content: "";
    width: 100px;
    height: 1px;
    margin: .5em auto 1em;
    background: var(--white);
  }
}
@media screen and (max-width:1239px) {
  #top_caution {
    padding: 5rem 0;
    background: var(--bg-high-color) url(/wp-content/uploads/images/bg_mark.webp) center center no-repeat;
    background-size: cover;
  }
  #top_caution .caution_cover {
    padding: 1rem;
    background: url(/wp-content/uploads/images/bg_color2.webp) top center no-repeat;
    background-size: cover;    
  }
  #top_caution .caution_box {
    padding: 3rem 1.5rem;
    color: var(--white);
    text-align: center;
    border: 1px solid var(--white);
  }
  #top_caution .caution_box .title {
    position: relative;
    font-size: 2rem;
    font-family: var(--serif);
  }
  #top_caution .caution_box .title:after {
    display: block;
    content: "";
    width: 50px;
    height: 1px;
    margin: .5em auto 1em;
    background: var(--white);
  }
}
/****************************************************
カウンセリング
****************************************************/
@media screen and (min-width:1240px) {
  .top_contact {
    padding: 10rem 0;
    background: url(/wp-content/uploads/images/bg_contact.webp) center center no-repeat;
    background-size: cover;
  }
  .top_contact .contact_message {
    font-size: 3rem;
    font-family: var(--serif);
  }
  .top_contact .contact_message {
    color: var(--white);
    font-size: 3.6rem;
    text-align: center;
    line-height: 1.5;
  }
  .top_contact .contact_box {
    margin: 4rem 0;
    padding: 1rem;
    background: var(--bg-high-color);
  }
  .top_contact .contact_box .box_cover {
    padding: 3rem;
    border: 1px solid var(--sub-color);
  }
  .top_contact .contact_comment {
    font-size: 1.8rem;
    text-align: center;
  }
  .top_contact .contact_comment span {
    color: var(--sub-color);
    font-size: 2.4rem;
    line-height: 1.5;
    font-family: var(--serif);
  }
  .top_contact .contact_list {
    display: flex;
    flex-wrap: wrap;
    margin: 3rem 0;
  }
  .top_contact .contact_list .list {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(50% - 10px);
    height: 6rem;
    margin-left: 20px;
    padding-right: 1em;
    padding-left: calc(6rem + 1em);
    color: var(--white);
    line-height: 1.5;
    font-weight: var(--text-weight-bold);
    background: var(--main-color);
    box-sizing: border-box;
  }
  .top_contact .contact_list .list:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 6rem;
    height: 6rem;
    color: var(--white);
    background: var(--sub-color-2) url(/wp-content/uploads/images/icon_check_orange.webp) center center no-repeat;
    background-size: 60%;
  }
  .top_contact .contact_list .list:nth-child(2n+1) {
    margin-left: 0;
  } 
  .top_contact .contact_list .list:nth-child(n+3) {
    margin-top: 2rem;
  }
  .top_contact .contact_memo {
    font-size: 2rem;
    text-align: center;
    font-weight: var(--text-weight-bold);
  }
  .top_contact .contact_btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .top_contact .contact_btn .btn {
    width: calc((100% / 3) - 10px);
  }  
  .top_contact .contact_btn .btn a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
    color: var(--white);
    font-size: 2rem;
    text-align: center;
    line-height: 1.35;
    letter-spacing: .1em;    
    font-family: var(--serif);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;    
  }
  .top_contact .contact_btn .btn a:before {
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    content: "";
    width: 12px;
    height: 12px;
    background: var(--sub-color);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  }
  .top_contact .contact_btn .btn a:hover {
    opacity: .7;
  }
  .top_contact .contact_btn .btn.tel a {
    color: var(--sub-color);
    background: var(--white);
  }
  .top_contact .contact_btn .btn.web a {
    background: var(--main-color);
  }
  .top_contact .contact_btn .btn.mail a {
    background: var(--sub-color-2);
  }
  .top_contact .contact_btn .btn a .large {
    font-size: 1.4em;
  }  
  .top_contact .contact_btn .btn a .middle {
    font-size: 1.2em;
  }
  .top_contact .contact_btn .btn.tel a .large {
    display: flex;
    align-items: center;
  }
  .top_contact .contact_btn .btn.tel a .large:before {
    display: block;
    content: "";
    width: 1.2em;
    height: 1.2em;
    margin-right: .3em;
    background: url(/wp-content/uploads/images/icon_phone_orange.webp) center center no-repeat;
    background-size: contain;
  }
  .top_contact .contact_btn .btn.tel a .small {
    font-size: .8em;
  }
  .top_contact .contact_btn .btn.tel a .small {
    color: var(--text-color)
  }  
}
@media screen and (max-width:1239px) {
  .top_contact {
    padding: 5rem 0;
    background: url(/wp-content/uploads/images/bg_contact.webp) center center no-repeat;
    background-size: cover;
  }
  .top_contact .contact_message {
    font-size: 3rem;
    font-family: var(--serif);
  }
  .top_contact .contact_message {
    color: var(--white);
    font-size: 2rem;
    text-align: center;
    line-height: 1.5;
  }
  .top_contact .contact_box {
    margin: 2rem 0;
    padding: 1rem;
    background: var(--bg-high-color);
  }
  .top_contact .contact_box .box_cover {
    padding: 3rem 1.5rem;
    border: 1px solid var(--sub-color);
  }
  .top_contact .contact_comment {
    text-align: center;
  }
  .top_contact .contact_comment span {
    color: var(--sub-color);
    font-size: 1.6rem;
    line-height: 1.5;
    font-family: var(--serif);
  }
  .top_contact .contact_list {
    margin: 2rem 0;
  }
  .top_contact .contact_list .list {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 5rem;
    padding-right: 1em;
    padding-left: calc(5rem + 1em);
    color: var(--white);
    line-height: 1.5;
    font-weight: var(--text-weight-bold);
    background: var(--main-color);
    box-sizing: border-box;
  }
  .top_contact .contact_list .list:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 5rem;
    height: 5rem;
    color: var(--white);
    background: var(--sub-color-2) url(/wp-content/uploads/images/icon_check_orange.webp) center center no-repeat;
    background-size: 60%;
  }
  .top_contact .contact_list .list:nth-child(n+2) {
    margin-top: 1rem;
  }
  .top_contact .contact_memo {
    text-align: center;
    font-weight: var(--text-weight-bold);
  }
  .top_contact .contact_btn {}
  .top_contact .contact_btn .btn {
    width: 100%;
  }  
  .top_contact .contact_btn .btn:nth-child(n+2) {
    margin-top: 1rem;
  }
  .top_contact .contact_btn .btn a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 70px;
    color: var(--white);
    text-align: center;
    line-height: 1.35;
    letter-spacing: .1em;    
    font-family: var(--serif);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;    
  }
  .top_contact .contact_btn .btn a:before {
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    content: "";
    width: 12px;
    height: 12px;
    background: var(--sub-color);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  }
  .top_contact .contact_btn .btn a:hover {
    opacity: .7;
  }
  .top_contact .contact_btn .btn.tel a {
    color: var(--sub-color);
    background: var(--white);
  }
  .top_contact .contact_btn .btn.web a {
    background: var(--main-color);
  }
  .top_contact .contact_btn .btn.mail a {
    background: var(--sub-color-2);
  }
  .top_contact .contact_btn .btn a .large {
    font-size: 1.4em;
  }  
  .top_contact .contact_btn .btn a .middle {
    font-size: 1.2em;
  }
  .top_contact .contact_btn .btn.tel a .large {
    display: flex;
    align-items: center;
  }
  .top_contact .contact_btn .btn.tel a .large:before {
    display: block;
    content: "";
    width: 1.2em;
    height: 1.2em;
    margin-right: .3em;
    background: url(/wp-content/uploads/images/icon_phone_orange.webp) center center no-repeat;
    background-size: contain;
  }
  .top_contact .contact_btn .btn.tel a .small {
    font-size: .8em;
  }
  .top_contact .contact_btn .btn.tel a .small {
    color: var(--text-color)
  }  
}
/******************************************************
当院のインプラント治療の特徴
******************************************************/
@media screen and (min-width:1240px) {
  #top_feature {
    padding: 10rem 0;
    background: var(--white);
  }  
  #top_feature .cover {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 720px;
    max-width: 100%;
  }
  #top_feature .number {
    position: relative;
    margin-bottom: 3rem;
    font-family: var(--serif);
    letter-spacing: .1em;
  }
  #top_feature .number .large {
    padding: 0 1em;
    color: var(--sub-color);
    font-size: 9.6rem;
    line-height: 1;
    opacity: .2;
  }
  #top_feature .number .small {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: var(--sub-color);
    font-size: 2rem;
    text-agiin: center;
    line-height: 1;
    letter-spacing: .1em;
    z-index: 1;
  }
  #top_feature .title {
    width: 100%;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    font-size: 3rem;
    text-align: center;
    font-family: var(--serif);
    line-height: 1.5;
    border-bottom: 1px solid var(--text-color);
  }
  #top_feature .btn {
    margin-top: 5rem;
  }  
  #top_feature .btn a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 360px;
    height: 80px;
    margin: 0 auto;
    color: var(--white);
    font-size: 1.8rem;
    font-family: var(--serif);
    text-align: center;
    background: var(--sub-color);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;       
  }
  #top_feature .btn a:hover {
    opacity: .7;
  }
  #top_feature .btn a:after {
    position: absolute;
    bottom: 5px;
    right: 5px;
    display: block;
    content: "";
    width: 20px;
    height: 20px;
    background: var(--white);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);    
  }    
  /* 01 */
  #top_feature .feature_01 .feature_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 12rem;
    padding: 8rem;
    background: url(/wp-content/uploads/images/bg_color1.webp) top center no-repeat;
    background-size: cover;
  }
  #top_feature .feature_01 .feature_box .image {
    width: 50%;
    margin-top: -16rem;
    background: url(/wp-content/uloads/images/feature_img001.webp) top center no-repeat;
    background-size: cover;
    clip-path: polygon(0 0, 88% 0, 100% 100%, 12% 100%);
  }
  #top_feature .feature_01 .feature_box .text {
    width: calc(50% - 5%);
    color: var(--white);
  }
  #top_feature .feature_01 .title {
    border-color: var(--white);
  }
  /* 02 */
  #top_feature .feature_02 .feature_box {
    margin-top: 12rem;
    margin: 8rem;
    padding: 2rem;
    background: url(/wp-content/uploads/images/bg_color4.webp) top center no-repeat;
    background-size: cover;
  }  
  #top_feature .feature_02 .feature_box .text {
    padding: 8rem;
    border: 1px solid var(--text-color);
  }
  #top_feature .feature_02 .feature_box .cover {
    margin: 0 auto;
  }
  /* 03 */
  #top_feature .feature_03 .feature_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row-reverse;
    margin-top: 12rem;
    padding: 8rem;
    background: url(/wp-content/uploads/images/bg_color3.webp) top center no-repeat;
    background-size: cover;
  }
  #top_feature .feature_03 .feature_box .image {
    position: relative;
    width: 50%;
    margin-top: -16rem;
    background: url(/wp-content/uloads/images/feature_img003.webp) top center no-repeat;
    background-size: cover;
    clip-path: polygon(12% 0, 100% 0%, 88% 100%, 0% 100%);
  }
  #top_feature .feature_03 .feature_box .text {
    width: 50%;
    width: calc(50% - 5%);
    color: var(--white);
  }  
  #top_feature .feature_03 .title {
    border-color: var(--white);
  }
  /* 04 */
  #top_feature .feature_04 .feature_box {
    margin-top: 12rem;
    margin: 8rem;
    padding: 2rem;
    background: url(/wp-content/uploads/images/bg_color4.webp) top center no-repeat;
    background-size: cover;
  }  
  #top_feature .feature_04 .feature_box .text {
    padding: 8rem;
    border: 1px solid var(--text-color);
  }
  #top_feature .feature_04 .feature_box .cover {
    margin: 0 auto;
  }
  /* 05・06 */
  #top_feature .feature_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 28rem;
    padding: 0 8rem;
  }
  #top_feature .feature_05 {
    width: calc(50% - 4rem);
    margin-bottom: 8rem;
    padding: 8rem;
    padding-top: 4rem;
    color: var(--white);
    background: url(/wp-content/uploads/images/bg_color1.webp) top center no-repeat;
    background-size: cover;
    box-sizing: border-box;
  }
  #top_feature .feature_05 .image {
    width: 100%;
    margin-top: -24rem;
    margin-bottom: 4rem;        
    aspect-ratio: 3 / 2;
    background: url(/wp-content/uloads/images/feature_img005.webp) top center no-repeat;
    background-size: cover;
  }
  #top_feature .feature_05 .title {
    border-color: var(--white);
  }
  #top_feature .feature_06 {
    width: calc(50% - 4rem);
    margin-top: 8rem;
    padding: 8rem;
    padding-top: 4rem;
    color: var(--white);
    background: url(/wp-content/uploads/images/bg_color3.webp) top center no-repeat;
    background-size: cover;
    box-sizing: border-box;
  }
  #top_feature .feature_06 .image {
    width: 100%;
    margin-top: -24rem;
    margin-bottom: 4rem;
    aspect-ratio: 3 / 2;
    background: url(/wp-content/uloads/images/feature_img006.webp) top center no-repeat;
    background-size: cover;
  }
  #top_feature .feature_06 .title {
    border-color: var(--white);
  }
}
@media screen and (max-width:1239px) {
  #top_feature {
    padding: 5rem 0;
    background: var(--white);
  }  
  #top_feature .cover {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 720px;
    max-width: 100%;
    box-sizing: border-box;
  }
  #top_feature .number {
    position: relative;
    margin-bottom: 3rem;
    font-family: var(--serif);
    letter-spacing: .1em;
  }
  #top_feature .number .large {
    padding: 0 1em;
    color: var(--sub-color);
    font-size: 7.2rem;
    line-height: 1;
    opacity: .2;
  }
  #top_feature .number .small {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: var(--sub-color);
    text-agiin: center;
    line-height: 1;
    letter-spacing: .1em;
    z-index: 1;
  }
  #top_feature .title {
    width: 100%;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
    font-family: var(--serif);
    line-height: 1.5;
    border-bottom: 1px solid var(--text-color);
  }
  #top_feature .btn {
    margin-top: 5rem;
  }  
  #top_feature .btn a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 280px;
    max-width: 100%;
    height: 60px;
    margin: 0 auto;
    color: var(--white);
    font-family: var(--serif);
    text-align: center;
    background: var(--sub-color);      
  }
  #top_feature .btn a:after {
    position: absolute;
    bottom: 5px;
    right: 5px;
    display: block;
    content: "";
    width: 20px;
    height: 20px;
    background: var(--white);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);    
  }    
  /* 01 */
  #top_feature .feature_01 .feature_box {}
  #top_feature .feature_01 .feature_box .image {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: url(/wp-content/uloads/images/feature_img001.webp) top center no-repeat;
    background-size: cover;
  }
  #top_feature .feature_01 .feature_box .text {
    padding: 5rem 1.5rem;
    color: var(--white);
    background: url(/wp-content/uploads/images/bg_color1.webp) top center no-repeat;
    background-size: cover;    
  }
  #top_feature .feature_01 .title {
    border-color: var(--white);
  }
  /* 02 */
  #top_feature .feature_02 .feature_box {
    padding: 1.5rem;
    background: url(/wp-content/uploads/images/bg_color4.webp) top center no-repeat;
    background-size: cover;
  }  
  #top_feature .feature_02 .feature_box .text {
    padding: 3.5rem 1.5rem;
    border: 1px solid var(--text-color);
  }
  #top_feature .feature_02 .feature_box .cover {
    margin: 0 auto;
  }
  /* 03 */
  #top_feature .feature_03 .feature_box {}
  #top_feature .feature_03 .feature_box .image {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: url(/wp-content/uloads/images/feature_img003.webp) top center no-repeat;
    background-size: cover;
  }
  #top_feature .feature_03 .feature_box .text {
    padding: 5rem 1.5rem;
    color: var(--white);
    background: url(/wp-content/uploads/images/bg_color3.webp) top center no-repeat;
    background-size: cover;    
  }  
  #top_feature .feature_03 .title {
    border-color: var(--white);
  }
  /* 04 */
  #top_feature .feature_04 .feature_box {
    padding: 1.5rem;
    background: url(/wp-content/uploads/images/bg_color4.webp) top center no-repeat;
    background-size: cover;
  }  
  #top_feature .feature_04 .feature_box .text {
    padding: 3.5rem 1.5rem;
    border: 1px solid var(--text-color);
  }
  #top_feature .feature_04 .feature_box .cover {
    margin: 0 auto;
  }
  /* 05・06 */
  #top_feature .feature_flex {}
  #top_feature .feature_05 {
    box-sizing: border-box;
  }
  #top_feature .feature_05 .image {
    width: 100%;     
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: url(/wp-content/uloads/images/feature_img005.webp) top center no-repeat;
    background-size: cover;
  }
  #top_feature .feature_05 .text {
    padding: 5rem 1.5rem;
    color: var(--white);
    background: url(/wp-content/uploads/images/bg_color1.webp) top center no-repeat;
    background-size: cover;
  }
  #top_feature .feature_06 {
    box-sizing: border-box;
  }
  #top_feature .feature_06 .image {
    width: 100%;     
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: url(/wp-content/uloads/images/feature_img006.webp) top center no-repeat;
    background-size: cover;
  }
  #top_feature .feature_06 .text {
    padding: 5rem 1.5rem;
    color: var(--white);
    background: url(/wp-content/uploads/images/bg_color3.webp) top center no-repeat;
    background-size: cover;
  }
}
/******************************************************
高度な治療にも対応
******************************************************/
@media screen and (min-width:1240px) {
  #top_high {
    padding: 10rem 0;
    background: var(--bg-high-color) url(/wp-content/uploads/images/bg_mark.webp) center center no-repeat;
    background-size: cover;
  }
  #top_high .high_comment {
    margin-bottom: 5rem;
    text-align: center;
  }
  #top_high .high_btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #top_high .high_btns .btn {
    width: calc((100% / 3) - 10px);
  }
  #top_high .high_btns {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 5rem;
  }
  #top_high .high_btns .btn {
    display: flex;
    flex-grow: 1;
    flex-basis: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #top_high .high_btns .btn:nth-child(n+2) {
    margin-left: 20px;
  }
  #top_high .high_btns .btn span {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80px;
    color: var(--white);
    font-size: 1.8rem;
    font-family: var(--serif);
    font-weight: var(--text-weight-bold);
    border: 1px solid var(--main-color);
    background: var(--main-color);
    box-sizing: border-box;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;    
    cursor: pointer;
  }
  #top_high .high_btns .btn.active span,
  #top_high .high_btns .btn span:hover {
    color: var(--main-color);
    background: var(--white);
  }
  #top_high .high_btns .btn span:before {
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    content: "";
    width: 20px;
    height: 20px;
    background: var(--sub-color);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);    
    z-index: 1;
  }  
  #top_high .high_contents .content {
    display: none;
  }
  #top_high .high_contents .content.show {
    display: block;
  }
  #top_high .high_contents .high_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row-reverse;
  }
  #top_high .high_contents .high_flex .image {
    width: 480px;
  }
  #top_high .high_contents .high_flex .text {
    width: calc(100% - 520px);
  }
  #top_high .high_contents .high_flex .title {
    margin-bottom: 1em;
    padding-bottom: 1em;
    color: var(--sub-color);
    font-size: 2.4rem;
    font-family: var(--serif);
    border-bottom: 1px solid var(--text-color);
  }
  #top_high .high_contents .high_flex .name {
    margin-bottom: 1em;
    color: var(--main-color);
    font-size: 2rem;
    font-weight: var(--text-weight-bold);
  }          
}
@media screen and (max-width:1239px) {
  #top_high {
    padding: 5rem 0;
    background: var(--bg-high-color) url(/wp-content/uploads/images/bg_mark.webp) center center no-repeat;
    background-size: cover;
  }
  #top_high .high_comment {
    margin-bottom: 3rem;
    text-align: center;
  }

  #top_high .high_btns {
    margin-bottom: 3rem;
  }
  #top_high .high_btns .btn {
    display: flex;
    flex-grow: 1;
    flex-basis: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #top_high .high_btns .btn:nth-child(n+2) {
    margin-top: 10px;
  }
  #top_high .high_btns .btn span {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    color: var(--white);
    font-family: var(--serif);
    font-weight: var(--text-weight-bold);
    border: 1px solid var(--main-color);
    background: var(--main-color);
    box-sizing: border-box;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;    
    cursor: pointer;
  }
  #top_high .high_btns .btn.active span,
  #top_high .high_btns .btn span:hover {
    color: var(--main-color);
    background: var(--white);
  }
  #top_high .high_btns .btn span:before {
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    content: "";
    width: 10px;
    height: 10px;
    background: var(--sub-color);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);    
    z-index: 1;
  }  
  #top_high .high_contents .content {
    display: none;
  }
  #top_high .high_contents .content.show {
    display: block;
  }
  #top_high .high_contents .high_flex {}
  #top_high .high_contents .high_flex .image {
    margin-bottom: 3rem;
  }
  #top_high .high_contents .high_flex .text {}
  #top_high .high_contents .high_flex .title {
    margin-bottom: 1em;
    padding-bottom: 1em;
    color: var(--sub-color);
    font-size: 1.8rem;
    font-family: var(--serif);
    border-bottom: 1px solid var(--text-color);
  }
  #top_high .high_contents .high_flex .name {
    margin-bottom: 1em;
    color: var(--main-color);
    font-size: 1.6rem;
    font-weight: var(--text-weight-bold);
  }          
}
/******************************************************
セカンドオピニオンについて
******************************************************/
@media screen and (min-width:1240px) {
  #top_second {
    padding: 10rem 0;
    background: url(/wp-content/uploads/images/bg_color2.webp) top center no-repeat;
    background-size: cover; 
  }
  #top_second .second_cover {
    padding: 1rem;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 1) 50%, rgba(250, 250, 250, 1) 50%);
  }
  #top_second .second_box {
    padding: 8rem;
    border: 1px solid var(--sub-color);
  }
  #top_second .title {
    position: relative;
    margin-bottom: 5rem;
    text-align: center;
    font-family: var(--serif);
  }
  #top_second .title .jap {
    position: relative;
    padding: .5em 0;
    color: var(--sub-color);
    font-size: 4.8rem;
    line-height: 1;
    z-index: 1;
  }
  #top_second .title .eng {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: var(--sub-color);
    font-size: 9.6rem;
    text-align: center;
    opacity: .1;
  }
  #top_second .message {
    margin-bottom: 3rem;
    font-size: 2.4rem;
    text-align: center;
    font-family: var(--serif); 
  }
}
@media screen and (max-width:1239px) {
  #top_second {
    padding: 5rem 0;
    background: url(/wp-content/uploads/images/bg_color2.webp) top center no-repeat;
    background-size: cover; 
  }
  #top_second .second_cover {
    padding: 1rem;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 1) 50%, rgba(250, 250, 250, 1) 50%);
  }
  #top_second .second_box {
    padding: 3rem 1.5rem;
    border: 1px solid var(--sub-color);
  }
  #top_second .title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
    font-family: var(--serif);
  }
  #top_second .title .jap {
    position: relative;
    padding: .5em 0;
    color: var(--sub-color);
    font-size: 2rem;
    line-height: 1;
    z-index: 1;
  }
  #top_second .title .eng {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: var(--sub-color);
    font-size: 3rem;
    text-align: center;
    opacity: .1;
  }
  #top_second .message {
    margin-bottom: 3rem;
    font-size: 1.8rem;
    text-align: center;
    font-family: var(--serif); 
  }
}
/******************************************************
インプラント治療の流れ
******************************************************/
@media screen and (min-width:1240px) {
  #top_flow {
    padding: 10rem 0;
    background: var(--bg-high-color) url(/wp-content/uploads/images/bg_mark.webp) center center no-repeat;
    background-size: cover;
  }
  #top_flow .slick-track {
    display: flex;
    margin-top: 60px;
  }
  #top_flow .slick-slide {
    height: auto!important; 
  }
  #top_flow .slick-dots {
    top: 0;
  }
  #top_flow .slick-dots li {
    margin: 0 5px;
  }
  #top_flow .slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-color);
  }
  #top_flow .slick-dots li.slick-active button {
    background: var(--main-color);
  }  
  #top_flow .flow_box {
    margin-top: -30px;
    margin-bottom: 5rem;
  }
  #top_flow .flow_slider_list {
    position: relative;
    display: flex;
  }
  #top_flow .flow_slider_list .arrow {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    border-radius: 50%;
    z-index: 1;
    cursor: pointer;
  }  
  #top_flow .flow_slider_list .prev {
    left: calc(50% - 280px);
    background: var(--sub-color) url(/wp-content/uploads/images/icon_prev_white.webp) center center no-repeat;
    background-size: contain;
  }
  #top_flow .flow_slider_list .next {
    right: calc(50% - 280px);
    background: var(--sub-color) url(/wp-content/uploads/images/icon_next_white.webp) center center no-repeat;
    background-size: contain;    
  }    
  #top_flow .flow_slider_list .list {    
    display: flex;
    flex-direction: column;
    width: 480px;
    background: var(--white);
  }
  #top_flow .flow_slider_list .list:nth-child(n+2) {
    margin-left: 30px;
  }
  #top_flow .flow_slider_list .list .image img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }
  #top_flow .flow_slider_list .list .text {
    flex-grow: 1;
  }
  #top_flow .flow_slider_list .list .text .title {
    padding: .5em 0;
    color: var(--white);
    font-size: 2rem;
    text-align: center;
    font-family: var(--serif);
    background: var(--main-color);
  }
  #top_flow .flow_slider_list .list .text .comment {
    padding: 3rem;
  }
  #top_flow .flow_comment .comment_cover {
    padding: 1rem;
    color: var(--white);
    background: url(/wp-content/uploads/images/bg_color1.webp) top center no-repeat;
    background-size: cover;
  }
  #top_flow .flow_comment .comment_box {
    padding: 6rem;
    border: 1px solid var(--white);
  }
  #top_flow .flow_comment .title {
    font-size: 3.6rem;
    font-family: var(--serif);
    text-align: center;
  }  
  #top_flow .flow_comment .title:after {
    display: block;
    content: "";
    width: 100px;
    height: 1px;
    margin: .5em auto 1em;
    background: var(--white);
  }  
  #top_flow .flow_comment .comment {
    text-align: center;
  }
}
@media screen and (max-width:1239px) {
  #top_flow {
    padding: 5rem 0;
    background: var(--bg-high-color) url(/wp-content/uploads/images/bg_mark.webp) center center no-repeat;
    background-size: cover;
  }
  #top_flow .slick-track {
    display: flex;
    margin-top: 45px;
  }
  #top_flow .slick-slide {
    height: auto!important; 
  }
  #top_flow .slick-dots {
    top: 0;
    height: 30px;
  }
  #top_flow .slick-dots li {
    margin: 0 3px;
  }
  #top_flow .slick-dots li button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-color);
  }
  #top_flow .slick-dots li.slick-active button {
    background: var(--main-color);
  }  
  #top_flow .flow_box {
    margin-top: -15px;
    margin-bottom: 3rem;
    padding: 0 1.5rem;
  }
  #top_flow .flow_slider_list {
    position: relative;
    display: flex;
  }
  #top_flow .flow_slider_list .arrow {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    border-radius: 50%;
    z-index: 1;
    cursor: pointer;
  }  
  #top_flow .flow_slider_list .prev {
    left: -15px;
    background: var(--sub-color) url(/wp-content/uploads/images/icon_prev_white.webp) center center no-repeat;
    background-size: contain;
  }
  #top_flow .flow_slider_list .next {
    right: -15px;
    background: var(--sub-color) url(/wp-content/uploads/images/icon_next_white.webp) center center no-repeat;
    background-size: contain;    
  }    

  
  #top_flow .flow_slider_list .list {    
    display: flex;
    flex-direction: column;
    width: calc(100vw - 3rem);
    background: var(--white);
  }
  #top_flow .flow_slider_list .list:nth-child(n+2) {
    margin-left: 15px;
  }
  #top_flow .flow_slider_list .list .image img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }
  #top_flow .flow_slider_list .list .text {
    flex-grow: 1;
  }
  #top_flow .flow_slider_list .list .text .title {
    padding: .5em 0;
    color: var(--white);
    font-size: 1.8rem;
    text-align: center;
    font-family: var(--serif);
    background: var(--main-color);
  }
  #top_flow .flow_slider_list .list .text .comment {
    padding: 3rem;
  }
  #top_flow .flow_comment .comment_cover {
    padding: 1rem;
    color: var(--white);
    background: url(/wp-content/uploads/images/bg_color1.webp) top center no-repeat;
    background-size: cover;
  }
  #top_flow .flow_comment .comment_box {
    padding: 3rem 1.5rem;
    border: 1px solid var(--white);
  }
  #top_flow .flow_comment .title {
    font-size: 2rem;
    font-family: var(--serif);
    text-align: center;
  }  
  #top_flow .flow_comment .title:after {
    display: block;
    content: "";
    width: 50px;
    height: 1px;
    margin: .5em auto 1em;
    background: var(--white);
  }  
  #top_flow .flow_comment .comment {
    text-align: center;
  }
}
/******************************************************
症例紹介
******************************************************/
@media screen and (min-width:1240px) {
  .top_case {
    padding: 10rem 0;
    background: url(/wp-content/uploads/images/bg_case.webp) top center no-repeat;
    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-3) 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-3) 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_flex {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;    
  }
  .top_case .case_list .list .image_flex:before {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    content: "";
    width: 20px;
    height: 30px;
    margin-top: -15px;
    margin-left: -10px;
    background: var(--sub-color-2);
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
  }
  .top_case .case_list .list .image {
    position: relative;
    width: calc(50% - 20px);
  }
  .top_case .case_list .list .image.before:before {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    content: "Before";
    width: 100%;
    height: 4rem;    
    color: var(--white);
    text-align: center;
    font-family: var(--serif);
    background: var(--sub-color);
  }
  .top_case .case_list .list .image.after:before {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    content: "After";
    width: 100%;
    height: 4rem;    
    color: var(--white);
    text-align: center;
    font-family: var(--serif);
    background: var(--sub-color);
  }  
  .top_case .case_list .list .image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }  
  .top_case .case_list .list table {
    width: 100%;
    table-layout: fixed;
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
  }
  .top_case .case_list .list th,
  .top_case .case_list .list td {
    padding: .8em;
    text-align: left;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
  }
  .top_case .case_list .list th {
    width: 25%;
    color: var(--white);
    text-align: center;
    background: var(--sub-color-2);
  }
}
@media screen and (max-width:1239px) {
  .top_case {
    padding: 5rem 0;
    background: url(/wp-content/uploads/images/bg_case.webp) top center no-repeat;
    background-size: cover;
  }
  .top_case .case_list .list {
    display: flex;
    flex-direction: column;
    width: 960px;
    padding: 0 1.5rem;
    box-sizing: border-box;
  }
  .top_case .case_list .arrow {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    border-radius: 50%;
    z-index: 1;
    cursor: pointer;
  }
  .top_case .case_list .prev {
    left: 0;
    background: var(--bg-high-color-3) url(/wp-content/uploads/images/icon_prev.webp) center center no-repeat;
    background-size: contain;
  }
  .top_case .case_list .next {
    right: 0;
    background: var(--bg-high-color-3) 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_flex {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;    
  }
  .top_case .case_list .list .image_flex:before {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    content: "";
    width: 20px;
    height: 30px;
    margin-top: -15px;
    margin-left: -10px;
    background: var(--sub-color-2);
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
  }
  .top_case .case_list .list .image {
    position: relative;
    width: calc(50% - 20px);
  }
  .top_case .case_list .list .image.before:before {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    content: "Before";
    width: 100%;
    height: 4rem;    
    color: var(--white);
    text-align: center;
    font-family: var(--serif);
    background: var(--sub-color);
  }
  .top_case .case_list .list .image.after:before {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    content: "After";
    width: 100%;
    height: 4rem;    
    color: var(--white);
    text-align: center;
    font-family: var(--serif);
    background: var(--sub-color);
  }  
  .top_case .case_list .list .image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }  
  .top_case .case_list .list table {
    width: 100%;
    table-layout: fixed;
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
  }
  .top_case .case_list .list th,
  .top_case .case_list .list td {
    padding: .8em;
    text-align: left;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
  }
  .top_case .case_list .list th {
    width: 25%;
    color: var(--white);
    text-align: center;
    background: var(--sub-color-2);
  }
}
/****************************************************
費用とお支払い
****************************************************/
@media screen and (min-width:1240px) {
  #top_fee {
    padding: 10rem 0;
    background: var(--bg-high-color-3);
  }
  #top_fee .fee_inner {
    width: var(--inner-size);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5rem;
    box-sizing: border-box;
  }    
  #top_fee .fee_data {
    padding-bottom: 10rem;
  }
  #top_fee .fee_data .box:nth-child(n+2) {
    margin-top: 5rem;
  }
  #top_fee .fee_data .message {
    margin-bottom: 5rem;
    font-size: 1.8rem;
    text-align: center;
    font-weight: var(--text-weight-bold);
  }
  #top_fee .fee_data .title {
    margin-bottom: 1em;
    padding: .5em 1em;
    border-left: 8px solid var(--sub-color);
    color: var(--white);
    font-size: 2rem;
    font-weight: var(--text-weight-bold);
    background: linear-gradient(90deg, rgba(2, 122, 95, 1), rgba(2, 102, 79, 1));
  }    
  #top_fee .fee_data .price_list {
    margin-bottom: 5rem;
  }
  #top_fee .fee_data .price_list .list {
    display: flex;
    flex-wrap: wrap;
  }
  #top_fee .fee_data .price_list .list:nth-child(n+2) {
    border-top: 8px solid var(--bg-high-color-3);
  }  
  #top_fee .fee_data .price_list .list .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(100% - 280px);
    padding: 3rem;    
    border-right: 8px solid var(--bg-high-color-3);
    background: var(--white);
    box-sizing: border-box;
  }
  #top_fee .fee_data .price_list .list .text .heading {
    color: var(--sub-color);
    font-size: 2.4rem;
    font-family: var(--serif);
  }
  #top_fee .fee_data .price_list .list .price {
    display: flex;
    flex-direction: column;
    justify-content: center;    
    width: 280px;
    color: var(--sub-color);
    font-size: 2.4rem;
    text-align: center;
    font-family: var(--serif);
    background: var(--white);
    box-sizing: border-box;
  }
  #top_fee .fee_data .comment {
    margin-bottom: 1em;
    text-align: center;
  }  
  #top_fee .fee_data ul {
    display: flex;
    flex-wrap: wrap;
  }
  #top_fee .fee_data ul li {
    display: flex;
    flex-grow: 1;
    flex-basis: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 8rem;
    font-size: 1.8rem;
    text-align: center;
    font-weight: var(--text-weight-bold);
    background: var(--white);
  }
  #top_fee .fee_data ul li:nth-child(n+2) {
    margin-left: 15px;
  }  
  #top_fee .fee_flow {
    padding: 10rem 0 20rem;
    color: var(--white);
    background: url(/wp-content/uploads/images/bg_fee.webp) top center no-repeat;
    background-size: cover;
  }
  #top_fee .fee_flow .title {
    margin-bottom: 5rem;
    padding: .5em 0;
    font-size: 2.4rem;
    text-align: center;
    font-family: var(--serif);
    border-top: 1px solid var(--white);
    border-bottom: 1px solid var(--white);
  }
  #top_fee .fee_flow .message {
    margin-bottom: 5rem;
    font-size: 1.8rem;
    text-align: center;
    font-weight: var(--text-weight-bold);
  }
  #top_fee .fee_flow .flow_list {
    display: flex;
    flex-wrap: wrap;
    aling-items: center;
    justify-content: space-between;
    width: 960px;
    max-width: 100%;
    margin: 0 auto;
  }
  #top_fee .fee_flow .flow_list .list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc((100% / 3) - 30px);
    color: var(--white);
    font-size: 1.8rem;
    text-align: center;
    font-weight: var(--text-weight-bold);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-image: linear-gradient(135deg, rgba(193, 153, 53, 1), rgba(181, 143, 49, 1) 50%, rgba(173, 137, 47, 1) 50%, rgba(163, 129, 44, 1));
  }
  #top_fee .fee_flow .flow_list .list .image {
    width: 50%;
    margin: 0 auto;
  }
  #top_fee .fee_flow .flow_list .list .image img {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
  }  
  #top_fee .fee_about .about_cover {
    margin-top: -10rem;
    padding: 1rem;
    background: var(--white);
  }
  #top_fee .fee_about .about_box {
    padding: 6rem;
    background: var(--white);
    border: 1px solid var(--sub-color);
  }
  #top_fee .fee_about .title {
    margin-bottom: 5rem;
    color: var(--sub-color);
    font-size: 2.4rem;
    font-family: var(--serif);
    text-align: center;
  }
  #top_fee .fee_about .comment {
    margin-bottom: 5rem;
    text-align: center;
  }
  #top_fee .fee_about .btn {
    margin: 0 auto;
  }
  #top_fee .fee_about .btn a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 360px;
    height: 80px;
    margin: 0 auto;
    color: var(--white);
    font-size: 1.8rem;
    font-family: var(--serif);
    text-align: center;
    background: var(--sub-color);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;       
  }
  #top_fee .fee_about .btn a:hover {
    opacity: .7;
  }
  #top_fee .fee_about .btn a:after {
    position: absolute;
    bottom: 5px;
    right: 5px;
    display: block;
    content: "";
    width: 20px;
    height: 20px;
    background: var(--white);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);    
  }
}
@media screen and (max-width:1239px) {
  #top_fee {
    padding: 5rem 0;
    background: var(--bg-high-color-3);
  }
  #top_fee .fee_inner {
    width: var(--inner-size);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
  }    
  #top_fee .fee_data {
    padding-bottom: 5rem;
  }
  #top_fee .fee_data .box:nth-child(n+2) {
    margin-top: 3rem;
  }
  #top_fee .fee_data .message {
    margin-bottom: 3rem;
    text-align: center;
    font-weight: var(--text-weight-bold);
  }
  #top_fee .fee_data .title {
    margin-bottom: 1em;
    padding: .5em 1em;
    border-left: 8px solid var(--sub-color);
    color: var(--white);
    font-size: 1.6rem;
    font-weight: var(--text-weight-bold);
    background: linear-gradient(90deg, rgba(2, 122, 95, 1), rgba(2, 102, 79, 1));
  }    
  #top_fee .fee_data .price_list {
    margin-bottom: 3rem;
  }
  #top_fee .fee_data .price_list .list {
    padding: 3rem 1.5rem;
    background: var(--white);
  }
  #top_fee .fee_data .price_list .list:nth-child(n+2) {
    margin-top: 1.5rem;
  }
  #top_fee .fee_data .price_list .list .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
  }
  #top_fee .fee_data .price_list .list .text .heading {
    color: var(--sub-color);
    font-size: 2rem;
    font-family: var(--serif);
  }
  #top_fee .fee_data .price_list .list .price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 1em;
    color: var(--sub-color);
    font-size: 2rem;
    text-align: right;
    font-family: var(--serif);
    background: var(--white);
    box-sizing: border-box;
  }
  #top_fee .fee_data .comment {
    margin-bottom: 1em;
  }  
  #top_fee .fee_data ul {}
  #top_fee .fee_data ul li {
    padding: 1em;
    text-align: center;
    font-weight: var(--text-weight-bold);
    background: var(--white);
  }
  #top_fee .fee_data ul li:nth-child(n+2) {
    margin-top: 1rem;
  }  
  #top_fee .fee_flow {
    padding: 5rem 0 10rem;
    color: var(--white);
    background: url(/wp-content/uploads/images/bg_fee.webp) top center no-repeat;
    background-size: cover;
  }
  #top_fee .fee_flow .title {
    margin-bottom: 3rem;
    padding: .5em 0;
    font-size: 2rem;
    text-align: center;
    font-family: var(--serif);
    border-top: 1px solid var(--white);
    border-bottom: 1px solid var(--white);
  }
  #top_fee .fee_flow .message {
    margin-bottom: 3rem;
    text-align: center;
    font-weight: var(--text-weight-bold);
  }
  #top_fee .fee_flow .flow_list {}
  #top_fee .fee_flow .flow_list .list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: var(--white);
    text-align: center;
    font-weight: var(--text-weight-bold);
    background-image: linear-gradient(135deg, rgba(193, 153, 53, 1), rgba(181, 143, 49, 1) 50%, rgba(173, 137, 47, 1) 50%, rgba(163, 129, 44, 1));
  }
  #top_fee .fee_flow .flow_list .list:nth-child(n+2) {
    margin-top: 1rem;
  }
  #top_fee .fee_flow .flow_list .list .image {
    width: 80px;
    padding: 15px;
    box-sizing: border-box;
  }
  #top_fee .fee_flow .flow_list .list .image img {
    
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
  }  
  #top_fee .fee_flow .flow_list .list .heading {
    width: calc(100% - 80px);
    text-align: left;
  }
  #top_fee .fee_about .about_cover {
    margin-top: -5rem;
    padding: 1rem;
    background: var(--white);
  }
  #top_fee .fee_about .about_box {
    padding: 3rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--sub-color);
  }
  #top_fee .fee_about .title {
    margin-bottom: 3rem;
    color: var(--sub-color);
    font-size: 2rem;
    font-family: var(--serif);
    text-align: center;
  }
  #top_fee .fee_about .comment {
    margin-bottom: 3rem;
    text-align: center;
  }
  #top_fee .fee_about .btn {
    margin: 0 auto;
  }
  #top_fee .fee_about .btn a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 240px;
    max-width: 100%;
    height: 60px;
    margin: 0 auto;
    color: var(--white);
    font-family: var(--serif);
    text-align: center;
    background: var(--sub-color);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;       
  }
  #top_fee .fee_about .btn a:hover {
    opacity: .7;
  }
  #top_fee .fee_about .btn a:after {
    position: absolute;
    bottom: 5px;
    right: 5px;
    display: block;
    content: "";
    width: 20px;
    height: 20px;
    background: var(--white);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);    
  }
}
/****************************************************
よくあるご質問
****************************************************/
@media screen and (min-width:1240px) {
  #top_faq {
    padding: 10rem 0;
    background: var(--white) url(/wp-content/uploads/images/bg_mark2.webp) top center no-repeat;
    background-size: 100% auto;    
  }
  #top_faq .faq_list dl:nth-child(n+2) {
    margin-top: 4rem;
  }
  #top_faq .faq_list dt {
    position: relative;
    padding-left: 6rem;
    font-family: var(--serif);
    background: var(--bg-high-color-3);
  }
  #top_faq .faq_list dt:before {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    content: "Q";
    width: 6rem;
    height: 6rem;
    color: var(--white);
    text-align: center;
    background: var(--sub-color-2);
  }
  #top_faq .faq_list dt .question {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 6rem;        
    padding-left: 1em;
    padding-right: calc(6rem + 1em);
    line-height: 1.5;
  }
  #top_faq .faq_list dt .question:before {
    position: absolute;
    display: block;
    top: 50%;
    right: 20px;
    content: "";
    width: 15px;
    line-height: 1;
    border-bottom: 1px solid var(--sub-color-2);
  }
  #top_faq .faq_list dt .question:after {
    position: absolute;
    display: block;
    top: 50%;
    right: 27px;
    margin-top: -7px;
    content: "";
    height: 15px;
    line-height: 1;
    border-left: 1px solid var(--sub-color-2);
  }
  #top_faq .faq_list dt.active .question:after {
    display: none;
  }
  #top_faq .faq_list dd {
    display: none;
    margin-top: 4rem;
    padding: 0 4rem;
  }
}
@media screen and (max-width:1239px) {
  #top_faq {
    padding: 5rem 0;
  }
  #top_faq .faq_list dl:nth-child(n+2) {
    margin-top: 1.5rem;
  }
  #top_faq .faq_list dt {
    position: relative;
    padding-left: 5rem;
    font-family: var(--serif);
    background: var(--bg-high-color-3);
  }
  #top_faq .faq_list dt:before {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    content: "Q";
    width: 5rem;
    height: 5rem;
    color: var(--white);
    text-align: center;
    background: var(--sub-color-2);
  }
  #top_faq .faq_list dt .question {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 5rem;        
    padding-left: 1em;
    padding-right: calc(5rem + 1em);
    line-height: 1.5;
  }
  #top_faq .faq_list dt .question:before {
    position: absolute;
    display: block;
    top: 50%;
    right: 20px;
    content: "";
    width: 15px;
    line-height: 1;
    border-bottom: 1px solid var(--sub-color-2);
  }
  #top_faq .faq_list dt .question:after {
    position: absolute;
    display: block;
    top: 50%;
    right: 27px;
    margin-top: -7px;
    content: "";
    height: 15px;
    line-height: 1;
    border-left: 1px solid var(--sub-color-2);
  }
  #top_faq .faq_list dt.active .question:after {
    display: none;
  }
  #top_faq .faq_list dd {
    display: none;
    margin-top: 1.5rem;
    padding: 0 1.5rem;
  }
}
/****************************************************
院長挨拶
****************************************************/
@media screen and (min-width:1240px) {
  #top_greeting {
    padding: 10rem 0;
  }
  #top_greeting .greeting_flex {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row-reverse;
  }
  #top_greeting .greeting_image {
    position: relative;
    width: calc(50% + 4rem);
    margin-left: -4rem;
    background: url(/wp-content/uploads/images/greeting_img001.webp) top center no-repeat;
    background-size: cover;
    clip-path: polygon(0 8%, 100% 0%, 100% 92%, 0% 100%);
    z-index: 1;
  }
  #top_greeting .greeting_text {
    width: calc(50% + 4rem);
    margin-right: -4rem;
    padding: 10rem;
    color: var(--white);
    background: var(--main-color) url(/wp-content/uploads/images/bg_color1.webp) top center no-repeat;
    background-size: cover;
    box-sizing: border-box;
    clip-path: polygon(0 8%, 100% 0%, 100% 92%, 0% 100%);
  }
  #top_greeting .greeting_text .message {
    margin-bottom: 1em;
    font-size: 3.6rem;
    line-height: 1.5;
    font-family: var(--serif);
  }
  #top_greeting .greeting_doctor {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
  }
  #top_greeting .greeting_doctor .clinic,
  #top_greeting .greeting_doctor .name,
  #top_greeting .greeting_doctor .eng {
    
  }
  #top_greeting .greeting_doctor .doctor_title {
    padding: .5em 1em;
    color: var(--white);
    font-size: 3.6rem;
    line-height: 1;
    font-family: var(--serif);
    background: var(--sub-color);
    clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
  #top_greeting .greeting_doctor .doctor_title .name {
    margin-left: .5em;
    font-size: 1.35em;
  }
}
@media screen and (max-width:1239px) {
  #top_greeting {
    padding: 0 0 5rem;
  }
  #top_greeting .greeting_flex {
    flex-direction: row-reverse;
  }
  #top_greeting .greeting_image {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: url(/wp-content/uploads/images/greeting_img001.webp) top center no-repeat;
    background-size: cover;
  }
  #top_greeting .greeting_text {
    padding: 5rem 1.5rem;
    color: var(--white);
    background: var(--main-color) url(/wp-content/uploads/images/bg_color1.webp) top center no-repeat;
    background-size: cover;
    box-sizing: border-box;
  }
  #top_greeting .greeting_text .message {
    margin-bottom: 1em;
    font-size: 2.4rem;
    line-height: 1.5;
    font-family: var(--serif);
  }
  #top_greeting .greeting_doctor {
  }
  #top_greeting .greeting_doctor .clinic,
  #top_greeting .greeting_doctor .name,
  #top_greeting .greeting_doctor .eng {
    
  }
  #top_greeting .greeting_doctor .doctor_title {
    padding: 1em;
    color: var(--white);
    font-size: 1.6rem;
    line-height: 1;
    font-family: var(--serif);
    text-align: center;
    background: var(--sub-color);
  }
  #top_greeting .greeting_doctor .doctor_title .name {
    margin-left: .5em;
    font-size: 1.35em;
  }
}
/****************************************************
医院案内
****************************************************/
@media screen and (min-width:1240px) {
  #top_clinic .clinic_flex {
    display: flex;
    flex-wrap: wrap;
    background: var(--bg-high-color-3);
  }
  #top_clinic .clinic_flex .clinic_image {
    width: 50%;
    background: url(/wp-content/uploads/images/clinic_img001.webp) top center no-repeat;
    background-size: cover;
  }
  #top_clinic .clinic_flex .clinic_data {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    padding: 10rem 5rem;
    box-sizing: border-box;
  }
  #top_clinic .clinic_flex .clinic_data .logo {
    text-align: center;
  }
  #top_clinic .clinic_flex .clinic_data .logo img {
    width: auto;
    height: 8rem;
  }
  #top_clinic .clinic_flex .clinic_data .address {
    margin: 2em 0;
    text-align: center;
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn {
    display: flex;
    flex-wrap: wrap;
    width: 600px;
    max-width: 100%;
    margin-bottom: 2em;
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn {
    width: 30%;
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn.tel {
    width: 40%;
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 90px;
    color: var(--white);
    text-align: center;
    line-height: 1.35;
    letter-spacing: .1em;    
    font-family: var(--serif);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;    
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn a:before {
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    content: "";
    width: 12px;
    height: 12px;
    background: var(--sub-color);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn a:hover {
    opacity: .7;
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn.tel a {
    color: var(--sub-color);
    background: var(--white);
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn.web a {
    background: var(--main-color);
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn.mail a {
    background: var(--sub-color-2);
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn a .large {
    font-size: 1.4em;
  }  
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn a .middle {
    font-size: 1.2em;
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn.tel a .large {
    display: flex;
    align-items: center;
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn.tel a .large:before {
    display: block;
    content: "";
    width: 1.2em;
    height: 1.2em;
    margin-right: .3em;
    background: url(/wp-content/uploads/images/icon_phone_orange.webp) center center no-repeat;
    background-size: contain;
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn.tel a .small {
    font-size: .8em;
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn.tel a .small {
    color: var(--text-color)
  }
  #top_clinic .clinic_flex .clinic_data .schedule {
    width: 600px;
    max-width: 100%;
  }
  #top_clinic .clinic_flex .clinic_data .schedule .table_cover {
    margin-bottom: 1em;
    padding: 3rem;
    color: var(--white);
    background: var(--sub-color);
  }
  #top_clinic .clinic_flex .clinic_data .schedule table {
    width: 100%;
    table-layout: fixed;
  }
  #top_clinic .clinic_flex .clinic_data .schedule th {
    width: 25%;
  }
  #top_clinic .clinic_flex .clinic_data .schedule th,
  #top_clinic .clinic_flex .clinic_data .schedule td {
    padding: .2em;
    text-align: center;
  }
  #top_clinic .clinic_flex .clinic_data .schedule tr:first-child th,
  #top_clinic .clinic_flex .clinic_data .schedule tr:first-child td {
    padding-bottom: .6em;
    border-bottom: 1px solid var(--white);
  }
  #top_clinic .clinic_flex .clinic_data .schedule tr:nth-child(2) th,
  #top_clinic .clinic_flex .clinic_data .schedule tr:nth-child(2) td {
    padding-top: .6em;
  }  
  #top_clinic .clinic_flex .clinic_data .schedule p {
    text-align: center;
  }
}
@media screen and (max-width:1239px) {
  #top_clinic .clinic_flex {
    background: var(--bg-high-color-3);
  }
  #top_clinic .clinic_flex .clinic_image {
    width: 100%;
    aspect-ratio: 3 / 2;
    background: url(/wp-content/uploads/images/clinic_img001.webp) top center no-repeat;
    background-size: cover;
  }
  #top_clinic .clinic_flex .clinic_data {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 5rem 1.5rem;
    box-sizing: border-box;
  }
  #top_clinic .clinic_flex .clinic_data .logo {
    text-align: center;
  }
  #top_clinic .clinic_flex .clinic_data .logo img {
    width: auto;
    height: 5rem;
  }
  #top_clinic .clinic_flex .clinic_data .address {
    margin: 2em 0;
    text-align: center;
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 600px;
    max-width: 100%;
    margin-bottom: 2em;
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn {
    width: 100%;
    max-width: 360px;
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn:nth-child(n+2) {
    margin-top: 1rem;
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 70px;
    color: var(--white);
    text-align: center;
    line-height: 1.35;
    letter-spacing: .1em;    
    font-family: var(--serif);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;    
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn a:before {
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    content: "";
    width: 12px;
    height: 12px;
    background: var(--sub-color);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn a:hover {
    opacity: .7;
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn.tel a {
    color: var(--sub-color);
    background: var(--white);
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn.web a {
    background: var(--main-color);
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn.mail a {
    background: var(--sub-color-2);
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn a .large {
    font-size: 1.4em;
  }  
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn a .middle {
    font-size: 1.2em;
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn.tel a .large {
    display: flex;
    align-items: center;
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn.tel a .large:before {
    display: block;
    content: "";
    width: 1.2em;
    height: 1.2em;
    margin-right: .3em;
    background: url(/wp-content/uploads/images/icon_phone_orange.webp) center center no-repeat;
    background-size: contain;
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn.tel a .small {
    font-size: .8em;
  }
  #top_clinic .clinic_flex .clinic_data .contact_btn .btn.tel a .small {
    color: var(--text-color)
  }
  #top_clinic .clinic_flex .clinic_data .schedule {
    width: 600px;
    max-width: 100%;
  }
  #top_clinic .clinic_flex .clinic_data .schedule .table_cover {
    margin-bottom: 1em;
    padding: 1rem;
    color: var(--white);
    background: var(--sub-color);
  }
  #top_clinic .clinic_flex .clinic_data .schedule table {
    width: 100%;
    font-size: 1.2rem;
  }
  #top_clinic .clinic_flex .clinic_data .schedule th {
    width: 25%;
  }
  #top_clinic .clinic_flex .clinic_data .schedule th,
  #top_clinic .clinic_flex .clinic_data .schedule td {
    padding: .2em;
    text-align: center;
  }
  #top_clinic .clinic_flex .clinic_data .schedule tr:first-child th,
  #top_clinic .clinic_flex .clinic_data .schedule tr:first-child td {
    padding-bottom: .6em;
    border-bottom: 1px solid var(--white);
  }
  #top_clinic .clinic_flex .clinic_data .schedule tr:nth-child(2) th,
  #top_clinic .clinic_flex .clinic_data .schedule tr:nth-child(2) td {
    padding-top: .6em;
  }  
  #top_clinic .clinic_flex .clinic_data .schedule p {
    text-align: center;
  }
}