@charset "UTF-8";
@import url("grid.css");

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
	color: #37547C;
}
a:hover { 
    color: #999;
	text-decoration-line: none;
}

/*ヘッダー
-------------------------------------*/
.header {
	display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
}
.header-box {
	margin-left: auto;
	margin-top: 8px;
}
.contact-button {
	padding: 1rem;
	border: 2px solid #000;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 1rem 0 0 0;
}
nav li {
	flex: 1 0 auto;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
}
nav a:hover {
    background-color: #f7f7f7;    
}
nav a {
    padding: 0.5rem;
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.header {
	flex-direction: column;
    margin-bottom: 10px;
}
.header #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}
    
/*メイン画像
-------------------------------------*/
.mainimg {
	text-align:center;
}
.mainimg img {
    /*width: 100vw;*/
}
.mainimg2 {
	position: relative;
}
.mainimg2 p {
  position: absolute;
  font-size:60px;
  font-weight:bold;
  line-height:70px;
  top: 80%;
  left: 50%;
  -ms-transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:10px;
  background-color:#FFF;
}
.mainimg2 img {
  width: 100%;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 0 0;
}
section {
	margin: 5rem 0;
	padding: 3rem 0;
}
.gray-back {
	background-color: #f4f4f4;
}

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
}
.catch h2 {
    padding-bottom: 1rem;
}
.under {
    border-bottom: 0.4rem solid #000;
    padding:0 1rem 1rem 1rem;
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}

/*申し込みの流れ
-------------------------------------*/
.flow.row {
	margin-bottom: 3rem;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #f7f7f7;
    padding: 5rem 0;
}
footer h4 {
    border-bottom: 3px solid #ccc;
}

/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid #ccc;
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #000;
}
.copyright a {
    color: #fff;
    text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #000;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #666;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box {
	display: none;
}
.mainimg img {
	width:100%;
    height: 340px;
    object-fit: cover;
}
.mainimg img {
	width:100%;
}

.mainimg2 p {
	font-size:30px;
	line-height:34px;
  /*-ms-transform: translate(-80%,-20%);
  -webkit-transform: translate(-80%,-20%);
  transform: translate(-80%,-20%);*/
}

/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
}


/*追加CSS
-------------------------------------*/
.pad-t10 { padding-top:10px; }
.pad-b10 { padding-bottom:10px; }
.pad-t20 { padding-top:20px; }
.pad-b20 { padding-bottom:20px; }

.fs120 { font-size:120%; }
.fs150 { font-size:150%; }
.fs200 { font-size:200%; }
.fs300 { font-size:300%; }
.fs400 { font-size:400%; }
.c_red { color:#F00; }
.c_white { color:#FFF; }
.c_navy { color:#37547C; }
.bg_navy { background-color:#37547C; }
.under_dash { border-bottom: dashed 2px white; }
.fl-right {
	float:right;
}

h2.subtitle {
	background-color:#37547C;
	color:#fff;
	font-size:200%;
	margin:0 20px 20px;
	text-align:center;
	padding:10px;
}

.tbox_red {
	background-color:#C00;
	color:#FFF;
	padding:10px 20px;
}
.tbox_inline{
	display:inline-block;
	margin-left:auto;
	margin-right:auto;
	text-align:left;
}
.box_prog {
	text-align:left;
	padding:0 10px 10px 0;
	border-right:#C00 2px solid;
	border-bottom:#C00 2px solid;
	margin-bottom:4%;
}
.box_prog h3{
	background-color:#C00;
	color:#FFF;
	padding:5px 10px;
}
.box_prog .prog-no {
	color:#C00;
	font-size:12px;
	font-weight:bold;
	margin-bottom:0;
}
.box_prog .prog-no span{ font-size:20px; padding-left:5px; }

    .inline-block_test {
        display:  inline-block;     /* インラインブロック要素にする */
        background-color:  #ccc;    /* 背景色指定 */
        width: 250px;               /* 幅指定 */
    }
	
.box_prog .prog-goal-mark {
	display: inline-block;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #C00;
	color:#FFF;
	text-align:center;
	line-height: 46px;
	margin-right:5px;
}
.box_prog .prog-goal-txt {
    display: inline-block;
	width:280px;
	color: #C00;
	font-weight:bold;
	vertical-align:  middle;
}
.triangle1 {
	width: 0;
	height: 0;
	margin: 0 auto;
	border-style: solid;
	border-width: 60px 150px 0 150px;
	border-color: #37547C transparent transparent transparent;
}
@media screen and (max-width: 500px) {
	.fl-right {
		float:none;
		display:block;
	}
	.fs120 { font-size:100%; }
	.fs150 { font-size:110%; }
	.fs200 { font-size:130%; }
	.fs300 { font-size:130%; }
	.fs400 { font-size:180%; }
	.catch { padding-left:20px;padding-right:20px;}
	.smp-sdmg20 {margin-left:20px;margin-right:20px;}
	.tbox_red {padding:5px;}
	.box_prog h3{ font-size:100% !important; }
	.smp_big { font-size:150%;font-weight:bold;}
}

/* スケジュール */
dl.schedule {
  display:flex;
  flex-wrap: wrap;
  width:500px;
}
.schedule dt{
  background: #C00;
  color:#FFF;
  font-weight:bold;
  padding: 5px 10px;
  border-bottom: 1px solid #c00;
  border-radius: 10px 10px 0 0;
  margin-bottom:20px;
}
.schedule dd{
  padding: 5px 20px;
  margin: 0 0 20px;
  border-bottom: 1px solid #c00;
  width:350px;
}
@media screen and (max-width: 500px) {
  dl.schedule{
	width:100%;
  }
  .schedule dt{ margin-bottom:0; }
  .schedule dd{
    padding: 5px 5px;
    width: 100%;
	border-left: 1px solid #c00;

  }
}

/* 募集 */
.boshu1 {
	background:#ddd;
	padding:10px;
	font-weight:bold;
	font-size:150%;
}
.boshu2 {
	padding:10px;
	background:#fff;
}
.button_w {
	display: inline-block;
	padding: 10px 30px;
	color: #333;
	text-align: center;
	font-size: 100%;
	font-weight: bold;
    letter-spacing: .1rem;
	text-transform: none;
	text-decoration: none;
	white-space: nowrap;
	background-color: #FFFF80;
	border: 2px solid #FC0;
	cursor: pointer;
	box-sizing: border-box;
	border-radius: 10px;
}
.button_w:hover,
.button_w:focus {
	color: #C00;
	border-color: #C00;
	outline: 0;
}

/* フォーム */
dl.formdl {
  flex-wrap: wrap;
  width:600px;
}
.formdl dt{
  background: #C00;
  color:#FFF;
  padding: 5px 10px;
  border-radius: 10px 10px 0 0;
}
.formdl dd{
  padding: 8px 20px 5px;
  margin: 0 0 20px;
  border: 1px solid #c00;
  background-color:#FFF;
}
.hissu {
	margin-left:10px;
	background-color:#fff;
	padding:3px 5px;
	color:#039;
}
@media screen and (max-width: 500px) {
  dl.formdl {
	width:100%;
  }
  .formdl dd{
    width: 100%;
  }
}
