    body {
        background-color: rgb(234, 250, 252);
        background-image: url('../img/pattern.jpg'); background-repeat: repeat; background-size: auto; background-color: #fdfdfd;
    }
    .outer {
        margin: 0;
        padding-top: 10px;
        padding-bottom: 20px;
    }
    .wrap {
     width: 90%;        /* 必須：固定か割合の幅 */
     max-width: 800px;  /* 任意：最大幅 */
     margin: 0 auto;    /* 左右中央寄せ */
     padding: 0;
     border: 1px solid #ccc;
     border-top: 12px solid #5ab4bd;
     background-color: #ffffff;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    .section p.question {
     text-align: left;
    }
    .slide-toggle {
      overflow: hidden;
      height: 0;
      transition: height 0.4s ease;
    }

    .box {
      padding: 1em;
      background-color: #FFFBE0;
      border: 1px solid #d9db66;
      border-radius: 10px;
      margin: 0 auto 1em auto;
      width: 80%;
      text-align: left;
    }

    img.number {
        display: inline-block;
        height: 2em;
        padding-right: 20px;
        padding-left: 20px;
    }
    p.further-question {
        font-size: 1rem;
        /* font-weight: bold; */
        padding-left:3em;
        padding-right: 2em;
        text-indent:-2em;
        line-height: 1.5em;
        text-align: left;
    }
    .section {
      margin-bottom: 1.5em;
      text-align: center; /* ← ボタン中央寄せ */
      /* width: 80%; */
    }

    .toggleBtn {
      display: inline-flex;
      align-items: center;
      gap: 0.5em;
      cursor: pointer;
      background-color: #ffffff;
      border: 1px solid #ccc;
      padding: 0.5em 1rem;
      font-size: 1rem;
      transition: background-color 0.2s;
      margin-bottom: 10px;
    }

    .toggleBtn:hover {
      background-color: #f9f9f9;
    }

    .icon {
      transition: transform 0.3s ease;
    }

    .icon.open {
      transform: rotate(90deg);
    }
/* ポップアップ */
.popup-text {
  display: none;
  position: fixed;
  background-color: #333;
  opacity: 0.9;
  color: #fff;
  padding: 12px 16px;
  border-radius: 6px;
  max-width: 80vw;
  white-space: normal;
  line-height: 1.5;
  word-break: break-word;
  box-sizing: border-box;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.popup-text::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: #333;
}

.popup-text.active {
  display: block;
}
.popup-trigger {
  color: #0077cc;
  text-decoration: underline;
  cursor: pointer;
}

.popup-trigger:hover {
  color: #005fa3;
}

/* セパレーター */
.image-line {
  display: block;
  width: 70%;
  height: auto;
  margin: 2em auto;
}
/* 法学部HPへ */
.tohp {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #5ab4bd;
	margin: 30px 0 0 0 ; 
	padding: 20px 0;
	width: 100%;
}
.tohp img.hp {
	width: 200px;
	padding:0;
	margin:0;
}
.tohp img.left {
	margin-right:30px;
}
a.to:hover {
	opacity: 0.8;
}

@media (max-width: 600px) {
    body {
        margin: 0;
        padding: 0;
        height: 100%;
    }
    .wrap {
        width: 100%;
        margin: 0;
        border-left: 0;
        border-right: 0;
    }
    .outer {
        padding:0;
    }
    p.further-question {
        padding-right: 1em;
    }
    .tohp {
        margin: 0x auto 0 auto;
        padding-bottom: 9px;
    }
    .tohp img.hp {
        width: 133px;
        height: auto;
    }
    img.number {
        padding-right: 20px;
        padding-left: 12px;
    }
}