@charset "UTF-8";

/*=============================================
 * HOME
*=============================================*/
#mv {
   padding: 10px 90px 0;
   position: relative;
}

#mv:before {
   content: '';
   width: 100%;
   height: 1560px;
   background: url("../img/index/mv-deco.png") no-repeat top left;
   position: absolute;
   top: 546px;
   left: 0;
}

.mv__copyright {
   width: 25px;
   height: 100%;
   color: #08442C;
   font-size: 17px;
   line-height: 25px;
   position: absolute;
   top: 0;
   left: 20px;
   text-align: center;
}

.mv__copyright .txt-latin {
   letter-spacing: 0;
}

.mv__slider .slick-slide img {
   width: 100%;
   max-width: inherit;
   border-radius: 240px 240px 30px 30px;
}

.mv__controls {
   display: flex;
   align-items: center;
   gap: 10px;
   background-color: #fff;
   border-radius: 24px;
   position: absolute;
   bottom: 20px;
   right: 110px;
   padding: 20px 18px;
}

.mv__controls .slider-count {
   width: 50px;
   font-family: "Outfit", sans-serif;
   font-optical-sizing: auto;
   font-style: normal;
   font-weight: 500;
   font-size: 18px;
   line-height: 24px;
   color: #277455;
   position: relative;
}

.mv__controls .slider-count:before {
   content: '';
   width: 0;
   height: 100%;
   border-left: 2px solid #277455;
   position: absolute;
   top: 0;
   left: 24px;
   transform: skewX(-25deg);
}

.mv__controls .slider-count span {
   display: block;
}

.mv__controls .slider-count .total {
   text-align: right;
}

.mv__controls .slick-dots {
   display: none !important;
}

.mv__h2 {
   width: 560px;
   position: absolute;
   bottom: 0;
   left: 138px;
}

@media screen and (max-width: 1023px) {
   #mv {
      padding: 16px 20px 0;
   }

   #mv:before {
      background-image: url("../img/index/mv-deco_sp.png");
      width: 100%;
      padding-top: 82%;
      top: 40vw;
   }

   .mv__copyright {
      display: none;
   }

   .mv__slider .slick-slide img {
      border-radius: 60px 60px 15px 15px;
   }

   .mv__controls {
      width: 166px;
      position: relative;
      right: auto;
      bottom: auto;
      margin: 20px auto 0;
      box-sizing: border-box;
   }

   .mv__h2 {
      position: relative;
      bottom: auto;
      left: auto;
      margin: 0 auto;
      padding-top: 20px;
   }
}

@media screen and (max-width: 767px) {
   .mv__controls {
      justify-content: center;
      gap: 10px;
      width: 130px;
      padding: 4px;
      border-radius: 12px;
   }

   .mv__controls .slider-count {
      font-size: 14px;
      line-height: 18px;
   }

   .mv__controls .slider-count:before {
      left: 19px;
   }

   .mv__h2 {
      width: 260px;
   }
}

/* -- --*/
#feed {
   line-height: 26px;
   padding: 15px 0 90px;
   position: relative;
}

#feed .wrap {
   display: grid;
   grid-template-columns: 180px calc(100% - 180px);
   align-items: center;
   background-color: #fff;
   border: 1px solid #08442C;
   border-radius: 10px;
   overflow: hidden;
}

#feed h2 {
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 5px;
   background-color: #08442C;
   color: #fff;
   font-weight: 500;
   font-size: 15px;
   padding: 16px 20px;
}

#feed h2:before {
   content: '';
   width: 24px;
   height: 24px;
   background: url("../img/common/icon-i.svg") no-repeat center top/cover;
}

#feed .slider {
   padding: 10px 20px;
}

#feed .slider .slide {
   display: grid;
   grid-template-columns: 100px 1fr;
   align-items: center;
   gap: 10px;
}

#feed .slider .slide a {
   color: #277455;
   position: relative;
   font-size: 17px;
   padding-right: 30px;
}

#feed .slider .slide a span {
   max-width: max-content;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 1;
   display: -webkit-box;
   overflow: hidden;
   text-decoration: underline;
}

#feed .slider .slide a i {
   position: absolute;
   top: 50%;
   right: 0;
   transform: translate(-5px, -50%);
   transition: all 0.3s;
}

#feed .slider .slide a:hover {
   text-decoration: none;
}

#feed .slider .slide a:hover i {
   transform: translate(0px, -50%);
}

@media screen and (max-width: 767px) {
   #feed {
      padding: 20px 30px 30px;
   }

   #feed .wrap {
      grid-template-columns: 1fr;
      border-radius: 6px;
      padding: 0;
   }

   #feed h2 {
      font-size: 14px;
      padding: 9px 12px;
   }

   #feed h2:before {
      width: 18px;
      height: 18px;
   }

   #feed .slider {
      padding: 6px 12px;
   }

   #feed .slider .slide {
      grid-template-columns: 60px 1fr;
      font-size: 13px;
      line-height: 20px;
   }

   #feed .slider .slide a {
      font-size: 13px;
      padding-right: 20px;
   }

   #feed .slider .slide a span {
      -webkit-line-clamp: 2;
   }

   #feed .slider .slide a i {
      font-size: 15px;
      color: #333;
      transform: translate(0, -50%);
   }
}

/* -- --*/
#top__about {
   padding-bottom: 80px;
}

#top__about .wrap {
   display: grid;
   grid-template-columns: 520px 1fr;
   gap: 80px;
}

#top__about .col {
   padding: 40px 0;
}

#top__about h2 {
   display: flex;
   align-items: center;
   gap: 5px;
}

#top__about h3,
#top__about .txt,
#top__about .button {
   padding-top: 30px;
}

@media screen and (max-width: 1023px) {
   #top__about .wrap {
      grid-template-columns: 1fr;
   }

   #top__about .col {
      padding: 0;
   }

   #top__about figure {
      width: 72%;
      margin: 0 auto;
   }
}

@media screen and (max-width: 767px) {
   #top__about {
      padding-bottom: 50px;
   }

   #top__about .wrap {
      gap: 20px;
   }

   #top__about h3,
   #top__about .txt,
   #top__about .button {
      padding-top: 15px;
   }

   #top__about h3 {
      font-size: 17px;
      line-height: 25px;
   }

   #top__about figure {
      width: 280px;
   }
}

/* -- --*/
#top__first-time {
   background: url("../img/index/first-time-deco.png") repeat-x bottom left/auto 143px;
   padding-bottom: 203px;
   position: relative;
}

#top__first-time h2 {
   font-weight: 700;
   letter-spacing: 0.05em;
}

