@charset "UTF-8";
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, dialog, figure, footer, header,
hgroup, menu, nav, section,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

article, aside, dialog, figure, footer, header,
hgroup, nav, section {
  display: block;
}

ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

img {
  border: none;
  vertical-align: bottom;
}

a {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted #000;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  font-size: 0;
  clear: both;
  visibility: hidden;
}

.clearfix {
  display: inline-block;
}

/* Hides from IE Mac \*/
* html .clearfix {
  height: 1%;
}

.clearfix {
  display: block;
}

/* End Hack */
/* ************************************
 *
 * SCSS Media Queries Mixins
 * 
 * Aauthor   : Ryuichi Nonaka
 * Version   : 0.4.0
 * Copyright : 2012 Ryuichi Nonaka
 * Date      : 2012/11/16
 *
 * Released under the MIT license
 *
 *********************************** */
/* ************************************
 *
 * Device Width 
 * Initialize variables
 *
 *********************************** */
/* ************************************
 *
 * Browser Prefix 
 * Initialize variables
 *
 *********************************** */
/* ************************************
 *
 * Return ratio
 * Initialize variables
 * @param $prefix prefix type
 * @param $ratio device ratio
 *
 *********************************** */
/* ************************************
 *
 * Mobile Device mixin
 * @param $orientation Direction of a device
 * @param $version [old|modern|future|any] The version of a device
 * @param $add_orientation boolean [true|false] add orientation attribute
 *
 * old    : iPhone 3G or 3GS.
 * modern : iPhone 4 or 4S.
 * future : iPhone 5.
 * any    : All version.
 *
 *********************************** */
/* ************************************
 *
 * Tablet Device mixin
 * @param $orientation Direction of a device
 * @param $version [old|modern|any] The version of a device
 * @param $add_orientation boolean [true|false] add orientation attribute
 *
 * old    : iPad 1 or 2 or mini.
 * modern : new iPad (3).
 * any    : All version.
 *
 *********************************** */
/* ************************************
 *
 * Desctop Device mixin
 * @param $size Direction of a device
 * @param $version [modern|future|any] The version of a device
 *
 * Version modern ---------------------
 * narrow  : max width 1024.
 * modern  : max width 1280.
 * wide    : max width 1600.
 * hd      : max width 1920.
 * over    : width 1920 over.
 * ratio   : 1.0
 *
 * Version future ---------------------
 * modern : max width 1280.
 * wide   : max width 1440.
 * ratio  : 2.0
 *
 *********************************** */
/* ************************************
 *
 * Custom Device mixin
 * @param $min_width number(px) Minimum device size
 * @param $max_width number(px) Maximum device size
 * @param $pixel_ratio number Device px ratio
 * @param $add_orientation boolean [true|false] add orientation attribute
 *
 *********************************** */
body {
  background: url(../img/bgimage.jpg);
  -webkit-background-size: 100px auto;
  -moz-background-size: 100px auto;
  -o-background-size: 100px auto;
  background-size: 100px auto;
  font-size: 88%;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  color: #555;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: #555;
}
a:hover {
  color: #286bb4;
}

#wrap {
  width: 800px;
  margin: 0 auto;
}

header {
  background: url(../img/line01.png) center bottom no-repeat;
  -webkit-background-size: 580px auto;
  -moz-background-size: 580px auto;
  -o-background-size: 580px auto;
  background-size: 580px auto;
  padding-top: 50px;
  padding-bottom: 34px;
  margin-bottom: 30px;
}
header h1 {
  text-indent: -9999px;
  background: url(../img/logo01_1.png) no-repeat;
  -webkit-background-size: 154px auto;
  -moz-background-size: 154px auto;
  -o-background-size: 154px auto;
  background-size: 154px auto;
  width: 154px;
  height: 180px;
  margin: 0 auto;
}
header a {
  display: block;
  height: 215px;
}

article {
  margin-bottom: 50px;
}
article h2 {
  background: url(../img/line02.png) left bottom no-repeat;
  -webkit-background-size: 350px auto;
  -moz-background-size: 350px auto;
  -o-background-size: 350px auto;
  background-size: 350px auto;
  padding: 0 0 3px 21px;
  font-weight: normal;
  font-size: 113%;
  margin: 15px 0 5px 0;
}
article h2 + p, article h2 + ul, article h2 + dl, article h2 + address {
  margin-left: 40px;
}

