@charset "utf-8";

/* *****************************************************************************

  message style

***************************************************************************** */
/* page-title */
.page-title.-message .page-title-main > .-main > br{
  display: none;
}

@media screen and (max-width : 580px){
  /* page-title */
  .page-title.-message .page-title-main > .-main > br{
    display: inline;
  }
}

/* section-message-list */
.section-message-list{
  padding-top: 10rem;
  margin-left: 4rem;
  margin-right: 4rem;
}
.section-message-list > .-inner{
  max-width: 790px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width : 760px){
  /* section-message-list */
  .section-message-list{
    padding-top: 8rem;
    margin-left: 2rem;
    margin-right: 2rem;
  }
}

/* message-list */
.message-list > .-item{
  display: flex;
  width: 100%;
  margin-top: -16.5rem;
}
.message-list > .-item:nth-child(even){
  justify-content: flex-end;  
}
.message-list > .-item:nth-child(1){
  margin-top: 0;
}
.message-list > .-item > a{
  width: 365px;
  display: inline-block;
  position: relative;
}
.message-list > .-item > a > .-number{
  font-family: "Dela Gothic One", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 4.8rem;
  line-height: 1;
  color: #e8380d;
  position: absolute;
  top: 1.8rem;
  left: 0;
  z-index: 1;
}
.message-list > .-item > a > .-img{
 position: relative;
}
.message-list > .-item > a > .-img > img{
  width: 100%;
  position: relative;
	top: 0;
}
.message-list > .-item > a:hover > .-img > img{
  top: 1rem;
	-webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.message-list > .-item > a > .-img > .-arrow{
  width: 32px;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
}

@media screen and (max-width : 1000px){
  /* message-list */
  .message-list > .-item > a{
    width: 47%;
  }
}

@media screen and (max-width : 760px){
  /* message-list */
  .message-list > .-item{
    display: block;
    margin-top: 8rem;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  .message-list > .-item:nth-child(1){
    margin-top: 0;
  }
  .message-list > .-item > a{
    width: 100%;
  }
}

@media screen and (max-width : 540px){
  /* message-list */
  .message-list > .-item{
    width: 100%;
  }
}

@media screen and (max-width : 400px){
  /* message-list */
  .message-list > .-item > a > .-number{
    font-size: 12vw;
  }
}

/* message-list-profile */
.message-list-profile{
  display: flex;
  justify-content: space-between;
  padding-top: 2.2rem;
}
.message-list-profile > .-data{
  flex: 1;
}
.message-list-profile > .-data > .-position{
  background-color: #e8380d;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  padding: 0.8rem 1rem;
}
.message-list-profile > .-data > .-year{
  background-color: #e8380d;
  color: #ffffff;
  text-align: center;
  margin-top: 0.4rem;
  white-space: nowrap;
  line-height: 1;
  padding: 0.8rem 1rem;
  font-weight: 900;
  font-size: 1.6rem;
}
.message-list-profile > .-name{
  background-color: #ffffff;
  text-align: center;
  width: 170px;
  display: flex;
  align-items: center;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  font-size: 4rem;
  margin-left: 3rem;
  white-space: nowrap;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.message-list > .-item > a:hover > .message-list-profile > .-name{
  background-color: #e8380d;
  color: #ffffff;
}
.message-list-profile > .-name > span{
  width: 100%;
  display: inline-block;
  line-height: 1;
}

@media screen and (max-width : 1000px){
  /* message-list-profile */
  .message-list-profile > .-name{
    margin-left: 2rem;
  }
  .message-list-profile > .-data > .-position{
    font-size: 2.1vw;
  }
  .message-list-profile > .-data > .-year{
    font-size: 1.65vw;
  }
}

@media screen and (max-width : 760px){
  /* message-list-profile */
  .message-list-profile > .-name{
    margin-left: 3rem;
  }
  .message-list-profile > .-data > .-position{
    font-size: 2rem;
  }
  .message-list-profile > .-data > .-year{
    font-size: 1.6rem;
  }
}

@media screen and (max-width : 540px){
  /* message-list-profile */
  .message-list-profile > .-name{
    width: 40%;
    margin-left: 2rem;
  }
}

@media screen and (max-width : 400px){
  /* message-list-profile */
  .message-list-profile > .-data > .-position{
    font-size: 5vw;
  }
  .message-list-profile > .-data > .-year{
    font-size: 4vw;
  }
}

/* *****************************************************************************

  message detail style

***************************************************************************** */
/* message-page */
.message-page{
  position: relative;
  overflow: hidden;
  background-image: url(/recruit/highschool/assets/images/message/bg-page-top-left.svg),
                    url(/recruit/highschool/assets/images/message/bg-page-top-right.svg),
                    url(/recruit/highschool/assets/images/bg-page-bottom-left.svg),
                    url(/recruit/highschool/assets/images/bg-page-bottom-right.svg);
  background-position: left top, right top, left bottom, right bottom;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: 475px auto, 538px auto, 356px auto, 442px auto;
}

@media screen and (max-width : 1000px){
  /* message-page */
  .message-page{
    background-size: 380px auto, 430px auto, 285px auto, 354px auto;
    background-position: left -4rem, right -2rem, left bottom, right bottom;
  }
}

@media screen and (max-width : 760px){
  /* message-page */
  .message-page{
    background-size: 380px auto, 430px auto, 285px auto, 354px auto;
    background-position: left -12rem, right -8rem, left bottom, right bottom;
  }
}

/* message-title */
.message-title{
  padding-left: 6rem;
  padding-right: 6rem;
}
.message-title > .-inner{
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width : 1000px){
  /* message-title */
  .message-title{
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* message-title-box */
.message-title-box{
  display: flex;
  justify-content: space-between;
  padding-left: 4.9057%;
  padding-right: 1.1321%;
}
.message-title-box > .-primary{
  width: 50.2008%;
  padding-top: 11.5%;
}
.message-title-box > .-img{
  width: 45.9839%;
  z-index: 1;
}
.message-title-box > .-img > img{
  width: 100%;  
}

@media screen and (max-width : 1000px){
  /* message-title-box */
  .message-title-box{
    padding-left: 0;
    padding-right: 0;
    align-items: flex-end;
  }
  .message-title-box > .-primary{
    width: 55%;
    padding-top: 0;
  }
  .message-title-box > .-img{
    width: 45%;
  }
}

@media screen and (max-width : 760px){
  /* message-title-box */
  .message-title-box{
    align-items: flex-start;
    margin-top: 2.3rem;
  }
}

@media screen and (max-width : 680px){
  /* message-title-box */
  .message-title-box{
    display: block;
  }
  .message-title-box > .-primary{
    width: 100%;
  }
  .message-title-box > .-img{
    display: none;
  }
}

/* message-title-main */
.message-title-main{
  position: relative;
  margin-left: auto;
  margin-right: auto;
}
.message-title-main::before,
.message-title-main::after{
  content: "";
  position: absolute;
}
.message-title-main::before{
  top: -2.3rem;
  left: -5.2rem;
  background: url(/recruit/highschool/assets/images/message/bg-message-title-01.svg) left top no-repeat;
  background-size: 146px auto;
  width: 146px;
  height: 152px;
}
.message-title-main::after{
  right: -5.2rem;
  bottom: -2.3rem;
  background: url(/recruit/highschool/assets/images/message/bg-message-title-02.svg) right bottom no-repeat;
  background-size: 132px auto;
  width: 132px;
  height: 157px;
}
.message-title-main > .-main{
  background-color: #ffffff;
  border-radius: 9999px;
  font-family: "Dela Gothic One", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #e8380d;
  font-size: 4.4rem;
  line-height: 1.1364;
  text-align: center;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  white-space: nowrap;
  padding: 2.5rem;
}
.message-title-main > .-main.-mk{
  font-size: 3.8rem;
}
.message-title-main > .-main > span{
  display: inline-block;
  width: 100%;
}

@media screen and (max-width : 1200px){
  /* message-title-main */
  .message-title-main > .-main.-mk{
    font-size: 3.2vw;
  }
}

@media screen and (max-width : 1000px){
  /* message-title-main */
  .message-title-main > .-main.-mk{
    font-size: 3.8vw;
  }
}

@media screen and (max-width : 860px){
  /* message-title-main */
  .message-title-main > .-main{
    font-size: 5.1vw;
  }
}

@media screen and (max-width : 680px){
  /* message-title-main */
  .message-title-main{
    max-width: 400px;
  }
  .message-title-main > .-main{
    font-size: 4rem;
  }
  .message-title-main > .-main.-mk{
    font-size: 2.9rem;
  }
}

@media screen and (max-width : 450px){
  /* message-title-main */
  .message-title-main > .-main{
    font-size: 8.8vw;
  }
  .message-title-main > .-main.-mk{
    font-size: 6.4vw;
  }
}

/* message-title-img-sp */
.message-title-img-sp{
  display: none;
}

@media screen and (max-width : 680px){
  /* message-title-img-sp */
  .message-title-img-sp{
    display: block;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: -1.5rem;
  }
  .message-title-img-sp > img{
    width: 100%;
  }
}

/* message-title-profile */
.message-title-profile{
  display: flex;
  justify-content: space-between;
  padding-top: 4rem;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}
.message-title-profile > .-data{
  flex: 1;
}
.message-title-profile > .-data > .-position{
  background-color: #e8380d;
  color: #ffffff;
  text-align: center;
  white-space: nowrap;
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
  padding: 0.8rem 1rem;
}
.message-title-profile > .-data > .-year{
  background-color: #e8380d;
  color: #ffffff;
  text-align: center;
  margin-top: 0.4rem;
  white-space: nowrap;
  line-height: 1;
  padding: 0.8rem 1rem;
  font-weight: 900;
  font-size: 1.6rem;
}
.message-title-profile > .-name{
  background-color: #ffffff;
  text-align: center;
  width: 170px;
  display: flex;
  align-items: center;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  font-size: 4rem;
  margin-left: 3rem;
  white-space: nowrap;
}
.message-title-profile > .-name > span{
  width: 100%;
  display: inline-block;
  line-height: 1;
}

@media screen and (max-width : 1000px){
  /* message-title-profile */
  .message-title-profile{
    padding-top: 2.5rem;
  }
  .message-title-profile > .-name{
    margin-left: 2rem;
  }
  .message-title-profile > .-data > .-position{
    font-size: 2.1vw;
  }
  .message-title-profile > .-data > .-year{
    font-size: 1.65vw;
  }
}

@media screen and (max-width : 760px){
  /* message-title-profile */
  .message-title-profile{
    padding-top: 2rem;
  }
  .message-title-profile > .-data > .-position{
    font-size: 2.35vw;
  }
  .message-title-profile > .-data > .-year{
    font-size: 2vw;
  }
}

@media screen and (max-width : 680px){
  /* message-title-profile */
  .message-title-profile > .-data > .-position{
    font-size: 2rem;
  }
  .message-title-profile > .-data > .-year{
    font-size: 1.6rem;
  }
}

@media screen and (max-width : 400px){
  /* message-title-profile */
  .message-title-profile > .-data > .-position{
    font-size: 5vw;
  }
  .message-title-profile > .-data > .-year{
    font-size: 4vw;
  }
  .message-title-profile > .-name{
    width: 40%;
    margin-left: 2rem;
  }
}

/* message-box-wrap */
.message-box-wrap{
  margin-top: 14rem;
}

@media screen and (max-width : 1000px){
  /* message-box-wrap */
  .message-box-wrap{
    margin-top: 10rem;
  }
}

/* message-box */
.message-box{
  padding-left: 6rem;
  padding-right: 6rem;
  margin-bottom: 16rem;
}
.message-box > .-inner{
  max-width: 1210px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width : 1000px){
  /* message-box */
  .message-box{
    padding-left: 4rem;
    padding-right: 4rem;
    margin-bottom: 12rem;
  }
}

@media screen and (max-width : 760px){
  /* message-box */
  .message-box{
    padding-left: 2rem;
    padding-right: 2rem;
    margin-bottom: 10rem;
  }
}

/* message-box-main */
.message-box-main{
  position: relative;
  display: flex;
}
.message-box-main.-even{
  flex-direction: row-reverse;
}

@media screen and (max-width : 760px){
  /* message-box-main */
  .message-box-main{
    display: block;
  }
}

/* message-primary */
.message-primary{
  width: 68.595%;
}
.message-primary.-odd{
  padding-left: 17.3554%;
}
.message-primary.-even{
  padding-right: 17.3554%;
}
.message-primary > .-question{
  margin-bottom: 3rem;
}
.message-primary > .-question > p{
  display: inline-block;
  border-radius: 9999px;
  font-weight: 900;
  color: #e8380d;
  background-color: #fdebe7;
  border: 3px solid #e8380d;
  line-height: 1.5;
  font-size: 1.8rem;
  padding: 0.5rem 4.5rem;
}
.message-primary > .-heading{
  font-weight: 900;
  color: #e8380d;
  font-size: 3rem;
  letter-spacing: 0.1em;
  line-height: 1.4;
}
.message-primary > .-text{
  margin-top: 2rem;
}
.message-primary > .-text > p{
  font-size: 1.6rem;
  line-height: 2;
  letter-spacing: 0.05em;
}

@media screen and (max-width : 1000px){
  /* message-primary */
  .message-primary{
    width: 60%;
  }
  .message-primary.-odd{
    padding-left: 0;
  }
  .message-primary.-even{
    padding-right: 0;
  }
}

@media screen and (max-width : 760px){
  /* message-primary */
  .message-primary{
    width: 100%;
  }
  .message-primary > .-question{
    margin-bottom: 2rem;
  }
  .message-primary > .-question > p{
    font-size: 1.7rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .message-primary > .-heading{
    font-size: 2.6rem;
  }
}

@media screen and (max-width : 460px){
  /* message-primary */
  .message-primary > .-heading > br.-break-460{
    display: none;
  }
}

@media screen and (max-width : 430px){
  /* message-primary */
  .message-primary > .-heading > br.-break-430{
    display: none;
  }
}

@media screen and (max-width : 390px){
  /* message-primary */
  .message-primary > .-heading > br.-break-390{
    display: none;
  }
}

@media screen and (max-width : 380px){
  /* message-primary */
  .message-primary > .-heading > br.-break-380{
    display: none;
  }
}

@media screen and (max-width : 330px){
  /* message-primary */
  .message-primary > .-heading > br.-break-330{
    display: none;
  }
}

/* message-img */
.message-img{
  position: absolute;
  width: 26.4463%;
}
.message-img.-odd{
  top: 60%;
  right: 0;
}
.message-img.-even{
  top: -1.5%;
  left: 0;
}
.message-img > .-illust{
  position: relative;
}
.message-img > .-illust::before{
  content: "";
  position: absolute;
}
.message-img.-odd > .-illust::before{
  width: 117.1875%;
  height: 100%;
  top: 0;
  right: 0;
  background: url(/recruit/highschool/assets/images/message/bg-img-star.svg) center center no-repeat;
  background-size: contain;
}
.message-img.-even > .-illust::before{
  width: 136.5625%;
  height: 125%;
  top: 0;
  right: -7.5%;
  background: url(/recruit/highschool/assets/images/message/bg-img-smoke.svg) center center no-repeat;
  background-size: contain;
  opacity: 0.5;
}
.message-img > .-illust > img{
  border-radius: 50%;
  width: 100%;
}
.message-img.-even  > .-illust > img{
  z-index: 1;
  position: relative;
}

@media screen and (max-width : 1000px){
  /* message-img */
  .message-img{
    width: 32.5%;
  }
  .message-img.-odd{
    top: 40%;
  }
}

@media screen and (max-width : 760px){
  /* message-img */
  .message-img{
    position: static;
    width: 80%;
    margin-top: 4rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* message-box-last */
.message-box-last{
  padding-left: 6rem;
  padding-right: 6rem;
}
.message-box-last > .-inner{
  max-width: 1084px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width : 1000px){
  /* message-box-last */
  .message-box-last{
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

@media screen and (max-width : 760px){
  /* message-box-last */
  .message-box-last{
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* message-box-main-last */
.message-box-main-last{
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

@media screen and (max-width : 760px){
  /* message-box-main-last */
  .message-box-main-last{
    display: block;
  }
}

/* message-primary-last */
.message-primary-last{
  width: 57.1956%;
}

@media screen and (max-width : 1000px){
  /* message-primary-last */
  .message-primary-last{
    width: 64%;
  }
}

@media screen and (max-width : 760px){
  /* message-primary-last */
  .message-primary-last{
    width: 100%;
  }
}

/* message-img-last */
.message-img-last{
  width: 36.9004%;
}
.message-img-last > .-illust{
  position: relative;
}
.message-img-last > .-illust::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 114.1026%;
  top: 0;
  right: 0;
  background: url(/recruit/highschool/assets/images/message/bg-img-object.svg) center center no-repeat;
  background-size: contain;
}
.message-img-last > .-illust > img{
  border-radius: 50%;
  width: 100%;
  position: relative;
  z-index: 1;
}

@media screen and (max-width : 760px){
  /* message-img-last */
  .message-img-last{
    position: static;
    width: 80%;
    margin-top: 4rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width : 460px){
  /* message-img-last */
  .message-img-last{
    width: 100%;
  }
}

/* message-back */
.message-back{
  padding-left: 2rem;
  padding-right: 2rem;
  margin-top: 13rem;
}
.message-back > .-main{
  text-align: center;
}
.message-back > .-main > a{
  display: inline-block;
  text-align: center;
  line-height: 3.2rem;
  padding-right: 5.4rem;
  background: url(/recruit/highschool/assets/images/arrow-circle-orange.svg) right center no-repeat;
  background-size: 3.2rem auto;
  color: #282828;
  font-weight: 900;
  font-size: 2.2rem;
  letter-spacing: 0.1em;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.message-back > .-main > a:hover{
  color: #e8380d;
}

@media screen and (max-width : 1000px){
  /* message-back */
  .message-back{
    margin-top: 12rem;
  }
}

@media screen and (max-width : 760px){
  /* message-back */
  .message-back{
    margin-top: 10rem;
  }
}
