@charset "UTF-8";
/*////////////////////////
iyaiyasanbai.tokyo
about.css
///////////////////////*/

#about{
    width: 90%;
    margin: 5rem auto 0;
}

#about .flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#about .flex .cont{
    width: 100%;
    position: relative;
}
#about .flex .cont:last-of-type{
    margin-top: 11rem;
}

#about .flex .cont h4{
    position: absolute;
    font-size: 8rem;
    opacity: 0.15;
    top: -60px;
    left: -10px;
}

#about .flex .cont .txt{
    line-height: 2.2rem;
}

#about .flex .cont .sub_txt{
    border: 1px dashed #1D201F;
    line-height: 2.2rem;
    padding: 1rem;
}
#about .flex .cont .sub_txt span{
    display: inline-block;
    margin-bottom: 2rem;
    font-weight: bolder;
}
#about .flex .cont .sub_txt a{
    color: #1D201F;
    font-weight: bold;
}
#about .parallax-img {
  position: relative;
  margin: 2rem 0;
}

#about .parallax-img::before {
    content: "";
    width: 175px;
    height: 85px;
    background-color: #F6F8F5;
    background-image: url(../images/bg02.png);
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

#about .parallax-img p{
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    font-size: 2rem;
}

@media screen and (min-width:768px){

footer .footer_img {
    z-index: -1;
}

main {
    margin: 0px 0 10%;
}

#about {
    margin: 16rem auto 0;
}

#about .flex {
    width: 95%;
    margin: auto;
    justify-content: space-between;
}

#about .flex .cont {
    width: 45%;
    padding: 2rem;
}

#about .flex .cont h4 {
    font-size: 14rem;
    left: -30px;
}

#about .flex .cont:last-of-type {
    margin-top: 0rem;
}

#about .parallax-img::before {
    top: 7%;
}

#about .parallax-img p {
    top: 7%;
    font-size: 1.8rem;
}

#about .parallax-img {
    overflow: hidden;
}

#about .flex .cont .txt {
    line-height: 2.4rem;
}

#about .flex .cont .sub_txt {
    font-size: 1.2rem;
}
}