/*  
Theme Name: tomatoclinic
Author: BLUE SEVEN
*/
/*--------------------------------------------------------------
/* base
---------------------------------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  visibility: hidden;
}
html.wf-active,
html.loading-delay {
  visibility: visible;
}
body {
  font-family: kozuka-gothic-pr6n, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: #634f4f;
  background-color: #fff;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}
h1 {
  font-size: calc(1.375rem + 1.5vw);
}
h2 {
  font-size: calc(1.325rem + 0.9vw);
}
h3 {
  font-size: calc(1.3rem + 0.6vw);
}
h4 {
  font-size: calc(1.3rem + 0.6vw);
  /*font-size: calc(1.275rem + 0.3vw);*/
}
h5 {
  font-size: calc(1.3rem + 0.6vw);
  /*font-size: 1.25rem;*/
}
@media (min-width: 768px) {
  h1 {
    font-size: 2.6rem;
  }
  h2 {
    font-size: 2.6rem;
    /*  font-size: 2rem;*/
  }
  h3 {
    font-size: 1.75rem;
  }
  h4 {
    font-size: 1.75rem;
    /*  font-size: 1.5rem;*/
  }
  h5 {
    font-size: 1.75rem;
    /*  font-size: 1.5rem;*/
  }
}

p,
ol,
ul,
li,
dl,
dt,
dd,
th,
td,
figcaption {
  font-size: 1.2rem;
  line-height: 2.2;
  margin: 0;
  padding: 0;
}
dt,
th {
  font-weight: 400;
}
dl div {
  display: flex;
}
@media (min-width: 768px) {
  p,
  ol,
  ul,
  li,
  dl,
  dt,
  dd,
  th,
  td,
  figcaption {
    font-size: 1.4rem;
    margin: 0;
    padding: 0;
  }
}
li {
  list-style-type: none;
}

a {
  color: #633931;
  text-decoration: none;
  transition-duration: 0.4s;
}
a:hover {
  color: #0a58ca;
}
img {
  max-width: 100%;
  height: auto;
}
figure {
  margin: 0;
}
video {
  filter: drop-shadow(0px 0px rgba(0, 0, 0, 0));
  outline: none;
  border: none;
}
.gmap {
  height: 70vw;
  max-height: 500px;
  overflow: hidden;
}
.gmap iframe {
  width: 100%;
  height: 100%;
}

