/* Reset / base styles */
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, input, textarea {
  display: block;
}

body {
  line-height: 1.5;
  overflow-wrap: break-word;
  word-wrap: break-word;
  font-family: Verdana, Roboto, 'Yu Gothic', 'YuGothic', 'Hiragino Kaku Gothic Pro', Meiryo, 'MS PGothic', sans-serif;
  font-size: 1.5em;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 0 15px 60px;
  background: #fff url('image/back01.gif') center top no-repeat;
  background-size: cover;
  color: #ab9b82;
}

/* Fonts for headers and menu */
#menu, h1, h2 {
  font-family: 'Averia Libre', cursive, Georgia, Verdana, Roboto, 'Yu Gothic', 'YuGothic', 'Hiragino Kaku Gothic Pro', Meiryo, 'MS PGothic', sans-serif;
}

/* Links */
a {
  color: #cf5c62;
  text-decoration: underline;
  transition: color 0.6s;
}
a:hover {
  color: #ab9b82;
}
#page a {
  text-decoration: none;
}

/* Wrapper and page layout */
#wrapper {
  position: relative;
  min-width: 926px;
  height: 100%;
}

#contents, #contents-inner, #contents-box {
  margin: 0 auto;
}
#contents-inner {
  width: 926px;
}
#contents-box {
  background: #fff;
  width: 792px;
}

/* Header / Footer */
header, footer {
  padding: 10px 20px;
}

/* Page top button */
#pagetop {
  display: block;
  position: fixed;
  padding-top: 5px;
  right: 10px;
  bottom: -100px;
  width: 50px;
  height: 50px;
  z-index: 50;
  transition: 0.5s;
}
#pagetop:before, #pagetop:after {
  position: absolute;
  content: "";
  width: 28px;
  height: 40px;
  background: #ffb9c5;
}
#pagetop:before {
  left: 6px;
  transform: rotate(-45deg);
  border-radius: 50px 50px 0 0;
}
#pagetop:after {
  left: 16px;
  transform: rotate(45deg);
  border-radius: 50px 50px 0 0;
}
.arrow {
  border-left: 3px solid #fff;
  border-top: 3px solid #fff;
  position: absolute;
  top: 40%;
  left: 38%;
  height: 12px;
  width: 12px;
  transform: rotate(45deg);
  z-index: 2;
}

/* Menu */
#menu {
  font-size: 1.3em;
  line-height: 1;
  padding: 20px 0 0;
  width: 100%;
  text-align: center;
}
#menu li {
  display: inline-block;
  background: url('image/icon03.gif') no-repeat 100% 50%;
  padding: 0 20px 0 0;
}
#menu li:last-child {
  background-image: none;
}
#menu li a {
  color: #ab9b82;
  display: inline-block;
  padding: 0 10px;
}
#menu li a:hover {
  background: rgba(255,185,197,0.5);
  border-radius: 5px;
  color: #fff;
}

/* Headers */
h1 {
  color: #ffb9c5;
  font-size: 2.4em;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1;
  text-shadow: 5px 5px 5px #ccc;
}
#page h1 {
  color: inherit;
}
h2 {
  background: #fff url('image/back01.gif') center top no-repeat;
  box-shadow: 5px 5px 5px #ccc;
  border-radius: 5px;
  font-size: 1.3em;
  font-weight: 700;
  margin: 20px 0;
  padding: 0 1em;
}

/* Inputs and textareas */
input, textarea {
  background: #fff9dd;
  border-radius: 8px;
  border: 1px dashed #ccc;
  margin: 3px auto;
  padding: 2px;
  width: 400px;
}
textarea {
  height: 50px;
}

/* Boxes and frames */
.textbox {
  background: #fff7f8;
  border-radius: 20px;
  padding: 5px 10px;
}
.frame {
  border: 6px solid #fff;
  border-radius: 3px;
  box-shadow: 4px 4px 4px #ccc;
}

/* Responsive */
@media screen and (max-width: 946px) {
  #wrapper { min-width: 530px; }
  #contents-inner { width: 530px; }
  #contents-box { width: 396px; }
  .u01, .s01 { width: auto; float: none; }
}
@media screen and (max-width: 600px) {
  #wrapper { width: 100%; min-width: inherit; }
  #contents, #contents-inner, #contents-box { width: 100%; }
  input, textarea { width: 200px; }
  img { max-width: 100%; height: auto; }
}