﻿@charset "UTF-8";

/*================================================
 *  CSSリセット
 ================================================*/
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,canvas,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent;font-weight:normal;}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}

/*================================================
 *  一般・共通設定
 ================================================*/
body {
	font-size:20px;
	color: #666;
	font-family:"メイリオ",Meiryo,"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	line-height:2;
    background-color: #fff;
    

}
a {
    text-decoration: none;    
}

h1 {
    margin: 15px;
    padding: 100px 0px;
    font-size: 36px;
    color: #fff;
    text-align: center;
    background: url(../images/MORO_MG_1856_TP_V.jpg) no-repeat bottom center;
    background-size: cover;
    
    position: relative;
    z-index: 1;
}

h1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.3;
    transition: all 0.25s ease;
    z-index: -1;
}

h1:hover::before {
    opacity: 0;
}

/*================================================
 *  ヘッダー
 ================================================*/
header {
    width: 400px;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    overflow-y: scroll;
    
    background-color: #ff0078;
}

header::-webkit-scrollbar {
    width: 10px;
}
header::-webkit-scrollbar-button {
    background-color: #343434;
    width: 10px;
}
 
header::-webkit-scrollbar-track {
    background-color: #ff0078;
    border-radius: 10px;
}
 
header::-webkit-scrollbar-thumb {
    background-color: #343434;
    border-radius: 10px;
}
    

#menuTop {
    display: block;
    background-color: #343434;
    color: #ccc;
    padding: 15px;
    text-align: center;
}
/*================================================
 *  ナビゲーション
 ================================================*/

nav {
    width: 100%;
}

#menu {
    margin: 0 auto;
}
#underMenu li,
#menu li {
    box-sizing: border-box;
    border-bottom: 1px solid rgba(0,0,0,0.2);    
}

#underMenu a,
#menu a{
    position: relative;
    padding: 15px 30px;
    display: block;
    color: #fff;
    
    z-index: 2;

    word-wrap: break-word;
    
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}

#underMenu a:visited,
#menu a:visited {
    color: #343434;
}
#underMenu a:hover,
#menu a:hover {
    color: #fff;
}
#underMenu a::before,
#menu a::before{
    content: "";
    position: absolute;
    display: block;
    z-index: -2;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #ccc;
    
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    transition: all 0.4s ease;
    
    -webkit-transform: rotateY(90deg);
    -moz-transform: rotateY(90deg);
    transform: rotateY(90deg);
    
    opacity: 0.3;
}

#menu a::after {
    content: "";
    position: absolute;
    top: 40%;
    right: 5px;
    display: block;
    width: 0px;
    height: 0px;
    border: 5px solid transparent;
    border-left: 10px solid #343434;
}
#menu a:hover::after {
    border-left: 10px solid #00B0CC;
}
#underMenu a:hover::before,
#menu a:hover::before{
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    transform: rotateY(180deg);
    opacity: 1;
}

#menuHoge {
    display: none;
}

/*================================================
 *  囲い
 ================================================*/

#contents {
    width: calc(100% - 400px);
    margin-left: 400px;
}

/*================================================
 *  メイン本文
 ================================================*/
#main {
    margin-top: 50px;
}

h2 {
    font-size: 24px;
    padding: 15px;
    background-color: #343434;
    background-image: url(../images/MORO_MG_1856_TP_V/.jpg);
    color: #00B0CC;
    text-align: center;
}

h3 {
  position: relative;
  color: #111;
  font-size: 25px;
  line-height: 1;
  margin: 30px 0 0 0;
  padding: 14px 5px 10px 10px;
}
h3:before {
  content: "";
  position: absolute;
  background: #999;
  top: 0;
  left: -5px;
  height: 12px;
  width: 12px;
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
h3:after {
  content: "";
  position: absolute;
  background:#777;
  top: 15px;
  left: -10px;
  height: 8px;
  width: 8px;
  -moz-transform: rotate(15deg);
  -webkit-transform: rotate(15deg);
  -o-transform: rotate(15deg);
  -ms-transform: rotate(15deg);
  transform: rotate(15deg);
}


.kiji {
    width: 70%;
    margin: 0 auto;
}

/*================================================
 *  本文リンク
 ================================================*/

p {
    margin-top: 30px;
}

p a {
    color: #FF0078;
}

p a:visited {
    color: #00B0CC;
}

p a:hover {
    color: #ccc;
}



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

footer {
    
    width: 100%;
    background-color: #343434;
    
    position: relative;
    z-index: 100;
}

.copyright {
    width: 100%;
    padding: 50px 0;
    
    text-align: center;
    color: #ccc;
}

/*================================================
 *  トップ行き
 ================================================*/

#totop {
    position: absolute;
    right: 5%;
    top: -30px;

    background-color: #343434;
    
    height: 50px;
    transition: all 0.5s ease;

}

#totop:hover {
    top: -40px;
}

#totop span{
    display: inline-block;
}

#totop a {
    color: #ccc;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    
    margin: 0 20px;
}

#totop img{
    display: inline-block;
    width: 20px;
    height: 20px;
}

#underMenu {
    display: none;
}


/*================================================
 *  タブレット向け
 ================================================*/
@media screen and (max-width:979px) {
    #underMenu {
        display: block;
        background-color: #00B0CC;
        margin-top: 50px;
    }
    
    
    #contents {
        margin-left: 50px;
        width: calc(100% - 50px);
    }
    
    h1 {
        margin: 15px;
        padding: 50px 0px;
        font-size: 24px;
    }  
    
    #menuHoge {
        -webkit-transition: all 0.5s ease-out;
        -moz-transition: all 0.5s ease-out;
        transition: all 0.5s ease-out;
        position: fixed;
        display: block;
        height: 100%;
        width: 50px;
        top: 0;
        left: 0;
        box-sizing: border-box;
        z-index: 200;
        
        background-color: #ff0078;
        color: #fff;
        cursor: pointer;
        
        box-shadow: 0px 5px 10px rgba(0,0,0,0.6);
    }
    
    header {
        -webkit-transition: all 0.5s ease-out;
        -moz-transition: all 0.5s ease-out;
        transition: all 0.5s ease-out;
        left: -400px;        
        z-index: 200;
        opacity: 0;
    }
    
    header.on {
        opacity: 1;
        left: 0;
    }
    
    #menuHoge span {
        writing-mode: tb-rl; /* IE独自仕様 */
        writing-mode: vertical-rl;
        -ms-writing-mode: vertical-rl;
        -webkit-writing-mode: vertical-rl;
        display: block;
        height: 100%;
        text-align: center;
        position: relative;
    }
    
    #menuHoge.on {
        background-color: #000;
        color: #ccc;
        left: 400px;
    }
    
    .kiji {
        box-sizing: border-box;
        width: 100%;
        padding-left: 0.3em;
        padding-right: 0.2em;
    }
    
    #cover {
        top: 0;
        position: fixed;
        z-index: 100;
        background-color: #000;
        display: none;
        opacity: 0.6;
        width: 100%;
        height: 100%;
        
    }
    #cover.on {
        display: block;
    }
}

/*================================================
 *  スマートフォン向け
 ================================================*/
@media screen and (max-width:767px){
    header {
        width: 80%;
        left: -80%;
    }
    
    #contents {
        margin-left: 30px;
        width: calc(100% - 30px);
    }
    h2 {
        padding: 10px;
        font-size: 20px;
    }
    
    #menuHoge {
        line-height: 20px;
        width: 30px;
    }

    #menuHoge.on {
        left: 80%;
    }
}