:root {
  --red: #d7193f;
  --deep: #2d2222;
  --heading: #4a4342;
  --ink: #2b2525;
  --muted: #756b6b;
  --line: #f0dfe1;
  --rose: #fff2f4;
  --bg: #fffaf8;
  --shadow: 0 22px 70px rgba(60, 20, 28, .12);
  --gothic: "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  --mincho: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif
}
* {
  box-sizing: border-box
}
body {
  margin: 0;
  background: var(--bg);
  font-family: var(--gothic);
  color: var(--ink);
  line-height: 1.85;
  letter-spacing: .025em
}
a {
  text-decoration: none;
  color: inherit
}
img {
  display: block;
  max-width: 100%
}
.container {
  width: min(1440px, calc(100% - 80px));
  margin: auto
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: .7s
}
.reveal.on {
  opacity: 1;
  transform: none
}
.business-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow)
}
.side-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(60, 20, 28, .12)
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 900;
  transition: .25s;
  border: 0;
  cursor: pointer
}
.btn.primary {
  background: linear-gradient(135deg, var(--red), #b9152f);
  color: #fff;
  box-shadow: 0 16px 44px rgba(215, 25, 63, .29);
  position: relative;
  overflow: hidden;
  z-index: 0
}
.btn.primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ff3258, #8f0f28);
  transform: translateX(-100%);
  transition: transform .4s ease;
  z-index: -1
}
.btn.primary:hover::before {
  transform: translateX(0)
}
.btn.secondary {
  background: var(--deep);
  color: #fff
}
.btn.light {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--deep);
  position: relative;
  overflow: hidden;
  z-index: 0
}
.btn.light::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ececec;
  transform: translateX(-100%);
  transition: transform .4s ease;
  z-index: -1
}
.btn.light:hover::before {
  transform: translateX(0)
}
.btn.light::after {
  content: "→";
  margin-left: 7px;
  display: inline-block;
  transition: transform .25s ease
}
.btn.light:hover::after {
  transform: translateX(3px)
}
.btn:hover {
  transform: translateY(-2px)
}
.section {
  padding: 88px 0
}
.section.alt {
  background: #fff
}
.section.soft {
  background: #fff7f5
}
.eyebrow {
  font-size: 14px;
  letter-spacing: .2em;
  color: var(--red);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 6px
}
.eyebrow::before {
  content: "/";
  display: inline-block;
  transform: skewX(-12deg);
  font-weight: 900
}
.restored-hero {
  padding: 122px 0 46px;
  background: linear-gradient(135deg, #fff4f1, #fff, #ffe6e0);
  position: relative;
  overflow: hidden
}
.hero-wave {
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 110px;
  line-height: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden
}
.hero-wave svg {
  display: block;
  width: 100%;
  height: 100%
}
.hero-wave-l1,
.hero-wave-l2,
.hero-wave-l3 {
  fill: #ffd7cf
}
.hero-wave-l1 {
  opacity: .55;
  animation: heroWaveLoop 14s linear infinite
}
.hero-wave-l2 {
  opacity: .35;
  fill: #fff0ba;
  animation: heroWaveLoop 20s linear infinite reverse
}
.hero-wave-l3 {
  opacity: .25;
  animation: heroWaveLoop 9s linear infinite
}
@keyframes heroWaveLoop {
  from {
    transform: translateX(-200px)
  }

  to {
    transform: translateX(0)
  }
}
.restored-hero>.container {
  position: relative;
  z-index: 1
}
.restored-hero h1 {
  font-family: var(--gothic);
  font-weight: 300;
  font-size: clamp(34px, 4.8vw, 58px);
  letter-spacing: .11em;
  line-height: 1.3;
  margin: 10px 0 18px
}
.restored-hero .restored-lead {
  max-width: 1000px
}
.section-head {
  display: block;
  margin-bottom: 34px
}
.section-head h2 {
  font-family: var(--gothic);
  font-weight: 300;
  font-size: clamp(26px, 3.6vw, 42px);
  letter-spacing: .08em;
  line-height: 1.3;
  margin: 6px 0 0;
  color: var(--heading)
}
.section-head p {
  max-width: 980px;
  color: var(--muted);
  margin: 14px 0 0
}
#ec-group-companies-head,
#it-group-companies-head {
  display: block
}
#ec-group-companies-head p,
#it-group-companies-head p {
  max-width: none;
  margin-top: 10px
}
.restored-split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 34px;
  align-items: stretch
}
.restored-photo {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #efe8e8;
  min-height: 320px
}
.restored-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}
.restored-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 14px 44px rgba(60, 20, 28, .06);
  display: flex;
  flex-direction: column;
  justify-content: center
}
.restored-grid2 .restored-card,
.restored-grid3 .restored-card {
  justify-content: flex-start;
  transition: .25s
}
.restored-grid2 .restored-card:hover,
.restored-grid3 .restored-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow)
}
.restored-grid2 .restored-card>.btn,
.restored-grid3 .restored-card>.btn {
  margin-top: auto;
  align-self: flex-end
}
.restored-card h2,
.restored-card h3 {
  font-family: var(--gothic);
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.4;
  color: var(--heading)
}
.ec-message-copy h2 {
  font-family: var(--mincho);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--heading)
}
#about-ec-solution .restored-card h2,
#about-it-solution .restored-card h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 300;
  letter-spacing: .06em
}
.restored-grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px
}
.restored-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px
}
.restored-grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px
}
.tag {
  display: inline-block;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 900;
  color: var(--red);
  background: var(--rose);
  margin-bottom: 12px
}
.business-tab-page {
  padding-top: 0
}
.business-tab-sticky {
  position: sticky;
  top: 78px;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(60, 20, 28, .05)
}
@media (max-width: 980px) {
  .business-tab-sticky {
    top: 70px;
  }
}
.business-tab-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 auto
}
.business-tab {
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  padding: 12px 20px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .02em;
  white-space: nowrap;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: .2s;
  display: flex;
  align-items: center;
  justify-content: center
}
.business-tab:hover {
  color: var(--deep)
}
.business-tab.active {
  color: var(--red);
  border-bottom-color: var(--red)
}
.domain-card {
  text-align: center
}
.domain-icon {
  margin: 0 auto 14px;
  font-size: 26px
}
.business-content {
  display: none
}
.business-content.active {
  display: block
}
.business-content>.section:first-child {
  padding-top: 40px
}
.business-bottom-switch {
  margin-top: 40px;
  background: linear-gradient(135deg, #fff4f1, #fff);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 18px 52px rgba(60, 20, 28, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}
#ec-group-companies .business-bottom-switch {
  margin-top: 128px
}
.business-bottom-switch h3 {
  font-family: var(--gothic);
  font-weight: 500;
  letter-spacing: .02em;
  font-size: 28px;
  line-height: 1.4;
  margin: 0 0 8px
}
.business-bottom-switch p {
  margin: 0;
  color: var(--muted)
}
.ec-three-column {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px
}
.it-domain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px
}
.domain-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 14px 38px rgba(60, 20, 28, .07)
}
.domain-icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-weight: 900;
  font-size: 22px;
  margin-bottom: 14px
}
.domain-card h4 {
  font-family: var(--gothic);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: .02em;
  line-height: 1.4;
  margin: 0 0 10px;
  color: var(--heading)
}
.domain-card p {
  margin: 0;
  color: var(--muted)
}
.role-bubble {
  display: inline-block;
  background: var(--deep);
  color: #fff;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 12px
}
.client-logo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 12px 36px rgba(60, 20, 28, .05)
}
.client-logo-image-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  min-height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 36px rgba(60, 20, 28, .05)
}
.client-logo-image-card img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain
}
.client-logo-card strong {
  display: block;
  font-size: 22px;
  color: var(--deep)
}
.client-logo-card span {
  display: block;
  color: var(--muted);
  font-size: 12px
}
.ec-proof-grid-five {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px
}
.logo-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent)
}
.logo-marquee-row+.logo-marquee-row {
  margin-top: 22px
}
.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 52px;
  width: max-content;
  animation-name: logoMarquee;
  animation-timing-function: linear;
  animation-iteration-count: infinite
}
.logo-marquee-track img {
  height: 52px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  opacity: .7;
  filter: grayscale(15%);
  transition: opacity .2s
}
.logo-marquee-track img:hover {
  opacity: 1
}
.logo-marquee:hover .logo-marquee-track {
  animation-play-state: paused
}
@keyframes logoMarquee {
  from {
    transform: translateX(0)
  }
  to {
    transform: translateX(-50%)
  }
}
@media(prefers-reduced-motion:reduce) {
  .logo-marquee-track {
    animation: none
  }
}
@media(max-width:620px) {
  .logo-marquee-track img {
    height: 38px
  }
  .logo-marquee-track {
    gap: 34px
  }
}
.it-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px
}
.ec-case-grid-five {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-top: 26px
}
.ec-case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px
}
.industry {
  color: var(--red);
  font-size: 12px;
  font-weight: 900
}
.ec-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 14px
}
.ec-message-block {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 34px
}
.ec-message-block .eyebrow {
  color: #ff5470
}
.ec-message-copy h2 {
  color: #fff
}
.ec-message-copy p {
  color: rgba(255, 255, 255, .72)
}
.ec-message-signature {
  font-size: 18px
}
.ec-message-reading {
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
  margin-left: 8px;
  font-weight: 400
}
.ec-message-copy p b {
  color: #fff
}
.ec-message-photo {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, .06);
  display: flex;
  min-height: 330px
}
.photo-placeholder {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(255, 255, 255, .45);
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .04) 0 10px, transparent 10px 20px);
  font-weight: 900
}
.ec-message-copy h2 {
  font-size: 40px;
  margin: 6px 0
}
.ec-company-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}
.it-company-logos-four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px
}
.ec-company-logos-seven {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px
}
.ec-company-logo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px
}
.ec-company-logo strong {
  display: block;
  font-size: 20px;
  color: var(--red)
}
.ec-company-logo span {
  font-size: 13px;
  color: var(--muted)
}
.company-logo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  min-height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 36px rgba(60, 20, 28, .05)
}
.company-logo-card img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain
}
.ec-company-logos-seven.company-logo-grid,
.it-company-logos-four.company-logo-grid {
  align-items: stretch
}
@media(max-width:980px) {
  .menu {
    display: none
  }
  .restored-split,
  .ec-message-block {
    grid-template-columns: 1fr
  }
  .ec-three-column,
  .it-domain-grid,
  .it-proof-grid,
  .ec-case-grid-five,
  .ec-company-logos,
  .ec-company-logos-seven,
  .it-company-logos-four {
    grid-template-columns: repeat(2, 1fr)
  }
  .ec-proof-grid-five {
    grid-template-columns: repeat(3, 1fr)
  }
  .business-bottom-switch {
    display: block
  }
  .business-bottom-switch .btn {
    margin-top: 18px
  }
}
@media(max-width:620px) {
  .container {
    width: calc(100% - 28px)
  }
  .nav {
    width: calc(100% - 14px)
  }
  .ec-three-column,
  .it-domain-grid,
  .it-proof-grid,
  .ec-proof-grid-five,
  .ec-case-grid-five,
  .ec-company-logos,
  .ec-company-logos-seven,
  .it-company-logos-four,
  .restored-grid2,
  .restored-grid3,
  .restored-grid4 {
    grid-template-columns: 1fr
  }
}
.ec-message-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block
}
.ec-solution-group-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: stretch
}
.ec-solution-group-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 14px;
  box-shadow: 0 12px 36px rgba(60, 20, 28, .05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  min-height: 132px
}
.ec-solution-group-card .logo {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 12px
}
.ec-solution-group-card img {
  max-width: 100%;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain
}
.ec-solution-group-card p {
  margin: 0;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  background: var(--rose);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  white-space: nowrap
}
@media(max-width:1180px) {
  .ec-solution-group-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}
