@import url("https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@500;700;800&family=Noto+Sans+JP:wght@400;500;700;800&family=Space+Mono:wght@400;700&display=swap");

:root {
  --font-display: "M PLUS 1p", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
  --font-utility: "Space Mono", monospace;
  --ink: #16352c;
  --muted: #687a74;
  --blue: #168a5b;
  --deep-blue: #0d6844;
  --sky: #eaf8f1;
  --line: #dbe7e1;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

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

.hidden {
  display: none !important;
}

.site-header {
  height: 78px;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(223, 229, 241, 0.9);
  position: relative;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display), sans-serif;
  font-weight: 760;
  font-size: 24px;
  letter-spacing: -1px;
}

.brand-name span {
  color: var(--blue);
}

.brand-divider {
  width: 1px;
  height: 24px;
  background: #d4d9e4;
}

.brand-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  font-weight: 700;
}

nav a {
  transition: color 180ms ease;
}

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

.header-contact {
  border: 0;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  padding: 12px 20px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.header-contact:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background:
    linear-gradient(rgba(22, 138, 91, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 138, 91, 0.05) 1px, transparent 1px),
    linear-gradient(120deg, #fbfefc 5%, #edf8f2 100%);
  background-size: 52px 52px, 52px 52px, auto;
  padding: 86px max(24px, calc((100vw - 1180px) / 2)) 76px;
}

.hero::after {
  content: "";
  position: absolute;
  right: -100px;
  top: -120px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 190, 132, 0.22), rgba(75, 190, 132, 0) 68%);
}

.hero-inner {
  position: relative;
  z-index: 5;
  max-width: 790px;
}

.eyebrow,
.section-kicker {
  color: var(--blue);
  font-family: var(--font-utility), monospace;
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 11px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 25px;
}

.eyebrow span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--blue);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: var(--font-display), "Noto Sans JP", sans-serif;
  font-size: clamp(52px, 6vw, 82px);
  line-height: 1.13;
  letter-spacing: -0.06em;
  margin-bottom: 24px;
  font-weight: 760;
}

h1 > span,
h1 > em {
  display: block;
  width: max-content;
  max-width: 100%;
}

h1 em {
  color: var(--blue);
  font-style: normal;
  position: relative;
}

h1 em::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 3px;
  bottom: -5px;
  height: 7px;
  border-radius: 999px;
  background: #ffce55;
  transform: rotate(-1deg);
  opacity: 0.86;
}

.hero-copy {
  color: #59647e;
  line-height: 1.9;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 33px;
}

.search-box {
  width: min(720px, 100%);
  height: 78px;
  border-radius: 14px;
  background: white;
  border: 1px solid #d8e6df;
  display: flex;
  align-items: center;
  padding: 8px;
  box-shadow: 0 17px 45px rgba(31, 94, 67, 0.13);
  position: relative;
}

.search-icon {
  width: 19px;
  height: 19px;
  border: 2px solid #7c879f;
  border-radius: 50%;
  margin: 0 15px 0 18px;
  position: relative;
  flex: 0 0 auto;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: #7c879f;
  transform: rotate(45deg);
  right: -6px;
  bottom: -3px;
}

.search-box input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  min-width: 0;
  color: var(--ink);
  font-size: 15px;
}

.search-box input::placeholder {
  color: #9aa3b6;
}

.search-box button {
  align-self: stretch;
  border: 0;
  border-radius: 9px;
  background: var(--blue);
  color: white;
  padding: 0 27px;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease;
}

.search-box button:hover {
  background: var(--deep-blue);
}

.suggestions {
  margin-top: 17px;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  font-size: 11px;
}

.suggestions > span {
  color: #747f97;
  font-weight: 700;
  margin-right: 3px;
}

.suggestions button {
  border: 1px solid #c9dfd3;
  background: rgba(255, 255, 255, 0.58);
  color: #52617d;
  border-radius: 999px;
  padding: 6px 11px;
  cursor: pointer;
  transition: background 180ms ease, border 180ms ease;
}

.suggestions button:hover {
  background: white;
  border-color: var(--blue);
}

