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

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

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

/* 見出し
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 300;
  letter-spacing: 0.1em;}
h1 { font-size: 3.2rem; line-height: 1.2;  letter-spacing: -.1rem;}
h2 { font-size: 2.8rem; line-height: 2.0; letter-spacing: -.1rem; color: var(--base-color); }
h3 { font-size: 2.5rem; line-height: 1.3;  letter-spacing: -.1rem; color: var(--base-color); }
h4 { font-size: 2.2rem; line-height: 1.35; letter-spacing: -.08rem; }
h5 { font-size: 1.8rem; line-height: 1.5;  letter-spacing: -.05rem; }
h6 { font-size: 1.3rem; line-height: 1.6;  letter-spacing: 0; }

/* PC表示 */
@media (min-width: 550px) {
  h1 { font-size: 3.0rem; }
  h2 { font-size: 2.8rem; color: var(--base-color); }
  h3 { font-size: 2.5rem; color: var(--base-color); }
  h4 { font-size: 2.0rem; }
  h5 { font-size: 1.8rem; }
  h6 { font-size: 1.3rem; }
}

p {
  margin: 0rem 0 1rem 0; }

/*ヘッダー
-------------------------------------*/
.header {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
}
.header-box {
	margin-left: auto;
	margin-top: 5px;
}

.info {
	display: inline-block;
	margin-left: auto;
	font-size: 1.5rem;
	padding: 1rem 0 0 0;
}

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

/* PCでは非表示領域の設定 */
.pc-area{
  display:block;
}
.sp-area{
  display:none;
}
}

@media screen and (max-width:767.98px){
.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;
}

/* スマホでは非表示領域の設定 */
.pc-area{
    display:none;
  }
.sp-area{
    display:block;
  }
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 0 0 0 0;
}
section {
	margin: 1rem 0;
	padding: 3rem 0 1rem 0;
}
.gray-back {
	background-color: var(--back-color);
}

/*キャッチコピー
-------------------------------------*/
.under {
    border-bottom: 0.4rem solid var(--blue-color);
    padding:0.5rem 1rem 0.5rem 1rem;
}
.center {
	text-align: center;
	margin-bottom: 3.5rem;
}


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


/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--base-color);
    color: var(--white-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:767.98px){
	
/*ヘッダー
-------------------------------------*/
.header-box {
	display: none;
}	
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
}


/* 罫線
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  border-width: 0;
  border-top: 1px solid var(--base-color); 
}

.hr-yellow {
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-width: 0;
  border-top: 1px solid ; color:#ac977a; 
}

/* 問い合わせボタン
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.relative {
  position: relative;
}
.pc-btn {
  position: absolute;
  left: 60px;
  bottom: 70px;
}
