
/* ///////////////////////////////////////////////////////////////////
ヘッダー
/////////////////////////////////////////////////////////////////// */

.header{
    position: relative;

}

.header .top{
    width: 98%;
    padding: 2% 2% 1% 0;
    display: table;
    text-align: center;
    position: relative;
    margin: 0 auto;
}

.header .top .logo{
    display: table-cell;
    width: 30%;
    vertical-align: middle;
}

.header .top .logo img{
    width: 90%;
    margin: 1% auto;
    display: block;
}

.header .top nav{
    vertical-align: middle;
    display: table-cell;
    width: 70%;
    text-align: right;
}
.header .top nav ul{
    width: 100%;
    margin: 0;
}
.header .top nav li{
    padding: 0 15px;
    font-size: 1.2vw;
    font-weight: bold;
    width: auto;
    text-align: right;
    font-family: "游明朝";
}
.header nav ul li a{
    position: relative;
    transition: 0.3s;
}

.header .right{
    display: block;
    text-align: right;
    margin: 0 auto;
    width: 95%;
}
.header .right img{
    width: 12%;
    margin: 0 3px;
    padding: 0 3px;
    position: relative;
    transition-duration: 0.3s;
    vertical-align: middle;
}
.header .right .tel{
    margin: 0 1% 0 0;
    padding: 0 1% 0 0;
    position: relative;
}
.header .right .tel::after{
    content: "";
    position: absolute;
    border-right: solid 1px #000;
    height: 30px;
    right: 0;
}

.header a img:hover{
    transform: translateY(-10px);
    transition-duration: 0.5s;
    opacity: .5;
}

.header nav ul li a:hover{
    text-decoration: none
}
.header nav ul li a::after {
  position: absolute;
  bottom: -50%;
  left: 50%;
  width: 0%;
  height: 2px;
  background: #000;
  content: "";
  transition: 0.3s;
  transform: translateX(-50%);
}
.header nav ul li a:hover::after {
  width: 30%;
}



/* ///////////////////////////////////////////////////////////////////
ナビゲーション - 固定
/////////////////////////////////////////////////////////////////// */

.g-nav{
    width: 100%;
    z-index: 9999;
    position: relative;
    background: #000;
    opacity: 0.8;
    padding: 1% 0 0.2%;
    margin: -6.5% auto 0;
}

.g-nav-menu{
    text-align: center;
    display: inline-block;
    width: 70%;
}

.g-nav-menu li{
    color: #fff;
    padding: 0 2%;
    line-height: 3.5;
}

.g-nav-img{
    display: inline-block;
    width: 29%;
    text-align: left;
    vertical-align: middle
}

.g-nav-img li{
    width: 50%;
    vertical-align: middle
}

.g-nav-img li img{
    width: 90%;
}

.g-nav-img li a img:hover{
    transition-duration: 0.3s;
    transform: translateY(-5px);
    opacity: 0.6
}


.fixed{
    position: fixed;
    top: 0;
    left: 0;
    transform: translate3d(0, 87px, 0);
    transition: 0.6s;
    margin-top: 0
}
.fixed .g-nav-menu li{
    line-height: 80px;
}

.fixed .g-nav-menu li a{
    color: #fff;
    position: relative
}

.fixed .g-nav-menu li a::after {
  position: absolute;
  bottom: -40%;
  left: 50%;
  width: 0%;
  height: 4px;
  background: #aaa;
  content: "";
  transition: 0.3s;
  transform: translateX(-50%);
}
.fixed .g-nav-menu li a:hover::after {
  width: 30%;
}



/* ///////////////////////////////////////////////////////////////////
トップコンテンツ
/////////////////////////////////////////////////////////////////// */
#content-top{
    position: relative;
    margin: 2% 0 0 ;
}

