@charset "UTF-8";

:root {
  --bg: #fff7fb;
  --bg-soft: #fff1f6;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #fffdfd;
  --surface-sub: #fff8fb;

  --text: #514750;
  --text-soft: #7d7380;

  --accent: #d2668f;
  --accent-dark: #a54d71;
  --accent-soft: #ffd8e8;
  --accent-soft-2: #ffe8f2;
  --mint: #dff4ee;
  --lavender: #f0e8ff;
  --line: rgba(214, 175, 195, 0.7);

  --shadow: 0 14px 36px rgba(143, 91, 124, 0.12);
  --shadow-soft: 0 10px 24px rgba(190, 138, 165, 0.10);

  --radius-md: 20px;
  --content-width: 1180px;
  --header-height: 430px;
  --footer-height: 164px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 216, 232, 0.95), transparent 18rem),
    radial-gradient(circle at 100% 0%, rgba(240, 232, 255, 0.9), transparent 20rem),
    linear-gradient(180deg, #fff8fc 0%, #fff5f9 38%, #fffaf4 100%);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  line-height: 1.75;
}

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

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.site-header {
  position: relative;
  width: 100%;
  height: var(--header-height);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(255, 252, 254, 0.96) 0%, rgba(255, 240, 246, 0.92) 56%, rgba(246, 243, 255, 0.9) 100%);
  box-shadow: var(--shadow);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 251, 253, 0.96) 0%, rgba(255, 251, 253, 0.90) 34%, rgba(255, 251, 253, 0.65) 58%, rgba(255, 251, 253, 0.20) 100%);
  z-index: 0;
}

.site-header::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -90px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 231, 0.55), rgba(255, 214, 231, 0) 68%);
}

.header-decoration {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(215, 148, 180, 0.24);
  z-index: 1;
}

.header-decoration--left {
  top: 26px;
  left: 26px;
  width: 112px;
  height: 112px;
}

.header-decoration--right {
  right: 29%;
  bottom: 28px;
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.30);
}

.header-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 72px), var(--content-width));
  height: 100%;
  margin: 0 auto;
}

.header-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 760px);
  height: 100%;
  padding: 40px 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.site-header h1 {
  margin: 0;
  color: #63495b;
  font-size: clamp(3.3rem, 7vw, 6.6rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.065em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.92);
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.95),
    0 8px 28px rgba(156, 97, 129, 0.18);
}

.header-description {
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: clamp(0.98rem, 2vw, 1.12rem);
  font-weight: 700;
}

.header-character {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.header-character-image {
  position: absolute;
  right: -44px;
  bottom: -30px;
  width: min(1040px, 84vw);
  max-width: none;
  opacity: 0.50;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 18px 30px rgba(176, 119, 150, 0.12));
  color: transparent;
}

.main-content {
  width: min(calc(100% - 44px), var(--content-width));
  margin: 0 auto;
  padding: 76px 0 110px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 56px;
  align-items: end;
  padding: 0 6px 74px;
}

.intro h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: #65505d;
}

.intro > p {
  margin: 0 0 5px;
  color: var(--text-soft);
  font-size: 0.98rem;
}

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

.section-note {
  margin: 0 0 6px;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.work-card {
  display: flex;
  flex-direction: column;

  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.92) 0%,
      rgba(255,250,253,0.96) 100%
    );
  box-shadow: var(--shadow-soft);
}


.work-card:hover {
  transform: translateY(-5px);
  border-color: rgba(210, 102, 143, 0.36);
  box-shadow: 0 18px 38px rgba(187, 128, 159, 0.15);
}

.card-image-link {
  display: block;
  text-decoration: none;
}

.card-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, var(--accent-soft-2), var(--mint));
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.work-card:hover .card-image {
  transform: scale(1.035);
  filter: saturate(1.04);
}

.card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  color: #fff;
  background: rgba(170, 87, 122, 0.74);
  backdrop-filter: blur(6px);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;

  padding: 22px 22px 18px;
}

.card-body h3 {
  margin: 0 0 10px;
  color: #5c4a56;
  font-size: 1.18rem;
  line-height: 1.45;
}

.card-description {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}


.card-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 22px;
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.card-link span {
  transition: transform 0.2s ease;
}

.card-link:hover span {
  transform: translate(2px, -2px);
}

.site-footer {
  width: 100%;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 0;
  background: linear-gradient(135deg, rgba(255, 244, 248, 0.96) 0%, rgba(255, 236, 245, 0.94) 50%, rgba(245, 240, 255, 0.95) 100%);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;

  width: min(calc(100% - 48px), var(--content-width));

  min-height: var(--footer-height);
  height: auto;

  margin: 0 auto;
  padding: 24px 0;
}

.footer-copy {
  margin: 0;
  color: #8a7682;
  font-size: 0.82rem;
}

.footer-copy {
  margin-top: 16px;
}

.sp-only {
  display: none;
}

