@charset "utf-8";


html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}

caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img{border: 0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
/* -------------------------------------------------------------- */

body{
    color:#3D3932;
    font:12px verdana,"ヒラギノ丸ゴ ProN W4","Hiragino Maru Gothic ProN","メイリオ","Meiryo","ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
    line-height:1.7;
    background:#fff;
    -webkit-text-size-adjust: none;
    font-family: 游ゴシック;

}

html{background:#FFB13B;}


/* リンク設定
------------------------------------------------------------*/
.name{color:#4EAB27;text-decoration:none;font-size:25px;
    font-weight:bold;
    line-height:130%;
    margin-top: -20px;}
a:hover{color:#FFB13B;}
a:active, a:focus{outline:0;}


/* 全体
------------------------------------------------------------*/
#wrapper{
    margin:0 auto;
    padding:0 1%;
    width:100%;
    position:relative;
}

.inner{
    margin:0 auto;
    width:100%;
}


/*************
/* ヘッダー
*************/
#header{
    overflow:hidden;
}

* html #header{height:1%;}


/*************
/* ロゴ
*************/
#header .logo{
    float:left;
    padding:25px 0 0;
}

logo.name{
    font-size:25px;
    font-weight:bold;
    line-height:150%;
}

.logo span{
    font-size:15px;
    font-weight:normal;
    color:#333;
}

.info{
    float:right;
    padding:30px 0 0;
}

.tel{
    font-size:15px;
    background:#FFB13B; /*背景色の指定*/
    padding:10px;
    color:#fff;
    margin-right: 20px;
    margin-bottom: 5px;
}

.tel2{
    line-height: 1.0;
}
.tel strong{
    font-size:30px;
    font-weight:bold;
}

/**************************
/* トップナビゲーション
**************************/
*{box-sizing: border-box;}

ul.topnav{
    background: linear-gradient(to right, #FFDE59,#FF914D );
    padding-right: 20%;
    text-align: right;
    width:100%;
    margin-top: 140px;
    display: flex;
    justify-content: right;
}

ul.topnav li{
    display: inline-block;
}

ul.topnav li a{
    display: block;
    padding: 1em;
    color: #fff;
    text-decoration: none;
}

ul.topnav a::first-line{
    font-size: 16px;
    font-weight: bold;
}

#topnav.fixed{
	position: fixed;/*fixedを設定して固定*/
    z-index: 999;/*最前面へ*/
    margin-top: 0px;
    top:0;/*位置指定*/
    left:0;/*位置指定*/
}


/**************************
/* メイン画像（トップページ+サブページ）●
**************************/


#mainBanner img{
    max-width:100%;
    height:auto;
}

/* パララックス用------------------------ */
.flex{
    display:-ms-flexbox;
    display:-webkit-box;
    display:flex;
}
.flex div{
      width:50%!important;
    font-size: medium;
}

.container {
  display: flex;
}

