:root {
  --gold: #edb136;
  --gold-deep: #c99216;
  --green: #17803f;
  --green-dark: #0e5c2c;
  --ink: #1c291f;
  --muted: #5c6a60;
  --line: #e4dfd4;
  --paper: #f7f5ef;
  --white: #fff;
  --shadow: 0 16px 40px rgba(28, 41, 31, 0.12);
  --wrap: 1080px;
  --header: 84px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 96px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

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

a { color: var(--green-dark); }

a:hover { color: var(--green); }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  z-index: 100;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.masthead {
  background: linear-gradient(165deg, #f3c44a 0%, #6aaa3c 46%, #146b38 100%);
  position: relative;
}

.masthead:has(.hero) {
  background-size: 180% 180%;
  animation: hero-gradient 16s ease-in-out infinite;
}

.masthead::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 72px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: rgba(237, 177, 54, 0.96);
  backdrop-filter: blur(8px);
}

.masthead { padding-top: var(--header); }

.header-inner {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.brand img { width: 68px; height: 68px; }

.nav-toggle {
  display: none;
  border: 2px solid var(--green-dark);
  background: transparent;
  color: var(--green-dark);
  font: inherit;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
}

.site-nav {
  display: flex;
  gap: 8px 22px;
  align-items: center;
}

.site-nav a {
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.hero {
  position: relative;
  z-index: 1;
  padding: 28px 0 108px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  width: 240px;
  height: 240px;
  top: 8%;
  left: -70px;
  animation: hero-orb 12s ease-in-out infinite;
}

.hero::after {
  width: 160px;
  height: 160px;
  right: 6%;
  bottom: 70px;
  animation: hero-orb 14s ease-in-out infinite reverse;
}

.hero-grid { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 36px;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.55rem, 2.15vw, 2.05rem);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.hero h1 span {
  display: inline-block;
  position: relative;
  overflow: hidden;
  background: var(--white);
  padding: 0.12em 0.4em;
  margin: 0.12em 0;
  white-space: nowrap;
  animation: hero-line 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero h1 span:nth-of-type(1) { animation-delay: 0.08s; }
.hero h1 span:nth-of-type(2) { animation-delay: 0.24s; }
.hero h1 span:nth-of-type(3) { animation-delay: 0.4s; }

.hero h1 span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 28%, rgba(243, 196, 74, 0.72) 50%, transparent 72%);
  transform: translateX(-130%);
  animation: hero-shine 0.9s ease both;
}

.hero h1 span:nth-of-type(1)::after { animation-delay: 0.85s; }
.hero h1 span:nth-of-type(2)::after { animation-delay: 1s; }
.hero h1 span:nth-of-type(3)::after { animation-delay: 1.15s; }

.hero-en {
  margin: 18px 0 26px;
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  animation: hero-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.hero .btn { animation: hero-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both; }

.hero-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: hero-photo 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both, hero-float 7s ease-in-out 1.3s infinite;
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: hero-shine 1.1s ease 1.15s both;
  z-index: 1;
  pointer-events: none;
}

.hero-visual img,
.hero-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: none;
  animation: hero-zoom 18s ease-in-out infinite alternate;
}

@keyframes hero-gradient {
  0%, 100% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
}

@keyframes hero-line {
  from { opacity: 0; transform: translateX(-36px); }
  to { opacity: 1; transform: none; }
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes hero-shine {
  to { transform: translateX(130%); }
}

@keyframes hero-photo {
  from { opacity: 0; transform: translateX(36px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

@keyframes hero-orb {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(24px, -18px, 0); }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.btn:hover { background: #f6c453; color: var(--ink); }

.btn-line {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green);
}

.btn-line:hover { background: var(--paper); color: var(--green-dark); }

.page-title {
  position: relative;
  z-index: 1;
  padding: 12px 0 96px;
  color: var(--white);
}

.page-title h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.section { padding: 72px 0; }

.section-paper { background: var(--paper); }

.sec-head { margin-bottom: 28px; }

.sec-head h2,
.page-title h1,
.biz h3,
.case h3 {
  font-weight: 700;
}

.sec-head h2 {
  margin: 0;
  color: var(--green);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  letter-spacing: 0.06em;
}

.sec-en {
  margin: 2px 0 0;
  color: var(--gold-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lead { margin: 0; max-width: 46rem; }

.biz-list { display: grid; gap: 48px; }

.biz {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: center;
}

.biz img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
}

.biz-no {
  margin: 0;
  color: var(--gold-deep);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.biz h3 {
  margin: 6px 0 10px;
  color: var(--green);
  font-size: 1.35rem;
  line-height: 1.45;
}

.biz h3 span {
  display: block;
  margin-top: 2px;
  color: var(--gold-deep);
  font-size: 0.92rem;
}

.biz p:last-child { margin: 0; }

.case {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: stretch;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.case-photo { position: relative; }

.case-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.case-note {
  position: absolute;
  left: 12px;
  bottom: 12px;
  margin: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.case-body { padding: 32px 32px 32px 8px; }

.case-kicker {
  margin: 0 0 8px;
  color: var(--gold-deep);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.case h3 {
  margin: 0 0 12px;
  font-size: 1.7rem;
  line-height: 1.4;
}

.case-meta {
  margin: 0 0 8px;
  font-weight: 700;
}

.case-links {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.sns-link {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
}

.sns-link strong { display: block; font-size: 1.05rem; }

.sns-link .handle { display: block; color: var(--muted); font-size: 0.88rem; font-weight: 400; }

td ul { margin: 0.2em 0; padding-left: 1.2em; }

.sns-link:hover { border-color: var(--green); color: var(--ink); }

.site-link { margin: 14px 0 0; }

.reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reasons li {
  background: var(--white);
  border-radius: 12px;
  padding: 16px 16px 16px 18px;
  border-left: 4px solid var(--green);
}

.news-list { display: grid; gap: 12px; }

.news-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.news-item time { color: var(--muted); font-weight: 700; }

.news-item:hover { color: var(--green-dark); }

.site-footer {
  background: var(--green-dark);
  color: #f4f7f2;
  padding: 48px 0 28px;
}

.site-footer a { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
}

.site-footer p { margin: 0 0 8px; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
}

.footer-nav a { text-decoration: none; font-weight: 700; }

.copy {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

.prose { max-width: 46rem; }

.prose p { margin: 0 0 1.1em; }

.sign { font-weight: 700; }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

th, td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

th {
  width: 28%;
  background: var(--paper);
  font-weight: 700;
}

.stack { display: grid; gap: 28px; }

.form {
  display: grid;
  gap: 16px;
  max-width: 640px;
}

.form label { display: grid; gap: 6px; font-weight: 700; }

.form input,
.form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid #cfc8ba;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.form textarea { min-height: 160px; resize: vertical; }

.req { color: #b42318; font-weight: 700; }

.note { color: var(--muted); font-size: 0.92rem; }

.form-done {
  background: var(--paper);
  border-radius: 16px;
  padding: 28px;
  max-width: 640px;
}

:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff8e8;
    padding: 8px 20px 16px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open { display: flex; }

  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }

  .hero-grid,
  .biz,
  .case,
  .reasons,
  .footer-grid,
  .news-item {
    grid-template-columns: 1fr;
  }

  .hero h1 span { white-space: normal; }

  .case-body { padding: 8px 20px 24px; }

  .case-photo img { min-height: 0; aspect-ratio: 16 / 10; }

  th { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .masthead:has(.hero),
  .hero::before,
  .hero::after,
  .hero h1 span,
  .hero h1 span::after,
  .hero-en,
  .hero .btn,
  .hero-frame,
  .hero-frame::before,
  .hero-frame img {
    animation: none;
  }
}
