@charset "utf-8";

/* フォントサイズの基準を16pxに */
html {
  font-size: 10px;
  font-size: 62.5%;
}

/* body */
body {
  width: 100%;
  margin: auto;
  color: #46413c;
  background-color: #fff;
  padding: 0;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "Meiryo", "MS PGothic", "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
  -webkit-text-size-adjust: none;
  line-height: 1.5;
  font-size: 1.6em;
}

/*clearfix*/
.cf:before,
.cf:after {
  content: "";
  display: block;
  overflow: hidden;
}

.cf:after {
  clear: both;
}

.cf {
  zoom: 1;
}

/*style*/
p {
  font-size: 1.6rem;
  text-align: justify;
  text-justify: inter-ideograph;
  line-height: 1.8;
  margin: 0;
}

a {
  text-decoration: underline;
  color: #46413c;
  text-decoration: none;
  transition: color 0.3s ease 0s;
}

a:hover {
  color: #ff8c00;
  text-decoration: none;
  transition: color 0.3s ease 0s;
}

h2,
h3 {
  line-height: 1;
}

.widthfix {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

img {
  width: 100%;
  vertical-align: middle;
}



/* ul */
ul,
ol {
  padding: 0;
}

ol li,
ul li {
  padding: 0;
  list-style: none;
}

/* テーブルに関して */
table {
  font-size: 1.6rem;
  text-align: center;
}

/* thの下線を1pxに */
.table-bordered thead td,
.table-bordered thead th {
  border-bottom-width: 1px;
}

.table thead th {
  vertical-align: bottom;
  border-bottom: 1px solid #dee2e6;
}

/* 共通 */
#main-contents section {
  margin: 0;
}

#main-contents section:last-of-type {
  margin: 0 0 0;
}

#main-contents h2 {
  position: relative;
  padding: .75em 1em .75em 1.2em;
  border: 1px solid #ff8c00;
  font-size: 2.4rem;
  font-weight: bold;
  margin: 3.2em 0 1.8em;
}

#main-contents h2::after {
  position: absolute;
  top: .5em;
  left: .5em;
  content: '';
  width: 6px;
  height: -webkit-calc(100% - 1em);
  height: calc(100% - 1em);
  background-color: #ff8c00;
  border-radius: 3px;
}

#main-contents h3 {
  font-size: 1.8rem;
  padding-bottom: .5em;
  font-weight: bold;
  margin: 3em 0 1.5em;
  border-bottom: 2px solid #ff8c00;
}



/* 定義リスト表組み */
.table-box {
  border: 1px solid #ff8c00;
  margin-bottom: 2em;
}

.table-box dl {
  display: flex;
  border-bottom: 1px solid #ff8c00;
}

.table-box dl:last-of-type {
  border-bottom: none;
}

.table-box dl dt,
.table-box dl dd {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.table-box dl dt {
  width: 35%;
  font-weight: bold;
  background-color: #ffdcaa;
  border-right: 1px solid #ff8c00;
}

.table-box dl dd {
  width: 65%;
}


/* 診療時間 */
.biz-hour {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 10px;
}

@media screen and (max-width: 480px) {
  .biz-hour {
    /* スマホのときだけ親要素いっぱいに */
    width: 100%;
  }
}

.biz-hour th,
.biz-hour td {
  font-size: 2.8rem;
  line-height: 1;
  padding: 8px 6px;
  text-align: center;
  /* 枠線。色を変えたい時は#ff6680というところをお好みで */
  border-bottom: 1px solid #ff8c00;
}


.biz-hour th:last-of-type {
  letter-spacing: -2;
}

.biz-hour td:first-of-type {
  font-size: 1.4rem;
}

.biz-hour th {
  font-size: 1.2rem;
}

.biz-hour .triangle {
  font-size: 1.8rem;
}

.biz-hour .square {
  padding: 2px 6px 8px;
  font-size: 2.4rem;
}

.biz-hour td span {
  font-size: 1.0rem;
  display: inline-block;
  margin-top: 5px;
}

/* 上段。backgroundを書き換えれば背景色が変わります。 */
.biz-hour th {
  color: #fff;
  background-color: #ff8c00;
  font-weight: bold;
}

.biz-text {
  font-size: 1.0rem;
  line-height: 1.5;
  letter-spacing: 0.5;
  margin-top: 5px;
}



h2.contact-title {
  display: flex;
  align-items: center;
  color: #ff8c00;
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 20px;
}


h2.contact-title:before,
h2.contact-title:after {
  content: "";
  height: 2px;
  flex-grow: 1;
  background-color: #ff8c00;
}

h2.contact-title:before {
  margin-right: 1rem;
}

h2.contact-title:after {
  margin-left: 1rem;
}

.tel {
  margin-bottom: 20px;
}

header #header-contents section,
header #header-contents div.center-box {
  width: 320px;
}

