@charset "utf-8";

/* ---------------
article共通
--------------- */

.cf::after {
  content: "";
  display: block;
  clear: both;
}

#container {
  width: 100%;
  font-size: 14px;
  padding-top: 0;
}

#yumesen * {
  box-sizing: border-box;
}

#yumesen img {
  max-width: 100%;
}
#yumesen.article img.border_shadow {
  outline: 5px solid #fff;
  box-sizing: border-box;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.2);
}

/** {
    -moz-box-sizing: border-box;
   -webkit-box-sizing: border-box;
   -o-box-sizing: border-box;
   -ms-box-sizing: border-box;
   box-sizing: border-box;
}
*/

#yumesen.article .article-main-img {
  background: #e1f6ff;
  padding: 35px 0 50px 0;
  margin-bottom: 0;
}

#yumesen.article h2.article-title {
  font-size: 20px;
  margin-bottom: 40px;
  line-height: 1.5;
}

#yumesen.article h2.article-title span {
  font-size: 24px;
  font-weight: 700;
  color: #0075c1;
  display: inline-block;
  margin-top: 20px;
}

#yumesen.article .teacher-area {
  display: flex;
  justify-content: space-between;
}
#yumesen.article .teacher-area:last-of-type {
  margin-top: 45px;
}

#yumesen.article .teacher-info {
  width: 800px;
}

#yumesen.article .teacher-info dt {
  font-weight: 700;
  margin-bottom: 10px;
}

#yumesen.article .teacher-photo {
  max-width: 130px;
  height: auto;
}
#yumesen.article .teacher-photo-area {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

#yumesen.article .teacher-photo-area.column2 figure {
  width: 48%;
}

#yumesen.article .teacher-photo-area.column3 figure {
  width: 32%;
} 

#yumesen.article .school-info-area {
  position: relative;
}

#yumesen.article .school-info-area dl {
  margin-bottom: 20px;
}

#yumesen.article .school-info-area dt {
  font-weight: 700;
  margin-bottom: 5px;
}

#yumesen.article .school-info-area .school-photo {
  max-width: 360px;
  height: auto;
  position: absolute;
  top: 0;
  right: 0;
}

#yumesen.article .school-info-area .link {
  padding-left: 12px;
  background: url(../../../share/img/arrow_02.gif) no-repeat 0 0.5em;
}

#yumesen.article .totop {
  display: flex;
  justify-content: space-between;
}

#yumesen.article .totop a {
  display: block;
  width: 400px;
}

#yumesen.article .school-info-area {
  margin-bottom: 125px;
}

/* ----------------------
Main
 ------------------------- */

#yumesen .main-contents {
  background:
    url(../img/article/sky.png),
    linear-gradient(to bottom, #fff 30%, #e1f6ff);
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 10px;
}

#yumesen .main-contents .yumesen-container {
  margin-bottom: 50px;
  margin-top: 100px;
  background: #fff;
  border-radius: 15px;
  padding: 100px 50px 10px;
  position: relative;
}

#yumesen .main-contents .yumesen-container h2 {
  margin-bottom: 30px;
  position: absolute;
  top: -55px;
  left: 0;
  right: 0;
  margin: 0 auto;
}

/* -----intro----- */

#yumesen .atricle-introduction .article-teacher-photo {
  float: right;
  width: 270px;
  position: relative;
}

#yumesen .atricle-introduction .article-teacher-photo img {
  border: 7px solid #fff;
  transform: rotate(5deg);
  z-index: 1;
  position: relative;
}

#yumesen .atricle-introduction .article-teacher-photo::after {
  content: "";
  display: block;
  width: 270px;
  height: 180px;
  background: #afdff8;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

#yumesen .atricle-introduction {
  padding-bottom: 30px;
  background: url(../img/article/border_dot.gif) center bottom repeat-x;
}

#yumesen .atricle-introduction .desc {
  float: left;
  width: 550px;
  font-size: 18px;
}

#yumesen .paragraph .paragraph_txt { text-indent: 1.2rem; margin-bottom: 1rem; }

