@charset "UTF-8";

/* ============================================
   0. Font Import (Google Fonts)
   ============================================ */
/* Noto Sans JP (本文用) & Dela Gothic One (英語・数字見出し用) */
@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Noto+Sans+JP:wght@400;500;700&display=swap');


/* ============================================
   1. CSS Variables (デザイン定義)
   ============================================ */
:root {
  /* --- Colors: Text --- */
  --c-text-main: #1F1F1F;
  --c-white: #FFFFFF;

  /* --- Colors: Brand (Main) --- */
  --c-main-blue: #118BCC;
  --c-main-purple: #5040FB;
  --c-main-violet: #8904FC;
  --c-main-pink: #F162F1;

  /* --- Colors: Background (Light) --- */
  --c-bg-gray: #F0F0F0;
  --c-bg-light1: #E6F6FF;
  --c-bg-light2: #EAE8FF;
  --c-bg-light3: #F3E6FF;
  --c-bg-light4: #FFE6FF;

  /* --- Gradient (Global) --- */
  /* 左から右へのグラデーション定義 */
  --g-main: linear-gradient(90deg, #118BCC 0%, #5040FB 33%, #8904FC 66%, #F162F1 100%);

  /* --- Fonts --- */
  --f-base: "Noto Sans JP", sans-serif;
  --f-display: "Dela Gothic One", cursive;

  /* --- Layout --- */
  --l-content-width: 1140px;
  --l-header-height: 100px;
}


/* ============================================
   2. Reset & Base Settings
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  /* 1rem = 10px */
  height: 100%;
}

body {
  overflow-x: clip;
  font-size: 1.6rem;
  line-height: 2.0;
  font-family: var(--f-base);
  color: var(--c-text-main);
  background-color: var(--c-white);
  -webkit-text-size-adjust: 100%;
  letter-spacing: 0.08rem;
  word-break: break-word;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

li {
  list-style: none;
}

/* フォームリセット */
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: 100%;
  border: none;
  background: none;
  appearance: none;
  outline: none;
}

button {
  cursor: pointer;
}


/* ============================================
   3. Typography Utility (Figmaサイズ対応)
   ============================================ */

/* 英語・インパクト用フォント */
.u-font-display {
  font-family: var(--f-display);
}

/* 文字サイズ定義 */
h1,
.u-fz-48 {
  font-size: 4.8rem;
  line-height: 1.4;
}

h2,
.u-fz-32 {
  font-size: 3.2rem;
  line-height: 1.4;
}

h3,
.u-fz-24 {
  font-size: 2.4rem;
  line-height: 1.5;
}

.u-fz-20 {
  font-size: 2.0rem;
  line-height: 1.6;
}

.u-fz-16 {
  font-size: 1.6rem;
  line-height: 1.8;
}

/* 特大サイズ（英語系） */
.u-fz-128 {
  font-size: 12.8rem;
  line-height: 1.1;
}

.u-fz-200 {
  font-size: 20.0rem;
  line-height: 1.1;
}

/* グラデーションテキスト用クラス */
.u-text-gradient {
  background: var(--g-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  display: inline-block;
  /* インラインだと効かない場合があるため */
}


/* ============================================
   4. Layout Utility
   ============================================ */

/* コンテンツ幅制限 (1100px) */
.l-container {
  width: 100%;
  max-width: var(--l-content-width);
  margin: 0 auto;
  padding: 0 2.0rem;
  /* スマホ時の左右余白 */
}

/* 1440px幅のコンテナ */
.l-container.-w1440 {
  max-width: 144.0rem;
}

/* ============================================
   ローディング画面
   ============================================ */

/* --- ローディングエリア全体 --- */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-image: url("../images/loading_bg.svg");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* --- コンテンツ配置 --- */
.loading .loading_box {
  width: 32.0rem;
  max-width: 90%;
  color: var(--c-white);
  margin: auto;
}

.loading .loading_text_row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.0rem;
  font-weight: bold;
  letter-spacing: 0.1rem;
  color: var(--c-white);
}

.loading .loading_label {
  font-size: 1.6rem;
}

