@charset "UTF-8";
/* 
10px 62.5%
12px 75%
14px 87.5%
15px 93.75%
16px 100%
17px 106.25%
18px 112.5%
20px 125%
22px 137.5%
24px 150%
26px 162.5%
*/

/* 全デバイスの共通の基本設定 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 100%;
  line-height: 100%;
  margin: 10px 0 6px 2px;
}

h1+img {
  margin-bottom: 16px;
}

h2 {
  background-color: #f8f5ea;
  border-left: 6px solid #7c1b44;
  font-size:large;
  margin:2px 0 12px 0;
  padding: 12px 6px 12px 12px;
}

h3 {
  color: #473d29;
  font-size:large;
  margin: 0 0 8px 8px;
}

h3.ind {
  background-color: #f8f5ea;
  border-left: 4px solid #d8d3af;
  margin: 2px 0 12px 0;
  padding: 10px 0 6px 12px;
}

h4 {
  color: #7c1b44;
  margin: 0 0 8px 6px;
}

p {
  margin: 0 6px 16px 6px;
}

ul, ol {
  list-style-position: outside;
}

img {
  max-width: 100%;
  height: auto;
  margin-bottom: 6px;
  vertical-align: top;
}

figure {
  background-color: #f8f5ea;
  margin-bottom: 16px;
  padding-bottom: 6px;
  text-align: center;
}

figcaption {
  padding: 0 6px;
}

strong {
  background: linear-gradient(transparent 70%, #b5e1ff 99%);
}

u {
  background: linear-gradient(transparent 70%, #ff7777 99%);
}

a {
  color: #0044CC;
  word-wrap: break-word;
}

blockquote {
  background-color: #f8f3e6;
  margin-bottom: 0.5em;
  padding: 6px 6px 2px 10px;
}

section {
  clear: both;
  margin-bottom: 24px;
}

section > ul,ol {
  margin: 0 0 16px 24px;
}



/* テキストと画像の共通設定
=========================================== */
.imagePlacer-R {
  float: right;
  margin: 0 0 1px 8px;
}

.imagePlacer-L {
  float: left;
  margin: 0 10px 1px 0;
}

.centering {
  text-align: center;
}

.righting {
  text-align: right;
  padding-right: 8px;
}

.lefting {
  text-align: left;
  padding-left: 10px;
}

.smaller {
  font-size: 87.5%
}

.light {
  color: #CCC;
}

.zombie {
  color: #7200c2;
  text-shadow: 0 0 1px #7200c2;
}

.add-margin {
  margin-bottom: 18px;
}

.tableCaption {
  text-align: right;
  font-weight: normal;
}

.todo::before {
  content: "私は";
  color: red;
}

.todo::after {
  content: "する。";
  font-size: 12px;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
  margin-bottom: 16px;
}

/*afterやbeforeを使うときはcontentプロバティが必須
　テキストを入れないときは空 content:"";にする*/

/* TOPへ戻るボタン
=========================================== */
#pagetop {
  position: fixed;
  right: 6px;
  bottom: 6px;
  zoom: 1;
  z-index: 99;
}

#pagetop a {
  background-color: #f4862d;
  border-radius: 50%;
  color: #fcf8ee;
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: bold;
  height: 50px;
  line-height: 50px;
  text-align: center;
  text-decoration: none;
  width: 50px;
}

/* Spoilerボタン
=========================================== */
.spoiler {
  background: #fcf9ff url(../img/bg-babysatan.png) bottom right no-repeat;
  border: 5px solid #d6b1ff;
  border-radius: 0.5em;
  margin: 0 0 18px 0;
  max-height: 0;
  overflow: hidden;
  padding: 16px 10px 8px 16px;
  transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
}

.spoiler ul {
  list-style-position: inside;
  margin: -8px 0 8px 12px;
}

.spoiler.visible {
  /* JavaScriptで動的にmax-heightを設定するため、ここは空に */
}

.spoiler-button {
  background: url(../img/bg-tag.png) top no-repeat;
  border: none;
  color: #6b587f;
  cursor: pointer;
  font-size: 87.5%;
  margin: 0 0 0 16px;
  padding: 6px 0 0 16px;
  text-align: left;
  height: 35px;
  width: 260px
}

