html{
  /* scroll-behavior: smooth; */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: none;
  scroll-behavior: auto;
}

    @font-face {
	font-family: 'MOBO-Bold';
	src: url('../assets/font/MOBO-Bold.woff2') format('woff2');
}
@font-face {
	font-family: 'MOBO-Regular';
	src: url('../assets/font/MOBO-Regular.woff2') format('woff2');
}

@font-face {
	font-family: 'MOBO-SemiBold';
	src: url('../assets/font/MOBO-SemiBold.woff2') format('woff2');
}

@font-face {
	font-family: 'MOBO';
	src: url('../assets/font/MOBO.woff2') format('woff2');
}

    .animation-sliding-img-up-1 {
        animation: sliding-img-up-1 50s linear infinite;
    }
    .animation-sliding-img-down-1 {
        animation: sliding-img-down-1 50s linear infinite;
    }
    .animation-sliding-img-up-2 {
        animation: sliding-img-up-2 50s linear infinite;
    }

    @keyframes sliding-img-up-1 {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-722px);
  }
}

@keyframes sliding-img-up-2 {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-1098px);
  }
}

@keyframes sliding-img-down-1 {
  0% {
    transform: translateY(-1161px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes sliding-img-down-2 {
  0% {
    transform: translateY(-1389px);
  }

  100% {
    transform: translateY(0);
  }
}



@media (min-width: 320px) {
  @keyframes sliding-img-up-1 {
    0% {
      transform: translateY(0);
    }

    100% {
      transform: translateY(-615px);
    }
  }

  @keyframes sliding-img-up-2 {
    0% {
      transform: translateY(0);
    }

    100% {
      transform: translateY(-928px);
    }
  }

  @keyframes sliding-img-down-1 {
    0% {
      transform: translateY(-986px);
    }

    100% {
      transform: translateY(0);
    }
  }

  @keyframes sliding-img-down-2 {
    0% {
      transform: translateY(-928px);
    }

    100% {
      transform: translateY(0);
    }
  }
}

@keyframes sliding-img-right-1 {
  0% {
    background-position-x: 0;
  }

  100% {
    background-position-x: -2880px;
  }
}

@keyframes sliding-img-left-1 {
  0% {
    background-position-x: 0;
  }

  100% {
    background-position-x: 2880px;
  }
}

:root {
  --top-length: 150vh;
  --sticky-box-radius: 50%;

		--circle-w: 1200;
    --contents-max-width: 1240px;
	--contents-padding-x: 50px;
  --cantents-padding-y: 100px;
    --text-line-weight: 30px;

	--top-font-size: 94px;
	--top-line-heigh: 158px;

    --section-title-header-padding: 100px 40px;
    --section-title-font-size: 64px;
    --section-title-font-line-heigh: 1.25em;
    --section-subtitle-font-size: 28px;
    --section-subtitle-font-line-heigh: 1.64285em;
  


    --button-min-width: 257px;
    --button-border-radius: 100px;
    --button-padding: 18px 45px 20px 45px;
    --button-font-size: 20px;


    --about-us-stats-bg-color: #008CFF;
    --about-us-stats-border-radius: 0.9375rem;
    --about-us-stats-padding-x: 1.875rem;
    --about-us-stats-padding-y: 0.9375rem;
    --about-us-stats-gap: 0.9375rem;
    --about-us-stats-width-calc: calc((100% - calc(var(--about-us-stats-gap) * 3)) / 2);

    --about-us-stats-label-font-size: 1.75rem;
    --about-us-stats-label-line-height: 1.75rem;

    --about-us-stats-number-font-size: 3.25rem;
    --about-us-stats-number-line-height: 3.625rem;
    --about-us-stats-number-spacing: 0.1em; 

    --about-us-stats-unit-font-size: 2.25rem;
    --about-us-stats-unit-line-height: 2.25rem;
    --about-us-stats-unit-spacing: 0.1rem;


    --about-us__pop-movie-gap: 40px;
    --about-us__contents-padding: var(--cantents-padding-y) var(--contents-padding-x);
    --about-us__thumb-width: 288px;
    --about-us__pop-movie-contents-gap: 30px;
    --about-us-pop-movie-title-font-size: 56px;

    --service-padding: 0px var(--contents-padding-x) 100px var(--contents-padding-x);
    --service-gap: 0px;
    --service-contents-gap: 50px;

    --service-item-padding: 40px;
    --service-item-gap: 15px;
    --service-item-body-gap: 30px;
    --service-item-title-font-size: 48px;
    --service-item-title-line-height: 84px;
    --service-item-subtitle-font-size: 22px;
    --service-item-subtitle-line-height: 44px;
    --service-item-body-info-gap: 20px;
    --service-item-description-font-size: 18px;
    --service-item-description-line-height: 44px;
    --service-item-contents-padding: 15px;
    --service__item-contents-body-item-gap: 8px;
    --service__item-contents-body-item-padding: 0 5px;
    --service-item-contents-title-font-size: 18px;
    --service-item-contents-title-line-height: 20px;
    --service-item-contents-title-padding-y: 8px;
    --service-item-contents-title-padding-x: 15px;

	--service-voice-image-width: 68px;
	--service-voice-tail-width: 12px;

    --news-padding: calc(var(--cantents-padding-y) + 50px) var(--contents-padding-x) var(--cantents-padding-y) var(--contents-padding-x);
	--news-sec-gap: 50px;

	--sticky-button-height: 95px;

  --circle-scale: 1;

	}

  body {
    color: #3F3F3F;
  }

  .pc-contents{
    display: flex;
  }
  .tab-contents{
    display: none;
  }
  .pc-contents-grid{
    display: grid;
  }
  .pc-tab-contents-grid{
    display: grid;
  }
  .tab-sp-contents{
    display: none;
  }
  .pc-tab-contents{
    display: flex;
  }
  .sp-contents{
    display: none;
  }

  .top__section{
    padding: 100px;
    margin: auto;
    max-width: 1440px;
  }

  .common-button{
    width: fit-content;
    min-width: var(--button-min-width);
    font-family: "YuGothic", serif;
    font-weight: 400;
    font-size: var(--button-font-size);
    letter-spacing: 0.05em;
    line-height: 1;
    color: #ffffff;
    background-color: #008CFF;
    border-radius: var(--button-border-radius);
    padding: var(--button-padding);
    position: relative;
    border: none;
  }

  .common-button::after {
    content: "";
    background: url('../assets/img/arrow.png') no-repeat center center;
    background-size: contain;
    width: 12px; /* 画像の幅 */
    height: 20px; /* 画像の高さ */
    position: absolute;
    right: 16px; /* ボタンの右端からの位置 */
    top: 50%;
    transform: translateY(-50%);
}

.text-underline{
  position: relative;
  padding-right: 10px;
  width: fit-content;
  z-index: 1;
}

.text-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateY(-6px);
    width: 100%;
    height: var(--text-line-weight);
    background-color: #FDFF05;
    border-radius: 50px; /* 丸みをつける */
    z-index: -1;
}



.text-underline-2::after {
    transform: translateY(0%);
}



    .top{
      position: relative;
      overflow: hidden;
	  height: var(--top-length);
    z-index: -1;
    }
    .top.blur {
      opacity: 0;
      filter: blur(10px);
  }

    .top__image{
		/*align-self: center;*/
    transition: opacity 0.3s ease-out, filter 0.3s ease-out;
    }

.top-image.blur {
    opacity: 0;
    filter: blur(15px);
}
    .top__overlay{
      position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: linear-gradient(rgba(0, 140, 255, 0.9), rgba(0, 140, 255, 1));
            /* 円のマスク（アニメーション） */
            -webkit-mask-image: radial-gradient(ellipse calc(53dvh * var(--circle-scale)) calc(50dvh * var(--circle-scale)) at 65vw 65dvh, rgba(0,0,0,0) 99%, rgba(0,0,0,1) 100%);
    mask-image: radial-gradient(ellipse calc(53dvh * var(--circle-scale)) calc(50dvh * var(--circle-scale)) at 65vw 65dvh, rgba(0,0,0,0) 99%, rgba(0,0,0,1) 100%);
            
            /* アニメーション */
            /* animation: expansion-anim 10s infinite linear; */
            will-change: transform;
    }

	.top__overlay-gray{
    position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: var(--top-length);
            background: rgba(37, 39, 66, 0.5);
    }

	.top__overlay-relative{
		position: relative;
		width: 100%;
		height: 100%;
	}

	.top__overlay-text{
		position: absolute;
            top: 0;
            left: calc(65vw - 26.5dvh);
			transform: translateX(-63dvh);
			font-size: var(--top-font-size);
			line-height: var(--top-line-heigh);
			letter-spacing: 0.05em;
			width: 100%;
			height: 100dvh;
			color: #ffffff;
			font-family: "YuGothic", serif;
    font-weight: 400;
	display: flex;
	align-items: center;

	}

	.top__hero-title{
    position: fixed;
		width: 100%;
			height: 100dvh;
			display: flex;
    align-items: center;
    /* transform: translateY(-100dvh); */
	width: 80%;
    max-width: 1240px;
    min-width: 574px;
    padding: 100px;
	}

  .top__hero-title-sp{
    display: none;
    width: 100%;
			/* height: 100%; */
      height: calc(100% - 90px);
			display: flex;
    align-items: center;
    /* transform: translateY(calc(-100% + 60px)); */
    transform: translateY(calc(-100%));
	  width: 100%;
    padding: 50px;
    transform: translateY(calc(90px));
  }

        /* animation */
@keyframes expansion-anim {
	0% {
		
		transform: scale(1);
	}

	50% {
		
		transform: scale(1.03);
	}

  100% {
    
		transform: scale(1);
	}
}

.company {
  width: 100%;
  padding-top: var(--cantents-padding-y);
  padding-bottom: var(--cantents-padding-y);
  display: flex;
  flex-direction: column;
  gap: 65px;
  background: #f6f6f6;
  padding: var(--contents-padding-x);
  padding-bottom: 150px;
  overflow: hidden;
  position: relative;
}

.company__contents {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 65px;
  max-width: var(--contents-max-width);
  margin-left: auto;
  margin-right: auto;
  /* padding: 0 var(--contents-padding-x); */
}


.company__policy {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  font-family: "YuGothic", serif;
	font-weight: 400;
	color: #008CFF;
}

.company__policy-catch {
  text-align: center;
  font-size: clamp(10px,7vw,90px);
  line-height: 1.778em;
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.company__policy-sub {
  text-align: center;
  font-size: 4.25rem;
  font-size: clamp(6px,5.3vw,68px);
  line-height: 1.882em;
}

.company__desc {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--cantents-padding-y);
}

.company__desc-text {
  /* width: 58%; */
  /* font-size: 1.375rem;
  line-height: 3.125rem; */
  /* font-family: 'MOBO-Bold';
	font-weight: 700; */
  font-size: 22px;
  line-height: 50px;
  letter-spacing: 0.1em;
  font-family: "Noto Sans JP", serif;
  font-weight: 500;
  /* width: calc(50% + 100px); */
  flex-grow: 1;
}

.company__desc-text p{
  transition: none;
}

.company__desc-image{
	display: flex;
	flex-direction: column;
	gap: 75px;
	width: 42%;
}

.company__desc-image img{
	width: 421px;
}

.company__desc-image--left1{
	padding-left: 10%;
}
.company__desc-image--right{
	align-self: flex-end;
}
.company__desc-image--left2{
	align-self: flex-start;
}

.company__desc-inline-logo{
    display: inline-block; /* インラインのまま、ブロック要素にならない */
    vertical-align: middle; /* 文字と高さをそろえる */
    margin: 0.1em;
}

.company__desc-inline-logo--yambal{
  height: 32px;
  width: 35px;
}

.company__desc-inline-logo--play{
  height: 27px;
  width: 27px;
}

.company__theme{
  display: flex;
  flex-direction: column;
  /* width: calc(50% - 100px); */
  justify-content: center;
  align-items: center;
  width: fit-content;
  position: relative;
}

.company__theme-background-image{
  position: absolute;
  height: 372px;
  left: 0;
    bottom: 0;
    transform: translateY(97%) translateX(-36%);
}
.company__edu-cre{
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #008CFF;
  font-family: "YuGothic", serif;
	font-weight: 400;
  text-align: center;
  font-size: 64px;
  line-height: 88px;
  align-self: center;
  
}

/* .company__edu-cre-txt--marc{
  color: #ffffff;
  font-size: 64px;
  line-height: 88px;
  letter-spacing: 20%;
  padding: 3px 15px;
  border-radius: 3px;
  background-color: #008cff;
  font-family: 'MOBO-Bold';
	font-weight: 400;
  text-align: center;
  white-space: nowrap;
} */

/* すでに提示されているクラス */
.headline-white,
.headline-blue {
  position: relative;
  overflow: hidden;
  width: 100%; /* or display: inline-block; でもOK */
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.headline-white .rect,
.headline-blue .rect {
  will-change: transform, opacity;
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  /* transform: translateX(-101%) rotate(0.0001deg); */
  /* 下記で覆う色を指定 */
  /* .headline-white .rect { background: #fff; }
     .headline-black .rect { background: #000; } */
     
}
.headline-white .rect{
  background: #ffffff;
}
.headline-blue .rect {
  width: 100%;
  background: #008cff;
}

/* こちらはあなたの元々のスタイル */
.company__edu-cre-txt--marc {
  will-change: transform, opacity;
  color: #ffffff;
  font-size: 64px;
  line-height: 88px;
  letter-spacing: 20%;
  padding: 3px 15px;
  border-radius: 3px;
  /* background-color: #008cff; 文字周りの背景 */
  font-family: "YuGothic", serif;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
}

.label{
  will-change: transform, opacity;
  z-index: 1;
  position: relative;
}

.company__theme-sub-txt{
  will-change: transform, opacity;
  font-size: 32px;
  line-height: 120px;
  white-space: nowrap;
  color: #008CFF;
  font-family: "YuGothic", serif;
	font-weight: 400;
  text-align: center;
}

.company__desc-text--underline{
  background: radial-gradient(circle at calc(100% - 8px) calc(100% - 8px), #BAE0FF 8px, transparent 8px) ,
              radial-gradient(circle at 8px calc(100% - 8px), #BAE0FF 8px, transparent 8px) ,
              linear-gradient(to bottom, #f6f6f6 calc(100% - 16px), transparent calc(100% - 16px)) ,
              linear-gradient(to right, transparent 8px, #BAE0FF 8px, #BAE0FF calc(100% - 8px), transparent calc(100% - 8px));
  display:inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 0 0.1em;
}

.section__title-header {
    padding: var(--section-title-header-padding);
    display: flex;
    justify-content: center;
}

.section__title-container {
    width: fit-content;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    /* height: var(--section-title-font-size); */
}

.section__title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 100;
  font-size: var(--section-title-font-size);
  line-height: var(--section-title-font-line-heigh);
  letter-spacing: 0.05em;
  color: #1A1A1A;
}
.section__subtitle {
  font-family: "yu-gothic-pr6n", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: var(--section-subtitle-font-size);
  line-height: var(--section-subtitle-font-line-heigh);
  color: #666666;
}

.iframe-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  cursor: pointer;
  z-index: 5;
}

.iphone-movie {
    position: relative;
    width: 34%;
    max-width: 26.25rem; /* 420px */
    aspect-ratio: 420 / 850;
}

.service__iphone-movie{
	height: 100%;
    width: 100%;
}

.iphone-movie__video {
    /* position: absolute;
    left: 10px;
    top: 12px;
    width: 400px;
    height: 820px; */
	position: absolute;
    left: 5%;
    top: 2%;
    width: 90%;
    height: 96%;
    border-radius: 30px;
    object-fit: cover;
}

.iphone-movie__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    pointer-events: none; /* 枠のクリックを無効化 */
}

.about-us{
	
}
 

/* .about-us__content {
  
  width: 100%;
  margin: auto;
  max-width: var(--contents-max-width);
} */

.about-us__content {
  width: 100%;
  padding: var(--cantents-padding-y) var(--contents-padding-x);
}

.about-us__content-body {
  width: 100%;
  display: flex;
  flex-direction: row; /* デフォルトは横並び */
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: auto;
  max-width: var(--contents-max-width);
}


.about-us__text--underline{
  background: radial-gradient(circle at calc(100% - 15px) calc(100% - 15px), #FDFF05 15px, transparent 15px) ,
              radial-gradient(circle at 15px calc(100% - 15px), #FDFF05 15px, transparent 15px) ,
              linear-gradient(to bottom, #f6f6f6 calc(100% - 30px), transparent calc(100% - 30px)) ,
              linear-gradient(to right, transparent 15px, #FDFF05 15px, #FDFF05 calc(100% - 15px), transparent calc(100% - 15px));
  display:inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 0 0.4em;
}

@media (max-width: 768px) { /* sd: (small devices) を想定 */
  .about-us__content {
    flex-direction: column;
    padding: var(--cantents-padding-y) var(--contents-padding-x) 50px var(--contents-padding-x) ;
  }
}

.about-us__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3.125rem;
  width: 65%;
  max-height: 100dvh;
  
}

.about-us__info-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9375rem;
  color: #008CFF;
  font-family: "yu-gothic-pr6n", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.about-us__info-title {
  font-size: 5rem;
  line-height: 1;
}

.about-us__info-subtitle {
  font-size: 1.75rem;
  line-height: 1;
}

.about-us__info-description {
  font-size: 1.75rem;
  text-align: center;
  line-height: 2;
  /* display: flex; */
  /* display: inline-flex; */
  flex-direction: column;
  font-family: "yu-gothic-pr6n", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  align-items: center;
}

.about-us__stats {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  width: 100%
}

.about-us__stats-container {
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}

.about-us__stats-row {
  display: flex;
  gap: 1.875rem;
}

.about-us__stats-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--about-us-stats-gap);
    padding: var(--about-us-stats-padding-y) var(--about-us-stats-padding-x);
    background-color: var(--about-us-stats-bg-color);
    border-radius: var(--about-us-stats-border-radius);
    width: var(--about-us-stats-width-calc);

    font-family: "yu-gothic-pr6n", sans-serif;
  font-weight: 400;
  font-style: normal;
    color: #ffffff;
}

.about-us__stats-label {
    font-size: var(--about-us-stats-label-font-size);
    line-height: var(--about-us-stats-label-line-height);
    font-family: "yu-gothic-pr6n", sans-serif;
  font-weight: 400;
  font-style: normal;
    white-space: nowrap;
}

.about-us__stats-value {
    display: flex;
    align-items: baseline;
}

.about-us__stats-number {
    font-size: var(--about-us-stats-number-font-size);
    line-height: var(--about-us-stats-number-line-height);
    letter-spacing: var(--about-us-stats-number-spacing);
}

.about-us__stats-unit {
    font-size: var(--about-us-stats-unit-font-size);
    line-height: var(--about-us-stats-unit-line-height);
    letter-spacing: var(--about-us-stats-unit-spacing);
}

.about-us__stats-note {
    font-size: 1rem;
    line-height: 1;
}




.about-us__pop-movie{
      width: 100%;
      display: flex;
      flex-direction: column;
      gap:var(--about-us__pop-movie-gap);
      font-family: "yu-gothic-pr6n", sans-serif;
      font-weight: 400;
      font-style: normal;
      overflow: hidden;
      padding: var(--about-us__contents-padding);
    position: relative;
    }

    .about-us__pop-movie-title{
      max-width: var(--contents-max-width);
      margin: auto;
      width: 100%;
      line-height: 1;
      color: #008CFF;
      font-family: "yu-gothic-pr6n", sans-serif;
      font-weight: 400;
      font-style: normal;
      font-size: var(--about-us-pop-movie-title-font-size);

    }

    .about-us__movie-scroll{
      display: flex;
      flex-direction: column;
      /* overflow: visible; */
      width: 100%;
    align-self: flex-end;
    scroll-snap-type: x mandatory; /* スクロールスナップを適用 */
    overflow: scroll;
    overflow-y: hidden; /* 縦スクロールを無効化 */
  -ms-overflow-style: none; /* IE・Edgeのスクロールバー非表示 */
  scrollbar-width: none; /* Firefoxのスクロールバー非表示 */
    }


    .about-us__pop-movie-contents{
		display: flex;
    	justify-content: flex-end;
		width: calc(100vw - var(--contents-padding-x));
    position: relative;
    }

    .about-us__movie-container{
      display: flex;
      flex-wrap: nowrap; /* 改行を防ぐ */
      gap: var(--about-us__pop-movie-contents-gap);
      
    width: max-content;
}

/* Webkit系（Chrome, Safari）のスクロールバーを非表示 */
.about-us__movie-container::-webkit-scrollbar {
    display: none;
}

    

.about-us__movie-group {
  flex: 0 0 auto; /* 横幅を固定し、縮小されないようにする */
  scroll-snap-align: start; /* スクロールスナップを適用 */
  width: var(--about-us__thumb-width);
  cursor: pointer;
}

.about-us__movie-thumb-container{
  overflow: hidden;
}
.about-us__movie-thumb {
  width: 100%;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: center; 
    
}



.about-us__movie-title {
    font-family: "Noto Sans JP", serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 0.1em;
}

.about-us__movie-description {
    font-family: "Noto Sans JP", serif;
    font-weight: 500;
    color: #7D7D7D;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 0.1em;
}
.about-us__movie-back-button{
  top: 50%;
    transform: translateX(-50%) translateY(-50%);
    left: 0;
    position: absolute;
    width: 58px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: center; 
    z-index: 1;
}
.about-us__movie-next-button{
  top: 50%;
    transform: translateX(50%) translateY(-50%);
    right: var(--contents-padding-x);
    position: absolute;
    width: 58px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: center; 
    z-index: 1;
}

.about-us__movie-next-button:hover{
  transform: translateX(50%) translateY(-50%) scale(1.1);
}
.about-us__movie-back-button:hover{
    transform: translateX(-50%) translateY(-50%) scale(1.1);
}

.about-us__buttonn-area{
  max-width: var(--contents-max-width);
  margin: auto;
  width: 100%;
}

@media screen and (min-width: 1340px) {
    .about-us__pop-movie-title{
        max-width: var(--contents-max-width);
        margin: auto;
        margin-left: calc(calc(100vw - calc(var(--contents-max-width) + calc(var(--contents-padding-x) * 2))) / 2);
        width: 100%;
        line-height: 1;
        color: #008CFF;
        font-family: "yu-gothic-pr6n", sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: var(--about-us-pop-movie-title-font-size);
  
      }
  
  .about-us__pop-movie-contents{
          display: flex;
          justify-content: flex-end;
          margin-left: calc(calc(100vw - calc(var(--contents-max-width) + calc(var(--contents-padding-x) * 2))) / 2);
          /* width: calc(100vw - calc(calc(100vw - 1440px) / 2)); */
      }
  .about-us__buttonn-area{
    max-width: var(--contents-max-width);
    margin: auto;
    width: 100%;
    margin-left: calc(calc(100vw - calc(var(--contents-max-width) + calc(var(--contents-padding-x) * 2))) / 2);
  }
  .about-us__movie-next-button{
      right: calc(100px + calc(calc(100vw - calc(var(--contents-max-width) + calc(var(--contents-padding-x) * 2))) / 2))
  }
}


.service {
  background-color: #008CFF;
  display: flex;
  flex-direction: column;
  gap: var(--service-gap);
  padding: var(--service-padding);
}



p.service__contents {
}

.service__item_body{
  display: flex;
  gap: var(--service-item-body-gap);
}

.service__item_body-info{
  display: flex;
  flex-direction: column;
  gap: var(--service-item-body-info-gap);
  flex-grow: 1;
}
.service__item {
  background-color: #ffffff;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  padding: var(--service-item-padding);
  gap: var(--service-item-gap);
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.1);
}

.service__item--pr {
}
.service__item--sensei {
  width: 50%;
}
.service__item--wolf {
  width: 50%;
}

.service__item-title {
  font-family: "yu-gothic-pr6n", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: var(--service-item-title-font-size);
  line-height: var(--service-item-title-line-height);
  color: #008CFF;
}

.service__item-sub-title {
  font-family: "Noto Sans JP", serif;
  font-size: var(--service-item-subtitle-font-size);
  font-weight: 700;
  /* line-height: var(--service-item-subtitle-line-height); */
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.service__item-description {
  font-family: "Noto Sans JP", serif;
  font-size: var(--service-item-description-font-size);
  font-weight: 700;
  line-height: var(--service-item-description-line-height);
  letter-spacing: 0.1em;
  flex-grow: 1;
}

.service__item-contents {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-top: calc(calc(var(--service-item-contents-title-line-height) / 2) + var(--service-item-contents-title-padding-y));
}

.service__item-contents-title{
  background-color: #008CFF;
  color: #ffffff;
  font-family: "yu-gothic-pr6n", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: var(--service-item-contents-title-font-size);
  line-height: var(--service-item-contents-title-line-height);
  letter-spacing: 0.1em;
  padding: var(--service-item-contents-title-padding-y) var(--service-item-contents-title-padding-x);
  border-radius: 5px;
  width: fit-content;
  margin-left: var(--service-item-contents-padding);
  position: absolute;
  transform: translateY(-50%);
}

.service__item-contents-body {
  display: flex;
  flex-direction: column;
  padding: var(--service-item-contents-padding);
  background-color: #ffffe6;
  border: 2px solid #008CFF;
  border-radius: 5px;
}

.service__item-contents-body-item{
  font-family: "Noto Sans JP", serif;
  font-size: var(--service-item-description-font-size);
  font-weight: 700;
  line-height: var(--service-item-description-line-height);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: var(--service__item-contents-body-item-gap);
  padding: var(--service__item-contents-body-item-padding);
  
}

.service__item-contents-body-item::before {
    content: "";
    background: url('../assets/img/check.png') no-repeat center center;
    background-size: contain;
    width: 16px; /* 画像の幅 */
    height: 16px; /* 画像の高さ */
}

.service__item-text {
}

.service__item-voice {
	display: flex;
	gap: 30px;
	width: 100%;
}

.service__item-voice-item{
	display: flex;
	flex-direction: column;
    width: calc(calc(100% - 30px) / 2);
}

.service__item-voice-message {
	align-self: flex-end;
	font-family: "Noto Sans JP", serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.75;
	letter-spacing: 0.05em;
	padding: 10px 15px;
	background-color: #ffffe6;
    border: 2px solid #008CFF;
    border-radius: 5px;
	width: calc(100% - calc(var(--service-voice-image-width) + var(--service-voice-tail-width)));
	position: relative;
    flex-grow: 1;
}

.service__item-voice-message::before {
	content: "";
  position: absolute;
  top: 76%;
  left: 0;
  border-style: solid;
  border-width: 20px 12px 0 0;
  border-color: transparent #008cff transparent transparent;
  translate: -100% -50%;
  transform: skew(0, -3deg);
  transform-origin: right;
}

.service__item-voice-message::after {
	content: "";
  position: absolute;
  top: 76%;
  left: 1px;
  border-style: solid;
  border-width: 14.7px 9.5px 0 0;
  border-color: transparent #ffffe6 transparent transparent;
  translate: -100% calc(-50% + 0.9px);
  transform: skew(0, -3deg);
  transform-origin: right;
}

.service__item-voice-people-image {
	align-self: flex-start;
	width: var(--service-voice-image-width);
	height: auto;
}

.service__contents{
  display: flex;
  flex-direction: column;
  gap: var(--service-contents-gap);
  max-width: var(--contents-max-width);
  margin: auto;
  width: 100%;
}

.service__item-row{
  display: flex;
  gap: var(--service-contents-gap);
}

.service__item-button--senseiichiba{
  align-self: flex-end;
}

.service__item-button--wolf{
  align-self: flex-end;
}

.news{
  /* background-color: #F6F6F6; */
  padding: var(--news-padding);
  
}

.news__contents{
	display: flex;
  flex-direction: column;
  gap: var(--news-sec-gap);
  /* max-width: var(--contents-max-width);
  margin: auto; */
  width: 100%;
}

.news__title-container{
  justify-content: flex-start;
}
.news__title{
  color: #3F3F3F;
}

.news__subtitle{
  color: #3F3F3F;
}


.news-title {
}

.news-list {
}

.news__news-list a{
	text-decoration: none;
}

.news__news-list a:visited{
	color: #3F3F3F;
}

.news__news-list a:hover{
	background-color: #efefef;
}

.news-item {
    display: flex;
    gap: 40px;
    align-items: center;
    padding: 25px 0;
    border-bottom: 2px solid #D5D5D5;
	font-family: "yu-gothic-pr6n", sans-serif;
  font-weight: 400;
  font-style: normal;
	line-height: 46px;
	letter-spacing: 0.05em;
}
.news-item:first-child {
    border-top: 2px solid #D5D5D5;
}

.news-header{
	display: flex;
	gap: 25px;
	justify-content: center;
    align-items: center;
}

.news-date {
	font-size: 22px;
  line-height: 2.091em;
  letter-spacing: 0.05em;
  color: #1A1A1A;
}

.category-label {
	font-family: "yu-gothic-pr6n", sans-serif;
  font-weight: 400;
  font-style: normal;
    font-size: 16px;
	line-height: 1;
	letter-spacing: 0.05em;
    color: #fff;
    background-color: #0B49AD;
    padding: 8px 20px;;
    border-radius: 30px;
    min-width: 108px;
    text-align: center;
	height: fit-content;
  width: fit-content;
  white-space: nowrap;
}

.news-title {
    font-size: 20px;
    line-height: 2.3em;
    letter-spacing: 0.05em;
    color: #1A1A1A;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}

.news-title a {
    text-decoration: none;
    color: inherit;
}

.contact-sticky{
	position: sticky;
    top: calc(100dvh - var(--sticky-button-height) - 50px);
    left: 100vw;
    height: var(--sticky-button-height);
    transform: translateX(-20px);
    width: fit-content;
    display: flex;
    padding: 10px 20px;
    border-radius: 55.5px;
    /* background-color: #FDFF05; */
    background: radial-gradient(circle, #FFFFDE 0%, #FEFFB5 100%);
    border: 5px solid #008CFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    gap: 10px;
    z-index: 10;
	cursor: pointer;
  transition: opacity 0.5s ease-in-out;
}

.contact-sticky img{
	height: 80px;
	width: 80px;
	/* transform: translateY(-32%); */
  align-self: flex-end;
}

.contact-sticky__text-container{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 0.5em;
}

.contact-sticky__text-container--text1{
	font-family: "yu-gothic-pr6n", sans-serif;
  font-weight: 400;
  font-style: normal;
	font-size: 16px;
	letter-spacing: 0.05em;
	line-height: 1;
  color: inherit;
}

.contact-sticky__text-container--text2{
	font-family: "yu-gothic-pr6n", sans-serif;
  font-weight: 400;
  font-style: normal;
	font-size: 18px;
	letter-spacing: 0.05em;
	line-height: 1.33;
  color: inherit;
}

.contact{
	padding: calc(var(--contents-padding-x) / 2) var(--contents-padding-x) calc(var(--cantents-padding-y) + 50px) var(--contents-padding-x);
	width: 100%;
}
.contact__link{
	width: 100%;
	max-width: var(--contents-max-width);
	aspect-ratio: 1240 / 594;
	/* background: url('../assets/video/contact.mp4') no-repeat center center;
	background-size: contain; */
	margin: auto;
	padding: 120px 45px;
    display: flex;
    flex-direction: column;
    gap: 55px;
	position: relative;
	cursor: pointer;
  
  
}

.contact-link-video{
  position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            object-fit: cover; /* 画面いっぱいに拡大 */
            border-radius: 43px;
}
.contact-link-video {
  filter: brightness(0.5);
}
.contact__title-container{
	justify-content: flex-start;
  z-index: 1;
	
}
.contact__description-container{
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 22px;
	line-height: 46px;
	color: #ffffff;
	font-family: "yu-gothic-pr6n", sans-serif;
  font-weight: 400;
  font-style: normal;
  z-index: 1;
}

.contact__arrow{
	position: absolute;
	bottom: 45px;
	right: 45px;
	width: 98px;
	height: 98px;
	background: url('../assets/img/arrow2.png') no-repeat center center;
	background-size: contain;
}

.top__image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  perspective: 1200px;
  position: fixed;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 48px;
  width: 60rem;
  height: 55rem;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate3d(7%, -2%, 0px) scale3d(0.9, 0.8, 1) rotateX(15deg) rotateY(-9deg) rotateZ(32deg) translateX(-17%);
  transform-origin: 80% 0%;
}


  .grid-container {
      width: 200%;
      height: 500vw;
  }

  #video-overlay{
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 100;
  }

  .video-container {
    position: relative;
    width: calc(80dvh * 9 / 16); /* 9:16 の縦動画サイズを維持 */
    height: 80dvh; /* 画面の高さの90% */
    max-width: 100%;
    max-height: 100%;
}

#youtube-frame {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px; /* 角を少し丸める */
}

  #close-video {
    position: absolute;
    top: 32px;  /* 上からの距離 */
    right: 32px; /* 右からの距離 */
    z-index: 50; /* 最前面に表示 */
    background: rgba(255, 255, 255); /* 半透明の背景 */
    color: #008CFF;
    font-size: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* 丸いボタンに */
    cursor: pointer;
    transition: background 0.3s;
    border: none;
}

.animate-move-bg {
  animation: move-bg 150s linear infinite;
}

.sticky-box{
  /* padding-top: 50vh;
  border-top-right-radius: var(--sticky-box-radius);
  border-top-left-radius: var(--sticky-box-radius); */
}

.home__sticky-box {
  opacity: 0; /* 初期状態では非表示 */
  transition: opacity 0.6s ease-out;
}

.home__sticky-box.visible {
  opacity: 1; /* 表示 */
}

.apply__image{
  display: block;
}

@media screen and (min-width: 1024px) {
  .top__hero-title-sp{
    display: none;
  }
  .about-us__movie-thumb:hover {
    transform: scale(1.1);
  }
}

/* タブレット向けスタイル (縦向き) */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  :root{
    --contents-padding-x: 30px;
    --cantents-padding-y: 50px;

    --service-contents-gap: 20px;
    --service-item-body-gap: 20px;
    --service-item-padding: 20px;
    --service-item-title-font-size: 42px;

    --section-title-font-size: 48px;
    --section-title-font-line-heigh: 1.25em;
    --section-subtitle-font-size: 18px;

  }

  .top__section{
    padding: 50px 30px;
  }

  .pc-contents{
    display: none;
  }
  .tab-contents{
    display: flex;
  }
  .pc-contents-grid{
    display: none;
  }
  .pc-tab-contents-grid{
    display: grid;
  }
  .tab-sp-contents{
    display: flex;
  }
  .pc-tab-contents{
    display: flex;
  }
  .sp-contents{
    display: none;
  }

  .top__hero-title-sp{
    display: none;
  }
  .company__desc{
    flex-direction: column;
    gap: 50px;
  }
  .company__theme-background-image {
    transform: translateY(8%) translateX(-9%);
}

  .about-us__content-body {
    flex-direction: column;
}

.about-us__info {
  width: 100%;
}

.iphone-movie {
  width: 100%;
}

.service__item_body {
  align-items: center;
  flex-direction: column;
}

.contact{
	/* padding: 50px 50px 50px 50px; */
	width: 100%;
}

.contact__link {
  padding: 45px !important;
}

.contact__arrow {
  width: 80px !important;
  height: 80px !important;
}

.top__overlay {
  -webkit-mask-image: radial-gradient(ellipse calc(calc(50dvh - 60px) * var(--circle-scale)) calc(calc(50dvh - 60px) * var(--circle-scale)) at 50vw calc(50dvh + 120px), rgba(0, 0, 0, 0) 99%, rgba(0, 0, 0, 1) 100%);
  mask-image: radial-gradient(ellipse calc(calc(50dvh - 60px) * var(--circle-scale)) calc(calc(50dvh - 60px) * var(--circle-scale)) at 50vw calc(50dvh + 120px), rgba(0, 0, 0, 0) 99%, rgba(0, 0, 0, 1) 100%);
}

@keyframes expansion-anim {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.03);
	}

  100% {
		transform: scale(1);
	}
}

.top__image{
  scale: 1.5;
}

.top__hero-title {
  width: 100%;
  padding: 10px;
  transform: translateY(60px);
}

.grid-container {
  gap: 14px !important;
}


}

