/* ==================================================
   0. Reset
================================================== */

html,
body,
div,
span,
iframe,
h1,
h2,
h3,
h4,
p,
pre,
del,
em,
img,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
form,
table,
tbody,
tr,
th,
td,
article,
aside,
footer,
header,
nav,
section {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  box-sizing: border-box;
}

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

ul,
li {
  list-style: none;
}

a {
  margin: 0;
  padding: 0;
  outline: none;
  background: transparent;
  font-size: 100%;
  vertical-align: baseline;
  text-decoration: none;
}

a img {
  border: 0;
}

input,
textarea,
select {
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  vertical-align: middle;
}

img {
  height: auto;
  max-width: 100%;
}

.cf::before,
.cf::after {
  content: "";
  display: table;
}

.cf::after {
  clear: both;
}


/* ==================================================
   1. Base
================================================== */

html {
  font-size: 62.5%;
}

body {
  padding: 20px;
  background: #fff;
  color: #666;
  font-family:
    "Segoe UI",
    "游ゴシック Medium",
    "Yu Gothic Medium",
    "游ゴシック体",
    YuGothic,
    "Hiragino Kaku Gothic ProN",
    "メイリオ",
    Meiryo,
    sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  overflow-wrap: break-word;
}

a {
  color: #666;
}

#contents a,
footer a {
  color: #69c5c5;
}

a:hover {
  background: url(image/back01.gif);
}


/* ==================================================
   2. Layout
================================================== */

#wrapper {
  width: 1200px;
  margin: 10px auto;
  text-align: left;
}

#contents {
  margin: 10px auto;
  overflow: auto;
}

#leftcolumn {
  float: left;
  width: 330px;
  margin: 1em 0;
  line-height: 20px;
}

#rightcolumn {
  float: right;
  width: 870px;
  line-height: 20px;
}

#leftcolumn-inner,
#rightcolumn-inner {
  margin: 10px;
}

footer {
  padding: 20px 0 0;
  text-align: center;
  clear: both;

}


/* ==================================================
   3. Header
================================================== */

h1 {
  min-height: 20px;
  margin: 0 0 0.5em;
  font-size: 5em;
  letter-spacing: 0.1em;
  text-indent: 30px;
}


/* ==================================================
   4. Navigation
================================================== */

#menu {
  display: block;
  margin: 0 auto;
}

#menu nav li a,
nav li span {
  display: block;
  position: relative;
  padding: 5px 0;
  border-bottom: 1px dotted #666;
  color: #666;
  line-height: 2em;
}

nav li a:hover {
  background: #69c5c5 url(image/icon01.gif) no-repeat 100% 50%;
  color: #fff;
}

nav li span:hover {
  background: #69c5c5;
  color: #fff;
}

.sub-menu {
  display: none;
  margin: 0;
  overflow: hidden;
}

.sub-menu li {
  text-indent: 1em;
}

nav li span::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 10px;
  width: 5px;
  height: 5px;
  margin-top: -5px;
  border-top: 3px solid #666;
  border-right: 3px solid #666;
  transform: rotate(45deg);
  transition: 0.5s;
}

nav li span.open::after {
  transform: rotate(135deg);
}


/* ==================================================
   5. Typography
================================================== */

h2 {
  margin: 20px 0;
  border-bottom: 3px solid #666;
  background: url(image/icon03.png) no-repeat right bottom;
  font-size: 1.6em;
  letter-spacing: 0.1em;
  line-height: 1.3em;
  text-align: left;
}

h2 span {
  color: #69c5c5;
}

h3 {
  margin: 2em 0 1.2em;
  padding-bottom: 0.3em;
  font-size: 1.4em;
}

em {
  background: #e5e5e5;
  font-weight: 700;
}

.hidden-word {
  color: transparent;
}


/* ==================================================
   6. Components
================================================== */

/* 斜線背景の枠 */
.rahm01 {
  margin-bottom: 10px;
  padding: 20px;
  background: url(image/back01.gif) repeat-y 0 0;
}

/* 左側に点線 */
.txt {
  margin: 1em;
  padding-left: 1em;
  border-left: 1px dotted #666;
}

.txt2 {
  margin: 1em;
  padding-left: 1em;
  border-left: 5px solid #69c5c5;
}

