/* ==========================================================================
   トップページ
   ========================================================================== */

/* --------------------------------------------------------------------------
   基本設定
   -------------------------------------------------------------------------- */
:root {
  --navy: #003461;
  --deep: #00294e;
  --blue: #009bd3;
  --gold: #f4a400;
  --ink: #15395b;
  --muted: #667e92;
  --line: #dbe9f3;
  --max: 1460px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: #f7fbff;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

button {
  font: inherit;
}

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(20px, 4.5vw, 64px);
}

.brand {
  display: flex;
  gap: 24px;
  align-items: center;
  min-width: 0;
}

.brand img {
  display: block;
  width: 220px;
  height: auto;
  max-height: 61px;
}

/* --------------------------------------------------------------------------
   見出し・ボタン
   -------------------------------------------------------------------------- */
.section-label {
  font-size: 11px;
  letter-spacing: .25em;
  font-weight: 800;
  color: #008fc8;
}

.section-title {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(28px, 2.55vw, 42px);
  font-weight: 600;
  line-height: 1.5;
  margin: 14px 0 23px;
  color: #06345e;
}

.about {
  position: relative;
  overflow: hidden;
  background: linear-gradient(106deg, #ffffff 15%, #f8fcff 51%, #e2f5fe);
  padding: 84px 0 86px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-width: 210px;
  padding: 13px 19px;
  border: 1px solid #009bd3;
  border-radius: 50px;
  color: #003461;
  background: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  margin-top: 17px;
  transition: background .2s, transform .2s;
}

.button:hover {
  background: #eaf8fe;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   選ばれる理由
   -------------------------------------------------------------------------- */
.strength {
  color: white;
  background:
    linear-gradient(90deg, #002547, #003c71e8),
    url("../../assets/network.jpg") center/cover no-repeat;
  padding: 60px 0;
}

.strength-inner {
  display: grid;
  grid-template-columns: 29% repeat(3, 1fr);
  align-items: stretch;
}

.strength-heading {
  border-left: 4px solid #00a1dd;
  padding: 8px 20px;
}

.strength-heading h2 {
  font-size: 22px;
  line-height: 1.65;
  margin: 0 0 15px;
}

.strength-heading small {
  letter-spacing: .23em;
  color: #91b9d4;
  font-size: 10px;
}

.strength-card {
  padding: 0 23px 0 28px;
  min-height: 165px;
  border-left: 1px solid #ffffff2f;
  position: relative;
}

.strength-card b {
  font-size: 43px;
  line-height: 1;
  color: #8adaff;
  font-weight: 400;
  letter-spacing: .03em;
}

.strength-card h3 {
  font-size: 14px;
  line-height: 1.5;
  margin: 14px 0 8px;
}

.strength-card p {
  font-size: 11px;
  line-height: 1.9;
  color: #c4ddee;
  margin: 0;
}

/* --------------------------------------------------------------------------
   セクション見出し
   -------------------------------------------------------------------------- */
.main-section {
  padding: 78px 0 16px;
  background: #fff;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 25px;
}

.section-heading h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: .03em;
}

.section-heading h2 span {
  font-size: 10px;
  color: #88a6b9;
  letter-spacing: .13em;
  font-weight: 500;
  margin-left: 12px;
}

.more {
  font-size: 11px;
  text-decoration: none;
  color: #007db8;
}

.more::after {
  content: "  ›";
  color: var(--gold);
  font-size: 20px;
}

/* --------------------------------------------------------------------------
   商品カード
   -------------------------------------------------------------------------- */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.detail-card {
  display: block;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  border: 1px solid #e7eff6;
  background: #fff;
  transition: box-shadow .2s, transform .2s;
}

.detail-card:hover,
.case-card:hover {
  box-shadow: 0 14px 28px #00346117;
  transform: translateY(-3px);
}

.detail-visual {
  height: 132px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #cbf1ff, #4caee0 55%, #034c82);
  position: relative;
  overflow: hidden;
}

.detail-visual::before {
  content: "";
  position: absolute;
  inset: -25%;
  background: repeating-linear-gradient(125deg, transparent 0 18px, #ffffff1b 19px 20px);
  transform: rotate(5deg);
}

.detail-card:nth-child(2) .detail-visual {
  background: linear-gradient(130deg, #a3dcf2, #217aad 60%, #063662);
}

.detail-text {
  padding: 17px 15px 23px;
}

.detail-text h3 {
  font-size: 13px;
  margin: 0 0 10px;
}

.detail-text p {
  font-size: 11px;
  line-height: 1.85;
  color: #607c91;
  margin: 0;
}

/* --------------------------------------------------------------------------
   活用シーン
   -------------------------------------------------------------------------- */
.cases {
  padding: 54px 0 72px;
  background: white;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 19px;
}

.case-card {
  background: #f8fcff;
  border: 1px solid #e2edf5;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}

.case-art {
  height: 152px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #dff4ff, #a5d0ed);
}

.case-card:nth-child(2) .case-art {
  background: linear-gradient(135deg, #b1e8fa, #448ac0);
}

.case-card:nth-child(3) .case-art {
  background: linear-gradient(135deg, #e6f9ff, #9dbed6);
}

.case-card:nth-child(4) .case-art {
  background: linear-gradient(135deg, #c8f3ff, #6baccf);
}

.case-copy {
  padding: 18px;
}

.case-copy h3 {
  font-size: 13px;
  line-height: 1.65;
  margin: 0 0 10px;
}

.case-copy span {
  font-size: 10px;
  border: 1px solid #f4a400;
  color: #b77c00;
  padding: 5px 8px;
}

/* --------------------------------------------------------------------------
   お知らせ・お問い合わせ
   -------------------------------------------------------------------------- */
.bottom {
  background: #f6fbff;
  padding: 40px 0 60px;
}

.bottom-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
}

.news h2 {
  font-size: 23px;
  margin: 0 0 18px;
}

.news h2 span {
  color: #99adbb;
  font-size: 11px;
  margin-left: 12px;
}

.news-list {
  border-top: 1px solid #d9e7ef;
}

.news-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  border-bottom: 1px solid #d9e7ef;
  padding: 14px 4px;
  font-size: 12px;
}

.news-row time {
  font-size: 11px;
  color: #59768d;
  min-width: 85px;
}

.badge {
  font-size: 10px;
  color: white;
  background: #008cc5;
  padding: 3px 9px;
  white-space: nowrap;
}

.badge.alt {
  background: #74b3d6;
}

.news-row .news-text {
  color: #325a77;
}

.contact-panel {
  background:
    linear-gradient(115deg, rgba(0, 43, 81, .91), rgba(0, 91, 141, .8)),
    url("../../assets/network.jpg") center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 35px 23px;
  color: white;
  min-height: 252px;
}

.contact-panel .mail {
  font-size: 27px;
  color: #a4eaff;
}

.contact-panel h2 {
  font-size: 19px;
  letter-spacing: .05em;
}

.contact-panel p {
  font-size: 11px;
  color: #d3eaf8;
}

.contact-panel .button {
  margin-top: 12px;
  border: 0;
  min-width: 265px;
}

/* --------------------------------------------------------------------------
   レスポンシブ（ここまでの基本部分）
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .brand img {
    width: 190px;
  }

  .strength-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .strength-heading {
    grid-column: 1/-1;
    margin-bottom: 28px;
  }

  .service-detail-grid {
    gap: 9px;
  }
}

@media (max-width: 800px) {
  .brand img {
    width: 173px;
    max-height: 49px;
  }

  .about {
    padding: 48px 0;
  }

  .strength-inner {
    grid-template-columns: 1fr;
  }

  .strength-heading {
    grid-column: auto;
  }

  .strength-card {
    padding: 24px 16px;
  }

  .main-section {
    padding: 52px 0 10px;
  }

  .service-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bottom-inner {
    grid-template-columns: 1fr;
  }

  .section-heading h2 {
    font-size: 22px;
  }
}

@media (max-width: 450px) {
  .service-detail-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .detail-visual {
    height: 140px;
  }

  .news-row {
    gap: 7px;
    flex-wrap: wrap;
  }

  .news-text {
    flex-basis: 100%;
  }
}

/* --------------------------------------------------------------------------
   下部エリア（商品紹介以降）の土台
   -------------------------------------------------------------------------- */
.continuous-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.continuous-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .13) 35%, rgba(255, 255, 255, .14) 52%, transparent 72%);
}

.about {
  background: none;
  padding: 78px 0 90px;
  min-height: 440px;
}

@media (max-width: 1000px) {
  .about {
    padding-top: 52px;
  }
}

@media (max-width: 800px) {
  .about {
    min-height: 0;
    padding: 55px 0 66px;
  }
}

/* --------------------------------------------------------------------------
   ヒーロー（背景・人物・パソコンの3層構成）
   -------------------------------------------------------------------------- */
:root {
  font-family: system-ui, "Yu Gothic", sans-serif;
  color: #153955;
  background: #e8f2fa;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.stage {
  width: 100%;
  height: clamp(410px, 47vw, 820px);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  background: #74c2f3;
}

.background {
  position: absolute;
  inset: 0;
  background-image: url("../../assets/background_optimized.webp");
  background-size: cover;
  background-position: center 51%;
  z-index: 0;
}

.woman,
.laptop {
  position: absolute;
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  max-width: none;
}

.woman {
  z-index: 2;
  width: var(--woman-size, 43%);
  left: var(--woman-left, -3%);
  bottom: var(--woman-bottom, 3%);
}

.laptop {
  z-index: 3;
  width: var(--laptop-size, 47%);
  left: var(--laptop-left, -12%);
  bottom: var(--laptop-bottom, -13%);
}

.copy {
  position: absolute;
  z-index: 4;
  top: 22%;
  left: 40%;
  width: 32%;
  text-align: center;
  color: #042b4c;
  text-shadow: 0 1px 16px #fff, 0 1px 6px #fff;
  isolation: isolate;
}

.copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -100px -155px -115px;
  background: radial-gradient(ellipse 50% 47% at 50% 48%, rgba(255, 255, 255, var(--glow-alpha, .94)) 0%, rgba(255, 255, 255, .78) 33%, rgba(255, 255, 255, .37) 65%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.copy .kicker {
  letter-spacing: .3em;
  font-size: 10px;
  font-weight: 700;
}

.copy h1 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(21px, 2.35vw, 40px);
  font-weight: 600;
  line-height: 1.55;
  margin: 18px 0;
}

.copy p {
  font-size: clamp(10px, 1vw, 15px);
  line-height: 1.8;
}

@media (max-width: 1000px) {
  .woman {
    width: var(--woman-size, 48%);
    left: var(--woman-left, -7%);
  }

  .laptop {
    width: var(--laptop-size, 54%);
    left: var(--laptop-left, -16%);
  }

  .copy {
    left: 41%;
    width: 38%;
  }
}

@media (max-width: 700px) {
  .stage {
    height: 580px;
  }

  .background {
    background-position: 58% center;
  }

  .woman {
    width: 85% !important;
    left: -34% !important;
    bottom: 8% !important;
  }

  .laptop {
    width: 90% !important;
    left: -36% !important;
    bottom: -5% !important;
  }

  .copy {
    top: 10%;
    left: 22%;
    width: 74%;
    padding: 10px;
    background: transparent;
    border-radius: 0;
  }

  .copy::before {
    inset: -38px -32px -47px;
    background: radial-gradient(ellipse 72% 54% at 50% 48%, rgba(255, 255, 255, .93) 0%, rgba(255, 255, 255, .78) 45%, rgba(255, 255, 255, 0) 100%);
  }

  .copy h1 {
    font-size: 22px;
  }
}

/* --------------------------------------------------------------------------
   ヒーロー：ネットワークの光のアニメーション
   -------------------------------------------------------------------------- */
.netfx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.netfx .route-base {
  fill: none;
  stroke: #b9f6ff;
  stroke-width: 1.35;
  opacity: .28;
}

.netfx .route-halo {
  fill: none;
  stroke: #46d5ff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  opacity: 0;
  animation: netconnect var(--period, 4.2s) ease-out infinite;
  animation-delay: var(--delay);
}

.netfx .route-core {
  fill: none;
  stroke: #ecfcff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  opacity: 0;
  animation: netconnectCore var(--period, 4.2s) ease-out infinite;
  animation-delay: var(--delay);
}

.netfx .hub {
  fill: #c8f6ff;
  stroke: #62dbff;
  stroke-width: 1;
  filter: url(#hubGlow);
  opacity: .4;
}

.netfx .pulse-ring {
  display: none;
}

.netfx .origin-center {
  fill: #fff;
  filter: url(#hubGlow);
  opacity: .86;
  animation: softOrigin 3.2s ease-in-out infinite;
}

.netfx .origin-ring {
  fill: none;
  stroke: #b4f7ff;
  stroke-width: 1.6;
  opacity: .42;
  transform-box: fill-box;
  transform-origin: center;
  animation: softRing 3.2s ease-in-out infinite;
}

@keyframes netconnect {
  0%, 2% {
    stroke-dashoffset: 100;
    opacity: 0;
  }
  4% {
    opacity: .66;
  }
  11% {
    stroke-dashoffset: 0;
    opacity: .70;
  }
  15% {
    stroke-dashoffset: 0;
    opacity: .45;
  }
  24%, 100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes netconnectCore {
  0%, 2% {
    stroke-dashoffset: 100;
    opacity: 0;
  }
  4% {
    opacity: .9;
  }
  11% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  15% {
    stroke-dashoffset: 0;
    opacity: .6;
  }
  24%, 100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes softOrigin {
  0%, 100% {
    opacity: .7;
  }
  50% {
    opacity: 1;
  }
}

@keyframes softRing {
  0%, 100% {
    opacity: .24;
    transform: scale(.9);
  }
  50% {
    opacity: .65;
    transform: scale(1.35);
  }
}

.copy .kicker,
.copy .line1,
.copy .line2,
.copy .subtext {
  display: block;
}

.copy.motion-on .kicker {
  animation: wordsIn .8s ease-out .1s both;
}

.copy.motion-on .line1 {
  animation: wordsIn .9s cubic-bezier(.2, .7, .2, 1) .55s both;
}

.copy.motion-on .line2 {
  animation: wordsIn .95s cubic-bezier(.2, .7, .2, 1) 1.25s both;
}

.copy.motion-on .subtext {
  animation: wordsIn .9s ease-out 2.15s both;
}

.copy.motion-on::before {
  animation: softBloom 3s ease-out both;
}

@keyframes wordsIn {
  from {
    opacity: 0;
    transform: translateY(19px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes softBloom {
  0% {
    opacity: .55;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .netfx *,
  .copy.motion-on *,
  .copy.motion-on::before {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  .netfx .route-core,
  .netfx .route-halo,
  .netfx .pulse-ring {
    display: none;
  }
}

:root {
  --navy: #003461;
  --gold: #f4a400;
  --muted: #5a7791;
  --line: #d9e9f2;
}

.stage {
  background: #74c2f3;
}

/* --------------------------------------------------------------------------
   ヒーロー：上部のグラデーション
   -------------------------------------------------------------------------- */
.stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 133px;
  z-index: 6;
  background: linear-gradient(180deg, rgba(244, 252, 255, .88), rgba(244, 252, 255, .50) 55%, transparent);
  pointer-events: none;
}

.copy {
  z-index: 7;
}

.woman {
  z-index: 2;
}

.laptop {
  z-index: 3;
}

@media (max-width: 700px) {
  .stage::before {
    height: 145px;
  }

  .copy {
    top: 22%;
  }
}

/* --------------------------------------------------------------------------
   下部エリアの背景
   -------------------------------------------------------------------------- */
.rem-lower-top {
  padding-top: 20px;
}

.rem-lower-top {
  background: linear-gradient(180deg, #8bc8ef 0%, #d4efff 15%, #edf8ff 100%);
}

.rem-lower-top::before {
  display: none;
}

.rem-lower-top .about {
  min-height: 526px;
  padding: 72px 0 76px;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .94) 20%, rgba(255, 255, 255, .79) 35%, rgba(255, 255, 255, .28) 54%, rgba(255, 255, 255, 0) 73%),
    url("../../assets/about_background_v2.1.png");
  background-color: #e7f6ff;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (max-width: 800px) {
  .rem-lower-top .about {
    padding: 60px 0;
    background-position: 61% center;
    background-image:
      linear-gradient(90deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .82) 50%, rgba(255, 255, 255, .18)),
      url("../../assets/about_background_v2.1.png");
  }
}

@media (max-width: 700px) {
  .rem-lower-top .about {
    min-height: 450px;
    padding: 55px 0;
    background-position: 63% center;
  }
}

/* --------------------------------------------------------------------------
   ヒーローと下部エリアのつなぎ目
   -------------------------------------------------------------------------- */
.stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 115px;
  z-index: 5;
  pointer-events: none;
  background-image: url("../../assets/about_background_v2.1.png");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .18) 25%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .18) 25%, #000 100%);
}

.rem-lower-top {
  padding-top: 0;
  background: #d7f1ff url("../../assets/about_background_v2.1.png") center top / 100% 100% no-repeat;
  overflow: visible;
}

.rem-lower-top .about {
  position: relative;
  min-height: 526px;
  background: none;
  padding: 70px 0 80px;
}

.rem-lower-top .about::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .93) 19%, rgba(255, 255, 255, .73) 35%, rgba(255, 255, 255, .25) 55%, transparent 75%);
}

@media (max-width: 700px) {
  .stage::after {
    height: 65px;
  }

  .rem-lower-top {
    background-size: auto 100%;
    background-position: 58% top;
  }

  .rem-lower-top .about {
    min-height: 450px;
    padding: 55px 0;
  }

  .rem-lower-top .about::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .8) 55%, rgba(255, 255, 255, .18));
  }
}

