@charset "UTF-8";

/******************************
common
******************************/
.pagesec::before{
  content: "";
  background: url(../../images/common/bg_rpbox.svg) repeat center;
  opacity: .6;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
}
.pagesec .content{
  display: flex;
  flex-direction: column;
  gap: 5rem;
}
.pagesec .content .box::before{
  content: "";
  position: absolute;
}
.pagesec .content .box:nth-of-type(1)::before{
  aspect-ratio: 554 / 375;
  background: url(../../images/common/ob_bubble3.svg) no-repeat center / contain;
  top: -4rem;
  left: -9rem;
  width: 28.84%;
}
.pagesec .content .box:nth-of-type(2)::before{
  aspect-ratio: 364 / 367;
  background: url(../../images/common/ob_bubble4.svg) no-repeat center / contain;
  top: -8rem;
  right: -15rem;
  width: 37.91%;
}
.pagesec .content .box:nth-of-type(3)::before{
  aspect-ratio: 632 / 501;
  background: url(../../images/common/ob_bubble2.svg) no-repeat center / contain;
  bottom: -8rem;
  left: -10rem;
  width: 32.86%;
}
.pagesec .ttlbox1,
.pagesec .ftxtbox,
.pagesec .fimgbox{
  position: relative;
  z-index: 2;
}
.pagesec .ftxtbox{
  width: 55%;
}
.pagesec .fimgbox{
  width: 40%;
}
.pagesec .ftxtbox p{
  font-size: 1.8rem;
}
.pagesec .fimgbox img{
  border-radius: 10px;
  box-shadow: 2px 2px 4px #a8a8a8;
}

/* 拡大 */
.fontsizebig .pagesec .ftxtbox p{
  font-size: 2rem;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
  .fontsizebig .pagesec .ftxtbox p{
    font-size: 1.8rem;
  }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
}

/* 通常 */
@media only screen and (max-width: 1350px) {
  .pagesec .frr .ftxtbox p{
    padding-right: 3rem;
  }
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
  .pagesec .content .box:nth-of-type(1)::before {
    left: -6rem;
    width: 38.84%;
  }
  .pagesec .content .box:nth-of-type(2)::before {
    top: -5rem;
    right: -12rem;
    width: 47.91%;
  }
  .pagesec .content .box:nth-of-type(3)::before {
    left: -6rem;
    width: 48.86%;
  }
  .pagesec .ftxtbox,
  .pagesec .fimgbox {
    margin: 0 auto;
    width: 80%;
  }
  .pagesec .fimgbox {
    margin-top: 2rem;
    width: 70%;
  }
  .pagesec .ftxtbox p{
    padding: 0 !important;
    font-size: 1.6rem;
  }
  .pagesec .fimgbox img {
    aspect-ratio: 4 / 2;
    object-fit: cover;
    height: auto;
    width: 100%;
  }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .pagesec .content .box:nth-of-type(1)::before {
    width: 60%;
  }
  .pagesec .content .box:nth-of-type(2)::before {
    top: -2rem;
    right: -5rem;
    width: 63%;
  }
  .pagesec .content .box:nth-of-type(3)::before {
    bottom: -5rem;
    width: 68.86%;
  }
  .pagesec .ftxtbox,
  .pagesec .fimgbox {
    width: 100%;
  }
  .pagesec .fimgbox img {
    aspect-ratio: auto;
  }
}