@import 'https://unpkg.com/@acab/reset.css';
@layer reset, page, overrides;
@import '@acab/reset.css' layer(reset);

*, *::before, *::after {
  box-sizing: border-box;
}

body {
    font-family: sans-serif;
    font-size:16px;
    line-height: 1.7;
    background-color: #FFF6ED;
    color:#693D5E;
  }

a{
  text-decoration: none;
}

img{
  display:inline-block;
}

.Wrapper{
  max-width:100%;
  margin:0 auto;
}

  .Header{
    background-color: rgba(255, 246, 237, 0.904);
    /*z-index: 20;*/
    top:0;
    display:flex;
    position:sticky;
    width:100%;
    padding:12px;
    z-index: 100;
  }

  .Logo{

  }

  .Logo_image{
    width:88px;
    filter: invert(15%) sepia(95%) saturate(6932%) hue-rotate(315deg) brightness(27%) contrast(112%);
  }

  .Main{
    padding:24px;
  }

  .openbtn1{
    display:none;
    position: relative;
    margin-left:auto;
    z-index: 1000;
    cursor: pointer;
    width: 50px;
    height:50px;
    border-radius: 5px;
    span{
      display: inline-block;
      transition: all .4s;
      position: absolute;
      left: 14px;
      height: 3px;
      border-radius: 2px;
    background: #693D5E;
      width: 22px;
      &:nth-of-type(1){
        top:15px; 
      }
      &:nth-of-type(2){
        top:23px; 
      }
      &:nth-of-type(3){
        top:31px; 
      }
    }
    &.active{
      span{
        &:nth-of-type(1){
          top: 18px;
          transform: translateY(6px) rotate(-45deg);
          width: 22px;
        }
        &:nth-of-type(2){
          opacity: 0;
        }
        &:nth-of-type(3){
        top: 30px;
        transform: translateY(-6px) rotate(45deg);
        width: 22px;
        }
      }
    }
  }

  .openbtn1::after{
    content: "menu";
    text-align: center;
    top:40px;
    left:1px;
    position:relative;
  }

  .GlobalMenu{
    margin-left:auto;
  }
  
  .GlobalMenu_menu{
    display:flex;
  }

  .GlobalMenu_item{
    margin:12px 0px 12px 32px;
    display: list-item;
    list-style-type: square;
    a{
      /* display:block; */
    }
  }

  .PageTitle{
    position: relative;
    padding: 1rem;
    color: #693D5E;
    font-size: 32px;
    text-align: center;
    width: fit-content;
    margin:0 auto;
    text-transform: capitalize;
  }

  .PageTitle:nth-child(n+2){
    margin-top:48px;
  }

  .PageTitle:before,
  .PageTitle:after {
      position: absolute;
      top: 48%;
      width: 2rem;
      border-top: 2px dashed;
      content: '';
  }
  
  .PageTitle:before {
      left: -1.5rem;
  }
  
  .PageTitle:after {
      right: -1.5rem;
  }

  .SubTitle{
    font-size:24px;
    margin:24px 0;
  }

.WorksList{
  display:flex;
  flex-wrap:wrap;
}

.WorksList_item{
  width:calc(100%/3);
  }

.WorksList_imageWrapper{
  display: inline-block;
  width:100%;
  a{
    display:block;
  }
}

.WorksList_image{
  vertical-align:top;
  object-fit: cover;
  aspect-ratio: 1/1;
  width:100%;
}

.ArticleList{
}

  .ArticleList_item{
    display: flex;
    align-items: center;
    margin:24px 0;
  }

.ArticleList_imageWrapper{
  display: inline-block;
  width: 30%;
}

.ArticleList_image{
  object-fit: cover;
  aspect-ratio: 1/1;
  width:100%;
}

.ArticleList_text{
  display:inline-block;
  width:100%;
}

.ArticleList_title{
  font-size: 20px;
  a{
    padding:24px 0;
  }
}

.ArticleList_metaData{
    display: flex;
    justify-content: space-between;
}

.DoodleList,.PixelArtList{
  display:flex;
}

.DoodleList_item,.PixelArtList_item{
  display: inline-block;
  width:calc(100%/3 - 6px);
  margin:6px;
}

.PixelArtList_item{
  background-color: #EAC8BF;
  display:flex;
  width:calc(100%/3 - 6px);
  margin:6px;
  padding:6px;
}

