@charset "UTF-8";

#main {
  padding-top: 80px;
}

body {
  background-color: #C8DEF4;
}

#subtitle {
  background-image: url(/img/recruitment/subtitle.jpg);
}

#wrapper {
  position: relative;
  margin: -220px 15rem 100px;
  padding: 400px 8rem 70px;
}

.wrapper-sub-h3 {
  display: flex;
  align-items: center;
}

.material-symbols-outlined {
  color: #9F282A;
  transform: rotate(-90deg);
}

.sub-h3 {
  color: #000;
  position: static;
  margin-bottom: 0px;
  margin-left: 15px;
}

.sub-h3::after {
  content: none;
}

/*==================================================
スライダーのためのcss
===================================*/

.slider {
  position: absolute;
  top: 100px;
  z-index: 5;
}

.photo1 {
  max-width: 100%;
  width: 600px;
  height: auto;
  right: 0;
  left: 0;
  margin-left: auto;
  margin-right: auto;
}

.accordion-006 {
    max-width: 600px;
    margin: 15px auto;
    background-color: #c8def4;
    border-radius: 5px;
}

.accordion-006 summary {
  display: flex;
    position: relative;
    padding: 1em 60px 1em 2em;
    font-weight: 600;
    cursor: pointer;
}

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

.accordion-006 summary::after {
  position: absolute;
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    border-bottom: 3px solid #9F282A;
    border-right: 3px solid #9F282A;
    content: '';
    transition: transform .3s;
    right: 2rem;
    top: 46%;
}

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

.accordion-006 p {
    opacity: 0;
    margin: 0;
    padding: .3em 2em 1.5em;
    transition: transform .5s, opacity .5s;
}

.accordion-006[open] p {
    transform: none;
    opacity: 1;
}



/* タブレットサイズ */
@media screen and (max-width: 1000px) {


  #wrapper {
    margin: -220px 5rem 100px;
    padding: 400px 8rem 70px;
  }

}


/* スマートフォン */
@media screen and (max-width: 767px) {

  #main {
    padding-top: 60px;
  }

  #wrapper {
    margin: -180px auto 0px;
    padding: 280px 2rem 70px;
  }

  .photo1 {
    max-width: 350px;
  }

  .slider {
  top: 50px;

}


}