﻿@charset "UTF-8";

:root {
  --black: #111111;
  --white: #ffffff;
  --gray: #eeeeee;
  --gray-strong: #d9d9d9;
  --text: #111111;
  --muted: #555555;
  --header-height: 72px;
  --container: 1200px;
}

* { box-sizing: border-box; }

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

button, input, textarea, select { font: inherit; }

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p { margin: 0; }

button {
  cursor: pointer;
  background: none;
  border: 0;
}

main {
  padding-top: var(--header-height);
  overflow: hidden;
}

section {
  scroll-margin-top: 82px;
}

.section-white { background: #fff; }
.section-gray { background: #f5f5f5; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(17, 17, 17, 0.96);
  backdrop-filter: blur(8px);
  z-index: 1000;
}

.site-header-inner {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}

.global-nav a { transition: opacity 0.2s ease; }
.global-nav a:hover { opacity: 0.7; }

.nav-toggle {
  display: none;
  width: 30px;
  height: 22px;
  position: relative;
  z-index: 1002;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  background: url("../images/hero.webp") center/cover no-repeat;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.42);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  min-height: 720px;
  margin: 0 auto;
  padding: 120px 20px 90px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 42px;
}

.hero-copy {
  max-width: 720px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.eyebrow {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero h1 {
  font-size: clamp(36px, 4vw, 68px);
  line-height: 1.1;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.5;
  margin-bottom: 22px;
  font-weight: 700;
}

.hero-text {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.8;
  font-weight: 700;
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.black-button, .white-button, .ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  min-width: 220px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.black-button:hover, .white-button:hover, .ghost-button:hover {
  transform: translateY(-2px);
  opacity: 0.86;
}

.black-button {
  background: #111;
  color: #fff;
}

.white-button {
  background: #fff;
  color: #111;
}

.ghost-button {
  background: transparent;
  color: #111;
  border: 1px solid #111;
}

.menu-section {
  background: #000;
  color: #fff;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 20px;
}

.menu-box {
  width: fit-content;
  min-width: 180px;
  max-width: 100%;
  margin: 0 auto;
  padding-left: 0;
}

.menu-box h2 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.2;
}

.menu-icon {
  margin-right: 0;
  font-size: 18px;
  line-height: 1;
}

.menu-box ol {
  list-style: none;
  counter-reset: menu;
  padding-left: 0;
  width: 100%;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.85;
}

.menu-box li {
  counter-increment: menu;
  display: grid;
  grid-template-columns: 1.4em 1fr;
  column-gap: 0.5em;
  padding: 0;
}

.menu-box li::before {
  content: counter(menu);
}

.menu-box a {
  color: #fff;
}

.problem, .service, .reason, .case, .voice, .profile, .news, .faq, .entry, .company {
  padding: 96px 20px 0;
}

.section-heading {
  max-width: var(--container);
  margin: 0 auto 32px;
  text-align: center;
}

.section-en {
  font-size: clamp(54px, 7vw, 106px);
  line-height: 0.8;
  color: #cfcfcf;
  letter-spacing: 0.06em;
}

.section-heading h2 {
  font-size: clamp(26px, 2.4vw, 42px);
  line-height: 1.3;
  margin-top: 8px;
}

.section-lead {
  text-align: center;
  font-size: 18px;
  line-height: 1.9;
}

.problem-list,
.voice-list,
.news-list,
.entry-box,
.profile-panel,
.faq-list,
.privacy-box {
  max-width: var(--container);
  margin: 0 auto;
}

#problem,
#service,
#reason,
#case,
#voice,
#profile,
#news,
#faq,
#entry,
#company {
  position: relative;
  isolation: isolate;
  background: #fff;
  overflow: hidden;
}

#problem > *,
#service > *,
#reason > *,
#case > *,
#voice > *,
#profile > *,
#news > *,
#faq > *,
#entry > *,
#company > * {
  position: relative;
  z-index: 1;
}

.stagger-bg {
  display: none !important;
}