.stage::after {
  display: none !important;
}

.rem-lower-top {
  --scene-overlap: 220px;
  position: relative;
  isolation: isolate;
  margin-top: calc(-1 * var(--scene-overlap));
  padding-top: var(--scene-overlap);
  background: none !important;
  overflow: visible;
}

.rem-lower-top::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #d5ecfa;
  background-image: url("../../assets/about_background_v2.1.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .12) 42px, rgba(0, 0, 0, .38) 95px, rgba(0, 0, 0, .76) 163px, #000 220px);
  mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .12) 42px, rgba(0, 0, 0, .38) 95px, rgba(0, 0, 0, .76) 163px, #000 220px);
  pointer-events: none;
}

.rem-lower-top .about {
  background: transparent;
}

@media (max-width: 700px) {
  .rem-lower-top {
    --scene-overlap: 100px;
  }

  .rem-lower-top::before {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .5) 46px, #000 100px);
    mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .5) 46px, #000 100px);
  }
}

/* --------------------------------------------------------------------------
   商品カードの画像
   -------------------------------------------------------------------------- */
.service-detail-grid .detail-visual,
.service-detail-grid .detail-card:nth-child(n) .detail-visual {
  background: #e8f3f9;
}

.service-detail-grid .detail-visual::before {
  display: none;
}