footer #footer-contents section,
footer #footer-contents div {
  width: 300px;
}



.left-box .address {
  font-size: 1.4rem;
  line-height: 1;
  margin: 20px 0;
}


#wrap {
  width: 1000px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto 80px;
}

#main-contents {
  width: 700px;
}

#side-bar {
  width: 270px;
}



/* ボタン */

/* オレンジ */
.btn-box {
  width: 300px;
  margin: 40px auto 0;
}

.btn-box .btn {
  width: 100%;
  color: #fff;
  font-weight: bold;
  text-align: center;
  display: inline-block;
  position: relative;
  line-height: 1;
  padding: 17px 0;
  background-color: #ff8c00;
  border-radius: 4px;
  transition: background-color 0.3s ease 0s;
  text-decoration: none !important;
}

.btn-box .btn::before,
.btn-box .btn::after {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}

.btn-box .btn:hover {
  background-color: rgba(255, 140, 0, 0.6);
  transition: background-color 0.3s ease 0s;
}

.btn-box .btn::before {
  content: "";
  width: 18px;
  height: 18px;
  right: 20px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  background: #fff;
}

.btn-box .btn::after {
  content: "";
  right: 21px;
  box-sizing: border-box;
  width: 6px;
  height: 4px;
  border: 4px solid transparent;
  border-left: 6px solid #ff8c00;
  transition: border-left 0.5s ease 0s;
}

.btn-box .btn:hover::after {
  border-left: 6px solid rgba(255, 140, 0, 0.6);
  transition: border-left 0.5s ease 0s;
}

/* LINEボタン */
.line-btn a {
  width: 100%;
  color: #fff;
  font-weight: bold;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  line-height: 1;
  padding: 10px 0;
  background-color: #1bb71f;
  border-radius: 4px;
  transition: background-color 0.3s ease 0s;

}

#side-bar .line-btn a {
  padding: 14px 0;
}


.line-btn a:hover {
  background-color: rgba(27, 183, 31, 0.6);
  transition: background-color 0.3s ease 0s;
}


.line-btn a .icon {
  width: 30px;
  margin-right: 10px;
}

.line-btn a .text {
  font-size: 2.0rem;
}


/* Google Map */

.google-map {
  height: 0;
  overflow: hidden;
  padding-bottom: 75%;
  position: relative;
}

.google-map iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}



/* ヘッダー */
header {
  width: 100%;
}

header #header-contents {
  width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
}

header #header-contents .left-box,
header #header-contents .right-box {
  align-self: center;
}

header #header-contents .left-box .address {
  margin: 20px 0 0;
}

header #header-contents .right-box .pc {
  display: block;
}

header #header-contents .right-box .sp {
  display: none;
}



/* ナビゲーション */
#g-nav {
  width: 100%;
  border-top: 4px solid #d0cfce;
  display: block;
}

#g-nav ul {
  width: 1000px;
  height: 80px;
  margin: -4 auto 0;
  display: flex;
  align-items: center;
}

#g-nav ul li {
  flex-grow: 1;
  text-align: center;
  display: flex;
  height: 80px;
}

#g-nav ul li a {
  font-weight: bold;
  width: 100%;
  font-size: 1.4rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#g-nav ul li a::after {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 4px;
  background: #ff8c00;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}

#g-nav ul li a:hover::after {
  transform: scale(1, 1);
}

#g-nav ul li a.active {
  color: #ff8c00;
}

#g-nav ul li a.active::after {
  transform: scale(1, 1);
}


/* ハンバーガーメニュー */
#drawer .drawer-hamburger {
  display: none;
}

#drawer .drawer-hamburger {
  width: 30px;
  background-color: #ff8c00;
  border-radius: 4px;
  top: 20px;
  right: 20px;
  padding: 27px 15px 28px;
}

#drawer .drawer-hamburger-icon {
  margin-top: 0;
}

#drawer .drawer-hamburger-icon,
#drawer .drawer-hamburger-icon:after,
#drawer .drawer-hamburger-icon:before {
  height: 5px;
  background-color: #fff;
}

.drawer-open #drawer .drawer-hamburger-icon {
  background-color: transparent;
}

.drawer--right #drawer .drawer-nav {
  width: 50%;
  right: -50%;
  padding-top: 100px;
  background: none;
  background-color: #ff8c00;
}

.drawer--right.drawer-open #drawer .drawer-nav,
.drawer--right.drawer-open #drawer .drawer-navbar .drawer-hamburger {
  right: 0;
}