.loading .loading_percent {
  font-size: 1.6rem;
}

/* --- プログレスバー --- */
.loading .loading_bar_wrap {
  width: 100%;
  height: 1.0rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 0.2rem;
  box-sizing: border-box;
}

.loading .loading_bar {
  display: block;
  width: 0%;
  height: 100%;
  background-color: var(--c-white);
}

/* ============================================
   ヘッダー（共通・レイアウト）
   ============================================ */

/* --- ヘッダー本体 --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--l-header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  box-sizing: border-box;
}

/* --- ロゴ --- */
header .logo a {
  display: block;
  width: 20rem;
}

/* ============================================
   PC用ナビゲーション
   ============================================ */

/* --- ナビゲーションエリア --- */
header .pc_nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  background-color: var(--c-white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  padding: 0.7rem 3.0rem;
}

header .pc_nav ul {
  display: flex;
  gap: 2.5rem;
  font-weight: bold;
}

header .pc_nav li a {
  transition: 0.3s;
}

/* --- アクションエリア（お問い合わせ・インスタ） --- */
header .header_actions {
  display: flex;
  align-items: center;
  gap: 2.0rem;
}

/* --- お問い合わせボタン --- */
header .btn_contact {
  background-color: var(--c-main-purple);
  color: var(--c-white);
  padding: 0.3rem 1.4rem;
  font-size: 1.6rem;
  font-weight: bold;
  transition: opacity 0.3s;
}

header .btn_contact:hover {
  opacity: 0.8;
}

/* --- インスタアイコン --- */
header .icon_insta {
  width: 4.0rem;
  height: 4.0rem;
}

header .icon_insta svg {
  width: 100%;
  height: auto;
}

/* ============================================
   ハンバーガーメニュー（共通設定）
   ============================================ */

/* --- 機能用チェックボックス --- */
header #nav_input {
  display: none;
}

/* --- ハンバーガーアイコン --- */
header #nav_open {
  display: none;
  position: relative;
  width: 3.0rem;
  height: 1.6rem;
  cursor: pointer;
  z-index: 1002;
}

header #nav_open span,
header #nav_open::before,
header #nav_open::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 0.2rem;
  background-color: var(--c-text-main);
  transition: all 0.4s;
  content: '';
}

header #nav_open::before {
  top: 0;
}

header #nav_open span {
  top: 50%;
  transform: translateY(-50%);
}

header #nav_open::after {
  bottom: 0;
}

header .sp_btn {
  display: none;
  margin-left: auto;
  margin-right: 1.5rem;
  gap: 1.0rem;
}

header .sp_btn .sp_btn__icon img {
  width: 40px;
}


/* ============================================
   Navigation Content (Drawer Menu)
   ============================================ */

/* ドロワー全体のコンテナ */
#nav_content {
	position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  transition: all 0.5s;
  z-index: 1001;
  padding-top: var(--l-header-height);
  box-sizing: border-box;
  text-align: center;
	background-color: rgba(255, 255, 255, 0.95);
    padding: 6.0rem 2.0rem 3.0rem;
    overflow-y: auto;
    box-sizing: border-box;
}

/* ----------------------------------
   メニューリスト
   ---------------------------------- */
#nav_content ul {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 4rem;
}

#nav_content ul li {
    width: 100%;
}

#nav_content ul li:not(:last-child) {
	border-bottom: 1px solid var(--c-text-main);
}

#nav_content ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.3s;
}

#nav_content ul li a:hover {
    opacity: 0.7;
}

/* 右側の矢印アイコン */
#nav_content ul li a::after {
    content: '';
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    background-image: url('../images/nav_icon_arrow.svg'); 
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

/* ----------------------------------
   お問い合わせボタンエリア (3行縦並び)
   ---------------------------------- */
.nav_content-contact {
    display: flex;
    flex-direction: column;
    gap: 1.0rem;
    width: 100%;
}

.nav_content-contact__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.5rem;
    text-decoration: none;
    transition: opacity 0.3s;
    box-sizing: border-box;
	color: var(--c-white);
}

.nav_content-contact__item:hover {
    opacity: 0.8;
}

