﻿@charset "utf-8";

/* =========================================================
   global
========================================================= */

.con-inner {
  width: 1000px;
  margin: 0 auto;
  position: relative;
}

@media screen and (max-width:768px) {
  .con-inner {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
  }
}


/* =========================================================
   メインイメージ
========================================================= */

.wave-image {
  width: 100%;
  height: 429px;
  min-width: 1000px;
}

#mainimage {
  width: 100%;
  height: 429px;
  background: url(../images/mainimage.jpg) top center no-repeat;
  min-width: 1000px;
}

@media screen and (max-width:768px) {
  #mainimage {
    width: 100%;
    height: 250px;
    background-size: cover;
    min-width: unset;
  }
  .wave-image {
    width: 100%;
    height: 250px;
    min-width: unset;
  }
}


/* =========================================================
   サブメニュー
========================================================= */

.subnav01 a {
  display: block;
  width: 200px;
  height: 40px;
  background: url(../images/submenu01_on.png) no-repeat 0 0;
}

.subnav02 a {
  display: block;
  width: 200px;
  height: 40px;
  background: url(../images/submenu02_on.png) no-repeat 0 0;
}

.subnav03 a {
  display: block;
  width: 200px;
  height: 40px;
  background: url(../images/submenu03_on.png) no-repeat 0 0;
}

@media screen and (max-width:768px) {
  #title nav {
    float: none;
    width: 100%;
  }

  .subnav01 a, .subnav02 a, .subnav03 a {
    width: 100%;
    height: auto;
    background-size: contain;
  }
}

@media screen and (max-width:599px) {
  #title nav ul{
    width: 200px;
    margin:0 auto;
  }
  #title nav li{
    float: none;
    width: 200px;
  }
}
/* =========================================================
   リード文
========================================================= */

.con-lead, .con-lead2 {
  padding-top: 40px;
}

.con-lead figure {
  float: left;
}

.con-lead div {
  width: 720px;
  float: right;
}

.con-lead div h1 {
  font-size: 24px;
  font-weight: 600;
  color: #339fd1;
  letter-spacing: 1.2px;
  padding-top: 20px;
  line-height: 38px;
}

.con-lead div p {
  font-size: 14px;
  line-height: 30px;
  padding-top: 30px;
}

.con-lead2 figure {
  float: left;
  position: relative;
  width: 280px;
}

.con-lead2 figure .fuki {
  position: absolute;
  right: -40px;
  top: -50px;
}

.con-lead2 div {
  width: 640px;
  float: right;
}

.con-lead2 div h1 {
  font-size: 24px;
  font-weight: 600;
  color: #339fd1;
  letter-spacing: 1.2px;
  line-height: 38px;
  background: url(../images/bg_tooth.png) right bottom no-repeat;
}

.con-lead2 div h1 span {
  display: block;
  margin-top: 12px;
  font-weight: 600;
}

.con-lead2 div p {
  font-size: 14px;
  line-height: 30px;
  padding-top: 30px;
}

.con-lead3 figure {
  float: left;
}

.con-lead3 div {
  width: 720px;
  float: right;
}

h1.cent {
  font-size: 20px;
  font-weight: 600;
  color: #339fd1;
  letter-spacing: 1.2px;
  line-height: 38px;
  text-align: center;
  padding-bottom: 40px;
}

.con-lead3 div h2 {
  font-size: 20px;
  font-weight: 600;
  color: #339fd1;
  letter-spacing: 1.2px;
  line-height: 38px;
  padding-top: 10px;
}

.con-lead3 div p {
  font-size: 14px;
  line-height: 30px;
  padding-top: 10px;
}

.con-jurai p {
  font-size: 16px;
  line-height: 30px;
  padding-top: 10px;
}

.con-lead .bigfont {
  font-size: 16px;
  line-height: 30px;
  padding-top: 10px;
}

p.centp {
  font-size: 14px;
  line-height: 30px;
  text-align: center;
  margin-top: -30px;
  padding-bottom: 40px;
}

h1.pdt40 {
  padding-top: 40px;
}

img.imgcent {
  display: block;
  margin: 0 auto;
}

@media screen and (max-width:768px) {
  .con-lead figure {
    float: none;
    text-align: center;
    margin-bottom: 30px;
  }
  .con-lead figure img {
    width: 100%;
    max-width: 200px;
  }
  .con-lead div {
    width: 100%;
    float: none;
  }
  .con-lead2 div {
    width: 100%;
  }
  .con-lead2 div h1 {
    margin-top: 20px;
  }
  .con-lead2 figure {
      margin: 0 auto;
      float: none;
  }
  .con-lead2 figure .fuki {
    right: -20px;
  }
  .con-lead2 figure img {
    width: 90%;
    max-width: 280px;
  }
  .con-lead3 div {
    width: 100%;
  }
  .con-lead3 figure {
    float: none; 
    text-align: center;
  }
}