.search-results {
  margin-top: 16px;
  width: min(720px, 100%);
  background: white;
  border: 1px solid #d8e6df;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 17px 45px rgba(31, 94, 67, 0.12);
}

.result-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.result-heading button {
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.search-results ul {
  list-style: none;
  padding: 8px 0 0;
  margin: 0;
}

.search-results li + li {
  border-top: 1px solid #eef1f6;
}

.search-results li button {
  width: 100%;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 12px;
  text-align: left;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 12px 0;
  cursor: pointer;
  font-weight: 700;
}

.search-results li span {
  color: var(--blue);
  font-size: 11px;
}

.search-results > p {
  font-size: 13px;
  color: var(--muted);
  margin: 15px 0 2px;
}

.prompt-stack {
  position: absolute;
  z-index: 3;
  right: max(4vw, calc((100vw - 1310px) / 2));
  top: 122px;
  width: 330px;
  height: 350px;
}

.prompt-card {
  position: absolute;
  width: 220px;
  height: 145px;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 23px 45px rgba(24, 75, 54, 0.16);
}

.prompt-card span {
  font-family: var(--font-utility), monospace;
  font-size: 9px;
  letter-spacing: 0.13em;
  font-weight: 800;
}

.prompt-card p {
  font-size: 15px;
  line-height: 1.7;
  font-weight: 800;
  margin-top: 20px;
}

.prompt-card-one {
  background: #fff;
  right: 0;
  top: 0;
  transform: rotate(5deg);
}

.prompt-card-one span {
  color: var(--blue);
}

.prompt-card-two {
  background: var(--ink);
  color: white;
  left: 0;
  top: 120px;
  transform: rotate(-5deg);
}

.prompt-card-two span {
  color: #8ed5b1;
}

.prompt-card-three {
  width: 120px;
  height: 112px;
  background: #ffcf58;
  right: 22px;
  bottom: 0;
  transform: rotate(7deg);
}

.prompt-card-three span {
  font-size: 8px;
}

.prompt-card-three i {
  font-style: normal;
  display: block;
  font-size: 40px;
  margin-top: 8px;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(22, 138, 91, 0.2);
  border-radius: 50%;
  z-index: 1;
}

.orbit-one {
  width: 410px;
  height: 410px;
  right: 5%;
  top: 72px;
}

.orbit-two {
  width: 270px;
  height: 270px;
  right: 10%;
  top: 142px;
}

.category-section,
.popular-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 105px 24px;
}

.section-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.section-intro h2 {
  font-family: var(--font-display), sans-serif;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1.25;
  margin: 9px 0 0;
}

.section-intro > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 2px;
}

.section-intro > a {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 9px;
}

