@charset "utf-8";

/* -------------
  - *メインビジュアル
  - *バナー
  - *クレジットカードロゴ
  - *contents
  - *box、inner
  - *タイトル
  - *画像寄せ
  - *アンカーリンク
  - *list
  - *layout
  - *table
  - *設備紹介
  - *qa
  - *accordion
  - *ぱんくず
  - *お知らせページ
  - *医師紹介ページ
  - *医院案内ページ
  - *お悩み・症状から探すページ
  - *404ページ
------------- */

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

  *メインビジュアル

============================================================================*/
.mainvisual {
  height: 400px;
  position: relative;
  overflow: hidden;
}

.mainvisual_img {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.mainvisual_img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.mainvisual .inner {
  height: 100%;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  padding-top: 200px;
  text-align: center;
  position: relative;
}

.mainvisual_tit {
  color: #fff;
  font-size: 30px;
  font-family: "zen-maru-gothic", sans-serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: .1em;
  line-height: 1.4;
  text-shadow: 0 0 6px rgba(51 51 51 / 0.5), 0 0 10px rgba(51 51 51 / 0.5);
}

@media screen and (max-width: 640px) {
  .mainvisual {
    height: 200px;
  }

  .mainvisual .inner {
    padding-top: 55px
  }

  .mainvisual_tit {
    font-size: 24px;
  }
}

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

  *バナー

============================================================================*/
.bnr:not(:last-child) {
  margin-bottom: 40px;
}

@media (hover: hover) {
  .bnr a:hover {
    opacity: .8;
  }
}

@media print, screen and (min-width: 641px) {
  .bnr {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 4%;
  }

  .bnr > * {
    width: 48%;
  }
}

@media screen and (max-width: 640px) {
  .bnr {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .bnr > * {
    text-align: center;
  }

  .bnr > *:not(:last-child) {
    margin-bottom: 15px;
  }
}

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

  *クレジットカードロゴ

============================================================================*/
.card_list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.card_list li {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.card_list li img {
  width: auto;
  max-height: 60px;
}

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

  *contents

==================================================================*/
main {
  background: url(../images/bg.jpg) left top/10px auto;
}

.contents {
  position: relative;
  max-width: 1200px;
  margin-inline: auto;
  padding-top: 20px;
  padding-bottom: 80px;
}

.contents.contents-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.contents_left {
  width: 840px;
}

.contents_right {
  width: 280px;
}

@media screen and (max-width: 640px) {
  .contents {
    padding-inline: 5%;
  }

  .contents.contents-row {
    display: block;
  }

  .contents_left {
    width: auto;
  }

  .contents_right {
    width: auto;
    padding-inline: 5%;
  }
}

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

  *box、inner

==================================================================*/
.text p {
  margin-bottom: 1em;
}
.text p:last-child {
  margin-bottom: 0;
}

.box:not(:last-child) {
  margin-bottom: 80px;
}

.box2:not(:last-child) {
  margin-bottom: 50px;
}

.inner {
  max-width: 1200px;
  margin-inline: auto;
}

@media screen and (max-width: 640px) {
  .inner {
    max-width: none;
    padding-inline: 5%;
    margin-inline: 0;
  }
}

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

  *タイトル

==================================================================*/
.tit01,
.tit02,
.tit04 {
  font-family: "zen-maru-gothic", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.tit03,
.tit05 {
  font-family: "hiragino-kaku-gothic-pron", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.tit01 {
  color: #fff;
  font-size: 150%;
  letter-spacing: .1em;
  line-height: 1.5;
  text-align: center;
  background-image: url(../images/tit01_circle.png), url(../images/tit01_circle.png);
  background-repeat: no-repeat;
  background-position: left 16px center, right 16px center;
  background-size: 10px auto, 10px auto, 10px auto, 10px auto;
  background-color: #6bb4c1;
  clip-path: polygon(24px 0, calc(100% - 24px) 0, 100% 50%, calc(100% - 24px) 100%, 24px 100%, 0 50%);
  padding: 15px 40px;
  margin-bottom: 30px;
}
@media screen and (max-width: 640px) {
  .tit01 {
    background-position: left 12px center, right 12px center;
    padding-inline: 30px;
  }
}

.tit02 {
  color: #f5f1a4;
  font-size: 138%;
  letter-spacing: .1em;
  line-height: 1.5;
  background: var(--sub-color);
  padding: 8px 25px;
  border-radius: 40px;
  margin-bottom: 25px;
}

.tit03 {
  font-size: 138%;
  letter-spacing: .1em;
  line-height: 1.5;
  background: url(../images/tit03.png) left bottom/auto 16px repeat-x;
  padding-left: .5em;
  padding-bottom: 4px;
  margin-bottom: 20px;
}

.tit04 {
  font-size: 125%;
  letter-spacing: .1em;
  line-height: 1.5;
  padding-left: 1em;
  background: url(../images/tit04.png) left top/auto calc(1.5em + 10px) no-repeat;
  padding-block: 5px;
  margin-bottom: 15px;
}

.tit05 {
  color: #0d794d;
  font-size: 113%;
  letter-spacing: .1em;
  line-height: 1.5;
  margin-bottom: 15px;
}

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

  *画像寄せ

==================================================================*/
.img_fl,
.img_fr {
  max-width: 300px;
  display: block;
  text-align: center;
  margin-bottom: 1em;
  position: relative;
}
.img_fl {
  float: left;
  margin-right: 30px;
}
.img_fr {
  float: right;
  margin-left: 30px;
}

@media screen and (max-width: 640px) {
  .img_fl,
  .img_fr {
    float: none;
    max-width: none;
    margin: 0 0 1em 0;
  }
}

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

  *アンカーリンク

==================================================================*/
/* 共通CSS */
[class^="ank0"] {
  display: flex;
  flex-wrap: wrap;
}
[class^="ank0"] li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 10px 20px 20px;
  background: #e1ac67;
  font-family: "zen-maru-gothic", sans-serif;
  font-weight: 500;
  font-style: normal;
  line-height: 1.7;
  color: #fff;
  text-align: center;
  border-radius: 40px;
  position: relative;
}
[class^="ank0"] li a::after {
  display: block;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f107";
  line-height: 1;
  letter-spacing: 0;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  margin: auto;
}

/* 2列 */
.ank02 {
  gap: 10px 2%;
}
.ank02 li {
  width: 49%;
}

/* 3列 */
.ank03 {
  gap: 10px 2%;
}
.ank03 li {
  width: 32%;
}

/* 4列 */
.ank04 {
  gap: 10px 1%;
}
.ank04 li {
  width: 24%;
}

@media (hover: hover) {
  [class^="ank0"] li a:hover {
    background-color: var(--main-color);
  }
}

@media screen and (max-width: 640px) {
  .ank02,
  .ank03,
  .ank04 {
    flex-flow: column;
  }
  .ank02 li,
  .ank03 li,
  .ank04 li {
    width: 100%;
  }
}

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

  *list

==================================================================*/
.list01:not(:last-child),
.list02:not(:last-child),
.list03:not(:last-child),
.list04:not(:last-child),
.list05:not(:last-child),
.list06:not(:last-child),
.list07:not(:last-child),
.list08:not(:last-child),
.list08-box:not(:last-child),
.list09:not(:last-child),
.list10:not(:last-child),
.list11:not(:last-child),
.list12:not(:last-child),
.list13:not(:last-child),
.list14:not(:last-child) {
  margin-bottom: 1em;
}

/* 余白のみ */
.list01 li:not(:last-child) {
  margin-bottom: 5px;
}

/* 下線 */
.list02 li {
  padding-bottom: 5px;
  border-bottom: 1px dotted var(--border-color);
}
.list02 li:not(:last-child) {
  margin-bottom: 5px;
}

/* まる */
.list03 li {
  position: relative;
  padding-left: 15px;
  line-height: 2;
}
.list03 li:not(:last-child) {
  margin-bottom: 10px;
}
.list03 li::before {
  display: block;
  position: absolute;
  top: calc((2em - 5px) / 2);
  left: 0;
  width: 5px;
  height: 5px;
  background-color: var(--main-color);
  border-radius: 50%;
  content: '';
}

/* 矢印 */
.list04 li {
  position: relative;
  padding-left: 16px;
  line-height: 2;
}
.list04 li:not(:last-child) {
  margin-bottom: 10px;
}
.list04 li::before {
  display: block;
  content: "";
  width: 6px;
  height: 10px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: var(--main-color);
  position: absolute;
  top: calc((2em - 10px) / 2);
  left: 0;
}

/* 矢印2 */
.list05 li {
  position: relative;
  padding-left: 16px;
  line-height: 2;
}
.list05 li:not(:last-child) {
  margin-bottom: 10px;
}
.list05 li:before {
  content: "";
  height: 6px;
  width: 6px;
  transform: rotate(45deg);
  background-color: transparent;
  border-width: 1px 1px 0 0;
  border-color: var(--main-color);
  border-style: solid;
  position: absolute;
  top: calc((2em - 8px) / 2);
  left: 0;
}

/* まる & 背景 */
.list06 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
  padding: 30px;
  background-color:var(--bg-color);
}
.list06 li {
  position: relative;
  padding-left: 15px;
  line-height: 2;
}
.list06 li::before {
  display: block;
  position: absolute;
  top: calc((2em - 5px) / 2);
  left: 0;
  width: 5px;
  height: 5px;
  background-color: var(--main-color);
  border-radius: 50%;
  content: '';
}

/* まる & 枠 */
.list07 {
  border: 3px solid var(--border-color);
  padding: 30px;
}
.list07 li {
  position: relative;
  padding-left: 15px;
  line-height: 2;
}
.list07 li:not(:last-child) {
  margin-bottom: 10px;
}
.list07 li::before {
  display: block;
  position: absolute;
  top: calc((2em - 5px) / 2);
  left: 0;
  width: 5px;
  height: 5px;
  background-color: var(--main-color);
  border-radius: 50%;
  content: '';
}

/* チェック */
.list08 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
  padding: 30px;
  background-color:var(--bg-color);
}
.list08 li {
  position: relative;
  margin-left: 28px;
  border-bottom: 1px dotted var(--border-color);
}
.list08 li:before {
  display: block;
  font-family: "Font Awesome 6 Free";
  font-size: 18px;
  font-weight: 900;
  content: "\f00c";
  color: var(--main-color);
  letter-spacing: 0;
  position: absolute;
  top: -2px;
  left: -28px;
}

/* チェック装飾囲み */
.list08-box {
  position: relative;
  padding: 30px;
  background: var(--sub-color);
}
.list08-box .list08 {
  background-color: #fff;
}
.list08-box::before {
  position: absolute;
  width: 65px;
  height: 50px;
  top: -5px;
  left: -5px;
  margin: auto;
  clip-path: polygon(0 0, 0 85%, 100% 0);
  background-color: var(--main-color);
  z-index: 0;
  content: "";
}
.list08-box::after {
  position: absolute;
  width: 65px;
  height: 50px;
  bottom: -5px;
  right: -5px;
  margin: auto;
  clip-path: polygon(0 100%, 100% 100%, 100% 15%);
  background-color: var(--main-color);
  z-index: 0;
  content: "";
}

/* 点線 & 横並び */
.list09 {
  padding: 30px;
  background-color: var(--bg-color);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.list09 li {
  border-bottom: 1px dotted var(--border-color);
}

/* 線で囲む & 横並び */
.list10 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 5px;
}
.list10 li {
  padding: 3px 8px;
  border: 1px solid var(--border-color);
}

/* 数字＋背景色 */
.list11 {
  padding: 25px;
  background: var(--bg-color);
  counter-reset: section;
}
.list11 > li {
  padding-left: calc(1.6em + 5px);
  padding-bottom: 8px;
  border-bottom: var(--border-color) 1px dashed;
  position: relative;
}
.list11 > li:not(:last-child) {
  margin-bottom: 10px;
}
.list11 > li::before {
  counter-increment: section;
  content: counter(section);
  font-size: 106%;
  font-weight: bold;
  letter-spacing: 0;
  color: var(--main-color);
  position: absolute;
  left: 5px;
  top: 0;
}

/* ●の数字＋背景色 */
.list12 {
  padding: 25px;
  background: var(--bg-color);
  counter-reset: section;
}
.list12 > li {
  padding-left: calc(1.6em + 15px);
  padding-bottom: 8px;
  border-bottom: var(--border-color) 1px dashed;
  position: relative;
}
.list12 > li:not(:last-child) {
  margin-bottom: 10px;
}
.list12 > li::before {
  display: flex;
  flex-flow: column;
  justify-content: center;
  counter-increment: section;
  content: counter(section);
  width: 1.6em;
  height: 1.6em;
  font-size: 106%;
  font-weight: bold;
  color: #fff;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  background-color: var(--main-color);
  border-radius: 50%;
  position: absolute;
  left: 5px;
  top: 0;
}

/* 数字の右側に）＋背景色 */
.list13 {
  padding: 25px;
  background: var(--bg-color);
  counter-reset: section;
}
.list13 > li {
  padding-left: calc(2.4em + 5px);
  padding-bottom: 8px;
  border-bottom: var(--border-color) 1px dashed;
  position: relative;
}
.list13 > li:not(:last-child) {
  margin-bottom: 10px;
}
.list13 > li::before {
  counter-increment: section;
  content: counter(section) " )";
  font-size: 106%;
  font-weight: bold;
  letter-spacing: 0;
  color: var(--main-color);
  position: absolute;
  left: 5px;
  top: 0;
}

/* 米印 */
.list14 > * {
  color: #888;
  font-size: 95%;
  padding-left: 1em;
  text-indent: -1em;
}
.list14 > *:not(:last-child) {
  margin-bottom: 5px;
}
.list14 > *::before {
  content: "※";
}

@media screen and (max-width: 640px) {
  .list06,
  .list07,
  .list08,
  .list08-box,
  .list09,
  .list11,
  .list12,
  .list13 {
    padding: 20px;
  }
}

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

  *layout

==================================================================*/
/* --------------layout共通タイトル-------------- */
.layout_tit {
  font-size: 125%;
  font-family: "zen-maru-gothic", sans-serif;
  font-weight: 700;
  font-style: normal;
  line-height: 1.7;
}
.layout_tit:not(:last-child) {
  margin-bottom: 15px;
}
.layout_tit em,
.layout_tit span {
  margin-right: 10px;
  color: var(--main-color);
  font-family: "futura-pt", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 150%;
  line-height: 1;
}

/* layout小タイトル */
.layout_tit_02 {
  color: #db9943;
  font-size: 113%;
  font-family: "hiragino-kaku-gothic-pron", sans-serif;
  font-weight: 600;
  font-style: normal;
  line-height: 1.7;
}
.layout_tit_02:not(:last-child) {
  margin-bottom: 15px;
}
.layout_tit_02:not(:first-child) {
  margin-top: 20px;
}

.layout01:not(:last-child),
.layout02:not(:last-child),
.layout03:not(:last-child),
.layout04:not(:last-child),
.layout05:not(:last-child),
.layout06:not(:last-child),
.layout07:not(:last-child),
.layout08:not(:last-child),
.layout09:not(:last-child),
.layout10:not(:last-child),
.layout11:not(:last-child),
.layout12:not(:last-child),
.layout13:not(:last-child) {
  margin-bottom: 1em;
}

/* 左にタイトル、右に文章 */
.layout01 {
  position: relative;
}
.layout01::before {
  position: absolute;
  top: -3px;
  left: 0;
  width: 100%;
  border-top: 1px solid var(--border-color);
  content: "";
}
.layout01 .layout01_box {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin: 5px 0;
}
.layout01 .layout01_box::after {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  border-top: 1px solid var(--border-color);
  content: "";
}
.layout01 .layout01_title {
  width: 30%;
  background-color: var(--bg-color);
  text-align: center;
  display: flex;
  flex-flow: column;
  justify-content: center;
  padding: 20px;
}
.layout01 .layout01_title.layout_tit,
.layout01 .layout01_title .layout_tit {
  margin-bottom: 0;
}
.layout01 .layout01_title.layout_tit em,
.layout01 .layout01_title .layout_tit em {
  display: block;
  margin-right: 0;
}
.layout01 .layout01_text {
  width: 70%;
  padding: 20px;
  background: #fff;
}

/* 2列 */
.layout02 {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 2%;
}
.layout02 .layout02_box {
  width: 49%;
  padding: 30px;
  background-color: var(--bg-color);
}

/* 画像が左、右にタイトル、タイトル下に文章 */
.layout03 .layout03_box {
  display: flex;
  background-color: var(--bg-color);
  padding: 2%;
}
.layout03 .layout03_box:not(:last-child) {
  margin-bottom: 20px;
}
.layout03 .layout03_title {
  width: 27%;
  padding: 2%;
  background-color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
}
.layout03 .layout03_text {
  flex: 1;
}
.layout03_box:has(.layout03_title) .layout03_text {
  padding: 1% 3%;
}

/* 画像が左、右にタイトル、タイトル下に文章、タイトルと文章のエリアは背景色が別の色 */
.layout04 .layout04_box {
  display: flex;
  background-color: var(--bg-color);
  padding: 2%;
}
.layout04 .layout04_box:not(:last-child) {
  margin-bottom: 20px;
}
.layout04 .layout04_title {
  width: 27%;
  padding-right: 2%;
  display: flex;
  align-items: center;
}
.layout04 .layout04_text {
  width: 73%;
  padding: 3%;
  background-color: #fff;
}

/* 3列に区切られたレイアウト。画像が左、画像の下にタイトル、右に文章 */
.layout05 .layout05_box {
  display: flex;
  background-color: var(--bg-color);
  padding: 2%;
}
.layout05 .layout05_box:not(:last-child) {
  margin-bottom: 20px;
}
.layout05 .layout05_title {
  padding: 2%;
  width: 25%;
  background-color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
}
.layout05 .layout05_title img {
  padding-bottom: 10px;
  display: block;
}
.layout05 .layout05_text {
  padding: 1% 3%;
  width: 40%;
}
.layout05 .layout05_text:last-child {
  border-left: 1px solid var(--border-color);
}

/* 3列に区切られたレイアウト。左がタイトル、真ん中と右に文章 */
.layout06 .layout06_box {
  display: flex;
  position: relative;
}
.layout06 .layout06_box:not(:last-child) {
  padding-bottom: 5px;
}
.layout06 .layout06_box::before,
.layout06 .layout06_box:last-child::after {
  position: absolute;
  left: 0;
  width: 100%;
  border-top: 1px solid var(--border-color);
  content: "";
}
.layout06 .layout06_box::before {
  top: -3px;
}
.layout06 .layout06_box:last-child::after {
  bottom: -3px;
}
.layout06 .layout06_title {
  width: 30%;
  background-color: var(--bg-color);
  text-align: center;
  display: flex;
  flex-flow: column;
  justify-content: center;
  padding: 20px;
}
.layout06 .layout06_title.layout_tit,
.layout06 .layout06_title .layout_tit {
  margin-bottom: 0;
}
.layout06 .layout06_title.layout_tit em,
.layout06 .layout06_title .layout_tit em {
  display: block;
  margin-right: 0;
}
.layout06 .layout06_text {
  width: 35%;
  padding: 2% 3%;
  background: #fff;
}
.layout06 .layout06_text:last-child {
  border-left: 1px solid var(--border-color);
}

/* 3列 */
.layout07 {
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 20px 2%;
}
.layout07 .layout07_box {
  width: 32%;
  padding: 3%;
  background-color: var(--bg-color);
}
.layout07 .layout07_box .layout07_title {
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--border-color);
  margin-bottom: 15px;
}

/* 下矢印付き */
.layout08 .layout08_box {
  position: relative;
  padding: 3%;
  background-color: var(--bg-color);
}
.layout08 .layout08_box:not(:last-child) {
  margin-bottom: 25px;
}
.layout08 .layout08_box:not(:last-child)::before {
  position: absolute;
  right: 0px;
  left: 0;
  height: 7px;
  width: 7px;
  transform: rotate(135deg);
  background-color: transparent;
  border-top: 2px solid var(--main-color);
  border-right: 2px solid var(--main-color);
  content: "";
  bottom: -16px;
  margin: auto;
}
.layout08 .layout08_box .layout08_title {
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--border-color);
  margin-bottom: 15px;
}