@media (max-width: 767px) {
  :root{
    --top-length: 110vh;

    --contents-padding-x: 16px;
    --cantents-padding-y: 100px;

    --service-contents-gap: 16px;
    --service-item-body-gap: 16px;
    --service-item-padding: 20px 24px 40px 24px;
    --service-item-title-font-size: 42px;

    --section-title-header-padding: 50px var(--contents-padding-x);
    /* --section-title-font-size: clamp(38px, 10vw, 80px); */
    --section-title-font-size: 36px;
    --section-title-font-line-heigh: 1.2;
    /* --section-subtitle-font-size: clamp(12px, 4vw, 28px); */
    --section-subtitle-font-size: 12px;
    --section-subtitle-font-line-heigh: 1.64em;

    /* --button-font-size: clamp(10px, 3vw, 20px); */
    --button-font-size: 16px;
  
    --button-padding: 0.9em 2.25em 1em 2.25em;
    --button-min-width: 130px;

    --about-us__contents-padding: 50px var(--contents-padding-x) var(--cantents-padding-y) var(--contents-padding-x);
    /* --about-us-stats-label-font-size: clamp(12px, 3vw, 21px); */
    --about-us-stats-label-font-size: 16px;
    --about-us-stats-label-line-height: 1;
    /* --about-us-stats-number-font-size: clamp(26px, 7vw, 52px); */
    --about-us-stats-number-font-size: 36px;
    --about-us-stats-number-line-height: 1.115em;
    /* --about-us-stats-unit-font-size: clamp(16px, 4vw, 36px); */
    --about-us-stats-unit-font-size: 20px;
    --about-us-stats-unit-line-height: 1;
    --about-us-stats-gap: 4px;
    --about-us-stats-padding-x: 16px;
    --about-us-stats-padding-y: 8px;
    --about-us-stats-border-radius: 10px;
    --about-us-pop-movie-title-font-size: clamp(24px, 10vw, 56px);
    --about-us-pop-movie-title-font-size: 36px;

    --about-us__thumb-width: calc(calc(100vw - calc(var(--about-us__pop-movie-gap) + calc(var(--contents-padding-x) + var(--contents-padding-x)))) / 2);
    /* --about-us__pop-movie-gap: 20px;
    --about-us__thumb-width: 210px; */
    --about-us__pop-movie-gap: 20px;
    --about-us__thumb-width: calc(calc(100vw - 32px) / 2);
    --about-us__pop-movie-contents-gap: 15px;

    --service-item-title-font-size: clamp(20px, 8vw, 42px);
    --service-item-title-font-size: 32px;
    --service-item-title-line-height: 2;
    --text-line-weight: 20px;
    /* --service-item-subtitle-font-size: clamp(14px, 4vw, 22px); */
    --service-item-subtitle-font-size: 20px;
    --service-item-subtitle-line-height: 2;
    /* --service-item-description-font-size: clamp(12px,2.7vw,18px); */
    --service-item-description-font-size: 16px;
    /* --service-item-description-line-height: 2.44em; */
    --service-item-description-line-height: 2em;
    /* --service-item-contents-title-font-size: clamp(12px,2.7vw,18px); */
    --service-item-contents-title-font-size: 16px;
    --service-item-contents-title-line-height: 1.11em;
    --service-item-contents-padding: 0.833em;
    --service-item-contents-title-padding-y: 0.444em;
    --service-item-contents-title-padding-x: 0.833em;
    --service-item-gap: 15px;
    --service-voice-image-width: 3.25em;
    --service-padding: 0px var(--contents-padding-x) 100px var(--contents-padding-x);

    --news-padding: var(--cantents-padding-y) var(--contents-padding-x) var(--cantents-padding-y) var(--contents-padding-x);
    --news-sec-gap: 30px;

    --sticky-button-height: 65px;
  }

  .apply__image{
  display: none;
}

  .top__section{
    padding: 60px 16px;
  }
  .pc-contents{
    display: none;
  }
  .tab-contents{
    display: none;
  }
  .pc-contents-grid{
    display: none;
  }
  .pc-tab-contents-grid{
    display: none;
  }
  .tab-sp-contents{
    display: flex;
  }
  .pc-tab-contents{
    display: none;
  }
  .sp-contents{
    display: flex;
  }


  .common-button::after {
    height: 1em !important;
    right: 0.8em !important;
}

.company{
  padding-bottom: 100px;
  padding-top: 50px;
  margin-top: -16px;
}
  .company__desc{
    flex-direction: column;
    gap: 20px;
  }

  .company__edu-cre,
  .company__edu-cre-txt--marc {
    font-size: clamp(35px, 10vw, 64px) !important;
    line-height: 1.375em !important;
}

.company__theme-sub-txt{
    font-size: clamp(18px, 5.5vw, 32px) !important;
    line-height: 3.75em !important;
}

.company__desc-text {

  /* font-size: clamp(14px, 3vw, 22px); */
  font-size: 16px;
  /* line-height: 2.27em; */
  line-height: 2em;
}
.text-underline::after {
  transform: translateY(-10px);
}
.text-underline-2::after {
  transform: translateY(-25%);
}

.section__title-container {
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  height: auto;
  width: 100%;
}

.about-us__info-title {
  /* font-size: clamp(38px, 10vw, 80px); */
  font-size: 48px;
  line-height: 1;
}

.about-us__info-subtitle {
  /* font-size: clamp(12px,4vw,28px); */
  font-size: 16px;
  line-height: 1;
}


  .about-us__content-body {
    flex-direction: column;
}

.about-us__info {
  width: 100%;
  gap: 20px;
}

.about-us__info-description {
  /* font-size: clamp(12px, 3.7vw, 28px); */
  font-size: 16px;
}

.about-us__stats-container {
  gap: 10px;
}

.about-us__stats-item {
  width: 50%;
  padding: calc(var(--about-us-stats-padding-y) + 3px) var(--about-us-stats-padding-x) var(--about-us-stats-padding-y) var(--about-us-stats-padding-x);
}
.about-us__stats-row {
   gap: 10px;
}
.about-us__stats-note {
  font-size: clamp(10px,2vw,16px);
  font-size: 12px;
}

.iphone-movie {
  width: 100%;
}

.about-us__movie-title {
  font-size: 12px;
}

.about-us__movie-description {
  font-size: 12px;
}

.about-us__movie-next-button{
  top: calc(calc(100% - 96px) / 2);
  transform: translateX(calc(50% - var(--contents-padding-x))) translateY(-50%);
  width: 30px;
  z-index: 1;
}

.about-us__movie-back-button {
  top: calc(calc(100% - 96px) / 2);
  transform: translateX(-50%) translateY(-50%);
  width: 30px;
  z-index: 1;
}

.about-us__movie-next-button:hover{
  transform: translateX(calc(50% - var(--contents-padding-x))) translateY(-50%) scale(1.1);
}
.about-us__movie-back-button:hover{
  transform: translateX(-50%) translateY(-50%) scale(1.1);
}

.about-us__pop-movie {
  /* padding-bottom: 50px; */
}

.service__item_body {
  align-items: center;
  flex-direction: column;
}

.service__item-voice {
  gap: 15px;
  width: 100%;
}
.service__item-voice-message {
  font-size: clamp(12px, 2.3vw, 16px);
  padding: 0.625em 0.9375em;
  width: 100%;
}

.service__item-voice-item {
  width: calc(calc(100% - 15px) / 2);
  /* min-width: 175px; */
  gap: 12px;
}

.service__item-row {
  flex-direction: column;
}

.service__item--sensei {
  width: 100%;
}

.service__item--wolf {
  width: 100%;
}

#service__go-to-contact{
  align-self: flex-end;
}