.service-detail-grid .detail-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* --------------------------------------------------------------------------
   ヒーロー：ロゴタイプ（TELECORE / INFORMATION NETWORK）
   -------------------------------------------------------------------------- */
.copy .hero-mark {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 22px;
  color: #042b4c;
  text-shadow: 0 1px 10px rgba(255, 255, 255, .9);
}

.copy .hero-mark i {
  display: block;
  flex: 0 0 36px;
  width: 36px;
  height: 2px;
  background: #e5a619;
}

.copy .hero-mark p {
  margin: 0;
  line-height: 1.35;
  font-size: 11px;
  letter-spacing: .23em;
  font-weight: 700;
  white-space: nowrap;
}

.copy .hero-mark strong {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 22px;
  letter-spacing: .12em;
  line-height: 1.2;
}

.copy .hero-mark span {
  display: block;
}

.copy.motion-on .hero-mark {
  animation: wordsIn .9s ease-out 3.05s both;
}

@media (max-width: 700px) {
  .copy .hero-mark {
    gap: 9px;
    margin-top: 12px;
  }

  .copy .hero-mark i {
    flex-basis: 22px;
    width: 22px;
  }

  .copy .hero-mark p {
    font-size: 8px;
  }

  .copy .hero-mark strong {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .copy.motion-on .hero-mark {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   活用シーンの画像
   -------------------------------------------------------------------------- */
.cases .case-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

#search-product {
  scroll-margin-top: 20px;
}

:root {
  --woman-size: 47%;
  --woman-left: 3%;
  --woman-bottom: 14%;
  --laptop-size: 47%;
  --laptop-left: -8%;
  --laptop-bottom: -1%;
}

/* --------------------------------------------------------------------------
   ヒーロー：キャッチコピーを中央に配置（701px 以上）
   -------------------------------------------------------------------------- */
@media (min-width: 701px) {
  .stage .copy {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   ページ内リンクの着地位置（固定ヘッダーの高さ分を空ける）
   -------------------------------------------------------------------------- */
#products,
#company,
#contact,
#search-product {
  scroll-margin-top: 105px;
}

@media (max-width: 700px) {
  #products,
  #company,
  #contact,
  #search-product {
    scroll-margin-top: 150px;
  }
}

/* --------------------------------------------------------------------------
   商品カード（2枚構成）
   -------------------------------------------------------------------------- */
.service-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 36px);
}

