:root {
  --bs-primary: #2469c7;
  --bs-primary-rgb: 36, 105, 199;
  --bs-link-color: #2469c7;
  --bs-link-color-rgb: 36, 105, 199;
  --bs-link-hover-color: #174f9c;
  --bs-body-color: #182b55;
  --bs-border-radius: 0;
  --bs-border-radius-sm: 0;
  --bs-border-radius-lg: 0;
  --bs-border-radius-xl: 0;
  --bs-border-radius-xxl: 0;
  --bs-border-radius-2xl: 0;
  --bs-border-radius-pill: 0;
  --ink-soft: #506583;
  --sky: #eaf6ff;
  --paper: #f8fbff;
  --pink: #e95e7c;
  --pink-deep: #d74e6c;
  --line: #d7e3f1;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--bs-body-color);
  background: var(--paper);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  padding-top: 64px;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand,
.btn,
.profile-card-title,
.works-tag {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-feature-settings: "palt" 1;
  letter-spacing: -.02em;
}

.navbar {
  padding: 12px 0;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(24, 43, 85, .08);
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.navbar-brand .brand-name {
  color: var(--bs-body-color);
  font-size: 1.2rem;
  font-weight: 900;
}

.navbar-brand .brand-sub {
  color: var(--ink-soft);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
}

.navbar-nav .nav-link {
  color: var(--bs-body-color);
  font-weight: 700;
}

.navbar-nav .nav-link:hover {
  color: var(--bs-primary);
}

.navbar-toggler {
  border: 0;
  box-shadow: none !important;
}

.hero-section {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, #f2faff 0%, var(--white, #fff) 100%);
}

.hero-badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 6px 10px;
  color: #174f9c;
  background: #dfefff;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  border-radius: 0;
}

.hero-catch {
  margin: 0 0 22px;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
}

.hero-img {
  box-shadow: 0 14px 34px rgba(35, 83, 151, .13);
}

.section-block {
  padding: 64px 0;
  background: var(--paper);
}

.section-alt {
  background: #fff;
}

.section-title {
  margin-bottom: 24px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
}

.section-title small {
  color: var(--bs-primary);
  font-size: .55em;
  font-weight: 700;
}

.section-lead {
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.profile-card, .works-card {
  border: 1px solid var(--line);
  border-radius: 0;
}

.profile-card {
  border-left: 4px solid var(--bs-primary);
}

.profile-card-title {
  color: var(--bs-primary);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.profile-name {
  margin: 0 0 10px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -.02em;
}

.works-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 12px;
  border-radius: 0;
  color: #174f9c;
  background: var(--sky);
  font-size: .85rem;
  font-weight: 700;
}

.works-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.sns-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 10px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--bs-body-color);
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  height: 100%;
  transition: border-color .2s ease, transform .2s ease;
}

.sns-card:hover {
  color: var(--bs-primary);
  border-color: #a9c9ee;
  transform: translateY(-2px);
}

.sns-card i {
  font-size: 1.4rem;
  color: var(--bs-primary);
}

.contact-card {
  max-width: 720px;
}

.contact-points {
  padding-left: 1.1rem;
  color: var(--ink-soft);
}

.contact-notes {
  margin-top: 18px;
  color: #7c8aa4;
}

.btn-primary,
.btn-accent {
  font-weight: 700;
}

.btn-accent {
  color: #fff;
  background-color: var(--pink);
  border-color: var(--pink);
}

.btn-accent:hover {
  color: #fff;
  background-color: var(--pink-deep);
  border-color: var(--pink-deep);
}

.site-footer {
  padding: 26px 0;
  color: #c8d8f2;
  background: #122344;
}

.back-to-top {
  color: #c8d8f2;
  text-decoration: none;
}

.back-to-top:hover {
  color: #fff;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

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