/* --------------------------------

Primary style

-------------------------------- */
body {
  font-family: 'Lato', sans-serif;
  background-color: #ececf1;
  -webkit-font-smoothing: antialiased;
  color: #565656;
  font-size: 13px;
}
body#jp {
  font-family: 'source-han-sans-japanese', 'Lato', sans-serif;
  font-weight: 500;
  font-style: normal;
}
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color:#fff;  /* 背景カラー */
  z-index: 9999;  /* 一番手前に */
  pointer-events: none;  /* 他の要素にアクセス可能にするためにポインターイベントは無効に */
  opacity: 0;  /* 初期値 : 透過状態 */
  -webkit-transition: opacity .8s ease;  /* アニメーション時間は 0.8秒 */
  transition: opacity .8s ease;
}
body.fadeout::after {
  opacity: 1;
  background-image: url('../images/loading_img2.gif');
  background-repeat: no-repeat;
  background-position: center;
}
a {
  color: #283040;
  text-decoration: none;
}
h1 {
	font-family: 'Roboto', sans-serif;
	font-size: 380%;
  line-height: 150%;
	color: #565656;
	text-transform: uppercase;
}
#jp h1 {
  font-family: 'source-han-sans-japanese', 'Lato', sans-serif;
  font-weight: bold;
}
h2 {
	font-family: 'Roboto', sans-serif;
	font-size: 220%;
	padding: 30px 0;
}
#jp h2 {
  font-family: 'source-han-sans-japanese', 'Lato', sans-serif;
  font-weight: bold;
  line-height: 140%;
}
h3 {
  letter-spacing: 0.03em;
  font-size: 110%;
  font-weight: normal;
}
p {
	font-size: 16px;
	line-height:180%;
}
address {
	font-style: normal;
	position: relative;
	width: 200px;
	text-align: center;
	padding: 10px 0;
	left: 50%;
	margin-left: -100px;
	z-index: 100;
	display: none;
}
.clear {
	clear: both;
}
.center {
  text-align: center;
}
.inner {
	padding: 30px;
}
/* .fade1, .fade2 {
  visibility: hidden;
} */
@media (max-width: 544px) {
  h1 {
    font-size: 240%;
  }
	h2 {
		font-size: 150%
	}
	h3 {
		font-size: 90%;
	}
}
@media (max-width: 375px) {
  h1 {
    font-size: 200%;
  }
	h2 {
		font-size: 120%;
    padding: 15px 0;
	}
  p {
    font-size: 13px;
  }
}
/*-------------------------------------------common_btn_animation--------*/
.btn {
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
  letter-spacing: 0.03em;
  padding: 12px 18px;
	font-size: 110%;
	margin: 40px auto;
	-webkit-transition: all 500ms cubic-bezier(0.390, 0.500, 0.150, 1.360);
	transition: all 500ms cubic-bezier(0.390, 0.500, 0.150, 1.360);
	display: block;
	border-radius: 0;
}
#jp .btn {
  font-family: 'source-han-sans-japanese', 'Lato', sans-serif;
  font-weight: bold;
}
.btn:hover {
	cursor: pointer;
}
.btn.white {
	border: 1px solid #fff;
	color: #fff;
	box-shadow: rgba(255, 255, 255, 0.1) 0 0px 0px 2px inset;
}
.btn.white a {
	color: #fff;
	text-decoration: none;
}
.btn.white:hover a {
	color: #007bc1;
	text-decoration: none;
}
.btn.white:hover {
	color: #007bc1;
	box-shadow: rgba(255, 255, 255, 0.9) 0 0px 0px 40px inset;
}
.btn.blue {
	border: 1px solid #007bc1;
	color: #007bc1;
	box-shadow: rgba(0, 123, 193, 0.1) 0 0px 0px 2px inset;
}
.btn.blue:hover {
	color: #fff;
	box-shadow: rgba(0, 123, 193, 0.9) 0 0px 0px 40px inset;
}
.btn.left {
	float: left;
}


