
/* ==================================================
   01. 基本設定
================================================== */

:root {
  --color-bg: #e9e7e1;
  --color-surface: #e1dfd8;
  --color-text: #282824;
  --color-muted: #77766f;
  --color-line: #cfcdc5;
  --color-dark: #30302c;
  --color-light: #f1f0eb;

  --font-main: "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;

  --page-width: 1120px;
  --page-padding: 48px;

  --section-space: 150px;
  --content-gap: 32px;
}


/* ==================================================
   02. リセット・共通
================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  background: var(--color-text);
  color: var(--color-bg);
}

.shell {
  width: calc(100% - var(--page-padding) * 2);
  max-width: var(--page-width);
  margin-right: auto;
  margin-left: auto;
}

.period {
  color: var(--color-muted);
}


/* ==================================================
   03. ヘッダー
   既存デザインを維持
================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

.wordmark {
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.wordmark span {
  color: var(--color-muted);
  font-style: italic;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.site-nav a {
  position: relative;
  color: var(--color-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover {
  color: var(--color-text);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}


/* ==================================================
   04. ヒーロー
================================================== */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  min-height: 660px;
  padding-top: 60px;
  padding-bottom: 100px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-number,
.work-category,
.record-category {
  margin: 0;
  color: var(--color-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.eyebrow {
  margin-bottom: 30px;
}

/* タイトル全体 */
.hero-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 98px;
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.98;
}

/* 1行目：My Own */
.hero-title-first {
  display: block;
  white-space: nowrap;
}

/* 2行目：Path & Pace. */
.hero-title-second {
  display: flex;
  align-items: stretch;
  gap: 0.12em;
  white-space: nowrap;
}

/* Path：黒背景・白文字 */
.title-block-path {
  display: inline-flex;
  align-items: center;
  padding: 0.03em 0.14em;
  background: var(--color-text);
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.06em;
}

/* &：背景なし */
.hero-title-second i {
  display: inline-flex;
  align-items: center;
  color: var(--color-muted);
  font-size: 0.65em;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
}

/* Pace.：灰色背景・白文字 */
.title-block-pace {
  display: inline-flex;
  align-items: center;
  padding: 0.03em 0.14em;
  background: var(--color-muted);
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.06em;
}

/* Pace内のピリオドは白色 */
.title-block-pace .period {
  color: #ffffff;
}

.hero-description {
  margin: 38px 0 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 2.2;
  letter-spacing: 0.05em;
}

.hero-art {
  position: relative;
  width: 390px;
  height: 390px;
  justify-self: end;
}

.art-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid var(--color-muted);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.art-circle-outer {
  width: 340px;
  height: 340px;
}

.art-circle-inner {
  width: 215px;
  height: 215px;
}

.art-line {
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-muted);
  opacity: 0.6;
  transform: translate(-50%, -50%);
}

.art-line-horizontal {
  width: 390px;
  height: 1px;
}

.art-line-vertical {
  width: 1px;
  height: 390px;
}

.art-dot {
  position: absolute;
  top: 27%;
  left: 63%;
  width: 11px;
  height: 11px;
  background: var(--color-text);
  border-radius: 50%;
}

.art-label {
  position: absolute;
  right: 0;
  bottom: 0;
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--color-muted);
  font-size: 10px;
  letter-spacing: 0.16em;
}

.scroll-arrow {
  display: inline-block;
  color: var(--color-text);
  font-size: 17px;
  transition: transform 0.2s ease;
}

.hero-scroll:hover .scroll-arrow {
  transform: translateY(4px);
}

.hero-index {
  position: absolute;
  right: 0;
  bottom: 28px;
  margin: 0;
  color: var(--color-muted);
  font-size: 9px;
  letter-spacing: 0.15em;
}


/* ==================================================
   05. セクション共通
================================================== */

.section {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
  border-top: 1px solid var(--color-line);
}

.section-alt {
  background: var(--color-surface);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 55px;
}

.section-number {
  margin-bottom: 18px;
}

.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.2;
}

