@charset "UTF-8";

html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  min-height: 100%;
  padding-bottom: 100px;
}

body {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  min-width: 1004px;
  background: #f5f5f5;
}

pre {
  overflow: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

input:focus {
  border-color: #72acea;
}
input[type="radio"]:focus + label,
input[type="checkbox"]:focus + label {
  outline: dotted 1px #000000;
}

.importantMessage {
  color: #ff0000;
}

header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 32px;
}

div#fixedInformation {
  z-index: 10;
}
#menuHeaderBox {
  position: absolute;
  z-index: 15;
  top: 0;
  left: 20px;
  width: 213px;
  border-bottom: 1px solid #cccccc;
  background: #ffffff;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
}
#menuHeaderBox .logo {
  margin-bottom: 23px;
  font-size: 18px;
  text-align: center;
  letter-spacing: 2px;
}
#menuHeaderBox .logo a {
  color: #505553;
}
#menuHeaderBox .logo img {
  display: block;
  margin: 39px auto 10px;
}

#searchBookBox {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  margin-bottom: 24px;
  padding: 0 20px 0 19px;
}
#searchBookText {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 149px;
  height: 28px;
  padding: 0 5px 0 10px;
  border: none;
  border: 1px solid #cccccc;
  border-right: none;
  border-radius: 5px 0 0 5px;
  font-size: 14px;
}

#searchBookSubmit {
  position: absolute;
  overflow: hidden;
  top: 0;
  right: 20px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 0 5px 5px 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  text-indent: -9999px;
}

nav.navigation {
  min-height: 100%;
  height: 100%;
  background-color: #ffffff;
}

/* 親メニューのリンク */
ul.mainMenu > li {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  list-style: none;
  width: 100%;
  min-height: 48px;
  border-top: 1px solid #e5e5e5;
  font-size: 20px;
  text-align: center;
}

ul.mainMenu > li.on {
  background-color: #000000;
  color: #ffffff;
}

ul.mainMenu > li > a {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 12px 20px 11px 60px;
  background-repeat: no-repeat;
  background-position: left 20px center;
  color: #000000;
  font-size: 16px;
  text-decoration: none;
  text-align: left;
  cursor: default;
}

ul.mainMenu > li > a::after {
  content: url("../img/iconMenuTriangle.png");
  position: absolute;
  top: 50%;
  right: 10px;
  margin-top: -1px;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
ul.mainMenu > li.on > a {
  color: #ffffff;
}
ul.mainMenu > li.on > a::after {
  content: url("../img/iconMenuTriangleHOVER.png");
}

ul.mainMenu #menuSearch > a {
  background-position: left 22px center;
}
ul.mainMenu #menuSearch.on > a {
  background-image: url("../img/iconMenuSearchHOVER.png");
}

ul.mainMenu #menuIntroduction.on > a {
  background-image: url("../img/iconMenuIntroductionHOVER.png");
}

ul.mainMenu #menuUserGuide.on > a {
  background-image: url("../img/iconMenuUserGuideHOVER.png");
}
ul.mainMenu #menuSwitch.on > a {
  background-image: url("../img/iconMenuSwitchHOVER.png");
}

ul.mainMenu li div.subMenuBox {
  position: absolute;
  display: none;
  overflow-y: auto;
  z-index: 20;
  top: 0;
  left: 212px;
  width: 280px;
  min-height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
}

ul.mainMenu li.on div.subMenuBox {
  display: block;
}

ul.mainMenu li div.subMenuBox ul.subMenu {
  position: absolute;
  width: 100%;
  padding-bottom: 20px;
}

ul.mainMenu li div.subMenuBox ul.subMenu li {
  display: block;
  padding-left: 10px;
  border: none;
}
ul.mainMenu li div.subMenuBox ul.subMenu li a {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 20px 9px 51px;
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
  text-align: left;
}
ul.mainMenu li div.subMenuBox ul.subMenu li a:focus,
ul.mainMenu li div.subMenuBox ul.subMenu li a:hover {
  background: #ffffff;
  color: #222222;
}

