/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
:root {
  --main-color: #0B11AA;
  --black: #5B5B5B;
  --share-black: #000000;
  --dark-gray: #8C8C8C;
  --light-gray: #F5F5F5;
  --yellow: #F3FF4B;
  --dark-yellow: #DCE73E;
  --red: #DD0000;
  --pink: #ffe5e5;
  --green: #0CAE09;
  --light-green: #A6E4A5;
  --dark-green: #087906;
  --white: #FFFFFF;

  --size-12: 0.75rem;
  --base-size: 16px;
  --size-18: 1.125rem;
  --size-20: 1.25rem;
  --size-24: 1.5rem;
  --size-40: 2.5rem;

  --base-line-height: 200%;
  --base-letter-spacing: 0.05em;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-weight: normal;
  color: var(--black);
  line-height: var(--base-line-height);
  letter-spacing: var(--base-letter-spacing);
  font-family: 'Noto Sans JP', Arial, sans-serif;
}

html, body {
  font-size: var(--base-size);
  font-family: 'Noto Sans JP', Arial, sans-serif;
}

body {
  padding-top: 55px;
}

main {
  min-height: calc(100dvh - 55px - 100px - 50px);
}

.pwa-mode main {
  min-height: calc(100dvh - 55px - 100px - 80px);
}

ul, ol {
  list-style-type: none;
}

strong, b {
  font-weight: bold;
}

