/* =========================================================
   aoiro - style.css
   HTML と CSS を分離した完全版
========================================================= */

:root {
  --blue-900: #154d75;
  --blue-800: #1f628f;
  --blue-700: #2d75b5;
  --blue-500: #5c9bd0;
  --blue-300: #a9cee9;
  --blue-100: #eaf4fb;
  --blue-050: #f6fbff;
  --ink: #18334a;
  --text: #425b6d;
  --muted: #718493;
  --line: #dfeaf1;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(25, 71, 102, 0.08);
  --shadow-soft: 0 12px 34px rgba(25, 71, 102, 0.05);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "YuGothic",
    "Noto Sans JP",
    sans-serif;
  line-height: 1.85;
  letter-spacing: 0.03em;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.narrow {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(29, 95, 140, 0.08);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-main {
  color: var(--blue-800);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.brand-sub {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 23px;
  font-size: 12px;
  font-weight: 700;
}

.global-nav a {
  transition: 0.2s ease;
}

.global-nav a:hover {
  color: var(--blue-700);
}

.nav-cta {
  padding: 10px 17px;
  color: var(--blue-700);
  border: 1px solid var(--blue-500);
  border-radius: 999px;
}

/* HERO */
.hero {
  overflow: hidden;
}

.hero-grid {
  min-height: 560px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 78px 56px 72px 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--blue-700);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hero h1,
.section-heading h2,
.story-card h2,
.promise-card h2,
.final-cta h2,
.diagnosis-copy h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-weight: 500;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.48;
  letter-spacing: 0.07em;
}

.hero-lead {
  margin: 0 0 28px;
  color: var(--text);
  font-size: 15px;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--blue-700);
  box-shadow: 0 12px 25px rgba(45, 117, 181, 0.18);
}

.button-secondary {
  color: var(--blue-800);
  background: var(--white);
  border: 1px solid var(--blue-300);
}

.button-white {
  color: var(--blue-800);
  background: var(--white);
}

.button-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.microcopy {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  background: var(--blue-050);
}

.hero-visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255,255,255,0.55), rgba(255,255,255,0) 28%),
    linear-gradient(0deg, rgba(234,244,251,0.12), rgba(255,255,255,0));
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  z-index: 3;
  padding: 16px 19px;
  color: var(--blue-900);
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(169, 206, 233, 0.7);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  font-family: "Yu Mincho", serif;
  font-size: 14px;
  line-height: 1.65;
  backdrop-filter: blur(10px);
}

.floating-card-1 {
  right: 30px;
  top: 40px;
}

.floating-card-2 {
  left: 36px;
  bottom: 35px;
}

/* COMMON SECTIONS */
.section {
  padding: 84px 0;
}

.section-soft {
  background: linear-gradient(180deg, #fff, var(--blue-050));
}

.section-blue {
  background:
    radial-gradient(circle at 8% 20%, rgba(169, 206, 233, 0.28), transparent 26%),
    linear-gradient(180deg, #edf7fd, #f9fcff);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.55;
  letter-spacing: 0.08em;
}

.section-heading p:last-child {
  margin: 16px auto 0;
  color: var(--text);
  font-size: 14px;
}

/* PROBLEMS */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.problem-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.problem-icon {
  width: 86px;
  height: 86px;
  margin-bottom: 17px;
  object-fit: contain;
  opacity: 0.88;
}

.problem-card p {
  margin: 0;
  color: var(--text);
  font-size: 12px;
}

/* ABOUT */
.story-card {
  padding: 48px 54px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.story-card p {
  margin: 0 0 19px;
  color: var(--text);
  font-size: 15px;
}

.story-card p:last-child {
  margin-bottom: 0;
}

.story-emphasis {
  padding: 24px 28px;
  color: var(--blue-900) !important;
  background: var(--blue-050);
  border-left: 3px solid var(--blue-500);
  border-radius: 0 16px 16px 0;
  font-family: "Yu Mincho", serif;
  font-size: 20px !important;
  line-height: 1.85;
}

/* PILLARS */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pillar-card {
  position: relative;
  padding: 36px 30px 30px;
  overflow: hidden;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(169, 206, 233, 0.65);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.pillar-number {
  position: absolute;
  right: 22px;
  top: 12px;
  color: rgba(45, 117, 181, 0.1);
  font-family: Georgia, serif;
  font-size: 60px;
  line-height: 1;
}

.simple-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 50%;
  font-size: 30px;
}

.pillar-card h3 {
  margin: 0 0 11px;
  font-family: "Yu Mincho", serif;
  font-size: 22px;
  font-weight: 500;
}

.pillar-card p {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 13px;
}

.pillar-card ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--text);
  font-size: 12px;
}

/* DIAGNOSIS */
.diagnosis-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 58px;
  align-items: center;
}

.diagnosis-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.8vw, 45px);
}

.big-copy {
  margin: 0 0 14px;
  color: var(--blue-900);
  font-family: "Yu Mincho", serif;
  font-size: 22px;
}

.diagnosis-copy > p:not(.section-kicker):not(.big-copy):not(.microcopy) {
  color: var(--text);
  font-size: 14px;
}

.axis-list {
  margin: 28px 0 30px;
  border-top: 1px solid var(--line);
}

.axis-item {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.axis-item > span {
  color: var(--blue-500);
  font-family: Georgia, serif;
  font-size: 14px;
}

.axis-item div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.axis-item strong {
  font-size: 14px;
}

.axis-item small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.15em;
}

.diagnosis-result-card {
  padding: 38px;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.97), rgba(237,247,253,0.95));
  border: 1px solid var(--blue-300);
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(45, 117, 181, 0.12);
}

