@media print, screen and (min-width: 768px) {
  .SP { display: none; }

  .sec_title {
    font-size: 50px;
    margin: 0 0 50px 0 ;
  }

}
@media print, screen and (max-width: 767px) {
  .PC { display: none; }

  .sec_title {
    font-size: 34px;
    margin: 0 0 50px 0 ;
  }

}

/* ==========================================================================
BLOCK 01: ファーストビュー
========================================================================== */

/* --- セクション全体のレイアウト --- */
#sec01 {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background-color: #000;
}

/* 動画レイヤー */
#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* 動画を暗くするためのオーバーレイ層 */
#sec01::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.8s ease-in;
  z-index: 1;
  pointer-events: none;
}

/* コンテンツ枠 */
#sec01 .base_frame {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.8s ease-in;
}

/* JavaScriptで付与されたクラスに対する表示制御 */
#sec01.is-visible::after {
  opacity: 1;
}

#sec01.is-visible .base_frame {
  opacity: 1;
}

/* --- コンテンツ内デザイン --- */
#sec01 .align_center {
  text-align: center;
}

#sec01 .catch_copy_large img {
  max-width: 100%;
  height: auto;
  width: 900px;
}

#sec01 .CoverMds {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 20px 0 40px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

#sec01 .CoverSubMds {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 767px) {
  #sec01 .catch_copy_large img { width: 90%; }
  #sec01 .CoverMds { font-size: 2.4rem; }
  #sec01 .CoverSubMds { font-size: 1.8rem; }
}

/* ==========================================================================
BLOCK 02: 事業内容
========================================================================== */
#sec02 {
  background-color: #fff;
  padding: 80px 0; /* 上下の余白で高さを確保 */
  box-sizing: border-box;
}

/* --- コンテンツのインナー枠 --- */
#sec02 .base_frame {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* --- メニューコンテナ --- */
.menu-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}
/* --- 各アイテム（メニュー）の基本スタイル --- */
.menu-item {
    display: flex;
    align-items: center;
    padding: 20px;
    margin: 15px 0 0 0;
    background-color: #fff;
    border: 1px solid #333;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    box-sizing: border-box;
}
/* --- 数字部分 --- */
.number {
    font-size: 48px;
    font-style: italic;
    color: #803300;
    margin-right: 15px;
    line-height: 1;
    font-weight: 500;
}
/* --- テキスト部分 --- */
.text {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.02em;
}
/* --- 💡 PC用の2列並び替え設定（ブレイクポイント: 768px以上） --- */
@media all and (min-width: 768px) {
    .menu-container {
        max-width: 960px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 16px;
    }
    .menu-item {
        flex: 0 0 calc(50% - 8px);
        margin: 0;
    }
}
/* --- 📱 スマホ環境（767px以下）での設定 --- */
@media screen and (max-width: 767px) {
    #sec02.primary {
        padding: 60px 0;
    }
    .menu-item {
        padding: 18px 20px;
    }
    .number {
        font-size: 36px;
    }
    .text {
        font-size: 16px;
    }
}
/* --- ホバーアクション --- */
@media (hover: hover) {
    .menu-item:hover {
        transform: translateX(3px);
        box-shadow: 3px 3px 0px #803300;
        border-color: #803300;
    }
}


/* ==========================================================================
BLOCK 03: 企業理念
========================================================================== */
#sec03 {
  background-color: #f7f7f7;
  padding: 80px 0; /* 上下の余白で高さを確保 */
  box-sizing: border-box;
}

/* --- コンテンツのインナー枠 --- */
#sec03 .base_frame {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* --- CSRコンテンツコンテナ --- */
.csr-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.philosophy-content {
  text-align: center;
}

