body{
  background-color: #F2F4F8;
}


.page-title {
position: relative;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
background-image: url('../images/company/company-top01_pc.jpg');
height: 1000px;
}

.page-title__inner {
position: absolute;
top: 0;
left: 0;
right: 0;
margin: auto;
background-color: rgba(40, 40, 40, 0.9);
}

.page-title__inner--cnt--h2 {
display: inline;
font-weight: bold;
color: #fff;
font-size: 45px;
letter-spacing: 0.2em;
border-bottom: 1px solid #fff6;
padding-bottom: 10px;
}

@media screen and (max-width: 1024px) {
.page-title {
  /*background-image: url('../images/company/company-top01_pc.jpg');*/
  height: 100vh;
}
.page-title__inner--cnt {
  padding: 12% 2% 3%;
}

.page-title__inner--cnt--h2 {
  font-size: 3.5rem;
}
}

@media screen and (max-width: 640px) {
.page-title {
  /*background-image: url('../images/company/company-top01_sp.jpg');*/
  height: 45vh;
}
.page-title__inner--cnt {
  padding: 20% 5% 7%;
}

.page-title__inner--cnt--h2 {
  font-size: 2.8rem;
}
}


#company-page {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 180px 20px 200px;
}

#company-page .section-company ul {
  max-width: 880px;
  width: 100%;
  margin: 0 auto 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #fff;
}

#company-page .section-company ul li {
  float: left;
}

#company-page .section-company ul li:first-of-type {
  width: 18%;
  margin-right: 2%;
}

#company-page .section-company ul li:last-of-type {
  width: 80%;
}

@media screen and (max-width: 1024px) {
  #company-page {
      padding: 10% 2% 20%;
  }
  #company-page .section-company ul {
      margin: 0 auto 6%;
  }
}

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

  #company-page {
      padding: 10% 3% 20% 3%;
  }
  #company-page .section-company ul li:first-of-type {
      width: 100%;
      margin-right: 0;
      margin-bottom: 2%;
      border-bottom: 1px solid #f1f1f1;
  }
  #company-page .section-company ul li:last-of-type {
      width: 100%;
  }

  #company-page {
    padding-top: 108px;
    padding-bottom: 0;
  }

  .greeting_wrap {
    padding-top: 0;
  }
}


.mission h2{
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.86px;
  line-height: 50px;
  margin-bottom: 76px;
}

.mission p{
  font-size: 16px;
  font-weight: 500;
  /*letter-spacing: 0.64px;*/
  line-height: 25px;
  margin-bottom: 24px;
}
.mission,
.greetin,
.section-company,
.access,
.staff{
  position: relative;
}

section.greeting.positionStiky {
  position: relative;
}
section.positionStiky>p {
position: sticky;
top: 150px;
transform: translateY(0);
}

.mission__wrap,
.greeting_wrap,
.staff_wrap,
.section-company,
.access_wrap {
  padding-top: 120px;
  padding-left:100px;
  border-bottom: 1px solid #000;
  padding-bottom:130px;
}

.access,
.access_wrap {
border: none;
}

.mission__wrap {
margin-top: -165px;
padding-left: 100px;
padding-bottom: 177px;
padding-top: 0;
}


.greeting .positionStiky>p {
position: sticky;
top: 150px;
transform: translateY(0);
}

.greeting {
padding-top: 120px;
}

.greeting p {
margin-bottom: 24px;
}

.greeting_wrap{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 0;
  margin-top: -120px;
}

.greeting_wrap .name{
  width: 300px;
}

.greeting_wrap .name span{
  display: block;
}

.greeting_wrap .name span:last-of-type{
  font-size: 13px;
  opacity: .4;
}


.greeting_wrap .name img{
  /* max-width: 90%; */
  height: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 40px;
}

.greeting_wrap p {
line-height: 1.8em;
font-size: 16px;
}

.greeting_wrap .name span.ja{
font-size: 24px;
margin-top: 0.3em;
/*margin-bottom: 0.3em;*/
  }

.greeting_wrap .txt-box{
width:calc(100% - 300px);
padding-left: 65px;
}

.greeting_wrap .txt-box h2{
  font-size: 32px;
  font-weight: 500;
  /*letter-spacing: 1.44px;*/
  line-height: 50px;
  }