@media (max-width: 940px) {
  .header-inner {
    width: min(calc(100% - 48px), var(--content-width));
  }

  .header-copy {
    width: min(100%, 620px);
  }

  .header-character-image {
    right: -110px;
    bottom: -22px;
    width: min(980px, 110vw);
    opacity: 0.42;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    width: 100%;
    height: var(--header-height);
    margin: 0;
  }

  .header-inner {
    width: min(calc(100% - 30px), var(--content-width));
  }

  .header-copy {
    justify-content: flex-start;
    padding-top: 48px;
    width: 100%;
  }

  .site-header h1 {
    font-size: clamp(2.75rem, 15vw, 4.2rem);
    -webkit-text-stroke: 0;
  }

  .header-description {
    max-width: 18.5rem;
    margin-top: 16px;
    font-size: 0.93rem;
  }

  .header-character-image {
    right: -180px;
    bottom: -6px;
    width: 950px;
    opacity: 0.36;
  }

  .main-content {
    width: min(calc(100% - 28px), var(--content-width));
    padding: 58px 0 76px;
  }

  .intro {
    padding-bottom: 54px;
  }

  .section-heading {
    display: block;
  }

  .section-note {
    margin-top: 8px;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card-body .card-description {
    min-height: auto;
  }

  .site-footer {
    width: 100%;
    margin: 0;
  }

  .footer-inner {
    width: min(calc(100% - 30px), var(--content-width));

    min-height: var(--footer-height);
    height: auto;

    padding: 24px 0 28px;
  }

  .sp-only {
    display: inline;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 11px;

  min-width: 190px;
  padding: 10px 14px;

  border: 1px solid rgba(210, 102, 143, 0.22);
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.5);
  color: var(--text);

  text-decoration: none;

  box-shadow:
    0 5px 14px rgba(175, 110, 145, 0.06);

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.footer-link:hover {
  transform: translateY(-2px);

  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(210, 102, 143, 0.42);

  box-shadow:
    0 9px 20px rgba(175, 110, 145, 0.11);
}

.footer-link-icon {
  display: grid;
  place-items: center;

  flex: 0 0 36px;
  width: 36px;
  height: 36px;

  border-radius: 11px;

  background:
    linear-gradient(
      135deg,
      #ffe1ec,
      #f1e7ff
    );

  color: #76566b;
}

.footer-link-icon svg {
  width: 19px;
  height: 19px;
}

.footer-link-icon-x {
  font-size: 19px;
  font-weight: 800;
}

.footer-link-text {
  display: flex;
  flex: 1;
  flex-direction: column;

  min-width: 0;

  line-height: 1.35;
}

.footer-link-name {
  color: #644c5b;
  font-size: 0.86rem;
  font-weight: 800;
}

.footer-link-id {
  margin-top: 2px;

  color: #97828f;
  font-size: 0.69rem;
}

.footer-link-arrow {
  color: #c27696;
  font-size: 0.85rem;

  transition: transform 0.2s ease;
}

.footer-link:hover .footer-link-arrow {
  transform: translate(2px, -2px);
}

.updates-section {
  margin-bottom: 76px;
}

.updates-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.updates-heading h2 {
  margin: 0;
  color: #65505d;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.updates-note {
  margin: 0 0 5px;
  color: var(--text-soft);
  font-size: 0.85rem;
}


/* 更新履歴本体 */
.updates-list {
  max-height: 330px;
  overflow-y: auto;

  padding: 6px 18px 6px 6px;

  border-top: 1px solid rgba(210, 102, 143, 0.18);
  border-bottom: 1px solid rgba(210, 102, 143, 0.18);

  scroll-behavior: smooth;
}


/* 1件分 */
.update-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;

  padding: 20px 10px;

  border-bottom: 1px dashed rgba(210, 102, 143, 0.18);
}

.update-item:last-child {
  border-bottom: none;
}


/* 日付 */
.update-item time {
  padding-top: 2px;

  color: #b47b94;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}


/* タイトル */
.update-title {
  display: flex;
  align-items: center;
  gap: 9px;

  color: #604c59;
  font-size: 0.95rem;
  font-weight: 800;
}


/* 説明 */
.update-content p {
  margin: 5px 0 0;

  color: var(--text-soft);
  font-size: 0.86rem;
}


/* NEW */
.new-label {
  padding: 2px 7px;

  border-radius: 999px;

  color: #fff;
  background: var(--accent);

  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}


/* 最新だけほんのり強調 */
.update-item.is-new {
  background:
    linear-gradient(
      90deg,
      rgba(255, 224, 237, 0.32),
      rgba(255, 255, 255, 0)
    );
}


/* スクロールバー */
.updates-list::-webkit-scrollbar {
  width: 7px;
}

.updates-list::-webkit-scrollbar-track {
  background: rgba(255, 226, 238, 0.32);
  border-radius: 999px;
}

.updates-list::-webkit-scrollbar-thumb {
  background: rgba(202, 117, 154, 0.45);
  border-radius: 999px;
}

.updates-list::-webkit-scrollbar-thumb:hover {
  background: rgba(202, 117, 154, 0.65);
}

@media (max-width: 640px) {
  .updates-heading {
    display: block;
  }

  .updates-note {
    margin-top: 7px;
  }

  .updates-list {
    max-height: 300px;
    padding-right: 10px;
  }

  .update-item {
    grid-template-columns: 1fr;
    gap: 5px;

    padding: 17px 8px;
  }
}

.card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  margin-top: auto;
  padding-top: 18px;
}

.card-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;

  margin-top: 0;

  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.card-updated {
  display: flex;
  gap: 7px;
  align-items: center;

  margin: 0;

  color: #9a8792;
  font-size: 0.7rem;
  white-space: nowrap;
}

.card-updated span {
  color: var(--accent-dark);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}