:root {
  --navy-900: #0b1e36;
  --navy-800: #0f2a4a;
  --navy-700: #17385e;
  --gold-500: #c9a227;
  --gold-400: #d8b84a;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --paper: #eef1f5;
  --text: #1c2733;
  --text-sub: #5a6675;
  --text-on-dark: #e8edf3;
  --font-heading: "Noto Serif JP", serif;
  --font-body: "Noto Sans JP", sans-serif;
  --radius-card: 8px;
  --shadow-card: 0 6px 24px rgba(11, 30, 54, 0.1);
  --gold-hairline: 1px solid rgba(201, 162, 39, 0.55);
  --container: 1280px;
  --gutter: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--text-on-dark);
  background: rgba(7, 22, 41, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.site-header.is-scrolled {
  color: var(--text);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px rgba(11, 30, 54, 0.12);
}

.header-inner {
  width: min(var(--container), calc(100% - 56px));
  height: 106px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
  transition: height 220ms ease;
}

.site-header.is-scrolled .header-inner {
  height: 78px;
}

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

.brand-mark,
.node-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: var(--gold-hairline);
  border-radius: 999px;
  color: var(--gold-400);
  font-family: var(--font-heading);
  line-height: 1;
}

.brand-mark {
  width: 54px;
  height: 54px;
  font-size: 30px;
}

.brand-text {
  display: grid;
  gap: 3px;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-en {
  color: rgba(232, 237, 243, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.site-header.is-scrolled .brand-en {
  color: var(--text-sub);
}

.site-nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.1vw, 34px);
  font-size: 13px;
  font-weight: 600;
}

.site-nav a {
  color: inherit;
  white-space: nowrap;
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--gold-400);
}

.nav-contact {
  margin-left: 4px;
  padding: 12px 20px;
  border: var(--gold-hairline);
  color: var(--gold-400) !important;
  font-size: 12px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(201, 162, 39, 0.42);
  background: transparent;
  color: inherit;
}

.menu-button span {
  width: 20px;
  height: 2px;
  margin: 5px auto;
  display: block;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  padding-top: 106px;
  color: var(--white);
  background:
    radial-gradient(circle at 71% 54%, rgba(238, 241, 245, 0.38) 0 7%, transparent 8%),
    radial-gradient(ellipse at 73% 58%, rgba(255, 255, 255, 0.24) 0 10%, transparent 11%),
    linear-gradient(102deg, #061423 0%, #071728 31%, rgba(13, 30, 48, 0.76) 50%, rgba(226, 231, 235, 0.36) 76%, #10233a 100%),
    repeating-linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 28px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  width: 660px;
  height: 260px;
  right: 6%;
  bottom: 48px;
  transform: rotate(-9deg);
  border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 0 30%, rgba(50, 112, 160, 0.32) 30% 33%, transparent 33% 38%, rgba(55, 130, 184, 0.32) 38% 42%, transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(221, 229, 237, 0.5));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  opacity: 0.55;
}

.hero::after {
  width: 520px;
  height: 92px;
  right: -22px;
  bottom: 112px;
  transform: rotate(-12deg);
  background: linear-gradient(90deg, rgba(7, 10, 14, 0.8), rgba(201, 162, 39, 0.8), rgba(7, 10, 14, 0.9));
  border-radius: 999px;
  opacity: 0.65;
  clip-path: polygon(0 38%, 85% 35%, 100% 50%, 85% 65%, 0 62%);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 16, 29, 0.96) 0%, rgba(5, 16, 29, 0.86) 34%, rgba(5, 16, 29, 0.25) 75%, rgba(5, 16, 29, 0.62) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 56px));
  min-height: 414px;
  margin: 0 auto;
  display: grid;
  align-content: center;
  padding: 48px 0 60px;
}

.hero-kicker {
  margin: 0 0 16px;
  color: rgba(216, 184, 74, 0.78);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--gold-400);
}

.hero h1::after {
  content: "";
  width: 74px;
  height: 1px;
  margin: 28px 0 22px;
  display: block;
  background: var(--gold-500);
}