#top__first-time h2:before {
   content: '';
   display: block;
   width: 40px;
   border-top: 2px solid #277455;
   margin: 0 auto 10px;
}

#top__first-time h2 .en {
   font-size: 60px;
   letter-spacing: 0.15em;
   line-height: 76px;
}

#top__first-time .desc {
   padding-top: 30px;
}

#top__first-time .box {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 15px;
   padding-top: 30px;
}

#top__first-time .box .col {
   display: grid;
   grid-template-columns: 76px 1fr 25px;
   align-items: center;
   gap: 10px;
   background-color: #fff;
   border: 2px solid #277455;
   border-radius: 10px;
   position: relative;
   padding: 20px 13px;
   transition: all 0.3s;
}

#top__first-time .box .col:hover {
   background-color: #E5F9E7;
}

#top__first-time .box .txt {
   font-size: 14px;
   line-height: 20px;
   padding-top: 5px;
}

#top__first-time .box i {
   display: flex;
   align-items: center;
   height: 60px;
   font-size: 0;
   color: #277455;
   border-left: 1px solid #277455;
   padding-left: 15px;
}

#top__first-time .box i:before {
   font-size: 18px;
}

#top__first-time .box .href a {
   display: block;
   width: 100%;
   height: 100%;
   position: absolute;
   top: 0;
   left: 0;
   font-size: 0;
}

@media screen and (max-width: 1023px) {
   #top__first-time .box {
      grid-template-columns: repeat(2, 1fr);
   }
}

@media screen and (max-width: 767px) {
   #top__first-time {
      background-size: auto 90px;
      padding-bottom: 110px;
   }

   #top__first-time h2 {
      font-size: 14px;
      line-height: 20px;
   }

   #top__first-time h2 .en {
      font-size: 42px;
      line-height: 53px;
   }

   #top__first-time .desc {
      font-size: 14px;
      padding-top: 15px;
   }

   #top__first-time .box {
      grid-template-columns: 1fr;
      gap: 10px;
      padding-top: 15px;
   }

   #top__first-time .box .col {
      grid-template-columns: 50px 1fr 25px;
      gap: 10px;
      padding: 13px;
   }

   #top__first-time .box h3 {
      font-size: 16px;
      line-height: 24px;
   }

   #top__first-time .box .txt {
      font-size: 12px;
      line-height: 17px;
   }
}

/* -- --*/
#top__reason {
   background: url("../img/index/reason-border.png") repeat-x bottom left/auto 30px;
   padding: 80px 0 80px 120px;
}

#top__reason .reason__wrap {
   display: grid;
   grid-template-columns: 350px calc(100% - 450px);
   align-items: flex-end;
   gap: 100px;
   position: relative;
}

#top__reason h2 {
   letter-spacing: 0.05em;
}

#top__reason h2 span {
   display: inline-block;
   margin-bottom: 10px;
}

#top__reason h2 span:last-child {
   margin-bottom: 0;
}

#top__reason h2 .ja {
   background-color: #DDEFE4;
   margin-bottom: 20px;
   padding: 4px 12px;
}

#top__reason .col figure {
   padding-top: 60px;
}

#top__reason .swiper {
   width: 100%;
   margin: 0;
}

#top__reason .swiper-slide {
   width: 420px;
   margin-right: 30px;
}

#top__reason .swiper-slide .text {
   padding: 10px 20px 0;
}

#top__reason .swiper-slide h3 {
   display: grid;
   grid-template-columns: 42px 1fr;
   align-items: center;
   gap: 8px;
}

#top__reason .swiper-slide h3 span {
   width: 42px;
   background-color: #277455;
   color: #fff;
   border-radius: 50%;
   text-align: center;
   padding: 3px 0 7px;
}

#top__reason .swiper-slide .txt {
   font-size: 16px;
   line-height: 24px;
   padding-top: 10px;
}

#top__reason .swiper-button-next,
#top__reason .swiper-button-prev {
   display: flex;
   justify-content: center;
   align-items: center;
   width: 40px;
   height: 40px;
   background-color: #277455;
   color: #fff;
   font-size: 16px;
   margin: 0;
   position: relative;
   top: auto;
   right: auto;
   bottom: auto;
   left: auto;
   transition: all 0.3s;
}

#top__reason .swiper-button-next:before,
#top__reason .swiper-button-prev:before {
   font-family: "Font Awesome 6 Free";
   font-weight: 900;
}

#top__reason .swiper-button-next:after,
#top__reason .swiper-button-prev:after {
   display: none;
}

#top__reason .swiper-button-next:hover,
#top__reason .swiper-button-prev:hover {
   background-color: #333;
}

#top__reason .swiper-button-next:before {
   content: '\f054';
}

#top__reason .swiper-button-prev:before {
   content: '\f053';
}

#top__reason .swiper-button {
   display: flex;
   gap: 10px;
   padding-top: 20px;
}

#top__reason .swiper-scrollbar {
   width: 100%;
   height: 13px;
   background-color: #F9F9F9;
   border-radius: 0;
   position: relative;
   top: auto;
   right: auto;
   bottom: auto;
   left: auto;
   margin-top: 30px;
}

#top__reason .swiper-scrollbar-drag {
   background-color: #C6EFD6;
   border-radius: 0;
}

@media screen and (max-width: 1023px) {
   #top__reason {
      padding-left: 0;
   }

   #top__reason .reason__wrap {
      grid-template-columns: 1fr;
      gap: 50px;
   }

   #top__reason .col {
      width: 350px;
      margin: 0 auto;
   }

   #top__reason .swiper-scrollbar {
      width: calc(100% - 60px);
      margin: 20px auto 0;
   }

   #top__reason .swiper-button {
      justify-content: center;
      gap: 24px;
   }
}

@media screen and (max-width: 767px) {
   #top__reason {
      padding: 30px 0 60px;
   }

   #top__reason h2 .en {
      line-height: 23px;
   }

   #top__reason h2 .ja {
      font-size: 19px;
      line-height: 27px;
      margin-bottom: 10px;
      padding: 2px 4px;
   }

   #top__reason .col {
      width: 270px;
   }

   #top__reason .col figure {
      width: 170px;
      margin-top: -31px;
      margin-left: auto;
      padding-top: 0;
   }

   #top__reason .swiper-slide {
      width: 100vw;
   }

   #top__reason .swiper-slide .text {
      padding: 10px 30px 0;
   }

   #top__reason .swiper-slide h3 {
      grid-template-columns: 32px 1fr;
   }

   #top__reason .swiper-slide h3 span {
      width: 32px;
      padding: 0 0 2px;
   }

   #top__reason .swiper-slide .txt {
      font-size: 13px;
      line-height: 20px;
      padding-top: 10px;
   }
}

