.color_memo {
  background-color: #FE8E7C;
  /* うすピンク系 */
  background-color: #CC3C25;
  /* 濃い赤系 */
  background-color: #13201C;
  /* 黒系 */
  background-color: #F2D694;
  /* 黄色系 */
  background-color: #D85F57;
  /* ピンク系 */
  background-color: #689552;
  /* 緑系 */
  background-color: #477D86;
  /* 紺系 */
  background-color: #FD4238;
  /* 赤系 */
}

body {
  font-family: 'Noto Sans JP', sans-serif, Arial;
  margin: 0;
  padding: 0;
  /* background-color: #4682B4; */
  background-color: #6EA4CA;
}

header {
  /* background-color: #67A7CC; */
  /* background-color: #6EA4CA; */
  background-color: #4682B4;
  /* padding: 20px 60px; */
  /* height: 250px; */
}

/* ヘッダーイラストのスタイル */
.header-image {
  width: 500px;
  height: 180px;
  object-fit: cover;
  cursor: grab;
}

/* フッターイラストのスタイル */
.create-story-image-wrapp {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.image-container {
  position: relative;
  top: -80px;
}

.create-story-image,
.create-story-word-image {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  height: 300px;
  /* object-fit: cover; */
}

.main-container {
  display: flex;
}

.menu-image {
  width: 100%;
  bottom: 0px;
  position: absolute;
}

.menu-wrapper {
  text-align: end;
}

.sidebar-menu-btn {
  color: #fff;
}

.menu {
  position: fixed;
  top: 0;
  right: -100%;
  /* 初期状態でメニューを画面右外に隠す */
  width: 30%;
  /* メニューの幅（画面の半分） */
  height: 100vh;
  background-color: #F2D694;
  color: #fff;
  transition: right 0.3s ease-in-out;
  /* アニメーションの設定 */
}

.menu.active {
  right: 0;
  /* メニューが表示される位置 */
  z-index: 6;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* 半透明の背景色 */
  z-index: 5;
  display: none;
}

.overlay.active {
  display: block;
}

.close-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  display: none;
  z-index: 7;
  color: #F69896;
  font-size: 24px;
  /* 閉じるボタンのフォントサイズを設定 */
}

.close-icon:hover {
  color: #CC3C25;
}

.sidebar-menu-btn:hover {
  background-color: #305B64;
}

.sidebar .home_icon-close_icon a {
  display: contents;
  color: #fff;
}

.side_top_post_area {
  text-align: center;
  margin-top: 50px;
}

.side_top_post_area .btn_general {
  display: inline-block;
  padding: 7px 13px;
  color: #fff;
}

.side_top_post_area .create-story-link {
  background-color: #F69896;
  text-align: left;
  margin: 0px 5px;
}

ul {
  list-style: none;
}

.menu-list {
  display: contents;
}

.menu-list>li {
  border-top: 1px solid #becad1;
}

.menu-list>li:hover {
  background-color: #477D86;
}

.menu-list>li:first-child {
  border-top: none;
}

.menu-list>li>a {
  position: relative;
}

.sidebar a {
  display: block;
  color: #13201C;
  padding: 10px 30px 10px 20px;
  text-decoration: none;
  outline: 0;
}

.main-title {
  font-family: 'Alegreya Sans', sans-serif;
  color: #F69896;
  font-size: 80px;
  text-shadow: 2px 3px 0px #fff;
  margin-left: 20px;
}

.left-side {
  margin: 20px;
}

.right-side {
  margin: 20px;
}

.footer-text {
  text-align: center;
}

.footer-ads {
  position: relative;
  z-index: 100;
  text-align: center;
  margin-top: 50px;
}

/* 当サイトについて欄 */
#aboutContainer {
  display: none;
}

.header-container {
  /* display: flex;
  justify-content: space-between; */
}

.header {
  background-color: #FE8E7C;
  color: #fff;
  padding: 10px 0;
  text-align: center;
  text-decoration: underline;
  border-radius: 5px;
  height: 50px;
}

.header a {
  color: #fff;
  font-weight: bolder;
  font-size: 18px;
}

.header a:hover {
  color: #477D86;
  text-decoration-color: #13201C;
  font-weight: bolder;
  font-size: 19px;
}

