@charset "UTF-8";
@import url("grid.css");

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #652F00;
    --link-color: #666;
    --linkhover-color: #FF9E59; ;
    --back-color: #FDF7DD;
    --border-color: #ccc;
    --white-color: #fff;
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: var(--base-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}
a img {
    margin-bottom: 1rem;
}
a img:hover {
	opacity: 0.8;
}
.yellowback {
	background-color: var(--back-color);
	color: var(--base-color);
	padding: 1rem;
}
.underline {
	border-bottom: 3px solid var(--back-color);
	padding-bottom: 0.5rem;
}
.center {
	text-align: center;
}

/*ヘッダー
-------------------------------------*/
.head {
	display: flex;
    flex-direction: row;
    height: 85px;
}
.head a img{
    max-width: 300px;
/*    max-height: 38px;*/
/*    height: min(60 / 786 * 100vw, 60px);*/
    margin: 2rem 3rem;
    vertical-align: bottom;
	@media screen and (max-width: 768px) {
		max-width: 250px;
	}
	@media screen and (max-width: 374px) {
		max-width: 225px;
	}
}

.head h1 { 
    padding: 1rem 0;
}
.telbox {
    position: relative;
	margin-left: auto;
	/* padding: 2.5rem; */
    font-size: 20px;
    text-align: center;
    background-color: var(--base-color);
    color: var(--white-color);
}
.telbox a{
    color: var(--white-color);
    padding: 25px;
}
.telbox span{
    top: 27%;
    position: relative;
}
.telbox span::before {
    content: "";
    display: inline-block;
    background: url(../img/mail.svg) no-repeat;
    background-size: contain;
    width: 30px;
    height: 25px;
    top: 50%;
    transform: translateY(30%);
    left: 0;
    margin-right: 1rem;
}
.menu-inner {
	background-color: var(--back-color);
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 0;
}
nav li {
    flex: 1 0 auto;
	margin-bottom: 0;
}
nav li a {
    text-decoration: none;
    text-align: center;
	color: var(--base-color);
}
nav li + li {
    border-left: 1px solid var(--base-color);
}

nav a {
    padding: 1rem;
	display: block;
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}
#navi {
    display: block !important;
    padding: 1rem 0;
}
#navi .telbox{
    display: none;
}
.menu-inner nav a:hover {
    background-color: var(--base-color);   
	color: var(--white-color);
}
}
/* 768px以下の時 */
@media screen and (max-width: 768px){
.menu{
    position: fixed;
    top: 0;
    background-color: var(--white-color);
    z-index: 9999;
}
.head {
	flex-direction: column;
    text-align: left;
    height: 70px;
}
.head a img{
    margin: 2rem;
}
.head .telbox {
	display: none;
}
#navi .telbox{
    display: block;
    margin: 40px auto;
    /* padding: 2rem; */
    font-size: 20px;
    border-radius: 10px;
    text-align: center;
}

.head #open,#close  {
    position: absolute;
    top: 20px;
    right: 15px;
    }
.menu-inner {
    position: fixed;
    width: 100%;
    top: 69px;
    z-index: 9000;
}    
.mainimg{
    margin-top: 70px;
}
nav ul {
	flex-direction: column;
}
nav li {
	padding: 3rem 0 5px;
	border-bottom: 1px solid var(--base-color);
	margin-bottom: 0;
}
nav li + li {
    border-left: none ;
}
nav li a{
    position: relative;
    text-align: left;
    font-size: 17px;
    padding: 0;
    letter-spacing: .2rem;
}
nav li a::before{
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    position: absolute;
    right: 10px;
    top: calc(50% - 1px);
    border-top: solid 1px;
    border-right: solid 1px;
    transform: rotate(45deg) translateY(-50%);
    color: var(--back-color);
    z-index: 50;
}
nav li a::after{
    position: absolute;
    display: inline-block;
    content: "";
    background-color: var(--base-color);
    height: 1.5rem;
    width: 1.5rem;
    border-radius: 50%;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
}

/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(../img/open.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/close.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}
  
/*メイン画像
-------------------------------------*/
.mainimg{
    background-image: url(../img/top_bg.png);
    background-size: cover;
    background-position: bottom right;
    position: relative;
    height: 700px;
}
.mainimg__inner{
    top: 35%;
    transform: translateY(-50%);
}
.mainimg__inner--mainimg-inner{
    margin-bottom: 50px;
    transform: translateX(-20px);
}
@media screen and (max-width: 768px){
    .mainimg{
        background-position-x: 69%;
    }
    .mainimg__inner{
        top: 29%;
    }
    .mainimg__inner--mainimg-inner{
        margin-bottom: 0px;
    }
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 7rem 0;
}
main .menu-item{
    text-align: center;
}

/* 768px以下の時 */
@media screen and (max-width: 768px){
main article{
    margin-top: 100px;
}}

/*新着情報
-------------------------------------*/
.news h2 {
    background-color: var(--back-color);
	color: var(--white-color);
	padding: 1rem;
}
.news li {
    list-style-type: none;
	border-bottom: 1px solid var(--border-color);
	padding: 0.5rem 0;
}

/*フッター
-------------------------------------*/
footer {
    background-color: var(--back-color);
    padding: 5rem 0;
	color: var(--base-color);
}
footer h5 {
    border-bottom: 2px solid var(--base-color);
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--base-color);
    color: var(--white-color);
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: var(--back-color);
    color: var(--white-color);
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: var(--back-color);
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: var(--link-color);
}