#menuSwitch ul.choiseBox {
  position: absolute;
  top: 223px;
  left: 78px;
}
#menuSwitch ul li {
  list-style: none;
  min-height: initial;
  min-height: auto;
  height: auto;
  margin-bottom: 12px;
  border-top: none;
  color: #ffffff;
  font-size: 18px;
  text-align: left;
}
#menuSwitch ul li:last-child {
  margin-bottom: 0;
}
#menuSwitch ul li p {
  margin-bottom: 14px;
  font-size: 18px;
  text-align: left;
}
#menuSwitch ul.choise {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #ffffff;
}
#menuSwitch ul.choise:last-child {
  margin-bottom: 0;
  padding-bottom: 20px;
  border-bottom: none;
}
/* メニュー内表示切り替え用ラジオボタン */
#menuSwitch .choise input[type="radio"] {
  position: absolute;
  opacity: 0;
}
#menuSwitch .choise label {
  position: relative;
  padding: 0 0 0 32px;
  cursor: pointer;
}
#menuSwitch .choise label::after {
  content: "";
  position: absolute;
  display: block;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  margin-top: -10px;
  border: 2px solid #ffffff;
  border-radius: 50%;
}
#menuSwitch .choise label::before {
  content: "";
  position: absolute;
  display: block;
  top: 50%;
  left: 5px;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background-color: #ffffff;
  opacity: 0;
}
#menuSwitch .choise input[type="radio"]:checked + label::before {
  opacity: 1;
}
#menuSwitch .choise input[type="radio"]:focus + label {
  border: dotted 1px #ffffff;
}
input[type="checkbox"]:disabled + label::before {
  background: url("../img/iconCheckBoxDisabled.png") no-repeat center !important;
}
input[type="checkbox"]:disabled:checked + label::before {
  background: url("../img/iconCheckBoxOnDisabled.png") no-repeat center !important;
}

input[type="radio"]:disabled + label::before {
  background: url("../img/iconRadioDisabled.png") no-repeat center !important;
}
input[type="radio"]:disabled:checked + label::before {
  background: url("../img/iconRadioOnDisabled.png") no-repeat center !important;
}

/* 利用者メニュー */
.userLoginBox .openLogin.btn {
  position: absolute;
  z-index: 12;
  right: 60px;
  width: 163px;
  height: 32px;
  border: none;
  border-radius: 0;
  line-height: 32px;
}
.userLoginBox .openLogin.btn a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 1px 0 0 40px;
  background-image: url("../img/iconUserLogin.png");
  background-repeat: no-repeat;
  background-position: left 15px center;
  color: #ffffff;
  text-align: left;
  cursor: pointer;
}
.userLoginBox .openLogin.btn a br {
  display: none;
}

.userLoginBox.on .openLogin.btn a {
  padding-left: 56px;
  background-image: url("../img/iconCloseLogin.png");
  text-align: left;
}
.userLoginBox #login {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  display: none;
  z-index: 11;
  top: 0;
  right: 60px;
  width: 385px;
  margin-top: 32px;
  padding: 16px 0 12px;
  border: 1px solid #ececec;
  background: #ffffff;
  box-shadow: 0 3px 3px 0 rgba(1, 1, 1, 0.1);
}
.userLoginBox.on #login {
  display: block;
}
.userLoginBox.on #login p.btn {
  width: 310px;
  height: 45px;
  margin: 0 auto;
  line-height: 45px;
}
#login p.btn a {
  font-size: 18px;
}

.userLoginBox .userGuideMenu {
  list-style: none;
  margin: 14px 0 0;
  padding: 22px 0 0 60px;
  border-top: 1px solid #cccccc;
}

.userLoginBox .userGuideMenu li {
  margin-bottom: 10px;
}
.userLoginBox .userGuideMenu li a {
  color: #212121;
  font-size: 16px;
  text-decoration: none;
}

/* パンくず表示 */
nav.topicPath {
  position: absolute;
  z-index: 10;
  left: 290px;
  width: 100%;
  height: 50px;
  line-height: 50px;
}

nav.topicPath ul li {
  position: relative;
  list-style: none;
  float: left;
}