.about-container {
  max-width: 800px;
  margin-bottom: 20px;
  padding: 0px 20px 20px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
}

.about-container .about-title {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #13201C;
  text-shadow: 1px 2px 3px #808080;
}

.about-container p {
  font-size: 16px;
  line-height: 1.5;
  text-shadow: 1px 2px 3px #808080;
}

.about-container ul {
  list-style: disc;
  margin-left: 20px;
}

.about-container li {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 10px;
}

/* トップページ新規作成欄 */
.index-create-story .create-story-link {
  text-align: center;
}

.index-create-story {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  max-width: 800px;
  margin: 20px auto;
  padding: 0 20px;
}

.category {
  margin-bottom: 10px;
}

.category a {
  display: block;
  padding: 10px;
  background-color: #f9f9f9;
  color: #13201C;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  text-decoration: none;
}

.category a:hover {
  background-color: #e2e2e2;
  text-decoration: none;
}

/* ページネーション */
.pagination {
  margin-top: 20px;
}

.pagination a {
  display: inline-block;
  padding: 5px 10px;
  margin-right: 5px;
  background-color: #F2D694;
  /* 黄色系 */
  color: #13201C;
  text-decoration: none;
  border-radius: 3px;
}

.pagination a:hover {
  background-color: #FE8E7C;
  /* うすピンク系 */
}

/* Story list and detail page */
.story-item {
  margin-bottom: 20px;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 5px;
  position: relative;
}

.story-item:hover {
  background-color: #FE8E7C;
}

.horror-story .home-link {
  color: #13201C;
}

.romance-story {
  background-color: #F8A7A0;
}

.horror-story-category {
  color: #fff;
}

.horror-story-title {
  background-color: #fff;
}

.horror-story-title .story-title:hover {
  color: #fff;
}

.horror-story-title:hover {
  background-color: rgba(40, 89, 143, 0.5);
}

.horror-story {
  /* background-color: rgba(40,89,143,0.5); */
  background-color: #13201C;
}

.story-item h3 {
  margin: 0;
}

.story-item h3 a {
  color: #13201C;
  text-decoration: none;
}

.story-item h3 a:hover {
  text-decoration: underline;
}

.story-item p {
  margin: 0;
  color: #888;
}

/* Story detail page */
.story-detail {
  margin: 20px;
  padding: 20px;
  background-color: #f7f7f7;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.story-detail h1 {
  font-size: 24px;
  font-weight: bold;
  color: #13201C;
}

.story-detail p {
  font-size: 16px;
  color: #555;
}

.comments {
  margin-bottom: 20px;
}

.comment {
  padding: 10px;
  background-color: #f9f9f9;
  margin-bottom: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.comment p {
  margin: 0;
}

.toggle-comments button {
  margin-top: 10px;
}

.comment-content {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.height-limit {
  max-height: 100px;
}

.toggle-button {
  display: block;
  border: none;
  cursor: pointer;
  color: #13201C;
  border-radius: 5px;
}

.toggle-button:hover {
  border-radius: 5px;
  color: #fff;
  border: none;
  border-radius: 5px;
}

.toggle-button:focus {
  outline: none;
}

.comment-form {
  margin-bottom: 20px;
}

.comment-form h3 {
  margin-top: 0;
}

.comment-form form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
}

.comment-form input[type="text"],
.comment-form textarea {
  margin-bottom: 10px;
  padding: 5px;
  border-radius: 3px;
  border: 1px solid #ccc;
  outline: none;
}

.comment-form input[type="text"]:focus {
  border: 2px solid darkgreen;
}

.comment-form input[type="text"]:hover {
  border: 2px solid darkgreen;
}

.comment-form button[type="submit"] {
  margin-top: 10px;
  margin-right: 20px;
  background-color: #fff;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  outline: none;
}

.comment-form button[type="submit"]:hover {
  /* background-color: #45a049; */
}

.story-form {
  margin-top: 20px;
}

.story-form .form-group {
  margin-bottom: 10px;
}

.story-form label {
  display: block;
  margin-bottom: 5px;
}

.story-form input[type="text"],
.story-form textarea,
.story-form select {
  width: 100%;
  padding: 5px;
  border-radius: 3px;
  border: 1px solid #ccc;
}

.story-form button[type="submit"] {
  padding: 5px 10px;
  background-color: #FE8E7C;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.story-form button[type="submit"]:hover {
  background-color: #45a049;
}

.confirm-button {
  position: relative;
}

.story-title {
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: #13201C;
}

.story-author,
.story-date {
  display: block;
  font-size: 14px;
  color: #666;
}

.no-stories {
  font-size: 16px;
  color: #333;
}

.genre-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #13201C;
}

