@charset "UTF-8";
/* CSS Document */
/* ---------- main ---------- */
.main {
  position: relative;
  width: 100%;
  height: auto;
  margin: 80px auto 0;
  background-color: #F5A800;
}
.main-top {
  width: 78%;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media(min-width:960px){
  .main {
    margin: 100px auto 0;
  }
  .main-top {
    width: 73%;
  }
}

/* top text */
.main-top-text {
  text-align: left;
  width: 100%;
}
.main-top-text h2 {
  position: relative;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.17;
  letter-spacing: -0.5px;
  font-weight: 600;
  text-shadow: 1px 2px 2px #d5d5d5;
}
.main-top-text h2::before {
  position: absolute;
  bottom: 10px;
  left: 0;
  color: #ececec;
  font-size: 30px;
  line-height: 30px;
  content: attr(data-word);
  pointer-events: none;
  font-weight: 600;
  text-shadow: none;
  opacity: 0.4;
}
.main-top-img {
  width: 50%;
}
.main-top-img img {
  width: 100%;
  object-fit: cover;
  max-width: 300px;
}

/* ------------------------
タブレット（例: 768px〜959px）
------------------------ */
@media (min-width: 768px) and (max-width: 959px) {
  /* top text */
  .main-top-text h2 {
    font-size: 24px;
  }
  .main-top-text h2::before {
    font-size: 50px;
    bottom: 20px;
  }
}
/* ------------------------
PC（例: 960px〜）
------------------------ */
@media(min-width:960px){
  /* top text */
  .main-top-text h2 {
    font-size: 30px;
  }
  .main-top-text h2::before {
    font-size: 70px;
    bottom: 40px;
  }
}

/* ---------- content ---------- */
.content {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 60px;
  background-color: #F5A800;
}
.content-back {
  background-color: #FFFFFF;
  box-shadow: 0 0 6px gray;
  width: 89%;
  margin: 0 auto;
  padding: 60px 0;
  border-radius: 20px;
}
/* content-box 1 */
.content-box-1 {
  width: 86%;
  padding: 20px 0;
  margin: 20px auto;
  background: #EB2C31;
  color: #fff;
  box-shadow: 3px 2px 6px rgba(0,0,0,0.2);
  word-break: break-all;
}
.content-box-1-tape {
  width: 130px;
  height: 35px;
  margin: -35px auto 0;
  background: rgba(104,123,225,0.8);/* テープの色 */
  transform: rotate(-3deg);
  opacity: 0.9;
}
.content-box-title {
  width: 78%;
  margin: 10px auto 20px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  text-decoration: underline;
}
.content-box-flex {
  width: 89%;
  margin: 0 auto;
}
.content-box-object1 {
  text-align: left;
}
.content-box-object1-text {
  margin-bottom: 10px;
}
.content-box-object1-text h3 {
  font-size: 14px;
  font-weight: 400;
  text-decoration: underline;
}
.content-box-object1-text p {
  font-size: 10px;
  margin-left: 20px;
}
.content-box-object2 {
  text-align: left;
}
.content-box-object2-text {
  margin-bottom: 10px;
}
.content-box-object2-text h3 {
  font-size: 14px;
  font-weight: 400;
  text-decoration: underline;
}
.content-box-object2-text p {
  font-size: 10px;
  margin-left: 20px;
}
/* content-box 2 */
.content-box-2 {
  width: 86%;
  padding: 20px 0;
  margin: 40px auto;
  background: #4EBEA9;
  color: #fff;
  box-shadow: 3px 2px 6px rgba(0,0,0,0.2);
  word-break: break-all;
}
.content-box-2-tape {
  width: 130px;
  height: 35px;
  margin: -35px auto 0;
  background: rgba(247,91,153,0.8);/* テープの色 */
  transform: rotate(3deg);
  opacity: 0.9;
}
.content-box-title {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 20px;
  text-decoration: underline;
}

.content-box-object1 {
  text-align: left;
}
.content-box-object1-text {
  margin-bottom: 10px;
}
.content-box-object1-text h3 {
  font-size: 14px;
  font-weight: 400;
  text-decoration: underline;
}
.content-box-object1-text p {
  font-size: 10px;
  margin-left: 20px;
}
.content-box-object2 {
  text-align: left;
}
.content-box-object2-text {
  margin-bottom: 10px;
}
.content-box-object2-text h3 {
  font-size: 14px;
  font-weight: 400;
  text-decoration: underline;
}
.content-box-object2-text p {
  font-size: 10px;
  margin-left: 20px;
}

@media(min-width:960px){
  .content {
    padding-bottom: 100px;
    text-align: left;
  }
  .content-back {
    width: 79%;
    border-radius: 20px;
  }
  .content-box-flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 76%;
    margin: 0 auto;
  }
  /* content-box 1 */
  .content-box-1 {
    padding: 40px 0;
  }
  .content-box-1-tape {
    width: 150px;
    height: 45px;
    margin: -60px auto 0;
    transform: rotate(-4deg);
  }
  .content-box-title {
    margin-top: 40px;
    margin-bottom: 60px;
    font-size: 24px;
  }
  .content-box-object1 {
    width: 45%;
  }
  .content-box-object1-text,.content-box-object2-text {
    margin-bottom: 20px;
  }
  .content-box-object1-text h3,.content-box-object2-text h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .content-box-object1-text p,.content-box-object2-text p {
    font-size: 16px;
    line-height: 20px;
  }
  
  /* content-box 2 */
  .content-box-2 {
    padding: 40px 0;
    margin: 80px auto 0;
  }
  .content-box-2-tape {
    width: 150px;
    height: 45px;
    margin: -60px auto 0;
    transform: rotate(-4deg);
    }
  .content-box-object2 {
    width: 45%;
  }
}