/********* reset *********/
html, body, h1, h2, h3, h4, ul, ol, dl, li, dt, dd, p, div, span, img, a, table, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: normal;
  font-size: 100%;
  vertical-align:baseline;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

article, header, footer, aside, figure, figcaption, nav, section {
  display:block;
}

body {
  line-height: 1;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

ol, ul {
  list-style: none;
  list-style-type: none;
}
/********* reset *********/

* {
  box-sizing: border-box;
}

html,body {
  height: 100%;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "meiryo", sans-serif;
  font-size: 24px;
  background: url(../images/bg.jpg) repeat-y;
  background-size: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  overflow-x: hidden;
}

header {
  background: url(../images/bg_header.png) no-repeat;
  background-size: 100%;
  text-align: center;
}

header h1 img {
  max-width: 287px;
  width: 35.875vw;
}

header #header-logo img {
  max-width: 574px;
  width: 71.75vw;
}

main .line img{
  max-width: 800px;
  width: 100vw;
}

main #image01,main #image02 {
  text-align: center;
}

main #image01 {
  background: #d5c2a8;
}

main #image01 img {
  max-width: 782px;
  width: 94vw;
}

main #image02 img {
  max-width: 735px;
  width: 91.875vw;
}

main #slider {
  max-width: 780px;
  width: 95.8vw;
  margin: 0 auto;
}

main #slider .slider-main img {
  max-width: 780px;
  width: 95.8vw;
}

main #slider .slider-main .btn-prev {
  max-width: 41px;
  width: 5.125vw;
  position: absolute;
  top: 50%;
  left: 1vw;
  z-index: 10;
}

main #slider .slider-main .btn-next {
  max-width: 41px;
  width: 5.125vw;
  position: absolute;
  top: 50%;
  right: 1vw;
  z-index: 10;
}

main #slider .thumb {
  max-width: 760px;
  width: 95vw;
}

main #slider .thumb img {
  max-width: 240px;
  width: 30vw;
}

main .box h2 {
  font-size: 1.2em;
  font-weight: bold;
  color: #715519;
  line-height: 1.5;
}

main .box div {
  text-align: center;
}

main .box img {
  max-width: 780px;
  width: 98vw;
}

main .box {
  background: #d5c2a8;
}

main .box p {
  color: #4e4e4e;
  background: #fff;
  line-height: 1.5;
}

main .box .taigu {
  background: #fff;
}

main .box .taigu p {
  font-size: 1.4em;
  color: #fff;
  background: #ed5470;
  width: 12vw;
  border-radius: 100%;
}

main .box ul {
  background: #fff;
  line-height: 1.8;
}

main .box ul li {
  display: inline-block;
}

#recruitment {
	width: 100%;
}

#recruitment h2.title {
	font-size: 4.5vw;
	padding: 0 24px;
}

#recruitment .recruitment-box {
	width: 95%;
	margin: 3vw auto 0;
	padding: 4.5vw 3vw;
	background: #fff;
}

#recruitment dl {
	display: flex;
	min-height: 50px;
	align-items: center;
	border-bottom: solid 1px #a9a9a9;
	width: 100%;
	margin: 0 auto;
	padding: 1em;
	max-width: 1000px;
	text-align: left;
}

#recruitment dl:first-child {
	border-top: solid 1px #a9a9a9;
}

#recruitment dl dt {
	flex-basis: 30%;
}

#recruitment dl dd {
	flex-basis: 70%;
}

#contact {
	width: 100%;
}

#contact h2.title {
	font-size: 4.5vw;
	padding: 0 24px;
}

#contact .text {
	margin-top: 1vw;
	text-align: center;
}

#contact .form {
	width: 95%;
	margin: 3vw auto 0;
	padding: 4.5vw 3vw 6vw;
	background: #fff;
}

#contact form ul {
	font-size: 0;
	margin: 0 auto;
	text-align: left;
}

#contact form ul:nth-of-type(n+2) {
	margin-top: 2vw;
}

#contact form ul li {
	width: 30%;
	font-size: 3vw;
	display: inline-block;
	vertical-align: middle;
}

#contact form ul li:nth-child(2) {
	width: 12vw;
	margin-left: 1vw;
}

#contact form ul li.required {
	color: #fff;
	background-color: #715519;
	border-radius: 6vw;
	text-align: center;
}

#contact form ul li:last-child {
	margin-left: 0;
}

#contact input[type="text"] {
	font-family: "Hiragino Kaku Gothic ProN", "meiryo", sans-serif;
	font-size: 3.4vw;
	width: 100%;
	height: 35px;
	margin-top: 0.5vw;
	border: #ccc 2px solid;
}

#contact input[placeholder],#contact form ul li textarea[placeholder] {
	color: #666;
}

#contact textarea {
	font-family: "Hiragino Kaku Gothic ProN", "meiryo", sans-serif;
	font-size: 3.4vw;
	width: 100%;
	height: 30vw;
	border: #ccc 2px solid;
}

#contact form .btn-send {
	width: 60%;
	margin: 2vw auto 0;
}

#contact form button {
	font-size: 3.4vw;
	font-weight: bold;
	color: #fff;
	background-color: #715519;
	width: 100%;
	padding: 10px 0;
	text-align: center;
	cursor: pointer;
	border: none;
}

