@charset "utf-8";

/*========= レイアウトのためのCSS ===============*/

body{
  word-break: break-all;
}

/* HEADER */

#header{
position: relative;
z-index:999;
/*装飾のためのCSS*/
background:#222;
color: #f2f2f2;
display: flex;
justify-content: space-between;
align-items: center;
padding:5px 20px;
}

.Works{
  color: #CBA9F4;
}

/*全体のエリア設定*/

.ms-section{
color:#fff;
padding:20px;
}

.ms-section a{
color:#fff;
}

h1{
font-size:1.5rem;
}

h2{
font-size: 60px;
/* font-size:1.3rem; */
/* margin:0 0 20px 0; */
text-align: center;
font-family: 'Yomogi', cursive;
}
#right1 h2{
font-size: 100px;
text-align: center;
font-family: 'Yomogi', cursive;
}

p{
padding: 20px;
text-align: center;
font-family: 'Yomogi', cursive;
}

/*右にある丸ナビゲーション色*/

#multiscroll-nav span{
background:transparent!important;
border-color:#fff!important;
}

/*右にある丸のナビゲーション現在地色*/

#multiscroll-nav li .active span{
background:#fff!important;
}

/*右上のナビゲーション*/

#menu li {
display:inline-block;
margin: 10px;
}

#menu li a{
text-decoration:none;
color: #fff;
padding: 5px 10px;
display:block;
border-radius: 10px;
}

#menu li.active a{
color: #666;
}

/*左エリア画像設定*/

#left1{
background:url("../designimg/mainleft.svg") no-repeat center;
background-size:cover;
}
#left2{
background:url("../designimg/left.svg") no-repeat center;
background-size:cover;
}
#left3{
background:url("../designimg/left.svg") no-repeat center;
background-size:cover;
}
#left4{
background:url("../designimg/left.svg") no-repeat center;
background-size:cover;
}
#left5{
background:url("../designimg/left.svg") no-repeat center;
background-size:cover;
}

/*右エリア画像設定*/

#right1{
background:url("../designimg/mainright.svg") no-repeat center;
background-size:cover;
}

#right2{
background:url("../designimg/web.svg") no-repeat center;
background-size:cover;
}

#right3{
background:url("../designimg/branding.svg") no-repeat center;
background-size:cover;
background-color: azure;
}

#right4{
background:url("../designimg/graphic.svg") no-repeat center;
background-size:cover;
}

#right5{
background:url("../designimg/other.svg") no-repeat left;
background-size:cover;
}


/*＝＝＝＝＝＝＝＝＝＝＝タブレット以下の見え方＝＝＝＝＝＝＝＝＝＝＝＝＝*/

@media screen and (max-width:768px){

#header{
justify-content: center;
top: -10px;
}

/*全体のボックスについている余白をリセット*/
.ms-section{
padding:0;
}

/*天地中央になっている見せ方を上ぞろえに上書き*/
.ms-tableCell{
vertical-align:top;
}

/*右上ナビゲーションと右エリア非表示*/
#menu,
.ms-right{
display: none;
}

/*左エリアを横幅100%にして画像＋テキストを出す設定*/
.ms-left{
width:100%!important;
}

/*左エリア上部画像設定*/
.sp-top{
height:50%;
/* margin:0 0 20px 0; */
/* padding-bottom: 40%; */
}

#left1 .sp-top{
background:url("../designimg/main.svg") no-repeat center;
background-size:cover;
}

#left1 .sp-bottom{
  /* background:url("../designimg/main.svg") no-repeat center;
  background-size:cover; */
  background-color: #000;
  }


#left2 .sp-top{
background:url("../designimg/web.svg") no-repeat center;
background-size:cover;
}

#left3 .sp-top{
background:url("../designimg/branding.svg") no-repeat center;
background-size:cover;
}

#left4 .sp-top{
background:url("../designimg/graphic.svg") no-repeat center;
background-size:cover;
}

#left5 .sp-top{
background:url("../designimg/other.svg") no-repeat center;
background-size:cover;
}



/*左エリア下部テキスト余白設定*/
.sp-bottom{
padding:20px;
justify-content: center;
}

}

/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
  top:-120%;
    left:0;
  width:100%;
    height: 100vh;/*ナビの高さ*/
  background:rgb(64, 64, 65);
    /*動き*/
  transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    top: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/

#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);

}

/*リストのレイアウト設定*/

#g-nav li{
  list-style: none;
    text-align: center; 
}

#g-nav li a{
  color: #fff;
  text-decoration: none;
  padding:10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
  text-align: center;
}

/*========= ボタンのためのCSS ===============*/
.openbtn1{
  position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
  top:10px;
  right: 10px;
  cursor: pointer;
    width: 50px;
    height:50px;
}
  
/*×に変化*/  
.openbtn1 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
  background-color: #fff;
    width: 45%;
  }

.openbtn1 span:nth-of-type(1) {
  top:15px; 
}

.openbtn1 span:nth-of-type(2) {
  top:23px;
}

.openbtn1 span:nth-of-type(3) {
  top:31px;
}

.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}


/*================= copyright ===============*/
.copyright{
  color:#fff;
  text-align: center;
  font-size: 10px;
}

#footer{
  background:#000;
  padding:10px;
  position: absolute;
  bottom: 4%;
  width: 100%;
  left: -2.5%;
}

/*===モーダル表示のためのcss　*/

.hide-area{/*モーダル表示をする場所をあらかじめ隠す*/
  display: none;
}

.modaal-fullscreen .modaal-content-container{/*full画面の色設定*/
  background: #333;
  color: #fff;
  text-align: center;
}

.modaal-fullscreen .modaal-close{/*ボタンの色、位置*/
  background:none;
  right:20px;
}

/*クローズボタンの×の色変更*/
.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before{
  background:#666;
}

/*キャプション*/
.caption{
    display: block;
    padding: 10px 0;
}

/*===　サムネイル表示のためのcss　*/

.gallery{/*ベースになるギャラリーを横並びに*/
  display: flex;
    /* justify-content: space-between; */
    justify-content: center;

}

.gallery li{
  width:33.333%;
    padding: 0 10px;
}
.gallery a{
  display: inline-block;
  margin-top: auto;
}


/*画像の横幅を100%にしてレスポンシブ化*/
img{
  max-width:100%;
  height:auto;
  vertical-align: bottom;/*画像の下にできる余白を削除*/
}


