@charset "utf-8";

/* 横幅
/************************************************************/

@media screen and (max-width: 1023px) {
.container {
	width: 72%;
}
#top-contents .container {
	width: 72%;
}
#contents .container {
	width: 72%;
}
#area-contact .container {
	width: 72%;
}
.footer .container {
  width: 72%;
}
}
@media screen and (max-width: 895px) {
.container {
	width: 80%;
}
#top-contents .container {
	width: 80%;
}
#contents .container {
	width: 80%;
}
#area-contact .container {
	width: 80%;
}
.footer .container {
  width: 80%;
}
}
@media screen and (max-width: 767px) {
.container {
	width: 72%;
}
#top-contents .container {
	width: 72%;
}
#contents .container {
	width: 72%;
}
#area-contact .container {
	width: 72%;
}
.footer .container {
  width: 72%;
}
}
@media screen and (max-width: 639px) {
.container {
	width: 80%;
}
#top-contents .container {
	width: 80%;
}
#contents .container {
	width: 80%;
}
#area-contact .container {
	width: 80%;
}
.footer .container {
  width: 80%;
}
}
@media screen and (max-width: 511px) {
.container {
	width: 88%;
}
#top-contents .container {
	width: 88%;
}
#contents .container {
	width: 88%;
}
#area-contact .container {
	width: 88%;
}
.footer .container {
  width: 88%;
}
}

/* ベース
/************************************************************/

@media screen and (max-width: 511px) {
p {
font-size: 16px;
  line-height: 175%;
}
}


/* 共通要素
/************************************************************/

@media screen and (max-width: 1023px) {
.hide-sp {
	display: none;
}
.hide-pc {
	display: block;
}
}
@media screen and (max-width: 767px) {
.heading {
  font-size: 32px;
  margin-bottom: 40px;
}
}
@media screen and (max-width: 511px) {
main {
margin-top: 64px;
}
}


/* SPメニュー
/************************************************************/

@media screen and (max-width: 511px) {
.openbtn{
	top:8px;
	right: 4px;
}
#sp-nav ul {
	width: 72%;
}
#sp-nav li a{
    font-size: 16px;
    line-height: 56px;
}
}

/* header
/************************************************************/


@media screen and (max-width: 1023px) {
header {
  min-width: 360px;
}
header .header-nav {
display: none;
}
header .header-contact {
display: none;
}
.h-production {
  min-width: 360px;
}

}

@media screen and (max-width: 767px) {

}

@media screen and (max-width: 511px) {
header {
    height: 64px;
}
header .header-logo {
  top: 12px;
  left: 16px;
  width: 233px;
}


}

/* 下部共通コンテンツ
/************************************************************/
@media screen and (max-width: 1023px) {
#area-contact {
  min-width: 360px;
}
#area-contact .box .btn-contact {
  width: 80%;
  margin: 0 auto 16px;
}

}
@media screen and (max-width: 767px) {
#area-contact {
    padding: 64px 0;
}
#area-contact .box h2 {
    font-size: 20px;
}
#area-contact .box .btn-contact {
    width: 100%;
}
#area-contact .box .btn-tel {
    width: 100%;
}

}
@media screen and (max-width: 511px) {
#area-contact {
    padding: 48px 0;
}
#area-contact .box {
    padding: 24px;
}
#area-contact .box h2 {
    font-size: 18px;
}
#area-contact .box .btn-contact a {
    line-height: 64px;
    font-size: 18px;
}
#area-contact .box .btn-tel a {
     line-height: 64px;
   font-size: 20px;
}
}

/* footer
/************************************************************/

@media screen and (max-width: 1023px) {
.footer {
  min-width: 360px;
}
.footer .box {
  border: none;
  padding: 0;
}
.footer .text {
float: none;
text-align: center;
}
.footer .qr {
display: none;
}

}
@media screen and (max-width: 767px) {

}
@media screen and (max-width: 511px) {
.footer {
  padding-top: 48px;
}
.footer .box {
  margin-bottom: 24px;
}
.footer h2 {
    width: 320px;
    margin: 0 auto 8px;
}
.footer p {
    font-size: 14px;
}
.footer .copyright {
    font-size: 14px;
}
.f-production {
margin-bottom: 32px;
}
}

