@charset "UTF-8";
html { scroll-behavior: smooth; }
.foot-t { padding-top: 0;}
.radious20 { border-radius: 20px;}
.show-1100 { display: none;}
@media screen and (max-width: 1300px) {
  .head_mailmagabtn.min { opacity: 0; pointer-events: none; }
}
.show-1200 { display: none;}
@media screen and (max-width: 1200px) {
  .show-1200 { display: block;}
  .hide-1200 { display: none;}
}
@media screen and (max-width: 1100px) {
  .show-1100 { display: block;}
  .hide-1100 { display: none;}
}
@media screen and (max-width: 900px) {
  .hide-900 { display: none;}
}
@media screen and (max-width: 600px) {
  .hide-600 { display: none;}
}
@media screen and (max-width: 450px) {
  .show-450 { display: block;}
  .hide-450 { display: none;}
}

/* サービス親ページ */

.guidanceul li {
  transform: translateY(100px);
  transition: transform 0.5s ease, box-shadow 0.3s ease;
}
.guidanceul.delighter.started li {
  transform: translateY(0);
}
/* 1つ目の数値が transform 用、2つ目の 0s が box-shadow 用 */
.guidanceul.delighter.started li:nth-child(1) { transition-delay: 0.0s, 0s; }
.guidanceul.delighter.started li:nth-child(2) { transition-delay: 0.2s, 0s; }
.guidanceul.delighter.started li:nth-child(3) { transition-delay: 0.4s, 0s; }
.guidanceul.delighter.started li:nth-child(4) { transition-delay: 0.6s, 0s; }
.guidanceul.delighter.started li:nth-child(5) { transition-delay: 0.8s, 0s; }
.guidanceul.delighter.started li:nth-child(6) { transition-delay: 1.0s, 0s; }

.guidanceul:not(.inner1100 *) li { width: calc(25% - 50px); }
@media screen and (max-width: 1600px) {
  .guidanceul:not(.inner1100 *) { margin-left: -20px; margin-bottom: -20px; }
  .guidanceul:not(.inner1100 *) li { width: calc(25% - 20px); margin-left: 20px; margin-bottom: 20px; }
  .guidanceul:not(.inner1100 *) .guidanceulimg p { font-size: clamp(28px, 3vw, 42px); }
}
@media screen and (max-width: 1100px) {
  .guidanceul:not(.inner1100 *) li { width: calc(50% - 20px); }
}
@media screen and (max-width: 600px) {
  .guidanceultxtwrap .viewmore { min-width: 180px; width: 180px; }
}

/* --- Main Visual --- */
.nsvmain { height: calc(100vh - 200px); background-size: cover !important; overflow: hidden; }
@media screen and (max-width: 900px) {
  .nsvmain { height: calc(100vh - 100px); }
}
.nsvmain::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover !important;
  z-index: -1;
  animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}
.creative .nsvmain::before { background: url(../images/service/consulting/creative/main.jpg) no-repeat center; }
.digital .nsvmain::before { background: url(../images/service/consulting/digital/main.jpg) no-repeat center; }
.marketing .nsvmain::before { background: url(../images/service/consulting/marketing/main.jpg) no-repeat center; }
.sales .nsvmain::before { background: url(../images/service/consulting/sales/main.jpg) no-repeat center; }
.subsidy .nsvmain::before { animation: none; background: url(../images/service/consulting/subsidy/main.jpg) no-repeat center; }

.corporate .nsvmain::before { background: url(../images/service/web/corporate/main.jpg) no-repeat center; }
.ec .nsvmain::before { background: url(../images/service/web/ec/main.jpg) no-repeat center; }
.lp .nsvmain::before { background: url(../images/service/web/lp/main.jpg) no-repeat center; }
.media .nsvmain::before { background: url(../images/service/web/media/main.jpg) no-repeat center; }
.recruit .nsvmain::before { background: url(../images/service/web/recruit/main.jpg) no-repeat center; }
.solution .nsvmain::before { background: url(../images/service/web/solution/main.jpg) no-repeat center; }

.ai-seo-content .nsvmain::before { background: url(../images/service/support/ai-seo-content/main.jpg) no-repeat center; }
.ma .nsvmain::before { background: url(../images/service/support/ma/main.jpg) no-repeat center; }
.maintenance .nsvmain::before { background: url(../images/service/support/maintenance/main.jpg) no-repeat center; }