footer {
  text-align: center;
}

footer #info {
  background: #d5c2a8;
}

footer .text img {
  max-width: 689px;
  width: 86.125vw;
}

footer ul li {
  display: inline-block;
  text-align: left;
  vertical-align: top;
}

footer ul li:first-child img {
  max-width: 112px;
  width: 14vw;
}

footer ul li .open img {
  max-width: 527px;
  width: 65.875vw;
}

footer ul li:last-child p a {
  font-family: 'Century';
  font-size: 3.6em;
  color: #000;
  line-height: 0.8;
  text-decoration: none;
}

footer ul li:last-child div img {
  vertical-align: middle;
}

footer ul li:last-child div a {
  font-family: 'Century';
  font-size: 1.35em;
  color: #000;
  text-decoration: none;
}

footer .mail img {
  max-width: 36px;
  width: 10.345vw;
}

footer .copy {
  color: #d5c2a8;
}

#pagetop{
	position: fixed;
	bottom: 10px;
	right: 10px;
	background: rgba(53, 9, 9, 0.9);
	text-align: center;
	color: #fff;
	padding: 10px 10px;
	font-size: 14px;
	border-radius: 4px;
	text-decoration: none;
}

#pagetop i{
	font-size: 160%;
}
/********** sendmail.php*********/
.contact-box{
	background: #fff;
	width: 96%;
	max-width: 600px;
	margin: 10px auto;
}
.contact-box tr td{
	padding: 10px;
	border-bottom: solid 1px #ccc;
}
.contact-box tr td:nth-child(2n){
	border-left: solid 1px #ccc;
}


/********* media query *********/
@media screen and (max-width: 800px) {
  header h1 {
    padding: 1vw 0;
  }

  header #header-logo {
    padding: 1vw 0 2vw;
  }

  main #image01 {
    padding: 2.8vw 0 2.5vw;
  }

  main #image02 {
    padding: 1.5vw 0 3.2vw;
  }

  main #slider {
    padding: 1vw 0 5vw;
  }

  main #slider .thumb {
    margin: 2vw auto 0;
    padding-left: 1.3vw;
  }

  main .box {
    margin-bottom: 6vw;
    padding: 2.5vw 0;
  }

  main .box h2 {
    padding: 1.5vw 3vw;
  }

  main .box .taigu {
    padding: 0.5vw 0 0 2vw;
  }

  main .box .taigu p {
    padding: 2.2vw 0.5vw;
  }

  main .box ul li:last-child {
    margin-left: 9vw;
  }

  main .box .pb01 {
    padding: 2.5vw 3vw 1vw;
  }

  main .box .pb02 {
    padding: 2.5vw 3vw 20vw;
  }

  main .box .pb02 span{
	color: #fff;
	display: block;
	background-color: #ed5470;
	padding: 4px 10px;
	}

  main .box .pb03 {
    padding: 2.5vw 3vw 12vw;
  }

  main .line {
    margin-bottom: 3vw;
  }

  footer {
    margin-top: 5vw;
  }

  footer #info {
    padding: 3vw 0 2.5vw;
  }

  footer ul {
    margin-top: 2.5vw;
  }

  footer ul li:last-child {
    margin-left: 5vw;
  }

  footer ul li:last-child .mail {
    padding: 1.8vw 0 0 1vw;
  }

  footer .copy {
    padding: 5vw 0;
  }
}

@media screen and (min-width: 801px) {
  header h1 {
    padding: 8px 0;
  }

  header #header-logo {
    padding: 8px 0 16px;
  }

  main #image01 {
    padding: 22px 0 20px;
  }

  main #image02 {
    padding: 12px 0 25px;
  }

  main #slider {
    padding: 8px 0 40px;
  }

  main #slider .thumb {
    margin: 16px auto 0;
    padding-left: 10px;
  }

  main .box {
    margin-bottom: 48px;
    padding: 20px 0;
  }

  main .box h2 {
    padding: 20px 24px;
  }

  main .box .taigu {
    padding: 4px 0 0 16px;
  }

  main .box .taigu p {
    padding: 18px 4px;
  }

  main .box ul li:last-child {
    margin-left: 72px;
  }

  main .box .pb01 {
    padding: 20px 24px 8px;
  }

  main .box .pb02 {
    padding: 20px 24px 160px;
  }

  main .box .pb02 span{
	color: #fff;
	display: block;
	background-color: #ed5470;
	padding: 4px 10px;
	}

  main .box .pb03 {
    padding: 20px 24px 96px;
  }

  main .line {
    margin-bottom: 24px;
  }

  #contact form ul li {
    font-size: 20px;
  }

  #contact form button {
    font-size: 24px;
  }
	
  #contact input[type="text"] {
	font-size: 16px
  }
	
  #contact textarea {
	font-size: 16px
  }

	footer {
    margin-top: 40px;
  }

  footer #info {
    padding: 24px 0 20px;
  }

  footer ul {
    margin-top: 20px;
  }

  footer ul li:last-child {
    margin-left: 40px;
  }

  footer ul li:last-child .mail {
    padding: 14px 0 0 8px;
  }

  footer .copy {
    padding: 40px 0;
  }
 /********** sendmail.php*********/
 .contact-box{
	font-size: 16px;
 }

}