@charset "UTF-8";

/* Global */

@import url("http://fonts.googleapis.com/earlyaccess/notosansjapanese.css");

@font-face {
  font-family: Univers57Obl;
  src: url(/font/Univers57Obl.eot), url(/font/Univers57Obl.woff);

  font-family: Univers55;
  src: url(/font/Univers55.eot), url(/font/Univers55.woff);
}

* {
  font-family: "Univers55","Noto Sans Japanese";
}

body {
  background-color: #fff;
  font-size: 10px;
  color: #242424;
}

br.sp {
  display: none;
}

@media (max-width:480px) {
  br.sp {
    display: block;
  }
}

/* Common */

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 80px;
  background-color: rgba(255,255,255,0.95);
}

#header-inside {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
}

#site-logo {
  float: left;
  width: 267px;
}

#site-logo img {
  width: auto;
  height: 80px;
}

#header-menu {
  float: left;
  height: 80px;
}

@media (max-width:767px) {
  #header-menu {
    display: none;
  }
}

#header-menu ul {
  display: block;
  overflow: hidden;
  height: 80px;
  margin-left: 20px;
}

#header-menu li {
  display: table;
  float: left;
  height: 80px;
}

#header-menu li a {
  display: table-cell;
  padding: 8px 20px 0 20px;
  font-size: 0.9rem;
  -webkit-font-smoothing: subpixel-antialiased;
  vertical-align: middle;
  color: #242424;
}

#header-menu li a:hover {
  background-color: #000;
  color: #fff;
}

#header-menu li a.disable {
  display: none;
}

#header-menu li a.active {
  display: block;
}

#header-login-menu {
  float: right;
  height: 80px;
}

@media (max-width:767px) {
  #header-login-menu {
    display: none;
  }
}

#header-login-menu ul {
  display: block;
  overflow: hidden;
  height: 80px;
  margin-left: 20px;
}

#header-login-menu li {
  display: table;
  float: left;
  height: 80px;
}

#header-login-menu li.member,
#header-login-menu li.logined {
  display: none;
}

#header-login-menu li a {
  display: table-cell;
  padding: 8px 20px 0 20px;
  font-size: 0.9rem;
  -webkit-font-smoothing: subpixel-antialiased;
  vertical-align: middle;
  color: #f00;
}

#header-login-menu li a:hover {
  background-color: #000;
  color: #fff;
}

#main-visual {
  width: 100%;
  height: 750px;
  background-size: cover;
  background-position: center center;
  background-color: #000;
}

#main-visual.top {
  background-image: url("/img/main-visual.jpg");
}

#main-visual.tournament {
  background-image: url("/tournament/img/main-visual.jpg");
}

#main-visual.registration {
  background-image: url("/registration/img/main-visual.jpg");
}

#main-visual.about {
  background-image: url("/about/img/main-visual.jpg");
}

#main-visual-inside {
  display: table;
  width: 100%;
  max-width: 980px;
  height: 650px;
  margin: 0 auto;
}

#main-visual-inside > div {
  display: table-row;
}

#main-visual-inside h1 {
  display: table-cell;
  height: 64%;
  vertical-align: bottom;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
}

#main-visual-inside p {
  display: table-cell;
  height: 36%;
  vertical-align: top;
  font-size: 2rem;
  color: #fff;
}

@media (max-width:980px) {
  #main-visual-inside {
    padding: 0 20px;
  }
}

@media (max-width:767px) {
  #main-visual {
    height: 400px;
  }

  #main-visual-inside {
    height: 400px;
    padding: 0 20px;
  }

  #main-visual-inside h1 {
    height: 60%;
    font-size: 1.5rem;
  }
  
  #main-visual-inside p {
    height: 40%;
    font-size: 1.5rem;
  }

}

#main-contents {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 50px 0;
  background-color: #fff;
}

#main-contents h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: -0.05rem;
}

#main-contents p.section-lead {
  margin-bottom: 20px;
  font-size: 1.4rem;
  line-height: 2rem;
  letter-spacing: -0.05rem;
}

#main-contents p.section-lead .alert {
  color: #f00;
}

@media (max-width:980px) {
  #main-contents {
    padding-left: 20px;
    padding-right: 20px;
  }
}  

@media (max-width:767px) {
  #main-contents {
    padding: 30px 20px;
  }
  
  #main-contents h2 {
    margin-bottom: 15px;
    font-size: 1.2rem;
  }
  
  #main-contents p.section-lead {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.4rem;
  }
}

footer {
  width: 100%;
  background-color: #e50000;
}

#footer-inside {
  display: table;
  width: 100%;
  max-width: 980px;
  height: 60px;
  margin: 0 auto;
}

#footer-logo {
  display: table-cell;
  vertical-align: middle;
}

#footer-logo img {
  width: auto;
  height: 40px;
}

#copyright {
  display: table-cell;
  font-size: 0.8rem;
  text-align: right;
  vertical-align: middle;
  -webkit-font-smoothing: subpixel-antialiased;
  color: #fff;
}

@media (max-width:980px) {
  #footer-logo {
    padding-left: 15px;
  }

  #copyright {
    padding-right: 20px;
  }
}  

@media (max-width:767px) {
  #copyright {
    font-size: 0.6rem;
  }
}

/* Menu SP */

#header-menu-sp-button {
  display: none;
  position: absolute;
  top: 28px;
  right: 16px;
  z-index: 20000;
  cursor: pointer;
}