.pmax .nsvmain::before { background: url(../images/service/webseo/pmax/main.jpg) no-repeat center; }
.remarketing .nsvmain::before { background: url(../images/service/webseo/remarketing/main.jpg) no-repeat center; }
.search .nsvmain::before { background: url(../images/service/webseo/search/main.jpg) no-repeat center; }
.seo .nsvmain::before { background: url(../images/service/webseo/seo/main.jpg) no-repeat center; }

.brochure .nsvmain::before { background: url(../images/service/graphic/brochure/main.jpg) no-repeat center; }
.logo .nsvmain::before { background: url(../images/service/graphic/logo/main.jpg) no-repeat center; }
.promotion .nsvmain::before { background: url(../images/service/graphic/promotion/main.jpg) no-repeat center; }

.drone .nsvmain::before { background: url(../images/service/photograph/drone/main.jpg) no-repeat center; }
.movie .nsvmain::before { background: url(../images/service/photograph/movie/main.jpg) no-repeat center; }
.photo .nsvmain::before { background: url(../images/service/photograph/photo/main.jpg) no-repeat center; }


.nsvmain::after { width: 100%; height: 100%; top: 0; left: 0; opacity: 0.7; mix-blend-mode: multiply;
background: linear-gradient(
  180deg, 
  #ffffff 0%, 
  #ffffff 18.7%, 
  #dadada 47.8%, 
  #333333 80.3%, 
  #333333 100%
); }
.nsvmaintxtwrap { margin-bottom: 80px; padding: 0 20px; text-align: center; color: #fff; position: relative; z-index: 2; }
.nsvmaintmid { margin-bottom: 25px; line-height: 1.5; }
/* --- MVタイトル (.nsvmaintmid) の1文字ずつ表示設定 --- */
.nsvmaintmid .nsv-char {
  display: inline-block;
  white-space: pre;
  opacity: 0;
  transform: translateY(10px);
  
  /* 1文字ずつ表示されるスピードと、JSから渡される遅延時間を設定 */
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: var(--rd);
  will-change: opacity, transform;
}
/* クラスがついたら順番に実体化 */
.nsvmaintmid.is-animated .nsv-char {
  opacity: 1;
  transform: translateY(0);
}

.scrolldown {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;  /* はみ出た線を隠す */
}

@media screen and (max-width: 900px) {
  .nsvmaintxtwrap { margin-bottom: 50px;}
  .nsvmaintmid { margin-bottom: 15px; }
  .nsvmaintxt p:not(:last-child) { margin-bottom: 10px; }
  .scrolldown {height: 30px; }
}

/* 動く直線ボーダー */
.scrolldown .line {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  animation: scrollLine 2.5s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}
@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  45% {
    transform: scaleY(1);
    transform-origin: top;
  }
  55% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* --- Contents Layout --- */
.nsvcontwrap {
  padding-top: 100px;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
}
@media screen and (max-width: 900px) {
  .nsvcontwrap {padding-top: 50px;}
}

/* ★ワープ防止：外枠の高さをメインコンテンツと確実に揃える */
#sidebar-wrap {
  width: 220px;
  position: relative;
}

/* 通常時のサイドバー */
#sidebar-inner {
  width: 220px; right: 0; top: 0; position: absolute;
  opacity: 1;
  transition: opacity 0.4s ease;
}

@media screen and (max-width: 1100px) {
  #sidebar-wrap { right: -40px; width: 180px;}
  #sidebar-inner { width: 180px; }
}

/* スクロール中の固定状態 */
#sidebar-inner.is-fixed {
  position: fixed;
  top: 100px;
}

/* 一番下に到達したときの状態 */
#sidebar-inner.is-bottom {
  position: absolute; /* ★絶対配置に切り替える */
  bottom: 0;          /* ★親要素（#sidebar-wrap）の「一番底」に固定 */
  top: auto !important;
  right: 0 !important;
  left: auto !important;
  width: 100%;
}

