:root {
  --background: #f3f0e8;
  --foreground: #20221f;
  --green: #294c40;
  --green-dark: #171b1a;
  --green-soft: #e6e3db;
  --orange: #245cff;
  --line: rgba(32, 34, 31, 0.24);
  --line-soft: rgba(32, 34, 31, 0.14);
  --muted: #666762;
  --paper: #f3f0e8;
  --blue: #245cff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
}

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

button,
input,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  min-height: 88px;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(243, 240, 232, 0.96);
  padding: 0 clamp(24px, 5vw, 72px);
  backdrop-filter: blur(14px);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  width: 164px;
}

.logo-link img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 44px);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.site-nav a {
  border-bottom: 1px solid transparent;
  padding: 10px 0 8px;
  transition: color 180ms ease, border-color 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  border-color: var(--green);
  color: var(--green);
}

.hero {
  position: relative;
  overflow: hidden;
  background-color: #f3f0e8;
  background-image: linear-gradient(90deg, rgba(243, 240, 232, 0.95) 0%, rgba(243, 240, 232, 0.78) 36%, rgba(243, 240, 232, 0.08) 72%), url('/assets/images/powerbid-hero-editorial.png');
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid var(--line);
  padding: 0;
}

.hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(24px, 5vw, 72px);
  width: 1px;
  background: rgba(36, 92, 255, 0.22);
  content: "";
  pointer-events: none;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  min-height: 650px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.hero-copy {
  align-self: center;
  max-width: 760px;
  padding: clamp(96px, 12vw, 170px) clamp(40px, 7vw, 112px);
  color: var(--foreground);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  color: var(--green);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.eyebrow::before {
  width: 48px;
  height: 2px;
  background: var(--orange);
  content: "";
}

.hero-copy h1 {
  max-width: 720px;
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(42px, 4.8vw, 68px);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.22;
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.hero-button,
.primary-button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 174px;
  border: 1px solid var(--green-dark);
  border-radius: 0;
  background: var(--green-dark);
  padding: 15px 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.hero-button::after,
.primary-button::after,
.contact-form button::after {
  margin-left: 28px;
  color: var(--orange);
  content: "↗";
  font-family: Arial, sans-serif;
  font-size: 15px;
}

.hero-button {
  margin-top: 44px;
}

.hero-button:hover,
.primary-button:hover,
.contact-form button:hover {
  border-color: var(--green);
  background: var(--green);
}

.hero-visual {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: transparent;
  background-size: 64px 64px;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.23);
  content: "";
  pointer-events: none;
}

.hero-visual::before {
  top: -18%;
  right: -18%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
}

.hero-visual::after {
  right: 12%;
  bottom: 12%;
  left: 12%;
  height: 1px;
  border-width: 1px 0 0;
}

.energy-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(5, 54, 44, 0.52);
  color: #fff;
}

.energy-card.main {
  top: 17%;
  right: 12%;
  width: min(360px, 68%);
  min-height: 280px;
  padding: 34px;
}

.energy-card.main::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 9px;
  height: 9px;
  background: var(--orange);
  content: "";
}