#drawer .drawer-menu-item {
  font-size: 1.8rem;
  font-weight: bold;
  padding: 20px;
  border-top: 2px solid #ffd6a3;
  color: #fff;
  background-color: #ff8c00;
  transition: background-color 0.3s ease 0s;
}

#drawer .drawer-menu li:last-of-type .drawer-menu-item {
  border-bottom: 2px solid #ffd6a3;
}

#drawer .drawer-menu-item:hover {
  text-decoration: none;
  background-color: #ffd6a3;
  transition: background-color 0.3s ease 0s;
}

/* フッター */
footer {
  width: 100%;
  border-top: 2px solid #d0cfce;
}

footer #footer-contents {
  width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
  display: flex;
  justify-content: space-between;
}

footer #footer-contents .left-box {
  width: 350px
}


footer #footer-contents .center-box {
  display: flex;
  justify-content: space-between;
  width: 240px;
}

footer #footer-contents .center-box ul {
  display: flex;
  flex-direction: column;
  /* 子要素をflexboxにより縦方向に揃える */
  justify-content: space-between;
}

footer #footer-contents .center-box ul li a {
  font-size: 1.2rem;
  position: relative;
  display: inline-block;
  padding: 0 0 0 10px;
  vertical-align: middle;
  text-decoration: none;
}

footer #footer-contents .center-box ul li a::before,
footer #footer-contents .center-box ul li a::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  vertical-align: middle;
  content: "";
}

footer #footer-contents .center-box ul li a::before {
  width: 8px;
  height: 8px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  background: #ff8c00;
}

footer #footer-contents .center-box ul li a::after {
  left: 2px;
  width: 3px;
  height: 3px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}


footer small {
  width: 100%;
  display: inline-block;
  padding: 10px 0;
  color: #fff;
  background-color: #ff8c00;
  text-align: center;
}



/* メインビジュアル */
#main-visual {
  width: 100%;
  height: 500px;
  /* 画像の高さを指定 */
  position: relative;
  background: url("../img/main-visual.jpg") repeat-x 0 0;
  background-size: auto 100%;
  animation: bg-slider 60s linear infinite;
  /* 23sの部分背景画像の約数だとスムーズ */
  margin: 0;
  padding: 0;
}

@keyframes bg-slider {
  from {
    background-position: 0 0;
  }

  to {
    background-position: -1920px 0;
  }

  /* pxは使用した背景画像の長さ */
}


/* コンテンツ部分 */


/* 四角メニュー */
#square-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 1000px;
  margin: 60px auto 80px;
}

#square-nav li a {
  color: #fff;
  background-color: #ff8c00;
  border-radius: 4px;
  width: 235px;
  height: 235px;
  margin-top: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  /* 子要素をflexboxにより縦方向に揃える */
  justify-content: center;
  /* 子要素をflexboxにより中央に配置する */
  align-items: center;
  /* 子要素をflexboxにより中央に配置する */
  transition: background-color 0.3s ease 0s;
}

#square-nav li a:hover {
  background-color: rgba(255, 140, 0, 0.6);
  transition: background-color 0.3s ease 0s;
}

#square-nav li a:after {
  content: "";
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 16px 16px;
  border-color: transparent transparent #ffffff transparent;
}

#square-nav li .title {
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.2;
}

#square-nav li .icon {
  margin-top: 30px;
  width: 100px;
}


/* お知らせ */
#news h2 {
  margin-top: 0;
}

.blog-box .text {
  margin-top: 2rem;
  text-align: right;
}

.blog-box a img {
  opacity: 1;
  transition: opacity 0.3s ease 0s;
}


.blog-box a:hover img {
  opacity: 0.6;
  filter: alpha(opacity=60);
  -ms-filter: "alpha(opacity=60)";
}

#twitter-box {
  box-sizing: border-box;
  border: 1px solid #ff8c00;
}



/* お悩み */
#worry-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 20px 0 60px;
}

#worry-list li {
  width: 220px;
  padding: 30px 0;
  margin: 20px 0 0;
  box-sizing: border-box;
  border: 1px solid #ff8c00;
  border-radius: 4px;
  background-color: #fff8f0;
  display: flex;
  flex-direction: column;
  /* 子要素をflexboxにより縦方向に揃える */
  justify-content: center;
  /* 子要素をflexboxにより中央に配置する */
  align-items: center;
  /* 子要素をflexboxにより中央に配置する */
}

#worry-list li .title {
  font-size: 1.6rem;
  line-height: 1;
  font-weight: bold;
  margin-top: 15px;
}

#worry-list li .icon {
  width: 80px;
}

#symptoms {
  margin: 0;
  position: relative;
}

#symptoms h3 {
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1;
  padding: 10px;
  border: 1px solid #ff8c00;
  display: inline-block;
  background-color: #fff;
  position: absolute;
  top: -20px;
  left: 20px;
  margin-top: 0;
}