.spoiler-button:hover {
  background: url(../img/bg-tag.png) bottom no-repeat;
}

/* =====================================================
ベースレイアウト
====================================================== */
body {
  color: #333;
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Verdana, Roboto, "Droid Sans", "ＭＳ Ｐゴシック", sans-serif;
  font-size: 100%;
  line-height: 160%;
}

/* ヘッダー */
header {
  background: #473009 url(../img/siteimage-narrow.jpg) no-repeat center bottom;
  background-size: 100% auto;
  border-bottom: 8px solid #473009;
  padding-bottom: 21%; /* 縦横比 140/992 ≈ 14.11% で高さ自動調整 */
  width: 100%;
}

#crown {
  color: #fff;
  font-size: 87.5%;
  height: 12px;
  padding: 4px 0 0 6px;
}

/* メインコンテンツ */
main {
  background-color: #fff;
  padding: 12px 12px 0 12px;
}

/* パンくずリストと最終更新日 */
#breadcrumbs {
  font-size: 87.5%;
}

#breadcrumbs ol {
  background-color: #f8f5ea;
  margin: 0 0 6px 0;
  padding: 4px 0 2px 8px;
}

#breadcrumbs li {
  list-style: none;
  display: inline;
}

#breadcrumbs li::after {
  content: '>';
  padding-left: 4px;
}

#breadcrumbs li:last-child::after {
  display: none;
}

#last-update {
  float: right;
  margin: 0 0 0 auto;
}

/* サイト内リンク */
#internalLinks {
  margin-bottom: 24px;
}

#internalLinks h3 {
  background-color: #f8f5ea;
  border-left: 4px solid #d8d3af;
  margin: 2px 0 12px 0;
  padding: 10px 0 6px 12px;
}

#internalLinks ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  list-style-type: none;
  text-align: center;
}

@media only screen and (max-width: 576px)  {
#internalLinks ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  list-style-type: none;
  text-align: center;
}
}

#internalLinks ul li {
  line-height: 100%;
  font-size: 87.5%;
  margin-bottom: 12px;
}

/* フッター */
footer {
  background-color: #473009;
  color: #fff;
  padding: 12px;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-right: 12px;
}

footer a {
  color: #fff;
  text-decoration: none;
}

@media only screen and (max-width: 860px) {
/* ナビゲーション */
aside nav {
  background: #7c1b44 url(../img/cloth.png);
  color: #fcf8ee;
  display: block;
  position: absolute;
  top: 0;
  left: -300px;
  bottom: 0;
  padding-top: 12px;
  transition: all 0.2s;
  width: 300px;
  height: 2000px;
  z-index: 2;
}

aside nav ul {
  list-style: none;
  padding-bottom: 12px;
}

aside nav ul li a {
  color: #fff;
  display: block;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 5px 0 6px 12px;
  transition: all 0.2s;
}

aside nav ul li a:hover {
  background-color: rgba(248, 243, 230, 0.2);
  color: #fff;
}

.nav-title {
  background-color: rgba(51, 41, 21, 0.4);
  color: #f4c197;
  margin: 5px 0 6px 0;
  padding: 10px 0 8px 14px;  
}

aside label {
  background-color: rgba(51, 41, 21, 0.5);
  display: block;
  font-weight: bold;
  padding: 12px 0 12px 12px;
}

aside input {
  display: none;
}
}

form.accordion-item {
  border-top: 4px solid #f4c900;
}

.accordion-header {
  cursor: pointer; 
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 2000px; /* 必要に応じて調整可能 */
}

/* 初期ロード時だけアニメーションを無効にしてチラつきを防ぐ */
.no-accordion-transitions .accordion-content {
  transition: none !important;
}


#hamburger {
  background-color: #f4862d;
  display: block;
  position: fixed;
  top: 70px;
  right: 10px;
  width: 48px;
  height: 62px;
  z-index: 2;
  cursor: pointer;
}

#hamburger span {
  background-color: #fcf8ee;
  display: block;
  position: absolute;
  height: 4px;
  width: 33px;
  transition: all 0.4s;
}

#hamburger span:nth-child(1) {
  top: 11px;
  left: 7px;
}

