@charset "utf-8";

.company-top{
  margin-bottom:5rem;
  position:relative;
  text-align:center;
}

.company-top .container{
  width: fit-content;
  padding: 0 5% !important;
  background: #fff;
}

.company-top::before{
  content:"";
  position:absolute;
  width:25%;
  aspect-ratio:400/90;
  background:url(https://use-partner.com/system_panel/uploads/images/20250731103352484700.png) no-repeat center/contain;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  z-index:-1;
}

.company-top::after{
  content:"";
  position:absolute;
  width:25%;
  aspect-ratio:400/90;
  background:url(https://use-partner.com/system_panel/uploads/images/20250731103352484700.png) no-repeat center/contain;
  top: 50%;
  right: 0%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  z-index:-1;
}

.company-top h2{
  font-size:clamp(1.125rem, 0.989rem + 0.45vw, 1.5rem);
  color:#01A0EA;
  margin-bottom:2.5rem;
}

.company-top p:last-child{
  color:#01A0EA;
  margin-top:1.5rem;
}

.company-top p:last-child strong{
  background: linear-gradient(transparent 50%, #FEF200 50%);
}

.onayami{
  padding:2.5rem 5% 5rem;
  background:#01A0EA;
  color:#fff;
}

.onayami h2{
  width:fit-content;
  margin:0 auto 4rem;
  font-size:20px;
  padding:8px 0;
  position:relative;
}

.onayami h2::before{
  content:"";
  position:absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width:165px;
  height: 67px;
  background:url(https://use-partner.com/system_panel/uploads/images/20250731104145984093.png) no-repeat center/contain;
}

.onayami-img{
  position:relative;
}

.onayami-main{
  width:30%;
  margin:0 auto;
}

.onayami-sub{
  position:absolute;
  width:20%;
}

.onayami-sub-1{
  top:-5%;
  left:20%;
}

.onayami-sub-2{
  top:-5%;
  right:20%;
}

.onayami-sub-3{
  top:40%;
  left:5%;
}

.onayami-sub-4{
  top:40%;
  right:5%;
}

.leave{
  margin-top: -7.5rem;
  padding:100px 0 5rem;
  background:url(https://use-partner.com/system_panel/uploads/images/20250731122055499272.png) no-repeat center/cover;
}

.leave .container{
  max-width:1056px;
}

.leave-title{
  display:flex;
  align-items:center;
  gap:2rem;
  width:fit-content;
  margin:0 auto 1.5rem;
  padding:1rem 3rem 2rem;
  color:#fff;
  background:url(https://use-partner.com/system_panel/uploads/images/20250731122148670167.png) no-repeat center/contain;
}

.leave-title h2{
  font-size:clamp(1.25rem, 0.977rem + 0.91vw, 2rem);
}

.leave-title img{
  width:2rem;
}

.leave-wrap{
  display:flex;
  justify-content: space-between;
}

.leave-item{
  width: 30%;
  max-width: 300px;
  border: 1px solid #EF8E00;
  border-radius: 2rem;
  padding: 1rem;
  background: #fff;
  text-align: center;
  color: #EF8E00;
}

.leave-item img{
  height:98px;
  width:fit-content;
  margin:2rem auto;
}

.leave-item p:first-child{
  font-size:clamp(1rem, 0.818rem + 0.61vw, 1.5rem);
  padding-bottom:0.5rem;
  border-bottom:2px dashed #EF8E00;
}

.support{
  padding:4rem 0 5rem;
  position: relative;
  background:url(https://use-partner.com/system_panel/uploads/images/20250731123828219014.png) no-repeat center/cover;
}

.support::before{
  content:"";
  position:absolute;
  top:-10%;
  right:5%;
  width:23%;
  aspect-ratio:375/237;
  background:url(https://use-partner.com/system_panel/uploads/images/20250731125238955847.png) no-repeat center/contain;
}

.lower-title.flex.white{
  color:#fff;
  background: transparent;
  padding: 0rem 10% 0rem;
}

.lower-title.flex.white p{
  color:#fff;
}

.lower-title.flex.white::before{
  background: #fff;
}

.lower-title.flex.white p::before{
  background:url(https://use-partner.com/system_panel/uploads/images/20250731124140104796.png) no-repeat center/contain;
}

.support-wrap{
  display:flex;
  justify-content: space-between;
  gap: 2.5rem 0;
  flex-wrap:wrap;
}

.support-item{
  width:47.5%;
}

.support-item .label{
  border-radius:20px 20px 0 0;
  color:#fff;
  padding:1rem;
  background:#0B82E6;
  width:fit-content;
  font-size:clamp(1.125rem, 1.08rem + 0.15vw, 1.25rem);
}

.support-bg{
  background:#fff;
  border:2px solid #01A0EA;
  padding:20px 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow:3px 10px 10px rgba(0,0,0,0.27);
}

.support-bg img{
  width:30%;
}

.support-bg p{
  width:65%;
}

.about{
  padding:2.5rem 5% 5rem;
  background:#FFF8ED;
}

.about-bg{
  background:#fff;
  border-radius:2rem;
  padding:1rem 5% 4rem;
}

.about-wrap{
  display:flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 2.5rem 0;
  position:relative;
}

.about-wrap::before{
  content:"";
  position:absolute;
  width: 13%;
  aspect-ratio: 192 / 156;
  left: -4%;
  top: -38%;
  background:url(https://use-partner.com/system_panel/uploads/images/20250731134532141235.png) no-repeat center/contain;
}

.about-wrap img{
  width:300px;
  border-radius:20px;
  height:245px;
  object-fit:cover;
}

.about-text{
  width:calc(100% - 350px);
}

.about-text p:last-child{
  text-align:right;
  margin-top:2rem;
  font-size:clamp(0.875rem, 0.739rem + 0.45vw, 1.25rem);
}

.info-box-wrap{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.info-box {
  width:47.5%;
  padding: 20px 2rem;
  border: 2px dashed #707070;
}

.info-box h3 {
  color: #01A0EA;
  font-size: 14px;
  margin-bottom: 8px;
}

.price{
  margin-bottom:3.5rem;
}

.price-wrap{
  display:flex;
  gap:1rem;
}

.price-item{
  width:calc((100% - 2rem) /3);
  padding:1.5rem 1rem;
  border:2px solid #034A91;
  border-top:14px solid #034A91;
  border-radius:10px 10px 0 0;
}

.price-item > p{
  font-size:14px;
}

.price-item h3{
  color:#034A91;
  font-size:clamp(1.125rem, 0.989rem + 0.45vw, 1.5rem);
  text-align:center;
}

.price-item h3 + p{
  text-align:center;
  margin:8px 0 1rem;
}

.price-table{
  display:flex;
  flex-wrap:wrap;
  margin:0 0 1rem;
}

.price-table p{
  text-align:center;
  padding:1rem 0.5rem;
  width:50%;
  border:1px solid ;
}

.price-table p:nth-child(even){
  border-left:none;
}

.price-table p:nth-child(n + 3){
  border-top:none;
}

.price-item:nth-child(n + 2) .price-table p{
  width:100%;
}

.consultation{
  padding:5rem 0;
  background:#EFEFEF;
}

.consultation h2 {
  line-height: 60px;
  position: relative;
  height: 60px;
  padding: 0 2rem;
  text-align: center;
  color: #fff;
  background: #0B82E6;
  width: 80%;
  margin: 0 auto 2.5rem;
  max-width: 600px;
  font-size:clamp(1.5rem, 1.318rem + 0.61vw, 2rem);
}

.consultation h2:before,
.consultation h2:after {
  position: absolute;
  top: 0;
  display: block;
  height: 48px;
  content: '';
  border: 30px solid #0B82E6;
}

.consultation h2:before {
  left: -40px;
  border-left-width: 15px;
  border-left-color: transparent;
}

.consultation h2:after {
  right: -40px;
  border-right-width: 15px;
  border-right-color: transparent;
}

.consultation h2 span {
  position: relative;
  display: block;
}

.consultation-bg{
  background:#FFFFFF;
  padding:2rem 5%;
  max-width:1200px;
  width:80%;
  margin:0 auto;
  border-radius:20px;
}

.consultation-wrap{
  display:flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom:2.5rem;
}

.consultation-wrap > img{
  width:36%;
}

.consultation-wrap > .consultation-text{
  width:57%;
  max-width:575px;
}

.consultation-text > p{
  text-align:center;
  color:#0B82E6;
  font-size:clamp(1.125rem, 0.989rem + 0.45vw, 1.5rem);
}

.consultation-box{
  padding: 1rem;
  border-radius: 10px;
  border: 2px dashed #0B82E6;
  color: #0B82E6;
  text-align:center;
  max-width: 500px;
  margin: 1.5rem auto 0;
}

.consultation-box > p:last-child{
  text-align:left;
  font-size:14px;
}

.consultation-border{
  display:flex;
  align-items: center;
  justify-content: space-between;
  margin: 1rem 0;
}

.consultation-border img{
  width:1rem;
}

.consultation-border p{
  text-align:center;
  padding:1rem 8px;
  border:3px solid #0B82E6;
  border-radius:8px;
}

.consultation-border p:nth-of-type(2){
  padding: 4px 8px;
}

.leave-item:nth-child(2){
  animation-delay:0.5s;
}

.leave-item:nth-child(3){
  animation-delay:1s;
}

.support-item:nth-child(even){
  animation-delay:0.5s;
}

@media screen and (max-width: 1600px) {
  .about-wrap::before{
    top:-20%;
  }
}

@media screen and (max-width: 1200px) {
  .price-wrap{
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .price-item {
    width: 100%;
    max-width: 450px;
  }
}

@media screen and (max-width: 1024px) {
  .company-top::before,
  .company-top::after{
    position: relative;
    top:auto;
    left:auto;
    transform:none;
    display:block;
    width: 45%;
  }
  .company-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
  .onayami-sub{
    width: 25%;
  }
  .onayami-sub-2 {
    top: -15%;
    right: 15%;
  }
  .onayami-sub-1 {
    top: -15%;
    left: 15%;
  }
  .onayami-sub-3{
    left:0;
  }
  .onayami-sub-4{
    right:0;
  }
  .leave-wrap,
  .support-wrap,
  .about-wrap,
  .info-box-wrap,
  .consultation-wrap{
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .support-item{
    width: 100%;
    max-width: 450px;
  }
  .leave-item{
    width: 90%;
    max-width: 450px;
  }
  .about-wrap img{
    width: 80%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 292 / 245;
  }
  .about-wrap{
    padding:0;
  }
  .about-text,
  .info-box,
  .consultation-wrap > .consultation-text{
    width: 100%;
    max-width:none;
  }
  .about-wrap::before {
    top: -4%;
    left: 5%;
    width:19%;
  }
  .consultation-wrap > img{
    width: 80%;
    max-width: 300px;
  }
  .support::before{
    top: 1%;
  }
  .leave-item:nth-child(2){
    animation-delay:0s;
  }

  .leave-item:nth-child(3){
    animation-delay:0s;
  }

  .support-item:nth-child(even){
    animation-delay:0s;
  }
}

@media screen and (max-width: 767px) {
  .leave-title{
    gap: 1rem;
    padding: 1rem 1rem 2rem;
    background: url(https://use-partner.com/system_panel/uploads/images/20250804104919620062.png) no-repeat center / contain;
  }
  .leave-title h2 {
    font-size: 1.25rem;
    text-align: center;
    width: 180px;
  }
  .consultation h2{
    width: 68%;
    padding: 0;
  }
  .company-top::before, .company-top::after{
    width:250px;
  }
  .company-top{
    gap:1rem;
  }
  .company-top h2{
    margin-bottom: 1rem;
  }
  .onayami-sub{
    position:relative;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    width: 75%;
  }
  .onayami-sub-2,
  .onayami-sub-4{
    margin: -10% 0 0 auto;
  }
  .onayami-sub-3{
    margin: -10% 0 0 0;
  }
  .onayami h2{
    margin: 0 auto 2rem;
  }
  .onayami-main {
    width: 70%;
    max-width: 250px;
  }
  .leave{
    background: url(https://use-partner.com/system_panel/uploads/images/20250804110555755362.png) no-repeat top center / cover;
  }
  .leave-wrap{
    gap:20px;
  }
  .support::before {
    top: -2rem;
    width: 130px;
  }
  .lower-title.flex.white{
    padding: 0rem 10% 0 15%;
  }
  .lower-title.flex p::before {
    width: 50px;
    left: -18px;
    top: -12px;
  }
  .support-item .label{
    padding: 0.8rem 0.5rem;
    width: 100%;
    text-align: center;
  }
  .support-bg{
    padding: 20px 1rem;
    flex-direction: column;
    gap: 1rem;
  }
  .support-bg p {
    width: 100%;
  }
  .support-bg img {
    width: 200px;
  }
  .support{
    background: url(https://use-partner.com/system_panel/uploads/images/20250804111219640677.png) no-repeat center / cover;
  }
  .about-wrap{
    margin-top:1.5rem;
    gap:20px;
  }
  .about-wrap img {
    width: 90%;
  }
  .about-wrap::before {
    top: -1%;
    left: 0%;
    width: 25%;
  }
  .about-text p:last-child {
    margin-top: 1rem;
  }
  .info-box-wrap{
    gap:1rem;
  }
  .info-box{
    padding: 1rem;
  }
  .about-bg{
    padding: 1rem 5% 2rem;
  }
  .price-table p{
    padding: 0.5rem 0.5rem;
  }
  .consultation {
    padding: 3rem 0;
  }
  .consultation-bg{
    width: 95%;
  }
  .consultation-text > p{
    font-size:17px;
  }
  .consultation-border {
    flex-direction: column;
    gap: 0.5rem;
  }
  .consultation-border img {
    transform: rotate(90deg);
  }
  .consultation-border p{
    width:150px;
  }
}