/* Mixin */
/* sales */
#wrap {
  display: block;
}

.lead__wrap {
  padding: 120px;
  background-repeat: no-repeat;
  background-size: cover;
} 

@media screen and (max-width: 1199px) {
  .lead__wrap {
    padding: 20vw 4vw;
  }
}
.lead__wrap--right {
  text-align: right;
}
.lead__wrap--right p {
  color: #FFFFFF;
}
.lead__wrap p {
  margin-bottom: 10px;
}
.lead__wrap p:nth-of-type(1) {
  margin-top: 24px;
}
.lead__wrap p:last-child {
  margin-bottom: 0;
}

/* edit */
.sales .animated {
  opacity: 1;
  transform: none;
}

h2.lead__txt {
  margin: 40px auto;
  text-align: center !important;
  font-size: 6vw;
  line-height: 1.4;
  text-align: center;
}

.red {
  color: #E63946;
}

.text--20wh{
  color: #fff;
}

/* bgi */
.life{
  background-image: url(../img/sales1.jpg);
}

.lisk{
  background-image: url(../img/sales2.jpg);
}

.way{
  background-image: url(../img/sales3.jpg);
}

.mind{
  background-image: url(../img/sales4.jpg);
}

.choice{
  background-image: url(../img/sales5.jpg);
}

.policy{
  background-image: url(../img/sales6_sp.jpg);
}



.message__wrap {
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 1199px) {
  .message__wrap {
    flex-direction: column;
  }
}
.message__wrap--left {
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 400px;
}
@media screen and (max-width: 1199px) {
  .message__wrap--left {
    width: 100%;
    margin-bottom: 12vw;
  }
}
.message__wrap--right {
  width: 740px;
}
@media screen and (max-width: 1199px) {
  .message__wrap--right {
    width: 100%;
  }
}
.message picture {
  margin-bottom: 20px;
}
@media screen and (max-width: 1199px) {
  .message picture {
    margin-bottom: 4vw;
  }
  .message picture img {
    width: 100%;
  }
}
.message__post {
  margin-bottom: 10px;
}
@media screen and (max-width: 1199px) {
  .message__post {
    margin-bottom: 2vw;
  }
}
.message__name {
  line-height: 1;
}
.message__name span {
  margin-right: 20px;
}
@media screen and (max-width: 1199px) {
  .message__name span {
    margin-right: 2vw;
  }
}
.message__inner:nth-of-type(1) {
  padding-bottom: 50px;
  border-bottom: 1px solid #CBCBCB;
}
@media screen and (max-width: 1199px) {
  .message__inner:nth-of-type(1) {
    padding-bottom: 10vw;
  }
}
.message__inner:nth-of-type(2) {
  margin-top: 50px;
}
@media screen and (max-width: 1199px) {
  .message__inner:nth-of-type(2) {
    margin-top: 10vw;
  }
}
.message__inner p {
  margin-top: 20px;
  line-height: 1.75;
}
@media screen and (max-width: 1199px) {
  .message__inner p {
    margin-top: 4vw;
  }
}
/* philosophy */
.philosophy{
  padding: 20vw 4vw;
}

