@charset "UTF-8";

/* 共通部分
 --------------------- */

.wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

html {
    font-family: "Zen Maru Gothic", sans-serif;
    font-style: normal;
    scroll-behavior: smooth;
}

body {
    background-color: #FFFCF6;
    overflow-x: hidden;
}

section {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    /* object-fit: cover; */
}

header {
    background-color: #FFA600;
}

#nav {
    display: flex;
    justify-content: end;
    list-style: none;
    white-space: nowrap;
    text-align: right;
}

#nav li {
    font-size: 20px;
    color: white;
    font-weight: bold;
    padding: 38px;
}

#nav li a {
    text-decoration: none;
    color: white;
}

.ham-button {
    display: none;
}


/* logo */


.logo img {
    /* width: clamp(16.875rem, 21.056rem + -17.84vw, 5rem); */
    width: clamp(5rem, 2.118rem + 12.298vw, 16.875rem);
    padding-right: 22px;
}

#title {
    display: flex;
    justify-content: center;
    padding-top: 163px;
}

.logo {
    display: flex;
}

h1 {
    /* font-size: clamp(2.5rem, -12.025rem + 61.972vw, 43.75rem); */
    font-size: clamp(3rem, 2.272rem + 3.107vw, 6rem);
}

.logo p {
    font-size: 32px;
}

.work {
    display: flex;
    gap: 28px;
    align-items: center;
    position: absolute;
    bottom: 20px;
    left: 20px;
}


.work img {
    width: clamp(2.5rem, 3.160rem + -2.817vw, 0.625rem);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s forwards;
}

.work img:nth-child(1) {
    animation-delay: 0s;
}

.work img:nth-child(2) {
    animation-delay: 0.3s;
}

.work img:nth-child(3) {
    animation-delay: 0.6s;
}

.work img:nth-child(4) {
    animation-delay: 0.9s;
}

.work img:nth-child(5) {
    animation-delay: 1.2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




/* oneheart */

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    width: 100%;
}

header .wrapper {
    display: flex;
    justify-content: space-between;
}

header .wrapper img {
    width: 100px;
}

#title {
    position: relative;
    z-index: 2000;
}

.slideimg {
    width: 1500px;
}



/*oneheartの中のハート */

.heart {
    /* width: 560px; */
    /* height: 450px; */
    /* position: relative; */
    /* display: flex; */
    /* top: 240px; */
    /* margin: auto; */
}



.heart_text {
    background-image: url(../img/heart.svg);
    background-position: center;
    text-align: center;
    padding: 90px 0;
    /* margin: 234px 0 134px; */
    margin-top: clamp(6.25rem, 3.975rem + 9.709vw, 15.625rem);
    margin-bottom: clamp(6.25rem, 3.975rem + 9.709vw, 15.625rem);
    /* position: absolute; */
    /* top: 120px; */
    /* left: 120px; */
}

.heart h2 {
    font-weight: bold;
    font-size: 64px;
    color: white;
}

.heart p {
    font-size: 40px;
    color: white;
    /* text-align: center */
}





/* oneheartの中の文章 */

.content_text {
    /* padding-top: 824px; */
    text-align-last: left;
    /* margin: 0 491px; */
}


.content_text span {
    color: #EA5874;
    font-size: 32px;
}

.content_text p {
    padding-bottom: 118px;
    left: 1646px;
}









/* 保護犬をさがす */



#dog li {
    list-style: none;
    padding: 10px;
    border-radius: 8px;

}

#dog img {
    width: 300px;
    /* height: 300px; */
}

#dog h2 {
    font-size: 64px;
    color: white;
    padding-top: 65px;
    padding-bottom: 54px;
}

#dog h3 {
    font-weight: bold;
    font-size: 40px;
    text-decoration: underline wavy 2px white;
}

#dog ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    padding-bottom: 110px;
}

#dog button {
    width: 685px;
    font-size: 48px;
    font-weight: bold;
    color: #FFB325;
    text-align: center;
    display: block;
    padding: 52px 218px;
    background: #ffffff;
    border-radius: 60px;
    margin: auto;
    white-space: nowrap;
    margin-bottom: clamp(6.25rem, 4.733rem + 6.472vw, 12.5rem);
    box-shadow: 4px 4px 2px #A98400;
}

#dog {
    background-color: #FFB42A;
    padding-bottom: 94px;
    position: relative;
    z-index: 0;
    overflow-y: hidden;
}

