/* ============ Reset & Base ============ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* ページ内リンクで飛んだとき、固定ヘッダーに隠れないよう余白を確保 */
[id] { scroll-margin-top: 110px; }
/* アイコン円は画面の真ん中あたりに着地させる */
.service-circle[id] { scroll-margin-top: 280px; }
body {
  font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: #0a0a0a;
  background: #fafafa;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============ Variables ============ */
:root {
  --bg: #fafafa;
  --bg-dark: #0a0a0a;
  --bg-darkfill: #2a2724;
  --bg-section: #f4f4f3;
  --text: #0a0a0a;
  --text-sub: #555;
  --text-mute: #999;
  --accent: #F5A537;
  --accent-dark: #E08A1E;
  --line: rgba(0,0,0,.08);
  --line-dark: rgba(255,255,255,.12);
  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 80px);
}

/* ============ Typography ============ */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-block;
}
.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.section-lead {
  font-size: 16px;
  color: var(--text-sub);
  max-width: 600px;
  margin-bottom: 64px;
}

/* ============ Container ============ */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* ============ Header ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: all .3s ease;
}
.header.scrolled {
  background: rgba(250,250,250,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--line);
}
/* ヒーロー上では白文字、スクロール後は黒文字 */
.header .nav-list a { color: #fff; }
.header.scrolled .nav-list a { color: var(--text); }
.header .nav-cta {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
  padding: 8.5px 22px;
}
.header .nav-cta:hover { background: #fff; color: var(--accent-dark); }
.header.scrolled .nav-cta {
  background: transparent;
  color: var(--bg-dark);
  border-color: var(--bg-dark);
}
.header.scrolled .nav-cta:hover { background: var(--bg-dark); color: #fff; }
.logo {
  display: inline-flex;
  align-items: center;
  height: 44px;
}
.logo img {
  height: 100%;
  width: auto;
  display: block;
  transition: filter .3s;
}
/* スクロール後の白ヘッダーでは黒に */
.header.scrolled .logo img {
  filter: invert(1);
}
.nav-list {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-list a {
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
  position: relative;
}
.nav-list a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .3s;
}
.nav-list a:hover { color: var(--accent); }
.nav-list a:hover::after { width: 100%; }
.nav-cta {
  background: var(--bg-dark);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }
.menu-toggle { display: none; }

/* ============ Hero ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px var(--pad) 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #FCC76D 0%, #F5A537 55%, #ED8A12 100%);
}
.hero-logo-bg {
  position: absolute;
  left: clamp(20px, 4vw, 60px); top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 720px;
  z-index: 1;
  pointer-events: none;
  animation: heroLogoIn 1.6s cubic-bezier(.16,1,.3,1) backwards;
}
.hero-logo-bg img {
  width: 100%;
  height: auto;
  display: block;
  /* unity-logo-white.png は白なので、そのまま使う */
  filter: drop-shadow(0 12px 30px rgba(0,0,0,.12));
}
@keyframes heroLogoIn {
  from { opacity: 0; transform: translate(-20px, -50%) rotate(-2deg); }
  to { opacity: 1; transform: translate(0, -50%) rotate(0); }
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,255,255,.25), transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -30%; left: 40%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,.15), transparent 70%);
  border-radius: 50%;
  animation: float 25s ease-in-out infinite reverse;
}
@keyframes float {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(40px, -30px); }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  color: #fff;
}
.hero-text {
  grid-column: 2;
}
.hero-title {
  font-size: clamp(28px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.1);
  font-feature-settings: "palt";
}
.hero-title .line {
  display: block;
  overflow: hidden;
}
.hero-title .line:nth-child(3) {
  font-size: 1.25em;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-top: 8px;
}
.hero-title .accent {
  color: #fff;
  position: relative;
  display: inline-block;
}
.hero-title .accent::after {
  content: '';
  position: absolute;
  left: 2%; right: 2%;
  bottom: 12%;
  height: 10%;
  background: rgba(255,255,255,.28);
  z-index: -1;
  border-radius: 3px;
}
.hero-sub {
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,.95);
  margin-bottom: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  animation: fadeIn 1s ease .9s backwards;
  text-shadow: 0 1px 12px rgba(0,0,0,.1);
  position: relative;
  padding-left: 56px;
}
.hero-sub::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 40px; height: 1px;
  background: rgba(255,255,255,.7);
}
.hero-sub span { display: inline-block; }
.hero-title .line span {
  display: inline-block;
  animation: slideUp 1s cubic-bezier(.16,1,.3,1) backwards;
}
.hero-title .line:nth-child(1) span { animation-delay: .1s; }
.hero-title .line:nth-child(2) span { animation-delay: .3s; }
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeIn 1s ease 1s backwards;
}
.btn-primary {
  background: var(--bg-dark);
  color: #fff;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .3s;
}
.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(245,165,55,.4);
}
/* ヒーロー(オレンジ背景)では3つとも「白枠+白文字」で統一 */
.hero .btn-primary {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
  padding: 14.5px 32px; /* btn-secondaryとサイズ揃え */
}
.hero .btn-primary:hover {
  background: #fff;
  color: var(--accent-dark);
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.hero .btn-secondary {
  border: 1.5px solid #fff;
  color: #fff;
}
.hero .btn-secondary:hover {
  background: #fff;
  color: var(--accent-dark);
}
.btn-secondary {
  border: 1.5px solid #fff;
  color: #fff;
  padding: 14.5px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .3s;
}
.btn-secondary:hover {
  background: #fff;
  color: var(--bg-dark);
  transform: translateY(-2px);
}
/* About以降の白背景上では黒ボタンに戻す */
.about .btn-secondary,
.works .btn-secondary {
  border-color: var(--bg-dark);
  color: var(--bg-dark);
}
.about .btn-secondary:hover,
.works .btn-secondary:hover {
  background: var(--bg-dark);
  color: #fff;
}
.hero-visual {
  position: relative;
  height: 560px;
  animation: fadeIn 1.2s ease .6s backwards;
}
.hero-img {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.15);
}
.hero-img-1 {
  width: 75%; height: 65%;
  top: 0; right: 0;
}
.hero-img-2 {
  width: 55%; height: 50%;
  bottom: 0; left: 0;
  border: 8px solid var(--bg);
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-stats {
  position: absolute;
  bottom: 20px; right: 20px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.1);
  display: flex;
  gap: 24px;
}
.stat .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--bg-dark);
  letter-spacing: -0.02em;
}
.stat .label {
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 2px;
}

