/* --- 全体基本設定 --- */
html {
  background: url("/img/gplaypattern.png");
}

* {
  margin: 0;
  padding: 0;
  line-height: 130%;
  font-family: Meiryo, sans-serif;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box; /* 枠線や余白による要素はみ出しを防止 */
}

p {
  padding: 5px;
}

/* 画像のレスポンシブ化 */
img, .responsive-img {
  max-width: 100%;
  height: auto;
}

/* 幅1000px制限のレスポンシブ化 */
.wrap1000 {
  max-width: 1000px;
  width: 100%;
  margin: auto;
  padding: 0 15px; /* スマホ時の画面両端の余白 */
}

hr {
  border: 0;
  height: 70px;
  background: url(/img/hr.png) 50% 50% no-repeat;
  background-size: contain;
}

.center {
  text-align: center;
  margin: auto;
}

table {
  max-width: 650px;
  width: 100%;
  margin: 30px auto;
  border-collapse: collapse;
}

th {
  padding: 10px;
  width: 150px;
  background: aliceblue;
  border: 1px solid #666;
}

td {
  padding: 10px;
  text-align: left;
  border: 1px solid #666;
}

h3 {
  margin-top: 30px;
  background: #f2f2f2;
  background: linear-gradient(to bottom, #f2f2f2 0%, #ffffff 100%);
  border: 1px solid #aaa;
  border-bottom: 3px #cc3333 solid;
  padding: 0px 10px;
}

#main ol {
  margin: 15px 20px;
}

a {
  color: blue;
  text-decoration: none;
  word-break: break-all; /* 長いURLのはみ出しを防ぐ */
}

#main h2 {
  max-width: 600px;
  width: 100%;
  height: 50px;
  overflow: hidden;
  background: url("/img/page/title.png");
  background-repeat: no-repeat;
  margin: auto;
  margin-bottom: 30px;
  text-indent: -9999px;
}

#main #page01 h2 { background-position: 0px 0px; }
#main #page02 h2 { background-position: 0px -50px; }
#main #page03 h2 { background-position: 0px -100px; }
#main #page04 h2 { background-position: 0px -400px; }
#main #page05 h2 { background-position: 0px -150px; }
#main #page06 h2 { background-position: 0px -200px; }
#main #page07 h2 { background-position: 0px -250px; }
#main #page08 h2 { background-position: 0px -300px; }
#main #mailform h2 { background-position: 0px -350px; }

.bx-wrapper {
  max-width: 800px;
  width: 100%;
  margin: auto;
}

.img_b {
  padding: 5px;
  border: 1px solid #ccc;
}

.box {
  overflow: hidden;
}

.box_left { float: left; }
.box_right { float: right; }

input[type="text"] {
  margin: 0;
  padding: 0;
  display: inline-block;
  width: 100%;
}

/* --- ヘッダー・メイン・フッター --- */
#description {
  background: orange;
}

#description div {
  min-height: 40px;
  line-height: 1.4;
  padding: 10px 15px;
  text-align: center;
  font-weight: bold;
}

#main .wrap1000 {
  background-color: #fff;
  padding: 30px 20px;
  max-width: 900px;
  width: 100%;
}

#main * {
  line-height: 1.8;
}

#header {
  background: #fff;
  min-height: 90px;
  overflow: hidden;
}

#header div {
  background-repeat: no-repeat;
  background-position: 0px 0px;
}

#header h1, .seo_h1 {
  font-size: 1.1rem;
  padding: 20px 0;
  margin: 0;
  text-align: center;
}

#header_menu {
  position: relative;
  top: -60px;
  left: 500px;
  width: 500px;
  height: 120px;
  list-style: none;
  overflow: hidden;
}

#header_menu li {
  list-style: none;
  float: left;
}

#header_menu a {
  display: block;
  width: 100px;
  height: 120px;
  text-indent: -9999px;
}

#header_menu1:hover, #header_menu2:hover, #header_menu3:hover, #header_menu4:hover, #header_menu5:hover {
  background: url("/img/header.png");
  background-repeat: no-repeat;
}

#header_menu1:hover { background-position: -500px -120px; }
#header_menu2:hover { background-position: -600px -120px; }
#header_menu3:hover { background-position: -700px -120px; }
#header_menu4:hover { background-position: -800px -120px; }
#header_menu5:hover { background-position: -900px -120px; }

#slider {
  background: #000;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-top: solid 1px #eee;
}

#slider img {
  display: block;
  width: 100%;
  height: auto;
}

#breadcrumb {
  background: #993366;
  color: #fff;
  width: 100%;
}

#breadcrumb * {
  min-height: 40px;
  line-height: 40px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

#breadcrumb span {
  padding: 0 15px;
}

#footer {
  color: #fff;
  background-color: #000;
}

#footer_menu {
  background-color: #ebebeb;
  color: #000;
  text-align: center;
  padding: 5px 0;
  overflow: hidden;
}

#footer_menu a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
  padding: 2px;
  text-indent: 15px;
  display: inline-block;
  width: 100%;
  max-width: 485px;
  border: solid 1px #000;
  margin: 2px;
  height: 50px;
  line-height: 50px;
  background: #fff;
  text-align: left;
}

#footer_menu li {
  display: inline-block;
  width: 100%;
  max-width: 485px;
}

#footer_info {
  text-align: center;
}

#footer_info a {
  color: #fff;
  text-decoration: underline !important;
}

#footer_info .wrap1000 {
  padding: 10px 0;
}

#footer_info .wrap1000 div {
  display: inline-block;
  text-align: left;
  width: 100%;
}

#footer_info #footer_info1 { max-width: 600px; width: 100%; }
#footer_info #footer_info2 { max-width: 350px; width: 100%; }

#copyright div {
  text-align: center;
  font-size: 14px;
  padding: 20px 0;
}

#footer_menu span {
  display: none;
}

/* 固定メニューの表示設定 */
.fixed {
  display: block !important;
}

.fixed_menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(#936, #f31282);
  border-bottom: 1px #fff solid;
  box-shadow: 0 2px 10px;
  overflow: hidden;
  z-index: 100;
}

.fixed_menu li {
  float: left;
  list-style: none;
}

.fixed_menu a {
  display: block;
  color: #fff;
  padding: 0 20px;
  height: 70px;
  line-height: 70px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
}

/* ご指定の非表示ルール */
#header_menu5,
#footer_info1 a:nth-of-type(1),
#main div div:nth-child(6),
#page02 table:nth-child(3) tr:nth-child(8) {
  display: none !important;
}

#main div div:nth-child(5) {
  width: auto !important;
}

#header_menu li:nth-of-type(5) {
  background: #fff;
  width: 100px;
  height: 120px;
}

.fixed_menu li:nth-of-type(6) {
  display: none;
}

/* --- スマホ表示用メディアクエリ (768px以下) --- */
@media screen and (max-width: 768px) {
  #main .wrap1000 {
    padding: 20px 15px;
  }
  
  .box_left, .box_right {
    float: none;
    width: 100%;
  }

  th, td {
    display: block;
    width: 100%;
  }
}