:root{
	--hb-top:5px;
	/* --vk-mobile-nav-menu-btn-bg-src: url(ハンバーガー_オープンURL); */
	--vk-mobile-nav-menu-btn-close-bg-src: url(https://miduno.r-innovation.jp/7o0pr/wp-content/uploads/02-2_hb_btn_close.svg);
	--ver_page_top_button_url: url(https://miduno.r-innovation.jp/7o0pr/wp-content/uploads/03_top_return_btn.svg); 
}


/**■■■■■■■■■■■■■■■■■■■■■■■■■
* 基本
■■■■■■■■■■■■■■■■■■■■■■■■■**/
.wp-block-vk-blocks-outer.vk_outer {
	border:none; /* アウターブロックborder削除 */
}

#breadcrumb{
/* 	display:none; */
}
.page-header{
/* 	display:none; */
}




/* ロゴサイズ設定 */
.site-header-logo img{
	height:50px;	
}
@media (max-width:991px){
	.site-header-logo img{
		height:35px;	
	}	
}

/* モバイル固定ナビ色設定 */
.mobile-fix-nav{
	background-color: var(--AKcolor1) !important;
}
.mobile-fix-nav-menu{
	background-color:var(--MC0);
	opacity: 1!important;
}
.mobile-fix-nav-top{
	border-top:0px;
	border-bottom:0px;
}
.mobile-fix-nav .mobile-fix-nav-menu li a{
	line-height: 1.2rem;
}


/* フッター余白 */
.site-footer-copyright{
	margin-bottom:100px;
}



/**■■■■■■■■■■■■■■■■■■■■■■■■■
* ハンバーガーメニュー　カスタマイズCSS
■■■■■■■■■■■■■■■■■■■■■■■■■**/

.vk-mobile-nav-menu-btn{
	/*width: 46px;*/
	/*height:46px;*/
	background-size:contain;
	border:0px;
	background-color:#00000000;
}
.vk-mobile-nav-menu-btn.menu-open{
	/*width: 46px;*/
	/*height:46px;*/
	background-size:contain;
	border:0px;
	background-color:var( --AKcolor1 );
}


/**■■■■■■■■■■■■■■■■■■■■■■■■■
* トップへ戻るボタン　カスタマイズCSS
■■■■■■■■■■■■■■■■■■■■■■■■■**/
#page_top.page_top_btn{
	border:0;
	border-radius:100px;
	box-shadow: 0 3px 9px #00000057;
	z-index: 999;
    width: 40px;
    height: 40px;
	bottom:90px;
	background-color:var(--AKcolor1);
}



/**■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
* ↓↓作業用↓↓
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■**/

/**■■■■■■■■■■■■■■■■■■■■■■■■■
* トップページ　セカンドビュー
■■■■■■■■■■■■■■■■■■■■■■■■■**/

/* 背景・画像・文字の基本スタイル */
.tu-unit01 {
    height: 750px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* 疑似要素で背景を生成 */
.tu-unit01::before, .tu-unit01::after {
    content: "";
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-150%, -50%) rotate(0deg);
    transition: transform .4s ease;
    pointer-events: none;
}

.tu-unit01::before {
  width: 137vw;
  height: 44vh;
  background-color: var(--AKcolor2); /* 黒背景 */
  transform-origin: bottom center;
  z-index: 1;
  transition: transform .3s ease-out;
}

.tu-unit01::after {
  width: 140vw;
  height: 44vh;
  background-color: var(--AKcolor1); /* 赤背景 */
  transform-origin: center center;
  z-index: 2;
}

/* 水平イン完了 */
.tu-unit01.is-in::before {
  transform: translate(-50%, -50%) rotate(0deg);
}
.tu-unit01.is-in::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* 回転 */
.tu-unit01.is-animate::before {
  transform: translate(-50%, -50%) rotate(1deg);
  transition: transform 0.3s ease-out, height 0.2s ease-in-out;
}
.tu-unit01.is-animate::after {
  transform: translate(-50%, -50%) rotate(-7deg);
  transition: transform 0.4s ease-in-out;
}

/* 黒の高さを縮める（赤の下なので見えない） */
.tu-unit01.is-animate::before {
    height: 30vh; /* 最終の黒の高さ */
}

.tu-unit01__content {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    height: 480px;
    z-index: 3;
    top: 17%;
    width: 100vw;
    justify-content: center;
    margin-bottom: 1rem;
}

/* スライダー */
.__ak-slider_wrap {
    height: -webkit-fill-available;
    overflow: hidden;
    z-index: 3;
    flex: 1;
    max-width: 50%;
}

.__ak-slider {
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 1s ease;
}

.__ak-slider.is-visible {
  opacity: 1;
}

