@charset "UTF-8";

:root {
  --serif: "Shippori Mincho", serif;
}

/*----------------------
　リセット
----------------------*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

p {
  display: block;
  margin: 1em 0;
}

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

blockquote {
  display: block;
  -webkit-margin-before: 1em;
  -webkit-margin-after: 1em;
  -webkit-margin-start: 40px;
  -webkit-margin-end: 40px;
}

/* img */
.aligncenter {
  display: block;
  margin: 0 auto;
}

.alignright {
  float: right;
}

.alignleft {
  float: left;
}

.wbr {
  display: inline-block;
}

img[class*="wp-image-"],
img[class*="attachment-"] {
  height: auto;
  max-width: 100%;
}

/* clearfix */
.clearfix {
  overflow: hidden;
  zoom: 1;
}

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

* {
  margin: 0;
  padding: 0;
  border-collapse: collapse;
  box-sizing: border-box;
  list-style: none;
  outline: none;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  backface-visibility: hidden;
}

body {
  /* font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; */
  font-family: sans-serif;
  font-size: 16px;
  color: #222;
  margin: 0;
  padding: 0;
  line-break: normal;
  word-break: break-all;
  border-collapse: collapse;
  line-height: 1.6rem;
  letter-spacing: normal;
  /* background-image: url(images/bg.jpg); */
}

a,
a:link,
a:hover,
a:visited,
a:active {
  color: #099;
  text-decoration: none;
}

td {
  text-align: left;
  vertical-align: top;
}

div {
  clear: both;
}