.philosophy-mds {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.philosophy-text {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

/* --- 📱 スマホ環境（767px以下）での設定 --- */
@media screen and (max-width: 767px) {
  #sec03 {
    padding: 60px 0;
  }
  .philosophy-mds {
    font-size: 2.6rem;
  }
  .philosophy-text {
    font-size: 1.8rem;
    line-height: 2;
  }
}




/* ==========================================================================
BLOCK 04: 社会的責任 (CSR)
========================================================================== */
#sec04 {
  background-color: #fff;
  padding: 80px 0; /* 上下の余白で高さを確保 */
  box-sizing: border-box;
}

/* --- コンテンツのインナー枠 --- */
#sec04 .base_frame {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* --- CSRコンテンツコンテナ --- */
.csr-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px auto;
}
.csr-content {
  text-align: center;
}
/* CSRテキスト */
.csr-text {
  font-size: 2rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.08em;
}
/* --- 📱 スマホ環境（767px以下）での設定 --- */
@media screen and (max-width: 767px) {
  #sec04 {
    padding: 60px 0;
  }
}


/* ==========================================================================
BLOCK 05: 私たちの強み (Our Edge)
========================================================================== */
#sec05 {
  background-color: #f7f7f7;
  padding: 80px 0; /* 上下の余白で高さを確保 */
  box-sizing: border-box;
}

/* --- コンテンツのインナー枠 --- */
#sec05 .base_frame {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* --- 3列カードコンテナ --- */
.sec05-container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
}
/* --- 各カードのデザイン --- */
.sec05-card {
  flex: 1;
  background-color: #fff;
  padding: 16px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
/* 画像ラッパー */
.sec05-img-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #000;
}
.sec05-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* テキストラッパー */
.sec05-txt-wrapper {
  padding: 20px 5px 0 5px;
  box-sizing: border-box;
}
/* 説明テキスト */
.sec05-text {
  font-size: 1.6rem;
  line-height: 1.8;
  margin: 0;
}
.sec05-text span {
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.08em;
  display: block;
}
/* --- 📱 スマホ環境（767px以下）での設定 --- */
@media screen and (max-width: 767px) {
  #sec05 {
    padding: 60px 0;
  }
  .sec05-container {
    flex-direction: column;
    gap: 30px;
    max-width: 480px;
    margin: 0 auto;
  }
  .sec05-card {
    width: 100%;
  }
}


/* ==========================================================================
BLOCK 06: 会社概要
========================================================================== */
#sec06 {
  background-color: #fff;
  padding: 80px 0; /* 上下の余白で高さを確保 */
  box-sizing: border-box;
}

/* --- コンテンツのインナー枠 --- */
#sec06 .base_frame {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

#sec06 .google_map {
  padding: 3vw 0 0 0;
  text-align: center;
}
#sec06 .google_map iframe {
  width: 100%;
}
/* --- 📱 スマホ環境（767px以下）での設定 --- */
@media screen and (max-width: 767px) {
  #sec06 {
    padding: 60px 0;
  }
}


/* ==========================================================================
BLOCK 07: お問い合わせ
========================================================================== */
#sec07 {
  background-color: #f7f7f7;
  padding: 80px 0; /* 上下の余白で高さを確保 */
  box-sizing: border-box;
}

/* --- コンテンツのインナー枠 --- */
#sec07 .base_frame {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* --- 📱 スマホ環境（767px以下）での設定 --- */
@media screen and (max-width: 767px) {
  #sec07 {
    padding: 60px 0;
  }
}

/* ==========================================================================
BLOCK 08: お問い合わせ
========================================================================== */
#sec08 {
  background-color: #fff;
  padding: 80px 0; /* 上下の余白で高さを確保 */
  box-sizing: border-box;
}

/* --- コンテンツのインナー枠 --- */
#sec08 .base_frame {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* --- 📱 スマホ環境（767px以下）での設定 --- */
@media screen and (max-width: 767px) {
  #sec08 {
    padding: 60px 0;
  }
}



/* ==========================================================================
   モーダルウインドウ
   ========================================================================== */

/* --- モーダル背景（オーバーレイ） --- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 100000 !important;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  padding: 20px 0;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.4s ease; /* 💡 フワッと感を出すため0.3sから0.4sに微調整 */
}