/* ============ Scroll Indicator ============ */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: bounce 2s infinite;
  z-index: 3;
}
.scroll-hint::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.85), transparent);
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============ Section common ============ */
.section { padding: 120px var(--pad); position: relative; }
.section-header { margin-bottom: 80px; }

/* ============ About ============ */
.about { background: var(--bg); }
.about-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
  height: 520px;
  border-radius: 24px;
  overflow: hidden;
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-text .section-title { margin-bottom: 32px; }
.about-text p {
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 20px;
}
.about-text .signature {
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-mute);
}

/* ============ Service ============ */
.service { background: var(--bg-section); }
.service-main {
  max-width: var(--maxw);
  margin: 0 auto 80px;
  background: var(--bg-darkfill);
  color: #fff;
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.service-main-text { padding: 80px 60px; }
.service-main-tag {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}
.service-main h3 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.service-main p {
  color: rgba(255,255,255,.7);
  margin-bottom: 32px;
}
.service-main-products {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.product-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  font-size: 14px;
  transition: all .3s;
  cursor: pointer;
}
.product-pill:hover {
  background: rgba(255,255,255,.05);
  border-color: var(--accent);
  transform: translateX(6px);
}
.product-pill .arrow { margin-left: auto; opacity: .5; transition: all .3s; }
.product-pill:hover .arrow { opacity: 1; transform: translateX(4px); color: var(--accent); }
.product-pill .num {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  width: 24px;
}
.product-pill .label { font-weight: 600; }
.product-pill .desc { font-size: 12px; color: rgba(255,255,255,.5); margin-left: 8px; }

.service-main-visual {
  position: relative;
  min-height: 600px;
  overflow: hidden;
}
.service-main-visual img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.service-main-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,.6), transparent 40%);
}

