@charset "utf-8";

/*=============== 全体にかかわる設定 ===============*/
html *,
::before,
::after {
	box-sizing: border-box;
}

html {
	font-size: 21px;
}

@media (max-width: 768px) {
	html {
		font-size: 18px;
	}
}

body {
	/*font-family: "游明朝",YuMincho,"ヒラギノ明朝 ProN W3","Hiragino Mincho ProN","ＭＳ Ｐ明朝","ＭＳ 明朝",serif;*/
	font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
	/*font-family: "Segoe UI", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",  "游ゴシック", "Yu Gothic", sans-serif;*/
	font-weight: normal;
	color: #333;
	line-height: 1.4;
	letter-spacing: 0.05em;
}


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

a:hover {
	text-decoration: none;
	opacity: 0.8;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

/*見出し*/
.level2-heading {
	font-size: 3.3rem;
	line-height: 35px;
	margin: 100px 0 60px;
	padding: 20px 0 12px;
	color: #666E70;
	font-weight: normal;
	text-align: left;
	font-family: 'Sorts Mill Goudy', serif;
}

.level2-heading--right {
	text-align: right;
}

.level3-heading {
	font-size: 1.5rem;
	font-family: 'Sorts Mill Goudy', serif;
	font-weight: normal;
	margin: 0;
	padding: 5px 0;
	color: #666E70;
}




/*=============== header + 背景動画設定 ===============*/

/*header設定*/
#header{
    position: relative;/*h1の中央寄せ配置の起点とするためのrelative*/
    height: 100vh;/*高さを全画面にあわせる*/
} 

.video-area{
    position: fixed;
    z-index: -1;/*最背面に設定*/
    top: 0;
    right:0;
    left:0;
    bottom:0;
    overflow: hidden;
	width: 100%;
	height: 100vh;
  	background: radial-gradient(120% 120%, #ffffff,#ffffff,#ffffff,#FCFEFF, #F9FEFF,#ECF6F9, #E6F4F9, #DAEEF5, #C8E9F5,#C1E6F3, #B5E3F3,#C1E6F3, #C8E9F5, #DAEEF5, #E6F4F9, 
  	#ECF6F9, #F9FEFF,#FCFEFF,#ffffff,#ffffff, #ffffff);
	background-size: 240% 200%;/*サイズを大きくひきのばす*/
	animation: bggradient 22s ease infinite;
}

@keyframes bggradient{
	0% {
		background-position: 0% 80%;
	}
	50% {
		background-position: 80% 0%;
	}
	100% {
		background-position: 0% 80%;
	}
}

/*見出し設定*/
.header__title {
    /*要素の配置*/
    position:absolute;
    /*要素を天地中央寄せ*/
    top: 45%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    /*見た目の調整*/
    color: #30365D;
    text-shadow: 0 0 15px #fff;
    text-align: center;
    font-size: 1.6rem;
    font-weight: normal;
	font-family: 'Sorts Mill Goudy', serif;
	letter-spacing: 0.1em;
}

.header__title-name{
	font-size: 4.2rem;
}


@media (max-width: 768px) {
	.title {
		font-size: 1.5em;
	}
}


/*=============== ナビゲーション ===============*/

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

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

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

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

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

.header-nav__item {
	list-style: none;
    text-align: center;
}

.header-nav__link {
	color: #666E70;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
	font-size: 1.2rem;
}

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


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

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

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

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

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

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


/*=============== フッター ===============*/
.footer {
	height: 83px;
	background: #30365D;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 100px;
	text-align: center;
}

.footer__copyright {
	font-family: Times New Roman;
	font-size: 0.8em;
	color: #fff;
}


@media (max-width: 768px) {
	.footer__copyright {
		font-size: 12px;
	}
}


/*=============== メインに関する設定 ===============*/

.main-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 3%;
	text-align: center;
}

@media (max-width: 768px) {
}

/*=============== サービス ===============*/


.service__container {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}

.service__icon {
	width:35%;
	margin: 30px 0;
}