.hero-copy {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.section {
  border-bottom: 1px solid #e4e7eb;
  background: var(--white);
}

.section-overview {
  background: var(--off-white);
}

.section-shell {
  width: min(var(--container), calc(100% - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 38px;
  padding: 34px 0;
}

.section-heading h2 {
  margin: 0;
  color: #172332;
  font-family: var(--font-heading);
  font-size: 25px;
  line-height: 1.6;
  font-weight: 700;
}

.section-heading p {
  margin: 3px 0 0;
  color: var(--gold-500);
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.overview-table {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid #dfe4ea;
}

.overview-table dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.overview-table div {
  min-height: 48px;
  display: grid;
  grid-template-columns: 118px 1fr;
  border-bottom: 1px solid #dfe4ea;
}

.overview-table div:nth-last-child(-n + 1) {
  border-bottom: 0;
}

.overview-table dt,
.overview-table dd {
  margin: 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
}

.overview-table dt {
  color: var(--text-sub);
  background: rgba(238, 241, 245, 0.54);
  border-right: 1px solid #dfe4ea;
  font-size: 13px;
  font-weight: 700;
}

.overview-table dd {
  font-size: 13px;
  font-weight: 500;
}

.overview-table small {
  margin-left: 0.35em;
  color: var(--text-sub);
  font-size: 11px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-card {
  min-height: 282px;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-800);
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(11, 30, 54, 0.18);
}

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.95;
}

.service-01::before {
  background:
    linear-gradient(180deg, rgba(8, 15, 24, 0.1), rgba(5, 20, 36, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 18px, transparent 18px 54px),
    linear-gradient(135deg, #58472f, #091c33 70%);
}

.service-02::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(5, 20, 36, 0.92)),
    repeating-linear-gradient(15deg, rgba(255, 255, 255, 0.16) 0 2px, transparent 2px 24px),
    linear-gradient(135deg, #d6dbe1, #10233d 74%);
}

.service-03::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(5, 20, 36, 0.94)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.18) 0 18px, transparent 18px 32px),
    linear-gradient(135deg, #334251, #0b2038 72%);
}

.service-04::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(5, 20, 36, 0.93)),
    radial-gradient(circle at 64% 20%, rgba(255, 255, 255, 0.42) 0 7%, transparent 8%),
    radial-gradient(circle at 36% 35%, rgba(255, 255, 255, 0.26) 0 5%, transparent 6%),
    linear-gradient(135deg, #aeb8c5, #0d243d 72%);
}

.service-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 66%;
  background: linear-gradient(180deg, transparent, rgba(6, 22, 40, 0.96) 28%, rgba(6, 22, 40, 0.99));
}

.service-body {
  position: relative;
  z-index: 1;
  min-height: 282px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px 20px;
}

.line-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--gold-500);
  background: rgba(8, 27, 49, 0.92);
}

.line-icon svg,
.research-item svg,
.strength-grid svg,
.mail-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.45;
  font-weight: 700;
}

.service-card h3 span {
  margin-right: 9px;
  color: var(--gold-400);
  font-family: var(--font-body);
  font-size: 17px;
}

.service-card p {
  margin: 0;
  min-height: 72px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  line-height: 1.85;
}

.card-arrow {
  position: absolute;
  right: 18px;
  bottom: 17px;
  color: var(--gold-400);
  font-size: 24px;
  line-height: 1;
}

.section-research {
  background: var(--white);
}

.research-badge {
  display: inline-flex;
  margin-top: 18px;
  padding: 6px 18px;
  border: var(--gold-hairline);
  color: #26313d;
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.research-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  background: #f4f2ed;
  border: 1px solid rgba(222, 217, 205, 0.7);
}

.research-item {
  min-height: 106px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: var(--gold-500);
  border-left: 1px dotted rgba(201, 162, 39, 0.55);
}

.research-item:first-child {
  border-left: 0;
}

.research-item p {
  margin: 0;
  color: #2d3743;
  font-size: 13px;
  font-weight: 600;
}

.section-group .section-shell {
  padding-top: 40px;
  padding-bottom: 30px;
}

.group-diagram {
  text-align: center;
}

.group-caption {
  margin: 0 0 18px;
  color: var(--text-sub);
  font-size: 13px;
}

.group-top {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1.15fr;
  gap: 0;
  align-items: stretch;
  max-width: 730px;
  margin: 0 auto 56px;
}

.group-top::before,
.group-top::after {
  content: "";
  position: absolute;
  bottom: -43px;
  width: 1px;
  height: 36px;
  background: #16212d;
}

.group-top::before {
  left: 14%;
}