/*--------------------------------- home -----------*/
.fullscreen-bg {
  position: fixed;
	background-color: #3680c6;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  z-index: -1;
}
#particles-js {
  position: fixed;
  height: 100%;
  width: 100%;
  filter:blur(2px);
  opacity: .6;
}
#home {
  padding-top: 20vh;
}
#home, #home p {
	color: #fff;
  font-size: 13px;
  text-align: center;
}
#home h3 {
	padding-top: 30px;
}
.home_contents {
  padding-top: 10%;
	position: fixed;
	right: 0;
	left: 0;
	text-align: center;
}
.name {
	padding-top: 8px;
	letter-spacing: 2px;
}
.home_txt {
  padding-top: 30px;
}
.menu_item_wrapper .lang {
  letter-spacing: 0.01em;
}
.lang.top {
  position: fixed;
  left: 50%;
  margin-left: -80px;
  width: 160px;
  z-index: 1;
  margin-top: 20px;
  text-align: center;
}
.lang a {
  font-size: 11px;
  color: #fff;
  margin: 5px;
  padding-bottom: 3px;
}
.lang.first_view a {
  font-size: 14px;
  margin: 10px;
  padding-bottom: 12px;
}
.lang a.hit, .lang a:hover {
  font-size: 12px;
  font-weight: bold;
  border-bottom: 2px solid #fff;
}
.btn_home {
	margin: 20px auto;
	width: 160px;
	text-align: center;
  bottom: 40px;
  z-index: 1;
  position: fixed;
  left: 50%;
  margin-left: -98px;
  background-color: #3680c6;
}
#logo {
  width: 30%;
  margin: 0 auto;
}
.icn{
  stroke: #fff;
  stroke-width: 1px;
  fill: #3680c6;
  animation: draw 4s ease-out 1s forwards;
}
@keyframes draw {
  to {
    fill: #ffffff;
  }
}
.st0 {
  stroke: #fff;
  stroke-width: 5px;
  fill: none;
  stroke-dashoffset: 900;
  stroke-dasharray: 900;
  animation-name: dash;
  animation-duration: 1.1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}
.st0.i1 {
  animation-delay: 1s;
}
.st0.y {
  animation-delay: 1.5s;
}
.st0.o {
  animation-delay: 2s;
}
.st0.u {
  animation-delay: 2.5s;
}
.st0.w {
  animation-delay: 3s;
}
.st0.i2 {
  animation-delay: 3.5s;
}
@keyframes dash {
  from {
    stroke-dashoffset: 900;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* -------------------------------- common button -------- */
main {
  height: 100vh;
  position: relative;
}


/*---------------------------------menu-icon-----------*/
.menu_icn_wrapper {
	position: fixed;
	right: 30px;
	top: 30px;
	z-index: 10000;
}
#nav-icon3 {
  width: 33px;
  height: 25px;
  position: relative;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
}

#nav-icon3 span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon3 span:nth-child(1) {
  top: 0px;
}
#nav-icon3:hover span:nth-child(1) {
  top: 2px;
}

#nav-icon3 span:nth-child(2), #nav-icon3 span:nth-child(3) {
  top: 13px;
}

#nav-icon3 span:nth-child(4) {
  top: 26px;
}
#nav-icon3:hover span:nth-child(4) {
  top: 24px;
}

#nav-icon3.open span:nth-child(1) {
  top: 18px;
  width: 0%;
  left: 50%;
}

#nav-icon3.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-icon3.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-icon3.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