.nml {
  font-style: normal;
}

dl dd {
  font-size: 82%;
  margin-left: 20px;
  margin-bottom: 10px;
}

#comment p, #mb_comment p {
  margin-left: 40px;
  margin-bottom: 10px;
  line-height: 1.3;
  font-size: 82%;
}

#mb_comment {
  display: none;
}

#left, #right {
  width: 380px;
  padding-left: 20px;
}

#left {
  float: left;
}

#right {
  float: right;
}

/*p#link,#formWrap p#link {
	clear: both;
	display: block;
	width: 6em;
	text-align: center;
 	margin:$m_auto;
	margin-bottom: 30px;
	background: url(../img/logo02.png) center top no-repeat;
 	@include background-size(52px auto);
 & a {
 display:block;
 padding-top:53px;
}
}*/
.noMargin {
  margin-top: 0;
}

footer {
  text-align: center;
  margin-bottom: 25px;
  background: url(../img/logo02.png) center top no-repeat;
  -webkit-background-size: 52px auto;
  -moz-background-size: 52px auto;
  -o-background-size: 52px auto;
  background-size: 52px auto;
  padding-top: 53px;
}
footer span {
  display: inline-block;
  width: 20px;
  height: 22px;
  text-indent: -9999px;
  background: url(../img/logo03.png) left top no-repeat;
  -webkit-background-size: 21px auto;
  -moz-background-size: 21px auto;
  -o-background-size: 21px auto;
  background-size: 21px auto;
}

/* form */
#mb_contact {
  display: none;
}

#mailpage #formWrap {
  padding-top: 0;
}

#formWrap {
  background: url(../img/line01.png) center top no-repeat;
  -webkit-background-size: 580px auto;
  -moz-background-size: 580px auto;
  -o-background-size: 580px auto;
  background-size: 580px auto;
  padding-top: 60px;
  width: 566px;
  margin: 0 auto 50px;
  color: #555;
  line-height: 120%;
  font-size: 100%;
}
#formWrap p {
  margin: 0 0 5px 0px;
}

#mailForm h2 {
  padding-bottom: 5px;
}

#home #formWrap h1 {
  background: url(../img/line02.png) left bottom no-repeat;
  -webkit-background-size: 350px auto;
  -moz-background-size: 350px auto;
  -o-background-size: 350px auto;
  background-size: 350px auto;
  padding: 0 0 3px 21px;
  font-size: 113%;
  font-weight: normal;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

table.formTable {
  width: 100%;
  margin: 0 auto 10px;
  border-collapse: collapse;
}

table.formTable td, table.formTable th {
  border: 1px solid #ccc;
  padding: 10px;
}

table.formTable th {
  width: 30%;
  font-weight: normal;
  background: #efefef;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

p.error_messe {
  margin: 5px 0;
  color: red;
}

.ind {
  color: #F00;
  font-size: 63%;
}

textarea {
  width: 80%;
}

.gotoTop {
  padding-top: 10px;
}
.gotoTop a {
  background: url(../img/gotoTop.png) left 2px no-repeat;
  -webkit-background-size: 10px auto;
  -moz-background-size: 10px auto;
  -o-background-size: 10px auto;
  background-size: 10px auto;
  float: right;
  display: block;
  width: 5em;
  padding-left: 11px;
  font-size: 88%;
}
.gotoTop a:hover {
  background: url(../img/gotoTop_on.png) left 2px no-repeat;
  -webkit-background-size: 10px auto;
  -moz-background-size: 10px auto;
  -o-background-size: 10px auto;
  background-size: 10px auto;
}

#mb_gotoTop {
  display: none;
}

/* form design */
.btn {
  background-color: transparent;
  color: #555;
  -webkit-box-shadow: inset -1px -1px 1px rgba(0, 0, 0, 0.2), inset 2px 2px 1px white;
  -moz-box-shadow: inset -1px -1px 1px rgba(0, 0, 0, 0.2), inset 2px 2px 1px white;
  box-shadow: inset -1px -1px 1px rgba(0, 0, 0, 0.2), inset 2px 2px 1px white;
  border-top: 1px solid #BBB;
  border-left: 1px solid #BBB;
  border-right: 1px solid #FFF;
  border-bottom: 1px solid #FFF;
  min-width: 80px;
  padding: 7px 5px;
  margin-left: 0;
}

