@charset "utf-8";


@media screen and (min-width: 1025px) {
    /*top img*/
    .img-top>img {
        max-width: 100%;
        width: 100%;
        height: 100vh;
        object-fit: cover;
        position: relative;

    }

    /*top*/
    .phrase {
        top: 20vh;
        left: 3vw;
        color: #696969;
    }
    .phrase-where {
        font-size: 4vh;
        margin-top: 1vh;
        
    }
    .catchphrase {
        height: 13em;
        font-size: 8vh;
        
    }

    .catchphrase>span {
        padding-top: 1em;
    }

    /*step*/
    .describe {
        margin: 50px 2% 0 2%;
        display: flex;
        flex-wrap: wrap;
        background-color: #ffffff;
        border-radius: 25px;
    }

    .step {
        width: 33.333%;
        text-align: center;
        padding: 5px 0 5px;
        position: relative;

    }

    .step-123 {
        text-align: left;
        margin: 0;
        margin-left: 15px;
        font-size: 20px;
        font-family: "Google Sans Flex", sans-serif;
    }

    .border {
        position: absolute;
        top: 10%;
        width: 1px;
        height: 80%;
        background-color: #696969;
    }

    .step-img>img {
        width: 70%;
        height: auto;
        margin-left: 15%;

    }
    /*保護猫について*/
    .about-cat {
        margin: 50px 2% 0 2%;
        background-color: #ffffff;
        display: flex;
        flex-wrap: wrap;
        text-align: center;
        border-radius: 25px;
    }
    .in-about {
        display: flex;
        width: 100%;
        justify-content: center; 
    }
    .about-cat-p {
        font-size: 25px;
        font-weight: bold;
        line-height: 2;
        margin: 0 20px 20px 20px;
    }
    
    .in-about > a{
        padding:  20px 50px;
        text-decoration: none;
        font-weight: bold;
        font-size: 30px;
        border-radius: 25px;
        border: 2px solid #D07A96;
        color: #333;
        transition: background-color .3s;  
    }
    .in-about >a:hover {
        background-color: #D07A96;
        color: #f5f5f5;
    }
    .about-cat-img > img {
        max-width: 50%;
        width: 30%;
        height: auto;
        margin: 30px;
        border-radius: 25px;
    }
    
}


/*スマホと一緒なため*/

.step>h1 {
    margin: 10px;
    color: #D07A96;
}

.step-text {
    margin: 0 15px 0 15px;
    font-size: 18px;
    font-weight: bold;
    line-height: 2;
}

.step-text>span {
    display: inline-block;
}


/*保護猫についてcss同じため*/
.phrase {
    position: absolute;
    writing-mode: vertical-rl;
    z-index: 1;
    font-family: "Zen Maru Gothic", sans-serif;
}

.about-cat-text {
    width: 100%;
}
.about-cat-text > h1 {
    font-size: 40px;
    color: #D07A96;
}
.about-cat-p > span {
    display: inline-block;
}
/*スマホ版*/
@media screen and (max-width: 1024px) {
    /*top img*/
    .img-top>img {
        max-width: 100%;
        width: 100%;
        height: 80vh;
        object-position: 60% ;
        object-fit: cover;
        position: relative;

    }
    .phrase {
        top: 20vh;
        left: 1vh;
        height: 60%;
        color: #f5f5f5;
        line-height: 1;
        background-color:rgba(105,105,105,0.5);;
        
    }
    .phrase-where {
        font-size: 4vh;
        margin-top: 1vh;  
    }
    .phrase-where > span {
        display: inline-block;
    }
    .where-span {
        padding-top: 4em;
    }
    .catchphrase {
        height: 60%;
        padding: 2em;
        font-size: 5.5vh;
        white-space: nowrap;
        
    }
    .catchphrase > span {
        padding: 3em;
    }
    
    /*step*/
    .describe {
        margin: 50px 5% 0 5%;
        width: 90%;
        background-color: #ffffff;
        border-radius: 25px;
        padding-bottom: 30px;
    }
    .step {
        font-size: 2.5vh;
        width: 100%;
        text-align: center;
        position: relative;
    }
    .step-123 {
        padding: 20px 0 0 0;
        font-size: 2.5vh;
        font-family: "Google Sans Flex", sans-serif;
    }
    .step-text {
        margin: 0 0 0 0;
        font-size: 2.5vh;
        font-weight: bold;
        line-height: 2;
}
    .border {
        position: absolute;
        top: 0;
        left: 10%;
        height: 1px;
        width: 80%;
        background-color: #696969;
    }

    .step-img>img {
        display: none;
    }

    /*保護猫について*/
    .about-cat {
        margin: 50px 5% 0 5%;
        background-color: #ffffff;
        padding-bottom: 30px;
        text-align: center;
        border-radius: 25px;
    }
    .about-cat-text > h1 {
        font-size: 5.5vh;
    }
    .about-cat-p {
        font-weight: bold;
        font-size: 3vh;
    }
    .in-about > a{
        padding:  15px 30px;
        text-decoration: none;
        font-weight: bold;
        font-size: 3vh;
        border-radius: 25px;
        background-color: #D07A96;
        color: #f5f5f5;
    }

    .about-cat-img > img {
        margin-top: 20px;
        padding: 10px 10px;
        width: 100%;
        height: auto;
        border-radius: 30px;
    }
}

