@charset "utf-8";

html {
  font-size: 0.65em;
  -webkit-text-size-adjust: 100%;
}

* {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
}

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, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
  border: 0;
  font-family: inherit;
  font-style: inherit;
  font-weight: inherit;
  margin: 0;
  outline: 0;
  padding: 0;
  vertical-align: baseline;
}

:focus {
  outline: 0;
}

ol, ul {
  list-style: none;
}

li {
  list-style-type: none;
}

#contents li a {
  display: block;
}

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

caption, th, td {
  font-weight: normal;
  text-align: left;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: "";
}

blockquote, q {
  quotes: """";
}

img {
  border: 0;
  display: block;
  margin: 15px auto;
  max-width: 100%;
  height: auto;
}

a img:hover, span img:hover {
  opacity: 0.5;
  margin: 15px auto;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

.over:hover {
  opacity: 0.7;
}

.webfont {
  font-family: 'Handlee', cursive;
}

body {
  color: #444;
  font-family:
    "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",
    "メイリオ", "ＭＳ Ｐゴシック", sans-serif;
  line-height: 1.5;
  margin: 0 auto;
  padding: 0;
  vertical-align: baseline;
  -webkit-overflow-scrolling: touch;
  border: 0;
  background: transparent;
}

body {
  background: url(images/bg_base.png) repeat 50% 50%;
}

header .topnav a, header .topnav span {
  text-decoration: none;
  color: #1a0dab;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -ms-transition: 0.3s;
  transition: 0.3s;
}

.topnav a:hover {
  opacity: 0.7;
}

#main a {
  text-decoration: underline;
  color: #0000CC;
}

#main a:hover {
  text-decoration: none;
  color: #0000CC;
}

#main a:visited {
  text-decoration: underline;
  color: #609;
}

#sub a, #sub span {
  background: #EFF0E3;
  border-radius: 10px;
  margin: 5px auto;
  text-decoration: none;
  color: #555;
  box-shadow: 0px 0px 1px #CCC;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -ms-transition: 0.3s;
  transition: 0.3s;
}

#sub a:hover, #sub span:hover {
  background: #FCFCFC;
  text-decoration: none;
  color: #666;
}

#sub a:visited, #sub span:visited {
  text-decoration: none;
  color: #609;
}

#sub .tab, .click, .menu-item-has-children, .tab, #fontSize {
  text-decoration: none;
  cursor: pointer;
}

#sub .tab:hover, .flex a, #main .tab:hover {
  text-decoration: none;
}

#main .tab {
  text-decoration: underline;
  cursor: pointer;
  color: #0000CC;
}

.center {
  clear: both;
  text-align: center;
  margin: 0 auto 50px auto;
}

.right {
  clear: both;
  text-align: right;
}

.clear {
  clear: both;
  margin: 0 auto 50px auto;
}

.imgR {
  float: right;
  margin: 5px;
  padding: 5px;
}

.imgL {
  float: left;
  margin: 5px;
  padding: 5px;
}

/* clearfix */
.clearfix:after {
  content: ".";
  display: block;
  visibility: hidden;
  height: 0.1px;
  font-size: 0.1em;
  line-height: 0;
  clear: both;
}

/* Hides from IE-mac \*/
* html .clearfix {
  height: 1%;
}

.clearfix {
  display: block;
}

/* End hide from IE-mac */
header {
  color: #444;
  margin: 0px 0px 30px 0px;
  padding: 10px;
  background: #FFF;
}

h1 {
  font-size: 14px;
  font-size: 1.4rem;
  color: #111;
  font-weight: normal;
  margin: 0px auto;
  padding: 5px 5px 5px 5px;
  text-align: center;
}

#footer {
  clear: both;
  margin: 30px auto 0px auto;
}

#footer .copyright {
  color: #444;
  font-size: 15px;
  font-size: 1.5rem;
  text-align: center;
  padding: 15px;
}

#contents {
  margin: 50px auto;
  text-align: left;
}

.flex {
  font-size: 20px;
  font-size: 2.0rem;
  text-align: center;
  display: block;
  margin: 30px auto 75px auto;
}

.flex div {
  margin: 1%;
  padding: 1%;
  box-shadow: 0px 0px 1px #CCC;
}

#main .flex h4 {
  font-size: 22px;
  font-size: 2.2rem;
  text-align: center;
  padding: 5px;
  font-weight: 100;
  color: #1C6064;
}

#main .flex p {
  text-align: left;
  font-size: 20px;
  font-size: 2.0rem;
  padding: 5px 0px 5px 0px;
  margin: 0px 0px 10px 0px;
  font-weight: 100;
  color: #444;
}

.img_flex {
  display: block;
  margin: 10px auto;
}

#main {
  float: none;
  width: 98%;
  padding: 1%;
  margin: 0px auto;
  overflow: hidden;
}

#main p {
  font-size: 20px;
  font-size: 2.0rem;
  padding: 10px 10px 10px 10px;
  margin: 0px 0px 50px 0px;
}

#main h2 {
  font-size: 22px;
  font-size: 2.2rem;
  color: #222;
  color: #1C6064;
  padding: 5px 0px 5px 0px;
  margin: 15px auto 30px auto;
  font-weight: 100;
  border-top: solid 1px #CCC;
  border-bottom: solid 1px #CCC;
  text-align: center;
}

#main h3 {
  font-size: 22px;
  font-size: 2.2rem;
  color: #1C6064;
  padding: 5px 0px 5px 0px;
  margin: 15px auto 30px auto;
  font-weight: 100;
  border-bottom: solid 1px #CCC;
}

#main h4 {
  font-size: 22px;
  font-size: 2.2rem;
  color: #1C6064;
  padding: 10px 0px 10px 0px;
  margin: 15px 0px 30px 0px;
  font-weight: 100;
}

.em {
  text-decoration: underline;
}

.more a, .more span {
  font-size: 20px;
  font-size: 2.0rem;
  text-align: center;
  margin: 25px auto 50px auto;
  display: block;
  padding: 10px;
  border-bottom: solid 2px #1C6064;
}

.more a:hover, .more span:hover {
  opacity: 0.6;
}

#main .btn span {
  transition: .3s;
  margin: 10px auto 50px auto;
  border-radius: 5px;
  background: #cd1414;
  text-decoration: none;
  padding: 10px 0px;
  text-align: center;
  display: block;
  color: #FFF;
  font-size: 24px;
  text-shadow: 1px 1px 1px #912C1D;
  box-shadow: 0 3px #f7bdb0;
  width: 300px;
}

#main .btn span:hover {
  opacity: .7;
}

#contents article {
  margin: 0 0 50px 0;
  padding: 1%;
  overflow: hidden;
  box-shadow: 0px 0px 1px #999;
  background: #FFF;
  border-radius: 10px;
}

#contents section {
  margin: 0 0 50px 0;
  padding: 1%;
  overflow: hidden;
  box-shadow: 0px 0px 1px #999;
  background: #FFF;
  border-radius: 10px;
}

#sub {
  float: none;
  width: 98%;
  padding: 1%;
  margin: 0 auto;
}

#sub h3 {
  font-size: 20px;
  font-size: 2.0rem;
  font-weight: bold;
  padding: 15px 15px 15px 55px;
  color: #1C6064;
  background: url(images/sub_h3.png)no-repeat 0% 50%, #FCFCFC;
  box-shadow: 0px 0px 3px #CCC;
  border-radius: 10px;
}

#main ul, #sub ul {
  padding: 1%;
  margin: 0 0 50px 0;
}

#main ul li {
  font-size: 20px;
  font-size: 2.0rem;
  border-bottom: dotted 1px #CCC;
  padding: 10px 0 10px 0px;
  text-align: center;
}

#main ul li a {
  text-decoration: none;
}

#main ul li a:hover {
  text-decoration: underline;
}

#sub ul li span, #sub ul li a, footer ul li span, footer ul li a {
  font-size: 20px;
  font-size: 2.0rem;
  display: block;
  padding: 10px 0px 10px 15px;
}

.clear {
  clear: both;
}

.balloon {
  position: relative;
  margin: 1.5em 0;
  padding: 1em;
  color: #333;
  background: #FFF;
  border: solid 3px #ccc;
  border-radius: .5em;
  box-sizing: border-box;
}

.balloon:before {
  content: "";
  position: absolute;
  bottom: -24px;
  left: 50%;
  margin-left: -15px;
  border: 12px solid transparent;
  border-top: 12px solid #FFF;
  z-index: 2;
}

.balloon:after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  margin-left: -17px;
  border: 14px solid transparent;
  border-top: 14px solid #ccc;
  z-index: 1;
}

.bg {
  padding: 1%;
  margin: 0 0 50px 0;
  border: dotted 1px #1EA6A3;
  border-radius: 10px;
}

#main .bg p,
#main .balloon p {
  margin: 0;
  padding: 10px;
}

.pc {
  display: none;
  visibility: hidden;
}

.tablet {
  display: none;
  visibility: hidden;
}

.smart {
  display: block;
  visibility: visible;
}

.topnav ul {
  display: block;
  border-bottom: 1px solid #CCC;
  padding: 10px;
}

.topnav ul ul {
  padding: 0px 0px 0px 0px;
  border: 0;
}

.topnav li {
  font-size: 18px;
  font-size: 1.8rem;
  padding: 10px;
}

.topnav li:first-child {
  border: 0;
}

.topnav li li {
  font-size: 18px;
  font-size: 1.8rem;
  border: 0;
  padding: 0px 5px 0px 5px;
}

nav .sub-menu {
  position: absolute;
  width: 80%;
  background: #FCFCFC;
  border-radius: 10px;
  box-shadow: 0px 0px 1px #999;
  display: none;
}

nav .sub-menu a {
  color: #0000CC;
  padding: 10px 15px;
  display: block;
}

nav .sub-menu a:hover {
  color: #1C6064;
}

nav .menu-item-has-children:hover ul,
nav .menu-item-has-children ul.focused {
  display: block;
}

nav li.menu-item-has-children li a:hover,
nav li.menu-item-has-children li a:focus {
  opacity: 0.7;
}

.follow {
  position: fixed;
  top: 0;
  background: #EFF0E3;
  width: 100%;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -o-transition: 0.3s;
  -ms-transition: 0.3s;
  transition: 0.3s;
}

#fontSizeTop {
  font-size: 18px;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 10px;
}

#fontSizeTop li {
  color: #0000CC;
  padding: 10px;
  border-bottom: dotted 1px #CCC;
}

#fontSizeTop li:hover {
  opacity: 0.6;
}