.news-header {
  gap: 10px;
}

.news-date {
  /* font-size: clamp(14px, 2vw, 20px); */
  font-size: 14px;
}

.category-label {
  /* font-size: clamp(11px, 1.6vw, 16px); */
  font-size: 12px;
  min-width: 7em;
  padding: 0.5625em 1.25em 0.5625em 1.25em;
}

.news-title {
  /* font-size: clamp(13px, 2vw, 20px); */
  font-size: 16px;
}

.news-item {
  gap: 0px;
  padding: 10px 0;
  line-height: 2em;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.contact{
	/* padding: 50px 50px 50px 50px; */
	width: 100%;
  padding: calc(var(--contents-padding-x) / 2) var(--contents-padding-x) 100px var(--contents-padding-x);
}

.contact__description-container {
  gap: 5px;
  /* font-size: clamp(11px, 3.5vw, 22px); */
  font-size: 16px;
  line-height: 2.1em;
}

.contact__link {
  padding: 20px !important;
  gap: 20px !important;
  background-size: cover !important;
  height: 315px;
    border-radius: 20px;

}

.contact__arrow {
  width: 45px !important;
        height: auto !important;
        aspect-ratio: 1;
        bottom: 20px !important;
        right: 20px !important;
}

.contact-sticky {
  top: calc(100dvh - var(--sticky-button-height) - 20px);
  left: 100vw;
  height: var(--sticky-button-height);
  transform: translateX(-10px);
  padding: 5px 15px;
  gap: 0px;
  z-index: 10;
}

.contact-sticky__text-container {
  gap:0.3em;
}

.contact-sticky__text-container--text1 {
  font-size: 12px;
}

.contact-sticky__text-container--text2 {
  font-size: 14px;
}

.contact-sticky img {
  height: 53px;
  width: 53px;
}

.about-us__text--underline {
  /* background: radial-gradient(circle at calc(100% - 8px) calc(100% - 8px), #FDFF05 8px, transparent 8px), radial-gradient(circle at 8px calc(100% - 8px), #FDFF05 8px, transparent 8px), linear-gradient(to bottom, #f6f6f6 calc(100% - 16px), transparent calc(100% - 16px)), linear-gradient(to right, transparent 8px, #FDFF05 8px, #FDFF05 calc(100% - 8px), transparent calc(100% - 8px)); */
  background: radial-gradient(circle at calc(100% - 8.5px) calc(100% - 8.5px), #FDFF05 8.5px, transparent 8.5px), radial-gradient(circle at 8.5px calc(100% - 8.5px), #FDFF05 8.5px, transparent 8.5px), linear-gradient(to bottom, #f6f6f6 calc(100% - 17px), transparent calc(100% - 17px)), linear-gradient(to right, transparent 8.5px, #FDFF05 8.5px, #FDFF05 calc(100% - 8.5px), transparent calc(100% - 8.5px));
  padding: 0 0 0.6em;
}

.company__desc-inline-logo--yambal {
  height: 1.455em;
  width: 1.59em;
}

.company__desc-inline-logo--play {
  height: 1.227em;
  width: 1.227em;
}

.top__overlay {
  -webkit-mask-image: radial-gradient(ellipse calc(calc(50dvh - 60px) * var(--circle-scale)) calc(calc(50dvh - 60px) * var(--circle-scale)) at 50vw calc(50dvh + 60px), rgba(0, 0, 0, 0) 99%, rgba(0, 0, 0, 1) 100%);
  mask-image: radial-gradient(ellipse calc(calc(50dvh - 60px) * var(--circle-scale)) calc(calc(50dvh - 60px) * var(--circle-scale)) at 50vw calc(50dvh + 60px), rgba(0, 0, 0, 0) 99%, rgba(0, 0, 0, 1) 100%);
}

@keyframes expansion-anim {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.03);
	}

  100% {
		transform: scale(1);
	}
}

