/* ------------------------------
 common - width: all
------------------------------ */
/**
* YUI 3.5.0 - reset.css (http://developer.yahoo.com/yui/3/cssreset/)
* http://cssreset.com
* Copyright 2012 Yahoo! Inc. All rights reserved.
* http://yuilibrary.com/license/
*/
/*
TODO will need to remove settings on HTML since we can't namespace it.
TODO with the prefix, should I group by selector or property for weight savings?
*/
html {
  color: #000;
  background: #FFF;
  font-family: a-otf-gothic-bbb-pr6n, sans-serif;
  font-weight: 400;
  font-style: normal;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  font-size: 100%;
}

/*
TODO remove settings on BODY since we can't namespace it.
*/
/*
TODO test putting a class on HEAD.
- Fails on FF.
*/
main,
article,
section {
  display: block;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

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

fieldset,
img {
  border: 0;
}

/*
TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
*/
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

caption,
th {
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

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

abbr,
acronym {
  border: 0;
  font-variant: normal;
}

/* to preserve line-height and selector appearance */
sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

/*to enable resizing for IE*/
input,
textarea,
select {
  *font-size: 100%;
}

/*because legend doesn't inherit in IE */
legend {
  color: #000;
}

/* YUI CSS Detection Stamp */
#yui3-css-stamp.cssreset {
  display: none;
}

.cf:after {
  content: "";
  clear: both;
  display: block;
}

a:hover {
  opacity: 0.6;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

.op {
  display: block !important;
}

.os {
  display: none !important;
}

* {
  letter-spacing: 0.5px;
}

.font01 {
  font-family: a-otf-midashi-go-mb31-pr6n, sans-serif !important;
}

/* ------------------------------
 common - width all
------------------------------ */
html,
body {
  min-width: 1160px;
}

.svg {
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

header {
  height: 90px;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100000;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

header .logo02 {
  width: 256px;
  display: block;
  position: fixed;
  top: 25px;
  left: 70px;
  display: none;
}

header .logo02 img {
  width: 100%;
  display: block;
}

header .menubox {
  text-align: right;
  position: fixed;
  top: 40px;
  right: 65px;
  z-index: 10000;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

header .menubox a {
  width: 20px;
  display: inline-block;
  vertical-align: top;
  margin-left: 7px;
}

header .menubox a img {
  width: 100%;
  display: block;
}

header .menubox a.sns03 {
  padding-top: 2px;
}

header .menubox .icon_ham {
  width: 50px;
  display: inline-block;
  vertical-align: top;
  margin-left: 15px;
}

header .menubox .icon_ham:hover {
  opacity: .6;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
  cursor: pointer;
}

header.fixed_header {
  background-color: #0b1530;
}

header.fixed_header .menubox {
  top: 25px;
}

header .spmenu {
  background-color: #0b1530;
  position: fixed;
  z-index: 100000;
  top: 90px;
  right: 0;
  padding: 30px 0;
  width: 300px;
  display: none;
}

header .spmenu ul {
  text-align: center;
}

header .spmenu ul li {
  display: block;
  padding: 10px 0;
}

header .spmenu ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  padding: 0 15px;
}

main .bc {
  width: 1050px;
  margin: 0 auto;
  padding: 18px 0;
  z-index: 1000;
}

main .bc * {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  padding-right: 3px;
}

footer {
  height: 250px;
  background-color: #0b1530;
  padding-top: 75px;
  position: relative;
  z-index: 3;
}

footer .ef1001 {
  opacity: 1 !important;
  -webkit-transform: translate(0, 0) !important;
  -ms-transform: translate(0, 0) !important;
  transform: translate(0, 0) !important;
}

footer .wrapper {
  width: 980px;
  margin: 0 auto;
  -webkit-transform: translate(-1000px, 0);
  -ms-transform: translate(-1000px, 0);
  transform: translate(-1000px, 0);
  opacity: 0;
  -webkit-transition-duration: 1.3s;
  -o-transition-duration: 1.3s;
  transition-duration: 1.3s;
}

footer .wrapper .logo {
  width: 175px;
  display: block;
  float: left;
  padding-top: 3px;
}

footer .wrapper .logo img {
  width: 100%;
  display: block;
}

footer .wrapper .menu {
  width: 355px;
  float: right;
}

footer .wrapper .menu li {
  width: 120px;
  float: left;
  margin-bottom: 17px;
}

footer .wrapper .menu li:nth-child(even) {
  width: 235px;
}

footer .wrapper .menu li a {
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  line-height: 15px;
  display: inline-block;
  letter-spacing: 2px;
}

footer .wrapper .menu li a img {
  height: 10px;
  vertical-align: top;
  margin: 3px 8px 0 0;
}

footer .wrapper .txtbox {
  width: 450px;
  float: left;
  padding-left: 25px;
  color: #FFF;
}

footer .wrapper .txtbox .t01 {
  font-size: 16px;
}

footer .wrapper .txtbox .t02 {
  font-size: 15px;
  line-height: 170%;
  margin-top: 7px;
}

footer .pagetop {
  width: 60px;
  display: block;
  position: absolute;
  top: 95px;
  right: 80px;
}

footer .pagetop img {
  width: 100%;
  display: block;
}

/* ------------------------------
 common - width < $width-1
------------------------------ */
@media screen and (max-width: 800px) {
  html,
  body {
    min-width: 375px;
  }
  .op {
    display: none !important;
  }
  .os {
    display: block !important;
  }
  header {
    height: 50px;
  }
  header .logo02 {
    width: 150px;
    top: 13px;
    left: 20px;
    z-index: 10000;
  }
  header .menubox {
    top: 20px;
    right: 20px;
  }
  header .menubox a {
    width: 20px;
    display: inline-block;
    vertical-align: top;
    margin-left: 7px;
  }
  header .menubox a img {
    width: 100%;
    display: block;
  }
  header .menubox a.sns03 {
    padding-top: 2px;
  }
  header .menubox .icon_ham {
    width: 30px;
    margin-left: 10px;
  }
  header.fixed_header {
    background-color: #0b1530;
  }
  header.fixed_header .menubox {
    top: 15px;
  }
  header .spmenu {
    background-color: #0b1530;
    position: fixed;
    z-index: 100000;
    top: 50px;
    right: 0;
    padding: 20px 0;
    width: 200px;
  }
  header .spmenu ul {
    text-align: center;
  }
  header .spmenu ul li {
    display: block;
    padding: 5px 0;
  }
  header .spmenu ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
  }
  main .bc {
    display: none;
  }
  footer {
    height: 400px;
    padding-top: 55px;
  }
  footer .wrapper {
    width: 335px;
    -webkit-transform: translate(-500px, 0);
    -ms-transform: translate(-500px, 0);
    transform: translate(-500px, 0);
  }
  footer .wrapper .logo {
    width: 115px;
    float: none;
    margin: 0 auto;
  }
  footer .wrapper .menu {
    width: 335px;
    float: none;
    margin: 25px auto 0;
    padding-left: 30px;
  }
  footer .wrapper .menu li {
    width: 50% !important;
    margin-bottom: 7px;
  }
  footer .wrapper .menu li:nth-child(even) {
    width: 215px;
  }
  footer .wrapper .menu li a {
    font-size: 13px;
    line-height: 13px;
    letter-spacing: 1px;
  }
  footer .wrapper .menu li a img {
    height: 10px;
    margin: 3px 5px 0 0;
  }
  footer .wrapper .txtbox {
    width: 100%;
    padding: 0;
    margin-top: 20px;
    text-align: center;
  }
  footer .wrapper .txtbox .t01 {
    font-size: 14px;
  }
  footer .wrapper .txtbox .t02 {
    font-size: 11px;
    line-height: 170%;
    margin-top: 7px;
  }
  footer .pagetop {
    width: 40px;
    top: auto;
    bottom: 30px;
    right: 20px;
  }
}

/* ------------------------------
 width: all
------------------------------ */
header .logo02 {
  display: block !important;
}

header.fixed_header {
  background-color: #0b2327 !important;
}

header .spmenu {
  background-color: #0b2327 !important;
}

main {
  padding-top: 90px;
  background-image: url(../../../images/ag2020/bg_contact.jpg);
}

main section.s01 .wrapper {
  padding: 70px 0 100px;
  width: 900px;
  margin: 0 auto;
}

main section.s01 .wrapper h2 img {
  width: 268px;
  display: block;
  margin: 0 auto;
}

main section.s01 .wrapper .t01 {
  text-align: center;
  font-size: 26px;
  color: #fff;
  margin-top: 45px;
}

main section.s01 .wrapper .t01 span {
  color: #ffd72e;
}

main section.s01 .wrapper .box01 {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  padding: 22px 0 9px;
  margin-top: 55px;
}

main section.s01 .wrapper .box01 label {
  font-size: 28px;
  font-weight: bold;
  color: #ffd72e;
  margin: 0 40px 13px 0;
  display: inline-block;
}

main section.s01 .wrapper .box01 label input {
  width: 24px;
  vertical-align: top;
  height: 24px;
  margin: 10px 7px 0 0;
}

main section.s01 .wrapper table {
  width: 100%;
  margin-top: 50px;
}

main section.s01 .wrapper table tr th {
  width: 145px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  padding-top: 32px;
  vertical-align: top;
}

main section.s01 .wrapper table tr td {
  padding: 15px 0;
}

main section.s01 .wrapper table tr td input {
  display: block !important;
  width: 100% !important;
  height: 60px !important;
  border: none !important;
  background-color: #FFF !important;
  padding: 20px;
  line-height: 20px;
}

main section.s01 .wrapper table tr td p {
  text-align: right;
  font-size: 14px;
  color: #fff;
  margin-top: 10px;
  line-height: 100%;
}

main section.s01 .wrapper table tr td.postcode input {
  width: 300px !important;
}

main section.s01 .wrapper .t02 {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  margin-top: 10px;
}

main section.s01 .wrapper textarea {
  margin-top: 15px;
  width: 100% !important;
  display: block !important;
  height: 330px !important;
  padding: 20px !important;
  line-height: 170%;
}

main section.s01 .wrapper .t03 {
  color: #fff;
  line-height: 170%;
  font-size: 16px;
  margin-top: 20px;
}

main section.s01 .wrapper .submitbtn {
  width: 250px !important;
  height: 60px !important;
  background-image: url(../../../images/ag2020/btn_submit.svg);
  background-size: 100% auto;
  background-position: center center;
  background-repeat: no-repeat;
  font-size: 0;
  border: none !important;
  background-color: transparent !important;
  margin: 50px auto 0;
  display: block !important;
}

main section.s01 .wrapper .submitbtn:hover {
  cursor: pointer;
  opacity: .6;
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

main section.s01 .wrapper .t04 {
  background-color: #072327;
  border: 1px solid #fff;
  font-size: 16px;
  line-height: 170%;
  color: #fff;
  padding: 25px 35px;
  margin-top: 40px;
}

main section.s01 .wrapper .t04 a {
  text-decoration: none;
  color: #fff;
}

footer {
  background-color: #0b2327 !important;
}

/* ------------------------------
 width < $width-1
------------------------------ */
@media screen and (max-width: 800px) {
  main {
    padding-top: 50px;
    background-image: url(../../../images/ag2020/bg_contact.jpg);
  }
  main section.s01 .wrapper {
    padding: 50px 20px;
    width: 100%;
    margin: 0 auto;
  }
  main section.s01 .wrapper h2 img {
    width: 180px;
    display: block;
    margin: 0 auto;
  }
  main section.s01 .wrapper .t01 {
    text-align: center;
    font-size: 16px;
    color: #fff;
    margin-top: 30px;
  }
  main section.s01 .wrapper .t01 span {
    color: #ffd72e;
  }
  main section.s01 .wrapper .box01 {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: 17px 0 9px;
    margin-top: 25px;
  }
  main section.s01 .wrapper .box01 label {
    font-size: 18px;
    font-weight: bold;
    color: #ffd72e;
    margin: 0 20px 9px 0;
    display: inline-block;
  }
  main section.s01 .wrapper .box01 label input {
    width: 16px;
    vertical-align: top;
    height: 16px;
    margin: 7px 4px 0 0;
  }
  main section.s01 .wrapper table {
    width: 100%;
    margin-top: 30px;
  }
  main section.s01 .wrapper table tr th {
    width: 100%;
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    padding: 10px 0;
    vertical-align: top;
  }
  main section.s01 .wrapper table tr td {
    width: 100%;
    display: block;
    padding: 0 0 5px;
  }
  main section.s01 .wrapper table tr td input {
    display: block !important;
    width: 100% !important;
    height: 40px !important;
    border: none !important;
    background-color: #FFF !important;
    padding: 10px 20px;
    line-height: 20px;
  }
  main section.s01 .wrapper table tr td p {
    text-align: right;
    font-size: 12px;
    color: #fff;
    margin-top: 10px;
    line-height: 100%;
  }
  main section.s01 .wrapper table tr td.postcode input {
    width: 300px !important;
  }
  main section.s01 .wrapper .t02 {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    margin-top: 13px;
  }
  main section.s01 .wrapper textarea {
    margin-top: 10px;
    width: 100% !important;
    display: block !important;
    height: 150px !important;
    padding: 10px 20px !important;
    line-height: 170%;
  }
  main section.s01 .wrapper .t03 {
    color: #fff;
    line-height: 170%;
    font-size: 12px;
    margin-top: 13px;
  }
  main section.s01 .wrapper .submitbtn {
    width: 200px !important;
    height: 48px !important;
    background-image: url(../../../images/ag2020/btn_submit.svg);
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    font-size: 0;
    border: none !important;
    background-color: transparent !important;
    margin: 30px auto 0;
    display: block !important;
  }
  main section.s01 .wrapper .submitbtn:hover {
    cursor: pointer;
    opacity: .6;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
  }
  main section.s01 .wrapper .t04 {
    background-color: #0b1530;
    border: 1px solid #fff;
    font-size: 12px;
    line-height: 170%;
    color: #fff;
    padding: 15px 25px;
    margin-top: 30px;
  }
  main section.s01 .wrapper .t04 a {
    text-decoration: none;
    color: #fff;
  }
}
