@charset "UTF-8";

@media all {
  .philosophy__block {
    margin-top: 5.7rem;
  }
  .philosophy__text {
    margin-left: -0.5em;
    letter-spacing: 0.015em;
  }
  .philosophy__text:not(:first-child) {
    margin-top: 2em;
  }
  .philosophy__signature {
    margin-top: 2.2em;
    text-align: right;
    font-weight: 700;
    letter-spacing: 0.015em;
  }
}
@media screen and (max-width: 767px) {
  .philosophy__text {
    margin-left: 0;
  }
}
@media screen and (max-width: 767px) {
  .only-tab,
  .only-pc,
  .not-sp {
    display: none;
  }
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .only-sp,
  .only-pc,
  .not-tab {
    display: none;
  }
}
@media screen and (min-width: 1200px) {
  .only-sp,
  .only-tab,
  .not-pc {
    display: none;
  }
}

.philosophy__photo {
  float: right;
  width: 220px;
  margin: 8px 0 24px 30px;
}

.philosophy__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.philosophy__signature {
  clear: both;
}

@media screen and (max-width: 767px) {
  .philosophy__photo {
    float: none;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 24px;
  }
}