@charset "UTF-8";
@import url("grid.css");

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #000;
    --link-color: #3984cf;
    --linkhover-color: #999;
    --border-color: #ccc;
    --white-color: #fff;
	--menu-color: #b37387;
	--title-color: #666;
	--background-color: #f6f3f0;
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
	vertical-align: top;
}
a {
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}
a:hover { 
    /*color: var(--linkhover-color);*/
}
a img:hover {
	opacity: 0.8;
}
.underline {
	border-bottom: 3px solid var(--base-color);
	padding-bottom: 0.5rem;
}
.center {
	text-align: center;
}

/*ヘッダー
-------------------------------------*/
.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
}

.snsbox {
	margin-left: auto;
	font-size: 3.0rem;
	padding: 1rem 0 0 0;
}

/*-----scroll header-------*/
	
/* 固定ヘッダーのスタイル */
.header-navFixed {
	background-color: #fff; /* 背景色 */
	color: #333; /* テキスト色 */
	position: fixed; /* 固定 */  
	top: -100px; /* ヘッダーの高さ分上にする(隠す) */
	transition: top .5s; /* アニメーション効果を追加 */
	width: 100%; /* 幅を100%に */
	z-index: 999;
	box-shadow: 0px 1px 10px 0px rgba(170, 161, 155, 0.3);
}

/* 固定ヘッダーが表示されたときのスタイル */
#js-header.is-show {
	top: 0; /* 隠していたヘッダーを表示 */
}

/* ヘッダーリストのスタイル */
.header-list {
	align-items: center; /* 垂直方向中央揃え */
	display: flex; /* 横並びに配置 */
	height: 40px; /* ヘッダーの高さ */
	justify-content: center; /* 左右中央寄せ */
	list-style: none;
	margin: 2rem;
	font-family: "Julius Sans One", sans-serif;
	font-weight: bold;
	font-size: 2rem;
}

/* ヘッダーアイテムのスタイル */
.header-item a {
	color: #333; /* テキスト色 */
	padding: 10px 50px; /* 内側の余白 */
	text-decoration: none; /* デフォルトの下線を消す */
}	

	


@media screen and (min-width: 768px){
.sp {
	display: none;
}
.container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 5rem 2rem;
    position: relative;
}

#menu {
	position: absolute;
	top: 12vw;
	left: 5vw;
	width: 20vw;
    padding: 2vw 2.5vw;
	z-index: 999;
}	
.nav li {
	list-style: none;
	padding: 7px 0;
}

.nav li a {
	color: #000;
	font-size: 1.3vw;
	text-decoration: none;
	font-family: "Julius Sans One", sans-serif;
	font-weight: 400;
}

.nav li a:hover {
	color: var(--menu-color);
	font-weight: bold;
}

/*メイン画像
-------------------------------------*/
.mainimg {
	position: relative;
}
.mainimg img {
	width: 93vw;
    height: 40vw;
    object-fit: cover;
    opacity: 0.7;
    object-position: 22vw 3vw;
}

/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}



.item {
  opacity: 0;         /* 初期値は透明にしておく */
  transition: 0.8s;    /* 動くスピードを0.8秒に指定 */
}

.active {
  opacity: 1;         /* 透明度を元に戻す */
  top: 0;             /* ずらしていた位置を戻すことで上に上がっているようにみえる */
}

@media screen and (max-width: 768px){
.pc {
	display: none !important;
}

.container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 3rem 2rem;
    position: relative;
}
section:first-child {
	padding-top: 0;	
}
	
#navi {
    display: none;
}

	
#menu-bar {
  width: 45px;
  height: 40px;
  margin: 30px 0 10px 20px;
  cursor: pointer;
}
	
#bar1 {
  transform: translateY(-8px);
}
#bar3 {
  transform: translateY(8px);
}

	
#menu {
  z-index: 2;
}


.bar {
  height: 5px;
  width: 100%;
  background: var(--menu-color);
  display: block;
  border-radius: 5px;
  transition: 0.3s ease;
}

.nav {
  transition: 0.3s ease;
  display: none;
}
	
.nav ul {
  padding: 0 22px;
}

.nav li {
  list-style: none;
  padding: 4px 0;
}

.nav li a {
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  font-family: "Julius Sans One", sans-serif;
  font-weight: bold;
}

