@charset "UTF-8";
/* CSS Document */

#ct-hd {
    display: none;
}
#dp_breadcrumb_nav {
    margin-bottom: 0;
}
.content-wrap {
    width: 100%;
    padding: 0 !important;
}
#foster_volunteer dl,
#foster_volunteer dt,
#foster_volunteer dd {
    background: none;
    padding: 0; 
    border: none;
    margin: 0;
}

#foster_volunteer {
    font-size: 16px;
    color: #784311;
    overflow: hidden;
}
#foster_volunteer .mainvisual {
    position: relative;
    background: #FCD697;
    padding-top: 64px;
}
#foster_volunteer .mainvisual h2 {
    position: absolute;
    z-index: 1;
    width: 400px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
#foster_volunteer .mainvisual .slider_wrap {
    display: flex;
    gap: 24px;
}

@keyframes slide {
  0% {
    transform: translate(0);
  }
  to {
    transform: translate(calc(-100% - 25px));
  }
}

#foster_volunteer .mainvisual .slider_grid {
    animation: slide 50s infinite linear;
    width: 2192px;
    display: grid;
    grid-template-columns: 720px 340px 340px 720px;
    grid-template-rows: 260px 260px;
    gap: 24px;
}
#foster_volunteer .mainvisual .slider_image:nth-child(1) {
    grid-row: 1 / span 2;
}
#foster_volunteer .mainvisual .slider_image:nth-child(2) {
    grid-column: 2;
}
#foster_volunteer .mainvisual .slider_image:nth-child(3) {
    grid-column: 2;
}
#foster_volunteer .mainvisual .slider_image:nth-child(4) {
    grid-column: 3;
    grid-row: 1 / span 2;
}
#foster_volunteer .mainvisual .slider_image:nth-child(5) {
    grid-column: 4;
    grid-row: 1 / span 2;
}
#foster_volunteer .mainvisual .slider_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

#foster_volunteer .lead {
    background: #FCD697;
    padding: 80px 0 40px;
}
#foster_volunteer .lead p {
    font-size: 18px;
    text-align: center;
    line-height: 2;
    margin-bottom: 56px;
}
#foster_volunteer .apply_inner {
    display: flex;
    justify-content: center;
    gap: 16px 3%;
    flex-wrap: wrap;
}
#foster_volunteer .apply_inner a {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700 !important;
    color: #fff;
    background: #ED6F00;
    padding: 12px 56px 12px 40px;
    border-radius: 56px;
}
#foster_volunteer .apply_inner a img {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    transition: all .3s;
}
#foster_volunteer .apply_inner a:hover img {
    right: 20px;
}
#foster_volunteer .cloud {
    display: block;
    margin-bottom: 120px;
}

#foster_volunteer .details {
    width: min(94%, 1120px);
    margin: 0 auto 120px;
}
#foster_volunteer .details h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 88px;
}
#foster_volunteer .details .details_inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
#foster_volunteer .details .details_item {
    position: relative;
    width: 48%;
    background: #FFF7E5;
    padding: 40px 3%;
    border-radius: 0px 8px 8px 8px;
}
#foster_volunteer .details .details_item:first-of-type {
    display: flex;
    align-items: center;
}
#foster_volunteer .details .details_item h3 {
    position: absolute;
    top: -45px;
    left: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 700 !important;
    background: #F6AD47;
    padding: 8px 24px;
    border-radius: 24px 24px 0 0;
}
#foster_volunteer .details .details_item dl {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
#foster_volunteer .details .details_item dl:not(:last-of-type) {
    margin-bottom: 32px;
}
#foster_volunteer .details .details_item dt {
    width: 112px;
    color: #fff;
    text-align: center;
    background: #F6AD47 !important;
    padding: 4px 16px;
    border-radius: 56px;
}
#foster_volunteer .details .details_item dd a {
    color: #ED6F00;
    font-weight: 700;
    text-decoration: underline;
}
#foster_volunteer .details .details_item dd {
    line-height: 2;
}
#foster_volunteer .details .details_item ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
#foster_volunteer .details .details_item ul li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}
#foster_volunteer .details .details_item ul li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 40px;
    aspect-ratio:  1 / 1;
    background: #F6AD47;
}
#foster_volunteer .voice {
    background: top / cover no-repeat url(/wp-content/themes/dp-clarity-business/img/foster_volunteer/voice_bg.jpg);
    padding: 80px 0;
}
#foster_volunteer .voice h3 {
    font-size: 32px;
    font-weight: 700;
    color: #F6AD47;
    text-align: center;
    margin-bottom: 48px;
}
#foster_volunteer .voice ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 40px;
    width: min(94%, 1120px);
    margin: 0 auto;
}
#foster_volunteer .voice ul li {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 48%;
    background: #FFFFFF;
    padding: 32px 3%;
    border-radius: 16px;
}
#foster_volunteer .voice ul li div {
    flex: 1;
}
#foster_volunteer .voice ul li img {
    display: block;
    width: 32px;
    margin-bottom: 16px;
}
#foster_volunteer .voice ul li p {
    line-height: 2;
}
#foster_volunteer .voice ul li span {
    text-align: right;
}
#foster_volunteer .apply {
    padding: 80px 0;
}
#foster_volunteer .apply h3 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