.modal-overlay.is-active {
  display: flex !important;
  opacity: 1 !important;
}

/* --- モーダル白枠の中身 --- */
.modal-content {
  background: #fff;
  width: 90%;
  max-width: 700px;
  padding: 60px 40px 40px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  /* 💡 下の @keyframes modalFadeIn と連動して、滑らかに浮かび上がります */
  animation: modalFadeIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  margin: 0 10px;
}

/* --- モーダル内のテキスト --- */
.modal-content-text {
  font-size: 16px;
  line-height: 1.8;
  margin: 25px 0 0 0;
}

.modal-content-text span {
  font-size: 18px;
  font-weight: bold;
}

/* --- テキストマーカー --- */
.mds-marker {
  font-weight: normal !important;
  background: linear-gradient(transparent 60%, #f5dde5 60%);
}

/* --- 閉じるボタン（×） --- */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 35px;
  font-weight: 300;
  line-height: 1;
  color: #333;
  cursor: pointer;
  z-index: 10;
}

/* --- ヘッダーの下線デザイン --- */
.modal-header {
  display: flex;
  align-items: baseline;
  margin-bottom: 30px;
  border-bottom: 1.5px solid #803300;
  padding-bottom: 10px;
}

.modal-num {
  font-family: "Georgia", serif;
  font-size: 32px;
  font-style: italic;
  color: #803300;
  margin-right: 15px;
}

/* --- モーダル内の前後ナビゲーション矢印 --- */
.modal-navigation {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 45px;
}

.nav-btn {
  /* 🧱 ボタン特有のスタイルを完全に消去 */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  outline: none;

  /* 🎨 背景は常に「透明」を強制 */
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;

  /* 📐 既存のデザイン（文字色・フォント）を維持 */
  padding: 0 10px;
  font-family: "Georgia", serif;
  font-size: 54px;
  font-weight: 100;
  color: #803300 !important; /* 💡 矢印の色（茶色）を最優先で固定 */
  cursor: pointer;
  line-height: 1;
  user-select: none;

  /* 💡 滑らかなアニメーション用の設定（不透明度のみに限定） */
  transition: opacity 0.2s ease;

  /* スマホのハイライト対策 */
  -webkit-tap-highlight-color: transparent !important;
}

/* ==========================================================================
   💡【最重要】ホバー時・クリック時も「白化」させず、矢印を絶対残す設定
   ========================================================================== */

/* 1. マウスホバー時：背景は透明なまま、矢印（茶色）を少しだけ薄くして「押せる感」を出す */
@media (hover: hover) {
  .nav-btn:hover {
    background: transparent !important;
    background-color: transparent !important;
    color: #803300 !important; /* 💡 文字色は茶色のままキープ */
    opacity: 0.6;              /* 💡 ほんのり薄く（シースルーに）する */
    transform: none !important; /* もし勝手に動く設定があればストップ */
  }
}

/* 2. スマホでタップした瞬間 / クリックした瞬間 */
.nav-btn:active,
.nav-btn:focus {
  background: transparent !important;
  background-color: transparent !important;
  color: #803300 !important; /* 💡 タップした瞬間も茶色をキープ */
  opacity: 0.4;              /* 💡 クリック中はさらに少し薄くする */
  outline: none;
  box-shadow: none !important;
}

/* モーダル用 レスポンシブ対応 */
@media (max-width: 767px) {
  .modal-content {
    padding: 50px 25px 25px 25px;
  }
}

@media (max-width: 480px) {
  .modal-navigation {
    margin-top: 30px;
    gap: 40px;
  }
  .nav-btn {
    font-size: 42px;
  }
}

/* ==========================================================================
   【新規追加】モーダルがフワッと浮かび上がるアニメーション
   ========================================================================== */
@keyframes modalFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translateY(0);    /* 💡 本体の位置に戻りながら不透明度を1にする */
  }
}