#content-top h1{
    text-align: center;
    font-family: "游ゴシック";
    font-weight: 500;
    color: #826900;
    background-color: #eab875;
    padding: 5px 2% 10px;
    width: 25%;
    position: absolute;
    top:33%;
    z-index: 10;
}
#content-top h1 span{
    font-size: 2.5vw
}
#content-top h1 p{
    font-size: 1.2vw;
    margin: 0 ;
    color: #000;
}
#content-top .content-top{
    position: relative;
    margin-bottom: 3%;
    text-align: right;
}
#content-top .content-top img{
    width: 80%
}
#content-top .content-top p{
    text-align: right;
    font-size: 2vw;
    letter-spacing:3px;
    font-weight: bold ;
    margin: -4% 0 0;
    background: rgb(255, 255, 255, .7);
    display: inline-block;
    padding: 1% 2%;
}

/* ///////////////////////////////////////////////////////////////////
アーティクル
/////////////////////////////////////////////////////////////////// */

article{
    overflow: hidden
}

article h2{
    position: relative;
    text-align: center;
    background-color: #a19a8a;
    color: #fff;
    font-weight: 500;
    width: 93%;
    max-width: 1360px;
    margin: 60px auto 30px;
    background-image: url(../images/headline-1.png);
    background-repeat: no-repeat;
    background-position: 15% bottom;
    background-size: contain;
    padding: .4em 3%;
    font-size: 250%;
    font-weight: bold;
    letter-spacing: 3px;
}
article h2::before {
    position: absolute;
    content: '';
    top: 100%;
    right: 0;
    border: none;
    border-bottom: solid 20px transparent;
    border-left: solid 25px #56534c;
  }

/* ///////////////////////////////////////////////////////////////////
診療案内
/////////////////////////////////////////////////////////////////// */
#f-med{
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    background-image: url(../images/f-medical.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 30%;
}

#f-med h2{
    color: #c19b78;
    font-size: 2.5em;
    padding: 5px 1% 0;
    font-family: "游ゴシック";
    border-bottom: solid 2px #aaa;
    position: relative;
    width: 40%;
    display: table;
}
#f-med h2 span{
    text-align: right;
    color: #000;
    font-family: "游明朝";
    font-size: .7em;
    display: table-cell;
}
#f-med h2::before{
    content: "";
    border-bottom: solid 2px #c19b78;
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30%;
}

.f-med .med{
    text-align: center;
    padding: 0;
    width: 80%;
    margin: 0 0 0 auto;
}
.f-med .med img{
    width: 40%;
}
.f-med .med ul{
    margin: 0 0 5%;
    width: 100%;
}
.f-med .med ul li{
    display: table-cell;
    width: 16%;
    vertical-align: top;
}
.f-med .med li p{
    margin: 1% 0;
    font-weight: bold;
    font-family: "游ゴシック";
    position: relative;
    font-size: 1vw;
}
.f-med .med .img{
    width: 70%;
}
.f-med .med li p::after{
    content: '';/*何も入れない*/
    display: inline-block;
    width: 20px;/*画像の幅*/
    height: 12px;/*画像の高さ*/
    background-image: url(../images/arrow-big.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}
.f-med .med li a:hover{
    transition-duration: 0.3s;
    opacity: .6
}
.f-med .med a:hover img{
    transition-duration: 0.3s;
    transform: translateY(-8px);
}
/* ///////////////////////////////////////////////////////////////////
メディカル
/////////////////////////////////////////////////////////////////// */

#f-medical{
    width: 100%;
    margin: 0 auto 2%;
    padding-top:2% ;
    position: relative;
    z-index: 6;
    background: #fff
}

.f-medical{
    width: 90%;
    max-width: 1280px;
    margin:0 auto;
    position: relative;
    z-index: 6;
    background: #fff;
    position: relative
}

#f-medical h2{
    font-size:2.5em;
    text-align: center;
    letter-spacing: 3px;
    font-family: "游ゴシック";
}

#f-medical h2::first-letter{
    color: #b78000ff
}

#f-medical #three{
    display: inline-block;
    width: 33%;
    vertical-align: top;
    text-align: center
}

#f-medical .img{
    position: relative;
    width: 90%;
    max-width: 360px
}

#f-medical .img img{
    width: 100%
}