/* トップページ
/************************************************************/



@media screen and (max-width: 1023px) {
#top-mv {
display: none;
}
#top-mv-sp {
display: block;
}
#top-contents {
  min-width: 360px;
}
#top-contents p {
  text-align: left;
}
#top-contents .support-list li {
  margin-left: 0;
  margin-right: 6%;
  width: 46%;
}
#top-contents .support-list li:nth-child(2) {
  margin-right: 0;
}
#top-contents .support-list li:nth-child(4) {
 margin-right: 0;
}
#top-contents .support-list li:nth-child(6) {
 margin-right: 0;
}
}
@media screen and (max-width: 767px) {

#top-contents {
    padding: 64px 0 64px;
}
#top-contents h2 {
    font-size: 4.8vw;
    margin-bottom: 32px;
}


#top-contents .support-list li {
    margin-top: 24px;
  margin-right: 0;
  width: 100%;
}
}
@media screen and (max-width: 511px) {
#top-mv-sp img {
  height: 280px;
  object-fit: cover;
}
#top-contents {
    padding: 48px 0 48px;
}
#top-contents h2 {
    font-size: 22px;
    margin-bottom: 24px;
}
#top-contents .support-list ul {
    margin-top: 8px;
}
#top-contents .support-list li .nth {
display: none;
}
#top-contents .support-list li .img {
 padding: 16px 0px;
}
#top-contents .support-list li .img img {
    width: 128px;
}
}

/* 下層ページ共通
/************************************************************/

@media screen and (max-width: 1023px) {
#page-head {
min-width: 360px;
}
#contents {
min-width: 360px;
}
#contents section dl {
display: block;
}
#contents section dl dt {
display: block;
width: 100%;
}

#contents table thead td {
width: 10%;
padding: 8px;
}
#contents table tbody th {
padding: 8px;
}
#contents table tbody td {
padding: 8px;
}

}
@media screen and (max-width: 511px) {
#page-head {
    height: 128px;
}
#page-head h1 {
    font-size: 24px;
}
#contents {
    padding: 32px 0px 64px;
}
#contents .pankuzu {
    margin-bottom: 48px;
}
#contents section {
    margin-top: 48px;
}
#contents .line {
    margin-top: 48px;
    padding-top: 48px;
}
#contents section h2 {
    font-size: 20px;
}
#contents .img + h2 {
    margin-top: 48px;
}
#contents p + .img {
    margin-top: 48px;
}
#contents section li {
    font-size: 16px;
    line-height: 175%;
    padding-left: 20px;
}

#contents section h3 {
font-size: 16px;
margin: 48px 0 24px;
line-height: 40px;
}
#contents section h4 {
font-size: 16px;
margin-top:24px;
padding-left: 20px;
}
#contents section dl {
font-size: 16px;
line-height: 175%;
}
#contents table {
font-size: 16px;
margin: 24px 0;
}
#contents .btn {
    width: auto;
    margin: 48px auto;
}
}

/* 代表あいさつ
/************************************************************/

@media screen and (max-width: 1023px) {
#contents .message p {
text-align: left;
}
}

@media screen and (max-width: 511px) {
#contents .name {
    font-size: 24px;
    margin-top: 16px;
}
#contents .position {
    margin: 16px 0 24px;
}
#contents .message p {
    font-weight: normal;
    line-height: 175%;
}
}

/* お問い合わせ
/************************************************************/
@media screen and (max-width: 511px) {
.contact .tel {
padding: 32px 0px 24px;
margin-bottom: 48px;
}

.contact .tel h3 {
font-size: 16px;
top: -12px;
}
.contact h2 {
margin-bottom: 16px;
font-size: 20px;
text-align: center;
}
}


