@charset "UTF-8";

body {
  background-color: #EDF1F3;
  font-family: "Noto Serif JP", serif;
  margin: 0;
  color: #2f2f2f;
}

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; }


.report {
  position: relative;
  background-color: white; 
  border: 1px solid #c7b89a;
  box-shadow:
    0 0 0 4px #f3efe6 inset,
    0 10px 25px rgba(0,0,0,0.15);
  letter-spacing: 0.03em;
  padding: 40px 50px;
  margin-top:100px;
  margin-bottom:100px;
}

.report::before,
.report::after {
  content: "";
  display: block;
  height: 10px;
  background: repeating-linear-gradient(
    45deg,
    #b89b5e,
    #b89b5e 2px,
    transparent 2px,
    transparent 6px
  );
  opacity: 0.4;
}

.report::before {
  margin-bottom: 25px;
}

.report::after {
  margin-top: 30px;
}

.report h3 {
  font-size: 1.05rem;
  font-weight: normal;
  color: #555;
  margin-bottom: 20px;
}

.report p {
  margin-bottom: 1.6em;
}

.report > a[href="quize.html"] {
  margin-top: 60px;
  padding-top: 20px;
  letter-spacing: 0.08em;
}

.report h1 {
  padding-bottom: 12px;
  border-bottom: 5px ridge #b89b5e;
}

.report h2 {
  font-size: 1.3rem;
  color: #5b462b;
  border-left: 4px solid #b8934f;
  padding-left: 10px;
  margin-bottom: 10px;
}

.topic {
  margin-top: 60px;
  padding: 10px 15px;
  background-color: #f3efe6;
  border-left: 6px solid #8c6f3d;
  border-right: 1px solid #c7b89a;
  border-top: 1px solid #d8ccb2;
  border-bottom: 1px solid #d8ccb2;
  font-size: 1.1rem;
}

.dezainn{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.member{
  display: flex;
  vertical-align: middle;
  gap: 15px;
}

.img{
  height: 100px;
  wedth:100px;
}

.report a {
 color: #B13C37;
 text-align: right;
}