body{
	font-family: YakuhanJP, "Noto Sans JP", sans-serif;
	font-weight: 400;
}

:root {
  --color-primary: #26C000;
  --color-accent: #fa1859;
  --color-black: #202128;
  --color-grey-dark: #646478;
  --color-grey-medium: #d4d4d8;
  --color-grey-light: #f4f4f6;
  --color-green-light: #dff6d9;
}

body{
  background-color: var(--color-grey-light);
  color: var(--color-grey-dark);
}

/*ページ共通*/
section{
	padding:72px 0;
	position: relative;
	margin:0 auto;
}

@media screen and (max-width: 767px){
	section {
	  padding-right:6vw;
	  padding-left:6vw;  
    padding-top:40px;
    padding-bottom:40px;
	}
}

@media screen and (min-width: 768px) {
	section {
	  padding-right:8vw;
	  padding-left:8vw;
	}
}

@media screen and (max-width: 767px) {
    .oversection{
      margin-left: -6vw;
      margin-right: -6vw;
       overflow: hidden; /* スライダー全体を包む要素に指定 */
    }
}


/* ヘッダー */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  background-color: var(--color-grey-light);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--color-grey-medium);
}

@media screen and (max-width: 992px) {
  header {
    padding: 16px;
  }
}

/* ロゴ */
.logo img{
  height: 23px;
}

.logoicon-header img{
	height: 24px;
  margin-right: 8px;
}


/* メニュー */
.menu {
  display: flex;
  gap: 24px;
  padding:0 16px;
}

.menu .main-menu {
  display: flex;
  list-style: none;
  gap: 24px;
  margin:0;
}

.menu a {
  text-decoration: none;
  font-size: 15px; 
  transition: color 0.2s;
  color: var(--color-grey-dark);
  animation: none; /* リンク自体にはアニメーションしない */
}

.main-menu a .label,
.button span {
  display: inline-block;
}

.main-menu a .label span,
.button span span {
  display: inline-block;
  animation: none; /* 初期状態 */
}

/* ホバー時に左から順番に色が変わる */
.main-menu a:hover .label span,
.button:hover span span {
  animation: highlight 0.5s ease forwards;
  animation-delay: calc(var(--i) * 0.06s);
}

.menu ul li {
  position: relative; /* 子メニューの基準になる */
}

@media screen and (min-width:992px){
  .menu ul li:hover > .submenu {
    display:block;
  }
}

.submenu {
  position: absolute;
  top: 100%;   /* 親の高さの直下に配置 */
  left: -16px;     /* 親の左端に揃える */
  background: var(--color-grey-light);
  border:1px solid var(--color-grey-medium);
  border-radius: 8px;
  display: none; /* 初期は非表示 */
  min-width: 200px; /* 親より幅広くしたい場合 */
  list-style: none;
  padding: 16px 24px;
}

.submenu li {
  margin-bottom: 16px;
  margin-top:16px;
}

.submenu li:last-child {
  margin-bottom: 0; /* 最後の要素は不要 */
  border-bottom:none;
  padding-bottom:0;
}

.submenu li a {
  font-size:16px;
  position:relative;
  display: block;     /* 幅を揃えるためにブロック化 */
}

@media screen and (min-width: 992px) {
  .submenu li {
  padding-bottom:16px;
  border-bottom:1px solid var(--color-grey-medium);
  margin-top:0;
  } 
  /* 矢印の棒 */
  .submenu li a::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 5px;
    width: 15px;
    height: 1px;
    background: var(--color-grey-dark);
    transform: translateY(-50%);
    transition: transform 0.3s cubic-bezier(0.25, 1.5, 0.5, 1); 
  }

  /* 矢印の上の斜め線 */
  .submenu li a::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 5px;
    width: 9px;
    height: 1px;
    background: var(--color-grey-dark);
    transform: translateY(-50%) rotate(45deg);
    transform-origin: right center;
    transition: transform 0.3s cubic-bezier(0.25, 1.5, 0.5, 1);
  }

  /* ▼追加：矢印の下の斜め線 */
  .submenu li a span::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 5px;
    width: 9px;
    height: 1px;
    background: var(--color-grey-dark);
    transform: translateY(-50%) rotate(-45deg);
    transform-origin: right center;
    transition: transform 0.3s cubic-bezier(0.25, 1.5, 0.5, 1);
  }

  .submenu li a:hover::before {
    transform: translate(2px, -50%); /* 横にちょっと移動 */
  }

  .submenu li a:hover::after {
    transform: translate(2px, -50%) rotate(45deg);
  }

  .submenu li a:hover span::after {
    transform: translate(2px, -50%) rotate(-45deg);
  }
}


.header-contact {
  background-color: var(--color-primary);
  padding: 10px 20px;
  border-radius: 4px;
  position: relative;
  padding-right: 40px; /* 文字と矢印の間の余白 */
}

@media screen and (max-width: 992px) {
  .main-menu li:last-child {
    margin: 8px 0;
  }
  .header-contact {
    display: block;  /* ブロックにして幅を効かせる */
    width: 100%;     /* 幅いっぱい */
    box-sizing: border-box; /* パディング込みで幅を100%に */
    padding:16px;
    margin-bottom:20px;
  }
}

.header-contact span{
  color: #fff;
}

