@charset "utf-8";

:root {
  --ink: #2a2a2a;
  --navy: #1e3a5f;
  --navy-deep: #0c1b2e;
  --gold: #6e94cf;
  --gold-soft: #c5d4ea;
  --paper: #f6f7f9;
  --paper-2: #fbfbfc;
  --white: #fff;
  --text: #333333;
  --muted: #6a7380;
  --line: rgba(30, 58, 95, 0.12);
  --header: 80px;
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --latin: "Outfit", "Noto Sans JP", sans-serif;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

*,
*::before,
*::after { box-sizing: inherit; }

body#top,
body#sub,
body {
  margin: 0 !important;
  font-family: var(--sans) !important;
  font-size: 16px !important;
  line-height: 1.85 !important;
  color: var(--text) !important;
  background: var(--paper) !important;
  text-align: left !important;
  min-width: 0 !important;
}

body#top {
  background: var(--paper) !important;
}

body#top h1,
.corp-hero h1 {
  position: static !important;
  left: auto !important;
  top: auto !important;
}

img { max-width: 100%; height: auto; }
a { color: var(--navy); }
.fontChanger { display: none !important; }

#page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

#page::after,
#page:after {
  content: none !important;
  display: none !important;
}

/* ---------- header ---------- */

.corp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.corp-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.08);
}

.corp-header-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.corp-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: #111;
  position: relative;
  align-self: center;
}

.corp-logo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.corp-logo:hover::after {
  transform: scaleX(1);
}

.corp-logo-mark {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
}

.corp-wordmark {
  display: block;
  height: 22px;
  width: auto;
  max-width: min(280px, 52vw);
  object-fit: contain;
  object-position: left center;
}

@media (prefers-reduced-motion: reduce) {
  .corp-logo::after {
    transition: none;
  }
}

.corp-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  align-self: center;
}

.corp-nav-toggle span {
  display: block;
  height: 1px;
  margin: 7px 8px;
  background: var(--ink);
  transition: 0.25s ease;
}

.corp-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.corp-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.corp-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.corp-nav {
  display: flex;
  align-items: flex-end;
}

.corp-nav-main {
  display: flex;
  align-items: stretch;
  gap: 32px;
  margin: 0 0 0 -20px;
  padding: 0 20px 0 0;
  list-style: none;
  border-bottom: 1px solid #cfd6df;
}

.corp-nav-main a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 4px;
  padding: 10px 0 12px;
  text-decoration: none;
  color: var(--text);
  position: relative;
}

.corp-nav-en {
  font-family: var(--latin);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.2;
}

.corp-nav-ja {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--text);
}

.corp-nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.corp-nav-main a:hover .corp-nav-ja,
.corp-nav-main a.is-current .corp-nav-ja {
  color: var(--navy);
}

.corp-nav-main a:hover::after,
.corp-nav-main a.is-current::after {
  transform: scaleX(1);
}

/* ---------- TOP ---------- */

.corp-hero {
  position: relative;
  min-height: min(82vh, 760px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.corp-hero::before {
  content: "";
  position: absolute;
  inset: -8%;
  background:
    linear-gradient(90deg, rgba(12, 27, 46, 0.92) 0%, rgba(12, 27, 46, 0.78) 38%, rgba(12, 27, 46, 0.42) 62%, rgba(12, 27, 46, 0.22) 100%),
    url("/img/renew/cover.jpg") right center / cover no-repeat;
  animation: heroKen 22s ease-out forwards;
}

@keyframes heroKen {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

.corp-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.corp-hero-mark {
  display: none !important;
}

.corp-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--latin);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 22px;
}

.corp-kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
  transform-origin: left center;
  animation: kickerLine 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

@keyframes kickerLine {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.corp-hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  letter-spacing: 0.08em;
  max-width: 12em;
}

.corp-hero p {
  position: static !important;
  left: auto !important;
  top: auto !important;
  max-width: 40em;
  margin: 28px 0 0;
  font-size: 15px;
  line-height: 2.05;
  color: rgba(255,255,255,0.78);
}

.corp-hero-line {
  white-space: nowrap;
}

.corp-hero-inner .corp-kicker,
.corp-hero-inner h1,
.corp-hero-inner p {
  animation: heroFade 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.corp-hero-inner .corp-kicker { animation-delay: 0.12s; }
.corp-hero-inner h1 { animation-delay: 0.28s; }
.corp-hero-inner p { animation-delay: 0.5s; }

@keyframes heroFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.corp-hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 1;
  width: 18px;
  height: 28px;
  margin-left: -9px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 12px;
  opacity: 0;
  animation: heroFade 0.8s ease 1.1s both;
  transition: opacity 0.35s ease;
}

.corp-hero-scroll.is-hidden {
  opacity: 0 !important;
  animation: none;
}

.corp-hero-scroll span {
  display: block;
  width: 3px;
  height: 7px;
  margin: 6px auto 0;
  border-radius: 2px;
  background: #fff;
  animation: scrollDot 1.6s ease-in-out 1.4s infinite;
}

@keyframes scrollDot {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(8px); }
}

.corp-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.corp-section {
  padding: 88px 0;
}

.corp-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.corp-section-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  color: var(--ink);
}