.group-top::after {
  right: 14%;
}

.flow-label {
  position: absolute;
  top: 50%;
  color: var(--text-sub);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.flow-label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 72px;
  height: 1px;
  background: #16212d;
}

.flow-label.left {
  left: -118px;
}

.flow-label.left::after {
  left: 65px;
}

.flow-label.right {
  right: -118px;
}

.flow-label.right::after {
  right: 65px;
}

.company-node {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 2px solid #d9dde3;
  background: var(--white);
  transition: border-color 180ms ease, transform 180ms ease;
}

.company-node:hover {
  border-color: rgba(201, 162, 39, 0.65);
  transform: translateY(-2px);
}

.main-node {
  min-height: 118px;
  color: var(--text-on-dark);
  border-color: var(--navy-900);
  background: var(--navy-900);
}

.node-logo {
  width: 50px;
  height: 50px;
  color: var(--gold-400);
  font-size: 27px;
}

.company-node strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 17px;
  line-height: 1.45;
  text-align: left;
}

.company-node em {
  display: block;
  margin-top: 7px;
  padding: 5px 10px;
  color: var(--text);
  background: linear-gradient(90deg, #c49b35, #d6b75a);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.55;
  text-align: left;
}

.partner-node em {
  padding: 0;
  color: var(--text-sub);
  background: transparent;
  font-weight: 500;
}

.role-box {
  display: grid;
  place-items: center;
  min-height: 118px;
  border: 2px solid #d9dde3;
  border-left: 0;
  background: #fbfbfc;
  text-align: left;
}

.role-box ul {
  margin: 0;
  padding: 0 22px;
  color: #26313d;
  font-size: 13px;
  line-height: 1.75;
}

.group-bottom {
  display: grid;
  grid-template-columns: 1fr 150px 1fr;
  align-items: center;
  gap: 10px;
}

.partner-node {
  justify-content: flex-start;
  min-height: 92px;
  padding: 0 28px;
}

.center-flow {
  position: relative;
  color: var(--text-sub);
  font-size: 12px;
  font-weight: 700;
}

.center-flow::before,
.center-flow::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 38px;
  height: 1px;
  background: #16212d;
}

.center-flow::before {
  left: -42px;
}

.center-flow::after {
  right: -42px;
}

.section-strengths {
  background: var(--off-white);
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
}

.strength-grid article {
  min-height: 144px;
  padding: 20px 28px 18px;
  border-left: 1px solid rgba(201, 162, 39, 0.32);
  text-align: center;
  transition: background 180ms ease, transform 180ms ease;
}

.strength-grid article:first-child {
  border-left: 0;
}

.strength-grid article:hover {
  background: rgba(238, 241, 245, 0.58);
  transform: translateY(-2px);
}

.strength-grid svg {
  width: 42px;
  height: 42px;
  margin: 0 auto 10px;
  color: var(--gold-500);
}

.strength-grid h3 {
  margin: 0 0 7px;
  font-family: var(--font-heading);
  font-size: 17px;
  line-height: 1.45;
}

.strength-grid p {
  margin: 0;
  color: var(--text-sub);
  font-size: 12px;
  line-height: 1.7;
}

.section-news {
  background: var(--white);
}

.news-list {
  border-top: 1px solid #dfe4ea;
}

.news-list article {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #dfe4ea;
}

.news-list time {
  color: var(--gold-500);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
}

.news-list p {
  margin: 0;
  color: var(--text-sub);
  font-size: 13px;
}

.footer {
  color: var(--text-on-dark);
  background:
    radial-gradient(circle at 18% 50%, rgba(201, 162, 39, 0.08), transparent 18%),
    linear-gradient(90deg, #07172b, var(--navy-900));
}

.footer-inner {
  width: min(var(--container), calc(100% - 56px));
  min-height: 174px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 230px 1fr 430px;
  gap: 36px;
  align-items: center;
  padding: 34px 0;
}

.footer-heading h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 19px;
}

.footer-heading p {
  margin: 5px 0 0;
  color: var(--gold-500);
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.footer-message {
  display: flex;
  align-items: center;
  gap: 24px;
}

.mail-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: var(--gold-hairline);
  border-radius: 999px;
  color: var(--gold-400);
}

.mail-icon svg {
  width: 36px;
  height: 36px;
}

.footer-message h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 18px;
}

