@charset "UTF-8";

body {
  font-family: "Yu Gothic", YuGothic, Helvetica, Arial,
  "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3",'Oswald', sans-serif,
  Meiryo, メイリオ, sans-serif;
  color: #333333;
}

/*===============================================
PC : 画面の横幅が769px以上
=================================================*/

/*ーーーーーーーーーーーーーーー
 セクション共通
 ーーーーーーーーーーーーーー */
#mainvisual,#work,#service,#profile,#contact,#footer{
  padding: 40px 0;
  background-color: #B6C4CC;
}

.section-inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

img{
  max-width:  100%
}



/*ーーーーーーーーーーーーーーー
 レイアウト
 ーーーーーーーーーーーーーー */
.col-3 {
  display: flex;
  justify-content: space-between;
  margin: 60px;
}
.col-3 .work-item {
  width: calc((100% - 120px)/3);
  overflow: hidden;
  position:		relative;
}

.col-2 {
  display: flex;
  justify-content: space-between;
  margin: 0 60px;
}

.col-2 .item {
  width: calc((100% - 50px)/2);
}



 /*ーーーーーーーーーーーーーーー
  テキスト
  ーーーーーーーーーーーーーー */
h2.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 35px;
  letter-spacing: 0.11em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

p.medium {
  font-size: 13px;
  font-weight: medium;
  letter-spacing: 0.09em;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 60px;
}

p.small {
  font-size: 13px;
  font-weight: medium;
  letter-spacing: 0.09em;
  line-height: 1.8;
  margin-bottom: 60px;
}


/*ーーーーーーーーーーーーーーー
 各セクション
 ーーーーーーーーーーーーーー */

#header

.header-background{
  background-color: #B6C4CC;
  position: fixed;
  width: 100vw;
	height: 100px;
  z-index: 1;
}

.header-info{
  width: 100vw;
  height: 60px;
  display: flex;
  justify-content: space-between;
  padding: 0 50px;
  margin-top: 40px;
  position: fixed;
  z-index: 3;
  top:0;
}

.header-logo{
  width: 80px;
}

#menu-button {
  position: relative;
  cursor: pointer;
  width: 50px;
  height: 50px;
}

/***** ハンバーガー線 *****/
#menu-button span{
  content:"";
  display: inline-block;
  position: absolute;
  width: 45%;
  height: 1px;
  left: 14px;
  background-color: #2D3D42;
  transition: all .4s;/***** アニメーション設定*****/
}
#menu-button span:nth-of-type(1) {
  top:13px;
}
#menu-button span:nth-of-type(2) {
  top:19px;
}
#menu-button span:nth-of-type(3) {
  top:25px;
}
#menu-button span:nth-of-type(3)::after {
  content:"MENU";
  position: absolute;
  top: 7px;
  left:-5px;
  font-family: 'Yu Gothic';
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
#menu-button:hover {
  transition:	all 0.5s ease;
  opacity: 0.5;
}
#menu-button.active span:nth-of-type(1) {
    top: 14px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}
#menu-button.active span:nth-of-type(2) {
  opacity: 0;
}
#menu-button.active span:nth-of-type(3){
    top: 26px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
#menu-button.active span:nth-of-type(3)::after {
  content:"ClOSE";/*3つ目の要素のafterにClose表示を指定*/
    transform: translateY(0) rotate(-45deg);
  top:5px;
  left:4px;
}
/*ーーーーーーーーーーーー */

.menu-link {
  display: none;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  position: fixed;
  z-index: 2;
  padding-top: 200px;
}

ul.menu-list li {
  text-align: center;
  margin-bottom: 40px;
}

ul.menu-list li a {
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  letter-spacing: 0.08em;
  color: #333333;
  font-weight: bold;
  text-decoration: none;
}



#mainvisual {
  width: 100vw;
	height: 93vh;
  display: flex;
  align-items: center;
}

#mainvisual .section-inner {
  -webkit-animation: fadeIn 3s ease 0s 1 normal;
}

