/***********************************************
  service list page
***********************************************/

/* ======================================
   Under Header (Service hero)
====================================== */
.service_hero_inner{
  display: flex;
  align-items: center;
  gap: 4rem;
  height: 100%;
}
.service_hero_left{
  display: flex;
  align-items: flex-end;
  gap: 1.2rem;
  position: relative;
  flex-shrink: 0;
}
.service_hero_dec{
  width: 16rem;
  flex-shrink: 0;
  position: relative;
  z-index: 0;
  opacity: 0.85;
}
.service_hero_dec img{
  width: 100%;
  transform: rotate(-124deg) scaleY(-1);
  display: block;
}
.service_hero_title{
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  line-height: 1;
}
.service_hero_title .title_en{
  font-family: var(--font-secondary);
  color: var(--color-navy);
  font-size: 6.4rem;
  font-weight: 500;
  line-height: 1;
}
.service_hero_title .title_ja{
  font-size: 2rem;
  font-weight: 400;
  color: #1b1b1b;
  font-family: 'Playwrite US Trad', cursive;
}
.service_hero_right{
  flex: 1;
}
.service_hero_desc{
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1.8;
  color: #282828;
}

/* ======================================
   Question section（こんな疑問はありませんか？）
====================================== */
.question_area{
  /*background: linear-gradient(180deg, #d4f1f9 0%, #ffffff 55%, #ceeff9 100%);*/
  padding: 12rem 2rem 10rem;
  overflow: hidden;
  background-image: url("../images/service_bg.jpg");
  background-color: #d7f6ff;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}
.question_heading_wrap{
  text-align: center;
  margin-bottom: 6rem;
}
.question_heading{
  display: block;
  font-family: var(--font-secondary);
  font-size: clamp(2.6rem, 3.8vw, 4.4rem);
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 0.8rem;
}
.question_heading_sub{
  display: block;
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--color-blu-light);
}

