@charset "UTF-8";
@media screen and (min-width: 768px),print {

  main {
    width: 100% !important;
    margin: 0 !important;
  }

  #main {
    margin: 0 0 100px;
    min-height: 740px;
    padding: 250px 0 0;
    text-align: center;
    background: url('../images/staff/bg-main.jpg') no-repeat center 40px;
  }
  #main h2 {
    margin-bottom: 10px;
  }
  #main p {
    font-size: 24px;
    font-family: fot-klee-pro, sans-serif;
  }

  #page-staff h3.title {
    text-align: center;
    font-size: 38px;
    font-weight: bold;
    margin: 0 0 50px;
    line-height: 1.1;
    letter-spacing: 3.0px;
    font-family: fot-tsukuardgothic-std, sans-serif;
  }
  #page-staff .greetingbox {
    padding: 0 0 120px;
    background: url('../images/staff/bg-box.jpg') no-repeat center bottom;
  }
  #page-staff .flbox {
    width: 1100px;
    margin: 0 auto 70px;
    display: flex;
    justify-content: space-between;
  }
  #page-staff .flbox .txtbox {
    width: 550px;
    font-size: 16px;
    line-height: 2.0;
  }
  #page-staff .flbox .txtbox p {
    margin: 0 0 30px;
  }
  #page-staff .flbox .txtbox span.color {
    color: #D83926;
  }
  #page-staff .picbox {
    width: 480px;
    position: relative;
  }
  #page-staff .picbox .txt {
    text-align: center;
    width: 260px;
    position: absolute;
    left: 110px;
    bottom: 0;
    font-size: 16px;
    padding: 15px 0;
    background: #fff;
  }
  #page-staff h4.ttl {
    font-size: 26px;
    font-weight: bold;
    margin: 0 0 40px;
    line-height: 1.6;
    letter-spacing: 1.0px;
    font-family: fot-tsukuardgothic-std, sans-serif;
  }
  #page-staff h4.ttl span {
    background: linear-gradient(transparent 60%, #EAE4D7 60%);
  }

  #stafflist {
    padding: 80px 0 50px;
    background: #F8F6F1;
  }
  #stafflist .ttl {
    text-align: center;
    margin: 0 0 50px;
  }
  #staff .system-list{
    width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
  }
  #staff .system-list li{
    line-height: 1.4;
    width: 360px;
    margin-right: 10px;
    background: #fff;
    position: relative;
    margin-bottom: 50px;
    padding: 20px 20px 70px;
    border: 2px solid #EAE4D7;
  }
  #staff .system-list li:nth-child(3n){
    margin-right: 0;
  }
  #staff .system-list li a:hover{ text-decoration: none; }
  #staff .system-list .btn{
    position: absolute;
    text-align: center;
    background: #D83926;
    color: #fff;
    font-size: 16px;
    width: 200px;
    left: 50%;
    bottom: 30px;
    margin: 0 0 0 -100px;
    padding: 10px 0%;
  }
  #staff .system-pic{
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
    overflow: hidden;
    text-align: center;
  }
  #staff .system-pic img{
    height: 200px;
  }
  #staff .system-job{
    margin-bottom: 10px;
  }
  #staff .system-name{
    font-size: 18px;
    margin-bottom: 5px;
  }
  #staff .system-kana{
    margin: 0 0 30px;
  }


  .pagen  {
    width: 1200px;
    margin: 0 auto 30px;
  }
  #staff .system-contents1{
    border: 2px solid #EAE4D7;
    width: 900px;
    margin: 0 auto 50px;
    padding: 50px;
  }
  #staff .system-info-box {
    display: flex;
    justify-content: space-between;
  }
  #staff .system-contents1 .system-info {
    width: 430px;
  }
  #staff .system-contents1 .system-job{ 
    margin: 0 0 10px 20px;
  }
  #staff .system-contents1 .system-name{
    font-size: 18px;
    line-height: 1.7;
    text-align: left;
    margin: 0 0 0 20px;
  }
  #staff .system-contents1 .system-kana{
    margin: 0 0 10px 20px;
  }
  #staff .system-contents1 .system-i-pic{
    width: 320px;
    text-align: center;
  }
  #staff .system-contents1 .system-i-pic img{
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
  }
  #staff .system-contents1 .wysiwyg{
    border-top: 1px solid #1B1B1B;
    padding: 30px 0 0 20px;
    margin: 0;
  }

  #staff .back-btn{
    text-align: center;
    font-size: 16px;
    line-height: 1.0;
    width: 200px;
    margin: 0 auto 120px;
    
  }
  #staff .back-btn a {
    color: #fff;
    display: block;
    padding: 20px 0;
    background: #D83926;
  }
  #staff .back-btn a:hover {
    text-decoration: none;
  }

  #staff .bnr {
    width: 640px;
    margin: 0 auto 120px;
    display: flex;
    justify-content: space-between;
  }



 
 

  }






