@charset "UTF-8";

/*
COMMON
================================================ */
body {
  font-size: 15px;
  font-family: Georgia, '游明朝', YuMincho, 'Hiragino Mincho ProN', Meiryo, serif;
  line-height: 1.8;
}

a{
  text-decoration: none;
  color: #444444;
}

ul{
  list-style:none;
}

.container{
  max-width:1800px;
  width:90%;
  margin: 0 auto;
}

.fadein{
  opacity: 0;
}

.fadeleft{
  opacity:0;
}

.faderight{
  opacity:0;
}

/* スクロールロック用 */
body.is-locked {
  overflow: hidden;
}

/* アンダーライン用 */
.top-text h1::after, 
.main-title h1::after, 
.middle-title h1::after
 {
  transform: scaleX(0);
  transform-origin: left;
}

.container-top{
  max-width:1800px;
  width:90%;
  margin: 0 auto;
}

@keyframes underline-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.is-visible::after {
  animation: underline-grow 0.8s ease-out forwards;
}

/*
header
================================================ */
header{
  background-color: rgba(255, 251, 233, 0.5);
  padding-bottom: 60px;
}

.header-container{
  max-width: 95%;
}

.header-container ul{
  display: flex;
  justify-content: flex-end;
}

.header-container ul li{
  margin-top: 30px;
  margin-right: 50px;
  font-weight: bold;
}

.header-container ul li a{
  color:#111111;
  transition:all 0.3s;
}

.header-container ul li a:hover{
  color:#ff9933;
}

/*
top-wrapper
================================================ */
.top-wrapper{
  background-color: rgba(255, 251, 233, 0.5);
  background-image: url(image/image2.png);
  background-repeat: no-repeat;   /* ← 重要 */
  background-size: 600px;
  height: 100vh;                  /* 高さを明示 */
  position:relative;
}

/* 背景画像 */
.background-image{
  position:relative;
}

.background-image img{
  position:absolute;
}

.background-image img:nth-child(1){
  width:100px;
  left:800px;
  top:5%;
}

.background-image img:nth-child(2){
  z-index:-1;
  left:800px;
}

.background-image img:nth-child(3){
  left:700px;
  top:60px;
  z-index:-1;
}

.background-image img:nth-child(4){
  width:220px;
  left:600px;
  top:470px;
}

.background-image img:nth-child(5){
  left:100px;
  top:600px;
}

.background-image img:nth-child(6){
  left:700px;
  top:700px;
}

.background-image img:nth-child(7){
  left:500px;
  top:700px;
}

.background-image img:nth-child(8){
  left:350px;
  top:700px;
}

.background-image img:nth-child(9){
  left:800px;
  top:400px;
  z-index:-1;
}

/* 内容 */
.top-box{
  display: flex;
  padding-top: 100px;
}

.top-contents{
  width:50%;
  display: flex;
  align-items: center;
  margin-left: 10%;
  color:#0339FF;
}

.top-text h1{
  margin-top: 5px;
  margin-bottom: 40px;
  font-size:48px;
  font-weight: bold;
  position:relative;
  width:fit-content;
}

.top-text h1::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 120%;
  height: 12px;

  background: #FFD100;

  /* 左太・右細 */
  clip-path: polygon(
    0 0,
    100% 50%,
    100% 50%,
    0 100%
  );

  border-radius: 999px;
}

.text-p{
  font-size:20px;
  font-weight: bold;
  color:#111;
}

.top-image{
  width:50%;
  margin-right: 10%;
}

.top-image img{
  width:100%;
  border-radius: 30px;
}

/*
main-wrapper
================================================ */
.main-wrapper{
  background-color: rgba(255, 251, 233, 0.5);
  padding-bottom: 175px;
}

.main-title{
  padding-top: 100px;
  padding-bottom: 30px;
  color:#0339FF;
}

.main-title h1{
  margin-top: 5px;
  margin-bottom: 40px;
  font-size:42px;
  font-weight: bold;
  position:relative;
  width:fit-content;
}