.question_cards{
  display: flex;
  gap: 1.6rem;
  justify-content: space-between;
  align-items: stretch; 
}
.question_card{
  background: #fff;
  border-radius: 1rem;
  width: 48%;
  padding: 3rem 2rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.8rem;
  position: relative;
}
/* 内側ボーダー */
.question_card::before{
  content: "";
  position: absolute;
  inset: 12px; /* ← これで内側に入る */
  border: 2px solid var(--color-navy);
  border-radius: 0.8rem;
  pointer-events: none;
}
.question_card_img{
  width: 100%;
  max-width: 53rem;
  overflow: hidden;
  border-radius: 0.6rem;
}
.question_card_img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.question_card_text{
  display: flex;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.68;
  color: #2d2c2b;
  text-align: center;
  flex-grow: 1;
}
.question_icons{
  display: flex;
  gap: 3rem;
  justify-content: center;
  align-items: flex-start;
}
.question_icon_item a{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  transition: transform 0.6s ease;
  text-decoration: none;
}
.question_icon_hex{
  width: 13.7rem;
  height: 13.7rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.question_icon_hex img{
  position: absolute;
  width: 7rem;
  height: 7rem;
  object-fit: contain;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  transition: opacity 0.4s ease, filter 0.4s ease;
}
.question_icon_hex .question_ring{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}
.ring_inner{
  fill: none;
  stroke: url(#ringGrad);
  stroke-width: 2;
  stroke-linecap: butt;
  stroke-dasharray: 125 3 125 3;
  stroke-dashoffset: 8;
  transition: stroke 0.4s ease;
}
.question_icon_item:hover .question_ring{
  transform: rotate(90deg);
}
.question_icon_item:hover .question_icon_hex img{
  opacity: 0.68;
}
.question_icon_item:hover .question_icon_badge{
  background:#003f73
}
.question_icon_badge{
  position: relative;
  height: 3.4rem;
  padding: 0.6rem 1.6rem;
  border-radius: 1.8rem;
  background: linear-gradient(270deg, rgba(7, 179, 214, 0.8) 0%, rgba(0, 25, 248, 0.8) 100%);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-family: var(--font-secondary), var(--font-primary);
  overflow: hidden;
}
.question_icon_badge::before{
  content: "";
  position: absolute;
  inset: 0;
  background: #003f73;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
}
.question_icon_badge span,
.question_icon_badge{
  position: relative;
  z-index: 1;
}
.question_icon_item:hover .question_icon_badge::before{
  opacity: 1;
}
@media screen and (max-width: 820px){
  .question_cards{
  flex-direction: column;
  align-items: center;
}
.question_card{
  width: 100%;
}
.question_area{
  padding: 8rem 0rem 8rem;
}
.question_heading_sub{
  font-size: 1.4rem;
}
.question_card_text{
  font-size: 1.6rem;
}
.question_icon_hex{
  width: 10rem;
  height: 10rem;
}
.question_icon_hex img{
  width: 5rem;
  height: 5rem;
}
.question_icon_badge{
  font-size: 1.3rem;
  padding: 0.4rem 1rem;
}
.service_item_title_row{
  flex-direction: column;
}
}

/* ======================================
   4 service list section
====================================== */
.service_list_area{
  width: 100%;
  padding: 0 0 15rem;
  background: linear-gradient(0deg,rgba(215, 246, 255, 1) 61%, rgba(255, 255, 255, 1) 79%, rgba(215, 246, 255, 1) 100%);
  position: relative;
}
.service_list_inner{
  max-width: 113rem;
  margin: 0 auto;
  position: relative;
}
.service_list_heading_wrap{
  padding: 10rem 0 8rem;
  text-align: center;
}
.service_num_row{
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}
.service_num_img{
  height: 8.9rem;
  width: auto;
}
.service_num_text{
  font-family: var(--font-secondary);
  font-size: clamp(2.6rem, 3.8vw, 4.4rem);
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1;
  padding-bottom: 0.4rem;
}
.service_list_sub{
  display: block;
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--color-blu-light);
  text-align: center;
}
.bg_below{
  width: 100%;
  height: 50%;
  background:url("../images/service_bg_below.png")no-repeat;
  background-position: bottom center;
  background-size: cover;
  position: absolute;
  bottom: 0;
}
/* Service list cards */
.service_items{
  display: flex;
  flex-direction: column;
  gap: 8rem;
  position: relative;
  z-index: 1;
  padding:  0 2rem;
}
.service_item{
  background: #fff;
  border: 3px solid var(--color-navy);
  border-radius: 2rem;
  display: flex;
  align-items: center;
  padding: 6rem 5rem;
  gap: 6rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease;
}
.service_item:hover{
  box-shadow: 0 4px 24px rgba(0, 63, 115, 0.12);
}
.service_item_icon{
  flex-shrink: 0;
  width: 12.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service_item_icon img{
  max-width: 100%;
  max-height: 12.7rem;
  object-fit: contain;
}
.service_item_content{
  flex: 1;
  min-width: 0;
}
.service_item_title_row a{
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-bottom: 2.4rem;
  text-decoration: none;
  transition: 0.6s ease;
}
.service_item_title_row a:hover .service_item_arrow{
  transform: translateX(1.6rem);
}
.service_item_title_row a:hover .service_item_title{
   color: #408fd0;
}
.service_item_title{
  font-size: 2.8rem;
  font-weight: 700;
  color: #044e8c;
  white-space: nowrap;
  line-height: 1;
  transition: 0.6s ease;
}
.service_item_arrow{
  width: 5.6rem;
  height: 0.3rem;
  background: #747474;
  position: relative;
  transition: transform 0.6s ease;
}
.service_item_arrow::after{
  content: "";
  position: absolute;
  top: calc(50% - 0.17rem);
  right: -0.2rem;
  width: 1rem;
  height: 0.24rem;
  border-top-right-radius: 9999px;
  border-bottom-right-radius: 9999px;
  background: #747474;
  transform: rotate(45deg);
  transform-origin: calc(100% - 2px) 50%;
}
.service_item_desc{
  font-size: 1.8rem;
  line-height: 1.8;
  color: #2d2c2b;
  margin-bottom: 2.8rem;
}
.service_item_tags{
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}
.service_tag{
  background: #ebebeb;
  border-radius: 0.8rem;
  padding: 0.8rem 1rem;
  font-size: 1.8rem;
  color: #2d2c2b;
  line-height: 1.4;
}

@media screen and (max-width: 1060px){
.service_item{
  padding: 4rem 4rem;
  gap: 4rem;
}
.service_item_title{
  font-size: 2.4rem;
}
.service_item_icon{
  width: 9rem;
}
}
@media screen and (max-width: 820px){
.service_item{
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2.4rem;
}
.service_item_title_row a{
  justify-content: center;
}
.service_item_tags{
  justify-content: center;
}
.service_item_desc{
  font-size: 1.6rem;
}
.service_tag{
  font-size: 1.4rem;
}
.service_num_img{
  height: 6rem;
}
.service_num_text{
  font-size: 3rem;
}
}


/***********************************************
  service detail page
***********************************************/
body{
  position: relative;
}
.service_detail_bg{
  width: 100%;
  height: 80rem;
  background: url("../images/service_detail_bg.png") no-repeat center top;
  background-size: cover;
  position: absolute;
  top: 0;
  z-index: 0;
}
/* ======================================
   Under Header override (Cloud)
====================================== */
.detail_content_area{
  position: relative;
}
.detail_hero_inner{
  display: flex;
  align-items: center;
  gap: 4rem;
  height: 100%;
}
.detail_hero_left{
  display: flex;
  align-items: flex-end;
  gap: 1.2rem;
  flex-shrink: 0;
  position: relative;
}
.detail_hero_dec{
  width: 16rem;
  flex-shrink: 0;
}
.detail_hero_dec img{
  width: 100%;
  display: block;
  transform: scaleY(-1) rotate(154deg);
}
.detail_hero_title .title_en{
  font-family: var(--font-secondary);
  color: var(--color-navy);
  font-size: 6.4rem;
  font-weight: 500;
  line-height: 1;
  display: block;
}
.detail_hero_title .title_ja{
  font-family: 'Playwrite US Trad', cursive;
  font-size: 2rem;
  color: #1b1b1b;
  display: block;
  margin-top: 0.4rem;
}
.detail_hero_right{
  flex: 1;
}
.detail_hero_desc{
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1.8;
  color: #2d2c2b;
}
/* ======================================
   fundingtool セクション
====================================== */
.fundingtool_section{
  padding: 6rem 2rem 0;
}
.fundingtool_section_inner{
  max-width: calc(var(--contents-max-width) - 4rem);
  margin: 0 auto;
}
.fundingtool_label_wrap{
  margin-bottom: 2rem;
}
.fundingtool_label{
  position: relative;
  display: inline-block;
  color: #fff;
  font-family: var(--font-secondary);
  font-size: clamp(1.4rem, 1.6vw, 1.8rem);
  font-weight: 500;
  padding: 0.4rem 4.8vmin;
}
.fundingtool_label::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  background: var(--color-navy);
  transform: skewX(-30deg);
}
.fundingtool_heading{
  font-family: var(--font-secondary);
  font-size: clamp(2.8rem, 3.4vw, 4.2rem);
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: 6rem;
  text-align: center;
}

/* ======================================
   冒頭文 (intro)
====================================== */
.intro_logo_row{
  display: flex;
  align-items: center;
  gap: 6.6rem;
  margin-bottom: 6rem;
}
.intro_logo_img{
  width: 25rem;
  flex-shrink: 0;
}
.intro_logo_img img{
  width: 100%;
  height: auto;
}
.intro_text{
  flex: 1;
  font-size: 2.1rem;
  line-height: 1.8;
  color: #2d2c2b;
  padding-top: 1rem;
}

/* ======================================
   YouTube / 動画セクション
====================================== */
.youtube_section{
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0.8rem;
  padding: 4rem 6rem;
  margin-bottom: 6rem;
}
.youtube_heading{
  font-size: 3.2rem;
  font-weight: 700;
  color: #2d2c2b;
  line-height: 1.4;
  margin-bottom: 4rem;
}
.youtube_row{
  display: flex;
  gap: 2.7rem;
  align-items: center;
}
.youtube_thumb{
  width: 50%;
  flex-shrink: 0;
  border-radius: 0.6rem;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;

}
.youtube_thumb iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.youtube_thumb img{
  width: 100%;
  height: auto;
  display: block;
}
.youtube_chapters{
  flex: 1;
  background: #fff;
  border-radius: 0.8rem;
  padding: 3rem 2rem;
  border: 1px solid #e8e8e8;
}
.youtube_chapter_item{
  font-size: 1.8rem;
  line-height: 2.2;
  color: #000;
}

/* ======================================
   セミナーアーカイブ
====================================== */
.seminar_section{
  margin-bottom: 10rem;
}
.seminar_box{
  background: #ecf8fd;
  border-radius: 1rem;
  padding: 8rem  4rem;
}
.seminar_box_inner{
  display: flex;
  align-items: center;
  justify-content:center;
  gap: 4rem;
}
.seminar_heading{
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 1.6rem;
}
.seminar_text{
  font-size: 1.8rem;
  color: #2d2c2b;
}

/* ======================================
   導入事業者
====================================== */
.clients_section{
  background: #f7f7f7;
  padding: 6rem 2rem;
  margin-bottom: 10rem;
}
.clients_heading{
  font-size: 3.2rem;
  font-weight: 700;
  color: #2d2c2b;
  text-align: center;
  margin-bottom: 8rem;
}
.clients_logos{
  display: flex;
  flex-wrap: wrap;
  gap: 3.2rem 5.4rem;
  align-items: center;
  justify-content: center;
  max-width: 120rem;
  margin: 0 auto;
}
.client_logo{
  display: flex;
  align-items: center;
  justify-content: center;
}
.client_logo img{
  max-width: 26rem;
}

/* ======================================
   製品の説明
====================================== */
.features_section{
  padding: 0 2rem 10rem;
}
.features_section_inner{
  max-width: calc(var(--contents-max-width) - 4rem);
  margin: 0 auto;
}
.features_section_heading{
  font-size: 3.2rem;
  font-weight: 700;
  color: #2d2c2b;
  text-align: center;
  margin-bottom: 9.8rem;
}
.feature_item{
  margin-bottom: 5.6rem;
}
.feature_item_heading{
  font-size: 2.4rem;
  font-weight: 500;
  color: #2d2c2b;
  line-height: 1.4;
  margin-bottom: 2.4rem;
}
.feature_item_body{
  display: flex;
  gap: 7.2rem;
  align-items: flex-start;
}
.feature_item_body.reverse{
  flex-direction: row-reverse;
  gap: 9.2rem;
}
.feature_texts{
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.feature_row{
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.feature_row_label{
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}
.feature_bullet{
  width: 1.4rem;
  height: 1.4rem;
  background: var(--color-navy);
  border-radius: 50%;
  flex-shrink: 0;
}
.feature_label_text{
  font-size: 1.8rem;
  font-weight: 500;
  color: #2d2c2b;
}
.feature_body_text{
  font-size: 1.6rem;
  line-height: 2;
  color: #2d2c2b;
  padding-left: 2rem;
}
.feature_item_img{
  width: 56rem;
  flex-shrink: 0;
  aspect-ratio: 560 / 370;
  overflow: hidden;
  border-radius: 0.4rem;
  background: #d9d9d9;
}
.feature_item_img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ======================================
   導入事例・活用シーン
====================================== */
.cases_section{
  padding: 0 2rem 10rem;
}
.cases_section_inner{
  max-width: calc(var(--contents-max-width) - 4rem);
  margin: 0 auto;
}
.cases_heading{
  font-size: 3.2rem;
  font-weight: 700;
  color: #2d2c2b;
  text-align: center;
  margin-bottom: 5.6rem;
}
.case_item{
  margin-bottom: 5.6rem;
}
.case_item_heading{
  font-size: 2.4rem;
  font-weight: 500;
  color: #2d2c2b;
  margin-bottom: 2.4rem;
}
.case_item_body{
  display: flex;
  gap: 10.8rem;
  align-items: flex-start;
  padding-left: 2.4rem;
}
.case_texts{
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.case_row{
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.case_row_label{
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.case_bullet{
  width: 1.4rem;
  height: 1.4rem;
  background: var(--color-navy);
  border-radius: 50%;
  flex-shrink: 0;
}
.case_label_text{
  font-size: 1.8rem;
  font-weight: 500;
  color: #2d2c2b;
}
.case_body_text{
  font-size: 1.6rem;
  line-height: 2;
  color: #2d2c2b;
  padding-left: 2rem;
}
.case_img{
  width: 50.9rem;
  flex-shrink: 0;
  aspect-ratio: 509 / 231;
  background: #d9d9d9;
  border-radius: 0.4rem;
  overflow: hidden;
}
.case_img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ======================================
   サービス導入の流れ
====================================== */
.flow_section{
  padding: 0 2rem 10rem;
}
.flow_box_outer{
  background: #ecf8fd;
  border-radius: 0.8rem;
  padding: 8.2rem 2rem;
}
.flow_box_inner{
  background: #fff;
  border-radius: 1rem;
  padding: 7rem 7vmin;
  max-width: 96.8rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
  align-items: center;
}
.flow_heading{
  font-size: 3.2rem;
  font-weight: 700;
  color: #2d2c2b;
  text-align: center;
}
.flow_steps{
  width: 100%;
  max-width: 74rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.flow_step{
  width: 100%;
  display: flex;
  gap: 4rem;
  align-items: baseline;
}
.flow_step_num{
  width: 40%;
  font-size: clamp(2rem, 2.2vw, 2.4rem);
  padding-right: 1rem;
  font-weight: 500;
  color: #374e8b;
  white-space: nowrap;
  line-height: 2;
}
.flow_step_text{
  width: 60%;
  font-size: clamp(1.6rem, 2.2vw, 1.8rem);
  font-weight: 500;
  color: #2d2c2b;
  line-height: 2;
}

/* ======================================
   その他PR
====================================== */
.pr_section{
  padding: 0 2rem 10rem;
  text-align: center;
}
.pr_section_inner{
  max-width: calc(var(--contents-max-width) - 4rem);
  margin: 0 auto;
}
.pr_heading{
  font-size: 3.2rem;
  font-weight: 700;
  color: #2d2c2b;
  text-align: center;
  margin-bottom: 8.1rem;
}
ul.pr_list{
  flex-direction: column;
  gap: 2.4rem;
  text-align: left;
  display: inline-block;
}
ul.pr_list > li{
  list-style: none !important;
  display: flex;
  margin-bottom: 2.2rem;
}
ul.pr_list > li::before{
  content: "";
  width: 1.4rem;
  height: 1.4rem;
  border: 0.2rem solid #00B2D5;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1rem;
  margin-right: 0.4rem;
}
.pr_item{
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.pr_text{
  font-size: 2.4rem;
  font-weight: 500;
  color: #2d2c2b;
  line-height: 2;
}

/* ======================================
   Responsive
====================================== */
@media screen and (max-width: 820px){
.saas_heading{
  font-size: 3.6rem;
}
.fundingtool_heading{
  font-size: 3.2rem;
  margin-bottom: 4rem;
}
.intro_logo_row{
  gap: 4rem;
}
.youtube_section{
  padding: 3rem 1.5rem;
}
.youtube_row{
  flex-direction: column;
}
.youtube_thumb{
  width: 100%;
}
.youtube_chapters{
  width: 100%;
  padding: 3rem 1.5rem;
}
.feature_item_body,
.feature_item_body.reverse{
  flex-direction: column;
}
.feature_item_img{
  width: 100%;
}
.case_item_body{
  flex-direction: column;
  gap: 3rem;
}
.case_img{
  width: 100%;
}
.seminar_box{
  padding: 4rem 4rem;
}
.seminar_box_inner{
  flex-direction: column;
}
.seminar_heading{
  font-size: 2.8rem;
  text-align: center;
}
.detail_content_area{
  padding-bottom: 6rem;
}
.saas_heading{
  font-size: 2.8rem;
}
.fundingtool_heading{
  font-size: 2.8rem;
}
.clients_heading{
  font-size: 2.8rem;
}
.intro_logo_row{
  flex-direction: column;
  gap: 3rem;
}
.clients_logos{
  width: 100%;
  justify-content: space-between;
}
.client_logo{
  width: 40%;
}
.client_logo img{
  max-width: 18rem;
}
.intro_text{
  font-size: 1.6rem;
}
.youtube_heading{
  font-size: 2.2rem;
}
.features_section_heading,
.cases_heading,
.flow_heading,
.pr_heading{
  font-size: 2.4rem;
}
.feature_item_heading,
.case_item_heading{
  font-size: 2rem;
}
.flow_step{
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 2.6rem;
}
.flow_step_num,
.flow_step_text{
  width: 100%;
  min-width: unset;
}
.flow_box_inner{
  padding: 4rem 2rem;
}
.pr_text{
  font-size: 1.8rem;
}
ul.pr_list > li{
  margin-bottom: 3.6rem;
}
.pr_section{
  padding: 0 2rem 6rem;
}
}
@media screen and (max-width: 430px){
.youtube_chapter_item{
  line-height:unset;
  margin-bottom: 2rem;
}
}