.parallax1 {
    background-image: url(images/げんき近見先生.JPG);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.parallax-container {
    overflow: hidden;
    position: relative;
    height: 50vh;
}

.parallax {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    position: absolute;
    top: 0;
}
/* ------------------------------------ */


/* 下からふわっと浮かぶ------------------- */
.fadeUp{
    animation-name:fadeUpAnime;
    animation-duration:1.5s;
    animation-fill-mode:forwards;
    opacity:0;
}

@keyframes fadeUpAnime{
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.fadeUpTrigger{
    opacity: 0;
}
/* ------------------------------------ */

/**************************
/* 説明文
**************************/
.about1 {
    font-size: 40px;
    font-weight: normal;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight:bold;
}

/*about2・3用アニメーション-------------------------------------------------*/
.about2 {
    font-size: 18px;
    font-weight: normal;
    text-align: left;
    margin-left: 80px;
    margin-right: 80px;
    margin-bottom: 40px;
    overflow: hidden;   /*左右アニメーションで画面からはみ出る際に出る横スクロールバーを隠す*/
}

.about3 {
    font-size: 30px;
    font-weight: bold;
    text-align: left;
    margin-top: 20px;
    margin-left: 10px;
    overflow: hidden;   /*左右アニメーションで画面からはみ出る際に出る横スクロールバーを隠す*/
}

.slide-in {
  overflow: hidden;
    display: inline-block;
}

.slide-in_inner {
  display: inline-block;

}

/*左右のアニメーション*/
.leftAnime{
    opacity: 0;/*事前に透過0にして消しておく*/
}

.slideAnimeLeftRight {
  animation-name:slideTextX100;
  animation-duration:1.0s;
  animation-fill-mode:forwards;
    opacity: 0;
}

@keyframes slideTextX100 {
  from {
  transform: translateX(-100%); /*要素を左の枠外に移動*/
        opacity: 0;
  }

  to {
  transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}

.slideAnimeRightLeft {
  animation-name:slideTextX-100;
  animation-duration:0.8s;
  animation-fill-mode:forwards;
    opacity: 0;
}


@keyframes slideTextX-100 {
  from {
  transform: translateX(100%);/*要素を右の枠外に移動*/
    opacity: 0;
  }

  to {
  transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}
/*-------------------------------------------------*/

.about4 {
    font-size: 17px;
    font-weight: normal;
    text-align: left;
    margin-bottom: 40px;
    margin-top: 20px;
    margin-left: 5px;
}

.about5 {
    font-size: 20px;
    font-weight: normal;
    text-align: center;
    margin-bottom: 20px;
}

.about6 {
    font-size: 25px;
    font-weight: normal;
    text-align: left;
    margin-left: 10px;
}

.clinicName{
    margin-bottom: 40px;
}

.time1{
    font-size: 17px;
    font-weight:bold;
}

.time2{
    font-size: 17px;
}

/*************
/* テーブル
*************/
th,td {
    border: solid 1px;  /* 枠線指定 */
    padding: 10px;      /* 余白指定 */
    text-align: center;
}

table {
    border-collapse: collapse; /* セルの線を重ねる */
    margin-right: 10px;
    width:90%;              /* 幅指定 */
}

th {
    background: #4EAB27;
    text-align: center;
    color: #ffffff;
}
td {
    background: #FFFCF0;
    text-align: center;
    color: #FF914D;
    border: solid 1px #FF914D;
}


/*************
/* フッター
*************/
#footer{
    clear:both;
    padding:20px 0;
    overflow:hidden;
    background:#FFB13B;
    border-top:1px solid #FFB13B;
}

* html #footer{height:1%;}

#footer a{color:#fff;}
#footer a:hover{color:#FFB13B;}

#footer .copyright{font-size:11px;}

/* フッター内のグリッド(3カラム) */
#footer .grid{
    color:#fff;
    background:transparent;
    text-align: right;
}

/* PC用●  */
@media only screen and (min-width:960px){
    #wrapper,.inner{
        width:960px;
        padding:0;
    }
    
    #wrapper{padding-bottom:20px;}
    
    #main{
        float:right;
        width:690px;
    }
}

/* モニター幅960px以下● */
@media only screen and (max-width:960px){
    h1 p.inner{padding:0 2%;width:96%}
    #header .logo{padding-left:10px;}
    #header .info{padding-right:10px;}
    
    ul#topnav{
        clear:both;
        width:100%;
    }
    
    ul#topnav li{
        width:33%;
        margin:0 0 5px;
        border-right:1px solid #FFB13B;
        box-sizing:border-box;
        -webkit-box-sizing:border-box;
        -moz-box-sizing:border-box;
    }
    
    ul#topnav li:nth-child(3n){border-right:0;width:34%;}
    
    ul#topnav li a{
        width:100%;
        border-top:0;
    }
    
    ul#topnav li:first-child a,ul#topnav li:last-child a{width:100%;}
    #footer{padding:0;}
}



/* iPad 縦 */
@media only screen and (max-width:768px){
    #mainBanner{padding:0px;}
}


/* スマートフォン 横(ランドスケープ) */
@media only screen and (max-width:640px){
    .grid{width:100%;}
    
    .grid img{
        float:none;
        margin:20px auto 10px;
    }
    
    .grid p{text-align:left;}
    
    img.frame,#gallery img{border-width:2px;}
    
    .alignleft,.alignright{
        float:none;
        display:block;
        margin:0 auto 10px;
    }
    
    #footer .grid p{text-align:center;}
}


/* スマートフォン 縦(ポートレート)● */
@media only screen and (max-width:480px){
    #header .logo{padding-top:10px;}
    .info{padding:10px 0 0;}
    ul#topnav li{width:50%;}
    
    ul#topnav li:nth-child(3n){
        border-right:1px solid #FFB13B;
        width:50%;
    }	
    ul#topnav li:nth-child(2n),ul#topnav li:nth-child(6n){border-right:0;}
    
    #mainBanner{margin-left:1px;}
    #mainBanner h2,#mainBanner h3{font-size:80%;}
}