/* -----Paragaraph01----- */

#yumesen .paragraph01,
#yumesen .paragraph03,
#yumesen .paragraph04,
#yumesen .paragraph05 {
  padding: 40px 0;
}

#yumesen .paragraph h3 {
  padding-left: 20px;
  position: relative;
  border: none;
  padding-bottom: 0;
  color: #028ae9;
  font-size: 24px;
  font-weight: 700;
}

#yumesen .paragraph h3::before {
  content: "";
  display: block;
  width: 38px;
  height: 40px;
  background: url(../img/article/star.png) no-repeat;
  background-size: cover;
  position: absolute;
  top: -10px;
  left: -30px;
}

#yumesen .paragraph01-text {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  margin-bottom: 35px;
}

#yumesen .paragraph01-text p {
  width: 49%;
}

#yumesen .paragraph01-text p:nth-of-type(1) {
  width: 400px;
}

#yumesen .paragraph01-photo ul {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

#yumesen .paragraph01-photo ul li {
  max-width: 280px;
}

#yumesen .paragraph02 {
  background: url(../img/article/sweat_back.gif);
  padding: 15px 25px;
  margin-top: 30px;
}

#yumesen .paragraph02 .paragraph02_Imgs {
  display: flex;
  justify-content: space-between;
}
#yumesen .paragraph02 .paragraph02_Img {
  max-width: 48%;
}

#yumesen .paragraph02-photo {
  background: #fff;
  border-radius: 15px;
  border: 3px solid #a3e1fa;
  padding: 0 30px 40px;
}

#yumesen .paragraph02-photo p:first-of-type {
  text-align: center;
  margin-bottom: 25px;
}

#yumesen .paragraph02-photo .sweat img {
  margin: auto;
}

#yumesen .paragraph02-photo .sweat img.sp {
  margin-top: 15px;
}

#yumesen .paragraph02-float-box {
  position: relative;
}

#yumesen .paragraph02-float-box figure {
  float: left;
}

#yumesen .paragraph02-float-box figure {
  text-align: center;
}

#yumesen .paragraph02-float-box figure img {
  width: 300px;
  max-width: 100%;
}

#yumesen .paragraph02-float-box figcaption {
  margin-top: 15px;
}

#yumesen .paragraph02-float-box img {
  outline: 5px solid #fff;
  box-sizing: border-box;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.2);
}

#yumesen .messy-photo {
  position: absolute;
  top: 1.5rem;
  right: 0;
  max-width: 420px;
  text-align: right;
}

#yumesen .messy-photo img {
  position: relative;
  top: 0;
  right: 0;
  max-width: 180px;
  height: auto;
}

#yumesen .messy-photo img:nth-of-type(1) {
  left: 15px;
  z-index: 4;
}

#yumesen .messy-photo img:nth-of-type(2) {
  transform: rotate(10deg);
  right: 10px;
  z-index: 1;
  top: -2px;
}

#yumesen .messy-photo img:nth-of-type(3) {
  transform: rotate(-8deg);
  z-index: 3;
  top: -8px;
}

#yumesen .messy-photo img:nth-of-type(4) {
  right: 20px;
  z-index: 2;
}

#yumesen .messy-photo li:first-of-type {
  top: 0;
  left: 100px;
}

/* -----Paragaraph03----- */

#yumesen .paragraph03-photo {
  margin-top: 15px;
}

/* -----Paragaraph04----- */

#yumesen .paragraph04-photo {
  margin-top: 15px;
}

#yumesen .paragraph04-photo ul {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

#yumesen .paragraph04-photo ul li {
  max-width: 280px;
}
#yumesen .column-2 ul li {
  max-width: 100% !important;
}

/* -----Paragaraph05----- */

#yumesen .paragraph05-photo {
  margin-top: 15px;
}

#yumesen .paragraph05-photo ul {
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
}

/* --1クラスの時-- */
#yumesen .class-1.paragraph05-photo ul li {
  max-width: 560px;
  height: auto;
  margin: 0 auto;
}

