@charset "UTF-8";
@import url("grid.css");

/*開発途中段階　非表示
-------------------------------------*/
.display_none{
  display: none !important;
}
.attention{
  border: 2px solid #ba0851;
  background: pink;
  padding: 2%;
  margin-bottom: 8%;
}
.attention p{
  color: #ba0851;
  font-size: 18px;
  margin-bottom: 0;
}
/* モバイル時に非表示 */
@media screen and (max-width: 768px){
  .mb_display_none{
    display: none
  }
}

/*ヘッダー
-------------------------------------*/
header{
  display: block;
  background: #4d4d4d;
  position: fixed;
  width: 100%;
  height: auto;
  margin-top: 0;
  top: 0;
  z-index: 99999;
}
.head {
	display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 2% 1%;
}
.head h1{
  display: block;
  font-size: 25px;
  line-height: 1.0em;
  text-shadow: none;
}
.head h1 a{
  color: #f2f2f2;
  text-decoration-line: none;
}
.head h1 a:hover{
  color: #ba0851;
}
.head h1 span{
  font-size: 65%;
}
.head .top_logo{
  display: block;
}

/* モバイル表示時 */
@media screen and (max-width: 768px){
  .head{
    padding: 5% 0;
    margin-bottom: 0;
  }
  .head h1{
    font-size: 5vw;
  }
  .head .top_logo{
    width: 10%;
    position: absolute;
    left: 50%;
    top: 25%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  }
}
/*ナビゲーション
-------------------------------------*/
.nav_toggle {
  display: block;
  border: none;
  position: absolute;
  top:  30%;
  right: 3%;
  width: 3rem;
  height: 2.5rem;
}
.nav_toggle i {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #f2f2f2;
  position: absolute;
  transition: transform .5s, opacity .5s;
}
.nav_toggle i:nth-child(1) {
  top: 0;
}
.nav_toggle i:nth-child(2) {
  top: 0;
  bottom: 0;
  margin: auto;
}
.nav_toggle i:nth-child(3) {
  bottom: 0;
}
.nav_toggle.show i:nth-child(1) {
  transform: translateY(10px) rotate(-45deg);
}
.nav_toggle.show i:nth-child(2) {
  opacity: 0;
}
.nav_toggle.show i:nth-child(3) {
  transform: translateY(-12px) rotate(45deg);
}
/* PC表示時 */
@media screen and (min-width: 769px){
  /* PC時はMENUボタンを非表示 */
  .nav_toggle {
    display: none !important;
  }
  nav ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
  }
  nav li {
    display: block;
    flex: 0 0 13%;
  }
  nav li a {
    display: block;
    text-decoration: none;
    text-align: center;
    color: #f2f2f2;
    font-size: 25px;
  }
  nav a:hover {
    text-decoration: none;
    color: #ba0851;
    background: #f2f2f2;
  }
  nav .menu{
    position: relative;
  }
  nav .menu li ul{
    list-style: none;
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    background: #f2f2f2;
    width: 1200px;
  }
  nav .menu li ul li{
    overflow: hidden;
    width: 85%;
    height: 0;
    color: #4d4d4d;
    -moz-transition: .2s;
    -webkit-transition: .2s;
    -o-transition: .2s;
    -ms-transition: .2s;
    transition: .2s;
    margin-left: 15%;
  }
  nav .menu li ul li a{
    color: #4d4d4d;
    text-align: left;
    font-size: 25px;
    font-weight: normal;
  }
  nav .menu li:hover > a{
    color: #ba0851;
    width: 100%;
  }
  nav .menu li:hover ul li{
    overflow: visible;
    height: 60px;
  }
  nav .menu li:hover ul li:first-child{
    margin-top: 4%
  }
  nav .menu li:hover ul li:last-child{
    margin-bottom: 3%;
  }
}
/* モバイル表示時 */
@media screen and (max-width: 768px){
  /* スマホ時はMENUボタンを表示 */
  .nav {
    position: fixed;
    right: -120%;
    transition: all 0.6s;
    background: #4d4d4d;
    width: 100%;
    margin-top: -1%;
  }
  .nav.show{
    right: 0;
  }
  nav ul {
	  flex-direction: column;
  }
  nav li {
    display: block;
    flex: 0 0 15%;
  }
  nav li a{
    display: block;
    text-decoration: none;
    text-align: left;
    color: #f2f2f2;
    padding: 3% 0 3% 5%;
    font-size: 25px;
  }
  nav .menu li:hover > a{
    text-decoration: none;
    color: #ba0851;
    background: #f2f2f2;
  }
  nav .menu{
    position: relative;
  }
  nav .menu li ul{
    overflow: hidden;
    height: 0;
    margin: 0;
    background: #f2f2f2;
    width: 100%;
    margin-top: -1%;
  }
  nav .menu li ul li a{
    color: #4d4d4d;
    text-align: left;
    font-size: 15px;
    font-weight: normal;
  }
  nav .menu li:hover ul{
    overflow: visible;
    height: auto;
  }
  nav .menu li:hover ul li:last-child{
    padding-bottom: 3%;
  }
}