/* 画像が左、画像の下にタイトル、右に文章 */
.layout09 .layout09_box {
  display: flex;
  background: var(--bg-color);
  padding: 2%;
}
.layout09 .layout09_box:not(:last-child) {
  margin-bottom: 20px;
}
.layout09 .layout09_title {
  padding: 2%;
  width: 27%;
  background-color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
}
.layout09 .layout09_title img {
  padding-bottom: 10px;
  display: block;
}
.layout09 .layout09_text {
  padding: 1% 3%;
  width: 73%;
}

/* 流れ */
.layout10 .flow_box {
  position: relative;
  display: flex;
  padding: 30px;
  background: var(--bg-color);
}
.layout10 .flow_box:nth-child(even) {
  background: #f2f0d8;
}
.layout10 .flow_box::before {
  content: "";
  width: 4px;
  height: calc(100% - 4px);
  border-right: var(--sub-color) dotted 4px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 58px;
  margin: auto;
}
.layout10 .flow_box:first-child::before {
  top: 30px;
  bottom: auto;
  height: calc(100% - 32px);
}
.layout10 .flow_box:last-child::before {
  top: 2px;
  bottom: auto;
  height: 58px;
}
.layout10 .flow_box .number {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  margin-bottom: 0;
  margin-right: 4%;
  background: var(--main-color);
  border-radius: 50%;
  line-height: 1;
  color: #fff;
  font-size: 28px;
  font-family: "futura-pt", sans-serif;
  font-weight: 600;
  font-style: normal;
}
.layout10 .flow_box .layout10_box {
  width: 100%;
}

