@charset "utf-8";

/* ================================
   RESET
================================ */

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

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  background: #f7f4eb;
  color: #432f2f;
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  overflow-x: hidden;
  overflow-y: scroll;
}

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

/* ================================
   SITE NAME
================================ */

.site-name {
  position: absolute;
  top: 79px;
  left: 79px;
  z-index: 100;
  color: #432f2f;
  font-size: 17px;
  letter-spacing: 0.04em;
  font-weight: 400;
}

/* ================================
   MAIN MAP
================================ */

.map {
  position: relative;
  width: 100vw;
  min-width: 1280px;
  height: 1810px;
}

/* ================================
   TOP FREQUENCY LINE
================================ */

.base-line {
  position: absolute;
  top: 92px;
  left: 15vw;
  width: 100vw;
  height: 1px;
  background: #432f2f;
  transform: rotate(1.2deg);
  transform-origin: left center;
}

/* ================================
   STATIONS
================================ */

.station {
  position: absolute;
  top: 62px;
  text-align: center;
  color: #432f2f;
}

.freq {
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.triangle {
  font-size: 12px;
  line-height: 1;
  margin-top: 4px;
}

.short-line {
  width: 1px;
  background: #432f2f;
  margin: 8px auto 18px;
  transform-origin: top center;
}

.label {
  display: inline-block;
  color: #432f2f;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.03em;
  font-weight: 400;
}

.label:hover {
  opacity: 0.45;
}

/* positions */

.works { left: 42%; }
.text { left: 55%; }
.diary { left: 67%; }
.research { left: 75%; }
.cv { left: 82%; }
.contact { left: 91%; }

/* line lengths */

.works .short-line {
  height: 230px;
  transform: rotate(4deg);
}

.text .short-line {
  height: 105px;
  transform: rotate(9deg);
}

.diary .short-line {
  height: 140px;
  transform: rotate(6deg);
}

.research .short-line {
  height: 330px;
  transform: rotate(3deg);
}

.cv .short-line {
  height: 455px;
  transform: rotate(0deg);
}

.contact .short-line {
  height: 235px;
  transform: rotate(-6deg);
}

/* ================================
   WORKS MENU
================================ */

.works-menu {
  position: absolute;
  top: 180px;
  left: -350px;
  width: 360px;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 50;
}

.works:hover .works-menu,
.works-menu:hover {
  opacity: 1;
  pointer-events: auto;
}

.works-menu a {
  display: block;
  position: relative;
  margin-bottom: 16px;
  padding-left: 22px;
  color: #432f2f;
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "YuMincho",
    serif;
  font-size: 11px;
  line-height: 1.65;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.works-menu a::before {
  content: "▷";
  position: absolute;
  left: 0;
  top: 0.06em;
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
}

.works-menu a:hover {
  opacity: 0.45;
}

.title-en {
  display: inline-block;
  margin-top: 3px;
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 9px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  font-weight: 400;
}

/* ================================
   DIARY MENU
================================ */

.diary-menu {
  position: absolute;
  top: 260px;
  left: -140px;
  width: 340px;
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 50;
}

.diary:hover .diary-menu,
.diary-menu:hover {
  opacity: 1;
  pointer-events: auto;
}

.diary-menu a {
  display: block;
  position: relative;
  margin-bottom: 18px;
  padding-left: 18px;
  color: #432f2f;
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.diary-menu a::before {
  content: "▷";
  position: absolute;
  left: 0;
  top: 0.04em;
  font-size: 10px;
}

.diary-menu a:hover {
  opacity: 0.45;
}

/* ================================
   RECENT LOG
================================ */

.recent-log {
  position: absolute;
  top: 700px;
  left: 30px;
  width: calc(100vw - 60px);
  min-height: 720px;
  color: #432f2f;
}

.log-entry {
  position: relative;
  width: 100%;
  margin-bottom: 42px;
}

.log-date {
  position: relative;
  width: 170px;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.log-circle {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1px solid #432f2f;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: -2px;
  background: transparent;
}

.log-title {
  position: relative;
  margin-top: 10px;
  margin-left: 28px;
  width: 220px;
  font-size: 11px;
  line-height: 1.42;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.website-entry .log-title {
  margin-top: 8px;
}

.zine-entry .log-title {
  width: 260px;
  font-size: 11px;
  line-height: 1.42;
}

.zine-entry .log-text {
  margin-top: 10px;
  margin-left: 28px;
  max-width: 900px;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.zine-entry .log-text p {
  margin-bottom: 6px;
}

.zine-entry .log-text-en {
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.zine-entry .log-text-jp {
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "YuMincho",
    serif;
  font-size: 12px;
  line-height: 1.85;
  letter-spacing: 0.03em;
}

.log-zine-images {
  margin-top: 18px;
  margin-left: 170px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.log-zine-images figure {
  margin: 0;
}

.log-zine-images img {
  display: block;
  width: 150px;
  height: 225px;
  object-fit: cover;
}

.shell-entry .log-title {
  width: 220px;
}

.log-media {
  margin-top: 20px;
  margin-left: 170px;
  display: grid;
  grid-template-columns: 165px 360px 260px;
  column-gap: 24px;
  align-items: end;
}

.log-shells img {
  display: block;
  width: 165px;
  height: 190px;
  object-fit: contain;
  background: #f7f4eb;
}

.log-video video {
  display: block;
  width: 360px;
  height: 190px;
  object-fit: cover;
  border: 1px solid rgba(67, 47, 47, 0.28);
}

.log-caption {
  width: 260px;
  max-width: 260px;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 400;
}

/* ================================
   FOOTER
================================ */
.tree-graphic {
  position: absolute;
  right: 92px;
  top: 1000px;
  width: 360px;
  margin: 0;
  pointer-events: none;
}

.tree-graphic img {
  display: block;
  width: 100%;
  height: auto;
}

footer {
  position: absolute;
  right: 34px;
  top: 1720px;
  color: #432f2f;
  font-size: 12px;
  letter-spacing: 0.03em;
}

/* ================================
   SUB PAGE COMMON
================================ */

.back-home {
  position: fixed;
  top: 34px;
  left: 34px;
  z-index: 100;
  color: #432f2f;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.back-home:hover {
  opacity: 0.45;
}

.archive-page {
  width: 100%;
  min-height: 100vh;
  padding: 150px 8vw 140px;
}

.page-header {
  display: grid;
  grid-template-columns: 120px 1fr;
  column-gap: 40px;
  align-items: baseline;
  margin-bottom: 90px;
}

.page-frequency {
  font-size: 11px;
  letter-spacing: 0.02em;
}

.page-header h1 {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.archive-list {
  width: 100%;
  border-top: 1px solid #432f2f;
}

.archive-item {
  display: grid;
  grid-template-columns: 120px 1.5fr 1fr;
  column-gap: 40px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(67, 47, 47, 0.35);
  color: #432f2f;
}

.archive-item:hover {
  opacity: 0.55;
}

.archive-year,
.archive-meta {
  font-size: 11px;
  letter-spacing: 0.03em;
}

.archive-title {
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "YuMincho",
    serif;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* ================================
   WORK PAGE
================================ */

.work-page {
  display: grid;
  grid-template-columns: 180px minmax(0, 920px);
  column-gap: 7vw;
  padding: 150px 8vw 180px;
}

.work-side {
  position: sticky;
  top: 150px;
  align-self: start;
  font-size: 11px;
  line-height: 2;
  letter-spacing: 0.03em;
}

.work-side a:hover {
  opacity: 0.45;
}

.work-frequency {
  margin-top: 40px;
}

.work-main {
  width: 100%;
  min-width: 0;
}

.work-header {
  margin-bottom: 70px;
}

.work-year {
  margin-bottom: 20px;
  font-size: 11px;
  letter-spacing: 0.03em;
}

.work-header h1 {
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "YuMincho",
    serif;
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.work-meta {
  margin-top: 28px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.work-image {
  width: 78%;
  max-width: 820px;
  margin: 0 0 80px;
}

.work-image img {
  width: 100%;
  display: block;
}

.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  border: 1px solid rgba(67, 47, 47, 0.14);
  background: rgba(67, 47, 47, 0.03);
}

.video-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.video-badge {
  position: absolute;
  left: 18px;
  bottom: 16px;
  display: inline-block;
  padding: 7px 10px;
  background: rgba(247, 244, 235, 0.92);
  color: #432f2f;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.05em;
}

.work-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  margin-bottom: 90px;
}

.work-text p {
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "YuMincho",
    serif;
  font-size: 14px;
  line-height: 2.1;
  letter-spacing: 0.03em;
  font-weight: 400;
}

.work-info {
  border-top: 1px solid #432f2f;
  padding-top: 30px;
}

.work-info dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  row-gap: 18px;
}

.work-info dt,
.work-info dd {
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.work-info dt {
  opacity: 0.65;
}

.work-nav {
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid rgba(67, 47, 47, 0.18);
}

.work-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.work-nav-item {
  max-width: 42%;
}

.work-nav-label {
  display: block;
  margin-bottom: 10px;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: rgba(67, 47, 47, 0.58);
  text-transform: uppercase;
}

.work-nav-link {
  display: inline-block;
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "YuMincho",
    serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: #432f2f;
}

.work-nav-link:hover {
  opacity: 0.45;
}

.work-nav-item.next {
  text-align: right;
  margin-left: auto;
}

/* ================================
   SUB PAGES CLEAN LAYOUT
================================ */

.subpage {
  width: 100%;
  min-height: 100vh;
  padding: 120px 44px 80px;
}

.subpage-header {
  margin-bottom: 56px;
}

.subpage-title {
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0.01em;
  font-weight: 600;
  color: #432f2f;
  margin-bottom: 16px;
}

.subpage-subtitle {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #432f2f;
}

.subpage-body {
  max-width: 980px;
}

.subpage-note {
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "YuMincho",
    serif;
  font-size: 28px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: #432f2f;
}

.subpage-list {
  border-top: 1px solid rgba(67, 47, 47, 0.35);
}

.subpage-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  column-gap: 32px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(67, 47, 47, 0.25);
}

.subpage-item-meta {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: rgba(67, 47, 47, 0.75);
}

.subpage-item-title {
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "YuMincho",
    serif;
  font-size: 20px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: #432f2f;
}

.subpage-item-text {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: #432f2f;
}

.subpage-item a {
  color: inherit;
  text-decoration: none;
}

.subpage-item a:hover {
  opacity: 0.45;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 1200px) {
  body {
    overflow-x: auto;
    overflow-y: scroll;
  }

  .map {
    min-width: 1280px;
  }

  .archive-item {
    grid-template-columns: 80px 1fr;
    row-gap: 8px;
  }

  .archive-meta {
    grid-column: 2;
  }

  .work-page {
    display: block;
    padding: 130px 8vw 150px;
  }

  .work-side {
    position: static;
    margin-bottom: 60px;
  }

  .work-image {
    width: 100%;
    max-width: 100%;
  }

  .work-text {
    display: block;
  }

  .work-text p {
    margin-bottom: 32px;
  }
}

@media (max-width: 900px) {
  .subpage {
    padding: 110px 24px 60px;
  }

  .subpage-title {
    font-size: 42px;
  }

  .subpage-item {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }

  .subpage-note {
    font-size: 22px;
  }

  .work-nav-inner {
    display: block;
  }

  .work-nav-item {
    max-width: 100%;
  }

  .work-nav-item.next {
    text-align: left;
    margin-left: 0;
    margin-top: 22px;
  }

  .work-nav-link {
    font-size: 15px;
  }
}