/* -- --*/
#top__doctor {
   background: url("../img/index/doctor-bg.png") no-repeat center bottom/100% auto;
   padding: 80px 0 65px;
   position: relative;
}

#top__doctor .swiper {
   width: 100%;
   position: absolute;
   top: 694px;
   left: 0;
}

#top__doctor .swiper-wrapper {
   transition-timing-function: linear;
}

#top__doctor .swiper-slide {
   width: 690px;
   margin-right: 170px;
}

#top__doctor .wrap {
   z-index: 1;
}

#top__doctor h2:before {
   content: '';
   display: block;
   width: 40px;
   border-top: 2px solid #277455;
   margin: 0 auto 10px;
}

#top__doctor .box {
   display: grid;
   grid-template-columns: 520px 1fr;
   gap: 50px;
   padding-top: 30px;
}

#top__doctor .box .position {
   line-height: 26px;
}

#top__doctor .box .name {
   padding-top: 10px;
}

#top__doctor .box .name span {
   letter-spacing: 0.05em;
   padding-left: 5px;
}

#top__doctor .box .name span:before {
   content: " │ ";
   display: inline-block;
   color: #333;
   margin-right: 5px;
}

#top__doctor .box dl {
   padding-top: 30px;
}

#top__doctor .box dl dt {
   font-weight: 500;
}

#top__doctor .box dl dd {
   padding-top: 5px;
}

#top__doctor .box .button {
   padding-top: 30px;
}

#top__doctor .banner {
   font-weight: 500;
   padding-top: 77px;
}

#top__doctor .banner a {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   gap: 14px;
   height: 200px;
   position: relative;
   color: #fff;
}

#top__doctor .banner a img {
   position: absolute;
   top: 0;
   left: 0;
}

#top__doctor .banner a span {
   position: relative;
   z-index: 1;
}

@media screen and (max-width: 1200px) {
   #top__doctor .box {
      grid-template-columns: 380px 1fr;
   }
}

@media screen and (max-width: 1023px) {
   #top__doctor .swiper {
      top: 1252px;
   }

   #top__doctor .box {
      display: flex;
      flex-direction: column-reverse;
      align-items: center;
   }

   #top__doctor .box .col {
      width: 560px;
   }

   #top__doctor .banner a {
      height: 180px;
   }
}

@media screen and (max-width: 767px) {
   #top__doctor {
      background-image: url("../img/index/doctor-bg_sp.png");
      padding: 30px 0 45px;
   }

   #top__doctor .swiper {
      top: 605px;
   }

   #top__doctor .swiper-slide {
      width: 330px;
      margin-right: 48px;
   }

   #top__doctor .box {
      gap: 15px;
      padding-top: 20px;
   }

   #top__doctor .box figure {
      margin: 0 -10px;
   }

   #top__doctor .box .col {
      width: auto;
   }

   #top__doctor .box .position {
      font-size: 14px;
      line-height: 20px;
   }

   #top__doctor .box .name {
      padding-top: 10px;
   }

   #top__doctor .box dl dd {
      font-size: 14px;
      line-height: 28px;
   }

   #top__doctor .banner {
      font-size: 16px;
      line-height: 24px;
      padding-top: 40px;
   }

   #top__doctor .banner a {
      gap: 0px;
      height: 26vw;
   }
}

@media screen and (min-width: 1440px) {
   #top__doctor .wrap {
      max-width: 1280px;
   }
}

/* -- --*/
.section__cta {
   padding-top: 80px;
}

.section__cta h2 {
   max-width: 664px;
   background-color: #DDEFE4;
   margin: 0 auto;
   padding: 3px 0;
   letter-spacing: 0.05em;
}

.section__cta .desc {
   padding-top: 20px;
}

.section__cta .banner {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   padding-top: 40px;
}

.section__cta .banner a {
   width: 100%;
   height: 320px;
   position: relative;
   overflow: hidden;
}

.section__cta .banner a:hover {
   opacity: 1;
}

.section__cta .banner a:hover figure:after {
   background-color: rgba(0, 0, 0, 0.5);
}

.section__cta .banner a:hover figure img {
   transform: scale(1.1);
}

.section__cta .banner figure {
   width: 100%;
   height: 100%;
   position: relative;
}

.section__cta .banner figure:after {
   content: '';
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.2);
   position: absolute;
   top: 0;
   left: 0;
   transition: 0.6s ease-in-out;
}

.section__cta .banner figure img {
   transition: 0.6s ease-in-out;
}

.section__cta .banner .text {
   display: flex;
   align-items: flex-end;
   gap: 15px;
   color: #fff;
   position: absolute;
   right: 30px;
   bottom: 20px;
   left: 30px;
}

.section__cta .banner .text p {
   text-align: center;
   font-weight: 400;
   font-size: 14px;
   line-height: 14px;
   border-right: 2px solid #fff;
   padding-right: 15px;
}

.section__cta .banner .text p span {
   display: block;
   font-size: 36px;
   line-height: 36px;
}

@media screen and (max-width: 767px) {
   .section__cta {
      padding-top: 40px;
   }

   .section__cta h2 {
      font-size: 19px;
      line-height: 27px;
      margin: 0 -10px;
      padding: 2px 4px;
   }

   .section__cta .desc {
      font-size: 14px;
      line-height: 20px;
      padding-top: 15px;
   }

   .section__cta .banner {
      grid-template-columns: 1fr;
      padding-top: 20px;
   }

   .section__cta .banner a {
      height: 130px;
   }

   .section__cta .banner .text p {
      font-size: 12px;
   }

   .section__cta .banner .text p span {
      font-size: 30px;
   }

   .section__cta .banner .text h3 {
      font-size: 22px;
   }
}

/*=============================================
 * 当院について
 *=============================================*/
.about-section-group #top__doctor {
   background: transparent;
}

.about-section-group #top__doctor hr {
   border-top: 1px solid #7D9787;
   margin-top: 60px;
}

/* -- -- */
#greeting {
   padding-bottom: 60px;
}

#greeting h3 {
   padding-top: 30px;
}

#greeting .txt {
   padding-top: 30px;
}

#greeting .txt p+p {
   padding-top: 30px;
}

@media screen and (max-width: 767px) {
   #greeting {
      padding-bottom: 50px;
   }

   #greeting h3 {
      padding-top: 20px;
   }

   #greeting .txt {
      padding-top: 20px;
   }
}

/* -- -- */
#career {
   padding-bottom: 80px;
}

#career .wrap {
   background-color: #fff;
   border-radius: 30px;
   padding: 50px 100px;
}