.service-detail-grid .detail-visual {
  height: clamp(180px, 20vw, 285px);
}

.service-detail-grid .detail-card h3 {
  font-size: clamp(17px, 1.6vw, 23px);
}

@media (max-width: 700px) {
  .service-detail-grid .detail-visual {
    height: 175px;
  }
}

@media (max-width: 450px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-grid .detail-visual {
    height: 175px;
  }
}

/* --------------------------------------------------------------------------
   商品紹介エリアの位置と高さ
   -------------------------------------------------------------------------- */
.rem-lower-top .about {
  min-height: 758px;
  padding-top: 118px;
  padding-bottom: 80px;
}

@media (max-width: 700px) {
  .rem-lower-top .about {
    min-height: 681px;
    padding-top: 96px;
    padding-bottom: 55px;
  }
}

/* 商品紹介エリアの白い下地は表示しない */
.rem-lower-top .about::before {
  display: none;
}

/* --------------------------------------------------------------------------
   商品紹介エリア
   -------------------------------------------------------------------------- */
.rem-lower-top .products-stage {
  padding: 0;
  min-height: 758px;
  background: transparent;
  overflow: visible;
}

.rem-lower-top .products-stage::before {
  display: none !important;
}

.rem-lower-top .products-stage-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 758px;
  padding-top: 60px;
  padding-bottom: 48px;
}