#hamburger span:nth-child(2) {
  top: 21px;
  left: 7px;
}

#hamburger span:nth-child(3) {
  top: 31px;
  left: 7px;
}

#hamburger span:nth-child(4) {
  color: #fcf8ee;
  font-family: "Helvetica", "Arial", sans-serif;
  font-size: 13px;
  font-weight: bold;
  height: 0;
  top: 35px;
  left: 6px;
  text-align: center;
}

#mask {
  display: none;
}

.open nav {
  left: 0;
}

.open #hamburger span {
  background-color: #fcf8ee;
  transition: all 0.4s;
}

.open #hamburger span:nth-child(1) {
  transform: translateY(10px) rotate(-225deg);
}

.open #hamburger span:nth-child(2) {
  opacity: 0;
}

.open #hamburger span:nth-child(3) {
  transform: translateY(-10px) rotate(225deg);
}

.open #mask {
  display: block;
  background-color: #000;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  opacity: 0.7;
  cursor: pointer;
}

/* =====================================================
タブレット縦置き（577px〜860px）および印刷
====================================================== */
@media print, only screen and (min-width: 577px) and (max-width: 860px) and (orientation: portrait) {
.header {
  background-image: url(../img/siteimage-narrow.jpg); /* スマホ・タブレット縦置き用を維持 */
  background-size: 100% auto;
  padding-top: 14.11%; /* 縦横比維持 */
}
}

/* =====================================================
タブレット横置き＋PC（861px〜1199px）
====================================================== */
@media only screen and (min-width: 861px) and (max-width: 1199px) {
#wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  grid-template-rows: 190px 1fr 60px;
  width: 100%;
}

/* ヘッダー */
header {
  background: #473009 url(../img/siteimage-wide.jpg) no-repeat right top;
  border-bottom: 6px solid #473009;
  padding-bottom: 20%; /* 縦横比 140/992 ≈ 14.11% で高さ自動調整 */
  width: 100%;
  grid-column: 1/3;
  grid-row: 1/2;
}

#crown {
  text-shadow: 1px 1px 0 #000;
  font-size: 87.5%;
  height: 10px;
  padding: 4px 0 0 6px;
}

/* メインコンテンツ */
main {
  padding: 20px 30px 0 30px;
  grid-column: 2/3;
  grid-row: 2/3;
}

/* ナビゲーション */
aside {
  background: #7c1b44 url(../img/cloth.png);
  color: #fff;
  grid-column: 1/2;
  grid-row: 2/3;
  padding: 12px 6px;
}

aside nav ul {
  list-style: none;
  padding-bottom: 12px;
}

aside nav ul li a {
  color: #fcf8ee;
  display: block;
  text-decoration: none;
  padding: 4px 0 4px 12px;
  transition: all 0.2s;
}

aside nav ul li a:hover {
  background-color: rgba(248, 243, 230, 0.2);
  color: #fff;
}

aside label {
  background-color: rgba(51, 41, 21, 0.5);
  display: block;
  font-weight: bold;
  padding: 12px 0 12px 12px;
}

aside input {
  display: none;
}

.nav-title {
  background-color: rgba(51, 41, 21, 0.4);
  color: #f4c197;
  margin: 4px 0 5px 0;
  padding: 10px 0 8px 14px;  
}

#hamburger {
  display: none;
}

/* フッター */
footer {
  background-color: #473009;
  color: #fff;
  margin-bottom: 0;
  padding: 18px 0 0 18px;
  grid-column: 1/3;
  grid-row: 3/4;
}

footer ul {
  list-style: none;
  display: flex;
}

footer ul li {
  margin-right: 12px;
}

footer a {
  color: #fff;
  text-decoration: none;
}
}

/* =====================================================
高解像度PC（1200px以上） 
====================================================== */
@media only screen and (min-width: 1200px) {
body {
  background: #fff url(../img/stripe.png);
}

#wrapper {
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 340px 1fr;
  grid-template-rows: 210px 1fr 60px;
  margin: 0 auto;
  width: 1200px;
}

/* ヘッダー */
header {
  background: #473009 url(../img/siteimage-wide.jpg) no-repeat center 24px;
  grid-column: 1/3;
  grid-row: 1/2;
}

