@charset "utf-8";
body {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  width: 100%;
  height: 100%;
}
.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  width: 100%;
  height: 100%;
}
/*遅延読み込み*/
.fade {
  opacity: 0; /* 初期状態は透明 */
  transform: translateY(50px); /* 少し下にずらしておく */
  transition: opacity 0.5s ease, transform 0.5s ease; /* アニメーション効果 */
}
.fade.visible {
  opacity: 1; /* 表示 */
  transform: translateY(0); /* 元の位置に戻す */
}
/*スタイルシート*/
.video_wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  z-index: -1;
}
.video_wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.video_wrapper:not(.js_active)::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
  content: "";
}
.video_wrapper:not(.js_active)::after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-image: url(./loading.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  content: "";
}
.video_wrapper > iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}
@media screen and (max-width: 48em) {
  #mv .mv_pc {
    margin-top: 50px !important;
  }
  .video_wrapper {
    padding-top: 56.25%; /* 16:9 のアスペクト比 */
  }
  .video_wrapper > iframe {
    width: 100%;
    height: 100%;
  }
}
section {
  padding-top: 4em;
  padding-bottom: 4em;
  margin: 0em auto 0em;
  width: 100%
}
section:last-child {
  margin-bottom: 0
}
.inner {
  position: relative;
  z-index: 10;
  padding: clamp(0.5rem, 2vw, 1rem) clamp(1rem, 4vw, 2rem);
  width: 90%;
  max-width: 1200px;
  margin: 0 auto
}
.inner figure {
  position: relative;
  display: block;
  margin-bottom: 1rem
}
.inner_box {
  margin: 2rem auto
}
.container {
  width: calc(100% - 1.25em);
  margin-left: auto;
  margin-right: auto;
  padding: var(--space);
}
.note {
  padding: 1.3rem;
  border-radius: 10px;
  font-size: .95rem
}
.note ul {
  margin: .5rem auto
}
.note li {
  margin-left: 1rem;
  list-style: disc;
}
figure, figure img {
  border-radius: clamp(0.5rem, 2vw, 1rem);
}
p, li {
  font-size: clamp(0.875rem, 2vw, 1.25rem);
  margin: clamp(2rem, 2vw, 1rem) clamp(0.5rem, 4vw, 1rem);
  text-align: left;
}
/*見出し*/
h1 {
  font-size: clamp(2rem, 6vw, 4rem);
}
h2 {
  font-size: clamp(1.2rem, 5vw, 2.5rem);
}
h3 {
  font-size: clamp(2rem, 6vw, 4rem);
}
h4 {
  font-size: clamp(0.9rem, 4vw, 1rem);
}
h4:first-letter {
  color: var(--accent);
}
h5 {
  font-size: clamp(1.3rem, 4vw, 2.3rem);
}
h6 {
  font-size: clamp(1.3rem, 5vw, 2rem);
}
/*リンク*/
a {
  transition: color 0.3s
}
a:link {
  color: var(--gray2)
}
a:visited {
  color: var(--gray)
}
a:hover {
  color: var(--accent)
}
li a {
  text-decoration: none !important;
}
span a {
  display: inline-block;
  padding: .5rem 1rem;
  width: 100%
}
#footer {
  background: var(--text);
  color: #FFF;
  text-align: center;
  font-size: 12px;
  line-height: 1.5
}
#footer a:link, #footer a:visited {
  color: var(--title)
}
#footer a:hover {
  color: var(--primary-light)
}
#header{position: fixed;}
#header a:link, #header a:visited {
  color: var(--title)
}
#header a:hover {
  color: var(--primary)
}
#header nav .pc_menu a:link, #header nav .menu__box .pc_menu a:visited {
  color: #000 !important;
}
#header nav .pc_menu a:vlink {
  color: var(--sub) !important;
}
@media screen and (min-width: 48em) {
  #header nav .menu__box .menu_pc a {
    color: var(--title);
    font-weight: 600;
  }
  #header nav .menu__box .menu_pc a:hover {
    color: var(--sub);
  }
  #header nav .menu__box .menu_pc a small {
    font-size: 10px !important;
    font-weight: 400;
  }
  .menu__item span {
    padding: 10px 5px;
    font-size: 11px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  #header nav .menu__box .btn_f span small {
    font-size: 8px !important;
    display: block !important;
    width: 100%;
    text-align: center;
  }
  #header nav .menu__item .menu__box .btn_f {
    margin: 0 !important;
  }
}

