@charset "UTF-8";

/* ==================================================================================================================================

  *基本設定

================================================================================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  position: relative;
  min-width: 1500px;
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  word-break: break-all;
  word-wrap: break-word;
}

@media screen and (max-width: 768px) {
  body {
    min-width: auto;
    font-size: 15px;
  }
}

a {
  color: var(--main-color);
  transition: background 0.2s, color 0.2s, opacity 0.2s, transform 0.2s;
}

a:hover {
  color: var(--sub-color);
}

a[href="tel:準備中"] {
  pointer-events: none;
}

::selection {
  background-color: var(--selection-color);
}

::-moz-selection {
  background-color: var(--selection-color);
}

strong {
  font-weight: bold;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

iframe {
  max-width: 100%;
  vertical-align: top;
}

.u-sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .u-sp {
    display: block;
  }
}

.u-pc {
  display: block;
}

@media screen and (max-width: 768px) {
  .u-pc {
    display: none;
  }
}

/* --------------------------------------------------
インナー
-------------------------------------------------- */
.l-inner {
  position: relative;
  z-index: 1;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 50px;
}

@media screen and (max-width: 768px) {
  .l-inner {
    padding: 0 20px;
  }
}

/* --------------------------------------------------
テキストマージン
-------------------------------------------------- */
.l-text > *:not(h1, h2, h3, h4, h5) {
  margin-bottom: 2.5em;
  line-height: 2.5;
}

.l-text > *:not(h1, h2, h3, h4, h5):last-child {
  margin: 0;
}

/* ==================================================================================================================================

  *Scrollhint

================================================================================================================================== */
.scrolltable {
  overflow: visible !important;
}

@media screen and (max-width: 768px) {
  .scrolltable {
    overflow: auto !important;
  }

  .scrolltable > table {
    min-width: 800px;
    min-height: 170px;
    background: none !important;
  }

  .scroll-hint-icon {
    top: 50% !important;
    left: 50% !important;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 135px !important;
    height: 100px !important;
    transform: translate(-50%, -50%) !important;
  }
}

/* ==================================================================================================================================

  *テーブル

================================================================================================================================== */
/* --------------------------------------------------
基本設定
-------------------------------------------------- */
table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
}

table th, table td {
  width: auto;
  padding: 10px;
  border: 1px solid var(--line-color);
  text-align: center;
  vertical-align: middle;
}

table th {
  background: var(--bg-color);
}

table th p, table td p {
  margin: 0 !important;
}

/* --------------------------------------------------
診療時間
-------------------------------------------------- */
.c-office-hour__title {
  width: 100%;
  margin: 0 0 10px;
  padding: 10px;
  background: var(--bg-color);
  text-align: center;
}

.c-office-hour__table {
  width: 100%;
}

.c-office-hour__table th, .c-office-hour__table td {
  padding: 25px 5px;
  background: none;
  border: none;
  font-weight: normal;
  font-size: 110%;
  line-height: 1.75;
}

.c-office-hour__table th {
  width: 200px;
  padding-left: 15px !important;
}

.c-office-hour__table th span {
  display: block;
  color: #aeaeae;
  font-size: 90%;
}

.c-office-hour__table td {
  color: var(--main-color);
  text-align: center;
}

.c-office-hour__table tr:nth-child(1) th, .c-office-hour__table tr:nth-child(1) td {
  border-top: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
}

.c-office-hour__table tr:nth-child(1) td {
  color: var(--text-color);
}

.c-office-hour__table tr:nth-child(2) th, .c-office-hour__table tr:nth-child(2) td {
  padding: 25px 5px 10px;
  border-top: 1px solid var(--line-color);
}

.c-office-hour__table tr:last-child th, .c-office-hour__table tr:last-child td {
  padding: 10px 5px 25px;
  border-bottom: 1px solid var(--line-color);
}

@media screen and (max-width: 768px) {
  .c-office-hour__table {
    width: 100%;
  }

  .c-office-hour__table th, .c-office-hour__table td {
    padding: 15px 5px;
    font-size: 14px;
  }

  .c-office-hour__table th {
    width: 120px;
    padding-left: 5px !important;
  }

  .c-office-hour__table td {
    font-size: 95%;
  }

  .c-office-hour__table tr:nth-child(2) th, .c-office-hour__table tr:nth-child(2) td {
    padding: 15px 5px 5px;
  }

  .c-office-hour__table tr:last-child th, .c-office-hour__table tr:last-child td {
    padding: 5px 5px 15px;
  }
}

.c-office-hour__note {
  margin-top: 25px;
  padding-left: 20px;
}

@media screen and (max-width: 768px) {
  .c-office-hour__note {
    margin-top: 20px;
    padding-left: 15px;
    font-size: 90%;
  }
}

.c-office-hour__closed {
  color: #db4141;
}

.c-office-hour__caution {
  margin-top: 10px;
  font-size: 90%;
}
