/**
 * index
 */

#index .bg-image-main {
    background: url(../img/index/top_bg.png) repeat;
}

#index .contents-header.cs-inner {
    margin: 0 auto;
    position: relative;
    height: 83.33333333%;
    text-align: center;
}

#index .contents-header img {
    width: 100%;
}

#index .contents-header nav {
    margin: 0 0 55px;
    padding: 0 46px;
}

#index h1 {
    margin: 0 0 36px;
}

#index .h1-sub {
    display: inline-block;
    margin: 0 0 106px;
}

#index .arrow-down {
    outline: none;
    text-decoration: underline;
    color: #000;
    display: inline-block;
}

#index .arrow-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

#index .top-menu {
    text-align: center;
    height: 71.66666666%;
    position: relative;
}

#index .top-menu .top-menu-wrapper {
    background: center top repeat-x;
    height: 100%;
    overflow: auto;
}

#index .cs-inner {
    padding: 0 30px;
}

#index .top-menu h2 {
    margin: 213px auto;
}

#index #topMenu01 .top-menu-wrapper {
    background-image: url(../img/index/top_h2_01_bg.jpg);
}

#index #topMenu02 .top-menu-wrapper {
    background-image: url(../img/index/top_h2_02_bg.jpg);
}

#index #topMenu03 .top-menu-wrapper {
    background-image: url(../img/index/top_h2_03_bg.jpg);
}

#index .menu-title img {
    width: 100%;
}

@media screen and ( max-width: 767px) {
    #index .bg-image-main {
        background: url(../img/index/top_bg_sp.png) repeat;
    }
    #index .contents-header.cs-inner {
        height: 83.33333333%;
        padding: 0 40px 10px;
    }
    #index .cs-inner {
        padding: 0;
    }
    #index h1 {
        margin
    }
    #index .h1-sub {
        display: inline-block;
        margin: 0 0 30px;
    }
    #index .top-menu h2 {
        margin: 0 auto;
    }
    #index #topMenu01 .top-menu-wrapper {
        background-image: none;
    }
    #index #topMenu02 .top-menu-wrapper {
        background-image: none;
    }
    #index #topMenu03 {
        border-bottom: #4a4a4a 1px solid;
    }
    #index #topMenu03 .top-menu-wrapper {
        background-image: none;
    }
}

/**
 * page01,02,03
 */

.page-mainvisual {
    background: center 0px;
    padding-top: 700px;
    position: relative;
}

.site-header {
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.site-header-inner {
    box-sizing: content-box;
    margin: 0 auto;
    position: relative;
    padding: 30px;
}

.site-header h1 {
    margin: 0;
}

.header-contents {
    position: absolute;
    top: 113px;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
    text-align: center;
    height: 587px;
    border-bottom: #242424 1px solid;
}

.header-contents .inner {
    position: relative;
    padding: 75px 0 0;
    height: 100%;
    box-sizing: border-box;
}

.header-contents .h2-sub {
    max-width: 893px;
    margin: 0 auto;
}

.header-contents h2 {
    max-width: 893px;
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate( -50%);
    text-align: center;
    display: block;
    width: 100%;
    padding: 0 30px;
}

.header-contents img {
    width: 100%;
}

#profile {
    background: #000;
    border-bottom: 1px solid #4a4a4a;
}

#profile .inner {
    margin: 0 auto;
    max-width: 1100px;
    padding: 60px 30px;
}

#profile .flex-item:first-of-type {
    margin-right: 60px;
}

#profile h3 {
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    line-height: 32px;
    margin: 0;
}

#profile p {
    color: #e1e1e2;
    font-size: 12px;
    line-height: 28px;
    margin: 0;
}

#contentsBody {
    background: #000;
    padding-bottom: 48px;
}

.block {
    padding: 60px 0 75px;
}

.block .inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 30px;
}

.block img {
    margin-bottom: 35px;
    width: 100%;
}

.block p {
    color: #fff;
    font-size: 16px;
    line-height: 32px;
    margin: 0;
}

#pageFooter {
    background: #e1e1e2;
    text-align: center;
}

#pageFooter .inner {
    max-width: 1200px;
    padding: 60px 30px;
    margin: 0 auto;
}

#pageFooter img {
    width: 100%;
    height: auto;
    display: block;
}

#pageFooter nav {
    margin-bottom: 50px;
}

#pageFooter .item {
    display: inline-block;
}

