*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #faf9f7;
  --text: #383833;
  --text-muted: #888880;
  --card-bg: #ffffff;
  --shadow: rgba(0, 0, 0, 0.07);
  --shadow-hover: rgba(0, 0, 0, 0.13);
  --accent: #c8b89a;
  --nav-height: 72px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 300;
  cursor: default;
}

/*NAV*/
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 98;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: var(--bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.02);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.35em;
  letter-spacing: 0.03em;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
  position: relative;
  transition: color 0.25s;
  cursor: pointer;
}

/*ホバー状態でフォントの色を変更*/
.nav-links a:hover { color: var(--accent); }

#hamburger-menu{
  display: none;
}

/* MAIN */
main {
  padding: calc(var(--nav-height) + 60px) 20%;
  margin: 0 auto;
}

.profile-pic {
  display: block;
  margin: 0 auto 20px auto;
  height: 30vh;
  border-radius: 50%;
}

.name {
  text-align: center;
  font-size: 1.4em;
  font-family: 'Cormorant Garamond', serif;
}

.role {
  text-align: center;
  font-size: 0.8em;
  margin: 2px auto 30px auto;
}

.career {
  margin: 10px auto;
  font-size: 0.8em;
  line-height: 1.5em;
}

.career span {
  font-weight: 400;
  text-decoration: var(--accent) solid underline;
}

.strength {
  margin: 40px auto;
}

.strength p, .skill p {
  font-size: 0.9em;
  margin-bottom: 6px;
  border-left: 4px solid var(--accent);
  padding-left: 6px;
}

.strength ol {
  list-style-position: inside;
  padding-left: 1em;
  text-indent: -1em;
}

.strength ol li {
  font-size: 0.8em;
  margin: 4px 0;
}

.strength ol li span{
  padding-left: 0.4em;
}

.skill ul {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.skill ul li {
  font-size: 0.8em;
  font-weight: 400;
  background-color: var(--text-muted);
  color: var(--bg);
  list-style: none;
  padding: 0 10px 1px 10px;
  border-radius: 20px;
  margin-top: 10px;
}

/* FOOTER */
footer {
  margin: 0 auto;
  padding: 24px 48px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  position: relative;
}

footer p {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* RESPONSIVE */
@media (max-width: 900px) {

  main { 
    padding: calc(var(--nav-height) + 60px) 10%;
  }

  .hamburger-icon{
    width: 30px;
    height: 30px;
    top: 22px;
    right: 20px;
    cursor: pointer;
    display: none;
    position: relative;
  }

  .hamburger-icon span{
    display: block;
    height: 3px;
    margin: 6px 0;
    background: var(--text);
    border-radius: 2px;
    transition: 0.4s;
  }

	.hamburger-icon{
		display: block;
		z-index: 100;
	}

  .menu{
		margin: 0;
		padding: 0;
		width: 50%;
		height: 100%;
    display: block;
		position: fixed;
		top: 0;
		right: -50%;
		background: var(--accent);
		transition: 0.3s;
		opacity: 0.9;
	}

  .nav-links {
    display: block;
    padding: 100px 40px;
  }

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

  .menu ul li a {
    color: #fff;
    font-size: 1.3em;
    font-family: 'Cormorant Garamond', serif;
    text-decoration: none;
    font-weight: 400;
  }

	/* アイコンがクリックされたらメニューを表示 */
	#hamburger-menu:checked ~ .menu {
  		right: 0;/* メニューを画面に入れる */
      transition: 0.6s;
	}

	#hamburger-menu:checked ~ .hamburger-icon span{
		background: #fff;
	}

	label[for="hamburger-menu"]{
		display: block;
		position: fixed;
		top: 20px;
		right: 20px;
		cursor: pointer;
		z-index: 99;
	}

  /*ホバー状態でフォントの色を変更*/
  .nav-links a:hover { color: var(--text-muted); }

}

@media (max-width: 560px) {

  .nav-logo{
    font-size: 1.2em;
  }

  nav {
    padding: 0 20px;
  }

  .menu{
  width: 100%;
  right: -100%;
  }

}