/* 症例 */
.layout11 {
  position: relative;
}
.layout11_box {
  padding: 8px;
  background: var(--bg-color);
}
[class^="layout11_image"] img {
  width: 100%;
}
[class^="layout11_text"] {
  margin-top: 8px;
}
[class^="layout11_text"] dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
[class^="layout11_text"] dl dt,
[class^="layout11_text"] dl dd,
[class^="layout11_text"] .desc {
  border: 1px solid var(--main-color);
}
[class^="layout11_text"] dl dt,
[class^="layout11_text"] dl dd {
  margin-bottom: 2px;
  padding: 12px;
}
[class^="layout11_text"] dl dt {
  background: var(--main-color);
  color: #fff;
  font-weight: bold;
  text-align: center;
  width: 20%;
}
[class^="layout11_text"] dl dd {
  background: #fff;
  width: 80%;
}
[class^="layout11_text"] .desc {
  background: #fff;
  padding: 16px;
}

/* 症例 ver.2 */
.layout11_image02 {
  display: flex;
  justify-content: space-between;
}
.layout11_image02 span {
  position: relative;
  display: block;
  width: 47%;
}
.layout11_image02 span:last-child::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -32px;
  margin: auto;
  display: flex;
  align-items: center;
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 24px;
  color: var(--main-color);
  line-height: 1;
}
.layout11_text02 dl dt {
  margin-left: 2px;
  width: 15%;
}
.layout11_text02 dl dt:nth-of-type(odd) {
  margin-left: 0;
}
.layout11_text02 dl dd {
  width: calc(35% - 1px);
}

