/*
Theme Name: Azusa Portfolio
Theme URI: https://example.com
Author: Azusa
Description: Portfolio theme
Version: 1.0
*/

@charset "UTF-8";
/* =========================================================
   1) Tools
========================================================= */
/* =========================================================
   2) Tokens (Design tokens + Themes)
========================================================= */
:root {
  /* Layout tokens */
  --max: 1200px;
  --gutter: 20px;
  --header-h: 56px;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  /* Typography tokens */
  --fs-body: clamp(15px, 14.2727272727px + 0.0022727273 * 100vw, 17px);
  --fs-text: clamp(16px, 15.2727272727px + 0.0022727273 * 100vw, 18px);
  --fs-h1: clamp(28px, 20.7272727273px + 0.0227272727 * 100vw, 48px);
  --fs-h2: clamp(22px, 18.3636363636px + 0.0113636364 * 100vw, 32px);
  --fs-h3: clamp(16px, 14.5454545455px + 0.0045454545 * 100vw, 20px);
  --fs-small: clamp(12px, 11.6363636364px + 0.0011363636 * 100vw, 13px);
  /* Spacing tokens */
  --sp-section: clamp(56px, 41.4545454545px + 0.0454545455 * 100vw, 96px);
  --sp-gap: clamp(12px, 9.8181818182px + 0.0068181818 * 100vw, 18px);
  --sp-card: clamp(14px, 11.8181818182px + 0.0068181818 * 100vw, 20px);
  /* ===== Theme: Dark (default) ===== */
  --color-bg: #0b0f17;
  --color-surface: rgba(17, 24, 39, 0.55);
  --color-text: rgba(229, 231, 235, 0.92);
  --color-muted: rgba(156, 163, 175, 0.9);
  --color-border: rgba(255, 255, 255, 0.14);
  --color-primary: #60a5fa;
  --color-primary-soft: rgba(96, 165, 250, 0.16);
  /* Components: Button */
  --btn-bg: rgba(17, 24, 39, 0.55);
  --btn-border: rgba(255, 255, 255, 0.14);
  --btn-text: rgba(229, 231, 235, 0.92);
  --btn-hover-border: rgba(96, 165, 250, 0.6);
  --btn-primary-bg: rgba(96, 165, 250, 0.16);
  --btn-primary-border: rgba(96, 165, 250, 0.35);
  /* Components: Nav */
  --nav-link: rgba(229, 231, 235, 0.92);
  --nav-link-hover: rgba(255, 255, 255, 0.98);
  /* Components: Hamburger */
  --hamb-bg: rgba(17, 24, 39, 0.55);
  --hamb-border: rgba(255, 255, 255, 0.14);
  --hamb-bar: rgba(255, 255, 255, 0.92);
  /* Components: Drawer */
  --drawer-overlay: rgba(0, 0, 0, 0.45);
  --drawer-panel-bg: rgba(11, 15, 23, 0.95);
  --drawer-panel-border: rgba(255, 255, 255, 0.1);
  --drawer-item-bg: rgba(255, 255, 255, 0.03);
  --drawer-item-border: rgba(255, 255, 255, 0.06);
  --drawer-item-hover-border: rgba(96, 165, 250, 0.45);
  /* Components: Blog */
  --blog-card-bg: rgba(17, 24, 39, 0.55);
  --blog-accent: rgba(96, 165, 250, 0.45);
  /* Components: Form */
  --form-field-bg: rgba(17, 24, 39, 0.35);
  --form-field-text: var(--color-text);
  --form-border: rgba(255, 255, 255, 0.14);
  --form-border-focus: rgba(96, 165, 250, 0.6);
}

/* Light */
[data-theme="light"] {
  --color-bg: #ffffff;
  --color-surface: #f3f4f6;
  --color-text: #111827;
  --color-muted: #6b7280;
  --color-border: rgba(17, 24, 39, 0.14);
  --color-primary: #2563eb;
  --color-primary-soft: rgba(37, 99, 235, 0.12);
  --btn-bg: #ffffff;
  --btn-border: rgba(17, 24, 39, 0.14);
  --btn-text: #111827;
  --btn-hover-border: rgba(37, 99, 235, 0.45);
  --btn-primary-bg: rgba(37, 99, 235, 0.12);
  --btn-primary-border: rgba(37, 99, 235, 0.35);
  --nav-link: #111827;
  --nav-link-hover: #0b1220;
  --hamb-bg: #ffffff;
  --hamb-border: rgba(17, 24, 39, 0.14);
  --hamb-bar: rgba(17, 24, 39, 0.92);
  --drawer-overlay: rgba(17, 24, 39, 0.35);
  --drawer-panel-bg: #ffffff;
  --drawer-panel-border: rgba(17, 24, 39, 0.12);
  --drawer-item-bg: rgba(17, 24, 39, 0.03);
  --drawer-item-border: rgba(17, 24, 39, 0.08);
  --drawer-item-hover-border: rgba(37, 99, 235, 0.35);
  --blog-card-bg: #ffffff;
  --blog-accent: rgba(37, 99, 235, 0.45);
  --form-field-bg: #ffffff;
  --form-field-text: #111827;
  --form-border: rgba(17, 24, 39, 0.14);
  --form-border-focus: rgba(37, 99, 235, 0.55);
}