/* 左側に水色の線 */
.dcline {
  margin: 5px 0;
  padding: 3px;
  border-left: 5px solid #69c5c5;
}

/* ネタバレ等 */
.marker {
  padding: 1px 5px;
  background: #69c5c5;
  color: #fff;
}

/* 中央寄せ */
.cover {
  text-align: center;
}

/* 枠 */
.textbox {
  margin: 10px 0;
  padding: 3px;
  border: 1px dotted #666;
  text-align: center;
}

.frame {
  padding: 6px;
  border-radius: 3px;
  background: #fff;
  box-shadow: 4px 4px 0 #e5e5e5;
}

/* 文字装飾 */
.highlight {
  text-decoration: underline;
  text-decoration-thickness: 0.5em;
  text-decoration-color: #e5e5e5;
  text-underline-offset: -0.2em;
  text-decoration-skip-ink: none;
}

.clear {
  color: transparent;
}

.title {
  margin: 2em 0;
  color: #ccc;
  font-size: 1.7em;
  font-weight: 700;
  text-align: right;
}


/* ==================================================
   7. Forms / Lists
================================================== */

dt {
  float: left;
  clear: both;
  width: 140px;
  margin: 0 0 5px;
  font-weight: 700;
}

dd {
  margin: 0 0 5px 150px;
  border-bottom: 1px dotted;
}

#leftcolumn dt {
  float: none;
  clear: none;
  width: auto;
}

#leftcolumn dd {
  margin-left: 1em;
}

input,
textarea {
  width: 250px;
  margin: 3px 0;
  border: 1px solid;
  background: #fff;
  color: #666;
}

textarea {
  height: 50px;
}

#leftcolumn input,
#leftcolumn textarea {
  width: 100%;
}

hr {
  height: 1px;
  margin: 1em 0;
  padding: 0;
  border: 0;
  border-top: 1px solid #ccc;
}


/* ==================================================
   8. Tables
================================================== */

#main table,
#wiki table,
#wikipoke table {
  border-collapse: collapse;
  color: #666;
}

#main th,
#main td {
  padding: 10px;
  border: 1px solid;
}

#wiki table,
#wikipoke table {
  width: 750px;
}

#wiki th,
#wiki td,
#wikipoke th,
#wikipoke td {
  padding: 7px;
  border: 1px solid #ccc;
}

#wiki th {
  width: 40%;
  background: #f3f3f3;
}

#wikipoke th {
  background: #f3f3f3;
}


/* ==================================================
   9. Other Components
================================================== */

/* 画像＋文章 */
.flex {
  display: flex;
}

.flex .image {
  position: relative;
  width: 300px;
  margin: 0;
  padding: 2px;
  overflow: hidden;
  outline: 2px solid #ccc;
}

.flex .text {
  margin-left: 20px;
}


/* 目次 */
.toc-002 {
  width: 250px;
  margin-bottom: 30px;
  padding: 1em 1em 1em 2em;
  border: 2px solid #ccc;
  border-radius: 3px;
}

.toc-002 div {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 5px 0;
  background: #fff;
  color: #666 !important;
  font-size: 1.3em;
  font-weight: 600;
}

.toc-002 ol {
  margin: 0;
  overflow: hidden;
  list-style-type: disc !important;
}

.toc-002 > ol {
  padding: 1em 1em 1em 3em;
}

.toc-002 ol ol {
  margin-top: 5px;
  padding-left: 1.1em;
}

.toc-002 li {
  padding: 5px 0;
  font-weight: 600;
}

.toc-002 ol ol li {
  font-size: 0.9em;
  font-weight: 500;
}

.toc-002 a {
  color: #666 !important;
  text-decoration: none !important;
}


/* ==================================================
   10. Accordion
================================================== */

.accordion-003 {
  max-width: 750px;
  margin-bottom: 7px;
  border-bottom: 2px solid #ccc;
}

.accordion-003 summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 1em 2em;
  color: #666;
  font-weight: 600;
  cursor: pointer;
}

.accordion-003 summary::-webkit-details-marker {
  display: none;
}

.accordion-003 summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-right: 3px solid #666;
  border-bottom: 3px solid #666;
  transform: translateY(-25%) rotate(45deg);
  transition: transform 0.3s;
}