.admin-bar {
  position: fixed;
  z-index: 1;
  top: 50px;
  left: 0;
  height: 40px;
  background-color: var(--yellow);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lobster-regular {
  font-family: "Lobster", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.marker {
  background:linear-gradient(transparent 60%, var(--yellow) 60%);
}

.error-messages {
  margin-bottom: 1rem;
  padding: 0.5rem;
  background-color: var(--pink);
  border-radius: 5px;
}

.error-messages li {
  color: var(--red);
  font-size: var(--size-12);
  padding-left: 1em;
  position: relative;
}

.error-messages li::before {
  display: block;
  content: "*";
  position: absolute;
  top: 15%;
  left: 0;
}

.confirm-modal .modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 500px;
  width: 90%;
  padding: 3rem 2rem;
  z-index: 3;
  background-color: var(--white);
  border: 1px solid var(--dark-gray);
  border-radius: 5px;
  box-shadow: 2px 2px 2px 2px rgb(0 0 0/20%);
}

.confirm-modal .description {
  margin-bottom: 2rem;
}

.confirm-modal .buttons {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.confirm-modal .confirm-ok {
  width: 7rem;
  height: 2.5rem;
  border-radius: 5px;
  border: 3px solid var(--red);
  background-color: var(--red);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease all;
}

.confirm-modal .confirm-ok.green {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
}

.confirm-modal .confirm-ok:hover {
  background-color: var(--white);
  color: var(--red);
}

.confirm-modal .confirm-ok.green:hover {
  color: var(--dark-green);
}

.confirm-modal .confirm-cancel {
  font-size: var(--base-size);
  cursor: pointer;
  width: 7rem;
  height: 2.5rem;
  border-radius: 5px;
  border: 3px solid var(--dark-gray);
  background-color: var(--dark-gray);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease all;
}

.confirm-modal .confirm-cancel:hover {
  background-color: var(--white);
  color: var(--dark-gray);
}

.confirm-modal .background-modal {
  display: none;
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.confirm-modal.open .modal {
  display: block;
}

.confirm-modal.open .background-modal {
  display: block;
}

.flash-message {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 1s ease;
  font-size: var(--size-12);
}

.flash-message-favorite {
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 1s ease;
  font-size: var(--size-12);
}

.flash-message.flash-notice,
.flash-message-favorite.flash-notice {
  background-color: var(--light-green);
  color: var(--dark-green);
}

.flash-message.flash-alert,
.flash-message-favorite.flash-alert {
  background-color: var(--pink);
  color: var(--red);
}

.flash-message.fade-in,
.flash-message-favorite.fade-in {
  opacity: 1;
}

.flash-message.fade-out,
.flash-message-favorite.fade-out {
  opacity: 0;
}

.search-articles-wrap {
  margin-bottom: 4rem;
}

.search-articles-wrap .article_search {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.search-articles-wrap .search-text {
  flex: 1;
  height: 35px;
  border: 1px solid var(--dark-gray);
  padding: 0 0.5rem;
  border-radius: 5px;
  font-size: var(--base-size);
  line-height: 100%;
  background-color: var(--white);
  width: calc(100% - 40px);  /* iPhoneでの見た目対策 */
}

.search-articles-wrap .search-button {
  border: none;
  padding: 0;
  background: none;
  width: 35px;
  height: 35px;
  cursor: pointer;
  transition: 0.5s all ease;
}

.search-articles-wrap .search-button:hover {
  opacity: 0.5;
}

.announcement-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.announcement-bar .announcement-link {
  font-size: var(--size-12);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 2rem;
  background-color: var(--yellow);
  border-radius: 5px;
}

.announcement-bar .announcement-link:hover {
  text-decoration: none;
}

.cookie {
  width: 100%;
  position: fixed;
  z-index: 2;
  opacity: 0;
  bottom: 0;
  background-color: rgba(91, 91, 91, 90%);
  color: var(--white);
  font-size: var(--size-12);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  transition: 1s all ease;
}

.cookie.on {
  opacity: 1;
}

.cookie .cookie-text {
  font-size: var(--size-12);
  color: var(--white);
  margin-bottom: 1rem;
}

.cookie .cookie-text a {
  color: var(--white);
}

.cookie .cookie-text a:hover {
  text-decoration: none;
}

.cookie .cookie-buttons .cookie-button {
  cursor: pointer;
  margin-right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: 0.3s all ease;
}

.cookie .cookie-buttons .cookie-disagree {
  background-color: var(--dark-gray);
  color: var(--white);
  border: 2px solid var(--dark-gray);
}

.cookie .cookie-buttons .cookie-disagree:hover {
  background-color: var(--light-gray);
  color: var(--dark-gray);
}

.cookie .cookie-buttons .cookie-consent {
  background-color: var(--green);
  color: var(--white);
  border: 2px solid var(--green);
}

.cookie .cookie-buttons .cookie-consent:hover {
  background-color: var(--white);
  color: var(--green);
}

.share-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.share-buttons .share-button {
  background-color: var(--share-black);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  color: var(--white);
  text-decoration: none;
  font-size: var(--size-12);
  border: none;
  border-radius: 5px;
  padding: 0.5rem;
  cursor: pointer;
  transition: 0.3s all ease;
}

/* 既存スタイルの打ち消し用 */
.share-buttons .share-button.share-to-x {
  display: flex;
  background-image: none;
  padding-right: 0.5rem;
}

.share-buttons .share-button .text {
  color: var(--white);
}

.share-buttons .share-button:hover {
  opacity: 0.5;
}

.content-width {
  padding: 0 20px;
}

@media (769px <= width) {
  body, html {
    font-size: 18px;
  }

  main {
    min-height: calc(100dvh - 55px - 100px);
  }

  .content-width {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (1000px < width) {
  .content-width {
    max-width: 900px;
  }
}

@media (1440px <= width) {
  body, html {
    font-size: 20px;
  }

  .content-width {
    max-width: 1100px;
  }
}


/* ******************************************* */
/* ヘッダー */
/* ******************************************* */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  background-color: var(--main-color);
}

header .header-wrapper {
  display: flex;
  align-items: center;
  min-height: 55px;
  position: relative;
}

header .hamburger-menu-icon {
  position: relative;
  display: flex;
  align-items: center;
  width: 25px;
  height: 20px;
  border-top: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  cursor: pointer;
}

header .hamburger-menu-icon::before {
  content: "";
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--white);
}

header .hamburger-menu-icon.close {
  border: none;
}

header .hamburger-menu-icon.close::before {
  position: absolute;
  top: 50%;
  left: 0;
  content: "";
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--white);
  transform: rotate(45deg);
}

header .hamburger-menu-icon.close::after {
  position: absolute;
  top: 50%;
  left: 0;
  content: "";
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--white);
  transform: rotate(-45deg);
}

header .hamburger-menu {
  display: none;
}

header .hamburger-menu.open {
  display: block;
  z-index: 2;
  position: absolute;
  top: 55px;
  left: 0;
  width: 100%;
  background-color: var(--main-color);
  border-top: 1px solid var(--white);
  padding: 0 10px;
}

header .hamburger-menu.open .hamburger-menu__items {
  padding: 0 10px 0 10px;
}

header .hamburger-menu.open .hamburger-menu__items li {
  height: 3rem;
  display: flex;
  align-items: center;
}

header .hamburger-menu.open .hamburger-menu__items li a {
  color: var(--white);
  text-decoration: none;
}

header .header-title a {
  color: var(--white);
  font-size: var(--size-20);
  text-decoration: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
}

header .header-title a .logo-icon {
  display: inline-block;
  margin-right: 0.5rem;
}

/* ******************************************* */
/* パンくずリスト */
/* ******************************************* */
.bread-crumb {
  display: none;
}

@media (768px < width) {
  .bread-crumb {
    display: flex;
    align-items: center;
    font-size: var(--size-12);
    margin-bottom: 1rem;
  }

  .bread-crumb li {
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .bread-crumb li::after {
    content: ">";
    display: inline;
  }

  .bread-crumb li:last-child:after {
    content: "";
  }

  .bread-crumb .home-path {
    display: flex;
    align-items: center;
    text-decoration: underline;
    color: var(--black);
  }

  .bread-crumb .home-path:hover {
    text-decoration: none;
  }

  .bread-crumb .home-path img {
    display: inline-block;
    margin-right: 0.3rem;
  }
}



/* ******************************************* */
/* フッター */
/* ******************************************* */
footer {
  width: 100%;
  padding: 10px 0 30px 0;
  background-color: var(--main-color);
}

footer.app {
  margin-bottom: 50px;
}

footer .footer-links {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

footer .footer-links li a {
  color: var(--white);
  font-size: var(--size-12);
}

footer .footer-links li a:hover {
  text-decoration: none;
}

footer .copyright {
  color: var(--white);
  font-size: var(--size-12);
  text-align: center;
}

@media (768px < width) {
  footer.app {
    margin-bottom: 0;
  }
}


/* ******************************************* */
/* フッターメニュー */
/* ******************************************* */
.footer-menu-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  border-top: 1px solid var(--dark-gray);
  padding-top: 10px;
  background-color: var(--white);
}

.pwa-mode .footer-menu-wrap {
  height: 80px;
}

.footer-menu-wrap .footer-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (768px < width) {
  .footer-menu-wrap {
    display: none;
  }
}


/* ******************************************* */
/* ランディングページ */
/* ******************************************* */
.lp-introduction {
  text-align: center;
  background: url(/lp-top-back.png) no-repeat 50% 50%;
  padding: 0 20px 0 20px;
  margin-bottom: 4rem;
}

.lp-introduction .lp-h1 {
  font-size: var(--size-40);
  color: var(--main-color);
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.lp-introduction .lp-h2 {
  font-size: var(--size-24);
  font-weight: bold;
  margin-bottom: 1.25rem;
}

.lp-introduction .lp-description {
  padding: 0 10px 0 10px;
}

.lp-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 6.25rem;
}

.lp-buttons .guest-user-button,
.lp-buttons .login-button {
  width: 14.375rem;
  height: 6rem;
  border-radius: 5px;
  border: 3px solid var(--main-color);
  text-align: center;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease all;
}

.lp-buttons .guest-user-button {
  background-color: var(--main-color);
  color: var(--white);
}

.lp-buttons .guest-user-button:hover {
  background-color: var(--white);
  color: var(--main-color);
} 

.lp-buttons .login-button {
  color: var(--main-color);
}

.lp-buttons .login-button:hover {
  background-color: var(--main-color);
  color: var(--white);
}

.lp-trouble {
  background-color: var(--light-gray);
}

.lp-trouble .lp-trouble-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  margin-bottom: 6.25rem;
  margin-left: auto;
  margin-right: auto;
}

.lp-trouble .lp-trouble-wrap::before,
.lp-trouble .lp-trouble-wrap::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 30px;
  background-color: var(--dark-gray);
  border-radius: 3px;
}

.lp-trouble .lp-trouble-wrap::before {
  left: 30px;
  top: -15px;
}

.lp-trouble .lp-trouble-wrap::after {
  right: 30px;
  top: -15px;
}

.lp-trouble .lp-trouble-wrap .lp-h2 {
  font-size: var(--size-20);
  font-weight: bold;
  width: fit-content;
  margin-bottom: 2rem;
  line-height: 150%;
}

.lp-trouble .lp-trouble-wrap .lp-list {
  margin-bottom: 2rem;
}

.lp-trouble .lp-trouble-wrap .lp-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.25rem;
}

