@charset "utf-8";

/* ========== すべて共通 ========== */

html, body {
	font-family: 'Montserrat', sans-serif;
	color: #393939;
	background: #fff;
}
body, div, p, h1, h2, h3, h4, ul, figure {
	margin: 0;
	padding: 0;
}

/* ========== ページ遷移フェードアニメーション ========== */
.wrap {
	animation: fadein 0.8s forwards;
}
@keyframes fadein {
	0% {opacity: 0}
	100% {opacity: 1}
}
/* ========== /ページ遷移フェードアニメーション ========== */

img {
	width: 100%;
	height: auto;
}
a {
	color: #709a00;
}
a:hover {
	color: #95cd00;
}
a:active {
	color: #4b6700;
}
.img-responsive {
	display: block;
	max-width: 100%;
	height: auto;
}

.container {
	margin: 0 auto;
	padding-left: 10px;
	padding-right: 10px;
}

@media screen and (min-width: 768px) {
	.container {
		padding-left: 20px;
		padding-right: 20px;
		max-width: 1160px;
	}
}

/* バナーの位置設定 */
.home-keyvisual {
	margin: 70px 0 0 0;
}

@media screen and (min-width: 768px) {
	.home-keyvisual {
		width: 100%;
	  margin:100px 0 0 0;
   }
}

/* キービジュアル */
/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important;}
.sp { display: none !important;}
/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 750px) {
.pc { display: none !important; }
.sp { display: block !important; }
}

/* ========== メインエリア基本レイアウト ========== */
main {
	padding-top: 30px;
	padding-bottom: 50px;
}

@media screen and (min-width: 767px) {
	main {
		padding-top: 40px;
		padding-left: 30px;
		padding-right: 30px;
		padding-bottom: 40px;
	}
}

/* キャッチコピー */
.home-maincopy {
	margin-top: 40px;
	text-align: center;
	font-size: 1.4rem;
	color: #555;
	line-height: 40px;
	font-weight: 400;
}
.home-maincopy strong {
	font-family: 'Montserrat', sans-serif;
	font-size: 1.2rem;
}

.main-visual {
	margin: 20px 0 40px 0;
	width: 127px;
	height: 135px;
	margin-left:auto;
	margin-right: auto;
}

/* キャッチコピーPC用 */
@media screen and (min-width: 767px) {
    .home-maincopy {
			font-family: "メイリオ", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
		  margin-top: 70px;
	    text-align: center;
	    font-size: 1.3rem;
	    color: #555;
	    line-height: 45px;
	    font-weight: 300;
}
   .home-maincopy strong {
	    font-family: 'Montserrat', sans-serif;
	    font-size: 30px;
}
   .main-visual {
	margin: 20px 0 40px 0;
	width: 127px;
	height: 135px;
	margin-left:auto;
	margin-right: auto;
} 
}

#animation_container {
	margin: 35px 0 60px -21px;
}

@media screen and (min-width: 767px) {
#animation_container {
	margin: 60px auto 200px auto;
	}
}

/* main kategori-*/
.home-course {
	display: flex;
	flex-flow: column; 
}

.home-course li {
	flex: 1 1 auto;
	font-family: "メイリオ", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
	margin: 0 15px 35px 15px;
	border: solid 5px #fff;
	list-style-type: none;
	background: #fff;
}

.home-course a {
	font-size: 1rem;
	color: #333;
	text-decoration: none;
}

.home-course figcaption {
	font-family: "メイリオ", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
	padding: 8px 0 0 0;
	font-size: 1rem;
	font-weight: 300;
	color: #333;
	text-align: center;
}

/* 画面幅が広い（タブレット・パソコン向け） */
@media screen and (min-width: 768px) {
	.home-course {
		flex-flow: row;	
		margin-top: 40px;
	}
	
.home-course li {
	flex: 1 1 auto;
	font-family: "メイリオ", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
	margin: 0 50px 4px 50px;
	border: solid 5px #fff;
	list-style-type: none;
	background: #fff;
}	

.home-course a {
	font-size: 0.8rem;
	color: #333;
	text-decoration: none;
}
.home-course figure:hover {
	opacity: 0.5;
}
	
figcaption {
	font-family: "メイリオ", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
	padding: 5px 0 0 0;
	font-size: 1rem;
	font-weight: 400;
	color: #333;
	text-align: center;
}
}	

/* キャッチコピー2 */
.home-maincopy-h2 {
	margin-top: 30px;
	text-align: center;
	font-size: 1rem;
	color: #555;
	line-height: 28px;
	font-weight: 500;
}

@media screen and (min-width: 768px) {
	.home-maincopy-h2 {
	    margin-top: 100px;
	    text-align: center;
	    font-size: 1.3rem;
	    color: #555;
	    line-height: 37px;
	    font-weight: 400;
    } 
}	

/* インフォ */
.rico {
	font-family: "メイリオ", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
	margin: 10px auto -50px auto;
	padding: 0 30px 0 30px;
	text-align: left;
	text-align: justify;
	line-height: 26px;
	font-size: 1.1rem;
	color: #555;
}

h3 {
	font-family: 'Montserrat', sans-serif;
	text-align: center;
	margin-bottom: 10px;
	font-size: 1.3rem;
	color: #555;
}

.info-p {
	margin: 0 0 0 0;
	font-size: 0.9rem;
	text-align: justify;
}

@media screen and (min-width: 768px) {
	.rico {
      margin: 0 auto 0px auto;
	    padding: 0 150px 0 150px;
	    text-align: left;
		text-align: justify;
	    line-height: 24px;
	    font-size: 0.85rem;
	    color: #555;
      }
       h3 {
	    text-align: center;
	    margin-bottom: 10px;
	    font-size: 1.3rem;
	    color: #555;
      }
}

/* スマートフォン用 */	
/* プライバシーポリシーと特別商取引き */	
	.privacy {
	display: flex ! important	;
	justify-content: center;
	}

.button {
	font-family: "メイリオ", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
	text-align: center;
  display: inline-block;
	display: list-item;  /* 縦に並べる */
	margin: 5px 10px 10px 0;
  width: 190px;
  padding: 6px 6px 6px 10px;
  border-radius: 5px;
  background-color: #80A2D1;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 0.9rem;
}
.button:hover {
  opacity: 0.8;
}
.button-showy {
  background-color: #80A2D1;
	text-align: center;
}

.btn:hover {
    background-color: #F59264;
}

/* パソコン用 */		
/* プライバシー 　パソコン用*/
@media screen and (min-width: 768px) {
	.privacy {
	display: flex ! important	;
	justify-content: flex-start;
	}

.button {
	font-family: "メイリオ", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
	text-align: center;
  display: inline-block;
	display: list-item;  /* 縦に並べる */
	list-style: none;
	margin: 5px 0 10px 110px;
  width: 190px;
  padding: 6px 6px 6px 10px;
  border-radius: 5px;
  background-color: #80A2D1;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 0.9rem;
}
.button:hover {
  opacity: 0.8;
}
.button-showy {
  background-color: #80A2D1;
	text-align: center;
}
}

/* ========== footer ========== */
.footer-container {
	font-size: 0.5rem;
	font-family: 'Montserrat', sans-serif;
	color: #444;
	margin-top: 5px;
	border-top: solid #c0c0c0 1px;
}
.footer-container p {
	font-size: 0.9rem;
	margin: 10px 0 30px 0;
	text-align: center;
}

