@charset "UTF-8";
/* CSS Document */

/* ---ふわっと開く処理--- */
.fadeIn{
animation-name:fadeInAnime;
animation-duration:1.5s;
animation-fill-mode:forwards;
opacity:0;
}
@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
/* ---ふわっと開く処理　ここまで--- */


/* ---スムーススクロール--- */
.scroll-smooth {
	scroll-behavior: smooth;
}
/* ---スムーススクロール ここまで--- */


/* ---全体の処理--- */

/* 全体の見た目の指定 */
html,body {
  overflow-x: hidden;
}

html {
	font-size: 90%;
	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
}
 /* モバイルの表記 */
@media (max-width: 600px) {
	html {
		font-size: 100%;
	}
}

body {
	margin: 0;
	color: #666666;
	/* background: linear-gradient(-20deg, #2193b0 0%, #6dd5ed 100%); */
	background-attachment: fixed;
}

a {
	text-decoration: none;
	color: #333333;
}
/* ----全体の処理 ここまで--- */


/* ---全体のレイアウト--- */
.basic-layout {
	display: flex;
	grid-template-columns: 150px auto 10%;
	height: 100%;
}

/* 左側のリスト */
.left-nav {
	background: #ffffff;
	position: fixed;
	display: block;
	width: 150px;
	height: 100%;
	padding-top: 20px;
	/* background-color: rgba(255 255 255 / 10%); */
	top:0;
	margin-left: 0;
	z-index: 100;/*描画を一番上に*/
}
/* 中央のメインコンテナ */
.main-contents {
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 1000px;
	z-index: 99;
}
/* 左側の画像（Wが広い時用） */
.right-img {
	position: fixed;
	display: block;
	width: 10%;
	height: 100%;
	right: 0;
	top: 0;
	background-image:url("../img/right_image.jpg");
 	background-size: cover;         
	z-index: 100;/*描画を一番上に*/
}
 /* モバイルの表記 */
@media (max-width: 600px) {
	.basic-layout {
		display: block;
	}
	.right-img {
		display: none;
	}
}
 /* ちょっと狭い時の表記 */
@media (max-width: 1000px) {
	.basic-layout {
		margin-top:80px;
	}
	.left-nav {
		display: none;
	}
	.right-img {
		display: none;
	}
}
main {
	display: block;
	max-width: 100%;
}

/*  メインのフレーム  */
.main-frame {
	background-color: rgba(255 255 255 / 60%);
	width: 80%;
	max-width: 800px;
	margin: 0 auto;
	margin-top: 30px;
}

@media (max-width: 600px) { /* モバイル用 */
	.main-frame {
		width: 90%;
	}
}

/* 2列リスト（プロフィールなどで使用） */
.col2 {
 	display: grid;
 	width: fit-content;
	column-gap: 2em;
	grid-template-columns: repeat(2, auto);
	list-style: none; /*リストの頭の文字を削除*/
	padding-left: 0;
}
.col2 li {
	margin-bottom: 10px;
}
.col2 li:nth-child(odd) {
	width: 65px;
}

/* レスポンシブ対応の為非表示にしたい部分 */
@media (max-width: 600px) { /* モバイルのみ表示 */
	.only-pc {
		display: none;
	}
}
@media not (max-width: 600px) { /* PCのみ表示 */
	.only-mobile {
		display: none;
	}
}
/* コンテナの設定（後で使うかも）
.container {
	containar-type: inline-size;
}
@container not (max-width: 600px) {
	ul {
		display: flex;
		justifiy-contents: space-between;
	}
	
	li {
		width: 33%;
	}
}
*/

/* ---全体のレイアウト ここまで--- */


/* ---h1〜h6など、フォントの指定  ※そのうち「全体の見た目の指定」に移すかも--- */
h1 {
	display: flex;
	font-size: 34px;
	letter-spacing: 0.05em;
	font-family: "Cabin Sketch", sans-serif;
	font-weight: 700;
	font-style: normal;
	margin: 0;
}
 /* モバイルの表記 */
@media (max-width: 600px) {
	h1 {
		font-size: 40px;
		justify-content: center;
		margin-top: 10px;
	}
}

h2 {
	font-size: 30px;
	color: #333333;
	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	opacity: 0;
  
	/* アニメーション */
 	animation: fadeIn 2s linear;
 	animation-fill-mode: both;
	animation-delay: 3s;
}

