@charset "UTF-8";
@import url("grid.css");

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: #666;
    text-decoration-line: none;
}
a:hover { 
    opacity: 0.5 ;
}

.align-left{text-align: left;}
.align-right{text-align: right;}



/*ヘッダー
-------------------------------------*/

header{
	width: 100%;
  height: 0;
  padding-top: calc(1310 / 1920 * 100%); /* calc(画像高さ ÷ 画像横幅 × 100%) */
  background: url("../images/main.jpg") center center / cover no-repeat;
  position: relative;	
  z-index: 0;	
}

header .headerInner {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    position: absolute;
    bottom: 10rem;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

.head-container {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 2.0rem;
   }

.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;
	border-left: 1px solid #fff;
  border-right: 1px solid #fff;
}

nav li+ li {
  border-left: 0;
  border-right: 1px solid #fff;
}

nav li a {
    text-decoration: none;
    text-align: center;
    width: 250px;
	color: #fff;
	font-weight: bold;
	font-size:2rem;
}
nav a:hover {
    background-color: #f7f7f7;    
}
nav a {
    padding: 0.5rem;
}

@media screen and (min-width: 1201px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 1200px){
	
.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 {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 80px;
    height: 80px;
    border: none;
    position: absolute;
    top: 3px;
    right: 3px;
}
#close  {
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 80px;
    height: 80px;
    border: none;
    position: absolute;
    top: 3px;
    right: 3px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
	
.sp-nav{
	z-index: 9999;
    position: absolute;
    width: 100%;
    top: 0;
	background-color: rgba(255, 255, 255, 0.8);
}
	
	
.sp-nav li a {
    text-decoration: none;
    text-align: left;
    color: #000;
    padding-left: 3rem;
}

.sp-nav ul {
    display: block;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
    margin: 3rem 0 0 0;
}	

	
}
    
/*メイン画像
-------------------------------------*/
.main-area{
	position: relative;
	padding-top: 25%;
}

.mainimg{
	position: absolute;
	top: -5rem;
}


.mainimg img {
	width: 100vw;
	
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 0;
}
section {
    margin: 0rem 0;
    padding: 6rem 0 12rem;
}
.gray-back {
	background-color: #f5f5f5;
}

.items{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.item{
  width: 27%;
  }

.items p{font-size:2rem;}

.entry-box{
	background-color: #fff;
	padding: 6rem;
}

p.indent-1 {
padding-left:1em;
text-indent:-1em;
font-size: 1.8rem;	
}

.entry-bt{
	text-align: center;
	margin: 6rem auto 0;
	}

.detail-bt{
	text-align: right;
	margin: 2rem auto 0;
	}	

/*キャッチコピー
-------------------------------------*/
.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;
	}

/*申し込みの流れ
-------------------------------------*/
.flow.row {
	margin-bottom: 3rem;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #8cb9b9;
    padding: 5rem 0;
}
footer h4 {
    border-bottom: 3px solid #ccc;
}

.foot-area{
	margin:0 7rem; 
}

/*お問い合わせ
-------------------------------------*/
.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: #8cb9b9;
	color: #000;
	font-size: 1.8rem;
}
.copyright a {
    color: #000;
    text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 0px;
    right: 0px;
}
#pagetop a {
    display: block;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #666;
}

/* 幅1200px以下の表示
-------------------------------------*/
@media screen and (max-width: 1200px){
	
.main-area {
    position: relative;
    padding-top: 20%;
}	
	
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box {
	display: none;
}
	
	
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
	
.foot-area{
	margin:0 2rem; 
}	
	
}

/* 幅560px以下の表示
-------------------------------------*/
@media screen and (max-width: 560px){
header {
    width: 100%;
    height: 0;
    padding-top: calc(636 / 374 * 100%);
    background: url(../images/main-sp.jpg) center center / cover no-repeat;
    position: relative;
    z-index: 0;
}
	
.main-area {
    position: relative;
    padding-top: 117%;
}	
	
section {
    margin: 0rem 0;
    padding: 3rem 0 3rem;
}	
	

.item{
  width: 48%;
  }	
	
.items p{font-size:1.2rem;}	
	
.entry-box {
    background-color: #fff;
    padding: 2rem;
}	
	
p.indent-1 {
font-size: 0.9rem;	
}	
	
.entry-bt {
    text-align: center;
    margin: 4rem auto;
    width: 80%;
}
	
.detail-bt{
	text-align: center;
    margin: 2rem auto;
    width: 80%;
	}	
	
.copyright {
    font-size: 1.2rem;
}	

	
}