/* ==========================================================
   Fonts
   ========================================================== */

@font-face {
  font-family: "Kozuka";
  src: url("../fonts/kozuka-extralight-webfont.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Kozuka";
  src: url("../fonts/kozuka-regular-webfont.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================
   Design tokens
   ========================================================== */

:root {
  --font-main: "Kozuka", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", Arial, Helvetica, sans-serif;

  --font-weight-light: 200;
  --font-weight-regular: 400;
  --font-weight-strong: 400;

  --color-red: #bc002d;
  --color-text: #1f2933;
  --color-muted: #6b7280;
  --color-bg: #f7f5f2;
  --color-white: #ffffff;

  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 14px 36px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 20px 52px rgba(188, 0, 45, 0.14);

  --radius-large: 28px;
  --radius-medium: 20px;
}

/* ==========================================================
   Reset
   ========================================================== */

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

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: var(--font-main);
  font-weight: var(--font-weight-regular);
  color: var(--color-text);
  background:
    radial-gradient(circle at top right, rgba(188, 0, 45, 0.08), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, var(--color-bg) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 18px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ==========================================================
   Layout
   ========================================================== */

.page {
  width: 100%;
  max-width: 920px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(31, 41, 51, 0.08);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-soft);
  padding: clamp(32px, 6vw, 72px);
  text-align: center;
  overflow: hidden;
  position: relative;
}

.page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 80px;
  height: 5px;
  background: var(--color-red);
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
}

/* ==========================================================
   Brand
   ========================================================== */

.logo {
	width: 200px;
	height: 200px;
	margin: 0 auto;
}

.logo-placeholder {
  width: 132px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 34px;
  border: 1px dashed rgba(31, 41, 51, 0.25);
  border-radius: 26px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand {
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  font-weight: var(--font-weight-regular);
  letter-spacing: -0.06em;
  line-height: 0.95;
  margin-bottom: 20px;
}

.brand span {
  color: var(--color-red);
}

.intro {
  max-width: 660px;
  margin: 0 auto 38px;
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--color-muted);
}

.intro strong {
  color: var(--color-text);
  font-weight: var(--font-weight-strong);
}

/* ==========================================================
   Portfolio card
   ========================================================== */

.portfolio-link {
  display: block;
  max-width: 560px;
  margin: 0 auto;
  border-radius: var(--radius-medium);
  text-decoration: none;
  color: inherit;
  background: var(--color-white);
  border: 1px solid rgba(31, 41, 51, 0.08);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.portfolio-link:hover,
.portfolio-link:focus-visible {
  transform: translateY(-4px) scale(1.015);
  box-shadow: var(--shadow-card-hover);
  outline: none;
}

.portfolio-image-placeholder {
  min-height: 270px;
  background:
    linear-gradient(rgba(31, 41, 51, 0.12), rgba(31, 41, 51, 0.12)),
    linear-gradient(135deg, #f3f4f6, #e5e7eb);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: var(--font-weight-regular);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portfolio-content {
  padding: 26px 24px 30px;
}

.portfolio-title {
  font-size: 1.15rem;
  font-weight: var(--font-weight-strong);
  margin-bottom: 8px;
  color: var(--color-text);
}

.portfolio-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--color-red);
  color: var(--color-white);
  font-weight: var(--font-weight-strong);
  font-size: 0.94rem;
}

.note {
  margin-top: 30px;
  color: var(--color-muted);
  font-size: 0.86rem;
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 560px) {
  body {
    align-items: flex-start;
    padding-top: 18px;
  }

  .page {
    border-radius: 22px;
  }

  .logo-placeholder {
    width: 108px;
    border-radius: 22px;
  }

  .portfolio-image-placeholder {
    min-height: 210px;
  }
}
