/* spとPCの切り替え設定 */
.u-view-sp{
	display: none !important;
}
@media screen and (max-width: 767px) {
	.u-view-sp{
		display: block !important;
	}
	.u-view-pc{
		display: none !important;
	}
}

/*! txt */
.cf:after,
.cf:before {
    content: "";
    display: table
}

.cf:after {
    clear: both
}

.cf {
    zoom: 1
}

html {
    position: relative;
    min-height: 100%;
    padding-bottom: 157px;
    box-sizing: border-box
}

body {
    margin: 0;
    color: #505152;
    background: #f3f5f6
}

* {
    letter-spacing: .05em;
    line-height: 1.4;
    box-sizing: border-box
}

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

a {
    color: #505152;
    text-decoration: none
}

/*! layout */
.wrapper {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto
}

#contents {
    width: 1000px;
    margin: 0 auto;
    padding-top: 60px;
    padding-bottom: 80px
}

#header {
    background: #4f77b3
}

#header .header-inner {
    position: relative;
    width: 1000px;
    margin: 0 auto;
    padding: 22px 0
}

#header .header-inner:before {
    position: absolute;
    top: 0;
    left: -40px;
    content: url(../img/bg_header01.png);
    width: 99px;
    height: 80px
}

#header .header-inner .login-name {
    float: right;
    display: table
}

#header .header-inner .login-name .name {
    display: table-cell;
    padding: 3px 15px;
    background: #cbd6e8;
    border-radius: 2px
}

#header .header-inner .login-name .small {
    display: table-cell;
    padding-left: 7px;
    padding-right: 15px;
    color: #fff;
    vertical-align: middle
}

#header .header-inner .logout {
    position: relative;
    float: right
}

#header .header-inner .logout:before {
    content: url(../img/arw_header01.png);
    position: absolute;
    top: 3px;
    left: 4px
}

#header .header-inner .logout a {
    display: block;
    padding: 5px 10px 5px 13px;
    font-size: 12px;
    color: #ddebff
}

#header .header-inner .logout a:hover {
    background: #2c528b;
    border-radius: 2px
}

#header .header-inner .right {
    position: relative
}

#header .header-inner .right .right-top {
    display: block;
    color: #fff;
    line-height: 1.4;
    margin-top: -5px;
    margin-bottom: 5px;
    text-align: right
}

#header .header-inner .right .right-top span {
    vertical-align: top;
}

#header .header-inner .right .right-top .themes {
    max-width: 400px;
    display: inline-block;
    vertical-align: top;
    text-align: left;
    line-height: 1.6;
}

#header .header-inner .right .right-bottom {
    /*position:absolute;*/
    right: 0
}

#footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 157px;
    padding: 20px 0 0;
    border-top: 1px solid #c5cad0
}

#footer .footer-inner {
    width: 1000px;
    margin: 0 auto;
    padding-bottom: 20px
}

#footer .footer-inner .footer-info {
    line-height: 1.6
}

#footer .footer-inner .footer-info .projectName {
    font-size: 16px;
    line-height: 1.6
}

#footer .copyright {
    padding: 10px 0;
    background: #c5cad0;
    color: #606162;
    font-size: 11px;
    text-align: center
}

@media screen and (max-width: 767px) {
    html{
        overflow-x: auto;
    }
    body{
        min-width: 320px;
        overflow: hidden;
    }
    #header .header-inner{
        position: relative;
        width: 100%;
    }
    #contents{
        box-sizing: border-box;
        width: 100%;
        padding: 40px 20px;
    }
    #footer .footer-inner{
        box-sizing: border-box;
        width: 100%;
        padding: 0 20px 20px;
    }
    #header .header-inner .logo {
        width: 218px;
        padding-left: 20px;
    }
    #header .header-inner .sp-nav-button {
        position: absolute;
        width: 20px;
        height: 19px;
        top: 50%;
        -webkit-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
                transform: translateY(-50%);
        right: 20px;
        cursor: pointer;
      }
      #header .header-inner .sp-nav-button span {
        display: block;
        position: absolute;
        width: 20px;
        height: 3px;
        left: 0;
        border-radius: 3px;
        background: #fff;
      }
      #header .header-inner .sp-nav-button span:nth-child(1) {
        top: 0px;
      }
      #header .header-inner .sp-nav-button span:nth-child(2) {
        top: 8px;
      }
      #header .header-inner .sp-nav-button span:nth-child(3) {
        top: 16px;
      }
      #header .header-inner .sp-nav-button.is-active span:nth-child(1) {
        top: 5px;
        -webkit-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
                transform: rotate(45deg);
      }
      #header .header-inner .sp-nav-button.is-active span:nth-child(2) {
        opacity: 0;
      }
      #header .header-inner .sp-nav-button.is-active span:nth-child(3) {
        top: 5px;
        -webkit-transform: rotate(-45deg);
            -ms-transform: rotate(-45deg);
                transform: rotate(-45deg);
      }
      #header .header-inner .right{
          position: absolute;
          display: none;
          top: 80px;
          left: 0;
          right: 0;
          height: 60px;
      }
      #header .header-inner .right.is-active{
        display: block;
        border-top: 1px solid #fff;
        background: #4f77b3;
        padding-top: 12px;
      }
}