.genre-list {
  list-style: none;
  padding: 0;
}

.genre-item {
  margin-bottom: 10px;
}

.genre-link {
  display: block;
  padding: 10px;
  background-color: #f9f9f9;
  color: #13201C;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.genre-link:hover {
  background-color: #e2e2e2;
  text-decoration: none;
}

.create-story-link {
  /* display: inline-block; */
  margin-top: 20px;
  padding: 10px 20px;
  /* background-color: #8AC75A; */
  background-color: #F2D694;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  box-shadow: 0px 3px 5px #fff(0, 0, 0, 0.2);
  box-shadow: inset 0px 0px 5px #fff(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}

.create-story-link:hover {
  color: #fff;
  /* background-color: #45a049; */
  background-color: #D85F57;
  text-decoration: none;
}

.create-story-link {
  display: block;
  text-align: right;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 30px;
  color: #fff;
  text-shadow: none;
}

a:hover {
  text-decoration: none;
  cursor: pointer;
}

.home-link {
  display: block;
  color: #fff;
  text-align: right;
  /* ボタンを右寄せに配置 */
}

.home-link-error {
  position: absolute;
  left: 45%;
}

.home-link.sub {
  margin-bottom: 10px;
}

.home-link:hover {
  color: #FE8E7C;
  text-decoration: none;
}

.site-header {
  background-color: #f2f2f2;
  padding: 20px;
}

.site-title {
  margin: 0;
}

.create-story-heading {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #13201C;
}

.create-story-form {
  margin-top: 20px;
}

.form-group {
  margin-bottom: 10px;
}

.form-label {
  display: block;
  margin-bottom: 5px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 5px;
  border-radius: 3px;
  border: 1px solid #ccc;
}

.form-textarea {
  resize: vertical;
  /* 垂直方向のリサイズを有効にする */
  min-height: 150px;
  /* 最小の高さを指定（任意の高さに変更してください） */
}

.form-button {
  padding: 5px 10px;
  background-color: #FE8E7C;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.form-button:hover {
  background-color: #CC3C25;
}

.story-list {
  list-style: none;
  padding: 0;
}

.story-item {
  margin-bottom: 20px;
}

.story-link {
  text-decoration: none;
  color: #13201C;
  display: block;
}

.story-link:hover {
  text-decoration: none;
  /* ホバー時の下線を消す */
  color: #fff;
  /* リンクの色を指定（任意の色に変更してください） */
}

.actions {
  margin-top: 20px;
}

.actions button {
  padding: 10px 20px;
  background-color: #0056b3;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 10px;
  transition: background-color 0.3s;
}

.actions button:hover {
  background-color: #1f2e55;
}

.delete-form {
  display: inline-block;
}

.delete-button {
  background-color: #dc3545;
}

.delete-button:hover {
  background-color: #c82333;
}

.edit-button {
  background-color: #ffc107;
}

.edit-button:hover {
  background-color: #e0a800;
}

.success-alert {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #4caf50;
  color: #fff;
  padding: 10px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.comments-container {
  overflow-y: auto;
  /* 縦方向のスクロールを有効にする */
  max-height: 600px;
  /* コメント一覧の最大の高さを設定 */
  /* border: 1px solid #ccc; 枠線を追加 */
  padding: 10px;
  /* 余白を追加 */
}

.comments {
  /* コメント一覧が最大高さを超えた場合にスクロールバーを表示する */
  overflow-y: auto;
}

.comment-form {
  margin-top: 20px;
  /* コメント投稿フォームの上部に余白を追加 */
}

.hide-comments {
  display: none;
}

.comment-list {
  /* コメント間のスペーシングなどを適宜設定 */
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.comment-ip_address {
  color: #888;
  font-weight: lighter;
}

.comment-author {
  font-weight: bold;
}

.comment-time {
  font-size: 12px;
  color: #888;
}

/* 投稿時に一時的に背景色を変える */
.highlighted-comment {
  background-color: #cceeff;
  transition: background-color 1.5s ease;
}

/* ボタンのスタイル */
.styled-button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 5px;
}

/* シェアボタンのスタイル */
.share-button {
  background-color: #C0C0C0;
  color: white;
  border: none;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}

/*
新規作成ボタンのプラスアイコン
------------------------------------------------------------------*/
.plus.icon {
  color: #fff;
  position: absolute;
  margin-left: 3px;
  margin-top: 11px;
}

.plus.icon:before {
  content: '';
  position: absolute;
  width: 15px;
  height: 1px;
  background-color: currentColor;
}

.plus.icon:after {
  content: '';
  position: absolute;
  width: 15px;
  height: 1px;
  background-color: currentColor;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

/*
送信ボタンのアイコン
------------------------------------------------------------------*/
.navigate-solid.icon {
  color: #FE8E7C;
  position: absolute;
  margin-left: 6px;
  margin-top: -1px;
  width: 14px;
  height: 18px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.navigate-solid.icon:hover {
  color: darkgreen;
}

.navigate-solid.icon:before {
  content: '';
  position: absolute;
  left: 0;
  top: -17px;
  width: 0;
  height: 0;
  border-top: solid 18px transparent;
  border-bottom: solid 18px currentColor;
  border-left: solid 7px transparent;
  border-right: solid 7px transparent;
}

.navigate-solid.icon:after {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 0;
  height: 0;
  color: white;
  border-top: solid 5px transparent;
  border-bottom: solid 5px currentColor;
  border-left: solid 7px transparent;
  border-right: solid 7px transparent;
}

/*
削除/編集ボタン
------------------------------------------------------------------*/
.button-wrapper {
  display: flex;
  place-content: space-between;
}

/*
削除ボタンのアイコン
------------------------------------------------------------------*/
.trash-solid.icon {
  color: #666;
  position: relative;
  /* margin-left: 5px; */
  /* margin-top: 7px; */
  width: 9px;
  height: 14px;
  border-left: solid 1px currentColor;
  border-right: solid 1px currentColor;
  border-bottom: solid 1px currentColor;
  border-radius: 0 0 2px 2px;
  background-color: currentColor;
}

.trash-solid.icon:before {
  content: '';
  position: absolute;
  left: -2.9px;
  top: -3px;
  width: 17px;
  height: 1px;
  background-color: currentColor;
}

.trash-solid.icon:after {
  content: '';
  position: absolute;
  left: 2.1px;
  top: -5px;
  width: 7px;
  height: 2px;
  border-left: solid 1px currentColor;
  border-right: solid 1px currentColor;
  border-top: solid 1px currentColor;
  background-color: currentColor;
  border-radius: 4px 4px 0 0;
}

.trash-solid.icon:hover {
  color: #87131f;
}

/*
編集ボタンのアイコン
------------------------------------------------------------------*/
.edit-solid.icon {
  color: #666;
  position: relative;
  bottom: 3px;
  margin-left: 4px;
  margin-top: 7px;
  padding-left: 10px;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  border: solid 1px currentColor;
  background-color: currentColor;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.edit-solid.icon:before {
  content: '';
  position: absolute;
  left: -12px;
  top: -1px;
  width: 0px;
  height: 0px;
  border-left: solid 5px transparent;
  border-right: solid 5px currentColor;
  border-top: solid 2px transparent;
  border-bottom: solid 2px transparent;
}

/*
コメント表示切り替えボタン
------------------------------------------------------------------*/
.switch-comment-button {
  /* background-color: #C0C0C0; */
  /* background-color: #fff; */
  background: none;
  color: #636466;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.switch-comment-button:hover {
  color: #fff;
  background-color: #C0C0C0;
}

.switch-comment-button:focus {
  outline: none;
}

/* 下矢印 */
.dli-chevron-down {
  display: inline-block;
  color: #C0C0C0;
  line-height: 1;
  width: 0.7em;
  height: 0.7em;
  border: 0.1em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(-25%) rotate(135deg);
}

.switch-comment-button:hover .dli-chevron-down {
  color: #fff;
}

/* 上矢印 */
.dli-chevron-up {
  display: inline-block;
  color: #C0C0C0;
  line-height: 1;
  width: 0.7em;
  height: 0.7em;
  border: 0.1em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(25%) rotate(-45deg);
}

.switch-comment-button:hover .dli-chevron-up {
  color: #fff;
}

/* 小さい下矢印 */
.dli-chevron-down-sm {
  margin-left: 5px;
  display: inline-block;
  color: #fff;
  line-height: 1;
  width: 0.6em;
  height: 0.6em;
  border: 0.13em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(-25%) rotate(135deg);
}

.switch-comment-button:hover .dli-chevron-down {
  color: #fff;
}

/* 小さい上矢印 */
.dli-chevron-up-sm {
  margin-left: 5px;
  display: inline-block;
  color: #fff;
  line-height: 1;
  width: 0.6em;
  height: 0.6em;
  border: 0.13em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(25%) rotate(-45deg);
}

/* 付与した要素は表示に */
.style-block {
  display: block;
}

/* 付与した要素は非表示に */
.style-none {
  display: none;
}

/* 返信リンクのスタイル */
.comment-link {
  color: blue;
  text-decoration: underline;
  cursor: pointer;
}

/* フォーム内のリンクのスタイル */
#contentArea .comment-link {
  display: inline;
}

.textarea-container {
  display: flex;
  align-items: center;
  border: solid;
  border-radius: 3px;
  border: 1px solid #ccc;
  background-color: #fff;
}

.textarea-container:hover {
  border: 2px solid darkgreen;
}

#contentArea {
  flex: 1;
  resize: none;
  border: none;
  margin-bottom: 0px;
  outline: none;
}

#submitCommentButton {
  margin-left: 10px;
  /* 適切な間隔を設定してください */
}

/*
お話一覧の削除ボタン
------------------------------------------------------------------*/
.delete-story-button {}

.count-delete-wrap {}

/*
お話一覧のコメント数表示
------------------------------------------------------------------*/
.comment-count-wraper {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
}

.comment-count {
  color: #666;
  margin-right: 10px;
  margin-top: 10px;
}

/* コメントアイコン */
.dli-chat {
  display: inline-block;
  vertical-align: middle;
  color: #666;
  line-height: 1;
  position: relative;
  width: 1.06667em;
  height: 0.8em;
  background: #f9f9f9;
  border: 0.1em solid currentColor;
  border-radius: 0.2em;
  box-sizing: content-box;

  content: '\f075';
  margin-right: 5px;
  margin-top: 10px;
}

.dli-chat::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 10%;
  width: 0.16em;
  height: 0.16em;
  background: inherit;
  border: 0.1em solid currentColor;
  border-top-color: transparent;
  border-right-color: transparent;
  border-right-width: 0.14142em;
  border-bottom-width: 0.14142em;
  box-sizing: content-box;
  border-radius: 0 0 0 0.1em;
  transform: skewY(-45deg);
  transform-origin: left top;
}

/* 左三角 */
.dli-chevron-round-left {
  display: inline-block;
  vertical-align: middle;
  color: #333;
  line-height: 1;
  position: relative;
  width: 0.5em;
  height: 0.5em;
  transform: translateX(25%) rotate(-135deg);
  margin-right: 5px;
}

.dli-chevron-round-left::before,
.dli-chevron-round-left::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 0.1em;
}