@media all and (min-width: 768px) {

  /*==================== desktop トランジション ====================*/

  ._slideInLeft {
    transition: left .6s ease-out;
  }

  ._fadeInSlowDelayShort {
    transition: opacity .4s ease-out .6s;
  }


  /*==================== desktop スクリーンの基礎構造 ====================*/

  html {
    font-size: 62.5%; /* 10px */
  }

  body {
    margin: 0;
    padding: 0;
  }

  div.full_screen {
  }

  div.screen_header {
    position: fixed;
    z-index: 101;
    top: 0;
    left: 20px;
    width: 15em;
    height: 80px;
    margin: 0;
  }

  .site_name {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    line-height: 23px;
  }

  .site_name img {
    width: 200px;
    height: auto;
    vertical-align: bottom;
  }

  #main_menu_toggle,
  .main_menu_toggle_button,
  label[for="main_menu_toggle"],
  .backwords_main_container {
    display: none;
  }

  .main_menu_container {
    box-sizing: border-box;
    display: flex;
    box-sizing: border-box;
    justify-content: flex-end;
    align-items: center;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0 10px 0 17em;
    background: #fff;
  }

  .main_container {
    padding-top: 80px;
  }

  h2.global_menu_title {
    display: none;
    font-size: 1.6rem;
    margin: 0;
    padding: 10px;
  }

  ul.global_menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  ul.global_menu li {
    margin: 4px 10px 4px 0;
    line-height: 1.25;
  }

  ul.global_menu li:last-child {
    margin-left: 10px;
  }

  ul.global_menu a {
    display: block;
    white-space: nowrap;
    padding: 0 10px;
  }

  ul.global_menu a.button {
    border-radius: 20px;
    padding: 5px 20px;
    background: #d63a90;
    color: #fff;
  }

  ul.global_menu a.button:hover {
    background: #dd5aa2;
  }

  .screen_footer {
    padding: 10px 20px;
    text-align: center;
    background: #4d4d4d;
    color: #fff;
  }

  .screen_footer * {
    font-size: 1.2rem;
  }

  .screen_footer > *:first-child {
    margin-top: 0;
  }

  .screen_footer > *:last-child {
    margin-bottom: 0;
  }


  /*==================== desktop セクションの基礎構造・レイアウトパーツ ====================*/

  /* section.primary {
    background: #f7f7f7;
  } */

  /* section.primary > div.base_frame {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    max-width: 1280px;
    min-height: calc(100vh - 110px);
    margin: 0 auto;
    padding: 50px 0;
  } */

  .text_box {
    width: 720px;
    margin: 0 auto;
  }

  .text_box.add_wide_little_more {
    width: 680px;
  }

  .text_box.column_wrapper {
    width: 760px;
  }

  .column_1_1 {
    display: flex;
    justify-content: space-between;
  }

  .column_1_1 > .col {
    flex-basis: 50%;
  }

  .column_1_1 > .col > .inner {
    padding: 0 20px;
  }

  .column_1_1 > .col > .inner > *:first-child {
    margin-top: 0;
  }

  .column_1_1 > .col > .inner > *:last-child {
    margin-bottom: 0;
  }

  dl.column_left_fix20 {
    display: flex;
    list-style: none;
    padding: 0;
  }

  dl.column_left_fix20 > dt {
    flex-basis: 20%;
    margin-left: 0;
  }

  dl.column_left_fix20 > dd {
    flex-basis: 80%;
    margin-left: 0;
  }

  dl._column_left_fix25 {
    display: flex;
    list-style: none;
    padding: 0;
  }

  dl._column_left_fix25 > dt {
    flex-basis: 25%;
    margin-left: 0;
  }

  dl._column_left_fix25 > dd {
    flex-basis: 75%;
    margin-left: 0;
  }

  br.__ {
    display: none;
  }

  dl.separator {
    border-bottom: solid 1px #d8d8d8;
    padding-bottom: 1.75em;
  }

  dl.separator:first-child {
    border-top: solid 1px #d8d8d8;
    padding-top: 1.75em;
  }

  dt.key {
    color: #8e8e8e;
  }

  dt.key + dd {
    font-family: sans-serif;
  }


/* ===================================================
   💡 パララックス共通スタイル（これだけでOK）
=================================================== */
.parallax-section {
  position: relative;
  overflow: hidden; /* 画像のはみ出しを絶対に防ぐ */
  z-index: 1;
}

.parallax-section .parallax-bg {
  position: absolute;
  top: -20%;       /* 上下の動きの「遊び」として上にズラす */
  left: 0;
  width: 100%;
  height: 140%;    /* ブロックより少し高めに作る */
  z-index: -1;     /* コンテンツの後ろに配置 */
  will-change: transform; /* スクロールを滑らかにするブラウザ最適化 */
}

.parallax-section .base_frame {
  position: relative;
  z-index: 2; /* 文字やコンテンツが背景に埋もれないようにする */
}



/* ===================================================
   💡 セクションごとの背景画像指定
=================================================== */


  #schema_diagram_1 {
    position: relative;
    margin-top: 50px;
    width: 600px;
    height: 700px;
  }

  #schema_diagram_1 > h3:first-child {
    position: absolute;
    z-index: 2;
    top: 300px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    text-align: center;
    line-height: 1.25;
  }

  #schema_diagram_1 > h3:first-child strong {
    display: block;
    font-size: 180%;
    letter-spacing: -0.05em;
    color: #004177;
  }

  #consulting {
    list-style: none;
    padding: 0;
  }

  #consulting > li {
    position: absolute;
    z-index: 2;
    width: 352px;
    height: 197px;
    margin: 0;
    padding: 0;
  }

  #consulting .service1 {
    top : 230px;
    left: -210px;
    background: url(/assets/images/service1.png) left top / contain no-repeat;
  }

  #consulting .service2 {
    top : 0px;
    left: -110px;
    background: url(/assets/images/service2.png) left top / contain no-repeat;
  }

  #consulting .service3 {
    top : 0px;
    right: 10px;
    background: url(/assets/images/service3.png) left top / contain no-repeat;
  }

  #consulting .service4 {
    top : 460px;
    left: 50px;
    background: url(/assets/images/service4.png) left top / contain no-repeat;
  }

  #consulting .service5 {
    top : 460px;
    right: -150px;
    background: url(/assets/images/service5.png) left top / contain no-repeat;
  }

  #consulting .service6 {
    top : 230px;
    right: -180px;
    background: url(/assets/images/service6.png) left top / contain no-repeat;
  }

  #sec08 {
    background: #fff;
  }

  #sec08 > div.base_frame {
    min-height: auto;
  }

}