.result-label {
  margin: 0;
  color: var(--blue-700);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.diagnosis-result-card h3 {
  margin: 9px 0 8px;
  font-family: "Yu Mincho", serif;
  font-size: 34px;
  font-weight: 500;
}

.result-catch {
  margin: 0 0 26px;
  color: var(--text);
  font-size: 14px;
}

.meter-group {
  display: grid;
  gap: 17px;
}

.meter-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  font-size: 11px;
}

.meter-top strong {
  color: var(--blue-700);
}

.meter {
  height: 8px;
  overflow: hidden;
  background: #dcecf6;
  border-radius: 999px;
}

.meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-300), var(--blue-700));
  border-radius: 999px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.tag-row span {
  padding: 7px 11px;
  color: var(--blue-800);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
}

/* COMMUNITY */
.community-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.community-card {
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.community-label {
  color: var(--blue-500);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.community-card h3 {
  margin: 10px 0 9px;
  font-family: "Yu Mincho", serif;
  font-size: 18px;
  font-weight: 500;
}

.community-card p {
  margin: 0;
  color: var(--text);
  font-size: 12px;
}

.event-banner {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 38px;
  background: linear-gradient(120deg, var(--blue-100), #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}

.event-banner h3 {
  margin: 0 0 8px;
  font-family: "Yu Mincho", serif;
  font-size: 22px;
  font-weight: 500;
}

.event-banner p:not(.section-kicker) {
  margin: 0;
  color: var(--text);
  font-size: 12px;
}

/* LIFE */
.life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.life-grid article {
  min-height: 170px;
  padding: 25px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.life-grid article span {
  color: var(--blue-500);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.life-grid h3 {
  margin: 7px 0 7px;
  font-family: "Yu Mincho", serif;
  font-size: 21px;
  font-weight: 500;
}

.life-grid p {
  margin: 0;
  color: var(--text);
  font-size: 12px;
}

.expert-note {
  margin-top: 24px;
  padding: 28px 32px;
  background: var(--blue-050);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.expert-note h3 {
  margin: 0 0 7px;
  font-family: "Yu Mincho", serif;
  font-size: 18px;
  font-weight: 500;
}

.expert-note p {
  margin: 0;
  color: var(--text);
  font-size: 12px;
}

/* PROMISE */
.promise-section {
  background: #eff7fb;
}

.promise-card {
  padding: 56px;
  text-align: center;
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--blue-300);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.promise-card h2 {
  margin: 0 0 24px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.6;
}

.promise-card p {
  margin: 0 auto 15px;
  max-width: 680px;
  color: var(--text);
  font-size: 14px;
}

.promise-card strong {
  display: block;
  margin-top: 24px;
  color: var(--blue-900);
  font-family: "Yu Mincho", serif;
  font-size: 20px;
  font-weight: 500;
}

/* SAFETY */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.safety-grid article {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
}

.safety-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 50%;
  font-size: 22px;
}

.safety-grid h3 {
  margin: 0 0 6px;
  font-family: "Yu Mincho", serif;
  font-size: 17px;
  font-weight: 500;
}

.safety-grid p {
  margin: 0;
  color: var(--text);
  font-size: 11px;
}

/* FLOW */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.flow-step {
  min-height: 160px;
  padding: 23px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
}

.flow-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.flow-step h3 {
  margin: 0 0 5px;
  font-family: "Yu Mincho", serif;
  font-size: 15px;
  font-weight: 500;
}

.flow-step p {
  margin: 0;
  color: var(--text);
  font-size: 10px;
}

.flow-arrow {
  color: var(--blue-300);
  font-size: 22px;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.faq-list summary {
  padding: 18px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}

.faq-list details p {
  margin: 0;
  padding: 0 0 20px;
  color: var(--text);
  font-size: 12px;
}

/* FINAL CTA */
.final-cta {
  padding: 86px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.14), transparent 25%),
    linear-gradient(120deg, #2d75b5, #1f628f);
  text-align: center;
}

.final-cta .section-kicker {
  color: #d6edfb;
}

.final-cta h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.6vw, 44px);
}

.final-cta p:not(.section-kicker) {
  margin: 0 0 28px;
  color: rgba(255,255,255,0.88);
  font-size: 14px;
}

.final-actions {
  justify-content: center;
}

/* FOOTER */
.site-footer {
  padding: 54px 0 24px;
  color: #6a7e8e;
  background: #f8fbfd;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  color: var(--blue-800);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 34px;
}

.footer-grid p {
  margin: 6px 0 0;
  font-size: 11px;
}

.footer-links,
.footer-meta {
  display: grid;
  align-content: start;
  gap: 8px;
  font-size: 11px;
}

.copyright {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 9px;
}

/* RESPONSIVE */
@media (max-width: 1020px) {
  .global-nav {
    display: none;
  }

  .hero-grid,
  .diagnosis-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 62px 0 44px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .problem-grid,
  .community-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillar-grid,
  .safety-grid,
  .life-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    transform: rotate(90deg);
    text-align: center;
  }
}

@media (max-width: 680px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 66px;
  }

  .brand-main {
    font-size: 29px;
  }

  .brand-sub {
    font-size: 8px;
  }

  .hero-grid {
    min-height: unset;
  }

  .hero-copy {
    padding-top: 46px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .floating-card {
    max-width: 180px;
    padding: 12px 14px;
    font-size: 11px;
  }

  .floating-card-1 {
    right: 14px;
    top: 18px;
  }

  .floating-card-2 {
    left: 14px;
    bottom: 16px;
  }

  .section {
    padding: 60px 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .problem-grid,
  .pillar-grid,
  .community-grid,
  .life-grid,
  .safety-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .story-card,
  .promise-card,
  .diagnosis-result-card {
    padding: 30px 22px;
  }

  .event-banner {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 24px;
  }

  .hero-actions,
  .final-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
