@media screen and (max-width: 1024px) {
/* ///////////////////////////////////////////////////////////////////
吹き出し
/////////////////////////////////////////////////////////////////// */

.higashi{
    font-family: 'UD Digi Kyokasho NK-B';
    text-align: center;
    font-size: 230%;
    width: 90%;
    max-width: 600px;
    margin: 4% auto  5%;
    position: relative;
    padding: 2% 0;
    background: #f8e58c;
    border-radius: 0 80px;    
}
    
    
/* ///////////////////////////////////////////////////////////////////
３つの特徴
/////////////////////////////////////////////////////////////////// */
#choose{
    position: relative;
    background-image: url(../../images/top-bg-cork.webp);
    padding: 2% 0 5%
}

h2.top{
    text-align: center;
    margin: 0 0 3%;
}

h2.top img{
    width: 60%;
    margin: 0 auto ;
    display: block;
    max-width: 750px
}

.choose-content{
    width: 90%;
    max-width: 1080px;
    margin: 0 auto 5%;
    position: relative;
    height: auto
}

.choose-content img{
    position: absolute;
    left: 0;
    top:0;
    width: 40%
}

.choose-content .bg-white{
    background-image: url(../../images/back-paper.jpg);
    width: 65%;
    margin: 0 0 0 auto;
    padding: 5% 0
}

.choose-content h3{
    font-size: 26px;
    letter-spacing: 2px;
    width: 70%;
    margin: 0 auto
}

.choose-content p{
    width: 80%;
    margin:3% auto;
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 2.3;
    font-weight: bold
}

.choose-content-right{
    width: 80%;
    max-width: 1080px;
    margin: 0 auto 5%;
    position: relative;
    padding: 20px;
    height: auto
}

.choose-content-right img{
    position: absolute;
    right: 0;
    top:0;
    width: 40%
}

.choose-content-right .bg-white{
   background-image: url(../../images/back-paper.jpg);
    width: 65%;
    margin: 0 auto 0 0;
    padding: 5% 0
}

.choose-content-right h3{
    font-size: 26px;
    letter-spacing: 2px;
    width: 70%;
    margin: 0 auto
}

.choose-content-right p{
    width: 80%;
    margin:3% auto;
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 2.3;
    font-weight: bold
}

.service-btn{
    font-size: 1.6em;
    position: relative;
    display: inline-block;
    font-weight: bold;
    padding: 1em 0.8em;
    text-decoration: none;
    color: #fff;
    background: #d9333f;
    position: absolute;
    right: 12%;
    bottom:10px;
    width: 180px;
    text-align: center
}

.service-btn > span {
    padding: 0.5em 0;
    border-top:solid 2px;
    border-bottom:solid 2px;
    letter-spacing: 2px;
}

.service-btn:hover span {
    padding: 0.3em 0;
    border-top:solid 1px;
    border-bottom:solid 1px;
    transition-duration: 0.2s;
    letter-spacing: 3px;
}

.service-btn:hover{
    text-decoration: none;
    color: #fff;
}

.service-btn span:after {
  font-family: "Font Awesome 5 Free";
    content: "\f054";
    padding: 0 0.5em;
    font-size: 15px;
    vertical-align: middle
}

/* ///////////////////////////////////////////////////////////////////
放課後等デイサービスとは？
/////////////////////////////////////////////////////////////////// */

#day-service{
    padding: 10% 0;
}

.day-service{
    width: 500px;
    letter-spacing: 1px;
}

.day-service h2{
    left: 25%;
    letter-spacing: 3px;
}

.day-service p{
    text-align: center
}

.day-service .right-img{
    display: none;
}

/* ///////////////////////////////////////////////////////////////////
流れ
/////////////////////////////////////////////////////////////////// */

#flow{
    position: relative;
    margin: 5% 0;
}

#flow h2{
    text-align: center;
    font-size:1.8em;
    letter-spacing: 4px;
    margin: 0 auto;
    line-height: 2
}

#flow h2 img{
    vertical-align: -5px
}

#flow h2{
    width: 40%;
    background-image: url(../../images/line-3.webp);
    background-repeat: no-repeat;
    background-position: center bottom;
    padding: 0 0 1%
}

#flow h2.one .orange{
    font-size:1.5em;
    color: #ff8c00
}

#flow .wrap-1{
    text-align: center
}