.lp-trouble .lp-trouble-wrap .lp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 20px;
  height: 20px;
  background-image: url(/worry-icon.svg);
  background-size: contain;
  background-repeat: no-repeat;
}

.lp-solutions {
  margin-bottom: 6.25rem;
}

.lp-solutions .lp-title-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 15px 0 40px 0;
  margin-bottom: 2rem;
}

.lp-solutions .lp-title-wrap::before {
  content: "";
  display: block;
  width: 50px;
  height: 30px;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url(/ip-solutions-ashirai-left.svg);
  background-size: contain;
  background-repeat: no-repeat;
}

.lp-solutions .lp-title-wrap::after {
  content: "";
  display: block;
  width: 50px;
  height: 30px;
  position: absolute;
  bottom: 0;
  right: 0;
  background-image: url(/ip-solutions-ashirai-right.svg);
  background-size: contain;
  background-repeat: no-repeat;
}

.lp-solutions .lp-h2 {
  font-size: var(--size-20);
  font-weight: bold;
  line-height: 150%;
}

.lp-solutions .description {
  padding: 0 10px 0 10px;
  margin-bottom: 2rem;
}

.lp-solutions .lp-figure {
  padding: 0 10px 0 10px;
  margin-bottom: 2rem;
}

.lp-solutions .lp-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--dark-gray);
  border-radius: 5px;
}

.lp-solutions .lp-figure figcaption {
  text-align: right;
  font-size: var(--size-12);
}

.lp-features {
  margin-bottom: 6.25rem;
}

.lp-features .lp-title-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px 0 25px 0;
  margin-bottom: 2rem;
}

.lp-features .lp-title-wrap::before,
.lp-features .lp-title-wrap::after {
  position: absolute;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-image: linear-gradient(to right, var(--dark-gray) 5px, transparent 5px);
  background-size: 10px 2px;
  background-repeat: repeat-x;
}

.lp-features .lp-title-wrap::before {
  top: 0;
}

.lp-features .lp-title-wrap::after {
  bottom: 0;
}

