@charset "UTF-8";

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: #666;
    text-decoration-line: none;
}
a:hover { 
    color: #999;
}

/*ヘッダー
-------------------------------------*/
.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;
}

@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: 4rem 0 0 0;
    text-align: center;
}
section {
	margin: 4rem 0;
	padding: 3rem 0;
}
p.copy01 {
    font-size: 1.4em;
}
p.copy02 {
    background: url(../images/bg_copy.gif) no-repeat top center;
    margin-top: 40px;
    padding-top: 50px;
}
/*フッター
-------------------------------------*/
footer {
    background-color: #ccc;
    padding: 5rem 0;
    text-align: center;
}


/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #000;
}
.copyright a {
    color: #fff;
    text-decoration: none;
	display: inline;
}
/* 幅768px以上の表示
-------------------------------------*/
@media screen and (min-width: 768px){

.u-show-on-sp {
    display: none;
}
}
/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
.trim img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
    
p.copy01 {
    font-size: 1.0em;
}
p.copy02 {
    background: url(../images/bg_copy.gif) no-repeat top center;
    margin-top: 30px;
    padding-top: 50px;
}
    .u-show-on-sp {
        display:block;
    }
}