/* 各ボタンの背景色設定 */
.nav_content-contact__item.-line {
    background-color: #5bc916;
}

.nav_content-contact__item.-email {
    background-color: var(--c-main-purple);
}

.nav_content-contact__item.-phone {
    background-color: var(--c-main-blue);
}

/* アイコン */
.nav_content-contact__icon {
    width: 3rem;
    height: 3rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.nav_content-contact__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    vertical-align: bottom;
}

/* ボタンテキスト */
.nav_content-contact__label {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}




/* ============================================
   レスポンシブ対応（1440px以下）
   ============================================ */

@media screen and (max-width: 1440px) {
  header {
    padding: 0 2rem;
  }

  header .pc_nav {
    padding: 0.7rem 2rem;
    gap: 1.5rem;
  }

  header .pc_nav ul {
    gap: 1.5rem;
    font-size: 1.4rem;
  }
}

/* ============================================
   レスポンシブ対応（1099px以下）
   ============================================ */

@media screen and (max-width: 1099px) {
  header {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.5);
  }

  /* --- 表示切り替え --- */
  header .pc_nav {
    display: none;
  }

  header #nav_open {
    display: block;
  }

  /* --- ヘッダー余白調整 --- */
  header {
    padding: 0 2.0rem;
  }

  /* --- メニュー開閉時の挙動 --- */
  header #nav_input:checked~#nav_content {
    right: 0;
  }

  /* --- アイコンのアニメーション --- */
  header #nav_input:checked~#nav_open::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }

  header #nav_input:checked~#nav_open span {
    opacity: 0;
  }

  header #nav_input:checked~#nav_open::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
  }

  header .sp_btn {
    display: flex;
  }
}

/* ============================================
   レスポンシブ対応（767px以下）
   ============================================ */

@media screen and (max-width: 767px) {
  header {
    height: 40px;
    padding: 0 1.0rem;
  }

  header .logo a {
    width: 15rem;
  }

  header .sp_btn {
    margin-right: 1.0rem;
    gap: 0.5rem;
  }

  header .sp_btn .sp_btn__icon img {
    width: 30px;
  }
}

/* ============================================
   フッター（共通・レイアウト）
   ============================================ */

/* --- フッター本体 --- */
.l-footer {
  width: 100%;
  background: var(--g-main);
  color: var(--c-white);
  padding: 15.0rem 0 0;
  position: relative;
  z-index: 1;
}

/* --- コンテンツ配置 --- */
.l-footer__inner {
  padding-bottom: 10.0rem;
  max-width: 1480px;
  position: relative;
}

/* ============================================
   お問い合わせバナー
   ============================================ */

/* --- バナー配置 --- */
.p-footer-contact {
  display: flex;
  width: 100%;
  margin: 0 auto 8.0rem;
}

/* --- 各アイテムの共通設定 --- */
.p-footer-contact__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4.0rem 1.0rem;
  transition: all 0.3s ease;
  text-align: center;
  background-color: var(--c-white);
  border: 0.2rem solid transparent;
}

.p-footer-contact__item:last-child {
  margin-right: 0;
}

/* --- アイコンボックス --- */
.p-footer-contact__icon {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.0rem;
  height: 5.0rem;
}

.p-footer-contact__icon img {
  width: 100%;
  height: auto;
  transition: all 0.3s ease;
}

