:root {
  --color-red1: #FA000F;
  --color-red2: #CC0000;
  --color-black: #0C0C0C;
  --color-grey1: #F4F4F4;
  --color-grey4: #737373;
  --color-grey5: #4D4D4D;
}

.border-box-wrap *{
  box-sizing: border-box;

}

.noto-sans-jp-regular {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.noto-sans-jp-medium {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.noto-sans-jp-semibold {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.noto-sans-jp-bold {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.sp {
  display: none;
}

.scplan-page {
  min-width: 320px;
}


.sc-main {
  width: 100%;
  height: 680px;
  background-image: url(../images/bg-img.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 90px 0 68px;
}

.sc-main .inner {
  width: 1275px;
  margin: 0 auto;
  color: #fff;
}

.sc-main .inner p {
  color: #fff;
}

.sc-main p.TextStyle2 {
  font-size: 30px;
  line-height: 1.5;
  font-weight: 700;
  margin: 0;
}

.main-title {
  font-size: 96px;
  font-weight: 700;
  line-height: 1.5;
}

p.catch-copy {
  font-size: 30px;
  line-height: 1.5;
  font-weight: 700;
}

a.bnr {
  display: flex;
  width: 522px;
  height: 175px;
  background: linear-gradient(to right, #7D0008, var(--color-red1));
  margin-top: 77px;
  padding: 20px;
  justify-content: space-between;
  color: #fff;
  text-decoration: none;
}

a.bnr .image img {
  width: 190px;
}

a.bnr .TextStyle1 {
  width: 268px;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0;
  line-height: 1.2;
}

a.bnr .btn {
  font-size: 20px;
    padding: 17px 0;
    display: flex;
    width: 268px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    margin: 20px auto 0;
    background-color: #fff;
    border: 2px solid var(--color-red2);
    color: var(--color-black);
    margin-bottom: 0;
    transition: 0.3s;
    text-decoration: none;
    position: relative;
    line-height: 1.2;
    font-weight: 700;
  
}
a.btn.small-btn {
  font-size: 16px;
  width: 130px;
    height: 45px;
    padding:0;
    margin:0 auto;
    border-bottom:2px solid var(--color-red2);
    border-left:transparent;
    border-right:transparent;
    border-top:transparent;
    border-radius: 0;
}
a.bnr .btn::after{
  content: "";
    background: url(../images/icon-popup.png) no-repeat center center / cover;
    width: 16px;
    height: 16px;
    position: absolute;
    right: 21px;
    top: 21px;
    z-index: 1;
}
a.btn.small-btn::after{
  right: 0;
  top:14px;
}

a.bnr:hover .btn {
  transform: translateX(10px);
}

.main-under {
  background-color: var(--color-grey1);
  text-align: center;
  padding: 24px 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-black);
  margin-bottom: 0;
}

h2 {
  font-size: 36px;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
  padding: 0;
  margin: 0;
  background: none;
}

section {
  padding: 80px 0;
  text-align: center;

}

img.onayami {
  margin-top: 40px;
}

img.arrow {
  margin-top: 20px;
}

.erp-title {
  width: 100%;
  height: 70px;
  background-color: var(--color-red2);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 24px;
}

.wrap {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

.onayami .wrap .image {
  width: 630px;
}

.onayami .wrap .txt {
  width: 600px;
}

p.soudan {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
}

p.soudan+p {
  margin-top: 8px;
  text-align: left;
  font-size: 18px;
}

ul.soudan-list {
  margin-top: 8px;
  margin-left: 1.5em;
}

ul.soudan-list li {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  margin-bottom: 4px;
  list-style: disc;
}

ul.soudan-list+p {
  margin-top: 8px;
  text-align: left;
  font-size: 18px;
}

p.kochira {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  margin-top: 38px;
}

a.btn {
  font-size: 20px;
  padding: 17px 0;
  display: flex;
  width: 268px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  margin: 20px auto 0;
  background-color: #fff;
  border: 2px solid var(--color-red2);
  color: var(--color-black);
  margin-bottom: 0;
  transition: 0.3s;
  text-decoration: none;
  position: relative;
  line-height: 1.2;
  font-weight: 700;
}

a.btn::after {
  content: "";
  background: url(../images/icon-popup.png) no-repeat center center/cover;
  width: 16px;
  height: 16px;
  position: absolute;
  right: 21px;
  top: 21px;
  z-index: 1;
}

a.btn:hover {
  transform: translateX(10px);
}

.usp {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-color: var(--color-grey1);
}

.usp h2 {
  margin: 0;
  padding: 0;
}

.usp .inner {
  width: 1275px;
  margin: 0 auto;
}

.usp .sub {
  color: var(--color-black);
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 180%;
  /* 36px */
  margin-top: 53px;
}
.usp .caption {
  text-align: right;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-top: 24px;
}

.jitusugen {
  width: 100%;
  height: 61px;
  background-color: var(--color-grey5);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 40px;
}

.jitusugen+p {
  margin-top: 24px;
  text-align: center;
  font-size: 18px;
}

.pdca-image {
  margin-top: 24px;
}

.usp .wrap {
  margin-top: 40px;
}

.wrap .box {
  width: 617px;
}

.wrap .box p.title {
  background-color: var(--color-grey5);
  color: #fff;
  font-size: 24px;
  height: 61px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.5;
  font-weight: 700;
}

.wrap .box p.title+p {
  margin-top: 24px;
  text-align: left;
  color: var(--color-black);
  font-size: 18px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0.36px;
}

.wrap .box img {
  margin-top: 24px;
}

p.more {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 40px;
}

.usp .inner a.btn::after,
.case-study a.btn::after {
  background-image: url(../images/icon-right-arrow.png);

}

.wrap.detail-link {
  margin-top: 40px;
}

.wrap.detail-link .box {
  width: 621px;
  /* height: 293px; */
  border-radius: 20px;
  border: 2px solid #B3B3B3;
  background-color: #fff;
  padding: 28px;

}

.wrap.detail-link .box p.link-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-red2);
}

.wrap.detail-link .box p.link-title+p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 24px;
}

ul.link-list {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
}

ul.link-list li {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

ul.link-list li a.btn {
  display: inline-block;
  width: auto;
  height: auto;
  margin-top: 0;
  padding: 16px 48px 16px 22px;
  line-height: 1.2;
  font-size: 20px;
}

.wrap.detail-link .box:nth-of-type(1) {
  text-align: center;
}

.wrap.detail-link .box:nth-of-type(2) {
  display: flex;
  justify-content: space-between;
}

.wrap.detail-link .box:nth-of-type(2) p.link-title {
  text-align: left;
}

.wrap.detail-link .box .image {
  width: 255px;
}

.wrap.detail-link .box img {
  margin-top: 0;
}

.wrap.detail-link .box:nth-of-type(2) ul {
  margin-top: 24px;
}

.wrap.detail-link .box:nth-of-type(2) ul li {
  text-align: left;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 4px;
}

.wrap.detail-link .box:nth-of-type(2) ul li::before {
  content: "";
  background-image: url(../images/icon_list_marker_hd.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  width: 16px;
  height: 16px;
  display: inline-block;
}

.wrap.detail-link .box:nth-of-type(2) a {
  margin: 20px 0;
}

.case-study h2 {
  padding: 0;
  margin: 0;
}

.case-study h2+.wrap {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 41px;
  row-gap: 10px;
}

.case-study h2+.wrap .box {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  width: auto;
}

.case-study .wrap .box {
  padding: 40px 40px 36px;
  box-shadow: 4px 4px 15px 0px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
}

.case-study .wrap .box .txt,
.case-study .wrap .box .image {
  width: 100%;
}
.case-study .wrap .box .image img{
  margin-top: 0;
}
.case-study .wrap .box .image .caption {
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  margin-top: 7px;
  text-align: right;
}


.case-study .wrap .box p.title {
  background-color: var(--color-red2);
  font-weight: 700;
}

.case-study .wrap .box p.case-text {
  min-height: 162px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 24px;
  letter-spacing: 0;
}

p.introduction-title {
  width: 100%;
  height: 61px;
  background-color: var(--color-grey5);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 40px;
}

.small-box {
  display: flex;
  width: 303px;
  height: auto;
  padding: 20px 20px 25px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-radius: 20px;
  border: 2px solid var(--Gray3, #B3B3B3);
  background: var(--White, #FFF);
}

.small-box p.small-title {
  color: var(--Red2, #C00);
  display: flex;
  padding-bottom: 4px;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  /* 36px */
  border-bottom: 2px solid var(--Gray3, #B3B3B3);

}

.small-box p.small-text {

  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  text-align: left;
  /* 27px */
}
.small-box a.btn.small-btn {
  margin-top: 0;
}
.effect {
  display: flex;
  padding: 20px 10px;
  align-items: center;
  text-align: left;
  align-self: stretch;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  /* 27px */
  background: var(--Gray1, #F4F4F4);

}

.movie {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-color: var(--color-grey1);
  padding: 80px 0;
}

.movie h2 {
  text-align: center;
  margin: 0;
  padding: 0;
  color: var(--color-black);
  text-align: center;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  /* 54px */
}

.movie p {
  color: var(--color-black);
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  /* 30px */
  margin-top: 40px;
}

.movie iframe {
  margin-top: 40px;
}

.whatsnew {
  width: 100%;
}

.whatsnew h2 {
  text-align: center;
  margin: 0;
  padding: 0;
  color: var(--color-black);
  text-align: center;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  /* 54px */
}

.whatsnew dl.DateListStyle2 {
  display: flex;
  padding: 20px 0;
  align-items: center;
  gap: 24px;
  align-self: stretch;
  margin: 0;
  border-bottom: 2px solid var(--Gray2, #D9D9D9);
}

.whatsnew dl.DateListStyle2.first-item {
  margin-top: 20px;
}

.whatsnew dl.DateListStyle2 dt {
  color: var(--color-black);
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  /* 21px */
  width: 100px;
  flex-shrink: 0;
}

.whatsnew dl.DateListStyle2 dd {
  font-family: "Noto Sans JP";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  text-align: left;
  line-height: 120%;
  /* 21.6px 
te*/
  flex: 1;
  margin: 0;
}

.whatsnew dl.DateListStyle2 dd a:hover {
  color: var(--Red2, #C00);
}

.trademark { 
  text-align: center;
  margin-top: 80px;
}
.trademark p{
  display: inline-block;
  text-align: left;
  color: var(--Black, #0C0C0C); 
  font-size: 18px;
  font-weight: 700;
  line-height: 150%;
}
/* 
ul.scplan-top-banner {
  width: 965px;
}

ul.scplan-top-banner li {
  width: 230px;
  margin: 0 0 15px 15px;
} */

@media screen and (min-width: 1290px) and (max-width: 1400px) {
  .case-study .wrap .box {
    width: 610px;
    box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.25);
  }
}

@media screen and (max-width: 1290px) {
  .scplan-page img {
    max-width: 100%;
    height: auto;
  }

  .scplan-page h2 {
    font-size: 30px;
  }

  .sc-main p {
    text-shadow: 0px 0px 6px #000;
  }

  .main-under {
    padding: 24px 15px;
  }

  /* 固定幅のinnerをfluidに */
  .sc-main .inner,
  .usp .inner {
    width: 100%;
    padding: 0 15px;
  }

  /* メインバナーボタン */
  a.bnr {
    width: 100%;
    height: auto;
  }

  .sc-main a.bnr {
    width: 522px;
  }

  .onayami .wrap .txt,
  .onayami .wrap .image{
    width: 100%;
  }
  .wrap .txt {
    padding: 0 15px;
  }

  /* wrap内の子要素を全幅に */
  .wrap .image,
  .wrap .txt {
    width: 100%;
  }

  .wrap .box,
  .wrap.detail-link .box {
    width: 48%;
  }

  .wrap .box p.title {
    font-size: 22px;
    height: auto;
    padding: 10px 15px;
  }

  /* detail-link 2番目のboxの内部レイアウト */
  .wrap.detail-link .box:nth-of-type(2) {
    flex-direction: column;
  }

  .wrap.detail-link .box:nth-of-type(2) p.link-title {
    text-align: center;
  }

  .wrap.detail-link .box:nth-of-type(2) a {
    margin: 20px auto;
    width: 255px;
  }

  .wrap.detail-link .box .image {
    width: 100%;
    max-width: 255px;
    margin: 20px auto 0;
  }

  .case-study .wrap:nth-of-type(2) {
    flex-wrap: wrap;
    gap: 4%;
    margin-top: 0;
  }

  /* 導入効果のsmall-box */

  .small-box {
    width: 48%;
    margin-top: 20px;
  }
  .small-box a.btn.small-btn {
    margin-top: auto;
  }

  .movie {
    padding: 40px 15px;
  }

  /* 動画iframeをレスポンシブに */
  .movie iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  /* フッターバナー */
  ul.scplan-top-banner {
    width: 100%;
  }

  ul.scplan-top-banner li {
    width: auto;
  }

  .case-study .wrap .box {
    padding: 20px 20px 30px;
  }

  .case-study .wrap .box .txt {
    padding: 0;
  }

  .case-study .wrap .box .image {
    margin-top: 0;
    padding-top: 0;
  }

  .case-study .wrap .box p.case-text {
    height: auto;
    font-size: 17px;
  }
}

@media screen and (max-width: 1190px) {
  .sc-main {
    background-position: calc(50% + (1190px - 100vw) * 0.65) center;
  }
}

@media screen and (max-width: 767px) {
  .sc-main .inner .TextStyle2 {
    font-size: 4vw;

  }

  .sc-main .inner .catch-copy {
    font-size: 4vw;
  }
  .usp .wrap .box{
    padding: 20px;
  }
  .usp .wrap .txt {
    width: 100%;
    padding: 0;
  }
  .wrap.detail-link .box:nth-of-type(2) a {
    margin: 20px auto;
    width: 100%;
  }

}

@media screen and (max-width: 579px) {
  .case-study h2+.wrap {
    grid-template-columns: 1fr;
  }

  .sp {
    display: block;
  }

  section {
    padding: 40px 0;
  }

  .scplan-page h2 {
    font-size: 24px;
  }

  .sc-main {
    padding: 40px 0;
  }

  .sc-main a.bnr {
    display: block;
    width: 100%;
    margin-top: 40px;
  }

  .sc-main a.bnr .image {
    text-align: center;
  }

  .sc-main a.bnr .TextStyle1 {
    width: 100%;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    font-size: 3vw;
  }

  .sc-main a.bnr .TextStyle1 .btn {
    margin-top: 0;
    margin-bottom: 0;
  }

  .sc-main p.TextStyle2 {
    line-height: 1.3;
  }

  p.catch-copy {
    font-size: 17px;
  }

  /* .main-title{
    font-size: 12vw;
  } */
  /* .sc-main a.bnr{
    width: 100%;
    display: block;
    justify-content: center;
  } */
  .JS .PageTitleStyle3.main-under {
    background-color: var(--color-grey1);
  }

  .main-under p {
    font-size: 18px;
    text-align: left;
  }

  /*flexレイアウトを縦並びに変更 */
  .wrap {
    flex-direction: column;
  }

  .wrap .txt {
    padding: 0;
  }

  .wrap .box,
  .wrap.detail-link .box {
    width: 100%;
  }

  .onayami img.arrow {
    width: 287px;
    height: auto;
  }

  .onayami .wrap .image {
    width: 100%;
  }

  .erp-title {
    font-size: 20px;
    height: auto;
    padding: 10px 15px;
  }

  .wrap .image,
  .wrap .txt {
    margin-top: 20px;
  }

  p.soudan {
    font-size: 16px;
  }

  p.soudan+p {
    font-size: 16px;
  }

  ul.soudan-list {
    font-size: 16px;
  }

  ul.soudan-list+p {
    font-size: 16px;
  }

  ul.soudan-list li {
    font-size: 16px;
  }

  p.kochira {
    font-size: 18px;
  }

  .usp .sub {
    font-size: 17px;
    margin-top: 24px;
    text-align: left;
  }

  .jitusugen {
    height: auto;
    font-size: 20px;
    padding: 10px 15px;

  }

  .jitusugen+p {
    font-size: 16px;
    text-align: left;
  }

  .wrap .box p.title {
    font-size: 20px;
    height: auto;
    padding: 10px 15px;

  }

  .wrap .box p.title+p {
    font-size: 16px;
    text-align: left;
  }

  .wrap .box:nth-of-type(2) {
    margin-top: 24px;
  }

  p.more {
    font-size: 18px;
  }

  .wrap.detail-link .box p.link-title {
    font-size: 20px;
  }

  .wrap.detail-link .box p.link-title+p {
    font-size: 16px;
  }
  .wrap.detail-link .box:nth-of-type(2) a{
    width: 60%;
  }
  ul.link-list li a.btn {
    font-size: 18px;
    padding: 10px 30px 10px 10px
  }

  ul.link-list li a.btn::after {
    right: 12px;
    top: 14px;
  }

  .wrap.detail-link .box {
    padding: 20px 4%;
  }

  .wrap.detail-link .box:nth-of-type(1) a {
    font-size: 16px;
  }

  .wrap.detail-link .box:nth-of-type(2) p.link-title {
    text-align: center;
  }

  .wrap.detail-link .box:nth-of-type(2) ul li {
    font-size: 16px;
  }

  .wrap.detail-link .box:nth-of-type(2) a {
    margin: 20px auto;
  }

  /* .case-study .wrap .box {
    padding: 6%;
  } */

  .case-study .wrap .box p.case-text {
    font-size: 16px;
  }

  .case-study .wrap .box .txt,
  .case-study .wrap .box .image {
    margin-top: 0;
  }

  p.introduction-title {
    font-size: 20px;
    height: auto;
    padding: 10px 15px;
  }

  .small-box {
    width: 100%;
    margin-top: 10px;
  }

  .small-box p.small-title {
    font-size: 20px;
  }

  .small-box p.small-text {
    font-size: 16px;
  }

  .effect {
    justify-content: center;
  }

  .movie {
    padding: 40px 4%;
  }

  .movie p {
    font-size: 18px;
    text-align: left;
  }

  .whatsnew dl.DateListStyle2 {
    padding: 16px 0;
  }

  .whatsnew dl.DateListStyle2 dd {
    font-size: 16px;
  }

  .whatsnew dl.DateListStyle2 dd ul {
    margin-bottom: 0 !important;
  }

  .whatsnew dl.DateListStyle2 dd li {
    padding: 0;
  }

  p.trademark {
    font-size: 16px;
  }

}
@media screen and (max-width: 486px) {
  .wrap.detail-link .box:nth-of-type(2) a{
    width: 80%;
  }
}

@media screen and (max-width: 469px) {
  .main-title {
    font-size: 76px;
  }

  .sc-main .inner .TextStyle2 {
    font-size: 18px;
  }

  .sc-main .inner .catch-copy {
    font-size: 17px;
  }

  .sc-main a.bnr .TextStyle1 {
    display: block;
    font-size: 16px;

  }

  .sc-main a.bnr .TextStyle1 .btn {
    margin: 20px auto 0;
    width: 88%;
  }
}

@media screen and (max-width: 369px) {
  .sc-main {
    display: flex;
    align-items: center;
  }

  .main-title {
    font-size: 64px;
  }

  .sc-main .inner .catch-copy {
    font-size: 16px;
  }

  .sc-main .inner a.bnr {
    padding: 10px;
  }

}

/* 320px以下の場合 レイアウト崩れ防止 */
@media screen and (max-width: 320px) {

  .usp,
  .movie {
    width: 320px;
    margin-left: -15px;
    margin-right: 0;
    box-sizing: border-box;
  }
  .wrap.detail-link .box:nth-of-type(2) a{
    width: 100%;
  }

}