@charset "utf-8";

/* ========== すべて共通 ========== */
html, body {
	font: 15px/2 -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
	color: #393939;
}
body, div, p, h1, h2, h3, h4, ul, figure {
	margin: 0;
	padding: 0;
}
p, td, th, li {
	line-height: 1.5;
}
img {
	width: 100%;
	height: auto;
}
a {
	color: #3b579d;
}
a:hover {
	color: #b9004a;
}
a:active {
	color: #3b579d;
}

.img-responsive {
	display: block;
	max-width: 100%;
	height: auto;
}
.large-text{
	font-size: 1.5em;
	font-weight: bold;
}
.small-text{font-size: 0.7em;
}
.right{
	text-align:right;
}
.center{
	text-align:center;
}
.justify{
	text-align:justify;
}
.red-fee{
	font-size: 2em;
	font-weight: bold;
	color: #b9004a;
}
.red{
	font-size: 1em;
	color: #b9004a;
}
.container {
	margin: 0 auto;
	padding-left: 10px;
	padding-right: 10px;
	max-width: 1000px;
}
@media screen and (min-width: 768px) {
	.container {
		padding-left: 20px;
		padding-right: 20px;
	}
}

/* ========== ヘッダー ========== */
header {
	background: #f2f2f2;
}
.header-inner {
    display: flex;
	align-items: center;
}
.header-logo {
	padding: 10px 0;
	width: 417px;
	height:50px;
	display: inline-block;
}
@media screen and (min-width: 768px) {
	.header-logo {
	width: 417px;
	height: 50px;
	display: inline-block;
	}
	.line-bt01 {
	width: 120px;
	height: 45px;
	margin-left: 10px;
	background: url(../images/line-bt01.png) no-repeat center center;
	background-size: contain;
	}
}

/* ========== ナビゲーション ========== */
.nav-s {
	background: #3b579d;
}
.nav-s .navbar {
	list-style-type: none;
}
.nav-s .navbar a {
	display: block;
	padding: 0.3rem 0;
	color: #fff;
	text-decoration: none;
}
.nav-s .navbar {
	display: flex !important;
	}
.nav-s .navbar li {
	flex: 1 1 auto;
	text-align: center;
	border-left: 1px solid #ccc;
	}
 .nav-s .navbar .nav-current {
		background: #6279b1;
	}
.nav-l {
	margin-left: auto;
}
.nav-l .navbar {
	display: none;
	list-style-type: none;
}
.nav-l .navbar a {
	height:100px;
	display: block;
	color: #4a4a4a;
	text-decoration: none;
}
.nav-l .navbar a:hover {
	background: #3b579d;
	-webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
	color: #fff;
}

@media screen and (min-width: 768px) {
	.nav-s{
	display: none;
	}
	.nav-l .navbar {
	display: flex;
	}
	.nav-l .navbar li {line-height: 100px;}
	.nav-l .navbar li a {width: 70px;
	    padding:0 8px;
		text-align: center;
		border-left: 1px solid #ccc;
	}
	.nav-l .navbar li:last-child a {
        border-right: 1px solid #ccc;
    }
    .nav-l .navbar .nav-current {
		background-image: url(../images/current-bg.png);
		background-repeat:repeat-x;
	}
}


 
/* ========== メインエリア基本レイアウト ========== */
.main01 {
	padding-top: 40px;
	padding-bottom: 30px;
	background: #f2f2f2;
}

@media screen and (min-width: 767px) {
	.main01 {
		padding-left: 30px;
		padding-right: 30px;
	}
}
.main02 {
	padding-top: 30px;
	padding-bottom: 10px;
	background: linear-gradient(to right, rgba(59, 87, 157, 0.4), rgba(59, 87, 157, 0.1), rgba(59, 87, 157, 0.1), rgba(59, 87, 157, 0.4));
}

@media screen and (min-width: 767px) {
	.main02 {
		padding-left: 30px;
		padding-right: 30px;
	}
}

.main-article {
	margin: 0 10px 30px 10px;
	padding-bottom: 10px;
	background: #fff;
}


/* 共通の見出し */
h2.nomal {
	padding: 10px 8px 8px 15px;
	font-size: 1.5rem;
	line-height: 1.4;
	background-image:linear-gradient(to right,rgba(59, 87, 175, 0.8), rgba(59, 87, 175, 0.1)),url(../images/polygon.jpg);
    Background-position:0 0,right top;
    background-repeat:no-repeat ,no-repeat;
    color: #fff;
	}