/* Sub services */
.service-sub-title {
  max-width: var(--maxw);
  margin: 0 auto 32px;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--text-mute);
  font-weight: 600;
  text-transform: uppercase;
}
.service-sub-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-sub-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  transition: all .3s;
  border: 1px solid transparent;
  cursor: pointer;
}
.service-sub-card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: 0 20px 40px rgba(0,0,0,.06);
}
.service-sub-card .icon {
  width: 44px; height: 44px;
  background: var(--bg-section);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
}
.service-sub-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.service-sub-card p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ============ Works (Clients) ============ */
.works { background: var(--bg); }
.works-content {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.client-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all .3s;
  min-height: 140px;
}
.client-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.client-card .name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.client-card .sub {
  font-size: 11px;
  color: var(--text-mute);
}

/* ============ News ============ */
.news { background: var(--bg-section); }
.news-list {
  max-width: 900px;
  margin: 0 auto;
}
.news-item {
  display: grid;
  grid-template-columns: 140px 100px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: all .2s;
}
.news-item:hover { transform: translateX(4px); }
.news-item:hover .news-title { color: var(--accent); }
.news-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mute);
  letter-spacing: 0.05em;
}
.news-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-align: center;
  letter-spacing: 0.05em;
}
.news-title {
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
}

/* ============ Recruit ============ */
.recruit {
  background: var(--bg-darkfill);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.recruit-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}
.recruit-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.recruit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg-darkfill) 30%, transparent);
}
.recruit-content {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.recruit .eyebrow { color: var(--accent); }
.recruit h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.recruit p {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  max-width: 520px;
  margin-bottom: 40px;
}
.btn-light {
  background: #fff;
  color: var(--bg-dark);
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .3s;
}
.btn-light:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ============ Contact ============ */
.contact { background: var(--bg); }
.contact-content {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
}
.contact h2 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.contact h2 .accent { color: var(--accent); }
.contact p {
  font-size: 17px;
  color: var(--text-sub);
  max-width: 520px;
  margin: 0 auto 48px;
}
.contact-info {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.contact-info-item {
  text-align: left;
}
.contact-info-item .label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-mute);
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-info-item .value {
  font-size: 16px;
  font-weight: 600;
}

/* ============ Footer ============ */
.footer {
  background: var(--bg-darkfill);
  color: rgba(255,255,255,.7);
  padding: 80px var(--pad) 32px;
}
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .logo { color: #fff; margin-bottom: 20px; }
.footer-brand p { font-size: 13px; line-height: 1.7; }
.footer h5 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  font-size: 13px;
  transition: color .2s;
}
.footer ul a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

/* ============ 現サイト準拠の新セクション ============ */
.head-orig {
  text-align: center;
  margin-bottom: 64px;
}
.big-en {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: 0.18em;
  color: var(--bg-dark);
  margin-bottom: 8px;
}
.jp-sub {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-sub);
  display: block;
}

/* SERVICE 円形アイコン */
.service-orig { background: #fff; padding: 120px var(--pad); }

/* 主力3プロダクトカード */
.hero-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto 80px;
}
.hp-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
  isolation: isolate;
}
.hp-card:hover { transform: translateY(-8px); }
.hp-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform .8s cubic-bezier(.16,1,.3,1);
}
.hp-card:hover .hp-bg { transform: scale(1.08); }
.hp-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hp-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hp-en {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  margin-bottom: 12px;
  opacity: 0.85;
  text-shadow: 0 2px 6px rgba(0,0,0,.65), 0 4px 18px rgba(0,0,0,.55);
}
.hp-name {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0,0,0,.65), 0 4px 18px rgba(0,0,0,.55);
}
.hp-desc {
  font-size: 13px;
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: 20px;
  text-shadow: 0 2px 6px rgba(0,0,0,.65), 0 4px 18px rgba(0,0,0,.55);
}
.hp-arrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.9;
  transition: transform .3s, opacity .3s;
  text-shadow: 0 2px 6px rgba(0,0,0,.65), 0 4px 18px rgba(0,0,0,.55);
}
.hp-card:hover .hp-arrow { opacity: 1; transform: translateX(4px); }