.top {
  height: 500px;
  padding-top: 110px;
  text-align: center;
  background-image: url("../img/topgrandimage.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 250px;
  animation-delay: 3s;
}

img.name-logo {
  width: 45%;
  margin-bottom: 25px;
  animation-delay: 4s;
}

p.copy {
  color:#000000;
  font-size: 14px;
  line-height: 2.3;
  letter-spacing: 0.15em;
  animation-delay: 4s;
  margin-bottom: 20vh;
}
@keyframes fadeIn { /*上のbody内で呼び出しているアニメーションと名前をそろえる*/
  0% {opacity: 0} /* 始め */
  100% {opacity: 1} /* 終わり */
}

.scroll-down-line{
  width: 1px;
  height: 90px;
  background: #999;
  animation: scrollDown4 2.5s ease infinite;
  margin: 0px auto;
  animation-delay: 4s;
}
@keyframes scrollDown4{
  0%{
  transform-origin: top;
  transform: scaleY(0);
  }
  45%{
  transform-origin: top;
  transform: scaleY(1);
  }
  55%{
  transform-origin: bottom;
  transform: scaleY(1);
  }
  100%{
  transform-origin: bottom;
  transform: scaleY(0);
  }
}


#work

.work-item a .work-image{
  transition-duration: 2s;
  cursor: pointer;
  position: relative;
  display: block;
}

.work-item a:hover .work-image{
  transform: scale(1.05,1.05);
}

.work-item .work-video{
  width: 90%;
}

.work-item .mask {
	width: 100%;
	height:	100%;
	position:	absolute;
	top:	0;
	left:	0;
	opacity:	0;
	background-color:	rgba(0,0,0,0.7);
	transition:	all 2s ease;
}
.work-item a:hover .mask {
	opacity:		1;
}

.work-item .mask .caption {
  width: 100%;
  height:	100%;
	font-size: 18px;
	text-align: center;
  display: flex;
	justify-content: center;
  align-items: center;
	color: #fff;
  line-height: 1.7;
  letter-spacing: 0.12em;
}

.modal-wrapper {
  z-index: 999;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 40px 10px;
  text-align: center;
}


.modal-button:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(2px);
  transform: translateY(2px);/*下に動く*/
}

.modal-wrapper:not(:target) {
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s, visibility .6s;
}

.modal-wrapper:target {
  opacity: 1;
  visibility: visible;
  transition: opacity .6s, visibility .6s;
}

.modal-wrapper::after {
  display: inline-block;
  height: 100%;
  margin-left: -.05em;
  vertical-align: middle;
  content: ""
}

.modal-wrapper .modal-window {
  box-sizing: border-box;
  display: inline-block;
  z-index: 20;
  position: relative;
  width: 85%;
  padding: 20px 30px 20px 30px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, .6);
  vertical-align: middle;
}

.modal-content {
  max-height: 80vh;
  overflow-y: auto;
}

.modal-content .work-image {
  text-align: center;
  max-width: 70vw;
  max-height: 70vh;
}

.modal-content img.work-image-up {
  margin-bottom: 20px;
}

.modal-content .work-image_web {
  text-align: center;
  max-width: 40vw;
}

.modal-content p {
  font-size: 13px;
	text-align: left;
	color: #222;
  line-height: 1.8;
  letter-spacing: 0.12em;
  margin: 40px;
}

.modal-overlay {
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .5)
}

.modal-wrapper .modal-close {
  z-index: 20;
  position: absolute;
  top: 5px;
  right: 5px;
  width: 35px;
  color: #95979c !important;
  font-size: 30px;
  font-weight: 700;
  line-height: 35px;
  text-align: center;
  text-decoration: none;
  text-indent: 0
}

.modal-wrapper .modal-close:hover {
  color: #2b2e38 !important
}

.box{
  opacity: 0;
}

.fadeUp {
  animation-name:fadeUpAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
  opacity: 0;
}
@keyframes fadeUpAnime{
  from {
    opacity: 0;
	transform: translateY(150px);}
  to {
    opacity: 1;
	transform: translateY(0);}
}





#service

.item .service-logo {
  width: 33%;
  opacity: 0.9;
}

.item .item-image{
  text-align: center;
}

.item .item-text{
  padding: 0px 30px;
}



#profile

#profile .col-2 {
  margin-top: 50px;
}