h2.souzoku {
	padding: 0.13em 0.5em;
	font-size: 1.5rem;
	background-image:linear-gradient(to right,rgba(59, 87, 175, 0.8), rgba(59, 87, 175, 0.1)),url(../images/polygon.jpg);
    Background-position:0 0,right top;
    background-repeat:no-repeat ,no-repeat;
    color: #fff;
	border-left: solid 70px #3b579d;
	position: relative;
	}

h2.souzoku:before {
	content: url(../images/souzoku.png);
	left: -2.55em;
	top: 65%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	position: absolute;
}

h2.kaisha {
	padding: 0.13em 0.5em;
	font-size: 1.5rem;
	background-image:linear-gradient(to right,rgba(59, 87, 175, 0.8), rgba(59, 87, 175, 0.1)),url(../images/polygon.jpg);
    Background-position:0 0,right top;
    background-repeat:no-repeat ,no-repeat;
    color: #fff;
	border-left: solid 70px #3b579d;
	position: relative;
	}

h2.kaisha:before {
	content: url(../images/kaisha.png);
	left: -2.55em;
	top: 65%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	position: absolute;
}

h2.yuigon {
	padding: 0.13em 0.5em;
	font-size: 1.5rem;
	background-image:linear-gradient(to right,rgba(59, 87, 175, 0.8), rgba(59, 87, 175, 0.1)),url(../images/polygon.jpg);
    Background-position:0 0,right top;
    background-repeat:no-repeat ,no-repeat;
    color: #fff;
	border-left: solid 70px #3b579d;
	position: relative;
	}

h2.yuigon:before {
	content: url(../images/yuigon.png);
	left: -2.55em;
	top: 65%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	position: absolute;
}

h2.fudousan {
	padding: 0.13em 0.5em;
	font-size: 1.5rem;
	background-image:linear-gradient(to right,rgba(59, 87, 175, 0.8), rgba(59, 87, 175, 0.1)),url(../images/polygon.jpg);
    Background-position:0 0,right top;
    background-repeat:no-repeat ,no-repeat;
    color: #fff;
	border-left: solid 70px #3b579d;
	position: relative;
	}

h2.fudousan:before {
	content: url(../images/fudousan.png);
	left: -2.55em;
	top: 65%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	position: absolute;
}


/* ========== index.html トップページ ========== */

.home-course {
	display: flex;
	flex-flow: column;
}
.home-course-item {
	flex: 1 1;
	margin: 0 10px 30px 10px;
	padding-bottom: 10px;
	background: #fff;
}

.middle {
  padding: 15px 10px 10px 10px;
}
.home-introduction {
	display: flex;
	flex-flow: column;
	align-items: center;
}
.home-introduction-item {
	flex: 1 1;
	width:100% !important;
}
.introductionbox{
	margin:1rem auto;
	max-width:500px;
	width:100% !important;
}
.photobox{
	flex: 0 0 auto;
	margin: 0 10px 0 10px;
	max-width: 60%;
}

h2.introduction{
	font-size: 1.8em;
	line-height: 2.5em;
	font-weight: bold;
	color: #3b579d;
	padding-left:  80px;
	background: url(../images/logo-icon.png) no-repeat;
}

/************************************
** Twitterボックス
************************************/

.p-twitter-box{
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
    margin:1rem auto;
	max-width:500px;
    width:100% !important;
	background: #fff;
}
.p-twitter-box .p-twitter-title{
    color: #fff;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 0 2em 0;
    font-size: 12px;
}
.p-twitter-box .twitter-tweet{
    margin:0 !important;
}
.p-twitter-box p{
    display:none;
}
.p-twitter-box .p-twitter-blue{
	    background: #3b579d;
}


@media screen and (min-width: 768px) {
	.home-course {
		flex-flow: row;
	}
}

@media screen and (min-width: 768px) {
	.home-introduction {
		flex-flow: row;
	}
}

.fees-bt{
	margin-top: 30px;
}
.Text{
	margin: 10px auto;
	position: relative;
	border: 2px solid #3b579d;
	width: 250px;
	height: 48px;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #3b579d;
	font-size: 20px;
	text-decoration: none;
}
.Text:before,
.Text:after{
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	right: 0;
	height: 2px;
	background: #3b579d;
}
.Text:before{
	width: 40px;
	transform: translate(30px, 0px);
}
.Text:after{
	width: 15px;
	transform-origin: right center;
	transform: translate(30px, 0px) rotate(25deg);
}


/* ========== HOMEのメインビジュアル ========== */

.keyvisual-s{
	font-size:25px;
	letter-spacing:10px;
	line-height: 100px;
	text-align: center;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif";
	font-weight: bold;
	color: #fff;
	background-image: url("../images/keyvisual-s.jpg");
	background-repeat:no-repeat;
	height:150px;
	max-width: none;
	margin: 0 auto;
	background-size: cover;
}
@media screen and (max-width: 768px) {
	.fade-in {display:none;}
	}	

