/* やわらかい自己紹介LP — シンプル・レスポンシブ（モダン配色） */

:root {
  --bg: #ffffff;
  --bg-elevated: #ffffff;
  --text: #111111;
  --text-muted: #444444;
  --accent: #284ab5;
  --accent-hover: #335dcb;
  --accent-2: #7c95e9;
  --accent-soft: rgba(124, 149, 233, 0.14);
  --accent-mesh-a: rgba(40, 74, 181, 0.28);
  --accent-mesh-b: rgba(124, 149, 233, 0.2);
  --accent-mesh-c: rgba(92, 130, 232, 0.12);
  --border: rgba(17, 17, 17, 0.12);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --radius: 22px;
  --radius-sm: 12px;
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic UI",
    sans-serif;
  --font-display: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --space-section: clamp(3rem, 7.5vw, 4.75rem);
  --container: min(1120px, 100% - 2rem);
  --narrow: min(640px, 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
  background-color: var(--bg);
  background-image: none;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  z-index: 100;
  text-decoration: none;
  font-weight: 500;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.narrow {
  max-width: var(--narrow);
  margin-inline: auto;
}

.narrow-text {
  max-width: 36rem;
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 26, 58, 0.78);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}

.site-header,
.site-header .logo {
  color: #f7f9ff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.85rem 0;
}

.logo {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #101a3a;
  aspect-ratio: 1 / 1;
  min-height: 260px;
}

@media (min-width: 768px) {
  .hero {
    /* PC画像は 1920×600 想定 */
    aspect-ratio: 1920 / 600;
    height: auto;
    min-height: 0;
  }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  margin: 0;
}

.hero-media img,
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(16, 26, 58, 0.55) 0%,
    rgba(16, 26, 58, 0.45) 45%,
    rgba(16, 26, 58, 0.65) 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(1.75rem, 5vw, 3rem) 1rem;
  width: 100%;
  max-width: 42rem;
  margin-inline: auto;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: none;
  color: var(--accent);
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero-kicker {
    background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: #f7f9ff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero-title {
    background: linear-gradient(135deg, #ffffff 0%, #dbe5ff 50%, #9ab2ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.hero-br {
  display: none;
}

@media (min-width: 480px) {
  .hero-br {
    display: inline;
  }
}

.hero-lead {
  margin: 0 auto 2rem;
  max-width: 34rem;
  color: #dfe7ff;
  font-size: 1.02rem;
  line-height: 2;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #476cdd 100%);
  color: #fff;
  box-shadow: var(--shadow-sm), 0 10px 28px rgba(10, 28, 90, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, #5c7ee8 100%);
  box-shadow: var(--shadow-sm), 0 12px 32px rgba(10, 28, 90, 0.52);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: rgba(124, 149, 233, 0.45);
  background: var(--accent-soft);
  color: #fff;
}

/* Sections */
.section {
  padding: var(--space-section) 0;
  background: #ffffff;
  color: #111111;
}

.accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
}

.accordion-toggle:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 8px;
  border-radius: var(--radius-sm);
}

.accordion-toggle .section-title {
  margin-bottom: 0;
}

.accordion-icon {
  width: 10px;
  height: 10px;
  border-right: 2px solid #444444;
  border-bottom: 2px solid #444444;
  transform: rotate(45deg);
  transition: transform 0.28s ease, border-color 0.2s ease;
  margin-top: -0.2rem;
}

.accordion-toggle:hover .accordion-icon {
  border-color: #111111;
}

.accordion-section.is-open .accordion-icon {
  transform: rotate(225deg);
}

.accordion-panel {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-6px);
  transition: max-height 0.42s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.28s ease,
    transform 0.28s ease;
}

.accordion-section.is-open .accordion-panel {
  opacity: 1;
  transform: translateY(0);
}

.accordion-panel > *:first-child {
  margin-top: 0.9rem;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.05em;
  color: #111111;
}

.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 0.68rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.9;
}

.section-intro {
  margin: 0 0 1.5rem;
  text-align: center;
  color: #444444;
  font-size: 0.98rem;
}

.section-about .section-intro,
.section-contact .section-intro {
  margin-inline: auto;
}

.card-soft {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid rgba(17, 17, 17, 0.12);
}

.card-soft p {
  margin: 0 0 1.25rem;
}

.card-soft p:last-child {
  margin-bottom: 0;
}

.nowrap {
  white-space: nowrap;
}

.section-things {
  background: #ffffff;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.05rem;
}

@media (min-width: 640px) {
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.feature-item {
  display: flex;
  gap: 0.875rem;
  background: #ffffff;
  padding: 1.3rem;
  border-radius: var(--radius);
  border: 1px solid rgba(17, 17, 17, 0.12);
  transition: border-color 0.2s ease;
}

.feature-item:hover {
  border-color: rgba(40, 74, 181, 0.35);
}

.feature-icon {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 0.85rem;
  line-height: 1.8;
}

.feature-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.feature-text {
  margin: 0;
  font-size: 0.92rem;
  color: #444444;
  line-height: 1.8;
}

.section-values {
  padding-bottom: calc(var(--space-section) * 0.75);
}

.values-quote + .values-quote {
  margin-top: 1.25rem;
}

.values-quote {
  margin: 0;
  position: relative;
  padding: 1.75rem clamp(1.25rem, 4vw, 2rem);
  padding-left: calc(clamp(1.25rem, 4vw, 2rem) + 14px);
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 100%
  );
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.values-quote::before {
  content: "";
  position: absolute;
  left: clamp(1.25rem, 4vw, 2rem);
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
}

.product-name {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #111111;
  line-height: 1.45;
}

.product-price {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.product-price-note {
  font-size: 0.88rem;
  font-weight: 500;
  color: #444444;
}

.product-desc {
  margin: 0;
  font-size: 0.98rem;
  color: #444444;
  line-height: 1.85;
}

.section-contact {
  padding-bottom: clamp(3.25rem, 9vw, 5.25rem);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(229, 236, 255, 0.15);
  background: #101a3a;
}

.footer-inner {
  text-align: center;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: #c9d2ef;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:active {
    transform: none;
  }

  .feature-item {
    transition: none;
  }

  .accordion-panel {
    transition: none;
    transform: none;
  }

  .accordion-icon {
    transition: none;
  }
}