/* --- Mokuji --- */
.nsvmokuji { padding: 30px 20px 30px 15px; }
.nsvmokuji p { margin-bottom: 10px; }
.nsvmokujiul a { position: relative;padding: 8px 0 8px 15px;display: block;line-height: 1.5; transition: color 0.3s; }
.nsvmokujiul a::after { content: ""; position: absolute; left: 2px; top: calc(8px + 0.7em); width: 6px; height: 6px; background: #CAC6BC; border-radius: 50%; transform: translateY(-50%) scale(1); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s;}
.nsvmokujiul li.active a { font-weight: bold; color: #0099CC; }
.nsvmokujiul li.active a::after { background: #0099CC; transform: translateY(-50%) scale(1.33); }
/* --- Soudan Button (Right Side) --- */
.nsvcont-rbtnwrap { margin-top: 20px; padding: 20px 0; background: #0099CC; font-weight: bold; color: #fff;  }
.nsvcont-rbtnmid { line-height: 1.5; margin-bottom: 10px; text-align: center;}
.nsvcont-rbtn { width: 160px; height: 40px; border-radius: 20px; background: #fff; color: #0099CC; border: 2px solid #0099CC; }
@media screen and (max-width: 1100px) {
  .nsvmokuji {padding: 25px 10px 20px 10px; border-radius: 10px 0 0 10px; }
  .nsvmokujiul { font-size: 12px; letter-spacing: 0;}
  .nsvmokuji p { font-size: 14px; margin-bottom: 5px;}
  .nsvmokujiul a { padding: 4px 4px 4px 15px;}
  .nsvmokujiul a::after { top: calc(4px + 0.7em); }
  .nsvcont-rbtnwrap {margin-top: 10px;padding: 15px 0; border-radius: 10px 0 0 10px; }
  .nsvcont-rbtnmid { font-size: 12px;}
  .nsvcont-rbtn { width: 140px; }
}

/* Left Side */
.nsvcont-l { width: calc(100% - 250px); }
@media screen and (max-width: 1100px) {
  .nsvcont-l { width: calc(100% - 150px); }
}

@media screen and (max-width: 900px) {
  .nsvcont-r { display: none;}
  .nsvcont-l { width: 100%;}
}
.nsvblock { margin-bottom: 100px; }
.nsvmid { line-height: 1.6; text-align: center;
  padding-top: 100px;
  margin-top: -100px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 1.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}
.nsvmid.is-animated {
  opacity: 1;
  transform: translateY(0);
}
.bg-lb:has(.nsvmid) { margin-top: 150px;}
.bg-lb .nsvmid { padding-top: 50px; margin-top: -50px; }
.nsvtxt { margin: 30px 0 50px; text-align: center;}
@media screen and (min-width: 901px) {
  .nsvtxt { padding: 0 20px;}
}
@media screen and (max-width: 900px) {
  .nsvblock { margin-bottom: 10vw; }
  .nsvmid { padding-top: 50px; margin-top: -50px; }
  .bg-lb:has(.nsvmid) { margin-top: 100px;}
  .bg-lb .nsvmid { padding-top: 30px; margin-top: -30px; }
  .nsvtxt { margin: 15px 0 30px;}
  .nsvtxt p:not(:last-child) { margin-bottom: 10px;}
}

/* --- Tab Section --- */
.nsvtab-container { margin-bottom: 30px; }
/* 固定時のスタイル */
.nsvtab-container.is-fixed {
  position: fixed;
  z-index: 9999;
}
/* セクション底に張り付くスタイル */
.nsvtab-container.is-bottom {
  position: absolute;
  z-index: 99;
}
/* 位置が切り替わった時の「飛び」を防ぐストッパー */
.nsvtab-container.is-fixed,
.nsvtab-container.is-bottom {
  transition: none !important; /* 位置の自動アニメーションを強制キャンセル */
}


.nsvtab-wrapper { width: 100%; height: 60px;
  display: flex;
  position: relative; /* sliding-bgの基準点 */
  border: 1px solid #ccc;
  overflow: hidden; /* 背景のはみ出し防止 */
  background-color: #fff;
}

/* --- タブリスト --- */
.nsvtab-list {
  display: flex; align-items: center;
  list-style: none;
  z-index: 1; /* sliding-bgより上に配置 */
  width: calc(100% - 20px); margin: 0 auto;
}
/* --- タブアイテム --- */
.nsvtab-item {
  height: 40px; line-height: 42px; text-align: center;
  flex: 1; /* 均等幅に設定 */
  color: #333;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  user-select: none;
  white-space: nowrap;
  position: relative;
}
/* --- アクティブ（選択中）のタブ --- */
.nsvtab-item.is-active {
  color: #fff;
}
/* --- 動く背景- */
.sliding-bg {
  position: absolute;
  top: 10px;
  left: 10px;
  width: calc(100% - 20px);height: 40px;
  border-radius: 10px;
  background-color: #00A3DA;
  z-index: 0; /* タブ文字の下へ */
  transition: left 0.3s ease, width 0.3s ease, background-color 0.3s ease;
}
/* --- コンテンツエリア --- */
.nsvcontent-item {
  display: none;
}
.nsvcontent-item.is-active {
  display: block;
  animation: fadeIn 0.5s ease; /* ふんわり表示 */
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.nsvcontentwrap { padding-bottom: 80px; }
.nsvblock:has(.nsvcontentwrap) { margin-bottom: 20px; }
.nsvcontent-l { width: 50%; }
.nsvcontent-lmid { margin-bottom: 20px; }
.nsvcontent-ltxt { }
.nsvcontent-ltxt p:not(:last-child) { margin-bottom: 20px; }
.nsvcontent-r { width: calc(50% - 30px); }
.nsvcontent-r img {width: 100%; height: 100%; object-fit: cover;display: block; }

@media screen and (max-width: 900px) {
  .nsvtab-container { margin-bottom: 15px; }
  .nsvtab-wrapper { width: 100%; height: 60px; }
  .nsvtab-list { width: calc(100% - 10px); }
  .nsvtab-item { height: 50px; line-height: 1.3; display: flex; align-items: center; justify-content: center;}
  .sliding-bg { top: 4px; left: 5px; width: calc(100% - 10px); height: 50px; }
  .nsvcontentwrap { padding-bottom: 0; }
  .nsvblock:has(.nsvcontentwrap) { margin-bottom: 10vw; }
}
@media screen and (max-width: 750px) {
  .nsvcontentwrap { flex-direction: column-reverse; }
  .nsvcontent-l { width: 100%; }
  .nsvcontent-lmid { margin-bottom: 10px; }
  .nsvcontent-ltxt p:not(:last-child) { margin-bottom: 10px; }
  .nsvcontent-r { width: 100%; margin-bottom: 15px; aspect-ratio: 21 / 9; }
  .nsvcontent-r img {aspect-ratio: 21 / 9; height: 100% !important; }
}


/* --- Popup List --- */
.nsvpopul { margin: -20px; width: calc(100% + 20px); }
.nsvpopul li { width: calc(100% / 3); border-radius: 10px; padding: 20px; cursor: pointer;transition: transform 0.5s ease, box-shadow 0.5s ease;  }
.nsvpopul li:hover { box-shadow: 7px 7px 15px 0px rgba(0, 0, 0, 0.1); transform: translateY(-5px);}
.nsvpopulimg { max-width: 190px; margin: 0 auto 20px; }
.nsvpopulmid { margin-bottom: 15px; line-height: 1.5; text-align: center; }
.nsvpopultxt { letter-spacing: 0; text-align: justify; }
.nsvpopultxt span { display: inline-block; float: right; }
@media screen and (max-width: 750px) {
  .nsvpopul { margin: 0; width: 100%; }
  .nsvpopul li { display: flex; align-items: center; width: 100%; box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.1); }
  .nsvpopul li:hover { transform: translateY(0); box-shadow: none;}
  .nsvpopul li:not(:last-child) { margin-bottom: 10px;}
  .nsvpopulimg { width: 120px; margin: 0 auto; }
  .nsvpopultxtwrap { width: calc(100% - 120px); padding-left: 15px; }
  .nsvpopulmid { text-align: left; margin-bottom: 10px; }
}
@media screen and (max-width: 500px) {
  .nsvpopul li { 
    display: grid; 
    grid-template-columns: 100px 1fr; /* 左100px、右残り全部 */
    gap: 10px 15px; 
    align-items: start; 
  }
  
  .nsvpopultxtwrap { display: contents; }
  
  /* ★修正： grid-row: 1; を追加して「強制的に1行目」に配置 */
  .nsvpopulmid { 
    grid-column: 1 / -1; 
    grid-row: 1; 
    margin-bottom: 0; 
  }
  
  /* ★修正： grid-row: 2; を追加して「強制的に2行目の左」に配置 */
  .nsvpopulimg { 
    grid-column: 1 / 2; 
    grid-row: 2; 
    width: 100%; 
    margin: 0; 
  }
  
  /* ★修正： grid-row: 2; を追加して「強制的に2行目の右」に配置 */
  .nsvpopultxt { 
    grid-column: 2 / 3; 
    grid-row: 2; 
  }
}

.nsvpopblock {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nsvpopblock.is-active {
    opacity: 1;
    visibility: visible;
}
.nsvpopinner {
    padding: 15px;
    background-color: #fff; border: 1px solid #ccc;
    border-radius: 10px;
    max-width: 800px; max-height: calc(100vh - 200px);
    width: 90%;
    position: relative;
    box-sizing: border-box;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}
.nsvpopinner.ofs { overflow-y: scroll; }
.nsvpopinner .postarea { padding: 20px 50px 50px; }
.nsvpopinner .postarea h3 { line-height: 1.4; margin-top: 0;}
.nsvpopscroll {
    max-height: 80vh;
    overflow-y: auto;
    padding-right: 5px;
}
.nsvpopblock.is-active .nsvpopinner {
    transform: translateY(0);
}
.nsvpopclose {
    position: sticky;
    top: 0;
    left: calc(100% - 26px);
    width: 26px;
    height: 26px; border-radius: 50%; background: #C9C6BC;
    cursor: pointer;
}
.nsvpopclose::before,
.nsvpopclose::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background-color: #fff;
}
.nsvpopclose::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
.nsvpopclose::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.nsvpopimg { width: calc(260 / 690 * 100%); padding: calc(35px - 26px) 0 35px 35px; }
.nsvpopimg img { width: 100%; height: 100%; object-fit: cover;}
.nsvpoptxtwrap { width: calc(400 / 690 * 100%); padding: calc(35px - 26px) 35px 35px 0; }
.nsvpopmid { margin-bottom: 20px; }
.nsvpoptxt p { text-align: justify; }
.nsvpoptxt p:not(:last-child) { margin-bottom: 20px; }
@media screen and (max-width: 750px) {
  .nsvpopimg {padding: calc(35px - 26px) 0 25px 15px; }
  .nsvpoptxtwrap { padding: calc(35px - 26px) 15px 25px 0; }
  .nsvpopmid { margin-bottom: 10px; }
  .nsvpoptxt p:not(:last-child) { margin-bottom: 10px; }
}
@media screen and (max-width: 600px) {
  .nsvpopimg { display: none; }
  .nsvpoptxtwrap { width: 100%; padding: 5px 0 25px; }
  .nsvpopmid { text-align: center; border-bottom: 1px solid #ccc; padding-bottom: 5px; margin-bottom: 15px;}
}
@media screen and (max-width: 400px) {
  .nsvpopinner .postarea #satori__creative_container .satori__custom_form { padding: 0; background: none; }
}

/* --- Soudan Button (General) --- */
.nsvsoudanbtnwrap { width: 100%; padding: 35px; box-sizing: border-box; }
.nsvsoudanbtnwrap:not(:last-child) { margin-bottom: 100px;}
.nsvsoudanbtnwrap,
.nsvcont-rbtnwrap { transition: transform 0.5s ease, box-shadow 0.5s ease, background-color 0.5s ease; }
.nsvsoudanbtnwrap:hover,
.nsvcont-rbtnwrap:hover { color: #0099CC; background: #fff; box-shadow: 7px 7px 15px 0px rgba(0, 0, 0, 0.1); transform: translateY(-5px); }
.nsvsoudanbtn-l { width: calc(100% - 220px); }
.nsvsoudanbtn-lmid { margin-bottom: 10px; line-height: 1.5; }
.nsvsoudanbtn-ltxt { opacity: 0.8; line-height: 1.5; }
.nsvsoudanbtn-r { width: 200px; height: 50px; border-radius: 25px; border: 2px solid #0099CC; background: #fff; color: #0099CC; }
@media screen and (max-width: 1100px) {
 .nsvsoudanbtnwrap {  padding: 25px; flex-direction: column; text-align: center;}
 .nsvsoudanbtn-l { width: 100%; margin-bottom: 15px; }
}
@media screen and (max-width: 900px) {
  .nsvsoudanbtnwrap:not(:last-child) { margin-bottom: 70px;}
}


/* --- Step Section --- */
.nsvstepwrap { }
.nsvstep-l { width: calc(360 / 790 * 100%); }
.nsvstep-l img { width: 100%; height: 100%; display: block; object-fit: cover;}
.nsvstep-r { width: calc(390 / 790 * 100%); }

/* STEP */
.nsvstepol {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}
.nsvstepol::before,
.nsvstepol::after {
    display: none !important;
}
.nsvstepol li {
    position: relative;
    padding-left: 55px;
    padding-bottom: 50px;
}
.nsvstepol li::before {
    content: "";
    position: absolute;
    top: 53px;     /* 丸の下端（33px） + 20pxの余白 */
    bottom: 22px;  /* 次の丸の上端（-2px）から 20px手前 */
    left: 16px;    /* 丸の中心位置 */
    width: 2px;
    background-color: #fff; 
    z-index: 1;
}
.nsvstepol li::after {
    content: "";
    position: absolute;
    top: 53px;
    left: 16px;
    width: 2px;
    height: calc((100% - 75px) * (var(--li-line-height, 0) / 100));
    background-color: #EAEAEA; /* 伸びてくる薄いグレーの線 */
    z-index: 2;
}
.nsvstepol li:last-child {
    padding-bottom: 0;
}
.nsvstepol li:last-child::before,
.nsvstepol li:last-child::after {
    display: none !important;
}
.nsvstepolno {
    position: absolute;
    left: 0;
    top: -2px;
    width: 35px; 
    height: 35px; line-height: 1;
    border-radius: 50%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    z-index: 3;
}
.nsvstepol li:nth-child(1) .nsvstepolno { background-color: rgba(0, 153, 204, 0.5); }
.nsvstepol li:nth-child(2) .nsvstepolno { background-color:rgba(0, 153, 204, 0.7); }
.nsvstepol li:nth-child(3) .nsvstepolno { background-color: #0099CC; }
.nsvstepoltxtwrap { }
.nsvstepoltxtmid { line-height: 1.5; margin-bottom: 10px; }
.nsvstepoltxt { }

@media screen and (max-width: 900px) {
  .nsvstep-l { width: calc(360 / 790 * 100%); margin-left: -30px; }
  .nsvstep-r { width: calc(390 / 790 * 100% + 50px); margin-right: -10px; }
  .nsvstepol li { padding-left: 35px; padding-bottom: 30px; }
  .nsvstepol li::before { top: 33px; bottom: 12px; left: 10px; }
  .nsvstepol li::after { top: 33px;left: 12px;width: 2px;height: calc((100% - 45px) * (var(--li-line-height, 0) / 100)); }
  .nsvstepol li:last-child { padding-bottom: 0; }
  .nsvstepolno { width: 25px; height: 25px;font-size: 18px; }
}
@media screen and (max-width: 600px) {
  .nsvstepwrap { flex-direction: column;}
  .nsvstep-l { margin-bottom: 30px; width: 100%; aspect-ratio: 21 / 9; margin-left: 0; }
  .nsvstep-l img { aspect-ratio: 21 / 9; }
  .nsvstep-r { width: 100%; margin-right: 0; }
}


/* --- Slider (Splide) --- */
.nsvslider {
  position: relative !important; 
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 40px !important;
  margin: 0 auto !important;
  box-sizing: border-box;
}
.nsvslider .splide__track {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
}
.nsvslider .splide__list {
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
}
.nsvslider .splide__slide {
  box-sizing: border-box;
  flex-shrink: 0 !important;
  width: calc(100% - 120px) !important;
  max-width: 540px !important;
}
.nsvslider:not(.is-initialized) {
  visibility: hidden;
  opacity: 0;
}
.nsvslider.is-initialized {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.nsvslider .splide__pagination {
  position: absolute !important;
  bottom: 10px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  list-style: none !important;
  width: 100% !important;
  z-index: 10 !important;
}
.nsvslider .splide__pagination__page {
  background: #ccc !important;
  border: none !important;
  border-radius: 50% !important;
  width: 8px !important;
  height: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease !important;
}
.nsvslider .splide__pagination__page.is-active {
  background: #00A3DA !important;
  transform: scale(1.2) !important;
}

.nsvslider .splide__arrows { position: static !important;}
.nsvslider .splide__arrow {
  position: absolute !important;
  top: 0 !important;
  height: calc(100% - 40px) !important;
  z-index: 10 !important;
  width: 30px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.nsvslider .splide__arrow:hover { opacity: 1 !important; }
.nsvslider .splide__arrow svg {
  fill: #666 !important;
  width: 10px !important;
  height: 16px !important;
  display: block !important;
  transition: transform 0.2s ease !important;
}
.nsvslider .splide__arrow:hover svg {
  transform: scale(1.1) !important;
}

.nsvslider .splide__arrow--prev { left: calc(50% - 300px) !important; }
.nsvslider .splide__arrow--next { right: calc(50% - 300px) !important; }
.nsvslider .splide__arrow--prev svg { transform: scaleX(-1) !important; }
.nsvslider .splide__arrow--prev:hover svg { transform: scaleX(-1) scale(1.1) !important; }

.nsvsliderblock { padding: 30px 40px; height: 100%; border: 1px solid #ccc; }
.nsvslidermid { padding-bottom: 15px; margin-bottom: 15px; line-height: 1.5; border-bottom: 1px solid #ccc; }
.nsvslidertxt { }
.nsvslidertxt p:not(:last-child) { margin-bottom: 15px; }
@media (max-width: 900px) {
  .nsvslider { width:calc(100% + 60px) !important; margin-left: -30px !important; max-width: inherit !important; }
  .nsvsliderblock { padding: 15px; }
  .nsvslidermid { padding-bottom: 5px; margin-bottom: 10px;}
}
@media (max-width: 660px) {
  .nsvslider .splide__arrow--prev { left: 30px !important; }
  .nsvslider .splide__arrow--next { right: 30px !important; }
}

/* --- Accordion (dl/dt/dd) --- */
.nsvbgwrap {
    padding: 0 50px 50px;
    box-sizing: border-box;
    width: 100%;
}
.nsvacddl {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px 40px;
    box-sizing: border-box;
    width: 100%;
}
.nsvacddl dt {
    display: flex; line-height: 1.5;
    padding: 25px 0; 
    background-color: transparent;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.2s ease, border-color 0.3s ease, transform 0.3s ease, padding-bottom 0.3s ease;
}
.nsvacddl dt:hover { opacity: 0.8; }
.nsvacddl dt.is-active {
    border-bottom-color: transparent;
    padding-bottom: 10px;
}
.nsvacddl dt:last-of-type {
    border-bottom: 1px solid transparent;
}
.nsvacddlmark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    margin-top: 0.3em;
    margin-right: 6px;
    transform-origin: center;
    transition: transform 0.3s ease;
}
.nsvacddlmark::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 0 5px 8px; /* 右向き三角形 */
    border-color: transparent transparent transparent #00A3DA; /* 青色 */
}
.nsvacddl dt.is-active .nsvacddlmark { transform: rotate(90deg); }

.nsvacddl dd {
    margin: 0;
    padding: 0;                /* 閉じている時はパディング0 */
    max-height: 0;             /* 初期状態は閉じる */
    opacity: 0;
    overflow: hidden;
    line-height: 1.75;
    border-bottom: 1px solid transparent;
    color: #333;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease, opacity 0.2s ease, border-color 0.3s ease;
}
.nsvacddl dd p:not(:last-child) {
    margin: 0 0 0.75em 0;
}
.nsvacddl dd.is-active {
    padding: 0 0 30px 0;       /* ★上側の余白を10pxから0pxにして限界まで近づける */
    max-height: 600px;         /* 長文テキスト用 */
    opacity: 1;
    border-bottom: 1px solid #ccc; /* 開いた時はこの一番下だけに境界線を引く */
    transition: max-height 0.4s ease-in-out, padding 0.4s ease, opacity 0.4s ease, border-color 0.4s ease;
}

@media screen and (max-width: 1100px) {
  .nsvbgwrap { padding: 0 25px 50px; }
  .nsvacddl { margin-top: -10px; }
}
@media screen and (max-width: 900px) {
  .nsvbgwrap { padding: 0 20px 20px; }
  .nsvacddl { border-radius: 10px; padding: 10px 20px; }
  .nsvacddl dt { padding: 15px 0; }
  .nsvacddl dt.is-active { padding-bottom: 10px; }
  .nsvacddl dd.is-active { padding: 0 0 15px 0; }
}
@media screen and (max-width: 450px) {
  .nsvacddl { padding: 10px; }
}

/* --- Can Section --- */
.nsvcanwrap { padding-bottom: 50px; margin-bottom: 50px; border-bottom: 1px solid #ccc; }
.nsvcanimg { width: 230px; }
.nsvcanimg img { width: 100%; height: 100%; object-fit: cover; display: block; overflow: hidden; }
.nsvcantxtwrap { width: calc(100% - 230px - 30px); }
.nsvcanmid { margin-bottom: 20px; }
.nsvcantxt { }
.nsvcantxt p { margin-bottom: 30px; }
.listul { }
.listul li { padding-left: 1em; position: relative;  }
.listul li::after { content: "・"; position: absolute; top: 0; left: 0;}
@media (min-width: 651px) and (max-width: 900px) {
  .nsvcanwrap { display: block; position: relative; padding: 60px 0 30px; margin-bottom: 30px; }
  .nsvcanimg { position: absolute; top: 60px; left: 0; bottom: 30px; width: 230px; }
  .nsvcanimg img { width: 100%; height: 100%; object-fit: cover; }
  .nsvcantxtwrap { width: calc(100% - 260px); margin-left: 260px; }
  .nsvcanmid { position: absolute; top: 0; left: 0; width: 100%; margin-bottom: 0;}
  .nsvcantxt p { margin-bottom: 15px; }
  .listul li { padding-left: 1em; position: relative; }
  .listul li::after { content: "・"; position: absolute; top: 0; left: 0; }
}
@media screen and (max-width: 900px) {
  .nsvcanmid { text-align: center; }
}
@media screen and (max-width: 650px) {
  .nsvcanimg { width: 100%; aspect-ratio: 21 / 9; margin-bottom: 30px; }
  .nsvcantxtwrap { width: 100%; }
}


/* --- Last Button Section --- */
.nsvlastwrap { }
.nsvlastbtnwrap { gap: 50px; }
.nsvlastbtnwrap .flex-center {
  width: 200px;
  height: 50px;
  border-radius: 25px;
  border: 2px solid #0099CC;
  font-weight: bold;
  transition: transform 0.5s ease, box-shadow 0.5s ease; 
}
.nsvlastbtnwrap .flex-center:hover {
  box-shadow: 7px 7px 15px 0px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px); 
}
.nsvlastbtnwrap .flex-center:nth-child(1) { background: #0099CC; color: #fff;}
.nsvlastbtnwrap .flex-center:nth-child(2) { color: #0099CC; }
@media screen and (max-width: 900px) {
  .nsvlastbtnwrap { gap: 20px; }
}
@media screen and (max-width: 500px) {
.nsvlastbtnwrap { flex-direction: column; align-items: center;}
}

/* --- Other Section --- */
.nsvotherwrap { margin-top: 150px; }
.nsvotherul { margin: -20px; }
.nsvotherul li { width:20%; }
.nsvotherul li a { border-radius: 10px; padding: 20px 0; height: 100%; display: block; transition: transform 0.5s ease, box-shadow 0.5s ease;  }
.nsvotherul li a:hover { box-shadow: 7px 7px 15px 0px rgba(0, 0, 0, 0.1); transform: translateY(-5px);}
.nsvotherulimg { padding: 0 20px; max-width: 190px; width: 100%; margin: 0 auto 15px; }
.nsvotherultxt { line-height: 1.5; letter-spacing: 0; }
@media screen and (max-width: 1100px) {
  .nsvotherultxt { font-size: 14px; }
}
@media screen and (max-width: 900px) {
  .nsvotherwrap { margin-top: 75px; }
  .nsvotherul { margin: -10px -10px 0; padding-bottom: 10px; }
  .nsvotherul li a { padding: 10px 0; }
  .nsvotherul li a:hover { box-shadow: 7px 7px 15px 0px rgba(0, 0, 0, 0.1); transform: translateY(-5px);}
  .nsvotherulimg { padding: 0 10px; margin-bottom: 10px; }
  .nsvotherultxt { font-size: 13px; }
}
@media screen and (max-width: 750px) {
  .nsvotherul li { width: calc(100% / 3); }
}
@media screen and (max-width: 450px) {
  .nsvotherultxt { line-height: 1.3; }
}

.page-web .nsvotherwrap .inner1100 { max-width: 900px; }
@media screen and (min-width: 751px) {
  .page-web .nsvotherwrap .nsvotherul li { min-width: 200px; }
}


/* --- 関連記事 --- */
.nsvrelatedwrap { }
.nsvrelatedwrap .indblogul { display: block; border-top: 1px solid #ccc; margin: 0; }
.nsvrelatedwrap .indblogul li { width: 100%; border-bottom: 1px solid #ccc; margin: 0;}
.nsvrelatedwrap .indblogul li a { display: flex; align-items: stretch; justify-content: space-between; padding: 30px 0; }
.nsvrelatedwrap .indblogul-l { width: 30%; max-width: inherit; }
.nsvrelatedwrap .indblogul-l .indblogul-limg { height: 100%; aspect-ratio: inherit; }
.nsvrelatedwrap .indblogul-l .indblogul-limg img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.nsvrelatedwrap .indblogul-r { width: calc(70% - 30px); display: flex; flex-direction: column; justify-content: center; }
.nsvrelatedwrap .indblogul-rcat { display: none;}
.nsvrelatedwrap .indblogul-rttl { border: none; margin: 0;}
.nsvrelatedwrap .indblogul-rtxt { -webkit-line-clamp: 5;}
@media screen and (max-width: 750px) {
  .nsvrelatedwrap .indblogul-r { width: calc(70% - 20px);  }
}
@media screen and (min-width: 651px) {
  .nsvrelatedwrap .workslistul li:nth-child(4) { display: none; }
}