/*--------------------------------------------------------------
  common
--------------------------------------------------------------*/
.maru-gothic {
  font-family: "ヒラギノ丸ゴ ProN W4", "ヒラギノ丸ゴ Pro",
    "Hiragino Maru Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO",
    kozuka-gothic-pr6n, sans-serif;
}
.text-center {
  text-align: center;
}
.bg-color {
  background-color: #fff7f7;
}
.br-pc {
  display: none;
}
.br-sp {
  display: block;
}
.inline-block {
  display: inline-block;
}
.text-red {
  color: #ff7063;
}
.icon-link {
  display: inline-block;
  vertical-align: middle;
  color: #ff7063;
  position: relative;
  width: 0.75em;
  height: 0.75em;
  border: 0.1em solid currentColor;
  background: currentColor;
  border-radius: 50%;
  box-sizing: content-box;
  margin-left: 0.25em;
}
.icon-link::after {
  content: "";
  color: #fff;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
  border-width: 0.18em 0.31177em;
  border-left-color: currentColor;
  border-right: 0;
  transform: translateX(15%);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
.icon-link-g {
  color: #00cf6f;
}
.button-ellipse {
  display: inline-block;
  text-align: center;
  border-radius: 100vh;
  background-color: #fff;
  transition-duration: 0.4s;
  margin: auto;
  padding: 0.5em 1em 0.25em;
}
.button-ellipse:hover {
  background: #efefef;
}
.button-ellipse.green {
  border: 2px solid #00cf6f;
}
.button-ellipse.pink {
  border: 2px solid #ff7063;
}
.button-ellipse a:hover {
  color: #634f4f;
}
@media (min-width: 768px) {
  .br-pc {
    display: block;
  }
  .br-sp {
    display: none;
  }
}
.page-title {
  font-size: 2.2rem;
  letter-spacing: 0.1em;
}
.page-title::before {
  content: "";
  display: block;
  width: 100px;
  height: 100px;
  margin: 20px auto;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
}
.section-title {
  font-size: 2rem;
  text-align: center;
  padding-bottom: 0.5em;
  margin-bottom: 2em;
  border-bottom: 2px solid #ff7063;
  position: relative;
}
.section-title::before {
  content: "";
  width: 0;
  height: 0;
  border-top: calc(16px / 2 * 1.732) solid #fff;
  border-left: calc(16px / 2) solid transparent;
  border-right: calc(16px / 2) solid transparent;
  position: absolute;
  top: 99%;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 10;
}
.section-title::after {
  content: "";
  width: 0;
  height: 0;
  border-top: calc(20px / 2 * 1.732) solid #ff7063;
  border-left: calc(20px / 2) solid transparent;
  border-right: calc(20px / 2) solid transparent;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 5;
}
.box-title {
  line-height: 1.2;
  border-left: 5px solid #ff7063;
  margin-bottom: 0.5em;
  padding-left: 0.5em;
}
.comment {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 25px 0;
}
.comment::before {
  content: "";
  display: block;
  align-items: center;
  width: 111px;
  height: 134px;
  margin: 30px auto;
  background-image: url(/img/common/comment-icon.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.comment .fukidasi {
  width: 70%;
  height: fit-content;
  padding: 1em 2em;
  background: #ffffe5;
  border: 2px solid #c1a373;
  border-radius: 1em;
  position: relative;
}
.comment .fukidasi::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -24px;
  margin-top: -12px;
  border: 12px solid transparent;
  border-right: 12px solid #ffffe5;
  z-index: 2;
}
.comment .fukidasi::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  margin-top: -14px;
  border: 14px solid transparent;
  border-right: 15px solid #c1a373;
  z-index: 1;
}
.home-schedule-title p {
  font-size: 1.3rem;
  font-weight: 700;
}
.doctor-schedule-table {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
  border: 1px solid #474647;
  margin-bottom: 1.5em;
}
.doctor-schedule-table th {
  display: block;
  border-collapse: collapse;
  border-bottom: 1px solid #474647;
  padding: 1em 0.25em;
}
.doctor-schedule-table td {
  display: block;
  line-height: 1.8;
  text-align: left;
  background: #fff;
  border-collapse: collapse;
  border-bottom: 1px solid #474647;
  padding: 1em 0.25em;
}
.doctor-schedule-table td span {
  display: inline-block;
  font-size: 1rem;
  margin-left: 0.25em;
}
.doctor-schedule-table thead {
  background: #ffdedb;
}
.doctor-schedule-table thead th {
  display: none;
}
.doctor-schedule-table thead th:first-child {
  display: block;
}
.doctor-schedule-table tbody th {
  background: #fff;
}
.doctor-schedule-table tbody td::before {
  content: attr(data-label);
}
.doctor-schedule-table td a {
  text-decoration: underline;
  margin-right: 1em;
}
.doctor-schedule-table td a:hover {
  text-decoration: none;
}
.doctor-schedule ul li {
  line-height: 1.8;
}
.doctor-schedule .notes {
  margin-bottom: 1em;
}
.doctor-schedule .notes .lead {
  font-size: 110%;
  font-weight: bold;
}
.doctor-schedule .button {
  width: 150px;
  text-align: center;
  background-color: #5fc975;
  border-radius: 5px;
  transition-duration: 0.4s;
  margin: auto;
  padding: 0.5em 0.25em 0.25em;
}
.doctor-schedule .button a {
  display: block;
  color: #fff;
}
.doctor-schedule .button .icon-link {
  color: #fff;
}
.doctor-schedule .button .icon-link::after {
  color: #00cf6f;
}
.doctor-schedule .button:hover {
  background: #00a558;
}
.content-box {
  margin-bottom: 3em;
}
.other-content .hospital-list {
  display: flex;
  flex-wrap: wrap;
  max-width: 540px;
}
.other-content .hospital-list li {
  line-height: 1.8;
}
.other-content .hospital-list li:not(:last-child)::after {
  content: "／";
  margin: 0.5em;
}
.content-box .text {
  line-height: 1.8;
}
.other-content .text .lead {
  font-size: 120%;
  font-weight: 700;
  color: #ff7063;
}
.check-cost-table {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
  border: 1px solid #474647;
  margin: 1.5em 0;
}
.check-cost-table th {
  border-collapse: collapse;
  border: 1px solid #474647;
  padding: 0.25em 1em;
}
.check-cost-table td {
  background: #fff;
  border-collapse: collapse;
  border: 1px solid #474647;
  padding: 1em;
}
.check-cost-table thead {
  background: #ffdedb;
}
.check-cost-table thead th {
  width: calc(100% / 4);
}
.check-cost-table thead th:first-child {
  width: calc(100% / 4 * 2);
}
.consultation-hours dt {
  width: 4em;
  margin-right: 0.5em;
}
@media (min-width: 768px) {
  .page-title::before {
    width: 159px;
    height: 159px;
  }
  .comment p {
    font-size: 170%;
  }
  .home-schedule-title p {
    font-size: 1.5rem;
  }
  .doctor-schedule-table th {
    background: initial;
    padding: 0.25em 1em;
  }
  .doctor-schedule-table th,
  .doctor-schedule-table td {
    display: table-cell;
    text-align: center;
    border: 1px solid #474647;
  }
  .doctor-schedule-table thead th {
    display: table-cell;
    width: calc(100% / 8);
  }
  .doctor-schedule-table thead th:first-child {
    display: table-cell;
    width: calc(100% / 8 * 2);
  }
  .doctor-schedule-table tbody td::before {
    content: none;
  }
  .doctor-schedule-table td a {
    margin-right: 0;
  }
  .doctor-schedule .button {
    margin: 0 auto 0 0;
  }
}

/*--------------------------------------------------------------
# base-layout
--------------------------------------------------------------*/
.page-contents-wrap {
  padding-top: 55px;
}
.container {
  width: 100%;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
}
.container-fluid {
  width: 100%;
  /*
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
*/
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .page-contents-wrap {
    padding-top: 150px;
  }
  .container {
    max-width: 960px;
  }
}
/*
@media (min-width: 1200px) {
  .container {
    max-width: 1000px;
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}
*/

/*--------------------------------------------------------------
/* header
---------------------------------------------------------------*/
.header {
  width: 100%;
  position: fixed;
  z-index: 100;
}
.header-wrap1 {
  width: 100%;
  padding: 10px 0;
  background-color: #fff7f7;
}
.header-block1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-block1 .header-brand .logo {
  width: 175px;
}
.header-block1 .header-contact {
  display: none;
  width: auto;
}
.header-block1 .header-contact p {
  line-height: 1.6;
  text-align: right;
  margin: 0 1.25em;
}
.header-block1 .header-contact .text {
  font-size: 80%;
}
.header-block1 .header-contact .tel {
  font-family: din-2014, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 130%;
}
.header-block1 .header-contact .number {
  font-family: din-2014, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 200%;
  margin-right: 0.5em;
}
.header-block1 .header-link {
  display: flex;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
}
.header-block1 .header-link .text {
  display: none;
}
.header-block1 .header-link .button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 50px;
  transition-duration: 0.4s;
}
.header-block1 .header-link .web {
  background-color: #5fc975;
}
.header-block1 .header-link .sp-tel {
  background-color: #ffc000;
}
.header-block1 .header-link .button a {
  display: block;
  color: #fff;
  font-weight: 700;
  font-size: 1.8rem;
}
.header-block1 .header-link .sp-tel a {
  display: flex;
  align-items: center;
  gap: 0.3em;
}
.header-block1 .header-link .icon-tel {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  background: url(/img/common/icon-tel.png) no-repeat center / contain;
}
.header-block1 .header-link .button .icon-link {
  color: #fff;
}
.header-block1 .header-link .button .icon-link::after {
  color: #5fc975;
}
.header-block1 .header-link .web:hover {
  background: #469c58;
}
@media (min-width: 992px) {
  .header-wrap1 {
    padding: 0;
  }
  .header-block1 {
    justify-content: space-between;
  }
  .header-block1 .header-brand .logo {
    width: 225px;
  }
  .header-block1 .header-contact {
    display: block;
    width: calc(100% - 375px);
    text-align: left;
  }
  .header-block1 .header-contact .tel {
    font-size: 120%;
  }
  .header-block1 .header-link {
    display: block;
    width: 160px;
    position: static;
  }
  .header-block1 .header-link .button {
    width: 95%;
    height: 35px;
    border-radius: 5px;
  }
  .header-block1 .header-link .sp-tel {
    display: none;
  }
  .header-block1 .header-link .button a {
    font-size: 1.4rem;
    font-weight: 400;
  }
  .header-block1 .header-link .text {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5em;
  }
}
.hamburger-menu .menu-btn {
  display: flex;
  width: 38px;
  height: 35px;
  line-height: 1.125em;
  justify-content: center;
  align-items: center;
  background-color: #999;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  z-index: 99999;
}
.hamburger-menu .menu-btn span,
.hamburger-menu .menu-btn span::before,
.hamburger-menu .menu-btn span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 3px;
  position: absolute;
  transition: all ease 0.3s;
}
.hamburger-menu .menu-btn span::before {
  bottom: 7px;
}
.hamburger-menu .menu-btn span::after {
  top: 7px;
}
#menu-btn-check:checked ~ .menu-btn span {
  background-color: rgba(255, 255, 255, 0);
}
#menu-btn-check:checked ~ .menu-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}
#menu-btn-check {
  display: none;
}
.sp-nav {
  width: 100%;
  height: 100%;
  padding-top: 50px;
  background: #999;
  position: fixed;
  top: -115%;
  left: 0;
  z-index: 9999;
  transition: all 0.4s;
}
#menu-btn-check:checked ~ .sp-nav {
  top: 0;
}
.sp-nav ul {
  padding: 10px 0;
}
.sp-nav ul li {
  border-bottom: 1px solid #fff;
}
.sp-nav ul li a {
  display: block;
  color: #fff;
  padding: 6px 10px;
  margin: 2px 5px;
  text-decoration: none;
}
@media (min-width: 992px) {
  .hamburger-menu {
    display: none;
  }
}
.header-wrap2 {
  display: none;
}
@media (min-width: 992px) {
  .header-wrap2 {
    display: block;
    width: 100%;
    background-color: #c1a373;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .header-block2 #menu-header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 3em;
  }
  .header-block2 .nav-item a {
    color: #fff;
    padding-bottom: 0.5em;
    position: relative;
    font-weight:500;
  }
  .header-block2 .nav-item a::after {
    content: "";
    width: 100%;
    height: 1px;
    margin: auto;
    background: #fff;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: transform 0.3s;
    transform-origin: center top;
    transform: scale(0, 1);
  }
  .header-block2 .nav-item.current a::after {
    transform: scale(1, 1);
  }
  .header-block2 .nav-item a:hover::after {
    transform-origin: center top;
    transform: scale(1, 1);
  }
}

