@font-face {
  font-family: fot-tsukubrdgothic-std;
  font-weight: bold;
  src: url('/src/font/b.otf') format('opentype');
}

@font-face {
  font-family: fot-tsukubrdgothic-std;
  src: url('/src/font/r.otf') format('opentype');
}

:root {
  --beige: #e4decb;
  --white: #f2f0e8;
  --black: #1f1f1f;
  --brown: #3b2f27;
  --line: #d7cfb8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f7f4ea 0%, #f1ece1 100%);
  color: var(--black);
  font-family: fot-tsukubrdgothic-std, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}



header {
    align-items: center;
    background-color: #f7f4ea;
    display: flex;
    justify-content: space-between;
    left: 0;
    padding: 20px var(--space);
    top: 0;
    width: 100%;
    z-index: 100;
}

#header.fixed {
    position: fixed;
}

.logo {
    width: 120px;
}
@media screen and (min-width:992px) {
    .logo {
        width: 180px;
    }
}

.hamburger {
    background: none;
    border: none;
    height: 13px;
    position: relative;
    width: 21px;
    z-index: 100;
}

@media screen and (min-width:992px) {
    .hamburger {
        height: 20px;
        width: 32.4px;
    }
}

.bar {
    background-color: var(--black);
    display: block;
    height: 2px;
    position: absolute;
    transition: top 0.24s, transform 0.24s, opacity 0.24s;
    width: 100%;
}

.bar:nth-child(1) {
    top: 0;
}

.bar:nth-child(2) {
    top: 100%;
}

.bar.active:nth-child(1) {
    top: 50%;
    transform: rotate(135deg);
}

.bar.active:nth-child(2) {
    top: 50%;
    transform: rotate(-135deg);
}

.header-nav {
    display: none;
}

.header-nav a {
    color: var(--black);
    text-decoration: none;
}

.header-nav span {
    border-top: 1px solid var(--black);
    font-size: 1.3rem;
    font-weight: 500;
    margin-top: var(--space);
    max-width: 600px;
    padding-top: var(--space);
    width: 100%;
}

.header-nav.active {
    align-items: center;
    color: var(--black);
    display: flex;
    flex-direction: column;
    gap: var(--space);
    height: 100vh;
    justify-content: center;
    left: 0;
    padding-left: 40px;
    padding-right: 40px;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100vw;
    z-index: 98;
}

.header-nav.active a {
    font-size: 1.7rem;
    font-weight: 600;
}

.nav-sns {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    gap: 20px;
}

.nav-sns a {
    align-items: center;
    border-radius: 100%;
    display: flex;
    height: 50px;
    padding: 10px;
    width: 50px;
}

/* reference:https://coco-factory.jp/ugokuweb/move01/5-1-24/ */
.circle-bg {
    background: var(--beige);
    border-radius: 50%;
    height: 100px;
    left: calc(50% - 50px);
    position: fixed;
    top: calc(50% - 50px);
    transform: scale(0);
    transition: all .6s;
    width: 100px;
    z-index: 3;
}

.circle-bg.active {
    transform: scale(50);
}

.top{
    width: 100%;
}

.top-title {
    text-align: center;
}

.top-subtitle {
    text-align: center;
    margin-top: 20px;
}

.cv-link-btn {
    border: 1.5px solid var(--black);
    border-radius: 9999px;
    display: inline-block;
    font-weight: bold;
    margin-top: 18px;
    padding: 10px 18px;
    text-decoration: none;
}


.cv-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 20px 48px;
  display: grid;
  gap: 16px;
}

.card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  backdrop-filter: blur(2px);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 16px;
  align-items: start;
}

.eyebrow {
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .82rem;
  color: #6a5c4a;
}

h1 {
  margin: 6px 0 8px;
  font-size: 2rem;
}

h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.tagline {
  margin: 0;
}

.meta-row {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  color: #564f47;
  font-size: .95rem;
}

.hero-side {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.lang-toggle {
  border: 1px solid var(--brown);
  background: var(--white);
  color: var(--brown);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: .85rem;
  font-weight: bold;
  cursor: pointer;
}

.headshot {
  width: 160px;
  height: 160px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #efe7d8;
  object-fit: cover;
  font-size: .88rem;
  color: #6d5f4d;
}

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.timeline-date {
  margin: 0 0 2px;
  font-size: .82rem;
  color: #7c7061;
}

.timeline-title {
  margin: 0;
  font-weight: bold;
}

.timeline-desc {
  margin: 4px 0 0;
  font-size: .95rem;
}

@media (max-width: 840px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-side {
    justify-items: start;
  }

  .grid-two {
    grid-template-columns: 1fr;
  }

  .headshot {
    width: 140px;
    height: 140px;
  }
}



@media screen and (min-width:768px) {
    :root {
        --space: 80px;
    }

    .header-nav.active {
        gap: 30px;
    }

    .header-nav span {
        margin-top: 30px;
        padding-top: 30px;
    }
    
}


@media screen and (min-width:1200px) {

    header {
        padding: 40px var(--space);
    }

    .list a {
        font-size: 1rem;
    }
}