#dog .dogbig1 {
    width: clamp(9.375rem, 4.824rem + 19.417vw, 28.125rem);
    ;
    /* height: 470px; */
    position: absolute;
    top: -100px;
    right: -100px;
    z-index: -1;
}


#dog .dogbig2 {
    width: clamp(9.375rem, 2.549rem + 29.126vw, 37.5rem);

    /* height: 470px; */
    position: absolute;
    top: 1200px;
    left: -100px;
    z-index: -1;
}

/* #dog .dogbig2 {
    position: absolute;
} */


/* happylife */

#happylife img {
    width: 710px;
    /* height: 480px; */
}

#happylife h2 {
    font-size: 64px;
    padding-top: 65px;
    padding-bottom: 54px;
    color: #FFB325;
}

.friends {
    text-align: center;
    font-size: 48px;
}

.happyimg {
    text-align: center;
    padding-bottom: 54px;
}

#happylife p {
    line-height: 53px;
    padding-bottom: 81px;
}

#happylife button {
    width: 685px;
    font-size: 48px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    display: block;
    padding: 52px 218px;
    background: #FFB325;
    border-radius: 60px;
    margin: auto;
    white-space: nowrap;
    margin-bottom: clamp(6.25rem, 4.733rem + 6.472vw, 12.5rem);

    box-shadow: 4px 4px 2px #A98400;
}

#happylife {
    position: relative;
}

#happylife .dogbig3 {
    width: clamp(9.375rem, 2.549rem + 29.126vw, 37.5rem);
    ;
    /* height: 470px; */
    position: absolute;
    top: 350px;
    right: -200px;
    z-index: -1;
}






/*  */

#fight li {
    list-style-type: none;
}

#fight ul {
    padding-bottom: 100px;
}

#fight h2 {
    font-size: 64px;
    padding-top: 65px;
    padding-bottom: 54px;
    color: #FFB325;
}

.fighttext {
    padding-bottom: 74px;
}


#fight p {
    font-size: 20px;
    line-height: 40px;
}

#fight img {
    /* width: 100px; */
    /* height: 100px; */
}

#fight h3 {
    font-size: 64px;
}

.kifu h3 {
    color: #FFA600;

}

.bussi h3 {
    color: #508A32;
}

.volunteer h3 {
    color: #24A8BF;
}

.kifu,
.bussi,
.volunteer {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.kifu {
    background-color: #FFEBC5;
    box-shadow: 6px 6px 2px rgba(255, 166, 0, 1);
    padding-left: 15px;
}

.bussi {
    background-color: #E1FED4;
    box-shadow: 6px 6px 2px rgba(80, 138, 50, 1);
    margin-left: auto;
    padding-left: 15px;
}

.volunteer {
    background-color: #DBFBFF;
    box-shadow: 6px 6px 2px rgba(36, 168, 191, 1);
}


#fight button {
    background-image: url(../img/button.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 100%;
    height: 207px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    margin: 0 auto;
    text-align: center;
    display: block;
}

#fight button span {
    font-size: 24px;
    white-space: nowrap;
}

#fight {
    position: relative;
}

#fight .dogbig4 {
    width: clamp(9.375rem, 2.549rem + 29.126vw, 37.5rem);
    ;
    /* height: 470px; */
    position: absolute;
    top: 150px;
    left: -200px;
    z-index: -1;
}





/* スライドショー */

.loopSlide {
    width: 100%;
    /* overflow: hidden; */
}

.loopSlide ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    animation: loop 35s linear infinite;
}

.loopSlide li {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    margin-right: 50px;
}

.loopSlide img {
    width: 480px;
    /* height: 320px; */
    display: block;
    object-fit: cover;

}

.kage {
    box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.5);
}

@keyframes loop {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}


#dogdog {
    padding: 400px 0;
    position: relative;
    overflow-x: hidden;
}

#dogdog .dogbig5 {
    width: clamp(9.375rem, 2.549rem + 29.126vw, 37.5rem);
    ;
    /* height: 470px; */
    position: absolute;
    top: 300px;
    right: -100px;
    z-index: -1;
}


footer {
    background-color: #FFB42A;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-image: url(../img/footerdog.webp); */
    position: relative;

}



footer img {
    width: 270px;
    position: absolute;
    bottom: 0;
    right: 20px;
}








/* --------------------------------------------------------------- */