.item .profile-image{
  width: 250px;
  height: 250px;
  margin-left: auto;
}


.item .profile-name-logo{
  display: inline-block;
  margin-bottom: 25px;
}
.item .profile-name-logo .Logo{
  width: 70px;
  height: 70%;
}

.item .profile-name-logo .Name{
  width: 65%;
  height: 65%;
  padding-left: 40px;
}

 #profile .item p.small{
  margin-right: 50px;
}



#contact{
  padding-bottom: 60px;
}

form{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -20px;
}

input {
  font-family: 'Yu Gothic';
  font-size: 13px;
  width: 470px;
  height: 50px;
  padding: 0px 15px 0px 15px;
  outline: none;
  border: solid 1px #444;
  border-bottom: none;
}

input:focus {
  background: #b3aca7;
}

textarea {
  width: 470px;
  max-width: 470px;
  height: 110px;
  max-height: 110px;
  padding: 15px;
  outline: none;
  font-family: 'Yu Gothic';
  font-size: 13px;
  border: solid 1px #444;
}

textarea:focus {
  background: #b3aca7;
}

#submit {
  width: 470px;
  padding: 0;
  font-family: 'Yu Gothic';
  font-size: 13px;
  outline:none;
  border: solid 1px #444;
  border-top: none;
}

#submit:hover {
  transition:	all 0.7s ease;
  background-color: #444;
  color: #fff;

}



#footer {
	text-align: center;
  font-family: 'Yu Gothic';
  font-size: 8px;
  font-weight: right;
  color:#FFF;
  letter-spacing: 0.3em;
}



/*================================================
Tablet : 画面の横幅が768pxまで
==================================================*/
@media screen and (max-width: 768px){
  /*ーーーーーーーーーーーーーーー
 セクション共通
 ーーーーーーーーーーーーーー */

#work,#service,#profile,#contact,#footer{
  padding: 30px 0;
}

.section-inner{
  max-width: 620px;
}


/*ーーーーーーーーーーーーーーー
 レイアウト
 ーーーーーーーーーーーーーー */

.col-3 {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}
.col-3 .work-item {
  width: calc((100% - 60px)/3);
}
.col-2 {
  display: block;
  margin: 0 75px;
}
.col-2 .item {
  width: 100%;
}

/*ーーーーーーーーーーーーーーー
 テキスト
 ーーーーーーーーーーーーーー */

h2.section-title {
  font-size: 30px;
  letter-spacing: 0.11em;
  margin-bottom: 30px;
  }

p.medium {
  font-size: 13px;
  letter-spacing: 0.09em;
  line-height: 1.9;
  text-align: center;
  margin-bottom: 30px;
  }
p.small {
  margin-bottom: 20px;
}

/*ーーーーーーーーーーーーーーー
 各セクション
 ーーーーーーーーーーーーーー */

/*ーーーメインビジュアルーーー */

#mainvisual {
  height: calc(100vh - 60px);
  background-size: 30%;
  margin-bottom: 0px;
  background-position: center;
  }
.top{
padding-top: 120px;
background-size: 230px;
}
img.name-logo {
  width: 60%;
}
p.copy {
  font-size: 13px;
  line-height: 2.4;
  letter-spacing: 0.15em;
  max-width: 85%;
  }

/*ーーーワークーーー */
#work .section-inner{
  max-width: 90%;
}
.work-item .caption {
	font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.10em;
  }

.modal-content p {
  font-size: 9px;
  text-align: left;
  color: #222;
  line-height: 1.8;
  letter-spacing: 0.12em;
  margin: 40px 30px 40px 30px;
  }

/*ーーーサービスーーー */
#service
.item .service-logo {
    width: 23%;
  }
.item .item-text{
  padding: 0px 70px 20px;
}

/*ーーープロフィールーーー */
#profile
.item .profile-image{
  width: 200px;
  height: 200px;
  margin: 0 auto;
  margin-bottom: 35px;
}

.item .profile-name-logo{
  text-align: left;
  margin-bottom: 5px;
}
.item .profile-name-logo .Logo{
  width: 65px;
}
.item .profile-name-logo .Name{
  width: 55%;
  padding-left: 20px;
}
#profile .item p.small{
  margin: 15px  0px 20px;
  text-align: left;
}