#career .tb-style {
   padding-top: 30px;
}

@media screen and (max-width: 1023px) {
   #career .wrap {
      padding: 50px;
   }
}

@media screen and (max-width: 767px) {
   #career {
      padding-bottom: 50px;
   }

   #career .wrap {
      border-radius: 0;
      padding: 30px;
   }

   #career .tb-style {
      padding-top: 20px;
   }
}

/* -- -- */
#reason {
   padding-top: 80px;
}

#reason h2 {
   padding-bottom: 30px;
}

#reason h2:before {
   content: '';
   display: block;
   width: 40px;
   border-top: 2px solid #277455;
   margin: 0 auto 10px;
}

#reason .box {
   display: flex;
   align-items: center;
   gap: 80px;
}

#reason .box.img-r {
   flex-direction: row-reverse;
}

#reason .box:not(:last-child) {
   padding-bottom: 60px;
}

#reason .box figure {
   width: calc(100% - 500px);
}

#reason .box .text {
   width: 420px;
}

#reason .box h3 span {
   display: block;
   width: 70px;
   background-color: #277455;
   color: #fff;
   font-size: 33px;
   text-align: center;
   border-radius: 50%;
   margin-bottom: 8px;
   padding: 17px 0 18px;
}

#reason .box .txt {
   padding-top: 30px;
}

@media screen and (max-width: 1023px) {
   #reason .box {
      flex-direction: column;
      gap: 30px;
   }

   #reason .box.img-r {
      flex-direction: column;
   }

   #reason .box figure,
   #reason .box .text {
      width: 100%;
   }
}

@media screen and (max-width: 767px) {
   #reason h2 {
      padding-bottom: 20px;
   }

   #reason .box {
      gap: 20px;
   }

   #reason .box:not(:last-child) {
      padding-bottom: 40px;
   }

   #reason .box h3 span {
      width: 50px;
      font-size: 25px;
      margin: 0 auto 5px;
      padding: 8px 0 12px;
   }

   #reason .box .txt {
      padding-top: 20px;
   }
}

/*=============================================
 * ご利用案内
 *=============================================*/
.list-link ul {
   display: flex;
   justify-content: center;
   align-items: center;
   flex-wrap: wrap;
   gap: 20px;
}

.list-link a {
   display: block;
   width: 280px;
   border-radius: 10px;
   background-color: #fff;
   box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
   position: relative;
   padding: 22px 30px 23px 20px;
   box-sizing: border-box;
}

.list-link a:after {
   content: '';
   width: 20px;
   height: 20px;
   background: url("../img/common/icon-circle-down.svg") no-repeat center top/cover;
   position: absolute;
   top: 50%;
   right: 20px;
   transform: translateY(-50%);
}

.list-link a:hover {
   background-color: rgba(0, 0, 0, 0.16);
   opacity: 1;
}

/* -- -- */
#flow h2 {
   padding-bottom: 30px;
}

#flow .box {
   position: relative;
   padding: 20px 0;
}

#flow .box:before {
   content: '';
   width: 0;
   height: 100%;
   border-left: 3px dashed #7D9787;
   position: absolute;
   top: 0;
   left: 9px;
}

#flow .box .item {
   display: grid;
   grid-template-columns: 140px 1fr;
   align-items: flex-start;
   gap: 20px;
}

#flow .box .item:not(:last-child) {
   padding-bottom: 60px;
}

#flow .box .no {
   position: relative;
   top: 2px;
   padding-left: 40px;
}

#flow .box .no:before {
   content: '';
   width: 20px;
   height: 20px;
   background-color: #ED6D35;
   position: absolute;
   top: 6px;
   left: 0;
   border-radius: 50%;
}

#flow .box .txt {
   padding-top: 10px;
}

@media screen and (max-width: 767px) {
   #flow h2 {
      padding-bottom: 20px;
   }

   #flow .box {
      padding: 10px 0;
   }

   #flow .box .item {
      grid-template-columns: 1fr;
      gap: 10px;
   }

   #flow .box .item:not(:last-child) {
      padding-bottom: 40px;
   }

   #flow .box .no {
      padding-left: 30px;
   }

   #flow .box .no:before {
      top: 3px;
   }

   #flow .box .col {
      padding-left: 30px;
   }
}

/* -- -- */
#price .desc {
   padding-top: 30px;
}

#price .box-1 {
   padding: 30px 0 20px;
}

#price .box-1 dl {
   display: grid;
   grid-template-columns: 300px 1fr;
   max-width: 800px;
   font-weight: 500;
   border-radius: 10px;
   overflow: hidden;
}

#price .box-1 dl+dl {
   margin-top: 10px;
}

#price .box-1 dl dt,
#price .box-1 dl dd {
   padding: 20px;
}

#price .box-1 dl dt {
   text-align: center;
   background-color: #7D9787;
   color: #fff;
}

#price .box-1 dl dd {
   background-color: #fff;
}

#price .box-1 ul {
   display: flex;
   align-items: center;
   flex-wrap: wrap;
   gap: 10px;
   padding-top: 20px;
}

#price .box-1 ul li {
   width: 260px;
}

#price .box-1 ul a {
   display: block;
   background-color: #fff;
   border: 2px solid #08442C;
   color: #08442C;
   font-size: 16px;
   line-height: 24px;
   padding: 5px 18px;
   border-radius: 30px;
   position: relative;
}

#price .box-1 ul a:after {
   content: '';
   width: 23px;
   height: 23px;
   background: #fff url("../img/common/icon-download.svg") no-repeat center top/cover;
   border: 1px solid #fff;
   position: absolute;
   top: 5px;
   right: 5px;
   box-sizing: border-box;
   border-radius: 50%;
}

#price .box-1 ul a:hover {
   background-color: #08442C;
   color: #fff;
   opacity: 1;
}

#price .box-2 {
   display: grid;
   grid-template-columns: 150px 1fr;
   gap: 40px;
   background-color: #fff;
   border-radius: 20px;
   margin-top: 20px;
   padding: 40px 55px;
}

#price .box-2 figure {
   text-align: center;
}

#price .box-2 figcaption {
   padding-bottom: 10px;
}

#price .box-2 .list {
   display: grid;
   grid-template-columns: 62px 1fr;
   align-items: center;
   background-color: #F8F8F6;
   padding: 20px 25px;
}

#price .box-2 .list dd {
   line-height: 26px;
   padding-left: 20px;
   border-left: 1px solid #7D9787;
}

#price .box-2 .list ul li {
   background: url("../img/common/icon-checkmark-circled.svg") no-repeat top 6px left/16px auto;
   padding-left: 26px;
}