#crown {
  font-size: 87.5%;
  height: 10px;
  padding: 4px 0 0 6px;
}

/* メインコンテンツ */
main {
  padding: 20px 30px 0 30px;
  grid-column: 2/3;
  grid-row: 2/3;
}

/* ナビゲーション */
aside {
  background: #7c1b44 url(../img/cloth.png);
  color: #fff;
  grid-column: 1/2;
  grid-row: 2/3;
  padding: 12px 20px;
}

aside nav ul {
  list-style: none;
  padding-bottom: 12px;
}

aside nav ul li a {
  color: #fcf8ee;
  display: block;
  text-decoration: none;
  padding: 4px 0 4px 12px;
  transition: all 0.2s;
}

aside nav ul li a:hover {
  background-color: rgba(248, 243, 230, 0.2);
  color: #fff;
}

aside label {
  background-color: rgba(51, 41, 21, 0.5);
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  padding: 16px 0 12px 12px;
}

aside input {
  display: none;
}

.nav-title {
  background-color: rgba(51, 41, 21, 0.4);
  color: #f4c197;
  margin: 3px 0 4px 0;
  padding: 11px 0 8px 14px;  
}

#hamburger {
  display: none;
}

/* フッター */
footer {
  background-color: #473009;
  color: #fff;
  margin-bottom: 0;
  padding: 18px 0 0 18px;
  grid-column: 1/3;
  grid-row: 3/4;
}

footer ul {
  list-style: none;
  display: flex;
}

footer ul li {
  margin-right: 12px;
}

footer a {
  color: #fff;
  text-decoration: none;
}
}

/* =====================================================
ボックス＆リストの設定
====================================================== */

/* ボックス 設定
=========================================== */
.simple-box {
  background-color: #f8f5ea;
  border: 1px solid #d8d3af;
  margin: 6px 0 20px 0;
  padding: 12px 6px 0px 6px;
}

.simple-box > ul {
margin: 0 0 12px 18px;
}

.contents-list {
  background: #f8f5ea url(../img/bg-golem.png) bottom right no-repeat;
  border: 5px solid #d8d3af;
  border-radius: 0.5em;
  margin-bottom: 12px;
  padding: 16px 6px 12px 18px;
}

.contents-list > ul {
  margin-left: 12px;
}

.contents-list > ul > li {
  margin: 3px 0 4px 0px;
}

.information {
  background: #f6f9fb url(../img/bg-drakey.png) bottom right no-repeat;
  border: 5px solid #6592af;
  border-radius: 0.5em;
  margin-bottom: 18px;
  padding: 16px 6px 0 6px;
}

.attention {
  background: #fbf6f8 url(../img/bg-behoma-slime.png) bottom right no-repeat;
  border: 5px solid #af657c;
  border-radius: 0.5em;
  margin-bottom: 18px;
  padding: 16px 6px 0 6px;
}

.one-point {
  background: #f8fbf5 url(../img/bg-bubble-slime.png) bottom right no-repeat ;
  border: 5px solid #9ecc75;
  border-radius: 0.5em;
  margin-bottom: 18px;
  padding: 16px 6px 0 6px;
}

.information > ul, .one-point > ul {
  margin: 0 0 12px 24px;
}

.information > ul > li, .one-point > ul > li {
  margin: 3px 0 4px 0px;
}

.information ol, .one-point ol {
  margin: 0 0 12px 30px;
}




@media only screen and (max-width: 576px) {
.monster-box {
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-template-rows: auto 120px 1fr;  
  grid-template-areas:
    "h3  h3"
    "img dl"
    "p   p ";
  gap: 6px;
  margin-bottom: 18px;
}

.monster-box > h3 {
  grid-area: h3;
}

.monster-box > img {
  grid-area: img;
  width: 100%;
}

.monster-box > dl {
  grid-area: dl;
  height: 120px;
  width: 100%;
}

.monster-box > p {
  grid-area: p;
  margin-bottom: 0;
  width: 100%;
}

.monster-box > dl {
  display: grid;
  grid-template-columns: auto auto;
  border-top: 1px solid #4c462c;
  border-left: 1px solid #4c462c;
  border-collapse: collapse;
  text-align: center;
  width: 100%;
}

.monster-box > dl > dt {
  background-color: #f8f5ea;
  border-right: 1px solid #4c462c;
  border-bottom: 1px solid #4c462c;
  padding: 2px 0 1.5px 0;
}

.monster-box > dl > dd {
  border-right: 1px solid #4c462c;
  border-bottom: 1px solid #4c462c;
  padding: 2px 0 1.5px 0;
}
}

