:root {
  --ink: #181a1e;
  --muted: #6f747b;
  --line: #e8e8e8;
  --paper: #f7f7f5;
  --accent: #ef4e73;
  --dark: #858585;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 20px clamp(22px, 6vw, 86px);
  background: rgb(255 255 255 / 92%);
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 16px;
  font-style: italic;
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 13px; letter-spacing: .08em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 9px; letter-spacing: .3em; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 11px; }
.site-nav a { padding-block: 8px; transition: opacity .2s ease; }
.site-nav a:hover { opacity: .55; }
.site-nav a[aria-current="page"] { border-bottom: 1px solid var(--accent); }
.site-nav .nav-cta {
  padding: 11px 19px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  min-height: 680px;
  overflow: hidden;
  padding: 80px clamp(24px, 8vw, 130px) 100px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow, .section-label {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 26px 0 25px;
  font-size: clamp(44px, 4.6vw, 74px);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: 1.18;
}
.line-keep { white-space: nowrap; }
.gradient-text {
  color: transparent;
  background: linear-gradient(100deg, #ef4978 8%, #ff9564 45%, #16aee7 82%);
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-lead { margin: 0; color: #686c72; font-size: 15px; line-height: 2; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 38px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 0 25px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgb(0 0 0 / 12%); }
.button-dark { background: var(--ink); color: #fff; }
.text-link { display: inline-flex; gap: 10px; border-bottom: 1px solid #ccc; padding-bottom: 5px; font-size: 12px; font-weight: 700; }
.text-link span { color: var(--accent); }
.hero-art { position: relative; height: 540px; }
.hero-art::before {
  position: absolute;
  z-index: 2;
  right: 8%;
  top: 4%;
  width: 74%;
  aspect-ratio: 1;
  border: 1px solid rgb(239 78 115 / 16%);
  border-radius: 50%;
  content: "";
}
.hero-art::after {
  position: absolute;
  z-index: 3;
  left: 12%;
  bottom: 13%;
  width: 13px;
  height: 13px;
  border: 7px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4e73, #18afe4);
  box-shadow: 0 8px 24px rgb(32 155 205 / 30%);
  content: "";
}
.hero-visual {
  position: absolute;
  z-index: 1;
  inset: -4% -14% -8% -7%;
  width: 121%;
  height: 112%;
  object-fit: cover;
  object-position: 61% center;
  filter: saturate(1.08) contrast(1.02);
  mask-image: radial-gradient(ellipse 72% 66% at 55% 54%, #000 58%, transparent 88%);
  -webkit-mask-image: radial-gradient(ellipse 72% 66% at 55% 54%, #000 58%, transparent 88%);
}
.ribbon {
  position: absolute;
  z-index: 4;
  width: 34px;
  border-radius: 3px;
  transform: rotate(29deg);
  box-shadow: 0 25px 50px rgb(226 65 133 / 18%);
}
.ribbon-one { top: 18px; left: 8%; height: 108px; opacity: .88; background: linear-gradient(#ff4f5f, #ffcf35 42%, #19b9df 72%, #b947cf); }
.ribbon-two { right: 2%; bottom: 26px; height: 205px; opacity: .82; background: linear-gradient(#ef4d8f, #f185db 24%, #20b9e0 52%, #ffd63f 80%, #ff695a); }
.hero-glow { position: absolute; z-index: 2; left: 36%; top: 29%; width: 250px; height: 250px; border-radius: 50%; background: radial-gradient(circle, #ffd44c, #ff5b86 48%, #2ab8e3 76%, transparent 77%); filter: blur(42px); opacity: .12; }

.section { padding: 105px clamp(24px, 8vw, 130px); }
.section-paper { background: var(--paper); }
.section-dark { background: var(--dark); color: #fff; }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-title { margin: 24px 0 24px; font-size: clamp(36px, 5vw, 66px); font-weight: 500; letter-spacing: -.05em; line-height: 1.25; }
.section-lead { max-width: 720px; margin: 0; color: var(--muted); font-size: 14px; line-height: 2.05; }
.section-dark .section-lead { color: rgb(255 255 255 / 70%); }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 55px; }
.card {
  min-height: 245px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: #fff;
}
.card-no { color: var(--accent); font-size: 10px; letter-spacing: .16em; }
.card h2, .card h3 { margin: 62px 0 14px; font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -.04em; }
.card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.tone-ai { color: #fff; background: linear-gradient(145deg, #18223b, #6c5cab 58%, #fb637d); border: 0; }
.tone-web { color: #fff; background: linear-gradient(145deg, #153d49, #239ab3 56%, #f2b36a); border: 0; }
.tone-growth { color: #fff; background: linear-gradient(145deg, #422128, #aa4c56 56%, #eaa061); border: 0; }
.tone-ai p, .tone-web p, .tone-growth p { color: rgb(255 255 255 / 76%); }

.image-card {
  position: relative;
  overflow: hidden;
  border: 0;
  color: #fff;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}
.image-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(135deg, rgb(10 13 20 / 88%), rgb(10 13 20 / 28%));
  content: "";
}
.image-card p { color: rgb(255 255 255 / 80%); }
.image-ai { background-image: url("images/ai-support.jpg"); }
.image-web { background-image: url("images/web-system.jpg"); }
.image-growth { background-image: url("images/growth-support.jpg"); }

.feature-banner {
  margin: 0 0 70px;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 7;
  background: #ececea;
}
.feature-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }

.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(45px, 9vw, 130px); align-items: start; }
.split-copy h2 { margin: 0 0 28px; font-size: clamp(32px, 3.6vw, 50px); font-weight: 500; letter-spacing: -.05em; line-height: 1.5; }
.split .section-title { font-size: clamp(32px, 3.2vw, 44px); line-height: 1.45; }
.split-copy p, .prose p { color: #5f646a; font-size: 14px; line-height: 2.1; }
.ghost-s { color: transparent; font-family: Arial, sans-serif; font-size: clamp(230px, 34vw, 500px); font-weight: 700; line-height: .75; -webkit-text-stroke: 2px #fff; }

.service-list { margin-top: 55px; border-top: 1px solid rgb(255 255 255 / 25%); }
.service-item { display: grid; grid-template-columns: 58px .7fr 1.3fr 32px; align-items: center; gap: 20px; min-height: 92px; border-bottom: 1px solid rgb(255 255 255 / 25%); transition: background-color .2s ease, padding .2s ease; }
.service-item:hover, .service-item:focus-visible { padding-inline: 14px; background: rgb(255 255 255 / 8%); outline: none; }
.service-item .num { color: rgb(255 255 255 / 42%); font-size: 10px; }
.service-item h3, .service-item p { margin: 0; }
.service-item h3 { font-size: 16px; font-weight: 500; }
.service-item p { color: rgb(255 255 255 / 70%); font-size: 12px; line-height: 1.7; }
.service-item .arrow { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e94468; transition: transform .2s ease; }
.service-item:hover .arrow, .service-item:focus-visible .arrow { transform: translateX(4px); }

.company-table { margin: 42px 0 0; border-top: 1px solid var(--line); }
.company-table > div { display: grid; grid-template-columns: 170px 1fr; gap: 25px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.company-table dt { color: var(--muted); font-size: 11px; }
.company-table dd { margin: 0; font-size: 13px; line-height: 1.8; }

.contact-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--radius);
  padding: clamp(38px, 6vw, 78px);
  background: linear-gradient(115deg, #f493d5, #ff6676 36%, #ffad58 68%, #ffe15c);
}
.contact-panel::after { position: absolute; right: 8%; top: -80%; width: 280px; height: 650px; background: linear-gradient(rgb(35 188 225 / 75%), transparent); transform: rotate(35deg); filter: blur(20px); content: ""; }
.contact-panel > * { position: relative; z-index: 1; }
.contact-panel h2 { margin: 18px 0 0; color: #fff; font-size: clamp(25px, 3.2vw, 42px); line-height: 1.55; }
.contact-panel .eyebrow { color: #fff; }

.page-hero {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  padding: 90px clamp(24px, 8vw, 130px) 100px;
  background: var(--paper);
}
.page-hero::after { position: absolute; right: 12%; top: -70px; width: 42px; height: 340px; border-radius: 3px; background: linear-gradient(#ef4d8f, #27b7dd 55%, #ffd652); transform: rotate(28deg); content: ""; opacity: .82; }
.page-hero h1 { position: relative; z-index: 1; margin: 25px 0 18px; font-size: clamp(48px, 7vw, 86px); font-weight: 500; letter-spacing: -.06em; }
.page-hero p { position: relative; z-index: 1; max-width: 700px; color: var(--muted); font-size: 14px; line-height: 2; }

.value-grid, .process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.value, .process-step { border-top: 1px solid var(--ink); padding-top: 20px; }
.value b, .process-step b { color: var(--accent); font-size: 11px; }
.value h3, .process-step h3 { margin: 25px 0 12px; font-size: 21px; }
.value p, .process-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.service-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 55px; }
.service-detail { border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; scroll-margin-top: 24px; }
.service-image { width: calc(100% + 76px); height: 230px; margin: -38px -38px 34px; border-radius: var(--radius) var(--radius) 0 0; object-fit: cover; display: block; }
.service-detail small { color: var(--accent); letter-spacing: .15em; }
.service-detail h2 { margin: 26px 0 18px; font-size: 28px; }
.service-detail p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.service-detail ul { margin: 22px 0 0; padding-left: 1.2em; font-size: 13px; line-height: 2; }
.notice { margin-top: 35px; padding: 22px 25px; border-left: 3px solid var(--accent); background: var(--paper); color: var(--muted); font-size: 13px; line-height: 1.8; }
.privacy h2 { margin: 52px 0 16px; font-size: 21px; }
.privacy p, .privacy li { color: #5f646a; font-size: 13px; line-height: 2; }

.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; padding: 55px clamp(24px, 8vw, 130px); color: var(--muted); font-size: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.copyright { margin: 0; }

@media (max-width: 900px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 18px; }
  .site-nav { width: 100%; overflow-x: auto; gap: 20px; white-space: nowrap; }
  .hero { grid-template-columns: 1fr; min-height: 620px; padding-top: 65px; }
  .hero-art { position: absolute; right: -8%; top: 100px; width: 55%; opacity: .45; }
  .card-grid, .value-grid, .process-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .ghost-s { display: none; }
  .service-item { grid-template-columns: 42px 1fr 30px; padding: 20px 0; }
  .service-item p { grid-column: 2; }
  .service-item .arrow { grid-column: 3; grid-row: 1 / span 2; }
  .contact-panel { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .site-header { padding: 18px 20px; }
  .site-nav .nav-cta { padding: 9px 14px; }
  .hero { padding-inline: 22px; }
  .hero h1 { font-size: clamp(38px, 12vw, 46px); }
  .hero-art { right: -34%; top: 135px; width: 100%; opacity: .3; }
  .line-keep { white-space: normal; }
  .hero .line-keep { white-space: nowrap; }
  .split .section-title { font-size: 30px; }
  .hero-lead br { display: none; }
  .section { padding: 80px 22px; }
  .card-grid, .service-detail-grid { grid-template-columns: 1fr; }
  .feature-banner { aspect-ratio: 4 / 3; }
  .company-table > div { grid-template-columns: 1fr; gap: 9px; }
  .page-hero { padding: 70px 22px 80px; }
  .page-hero::after { right: -8%; opacity: .35; }
  .site-footer { grid-template-columns: 1fr; padding: 45px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