.top__image{
  scale: 1.5;
}

.top__hero-title {
  width: 100%;
  padding: 10px;
}

.grid-container {
  gap: 2px !important;
}

.top__image {
  width: 150% !important;
  /* height: 100dvh; */
  height: 100%;
}

.top__hero-title{
  display: none;
}

.top__hero-title-sp{
  display: flex;
  position: fixed;
}

.sticky-box{
  padding-top: 12px;
}

.about-us__image-scroll{
  height: 3.21825rem !important;
}

.service__item-voice-message::before{
  bottom: -1px;
    left: 15%;
    border-style: solid;
    border-width: 11px 8px 0 8px;
    border-color: #008CFF transparent transparent;
    translate: -50% 100%;
}

.service__item-voice-message::after{
  bottom: 1px;
    left: 15%;
    border-style: solid;
    border-width: 10.4px 7.7px 0 7.7px;
    border-color: #ffffe6 transparent transparent;
    translate: -50% 100%;
}

#close-video {
  position: absolute;
  top: 16px;  /* 上からの距離 */
  right: 16px; /* 右からの距離 */
  z-index: 50; /* 最前面に表示 */
  background: rgba(255, 255, 255); /* 半透明の背景 */
  color: #008CFF;
  font-size: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%; /* 丸いボタンに */
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}

