@font-face {
  font-family: 'DIN';
  src: url("/common/fonts/D-DIN/D-DIN-Bold.otf") format("opentype");
  font-weight: 700;
}

@font-face {
  font-family: 'DIN';
  src: url("/common/fonts/D-DIN/D-DIN.otf") format("opentype");
  font-weight: 400;
}

@media print, screen and (min-width: 768px) {
  .philosophy-container {
    width: 900px;
    margin: auto;
  }
}

@media only screen and (max-width: 767px) {
  .philosophy-container {
    width: 100%;
  }
}

.philosophy-section + .philosophy-section {
  border-top: 1px solid  #d8d8d8;
}

@media print, screen and (min-width: 768px) {
  .philosophy-section + .philosophy-section {
    margin-top: 80px;
    padding-top: 80px;
  }
}

@media only screen and (max-width: 767px) {
  .philosophy-section + .philosophy-section {
    margin-top: 40px;
    padding-top: 40px;
  }
}

.philosophy-section b {
  color: #142c4b;
}

@media print, screen and (min-width: 768px) {
  .philosophy-section b {
    font-size: 20px;
  }
}

@media only screen and (max-width: 767px) {
  .philosophy-section b {
    font-size: 17px;
  }
}

@media only screen and (max-width: 767px) {
  .philosophy-section > p {
    font-size: 16px;
  }
}

@media print, screen and (min-width: 768px) {
  .philosophy-contents {
    margin: 40px auto 30px;
  }
}

@media only screen and (max-width: 767px) {
  .philosophy-contents {
    margin: 20px auto;
  }
}

.philosophy-contents-list {
  counter-reset: number;
}

.philosophy-contents-list li {
  position: relative;
  font-weight: bold;
  counter-increment: number;
}

@media print, screen and (min-width: 768px) {
  .philosophy-contents-list li {
    font-size: 20px;
    padding-left: 100px;
  }
}

@media only screen and (max-width: 767px) {
  .philosophy-contents-list li {
    font-size: 17px;
    padding-left: 70px;
  }
}

.philosophy-contents-list li::before {
  content: counter(number, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: #a2d827;
  font-family: 'DIN';
  line-height: 1.6;
  font-weight: 700;
  z-index: 2;
}

@media print, screen and (min-width: 768px) {
  .philosophy-contents-list li::before {
    top: -10px;
    font-size: 40px;
  }
}

@media only screen and (max-width: 767px) {
  .philosophy-contents-list li::before {
    top: -5px;
    font-size: 27px;
  }
}

.philosophy-contents-list li::after {
  position: absolute;
  content: "";
  background-color: #f1f9df;
  -webkit-transform: matrix(1, 0, -1, 1, 0, 0);
  transform: matrix(1, 0, -1, 1, 0, 0);
  z-index: 1;
}

@media print, screen and (min-width: 768px) {
  .philosophy-contents-list li::after {
    width: 20px;
    height: 60px;
    top: -10px;
    left: 45px;
  }
}

@media only screen and (max-width: 767px) {
  .philosophy-contents-list li::after {
    width: 14px;
    height: 40px;
    top: -5px;
    left: 30px;
  }
}

@media print, screen and (min-width: 768px) {
  .philosophy-contents-list li + li {
    margin-top: 40px;
  }
}

@media only screen and (max-width: 767px) {
  .philosophy-contents-list li + li {
    margin-top: 20px;
  }
}

@media print, screen and (min-width: 768px) {
  .philosophy-btn-inner {
    margin-top: 80px;
  }
}

@media only screen and (max-width: 767px) {
  .philosophy-btn-inner {
    margin-top: 40px;
  }
}

.philosophy-sub main {
  margin-top: 0 !important;
}

.philosophy-sub-headline {
  background-color: #f2f6fb;
}

@media print, screen and (min-width: 768px) {
  .philosophy-sub-headline {
    height: 325px;
    margin-bottom: 60px;
  }
}

@media only screen and (max-width: 767px) {
  .philosophy-sub-headline {
    height: 200px;
    margin-bottom: 30px;
  }
}

.philosophy-sub-headline .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
  background-color: #f2f6fb;
}

.philosophy-sub-headline h1 {
  text-align: center;
}

@media print, screen and (min-width: 768px) {
  .philosophy-sub-headline h1 {
    margin-top: 90px;
  }
}

@media only screen and (max-width: 767px) {
  .philosophy-sub-headline h1 {
    font-size: 22px;
    margin-top: 55px;
  }
}