nav.topicPath ul li h1 {
  color: #ffffff;
  font-size: 12px;
}
nav.topicPath ul li span,
nav.topicPath ul li a {
  display: block;
  padding: 7px 14px 7px 20px;
  color: #ffffff;
  font-size: 12px;
  text-decoration: none;
}
nav.topicPath ul li:nth-child(2) span::after,
nav.topicPath ul li a::after {
  content: "";
  position: absolute;
  display: inline-block;
  z-index: 1;
  top: 0;
  left: 100%;
  width: 0;
  height: 0;
  border: 24px solid transparent;
  border-top-width: 16px;
  border-right-width: 0;
  border-bottom-width: 16px;
  border-left-width: 6px;
}

nav.topicPath ul li:last-child::after {
  content: none;
}

p.explain {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  min-width: 1004px;
  width: 100%;
  min-height: 40px;
  height: auto;
  margin-top: 32px;
  padding: 11px 10px 11px 296px;
  font-size: 14px;
  text-align: center;
}
p.explain::before {
  content: "";
  position: relative;
  display: inline-block;
  top: -1px;
  width: 16px;
  height: 16px;
  margin: 0 5px 0 -31px;
  vertical-align: middle;
}

p.explain.caution {
  background: #fcf8e3;
  color: #66512c;
  margin-bottom: -32px;
}
p.explain.caution::before {
  content: none;
}
/* エラーメッセージであるため、テキストとばしで対応 */
p.explain.caution span.icon {
  display: inline-block;
  overflow: hidden;
  width: 16px;
  height: 22px;
  margin-right: 5px;
  background: url("../img/iconHeadCaution.png") no-repeat center center;
  text-indent: -9999px;
  vertical-align: bottom;
}

p.explain.done {
  background: #d9edf7;
  color: #245277;
  font-weight: 600;
  font-size: 12px;
  margin-bottom: -32px;
}
p.explain.done::before {
  background: url("../img/iconDone.png") no-repeat center center;
}

.color_red {
  color: #ff0000;
}

p.additonalMessage {
  margin-bottom: 16px;
}

#main {
  width: 734px;
  padding: 32px 0 0 270px;
}

#main .topicPath {
  margin: 37px 0 10px;
}
#main .topicPath ul li {
  list-style: none;
  float: left;
  margin-right: 5px;
}
#main .topicPath ul li::after {
  content: ">";
  padding-left: 5px;
  font-size: 14px;
}
#main .topicPath ul li:last-child::after {
  content: none;
}
#main .topicPath ul li a {
  color: #666666;
  font-size: 14px;
  text-decoration: none;
}

#main .title {
  margin-bottom: 15px;
  border-bottom: 1px solid #cccccc;
  color: #212121;
  font-size: 24px;
  letter-spacing: 0;
}

#main h2::before {
  content: "";
  position: absolute;
  display: block;
  top: 10px;
  left: 20px;
  width: 4px;
  height: 20px;
  background: #222222;
  line-height: 40px;
}
#main h2 {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  height: 40px;
  padding: 7px 0 20px 33px;
  background: #ffffff;
  font-size: 18px;
}
#main h2.title::before {
  content: none;
}
#main h2.title {
  height: auto;
  padding: 0;
  background: none;
}

/* ボタン */
/* ボタンにはカーソルを表示 */
input[type="button"],
input[type="submit"],
button,
.btn a {
  cursor: pointer;
}
button:disabled {
  background: #e7e7e7;
  color: #999999;
  cursor: default;
}

p.btn {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 212px;
  height: 28px;
  border-radius: 5px;
  text-align: center;
  line-height: 28px;
}
p.btn > a {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 100%;
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
}
p.btn > a:focus {
  outline: 1px dotted #222222;
}

button {
  width: 200px;
  height: 46px;
  margin: 0 auto;
  border: none;
  border-radius: 3px;
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
}

/* 固定ボタン */
.bottomButtonBox {
  position: fixed;
  z-index: 10;
  bottom: 0;
  left: 0;
  min-width: 1004px;
  width: 100%;
  padding: 10px 0;
  letter-spacing: 2px;
}
.bottomButtonInnerBox {
  width: 734px;
  margin-left: 268px;
  text-align: center;
}

.bottomButtonBox.searchButton .bottomButtonInnerBox button {
  letter-spacing: 5px;
}

.cautionBox {
  position: relative;
}

.cautionBox p {
  z-index: 10;
  font-size: 12px;
}