button {
  border-collapse: collapse;
  border-color: #fff;
  border-style: solid;
  border-width: 0px;
  background-color: transparent;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

img {
  vertical-align: top;
  backface-visibility: hidden;
}

[data-ruby] {
  position: relative;
}

[data-ruby]::before {
  content: attr(data-ruby);
  position: absolute;
  top: -1em;
  left: 0;
  right: 0;
  margin: auto;
  font-size: 0.7em;
}

/*----------------------
　全体
----------------------*/
.container {
  margin-left: auto;
  margin-right: auto;
  max-width: 1280px;
  width: 100%;
  padding: 24px;
}

.logo2 {
  text-align: left;
  color: #60524c;
  max-width: 320px;
}

/*---------------------
2026新ヘッダ
-----------------------*/
.header {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  max-width: 1120px;
  margin: auto;
}

@media (max-width: 767px) {
  .header {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
}

.header_logo img {
  max-width: 320px;
}

.header .header_text {
  font-size: 0.8rem;
  font-weight: 300;
  align-self: flex-end;
  color: #777;
  padding-left: 1rem;
}

a.header_btn_reserve {
  background-color: rgb(237, 114, 0);
  color: white;
  font-size: 1.3rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
  text-align: center;
  display: grid;
  place-content: center;
  padding: 1.5rem;
  border-radius: 0.6rem;
  font-weight: 600;
  margin-top: 24px;
}

@media (max-width: 767px) {
  a.header_btn_reserve {
    width: 90%;
    max-width: 480px;
    margin: 1.5rem auto;
  }
}

a.header_btn_reserve:hover {
  opacity: 0.8;
}

.flex {
  display: flex;
  flex-direction: row;
}

.inner {
  max-width: 1680px;
  margin: auto;
  width: 100%;
}

.center {
  text-align: center;
  margin: auto;
}

.paper_body {
  background-color: #fff;
}

.page_title {
  text-align: center;
  font-size: 1.1rem;
  padding: 20px;
}

.page_div2 {
  width: 880px;
  margin-left: auto;
  margin-right: auto;
  clear: both;
}

.page_div3 {
  width: 820px;
  margin-left: auto;
  margin-right: auto;
  clear: both;
}

.cell {
  vertical-align: top;
  display: table-cell;
}

.table {
  display: table;
  table-layout: fixed;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.table>* {
  display: table-cell;
}

.flex {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  /* Safari */
  -webkit-justify-content: flex-start;
  /* Safari */
  justify-content: flex-start;
  -webkit-align-items: stretch;
  /* Safari */
  align-items: stretch;
}

.card {
  width: 100%;
  background-color: #fff;
  padding: 25px;
  margin-bottom: 20px;
  /* box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.17); */
  display: block;
}

a.webyoyakubtn {
  background-color: rgb(237, 114, 0);
  padding: 20px;
  margin: 6px auto;
  font-size: 22px;
  line-height: 24px;
  color: #fff;
  text-align: center;
  min-width: 200px;
  font-weight: 600;
  display: block;
  max-width: 640px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

a.webyoyakubtn small {
  font-size: 14px;
  line-height: 18px;
  text-align: center;
  display: block;
  font-weight: 300;
}

@media (max-width: 860px) {
  a.webyoyakubtn {
    max-width: 320px;
  }
}

footer {
  text-align: left;
  color: #fff;
  line-height: 20px;
  letter-spacing: 1px;
  background-color: #004030;
}

footer .inner {
  padding: 24px;
  max-width: 1200px;
}

footer ul {
  list-style: none;
}

footer li {
  padding: 8px 0;
  font-weight: normal;
}

footer h2 {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  margin: 32px 0 12px 0;
  border-bottom: 1px solid #ccc;
  padding: 12px 0;
}

footer a,
footer a:link,
footer a:visited {
  color: #fff;
  text-decoration: none;
}

footer .footer_sitemap {
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

@media only screen and (max-width: 860px) {
  footer .footer_sitemap {
    flex-direction: column;
  }
}

footer .footer_sitemap>* {
  min-width: 280px;
  flex: 1;
}

footer .footer_sitemap img {
  width: 100%;
  max-width: 300px;
}

footer .footer_transfer {
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 32px;

  @media (width < 768px) {
    flex-direction: column;
  }
}

footer .footer_transfer>* {
  flex-basis: 50%;
  flex-grow: 1;
}

footer .medicaluser img {
  width: 100%;
  max-width: 300px;
  margin-bottom: 12px;
}

footer .footer_support {
  margin: 32px 0;
  gap: 32px;
  display: flex;
  flex-direction: row;

  @media (width < 768px) {
    flex-direction: column;
  }
}

footer .footer_support>*:nth-child(1) {
  flex-basis: 50%;
}

footer .footer_support>*:nth-child(2) {
  flex-basis: 50%;
}

footer .footer_soccer img {
  aspect-ratio: 16 / 9;
  width: 100%;
}

footer .footer_support .youtube iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
}

footer .youtube_flex {
  display: flex;
  gap: 24px;
  justify-content: space-between;

  @media (width < 768px) {
    flex-direction: column;
  }
}

footer .youtube_flex>* {
  flex-basis: 50%;
  flex-grow: 1;
}

footer .youtube_flex p {
  padding: 8px 0;
}

footer .youtube_flex>* {
  flex-basis: 31%;
  flex-grow: 1;
}

.footer_group_inner {
  gap: 32px;
  display: flex;
  flex-direction: row;

  @media (width < 768px) {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }
}

.footer_group_inner>* {
  flex-basis: 50%;
}

.footer_group img {
  width: 100%;
  height: auto;
  aspect-ratio: unset;
}

.footer-head {
  font-size: 20px;
  text-align: center;
  font-weight: 600;
  background-color: #eee;
  color: #444;
}

.footer-head a,
.footer-head a:visited {
  color: #444;
}

.footer-head h4 {
  font-size: clamp(20px, 3vw, 26px);
  color: #099;
}

.footer-head ul {
  display: flex;
  align-items: center;

}

@media (max-width: 767px) {
  .footer-head ul {
    flex-direction: column;
    width: 100%;
  }
}

.footer-head li:nth-child(1) {
  font-size: 20px;
  line-height: 28px;
  font-weight: normal;
  text-align: left;
  font-weight: 900;
  min-width: none;
  flex-basis: 50%;
  flex-shrink: 1;
  flex-grow: 1;
}

.footer-head li:nth-child(2) {
  flex: 1 1 50%;
  display: flex;
  gap: 1.2rem;
  align-items: center;

  @media (width < 768px) {
    flex-direction: column;
    width: 100%;

  }
}

.footer-head a.webyoyakubtn,
.footer-head a.telbtn {
  width: 100%;
  font-size: 1.2rem;
  font-weight: 600;
  height: 48px;
  color: #fff;
  text-align: center;
  background-color: rgb(237, 114, 0);
  display: grid;
  place-content: center;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  white-space: nowrap;
  border-radius: 8px;
}

.footer-head a span {
  width: 20px;
  height: 20px;
  font-size: 20px;
  display: inline-block;
  vertical-align: middle;
}

.footer_info {
  font-size: 15px;
  color: #aaa;
}

.dr-timetable {
  border-collapse: collapse;
  border: 1px solid #999;
  width: 95%;
  max-width: 330px;
}

.dr-timetable td {
  padding: 12px;
  border: 1px solid #999;
}

.dr-timetable td:nth-child(1) {
  width: 60px;
  text-align: center;
}

/*FB*/
.fb-like-box {
  margin-left: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

/*クリニック紹介*/
.about_left {
  float: left;
  clear: left;
  width: 466px;
}

.about_left p {
  padding-left: 60px;
  padding-right: 20px;
}

.about_right {
  float: left;
  clear: right;
  width: 454px;
}

.about_right p {
  padding-left: 30px;
  padding-right: 50px;
}

.banner {
  margin-top: 40px;
  text-align: center;
}

.banner img {
  margin-left: 5px;
  margin-bottom: 5px;
}

.left {
  float: left;
  clear: left;
}

.right {
  float: left;
  clear: right;
}

.kids02_2 {
  height: 283px;
  background-image: url(images/kids02_2.png);
  background-repeat: no-repeat;
  padding-left: 30px;
  padding-right: 30px;
  font-size: 12px;
}

.kids06 {
  height: 172px;
  background-image: url(images/kids06.png);
  background-repeat: no-repeat;
  padding-left: 30px;
  padding-right: 30px;
}

.kids09 {
  height: 134px;
  background-image: url(images/kids09.png);
  background-repeat: no-repeat;
  padding-left: 30px;
  padding-right: 30px;
}

.kids10 {
  height: 95px;
  background-image: url(images/kids10.png);
  background-repeat: no-repeat;
  padding-left: 30px;
  padding-right: 30px;
}

.kids_div h3 {
  padding-left: 30px;
  padding-right: 30px;
  font-size: 16px;
  font-weight: bold;
  color: #099;
  padding-top: 20px;
  padding-bottom: 10px;
}

.kids_div p {
  padding-left: 30px;
  padding-right: 30px;
}

.concept_bg {
  background-image: url(images/conceptbg.png);
  background-repeat: no-repeat;
  height: 420px;
  width: 920px;
}

.concept_bg h1 {
  text-align: center;
  font-size: 16px;
  color: #399;
  font-weight: bold;
  line-height: 30px;
}

.concept_bg h2 {
  text-align: center;
  font-size: 14px;
  color: #399;
  font-weight: bold;
  line-height: 22px;
  padding-top: 10px;
  margin-top: 40px;
}

.concept_bg p {
  font-size: 14px;
  text-align: center;
  display: block;
  width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.menu {
  width: 100%;
  background-color: rgba(0, 64, 48, 1);
  position: relative;
  z-index: 99;
}

.menu_table {
  max-width: 1280px;
  width: 100%;
  height: 40px;
  margin: 0 auto;
  padding: 0;
  display: table;
  table-layout: fixed;
}

.menu_table>li {
  position: relative;
  list-style: none;
  display: table-cell;
  min-width: 100px;
}

.menu_table>li>a {
  display: block;
  width: auto;
  text-align: center;
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
  box-sizing: border-box;
  padding: 16px 8px;
}

.menu_table li a:hover {
  background-color: rgba(255, 255, 48, 0.5);
}

.menu_table>li>ul {
  top: 40px;
  left: 0;
  position: absolute;
  background-color: #333;
}

.menu_table>li>ul>li {
  display: none;
  height: 0;
  text-align: left;
  background-color: #333;
  line-height: 40px;
  font-size: 1rem;
}

.menu_table>li>ul>li>a {
  display: block;
  width: auto;
  height: 40px;
  text-align: left;
  color: #fff;
  font-size: 1rem;
  line-height: 40px;
  text-decoration: none;
  box-sizing: border-box;
  padding: 0 10px;
}

.menu_table>li:hover>ul>li {
  /*現れた時のサブメニュー*/
  display: block;
  height: 40px;
}

.menu_on {
  background-color: black;
}

@media (max-width: 767px) {}

.sp_menu_base {
  background-color: #444;
  color: white;
  display: flex;
  justify-content: space-evenly;
  align-items: stretch;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  border: 0;
  outline: 0;
}

.sp_menu_base>* {
  flex: 1 1 calc(100% / 3) - 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.sp_menu_base a {
  color: white;
  width: 100%;
}

.menu_select {
  appearance: none;
  width: 90%;
  display: grid;
  place-content: center;
  display: block;
  font-size: 1.1rem;
  background-color: transparent;
  border: 0;
  padding: 0.5rem;
}

.sp-select {
  flex: 1 1 32%;
  padding: 1rem 0.4rem;
}

.sp-tel {
  text-align: center;
  flex: 1 1 32%;
  padding: 1rem 0.4rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.sp-tel a {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
}

.sp-yoyaku {
  background-color: rgba(255, 103, 2, 1);
  flex: 1 1 32%;
  padding: 1rem 0.4rem;
  display: grid;
  place-content: center;
}

.sp-yoyaku a {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
}

.drawer-trigger {
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  font-size: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
  cursor: pointer;
  gap: 0.5rem;
}

.drawer-trigger .material-icons {
  font-size: 24px;
  margin-bottom: 2px;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999;
  /* 最前面に */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 20px 20px 0 0;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  max-height: 85vh;
  /* 画面の85%まで */
  display: flex;
  flex-direction: column;
  padding-bottom: 5rem;
}

.drawer-overlay.is-open .drawer-content {
  transform: translateY(0);
}

.drawer-header {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  color: #333;
}

.drawer-close {
  background: #f0f0f0;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.drawer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  /* 項目が多い場合にスクロール */
  -webkit-overflow-scrolling: touch;
}

.drawer-list li {
  border-bottom: 1px solid #f9f9f9;
}

.drawer-list li a {
  display: block;
  padding: 0.6rem 1.4rem;
  text-decoration: none;
  color: #444;
  font-size: 16px;
  transition: background 0.2s;
}

.drawer-list li a:active {
  background: #f0f0f0;
}

a.englishsite,
a.englishsite:link,
a.englishsite:visited {
  transition: all 0.3s ease;
  display: block;
  position: fixed;
  right: 0;
  top: 0;
  margin: auto;
  margin-left: auto;
  margin-right: 0;
  color: #fff;
  background-color: black;
  width: 140px;
  height: 40px;
  font-size: 13px;
  line-height: 40px;
  text-align: center;
  z-index: 120;
}

@media (max-width: 760px) {

  a.englishsite,
  a.englishsite:link,
  a.englishsite:visited {
    position: fixed;
    width: 110px;
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0;
  }

  .flex {
    display: flex;
    flex-direction: column;
  }

  .table {
    display: block;
    width: 100%;
  }

  .table>* {
    display: block;
    width: 100%;
  }

  .cell {
    display: block;
    width: 100%;
  }

  footer {
    padding-bottom: 100px;
  }
}

@media (min-width: 761px) {
  .sp {
    display: none;
  }
}

@media (max-width: 760px) {
  .pc {
    display: none;
  }
}

/*治療固定ページ用*/
.treatment .content {
  max-width: 960px;
  margin: auto;
}

.treatment .content h1 {
  width: 100%;
  color: rgba(51, 153, 153, 1);
  text-align: center;
  padding: 16px 32px;
  text-align: center;
  font-size: 32px;
  line-height: 140%;
}

.treatment .content h2 {
  margin: 64px auto 32px auto;
  width: fit-content;
  border-bottom: solid 5px rgba(51, 153, 153, 0.8);
  text-align: center;
  padding: 16px 32px;
  line-height: 140%;
}

.treatment .content h3 {
  margin: 64px auto 32px auto;
  background-color: rgba(0, 153, 153, 0.25);
  width: fit-content;
  padding: 16px 36px;
  border-radius: 999px;
  line-height: 140%;
}

.treatment .content h4 {
  margin: 64px auto 32px auto;
}

.treatment .content p {
  line-height: 200%;
  font-size: 17px;
}

.treatment .content p strong {
  font-weight: 600;
  background-color: rgba(0, 155, 144, 0.206);
  padding-top: 0.2em;
  padding-bottom: 0.2em;
  box-decoration-break: clone;
}

.treatment .content td {
  border: 1px solid rgba(0, 0, 0, 0.3);
  vertical-align: middle;
}

/*---------------------
診療時間2026〜
-----------------------*/
.schedule-table {
  margin: auto;
  border-collapse: separate;
  border-spacing: 4px;
  text-align: center;
}

.schedule-table thead th {
  font-weight: normal;
  font-size: 16px;
  color: #72828a;
  padding-bottom: 5px;
}

.schedule-table thead .cell-empty {
  background-color: transparent;
}

.schedule-table tbody th,
.schedule-table tbody td {
  background-color: #eff3f5;
  padding: 12px 30px;
  font-size: 22px;
  font-weight: bold;
}

.schedule-table tbody .label-cell {
  font-weight: normal;
  font-size: 18px;
  padding: 12px 20px;
  border-radius: 25px 0 0 25px;
  font-weight: bold;
}

.schedule-table tbody td:last-child {
  border-radius: 0 25px 25px 0;
}

.schedule-table .holiday-row th,
.schedule-table .holiday-row td {
  background-color: #fcedea;
  color: #ea7f68;
}

footer {
  .schedule-table {
    margin: auto;
    border-collapse: separate;
    border-spacing: 4px;
    text-align: center;
    width: 100%;
    max-width: 480px;
  }

  .schedule-table thead th {
    font-weight: normal;
    font-size: 15px;
    color: #fff;
    padding-bottom: 5px;
  }

  .schedule-table thead .cell-empty {
    background-color: transparent;
  }

  .schedule-table tbody th,
  .schedule-table tbody td {
    background-color: #eff3f5;
    padding: 6px 4px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    color: #333;
    letter-spacing: 0;
  }

  .schedule-table tbody .label-cell {
    font-weight: normal;
    font-size: 16px;
    padding: 6px;
    border-radius: 90px 0 0 90px;
    font-weight: bold;
  }

  .schedule-table tbody td:last-child {
    border-radius: 0 90px 90px 0;
  }

  .schedule-table .holiday-row th,
  .schedule-table .holiday-row td {
    background-color: #fcedea;
    color: #ea7f68;
  }
}