@media screen and (max-width: 375px) {
	#header li {
		margin: 0!important;
  text-align: left;
}
	  #header .menu__item {
    font-size: 15px!important;
	    padding: 10px 10px!important;
  }
}
/*ファーストビュー*/
#mv {
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  left: 0;
  width: 100%;
  height: 100%;
  top: 0;
}
#mv video {
  width: 100%
}
/*ボタン*/
.btn_area {
  width: 100%;
  text-align: center;
}
.btn_main {
  width: 100%;
  margin: 10px auto;
}
.button {
  display: inline-block;
  margin: 10px;
  max-width: 250px;
  width: 90%;
}
.button a {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  border-radius: 10px;
  padding: 10px 25px;
  color: #fff;
  line-height: 1.8;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  background: linear-gradient(70deg, rgba(0, 97, 190, 1) 27%, rgba(251, 121, 197, 1) 100%);
  background-position: 1% 50%;
  background-size: 200% auto;
  transition: all 0.3s ease-out;
}
.button a:hover {
  color: #fff;
  background-position: 99% 50%;
}
.button a:after {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(50deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  transition: 0.3s ease-in-out;
}
.button_sub a {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  border-radius: 10px;
  max-width: 250px;
  padding: 5px 25px;
  color: var(--title);
  border: 2px solid var(--title);
  line-height: 1.8;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  font-size: 14px;
}
.button_sub a:hover {
  color: var(--sub);
  border: 2px solid var(--sub);
}
/*ボタンここまで*/
#senpai {
  margin: 3em auto;
}
.senpai {
  margin: 5px;
}
.senpai {
  width: 350px;
}
.senpai figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
/*スライダー*/
#swiper1, #swiper2 {
  margin: 1em auto;
}
#swiper2 .swiper-wrapper {
  transition-timing-function: linear;
}
.swiper-slide {
  width: 100%;
  height: 100%;
  margin: 0;
  box-sizing: border-box;
}
.swiper-slide img {
  width: 100%;
}
/*header*/
header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  box-sizing: border-box;
  position: fixed;
  z-index: 100;
  margin-top: -30px;
  padding: 0 1em;
}
header h1 img {
  width: 100%;
  max-width: 140px;
}
.menu__box li {
  margin: 5px;
}
#header nav .menu__box a {
  color: #FFF
}
#header nav .menu__box .btn_f {
  color: var(--title);
}
#header nav .menu__box .btn_f:hover {
  background: #e9eefe;
}
#header nav .menu__box .btn_f span small {
  font-size: 12px;
}
@media screen and (max-width: 48em) {
  nav nav {
    display: inline;
  }
  .pc {
    display: block !important
  }
  header {
    height: 50px;
    margin-top: 0px;
    padding: 0.5rem;
    position: absolute;
    top: 0;
  }
}
.pc {
  display: none;
}
.menu__box {
  display: flex;
  flex-direction: row;
  list-style-type: none;
}
@media screen and (max-width: 48em) {
  .menu__box {
    flex-direction: column;
    position: fixed;
    visibility: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    margin: -110vh 0 0 0;
    padding: 0.6em 0;
    text-align: center;
    box-shadow: 1px 0 6px rgba(0, 0, 0, 0.2);
    z-index: 1;
    transition-duration: 0.5s;
    background: var(--primary);
  }
}
.menu__item {
  display: flex;
  flex-direction: column;
  padding: 0 1em 0 1.9em;
  color: #ffffff;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  text-transform: uppercase;
  text-align: left;
  margin: 0.5em auto;
  width: 100%;
  max-width: 270px;
  border-radius: 10px;
}
@media screen and (max-width: 48em) {
  .menu__item {
    display: block;
    padding: 12px 24px;
    color: #ffffff;
    font-size: 18px;
    transition-duration: 0.5s;
  }
  .menu__item:hover {
    background-color: var(--title);
  }
}
#menu__toggle {
  opacity: 0;
}
#menu__toggle:checked ~ .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked ~ .menu__btn > span::before {
  top: 0;
  transform: rotate(0);
  background: #FFF
}
#menu__toggle:checked ~ .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
  background: #FFF;
}
#menu__toggle:checked ~ .menu__box {
  visibility: visible;
  left: 0;
  margin: 0;
}
.menu__btn {
  position: absolute;
  transition-duration: 0.25s;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  right: 5px;
  top: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 200;
  background: var(--primary);
  border: 5px solid var(--primary);
}
.menu__btn span {
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
}
.menu__btn span::before {
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  content: '';
  top: -10px;
  transition-duration: 0.25s;
}
.menu__btn span::after {
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  content: '';
  top: 10px;
  transition-duration: 0.25s;
}
@media screen and (min-width: 48em) {
  .menu__btn {
    display: none;
  }
}
.btn_f {
  background: #fff;
  color: var(--primary);
}
/*footer*/
#footer {
  background: var(--primary);
  color: #FFF;
  width: 100%;
  margin: 0;
  text-align: center;
  padding: 5em 0 0;
}
.footer_btn {
  width: 70%;
  margin: 2em auto;
}
.footer_btn li {
  background: #FFF;
  border-radius: 5px;
  margin: 6px;
  position: relative;
  transition: 0.3s;
}
.footer_btn li a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 3vh 1.5vh;
}
.footer_btn li:hover {
  transition: 0.3s;
  background: var(--base) !important;
  opacity: 0.8;
}
.footer_btn .footer_btn_sub {
  background: var(--primary);
  border-radius: 5px;
  margin: 6px;
  position: relative;
  border: 2px solid;
  transition: 0.3s;
}
.footer_btn .footer_btn_sub a {
  color: #FFF !important;
  padding: 5px 15px;
}
.footer_btn .footer_btn_sub:hover {
  background: var(--text) !important;
  transition: 0.3s;
  opacity: 1 !important;
}
@media screen and (max-width: 48em) {
  .footer_btn {
    margin: 2em auto;
  }
  .footer_btn li {
    background: #FFF;
    border-radius: 5px;
    margin: 6px;
    position: relative;
    width: 100%;
    max-width: 400px;
    text-align: center;
  }
}
.c {
  display: block;
  padding: 5px;
  background: #222;
  color: #fff;
  font-size: 12px;
  text-align: center;
}
/*senpai*/
#senpai a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.senpai {
  position: relative;
}
.senpai_page .inner {
  margin: 2em auto;
}
.senpai_page figure img{width:100%;}