.section-intro {
  margin: 0 0 4px;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 2;
}


/* ==================================================
   06. 制作物
================================================== */

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px var(--content-gap);
}

.work-card {
  min-width: 0;
}

.work-link {
  display: block;
}

.work-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.18 / 1;
  overflow: hidden;
  background: var(--color-dark);
  color: var(--color-light);
}

.visual-grid {
  background: #d5d2c9;
  color: var(--color-dark);
}

.visual-circle {
  background: #34342f;
}

.work-visual svg,
.photo-visual svg {
  width: 56%;
  height: 56%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 0.8;
  transition: transform 0.5s ease;
}

.visual-index {
  position: absolute;
  top: 20px;
  left: 22px;
  color: inherit;
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.work-link:hover .work-visual svg,
.photo-link:hover .photo-visual svg {
  transform: scale(1.06);
}

.work-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.work-category {
  margin-bottom: 7px;
  font-size: 9px;
}

.work-meta h3,
.photo-meta h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.work-arrow,
.record-arrow {
  color: var(--color-muted);
  font-size: 20px;
  transition: transform 0.2s ease;
}

.work-link:hover .work-arrow,
.record-item:hover .record-arrow {
  transform: translate(3px, -3px);
}

.work-description {
  margin: 12px 0 0;
  color: var(--color-muted);
  font-size: 12px;
}


/* ==================================================
   07. 写真
================================================== */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--content-gap);
}

.photo-card {
  min-width: 0;
}

.photo-link {
  display: block;
}

.photo-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.25 / 1;
  overflow: hidden;
  background: #c9c7bf;
  color: #3a3a35;
}

.visual-photo {
  background: #d1cfc7;
}

.visual-earth {
  background: #bdbbb2;
}

.photo-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
}

.photo-meta > span {
  color: var(--color-muted);
  font-size: 9px;
  letter-spacing: 0.12em;
}


/* ==================================================
   08. 記録
================================================== */

.record-list {
  border-top: 1px solid var(--color-line);
}

.record-item {
  display: grid;
  grid-template-columns: 70px 1fr 30px;
  align-items: center;
  gap: 20px;
  min-height: 130px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-line);
}

.record-number {
  align-self: start;
  padding-top: 4px;
  color: var(--color-muted);
  font-family: var(--font-serif);
  font-size: 13px;
}

.record-category {
  margin-bottom: 7px;
  font-size: 9px;
}

.record-content h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 400;
}

.record-content h3 a:hover {
  color: var(--color-muted);
}

.record-content > p:last-child {
  margin: 7px 0 0;
  color: var(--color-muted);
  font-size: 12px;
}

.record-arrow {
  justify-self: end;
}


/* ==================================================
   09. このサイトについて
================================================== */

.about-section {
  background: var(--color-dark);
  color: var(--color-light);
}

.about-section .section-number {
  color: #a5a49d;
}

.about-section .section-title {
  color: var(--color-light);
}

.about-section .section-title span {
  color: #a5a49d;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-top: 35px;
  border-top: 1px solid #55554f;
}

.about-lead {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 35px;
  letter-spacing: -0.05em;
  line-height: 1.3;
}

.about-text {
  max-width: 400px;
  color: #c0bfb7;
  font-size: 12px;
  line-height: 2.2;
}

.about-text p {
  margin: 0 0 20px;
}

.about-text p:first-child {
  color: var(--color-light);
  font-size: 15px;
}


/* ==================================================
   10. フッター
================================================== */

.site-footer {
  padding-top: 40px;
  padding-bottom: 24px;
  background: var(--color-dark);
  color: var(--color-light);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid #55554f;
}

.site-footer .wordmark span {
  color: #a5a49d;
}

.back-to-top {
  color: #c0bfb7;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.back-to-top span {
  margin-left: 8px;
}

.back-to-top:hover {
  color: var(--color-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  color: #a5a49d;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.footer-bottom p {
  margin: 0;
}


/* ==================================================
   11. 動きを控えたい環境への配慮
================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
