@charset "utf-8";
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
 
.clearfix::after{
    content: "";
	display: block;
	clear: both;
}

.cf {
    zoom:1;
}

body{
    background-color: #e3dfd8b8;
}

/* =====ボタン内側===== */
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 7px;
    height: 1px;
    border-radius: 2px;
	background: #333;
  	width: 70%;
}

/* =====コンテンツ===== */
.contact-table {
    width: 100%;
    padding: 50px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #bbb;
    border-top: 1px solid #bbb;
}
.contact-item,
.contact-body {
    padding: 20px;
}

.contact-item {
    text-align: left; 
    vertical-align: top; 
    width: 35%; 
    font-size: .7rem;
    font-weight: 500;

}

.contact-body {
    width: 65%; 
}

.form-text {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

}



.form-select {
    width: 100%;
    height: 40px;
    padding: 5px;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    letter-spacing: .05em;
    font-family: "EB Garamond", "Zen Old Mincho", serif;
    border-radius: 5px;
}

.form-textarea {
    width: 100%;
    padding: 10px;
    height: 200px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.item-label {
    display: inline-block;
    flex-shrink: 0;
    margin-left: 11px;
    color: #ab9682;
    content: "※";

}

.contact-submit {
    width: 120px;
    margin:0 auto;
    padding: .9em 2em;
    border: 1px solid #9e9e9e;
    border-radius: 5px;
    background-color: #888;
    color: #fff;
    font-size: .7em;
    font-family: "EB Garamond", "Zen Old Mincho", serif;
}

.contact-button{
    text-align: center;
}



article{
    display: grid;
    padding: 12vw 15vw 0;
    animation: bgchange 40s ease infinite;

}

article, h2 p {
    color: #333;
}
a:visited {
    color: #333;
}

a:hover{
	text-decoration: none;
	color: #C7B994;
}

.a-title{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    align-content: center;
    height: 6vw;
    font-size: 1.2em;
}
.a-txt,.c-txt {
    font-size: .8em;
    line-height: 1.8;
}

.c-txt {
    padding: 30px 0 80px;
}


.link_button, .copyright, .footer-list a{
    color: #333;
}

.footer-list a:hover{
	color: #C7B994;
}

#footer-wrap {
    position: sticky;
}

/* =====ページトップ=====*/

#page-top a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
	transition:all 0.3s;
}

#page-top {
    position: fixed;
    right: 2px;
    bottom: 40px;
    z-index: 2;
    cursor: pointer;
	opacity: 0;
	transform: translateY(100px);
}

.pagetopbtn {
    position: relative;
    display: inline-block;

}

.pagetopbtn::before,
.pagetopbtn::after {
    content: "";
    position: absolute;
    top: 0;
    left: calc(50% - 0.5px);
    width: 1px;
    height: 11px;
    border-radius: 9999px;
    background-color: #6c6c6c;
    transform-origin: 50% 0.5px;
}

.pagetopbtn::before {
    transform: rotate(45deg);
}

.pagetopbtn::after {
    transform: rotate(-45deg);
}

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}


/* タブレット: 768px〜 */
@media screen and (max-width:768px) { 

    article{
    width: 100%;
    }
 
	.pagination a .hover-text{
		display: none;
	}

    #g-nav, #g-nav.panelactive #g-nav-list {
        width: 100%;
    }

    #g-nav ul {
        left: 60px;
    }

    article {
    padding: 20vw 6vw 0;
    }

    .contact-table th,
    .contact-table td {
    width: 100%;
    display: block;

    }
    .contact-table th {
    width: 100%;

    }
    .contact-table tr th:first-child {
        width: 100%;
    }

    .contact-item, .contact-body {
        padding: 10px 0 0;
    }

 
}

@media (orientation: landscape) and (max-width: 768px){


}