#symptoms div {
  padding: 30px 20px 20px;
  border: 1px solid #ff8c00;
}


/* お客様の声 */
#main-contents .voice-box {
  display: flex;
  margin-top: 40px;
}

#main-contents .voice-box .voice-image {
  width: 300px;
  margin-bottom: 0;
}

#main-contents .voice-box .voice-text {
  width: 400px;
  padding-left: 20px;
}

#main-contents .voice-box .voice-name {
  font-size: 2rem;
  font-weight: bold;
}

#main-contents .voice-box .voice-text p {
  margin-bottom: 1em;
}

#main-contents .voice-box .voice-text p:last-of-type {
  margin-bottom: 0;
}


/* 地域に根付いたサービス */
#service #service-contents {
  display: flex;
  justify-content: space-between;
}

#service #service-contents .text {
  width: 60%;
  padding-right: 20px;
}

#service #service-contents .text p {
  margin-bottom: 10px;
}

#service #service-contents .text p:last-of-type {
  margin-bottom: 0;
}


#service #service-contents .image {
  width: 40%;
}



/* サイドバー */
#side-bar section {
  margin-top: 20px;
  border: 1px solid #ff8c00;
}

#side-bar section h2 {
  background-color: #ff8c00;
  text-align: center;
  padding: 10px 0;
  font-size: 1.4rem;
  color: #fff;
}


/* LINE */
#side-bar #line-contact {
  border: 1px solid #1bb71f;
  margin-top: 0;
}

#side-bar #line-contact h2 {
  font-size: 1.6rem;
  color: #fff;
  background-color: #1bb71f;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 0;
}

#side-bar #line-contact h2:before {
  content: "";
  width: 26px;
  height: 26px;
  background: url(../img/24-icon.png) no-repeat center center;
  background-size: cover;
  margin-right: 10px;
}

#side-bar #line-contact .content {
  padding: 20px;
}

#side-bar #line-contact ol li {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  position: relative;
}

#side-bar #line-contact .line-btn {
  padding: 0 0 20px;
}

#side-bar #line-contact .line-btn a .icon {
  width: 25px;
  margin-right: 8px;
}

#side-bar #line-contact .line-btn a .text {
  font-size: 2.0rem;
  line-height: 1;
}

#side-bar #line-contact .text {
  font-size: 1.4rem;
  line-height: 1.5;
}


/* LINE PC */
#side-bar #line-contact #line-flow-pc {
  display: block;
  padding: 0 0 20px;
}


#side-bar #line-contact #line-flow-pc li:last-of-type {
  margin-bottom: 0;
}

#side-bar #line-contact #line-flow-pc li:after {
  content: "";
  position: absolute;
  bottom: -13px;
  left: 12px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 3px 0 3px;
  border-color: #1bb71f transparent transparent transparent;
}

#side-bar #line-contact #line-flow-pc li:last-of-type:after {
  display: none;
}

#side-bar #line-contact #line-flow-pc li:before {
  content: "";
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  margin-right: 10px;
}

#side-bar #line-contact #line-flow-pc li:first-of-type::before {
  background-image: url(../img/line-icon01.png);
}

#side-bar #line-contact #line-flow-pc li:nth-of-type(2)::before {
  background-image: url(../img/line-icon02.png);
}

#side-bar #line-contact #line-flow-pc li:nth-of-type(3)::before {
  background-image: url(../img/line-icon03.png);
}

#side-bar #line-contact #line-flow-pc li:last-of-type::before {
  background-image: url(../img/line-icon04.png);
}

/* LINE SP */

#side-bar #line-contact #line-flow-sp {
  display: none;
}





/* 電話 */
#side-bar #tel-contact .tel {
  padding: 20px;
  margin-bottom: 0;
}


/* キャッシュレス */
#cashless .image {
  padding: 20px;
}

#cashless .image img.pc {
  display: inline;
}

#cashless .image img.sp {
  display: none;
}


/*　病院情報　*/
#side-bar #info h2 {
  background: none;
  padding: 0;
}

#side-bar #info div {
  padding: 20px;
}

#side-bar #info div p:first-of-type {
  display: block;
}

#side-bar #info .address {
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 20px 0;
}

#side-bar #info ul li {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

#side-bar #info ul li:last-of-type {
  margin-bottom: 0;
}

#side-bar #info .opening-hour {
  margin: 20px 0;
}

/* バナー */
#side-bar .banner {
  margin-top: 20px;
  width: 100%;
}

#side-bar .banner a {
  display: block;
  width: 100%;
}

#side-bar .banner a:not(:last-of-type) {
  margin-bottom: 2rem;
}