@media screen and (min-width: 768px) {
.keyvisual-s{display: none;}
.home-keyvisual{
	background-image: url("../images/keyvisual.jpg");
	background-repeat:no-repeat;
	height:400px;
	max-width: none;
	margin: 0 auto;
	background-size: cover;
	}

.fade-in{ 
	font-size:52px;
	letter-spacing:14px;
	text-align: center;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif";
	font-weight: bold;
	color: #fff;
	opacity:0;
	animation-name:movetext;
	animation-duration:3s;
	animation-fill-mode: forwards;
	}
}

@keyframes movetext {
0% {
 opacity: 0;
 transform: translateY(-50px);
}
100% {
 opacity:1;
 transform: translateY(100px);
	}

}

/* ========== 費用一覧のメインビジュアル ========== */

.keyvisual-s2{
	font-size:30px;
	letter-spacing:12px;
	line-height: 100px;
	text-align: center;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif";
	font-weight: bold;
	color: #fff;
	background-image: url("../images/keyvisual-s2.jpg");
	background-repeat:no-repeat;
	height:150px;
	max-width: none;
	margin: 0 auto;
	background-size: cover;
}
@media screen and (max-width: 768px) {
	.fade-in2 {display:none;}
	}	

@media screen and (min-width: 768px) {
.keyvisual-s2{display: none;}
.home-keyvisual2{
	background-image: url("../images/keyvisual2.jpg");
	background-repeat:no-repeat;
	height:250px;
	max-width: none;
	margin: 0 auto;
	background-size: cover;
	}

.fade-in2{ 
	font-size:52px;
	letter-spacing:14px;
	text-align: center;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif";
	font-weight: bold;
	color: #fff;
	opacity:0;
	animation-name:movetext2;
	animation-duration:2s;
	animation-fill-mode: forwards;
	}
}

@keyframes movetext2 {
0% {
 opacity: 0;
 transform: translateY(-50px);
}
100% {
 opacity:1;
 transform: translateY(60px);
	}

}

/* ========== CONTACTのメインビジュアル ========== */

.keyvisual-s3{
	font-size:30px;
	letter-spacing:12px;
	line-height: 100px;
	text-align: center;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif";
	font-weight: bold;
	color: #fff;
	background-image: url("../images/keyvisual-s3.jpg");
	background-repeat:no-repeat;
	height:150px;
	max-width: none;
	margin: 0 auto;
	background-size: cover;
}
@media screen and (max-width: 768px) {
	.fade-in3 {display:none;}
	}	

@media screen and (min-width: 768px) {
.keyvisual-s3{display: none;}
.home-keyvisual3{
	background-image: url("../images/keyvisual3.jpg");
	background-repeat:no-repeat;
	height:250px;
	max-width: none;
	margin: 0 auto;
	background-size: cover;
	}

.fade-in3{ 
	font-size:52px;
	letter-spacing:14px;
	text-align: center;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "serif";
	font-weight: bold;
	color: #fff;
	opacity:0;
	animation-name:movetext3;
	animation-duration:2s;
	animation-fill-mode: forwards;
	}
}

@keyframes movetext3 {
0% {
 opacity: 0;
 transform: translateY(-50px);
}
100% {
 opacity:1;
 transform: translateY(60px);
	}

}

/* ========== フッター ========== */
footer {
	background: #3b579d;
	font-size: 0.9rem;
}
.footer-container {
	padding-top: 40px;
	padding-bottom: 20px;
}

.footer-info{
	display: flex;
	flex-flow: column;
}
.mapbox{
	margin: 0 10px 30px 10px;
	background: #fff;
}

.middle2 {
  padding: 0 10px 10px 10px;
}

/* ========== アクセス ========== */

.contactbox{
	flex-flow: column;
	margin: 0 10px 30px 10px;
	background: #fff;
}

@media screen and (min-width: 768px) {
	.footer-info {
		flex-flow: row;
	}
	.mapbox{
		flex: 1 1 400px;}
	.contactbox{
		flex: 1 1 400px;}
}

/* ========== アクセス ========== */
.fotter-bt {
	display: flex;
	flex-flow: row;
	justify-content:space-around;
	margin-top: 20px;
}
.fotter-bt li {
	flex: 1 1 auto;
	margin: 1rem 1rem;
	list-style-type: none;
	max-width:160px;
}

.fotter-bt img:hover {
  opacity: 0.7;
}

.phone{
	padding-top: 30px;
	font-size: 2em;
	font-weight: bold;
	color: #3b579d;
	}