.senpai_area {
  position: relative;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap
}
.senpai_info {
  display: block;
  color: #FFF !important;
  background: linear-gradient(45deg, rgba(0, 97, 190, 1) 0%, rgba(47, 153, 255, 01) 100%);
  border-radius: 10px;
  position: absolute;
  bottom: 0;
  padding: 0.2em var(--space) 0.7em;
  width: 95%;
  margin: 0 auto;
  box-sizing: border-box;
}
.senpai_area .senpai_info {
  display: block;
  color: #FFF !important;
  background: linear-gradient(45deg, rgba(0, 97, 190, 1) 0%, rgba(47, 153, 255, 01) 100%);
  border-radius: 10px;
  position: relative;
  bottom: 0;
  padding: 1em;
  width: 80%;
  margin: -100px auto 1em;
  box-sizing: border-box;
  font-size: clamp(0.875rem, 2vw, 1rem);
}
.senpai_area .name {
  font-size: 2em;
  font-weight: 600;
}
.belong {
  background: #fff;
  color: var(--title);
  font-size: 0.8rem;
  display: inline-block;
  padding: 0px 5px;
  border-radius: 5px;
}
.name {
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0;
}
.caption {
  font-size: 0.75rem;
  margin: 0;
}
.comment {
  margin: 1.5em auto;
  padding: 1em 0;
  background: url("./bg_comment.png") #F2FAFF;
}
.comment p {
  background: #FFF;
  border-radius: clamp(0.5rem, 2vw, 1rem);
  font-size: clamp(0.875rem, 2vw, 1.25rem);
  padding: 1em;
  margin: clamp(2rem, 2vw, 1rem) clamp(0.5rem, 4vw, 1rem);
}
.comment h5 {
  color: var(--title);
}
#message .senpai {
}
@media screen and (max-width: 48em) {
  .senpai_area .belong {
    font-size: 0.6rem;
  }
  .senpai_area .senpai_info {
    border-radius: 10px;
    position: relative;
    bottom: 50px;
    padding: 1em;
    width: 95%;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .senpai_area .name {
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0;
  }
  .senpai_area .caption {
    font-size: 0.6rem;
    line-height: 1.2;
    margin: 0;
  }
  .senpai_area .senpai_info .caption {
    padding: 0 !important;
  }
  .senpai_area .senpai_info p {
    font-size: 0.9em;
    padding: 0.7em !important;
    margin: 0 !important;
  }
}
@media screen and (min-width: 48em) {
  .senpai_text {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
  }
  .senpai_text .inner {
    width: 50%;
    margin: 1em 0;
  }
}
/*会社概要*/
.company_page .inner {
  margin: 2em auto;
}
.company_info {
  padding: 2em 0;
  margin: 2em auto;
}
.company_page i {
  font-style: normal !important;
  color: var(--gray);
  font-size: 0.8em;
  font-weight: 600;
}
.company_page i::before {
  content: "●"; /* ●を追加 */
  margin-left: -1.3em;
  padding-right: 0.5em;
  color: var(--sub); /* ●の色 */
  font-size: 0.8em; /* ●のサイズ */
}
/*job*/
#job .card .link_area, #job .card .link_area ul, #job .card .link_area li {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
}
#job .card .link_area ul {
  margin: 1em auto;
}
#job .card .link_area li {
  border-bottom: 1px solid var(--gray);
}
#job .card .link_area li:first-child {
  border-top: 1px solid var(--gray);
}
#job .card .link_area li::before {}
#job .card .link_area li a {
  display: flex;
  margin: 0 auto;
  padding: 1em 2em;
  position: relative;
  transition: 0.3s;
}
#job .card .link_area li a::before {
  content: '';
  position: absolute;
  top: calc(50% - 1px);
  right: 1em;
  transform: translateY(calc(-50% - 2.3px)) rotate(30deg);
  width: 12px;
  height: 1px;
  background-color: var(--title);
  transition: 0.3s;
}
#job .card .link_area li a::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  width: 50px;
  height: 1px;
  background-color: var(--title);
  transition: 0.3s;
}
#job .card .link_area li a:hover {
  text-decoration: none;
  background-color: var(--base);
  color: var(--title);
}
#job .card .link_area li a:hover::before, #job .card .link_area li a:hover::after {
  right: 0.5em;
}