@charset "utf-8";

body {
  margin: 0;
  font-family: Arial, sans-serif;
  height: calc(100vh - 120px);
  background-color: white;
}

header {
  display: flex;
  align-items: center;
  background-color: #333;
  color: white;
  padding: 10px;
  position: fixed;
  width: 100%;
  height: 60px;
  top: 0;
  z-index: 1;
  gap: 20px;
}


.header_logo {
  height: 40px;
}

.menu-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

header h1 {
  margin: 0;
}

.sidebar {
  width: 180px;
  height: calc(100vh - 80px);
  position: fixed;
  background-color: #f4f4f4;
  /* padding: 20px; */
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  top: 80px;
  /* Adjusted for the fixed header */
  left: 0;
  /* transition: transform 0.3s ease; */
  z-index: 100;
}

.sidebar.closed {
  transform: translateX(-100%);
}


nav ul {
  list-style: none;
  padding: 0;
  margin: 0px 0 0 0;
}

nav ul li {
  padding: 10px 20px;
}

/* ホバー */
nav ul li:hover {
  background-color: #ddd;
}

nav ul a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
}

footer {
  /* padding: 20px; */
  position: absolute;
  display: flex;
  bottom: 10px;
  width: 180px;
  text-align: center;
  font-size: 12px;
  color: #666;
  justify-content: center;
}

.main-content {
  margin-left: 180px;
  margin-top: 80px;
  height: calc(100vh - 80px);
}

.main-content.expanded {
  margin-left: 0px;
}

.main-content-inner {
  padding: 20px;
}

.flex_horizontal {
  display: flex;
  justify-content: space-around;
}

.auto-phrase {
  word-break: auto-phrase;
}

.link_icon {
  width: 20px;
  height: 20px;
}

.link_div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.title {
  font-size: 60px;
  margin: 20px 0;
}

.content-title {
  font-size: 40px;
  margin-left: 20px;
}

.content-title{
  margin-left: 0;
}


@media screen and (max-width:880px) {

  /*　画面サイズが880pxからはここを読み込む　*/
  .sidebar {
    height: calc(100vh - 80px);
  }

  .main-content {
    margin-left: 0px;
    height: calc(100vh - 80px);
    width: 100%;
  }

}

@media screen and (max-width:480px) {

  /*　画面サイズが480pxからはここを読み込む　*/
  .sidebar {
    width: 100vw;
  }

  nav ul li {
    padding: 10px 20px;
    text-align: center
  }

  nav ul a {
    text-decoration: none;
    color: #333;
    font-size: 32px;
  }

  .title {
    font-size: 40px;
  }

  .content-title {
    font-size: 30px;
  }

  /* フッターを中央揃え */
  footer {
    width: 100%;
  }
}