@media screen and ( max-width: 979px) {
    .rx-tcc-logo {
        flex: 0 0 40%;
    }
    .rx-tcc-logo img {
        width: 100%;
        max-width: 350px;
    }
    .site-header-inner h1 {
        flex: 0 0 45%;
    }
    .site-header-inner h1 img {
        width: 100%;
        max-width: 448px;
    }
}

@media screen and ( max-width: 767px) {
    .page-mainvisual {
        position: static;
        padding-top: 0;
    }
    .site-header {
        position: static;
    }
    .site-header-inner.flex {
        padding: 25px 15px 5px;
        flex-direction: column;
        align-items: flex-start;
    }
    .site-header-inner .rx-tcc-logo {
        flex: 0 0 100%;
        width: 100%;
        margin-bottom: 26px;
        text-align: center;
    }
    .site-header-inner .rx-tcc-logo img {
        width: 90%;
    }
    .site-header-inner h1 {
        flex: 0 0 100%;
        width: 100%;
        text-align: center;
    }
    p#menuButton {
        margin: 0;
        position: absolute;
        z-index: 1;
        -webkit-transform: translate3d( 0, 0, 1px);
        transform: translate3d( 0, 0, 1px);
        top: 10px;
        right: 10px;
        cursor: pointer;
    }
    p#menuButton img {
        width: 40px;
        border: 1px solid #A4A4A4;
        padding: 5px;
    }
    #spMenu {
        display: none;
    }
    #spMenu ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    #spMenu a {
        outline: none;
        text-decoration: none;
        color: #fff;
    }
    #spMenu li {
        border-bottom: 1px solid #404040;
        padding: 20px 0 20px 1em;
        display: inline-block;
        width: 100%;
        font-size: 12px;
        background: #1d1d1d;
        box-sizing: border-box;
    }
    #spMenu li:hover {
        background: #404040;
    }
    .header-contents {
        background-position: center -60px;
        position: static;
        background-size: 200%;
        height: auto;
    }
    .header-contents .inner {
        padding: 20px 0 0;
    }
    .header-contents .h2-sub {
        margin: 0 auto 30px;
    }
    .header-contents h2 {
        position: static;
        transform: none;
        padding: 0;
    }
    #profile .inner {
        flex-direction: column;
        padding: 60px 50px;
    }
    #profile .flex-item:first-of-type {
        margin-right: 0;
        margin-bottom: 30px;
    }
    #profile .flex-item:first-of-type img {
        display: block;
        margin: 0 auto;
        max-width: 250px;
        width: 100%;
    }
    #profile h3 {
        text-align: center;
    }
    #profile p {
        font-size: 14px;
        text-align: justify;
        text-justify: inter-ideograph;
    }
    .block {
        padding: 60px 20px 0;
    }
    .block .inner {
        padding: 0;
    }
    .block img {
        margin-bottom: 15px;
    }
    .block p {
        text-align: justify;
        text-justify: inter-ideograph;
    }
    #pageFooter .inner {
        padding: 0;
    }
    #pageFooter nav {
        margin-bottom: 20px;
    }
    #pageFooter .item {
        display: block;
    }
    #pageFooter img.rxProductBtn {
        display: block;
    }
}

@media screen and ( max-width: 639px) {
    .site-header-inner .rx-tcc-logo img {
        width: 70%;
    }
}

@media screen and ( max-width: 479px) {
    #profile .inner {
        flex-direction: column;
        padding: 40px 20px;
    }
    .site-header-inner {
        padding: 40px 15px 5px;
    }
}

/**
 * page01
 */

#page01 .page-mainvisual {
    background-image: url(../img/page01/page01_bg.jpg);
    background-color: inherit;
}

@media screen and ( max-width: 767px) {
    #page01 .page-mainvisual {
        background: none;
    }
    #page01 .header-contents {
        background-image: url(../img/page01/page01_bg.jpg);
    }
}

/**
 * page02
 */

#page02 .page-mainvisual {
    background-image: url(../img/page02/page02_bg.jpg);
    background-color: inherit;
}

@media screen and ( max-width: 767px) {
    #page02 .page-mainvisual {
        background: none;
    }
    #page02 .header-contents {
        background-image: url(../img/page02/page02_bg.jpg);
    }
}

/**
 * page03
 */

#page03 .page-mainvisual {
    background-image: url(../img/page03/page03_bg.jpg);
    background-color: inherit;
}

@media screen and ( max-width: 767px) {
    #page03 .page-mainvisual {
        background: none;
    }
    #page03 .header-contents {
        background-image: url(../img/page03/page03_bg.jpg);
    }
}
