@charset "utf-8";

/*----------------------header----------------------*/

header {
  height: 90px;
  width: 100%;
  background-color: rgba(255, 255, 255, 255);
  position: fixed;
  top: 0;
  z-index: 10;
  display: flex;
}

.logo {
  font-size: 25px;
  padding-left: 20px;
}

nav {
  margin: 0 0 0 40px;
}

ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

header a {
  color: #ffffff;
  text-decoration: none;
  display: block;
  line-height: 60px;
  padding: 10px 15px;
}

.sm {
  display: none;
}

.pc {
margin: 5px 40px 0 auto;
}
.pc2{
  padding: 0 40px 0 40px;
  background: rgb(255, 239, 247);
}
.pc2 a {
  padding: 0;
  right: 0;
}
.pc2 p {
  margin-top: -15px;
}

.top{  
  position: relative;
  width: 100%;
}
.top img {
margin-top: 70px;
}
.top p {
  position: absolute;
  top: 85%;
  left: 21.5%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin: 0;
  padding: 0;
  text-align: center;
  /* padding: 10px; */
  color: rgb(0, 0, 0);
  font-size: 23px;
  width: 30%;
}



#sample1{
  background-color: #bebebe;
  margin: auto;
  padding-top: 10px;
  padding-bottom: 1px;
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
  margin-top: -6px;
}


/*------------------------------------- 交通事故について---------------------------------------*/
#sample2{
  text-align: center;
  margin-bottom: 50px;
  font-size: 25px;
}
.sample2-2 p{
  font-size: 19px;
  text-align: left;
  margin-left: 9%;
}

.sample2_title{
  width: 30%;
  margin:0 auto 60px;
  font-size:29pt;
  color:#353535;
  font-weight:normal;
  letter-spacing:0.1em;
  position: relative;
  background: linear-gradient(transparent 60%, yellow 40%);/*文字の背景に色*/
  }

.sample2-1{
  position: relative;
}

  .sample2-1 p {
    position: absolute;
    top: 30%;
    left: 45%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin: 0;
    padding: 0;
    text-align: left;
    color: rgb(255, 255, 255);
    font-size: 30px;
    width: 60%;
}
#sample2 p span{
  color: rgb(255, 0, 0);
}

/*背景色有りの囲み*/
.box4{
  width: 20%;
  padding: 8px 19px;
  margin: 2em auto;
  color: #ffffff;
  background: rgb(255, 168, 212);

}
.box4 p {
  margin: 0; 
  padding: 0;
}

/*背景色有りの囲み影あり*/
.box5 {
  font-size: 25px;
  width: 80%;
  padding: 20px;
  margin: 2em auto;
  color: rgb(0, 0, 0);
  background: #ffffff;/*背景色*/
  border-top: solid 6px rgb(255, 168, 212);
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.32);/*影*/
  text-align: left;
}
.box5 p {
  margin: 0; 
  padding: 0;
}

h2 span {
  color: rgb(255, 0, 0);
}


 /*------------------------------------- 当院でしっかりと治しましょう ---------------------------------------*/
.too_title{
  width: 50%;
  font-size: 30px;
  padding: 10px 19px;
  margin: 0 auto 70px;
  color: #ffffff;
  background: rgb(255, 168, 212);
}

.too-1{
  position: relative;
}
.too-1 p{
    position: absolute;
    text-align: left;
    color: rgb(0, 0, 0);
    top:10%;
    left: 5%;
    padding: 30px;
    font-size: 25px;
    width: 80%;
    background-color: rgba(255, 255, 255, 0.685);
    line-height: 40px;
}


/*------------------------------------- 院長 ---------------------------------------*/
/* container */
.sample12{
  width:90%;
  margin: auto;
  text-align: center;
  margin-bottom: 50px;

}
.sample12 .sample12-1{
  max-width:100%;
  margin:0px auto;
}
/* content */
@media (min-width: 1080px) {
  .sample12 .sample12-1 .sample12-2{
      display: flex;
      align-items: center;
      justify-content: center;
  }
}
/* PC時のみ順番を入れ替える */
@media (min-width: 1080px) {
  .sample12 .sample12-2 {
      flex-direction:row-reverse;
  }
}
.sample12 .sample12-2-item {
  width:100%;
}
@media (min-width: 1080px) {
  .sample12 .sample12-2-item {
      width:50%;
  }
}
.sample12 .image{
  display:block;
  max-width:100%;
  margin:0px auto;
}
.sample12 .sample12-2-text{
  padding:50px;
  text-align: left;
  font-size: 25px;
}
.sample12 .sample12-2-text .sample12-2-heading{
  margin:0px 0px 40px 0px;
  font-size: 35px;
  font-weight: normal;
  text-align: left;
}

