* 共通部分*/
html{
font-size:100%;
}

body{
font-family:"Yu Mincho","YuMincho",serif;
line-height:1.7;
color:#432;
}

a{
text-decoration:none;
}

img{
max-width:100%;
}

.maingazou{
max-width:100%;
text-align:center;
}

/* ヘッダーとフッター */
.wrapper{
max-width:1100px;
margin:0 auto;
padding:0 4%;
}
.header1{
display:flex;
justify-content:space-between;
}
.main-nav{
display:flex;
font-size:1.2rem;
font-weight:bold;
list-style:none;
margin-top:5px;
margin-right:10px;
}
.main-nav li{
margin-left:10px;
background:#efebfc;
color:#6d35a6;
border-radius:7px;
padding:10px 20px;
}
.foreignlang{
display:flex;
justify-content:flex-end;
font-size:1rem;
font-weight:bold;
list-style:none;
margin-top:5px;
margin-right:10px;
}
.foreignlang li{
background:#FAF7F0;
color:#432;
border-radius:5px;
padding:8px 13px;
margin-left:10px;
}
.home1{
width:185px;
margin-top:15px;
margin-left:30px;
}

.blog li{
background:#F8E0F7;
}

/* トップページ */
article{
width:70%;
}
aside{
width:26%;
}
.news-contents{
display:flex;
justify-content:space-between;
margin-bottom:50px;
}

h2{
text-align:center;
border-bottom:2px #7f4bde solid;
}

h3{
text-align:center;
border-bottom:2px #f67690 solid;
}

.douga1{
display:flex;
justify-content:center;
}
.youtube {
max-width:100%;
}

/* サイドバーSNS */
#sns{
background:#FAF7F0;
justify-content:space-between;
}

.sub-title{
font-size:1.2rem;
padding:0 8px 8px;
border-bottom:2px #7f4bde solid;
font-weigt:normal;
margin-bottom:10px;
}

.sns-box{
width:100%;
}

/* 自己紹介文 */
.syoukai2{
font-size:0.85rem;
}
.syoukai3{
text-align:center;
margin:0 auto;
padding:0 4%;
}

/* 料金表・お申込み */
table{
width:100%;
padding-top:30px;
padding-bottom:30px;
}

th{
text-align:left;
}

.price{
text-align:right;
}

.pricepp th{
background:#e9dff0;
padding-top:5px;
padding-bottom:5px;
}
.pricepp td{
background:#fefcff;
padding-top:8px;
padding-bottom:8px;
}

.talk2 th{
width:200px;
background:#ebf1ff;
padding-top:5px;
padding-bottom:5px;
text-align:center;
}
.talk2 td{
background:#fafcff;
padding-top:8px;
padding-bottom:8px;
text-align:center;
}

.chat{
font-size:1.1rem;
font-weight:bold;
margin-top:50px;
}

/* 教室紹介 */
.classexp{
line-height:2;
}

/* お知らせ部分（リンク飛後） */
.part1{
line-height:2;
}

.talk{
width:430px;
text-align:center;
margin:0 auto;
padding:0 4%;
margin-top:35px;
}

.talk th{
width:150px;
background:#ebf1ff;
padding-top:5px;
padding-bottom:5px;
text-align:center;

}
.talk td{
background:#f2f7ff;
padding-top:8px;
padding-bottom:8px;
text-align:center;
}

.line{
width:100px;
margin:50px;
}
.line{
width:100px;
margin:50px;
}

.line2{
display:flex;
justify-content:center;
}

/*お問い合わせ画面*/

.twitterbutton{
width:50px;
margin:20px;
}
.facebookbutton{
width:50px;
margin:20px;
}

.twfabutton{
display:flex;
justify-content:center;
}


/* セクション部分 */
section{
background:#FAF7F0;
box-shadow:0 0 10px 0 #ccc;
margin-top:30px;
padding-top:20px;
padding-right:20px;
padding-bottom:20px;
padding-left:20px;
}
section{
max-width:700px;
margin-right:auto;
margin-left:auto;
}

iframe{
max-width:100%;
}

/* 日本語学習 */
.study-nav{
display:flex;
justify-content:center;
font-size:1.3rem;
font-weight:bold;
list-style:none;
margin-top:8px;
margin-right:50px;
}
.study-nav li{
margin-left:20px;
background:#efebfc;
color:#6d35a6;
border-radius:7px;
padding:12px 22px;
}

.N1 li{
background:#FFCCCC;
}

.N2 li{
background:#FFCC99;
}

.N3 li{
background:#CCCCCC;
}

.sonota li{
background:#CCCC99;
}


.studyN-nav{
display:flex;
justify-content:center;
font-size:1.3rem;
font-weight:bold;
list-style:none;
margin-top:8px;
margin-right:50px;
}
.studyN-nav li{
margin-left:20px;
color:#6d35a6;
border-radius:7px;
padding:10px 20px;
}

.N1color li{
background:#FFCCCC;
}

.N2color li{
background:#FFCC99;
}

.N3color li{
background:#CCCCCC;
}

.grammer-nav{
justify-content:center;
list-style:none;
margin-right:45px;
}

.grammerA{
display:grid;
grid-template-columns:13rem 13rem 13rem;
gap:15px;
}

.G{
margin:1rem;
}

.grammerexp{
padding:1rem;
border-style:outset;
}

/* フッター */
footer{
background:#432;
text-align:center;
padding:5px 0;
margin-top:20px;
}
footer p{
color:#fff;
front-size:0.5rem;