*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background: black!important;
  color: white!important;
}
header {
  margin: 50px auto;
  font-size: 80px;
  text-align: center;
  opacity: 0;
}
footer {
  text-align: center;
  height: 50px;
  font-size: 15px;
}
p {
  color:#fff;
}

h2 {
  color:#fff;
}
ul {
  /*max-width: 960px;
  padding: 10px;
  margin: 20px auto;
  border: solid 1px #333;
  border-left: solid 1px #fff;*/
}
li {
  /*list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
  
  text-align: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;*/
}

li:hover {
  /*background: #fff;
  color: black;
  font-size: 17px;
  opacity: 0.4;
  transition-duration: 1s;
  border: dotted 1px #999;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;*/
}
.grid {
  display: grid;
  height: 900px;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 10px;
}
.trim img {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
*,
*:before,
*:after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body {
  font-family: Arial, "Hiragino Kaku Gothic Pro W3", Meiryo, sans-serif;
  background-color: #000;
  color: #fff;
  text-align: center;
  overflow-x:hidden;
}
body a,
body a:visited {
  color: #ccc;
  text-decoration: none;
}
body a:hover {
  color: #aaa;
}
#mnsry_container article .item-content:before,
#mnsry_container article .item-content,
#mnsry_container article .item-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: 50%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#container {
  width: 960px;
  margin: 0 auto;
}
#mnsry_container {
  position: relative;
}
#mnsry_container article {
  width: 240px;
  height: 240px;
  cursor: pointer;
  -webkit-perspective: 1600px;
  perspective: 1600px;
  opacity: 0;
  padding: 5px;
}
#mnsry_container article.big {
  width: 384px;
  height: 384px;
  -webkit-perspective: 2400px;
  perspective: 2400px;
}
#mnsry_container article.long {
  height: 384px;
  -webkit-perspective: 2000px;
  perspective: 2000px;
}
#mnsry_container article.wide {
  width: 384px;
  -webkit-perspective: 2000px;
  perspective: 2000px;
}
#mnsry_container article .item {
  height: 100%;
  transform-style: preserve-3d;
  transition: all 0.4s;
  -webkit-transition: -webkit-transform 0.4s;
}
#mnsry_container article .item-content {
  -webkit-transform: rotateX(180deg);
  transform: rotateX(180deg);
}
#mnsry_container article .item-content:before {
  content: "";
  background-color: rgba(0, 0, 0, 0.6);
}
#mnsry_container article .item-img h1 {
  position: absolute;
  top: 46%;
  left: 0;
  width: 100%;
  font-size: 25px;
  color: #000;
}
#mnsry_container article .item-content h1 {
  position: absolute;
  top: 46%;
  left: 0;
  width: 100%;
  font-size: 25px;
}
#mnsry_container article:hover {
  z-index: 10;
}
#mnsry_container article:hover .item {
  -webkit-transform: rotateX(-180deg);
  transform: rotateX(-180deg);
}

.form-control-md {
  margin-bottom:20px;
}



.textarea {
  margin-top:20px;
  margin-bottom:20px;
}

#loading_msg {
  position: fixed;
  top: 48%;
  width: 100%;
  z-index: -1;
}

section {
  width: 960px;
  margin: 30px auto;
  text-align: left;
}

.spacer_20 {
  padding-top:20px;
}

.spacer_40 {
  padding-top:40px;
}

.spacer_60 {
  padding-top:60px;
}

.form_container {
  padding: 0 100px  20px;
  border: solid 1px;
}
.form_container h2 {
  font-size: 1.6rem;
  padding: 30px 0 0 30px;
  text-align: center;
  display: block;
  font-size: 2.5rem;
  border-bottom: 1px solid #fff;
  padding-bottom: 20px;
  max-width: 750px;
  margin: 0px auto 20px;
}
span.bg_text {
  display: block;
  font-size: 15rem;
  position: absolute;
  font-family: "Lexend Deca", sans-serif;
  z-index: 9;
  opacity: 0.04;
  top: 0;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  background-color:red!important;
}


