:root {
  --black: #030303;
  --black-2: #0a0a0a;
  --black-3: #141111;
  --red: #b50814;
  --red-2: #d71920;
  --red-3: #8a0610;
  --white: #ffffff;
  --paper: #fbfbfb;
  --text: #151515;
  --muted: #666666;
  --line: #e8e8e8;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0;
}

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

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

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

.narrow {
  width: min(980px, calc(100% - 40px));
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: var(--white);
  background: rgba(3, 3, 3, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

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

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: max-content;
  min-width: max-content;
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 800;
}

.global-nav a {
  position: relative;
  opacity: 0.86;
}

.global-nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -11px;
  width: 0;
  height: 2px;
  background: var(--red-2);
  transition: width 0.25s ease;
}

.global-nav a:hover::after {
  width: 100%;
}

.nav-contact,
.red-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 13px 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-3), var(--red-2));
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 900;
  line-height: 1.2;
  box-shadow: 0 18px 40px rgba(181, 8, 20, 0.28);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-contact:hover,
.red-button:hover {
  background: linear-gradient(135deg, #76040b, #b50814);
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(181, 8, 20, 0.34);
}

.red-button span,
.outline-button span {
  transition: transform 0.25s ease;
}

.red-button:hover span,
.outline-button:hover span {
  transform: translateX(6px);
}

.nav-toggle,
.hamburger {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background:
    var(--black) url("hero-renewable.jpg") center right / cover no-repeat;
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.82) 38%, rgba(0,0,0,0.28) 64%, rgba(0,0,0,0.1) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.66));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  width: min(1160px, calc(100% - 40px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 120px 0 86px;
}

.section-kicker {
  margin: 0 0 16px;
  color: var(--red-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(40px, 4.8vw, 60px);
  line-height: 1.25;
  letter-spacing: 0;
}

.hero h1 span {
  display: inline-block;
  color: var(--red-2);
  white-space: nowrap;
}

.hero p:not(.section-kicker) {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255,255,255,0.84);
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 600;
}

.hero .button {
  width: fit-content;
  margin-top: 34px;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  color: rgba(255,255,255,0.58);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  transform: translateX(-50%);
}

.scroll-indicator::after {
  content: "";
  display: block;
  width: 1px;
  height: 42px;
  margin: 8px auto 0;
  background: var(--red-2);
}

.section {
  padding: 110px 0;
  background: var(--white);
}

.section-heading {
  position: relative;
  margin-bottom: 54px;
}

.section-heading.center {
  text-align: center;
}

.ghost-title {
  position: absolute;
  top: -54px;
  left: 0;
  z-index: 0;
  margin: 0;
  color: rgba(0,0,0,0.035);
  font-size: clamp(56px, 10vw, 118px);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.section-heading.center .ghost-title {
  left: 50%;
  transform: translateX(-50%);
}

.section-heading > *:not(.ghost-title) {
  position: relative;
  z-index: 1;
}

.section h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.35;
  letter-spacing: 0;
}

.section-heading p:not(.section-kicker):not(.ghost-title) {
  margin: 18px 0 0;
  color: var(--muted);
}

.business-section {
  padding-top: 120px;
}

.business-group + .business-group {
  margin-top: 64px;
}

.group-heading {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: end;
  gap: 28px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.group-heading span {
  color: var(--red-2);
  font-size: 14px;
  font-weight: 900;
}

.group-heading h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.business-card {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #000000;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.business-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.08) brightness(0.9);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.business-card::after {
  content: none;
}

.business-card div {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  min-height: 240px;
  padding: 26px 26px 28px;
  background: #000000;
}

.business-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--red-3), var(--red-2));
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(181, 8, 20, 0.34);
  font-weight: 900;
}

.business-card h4 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.business-card p {
  margin: 12px 0 0;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
}

.business-card i {
  display: none;
}

.business-card:hover img {
  transform: scale(1.06);
  filter: saturate(0.82) contrast(1.1) brightness(0.62);
}

.business-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.24);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-right: 0;
}

.flow-grid li {
  position: relative;
  min-height: 270px;
  padding: 28px 20px;
  border-right: 1px solid var(--line);
  background: var(--white);
}

.flow-grid li + li::before {
  content: "›";
  position: absolute;
  top: 50%;
  left: -10px;
  color: var(--red);
  font-size: 28px;
  font-weight: 900;
  transform: translateY(-50%);
}

.flow-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  color: var(--red);
  border: 1px solid rgba(181,8,20,0.28);
  border-radius: 50%;
  font-size: 25px;
  font-weight: 900;
}

.flow-grid strong {
  display: block;
  color: var(--red);
  text-align: center;
  font-size: 13px;
}

.flow-grid h3 {
  margin: 8px 0 0;
  text-align: center;
  font-size: 17px;
  line-height: 1.45;
}

.flow-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.accordion {
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  padding: 20px 4px;
  font-weight: 900;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  margin-left: auto;
  color: var(--red);
  font-size: 22px;
  font-weight: 900;
}

.accordion details[open] summary::after {
  content: "−";
}

.accordion summary span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  color: var(--white);
  background: var(--red);
  font-weight: 900;
}

.accordion p {
  margin: 0;
  padding: 0 4px 22px 54px;
  color: var(--muted);
}

.company-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
  isolation: isolate;
  padding: 110px 0;
}

.company-section::before {
  content: none;
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
  gap: 70px;
  align-items: start;
}

.company-heading h2 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.25;
}