.rem-lower-top .products-stage-inner::before {
  display: none !important;
}

.products-stage .feature-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 36px);
  width: 100%;
}

.products-stage .feature-cards .detail-card {
  min-width: 0;
}

.products-stage .feature-cards .detail-visual {
  height: clamp(180px, 20vw, 285px);
}

.products-stage .feature-cards .detail-text h3 {
  font-size: clamp(17px, 1.6vw, 23px);
}

/* --------------------------------------------------------------------------
   商品紹介の見出し（背後に白いぼかしを敷く）
   -------------------------------------------------------------------------- */
.products-seam-heading {
  position: relative;
  isolation: isolate;
  z-index: 2;
  text-align: center;
  margin-top: auto;
  padding: 55px 20px 24px;
}

.products-seam-heading::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: -32px -8% -20px;
  background: radial-gradient(ellipse 56% 55% at 50% 53%, rgba(255, 255, 255, .99) 0%, rgba(255, 255, 255, .93) 40%, rgba(255, 255, 255, .63) 68%, transparent 100%);
}

.products-seam-heading h2 {
  margin: 12px 0 9px;
  color: #06345e;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.48;
}

.products-seam-heading p {
  margin: 0;
  color: #275679;
  font-size: clamp(12px, 1.08vw, 15px);
  line-height: 1.8;
}