/* Pink（不足してた分を補完） */
[data-theme="pink"] {
  --color-bg: #fff1f7;
  --color-surface: rgba(255, 214, 231, 0.72);
  --color-text: #4a1025;
  --color-muted: #a64d79;
  --color-border: rgba(159, 47, 97, 0.22);
  --color-primary: #ff2d93;
  --color-primary-soft: rgba(255, 45, 147, 0.14);
  --btn-bg: rgba(255, 255, 255, 0.7);
  --btn-border: rgba(159, 47, 97, 0.22);
  --btn-text: #4a1025;
  --btn-hover-border: rgba(255, 45, 147, 0.55);
  --btn-primary-bg: rgba(255, 45, 147, 0.14);
  --btn-primary-border: rgba(255, 45, 147, 0.42);
  --nav-link: #4a1025;
  --nav-link-hover: #2a0b17;
  --hamb-bg: rgba(255, 255, 255, 0.7);
  --hamb-border: rgba(159, 47, 97, 0.22);
  --hamb-bar: rgba(74, 16, 37, 0.92);
  --drawer-overlay: rgba(74, 16, 37, 0.28);
  --drawer-panel-bg: rgba(255, 241, 247, 0.98);
  --drawer-panel-border: rgba(159, 47, 97, 0.2);
  --drawer-item-bg: rgba(255, 45, 147, 0.06);
  --drawer-item-border: rgba(159, 47, 97, 0.18);
  --drawer-item-hover-border: rgba(255, 45, 147, 0.42);
  --blog-card-bg: rgba(255, 255, 255, 0.75);
  --blog-accent: rgba(255, 45, 147, 0.48);
  --form-field-bg: rgba(255, 255, 255, 0.85);
  --form-field-text: #4a1025;
  --form-border: rgba(159, 47, 97, 0.22);
  --form-border-focus: rgba(255, 45, 147, 0.55);
}

/* =========================================================
   3) Base
========================================================= */
html,
body {
  /* height: 100%;
  overflow: hidden; */
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Arial, sans-serif;
  line-height: 1.7;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: var(--fs-body);
  box-sizing: content-box;
}

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

img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

h1,
h2 {
  margin: 0 0 12px;
  line-height: 1.2;
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

p {
  margin: 0 0 16px;
  color: var(--color-text);
  font-size: var(--fs-text);
}

/* =========================================================
   4) Layout
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--color-bg);
}

.site-header .header-inner {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: 20px;
}

.site-header .logo img {
  height: calc(var(--header-h) - 16px);
  width: auto;
}

/* Scroll snap */
main {
  /* height: 100%; */
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-padding-top: var(--header-h);
}

main section {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding-bottom: var(--header-h);
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* motion reduce */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  main {
    scroll-snap-type: none;
  }
}
/* =========================================================
   5) Components
========================================================= */
/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--btn-text);
  border: 2px solid var(--btn-border);
  background: var(--btn-bg);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease,
    background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--btn-hover-border);
}

.btn.primary {
  background: var(--btn-primary-bg);
  border-color: var(--btn-primary-border);
}

/* Nav / Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 22px;
}

nav a {
  color: var(--nav-link);
}

nav a:hover {
  color: var(--nav-link-hover);
}

/* Hamburger */
.hamburger {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--hamb-border);
  background: var(--hamb-bg);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.hamburger .bars {
  width: 18px;
  height: 14px;
  position: relative;
}

.hamburger .bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--hamb-bar);
  transition: transform 0.18s ease, top 0.18s ease, opacity 0.18s ease;
}

.hamburger .bars span:nth-child(1) {
  top: 0;
}

.hamburger .bars span:nth-child(2) {
  top: 6px;
}

.hamburger .bars span:nth-child(3) {
  top: 12px;
}

/* Drawer */
.drawer {
  position: fixed;
  inset: 0;
  background: var(--drawer-overlay);
  display: none;
  z-index: 60;
}

