html {
  box-sizing: border-box;
}

*, *::after, *::before {
  box-sizing: inherit;
}

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 16px;
  line-height: 1.6;
  font-family: sans-serif;
  /*vertical-align: baseline;*/
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin-bottom: 30px;
  background-color: #fff;
  border-top: #cecece 1px solid;
  border-left: #cecece 1px solid;
}
table th, table td {
  border-right: #cecece 1px solid;
  border-bottom: #cecece 1px solid;
  padding: 5px 10px;
}
table th {
  font-weight: bold;
}
table thead {
  white-space: nowrap;
}
table thead th {
  text-align: left;
  background-color: #ddf8e7;
}
table tbody th {
  background-color: #ddf8e7;
}
table .thumb {
  background-color: #fff;
  width: 220px;
  text-align: center;
}

/* common
----------------------------------------------------------*/
* {
  -webkit-font-smoothing: antialiased;
}

html {
  background: #86bc24;
  color: #000401;
  min-width: 960px;
}

p {
  line-height: 1.7;
}

img {
  vertical-align: bottom;
}

h2 {
  text-indent: 0 !important;
  font-size: 30px;
  margin-bottom: 30px;
}

a {
  color: #000401;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.inner {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.inner::after {
  clear: both;
  content: "";
  display: table;
}

#gungho {
  width: 100%;
  height: 31px;
  background: #fff;
  border-bottom: 4px solid #ccc;
}
#gungho .inner {
  width: 1000px;
  height: 31px;
  margin: 0 auto;
  position: relative;
}
#gungho #ragnarok {
  position: absolute;
  top: 0;
  left: 0;
}
#gungho #roInfo {
  position: absolute;
  overflow: hidden;
  top: 0;
  right: 0;
  line-height: 31px;
}
#gungho #roInfo li {
  float: left;
  margin-right: 15px;
}
#gungho #roInfo li a {
  font-size: 12px;
  color: #555;
  text-decoration: underline;
}
#gungho #roInfo li a:hover {
  text-decoration: none;
}

#sns {
  position: absolute;
  top: 35px;
  right: 0;
  line-height: 48px;
  text-align: right;
  text-indent: initial;
}
#sns li {
  display: inline-block;
}

#pagetop {
  position: absolute;
  bottom: -20px;
  right: 10%;
}
#pagetop:hover {
  bottom: -8px;
}

#footer {
  position: relative;
  background: #1b6175;
  padding-top: 30px;
}
#footer .inner {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
#footer .inner::after {
  clear: both;
  content: "";
  display: table;
}
#footer .inner h2 {
  text-align: center;
  padding: 15px 0 0;
  margin-bottom: 0;
}
#footer .inner ul {
  width: 940px;
  margin: 0 auto;
  font-size: 0;
}
#footer .inner li {
  float: left;
  display: block;
  margin-right: 2.35765%;
  width: 31.76157%;
  vertical-align: top;
}
#footer .inner li:last-child {
  margin-right: 0;
}
#footer .inner li:nth-child(3n) {
  margin-right: 0;
}
#footer .inner li:nth-child(3n+1) {
  clear: left;
}
#footer .inner li .thumb {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  height: 270px;
}
#footer .inner li .thumb img {
  width: 100%;
  height: auto;
}
#footer .inner li h3 {
  font-size: 20px;
}
#footer .inner li p {
  color: #fff;
  font-size: 14px;
  line-height: 22px;
}
#footer .startRO {
  text-align: center;
  font-size: 14px;
  margin-bottom: 50px;
}
#footer .startRO a {
  text-decoration: underline;
  color: #fff;
  font-size: 14px;
}
#footer .startRO a:hover {
  opacity: .8;
}
#footer .aside {
  background: #0C4C5E;
}
#footer .f-sns {
  margin: 0 auto;
  padding: 20px 0;
  width: 655px;
  font-size: 0;
}
#footer .f-sns li {
  display: inline-block;
  margin-left: 55px;
  width: 300px;
}
#footer .f-sns li:first-child {
  margin-left: 0;
}
#footer .credit {
  text-align: center;
  font-size: 12px;
  color: #fff;
  padding-bottom: 20px;
}

/* Regulation
----------------------------------*/
#regulation h3 {
  margin-bottom: .01em;
  padding-top: .7em;
  font-size: 20px;
}
#regulation h4 {
  margin: 5px 0;
  padding: 0 10px;
  font-size: 14px;
}
#regulation h5 {
  font-size: 14px;
  padding: 0 20px;
}
#regulation p, #regulation img, #regulation ul {
  padding: 0 10px;
}
#regulation p .note, #regulation img .note, #regulation ul .note {
  padding-left: 0;
}
#regulation p.note {
  padding-left: 25px;
}
#regulation blockquote {
  margin-bottom: 1.2em;
}
#regulation .note, #regulation .note li {
  font-size: 13px;
  text-indent: -1.3em;
  padding-left: 1em;
}
#regulation .company {
  font-size: 90%;
}
#regulation .section {
  margin-bottom: 10px;
}
#regulation .mgb {
  margin-bottom: 5px;
}
#regulation a {
  font-size: 14px;
  text-decoration: underline;
}
#regulation a:hover {
  text-decoration: none;
}

