/* =========================================================
   lilicom — style.css
   ========================================================= */

:root {
  --ink: #4a4550;          /* 本文の文字色（青みのある墨） */
  --ink-soft: #857e8c;     /* 補足テキスト */
  --paper: #fbf8f6;        /* 背景（ほんのり桜色の白） */
  --mist: #f1ebef;         /* 区切り用の淡い色 */
  --line: #ddd3da;         /* 罫線 */
  --accent: #b9a3c4;       /* 藤色のアクセント */
  --accent-2: #9fc2cf;     /* 水色のアクセント */

  --font-ja: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Cardo", Georgia, serif;
  --font-logo: "Beth Ellen", cursive;

  --w-content: 760px;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.2em; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(251, 248, 246, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(221, 211, 218, .5);
}
.site-header__logo {
  font-family: var(--font-logo);
  font-size: 20px;
  text-decoration: none;
  line-height: 1;
}
.site-nav { display: flex; gap: clamp(14px, 3vw, 32px); }
.site-nav a {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color .3s;
}
.site-nav a:hover { color: var(--ink); }

/* ---------- トップ（表紙） ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  background: url("img/hero.jpg") center / cover no-repeat;
  overflow: hidden;
}
.hero::after { /* 下端を本文背景になじませる */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, var(--paper));
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; padding: 0 16px; }
.hero__logo {
  margin: 0;
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: clamp(48px, 9vw, 96px);
  line-height: 1.2;
  color: var(--ink);
  animation: fadeUp 1.6s ease both;
}
.hero__tagline {
  margin: 12px 0 0;
  font-family: var(--font-en);
  font-style: italic;
  font-size: clamp(15px, 2vw, 19px);
  letter-spacing: .08em;
  color: var(--ink);
  text-shadow: 0 0 12px rgba(255, 255, 255, .9), 0 0 24px rgba(255, 255, 255, .7);
  animation: fadeUp 1.6s .4s ease both;
}
.hero__scroll {
  position: absolute;
  z-index: 1;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding-bottom: 48px;
}
.hero__scroll::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 40px;
  background: var(--ink-soft);
  transform-origin: top;
  animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); opacity: 1; }
  60%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- セクション共通 ---------- */
.section {
  max-width: var(--w-content);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 140px) 16px 0;
}
.section__label {
  margin: 0 0 8px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
}
.section__title {
  margin: 0 0 56px;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.7;
  text-align: center;
}
.section__title::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  margin: 24px auto 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* ---------- About ---------- */
.about__body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}
.about__photo { margin: 0; }
.about__photo img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 16px 16px 0 var(--mist);
}
.about__text > p { text-align: justify; }
.about__en {
  margin: 40px 0 0;
  padding: 4px 0 4px 24px;
  border-left: 1px solid var(--accent);
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .01em;
  color: var(--ink-soft);
}
.about__en p:last-child { margin-bottom: 0; }

/* ---------- History ---------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 7px;
  width: 1px;
  background: var(--line);
}
.timeline__item {
  position: relative;
  padding: 0 0 40px 40px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--accent);
}
.timeline__date {
  margin: 0 0 4px;
  font-weight: 600;
  letter-spacing: .1em;
}
.timeline__text { margin: 0; color: var(--ink); }

/* ---------- Profile ---------- */
.profile__list {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}
.profile__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.profile__row dt {
  font-family: var(--font-en);
  font-style: italic;
  color: var(--ink-soft);
  letter-spacing: .1em;
}
.profile__row dd { margin: 0; }
.profile__row dd[lang="en"] { font-family: var(--font-en); font-size: 17px; }
.profile__kana { font-size: 13px; color: var(--ink-soft); margin-left: .3em; }

/* ---------- Works ---------- */
.works__list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.works__list li {
  padding: 24px 24px 24px 28px;
  background: #fff;
  border: 1px solid var(--mist);
  position: relative;
  line-height: 1.8;
}
.works__list li::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 2px;
  background: linear-gradient(var(--accent), var(--accent-2));
}

/* ---------- Instagram ---------- */
.instagram__feed { margin-top: 24px; }
.instagram__more {
  margin: 32px 0 0;
  text-align: center;
  font-family: var(--font-en);
  letter-spacing: .1em;
}
.instagram__more a {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  text-decoration: none;
  transition: background .3s;
}
.instagram__more a:hover { background: #fff; }

/* ---------- フッター ---------- */
.site-footer {
  margin-top: clamp(100px, 14vw, 160px);
  padding: 64px 16px 40px;
  text-align: center;
  background: linear-gradient(to bottom, var(--paper), var(--mist));
}
.site-footer__logo {
  font-family: var(--font-logo);
  font-size: 32px;
  text-decoration: none;
}
.sns {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 24px 0;
  padding: 0;
}
.sns a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background .3s, border-color .3s;
}
.sns a:hover { background: #fff; border-color: var(--accent); }
.sns svg { width: 16px; height: 16px; fill: var(--ink); }
.site-footer__copy {
  margin: 0;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--ink-soft);
}

/* ---------- スマートフォン ---------- */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .site-nav { gap: 12px; }
  .site-nav a { font-size: 11px; letter-spacing: .1em; }
  .about__body { grid-template-columns: 1fr; gap: 40px; }
  .about__photo { max-width: 220px; margin: 0 auto; }
  .profile__row { grid-template-columns: 1fr; gap: 2px; }
  .works__list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