/* --2クラスの時-- */
#yumesen .class-2.paragraph05-photo ul li {
  max-width: 420px;
  height: auto;
}

/* --3クラスの時-- */
#yumesen .class-3.paragraph05-photo ul li {
  max-width: 280px;
  height: auto;
}

/* --2クラスの時-- */
#yumesen .class-4.paragraph05-photo ul li {
  max-width: 420px;
  height: auto;
  margin-bottom: 20px;
}

/* --汎用 flex-- */
#yumesen .column-2,
#yumesen .column-3,
#yumesen .column-4 {
  margin: 1em 0;
}
#yumesen .column-2 ul,
#yumesen .column-3 ul,
#yumesen .column-4 ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#yumesen .column-2 ul li {
  width: 48%;
  text-align: center;
}
#yumesen .column-3 ul li {
  width: 32%;
  text-align: center;
}
#yumesen .column-4 ul li {
  width: 48%;
  text-align: center;
}

/* -----Interview----- */

#yumesen .interview-area {
  background-image: url(../img/article/flag.png);
  background-repeat: repeat-x;
  background-position: center top;
  background-color: #f4f4eb;
  padding: 120px 0 40px;
}

#yumesen .interview-area .yumesen-container {
  padding: 30px;
  background: url(../img/article/interview_back.gif);
}

#yumesen .interview-area .interview-title {
  background: url(../img/article/interview_title_back.gif);
  padding: 20px 0;
  text-align: center;
  margin-bottom: 0;
  border: none;
}

#yumesen .interview-area .interview-title p:first-of-type {
  margin-bottom: 10px;
}

#yumesen .interview-area .interview-text {
  background: #fff;
  padding: 30px 40px;
}

#yumesen .interview-area .interview-text .questions {
  background: url(../img/article/border_dot.gif) center bottom repeat-x;
  padding-bottom: 20px;
}

#yumesen .interview-area .interview-text .question {
  background-position: left top;
  padding-left: 55px;
}

#yumesen .interview-area .interview-text .question:first-of-type {
  margin-bottom: 10px;
  background: url(../img/article/q1.gif) no-repeat;
}

#yumesen .interview-area .interview-text .question:last-of-type {
  background: url(../img/article/q2.gif) no-repeat;
}

#yumesen .interview-area .interview-text .answers {
  margin: 40px 0 25px;
}

#yumesen .interview-area .interview-text .answers .answers-text {
  float: left;
  width: 60%;
}

#yumesen .interview-area .interview-text .answers .answers-class-label {
  width: 100px;
  margin-bottom: 15px;  
}

#yumesen .interview-area .interview-text .answers .answers-photo {
  float: right;
  width: 35%;
}

#yumesen .interview-area .interview-text .answers h4 {
  border: none;
  margin: 0;
  letter-spacing: 0;
}

#yumesen .interview-area .interview-text .answers .student-comment {
  margin-bottom: 30px;
}

#yumesen .interview-area .interview-text .answers .student-comment:last-of-type {
  margin-bottom: 0;
}

#yumesen .interview-area .interview-text .answers .student-comment p {
  min-height: 40px;
  padding-top: 5px;
  padding-left: 50px;
  background-position: left top;
}

#yumesen .interview-area .interview-text .answers .student-comment p:last-of-type {
  background: url(../img/article/a2.gif) no-repeat;
}

#yumesen .interview-area .interview-text .answers .student-comment p:first-of-type {
  margin-bottom: 15px;
  background: url(../img/article/a1.gif) no-repeat;
}

#yumesen .interview-area .interview-text .answers .student-comment span {
  margin-right: 15px;
}

#yumesen .interview-area .interview-text .teacher-comment {
  padding: 15px;
  background: #f2efe0;
  clear: both;
}

#yumesen .interview-area .interview-text .teacher-comment-2 {
  margin-top: 15px;
}

#yumesen .interview-area .interview-text .teacher-comment h4 {
  border: none;
  margin: 0;
}