#f-medical .img p{
    position: absolute;
    color: #fff;
    letter-spacing: 2px;
    right: 50px;
    bottom: 15%;
    text-align: center
}

#f-medical .save .img p{
    right: 18%;
    bottom: 12%
}

#f-medical .arrage .img p{
    right: 12%;
    bottom: 15%
}

#f-medical .recovery .img p{
    right: 12%;
    bottom: 15%
}

#f-medical #three li{
    display: block;
    text-align: left
}

#f-medical .item a{
    font-size: 1.6vw;
    font-weight: bold
}

#f-medical .item p{
    margin: 5px 0 20px;
    padding-left: 25px
}

#f-medical .item a:hover{
    opacity: 0.6;
    transition-duration: 0.3s;
}

#f-medical .item a::before{
    font-family: "Font Awesome 5 Free";
    content: "\f138";
    margin-right: 10px;
    font-weight: bold;
    font-size: 15px;
    vertical-align: 3px
}

#f-medical .save a::before{
    color: #74ba87ff
}

#f-medical .save .item p{
    color: #74ba87ff
}

#f-medical .arrage a::before{
    color: #89b1f1e6
}

#f-medical .arrage .item p{
    color: #89b1f1e6
}

#f-medical .recovery a::before{
    color: #d8a373f3
}

#f-medical .recovery .item p{
    color: #d8a373f3
}


#f-medical .link{
    position: absolute;
    bottom: 10%;
    right: -5%;
    display: block;
    width: 70%
}

#f-medical .link a #box{
    font-weight: bold;
    width: 30%;
    margin: 0 5%;
    text-align: center;
    letter-spacing: 2px;
    padding:20px 0 10px;
    display: inline-block;
    vertical-align: middle
}

#f-medical .link a{
    color: #fff;
}

#f-medical .link a #box:hover{
    transition-duration: 0.3s;
    transform: translateY(-3px);
    opacity: 0.6
}

#f-medical .link #box img{
    width: 30px;
    margin: 0 auto 10px;
    display: block;
}

#f-medical .link #box span{
    font-size:1.5vw;
    font-family: "游明朝";
    letter-spacing: 5px
}

#f-medical .link #box .more{
    font-size:1vw;
    font-weight: normal;
    border-top:solid 1px #fff;
    width: 80%;
    margin: 10px auto 0;
    padding-top: 10px
}

#f-medical .link #box .more::after{
    font-family: "Font Awesome 5 Free";
    content: "\f054";
    margin-left: 15px;
    font-weight: bold;
    font-size: 0.5vw;
    vertical-align: 0.15vw
}

#f-medical .link a .box-1{
    background: #83b405ff
}

#f-medical .link a .box-2{
    background: #dd4145ff
}

#f-medical .link a #box.box-3 img{
    width: 100%;
    display: block;
}

/* ///////////////////////////////////////////////////////////////////
カテゴリー
/////////////////////////////////////////////////////////////////// */

#category{
    margin: 5% 0
}

#category .all-bg{
    background-image: url(../images/fotter-category-bg.png);
    background-position: center right;
    background-size: cover;
    height: 300px
}

#category ul{
    text-align: center;
    margin:-150px auto 0;
    width: 94%;
    max-width: 1500px;
}

#category ul li{
    width: 20%;
    max-width: 350px;
    padding: 0 5%;
    position: relative;
    vertical-align: top
}

#category ul li a:hover img{
    transition-duration: 0.3s;
    transform: translateY(-5px);
    opacity: 0.9
}

#category ul li a:hover span{
    transition-duration: 0.3s;
    transform: translateY(-5px);
}

#category ul li a:hover .more{
    transition-duration: 0.3s;
    transform: translateY(-5px);
}

#category ul li .bg{
    width: 100%;
    z-index: 0
}

#category ul li .icon{
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    z-index: 1;
}

#category ul li span{
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top:65%;
    z-index: 1;
    font-size: 120%;
    font-weight: bold;
    font-family: "游明朝";
    color: #fff;
    letter-spacing: 5px;
}

#category ul li span.intro{
    top:58%
}

