/*html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, dialog, figure, footer, header,
hgroup, menu, nav, section,
time, mark, audio, video {
        -webkit-transition: 0.2s ease-in-out;
        -moz-transition: 0.2s ease-in-out;
        transition: 0.2s ease-in-out;
}*/
menu, nav{
        -webkit-transition: 0.3s ease-in-out;
        -moz-transition: 0.3s ease-in-out;
        transition: 0.3s ease-in-out;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}
a:link {color:#666;} 
a:visited {color:#666;} 
a:hover {color:#6a6f7a; text-decoration: none;} 
a:active {color:#666;} 
.arrow{
    position: relative;
    display: inline-block;
    padding: 0 0 0 1.2em;
    vertical-align: middle;
}
.arrow:hover {
    text-decoration: none;
}
.arrow::before,
.arrow::after{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
}
.arrow::before{
    width: 0.8em;
    height: 0.8em;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: #91a7d0;
}
.arrow:hover::before{
    background: #6a6f7a;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
.arrow::after{
    left: 0.2em;
    width: 0.2em;
    height: 0.2em;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.sp_only {display: none;}

body {
    font-family: 'Questrial', Verdana, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    color: #666;
}

.fixed {
    position:fixed;
    top:0;
    left:0;
    width:100%;
}

/* オーバーレイ */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
    z-index: 999;
}

/* ヘッダー */
header  {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#fff;
    /*box-shadow: 0 2px 5px rgba(0,0,0,0.26);*/
    z-index:9999;
    -webkit-user-select:none;
    -moz-user-select:none;
    user-select:none;
    border-bottom: 1px solid #efefef;
}
header .inner {
    position:relative;
    max-width:800px;
    margin:0 auto;
    padding:1em 0;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}
header h1 {
    float:left;
    width:15%;
    margin-top: 0.4em;
    font-size:3em;
    font-weight:bold;
    line-height: .3;
    color: #91a7d0;
}
header h1 span {
    font-size: 0.2em;
    color:#6a6f7a;
}

/* ナビゲーション */
header nav {
    float:right;
    width: 70%;
}
/* ナビゲーション：アクティブ時 */
header.navOpen nav {
        opacity: 1;
        right: 0;
}
header nav ul {
    width: 100%;
    /*border-top:1px solid #ccc;*/
}
header nav ul li {
    float:left;
    /*width: 20%;*/
    /*border-bottom:1px solid #ccc;*/
    list-style: none;
    padding-right: 1em;
}
header nav ul li:last-child {
    padding-right: 0;
}
header nav ul li a {
    position:relative;
    display:block;
    padding:1.5em 0.5em;
    color:#666;
    /*transition:color 0.3s linear 0 ;*/
    text-decoration:none;
    font-size: 90%;
}
header nav ul li a:hover {
    color: #91a7d0;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
/*header nav ul li a:before {
    position: absolute;
  top: 50%;
  right: 1.5em;
  display: inline-block;
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -4px;
  margin-right: -4px;
  vertical-align: middle;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
}*/

/* ナビゲーションアイコン */
header .navBtn {
        display: none;
        width: 30px;
        position: absolute;
        top: 24px;
        right: 15px;
        cursor: pointer;
}
header .navBtn span {
        display: block;
        height: 4px;
        width: 100%;
        background: #91a7d0;
        border-radius: 2px;
        -webkit-transition: all .5s ease-in-out;
        -moz-transition: all .5s ease-in-out;
        transition: all .5s ease-in-out;
}
header .navBtn span:nth-of-type(2),
header .navBtn span:nth-of-type(3) {
        margin-top: 5px;
}
/* ナビゲーションアイコン：アクティブ */
header.navOpen .navBtn span:nth-of-type(1) {
        -webkit-transform: translateY(9px) translateX(0) rotate(45deg);
        -ms-transform: translateY(9px) translateX(0) rotate(45deg);
        transform: translateY(9px) translateX(0) rotate(45deg);
}
header.navOpen .navBtn span:nth-of-type(2) {
        margin-top: 5px;
        opacity: 0;
        -webkit-transform: translateY(9px);
        -ms-transform: translateY(9px);
        transform: translateY(9px);
}
header.navOpen .navBtn span:nth-of-type(3) {
        -webkit-transform: translateY(-9px) translateX(0) rotate(-45deg);
        -ms-transform: translateY(-9px) translateX(0) rotate(-45deg);
        transform: translateY(-9px) translateX(0) rotate(-45deg);
}

#contents {
    max-width: 800px;
    margin:120px auto 0;
    padding:1em 1.5em;
    line-height:1.8;
}
h2 {
    font-size: 1.5em;
    margin: 2em 0 0.5em;
    text-align: center;
    overflow: hidden;
    color: #6a6f7a;
}
h2 span {
    position: relative;
    display: inline-block;
    margin: 0 2.5em;
    padding: 0 1em;
    text-align: left;
}
h2 span::before,
h2 span::after {
    position: absolute;
    top: 50%;
    content: '';
    width: 400%;
    height: 1px;
    background-color: #dedede;
}
h2 span::before {
    right: 100%;
}
h2 span::after {
    left: 100%;
}
h3 {
    font-size: 1.2em;
    margin: 2em 0 0.5em;
    position: relative;
    padding: 0 .5em 0 2em;
}
h3::before,
h3::after {
    position: absolute;
    content: '';
    border-radius: 100%
}
h3::before {
    top: .2em;
    left: .2em;
    z-index: 2;
    width: 18px;
    height: 18px;
    background: rgba(43, 98, 180, .5);
}
h3::after {
    top: .7em;
    left: .7em;
    width: 13px;
    height: 13px;
    background: rgba(167, 188, 228, .5);
}
h4 {
    font-weight: bold;
    margin: 1em 0 0.5em;
}
#contents p.text {
    margin-bottom:1em;
}
#contents #mainVisual img {
    width: 100%;
}

.inner {
    max-width: 800px;
    margin: 0 auto;
}

/*　フッター */
footer {
    background-color: #d5e0f3;
    padding: 20px;
    margin-top: 3em;
}
footer p, small {
    font-size: 0.6em;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
small { display: block; }

/************** top **************/

.news {
    width: 100%;
    overflow: hidden;
}
.news dt {
    width: 15%;
    float: left;
    clear: right;
    color: #91a7d0;
    font-weight: bold;
}
.news dd {
    width: 83%;
    float: right;
    margin-bottom: 1em;
}
.news dd .title { 
    margin-bottom: 0.5em; 
    font-weight: bold; 
}
.news dd:last-child {
    margin-bottom: 0;
}
.news dd ul li {
    padding-left:1em;
    text-indent:-1em;
}



/************** about **************/

#about .outline dt {
    margin-bottom: 0.5em;
    font-weight: bold;
}
#about .outline dd {
    margin-bottom: 2.5em;
}
#about .outline dd:last-child {
    margin-bottom: 0;
}
#about .outline dd ul li {
    padding-left:1em;
    text-indent:-1em;
}

