/*
* {
	border: 1px solid rgb(248, 213, 213);
}*/

/*全体の設定(最初にかくおまじない） */
*,
*::after,
*::before {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/*-------全体の設定（最初にかくおまじない）
親要素よりはみ出るのを防ぐ*/
img {
	max-width: 100%;
}

ul,
ol {
	list-style-type: none;
}

a {
	text-decoration: none;
	color: inherit;
}

a:hover {
	opacity: 0.6;
	background-color: #7ecff5;
}

.pc-br {
	display: block;
}

.sp-br {
	display: none;
}

/*初期設定を入れていこう*/
body {
	font-family: "Noto Sans", sans-serif;
	font-size: 14px;
	line-height: 1.7;
	background-color: #fff;
	color: #333;
}

h1 {
	font-family: "Literata", serif;
	font-size: 100px;
	border-bottom: 1px solid #f3f2cf;
	letter-spacing: 0.09em;
	padding-bottom: 10px;
	line-height: 1;
	text-align: center;
	color: #f3f2cf;
}

.skill-name,
.banner-name,
.web-name,
.video-name {
	font-size: 16px;
	font-weight: bold;
}

.container {
	max-width: 1144px;
	margin: 0 auto;
}

/* ----------------全体の設定ここまで---------------- */


/* ヘッダーここから */
header {
	background-color: #295e06;
	height: 48px;
	position: sticky;
	top: 0;
	z-index: 9999;
}

/*上の親要素のheight:48pxを引き継ぐ指示を入れる--height:100%*/
header .pc-nav {
	height: 100%;
}

/*親要素のheight:48pxを引き継ぐ指示を入れた上の指示をさらに引き継ぐ指示を入れる--height:100%*/
header .pc-nav ul {
	width: 50%;
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-left: auto;
	margin-right: auto;
	color: #fff;
}


/* フッターここから */
footer {
	background-color: #295e06;
	color: #ffffff;
	height: 150px;
	font-size: 12.5px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

footer div p {
	font-size: 10px;
}


/* メインここから */
.top-hero {
	background-image: url(../images/hero.webp);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	height: 650px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 0;
	color: #f3f2cf;
}

.top-hero p {
	font-size: 40px;
	text-align: center;
	line-height: 1;
	padding-top: 10px;
	letter-spacing: 0.05em;
}


/* プロフィールここから */
#profile,
#skill,
#design,
#banner,
#web,
#video {
	/* 各セクションの下のマージン	 */
	margin-bottom: 100px;
	/* ページ内の位置調整	 */
	padding-top: 100px;
	margin-top: -100px;
}

h2 {
	font-family: "Antic Slab", serif;
	font-size: 56px;
	font-family: "Literata", serif;
	color: #295e06;
	text-align: center;
	margin-bottom: 50px;
}

.profile-box {
	display: flex;
	justify-content: space-between;
	/* 任意で空きを調整したいとき。justify-content:center;にしてからgapを設定する。
	gap: 10px;*/
}

/*自己紹介文の調整
.profile-box p {
	width: 60%;
}*/

/*自己紹介の画像調整
.profile-box figure img {
	width: 320px;
}*/

.profile-name {
	font-size: 24px;
	margin-right: 1em;
}

.profile-box ul {
	display: flex;
	/*
	justify-content: space-between;*/
	/* テキストと写真を左右に振り分ける */
	justify-content: center;
	/*テキストと写真のひとまとまりを左右中央にする*/
	align-items: center;
	/* 縦方向の中央で揃える（お好みで） */
	gap: 80px;
	/* もし間隔が詰まりすぎたら、ここで隙間を調整できます */
}

.profile-box figure img {
	width: 1000px;
	/* 好きなサイズに変更 */
	height: auto;
	/* 縦横比を崩さないおまじない */
}

/* ① 左側のテキストが入っているli */
.profile-box ul li:first-child {
	width: 50%;
	/* テキストエリアの幅（お好みで調整してください） */
}

/* ② 右側の画像が入っているli */
.profile-box ul li:last-child {
	width: 400px;
	/* 💡ここで画像の幅を決めます */
	flex-shrink: 0;
	/* 🌟重要：テキストに押しつぶされないようにするおまじない */
}

/* ③ 画像はliの幅（↑の400px）いっぱいに広げる */
.profile-box figure img {
	width: 100%;
	height: auto;
}

.Profile-wrapper {
	/* background-color: #f1f50e; ←これは削除するかコメントアウトします */
	background-image: url("../images/haikei.webp");
	/* 画像のファイル名とパスを指定 */
	background-size: cover;
	/* 領域いっぱいに画像を広げる */
	background-position: center;
	/* 画像の中央を基準に配置 */
	background-repeat: no-repeat;
	/* 画像の繰り返しを防ぐ */
	padding-top: 50px;
	padding-bottom: 50px;
	margin-bottom: 50px;
}


/* スキルここから */

.skill-box ul {
	display: flex;
	flex-wrap: wrap;
	/*justifyとgapはセット*/
	justify-content: center;
	gap: 32px;
	text-align: justify;
}

.skill-box li {
	flex-basis: calc((100% - 96px) / 4);
	display: flex;
	align-items: center;
	flex-direction: column;
}

.skill-box figure img {
	width: 128px;
}

.text-accent {
	color: #0d10c4;
	/* 好きな文字色を指定 */
	font-weight: bold;
	/* 任意で太字にするなど、他の装飾も足せます */
}

.skill-box {

	padding-bottom: 50px;
}

/* デザインここから */
h3 {
	font-family: "Literata", serif;
	font-size: 26px;
	color: #cab332;
	text-align: center;
	margin-bottom: 20px;
}


/* バナーここから */
#design {
	margin-bottom: 100px;
}