.outline th {
font-size: 1rem;
    padding: 30px 0 ;
    width: 150px;
    border-bottom: 1px solid #fff;
    color: #fff;
}
.outline td {
    padding: 30px 0;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
    line-height: 35px;
}


footer {
	
	padding: 40px;
	max-width: 2400px;
	margin: 0 auto;
}

footer ul {
  padding-left: 1rem;
  text-align: left;
  border-left: solid 1px #fff;
  padding: 10px;
    margin: 20px auto;
}

.large_footer {
    max-width: 1100px;
    margin: 0 auto 30px;
    display: flex;
	position: relative;
}

	
.footer_menu_company a {
	position: relative;
	display: inline-block;
}
	
.footer_menu_company a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #cc0000;
  color:#fff;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}
	
.footer_menu_company a:hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}
	
.footer_menu_category a {
	position: relative;
	display: inline-block;
}
	
.footer_menu_category a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #cc0000;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}
	
.footer_menu_category a:hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}

.footer_logo {
    width: 100px;
    position: absolute;
    right: 0;
    top: 16px;
    opacity: 0.2;
}

.footer_menu_title {
    font-weight: bold;
    font-size: 0.7rem;
    margin-bottom: 10px;
}
.footer_box {
	display: flex;
}
.footer_menu_company .footer_menu_title span {
    display: inline-block;
    height: 1px;
    width: 64%;
    background: #ccc;
    vertical-align: middle;
    margin-left: 4%;
}

.footer_menu_category .footer_menu_title span {
    display: inline-block;
    height: 1px;
    width: 66%;
    background: #ccc;
    vertical-align: middle;
    margin-left: 2%;
}

.footer_menu_company {
    margin-right: 2%;
    width: 30%;
}

.footer_menu_category {
    width: 52%;
}

.footer_menu_category ul {
	display: inline-block;
	vertical-align: top;
}

.footer_menu_company a,
.footer_menu_category a {
    font-size: 0.7rem;
    color: #959595;
	letter-spacing: 0.5px;
}

.footer_menu_company ul,
.footer_menu_category ul {
	margin-right: 8%;
}
.footer_menu_company ul {
	/* margin-right: 16%; */
}

.footer_menu_company li,
.footer_menu_category li {
	list-style: none;
  margin-bottom: 6px;
}
.footer_menu_company .sns a {
	margin-right: 10px;
}
.footer_menu_company .sns a i {
	font-size: 14px;
}
.footer_box ul:nth-of-type(2) {
	margin-right: 0;
}

.small_footer {
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid #ccc;
    padding-top: 12px;
    display: flex;
}

.small_footer_contents {
    width: 50%;
}

.small_footer_contents li {
    display: inline-block;
    font-size: 0.7rem;
    margin-right: 8px;
    padding-right: 12px;
    border-right: 1px solid #ccc;
}

.small_footer_contents li:last-child {
	border-right: none;
}

.small_footer_contents a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  font-size: 0.7rem;
}

.small_footer_contents a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #333;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}
.small_footer_contents a:hover::after {
  transform-origin: left top;
  transform: scale(1, 1);
}


footer small {
    font-size: 0.7rem;
    text-align: right;
    display: block;
    width: 50%;
    color: #aaa;
    letter-spacing: 0.5px;
}


/*---------------------------------------------------------------*\
	$680px
\*---------------------------------------------------------------*/
@media screen and (max-width: 680px) {
	
footer {
    
    padding: 5%;
    max-width: 2400px;
    margin: 0 auto;
}

.large_footer {
    max-width: 100%;
    margin: 0 auto 30px;
    display: block;
    position: relative;
}


.footer_menu_company {
    margin-right: 0;
    width: 100%;
	margin-bottom: 24px;
}
	
.footer_menu_company .footer_menu_title span {
    display: block;
    height: 1px;
    width: 100%;
    background: #616161;
    vertical-align: middle;
    margin-left: 0;
    margin-top: 12px;
}
	
.footer_menu_category {
    width: 100%;
}
	
.footer_menu_category .footer_menu_title span {
    display: block;
    height: 1px;
    width: 100%;
    background: #ccc;
    vertical-align: middle;
    margin-left: 0;
    margin-top: 12px;
}
	
.footer_logo {
    width: 70px;
    right: 0;
    top: 0;
    opacity: 0.2;
    margin: 20px auto;
    display: block!important;
    position: inherit!important;
}
	
.small_footer {
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid #ccc;
    padding-top: 12px;
    display: block;
}
	
.small_footer_contents {
    width: 100%;
    margin-bottom: 12px;
}

footer small {
    font-size: 0.7rem;
    text-align: right;
    display: block;
    width: 100%;
    color: #aaa;
    letter-spacing: 0.5px;
}
	
.footer_menu_company li, .footer_menu_category li {
    margin-bottom: 4px;
}
}
/*----------------------------
ボタン
----------------------------*/

