/* サブページ：About */
#about {
  .mission {
    position: relative;
  }
  .mission h2 {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.66;
    margin: 0;
    padding-bottom: 3rem;
  }
  .mission p {
    font-size: 1rem;
    letter-spacing: 0.05em;
    line-height: 3.56;
  }
  .mission span {
    font-size: 14rem;
    position: absolute;
    bottom: -115px;
    z-index: -1;
  }
  .philosophy-wrap h3,
  .guidelines-wrap h3 {
    font-size: 2.3rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
  }
  .philosophy-wrap h3 span,
  .guidelines-wrap h3 span {
    color: #5E9ACC;
    padding-right: 20px;
  }
  .philosophy-wrap h3 .en-text,
  .guidelines-wrap h3 .en-text {
    font-size: 3.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    padding-bottom: 0.5rem;
  }
  .philosophy-wrap {
    margin-bottom: 5em;
  }
  .philosophy {
    border-bottom: solid 1px #5e9acc;
    border-top: solid 1px #5e9acc;
    font-size: 2em;
    text-align: center;
    margin: 40px auto;
    padding: 50px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); */
    /* background: linear-gradient(to top, rgba(151, 217, 225, 0.7) 0%, rgba(255, 255, 255, 0.7) 100%),url(../../images/about/about_c01.webp); */
    background-repeat: no-repeat; 
    background-size: cover;
    background-position: center;
  }
  }
  .philosophy span {
    position: relative;
    padding: 0 .5em;
    margin: 0 .3em;
  }
  .philosophy span::before,
  .philosophy span::after {
    position: absolute;
    width: 20px;
    height: 30px;
    content: '';
  }
  .philosophy span::before {
    border-left: solid 3px #4d9bc1;
    border-top: solid 3px #4d9bc1;
    top: 0;
    left: 0;
  }
  .philosophy span::after {
    border-right: solid 3px #4d9bc1;
    border-bottom: solid 3px #4d9bc1;
    bottom: 0;
    right: 0;
  }
  .guidelines ol {
    counter-reset:number; /*数字をリセット*/
    list-style-type: none!important; /*数字を一旦消す*/
    padding: 0.3em 0.8em;
    /* border: solid 2px #5E9CCB; */
  }
  .guidelines ol li {
    font-size: 1em;
    border-bottom: solid 1px #5E9CCB;
    position: relative;
    padding: 2em 0.5em 2em 30px;
    line-height: 1.5em;
  }
  .guidelines li:last-child{
    border-bottom: 0;
  }
  .guidelines ol li:before{
    /* 以下数字をつける */
    position: absolute;
    counter-increment: number;
    content: counter(number)".";
    /*数字のデザイン変える*/
    display:inline-block;
    /* background: #5E9CCB; */
    color: #5E9CCB;
    font-family: 'Josefin Sans','Arial Black','Arial',sans-serif;
    font-weight:bold;
    font-size: 1.2em;
    /* border-radius: 50%; */
    left: 0;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    /*以下 上下中央寄せのため*/
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  .top-message .cnts-main {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 0 6rem;
  }
  .top-message .cnts-main .cnts-img-wrap {
    width: 100%;
  }
  .top-message .cnts-main .cnts-img {
    width: auto;
    margin-left: calc(50% - 50vw);
    height: 100%;
  }
  .top-message .cnts-main .cnts-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    vertical-align: middle;
  }
  .top-message .cnts-main .cnts-text {
    width: 75%;
  }
  .top-message .cnts-main .cnts-text h3 {
    margin: 0;
    font-size: 1.5rem;
    padding-bottom: 3rem;
    line-height: 1.91;
    font-weight: 600;
  }
  .top-message .cnts-main .cnts-text > p {
    padding-bottom: 3rem;
    line-height: 2.37;
  }
  .top-message .cnts-main .cnts-text .sign p {
    padding-bottom: 0.5rem;
  }
  .top-message .cnts-main .sign img {
    width: 100%;
    max-width: 113px;
  }
  .trans-table tr:first-child th,
  .trans-table tr:first-child td{
    padding-top: 0;
  }
  @media screen and (max-width: 1400px) {
    .top-message .cnts-main{
      gap: 0 3rem;
    }
  }
  @media screen and (max-width: 1330px) {
    .top-message .cnts-main{
      gap: 3rem 0;
      flex-direction: column;
    }
    .top-message .cnts-main .cnts-img {
      margin-left: unset;
    }
    .top-message .cnts-main .cnts-text {
      width: 100%;
    }
    .top-message .cnts-main .cnts-text h3{
      padding-bottom: 2rem;
    }
    .sign {
      text-align: right;
    }
  }
  @media screen and (max-width: 959px) {
    .mission h2{
      padding-bottom: 4rem;
      font-size: 4vw;
    }
    .mission p {
      line-height: 3;
    }
    .mission span {
      font-size: 21vw;
      bottom: unset;
      top: 0;
      right: 0;
    }
  }
  @media screen and (max-width: 700px) {
    .mission span {
      font-size: 22vw;
    }
    .top-message .cnts-main .cnts-text h3{
      font-size: 3.5vw;
    }
  }
  @media screen and (max-width: 599px) {
    .mission h2 {
      padding-bottom: 3rem;
    }
    .mission p {
      line-height: 2;
      font-size: 0.9rem;
      padding: 0 10px;
    }
    #about-cnts05 .cnts-main .cnts-text h3 {
      font-size: 1.2rem;
    }
    #about-cnts05 .philosophy-wrap h3 .en-text,
    #about-cnts05 .guidelines-wrap h3 .en-text {
      font-size: 1.5rem;
    }
    #about-cnts05 .philosophy {
      font-size: 1em;
    }
    .philosophy span::before,
    .philosophy span::after {
      display: none;
    }
    .top-message .cnts-main {
      gap: 1.5rem 0;
    }
    .top-message .cnts-main .cnts-text h3 {
      line-height: 1.7;
      font-size: 1.3rem;
    }
    .top-message .cnts-main .cnts-text > p {
      padding-bottom: 3rem;
      line-height: 2;
      font-size: 0.9rem;
    }
    .top-message .cnts-main .cnts-text .sign p {
      font-size: 0.9rem;
    }
    .top-message .cnts-main .sign img {
      max-width: var(--size-small);
    }
    .line-table th,
    .line-table td{
      font-size: 0.9rem;
    }
    .trans-table th {
      width: 12.5rem;
    }
    .trans-table td {
      text-align: center;
    }
  }
  @media screen and (max-width: 399px) {
    #about-cnts01 .mission h2 {
      padding-bottom: 2.5rem;
      font-size: 1.05rem;
    }
    .top-message .cnts-main .cnts-text h3{
      font-size: 1.1rem;
    }
  }
}