/*-----------------------------uk3分割-----------------------------*/
.a333 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-bottom: -8px;
}

.a333 .f3 {
  width: calc( (100%) / 3 ); 
  padding: 0px;
}
.f3 {
  position: relative;
}
.f3 img:hover {
  opacity: 0.5;
}
.f3 p {
  position: absolute;
  top: 37%;
  left: 39%;
  background-color: rgba(255, 255, 255, 0.685);
  padding: 10px;
  font-size: 20px;
}


/*---------------------------------------  メニューhtml -------------------------------------------------*/
/*---------------------------------------  自費メニュー -------------------------------------------------*/
.jihi_title {
  width: 20%;
  text-align: center;
  font-size: 30px;
  padding: 10px 19px;
  margin: 0px auto 40px;
  color: #ffffff;
  background: rgb(255, 168, 212);
}

#jihi p {
  text-align: center;
  margin-bottom: 50px;
  font-size: 25px;
}

.sample11-1 {
  display: flex;
  width: 90%;
  margin: auto;
}
.sample11-2 {
  width: 50%;
  margin: auto;
}
.sample11-3 {
  width: 50%;
  margin: auto;
  text-align: center;
  font-size: 25px;
}
@media screen and (max-width: 1080px) {
  .sample11-1 {
      display: block;
  }
  .sample11-1 .sample11-2 {
      width: 100%;
      margin: 0 auto;
  }
  .sample11-1 .sample11-3 {
    width: 100%;
    margin: 70px auto;
    font-size: 15px;
  }
}

/*---------------------------------------  美容メニュー -------------------------------------------------*/
.biyou_title {
  width: 30%;
  text-align: center;
  font-size: 30px;
  padding: 10px 19px;
  margin: 100px auto 60px;
  color: #ffffff;
  background: rgb(255, 168, 212);
}
.biyou p {
  text-align: left;
  margin-bottom: 50px;
  margin: 0 auto 20px 50px;
  font-size: 30px;
}
.biyoubox {
  padding: 0.5em 2em;
  margin:0 50px 90px 50px;
  border: solid 1px rgb(255, 168, 212);
  line-height: 40px;
  font-size: 25px;
}
.biyoubox p {
  margin: 0; 
  padding: 0;
}
.biyoubox span {
  color: rgb(255, 0, 0);
}



/*---------------------------------------  EMSダイエット質問 -------------------------------------------------*/
#ems{
  text-align: center;
  margin-bottom: 50px;
}

.ems_title{
  width: 27%;
  margin:0 auto 60px 50px;
  font-size:30px;
  color:#353535;
  font-weight:normal;
  letter-spacing:0.1em;
  position: relative;
  background: linear-gradient(transparent 60%, rgb(253, 253, 57) 40%);/*文字の背景に色*/
  }

  .emsbox{
    margin:0 auto 60px 50px;
  }

  .emsbox p{
    font-size: 20px;
  }

  .emsbox p span {
   color: rgb(255, 168, 212);
   font-size: 25px;
  }


/*---------------------------------------  値段 -------------------------------------------------*/
.money p{
  font-size: 25px;
  margin:60px auto 60px 50px;
  line-height: 40px;
}
.money p span{
  color: #ff0000;
}


/*---------------------------------------  耳つぼ -------------------------------------------------*/
.mm {
  text-align: left;
  margin-bottom: 50px;
  margin: 0 auto 20px 50px;
  font-size: 30px;
}
.mm2 {
  padding: 0.5em 2em;
  margin:0 50px 50px 50px;
  border: solid 1px rgb(255, 168, 212);
  line-height: 40px;
  font-size: 25px;
}





/*---------------------------------------  診療案内 -------------------------------------------------*/
.annnai_title {
  width: 20%;
  text-align: center;
  font-size: 30px;
  padding: 10px 19px;
  margin: 0px auto 80px;
  color: #ffffff;
  background: rgb(255, 168, 212);
}

#annnai p {
  text-align: center;
  margin: 50px;
  font-size: 25px;
}
#annnai span {
  color: #ff0000;
}

table {
  border-collapse: collapse;
}
.table1 {
  width: 80%;
  margin: auto;
  text-align: center;
}
td {
  border: 1px solid rgb(255, 168, 212);
  width: 1%;
  padding: 15px;
  font-size: 25px;
}
.noborder {
  border: 0px none;
}

