/* Author: SWODA inc. */

.SiteWrapper{
  display:flex;
  flex-direction:column;
  min-height:100vh;
}

h2, h3{
  font-size:x-large!important;
}

body{
  background-color: #ffffff;
  font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝','Yu Mincho', '游明朝体', 'YuMincho','MSP明朝', 'MS PMincho', serif;

}

main{
  flex:1;
  overflow-x:hidden;
}
section{
  padding:5%;
}

/* 見出しデザイン */
.heading1 {
	font-size: 26px;
}

.heading2 {
  color:lightslategrey;
	font-size: 60px;
	font-weight: 400;
	font-family: luxus-brut, cursive;
	font-style: italic;
  text-align: center;
}

.heading3 {
  color:white;
	font-size: 60px;
	font-weight: 400;
	font-family: luxus-brut, cursive;
	font-style: italic;
  text-align: center;
}


.bg-img {
  background-image:linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.3)), url("../image/mh-top.jpg");
  background-size: cover;
  background-position: center 30%;
  height: 92vh;
}

.layout2{
  display:flex;
  justify-content: center;
  flex-wrap: wrap;
}

.layout2-1{
  width:43%;
  margin:2%;
  background-color: #ffffff;
}

.layout2-2{
  width:43%;
  margin:2%;
  background-color: #ffffff;
}

@media screen and (max-width:1024px){
  .layout2-1{
    width:100%!important;
    margin:0%!important;
    padding:0%!important;
  }
  
  .layout2-2{
    width:100%!important;
    margin:0%!important;
    padding:0%!important;
    background-color: #f1f1f1;
  }
}


/* 斜めラインの実装 */
.contents_naname {
  position: relative;
  overflow: hidden;
  /* margin: 10% 0; */
  padding: 80px 0px 0px;
}

.contents_naname:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 80%;
  margin: 3% -10% 0;
  background: #011931;
  -webkit-transform-origin: left center;
  -ms-transform-origin: left center;
  transform-origin: left center;
  -webkit-transform: rotate(3deg);
  -ms-transform: rotate(3deg);
  transform: rotate(3deg);
  z-index: -1;
}

.contents_naname:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 80%;
  margin: 3% -10% 0;
  background: #df6209;
  -webkit-transform-origin: right center;
  -ms-transform-origin: right center;
  transform-origin: right center;
  -webkit-transform: rotate(-3deg);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
  z-index: -2;
}

.contents_naname_inner {
  box-sizing: boder-box;
  width: 100%;
  max-width: 90%;
  height: 100%;
  margin: 0 auto;
  padding: 10px 10px 100px;
  color: #fff;
  text-align: center;
}

@media screen and (max-width:991px){
  .contents_naname:before{
    height:90%!important;
  }
  .contents_naname:after{
    height:90%!important;
  }
}


/* 斜めラインの実装　ここまで */

.theme-img{
  position: relative;
}

.theme-img.img::after{
  content: '';
  background-color: black;
}

.theme-img-overlay{
  position: absolute;
  font-size:14px!important;
  bottom: 0.25rem;/*画像の左上に配置*/
  right: 1rem;
  margin-bottom: 1px!important;
  margin-right: 1px!important;
  margin: 0; /*余計な隙間を除く*/
  color: white;/*文字を白に*/
  background: lightslategrey;/*背景色*/
  font-size: 15px;
  line-height: 1;/*行高は1に*/
  padding: 5px 10px;/*文字周りの余白*/
}

@media screen and (max-width:768px){
  .theme-img-overlay{
    font-size:12px!important;
  }
}


.tokuten-img{
  width:100%;
}

@media screen and (max-width:991px){
  .tokuten-img{
    width:40%;
  }
}

@media screen and (max-width:768px){
  .tokuten-img{
    width:50%;
  }
}