@media screen and (max-width: 1080px){
    
/* ///////////////////////////////////////////////////////////////////
ヘッダー
/////////////////////////////////////////////////////////////////// */

.header .top nav li{
    padding: 0 1.6%;
    font-size: 1.6vw;
    border-right: solid 1px #aaa;
}
.header .top nav li:last-child{
    border: none;
}

#header{
    width: 90%;
    margin: 3% auto 4%;
}

#header li{
    width: 50%;
    vertical-align: middle
}

#header .left img{
    width: 90%;
    max-width: 550px
}

#header .right table{
    margin: 0 0 0 auto;
    width: 50%
}

#header .right img{
    width: 100%;
    display: block;
    padding: 10px 0
}

#header .right table .tel{
    border-bottom:solid 1px #000
}

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



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

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

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

.g-nav-menu li{
    color: #fff;
    padding: 0 1.6%;
    line-height: 3.5;
}
    
    .g-nav-menu li a{
        font-size: 1.4vw
    }

.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 h1{
    padding: 5px 2% 10px;
    width: 30%;
    position: absolute;
    top:30%;
    z-index: 10;
}
#content-top h1 span{
    font-size: 3.5vw
}
#content-top h1 p{
    font-size: 1.5vw;
}

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

article{
    overflow: hidden
}
    
article h2{
    position: relative;
    text-align: center;
    background-color: #a19a8a;
    color: #fff;
    font-weight: 500;
    width: 94%;
    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 0;
    font-size: 200%;
    font-weight: bold;
    letter-spacing: .25em;
    box-sizing: border-box
}


/* ///////////////////////////////////////////////////////////////////
メディカル
/////////////////////////////////////////////////////////////////// */
#f-med h2{
    width: 50%;
    margin: 0 0 3% 5%;
}
#f-med h2 span{
    font-size: .5em;
}
.f-med .med li p{
    font-size: 1.6vw;
}
.f-med .med li p::after{
    content: '';/*何も入れない*/
    display: inline-block;
    width: 10px;/*画像の幅*/
    height: 12px;/*画像の高さ*/
    background-image: url(../images/arrow-big.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    vertical-align: -2px;
}

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

#category{
    margin: 5% 0
}

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

#category ul{
    text-align: center;
    margin-top: -100px
}

#category ul li{
    width: 25%;
    max-width: 350px;
    padding: 0 4%;
    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:62%;
    z-index: 1;
    font-size: 1.8vw;
    font-weight: bold;
    font-family: "游明朝";
    color: #fff;
    letter-spacing: 5px;
}

#category ul li .more{
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top:78%;
    z-index: 1;
    font-size: 1.4vw;
    color: #fff;
    letter-spacing: 3px;
    width: 50%;
    padding: 4% 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: 22%;
    top: 28%
}

#category ul .clinic .icon{
    width: 15%;
    top: 33%
}

#category ul .kyujin .icon{
    width: 17%;
    top: 36%
}

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

#fotter{
    margin: 5% 0 0;
}

#fotter .info{
    text-align: center;
    width: 95%;
    margin: 0 auto 3%
}

#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: 110%;
}

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

#fotter h2 font{
    margin-left: 5%;
    vertical-align: 2px;
    font-size: 1.6vw;
    letter-spacing: 2px
}

#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: 100%;
    letter-spacing: 2px;
    font-weight: bold
    }
    
#fotter .info .left p{
    font-size: 10%;
}

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

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

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

#fotter .map{
    font-size: 1.5vw;
    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 .info .right p{
    text-align: left;
    line-height: 2;
    letter-spacing: 2px
}

#fotter .schedule{
    width: 100%
}
    
#fotter .fotter{
    background: #f0eae4;
    padding: 20px
}

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

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

#fotter .fotter h3{
    font-size: 120%;
    letter-spacing: 3px
}

#fotter .fotter .right{
    padding: 0 0 0 7% ;
    width: 43%
}


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

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

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