.greeting_wrap .txt-box p {
font-weight: 500;
/*letter-spacing: 0.72px;*/
line-height: 29px;
margin-top: 36px;
margin-bottom: 0;

}

section.section-company{
  padding: 120px 0;
}


.mission > p ,
.greeting > p,
.section-company > p,
.access > p,
.staff > p {
  position: absolute;
  top: 80px;
  left: 0;
  font-size: 16px;
  font-weight: 500;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  border: 1px solid #000;
  border-width: 0 0 0 1px;
}

section.access iframe {
  width: 100%;
  margin-top: 32px;
}


.staff {
padding-top: 113px;
}

.staff_wrap {
padding-top: 0;
margin-top: 23px;
}

.staff_lists {
display: flex;
flex-direction: column;
gap: 158px;
margin-top: -40px;
}

.staff_card {
display: flex;
flex-direction: row-reverse;
justify-content: start;
gap: 67px;
padding: 74px 70px;
position: relative;
background: #fff;
width: 100%;
max-width: 1004px;
height: 408px;
}

.staff_list:nth-of-type(2) .staff_card {
flex-direction: row;
justify-content: end;
}
.staff_list:nth-of-type(2) .staff_card-image {
left: -66px;
right: auto;
}

.staff_card-image {
max-width: 300px;
height: auto;
object-fit: contain;
position: absolute;
top: -70px;
right: -66px;
z-index: 1;
}

.staff__card-body {
display: flex;
flex-direction: column;
}

.staff_card-position {
color: #333333;
font-size: 16px;
font-weight: 500;
line-height: 19px;
}

.staff_card-name {
color: #333333;
font-size: 24px;
font-weight: 500;
line-height: 29px;
margin-top: 17px;
}

.staff_card-name-en {
color: #333333;
font-size: 13px;
font-weight: 500;
line-height: 19px;
opacity: 0.4;
margin-top: 9px;
}

.staff_card-text {
color: #333333;
font-size: 16px;
font-weight: 500;
line-height: 29px;
margin-top: 40px;
width: 634px;
}

.staff_wrap ul li a span:first-of-type,
.staff_wrap ul li a span:last-of-type{
  font-size: 16px;
}
.staff_wrap ul li a span:nth-child(2){
  font-size: 24px;
}

.staff_wrap ul li a span:first-of-type,
.staff_wrap ul li a span:nth-child(2){
  margin-bottom: 20px;
}

.company_wrap {
margin-top: -68px;
}

.access {
padding-top: 120px;
}
.access p {
margin-bottom: 24px;
}

.access_wrap {
padding-top: 0;
margin-top: -94px;
}


/* 1240px以下 */
@media screen and (max-width:1240px) {

.staff p {
  margin-bottom: 0;
}

.staff_card {
  width: calc(100% - 67px);
  height: auto;
  padding: 74px 70px 77px;
}

.staff_card-body {
  width: calc(100% - 240px);
}

.staff_card-image {
  top: -71px;
  right: -67px;
}

.staff_list:nth-of-type(2) .staff_card-image {
  left: -67px;
  right: auto;
}

.staff_card-name {
  margin-top: 19px;
  line-height: 29px;
}

.staff_card-name-en {
  line-height: 16px;
  margin-top: 9px;
}

.staff_card-text {
  width: 100%;
}

}



/* 1024px以下 */
@media screen and (max-width:1024px){
  .staff_wrap ul li a .text-wrap{
  padding:3%;
  }

  .mission__wrap, .greeting_wrap, .staff_wrap, .company_wrap {
  padding-left:13%;
  }

  .staff_wrap {
    margin-top: 15px;
  }

  .staff p {
      margin-bottom: 0;
  }

  .staff_card {
    width: calc(100% - 67px);
    height: auto;
    padding: 74px 70px 77px;
  }

  .staff_card-body {
    width: calc(100% - 230px);
  }

  .staff_card-image {
    top: -71px;
    right: -67px;
  }

  .staff_list:nth-of-type(2) .staff_card-image {
    left: -67px;
    right: auto;
  }

  .staff_card-name {
    margin-top: 19px;
    line-height: 29px;
  }

  .staff_card-name-en {
    line-height: 16px;
    margin-top: 9px;
  }

  .staff_card-text {
    width: 100%;
  }
}