/* 注意書き */
.layout12 {
  background: var(--bg-color);
  display: block;
  position: relative;
  padding: 25px;
}
.layout12 .layout12_mark {
  width: 55px;
  height: 55px;
  background: var(--main-color);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
  position: absolute;
  top: -15px;
  left: -5px;
  border-radius: 50%;
  font-size: 25px;
  font-weight: 600;
  color: #fff;
  z-index: 2;
}
.layout12 .layout12_mark::before {
  position: absolute;
  width: 15px;
  height: 20px;
  bottom: -3px;
  right: -3px;
  margin: auto;
  clip-path: polygon(100% 85%, 40% 0, 0 53%);
  background-color: var(--main-color);
  z-index: 1;
  content: "";
}
.layout12 .layout_tit {
  padding-left: 40px;
}

.layout13 {
  background: #f2f0d8;
  padding: 20px;
}

@media screen and (max-width: 640px) {
  /* 左にタイトル、右に文章 */
  .layout01 .layout01_box {
    display: block;
  }

  .layout01 .layout01_title {
    display: block;
    width: 100%;
    padding-block: 15px;
  }

  .layout01 .layout01_text {
    width: 100%;
  }

  /* 2列 */
  .layout02 {
    display: block;
  }

  .layout02 .layout02_box {
    width: 100%;
    padding: 20px;
  }

  .layout02 .layout02_box:not(:last-child) {
    margin-bottom: 20px;
  }

  .layout02 .layout02_box img {
    width: 70%;
    margin: 0 auto;
    display: block;
  }

  /* 画像が左、右にタイトル、タイトル下に文章 */
  .layout03 .layout03_box {
    display: block;
    padding: 6%;
  }

  .layout03 .layout03_title {
    width: 100%;
    margin-bottom: 20px;
  }

  .layout03 .layout03_title img {
    width: 70%;
    margin: 0 auto;
    display: block;
  }

  .layout03 .layout03_text {
    width: 100%;
    padding: 0!important;
  }


  /* 画像が左、右にタイトル、タイトル下に文章、タイトルと文章のエリアは背景色が別の色 */
  .layout04 .layout04_box {
    display: block;
  }

  .layout04 .layout04_title {
    width: 100%;
    padding: 2%;
  }

  .layout04 .layout04_title img {
    width: 70%;
    margin: 0 auto;
    display: block;
  }

  .layout04 .layout04_text {
    width: 100%;
  }


  /* 3列に区切られたレイアウト。画像が左、画像の下にタイトル、右に文章 */
  .layout05 .layout05_box {
    display: block;
    padding-bottom: 20px;
  }

  .layout05 .layout05_title {
    width: 100%;
    display: block;
  }

  .layout05 .layout05_title img {
    width: 70%;
    margin: 0 auto;
    display: block;
  }

  .layout05 .layout05_text {
    width: 100%;
    padding-bottom: 0;
    padding-top: 0;
    margin-top: 20px;
  }

  .layout05 .layout05_text:last-child {
    border-left: none;
  }

  /* 3列に区切られたレイアウト。左がタイトル、真ん中と右に文章 */
  .layout06 .layout06_box {
    display: block;
  }

  .layout06 .layout06_title {
    display: block;
    width: 100%;
  }

  .layout06 .layout06_title img {
    width: 70%;
    margin: 0 auto;
    display: block;
  }

  .layout06 .layout06_text {
    width: 100%;
    padding-bottom: 0;
    padding-top: 20px;
  }

  .layout06 .layout06_text:last-child {
    border: none;
    padding-bottom: 20px;
  }

  /* 3列 */
  .layout07 {
    display: block;
  }

  .layout07 .layout07_box {
    width: 100%;
    padding: 20px;
  }

  .layout07 .layout07_box:not(:last-child) {
    margin-bottom: 20px;
  }

  /* 下矢印付き */
  .layout08 .layout08_box {
    padding: 20px;
  }

  /* 画像が左、画像の下にタイトル、右に文章 */
  .layout09 .layout09_box {
    display: block;
    padding-bottom: 20px;
  }

  .layout09 .layout09_title {
    width: 100%;
    display: block;
  }

  .layout09 .layout09_title img {
    width: 70%;
    margin: 0 auto;
    display: block;
  }

  .layout09 .layout09_text {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 20px;
  }

  /* 流れ */
  .layout10 .flow_box {
    padding: 20px;
  }

  .layout10 .flow_box::before {
    display: none;
  }

  .layout10 .flow_box .number {
    width: 42px;
    height: 42px;
    margin-right: 20px;
    font-size: 20px;
  }

  /* 症例 */
  [class^="layout11_text"] dl dt,
  [class^="layout11_text"] dl dd {
    margin-left: 0;
    width: 100%;
  }

  [class^="layout11_text"] dl dt {
    margin-bottom: 0;
  }

  [class^="layout11_text"] dl dd {
    margin-bottom: 10px;
  }

  .layout11_image02 {
    flex-wrap: wrap;
  }

  .layout11_image02 span {
    width: 100%;
  }

  .layout11_image02 span:last-child {
    margin-top: 40px;
  }

  .layout11_image02 span:last-child::before {
    top: -32px;
    bottom: auto;
    left: 0;
    right: 0;
    justify-content: center;
    content: "\f078";
  }
}

