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

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: #333;
    text-decoration-line: none;
}
a:hover { 
    color: #000;
}


/* 全体の設定
–––––––––––––––––––––––––––––––––––––––––––––––––– */
html {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    font-size: 62.5%;
}

body {
    color: #fff;
    font-family: 'Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
    background:#fff;
	background-image: url(../img/main_01.jpg);
	background-attachment: fixed;
	background-size: cover;
	background-position: center;

    
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin:0;
	padding:0;
}

/*ヘッダー
-------------------------------------*/
.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 #717171;
}


.btn,
a.btn,
button.btn {
  font-size: 1.5rem;
  line-height: 1.3;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

a.btn-flat {
  overflow: hidden;

  padding: 1.3rem 6rem;

  color: #fff;
  border-radius: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

a.btn-flat span {
  position: relative;
}

a.btn-flat:before {
  position: absolute;
  top: 0;
  left: 0;

  width: 150%;
  height: 500%;

  content: "";
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  -webkit-transform: translateX(-150%) translateY(-25%) rotate(45deg);
  transform: translateX(-150%) translateY(-25%) rotate(45deg);

  background:rgba(15, 119, 200, 0.6);
}

a.btn-flat:hover:before {
  -webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
  transform: translateX(-9%) translateY(-25%) rotate(45deg);
}






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;
	margin: 0 2px;
	
}
nav li a {
    text-decoration: none;
    text-align: center;
    color: #fff;
    width: 100%;

}

    
}
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;
}

nav li a {
    text-decoration: none;
    text-align: center;
    color: #fff;
    width: 100%;
    border: none;
    background: none;
    box-shadow: none;
}

nav a:hover {
    background-color: rgba(15, 119, 200, 0.5);
    border-radius: none;
}


.header li {
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(../img/button_03.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
#close  {
    display: block;
    background: url(../img/button_04.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}

nav li {
	flex: 1 0 auto;
	
}
nav li a {
    text-decoration: none;
    text-align: center;
    color: #fff;
    width: 100%;
    
}
nav a:hover {
    background-color: rgba(15, 119, 200, 0.5);
}
    
}
nav a {
    padding: 0.5rem;
}
}
    
/*メイン画像
-------------------------------------*/
.mainimg img {
    width: 100vw;
}



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

.cr-b {
	background-color: #fff;
}


/* ギザギザ線 */
.zigzag {
  position: relative;
  margin: 0% 0;
  padding: 50px 0 30px;
  background-color: #f6f6f6;
  color: #000;
}

.zigzag::before,
.zigzag::after {
  position: absolute;
  width: 100%;
  height: 60px;
  content: "";
}

