@charset "UTF-8";

body {
  text-align:center;
  background-color: #EDF1F3;
  font-family: "Noto Serif JP", serif;
}

header {
  background-color:#f0be89;
}
.logo {
  position: fixed;   /* ハンバーガーと同じく固定 */
  top: 20px;
  left: 20px;        /* 左上に配置 */
  width: 250px;       /* 好きなサイズに調整 */
  height: auto;      /* 縦横比を維持 */
  z-index: 30;       /* ハンバーガーより前面に出すなら大きめに */
}
@media screen and (max-width: 768px) {
  .menu {
    width: 85vw;          /* 画面幅に応じて */
    padding: 15px;
  }

  .menu ul {
    margin-top: 40px;
  }

  .menu li {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .menu {
    width: 100vw;         /* スマホは全幅 */
  }

  .menu li {
    font-size: 0.95rem;
  }
}

.menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background-color: #eee8aa;
  color: #333;
  transition: right 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
  overflow-y: auto;
  box-shadow: -4px 0 12px rgba(0,0,0,0.2);
}

.menu.open {
  right: 0;
}

.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  cursor: pointer;
  z-index: 20;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #c9c9c9;
  margin: 5px 0;
  transition: 0.4s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.menu ul {
  list-style-type: none;
  padding: 0;
  margin-top: 50px;
}

.menu li {
  padding: 10px 0;
  border-bottom: 1px solid #444;
}

.menu li a {
  color: #333;
  text-decoration: none;
  display: block;
}

/* アコーディオン用 */
.sub-items {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 15px;
}



.category.open .sub-items {
  max-height: 1000px;
}

.toggle { cursor: pointer; font-weight: bold; }
.introduce{
  margin-bottom:100px;
}

.img{
  width:12.5rem;
  height: 12.5rem;
}
h1{
  margin: 150px;
}

.member {
  margin-top: 50px;
  display: flex;
  margin-left: 20px;
  text-align: left;

  background-color: rgba(255, 255, 255, 0.6);
  border-left: 4px solid #d6cfa4;   /* 主張しすぎないアクセント */
  padding: 1.5rem 1.5rem 1.5rem 1rem;
  border-radius: 4px;
}

h2 {
  margin: auto 10px;
  font-size: 1.4rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.25rem;
}

.divider {
  padding: 2rem;
  padding-top: 0;
  line-height: 1.8;
  position: relative;
}

.divider br + br {
  display: block;
  content: "";
  margin-top: 0.5rem;
}

.divider::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background-color: #ddd;
  margin: 0.75rem 0;
}

.member:nth-of-type(even){
  flex-direction: row-reverse;
  margin-right: 20px;
  border-left: none;
  border-right: 4px solid #d6cfa4;
}