/* --- ラベル・数値テキスト --- */
.p-footer-contact__label {
  display: block;
  font-size: 2.0rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.p-footer-contact__val {
  display: block;
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

/* --- 個別カラー設定 (通常時) --- */
.p-footer-contact__item.-phone {
  background-color: var(--c-bg-light1);
  color: var(--c-main-blue);
  border-color: var(--c-main-blue);
  z-index: 3;
}

.p-footer-contact__item.-email {
  background-color: var(--c-bg-light2);
  color: var(--c-main-purple);
  border-color: var(--c-main-purple);
  z-index: 2;
}

.p-footer-contact__item.-line {
  background-color: #F0FFE6;
  color: #5bc916;
  border-color: #5bc916;
  z-index: 1;
}

/* --- ホバー時の挙動 --- */
.p-footer-contact__item:hover .p-footer-contact__icon img {
  filter: brightness(0) invert(1);
}

.p-footer-contact__item:hover {
  opacity: 1;
}

.p-footer-contact__item.-phone:hover {
  background-color: var(--c-main-blue);
  color: var(--c-white);
}

.p-footer-contact__item.-email:hover {
  background-color: var(--c-main-purple);
  color: var(--c-white);
}

.p-footer-contact__item.-line:hover {
  background-color: #5bc916;
  color: var(--c-white);
}

/* ============================================
   フッターメインコンテンツ
   ============================================ */

/* --- メインレイアウト --- */
.p-footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8.0rem;
  max-width: var(--l-content-width);
  margin: auto;
}

/* --- 会社情報 --- */
.p-footer-main__logo {
  max-width: 34.0rem;
  margin-bottom: 2.6rem;
}

.p-footer-main__address {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 2.0;
}

/* --- ナビゲーション --- */
.p-footer-main__nav {
  display: flex;
  gap: 6.0rem;
  justify-content: center;
}

.p-footer-main__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.p-footer-main__list a {
  font-size: 1.6rem;
  font-weight: 700;
}

/* --- トップへ戻るボタン --- */
.p-footer-main__scroll {
  position: absolute;
  bottom: 10rem;
  right: 3rem;
}

.p-footer-main__scroll a img {
  width: 11rem;
  transition: transform 1s;
}

.p-footer-main__scroll a:hover img {
  transform: rotate(360deg);
}

/* ============================================
   フッターボトム
   ============================================ */

/* --- ボトムレイアウト --- */
.p-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5.0rem 0;
  border-bottom: 0.2rem solid var(--c-white);
  max-width: var(--l-content-width);
  margin: auto;
}

.p-footer-bottom__copy {
  font-size: 1.4rem;
  font-weight: 700;
}

.p-footer-bottom__sns img {
  width: 4.7rem;
}

/* ============================================
   レスポンシブ対応
   ============================================ */

@media screen and (max-width: 1099px) {

  .l-footer {
    width: 100%;
    padding: 6rem 0 0;
  }

  .p-footer-contact {
    flex-direction: column;
  }

  .p-footer-contact__item {
    width: 100%;
    margin-right: 0;
    margin-bottom: 1.5rem;
    padding: 2.0rem 1.0rem;
  }

  .p-footer-contact__icon {
    margin-bottom: 1.0rem;
    width: 4.0rem;
    height: 4.0rem;
  }

  .p-footer-contact__label {
    font-size: 1.6rem;
  }

  .p-footer-contact__val {
    font-size: 2.8rem;
  }

  .p-footer-main {
    flex-direction: column;
    gap: 2.0rem;
    padding-bottom: 3.0rem;
  }

  .p-footer-main__nav {
    gap: 2.0rem;
    align-items: flex-start;
  }

  .p-footer-main__list {
    gap: 1rem;
  }

  .p-footer-main__scroll {
    position: fixed;
    bottom: 8.0rem;
    right: 2.0rem;
    z-index: 9;
  }

  .p-footer-main__scroll a img {
    width: 5.0rem;
  }
}

/* ============================================
   Mobile Fixed Bottom Banner
   ============================================ */

/* PCでは非表示 */
.p-fixed-footer {
    display: none;
}