.__ak-slick-img img {
    width: 100%;
    object-fit: cover;
}

@keyframes __ak-zoomUp {
  0% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.__ak-add-animation {
  animation: __ak-zoomUp 11s linear 0s normal both;
}

/* 文字 */
.tu-unit01__text {
    flex: 1;
    max-width: 33rem;
    margin-left: 7rem;
    margin-top: -3rem;
}

.p-mv__copy {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 8px 0;
    color: #fff;
    text-align: start;
    overflow: hidden;
    --char-stagger: 50ms;
    --second-line-offset: 800ms;
}

.p-mv__copy_sub {
    font-size: 25px;
    color: #ffffff29;
	font-weight: 500;
}

.p-mv__copy .line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  margin-bottom: 0.2em;
}

.p-mv__copy .line .char {
  display: inline-block;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.6s ease;
}

.p-mv__copy.is-show .line.first .char {
  transform: translateX(0);
  opacity: 1;
}

.p-mv__copy.is-show .line.second .char {
  transition-delay: calc(var(--second-line-offset) + var(--char-index) * var(--char-stagger));
  transform: translateX(0);
  opacity: 1;
}

/* タブレット以下 */
@media (max-width: 1024px) {

  }

/* スマホ以下 */
@media (max-width: 780px) {
.tu-unit01__layer{
     height: 22rem;
    top: 52%;
}

.tu-unit01__base{
    height: 22rem;
    top: 52%;
}

.tu-unit01__layer.is-animate{
    transform: translate(-50%, -50%) rotate(-11deg); 
}

.tu-unit01__base.is-animate{
    transform: translate(-50%, -50%) rotate(
4deg);
}

  .__ak-slider_wrap {
    width: 100vw;
    height: 231px;
}

.p-mv__copy {
    font-size: 29px;
    line-height: 1;
    left: 36%;
    top: 60%;
}
  }

/**■■■■■■■■■■■■■■■■■■■■■■■■■
* 各ページ　タイトル
■■■■■■■■■■■■■■■■■■■■■■■■■**/

.MIDUNO-pghead-wrap{
    position: relative;
    margin-top: 5rem;
}

.MIDUNO-pgtitle-wrap{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 70%;
    padding-left: 6rem;
    position: absolute;
    top: 0%;
    z-index: 3;
}

.MIDUNO-pgtitle{
    font-size: 3.9rem;
    margin-bottom: -8px;
    color: #910000;
    font-style: italic;
	
	  /* 下から上へアニメーション用 */
  transform: translateY(80%); /* 初期: 少し下にずらす */
	opacity: 0;

 	animation: slideUp 0.5s ease-in-out forwards;
	animation-delay: 0.4s;
}

/* キーフレーム定義 */
@keyframes slideUp {
  to {
    transform: translateY(0);
	  opacity: 1;
  }
}


.MIDUNO-pgtitle-sub{
    margin: 7px 10px 0;
	
	  /* 初期状態: 左に隠す */
	  transform: translateX(-50%);
	  opacity: 0;

	  /* メインタイトルが終わる0.5s + delay0.5s = 1s 後に発火 */
	  animation: slideInLeft 0.4s ease-out forwards;
	  animation-delay: .5s; 
	}

	/* 左からスライドイン */
	@keyframes slideInLeft {
	  to {
		transform: translateX(0);
		opacity: 1;
	  }
	}

.MIDUNO-pgtitle-sub span{
    font-size: 21px;
    font-weight: 700;
    color: #fff;
}

.MIDUNO-pgimages{
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.MIDUNO-pgimages::after {
  content: "";
  position: absolute;
  clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
  width: 0; /* 初期は幅0で隠す */
  height: 83%;
  background: #910000;
  left: 0%;
  bottom: -1%;
  z-index: 1;

  animation: fillRed 0.4s ease-out forwards;
  animation-delay: 0.2s; /* タイトルの後に出したいならここで調整 */
}

@keyframes fillRed {
  to {
    width: 80%;
  }
}
.MIDUNO-pgimage_inner {
	position: relative;
  height: 23rem;
  width: 70%;
  overflow: hidden;
  z-index: 2;
  margin: 0 0 1rem;

  /* 初期は上に潰して非表示状態 */
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  animation: revealDown .5s ease-out forwards;
  animation-delay: .3s;
}

/* 上 → 下に開く */
@keyframes revealDown {
  to {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 9% 100%);
  }
}


.MIDUNO-pghimg{
    object-fit: cover;
}

/* scrollテキスト*/
.MIDUNO-pg-scrolltext {
    bottom: 0%;
    z-index: 999;
    width: 100vw;
    position: absolute;
}

.scroll-text-pghead {
     display: block;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    height: 150px;
    z-index: 0;
    pointer-events: none;
    z-index: 3;
}