@media all and (max-width: 767px) {

  /*==================== mobile トランジション ====================*/

  .__slideInLeft {
    transition: left .6s ease-out;
  }

  .__fadeInSlowDelayShort {
    transition: opacity .4s ease-out .6s;
  }


  /*==================== mobile スクリーンの基礎構造 ====================*/

  html {
    width: 100%;
    height: 100%;
    font-size: 2.2vw; /* 10px */
  }

  body {
    margin: 0;
    padding: 60px 0 0 0;
  }

  div.full_screen {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .screen_footer {
    padding: 10px 20px;
    text-align: center;
    background: #4d4d4d;
    color: #fff;
  }

  .screen_footer * {
    font-size: 1.4rem;
  }

  .screen_footer > *:first-child {
    margin-top: 0;
  }

  .screen_footer > *:last-child {
    margin-bottom: 0;
  }


  /*==================== mobile スティッキーヘッダ ====================*/

  div.screen_header {
    position: fixed;
    z-index: 3;
    left: 0;
    top: 0;
    width: 100%;
    height: 60px;
    box-sizing: border-box;
    padding: 30px 0 0 20px;
    background: #fff;
  }

  div.screen_header h1.site_name {
    transform: translateY(-50%);
    line-height: 1;
  }

  div.screen_header h1.site_name img {
    width: 50vw;
    height: auto;
  }


  /*==================== mobile メインメニュー ====================*/

  /* チェックボックスが開閉のトリガー */
  input[type="checkbox"]#main_menu_toggle {
    visibility: hidden;
  }

.main_menu_container {
    box-sizing: border-box;
    position: fixed;
    z-index: 10000; /* 💡 確実に一番上に表示されるように数値をアップ */
    top: 0;
    left: 100%;
    height: 100%;
    width: 100vw;  /* 💡 75vw から 100vw（100%）に変更 */

    /* 💡 中のメニュー文字を画面の真ん中に集める設定を追加 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 50px 15px 15px 15px;
    background: #fff;
    transition: left 0.4s ease-out; /* 💡 なめらかに開くように追加 */
  }

  input[type="checkbox"]#main_menu_toggle:checked + .main_menu_container {
    left: 0 !important; /* 💡 25vw から 0 に変更して隙間をなくす */
  }


  /* mobile メインメニュー開くボタン */

  .main_menu_toggle_button {
    position: fixed;
    z-index: 1001;
    top: 16px;
    right: 15px;
    width: 30px;
    height: 30px;
    opacity: 1;
    text-align: right;
  }

  .main_menu_toggle_button label {
    display: inline-block;
    position: relative;
    width: 30px;
    height: 24px;
    cursor: pointer;
  }

  .main_menu_toggle_button label::before,
  .main_menu_toggle_button label::after,
  .main_menu_toggle_button label span {
      display: inline-block;
    overflow: hidden;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      position: absolute;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: #000;
  }

  .main_menu_toggle_button label::before {
    content: "";
    top: 3px;
  }

  .main_menu_toggle_button label::after {
    content: "";
    bottom: 3px;
  }

  .main_menu_toggle_button label span {
    top: 50%;
    transform: translateY(-50%);
  }


  /* mobile メインメニュー閉じるボタン（開くボタンを継承） */

  .main_menu_container .main_menu_toggle_button {
    position: absolute;
    top: 16px;    /* 💡 元のボタン（16px）と高さを合わせる */
    right: 15px;  /* 💡 left: 15px; だったのを right: 15px; に変更 */
    left: auto;   /* 💡 左側の固定を解除する */
  }

  .main_menu_container .main_menu_toggle_button label {
    position: relative;
    cursor: pointer;
  }

  .main_menu_container .main_menu_toggle_button label::before {
      -ms-transform: translateY(8px) rotate(-45deg);
      -webkit-transform: translateY(8px) rotate(-45deg);
      transform: translateY(8px) rotate(-45deg);
  }

  .main_menu_container .main_menu_toggle_button label::after {
      -ms-transform: translateY(-8px) rotate(45deg);
      -webkit-transform: translateY(-8px) rotate(45deg);
      transform: translateY(-8px) rotate(45deg);
  }

  .main_menu_container .main_menu_toggle_button label span {
      opacity: 0;
  }

  input[type="checkbox"]#main_menu_toggle {
    position: fixed;
    z-index: 2;
    top: 0;
    left: 0;
  }

  input[type="checkbox"]#main_menu_toggle:checked + .main_menu_container + .main_menu_toggle_button {
    opacity: 0;
  }


  /* mobile メインメニューが開いている時の背景領域 */

  label.backwords_main_container {
    display: block;
    position: fixed;
    z-index: 0;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    background-color: #000;
    opacity: 0;
    transition: opacity .6s ease-out 0s;
  }

  input[type="checkbox"]#main_menu_toggle:checked + .main_menu_container + .main_menu_toggle_button + label.backwords_main_container {
    z-index: 9999;
    width: 100%;
    height: 100%;
    opacity: .5;
  }


  /* mobile メインメニュー内部 */

  h2.global_menu_title {
    display: none;
    font-size: 1.6rem;
    margin: 0;
    padding: 10px;
  }

  ul.global_menu {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 2rem;
  }

  ul.global_menu li {
    margin: 0 0 10px 0;
    text-align: center;
  }

  ul.global_menu a {
    display: block;
    padding: 10px;
  }

  ul.global_menu a.button {
    display: inline-block;
    border-radius: 20px;
    margin: 10px 0;
    padding: 5px 20px;
    background: #d63a90;
    color: #fff;
  }

  ul.global_menu a.button:hover {
    background: #dd5aa2;
  }


  /*==================== desktop セクションの基礎構造・レイアウトパーツ ====================*/

  /* section.primary {
    background: #f7f7f7;
    border-bottom: 1px solid #ccc;
  } */

  /* section.primary > div.base_frame {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    min-height: 50vh;
    margin: 0 auto;
    padding: 10vw 0;
  } */

  /* .text_box {
    padding: 0 3vw;
  } */

  /* .text_box.add_wide_little_more {
    padding: 0 10vw;
  } */

  .text_box.column_wrapper {
  }

  .column_1_1 {
  }

  .column_1_1 > .col {
  }

  .column_1_1 > .col > .inner {
  }

  .column_1_1 > .col > .inner > *:first-child {
  }

  .column_1_1 > .col > .inner > *:last-child {
  }

  dl.column_left_fix20 {
    display: flex;
    list-style: none;
    padding: 0;
  }

  dl.column_left_fix20 > dt {
    flex-basis: 20vw;
    margin-left: 0;
  }

  dl.column_left_fix20 > dd {
    flex-basis: auto;
    margin-left: 0;
  }

  dl._column_left_fix25 {
  }

  dl._column_left_fix25 > dt {
  }

  dl._column_left_fix25 > dd {
    margin-left: 0;
  }

  dl.separator {
    border-bottom: solid 1px #d8d8d8;
    padding-bottom: 1.75em;
  }

  dl.separator:first-child {
    border-top: solid 1px #d8d8d8;
    padding-top: 1.75em;
  }

  dt.key {
    color: #8e8e8e;
  }

  /*==================== desktop 個別設定 ====================*/

  #schema_diagram_1 {
    position: relative;
    margin-top: 5em;
    height: 480px;
  }

  #schema_diagram_1 > h3:first-child {
    position: absolute;
    z-index: 2;
    top: -3em;
    right: 0px;
    white-space: nowrap;
    text-align: center;
    line-height: 1.25;
    font-size: 1.5rem;
  }

  #schema_diagram_1 > h3:first-child strong {
    display: block;
    font-size: 180%;
    letter-spacing: -0.05em;
    color: #004177;
  }

  #consulting {
    list-style: none;
    padding: 0;
  }

  #consulting > li {
    position: absolute;
    z-index: 2;
    width: 56vw;
    height: 31vw;
    margin: 0;
    padding: 0;
  }

  #consulting .service1 {
    z-index: 3;
    top : 0;
    left: -13vw;
    background: url(/assets/images/service1.png) left top / contain no-repeat;
  }

  #consulting .service2 {
    z-index: 3;
    top : 138px;
    left: -13vw;
    background: url(/assets/images/service2.png) left top / contain no-repeat;
  }

  #consulting .service3 {
    z-index: 3;
    top : 276px;
    left: -13vw;
    background: url(/assets/images/service3.png) left top / contain no-repeat;
  }

  #consulting .service4 {
    top : 79px;
    right: -8vw;
    background: url(/assets/images/service4.png) left top / contain no-repeat;
  }

  #consulting .service5 {
    top : 217px;
    right: -8vw;
    background: url(/assets/images/service5.png) left top / contain no-repeat;
  }

  #consulting .service6 {
    top : 355px;
    right: -8vw;
    background: url(/assets/images/service6.png) left top / contain no-repeat;
  }

}


/* ==========================================================================
BLOCK 08: フッター
========================================================================== */

  #sec08 {
    background: #fff;
  }

  #sec08 > div.base_frame {
    min-height: auto;
  }