@charset "utf-8";

* {
  margin: 0;
  padding: 0;
}

body {
background: url(../img/stripe.png);
  font-family: Verdana, Roboto, "Droid Sans", "メイリオ", Meiryo, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", sans-serif;
  line-height: 170%;
}

/* コンテナ
============================== */
main {
  padding: 10px;
}

header {
  background-color: #1b597c;
  color: #fff;
}

footer {
  background-color: #1b597c;
  color: #fff;
}

section {
  clear: both;
  margin-bottom: 3em;
}

@media (max-width: 599px) {
article {
  clear: both;
  padding: 6px;
}

.wide-only {
  display: none;
}

#wrapper {
  background-color:#fff;
}
}

@media (min-width: 600px) and (max-width: 799px) {
article {
  clear: both;
  padding: 6px;
}

.narrow-only {
  display: none;
}

#wrapper {
  background-color:#fff;
}
}

@media (min-width: 800px) and (max-width: 999px) {
article {
  clear: both;
  padding: 6px;
}

.narrow-only {
  display: none;
}

#wrapper {
  background-color:#fff;
  margin: 0 auto;
  width: 800px;
}
}

@media (min-width: 1000px) {
article {
  clear: both;
  padding: 6px;
}

.narrow-only {
  display: none;
}

#wrapper {
  background-color:#fff;
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-rows: 340px 1fr 60px;
  height:100%;
  margin:0 auto;
  width: 1000px;
  display: -ms-grid;
  -ms-grid-columns: 240px 1fr;
  -ms-grid-rows: 340px 1fr 60px;
}

header {
  background-color: #1b597c;
  color: #fff;
  display: inline-block; /* IE11 GRID */
  height: 340px;
  grid-column: 1/3;
  grid-row: 1;
  -ms-grid-column: 1;
  -ms-grid-column-span: 2;
  -ms-grid-row: 1;
}

main {
  display: inline-block; /* IE11 GRID */
  grid-column: 2;
  grid-row: 2;
  padding: 10px 40px;
  -ms-grid-column: 2;
  -ms-grid-row: 2;
}

main ul li {
  margin-bottom: 0.4em;
}
}

/* フッター */
footer {
  background-color: #1b597c;
  color: #fff;
  grid-column: 1/3;
  grid-row: 3;
  height: 40px;
  margin-bottom: 0;
  padding: 12px 6px 24px 6px;
  -ms-grid-column: 1;
  -ms-grid-column-span: 2;
  -ms-grid-row: 3;
  -ms-grid-row-span: 1;
}

footer ul li {
  float: left;
  list-style: none;
  padding-left: 12px;
}

footer ul li a {
  color: #fff;
}


/* header style
============================== */
@media (max-width: 699px) {
#mainvisual {
  background-image: url("../img/mainvisual-s.jpg");
  background-position:center bottom;
  background-size: 100% auto;
  background-repeat: no-repeat;
  font-size: small;
  line-height: 140%;
  padding: 2px 0px calc(100%*400/720) 2px;
}
}

@media (min-width: 700px) {
#mainvisual {
  background-image: url("../img/mainvisual.jpg");
  background-position:center bottom;
  background-size: 100% auto;
  background-repeat: no-repeat;
  font-size: small;
  line-height: 100%;
  padding: 8px 2px calc(100%*216/700) 2px;
}
}

/* main style
============================== */
h1 {
  font-size:medium;
  margin:2px 0 6px 0;
}

h1 + p img {
  margin:2px 0 1px 0;
  width:100%
}

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

h3 {
  color: #7c1b44;
  margin-bottom: 10px;
}

h3.monster {
  background-color: #f8f6f0;
  border-left: 6px solid #1b597c;
  font-size:large;
  margin-bottom: 10px;
  padding: 6px 0 6px 12px;
}

p {
  margin-bottom: 1em;
}

a {
  color: #0044CC;
}

hr {
  border: 1px solid #fff;
}

.background-imgR {
  margin-bottom: 0;
}