/*ーーーコンタクトーーー */
#contact
form{
  margin-top: 0px;
}

input {
    font-size: 11px;
    width: 450px;
    height: 40px;
    padding: 0px 15px 0px 15px;
}
textarea {
  width: 450px;
  max-width: 450px;
  height: 150px;
  max-height: 150px;
  padding: 15px;
  font-size: 11px;
}
#submit {
  width: 450px;
  font-size: 12px;
}
}



/*================================================
Smartphone :  画面の横幅が640pxまで
=================================================*/
@media screen and (max-width:640px){
  /*ーーーーーーーーーーーーーーー
 セクション共通
 ーーーーーーーーーーーーーー */

#work,#service,#profile,#contact,#footer{
  padding: 30px 0;
}

.section-inner{
  max-width: 530px;
}
.pc-only{
  display: none;
}
.sp-only{
  display: block;
}

/*ーーーーーーーーーーーーーーー
 レイアウト
 ーーーーーーーーーーーーーー */

.col-3 {
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
}
.col-3 .work-item {
  width: calc((100% - 30px)/3);
}

.col-2{
  margin: 0 auto;
  max-width: 85%
}

/*ーーーーーーーーーーーーーーー
 テキスト
 ーーーーーーーーーーーーーー */

h2.section-title {
  font-size: 35px;
  }

p.medium {
  max-width: 85%;
  margin: 0 auto 40px auto;
  }
p.small {
  letter-spacing: 0.09em;
  line-height: 1.9;
  margin-bottom: 25px;
}

/*ーーーーーーーーーーーーーーー
 各セクション
 ーーーーーーーーーーーーーー */

/*ーーーヘッダーーーー */
#header

.header-info{
  padding: 0 20px;
  margin-top: 15px;
}

.header-logo{
  width: 75px;
  padding-top: 7px;
  margin-left: 10px;
}

/*ーーーメインビジュアルーーー */

#mainvisual {
  height: calc(100vh - 65px);
  background-size: 35%;
  background-position: center;
  margin-bottom: 0px
  }
.top{
  padding-top: 100px;
  background-size: 200px;
}
img.name-logo {
  width: 70%;
}
p.copy {
  max-width: 85%;
  line-height: 2.2;
  margin: 0 auto 13vh auto;
  }
br.brSmp {
  display: none;
}
.scroll-down-line {
  height: 80px;
}

/*ーーーワークーーー */
#work .section-inner {
  max-width: 90%;
}
.work-item .caption {
	font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.10em;
  }

  .modal-wrapper .modal-window{
    padding:20px 15px 20px 15px;
  }

.modal-content p {
  font-size: 11
px;
  text-align: left;
  color: #222;
  line-height: 1.8;
  letter-spacing: 0.12em;
  margin: 30px 15px 30px 15px;
  }


/*ーーーサービスーーー */
#service
.item .service-logo {
    width: 30%;
  }
.item .item-text{
  padding: 0px 0px 20px 5px;
}
.item .service-logo {
    width: 30%;
  }

/*ーーープロフィールーーー */
#profile

.item .profile-image{
  width: 170px;
  height: 170px;
  margin: 0 auto;
  margin-bottom: 30px;
}
.item .profile-name-logo {
  margin: 0px 0px 5px 15px;
}
.item .profile-name-logo .Logo{
  width: 50px;
}
.item .profile-name-logo .Name{
  width: 60%;
  padding-left: 20px;
}
#profile .item p.small{
  margin: 10px 0px 0px 15px;
  max-width: 100%;
}

/*ーーーコンタクトーーー */
#contact
.contact-form{
  max-width: 85%;
  margin: 0 auto;
}
form{
  margin-top: 0px;
}

input {
    font-size: 10px;
    width: 100%;
}
textarea {
  width: 100%;
  font-size: 10px;
}
#submit {
  width: 100%;
  font-size: 11px;
}
}

/*================================================
Smartphone :  画面の横幅が600pxまで
=================================================*/
@media screen and (max-width:600px){
#mainvisual



}