


/*-----------最初の画像の設定-----------*/
.top-img{
    max-width: 1360px;
    margin: 0 auto;
    margin-bottom: 15%;
}
.top-img img{
    border-radius: 0px 0px 10px 10px;
    width: 100%;
}


/*--------about-----------------------*/
/*#about{
    padding-top: 30px;
    padding-bottom: 30px;
}*/
.about-topimg{
    width: 100%;
    border-radius: 20px;
}
.about-top-part{
    display: flex;
    justify-content: space-between;
}
/*----aboutの文章部分----*/
.about-sentence{
    width: 40%;
    margin: 1.5% 2.5%;
}

.about-sentence h2{
    font-size: 2.2rem;
}

#youkoso{/*h2のようこそ*/
    padding-left: 10%;
}

#akebonohe{/*h2のあけぼの学園*/
    padding-left: 20%;
}

.about-sentence p{
    font-size: 1.2rem;
    padding-top: 7.5%;
    padding-left: 10%;
    letter-spacing: 2px;
    line-height: 2;
}
/*---------------------------*/

/*-------aboutの下部分-----*/
.about-underpart{
    display: flex;
    justify-content: space-between;
}
.about-picture-box{/*about下部分の画像二枚の大枠*/
    display: flex;
    margin-top: 4%;
}
.about-picture1{/*about左の画像*/
    width: 42%;
    margin: 3.5% 1.2% 2.4% 0;/*上右下左30px10px20px0px*/
    border-radius: 10px;
}
.about-picture2{/*about右の画像*/
    width: 42%;
    margin: 3.5% 0 2.4% 1.2%;/*上右下左*/
    border-radius: 10px;
}


/*-------aboutのナビ---------*/

.about-nav{/*aboutのナビの大枠部分*/
    width: 65%;
    /*max-width: 350px;*/
    background-color: #ffffff;
    margin: 2.5% 0 4% 0;
    padding: 2.5% 0 1% 1.5%;
    border-radius: 10px;
    font-size: 1.4rem;
}

.about-nav-part{/*矢印とnavをフレックスにするだけのクラス*/
    display: flex;
    margin-left: 8%;
    margin-bottom: 8%;
    border-bottom: dotted 2px #C94F26;/*点線の設定*/
    width: 80%;/*点線の横幅設定*/
    
    
    /*position: relative;*//*linkの範囲調整用*/
}
/*.about-nav-part:last-child{
    margin-bottom: 2%;
}*/
.about-nav-part:hover{
    opacity: 0.6;
    transition: 0.5s;
}
.about-nav-moji{
    margin-left: 8%;
}


/*#about li a{
    color: #453012;
    
    width: 80%;
    height: 100%;
    top: 0;
    left: 50px;
    position: absolute;
}*/


/*----丸囲み矢印の設定----*/
.cp_arrows [class*='cp_arrow'] {/*[]これの中身はクラス名にcp_arrowが含むものが対象*/
  position: relative;
  vertical-align: middle;
  display: inline-block;
}
.cp_arrows [class*='cp_arrow']::before,
.cp_arrows [class*='cp_arrow']::after {
  content: '';
}
.cp_arrows [class*='cp_arrow'] {/*ベースの丸*/
  margin: 0px 0px 5px;
  width: 25px;
  height: 25px;
  border-radius: 100%;
  background: #C94F26;
}
.cp_arrows [class*='cp_arrow']::after {/*三角形の設定*/
  position: absolute;
  top: 5px;
  right: 5px;
  border-width: 0 10px 10px 0;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
}
.cp_arrows .cp_arrow_right::after {
  top: 8px;
  right: 10px;
  transform: rotate(45deg);
}
/*--------丸囲み矢印の設定---------*/

/*-----------------/about-------------------------------------*/




/*-----------------service------------------------------------*/
#service{
    display: flex;
    justify-content: space-between;
    padding-top: 9%;/*--前セクションとの間隔--*/
    padding-bottom: 5%;
}
#service img{
    border-radius: 10px;
}

.service-img{
    width: 90%;
    margin-right: 30px;
}

.service-sentence{
    margin-top: 9%;
    padding-right: 1%;
    position: relative;/*[サービスについて]buttonの配置微調整css*/
    width: 55%
}
.service-sentence h2{
    font-size: 2.2rem;
}
.service-sentence p{
    font-size: 1.25rem;
    letter-spacing: 2px;
    line-height: 2;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 5% 6.5% 6% 6.5%;/*20px25px30px25px*/
    margin: 5% 0px 0px 10%;
}
.btn_yellow{
    position: absolute;
	overflow: hidden;/*要素のボックスからはみ出したコンテンツを非表示する指定*/
	display: inline-block;
	border-radius: 30px;
	border: 2px solid #FFC000;
    background-color: #FFC000;
	color: #FFFFFF;
    font-size: 20px;
	text-align: center;
	outline: none;
    padding: 10px 24px;
    left: 57%;/*サービスについての配置微調整css service-sentenceの左上が軸となり、left,topで位置を指定*/
    top: 63%;/*サービスについての配置微調整css*/
}
.btn_shadow_down{/*https://gray-code.com/html_css/css-recipe-of-button/　←ここから引用*/
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);/*影のサイズ設定*/
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn_shadow_down:hover {/*https://gray-code.com/html_css/css-recipe-of-button/　←ここから引用（ボタンの影が消えるtype1）*/
  transform: translateY(3px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.3);
}


