:root {
  --orange: #f06a19;
  --orange-dark: #d84f08;
  --orange-pale: #fff3e9;
  --brown: #2f241e;
  --muted: #594e47;
  --line: #eadfd7;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(74, 47, 31, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--brown);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(47, 36, 30, 0.04);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: auto;
  height: 48px;
  display: block;
}

.brand-logo--text {
  height: 28px;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.86rem;
  font-weight: 700;
}

nav a {
  transition: color 0.2s ease;
}

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

.header-contact {
  padding: 9px 18px;
  border: 1px solid rgba(240, 106, 25, 0.4);
  border-radius: 999px;
  color: var(--orange-dark);
  white-space: nowrap;
}

.header-contact-short {
  display: none;
}

.hero {
  position: relative;
  min-height: min(760px, 100svh);
  display: flex;
  overflow: hidden;
  background: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 84px 0 0;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-media img {
  object-fit: cover;
  object-position: 72% top;
}

.hero-media::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 15%;
  display: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.18) 35%,
    var(--white) 100%
  );
  pointer-events: none;
}

@media (min-width: 1700px) {
  .hero-media {
    right: auto;
    left: 50%;
    width: min(2300px, 100%);
    transform: translateX(-50%);
    background: var(--white);
  }

  .hero-media::after {
    display: block;
  }
}

.hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.99) 0%,
    rgba(255, 255, 255, 0.96) 30%,
    rgba(255, 255, 255, 0.82) 38%,
    rgba(255, 255, 255, 0.38) 46%,
    rgba(255, 255, 255, 0.06) 54%,
    rgba(255, 255, 255, 0) 60%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: min(760px, 100svh);
  display: flex;
  align-items: center;
  padding-top: 112px;
  padding-bottom: 44px;
}

.hero-content {
  width: min(600px, 55%);
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--orange-dark);
  font-family: "Inter", sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 4.8vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.22;
  text-wrap: balance;
  word-break: auto-phrase;
}

.hero-brand {
  margin: -6px 0 18px;
  color: var(--brown);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-title-accent {
  color: var(--orange);
}

.hero-copy {
  max-width: 520px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 500;
  text-wrap: pretty;
}

.hero-actions {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-mobile-actions {
  display: none;
}

.button {
  min-height: 58px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 999px;
  font-size: 0.91rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--orange-dark);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(216, 79, 8, 0.25);
}

.button--primary:hover {
  background: #b83f05;
  box-shadow: 0 18px 38px rgba(184, 63, 5, 0.3);
}

.button--secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.button--secondary:hover {
  box-shadow: 0 12px 28px rgba(74, 47, 31, 0.08);
}

.section {
  padding: 120px 0;
}

.section--warm {
  background: #fffaf6;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.25;
  letter-spacing: -0.04em;
  text-wrap: balance;
  word-break: auto-phrase;
}

.section-heading p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  text-wrap: pretty;
}

.seminar {
  background: var(--white);
}