/* 文言注意ボタン */
.cautionButton {
  position: absolute;
  top: 18px;
  right: 0;
  width: 20px;
  height: 20px;
  border: none;
  background: none;
}

.cautionButton img {
  vertical-align: top;
}

.cautionTextBox {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  display: none;
  z-index: 10;
  top: 59px;
  left: -111px;
  width: 440px;
  padding: 18px;
  border: 1px solid #8dd8fd;
  border-radius: 5px;
  background: #daf3fe;
  font-size: 12px;
}
.cautionTextBox.on {
  display: block;
}
.cautionTextBox p:first-child::before {
  content: "";
  position: absolute;
  display: block;
  z-index: 0;
  top: -17px;
  right: 26px;
  width: 0;
  height: 0;
  margin-left: -9px;
  border-width: 0 8px 18px 8px;
  border-style: solid;
  border-color: transparent transparent #daf3fe transparent;
}

.cautionTextBox p:first-child::after {
  content: "";
  position: absolute;
  display: block;
  z-index: -1;
  top: -19px;
  right: 25px;
  width: 0;
  height: 0;
  margin-left: -10px;
  border-width: 0 9px 19px 9px;
  border-style: solid;
  border-color: transparent transparent #8dd8fd transparent;
}

.cautionCloseButton {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  display: none;
  z-index: 101;
  top: 25px;
  right: 0;
  width: 32px;
  height: 32px;
  padding-top: 5px;
  background: url("../img/bgCloseSP.png") no-repeat center top 6px;
  background-size: 11px;
  font-size: 10px;
}

/* selectタグのスタイル */
.select01 {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  display: block;
  overflow: hidden;
  z-index: 0;
  width: 192px;
  margin: 0 auto;
  border-radius: 5px;
  background: #ffffff;
  font-size: 16px;
}
/* 下三角の表示 */
.select01::after {
  content: "";
  position: absolute;
  display: block;
  z-index: -1;
  top: 50%;
  right: 10px;
  width: 0;
  height: 0;
  margin-top: -2px;
  border-width: 4px 5px;
  border-style: solid;
  border-color: #666666 transparent transparent;
}

/* selectタグのスタイル */
.select01 select {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 192px;
  height: 32px;
  padding: 1px 10px 0 8px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  background: transparent;
  outline: none;
  color: #212121;
  font-size: 14px;

  -webkit-appearance: none;
  -moz-appearance: none;
}
/* selectタグ選択中のスタイル */
.select01 select:focus {
  outline: 1px dotted #212121;
}
/* IEの下三角非表示 */
.select01 select::-ms-expand {
  display: none;
}
/* Firefoxの点線非表示 */
.select01 select::-moz-focus-inner {
  border: 0;
}
/* 表示されるオプションスタイル */
.select01 select option {
  text-shadow: none;
}

.select02 {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  display: block;
  overflow: hidden;
  z-index: 0;
  width: 154px;
  margin: 0 auto;
  border-radius: 5px;
  font-size: 16px;
}
/* 下三角の表示 */
.select02::after {
  content: "";
  position: absolute;
  display: block;
  z-index: -1;
  top: 50%;
  right: 10px;
  width: 0;
  height: 0;
  margin-top: -2px;
  border-width: 4px 5px;
  border-style: solid;
  border-color: #ffffff transparent transparent;
}

/* selectタグのスタイル */
.select02 select {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 154px;
  height: 28px;
  padding: 0 20px 0 10px;
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  background: transparent;
  outline: none;
  color: #ffffff;
  font-size: 14px;

  -webkit-appearance: none;
  -moz-appearance: none;
}
/* selectタグ選択中のスタイル */
.select02 select:focus {
  outline: 1px dotted #212121;
}
/* IEの下三角非表示 */
.select02 select::-ms-expand {
  display: none;
}
/* Firefoxの点線非表示 */
.select02 select::-moz-focus-inner {
  border: 0;
}
/* 表示されるオプションスタイル */
.select02 select option {
  text-shadow: none;
  color: #000000;
}

/* カレンダー */

.calendarHeader {
  position: relative;
  padding: 10px 0 5px;
  background: #eeeeee;
}
.calendarHeader h3 {
  width: 100%;
  color: #212121;
  font-size: 18px;
  text-align: center;
}