/* 矢印の棒 */
.header-contact::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 15px;
  width: 15px;
  height: 1px;
  background: #fff;
  transform: translateY(-50%);
  transition: transform 0.3s cubic-bezier(0.25, 1.5, 0.5, 1); 
}

/* 矢印の上の斜め線 */
.header-contact::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 15px;
  width: 9px;
  height: 1px;
  background: #fff;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: right center;
  transition: transform 0.3s cubic-bezier(0.25, 1.5, 0.5, 1);
}

/* ▼追加：矢印の下の斜め線 */
.header-contact span::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 15px;
  width: 9px;
  height: 1px;
  background: #fff;
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: right center;
  transition: transform 0.3s cubic-bezier(0.25, 1.5, 0.5, 1);
}

.header-contact:hover::before {
  transform: translate(2px, -50%); /* 横にちょっと移動 */
}

.header-contact:hover::after {
  transform: translate(2px, -50%) rotate(45deg);
}

.header-contact:hover span::after {
  transform: translate(2px, -50%) rotate(-45deg);
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 16px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-grey-dark);
  transition: all 0.3s ease;
}

/* ハンバーガー開閉アニメーション */
.hamburger.active span:nth-child(1) {
  transform: rotate(20deg) translate(4px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-20deg) translate(4px, -4px);
}

/* スマホ用レスポンシブ */
@media screen and (max-width: 992px) {
  /* メニューをフルスクリーンに */
  .menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--color-grey-light);
    overflow: hidden;
    flex-direction: column;
    transition: height 0s ease;
    z-index: 1050;
    /* 安全領域対応 */
    padding-top: env(safe-area-inset-top, 16px);
    padding-bottom: env(safe-area-inset-bottom, 16px);
  }

  .main-menu{
    padding:0 16px;
  }

  .menu a{
    font-size: 17px;
  }

  .main-menu .parent{
    border-bottom: 1px solid var(--color-grey-medium);
    padding-bottom: 16px;
    width:100%;
  }

  .main-menu > li:nth-of-type(1) > a > .parent{
    border-top: 1px solid var(--color-grey-medium);
    border-bottom: none;
    padding-top:16px;
    padding-bottom:8px;
  }


  .main-menu > li:nth-of-type(2) > a > .parent{
    border-top: 1px solid var(--color-grey-medium);
    padding-top:16px;
  }

  /* 開いたとき */
  .menu.open {
    height: 100dvh; /* ブラウザ下部UI考慮 */
    overflow-y: auto; /* 縦スクロールを許可 */
    -webkit-overflow-scrolling: touch; /* iOSでスムーズスクロール */
  }

  /* メニューリスト */
  .menu .main-menu {
    flex-direction: column;
    margin-top: 64px;
    gap: 16px;
  }

  .submenu {
    position: static; /* 親の下にそのまま表示 */
    display:block;
    flex-direction: column;
    margin-top:8px;
    padding:0;
    border:none;
  }

  .submenu li a {
    padding-left: 12px;
    font-size: 17px;
  }

  /* ハンバーガー表示 */
  .hamburger {
    display: flex;
  }
}

.pc-logo {
  display: block;
}

.mobile-menu-logo {
  display: none; /* 初期非表示 */
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1400; /* ハンバーガーより前 */
  margin:9px 8px;
}

.mobile-menu-logo img{
  height: 20px;
}

.menu.open .mobile-menu-logo {
  display: block;
}

@media screen and (min-width: 992px) {
  .mobile-menu-logo { display: none; } /* PCでは非表示 */
}


footer{
  font-size: 14px;
  padding:32px 0;
  background-color: var(--color-grey-medium);
}

.copyright {
  text-align: center;
}

.contact-section{
  padding:0 80px;
}

.contact{
  font-size:28px;
  
  color:#fff;
}

@media screen and (max-width: 992px) {
  .contact-section {
    padding:0 16px;
  }
  .contact{
    font-size:25px;
  }
}

.contact p{
  font-size:18px;
  line-height: 2rem;
  margin-top:24px;
}

@media screen and (max-width: 768px) {
  .contact p{
    font-size:15px;
    line-height: 1.5;
  }
  .contact{
    font-size:20px;
  }
}

.button-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 40px;
  margin: 32px auto;
  border: 1px solid var(--color-grey-medium);
  position: relative;
  font-size: 18px;
  text-decoration: none;
  padding:32px;
  color: var(--color-grey-dark);
  background-color: #fff;
  border-radius: 6px;
}


.button-contact span {
  display: inline-block;
}

.button-contact span span {
  display: inline-block;
  animation: none; /* 初期状態は必ずアニメーション無し */
}

/* ホバー時にだけアニメーションを付与 */
.button-contact:hover span span {
  animation: highlight 0.5s ease forwards;
  animation-delay: calc(var(--i) * 0.1s);
}

/* 矢印の棒 */
.button-contact::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 40px;
  width: 15px;
  height: 1px;
  background: var(--color-grey-dark);
  transform: translateY(-50%);
  transition: transform 0.3s cubic-bezier(0.25, 1.5, 0.5, 1); 
}

/* 矢印の上の斜め線 */
.button-contact::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 40px;
  width: 9px;
  height: 1px;
  background: var(--color-grey-dark);
  transform: translateY(-50%) rotate(45deg);
  transform-origin: right center;
  transition: transform 0.3s cubic-bezier(0.25, 1.5, 0.5, 1);
}

