@charset "utf-8";
html {
  scroll-behavior: smooth;
}
h1 {
  word-break: keep-all;
}
#top-image {
  margin-bottom: 50px;
  padding: 20px;
  height: 350px;
  background-image: url("../images/index_00.jpg");
  background-repeat: no-repeat;
  background-size: auto;
  background-position:right top;
  position: relative; 
  background-color: #505054;
}
#top-image > div {
  display: flex;
  justify-content: flex-end;
  padding-top: 16px;
}
.title {
/* 子要素に合わせて親要素の横幅を可変 */
  display: inline-block;
/* 子要素に合わせて親要素の横幅を可変 */
  background: linear-gradient(to right, rgba(0,0,0,0.55) 70%, transparent);
}
.message {
  margin: 10px 0px 6px 20px;
  width: 500px;
  font-size: 32px;
  line-height: 36px;
  color: #fff;
  word-break: keep-all;
}
.main-title {
  margin: 10px 16px 6px 16px !important;
  font-size: 26px;
  line-height: 30px;
  color: #FAD737;
  text-shadow: #FA9628 2px 0 10px;
  word-break: keep-all;
}
.above {
  margin-top: 20px;
}
.under {
  margin-bottom: 120px;
}
.top-inquiry {
  top: auto;
  bottom: 20px;
}

#what-is h2,
#issues h2,
#approach h2,
#five-steps h2,
#strengths h2,
#faq h2 {
  margin: 120px 0 20px !important;
  height: 80px !important;
  font-size: 24px !important;
  display: flex;
  align-items: center;
  background: linear-gradient(to right, #fff 15%, rgba(160,160,165,0.25));
  border-left: solid 3px #007580;
  padding-left: 5px;
  text-indent: 0;
  word-break: keep-all;
}
#what-is h2::before,
#issues h2::before,
#approach h2::before,
#five-steps h2::before,
#strengths h2::before,
#faq h2::before {
  content: "";
  width: 3px;
  height: 80px;
  display: inline-block;
  position: relative;
  background-color: transparent;
}
#legacy-system h3,
#modernization h3,
#renewal h3,
#without-interrupting-operations h3,
#eol h3,
#resolving-blackbox-issue h3 {
  margin: 50px 0 20px;
  padding: 16px 10px 10px 20px;
  background: linear-gradient(to right, rgba(100,175,225,0.55) 10%, #fff 80%); 
  border-bottom: solid 3px rgba(100,175,225,0.40);
  font-size: 20px;
  align-items: center;
  word-break: keep-all;
}
h4 {
  margin-top: 50px;
  border-bottom: solid 3px #007580;
  font-size: 20px !important;
  text-indent: -28px !important;
}
h4::before {
  content: "" !important;
  background-color: transparent;
  width: 24px;
}

#what-is li,
#issues li,
#approach li,
#five-steps li,
#faq li {
  margin-bottom: 5px;
  line-height: 18px;
}
#issues dl {
  margin-bottom: 50px;
}
#issues dt {
  padding: 10px 16px 7px;
  border: solid 3px #007580;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #007580;
  font-size: 18px;
  font-weight: normal;
  word-break: keep-all;
}
#issues img {
  margin: 16px auto;
  width: 165px;
}
#issues ul {
  padding-left: 24px;
}
#issues  a {
  margin: 20px auto auto 24px;
}
#approach .img-float {
  width: 200px;
  float: right;
}
.flex-box {
  display: flex;
}
.flex-left {
  flex: 1;
  padding-right: 5px;
}
.flex-right {
  flex: 1;
  padding-left: 5px;
}
.flex-box figure {
  margin-right: 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
}
.use-case {
  margin-top: 30px;
  padding: 16px;
  border: solid 6px rgba(80,190,190,0.40);
  border-radius: 16px;
}
.use-case dt {
  margin-bottom: 20px;
  font-weight: normal;
  text-indent: -24px;
  padding-left: 24px;
}
.use-case dt::before {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-block;
  position: relative;
  background-color: rgba(80,190,190,0.55);
}
.reference {
  margin: 30px auto 0 24px;
}
#five-steps h2 span span {
  font-size: 16px;
}
#five-steps ul {
  padding-left: 0;
  list-style-type: none;
}
#five-steps dt {
  margin: 50px auto 8px;
  border-bottom: solid 1px #505054;
  padding-left: 26px;
  text-indent: -26px;
  font-weight: normal;
}
#five-steps dt::before {
  content: "";
  width: 10px;
  display: inline-block;
  position: relative;
  background-color: transparent;
}
#five-steps figure img {
  margin: 10px 20px;
}
.assessment {
  background-color: rgba(100,175,225,0.20);
}
.planning {
  background-color: rgba(250,215,55,0.20);
}
.construction {
  background-color: rgba(80,190,190,0.20);
}
.migration {
  background-color: rgba(175,140,200,0.20);
}
.maintenance {
  background-color: rgba(250,150,40,0.20);
}
.aggregate {
  display: flex;
  justify-content: center;
}
.lr {
  margin: -70px auto;
  padding: 0 200px;
  justify-content: space-between;
}
.square {
  width: 180px;
  height: 180px;
  margin-top: 20px;
  border-radius: 16%;
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  transform: rotate(45deg);
  line-height: 20px;
}
.square-orange {
  border: solid 12px #FA9628;
  background-color: #fff;
  box-shadow:  0 0 20px #B94B00;
  text-shadow: 0 0 5px #FA9628;
}
.square-teal {
  border: solid 12px #50BEBE;
  background-color: #fff;
  box-shadow: 0 0 20px #007580;
  text-shadow: 0 0 5px #50BEBE;
}
.square-cyan {
  border: solid 12px #64AFE1;
  background-color: #fff;
  box-shadow: 0 0 20px #265C80;
  text-shadow: 0 0 5px #64AFE1;
}
.square-yellow {
  border: solid 12px #FAD737;
  background-color: #fff;
  box-shadow: 0 0 20px #916E00;
  text-shadow: 0 0 5px #FAD737;
}
.white-boad {
  transform: rotate(-45deg) !important;
  font-size: 18px;
}

