/********************************** Tablet Layout **********************************/
@media all and (max-width: 959px) {
  
}





/********************************** Cellphone Layout **********************************/

@media all and (max-width: 559px) {

body{
  border: 8px solid transparent;
}
body:before{
  z-index: 2;
}

.sp_disp{
  display: block;
}
.pc_disp{
  display: none;
}
.pc_inline_disp{
  display: none;
}
#contact-finish p.sp_align{
  text-align: center;
}

main h2 {
  margin-bottom: 34px;
}

main section:nth-of-type(n + 2) {
  padding: 68px 18px 0 18px;
}

/*　hamburger menu button　*/
.hamburger {
  display : block;
  position: fixed;
  z-index : 4;
  left : 20px;
  top   : 8px;
  width : 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
}
.hamburger span {
  display : block;
  position: absolute;
  width   : 30px;
  height  : 2px ;
  left    : 6px;
  background : #ffffff;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition   : 0.3s ease-in-out;
  transition        : 0.3s ease-in-out;
}
.hamburger span:nth-child(1) {
  top: 10px;
}
.hamburger span:nth-child(2) {
  top: 20px;
}
.hamburger span:nth-child(3) {
  top: 30px;
}

/* スマホメニューを開いてる時のボタン */
.hamburger.active span:nth-child(1) {
  top : 16px;
  left: 6px;
  background :#fff;
  -webkit-transform: rotate(-45deg);
  -moz-transform   : rotate(-45deg);
  transform        : rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 16px;
  background :#fff;
  -webkit-transform: rotate(45deg);
  -moz-transform   : rotate(45deg);
  transform        : rotate(45deg);
}

/* メニュー背景　*/
nav.globalMenuSp {
  position: fixed;
  z-index : 3;
  display: block;
  top  : 0;
  left : -50%;
  color: #fff;
  background: #333333;
  text-align: center;
  width:50%;
  height: 100vh;
  transition: all 0.3s;
}
/* クリックでjQueryで追加・削除 */
nav.globalMenuSp.active {
  left: 0;
}

/* メニュー画像 */
nav.globalMenuSp ul {
  margin: 18vh auto 8vh auto;
  padding: 0;
  width: 100%;
  height: 52vh;
}

nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  transition: .4s all;
  margin-bottom: 10vh;
}

/* SNS画像 */
nav.globalMenuSp ul.sns {
  margin: 0 auto 18vh auto;
  padding: 0;
  display: flex;
  justify-content: center;
  height: 4vh;
}

nav.globalMenuSp ul.sns li {
  list-style-type: none;
  padding: 0;
  transition: .4s all;
  margin-bottom: 0;
  width:25%;
}

/********************************** header **********************************/  
header .inner {
  height: 56px;
}

header h1 img{
  width: 174px;
}

/***** メニュー *****/
header nav,
header .btn,
header .sns{
  display: none;
}

/********************************** main visual **********************************/
#hero {
  background: url(../images/hero/bg_hero_sp.png) 0/cover no-repeat;
  background-position: center, center;
  margin-left: -8px;
  margin-top: -8px;
}

#hero img{
  width: 85%;
  position: fixed;
  top: 50%;
  left: 50%;
  bottom:50%;
  z-index: 1;
  transform: translateY(-50%) translateX(-50%);
}

#hero .btn_to-about {
  width: 47px;
  height: 24px;
  background: url(../images/hero/btn_scroll_sp.png) center/cover no-repeat;
}

/********************************** about **********************************/
#about {
  text-align: justify;
}

#about p strong {
  padding-left: 0;
}

#about h2 img{
  width: 132px;
}

#about p strong {
  font-size: 42px;
  line-height: 1.28;
  font-weight: 300;
}

#about p:nth-of-type(n + 2) {
  margin-top: 32px;
  font-size: 16px;
  line-height: 1.8;
}

#about .about_title{
  text-align: center;
}

.skills{
  width: 100%;
  margin:39px auto 0
}

.skills img{
  width: 100%;
}

.skills figure{
  display: none;
}

#about .sp_disp{
  display: block;
}
/********************************** news **********************************/  
#news{
  padding-top: 64px;
}

#news h2{
  margin-bottom: 48px;
}

#news h2 img{
  width: 116px;
}

#news article h3{
  font-size: 18px;
  margin-bottom: 33px;
}

#news article time{
  font-size: 14px;
}

#news article{
  width: 100%;
  padding:34px 0;
}

#news article .content {
  width: 100%;
  align-self: center;
}

#news article p{
  font-size: 15px;
  text-align: justify;
  line-height: 1.86;
  margin-top: 33px;
}

#news article img{
  width: 252px;
  margin:0;
  text-align: center;
}
#news article .sp_news_img{
  text-align: center;
}
#news article.sp_disp.last {
    border-bottom: 1px solid #afd7f5;
}

#news article.sp_disp{
  display: block;
}
#news article.pc_disp{
  display: none;
}