.corp-section-head small,
.corp-en {
  display: block;
  font-family: var(--latin);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.corp-more {
  text-decoration: none;
  color: var(--navy);
  font-size: 13px;
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.corp-br-sp {
  display: none;
}

.corp-more:hover {
  color: var(--gold);
  letter-spacing: 0.16em;
}

.corp-mission {
  background: var(--navy-deep);
  color: #fff;
}

.corp-mission .corp-wrap {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  align-items: center;
}

.corp-mission-num {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.corp-mission blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.7;
  font-weight: 500;
}

.corp-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.corp-numbers article {
  background: var(--paper-2);
  padding: 36px 24px;
}

.corp-numbers strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  color: var(--navy);
  line-height: 1;
  margin-bottom: 10px;
}

.corp-numbers span {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.corp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.corp-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  min-height: 280px;
  padding: 0 0 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.corp-card-photo {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 24px;
}

.corp-card em,
.corp-card h3,
.corp-card p {
  padding-left: 32px;
  padding-right: 28px;
}

.corp-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.corp-card:hover {
  border-color: rgba(110, 148, 207, 0.5);
  box-shadow: 0 10px 28px rgba(30, 58, 95, 0.08);
}

.corp-card:hover::after {
  transform: scaleX(1);
}

.corp-card em {
  display: block;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 16px;
}

body#sub #contents .corp-card h3,
.corp-card h3 {
  margin: 0 0 16px !important;
  padding: 0 28px 0 32px !important;
  border-bottom: none !important;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink) !important;
  background: none !important;
  height: auto !important;
}

.corp-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.corp-news {
  background: var(--paper-2);
}

.corp-news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.corp-news-list li {
  border-bottom: 1px solid var(--line);
}

.corp-news-list a,
.corp-news-list .corp-news-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 22px 0;
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.corp-news-list a span:last-child {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.corp-news-list a:hover {
  color: var(--navy);
}

.corp-news-list a:hover span:last-child {
  transform: translateX(8px);
}

.corp-news-list time {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.corp-cta {
  background:
    linear-gradient(120deg, rgba(7,16,28,0.88), rgba(13,42,74,0.72)),
    url("/img/renew/cover.jpg") center / cover no-repeat;
  color: #fff;
}

.corp-cta .corp-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.corp-cta h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 32px;
}

.corp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 24px;
  background: var(--gold);
  color: #fff !important;
  text-decoration: none !important;
  letter-spacing: 0.12em;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.corp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.corp-card.reveal:nth-child(1) { --reveal-delay: 0.05s; }
.corp-card.reveal:nth-child(2) { --reveal-delay: 0.16s; }
.corp-card.reveal:nth-child(3) { --reveal-delay: 0.27s; }

.corp-news-list .reveal:nth-child(1) { --reveal-delay: 0.04s; }
.corp-news-list .reveal:nth-child(2) { --reveal-delay: 0.1s; }
.corp-news-list .reveal:nth-child(3) { --reveal-delay: 0.16s; }
.corp-news-list .reveal:nth-child(4) { --reveal-delay: 0.22s; }
.corp-news-list .reveal:nth-child(5) { --reveal-delay: 0.28s; }
.corp-news-list .reveal:nth-child(6) { --reveal-delay: 0.34s; }

@media (prefers-reduced-motion: reduce) {
  .corp-hero::before,
  .corp-hero-inner .corp-kicker,
  .corp-hero-inner h1,
  .corp-hero-inner p,
  .corp-kicker::before,
  .corp-hero-scroll,
  .corp-hero-scroll span,
  .reveal,
  .corp-card,
  .corp-card-photo,
  .corp-btn,
  .corp-more,
  .corp-news-list a span:last-child {
    animation: none !important;
    transition: none !important;
  }
  .reveal,
  .corp-hero-inner .corp-kicker,
  .corp-hero-inner h1,
  .corp-hero-inner p,
  .corp-hero-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- inner pages ---------- */

body#sub #main {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  display: block !important;
  margin: 0 auto !important;
  padding: 0 0 96px !important;
  overflow: visible !important;
}

body#sub #pan,
body#sub .corp-localnav,
body#sub #contents,
body#sub #contents.contact,
body#sub #contents.privacy,
body#sub #contents.jyusetsu-alliance {
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body#sub #contents,
body#sub #contents.contact,
body#sub #contents.privacy,
body#sub #contents.jyusetsu-alliance {
  float: none !important;
  background: transparent !important;
  padding: 36px 0 80px !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body#sub #contents img {
  max-width: 100%;
  height: auto;
}

body#sub #contents img.corp-page-visual,
.corp-page-visual {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 32 / 9;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 0 0 40px !important;
}

body#sub #contents h2 img,
body#sub #contents h3 img,
body#sub #contents h4 img,
body#sub #contents img[src*="go-page"],
body#sub #contents img[src*="list_"],
body#sub #contents img[src*="business_text"],
body#sub #contents img[src*="business_img"],
body#sub #contents img[src*="bnr_"],
body#sub #contents img[src*="main_img.jpg"],
body#sub #contents img[src*="tel_number"] {
  display: none !important;
}

body#sub #contents h2.has-img-title img,
body#sub #contents h3.has-img-title img,
body#sub #contents h4.has-img-title img {
  display: none !important;
}

body#sub #contents h2.has-img-title::after,
body#sub #contents h3.has-img-title::after,
body#sub #contents h4.has-img-title::after {
  content: attr(data-title);
}

#setsubi-1, #setsubi-2, #setsubi-3, #setsubi-4,
#reform-1, #kaigo-1, #ec-1, #web-1, #it-1,
#ji-1, #ji-2, #ji-3, #ji-4, #ji-5, #ji-6 {
  background: none !important;
  padding: 20px 0 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

#busi-title {
  margin: 0 0 36px !important;
}

#busi-title h3 {
  margin: 0 0 12px !important;
}

#busi-title p {
  border: none !important;
  background: none !important;
  color: var(--text) !important;
  padding: 0 !important;
  line-height: 1.85 !important;
}

.corp-lead {
  margin: 0 0 40px;
  color: var(--text);
  font-size: 16px;
  line-height: 2;
}

body#sub #sidebar { display: none !important; }

#pan {
  height: auto !important;
  font-family: var(--sans);
  font-size: 12px !important;
  letter-spacing: 0.04em;
  color: var(--muted) !important;
  padding: 24px 0 8px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#pan a {
  color: var(--muted);
  text-decoration: none;
}

#pan a:hover { color: var(--navy); }

.corp-localnav {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px 24px;
  margin: 0 auto !important;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--line);
}