.dli-chevron-round-left::before {
  top: 0;
  left: 0;
  right: 0;
  height: 0.1em;
}

.dli-chevron-round-left::after {
  top: 0;
  right: 0;
  bottom: 0;
  width: 0.1em;
}

/*
Xアイコンのスタイル
------------------------------------------------------------------*/
.twitter-share-button {}

.modal.show .modal-dialog {
  text-align: -webkit-center;
}

.modal-body.share>p>a {
  color: #CC3C25;
}

.modal-content {
  background-color: #fff;
  text-align: center;
  width: 70%;
  padding-bottom: 20px;
}

.modal-header {
  background-color: #F2D694;
  margin-bottom: 20px;
}

.modal-dialog {
  max-width: 800px;
}

.modal-footer {
  justify-content: center;
}

/* ホームボタンのアイコン */
.gg-home-alt {
  box-sizing: border-box;
  position: relative;
  display: block;
  top: 28px;
  left: 20px;
  transform: scale(var(--ggs, 1));
  width: 21.6px;
  height: 16.8px;
  border: 2.4px solid;
  border-top: 0;
  border-radius: 2px;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  margin-bottom: -2px
}

.gg-home-alt::after,
.gg-home-alt::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute
}

.gg-home-alt::before {
  border-top: 2.88px solid;
  border-left: 2.88px solid;
  border-top-left-radius: 4px;
  transform: rotate(45deg);
  top: -6px;
  border-radius: 3px;
  width: 16.8px;
  height: 16.8px;
  left: 0.8px
}