.inquiry {
  margin: 50px 0 100px;
  padding: 30px 0;
  border: solid thin #A0A0A5; 
  background-color: #f7f7f7;
  text-align: center;
}
.inquiry-text {
  margin-bottom: 20px;
  font-size: 20px !important;
  word-break: keep-all;
}
.radiusbtn {
  padding: 10px 50px; 
  border-radius: 50px; 
  font-size: large; 
}

@media screen and (max-width: 1199px) {
  .message {
    width: 400px;
    font-size: 28px;
    line-height: 32px;
  }
  .lr {
    margin: -70px auto;
    padding: 0 120px;
  }
}
@media screen and (max-width: 959px) {
  .lr {
    margin: -50px auto;
    padding: 0 20px;
  }
}
@media screen and (max-width: 550px) {
  .flex-box {
    display: block;
  }
  .flex-box figure {
    margin: 20px auto;
  }
  .lr {
    margin: -50px auto;
    padding: 0 100px;
  }
  .square  {
    width: 160px !important;
    height: 160px !important;
  }
  .white-boad {
    font-size: 16px;
  }
}
@media screen and (max-width: 520px) {
  .lr {
    margin: -50px auto;
    padding: 0 !important;
  }
}
@media screen and (max-width: 470px) {
  #top-image {
    padding: 0 5px 5px;
    height: 320px;
/*    background-position: -320px center; */
    background-position:right bottom;
  }
  #top-image > div {
    display: block;
    padding-top: 0;
  }
  .message {
    width: 320px;
    margin: 10px 16px 6px 16px;
    font-size: 20px;
    line-height: 24px;
    font-weight: normal;
  }
  .main-title {
    margin: 4px 16px 0 16px !important;
    font-size: 20px;
    line-height: 24px;
  }
  .above {
    margin-top: 37.6px;
  }
  .under {
    margin-bottom: 150px;
  }
  #what-is h2,
  #issues h2,
  #approach h2,
  #five-steps h2,
  #strengths h2,
  #faq h2 {
    height: 100px !important;
    font-size: 18px !important;
  }
  #legacy-system h3,
  #modernization h3,
  #renewal h3,
  #without-interrupting-operations h3,
  #eol h3,
  #resolving-blackbox-issue h3 {
    font-size: 17px;
  }
  #approach .img-float {
    width: 180px;
    padding-left: 20px;
  }
  .inquiry-text {
    font-size: 17px !important;
  }
  .radiusbtn {
    padding: 6px 16px 4px; 
    border-radius: 50px; 
    font-size: 16px; 
  }
}



/* inputのチェックボックスを非表示 */
.accordion-hidden {
  display: none;
}

/* 見出しボタン部分 */
.accordion-open {
  display: block;
  padding-right: 40px;
  cursor: pointer;
  margin: 5px 0;
  position: relative;
  border-bottom: solid 2px #0064D2;
  color: #0064D2;
  font-weight: normal;
  font-size: 20px;
}
@media screen and (max-width: 470px) {
  .accordion-open {
    font-size: 17px;
  }
}

/* ＋アイコン */
.accordion-open::before,
.accordion-open::after {
  content: '';
  width: 20px;
  height: 3px;
  background: #A0A0A5;
  position: absolute;
  top: 50%;
  right: 1%;
  transform: translateY(-50%);
}

/* アイコンのー */
.accordion-open::after {
  transform: translateY(-50%) rotate(90deg);
  transition: .7s;
}

/* アコーディオンが開いたらーに */
.accordion-hidden:checked+.accordion-open:after {
  transform: translateY(-50%) rotate(0);
}

/* アコーディオン中身部分 */
.accordion-inner {
  display: block;
  height: 0;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  transition: 0.5s;
  /* 表示速度の設定 */
  
  cursor: pointer;
  font-weight: normal;
  margin-bottom: 20px;
  background-color: rgba(100,175,225,0.25);
}

/* チェックボックスにチェックが入ったら中身部分を表示する */
.accordion-hidden:checked+.accordion-open+.accordion-inner {
  height: auto;
  opacity: 1;
  padding: 10px;
}
/* ↑ここまで共通 */

/* Q&A追加ここから */
.accordion_qa .Q,
.accordion_qa .A {
  position: relative;
}
.accordion_qa .Q::before,
.accordion_qa .A::before {
  display: block;
  position: absolute;
}
.accordion_qa .accordion-open {
  padding-left: 10px;
}
.accordion_qa .accordion-hidden:checked+.accordion-open+.accordion-inner {
  height: auto;
  opacity: 1;
  padding: 10px;
}
/* Q&A追加ここまで */