#price .box-2 .list ul li:not(:last-child) {
   padding-bottom: 8px;
}

#price .box-2 .num-1 {
   font-weight: 500;
   border-bottom: 1px solid #7D9787;
   padding: 10px 0;
}

#price .box-2 .num-2 {
   font-weight: 500;
   padding-top: 10px;
}

@media screen and (max-width: 1023px) {
   #price .box-2 {
      padding: 40px 30px;
   }
}

@media screen and (max-width: 767px) {
   #price .desc {
      padding-top: 20px;
   }

   #price .box-1 {
      padding-top: 20px;
   }

   #price .box-1 dl {
      grid-template-columns: 1fr;
   }

   #price .box-1 dl dt,
   #price .box-1 dl dd {
      padding: 10px;
   }

   #price .box-1 ul {
      justify-content: center;
   }

   #price .box-2 {
      grid-template-columns: 1fr;
      gap: 20px;
      padding: 20px;
   }

   #price .box-2 figure {
      width: 150px;
      margin: 0 auto;
   }

   #price .box-2 .list {
      grid-template-columns: 1fr;
      gap: 10px;
      padding: 20px;
   }

   #price .box-2 .list dt {
      text-align: center;
   }

   #price .box-2 .list dd {
      line-height: 20px;
      border-top: 1px solid #7D9787;
      border-left: 0;
      padding: 10px 0 0;
   }

   #price .box-2 .list ul {
      background-size: 12px auto;
      background-position: top 3px left;
      padding-left: 20px;
   }
}

/* -- -- */
#faq h2 {
   padding-bottom: 30px;
}

#faq .box h3 {
   border-left: 5px solid #C6EFD6;
   letter-spacing: 0.05em;
   line-height: 26px;
   padding-left: 10px;
}

#faq .list-qa {
   padding-top: 10px;
}

#faq .list-qa dl:not(:last-child) {
   padding-bottom: 20px;
}

#faq .list-qa dl dt {
   background-color: #E6EFE9;
   border-radius: 6px;
   padding: 19px 68px 19px 52px;
   position: relative;
   cursor: pointer;
}

#faq .list-qa dl dt:before {
   content: '';
   width: 22px;
   height: 22px;
   background: url("../img/common/icon-question.svg") no-repeat center top/cover;
   position: absolute;
   top: 50%;
   left: 20px;
   transform: translateY(-50%);
}

#faq .list-qa dl dt i {
   display: block;
   width: 15px;
   height: 15px;
   position: absolute;
   top: 50%;
   right: 20px;
   transform: translateY(-50%);
}

#faq .list-qa dl dt i:before,
#faq .list-qa dl dt i:after {
   content: '';
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   border-style: solid;
   border-color: #333;
   transition: all 0.3s;
}

#faq .list-qa dl dt i:before {
   width: 100%;
   height: 0;
   border-width: 3px 0 0;
}

#faq .list-qa dl dt i:after {
   width: 0;
   height: 100%;
   border-width: 0 0 0 3px;
}

#faq .list-qa dl dd {
   display: none;
   margin-top: 15px;
   padding: 0 68px 10px 65px;
   position: relative;
}

#faq .list-qa dl dd:before {
   content: '';
   width: 22px;
   height: 22px;
   background: url("../img/common/icon-answer.svg") no-repeat center top/cover;
   position: absolute;
   top: 0;
   left: 30px;
}

#faq .list-qa dl.is-active dt i:after {
   transform: translate(-50%, -50%) rotate(90deg);
}

#faq hr {
   border-top: 2px dashed #7D9787;
   margin: 30px 0;
}

@media screen and (max-width: 767px) {
   #faq h2 {
      padding-bottom: 20px;
   }

   #faq .list-qa dl:not(:last-child) {
      padding-bottom: 10px;
   }

   #faq .list-qa dl dt {
      padding: 10px 30px;
   }

   #faq .list-qa dl dt:before {
      left: 5px;
   }

   #faq .list-qa dl dt i {
      right: 8px;
   }

   #faq .list-qa dl dd {
      text-align: justify;
      margin-top: 10px;
      padding: 0 0 10px 30px;
   }

   #faq .list-qa dl dd:before {
      left: 5px;
   }
}

/*=============================================
 * 訪問診療とは
 *=============================================*/
#service__sec1 .wrap {
   display: grid;
   grid-template-columns: 420px 1fr;
   gap: 80px;
}

#service__sec1 .col {
   padding: 30px 0;
}

#service__sec1 h2 span {
   display: inline-block;
   letter-spacing: 0.05em;
   margin-bottom: 10px;
   padding: 2px 12px;
}

#service__sec1 .txt {
   padding-top: 30px;
}

@media screen and (max-width: 1023px) {
   #service__sec1 .wrap {
      grid-template-columns: 1fr;
   }

   #service__sec1 .col {
      padding: 0;
   }
}

@media screen and (max-width: 767px) {
   #service__sec1 .wrap {
      gap: 30px;
   }

   #service__sec1 .txt {
      padding-top: 20px;
   }
}

/* -- -- */
#service__sec2 .box {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 40px;
   padding-top: 40px;
}

#service__sec2 .box .col {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   align-items: center;
   gap: 20px;
}

#service__sec2 .box h3 {
   border-bottom: 2px solid #7D9787;
   padding-bottom: 10px;
}

#service__sec2 .box .txt {
   font-size: 16px;
   line-height: 24px;
   padding-top: 10px;
}

@media screen and (max-width: 1023px) {
   #service__sec2 .box {
      grid-template-columns: 1fr;
   }
}

@media screen and (max-width: 767px) {
   #service__sec2 .box {
      padding-top: 20px;
   }

   #service__sec2 .box .col {
      grid-template-columns: 1fr;
   }

   #service__sec2 .box .txt {
      font-size: 13px;
      line-height: 20px;
   }
}

/* -- -- */
#service__sec3 h2 span {
   letter-spacing: 0.05em;
   padding: 2px 12px;
}

#service__sec3 h3 {
   letter-spacing: 0.05em;
   padding-top: 40px;
}

#service__sec3 ul {
   background-color: #F8F8F6;
   line-height: 38px;
   margin-top: 10px;
   padding: 50px;
}

#service__sec3 ul li {
   border-bottom: 2px dotted #707070;
   margin-left: 36px;
   padding-bottom: 6px;
   position: relative;
}

#service__sec3 ul li:not(:last-child) {
   margin-bottom: 20px;
}

#service__sec3 ul li i {
   color: #7D9787;
   font-size: 28px;
   position: absolute;
   top: 2px;
   left: -36px;
}

#service__sec3 .desc {
   padding-top: 15px;
}

