@charset "utf-8";
/*---------------------- Main Contents ------------------------*/
/* 横向き */
@media screen and (orientation: landscape) {
  #mainContents {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  #mainContents .main_illust img {
    position: absolute;
    height: 80vh;
    top: 9vh;
    left: 50%;
    margin-left: -48vh;
    z-index: 1;
  }
  #mainContents .castletown_illust img {
    position: absolute;
    height: 20vh;
    width: auto;
    top: -20vh;
    left: 50%;
    margin-left: -43vh;
    z-index: 2;
  }
  #mainContents .castletown_logo img {
    position: absolute;
    height: 20vh;
    width: auto;
    top: -20vh;
    left: 50%;
    margin-left: -65vh;
    z-index: 50;
  }
  #mainContents .bishoptown_illust img {
    position: absolute;
    height: 7vh;
    width: auto;
    top: -7vh;
    left: 50%;
    margin-left: 29vh;
    z-index: 3;
  }
  #mainContents .bishoptown_logo img {
    position: absolute;
    height: 20vh;
    width: auto;
    top: -20vh;
    left: 50%;
    margin-left: 36vh;
    z-index: 51;
  }
  #mainContents .cloud_illust1 img {
    position: absolute;
    height: 7vh;
    width: auto;
    top: 12vh;
    left: 50%;
    margin-left: -50vh;
    z-index: 4;
  }
  #mainContents .ship_illust1 img {
    position: absolute;
    height: 7vh;
    width: auto;
    top: 70vh;
    left: 50%;
    margin-left: 40vh;
    z-index: 5;
  }
  #mainContents .ship_illust2 img {
    position: absolute;
    height: 7vh;
    width: auto;
    top: 55vh;
    left: 50%;
    margin-left: -60vh;
    z-index: 6;
  }
  #mainContents .airplane_illust1 img {
    position: absolute;
    height: auto;
    width: 18vh;
    top: 12vh;
    left: -18vh;
    z-index: 7;
  }
  #mainContents .airplane_illust2 img {
    position: absolute;
    height: auto;
    width: 18vh;
    top: 79vh;
    right: -18vh;
    z-index: 8;
  }
}
/* 縦向き タブレット */
@media screen and (orientation: portrait) and (min-width: 768px) {
  #mainContents {
    position: fixed;
    width: 100%;
    overflow: hidden;
  }
  #mainContents .main_illust img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    margin-top: -50%;
    margin-left: -40%;
    z-index: 1;
  }
  #mainContents .castletown_illust img {
    position: absolute;
    height: auto;
    width: 14%;
    top: -18.5%;
    left: 50%;
    margin-left: -28%;
    z-index: 2;
  }
  #mainContents .castletown_logo img {
    position: absolute;
    height: auto;
    width: 19%;
    top: -19%;
    left: 50%;
    margin-left: -45%;
    z-index: 50;
  }
  #mainContents .bishoptown_illust img {
    position: absolute;
    height: auto;
    width: 9%;
    top: -8.2%;
    left: 50%;
    margin-left: 14%;
    z-index: 3;
  }
  #mainContents .bishoptown_logo img {
    position: absolute;
    height: auto;
    width: 19%;
    top: -19%;
    left: 50%;
    margin-left: 19%;
    z-index: 51;
  }
  #mainContents .cloud_illust1 {
    position: absolute;
    top: 50%;
    width: 100%;
  }
  #mainContents .cloud_illust1 img {
    position: absolute;
    height: auto;
    width: 14%;
    left: 50%;
    margin-left: 25%;
    margin-top: -49%;
    z-index: 4;
  }
  #mainContents .ship_illust1 {
    position: absolute;
    top: 50%;
    width: 100%;
  }
  #mainContents .ship_illust1 img {
    position: absolute;
    height: auto;
    width: 20%;
    right: 7%;
    margin-top: 46%;
    z-index: 5;
  }
  #mainContents .ship_illust2 {
    position: absolute;
    top: 50%;
    width: 100%;
  }
  #mainContents .ship_illust2 img {
    position: absolute;
    height: auto;
    width: 8%;
    left: 20%;
    margin-top: 39%;
    z-index: 6;
  }
  #mainContents .airplane_illust1 img {
    position: absolute;
    height: auto;
    width: 20%;
    top: 7vh;
    left: -20%;
    z-index: 7;
  }
  #mainContents .airplane_illust2 {
    position: absolute;
    top: 50%;
    width: 100%;
  }
  #mainContents .airplane_illust2 img {
    position: absolute;
    height: auto;
    width: 20%;
    margin-top: 25%;
    right: -20%;
    z-index: 8;
  }
}
/* 縦向き スマホ */
@media screen and (orientation: portrait) and (max-width: 767px) {
  #mainContents {
    position: fixed;
    width: 100%;
    overflow: hidden;
  }
  #mainContents .main_illust img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 96%;
    margin-top: -65%;
    margin-left: -48%;
    z-index: 1;
  }
  #mainContents .castletown_illust img {
    position: absolute;
    height: auto;
    width: 17.3%;
    top: -22.8%;
    left: 50%;
    margin-left: -33%;
    z-index: 2;
  }
  #mainContents .castletown_logo img {
    position: absolute;
    height: auto;
    width: 19.2%;
    top: -19.2%;
    left: 50%;
    margin-left: -46%;
    z-index: 50;
  }
  #mainContents .bishoptown_illust img {
    position: absolute;
    height: auto;
    width: 10.8%;
    top: -9.8%;
    left: 50%;
    margin-left: 16%;
    z-index: 3;
  }
  #mainContents .bishoptown_logo img {
    position: absolute;
    height: auto;
    width: 19.2%;
    top: -19.2%;
    left: 50%;
    margin-left: 22%;
    z-index: 51;
  }
  #mainContents .cloud_illust1 {
    position: absolute;
    top: 50%;
    width: 100%;
  }
  #mainContents .cloud_illust1 img {
    position: absolute;
    height: auto;
    width: 14%;
    left: 50%;
    margin-top: -65%;
    margin-left: 25%;
    z-index: 4;
  }
  #mainContents .ship_illust1 {
    position: absolute;
    top: 50%;
    width: 100%;
  }
  #mainContents .ship_illust1 img {
    position: absolute;
    height: auto;
    width: 23.4%;
    right: 7%;
    margin-top: 56%;
    z-index: 5;
  }
  #mainContents .ship_illust2 {
    position: absolute;
    top: 50%;
    width: 100%;
  }
  #mainContents .ship_illust2 img {
    position: absolute;
    height: auto;
    width: 9%;
    left: 18%;
    margin-top: 44%;
    z-index: 6;
  }
  #mainContents .airplane_illust1 img {
    position: absolute;
    height: auto;
    width: 23.5%;
    top: 10px;
    left: -23.5%;
    z-index: 7;
  }
  #mainContents .airplane_illust2 {
    position: absolute;
    top: 50%;
    width: 100%;
  }
  #mainContents .airplane_illust2 img {
    position: absolute;
    height: auto;
    width: 23.5%;
    margin-top: 20%;
    right: -23.5%;
    z-index: 8;
  }
}
/*---------------------- CORPORATE PROFILE ------------------------*/
#profile {
  padding: 40px 40px 40px;
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.9);
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  display: none;
}
#profile h2 {
  text-align: center;
  font-size: 2.0em;
  margin: 0 auto 40px;
  font-family: 'Roboto Condensed', sans-serif;
  color: #dc0032;
  letter-spacing: 0.05em;
}
#profile dl {
  max-width: 980px;
  margin: 0px auto;
  border-top: 1px solid #CCC;
  letter-spacing: 0.1em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