#problem::before,
#service::before,
#reason::before,
#case::before,
#voice::before,
#profile::before,
#news::before,
#faq::before,
#entry::before,
#company::before {
  content: "";
  position: absolute;
  z-index: 0;
  background: var(--gray);
  pointer-events: none;
}

#problem::before,
#reason::before,
#voice::before,
#news::before,
#entry::before {
  right: 0;
  left: auto;
}

#service::before,
#case::before,
#profile::before,
#faq::before,
#company::before {
  left: 0;
  right: auto;
}

#problem::before,
#service::before,
#reason::before,
#case::before,
#voice::before,
#news::before,
#faq::before,
#entry::before,
#company::before {
  top: 285px;
  bottom: 72px;
  width: 58%;
}

#profile::before {
  top: 290px;
  bottom: auto;
  width: 58%;
  height: 1300px;
}

.shg-motion::before {
  transform: scaleX(0);
  transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.2s;
  will-change: transform;
}

.shg-motion-left::before {
  transform-origin: left center;
}

.shg-motion-right::before {
  transform-origin: right center;
}

.shg-motion.is-active::before {
  transform: scaleX(1);
}

.stagger-wrap {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  min-height: 0;
  padding: 64px 0 92px;
}

.stagger-wrap > *:not(.stagger-bg) {
  position: relative;
  z-index: 1;
}

.problem-list {
  max-width: none;
  margin-bottom: 32px;
}

.problem-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
}

.problem-list li {
  padding: 19px 22px;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
}

.problem-list li:nth-child(1) { transition-delay: 0s; }
.problem-list li:nth-child(2) { transition-delay: 0.08s; }
.problem-list li:nth-child(3) { transition-delay: 0.16s; }
.problem-list li:nth-child(4) { transition-delay: 0.24s; }
.problem-list li:nth-child(5) { transition-delay: 0.32s; }
.problem-list li:nth-child(6) { transition-delay: 0.40s; }

