
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;700&display=swap');

:root {
    --primary: #338a0b;
    --dark: #21252f;
    --body: #888;
    --box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Sora', sans-serif;
    line-height: 1.7;
    color: var(--body);
    font-size: 20px;
}

h1,h2,h3,h4,h5,h6,.display-4 {
    color: var(--dark);
    font-weight: 700;
}

a {
    text-decoration: none;
}



section {
    padding-top: 120px;
    padding-bottom: 120px;
}
.navbar {
    z-index: 10;
    position: relative;
    width: 96%;
}
.navbar .nav-link {
    padding-top: 16px;
}
.navbar .navbar-nav .nav-link {
    font-weight: bold;
}

.navbar .navbar-nav .nav-link:focus, 
.navbar-light .navbar-nav .nav-link:hover {
    color: #067c4c;
}



.btn {
    padding: 14px 18px;
    border-width: 2px;
    border-radius: 0;
}
.navbar #logo {
    padding-left: 1.25rem;
    vertical-align: middle;
}
#logo {
    background-image: url("img/Edoneko_Logo.svg");
    background-repeat: no-repeat;
}
#logo h2 { 
    visibility: hidden;
}


.hero {
    position: relative;
    overflow: hidden;

}

.hero_cover {
    width: 100vw;
    height: 100vh;
}

.hero_inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    clip: rect(0, auto, auto, 0);
}

.hero_img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
    display: block;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(37, 71, 47, 0.7);
    z-index: -1;

}

.hero_msg {
    position: relative;
    display: inline-block;
    height: 100vh;
    padding-top: 45vh;
}


/* レイアウトや見た目のスタイル */
/* ---------------------------- */

.single-item + .single-item{
    margin-top: 80px;
}

/* アニメーションスタイル */
/* ---------------------------- */

/* アニメーション前 */
.u-fade-type-up{
    transform: translateY(50px);
    opacity: 0;
}

/* トリガー発火でis-activeを付与 */
.u-fade-type-up.is-active{
    transition: .6s;
    transform: translateY(0);
    opacity: 1;
}

/* 複数ボックスアニメーション */
/* ---------------------------- */

.multiple-list{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.multiple-item{
    margin-top: 20px;
}

.multiple-item:nth-child(-n+2){
    margin-top: 20px;
}

/* アニメーションスタイル */
/* ---------------------------- */

/* アニメーション前 */
.u-fade-type-up{
    transform: translateY(50px);
    opacity: 0;
}

/* トリガー発火でis-activeを付与 */
.is-active .u-fade-type-up{
    transition: .6s;
    transform: translateY(0);
    opacity: 1;
}

.is-active .u-fade-type-up:nth-child(2){transition-delay: .4s;}
.is-active .u-fade-type-up:nth-child(3){transition-delay: .8s;}
.is-active .u-fade-type-up:nth-child(4){transition-delay: 1.2s;}
.is-active .u-fade-type-up:nth-child(5){transition-delay: 1.6s;}
.is-active .u-fade-type-up:nth-child(6){transition-delay: 2s;}

@media screen and (min-width: 768px) {
    .multiple-item{
        width: 32%;
    }

    .multiple-item:nth-child(-n+3){
        margin-top: 0;
    }
}

.card-effect {
    box-shadow: var(--box-shadow);
    background-color: #fff;
    padding: 25px;
    transition: all 0.35s ease;
}

.card-effect:hover {
    box-shadow: none;
    transform: translateY(5px);

}

.iconbox {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    background-color:  var(--primary);
    border-radius: 100px;
    flex: none;
}
.edobox p {
    font-size: 1em;
}
.tnr {
    position: relative;
    overflow: hidden;
    font-size: 0.8em;
}

.tnr::after {
    content:"";
    position: absolute;
    top: -100px;
    left: 0;
    background-color: var(--primary);
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.35s ease;
    z-index: -1;
}

.tnr:hover .iconbox {
    background-color: white;
    color: var(--primary);
}

.tnr:hover h5,
.tnr:hover p {
    color: white;
}

.tnr:hover::after {
    opacity: 1;
    top: 0;
}

.col-img {
    background-image: url(img/10190.jpg);
    background-position: center;
    background-size: cover;
    min-height: 500px;
}

/* foster section */
#foster h3 {
    color: var(--primary);
}
/* Gallery section */
.gallery {
    position: relative;
    overflow: hidden;
}
.trial {
    position: relative;
}
.trial::after {
    content: 'トライアル中！';
    position: absolute;
    color: #fff;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    z-index: 100;
}
.trial::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