.service__text {
	font-size: 0.85em;
	text-align: left;
}

.service__item {
	width: 27%;
	border-radius: 10px;
	padding: 30px;
 	border-radius: 41px;
 	/*box-shadow: 1px 1px 4px 1px rgba(0,0,0,0.03);*/
    /*background-color: rgba(255, 255, 255);*/
}

.service-item p {
	text-align: left;
}

@media (max-width: 768px) {
	.service__container {
		/*flex-direction: column;*/
	}
	.service__item {
		width: 100%;
	}
	.service__item:not(:last-child)  {
		margin-bottom: 40px;
	}
	.service__icon {
	width: 15%;
	}
	.service__text {
		font-size: 0.9rem;
	}
}

/*=============== ワーク ===============*/


.work__container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.work__container *:hover{
	opacity: 0.6;
}

.work__item {
	width: 47%;
	color: #707070;
	text-decoration: none;
	margin-bottom: 32px;
	display:block;
}

.work__img {
 	box-shadow: 1px 1px 6px 1px rgba(0,0,0,0.07);
}

.work__title {
	font-size: 1.0rem;
	font-weight: normal;
	margin:  16px 0 0;
}



@media (max-width: 768px) {
	.work__container {
		flex-direction: column;
	}

	.work__item {
		width: 100%;
		margin-bottom: 30px;
	}

}


/*=============== アバウト ===============*/


.about__container {
	display: flex;
	text-align: left;
	align-items: center;
	justify-content: space-around;
}

