@charset "UTF-8";
@import url("grid.css");

img {
	max-width:100%;
	height: auto;/*高さ自動*/
	margin: 1rem 0 0 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 #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;
	font-weight: 900;
}
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 {
    display: block;
    background: url(../img/button.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/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}
    
/*メイン画像
-------------------------------------*/
.mainimg img {
    width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
main {
	margin: 1rem 0 0 0;
	text-align: center;
}
section {
	margin: 2rem 0;
	padding: 2rem 0;
}
.gray-back {
	background-color: #f0fff0;
}

.chumidashi {
	background: #20b2aa;
	box-shadow: 0px 0px 0px 5px #20b2aa;
	border: solid 1px white;
	padding: 0.5em 0.5em;
	text-align: center;
	font-weight:bold;
	color: #fff;
	margin-bottom: 20px
}

.chusyaku {
	text-align: center;
	margin: 10px
}


.nowrap {
white-space: nowrap;
}


.box01 {
	margin: 10px;
	padding: 10px;
	border: 0px;
	width: 100%;
	margin: 0 auto;
	font-weight: bold;
	text-align: left;
	color: #666666
}

.box02 {
	margin: 10px;
	padding: 10px;
	border: 0px;
	width: 100%;
	margin: 0 auto;
}

.box03 {
	margin: 10px;
	padding: 10px;
	border: 0px;
	width: 100%;
	margin: 0 auto;
	font-weight:bold;
	text-align: center;
	color: #666666
}

.box04 {
	margin: 10px;
	padding: 10px;
	border: 0px;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}

.linkop {
    display:block;
    color: #fff;
	font-weight: bold;
    text-decoration-line: none;
	background: #20b2aa;
	border: 1px solid;
	border-color: #fff;
}
.linkop:hover { 
    color: #5f9ea0;
	background: #5f9ea0;
	color: #fff
}

/*リンクボタン
-------------------------------------*/
.button005 a {
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 5px;
    max-width: 220px;
    padding: 5px 10px;
    color: #FFF;
    transition: 0.3s ease-in-out;
    font-weight: 600;
    background: #daa520;
 	text-decoration: none;
}
.button005 a:hover {
    background: #b8860b;
}

/*キャッチコピー
-------------------------------------*/
.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: 0rem;
}

/*申し込みの流れ
-------------------------------------*/
.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;
	color: #fff;
    padding: 1rem 0;
    background-color: #000;
	font-size: small
}
.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;
}
}

/* 画面サイズの横幅が 768px より小さい場合に適用 */
@media screen and (max-width: 768px) {
  .tama {
    text-align: left;
  }
}

@media screen and (max-width: 768px) {
  .tamah1 {
    text-align: left;
	font-size: 2.6rem;
  }
}

@media screen and (max-width: 768px) {
  .tamah2 {
    text-align: left;
	font-size: 2.2rem;
  }
}

/* 画面サイズの横幅が 768px より小さい場合に適用 */
@media screen and (max-width: 768px) {
  .tamaimg {
    text-align: left;
	width: 200px
  }
}