body#sub .corp-localnav {
  position: sticky;
  top: var(--header);
  z-index: 40;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: max(24px, calc((100% - 1180px) / 2));
  padding-right: max(24px, calc((100% - 1180px) / 2));
  background: var(--paper);
}

body#sub .corp-localnav.is-stuck {
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.08);
}

.corp-localnav a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 0 14px;
  text-decoration: none;
  position: relative;
}

.corp-localnav .corp-nav-en {
  font-family: var(--latin);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.2;
}

.corp-localnav .corp-nav-ja {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.corp-localnav a:hover .corp-nav-ja,
.corp-localnav a.is-here .corp-nav-ja {
  color: var(--navy);
}

.corp-localnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.corp-localnav a:hover::after,
.corp-localnav a.is-here::after {
  transform: scaleX(1);
}

body#sub #contents > h2:first-of-type,
body#sub #contents h2:first-of-type {
  margin: 0 0 36px !important;
  padding: 0 0 20px !important;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: 0.04em;
}

body#sub #contents h2 small,
body#sub #contents h2 .corp-en {
  display: block;
  font-family: var(--latin);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
  line-height: 1.3;
}

body#sub #contents h2:not(:first-of-type) {
  margin: 56px 0 20px !important;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}

body#sub #contents h3,
body#sub #contents .h_back1,
body#sub #contents h3.h_back1 {
  margin: 48px 0 16px !important;
  padding: 0 0 10px !important;
  border-bottom: 1px solid var(--line);
  background: none !important;
  height: auto !important;
  line-height: 1.5 !important;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 500;
  color: var(--ink) !important;
  letter-spacing: 0.04em;
}

body#sub #contents h3 .corp-en,
body#sub #contents .corp-en {
  display: block;
  font-family: var(--latin);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

body#sub #contents h4,
body#sub #contents .h_back2,
body#sub #contents .h_back4 {
  margin: 32px 0 12px !important;
  padding: 0 !important;
  background: none !important;
  height: auto !important;
  line-height: 1.5 !important;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy) !important;
}

body#sub #contents p {
  margin: 0 0 18px;
  line-height: 2;
  max-width: none;
  color: var(--text);
  word-break: normal;
  line-break: strict;
  overflow-wrap: normal;
}

body#sub #contents p.corp-note,
body#sub #contents .corp-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.corp-biz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0 0 48px;
}

.corp-biz-grid article {
  padding: 24px 24px 20px;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

body#sub #contents .corp-biz-grid h3,
.corp-biz-grid h3 {
  margin: 0 0 12px !important;
  padding: 0 0 10px !important;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}

.corp-biz-grid ul,
.corp-plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.corp-biz-grid li,
.corp-plain-list li,
body#sub #contents .list-1 li {
  background: none !important;
  padding: 4px 0 4px 1em !important;
  position: relative;
}

.corp-biz-grid li::before,
.corp-plain-list li::before,
body#sub #contents .list-1 li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

.corp-tel {
  margin: 4px 0 16px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.corp-tel a {
  color: var(--navy);
  text-decoration: none;
}

.contact-block-phone {
  margin: 0 0 36px;
}

body#sub #contents .contact-block-phone > p {
  margin-bottom: 8px !important;
}

body#sub #contents .contact-block > h3 {
  margin-top: 0 !important;
}

.contact-form,
.contact-confirm,
.contact-complete {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
}

body#sub #contents .contact-intro,
.contact-intro {
  max-width: 680px;
  margin: 0 auto 39px !important;
}

.contact-field {
  margin: 0 0 22px;
}

.contact-field label,
.contact-label {
  display: flex;
  align-items: center;
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.contact-req,
.contact-opt {
  display: inline-block;
  margin-right: 8px;
  margin-left: 0;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.contact-req {
  background: #d93025;
  color: #fff;
}

.contact-opt {
  background: var(--paper);
  color: var(--muted);
}

body#sub #contents .contact-form input[type="text"],
body#sub #contents .contact-form input[type="email"],
body#sub #contents .contact-form textarea,
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  display: block;
  width: 100% !important;
  max-width: none;
  margin: 0 !important;
  padding: 14px 16px !important;
  border: 1px solid #c5ced8;
  border-radius: 5px;
  background: #fff;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body#sub #contents .contact-form textarea,
.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8b95a2;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.12);
}

body#sub #contents .contact-hint,
.contact-hint {
  margin: 8px 0 0 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: var(--muted);
}

.contact-drop {
  position: relative;
  display: flex;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 24px 16px;
  border: 1px dashed rgba(30, 58, 95, 0.28);
  border-radius: 5px;
  background: var(--paper-2);
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-drop.is-over {
  border-color: var(--gold);
  background: #f4f7fc;
}

.contact-drop.is-full {
  opacity: 0.7;
}

.contact-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--navy);
  border-radius: 5px;
  background: #fff;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.contact-add:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

body#sub #contents .contact-drop-note,
body#sub #contents .contact-count,
.contact-drop-note,
.contact-count {
  margin: 10px 0 0 !important;
  font-size: 13px !important;
  color: var(--muted);
  line-height: 1.5 !important;
}

.contact-count {
  font-family: var(--latin);
  letter-spacing: 0.08em;
}

.contact-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.contact-preview {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}

.contact-preview img {
  display: block;
  width: 100%;
  height: 96px;
  object-fit: cover;
}

.contact-preview-name {
  display: block;
  padding: 6px 8px;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-preview-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: rgba(12, 27, 46, 0.78);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.contact-privacy {
  margin: 8px 0 28px;
  padding: 20px 20px 16px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 5px;
}

body#sub #contents .contact-privacy h3,
.contact-privacy h3 {
  margin: 0 0 12px !important;
  padding: 0 !important;
  border-bottom: none;
  font-size: 16px;
}

.contact-privacy-body {
  max-height: 220px;
  overflow: auto;
  padding: 12px 14px;
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.8;
}

.contact-privacy-body .p-text-box {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  text-align: left !important;
  box-sizing: border-box;
}

.contact-agree {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
}

.contact-agree input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 24px;
}

