@charset "UTF-8";

.bu1bus {
background-color:#ffff00;
border: 2px solid #ffffff;
border-radius:8px;
display:inline-block;
color:#ffffff;
font-size:15px;
padding:16px 10px 16px 60px;
text-decoration:none;
width: 80%;
background-image: url("../menu/opencampus/img/icon1.png");
background-repeat: no-repeat;
background-position: left;
text-align: left;
box-shadow: 4px 4px #868686;
margin:0px 0px 10px 0px;
}

a.bu1bus:link{
color:#000000;
}

a.bu1bus:visited{
color:#000000;
text-decoration:underline;
}

.ocmid1 {
padding: 20px 0.5em;
color: #494949;
background: #f4f4f4;
border-left: solid 7px #70b5f3;
border-bottom: solid 5px #d7d7d7;
margin:0px 15px 0px 15px;
text-align: center;
font-weight:bold;
}

.ocmain3 {
background-color: #ebebeb;
-webkit-border-radius: 8px;
border-radius: 8px;
padding: 10px 10px;
margin: 0px 20px 20px 20px;
}

.picp1oc {
text-align: left;
padding: 5px 0px 0px 1em;
}

.ocfl1 {
background-color: #ebebeb;
-webkit-border-radius: 8px;
border-radius: 8px;
padding: 15px 15px;
margin: 5px 10px 10px 10px;
}

.ocyt1 {
font-size: 20px;
background: #5fb3f5;
margin: 20px 0px 0px 0px;
padding: 15px 0px 15px 0px;
text-align: center;
color: #ffffff;
font-weight: bold;
letter-spacing: 0.05em;
border-radius: 10px 10px 0px 0px;
}

.ocyb1 {
margin: 0px 0px 30px 0px;
background: #ffffff;
padding: 15px 10px 15px 10px;
border-radius: 0px 0px 10px 10px;
}

img.ocicon1 { vertical-align: middle; }

.ecilu {
width: 18px;
height: 18px;
background: url('../menu/opencampus/img/ev6.gif');
background-repeat: no-repeat;
background-position: right center;
padding-right: 18px;
}

.ecimoon {
width: 18px;
height: 18px;
background: url('../menu/opencampus/img/ev18.gif');
background-repeat: no-repeat;
background-position: right center;
padding-right: 18px;
}

.ecibus {
width: 18px;
height: 18px;
background: url('../menu/opencampus/img/ev19.gif');
background-repeat: no-repeat;
background-position: right center;
padding-right: 18px;
}

.ocpt1 {
background-color: #6785e5;
border-radius: 5px;
padding: 5px 0px 5px 0px;
margin:5px 0px 5px 0px;
color: #ffffff;
text-align: center;
width: 150px;
}

.ocot1 {
background-color: #19a54c;
border-radius: 5px;
padding: 5px 0px 5px 0px;
margin:0px 0px 5px 0px;
color: #ffffff;
text-align: center;
width: 150px;
}

.ocst1 {
background-color: #e57b27;
border-radius: 5px;
padding: 5px 0px 5px 0px;
margin:0px 0px 5px 0px;
color: #ffffff;
text-align: center;
width: 150px;
}

.ocns1 {
background-color: #f35d5f;
border-radius: 5px;
padding: 5px 0px 5px 0px;
margin:0px 0px 5px 0px;
color: #ffffff;
text-align: center;
width: 150px;
}

.occsw1 {
background-color: #b2b049;
border-radius: 5px;
padding: 5px 0px 5px 0px;
margin:5px 0px 5px 0px;
color: #ffffff;
text-align: center;
width: 150px;
}

.ocpsw1 {
background-color: #20a0c7;
border-radius: 5px;
padding: 5px 0px 5px 0px;
margin:10px 0px 5px 0px;
color: #ffffff;
text-align: center;
width: 150px;
}

.ocdate1 {
background-color: #f35d5f;
padding: 0px 0px 0px 0px;
margin:0px 0px 30px 0px;
}

.ocb1 {
font-weight: bold;
font-size:46px;
color: #ffffff;
}

.ocb2 {
font-weight: bold;
font-size:30px;
color: #ffffff;
}

.ocb3 {
font-weight: bold;
font-size:20px;
color: #ffffff;
}

.ocb4 {
font-weight: bold;
font-size:20px;
color: #ff0000;
}

.ocsubt1 {
padding:15px 10px 15px 10px;
margin: 5px 15px 10px 15px;
font-weight: bold;
color: #6999da;
background: #FFF;
border: solid 3px #84ace3;
border-radius: 10px;
}

/* ===== メモ帳コンテナ ===== */
.notepad {
    width: 100%;
    background: #fffbea;
    /* クリーム色の用紙 */
    padding: 40px 20px 5px 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .15);
    position: relative;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

/* ----- 上部のスパイラル（リング穴） ----- */
.notepad::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 50%;
    width: 80%;
    height: 0;
    border-top: 2px solid #d0d0d0;
    transform: translateX(-50%);
}

.notepad::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: calc(80% + 4px);
    height: 36px;
    background:
        radial-gradient(circle at 50% 0, #555 3.5px, transparent 4px) repeat-x;
    background-size: 22px 36px;
    transform: translateX(-50%);
}

/* ===== 行罫（ノートらしい横線） ===== */
.notepad p {
    margin: 0 0 1.4em;
    padding-left: 4px;
    background:
        repeating-linear-gradient(to bottom,
            transparent 0,
            transparent 33px,
            rgba(0, 0, 0, 0.07) 34px);
}

/* 強調（お好みで） */
strong {
    font-weight: 700;
    color: #d65a2f;
}

.card-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 20px 0px 20px;
}

.card {
  display: block;
  width: 100%;
  max-width: 500px;
  text-decoration: none;
  color: #333;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e6e6e6;
  margin-bottom: 40px;
  box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3);
}

.card img {
  width: 100%;
  height: auto;
  display: block;
}

.card-content {
  padding: 15px;
  text-align: center;
  position: relative;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.2em;
  text-align: left;
}

.card hr {
  border: 0;
  height: 1px;
  background: #ccc;
  margin: 10px 0;
}

.description {
  margin: 0 0 20px;
  font-size: 1em;
  color: #666;
  text-align: left;
}

.more-container {
  text-align: right;
}

.more {
  display: inline-block;
  color: #3a72ad;
  font-weight: bold;
  padding: 0px 12px;

  transition: color 0.3s;
  font-size: 14px;
}

.more::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 1px solid #000;
  border-top: 1px solid #000;
  display: inline-block;
  transform: rotate(45deg);

}

.qaContainer {
  margin: 0;
  padding: 0;
}

.qaItem {
  border-bottom: 1px solid #ddd;
}

.qaQuestion {
  position: relative;
  width: 100%;
  padding: 15px 40px 15px 36px;
  background: none;
  border: none;
  color: #3579e3;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
}

.qaQuestion::before {
  content: "Q.";
  position: absolute;
  left: 5px;
  top: 15px;
  font-weight: bold;
}

.qaQuestion::after {
  content: "＋";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #3579e3;
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.qaQuestion.is-open::after {
  content: "－";
}

.qaAnswer {
  position: relative;
  max-height: 0;
  overflow: hidden;
  padding: 0 10px 0 36px;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease,
    opacity 0.25s ease;
}

.qaAnswer::before {
  content: "A.";
  position: absolute;
  left: 5px;
  top: 0;
  color: #e36161;
  font-weight: bold;
}

.qaAnswer.is-open {
  max-height: 500px;
  padding: 0 10px 15px 36px;
  opacity: 1;
}