.problem-footer {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.problem-footer.js-fadein {
  transition-delay: 0.52s;
}

.problem-arrow {
  font-size: 36px;
  margin-bottom: 12px;
}

.problem-footer h3 {
  font-size: clamp(26px, 2vw, 34px);
  margin-bottom: 14px;
}

.problem-footer p:not(.problem-arrow) {
  font-size: 18px;
  line-height: 1.8;
  margin-top: 12px;
  text-align: left;
}

.three-wrap,
.service-wrap,
.reason-wrap,
.case-wrap {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px 30px;
  align-items: start;
}

.stagger-card {
  padding: 22px 0 26px;
}

.stagger-card .num {
  font-size: 52px;
  line-height: 0.9;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.stagger-card .num span {
  font-size: 16px;
  margin-right: 10px;
  vertical-align: middle;
}

.card-image {
  display: block;
  overflow: hidden;
  margin-bottom: 18px;
  aspect-ratio: 4 / 3;
  background: #f1f1f1;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stagger-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.4;
}

.stagger-card p:not(.num) {
  font-size: 17px;
  line-height: 1.8;
}

.stagger-card p + p,
.stagger-card p + .text-list,
.stagger-card .text-list + p {
  margin-top: 14px;
}

.text-list {
  display: grid;
  gap: 8px;
  list-style: none;
  font-size: 17px;
  line-height: 1.75;
}

.text-list li {
  position: relative;
  padding-left: 1.1em;
}

.text-list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

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

.voice-list article {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 26px 24px;
}

.voice-title {
  font-size: 20px;
  line-height: 1.6;
  font-weight: 700;
  margin-bottom: 14px;
}

.voice-list article p:last-child {
  font-size: 15px;
  color: var(--muted);
}

.profile-panel {
  display: grid;
  grid-template-columns: minmax(320px, 400px) 1fr;
  gap: 52px;
  align-items: start;
  padding: 0 0 20px;
}

.profile-photo {
  background: #f1f1f1;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-width: 400px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-text {
  display: grid;
  gap: 20px;
  font-size: 18px;
  line-height: 1.9;
}

.profile-name {
  font-size: 30px;
  font-weight: 700;
}

.profile-role {
  color: var(--muted);
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-vision,
.profile-career {
  background: #f7f7f7;
  border-left: 4px solid #111;
  padding: 22px;
}

.profile-text h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.profile-career { margin-top: 4px; }

.profile-career p {
  font-weight: 700;
  margin-bottom: 10px;
}

.profile-career ul {
  list-style: disc;
  padding-left: 20px;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-top: 56px;
}

.news-list article {
  background: #f8f8f8;
  border-radius: 18px;
  border: 1px solid #ececec;
  padding: 22px 18px;
}

.news-list span {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #555;
  margin-bottom: 10px;
}

.news-list h3 {
  font-size: 18px;
  line-height: 1.7;
}

.news-follow {
  max-width: var(--container);
  margin: 28px auto 0;
  text-align: center;
  padding-bottom: 10px;
}

.news-content {
  display: grid;
  gap: 16px;
  font-size: 18px;
  line-height: 1.9;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  padding: 34px;
}

.news-placeholder {
  margin-top: 10px;
  padding: 36px 24px;
  background: #fff;
  border: 1px dashed #c8c8c8;
  border-radius: 8px;
}

.news-placeholder h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.news-placeholder p {
  color: var(--muted);
}

.faq-list {
  max-width: 980px;
}

.faq-list details {
  margin-bottom: 20px;
  border: 1px solid #d9d9d9;
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 22px 64px 22px 24px;
  position: relative;
  font-size: 19px;
  font-weight: 700;
  background: #efefef;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 34px;
  line-height: 1;
}

.faq-list details[open] summary::after { content: "×"; }

.faq-list summary span,
.answer span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 15px;
  margin-right: 12px;
}

.answer {
  display: flex;
  gap: 12px;
  padding: 24px 24px 28px;
  line-height: 1.9;
  font-size: 18px;
  background: #fff;
}

.answer p { flex: 1; }

.faq-hidden { display: none; }
.faq-list.is-expanded .faq-hidden { display: block; }

.faq-more {
  display: flex;
  margin: 0 auto;
  min-width: 240px;
}

.entry {
  padding-bottom: 100px;
}

.entry-box {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  padding: 44px 34px;
  text-align: center;
  max-width: 980px;
}

.entry-box p {
  font-size: 19px;
  line-height: 1.9;
  margin-bottom: 24px;
}

.entry-box > p,
.entry-meta {
  text-align: left;
}

.entry-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.entry-info {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.entry-seminars {
  display: grid;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid #e2e2e2;
}

.company-wrap {
  max-width: var(--container);
  margin: 0 auto 80px;
  padding-top: 64px;
  padding-bottom: 92px;
}

.company-table {
  width: min(900px, 100%);
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 18px;
}

.company-table th, .company-table td {
  border-bottom: 1px solid #d9d9d9;
  text-align: left;
  padding: 18px 18px;
}

.company-table th {
  width: 190px;
  font-weight: 700;
}

.footer {
  background: #000;
  color: #fff;
  padding: 82px 20px 78px;
}

.footer nav {
  width: 210px;
  margin: 0 auto 45px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  text-align: left;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
}

.footer p {
  width: 210px;
  margin: 0 auto;
  font-size: 14px;
  text-align: left;
}

.fixed-contact {
  position: fixed;
  right: 48px;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  align-items: center;
  justify-content: center;
  width: min(520px, calc(100% - 48px));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1001;
}

.fixed-contact a {
  height: 48px;
  min-height: 48px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.35;
  box-shadow: 0 -8px 20px rgba(0,0,0,0.14);
}

.fixed-contact a:first-child {
  background: #111;
  color: #fff;
}

.fixed-contact a:last-child {
  background: #fff;
  color: #111;
  border: 1px solid #111;
}

.fixed-contact.is-show {
  opacity: 1;
  pointer-events: auto;
}

.page-top {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: rgba(17,17,17,0.9);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1001;
}

.page-top.is-show {
  opacity: 1;
  pointer-events: auto;
}

.js-fadein {
  opacity: 0;
  transition: opacity 0.85s ease, transform 0.85s ease, filter 0.85s ease;
}

.js-fadein.is-active {
  opacity: 1;
  transform: none;
  filter: none;
}

.u-fadein { transform: translateY(24px); }
.u-fadeinUp { transform: translateY(42px); }
.u-fadeinLeft { transform: translateX(-36px); }
.u-fadeinRight { transform: translateX(36px); }
.u-blurin { filter: blur(10px); transform: scale(1.02); }

.privacy-main {
  padding-top: 112px;
}

.privacy-section {
  padding-bottom: 100px;
}

.privacy-box {
  background: #f7f7f7;
  border: 1px solid #ececec;
  border-radius: 18px;
  padding: 32px 28px;
  display: grid;
  gap: 18px;
  font-size: 16px;
  line-height: 1.9;
}

@media screen and (max-width: 1024px) {
  .global-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    width: min(80vw, 340px);
    height: calc(100vh - var(--header-height));
    background: rgba(0,0,0,0.96);
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    transform: translateX(100%);
    transition: transform 0.28s ease;
  }

  .global-nav.is-open { transform: translateX(0); }
  .nav-toggle { display: block; }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .problem-list ul,
  .voice-list,
  .news-list,
  .three-wrap,
  .service-wrap,
  .reason-wrap,
  .case-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-panel { grid-template-columns: 1fr; }
}

@media screen and (max-width: 640px) {
  .site-header-inner { padding: 0 16px; }

  .hero-inner {
    min-height: 620px;
    padding: 90px 16px 70px;
  }

  .hero-copy { max-width: 100%; }

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

  .hero-lead {
    font-size: 19px;
  }

  .hero-text {
    font-size: 16px;
  }

  .menu-section {
    padding: 64px 20px;
  }

  .problem, .service, .reason, .case, .voice, .profile, .news, .faq, .entry, .company {
    padding: 72px 16px 0;
  }

  .section-en {
    font-size: 48px;
  }

  #problem::before,
  #service::before,
  #reason::before,
  #case::before,
  #voice::before,
  #profile::before,
  #news::before,
  #faq::before,
  #entry::before,
  #company::before {
    width: 75%;
    top: 170px;
    bottom: 10px;
  }

  #profile::before {
    top: 290px;
    width: 58%;
    height: 1300px;
    bottom: auto;
  }

  .stagger-wrap {
    padding: 34px 18px 38px;
  }

  .hero-actions,
  .entry-actions {
    flex-direction: column;
  }

  .black-button, .white-button, .ghost-button {
    min-width: 0;
    width: 100%;
  }

  .problem-list ul,
  .voice-list,
  .news-list,
  .three-wrap,
  .service-wrap,
  .reason-wrap,
  .case-wrap {
    grid-template-columns: 1fr;
  }

  .problem-list li,
  .problem-footer p:not(.problem-arrow),
  .section-lead,
  .stagger-card p:not(.num),
  .text-list,
  .profile-text,
  .news-content,
  .answer,
  .company-table,
  .entry-box p {
    font-size: 16px;
  }

  .three-wrap,
  .service-wrap,
  .reason-wrap,
  .case-wrap,
  .voice-list,
  .faq-list {
    padding-top: 0;
  }

  .voice-list article {
    padding: 20px 18px;
  }

  .stagger-card .num {
    font-size: 44px;
  }

  .profile-panel {
    gap: 24px;
    margin-top: 28px;
  }

  .profile-photo {
    width: min(320px, 100%);
    margin: 0 auto;
  }

  .profile-vision,
  .profile-career {
    padding: 18px;
  }

  .faq-list summary {
    padding: 18px 54px 18px 18px;
    font-size: 17px;
  }

  .answer {
    padding: 20px 18px 22px;
  }

  .company-table th { width: 120px; }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 12px 14px;
  }

  .company-table th {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .company-table td {
    padding-top: 4px;
    word-break: break-word;
  }

  .footer nav {
    font-size: 16px;
    margin-bottom: 36px;
  }

  .page-top {
    right: 0;
    bottom: 0;
  }

  .fixed-contact {
    right: 48px;
    left: 0;
    bottom: 0;
    width: calc(100% - 48px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fixed-contact a {
    width: 100%;
    min-height: 48px;
    font-size: 12px;
  }
}
