@charset "UTF-8";
*{
    margin: 0;
    padding: 0;
}
html{
    font-size: 62.5%;
}
body{
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    font-style: normal;
    color: #2f2f2f;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 150%;
    background-color: #F4F8E6;
    overflow-x: hidden;
}
body * {
    box-sizing: border-box;
}
img{
    max-width: 100%;
    height: auto;
}
a{
    text-decoration: none;

}

/*  common PC */
@media screen and (min-width:769px){
body{
    font-size: 2.0rem;
    font-weight: 500;
    line-height: 300%;
}
}


/* --  about -- */

.article__header{
    background-color: #F4F8E6;
}
    /* innerとかの囲み */
    .section--about{
        background-color: #F4F8E6;
    }
    .inner__about{
        padding: 0 5.3%;
        padding-bottom: 50px;
        position: relative;

    }

    /* 文字 */
    .title{
        font-size: 2.0rem;
        font-weight: 700;
        line-height: 300%;
        color: #21A469;
        display: flex;
        align-items: center;
    }
    .title::after{
        content: '';
        display: inline-block;
        width: 33px;
        height: 1px;
        background-color: #21A469;
        margin-left: 10px;

    }

    .about__title{
        color: #21A469;
        font-family: "Zen Maru Gothic";
        font-size: 2.0rem;
        font-weight: 500;
        line-height: 250%;
        display: flex;
        gap: 10px;
        align-items: center;
    }
    .about__title::after{
        content: '';
        display: block;
        width: 42px;
        height: 1px;
        background-color: #21A469;
    }

    .about__title1::before{
        content: '';
        display: block;
        width: 50px;
        height: 96px;
        background-image: url(../img/3_about/About.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        position: absolute;
        top: -30px;
        left: 200px;
    }
    .about__title2::before{
        content: '';
        display: block;
        width: 50px;
        height: 96px;
        background-image: url(../img/3_about/Service.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        position: absolute;
        left: -70px;
        top: -30px;
    }
    .about__title{
        position: relative;
    }
    .about__txt{
        color: #447841;
        font-size: 1.4rem;
        font-weight: 500;
        line-height: 300%;
        margin-top: 60px;
        max-width: 350px;
    }
    .about__btn{
        display: block;
        color: #447841;
        font-size: 1.2rem;
        font-weight: 500;
        line-height: 100%;
        width: fit-content;
        margin-top: 60px;
        margin-inline: auto;
    }
    .about__btn a{
        padding: 10px 30px;
        border-radius: 50px;
        border: 0.3px solid #447841;
    }

    .about__btn:hover{
        opacity: 0.8;
        scale: 1.05;
        transition: 0.5s;
    }
    .about__img{
        height: 200px;
        margin-top: 40px;
        position: relative;
    }
   
    .about__dog{
        opacity: 0;
        width: 150px;
        position: absolute;
        bottom: 0;
        left: 15%;

    }
    .about__girl{
        opacity: 0;
        width: 160px;
        position: absolute;
        bottom: 0;
        left: 35%;
    }
    .about__boy{
        opacity: 0;
        width: 150px;
        position: absolute;
        bottom: 0;
        left: 55%;
    }

    /* パディング */
    .about__kakomi1, .about__kakomi2{
        padding: 50px 0px 0px;
        max-width: 353px;
        margin-inline: auto;
    }

    /* 地域住民右寄せ */
    .about__title2{
        text-align: end;
    }
    .about__kakomi3{
        display: flex;
        justify-content: end;
    }

/* --  about -- */
@media screen and (min-width:769px){
    .section--about::before{
        content: '';
        display: block;
        background-image: url(../img/0_common/border_green_pc.png);
        width: 100%;
        height: 141px;
        aspect-ratio: unset;
        background-position:0 0;
        background-size: cover;
        background-repeat: no-repeat;
        position: absolute;
        top: -140px;
        left: 0;
        }
    .section--about{
        position: relative;
    }

    .inner__about{
        padding: 0 11.6%;
        max-width: 1440px;
        margin-inline: auto;
    }
    .section--about{
        padding-bottom: 50px;
    }
    .title{
        font-size: 3.0rem;
        line-height: 1;
    }
    .title::after{
        width: 72px;
    }
    .about__title{
        font-size: 3.0rem;
    }
    .about__title::after{
        width: 72px;
    }
    .about__title::before{
        height: 150px;
        left:  -70px;
        top: -60px;
    }
    .about__title2::before{
        height: 150px;
        left: 350px;
        top: -90px;
    }

    .about__txt{
        font-size: 2.0rem;
        line-height: 300%;
        min-width: 500px;
        margin-top: 90px;
    }
    .about__btn{
        font-size: 1.8rem;
        margin-top: 100px;
    }
    .about__btn a{
        padding: 15px 50px;
    }
    .about__img{
        width: 600px;
        margin-top: 60px;
        margin-inline: auto;
    }
    .about__dog{
        width: 190px;
    }
    .about__girl{
        width: 200px;
    }
    .about__boy{
        width: 180px;
    }
  
    
    .about__img::after{
        display: none;
    }
    
    /* kakomi3の右寄せ */
    .about__txt2{
        margin-inline: auto 0;
    }

    /* 全体の中央よせ */
    .about__kakomi1, .about__kakomi2{
        width: fit-content;
        margin-inline: auto;
        max-width: unset;
    }

    /* パディング */
    .about__kakomi1, .about__kakomi2{
        padding-block: 100px 50px;
    }
}

@media screen and (min-width:1441px){
    .inner__about{
        padding-inline: 168px;
    }
}

/*  fadeIn */

/* ---- jqery */
.fadeIn{
    transform: translate(0,50px);
    opacity:0;
    transition:0.8s;
}
.fadeIn.animated{
    transform: translate(0,0);
    opacity: 1.0;
}


/*  about__img　トコトコ歩く */
.about__img.active {
    animation: walk2 1.5s steps(2, start);
  }
  
  @keyframes walk {
    0% {
      transform: translate(40px, 0px);
      rotate: 0deg;
    }
    25% {
        transform: translate(30px, 5px);
        rotate: 5deg;
    }
    50% {
        transform: translate(20px, 0px);
        rotate: 0deg;
    }
    75% {
        transform: translate(10px, 5px);
        rotate: 5deg;
    }
    100% {
        transform: translate(0px, 0px);
        rotate: 0deg;
    }
  }
  @keyframes walk2 {
    0% {
      transform: translate(32%, -40%);
      rotate: 0deg;
    }
    25% {
        transform: translate(18%, -30%);
        rotate: 5deg;
    }
    50% {
        transform: translate(8%, -20%);
        rotate: 0deg;
    }
    75% {
        transform: translate(2%, -10%);
        rotate: 5deg;
    }
    100% {
        transform: translate(0%, 0%);
        rotate: 0deg;
    }
  }

  



/* トコトコ歩く */
.about__dog.active {
    opacity: 1;
    animation: walk2 1s steps(3, start);
    transition: all 1s;
  }
.about__girl.active {
    opacity: 1;
    animation: walk2 1.2s steps(3, start);
    animation-delay: 0.1s;
    transition: all 1s;
  }
.about__boy.active {
    opacity: 1;
    animation: walk2 1.2s steps(3, start);
    animation-delay: 0.2s;
    transition: all 1s;
  }
@keyframes walk2 {
    0% {
      transform: translate(80px, -6px);
      rotate: 0deg;
    }
    25% {
        transform: translate(60px, 0px);
        rotate: 5deg;
    }
    50% {
        transform: translate(40px, -6px);
        rotate: 0deg;
    }
    75% {
        transform: translate(20px, 0);
        rotate: 5deg;
    }
    100% {
        transform: translate(0px, -6px);
        rotate: 0deg;
    }
  }

