@charset "UTF-8";

.wrapper {
  width: 86%;
  max-width: 780px;
  margin: 0 auto;
}
.bg-chapter1 {
  background: #E6E057;
}
.bg-chapter4 {
  background: #E6216F;
}
.container {
  background-image: url("../img/chapter/bg-pc.png");
  background-blend-mode: overlay;
  background-repeat: no-repeat;
  background-position: calc(50% - 380px) bottom;
  background-size: 400px;
  padding-bottom: 80px;
}

/*-------------------------------------------
header
-------------------------------------------*/
#header {
  height: 140px;
}

/*-------------------------------------------
メインコンテンツ
-------------------------------------------*/
.back-chapter {
  text-align: right;
}
.back-chapter a {
  width: 230px;
}
.content {
  background-color: #eee;
  border: solid 6px #fff;
  border-radius: 13px;
  margin: 20px auto;
}
.content .inner {
  padding: 0 6% 100px 6%;
}
.content .top-chapter1 {
  height: 145px;
  display: flex;
  align-items: center;
  background-color: #E6216F;
  border-radius: 13px 13px 0 0;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}
.content .top-chapter1 .face {
  width: 164px;
  border: solid 6px #fff;
  border-radius: 50%;
  position: absolute;
  top: -10px;
  left: -60px;
}
.content .top-chapter1 .page-title {
  width: 86%;
  line-height: 0;
  margin: 0 auto;
}
.content .top-chapter4 {
  height: 184px;
  display: flex;
  align-items: center;
  background-color: #D4FFDB;
  border-radius: 13px 13px 0 0;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}
.content .top-chapter4 .face {
  width: 164px;
  border: solid 6px #fff;
  border-radius: 50%;
  position: absolute;
  top: -40px;
  left: -58px;
}
.content .top-chapter4 .page-title {
  width: 86%;
  line-height: 0;
  margin: 0 auto;
}
.content .name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
}
.content .name span {
  font-size: 18px;
  font-weight: normal;
}
.content .name span.notice {
  font-size: 16px;
  display: block;
}
.content .imgarea img {
  border-radius: 12px;
}
.content .youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.content .youtube iframe {
  border-radius: 12px;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.content .textarea .text-title {
  color: #E6216F;
  font-size: 23px;
  margin: 35px 0 5px 0;
}
.content .textarea p {
  font-size: 18px;
  line-height: 1.8;
  text-align: justify;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 768px) {
  .container {
    background-image: url("../img/chapter/bg-sp.png");
    background-repeat: no-repeat;
    background-position: right 0px;
    background-size: 262px;
    padding-bottom: 40px;
  }
  .back-chapter {
    text-align: center;
  }

  /*-------------------------------------------
  header
  -------------------------------------------*/
  #header {
    height: 120px;
  }

  /*-------------------------------------------
  メインコンテンツ
  -------------------------------------------*/
  .content {
    background-color: #fff;
    border: none;
    margin-top: 80px;
  }
  .content .inner {
    padding: 0 6% 30px 6%;
  }
  .content .name {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 0;
    text-align: left;
  }
  .content .name span {
    font-size: 16px;
  }
	.content .name span.notice {
	  font-size: 14px;
	}
  .content .top-chapter1 {
    padding: 60px 0 30px 0;
    margin-bottom: 20px;
  }
  .content .top-chapter1 .face {
    width: 106px;
    top: -62px;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  .content .top-chapter4 {
    height: auto;
    padding: 35px 0 25px 0;
    margin-bottom: 20px;
  }
  .content .top-chapter4 .face {
    width: 106px;
    top: -62px;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  .content .top-chapter4 .page-title {
    position: relative;
    z-index: 10;
  }
  .content .textarea .text-title {
    font-size: 20px;
  }
  .content .textarea p {
    font-size: 16px;
  }
}