:root {
  --turquoise: #0FA0BE;
  --turquoise-dark: #0C7E96;
  --turquoise-pale: #EFFAFB;
  --yellow: #F0C94A;
  --brown: #3A2116;
  --brown-soft: #6B5347;
  --paper: #FAF9F5;
  --line: #D8EEF1;
  --warm-line: #EDEAE2;
  --white: #FFFFFF;
  --font-heading: "Zen Maru Gothic", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--brown); background: var(--white); font-family: var(--font-body); line-height: 1.85; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.inner { width: min(calc(100% - 64px), 1160px); margin: 0 auto; }
.section { padding: 108px 0; }
.section-label { margin: 0 0 18px; color: var(--turquoise-dark); font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.section-label-light { color: #B9EAF2; }
h1, h2, h3 { margin-top: 0; font-family: var(--font-heading); letter-spacing: 0; }
h2 { margin-bottom: 0; font-size: 38px; line-height: 1.55; word-break: keep-all; }
h1 span, h2 span { display: block; width: fit-content; }

.environment-badge {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 9px 12px;
  border-radius: 6px;
  background: var(--turquoise-dark);
  color: var(--white);
  box-shadow: 0 5px 18px rgba(58,33,22,.16);
  font-size: 10px;
  line-height: 1.45;
  pointer-events: none;
}
.environment-badge strong { font-size: 12px; }
.environment-badge span { opacity: .78; }

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  height: 82px;
  padding: 0 max(28px, calc((100% - 1320px) / 2));
  border-bottom: 1px solid var(--warm-line);
  background: var(--white);
}
.brand { margin-right: auto; }
.brand img { width: 190px; }
.header-home {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: 28px;
  padding: 8px 0;
  border-bottom: 1px solid #CBBEAE;
  color: var(--brown-soft);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.header-home > span:first-child { color: var(--turquoise-dark); font-size: 16px; line-height: 1; }
.header-home-compact { display: none; }
.site-header nav { display: flex; gap: 34px; margin-right: 34px; font-size: 13px; font-weight: 600; }
.site-header nav a { padding: 28px 0; }
.header-contact { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 1px solid var(--turquoise); color: var(--turquoise-dark); font-size: 13px; font-weight: 700; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(520px, 1fr); min-height: 690px; }
.hero-image { min-width: 0; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy-panel { display: flex; flex-direction: column; justify-content: center; padding: 80px clamp(48px, 8vw, 130px); background: var(--paper); }
.hero-copy-panel h1 { margin-bottom: 26px; font-size: clamp(42px, 4vw, 54px); line-height: 1.46; }
.hero-copy-panel > p:not(.section-label) { max-width: 520px; margin: 0; color: var(--brown-soft); font-size: 15px; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; font-size: 13px; font-weight: 700; }
.button-primary { background: var(--turquoise-dark); color: var(--white); }
.button-line { gap: 10px; }
.button-line img { width: auto; height: 24px; }
.text-link { border-bottom: 1px solid #CBBEAE; font-size: 13px; font-weight: 700; }
.text-link span { color: var(--turquoise-dark); }
.hero-copy-panel small { margin-top: 30px; color: #8A8378; font-size: 10px; }

.breadcrumb { padding: 20px 0; color: #8A8378; font-size: 11px; }
.breadcrumb span { margin: 0 8px; }
.breadcrumb b { color: var(--brown-soft); font-weight: 500; }

.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 96px; align-items: start; }
.intro-body > p { margin: 0; font-size: 16px; line-height: 2.1; }
.confirm-note { display: flex; gap: 12px; margin-top: 32px; padding: 18px 20px; border-left: 4px solid var(--yellow); background: #FFFBEF; color: var(--brown-soft); font-size: 12px; }
.confirm-note b { flex: 0 0 auto; color: var(--brown); }

.fund-use { background: var(--turquoise-pale); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; margin-bottom: 50px; }
.section-head > p { margin: 0 0 4px; color: var(--brown-soft); font-size: 13px; }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.use-grid article { min-height: 286px; padding: 32px 28px; border: 1px solid #CDE8EC; background: var(--white); }
.use-grid article > span { color: var(--turquoise-dark); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.use-grid h3 { margin: 40px 0 14px; font-size: 20px; }
.use-grid p { margin: 0; color: var(--brown-soft); font-size: 13px; }
.use-grid article::after { content: ""; display: block; width: 42px; height: 4px; margin-top: 32px; background: var(--yellow); }
.caption { margin: 24px 0 0; color: #8A8378; font-size: 10px; }

.target { background: var(--white); }
.target-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: center; }
.target-panel { position: relative; padding: 46px 50px; border: 1px solid var(--line); background: var(--paper); }
.target-panel::before { content: ""; position: absolute; top: 0; left: 0; width: 8px; height: 100%; background: var(--yellow); }
.target-panel > span { display: block; color: var(--turquoise-dark); font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.target-panel strong { display: block; margin-top: 8px; font: 700 36px var(--font-heading); }
.target-panel p { margin: 18px 0 0; color: var(--brown-soft); font-size: 13px; }

.donate { background: var(--turquoise-dark); color: var(--white); }
.donate-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; align-items: center; }
.donate-grid > div:first-child > p:last-child { margin: 26px 0 0; color: rgba(255,255,255,.82); font-size: 13px; }
.donate-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.donate-options a { display: flex; flex-direction: column; min-height: 270px; padding: 30px; background: var(--white); color: var(--brown); }
.donate-options .line-option { position: relative; }
.line-option > img { position: absolute; top: 27px; right: 28px; width: auto; height: 34px; }
.donate-options small { color: var(--turquoise-dark); font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.donate-options h3 { margin: 24px 0 8px; font-size: 21px; }
.donate-options p { margin: 0; color: var(--brown-soft); font-size: 12px; }
.donate-options b { margin-top: auto; padding-top: 28px; color: var(--turquoise-dark); font-size: 12px; }

.promise-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.promise-list { border-top: 2px solid var(--turquoise); }
.promise-list > div { display: grid; grid-template-columns: 54px 220px 1fr; gap: 18px; align-items: baseline; padding: 25px 0; border-bottom: 1px solid var(--warm-line); }
.promise-list span { color: var(--turquoise-dark); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.promise-list h3 { margin: 0; font-size: 17px; }
.promise-list p { margin: 0; color: var(--brown-soft); font-size: 12px; }

.other-support { background: var(--paper); }
.other-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 42px; }
.other-heading p { max-width: 430px; margin: 0; color: var(--brown-soft); font-size: 13px; }
.other-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.other-grid > a { display: grid; grid-template-columns: 170px 1fr; min-height: 190px; border: 1px solid var(--warm-line); background: var(--white); }
.other-grid img { width: 100%; height: 100%; object-fit: cover; }
.other-grid div { padding: 28px; }
.other-grid small { color: var(--turquoise-dark); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.other-grid h3 { margin: 12px 0 8px; font-size: 19px; }
.other-grid p { margin: 0; color: var(--brown-soft); font-size: 12px; }

.contact-band { padding: 54px 0; background: var(--yellow); }
.contact-band .inner { display: flex; align-items: center; justify-content: space-between; }
.contact-band p { margin: 0 0 6px; font-size: 11px; font-weight: 700; }
.contact-band h2 { font-size: 28px; }
.contact-band a { display: inline-flex; align-items: center; justify-content: center; min-width: 200px; min-height: 54px; background: var(--white); color: var(--turquoise-dark); font-size: 13px; font-weight: 700; }

footer { padding: 48px 0 28px; background: var(--white); }
footer .inner { display: grid; grid-template-columns: 190px 1fr auto; gap: 34px; align-items: center; }
footer img { width: 190px; }
.footer-brand { width: fit-content; }
footer p, footer small { margin: 0; color: #8A8378; font-size: 10px; }
.footer-meta { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.footer-meta a { color: var(--turquoise-dark); font-size: 11px; }
.mobile-sticky { display: none; }

a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

@media (max-width: 1000px) {
  .header-home { margin-right: 22px; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-copy-panel { padding: 64px 42px; }
  .hero-copy-panel h1 { font-size: 40px; }
  .intro-grid, .target-grid, .donate-grid, .promise-grid { gap: 55px; }
  .promise-list > div { grid-template-columns: 44px 180px 1fr; }
}

@media (max-width: 760px) {
  .inner { width: calc(100% - 40px); }
  .section { padding: 76px 0; }
  h2 { font-size: 30px; }
  .site-header { height: 68px; padding: 0 20px; }
  .brand img { width: 150px; }
  .header-home { margin-right: 16px; font-size: 11px; }
  .header-home-wide { display: none; }
  .header-home-compact { display: inline; }
  .header-contact { min-height: 40px; padding: 0 15px; font-size: 11px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-image { height: 360px; }
  .hero-copy-panel { padding: 46px 20px 54px; }
  .hero-copy-panel h1 { font-size: 34px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .button { width: 100%; }
  .text-link { width: fit-content; }
  .intro-grid, .section-head, .target-grid, .donate-grid, .promise-grid { grid-template-columns: 1fr; gap: 38px; }
  .use-grid { grid-template-columns: 1fr; }
  .use-grid article { min-height: 0; }
  .donate-options { grid-template-columns: 1fr; }
  .donate-options a { min-height: 230px; }
  .promise-list > div { grid-template-columns: 36px 1fr; }
  .promise-list p { grid-column: 2; }
  .other-heading { display: block; }
  .other-heading p { margin-top: 18px; }
  .other-grid { grid-template-columns: 1fr; }
  .contact-band .inner { align-items: stretch; flex-direction: column; gap: 24px; }
  footer { padding-bottom: 90px; }
  footer .inner { grid-template-columns: 1fr; gap: 15px; }
  .mobile-sticky { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; height: 58px; background: var(--white); box-shadow: 0 -5px 18px rgba(58,33,22,.09); }
  .mobile-sticky a { display: grid; place-items: center; font-size: 12px; font-weight: 700; }
  .mobile-sticky a:first-child { background: var(--turquoise-dark); color: var(--white); }
  .mobile-sticky a:last-child { color: var(--turquoise-dark); }
  .environment-badge { right: auto; left: 8px; bottom: 66px; padding: 6px 9px; }
}

@media (max-width: 520px) {
  .inner { width: calc(100% - 32px); }
  .site-header { padding: 0 16px; }
  .header-home { margin-right: 0; }
  .header-contact { display: none; }
  .hero-image { height: 280px; }
  .hero-copy-panel { padding-right: 16px; padding-left: 16px; }
  .hero-copy-panel h1 { font-size: 29px; }
  .section-label { font-size: 9px; }
  h2 { font-size: 27px; }
  .confirm-note { align-items: flex-start; flex-direction: column; }
  .target-panel { padding: 36px 28px; }
  .target-panel strong { font-size: 30px; }
  .other-grid > a { grid-template-columns: 112px 1fr; min-height: 170px; }
  .other-grid div { padding: 22px 18px; }
  .contact-band h2 { font-size: 24px; }
}

/* 320px幅では長い相談・理念見出しも内幅に収め、語中で折らない。 */
@media (max-width: 360px) {
  .donate h2, .promise h2 { font-size: 24px; }
}
