/*横にスライドページ*/
body {
    font: 14px/1.7 'Oswald', arial, helvetica, sans-serif;
    color: #333;
    background-color: #fff;
    padding: 0;
    margin: 0;
    height: 100vh;

}
div, ul, li, p, h1, h2, h3 {
    padding: 0;
    margin: 0;
}
.cf:before,
.cf:after {
    content: " ";
    display: table;
}
.cf:after {
    clear: both;
}
.cf {
    *zoom: 1;
}
header {
    position: fixed;
    z-index: 50;
    background: #fff;
    width: 100%;
}
#head-in {
    padding: 20px;
}
header p.link {
    float: right;
}
header h1 {
    font-weight: normal;
    font-size: 15px;
    float: left;
}
a {
    color: #333;
}
a:hover {
    color: #960014;
    text-decoration: none;
}
header a {
    text-decoration: none;
}
header a:hover {
    color: #960014;
    text-decoration: underline;
}
.section {
    background-image: url(img/bg.jpg);
    background-size: cover;
}
.section p {
    font-family: Arial, "メイリオ", "ＭＳ Ｐゴシック", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Osaka, sans-serif;
    font-size: 16px;
    line-height: 1.6em;
}
.panel {
    background-color: #fff;
    background-color: rgba(255, 255, 255, 0.8);
    height: 570px;
    width: 800px;
    padding: 20px 40px;
    margin: 0 auto;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

h2{
    margin: 10px 0px 30px;
    color: #827357;
    text-align: center;
    font-size: 1.2rem;
}

nav {
    position: fixed;
    bottom: 40px;
    width: 100%;
    text-align: center;
    padding: 10px;
    z-index: 50;
}

nav li {
    display: inline;
}

nav li a {
    padding: 6px 26px;
    color: #fff;
    text-decoration: none;
    margin: 0;
    background: #fc7f05;
    border-radius: 5px;
    line-height: 2.9em;
}

nav li a:hover {
    color: #fff;
    background: #d36a01;
}

/*header*/

.contact{
    display: flex;
    justify-content: center;
    margin: 10px 0px;
}

h1{
    margin: 0px 160px 0px 0px;
}

.logo{
    width:180px;
}


.home{
    width:200px;
    height: 50px;
    background: #70634b;
    color: #fff;
    margin: 5px;
    text-align: center;
    font-size: 1.05rem;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 4px;
    display: inline-block;
    text-decoration: none;
    border-bottom: solid 4px #554b39;
}


.home:hover{
    background: #d36a01;
    color: #fff;
    border-bottom: solid 4px #bd6565;
}


.home:active {
    /*ボタンを押したとき*/
    -webkit-transform: translateY(4px);
    transform: translateY(4px);/*下に動く*/
    border-bottom: none;/*線を消す*/
  }

  
.icon{
    width: 30px;
    height: 30px;
    margin: 5px 10px 10px;
    vertical-align: bottom;
}

.icon1{
    width: 30px;
    height: 30px;
    margin: 5px 10px 10px;
    vertical-align: bottom;
}

.icon2{
    width: 30px;
    height: 30px;
    margin: -5px 10px 10px;
    vertical-align: bottom;
}

.icon3{
    width: 30px;
    height: 30px;
    margin: 0px 10px 10px;
    vertical-align: middle;
}

.phone{
    font-size: 1.2rem;
    margin: 10px 10px 0px 0px;
    color: #827357;
    text-decoration: none;
}

.phone:hover{
    color: #fc7f05;
    text-decoration: none;
}

.email{
    font-size: 0.95rem;
    margin: 10px 10px 0px 0px;
    color: #827357;
    text-decoration: none;
}


.email:hover{
    color: #fc7f05;
    text-decoration: none;
}

.line{
    font-size: 0.95rem;
    margin: 10px 10px 0px 0px;
    color: #827357;
    text-decoration: none;
}

.line:hover{
    color: #fc7f05;
    text-decoration: none;
}
/*TOPボタン*/

.topbutton{
    display: flex;
    justify-content: center;
    margin: 10px 3px;
}

.topbtn{
    width:120px;
    height: 50px;
    background: #fc7f05;
    color: #fff;
    margin: 5px;
    text-align: center;
    font-size: 0.95rem;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 4px;
    display: inline-block;
    text-decoration: none;
    border-bottom: solid 4px #bd6565;
}

.topbtn:hover{
    background: #d36a01;
    color: #fff;
}

.topbtn:active {
    /*ボタンを押したとき*/
    -webkit-transform: translateY(4px);
    transform: translateY(4px);/*下に動く*/
    border-bottom: none;/*線を消す*/
  }

.topbtn2{
    width:120px;
    height: 50px;
    background: #fc7f05;
    color: #fff;
    margin: 5px;
    text-align: center;
    font-size: 0.95rem;
    padding: 12px;
    box-sizing: border-box;
    border-radius: 4px;
    display: inline-block;
    text-decoration: none;
    border-bottom: solid 4px #bd6565;
}

.topbtn2:hover{
    background: #d36a01;
    color: #fff;
}


.topbtn2:active {
    /*ボタンを押したとき*/
    -webkit-transform: translateY(4px);
    transform: translateY(4px);/*下に動く*/
    border-bottom: none;/*線を消す*/
  }

.topbtna{
    color: #fff;
    text-decoration: none;
}

.topbtna:hover{
    color: #fff;
    text-decoration: none;
}


.psmall{
    margin-top: -5px;
    font-size: 0.78rem;
}


/*header以下*/

.greetingflex{
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.photo{
    width:150px;
    height: 150px;
    border-radius: 50%;
    margin: -10px 60px 20px 10px;
}

.signeture{
    width:180px;
    margin:-5px 0px 0px -10px;
}

footer{
    margin-top: 50px;
    background:#827357;
    color: #fff;
    font-size: 0.85rem;
    padding: 5px 0px;
    text-align: center;
}



.pc { display: block !important; }
.sp { display: none !important; }


@media (max-width:900px){

h1{
    margin: 0px 60px 0px 10px;
}

.topbtn{
    width:110px;
    height: 50px;
    margin: 5px 3px;
    font-size: 0.9rem;
    padding: 8px 5px;
}

.topbtn2{
    width:110px;
    height: 50px;
    margin: 5px 3px;
    font-size: 0.835rem;
    padding: 12px;
}

section{
    width:90%;
    margin: 50px auto 10px;
    line-height: 1.8em;
}

.panel {
    height: 70vh;
    width: 80%;
    padding: 30px;

}




}



@media (max-width:600px){

.pc { display: none !important; }
.sp { display: block !important; }

.contact{
    display: flex;
    justify-content: space-evenly;
    margin: 10px 0px;
}

/*ハンバーガーメニュー*/
.menu,
.menu span {
display: inline-block;
-webkit-transition:all .4s;
transition: all .4s;
box-sizing: border-box;
}

.menu {
position: fixed;
top: 10px;
right:  10px;
width: 30px;
height: 23px;
z-index: 10;
}

.menu span {
position: absolute;
left: 0;
width: 100%;
height: 2px;
background-color: #fc7f05;
}

.menu span:nth-of-type(1) {
top: 0px;
}

.menu span:nth-of-type(2) {
top: 10px;
}

.menu span:nth-of-type(3) {
bottom: 0px;
}

.menu.active span:nth-of-type(1) {
-webkit-transform: translateY(10px) rotate(45deg);
transform: translateY(10px) rotate(45deg);
}

.menu.active span:nth-of-type(2) {
opacity: 0;
}

.menu.active span:nth-of-type(3) {
-webkit-transform: translateY(-10px) rotate(-45deg);
transform: translateY(-10px) rotate(-45deg);
}

#nav {
position: fixed;
top: 0;
right: 0;
z-index: 10;
width: 100%;
height: 100vh;
opacity: 0;
background-color: #fff;
transition: all 0.3s ease-in-out;
visibility:hidden;

}

#nav.active{
right: 0;
opacity: 1;
-moz-transform: translateX(0);
-webkit-transform: translateX(0);
transform: translateX(0);
visibility: visible;
}

#nav ul{
margin:20px 0;
padding:20px 0;
}

#nav ul li{
list-style-type: none;
}

#nav ul li a{
display: block;
padding: 20px 0;
transition: all 0.2s ease-in-out;
text-align: center;
text-decoration: none;
color: #fc7f05;
}

#nav ul li .red2{
display: block;
padding: 20px 0;
transition: all 0.2s ease-in-out;
text-align: center;
text-decoration: none;
color: red;
}


h1{
    margin: 0px;
}

.logo{
    float: left;
    top: 10px;
    left: 10px;
    width:180px;
}


.phone{

    margin: 0px;
}


section{
    width:85%;
    margin: 50px auto 10px;
    line-height: 1.8em;
}

.panel {
    height: 85vh;
    width: 90%;
    padding: 20px 40px;
    font-size: 0.9rem;
    line-height: 1.6em;


nav {
    bottom: 10px;
}
}


    