﻿@charset "utf-8";
/* フォントの読み込み */
@import url('https://fonts.googleapis.com/css2?family=Simonetta&family=Lavishly+Yours&family=Shippori+Mincho:wght@400;700&display=swap');

/* 全体設定 */
* {
  font-family: Simonetta, 'Shippori Mincho', serif;
  color: #262626;
  /* ★全体の文字色 */
  font-size: 10pt;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 2.0em;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  list-style-type: none;
  text-decoration: none;
  scroll-behavior: smooth;
}

body {
  width: 100vw;
  overflow-x: hidden;
}

/* 全体の背景 */
body:before {
  background-image: linear-gradient(150deg, rgba(234, 237, 247, 0.7), rgba(222, 205, 221, 1) 75%, rgba(107, 156, 206, 0.7));
  /* ★背景のグラデーション色 */
  background-size: cover;
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -99;
  width: 100%;
  height: 100vh;
}

.wrap {
  max-width: 750px;
  min-height: 100vh;
  padding: 40px 25px 0;
  margin: 50px auto 30px;
}

/* リンク文字 */
a {
  transition: 0.2s;
  background-color: rgba(255, 255, 255, 0.8);
  /* ★リンク文字の背景色 */
}

a:hover {
  background-color: #A78CA9;
  /* ★リンク文字をホバーした時の背景色 */
  color: #FFF;
  /* ★リンク文字をホバーした時の文字色 */
}

/* 強調文 */
strong {
  font-weight: 700;
  border-bottom: 1px solid #262626;
  /* ★強調文の下線の色 */
}

/* ヘッダーメニュー */
header {
  width: 100%;
  text-align: center
}

.nav {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 15px;
  font-family: 'Simonetta';
}

.nav li a {
  font-size: 14px;
  background-color: transparent;
}

.nav li a:hover {
  background-color: transparent;
  color: #A78CA9;
  /* ★ヘッダーメニューをホバーした時の文字色 */
}

/* 子ページ */
.child-wrap {
  padding-top: 0;
  margin-top: 40px;
}

.child-nav {
  width: 100%;
  border: 1px solid #262626;
  /* ★子ページのメニューを囲む線の色 */
  padding: 5px 0;
  gap: 10%;
}

/* サイトタイトル */
.ttl {
  width: 100%;
  height: 75px;
  position: relative;
  margin-bottom: 10px;
}

.square {
  width: 200px;
  height: 75px;
  border: 1px solid #262626;
  /* ★TOPページタイトルの四角い枠線の色 */
  background-color: transparent;
  margin: 0 auto;
}

h1 {
  font-family: "Lavishly Yours", cursive;
  white-space: nowrap;
  font-size: 45px;
  /* ★TOPページタイトルの文字サイズ（英語） */
  letter-spacing: 0;
  position: absolute;
  top: -40%;
  left: 49%;
  transform: translate(-50%, 0) rotate(-10deg);
  -webkit-transform: translate(-50%, 0) rotate(-10deg);
  -ms-transform: translate(-50%, 0) rotate(-10deg);
}

.ja {
  font-size: 9pt;
  /* ★TOPページタイトルの文字サイズ（日本語） */
  display: block;
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
}

/* 更新履歴 */
.update {
  width: fit-content;
  max-width: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  /* ★更新履歴の背景色 */
  padding: 10px 30px;
  margin: 40px auto 50px;
  font-family: 'Simonetta';
}

/* 見出し */
h2 {
  font-family: "Lavishly Yours", cursive;
  font-size: 22px;
  text-align: center;
  position: relative;
  margin-bottom: 40px;
  font-weight: normal;
}

h2:after {
  content: '';
  width: 15px;
  height: 1px;
  background-color: #262626;
  /* ★h2見出しの下線の色 */
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
}

h3 {
  font-size: 14px;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 4px double #262626;
  /* ★h3見出しの二重下線の色 */
  width: fit-content;
  margin: 20px 0 5px;
}

/* メインコンテンツ */
main {
  width: 100%;
  margin: 50px auto 30px;
}

/* セクション（見出し＋本文のセット） */
.section {
  width: 100%;
  margin: 0 auto 60px;
  padding: 0 5%;
}

.section li:nth-child(odd):before {
  font-family: "Font Awesome 6 Free";
  content: '\f3a5';
  padding: 5px;
  color: #A78CA9;
}

.section li:nth-child(even):before {
  font-family: "Font Awesome 6 Free";
  content: '\f3a5';
  padding: 5px;
  color: #6b9cce;
}

ul,
p {
  margin: 0 0 2em;
}

/* 入力フォームと送信ボタン */
input[type="text"],
input[type="radio"],
input[type="button"],
input[type="reset"],
input[type="submit"],
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  -webkit-box-shadow: none;
  appearance: none;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.4);
  /* ★入力フォームの背景色 */
  padding: 3px 6px;
  border-radius: 0;
  color: #262626;
  /* ★入力フォームの文字色 */
  border: none;
  width: 34em;
  height: 8.0em;
  margin-top: 10px;
}

input:focus,
textarea:focus {
  outline: none;
  height: 8.0em;
  background: rgba(255, 255, 255, 0.8);
  /* ★入力フォームをフォーカスした時の文字色 */
}

input[type="submit"] {
  width: auto;
  height: 2.2em;
  background-color: #262626;
  /* ★送信ボタンの背景色 */
  color: #FFF;
  /* ★送信ボタンの文字色 */
  padding: 0 15px;
  cursor: pointer;
  transition: 0.2s;
}

input[type="submit"]:hover {
  background-color: #A78CA9;
  /* ★送信ボタンをホバーした時の背景色 */
  color: #FFF;
  /* ★送信ボタンをホバーした時の文字色 */
}

/* 名前変換フォーム */
.dream {
  width: 100%;
  text-align: center;
  margin-bottom: 50px;
}

.dream input {
  width: 8em;
  height: 30px;
  margin-right: 10px;
  padding: 2px 5px 1px;
  line-height: normal;
}

.dream input[type="submit"] {
  width: auto;
  padding: 0px 10px;
  line-height: normal;
}

/* 小説一覧 */
.long {
  width: 100%;
  border: 1px solid #262626;
  /* ★長編小説の枠線の色 */
  padding: 20px 30px;
}

.long+.long {
  margin-top: 20px;
}

/* フッター */
footer {
  text-align: center;
  margin: 120px auto 60px;
  font-size: 11px;
}

/* 500px以下のデバイスでの見え方 */
@media screen and (max-width: 500px) {
  .wrap {
    margin: 20px auto 30px;
  }

  .child-wrap {
    margin-top: 20px;
  }

  main {
    margin-top: 30px;
  }

  .section {
    padding-left: 5%;
    padding-right: 5%;
  }

  input[type="text"],
  input[type="radio"],
  input[type="button"],
  input[type="reset"],
  select,
  textarea {
    width: 100%;
    margin-bottom: -30px;
  }

  input[type="submit"] {
    font-size: 12px;
  }

  .dream input {
    width: 8em;
  }

  .code {
    margin-bottom: 0;
  }
}