.phone:before {
    content:  '';                           /* 空白の要素を作る */
    height: 40px;                           /* 高さ指定 */
    width: 40px;                            /* 幅指定 */
    display:  inline-block;                 /* インラインブロックにする */
    background-image:  url(../images/tel-icon.png); /* 背景画像指定 */
    background-size:  contain;              /* 背景画像サイズ指定 */
    background-repeat:  no-repeat;          /* 背景画像リピート指定 */
    background-position:  center;           /* 背景画像位置指定 */
    vertical-align:  middle;                /* 上下中央揃え */
    margin-right:  5px;                    /* 右側に間を */
}

.footer-copyright{
	text-align:center;
	color: #fff;
}

/* ========== 費用一覧　テーブル ========== */

.fees-list {
	width: 90%;
	margin:30px auto;
	border: 1px solid #b3b3b3;
	border-collapse: collapse;
	text-align: left;
  }
.fees-list td, .fees-list th {
  padding: 5px;
  margin: 2px;border: 1px solid #b3b3b3;
  }
.fees-list td{
  background-color: #fff;
  }
.fees-list th.th01 {
  background-color: #3b579d;
	color: #fff;
  }
.fees-list th.th02 {
  background-color: #dde1ed;
  }



/* ========== お問い合わせ ========== */
.form-container {
	padding: 20px;
	margin: 0 auto;
	max-width : 1000px;
	background-color: #fff;
	}

input,
textarea {
	border-radius: 6px;
    -webkit-border-radius: 6px; 
    -moz-border-radius: 6px;
	box-sizing: border-box;
	font-family: sans-serif;
	margin-bottom: 20px;
}
input[type="text"],
input[type="email"] {
	border: 1px solid #3b579d;
	padding: 8px;
	width: 100%;
	font-size: 16px;
}
textarea {
	border: 1px solid #3b579d;
	padding: 8px;
	width: 100%;
	height: 200px;
	font-size: 16px;
}

.form-bt{
	text-align:center;
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
	display: flex;
	-webkit-box-direction: normal;
    -moz-box-direction: normal;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    flex-direction: column;
	}

input[type="submit"] {
	border: 1px solid #3b579d;
	border-radius: 6px;
    -webkit-border-radius: 6px; 
    -moz-border-radius: 6px;
	margin: 10px;
	padding: 12px 48px; 
	font-size: 16px;
	background: #3b579d;
	color: #fff;
}
input[type="submit"]:hover {
	border: 1px solid #b9004a;
	background: #b9004a;
}


input[type="reset"] {
	border: 1px solid #7a8ab7;
	border-radius: 6px;
    -webkit-border-radius: 6px; 
    -moz-border-radius: 6px;
	margin: 10px;
	padding: 12px 48px; 
	font-size: 16px;
	background: #7a8ab7;
	color: #fff;
}

input[type="reset"]:hover {
	border: 1px solid #b9004a;
	background: #b9004a;
}

input[type="button"] {
	border: 1px solid #7a8ab7;
	border-radius: 6px;
    -webkit-border-radius: 6px; 
    -moz-border-radius: 6px;
	margin: 10px;
	padding: 12px 48px; 
	font-size: 16px;
	background: #7a8ab7;
	color: #fff;
}

input[type="button"]:hover {
	border: 1px solid #b9004a;
	background: #b9004a;
}


@media screen and (min-width: 768px){
	.form-bt{
		align-items: center;
		-webkit-box-direction:normal;
		-moz-box-direction:normal;
		-webkit-box-orient:horizontal;
		-moz-box-orient:horizontal;
		-webkit-flex-direction:row;
		-moz-flex-direction:row;
		flex-direction:row;
	}
}



/* ページトップ */

.page-top
{
	display: none ;
	margin: 0 ;
	padding: 0 ;
}
 
.page-top p
{
	margin: 0 ;
	padding: 0 ;

	position: fixed ;
	right: 16px ;
	bottom: 16px ;
}
 
.move-page-top
{
	display: block ;
	background: #3b579d ;
	width: 50px ;
	height: 50px ;
	cursor: pointer ;

	color: #fff ;
	line-height: 50px ;
	text-decoration: none ;
	text-align: center ;

	-webkit-transition:all 0.3s ;
	-moz-transition:all 0.3s ;
	transition:all 0.3s ;
}


@media screen and ( min-width:1130px )
{
	.move-page-top:hover
	{
		opacity: 0.85 ;
	}
}


/* お申込みボタン */
.course-button {
	display: block;
	width: 300px;
	margin: 30px auto;
	padding: 1rem 0;
	background-color: #709a00;
	border-radius: 10px;
	text-align: center;
	text-decoration: none;
	color: #fff;
	font-size: 1.2rem;
}
.course-button:hover {
	background-color: #95cd00;
	color: #fff;
}