.calendarHeader h3 span.year {
  margin-right: 6px;
}

.calendarBody {
  padding-bottom: 23px;
  background: #ffffff;
}

table.calendarArea {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width: 210px;
  margin-bottom: 7px;
  padding: 0 10px;
  border-bottom: 1px solid #cccccc;
  background: #ffffff;
}
table.calendarArea th {
  width: 40px;
  padding: 0;
  border-bottom: 1px solid #cccccc;
  background: #eeeeee;
  color: #818181;
  font-size: 14px;
  text-align: center;
}
table.calendarArea thead tr th:first-of-type {
  padding-left: 9px;
}
table.calendarArea thead tr > th:last-of-type {
  padding-right: 9px;
}

table.calendarArea td {
  position: relative;
  width: 24px;
  height: 26px;
  font-size: 14px;
  text-align: center;
}
table.calendarArea tbody tr:first-child > td {
  padding-top: 4px;
}
table.calendarArea tbody tr:last-child > td {
  padding-bottom: 4px;
}
table.calendarArea tr > td:first-of-type {
  padding-left: 10px;
}
table.calendarArea tr > td:last-of-type {
  padding-right: 10px;
}
table.calendarArea td p {
  position: relative;
  z-index: 1;
  width: 100%;
  font-size: 14px;
}
table.calendarArea td p a {
  color: #ffffff;
  text-decoration: none;
}
table.calendarArea td span.icon {
  position: absolute;
  display: block;
  overflow: hidden;
  z-index: -1;
  top: -2px;
  left: 1px;
  text-indent: 100%;
  white-space: nowrap;
}
table.calendarArea td span.icon.today {
  position: absolute;
  z-index: 1;
  left: 50%;
  width: 18px;
  border-bottom: 1px solid #212121;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
}
table.calendarArea td a span.icon.today {
  border-color: #ffffff;
}
table.calendarArea td span.icon.closed {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #f3b3cd;
}
table.calendarArea td span.icon.event {
  width: 25px;
  height: 25px;
  border-radius: 3px;
}

table.calendarArea td span.icon img {
  width: 20px;
}

.thisMonth .calendarBody {
  padding-bottom: 4px !important;
}

.thisMonth table.calendarArea {
  width: 208px !important;
}

/* カレンダーアイコン */
.listCalendarIcon {
  width: 188px;
  margin-left: 24px;
}
.listCalendarIcon li {
  list-style: none;
  float: left;
  margin-right: 10px;
  font-size: 12px;
}
.listCalendarIcon li.today {
  margin-top: 2px;
  border-bottom: 1px solid #212121;
  line-height: 1.2;
}
.listCalendarIcon li:last-child {
  margin-right: 0;
}
.listCalendarIcon li::before {
  content: "";
  padding-right: 4px;
}
.listCalendarIcon li.today::before {
  content: none;
}
.listCalendarIcon li.closed::before {
  content: url("../img/iconCalendarListClosed.png");
}

/* tab */
ul.tabs {
  position: relative;
  z-index: 1;
  font-size: 0;
}
ul.tabs li {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  list-style: none;
  padding: 1px 1px 0 1px;
  border-bottom: none;
}
ul.tabs li.on {
  padding: 0;
  border: 1px solid #cccccc;
  border-bottom: none;
  border-radius: 3px 3px 0 0;
  background: #ffffff;
}

ul.tabs li a {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  padding: 8px 15px 7px;
  color: #000000;
  font-size: 16px;
  text-decoration: none;
}

#main ul.tabs li a h2::before {
  content: none;
}
#main ul.tabs li a h2 {
  height: auto;
  padding: 0;
  background: none;
  font-size: 16px;
}

section.tabContent {
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  padding-top: 16px;
  border-top-width: 2px;
  border-top-style: solid;
}
section.tabContent.on {
  position: relative;
  display: block;
  top: -2px;
}

/* 記事のナビゲーション */
ul.articleNavigation {
  position: relative;
  float: right;
}
ul.articleNavigation li {
  list-style: none;
  float: left;
  padding-right: 10px;
  border-right: 1px solid #cccccc;
}
ul.articleNavigation li:last-child {
  padding-right: 0;
  padding-left: 10px;
  border-right: none;
}