.section-intro > a span {
  margin-left: 8px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.category-card {
  min-height: 290px;
  padding: 29px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
  background: white;
}

.category-card::after {
  content: "";
  position: absolute;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  right: -72px;
  bottom: -72px;
  background: var(--card-color);
  opacity: 0.12;
  transition: transform 240ms ease;
}

.category-card:hover {
  transform: translateY(-5px);
  z-index: 2;
  box-shadow: 0 20px 46px rgba(24, 49, 105, 0.1);
}

.category-card:hover::after {
  transform: scale(1.25);
}

.category-card.blue { --card-color: #168a5b; }
.category-card.cyan { --card-color: #2d9d83; }
.category-card.violet { --card-color: #5f8f4e; }
.category-card.orange { --card-color: #ad8a2f; }
.category-card.green { --card-color: #13735c; }
.category-card.pink { --card-color: #5f9f72; }

.category-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.category-mark {
  font-family: var(--font-utility), monospace;
  color: var(--card-color);
  font-size: 12px;
  font-weight: 800;
}

.category-arrow {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--card-color);
  transition: color 180ms ease, background 180ms ease;
}

.category-card:hover .category-arrow {
  color: white;
  background: var(--card-color);
  border-color: var(--card-color);
}

.category-card h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.category-card > p {
  color: var(--muted);
  font-size: 12px;
}

.category-card ul {
  list-style: none;
  padding: 18px 0 0;
  margin: 22px 0 0;
  border-top: 1px solid #edf0f5;
}

.category-card li {
  font-size: 11px;
  color: #5e6a82;
  padding: 4px 0 4px 13px;
  position: relative;
}

.category-card li::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--card-color);
  left: 0;
  top: 10px;
}

.popular-section {
  padding-top: 20px;
  padding-bottom: 120px;
}

.popular-list {
  border-top: 2px solid var(--ink);
}

.popular-row {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: white;
  width: 100%;
  padding: 24px 8px;
  display: grid;
  grid-template-columns: 58px 95px 1fr 36px;
  align-items: center;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  transition: padding 180ms ease, background 180ms ease;
}

.popular-row:hover {
  padding-left: 18px;
  background: #f4faf7;
}

.popular-number {
  color: #a4adbd;
  font-family: var(--font-utility), monospace;
  font-size: 11px;
}

.popular-tag {
  justify-self: start;
  background: var(--sky);
  color: var(--blue);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 800;
}

.popular-row strong {
  font-size: 14px;
}

.row-arrow {
  font-size: 19px;
  color: var(--blue);
}

.contact-section {
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    var(--blue);
  background-size: 48px 48px;
  color: white;
  padding: 100px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: start;
  gap: clamp(50px, 7vw, 100px);
}

.section-kicker.light {
  color: #bde5cf;
}

.contact-intro {
  position: sticky;
  top: 110px;
}

.contact-intro h2 {
  font-family: var(--font-display), sans-serif;
  font-size: clamp(30px, 2.65vw, 38px);
  line-height: 1.45;
  letter-spacing: -0.04em;
  margin: 16px 0 22px;
}

.contact-intro h2 span {
  display: block;
  white-space: nowrap;
}

.contact-intro > p {
  color: #d6f0e2;
  font-size: 13px;
  line-height: 2;
  max-width: 460px;
  margin-bottom: 35px;
}

.response-note {
  width: fit-content;
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 20px;
}

.response-note > span {
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 800;
}

.response-note strong {
  font-family: var(--font-display), sans-serif;
  font-size: 20px;
}

.response-note small {
  color: #ccebd9;
  font-size: 10px;
}

.contact-card {
  background: white;
  color: var(--ink);
  border-radius: 18px;
  padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 24px 70px rgba(8, 65, 41, 0.22);
}

.form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.form-kicker {
  color: var(--blue);
  font-family: var(--font-utility), monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.form-heading h3,
.contact-success h3 {
  font-family: var(--font-display), sans-serif;
  font-size: 25px;
  letter-spacing: -0.035em;
  margin: 8px 0 0;
}

.required-note {
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
  margin-top: 6px;
}

.required-note i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d96b4d;
  margin-right: 4px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label:not(.consent) {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.contact-form label > span:first-child {
  font-size: 11px;
  font-weight: 800;
}

.contact-form label > span b {
  color: #b9573d;
  font-size: 9px;
  margin-left: 5px;
}

.contact-form label > span small {
  color: var(--muted);
  font-size: 9px;
  margin-left: 5px;
}

.contact-form input:not([type="file"]):not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d4e2db;
  border-radius: 8px;
  background: #fbfdfc;
  color: var(--ink);
  outline: none;
  padding: 13px 14px;
  font-size: 12px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input:not([type="file"]):not([type="checkbox"]):focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22, 138, 91, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}

.upload-field input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.upload-drop {
  min-height: 118px;
  border: 1px dashed #a9cabb;
  border-radius: 10px;
  background: #f5faf7;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  column-gap: 12px;
  padding: 20px;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.upload-drop:hover {
  border-color: var(--blue);
  background: var(--sky);
}

.upload-drop i {
  width: 40px;
  height: 40px;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  border: 1px solid #cae0d5;
  color: var(--blue);
  font-size: 20px;
  font-style: normal;
}

.upload-drop strong {
  align-self: end;
  color: var(--blue);
  font-size: 12px;
}

.upload-drop small {
  align-self: start;
  color: var(--muted);
  font-size: 9px;
}

.file-list {
  list-style: none;
  padding: 0;
  margin: -9px 0 0;
  display: grid;
  gap: 7px;
}

.file-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 7px;
  background: var(--sky);
  padding: 8px 11px;
  color: #456258;
  font-size: 10px;
}

.file-list small {
  color: var(--muted);
}

.consent {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
}

.consent input {
  accent-color: var(--blue);
}

.consent a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-error {
  margin: -8px 0 0;
  padding: 10px 12px;
  border-radius: 7px;
  background: #fff1ee;
  color: #a64735;
  font-size: 10px;
}

.submit-contact {
  min-height: 58px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.submit-contact:hover:not(:disabled) {
  background: var(--deep-blue);
  transform: translateY(-2px);
}

.submit-contact:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.submit-contact span {
  font-size: 18px;
}

.contact-success {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-mark {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sky);
  color: var(--blue);
  font-size: 28px;
  margin-bottom: 24px;
}

.contact-success > p:not(.form-kicker) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  margin: 18px 0 28px;
}

.contact-success button {
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: white;
  color: var(--blue);
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

footer {
  min-height: 145px;
  padding: 46px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 54px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 11px;
  color: var(--muted);
}

.footer-brand .brand-logo-full {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: contain;
}

footer > p {
  font-family: var(--font-utility), monospace;
  font-size: 10px;
  color: #919bad;
  margin: 0;
}

.floating-contact {
  position: fixed;
  z-index: 25;
  right: 24px;
  bottom: 24px;
  border: 0;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  padding: 9px 18px 9px 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 9px 30px rgba(17, 58, 42, 0.27);
  cursor: pointer;
}

.floating-contact span {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  font-size: 17px;
}

.floating-contact b {
  font-size: 12px;
}

.admin-shell {
  min-height: 100vh;
  background: #f4f8f6;
}

.admin-header {
  height: 76px;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-header > div {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 11px;
  color: var(--muted);
}

.admin-header .brand-logo {
  width: 44px;
  height: 44px;
}

.admin-header > div a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--blue);
  font-weight: 800;
}

.admin-content {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 100px;
}

.admin-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 34px;
}

.admin-title h1 {
  font-size: clamp(36px, 5vw, 54px);
  margin: 8px 0 0;
}

.admin-title > p {
  color: var(--muted);
  font-size: 11px;
  margin: 0;
}

.admin-title > p strong {
  color: var(--blue);
  font-family: var(--font-display), sans-serif;
  font-size: 28px;
  margin-right: 5px;
}

.admin-empty {
  min-height: 340px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.admin-empty > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sky);
  color: var(--blue);
  font-size: 22px;
}

.admin-empty h2 {
  font-size: 18px;
  margin: 18px 0 7px;
}

.admin-empty p {
  color: var(--muted);
  font-size: 11px;
  margin: 0;
}

.inquiry-list {
  display: grid;
  gap: 16px;
}

.inquiry-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  padding: 27px 30px;
  box-shadow: 0 8px 25px rgba(17, 72, 49, 0.04);
}

.inquiry-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--font-utility), monospace;
  font-size: 9px;
}