#yumesen.article h2.about-school {
  margin-top: 50px;
}

/* ----ふわっと出る動き---- */
.fade-in {
  transition: opacity 1s;
  -moz-transition: opacity 1s;
  -webkit-transition: opacity 1s;
  -o-transition: opacity 1s;
}

.fade-in-left {
  opacity: 0;
  transform: translate(100px, 0);
  transition: all 900ms;
}

.fade-in-right {
  opacity: 0;
  transform: translate(-50px, 0);
  transition: all 900ms;
}

.fade-in-right.scrollin,
.fade-in-left.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

br.sp {
  display: none;
}


/* 先生が2人いる回の微調整 */
#yumesen.article.teachers .paragraph02-photo {
  padding: 30px 30px 0;
}

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

  .pc {
    display: none;
  }
  br.sp {
    display: inline;
  }

  #yumesen.article .teacher-area {
    display: block;
  }

  #yumesen.article .teacher-info {
    width: 100%;
    text-align: justify;
  }

  #yumesen.article .teacher-info dt {
    text-align: center;
  }

  #yumesen.article .teacher-photo {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
  }

  #yumesen.article .school-info-area .school-photo {
    position: static;
    text-align: center;
    margin-bottom: 15px;
    max-width: 100%;
  }

  #yumesen.article .totop {
    display: block;
  }

  #yumesen.article .totop a {
    width: 90%;
  }

  #yumesen.article .totop a:first-of-type {
    margin-bottom: 30px;
  }

  #yumesen.article h2.article-title span {
    font-size: 18px;
  }

  /* ----------------------
    Main
     ------------------------- */
  #yumesen .main-contents {
    background: none;
    background-size: cover;
    width: 100%;
    padding-top: 20px;
  }

  /* -----intro----- */

  #yumesen .main-contents .yumesen-container{

  }

  #yumesen .main-contents .yumesen-container {
    padding: 50px 0 0;
    background: transparent;
  }

  #yumesen .atricle-introduction .article-teacher-photo {
    float: none;
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
  }

  #yumesen .atricle-introduction .article-teacher-photo img {
    transform: rotate(0deg);
  }

  #yumesen .atricle-introduction .article-teacher-photo::after {
    content: "";
    display: none;
    width: 0;
    height: 0;
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
  }

  #yumesen .atricle-introduction .desc {
    float: none;
    width: 100%;
    font-size: 16px;
  }

  /* -----Paragraph01----- */
  #yumesen .paragraph01,
  #yumesen .paragraph03,
  #yumesen .paragraph04,
  #yumesen .paragraph05 {
    padding: 20px 0;
  }

  #yumesen .paragraph h3 {
    padding-left: 45px;
    margin-top: 15px;
    font-size: 22px;
  }

  #yumesen .paragraph h3::before {
    top: -10px;
    left: 0;
  }

  #yumesen .paragraph01-text {
    display: block;
  }

  #yumesen .paragraph01-text p {
    width: 100%;
  }

  #yumesen .paragraph01-text p:nth-of-type(1) {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
  }

  #yumesen .paragraph01-photo ul {
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
  }

  #yumesen .paragraph01-photo ul li {
    margin: 10px 5px;
  }

  /* ----Paragraph02---- */

  #yumesen .paragraph02 {
    padding: 15px 10px;
  }

  #yumesen .paragraph02-float-box figure {
    float: none;
    margin-bottom: 30px;
  }

  #yumesen .messy-photo {
    position: static;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
  }

  #yumesen .messy-photo img {
    display: block;
    position: static;
    z-index: 0;
    margin: 4% 3%;
    width: 42%;
    max-width: 180px;
    height: auto;
  }

  #yumesen .messy-photo img:nth-of-type(1){
  }

  #yumesen .messy-photo img:nth-of-type(2) {
    transform: rotate(0deg);
  }

  #yumesen .messy-photo img:nth-of-type(3) {
    transform: rotate(0deg);
  }

  #yumesen .messy-photo li:first-of-type {
    top: 0;
    left: 100px;
  }

  /* ------paragraph04------ */

  #yumesen .paragraph04-photo ul {
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
  }

  #yumesen .paragraph04-photo ul li {
    margin: 10px 5px;
  }

  /* ------paragraph05------ */

  #yumesen .paragraph05-photo ul {
    display: block;
  }

  #yumesen .paragraph05-photo ul li {
    margin-bottom: 30px;
  }

  #yumesen .paragraph05-photo ul li:last-of-type {
    margin-bottom: 0;
  }

  /* --2クラスの時-- */
  #yumesen .class-2.paragraph05-photo ul li {
    max-width: 100%;
    height: auto;
    text-align: center;
  }

  /* --3クラスの時-- */
  #yumesen .class-3.paragraph05-photo ul li {
    max-width: 100%;
    height: auto;
    text-align: center;
  }

  /* --4クラスの時-- */
  #yumesen .class-4.paragraph05-photo ul li {
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  /* ------Interview------ */

  #yumesen .interview-area {
    background-image: url(../img/article/flag_sp.png);
    padding: 35px 0 0;
    margin-bottom: 50px;
  }

  #yumesen .interview-area .yumesen-container {
    padding: 0;
    background: none;
    width: 100%;
  }

  #yumesen .interview-area .yumesen-container .interview-title {
    padding: 20px 15px;
  }

  #yumesen .interview-area .interview-text {
    background: #fff;
    padding: 30px 10px 0;
  }

  #yumesen .interview-area .interview-text .answers .answers-text,
  #yumesen .interview-area .interview-text .answers .answers-photo {
    float: none;
    width: 100%;
  }

  #yumesen .interview-area .interview-text .answers .answers-photo {
    margin-bottom: 30px;
    text-align: center;
  }

  #yumesen .interview-area .interview-text .answers .answers-photo img {
    /* width: 320px; */
    height: auto;
    max-width: 100%;
  }

  /* ----School Info---- */
  #yumesen.article .school-info-area {
    margin-bottom: 45px;
  }

  #yumesen.article .school-info-area .school-photo img {
    height: auto;
    max-width: 100%;
  }

  .fade-in-left {
    opacity: 0;
    transform: translate(0, 30px);
    transition: all 700ms;
  }

  .fade-in-right {
    opacity: 0;
    transform: translate(0, 30px);
    transition: all 700ms;
  }

  /* 先生が2人いる回の微調整 */
  #yumesen.article.teachers .paragraph02-photo {
    padding: 20px 20px 0;
  }

  /* --汎用 flex-- */
  #yumesen .column-2 ul,
  #yumesen .column-3 ul,
  #yumesen .column-4 ul {
    /* display: flex;
        justify-content: space-between;
        flex-wrap: wrap; */
  }
  #yumesen .column-2 ul li {
    width: 100%;
  }
  #yumesen .column-2 ul li:not(:last-of-type) {
    margin-bottom: 20px;
  }
  #yumesen .column-3 ul li {
    width: 100%;
  }
  #yumesen .column-3 ul li:not(:last-of-type) {
    margin-bottom: 20px;
  }
  #yumesen .column-4 ul li {
    width: 100%;
  }
  #yumesen .column-4 ul li:not(:last-of-type) {
    margin-bottom: 20px;
  }
}

#yumesen.article .article-header{
  padding-top: 90px;
  margin-top: -90px;
}

@media(max-width: 768px) {
  #yumesen.article .article-header{
    padding-top: calc(16vw + 65px);
    margin-top: calc(-16vw + -65px);
  }
}
@media(max-width: 768px) {
  #yumesen.article #report-title1{
    padding-top: 0;
    margin-top: 16vw;
  }
}


#yumesen.article .article-label {
  text-align: center;
  background: url(/corp/yumesen/img/article/sky_cut.jpg);
  background-position: center center;
  background-size: cover;
  padding: 50px 15px;
}
@media(max-width: 768px) {
  #yumesen.article .article-label {
    padding: 30px 15px;
  }
}