/* 900px以下 */
@media screen and (max-width:900px) {

  .staff_lists {
    gap: 370px;
    margin-top: 165px;
    align-items: center;
  }

  .staff_card {
    flex-direction: column;
    padding: 100px 25px 50px 25px;
    width: 500px;
    height: auto;
  }

  .staff_list:nth-of-type(2) .staff_card {
    flex-direction: column;
    justify-content: normal;
  }

  .staff_list:nth-of-type(2) .staff_card-image {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
  }

  .staff_card-image {
    top: -300px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .staff_card-body {
    width: 100%;
  }

  .staff_card-position,
  .staff_card-name,
  .staff_card-name-en {
    text-align: center;
  }

  .staff_card-text {
    width: 100%;
  }
}


/* 800px以下 */
@media screen and (max-width:800px) {

.greeting {
    padding-top: 85px;
}

.greeting_wrap .name span{
    text-align: center;
}
.greeting_wrap .name{
    width: 450px;
    margin-inline: auto;
}
.greeting_wrap .name img{
    max-width: 450px;
}

.greeting_wrap .txt-box{
    width:100%;
}

.greeting_wrap .txt-box h2 {
    font-size: 24px;
    line-height: 38px;
    margin-bottom: 24px;
    margin-top: 50px;
}
}


/* 640px以下 */
@media screen and (max-width:640px) {

  .greeting {
      padding-top: 85px;
  }

  .greeting_wrap .name span{
      text-align: right;
  }
  .greeting_wrap .name{
      width: 100%;
  }
  .greeting_wrap .name img{
      max-width: 100%;
      padding-left: 64px;
  }

  .greeting_wrap .txt-box{
      width:100%;
  }
  .mission__wrap, .greeting_wrap, .company_wrap, .staff_wrap {
      padding-top: 80px;
      padding-left: 64px;
      border-bottom: 1px solid #000;
      padding-bottom: 80px;
      margin-right: 0px;
  }
  section.greeting.positionStiky{
      position: relative;
  }
  section.company_wrap {
      padding-top: 80px;
      padding-left: 64px;
      padding-bottom: 80px;
      margin-right: 0px;
  }
  .greeting_wrap .txt-box h2 {
      font-size: 24px;
      line-height: 38px;
      margin-bottom: 24px;
      margin-top: 50px;
  }
  .access_wrap {
      padding-top: 0;
      padding-left: 64px;
      padding-bottom: 170px;
  }

  .mission__wrap {
    padding-top: 0;
    padding-bottom: 100px;
  }

  .mission__wrap h2 {
    line-height: 38px;
  }
  .mission__wrap p {
    line-height: 32px;
  }

  .greeting_wrap {
    padding-top: 0;
    padding-left: 0;
  }

  .staff {
    padding-top: 80px;
  }

  .staff_wrap {
    padding-top: 0;
    margin-top: 0;
  }

  .mission h2 {
      font-size: 24px;
      margin-bottom: 40px;
  }

  section.section-company {
      padding: 77px 0 0 0;
  }

  section.section-company>p {
    margin-bottom: 24px;
  }

  .company_wrap {
    padding-top: 0;
    margin-top: -90px;
    border: none;
  }

  .staff p {
    margin-bottom: 0;
  }

  .staff_lists {
    gap: 306px;
    margin-top: 165px;
    align-items: center;
  }

  .staff_card {
    flex-direction: column;
    padding: 100px 25px 50px 25px;
    width: 307px;
    height: auto;
  }

  .staff_list:nth-of-type(2) .staff_card {
    flex-direction: column;
    justify-content: normal;
  }

  .staff_list:nth-of-type(2) .staff_card-image {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
  }

  .staff_card-image {
    width: 250px;
    top: -250px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .staff_card-position {
    text-align: center;
    font-size: 14px;
    line-height: 17px;
  }

  /* 改行の高さ調整 */
  .staff_card-position-sp3 {
    line-height: normal;
  }

  .staff_card-name {
    text-align: center;
    margin-top: 18px;
    line-height: 29px;
  }

  .staff_card-name-en {
    line-height: 16px;
    text-align: center;
    margin-top: 9px;
  }

  .staff_card-text {
    font-size: 15px;
    width: 100%;
  }

  section.access iframe {
    margin-top: 10px;
  }

  .access {
    padding-top: 70px;
  }

  .access p {
    padding-bottom: 5px;
  }

}

@media (min-width:641px) {
.pc-none {
  display: none;
}
}