/* 公開時に画像ファイルがリネームされた場合に変更 */
.top_solution_value_wrapper{
  background-image: url('/img/usr/default/m4g-g-mMiI-1.png');
}
.top_solution_msmap_wrapper{
  background-image: url('/img/usr/default/t28-9-7Mjz-1.png');
}
.top_solution_service_wrapper{
  background-image: url('/img/usr/default/FEO-T-KMjA-1.png');
}

.top_solution_wrapper{
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
}
.top_watermark{
  position: absolute;
  font-size: 140px;
  font-weight: var(--font-weight-bold);
  color: rgba(255, 255, 255, 0.2);
  z-index: 1;
  line-height: 0.5;
}

.top_title_container{
  text-align: center;
  .top_title_sub{
    justify-content: center;
    margin-bottom: 10px;
  }
  h3{
    font-size: var(--font-40);
    font-weight: var(--font-weight-bold);
    margin-bottom: 20px;
    color: var(--secondaryColor);
  }
  .top_title_description{
    font-weight: var(--font-weight-medium);
    font-size: var(--font-20);
  }
}


/* mainVisual style */
.top_hero_wrapper {
  margin: 0 auto;
  position:relative;
  width:auto;
  height: 800px;
}

.top-hero_content {
    z-index: 2;
    margin-top: 196px;
}

.top-hero_line {
    margin: 0;
    color: var(--secondaryColor);
    font-size: var(--font-64);
    line-height: 120%;
    font-weight: 700;
}
.top-hero_line:nth-child(2 of .top-hero_line){
    text-indent: 0.4em;
}
.top-hero_line:nth-child(3 of .top-hero_line){
    text-indent: 0.2em;
}

.top-hero_line_initial {
    font-size: var(--font-104);
}

.top-hero_heading {
    margin: 0;
    font-size: var(--font-40);
    line-height: 120%;
    font-weight: 700;
}

.top-hero_cta_link {
    text-decoration: none;
}

.top-hero_cta_wrapper {
    position: relative;
    display: inline-block;
}

.top-hero_cta_btn {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 280px;
    padding: 10px 0;
    border: 2px solid transparent;
    border-radius: 9999px;
    background-color: var(--primaryColor);
    color: var(--background);
    font-size: var(--font-20);
    line-height: 160%;
    font-weight: 500;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.25);
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
    cursor: pointer;
}

.top-hero_cta_btn:hover {
    background-color: var(--background);
    border-color: var(--primaryColor);
    color: var(--primaryColor);
}

.top-hero_cta_text {
    margin: 0;
}

.top-hero_cta_icon {
    display: inline-flex;
    align-items: center;
    gap:20px;
    background: none;
}

.top-hero_slide {
    position: absolute;
    transition: opacity 1000ms ease;
    width:100%;
    height:100%;
}

.top-hero_slide_active {
    opacity: 1;
}

.top-hero_slide_inactive {
    opacity: 0;
}

.top-hero_line_image {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: auto;
    height: auto;
}

.top-hero_counter {
    position: absolute;
    right: 120px;
    z-index: 1;
    display: flex;
    gap: 5px;
    margin: 629px 0 0;
    font-size: var(--font-28);
    line-height: 120%;
    font-weight: 700;
}

.top-hero_counter_current {
    color: var(--secondaryColor);
}

.top-hero_counter_separator {
    color: #f28900;
}

.top-hero_counter_total {
    color: #989898;
}

@media(min-width: 768px) {
    .top-hero_line_image {
        width: auto;
        height:auto;
    }
}

/* TOP Hero style */

.top_hero_text{
  z-index: 2;
  position:absolute;
  top: 48%;
  left: 4%;
  span{
    font-size: var(--font-64);
    font-weight: var(--font-weight-black);
    padding: 5px 20px;
    background-color: #F8FAFC;
    line-height: 2;
  }
}



/* TOP CompanyInfo style */

.company-info_content{
  margin: 70px 0;
  background-image: url("/img/usr/default/ilS-k-LOf-6.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 25px;
}
.top_company-info_wrap {
  display:flex;
  align-items: center;
  justify-content: center;
  padding: 80px 100px;
}

.top_company-info_box{
  width:50%;
  border-radius:25px;
  .top_title_sub{
    color: var(--color-white);
  }
  h3{
    font-size: var(--font-40);
    font-weight: var(--font-weight-bold);
  }
}


.company-info_wrapper{
  margin-top: -25px;
  position: relative;
  width: 100%;
  height: auto;
  background: #ffffff;
  overflow: hidden;
  &::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50%;
    background: var(--secondaryColor);
    z-index: 0;
  }
  &::after {
    content: "MIP’S CONSEPT";
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 140px;
    font-weight: 700;
    line-height: 0.5;
    color: rgba(255,255,255,0.2);
    z-index: 1;
    white-space: nowrap;
    pointer-events: none;
  }
}

