@charset 'UTF-8';
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);

html,
html * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
	margin: 0px;
	font-family: aktiv-grotesk,'游ゴシック体','Yu Gothic',YuGothic,'Hiragino Kaku Gothic ProN',Osaka,'ＭＳ Ｐゴシック',sans-serif;
  font-size: 14px;
  color: #333333;
  line-height: 2em;
  letter-spacing: 0.3px;
  background-color: #f5f5f5;
  animation: fadeIn 1.5s ease 0s 1 normal;
}

  @keyframes fadeIn {
    0% {
      opacity: 0
    }

    100% {
      opacity: 1
    }
  }


h2 {
  margin: 0px;
  padding: 20px 0 0 0;
  font-family: aktiv-grotesk,'游ゴシック体','Yu Gothic',YuGothic,'Hiragino Kaku Gothic ProN',Osaka,'ＭＳ Ｐゴシック',sans-serif;
  font-size: 14px;
  color: #adadad;
  line-height: 2em;
  letter-spacing: 0.3px;
  font-weight: normal;
}

h3 {
  margin: 0px;
  padding: 20px 0 0 0;
  font-family: aktiv-grotesk,'游ゴシック体','Yu Gothic',YuGothic,'Hiragino Kaku Gothic ProN',Osaka,'ＭＳ Ｐゴシック',sans-serif;
  font-size: 14px;
  color: #333333;
  line-height: 2em;
  letter-spacing: 0.3px;
  font-weight: normal;
}

p {
  margin-top: 100px: 
}

small {
  line-height: 1.8em !important;
  font-size: smaller;
  display: inline-block; /* 親要素からの影響を切り離す */
}


.mail a {
  color: #25559f;
  text-decoration: none;
  padding: 6px;
  border-bottom: 1px solid #25559f;
}

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

#container {display: none;}
#loading {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background-color: #f5f5f5;
  transition: all 1s;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}


#about h2, #contact h2 {
  margin-top: 20px !important;
  margin-bottom: 0px !important;
}



#about p, #contact p, #about h3, #contact h3 {
  margin-top: 20px !important;
  margin-bottom: 0px !important;
}


/* ヘッダー */
header {
	align-items: center; /*IE用*/
	padding:30px 34px 20px 34px;
	background: #f5f5f5;
	display: flex;
	height: 100px;
}


header .inner {
	margin: auto;
	max-width: 100%;
	width: 100%;
}

header .flexbox {
	align-items: center;
	display: flex;
	justify-content: space-between;	
}

#logo {
	width: 120px;
  position: fixed;
  padding-top: 10px;
}

.arrow {
  position: fixed;
  top: 34px;
  right: 30px;
  width: 61px;
  padding-top: 10px;
  justify-content: center;
  align-items: center;
  z-index: 98;
  cursor: pointer;

}


@media screen and (max-width: 480px) {
  header {
    padding:20px 24px 10px 24px;
    background: #f5f5f5;
    display: flex;
    height: 80px;
  }
  #logo {
    width: 100px;
  }
  .arrow {
  position: fixed;
  top: 34px;
  right: 24px;
  width: 61px;
  padding-top: 0px;
  }
}


/* ここから下がハンバーガーメニュー*/

/*チェックボックス非表示*/

.drawer-hidden {
    display: none;
}


/*三本線表示*/

.drawer-open {
    display: flex;
    position: fixed;
    top: 34px;
    right: 30px;
    height: 40px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 98;
    cursor: pointer;
}

.drawer-open span,
.drawer-open span:before,
.drawer-open span:after {
    content: '';
    display: block;
    height: 1px;
    width: 60px;
    border-radius: 0px;
    background-color: #333333;
    transition: 0.5s;
    position: absolute;
}
.drawer-open span:before {
    bottom: 4px;
}
.drawer-open span:after {
    top: 4px;
}
.drawer-open span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}


/*タップで×にする記述*/

#drawer-check:checked ~ .drawer-open span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#drawer-check:checked ~ .drawer-open span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#drawer-check:checked ~ .drawer-open span::after {
    top: 0;
    transform: rotate(-45deg);
}



@media screen and (max-width: 480px) {
  .drawer-open {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    height: 40px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 98;
  }
}

/*メニューのデザイン*/

.drawer-content {
    width: 100%;
    height: 100%;
    text-align: center;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 99;
    background-color: #ffffff;
    transition: 0.5s;
}
.drawer-content ul {
    padding: 160px 0 200px 0;
}
.drawer-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}
.drawer-content ul li a {
    display: block;
    width: 100%;
    font-size: 16px;
    box-sizing: border-box;
    color:#333333;
    text-decoration: none;
    padding: 40px 0px 40px 0;
    position: relative;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer-check:checked ~ .drawer-content {
  left: 0;/* メニューを画面に入れる */
}



/*通常時メニューを画面外へ*/

.drawer-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #ffffff;
    transition: all 0.5s;/*アニメーション設定*/
}