.contact-confirm .contact-actions {
  justify-content: space-between;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 5px;
  background: var(--navy);
  color: #fff !important;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none !important;
  cursor: pointer;
}

.contact-submit:hover {
  background: #16304f;
}

.contact-back {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 58, 95, 0.28);
}

.contact-confirm-list {
  margin: 0 0 28px;
}

.contact-confirm-row {
  display: grid;
  grid-template-columns: 10.5em minmax(0, 1fr);
  gap: 12px 24px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-confirm-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  line-height: 1.7;
}

.contact-confirm-value {
  min-width: 0;
  color: var(--ink);
  line-height: 1.8;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-previews.is-confirm {
  width: 100%;
  margin-top: 0;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
}

.contact-previews.is-confirm .contact-preview {
  display: block;
  text-decoration: none;
  color: inherit;
}

.contact-previews.is-confirm .contact-preview img {
  height: 96px;
}

#contact-mail {
  scroll-margin-top: 108px;
}

.contact-complete {
  text-align: center;
}

body#sub #contents .contact-complete-lead,
.contact-complete-lead {
  margin: 0 0 8px !important;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
}

.contact-form .error,
.contact-privacy .error {
  width: auto !important;
  margin: 10px auto 0 !important;
  text-align: center;
}

.corp-greet {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  gap: 0;
  margin: 0 0 40px;
  overflow: hidden;
  background: var(--navy-deep);
  aspect-ratio: 32 / 9;
  min-height: 0;
}

.corp-greet-photo {
  min-height: 0;
  position: relative;
  overflow: hidden;
  background: #1a2430;
}

body#sub #contents .corp-greet-photo img,
.corp-greet-photo img {
  position: absolute;
  top: calc(-6% - 60px);
  left: 50%;
  width: 200% !important;
  height: 200% !important;
  max-width: none !important;
  margin: 0 !important;
  aspect-ratio: auto !important;
  transform: translateX(-50%);
  object-fit: cover !important;
  object-position: 50% 12% !important;
  display: block;
}

.corp-greet-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--navy-deep) 0%, rgba(12, 27, 46, 0.22) 28%, rgba(12, 27, 46, 0) 62%);
  pointer-events: none;
}

.corp-greet-copy {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 18px 20px 18px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  background: transparent;
}

.corp-greet-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--latin);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  white-space: nowrap;
}

.corp-greet-label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold);
}

body#sub #contents .corp-greet-copy p,
.corp-greet-copy p {
  margin: 0 0 12px !important;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.32);
  font-family: var(--serif);
  font-size: clamp(16px, 1.9vw, 26px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: #fff !important;
  white-space: nowrap;
}

.corp-greet-meta {
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

body#sub #contents .corp-greet-meta span,
.corp-greet-meta span {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.78) !important;
  white-space: nowrap;
}

body#sub #contents .corp-greet-meta strong,
.corp-greet-meta strong {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: #fff !important;
}

.greet-mission {
  font-family: var(--serif) !important;
  font-size: 32px !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
  color: var(--ink) !important;
  margin: 0 0 28px !important;
}

.greet-interview {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.9fr);
  gap: 28px 40px;
  align-items: center;
  margin: 0 0 48px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
}

.greet-interview-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy-deep);
}

.greet-interview-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.greet-interview-kicker {
  display: block;
  margin: 0 0 10px;
  font-family: var(--latin);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

body#sub #contents .greet-interview-copy h3,
.greet-interview-copy h3 {
  margin: 0 0 16px !important;
  padding: 0 !important;
  border-bottom: none;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.03em;
}

body#sub #contents .greet-interview-copy p,
.greet-interview-copy p {
  margin: 0 0 20px !important;
  color: var(--muted);
  line-height: 1.8 !important;
}

.greet-interview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
}

body#sub #contents .media-lead,
.media-lead {
  margin: 0 0 32px !important;
  color: var(--muted);
  line-height: 1.8 !important;
}

.media-feature {
  margin: 0 0 48px;
}

body#sub #contents .media-feature-meta,
.media-feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0 0 12px !important;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--navy) !important;
}

body#sub #contents .media-list-title,
.media-list-title {
  margin: 0 0 8px !important;
}

.media-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.media-item {
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--line);
}

.media-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

body#sub #contents .media-item-meta,
.media-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
  margin: 0 0 10px !important;
  line-height: 1.5 !important;
}

.media-item-date {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.media-item-outlet {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gold);
}

body#sub #contents .media-item h4,
.media-item h4 {
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-family: var(--serif);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  color: var(--ink) !important;
  letter-spacing: 0.03em;
  line-height: 1.6 !important;
}

body#sub #contents .media-item p,
.media-item p {
  margin: 0 0 16px !important;
  line-height: 1.9 !important;
}

body#sub #contents .media-item-links,
.media-item-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0 !important;
}

.media-item-video {
  max-width: 640px;
  margin: 4px 0 16px;
}

.greet-sign {
  display: block !important;
  text-align: right;
  margin: 80px 0 0 !important;
  line-height: 2;
}

.greet-blog {
  display: none !important;
}

.org-chart-scroller {
  position: relative;
  max-width: 100%;
}

.org-chart-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.org-chart-hint-arrow {
  width: 18px;
  height: 1px;
  background: var(--gold);
  position: relative;
}

.org-chart-hint-arrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-left: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
}

.org-chart-hint-arrow.is-right {
  transform: scaleX(-1);
}

.org-chart-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  width: 100%;
  padding: 8px 0 24px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-soft) transparent;
}