@media only screen and (min-width: 577px) {
.monster-box {
  display: grid;
  grid-template-columns: 120px 220px 1fr;
  grid-template-rows: auto 1fr;  
  grid-template-areas:
    "h3  h3  h3"
    "img dl  p";
  gap: 6px;
  margin-bottom: 18px;
}

.monster-box > h3 {
  grid-area: h3;
}

.monster-box > img {
  grid-area: img;
  width: 100%;
}

.monster-box > dl {
  grid-area: dl;
  height: 120px;
  width: 100%;
}

.monster-box > p {
  grid-area: p;
  width: 100%;
}

.monster-box > dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #4c462c;
  border-left: 1px solid #4c462c;
  border-collapse: collapse;
  text-align: center;
  width: 220px;
}

.monster-box > dl > dt {
  background-color: #f8f5ea;
  border-right: 1px solid #4c462c;
  border-bottom: 1px solid #4c462c;
  padding: 2px 0 1px 0;
}

.monster-box > dl > dd {
  background-color: #fff;
  border-right: 1px solid #4c462c;
  border-bottom: 1px solid #4c462c;
  padding: 2px 0 1px 0;
}
}


/* リスト 設定
=========================================== */
@media only screen and (max-width: 950px) {
dl.general-list, .general-list2, .formContainer {
  border-top: 1px solid #555;
  border-left: 1px solid #555;
  margin: 12px auto;
  width: 100%;
}

.general-list dt, .general-list2 dt, .formContainer dt {
  background: #eee url(../img/bg-general-list.png) no-repeat right top;
  border-right: 1px solid #555;
  padding: 8px 3px 8px 8px;
  width: 100%;
}

.general-list dd, .general-list2 dd {
  background-color: #fff;
  border-right: 1px solid #555;
  border-bottom: 1px solid #555;
  padding: 8px 3px 8px 8px;
  width: 100%;
}

.formContainer dd {
  background-color: #fff;
  border-right: 1px solid #555;
  border-bottom: 1px solid #555;
  padding: 4px 4px 18px 4px;
  width: 100%;
}
}

@media only screen and (min-width: 951px) {
dl.general-list {
  border-top: 1px solid #555;
  border-left: 1px solid #555;
  display: flex;
  flex-wrap: wrap;
  margin: 12px auto;
  width: 100%;
}

.general-list dt {
  background-color: #eee;
  border-right: 1px solid #555;
  border-bottom: 1px solid #555;
  padding: 12px 3px 12px 12px;
  width: 40%;
}

.general-list dd {
  background-color: #fff;
  border-right: 1px solid #555;
  border-bottom: 1px solid #555;
  padding: 12px 3px 12px 12px;
  width:60%;
}

dl.general-list2 {
  border-top: 1px solid #555;
  border-left: 1px solid #555;
  display: flex;
  flex-wrap: wrap;
  margin: 12px auto;
  width: 100%;
}

.general-list2 dt {
  background-color: #eee;
  border-right: 1px solid #555;
  border-bottom: 1px solid #555;
  padding: 12px 3px 12px 12px;
  width: 30%;
}

.general-list2 dd {
  background-color: #fff;
  border-right: 1px solid #555;
  border-bottom: 1px solid #555;
  padding: 12px 3px 12px 12px;
  width:70%;
}

dl.formContainer {
  border-top: 1px solid #555;
  border-left: 1px solid #555;
  display: flex;
  flex-wrap: wrap;
  margin: 12px auto;
  text-align: center;
  width: 100%;
}

.formContainer dt {
  background-color: #eee;
  border-right: 1px solid #555;
  border-bottom: 1px solid #555;
  padding: 12px 3px 12px 12px;
  text-align: center;
  width: 30%;
}

.formContainer dd {
  background-color: #fff;
  border-right: 1px solid #555;
  border-bottom: 1px solid #555;
  padding: 8px;
  width:70%;
}
}

