@charset "UTF-8";

/* 共通部分 */
*{
    margin: 0;
    padding: 0;
}

body{
  background-color: #06050f;
  font-family:serif;
  font-weight: bold;
}

main{
    padding: 3rem;
    color: rgb(180, 180, 180);
    align-items: center;
    text-align: center;
}

footer{
    text-align: center;
}

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

ul {
    list-style-type: none;
}

h1{
    text-align: center;
    margin-bottom: 2rem;
}

h2{
    margin-top:1rem;
    margin-bottom: 1rem;
}

h3{
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  background-color: #cccccc;
  color: #3a3956;
}

.txt_big {
    font-size: 1.5rem;
  }

.txt_cntr{
    text-align: center;
  }

.txt_lft{
  text-align: left;
}

.aln_cntr{
    align-items: center;
}

.fnt_wht{
  color:white;
}

/* ロゴとヘッダー */
header{
    width: 100%;
    height: 100px;
    padding: 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header a{
    color: rgb(200, 200, 200)
}

nav {
    width: 50%;
}

nav ul {
    display: flex;
    justify-content: space-around;
}

.m_button a:hover {
    color: rgb(27, 16, 54);
    background-color: cornflowerblue;
    transition: all 0.5s;
    font-size: 1.5rem;
}

/*---ふわっ---*/
.fadeUp{
  animation-name:fadeUpAnime;
  animation-duration:1.5s;
  animation-fill-mode:forwards;
  opacity:0;
  }
  
  @keyframes fadeUpAnime{
    from {
      opacity: 0;
    transform: translateY(100px);
    }
  
    to {
      opacity: 1;
    transform: translateY(0);
    }
  }
   
  .scrollTrigger{
      opacity: 0;
  }


/* ===================================
    index.html
====================================== */
.top{
  background-image: url(../images/top.png);
  object-fit: cover;
}

.top_anime{
  display: block;
  margin: auto;
  width: 60%;
}

.sctn_top{
  background-image:url(../images/bg_color.png);
  color: #878d96;
  text-align: center;
}

.sctn_top img{
  display: block;
  margin: auto;
}

.wrapper_top{
  padding-left:10rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stf_img{
  height: 10%;
  width: auto;
}

/* 右に吹き出しがある */
.rgt_balloon {
	padding:2rem;
	margin: 1.5em 0;
  min-width:12em;
  max-width:100%;
  font-size: 16px;
  text-align:left;
	color: #0e0f14;
	background: #e0def5;
  border-radius:.5em;
	position: relative;
}
.rgt_balloon:after{
	content: "";
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-right: 10px solid #e0def5;
	border-bottom: 10px solid transparent;
	border-left: 10px solid transparent;
	position: absolute;
	left: -20px;
	top: 50%;
	margin-top: -10px;
}

/* 左に吹き出しがある */
.lft_balloon {
	padding:2em;
	margin: 1.5em 0;
  min-width:12em;
  max-width:100%;
  font-size: 16px;
  text-align:left;
	color: #0e0f14;
	background: #e0def5;
  border-radius:.5em;
	position: relative;
}
.lft_balloon:after{
	content: "";
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 10px solid #e0def5;
	position: absolute;
	right: -20px;
	top: 50%;
	margin-top: -10px;
}


/* ===================================
    occupation.html（対応職種）
====================================== */
  .ocptn {
    display: grid;
    gap:30px;
    grid-template-columns: repeat(auto-fit,minmax(360px,1fr));
    max-width: 1200px;
    margin:auto;
  }

.hd_box{
margin-top: 2rem;
padding: 20px;
background: #302b57;
color: #fff;
box-sizing:border-box;
text-align: center;
}

.box{
  aspect-ratio: 4 / 3;
  padding: 20px;
  background: #666;
  color: #fff;
  box-sizing:border-box;
  text-align: center;
}

.box img{
  width:90%;
    height:auto;
}


/* ===================================
    guide.html（ご利用ガイド）
====================================== */
.flow{
  background-color: #595959;
  width: 80%;
  padding:1rem;
/*   margin:0 2rem 2rem; */
  margin:auto;
}

.flow p{
  padding: 0 4rem;
}
/* .kubun{
  font-size: 1.5rem;
} */

.flow2{
  background-color: #595959;
  width: 80%;
  padding:1rem;
/*   margin:0 2rem 2rem; */
  margin:auto;
}

.plan{
  display: grid;
  gap:30px;
  grid-template-columns: repeat(auto-fit,minmax(400px,1fr));
  max-width: 1020px;
  margin:auto;
  padding:30px;
}

.plan li{
  background-color: rgb(188, 199, 209);
  color: #0b0848;
  text-align: center;
  width: 90%;
}

.plan p{
  padding-right: 3rem;
  padding-left: 3rem;
}

.plan img{
  padding-top: 3rem;
  padding-bottom:  3rem;
  width: 60%;
  height: auto;
}

li .txt_big{
  padding:2rem;
}

/* ===================================
    contact.html
====================================== */
.cntnr_cntct{
  display: flex;
  justify-content: space-around;
}

.inner{
  background-color: #595959;
  padding:2rem;
  width:40%;
}

form div {
  margin-bottom: 14px;
}

label {
  font-size: 1.125rem;
  margin-top:40px;
  margin-bottom: 10px;
  display: block;
}

input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    background: rgb(200, 200, 200);
    border: 1px #fff solid;
    border-radius: 2px;
    padding: 10px;
    font-size: 1rem;
  }
  
  input[type="text"],
  input[type="email"] {
    width: 100%;
    max-width: 240px;
  }
  
  textarea {
    width: 90%;
    max-width: 480px;
    height: 6rem;
  }

  .rq_button{
    display       : inline-block;
    border-radius : 5%;         
    font-size     : 14pt;       
    text-align    : center;     
    cursor        : pointer;     
    padding       : 18px 39px;  
    background    : #909090;    
    color         : #3b3b3b;    
    line-height   : 1em;                
    box-shadow    : 6px 6px 3px #666666;  
    border        : 2px solid #909090; 
    /* 入力しないと表示しない */
/*     visibility: hidden; */   
  }
  
  .qa_button {
    display       : inline-block;
    border-radius : 5%;          
    font-size     : 14pt;        
    text-align    : center;      
    cursor        : pointer;     
    padding       : 18px 39px;   
    background    : #909090;          
    color         : #3b3b3b;          
    line-height   : 1em;         
    box-shadow    : 6px 6px 3px #666666;  
    border        : 2px solid #909090;
    /* 入力しないと表示しない */
/*     visibility: hidden;  */    
  }
  .rq_button:hover{
    box-shadow    : none;        
    color         : #cccccc;     
    background    : #595959;     
  }
  .qa_button:hover {
    box-shadow    : none;        
    color         : #cccccc;     
    background    : #595959;     
  }


/* ===================================
    Q & A ページ
====================================== */

details{
  margin-left: auto;
  margin-right: auto;
}

.qa_accordion {
    margin-bottom: 7px;
    background-color: rgb(180,180,180);
    border-radius: 5px;
    width: 70%;
}

.qa_accordion summary {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 1em 2em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.qa_accordion summary::-webkit-details-marker {
    display: none;
}

.qa_accordion summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #54527a;
    border-right: 3px solid #41407d;
    content: '';
    transition: transform .3s;
}

.qa_accordion[open] summary::after {
    transform: rotate(225deg);
}

.qa_accordion p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 2em 1.5em;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

.qa_accordion[open] p {
    transform: none;
    opacity: 1;
}

details p{
  background-color: #dedbf7;
}

/* モバイル設定 */

@media(max-width:600px){

    header{
        flex-direction: column;
        height:60%
    }
    
    .logo img{
        width: 60%;
    }

    .openbtn{
        display: block;  /* none →　見えるように */
        position: fixed;  /* 定位置に置く */
        top: 30px;
        right: 30px;
        background:#57a2c7;
        cursor: pointer;
          width: 50px;
          height:50px;
        border-radius: 5px;
      }
      
      /*ボタン内側*/
      .openbtn span{
          display: inline-block;  
          transition: all .4s;/*アニメーションの設定*/
          position: absolute;
          left: 14px;
          height: 3px;
          border-radius: 2px;
        background: #000;   /* メニューマークの線の太さをつける */
          width: 45%;
        }
      
      .openbtn span:nth-of-type(1) {
        top:15px; 
      }
      
      .openbtn span:nth-of-type(2) {
        top:23px;
      }
      
      .openbtn span:nth-of-type(3) {
        top:31px;
      }
      
      /*activeクラスが付与されると線が回転して×に*/
      
      .openbtn.active span:nth-of-type(1) {
          top: 18px;
          left: 18px;
          transform: translateY(6px) rotate(-45deg);
          width: 30%;
      }
      
      .openbtn.active span:nth-of-type(2) {
        opacity: 0;/*真ん中の線は透過*/
      }
      
      .openbtn.active span:nth-of-type(3){
          top: 30px;
          left: 18px;
          transform: translateY(-6px) rotate(45deg);
          width: 30%;
      }
    
    
    /* ヘッダーメニューを外側に配置 */
    nav{
      position: fixed;
      top: 0;
      right: -100vw;  /* 画面枠の横にずらして待機させる */
      width: 100vw;
      height: 100vh;
      background-color: rgba(255, 255, 255, .8);
      transition: right 1s;
    }
    
    nav.open{
      right: 0;
      transition: right 1s;
    }
    
    nav ul{
      height: 100%;
      flex-direction: column;
      justify-content: space-evenly;
    }
    
    nav ul li{
      text-align: center;
      font-size: 1.5rem;
    }
    
    /* 【ここまで】ヘッダーメニューを外側に配置 */
    }