@charset "UTF-8";
/* Scss Document */
html {
  font-size: 62.5%;
  height: 100%; }

body {
  font-family: 'Noto Sans JP',"Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
  font-size: 1.6rem;
  font-weight: 300;
  color: #333;
  line-height: 1.4;
  letter-spacing: 1px;
  height: 100%; }

p {
  margin: 8px 0; }

a {
  color: #333;
  transition: 0.2s; }

a:hover {
  opacity: 0.6;
  transition: 0.2s; }

h1, h2, h3 {
  font-family: 'Josefin Sans', sans-serif; }

h2 {
  display: inline-block;
  border-bottom: 3px solid #bbbeca;
  margin: 24px 0 16px; }

h3 {
  margin: 16px 0 8px; }

em {
  text-decoration: underline;
  font-style: normal; }

ul, ol, dl {
  margin: 24px 0; }

ul.yoko {
  display: flex; }
  ul.yoko li {
    margin-right: 16px; }

input {
  border: none;
  border-bottom: 1px solid #bbbeca; }

input[type="submit"] {
  cursor: pointer; }

.btn {
  background-color: #e3e6e1;
  border: 1px solid #bbbeca;
  margin: 16px 0; }

/*---------------------------------
横幅設定
---------------------------------*/
@media screen and (min-width: 1024px) {
  header, footer {
    width: 1024px;
    margin: 0 auto; } }
/*---------------------------------
ヘッダー
---------------------------------*/
header {}
  @media screen and (min-width: 1024px) {
    header {
      display: flex;
      justify-content: space-between; }}
  /*サイト名*/
  header h1 {
    font-family: 'M PLUS 1p', sans-serif; 
    margin: 24px; 
    text-shadow: 1px 1px 2px silver;}
    header h1 a {
      text-decoration: none; }
    @media screen and (max-width: 1023px) {
      header h1 {
        margin: 32px 0 0;
        text-align: center; } }

  /*ドロップダウンメニュー*/
.nav_wrapper {
  display: flex;
  background-color: #fff;
  list-style: none;
  justify-content:center;
  padding: 0; }
}
  @media screen and (max-width: 1023px) {
    .nav_wrapper span {
      margin: 32px 0; } 
      }
  .nav_wrapper ul li span {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
    padding: 0 16px; }
    @media screen and (max-width: 1023px) {
      .nav_wrapper ul li {
        padding: 0 8px; } }
    .nav_wrapper ul li a {
      text-decoration: none; }
.primary_nav {
  margin: 0 auto;
}
.primary_nav > li {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 700;
  float: left;
  position: relative;
}
.primary_nav > li span {
  display: block;
  list-style: none;
  margin: 40px 0 24px;
  padding: 0; 
  transition: all 0.2s;
}
.primary_nav > li:hover span {
  opacity: 0.6;
  transition: 0.2s;
}
.secondary_nav {
  position: absolute;
  left: 12px;
  top: 60px;
   display: none;
  z-index: 1;
}
.secondary_nav li a {
  display: block;
  height: 30px;
  padding: 0 20px;
  font-size: 1.2rem;
  line-height: 30px;
  background-color: #fff;
  border-bottom: 1px solid #999;
  transition: all 0.2s;
}
.secondary_nav li:last-child a {
  border: none;
}
.secondary_nav li a:hover {
  background-color: #dfdfdf;
}

/*---------------------------------
トップ画像
---------------------------------*/
.topimg {
  margin-bottom: 48px; }
  .topimg img {
    margin: 0 auto; }
  @media screen and (max-width: 1023px) {
    .topimg {
      height: 30vh; }
      .topimg img {
        height: 100%;
        object-fit: cover; } }