@media(max-width:620px) {
  .ec-solution-group-grid {
    grid-template-columns: 1fr
  }
  .ec-solution-group-card {
    min-height: auto
  }
  .ec-solution-group-card p {
    white-space: normal
  }
}
/* EC solution requested updates v2 */
#message-masaya .ec-message-block {
  grid-template-columns: 320px 1fr;
  align-items: center
}
#message-masaya .ec-message-photo.small-square {
  width: 260px;
  height: 260px;
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  justify-self: center
}
#message-masaya .ec-message-photo.small-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block
}
#ec-group-companies .ec-solution-group-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: stretch
}
#ec-group-companies .ec-solution-group-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 14px 16px;
  box-shadow: 0 12px 36px rgba(60, 20, 28, .05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 158px
}
#ec-group-companies .ec-solution-group-card .logo {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 10px
}
#ec-group-companies .ec-solution-group-card img {
  max-width: 100%;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain
}
#ec-group-companies .ec-solution-group-card p {
  margin: 0 0 10px;
  color: #222;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  white-space: normal
}
#ec-group-companies .external-site-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
  text-decoration: none;
  transition: .2s
}
#ec-group-companies .external-site-link::after {
  content: "↗";
  font-size: 12px;
  color: var(--red)
}
#ec-group-companies .external-site-link:hover {
  background: var(--rose);
  border-color: var(--red);
  color: var(--red)
}
@media(max-width:1180px) {
  #ec-group-companies .ec-solution-group-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}
@media(max-width:980px) {
  #message-masaya .ec-message-block {
    grid-template-columns: 1fr
  }
  #message-masaya .ec-message-photo.small-square {
    width: 220px;
    height: 220px;
    margin-bottom: 10px
  }
}
@media(max-width:620px) {
  #ec-group-companies .ec-solution-group-grid {
    grid-template-columns: 1fr
  }
  #ec-group-companies .ec-solution-group-card {
    min-height: auto
  }
}
/* EC solution requested updates v3 */
#message-masaya .ec-message-photo.small-square img {
  object-position: center 8% !important;
}
/* President message updates v4 */
#message-it .ec-message-block {
  grid-template-columns: 320px 1fr;
  align-items: center
}
#message-it .ec-message-photo.small-square {
  width: 260px;
  height: 260px;
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  justify-self: center
}
#message-it .ec-message-photo.small-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block
}
@media(max-width:980px) {
  #message-it .ec-message-block {
    grid-template-columns: 1fr
  }
  #message-it .ec-message-photo.small-square {
    width: 220px;
    height: 220px;
    margin-bottom: 10px
  }
}
/* Requested updates v5: president portrait and IT group cards */
#message-masaya .ec-message-block,
#message-it .ec-message-block {
  grid-template-columns: 340px 1fr;
  align-items: center
}
#message-masaya .ec-message-photo.small-square,
#message-it .ec-message-photo.small-square {
  width: 300px;
  height: 380px;
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  justify-self: center
}
#message-masaya .ec-message-photo.small-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8% !important;
  display: block
}
#message-it .ec-message-photo.small-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block
}
#it-group-companies .it-solution-group-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch
}
#it-group-companies .it-solution-group-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 14px 16px;
  box-shadow: 0 12px 36px rgba(60, 20, 28, .05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 158px
}
#it-group-companies .it-solution-group-card .logo {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 10px
}
#it-group-companies .it-solution-group-card img {
  max-width: 100%;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain
}
#it-group-companies .it-solution-group-card p {
  margin: 0 0 10px;
  color: #222;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  white-space: normal
}
#it-group-companies .external-site-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
  text-decoration: none;
  transition: .2s
}
#it-group-companies .external-site-link::after {
  content: "↗";
  font-size: 12px;
  color: var(--red)
}
#it-group-companies .external-site-link:hover {
  background: var(--rose);
  border-color: var(--red);
  color: var(--red)
}
@media(max-width:1180px) {
  #it-group-companies .it-solution-group-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}
@media(max-width:980px) {
  #message-masaya .ec-message-block,
  #message-it .ec-message-block {
    grid-template-columns: 1fr
  }
  #message-masaya .ec-message-photo.small-square,
  #message-it .ec-message-photo.small-square {
    width: 260px;
    height: 340px;
    margin-bottom: 10px
  }
}
@media(max-width:620px) {
  #it-group-companies .it-solution-group-grid {
    grid-template-columns: 1fr
  }

  #it-group-companies .it-solution-group-card {
    min-height: auto
  }
}
/* Requested updates: EC proof achievements and IT-to-EC switch */
.ec-achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 26px 0 26px
}
.ec-achievement-card {
  background: linear-gradient(135deg, #fff, #fff6f5);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: 0 14px 40px rgba(60, 20, 28, .06);
  text-align: center
}
.ec-achievement-card .label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  margin-bottom: 6px
}
.ec-achievement-card strong {
  display: block;
  color: var(--red);
  font-family: var(--mincho);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: .02em
}
.ec-achievement-card span {
  display: block;
  color: #222;
  font-size: 13px;
  font-weight: 800;
  margin-top: 8px;
  line-height: 1.45
}
.ec-achievement-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  margin: -10px 0 24px
}
.ec-achievement-note a {
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 0, 43, .35)
}
.client-logo-lead {
  font-weight: 400;
  color: var(--muted);
  margin: 0 0 16px;
  text-align: center;
  font-size: 15px
}
@media(max-width:980px) {
  .ec-achievement-grid {
    grid-template-columns: 1fr
  }
}
/* Requested updates: student-facing EC copy and IT achievements with icons */
#it-proof .it-achievement-grid {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 20px;
  margin: 26px 0 24px;
  align-items: stretch
}
#it-proof .it-achievement-card {
  background: linear-gradient(135deg, #fff, #fff6f5);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: 0 14px 40px rgba(60, 20, 28, .06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center
}
#it-proof .it-achievement-card .label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
  margin-bottom: 8px
}
#it-proof .it-achievement-card strong {
  display: block;
  color: var(--red);
  font-family: var(--mincho);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: .02em
}
#it-proof .it-achievement-card span {
  display: block;
  color: #222;
  font-size: 13px;
  font-weight: 800;
  margin-top: 8px;
  line-height: 1.55
}
#it-proof .it-achievement-copy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 12px 36px rgba(60, 20, 28, .05)
}
#it-proof .it-achievement-copy h3 {
  font-family: var(--gothic);
  font-weight: 500;
  letter-spacing: .02em;
  font-size: 24px;
  line-height: 1.5;
  margin: 0 0 10px;
  color: var(--heading)
}
#it-proof .it-achievement-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9
}
#it-proof .it-theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px
}
#it-proof .it-theme-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: 0 12px 36px rgba(60, 20, 28, .05);
  min-height: 174px
}
#it-proof .it-theme-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff4f1;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 14px
}
#it-proof .it-theme-card h3 {
  font-size: 18px;
  margin: 0 0 7px;
  color: var(--deep)
}
#it-proof .it-theme-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0
}
#it-proof .it-proof-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  margin: 16px 0 0
}
#it-proof .it-proof-note a {
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 0, 43, .35)
}
@media(max-width:980px) {
  #it-proof .it-achievement-grid {
    grid-template-columns: 1fr
  }
  #it-proof .it-theme-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}
@media(max-width:620px) {
  #it-proof .it-theme-grid {
    grid-template-columns: 1fr
  }
}
/* Requested update: IT theme icons unified red style and 6-column layout */
#it-proof .it-theme-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 20px
}
#it-proof .it-theme-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 12px;
  box-shadow: 0 12px 36px rgba(60, 20, 28, .05);
  min-height: 190px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center
}
#it-proof .it-theme-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--red), #8f001f);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 13px;
  box-shadow: 0 10px 24px rgba(196, 0, 43, .18)
}
#it-proof .it-theme-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round
}
#it-proof .it-theme-card h3 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--deep);
  line-height: 1.35
}
#it-proof .it-theme-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
  text-align: left
}
@media(max-width:1180px) {
  #it-proof .it-theme-grid {
    grid-template-columns: repeat(3, 1fr)
  }

  #it-proof .it-theme-card {
    min-height: 170px
  }
}
@media(max-width:620px) {
  #it-proof .it-theme-grid {
    grid-template-columns: 1fr
  }
  #it-proof .it-theme-card {
    min-height: auto;
    text-align: left;
    align-items: flex-start
  }
  #it-proof .it-theme-icon {
    margin-left: 0
  }
}