input[type="text"], textarea {
  padding: 3px;
  background-color: rgba(255, 255, 255, 0.5);
  /*@include border-radius(2px);
  border:1px solid #ccc;*/
  border: none;
  border-bottom: solid 1px #b6d2f1;
}

select {
  background-color: rgba(255, 255, 255, 0.5);
  color: #555;
  padding: 1px;
  border: none;
  border-bottom: solid 1px #b6d2f1;
}

input[type="text"]:focus, textarea:focus, select:focus {
  background-color: #fff;
  border-bottom: solid 1px #286bb4;
  outline: none;
}

/* mail.php*/
#mailpage #formWrap {
  background: none;
}

#back {
  margin-top: 30px;
}

#wrap.thx {
  width: 60%;
  margin: 0 auto;
}

.button {
  text-align: center;
}

.button .btn {
  margin-right: 50px;
  margin-left: 50px;
  margin-top: 20px;
}

p#link {
  margin-bottom: 30px;
}

#mailpage #link a {
  padding: 5px 30px;
  background: rgba(200, 200, 200, 0.4);
  color: #555;
}
#mailpage #link a:hover {
  color: #fff;
  background: rgba(40, 107, 180, 0.5);
}

/* media querys */
@media only screen and (max-width: 768px) {
  #wrap {
    width: 90%;
  }

  header {
    background: url(../img/line01.png) center bottom no-repeat;
    -webkit-background-size: 580px auto;
    -moz-background-size: 580px auto;
    -o-background-size: 580px auto;
    background-size: 580px auto;
    padding-top: 30px;
    padding-bottom: 34px;
    margin-bottom: 30px;
  }

  article {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  #left, #right {
    float: none;
    width: 100%;
    padding-left: 30px;
  }

  #left {
    background: url(../img/line01.png) center bottom no-repeat;
    -webkit-background-size: 290px auto;
    -moz-background-size: 290px auto;
    -o-background-size: 290px auto;
    background-size: 290px auto;
    padding-bottom: 44px;
    margin-bottom: 40px;
  }

  #mb_gotoTop {
    display: block;
  }

  #formWrap {
    width: 80%;
  }

  textarea {
    width: 100%;
    max-width: 300px;
  }

  p#link {
    margin-bottom: 0px;
  }
}
@media only screen and (max-width: 320px) {
  body {
    font-size: 75%;
  }

  #wrap {
    width: 80%;
  }

  article {
    width: 100%;
    margin-bottom: 30px;
  }
  article h2 + p, article h2 + ul, article h2 + dl, article h2 + address {
    margin-left: 22px;
  }

  #mb_comment p {
    margin-left: 22px;
  }

  #formWrap {
    background: url(../img/line01.png) center top no-repeat;
    -webkit-background-size: 290px auto;
    -moz-background-size: 290px auto;
    -o-background-size: 290px auto;
    background-size: 290px auto;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }

  #mailpage #formWrap {
    width: 80%;
  }

  header {
    background: url(../img/line01.png) center bottom no-repeat;
    -webkit-background-size: 290px auto;
    -moz-background-size: 290px auto;
    -o-background-size: 290px auto;
    background-size: 290px auto;
  }
  header h1 {
    text-indent: -9999px;
    background: url(../img/logo01_1.png) no-repeat;
    -webkit-background-size: 91px auto;
    -moz-background-size: 91px auto;
    -o-background-size: 91px auto;
    background-size: 91px auto;
    width: 91px;
    height: 107px;
    margin: 0 auto;
  }

  #comment {
    display: none;
  }

  #mb_comment {
    display: block;
  }

  #left, #right {
    float: none;
    width: 100%;
    padding-left: 0;
  }

  #left {
    background: url(../img/line01.png) center bottom no-repeat;
    -webkit-background-size: 290px auto;
    -moz-background-size: 290px auto;
    -o-background-size: 290px auto;
    background-size: 290px auto;
    padding-bottom: 44px;
    margin-bottom: 40px;
  }

  p#link {
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
  }

  #pc_contact {
    display: none;
  }

  #mb_contact {
    display: block;
  }
  #mb_contact p {
    margin-bottom: 10px;
  }

  textarea {
    width: 100%;
  }

  #wrap.thx {
    width: 80%;
  }

  p#link {
    width: 100%;
  }
}