.background-imgR img {
  float: right;
  height: 120px;
  margin: 0 0 2px 4px;
  width: 120px;
}

.discription-imgL {
  float: left;
  margin-bottom: 0;
}

.discription-imgL img {
  border: 1px solid #000;
  margin: 6px 8px 0 0;
}

.discription-imgR {
  float: right;
  margin-bottom: 0;
}

.discription-imgR img {
  border: 1px solid #000;
  margin: 6px 2px 0 4px;
}

.one-point {
  background-color: #fcf9ff;
  border: 5px solid #d6b1ff;
  border-radius: 1em;
  margin-bottom: 12px;
  padding: 18px 18px 6px 18px;
}

.one-point ul {
  padding-left: 2px;
  margin-bottom: 6px;
}

.information {
  background-color: #f3ffed;
  border: 5px solid #b3ea97;
  border-radius: 1em;

  clear: both;
  margin-bottom: 12px;
  padding: 18px 18px 6px 18px;
}

.information p {
  margin-bottom: 6px;
}

.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;
}

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

/* all list style
============================== */
section ul, ol {
  margin: 0 0 12px 24px;
}

@media (max-width: 699px) {
.contents-list {
  background-color: #f8f6f0;
  border: 5px solid #bab9b4;
  border-radius: 0.8em;
  margin:1px 0 12px 0;
  padding: 12px 2px 12px 22px;
}

.contents-list li {
  margin: 12px 0 12px 2px;
}

/* CSS GRID */
dl.twenty-eighty, dl.thirty-seventy, dl.forty-sixty, dl.fifty-fifty, dl.seventy-thirty {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  margin-bottom: 12px;
}

dt {
  background: #eee;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
  padding: 10px;
}

dd {
  background: #fff;
  border-right: 1px solid #ccc;
  border-bottom: 3px double #ccc;
  box-sizing: border-box;
  padding: 10px;
}

dd:last-child {
  background: #fff;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
  padding: 10px;
}
.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:#1b597c;
  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;
}

#relation-link ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

#relation-link li {
  box-sizing: border-box;
  line-height: 100%;
  list-style: none;
  margin-bottom: 6px;
  padding: 6px 0;
  text-align: center;
  width: 50%;
}

#relation-link li img {
  width: 92%;
}
}

@media (min-width: 700px) {
.contents-list {
  background-color: #f8f6f0;
  border: 5px solid #bab9b4;
  border-radius: 0.8em;
  margin:2px 0 12px 0;
  padding: 12px 2px 12px 36px;
}

/* CSS GRID */
dl.twenty-eighty {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  display: grid;
  grid-template-columns: 20% 80%;
  margin-bottom: 12px;
}

dl.thirty-seventy {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  display: grid;
  grid-template-columns: 30% 70%;
  margin-bottom: 12px;
}

dl.forty-sixty {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  display: grid;
  grid-template-columns: 40% 60%;
  margin-bottom: 12px;
}

dl.fifty-fifty {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  display: grid;
  grid-template-columns: 50% 50%;
  margin-bottom: 12px;
}

dl.seventy-thirty {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  display: grid;
  grid-template-columns: 65% 35%;
  margin-bottom: 12px;
}

dt {
  background: #eee;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
  grid-column-start: 1;
  padding: 10px;
}

dd {
  background: #fff;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
  grid-column-start: 2;
  padding: 10px;
}

.ten-ten-thirty {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  display: grid;
  grid-template-columns: 20% 20% 60%;
}

.heading-bg {
  color: #fff;
  background-color:#1b597c;
  text-align:center;
}

.name-box {
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
  grid-column-start: 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: 2;
  line-height: 160%;
  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: 3;
  padding: 4px 4px 4px 6px;
}

#relation-link ul {
  display: flex;
  justify-content: center;
  width: 100%;
}

#relation-link li {
  box-sizing: border-box;
  line-height: 100%;
  list-style: none;
  padding: 6px 0;
  text-align: center;
  width: 25%;
}

#relation-link li img {
  width: 96%;
}
}

/* all table style
============================== */
table {
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom:6px;
  width: 100%;
}