.org-chart {
  --org-line: #c5ced6;
  --org-box: linear-gradient(180deg, #3a6ea8 0%, #4c86c2 42%, #1e4d7c 100%);
  min-width: 760px;
  width: 760px;
  margin: 0 auto;
  font-family: var(--sans);
}

.org-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 42px;
  padding: 8px 14px;
  color: #fff;
  background: var(--org-box);
  box-shadow: 0 4px 12px rgba(16, 24, 32, 0.12);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.4;
  position: relative;
}

.org-level-ceo {
  display: flex;
  justify-content: center;
}

.org-v {
  width: 1px;
  height: 28px;
  margin: 0 auto;
  background: var(--org-line);
}

.org-level-staff {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: start;
}

.org-spine {
  background: var(--org-line);
  min-height: 96px;
}

.org-side {
  display: flex;
  position: relative;
}

.org-side-l {
  justify-content: flex-end;
  padding-right: 28px;
}

.org-side-r {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-left: 28px;
}

.org-side-l::after,
.org-side-r::before {
  content: "";
  position: absolute;
  top: 21px;
  width: 28px;
  height: 1px;
  background: var(--org-line);
}

.org-side-l::after { right: 0; }
.org-side-r::before { left: 0; }

.org-level-depts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  padding-top: 28px;
}

.org-level-depts::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--org-line);
}

.org-dept {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.org-dept::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 50%;
  width: 1px;
  height: 28px;
  background: var(--org-line);
}

.org-dept > .org-box {
  min-height: 52px;
  max-width: 168px;
}

.org-dept > .org-box::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: 1px;
  height: 22px;
  background: var(--org-line);
}

.org-leaves {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  position: relative;
  padding-top: 0;
}

.org-leaf {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: #265a8f;
  color: #fff;
  min-height: 132px;
  padding: 14px 9px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(16, 24, 32, 0.1);
}

body#sub #contents img.corp-page-visual.greet-hero {
  margin-top: 36px !important;
}

body#sub #contents .mar-b30,
body#sub #contents .mar-b40,
body#sub #contents .b10 {
  overflow: hidden;
}

body#sub #contents .mar-b30 img,
body#sub #contents .mar-b40 img,
body#sub #contents .b10 img,
body#sub #contents img[src*="jirei"],
body#sub #contents img[src*="organization_chart"] {
  display: block;
  width: 100%;
  margin: 8px 0 20px;
}

body#sub #contents img[src*="sdgs.png"] {
  display: block;
  width: min(360px, 100%);
  height: auto;
  margin: 8px 0 28px;
}

body#sub #contents table {
  width: 100% !important;
  max-width: 100%;
  border-collapse: collapse;
  margin: 0 0 28px;
}

body#sub #contents table th,
body#sub #contents table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
  line-height: 1.8;
}

body#sub #contents table th {
  width: 28%;
  color: var(--navy);
  font-weight: 500;
  background: var(--paper-2);
  font-size: 13px;
  letter-spacing: 0.06em;
}

#thought-box {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 12px 40px;
  margin: 0 0 48px;
  align-items: start;
}

#thought-box img {
  grid-column: 2;
  grid-row: 1 / span 12;
  float: none !important;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  padding: 0 !important;
}

#thought-box p {
  grid-column: 1;
  margin: 0 0 14px;
}

.recruit-box ul,
.recruit-box li {
  float: none !important;
  width: auto !important;
}

.recruit-box h3 span {
  display: block;
  font-family: var(--latin);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

body#sub #contents .recruit-box > h3 {
  border-left: none !important;
  padding-left: 0 !important;
}

.recruit-box ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0 !important;
  list-style: none;
  background: transparent !important;
}

body#sub #contents .recruit-box li,
.recruit-box li {
  position: relative;
  display: grid !important;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: stretch;
  padding: 24px 28px !important;
  margin: 0 !important;
  background: #fff !important;
  border-bottom: none;
  cursor: pointer;
}

.recruit-box li img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: top;
}

body#sub #contents .recruit-box li > div,
.recruit-box li > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: max-content max-content;
  align-content: start;
  align-items: start;
  align-self: stretch;
  column-gap: 28px;
  row-gap: 15px;
  height: 140px;
  min-height: 140px;
  flex: none;
}

body#sub #contents .recruit-box li h4,
.recruit-box li h4 {
  grid-column: 1;
  grid-row: 1;
  margin: 0 !important;
  padding: 0 !important;
  align-self: start;
}

.recruit-box .employment-type,
.recruit-box .working-place {
  margin-top: 0;
  margin-bottom: 0.45em;
  white-space: nowrap;
}

body#sub #contents .recruit-box li > div > p,
.recruit-box li > div > p {
  grid-column: 1;
  grid-row: 2;
  margin: 0 !important;
  padding: 0 !important;
  align-self: start;
  line-height: 1.7 !important;
}

.recruit-box .detail-btn-wrap {
  grid-column: 2;
  grid-row: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  align-self: stretch;
}

body#sub #contents .recruit-box .detail-btn,
.recruit-box .detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 14px 28px !important;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  box-shadow: 0 6px 16px rgba(217, 48, 37, 0.28);
  white-space: nowrap;
}

.recruit-box .detail-btn::before {
  content: "";
  position: absolute;
  inset: 0;
}

#ec-site {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100% !important;
  overflow: visible !important;
  margin: 0 0 32px;
}

#ec-site li {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

body#sub #contents #ec-site h4,
#ec-site h4 {
  margin: 0 0 12px !important;
  background: none !important;
  text-align: left;
}

body#sub #contents #ec-site img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: cover !important;
  object-position: top center !important;
  margin: 0 0 12px !important;
}

#ec-site p {
  text-align: center;
  margin: 0 0 4px !important;
  font-size: 13px;
}

#ec-site p:last-child {
  margin-bottom: 0 !important;
}

.corp-works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

body#sub #contents .corp-works-grid img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 1;
  object-fit: cover !important;
  margin: 0 !important;
}