.main-title h1::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 120%;
  height: 12px;

  background: #FFD100;

  /* 左太・右細 */
  clip-path: polygon(
    0 0,
    100% 50%,
    100% 50%,
    0 100%
  );

  border-radius: 999px;
}

.main-title-p{
  font-size:20px;
  font-weight: bold;
  color:#111;
}

.main-contents{
  padding-top: 80px;
  padding-left: 80px;
  padding-bottom: 150px;
  background-color: #fff;
  border-radius:30px;
  position:relative;
}

.reason{
  width:90%;
  border-bottom: 5px dotted #FFD100 ;
  padding-bottom:30px;
  position:relative;
}

.reason img{
  position:absolute;
  right:30px;
  top:-60px;
  width:200px;
}

.reason h1{
  color:#0339FF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.recruit-contents{
  margin-top: 100px;
  display: flex;
}

.recruit-text{
  width:30%;
}

.recruit-text ul li{
  margin-bottom: 20px;
}

.recruit-text ul li h1{
  width:fit-content;
  border-bottom:1px solid #FFD100;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color:#0339FF;
}

.recruit-text ul li h1 span{
  color:#111;
  font-weight: normal;
  margin-right: 10px;
}

.recruit-text ul li p{
  color:#111;
  font-size:16px;
}

.recruit-image{
  width:50%;
  margin: 0 auto;
}

.recruit-image img{
  width:100%;
  border-radius: 20px;
}

.contents-decoration span{
  width: 20px;
  height: 6px;
  display: block;
  background-color: #FFD100;
  border-radius: 2px;
  position: absolute;
}

.contents-decoration span:first-child{
  width:3%;
  right:-0.5%;
  bottom:1%;
  rotate: calc(-45deg);
}

.contents-decoration span:nth-child(2){
  width:6%;
  right:-1%;
  bottom:3%;
  rotate: calc(-45deg);
}

.contents-decoration span:last-child{
  width:9%;
  right:-1.5%;
  bottom:4.5%;
  rotate: calc(-45deg);
}

/*
middle-wrapper
================================================ */
.middle-wrapper{
  background-color: rgba(255, 251, 233, 0.5);
  padding-bottom: 175px;
}

.middle-title{
  padding-top: 100px;
  padding-bottom: 30px;
  color:#0339FF;
}

.middle-title h1{
  margin-top: 5px;
  margin-bottom: 40px;
  font-size:42px;
  font-weight: bold;
  position:relative;
  width:fit-content;
}

.middle-title h1::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 120%;
  height: 12px;

  background: #FFD100;

  /* 左太・右細 */
  clip-path: polygon(
    0 0,
    100% 50%,
    100% 50%,
    0 100%
  );

  border-radius: 999px;
}

.middle-title-p{
  font-size:20px;
  font-weight: bold;
  color:#111;
}

.condition{
  width:80%;
  padding-top: 80px;
  padding-left: 80px;
  padding-bottom: 150px;
  background-color: #fff;
  border-radius:30px;
}

.condition-row{
  display: flex;
  margin-bottom: 30px;
  font-weight: bold;
}

.condition-row dt{
  width:15%;
  padding-left: 10px;
  padding-bottom: 30px;
  margin-right: 80px;
  border-bottom: 1px solid #FFD100;
}

.condition-row dd{
  width:60%;
  border-bottom: 1px solid #111;
}

/*
footer
================================================ */
footer{
  background-color: rgb(38, 39, 40); 
  color:#ffffff
}

.footer-list{
  display: flex;
  justify-content: center;
  padding-top: 50px;
  padding-bottom: 50px;
}

.list-title{
  margin-bottom: 30px;
}

.footer-list1,
.footer-list2,
.footer-list3,
.footer-list4{
  padding-right: 100px;
}

.footer-list1 ul li,
.footer-list2 ul li,
.footer-list3 ul li,
.footer-list4 ul li{
  margin-bottom: 10px;
}

.footer-list1 ul li a,
.footer-list2 ul li a,
.footer-list3 ul li a,
.footer-list4 ul li a{
  color:#ffffff
}

