*,
*::before,
*::after {
	box-sizing: border-box;
}


body {
	line-height: 1.8;
	letter-spacing: 0.08em;
	color: #333333;
}

img {
	max-width: 100%;
}



main {
	margin-right: auto;
}

aside {
	position: fixed;
	top: 0;
	left: 0;
	width: 200px;
	height: 100vh;
	background-color: #f8f8f8;
	border-left: 1px solid #ccc;
	padding: 20px;
	overflow-y: auto;
}

section {
	margin-bottom: 80px;
}/* ----------------全体の設定ここから---------------- */

*,
*::after,
*::before {
	box-sizing: border-box;
}

* {
	margin: 0;
	padding: 0;
}

body {
	/* font-family: 'Lora', serif; */
	font-family: "Noto Sans JP", sans-serif;
	font-size: 14px;
	line-height: 2;
}

ul,
ol {
	list-style-type: none;
}

img {
	max-width: 100%;
}

a {
	text-decoration: none;
	color: inherit;
}

a:hover {
	opacity: 0.6;
}

h1 {
	font-family: "Lora", serif;
	font-size: 96px;
	letter-spacing: 0.08em;
	padding-bottom: 10px;
	line-height: 1;
	text-align: left;
	color: #3a2011;
	padding-top: 250px;
	border-bottom: solid 3px #3a2011; 
	width: 40%;
}

.portfolio {
	justify-content: flex-start;
	padding-left: 100px;
}
.skill-name,
.banner-name,
.web-name,
.video-name {
	font-size: 16px;
	font-weight: bold;
}

.container {
	max-width: 1144px;
	margin: 0 auto;
}

.w-container {
	padding-left: 5%;
	padding-right: 5%;
}

/* ----------------全体の設定ここまで---------------- */


/* ヘッダーここから */

header {
	/* display: flex;
	align-items: center;
	padding: 10px 10px; */
	height: 65px;
	background-color: #7b5e57;
}
.header-nav{
	max-width: 1200px;
	display: flex;
	justify-content: space-between;
	align-items:center;
	flex: 1;
	padding-left: 5%;
	padding-right: 5%;
	height: 100%;
}

header .pc-nav {
	height: 100%;
}

header .pc-nav ul {
	width: 50%;
	height: 100%;
	display: flex;
	align-items: center;
	list-style: none;
	gap: 60px;
	margin: 0;
	padding: 0;
	color: #f8f5f2;

	/* justify-content: space-between; */
	/* align-items: center; */
	/* margin-left: auto; */
	/* margin-right: auto; */
	/* color: #fff; */
}

.logo img {
	width: 50px;
}
/* フッターここから */

footer {
	height: 44px;
	background-color: #7b5e57;
	font-size: 12px;
	color: #f8f5f2;
	display: flex;
	justify-content: center;
	align-items: center;
}


/* メインここから */

.top-hero {
	background-image: url(../images/img/hero.png);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	height: 500px;
	justify-content: center;
	align-items: center;
	margin-bottom: 100px;
	color: #3a2011;
}

.top-hero p {
	font-size: 50px;
	line-height: 1;
	padding-top: 10px;
	letter-spacing: 2px;
	color: #3a2011;
}

/* プロフィールここから */

#profile,
#skill,
#banner,
#web,
#video{
/* 各セクションの下のマージン	 */
	margin-bottom: 100px;
/* ページ内の位置調整	 */
	padding-top: 100px;
	margin-top: -100px;
}


h2 {
	font-family: "Lora", serif;
	font-size: 56px;
	text-align: center;
	margin-bottom: 50px;
	color:#3a2011
}

.portfolio-box {
	display: flex;
	align-items: center;
	gap: 60px;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
}

.profile-box p {
	flex: 1;
	line-height: 2;
	}

.profile-name {
	font-size: 24px;
	margin-right: 1em;
}

.profile-box figure img {
    width: 100%;
	height: auto;
	display: block;
}
.profile-box figure {
width: 320px;
flex-shrink: 0;
margin: 0;
}

/* スキルここから */

.skill-box ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 32px;
	text-align: justify;
}

.skill-box li {
	width: calc((100% - 96px) / 4);
	display: flex;
	align-items: center;
	flex-direction: column;
}

.skill-box figure img {
	width: 128px;
}


h3 {
	font-family: "Lora", serif;
	font-size: 24px;
	text-align: center;
	margin-bottom: 20px;
	color: #3a2011;
}


/* デザインここから */


/* バナーここから */

#design {
margin-bottom: 100px;
}

.design-wrapper {
	background-color: #ededed;
	padding-top: 50px;
	padding-bottom: 50px;
}

.banner-box {
	margin-bottom: 50px;
}


/* display:gridの場合 */
.banner-box ul {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 80px 60px;
    justify-content: center;
    align-items: start;
    text-align: left;
}

.banner-box li {
	display: grid;
	justify-items: center;
}

.banner-box p {
	line-height: 2;
	margin-bottom: 10px;
}


/* 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;
}
.web-box figure img {
	width: 555px;
}
.web-box p {
	line-height: 3;
	margin-bottom: 10px;
}

/* ビデオここから */

video {
	width: 70%;
	margin-bottom: 10px;
}

.video-box{
	display: flex;
	flex-direction: column;
	align-items: center;
}

.video-box p {
	line-height: 3;
	margin-bottom: 10px;
}
/* ライクここから */

.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: #7b5e57;
  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:#f8f5f2 ;
  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;
  background-color: rgba(123,94,87,0.9);
  border-radius: 10%;
}

.sp-open-btn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #fff;
  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:520px) {
	.top-hero {
	background-image: url(../images/img/hero.pc.png);	background-size: cover;
	background-repeat: no-repeat;
	}

.top-hero p {
	padding-left: auto;
	padding-right: auto;
	font-size: 45px;
	color: #f6ebdd;
	text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}


	h1 {
		font-size: 54px;
		border-bottom: solid 3px #fff8ee; 
	width: 270px;
	color: #fff8ee;
	text-shadow: 0 5px 13px rgba(0, 0, 0, 0.55);
	}

	h2 {
		margin-bottom: 10px;
	}

	.container {
		width: 100%;
		max-width: none;
		padding-left: 5%;
		padding-right: 5%;

	}

	/* プロフィールここから */

	#profile {
		width: 100%;
	}

	#profile .container {
		width: 100%;
	}
	
	.portfolio-box {
		width: 100%;
		max-width: 100%;
		height: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}

	.portfolio-box figure {
		width: 220px;
		min-width: 0;
		margin: 0 auto;
	}

	.portfolio-box figure img {
		width: 100%;
		height: auto;
		display: block;
	}

	.portfolio-box p {
		width: 90%;
	}

	.portfolio {
	padding-left: auto;
	padding-right: auto;
	}
	
	.portfolio h1 {
	margin-bottom: 10px;
	text-align: left;
	}

	.portfolio p {
	margin-top: 0;
	text-align: left;
	}
	/* スキルここから */
	.skill-box li {
    width: calc((100% - 32px) / 2);
}

	/* デザインここから */

	.banner-box figure img {
		width: 100%;
	}

	.banner-box ul {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;
	}

	.web-box ul {
		flex-direction: column;
	}

	.web-box li {
		width: 100%;
	}
		/* ビデオここから */

	video {
		width: 100%;
	}

	/* ライクここから */

  /* ハンバーガーメニューここから */
  .pc-nav {
    display: none;
  }

  .sp-open-btn {
    display: block;
  }
}