@charset 'UTF-8';
@import url("https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap");

/* Google Fonts は header.php で直接読み込み済み */

/*
css
　 ├ reset.css--------：リセット用
　 ├ style.css--------：WEB 1,400px以上
　 ├ pc.css-----------：WEB 1,399px以下、1,025以上
　 ├ tablet.css-------：WEB 1,024以下、601px以上
　 └ smart.css--------：WEB 600px以下
*/

/*
01. 枠組共通
02. header（ヘッダー）
03. 共通パーツ
04. breadcrumb（パンくずリスト）
05. aside（サイドバー）
06. footer（フッター）
*/

/*************************** 01. 枠組共通 ***********************/
.d-none {
  display: none !important;
}
/*swellのピックアップバナー削除*/
.p-postSlider {
  display: none !important;
}
html {
  font-size: 62.5%;
}
@media screen and (max-width: 1279px) {
  html {
    font-size: 56.25%;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family:
    Lato, "Yu Gothic Medium", "游ゴシック Medium", YuGothic, 游ゴシック体,
    "ヒラギノ角ゴ Pro W3", メイリオ, sans-serif;
  font-size: 1.6rem;
  color: #333;
}
.wrapper {
  margin: 0 auto;
  padding: 86px 0 150px;
}
.fixbox {
  max-width: 1280px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.fixbox-narrow {
  max-width: 820px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
section {
  margin-top: 80px;
}
section > section {
  margin-top: 60px;
}
section > section > section {
  margin-top: 60px;
}
.single-post .l-content {
  padding-top: 1em;
}
/*************************** 02. header（ヘッダー） ***********************/

/* ===== Q HACK JAPAN カスタムヘッダー ===== */
:root {
  --qhack-primary: #ff3d3b;
  --qhack-secondary: #b701f7;
  --qhack-gradient: linear-gradient(90deg, #ff3d3b 0%, #b701f7 100%);
  --qhack-text: #313131;
  --qhack-white: #ffffff;
}

/* PC/SP表示切り替え */
.sp-only {
  display: none;
}

.pc-only {
  display: initial;
}

.qhack-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--qhack-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

body.admin-bar .qhack-header {
  top: 32px;
  margin-top: 0 !important; /* 他のheaderスタイルを上書き */
}

/* SWELL親テーマのadmin-bar用スタイルを上書き */
body.admin-bar {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ヘッダー上部（ロゴ + CTA） */
.qhack-header__top {
  background: var(--qhack-white);
}

.qhack-header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 20px;
}

.qhack-header__logo-area {
  display: flex;
  align-items: center;
  gap: 20px;
}

.qhack-header__logo img {
  height: 70px;
  width: auto;
  display: block;
}

.qhack-header__desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--qhack-text);
  margin: 0;
  line-height: 1.6;
  letter-spacing: 0.56px;
}

/* CTAボタンエリア */
.qhack-header__cta {
  display: flex;
  gap: 16px;
}

/* CTAボタン共通スタイル */
.qhack-cta-btn {
  display: flex;
  width: 297px;
  padding: 10px 28px 11px;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  border-radius: 80px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: "Noto Sans JP", sans-serif;
}

.qhack-cta-btn__sub {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.48px;
  text-align: center;
}

.qhack-cta-btn__main {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.64px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.qhack-cta-btn__arrow {
  width: 16px;
  height: auto;
}

/* サービス資料請求ボタン */
.qhack-cta-btn--document {
  background: var(--qhack-white);
  border: 2px solid transparent;
  background-image: linear-gradient(white, white), var(--qhack-gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.qhack-cta-btn--document .qhack-cta-btn__sub,
.qhack-cta-btn--document .qhack-cta-btn__main {
  color: var(--qhack-text);
}

.qhack-cta-btn--document:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 61, 59, 0.2);
}

/* 無料相談ボタン */
.qhack-cta-btn--contact {
  background: linear-gradient(90deg, #ff3d3b -5%, #b701f7 105%);
  background-origin: border-box;
  background-clip: padding-box;
  border: 2px solid transparent;
}

.qhack-cta-btn--contact .qhack-cta-btn__sub,
.qhack-cta-btn--contact .qhack-cta-btn__main {
  color: var(--qhack-white);
}

.qhack-cta-btn--contact:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(183, 1, 247, 0.3);
}

/* ===== Q HACK JAPAN CTAセクション ===== */
.qhack-cta-section {
  width: 100%;
  max-width: 1920px;
  min-height: 346px;
  margin: 0 auto;
  margin-top: 40px;
  padding: 49px 20px;
  background: linear-gradient(90deg, #ff3d3b 0%, #b701f7 100%);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qhack-cta-section__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.qhack-cta-section__box {
  width: 1023px;
  max-width: calc(100% - 20px);
  min-height: 248px;
  padding: 40px 60px;
  border-radius: 40px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  box-sizing: border-box;
}

.qhack-cta-section__title {
  color: #313131;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.88px;
  margin: 0;
  white-space: nowrap;
}

.qhack-cta-section__buttons {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

/* CTAセクション内のボタンは大きく */
.qhack-cta-section__buttons .qhack-cta-btn {
  width: 360px;
  padding: 16px 40px 18px;
}

.qhack-cta-section__buttons .qhack-cta-btn__sub {
  font-size: 14px;
}

.qhack-cta-section__buttons .qhack-cta-btn__main {
  font-size: 22px;
}

/* ===== /Q HACK JAPAN CTAセクション ===== */

/* ===== Q HACK JAPAN 選ばれる理由セクション ===== */
.qhack-reasons {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  margin-top: 0;
  padding: 0;
  overflow: visible;
}

/* 背景SVG */
.qhack-reasons__bg {
  position: absolute;
  top: 100px; /* セクション上端との余白 */
  left: 0;
  width: 100%;
  height: calc(100% - 100px);
  z-index: 0;
  pointer-events: none;
}

.qhack-reasons__bg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.qhack-reasons__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 200px 0 120px;
}

.qhack-reasons__header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 40px;
}

.qhack-reasons__title {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.6px;
  margin: 0;
  padding-bottom: 0;
}

.qhack-reasons__subtitle {
  color: #313131;
  text-align: center;
  font-family: "Montserrat", sans-serif !important;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.88px;
  margin: 0;
  margin-top: 0;
}

.qhack-reasons__description {
  text-align: center;
  margin-bottom: 80px;
  padding: 0 40px;
}

/* PC版説明表示、タブレット版・SP版説明非表示 */
.qhack-reasons__description--pc {
  display: block;
}
.qhack-reasons__description--tablet {
  display: none;
}
.qhack-reasons__description--sp {
  display: none;
}

.qhack-reasons__description p {
  color: #313131;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: 0.88px;
  margin: 0;
}

.qhack-reasons__highlight {
  color: #b701f7;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 1.04px;
}

/* 理由カードアイテム - 各itemは画面幅いっぱいに広がる */
.qhack-reasons__item {
  position: relative;
  margin-bottom: 20px;
  padding-top: 60px; /* 画像がはみ出す分のスペース */
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.qhack-reasons__item:last-child {
  margin-bottom: 0;
}

/* 左寄せカード (01, 03) - 画面左端から始まる */
.qhack-reasons__item--left {
  display: flex;
  justify-content: flex-start;
}

.qhack-reasons__item--left .qhack-reasons__card {
  width: calc(50% + 400px);
  max-width: calc(100% - 200px);
  min-height: auto;
  border-radius: 0 20px 20px 0;
  background: #fff;
  margin-left: 0;
  margin-right: auto;
  padding: 90px 80px 90px 60px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: flex-start;
}

/* 右寄せカード (02, 04) - 画面右端まで伸びる */
.qhack-reasons__item--right {
  display: flex;
  justify-content: flex-end;
}

.qhack-reasons__item--right .qhack-reasons__card {
  width: calc(50% + 400px);
  max-width: calc(100% - 200px);
  min-height: auto;
  border-radius: 20px 0 0 20px;
  background: #fff;
  margin-left: auto;
  margin-right: 0;
  padding: 90px 60px 90px 80px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

/* カードボディ - コンテンツ幅を制限 */
.qhack-reasons__card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  max-width: 700px;
}

/* 左寄せカード内のカードボディは右寄せ */
.qhack-reasons__item--left .qhack-reasons__card-body {
  margin-left: auto;
  margin-right: 0;
}

/* 右寄せカード内のカードボディは左寄せ */
.qhack-reasons__item--right .qhack-reasons__card-body {
  margin-left: 0;
  margin-right: auto;
}

.qhack-reasons__card-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* 数字 - ボーダーのみ（塗りなし）グラデーション */
.qhack-reasons__number {
  position: relative;
  text-align: center;
  font-family: "Montserrat", sans-serif !important;
  font-size: 50px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 2px;
  color: transparent;
  -webkit-text-stroke: 2px;
  background: linear-gradient(180deg, #b701f7 0%, #ff3d3b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  flex-shrink: 0;
}

/* 塗りを白で上書きして、ストロークのみ見えるようにする */
.qhack-reasons__number::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-family: "Montserrat", sans-serif !important;
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  -webkit-text-stroke: 0;
  background: none;
  z-index: 1;
}

.qhack-reasons__card-title {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.8px;
  margin: 0;
}

.qhack-reasons__card-text {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 0.64px;
  margin: 0;
}

.qhack-reasons__text-strong {
  color: #b701f7;
  font-weight: 700;
}

/* カード内の画像（PC版では白背景先端上部にはみ出す） */
.qhack-reasons__item-image {
  position: absolute;
  width: 140px;
  height: auto;
  margin: 0;
  z-index: 2;
}

.qhack-reasons__item-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* 左寄せカードの画像位置（カードの右端から半分はみ出す） */
.qhack-reasons__item--left .qhack-reasons__item-image {
  right: -70px; /* カードの右端から画像の半分(70px)がはみ出す */
  left: auto;
  top: -30px; /* 白背景カードの上端からはみ出す */
}

/* 右寄せカードの画像位置（カードの左端から半分はみ出す） */
.qhack-reasons__item--right .qhack-reasons__item-image {
  left: -70px; /* カードの左端から画像の半分(70px)がはみ出す */
  right: auto;
  top: -30px; /* 白背景カードの上端からはみ出す */
}

/* リストスタイル */
.qhack-reasons__list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 16px;
}

.qhack-reasons__list li {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 0.64px;
  position: relative;
  padding-left: 16px;
}

.qhack-reasons__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #313131;
}

/* ===== /Q HACK JAPAN 選ばれる理由セクション ===== */

/* ===== Q HACK JAPAN サポートセクション ===== */
.qhack-support {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  margin-top: 0;
  padding: 100px 20px 120px;
  background: #fff;
  box-sizing: border-box;
}

.qhack-support__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.qhack-support__header {
  text-align: center;
  margin-bottom: 40px;
}

.qhack-support__title {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.6px;
  margin: 0;
  padding-bottom: 0;
}

.qhack-support__subtitle {
  color: #313131;
  text-align: center;
  font-family: "Montserrat", sans-serif !important;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.88px;
  margin: 0;
}

.qhack-support__description {
  color: #313131;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.88px;
  margin: 0 0 60px;
}

.qhack-support__content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

/* 左右のテキストフレームコンテナ */
.qhack-support__left,
.qhack-support__right {
  display: flex;
  width: 269px;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  flex-shrink: 0;
}

/* 各テキストフレーム */
.qhack-support__item {
  display: flex;
  height: 158px;
  padding: 0 10px;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  align-self: stretch;
  border-bottom: 1px solid #d9d9d9;
  box-sizing: border-box;
}

.qhack-support__item--no-border {
  border-bottom: none;
  height: auto;
}

.qhack-support__item-title {
  align-self: stretch;
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.88px;
  margin: 0;
}

.qhack-support__item-list {
  align-self: stretch;
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px;
  letter-spacing: 0.72px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.qhack-support__item-list li {
  position: relative;
  padding-left: 16px;
}

.qhack-support__item-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #313131;
}

/* 中央の画像 */
.qhack-support__center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px 0 0;
  max-width: 600px;
}

.qhack-support__center img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* PC版ヘッダー・説明を表示、タブレット/SP版を非表示 */
.qhack-support__header--pc {
  display: block;
}
.qhack-support__header--tablet {
  display: none;
}
.qhack-support__header--sp {
  display: none;
}
.qhack-support__description--pc {
  display: block;
}
.qhack-support__description--tablet {
  display: none;
}
.qhack-support__description--sp {
  display: none;
}

/* タブレット用画像（PC版では非表示） */
.qhack-support__content-tablet {
  display: none;
}

/* スマホ用画像（PC版では非表示） */
.qhack-support__content-sp {
  display: none;
}

/* ===== /Q HACK JAPAN サポートセクション ===== */

/* ===== Q HACK JAPAN サービスセクション ===== */
.qhack-service {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  margin-top: 0;
  padding: 100px 20px 120px;
  background: #fff;
  box-sizing: border-box;
}

.qhack-service__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.qhack-service__header {
  text-align: center;
  margin-bottom: 60px;
}

.qhack-service__title {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.6px;
  margin: 0;
  padding-bottom: 0;
}

.qhack-service__subtitle {
  color: #313131;
  text-align: center;
  font-family: "Montserrat", sans-serif !important;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.88px;
  margin: 0;
}

.qhack-service__cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap;
}