.site-logo {
	font-family: "Cabin Sketch", sans-serif;
	font-weight: 700;
	font-style: normal;
	color: #333333;
	font-size: 28px;
	margin-left:20px;
}

@keyframes h3 {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
/* ---h1〜h6など、フォントの指定 ここまで--- */


/* ---サイトトップタイトル--- */

/* タイトル */
h1.site-title {
	color: #333333;
	display: flex;
	font-size: 54px;
	letter-spacing: 0.05em;
	font-family: "Cabin Sketch", sans-serif;
	font-weight: 700;
	font-style: normal;
}
/* サブタイトル */
h2.site-title {
	font-size: 26px;
	color: #333333;
	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	opacity: 0;
  
	/* アニメーション */
 	animation: fadeIn 2s linear;
 	animation-fill-mode: both;
	animation-delay: 3s;
}
@media (max-width: 800px) { /* ちょっと狭くなった時用 */
	h1.site-title {
		font-size: 40px;
	}
	h2.site-title {
		font-size: 18px;
	}
}
/* ---サイトトップタイトル　ここまで--- */


/* ---サイトトップのレイアウト--- */
.container-top {
	display: flex;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
	margin-bottom: 50px;
	max-width: 1600px;
}
@media (max-width: 1150px) { /*1150pxを切った時用 */
	.container-top {
		max-width: 850px;
	}
}

.top-text {
	margin: 10px;
	width: 50%;
    display: flex;
    justify-content: left; /*左右*/
    align-items: center;     /*上下中央揃え*/
	text-align: left;	/*テキスト中央揃え*/
}
.top-img {
	margin: 10px;
	width: 50%;
    display: flex;
    justify-content: center; /*左右*/
    align-items: center;     /*上下中央揃え*/
}

@media (max-width: 600px) { /* モバイル用 */
	h1.site-title {
		font-size: 46px;
	}
	h2.site-title {
		font-size: 20px;
	}
	.container-top {
		display: flex;
		flex-direction: column-reverse;
		max-width: 100%;
		margin-inline: auto;
		margin-top: 10px;
		margin-bottom: 20px;
		justify-content: center;
	}
	.top-text {
		width: 80%;
		justify-content: center; /*左右*/
		align-items: center;     /*上下中央揃え*/
		text-align: center;	/*テキスト中央揃え*/
		margin-inline: auto;
	}
	.top-img {
		width: 90%;
		align-items: center;     /*上下中央揃え*/
		justify-content: center;	/*中央揃え*/
		margin-inline: auto;
		margin-top: 20px;
		margin-bottom: 40px;
	}
}
 /* ちょっと小さいモバイルの表記 */
@media (max-width: 500px) {
	h1.site-title {
		font-size: 40px;
	}
	h2.site-title {
		font-size: 18px;
	}
}

/* ランダムで文字が出てくるところ */
.site-text {
	display: block;
	position: relative;
	bottom: 50px;
}
@media (max-width: 600px) { /* モバイル用 */
	.site-text {
		bottom: 0px;
	}
}

/* ---サイトトップのレイアウト　ここまで--- */


/* ---画像の後ろに背景色が伸びて出現する--- */

/* 画像の後ろの背景色のサイズ */
.bgextend{
	position: relative;
	width: 110%;
	height: 110px;
	bottom: 300px;
	left: 8%;
	right: -50px;
	padding-left: 20px;
	margin:0 20px -150px 0;
	box-sizing:border-box;
	z-index: -1;
}
@media (max-width: 1150px) { /* W1150以下 */
	.bgextend{
		bottom: 250px
	}
}
@media (max-width: 1000px) { /* W1000以下 */
	.bgextend{
		bottom: 250px
	}
}
@media (max-width: 800px) { /* W800以下 */
	.bgextend{
		bottom: 200px
	}
}
@media (max-width: 600px) { /* モバイル用 */
	.bgextend{
		height: 90px;
		bottom: 210px
	}
}

/* 背景色が伸びて出現 */
.bgextend{
	animation-name:bgextendAnimeBase;
	animation-duration:1s;
	animation-fill-mode:forwards;
	position: relative;
	overflow: hidden;/*　はみ出た色要素を隠す　*/
	opacity:0;
}

@keyframes bgextendAnimeBase{
  from {
    opacity:0;
  }

  to {
    opacity:1;  
}
}

/*中の要素*/
.bgappear{
	animation-name:bgextendAnimeSecond;
	animation-duration:1s;
	animation-delay: 2s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes bgextendAnimeSecond{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
	}
}

/* 右から出現 */
.bgRLextend::before{
	animation-name:bgRLextendAnime;
	animation-duration:3s;
	animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #cccccc;/*伸びる背景色の設定*/
}
@keyframes bgRLextendAnime{
	0% {
		transform-origin:right;
		transform:scaleX(0);
	}
	100% {
		transform-origin:right;
		transform:scaleX(1);
	}
}
/* ---画像の後ろに背景色が伸びて出現する ここまで--- */

/* ---ナビの設定--- */
.gnavi{
	font-size: 1.0rem;
	text-transform: uppercase; /*フォントをすべて大文字にする*/
	margin-top: 20px;
	list-style: none; /*リストの頭の文字を削除*/
}

.gnavi li a{
    display: block;
    text-decoration: none;
    color: #666666;
}

.gnavi li a{
    /*線の基点とするためrelativeを指定*/
	position: relative;
}

.gnavi li.current a,
.gnavi li a:hover{
	color:#999999;
	font-weight: 900;
}

.gnavi li a::after {
    content: '';
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 0;
    left: 0%;

}

/*現在地とhoverの設定*/
.gnavi li.current a::after,
.gnavi li a:hover::after {

    transform: scale(1, 1);/*X方向にスケール拡大*/
}

@media not (max-width: 600px) { /* モバイル用 */
	.page-header { /*ナビをロゴと横並びにする*/
		position:fixed;
	}

	.wrapper-header {
		width: 150px; /*最大幅*/
		padding: 0 0 auto 0; /*スマートフォン向け余白の指定*/
	}
}

/* モバイルの処理 */
.mobile-nav {
	position: fixed;
	display: flex;
	justify-content:space-between;
	width: 100%;
	height: 50px;
	top: 0px;
	left: 0px;
	padding: 10px;
	background-image:url("../img/mobile_image.jpg");
 	background-size: cover;         
	z-index: 100;/*描画を一番上に*/
}
.mobile-nav-box {
	padding: 0px;
}
.mobile-nav .site-logo {
	background-color: rgba(255 255 255 / 80%); 
	padding: 5px;
	margin-right: 30px;
	font-size: 20px;
	line-height: 1.0;
}

/* 3本線が×に
/*ボタン外側※レイアウトによってpositionや形状は適宜変更してください*/
.openbtn{
	/*ボタン内側の基点となるためrelativeを指定。
追従するナビゲーションの場合はfixed＋top、rightといった位置をセットで指定*/
	position:fixed;
	background:#cccccc;
	cursor: pointer;
    width: 50px;
    height: 50px;
	border-radius: 5px;
	z-index: 100;/*描画を一番上に*/
}

/*ボタン内側*/
.openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background: #fff;
  	width: 45%;
  }

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

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

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

