@charset "UTF-8";
* {
  font-size: 16px;
  padding: 0;
  margin: 0;
}

body {
  margin: 0;
  font-family: sans-serif;
  background-color: rgb(235, 222, 247);
}

h1,
h2,
h3 {
  padding: 1em 0 1em;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 20px;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -240px;
  /* 隠す */
  width: 240px;
  height: 100vh;
  background-color: #333;
  color: white;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
  transition: left 0.3s ease;
  z-index: 100;
  padding: 20px;
  box-sizing: border-box;
}
.sidebar.open {
  left: 0;
}
.sidebar h2 {
  margin-top: 0;
}
.sidebar ul {
  padding: 0;
  list-style: none;
}
.sidebar ul li {
  padding: 10px 0;
  border-bottom: 1px solid #555;
}
.sidebar ul li a {
  color: white;
  text-decoration: none;
}
.sidebar.open ~ .content {
  margin-left: 280px;
}

.toggle-tab {
  position: absolute;
  top: 20px;
  right: -40px;
  /* 外に飛び出す */
  width: 40px;
  height: 100px;
  background-color: #ffcc00;
  color: #333;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 5px 5px 0 0;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s;
}
.toggle-tab:hover {
  background-color: #ffd633;
}

.content {
  margin-left: 40px;
  margin-right: 40px;
  padding: 20px;
  transition: margin-left 0.3s ease;
}
.content.right {
  margin-left: auto;
  width: -moz-fit-content;
  width: fit-content;
  text-align: left;
}
.content.right h2 {
  text-align: left;
}

.top_title {
  text-align: center;
}/*# sourceMappingURL=style.css.map */