.gg-home-alt::after {
  width: 7.2px;
  height: 12px;
  background: currentColor;
  border-top-left-radius: 100px;
  border-top-right-radius: 100px;
  left: 5.2px;
  bottom: -2.4px
}

.home-link {
  display: block;
}

/* ジャンル一覧へのアイコン */
.dli-list {
  display: inline-block;
  vertical-align: middle;
  color: #333;
  line-height: 1;
  width: 0.8em;
}

.dli-list>span {
  display: block;
  position: relative;
  height: 0.1em;
  background: currentColor;
  border-radius: 0.1em;
}

.dli-list>span::before {
  content: '';
  position: absolute;
  top: 0;
  right: calc(100% + 0.1em);
  bottom: 0;
  margin: auto;
  width: 0.1em;
  height: 0.1em;
  background: currentColor;
  border-radius: 50%;
}

.dli-list>span+span {
  margin-top: 0.22em;
}

/* 利用規約のアイコン */
.gg-notes {
  box-sizing: border-box;
  position: relative;
  display: inline-flex;
  top: 4.8px;
  transform: scale(var(--ggs, 1));
  width: 16px;
  height: 17.6px;
  border: 1.6px solid;
  border-radius: 2.4px
}

.gg-notes::after,
.gg-notes::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  border-radius: 2.4px;
  height: 1.6px;
  background: currentColor;
  left: 1.6px
}