/*activeクラスが付与されると線が回転して×に*/

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

.openbtn.active span:nth-of-type(2) {
	opacity: 0;/*真ん中の線は透過*/
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
@media not (max-width: 1000px) { /* w1000px未満は表示しない */
	.only-1000px {
		display: none;
	}
}

.menu-content {
		width: 50%;
		height: 100%;
		position: fixed;
		top: 0;
		right: 0;
		z-index: 80;
		background-color: #cccccc;
	}
.menu-content ul {
		padding: 70px 10px 0;
		text-align: center;
	}
.menu-content ul li {
		list-style: none;
	}
.menu-content ul li a {
		display: block;
		width: 100%;
		font-size: 15px;
		box-sizing: border-box;
		color:#999999;
		text-decoration: none;
		padding: 9px 15px 10px 0;
		position: relative;
	}
.menu-content ul li a::before {
		content: "";
		width: 7px;
		height: 7px;
		border-top: solid 2px #ffffff;
		border-right: solid 2px #ffffff;
		transform: rotate(45deg);
		position: absolute;
		right: 11px;
		top: 16px;
	}
.menu-content {
		width: 50%;
		height: 100%;
		position: fixed;
		top: 0;
		right: 100%;/*leftの値を変更してメニューを画面外へ*/
		z-index: 3;
		background-color: #ffffff;
		transition: all 0.5s;/*アニメーション設定*/
	}
.openbtn.active ~ .menu-content {
    	right: 50%;/*メニューを画面内へ*/
		box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .5);
	}

