/* @import url('http://example.com/example_style.css'); */

/***********************************************/
/* CSS @imports must be at the top of the file */
/* Add them above this section                 */
/***********************************************/

/*****************************************/
/* Start your style declarations here    */
/*****************************************/

/* -----------------------ページタイトル共通-----------------------*/
section.page-title{
  padding-bottom:0;
}

section.page-title .container{
  gap:4rem;
  align-items:flex-end;
}

section.page-title .left-con{
  width: calc(55% - 2rem);
  margin-bottom:4rem;
}
section.page-title .right-con{
  width: calc(45% - 2rem);
}

.breadcrumb{
  width:100%;
  background: var(--beige);
}

.breadcrumb ul {
    max-width:calc(100% - 300px);
    margin :0 auto;
    list-style: none;
    padding: 1rem 0;
    display: flex;
    align-items: center;
  }

.breadcrumb li {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.breadcrumb li:not(:last-child)::after {
    content: "＞";
    margin: 0 8px;
    color: var(--grey1); /* 矢印の色 */
  }

.breadcrumb a {
    text-decoration: none;
    color: var(--grey1); /* リンクの色 */
    transition: color 0.3s ease-in-out;
  }

.breadcrumb a:hover {
    color: var(--orange); /* ホバー時の色 */
  }


/* ----------------------- about page -----------------------*/
.about-monlab-origin.container{
  margin-top:4.5rem;
  gap:4.5rem;
  border: 2px solid var(--grey2);
  border-radius: 2rem;
  padding: 4em;
  max-width: calc(1440px -(300px + 8rem));
}

.about-monlab-origin .image-wrapper {
  height:100%;
}

.timeline {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline li {
/*     display: flex; */
    align-items: center;
    gap: 16px;
    border: solid var(--orange);
    border-width: 0 0 0 2px;
}
.timeline li > div {
    padding-left:1rem;
}

.timeline li.gap-line {
  position: relative;
  margin-top:4rem;
}
.timeline .gap-line::before {
  content: "";
  position: absolute;
  top: -5rem;
  left: -2px; /* 必要に応じて調整 */
  width: 2px;
  height: 100%;
  background-image: repeating-linear-gradient(
    to bottom,
    var(--Pantone-425-U, #656A6D) 0px,
    var(--Pantone-425-U, #656A6D) 2px,
    transparent 2px,
    transparent 6px
  );
}

.date {
    font-size: 14px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    color: #656A6D; /* グレー */
    line-height: 28.8px;
    letter-spacing: 0.84px;
}

.event {
    font-size: 16px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    color: #333333; /* ブラック */
    line-height: 28.8px;
    letter-spacing: 0.96px;
}

/* ----------------------- サービスページ -----------------------*/
.page-title .pc-hidden {
      display:none;
}
.rpa-solution{
    max-width: 800px;
    margin: 4rem auto 0 auto;
    flex-wrap:wrap;
    justify-content:center;
}
.rpa-solution .orange-arrow {
  width:1rem;
}
.solution-box {
     background-color: var(--beige);       
    border: 2px solid var(--orange); ;      
    border-radius: 0.5rem;                
}
.solution-details {
  flex-wrap: wrap;                 /* 折り返し可能にする */
  justify-content: center;        /* 中央寄せ */
  align-items: center;            /* 縦方向も整列 */      
  padding: 1.5rem;
  gap: 1rem;                       /* 画像同士の隙間 */
  box-sizing: border-box; 
}
.solution-details img {
  max-width: 100%;     /* コンテナを超えない */
  height: auto;        /* アスペクト比を保つ */
  flex: 1 1 200px;      /* 柔軟に並ぶ（例：最小200px） */
  object-fit: contain; /* 中身が潰れないように */
  min-width: 0;
}
.solution-details a {
  max-width:140px;
}
.solution-details a:hover {
  opacity:0.7;
}

.rpa-solution.mob{
    display:none;
}

.service-rax-reason {
    background:var(--beige);
}
.service-rax-reason .number-emphasis {
    font-size: 2em;
    color: var(--orange);
    font-weight: 700;
    padding:0 0.25rem;
}

.card {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}
.card-item {
  background: #fff;
  padding: 1.5rem;
  border: 2px solid var(--grey2);
  border-radius: 1rem;
}
.card-item.flex{
  justify-content:space-evenly;
}

.card-img-area {
/*   aspect-ratio: 2/1; */
/*   margin-bottom: 20px; */
}
.card-img-area img {
  width: 100%;
  height: 100%;
/*   object-fit: cover; */
  max-height: 110px;
}
.card-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.reason-list-item{
  margin: 4rem 0;
  gap:4rem;
}
/* .reason-list-item.flex {
  gap:4rem;
} */

.reason-title {
  position: relative;
  color: var(--navy); 
  font-size: 2rem;
}
.reason-title-box.flex {
  gap:3rem;
}
.reason-subtitle {
    color:var(--orange);
 
}
/* .number-box {
  width: 44px;
  height: 30px;
  position: absolute;
  top: 8px;
  left: 0;
} */

.number {
  position: relative;
/*   top: -15px;
  left: -1px; */
  color: var(--grey1); /* Pantone-425-U */
  font-size: 2.5rem;
/*   font-family: "Zen ", sans-serif; */
  font-weight: 700;
  line-height: 2rem;
  letter-spacing: 1.2px;
}

.number::after {
  content: "";
  display: block;
  width: 2.2rem;
  height: 2px;
  background-color: var(--orange); /* オレンジ */
  position: absolute;
  top: 50%;
  left: 3rem;
  transform: rotate(90deg);
}



.reason-support {
  width: 100%;
  background: var(--white);
  border-radius: 1.25rem;
  position: relative;
  padding:3rem;
  margin-bottom:4rem;
}

.support-box {
  gap:1rem;
  margin-bottom:2rem;
}

.support-details {
  padding-left: 1.5rem;
  left: 4rem;
  top: 7.75rem;
  border-left: 0.125rem solid var(--grey2);
  display: flex;
  flex-direction: column;
}

.support-icon {
  width;100%;
  max-width: 3.5rem;
}

.support-item{
  gap:1rem;
}
.support-item h5{
  min-width:8rem;
}



.feature-table {
  width:100%;
  margin:2rem 0;
}

/* PC向け：初期状態ではスクロール無効 */
.scroll-container {
  overflow: visible;
  white-space: normal;
}

/* 画像も画面にフィット */
.scroll-container img.feature-table {
  width: 100%;
  height: auto;
  max-width: 100%;
}

a.support-link {
    display: inline-block;
    color: var(--orange);
    text-decoration: underline;
    transition: color 0.3s ease;
}

a.support-link:hover {
    color: var(--navy);
    text-decoration-color: var(--navy);
}
.annotation {
  color:var(--grey1);
}

/* -------------------- 実績 ----------------------- */
.service-works,
.service-works .works-tags{
    background:var(--beige);
}

/* --------------------デモ動画----------------------- */
.rax-demo .card{
/*     grid-template-columns:repeat(auto-fill, minmax(520px, 1fr)); */
    gap:4rem;
}
.rax-demo .card-item{
    border: none;
    padding: 0;
}
/* --------------------プラン----------------------- */
.rax-plan {
    background: var(--beige);
}

.custom-plan {
    width: 100%;
    height: 100%;
    padding: 27px 0;
    background: var(--white, white);
    border-radius: 10px;
    outline: 3px solid var(--grey2, #B7B8B9);
    outline-offset: -3px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 38px;
}

.plan-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* カード間のスペース */
    margin-top: 4rem;
    align-items: stretch;
}

.plan-content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
    width: calc(50% - 1rem);
    flex-grow: 1;
}

/* オーダーメイドプランを1段目の単独表示にする */
.plan-content-wrapper:first-child {
    width: 100%;  
    order: -2;    /* 1番上に配置 */
}
.plan-content-wrapper:first-child .plan-content{
    max-width: 500px;
    margin:0 auto;
}
/* スマートプランを1行目の右側に */
.plan-content-wrapper:nth-child(2) {
    order: -1; /* オーダーメイドの右側に */
}

/* セルフプランは2行目に */
.plan-content-wrapper:nth-child(3) {
    order: 0;
}

.plan-content {
    background: #fff;
    padding: 2rem;
    border: 2px solid var(--grey2);
    border-radius: 1rem;
    flex-grow: 1;
}

.plan-title-box {
    margin-bottom: 1rem;
}

.plan-title {
    color: var(--grey1, #464A4D);
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0.8px;
}

.plan-icon {
    width: 87px;
    height: 61px;
    background: url("icon.svg") no-repeat center;
    background-size: contain;
    margin-right: 1rem;
}

.plan-step {
    color: var(--grey1, #464A4D);
    font-size: 20px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    line-height: 32px;
    letter-spacing: 0.8px;
}

.plan-description {
    color: var(--navy, #000F1E);
    font-size: 16px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    line-height: 28.8px;
    letter-spacing: 0.96px;
}

.plan-price {
    width: 104px;
    height: 28px;
    position: relative;
    margin-top: 1rem;
}

.price-text {
    color: var(--orange, #F56012);
    font-size: 16px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    line-height: 25.6px;
}

.price-icon {
    width: 18px;
    height: 18px;
    background: var(--orange, #F56012);
    border-radius: 50%;
    position: absolute;
    left: 88px;
    top: 5px;
}

.price-underline {
    width: 78px;
    height: 1px;
    background: var(--orange, #F56012);
    position: absolute;
    bottom: 0;
}

.price-menu {
    margin-top: 4rem;
}

.price-title {
    text-align: center;
    border: 2px solid var(--grey2);
    border-width: 2px 0;
    padding: 0.5rem 0;
}

.price-number {
    text-align: center;
    font-size: 2rem;
    padding: 0 3rem;
}

.price-number .number-emphasis {
    font-size: 3em;
    font-weight: 700;
    padding: 0 1rem 0 0;
}

.price img {
    max-width: 2rem;
    margin: 0 1rem;
}


/* タブのデザイン */
.tab-wrapper{
    width: calc(100% - 300px);
    margin-right: 150px;
}
.tab-menu {
    list-style: none;
    padding: 0;
    display: flex;
    border-bottom: 2px solid #B7B8B9; /* Grey2 */
    margin-bottom:0;
}

.tab-menu li {
    background: #FFFFFF; /* 背景を白 */
    border: 2px solid #B7B8B9; /* Grey2 */
    border-bottom: none; /* 下の枠線を消す */
    border-radius: 8px 8px 0 0; /* 左上と右上だけ角丸 */
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width:calc(100% / 3);
    text-align: center;
}

.tab-menu li a {
    text-decoration: none;
    color: var(--grey2);
    font-weight: bold;
}

.tab-menu li.active {
    color: var(--navy);
}

.tab-menu li.active a {
    color: #F56012;
}

.tab-menu li:hover {
    opacity: 0.7;
}

.tab-panel {
    display: none; /* 初期状態で非表示 */
    padding: 1rem;
    background: var(--white); /* Beige */
    border: 2px solid var(--grey2); /* Grey2 */
    border-top: none; /* 下の枠線を消す */
    border-radius: 0 0 8px 8px; /* 左上と右上だけ角丸 */
}

.tab-panel.active {
    display: block; /* 選択されたタブの内容のみ表示 */
}

.campaign-text {
    background:var(--orange);
    color:var(--white);
    padding:0.5rem 1rem;
    text-align:center;
}

/* seminar section */
.seminar-list {
    gap: 1.25rem;
    margin-top:4rem;
    justify-content:flex-start;
}

.seminar-item {
    width: 100%;
    max-width: 360px;
    flex-direction: column;
    gap: 0.75rem;
}

.seminar-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.seminar-item h4 {
    font-size: 1.25rem;
    color: var(--navy, #000F1E);
    font-weight: bold;
}

.seminar-item time {
    font-size: 1rem;
    color: var(--grey1, #464A4D);
    font-weight: 500;
}
.seminar-link:hover {
    opacity:0.8;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .seminar-list {
        flex-direction: column;
        align-items: center;
    }

    .seminar {
        max-width: 100%;
    }
}


/* よくある質問 */
.rax-faq {
    background:var(--beige);
}
.faq-list {
    max-width: 800px;
    margin: 4rem auto 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--grey2, #B7B8B9);
    padding: 1.5rem 0;
}
.faq-item:first-of-type{
    border-top: 1px solid var(--grey2, #B7B8B9);
}

.faq-item summary {
    font-size: 1rem;
    font-weight: 500;
    color: var(--navy, #000F1E);
    cursor: pointer;
    list-style: none;
}


.faq-item summary::after {
    content: "";
    background: url('https://7243532.fs1.hubspotusercontent-na1.net/hubfs/7243532/img/open_arrow.svg') no-repeat center;
    background-size: contain;
    width: 1.25rem;
    height: 1.25rem;
    position: relative;
    right: 0;
    top: 0.8rem;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease-in-out;
}

details.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease-in-out;
    background: url('https://7243532.fs1.hubspotusercontent-na1.net/hubfs/7243532/img/close_arrow.svg') no-repeat center;
    background-size: contain;
}

.faq-item p {
    padding: 1rem 0 0;
}

.faq-item a {
    display:inline-block;
    color: var(--orange, #F56012);
    text-decoration: none;
    font-weight: bold;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* -------------- CTAボタン ------------- */

/* -------------- 支援実績・ニュース共通 ------------- */
.blog a:hover {
　text-decoration: none;
}

@media (max-width: 1024px) {
  /* パンクズリスト */
  .breadcrumb ul {
    max-width: none;
    width:calc(100% - 4rem);
    flex-wrap: wrap;
  }
  /* ページタイトル */
  .page-title-image {
    width:50%;
    min-width: 240px;
    max-width: 340px;
    margin: 0 0 0 auto;
  }
  /* サービスページ */
  section.page-title .container {
    gap: 2rem;
  }
  section.page-title .left-con {
    width: calc(55% - 1rem);  
  }
  section.page-title .right-con {
    width: calc(45% - 1rem);
  }
  .reason-list-item {
      gap: 2rem;
      align-items: flex-start;
  }
  .price-menu{
    display:block;
  }
  .tab-wrapper {
    width:100%;
  }
  .price-number {
    font-size: 1.5rem;
    padding: 0 1rem;
}
  .price-number .number-emphasis{
    font-size:2.5rem;
    padding: 0 1rem;
  }
  .price img {
    max-width: 1.5rem;
    margin: 0 0.5rem;
}
  .tab-content p {
    font-size :0.9rem;
  }
  .tab-menu {
    display: flex;
    width: 100%;
  }

  .tab-menu li {
    flex: 0 0 20%;
    text-align: center;
    font-size: 14px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 8px 4px;
    transition: all 0.3s ease;
  }

  .tab-menu li.active {
    flex: 0 0 60%;
    font-weight: bold;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .tab-menu li a {
    display: block;
    width: 100%;
  }
}
@media (max-width: 768px) {
    section.page-title .container {
      display:block;
    }
    section.page-title .left-con {
      width: 100%;  
    }
    section.page-title .right-con {
      width: 100%;
    }
    .page-title .pc-hidden {
      display:block;
    }
  .rpa-solution.mob{
    display:flex;
    max-width:500px;
    margin:2rem auto 0;
  }
    .rpa-solution.pc{
    display:none;
  }
      .reason-list-item {
        display:block;
    }
  .reason-list-item .left-con img {
    display:block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 1rem;
  }
    /*  特長画像横スクロール */
  .scroll-wrapper {
    position: relative;
    margin-top: 1rem;
  }

  .scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    scrollbar-width: auto;
  }

  .scroll-container img.feature-table {
    display: inline-block;
    width: auto;
    height: auto;
    max-width: 1024px;
    min-width: 600px; /* 表が小さすぎないように */
  }

  .scroll-indicator {
    display: inline-block;
    position: absolute;
    top: calc(50% - 55px);
    left: calc(50vw - 100px);
    background-color: rgba(183, 184, 185, 0.8);
    color: var(--white);
    font-size: 1rem;
    padding: 1rem;
    border-radius: 0.25rem;
    animation: blink 2.0s infinite;
    z-index: 10;
  }

  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }

  .scroll-container::-webkit-scrollbar {
    height: 6px;
  }

  .scroll-container::-webkit-scrollbar-thumb {
    background: var(--grey2, #B7B8B9);
    border-radius: 3px;
  }
  
  .service-rax-scene .pc-hidden {
    display:block;
  }
  .plan-box{
    display:block;
  }
  .plan-content-wrapper,
   .plan-content-wrapper:first-child {
    width:100%;
    margin-bottom: 2rem;
  }
  .plan-content-wrapper .plan-content{
    max-width: 500px;
    margin: 0 auto;
  }
}
@media (max-width: 678px) {
  /* パンクズリスト */
  .breadcrumb ul {
    max-width: calc(100% - 1rem);
  }
  /* 企業情報 */
  .about-monlab-origin.container{
    padding: 2rem;
    border-radius:0.5rem;
  }
  /* サービスページ */
  .reason-support {
    padding:2rem;
  }
  .support-item{
    display:block;
  }
  .support-item p{
    padding-left:1rem;
  }
}