body {
  background-color: #ECEBF2;
  font-family: "Noto Sans jp", serif;
  margin: 0;
  padding-top: 50px;
}

h1 ,h2 ,h3 ,h4 {
  font-family: "Notable";
}

a {
  text-decoration: none;
  color: #000;
}

ul {
  list-style: none;
}

/*メニュー*/

/* ヘッダーsp425px以下 */
#navSp {
  background-color: #fff;
  height: 50px;
  border-bottom: solid 1px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
}

#navSp .navSpContainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#navSp .dummy {
  width: 50px;
}

#navSp h1 {
  font-size: 20px;
}

#navSp .menu-btn {
  background-color: black;
  color: #fff;
  font-family: "Notable";
  text-decoration: none;
  padding: 3px;
  margin-right: 3%;
  z-index: 999;
}

#navSp button:hover {
  background-color: #fff;
  color: black;
  cursor: pointer;
}

.overlay {
  background-color: #484848;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 99;
  pointer-events: none;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

#navSp .navList {
  font-family: "Notable";
  font-size: 40px;
  text-align: center;
  padding: 0;

  /*navListは一旦非表示、メニューボタンを押したら表示にする*/
}

#navSp .navList .navItem {
  margin-bottom: 20px;
}

#navSp .navList .navContact {
  margin-top: 50px;
}

#navSp .navList a {
  color: #fff;
}

header {
  display: none;
}

/*firstview*/
.firstview {
  background-image: url(images/portforio_ticket_sp.png);
  background-repeat: no-repeat;
  aspect-ratio: 340 /470;
  background-size: 94%;
  background-position: top center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 10px 0 ;
  justify-content: space-around;
}

.firstview .nameArrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.firstview .nameArrow .container {
  margin: 20% 0;
}

.firstview .nameArrow .container .text {
  margin: 0;
  color: #fff;
  font-family: "Notable";
  font-size: 14px;
}

.firstview .nameArrow .container .nameFv {
  font-family:"Rubik Glitch", system-ui;
  font-size: 32px;
  color: #fff;
  margin: 0;
}

.allowScroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10%;
  animation: arrow-animation 1.5s infinite ease-in-out;
}

.allowScroll p {
  color: #fff;
  margin: 4px;
  font-size: 14px;
  font-family: "Notable";
}

.allowScroll .allow {
  font-size: 32px;
  font-weight: bolder;
  border: solid 2px #fff;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 50%;
}

@keyframes arrow-animation {
  0%, 100%{
    transform: translateX(0);
  }
  50%{
    transform: translateY(5px);
  }
}

.navFv {
  margin: 10% 0;
}

.navFv ul{
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
}

.navFv ul li {
  font-family: "Notable";
  font-size: 16px;
  margin: 0 8%;
}

.navFv ul li :hover {
  opacity: 0.5;
}

/*firtview320px以下の場合*/
@media (max-width:320px){
  .navFv{
    margin: 20% 0;
  }
}


/*firstview425px以上の場合*/
@media (min-width:425px) {
 .firstview .nameArrow .container .text {
    font-size: 16px;
  }

  .firstview .nameArrow .container .nameFv {
    font-size: 36px;
  }

  .allowScroll p {
    font-size: 16px;
  }

  .navFv ul li {
    font-size: 20px;
  }

}

/*firstview600px以上768px以下の場合*/
@media(min-width:600px) {
  body {
    padding: 0;
  }
  .firstview .nameArrow .container .text {
    font-size: 18px;
  }

  .firstview .nameArrow .container .nameFv {
    font-size: 50px;
  }

  .allowScroll p {
    font-size: 18px;
  }

  .navFv ul li {
    font-size: 24px;
  }
}


/*works*/
.headingName {
  font-size: 20px;
  text-align: center;
  border-bottom: solid #000 ;
  width: 95%;
  margin: 10px 2.5%;
}

.worksContent {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.worksContent :hover {
  opacity: 0.8;
}

.worksContent a {
  width: 90%;
  height: auto;
  margin-bottom: 5%;
  padding-bottom: 10px;
  border-bottom: solid 1px;
}

.worksContent .website {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 5px auto;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.7) ;
  aspect-ratio: 16 / 9;
}

.worksContent .banner {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 5px auto;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.7) ;
  aspect-ratio: 6 / 5;
}

.worksContent .tags {
  display: flex;
}

.worksContent .tags .tag {
  font-size: 10px;
  margin: 0 10px 0 0;
}

.worksContent h3 {
  font-size: 16px;
  margin: 0;
  text-decoration: underline;
}

.worksContent .worksText {
  font-size: 14px;
  margin: 5px 0;
}

/*about*/
.profileConcise {
  width: 90%;
  margin: 0 auto 20px auto;
}

.profileConcise img {
  width: 100%;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.7) ;
}

.profileConcise .profileConciseText .nameEn {
  font-size: 10px;
  margin: 0 0 -5px 0;
  text-align: center;
}

.profileConcise .profileConciseText h3 {
  font-size: 16px;
  margin: 0;
  text-align: center;
}

.profileConcise .profileConciseText .prText {
  font-size: 14px;
}

.profileConcise a {
  display: flex;
  justify-content: center;
}

.profileConcise button {
  font-size: 10px;
  background-color: #000;
  color: #fff;
  padding: 7px 5px;
}

.profileConcise button:hover {
  color: #000;
  background-color: #fff;
  cursor: pointer;
}

/*footer*/
footer {
  background-color: #fff;
  border-top: solid 1px;
  padding-left: 10px;
}