/* お問い合わせフォーム 設定
=========================================== */
.formContainer dd input, textarea {
  padding: 6px;
  width: 100%;
}

#submitBtn {
  cursor: pointer;
  padding: 8px 24px;
}

/* テーブル 設定
=========================================== */
table {
  background-color: #fff;
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom:6px;
  text-align: center;
  width: 100%;
}

table tr {
  border-top: 1px solid #4c462c;
  border-left: 1px solid #4c462c;
}

table tr th {
  background-color: #e1dcce;
  border-right: 1px solid #4c462c;
  border-bottom: 1px solid #4c462c;
  font-weight: normal;
  padding: 6px 0;
  white-space: nowrap;
}

table tr td {
  border-right: 1px solid #4c462c;
  border-bottom: 1px solid #4c462c;
  border-top:none;
  padding: 6px 2px 4px 0;
}

table tr td ul {
  margin: 3px 0 1px 14px;
}

caption {
  font-weight: bold;
  text-align: left;
}

.heading-color {
}

.stripe-color {
  background-color: #fdfbf5;
}

.add-border {
  border-bottom: 3px double #4c462c;
}

.half-table {
  margin-bottom: 24px;
}

.tableContainer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media only screen and (max-width: 576px)  {
.wide-only {
  display: none;
}
}

@media only screen and (min-width: 577px)  {
.tableContainer {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.narrow-only {
  display: none;
}
}

/* アイテム識別チェックシート 設定
=========================================== */
#distinction fieldset {
  background-color: #f8f5ea;
  border: 1px solid #d8d3af;
  border-radius: 0.2em;
  margin-bottom: 12px;
  padding: 0px 4px 4px 4px;
}

#distinction legend {
  font-weight: bold;
  margin-left: 12px;
  padding-left: 8px;
}

#distinction ul {
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
}

#distinction ul li {
  background-color: #fff;
  border: 1px solid #d8d3af;
  padding: 6px 2px 6px 4px;
}

#distinction ul li label {
  cursor: pointer;
  display: block;
  margin-right: 4px;
}

#distinction ul li label input[type="checkbox"] {
  margin-right: 3px;
}

#saveBtn, #resetBtn {
  cursor: pointer;
  padding: 10px 8px 10px 8px;
}

@media print, only screen and (min-width: 577px) and (max-width: 950px) and (orientation: portrait) {
#distinction ul {
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}
}

@media only screen and (min-width: 951px)  {
#distinction ul {
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}
}


/* のちに削除
=========================================== */
.hpex {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  box-sizing: border-box;
  margin-bottom: 6px;
  text-align: center;
}

.hpex span {
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
  float: left;
  display: block;
  width: 25%;
}

.hpex:after {
  content: '';
  display: block;
  clear: both;
}

.red {
  color: #d33;
}

article {
  clear: both;
}

.monster {
  background-color: #f8f5ea;
  border-left: 4px solid #d8d3af;
  margin: 2px 0 12px 0;
  padding: 10px 0 6px 12px;
}

@media (max-width: 699px) {
.flex-container {
  margin-bottom: 12px;
}

.right-box {
  background-color: #f8f6f0;
  border: 1px solid #ccc;
  padding: 10px;
  flex-basis: 30%;
  text-align: center;
}

.left-box {
  border: 1px solid #ccc;
  padding: 10px;
  flex-basis: 70%;
}

.right-box img {
  max-width: 100%;
}

/* トルネコ２アイテムテーブル */

.table-container {
  border-top: 1px solid #a8b7c5;
  border-left: 1px solid #a8b7c5;
  display: grid;
  grid-template-columns: 15.6% 15.6% 15.6% 17.2% 18.0% 18.0%;
  line-height: 200%;
  text-align: center;
  margin-bottom:1px;
}

.box-main {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  color: #7c1b44;
  font-weight: bold;
  grid-column: 1 / 4;
  grid-row: 1;
  padding-left: .2em;
  text-align: left;
}

.box-power, .box-powerwi {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  grid-column: 4;
  grid-row: 1;
}

.box-bid, .box-bidwi {
  background: #fbf2f5;
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 5;
  grid-row: 1;
}

.box-sell, .box-sellwi {
  background: #f2f8fb;
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 6;
  grid-row: 1;
}

.box-sub {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  grid-column: 1 / 4;
  grid-row: 2;
  padding-left: .2em;
  text-align: left;
}

.box-wildcard {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 4;
  grid-row: 2;
}

.box-bid-a {
  background: #fbf2f5;
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 5;
  grid-row: 2;
}

.box-sell-a {
  background: #f2f8fb;
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 6;
  grid-row: 2;
}

.box-0th {
  display: none;
}

.box-1st {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 1;
  grid-row: 3;
}

.box-2nd {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 2;
  grid-row: 3;
}

.box-3rd {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 3;
  grid-row: 3;
}

.box-4th {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 4;
  grid-row: 3;
}

.box-5th {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 5;
  grid-row: 3;
}

.box-6th {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 6;
  grid-row: 3;
}

.box-explain {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  grid-column: 1 / right;
  grid-row: 4;
  line-height: 160%;
  padding: 4px .1em 4px .4em;
  text-align: left;
}
}

