@charset "UTF-8";

/* 共通部分
--------------------*/
html{
  font-size: 100%;
}
body{
  font-family: "Yu Gothic Medium","游ゴシック Medium",YuGothic,"游ゴシック体","ヒラギノ角ゴ Pro W3",sans-serif;
  line-height: 1.7;
  color: #432;
  background-color: #fff;
}
a{
  text-decoration: none;
  color: #432;
  }
a:hover{
  color: #0bd;
  }
img{
  max-width: 100%;
}
.wrapper{
  margin: 0 auto;
  padding: 0 4%;
}

/* HEADER
--------------------*/
header{
  width: 100%;
  height: 50px;
  background: #fff;
  padding: 5px 0;
  box-sizing: border-box;
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
h1{
  font-family: "まきばフォント",MakibaFont;
  font-size: 1.5rem;
}
.main-nav{
  display: flex;
  font-size: 1rem;
  text-transform: none;
  list-style: none;
}
.main-nav li{
  font-family: "Ink Free",inkfree;
  font-weight: bold;
  margin-left: 36px;
}

.hamburger-menu{
  display: none;
}

/*大きな背景画像*/
.main-image{
  background-position: center;
  background-repeat: no-repeat;
}

/* FOOTER
--------------------*/
footer{
  background: #432;
  text-align: center;
  padding: 26px 0;
}
footer img{
  width: 1.2rem;
  height: auto;
}
.sns{
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  align-items: center;
}
footer p{
  color: #fff;
  font-size: 0.875rem;
}

/* index GRID
--------------------*/
.grid{
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
h3{
  font-size: 0.9rem;
}
.item p{
  font-family: Calibri;
  font-size: 0.9rem;
}

/* about
--------------------*/
.about{
  display: flex;
  justify-content: space-between;
}
.prof h2{
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  position: -webkit-sticky;
  position: sticky;
  top: 50px;
  background-color: #dcdcdc;
}
.prof small{
  font-size: 0.9rem;
  font-weight: bold;
}
.prof ul{
  list-style-type: none;
  margin-bottom: 0.8rem;
}
.prof li{
  font-size: 0.9rem;
}
.prof{
  background-color: #dcdcdc;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  width: 48%;
}
table{
  font-size: 0.9rem;
}

/* works
--------------------*/
.works{
  display: flex;
  justify-content: space-between;
}
article{
  margin-top: 50px;
  margin-bottom: 1.5rem;
  padding: 1.5rem 1.5rem 0 1.5rem;
  background-color: #dcdcdc;
  width: 74%;
}
article iframe{
  width: 100%;
}
.works h2{
  font-size: 1.1rem;
  margin-top: 0.9rem;
  margin-bottom: 0.9rem;
  position: -webkit-sticky;
  position: sticky;
  top: 50px;
  background-color: #dcdcdc;
}
.works p{
  font-size: 0.9rem;
}
aside{
  font-size: 0.9rem;
  margin-top: 50px;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #dcdcdc;
  width: 22%;
  line-height: 1.8;
}

/* contact
--------------------*/
.contact{
  display: flex;
  justify-content: space-between;
}
.contact article{
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background-color: #dcdcdc;
  width: 74%;
}
article iframe{
  width: 100%;
}
.contact aside{
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background-color: #dcdcdc;
  width: 22%;
}


/* モバイル版
--------------------*/
@media (max-width: 600px) {

 /* HEADER */
 header{
   display: none;
 }

 .hamburger-menu{
   display: block;
 }
 .menu-btn {
     position: fixed;
     top: 10px;
     right: 10px;
     display: flex;
     height: 60px;
     width: 60px;
     justify-content: center;
     align-items: center;
     z-index: 90;
     background-color: #0bd;
 }
 .menu-btn span,
 .menu-btn span:before,
 .menu-btn span:after {
     content: '';
     display: block;
     height: 3px;
     width: 25px;
     border-radius: 3px;
     background-color: #ffffff;
     position: absolute;
 }
 .menu-btn span:before {
     bottom: 8px;
 }
 .menu-btn span:after {
     top: 8px;
 }
 #menu-btn-check:checked ~ .menu-btn span {
     background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
 }
 #menu-btn-check:checked ~ .menu-btn span::before {
     bottom: 0;
     transform: rotate(45deg);
 }
 #menu-btn-check:checked ~ .menu-btn span::after {
     top: 0;
     transform: rotate(-45deg);
 }
 #menu-btn-check {
     display: none;
 }
 .menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #0bd;
    transition: all 0.5s;/*アニメーション設定*/
}
.menu-content ul {
    padding: 70px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}
#menu-btn-check:checked ~ .menu-content {
    left: 0;/*メニューを画面内へ*/
}
.menu-content li{
  font-family: "Ink Free",inkfree;
}

 /* WORKS */
 .works{
   flex-direction: column;
 }
 article,aside{
   width: 100%;
 }
 .works h2{
   font-size: 1.1rem;
   margin-top: 0.9rem;
   margin-bottom: 0.9rem;
   position: -webkit-sticky;
   position: sticky;
   top: 0;
   background-color: #dcdcdc;
 }
 /* ABOUT */
 .about{
   flex-direction: column;
 }
 .prof{
   width: 100%;
 }
 .prof h2{
   font-size: 1.1rem;
   margin-bottom: 0.8rem;
   position: -webkit-sticky;
   position: sticky;
   top: 0;
   background-color: #dcdcdc;
 }
/* CONTACT */
.contact{
  flex-direction: column;
}
.contact article{
  width: 100%;
}
.contact aside{
  display: none;
}

/* FOOTER */
.sns{
  display: none;
}

}
