@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Zen+Old+Mincho&display=swap');


html {
  /* スクロールをスムーズに */
    scroll-behavior: smooth;
    text-align: center;
  /* フォント */
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: 16px;
    font-style: normal;
    color: #333;
    background-color: #efefef;
  /* これが無いと.menuがはみでちゃう */  
    overflow-x: hidden;
    }

p {
    padding: 10px 0;
}
body {
    /* ページ遷移でふわっと表示するために必要 */
      display: none;
    }

/* シンプルなボタン */
a {text-decoration: none}
a:link.n-button,
a:visited.n-button,
a:hover.n-button,
a:active.n-button {
    color:#333;
}

header {
    background-color: #fefefe;
    width: 100%;
    position: sticky;
    top:0;
  /* フォント */
    color:#333;
    font-weight: bold;
}

nav {
    width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: nowrap;
    list-style: none;
}

/* リンク@ナビゲーション */
    nav a {
        width: 100%;
        padding: 10px;
        color:#333;
    }
    nav a:link,
    nav a:visited {
        background-color: #fefefe;
        transition : 1s;
        }
    nav a:hover,
    nav a:active {
        background-color: #efefef;
        transition : 1s;
        }

/* メインコンテンツ */
main {
    padding: 20px 0;
    margin: 50px auto;
    display: inline-block;
    text-align: left;
    width: 900px;
    background-color: #fefefe;
    border-radius: 12px;
    font-size: 16px;
  /* 行間　なぜかここじゃないと動かない */
    line-height: 1.6em ;
    }

h1 { /* 大タイトル */
    font-size: 36px;
    text-align: center;
    color: #ccc;
    margin:50px auto;
}

h2{/* タイトル */
    font-size: 21px;
    text-align: left;
	color: #aaa;
    margin: 30px 0 0 0;
    }

.novel-title {
    font-family: "Zen Old Mincho", serif;
    font-weight: 400;
    font-style: normal;
	color: #333;
}

h3 {
    display: inline-block;
    font-size: 0.65em;
    line-height: normal;
    font-weight: 400;
    margin-top:15px;
    padding:2px 5px;
    background-color: #333;
    color: #fefefe;
}

/* テキスト用のボックス */
.text-box {
    padding: 5px 50px;
    margin-bottom: 30px;
}

  /* リンク@テキストボックス */
.text-box a {
    font-weight: bolder;
    }
.text-box a:link,
.text-box a:visited {
    color: #dc143c;
    transition : 0.5s;
    }
.text-box a:hover,
.text-box a:active {
    color:#333;
    transition : 0.5s;
    }


/* 作品用のボックス */
.column2 {
    display: flex;
    padding: 5px 50px;
}
.works {
    display: inline-block;/* 2カラム用 */
    width:50%;
}
.works ul {
    list-style:none;
    padding: 0 10px;
    margin: 0 0 15px 0;
    }
.works li {
    padding: 3px 0;
    }

  /* リンク@worksボックス */
.works a {
    font-weight: normal;
    }
.works a:link,
.works a:visited {
    color:#333;
    transition : 0.5s;
    }
.works a:hover,
.works a:active {
    color: #dc143c;
    transition : 0.5s;
    }

.caption {
    font-size: 12px;
    line-height: 1rem;
    color: #aaa;
    }

/* 画像のサムネイル */
.thumbnail {
    width: auto;
    height: 150px;
    display: inline-block;
}


hr {/*区切り線*/
    border: none;
    border-top: 1px dashed #ddd;
    margin: 30px auto;
}

.mark {
    font-weight: bold;
    background-color: #efefef;
    padding: 0 5px;
}

.star_gray{
    color: #aaa;
}

.star_red{
    color: #dc143c;
}


/* めでぃあくえり */
@media screen and (max-width: 959px) {
    main {
        width: 100%;
        margin: 0 auto;
    }
    header {
        width: 100%;
    }
    nav {
        width: 100%;
    }
    /* 2カラム→1カラム用 */
    .column2 {
        display: block;
        padding: 5px 20px;
    }
    .works {
        display: block;
        border-bottom: 1px solid #efefef;
        width:100%;
    }

    .text-box {
        padding: 5px 20px;
        margin-bottom: 30px;
    }
}


/* 名前変換フォーム */
input {
    font-size: 0.8em;
    border: 1px solid #ccc;
}
button {
    font-size: 0.8em;
    border: none;
    border-radius: 16px;
    padding: 0 15px;
    background-color: #333;
    color: #fefefe;
}

button:hover {
    border: none;
    background-color: #ccc;
    color: #fefefe;
    transition : 1s;
}


/* テーブル */
table {
    font-size: 0.8em;
    width: 100%;
    }
td, th {
    padding: 5px;
    border-bottom: 1px solid #efefef;
    }


    /* フッターとフッターのボタン */
.footer {
    width: 100%;
    height: 160px; 
    text-align: center;
  /* 中央揃えのための表記 */
    display:flex;
    justify-content:center;
    align-items:center;
}

/* Waveboxのボタン */
.btn-gradient-radius {
    display: inline-block;
    padding: 7px 20px;
    border-radius: 25px;
    text-decoration: none;
    color: #eee;
    background-color: #333;
    transition: .8s;
    }
.btn-gradient-radius:hover {
    color: #333;
    background-color: #eee;
    }

/* ボタンのAnimation */
.btn-gradient-radius {
    animation: floating-y 1s ease-in-out infinite alternate-reverse;
  }
  @keyframes floating-y {
    0% {
      transform: translateY(-10%);
    }
    100% {
      transform: translateY(10%);
    }
  }


/* 区切りに入れる横長バナーカード */
.hero-baneer{
    width: 100%;
    height: 200px;
    background-color: #efefef;
    background: url(../img/banner-03.jpg) no-repeat 0 0 / cover;
}