/*-------------------------
 page-sol07.php
-------------------------*/


/* 共通 */
.sol08 h1 {
  color: #fff;
  padding-top: 20px;
  font-size: 40px;
  /* text-align: left; */
}

.sol08 h2 {
  font-size: 34px;
  color: #333;
  font-weight: 700;
  margin-bottom: 40px;

}

.sol08 h2.icon-header {
  position: relative;
  text-align: center;
  margin-top: 30px;
  color: #002676;
}

.icon-header::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: -30px;
  /* アイコンの位置を調整 */
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background-color: #002676;
  /* ダイヤモンド型の青色 */
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  /* ダイヤモンド型を作成 */
}


.sol08 h3 {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  color: #333333;
  margin-bottom: 10px;

}

.sol08 h4.lower {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8125;
  color: #333;
  margin-bottom: 40px;
  text-align: justify;
  text-justify: inter-ideograph;
  word-break: break-all;
}


.sol08 .red {
  color: #d7000f;
  font-weight: 600;
}

.sol08 .blue {
  color: #2000d7;
  font-weight: 600;
}


.wrap_lower03 {
  max-width: 1100px;
}

.wrap_lower04 {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 15px 30px;
}


.row-reverse {
  flex-direction: row-reverse;
}

.sol08 figure {
  margin: 0 0 60px 0;
}


/* ---PC・タブレット向けの縦スクロール設定--- */
.scroll-img {
  height: 380px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: #88b3d9 #f4f4f4;
  box-shadow: 10.4257px 10.4257px 56.2989px rgba(0, 0, 0, 0.07);
  border-radius: 10px 0 0 10px
}

.scroll-img::-webkit-scrollbar {
  width: 12px;
}

.scroll-img::-webkit-scrollbar-track {
  background: #f4f4f4;
  border-radius: 10px;
}

.scroll-img::-webkit-scrollbar-thumb {
  border-radius: 20px;
  border: 2px solid #f4f4f4;
  height: 50px;
}

.scroll-img::-webkit-scrollbar-thumb:hover {
  background-color: #6b9fc0;
}


.curved-divider {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #f2f6ff;
  border-bottom-left-radius: 50% 60px;
  border-bottom-right-radius: 50% 60px;
  z-index: -1;

}