#header-menu-sp-button span {
	display: inline-block;
	transition: all .4s;
	box-sizing: border-box;
}

@media (max-width:767px) {
  #header-menu-sp-button {
    display: block;
  }
}

#header-menu-sp-button {
	width: 40px;
	height: 24px;
}

#header-menu-sp-button span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 4px;
	background-color: #000;
	border-radius: 4px;
}

#header-menu-sp-button span:nth-of-type(1) {
	top: 0;
}

#header-menu-sp-button span:nth-of-type(2) {
	top: 10px;
}

#header-menu-sp-button span:nth-of-type(3) {
	bottom: 0;
}

#header-menu-sp-button.active span:nth-of-type(1) {
	-webkit-transform: translateY(10px) rotate(-45deg);
	transform: translateY(10px) rotate(-45deg);
}
#header-menu-sp-button.active span:nth-of-type(2) {
	opacity: 0;
}
#header-menu-sp-button.active span:nth-of-type(3) {
	-webkit-transform: translateY(-10px) rotate(45deg);
	transform: translateY(-10px) rotate(45deg);
}

.open {
  -webkit-animation: open .3s linear;
  -moz-animation: open .3s linear;
  -ms-animation: open .3s linear;
  -o-animation: open .3s linear;
  animation: open .3s linear;
}

@-webkit-keyframes open {
	0% { top: -800px; }
	100% { top: 60px; }
}
@-moz-keyframes open {
	0% { top: -800px; }
	100% { top: 60px; }
}
@-ms-keyframes open {
	0% { top: -800px; }
	100% { top: 60px; }
}
@-o-keyframes open {
	0% { top: -800px; }
	100% { top: 60px; }
}
@keyframes open {
	0% { top: -800px; }
	100% { top: 60px; }
}

#header-menu-sp {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  z-index: 100;
  width: 100%;
  background-color: rgba(255,255,255,0.95);
}

#header-menu-sp li {
  list-style: none;
  width: 100%;
  height: 40px;
  border-bottom: 1px solid #000;
}

#header-menu-sp li.member,
#header-menu-sp li.logined {
  display: none;
}

#header-menu-sp li a {
  display: block;
  width: 100%;
  margin: 1.4rem;
  font-size: 1.3rem;
  line-height: 1.5rem;
  color: #000;
}

/* Contact */

#contact-form {
  margin-top: 30px;
}

#contact-form.success {
  display: none;
}

#contact-form.success {
  display: none;
}

.contact-form {
  width: 100%;
  margin-bottom: 30px;
}

.contact-form input,
.contact-form button {
  width: 500px;
  border: 1px solid #000;
  padding: 10px;
  font-size: 0.8rem;
}

.contact-form textarea {
  width: 500px;
  height: 200px;
  border: 1px solid #000;
  padding: 10px;
  font-size: 0.8rem;
}

#contact-form.confirm .contact-form input[type="text"],
#contact-form.confirm .contact-form textarea {
  color: #666;
}

.contact-form input[type="submit"],
.contact-form button {
  width: 160px;
  height: 2.25rem;
  margin: 0.375rem 0;
  background-color: transparent;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.25rem;
  text-align: center;
  -webkit-appearance: none;
}

.contact-form input[type="submit"]:hover,
.contact-form button:hover {
  background-color: #000;
  color: #fff;
  cursor: pointer;
}

.contact-form p {
  margin-top: 10px;
  font-size: 1rem;
  color: #f00;
}

.contact-form-link {
  margin-bottom: 50px;
  font-size: 1.3rem;
  line-height: 1.8rem;
  letter-spacing: -0.05rem;
}

.contact-form-link a {
  text-decoration: underline;
  color: #000;
}

.contact-form-link a:hover {
  color: #666;
}

.contact-form-link a:nth-child(2) {
  display: none;
}

.contact-form-link.success a:nth-child(1) {
  display: none;
}

.contact-form-link.success a:nth-child(2) {
  display: block;
}

#contact-error {
  font-size: 1.2rem;
  color: #f00;
}

#contact-sent {
  font-size: 1.2rem;
}

#contact-error a {
  color: #000;
}

#contact-error a:hover {
  text-decoration: underline;
}

@media (max-width:767px) {
  #contact-form {
    margin-top: 20px;
  }
  
  .contact-form {
    margin-bottom: 20px;
  }
  
  .contact-form input,
  .contact-form button {
    width: 100%;
    padding: 8px;
    font-size: 0.6rem;
  }
  
  .contact-form p {
    margin-top: 5px;
    font-size: 0.6rem;
  }

  .contact-form-link {
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.3rem;
  }
  
  .contact-form textarea {
    width: 100%;
    height: 100px;
    padding: 8px;
    font-size: 0.6rem;
  }
  
  .contact-form input[type="submit"],
  .contact-form button {
    width: 130px;
    height: 2rem;
    margin: 0.30rem 0;
    font-size: 0.8rem;
    line-height: 1.1rem;
  }
  
  #contact-error {
    font-size: 1rem;
  }
  
  #contact-sent {
    font-size: 1rem;
  }
}

/* My Page */

#profile-img {
  margin-top: 20px;
}

#profile-img img {
  width: 100px;
  height: auto;
}

#profile-img-title {
  margin-top: 0;
  color: #000;
}