.company-section {
  padding: 78px 0 70px;
  background: #fff;
}

.company-overline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 17px;
  border-bottom: 1px solid #deebf2;
  font-size: 10px;
  letter-spacing: .22em;
  color: #8098aa;
}

.company-title {
  border-left: 4px solid #f4a400;
  padding-left: 28px;
}

.company-title .section-title {
  margin-bottom: 0;
}

.company-copy {
  padding-left: 20px;
  max-width: 475px;
}

.company-copy p {
  color: #59758a;
  line-height: 2.05;
  font-size: 14px;
  margin: 0;
}

@media (max-width: 850px) {
  .rem-lower-top .products-stage-inner {
    padding-top: 55px;
    padding-bottom: 35px;
  }

  .company-copy {
    padding-left: 0;
  }
}

@media (max-width: 700px) {
  .rem-lower-top .products-stage {
    min-height: 0;
  }

  .rem-lower-top .products-stage-inner {
    min-height: 0;
    padding-top: 110px;
    padding-bottom: 70px;
  }

  .products-stage .feature-cards {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: auto;
    gap: 16px;
  }

  .products-stage .feature-cards .detail-visual {
    height: 190px;
  }

  .products-seam-heading {
    margin-top: 25px;
    padding: 48px 6px 20px;
  }

  .products-seam-heading::before {
    inset: -24px -6% -16px;
  }

  .company-section {
    padding: 55px 0 50px;
  }
}

.rem-lower-top .products-stage .products-seam-heading {
  margin-top: 0;
  padding: 26px 20px 40px;
}

@media (max-width: 700px) {
  .rem-lower-top .products-stage .products-seam-heading {
    margin-top: 0;
    padding: 18px 6px 32px;
  }
}

.rem-lower-top .products-stage .products-seam-heading {
  transform: translateY(-25px);
}

/* --------------------------------------------------------------------------
   商品カードの幅（701px 以上）
   -------------------------------------------------------------------------- */
@media (min-width: 701px) {
  .products-stage .feature-cards {
    gap: calc(clamp(18px, 2.4vw, 36px) + 40px);
  }

  .products-stage .feature-cards .detail-visual {
    height: clamp(170px, calc(20vw - 10px), 275px);
  }
}

/* --------------------------------------------------------------------------
   会社紹介（写真とテキストの2カラム）
   -------------------------------------------------------------------------- */
.company-section.company-visual-v50 {
  background: #fff;
  padding: 38px 0 0;
  overflow: hidden;
}

.company-visual-v50 .company-overline {
  padding-bottom: 14px;
  margin-bottom: 24px;
}

.company-visual-v50 .company-visual-layout {
  width: 100%;
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 500px;
  align-items: stretch;
}

.company-visual-v50 .company-photo {
  overflow: hidden;
  min-width: 0;
  position: relative;
  background: #bcd6e9;
}

.company-visual-v50 .company-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
}

.company-visual-v50 .company-visual-copy {
  min-width: 0;
  padding: 48px clamp(34px, 5.6vw, 110px) 48px clamp(32px, 4.4vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}

.company-visual-v50 .company-title {
  min-width: 0;
  margin: 0;
  border-left: 4px solid #f4a400;
  padding-left: 27px;
}

.company-visual-v50 .company-title .section-title {
  margin: 16px 0 0;
  font-size: clamp(29px, 2.75vw, 48px);
  line-height: 1.42;
  letter-spacing: .055em;
}

.company-visual-v50 .company-copy {
  padding: 0;
  margin: 0;
  min-width: 0;
  max-width: 480px;
}

.company-visual-v50 .company-copy p {
  font-size: clamp(13px, 1vw, 15px);
  line-height: 2.1;
  margin: 0 0 22px;
}

.company-visual-v50 .company-copy .button {
  min-width: 210px;
}

@media (max-width: 880px) {
  .company-visual-v50 .company-visual-layout {
    grid-template-columns: 50% 50%;
    min-height: 420px;
  }

  .company-visual-v50 .company-visual-copy {
    padding: 30px 24px;
    gap: 20px;
  }

  .company-visual-v50 .company-title {
    padding-left: 18px;
  }
}

@media (max-width: 640px) {
  .company-section.company-visual-v50 {
    padding-top: 28px;
  }

  .company-visual-v50 .company-overline {
    margin-bottom: 14px;
  }

  .company-visual-v50 .company-visual-layout {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .company-visual-v50 .company-photo {
    height: 230px;
  }

  .company-visual-v50 .company-visual-copy {
    padding: 33px 6vw 45px;
    gap: 24px;
  }

  .company-visual-v50 .company-title .section-title {
    font-size: clamp(29px, 7.3vw, 40px);
  }
}

/* --------------------------------------------------------------------------
   商品カード：写真と半透明のキャプション
   -------------------------------------------------------------------------- */
.products-stage .feature-cards .detail-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(300px, calc(20vw + 75px), 385px);
  overflow: hidden;
  background: #073557;
  border: 1px solid rgba(255, 255, 255, .7);
  isolation: isolate;
}

.products-stage .feature-cards .detail-visual,
.products-stage .feature-cards .detail-card:nth-child(n) .detail-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #073557;
}