/*フッター
-------------------------------------*/
footer {
  background-color: #4d4d4d;
  padding: 1% 0;
}
footer .sns_box{
  width: 300px;
  justify-content: space-between;
  margin: 0 auto 1%;
}
footer .footer_flex{
  display: flex;
}
.footer_clinic{
  display: block;
  width: 50%;
  margin: 0 5% 0 2%;
}
footer h1{
  display: block;
  text-shadow: none;
  margin-bottom: 3%;
  font-size: 50px;
  line-height: 0.8em;
}
footer a{
  color: #f2f2f2;
  text-decoration: none;
}
footer a:hover{
  color: #ba0851;
}
footer h1 span{
  font-size: 65%;
}
footer .footer_access p{
  color: #f2f2f2;
  margin-bottom: 0;
}
footer ul{
	display: flex;
  flex-direction: row;
  justify-content:center;
  list-style: none;
}
footer li {
  display: block;
  flex: 0 0 60%;
}
@media screen and (max-width: 768px){
  footer{
    padding: 5% 0 1%;
  }
  footer .sns_box{
    width: 100%;
  }
  footer .sns_box img{
    width: 40px;
    margin-right: 5%;
  }
  footer .footer_flex,
  footer ul{
    display: block;
  }
  .footer_clinic{
    width: 100%;
    margin: 0 0 10% 0;
  }
  footer h1{
    font-size: 10vw;
  }
  footer p{
    font-size: 12px;
  }
}

/*コピーライト
-------------------------------------*/
.copyright {
  text-align: center;
  color: #f2f2f2;
  margin-top: 5%;
}

/*　ページ下部固定ボタン
-------------------------------------*/
#fixed_btn {
  position: fixed;
  bottom: 25px;
  right: 5px;
  z-index:9999;
  display: block;
  }
#fixed_btn a {
  background: #4d4d4d;
  border: 2px solid #f2f2f2;
  color: #f2f2f2;
  width: 100px;
  height: 100px;
  border-radius:50%;
  text-align: center;
  font-size: 17px;
  padding: 35px 0 0 0;
}
#fixed_btn .web_btn{
  display: none;
}
#fixed_btn a:hover{
  background: #f2f2f2;
  color: #4d4d4d;
  border: 2px solid #4d4d4d;
}
@media screen and (max-width: 768px){
  #page_top_btn{
    display: none;
  }
  #fixed_btn .web_btn{
    display: block;
  }
  #fixed_btn a{
    background: rgb(77,77,77, 0.9);
  }
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
  display: block;
  margin: 5px auto 0;
  width: 900px;
}
.breadcrumb ul{
  display: flex;
  list-style-type: none;
  justify-content: flex-end;
}
.breadcrumb li {
  color: #4d4d4d;
  font-size: 15px;
}
.breadcrumb li::after{
  content: '\003e'; /*区切り文字*/
  display: inline-block;
  padding: 0 10px; /*左右に余白*/
}

.breadcrumb li:last-child::after{
  display: none;
}
.breadcrumb li a {
  display: inline-block;
  color: #4d4d4d;
}
.breadcrumb li a:hover{
  color: #ba0851;
}
@media screen and (max-width: 768px){
  .breadcrumb {
    width: 100%;
  }
  .breadcrumb li {
    font-size: 13px;
  }
  .breadcrumb ul{
    padding-right: 10px;
  }
}
/*ボタンエリア
-------------------------------------*/
.button_area{
  display: block;
  width: 450px;
  margin: 0 auto 20%;
}
.button_area .button_flex{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.button_area .button_center{
  display: flex;
  justify-content: center;
}
/* モバイル表示時 */
@media screen and (max-width: 768px){
  .button_area{
    width: 100%;
  }
  .button_area .button_flex{
    display: block;
  }
  .button_area input,
  .button_area .button{
    margin: 0 auto 8%;
  }
}
/* キャンセルポリシー
-------------------------------------*/
#policy_cancel,
#policy_privacy{
  margin-bottom: 10%;
}
#policy_cancel ol{
  margin-left: 5%;
  list-style: decimal;
  margin-bottom: 3%;
}
#policy_cancel ol ul{
  margin-left: 2%;
  font-weight: 500;
}
#policy_cancel .policy_cancel_title{
  font-weight: bold;
}
#policy_privacy ul{
  margin-left: 5%;
  list-style: disc;
  margin-bottom: 3%;
}
/* サイトマップ
-------------------------------------*/
#sitemap{
  margin-bottom: 10%;
}
#sitemap ul{
  margin-left: 5%;
  list-style: disc;
  font-size: 18px;
  line-height: 2.0em;
}
#sitemap ul li a{
  color: #4d4d4d;
  text-decoration: none;
}
#sitemap ul li a:hover{
  color: #ba0851;
}
/* エラー画面
-------------------------------------*/
#error{
	margin-top:10%;
}