.chocotto-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 1.05fr) minmax(168px, 200px);
  align-items: center;
  gap: 8px 16px;
  min-height: 220px;
  margin: 8px 0 28px;
  padding: 20px 24px;
  text-decoration: none !important;
  color: #fff !important;
  background-color: #0073e6;
  background-image: url("/business/img/it/chocotto-main-bg.jpg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  border-radius: 8px;
  overflow: hidden;
  transition: opacity 0.25s ease;
}

.chocotto-banner:hover {
  opacity: 0.94;
}

.chocotto-banner-copy {
  position: relative;
  z-index: 2;
  display: block;
  max-width: none;
  padding-left: 10px;
}

body#sub #contents .chocotto-banner-title {
  display: block;
  width: min(380px, 100%);
  height: auto;
  margin: 0;
}

.chocotto-banner-pc {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 300px;
  justify-self: center;
  align-self: center;
}

body#sub #contents .chocotto-banner-pc img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.chocotto-banner-logo {
  position: absolute;
  top: 19px;
  right: 21px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 8px;
  padding: 7px 11px;
}

body#sub #contents .chocotto-banner-logo img {
  display: block;
  width: 148px;
  max-width: 100%;
  height: auto;
  margin: 0;
}

.chocotto-banner-action {
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  align-self: end;
}

.chocotto-banner-cta {
  display: inline-block;
  min-width: 168px;
  padding: 10px 22px;
  border-radius: 50px;
  background: linear-gradient(134.72deg, #fc9105 0%, #fb3600 101.5%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.setsubi-gaiyou,
.setsubi-gaiyou td,
#ninka,
#sikaku {
  width: 100% !important;
}

body#sub #contents #sikaku {
  table-layout: fixed;
}

body#sub #contents #sikaku td {
  width: 50%;
  padding-left: 0;
  padding-right: 24px;
}

body#sub #contents #sikaku td:last-child {
  padding-right: 0;
}

.setsubi-gaiyou ul {
  min-height: 0 !important;
  height: auto !important;
}

body#sub #contents dl,
#topics,
.company dl {
  display: grid;
  grid-template-columns: minmax(132px, 200px) 1fr;
  gap: 0 32px;
  margin: 0;
  border-top: 1px solid var(--line);
}

body#sub #contents dl dt,
#topics dt,
.company dt {
  float: none !important;
  width: auto !important;
  text-align: left !important;
  color: var(--navy) !important;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 20px 0 !important;
  border-bottom: 1px solid var(--line);
  margin: 0;
}

body#sub #contents dl dd,
#topics dd,
.company dd {
  padding: 20px 0 !important;
  background: none !important;
  border-bottom: 1px solid var(--line);
  margin: 0;
  line-height: 1.9;
}

.sitemap,
.business,
#ec-site,
.web-box { width: 100% !important; }

.sitemap {
  background: none !important;
  overflow: visible !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
}

body#sub #contents .sitemap-lead,
.sitemap-lead {
  margin: 0 0 28px !important;
  color: var(--muted);
  line-height: 1.8 !important;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sitemap-card {
  position: relative;
  padding: 28px 24px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
}

.sitemap-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.sitemap-card:hover::after {
  transform: scaleX(1);
}

.sitemap-card-kicker {
  margin: 0 0 8px !important;
  font-family: var(--latin);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.4 !important;
}

body#sub #contents .sitemap-card h3,
.sitemap-card h3 {
  margin: 0 0 18px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.sitemap-card ul,
body#sub #contents .sitemap-card ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: none !important;
}

.sitemap-card li,
body#sub #contents .sitemap-card li {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  list-style: none !important;
}

.sitemap-card a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 8px 12px 0;
  text-decoration: none !important;
  color: var(--navy) !important;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(30, 58, 95, 0.08);
  transition: color 0.25s ease, padding 0.25s ease, background 0.25s ease;
}

.sitemap-card a::after {
  content: "→";
  flex: none;
  margin-left: 12px;
  font-family: var(--latin);
  font-size: 14px;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.sitemap-card li:last-child a {
  border-bottom: none;
}

.sitemap-card a:hover {
  color: var(--ink) !important;
  padding-left: 8px;
  background: linear-gradient(90deg, rgba(110, 148, 207, 0.08), transparent);
}

.sitemap-card a:hover::after {
  opacity: 1;
  transform: none;
}

.sitemap-card a[aria-current="page"] {
  color: var(--muted) !important;
  pointer-events: none;
}

.sitemap-card a[aria-current="page"]::after {
  content: "Now";
  opacity: 1;
  transform: none;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sitemap-card.reveal:nth-child(1) { --reveal-delay: 0.1s; }
.sitemap-card.reveal:nth-child(2) { --reveal-delay: 0.18s; }
.sitemap-card.reveal:nth-child(3) { --reveal-delay: 0.26s; }
.sitemap-card.reveal:nth-child(4) { --reveal-delay: 0.34s; }

.corp-philo {
  margin: 0 0 48px;
}

.corp-philo h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.corp-philo blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.9;
  color: var(--ink);
}

.corp-philo ol {
  margin: 0;
  padding-left: 1.2em;
}

.corp-vision {
  list-style: none;
  padding: 0 !important;
}

.corp-vision li {
  position: relative;
  padding: 0 0 28px 56px;
}

.corp-vision li::before {
  counter-increment: vision;
  content: counter(vision);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.corp-vision {
  counter-reset: vision;
}

.corp-vision strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 8px;
}

.corp-vision p {
  margin: 0;
  color: var(--muted);
}

.corp-goals {
  margin-top: 16px;
  border: 1px solid var(--ink);
}

body#sub #contents .corp-goals p,
.corp-goals p {
  margin: 0 !important;
  background: var(--ink);
  color: #fff !important;
  text-align: center;
  letter-spacing: 0.18em;
  padding: 10px;
}

.corp-goals ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 22px 5%;
  list-style: none;
  text-align: center;
}