body {
  background: url(../img/bg_top.jpg) center top no-repeat, url(../img/bg_top_repeat.jpg) center top repeat-x;
  -pie-background: url(/special/cp_petit2015summer/img/bg_top.jpg) center top no-repeat, url(/special/cp_petit2015summer/img/bg_top_repeat.jpg) center top repeat-x;
  behavior: url(PIE.htc);
}
body p, body ul li {
  font-size: 14px;
}

#header {
  height: 476px;
  text-indent: -9999px;
  background: url(../img/header.png) center top no-repeat;
}

#contentsWrap {
  margin-bottom: 50px;
  padding: 22px 0;
  background: url(../img/contents_bg_top.png) center top no-repeat, url(../img/contents_bg_bottom.png) center bottom no-repeat;
  -pie-background: url(/special/cp_petit2015summer/img/bg_top.jpg) center top no-repeat, url(/special/cp_petit2015summer/img/bg_top_repeat.jpg) center top repeat-x;
  behavior: url(PIE.htc);
}

#contents {
  width: 944px;
  padding: 28px 50px;
  margin: 0 auto;
  background: url(../img/contents_bg_repeat.gif) center top repeat-y;
}
#contents h2 {
  margin-bottom: 20px;
}
#contents h2:before {
  content: url(../img/h3_mark.jpg);
}
#contents #join {
  margin-bottom: 60px;
}
#contents #join #joinAcourse {
  height: 186px;
  margin-bottom: 20px;
  text-indent: -9999px;
  background: url(../img/join_a.jpg) center top no-repeat;
}
#contents #join #joinBcourse {
  height: 341px;
  text-indent: -9999px;
  background: url(../img/join_b.jpg) center top no-repeat;
}
#contents #target {
  margin-bottom: 60px;
}
#contents #target ul {
  position: relative;
  height: 190px;
  background: url(../img/target_items.jpg) center top no-repeat;
}
#contents #target ul li {
  position: absolute;
  bottom: 0;
  display: inline-block;
}
#contents #target ul li span {
  display: none;
}
#contents #target ul li:first-child {
  left: 73px;
}
#contents #target ul li:nth-child(2) {
  left: 287px;
}
#contents #target ul li:last-child {
  right: 92px;
}
#contents #example {
  margin-bottom: 60px;
}
#contents #example p {
  margin-bottom: 20px;
}
#contents #aboutGunpetit {
  margin-bottom: 60px;
  height: 230px;
  background: url(../img/aboutgunpetit_img.png) 0px -18px no-repeat;
}
#contents #aboutGunpetit p {
  margin-left: 340px;
}
#contents #howToBuy {
  margin-bottom: 60px;
}
#contents #howToBuy a {
  display: inherit;
  text-align: center;
}
#contents #howToBuy ol {
  position: relative;
  left: -19px;
  width: 884px;
  height: 199px;
  margin-bottom: 20px;
  text-indent: -9999px;
  background: url(../img/howtobuy_step.jpg) center top no-repeat;
}
#contents #prize {
  margin-bottom: 60px;
}
#contents #prize h3 {
  font-size: 18px;
  background: #3eb86a;
  border-radius: 5px;
  line-height: 30px;
  padding-left: 72px;
  margin-bottom: 12px;
  position: relative;
  behavior: url(PIE.htc);
}
#contents #prize h3 span {
  position: absolute;
  top: -22px;
  left: -22px;
}
#contents #prize th, #contents #prize td {
  font-size: 14px;
}
#contents #prize .col01 {
  width: 17%;
}
#contents #regulation {
  margin-bottom: 50px;
  color: #041506;
}
#contents #regulation h4 {
  background: #DBE8D2;
  color: #041506;
  display: inline-block;
  border-radius: 5px;
  padding: 0 10px;
  behavior: url(PIE.htc);
}
#contents #faq {
  margin-bottom: 60px;
}
#contents #faq h2 {
  margin-bottom: 35px;
}
#contents #faq dt {
  color: #1C9347;
  font-weight: bold;
  position: relative;
  margin-bottom: 5px;
  padding-left: 60px;
}
#contents #faq dt:before {
  content: url(../img/faq_qmark.gif);
  position: absolute;
  bottom: 4px;
  left: 0;
}
#contents #faq dd {
  color: #041506;
  font-size: 14px;
  margin-bottom: 35px;
  padding-left: 60px;
  position: relative;
}
#contents #faq dd:before {
  content: url(../img/faq_amark.gif);
  position: absolute;
  top: 0;
  left: 15px;
}
#contents #faq a {
  font-size: 14px;
  text-decoration: underline;
}
#contents #faq a:hover {
  text-decoration: none;
}
#contents #faq .long:before {
  top: 4px;
  left: 0;
}
#contents #faq .short:before {
  top: -6px;
}

#footer {
  background-color: #fff;
  font-size: 12px;
  border-top: 4px solid #1C9347;
  padding: 10px 0 20px;
}
#footer img {
  float: left;
  margin-right: 10px;
}