/* =========================================================
   診療内容
========================================================= */

.con-treat {
  padding-bottom: 40px;
}

.con-treat h1 {
  text-align: center;
  padding-bottom: 40px;
}

.con-treat p {
  font-size: 14px;
  line-height: 30px;
  text-align: center;
  padding-bottom: 40px;
}

.con-treat .treat {
  max-width: 1400px;
  width: 100%;
}

.con-treat .treat a img:hover {
  border-radius: 136px;
  background: #42b9d0;
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  transition: all 200ms ease;
}

.con-treat .treat li {
  padding-right: 8px;
  float: left;
}

.con-treat .menu {
  padding-bottom: 40px;
}

.con-treat .menu figure {
  float: left;
}

.con-treat .menu div {
  width: 720px;
  float: right;
  padding-top: 50px;
}

.con-treat .menu h2 {
  font-size: 20px;
  font-weight: 600;
  color: #339fd1;
  letter-spacing: 1.2px;
  padding-bottom: 15px;
}

.con-treat .menu p {
  text-align: left;
  padding-bottom: 0px;
}

.btn_detail a {
  display: block;
  width: 200px;
  height: 40px;
  background: url(../../common/images/btn_detail_on.png) no-repeat 0 0;
  margin-top: 20px;
}

@media screen and (min-width:769px) {
  .con-treat .treat ul{
    display: flex;
    width: 80%;
    margin: auto;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
  }
  .con-treat .treat ul li{
    margin-right: 0;
    padding-right: 0;
  }
}
@media screen and (max-width:768px) {
  .con-treat .treat {
    width: 100%;
    margin-left: 0;
  }
  .con-treat .treat li {
    width: 33%;
    float: left;
    text-align: center;
    padding-right: 0;
    margin-bottom: 20px;
  }
  .con-treat .menu {
    text-align: center;
  }
  .con-treat .menu div {
    width: 100%;
    padding-top: 10px;
  }
  .btn_detail a {
    margin: 0 auto;
    margin-top: 20px;
  }
}

@media screen and (max-width:599px) {
  .con-treat .treat li {
    width: 50%;
  }
}


/* =========================================================
   ポイント
========================================================= */

.con-point {
  padding-bottom: 50px;
}

.con-point h1 {
  text-align: center;
  padding-bottom: 40px;
}

.con-point h2 {
  font-size: 18px;
  font-weight: 600;
  color: #339fd1;
  letter-spacing: 1.2px;
  padding-bottom: 15px;
}

.con-point div {
  width: 680px;
  float: right;
}

.con-point p {
  font-size: 14px;
  line-height: 30px;
}

.point {
  width: 840px;
  margin: 0 auto;
}

.point {
  border-radius: 15px;
  background: #eaf2f4;
  padding: 30px 40px;
}

.wh {
  background: #fff;
  padding: 35px 40px;
}

@media screen and (max-width:768px) {
  .point {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
  .con-point h1 img {
    width: 100%;
    max-width: 646px;
  }
  .con-point h1 img.microendo_img {
    width: 100%;
    max-width: 140px;
  }
  .con-point img.microendo_img02 {
    width: 100%;
    max-width: 1000px;
  }
  .con-point div {
    width: 100%;
    float: right;
  }
  .con-point img.imgcent {
    width: 100%;
    max-width: 560px;
  }
  .con-point h2 { 
    text-align: left;
  }
  .con-point p {
    text-align: left;
  }
  .point img.left{
    float: none;
  }
}


/* =========================================================
   施術比較
========================================================= */

.compare h1 {
  padding-bottom: 80px;
}

.compare div {
  padding-bottom: 40px;
}

.compare .photo {
  width: 460px;
}

.compare .photo figure {
  position: relative;
  padding-bottom: 40px;
}

.compare .photo figure span {
  position: absolute;
  top: -50px;
  left: 20px;
}

.compare .photo p {
  font-size: 14px;
  line-height: 30px;
}

.compare .arrow {
  width: 80px;
  text-align: center;
  padding-top: 120px;
}

@media screen and (max-width:768px) {
  .con-jurai img {
    width: 100%;
    max-width: 100%;
  }
}


/* =========================================================
   style
========================================================= */

.line {
  padding: 60px 0 50px 0;
}

@media screen and (max-width:768px) {
  .line {
    width: 100%;
    height: 28px;
    object-fit: cover;
    object-position: 0 100%;
  }
}