/* ▼追加：矢印の下の斜め線 */
.button-contact span::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 40px;
  width: 9px;
  height: 1px;
  background: var(--color-grey-dark);
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: right center;
  transition: transform 0.3s cubic-bezier(0.25, 1.5, 0.5, 1);
}

.button-contact:hover::before {
  transform: translate(2px, -50%); /* 横にちょっと移動 */
}

.button-contact:hover::after {
  transform: translate(2px, -50%) rotate(45deg);
}

.button-contact:hover span::after {
  transform: translate(2px, -50%) rotate(-45deg);
}

.section-title-top{
	font-size:40px;
	text-align: center;
	line-height: 4.2rem;
	margin:64px 0;
  color:var(--color-primary);
}

.section-title-top span{
	color:var(--color-primary);
  position: relative;
  padding-bottom: 4px;
}

.section-title-top span::before {
  content: "";
  position: absolute;
  bottom: 0; /* 下部に配置 */
  width: 258px;   /* 点線の長さ */
  height: 3px;   /* 点線の太さ */
  background: repeating-linear-gradient(
    to right,
    var(--color-primary),
    var(--color-primary) 4px,
    transparent 4px,
    transparent 7px
  );
}

@media screen and (max-width: 767px){
  .section-title-top {
    font-size: 24px;
    line-height: 2.5rem;
    margin:32px 0 32px 0;
  }
  
  .section-title-top span::before {
    width: 180px; /* スマホ用に短くする */
  }
}

.card{
  padding: 32px;
  background-color: rgba(212, 212, 216, 0.2);
  border-radius: 4px;
  border: 0.5px solid var(--color-grey-medium);
}

.card-title{
  font-size: 17px;
  margin-bottom:24px;
  position: relative;
  text-align: center;
  color: var(--color-grey-dark);
  align-items: center;
}
@media screen and (min-width: 768px){
  .card-title {
      height: 56px;
  }
}


.card p{
  color: var(--color-grey-dark);
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
}

@media screen and (max-width: 767px){
  .card-title {
    font-size: 16px;
    line-height: 1.6;
  }
  .card p{
    font-size: 13px;
    line-height: 1.8;
  }
}

.card {
  opacity: 0;
  transform: scale(0.8);
  animation: zoomIn 0.3s ease-out forwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.3s; }
.card:nth-child(3) { animation-delay: 0.5s; }
.card:nth-child(4) { animation-delay: 0.7s; }

@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.qt-top{
  margin-top: 40px;
  text-align: left !important; /* 強制的に左寄せ */
}

.qt-top img{
  width: 90%;
  display: block !important;  /* インラインのままでは中央寄せが効くので強制的にブロック化 */
  margin-left: 0 !important;  /* 左マージンをゼロに */
  margin-right: auto !important; /* 右方向に自動マージンを押し出す＝左寄せ */
}


.top_message{
  font-size: 16px;
  line-height: 2;
  margin-top:40px;
}

@media screen and (max-width: 768px) {
  .qt-top img{
    width: 100%;
    padding:0 8px;
  }
  .top_message{
  font-size: 14px;
  margin-top:8px;
}
}

.section-title{
	font-size:24px;
	letter-spacing:0.1rem;
  position: relative;
  margin-bottom:80px;
  padding-top:16px;
}

@media screen and (max-width: 768px) {
  .section-title {
    font-size: 18px;
    margin-bottom:32px;
  }
}

.section-title span {
  display: inline-block;
}

/* アニメーション発火用クラス */
.section-title.animate span {
  animation: highlight 1s ease forwards;
  animation-delay: calc(var(--i) * 0.1s);
}

@keyframes highlight {
  0% { color: var(--color-grey-dark); }
  30% { color: var(--color-primary); }
  100% { color: var(--color-grey-dark); }
}

.section-title::before {
  content: "";
  position: absolute;
  width: 53px;
  height: 2px;
  top: 0;      
  left: 0;
  background-image: linear-gradient(90deg, var(--color-primary) 0 32px, transparent 32px 40px), repeating-linear-gradient( 90deg, var(--color-grey-medium), var(--color-grey-medium) 4px, transparent 4px, transparent 7px ); 
  background-repeat: no-repeat; 
  background-size: 100% 2px; 
  background-position: top;
}


.button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50px;
  margin: 30px auto;
  border: 0.5px solid;
  position: relative;
  font-size: 16px;
  text-decoration: none;
  padding:30px 24px;
  color: #fff;
  background-color: var(--color-grey-dark);
  border-radius: 4px;
}

.button span {
  display: inline-block;
}

.button span span {
  display: inline-block;
  animation: none; /* 初期状態は必ずアニメーション無し */
}

/* ホバー時にだけアニメーションを付与 */
.button:hover span span {
  animation: highlight2 0.5s ease forwards;
  animation-delay: calc(var(--i) * 0.1s);
}

@keyframes highlight2 {
  0% { color: #fff; }
  30% { color: var(--color-primary); }
  100% { color: #fff; }
}

/* 矢印の棒 */
.button::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 24px;
  width: 15px;
  height: 1px;
  background: #fff;
  transform: translateY(-50%);
  transition: transform 0.3s cubic-bezier(0.25, 1.5, 0.5, 1); 
}

/* 矢印の上の斜め線 */
.button::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 23px;
  width: 9px;
  height: 1px;
  background: #fff;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: right center;
  transition: transform 0.3s cubic-bezier(0.25, 1.5, 0.5, 1);
}