/*-----------------/service------------------------------------*/



/*-----------------twitter------------------------------------*/
.twitter-area{
    background-color: #F2EDE1;
    border-radius: 40px;
    margin: 4.2% 3.3% 4.2% 3.3%;/*50px40px50px40px*/
    padding: 3.3% 3.3% 2.5% 5%;/*40px40px30px60px*/
    position: relative;
}
.twitter-area h2{
    font-size: 2rem;
}
.twitter-area p{
    font-size: 1.2rem;
    font-weight: 600;
    margin: 2% 0 2% 3.5%;/*20px0px20px35px*/
}
/*------------ツイッターボタン設定-------------*/
.btn_green{
    position: absolute;
	overflow: hidden;/*要素のボックスからはみ出したコンテンツを非表示する指定*/
	display: inline-block;
	border-radius: 30px;
	border: 2px solid #00B050;
    background-color: #00B050;
	color: #FFFFFF;
    font-size: 1.2rem;
	text-align: center;
	outline: none;
    padding: 1% 2%;
    
    font-weight: 600;
    top: 6.5%;/*ツイッターボタンの配置微調整css twitter_areaの左上が軸となり、left,topで位置を指定*/
    left: 75%;
}
.btn_shadow_up {
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.3);
  transform: translateY(3px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn_shadow_up:hover {
  transform: translateY(0);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
}
/*------------------------------------*/

.twitter-container{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
    margin: auto;
    width: 80%;
}

.twitter-img1{
    
}
.twitter-img2{
    
}
.twitter-img3{
    
}
.twitter-img4{

}
/*-----------------/twitter------------------------------------*/



/*-----------------news------------------------------------*/
#news{
    margin-bottom: 3%;
}

#news h2{
    font-size: 1.5rem;
    margin: 2% 0px 1% 4.5%;
    
}
.news-contents{
    margin: 0px 3.5% 2% 3.5%;
    padding: 4% 6% 2% 6%;
    background-color: #ffffff;
    border-radius: 20px;
    text-align: center;
    /*position: relative;*/
    
}
.news-contents li{
    border-bottom: dotted 2px #F2EDE1;
    margin-bottom: 1%;
}
.news-contents ul li a{
    display: flex;
    font-size: 1.2rem;
    color: #453012;
    padding: 1% 5%;
}
.news-contents ul li a date{
    margin-right: 5.5%;
}

.btn_news{
	position: relative;
	overflow: hidden;
	text-decoration: none;
	display: inline-block;
	border-radius: 5px;
	border: 2px solid #453012;
	color: #453012;
	text-align: center;
	outline: none;
    top: 10%;
    left: 45%;
    font-size: 1rem;
}

.btn_border_type1 {
  padding: 5px 30px;
  border: 2px solid #453012;
  transition: border-color 0.3s ease;
  
}
.btn_border_type1:hover {
  border-color: #F2EDE1;
}

/*-----------------/news------------------------------------*/


/*---------------------banner-------------------------------------*/
#banner{
    padding-bottom: 5%;
}

.banner-content{
    display: flex;
    margin: 4% 4% 0 4%;
    justify-content: space-between;
}
.under-banners{
    display: flex;
}

.toppage-contact{
    margin: 2% 1% 0px 0px;
    width: 200%;
}

.toppage-saiyou{
    width: 60%;
    margin: 0px 1% 0px 1%;
}
/*.toppage-saiyou p{
    margin-top: 2%;
    text-align: center;
    font-size: 1.2rem;
    color: #453012;
}*/
.toppage-saiyou a{
    width: 100%;
    height: 100%;
    display: block;
}

.topppage-saiyou a:hover{
    background-color: #471011;
    

}
.toppage-siryou{
    width: 60%;
    margin: 0px 1% 0px 1%;
}
.toppage-siryou a{
    width: 100%;
    height: 100%;
    display: block;
}

/*.toppage-siryou p{
    margin-top: 2%;
    text-align: center;
    font-size: 1.2rem;
    color: #453012;
}*/