@media screen and (max-width: 767px) {

#main {
    margin: 0 0 8vw;
    padding: 20vw 0 30vw;
    text-align: center;
    background: url('../images/staff/bg-main.jpg') no-repeat center top;
    background-size: 110%;
  }
  #main h2 {
    width: 70vw;
    margin: 0 auto 5vw;
  }
  #main p {
    font-size: 3.7vw;
    font-family: fot-klee-pro, sans-serif;
  }

  #page-staff h3.title {
    text-align: center;
    font-size: 6.0vw;
    font-weight: bold;
    margin: 0 0 3vw;
    line-height: 1.1;
    letter-spacing: 2.0px;
    font-family: fot-tsukuardgothic-std, sans-serif;
  }
  #page-staff .greetingbox {
    padding: 0 0 10vw;
    background: url('../images/staff/bg-box.jpg') no-repeat center bottom;
  }
  #page-staff .flbox {
    margin: 0 0 6vw;
  }
  #page-staff .flbox .txtbox {
    font-size: 3.7vw;
    line-height: 1.8;
    padding: 0 3vw;
  }
  #page-staff .flbox .txtbox p {
    margin: 0 0 30px;
  }
  #page-staff .flbox .txtbox span.color {
    color: #D83926;
  }
  #page-staff .picbox {
    position: relative;
  }
  #page-staff .picbox .txt {
    text-align: center;
    width: 70%;
    position: absolute;
    left: 15%;
    bottom: 0;
    font-size: 3.7vw;
    padding: 3vw 0;
    background: #fff;
    margin: 0 !important;
  }
  #page-staff h4.ttl {
    font-size: 4.5vw;
    font-weight: bold;
    margin: 0 0 4vw;
    line-height: 1.6;
    font-family: fot-tsukuardgothic-std, sans-serif;
  }
  #page-staff h4.ttl span {
    background: linear-gradient(transparent 60%, #EAE4D7 60%);
  }

  #stafflist {
    padding: 6vw 0;
    background: #F8F6F1;
  }
  #stafflist .ttl {
    margin: 0 2vw 5vw;
  }


  #staff .system-list{
    display: flex;
    flex-wrap: wrap;
    padding: 0 2vw;
  }
  #staff .system-list li{
    line-height: 1.4;
    width: 49%;
    margin-right: 2%;
    background: #fff;
    position: relative;
    margin-bottom: 5vw;
    padding: 3vw 3vw 15vw;
    border: 1px solid #EAE4D7;
  }
  #staff .system-list li:nth-child(2n){
    margin-right: 0;
  }
  #staff .system-list li a:hover{ text-decoration: none; }
  #staff .system-list .btn{
    position: absolute;
    left: 7%;
    bottom: 3vw;
    width: 86%;
    text-align: center;
    background: #D83926;
    color: #fff;
    font-size: 3.7vw;
    padding: 2vw 0;
  }
  #staff .system-pic{
    width: 100%;
    height: 100px;
    margin-bottom: 2vw;
    overflow: hidden;
    text-align: center;
  }
  #staff .system-pic img{
    height: 100px;
  }
  #staff .system-job{
    font-size: 3.4vw;
    margin-bottom: 2vw;
  }
  #staff .system-name{
    font-size: 3.8vw;
    margin-bottom: 1vw;
  }
  #staff .system-kana{
    font-size: 3.4vw;
    margin: 0 0 3vw;
  }


  .pagen  {

  }
  #staff .system-contents1{
    border: 2px solid #EAE4D7;
    margin: 0 2vw 5vw;
    padding: 5vw 3vw;
  }
  #staff .system-info-box {
  }
  #staff .system-contents1 .system-info {
    font-size: 3.4vw;
  }
  #staff .system-contents1 .system-job{ 
    margin: 0 0 2vw;
  }
  #staff .system-contents1 .system-name{
    font-size: 3.8vw;
    line-height: 1.7;
    text-align: left;
  }
  #staff .system-contents1 .system-kana{
    margin: 0 0 2vw;
  }
  #staff .system-contents1 .system-i-pic{
    text-align: center;
    margin: 0 0 4vw;
  }
  #staff .system-contents1 .system-i-pic img{
    max-width: 100%;
    max-height: 200px;
    width: auto;
    height: auto;
  }
  #staff .system-contents1 .wysiwyg{
    border-top: 1px solid #1B1B1B;
    padding: 4vw 0 0;
    margin: 0;
  }

  


#staff .back-btn{
    text-align: center;
    font-size: 3.7vw;
    line-height: 1.0;
    width: 70%;
    margin: 0 auto 10vw;
    
  }
  #staff .back-btn a {
    color: #fff;
    display: block;
    padding: 4vw 0;
    background: #D83926;
  }
  #staff .back-btn a:hover {
    text-decoration: none;
  }

  #staff .bnr {
    margin: 0 2vw 12vw;
    display: flex;
    justify-content: space-between;
  }
  #staff .bnr  li {
    width: 48%;
  }

  

}