/*--------------------------------- menu -----------*/
.menu {
	width: 100vw;
	height: 90vh;
	bottom: 0;
	padding: 80px 30px 30px 30px;
	overflow: hidden;
	background-color: #000;
	color: #FFF;
	transition: all .6s;
	z-index: 100;
}
.close {
	bottom: 100vh;
  height: 0;
}
.menu img {
	width: 300px;
  margin-right: 20px;
}
.menu_item_wrapper {
	float: left;
	width: 50%;
	font-family: 'Oxygen', sans-serif;
  font-size: 26px;
  letter-spacing: 2.5px;
}
#jp .menu_item_wrapper {
  font-family: 'source-han-sans-japanese', sans-serif;
  font-size: 22px;
  letter-spacing: 0.01em;
}
.logo_wrap {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
}
.menu_item_wrapper ul {
  padding: 30px 20px;
}
.menu_item_wrapper li {
  padding-bottom: 30px;
}
#jp .menu_item_wrapper li {
  padding-bottom: 40px;
}
.menu_item_wrapper li span {
  font-size: 12px;
}
.menu_contact {
	float: left;
	padding-top: 140px;
}
.title {
	font-size: 26px;
	letter-spacing: 2.5px;
	padding-bottom: 20px;
}
#jp .title {
	font-size: 22px;
	letter-spacing: 0.01em;
	padding-bottom: 30px;
}
p.ceo {
	padding: 0 10px;
	text-transform: uppercase;
  line-height: 100%;
  margin-bottom: 10px;
}
.ceo a {
  color: #fff;
}
.ceo span {
  font-size: 11px;
}
.social_link {
	margin-left: 5px;
}
.social_link li {
	margin: 5px;
	float: left;
	list-style: none;
	background: #fff;
	color: #000;
	padding: 4px;
	border-radius: 50%;
	width: 18px;
	height: 18px;
	text-align: center;
	line-height: 18px;
}
.social_link li:hover {
  background: #bcfaff;
}
.email {
	margin: 40px 10px;
}
.menu_item li {
	position: relative;
	list-style: none;
	padding: 30px 0 30px 50px;
	font-size: 26px;
	letter-spacing: 2.5px;
	cursor: pointer;
}
.menu a.link {
	text-decoration: none;
  color: #fff;
	position: relative;
}
.menu a.link:after{
  content: '';
  position: absolute;
  width: 0; height: 3px;
  display: block;
  margin-top: 5px;
  right: 0;
  background: #fff;
  transition: width .2s ease;
  -webkit-transition: width .2s ease;
}
.menu a.link:hover:after{
  width: 100%;
  left: 0;
  background: #fff;
}
.menu_item li span {
		font-size: 12px;
		letter-spacing: 1px;
		padding-left: 20px;
		opacity: .6;
}

@media (max-width: 544px) {
  .menu_item_wrapper {
    float: none;
    width: 100%;
  }
  #jp .menu_item_wrapper {
    font-size: 18px;
  }
  .logo_wrap {
    display: block;
  }
  .lang {
    margin-top: 15px;
    margin-left: 10px;
  }
  .menu img {
    width: 90%;
  }
  .menu_item_wrapper ul {
    padding-top: 0;
    padding-left: 40px;
  }
  .menu_contact {
    padding-top: 10px;
  }
}
/*--------------------------------- about -----------*/

#about .inner_top {
	position: relative;
	height: 50vh;
	padding: 30px 40px 0 40px;
}
#about .inner_bottom {
	position: relative;
	height: 50vh;
	background: #0072be;
	background: linear-gradient(to bottom right, #23a0ca, #0072be);
	color: #fff;
	padding: 0 30px 30px 30px;
}
.about_inner {
	padding: 30px;
	width: 40%;
	float: left;
  height: 20vh;
}
.logo_about_upper {
	position: absolute;
	bottom: 0;
	width: 40%;
	float: right;
}
.logo_about_bottom {
	position: absolute;
	top: 0;
	width: 40%;
	float: right;
	-moz-transform: scaleY(-1);
  -webkit-transform: scaleY(-1);
  transform: scaleY(-1);
  filter: flipv; /*IE*/
	opacity: .3;
}
.btn_work, .btn_service {
  width: 100px;
  float: left;
  text-align: center;
  margin-right: 20px;
}
@media (max-width: 544px) {
  .about_inner {
    position: absolute;
  	padding: 10px 0px;
  	width: 80%;
  	float: left;
  }
  .inner_bottom .about_inner {
    padding-top: 80px;
  }
  .logo_about_upper, .logo_about_bottom {
    right: 5%;
  }
}
@media (max-width: 375px) {
  .inner_bottom .about_inner {
    padding-top: 50px;
  }
}