/* ---ナビの設定　ここまで--- */


/* ---サイトトップの新着--- */
.new-post {
	padding: 20px 30px;
	padding-top: 10px;
	background-color: #ffffff;
	box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .3);
}
h3 {
	font-size: 1.5em;
	color: #333333;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 20px;
}
.new-post section {
	border-color: #666666;
	border-width: 0.5px;
	border-style: none none solid none;
}
.new-post section:last-child {
	border-style: none;
}
.new-post ul {
	list-style: none; /*リストの頭の文字を削除*/
	padding-left: 10px;
}
.new-post section h4 {
	border: 1px solid;
	background-color: #999999;
	color: #ffffff;
	padding: 5px 15px;
	width: 70px;
}
/* ---サイトトップの新着 ここまで--- */


/*　---サイトトップの下のカテゴリー--- */
.container-category {
	display:grid;
	gap: 2rem 1.5rem;
	grid-template-columns: repeat(3, 1fr);
	text-align: center;
}
.category-contents {
	position: relative;
	box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .3);
}
.category-contents img {
	aspect-ratio: 900/1273;
	width: 100%;
	object-fit: cover;
}
.category-contents p {
	position: absolute;
	color: #333333;
	bottom:-14px;
	left: 0;
	width: 100%;
	background:rgba(255,255,255,0.7);
	padding-top: 10px;
	padding-bottom: 10px;
	padding-inline: auto;
}
.category-contents strong {
	font-weight: 600;
	font-size: 1.2rem;
}
@media (max-width: 800px) { /* w800未満用 */
	.container-category {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 600px) { /* モバイル用 */
	.container-category {
		grid-template-columns: repeat(1, 1fr);
	}
	.category-contents p {
		font-size: 1.2rem;
		bottom:-20px;
	}
}
 /*　画像の拡大（WEBのみ）　*/
@media not (max-width: 600px) {
	.zoomIn img{
		transform: scale(1);
		transition: .3s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
	}
	.zoomIn a:hover img{/*hoverした時の変化*/
		transform: scale(1.2);/*拡大の値を変更したい場合はこの数値を変更*/
	}
}
/*　画像のマスク　*/
.mask{
	display: block;
	line-height: 0;/*行の高さを0にする*/
	overflow: hidden;/*拡大してはみ出る要素を隠す*/
}

/*　---サイトトップの下のカテゴリ　ここまでー--- */


/* ---Profile--- */
.container-prof {
	display: flex;
	margin: 0 auto;
	max-width: 800px;
}
.item_prof {
	padding: 0 10px 0 10px;
}
img.prof {
	align-items: center;
	width: 100%;
	max-width: 500px;
}
/* ---Profile　ここまで--- */


/* ---News・Work--- */
a.news-link { /* 新着や過去の仕事内でリンクを貼る時に強調する処理 */
	color: #888888;
	font-weight: 700;
}
section h4 {
	border: 1px solid;
	padding: 5px 20px;
}
.work-list {
	padding: 0 20px 10px 20px;
}
.work-list li {
	margin-bottom: 0.5rem;
}
.work-list-col2 {
	display: grid;
	grid-template-columns: auto 20%;
	gap: 5px;
}
.work-list-img {
	width: 100%;
}
@media (max-width: 600px) { /* モバイル用 */
	.work-list-col2 {
		display: block;
	}
	.work-list-text {
		width: 100%;
	}
	.work-list-img {
		width: 100%;
		margin: 0px;
		margin-top: 5px;
		
	}
}
/* ---News・Work　ここまで--- */


/* ---Contact--- */
.cd-image {
	margin-inline: auto;
	width: 60%;
	min-width: 300px;
	max-width: 800px;
}
/* ---Contact　ここまで--- */


/* ---フッター--- */
footer {
	font-size: 0.8em;
}
.footer-text {
	margin-top: -5px;
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: center;
	background-color: #eeeeee;
}
.container-footer {
	margin-inline: auto;
}
.container-footerlink {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	margin-bottom: 10px;
}
/*
.container-footerbanner {
	width: 30%;
}
*/
.footerlink-link {
	margin: 0px 10px 5px 10px;
	flex-shrink: 0;
}
@media (max-width: 600px) { /* モバイル用 */
	.container-footerlink {
		font-size: 1.1em;
	}
	.footer-text {
		width: 100%;
	}
}
/* ---フッター　ここまで--- */