/*---------------------------------
メイン
---------------------------------*/
main {
  padding: 0 24px;
 }
  @media screen and (min-width: 1024px) {
    main {
      width: 1024px;
      margin: 24px auto; } }
  @media screen and (max-width: 1023px){
    main{
      padding:0 8px;
    }
  }
  main section {
    margin: 24px 0; }

  /*イラスト*/
  main #illust, main .illust{
          display: grid;
          grid-template-columns: repeat(auto-fit, 226px);
          gap:24px;
          grid-auto-rows:226px;
  }
  @media screen and (max-width: 1023px){
          main #illust, main .illust{
                  grid-template-columns: repeat(auto-fit, calc(50vw - 12px));
                  gap:8px;
                  grid-auto-rows:calc(50vw - 12px);
          }
  }

    /*イラストサムネイル*/
      main #illust .thumbs img, main .illust .thumbs img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 0.2s; }

  /*コンテンツ*/
  @media screen and (min-width: 1024px) {
    main #contents {
      display: flex; }
      main #contents .left, main #contents .right {
        width: 50%; }
      main #contents .right{
        padding-left: 24px; }
      }
  @media screen and (max-width: 1023px) {
    main #contents {
      padding: 0 8px; } }
  /*sns*/
  main #contents .left .sns {
    display: flex;
    margin: 16px 0; }
    main #contents .left .sns a img {
      transition: 0.2s; }
      main #contents .left .sns a img:hover {
        opacity: 0.6;
        transition: 0.2s; }
    main #contents .left .sns i {
      font-size: 30px;
      margin-left: 8px; }
    main #contents .left .sns .twitter i {
      color: #55acee; }
    main #contents .left .sns .facebook i {
      color: #315096; }
    main #contents .left .sns .instagram i {
      color: #e1306c; }

  /*Contact*/
  main #contents .right .contact input {
    margin-bottom: 8px; }
  main #contents .right .contact textarea {
    width: 100%;
    height: 100px; }

  /*項目付きリスト*/
  main #contents .gridlist {
    display: grid;
    grid-template-columns: auto 1fr; }
    main #contents .gridlist dt {
      border-right: 1px solid #bbbeca;
      padding-right: 8px;
      margin-bottom: 8px; }
    main #contents .gridlist dd {
      padding-left: 8px; }

/*---------------------------------
フッター
---------------------------------*/
footer {
  position: relative;
  text-align: center; }
  /*クレジット*/
  footer small {
    padding: 16px 0; }
  /*矢印*/
  footer .totop {
    position: absolute;
    right: 24px;
    bottom: 0; }
    @media screen and (max-width: 1023px) {
      footer .totop {
        right: 5px;
        bottom: -16px; } }
    footer .totop i {
      font-size: 2rem; }

/*---------------------------------
　イラスト個別ページ
---------------------------------*/
.illustIndiv {
  position: relative;
  height: 100%; }
  .illustIndiv img {
    max-height: 100%;
    margin: 0 auto; }

  /*タイトル、キャプション*/
  .illustIndiv h2, .illustIndiv p {
    display: block;
    max-width: 800px;
    margin: 24px auto;
    border: none; }
    @media screen and (max-width: 1023px) {
      .illustIndiv h2, .illustIndiv p {
        padding: 0 8px; } }
  .illustIndiv h2 {
    font-size: 2rem; }
  .illustIndiv p {
    margin-bottom: 64px; }

  /*前へ、次へ*/
  .illustIndiv .prev, .illustIndiv .next {
    position: absolute;
    top: 50%;
    margin-top: -2rem; }
    @media screen and (max-width: 1023px) {
      .illustIndiv .prev, .illustIndiv .next {
        top: auto;
        margin-bottom: 24px; } }
    .illustIndiv .prev i, .illustIndiv .next i {
      font-size: 4rem; }
      @media screen and (max-width: 1023px) {
        .illustIndiv .prev i, .illustIndiv .next i {
          font-size: 3rem; } }
  .illustIndiv .prev {
    left: 5%; }
    @media screen and (max-width: 1023px) {
      .illustIndiv .prev {
        left: 3%; } }
  .illustIndiv .next {
    right: 5%; }
    @media screen and (max-width: 1023px) {
      .illustIndiv .next {
        right: 3%; } }