@media screen and (max-width: 767px) {
   #service__sec3 h3 {
      padding-top: 30px;
   }

   #service__sec3 ul {
      line-height: 26px;
      padding: 20px;
   }

   #service__sec3 ul li {
      margin-left: 25px;
   }

   #service__sec3 ul li i {
      font-size: 20px;
      left: -25px;
   }
}

/* -- -- */
#service__sec4 h3 {
   padding-top: 30px;
}

#service__sec4 .gmap {
   width: 100%;
   height: 500px;
   border-radius: 40px;
   border: 6px solid #fff;
   margin-top: 30px;
   overflow: hidden;
   box-sizing: border-box;
}

#service__sec4 .gmap iframe {
   display: block;
   width: 100%;
   height: 100%;
}

#service__sec4 .desc {
   padding-top: 30px;
}

@media screen and (max-width: 767px) {
   #service__sec4 .gmap {
      height: 300px;
   }

   #service__sec4 .desc {
      padding-top: 20px;
   }
}

/*=============================================
 * Contact
 *=============================================*/
.mailform {
   border-bottom: 2px solid #479D68;
}

.mailform__title {
   letter-spacing: 0.05em;
   line-height: 26px;
   border-left: 4px solid #479D68;
   padding-left: 10px;
}

.mailform__desc {
   padding-top: 30px;
}

.mailform__btn {
   padding-top: 20px;
}

.mailform__btn .btn-line {
   display: inline-block;
   max-width: 215px;
}

.mailform .tel {
   max-width: max-content;
}

.mailform hr {
   border-top: 2px dotted #333;
   margin: 50px 0;
}

.mailform .form-wrap {
   font-size: 16px;
   line-height: 24px;
   padding-top: 20px;
}

.mailform .form-row {
   background-color: #EAEFF1;
   border-radius: 10px;
   margin-bottom: 10px;
   padding: 20px 30px;
}

.mailform .form-row .caption {
   display: flex;
   align-items: center;
   gap: 6px;
}

.mailform .form-row .required,
.mailform .form-row .non {
   display: block;
   width: 46px;
   color: #fff;
   font-size: 12px;
   line-height: 24px;
   text-align: center;
   border-radius: 30px;
}

.mailform .form-row .required {
   background-color: #E1344C;
}

.mailform .form-row .non {
   background-color: #777;
}

.mailform .form-row .input {
   padding-top: 10px;
}

.mailform .form-row .subinput {
   padding-top: 5px;
}

.mailform .form-row .h-adr {
   display: flex;
   flex-wrap: wrap;
   align-items: flex-start;
   gap: 8px 40px;
}

.mailform .form-row .h-adr .col {
   width: 100%;
}

.mailform .form-row .h-adr .col-50 {
   width: calc(50% - 20px);
}

.mailform .form-privacy {
   margin: 40px auto 0;
   background-color: #fff;
   border: 1px solid #D9D9D9;
   padding: 15px 0;
}

.mailform .form-privacy .privacy-content {
   height: 350px;
   overflow-y: auto;
   padding: 0 40px;
}

.mailform .form-privacy .privacy-content .item+.item {
   padding-top: 30px;
}

.mailform .form-privacy-check {
   padding-top: 30px;
   text-align: center;
}

.mailform .form-privacy-check .wpcf7-checkbox {
   align-items: center;
}

.mailform .result_txt {
   display: block;
   word-break: break-all;
   white-space: pre-wrap;
}

.mailform .form-btn {
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 20px;
   padding-top: 60px;
}

.mailform .form-btn p {
   display: inline-flex;
   justify-content: center;
   align-items: center;
   width: 320px;
   height: 60px;
   background: #F8F6F2;
   border: 2px solid #ccc;
   color: #333;
   font-weight: 500;
   font-size: 15px;
   letter-spacing: 0;
   line-height: 26px;
   text-align: center;
   box-sizing: border-box;
   margin: 0;
   padding: 0;
   position: relative;
   z-index: 1;
   transition: all 0.3s;
   border-radius: 50px;
}

.mailform .form-btn p:after {
   font-family: "Font Awesome 6 Free";
   font-weight: 900;
   font-size: 15px;
   line-height: 1;
   letter-spacing: 0;
   position: absolute;
   top: 50%;
   right: 15px;
   transform: translateY(-50%);
}

.mailform .form-btn p:hover {
   background-color: #ccc;
}

.mailform .form-btn input,
.mailform .form-btn a {
   display: block;
   width: 100%;
   height: 100%;
   opacity: 0;
   position: absolute;
   top: 0;
   left: 0;
   cursor: pointer;
}

.mailform .form-btn .btn-prev {
   background: #ccc;
}

.mailform .wpcf7-spinner {
   display: none;
}

.mailform.confirm .form-row .input {
   padding: 7px 20px;
}

.mailform.thanks .txt {
   padding-top: 40px;
}

.mailform.thanks .txt p+p {
   padding-top: 30px;
}

.mailform.thanks .button {
   padding-top: 30px;
}

@media screen and (max-width: 767px) {
   .mailform .form-row {
      padding: 20px 10px;
   }

   .mailform .form-row .h-adr {
      gap: 10px;
   }

   .mailform .form-row .h-adr .col-50 {
      width: 100%;
   }

   .mailform .form-privacy {
      padding: 20px 0;
   }

   .mailform .form-privacy .privacy-content {
      padding: 0 20px;
   }

   .mailform .form-privacy-check {
      padding-top: 20px;
   }

   .mailform .form-btn {
      flex-direction: column;
      gap: 20px;
      padding-top: 40px;
   }

   .mailform .form-btn p {
      width: 100%;
   }

   .mailform.confirm .form-row .input {
      padding: 7px 10px;
   }

   .mailform.thanks .txt {
      text-align: justify;
      padding-top: 20px;
   }

   .mailform.thanks .txt p+p {
      padding-top: 20px;
   }

   .mailform.thanks .button {
      padding-top: 20px;
   }
}

/*=============================================
 * Post Type
*=============================================*/
.wp-pagenavi {
   display: flex;
   align-items: center;
   justify-content: flex-start;
   flex-wrap: wrap;
   gap: 10px;
   padding-top: 60px;
}

.wp-pagenavi .pages {
   display: none;
}

.wp-pagenavi span,
.wp-pagenavi a {
   display: block;
   width: 30px;
   height: 30px;
   background-color: #333;
   color: #fff;
   border: 1px solid #333;
   text-align: center;
   font-weight: 400;
   font-size: 15px;
   line-height: 28px;
   letter-spacing: 0;
   box-sizing: border-box;
}