.nav li a:hover {
  font-weight: bold;
}

.menu-bg, #menu {
  top: 0;
  left: 0;
  position: absolute;
}

.menu-bg {
  z-index: 1;
  width: 0;
  height: 0;
  margin: 30px 0 20px 20px;
  background: var(--menu-color);
  border-radius: 50%;
  transition: 0.3s ease;
}

.change {
  display: block;
}

.change .bar {
  background-color: white;
}

.change #bar1 {
  transform: translateY(4px) rotateZ(-45deg);
}

.change #bar2 {
  opacity: 0;
}

.change #bar3 {
  transform: translateY(-6px) rotateZ(45deg);
}

#home .change-bg {
	width: 700px;
    height: 700px;
	transform: translate(-58%, -39%);
}
#works .change-bg,
#web .change-bg {
	width: 490px;
    height: 490px;
	transform: translate(-58%, -39%);
}
	
	
	
/*-----scroll header-------*/
.header-list {
	margin: 1.5rem;
	font-size: 1.7rem;
}
.header-item a {
	padding: 10px; /* 内側の余白 */
}	
		
	
/*メイン画像
-------------------------------------*/
	
.mainimg {
	position: relative;
	width: 100vw;
	height: 100vw;
	overflow: hidden;
}
.mainimg img {
	width: 100%;
	height: 152%;
	object-fit: cover;
	opacity: 0.7;
}

}


/*h1アニメーション
-------------------------------------*/
@keyframes kf-animate-chars {
0% {
	opacity: 0;
	transform: translateY(-50%);
	}
  
100% {
    opacity: 1;
    transform: translateY(0);
	}
}

@media screen and (min-width: 768px){
#home .animate-title,
#works .animate-title,
#web .animate-title {
	position: absolute;
	opacity: 1;
	/*font-family: "Codystar", sans-serif;*/
	font-family: "Poetsen One", sans-serif;
	font-family: "Archivo Black", sans-serif;
	font-family: "Black Han Sans", sans-serif;
	font-family: "Julius Sans One", sans-serif;
	font-weight: 400;
	font-style: normal;
  
	&.inview {
		opacity: 1;
    
		& .char {
			display: inline-block;
			animation-name: kf-animate-chars;
			animation-duration: 1s;
			animation-timing-function: ease;
			animation-delay: 0s;
			animation-iteration-count: 1;
			animation-direction: normal;
			animation-fill-mode: both;
			
			@for $i from 1 through 14 {
				&:nth-child(#{$i}) {
					animation-delay: $i * 0.1s;
				}
			}
		}
	}
}
	
#home .animate-title {
	top: 6vw;
	left: 7vw;
	font-size: 6vw;
	color: #333;
	letter-spacing: -1vw;
}
#works .animate-title,
#web .animate-title {
	top: 50%;
	left: 28vw;
	-ms-transform: translate(0,-50%);
	-webkit-transform: translate(0,-50%);
	transform: translate(0,-50%);
	font-size: 9rem;
	color: #fff;
	letter-spacing: -1.5rem;
}
	
}



@media screen and (max-width: 768px){
#home .animate-title,
#works .animate-title,
#web .animate-title {
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);  
	opacity: 0;
	font-family: "Julius Sans One", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 4rem;
	letter-spacing: -0.6rem;
	text-align: center;
	width: 80%;
      
	&.inview {
		opacity: 1;

    & .char {
		display: inline-block;
		animation-name: kf-animate-chars;
		animation-duration: 1s;
		animation-timing-function: ease;
		animation-delay: 0s;
		animation-iteration-count: 1;
		animation-direction: normal;
		animation-fill-mode: both;
      
		@for $i from 1 through 14 {
			&:nth-child(#{$i}) {
				animation-delay: $i * 0.1s;
			}
		}
		}
	}
}
	
#home .animate-title {
	color: #333;
}
#works .animate-title,
#web .animate-title {
	color: #fff;
}
	
}



/*メインコンテンツ
-------------------------------------*/
/*main {
    margin: 5rem 0 5rem 0;
}*/


.icon_btn i {
	font-size: 50px;
	color: var(--menu-color);
}
.icon_btn p {
	font-size: 2.5rem;
	font-family: "Julius Sans One", sans-serif;
	margin: 0;
	color: #333;
}