/* ▼追加：矢印の下の斜め線 */
.button span::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 23px;
  width: 9px;
  height: 1px;
  background: #fff;
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: right center;
  transition: transform 0.3s cubic-bezier(0.25, 1.5, 0.5, 1);
}

.button:hover::before {
  transform: translate(3px, -50%); /* 横にちょっと移動 */
}

.button:hover::after {
  transform: translate(3px, -50%) rotate(45deg);
}

.button:hover span::after {
  transform: translate(3px, -50%) rotate(-45deg);
}

.service-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  border-image: linear-gradient(to right, var(--color-primary), var(--color-grey-medium)) 1;
  border: 0.5px solid;
  position: relative;
  font-size: 16px;
  text-decoration: none;
  color: var(--color-grey-dark);
  border:none;
  top:-20px;
}

.service-button span {
  display: inline-block;
}

.service-button span span {
  display: inline-block;
  animation: none; /* 初期状態は必ずアニメーション無し */
}

/* 矢印の棒 */
.service-button::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 2px;
  width: 15px;
  height: 1px;
  background: var(--color-grey-dark);
  transform: translateY(-50%);
  transition: transform 0.3s cubic-bezier(0.25, 1.5, 0.5, 1); 
}

/* 矢印の上の斜め線 */
.service-button::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 2px;
  width: 9px;
  height: 1px;
  background: var(--color-grey-dark);
  transform: translateY(-50%) rotate(45deg);
  transform-origin: right center;
  transition: transform 0.3s cubic-bezier(0.25, 1.5, 0.5, 1);
}

/* ▼追加：矢印の下の斜め線 */
.service-button span::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 2px;
  width: 9px;
  height: 1px;
  background: var(--color-grey-dark);
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: right center;
  transition: transform 0.3s cubic-bezier(0.25, 1.5, 0.5, 1);
}

.box:hover .service-button::before {
  transform: translate(3px, -50%); /* 横にちょっと移動 */
}

.box:hover .service-button::after{
  transform: translate(3px, -50%) rotate(45deg);
}

.box:hover .service-button span::after {
  transform: translate(3px, -50%) rotate(-45deg);
}

.box-casestudy:hover .service-button::before {
  transform: translate(3px, -50%); /* 横にちょっと移動 */
}

.box-casestudy:hover .service-button::after{
  transform: translate(3px, -50%) rotate(45deg);
}

.box-casestudy:hover .service-button span::after {
  transform: translate(3px, -50%) rotate(-45deg);
}

.casestudy:hover .service-button::before {
  transform: translate(3px, -50%); /* 横にちょっと移動 */
}

.casestudy:hover .service-button::after{
  transform: translate(3px, -50%) rotate(45deg);
}

.casestudy:hover .service-button span::after {
  transform: translate(3px, -50%) rotate(-45deg);
}

.button-short{
   width: 280px;
  float: center;
  text-align: center;
  display: flex;       /* ブロックにする */
}

@media screen and (max-width: 576px) {
  .button-short{
    width: 100%;
  }
}

.box {
	position: relative;
	background-color: #fff;
	padding: 16px 24px 24px 24px;
  border-radius: 4px;
}

.box a{
  text-decoration: none;
  color: var(--color-grey-dark);
}

.box:hover .logoicon img{
  transform: scale(1.08);
  transition: transform 0.3s ease;
}


.logotype{
		padding-bottom:10px;
    margin-top:8px;
}

.logotype img{
	height: 40px;
}

.catchphrase{
	color: var(--color-primary);
	font-size: 15px;
	margin-top:4px;
}

.logoicon{
	text-align: center;
	margin-top:32px;
}

.logoicon img{
	height: 100px;
}

.box p{
	font-size: 14px;
	line-height: 1.6rem;
	margin-bottom: 0;
	margin-top:32px;
	padding-top: 14px;
}

@media screen and (max-width: 768px) {
  .logotype img{
    height: 28px;
  }
  .box {
    padding: 8px 16px 16px 16px;
  }
  .logoicon{
    margin-top:8px;
  }
  .logoicon img{
    height: 60px;
  }
  .box p{
    font-size:9px;
    line-height: 1.8;
    margin-top:8px;
  }

}

.bg-offwhite{
   background-color: rgba(255, 255, 255, 0.4);
}

.bg-green{
   background-color: var(--color-green-light);
}

.bg-grey{
   background-color: var(--color-grey-dark);
}

.bg-grey-medium{
   background-color: var(--color-grey-medium);
}

.box-casestudy a{
  color:var(--color-grey-dark);
}

.box-casestudy{
  padding-left:36px;
  position: relative;
  padding:56px;
  border-radius: 4px;
  background-color: var(--color-grey-light);
  border:1px solid var(--color-grey-medium);
}


.box-casestudy a{
	text-decoration: none;
}

.box-casestudy .title{
	font-size: 24px;
	line-height: 2.5rem;
  position: relative;
  padding-top:40px;
}

.box-casestudy .company{
  display: inline-block;
	font-size: 18px;
	line-height: 1.8rem;
  padding-bottom:32px;
}

