@charset "utf-8";

/*
小田原短期大学3つの特長 【共通】
three_years.html
************************************************************/
#point_mainimg {
  position: relative;
  overflow: inherit;
}

#point_mainimg h1 {
  position: absolute;
  z-index: 1;
  width: 402px;
  left: -20px;
  bottom: -53px;
}
#point_mainimg h1 img{
  width: 100%;
}

.three_years #point_mainimg {
  margin-bottom: 100px;
}

#point_mainimg .mainimg img {
  width: 100%;
}

@media screen and (max-width:768px) {
  #point_mainimg .mainimg {
    width: 100vw;
    margin-left: -15px;
  }

  .three_years #point_mainimg .mainimg {
    margin-bottom: 60px;
  }

  #point_mainimg h1 {
    left: 0;
  }

  .three_years #point_mainimg h1 {
    left: -5vw;
    bottom: -50px;
    width: 45vw;
  }

  .three_years img {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width:480px) {
  .three_years #point_mainimg .mainimg {
    margin-bottom: 120px;
  }

  #point_mainimg h1 {
    left: 0;
  }

}

@media screen and (max-width:320px) {
  .three_years #point_mainimg .mainimg {
    margin-bottom: 110px;
  }

}

/*
アットホームな環境
three_years.html
************************************************************/
.three_years {}

/*
con1
*/
.three_years #con1 {
  margin-bottom: 18px;
}

.three_years #con1 .list {
  display: flex;
  justify-content: space-between;
  margin-top: 46px;
  text-align: center;
}

.three_years #con1 .listItem {
  width: 306px;
}

.three_years #con1 .listCaption {
  padding: 21px 16px;
  font-size: 25px;
  font-family: "TsukuARdGothic-Regular", "Zen Maru Gothic", "Noto Sans JP", 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif;
  font-weight: 700;
  line-height: calc(35 / 25);
  background-color: #FFE349;
  border-radius: 20px;
}

.three_years #con1 .listCaption span {
  display: inline-block;
}

.three_years #con1 .listTxt {
  margin-top: 8px;
  font-size: 13px;
  line-height: calc(23 / 13);
}

.three_years #con1 .info {
  display: flex;
  margin-top: 42px;
}

.three_years #con1 .infoItem {
  width: 50%;
}

.three_years #con1 .infoCaption {
  margin: 0;
  font-family: "TsukuARdGothic-Regular", "Zen Maru Gothic", "Noto Sans JP", 游ゴシック体, "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif;
  font-weight: 700;
}

.three_years #con1 .infoCaption span {
  display: inline-block;
  margin-bottom: 5px;
  padding: 5px 8px 4px;
  font-size: 22px;
  line-height: 1;
  background-color: #FFF5BC;
}

.three_years #con1 .infoFig {
  margin: 26px 0 0;
}

@media screen and (max-width:768px) {
  .three_years #con1 {
    margin-bottom: 48px;
  }

  .three_years #con1 .ttl {
    text-align: center;
  }

  .three_years #con1 .ttlLogo {
    max-width: 448px;
  }

  .three_years #con1 .list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
  }

  .three_years #con1 .listItem {
    width: 100%;
  }

  .three_years #con1 .listCaption br,
  .three_years #con1 .listTxt br {
    display: none;
  }

  .three_years #con1 .info {
    flex-direction: column;
    gap: 48px;
    margin-top: 48px;
  }

  .three_years #con1 .infoItem {
    width: 100%;
  }

  .three_years #con1 .infoCaption br {
    display: none;
  }

  .three_years #con1 .infoFig {
    margin: 12px 0 0;
  }

  .three_years #con1 .infoImg1 {
    max-width: calc(359 / 398 * 100%);
  }
}

/*
con2
*/

.three_years #con2 {
  margin-bottom: 106px;
}

.three_years #con2 .ttl {
  margin: 0;
  line-height: 1;
  text-align: left;
}

.three_years #con2 .list {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}

.three_years #con2 .listFig {
  margin: 0;
}

@media screen and (max-width:768px) {

  .three_years #con2 {
    margin-bottom: 68px;
  }

  .three_years #con2 .ttl {}

  .three_years #con2 .ttlLogo {
    max-width: calc(319 / 398 * 100%);
  }

  .three_years #con2 .list {
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
  }

  .three_years #con2 .listImg1 {

    max-width: calc(383 / 531 * 100%);
  }
}

/*
con3
*/

.three_years #con3 {
  margin-bottom: 52px;
  overflow: visible;
}

.three_years #con3 .list {
  display: flex;
  justify-content: space-between;
}

.three_years #con3 .listItem {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 32px 20px 16px 26px;
  width: 461px;
  background-color: rgba(248, 233, 98, .16);
  box-sizing: border-box;
}

.three_years #con3 .listItem::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 202px;
  background: url('../images/three_years/con3_ttl.svg') no-repeat center center / contain;
  aspect-ratio: 202 / 60;
}

.three_years #con3 .listFig {
  margin: 0;
  width: 156px;
}

.three_years #con3 .listInner {
  flex: 1;
  padding-top: 16px;
}

.three_years #con3 .listTxt {
  font-size: 12px;
  line-height: calc(17 / 12);
}

.three_years #con3 .listInfo {
  margin-top: 16px;
  font-size: 16px;
  line-height: calc(20 / 16);
}

.three_years #con3 .listInfo small {
  font-size: 13px;
}

.three_years #con3 .attention {
  margin-top: 42px;
  line-height: 1;
}

.three_years #con3 .attentionTtl {
  font-size: 17px;
  font-weight: 700;
}

.three_years #con3 .attentionList {
  margin-top: 4px;
  font-size: 12px;
  line-height: calc(20 / 12);
}

.three_years #con3 .attentionItem {
  padding-left: 1.3em;
  text-indent: -1.3em;
}

.three_years #con3 .attentionItem::before {
  content: "◯ ";
}

@media screen and (max-width:768px) {
  .three_years #con3 {
    margin-bottom: 48px;
  }

  .three_years #con3 .list {
    flex-direction: column;
    gap: 32px;
  }

  .three_years #con3 .listItem {
    width: 100%;
  }

  .three_years #con3 .listFig {
    width: 28%;
    max-width: 156px;
  }

  .three_years #con3 .attention {
    margin-top: 32px;
  }
}