.MIDUNO-pghead-wrap .AK_scroll_arrow{
    position: absolute;
    z-index: 99;
    bottom: 8%;	
}


@media only screen and (max-width: 1599px) {
  .scroll-text-pghead {
    height: calc(6.12245vw + 52.04082px);
  }
}

/**■■■■■■■■■■■■■■■■■■■■■■■■■
* トップページ　コアバリュー
■■■■■■■■■■■■■■■■■■■■■■■■■**/
.MD-TOP-corevalue{
    background:#fff;
    position: relative;
    margin-bottom: 5rem;
    z-index: 0;
}

.corevalue-sec .mainback-box{
    background: #910000;
    position: absolute;
    width: 100%;
    height: calc(100% - 7rem);
    top: 0;
    left: 0;
    z-index: -1;
    clip-path: polygon(0 0, 100% 10%, 100% 100%, 0% 100%);
}

.MD-TOP-corevalue .corevalue-sec{
    color: #fff;
    width: 80vw;
    margin: auto;
    padding-top: 10rem;
}

.corevalue-sec .title-box .title01{
    font-size: 4rem;
}

.corevalue-sec .title-box .title02{
    font-size:18px;
}

.corevalue-sec .corevalue-box{
    display: flex;
    justify-content: center;
    margin-bottom: 5rem;
}

.corevalue-sec .corevalue-box img{
    max-width: 1920px;
}

.corevalue-sec .message-box{
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 5rem 8rem 5rem 0rem;
    z-index: 1;
    bottom: 0;
    right: 0%;
}

.corevalue-sec .message-box .img{
    margin-right: 3rem;
    margin-bottom: 2rem;
}

.corevalue-sec .message-box .message{
    display: flex;
    flex-direction: column;
    max-width: 50%;
}