/*--------------------------------------------------------------
/* footer
--------------------------------------------------------------*/
.footer-inner {
  padding-bottom: 55px;
}
.footer-block1 {
  background-color: #fff7f7;
  border-bottom: 2px solid #beb5a4;
}
.footer-block1 .footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-block1 .footer-nav ul li {
  line-height: 1;
  margin-bottom: 1em;
  border-left: 2px solid rgba(169, 158, 158, 0.5);
}
.footer-block1 .footer-nav ul li:last-child {
  border-right: 2px solid rgba(169, 158, 158, 0.5);
}
.footer-block1 .footer-nav ul li a {
  padding: 0 1em;
}
.footer-block2 .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding-top: 25px;
}
.footer-block2 .footer-brand {
  margin-bottom: 2.5%;
}
.footer-block2 .footer-brand .logo {
  width: 225px;
}
.footer-block2 .footer-address {
  width: 100%;
  text-align: center;
  margin-bottom: 2.5%;
}
.footer-block2 .footer-address p {
  font-size: 1.3rem;
  line-height: 1.6;
}
.footer-block2 .consultation-hours {
  text-align: left;
  width: fit-content;
  margin: 0 auto;
}
.footer-block2 .consultation-hours dt,
.footer-block2 .consultation-hours dd {
  font-size: 1.3rem;
  line-height: 1.6;
}
.footer-block2 .footer-contact {
  width: 100%;
  text-align: center;
  margin-bottom: 2.5%;
}
.footer-block2 .footer-contact p {
  font-size: 1.3rem;
  line-height: 1.6;
}
.footer-block2 .footer-contact .tel {
  font-size: 120%;
  font-weight: 700;
  margin-right: 0.5em;
}
.footer-block2 .footer-link {
  width: auto;
  margin-bottom: 2em;
}
.footer-block2 .footer-link .button {
  width: 150px;
  text-align: center;
  background-color: #ff7063;
  border-radius: 5px;
  transition-duration: 0.4s;
  margin: auto;
  padding: 0.75em 0.25em 0.5em;
}
.footer-block2 .footer-link .button a {
  display: block;
  color: #fff;
}
.footer-block2 .footer-link .button .icon-link {
  color: #fff;
}
.footer-block2 .footer-link .button .icon-link::after {
  color: #ff7063;
}
.footer-block2 .footer-link .button:hover {
  background: #db5148;
}
@media (min-width: 768px) {
  .footer-inner {
    padding-bottom: 0;
  }
}
@media (min-width: 992px) {
  .footer-block2 .container {
    justify-content: space-between;
  }
  .footer-block2 .footer-brand .logo {
    width: 225px;
  }
  .footer-block2 .footer-address {
    width: 27.5em;
    text-align: left;
  }
  .footer-block2 .consultation-hours {
    margin: 0 auto 0 0;
  }
  .footer-block2 .footer-contact {
    width: 25em;
    text-align: left;
  }
  .footer-block2 .footer-contact .tel {
    font-size: 120%;
  }
  .footer-block2 .footer-link {
    width: auto;
  }
}

.copyright {
  text-align: center;
  background: #c1a373;
}
/*--------------------------------------------------------------
/* page-top
--------------------------------------------------------------*/
#page-top {
  position: fixed;
  right: 2.5%;
  bottom: 55px;
  z-index: 100;
  opacity: 0;
  transform: translateY(150px);
}
#page-top a {
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.6rem;
  transition: all 0.3s;
}
#page-top a:hover {
  opacity: 0.75;
}
#page-top a span {
  display: block;
  font-weight: 700;
  text-align: center;
  color: #000;
}
#page-top img {
  width: 50px;
  height: 50px;
}
#page-top.UpMove {
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(150px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#page-top.DownMove {
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(150px);
  }
}