.qhack-service__card {
  position: relative;
  width: calc(50% - 20px);
  min-height: 480px;
  border-radius: 50px;
  background: #fff;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  box-sizing: border-box;
  overflow: hidden;
  z-index: 1;
}

/* グラデーションボーダー */
.qhack-service__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(90deg, #ff3d3b 0%, #b701f7 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
}

.qhack-service__card-target {
  color: #313131;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.88px;
  margin: 0;
}

.qhack-service__card-title {
  color: #313131;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.2px;
  margin: 0;
  padding: 0;
}

.qhack-service__card-title::before,
.qhack-service__card-title::after {
  display: none !important;
}

.qhack-service__card-description {
  align-self: stretch;
  color: #313131;
  text-align: left;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: 0.72px;
  margin: 40px 0 0;
}

.qhack-service__card-btn {
  display: flex;
  width: 297px;
  padding: 14px 36px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 80px;
  background: linear-gradient(90deg, #ff3d3b 0%, #b701f7 100%);
  text-decoration: none;
  margin-top: 40px;
  transition: opacity 0.3s;
}

.qhack-service__card-btn:hover {
  opacity: 0.8;
}

.qhack-service__card-btn-text {
  color: #fff;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.72px;
}

.qhack-service__card-btn-arrow {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

/* ===== /Q HACK JAPAN サービスセクション ===== */

/* ===== Q HACK JAPAN チェックリストセクション ===== */
.qhack-checklist {
  position: relative;
  width: 100%;
  max-width: 1920px;
  height: 980px;
  margin: 0 auto;
  margin-top: 0;
  padding: 0;
  background: linear-gradient(90deg, #ff3d3b 0%, #b701f7 100%);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 背景画像 */
.qhack-checklist::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/wp-content/uploads/2026/01/background-1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.qhack-checklist__inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.qhack-checklist__card {
  width: 1200px;
  max-width: calc(100% - 40px);
  height: 780px;
  border-radius: 40px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 80px;
  box-sizing: border-box;
}

.qhack-checklist__title {
  width: 676px;
  max-width: 100%;
  color: #b701f7;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.6px;
  margin: 0 0 16px;
  text-align: center;
}

.qhack-checklist__subtitle {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.04px;
  margin: 0 0 40px;
  text-align: center;
}

.qhack-checklist__list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.qhack-checklist__list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.qhack-checklist__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}

.qhack-checklist__list li span {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.88px;
}

.qhack-checklist__cta-text {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.04px;
  margin: 0 0 40px;
  text-align: center;
}

.qhack-checklist__number {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.2px;
}

.qhack-checklist__btn {
  display: flex;
  width: 297px;
  height: 74px;
  padding: 14px 36px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border-radius: 80px;
  background: linear-gradient(90deg, #ff3d3b 0%, #b701f7 100%);
  text-decoration: none;
  transition: all 0.3s ease;
}

.qhack-checklist__btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(183, 1, 247, 0.3);
}

.qhack-checklist__btn-text {
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.72px;
}

.qhack-checklist__btn-arrow {
  width: 16px;
  height: auto;
}

/* PC版ではサブテキストを非表示 */
.qhack-checklist__btn-sub {
  display: none;
}

.qhack-checklist__btn-main-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.qhack-checklist__btn-main {
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.72px;
}

/* PC版では改行を非表示 */
.qhack-checklist__cta-text br.sp-only {
  display: none;
}

/* PC版ではタイトルとサブタイトルの改行を非表示 */
.qhack-checklist__title br.sp-only,
.qhack-checklist__subtitle br.sp-only {
  display: none;
}

/* ===== /Q HACK JAPAN チェックリストセクション ===== */

/* ===== Q HACK JAPAN 攻略コラムセクション ===== */
.qhack-article {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  margin-top: 0;
  padding: 100px 20px 120px;
  background: #f2f2f2;
  box-sizing: border-box;
}

.qhack-article__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qhack-article__header {
  text-align: center;
  margin-bottom: 60px;
}

.qhack-article__title {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.6px;
  margin: 0;
  padding-bottom: 0;
}

.qhack-article__subtitle {
  color: #313131;
  text-align: center;
  font-family: "Montserrat", sans-serif !important;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.88px;
  margin: 0;
}

.qhack-article__cards {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.qhack-article__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 330px;
}

.qhack-article__card-image {
  width: 330px;
  height: 220px;
  border-radius: 20px 20px 0 0;
  background: #d9d9d9;
  margin: 0;
  overflow: hidden;
}

.qhack-article__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qhack-article__card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 20px 0;
}

.qhack-article__card-date {
  align-self: stretch;
  color: #313131;
  font-family: "Montserrat", sans-serif !important;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.72px;
  margin-bottom: 12px;
}

.qhack-article__card-title {
  align-self: stretch;
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.72px;
  margin: 0 0 20px;
}

.qhack-article__card-btn {
  display: flex;
  width: 220px;
  padding: 14px 36px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border-radius: 80px;
  background: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: center;
  /* グラデーションボーダー */
  border: 2px solid transparent;
  background-image:
    linear-gradient(white, white),
    linear-gradient(90deg, #ff3d3b 0%, #b701f7 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.qhack-article__card-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 61, 59, 0.2);
}

.qhack-article__card-btn-text {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.56px;
}

.qhack-article__card-btn-arrow {
  width: 16px;
  height: auto;
}

.qhack-article__more-btn {
  display: flex;
  width: 240px;
  padding: 14px 32px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border-radius: 80px;
  background: #313131;
  text-decoration: none;
  transition: all 0.3s ease;
}

.qhack-article__more-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(49, 49, 49, 0.3);
}

.qhack-article__more-btn-text {
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.6px;
}

.qhack-article__more-btn-arrow {
  width: 16px;
  height: auto;
}

/* ===== /Q HACK JAPAN 攻略コラムセクション ===== */

/* ===== Q HACK JAPAN 成功事例セクション ===== */
.qhack-case {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  margin-top: 0;
  padding: 100px 20px 120px;
  background: #f2f2f2;
  box-sizing: border-box;
}

.qhack-case__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qhack-case__header {
  text-align: center;
  margin-bottom: 60px;
}

.qhack-case__title {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.6px;
  margin: 0;
  padding-bottom: 0;
}

.qhack-case__subtitle {
  color: #313131;
  text-align: center;
  font-family: "Montserrat", sans-serif !important;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.88px;
  margin: 0;
}

.qhack-case__cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  width: 100%;
  margin-bottom: 60px;
}

.qhack-case__card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  max-width: 1200px;
  transition: opacity 0.2s ease;
}
.qhack-case__card-link:hover {
  opacity: 0.85;
}
.qhack-case__card-link:visited {
  color: inherit;
}

.qhack-case__card {
  display: flex;
  width: 100%;
  max-width: 1200px;
  flex-direction: column;
  align-items: flex-start;
}

.qhack-case__card-header {
  display: flex;
  height: 60px;
  padding: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  border-radius: 30px 30px 0 0;
  background: linear-gradient(90deg, #ff3d3b 0%, #b701f7 100%);
}

.qhack-case__card-category {
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.04px;
  margin: 0;
}

.qhack-case__card-body {
  display: flex;
  width: 100%;
  min-height: 340px;
  padding: 40px 60px;
  border-radius: 0 0 30px 30px;
  background: #fff;
  box-sizing: border-box;
  gap: 60px;
  align-items: center;
  border: 1px solid #e5e5e5;
  border-top: none;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.08);
}

.qhack-case__card-image {
  flex-shrink: 0;
  width: 280px;
  margin: 0;
}

.qhack-case__card-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.qhack-case__card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.qhack-case__card-lead {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.88px;
  margin: 0 0 -12px 0;
}

.qhack-case__card-result {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.2px;
  margin: 0;
}

.qhack-case__card-underline {
  display: inline;
  padding-bottom: 4px;
  background-image: linear-gradient(90deg, #ff3d3b 0%, #b701f7 100%);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: bottom;
}

.qhack-case__card-number {
  color: #313131;
  font-family: "Montserrat", sans-serif !important;
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.6px;
}

/* カード1のリードテキスト内の数字 */
.qhack-case__card-lead-number {
  color: #313131;
  font-family: "Montserrat", sans-serif !important;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.88px;
}

/* カード2, 3の小さいテキスト（→の前の部分） */
.qhack-case__card-small {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.88px;
}

/* カード2, 3の小さいテキスト内の数字 */
.qhack-case__card-small-number {
  color: #313131;
  font-family: "Montserrat", sans-serif !important;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.88px;
}

.qhack-case__card-desc {
  width: 100%;
  max-width: 631px;
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0.88px;
  margin: 0;
}

.qhack-case__more-btn {
  display: flex;
  width: 297px;
  height: 74px;
  padding: 14px 36px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border-radius: 80px;
  background: #313131;
  text-decoration: none;
  transition: all 0.3s ease;
}

.qhack-case__more-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(49, 49, 49, 0.3);
}

.qhack-case__more-btn-text {
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.72px;
}

.qhack-case__more-btn-arrow {
  width: 16px;
  height: auto;
}

/* ===== /Q HACK JAPAN 成功事例セクション ===== */

/* ===== Q HACK JAPAN お客様の声セクション ===== */
.qhack-voice {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  margin-top: 0;
  padding: 100px 20px 120px;
  background: #f2f2f2;
  box-sizing: border-box;
}

.qhack-voice__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qhack-voice__header {
  text-align: center;
  margin-bottom: 60px;
}

.qhack-voice__title {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.6px;
  margin: 0;
  padding-bottom: 0;
}

.qhack-voice__subtitle {
  color: #313131;
  text-align: center;
  font-family: "Montserrat", sans-serif !important;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.88px;
  margin: 0;
}

/* スライダー */
.qhack-voice__slider {
  width: 100%;
  overflow: hidden;
  margin-bottom: 40px;
}