#side-bar .banner a img {
  opacity: 1;
  filter: alpha(opacity=100);
  -ms-filter: "alpha(opacity=100)";
  transition: opacity 0.3s ease 0s;
}

#side-bar .banner a:hover img {
  opacity: 0.6;
  filter: alpha(opacity=60);
  -ms-filter: "alpha(opacity=60)";
  transition: opacity 0.3s ease 0s;
}


/* トップに戻る */
.to-top {
  position: fixed;
  width: 60px;
  height: 60px;
  border-radius: 30px;
  right: 20px;
  bottom: 20px;
  line-height: 54px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #ff8c00;
  border: 2px solid #ff8c00;
  background-color: #fff;
  z-index: 1;
  cursor: pointer;
  opacity: .8;
}



/* レスポンシブ */

/* タブレット */
@media screen and (max-width: 768px) {
  p {
    font-size: 1.6rem;
    line-height: 1.6;
  }

  #wrap {
    width: 100%;
    justify-content: start;
    flex-direction: column;
    /* 子要素をflexboxにより縦方向に揃える */
    margin: 0 auto 80px;
    padding: 0 20px;
  }

  #main-visual {
    height: 375px;
  }

  @keyframes bg-slider {
    from {
      background-position: 0 0;
    }

    to {
      background-position: -1440px 0;
    }

    /* pxは使用した背景画像の長さ */
  }

  #main-contents {
    width: 100%;
  }

  #side-bar {
    width: 100%;
  }


  /*共通*/
  #main-contents h2 {
    line-height: 1.2;
  }

  #wrap {
    margin: 0 auto 40px;
  }


  /* ヘッダー */
  header #header-contents {
    width: 100%;
    justify-content: flex-start;
    padding: 20px;
  }

  header #header-contents .left-box {
    width: 70%;
    padding-right: 40px;
  }

  header #header-contents .left-box .address {
    display: none;
  }

  header #header-contents .center-box {
    display: none;
  }

  header #header-contents .right-box {
    width: 30%;
    padding-right: 80px;
  }

  header #header-contents .right-box .pc {
    display: none;
  }

  header #header-contents .right-box .sp {
    display: flex;
    justify-content: flex-end;
  }

  header #header-contents .right-box .sp .tel-icon,
  header #header-contents .right-box .sp .line-icon {
    width: 60px;
    margin-bottom: 0;
  }

  header #header-contents .right-box .sp .line-icon {
    margin-left: 20px;
  }

  header #header-contents .right-box .sp .line-icon a {
    display: block;
    height: 60px;
    padding: 10px;
    border-radius: 4px;
    background-color: #1bb71f;
  }

  header #header-contents .right-box .tel {
    margin-bottom: 10px;
  }

  header #header-contents .contact-title {
    display: none;
  }

  header #header-contents .line-btn a {
    padding: 10px 0;
  }

  header #header-contents .left-box .address {
    text-align: center;
  }

  /* ナビゲーション */
  #g-nav {
    display: none;
  }


  /* ハンバーガーメニュー */
  #drawer .drawer-hamburger {
    display: block;
  }

  #drawer .drawer-hamburger-icon:before {
    top: -12px;
  }

  #drawer .drawer-hamburger-icon:after {
    top: 12px;
  }

  .drawer-open #drawer .drawer-hamburger-icon:after,
  .drawer-open #drawer .drawer-hamburger-icon:before {
    top: 0;
  }

  /* 四角メニュー */
  #square-nav {
    width: 100%;
    padding: 0 10px;
    margin: 20px 0 40px;
  }

  #square-nav li {
    width: 25%;
    padding: 20px 10px 0;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 10em;
    word-break: break-all;
  }

  #square-nav li a:after {
    bottom: 4px;
    right: 4px;
    border-width: 0 0 8px 8px;
  }

  #square-nav li a {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    height: 10em;
    padding: 20px;
  }

  #square-nav li a:hover {
    height: 10em;
  }


  #square-nav li .title {
    font-size: 1.5rem;
  }

  #square-nav li .icon {
    width: 60px;
    margin-top: 20px;
  }



  /* お悩み */
  #worry-list li {
    width: 31%;
    padding: 40px 20px;
  }

  #worry-list li.title {
    line-height: 1.2;
  }

  /* サービス */
  #service #service-contents {
    flex-direction: column;
  }

  #service #service-contents .text {
    width: 100%;
  }

  #service #service-contents .image {
    width: 60%;
    margin: 40px auto 0;
  }





  /* サイドバー */
  #side-bar section {
    margin-top: 80px;
  }

  #side-bar section h2 {
    font-size: 2.4rem;
    padding: 20px 0;
  }




  /* LINE */
  .line-btn a {
    padding: 20px 0;
    width: 100%;
    margin: 0 auto;
  }

  #side-bar #line-contact {
    margin-top: 80px;
  }

  #side-bar #line-contact h2 {
    font-size: 2.4rem;
    padding: 20px 0;
  }

  #side-bar #line-contact h2:before {
    width: 32px;
    height: 32px;
  }


  #side-bar #line-contact .content {
    padding: 40px;
  }

  #side-bar #line-contact .line-btn a .icon {
    width: 40px;
  }

  #side-bar #line-contact .line-btn a .text {
    font-size: 2.4rem;
  }

  /* LINE PC */
  #side-bar #line-contact #line-flow-pc {
    display: none;
  }

  /* LINE SP */
  #side-bar #line-contact #line-flow-sp {
    display: flex;
    justify-content: space-between;
  }

  #side-bar #line-contact #line-flow-sp li {
    margin-bottom: 40px;
  }

  #side-bar #line-contact #line-flow-sp li:after {
    content: "";
    border-style: solid;
    border-width: 8px 0 8px 10px;
    border-color: transparent transparent transparent #1bb720;
    margin-left: 22px;
  }

  #side-bar #line-contact #line-flow-sp li:last-of-type:after {
    display: none;
  }

  #side-bar #line-contact .text {
    font-size: 1.8rem;
    text-align: center;
  }

  #side-bar #line-contact #line-flow-sp li .text {
    margin: 20px 0 0 0;
  }

  #side-bar #line-contact #line-flow-sp li .icon {
    width: 60px;
    margin: 0 auto;
  }


  /* 電話 */
  #side-bar #tel-contact .tel {
    width: 80%;
    margin: 0 auto;
    padding: 40px;
  }


  /* キャッシュレス */
  #cashless .image {
    padding: 40px;
  }

  #cashless .image img.pc {
    display: none;
  }

  #cashless .image img.sp {
    display: inline;
  }



  /* 病院情報 */
  #side-bar #info div {
    padding: 40px;
  }

  #side-bar #info div p:first-of-type {
    display: none;
  }

  #side-bar #info div.review-notes {
    padding: 20px 10px;
  }

  #side-bar #info div.review-notes p:first-of-type {
    display: block;
    text-align: center;
  }

  #side-bar #info .address {
    font-size: 2.0rem;
    text-align: center;
  }

  #side-bar #info .address br {
    display: none;
  }

  #side-bar #info ul li {
    font-size: 2.0rem;
    text-align: center;
  }


  /*  バナー*/
  #side-bar .banner {
    width: 70%;
    max-width: 500px;
    margin: 40px auto;
  }



  /* フッター */
  footer #footer-contents {
    width: 100%;
    flex-direction: column;
    padding: 80px 20px;
  }

  footer #footer-contents h1 {
    width: 80%;
    margin: 0 auto;
  }

  footer #footer-contents .left-box,
  footer #footer-contents .center-box,
  footer #footer-contents .right-box {
    width: 100%;
  }

  footer #footer-contents .left-box {
    order: 1;
  }

  footer #footer-contents .center-box {
    border: 1px solid #ff8c00;
    border-bottom: none;
    order: 3;
  }

  footer #footer-contents .right-box {
    order: 2;
    margin: 80px 0;
  }

  footer #footer-contents .address {
    font-size: 2.0rem;
    text-align: center;
    margin: 40px 0 80px;
  }

  footer #footer-contents h2.contact-title {
    font-size: 2.4rem;
    margin-bottom: 40px;
  }

  footer #footer-contents h2.contact-title:before {
    margin-right: 2rem;
  }

  footer #footer-contents h2.contact-title:after {
    margin-left: 2rem;
  }

  /* 診療時間 */
  .biz-hour {
    margin-bottom: 40px;
  }

  .biz-hour th,
  .biz-hour td {
    font-size: 3.6rem;
    padding: 20px 10px;
  }

  .biz-hour th {
    font-size: 1.8rem;
  }

  .biz-hour td:first-of-type {
    font-size: 2.2rem;
  }

  .biz-hour td span {
    font-size: 1.6rem;
    display: inline-block;
    margin-top: 10px;
  }

  .biz-hour .triangle {
    font-size: 2.4rem;
  }

  .biz-text {
    font-size: 1.4rem;
    margin-top: 10px;
    text-align: center;
  }

  /* 電話番号 */
  footer #footer-contents .tel {
    width: 80%;
    margin: 0 auto 40px;
  }

  /* LINE */
  footer #footer-contents .line-btn {
    width: 80%;
    margin: 0 auto;
  }

  footer #footer-contents .line-btn a .icon {
    width: 40px;
  }

  footer #footer-contents .line-btn a .text {
    font-size: 2.4rem;
  }

  /* ナビゲーション */
  footer #footer-contents .center-box ul {
    width: 50%;
  }

  footer #footer-contents .center-box ul li a {
    width: 100%;
    padding: 20px 0;
    font-size: 1.6rem;
    text-align: center;
    border-bottom: 1px solid #ff8c00;
  }

  footer #footer-contents .center-box ul:first-of-type li {
    border-right: 1px dotted #ff8c00;
  }

  footer #footer-contents .center-box ul li a::before,
  footer #footer-contents .center-box ul li a::after {
    display: none;
  }
}