.news__title-container{
  align-items: flex-start;
}

.contact__title-container{
  align-items: flex-start;
}

.animate-move-bg {
  animation: move-bg 100s linear infinite;
}

.company__theme-background-image {
  height: 297.6px;
  transform: translateY(10%) translateX(-9%);
}

.company__desc-text--underline{
  background: radial-gradient(circle at calc(100% - 5.8px) calc(100% - 5.8px), #BAE0FF 5.8px, transparent 5.8px), radial-gradient(circle at 5.8px calc(100% - 5.8px), #BAE0FF 5.8px, transparent 5.8px), linear-gradient(to bottom, #f6f6f6 calc(100% - 11.6px), transparent calc(100% - 11.6px)), linear-gradient(to right, transparent 5.8px, #BAE0FF 5.8px, #BAE0FF calc(100% - 5.8px), transparent calc(100% - 5.8px));
}

.home__sticky-box {
  opacity: 0; /* 初期状態では非表示 */
  transition: opacity 0.6s ease-out;
  transition: none;
  padding-top: 115px;
}

.sp-title-area{
  background: #F6F6F6;
}



}

@media (max-width: 1023px) {
  .grid-container {
    width: 190%;
    height: 500vw;
    transform: translate3d(-5%, -2%, 0px) scale3d(0.9, 0.8, 1) rotateX(15deg) rotateY(-9deg) rotateZ(6deg) translateX(-17%);
  }
  .home__sticky-box {
    padding-top: 115px;
  }

  /* @keyframes sliding-img-up-1 {
    0% {
      transform: translateY(0);
    }

    100% {
      transform: translateY(-330px);
    }
  }

  @keyframes sliding-img-up-2 {
    0% {
      transform: translateY(0);
    }

    100% {
      transform: translateY(-460px);
    }
  }

  @keyframes sliding-img-down-1 {
    0% {
      transform: translateY(-440px);
    }

    100% {
      transform: translateY(0);
    }
  }*/
  
@keyframes sliding-img-up-1 {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-415px);
  }
}

@keyframes sliding-img-up-2 {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-700px);
  }
}

@keyframes sliding-img-down-1 {
  0% {
    transform: translateY(-686px);
  }

  100% {
    transform: translateY(0);
  }
}

}

@media (max-width: 767px) {
  .grid-container {
    width: 190%;
    height: 500vw;
    transform: translate3d(-14%, -2%, 0px) scale3d(0.9, 0.8, 1) rotateX(15deg) rotateY(-9deg) rotateZ(6deg) translateX(-17%);
  }

}






