@charset "utf-8";

body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #000000;
    font-size: 15px;
    line-height: 2;
}
/* リンク文字の指定 */
a {
/* 訪問前 */
    color: #3583aa;
    text-decoration: none;
}
a:visited {
/* 訪問後のリンクの色 */
    color; #788d98;
}
a:hover {
/* マウスを持ってきた時のみ下線が表示 */
    text-decoration: underline;
}

header {
    width: 960px;
    height: 100px;
/* margin=プロパティの上下の余白「0」、auto=ブラウザの幅から要素の幅を引いた値を、左右均等に分配して余白を設ける」 */
    margin: 0 auto;
}
.wordplus1 {
/* class属性をセレクタに指定するときは、.+クラス名を記述　例：.wordplus1 */
/* 要素を左右に配置するには、float */
    float: left;
/* margin-topで上部の余白作る */
    margin-top: 50px;
}
.global-nav {
	float: left;
	/* margin-topで上部の余白作る */
    margin-top: 60px;
}
.global-nav li {
    float: left;	
    margin: 0 20px;
    font-size: 20px;
/* 「・」は不要なので、list-style=noneで消す     */
    list-style: none;
}
.global-nav li a {
/* メニュー文字のリンクに色を付ける */
	color: #000000;
    text-decoration: none;
}
.global-nav li a:hover {
/* メニュー文字の下線を設定 */
/* 境界線を引きたいときは、borderプロパティを使う、実線はsolid */
	border-bottom: 2px solid #696969;
/* 文字と下線との余白を調整 */
	padding-bottom: 3px;
/* a:hoverで指定したtext-decoration:underlineが不要になるので、下のように書く */
	text-decoration: none;
	font-family: 'Noto Sans JP', sans-serif;
}
#home {
    background-image: url(background.png);
/* 背景の繰り返し「なし」 */
    background-repeat: no-repeat;
/* 画像の開始位置　左右       上下*/
    background-position: center top;
/* 背景画像を固定したいとき */
    background-attachment: fixed;
/* 背景画像の大きさの指定　「cover」は縦横比を保持したまま、領域を完全に覆うサイズに拡大・縮小する */
    background-size: 100% auto;
}
/* header内の各要素で指定したfloatプロパティは、それ以降不必要になることも。以降のwrap要素に対して、clearプロパティを使用する */
/* id属性をCSSのセレクタに指定するときは、#+id名を記述　例：#wrap */
#wrap {
/* bothで左右の回り込みを解除する */
	clear: both;
	background-color: #ffffff;
	margin-top: 220px;
	padding: 35px 0;
}
.main-center {
    width: 940px;
    margin: 0 auto;
    font-family: 'Noto Sans JP', sans-serif;
}
h1 {
    font-size: 40px;
/* 行間を詰める */
    line-height: 1;
    color: #000000; 
    font-family: 'Noto Sans JP', sans-serif;
    border-bottom:1px solid #cccccc;
    padding-bottom: 10px;
}
#home  .index-text {
width: 400px;
float: left;
}
#home  .index-image {
float: right;
}

.clearfix:after {
content: "";
display: block;
clear: both;
}
.goaisatsu {
    width: 960px;
/* margin=プロパティの上下の余白「0」、auto=ブラウザの幅から要素の幅を引いた値を、左右均等に分配して余白を設ける」 */
    margin: 0 auto;
}
footer {
/* 文字を中央揃えにする */
    text-align: center;
    color: #000000;
/* 上下の余白を設定 */
    padding: 20px 0;
}
/* footerの中のsmall要素について指定するとき */
footer small {
    font-size: 12px;
    font-family: 'Noto Sans JP', sans-serif;
}
@media screen and (max-width: 600px) {
/* 画面サイズが600px以下の時に適用される */
body {
    font-size: 3.5vw;
}
header{
    width: auto;
/*  ０は上下、５は左右のマージン    */
    margin: 0 5%;
}
.wordplus1 {
    float: none;
/* margin-topで上部の余白作る */
    margin-top: 20px;
    text-align: center;
}
.global-nav {
	float: none;
	/* margin-topで上部の余白作る */
    margin-top: 15px;
    text-align: left;
}
.global-nav li {
   display: inline;	
   float: none;
   margin: 0 12px;
   }
.global-nav li a {
/* メニュー文字のリンクに色を付ける */
	color: #000000;
    text-decoration: none;
    font-size: 5vw;
}
.global-nav li a:hover {
/* メニュー文字の下線を設定 */
/* 境界線を引きたいときは、borderプロパティを使う、実線はsolid */
	border-bottom: 2px solid #696969;
/* 文字と下線との余白を調整 */
	padding-bottom: 3px;
/* a:hoverで指定したtext-decoration:underlineが不要になるので、下のように書く */
	text-decoration: none;
	font-family: 'Noto Sans JP', sans-serif;
}
/* header内の各要素で指定したfloatプロパティは、それ以降不必要になることも。以降のwrap要素に対して、clearプロパティを使用する */
/* id属性をCSSのセレクタに指定するときは、#+id名を記述　例：#wrap */
#wrap {
	margin-top: 120px;
	padding: 35px 0 0;
}
.main-center {
    width: 100%;
     font-size: 3vw;
    font-family: 'Noto Sans JP', sans-serif;
}
#home {
    background-image: url(background1.png);
/* 背景の繰り返し「なし」 */
    background-repeat: no-repeat;
/* 画像の開始位置　左右       上下*/
    background-position: center top;
/* 背景画像を固定したいとき */
    background-attachment: fixed;
/* 背景画像の大きさの指定　「cover」は縦横比を保持したまま、領域を完全に覆うサイズに拡大・縮小する */
    background-size: 100% auto;
}
h1 {
    font-size: 7.2vw;
     font-family: 'Noto Sans JP', sans-serif;
   }
h2{
    font-size: 3.5vw;
     font-family: 'Noto Sans JP', sans-serif;
}
#home  .index-text {
width: 400px;
float: left;
}
#home  .index-image {
float: right;
}
#home  .lesson-text {
width: 400px;
float: left;
}
#home  .lesson-image {
float: right;
}
.clearfix:after {
content: "";
display: block;
clear: both;
}
.goaisatsu {
    float: none;
    width: auto;
/* margin=プロパティの上下の余白「0」、auto=ブラウザの幅から要素の幅を引いた値を、左右均等に分配して余白を設ける」 */
    margin: 0 5%;
}
}