#profile dt {
  padding: 20px 0;
  font-weight: 700;
  line-height: 150%;
  width: 150px;
  text-align: center;
  border-bottom: 1px solid #CCC;
}
#profile dd {
  border-bottom: 1px solid #CCC;
  padding: 20px 0;
  line-height: 150%;
  width: calc(100% - 150px);
}
#profile dd ul {
  padding-left: 1.5em;
}
#profile dd ul li {
  margin-bottom: 0.5em;
}
#profile dd ul li:last-child {
  margin-bottom: 0;
}
/* 縦向き タブレット */
@media screen and (orientation: portrait) and (min-width: 768px) {
  #profile {
    padding: 90px 40px 40px;
  }
}
/* 横向き スマホ */
@media screen and (orientation: landscape) and (max-width: 767px) {
  #profile {
    padding: 25px 60px 20px;
  }
  #profile h2 {
    font-size: 1.4em;
    margin: 0 auto 20px;
  }
  #profile dt {
    padding: 15px 0;
    font-size: 0.9em;
    width: 110px;
  }
  #profile dd {
    padding: 15px 0;
    font-size: 0.9em;
    width: calc(100% - 110px);
  }
}
/* 縦向き スマホ */
@media screen and (orientation: portrait) and (max-width: 767px) {
  #profile {
    padding: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    transition: all 0.5s ease-in-out 0.0s;
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;
    bottom: 0;
    left: -100%;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
  }
  #profile.active {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0px;
  }
  #profile .inner {
    padding: 65px 20px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #profile h2 {
    font-size: 1.6em;
    margin: 0 auto 15px
  }
  #profile dt {
    width: 100px;
    text-align: center;
    border-bottom: 1px solid #CCC;
    font-size: 0.9em;
    padding: 15px 0;
  }
  #profile dd {
    width: calc(100% - 100px);
    font-size: 0.9em;
    padding: 15px 0;
  }
}