/* スマホ表示 (767px以下) */
@media screen and (max-width: 767px) {
    .p-fixed-footer {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9;
        background-color: #fff;
        box-shadow: 0 -0.2rem 1rem rgba(0,0,0,0.1); /* 上に影を落とす */
        padding-bottom: env(safe-area-inset-bottom);
    }

    .p-fixed-footer__inner {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    /* --- ボタン共通スタイル --- */
    .p-fixed-footer__item {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.8rem 0;
        text-decoration: none;
        box-sizing: border-box;
    }
	.p-fixed-footer__item.-phone {
        background-color: var(--c-bg-light1);
        color: var(--c-main-blue);
    }
	.p-fixed-footer__item.-email {
        background-color: var(--c-bg-light2);
        color: var(--c-main-purple);
    }
	.p-fixed-footer__item.-line {
        background-color: #F0FFE6;
        color: #5bc916;
    }

    /* --- アイコン画像 --- */
    .p-fixed-footer__icon {
        width: 2.2rem;
        margin-right: 0.4rem;
    }

    .p-fixed-footer__icon img {
        width: 100%;
        display: block;
    }

    /* --- テキスト --- */
    .p-fixed-footer__label {
        font-size: 1.25rem;
        font-weight: 700;
        line-height: 1;
        white-space: nowrap; /* 改行禁止 */
    }
}


/* ============================================
   共通コンポーネント
   ============================================ */

/* --- トップセクションタイトル --- */
.c-sec-title {
  text-align: center;
  margin-bottom: 4.0rem;
}

.c-sec-title__en {
  font-family: var(--f-display);
  /* Dela Gothic One */
  font-size: 12.0rem;
  line-height: 1.1;
  display: inline-block;
  background: var(--g-main);
  /* 定義済みの4色グラデーション */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.c-sec-title__ja {
  font-size: 2.8rem;
  font-weight: 700;
  font-style: italic;
  color: var(--c-text-main);
  letter-spacing: 0.1em;
  margin-top: -1.0rem;
  /* 英語との距離調整 */
}

@media screen and (max-width: 768px) {
  .c-sec-title__en {
    font-size: 6.0rem;
    /* スマホ用に調整 */
  }

  .c-sec-title__ja {
    font-size: 1.8rem;
  }
}

/* --- スライドボタン --- */
.c-slide-btn {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  width: 36.0rem;
  max-width: 100%;
  padding: 1.5rem 0 1.5rem 7rem;
  background-color: var(--c-white);
  font-weight: 700;
  border: 0.2rem solid;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.c-slide-btn--blue {
  color: var(--c-main-blue);
  border-color: var(--c-main-blue);
}

.c-slide-btn--violet {
  color: var(--c-main-violet);
  border-color: var(--c-main-violet);
}

.c-slide-btn--pink {
  color: var(--c-main-pink);
  border-color: var(--c-main-pink);
}

/* ホバー時の背景グラデーション */
.c-slide-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--g-main);
  z-index: -1;
  opacity: 0;
  transform: scaleX(0.5);
  transform-origin: left center;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

/* 特殊矢印：横棒「ー」の部分 */
.c-slide-btn__arrow {
  display: inline-block;
  width: 4.0rem;
  /* 横棒の長さ */
  height: 0.2rem;
  background-color: currentColor;
  margin-left: 2.0rem;
  position: absolute;
  right: 2rem;
  transition: transform 0.3s ease;
}

/* 特殊矢印：右下払い「＼」の部分 */
.c-slide-btn__arrow::after {
  content: "";
  position: absolute;
  right: -0.1rem;
  top: 0.1rem;
  width: 1.4rem;
  height: 0.2rem;
  background-color: currentColor;
  transform: rotate(45deg);
  transform-origin: top right;
}

.c-slide-btn:hover {
  color: var(--c-white);
  border-color: transparent;
  opacity: 1;
}

.c-slide-btn:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.c-slide-btn:hover .c-slide-btn__arrow {
  transform: translateX(0.8rem);
}

@media screen and (max-width: 768px) {
  .c-slide-btn {
    width: 100%;
  }
}

/* --- バナーリンク（Shineエフェクト付き） --- */
.c-banner-linkwrap {
  padding: 12.0rem 0;
}
.c-banner-link {
  display: block;
  margin: 0 auto;
  max-width: var(--l-content-width);
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.c-banner-link:hover {
  transform: translateY(-0.2rem);
}

.c-banner-link::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: -100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.7) 32%, rgba(255, 255, 255, 0.7) 78%, rgba(255, 255, 255, 0) 82%);
  animation: shine-loop 4s linear infinite;
  pointer-events: none;
  z-index: 10;
}

@keyframes shine-loop {
  0% {
    transform: translateX(0);
  }

  10% {
    transform: translateX(200%);
  }

  100% {
    transform: translateX(200%);
  }
}

