#company main.philosophy {
  background-image: url("../../img/company/bg-corporate-message.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-position: center top;
  background-repeat: no-repeat;
}

body#company .main.philosophy .basic-section > .inner {
  padding: 80px 80px;
}

.basic-section .section-title {
  margin-top: 0;
  margin-bottom: 40px;
}

body#company .main.philosophy 
.philosophy-section:nth-of-type(-n+4) > .inner{
  position: relative;
}

body#company .main.philosophy 
.philosophy-section:nth-of-type(-n+4) > .inner::after{
  content: "";
  position: absolute;
  left: 80px;
  right: 80px;
  bottom: 0;
  height: 0.5px;
  background: #CCCCCC;
}

body#company .main.philosophy .philosophy-section{
  border-bottom: none !important;
}

.section-title {
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-align: center;
  color: #000;
  margin-bottom: 40px;
}

.pc-br {
  display: inline;
}

.sp-br {
  display: none;
}

.cm-pyramid__img.-sp{
  display: none;
}

body#company .philosophy-section.-logo{
  background-image: url("../../img/company/bg-philosophy.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

#company main.philosophy .philosophy-section .-mb4em {
  margin-bottom: 40px;
}
/* =========================
   CM セクション（画像＋下部ボタン）
   ========================= */

.cm-message-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px;
  width: 100%;
  box-sizing: border-box; 
}

.cm-message-content{
  display: flex;
  align-items: center;
  gap: 60px;
}

.cm-message-head{
  text-align: center;
  margin: 0 0 40px;
}

.cm-message-title-en{
  margin: 0 0 20px;
  font-size: 46px;
  letter-spacing: 0em;
  color: #000;
  font-weight: 400;
}

.cm-message-title-ja{
  margin: 0;
  font-size: 14px;
  letter-spacing: 0em;
  color: #000;
  position: relative;
}

.cm-message-left img{
  max-width: 520px;
  width: 100%;
  height: auto;
}

.cm-message-right{
  max-width: 520px;
}

.cm-message-right p{
  font-size: 18px;
  color: #000;
  line-height: 2;
  margin: 0;
  font-weight: 500;
}

/* ボタン */
.cm-message-btn{
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  padding: 14px 36px;
  border: 1px solid #000;
  border-radius: 40px;
  font-size: 18px;
  color: #000;
  text-decoration: none;
  text-align: center;
  transition: .2s;
}

.cm-message-btn2{
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  padding: 14px 36px;
  border: 1px solid #fff;
  border-radius: 40px;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  transition: .2s;
}

.cm-message-btn:hover{
  background: rgb(248, 248, 248);
  color: #000;
}

/* =========================
   Corporate Message (pyramid block)
   ========================= */
.cm-pyramid{
  padding: 80px 0;
  background: #fff;
}

.cm-pyramid__inner{
  margin: 0 auto;
  padding: 0 80px;
}

.cm-pyramid__header{
  text-align: center;
  margin: 0 0 40px;
}

.cm-pyramid__title{
  margin: 0 0 20px;
  font-size: 46px;
  font-weight: 400;
  color: #B31533;
  letter-spacing: 0em;
  line-height: 1.2;
}

.cm-pyramid__subtitle{
  margin: 0;
  font-size: 14px;
  letter-spacing: 0em;
  color: #505050;
}

.cm-pyramid__lead{
  margin: 0 auto 40px;
  font-size: 20px;
  line-height: 2;
  color: #505050;
  text-align: left;
}

.cm-pyramid__highlight {
  color: #B31533;
  font-weight: 700;
}

.cm-pyramid__figure{
  margin: 0;
}

.cm-pyramid__figure img{
  display: block;
  width: 100%;
  height: auto;
}

.cm-pyramid__triangle{
  display: block;
  width: 110px;
  height: auto;
  margin: 40px auto;
}

.cm-pyramid__figure--message{
  margin-top: 0;
}

/* =========================
   SP
   ========================= */
@media screen and (max-width: 768px) {
  .cm-message-inner{
    padding: 40px 20px;
  }

  .pc-br {
    display: none;
  }

  .sp-br {
   display: inline
  }

  .cm-pyramid__img.-pc {
    display: none;
  }


  .cm-pyramid__img.-sp {
    display: block;
  }

  body#company .main.philosophy .basic-section > .inner {
  padding: 48px 20px;
  }

  .basic-section .section-title {
    margin-bottom: 24px;
  }

  #company main.philosophy .philosophy-section {
    background-color: #fff;
    margin: 0;
  }

  body#company .main.philosophy 
  .philosophy-section:nth-of-type(-n+4) > .inner::after{
    left: 0px;
    right: 0px;
    height: 1px;
  }

  .cm-message-content{
    flex-direction: column;
  }

  .cm-message-head{ margin-bottom: 24px; }
  .cm-message-title-en{ font-size: 24px; margin: 0 0 8px;}
  .cm-message-title-ja{ font-size: 12px; }

  .cm-message-left img{
     margin: 24px 0 20px;
  }

  .cm-message-right p {
    font-size: 14px;
  }

  .cm-message-content {
    gap: 20px;
  }

  .cm-message-btn{
    font-size: 16px;
  }

  .cm-message-btn2{
    font-size: 16px;
  }
  
  .cm-pyramid{
    padding: 50px 0;
  }

  .cm-pyramid__inner{
    padding: 0;
  }

  .cm-pyramid__title{
    margin-bottom: 8px;
    font-size: 24px;
  }

  .cm-pyramid__subtitle {
    font-size: 12px;
  }
  .cm-pyramid__lead{
    font-size: 14px;
    line-height: 2;
    margin-bottom: 24px;
  }

  .cm-pyramid__triangle{
    margin: 14px auto 18px;
  }
}