.products-stage .feature-cards .detail-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 写真上のグラデーションは表示しない */
.products-stage .feature-cards .detail-visual::after {
  display: none !important;
  content: none !important;
}

.products-stage .feature-cards .detail-text {
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
  padding: 22px 28px 22px;
  background: linear-gradient(to bottom, transparent 0 15px, rgba(0, 37, 72, .78) 15px 100%);
  color: #fff;
}

.products-stage .feature-cards .detail-text h3 {
  color: #fff;
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.4;
  margin: 0 0 10px;
  text-shadow: none;
}

.products-stage .feature-cards .detail-text p {
  color: #e9f5ff;
  font-size: clamp(11px, .9vw, 13px);
  line-height: 1.8;
  text-shadow: none;
}

.products-stage .feature-cards .detail-card:hover {
  box-shadow: 0 13px 25px rgba(0, 40, 76, .17);
}

@media (max-width: 700px) {
  .products-stage .feature-cards .detail-card {
    min-height: 295px;
  }

  .products-stage .feature-cards .detail-text {
    padding: 20px 23px 20px;
  }
}

/* --------------------------------------------------------------------------
   会社紹介：余白と幅
   -------------------------------------------------------------------------- */
.company-section {
  padding: 62px 0 56px;
}

.company-section .company-title {
  min-width: 0;
  margin-left: 0;
}

.company-section .company-copy {
  min-width: 0;
  max-width: none;
  padding-left: 0;
}

.company-section .company-copy p {
  max-width: 480px;
}

@media (max-width: 850px) {
  .company-section .company-copy {
    padding-left: 0;
  }
}

.company-section.company-visual-v50 {
  padding-top: 68px;
}

.company-visual-v50 .company-visual-layout {
  grid-template-columns: 50% 50%;
}

.company-visual-v50 .company-visual-copy {
  gap: 24px;
}

.company-visual-v50 .company-overline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 12px;
  padding: 0 0 14px;
  border-bottom: 1px solid #deebf2;
  font-size: 10px;
  letter-spacing: .16em;
  color: #8098aa;
}

@media (max-width: 880px) {
  .company-visual-v50 .company-visual-copy {
    gap: 18px;
  }

  .company-visual-v50 .company-overline {
    font-size: 9px;
    letter-spacing: .08em;
  }
}

@media (max-width: 640px) {
  .company-section.company-visual-v50 {
    padding-top: 58px;
  }

  .company-visual-v50 .company-visual-copy {
    gap: 22px;
  }
}

/* --------------------------------------------------------------------------
   商品カード：キャプションの文字
   -------------------------------------------------------------------------- */
.products-stage .feature-cards .detail-text {
  padding: 17px 15px 23px;
}

.products-stage .feature-cards .detail-text h3 {
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: normal;
  margin: 0 0 10px;
}

.products-stage .feature-cards .detail-text p {
  font-size: 11px;
  line-height: 1.85;
  margin: 0;
}

@media (max-width: 700px) {
  .products-stage .feature-cards .detail-text {
    padding: 17px 15px 23px;
  }
}

.products-stage .feature-cards .detail-text {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  column-gap: 13px;
  width: 100%;
  padding: 12px 15px;
  background: rgba(0, 37, 72, .82);
  min-height: 78px;
}

.products-stage .feature-cards .detail-text .product-icon {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
}

.products-stage .feature-cards .detail-text h3 {
  margin: 0;
  font-size: clamp(16px, 1.32vw, 20px);
  line-height: 1.4;
  white-space: nowrap;
}