.accordion-003[open] summary::after {
  transform: rotate(225deg);
}

.accordion-003 p {
  margin: 0;
  padding: 0.3em 2em 1.5em;
  color: #666;
  opacity: 0;
  transform: translateY(-10px);
  transition: transform 0.5s, opacity 0.5s;
}

.accordion-003[open] p {
  opacity: 1;
  transform: none;
}


/* ==================================================
   11. Page Top
================================================== */

#pagetop {
  display: block;
  position: fixed;
  z-index: 10;
  width: 50px;
  height: 50px;
  padding-top: 25px;
  border-radius: 30px;
  background: rgba(105, 197, 197, 0.8);
  color: #fff;
  line-height: 16px;
  text-align: center;
}

#pagetop::before {
  content: "\25B2";
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  font-size: 14px;
}

#pagetop:hover {
  background: rgba(0, 0, 0, 0.6);
}


/* ==================================================
   12. Mobile Menu
================================================== */

#open {
  display: none;
}


/* ==================================================
   13. Responsive - Tablet
================================================== */

@media screen and (max-width: 800px) {

  #wrapper {
    width: 100%;
  }

  #leftcolumn {
    width: 30%;
  }

  #rightcolumn {
    width: 65%;
  }

  input,
  textarea {
    width: 100%;
  }
}


/* ==================================================
   14. Responsive - Mobile
================================================== */

@media screen and (max-width: 600px) {

  body {
    padding: 10px;
    font-size: 1.4em;
  }

  #wrapper {
    width: 100%;
  }

  #leftcolumn,
  #rightcolumn {
    float: none;
    width: 100%;
  }

  #menu nav li a,
  nav li span {
    line-height: 3em;
  }

  dt {
    float: none;
    clear: none;
    width: auto;
  }

  dd {
    margin-left: 1em;
  }


  /* ---------- Slide Menu ---------- */

  #side {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    width: 300px;
    height: 100%;
    padding: 60px 20px 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    transform: translate(300px);
    transition: all 0.3s;
  }

  #side.open {
    transform: translate(0);
  }

  #side-inner {
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  #side-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    background: rgba(51, 51, 51, 0.5);
    cursor: pointer;
  }


  /* ---------- Open Button ---------- */

  #open {
    display: inline-block;
    position: absolute;
    right: 30px;
    z-index: 1001;
    width: 120px;
    height: 40px;
    padding: 10px;
    background: url(image/icon03.png) no-repeat 0 50%;
  }

  #leftcolumn::after {
    content: "";
    display: block;
    padding-bottom: 40px;
  }

  #open.buttonclose {
    position: fixed;
    top: 10px;
  }

  .open-text {
    height: 40px;
    margin-left: 20px;
  }

  #open .close + .open-text {
    color: #fff;
  }


  /* ---------- Hamburger ---------- */

  #open-icon,
  #open-icon::before,
  #open-icon::after {
    display: block;
    position: absolute;
    width: 20px;
    height: 2px;
    background: #666;
  }

  #open-icon {
    top: 50%;
    right: 0;
    margin-top: -1px;
  }

  #open-icon::before,
  #open-icon::after {
    content: "";
    left: 0;
    transition: 0.3s;
  }

  #open-icon::before {
    margin-top: -8px;
  }

  #open-icon::after {
    margin-top: 6px;
  }

  #open .close {
    background: transparent;
  }

  #open .close::before,
  #open .close::after {
    margin-top: 0;
    background: #fff;
  }

  #open .close::before {
    transform: rotate(-45deg);
  }

  #open .close::after {
    transform: rotate(-135deg);
  }
}
/* ==================================================
   15. qa
================================================== */

.qa-answer p {
  margin: 1.2em 0;
}

.qa-answer .qa-section {
  margin: 2em 0;
}

.qa-answer .qa-label {
  margin-bottom: 1em;
  padding-left: 0.7em;
  border-left: 3px solid #69c5c5;
  font-weight: 700;
}
.qa-item {
    margin: 2.5em 0;
    padding: 1.5em;
    border: 2px solid #666;
}

.qa-item  h3{
  margin: 2em 0 1.2em;
  padding-bottom: 0.3em;
  font-size: 1.4em;
  border-bottom: 3px solid #666;

}