/*フッター*/
footer {
  margin-top: 60px;
  font-size: 10px;
  text-align: center;
  align-items: center; /*IE用*/
  padding:10px;
  background: #f5f5f5;
  height: 40px;
}


.vw {
	width: 100%; 
	height: 100%;
  	max-width: 100vw;
	-ms-filter: blur(6px);
  filter: blur(6px);
}

 /*グリッド*/
@media screen and (min-width: 1200px) {
 #works {
  -webkit-column-count: 4;
  -webkit-column-gap: 15px;
  -webkit-column-fill: balance;
  -moz-column-count: 4;
  -moz-column-gap: 15px;
  -moz-column-fill: balance !important;
  column-count: 4;
  column-gap: 15px;
  column-fill: balance;
  margin: 20px;
 }
}
@media screen and (min-width: 993px) and (max-width: 1199px) {
 #works {
  -webkit-column-count: 3;
  -webkit-column-gap: 15px;
  -webkit-column-fill: balance;
  -moz-column-count: 3;
  -moz-column-gap: 15px;
  -moz-column-fill: balance !important;
  column-count: 3;
  column-gap: 15px;
  column-fill: balance;
  margin: 20px;
 }
}
@media screen and (min-width: 769px) and (max-width: 992px) {
 #works {
  -webkit-column-count: 3;
  -webkit-column-gap: 15px;
  -webkit-column-fill: balance;
  -moz-column-count: 3;
  -moz-column-gap: 15px;
  -moz-column-fill: balance !important;
  column-count: 3;
  column-gap: 15px;
  column-fill: balance;
  margin: 20px;
 }
}
@media screen and (min-width: 481px) and (max-width: 768px) {
 #works {
  -webkit-column-count: 2;
  -webkit-column-gap: 15px;
  -webkit-column-fill: balance;
  -moz-column-count: 2;
  -moz-column-gap: 15px;
  -moz-column-fill: balance !important;
  column-count: 2;
  column-gap: 15px;
  column-fill: balance;
  margin: 20px;
 }
}
@media screen and (max-width: 480px) {
 #works {
  -webkit-column-count: 2;
  -webkit-column-gap: 0px;
  -webkit-column-fill: balance;
  -moz-column-count: 2;
  -moz-column-gap: 0px;
  -moz-column-fill: balance !important;
  column-count: 2;
  column-gap: 0px;
  column-fill: balance;
  margin: 10px;
 }
}
.grid {
 display: inline-block;
 -webkit-column-break-inside: avoid;
 -moz-column-break-inside: avoid;
 column-break-inside: avoid;
}
.hover {
  cursor: pointer;
  transition:0.5s all;
  border-radius: 10px;
}
.hover:hover {
  transform:scale(0.95);
  transition:0.5s all;
}

/* Google Chorome BugFix */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
 .grid {
  display: block !important;
 }
}
.grid {
  border-radius: 0px;
  background: #f5f5f5;
  padding: 6px;
  margin-bottom: 15px;
}
.grid img {
  max-width: 100%;
  height auto;
}
.grid video {
  max-width: 100%;
  height auto;
}
.grid p {
  font-weight: 200;
  font-size: 14px;
}


 /*アバウト*/
#about,#contact {
  display: grid;
  width: 780px;
  padding: 30px;
  margin: 60px auto;
  grid-gap: 26px;
  grid-template-columns:  1fr 5fr;
  background: #f5f5f5;
}

#about,#contact {
  border-radius: 0px;
  background: #f5f5f5;
  text-align: left;
}
#about,#contact .text {
  border-radius: 0px;
  background: #f5f5f5;
  text-align: left;
}


@media screen and (min-width: 481px) and (max-width: 768px) {
  #about,#contact{
    grid-template-columns: 1fr;
    width: 100%;
  }
  #about,#contact {
    border-radius: 0px;
    padding:20px;
    text-align: left;
  }
  h2 {
    font-size: 1.1rem; 
  }
  h3 {
    font-size: 1rem; 
  }
}

@media screen and (max-width: 480px) {
  #about,#contact{
    grid-template-columns: 1fr;
    width: 100%;
    padding: 24px;
    margin: 0px auto;
  }
  #about,#contact {
    border-radius: 0px;
    padding:20px;
    text-align: left;
  }
  body {
    font-size: 1rem;
  }
  h2 {
    font-size: 1.1rem; 
    text-align: center;
  }
  h3 {
    font-size: 1rem; 
  }

}





@media screen and (min-width: 768px){ 
  .br-pc { display:block; }
  .br-sp { display:none; }
}
@media screen and (max-width: 768px){ 
  .br-pc { display:none; }
  .br-sp { display:block; }
}
