@charset "UTF-8";

   /* ------------------------main------------------------ */

#main #main_visual {
    width: 100%;
    height: auto;
    min-height: 100vh;
    background:url("../images/main.jpg");
    background-size: cover;
    background-position: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position:relative;
}

 .heroimage {
  width: 80%;
  margin:10% auto;
  text-align: center;
  position: relative;
}

.heroimage__height:before {
  content: "";
  display: block;
  padding-top: 145%;
}

.heroimage__img {
    position: absolute;
    width: 100%;
    top: 40px;
    right: 0;
    left: 0;
  }

.heroimage h1 {
    font-size:2.0rem;
    color:#000;
    letter-spacing:4px;
    line-height:130%;
    margin-bottom:15px;
    z-index: 100;
    position: absolute;
    top:0;
    right: 0;
    left:0;
}
.heroimage h1 span {
    margin:10px 0 0 0;
    padding:0;
    font-size:1.4rem;
    letter-spacing:2px;
    display:block;
    line-height: 2.0rem;
}

.heroimage #main_title {
  width: 100%;
  margin: 15px auto 10px auto;
  padding: 0;
  font-size: 1.6rem;
  line-height: 140%;
  letter-spacing: 2px;
}

.heroimage #main_lead {
    width:100%;
/*    margin:0 auto 60px auto;*/
    margin:0 auto 100px auto;
    padding:10px 0 0 0;
    line-height:170%;
    text-align: justify;
    text-justify: inter-word;
}

@media screen and (min-width: 481px) {
  .heroimage {
   width:90%;
/*   max-width: 900px;*/
    max-width: 820px;
    margin:100px auto 0;
 }

 .heroimage__height:before {
   padding-top: 78%;
 }

 .heroimage__img {
     top: 0;
   }

 .heroimage h1 {
/*   font-size: 2.0rem;*/
font-size: 2.4rem;
   color: #000;
   letter-spacing: 4px;
   line-height: 130%;
   margin-bottom: 20px;
   position: absolute;
   top: -50px;
   right: 0;
   left: 0;
 }
 .heroimage h1 span {
    margin:10px 0 0 0;
    padding:0;
    font-size:1.6rem;
    letter-spacing:2px;
    display:block;
    line-height: 2.4rem;
}

 .heroimage #main_title {
     font-size:1.8rem;
 }

.heroimage #main_lead {
  text-align: center;
  text-justify: auto;
  font-size:1.2rem;
 }
/*
.itemarea__line {
  max-width: 200px;
  width: 40%;
  margin:50px auto 30px;
  background-color: #000;
  height: 1px;
}*/
}

   /* ------------------------detail_container------------------------ */

#detail_container {
    width:100%;
    margin:0 auto 100px auto;
}
#detail_container #name {
    margin:0 0 20px 0;
    text-align:center;
}
#detail_container #name h2 {
    font-size:1.8rem;
    line-height:140%;
    letter-spacing:2px;
}

#detail_container #name h2::before {
  content: '(';
  margin-right:10px;
}
#detail_container #name h2::after {
  content: ')';
  margin-left:10px;

}

#detail_container #name p {
    font-size:1.4rem;
    line-height:140%;
    letter-spacing:2px;
}
#detail_container>div {
    margin:0 auto 100px auto;
}
#detail_container>div figure {
    margin:0 auto 15px auto;
}
#detail_container>div p {
    margin:0 auto;
}
#detail_container .credit {
    margin-top:15px;
    text-align:center;
}

#detail_container .credit li {
  margin-bottom:10px;
}

#detail_container .credit span {
    margin:0 0 0 10px;
    padding:3px 7px;
    background:#a9a9a9;
    display:inline-block;
    line-height:100%;
}
#detail_container>div h3 {
    margin:0 auto 5px auto;
    font-size:1.4rem;
    line-height:140%;
    letter-spacing:2px;
    text-align:center;
}
#detail_container #img01 {
    width:100%;
}

#detail_container #img01.img01_01 {
  display: flex;
  flex-direction: column;
}

#detail_container #img01 .img01_01 figure {
  width: 80%;
  margin:50px auto 0;
}

#detail_container #img02 p {
    width:90%;
}
#detail_container #img03 {
    width:90%;
}
#detail_container #img03 figure {
    width:80%;
}
#detail_container #img04 {
    width:90%;
}
#detail_container #img_box{
    width:100%;
}
#detail_container #img05 {
    width:90%;
    margin:0 auto 50px auto;
}
#detail_container #img05 figure {
    width:80%;
}
#detail_container #img06 {
    width:90%;
    margin:0 auto 50px auto;
}
#detail_container #img06 figure {
    width:80%;
}
#detail_container #img07 {
}

.code_staff {
    margin: 100px auto 50px;
}

footer {
  margin: 80px 10% 60px 10%;
}

footer a {
    margin: 0 auto;
    display: block;
    max-width: 370px;
    text-align: center;
}
footer .code_staff a {
    color: #fff;
    background-color: #000;
    font-size: 12px;
    padding: 10px 0;
    text-decoration: none;
}

footer a.pagetop img {
    max-width: 20px;
    text-decoration: none;
    margin: 0 auto 50px auto;
  }

/*-----------------------------------------------------------------------------------

PC

-----------------------------------------------------------------------------------*/
@media screen and (min-width: 481px) {


   /* ------------------------main------------------------ */

#main #main_visual {
    width:980px;
    height:640px;
    min-height: auto;
    margin:0 auto;
    background:url("../images/main_pc.jpg");
   background-size: 100%;
}

.itemarea__line {
  max-width: 120px;
  width: 40%;
  margin: 120px auto 50px;
}

   /* ------------------------detail_container------------------------ */
   #detail_container #img01 {
       width:90%;
   }

   #detail_container #img01 .img01_01 figure {
     width: 60%;
   }

   #detail_container .credit {
       text-align:center;
   }


#detail_container {
/*    max-width:980px;*/
    max-width:620px;
}
#detail_container>div>p {
    text-align:center;
}
#detail_container #img_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
     -ms-flex-pack: justify;
   justify-content: space-between;
}
#detail_container #img05 {
    width:45%;
}
#detail_container #img05 figure {
    width:100%;
}
#detail_container #img06 {
    width:45%;
}
#detail_container #img06 figure {
    width:100%;
}

footer a {
    max-width: 350px;
}
}