footer h1 {
  font-size: 20px;
}

.footerNav ul {
  padding: 0;
}

.footerNav ul li p {
  color: #000;
  font-size: 14px;
  font-family: "Notable";
  margin: 5px 0;
  text-align: left;
}

.footerContact p {
  color: #000;
  font-family: "Notable";
  font-size: 14px;
  margin: 0;
  text-align: left;
}

.footerContact a {
  font-size: 14px;
  
}

footer p {
  color: #818181;
  font-size: 10px;
  text-align: center;
}


/*768px(タブレットサイズ)*/
@media (min-width:768px){
  body {
    padding-top: 100px;
  }
/*header*/
    #navSp {
    display: none;
    }

  header {
    display: flex;
    height: 100px;
    background-color: #fff;
    border-bottom: solid 1px #000;
    justify-content: space-between;
    align-items: center;
    padding: 0 3%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
    background-color: #fff;
  }

  header h1 {
    font-size: 32px;
    margin: 0;
    color: #000;
  }

  header nav ul {
    display: flex;
    font-size: 24px;
    font-family: "Notable";
    padding: 0;
    margin: 0;
  }

  header nav ul li {
    margin-left: 30px;
  }

  header nav ul li a:hover {
    opacity: 0.7;
  }

  /*firstview*/
  .firstview > * {
  margin: 0;
  display: initial; /* displayをリセットする場合 */
 }

  .firstview {
    background-image: url(images/portforio_ticket.png);
    aspect-ratio: 3439 / 1275;
    display: flex;
    flex-direction: row;
  }

  .firstview .nameArrow {
    transform: translateX(6%);
  }

  .firstview .nameArrow .container {
    margin: 5% 0;
  }

  .allowScroll {
    margin-top: 0;
  }

  .firstview .nameArrow .container .text {
    font-size: 18px;
  }

  .firstview .nameArrow .container .nameFv {
    font-size: 50px;
  }

  .navFv {
    transform: translateY(-20%);
  }

  .navFv ul {
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .navFv ul li {
    font-size: 24px;
    margin: 5%;
  }


  /*works*/
  .headingName {
    font-size: 32px;
  }

  .worksContent a{
    display: flex;
    align-items: center;
    width: 70%;
    margin: 10px;
    padding: 0 0 20px 0;
  }

  .worksContent .website {
    width: 40%;
    display: block;
    margin: 0;
  }

  .worksContent .banner {
    width: 30%;
    display: block;
    margin: 0 5% 0 5%;
  }

  .worksContent .tagText {
    margin-left: 65px;
  }

  .worksContent .tags .tag {
   font-size: 12px;
   margin: 0 10px 0 0;
  }

  .worksContent h3 {
   font-size: 20px;
   margin: 0;
  text-decoration: underline;
  }

  .worksContent .worksText {
   font-size: 16px;
   margin: 5px 0;
  }

  /*about*/
  .profileConcise {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .profileConcise img {
    width: 60%;
  }

  .profileConcise .profileConciseText .nameEn {
    font-size: 12px;
  }

  .profileConcise .profileConciseText h3 {
    font-size: 20px;
  }

  .profileConcise .profileConciseText .prText {
    font-size: 16px;
  }

  .profileConcise button {
    font-size: 12px;
  }

  /*footer*/
  footer {
    padding: 0 3%;
  }

  footer h1 {
    font-size: 32px;
  }

  .footerContent {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  .footerNav  ul{
    margin: 0;
  }

  .footerNav ul li p {
  font-size: 20px;
 }

.footerContact p {
  font-size: 20px;
 }

.footerContact a {
  font-size: 16px;
  
 }

footer p {
  font-size: 16px;
 }
}




/*1024px以上ノートパソコンサイズ*/
@media (min-width:1024px) {
  /*firstview*/
    .firstview .nameArrow {
    transform: translateX(6%);
  }

  .firstview .nameArrow .container {
    margin: 10% 0;
  }

  .firstview .nameArrow .container .text {
    font-size: 24px;
  }

  .firstview .nameArrow .container .nameFv {
    font-size: 65px;
  }

  .profileConcise img {
    width: 45%;
  }

  .profileConcise .profileConciseText {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: auto 0 auto 5%;
  }

  .navFv ul {
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .navFv ul li {
    font-size: 32px;
    margin: 5%;
  }

  .profileConcise {
    display: flex;
    flex-direction: row;
    width: 70%;
  }

}

/*1440px以上デスクトップサイズ*/
@media (min-width:1440px) {

  /*firstview*/
  .firstview {
    width: 70%;
    display: flex;
    margin: 2% 15%;
  }

  .firstview .nameArrow .container .text {
    font-size: 27px;
  }

  .firstview .nameArrow .container .nameFv {
    font-size: 75px;
  }

  .worksContent .tagText {
    margin-left: 65px;
  }

  .worksContent .tags .tag {
  font-size: 16px;
  margin: 0 10px 0 0;
  }

  .worksContent h3 {
  font-size: 28px;
  margin: 0;
  text-decoration: underline;
  }

  .worksContent .worksText {
  font-size: 20px;
  margin: 5px 0;
  }

  /*about*/
  .profileConcise .profileConciseText .nameEn {
    font-size: 16px;
  }

  .profileConcise .profileConciseText h3 {
    font-size: 28px;
  }
  .profileConcise .profileConciseText .prText {
    font-size: 20px;
  }

  .profileConcise button {
    font-size: 16px;
  }

}