.company-info_inner {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--background);
    position: relative;
    z-index: 2;
}

.company-info_content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.company-info_heading {
    margin: 0;
    font-size: var(--font-48);
    line-height: 140%;
    font-weight: 700;
}

.company-info_text {
    margin: 0;
    font-size: var(--font-20);
    line-height: 160%;
    font-weight: 500;
}

/* solution style */

.top_solution_value_wrapper{
  .top_solution_value_watermark {
    color: rgba(255,255,255,0.4);
    line-height: 0.65;
    right: 0;
    top: 0;
  }
}

.top_solution_value_wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 0;
}

.top-solution_header {
    position: relative;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 60px;
}

.top-solution_header_inview {
    position: relative;
    z-index: 2;
}

.top-solution_intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width:60%;
}

.top-solution_description {
    margin: 0;
    color: var(--textColor);
    font-size: var(--font-20);
    line-height: 160%;
    font-weight: 800;
}

.top-solution_header_link {
    margin-left: auto;
}

.top-solution_header_link_inner {
    display: flex;
    gap: 20px;
}

/* TOP Common style*/
.top_title_sub{
  display: flex;
  align-items: center;
  margin:10px 0;
  gap: 10px;
  color: var(--secondaryColor);
  font-weight:var(--font-weight-bold);
}

/* TOP M&times;S MAP CSS */

.top_solution_msmap_wrapper{
  margin-top: -1px;
  .top_solution_msmap_watermark {
    white-space: nowrap;
    line-height: 0.7;
    color: rgba(255,255,255,0.4);
    right: 0;
    top: 0;
  }
}

.top_msmap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.top_msmap_roadmap{
  width: 100%;
  margin: 40px 0;
  padding: 30px;
}
.top_msmap_description{
  text-align:  center;
  font-weight:var(--font-weight-medium);
  font-size:var(--font-20);
  line-height: 1.8;
  span{
    color:var(--color-white);
    font-size:var(--font-22);
    background-color: var(--secondaryColor);
    padding: 2px 8px;
  }
}

/* TOP Value CSS */

.top_intro_title-description_container{
  display: flex;
  align-items: center;
  margin-bottom:50px;

  .top_intro_title_wrap{
    width: 50%;
  }
  .top_intro_description{
    width: 50%;
    font-weight:var(--font-weight-bold);
    font-size:var(--font-20);
    line-height: 1.8;
  }
  h2{
    font-weight:var(--font-weight-bold);
    font-size:var(--font-40);
  }
}

.top_value_box_wrap{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 20px;
}
.top_value_box{
  display:flex;
  flex-direction:column;
  gap:10px;
  background-color: white;
  padding:35px;
  border:1px solid rgba(212, 216, 226, 1);
  border-radius: 15px;
  h3{
    font-weight:var(--font-weight-bold);
    font-size:22px;
  }
  p:first-of-type{
    color: var(--secondaryColor);
    font-weight:var(--font-weight-bold);
    font-size:var(--font-14);
  }
  p:last-of-type{
    font-weight:var(--font-weight-medium);
    font-size:var(--font-18);
    max-width:80%;
  }

}

/* TOP Services CSS */
.top_solution_service_wrapper{
  .top_solution_service_watermark {
    line-height: 0.6;
    color: rgba(255, 255, 255, 0.4);
    right: 0;
    top: 0;
  }
}
.top_solution_service_wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 0;
}

.top_services_container{
  display: flex;
  flex-direction: column;
  gap: 55px;
}