.lp-features .lp-h2 {
  font-size: var(--size-20);
  font-weight: bold;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.lp-features .app-name {
  display: flex;
  align-items: center;
  background-color: var(--main-color);
  color: var(--white);
  padding: 5px 10px;
  margin-right: 0.5rem;
}

.lp-features .app-name .logo-icon {
  display: inline-block;
  margin-right: 0.5rem;
}

.lp-features .lp-sec {
  padding: 0 10px 0 10px;
  margin-bottom: 3.125rem;
}

.lp-features .lp-sec h3 {
  font-size: var(--size-20);
  font-weight: bold;
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.lp-features .lp-sec h3::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 35px;
  background-color: var(--yellow);
  margin-right: 0.5rem;
}

.lp-features .lp-sec p {
  margin-bottom: 2rem;
}

.lp-features .lp-sec .lp-image {
  margin-bottom: 2rem;
}

.lp-features .lp-sec .lp-image img {
  width: 100%;
  height: auto;
}

.lp-features .lp-sec .lp-image-copy {
  text-align: center;
  font-size: var(--size-18);
  margin-bottom: 1rem;
}

.lp-features .lp-sec .lp-notes {
  border-radius: 5px;
  background-color: var(--light-gray);
  padding: 1rem 1.5rem;
}

.lp-features .lp-sec .lp-notes h4 {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.lp-features .lp-sec .lp-notes p {
  font-size: var(--size-12);
}

.lp-dive-into {
  margin-bottom: 3.125rem;
}

.lp-dive-into .lp-title-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px 0 25px 0;
  margin-bottom: 2rem;
}

.lp-dive-into .lp-title-wrap::before,
.lp-dive-into .lp-title-wrap::after {
  position: absolute;
  left: 0;
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-image: linear-gradient(to right, var(--dark-gray) 5px, transparent 5px);
  background-size: 10px 2px;
  background-repeat: repeat-x;
}

.lp-dive-into .lp-title-wrap::before {
  top: 0;
}

.lp-dive-into .lp-title-wrap::after {
  bottom: 0;
}

.lp-dive-into .lp-h2 {
  font-size: var(--size-20);
  font-weight: bold;
}

.lp-remarks {
  padding: 2rem 0 1.875rem 0;
  background-color: var(--light-gray);
}

.lp-remarks .lp-h2 {
  font-size: var(--size-20);
  font-weight: bold;
  margin-bottom: 1rem;
}

.lp-remarks .lp-disk-list {
  list-style-type: disc;
  margin-left: 2rem;
}

.lp-remarks .lp-disk-list li {
  margin-bottom: 0.5rem;
}

@media (768px < width) {
  .lp-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .lp-trouble::before {
    left: 20%;
  }

  .lp-trouble::after {
    right: 20%;
  }

  .lp-solutions .lp-title-wrap {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (1000px < width) {
  .lp-solutions .lp-title-wrap {
    max-width: 700px;
  }
}

@media (1440px < width) {
  .lp-solutions .lp-title-wrap {
    max-width: 900px;
  }
}

/* ******************************************* */
/* ログインページ */
/* ******************************************* */
.login-wrap {
  padding-top: 2.5rem;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.login-wrap .contents {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-wrap .login-h1 {
  font-size: var(--size-20);
  font-weight: bold;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.login-wrap .login-description {
  padding: 0 20px;
  margin-bottom: 2.5rem;
  text-align: center;
}

.login-wrap .login-button {
  text-align: center;
  margin-bottom: 2.5rem;
}

.login-wrap .login-button .auto-login {
  margin-top: 1rem;
  margin-bottom: 2rem;
  font-size: var(--size-12);
}

.login-wrap .login-button .auto-login .auto-login-label {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.login-wrap .login-button .auto-login .checkbox {
  margin-right: 0.5rem;
}

.login-wrap .login-button .auto-login .auto-login-note {
  font-size: var(--size-12);
  background-color: var(--light-gray);
  border-radius: 5px;
  padding: 0.5rem 1rem;
  text-align: left;
}

.login-wrap .login-button .info {
  font-size: var(--size-12);
}


/* ******************************************* */
/* アカウント設定ページ */
/* ******************************************* */
.account-settings {
  padding-top: 2.5rem;
}

.account-settings .contents {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.account-settings .as-h1 {
  font-size: var(--size-20);
  font-weight: bold;
  margin-bottom: 1rem;
}

.account-settings figure {
  text-align: center;
}

.account-settings .note {
  margin: 2.5rem 0;
}

.account-settings .note.guest-mode {
  margin-top: 0;
}

.account-settings .user-id,
.account-settings .admin-user {
  font-size: var(--size-12);
}

.account-settings .login-button,
.account-settings .logout-button {
  width: 14.375rem;
  height: 6rem;
  border-radius: 5px;
  border: 3px solid var(--main-color);
  text-align: center;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease all;
}

.account-settings .login-button {
  color: var(--main-color);
}

.account-settings .login-button:hover {
  background-color: var(--main-color);
  color: var(--white);
}

.account-settings .logout-button {
  height: 2.5rem;
  background-color: var(--dark-gray);
  color: var(--white);
  border-color: var(--dark-gray);
  transition: 0.5s all ease;
  margin-bottom: 7rem;
}

.account-settings .logout-button:hover {
  background-color: var(--white);
  color: var(--dark-gray);
}

.account-settings .edit-button {
  width: 5rem;
  height: 2.5rem;
  border-radius: 5px;
  border: 3px solid var(--green);
  background-color: var(--green);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease all;
  margin-top: 2.5rem;
  margin-bottom: 4rem;
}

.account-settings .edit-button:hover {
  background-color: var(--white);
  color: var(--green);
}

.account-settings .delete-button {
  cursor: pointer;
  font-size: var(--base-size);
  width: 14.375rem;
  height: 2.5rem;
  border-radius: 5px;
  border: 3px solid var(--red);
  background-color: var(--red);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease all;
  margin-bottom: 3rem;
}

.account-settings .delete-button:hover {
  background-color: var(--white);
  color: var(--red);
}


/* ******************************************* */
/* アカウント編集ページ */
/* ******************************************* */
.account-edit-form {
  width: 100%;
}

.account-edit-form .user-name {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid var(--dark-gray);
  border-radius: 5px;
  font-size: var(--base-size);
  line-height: var(--base-line-height);
}

.account-edit-form .buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
  margin-top: 4rem;
}

.account-edit-form .buttons .cancel-button {
  width: 7rem;
  height: 2.5rem;
  background-color: var(--dark-gray);
  color: var(--white);
  border-radius: 5px;
  border: 3px solid var(--dark-gray);
  text-align: center;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease all;
}

.account-edit-form .buttons .cancel-button:hover {
  background-color: var(--white);
  color: var(--dark-gray);
}

.account-edit-form .buttons .save-button {
  font-size: var(--base-size);
  cursor: pointer;
  width: 7rem;
  height: 2.5rem;
  background-color: var(--main-color);
  color: var(--white);
  border-radius: 5px;
  border: 3px solid var(--main-color);
  text-align: center;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease all;
}

.account-edit-form .buttons .save-button:hover {
  background-color: var(--white);
  color: var(--main-color);
}

/* ******************************************* */
/* ユーザー一覧ページ */
/* ******************************************* */
.users-index {
  padding-top: 2.5rem;
}

.users-index .ui-h1 {
  font-size: var(--size-20);
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

.users-index .user-profile {
  width: 100%;
  border: 1px solid var(--dark-gray);
  border-collapse: collapse;
}

.users-index .user-profile th {
  background-color: var(--dark-gray);
  color: var(--white);
}

.users-index .user-profile tr,
.users-index .user-profile th,
.users-index .user-profile td {
  border: 1px solid var(--dark-gray);
  text-align: center;
  vertical-align: middle;
}

.users-index .user-profile th {
  border-right: 1px solid var(--white);
}

.users-index .user-profile th:last-child {
  border-right: 1px solid var(--dark-gray);
}

.users-index .user-profile td.admin {
  background-color: var(--dark-yellow);
  color: var(--red);
  font-weight: bold;
}

.users-index .user-profile .button-wrap {
  display: flex;
  justify-content: center;
}

.users-index .user-profile .delete-button {
  cursor: pointer;
  font-size: var(--base-size);
  width: 4rem;
  height: 1.5rem;
  border-radius: 5px;
  border: 3px solid var(--red);
  background-color: var(--red);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease all;
}

.users-index .user-profile .delete-button:hover {
  background-color: var(--white);
  color: var(--red);
}

/* ******************************************* */
/* 記事一覧ページ */
/* ******************************************* */
.articles-top {
  padding-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.articles-top .art-h1,
.articles-top .art-h2 {
  font-size: var(--size-20);
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
}

.articles-top .article-list .initial {
  font-size: var(--size-20);
  font-weight: bold;
}

.articles-top .article-list .articles {
  list-style-type: disc;
  margin-left: 2rem;
}

.articles-top .article-list .articles li {
  margin-bottom: 0.5rem;
}

.articles-top .article-list .articles li a:hover {
  text-decoration: none;
}


/* ******************************************* */
/* 記事一覧（管理用）ページ */
/* ******************************************* */
.articles-edit {
  padding-top: 2.5rem;
  width: 90%;
  margin: 0 auto;
}

.articles-edit .art-h1,
.articles-edit .art-h2 {
  font-size: var(--size-20);
  font-weight: bold;
  text-align: center;
  margin-bottom: 2.5rem;
}

.articles-edit .art-h2 {
  margin-top: 4rem;
  margin-bottom: 1.5rem;
}

.articles-edit .table-wrapper {
  overflow-x: auto;
  width: 100%;
}

.articles-edit .articles-table .title-row,
.articles-edit .articles-table .article-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.articles-edit .articles-table .title-row {
  padding: 0 0 0.5rem 0;
  margin: 0 0 0.5rem 0;
}

.articles-edit .articles-table .article-row {
  padding: 0 0 0.5rem 0;
}

.articles-edit .articles-table .title-row,
.articles-edit .articles-table .article-row.buttons {
  border-bottom: 1px solid var(--dark-gray);
  margin: 0 0 0.5rem 0;
}

.articles-edit .articles-table .article-row input {
  font-size: var(--base-size);
  width: 100%;
  padding: 0 0.5rem;
  border: 1px solid var(--dark-gray);
  border-radius: 5px;
}

.articles-edit .articles-table .col-visible select {
  font-size: var(--base-size);
  border: 1px solid var(--dark-gray);
  border-radius: 5px;
  line-height: var(--base-line-height);
}

.articles-edit .articles-table .col-title {
  flex: 1;
}

.articles-edit .articles-table .col-wiki-url {
  flex: 1;
}

.articles-edit .articles-table .col-update,
.articles-edit .articles-table .col-delete {
  width: 80px;
}

.articles-edit .articles-table .article-row .update-button {
  background-color: var(--main-color);
  padding: 0 1rem;
  color: var(--white);
  border: 1px solid var(--main-color);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.5s all ease;
  font-size: var(--base-size);
  height: 36px;
}

.articles-edit .articles-table .article-row .update-button:hover {
  color: var(--main-color);
  background-color: var(--white);
}

.articles-edit .articles-table .article-row .delete-button {
  background-color: var(--red);
  padding: 0 1rem;
  color: var(--white);
  border: 1px solid var(--red);
  border-radius: 5px;
  transition: 0.5s all ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--base-size);
  height: 36px;
  cursor: pointer;
}

.articles-edit .articles-table .article-row .delete-button:hover {
  color: var(--red);
  background-color: var(--white);
}

.articles-edit .new-article {
  margin-bottom: 4.5rem;
}

.articles-edit .new-article,
.articles-edit .new-article .new-title, 
.articles-edit .new-article .new-visible, 
.articles-edit .new-article .new-wiki-url {
  width: 100%;
}

.articles-edit .new-article .new-title, 
.articles-edit .new-article .new-visible, 
.articles-edit .new-article .new-wiki-url {
  display: flex;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.articles-edit .new-article .label {
  width: 95px;
  text-align: justify;
}

.articles-edit .new-article .new-title input, 
.articles-edit .new-article .new-wiki-url input {
  flex: 1;
  border-radius: 5px;
  border: 1px solid var(--dark-gray);
  padding: 0 0.5rem;
  font-size: var(--base-size);
}

.articles-edit .new-article .new-visible select {
  font-size: var(--base-size);
  border: 1px solid var(--dark-gray);
  border-radius: 5px;
  line-height: var(--base-line-height);
}

.articles-edit .new-article .new-add {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.articles-edit .new-article .new-add input {
  background-color: var(--main-color);
  padding: 0 1rem;
  color: var(--white);
  border: 1px solid var(--main-color);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.5s all ease;
  font-size: var(--base-size);
  height: 36px;
}

.articles-edit .new-article .new-add input:hover {
  color: var(--main-color);
  background-color: var(--white);
}


/* ******************************************* */
/* 記事ページ */
/* ******************************************* */
.article-show {
  padding-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.article-show .article-header {
  margin-bottom: 2.5rem;
}

.article-show .as-h1 {
  font-size: var(--size-20);
  font-weight: bold;
  text-align: center;
}

.article-show .as-h2 {
  font-size: var(--size-20);
  text-align: center;
}

.article-show .article-buttons {
  display: none;
}

@media (768px < width) {
  .article-show .article-buttons {
    display: block;
    margin-bottom: 1rem;
  }

  .article-show .article-buttons .article-buttons-list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .article-show .article-buttons .article-buttons-list .item {
    margin-right: 1rem;
  }

  .article-show .article-buttons .article-buttons-list .item:last-child {
    margin-right: 0;
  }

  .article-show .article-buttons .article-buttons-list .item a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--size-12);
    border: 2px solid var(--dark-gray);
    border-radius: 5px;
    padding: 0.25rem 0.5rem;
    text-decoration: none;
    color: var(--black);
    transition: 0.3s all ease;
  }

  .article-show .article-buttons .article-buttons-list .item a.memo:hover {
    background-color: var(--light-green);
    border-color: var(--light-green);
  }

  .article-show .article-buttons .article-buttons-list .item a.favorite:hover {
    background-color: var(--yellow);
    border-color: var(--yellow);
  }

  .article-show .article-buttons .article-buttons-list .item a.favorite-on {
    background-color: var(--yellow);
    border-color: var(--yellow);
  }

  .article-show .article-buttons .article-buttons-list .item a.favorite-on:hover {
    background-color: var(--white);
    border-color: var(--dark-gray);
  }

  .article-show .article-buttons .article-buttons-list .item a.favorite-on img.sp {
    display: none;
  }

  .article-show .article-buttons .article-buttons-list .item a img {
    margin-right: 0.5rem;
    height: 20px;
  }

  .item a .favorite-text {
    display: inline;
    color: var(--black);
  }
}

.article-show a[target="_blank"] {
  background-image: url(/new-window-icon.svg);
  background-repeat: no-repeat;
  background-size: 14px 14px;
  background-position: right;
  display: inline-block;
  padding-right: 1rem;
  word-break: break-all;
}

.article-show a,
.article-show a * {
  color: var(--main-color);
}

.article-show a.selflink {
  color: var(--black);
}

.article-show a:hover {
  text-decoration: none;
}

.article-show .as-content .mw-editsection {
  display: none;
}

.article-show .as-content p {
  margin: 0.2rem 0 1rem 0;
}

.article-show .as-content a.new {
  color: var(--red);
}

.article-show .as-content table {
  width: 100%;
}

.article-show .as-content table * {
  line-height: 100%;
}

.article-show .as-content table tr:first-child td,
.article-show .as-content table tr:last-child td {
  line-height: 140%;
}

.article-show .as-content table.plainlinks * {
  line-height: var(--base-line-height);
}

.article-show .as-content .wikitable-wrap {
  max-width: 1500px;
  overflow-x: scroll;
  margin-bottom: 2rem;
}

.article-show .as-content .wikitable-wrap::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.article-show .as-content .wikitable-wrap::-webkit-scrollbar-thumb {
  border-radius: 0.25rem;
}

.article-show .as-content .wikitable-wrap::-webkit-scrollbar-thumb {
  background-color: var(--dark-gray);
}

.article-show .as-content .wikitable-wrap table {
  table-layout: fixed;
  border-collapse: collapse;
  border-bottom: 1px solid var(--dark-gray);
}

.article-show .as-content .wikitable-wrap table * {
  line-height: var(--base-line-height);
}

.article-show .as-content .wikitable-wrap table td {
  padding: 0.3rem 0;
}

.article-show .as-content .wikitable-wrap table th {
  font-weight: bold;
}

.article-show .as-content .wikitable-wrap table th {
  padding-right: 3rem;
}

.article-show .as-content .wikitable-wrap table th:first-child {
  padding-right: 2rem;
}

.article-show .as-content .wikitable-wrap .skin-nightmode-reset-color table td {
  padding: 0;
}

.article-show .as-content .wikitable-wrap .skin-nightmode-reset-color table * {
  line-height: 100%;
}

.article-show .as-content .wikitable-wrap .skin-nightmode-reset-color table tr:first-child td,
.article-show .as-content .wikitable-wrap .skin-nightmode-reset-color table tr:last-child td {
  line-height: 140%;
}


.article-show .as-content .infobox {
  border: 1px solid var(--dark-gray);
  padding: 0.2rem;
  width: 100% !important;
  min-width: 330px;
}

.article-show .as-content .infobox * {
  word-break: break-all;
  line-height: var(--base-line-height);
}

.article-show .as-content .infobox > tbody {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.article-show .as-content .infobox > tbody > tr th {
  display: inline-block;
  width: 100%;
}

.article-show .as-content .infobox .skin-nightmode-reset-color * {
  line-height: 100%;
}

.article-show .as-content .infobox .skin-nightmode-reset-color table tr:first-child td,
.article-show .as-content .infobox .skin-nightmode-reset-color table tr:last-child td {
  line-height: var(--base-line-height);
}

.article-show .as-content .mw-heading1,
.article-show .as-content .mw-heading2 {
  border-bottom: 1px solid var(--dark-gray);
  padding-bottom: 0.1rem;
  display: flow-root;
  margin-bottom: 0.5rem;
}

.article-show .as-content .mw-heading1,
.article-show .as-content .mw-heading2 {
  margin-top: 2rem;
}

.article-show .as-content .mw-heading1 h1 {
  font-size: var(--size-20);
  font-weight: bold;
}

.article-show .as-content .mw-heading2 h2 {
  font-size: var(--size-18);
  font-weight: bold;
}

.article-show .as-content .mw-heading3 h3 {
  font-size: var(--size-18);
  font-weight: bold;
}

.article-show .as-content ul {
  list-style-type: disc;
  margin-left: 2rem;
}

.article-show .as-content .messagebox.notice {
  float: none;
  width: 100% !important;
}

.article-show .as-content .navbox .navbox-inner .noviewer.navbox-image {
  display: none;
}

.article-show .as-content .mw-heading #References {
  display: block;
  margin-top: 4rem;
}

.article-show .cite_wrap {
  margin-top: 2.5rem;
  font-size: var(--size-12);
}

@media (768px < width) {
  .article-show .as-content .infobox {
    width: 330px !important;
    float: right;
    clear: right;
    margin-left: 2rem;
  }

  .article-show .cite_wrap {
    text-align: right;
  }
}

/* ******************************************* */
/* 検索結果ページ */
/* ******************************************* */
.articles-search-result {
  padding-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.articles-search-result .art-h1,
.articles-search-result .art-h2 {
  font-size: var(--size-20);
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
}

.articles-search-result .serach-result {
  margin-bottom: 2rem;
}

.articles-search-result .serach-result .title {
  font-size: var(--size-18);
  font-weight: bold;
}

.articles-search-result .serach-result .title .title-link:hover {
  text-decoration: none;
}

.articles-search-result .serach-result .extract {
  font-size: var(--size-12);
}

.articles-search-result .serach-no-result a:hover {
  text-decoration: none;
}


/* ******************************************* */
/* コレクションページ */
/* ******************************************* */
.collection {
  padding-top: 2.5rem;
}

.collection .note {
  margin-bottom: 2.5rem;
}

.collection .login-button-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.collection .login-button {
  width: 14.375rem;
  height: 6rem;
  border-radius: 5px;
  border: 3px solid var(--main-color);
  text-align: center;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease all;
}

.collection .login-button {
  color: var(--main-color);
  margin-bottom: 5rem;
}

.collection .login-button:hover {
  background-color: var(--main-color);
  color: var(--white);
}

.collection .co-h1 {
  font-size: var(--size-20);
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
}

.collection .co-art {
  margin-bottom: 1rem;
}

.collection .co-art .header {
  font-size: var(--base-size);
  padding: 1rem 0.625rem 1rem 1.2rem;
  border: 1px solid var(--dark-gray);
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.collection .co-art.open .header {
  border-radius: 5px 5px 0 0;
}

.collection .co-art .header .open,
.collection .co-art .header .close {
  cursor: pointer;
}

.collection .co-art .header .open {
  display: none;
}

.collection .co-art .header .link {
  text-decoration: none;
  margin-right: 1rem;
}

.collection .co-art .header .link:hover {
  text-decoration: underline;
}

.collection .co-art.open .header .open {
  display: block;
}

.collection .co-art.open .header .close {
  display: none;
}

.collection .co-art .memo {
  display: none;
}

.collection .co-art.open .memo {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--dark-gray);
  border-top: none;
  border-radius: 0 0 5px 5px;
  padding: 0.625rem 0.625rem 1rem 1.2rem;
}

.collection .co-art.open .memo .memo-body {
  margin-bottom: 2rem;
  font-size: var(--base-size);
}

.collection .co-art.open .memo .edit {
  text-align: right;
}


/* ******************************************* */
/* メモ一覧ページ */
/* ******************************************* */
.memo-list {
  padding-top: 2.5rem;
}

.memo-list .note {
  margin-bottom: 2.5rem;
}

.memo-list .login-button-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.memo-list .login-button {
  width: 14.375rem;
  height: 6rem;
  border-radius: 5px;
  border: 3px solid var(--main-color);
  text-align: center;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease all;
}

.memo-list .login-button {
  color: var(--main-color);
}

.memo-list .login-button:hover {
  background-color: var(--main-color);
  color: var(--white);
}

.memo-list .ml-h1 {
  font-size: var(--size-20);
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
}

.memo-list .ml-art {
  margin-bottom: 1rem;
}

.memo-list .ml-art .header {
  font-size: var(--base-size);
  padding: 1rem 0.625rem 1rem 1.2rem;
  border: 1px solid var(--dark-gray);
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.memo-list .ml-art.open .header {
  border-radius: 5px 5px 0 0;
}

.memo-list .ml-art .header .open,
.memo-list .ml-art .header .close {
  cursor: pointer;
}

.memo-list .ml-art .header .open {
  display: none;
}

.memo-list .ml-art .header .link {
  text-decoration: none;
  margin-right: 1rem;
}

.memo-list .ml-art .header .link:hover {
  text-decoration: underline;
}

.memo-list .ml-art.open .header .open {
  display: block;
}

.memo-list .ml-art.open .header .close {
  display: none;
}

.memo-list .ml-art .memo {
  display: none;
}

.memo-list .ml-art.open .memo {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--dark-gray);
  border-top: none;
  border-radius: 0 0 5px 5px;
  padding: 0.625rem 0.625rem 1rem 1.2rem;
}

.memo-list .ml-art.open .memo .memo-body {
  margin-bottom: 2rem;
  font-size: var(--base-size);
}

.memo-list .ml-art.open .memo .edit {
  text-align: right;
}


/* ******************************************* */
/* メモリストページ */
/* ******************************************* */
.memo-content {
  padding-top: 2.5rem;
}

.memo-content .mc-h1 {
  font-size: var(--size-20);
  font-weight: bold;
  text-align: center;
}

.memo-content .mc-h2 {
  font-size: var(--base-size);
  font-weight: normal;
  text-align: center;
  margin-bottom: 1.5rem;
}

.memo-content .memo-body {
  margin-bottom: 1.5rem;
}

.memo-content .memo-body .content {
  width: 100%;
  border: 1px solid var(--dark-gray);
  border-radius: 5px;
  padding: 1rem;
  font-size: var(--base-size);
  height: 50vh;
  min-height: 450px;
}

.memo-content .memo-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.memo-content .memo-buttons .cancel {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1rem;
  text-decoration: none;
  background-color: var(--dark-gray);
  color: var(--white);
  border-radius: 5px;
  border: 3px solid var(--dark-gray);
  transition: 0.5s all ease;
}

.memo-content .memo-buttons .cancel:hover {
  background-color: var(--white);
  color: var(--dark-gray);
}

.memo-content .memo-buttons .submit {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: var(--base-size);
  color: var(--white);
  background-color: var(--main-color);
  border: 3px solid var(--main-color);
  border-radius: 5px;
  transition: 0.5s all ease;
}

.memo-content .memo-buttons .submit:hover {
  background-color: var(--white);
  color: var(--main-color);
}

/* ******************************************* */
/* メモ一覧（管理用）ページ */
/* ******************************************* */
.memo-all-users {
  padding-top: 2.5rem;
}

.memo-all-users .mau-h1 {
  font-size: var(--size-20);
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

.memo-all-users .user-memos {
  margin-bottom: 2rem;
}

.memo-all-users .user-memos .header {
  border-bottom: 1px solid var(--dark-gray);
  margin-bottom: 0.5rem;
}

.memo-all-users .user-memos .header .mau-id,
.memo-all-users .user-memos .header .mau-user-name {
  line-height: 100%;
}

.memo-all-users .user-memos .header .mau-id {
  font-size: var(--size-12);
}

.memo-all-users .user-memos .header .mau-user-name {
  font-size: var(--size-18);
}

.memo-all-users .user-memos .memo {
  border: 1px solid var(--dark-gray);
  border-radius: 5px;
  margin-bottom: 1rem;
}

.memo-all-users .user-memos .memo .mau-title {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--dark-gray);
}

.memo-all-users .user-memos .memo .mau-title .link:hover {
  text-decoration: none;
}

.memo-all-users .user-memos .memo .mau-body {
  padding: 0.5rem 1rem;
}

/* ******************************************* */
/* 利用規約、サイトポリシーページ */
/* ******************************************* */
.terms {
  padding-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.terms .terms-h1 {
  font-size: var(--size-20);
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

.terms .terms-lead {
  margin-bottom: 1.5rem;
}

.terms .terms-h2 {
  font-size: var(--size-18);
  font-weight: bold;
}

.terms .terms-body {
  margin-bottom: 1.5rem;
}

.terms .terms-body ol {
  list-style-type: decimal;
  margin-left: 2rem;
}

.terms .terms-body ul {
  list-style-type: disc;
  margin-left: 2rem;
}

.terms .terms-body .tems-cookie-button {
  outline: none;
  box-shadow: none;
  font-size: var(--base-size);
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--dark-gray);
  color: var(--white);
  border-radius: 5px;
  border: 2px solid var(--dark-gray);
  cursor: pointer;
  transition: 0.3s all ease;
}

.terms .terms-body .tems-cookie-button:hover {
  background-color: var(--light-gray);
  color: var(--dark-gray);
}


/* ******************************************* */
/* 運営からのお知らせページ */
/* ******************************************* */
.announcements {
  padding-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.announcements .ac-h1 {
  font-size: var(--size-20);
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

.announcements .ac-form .ac-form-item {
  margin-bottom: 0.5rem;
}

.announcements .ac-form .ac-form-item .label {
  display: block;
}

.announcements .ac-form .ac-form-item .input {
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: var(--base-size);
}

.announcements .ac-form .ac-form-buttons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

.announcements .ac-form .ac-form-buttons .create-button,
.announcements .ac-form .ac-form-buttons .update-button {
  font-size: var(--base-size);
  width: 5rem;
  height: 2.5rem;
  border-radius: 5px;
  border: 3px solid var(--main-color);
  background-color: var(--main-color);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease all;
  cursor: pointer;
  margin-top: 1rem;
}

.announcements .ac-form .ac-form-buttons .create-button:hover,
.announcements .ac-form .ac-form-buttons .update-button:hover {
  background-color: var(--white);
  color: var(--main-color);
}

.announcements .ac-form .ac-form-buttons .cancel-button {
  font-size: var(--base-size);
  width: 6rem;
  height: 2.5rem;
  border-radius: 5px;
  border: 3px solid var(--dark-gray);
  background-color: var(--dark-gray);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease all;
  cursor: pointer;
  margin-top: 1rem;
}

.announcements .ac-form .ac-form-buttons .cancel-button:hover {
  background-color: var(--white);
  color: var(--dark-gray);
}

.announcements .confirm {
  display: flex;
  justify-content: flex-end;
}

.announcements .delete-button {
  cursor: pointer;
  font-size: var(--base-size);
  width: 5rem;
  height: 2.5rem;
  border-radius: 5px;
  border: 3px solid var(--red);
  background-color: var(--red);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease all;
  margin-bottom: 1rem;
}

.announcements .delete-button:hover {
  background-color: var(--white);
  color: var(--red);
}

.announcements .new {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.announcements .new .create-button {
  width: 6rem;
  height: 2.5rem;
  border-radius: 5px;
  border: 3px solid var(--main-color);
  background-color: var(--main-color);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s ease all;
  cursor: pointer;
  margin-top: 1rem;
}

.announcements .new .create-button:hover {
  background-color: var(--white);
  color: var(--main-color);
}

.announcements .ac-list .ac-item {
  border-bottom: 1px solid var(--dark-gray);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.announcements .ac-list .ac-item .ac-dates {
  text-align: right;
  font-size: var(--size-12);
  margin-bottom: 0.5rem;
}

.announcements .ac-list .ac-item .ac-title {
  font-size: var(--size-18);
  font-weight: bold;
}

.announcements .ac-list .ac-item .ac-title a {
  font-size: var(--size-18);
  font-weight: bold;
}

.announcements .ac-list .ac-item .ac-title a:hover {
  text-decoration: none;
}

.announcements .ac-list .ac-item .ac-date {
  font-size: var(--size-12);
  margin-bottom: 0.5rem;
}