.gallery .overlay {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    align-items: flex-end;
    transition: all 0.4s ease;
    text-align: center;
}

.gallery .overlay h6 {
    color: #ffffff;
    font-size: 1.3rem;
}
.gallery .overlay p {
    color: #ffffff;
    line-height: 1.6rem;
    font-size: 1rem;
    margin: 0;
}
.male {
    background-color:  #5099ab;
}

.female {
    background-color: #ff9494;
}


img {
    width: 100%;
}

.gallery img {
    transition: all 2s ease;
    aspect-ratio: 3/3;
    object-fit: cover;
}

/* .gallery:hover .overlay {
    opacity: 1;
} */

.gallery:hover img {
    transform: scale(1.3);
}

.action-2 img {
    object-fit: cover;
    width: 100%
}

/* team section */
.team-member {
    flex-grow: 1;
}
.team-member img {
   width: 125px;
   height: 125px;
   border-radius: 100px; 
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a {
    width: 34px;
    height: 34px;
    background-color: var(--primary);
    border: 2px solid var(--primary);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    margin-left: 5px;
    transition: all 0.4s ease;
}

.social-icons a:hover {
    color: var(--primary);
    background-color: transparent;
}

/* volunteer section */
#volunteer {
    padding-top: 80px;
    background-color: var(--primary);
    color: #fff;
}

#volunteer h1 {
    color: #fff;
}

.more-btn a {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 26px;
    border-radius: 3px;
    transition: 0.5s;
    margin: 10px;
    border: 3px solid #fff;
    color: #fff;
}
.more-btn a:hover,
.more-btn a:active,
.more-btn a:focus {
    color: var(--primary);
  background-color: #ffffff;
  outline: none;
  text-decoration: none;
}

.support {
    color: var(--dark);
    font-size: 0.8em;
    background-color: #fff;
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1em;
}

.support dl dd {
    padding: 0;
    margin: 0;
}

/* contact section */
form input.form-control {
    height: 56px;
}

form .form-control {
    border: transparent;
    border-radius: 10px;
    background-color: rgba(26, 67, 40, 0.121)
}
 form .form-check {
    margin-bottom: 1em;
 }

 
 form .form-check-input:checked {
    background-color: #067c4c!important;
 }

 .form-check-input:focus,
 .form-check-input:active,
 form .form-control:focus,
 form .form-control:active {
    border-color: #067c4c!important;
    box-shadow: 0 0 0 0.25rem rgba(128, 251, 153, 0.25);
 }

 form .btn {
    border-radius: 10px;  
 }

#contact h2 {
    font-size: 1.2em;
}
/* footer */
.footer-top {
    background-color: var(--dark);
    padding: 30px;

}

footer address {
    color: #fff;
    font-size: small;
}

.page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 150%;
    opacity: 80%;
}
.page-top a {
    background: #666;
    text-decoration: none;
    color: #fff;
    padding: 5px 12px 0;
    text-align: center;
    display: block;
    border-radius: 15px;
}
.page-top a:hover {
    text-decoration: none;
    background-color:  var(--primary);
}

/* Volunteer Detail */

.detail-box {
    display: block;
    padding: 20px;
    border-radius: 20px;
    color: rgb(58, 58, 58);
    font-size: 0.9em;
    box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.25);
  }

.detail-box h2 {
    font-size: 1.2em;
    color: #067c4c;
  }
 .detail-box h3 {
    font-size: 1em;
 }

.vd_img {
    margin-top: -100px;
}

/* Events Information */
.events-box {
    display: block;
    width: 80%;
    margin: auto;
}
@media screen and (max-width: 992px) {
    .events-box {
        width: 80%;
    }
}
 @media screen and (max-width: 768px) {
    .events-box {
         width: 98%;
    }
    .google-maps {
        position: relative;
        padding-bottom: 75%;
        height: 0;
        overflow: hidden;
        }
        .google-maps iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100% !important;
            height: 100% !important;
            }
}