.drawer-panel {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(360px, 88vw);
  background: var(--drawer-panel-bg);
  border-left: 1px solid var(--drawer-panel-border);
  padding: 18px;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
  transform: translateX(100%);
  transition: transform 0.2s ease;
}

.drawer[aria-hidden="false"] {
  display: block;
}

.drawer[aria-hidden="false"] .drawer-panel {
  transform: translateX(0);
}

.drawer-title {
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.drawer-nav a {
  display: block;
  padding: 14px 12px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid var(--drawer-item-border);
  background: var(--drawer-item-bg);
  color: var(--color-text);
  margin: 10px 0;
}

.drawer-nav a:hover {
  border-color: var(--drawer-item-hover-border);
}

.top_content img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
}

.container {
  padding-inline: clamp(16px, 10.1818181818px + 0.0181818182 * 100vw, 32px);
}

.about_wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.sample_item,
.blog-item {
  padding: clamp(14px, 11.8181818182px + 0.0068181818 * 100vw, 20px);
}

/* Cards */
.sample_items {
  display: grid;
  gap: var(--sp-gap);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.sample_item {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--sp-card);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.sample_item:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.sample_item h3 {
  margin: 0 0 8px;
  font-size: var(--fs-h3);
}

.sample_item p {
  font-size: clamp(14px, 13.2727272727px + 0.0022727273 * 100vw, 16px);
  color: var(--color-text);
}

/* Blog */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-gap);
  margin-top: 18px;
}

.blog-item {
  display: block;
  background: var(--blog-card-bg);
  border-bottom: 5px solid var(--blog-accent);
  border-radius: var(--radius);
  padding: var(--sp-card);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, border-color 0.15s ease,
    background 0.15s ease;
}

.blog-item:hover {
  transform: translateY(-2px);
  border-color: var(--blog-accent);
}

.blog-item time {
  display: block;
  color: var(--color-muted);
  font-size: var(--fs-small);
  margin-bottom: 6px;
}

.blog-item h3 {
  margin: 0 0 8px;
  font-size: var(--fs-h3);
}

.blog-item p {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(14px, 13.2727272727px + 0.0022727273 * 100vw, 16px);
}
.article {
  padding: 120px 0 80px;
}

.article__body {
  max-width: 800px;
  margin: 0 auto;
}

.article__body time {
  display: block;
  margin-bottom: 16px;
  color: var(--color-text-sub);
}

.article__body h1 {
  margin-bottom: 32px;
  color: var(--color-main);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  line-height: 1.3;
}

.article__content {
  line-height: 1.9;
}

.article__content p {
  margin-top: 0;
  margin-bottom: 1.5em;
}

/* Form */
form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 2px solid var(--form-border);
  background: var(--form-field-bg);
  color: var(--form-field-text);
  outline: none;
  box-sizing: border-box;
}

input:focus,
textarea:focus {
  border-color: var(--form-border-focus);
}

textarea {
  min-height: 140px;
  resize: vertical;
}
.footer {
  padding: 56px 0 24px;
  background: #142a45;
  color: rgba(255, 255, 255, 0.85);
}

.footer__inner {
  display: grid;
  gap: 24px;
}

.footer__logo {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}

.footer__text {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.85);
  transition: 0.2s;
}

.footer__nav a:hover {
  color: #fff;
}

.footer__copy {
  display: block;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .footer {
    padding: 40px 0 20px;
  }

  .footer__nav {
    flex-direction: column;
    gap: 10px;
  }
}

/* =========================================================
   Breakpoints
========================================================= */
@media (max-width: 767px) {
  nav {
    display: none;
  }
  .hamburger {
    display: inline-flex;
  }
  .about_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .color-button {
    display: none;
  }
} /*# sourceMappingURL=style.css.map */

.blog-archive {
  padding: 120px 0 80px;
}

.blog-list {
  display: grid;
  gap: 24px;
}

.pagination {
  margin-top: 40px;
  text-align: center;
}

.pagination .nav-links {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  color: var(--btn-text);
}

.pagination .page-numbers.current {
  background: var(--btn-primary-bg);
  color: var(--btn-text);
  border-color: var(--btn-primary-border);
}

.page-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(30, 58, 95, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.3s ease;
  z-index: 100;
}

.page-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top:hover {
  background: var(--color-accent-hover);
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid #e5e7eb;
  max-width: 800px;
  margin: 0 auto;
}

.post-navigation a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-weight: 600;
  transition: 0.2s;
}

.post-navigation a:hover {
  background: var(--btn-primary-bg);
  color: var(--btn-text);
}

.post-navigation__home {
  text-align: center;
}

@media (max-width: 640px) {
  .page-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
  .post-navigation {
    flex-direction: column;
    align-items: center;
  }
}