@media screen and (max-width: 767px) {
  .c-banner-linkwrap {
    padding: 6.0rem 0;
  }
}

/* ==========================================================================
   Project - Sub FV (子ページ共通FV)
   ========================================================================== */

.p-sub-fv {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.p-sub-fv__inner {
  width: 100%;
  min-height: 60.0rem;
  position: relative;
}

.p-sub-fv__header {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  min-width: 44.0rem;
  padding: 2.5rem 4.5rem 0;
  background-color: var(--c-white);
  border-top-right-radius: 1.5rem;
}

.p-sub-fv__sub-title {
  position: relative;
  display: block;
  padding-left: 2.7rem;
  margin-bottom: 1.0rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
}

.p-sub-fv__sub-title::before {
  position: absolute;
  top: 50%;
  left: 0;
  display: inline-block;
  width: 2.1rem;
  height: 2.1rem;
  content: "";
  background-image: url("../images/icon_title.svg");
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateY(-50%);
}

.p-sub-fv__main-title {
  display: block;
  font-family: var(--f-display);
  font-size: 8.0rem;
  line-height: 1.1;
  letter-spacing: 0.03rem;
}

/* ==========================================================================
   Project - Breadcrumb (パンくずリスト)
   ========================================================================== */

.p-breadcrumb {
  padding: 4.5rem 4.5rem 0;
}

.p-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0 4.0rem;
}

.p-breadcrumb__item {
  position: relative;
  line-height: 1;
}

/* 2番目以降の要素の前に区切り線を表示 */
.p-breadcrumb__item:not(:first-child)::before {
  position: absolute;
  top: 50%;
  left: -2.9rem;
  display: block;
  width: 1.8rem;
  height: 0.2rem;
  content: "";
  background-color: var(--c-text-main);
}

.p-breadcrumb__link {
  display: flex;
  align-items: center;
  transition: opacity 0.3s;
}

.p-breadcrumb__link:hover {
  opacity: 0.7;
}

/* ==========================================================================
   Responsive - SP (768px未満)
   ========================================================================== */

@media screen and (max-width: 767px) {
  .p-sub-fv__inner {
    min-height: 65vh;
  }

  .p-sub-fv__header {
    min-width: 70%;
    padding: 2.0rem 1.5rem 0 2.0rem;
  }

  .p-sub-fv__sub-title {
    padding-left: 2.5rem;
    font-size: 1.4rem;
  }

  .p-sub-fv__sub-title::before {
    width: 1.8rem;
    height: 1.8rem;
  }

  .p-sub-fv__main-title {
    font-size: 3.7rem;
    letter-spacing: 0;
  }

  .p-breadcrumb {
    padding: 2.0rem 2.0rem 0;
  }

  .p-breadcrumb__list {
    gap: 0 3.0rem;
  }

  .p-breadcrumb__item:not(:first-child)::before {
    left: -2.1rem;
    width: 1.2rem;
  }
}

/* ============================================
   Component - Heading Primary (子ページ共通見出し)
   ============================================ */

.c-heading-primary {
  width: 100%;
  margin-bottom: 8.0rem;
}

.c-heading-primary__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.c-heading-primary__en {
  display: block;
  font-size: 6.0rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--c-text-main);
}

.c-heading-primary__jp {
  display: block;
  font-size: 2.0rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--c-text-main);
}


@media screen and (max-width: 767px) {
  .c-heading-primary {
    margin-bottom: 4.0rem;
  }

  .c-heading-primary__en {
    font-size: 3.2rem;
    margin-bottom: 1.0rem;
  }

  .c-heading-primary__jp {
    font-size: 1.9rem;
  }
}

/* ============================================
   Component - Heading Line (日本語のみ・左右横棒)
   ============================================ */
.c-heading-line {
  width: 100%;
  margin-bottom: 6.0rem;
  text-align: center;
}

.c-heading-line__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 3.0rem;
  /* 文字と線の間の余白 */
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.0;
  color: var(--c-text-main);
}

