@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 {
	display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
}
.header-box {
	margin-left: auto;
	margin-top: 8px;
}
.header-box a {
	font-size: 25px;
	width: auto;
	font-weight: bold;
	letter-spacing: 1px;
	font-family: "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "游明朝", YuMincho, "Sawarabi Mincho", "HG明朝E",  "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

.header-box a strong {
	font-size: 130%;
}

.header-box a i,
.header-box a i {
	padding-left: 5px;
	padding-right: 5px;
}

.contact-button {
	padding: 1rem;
	border: 2px solid #000;
}
@media (min-width: 767px) {
.site-header {
	background: #fff;
	position: fixed;
	width: 100%;
	z-index: 10000;
}
}
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: 767px){
.header {
	flex-direction: column;
    margin-bottom: 10px;
}
.header #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
}
.header-box {
	margin: 0 auto;
}

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: 100%;
}
@media screen and (min-width: 768px){
.mainimg img {
	padding-top: 150px;
}
}
/*メインコンテンツ
-------------------------------------*/
main {
    margin: 4rem 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.3rem solid #000;
    padding:0 1rem 1rem 1rem;
}
.stripe{ 
  position: relative;
  padding: 0.3em;
}
.stripe:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 7px;
  background: repeating-linear-gradient(-45deg, skyblue, skyblue 2px, white 2px, white 4px);
}
@media (min-width: 600px) {
.look {
	font-size: 1.5em;
	letter-spacing: 2px;
}
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}

/*料金表
-------------------------------------*/

table {
  margin: 20px auto;
	width: 60%;
}
.tbl-r02 th {
  background: #4bcfcf;
  border: solid 1px #ccc;
  color: #fff;
  padding: 10px;
	width: 40%;
	font-weight: normal;
}
.tbl-r02 td {
　border: solid 1px #ccc;
  padding: 10px;
  background: #fff;
}
caption {
	font-size: 0.9em;
	caption-side: bottom; /* 下 */
	text-align: right; /* 左 */
	margin-top: 5px;
}
.textR {
	text-align: right;
}
.textL {
	text-align: left;
}
.small {
	font-size: 0.8em;
}
@media screen and (min-width: 768px) {

.pr5e{
	padding-right: 6em!important;
}
}
@media screen and (max-width: 640px) {
table {
	width: 100%;
  margin: 5px auto;
}
.tbl-r02 th {
	font-size: 0.8em;
  padding: 5px;
	width: 35%;
}
.tbl-r02 td {
  padding: 5px;
}
}
@media screen and (min-width: 480px){   
  .pc { display:block; }
  .sp { display:none; }
}
@media screen and (max-width: 480px){   
  .pc { display:none; }
  .sp { display:block; }
}

h3 {
	margin: 30px 80px 20px!important;
position: relative;
  padding: 1rem .5rem;
	text-align: left;
	font-size: 1.2em;
}
h3:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  content: '';
  border-radius: 3px;
  background-image: -webkit-gradient(linear, right top, left top, from(#2af598), to(#009efd));
  background-image: -webkit-linear-gradient(right, #2af598 0%, #009efd 100%);
  background-image: linear-gradient(to left, #2af598 0%, #009efd 100%);
}


/*申し込みの流れ
-------------------------------------*/
.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;
}*/	
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
}