.flow-1{
    width: 90%;
    border-spacing: 0px 30px;
    display: block;
    margin: 3% auto;
    max-width: 1180px;
}

.flow-1 .step{
    width: 20%;
    text-align: center;
    border: solid 3px #ff8c00;
    vertical-align: middle;
    padding: 1% 0;
    background: #fff;
    border-radius: 30px;
    height: 280px
}

.flow-1 .step span{
    color: #ff8c00;
    font-weight: bold;
    font-size: 130%
}

.flow-1 .step h3{
    margin: 4% auto 5%;
    padding: 0 0 5%;
    width: 80%;
    font-size: 2.3vw;
    color: #ff8c00;
    border-bottom: solid 3px #ff8c00;
}

.flow-1 .step h3.first{
    line-height: 3
}

.flow-1 .arrow{
    width: 5%;
    text-align: center;
    vertical-align: middle
}

.flow-1 .arrow img{
    width: 30%;
    vertical-align: middle
}

.flow-1 p{
    margin: 0 auto;
    font-weight: bold;
    font-size:110%;
    line-height: 2;
    width: 80%;
    text-align: left
}

.link{
    width: 90%;
    margin: 0 auto 5%;
    vertical-align: middle
}

.link li{
    width: 33%;
}

.link img{
    width: 80%;
    margin:0 auto;
    display: block
}

.link .tel{
    border-bottom: solid 1px;
    padding: 10px 0;
    margin-bottom: 10px
}

.link a:hover img{
    transition-duration: 0.3s;
    transform: translateY(-3px);
    opacity: 0.6;
}

#flow .blue{
    font-size: 1.4em;
    color: #1e90ff
}

.flow-2{
    width: 95%;
    border-spacing: 0px 30px;
    display: block;
    margin: 3% auto 5%;
    max-width: 1180px;
}

.flow-2 .item{
    width: 20%;
    text-align: center;
    border: solid 3px #1e90ff;
    vertical-align: middle;
    padding: 0 0 1%;
    background: #fff;
    border-radius: 0;
    height: 35vw
}

.flow-2 .item .time{
    background: #1e90ff;
    font-weight: bold;
    font-size: 160%;
    color: #fff;
    border-radius: 0px;
    padding: 2% 0;
    margin: -1px -1px 0;
    line-height: 2
}

.flow-2 .item h3{
    margin: 6% auto 5%;
    padding: 0 0 5%;
    width: 80%;
    font-size: 2.3vw;
    color: #1e90ff;
    border-bottom: solid 3px #1e90ff;
}

.flow-2 h3.first{
    line-height: 3
}

.flow-2 .arrow{
    width: 5%;
    text-align: center;
    vertical-align: middle
}

.flow-2 .arrow img{
    width: 30%;
    vertical-align: middle
}

.flow-2 p{
    margin: 0 auto;
    font-weight: bold;
    font-size:1.5vw;
    line-height: 2;
    width: 80%;
    text-align: left
}


#flow .green{
    font-size: 1.4em;
    color: #009100
}

.flow-3{
    width: 95%;
    border-spacing: 0px 30px;
    display: block;
    margin: 3% auto;
    max-width: 1180px;
}

.flow-3 .item{
    width: 16.8%;
    text-align: center;
    border: solid 3px #009100;
    vertical-align: middle;
    padding: 0 0 1%;
    background: #fff;
    border-radius: 0;
    height: 32vw;
}

.flow-3 .item .time{
    background: #009100;
    font-weight: bold;
    font-size: 160%;
    color: #fff;
    border-radius: 0px;
    padding: 2% 0;
    margin: -1px -1px 0;
    line-height: 2
}

.flow-3 .item h3{
    margin: 6% auto 5%;
    padding: 0 0 5%;
    width: 80%;
    font-size: 1.9vw;
    color: #009100;
    border-bottom: solid 3px #009100;
}

.flow-3 h3.first{
    line-height: 3
}

.flow-3 .arrow{
    width: 2.9%;
    text-align: center;
    vertical-align: middle
}

.flow-3 .arrow img{
    width: 30%;
    vertical-align: middle
}

.flow-3 p{
    margin: 0 auto;
    font-weight: bold;
    font-size:1.5vw;
    line-height: 1.8;
    width: 80%;
    text-align: left
}

}