.footer-message p,
.footer-note,
.copyright {
  margin: 0;
  color: rgba(232, 237, 243, 0.78);
  font-size: 12px;
  line-height: 1.8;
}

.mail-link {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 25px;
  color: var(--white);
}

.mail-link span {
  padding: 6px 11px;
  color: var(--white);
  background: rgba(201, 162, 39, 0.55);
  font-family: var(--font-heading);
  font-size: 12px;
}

.footer-note {
  grid-column: 3;
  margin-top: -22px;
  padding-left: 60px;
}

.copyright {
  grid-column: 1 / -1;
  color: rgba(232, 237, 243, 0.48);
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .header-inner {
    width: min(100% - 36px, var(--container));
  }

  .brand {
    min-width: 290px;
  }

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

  .site-nav {
    gap: 15px;
    font-size: 12px;
  }

  .nav-contact {
    padding: 10px 12px;
  }

  .footer-inner {
    grid-template-columns: 210px 1fr;
  }

  .mail-link {
    grid-column: 1 / -1;
  }

  .footer-note {
    grid-column: 1 / -1;
    margin-top: -22px;
    padding-left: 64px;
  }
}

@media (max-width: 980px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    right: 0;
    bottom: 0;
    width: min(360px, 86vw);
    display: grid;
    align-content: start;
    justify-content: stretch;
    gap: 0;
    padding: 24px;
    color: var(--text);
    background: var(--white);
    box-shadow: -18px 0 34px rgba(11, 30, 54, 0.14);
    transform: translateX(105%);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid #e5e8ed;
  }

  .nav-contact {
    margin: 18px 0 0;
    text-align: center;
  }

  .header-inner,
  .site-header.is-scrolled .header-inner {
    height: 78px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    font-size: 26px;
  }

  .hero {
    min-height: 500px;
    padding-top: 78px;
  }

  .section-shell {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .research-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .research-item:nth-child(4) {
    border-left: 0;
  }

  .group-top {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-bottom: 28px;
  }

  .role-box {
    border: 2px solid #d9dde3;
    border-top: 0;
  }

  .flow-label,
  .group-top::before,
  .group-top::after,
  .center-flow::before,
  .center-flow::after {
    display: none;
  }

  .group-bottom {
    max-width: 620px;
    margin: 0 auto;
    grid-template-columns: 1fr;
  }

  .center-flow {
    padding: 8px 0;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .header-inner,
  .hero-inner,
  .section-shell,
  .footer-inner {
    width: calc(100% - 32px);
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

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

  .brand-en {
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .hero {
    min-height: 472px;
  }

  .hero::before {
    width: 420px;
    right: -130px;
    opacity: 0.35;
  }

  .hero::after {
    width: 340px;
    right: -150px;
    opacity: 0.42;
  }

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

  .hero-copy br {
    display: none;
  }

  .section-shell {
    padding: 32px 0;
  }

  .section-heading h2 {
    font-size: 22px;
  }

  .overview-table dl,
  .overview-table div {
    display: block;
  }

  .overview-table div {
    border-bottom: 1px solid #dfe4ea;
  }

  .overview-table dt {
    border-right: 0;
    border-bottom: 1px solid #edf0f4;
  }

  .overview-table dd {
    min-height: 48px;
  }

  .service-grid,
  .research-list,
  .strength-grid {
    grid-template-columns: 1fr;
  }

  .research-item,
  .strength-grid article {
    border-left: 0;
    border-top: 1px solid rgba(201, 162, 39, 0.28);
  }

  .research-item:first-child,
  .strength-grid article:first-child {
    border-top: 0;
  }

  .company-node,
  .partner-node {
    justify-content: flex-start;
    padding: 20px;
  }

  .company-node strong,
  .company-node em {
    text-align: left;
  }

  .news-list article {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .footer-message {
    align-items: flex-start;
  }

  .mail-link {
    flex-wrap: wrap;
    font-size: 20px;
    word-break: break-word;
  }

  .footer-note {
    margin: 0;
    padding-left: 0;
  }

  .copyright {
    text-align: left;
  }
}

@media (max-width: 460px) {
  .brand-text {
    max-width: 220px;
  }

  .brand-name {
    white-space: normal;
    line-height: 1.35;
  }

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

  .footer-message {
    display: grid;
  }

  .mail-icon {
    width: 58px;
    height: 58px;
  }
}