.top_services_category{
  background-color: white;
  border:1px solid rgba(212, 216, 226, 1);
  border-radius: 15px;
}
.top_service_category_title,
.top_services_category_button{
  position: absolute;
  background-color: #005EA5;
  color: white;
}
.top_service_category_title{
  top: -20px;
  position: absolute;
  width: 100%;
  max-width: 320px;
  padding: 10px 15px;
  z-index: 2;
  p{
    font-weight:var(--font-weight-medium);
    font-size:var(--font-18);
  }
}
.top_services_category_button{
  right: 20px;
  bottom: 20px;
  padding: 13px 28px;
  border-radius: 40px;
}
.top_services_category_box{
  position: relative;
  display: flex;
  border-radius: 15px;
}
.top_services_category_text_container{
  width: 60%;
  padding: 60px 35px 35px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  h3{
    font-weight:var(--font-weight-bold);
    font-size: 30px;
  }
  .top_services_category_text{
    font-weight: var(--font-weight-medium);
    font-size: var(--font-16);
    width: 77%;
  }
  .top_services_category_tags{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    p{
      padding:5px 15px;
      background-color: #E2EAFA;
      border-radius: 10px;
      &::before{
        margin-right: 10px;
        content:url("/img/usr/default/mAN-g-LNbz-1.png");
      }
    }
  }
}
.top_services_category_pic{
  position: relative;
  width: 40%;
  height: auto;
  img{
    width: 100%;
    height: 100%;
  }
}

/* TOP Case CSS*/
.case-card_link {
/*  width: 350px;*/
/*  height: 400px;*/
}

.top-solution_item_link_inner {
    display: flex;
    gap: 20px;
}

.top-solution_header_link_text,
.top-solution_item_link_text {
    margin: 0;
    color: var(--secondaryColor);
    font-size: var(--font-20);
    line-height: 160%;
    font-weight: 500;
    border-bottom: 1px solid transparent;
}

.top-solution_header_link:hover .top-solution_header_link_text,
.top-solution_item_link:hover .top-solution_item_link_text {
    border-bottom-color: var(--primaryColor);
}

.top-services-title{
  margin-bottom:48px;
}

/* solution it partner style */
.solution-page_partner_container {
    max-width: 1200px;
    margin: 0 auto;
}

.solution-page_partner_section {
    position: relative;
    min-height: 500px;
}

.solution-page_partner_heading {
    color: var(--secondaryColor);
}

.solution-page_partner_subtitle {
    margin: 0;
    font-size: var(--font-18);
    line-height: 160%;
    font-weight: 500;
}

.solution-page_partner_title {
    margin: 0;
    color: var(--secondaryColor);
    font-size: var(--font-48);
    line-height: 120%;
    font-weight: 700;
}

.solution-page_partner_description {
    margin-top: 20px;
}

.solution-page_partner_description_text {
    margin: 0;
    font-size: var(--font-16);
    line-height: 160%;
    font-weight: 500;
}

.solution-page_roadmap {
    width: 100%;
    padding-top: 20px;
}

.solution-page_roadmap_image {
    z-index: 0;
    max-width: 100%;
    width: 100%;
    height: auto;
}

.solution-page_roadmap_labels_wrap {
    max-width: 1150px;
}

.solution-page_roadmap_labels {
    display: flex;
    justify-content: space-between;
    margin: 20px;
    color: var(--secondaryColor);
    font-size: var(--font-20);
    line-height: 160%;
    font-weight: 700;
}

.solution-page_roadmap_label {
    width: 280px;
    text-align: center;
}

/* solution keyword style */
.solution-page_keyword_bg {
    width: 100vw;
    margin: 125px 0;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 60px 0;
    background-color: #f1f8ff;
    max-width: none !important;
}

.solution-page_keyword_section {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-page_keyword_heading {
    width: 100%;
    max-width: 30%;
    color: var(--secondaryColor);
}

.solution-page_keyword_subtitle {
    margin: 0;
    font-size: var(--font-18);
    line-height: 160%;
    font-weight: 500;
}

.solution-page_keyword_title {
    margin: 0;
    color: var(--secondaryColor);
    font-size: var(--font-48);
    line-height: 120%;
    font-weight: 700;
}

.solution-page_keyword_venn {
    width: 100%;
    max-width: 65%;
    height: auto;
    object-fit: contain;
}

/* solution list style */
.top-solution_list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.top-solution_item {
    display: flex;
    flex-direction: column;
}

.top-solution_item:last-child .top-solution_item_link {
    margin-bottom: 0;
}

.solution_method_wrap {
    display:flex;
    justify-content: space-between;
    margin-bottom: 40px;
}
.solution_method_wrap:last-child{
    margin-bottom: 0px;
}

.solution_method_detail ul{
    margin-left: 1rem;
    display: flex;
    gap: 5px;
    flex-direction: column;
    li{
      position: relative;
      padding-left: 25px;
    }
    li::before{
      content: "―";
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      font-size: 20px;
    }
}

.top-solution_item_link{
    display: flex;
    align-items: flex-end;
}

/* topCase style */

.top-case{
    background-color: var(--secondaryColor);
}

.top-case_wrapper {
    position: relative;
    max-width: 1200px;
    padding: 80px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    .top_title_container h3,
    .top_title_container .top_title{
      color: var(--color-white);
    }
}

.top-case_link {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    line-height: 160%;
}

.top-case_link_text {
    margin: 0;
    padding: 15px 30px; 
    color: var(--secondaryColor);
    background-color: var(--color-white);
    font-size: var(--font-16);
    font-weight: var(--font-weight-bold);
    line-height: 160%;
    border-radius: 80px;
}

.top-case_link:hover .top-case_link_text {
    border-bottom-color: var(--primaryColor);
}

.top-case_container {
/*    display: grid; */
/*    grid-template-columns: repeat(3, 1fr); */
    display: flex;
    justify-content: center;
    align-items: stretch; 
    gap: 24px;
    .case-card_wrapper{
    width: 33%;
    height: auto;
    }
}

/* news style */
.top-news_wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--secondaryColor);
}