.wp-pagenavi a:hover {
   background-color: #fff;
   color: #333;
   opacity: 1;
}

.wp-pagenavi .current {
   pointer-events: none;
   background-color: #fff;
   color: #333;
}

@media screen and (max-width: 767px) {
   .wp-pagenavi {
      gap: 5px;
      padding-top: 50px;
   }
}

/* -- -- */
.postype .wrap {
   display: grid;
   grid-template-columns: calc(100% - 300px) 250px;
   align-items: flex-start;
   gap: 50px;
}

.postype__item {
   display: grid;
   grid-template-columns: 210px 1fr;
   align-items: center;
   gap: 30px;
   border-bottom: 1px solid #7D9787;
   padding-bottom: 15px;
}

.postype__item figure a {
   display: block;
   padding-top: 66.66%;
   position: relative;
}

.postype__item figure a img {
   position: absolute;
   top: 0;
   left: 0;
}

.postype__item .cat {
   display: inline-block;
   vertical-align: middle;
   font-size: 13px;
   line-height: 19px;
}

.postype__item .cat a {
   display: block;
   background-color: #277455;
   color: #fff;
   border-radius: 2px;
   padding: 3px 10px;
}

.postype__item .cat a:hover {
   background-color: #333;
   opacity: 1;
}

.postype__item time {
   display: inline-block;
   vertical-align: middle;
   font-size: 16px;
   line-height: 24px;
   padding-right: 10px;
}

.postype__item .ttl {
   line-height: 26px;
   padding-top: 10px;
}

.postype__item .ttl a {
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 2;
   display: -webkit-box;
   overflow: hidden;
}

.postype__item+.postype__item {
   padding-top: 15px;
}

.postype__sidebar h3 {
   font-weight: 500;
   line-height: 26px;
   border-bottom: 1px solid #7D9787;
   padding-bottom: 10px;
}

.postype__sidebar ul {
   font-size: 15px;
   line-height: 20px;
   padding-top: 5px;
}

.postype__sidebar ul li {
   padding-top: 10px;
}

.postype__sidebar ul li a {
   display: grid;
   grid-template-columns: 6px 1fr;
   gap: 10px;
}

.postype__sidebar ul li a:before {
   content: '-';
}

.postype__sidebar ul li a:hover,
.postype__sidebar ul li a.current {
   color: #479D68;
   opacity: 1;
}

@media screen and (max-width: 1023px) {
   .postype .wrap {
      grid-template-columns: 100%;
   }
}

@media screen and (max-width: 767px) {
   .postype__item {
      grid-template-columns: 1fr;
      gap: 15px;
   }
}

/*=============================================
 * Post Detail
 *=============================================*/
.postype--details .featured_img {
   text-align: center;
   padding-bottom: 12px;
}

.postype--details time {
   display: block;
   color: #707070;
   font-size: 15px;
   line-height: 20px;
   border-bottom: 2px solid #ccc;
   padding: 10px 0;
}

.postype--details .cate {
   display: flex;
   flex-wrap: wrap;
   gap: 5px;
   font-size: 13px;
   line-height: 19px;
}

.postype--details .cate a {
   display: inline-block;
   background-color: #277455;
   color: #fff;
   border-radius: 2px;
   padding: 3px 10px;
}

.postype--details .cate a:hover {
   background-color: #333;
   opacity: 1;
}

.postype__title--details {
   padding-top: 5px;
}

.postype__content--details {
   font-size: 16px;
   line-height: 24px;
   padding-top: 30px;
}

.postype__content--details>*:not(h2, h3) {
   margin: 0 50px;
}

.postype__content--details h2 {
   background-color: #E6EFE9;
   font-weight: 700;
   font-size: 24px;
   letter-spacing: 0;
   line-height: 36px;
   padding: 12px 22px;
   margin-top: 50px;
   margin-bottom: 20px;
   border-left: 8px solid #277455;
}

.postype__content--details h3 {
   font-weight: 700;
   font-size: 20px;
   letter-spacing: 0;
   line-height: 30px;
   border-bottom: 2px solid #277455;
   border-left: 5px solid #277455;
   padding: 0 10px 6px;
   margin: 50px 25px 20px;
   box-sizing: border-box;
}

.postype__content--details h4 {
   font-weight: 700;
   font-size: 18px;
   letter-spacing: 0;
   line-height: 26px;
   margin: 50px 0 20px;
   border-left: 5px solid #277455;
}

.postype__content--details mark {
   background-color: #FFF6A8;
}

.postype__content--details h2+h3,
.postype__content--details h2+h4,
.postype__content--details h3+h4 {
   margin-top: 0;
}

.postype__content--details p img {
   display: inline-block;
   vertical-align: top;
   margin-right: 10px;
}

.postype__content--details p img.aligncenter {
   display: block;
   margin: 0 auto;
}

.postype__content--details p img.alignright {
   display: block;
   margin-left: auto;
}

.postype__content--details p img:last-child {
   margin-right: 0;
}

.postype__btn--details {
   display: flex;
   align-items: center;
   flex-wrap: wrap;
   gap: 10px;
   font-weight: 400;
   font-size: 15px;
   line-height: 21px;
   padding-top: 60px;
}

.postype__btn--details a {
   display: block;
   background-color: #010D1A;
   color: #fff;
   padding: 5px 8px;
}

.postype__btn--details a:hover {
   background-color: #277455;
   opacity: 1;
}

.postype--details #ez-toc-container {
   background-color: #fff;
   padding: 0;
   margin-top: 30px;
}

.postype--details #ez-toc-container .ez-toc-title-container {
   display: flex;
   align-items: baseline;
   background-color: #277455;
   border: 1px solid #277455;
   color: #fff;
   padding: 13px 20px;
   box-sizing: border-box;
}

.postype--details #ez-toc-container .ez-toc-title-container .ez-toc-title {
   color: #fff;
   font-family: "Rubik", sans-serif;
   font-weight: 500;
   font-size: 20px;
   line-height: 30px;
   background: url("../img/common/toc-title-deco.png") no-repeat center left/20px auto;
   padding-left: 30px;
   float: none;
}

.postype--details #ez-toc-container .ez-toc-title-container a.ez-toc-toggle {
   color: #fff;
   margin: 0;
   padding: 0;
   float: none !important;
}

.postype--details #ez-toc-container .ez-toc-title-container a.ez-toc-toggle:hover {
   text-decoration: none;
}

.postype--details #ez-toc-container .ez-toc-title-container .ez-toc-js-icon-con {
   width: auto;
   height: auto;
   color: #fff;
   font-weight: 500;
   font-size: 13px;
   letter-spacing: 0.1em;
   line-height: 20px;
   border: 0;
   float: none;
   left: 0;
}