/* ------sol-hero------- */
.sol08 .sol-hero {
  background-color: #bbb;
  background-image: url(/wp-content/themes/fid/assets/img/lower/sol08/sol8-fv.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: #231815;
}


.sol08 .sol-hero .wrap_lower03 {
  padding: 60px 0 60px
}

/* ------accident------ */
.accident {
  background: linear-gradient(to bottom, #FFF, #f2f6ff);
  position: relative;
  padding-bottom: 50px;
}


.sol08 .accident__list {
  padding: 0 20px;
}

.sol08 li.accident__item {
  display: flex;
  flex-direction: column;
  width: 32%;
  text-align: center;
  font-size: 19px;
  font-weight: 500;
  background: #ffffff;
  margin-bottom: 1rem;
  box-shadow: 10.4257px 10.4257px 56.2989px rgba(0, 0, 0, 0.07);
  border-radius: 15px;
  background-color: #fff;
}


.accident__icon {
  padding: 2rem 0 0 0;
  height: 150px;
  margin-bottom: 20px;
}

.accident__icon img {
  height: 100%;
  width: auto;
}

.accident__description {
  padding: 0 2rem 2rem 2rem;
  color: #45455c;
  /* text-align: left; */
  text-align: justify;
}

.sol08 h2.accident_catch {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

.sol08 figure.accident__motnasulogo {
  margin: 0;
  display: inline-block;
  width: 300px;
  max-width: 100%;
  height: auto;
}

.sol08 figure.accident__motnasulogo img {
  padding-bottom: 5px;
}

.accident__arrow {
  width: 150px;
  text-align: center;
  margin: 0 auto
}

.accident_character {
  position: absolute;
  width: 230px;
  right: 0;
  bottom: -85px;
  left: 0;
  z-index: 0;
  text-align: center;
  margin: 0 auto;

}

.button-container {
  text-align: center;
}


.gradient-button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 30px;
  font-size: 16px;
  color: white;
  text-decoration: none;
  background-image: linear-gradient(45deg, #ff9500, #ff5e00);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.4s ease, background-position 0.4s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-size: 200% 200%;
  background-position: 0 0;
}

.gradient-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}


/* ---effectiveness--- */

.effectiveness {
  margin-top: 3rem;
}


.effectiveness .wrap_lower04 {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 0 0 0;
}

.effectiveness .wrap_lower04.effectiveness__block1 {
  padding-top: 80px;
}

.effectiveness__block1 figure {
  margin-bottom: 0;
}

.effectiveness__block2 figure {
  margin-bottom: 20px;
  padding-top: 10px;

}


.effectiveness__block2 h3,
.effectiveness__block2 h4 {
  text-align: left;
}

.effectiveness_inner1,
.effectiveness_inner2 {
  position: relative;
  /* height: 100%; */
  padding: 5px;
}

.effectiveness_inner1 {
  margin: 50px 0 0 0;
}

.effectiveness_inner2 {
  margin: 100px 0 0 0;
}

.effectiveness_inner1::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -45px;
  /* background-color: #e5edff; */
  background: linear-gradient(to bottom, #f2f6ff, #e5edff);
  border-radius: 20px;
  height: 100%;
  width: 85%;
  z-index: -1;
}

.effectiveness_inner2::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -45px;
  /* background-color: #e5edff; */
  background: linear-gradient(to bottom, #f2f6ff, #e5edff);
  border-radius: 20px;
  height: 100%;
  width: 85%;
  z-index: -1;
}

.effectiveness_flexconts1 {
  width: 43%;
}

.effectiveness_flexconts2 {
  width: 55%;
}

/* ------sales------ */
.sales {
  background-color: #f2f6ff;
}

/* ------delivery------ */
.delivery {
  background-color: #f2f6ff
}


/* ------marketingperson------- */
.sol08 .marketingperson {
  background-color: #fff;
  background-image: url(/wp-content/themes/fid/assets/img/lower/sol08/marketingperson_bg.png);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  color: #231815;
}


.sol08 .marketingperson .wrap_lower03 {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 0 40px;
}




/* -----motenasufunction----- */
.motenasufunction {
  background-color: #bbb;
  background-image: url(/wp-content/themes/fid/assets/img/lower/sol08/motenasu_bg.png);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  color: #231815;
}

.motenasufunction .button-container {
  text-align: center;
}

.motenasufunction .gradient-button {
  text-align: center;
  font-size: 25px;
}

/* ------support------- */
.support {
  background-color: #FFF;
  background-image: url(/wp-content/themes/fid/assets/img/lower/sol08/delivery_bg.png);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  color: #231815;
}

.support .support-img {
  text-align: center;
}

.support-img img {
  width: 500px;
  max-width: 100%;
  height: auto;
}




@media (max-width: 768px) {

  /* 共通 */
  .sol08 h1 {
    font-size: 25px;
    text-align: center;
  }

  .sol08 h2 {
    font-size: 23px;
    font-weight: 800;
    line-height: 1.8125;
  }

  .sol08 h3 {
    font-size: 20px;
    font-weight: 600;
  }

  .sol08 h4.lower {
    font-size: 18px;

  }


  /* ---スマホ用の横スクロール設定--- */
  .scroll-img--mobile {
    overflow-x: auto;
    overflow-y: auto;
    /* 縦スクロールを無効にして横スクロールに切り替える */
    white-space: nowrap;
    /* 子要素を横並びにする */
    -webkit-overflow-scrolling: touch;
    height: 400px;
  }

  .scroll-img--mobile img {
    max-width: 100%;
    min-width: 800px;
    /* 最小幅を設定して横スクロールを発生させる */
    vertical-align: top;
    /* 画像を上揃えにする */
  }

  .scroll-img--mobile::-webkit-scrollbar {
    height: 4px;
    /* スクロールバーの高さ */
  }

  .scroll-img--mobile::-webkit-scrollbar-track {
    background: #f4f4f4;
  }

  .scroll-img--mobile::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 10px;
  }

  .scroll-img--mobile::-webkit-scrollbar-thumb:hover {
    background-color: #6b9fc0;
  }


  /* ------accident------ */
  .sol08 li.accident__item {
    width: 100%;
    margin-bottom: 1rem;
  }

  .curved-divider {
    height: 40px;
    bottom: -20px;
    border-bottom-left-radius: 50% 40px;
    border-bottom-right-radius: 50% 40px;
  }

  .accident_character {
    width: 180px;
    max-width: 100%;
  }

  .accident__arrow {
    width: 100px;

  }

  .sol08 h2.accident_catch {
    margin-top: 10px;
    flex-direction: column;
  }

  /* ---effectiveness--- */
  .effectiveness .wrap_lower04 {
    padding: 60px 15px;
  }

  .effectiveness__block2 h3 {
    text-align: center;
  }

  .effectiveness_inner1,
  .effectiveness_inner2 {
    padding: 20px 15px;
  }

  .effectiveness_inner1,
  .effectiveness_inner2 {
    margin: 10px 0;
  }

  .effectiveness_inner1::before,
  .effectiveness_inner2::before {
    top: 0;
    left: 0;
    width: 100%;
  }

  .effectiveness_flexconts1,
  .effectiveness_flexconts2 {
    width: 100%;
  }

  /* ------marketingperson------- */
  .sol08 .marketingperson {
    background-image: none;
  }

  .sol08 .marketingperson-content {
    width: 100%;
  }

  .sol08 .marketingperson-content h2 {
    text-align: center;
  }

  .sol08 .marketingperson .wrap_lower03 {
    padding: 50px 15px 40px;
  }



  /* -----motenasufunction----- */
  .motenasufunction .gradient-button {
    font-size: 20px;
  }

  .button-container {
    margin-top: 10px;
    text-align: center;
  }

  .gradient-button {
    padding: 15px 25px;
    font-size: 12px;
    background-size: 120% 120%;
  }

  .gradient-button:hover {
    transform: none;
    /* スマホでは拡大なし */
  }



  /* ----support--- */
  .support {
    background-image: none;
  }

}