.top-news_header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: last baseline;
}

.top-news_link {
    display: block;
    width: fit-content;
    text-decoration: none;
    margin-left: auto;
}

.top-news_link_inner {
    display: flex;
    gap: 20px;
}

.top-news_link_text {
    margin: 0;
    font-size: var(--font-20);
    line-height: 160%;
    font-weight: 500;
    border-bottom: 1px solid transparent;
}

.top-news_link:hover .top-news_link_text {
    border-bottom-color: var(--primaryColor);
}

.top_news_container{
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin: 80px 0;
}

.top-news_list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.top-news_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
    border-bottom: 1px solid rgba(212, 216, 226, 1); 
    padding-bottom: 20px;
}

.top-news_item_link {
    gap: 20px;
    text-decoration: none;
}

.top-news_item_time {
    margin: 0;
    color: var(--textColor);
    font-size: var(--font-16);
    line-height: 160%;
    font-weight: 500;
}
.top_news_item_box{
  display: flex;
  align-items: center;
  gap: 32px;
}

.top-news_item_detail {
    color: var(--textColor);
    font-size: var(--font-16);
    line-height: 160%;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease-out;
}

.top-news_item_link:hover .top-news_item_detail {
    color: var(--primaryColor);
    border-bottom-color: var(--primaryColor);
}

.top_news_newspage_link{
  font-weight: var(--font-weight-bold);
  font-size: var(--font-16);
  text-align: center;
}

@media (max-width: 1280px) {

    .top-solution_wrapper,
    .top-case_wrapper,
    .top-news_wrapper {
        margin: 120px 30px 0;
    }

    .solution-page_keyword_bg {
        justify-content: space-evenly;
        padding: 60px 30px;
    }
}

@media (max-width: 1024px) {
    .company-info_content{
        padding: 0 15px;
        margin: 0;
    }
}