.inquiry-meta time {
  margin-left: auto;
}

.status-new {
  border-radius: 999px;
  background: #e9f7ef;
  color: var(--blue);
  padding: 5px 9px;
  font-family: var(--font-body), sans-serif;
  font-weight: 800;
}

.inquiry-card h2 {
  font-size: 18px;
  margin: 20px 0 11px;
}

.inquiry-message {
  white-space: pre-wrap;
  color: #4d6259;
  font-size: 12px;
  line-height: 1.85;
  margin-bottom: 0;
}

.attachment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 21px;
}

.attachment-grid a {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf9;
  padding: 10px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.attachment-grid a > span {
  border-radius: 5px;
  background: var(--sky);
  color: var(--blue);
  padding: 5px 7px;
  font-size: 8px;
  font-weight: 800;
}

.attachment-grid strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
}

.attachment-grid small {
  color: var(--muted);
  font-size: 8px;
}

.inquiry-sender {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 19px;
}

.inquiry-sender > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.inquiry-sender span {
  color: var(--muted);
  font-size: 8px;
}

.inquiry-sender strong,
.inquiry-sender a {
  font-size: 11px;
}

.inquiry-sender a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1100px) {
  .contact-section {
    display: block;
  }

  .contact-intro {
    position: static;
    max-width: 760px;
  }

  .contact-card {
    max-width: 760px;
    margin: 48px auto 0;
  }
}