@media (max-width: 768px) {



    /* ハンバーガーボタン */
    .ham-button {
        display: block;
        margin-left: auto;
        width: 44px;
        height: 44px;
        position: relative;
        z-index: 1;

    }




    /* 多分三本線作ってる */

    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip: rect(1px, 1px, 1px, 1px);
        -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
        clip-path: inset(0px 0px 99.9% 99.9%);
        border: 0;
        /* position: fixed; */
    }


    .ham-button-line {
        display: block;
        width: 30px;
        height: 1px;
        background-color: #000;
        margin: auto;
        position: relative;
        transition: all 0.3s ease-in-out;
    }

    .ham-button-line::before,
    .ham-button-line::after {
        display: block;
        content: '';
        width: 100%;
        height: 100%;
        background-color: #000;
        position: absolute;
        transition: inherit;
    }


    .ham-button-line::before {
        top: -8px;
    }

    .ham-button-line::after {
        top: 8px;
    }




    /* バッテンにする */
    .open .ham-button-line {

        /* 背景透明 */
        background-color: transparent;
    }

    .open .ham-button-line::before {
        rotate: 45deg;
        top: 0;
    }

    .open .ham-button-line::after {
        rotate: -45deg;
        top: 0;
    }

    dialog::backdrop {
        background-color: rgba(0, 0, 0, 0.5);
    }


    /* 右に隠れてる時のナビ */
    nav {
        position: fixed;
        left: 100%;
        top: 0;
        right: -100%;
        bottom: 0;
        /* width: 100%; */
        /* height: 100vh; */
        background-color: #FFF9ED;
        color: #FFB325;
        /* translate: 100%; */
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all .5s;

    }

    #nav li a {
        color: #FFB325;
        font-weight: bold;
    }

    /* オープンがついた時のナビ */
    .open nav {
        translate: -100%;
    }


    #nav {
        background-image: url(../img/logo.svg), url(../img/foot3.webp);
        background-position: top center, bottom left;
        background-size: 150px, 200px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* color: #FFB325; */
        font-weight: bold;

    }


    #title {
        padding-top: 0;
        margin-top: 40px;
    }

    .work {
        height: fit-content;
        top: 100px;

        left: 0;
        width: 30%;
        gap: 0;
        justify-content: space-between;
    }

    .work img {
        width: 13%;
    }


    header .wrapper img {
        width: 40px;
    }

    .logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logo img {
        padding-right: 0;
    }

    #title {
        padding-top: 50px;
    }

    .title {
        text-align: center;
    }


    /* ハート */

    .heart h2 {
        font-size: 30px;
    }

    .heart p {
        font-size: 15px;
    }

    .heart_text {
        background-size: contain;
    }



    /* oneheartの中の文章 */



    .content_text span {

        font-size: 20px;
    }

    .content_text p {
        font-size: 14px;
        line-height: 1.8;
    }








    /* ドッグ */
    #dog ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .wrapper {
        max-width: 100%;
    }

    h1 {
        font-size: 48px;
    }

    #fight h2 {
        font-size: 24px;
    }

    .friends {
        font-size: 14px;
    }





    #happylife button {
        width: 190px;
        height: 38px;
        font-size: 16px;
        border-radius: 60px;
        text-align: center;
        padding: 0;

    }

    #dog button {
        width: 190px;
        height: 38px;
        font-size: 16px;
        border-radius: 60px;
        padding: 0;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .more-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }



    #dog h2 {
        font-size: 24px;
    }

    #dog h3 {
        font-size: 13px;
    }

    #dog p {
        padding-top: 5px;
        font-size: 12px;
    }

    #dog .dogbig {
        width: 45%;
    }


    .fighttext {
        font-size: 14px;
    }

    #happylife h2 {
        font-size: 24px;
    }


    .kifu,
    .bussi,
    .volunteer {
        width: 300px;
        height: 300px;
        margin-left: 0;
        margin: 0 auto;
        margin-bottom: 100px;
    }

    #fight img {
        width: 60px;
        height: 60px;
    }

    #fight h3 {
        font-size: 32px;
    }

    #fight p {
        font-size: 14px;
        line-height: 2;
    }

    #fight .kifu {
        font-size: 10px;
    }


    #fight button {
        object-fit: cover;
        font-size: 13px;
    }


    #fight button span {
        font-size: 10px;
    }

    #fight ul {
        padding-bottom: 0;
    }


    #dogdog {
        padding: 150px 0;

    }

    footer {
        height: 40px;
    }

    footer img {
        width: 100px;
    }

}