/* 画像横並び */
.flex_img {
  display:flex;
  gap: 10px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 50px;
}
.flex_img img {
  width: calc((100% - 10px) / 2);
}
.flex_img01 {
    align-items: center;
    gap: 30px;
}
.flex_img01 img {
width: 100%;
}
.flex_img01 h3 {
    margin-bottom: 15px;
    font-size: 180%;
    font-family: "zen-maru-gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
    line-height: 1.7;
  }
.flex_img01 p {
    background: var(--bg-color);
    padding: 15px 25px;
}

@media screen and (max-width: 640px) {
.flex_img01 {
    flex-direction: column-reverse;
    gap: 15px;
}
.flex_img01_img {
    max-width: 350px;
    width: 100%;
}
}
/*==================================================================

  *table

==================================================================*/
.tb01:not(:last-child),
.tb02:not(:last-child) {
  margin-bottom: 1em;
}

/* tb01 */
.tb01 {
  width: 100%;
}
.tb01 th,
.tb01 td {
  border-bottom: 1px solid var(--border-color);
  padding: 5px 0;
}
.tb01 th:not(:first-child),
.tb01 td:not(:first-child) {
  padding-left: 1em;
}
.tb01 th {
  font-weight: bold;
  width: 26%;
}

/* tb02 */
.tb02 {
  width: 100%;
}
.tb02 td,
.tb02 th {
  padding: 10px;
  border: 1px solid var(--border-color);
}
.tb02 th {
  font-weight: bold;
  background-color: var(--bg-color);
}
.tb02 th span {
  font-size: 13px;
}
.tb02 td {
  background-color: #ffffff;
  text-align: center;
}

