@page {
  size: B4 landscape;
  margin: 1cm;
}
body {
  font-size: 16px;
  /*font-size: 3vmin;*/
  background-color: #f5f5dc;
}

#taitoruWaku {
  position: fixed;
  display: flex;
  flex-direction: row;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  border: 2px solid aquamarine;
  border-radius: 5px;
  margin-bottom: 0.5em;
  background-color: aquamarine;
  padding: 0.2em 3em;
  align-items: center;
}
#dai {
  position: relative;
  /*font-size: 1.5em;*/
  font-size: clamp(1.5em, 4.5vmin, 45px);
  width: fit-content;
  font-weight: bold;
  z-index: 10;
  top: -0.2em;
  white-space: nowrap;
  text-align: center;
}
#daiS {
  position: relative;
  font-size: clamp(0.7em, 2.2vmin, 22px);
}
#mokujiGa1 {
  position: relative;
  width: 5em;
  height: auto;
  object-fit: contain;
  z-index: 10;
  left: 3em;
}

#burandoGa {
  position: absolute;
  width: 2em;
  height: auto;
  object-fit: contain;
}
#目次枠 {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  margin-top: 7em;
}
.gyou {
  position: relative;
  display: inline-flex;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.konnte {
  position: relative;
  display: flex;
  flex-direction: row;
  margin-top: 0.2em;
}
.mokujino {/*目次の画像*/
  position: relative;
  width: 4em;
  height: auto;
  object-fit: contain;
  padding: 0.2em 0;
}
#moji4Waku {
  position: relative;
  display: flex;
  flex-direction: row;
  padding: 0 0;
}
.koumoku {
  position: relative;
  font-weight: bold;
  width: fit-content;
  height: auto;
  position: relative;
  border-radius: 5px;
  background-color: cyan;
  position: relative;
  display: flex;
  flex-direction: row;
  padding: 0 0.4em;
  margin-top: 0.5em;
  font-size: clamp(1em, 3vmin, 30px);
}
.tiisaku {  
  font-size: 0.5em;
}
#mkj03, #mkj05, #mkj07, #mkj08, #moji3, #moji4, #han1, #han2 {
  position: relative;
  border: 2px solid blue;
  border-radius: 10px;
  background-color: white;
  width: auto;
  height: auto;
  filter: drop-shadow(5px 5px 3px gray);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  /*font-size: 1em;*/
  font-size: clamp(16px, 3vmin, 30px);
  width: fit-content;
  padding: 0 0.5em;
}
#mkj01, #mkj02, #mkjY01, #kotobaY03, #kotobaY04, #hanY01, #hanY02 {
  position: relative;
  border: 2px solid red;
  border-radius: 10px;
  background-color: white;
  width: auto;
  height: auto;
  filter: drop-shadow(5px 5px 3px gray);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  /*font-size: 1em;*/
  font-size: clamp(16px, 3vmin, 30px);
  width: fit-content;
  padding: 0 0.5em;
}
#mkj05,
#mkj07,
#mkj08 {
  width: 25em;
}
#mkj08 {
  justify-content: left;
}
#kotobaY03,
#kotobaY04 {
  left: 0.2em;
}
#han2 {
  background-color: blanchedalmond;
}
#kikutoreGaW {
  position: fixed;
  left: 10px;
  top: 10%;
  z-index: -1;
}
#kikutoreGa {
  position: relative;
  width: 15vw;
  height: auto;
  object-fit: contain;
  left: 1px;
}
#kikutoreMezasu {
  position: fixed;
  right: 0;
  top: 50%;
  font-size: 0.7em;
  background-color: white;
  width: fit-content;
  border: 2px solid black;
  border-radius: 5px;
  padding: 2px 5px;
}
#kikutoreMezasu:active {
  background-color: lightgray;
}
#hajime {
  position: fixed;
  border: 2px solid black;
  border-radius: 5px;
  padding: 2px 5px;
  font-size: 0.7em;
  background-color: white;
  right: 0;
  width: fit-content;
  bottom: 2em;
}
#onegai {
  position: fixed;
  font-weight: bold;
  font-size: 0.7em;
  bottom: 0;
  right: 0;
  z-index: -1;
}


#kaisetu {
  position: absolute;
  top: 3em;
  right: 10%;
  width: 50vw;
  height: auto;
  border: 2px solid blue;
  border-radius: 10px;
  background-color: white;
  display: none;
  z-index: 5;
  background-color: aliceblue;
  padding-bottom: 5px;
  max-height: 100vh;
  overflow-y: auto;
}
#kaisetu00 {
  display: flex;
  justify-content: space-between;
}
#kaisetu0 {
  position: relative;
  font-size: 1.2em;
  font-weight: bold;
  flex: 1;
  text-align: center;
}
#kaisetu011 {
  font-weight: bold;
}
#kaisetu001 {
  position: relative;
  background-color: white;
  border: 1px solid skyblue;
  border-radius: 5px;
  padding: 5px 2px;
  text-align: right;
  height: 1em;
  vertical-align: middle;
}
#kaisetu01 {
  background-color: white;
  border: 1px solid skyblue;
  border-radius: 5px;
  padding: 5px;
  margin: 3px;
}
#kaisetu1 {
  position: relative;
  font-weight: bold;
  margin: 3px 3px 3px 5px;
}
#kaisetu2 {
  position: relative;
  font-size: 0.7em;
  width: 40vw;
  left: 10%;
  margin-top: 3px;
}

.sanpuruWaku {
  position: fixed;
  
  width: 15%;
  background-color: blueviolet;
  border: 2px solid blueviolet;
  border-radius: 5px;
  color: white;
  z-index: 10;
}


#mkj01, #mkj02, #mkjY01, #mkj03, #insatu, #mkj05, #mkj07, #mkj08, #kotobaY03, #kotobaY04, #moji3, #moji4, #han1, #hanY01, #han2, #hanY02, #hajime:hover {
  cursor: pointer;
}
#mkjY01 {
  margin-top: 0.2em;
}

#コピーライト目次 {
  position: fixed;
  bottom: 0;
  left: 10px;
  z-index: -1;
}
#ロゴ目次 {
  width: 100px;
  height: auto;
  z-index: -1;
}


#hajime:active {
  background-color: lightgray;
}
#han1 {
  background-color: lightgray;
}
#hanY01,
#hanY02 {
  background-color: lightgray;
}
#moji4,
#kotobaY03,
#kotobaY04,
#mkj05,
#mkj07,
#mkj08,
#mkjY01,
#mkj02 {
  background-color: lightgray;
}
#sanpuruTotyuu {
  position: relative;
  display: inline-block;
  background-color: lightgray;
  margin-top: 2em;
}