.gg-notes::before {
  box-shadow:
    0 3.2px 0,
    0 6.4px 0;
  width: 9.6px;
  top: 1.6px
}

.gg-notes::after {
  width: 4.8px;
  top: 11.2px
}

/* ICAROについてのアイコン */
.dli-search {
  display: inline-block;
  vertical-align: middle;
  color: #333;
  line-height: 1;
  width: 0.56em;
  height: 0.56em;
  bottom: 2px;
  border: 0.1em solid currentColor;
  border-radius: 50%;
  box-sizing: content-box;
  position: relative;
}

.dli-search::before {
  content: '';
  position: absolute;
  top: calc(85.35534% + 0.07071em);
  left: calc(85.35534% + 0.07071em);
  width: 0.336em;
  height: 0.1em;
  background: currentColor;
  border-radius: 0 0.1em 0.1em 0;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: left center;
}

/* 問い合わせメールアイコン */
.mail.icon {
  display: inline-block;
  color: #000;
  position: relative;
  margin-left: 2px;
  margin-top: 4px;
  width: 15px;
  height: 10px;
  border-radius: 1px;
  border: solid 1px currentColor;
}

.mail.icon:before {
  content: '';
  position: absolute;
  left: 6px;
  top: -4px;
  width: 0.8px;
  height: 9px;
  background-color: currentColor;
  -webkit-transform-origin: bottom;
  transform-origin: bottom;
  -webkit-transform: rotate(-54deg);
  transform: rotate(-54deg);
}

.mail.icon:after {
  content: '';
  position: absolute;
  left: 6px;
  top: -4px;
  width: 0.8px;
  height: 9px;
  background-color: currentColor;
  -webkit-transform-origin: bottom;
  transform-origin: bottom;
  -webkit-transform: rotate(54deg);
  transform: rotate(54deg);
}