@media screen and (max-width: 640px) {
  /* tb02 縦積み */
  .tb02.ver th,
  .tb02.ver td {
    display: block;
    width: 100%;
    border-top: none;
  }
  .tb02.ver {
    border-top: 1px solid var(--border-color);
  }
.tb02 td{
  width: 35%;
}

  /* 横スクロール */
  .scroll_tb {
    overflow-x: scroll;
  }
  .scroll_tb table {
    width: 816px;
  }
  .scroll_tb table th {
    position: sticky;
    left: 0;
  }
  .scroll_tb table th::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    border: 1px solid var(--border-color);
  }
}

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

  *設備紹介

==================================================================*/
/* 共通CSS */
[class^="facilities_equip"] dl {
  background-color: var(--bg-color);
}
[class^="facilities_equip"] dd {
  padding: 20px;
}
[class^="facilities_equip"] .title {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.6;
}
[class^="facilities_equip"] .title:not(:last-child) {
  margin-bottom: 15px;
}

/* 2列　上部ライン装飾 */
.facilities_equip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px 3%;
}
.facilities_equip dl {
  width: 42%;
  padding: 30px;
  border-top: 4px solid var(--main-color);
}
.facilities_equip dd {
  padding: 0;
}
.facilities_equip_img {
  text-align: center;
  margin-bottom: 15px;
}

/* 3列 */
.facilities_equip2 {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 2%;
}
.facilities_equip2 dl {
  width: 32%;
}

/* 2列 */
.facilities_equip3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px 4%;
}
.facilities_equip3 dl {
  width: 48%;
}

@media screen and (max-width: 640px) {
  /* 2列　上部ライン装飾 */
  .facilities_equip {
    display: block;
  }
  .facilities_equip dl {
    width: 100%;
    padding: 20px;
  }
  .facilities_equip dl:not(:last-child) {
    margin-bottom: 20px;
  }

  /* 3列・2列 */
  .facilities_equip2,
  .facilities_equip3 {
    display: block;
    width: 90%;
    margin-inline: auto;
  }
  .facilities_equip2 dl,
  .facilities_equip3 dl {
    width: 100%;
  }
  .facilities_equip2 dl:not(:last-child),
  .facilities_equip3 dl:not(:last-child) {
    margin-bottom: 20px;
  }
}

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

  *qa

==================================================================*/
.qa > * {
  padding-bottom: 25px;
  border-bottom: 1px dotted var(--border-color);
}
.qa > *:not(:last-child) {
  margin-bottom: 25px;
}
.qa_tit,
.qa_text {
  padding-left: 40px;
  position: relative;
}
.qa_tit:before,
.qa_text:before {
  font-family: "futura-pt", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 28px;
  line-height: 1;
  position: absolute;
  top: 0;
  left: 0;
}
.qa_tit {
  margin-bottom: 15px;
  font-weight: bold;
}
.qa_tit:before {
  color: var(--main-color);
  content: "Q.";
}
.qa_text:before {
  color: var(--sub-color);
  content: "A.";
}

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

  *accordion

==================================================================*/
.accordion_tit {
  background-color: var(--bg-color);
  padding: 15px 50px 15px 20px;
  cursor: pointer;
  position: relative;
  margin-bottom: 15px;
  transition: background-color 0.3s, color 0.2s;
}
.accordion_tit::before,
.accordion_tit::after {
  display: block;
  content: "";
  width: 16px;
  height: 2px;
  background: var(--main-color);
  position: absolute;
  right: 20px;
  top: 50%;
  transition: transform 0.3s, opacity 0.3s;
}
.accordion_tit::before {
  transform: rotate(90deg);
}
@media (hover: hover) {
  .accordion_tit {
    transition: background-color 0.3s;
  }
  .accordion_tit:hover {
    background-color: #b0d9e1;
  }
}
.accordion_tit.open {
  color: #fff;
  background: var(--main-color);
}
.accordion_tit.open::before {
  opacity: 0;
  transform: rotate(180deg);
}
.accordion_tit.open::after {
  background: #fff;
}
.accordion_text {
  display: none;
  padding: 0 20px 30px;
}