.zigzag::before {
  top: -60px;
  background: linear-gradient(45deg, #f6f6f6 30px, transparent 0), linear-gradient(315deg, #f6f6f6 30px, transparent 0);
  background-size: 60px 60px;
}

.zigzag::after {
  bottom: -60px;
  background: linear-gradient(135deg, #f6f6f6 30px, transparent 0), linear-gradient(225deg, #f6f6f6 30px, transparent 0);
  background-size: 60px 60px;
}

.bg{
    height: 100%;
    background-color: rgba(200, 119, 153, 0.4);
    justify-content: center;
	align-items: center;
}


.bg_01{
    height: 100%;
    background: -moz-linear-gradient(rgba(2,10,83,0.2), rgba(255,112,141,0.2));
    background: -webkit-linear-gradient(rgba(2,10,83,0.2), rgba(255,112,141,0.2));
    background: linear-gradient(to right, rgba(2,10,83,0.2), rgba(255,112,141,0.2));
    color: #FFF;
    justify-content: center;
	align-items: center;
	margin: 0 0 10px 0;
	padding: 5px 0 0 0;
}


.bg_02{
    height: 100%;
    background: -moz-linear-gradient(rgba(2,10,83,0.2), rgba(255,112,141,0.2));
    background: -webkit-linear-gradient(rgba(2,10,83,0.2), rgba(255,112,141,0.2));
    background: linear-gradient(to right, rgba(2,10,83,0.2), rgba(255,112,141,0.2));
    justify-content: center;
	align-items: center;
	padding: 30px 20px 20px;
}


.bg-a {
  position: relative;
  margin: 0% 0;
  padding: 50px 0 30px;
  background-color: #f6f6f6;
  color: #000;
  border-top: 3px ridge #ccc;
  border-bottom: 3px ridge #ccc;
}


.box17{
    margin:1em 0;
    position: relative;
    padding: 0.5em 1.5em;
    border-top: solid 2px #9f5e00;
    border-bottom: solid 2px #00ff00;
}
.box17:before, .box17:after{
    content: '';
    position: absolute;
    top: -10px;
    width: 2px;
    height: -webkit-calc(100% + 20px);
    height: calc(100% + 20px);
    background-color: #673d00;
}
.box17:before {left: 10px;}
.box17:after {right: 10px;}
.box17 p {
    margin: 0; 
    padding: 0;
}







/* 見出し
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 300;
  letter-spacing: 0.1em;}
h1 { font-size: 3.2rem; line-height: 1.2;  letter-spacing: -.1rem;}
h2 { font-size: 3.0rem; line-height: 1.25; letter-spacing: -.1rem; }
h3 { font-size: 2.8rem; line-height: 1.3;  letter-spacing: -.1rem; }
h4 { font-size: 2.4rem; line-height: 1.5; letter-spacing: -.08rem;}
h5 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: -.05rem; }
h6 { font-size: 1.5rem; line-height: 1.6;  letter-spacing: 0; }

.w_t {
	font-size: 20px; line-height: 1.35; letter-spacing: 0.25rem;
	position: relative;
	margin: 3rem;
	padding: 0.2rem;
}
.w_t:after {
	font-size: 20px; line-height: 1.35; letter-spacing: 0.25rem;
	content: '';
	position: absolute;
	left: 0;
	bottom: 0px;
	width: 100%;
	height: 7px;
	background: repeating-linear-gradient(-45deg, #e0e0e0, #e0e0e0 2px, #f0f0f0 2px, #f0f0f0 4px);
}



/* PC表示 */
@media (min-width: 550px) {
  h1 { font-size: 3.0rem; }
  h2 { font-size: 2.8rem; }
  h3 { font-size: 2.5rem; }
  h4 { font-size: 2.0rem; }
  h5 { font-size: 1.8rem; }
  h6 { font-size: 1.5rem; }
}

p {
  margin-top: 0; }


.catch {
    text-align: center;
}

.under {
    background:linear-gradient(transparent 85%, rgba(2,10,83,0.4) 15%);
    padding:0 1rem 1rem 1rem;
}

.under_2 {
	color: #fff;
	text-align: center;
	font-size: 24px; line-height: 3.35; letter-spacing: 0.25rem;
	position: relative;
	padding: 0.5rem;
}
.under_2:after {
	font-size: 24px; line-height: 3.35; letter-spacing: 0.25rem;
	content: '';
	position: absolute;
	left: 0;
	bottom: 0px;
	width: 100%;
	height: 7px;
	background: repeating-linear-gradient(-45deg, transparent, transparent 2px, white 2px, white 4px);
}

.under_3 {
	color: #f5f5f5;
    background:linear-gradient(transparent 90%, #fff 10%);
    padding:0 1rem 1rem 1rem;
}


/*文字装飾
-------------------------------------*/
.sh {
	text-shadow:1px 1px 0 #fff, -1px -1px 0 #fff,
              -1px 1px 0 #fff, 1px -1px 0 #fff,
              0px 1px 0 #fff,  0-1px 0 #fff,
              -1px 0 0 #fff, 1px 0 0 #fff;
}

.sh2 {
	color: #000;
	text-shadow:1px 1px 0 #fff, -1px -1px 0 #fff,
              -1px 1px 0 #fff, 1px -1px 0 #fff,
              0px 1px 0 #fff,  0-1px 0 #fff,
              -1px 0 0 #fff, 1px 0 0 #fff;
}

.center {
	text-align: center;
	margin-bottom: 4rem;
}


.wh_text_l {
	text-align: right;
	font-size: 20px;
	color: #fff;
	padding: 6px 0 6px 0;
	line-height: 24px;
	width: 92%;
}


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

/*フッター
-------------------------------------*/
footer {
    background: #159957; 
    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;
    
}
.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 (min-width: 480px){
.br-sp {display: none; }
}


@media screen and (max-width: 480px){
.bg_sp {
	display:block;
	position: fixed;
	top:0;
	left:0;
	z-index:-1;
	width:100%;
	height:100vh;
	background-repeat:no-repeat;
	background-image: url(../img/main_01.jpg);
	background-size: cover;
	background-position: 50% 100%;
	}

body {
    color: #fff;
    font-family: 'Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin:0;
	padding:0;
	}
}




@media screen and (max-width: 768px){

.under_2 {
	color: #fff;
	text-align: center;
	font-size: 16px; line-height: 3.35; letter-spacing: 0.25rem;
	position: relative;
	padding: 0.5rem;
}
.under_2:after {
	font-size: 16px; line-height: 3.35; letter-spacing: 0.25rem;
	content: '';
	position: absolute;
	left: 0;
	bottom: 0px;
	width: 100%;
	height: 5px;
	background: repeating-linear-gradient(-45deg, transparent, transparent 2px, white 2px, white 4px);
}


#exam1 table {
	border-collapse: collapse;
	margin:auto }
	
th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #E1E1E1; }
th:first-child,
td:first-child {
  padding-left: 0; }
th:last-child,
td:last-child {
  padding-right: 0; }
	
	
#exam2 table {
	border-collapse: collapse;
	background: -moz-linear-gradient(rgba(2,10,83,0.2), rgba(255,112,141,0.2));
    background: -webkit-linear-gradient(rgba(2,10,83,0.2), rgba(255,112,141,0.2));
    background: linear-gradient(to right, rgba(2,10,83,0.2), rgba(255,112,141,0.2));
	margin:auto }
	

#exam2 th,
#exam2 td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #E1E1E1; }
#exam2 th:first-child,
#exam2 td:first-child {
  padding-left: 2; }
#exam2 th:last-child,
#exam2 td:last-child {
  padding-right: 2; }

