@charset "UTF-8";
/*
Theme Name: きたはら歯科医院
Author: KITAHARA DENTAL CLINIC きたはら歯科医院
*/
/*==========================================
frontページ
===========================================*/
#other_front .logo_h {
  margin: 0 auto;
  padding: 45px 0;
}

@media screen and (max-width: 768px) {
  #other_front .logo_h {
    position: inherit;
    -webkit-transform: translate(0);
            transform: translate(0);
  }
}

.logo_h a {
  position: relative;
  height: 53px;
}

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

@media screen and (max-width: 1200px) {
  #sp_front.sp_header .sp_logo {
    display: block;
  }
  #sp_front.sp_header .sp_logo_blue {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  #sp_front.sp_header .sp_logo_blue {
    display: none;
  }
}

.pc_header_sticky {
  height: 3000px;
}

.header_sticky_wrap {
  position: -webkit-sticky;
  position: sticky;
  top: 153px;
  z-index: 100;
}

#front {
  position: -webkit-sticky;
  position: sticky;
  top: 150px;
  margin-bottom: 10vh;
  -webkit-transition: all .5s;
  transition: all .5s;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  #front {
    top: 0;
    margin: 0;
    height: 100vh;
  }
}

.front_img_wrap {
  position: relative;
  top: -10px;
}

@media screen and (max-width: 1200px) {
  .front_img_wrap {
    top: 0;
  }
}

.front .front_img_wrap {
  top: -10px;
}

#front_bg {
  height: 100%;
}

#front_bg .front_bg_img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 40% 0%;
     object-position: 40% 0%;
}

#front_bg .front_bg_img.sp_positon_right {
  -o-object-position: 75%;
     object-position: 75%;
}

/* kokukanki =========*/
.koukanki {
  position: absolute;
  width: 100%;
  bottom: 40%;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
          transform: translate(-50%, 0);
}

.koukanki a {
  padding: 20px 28px 20px 20px;
  border: 1px solid #182982;
  background-color: white;
}

.koukanki a dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 40px 0 20px;
  font-size: 2.0rem;
  font-weight: 700;
}

.koukanki a dl dt {
  padding: 0 30px;
}

.koukanki a dl dt img {
  width: 75px;
}

.koukanki a dl dd {
  text-align: center;
}

.koukanki a p {
  text-align: right;
}

.koukanki .koukanki_br {
  display: none;
}

@media screen and (max-width: 1200px) {
  .koukanki {
    padding: 0px 100px;
  }
  .koukanki .koukanki_br {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .koukanki {
    padding: 0px 20px 0 50px;
    bottom: 10%;
  }
  .koukanki a dl {
    display: block;
    padding: 40px 0 40px;
  }
  .koukanki a dl dt {
    padding: 0 30px 30px;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .koukanki a p {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    text-align: center;
  }
  .koukanki .koukanki_br {
    display: none;
  }
}

.concept {
  position: relative;
}

.concept section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.concept section a {
  margin-top: auto;
  padding: 13px 0;
}

@media screen and (max-width: 768px) {
  .concept section a {
    margin-top: 40px;
  }
}

.about {
  position: relative;
  margin: 160px auto 0;
}

.about figure {
  position: absolute;
  width: 50%;
  height: 700px;
  top: -55px;
  right: 0;
  z-index: -10;
}

.about figure img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.about .about_txt {
  margin: 0 auto 70px;
  line-height: 1.9;
}

.about .about_link li a {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 332px;
  padding: 0 13px 20px 0;
  margin: 0 0 60px;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  overflow: hidden;
}

.about .about_link li a h2 {
  margin: 0;
  line-height: 1;
}

.about .about_link li a h2 span {
  padding: 0 0 26px;
}

.about .about_link li a:before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #182982;
  -webkit-transform: translateX(-100%);
          transform: translateX(-100%);
  -webkit-transition: 0.3s ease 0s;
  transition: 0.3s ease 0s;
}

.about .about_link li a:hover:before {
  -webkit-transform: translate(0);
          transform: translate(0);
}

.about .about_link li:nth-child(2) {
  margin-left: 11.9%;
}

.about .about_link li:last-child {
  margin-left: 23.6%;
}

.about .border_box_animation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 114px;
  padding: 35px 0;
}

.about .border_box_animation span {
  display: block;
}

@media screen and (max-width: 768px) {
  .about {
    margin: 30px auto;
  }
  .about .w1090 {
    max-width: inherit;
    padding: 0;
  }
  .about .about_txt {
    width: inherit;
  }
  .about figure {
    position: inherit;
    width: 100%;
    height: 480px;
  }
  .about .about_link {
    padding: 0 30px;
  }
  .about .about_link li a {
    width: 88%;
    padding: 0 0 20px;
    margin: 0 0 40px;
  }
  .about .about_link li a h2 {
    font-size: 7vw;
  }
  .about .about_link li a h2 span {
    padding: 0 0 20px;
  }
  .about .about_link li a .more {
    font-size: 3.3vw;
    margin-right: 10px;
  }
  .about .about_link li a .more .arrow_right {
    width: 12px;
    margin: 0 0 5px 5px;
  }
  .about .about_link li a:before {
    -webkit-transform: translate(0);
            transform: translate(0);
  }
  .about .about_link li:nth-child(2) {
    margin-left: 0;
  }
  .about .about_link li:nth-child(2) a {
    margin: 0 auto 40px;
  }
  .about .about_link li:last-child {
    margin-left: 0;
  }
  .about .about_link li:last-child a {
    margin: 0 0 40px auto;
  }
  .about .border_box_animation {
    margin-top: 40px;
  }
}

.subject {
  margin-top: 100px;
}

.subject ul li a {
  width: 100%;
}

.subject ul li a div {
  position: relative;
}

.subject ul li a div h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100%;
  text-align: center;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-writing-mode: vertical-lr;
      -ms-writing-mode: tb-lr;
          writing-mode: vertical-lr;
  font-size: 3.0rem;
}

.subject ul li a p {
  margin: 30px 0;
}

.subject ul li a .more {
  text-align: right;
  margin: 0 10px;
}

.subject ul li:first-child h3,
.subject ul li:last-child h3 {
  color: white;
}

@media screen and (max-width: 768px) {
  .subject {
    padding: 0 60px;
  }
  .subject ul li {
    margin: 0 0 70px;
  }
}

@media (-ms-high-contrast: none), (-ms-high-contrast: active) {
  /*　IEのみ */
  #front {
    top: 0;
  }
  .header_sticky_wrap {
    top: 0;
  }
}
/*# sourceMappingURL=front.css.map */