.c-heading-line__title::before,
.c-heading-line__title::after {
  content: "";
  display: block;
  width: 4.0rem;
  /* 棒の長さ */
  height: 0.2rem;
  /* 棒の太さ */
  background-color: var(--c-text-main);
}

@media screen and (max-width: 767px) {
  .c-heading-line {
    margin-bottom: 4.0rem;
  }

  .c-heading-line__title {
    font-size: 2.2rem;
    gap: 0 1.5rem;
  }

  .c-heading-line__title::before,
  .c-heading-line__title::after {
    width: 2.5rem;
  }
}

/* ============================================
   Component - License Flow (資格取得フロー)
   ============================================ */

.c-license-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.c-license-flow__image {
  max-width: 90.0rem;
  width: 100%;
}

.c-license-flow__step {
  width: 22.0rem;
  flex-shrink: 0;
}

.c-license-flow__step img {
  width: 100%;
  height: auto;
  display: block;
}

.c-license-flow__arrow {
  width: 4.5rem;
  margin: 0 1.5rem;
  flex-shrink: 0;
}

.c-license-flow__arrow img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Responsive - SP (License Flow)
   ============================================ */

@media screen and (max-width: 767px) {
  .c-license-flow {
    flex-direction: column;
    gap: 2.0rem 0;
  }

  .c-license-flow__step {
    width: 14.0rem;
  }

  .c-license-flow__arrow {
    width: 3.5rem;
    margin: 1.5rem 0;
  }

  /* 右向き矢印を下向きに回転 */
  .c-license-flow__arrow img {
    transform: rotate(90deg);
  }
}

/* ============================================
   Project - Blog List (構造維持版)
   ============================================ */

.p-blog {
  padding: 10.0rem 0;
  background-color: var(--c-white);
}

.p-blog__heading {
  margin-bottom: 6.0rem;
  text-align: center;
}

/* --- カテゴリーナビゲーション (ul.p-blog__nav) --- */
.p-blog__nav {
  display: grid;
  width: 100%;
  /* 元のCSS: margin: 0 auto 175px (PC) */
  margin: 0 auto 9.0rem;
}

@media screen and (min-width: 768px) {
  .p-blog__nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 3.4rem;
    max-width: 1100px;
  }
}

@media screen and (max-width: 767px) {
  .p-blog__nav {
    grid-template-columns: 1fr;
    gap: 1.0rem 0;
    margin-bottom: 6.0rem;
  }
}

.p-blog__nav li a {
  display: block;
  position: relative;
  width: 100%;
  padding: 1.5rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background-color: #118BCC;
  /* Default Blue */
  transition: opacity 0.3s ease;
}

.p-blog__nav li a:hover {
  opacity: 0.8;
}

/* 矢印アイコン */
.p-blog__nav li a::after {
  content: "";
  display: block;
  background-image: url("../images/button_bottom_white.png");
  /* パス要確認 */
  background-size: cover;
  width: 1.85rem;
  height: 1.05rem;
  position: absolute;
  top: 50%;
  right: 1.3rem;
  transform: translateY(-50%);
}

/* カテゴリー別色分け (class名はWPから出力されるスラッグ) */
.p-blog__nav li a.cat_news,
.p-blog__nav li a.news {
  background-color: #8904FC;
  /* Purple */
}

.p-blog__nav li a.cat_blog,
.p-blog__nav li a.blog {
  background-color: #F162F1;
  /* Pink */
}


/* --- 記事一覧 (div.p-blog__list) --- */
.p-blog__list {
  display: grid;
  gap: 3.0rem;
  margin: 0 auto 8.0rem;
  max-width: 1100px;
}

@media screen and (min-width: 768px) {
  .p-blog__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .p-blog__list {
    grid-template-columns: 1fr;
    gap: 4.0rem;
  }
}


/* --- 記事ボックス (div.p-blog__box) --- */
.p-blog__box {
  position: relative;
  width: 100%;
  background-color: #fff;
}

@media screen and (min-width: 768px) {
  .p-blog__box {
    height: 42.4rem;
    overflow: hidden;
  }
}