.seminar-panel {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.seminar-image {
  min-height: 490px;
}

.seminar-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.seminar-body {
  padding: clamp(38px, 6vw, 70px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.seminar-body h3 {
  margin: 20px 0 28px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
}

.seminar-description {
  margin: -10px 0 26px;
  color: var(--muted);
  font-size: 0.9rem;
}

.seminar-points {
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.seminar-points li {
  padding: 15px 2px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.seminar-points strong {
  color: var(--brown);
  font-size: 0.84rem;
}

.seminar-points span {
  color: var(--muted);
  font-size: 0.8rem;
}

.seminar-body .button {
  width: fit-content;
}

.seminar-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: right;
}

.service-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card-main {
  padding: clamp(34px, 6vw, 68px);
}

.service-badge {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--orange-pale);
  color: var(--orange-dark);
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin: 24px 0 10px;
  font-size: clamp(1.65rem, 3.2vw, 2.65rem);
  line-height: 1.45;
  letter-spacing: -0.035em;
  text-wrap: balance;
  word-break: auto-phrase;
}

.service-name {
  margin: 0 0 24px;
  color: var(--orange);
  font-size: 1.15rem;
  font-weight: 800;
}

.service-description {
  margin: 0;
  color: var(--muted);
  text-wrap: pretty;
}

.service-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.text-link {
  color: var(--orange-dark);
  font-size: 0.86rem;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.text-link--sub {
  color: var(--muted);
}

.service-card-visual {
  padding: clamp(36px, 6vw, 66px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 22px;
  align-content: center;
  background:
    radial-gradient(circle at 88% 12%, rgba(240, 106, 25, 0.36), transparent 34%),
    var(--brown);
  color: var(--white);
}

.service-card-visual span {
  align-self: center;
  color: var(--orange);
  font-family: "Inter", sans-serif;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card-visual strong {
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.company-grid {
  max-width: 880px;
}

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

.company-list > div {
  min-height: 88px;
  padding: 20px 4px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.company-list dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

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

.contact {
  padding: 90px 0;
  background: var(--orange);
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
}

.section-label--light {
  color: rgba(255, 255, 255, 0.72);
}

.contact h2 {
  margin-bottom: 18px;
}

.contact p {
  margin: 0;
}

.contact-actions {
  display: grid;
  gap: 22px;
}

.button--light {
  width: fit-content;
  min-width: 280px;
  background: var(--white);
  color: var(--orange-dark);
  box-shadow: 0 14px 28px rgba(123, 46, 0, 0.18);
}

.contact-actions > p {
  font-size: 0.78rem;
  font-weight: 600;
}

.contact-actions > p a {
  display: inline-block;
  margin: 3px 0;
  font-family: "Inter", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.contact-actions small {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 400;
}

footer {
  padding: 52px 0 38px;
  background: var(--brown);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr auto;
  gap: 36px;
  align-items: end;
}

.brand--footer {
  color: var(--white);
}

.footer-inner p {
  margin: 14px 0 0;
  font-size: 0.77rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.78rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-inner > small {
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  nav {
    gap: 20px;
  }

  .hero-content {
    width: min(540px, 56%);
  }

  .hero h1 {
    font-size: clamp(2.75rem, 5.3vw, 3.75rem);
  }

  .hero-copy {
    max-width: 490px;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.99) 0%,
      rgba(255, 255, 255, 0.95) 36%,
      rgba(255, 255, 255, 0.74) 48%,
      rgba(255, 255, 255, 0.18) 62%,
      rgba(255, 255, 255, 0) 72%
    );
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading p {
    max-width: 720px;
  }
}

@media (max-width: 800px) {
  .container {
    width: min(100% - 36px, 680px);
  }

  .header-inner {
    min-height: 70px;
    gap: 16px;
  }

  .brand {
    font-size: 0.87rem;
  }

  .brand-logo {
    height: 34px;
  }

  .brand-logo--text {
    height: 24px;
  }

  nav a:not(.header-contact) {
    display: none;
  }

  .header-contact {
    padding: 7px 13px;
    font-size: 0.76rem;
  }

  .hero-media,
  .hero-overlay {
    inset: 70px 0 0;
  }

  .hero {
    min-height: 780px;
  }

  .hero-inner {
    min-height: 780px;
    padding-top: 132px;
    padding-bottom: 78px;
  }

  .hero-content {
    width: 100%;
    max-width: 590px;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.9) 48%,
      rgba(255, 255, 255, 0.62) 72%,
      rgba(255, 255, 255, 0.18) 100%
    );
  }

  .hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.8rem);
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.9);
  }

  .hero-copy {
    font-size: 0.95rem;
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.95);
  }

  .section {
    padding: 84px 0;
  }

  .section-heading,
  .seminar-panel,
  .service-card,
  .company-grid,
  .contact-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 18px;
    margin-bottom: 36px;
  }

  .seminar-image {
    min-height: 340px;
  }

  .seminar-note {
    text-align: left;
  }

  .service-card-visual {
    min-height: 290px;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 3px;
    text-align: center;
  }

  .service-card-visual span,
  .service-card-visual strong {
    white-space: nowrap;
  }

  .service-card-visual strong:not(:last-child) {
    margin-bottom: 14px;
  }

  .company-list > div {
    min-height: 0;
    grid-template-columns: 100px 1fr;
    padding: 24px 4px;
  }

  .contact {
    padding: 72px 0;
  }

  .contact-inner {
    gap: 38px;
  }

  .footer-inner {
    align-items: start;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 30px);
  }

  .brand > span:last-child {
    max-width: 118px;
    line-height: 1.35;
  }

  .brand-logo {
    height: 30px;
  }

  .brand-logo--text {
    height: 22px;
  }

  .header-contact {
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .hero {
    min-height: 760px;
  }

  .hero-inner {
    min-height: 760px;
    padding-top: 116px;
    padding-bottom: 54px;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.82) 56%,
      rgba(255, 255, 255, 0.3) 100%
    );
  }

  .hero h1 {
    font-size: clamp(2.1rem, 9.8vw, 2.45rem);
    letter-spacing: -0.06em;
  }

  .hero-copy-break {
    display: none;
  }

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

  .service-card {
    border-radius: 20px;
  }

  .service-card-main {
    padding: 34px 24px;
  }

  .seminar-image {
    min-height: 270px;
  }

  .seminar-body {
    padding: 32px 22px;
  }

  .seminar-body .button {
    width: 100%;
  }

  .seminar-points li {
    grid-template-columns: 1fr;
    gap: 3px;
  }

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

  .button--light {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 0;
    padding-top: 70px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: clamp(560px, 155vw, 640px) auto;
    background: var(--white);
  }

  .hero-media {
    position: relative;
    inset: auto;
    grid-row: 1;
    grid-column: 1;
    height: 100%;
    overflow: hidden;
    background: #fffaf6;
  }

  .hero-media img {
    object-position: 72% center;
  }

  .hero-overlay {
    position: relative;
    inset: auto;
    z-index: 1;
    grid-row: 1;
    grid-column: 1;
    display: block;
    background:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.94) 0%,
        rgba(255, 255, 255, 0.74) 36%,
        rgba(255, 255, 255, 0.16) 60%,
        rgba(255, 255, 255, 0) 78%
      ),
      linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0) 30%
      );
  }

  .hero-inner {
    grid-row: 1;
    grid-column: 1;
    min-height: 0;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 38px;
  }

  .hero-content {
    max-width: none;
  }

  .hero .eyebrow {
    max-width: 46vw;
    font-size: 0.66rem;
    line-height: 1.55;
    letter-spacing: 0.16em;
    text-wrap: balance;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 9vw, 2.3rem);
    line-height: 1.2;
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.92);
  }

  .hero-copy {
    max-width: none;
    margin-top: 18px;
    font-size: 0.9rem;
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.96);
  }

  .hero-actions--desktop {
    display: none;
  }

  .hero-mobile-actions {
    grid-row: 2;
    display: block;
    padding: 26px 0 36px;
    border-top: 1px solid var(--line);
    background: var(--white);
  }

  .hero-mobile-actions .container {
    display: grid;
    gap: 12px;
  }

  .hero-mobile-actions .button {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .header-contact-long {
    display: none;
  }

  .header-contact-short {
    display: inline;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