/* オールマイト: エンタメ系(赤紫グラデ) */
.hp-allmight .hp-bg {
  background-image:
    url('images/ALLMIGHT3.webp'),
    linear-gradient(150deg, #ff7a59, #d83a2e 70%);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
}
.hp-allmight .hp-overlay {
  background: linear-gradient(180deg, rgba(20,10,5,.05) 0%, rgba(20,10,5,.30) 45%, rgba(20,10,5,.75) 100%);
}

/* てづくーる: 親子・温かみ(オレンジ系) */
.hp-tezukuru .hp-bg {
  background-image: url('images/tate2.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.hp-tezukuru .hp-overlay {
  background: linear-gradient(180deg, rgba(20,10,5,.05) 0%, rgba(20,10,5,.30) 45%, rgba(20,10,5,.75) 100%);
}

/* その他プロダクト: ビジネス感(深い青系) */
.hp-others .hp-bg {
  background-image: url('images/yoberu_kaitaku1.webp');
  background-size: cover;
  background-position: center 12%;
  background-repeat: no-repeat;
}
.hp-others .hp-overlay {
  background: linear-gradient(180deg, rgba(20,60,80,.12) 0%, rgba(10,30,45,.55) 100%);
}

/* 3プロダクトのテキストロゴ */
.hp-logos {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.hp-logo {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all .3s;
}
.hp-card:hover .hp-logo {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.4);
}

/* その他事業ラベル */
.other-biz-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--text-mute);
  margin-bottom: 32px;
}
.other-biz-label::before,
.other-biz-label::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--line);
  vertical-align: middle;
  margin: 0 16px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px 24px;
  max-width: 1100px;
  margin: 0 auto 56px;
}
.service-grid.small {
  grid-template-columns: repeat(3, 1fr);
  max-width: 680px;
}
.service-grid.small .service-circle .circle {
  width: 100px; height: 100px;
}
.service-grid.small .service-circle .circle svg {
  width: 44px; height: 44px;
}
.service-grid.small .service-circle span {
  font-size: 13px;
}
.service-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  transition: transform .3s;
}
.service-circle:hover { transform: translateY(-6px); }
.service-circle .circle {
  width: 160px; height: 160px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: #fff;
  transition: all .3s;
}
.service-circle:hover .circle { background: var(--accent); color: #fff; }
.service-circle .circle svg { width: 64px; height: 64px; }
.service-circle span {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.service-cta, .news-cta { text-align: center; margin-top: 48px; }
.btn-orange {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 16px 64px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 14px;
  transition: all .3s;
}
.btn-orange:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-dark {
  display: inline-block;
  background: #4a4a4a;
  color: #fff;
  padding: 16px 56px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 14px;
  cursor: pointer;
  transition: all .3s;
}
.btn-dark:hover { background: var(--bg-dark); transform: translateY(-2px); }

/* NEWS 横並びリスト */
.news-orig { background: #fafafa; padding: 120px var(--pad); }
.news-list-orig {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.news-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.news-row:last-child { border-bottom: none; padding-bottom: 0; }
.news-thumb {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-section);
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-orange {
  background: linear-gradient(135deg, #FCC76D, #ED8A12);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.thumb-text {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  padding: 0 16px;
}
.news-body { padding-top: 8px; }
.news-date {
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 0.05em;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}
.news-h {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
}
.news-h small {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mute);
  display: block;
  margin-top: 4px;
}
.news-body p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
}
.news-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  text-decoration: underline;
}

/* COMPANY オレンジ背景 + 左右2カラム */
.company-orig {
  background: var(--accent);
  padding: 120px var(--pad);
  color: var(--bg-dark);
}
.company-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.company-orig .big-en { color: var(--bg-dark); text-align: left; }
.company-orig .jp-sub { color: var(--bg-dark); text-align: left; }
.company-left { padding-top: 8px; }
.company-message {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  line-height: 1.6;
  margin-top: 64px;
  letter-spacing: -0.01em;
}
.company-table {
  background: transparent;
}
.company-table .row {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 20px 0;
  border-top: 1px solid rgba(0,0,0,.15);
  gap: 24px;
}
.company-table .row:last-child { border-bottom: 1px solid rgba(0,0,0,.15); }
.company-table dt {
  font-weight: 700;
  font-size: 14px;
}
.company-table dd {
  font-size: 14px;
  line-height: 1.7;
}

/* CONTACT フォーム */
.contact-orig { background: #fff; padding: 120px var(--pad); }
.contact-lead {
  text-align: center;
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 64px;
  line-height: 2;
}
.contact-form {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 180px 60px 1fr;
  gap: 16px;
  align-items: start;
}
.form-row label {
  font-size: 14px;
  font-weight: 600;
  padding-top: 10px;
  grid-column: 1;
}
.form-row .req {
  background: #333;
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 2px;
  font-weight: 700;
  display: inline-block;
  width: fit-content;
  margin-top: 10px;
  grid-column: 2;
}
.form-row label:not(:has(+ .req)) { grid-column: 1 / 3; }
.form-row input, .form-row textarea {
  grid-column: 3;
  font-family: inherit;
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  width: 100%;
  background: #fafafa;
  transition: border-color .2s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.form-row textarea { resize: vertical; min-height: 120px; }
.btn-orange-wide {
  background: var(--accent);
  color: #fff;
  padding: 18px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.15em;
  cursor: pointer;
  margin-top: 24px;
  transition: background .3s;
}
.btn-orange-wide:hover { background: var(--accent-dark); }

/* フッター(現サイト準拠) */
.footer-orig {
  background: var(--bg-section);
  padding: 60px var(--pad) 24px;
  color: var(--text);
}
.footer-content {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  padding-bottom: 24px;
}
.footer-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
}
.footer-addr, .footer-tel {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 4px;
}
.footer-nav {
  background: var(--accent);
  padding: 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-radius: 4px;
  align-items: flex-end;
}
.footer-nav a {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.footer-nav a:hover { color: var(--bg-dark); }
.footer-copy {
  text-align: center;
  font-size: 12px;
  color: var(--text-mute);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* レスポンシブ */
@media (max-width: 900px) {
  .hero-products { grid-template-columns: 1fr; gap: 16px; }
  .hp-card { aspect-ratio: 16 / 10; }
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .service-grid.small { grid-template-columns: repeat(3, 1fr); }
  .service-circle .circle { width: 130px; height: 130px; }
  .news-row { grid-template-columns: 1fr; gap: 16px; }
  .news-thumb { height: 200px; }
  .company-grid { grid-template-columns: 1fr; gap: 48px; }
  .company-table .row { grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; }
  .form-row { grid-template-columns: 1fr; gap: 8px; }
  .form-row label, .form-row .req, .form-row input, .form-row textarea { grid-column: 1; }
  .form-row .req { margin-top: 0; }
  .footer-content { grid-template-columns: 1fr; }
  .footer-nav { align-items: flex-start; }
}

/* ============ Animations on scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 60px; }
  .hero-text { grid-column: 1; }
  .hero-logo-bg { width: 95%; left: 2.5%; opacity: .25; max-width: none; }
  .hero-title { color: #fff; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .service-main { grid-template-columns: 1fr; }
  .service-main-visual { min-height: 320px; }
  .service-sub-grid { grid-template-columns: repeat(2, 1fr); }
  .works-content { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .nav-list { display: none; }
  .section { padding: 80px var(--pad); }
  .hero-logo-bg { width: 100%; left: 0; opacity: .22; }
  .service-main-text { padding: 48px 32px; }
  .service-sub-grid { grid-template-columns: 1fr; }
  .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }
  .news-date { font-size: 12px; }
}