/***追従するトップへ戻るボタン***/
#page-top {
    position: fixed;
    right: 5px;
    bottom: 20px;
    height: 50px;
    text-decoration: none;
    font-weight: bold;
    transform: rotate(90deg);
    font-size: 90%;
    line-height: 1.5rem;
    color: #737373;
    padding: 0 0 0 35px;
    border-top: solid 1px;
    
}
#page-top::before {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    left: 0px;
    width: 15px;
    border-top: solid 1px;
    transform: rotate(35deg);
    transform-origin: left top;
}
/***トップへ戻るボタンここまで***/


/*----------------------------
animate ｜下から上へ出現
----------------------------*/
.animate {
  transition: 0.8s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
}
.animate.on {
  transform: translateY(0);
  opacity: 1.0;
}

/*----------------------------
animate_left ｜左から出現
----------------------------*/
.animate_left {
    -webkit-transition: 0.8s ease-in-out;
    -moz-transition: 0.8s ease-in-out;
    -o-transition: 0.8s ease-in-out;
    transition: 0.8s ease-in-out;
    transform: translateX(-30px);
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
}
.animate_left.on {
    opacity: 1.0;
    filter: alpha(opacity=100);
    -moz-opacity: 1.0;
    transform: translateX(0);
    overflow: hidden;
}

/*----------------------------
animate_right ｜右から出現
----------------------------*/
.animate_right {
    -webkit-transition: 0.8s ease-in-out;
    -moz-transition: 0.8s ease-in-out;
    -o-transition: 0.8s ease-in-out;
    transition: 0.8s ease-in-out;
    transform: translateX(30px);
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
}
.animate_right.on {
    opacity: 1.0;
    filter: alpha(opacity=100);
    -moz-opacity: 1.0;
    transform: translateX(0);
}


@media (max-width: 860px) {
  #container {
    width: 100%;
  }
  #mnsry_container article,
  #mnsry_container article.big,
  #mnsry_container article.long,
  #mnsry_container article.wide {
    width: 33%;
    min-height: 180px;
  }
  header {
    width: 100%;
    margin: 50px auto !important;
  }
  header p {
    font-size: 2.5rem;
  }
  section {
    width: 96%;
    margin: 0 auto;
  }
  .form_container {
    padding: 0 5%;
    border: solid 1px;
  }
}
@media (max-width: 667px) {
  #mnsry_container article,
  #mnsry_container article.big,
  #mnsry_container article.long,
  #mnsry_container article.wide {
    width: 33%;
    min-height: 220px;
  }

  header {
    width: 100%;
    margin: 50px auto !important;
  }
  header p {
    font-size: 2.5rem;
  }
  section {
    width: 96%;
    margin: 0 auto;
  }
  .form_container {
    padding: 0 5%;
    border: solid 1px;
  }
}

@media (max-width: 480px) {
  #mnsry_container article,
  #mnsry_container article.big,
  #mnsry_container article.long,
  #mnsry_container article.wide {
    width: 50%;
    max-height: 150px;
  }
  header {
    font-size: 3rem;
    width: 100%;
    margin: 50px auto !important;
  }
  header img {
    width:100%;
  }
  header p {
    font-size: 2.5rem;
  }
  section {
    width: 96%;
    margin: 0 auto;
  }
  .form_container {
    padding: 0 5%;
    border: solid 1px;
  }
}