.qhack-voice__slider-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 40px;
}

.qhack-voice__slide {
  flex: 0 0 364px;
  width: 364px;
}

.qhack-voice__card {
  width: 364px;
  min-height: 760px;
  border-radius: 20px;
  background: linear-gradient(90deg, #ff3d3b 0%, #b701f7 100%);
  padding: 40px 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.qhack-voice__card-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 30px;
}

.qhack-voice__card-icon svg {
  width: 120px;
  height: 120px;
}

.qhack-voice__card-title {
  color: #fff;
  text-align: left;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.12px;
  margin: 0 0 24px;
}

.qhack-voice__card-text {
  align-self: stretch;
  color: #fff;
  font-family: "Montserrat", sans-serif !important;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 0.64px;
  margin: 0 0 24px;
}

.qhack-voice__card-name {
  align-self: stretch;
  color: #f9e8ff;
  font-family: "Montserrat", sans-serif !important;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px;
  letter-spacing: 0.72px;
  margin: 0 0 8px;
}

.qhack-voice__card-info {
  align-self: stretch;
}

.qhack-voice__card-info p {
  color: #f9e8ff;
  font-family: "Montserrat", sans-serif !important;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.48px;
  margin: 0;
}

/* ページネーション */
.qhack-voice__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.qhack-voice__pagination-btn {
  width: 50px;
  height: 50px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.qhack-voice__pagination-btn:hover {
  opacity: 0.7;
}

.qhack-voice__pagination-btn img {
  width: 100%;
  height: auto;
}

.qhack-voice__pagination-dots {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qhack-voice__pagination-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  transition: background 0.3s ease;
}

.qhack-voice__pagination-dot.active {
  background: linear-gradient(90deg, #ff3d3b 0%, #b701f7 100%);
}

.qhack-voice__pagination-dot:hover {
  opacity: 0.7;
}

/* ===== /Q HACK JAPAN お客様の声セクション ===== */

/* ===== Q HACK JAPAN よくある質問セクション ===== */
.qhack-faq {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  margin-top: 0;
  padding: 100px 20px 120px;
  background: #f2f2f2;
  box-sizing: border-box;
  overflow: hidden;
}

/* 背景画像 */
.qhack-faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/wp-content/uploads/2026/01/background-2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.qhack-faq__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qhack-faq__header {
  text-align: center;
  margin-bottom: 60px;
}

.qhack-faq__title {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.6px;
  margin: 0;
  padding-bottom: 0;
}

.qhack-faq__subtitle {
  color: #313131;
  text-align: center;
  font-family: "Montserrat", sans-serif !important;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.88px;
  margin: 0;
}

.qhack-faq__cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.qhack-faq__card {
  width: 100%;
  max-width: 1200px;
  min-height: 240px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.25);
  padding: 40px 50px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.qhack-faq__question {
  display: flex;
  align-items: center;
  gap: 20px;
}

.qhack-faq__q-icon {
  position: relative;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.qhack-faq__q-icon svg {
  width: 58px;
  height: 58px;
}

.qhack-faq__q-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  font-family: "Montserrat", sans-serif !important;
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.2px;
}

.qhack-faq__question-text {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 26px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.2px;
  margin: 0;
}

.qhack-faq__answer {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.qhack-faq__a-icon {
  position: relative;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.qhack-faq__a-icon svg {
  width: 58px;
  height: 58px;
}

.qhack-faq__a-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(270deg, #b701f7 0%, #ff3d3b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  font-family: "Montserrat", sans-serif !important;
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 1.2px;
}

.qhack-faq__answer-text {
  width: 100%;
  max-width: 1010px;
  flex-shrink: 0;
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.88px;
  margin: 0;
  padding-top: 14px;
}

/* ===== /Q HACK JAPAN よくある質問セクション ===== */

/* ===== Q HACK JAPAN ご支援の流れセクション ===== */
.qhack-flow {
  display: flex;
  width: 100%;
  max-width: 1920px;
  padding: 94px 20px 100px;
  flex-direction: column;
  align-items: center;
  background: #fff;
  box-sizing: border-box;
  margin: 0 auto;
}

.qhack-flow__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.qhack-flow__header {
  text-align: center;
}

.qhack-flow__title {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.6px;
  margin: 0;
  padding-bottom: 0;
}

.qhack-flow__subtitle {
  color: #313131;
  text-align: center;
  font-family: "Montserrat", sans-serif !important;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.88px;
  margin: 0;
}

/* PC版表示、SP版非表示 */
.qhack-flow__content--pc {
  display: flex;
}
.qhack-flow__content--sp {
  display: none;
}

.qhack-flow__content {
  width: 100%;
  max-width: 1200px;
  min-height: 500px;
  background: #f2f2f2;
  border-radius: 0;
  padding: 60px 46px 80px;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* 点線ライン */
.qhack-flow__step-line {
  position: absolute;
  top: 71px;
  left: 46px;
  right: 46px;
  height: 1px;
  background-image: linear-gradient(90deg, #ff3d3b 0%, #b701f7 100%);
  background-size: 100% 100%;
  -webkit-mask-image: repeating-linear-gradient(
    to right,
    black 0px,
    black 2px,
    transparent 2px,
    transparent 5px
  );
  mask-image: repeating-linear-gradient(
    to right,
    black 0px,
    black 2px,
    transparent 2px,
    transparent 5px
  );
  z-index: 0;
}

.qhack-flow__step-label {
  color: #ff3d3b;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.72px;
  background: #f2f2f2;
  padding: 2px 12px;
  text-align: center;
  white-space: nowrap;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

/* カード行 */
.qhack-flow__cards {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0;
  box-sizing: border-box;
  gap: 0;
  width: 100%;
}

.qhack-flow__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto;
  text-align: center;
  width: calc((100% - 72px) / 5);
}

.qhack-flow__card-image {
  width: 100px;
  height: 100px;
  margin: 0 0 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qhack-flow__card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qhack-flow__card-title {
  color: #313131;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.8px;
  margin: 0 0 12px;
  white-space: nowrap;
}

.qhack-flow__card-text {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.64px;
  text-align: center;
  margin: 0;
  max-width: 160px;
}

/* 矢印 */
.qhack-flow__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  align-self: center;
  margin-top: 40px;
  padding: 0;
}

.qhack-flow__arrow img {
  width: 18px;
  height: 23px;
}

/* ===== /Q HACK JAPAN ご支援の流れセクション ===== */

/* ===== Q HACK JAPAN 実行力セクション ===== */
.qhack-execution {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  margin-top: 0;
  padding: 100px 20px;
  background: linear-gradient(90deg, #ff3d3b 0%, #b701f7 100%);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 背景画像 */
.qhack-execution::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/wp-content/uploads/2026/01/background-1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.qhack-execution__inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.qhack-execution__card {
  width: 1200px;
  max-width: calc(100% - 40px);
  border-radius: 40px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 24px;
  box-sizing: border-box;
}

.qhack-execution__images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  width: 100%;
}

.qhack-execution__images img {
  flex: 1;
  max-width: calc((100% - 36px) / 4);
  height: auto;
  object-fit: contain;
  display: block;
}

.qhack-execution__title {
  width: 956px;
  max-width: 100%;
  color: #b701f7;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 34px;
  font-style: normal;
  font-weight: 700;
  line-height: 50px;
  letter-spacing: 1.6px;
  margin: 0 0 10px;
}

.qhack-execution__text {
  text-align: center;
  margin-bottom: 40px;
}

.qhack-execution__text p {
  color: #313131;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 38px;
  letter-spacing: 1.04px;
  margin: 0 0 24px;
}

.qhack-execution__text p:last-child {
  margin-bottom: 0;
}

/* 実行力セクション CTAボタン - PC版 */
.qhack-execution__btn {
  display: flex;
  width: 297px;
  height: 74px;
  padding: 14px 36px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border-radius: 80px;
  background: linear-gradient(90deg, #ff3d3b 0%, #b701f7 100%);
  text-decoration: none;
  transition: all 0.3s ease;
}

.qhack-execution__btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(183, 1, 247, 0.3);
}

/* PC版ではサブテキストを非表示 */
.qhack-execution__btn-sub {
  display: none;
}

.qhack-execution__btn-main-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.qhack-execution__btn-main {
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.72px;
}

.qhack-execution__btn-arrow {
  width: 16px;
  height: auto;
}

/* PC版ではsp-onlyの改行を非表示 */
.qhack-execution__title br.sp-only,
.qhack-execution__text br.sp-only {
  display: none;
}

/* ===== /Q HACK JAPAN 実行力セクション ===== */

/* ===== Q HACK JAPAN お問合せ・無料相談セクション ===== */
.qhack-contact {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  margin-top: 0;
  padding: 100px 20px 120px;
  background: #fff;
  box-sizing: border-box;
}

.qhack-contact__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qhack-contact__header {
  text-align: center;
  margin-bottom: 40px;
}

.qhack-contact__title {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.6px;
  margin: 0;
  padding-bottom: 0;
}

.qhack-contact__subtitle {
  color: #313131;
  text-align: center;
  font-family: "Montserrat", sans-serif !important;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.88px;
  margin: 0;
}

.qhack-contact__description {
  color: #000;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0.72px;
  margin: 0 0 40px;
}

.qhack-contact__form-wrapper {
  width: 100%;
  max-width: 900px;
  background: #f2f2f2;
  border-radius: 20px;
  padding: 60px 80px;
  box-sizing: border-box;
}

/* Contact Form 7 カスタムスタイル */
.qhack-contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.qhack-contact-form__field {
  display: flex;
  align-items: center;
  gap: 20px;
}

.qhack-contact-form__label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 220px;
  flex-shrink: 0;
}

.qhack-contact-form__label-text {
  color: #313131;
  text-align: left;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: 0.64px;
  width: 130px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* 必須/任意バッジ共通 */
.qhack-contact-form__badge {
  display: flex;
  padding: 4px 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 3px;
  color: #fff;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 17px;
  letter-spacing: 0.84px;
}

/* 必須バッジ */
.qhack-contact-form__badge--required {
  background: linear-gradient(180deg, #b701f7 0%, #ff3d3b 100%);
}

/* 任意バッジ */
.qhack-contact-form__badge--optional {
  background: #bcbcbc;
}

.qhack-contact-form__input {
  flex: 1;
  max-width: 488px;
}

/* 入力フィールド共通スタイル */
.qhack-contact-form__input input[type="text"],
.qhack-contact-form__input input[type="email"],
.qhack-contact-form__input input[type="tel"],
.qhack-contact-form__input input[type="url"],
.qhack-contact-form .wpcf7-form-control-wrap input[type="text"],
.qhack-contact-form .wpcf7-form-control-wrap input[type="email"],
.qhack-contact-form .wpcf7-form-control-wrap input[type="tel"],
.qhack-contact-form .wpcf7-form-control-wrap input[type="url"] {
  width: 100%;
  height: 44px;
  border-radius: 6px;
  border: 1px solid #bcbcbc;
  background: #f2f2f2;
  color: #bcbcbc;
  padding: 0 16px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  box-sizing: border-box;
}

.qhack-contact-form__input input::placeholder,
.qhack-contact-form .wpcf7-form-control-wrap input::placeholder {
  color: #bcbcbc;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
}

/* テキストエリア */
.qhack-contact-form__input textarea,
.qhack-contact-form .wpcf7-form-control-wrap textarea {
  width: 100%;
  height: 178px;
  border-radius: 6px;
  border: 1px solid #bcbcbc;
  background: #f2f2f2;
  color: #bcbcbc;
  padding: 16px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  box-sizing: border-box;
  resize: vertical;
}

/* テキストエリアを含むフィールド - ラベルを中央に揃える */
.qhack-contact-form__field:has(textarea) {
  align-items: center;
}

.qhack-contact-form__input textarea::placeholder,
.qhack-contact-form .wpcf7-form-control-wrap textarea::placeholder {
  color: #bcbcbc;
}

/* フォーカス時のスタイル */
.qhack-contact-form__input input:focus,
.qhack-contact-form__input textarea:focus,
.qhack-contact-form .wpcf7-form-control-wrap input:focus,
.qhack-contact-form .wpcf7-form-control-wrap textarea:focus {
  outline: none;
  border-color: #b701f7;
  box-shadow: 0 0 0 2px rgba(183, 1, 247, 0.1);
}

/* プライバシーポリシー */
.qhack-contact-form__privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.qhack-contact-form__privacy .wpcf7-form-control-wrap {
  display: flex;
  align-items: center;
}

.qhack-contact-form__privacy input[type="checkbox"] {
  width: 14px;
  height: 14px;
  border: 1px solid #bcbcbc;
  border-radius: 2px;
  margin: 0;
  cursor: pointer;
  accent-color: #b701f7;
}

.qhack-contact-form__privacy a {
  color: #429bef;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: 0.84px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.qhack-contact-form__privacy a:hover {
  opacity: 0.7;
}

.qhack-contact-form__privacy .wpcf7-list-item {
  margin: 0;
}

.qhack-contact-form__privacy .wpcf7-list-item-label {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: 0.84px;
}

/* マイクロコピー */
.qhack-contact-form__note {
  align-self: stretch;
  color: #313131;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.72px;
  margin-top: 4px;
  margin-bottom: 0;
}

/* 送信ボタン - gapを相殺して6pxに（24px - 18px = 6px） */
.qhack-contact-form__submit {
  display: flex;
  justify-content: center;
  margin-top: -18px;
}

.qhack-contact-form__submit input[type="submit"],
.qhack-contact-form .wpcf7-submit {
  display: flex;
  width: 100%;
  max-width: 488px;
  height: 72px;
  padding: 12px 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 16px;
  background: #313131 !important;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.88px;
}

.qhack-contact-form__submit input[type="submit"]:hover,
.qhack-contact-form .wpcf7-submit:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(49, 49, 49, 0.3);
}

/* エラーメッセージ */
.qhack-contact-form .wpcf7-not-valid-tip {
  color: #ff3d3b;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 500;
  margin-top: 4px;
}

/* 送信完了/エラーメッセージ */
.qhack-contact-form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
}

.qhack-contact-form .wpcf7-mail-sent-ok {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.qhack-contact-form .wpcf7-validation-errors,
.qhack-contact-form .wpcf7-acceptance-missing {
  background: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
}

/* ===== /Q HACK JAPAN お問合せ・無料相談セクション ===== */

/* ヘッダーナビゲーション */
.qhack-header__nav {
  background: var(--qhack-white);
  position: relative;
}

/* ヘッダー下部のグラデーションボーダー */
.qhack-header__nav::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--qhack-gradient);
}

.qhack-header__nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.qhack-header__menu {
  display: inline-flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  gap: 79px;
  width: 100%;
}

.qhack-header__menu li {
  position: relative;
}

.qhack-header__menu li a {
  display: block;
  padding: 16px 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.56px;
  color: var(--qhack-text);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.qhack-header__menu li a:hover {
  color: var(--qhack-primary);
  opacity: 1;
}

/* ヘッダーサブメニュー（ドロップダウン） */
.qhack-header__menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 260px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 100;
}

.qhack-header__menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
}

.qhack-header__menu .sub-menu li a {
  padding: 10px 20px;
  font-size: 13px;
  white-space: nowrap;
  color: var(--qhack-text);
}

.qhack-header__menu .sub-menu li a:hover {
  color: var(--qhack-primary);
  background: #f5f5f5;
}

/* ハンバーガーメニュー */
.qhack-header__hamburger {
  display: none;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 13px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.qhack-header__hamburger svg {
  width: 18px;
  height: 15px;
  flex-shrink: 0;
}

/* ヘッダー分のpadding-top */
#body_wrap {
  padding-top: 115px;
}

body.admin-bar #body_wrap {
  padding-top: 147px; /* 115px + 32px (admin-bar) */
}

/* 既存SWELLヘッダーを非表示 */
.l-header {
  display: none !important;
}

/* 汎用ボタン（メインビジュアル用） */
.qhack-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-family: "Noto Sans JP", sans-serif;
}

.qhack-btn--primary {
  background: var(--qhack-gradient);
  color: var(--qhack-white);
  border: none;
}

.qhack-btn--primary:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 61, 59, 0.3);
}

.qhack-btn--secondary {
  background: transparent;
  color: var(--qhack-primary);
  border: 2px solid var(--qhack-primary);
}

.qhack-btn--secondary:hover {
  background: var(--qhack-primary);
  color: var(--qhack-white);
  opacity: 1;
}

/* ===== /Q HACK JAPAN カスタムヘッダー ===== */

/* ===== Q HACK JAPAN 会社紹介セクション ===== */
.qhack-intro {
  background-color: #fbeeff;
  padding: 80px 20px 100px;
  margin-top: 0;
}

.qhack-intro__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* タイトルボックス（グラデーション背景） */
.qhack-intro__title-box {
  display: flex;
  width: 834px;
  max-width: 100%;
  padding: 6px 20px;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border-radius: 20px;
  background: linear-gradient(90deg, #ff3d3b 0%, #b701f7 100%);
  margin-bottom: 40px;
}

.qhack-intro__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0;
}

.qhack-intro__title-sub {
  width: 100%;
  max-width: 600px;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.2px;
  text-align: center;
}

.qhack-intro__title-main {
  width: 100%;
  max-width: 818px;
  color: #fff;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.6px;
}

/* コンテンツエリア */
.qhack-intro__content {
  width: 834px;
  max-width: 100%;
  margin-bottom: 40px;
}

.qhack-intro__content p {
  color: #313131;
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0.88px;
  margin-bottom: 24px;
}

.qhack-intro__content p:last-child {
  margin-bottom: 0;
}

/* 強調テキスト */
.qhack-intro__highlight {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 1.04px;
  background-image: linear-gradient(90deg, #ff3d3b, #b701f7);
  background-size: 100% 3px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 2px;
}
.qhack-intro__group-company.qhack-intro__group-company {
  color: #999;
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
}

/* 強調数字 */
.qhack-intro__number {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1.04px;
  background: linear-gradient(90deg, #ff3d3b, #b701f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 単位（円、億円、万円）を通常サイズに */
.qhack-intro__unit {
  font-size: 22px;
  font-weight: 700;
  -webkit-text-fill-color: #313131;
  background: none;
}

/* CTAボタン */
.qhack-intro__btn {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  height: auto;
  padding: 14px 36px;
  justify-content: center;
  align-items: center;
  border-radius: 80px;
  background: linear-gradient(90deg, #ff3d3b 0%, #b701f7 100%);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 60px;
  white-space: nowrap;
  border: none;
}

.qhack-intro__btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 61, 59, 0.2);
}

.qhack-intro__btn-text {
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.72px;
  text-align: center;
}

/* PC/SP切り替え - PC版表示 */
.qhack-intro__content--pc {
  display: block;
}
.qhack-intro__content--sp {
  display: none;
}
.qhack-intro__btn--pc {
  display: inline-flex;
}
.qhack-intro__btn--sp {
  display: none;
}

/* SP版ボタン用スタイル（2行） */
.qhack-intro__btn-sub {
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.56px;
  text-align: center;
}
.qhack-intro__btn-main {
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.72px;
  text-align: center;
}

/* ランキングタイトル */
.qhack-intro__ranking-title {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.6px;
  text-align: center;
  margin: 0 0 10px 0;
}

/* ランキング画像 */
.qhack-intro__ranking-images {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.qhack-intro__ranking-images img {
  width: auto;
  height: auto;
  max-width: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ランキング画像注釈 */
.qhack-intro__ranking-note {
  color: #666;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.56px;
  text-align: center;
  margin: 0;
}

/* ランキングボックス */
.qhack-intro__ranking-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.qhack-intro__ranking-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
}

.qhack-intro__ranking-item img {
  flex-shrink: 0;
  width: auto;
  height: auto;
  max-width: 120px;
}

.qhack-intro__ranking-item p {
  flex: 1;
  text-align: center;
  margin: 0;
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 0 7rem;
  line-height: 1.6;
  position: relative;
}

.qhack-intro__ranking-item p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 206px;
  background-image: url("/wp-content/themes/swell_child/assets/images/img/badge-left.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.qhack-intro__ranking-item p::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 206px;
  background-image: url("/wp-content/themes/swell_child/assets/images/img/badge-right.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.qhack-intro__ranking-number {
  color: #b701f7;
  font-size: 40px;
  font-weight: 700;
}

.qhack-intro__ranking-date {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #666;
  margin-top: 4px;
}

/* 強調数字 */
.qhack-intro__number {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 1.04px;
  background: linear-gradient(90deg, #ff3d3b, #b701f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== /Q HACK JAPAN 会社紹介セクション ===== */

/* ===== Q HACK JAPAN 課題解決セクション ===== */
.qhack-merit {
  margin-top: 0;
  padding: 80px 20px;
}

.qhack-merit__header {
  margin-top: 0;
  padding-top: 0;
  text-align: center;
  margin-bottom: 40px;
}

.qhack-merit__title {
  margin-top: 0;
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 1.6px;
}

.qhack-merit__subtitle {
  color: #313131;
  text-align: center;
  font-family: "Montserrat", sans-serif !important;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.88px;
  margin: 0;
}

.qhack-merit__description {
  margin-top: 80px;
  margin-bottom: 60px;
  text-align: center;
}
/* ===== /Q HACK JAPAN 課題解決セクション ===== */

/* Q HACK用ヘッダーはtopで位置調整済みのためmargin-top不要 */
body.admin-bar header.qhack-header {
  margin-top: 0;
}
/* 既存SWELL用（非表示のため参考程度） */
body.admin-bar header.l-header {
  margin-top: 32px;
}
.l-header {
  padding-top: 4px;
}
.l-header.header-nd {
  box-shadow: none;
  background-color: #fff;
}
.l-header__bar {
  background: transparent;
}
.l-header__bar,
.-parallel-bottom .l-header__inner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
.l-header__bar .c-catchphrase {
  color: #333;
}
.l-header__barInner {
  max-width: initial;
  padding-left: 0px;
}
.-series .c-headLogo {
  max-width: 114px;
}
.-parallel-bottom .l-header__logo {
  width: max-content;
  padding: 0;
}
.-parallel-bottom .l-header__inner {
  justify-content: space-between;
  padding-top: 0;
}
.l-header.-parallel .w-header {
  width: max-content;
  margin-top: 0;
  margin-bottom: 0;
  transform: translateY(-7px);
}
.-series .l-header__inner {
  width: 98%;
  max-width: 1600px;
}

.l-fixHeader__inner {
  max-width: 1600px;
}
.-parallel .l-header__gnav .c-gnav {
  max-width: 1280px;
  margin: 0 auto;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.-parallel .l-header__gnav .c-gnav > li > a {
  padding: 12px 0 16px;
}
.c-gnav > .menu-item {
  flex-grow: 1;
}
.c-gnav > .menu-item > .sub-menu {
  top: 100%;
}

.c-gnav > .menu-item > a .ttl {
  font-size: 14px;
}

.c-gnav > .menu-item > a {
  padding: 0 30px;
}

.c-gnav > .menu-item > a:after {
  background: #222222;
}
.c-gnav > .menu-item:last-of-type:after {
  display: none;
}

.header-btns {
  display: flex;
  gap: 12px;
}

.l-fixHeader__logo {
  padding: 6px 0;
}
.l-fixHeader .c-gnav > .menu-item {
  width: initial;
}

.header-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  padding: 0 36px;
  color: #ffffff;
  padding: 14px 14px 14px 20px;
  transition: 0.5s;
}

.header-btn:hover {
  opacity: 0.5;
}

.header-black-btn {
  background-color: #00885a;
  transition: 0.5s;
  padding-left: 4px;
}
.header-green-btn {
  background-color: #00885a;
  transition: 0.5s;
  position: relative;
}
.header-green-btn span.copy {
  position: absolute;
  background: #ffee6c;
  border-radius: 50%;
  width: 70px;
  aspect-ratio: 1 / 1;
  left: -40px;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #333;
  line-height: 1.2;
}

.header-black-btn:hover {
  opacity: 0.5;
}

.header-black-btn {
  background-color: #222;
  text-align: center;
}

.header-arrow-icon {
  width: 7px;
  height: 12px;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.header-btn-label {
  z-index: 1;
}

.c-gnav > .menu-item > a {
  padding: 0 20px;
}

/* サイドバー */
.l-sidebar .wp-block-heading {
  background: #eee;
  font-size: 16px;
  padding: 16px;
  margin-bottom: 2px;
}

#body_wrap:not(.category-15) .sidebar-knowledge {
  display: none;
}

#body_wrap:not(.category-16) .sidebar-news {
  display: none;
}

#body_wrap:not(.single-case) .sidebar-case {
  display: none;
}

.post-type-archive-case .sidebar-case {
  display: block !important;
}
.c-pageTitle__subTitle {
  display: none;
}
.side-btn-container {
  display: flex;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.24));
  flex-direction: column;
  gap: 2rem;
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}
.side-btn-container .side-btn {
  display: inline-block;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  will-change: transform;
}
.side-btn-container .side-btn a {
  background: #2ab939;
  color: white;
  padding: 1.6rem;
  text-decoration: none;
  display: block;
  letter-spacing: 1.5px;
  font-size: 1.8rem;
  position: relative;
}
.side-btn-container .side-btn.gray a {
  background-color: #999;
}
.sidebar-title {
  font-size: 22px !important;
  text-align: center;
  font-weight: bold;
  color: #00885a;
  margin-bottom: 20px;
}
.side-form {
  background-color: #f5f5f5;
  padding: 10px 10px 20px;
}
.side-form .form-box {
  margin-bottom: 20px;
}
.side-form input,
.side-form textarea {
  width: 100%;
  background: #fff;
  border-radius: 4px;
}
.side-form label {
  font-size: 18px;
  font-weight: bold;
}
.side-form label .form-small {
  font-size: 14px;
}
.l-sidebar .p-blogParts > p:first-of-type {
  display: none;
}
[type="submit"] {
  display: block;
  width: 100%;
  font-size: 20px;
  background: #00885a;
  color: #fff;
  margin-top: 10px;
  transition: 0.3s;
}
[type="submit"]:hover {
  opacity: 0.5;
}
/*************************** 03. 共通パーツ（基本編集しない） ***********************/
.tablet {
  display: none;
}
.sp {
  display: none;
}
p.center {
  text-align: center;
}
a {
  text-decoration: none;
  transition:
    color 0.3s,
    background 0.3s,
    opacity 0.3s,
    border 0.3s;
}
a:hover {
  opacity: 0.5;
}

.more {
  text-align: center;
  margin-top: 20px;
}
.more a {
  border: 1px solid #333;
  display: inline-block;
  width: 100%;
  max-width: 300px;
  font-size: 1.4rem;
  padding: 1.5rem 0;
  border-radius: 10px;
  color: var(--color-main);
  background-color: #fff;
}
.more a:hover {
  background: var(--color-morebg);
}

a.pdf::after {
  content: "\f1c1";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  padding-left: 6px;
}

p {
  font-size: 1.8rem;
  line-height: 3.6rem;
  margin-bottom: 1.8rem;
}
p strong {
  color: var(--color-strong);
}
p.lead {
  font-size: 2.2rem;
}
mark {
  background: linear-gradient(transparent 80%, #6cf 80%);
  font-weight: bold;
  font-style: normal;
}

.const {
  padding: 100px 0;
  text-align: center;
  background: var(--color-subtlebg);
  border: 10px solid var(--color-mega-border);
  font-size: 2.4rem;
}

.concept {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.concept .concept-left {
  width: 48%;
}
.concept .tit {
  font-size: 3rem;
  border-bottom: 3px solid var(--color-border);
  padding-bottom: 0.7rem;
  margin-bottom: 4rem;
  display: table;
}
.concept .catchcopy {
  font-size: 4.8rem;
  line-height: 1.6;
  font-weight: bold;
}
.concept .concept-right {
  width: 48%;
}
.concept .concept-bg {
  font-size: 10rem;
  color: rgba(0, 0, 0, 0.05);
  font-family: impact;
  text-align: center;
}

ul.before-after {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1%;
  list-style: none;
  position: relative;
}
ul.before-after li {
  width: 48%;
  margin: 1%;
  line-height: 1.3;
  text-align: center;
  background: var(--color-subtlebg);
  padding: 1% 0.5%;
}
ul.before-after li:first-child::after {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  content: "\f30b";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 14rem;
  z-index: 9;
}
ul.before-after li:first-child::before {
  content: "BEFORE";
  font-size: 3.6rem;
  font-weight: bold;
  display: block;
  margin-bottom: 1.2rem;
}
ul.before-after li:last-child::before {
  content: "AFTER";
  font-size: 3.6rem;
  font-weight: bold;
  display: block;
  margin-bottom: 1.2rem;
}
ul.before-after li img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 5px;
}

.aday {
  position: relative;
}
.aday::before {
  position: absolute;
  top: 0;
  left: 7.6rem;
  width: 6px;
  height: 100%;
  background-color: var(--color-subtlebg);
  content: "";
}
.aday ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.aday li {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.aday li + li {
  margin: 4rem 0 2rem;
}
.aday li p {
  margin-bottom: 0;
  line-height: 1.4;
}
.aday-time {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  width: 6rem;
  padding: 0.8rem 0.4rem 1rem;
  border-radius: 6px;
  background-color: var(--color-accent);
  color: #fff;
  text-align: center;
  font-size: 1.8rem;
}
.aday-time::before {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateX(50%) translateY(-50%) rotate(45deg);
  width: 0.8rem;
  height: 0.8rem;
  z-index: -1;
  background-color: var(--color-accent);
  content: "";
}
.aday-time::after {
  position: absolute;
  top: 50%;
  left: 7rem;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.6rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background-color: var(--color-accent);
  content: "";
}
.aday-tit {
  font-weight: bold;
  padding-left: 4rem;
  padding-bottom: 1rem;
}
.aday-txt {
  margin: 0 0 0 4rem;
}

.year {
  position: relative;
}
.year::before {
  position: absolute;
  top: 9.4rem;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: var(--color-subtlebg);
  content: "";
}
.year > ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  align-items: baseline;
}
.year > ul > li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.year > ul > li + li {
  margin: 4rem 0 2rem;
}
.year > ul > li p {
  margin-bottom: 0;
  line-height: 1.4;
}
.year-time {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  width: 6rem;
  padding: 0.8rem 0.4rem 1rem;
  border-radius: 6px;
  background-color: var(--color-accent);
  color: #fff;
  text-align: center;
  font-size: 1.8rem;
}
.year-time::before {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(50%) rotate(45deg);
  width: 0.8rem;
  height: 0.8rem;
  z-index: -1;
  background-color: var(--color-accent);
  content: "";
}
.year-time::after {
  position: absolute;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1.4rem;
  height: 1.4rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background-color: var(--color-accent);
  content: "";
}
.year-container {
  padding-left: 0rem;
  padding-top: 4rem;
}
.year-container ul {
  list-style: none;
  display: flex;
}
.year-container li {
  margin: 0.5rem 0 0.6rem;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  text-orientation: upright;
  margin: 0 0.4rem;
}
.year-container li span {
  -webkit-text-combine: horizontal;
  -ms-text-combine-horizontal: all;
  text-combine-upright: all;
}

.deputy1 {
  display: flex;
  align-items: center;
}
.deputy1 > * {
  width: 50%;
  margin-top: 0;
}
.deputy1 .right {
  position: relative;
  padding: 9.6rem 0 3.2rem;
  padding-right: 4rem;
  margin-right: 4em;
}
.deputy1 .right::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background-color: #f1f8fd;
  z-index: -1;
}
.deputy1 .name {
  margin: 3.2rem 0 0;
  font-size: 2rem;
  text-align: right;
  color: var(--color-aside-titbg);
  font-family:
    "Yu Mincho Light", "YuMincho", "Yu Mincho", "游明朝体", "ヒラギノ明朝 ProN",
    "Hiragino Mincho ProN", sans-serif;
  font-weight: bold;
}
.deputy1 .left p {
  line-height: 4.8rem;
  margin-bottom: 0;
}
.deputy1 .left .philosophy-txt {
  margin: 0 0 2.4rem;
  padding: 3.2rem 0 0;
  border: none;
  position: relative;
  font-size: 3.2rem;
  line-height: 4.8rem;
  font-family:
    "Yu Mincho Light", "YuMincho", "Yu Mincho", "游明朝体", "ヒラギノ明朝 ProN",
    "Hiragino Mincho ProN", sans-serif;
  color: var(--color-aside-titbg);
  font-weight: bold;
}
.deputy1 .left .philosophy-txt::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 1px;
  background-color: var(--color-border);
  top: 0;
  left: 0;
}

.deputy2 {
  position: relative;
}
.deputy2::before {
  content: "Philosophy";
  position: absolute;
  top: 0;
  left: -8.8rem;
  writing-mode: vertical-rl;
  font-family: cambria, sans-serif;
  font-size: 8rem;
  color: #4e568f;
}
.deputy2 .deputy2-container {
  margin-top: 6.4rem;
}
.deputy2 p {
  line-height: 3;
  margin-bottom: 0;
  max-width: 768px;
}
.deputy2 .philosophy-txt {
  margin: 0 0 3.2rem;
  padding: 4.8rem 0 0;
  position: relative;
  font-size: 4rem;
  line-height: 1.6;
  border-top: 8px solid #12215c;
  max-width: 100%;
  font-weight: bold;
  color: #12215c;
  font-family: cambria, sans-serif;
}
.deputy2 .philosophy-txt::before {
  content: "";
  position: absolute;
  width: 30%;
  height: 8px;
  background-color: #19b2eb;
  top: -8px;
  left: 0;
}

.deputy3 .philosophy-txt {
  margin: 0 0 6.4rem;
  padding-bottom: 2rem;
  position: relative;
  font-size: 4.8rem;
  line-height: 1;
  font-family: cambria, sans-serif;
  text-align: right;
  border-bottom: 1px solid #4e568f;
  letter-spacing: 0.2rem;
}
.deputy3 .philosophy-txt span {
  display: block;
  font-weight: normal;
  font-size: 2rem;
  margin-top: 16px;
}
.deputy3-container {
  display: flex;
}
.deputy3 .left {
  width: 55%;
}
.deputy3 .lead {
  font-size: 4rem;
  line-height: 1;
  font-weight: bold;
  color: #4e568f;
  font-family: cambria, sans-serif;
  margin-bottom: 6.4rem;
}
.deputy3 .txt {
  line-height: 3;
  color: #4e568f;
}
.deputy3 .name {
  margin: 8rem 0 0;
  font-weight: bold;
  color: #4e568f;
  font-family: cambria, sans-serif;
}
.deputy3-container .right {
  width: 45%;
  margin-left: 4rem;
}

.deputy4 {
  background-color: #f2f2f2;
  padding: 14.4rem 4rem 4rem;
  position: relative;
}
.deputy4::before {
  content: "Ichiro Suzuki";
  position: absolute;
  top: 3.2rem;
  left: 4rem;
  font-size: 8rem;
  color: #fff;
  font-family: helvetica-lt-pro, sans-serif;
  font-weight: bold;
  line-height: 1;
}
.deputy4 .philosophy-txt {
  font-family: cambria, sans-serif;
  font-size: 2.4rem;
  font-weight: bold;
  margin: 0;
}
.deputy4 .name {
  font-family: cambria, sans-serif;
  font-size: 1.8rem;
  position: relative;
  font-weight: bold;
  margin: 4.8rem 0 0;
  padding-left: 4rem;
}
.deputy4 .name::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 3.2rem;
  height: 1px;
  background-color: #707070;
}
.deputy4-container {
  display: flex;
  margin-top: 5.6rem;
}
.deputy4-container > * {
  width: 50%;
}
.deputy4-container .img {
  margin-right: 5.6rem;
}
.deputy4-container .txt {
  line-height: 3;
  margin-bottom: 0;
}

.catch1 {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}
.catch1::before {
  content: "";
  background-image: url(../images/img/coding/guide/left-square-brackets.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 22px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.catch1::after {
  content: "";
  background-image: url(../images/img/coding/guide/right-square-brackets.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 22px;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
}
.catch1 p {
  font-size: 3.2rem;
  line-height: 1.6;
  font-weight: bold;
  text-align: center;
  color: #4e568f;
  font-family: cambria, sans-serif;
}

.catch2 {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 0;
  position: relative;
}
.catch2::before {
  content: "";
  background-image: url(../images/img/coding/guide/left-catch2.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 400px;
  height: 40px;
  position: absolute;
  left: 0;
  top: 0;
}
.catch2::after {
  content: "";
  background-image: url(../images/img/coding/guide/right-catch2.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
  width: 400px;
  height: 40px;
  position: absolute;
  right: 0;
  bottom: 0;
}
.catch2 p {
  font-size: 3.2rem;
  line-height: 1.6;
  font-weight: bold;
  text-align: center;
  color: #4e568f;
  font-family: cambria, sans-serif;
  margin-bottom: 0;
}

.catch3 {
  position: relative;
}
.catch3::after {
  content: "";
  width: 100%;
  height: 5px;
  background-color: #4e568f;
  position: absolute;
  width: 200px;
  bottom: 0;
  right: 0;
}
.catch3 .catch3-title {
  font-size: 4rem;
  line-height: 1;
  color: #4e568f;
  font-family: cambria, sans-serif;
  margin-bottom: 0;
  display: inline-block;
  position: relative;
  width: 200px;
}
.catch3 .catch3-title::before {
  content: "";
  width: 100%;
  height: 5px;
  background-color: #4e568f;
  position: absolute;
  bottom: -1.6rem;
  left: 0;
}
.catch3 .catch3-txt {
  font-size: 3.2rem;
  line-height: 1.6;
  font-weight: bold;
  text-align: center;
  color: #4e568f;
  font-family: cambria, sans-serif;
  padding: 8rem 0;
  letter-spacing: 0.2rem;
  margin-bottom: 0;
}

.st1 {
  max-width: 600px;
  margin: 0 auto;
}
.st1 p {
  color: var(--color-aside-titbg);
  text-align: center;
  font-size: 3.6rem;
  line-height: 10rem;
  letter-spacing: 0.4rem;
}
.st1 p span {
  display: block;
  font-weight: bold;
  position: relative;
}
.st1 p span::before {
  content: "";
  background-image: url(../images/img/coding/guide/left-square-brackets.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 14px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 4px;
}
.st1 p span::after {
  content: "";
  background-image: url(../images/img/coding/guide/right-square-brackets.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 14px;
  height: 100%;
  position: absolute;
  right: 0;
  top: 4px;
}

.st2 {
  max-width: 600px;
  margin: 0 auto;
}
.st2 p {
  color: var(--color-aside-titbg);
  text-align: center;
  font-size: 3.6rem;
  line-height: 10rem;
  letter-spacing: 0.4rem;
}
.st2 p span {
  display: block;
  font-weight: bold;
  position: relative;
}
.st2 p span strong {
  background: linear-gradient(transparent 60%, #e3fcff 60%);
  padding: 0 0.4rem;
}
.st2 p span::before {
  content: "/";
  position: absolute;
  left: 0;
  top: 48%;
  transform: translateY(-50%);
  font-size: 4.8rem;
  font-weight: normal;
}
.st2 p span::after {
  content: "/";
  position: absolute;
  right: 0;
  top: 48%;
  transform: translateY(-50%);
  font-size: 4.8rem;
  font-weight: normal;
}

.st3 {
  max-width: 800px;
  margin: 0 auto;
}
.st3 p {
  color: var(--color-aside-titbg);
  text-align: center;
  font-size: 3.6rem;
  line-height: 10rem;
  letter-spacing: 0.4rem;
}
.st3 p span {
  display: block;
  font-weight: bold;
  position: relative;
  background-image: url(../images/img/coding/guide/fukidashi.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  padding: 1.6rem 1.6rem 2.4rem;
}

.chat {
  margin-bottom: 20px;
  position: relative;
}
.chat:before,
.chat:after {
  clear: both;
  content: "";
  display: block;
}
.chat.left p.img {
  float: left;
  margin-right: 20px;
  width: 60px;
  height: 60px;
}
.chat.right p.img {
  float: right;
  margin-left: 20px;
  width: 60px;
  height: 60px;
}
.chat p.img img {
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  margin: 0;
}
.chat p.img span {
  margin-top: -4px;
  font-size: 1.1rem;
  text-align: center;
  display: block;
}
.chat div.txt {
  position: relative;
  padding: 10px;
  border: 1px solid;
  border-radius: 10px;
  max-width: -webkit-calc(100% - 120px);
  max-width: calc(100% - 120px);
  display: inline-block;
}
.chat.left div.txt {
  float: left;
  border-color: #aaa;
  background: #f0f2f4;
}
.chat.right div.txt {
  border-color: #aaa;
  background: #c3f69d;
  float: right;
}
main .chat p {
  margin: 0 0 10px;
  line-height: 1.8;
}
.chat p:last-child {
  margin-bottom: 0;
}

.chat div.txt::before,
.chat div.txt::after {
  position: absolute;
  content: "";
  border: 10px solid transparent;
  top: 15px;
}
.chat.left div.txt::before {
  border-right: 10px solid #aaa;
  left: -20px;
}
.chat.left div.txt::after {
  border-right: 10px solid #f0f2f4;
  left: -19px;
}
.chat.right div.txt::before {
  border-left: 10px solid #aaa;
  right: -20px;
}
.chat.right div.txt::after {
  border-left: 10px solid #c3f69d;
  right: -19px;
}

.related-article-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 5rem 0;
}
.related-article-box {
  border: 1px solid #ccc;
  padding: 2rem 2rem 1rem;
  margin: 0 0 4rem;
  position: relative;
  width: 49%;
}
.related-article-box::after {
  position: absolute;
  content: "関連ページ";
  background: #eee;
  color: #111;
  width: 12rem;
  text-align: center;
  padding: 0.8rem 0;
  top: -1.5rem;
  left: 1rem;
}
.related-article-box a {
  display: block;
  text-decoration: none;
  color: #333;
  display: flex;
}
.related-article-box a:hover {
  opacity: 0.5;
}
.related-article-box div.img img {
  transition: opacity 0.3s;
  width: 20rem;
  height: 14rem;
  margin-right: 1rem;
  object-fit: cover;
}
.related-article-box a:hover div.img img {
  opacity: 0.5;
}
.related-article-box div.txt {
  width: calc(100% - 21rem);
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

.sidelink-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.sidelink {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  list-style: none;
  padding: 0;
  margin: 40px 0;
  overflow-y: hidden;
  min-width: max-content;
}
.sidelink::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 1px;
  width: 100%;
  background-color: #4e568f;
}
.sidelink li {
  position: relative;
  margin: 0 16px;
  text-align: center;
  flex-shrink: 0;
}
.sidelink li::before {
  content: "";
  display: block;
  margin: 0 auto 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  border: 2px solid #8ca2c3;
}
.sidelink li.here::before {
  background: #2f4e85;
  border-color: #2f4e85;
}
.sidelink a {
  color: #2f4e85;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
}
.sidelink li.here a {
  color: #2f4e85;
}

dl.faq dt {
  font-size: 2.2rem;
  line-height: 1.6;
  padding: 0 3px;
  display: flex;
  margin-bottom: 3px;
}
dl.faq dt span {
  border-radius: 10px;
  padding: 10px;
  position: relative;
  background: #f0f2f4;
  width: 80%;
}

dl.faq dt span::before {
  position: absolute;
  content: "";
  border-right: 15px solid #f0f2f4;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  top: 30px;
  left: -15px;
  transform: translateY(-50%);
}
dl.faq dt::before {
  content: "Q";
  font-size: 3.6rem;
  background: #171d63;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  margin-right: 10px;
}
dl.faq dd {
  margin-bottom: 5rem;
  line-height: 1.4;
  padding: 0 3px;
  display: flex;
  justify-content: flex-end;
}
dl.faq dd span {
  border-radius: 10px;
  padding: 10px;
  position: relative;
  background: #eee;
  width: 80%;
}
dl.faq dd span::before {
  position: absolute;
  content: "";
  border-left: 15px solid #eee;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  top: 30px;
  right: -15px;
  transform: translateY(-50%);
}
dl.faq dd::after {
  content: "A";
  font-size: 3.6rem;
  background: #999;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
}
dl.faq img {
  display: block;
}

blockquote {
  padding: 30px 40px 20px;
  background: #f9f9f9;
  color: #666;
  position: relative;
}
blockquote::before {
  content: "\f10d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 10px;
  left: 10px;
}
blockquote::after {
  content: "\f10e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  bottom: 10px;
  right: 10px;
}
blockquote p.cite {
  text-align: right;
}

.conversion {
  margin: 25px auto;
  width: 100%;
  text-align: center;
}
.conversion a {
  background: var(--color-conversionbg);
  color: var(--color-conversiontxt);
  padding: 3.6rem;
  font-size: 3.6rem;
  display: block;
  text-decoration: none;
}

.miniConversion {
  margin: 25px auto;
  width: 80%;
  max-width: 500px;
  text-align: center;
}
.miniConversion a {
  background: #ddd;
  color: #333;
  padding: 2.4rem;
  font-size: 2.4rem;
  display: block;
  text-decoration: none;
}

a.blank::after {
  content: "\f24d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  padding-left: 6px;
}

p.annotation {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #999;
}
ul.listing {
  margin-left: 30px;
  margin-bottom: 26px;
}
ul.listing li {
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

ol.listing {
  margin-left: 30px;
  margin-bottom: 26px;
}
ol.listing li {
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

ul.twoColumns,
ul.threeColumns,
ul.fourColumns,
ul.fiveColumns,
ul.sixColumns,
ul.twodesign {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1%;
  list-style: none;
}
ul.twoColumns.center li,
ul.threeColumns.center li,
ul.fourColumns.center li,
ul.fiveColumns.center li,
ul.sixColumns.center li {
  text-align: center;
}
ul.twoColumns li {
  width: 48%;
  margin: 1%;
}
ul.twodesign li {
  width: 48%;
  margin: 1%;
}
ul.threeColumns li {
  width: 31.3333%;
  margin: 1%;
}
ul.fourColumns li {
  width: 23%;
  margin: 1%;
}
ul.fiveColumns li {
  width: 18%;
  margin: 1%;
}
ul.sixColumns li {
  width: 14.6666%;
  margin: 1%;
}
ul.twoColumns li img,
ul.threeColumns li img,
ul.fourColumns li img,
ul.fiveColumns li img,
ul.sixColumns li img {
  width: 100%;
  height: auto;
  display: block;
}
ul.twodesign li img {
  width: calc(100% - 16px);
  margin: 0 16px 16px 0;
  box-shadow: 16px 16px 0 #f2f2f2;
}

.flex-container-two,
.flex-container-three,
.flex-container-four {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1%;
}
.flex-container-two > * {
  width: 48%;
  margin: 0 1% 3%;
}
.flex-container-three > * {
  width: 31.3333%;
  margin: 0 1% 3%;
}
.flex-container-four > * {
  width: 23%;
  margin: 0 1% 3%;
}
.flex-container-three p,
.flex-container-four p {
  font-size: 1.6rem;
  line-height: 2.8rem;
}

.max30percent {
  width: 30%;
}
.max40percent {
  width: 40%;
}
.max50percent {
  width: 50%;
}
.max60percent {
  width: 60%;
}
.max70percent {
  width: 70%;
}
.max80percent {
  width: 80%;
}
.max30percent img,
.max40percent img,
.max50percent img,
.max60percent img,
.max70percent img,
.max80percent img {
  width: 100%;
  height: auto;
}

td,
th {
  line-height: 1.4;
}
div.data {
  overflow: auto;
  white-space: nowrap;
}
div.data::-webkit-scrollbar {
  height: 5px;
}
div.data::-webkit-scrollbar-track {
  background: #f1f1f1;
}
div.data::-webkit-scrollbar-thumb {
  background: #bcbcbc;
}

div.data table {
  width: 100%;
  margin-bottom: 10px;
}
div.data table caption {
  margin-bottom: 5px;
  font-size: 80%;
  color: #666;
}
div.data table thead th {
  padding: 15px 5px;
  background: #f0f2f4;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
}
div.data table tbody th {
  white-space: nowrap;
}
div.data table tbody td {
  padding: 12px 5px;
  text-align: center;
}
div.data table tbody tr {
  background: #f7f7f7;
}
div.data table tbody tr:nth-child(2n + 1) {
  background: #fff;
}
div.data table tr:hover {
  background: #eee;
}

.chart table {
  border-spacing: 0;
  width: auto;
  min-width: 400px;
  table-layout: fixed;
  margin-bottom: 10px;
}
.chart table caption {
  margin-bottom: 5px;
}
.chart table thead th {
  background: #f0f2f4;
  border-bottom: 1px solid #ccc;
  padding: 15px 5px;
  text-align: left;
}
.chart table tbody th {
  padding: 12px 5px;
  text-align: left;
}
.chart table tbody td {
  padding: 12px 5px;
}
.chart table tbody tr {
  background: #f7f7f7;
}
.chart table tbody tr:nth-child(2n + 1) {
  background: #fff;
}
.chart table tbody tr:hover {
  background: #eee;
}
.chart table tbody th a {
  color: #;
  text-decoration: underline;
}

div.scroll table {
  word-break: break-all;
  table-layout: fixed;
  display: block;
  max-height: 80vh;
  margin-bottom: 10px;
}
div.scroll table caption {
  margin-bottom: 5px;
}
div.scroll thead th {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 15px 5px;
  background: #f0f2f4;
}
div.scroll thead th:first-child {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 3;
  background: #f0f2f4;
}
div.scroll tbody tr {
  background: #f7f7f7;
}
div.scroll tbody tr:nth-child(2n + 1) {
  background: #fff;
}
div.scroll tbody tr:hover {
  background: #eee;
}
div.scroll tbody th {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  z-index: 2;
  border: none;
  white-space: normal;
  min-width: 80px;
  padding: 12px 5px;
  text-align: left;
}
div.scroll tbody td {
  padding: 12px 5px;
  text-align: center;
}

div.scroll th,
div.scroll td {
  position: relative;
  border: none;
  z-index: 0;
  vertical-align: middle;
  line-height: 1.2;
  white-space: nowrap;
}
div.scroll th::before,
div.scroll td::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border-right: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
  z-index: -1;
}
div.scroll thead th::before {
  border-top: 1px solid #dedede;
  z-index: -1;
}
div.scroll thead tr th:first-child::before,
div.scroll tbody tr th:first-child::before {
  border-left: 1px solid #dedede;
  z-index: -1;
}
div.scroll tbody tr th {
  background: #f7f7f7;
}
div.scroll tbody tr:nth-child(2n + 1) th {
  background: #fff;
}

div.largeT table {
  margin-bottom: 10px;
  width: 100%;
}
div.largeT table caption {
  margin-bottom: 5px;
}
div.largeT thead th {
  padding: 15px 5px;
  background: #f0f2f4;
  border: 1px solid #dedede;
}
div.largeT tbody tr {
  background: #f7f7f7;
}
div.largeT tbody tr:nth-child(2n + 1) {
  background: #fff;
}
div.largeT tbody tr:hover th,
div.largeT tbody tr:hover td,
div.largeT tbody tr:hover:nth-child(2n + 1) th {
  background: #eee;
}
div.largeT tbody th {
  padding: 12px 5px;
  text-align: left;
  border: 1px solid #dedede;
  vertical-align: middle;
  line-height: 1.2;
  white-space: nowrap;
}
div.largeT tbody td {
  vertical-align: middle;
  line-height: 1.2;
  border: 1px solid #dedede;
  padding: 12px 5px;
}

dl.table {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 1.5rem;
}
dl.table dt {
  width: 20rem;
  background-color: #eee;
  padding: 1.4rem;
  line-height: 1.6;
  border-bottom: 1px solid #ddd;
}
dl.table dd {
  width: calc(100% - 20rem);
  padding: 1.4rem;
  line-height: 1.6;
  border-bottom: 1px solid #ddd;
}

dl.table dd ul {
  margin-left: 20px;
}
dl.table dd ul li {
  margin-bottom: 5px;
}

.top-news dl.table {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 1.5rem;
}
.top-news dl.table dt {
  width: 26rem;
  padding: 1.4rem;
  background-color: #fff;
  line-height: 1.6;
  border-bottom: 1px solid #ddd;
}
.top-news dl.table dt span.cat {
  border: #00885a 1px solid;
  text-align: center;
  font-size: 14px;
  color: #00885a;
  padding: 4px 8px;
  margin-left: 20px;
}
.top-news dl.table dd {
  width: calc(100% - 26rem);
  padding: 1.4rem;
  line-height: 1.6;
  border-bottom: 1px solid #ddd;
}

div.flow-ol-container ol {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  background: linear-gradient(to right, #f0f2f4, #999);
  counter-reset: flow-list;
}
div.flow-ol-container ol li {
  list-style: none;
  width: calc(100% / 6);
  text-align: center;
  padding: 100px 0;
  background:
    url(../images/icons/flow-start.svg) no-repeat right center,
    url(../images/icons/flow-right-end.svg) no-repeat left center;
  background-size: auto 60%;
}
div.flow-ol-container ol li:last-child {
  background: url(../images/icons/flow-right-end.svg) no-repeat left center;
  background-size: auto 60%;
}
div.flow-ol-container ol li:first-child {
  background: url(../images/icons/flow-right-start.svg) no-repeat right center;
  background-size: auto 60%;
}
div.flow-ol-container ol li::before {
  counter-increment: flow-list;
  content: counter(flow-list);
  display: block;
  font-size: 4.8rem;
  padding-bottom: 1rem;
}

.flow-section-container {
  counter-reset: flow-section;
  background: url(/images/bg/border.svg) no-repeat center 15rem;
  background-size: contain;
}
.flow-section-container section {
  display: flex;
  width: calc(50% + 8rem);
  justify-content: space-between;
}
.flow-section-container section:nth-child(odd) {
  flex-direction: row-reverse;
  margin-left: calc(50% - 8rem);
  justify-content: flex-end;
}
.flow-section-container h3 {
  border: none;
  padding: 0 0 0.4rem;
  margin: 0;
  border-bottom: 1px dotted #ccc;
}
.flow-section-container h3::before {
  counter-increment: flow-section;
  content: counter(flow-section);
  font-size: 100%;
  font-weight: normal;
  background: #333e48;
  display: inline-block;
  text-align: center;
  width: 4rem;
  padding: 0.4rem 0;
  color: #fff;
  margin-right: 0.4rem;
}
.flow-section-container div.img {
  width: 16rem;
  margin: 0 0 0 2rem;
  flex-shrink: 0;
}
.flow-section-container section:nth-child(odd) div.img {
  margin: 0 2rem 0 0;
}
.flow-section-container div.img img {
  border-radius: 50%;
  height: auto;
  width: 100%;
}

.iframe-content {
  position: relative;
  width: 100%;
  padding: 56.25% 0 0 0;
}
.iframe-content iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

div.leftImg .img {
  float: left;
  margin-right: 30px;
  width: 35%;
}
div.leftImg img {
  width: 100%;
  height: auto;
}
div.rightImg .img {
  float: right;
  margin-left: 30px;
  width: 35%;
}
div.rightImg img {
  width: 100%;
  height: auto;
}

video {
  width: 100%;
}

.screenshot {
  text-align: center;
}
.screenshot img {
  max-width: calc(100% - 12px);
  height: auto;
  margin: 1rem auto 2rem;
  box-shadow: 0 0 6px #333;
}

ul.updateDate {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
ul.updateDate li {
  list-style: none;
}
ul.updateDate li span {
  background: #ff0;
  font-size: 1.1rem;
  padding: 4px 6px;
  border: 1px solid #ccc;
  margin-right: 1rem;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.lazyload-box img {
  opacity: 0;
  transform: translate(0, 50px);
  transition: 2s;
}
.lazyload-box img.lazyloaded {
  transform: translate(0, 0);
  opacity: 1;
}

/* Datepicker */
/* 日曜日のカラー設定 */
td.ui-datepicker-week-end:first-child a.ui-state-default {
  background-color: #ffecec;
  color: #f00 !important;
}
/* 土曜日のカラー設定 */
td.ui-datepicker-week-end:last-child a.ui-state-default {
  background-color: #eaeaff;
  color: #00f !important;
}
/* ホバー時の動作 */
td.ui-datepicker-week-end a.ui-state-hover {
  opacity: 0.8;
}
/* 当日を示す色はそのまま */
td.ui-datepicker-week-end a.ui-state-highlight {
  background-color: #fffa90 !important;
}

/*************************** 04. breadcrumb（パンくず） ***********************/
/*************************** 05. aside（サイドバー） ***********************/
.form-box-item {
  font-size: 14px;
  margin-left: 10px;
  color: #00885a;
}
/*************************** 06. footer（フッター） ***********************/

/* ===== Q HACK JAPAN カスタムフッター ===== */
footer.qhack-footer {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: #313131 !important;
  color: #ffffff !important;
  position: relative;
  z-index: 1;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0;
}

footer.qhack-footer * {
  visibility: visible !important;
}

.qhack-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  min-height: 213px;
  box-sizing: border-box;
}

.qhack-footer__main {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.qhack-footer__logo {
  display: block !important;
  flex-shrink: 0;
}

.qhack-footer__logo img {
  width: 173px;
  height: 71px;
  display: block !important;
  visibility: visible !important;
  object-fit: contain;
}

.qhack-footer__nav {
  display: flex !important;
  align-items: center;
}

.qhack-footer__menu {
  display: inline-flex !important;
  align-items: center;
  gap: 60px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.qhack-footer__menu li {
  display: block !important;
}

.qhack-footer__menu li a {
  color: #fff !important;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.56px;
  text-decoration: none;
  transition: opacity 0.3s ease;
  display: block !important;
}

.qhack-footer__menu li a:hover {
  opacity: 0.7;
}

/* フッターサブメニュー非表示 */
.qhack-footer__menu .sub-menu {
  display: none;
}

.qhack-footer__bottom {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.qhack-footer__privacy {
  color: #fff !important;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.56px;
  text-decoration: none;
  transition: opacity 0.3s ease;
  display: block !important;
}

.qhack-footer__privacy:hover {
  opacity: 0.7;
}

.qhack-footer__group-company {
  color: #fff !important;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.56px;
  text-align: center;
}

.qhack-footer__copyright {
  color: #fff !important;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.56px;
  margin: 0;
  display: block !important;
}

/* PC版ではメニュー内のプライバシーポリシーを非表示（SP版でのみ表示） */
.qhack-footer__menu li.qhack-footer__menu-privacy {
  display: none !important;
}

/* 既存SWELLフッターを非表示 */
.l-footer__widgetArea,
.l-footer__foot {
  display: none !important;
}

/* ===== /Q HACK JAPAN カスタムフッター ===== */

.l-footer {
  z-index: 0;
}

.l-footer a {
  transition: 0.5s;
}

.l-footer a:hover {
  opacity: 0.5;
}

.custom-footer {
  background-color: #222222;
  color: #fff;
  padding: 40px 20px 20px;
  font-family: sans-serif;
}

.l-footer__widgetArea {
  background: #222222;
  border-radius: 40px 40px 0 0;
}

.footer-conversion {
  display: none;
}

.p-fixBtnWrap {
  bottom: 4.3rem;
}

.footer-logo {
  max-width: 400px;
  margin: 0 auto;
}
/* 上部2カラム */
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* 中央に縦の仕切り線を追加 */
.footer-top::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background-color: #444;
  transform: translateX(-50%);
}

/* 各ボックス */
.footer-box {
  flex: 1;
  padding: 0 20px;
  box-sizing: border-box;
  text-align: center;
}

.footer-label {
  font-size: 12px;
  color: #fff;
  margin-bottom: 0px !important;
}

.footer-box h3 {
  font-size: 40px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.footer-box p {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.btn-2 {
  position: relative;
  margin-top: 16px;
  width: 290px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  padding: 0 48px;
  text-decoration: none;
  box-sizing: border-box;
  border: 1px solid #fff;
  color: #fff;
  transition: 0.5s;
}

.btn-2:hover {
  opacity: 0.5;
}

.blue-btn-2 {
  background-color: #0469ef;
}

.black-btn-2 {
  background-color: #222222;
}

.btn-icon-2 {
  width: 18px;
  height: auto;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.arrow-icon-2 {
  width: 7.2px;
  height: 13.2px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-label-2 {
  z-index: 1;
}

/* 横の区切り線（ナビ項目の前） */
.footer-divider {
  margin: 90px auto 60px;
  border: none;
  border-top: 1px solid #444;
  max-width: 1200px;
}

/* ナビ項目 + コピーライト */
.footer-bottom {
  text-align: center;
  color: #aaa;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 20px 0;
  gap: 0;
  color: #fff;
}

.footer-links li {
  position: relative;
  padding: 0 12px;
  font-size: 13px;
}

.footer-links li:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  color: #aaa;
  font-weight: normal;
}

/* コピーライト */
.footer-bottom small {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: #fff;
}

.l-footer__foot {
  display: none;
}

/* 下層ページ共通 */
.c-pageTitle {
  font-size: 36px;
}

.mw-inner {
  max-width: 720px !important;
  margin: 0 auto;
}

.-body-solid .p-breadcrumb.-bg-on {
  background: #fafbfc;
}
.footer-cta {
  padding-top: 5rem;
  padding-bottom: 0rem;
}
.footer-cta-box ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-cta-box ul li {
  width: 32%;
}

/* フロントページのl-content下部の余白を削除 */
.home .l-content {
  margin-bottom: 0 !important;
}

/* ===== Q HACK JAPAN ページトップボタン（トップに戻るボタン） ===== */
/* SWELLテーマのデフォルト緑色をQ HACK JAPANカラーに変更 */
#pagetop,
.c-fixBtn {
  background: linear-gradient(90deg, #ff3d3b 0%, #b701f7 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(183, 1, 247, 0.3) !important;
  transition: all 0.3s ease !important;
}

#pagetop:hover,
.c-fixBtn:hover {
  opacity: 0.85 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(183, 1, 247, 0.4) !important;
}

#pagetop .c-fixBtn__icon,
.c-fixBtn .c-fixBtn__icon,
#pagetop i,
.c-fixBtn i {
  color: #ffffff !important;
}

/* 固定フッターメニュー内のページトップボタン */
#fix_bottom_menu .pagetop_btn {
  color: var(--qhack-secondary) !important;
}

#fix_bottom_menu .pagetop_btn:hover {
  opacity: 0.7;
}

/* ===== /Q HACK JAPAN ページトップボタン ===== */

/* ===== Q HACK JAPAN スマホ固定CTAバー ===== */
.qhack-fixed-cta {
  display: none; /* PC版では非表示 */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.qhack-fixed-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  padding: 14px 16px;
  text-decoration: none;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.64px;
  transition: opacity 0.2s ease;
}

.qhack-fixed-cta__btn:hover {
  opacity: 0.9;
}

.qhack-fixed-cta__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.qhack-fixed-cta__text {
  flex-shrink: 0;
}

.qhack-fixed-cta__arrow {
  width: 8px;
  height: 14px;
  flex-shrink: 0;
  margin-left: auto;
}

/* 資料請求ボタン - 白背景 + グラデーションボーダー風 */
.qhack-fixed-cta__btn--document {
  background: #ffffff;
  color: #313131;
  border-top: 1px solid #e5e5e5;
}

.qhack-fixed-cta__btn--document .qhack-fixed-cta__icon,
.qhack-fixed-cta__btn--document .qhack-fixed-cta__arrow {
  color: #ff3d3b;
}

/* お問合せボタン - グラデーション背景 */
.qhack-fixed-cta__btn--contact {
  background: linear-gradient(90deg, #ff3d3b 0%, #b701f7 100%);
  color: #ffffff;
}

.qhack-fixed-cta__btn--contact .qhack-fixed-cta__icon,
.qhack-fixed-cta__btn--contact .qhack-fixed-cta__arrow {
  color: #ffffff;
}
/* ===== /Q HACK JAPAN スマホ固定CTAバー ===== */

/* ===== Q HACK JAPAN モバイルメニュー（ドロワー） ===== */
.qhack-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  visibility: hidden;
  pointer-events: none;
}

.qhack-mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
}

/* オーバーレイ（背景暗転） */
.qhack-mobile-menu__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.qhack-mobile-menu.is-open .qhack-mobile-menu__overlay {
  opacity: 1;
}

/* ドロワー本体 */
.qhack-mobile-menu__drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 350px;
  max-width: 85%;
  height: 100%;
  background: #fff;
  border-radius: 16px 0 0 16px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.qhack-mobile-menu.is-open .qhack-mobile-menu__drawer {
  transform: translateX(0);
}

/* 閉じるボタン - ハンバーガーボタンと同じ位置に配置 */
.qhack-mobile-menu__close {
  position: absolute;
  top: 21px;
  right: 16px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
  transition: opacity 0.2s ease;
}

.qhack-mobile-menu__close:hover {
  opacity: 0.7;
}

.qhack-mobile-menu__close svg {
  width: 18px;
  height: 18px;
}

/* ナビゲーション */
.qhack-mobile-menu__nav {
  flex: 1;
  overflow-y: auto;
  padding: 100px 20px 40px;
  -webkit-overflow-scrolling: touch;
}

/* メニューリスト */
.qhack-mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* メニュー項目 */
.qhack-mobile-menu__item {
  border-bottom: 0.6px solid #d9d9d9;
}
.qhack-mobile-menu__item .qhack-mobile-menu__item {
  padding-left: 10px;
}
.qhack-mobile-menu__item
  .qhack-mobile-menu__item
  .qhack-mobile-menu__link
  span {
  font-size: 12px;
}
.qhack-mobile-menu__item .qhack-mobile-menu__item .qhack-mobile-menu__link {
  padding: 6px 0;
  height: auto;
}

.qhack-mobile-menu__item:last-child {
  border-bottom: none;
}

/* メニューリンク */
.qhack-mobile-menu__link {
  display: flex;
  width: 100%;
  height: 44px;
  padding: 10px 0;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.qhack-mobile-menu__link:hover {
  opacity: 0.7;
}

/* ドット（グラデーション） */
.qhack-mobile-menu__dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}

/* メニューテキスト */
.qhack-mobile-menu__link span {
  color: #313131;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.56px;
}

/* モバイルメニュー内CTAボタンエリア */
.qhack-mobile-menu__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 0 0;
  margin-top: 0;
  border-top: 0.6px solid #d9d9d9;
}

.qhack-mobile-menu__cta .qhack-cta-btn {
  width: 100%;
  padding: 12px 20px;
  border-radius: 60px;
}

.qhack-mobile-menu__cta .qhack-cta-btn__sub {
  font-size: 10px;
}

.qhack-mobile-menu__cta .qhack-cta-btn__main {
  font-size: 14px;
}

/* PC版では非表示（デフォルト状態） */
.qhack-mobile-menu {
  display: none;
}

/* ===== /Q HACK JAPAN モバイルメニュー ===== */

/* ===== Q HACK JAPAN メリットセクション - 改行制御 ===== */

/* PC版の改行を表示、スマホ版の改行を非表示 */
.qhack-merit__br-pc {
  display: inline;
}

.qhack-merit__br-sp {
  display: none;
}

/* スマホ版（767px以下）：スマホ版の改行を表示、PC版の改行を非表示 */
@media (max-width: 767px) {
  .qhack-merit__br-pc {
    display: none;
  }

  .qhack-merit__br-sp {
    display: inline;
  }
}
.page-id-1874 .qhack-header__nav,
.page-id-1874 .qhack-header__cta {
  display: none;
}
.page-id-1876 .qhack-header__cta,
.page-id-1876 .qhack-header__nav {
  display: none;
}

/* ===== /Q HACK JAPAN メリットセクション - 改行制御 ===== */
/* 20260804追加 */
.side-btn-container {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.24));
  transform: translateY(-50%);
}

.side-btn-container .side-btn {
  display: inline-block;
  writing-mode: vertical-rl;
}

.side-btn-container .side-btn a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem;
  color: #fff;
  font-size: 1.8rem;
  letter-spacing: 1.5px;
  text-decoration: none;
  background: linear-gradient(90deg, #ff3d3b 0%, #b701f7 100%);
  transition: opacity 0.2s ease;
}

.side-btn-container .side-btn.gray a {
  background: #999;
}

.side-btn-container .side-btn a:hover {
  opacity: 0.85;
}

@media (max-width: 600px) {
  .side-btn-container {
    display: none;
  }
}