.DoodleList_itemImage{
  object-fit: cover;
  aspect-ratio: 1/1;
  width:100%;
}

.PixelArtList_itemImage{
  margin:auto;
}

.Article_title{
  font-size: 24px;
}

.Article_metaData{
  display: flex;
}

.Article_category{
  margin-left:auto;
}

.Article_text{
  padding:12px;
  p{
    font-size:16px;
    margin:32px 0;
  }

  img{
    max-width:75%;
    margin:12px auto 24px;
    display: block;
  }

  h2{
    font-size: 20px;
    margin:24px 0;
  }

  h3{
    font-size: 18px;
  }

  ul{
    list-style:square;
    margin:12px auto 24px;
    margin-left:24px;
  }
  blockquote{
    background-color: #EAC8BF;
    padding:24px;
    p{
      margin:0;
    }
  }
  a{
    color:#BF7E8C;;
  }
}

.Content{
  max-width:800px;
  margin:24px auto;
}

.Sns{
  margin:24px auto;
}

.Sns_list{
  display:flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items:center;
}

.Sns_item::before{
  padding-top:50%;
  content: "";
  display: block;
}

.Sns_item{
  width:28%;
  margin:0 6px 12px;
  background-color: #EAC8BF;
  display:flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items:center;
}

.Profile{
  display:block;
  margin:24px auto;
}

.Profile_image{
  width:100%;
  img{
    width:100%;
  }
}

.Profile_text{
  padding:0;
  width:100%;
  p{
    font-size:16px;
    margin:0;
    margin-top:12px;
  }

  img{
    max-width:75%;
    margin:0 auto;
    display: block;
  }

  h2:first-of-type{
    margin-top:0;
  }

  h2{
    font-size: 20px;
    margin-top:32px;
  }

  h3{
    font-size: 16px;
    margin-top:6px;
  }

  ul{
    list-style:square;
    margin:0 auto;
    margin-top:12px;
    margin-left:24px;
  }
  blockquote{
    background-color: #EAC8BF;
    padding:24px;
    p{
      margin:0;
    }
  }
  a{
    color:#BF7E8C;;
  }
}

.Footer{
  background-color: #EAC8BF;
  text-align: center;
  margin-top:48px;
  padding:24px;
}

.Footer_snsList{
  display:flex;
  gap:12px;
  width:fit-content;
  margin:0 auto 24px;
}

.form{
  text-align:center;
  margin:24px auto;
}

.form_body{
  background-color: #ffa9bc;
}

.form_title{
  font-size: 24px;
}

.form_textarea{
  display:block;
  margin:12px auto;
  border-style: none;
  border-radius: 6px;
  resize:none;
  padding:6px 12px;
  font-size:16px;
  width:280px;
  height:100px;
}

.form_button{
  display:block;
  margin:24px auto;
  padding:6px 12px 5px;
  border-style: none;
  border-radius: 6px;
  background-color: #693D5E;
  color:#fff;
}

.turnstile{
  margin:12px auto;
  width:280px;
}

@media screen and (min-width:768px){
  .WorksList_item{
    width:calc(100%/4);
    }

  .DoodleList_item,.PixelArtList_item{
    width:calc(100%/4 - 6px);
    }

  .ArticleList_item{
    margin:32px 0;
  }

  .Logo_image{
    width:120px;
  }

  .GlobalMenu_item{
    margin:12px 0px 12px 48px;
  }

  .Profile{
    display:flex;
  }
  
  .Profile_image{
    width:50%;
    img{
      width:100%;
    }
  }
  
  .Profile_text{
    padding:24px;
    width:50%;
  }
  
  .Sns_item{
    width:18%;
  }
}

  @media (prefers-color-scheme: dark){
      body{
        background-color: rgb(64, 70, 82);
        color:#fff;
      }

      .Header{
        background-color: rgba(64, 70, 82, 0.904);
        z-index: 20;
      }

      .Logo{
        filter: brightness(0) invert(1);
      }

      .openbtn1{
        span{
        background: #fff;
        }
      }

      .PageTitle{
        color:#fff;
      }

      .Article_text{
        a{
          color: rgb(94, 217, 255);
        }
        blockquote{
          background-color: #252931;
        }
      }

      .Sns_item{
        background-color: #252931;
      }

      .Footer{
        background-color: #252931;
      }

  }