@charset "UTF-8";

.sp {display: block;}
.pc {display: none;}

/*header
---------------------------------------------------------- */
header {
  height: 50px;
  min-width: 100%;
}
header .logo {
  margin-left: 20px;
}
header .logo h1 {
  height:32px;
}


/*-----------------------
  navigation
-----------------------*/
header .sp_menu {
  display: block;
  position: relative;
  width: 50px;
  height: 50px;
  background: #000;
  cursor: pointer;
  z-index: 20;
}
header .sp_menu button {
  display: block;
  width: 100%;
  height: 100%;
  transition: all .4s;
}
header .sp_menu button span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}
.block header .sp_menu button {
  position: relative;
  width: 100%;
  height: 100%;
  background: none;
  border: none;
}

header .sp_menu button span {
  position: absolute;
  left: 15px;
  width: 20px;
  height: 2px;
  background-color: #fff;
}
header .sp_menu button span:nth-of-type(1) { top: 18px;}
header .sp_menu button span:nth-of-type(2) { top:24px;}
header .sp_menu button span:nth-of-type(3) { bottom:18px;}

header .sp_menu button.active span:nth-of-type(1) {
  -webkit-transform: translateY(5px) rotate(-45deg);
  transform: translateY(5px) rotate(-45deg);
}
header .sp_menu button.active span:nth-of-type(2) {
  opacity: 0;
}
header .sp_menu button.active span:nth-of-type(3) {
  -webkit-transform: translateY(-7px) rotate(45deg);
  transform: translateY(-7px) rotate(45deg);
}

header nav {
  position: fixed;
  top: 0;
  right: 0;
  left:auto;
  display: block;
  width: 300px;
  height: 100vh;
  margin:0;
  padding: 100px 10px 0;
  background:rgba(255,255,255,0.9);
  border-left: #ccc solid 1px;
  transition: all .4s;
  transform: translate(300px);
  z-index: 10;
  box-sizing: border-box;
}
header nav.active {
  transform: translate(0);
}
header nav ul {
  display: block;
  margin: 0;
}
header nav ul li {
  width: 100%;
  margin:2em 0;
  text-align: center;
  font-size: 2.0rem;
}
header .entry a {
  display: block;
  width: 100%;
  height: inherit;
  padding: 10px 0;
}

/*main
---------------------------------------------------------- */
main {
  padding-top: 50px;
}
#about,#works,#env,#per,#app,#line {
  padding-top: 55px;
  margin-top: -55px;
}
main .block {
  width: calc(100% - 20px);
  margin: 0 auto;
  padding: 25px 0;
}

main .ttl {   font-size: 3.0rem;}
main .ttl span {
  margin: 5px 0 20px;
}
main .block .txt {  margin-bottom: 25px;}
main .block .txt p {
  margin: 0 5px 15px;
  line-height: 1.5;
  font-size: 1.5rem;
}


/*-----------------------
  #top
-----------------------*/

.news {
  padding: 15px;
  font-size: 1.2rem;
}
.news h3 {margin-right: 15px;}

#top {
  min-width: 100%;
  padding-top: calc(600 / 750 *100%);
  background: url(../img/img_main_sp.jpg) no-repeat center / cover;
}
#top .txt {
  width: 55%;
  margin-left: 22.5%;
  box-sizing: border-box;
}
#top .txt h2 {
  margin-bottom: 10px;
  font-size: 2.0rem;
}
#top .txt h2:after {
  margin-top: 5px;
  height: 5px;
}
#top .txt p {
  line-height: 1.5;
  font-size: 1.2rem;
}


/*-----------------------
  #about
-----------------------*/
#about dl {
  display: block;
}
#about dt {
  width: 100%;
  padding: 0 5px;
  border: none;
}
#about dd {
  width: 100%;
  padding: 0 5px 5px;
  margin-bottom: 10px;
  font-size: 1.3rem;
}


/*-----------------------
  #works
-----------------------*/
#works ul {
  display: block;
}

#works ul li {
  width: 100%;
  margin-right: 0;
  margin-bottom: 10px;
}


/*-----------------------
  #env
-----------------------*/
#env .inr {
  flex-wrap: wrap;
}
#env .txt {
  width: 100%;
  margin: 0 0 10px;
  padding: 15px;
}
#env .txt p {font-size: 1.4rem;}

#env ul {  width: calc(50% - 5px);}
#env li {
  margin-bottom: 10px;
  padding: 10px;
}
#env li h4 {font-size: 1.5rem;}
#env li p {  font-size: 2.0rem;}

#env ul.right {margin-left: 10px;}

#env .left li:nth-child(1) {
  padding: 13px 10px;
}
#env .left li:nth-child(2),
#env .right li:nth-child(3){
  padding: 5px;
}
#env .right li:nth-child(2) h4,
#env .right li:nth-child(2) p {
  display: inline-block;
}
#env .right li:nth-child(2) p.font13 {
  display: block;
  font-size: 1.0rem !important;
  letter-spacing: 0;
}
/*-----------------------
  #real
-----------------------*/
#real ol li {
  padding: 15px;
  margin: 0 5px 20px;
}
#real li h4 {
  font-size: 1.8rem;
}
#real li h4:before {
  margin-right: 10px;
  font-size: 2.4rem;
}

#real li p {
  font-size: 1.3rem;
}

/*-----------------------
  #app
-----------------------*/
#app table {
  margin-bottom: 20px;
  font-size: 1.2rem;
}
#app table th {width: 60px;}
#app table th, #app table td {
  display: block;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

#app .entry a {
  width: 100%;
  padding: 15px 0;
}

/* LINE */
#line a.pc {display: none;}

#line a img {
  width: 100%;
  margin: 20px 0;
}


/*-----------------------
  #license
-----------------------*/
#license ul {margin:  25px 0;}
#license ul li h4 {font-size: 1.2rem;}