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

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

/*ヘッダー
-------------------------------------*/
header {
    background:#4a84c4;
}
.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;
}
dl dt{font-weight:bold;}

.bg_yellow{background:#ffecca;padding:5%;}
.bg_yellow h3{font-size:30px;font-weight:bold;}

section.gray-back{margin-bottom:0;}
section.kinou{background:#fff0c4;}
section.kinou .row .col.span-6{background:#fff;padding:1%;border-radius: 10px;}
section.kinou .row .col.span-6 h3{margin-top:5px;font-weight:bold;color:#4a84c4;}

@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 img {
    width: 100vw;
}

.mainimg {
position:relative;
}

.mainimg .btn_top{
position:absolute;
bottom:20px;
left: -0.4vw;
display: block;
text-align: center;
width:604px;}
.mainimg .btn_top img{width:100%}

@media screen and (max-width: 1199px){
.mainimg .btn_top{
max-width:49vw;
}
}


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

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
}
h2 {
    padding-bottom: 1rem;
    font-size:60px;
    color:#000;
    font-weight:bold;
}
.under {
    padding:0 1rem 1rem 1rem;
    font-size:30px;
    display:block;
    color:#2121c6;
}
.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;
	border-radius: 20px;
	background:#fff;
}
.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;
}

.pointbox{
border:2px solid #4a84c4;
border-radius:20px;
}
.pointbox h3{
background:#4a84c4;
border-radius:18px 18px 0 0;
padding:10px;
text-align:center;
color:#fff;
}
.pointbox h3 span{
font-size:40px;
display:block;
font-weight:bold;
}
.pointbox p{margin:30px 20px;font-size:20px;}













/*まずはお決まりのボックスサイズ算出をborer-boxに */
*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;/*rem算出をしやすくするために*/
}

.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  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;
}
.btn_area{margin-top:100px;}
a.btn--orange,
a.btn--blue {width:100%;}

a.btn--orange {
  color: #fff;
  background-color: #eb6100;
}

a.btn--orange:hover,
a.btn--blue:hover {
opacity:0.6;
}
a.btn--blue {
 color:#fff;
 background:#2121c6;
 }

a.btn-c {
  font-size: 2rem;
  position: relative;
  padding: 1.5rem 3rem 1.5rem 2rem;
}

a.btn-c i.fa {
  margin-right: 1rem;
}

a.btn-c:before {
  font-size: 1.6rem;
  line-height: 1;
  position: absolute;
  top: calc(50% - .8rem);
  right: 1rem;
  margin: 0;
  padding: 0;
  content: '▼';
}
.note{text-align:center;margin-bottom:50px;}



@media (min-width: 769px) {
a[href*="tel:"] {
pointer-events: none;
cursor: default;
text-decoration: none;
}
}

.sp{display:none;}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){

.sp{display:block;}
.pc{display:none;}

.note{font-size:14px;text-align:center;margin:10px;}

h2{font-size:20px;margin-bottom:10px !important;}
.under{font-size:16px;}
.pointbox{height:auto !important;}
.pointbox h3 span,
.pointbox h3{font-size:16px;}
.pointbox p{font-size:14px;margin:15px 5px;}
.pointbox {margin-bottom:20px;}
.btn_area{padding:5%;margin-top:0;}
.btn_area .center{margin-bottom:20px;}
section{padding:3rem 0;}
.contact-box{padding:0;margin-bottom:10px;}
section.kinou .row .col.span-6 h3{font-size:18px;}
section.kinou .row .col.span-6{padding:5%;margin-bottom:20px;}
section.kinou .row .col.span-6 p{font-size:14px;}
.flow.row{margin-bottom:0;}
.bg_yellow img{width:30%;display:block;margin:0 auto;}
.bg_yellow h3{font-size:18px;margin-bottom:10px;margin-top:10px;}
.mainimg .btn_top img{width:90vw;margin:0 auto;}
.mainimg .btn_top{position: static;width:100%;max-width:100%;}
.mainimg{padding-bottom:30px;}



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