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

:root {
    --base-color: #000000;
    --link-color: #e5b524;
    --linkhover-color: #f6d15f;
    --back-color: #ffeed7;
    --border-color: #ffd8a3;
    --white-color: #fff;
    --nav-color: rgb(229,148,36,0.7);
}
body {
    background: var(--white-color); 
    color: var(--base-color);
}
img {
	max-width:100%;
	height: auto;
}
a {
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}
section {
    padding: 3rem 0;
}
/*ヘッダー

@media screen and (min-width: 769px){
#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: 12px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}
    
/* サイトタイトル
-------------------------------------*/
.head {
    background: url("../img/01.jpg");
    background-repeat: no-repeat;   
    background-position: center center;
    height: 100vh;
}
.head h1 {
    height: 600px;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    text-shadow: 1px 2px 3px var(--base-color); 
    margin: 30;
}
.navblock {
    background: var(--nav-color);
}
.button {
    border-radius: 50px;
    height: 80px;
    line-height: 78px;
    color: var(--white-color);
}
.button:hover {
    border: 1px solid var(--linkhover-color);
    color: var(--linkhover-color);
}
/*お問い合わせ
-------------------------------------*/
.button,input[type="submit"] {
    color: var(--white-color);
    background-color: var(--link-color);
    border: 1px solid var(--link-color);
    margin: 1rem;
}
.button:hover,input[type="submit"]:hover {
    color: var(--white-color);
    background-color: var(--linkhover-color);
    border: 1px solid var(--linkhover-color);
}
/*フッター
-------------------------------------*/
footer {
    background-color: var(--white-color); 
    background: url('../img/footerback.png');/* 背景画像 */
    background-size: center;
}
/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
h1 {
    font-size: 2rem;
}
h1::before, h1::after {
    width:30px;
}
/* サイトタイトル
-------------------------------------*/
.head {
    height: 100%;
}
.head h1 {
    height: 500px;
}