/************** shampoo **************/
    
#shampoo .leadtext li {
    font-size: 1.2em;
    margin-bottom: 0.5em;
    font-weight: bold;
}
#shampoo .effect li, #shampoo .mechanism li {
    padding-left:1.5em;
    text-indent:-1.5em;
}


/* レスポンシブ */
@media screen and (max-width:800px){
    header .inner {
        padding: 0 1.5em ;
    }
    header h1 {
        width: 15%;
        margin-top: 0.5em;
        font-size: 2.5em;
    }
    header nav {
        width:80%;
    }
    #contents {
        margin-top:80px;
    }
}
@media screen and (max-width:640px){
    .sp_only {display: inline;}
    header .inner {
        padding: 1.5em;
    }
    header h1 {
        width: auto;
        margin-top: 0em;
        font-size:2em;
        line-height: .3;
    }
    header h1 span { 
        font-size: 7px;
        margin-left: 1px;
    }
    header .navBtn {
        display:block;
    }
    header nav {
            overflow:auto;
            position: fixed;
            top: 0;
            right: -70%;
            float:none;
            width: 70%;
            max-width:320px;
            height: 100%;
            background: #fff;
            opacity: 0;
            z-index:9999;
    }
    header nav ul li {
        float: none;
        width: auto;
    }
    #contents {
        margin-top:80px;
    }
    h2 {
    font-size: 1.5em;
    margin: 1em 0 1em;
    }
    h2 span {
    margin: 0 0.5em;
    padding: 0 0.25em;
    }
    h3 {
    font-size: 1.2em;
    margin: 1.5em 0 0.5em;
    }
    h4 {
    font-weight: bold;
    margin: 1em 0 0.5em;
    }
    /************** top **************/

    .news {
    width: 100%;
    overflow: hidden;
    }
    .news dt {
    width: 100%;
    float: none;
    clear: right;
    margin-bottom: 0;
    }
    .news dd {
    width: 100%;
    float: none;
    margin-bottom: 2em;
    }
    .news dd .title { 
    margin-bottom: 0;
    font-weight: bold; 
    }

    #shampoo .leadtext li {
    font-size: 1em;
    }
    #shampoo .effect li, #shampoo .mechanism li {
    font-size: 0.8em;
    }
}