.p-blog__box a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* サムネイル (figure.p-blog__thumb) */
.p-blog__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.p-blog__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.p-blog__box a:hover .p-blog__thumb img {
  transform: scale(1.1);
}

/* 記事情報 (div.p-blog__info) */
.p-blog__info {
  padding: 1.5rem 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* カテゴリーラベル (p.p-blog__cat) */
.p-blog__cat {
  display: inline-block;
  padding: 0.8rem 2.4rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  background-color: #118BCC;
  margin-right: 1.0rem;
  line-height: 1;
  align-self: flex-start;
  /* flex内での配置調整 */
  margin-bottom: 1.0rem;
}

.p-blog__cat.cat_news,
.p-blog__cat.news {
  background-color: #8904FC;
}

.p-blog__cat.cat_blog,
.p-blog__cat.blog {
  background-color: #F162F1;
}

.p-blog__date {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-text-main);
  margin-bottom: 1.0rem;
}

.p-blog__title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
  /* 2行制限 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}


/* --- ページネーション (div.p-blog__pagination) --- */
.p-blog__pagination {
  text-align: center;
  margin: 6.0rem auto;
}

.p-blog__pagination ul.page-numbers {
  display: inline-block;
  padding: 0;
}

.p-blog__pagination ul.page-numbers li {
  display: inline-block;
  margin: 0 0.5rem;
}

.p-blog__pagination .page-numbers {
  padding: 1.0rem;
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--c-text-main);
}

.p-blog__pagination .page-numbers.current {
  color: #118BCC;
  font-size: 1.8rem;
}


/* ============================================
   Project - Blog Single (構造維持版)
   ============================================ */

.p-blog-single {
  padding: 10.0rem 0;
  background-color: var(--c-white);
}

/* ヘッダー情報 (div.p-blog-single__info) */
.p-blog-single__info {
  max-width: 90.0rem;
  margin: 0 auto 4.0rem;
}

.p-blog-single__cat {
  display: inline-block;
  padding: 0.8rem 2.4rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  background-color: #118BCC;
  margin-right: 1.0rem;
  margin-bottom: 1.5rem;
}

.p-blog-single__cat.cat_news {
  background-color: #8904FC;
}

.p-blog-single__cat.cat_blog {
  background-color: #F162F1;
}

.p-blog-single__date {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.p-blog-single__title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.4;
}

/* 詳細コンテンツ (div.p-blog-single__detail) */
.p-blog-single__detail {
  max-width: 90.0rem;
  margin: 0 auto 6.0rem;
  border-bottom: 0.2rem solid #1f1f1f;
  padding-bottom: 6.0rem;
}

.p-blog-single__thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 4.0rem;
  overflow: hidden;
}

.p-blog-single__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-blog-single__content {
  font-size: 1.6rem;
  line-height: 1.8;
  color: var(--c-text-main);
}

.p-blog-single__content p {
  margin-bottom: 2.0rem;
}

.p-blog-single__content h2 {
  font-size: 2.4rem;
  margin: 4.0rem 0 2.0rem;
  font-weight: 700;
}

.p-blog-single__content img {
  max-width: 100%;
  height: auto;
}


/* --- 記事ナビゲーション (div.p-blog-single__nav) --- */
.p-blog-single__nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  max-width: 90.0rem;
  margin: 0 auto 8.0rem;
  gap: 2.0rem;
}

@media screen and (max-width: 767px) {
  .p-blog-single__nav {
    grid-template-columns: 0.6fr 1fr 0.6fr;
    gap: 1.0rem;
  }
}

.p-blog-single__prev {
  text-align: left;
}

.p-blog-single__next {
  text-align: right;
}

.p-blog-single__back {
  text-align: center;
}

.p-blog-single__nav-link {
  font-size: 1.4rem;
  font-weight: 700;
  color: #5040FB;
  text-decoration: none;
}

/* 共通CTA */
.p-blog__cta {
  text-align: center;
  margin-top: 6.0rem;
}

.p-blog__cta img {
  max-width: 100%;
  height: auto;
}


@media screen and (min-width: 768px) {
  .u-sp-only {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .u-pc-only {
    display: none;
  }
}