/*
Theme Name: Spangle Simple
Author: You
Version: 1.0
Description: テキストサイト用
*/

@charset "UTF-8";

html {
  background: transparent;
  font-size: 14px;
	-webkit-text-size-adjust: 100%; 
}
body {
  background: url('img/design33.jpg') center 70% / cover fixed no-repeat #000000;
  color: #ffffff;
  font-size: 14px;
  font-family: 'Sawarabi Mincho', serif;
  letter-spacing: 0.2em;
  line-height: 180%;
}
a {
  text-decoration: none;
  transition: 0.5s;
}
h1 {
  color: #000000;
  font-size: 4rem;
  text-align: center;
}
h2 {
  margin: 0.5em 0em;
  font-size: 1.2em;
}
h3 {
  margin: 0.5em;
}
em {
  border-bottom: solid 1px #ff9537;
}
ol,ul,dl {
  list-style: none;
}
input,textarea,button,select {
  background: rgba(0,0,0,0.6);
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 100%;
}
textarea {
  padding: 0.5em;
}

/* 小説本文設定 */
.text {
  line-height: 200%;
}
.text p {
  margin-bottom: 1.5em;
}

main ul.wp-block-list {
  list-style: disc;
  padding-left: 2em;
  margin: 1em 0;
}
main ol.wp-block-list {
  list-style: decimal;
  padding-left: 2em;
  margin: 1em 0;
}
main li {
  margin-bottom: 0.5em;
}

/* 段落設定 */
p {
  padding: 0em 1em;
}
section {
  margin: 2em 0em;
}

/* メインコンテンツ設定 */
main,nav {
  background: rgba(0,0,0,0.5);
}
main {
  display: block;
  padding: 3em;
  margin: 3em auto;
  width: 50%;
  min-width: 600px;
}
main a {
  color: #ff9537;
}

/* ヘッダー、ナビゲーション設定 */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90vh;
}
header h1 {
  padding-bottom: 2em;
  font-family: serif;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
nav {
  position: sticky;
  top: 0;
  padding: 1em;
}
nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
nav li {
  margin: 0.5em 2em;
}
nav li a {
  padding: 0.5em;
  color: #f3fffd;
  transition: 0.5s;
}
nav li a:hover {
  color: #999999;
}

/* 小説本文設定 */
.text {
  line-height: 200%;
}
.text p {
  margin-bottom: 1.5em;
}

/* 前後の記事リンク */
.post-nav {
  display: flex;
  justify-content: space-between;
  padding: 0 1em;
  margin-top: 2em;
}
.post-nav a {
  color: #ff9537;
}

/* パンくず */
.breadcrumb {
  padding: 0 1em;
  font-size: 0.9em;
  opacity: 0.8;
}
.breadcrumb a {
  color: #ff9537;
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  gap: 1em;
  padding: 1em;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  color: #f3fffd;
  padding: 0.3em 0.6em;
}
.pagination .current {
  border-bottom: solid 1px #ff9537;
}

/* スマホ用 */
@media screen and (max-width: 699px) {
  html {
    font-size: 13.5px;
  }
  body {
    background: #000000;
    font-size: 1.1rem;
  }
  h1 {
    color: #ffffff;
  }
  em {
    border-bottom: solid 1px #774a1e;
    font-style: normal;
  }
  input,textarea,button,select {
    border: solid 1px #ffffff;
  }
  textarea {
    padding: 0.1em;
    width: 95%;
  }
  section {
    margin: 1em 0em;
  }
  main {
    display: block;
    padding: 1rem;
    margin: 0em auto;
    width: 90%;
    max-width: 500px;
min-width: 0;  /* ← これを追加 */
    background: rgba(0,0,0,0.7);
  }
  main a {
    color: #aab980;
  }
  header {
    background: url('img/design33.jpg') center 90% / 200% no-repeat #000000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 30vh;
  }
  header h1 {
    padding-bottom: 2em;
    font-size: 1.5em;
    writing-mode: initial;
  }
  nav {
    position: sticky;
    top: 0;
    padding: 1em 0em;
    background: rgba(0,0,0,0.5);
    font-size: 1.2rem;
  }
  nav li {
    margin: 0.2em 0.5em;
  }
  nav li a {
    color: #ffd67e;
  }
  .wrap {
    background: url('img/design33.jpg') center bottom / 200% no-repeat fixed;
  }
  .text {
    padding: 2rem 1rem;
    box-sizing: border-box;
    line-height: 200%;
  }
}

.toutoi-area{
    text-align:center;
    margin:50px 0 30px;
}

.toutoi-button{

    border:none;
    border-radius:30px;

    padding:12px 30px;

    cursor:pointer;

    font-size:13px;

    transition:.25s;

}

.toutoi-button:hover{

    transform:scale(1.08);

}

.toutoi-button.done{

    opacity:.75;

    cursor:default;

}

