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

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #000;
    --link-color: #666;
    --linkhover-color: #999;
    --back-color: #f7f7f7;
    --border-color: #ccc;
    --white-color: #fff;
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}

/*ヘッダー
-------------------------------------*/
.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 var(--base-color);
}
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: var(--back-color);   
}
nav a {
    padding: 0.5rem;
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}
.logo {
  max-width:80%;
}
/*メイン画像
-------------------------------------*/
.mainimg img {
  width: 60vw;
  display: block;
  margin: auto;
}

@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;
  display: block;
  margin: auto;
}
}
    


/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 0 0;
}
section {
	margin: 5rem 0;
	padding: 3rem 0;
  background-color: rgb(109, 196, 200);
}
.moji{
  color: #fff;
}
.gaiyou{
  font-size: small;
}
.gray-back {
	background-color: var(--back-color);
}

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
}
.catch h2 {
    padding-bottom: 1rem;
}
.under {
    border-bottom: 0.4rem solid #ffffff;
    padding:0 1rem 1rem 1rem;
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}

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

/*フッター
-------------------------------------*/
footer {
    background-color: var(--back-color); 
    padding: 5rem 0;
}
footer h4 {
    border-bottom: 3px solid var(--border-color);
}

/*お問い合わせ
-------------------------------------*/
.contact-box {
	/*border: 1px solid var(--border-color);*/
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--base-color);
}
.copyright a {
    color: var(--white-color);
    text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background-color: var(--base-color);
    color: var(--white-color);
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background-color: var(--link-color);
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box {
	display: none;
}	
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
}

/* ========================================================
contact
=========================================================*/
/*
.contact {
  background: url(../images/bg-casino.jpg) no-repeat center center/cover;
  padding: 53px 0;
}

.contact__box {
  background: #f4f4f4;
  padding: 38px 150px;
  width: 600px;
  margin-left: auto;
    margin-right: auto;
  
}
@media (max-width: 767px) {
  .contact__box {
    padding: 38px 5%;
  }
}

.contact__title {
  width: 350px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .contact__title {
    width: 320px;
    max-width: 90%;
  }
}

.contact__sub-title {
  font-size: 1.5rem;
  line-height: 1.3333333333;
  font-weight: 800;
  text-align: center;
}

.contact__list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
  
}
.contact__list dt:nth-of-type(n + 2), .contact__list dd:nth-of-type(n + 2) {
  margin-top: 10px;
}
.contact__list dt {
  width: 180px;
  font-size: 1.6rem;
  line-height: 1.6875;
}
.contact__list dt span {
  display: inline-block;
  font-size: 1rem;
  color: #fff;
  padding: 0.5em;
  background: rgb(109, 196, 200);
  border-radius: 5px;
  margin-right: 10px;
}
.contact__list dd {
  width: calc(100% - 180px);
}
.contact__list dd input[type=text],
.contact__list dd input[type=mail],
.contact__list dd input[type=tel] {
  width: 100%;
  border: none;
  background: #d3d3d3;
  border-radius: 10px;
  font-size: 1.6rem;
  padding: 0.5em;
}
.contact__list .optional {
  padding-left: 40px;
}
.contact__list .contact__textarea {
  width: 100%;
}
.contact__list .contact__textarea textarea {
  width: 100%;
  border: none;
  background: #d3d3d3;
  border-radius: 10px;
  font-size: 1.6rem;
  padding: 0.5em;
}
@media (max-width: 767px) {
  .contact__list dt {
    font-size: 1.3rem;
    width: 140px;
    display: flex;
    align-items: center;
  }
  .contact__list dd {
    width: calc(100% - 140px);
  }
}

.contact__radio {
  display: flex;
}
.contact__radio label {
  font-size: 1.6rem;
}
.contact__radio label:nth-child(2) {
  margin-left: 13px;
}

.contact__submit {
  text-align: center;
  margin-top: 30px;
}

.contact__submit-btn {
  display: inline-block;
  width: 300px;
  max-width: 100%;
  margin: 0 auto;
  background: rgb(109, 196, 200);
  border-radius: 20px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact__submit-btn img {
  width: 20%;
}

.contact__submit input {
  font-size: 2.7rem;
  line-height: 1.7777777778;
  color: #fff;
  font-weight: 800;
  border: none;
  background: rgb(109, 196, 200);
}

dd.ans { font-size: 16px; }*/