/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}
::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}
::selection {
  background: #b3d4fc;
  text-shadow: none;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
textarea {
  resize: vertical;
}
.hidden,
[hidden] {
  display: none !important;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}
.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}
.invisible {
  visibility: hidden;
}
.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}
.clearfix::after {
  clear: both;
}

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}
@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}
@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]::after {
    content: " (" attr(href) ")";
  }
  abbr[title]::after {
    content: " (" attr(title) ")";
  }
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}


html {
  margin: 0;
  padding: 0;  
  font-size: 62.5%; 
  color: #231815;    
}
body{
  margin: 0;
  padding: 0;
  font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Mincho Pro",HGS明朝E,
  "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
}
a{
  text-decoration: none;
  color: #333;
}
.wrapper{
  width:980px;
  margin: 0 auto;
  font-size:1.5rem;
}
.wrapper img{
  width:100%;
}
#global-navi {
    background:#fff;
    position: fixed;
    top: 0;
    right: 0px;
    width: 100%;
    z-index:2;
}
.navi{
  width:1080px;
  margin: 0 auto;  
  font-size: 1.2rem;
  background-color: #fff;
  padding:2.5rem 0 0.5rem 0;
}
.container{
  display: flex;
 justify-content: flex-end;  
  width: 100%;
}
.item{
  margin:0 0.8rem;
}
.item:first-child{
margin-right: auto;
} 
.item:first-child img{
  width:350px;
}
.item02 img{
  width: 18px;
}
.bg_black{
  background-color: #231815;
}
.bg_gray{
  background-color: #C9CACA;
  color:#231815;
  border-top:solid 3.5rem #231815;
  padding-bottom: 8rem;
}
ul{
  margin: 0;
  padding: 0;
}
p{
  font-size: 1.5rem;
}
h1{
  color: #fff;
  text-align: center;
  padding:10px 0;
}
h2,
h3{
  font-weight: bold;
  color: #231815;  
}
h2{
  font-size:2.4rem;
  padding:1rem 0 ;
  border-bottom: solid 8px #231815;    
}
h2 span{
  font-size:1.8rem;
  margin-left:2rem; 
}
h3{
  font-size:2rem;  
  padding:1rem 0 ;
  border-top: solid 5px #231815;
  border-bottom: solid 5px #231815;  
}
h3 span{
  font-size:1.6rem;
  margin-left:2rem;   
}
h4{
  font-size:2rem;    
  padding:1rem 0 1rem 1rem;
  color:#fff;
  background-color:#898989 ;
}
h5{
  font-size: 1.5rem;
}

/*----------------
index.html
-----------------*/
.wrapper_top{
  width:1000px;
  margin: 0 auto;
  font-size:1.5rem;
}
.wrapper_top img{
  width:100%;
}
h1{
  font-size:2rem; 
  padding:2rem 0 4rem 0; 
}
.toppage{
  padding-top:8rem ;
}
.mv {
  position: relative;
  overflow: hidden;
  height: 60vh;
}
.slider{
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-color: #000;
}
.slider .image{
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: anime 15s 0s infinite; /* ②で設定したanimation-delayをスライド数で割った時間をdelay(15s)に入れる */
  opacity: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
/*
  ②画像の数ごとに animation-delay を設定します。
　下記では、5秒間隔で切り替わるように設定しています。
*/
.slider .image:nth-of-type(1){
  background-image: url(../img/mv1.jpg);
}
.slider .image:nth-of-type(2){
  animation-delay: 5s;
  background-image: url(../img/mv2.jpg);
}
.slider .image:nth-of-type(3){
  animation-delay: 10s;
  background-image: url(../img/mv3.jpg);
}
.slider .image:nth-of-type(4){
  animation-delay: 15s;
  background-image: url(../img/mv4.jpg);
}
@keyframes anime {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

/*----------------
display.html
-----------------*/
.sign_display_procedure{
  width:55%;
  margin:0 auto;
  text-align: center;
}
.sign_display_procedure h4{
margin:1rem 0 0 0;
}
.under_arrow{
  margin:0 auto;
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-top: #595757 solid 25px;
}

/*----------------
about.html
-----------------*/
.about dl{
  width:80%;
  margin: 5rem auto;
  border-top: solid 2px #231815;  
}
.about dl > div {
  font-size:1.5rem;
    display: flex;
    flex-wrap: wrap;
}
.about dt {
    text-align: center;  
    width: 200px;
}
.about dd {
    flex: auto;
}
.about dl div{
  padding:2rem 0;
  border-bottom: solid 2px #231815;   
}
.movie{
  padding:1rem 0;
  clear:both;  
  text-align: center;
}




/*----------------
access.html
-----------------*/
.access {
    display: flex;

}
.access ul {
    width:50%;
}


/*----------------
form.html
-----------------*/
.bg_white{
  background-color: #fff;
  border-top:solid 3.5rem #231815;
  padding-bottom: 8rem;
}
.form dl{
  width:80%;
  margin: 5rem auto; 
}
.form dl > div {
  font-size:1.5rem;
    clear:both;
}
.form dt {
  float:left;
    width: 30%;
}
.form dd {
  float:left;
    width: 60%;
}
.form dl div{
  padding:3rem 0; 
}

.form dt span{
  color:#fff;
  background-color: #E4007F;
  padding:0.5rem 1rem;
  margin-left: 2rem;
}
.form button{
    clear: both;
  background:none;
  box-shadow: none;
  color:#fff;  
  border: none;
}
.form textarea{
  height:10rem;
  width: 100%;
  margin-bottom: 5rem;
}
.form .send_btn p{
  clear: both;
  color:#fff;
  padding:0.5rem 1rem; 
  background-color: #231815;
  width: 5rem;   
    text-align: center;
  margin: 0 auto;   
}



.footer{
  clear:both;
  color:#fff;
  text-align: center;
  background-color: #231815;
  padding:1.5rem 0;
}

/* ページTOPに戻る */
.pagetop{
    display: none;
    position: fixed;
    right: 15px;
    bottom: 60px;
}
.pagetop a{
    display: block;
    font-size: 0;
    width: 50px;
    height: 50px;
    text-align: center;
    background: #231815;
    border-radius: 50%;
    line-height: 50px;
}
.pagetop a i{
    font-size: 20px;
    color:#fff;
    line-height: 50px;
}