ul.articleNavigation li a {
  color: #212121;
  font-size: 14px;
  text-decoration: none;
}
ul.articleNavigation li.prev a::before {
  content: "←";
  padding-right: 5px;
}
ul.articleNavigation li.next a::after {
  content: "→";
  padding-left: 5px;
}

footer {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  bottom: 0;
  left: 0;
  min-width: 1004px;
  width: 100%;
  height: 50px;
  padding-right: 20px;
  background-color: #222222;
  color: #ffffff;
  font-size: 14px;
  text-align: right;
  line-height: 50px;
}

/* 全画面メニュー等、スクロールをさせない
 */
.noScroll {
  position: fixed;
  width: 100%;
  height: 100%;
}

/* モーダル 背景エリア */
#modalBg {
  position: fixed;
  overflow: hidden;
  z-index: 98;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
#modalBg.top {
  z-index: 100;
}
.bookDetail p.licenseText {
  margin-top: -15px;
}

/* スマホ版 */

/* スマートフォン用メニュー pc版は非表示*/
.spVer {
  display: none;
}

/* ここからスマホ版に切り替え */
@media screen and (max-width: 768px) {
  .spVer {
    display: block;
  }

  html {
    padding-bottom: 0;
  }

  body {
    min-width: initial;
    min-width: auto;
    width: 100%;
  }

  header {
    position: relative;
    z-index: 99;
    left: 0;
    width: 100%;
    height: auto;
  }

  p.btn,
  button {
    width: 288px;
    height: 44px;
    line-height: 44px;
  }

  p.btn > a {
    font-size: 16px;
  }

  #fixedInformation {
    position: fixed;
    top: 0;
    width: 100%;
    height: 52px;
    border-bottom: 1px solid #cccccc;
    background-color: #ffffff;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
  }

  #menuHeaderBox {
    z-index: auto;
    left: 0;
    width: 100%;
    height: 52px;
    border: none;
    background: none;
    box-shadow: none;
    text-align: center;
  }

  #menuHeaderBox div.logo {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 52px;
    margin-bottom: 10px;
    padding: 10px 55px 0 90px;
    background: #ffffff;
    font-size: 16px;
    text-align: center;
    line-height: 34px;
    letter-spacing: 0;
  }

  #menuHeaderBox div.logo img {
    display: none;
  }

  #searchBookBox {
    position: absolute;
    display: none;
    z-index: -1;
    bottom: 0;
    width: 100%;
    height: 65px;
    margin: 0;
    padding: 10px 0 0;
    background: #ffffff;
  }

  #searchBookText {
    width: 245px;
    height: 44px;
    vertical-align: top;
    line-height: 44px;
  }
  #searchBookSubmit {
    position: static;
    width: 45px;
    height: 44px;
    margin-left: -4px;
  }

  .openSearch.btn {
    position: absolute;
    display: block;
    bottom: 0;
    left: 54px;
    width: 44px;
    height: 46px;
    background-color: rgba(0, 0, 0, 0);
    background-repeat: no-repeat;
    background-position: center top 8px;
    background-size: 14px;
  }
  .openSearch.btn a {
    padding-top: 9px;
    color: #666666;
    font-size: 10px;
    letter-spacing: 2px;
  }
  .openSearch.close {
    border-radius: 5px 5px 0 0;
    background-color: rgba(0, 0, 0, 0);
    background-image: url("../img/bgCloseSP.png");
    background-repeat: no-repeat;
    background-position: center top 10px;
    background-size: 11px;
  }
  .openSearch.close a {
    color: #ffffff;
    letter-spacing: 0;
  }
  .openMenu.btn {
    position: absolute;
    display: block;
    bottom: 0;
    left: 10px;
    width: 40px;
    height: 46px;
    background-color: rgba(0, 0, 0, 0);
    background-repeat: no-repeat;
    background-position: center top 10px;
    background-size: 14px 10px;
  }
  .openMenu.btn a {
    padding-top: 9px;
    color: #666666;
    font-size: 10px;
  }

  .closeMenu {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    z-index: 10;
    top: 8px;
    left: 8px;
    width: 44px;
    height: 44px;
    padding-top: 10px;
    border-radius: 5px 5px 0 0;
    background-color: rgba(0, 0, 0, 0);
    background-image: url("../img/bgCloseSP.png");
    background-repeat: no-repeat;
    background-position: center top 10px;
    background-size: 11px;
    font-size: 10px;
  }

  nav.navigation {
    position: fixed;
    display: none;
    z-index: 10;
    top: 0;
    left: -100%;
    width: 100%;
    background: transparent;
    background: #ffffff;
  }

  nav.navigation h2 {
    width: 100%;
    height: 53px;
    color: #ffffff;
    font-size: 16px;
    text-align: center;
    line-height: 53px;
  }

  nav.navigation ul.mainMenu {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow-y: auto;
    height: 100%;
    /* iOSスクロールHack */
    -webkit-overflow-scrolling: touch;
  }

  ul.mainMenu li {
    height: auto;
  }
  ul.mainMenu > li:last-child {
    padding-bottom: 60px;
  }
  ul.mainMenu > li.on {
    background-color: #ffffff;
  }
  ul.mainMenu li > a {
    padding-left: 110px;
    background-position: left 70px center;
    cursor: pointer;
  }
  ul.mainMenu li.on > a {
    color: #000000;
  }

  ul.mainMenu #menuSearch > a {
    background-position: left 72px center;
  }

  ul.mainMenu li div.subMenuBox ul.subMenu li a:focus,
  ul.mainMenu li div.subMenuBox ul.subMenu li a:hover {
    background: none;
    color: #ffffff;
  }

  /* 三角の向きを下に */
  ul.mainMenu > li > a::after {
    content: url("../img//iconMenuTriangleSP.png");
    right: 70px;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  ul.mainMenu > li.on > a::after {
    content: url("../img//iconMenuTriangleSP.png");
    margin-top: 5px;
    -webkit-transform: translateY(-50%) rotate(180deg);
    -moz-transform: translateY(-50%) rotate(180deg);
    -ms-transform: translateY(-50%) rotate(180deg);
    -o-transform: translateY(-50%) rotate(180deg);
    transform: translateY(-50%) rotate(180deg);
  }

  ul.mainMenu li div.subMenuBox {
    position: static;
    top: 0;
    left: 200px;
    width: 100%;
    min-height: 100%;
    height: auto;
    background-color: #212121;
  }

  ul.mainMenu li div.subMenuBox ul.subMenu {
    position: static;
    padding-top: 8px;
  }
  ul.mainMenu li.on div.subMenuBox {
    display: block;
  }

  ul.mainMenu li div.subMenuBox ul.subMenu li {
    padding-left: 0;
  }
  ul.mainMenu li div.subMenuBox ul.subMenu li a {
    padding-top: 15px;
    padding-left: 113px;
    font-size: 16px;
  }

  #menuSwitch ul.choiseBox {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: static;
    padding: 20px 0 0 113px;
    font-size: 16px;
  }
  #menuSwitch ul.choiseBox li:last-child {
    padding-bottom: 0;
  }
  #menuSwitch ul.choiseBox li ul.choise {
    width: 165px;
    margin-bottom: 32px;
    padding-bottom: 32px;
  }

  #menuSwitch ul li p,
  #menuSwitch .choise label {
    font-size: 16px;
  }

  .userLoginBox {
    position: absolute;
    z-index: 5;
    top: 10px;
    right: 10px;
    left: auto;
    width: 40px;
    height: 40px;
    background: none;
  }

  .userLoginBox .openLogin.btn {
    display: block;
    right: 0;
    width: 50px;
    height: 40px;
    background: #ffffff;
    line-height: 1;
  }
  .userLoginBox .openLogin.btn a {
    padding: 16px 0 0;
    background-repeat: no-repeat;
    background-position: center top;
    background-color: rgba(0, 0, 0, 0);
    background-size: 12px;
    color: #666666;
    font-size: 10px;
    text-align: center;
  }

  .userLoginBox.on .openLogin.btn a {
    padding-left: 0;
    background: url("../img/bgUserLoginSP.png") no-repeat center top;
    text-align: center;
  }
  .userLoginBox .openLogin.btn a br {
    display: block;
  }

  .userLoginBox #login {
    position: fixed;
    display: none;
    z-index: 13;
    right: -100%;
    width: 100%;
    height: 100%;
    margin-top: 0;
    padding: 0;
  }

  .userLoginBox #login h2 {
    height: 52px;
    color: #ffffff;
    font-size: 16px;
    text-align: center;
    line-height: 52px;
  }

  .userLoginBox.on #login p.btn {
    width: 300px;
    margin: 14px auto 0;
  }

  .userLoginBox #login button.closeMenu {
    right: 20px;
    left: auto;
  }

  /* グローバルナビゲーション以下 */
  nav.topicPath {
    position: static;
    z-index: 5;
    width: 100%;
    height: 29px;
    padding-top: 53px;
  }

  nav.topicPath ul li:nth-child(2) span,
  nav.topicPath ul li a {
    padding: 6px 14px 5px 20px;
  }

  nav.topicPath ul li:nth-child(2) span::after,
  nav.topicPath ul li a::after {
    border-top-width: 14px;
    border-bottom-width: 15px;
  }

  p.explain {
    position: relative;
    min-width: initial;
    min-width: auto;
    min-height: 36px;
    margin-top: 0;
    padding: 10px 20px 10px 42px;
    font-size: 12px;
    text-align: left;
    line-height: 1.3;
  }

  p.explain::before {
    content: "";
    position: absolute;
    display: block;
    top: 10px;
    left: 15px;
    margin-left: 0;
  }

  p.additonalMessage {
    margin: 0 12px 15px;
  }

  #main {
    width: 100%;
    margin: 0 auto 100px;
    padding: 0;
  }

  #main div.topicPath {
    margin: 10px 16px 30px;
  }

  #main .title {
    margin: 0 16px 20px;
  }

  /* セレクタタグ */
  .select01 {
    width: 288px;
  }
  .select01 select {
    width: 288px;
    height: 44px;
  }

  /* カレンダー */
  table.calendarArea {
    width: 100%;
  }
  table.calendarArea td {
    position: relative;
    z-index: 10;
    width: 10%;
    height: 32px;
  }
  table.calendarArea td p {
    position: relative;
    z-index: 10;
    height: auto;
  }
  table.calendarArea td span.icon {
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
  }

  table.calendarArea td span.icon img {
    width: 20px;
  }

  ul.calendarList li.thisMonth table.calendarArea {
    width: 100% !important;
  }

  .cautionButton {
    right: auto;
    left: 50%;
    margin-left: 119px;
  }

  .cautionTextBox {
    position: fixed;
    z-index: 101;
    top: 40%;
    left: 50%;
    max-width: 502px;
    width: 90%;
    text-align: left;
    -webkit-transform: translate(-50%);
    -moz-transform: translate(-50%);
    -ms-transform: translate(-50%);
    -o-transform: translate(-50%);
    transform: translate(-50%);
  }
  .cautionTextBox p:first-child::before,
  .cautionTextBox p:first-child::after {
    content: none;
  }
  .cautionCloseButton {
    top: -40px;
  }

  /* tabs */
  ul.tabs {
    margin-left: 16px;
  }

  /* 固定検索ボタン */
  .bottomButtonBox {
    min-width: initial;
    min-width: auto;
  }
  .bottomButtonInnerBox {
    width: 100%;
    margin-left: 0;
  }

  footer {
    min-width: initial;
    min-width: auto;
  }

  footer.fixed {
    position: fixed;
    bottom: 0;
  }

  p.explain.caution {
    margin-bottom: 0px;
  }
  p.explain.caution span.icon {
    height: 16px;
    margin-right: 9px;
    margin-left: -23px;
  }
  p.explain.done {
    margin-bottom: 0px;
  }
  .bookDetail p.licenseText {
    margin-top: -0px;
  }
}

@media screen and (max-width: 415px) {
  nav.topicPath ul li span,
  nav.topicPath ul li a {
    font-size: 10px !important;
  }
}
@media screen and (max-width: 380px) {
  nav.topicPath ul li:last-child span {
    padding: 7px 0px 7px 10px !important;
  }
}
@media screen and (max-width: 338px) {
  nav.topicPath ul li:nth-child(2) span,
  nav.topicPath ul li a {
    padding: 6px 10px 5px 15px;
  }
}