.footer-list a{
  transition:all 0.3s;
}

.footer-list a:hover{
  color:#ff9933;
}

@media(max-width:1280px){

  .container-top{
    width:100%;
  }

  /*
  main-wrapper
  ================================================ */
  .top-box{
    display:flex;
  }

  .top-contents{
    width:50%;
    display: flex;
    align-items: start;
    color:#0339FF;
    margin-left: 10px;
    margin-right: 30px;
  }

  .top-text h1::after{
    width:100%;
  }

  .top-image{
    margin-right: 20px;
  }
  

  /*
  main-wrapper
  ================================================ */
  .recruit-contents{
    flex-direction: column-reverse;
  }

  .recruit-text{
    width:80%;
    margin-top:80px;
  }

  .recruit-image{
    width:90%;

  }

  .contents-decoration span:first-child{
    width:3%;
    right:-0.5%;
    bottom:0.5%;
    rotate: calc(-45deg);
  }
  
  .contents-decoration span:nth-child(2){
    width:6%;
    right:-1%;
    bottom:1%;
    rotate: calc(-45deg);
  }
  
  .contents-decoration span:last-child{
    width:9%;
    right:-1.5%;
    bottom:1.5%;
    rotate: calc(-45deg);
  }

  /*
    footer
    ================================================ */
    .footer-list1,
    .footer-list2,
    .footer-list3,
    .footer-list4{
      padding-right: 5vw;
    }
  
  }

  @media(max-width:768px){
  
    /* ハンバーガーメニュー */
  
     /*ハンバーガーメニュー 開閉ボタン */
  .btn-menu{
    position: fixed;
    right: 1rem;
    top: 1rem;
    z-index: 1000;
    padding: .5rem 1rem;
    height: 4rem;
    width: 4rem;
    transition: 1.0s;
  }
  
    /*ハンバーガーメニュー 非アクティブ */
    .btn-menu span{
      width: 50%;
      height: 3px;
      display: block;
      background-color: #111;
      border-radius: 2px;
      position: absolute;
      transition:
        top 0.5s ease,            /* 上下に動く速度 */
        transform 0.5s, /* 回転の開始を0.3秒遅らせる */
        opacity 0.5s ease;        /* 真ん中の線のフェード用 */
    }
  
    .btn-menu span:first-child{
      top:33%;
    }
    
    .btn-menu span:nth-child(2){
      top:48%;
    }
    
    .btn-menu span:last-child{
      top:65%;
    }
  
    /* メニューの位置を中心に */
  .banner {
    position: fixed;        /* スクロールしても固定 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;           /* 全画面に広げる */
    background-color: rgba(0, 0, 0, 0.7); /* 半透明の背景（任意） */
    display: flex;           /* フレックスボックスにする */
    justify-content: center; /* 水平方向中央寄せ */
    align-items: center;     /* 垂直方向中央寄せ */
    z-index: 999;            /* 最前面に表示 */
    opacity: 0;             /* 透明にする */
    visibility: hidden;     /* クリックを無効にする */
    transition: opacity 0.4s ease, visibility 0.4s ease; /* フェードアニメーション */
  }
  
  .banner.show {
    opacity: 1;
    visibility: visible;
  }
  
  .banner ul {
    list-style: none;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;     /* 縦並びにする */
    justify-content: space-around; /* 均等配置 */
    height: 50%;                 /* 均等配置のための高さ（調整可） */
    text-align: center;
  }
  
  .banner ul li{
    padding: 0;
  }
  
  .banner li a {
    color: white;             /* テキストカラー（任意） */
    font-size: 24px;          /* 大きめの文字（任意） */
    text-decoration: none;
  }
  
  /* li を初期状態で非表示にする */
  .banner li {
    opacity: 0;
    transform: translateY(20px);
  }
  
  /* show クラスがついたらアニメーション開始 */
  .banner.show li {
    animation: fadeUp 1.5s ease forwards;
  }
  
  /* ハンバーガーメニュー表示中の文字色を白にする */
  .banner.show li a {
    color: #ffffff;
  }
  
  /* フェードアップの定義 */
  @keyframes fadeUp {
    0% {
      opacity: 0;
      transform: translateY(20px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* 順番にディレイをかける（重要！） */
  .banner li:nth-child(1) {
    animation-delay: 0.1s;
  }
  .banner li:nth-child(2) {
    animation-delay: 0.3s;
  }
  .banner li:nth-child(3) {
    animation-delay: 0.5s;
  }
  .banner li:nth-child(4) {
    animation-delay: 0.7s;
  }
  
  .banner li:nth-child(5) {
    animation-delay: 0.9s;
  }
  
  /* 中央に集まる動き（closing中） */
  #btn-menu.closing span:nth-child(1),
  #btn-menu.closing span:nth-child(3) {
    top: 48%; /* 真ん中に寄る */
    transform: none;
  }
  
  /* バツ（active中） */
  #btn-menu.active span:nth-child(1) {
    top:48%;
    transform: rotate(45deg);
    background-color: #ffffff;
  }
  
  #btn-menu.active span:nth-child(2) {
    opacity: 0;
  }
  
  #btn-menu.active span:nth-child(3) {
    top:48%;
    transform: rotate(-45deg);
    background-color: #ffffff;
  }
  
  #btn-menu.active:hover{
    background-color: #ff9933;
  }
  
  /*
  top-wrapper
  ================================================ */
  .top-wrapper{
    height:115vh;
  }

  .background-image img:nth-child(1){
    width:100px;
    left:70%;
    top:50px;
    z-index:-1;
  }
  
  .background-image img:nth-child(2){
    z-index:-1;
    left:0px;
  }
  
  .background-image img:nth-child(3){
    left:75%;
    top:150px;
    z-index:0;
  }
  
  .background-image img:nth-child(4){
    width:220px;
    left:65%;
    top:890px;
  }
  
  .background-image img:nth-child(5){
    left:5%;
    top:930px;
  }
  
  .background-image img:nth-child(6){
    left:55%;
    top:950px;
  }
  
  .background-image img:nth-child(7){
    left:50%;
    top:1000px;
  }
  
  .background-image img:nth-child(8){
    left:35%;
    top:950px;
  }
  
  .background-image img:nth-child(9){
    left:0px;
    top:600px;
    z-index:-1;
  }

  .top-box{
    flex-direction:column;
  }

  .top-contents{
    width:100%;
    margin-left: 30px;
    display: block;
  }

  .top-image{
    width:90%;
    margin: 0 auto;
    padding-top: 80px;
  }

  /*
  main-wrapper
  ================================================ */
  .main-wrapper{
    padding-bottom: 50px;
  }

  .main-contents{
    padding-left: 0px;
    padding-bottom: 100px;
  }
  
  .reason{
    width:100%;
  }

.reason img{
  right:0px;
  width:200px;
}

.contents-decoration span:first-child{
  bottom:0%;
}

.contents-decoration span:nth-child(2){

  bottom:0.4%;
}

.contents-decoration span:last-child{
  bottom:0.8%;
}

/*
  middle-wrapper
  ================================================ */
  .condition{
    width:100%;
    padding-left: 0px;
    padding-bottom: 50px;
  }

  .condition-row dt{
    width:30%;
    padding-left: 10px;
    margin-right: 20px;
  }

  /*
    footer
    ================================================ */
    .footer-list{
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding-top: 50px;
      padding-bottom: 50px;
    }
  
    .list-title{
      margin-bottom: 20px;
      border-bottom: 1px solid #ffffff;
    }
  
    .footer-list1,
    .footer-list2,
    .footer-list3,
    .footer-list4{
      margin-bottom: 15px;
      padding-bottom: 15px;
    }
  
    .footer-list1 ul li,
    .footer-list2 ul li,
    .footer-list3 ul li,
    .footer-list4 ul li{
      margin-bottom: 5px;
    }
  }