table th {
  color: #fff;
  background-color:#1b597c;
  border: 1px solid #3c6690;
  font-weight: normal;
  padding: 4px 0;
  white-space: nowrap;
}

table td {
  text-align: center;
  border: 1px solid #a8b7c5;
  border-top:none;
  padding: 2px 0;
}

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

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

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

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

@media (min-width: 700px) {
.half-table {
  float:left;
  margin-right: 1%;
  width: 49%;
}
}


/* フォーム設定（Grid Layout / flexbox） */
fieldset {
  background: #f8f6f0;
  border: 1px solid #ccc;
  margin-bottom: 12px;
}

legend {
  font-weight: bold;
  margin-left: 10px;
  padding-left: 4px;
}

label {
  cursor: pointer;
}

input[type=checkbox] {
  margin: 10px 4px 2px 6px;
  transform: scale(1.3);
}

button,
input[type=submit] ,
input[type=button] ,
input[type=reset] {
  padding: 8px 6px 8px 4px;
}

.f-container {
  list-style: none;
  margin-left: 1px;
  padding-left: 2px;
  width: 100%;
}

.f-container li {
  background: #fff;
  border: 1px solid #ccc;
  float: left;
  margin: 0 0 1px 1px;
  padding: 6px 0 8px 0;
  overflow: hidden;
  width: 48.4%;
  white-space: nowrap;
}

.f-container li:last-child {
  margin-bottom: 4px;
}

@media (min-width: 600px) {
.f-container {
  list-style: none;
  margin-left: 1px;
  padding: 0 0 10px 2px;
  width: 100%;
}

.f-container li {
  background: #fff;
  border: 1px solid #ccc;
  float: left;
  margin: 0 0 1px 1px;
  overflow: hidden;
  width: 24.3%;
  white-space: nowrap;
}

.f-container li:last-child {
  margin-bottom: 4px;
}

.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%;
}
}

@media (max-width: 599px) {
.right-box {
  background-color: #f8f6f0;
  border: 1px solid #ccc;
  margin-bottom: 24px;
  padding: 10px;
  text-align: center;
}

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



/* page top slider style
============================== */
#pagetop{
  position: fixed;
  right: 6px;
  bottom: 6px;
  zoom:1;
  z-index: 99;
}

#pagetop a {
  background: #7c1b44;
  border-radius: 50%;
  color:#fff;
  display: block;
  font-size: small;
  font-weight: bold;
  height: 52px;
  line-height: 52px;
  text-align: center;
  text-decoration: none;
  width: 52px;
}


/* パンくずリストと最終更新日
============================== */
@media (max-width: 599px) {
#breadcrumbs {
  background:#d0e8f4;
  line-height:220%;
}

#breadcrumbs ol {
  margin:0 0 18px 6px;
  font-size: small;
}

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

#breadcrumbs li::after{
  content:'>';
  display:inline-block;
  padding-left:5px;
}

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

#last-update {
  float:right;
  font-size: small;
  text-align:right;
}
}

@media (min-width: 600px) {
#breadcrumbs {
  float:left;
  width:72%;
}

#breadcrumbs ol {
  margin:0 0 6px 0;
  font-size: small;
}

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

#breadcrumbs li::after{
  content:'>';
  display:inline-block;
  padding:0 2px 0 6px;
}

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

#last-update {
  float:right;
  font-size: small;
  text-align:right;
  width:27%;
}
}

/* all text style
============================== */
strong {
  background-color: #EDC;
  padding: 2px 0 2px 4px;
}

figcaption {
  line-height: 140%;
}

.centering {
  text-align: center;
}

.righting {
  text-align: right;
}

.lefting {
  padding-left: 0.4em;
  text-align: left;
}

.light {
  color: #888;
}

.attention {
  color:#f00;
}

.distinction {
  color: #095d2b;
}

.smaller {
  font-size: small;
}

.rice-mark {
  padding-left: 26px;
}

.rice-mark:first-letter {
  margin-left: -22px;
}