/* Q&A */
.accordion.accordion-qa .accordion_tit,
.accordion.accordion-qa .accordion_text {
  padding-left: 55px;
  position: relative;
}
.accordion.accordion-qa .accordion_tit > *:before,
.accordion.accordion-qa .accordion_text:before {
  font-family: "futura-pt", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 175%;
  line-height: 1;
  position: absolute;
  left: 20px;
}
.accordion.accordion-qa .accordion_tit > *:before {
  color: #e5a798;
  content: "Q.";
  top: 15px;
  transition: color 0.2s;
}
.accordion.accordion-qa .accordion_tit.open > *:before {
  color: #fff;
}
.accordion.accordion-qa .accordion_text:before {
  color: var(--sub-color);
  content: "A.";
  top: 0;
}

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

  *ぱんくず

==================================================================*/
.breadcrumb {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0 5px;
  position: relative;
  margin-bottom: 30px;
  font-size: 14px;
}
.breadcrumb i {
  margin-right: 5px;
}
.breadcrumb li:after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0;
  content: "\f054";
  padding-left: 5px;
  padding-right: 5px;
}
.breadcrumb li:last-child:after {
  content: "";
}

@media (hover: hover) {
  .breadcrumb a:hover {
    text-decoration: underline;
  }
}

@media screen and (max-width: 640px) {
  .breadcrumb {
    margin-bottom: 40px;
  }
}

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

  *お知らせページ

==================================================================*/
.news_text p {
  margin-bottom: 1em;
}
.news_text p:last-child {
  margin-bottom: 0;
}
.news_text .news_text_list > dt {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8;
  margin-bottom: 10px;
}
.news_text .news_text_list > dd {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}
.news_text .news_text_list > dd:not(:last-of-type) {
  margin-bottom: 30px;
}
.news_text .news_text_desc {
  margin-bottom: 20px;
}
.news_text .news_text_date {
  color: var(--sub-color);
  margin-right: 15px;
}
.news_text .news_text_desc em {
  display: inline-block;
  min-width: 75px;
  padding-inline: 10px;
  font-style: normal;
  text-align: center;
}

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

  *医師紹介ページ

==================================================================*/
.doctor_text p:not(:last-child) {
  margin-bottom: 1.2em;
}
.doctor_img:not(:last-child) {
  margin-bottom: 15px;
}
.doctor_name_clinic,
.doctor_name {
  font-family: "hiragino-kaku-gothic-pron", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 17px;
  line-height: 1.6;
  color: var(--main-color);
  margin-bottom: 0!important;
}
.doctor_text .doctor_name_clinic,
.doctor_text .doctor_name {
  text-align: right;
}
.doctor_name span {
  font-size: 129%;
}

/* 写真有り */
.doctor_flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}
.doctor_flex .doctor_imgArea {
  width: 28%;
}
.doctor_flex .doctor_text {
  width: 70%;
}

.doctor_carr {
  display: flex;
  flex-wrap: wrap;
  gap: 50px 4%;
}
.doctor_carr:not(:first-child) {
  margin-top: 50px;
}
.doctor_carr_sec {
  width: 48%;
  padding: 30px;
  background-color: var(--bg-color);
}
.doctor_carr_sec table {
  width: 100%;
}

@media screen and (max-width: 640px) {
  .doctor_flex {
    display: block;
  }
  .doctor_flex .doctor_imgArea,
  .doctor_flex .doctor_text {
    width: 100%;
  }
  .doctor_imgArea {
    text-align: center;
    margin-bottom: 20px;
  }
  .doctor_img img {
    width: 60%;
  }

  .doctor_carr {
    display: block;
  }
  .doctor_carr_sec {
    width: 100%;
    padding: 30px 20px;
  }
  .doctor_carr_sec:not(:last-child) {
    margin-bottom: 30px;
  }
}

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

  *医院案内ページ

==================================================================*/
[class^="clinic_slider"]:not(.clinic_slider_flex) {
  max-width: 80%;
  margin: auto;
}

/* 院内スライド 共通 */
.clinic_slider_flex .slide-item {
  position: relative;
}
.clinic_slider_flex .slide-item img {
  width: 100%;
}
.clinic_slider_flex .slide_text {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgb(255 255 255 / 0.8);
  padding: 10px;
  font-weight: bold;
}
.clinic_slider_flex .slick-dots {
  display: flex;
  flex-wrap: wrap;
}
.clinic_slider_flex .slick-dots li {
  position: relative;
  transition: opacity .3s;
  cursor: pointer;
}
.clinic_slider_flex .slick-dots li:hover {
  opacity: 0.8;
}
.clinic_slider_flex .slick-dots li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 0.4);
  transition: .3s opacity linear;
}
.clinic_slider_flex .slick-dots li.slick-active::before {
  opacity: 0;
}
.clinic_slider_flex .slick-dots li img {
  width: 100%;
}

/* 院内画像 */
.frame_border{
  margin-bottom: 20px;
  padding: 25px 30px;
  border: 6px solid rgb(153 204 160 / 60%);
  background: rgba(255,255,255,0.3);
}
.frame_border h3.tit02{
  background: none;
  border-radius: 0;
  padding-bottom: 15px;
  text-align: center;
  color: var(--sub-color);
  font-size: 145%;
    border-bottom: rgb(153 204 160 / 80%) 2px solid;
}
.frame_border .img_fr{
  max-width: 400px;
}
.frame_border .flex_img{
  width: 100%;
  max-width: 100%;
  gap: 25px;
  margin-bottom: 0;
}
.frame_border .flex_img > *{
  text-align:center;
}
.frame_border .flex_img img {
    width: 100%;
    margin-top: 20px;
}