@media screen and (max-width: 480px) {
  p {
    font-size: 1.4rem;
    line-height: 1.5;
  }

  #wrap {
    padding: 0 10px;
  }

  #main-visual {
    height: 250px;
  }

  @keyframes bg-slider {
    from {
      background-position: 0 0;
    }

    to {
      background-position: -960px 0;
    }

    /* pxは使用した背景画像の長さ */
  }

  /* 定義リスト表組み */
  .table-box {
    margin-bottom: 20px;
  }

  .table-box dl {
    border-bottom: none;
    flex-direction: column;
  }

  .table-box dl dt,
  .table-box dl dd {
    font-size: 1.4rem;
    width: 100%;
    padding: 10px;
    text-align: center;
  }

  .table-box dl dt {
    border-right: none;
  }



  /* ヘッダー */
  header #header-contents {
    padding: 10px;
  }

  header #header-contents .left-box {
    width: 60%;
    padding-right: 20px;
  }

  header #header-contents .left-box .address {
    margin-top: 10px;
    font-size: 1.2rem;
  }


  header #header-contents .right-box {
    width: 40%;
    padding-right: 40px;
  }

  header #header-contents .right-box .sp .tel-icon,
  header #header-contents .right-box .sp .line-icon {
    width: 30px;
  }

  header #header-contents .right-box .sp .line-icon {
    margin-left: 10px;
  }

  header #header-contents .right-box .sp .line-icon a {
    display: block;
    height: 30px;
    padding: 6px;
    border-radius: 4px;
    background-color: #1bb71f;
  }


  header #header-contents .contact-title {
    display: none;
  }

  header #header-contents .line-btn a {
    padding: 10px 0;
  }

  header #header-contents .left-box .address {
    text-align: center;
  }

  /* ハンバーガーメニュー */
  #drawer .drawer-hamburger {
    width: 15px;
    background-color: #ff8c00;
    border-radius: 4px;
    top: 10px;
    right: 10px;
    padding: 14px 7px;
  }

  #drawer .drawer-hamburger-icon,
  #drawer .drawer-hamburger-icon:after,
  #drawer .drawer-hamburger-icon:before {
    height: 2px;
    background-color: #fff;
  }

  #drawer .drawer-hamburger-icon:after,
  #drawer .drawer-hamburger-icon:before {
    top: -6px;
  }

  #drawer .drawer-hamburger-icon:before {
    top: 6px;
  }

  .drawer-open #drawer .drawer-hamburger-icon:after,
  .drawer-open #drawer .drawer-hamburger-icon:before {
    top: 0;
  }

  .drawer-open #drawer .drawer-hamburger-icon {
    background-color: transparent;
  }

  .drawer--right #drawer .drawer-nav {
    width: 50%;
    right: -50%;
    padding-top: 60px;
    background: none;
    background-color: #ff8c00;
  }

  .drawer--right.drawer-open #drawer .drawer-nav,
  .drawer--right.drawer-open #drawer .drawer-navbar .drawer-hamburger {
    right: 0;
  }

  #drawer .drawer-menu-item {
    font-size: 1.4rem;
    padding: 20px;
  }


  /*共通*/
  #main-contents section {
    margin: 0 0 40px;
  }

  #main-contents h2 {
    font-size: 1.8rem;
    line-height: 1.4;
    padding: .75em 1em .75em 1.2em;
  }

  #main-contents h2::after {
    width: 4px;
  }

  #main-contents h3 {
    font-size: 1.6rem;
  }

  /* 悩み */
  #worry-list li {
    width: 48%;
    padding: 10px;
    margin: 4% 0 0;
  }

  #worry-list li .icon {
    width: 60px;
  }

  #worry-list li .title {
    font-size: 1.2rem;
  }

  #symptoms h3 {
    font-size: 1.4rem;
    left: 50%;
    transform: translateX(-50%);
  }


  #symptoms p {
    font-size: 1.2rem;
  }

  /* 四角メニュー */
  #square-nav {
    margin: 30px 0 40px;
  }


  #square-nav li {
    width: 50%;
    height: 5em;
    padding: 0;
    margin-bottom: 10px;
  }

  #square-nav li:nth-child(odd) {
    padding-right: 10px;
  }

  #square-nav li a {
    flex-direction: column;
    height: 5em;
    padding: 10px;
  }

  #square-nav li a:hover {
    height: 5em;
  }

  #square-nav li .title {
    font-size: 1.2rem;
  }

  #square-nav li .icon {
    width: 30px;
    margin-top: 10px;
  }


  #service #service-contents .image {
    width: 100%;
    margin: 20px auto 0;
  }

  /* サイドバー */
  #side-bar section {
    margin-top: 40px;
  }

  #side-bar section h2 {
    font-size: 1.6rem;
    padding: 20px 0;
  }


  /* LINE */
  #side-bar #line-contact {
    margin-top: 40px;
  }

  #side-bar #line-contact h2 {
    font-size: 1.8rem;
    padding: 10px 0;
  }

  #side-bar #line-contact h2:before {
    width: 24px;
    height: 24px;
  }

  #side-bar #line-contact .content {
    padding: 10px;
  }

  #side-bar #line-contact #line-flow-sp {
    padding: 0;
  }

  #side-bar #line-contact #line-flow-sp li {
    margin-bottom: 20px;
  }

  #side-bar #line-contact #line-flow-sp li .icon {
    width: 30px;
  }

  #side-bar #line-contact #line-flow-sp li .text {
    font-size: 1.2rem;
    margin: 10px 0 0 0;
  }

  #side-bar #line-contact #line-flow-sp li:after {
    content: "";
    border-style: solid;
    border-width: 4px 0 4px 6px;
    border-color: transparent transparent transparent #1bb720;
    margin-left: 3;
  }

  #side-bar #line-contact .line-btn {
    padding: 0 0 10px;
  }

  #side-bar #line-contact .line-btn a .icon {
    width: 30px;
  }

  #side-bar #line-contact .line-btn a .text {
    font-size: 1.8rem;
  }

  .line-btn a {
    padding: 10px 0;
  }

  #side-bar #line-contact .text {
    font-size: 1.2rem;
  }


  /* 電話 */
  #side-bar #tel-contact .tel {
    padding: 20px;
  }

  /* キャッシュレス */
  #cashless .image {
    padding: 10px;
  }

  /* 病院情報 */
  #side-bar #info div {
    padding: 10px;
  }

  #side-bar #info .address {
    font-size: 1.4rem;
  }

  #side-bar #info ul li {
    font-size: 1.2rem;
  }

  #side-bar .banner {
    margin: 40px auto 0;
  }

  /* フッター */
  footer #footer-contents {
    padding: 40px 10px;
  }

  footer #footer-contents h1 {
    width: 100%;
  }

  footer #footer-contents .address {
    font-size: 1.4rem;
    text-align: center;
    margin: 20px 0 20px;
  }

  /* 診療時間 */
  .biz-hour {
    margin-bottom: 20px;
  }

  .biz-text {
    font-size: 1.2rem;
    text-align: left;
  }

  .biz-hour th {
    font-size: 1.2rem;
  }

  .biz-hour th,
  .biz-hour td {
    padding: 10px 5px;
  }

  .biz-hour td {
    font-size: 2.0rem;
  }

  .biz-hour .triangle {
    font-size: 1.4rem;
  }

  .biz-hour td:first-of-type {
    font-size: 1.4rem;
  }

  .biz-hour td span {
    font-size: 1.2rem;
  }


  footer #footer-contents .right-box {
    margin: 40px 0;
  }

  footer #footer-contents h2.contact-title {
    font-size: 1.8rem;
    margin: 0 auto 20px;
  }

  footer #footer-contents h2.contact-title:before {
    margin-right: 1rem;
  }

  footer #footer-contents h2.contact-title:after {
    margin-left: 1rem;
  }

  footer #footer-contents .tel {
    width: 100%;
    margin-bottom: 20px;
  }

  footer #footer-contents .line-btn {
    width: 100%;
  }

  footer #footer-contents .line-btn a .icon {
    width: 30px;
  }

  footer #footer-contents .line-btn a .text {
    font-size: 1.8rem;
  }

  footer #footer-contents .center-box ul li a {
    padding: 20px 0;
    font-size: 1.2rem;
  }


  /* お客様の声 */
  #main-contents .voice-box {
    display: block;
  }

  #main-contents .voice-box .voice-image {
    width: 100%;
    margin-bottom: 0;
  }

  #main-contents .voice-box .voice-text {
    width: 100%;
    padding-left: 0;
    padding-top: 20px;
  }


  .to-top {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    right: 10px;
    bottom: 10px;
    line-height: 35px;
    font-size: 14px;
  }
}