#annnai2 {
  text-align: center;
  font-size: 25px;
  margin-top: 60px;
}
/*---------------------------------------  当院で事故 -------------------------------------------------*/

.jiko{
	background-color: rgb(255, 168, 212);
	padding: 50px;
	text-align: center;

}

@media (max-width: 1080px) {

.jiko{
	background-color: rgb(255, 168, 212);
	padding: 50px;
	text-align: left;
	margin: auto 20px;
}
}

.jiko h1 {
  position: relative;
  display: inline-block;
  padding: 0 45px;
	font-size: 50px;
	color:  #fff;
}

 @media (min-width: 1081px) {
.jiko h1:before, .jiko h1:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 44px;
  height: 2px;
  background-color: #fff;
  -webkit-transform: rotate(-60deg);
  transform: rotate(-60deg);
}
.jiko h1:before {
  left:0;
}

.jiko h1:after {
  right: 0;
}
}

.box29 {
    margin: 2em 0;
    background: #fff;
}

.box29 .box-title {
    font-size: 2.2em;
    background: #666666;
    padding: 4px;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.box29 p {
    padding: 50px 20px;
    margin: 0;
	line-height: 5ex;
}

.box29 p span{
    font-size: 30px;
	font-weight: bolder;
}



.triangle3{
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-top: 30px solid #fff;
margin: auto;
}


.slash {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
color: rgb(255, 168, 212);

}
 
.slash::before,
.slash::after {
  content: "";
  width: 25px;
  height: 1px;
  background-color: rgb(255, 168, 212);
;
  margin: 0px 4px 4px;
}
 
.slash::before {
  transform: rotate(45deg);
}
 
.slash::after {
  transform: rotate(-45deg);
}

.slash p{
color: rgb(255, 168, 212);
	font-size: 30px;
	
}

/*---------------------------------------  アクセス -------------------------------------------------*/
.access_title {
  width: 20%;
  text-align: center;
  font-size: 30px;
  padding: 10px 19px;
  margin: 0px auto 80px;
  color: #ffffff;
  background: rgb(255, 168, 212);
}

#access p {
  font-size: 25px;
  text-align: left;
  margin-bottom: 50px;
  margin-left: 10%;
}


.tel{
    display: flex;
    margin: 80px auto;
    flex-wrap: wrap;
    justify-content: space-around;
}


.tel .btn-surround {
width: calc( (80%) / 2 ); 
}

.btn-surround {
  display: inline-block;
  text-decoration: none;
  color: #FFF;
  border: 2px solid rgb(255, 168, 212);
  text-align: center;
  width: inherit;
  min-width: 250px;
  margin: 20px 30px;
  padding: 30px 16px;
  position: relative;
  opacity: 1 !important;
  transition: all 0.3s;
  font-size: 20px;
}
.btn-surround:before,
.btn-surround:after {
  content: "";
  display: block;
  position: absolute;
  background-color: rgb(255, 168, 212);
  top: 0;
  pointer-events: none;
}
.btn-surround:before {
  left: 0;
  width: 0;
  height: 2px;
}
.btn-surround:after {
  right: 0;
  width: 2px;
  height: 0;
}
.btn-surround:hover {
  background-color: rgb(255, 168, 212);
  color: rgb(255, 255, 255);
}
.btn-surround:hover:before {
  width: 100%;
  transition: width 0.2s 0.2s;
}
.btn-surround:hover:after {
  height: 100%;
  transition: height 0.1s 0.4s;
}
.btn-surround:hover span:before {
  width: 100%;
  transition: width 0.2s 0.5s;
}
.btn-surround:hover span:after {
  height: 100%;
  transition: height 0.1s 0.7s;
}
.btn-surround span:before,
.btn-surround span:after {
  content: "";
  display: block;
  position: absolute;
  background-color: rgb(255, 168, 212);
  bottom: 0;
  pointer-events: none;
}
.btn-surround span:before {
  right: 0;
  width: 0;
  height: 2px;
}
.btn-surround span:after {
  left: 0;
  width: 2px;
  height: 0;
}


.tizu {
  text-align: center;
  margin-bottom: 90px;
}


/*---------------------footer-----------------------*/
#footer{
  background-color: rgb(255, 168, 212);
  color: #fff;
font-size:15px;
text-align:center;
margin:0 auto;
padding-top:10px;
  padding-bottom:10px;
  line-height: 15px;
}


/*---------------------固定-----------------------*/

.kotei{
position:fixed;
right:20%;
top:10px;
}