@media (min-width: 700px) {
.flex-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 12px;
}

.right-box {
  background-color: #f8f6f0;
  border: 1px solid #ccc;
  padding: 10px;
  flex-basis: 30%;
  text-align: center;
}

.left-box {
  border: 1px solid #ccc;
  padding: 10px;
  flex-basis: 70%;
}

.right-box img {
  max-width: 100%;
}

/* トルネコ２アイテムテーブル */
.table-container {
  border-top: 1px solid #a8b7c5;
  border-left: 1px solid #a8b7c5;
  display: grid;
  grid-template-columns: 28% 12% 12% 12% 12% 12% 12%;
  line-height: 200%;
  text-align: center;
  margin-bottom:1px;
}

.box-main {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  color: #7c1b44;
  font-weight: bold;
  grid-column: 1;
  grid-row: 1;
  padding-left: .2em;
  text-align: left;
}

.box-power {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  grid-column: 2;
  grid-row: 1;
}

.box-powerwi {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  grid-column: 2 / 4;
  grid-row: 1;
}

.box-bid {
  background: #fbf2f5;
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 4;
  grid-row: 1;
}

.box-bidwi {
  background: #fbf2f5;
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  grid-column: 4 / 6;
  grid-row: 1;
}

.box-sell {
  background: #f2f8fb;
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 6;
  grid-row: 1;
}

.box-sellwi {
  background: #f2f8fb;
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  grid-column: 6 / 8;
  grid-row: 1;
}

.box-sub {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  grid-column: 1;
  grid-row: 2;
  padding-left: .2em;
  text-align: left;
}

.box-wildcard {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 3;
  grid-row: 1;
}

.box-bid-a {
  background: #fbf2f5;
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 5;
  grid-row: 1;
}

.box-sell-a {
  background: #f2f8fb;
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 7;
  grid-row: 1;
}

.box-0th {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 1;
  grid-row: 2;
}

.box-1st {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 2;
  grid-row: 2;
}

.box-2nd {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 3;
  grid-row: 2;
}

.box-3rd {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 4;
  grid-row: 2;
}

.box-4th {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 5;
  grid-row: 2;
}

.box-5th {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 6;
  grid-row: 2;
}

.box-6th {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  font-size: 87.5%;
  grid-column: 7;
  grid-row: 2;
}

.box-explain {
  border-right: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  grid-column: 1 / right;
  grid-row: 3;
  line-height: 160%;
  padding: 4px .1em 4px .4em;
  text-align: left;
}
}

/* 戦士の技ページ */
.ten-ten-thirty {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  display: grid;
  grid-template-columns: 40% 60%;
vertical-align: middle;
}

.heading-bg {
  color: #fff;
  background-color:#4c462c;
  text-align: center;
}

.name-box {
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
  grid-column-start: 1;
  grid-row: 1;
  padding: 4px 0;
  text-align:center;
}

.sub-box {
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
  font-size: 14px;
  grid-column-start: 1;
  grid-row: 2;
  line-height: 150%;
  padding: 4px 0;
  text-align:center;
}

.explain-box {
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
  grid-column-start: 2;
  grid-row: span 2;
  padding: 4px 6px;
}