#exam2 th{
	white-space: nowrap;
}


input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px;
  background-color: #fff;
  border: 1px solid #D1D1D1;
  box-shadow: none;
  box-sizing: border-box;
  color:#000;
  font-size: 16px;}

input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; }
textarea {
  min-height: 150px;
  padding-top: 6px;
  padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #0FA0CE;
  outline: 0; }
label,
legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 500; }
fieldset {
  padding: 0;
  border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
  display: inline; }
label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal; }

input::placeholder,
textarea::placeholder {
	color: #89abd4;
}

/* Edge */
input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
	color: #89abd4;
}

/* IE11 & IE10 */
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
	color: #89abd4;
}

.full-width {
  width: 100%;
  box-sizing: border-box; }
.max-full-width {
  max-width: 100%;
  box-sizing: border-box; }
.pull-right {
  float: right; }
.pull-left {
  float: left; }

.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height: 38px;
  padding: 0 30px;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 38px;
  letter-spacing: .1rem;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 1px solid #bbb;
  cursor: pointer;
  box-sizing: border-box; }
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #e0e0e0;
  background-color: rgba(15, 119, 153, 0.4);
  border-color: #888;
  outline: 0; }

.contact-box {
	border: 1px solid #ccc;
	align: center;
	padding: 2rem 0;

}

.row .col.offset-4 {
    margin: auto;
    max-width: 50%;
}

.row .col.offset-8 {
    margin: auto;
    max-width: auto;
}






}

/*ヘッダー
-------------------------------------*/
.header-box {
	display: none;
}	
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
}