/*--------------------------------- work -----------*/
.cd-work {
  overflow: hidden;
}
#work {
  height: 100%;
}
#work .inner_top, #service .inner_top {
	padding: 30px 40px 0 40px;
}
#work h1 {
  position: absolute;
  color: #ececf1;
  padding: 40px;
  opacity: 0;
  z-index: 2;
}
#work h1 span {
  font-size: 16px;
  text-transform: initial;
}
.wrapper_top_work {
  position: absolute;
  left: -35vw;
  background: #0072be;
  background: linear-gradient(to bottom right, #23a0ca, #0072be);
  width: 35vw;
  height: 100%;
  color: #ececf1;
  z-index: 2;
}
.work_inner, .service_inner {
	padding: 30px 50px 30px 30px;
}
.work_inner {
  opacity: 0;
  z-index: 2;
  color: #ececf1;
  width: 26vw;
  position: absolute;
  top: 100px;
  left: 20px;
}
.work_menu {
  padding: 130px 0 0 70px;
  position: absolute;
  width: 55vw;
  left: -30vw;
  opacity: 0;
  z-index: 1;
}
.sub_title {
  font-weight: bold;
  font-size: 150%;
  padding-top: 20px;
  padding-bottom: 10px;
  margin-left: -10px;
}
.work_item {
  cursor: pointer;
  text-decoration: underline;
  font-size: 120%;
  line-height: 180%;
  z-index: 3;
}
.work_item:hover, .work_item.hit {
  background-color: #ceddeb;
  padding: 5px 8px;
  margin-left: -8px;
  text-decoration: none;
}
.work_details {
  opacity: 0;
  height: 0;
  visibility: hidden;
}
.work_details p {
  font-size: 100%;
  line-height: 150%;
}
.work_details a {
  color: #0579c0;
}
.work_details a:hover {
  text-decoration: underline;
}

.work-main-content {
  position: absolute;
  overflow: hidden;
  top: 0;
  right: -100vw;
  width: 65vw;
  height: 100vh;
  display: none;
  -moz-box-shadow: inset 20px 0 30px -20px rgba(0,0,0,0.3);
  -webkit-box-shadow: inset 20px 0 30px -20px rgba(0,0,0,0.3);
  box-shadow: inset 20px 0 30px -20px rgba(0,0,0,0.3);
}

.work-main-content img {
  width: 65vw;
  position: relative;
  z-index: -2;
}

/*--------------------------------- work-collaspe-icon -----------*/
.collaspe-trigger {
  position: absolute;
  top: 90vh;
  left: 0;
  opacity: 0;
  height: 44px;
  width: 44px;
  z-index: 3;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  cursor: pointer;
}
.collaspe-trigger .collaspe-icon {
  /* icon created in CSS */
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  display: inline-block;
  width: 18px;
  height: 3px;
  /* background-color: #ffffff; */
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.collaspe-trigger:hover .collaspe-icon {
  -webkit-transform: translateX(-60%) translateY(-60%);
  transform: translateX(-60%) translateY(-60%);
}

.collaspe-trigger .collaspe-icon::before, .collaspe-trigger .collaspe-icon:after {
  /* upper and lower lines of the menu icon */
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /* apply transition to transform property */
  -webkit-transition: -webkit-transform .3s;
  -moz-transition: -moz-transform .3s;
  transition: transform .3s;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  content: '';
}
.collaspe-trigger .collaspe-icon::before {
  transform: translateY(-5px) rotate(-38deg);
  content: '';
}
.collaspe-trigger .collaspe-icon::after {
  transform: translateY(5px) rotate(38deg);
  content: '';
}
.collaspe-trigger.close .collaspe-icon::before {
  transform: translateY(-5px) rotate(38deg);
  content: '';
}
.collaspe-trigger.close .collaspe-icon::after {
  transform: translateY(5px) rotate(-38deg);
  content: '';
}
.collaspe-trigger.close:hover .collaspe-icon {
  transform: translateX(-40%) translateY(-40%);
}

/*--------------------------------------------work page: small screen */
@media (max-width: 1024px) {
  .wrapper_top_work{
    width: 100vw;
    height: 38vh;
    left: 0;
  }
  .work_inner {
    opacity: 1;
    width: 80vw;
    left: 0;
  }
  #work h1 {
    opacity: 1;
    padding: 30px;
  }
  #work h2 {
    padding-top: 0;
  }
  .collaspe-trigger {
    display: none;
  }
  .work_menu {
    padding-top: 50px;
    padding-left: 30px;
    margin-left: -300px;
    width: 90vw;
    opacity: 1;
    left: 0;
    top: 0;
    margin-top: 33vh;
    height: 50vh;
  }

  .work_menu div {
    width: 90vw;
  }
  .work_details {
    visibility: visible;
    opacity: 1;
    height: auto;
  }
  a.work_item {
    text-decoration: none;
    font-weight: bold;
    cursor: auto;
  }
  a.work_item:hover {
    background: none;
  }
  .work-main-content.def{
    display: none;
  }
  .work-main-content {
    margin-top: 10px;
    margin-bottom: 20px;
    margin-left: -2000px;
    right: 0;
    position: relative;
    overflow: hidden;
    display: inline-block;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    height: auto;
    border-radius: 5px;
    border: solid 1px #d8d8d8;
  }
  .work-main-content img {
    position: relative;
    width: 100%;
    z-index: -2;
  }
}
@media (max-width: 785px) {
  .work_menu {
    margin-top: 35vh;
    margin-left: -220px;
  }
}
@media (max-width: 600px) {
  h2 {
    line-height: 150%;
  }
  .wrapper_top_work{
    height: 45vh;
  }
  .work_menu {
    margin-top: 45vh;
    margin-left: -160px;
  }
  .work_inner {
    width: 80vw;
    left: 0;
    top: 60px;
    padding-right: 0;
  }
}