.tag{
	display: flex;
	flex-wrap: wrap; /* タグが複数行になるようにする */
  padding-right: 18px;
	gap: 8px; /* 縦横のタグ間に余白をつける（推奨） */
}

.tag span{
	font-size: 14px;
	line-height: 1.4rem;
	white-space: nowrap; /* タグ内で改行されないようにする */
  font-weight: 300;
  border:1px solid var(--color-grey-medium);
  padding:4px 8px;
  border-radius: 4px;
}

@media screen and (max-width: 768px) {
  .box-casestudy{
    padding:32px 24px;
  }
  .box-casestudy .title {
    font-size: 16px;
    line-height: 1.6;
    padding-top:16px;
    padding-bottom:0;
  }
  .box-casestudy .company{
    font-size: 13px;
    padding-bottom:16px;
  }
  .tag span{
    font-size: 10px;
    line-height: 1.4;
  }
}

.casestudy{
  padding:24px;
  border-radius: 4px;
  background-color: var(--color-grey-light);
  border:1px solid var(--color-grey-medium);
}

.casestudy .title {
    font-size: 16px;
    line-height: 1.6;
    padding-top:16px;
    padding-bottom:0;
    margin-bottom:8px;
}

.casestudy .company{
    font-size: 13px;
    padding-bottom:24px;
}

.casestudy .tag span{
    font-size: 10px;
    line-height: 1.4;
}

.casestudy a{
  color:var(--color-grey-dark);
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .casestudy .title {
    font-size: 14px;
    line-height: 1.6;
    padding-top:16px;
    padding-bottom:0;
  }
  .casestudy .company{
    font-size: 12px;
  }
}


.casestudy-img{
  aspect-ratio: 8 / 5;  /* アスペクト比固定 */
  overflow: hidden;     /* はみ出した部分を隠す */
  border-radius: 4px;
}

.casestudy-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* 枠いっぱいに収めて切り抜く */
  display: block;       /* 余計な隙間を消す */
  transition: transform 0.3s ease; /* アニメーション */
}

.box-casestudy:hover img {
  transform: scale(1.05); /* ズーム */
}

.casestudy:hover img {
  transform: scale(1.05); /* ズーム */
}

.ac{
   flex: 1;   /* 残りの幅を全部取る */
  margin: 0; 
  padding: 0;
}

.ac ul {
  list-style: none;
}

#ac-menu1 li, #ac-menu2 li{
  margin-left:-30px;
  border-top:1px solid var(--color-grey-medium);
}

#ac-menu1 li:last-child{
  border-bottom:1px solid var(--color-grey-medium);
}

#ac-menu1 .label {
  cursor:pointer;
  padding: 32px 64px 32px 32px;
  position: relative;
  transition: .5s;
  font-size: 15px;
  line-height: 1.9;
  
}

#ac-menu2 .label {
  cursor:pointer;
  padding: 32px 64px 32px 32px;
  position: relative;
  transition: .5s;
  font-size: 16px;
  line-height: 1.9;
}

@media screen and (max-width: 767px) {
  #ac-menu1 .label {
    font-size: 13px;
    line-height: 1.8;
  }
}


#ac-menu1 .label::before,
#ac-menu1 .label::after,
#ac-menu2 .label::before,
#ac-menu2 .label::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
}

/* 横棒 */
#ac-menu1 .label::after, #ac-menu2 .label::after {
  width: 14px; /* 十字のサイズ */
  height: 1.5px;
  background: var(--color-primary); /* 十字の色 */
  z-index: 1;
  right: 32px; /* 丸の中心に調整 */
}

/* 縦棒（十字を形成） */
#ac-menu1 .label .plus-bar, #ac-menu2 .label .plus-bar {
  content: '';
  position: absolute;
  width: 1.5px;
  height: 14px;
  background: var(--color-primary); /* 十字の色 */
  top: 50%;
  right: 38px; /* 丸の中心に調整 */
  transform: translateY(-50%);
  z-index: 1;
  transition: .5s;
}

/* アコーディオンが開いたときの動作 */
#ac-menu1 .label.open .plus-bar,#ac-menu2 .label.open .plus-bar{
  transform: translateY(-50%) rotate(90deg);
}

#ac-menu1 li:hover{
  background-color: rgba(255, 255, 255, 0.4);
}

/* アコーディオン開いた時の背景色 */
#ac-menu1 li.open {
  background-color: rgba(255, 255, 255, 0.4);
}

/*
アコーディオンメニューのコンテンツ部分は、「display: none;」で非表示にしておく。
ラベルクリック時にjQueryの「  $(this).next().slideToggle();」で表示に切り替わる
*/
#ac-menu1 .detail, #ac-menu2 .detail {
  display: none;
  font-size: 15px;
  line-height: 1.9;
  padding: 32px;
  position: relative;
}

@media screen and (max-width: 767px) {
  #ac-menu1 .detail {
    font-size: 13px;
    line-height: 1.8;
  }
}

#ac-menu1 .detail::before, #ac-menu2 .detail::before {
  content: "";
  position: absolute;
  top: 0; /* 上部に配置 */
  left: 32px;
  width: 20px;   /* 点線の長さ */
  height: 3px;   /* 点線の太さ */
  background: repeating-linear-gradient(
    to right,
    var(--color-grey-medium),
    var(--color-grey-medium) 4px,
    transparent 4px,
    transparent 7px
  );
}