/* 院内スライド サムネイル下 */
.clinic_slider {
  position: relative;
}
.clinic_slider :focus {
  outline: none;
}
.clinic_slider #slider {
  width: 100%;
}
.clinic_slider .clinic_slider_flex .slick-dots {
  gap: 10px 1%;
}
.clinic_slider .clinic_slider_flex .slick-dots li {
  width: 15.8%;
}
.clinic_slider .caption {
  width: 100%;
  position: absolute;
  left: 0;
}

/* 院内スライド サムネイル横 */
.clinic_slider2 .clinic_slider_flex {
  margin-bottom: 15px;
}

.clinic_slider2 .clinic_slider_flex .slick-slider {
  display: flex!important;
  align-items: flex-start;
  justify-content: space-between;
}

.clinic_slider2 .clinic_slider_flex .slick-list {
  width: 83%;
}
.clinic_slider2 .clinic_slider_flex .slick-dots {
  width: 15%;
  gap: 5px 4%
}
.clinic_slider2 .clinic_slider_flex .slick-dots li {
  width: 48%;
}

/* 医院概要 */
.clinic_sec {
  max-width: 80%;
  margin-inline: auto;
}
.clinic_sec > ul li {
  padding-block: 15px;
  border-bottom: 1px solid var(--border-color);
}
.clinic_sec > ul li:first-child {
  padding-top: 0;
}
.clinic_sec dl {
  display: flex;
  flex-wrap: wrap;
}
.clinic_sec dt {
  width: 25%;
  padding-right: 20px;
  font-weight: bold;
  color: var(--main-color);
}
.clinic_sec dd {
  width: 75%;
}
@media screen and (min-width: 641px){
  .clinic_sec dd{
    display:flex;
    align-items: center;
  }
.clinic_sec dd .btn01{
  margin-left: 20px;
}
}
@media screen and (max-width: 640px){
.clinic_sec dd .btn01{
  margin-top: 10px;
}
}
.clinic_sec dd .btn01 a{
  color: #fff !important;
  font-size: 100%;
  padding-top: 6px;
  padding-bottom: 8px;
}
.clinic_sec dd .btn01 a:after{
  width: 15px;
  height: 15px;
}
.clinic_sec dd a,
.clinic_sec dd a:hover {
  color: inherit;
}

/* 医院概要の診療時間表 */
.clinic_sec .office_hour {
  width: 75%;
  margin-left: auto;
  margin-top: 20px;
}

@media screen and (max-width: 640px) {
  [class^="clinic_slider"]:not(.clinic_slider_flex) {
    max-width: 100%;
  }

/* 院内紹介 */
.frame_border .flex_img{
  flex-direction: column;
  gap: 0;
}

  /* 院内スライド サムネイル下 */
  .clinic_slider .clinic_slider_flex .slick-dots {
    gap: 5px 2.5%;
  }
  .clinic_slider .clinic_slider_flex .slick-dots li {
    width: 18%;
  }

  /* 院内スライド サムネイル横 */
  .clinic_slider2 .clinic_slider_flex .slick-slider {
    display: block !important;
  }
  .clinic_slider2 .clinic_slider_flex .slick-list {
    width: 100%;
  }
  .clinic_slider2 .clinic_slider_flex .slick-dots {
    margin-top: 20px;
    width: 100%;
    gap: 5px 2.5%;
  }
  .clinic_slider2 .clinic_slider_flex .slick-dots li {
    width: 18%;
  }

  /* 医院概要 */
  .clinic_sec {
    max-width: 100%;
  }
  .clinic_sec dl {
    display: block;
  }
  .clinic_sec dt,
  .clinic_sec dd {
    width: 100%;
  }
  .clinic_sec dt {
    padding-right: 0;
    margin-bottom: 5px;
  }

  /* 医院概要の診療時間表 */
  .clinic_sec .office_hour {
    width: 100%;
    margin-left: 0;
  }
}

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

  *お悩み・症状から探すページ

==================================================================*/
.subPage_search .img_fl {
  background: #fff;
  padding: 10px;
}

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

  *404ページ

==================================================================*/
.none_page_p {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  line-height: 1.6;
}

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

  *お問い合わせページ

==================================================================*/
/* .contact {
  width: 100%;
}
.contact th,
.contact td {
  padding: 20px;
  border: 1px solid var(--border-color);
}
.contact th {
  font-weight: bold;
  background-color: var(--bg-color);
}
.contact th .required {
  display: inline-block;
  color: #fff;
  background: #f33;
  font-size: 13px;
  line-height: 1;
  padding: 3px;
  margin-left: 5px;
}
.contact td {
  background-color: #fff;
}
.contact input{
  max-width: 400px;
  width: 100%;
  font-size: 100%;
  padding: 8px 5px;
}
.contact input[type="date"] {
  width: auto;
  padding: 6px 5px 5px;
}
.contact select {
  padding: 9px 5px!important;
}
.contact textarea {
  max-width: 400px;
  width: 100%;
}
.submit_btn{
  margin-top: 40px;
  text-align: center;
}
.submit_btn input {
  cursor: pointer;
  border: none;
  padding: 15px 20px;
  transition: 0.2s ease-in-out;
  max-width: 150px;
  width: 100%;
  font-size: 100%;
  margin: 0 10px 10px;
}
.submit_btn input:hover {
  opacity: 0.8;
}
.submit_btn input[type="reset"] {
  color: #fff;
  background: #888;
}
.submit_btn input[type="submit"] {
  color: #fff;
  background: var(--main-color);
}

@media screen and (max-width: 640px) {
  .contact th,
  .contact td {
    display: block;
    width: 100%;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--main-color);
    padding: 10px 5%;
  }

  .contact tr:last-child td {
    border-bottom: none;
  }

  .contact input[type="date"] {
    display: block;
    margin-bottom: 10px;
  }

  .contact select {
    display: block;
    margin-bottom: 20px;
  }

  .submit_btn input {
    max-width: 110px;
  }
} */