.corp-goals li {
  flex: 0 1 auto;
  font-family: var(--serif);
  font-size: 18px;
  padding: 0;
  white-space: nowrap;
}

/* ---------- footer ---------- */

.corp-footer {
  position: relative;
  background: var(--navy-deep);
  color: rgba(255,255,255,0.78);
  padding: 0 0 28px;
  overflow: visible;
}

.corp-pagetop {
  position: absolute;
  top: 0;
  right: max(20px, calc((100% - 1180px) / 2));
  transform: translateY(-100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: auto;
  margin: 0;
  padding: 10px 16px 12px;
  background: var(--navy-deep);
  border-radius: 6px 6px 0 0;
  color: #fff !important;
  text-decoration: none !important;
  letter-spacing: 0.16em;
  font-size: 11px;
  line-height: 1;
  text-align: center;
}

.corp-pagetop::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
  transform: rotate(-45deg);
}

.corp-pagetop:hover {
  color: var(--gold-soft) !important;
}

.corp-pagetop:hover::before {
  border-color: var(--gold-soft);
}

.corp-footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 28px;
}

.corp-footer-top {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 48px;
  margin-bottom: 40px;
}

.corp-footer-brand {
  display: block;
  text-decoration: none;
  color: inherit;
}

.corp-footer-en,
.corp-footer-lead,
.corp-footer-name {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
}

.corp-footer-mark {
  width: 72px;
  margin-bottom: 8px;
  background: transparent;
}

.corp-footer-en {
  margin-bottom: 8px !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  line-height: 1.3 !important;
  color: var(--gold);
}

.corp-footer-lead {
  margin-bottom: 2px !important;
  font-size: 13px;
  line-height: 1.2 !important;
  color: rgba(255,255,255,0.92);
}

.corp-footer-name {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2 !important;
  color: #fff;
}

.corp-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.corp-footer-nav p {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.corp-footer-nav a {
  display: block;
  color: rgba(255,255,255,0.82) !important;
  text-decoration: none !important;
  font-size: 13px;
  margin-bottom: 8px;
}

.corp-offices {
  margin: 0 0 28px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  list-style: none;
  font-size: 12px;
  line-height: 1.9;
}

.corp-offices a { color: var(--gold-soft) !important; }

.corp-footer-bottom {
  display: block;
  position: relative;
  text-align: center;
  font-size: 12px;
}

.corp-footer-bottom p {
  margin: 0 !important;
  padding: 0 !important;
}

#footer1, #footer2, #footer3, .box900, #footer2-l, #footer-nav {
  width: auto !important;
  height: auto !important;
  background: none !important;
  float: none !important;
  padding: 0 !important;
}