.about__icon {
	width: 20%;
    filter: drop-shadow(1px 1px 1px #fff);
}

.about__contents {
	border-radius: 10px;
	padding: 30px 50px;
 	border-radius: 71px;
 	width: 60%;
 	font-size: 0.9rem;
 }

.about__name {
	font-size: 1.7rem;
	margin: 20px 0 0;
	text-align: center;
}

.about__text {
	margin: 32px 0;
}

@media (max-width: 768px) {
	.about__container {
		flex-direction: column;
	}
	.about__icon {
		margin: 0 auto;
		width: 40%;
	}
	.about__name {
		text-align: center;
	}
	.about__contents {
	margin-top: 20px;
	width: 100%;
	}
}

@media (max-width: 500px) {
.about__contents {
	padding: 30px 0px;
 }
}


/*=============== お問い合わせ ===============*/
.contact {
	margin: 0 auto;
}

.contact p , form {
	font-size: 0.85em;
}

.contact__items {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 52px;
}

label {
	width: 300px;
	text-align: left;
}

input[type="text"],
input[type="email"],
textarea {
	width: 100%;
	margin-left: 20px;
	height: 45px;
	border: 1px solid #E5E5E5;
	padding: 10px;
}

textarea {
	height: 300px;
}

input[type="submit"] {
	padding: 10px 20px;
	font-weight: bold;
	border: none;
	background: #707070;
	color: #fff;
}

input[type="submit"]:hover {
	opacity: 0.5;
}

.contact__info {
	margin-bottom: 40px;
	text-align: left;
}


@media (max-width: 768px) {
	.contact__items {
		flex-direction: column;
		align-items: start;
	}
	input[type="text"],
	input[type="email"],
	textarea {
		margin: 0;
	}
}



/*=============== デザイン（個別ページ） ===============*/
.design-main {
	padding: 30px 0;
}

.design-container {
	max-width: 1020px;
	margin: 0 auto;
	padding: 0 3%;
	text-align: center;
}

.design-header {
	display: flex;
	justify-content: center;
	height: 70px;
    align-items: center;
}

.design-header__logo-link {
	    color: #30365D;
    text-align: center;

}

.design-header__logo-link:hover {
	text-decoration: none;
	opacity: 0.7;
}

.design-header__logo {
	margin: 0;
	font-family: 'Sorts Mill Goudy', serif;
	font-size: 0.5rem;
}
.design-header__logo span {
	font-size: 1.4rem;
}


.design-portfolio {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 100px;
}

.design-portfolio__item {
	width: 48%;
	padding: 30px 20px;
	text-align: left;
}


.design-portfolio__item--text {
	width: 47%;
  	padding: 30px 60px;
 	margin: 2em 0;
 	background: #fff;
 	box-shadow: 1px 1px 6px 1px rgba(0,0,0,0.07);
 	font-size: 0.85rem;
}



.design-portfolio__title {
	margin: 0;
	font-size: 1.0rem;
	font-weight: normal;
}

.design-portfolio__link {
	color: 	#003399;
	font-size: 0.9em;
	position: relative;
}


.design-portfolio__link:after {
font-family: 'FontAwesome';
content: '\f08e';
font-size:0.8em;
margin:0 3px 0 4px;
}

.design-portfolio__text {
	font-size: 0.9em;
	margin-top: 8.9px;
}

.design-portfolio__list {
	font-size: 0.55rem;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 4.7px;

}

.design-portfolio__list span {
	background: #666E70;
	color: #fff;
	margin-right: 12px;
	padding: 2px 8px;
	border-radius: 4px;
		margin-bottom: 10px;
}


.footer--design {
	margin: 0;
}


.home-btn {
	display: block;
	padding: 3px;
	width: 100px;
	margin: 0 auto 50px;
	color: #666E70;
	border: solid #666E70;
	text-align: center;
	transition: .25s;
}
.home-btn:hover {
	text-decoration: none;
	background: #666E70;
	color: #FFF;
}


@media (max-width: 768px) {
	.design-portfolio {
		flex-direction: column;
	}
	.design-header {
	padding-bottom: 0px;
	}

	.design-portfolio__item {
		width: 90%;
	}
	.design-portfolio__item--text {
		width: 90%;
	}
}







/*=============== アニメーション ===============*/





/* ぼかしから出現 */
.blur{
	animation-name:blurAnime;
	animation-duration:1.0s;
	animation-fill-mode:forwards;
}

@keyframes blurAnime{
  from {
	filter: blur(8px);
	transform: scale(1.02);
	transform: translateX(-50px);
  }

  to {
	filter: blur(0);
	transform: scale(1);
	transform: translateX(0);
  }
}


/* ぼかしから出現 */
.blur2{
	animation-name:blur2Anime;
	animation-duration:1.0s;
	animation-fill-mode:forwards;
}

@keyframes blur2Anime{
  from {
	filter: blur(8px);
	transform: scale(1.02);
	transform: translateX(50px);
  }

  to {
	filter: blur(0);
	transform: scale(1);
	transform: translateX(0);
  }
}


/* その場で */
.fadeIn{
animation-name:fadeInAnime;
animation-duration:2s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}



/*========= 流れるテキスト ===============*/

/*全共通*/

.slide-in {
	overflow: hidden;
    display: inline-block;
}

.slide-in_inner {
	display: inline-block;

}

/*左右のアニメーション*/
.leftAnime{
    opacity: 0;/*事前に透過0にして消しておく*/
}

.slideAnimeLeftRight {
	animation-name:slideTextX100;
	animation-duration:1.3s;
	animation-fill-mode:forwards;
    opacity: 0;
}

@keyframes slideTextX100 {
  from {
	transform: translateX(-100%); /*要素を左の枠外に移動*/
        opacity: 0;
  }

  to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}

.slideAnimeRightLeft {
	animation-name:slideTextX-100;
	animation-duration:1.3s;
	animation-fill-mode:forwards;
    opacity: 0;
}


@keyframes slideTextX-100 {
  from {
	transform: translateX(100%);/*要素を右の枠外に移動*/
    opacity: 0;
  }

  to {
	transform: translateX(0);/*要素を元の位置に移動*/
    opacity: 1;
  }
}


/*遅延*/

.delay-time1{
animation-delay: 0.3s;
}
.delay-time2{
animation-delay: 0.5s;
}
.delay-time3{
animation-delay: 0.7s;
}
.delay-time4{
animation-delay: 0.9s;
}

.delay-time-title{
animation-delay: 0.8s;
}