#ac-menu1 .detail dl, #ac-menu2 .detail dl {
  display: flex;
  flex-wrap: wrap;
}
#ac-menu1 .detail dt, #ac-menu2 .detail dt {
  width: 20%;
  font-weight: bold;
  margin-bottom: 40px; 
}
#ac-menu1 .detail dd, #ac-menu2 .detail dd {
  width: 80%;
  margin-bottom: 40px;
}

.service-dev img {
  width:400px;
}

.detail a{
	text-decoration: none;
	color: var(--color-primary)!important;
	
	border-bottom:1px solid var(--color-primary);
}

.ac-section {
  
  margin:24px 0 16px 0;
  border-bottom: 1px dotted var(--color-grey-medium);
  padding-bottom:4px;
}

.faq-line {
	width: 100%;
	padding: 1px 0;
	margin-bottom: 24px;
	background-image:
		repeating-linear-gradient(
			90deg,
			var(--color-grey-medium),
			var(--color-grey-medium) 4px,
			transparent 4px,
			transparent 7px
		);
	background-repeat: no-repeat;
	background-size: 100% 1px;
	background-position: bottom;
}

.line-grey{
  border-top:1px solid var(--color-grey-medium);
}

@media screen and (max-width: 767px){
	.line-grey {
	  margin-right:6vw;
	  margin-left:6vw;    
	}
}

@media screen and (min-width: 768px) {
	.line-grey {
	  margin-right:8vw;
	  margin-left:8vw;
	}
}

/* 各ページ共通 */

@media screen and (min-width: 768px) {
  .flex2 {
  display: flex;
  gap:100px;
  }
}

 .flex1 {
  display: flex;
  gap:100px;
  }

.flex-right {
  margin-left: auto;
  margin-top:-20px;
}

.flex1 a,.flex2 a{
  color:var(--color-grey-dark);
}

.flex1 a:hover, .flex2 a:hover{
  opacity: 0.6;
}

.note-icon{
  height: 90px;
}

@media screen and (max-width: 767px) {
  .note-icon {
    height: 70px;
  }
} 

/* 活用ヒント */
.tabs {
  position: relative;
}

.tab-buttons {
  position: relative;
  display: flex; /* 横並び */
  border-bottom: 1.5px solid var(--color-grey-dark); /* 全幅のグレー線 */
  gap:8px;
}

.tab-buttons span {
  cursor: pointer;
  flex: 0 0 120px; /* 固定幅。可変にしたい場合は flex: 1; に変更 */
  text-align: center;
  height: 48px;
  line-height: 48px;
  position: relative;
  color: var(--color-grey-dark); /* 非アクティブの色 */
  transition: color 0.3s;
  font-size: 15px;
  border-top:2px solid var(--color-grey-medium); 
  border-right:2px solid var(--color-grey-medium); 
  border-left:2px solid var(--color-grey-medium); 
  border-radius: 4px 4px 0 0;
}

@media screen and (max-width: 767px) {
  .tab-buttons {
    display: flex;       /* flexコンテナ */
    width: 100%;         /* 全幅に広げる */
  }
  .tab-buttons span {
    flex: 1 1 100%; /* 均等割り付け */
    min-width: 0;   /* 長いテキストでもはみ出さないように */
    font-size: 14px;
    height: 40px;
    line-height: 40px;
  }
}

/* アクティブタブの色 */
.tab-buttons span.active {
  color: #fff;
  background-color: var(--color-grey-dark);
  border-top:2px solid var(--color-grey-dark); 
  border-right:2px solid var(--color-grey-dark); 
  border-left:2px solid var(--color-grey-dark); 
}

.tab-content>div {
  display: none;
  margin-top: 16px;
}

.tab-content{
  margin-top:40px;
}



.note-title{
  font-size: 14px;
  line-height: 1.6rem;
  margin-bottom:4px;
  font-weight: 400;
}

@media screen and (max-width: 767px) {
  .note-title {
    font-size: 12px;
    line-height: 1.7;
  }
}

.note a{
  text-decoration: none;
  color:var(--color-grey-dark);
}

/* 更新日 */
.note small{
  color: var(--color-grey-dark);
  font-size: 12px;
}

.note-body{
  margin-top:8px;
}

.note-title span {
  display: inline-block;
}

.note:hover .note-title span {
  animation: highlight 0.3s ease;
  animation-delay: calc(var(--i) * 0.01s);
}

.noteslider .col {
  padding: 0 16px; 
}

.noteslider {
  overflow: hidden;
}

.slick-list {
  overflow: hidden!important;
}

.slick-track {
  display: flex!important;
  align-items: center!important;
  margin:0;
}

.note-img{
  width: 100%;
  overflow: hidden;     /* はみ出した部分を隠す */
  border-radius: 4px;
}

.note-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;    /* 枠いっぱいに収めて切り抜く */
  display: block;       /* 余計な隙間を消す */
  transition: transform 0.3s ease; /* アニメーション */
}

.note:hover img {
  transform: scale(1.05); /* ズーム */
}


/* ページ切り替え */
.pagination .page-item .page-link {
  color: var(--color-grey-dark);
  border: none;
  background-color: transparent;
  color:var(--color-grey-dark);
  opacity: 0.8;
}

/* アクティブ時 */
.pagination .page-item.active .page-link {
  opacity: 1;
  font-weight: 500;
  border:1.5px solid var(--color-grey-medium);
  border-radius: 50%;
}