.design-wrapper {
	background-color: #c6d8cb;
	padding-top: 50px;
	padding-bottom: 50px;
}

.banner-box {
	margin-bottom: 35px;
}

/* display:gridの場合 */
.banner-box ul {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	/*repeat(auto-fit, minmax(360px, 1fr));
	→1frを3回くり返す　repeat(3,1fr)
	 →画面幅で繰り返して　repeat(auto-fit)
	 →360px幅で繰り返して
	 ※レスポンシブに対応
	 */
	gap: 32px;
	justify-content: center;
	align-items: start;
	text-align: justify;
}

.banner-box li {
	display: grid;
	justify-items: center;
}



/* display:flexの場合 */

/* .banner-box ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.banner-box li {
    width: calc((100% - 60px) / 3);
    display: flex;
    align-items: center;
    flex-direction: column;
} */

.banner-box figure img {
	width: 360px;
}


/* display:gridで最後の行の列を中央揃えにする場合 */
/* .banner-box ul {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.banner-box ul li{
	justify-items: center;
}


.banner-box ul li:nth-child(1) {
  grid-column:1 / 3;
}

.banner-box ul li:nth-child(2) {
  grid-column: 3 / 5;
}


.banner-box ul li:nth-child(3) {
  grid-column: 5 / 7;
}

.banner-box ul li:nth-child(4) {
  grid-column: 2 / 4;
}


.banner-box ul li:nth-child(5) {
  grid-column: 4 / 6;
} */



/* ウェブここから */
.web-box ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 32px;
	text-align: justify;
}

.web-box li {
	width: calc((100% - 32px) / 2);
	display: flex;
	align-items: center;
	flex-direction: column;
	/*display: grid;
	justify-content: center;*/

}

.web-box figure img {
	width: 555px;
}


/* ビデオここから */
video {
	width: 70%;
	margin-bottom: 10px;
}

.video-box {
	display: flex;
	flex-direction: column;
	align-items: center;
}


/* ライクここから */
.like {
	margin-bottom: 100px;
}

/* Swiperの滑らかさを向上させるCSS */
.swiper-wrapper {
	/* transition-timing-functionを線形に設定 */
	transition-timing-function: linear !important;
}