@media (max-width: 1080px) {
  .prompt-stack,
  .hero-orbit {
    opacity: 0.35;
    right: -90px;
  }

  .hero-inner {
    max-width: 720px;
  }

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

}

@media (max-width: 760px) {
  .site-header {
    height: 68px;
    padding: 0 18px;
  }

  .brand {
    gap: 9px;
  }

  .brand-name {
    font-size: 20px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-label {
    font-size: 10px;
  }

  .footer-brand .brand-logo-full {
    width: 72px;
    height: 72px;
  }

  .site-header nav a,
  .site-header nav .header-contact {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 65px 20px 62px;
    background-size: 36px 36px, 36px 36px, auto;
  }

  .hero::after,
  .prompt-stack,
  .hero-orbit {
    display: none;
  }

  h1 {
    font-size: clamp(38px, 11.5vw, 48px);
    letter-spacing: -0.07em;
  }

  h1 > span,
  h1 > em {
    white-space: nowrap;
  }

  .desktop-break {
    display: none;
  }

  .hero-copy {
    font-size: 13px;
  }

  .search-box {
    height: 65px;
    padding: 6px;
  }

  .search-icon {
    margin-left: 12px;
    margin-right: 13px;
  }

  .search-box button {
    padding: 0 15px;
    font-size: 12px;
  }

  .search-box input {
    font-size: 13px;
  }

  .suggestions > span {
    width: 100%;
  }

  .search-results li button {
    grid-template-columns: 1fr auto;
  }

  .search-results li span {
    grid-column: 1 / -1;
  }

  .category-section,
  .popular-section {
    padding: 72px 18px;
  }

  .section-intro {
    display: block;
    margin-bottom: 29px;
  }

  .section-intro > p {
    margin-top: 16px;
  }

  .section-intro > a {
    display: inline-block;
    margin-top: 18px;
  }

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

  .category-card {
    min-height: 250px;
    padding: 25px;
  }

  .category-top {
    margin-bottom: 28px;
  }

  .popular-section {
    padding-top: 5px;
    padding-bottom: 75px;
  }

  .popular-row {
    grid-template-columns: 36px 1fr 24px;
    padding: 19px 3px;
    row-gap: 7px;
  }

  .popular-tag {
    grid-column: 2;
    grid-row: 1;
  }

  .popular-row strong {
    grid-column: 2;
    grid-row: 2;
    font-size: 12px;
    line-height: 1.6;
  }

  .popular-number {
    grid-row: 1 / 3;
  }

  .row-arrow {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .contact-section {
    padding: 62px 20px;
    display: block;
  }

  .contact-intro {
    position: static;
  }

  .contact-intro h2 {
    font-size: clamp(28px, 8.3vw, 36px);
  }

  .contact-intro h2 span {
    white-space: nowrap;
  }

  .contact-card {
    margin-top: 42px;
    padding: 25px 19px;
    border-radius: 13px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-heading {
    display: block;
  }

  .required-note {
    display: inline-block;
    margin-top: 12px;
  }

  .response-note {
    flex-wrap: wrap;
  }

  footer {
    padding: 40px 20px 100px;
    display: block;
  }

  .footer-links {
    margin: 28px 0;
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .floating-contact {
    right: 14px;
    bottom: 14px;
  }

  .admin-header {
    padding: 0 18px;
  }

  .admin-header > div > span {
    display: none;
  }

  .admin-header .brand-label,
  .admin-header .brand-divider {
    display: none;
  }

  .admin-content {
    width: calc(100% - 30px);
    padding-top: 50px;
  }

  .admin-title {
    align-items: flex-start;
  }

  .admin-title > p {
    margin-top: 8px;
  }

  .inquiry-card {
    padding: 22px 18px;
  }

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

  .inquiry-sender {
    flex-direction: column;
    gap: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 3px solid #ffce55;
  outline-offset: 3px;
}