@media (max-width: 768px) {
    /* font size */
    .top-hero_counter,
    .top-solution_description,
    .solution-page_partner_description_text,
    .solution-page_partner_subtitle,
    .solution-page_keyword_subtitle,
    .solution-page_roadmap_labels,
    .top-news_item_time,
    .top-news_item_detail {
        font-size: var(--font-14);
    }

    .top-hero_cta_btn,
    .company-info_text,
    .top-solution_header_link_text,
    .top-solution_item_link_text,
    .top-case_link_text,
    .top-news_link_text {
        font-size: var(--font-16);
    }

    .top-hero_heading {
        font-size:  var(--font-18);
    }

    .solution-caption_heading_band .solution-caption_heading {
        font-size: var(--font-20);
    }

    .company-info_heading,
    .solution-page_partner_title,
    .solution-page_keyword_title {
        font-size: var(--font-24);
    }

    .top-hero_line {
        font-size: var(--font-28);
    }

    .top-hero_line_initial {
        font-size: var(--font-40);
    }

    /* main visual style */
    .top-hero_wrapper {
        padding: 0 15px;
    }        

    .top-hero_content {
        width:100%;
        margin: 250px 0 0;
    }    

    .top-hero_slide {
        width: 100%;
        height: auto;
    }
    .top_hero_wrapper{
      height: 600px;
    }

    .top-hero_counter {
        right: 15px;
        margin: 335px 0 0;
    }

    .top-hero_heading_block {
        margin: 10px 0 20px;
    }

    .no-brank {
        display: none;
    }
    .top-hero_cta_wrapper{
        width:100%;
    }
    .top-hero_cta_btn {
        /*width: 345px;*/
        width:100%;
        padding: 10px 0;
        max-width: 500px;
        margin: 0 auto;
    }

    .top_hero_text span{
      font-size: 35px;
    }

    .top_watermark{
      font-size: 50px;
    }

    /* company info style */
    .company-info_wrapper {
      padding: 0 15px;
      &::after {
        font-size: 50px;
      }
      .company-info_inner {
        padding: 40px 20px;
      .company-info_content{
        background-image:url("/img/usr/default/Dik-V-iNdI-1.png");
      }
      }
      .top_company-info_wrap{
        gap: 40px;
        flex-direction: column;
        padding: 60px 40px;
        .top_company-info_box{
          width: 100%;
          h3{
            font-size: 30px;
          }
        }
      }
    }
    .top_intro_title-description_container{
      flex-direction: column;
      text-align: center;
      .top_intro_title_wrap,
      .top_intro_description{
        width: 100%;
        font-size: var(--font-18);
      }
      h2{
        font-size: 30px;
      }
      .top_title_sub{
        justify-content: center;
      }
    }

    .top_solution_value_wrap{
      padding: 40px 20px;
      .top_value_box{
        text-align: center;
        img{
          margin: 0 auto;
        }
        p:last-of-type{
          max-width: none;
        }
      }
    }
    .top_value_box_wrap{
      grid-template-columns: repeat(1, 1fr);
    }
    .top_msmap .top_msmap_roadmap{
        padding: unset;
    }
    .top_services_category_box{
      flex-direction: column-reverse;
      .top_services_category_text_container,
      .top_services_category_pic,
      .top_services_category_text_container .top_services_category_text{
        width: 100%;
      }
      .top_services_category_text_container{
        text-align: center;
        .top_services_category_tags{
          margin-bottom: 30px;
        }
      }
      .top_services_category_button{
        background-color: initial;
        color: var(--primaryColor);
        font-weight: var(--font-weight-bold);
        right: 0px;
      }
    }
    .top-news_item_time{
      min-width: 110px;
    }

    /* section wrapper style */
    .top-solution_wrapper,
    .top_solution_service_wrap,
    .top-case_wrapper,
    .top-news_wrapper,
    .top_msmap {
        margin: 0;
        padding: 40px 20px;
    }
    .top-solution_wrapper {
        margin-top: 60px;
    }
    
    /* solution style */
    .solution-page_partner_section {
        min-height: auto;
    }

    .top-solution_header {
        padding-bottom: 30px;
    }

    .top-solution_intro {
        gap: 10px;
        width:100%;
    }

    .top-solution_description_wrap p,
    .solution-page_partner_description p{
        font-size:var(--font-14);
    }

    .solution-page_partner_description {
        margin-top: 10px;
    }

    .solution-page_roadmap {
        padding-top: 15px;
    }
    
    .solution-page_keyword_bg {
        padding:60px 20px;
    }
    .solution-page_keyword_bg_inner{
        margin: 0 auto;
        padding: 0 15px;
    }

    .solution-page_keyword_section {
        margin: 40px 0;
        flex-direction: column;
        gap: 40px;
    }

    .solution-page_keyword_heading {
        position: relative;
        max-width: 100%;
    }

    .solution-page_keyword_venn {
        max-width: 100%;
        margin: 0 auto;
    }

    /* solution caption style */
    .solution-caption_image {
        width: 100%;
        max-height: 150px;
    }

    .top-solution_item_link_inner {
        gap: 10px;
    }

    .top-solution_item_link {
        margin-bottom: 20px;
    }

    .solution_method_wrap {
        display:block;
        margin-bottom: 20px;
    }
    .solution_method_detail ul{
        margin-bottom:10px;
        font-size: var(--font-14);
    }

    /* case style */
    .top-case_header {
        margin-bottom: 35px;
    }

    .top-case_link {
        gap: 10px;
    }
/* コンテンツ3個以上になったらコメントアウトを使用*/
    .top-case_container {
      /*  grid-template-columns: repeat(1, 1fr); */
      flex-direction: column;
      .case-card_wrapper{
        width: 100%;
      }
    }

    /* news style */
    .top-news_link_inner {
        gap: 10px;
    }

    .top-news_list {
        margin: 40px 0 ;
    }

    .top-news_item_link {
        gap: 0;
    }
}

@media (max-width: 428px) {
    .solution-caption_image{
        max-height:100px;
    }

}