.works_menu img {
	width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center top;
    border-radius: 15px;
	transition-duration: 0.5s;
}
.works_menu .layer {
	position: relative;
	width: 100%;
    height: 200px;
    border-radius: 15px;
}

.works_menu .layer:hover {
	transform: scale(1.05,1.05); /*画像の拡大*/
	cursor: pointer; /*カーソルをポインターにする*/
    transition-duration: 0.5s;
}
.works_menu .layer:after {
	content: "";
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	position: absolute;
	top: 0;
	left: 0;
    border-radius: 15px;
	border: 3px solid #333;
}
.works_menu figcaption {
	position: absolute;
    top: 50%;
    left: 50%;
    font-size: 3rem;
	font-family: "Poetsen One", sans-serif;
	font-family: "Archivo Black", sans-serif;
	font-family: "Black Han Sans", sans-serif;
	font-family: "Julius Sans One", sans-serif;
	font-weight: 500;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
	color: #fff;
	z-index: 1;
	letter-spacing: 0.5rem;
	text-shadow: rgba(0, 0, 0, 0.9) 3px 3px 5px;
	width: 80%;
    text-align: center;
	/*background: rgba(0, 0, 0, 0.7);
	border-radius: 3px;*/
}


/*キャッチタイトル
-------------------------------------*/
h2.catch {
	position: relative;
    display: inline-block;
    left: 50%;
    -ms-transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
	text-align: center;
	color: var(--title-color);
	font-size: 5.0rem;
	margin-bottom: 5rem;
	font-family: "Poetsen One", sans-serif;
	font-family: "Archivo Black", sans-serif;
	font-family: "Black Han Sans", sans-serif;
	font-family: "Julius Sans One", sans-serif;
	font-weight: bold;
	border-bottom: 5px solid var(--menu-color);
}





@media screen and (min-width: 768px){
.span-4,
.banner .span-3,
.banner .span-6,
.flyer_poster .span-6 {
	margin-bottom: 4rem;
}
.webveiw .span-4 {
    height: 580px;
    overflow: scroll;
    border: 10px solid #444;
    border-radius: 35px;
}
.tablet .span-9 {
	margin: 2rem auto;
    border: 34px solid #555;
    border-radius: 40px;
    background: #555;
	text-align: center;
}
.span-12 {
	margin-bottom: 8rem;
}
.icon_btn {
	background: #fff;
    border-radius: 10px;
    padding: 30px 0;
    text-align: center;
    width: 70%;
    margin: 0 auto;
    border: 3px solid #f7f2ed;
    background-color: var(--background-color);
    -webkit-box-shadow: 9px 9px 12px #e8e2dc, -9px -9px 12px #fffdfb;
    box-shadow: 9px 9px 12px #e8e2dc, -9px -9px 12px #fffdfb;
}
.icon_btn:active {
	border: 3px solid #f7f2ed;
	box-shadow: inset 9px 9px 12px #e8e2dc, inset -9px -9px 12px #fffdfb;
}
	
#works .works_menu img,
#web .works_menu img,
#works .works_menu .layer,
#web .works_menu .layer {
    height: 100px;
}

	
}

@media screen and (max-width: 768px){
h2.catch {
	font-size: 3rem;
	margin-bottom: 3rem;
	border-bottom: 5px solid var(--menu-color);
}

.row {
    display: flex;
    flex-direction: row;
    padding: 0;
    width: 100%;
	flex-wrap: wrap;
    justify-content: space-between;
}
/*.col {
    display: block;
    flex: 1 1 auto;
    margin-left: 0;
    max-width: 100%;
}*/
.span-2 {
	flex: 0 0 31%;
	max-width: 31%;
}
.banner .span-3,
.banner .span-6 {
	margin-bottom: 4rem;
}
.banner .span-3,
.span-4	{
	flex: 0 0 47%;
	max-width: 47%;
}
.web_lp .span-4,
.tablet .span-4 {
    display: block;
    flex: 1 1 auto;
    margin-left: 0;
    max-width: 100%;
}

.webveiw .span-4 {
    display: block;
    flex: 1 1 auto;
    margin: 0 auto 2rem;
    max-width: 90%;
    height: 500px;
    overflow: scroll;
    border: 9px solid #444;
    border-radius: 35px;
}
.span-4,
.banner .span-3,
.banner .span-6,
.tablet .span-6,
.tablet .span-7,
.flyer_poster .span-6 {
	margin-bottom: 2rem;
}
#home .works_menu .span-4 {
	margin-bottom: 0;
}
.span-5 {
	flex: 0 0 33%;
	max-width: 33%;	
}