/********************************** works **********************************/
#works h2{
  margin-bottom: 48px;
}

#works h2 img {
    width: 132px;
}

#works .inner{
  width: 100%;
  justify-content: space-between;
}

#works a{
  width: 48%;
}

/* #works a:first-child{
  margin-bottom: 15px;
} more 入れるなら*/

/* #works a:nth-of-type(n + 5),
#works a:nth-of-type(n + 2){
  margin:0 0 15px 0;
} */

#works a:nth-child(even){
  margin:0 0 15px 0;
}

#works a:nth-child(odd){
  margin:0 2% 15px 0;
}

.btn {
  background-color: #9C4C94;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  padding: 7px 22px;
  font-family: "Noto Sans JP";
}

/********************************** profile **********************************/
#profile h2{
  margin-bottom: 48px;
}

#profile h2 img{
  width: 132px;
}

#profile .inner{
  width: 100%;
  justify-content: center;
}

#profile .inner img{
  width: 252px;
  margin:0;
}

#profile dl{
  width: 100%;
}

#profile dd{
  font-size: 15px;
  line-height: 1.86;
  text-align: justify;
}

#profile dt{
  margin:53px auto 7px auto;
  text-align: center;
}

#profile .pc_disp{
  display: none;
}
#profile .sp_disp{
  display: block;
}

#profile .person-name{
  font-size: 20px;
  margin:0;
}

#profile .person_sub{
  margin:0 0 30px 0;
  font-size: 1.5rem;
}

/********************************** member **********************************/
#member{
  padding-top:68px;
}

#member h2{
  margin-bottom: 44px;
}

#member h2 img{
  width: 116px;
}

#member .member_pc {
  display: none;
}
#member .member_sp {
  display: block;
}
#member .member_sp p{
  font-size: 1.3rem;
  text-align: center;
  margin-left: 0;
}
#member .member_sp p .person-name{
  font-size: 1.5rem;
}

/********************************** outLine **********************************/
#outline{
  padding-top:68px;
  font-size: 1.5rem;
}
#outline h2{
  margin-bottom: 44px;
}
#outline h2 img{
  width: 116px;
}

#outline .outline_sp li{
  width: auto;
  height: 40px;
  margin-bottom: 8px;
  height: auto;
}
#outline .outline_sp li.title1{
  background-color:#ffebe1;
  padding:9px 12px;
  line-height: 1.5;
}

#outline .outline_sp li.title2{
  background-color: #e6e6e6;
  padding:9px 12px;
  line-height: 1.5;
}


#outline .outline_sp li.detail1{
  border:1px solid #ffebe1;
  padding:9px 12px;
  line-height: 1.5;
}

#outline .outline_sp li.detail2{
  border:1px solid #e6e6e6;
  padding:9px 12px;
  line-height: 1.5;
}


#outline .outline_sp{
  display: block;
}
#outline .outline_pc{
  display: none;
}

/********************************** contact **********************************/
.contact-area .form-area {
  width: 100%;
  margin: 42px auto 136px;
  font-size: 1em;
}

#contact{
  padding-top:68px;
  font-size: 1.5rem;
}
#contact h2{
  margin-bottom: 44px;
}
#contact h2 img{
  width: 132px;
}
.contact-area h3{
  font-size: 1.7rem;
}
.contact-area h3 + p{
  font-size: 1.4rem;
}

input, textarea{
  font-size: 1.3rem;
}
/********************************** footer **********************************/
footer{
  margin-bottom: -135px;
  z-index: 1;
}

footer small{
  padding-top: 3em;
  padding-bottom: 2em;
  font-size: 2em;
}
/********************************** confirm **********************************/
.contact-area #contact-confirm {
  width: 100%;
  margin: 42px auto 136px;
  font-size: 1em;
}
#contact-confirm{
  font-size: 1.5rem;
  padding: 68px 18px 0 18px;
}
#contact-confirm .btn_back{
  margin-left:0;
}
#contact-confirm .btn_submit{
  margin-right:32px;
}

#contact-confirm h2{
  margin-bottom: 44px;
}
#contact-confirm h2 img{
  width: 132px;
}
#contact-confirm h3 + p span{
  font-size: 1.1rem;
  color:red;
}
.contact-area h3{
  font-size: 1.7rem;
}
.contact-area h3 + p{
  font-size: 1.4rem;
}
input, textarea{
  font-size: 1.3rem;
}

/********************************** Thanks **********************************/
.contact-area #contact-finish {
  width: 100%;
  margin: 42px auto 136px;
  font-size: 1em;

}
#contact-finish{
  font-size: 1.5rem;
  padding: 68px 18px 0 18px;
}

#contact-finish h2{
  margin-bottom: 44px;
}
#contact-finish h2 img{
  width: 132px;
}
#contact-finish p{
  font-size: 1.4rem;
  text-align: justify;
}
#contact-finish h3 + p{
  font-size: 1.4rem;
}
.finish_footer{
  margin-bottom: 0;
}

}