@media (max-width: 900px) {
  .corp-br-sp {
    display: block;
  }
  .corp-more {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .corp-goals ul {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px 20px;
  }
  .corp-goals li {
    white-space: normal;
    font-size: 16px;
  }
  .corp-vision li {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 12px;
    row-gap: 8px;
    padding: 0 0 28px;
  }
  .corp-vision li::before {
    position: static;
    grid-column: 1;
    grid-row: 1;
    width: 36px;
    height: auto;
    min-height: 36px;
    align-self: stretch;
  }
  .corp-vision strong {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0;
    display: flex;
    align-items: center;
  }
  .corp-vision p {
    grid-column: 2;
    grid-row: 2;
  }
  body#sub #contents #ninka,
  #ninka {
    display: block;
  }
  body#sub #contents #ninka tr,
  #ninka tr {
    display: grid;
    grid-template-columns: 6.5em 1fr;
    column-gap: 12px;
    row-gap: 0;
  }
  body#sub #contents #ninka td,
  #ninka td {
    display: block;
    width: auto;
    padding: 10px 0 !important;
    border-bottom: none;
  }
  body#sub #contents #ninka td:nth-child(1),
  body#sub #contents #ninka td:nth-child(3),
  #ninka td:nth-child(1),
  #ninka td:nth-child(3) {
    grid-column: 1;
    color: var(--navy);
    font-weight: 500;
    white-space: nowrap;
  }
  body#sub #contents #ninka td:nth-child(2),
  body#sub #contents #ninka td:nth-child(4),
  #ninka td:nth-child(2),
  #ninka td:nth-child(4) {
    grid-column: 2;
    border-bottom: 1px solid var(--line);
  }
  body#sub #contents #ninka td:empty,
  #ninka td:empty {
    display: none;
  }
  body#sub #contents .corp-history dt {
    border-bottom: none !important;
    padding: 20px 0 2px !important;
  }
  body#sub #contents .corp-history dd {
    padding: 2px 0 20px !important;
  }
  .org-chart-hint {
    display: flex;
  }
  .org-chart-scroller::before,
  .org-chart-scroller::after {
    content: "";
    position: absolute;
    top: 36px;
    bottom: 24px;
    width: 28px;
    z-index: 1;
    pointer-events: none;
  }
  .org-chart-scroller::before {
    left: 0;
    background: linear-gradient(90deg, var(--paper) 0%, transparent 100%);
  }
  .org-chart-scroller::after {
    right: 0;
    background: linear-gradient(270deg, var(--paper) 0%, transparent 100%);
  }
  .corp-nav-toggle { display: block; }
  .corp-header { position: sticky; }
  .corp-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px 20px 20px;
  }
  .corp-hero-mark { width: 120px; }
  .corp-nav.is-open { display: block; }
  .corp-nav-main {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding-right: 0;
    border-bottom: 0;
  }
  .corp-nav-main a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .corp-nav-main a::after {
    display: none;
  }
  .corp-mission .corp-wrap,
  .corp-numbers,
  .corp-cards,
  .corp-footer-top,
  .corp-footer-nav,
  .corp-cta .corp-wrap,
  .corp-news-list a,
  .corp-news-list .corp-news-item,
  .corp-biz-grid,
  #ec-site,
  #thought-box,
  body#sub #contents dl,
  .recruit-box li {
    grid-template-columns: 1fr;
    display: grid;
  }
  body#sub #contents .recruit-box li,
  .recruit-box li {
    grid-template-columns: 1fr !important;
    align-items: stretch;
    gap: 0;
    padding: 0 0 16px !important;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  body#sub #contents .recruit-box li img,
  .recruit-box li img {
    width: 100% !important;
    max-width: 100% !important;
    height: 180px;
    margin: 0;
  }
  body#sub #contents .recruit-box li > div,
  .recruit-box li > div {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    height: auto !important;
    min-height: 0 !important;
    padding: 14px 16px 0;
    gap: 12px;
  }
  body#sub #contents .recruit-box li h4,
  .recruit-box li h4 {
    grid-column: auto;
    grid-row: auto;
    margin: 0 !important;
    font-size: 16px;
    line-height: 1.55;
  }
  .recruit-box .employment-type,
  .recruit-box .working-place {
    font-size: 12px;
    padding: 0.28em 0.8em;
    margin-right: 0.4em;
    margin-bottom: 0.55em;
  }
  body#sub #contents .recruit-box li > div > p,
  .recruit-box li > div > p {
    grid-column: auto;
    grid-row: auto;
    margin: 0 !important;
    font-size: 14px;
    line-height: 1.7 !important;
  }
  body#sub #contents .recruit-box .detail-btn-wrap,
  .recruit-box .detail-btn-wrap {
    grid-column: auto;
    grid-row: auto;
    display: block;
    width: 100%;
    margin: 4px 0 0;
    align-self: stretch;
  }
  body#sub #contents .recruit-box .detail-btn,
  .recruit-box .detail-btn {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 14px 20px !important;
    font-size: 16px;
    letter-spacing: 0.14em;
  }
  .sitemap-grid {
    grid-template-columns: 1fr;
  }
  .contact-form,
  .contact-confirm,
  .contact-complete {
    padding: 22px 16px 20px;
  }
  .contact-confirm-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .contact-submit {
    width: 100%;
    min-width: 0;
  }
  .sitemap-card {
    padding: 22px 18px 16px;
  }
  .sitemap-card a {
    min-height: 48px;
    padding-top: 13px;
    padding-bottom: 13px;
    font-size: 16px;
  }
  .sitemap-card a::after {
    opacity: 1;
    transform: none;
  }
  .corp-cta .corp-wrap { display: grid; }
  .corp-cta h2 {
    font-size: clamp(16px, 5.1vw, 24px);
    white-space: nowrap;
  }
  .corp-cta .corp-wrap > div:last-child {
    display: flex;
    gap: 10px;
  }
  .corp-cta .corp-btn {
    flex: 1;
    min-width: 0;
    margin-left: 0 !important;
    padding: 12px 8px;
    font-size: 14px;
    letter-spacing: 0.06em;
  }
  body#sub #pan,
  body#sub .corp-localnav,
  body#sub #contents,
  body#sub #contents.contact,
  body#sub #contents.privacy,
  body#sub #contents.jyusetsu-alliance {
    width: calc(100% - 40px) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  body#sub .corp-localnav {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .corp-works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body#sub #contents,
  body#sub #contents.contact,
  body#sub #contents.privacy,
  body#sub #contents.jyusetsu-alliance {
    padding: 28px 0 56px !important;
  }
  body#sub #contents img.corp-page-visual,
  .corp-page-visual {
    width: 100% !important;
    margin: 0 0 24px !important;
  }
  .corp-greet {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
  }
  .corp-greet-photo {
    min-height: 0;
    aspect-ratio: 16 / 9;
    order: -1;
    background: #fff;
  }
  .corp-greet-photo::before {
    display: none;
  }
  .corp-greet-photo img {
    top: calc(-8% - 60px);
    width: 180% !important;
    height: 180% !important;
    object-position: 50% 12% !important;
  }
  .corp-greet-copy {
    padding: 22px 20px 24px;
  }
  .corp-greet-copy p,
  .corp-greet-meta span {
    white-space: normal;
  }
  .greet-interview {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 18px;
  }
  body#sub #contents .greet-interview-copy h3,
  .greet-interview-copy h3 {
    font-size: 18px;
  }
  .corp-section { padding: 56px 0; }
  .corp-hero { min-height: 72vh; }
  .corp-hero p br { display: none; }
  .corp-hero-line { white-space: normal; }
  #thought-box img {
    grid-column: auto;
    grid-row: auto;
    float: none !important;
    width: 100%;
    min-height: 200px;
    padding: 0 !important;
  }
  #ji-1, #ji-2, #ji-3, #ji-4, #ji-5, #ji-6,
  #setsubi-1, #setsubi-2, #setsubi-3, #setsubi-4,
  #reform-1, #kaigo-1, #ec-1, #web-1, #it-1 {
    padding: 0 !important;
    background: none !important;
    min-height: 0 !important;
    height: auto !important;
  }
  .chocotto-banner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    align-items: stretch;
    min-height: 0;
    padding: 52px 16px 16px;
    gap: 16px;
  }
  .chocotto-banner-copy {
    grid-column: 1;
    grid-row: 1;
    max-width: 100%;
    padding: 0;
  }
  body#sub #contents .chocotto-banner-title {
    width: 100%;
  }
  .chocotto-banner-pc {
    display: none;
  }
  .chocotto-banner-action {
    grid-column: 1;
    grid-row: 2;
    justify-self: stretch;
    align-self: stretch;
    width: 100%;
  }
  .chocotto-banner-logo {
    top: 10px;
    right: 10px;
    padding: 5px 8px;
  }
  body#sub #contents .chocotto-banner-logo img {
    width: 104px;
    height: auto;
  }
  .chocotto-banner-cta {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 11px 18px;
    font-size: 15px;
    letter-spacing: 0.06em;
  }
}