@media(max-width:820px) {
    #foster_volunteer .details .details_inner {
        flex-direction: column;
        gap: 72px;
    }
    #foster_volunteer .details .details_item {
        width: 100%;
    }
}

@media(max-width:768px) {
    .dp-container {
        padding: 30px 0 0;
    }
    #dp_breadcrumb_nav ul {
        padding: 0 10px;
    }
}

@media(max-width:767px) {
    #foster_volunteer {
        font-size: 14px;
    }
    #foster_volunteer .mainvisual h2 {
        width: 240px;
    }
    #foster_volunteer .mainvisual {
        padding-top: 16px;
    }
    #foster_volunteer .mainvisual .slider_wrap {
        gap: 8px;
    }
    #foster_volunteer .mainvisual .slider_grid {
        grid-template-columns: 460px 210px 210px 460px;
        grid-template-rows: 160px 160px;
        gap: 8px;
    }

    #foster_volunteer .lead {
        padding: 32px 3% 16px;
    }
    #foster_volunteer .lead p {
        font-size: 14px;
        text-align: left;
        margin-bottom: 32px;
    }
    #foster_volunteer .apply_inner {
        row-gap: 24px;
    }
    #foster_volunteer .apply_inner a {
        font-size: 16px;
    }
    #foster_volunteer .cloud {
        margin-bottom: 100px;
    }

    #foster_volunteer .details {
        flex-direction: column;
        gap: 72px;
        margin: 0 auto 64px;
    }
    #foster_volunteer .details h2 {
        font-size: 24px;
        margin-bottom: 72px;
    }
    #foster_volunteer .details h2 span {
        display: inline-block;
    }
    #foster_volunteer .details .details_item {
        padding: 24px 16px;
    }
    #foster_volunteer .details .details_item h3 {
        top: -43px;
        font-size: 18px;
        border-radius: 16px 16px 0 0;
    }
    #foster_volunteer .details .details_item dl {
        gap: 8px;
    }
    #foster_volunteer .details .details_item dl:first-of-type {
        margin-bottom: 24px;
    }
    #foster_volunteer .details .details_item dt {
        width: fit-content;
    }
    #foster_volunteer .details .details_item dd {
        font-size: 14px;
    }
    #foster_volunteer .details .details_item ul li {
        gap: 8px;
    }
    #foster_volunteer .details .details_item ul li::before {
        width: 8px;
        height: 8px;
    }

    #foster_volunteer .voice {
        padding: 64px 0;
    }
    #foster_volunteer .voice h3 {
        font-size: 24px;
        margin-bottom: 32px;
    }
    #foster_volunteer .voice ul {
        flex-direction: column;
        row-gap: 24px;
    }
    #foster_volunteer .voice ul li {
        width: 100%;
        gap: 16px;
        padding: 24px 16px;
    }

    #foster_volunteer .apply {
        padding: 64px 0;
    }
    #foster_volunteer .apply h3 {
        font-size: 24px;
        margin-bottom: 32px;
    }
    
}