.postype--details #ez-toc-container .ez-toc-title-container .ez-toc-js-icon-con:before {
   content: '【非表示にする】';
}

.postype--details #ez-toc-container .ez-toc-title-container .ez-toc-js-icon-con span {
   display: none;
}

.postype--details #ez-toc-container nav {
   background-color: #F9F9F9;
   border: 2px solid #277455;
   padding: 16px 30px;
}

.postype--details #ez-toc-container ul.ez-toc-list {
   font-weight: 500;
   font-size: 16px;
   line-height: 24px;
}

.postype--details #ez-toc-container ul.ez-toc-list a {
   font-size: inherit;
}

.postype--details #ez-toc-container ul.ez-toc-list a:before {
   font-size: 15px;
}

.postype--details #ez-toc-container ul.ez-toc-list>li {
   padding-bottom: 10px;
   padding-left: 15px;
   position: relative;
}

.postype--details #ez-toc-container ul.ez-toc-list>li:before {
   content: '\f0da';
   font-family: "Font Awesome 6 Free";
   font-weight: 900;
   font-size: 16px;
   line-height: 1;
   position: absolute;
   top: 5px;
   left: 0;
   color: #000;
}

.postype--details #ez-toc-container ul.ez-toc-list>li+li {
   border-top: 1px dashed #277455;
   padding-top: 10px;
}

.postype--details #ez-toc-container ul.ez-toc-list>li+li:before {
   top: 15px;
}

.postype--details #ez-toc-container ul.ez-toc-list li {
   font-size: inherit;
}

.postype--details #ez-toc-container ul.ez-toc-list li a {
   color: #333;
}

.postype--details #ez-toc-container ul.ez-toc-list li a:before {
   color: #9A9696;
   margin-right: 5px;
}

.postype--details #ez-toc-container ul.ez-toc-list ul {
   margin-left: 10px;
}

.postype--details #ez-toc-container ul.ez-toc-list ul li {
   padding-top: 5px;
}

@media screen and (max-width: 1200px) {
   .postype__content--details p img {
      display: block;
      margin: 0 auto 15px;
   }

   .postype__content--details p img:last-child {
      margin: 0 auto;
   }
}

@media screen and (max-width: 767px) {
   .postype--details .cate {
      font-size: 10px;
      line-height: 13px;
   }

   .postype--details .cate a {
      padding: 3px 10px;
   }

   .postype__content--details>*:not(h2, h3) {
      margin: 0 20px;
   }

   .postype__content--details h2 {
      font-size: 18px;
      padding: 10px 15px;
   }

   .postype__content--details h3 {
      font-size: 16px;
      margin: 20px 10px;
   }

   .postype__content--details h4 {
      font-size: 16px;
   }

   .postype__content--details p img {
      display: block;
      margin: 0 auto 15px;
   }

   .postype__content--details p img.alignright {
      margin: 0 auto 15px;
   }

   .postype__content--details p img:last-child {
      margin: 0 auto !important;
   }

   .postype__btn--details {
      padding-top: 40px;
   }

   .postype--details #ez-toc-container nav {
      padding: 16px;
   }

   .postype--details #ez-toc-container ul.ez-toc-list {
      font-size: 14px;
      line-height: 20px;
   }

   .postype--details #ez-toc-container ul.ez-toc-list>li:before {
      top: 4px;
   }

   .postype--details #ez-toc-container ul.ez-toc-list>li+li:before {
      top: 14px;
   }
}

/* -- -- */
.postype__gallery {
   padding: 30px 50px 0;
}

.postype__gallery .gallery-slider .swiper-slide p {
   width: 100%;
   padding-top: 56.25%;
   position: relative;
}

.postype__gallery .gallery-slider .swiper-slide p span {
   width: 100%;
   height: 100%;
   position: absolute;
   top: 0;
   left: 0;
}

.postype__gallery .gallery-slider .swiper-slide p span.img_short {
   background-size: cover !important;
}

.postype__gallery .gallery-slider .swiper-slide p span.img_long {
   background-size: auto 100% !important;
}

.postype__gallery .gallery-slider .swiper-slide p img {
   display: block;
   width: auto;
   height: auto;
   max-height: 100%;
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
}

.postype__gallery .gallery-thumbs {
   margin: 30px 0 0;
   padding: 0 45px;
   position: relative;
}

.postype__gallery .gallery-thumbs .swiper-slide {
   width: 25%;
   box-sizing: border-box;
   padding: 0 5px;
   cursor: pointer;
}

.postype__gallery .gallery-thumbs .swiper-slide p {
   width: 100%;
   padding-top: 56.25%;
   position: relative;
}

.postype__gallery .gallery-thumbs .swiper-slide p:after {
   content: '';
   width: 100%;
   height: 100%;
   background-color: rgba(51, 51, 51, 0.7);
   position: absolute;
   top: 0;
   left: 0;
   transition: all 0.3s;
}

.postype__gallery .gallery-thumbs .swiper-slide.swiper-slide-thumb-active p:after {
   opacity: 0;
}

.postype__gallery .gallery-thumbs .swiper-slide p span {
   width: 100%;
   height: 100%;
   position: absolute;
   top: 0;
   left: 0;
}

.postype__gallery .gallery-thumbs .swiper-button {
   width: 30px;
   height: 100%;
   border: 0;
   overflow: hidden;
   text-indent: -999px;
   cursor: pointer;
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   z-index: 1;
}

.postype__gallery .gallery-thumbs .swiper-button:before {
   content: '';
   width: 100%;
   height: 100%;
   position: absolute;
   top: 0;
   left: 0;
}

.postype__gallery .gallery-thumbs .swiper-button.swiper-prev {
   left: 0;
}

.postype__gallery .gallery-thumbs .swiper-button.swiper-prev:before {
   background: #333 url("../img/common/slider-prev.svg") no-repeat center left/100% auto;
}

.postype__gallery .gallery-thumbs .swiper-button.swiper-next {
   right: 0;
}

.postype__gallery .gallery-thumbs .swiper-button.swiper-next:before {
   background: #333 url("../img/common/slider-next.svg") no-repeat center right/100% auto;
}

@media screen and (max-width: 767px) {
   .postype__gallery {
      padding: 20px 10px 0;
   }

   .postype__gallery .gallery-thumbs {
      margin: 10px 0 0;
      padding: 0 25px;
   }

   .postype__gallery .gallery-thumbs .swiper-slide {
      width: 50%;
   }

   .postype__gallery .gallery-thumbs .swiper-button {
      width: 20px;
      height: 60px;
   }
}