#category ul li .more{
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom:7%;
    z-index: 1;
    font-size: 100%;
    color: #fff;
    letter-spacing: 3px;
    width: 50%;
    padding: 4% 0 0;
    border-top: solid 1px;
}

#category ul li .more::after{
    font-family: "Font Awesome 5 Free";
    content: "\f054";
    margin-left: 15px;
    font-weight: bold;
    font-size: .8vw;
    vertical-align: .25vw
}

#category ul .intyou .icon{
    width: 18%;
    top: 33%
}

#category ul .clinic .icon{
    width: 12%;
    top: 39%
}

#category ul .kyujin .icon{
    width: 14%;
    top: 40%
}

/* ///////////////////////////////////////////////////////////////////
フッター
/////////////////////////////////////////////////////////////////// */

#fotter{
    margin: 5% 0 0;
}

#fotter .info{
    text-align: center;
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

#fotter iframe{
    height: 500px;
}

#fotter .left, #fotter .right{
    width: 46%;
    vertical-align: top;
    padding: 0 2%
}

#fotter h2{
    border-bottom: solid 1px #000;
    position: relative;
    text-align: left;
    letter-spacing: 3px;
}

#fotter h2 span{
    font-family: "游ゴシック";
    font-size:100%;
}

#fotter h2 span c{
    color: #b78000ff;
}

#fotter h2 font{
    margin-left: 9%;
    vertical-align: 2px;
    font-size: 80%
}

#fotter h2::after {
  position: absolute;
    content: "";
  display: block;
  border-bottom: solid 3px #b78000ff;
  bottom: -2px;
  width: 20%;
}

#fotter .left .logo{
    width: 60%
}

#fotter .left h1{
    font-size: 120%;
    letter-spacing: 2px;
    font-weight: bold
}

#fotter .left .bus-car img{
    width: 50px;
    height: 50px;
    margin-right: 3%;
    vertical-align: -.6vw
}

#fotter .left .bus-car{
    font-size:1.1em;
    margin: 5% 0;
    letter-spacing: 5px
}

#fotter .left .bus-car font{
    font-size: 2em;
    color: #b78000ff;
    vertical-align: -6px
}

#fotter .map{
    font-size: 1.2vw;
    letter-spacing: 5px;
    width: 60%;
    margin: 15% auto 0;
    border-top:solid 1px;
    border-bottom: solid 1px;
    padding: 5% 0;
}


#fotter .map a::after{
    font-family: "Font Awesome 5 Free";
    content: "\f054";
    margin-left: 15px;
    font-weight: bold;
    font-size: .8vw;
    vertical-align: .25vw
}

#fotter .map:hover{
    transition-duration: 0.3s;
    transform: translateY(-3px);
    opacity: .6
}

#fotter .right li{
    width: 50%
}

#fotter .right li img{
    width: 90%;
    margin-bottom: 10%
}

#fotter .right li a:hover img{
    transition-duration: 0.3s;
    transform: translateY(-3px);
    opacity: .6
}

#fotter .right p{
    text-align: left;
    line-height: 2;
    letter-spacing: 2px
}

#fotter .schedule{
    width: 100%
}

#fotter .fotter{
    background: #f0eae4;
    padding: 50px
}

#fotter .fotter ul{
    width: 90%;
    max-width: 980px;
    margin: 0 auto;
    padding: 20px;
    border: solid 1px;
}

#fotter .fotter li{
    display: inline-block;
    width: 40%
}

#fotter .fotter h3{
    font-size: 1.3em;
    letter-spacing: 3px
}

#fotter .fotter .right{
    width: 50%;
    padding: 0 0 0 50px
}

#fotter .fotter ul p{
    display: inline-block;
    width: 50%;
    font-size: 16px;
    line-height: 1.5;
    font-weight: bold;
    text-align: left
}

#fotter .fotter .right p{
    width: 32%
}

#fotter .fotter a:hover{
    color: #aaa;
}

#fotter .fotter .copyright{
    text-align: right;
    margin: 1% 0 0;
    font-weight: bold
    
}
    
