@charset "UTF-8";

.contents-Block:not(:first-of-type) {
  margin-top: 100px;
}

.contents-Block>h4 {
  display: block;
  position: relative;
  margin-bottom: 10px;
  padding: 0 0 10px;
  font-size: min(5vw, 22px);
}

.contents-Block>h4::after {
  display: block;
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-image: linear-gradient(to right, #d1e7f2, #f6decc);
}

.contents-Block p {
  font-size: 15px;
  line-height: 1.8;
}

.contents-Block p+ul {
  margin-top: 1em;
}

.philosophy-Block {
  padding: 50px 0;
  background: url(../img/corporate/concept-bg.jpg) no-repeat center top;
  background-size: cover;
}

.philosophy-Block .inner_1000 {
  flex-wrap: wrap;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

.philosophy-Block h4,
.philosophy-Block p {
  writing-mode: vertical-rl;
}

.philosophy-Block h4 {
  font-size: min(4vw, 24px);
  line-height: 1.8;
}

.philosophy-Block p {
  font-size: min(2.7vw, 16px);
  line-height: 2.5;
}

.greeting-Block .flex {
  justify-content: flex-start;
  align-items: flex-start;
  gap: 30px;
}

.greeting-Block .flex>div {
  width: 70%;
}

.greeting-Block p {
  text-indent: 1em;
}

.greeting-Block .flex figure {
  width: calc(100% - (70% + 30px));
}

.greeting-Block figcaption {
  font-size: 12px;
  text-align: right;
}

.greeting-Block figcaption span {
  font-size: 150%;
}

.outline-List>li {
  padding: 1px 0;
  border-bottom: 1px dotted #888;
}

.outline-List>li:first-child {
  border-top: 1px dotted #888;
}

.outline-List dl {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  font-size: 14px;
  line-height: 1.5;
}

.outline-List dt {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30%;
  padding: 10px 0;
  color: #fff;
  background-color: #888;
  text-align: center;
}

.outline-List dd {
  width: 70%;
  padding: 10px;
  box-sizing: border-box;
}

.outline-List dd a {
  display: inline-block;
}

/*---------------------------
sp
---------------------------*/
@media only screen and (max-width: 820px) {
  .contents-Block:not(:first-of-type) {
    margin-top: 50px;
  }

  .contents-Block p {
    font-size: 14px;
  }

  .philosophy-Block .inner_1000 {
    flex-direction: column;
    gap: 20px;
  }

  .philosophy-Block h4,
  .philosophy-Block p {
    writing-mode: lr;
  }

  .philosophy-Block h4 {
    font-size: 22px;
  }

  .philosophy-Block p {
    font-size: 15px;
    line-height: 2;
  }

  .greeting-Block .flex {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
  }

  .greeting-Block .flex>div {
    width: 100%;
  }

  .greeting-Block .flex figure {
    width: 70%;
    margin: 0 auto;
  }

  .outline-List>li {
    padding: 1px 0;
    border-bottom: 1px dotted #888;
  }

  .outline-List>li:first-child {
    border-top: none;
  }

  .outline-List dl {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .outline-List dt {
    justify-content: flex-start;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }

  .outline-List dd {
    width: 100%;
  }

}