/* 非活性時 */
.pagination .page-item.disabled .page-link {
  color: var(--color-grey-medium);
  pointer-events: none;
}

.back{
  font-size: 14px;
  padding-right: 32px;
  margin-top: 2px;
}

.next{
  font-size: 14px;
  padding-left: 32px;
  margin-top: 2px;
}

a:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* 製品紹介 */
.pocket_outline{
  text-align: center;
  margin-bottom:40px;
}

.pocket_outline img{
    width: 100%;
    max-width: 600px;
   display: inline-block;
}

.data_outline{
  text-align: center;
  margin:80px 0;
}

.data_outline img{
    width: 100%;
   display: inline-block;
}


.outline{
  font-size:26px;
  line-height: 1.6;
  margin-top:40px;
}

.outline-des{
  font-size: 16px;
  line-height: 2;
  margin-top:40px;
}

@media screen and (max-width: 768px) {
  .outline-des{
  font-size: 14px;
  margin-top:8px;
}
}

.feature{
  margin-top:80px;
}

.feature-outline{
  font-size: 16px;
  margin:24px 0;
  line-height: 1.8;
}

.feature-outline .caution {
  font-size: 14px;
  line-height: 1.3rem;
  margin-top:16px;
}

@media screen and (max-width: 768px) {
  .feature{
  margin-top:16px;  
  }
  .feature-outline{
  font-size: 13px;
  line-height: 1.8;
  }
  .feature-outline .caution {
  font-size: 12px;
  }
}

.feature-box {
  border: 1px solid var(--color-grey-medium);
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 4px;
}

.feature-box img{
  width: 100%;
}

.feature-title{
  font-size: 17px;
  padding:24px 24px 16px 24px;
  text-align: center;
  border-bottom: 1px solid var(--color-grey-medium);
}

.feature-title-sub{
  font-size: 16px;
  margin-top:8px;
}

.feature-section{
  font-size: 20px;
  margin:80px 0 32px 0;
  border-bottom:2px dotted var(--color-grey-medium);
  padding-bottom:16px;
}

.feature-des{
  padding:24px 32px 32px 32px;
  font-size:15px;
  line-height: 1.8;
}

.feature-des div:not(:first-child){
  margin-top:16px;
}

.feature-des .caution{
  font-size:12px;
  line-height: 1.3rem;
}

.feature-des img{
  width: 100%;
  border:1px solid var(--color-grey-medium);
}

@media screen and (max-width: 767px){
  .feature-title {
    font-size: 16px;
    line-height: 1.6;
  }
  .feature-des{
    font-size: 13px;
    line-height: 1.8;
  }
  .feature-section{
  font-size: 17px;
  padding-bottom:8px;
  }
}



@media screen and (max-width: 767px) {
  .outline {
    font-size: 18px;
    margin-top:24px;
  }
}

.qt_logo{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top:144px;
}

.qt_logo img{
  height: 80px;
}

@media screen and (max-width: 767px) {
  .qt_logo{
    margin-top:80px;
  }
  .qt_logo img{
  height: 60px;
  }
}

.qt_logo_mini{
  display: flex;
  align-items: center;
  gap: 8px;
}

.qt_logo_mini img{
  height: 27px;
}

.icon{
  width: 40px;
  height: 80px;
  margin:16px 0;
  border:none!important;
}

table{
  border:1px solid var(--color-grey-medium);
  width: 100%;
  margin-top:40px;
  background-color: rgba(255, 255, 255, 0.4);
  border-collapse: collapse; 
  border-spacing: 0;          
  border-radius: 4px;        
  font-size:14px;
}        

tr{
  border-bottom:1px solid var(--color-grey-medium);
}

td{
  padding:24px;
  border:1px solid var(--color-grey-medium);
}


td, th{
  border-bottom:1px solid var(--color-grey-medium);
}

@media screen and (max-width: 767px) {
 td:first-child {
  display: flex;
  justify-content: center;   /* 横方向中央 */
  align-items: center;       /* 縦方向中央 */
  padding: 16px;
  border:none;
}

.vertical-text {
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;

  -webkit-text-orientation: upright;
  text-orientation: upright;

  white-space: nowrap;
}

  table{
    font-size:12px;
    border-radius: 4px;
  }
}

.data_table  td:first-child {
  width: 130px;
  padding:24px;
}

.data_table  td div:not(:last-child) {
  margin-bottom:8px;
}


.case_name{
  font-size: 22px;
  margin-bottom: 32px;
}

.case_title{
  font-size: 18px;
}

.case_title{
  font-size: 16px;
}

.case_des{
  font-size: 16px;
  line-height: 1.9;
  margin-bottom:24px;
}

.case_des{
  color: var(--color-grey-dark);
  font-size: 15px;
  line-height: 1.9;
  margin: 8px 0 24px 0;
}

@media screen and (max-width: 767px){
  .case_title {
    font-size: 15px;
    line-height: 1.6;
  }
  .case_des{
    font-size: 13px;
    line-height: 1.8;
  }
}

/* 導入事例 */
.page-title{
	font-size:28px;
	letter-spacing:0.1rem;
  position: relative;
  margin:80px 0 56px 0;
  padding-top:16px;
}