.company-heading p:not(.section-kicker) {
  margin: 22px 0 0;
  color: rgba(255,255,255,0.78);
  font-size: 17px;
}

.company-heading::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 34px;
  background: var(--red-2);
}

.company-panel {
  padding: 34px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px);
}

.company-list {
  margin: 0;
}

.company-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.13);
}

.company-list div:first-child {
  padding-top: 0;
}

.company-list dt {
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.company-list dd {
  margin: 0;
  color: rgba(255,255,255,0.88);
  font-weight: 700;
}

.company-list a:hover {
  color: var(--red-2);
}

.company-contact {
  width: fit-content;
  margin-top: 28px;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
  padding: 170px 0 92px;
  isolation: isolate;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 35%, rgba(181,8,20,0.42), transparent 26%),
    repeating-linear-gradient(120deg, rgba(215,25,32,0.09) 0 1px, transparent 1px 76px);
}

.contact-hero h1 {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.2;
}

.contact-hero p:not(.section-kicker) {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  font-weight: 700;
}

.contact-section {
  background: #f7f7f7;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(560px, 1.18fr);
  gap: 42px;
  align-items: start;
}

.contact-info,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-info {
  padding: 34px;
}

.contact-info h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.4;
}

.contact-info p {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.contact-methods {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-methods a {
  display: grid;
  gap: 3px;
  padding: 18px;
  color: var(--text);
  background: #f7f7f7;
  border-left: 4px solid var(--red-2);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.4;
}

.contact-methods span {
  color: var(--red-2);
  font-size: 13px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 34px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: var(--text);
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  color: var(--text);
  background: #f7f7f7;
  border: 1px solid #dcdcdc;
  border-radius: 0;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--red-2);
  outline: 2px solid rgba(215,25,32,0.16);
}

.form-wide,
.form-submit {
  grid-column: 1 / -1;
}

.form-submit {
  border: 0;
  cursor: pointer;
  font-size: 16px;
}

.document-section {
  background: #f7f7f7;
}

.document-body {
  max-width: 920px;
  padding: 42px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.document-body h2 {
  margin: 34px 0 10px;
  font-size: 22px;
}

.document-body h2:first-child {
  margin-top: 0;
}

.document-body p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.document-body a {
  color: var(--red-2);
  font-weight: 900;
}

.document-list {
  margin: 0;
}

.document-list div {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.document-list div:first-child {
  padding-top: 0;
}

.document-list dt {
  font-weight: 900;
}

.document-list dd {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  color: var(--white);
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-main {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding: 48px 0 28px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 28px;
  color: rgba(255,255,255,0.74);
  font-size: 13px;
  font-weight: 800;
}

.footer-nav a:hover {
  color: var(--red-2);
}

.footer-contact {
  min-height: 46px;
  margin-top: 10px;
}

.copyright {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 28px;
  color: rgba(255,255,255,0.54);
  font-size: 12px;
  text-align: right;
}

@media (max-width: 1060px) {
  .site-logo,
  .footer-logo {
    font-size: 17px;
  }

  .global-nav {
    gap: 16px;
    font-size: 12px;
  }

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

  .flow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .company-layout,
  .contact-layout,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-contact {
    width: fit-content;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .container,
  .narrow,
  .header-inner,
  .hero-content {
    width: min(100% - 28px, 1160px);
  }

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

  .site-logo {
    max-width: calc(100vw - 92px);
    min-width: 0;
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
  }

  .hamburger {
    display: grid;
    gap: 5px;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 1px solid rgba(255,255,255,0.18);
  }

  .hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--white);
  }

  .global-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    padding: 18px 20px 24px;
    background: rgba(3,3,3,0.96);
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-toggle:checked ~ .global-nav {
    display: grid;
    gap: 16px;
  }

  .nav-contact {
    width: 100%;
  }

  .hero {
    min-height: 760px;
    background-position: 62% center;
  }

  .hero-content {
    min-height: 760px;
    padding-top: 120px;
  }

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

  .hero p:not(.section-kicker) br {
    display: none;
  }

  .hero .button,
  .red-button,
  .outline-button {
    width: 100%;
  }

  .section {
    padding: 72px 0;
  }

  .ghost-title {
    top: -28px;
    font-size: 54px;
  }

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

  .section h2 {
    font-size: 30px;
  }

  .group-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .business-card img {
    aspect-ratio: 3 / 2;
  }

  .business-card div {
    min-height: 220px;
    padding: 24px 22px 26px;
  }

  .flow-grid {
    grid-template-columns: 1fr;
    border-right: 1px solid var(--line);
  }

  .flow-grid li {
    min-height: auto;
  }

  .flow-grid li + li::before {
    top: -16px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }

  .accordion summary {
    align-items: flex-start;
    padding: 18px 0;
  }

  .accordion p {
    padding-left: 0;
  }

  .company-section {
    padding: 76px 0;
  }

  .company-layout {
    gap: 30px;
  }

  .company-panel {
    padding: 24px 20px;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .company-contact {
    width: 100%;
  }

  .contact-hero {
    padding: 126px 0 64px;
  }

  .contact-hero p:not(.section-kicker) {
    font-size: 16px;
  }

  .contact-info,
  .contact-form {
    padding: 24px 20px;
  }

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

  .document-body {
    padding: 26px 20px;
  }

  .document-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-main {
    padding-top: 38px;
  }

  .footer-contact {
    width: 100%;
  }

  .copyright {
    text-align: left;
  }
}