.pyramidSp{
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.pyramidPc{
  display: none;
}

.philosophy__container {
  max-width: 1000px;
  margin: 0 auto;
}
.philosophy__title{
  display: flex;
  align-items: baseline
}

.philosophy__topic{
  margin-top: 56px;
  font-style: italic;
  font-size: 2.5rem;
  color: #E63946;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.dot{
  display: none;
}

.philosophy__txt{
  color: #E63946;
  font-size: 1.25rem;
  margin-top: 10px;
}

.philosophy__detail{
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.8;
}

.span{
  margin: 0 8px;
  font-size: 0.85rem;
}

@media screen and (min-width: 1200px) {
  .philosophy{
    padding: 160px 10%;
    margin: 0 auto;
  }
  
  .pyramidPc{
    display: block;
    width: 100%;      
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
  } 

  .pyramidSp{
    display: none;
  }

  .philosophy__container {
    margin-top: 56px;
  }
  
  .philosophy__item {
    display: flex;
    align-items: flex-start; /* 上揃え */
    margin-bottom: 60px;     /* 各行の間隔 */
  }

  /* 左：タイトルエリア（幅を固定して揃えるのがコツ！） */
  .philosophy__title {
    flex: 0 0 300px; /* 250pxで固定 */
    gap: 8px;
    text-align: left;
  }

  .philosophy__topic{
    margin-top: 0;
    margin-bottom: 0;
    font-size: 48px;
  }


  /* 中：ドットエリア */
  .dot {
    flex: 0 0 100px; /* ドットの間隔を固定 */
    color: #E63946;
    font-size: 1.5rem;
    text-align: center;
    letter-spacing: 5px;
  }

  /* 右：テキストエリア */
  .txt__container {
    flex: 1; /* 残りの幅をすべて使う */
    text-align: left;
  }

  .philosophy__txt{
    font-size: 20px;
  }

  .philosophy__detail{
    font-size: 20px;
  }
}


.recruit {
  background: #fff;
  padding: 80px 0;
}

.recruit__wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px; /* スマホ対応の左右余白 */
}

.recruit__title{
  font-size: 6.4vw;
  color: #E63946;
}

.recruit__topic{
  font-weight: 700;
  color: #E63946;
  margin-top: 8px;
}

.recruit__wrap {
  width: 100%;
  background: #FFFFFF;
}

@media screen and (max-width: 1199px) {
  .recruit__wrap {
    width: 100%;
    padding: 0 4vw;
  }
}

.recruit__topic{
  text-align: center;
  margin-top: 24px;
}

.recruit__txt{
  text-align: center;
}

@media screen and (min-width: 1200px) {
/* ==========================================================================
   PC Responsive Design (1200px and above)
   ========================================================================== */

@media screen and (min-width: 1200px) {
  .sales { overflow-x: hidden; }

  .brSp{
    display: none;
  }

  h2.lead__txt {
    font-size: 56px;
    margin: 100px auto;
    letter-spacing: 0.1em;
  }

  .lead__wrap {
    padding: 160px 10%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-attachment: fixed;
  }

  .lead__wrap--left { align-items: flex-start; text-align: left; padding-right: 40%; }
  .lead__wrap--right { align-items: flex-end; text-align: right; padding-left: 40%; }

  .recruit { padding: 120px 0; }
  .recruit__wrap { max-width: 1000px; margin: 0 auto; width: 100%; }
  .recruit__title { font-size: 80px; text-align: center; margin-bottom: 60px; }

  .recruit__content {
    display: block; /* 縦並びを確定 */
    padding: 0;
    border-top: 1px solid #E63946;
  }

  .recruit__content li {
    display: flex;
    align-items: flex-start; /* Topicを上端に固定 */
    padding: 32px 0;
    border-bottom: 1px solid #eee;
  }

  .recruit__topic {
    flex: 0 0 300px;
    font-size: 20px;
    font-weight: 700;
    color: #E63946;
    margin: 0; 
    padding: 0;
    line-height: 1.8;
    text-align: left;
  }

  .recruit__txt {
    flex: 1;
    font-size: 20px;
    line-height: 1.8;
    text-align: left;
    margin: 0; 
    padding: 0;
    display: block;
  }

  .recruit__txt + .recruit__txt {
    margin-top: 0px;
  }

  .message__wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .message__wrap--left {
    flex: 0 0 400px;
    width: 400px;
    text-align: center;
  }

  .message__wrap--left img {
    width: 100%;
    height: auto;
    display: block;
  }

  .message__wrap--right {
    flex: 1;
    text-align: left;
  }

  .message__heading--2 { font-size: 80px; margin-bottom: 60px; }
  .message__name { font-size: 28px; margin-top: 20px; text-align: center;}
}
}

/* Center images with class .img */
.img {
  display: block;
  margin: 0 auto;
}