@media (max-width: 412px) {
  .work_inner p {
    line-height: 21px;
  }
  .work_menu {
    margin-top: 40vh;
    margin-left: -140px;
  }
}


/*--------------------------------- service -----------*/

#service h2 {
  line-height: 80px;
  padding-bottom: 10px;
}
#service h2 span {
  line-height: 50px;
    font-size: 50px;
    border: 2px solid #666;
    border-radius: 50%;
    padding: 10px;
    width: 50px;
    display: block;
    text-align: center;
    float: left;
    margin-right: 20px;
    background: #fff;
}
.service_inner p {
  padding: 0 20px 0 95px;
}
.service_inner img {
  /* margin: 30px auto; */
  width: 60%;
  margin: 40px 20%;
}
.note_wrapper {
    padding: 20px 80px 50px 120px;
}
.note_wrapper .quo {
    font-family: 'PT Serif', serif;
    font-style: normal;
    font-size: 80px;
    line-height: 60px;
    float: left;
    margin-right: 20px;
}
.note_wrapper .note {
    font-family: 'Lora', serif;
    font-style: oblique;
    font-size: 20px;
    line-height: 180%;
}
@media (max-width: 544px) {
  .service_inner {
    margin: 0;
    padding: 30px 0 0 0;
  }
  .service_inner p {
    padding: 0 20px 0 10px;
  }
  .service_inner img {
    width: 80%;
    margin: 30px 10%;
  }
  #service h2 {
    line-height: 60px;
    font-size: 150%;
  }
  #service h2 span {
    line-height: 30px;
    font-size: 30px;
    width: 30px;
    margin-right: 10px;
  }
  .note_wrapper {
    padding: 20px 10px 20px 20px;
  }
  .note_wrapper .quo {
    font-size: 60px;
    line-height: 40px;
    margin-right: 10px;
  }
  .note_wrapper .note {
    font-size: 14px;
  }
}

/*-------------------------------#portfolio---------*/
#portfolio nav {
  background-color: #fff;
  padding: 10px 10px 15px;
  display: flex;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
}
#portfolio ul {
  display: flex;
  padding-left: 30px;
}
#portfolio li {
  padding: 5px;
  margin-right: 10px;
}
#portfolio li.hit, #portfolio li:hover {
  border-bottom: solid 2px #64767f;
}
#portfolio .wrapper {
  padding: 20px;
}
#portfolio .email_p {
  padding: 7px;
}
#portfolio .email_p:hover {
  color: #429a8a;
}
#portfolio  p {
  font-size: 14px;
  line-height: 150%;
}
#portfolio p.p_title {
  font-weight: bold;
}
#portfolio .wrapper_inner img {
  margin: 1%;
  border: 1px solid #fff;
  vertical-align: top;
}
#portfolio .wrapper_inner a {
  text-decoration: underline;
}
#portfolio .wrapper_inner a:hover {
  color: #429a8a;
}
#portfolio img.inner_space {
  padding: 20px;
  background: #fff;
}
#portfolio .video {
 vertical-align: top;
 margin: 1%;
 border: 1px solid #fff;
}
