@charset "utf-8";
/* ===================================
トップ画像
=================================== */

.top_image {
  background-image: url(../images/about/top_img.jpg);
  background-position: center;
}

/* ===================================
メイン
=================================== */

.start {
  padding: 1em 0 3em;
}

.start h2 {
  margin-bottom: 0.5em;
}

@media print, screen and (min-width: 600px) {
  .start {
    padding-top: 2em;
  }
}

.purpose_txt {
  margin-bottom: 2em;
  position: relative;
  line-height: 2em;
  text-align: left;
  z-index: 9;
}

.purpose_txt .big_txt {
  font-size: 1.1em;
  color: #ff4a4a;
  font-weight: 500;
  border-bottom: 2px solid #ff4a4a;
}


@media print, screen and (min-width: 500px) {
  .wrapper {
    width: 75%;
  }
}

@media print, screen and (min-width: 600px) {
  .purpose_txt {
    margin-bottom: 2.5em;
    font-size: 1.1em;
    line-height: 2.3em;
    text-align: center;
  }
  .purpose_txt .br_pc {
    display: inline-block;
  }
}


/* ===================================
当校の目的
=================================== */

.purpose_area {
  margin-bottom: 3em;
  position: relative;
  z-index: 1;
}

.purpose_inner {
  margin-bottom: 3.5em;
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.purpose_inner:last-child {
  margin-bottom: 0;
}

.purpose_left {
  width: 72%;
  margin: 0 auto;
  position: relative;
  z-index: 999;
}

/* ----------number---------- */
.purpose_left span {
  width: 60px;
  padding: 10px 0;
  display: inline-block;
  position: absolute;
  top: 0;
  left: 5px;
  font-family: "GenJyuuGothic-P-Bold";
  font-size: 1.7em;
  color: #fff;
  text-align: center;
  z-index: 2;
}

.purpose_left span::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  border-bottom: 10px solid transparent;
}

.purpose_inner:first-child .purpose_left span {
  background-color: #24A263;
}

.purpose_inner:first-child .purpose_left span::after {
  border-left: 30px solid #24A263;
  border-right: 30px solid #24A263;
}

.purpose_inner:nth-child(2) .purpose_left span {
  background-color: #0B74D1;
}

.purpose_inner:nth-child(2) .purpose_left span::after {
  border-left: 30px solid #0B74D1;
  border-right: 30px solid #0B74D1;
}

.purpose_inner:nth-child(3) .purpose_left span {
  background-color: #E88521;
}

.purpose_inner:nth-child(3) .purpose_left span::after {
  border-left: 30px solid #E88521;
  border-right: 30px solid #E88521;
}

/* ----------img illust---------- */

.purpose_left::before {
  content: "";
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 9999;
}

.purpose_inner:first-child .purpose_left::before {
  width: 65px;
  height: 36px;
  background-image: url(../images/about/purpose01_illust.svg);
  bottom: 0;
  right: -1px;
}

.purpose_inner:nth-child(2) .purpose_left::before {
  width: 60px;
  height: 60px;
  background-image: url(../images/about/purpose02_illust.svg);
  bottom: -17px;
  right: -1px;
}

.purpose_inner:nth-child(3) .purpose_left::before {
  width: 60px;
  height: 124px;
  background-image: url(../images/about/purpose03_illust.svg);
  bottom: 0;
  left: -25px;
}

/* ----------img---------- */

.purpose_left img {
  width: 100%;
}

.purpose_inner:first-child .purpose_left img {
  border-radius: 50% 63% 50% 70%/50% 50% 70% 60%;
}

.purpose_inner:nth-child(2) .purpose_left img {
  border-radius: 48% 47% 34% 62% / 45% 49% 42% 54%;
}

.purpose_inner:nth-child(3) .purpose_left img {
  border-radius: 51% 44% 61% 42% / 59% 49% 51% 38%;
}

/* ----------comment box---------- */

.purpose_right {
  width: 90%;
  position: relative;
  margin: 1.8em auto 0;
  padding: 1.5em 1.5em;
  background-color: #fff;
}

.purpose_inner:first-child .purpose_right {
  border-radius: 148px 47px 46px 99px / 25px 113px 100px 29px;
  border: solid 2px #24A263;
}

.purpose_inner:nth-child(2) .purpose_right {
  border-radius: 16px 50px/91px 19px;
  border: solid 2px #0B74D1;
}

.purpose_inner:nth-child(3) .purpose_right {
  border-radius: 150px 80px 50px 70px / 40px 53px 100px 60px;
  border: solid 2px #E88521;
}

.purpose_right::before {
  content: "";
  margin-left: -15px;
  position: absolute;
  top: -24px;
  left: 50%;
  border: 12px solid transparent;
  border-bottom: 12px solid #FFF;
  z-index: 2;
}

.purpose_right::after {
  content: "";
  margin-left: -17px;
  position: absolute;
  top: -29px;
  left: 50%;
  border: 14px solid transparent;
  z-index: 1;
}

.purpose_inner:first-child .purpose_right::after {
  border-bottom: 14px solid #24A263;
}

.purpose_inner:nth-child(2) .purpose_right::after {
  border-bottom: 14px solid #0B74D1;
}

.purpose_inner:nth-child(3) .purpose_right::after {
  border-bottom: 14px solid #E88521;
}

.purpose_right p {
  font-size: 0.9em;
  text-align: left;
  line-height: 1.8em;
}

.purpose_right .title {
  padding-bottom: 0.3em;
  margin-bottom: 0.5em;
  font-size: 1.1em;
  font-weight: 500;
}

.purpose_inner:first-child .purpose_right .title {
  color: #24A263;
  border-bottom: 2px dashed #24A263;
}