/* タブレット用-------------------------- */
@media screen and (max-width: 1024px) {
    /*about-toppart*/
    .about-sentence{
        width: 45%;
        margin: 1% 2%;
    }
    .about-sentence h2{
        font-size: 1.6rem;
    }
    .about-sentence p{
        font-size: 1rem;
    }
    .about-picture1{/*about下の写真の設定*/
        width: 44%;
    }
    .about-picture2{/*about下の写真の設定*/
        width: 44%;
    }
    
    
    /*about-underpart*/
    .about-nav{
        width: 75%;
        font-size: 1.2rem;
    }
    /*.cp_arrows .cp_arrow_right::after{
        top: 6px;
        right: 8px;
    }*/
    /*.cp_arrows [class*='cp_arrow']::after{
        border-width: 0 8px 8px 0;
    }*/
    
    
    /*------service------*/
    .service-sentence{
        width: 65%;
        padding-right: 4%;
    }
    .service-sentence h2{
        font-size: 1.6rem;
    }
    .service-sentence p{
        font-size: 1rem;
        padding-bottom: 6%;
        letter-spacing: 1px;
    }
    .btn_yellow{
        font-size: 1rem;
        padding: 8px 10px;
        top: 60%;
    }
    .service-img{
        width: 90%;
    }
    
    /*twitter*/
    .twitter-area h2{
        font-size: 1.5rem
    }
    .twitter-area p{
        font-size: 1rem;
    }
    .btn_green{
        font-size: 1rem;
    }
    
    /*news*/
    .news-contents ul li a{
        font-size: 1rem;
    }
    .toppage-saiyou p{
        font-size: 1rem;
    }
    .toppage-siryou p{
        font-size: 1rem;
    }
    .toppage-contact{
        width: 240%;
    }
}	



/* スマホ用-------------------------- */
@media screen and (max-width: 768px) {
    /*---------------about-----------------*/
    .about-top-part{
        display: block;
    }
    .about-topimg{
        display: none;
    }
    .about-sentence{
        width: 100%
    }
    .about-sentence h2{
        font-size: 1.4rem;
    }
    .about-sentence p{
        padding-top: 3%;
    }
    .about-underpart{
        display: block;
    }
    .about-picture-box{
        margin-top: 1%
    }
    .about-picture1,.about-picture2{
        width: 50%;
    }
    .about-nav{
        width: 100%;
        padding: 4% 0% 4% 1.5%;
    }
    
    /*---------------service-----------------*/
    #service{
        display: block;
    }
    .service-sentence{
        width: 100%;
    }
    .service-sentence h2{
        font-size: 1.4rem;
        width: 100%;
    }
    .btn_yellow{
        top: 83%;
    }
    .service-img{
        margin-top: 3%;
        margin-left: 4%;
    }
    
    /*---------------twitter-----------------*/
    .twitter-area{
        padding: 3.3% 3.3% 10% 5%;
    }
    .twitter-area h2{
        font-size: 1.4rem;
    }
    .twitter-area p{
        margin: 2% 0 4% 6%;
    }
    .btn_green{
        padding: 1% 15%;
        top: 93%;
        left: 15%;
    }
    .twitter-container{
        width: 100%;
        gap: 5px;
    }
    
    /*---------------news-----------------*/
    #news{
        margin-bottom: 10%;
    }
    #news h2{
        font-size: 1.4rem;
        margin-top: 10%;
    }
    .news-contents ul li a{
        font-size: 1rem;
    }
    .btn_news{
        left: 0;
        margin-top: 6%;
    }
    .btn_border_type1{
        padding: 5px 60px;
    }
    
    /*---------------banner-----------------*/
    .banner-content{
        display: block;
    }
    .toppage-contact{
        width: 100%;
        margin-bottom: 2%;
    }
    .under-banners{
        display: flex;
    }
        
}

/* スマホ用-------------------------- */
@media screen and (max-width: 599px) {
    /*---------------about-----------------*/
    .about-top-part{
        display: block;
    }
    .about-topimg{
        display: none;
    }
    .about-sentence{
        width: 100%
    }
    .about-sentence h2{
        font-size: 1.4rem;
    }
    .about-sentence p{
        padding-top: 3%;
    }
    .about-underpart{
        display: block;
    }
    .about-picture-box{
        margin-top: 1%
    }
    .about-picture1,.about-picture2{
        width: 50%;
    }
    .about-nav{
        width: 100%;
        padding: 8% 0% 4% 1.5%;
    }
    
    /*---------------service-----------------*/
    #service{
        display: block;
        padding-top: 5%;
    }
    .service-sentence{
        width: 100%;
    }
    .service-sentence h2{
        font-size: 1.4rem;
        width: 100%;
    }
    .btn_yellow{
        top: 83%;
    }
    .service-img{
        margin-top: 3%;
        margin-left: 4%;
    }
    
    /*---------------twitter-----------------*/
    .twitter-area{
        padding: 3.3% 3.3% 10% 5%;
    }
    .twitter-area h2{
        font-size: 1.4rem;
    }
    .twitter-area p{
        margin: 2% 0 4% 6%;
    }
    .btn_green{
        padding: 1% 15%;
        top: 93%;
        left: 15%;
    }
    .twitter-container{
        width: 100%;
        gap: 5px;
    }
    
    /*---------------news-----------------*/
    #news{
        margin-bottom: 10%;
    }
    #news h2{
        font-size: 1.4rem;
        margin-top: 10%;
    }
    .news-contents ul li a{
        font-size: 1rem;
    }
    .btn_news{
        left: 0;
        margin-top: 6%;
    }
    .btn_border_type1{
        padding: 5px 60px;
    }
    
    /*---------------banner-----------------*/
    .banner-content{
        display: block;
    }
    .toppage-contact{
        width: 100%;
        margin-bottom: 2%;
    }
    .under-banners{
        display: flex;
    }
        
}
