/* ======================================================================
 p_terarin
====================================================================== */
.p_terarin .sec1 {
  background: #FFFAE6;
}
.p_terarin .sec1_inner {
  width: 1000px;
  margin: 0 auto;
  padding: 50px 0 90px;
}
@media screen and (max-width: 768px) {
  .p_terarin .sec1_inner {
    width: 100%;
    padding: 30px 4.6875% 50px;
  }
}
.p_terarin .sec1 .c_ttl_1 .sub {
  position: relative;
  font-size: 18px;
  display: inline-block;
  padding: 0 0 10px;
}
@media screen and (max-width: 768px) {
  .p_terarin .sec1 .c_ttl_1 .sub {
    font-size: 15px;
    padding: 0;
  }
}
.p_terarin .sec1 .c_ttl_1 .sub:before {
  content: "";
  width: 15px;
  height: 2px;
  background: #222;
  position: absolute;
  bottom: 16px;
  left: -20px;
  transform: rotate(40deg);
}
@media screen and (max-width: 768px) {
  .p_terarin .sec1 .c_ttl_1 .sub:before {
    bottom: 12px;
  }
}
.p_terarin .sec1 .c_ttl_1 .sub:after {
  content: "";
  width: 15px;
  height: 2px;
  background: #222;
  position: absolute;
  bottom: 17px;
  right: -17px;
  transform: rotate(-45deg);
}
@media screen and (max-width: 768px) {
  .p_terarin .sec1 .c_ttl_1 .sub:after {
    bottom: 12px;
  }
}
.p_terarin .sec1 .c_ttl_1 .color {
  color: #F78508;
}
.p_terarin .sec1 .profile {
  margin: 40px 0 0;
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 768px) {
  .p_terarin .sec1 .profile {
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
}
.p_terarin .sec1 .profile_txtwrap {
  width: calc(100% - 475px);
  display: flex;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .p_terarin .sec1 .profile_txtwrap {
    margin: 30px 0 0;
    width: 100%;
  }
}
.p_terarin .sec1 .profile_imgwrap {
  width: 475px;
  transform: translateX(50px);
}
@media screen and (max-width: 768px) {
  .p_terarin .sec1 .profile_imgwrap {
    text-align: center;
    width: 100%;
    transform: translateX(0);
    text-align: center;
  }
  .p_terarin .sec1 .profile_imgwrap img {
    width: 278px;
    transform: translateX(8vw);
  }
}
.p_terarin .sec1 .profile_main {
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 25px;
}
@media screen and (max-width: 768px) {
  .p_terarin .sec1 .profile_main {
    text-align: center;
    font-size: 20px;
    margin: 0 0 15px;
  }
}
.p_terarin .sec1 .profile_lists {
  width: 500px;
  border-radius: 10px;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .p_terarin .sec1 .profile_lists {
    width: 100%;
  }
}
.p_terarin .sec1 .profile_list {
  width: 100%;
  display: flex;
}
.p_terarin .sec1 .profile_list:not(:first-of-type) {
  margin: 5px 0 0;
}
.p_terarin .sec1 .profile_ttl {
  width: 100px;
  height: 67px;
  display: flex;
  font-weight: normal;
  align-items: center;
  background: #FFC744;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  .p_terarin .sec1 .profile_ttl {
    width: 80px;
    height: 50px;
  }
}
.p_terarin .sec1 .profile_txt {
  width: calc(100% - 100px);
  background: #fff;
  height: 67px;
  display: flex;
  align-items: center;
  padding: 0 20px;
}
@media screen and (max-width: 768px) {
  .p_terarin .sec1 .profile_txt {
    width: calc( 100% - 80px );
    height: 50px;
  }
}
.p_terarin .sec1 .terarins {
  margin: 60px 0 0;
  display: flex;
  justify-content: space-between;
}
@media screen and (max-width: 768px) {
  .p_terarin .sec1 .terarins {
    margin: 50px 0 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
  }
}
.p_terarin .sec1 .terarins .u_txt_12 {
  margin: 10px 0 0;
  text-align: center;
}
.p_terarin .sec2_inner {
  padding: 90px 0 100px;
  width: 1000px;
  margin: 0 auto;
  background-image: url(../img/p_terarin/bg.png);
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}
@media screen and (max-width: 768px) {
  .p_terarin .sec2_inner {
    width: 100%;
    padding: 60px 4.6875% 55px;
    background-image: url(../img/p_terarin/sp/bg.png);
    background-size: cover;
  }
}
.p_terarin .sec2_inner:before {
  content: url(../img/p_terarin/img07.svg);
  position: absolute;
  top: 50px;
  right: 60px;
}
@media screen and (max-width: 768px) {
  .p_terarin .sec2_inner:before {
    content: url(../img/p_terarin/sp/img07.svg);
    top: -5px;
    right: 5px;
  }
}
.p_terarin .sec2_inner:after {
  content: url(../img/p_terarin/img08.svg);
  position: absolute;
  bottom: 80px;
  left: 30px;
}
@media screen and (max-width: 768px) {
  .p_terarin .sec2_inner:after {
    content: url(../img/p_terarin/sp/img08.svg);
    position: absolute;
    bottom: 30px;
    left: 15px;
  }
}
.p_terarin .sec2 .lead {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  line-height: 2;
}
@media screen and (max-width: 768px) {
  .p_terarin .sec2 .lead {
    line-height: 2.4;
    font-size: 16px;
  }
}

/*# sourceMappingURL=p_terarin.css.map */
