@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;
}

#container2 {
    margin: 0 auto;
    text-align: center;
    max-width: 860px;
    position: relative;
}

/*ヘッダー
-------------------------------------*/
.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;    
}
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,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}
    
/*メイン画像
-------------------------------------*/
.mainimg img {
    width: 100vw;
}

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

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
}
.catch h2 {
    padding-bottom: 1rem;
}

.center {
	text-align: center;
	margin-bottom: 4rem;
}

/*下線
-------------------------------------*/
.under {
    border-bottom: 0.4rem solid #000;
}

.under2 {
    border-bottom: 0.2rem solid #ccc;
}

.under3 {
    border-bottom: 0.1rem solid #ccc;
}



/*フッター 個人　概要　特商法
-------------------------------------*/
footer {
    background-color: #f7f7f7;
    padding: 2rem 0;
    text-align: center;

}

/*コピーライト
-------------------------------------*/
.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: #ff6464;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
  }
  #pagetop a:hover {
    background: #666;
  }
  

  
  /* 個人情報保護方針
  -------------------------------------*/
  .policy {
    text-align: center;
      width: 80%;
    margin: auto;
  }
  .policy h2 {
    padding-bottom: 1rem;
      text-align: center;
  }
  .policy p {
      text-align: left;
      text-align:justify;
  
  }
  
  /* 特商法・会社概要　テーブル
  -------------------------------------*/
  
  table{
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  width: 80%;
  border: solid 1px #ccc;
  }
  th {
    background: #ddd;
    border: solid 1px #ccc;
    text-align: center;
    width: 20%;
    margin: auto;
    }
  td {
     border: solid 1px #ccc;
     text-align: left;
     width: 60%;
     margin: auto;
     }


  /* 幅768px以下の表示
  -------------------------------------*/
  @media screen and (max-width: 768px){
  
  /*ヘッダー
  -------------------------------------*/
  .header-box {
      display: none;
  }