.purpose_inner:nth-child(2) .purpose_right .title {
  color: #0B74D1;
  border-bottom: 2px dashed #0B74D1;
}

.purpose_inner:nth-child(3) .purpose_right .title {
  color: #E88521;
  border-bottom: 2px dashed #E88521;
}

@media print, screen and (min-width: 500px) {
  .purpose_inner::before {
    left: 89px;
  }
  .purpose_left {
    width: 53%;
  }
}

@media print, screen and (min-width: 768px) {
  .purpose_inner {
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
  }
  .purpose_left {
    width: 30%;
    max-width: 270px;
    margin: 0 2.5em 0 0;
    margin-right: 2.5em;
  }
  .purpose_inner::before {
    left: 20px;
  }
  .purpose_right {
    width: 60%;
    margin: 1em 0 0 0;
    padding: 2em;
  }
  .purpose_right::before {
    content: "";
    margin-left: 0;
    position: absolute;
    top: 50%;
    left: -23px;
    margin-top: -12px;
    border: 12px solid transparent;
    border-right: 12px solid #FFF;
    z-index: 2;
  }
  .purpose_right::after {
    content: "";
    margin-left: 0;
    position: absolute;
    top: 50%;
    left: -28px;
    margin-top: -14px;
    border: 14px solid transparent;
    border-right: 14px solid #555;
    z-index: 1
  }
  .purpose_inner:first-child .purpose_right::after {
    border-bottom: 14px solid transparent;
    border-right: 14px solid #24A263;
  }
  .purpose_inner:nth-child(2) .purpose_right::after {
    border-bottom: 14px solid transparent;
    border-right: 14px solid #0B74D1;
  }
  .purpose_inner:nth-child(3) .purpose_right::after {
    border-bottom: 14px solid transparent;
    border-right: 14px solid #E88521;
  }
  .purpose_right p {
    font-size: 1em;
  }
  .purpose_right .title {
    font-size: 1.3em;
  }
}

@media print, screen and (min-width: 1025px) {}

/* ===================================
HISTORY
=================================== */

.history {
  position: relative;
  text-align: center;
}

.history::after {
  content: "";
  width: 60%;
  max-width: 320px;
  height: 70px;
  position: absolute;
  top: -42px;
  left: 50%;
  background-image: url(../images/about/history_top.svg);
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateX(-50%);
}

.history_inner {
  padding: 3em 0 15em;
  overflow: hidden;
}

.history h2 {
  margin-bottom: 2em;
}

.memo {
  position: relative;
  z-index: 99;
}

.memo .memo_inner {
  width: 100%;
  padding: 3em 0;
  position: relative;
  background-color: #fff;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

.memo .memo_inner p {
  width: 85%;
  margin: 0 auto;
  padding: 0.8em 0;
  position: relative;
  font-size: 0.95em;
  text-align: left;
  border-bottom: 1px dashed #000;
}

.history .memo p span {
  display: block;
}

.history .link {
  margin-top: 5em;
  color: #000;
  border: 2px solid #000;
  background-color: #fff;
  box-shadow: 0px 7px 0 #ecd343;
}

.history .link span::before {
  border-left-color: #FFCC23;
}

/* memo ring */

.memo .memo_inner::before {
  content: "";
  width: 100%;
  height: 40px;
  position: absolute;
  top: -15px;
  left: 0;
  background-image: url(../images/about/history_memo_top.svg);
  background-size: contain;
  z-index: 999;
}

/* pen */

.memo::after {
  content: "";
  width: 150px;
  height: 400px;
  position: absolute;
  background-image: url(../images/about/history_memo_pen.svg);
  bottom: -50px;
  right: -100px;
  background-size: contain;
  background-repeat: no-repeat;
}

/* memo under page */

.memo::before, .memo .memo_inner::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #fff;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  z-index: -1;
}

/* memo under 1page */
.memo .memo_inner::after {
  bottom: -20px;
  right: 0;
}

/* memo under 2page */
.memo::before {
  bottom: -38px;
  right: 0;
}

/* hanamaru */
.memo .memo_inner p:first-child::before {
  display: none;
}

@media print, screen and (min-width: 600px) {

  .memo {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
  }
  .memo .memo_inner {
    border: 2px solid #000;
    border-radius: 25px;
  }
  /* Pen */
  .memo::after {
    width: 180px;
    height: 500px;
  }
  /* ling */
  .memo .memo_inner::before {
    width: 492px;
    left: 50%;
    transform: translateX(-50%);
  }
  .memo::before, .memo .memo_inner::after {
    width: 100%;
    border: 2px solid #000;
  }
  /* memo under 1page */
  .memo .memo_inner::after {
    bottom: -8px;
    right: -8px;
    border: 2px solid #000;
    border-radius: 25px;
  }
  /* memo under 2page */
  .memo::before {
    width: 98%;
    height: 99%;
    bottom: -13px;
    right: -12px;
    border: 2px solid #000;
    border-radius: 25px;
  }
  /* hanamaru */
.memo .memo_inner p:first-child::before {
  content: "";
  width: 20%;
  height: 160px;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  background: url(../images/about/history_memo_flower.svg) center / contain no-repeat;
}
}

@media print, screen and (min-width: 768px) {
  /* ling */
  .memo .memo_inner::before {
    width: 650px;
  }
}

@media print, screen and (min-width: 1025px) {
  .history h2 .br_sp {
    display: none;
  }
  .history_inner {
    padding-top: 5em;
  }
  .memo .memo_inner p {
    font-size: 1em;
  }
  /* memo under 1page */
  .memo .memo_inner::after {
    bottom: -11px;
    right: -11px;
  }
  /* memo under 2page */
  .memo::before {
    bottom: -19px;
    right: -19px;
  }
}