.products-stage .feature-cards .detail-text p {
  margin: 0 0 0 2px;
  font-size: clamp(10px, .78vw, 12px);
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .products-stage .feature-cards .detail-text {
    grid-template-columns: 33px minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 9px;
    padding: 11px 12px;
    min-height: 72px;
  }

  .products-stage .feature-cards .detail-text .product-icon {
    width: 32px;
    height: 32px;
  }

  .products-stage .feature-cards .detail-text h3 {
    font-size: clamp(13px, 1.6vw, 18px);
  }

  .products-stage .feature-cards .detail-text p {
    font-size: 10px;
  }
}

@media (max-width: 700px) {
  .products-stage .feature-cards .detail-text {
    grid-template-columns: 34px minmax(0, 1fr) minmax(0, .88fr);
    gap: 9px;
    padding: 11px 12px;
    min-height: 70px;
  }

  .products-stage .feature-cards .detail-text h3 {
    font-size: clamp(13px, 3.4vw, 18px);
  }

  .products-stage .feature-cards .detail-text p {
    font-size: 10px;
  }
}

@media (max-width: 370px) {
  .products-stage .feature-cards .detail-text {
    grid-template-columns: 28px minmax(0, 1.15fr) minmax(0, .9fr);
    gap: 6px;
    padding: 9px 8px;
  }

  .products-stage .feature-cards .detail-text .product-icon {
    width: 27px;
    height: 27px;
  }

  .products-stage .feature-cards .detail-text h3 {
    font-size: 12px;
  }

  .products-stage .feature-cards .detail-text p {
    font-size: 9px;
  }
}

/* --------------------------------------------------------------------------
   会社紹介：ボタンの配置
   -------------------------------------------------------------------------- */
.company-visual-v50 .company-copy {
  width: 100%;
  max-width: none;
}

.company-visual-v50 .company-copy p {
  max-width: 480px;
}

.company-visual-v50 .company-copy .button {
  display: flex;
  width: 210px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   お問い合わせ：ボタンの配置
   -------------------------------------------------------------------------- */
.contact-panel .contact-button-row {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.contact-panel .contact-button-row .button {
  margin-left: 0;
  margin-right: 0;
}

/* 活用シーンのカードはリンクではないため、ホバー時も変化させない */
.cases .case-card,
.cases .case-card:hover {
  cursor: default;
  transform: none;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   ボタン：文字と矢印をまとめて中央に配置
   -------------------------------------------------------------------------- */
.company-visual-v50 .company-copy .button,
.contact-panel .contact-button-row .button {
  justify-content: center;
  gap: 1em;
}

/* --------------------------------------------------------------------------
   ボタンの矢印アイコン
   -------------------------------------------------------------------------- */
.company-visual-v50 .company-copy .button > .button-chevron,
.contact-panel .contact-button-row .button > .button-chevron {
  display: block;
  flex: none;
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   ヒーロー：3層の画像を読み込み後にまとめて表示（home.js が .hero-images-ready を付与）
   -------------------------------------------------------------------------- */
.stage:not(.hero-images-ready) > .background,
.stage:not(.hero-images-ready) > .woman,
.stage:not(.hero-images-ready) > .laptop,
.stage:not(.hero-images-ready) > .netfx,
.stage:not(.hero-images-ready) > .copy {
  opacity: 0;
}

.stage.hero-images-ready > .background,
.stage.hero-images-ready > .woman,
.stage.hero-images-ready > .laptop,
.stage.hero-images-ready > .netfx,
.stage.hero-images-ready > .copy {
  transition: opacity .3s ease;
}

@media (prefers-reduced-motion: reduce) {
  .stage.hero-images-ready > .background,
  .stage.hero-images-ready > .woman,
  .stage.hero-images-ready > .laptop,
  .stage.hero-images-ready > .netfx,
  .stage.hero-images-ready > .copy {
    transition: none;
  }
}

.stage > .background,
.stage > .woman,
.stage > .laptop,
.stage > .netfx,
.stage > .copy {
  opacity: 1 !important;
}

/* --------------------------------------------------------------------------
   ヒーロー：スマホ表示（700px 以下）
   -------------------------------------------------------------------------- */
@media (max-width: 700px) {
  .stage > .woman {
    display: none !important;
  }

  .stage .copy {
    left: 50%;
    top: 17%;
    width: calc(100% - 24px);
    max-width: none;
    padding: 0;
    transform: translateX(-50%);
    text-align: center;
  }

  .stage .copy h1 {
    font-size: clamp(17px, 5.1vw, 20px);
    line-height: 1.55;
    margin: 18px 0;
  }

  .stage .copy h1 .line1,
  .stage .copy h1 .line2 {
    display: block;
    white-space: nowrap;
  }

  .stage .copy::before {
    inset: -34px -8px -42px;
  }
}

@media (max-width: 700px) {
  .stage {
    height: 460px;
  }

  .stage .copy {
    top: 26%;
  }

  .rem-lower-top .products-stage-inner {
    padding-top: 45px;
  }
}