@media screen and (max-width: 768px) {
  .page-title {
    font-size: 20px;
    margin-bottom:32px;
    margin:80px 0 40px 0;
    padding-top:13px;
  }
}

.page-title span {
  display: inline-block;
}

/* アニメーション発火用クラス */
.page-title.animate span {
  animation: highlight 1s ease forwards;
  animation-delay: calc(var(--i) * 0.1s);
}

@keyframes highlight {
  0% { color: var(--color-grey-dark); }
  30% { color: var(--color-primary); }
  100% { color: var(--color-grey-dark); }
}

.page-title::before {
  content: "";
  position: absolute;
  width: 53px;
  height: 2px;
  top: 0;      
  left: 0;
  background-image: linear-gradient(90deg, var(--color-primary) 0 32px, transparent 32px 40px), repeating-linear-gradient( 90deg, var(--color-grey-medium), var(--color-grey-medium) 4px, transparent 4px, transparent 7px ); 
  background-repeat: no-repeat; 
  background-size: 100% 2px; 
  background-position: top;
}


.introduction{
  font-size: 16px;
  line-height: 1.9;
  margin:32px 0 0 0;
}

.interview-top {
  position: relative;
  text-align: center;
  overflow: hidden;
  margin-top:72px;
}

@media screen and (max-width: 992px) {
  .interview-top {
    margin-top:56px;
  }
}

/* 背景用 */
.interview-top img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px);
  transform: scale(1.1); /* 隙間防止 */
  z-index: 0;
}

/* メイン画像 */
.interview-top img.main {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 2 / 1;
  height: auto;
  max-width: 880px;
  object-fit: contain;
}


.interview-title {
  font-size: 28px;
	line-height: 1.6;
  margin: 40px 0;
}

@media screen and (max-width: 767px) {
  .interview-title {
    font-size: 20px;
    line-height: 1.6;
  }
}

.interview-info{
  border-top:1px solid var(--color-grey-medium);
  border-bottom:1px solid var(--color-grey-medium);
  padding:24px 0 24px 16px;
  margin-top:32px;
}

.company-name{
  font-size: 20px;
  margin-bottom: 8px;
}

.interview-person p{
  font-size: 16px;
  line-height: 1.9;
  padding:6px 0;
  margin:0;
}

.caution{
  font-size: 14px;
  font-weight: 300;
  margin-bottom:8px;
}

.caution:last-of-type{
  margin-bottom:24px;
}

@media screen and (max-width: 767px) {
  .company-name{
    font-size: 16px;
    line-height: 1.6;
  }
  .interview-person p{
  font-size: 13px;
  line-height: 1.8;
  padding:6px 0;
  margin:0;
  }
  .introduction{
    font-size: 13px;
    line-height: 1.8;
    margin:32px 0 0 0;
  }
  .caution{
  font-size: 11px;
}

}


.interview-summary{
  margin: 32px 0 24px 0;
}

.interview-wrapper{
  display: flex;
  gap: 160px;
  align-items: flex-start; /* 上揃えにする */
}

.interview-wrapper img{
  width: 100%;
  border-radius: 8px;
}

.side-bar {
  width: 240px;
  padding-top:40px;
  position: sticky; /* ← これを追加 */
  top: 40px;        /* ビューポート上部からの余白 */
  align-self: flex-start; /* flex内で上揃え */
}

.side-bar a {
  text-decoration: none;
  color: inherit;
}

.side-bar a:hover {
  border-bottom:1px solid;
}

.side-bar div{
  font-size: 14px;
  margin-bottom:16px;
  
  border-bottom: 1px solid var(--color-grey-medium);
  padding-bottom:16px;
}

.side-bar div:first-of-type{
  border-top:1px solid var(--color-grey-medium);
  padding-top:16px;
}



.side-bar div.active {
  
  color: var(--color-primary);
}


.interview-section{
  padding:40px 0;
}

.interview-section-title{
  font-size: 18px;
  border-left: 2.5px solid var(--color-primary);
  padding:0 16px;
  
}

.interview-lead{
  font-size: 24px;
  line-height: 2.5rem;
  margin-bottom:16px;
  padding-bottom:8px;
}

.interview-section p{
  font-size: 16px;
  line-height: 1.9;
}

@media screen and (max-width: 767px){
	.interview-lead{
    font-size: 16px;
    line-height: 1.6;
  }

  .interview-section p{
    font-size: 13px;
    line-height: 1.8;
  }
  .interview-section{
    padding:24px 0;
  }
}

@media screen and (min-width: 768px) {
	.interview-content {
	  padding-right:8vw;
	  padding-left:8vw;
	}
}

.interview-content{
  max-width: 1040px;
  margin: 0 auto;
}

@media screen and (max-width: 767px){
	.interview-content {
	  padding-right:6vw;
	  padding-left:6vw;  
	}
}

@media screen and (min-width: 768px) {
	.interview-content {
	  padding-right:8vw;
	  padding-left:8vw;
	}
}

.interview-content img{
  width: 100%;
}

.question{
  font-weight: 400;
  border-bottom:1px solid var(--color-grey-medium);
  padding-bottom:4px;
}

p.question:not(:first-of-type) {
  margin-top: 48px;
}

/* 読み込み中の表示 */
.spinner-border.custom-color {
  border-color: var(--color-grey-dark);       /* 外側の色 */
  border-right-color: transparent; /* 半透明部分を消して回転感を出す */
}