.tablet .span-9 {
	margin: 2rem auto;
    border: 15px solid #555;
    border-radius: 20px;
    background: #555;
}
.span-12 {
	text-align: center;
	margin-bottom: 5rem;
}
	
.icon_btn {
	background: #fff;
    border-radius: 10px;
    padding: 30px 0;
    text-align: center;
    width: 70%;
    margin: 0 auto;
    border: 3px solid #f7f2ed;
    background-color: var(--background-color);
    -webkit-box-shadow: 7px 7px 10px #e8e2dc, -7px -7px 10px #fffdfb;
    box-shadow: 7px 7px 10px #e8e2dc, -7px -7px 10px #fffdfb;
}
.icon_btn:active {
	border: 3px solid #f7f2ed;
	box-shadow: inset 7px 7px 10px #e8e2dc, inset -7px -7px 10px #fffdfb;
}	
.icon_btn i {
	font-size: 30px;
}
.icon_btn p {
	font-size: 1.8rem;
	margin: 0;
}
.icon_btn {
	width: 80%;
    padding: 10px 0;
}

.works_menu img {
	width: 100%;
    height: 125px;
    object-fit: cover;
    object-position: center top;
	border: 3px solid #555;
    border-radius: 15px;
	transition-duration: 0.3s;
}

.works_menu figure {
	margin-bottom: 1.5rem;
}
.works_menu .layer {
	position: relative;
	width: 100%;
    height: 125px;
    border-radius: 15px;
}

.works_menu figcaption {
    font-size: 2.2rem;
}

}

/*profile*/
@media screen and (min-width: 768px){
.profile,
.skill {
	margin-top: -50px;
    padding-top: 100px;
}
.profile_img {
	display: flex;
	justify-content: space-around;
}
.profile_text {
	padding: 2vw 5vw 0 0;
}
.profile_img h3 {
	font-family: "Poetsen One", sans-serif;
	font-family: "Archivo Black", sans-serif;
	font-family: "Black Han Sans", sans-serif;
	font-family: "Julius Sans One", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 5rem;
	margin-bottom: 2rem;
	z-index: 999;
}
.profile_img img {
	width: 50%;
	object-fit: contain;
}
.profile p {
	margin-bottom: 1.5rem;	
}
.skill .row,
.summary .row {
	border-bottom: 1px solid #fff;
	padding: 2rem;
}
.skill .row:first-child,
.summary .row {
	border-top: 1px solid #fff;
}	

}

@media screen and (max-width: 768px){
.profile,
.skill {
	margin-top: -40px;
	padding-top: 80px;
}	
.profile_text {
	padding: 0 3rem;
}
.profile_img h3 {
	font-family: "Poetsen One", sans-serif;
	font-family: "Archivo Black", sans-serif;
	font-family: "Black Han Sans", sans-serif;
	font-family: "Julius Sans One", sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size: 4rem;
	margin-bottom: 2rem;
	z-index: 999;
}
.profile_img img {
	width: 100%;
	object-fit: contain;
}
.profile p {
	margin-bottom: 1.5rem;	
}

.skill .row,
.summary .row {
	border-bottom: 1px solid #fff;
	padding: 2rem 1rem;
}

}




/*-----works-----*/


@media screen and (min-width: 768px){
	
/*メイン画像
-------------------------------------*/
#works .mainimg,
#web .mainimg {
	position: relative;
}
#works .mainimg img,
#web .mainimg img {
	width: 93vw;
    height: 25vw;
    object-fit: cover;
    opacity: 1;
    object-position: 22vw 3vw;
}
	
	
	
#works #menu,
#web #menu {
	position: absolute;
	top: 4vw;
	left: 4vw;
	width: 20vw;
    padding: 40px;
	z-index: 1;
}
	
	
#works .works_menu figcaption,
#web .works_menu figcaption {
	position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2.5rem;
	font-family: "Poetsen One", sans-serif;
	font-family: "Archivo Black", sans-serif;
	font-family: "Black Han Sans", sans-serif;
	font-family: "Julius Sans One", sans-serif;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
	color: #fff;
	z-index: 1;
	letter-spacing: 0.5rem;
	text-shadow: #000 2px 2px 5px;
	width: 80%;
    text-align: center;
	line-height: 1.2;
}
#works .works_menu img,
#web .works_menu img,
#works .works_menu .layer,
#web .works_menu .layer {
    height: 100px;
}


}