.laptop.icon {
  display: inline-block;
  color: #000;
  position: relative;
  margin-left: 2px;
  top: -2px;
  width: 13px;
  height: 10px;
  border-radius: 2px;
  border: solid 1px currentColor;
}

.laptop.icon:before {
  content: '';
  position: absolute;
  left: -4px;
  bottom: -5px;
  width: 18px;
  height: 3px;
  border-radius: 0 0 2px 2px;
  border: solid 1px currentColor;
}

/* 下に表示される広告 */
#im_panel_pc {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 1.00);
  z-index: 99998;
  text-align: center;
  transform: translate3d(0, 0, 0);
  padding: 12px;
  width: 100%;
  height: auto;
  text-align: center;
  background: rgba(255, 255, 255, 1.00);
  border-top: 1px solid #e8e8e8;
}

#im_panel_pc_close {
  position: absolute;
  top: -40px;
  left: 0;
  z-index: 100000;
  display: inline-block;
  width: 40px;
  height: 40px;
  text-align: center;
  color: #3B4754;
  background: rgba(255, 255, 255, 1.00);
  border: 1px solid #e8e8e8;
  border-bottom: none;
  border-radius: 2px 2px 0 0;
  cursor: pointer;
}

.for-sp {
  display: none;
}

.for-pc {
  display: block;
}

/* 750px以下のデバイス（主にスマホ）に適用 */
@media only screen and (max-width: 750px) {
  .for-pc {
    display: none;
  }

  .for-sp {
    display: block;
  }

  .header {
    background-color: transparent;
  }

  .header-container {
    display: unset;
  }

  .plus-text {
    display: none;
  }

  .plus.icon {
    margin: 0;
    position: relative;
    right: 12px;
    top: 13px;
  }

  .home_icon-close_icon a {
    color: #fff;
  }

  .home-link {
    position: relative;
    bottom: 20px;
    top: 20px;
    border-radius: 4px;
    transition: color .15s ease-in-out,
      background-color .15s ease-in-out,
      border-color .15s ease-in-out,
      box-shadow .15s ease-in-out;
  }

  .home-icon {
    height: 50px;
    position: relative;
  }

  .home-link:hover {
    background-color: #F2D694;
  }

  .main-title {
    position: absolute;
    margin-top: -200px;
    left: 10px;
    width: 230px;
    word-wrap: break-word;
    text-shadow: 1px 1px 2px #FE8E7C, 0 0 1em #13201C, 0 0 0.2em #13201C;
  }

  .subtitle {
    font-size: 20px;
    color: #fff;
    text-shadow: none;
    position: relative;
    top: -90px;
    text-shadow: 1px 1px 2px #333;
  }

  .menu-wrapper {
    position: absolute;
    right: 30px;
    top: 30px;
  }

  .create-story-link.header-icon {
    height: 50px;
    width: 50px;
  }

  /* ヘッダーイラストのスタイル */
  .header-image {
    /* left: -90px; */
    /* position: relative; */
    width: 350px;
  }

  .main-container {
    flex-direction: column;
    /* フレックスボックスの方向を変更 */
  }

  .menu {
    width: 100%;
  }

  .menu-image {
    width: 70%;
    margin: 20px;
  }

  .header-container {
    flex-direction: column;
    align-items: center;
  }

  .create-story-image,
  .create-story-word-image {
    width: 100%;
    height: auto;
    position: relative;
  }

  .image-container {
    top: 0;
  }

  .comment-center {
    margin-top: 10px;
  }

  .footer-ads img {
    width: 100%;
  }

  .home-link.sub {
    margin-bottom: 30px;
  }

  .modal-content {
    width: 100%;
  }

  .image-container {
    position: relative;
    width: 300px;
    /* 例: 300px; */
    height: 200px;
    /* 例: 200px; */
  }

  .create-story-image,
  .create-story-word-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* 画像がコンテナのサイズに合わせて伸縮するようにする */
    height: 100%;
    /* 画像がコンテナのサイズに合わせて伸縮するようにする */
    object-fit: cover;
  }

  .create-story-word-image {
    z-index: 1;
    /* この値が高いほど前面に来る。この場合、create-story-word-imageがcreate-story-imageの上に来る */
  }
}