.corevalue-sec .message-box .title{
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.corevalue-sec .message-box .message-text01 p,
.corevalue-sec .message-box .message-text02 div span{
font-size: 15px;
}

.corevalue-sec .message-box .message-title01{
    font-size: 2rem;
    font-weight: 600;
}

.corevalue-sec .message-text02 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.corevalue-sec .message-text02 div{
        display: flex;
        flex-direction: column;
}

.corevalue-sec .message-box .text{
    margin-bottom: 3.5rem;
}

.corevalue-sec .message-text02 .sign {
}

.corevalue-sec .message-text02 .sign span{
    display: block;
    width: 424px;
    height: 100px;
    background-image: url(https://miduno.r-innovation.jp/7o0pr/wp-content/uploads/about-message-sign-1.png);
    background-repeat: no-repeat;
}

.corevalue-sec .message-box .profile{
    border: solid 2px;
    padding: 1.5rem;
    font-size: 14px;
}

.corevalue-sec .message-box {
    position: relative;
}

.corevalue-sec .message-box .subback-box {
    position: absolute;
    bottom: 0;
    right: 0;
    width: calc(100% - 37%);
    height: 100%;
    background: #222;
    z-index: -1;
}

.ellipse-wrap {
  position: relative;
  width: calc(100% - 30%);
  aspect-ratio: 5 / 3;
  margin: 0 auto;
  z-index: 1;
}

.ellipse-bg {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transform: scale(0.3) rotate(60deg); /* 小さく・回転してスタート */
  transform-origin: center;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.ellipse-wrap.is-active .ellipse-bg {
  opacity: 1;
  transform: scale(1) rotate(0deg); /* 最終サイズに拡大 */
}

.ellipse-logo {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
    z-index: 2;
  /* 初期状態：中心が小さく見えてる */
  clip-path: circle(0% at 50% 50%);
  -webkit-clip-path: circle(0% at 50% 50%);
  transition: clip-path 1.8s ease-out, -webkit-clip-path 1.8s ease-out;
}

.ellipse-wrap.is-active .ellipse-logo {
  /* 最終状態：親要素全体を覆う */
  clip-path: circle(70% at 50% 50%);
  -webkit-clip-path: circle(70% at 50% 50%);
}

/* ポイント画像 */
.point {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: top 0.8s cubic-bezier(0.4,0,0.2,1),
              left 0.8s cubic-bezier(0.4,0,0.2,1),
              opacity 0.8s;
}

/* 初期位置（親幅・高さに対する割合） */
.p1 { top: 5%; left: 10%; transition-delay: 0s; }
.p2 { top: -7%; left: -5%; transition-delay: 0.2s; }
.p3 { top: 3%; left: -5%; transition-delay: 0.3s; }

/* 表示状態 */
.ellipse-wrap.is-active .point {
  top: 0;
  left: 0;
  opacity: 1;
}

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

/**■■■■■■■■■■■■■■■■■■■■■■■■■
* トップページ　ターゲット別導線
■■■■■■■■■■■■■■■■■■■■■■■■■**/
.MD-targ-unit{
	background-color:#fff !important;
}

.targ-box {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
    min-height: 19rem;
    margin: auto;
    border-bottom: solid 1px #919191;
    padding: 2rem 3rem 2rem 7rem;
    overflow: hidden;
    color: #000;
    transition: color .8s cubic-bezier(0.07, 0.57, 0.58, 1);
    background-position: center;
    background-size: cover;
    flex-wrap: wrap;
}

/* 初期は非表示 */
.targ-box::before {
    left: 0;
    content: "";
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    border-top: 4rem solid #910000;
    border-right: 0 solid transparent;
    opacity: 1;
    transition: border-right 0.6s ease;
    z-index: 3;
}

/* スクロールで黒になったタイミングで表示 */
.targ-box.active::before {
    border-right: 13rem solid transparent;
}


.targ-box .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.938); /* 初期 白オーバーレイ */
    transition: background .8s cubic-bezier(0.07, 0.57, 0.58, 1);
    z-index: 1;
}

.targ-box.active .overlay {
    background: rgba(0, 0, 0, 0.747); /* 黒に変化 */
}

.targ-box.active {
    color: #fff; /* テキスト白 */
}

.targ-box.active .title {
    color: #fff !important; /* 赤を上書きして白に */
}

.targ-box > *:not(.overlay) {
    position: relative;
    z-index: 2;
}

.targ-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.targ-title .number { font-size: 16px; }
.targ-title .title { font-size: 2.6rem; font-weight: 700; margin: 0; color: #910000; }
.targ-title .subtitle { font-weight: 500; font-size: 18px; }

.targ-link {
    display: flex;
    width: 73%;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.targ-link .item {
    width: auto;
    height: 100%;
    display: flex;
    justify-content: space-around;
    flex-grow: 0;
    transition: flex-grow 2.5s cubic-bezier(0.215, 0.610, 0.355, 1.000) 0.1s;
    align-items: center;
}

.targ-link .item.active {
 flex-grow: 1; /* アクティブ時に広がる */
}

/*ボタン*/

.targ-link .item a {
    position: relative;
    text-decoration: none;
    color: #222;
    display: flex;
    justify-content: center;
  overflow: hidden;
  transition: .3s;
    z-index: 1;
    font-weight: 500;
    min-width: 14rem;
	opacity: 1;
}

.targ-link .item.active a{
	color:#fff;
	padding: 20px;
}

.targ-link .item.active a::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      bottom: 0;
      right: 50%;
      width: calc(100% + 30%);
      height: calc(100% + 2px);
      clip-path: polygon(0 0, 80% 0%, 100% 100%, 0% 100%);
      background-color: #910000;
      transform: translateX(-100%);
      transition: all 0.4s;
        z-index: -1;
    }

.targ-link .item.active a:hover::before {
        transform: translateY(0);
      }

/**■■■■■■■■■■■■■■■■■■■■■■■■■
* トップページ　企業文化メッセージ
■■■■■■■■■■■■■■■■■■■■■■■■■**/

.belief-wrap{
	background:#fff !important;
}

.toppage-belief{
    display: flex;
    flex-direction: column;
    width: 60%;
    align-items: center;
    margin: 0 auto 6rem;
}

.belief-sec01{
    position: relative;
    height: 29rem;
    width: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
}

.belief-bg {
    width: 100%;
    height: 100%;
    background-image: url("/7o0pr/wp-content/uploads/about-img.jpg");
    background-position: center;
    background-size: cover;    /* エリアいっぱいに表示 */
    background-repeat: no-repeat;
    clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%, 0 100%, 0 20%);
    position: relative;
}

.belief-sec01 span {
    width: 32%;
    height: 73%;
    background: #910000;
    position: absolute;
    bottom: -7%;
    left: -3%;
    z-index: -1;
    display: inline-block;
}

.belief-sec01 p{
    position: absolute;
    bottom: -9%;
    left: 1%;
    margin: 0;
    font-size: 4rem;
    font-weight: 700;
    color: #22222291;
    z-index: 1000;
}

.belief-sec02{
    display: flex;
    margin-top: 4rem;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.belief-title{
    flex: 0 0 22rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: #910000;
    margin: 0;
    display: inline-block;
}

.belief-sec02 span{
    display: block;
    background: #2222229e;
    flex: 0 0 2px;
    height: 110px;
    margin-right: 3rem;
}

.belief-text{
    flex: 1;
    margin: 0;
}

/**■■■■■■■■■■■■■■■■■■■■■■■■
* 
■■■■■■■■■■■■■■■■■■■■■■■■■**/