.energy-card.main span {
  display: block;
  color: var(--orange);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.energy-card.main strong {
  display: block;
  max-width: 240px;
  margin-top: 86px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1.6;
}

.energy-card.sub {
  border-width: 0 0 1px;
  background: transparent;
  padding: 12px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sub-a {
  top: 12%;
  left: 12%;
}

.sub-b {
  right: 12%;
  bottom: 16%;
}

.news-section,
.news-page {
  padding: 96px clamp(24px, 5vw, 72px) 108px;
  background: var(--paper);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.section-inner.narrow {
  width: min(1160px, 100%);
}

.section-heading {
  margin-bottom: 10px;
  border-bottom: 1px solid var(--foreground);
  padding-bottom: 20px;
}

.section-heading h2,
.overview-band h2,
.contact-section h2,
.page-title h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.45;
}

.section-heading h2 {
  font-family: Arial, "Helvetica Neue", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: clamp(36px, 3.4vw, 48px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.news-list {
  border-top: 0;
}

.news-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 8px 28px;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 0;
  background: transparent;
  padding: 28px 0 30px;
}

.news-card time {
  grid-row: span 2;
  padding-top: 5px;
  color: var(--muted);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.news-card h3,
.news-card h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
}

.news-card p {
  max-width: 760px;
  margin: 8px 0 0;
  color: #31433f;
  font-size: 16px;
  line-height: 1.9;
}

.news-tail {
  white-space: nowrap;
}

.overview-band {
  border-top: 1px solid var(--line);
  background: #e5e2da;
  padding: 96px clamp(24px, 5vw, 72px) 102px;
}

.overview-band .section-inner {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 42px;
}

.overview-band h2 {
  font-size: 34px;
}

.overview-band p {
  max-width: 780px;
  margin: 0;
  font-size: 16px;
  line-height: 1.95;
}

.overview-band .primary-button {
  grid-column: 2;
  justify-self: start;
  margin-top: 12px;
}

.primary-button {
  background: var(--green-dark);
}

.contact-section {
  padding: 112px clamp(24px, 5vw, 72px) 124px;
  background: var(--paper);
}

.contact-section h2 {
  border-bottom: 1px solid var(--foreground);
  padding-bottom: 18px;
  font-size: 34px;
}

.contact-section.standalone {
  padding-top: 0;
}

.contact-form {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 30px 54px;
  margin-top: 48px;
}

.form-left {
  display: grid;
  align-content: start;
  gap: 28px;
}

.contact-form label span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-family: Arial, "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.contact-form b {
  color: #b54935;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--foreground);
  outline: none;
  padding: 13px 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
}

.contact-form input {
  height: 50px;
}

.contact-form textarea {
  min-height: 252px;
  resize: vertical;
  line-height: 1.8;
}

.submit-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

.contact-form button {
  min-width: 132px;
  cursor: pointer;
}

.page-title {
  width: min(1160px, calc(100% - clamp(48px, 10vw, 144px)));
  margin: 0 auto;
  border-bottom: 1px solid var(--foreground);
  padding: 92px 0 26px;
  text-align: left;
}

.interior-page {
  background: var(--background);
}

.page-title h1 {
  font-size: clamp(36px, 4vw, 54px);
}

.company-page {
  display: grid;
  width: min(1160px, calc(100% - clamp(48px, 10vw, 144px)));
  margin: 0 auto 112px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  border-bottom: 1px solid var(--foreground);
  background: transparent;
}

.company-text {
  padding: 60px 52px 66px 0;
  font-size: 16px;
  line-height: 1.85;
}

.company-list {
  margin: 0;
  border-top: 1px solid var(--foreground);
}

.company-list div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 20px;
  margin: 0;
  border-bottom: 1px solid var(--line-soft);
  padding: 18px 0;
}

.company-list dt {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
}

.company-list dt::before,
.top-message h2::before {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--green);
  content: "";
}

.company-list dd {
  margin: 0;
  font-weight: 600;
}

.top-message {
  margin-top: 56px;
}

.top-message h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--green);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.top-message p {
  margin: 0 0 16px;
}

.top-message .signature {
  margin-top: 44px;
  font-weight: 700;
}

.company-visual {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
}

.privacy-document {
  width: min(1160px, calc(100% - clamp(48px, 10vw, 144px)));
  margin: 0 auto 112px;
  border-bottom: 1px solid var(--foreground);
  background: transparent;
  padding: 58px 0 72px;
}

.privacy-document p {
  max-width: 900px;
  margin: 0;
  color: #31433f;
  font-size: 16px;
  line-height: 2;
  word-break: normal;
  overflow-wrap: anywhere;
}

.privacy-document .privacy-meta {
  color: var(--muted);
  font-size: 14px;
}

.privacy-document .privacy-heading {
  color: var(--foreground);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.7;
}

.privacy-document .privacy-subheading {
  color: var(--foreground);
  font-weight: 700;
}

.privacy-spacer {
  height: 24px;
}

.site-footer {
  margin-top: auto;
  background: #202522;
  color: #fff;
  padding: 64px clamp(24px, 5vw, 72px) 32px;
}

.footer-inner {
  display: grid;
  width: min(1160px, 100%);
  margin: 0 auto;
  grid-template-columns: 1fr auto;
  gap: 48px;
}

.footer-company {
  align-self: start;
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 22px;
  font-weight: 500;
}