@media screen and (max-width: 768px){
/*メイン画像
-------------------------------------*/
#works .mainimg,
#web .mainimg {
	position: relative;
	width: 100vw;
	height: 60vw;
	overflow: hidden;
}
#works .mainimg img,
#web .mainimg img {
	width: 100%;
	height: 150%;
	object-fit: cover;
	object-position: bottom left;
	opacity: 1;
}
	
	
#works .works_menu figcaption,
#web .works_menu figcaption {
	position: absolute;
    top: 50%;
    left: 50%;
    font-size: 2rem;
	font-family: "Poetsen One", sans-serif;
	font-family: "Archivo Black", sans-serif;
	font-family: "Black Han Sans", sans-serif;
	font-family: "Julius Sans One", sans-serif;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
	color: #fff;
	z-index: 1;
	letter-spacing: 0.2rem;
	text-shadow: #000 2px 2px 2px;
	width: 85%;
    text-align: center;
	line-height: 1.4;
}
#works .works_menu img,
#web .works_menu img,
#works .works_menu .layer,
#web .works_menu .layer {
    height: 80px;
}

	
}


.web_lp .caption::after,
.tablet .caption::after,
.webveiw .caption::after,
.other .caption::after {
	display: block;
	content:"";
	width: 30.6666666667%;
}
.web_lp .caption img {
	width: 100%;
    height: 15vw;
    object-fit: cover;
    object-position: top;
	margin-bottom: 1rem;
}
.caption a {
	color: var(--base-color);
}


@media screen and (min-width: 768px){
.tablet .caption img {
	transition: all 0.7s ease-in-out;
}
.tablet .caption img:hover {
	transform: scale(1.5);
	/*background: rgba(0, 0, 0, 0.7);
	padding: 3vw;*/
}
.tablet .caption .span-9 img {
	transition: inherit;
}
.tablet .caption .span-9 img:hover {
	transform: none;
}

}


/*.web_lp,
.banner {
	padding-top: 0;
}*/

@media screen and (max-width: 768px){
.web_lp .caption img {
    height: 60vw;
}

}


.tablet .caption {
	margin-bottom: 8rem;
}
.banner .caption::after {
	display: block;
	content:"";
	width: 22%;
}
.banner .caption img,
.tablet .caption img {
	width: 100%;
    object-fit: contain;
}


@media screen and (max-width: 768px){
.banner .caption img,
.tablet .caption img {
	width: 100%;
}

}

/*web LP 詳細ページ*/
.detail h3,
.other h3 {
	color: var(--title-color);
	padding: 2rem;
}
.detail a {
	word-break: break-all;
	margin-bottom: 2rem;
}
.summary {
	text-align: left;
	margin: 2em 0 3em;
}
.summary .row{
	
}
.summary-box {
    position: relative;
    margin: 2em 10em;
    padding: 0.5em 1em;
    border: solid 2px var(--title-color);
    border-radius: 8px;
}
.summary-box .summary-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 16px;
    color: var(--menu-color);
	background: var(--background-color);
    font-weight: bold;
}
.summary-box p {
    margin: 0; 
    padding: 0;
	color: var(--title-color);
}

@media screen and (min-width: 768px){
.detail,
.other {
	text-align: center;
	padding: 4rem 13rem;
}

	
}

@media screen and (max-width: 768px){
.detail {
	text-align: center;
	padding: 4rem 2rem;
}
.other h3 {
	text-align: center;
}

}






/*フッター
-------------------------------------*/
footer {
    background-color: var(--white-color);
    padding: 3rem 0;
}
footer h5 {
    border-bottom: 1px solid var(--border-color);
}

@media screen and (max-width: 768px){
    padding: 1rem 0;
}
/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--white-color);
}
.copyright a {
    color: var(--base-color);
    text-decoration: none;
	display: inline-block;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
	z-index: 999;
}
#pagetop a {
    display: block;
    background: var(--menu-color);
    color: var(--white-color);
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: var(--linkhover-color:);
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: var(--link-color);
}