/* ハンバーガーメニューここから */
.pc-nav {
	display: block;
}

.sp-nav {
	position: fixed;
	z-index: 999;
	top: 0;
	right: -120%;
	width: 100%;
	height: 100vh;
	background: #295e06;
	transition: all 0.6s;
}

.sp-nav.panelactive {
	right: 0;
}


.sp-nav ul {
	position: absolute;
	z-index: 999;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.sp-nav li {
	list-style: none;
	text-align: center;
}

.sp-nav li a {
	color: #f3f2cf;
	text-decoration: none;
	padding: 10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}

.sp-open-btn {
	position: fixed;
	z-index: 9999;
	top: 0px;
	right: 10px;
	cursor: pointer;
	width: 50px;
	height: 50px;
	display: none;
}

.sp-open-btn span {
	display: inline-block;
	transition: all 0.4s;
	position: absolute;
	left: 14px;
	height: 3px;
	border-radius: 2px;
	background-color: #f3f2cf;
	width: 45%;
}

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

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

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

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

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

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

body.active {
	height: 100%;
	overflow: hidden;
}

/* コンテンツフェードインここから */
.effect-fade {
	opacity: 0;
	transform: translate(0, 100px);
	transition: all 2000ms;
}

.effect-scroll {
	opacity: 1;
	transform: translate(0, 0);
}


/* -----------------スマートフォン版ここから----------------- */
/*
@media (max-width:768px) {
	h1 {
		font-size: 54px;
	}

	h2 {
		margin-bottom: 10px;
	}

	.container {
		padding-left: 3%;
		padding-right: 3%;
	}
*/
/* プロフィールここから */
/*.profile-box {
		flex-direction: column-reverse;
	}

	.profile-name p span {
		font-size: 24px;
	}

	.profile-box figure img {
		max-width: 80%;
	}

	.profile-box p {
		max-width: 80%;
	}
*/

/*--------スマホ版ここから-------*/
@media (max-width:768px) {

	.pc-br {
		display: none;
	}

	.sp-br {
		display: block;
	}

	/* 見出しなどの設定はそのまま活かします */
	h1 {
		font-size: 54px;
	}

	h2 {
		margin-bottom: 10px;
	}

	.container {
		padding-left: 3%;
		padding-right: 3%;
	}

	.top-hero p {
		font-size: 26px;
	}

	/* 💡 プロフィールの修正ここから 💡 */

	/* ① フレックスボックスの縦並びを ul に対して指定する */
	.profile-box ul {
		flex-direction: column-reverse;
		/* リバースして、テキストと画像を逆転 */

		gap: 20px;
		/* 縦に並んだ時のテキストと写真のすき間（お好みで） */
	}

	/* ② PC版の横幅指定（50%や400px）を解除し、スマホ画面幅に合わせる */
	.profile-box ul li:first-child,
	.profile-box ul li:last-child {
		width: 100%;
	}

	.profile-name {
		font-size: 24px;
	}

	/* ③ 写真をスマホの中央にいい感じに配置する */
	.profile-box figure {
		text-align: center;
		/* 写真を中央寄せ */
	}

	.profile-box figure img {
		max-width: 80%;
		/* 写真のサイズはお好みで調整してください */
		height: auto;
	}


	/* スキルここから pc版232行目 */
	.skill-box li {
		flex-basis: calc((100% - 32px) / 2);
	}

	/* デザインここから */
	.banner-box figure img {
		width: 100%;
	}

	.web-box ul {
		flex-direction: column;
	}

	.web-box li {
		width: 100%;
	}

	.web-box figure img {
		width: 100%;
	}

	/* ビデオここから */

	video {
		width: 100%;
	}

	/* ライクここから */


	/* ハンバーガーメニューここから */
	/*上のナビメニューを消す指示*/
	.pc-nav {
		display: none;
	}

	/*スマホ版は、ディスプレイを表示させる*/
	.sp-open-btn {
		display: block;
	}


}