.site-footer nav {
  display: grid;
  justify-items: end;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.site-footer a {
  transition: color 180ms ease;
}

.site-footer a:hover,
.site-footer a.is-active {
  color: var(--blue);
}

@media (max-width: 900px) {
  .site-header {
    min-height: 78px;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 13px 24px 14px;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 500px;
    padding: 76px 48px 80px;
  }

  .hero-visual {
    display: none;
  }

  .overview-band .section-inner,
  .company-page {
    grid-template-columns: 1fr;
  }

  .overview-band .primary-button {
    grid-column: 1;
  }

  .company-page,
  .privacy-document,
  .page-title {
    width: min(100% - 48px, 760px);
  }

  .company-text {
    padding: 44px 0 58px;
  }

  .company-visual {
    min-height: 360px;
  }

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

  .submit-row {
    grid-column: 1;
    justify-content: flex-start;
  }

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

  .site-footer nav {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  body {
    letter-spacing: 0.01em;
  }

  .site-header {
    padding-inline: 18px;
  }

  .logo-link {
    width: 142px;
  }

  .site-nav {
    gap: 18px;
    font-size: 13px;
  }

  .hero::before {
    left: 18px;
  }

  .hero-copy {
    min-height: 430px;
    padding: 62px 30px 66px;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

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

  .hero-visual {
    display: none;
  }

  .energy-card.main {
    top: 16%;
    right: 10%;
    width: 72%;
    min-height: 220px;
    padding: 25px;
  }

  .energy-card.main strong {
    margin-top: 56px;
    font-size: 20px;
  }

  .sub-a {
    top: 11%;
    left: 10%;
  }

  .sub-b {
    right: 10%;
    bottom: 13%;
  }

  .news-section,
  .news-page,
  .contact-section {
    padding: 78px 24px 86px;
  }

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

  .news-card {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 24px 0 26px;
  }

  .news-card time {
    grid-row: auto;
  }

  .news-card p {
    font-size: 15px;
  }

  .overview-band {
    padding: 76px 24px 84px;
  }

  .overview-band .section-inner {
    gap: 24px;
  }

  .overview-band h2,
  .contact-section h2 {
    font-size: 30px;
  }

  .overview-band p {
    font-size: 15px;
  }

  .page-title {
    width: calc(100% - 48px);
    padding: 68px 0 22px;
  }

  .page-title h1 {
    font-size: 36px;
  }

  .company-page,
  .privacy-document {
    width: calc(100% - 48px);
  }

  .company-page {
    margin-bottom: 80px;
  }

  .company-text {
    padding: 34px 0 44px;
    font-size: 15px;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 15px 0;
  }

  .company-visual {
    min-height: 260px;
  }

  .privacy-document {
    margin-bottom: 80px;
    padding: 38px 0 48px;
  }

  .privacy-document p {
    font-size: 15px;
    line-height: 1.95;
  }

  .privacy-document .privacy-meta {
    font-size: 14px;
  }

  .privacy-document .privacy-heading {
    font-size: 18px;
    line-height: 1.65;
  }

  .privacy-spacer {
    height: 19px;
  }

  .site-footer {
    padding: 48px 24px 28px;
  }

  .footer-company {
    font-size: 20px;
  }
}

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

  * {
    transition: none !important;
  }
}


.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  margin: 0 0 36px;
  border-left: 4px solid var(--green);
  background: #fff;
  padding: 18px 20px;
  font-size: 16px;
  line-height: 1.7;
}

.form-status.is-error {
  border-left-color: #b54935;
}


.service-page {
  width: min(1160px, calc(100% - clamp(48px, 10vw, 144px)));
  margin: 0 auto 112px;
  padding: 58px 0 0;
}

.service-lead {
  max-width: 860px;
  margin: 0 0 48px;
  color: #31433f;
  font-size: 16px;
  line-height: 1.95;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--foreground);
  border-left: 1px solid var(--line-soft);
}

.service-card {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
}

.service-card img {
  width: 100%;
  aspect-ratio: 440 / 270;
  height: auto;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.03);
}

.service-card-body {
  padding: 30px 30px 34px;
}

.service-card h2 {
  margin: 0 0 18px;
  color: #092b44;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.6;
}

.service-card p {
  margin: 0 0 14px;
  color: #31433f;
  font-size: 15px;
  line-height: 1.9;
}

.service-card p:last-child {
  margin-bottom: 0;
}

.service-teaser {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 96px clamp(24px, 5vw, 72px) 104px;
}

.service-teaser-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 28px 0 34px;
  border-top: 1px solid var(--foreground);
  border-left: 1px solid var(--line-soft);
}

.service-teaser-grid p {
  margin: 0;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 24px;
  color: var(--foreground);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .service-page {
    width: min(100% - 48px, 760px);
  }

  .service-grid,
  .service-teaser-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .service-page {
    width: calc(100% - 48px);
    margin-bottom: 80px;
    padding-top: 38px;
  }

  .service-lead {
    margin-bottom: 34px;
    font-size: 15px;
  }

  .service-card-body {
    padding: 24px 0 30px;
  }

  .service-card {
    border-right: 0;
  }

  .service-card h2 {
    font-size: 19px;
  }

  .service-card p,
  .service-teaser-grid p {
    font-size: 15px;
  }

  .service-teaser {
    padding: 76px 24px 84px;
  }
}