.img-fitter {
  width:100%;
}

.no-wrapper {
  padding:0 1px;
  white-space:nowrap;
}

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

.clearfix {
  border: 0;
  clear: both;
  content: "";
  display: block;
}


/* サイドメニュー */
/* pc navigation style
============================== */
@media (min-width: 700px) {
aside {
  background-color:#7c1b44;
  color: #fff;
  grid-column: 1;
  grid-row: 2;
  padding: 12px 0 20px 0px;
  -ms-grid-column: 1;
  -ms-grid-row: 2;
  -ms-grid-row-span: 1;
}

aside ul {
  border-bottom: 1px dotted #f73;
  list-style: none;
  padding-bottom: 12px;
  text-indent: 6px;
}

aside ul li {
  margin-bottom: 1px;
}

aside label {
  color: #bdf;
  cursor: auto;
  display: block;
  font-size: large;
  font-weight: bold;
  padding: 12px 0 6px 6px;
}

aside input {
  display: none;
}

aside nav a {
  color: #fff;
}

aside nav a:hover {
  color: #ff6;
}

.nav-title {
  color: #fdb;
  margin-top: 12px;
}
}

/* smartphone navigation style
============================== */
@media (max-width: 999px) {
aside {
  grid-column: 1;
  grid-row: 2;
  -ms-grid-column: 1;
  -ms-grid-row: 2;
  -ms-grid-row-span: 1;
}

aside input {
  display: none;
}

aside nav a {
  color: #fff;
}

aside nav a:hover {
  color: #ff6;
}

.nav-title {
  color: #fdb;
  font-size: small;
  padding: 0;
}

#globalMenuSp {
  position: absolute;
  top: -0px;
  left: -0px;
  z-index: 100;
  transform: translateY(-100%);
  transition: all 0.3s;
  width: 80%;
}

#globalMenuSp ul {
  background-color:#7c1b44;
  list-style: none;
  margin-bottom: 0;
  width: 100%;
  text-indent: 6px;
}

#globalMenuSp ul li {
  background-color:#7c1b44;
  border-bottom: 1px dotted #f73;
  padding: 12px 0;
}

#globalMenuSp label {
  background-color:#7c1b44;
  border-bottom: 1px dotted #f73;
  color: #bdf;
  display: block;
  font-size: large;
  padding: 14px 0 14px 0px;
  text-indent: 6px;
  transition: all 0.5s;
}

#globalMenuSp label:hover {
  color: #ff7;
  text-decoration: underline;
}

/*中身を非表示にしておく*/
#globalMenuSp .accshow {
  height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
}

/*クリックで中身表示*/
#globalMenuSp .cssacc:checked + .accshow {
  height: auto;
  padding: 5px 0;
  opacity: 1;
}

/* このクラスをjQueryで付与・削除する */
#globalMenuSp.active {
  transform: translateY(0%);
}

/* スマホ用トグルボタン */
#navToggle {
  background-color:#7c1b44;
  cursor: pointer;
  display: block;
  position: absolute;
  right: 10px;
  top: 60px;
  height: 51px;
  text-align: center;
  width: 44px;
  z-index: 3;
}

#navToggle span {
  border-bottom: solid 3px #fff;
  display: block;
  position: absolute;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
  left: 6px;
  width: 32px;
}

#navToggle span:nth-child(1) {
  top: 9px;
}

#navToggle span:nth-child(2) {
  top: 18px;
}

#navToggle span:nth-child(3) {
  top: 27px;
}

#navToggle span:nth-child(4) {
  border: none;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  top: 26px;
}

/* 最初のspanをマイナス45度に */
#navToggle.active span:nth-child(1) {
  top: 18px;
  left: 6px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */
#navToggle.active span:nth-child(2),
#navToggle.active span:nth-child(3) {
  top: 18px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}
}


/* 広告枠設定 */
============================== */
.advertise {
  box-sizing: border-box;
  padding: 3px 2%;
  width:96%;
}

.adsbygoogle {
  margin-bottom: 6px;
  padding-bottom: 6px;
}
