/* ========================
General
======================== */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

img {
  max-width: 100%;
  height: auto;
}

a,
a:hover {
  color: #000000;
}

/* ========================
Header
======================== */

header {
  padding: 1.5vw 2vw;
}

header a {
  color: #000000;
}

header .navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 1em 0;
}

@media screen and (max-width: 768px) {
  header .navigation {
    display: block;
  }
}

header .navigation .logo {
  text-align: center;
}

header .navigation .logo img {
  width: 120px;
  height: 120px;
}

@media screen and (min-width: 600px) {
  header .navigation .logo img {
    width: 16vw;
    height: 16vw;
  }
}

@media screen and (min-width: 992px) {
  header .navigation .logo img {
    width: 12vw;
    height: 12vw;
  }
}

@media screen and (min-width: 1200px) {
  header .navigation .logo img {
    width: 11vw;
    height: 11vw;
  }
}

@media screen and (min-width: 1400px) {
  header .navigation .logo img {
    width: 10vw;
    height: 10vw;
  }
}

@media screen and (min-width: 1800px) {
  header .navigation .logo img {
    width: 9vw;
    height: 9vw;
  }
}

header .navigation nav {
  border-bottom: solid 1px #000000;
  width: 40%;
}

@media screen and (max-width: 768px) {
  header .navigation nav {
    display: none;
  }
}

header .navigation nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .navigation nav ul li {
  display: inline;
  margin-left: 1.2em;
  margin-right: 1.2em;
}

header nav a {
  color: #000000;
  text-decoration: none;
  padding: 20px 0;
  display: inline-block;
}

/* ========================
Header - Mobile Navigation Toggle 
======================== */

.mobile-nav-toggle {
  display: block;
  position: absolute;
  top: 42px;
  right: 15px;
  cursor: pointer;
  z-index: 999999;
}

.mobile-nav-toggle span {
  display: block;
  width: 40px;
  height: 4px;
  background-color: #001f3f;
  margin: 9px 0;
}

@media screen and (min-width: 768px) {
  .mobile-nav-toggle {
    display: none;
  }
}

.mobile-navigation {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 99999;
}

.mobile-navigation nav {
  display: block;
  padding: 2em;
}

.mobile-navigation nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.mobile-navigation nav ul li {
  margin: 1em 0;
}

.mobile-navigation nav a {
  color: #000000;
  text-decoration: none;
}

.mobile-navigation.show {
  display: block;
}

/* ========================
Fonts and typography
======================== */

html,
body {
  font-family: 'Yu Gothic UI', '游ゴシック', 'YuGothic', sans-serif;
  font-size: 1.1vw;
  line-height: 1.4;
}

@media screen and (max-width: 1800px) {

  html,
  body {
    font-size: 1.2vw;
    line-height: 1.4;
  }
}

@media screen and (max-width: 1400px) {

  html,
  body {
    font-size: 1.6vw;
    line-height: 1.6;
  }
}

@media screen and (max-width: 1200px) {

  html,
  body {
    font-size: 1.7vw;

  }
}


@media screen and (max-width: 768px) {

  html,
  body {
    font-size: 1.2em;

  }
}

@media screen and (max-width: 660px) {

  html,
  body {
    font-size: 1.1em;

  }
}

@media screen and (max-width: 550px) {

  html,
  body {
    font-size: 1em;

  }
}

@media screen and (max-width: 390px) {

  html,
  body {
    font-size: 0.95em;

  }
}

.text-heading {
  font-family: 'Yu Mincho', '游明朝', 'YuMincho', serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Yu Mincho', '游明朝', 'YuMincho', serif;
}

.text-english {
  font-family: 'Times New Roman', Times, 'serif';
}

/* ========================
Background
======================== */
html,
body {
  background-image: url('../img/bg-paper-lg.png');
  background-repeat: repeat-y;
  background-size: 100% auto;
}

/*
header {
  background-image: url('../img/bg-paper-lg.png');
  background-repeat: no-repeat;
  background-size: cover;
}

.page-template-template_contact,
.page-template-template_news,
.single-post {
  background-image: url('../img/bg-paper-lg.png');
  background-repeat: no-repeat;
  background-size: cover;
}

.page-template-template_contact header,
.page-template-template_news header,
.single-post header {
  background: none;
  background-size: cover;
}
*/

/* ========================
Background-colors
======================== */

.bg-navy {
  background-color: #001f3f;
}

.bg-logo {
  background-image: url('../img/bg-kagura.svg');
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 30% auto;
}

@media screen and (max-width: 992px) {
  .bg-logo {
    background-size: 50% auto;
  }
}

/* ========================
Background Transparent Overlays 
======================== */

.navy-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 31, 63, 0.5);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.navy-overlay h1,
.navy-overlay h2,
.navy-overlay h3,
.navy-overlay h4,
.navy-overlay h5,
.navy-overlay h6,
.navy-overlay p,
.navy-overlay span {
  color: #ffffff;
  text-align: center;
}

/* ========================
Buttons lg 
======================== */

.btn-lg-navy {
  background-color: #001f3f;
  color: #ffffff;
  padding: 1.6em 2em;
  text-decoration: none;
  border: solid 1px #ffffff;
  width: 100%;
  display: inline-block;
  text-align: center;
  position: relative;
  transition: all 0.65s;
}

.btn-lg-navy:hover {
  background-color: #000000;
  color: #ffffff;
}

.btn-lg-navy::before {
  content: '';
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 20%;
  height: 1px;
  background-color: #ffffff;
  z-index: 9999;
}


.btn-wide-navy {
  background-color: #001f3f;
  color: #ffffff;
  padding: 0.75em 6em;
  text-decoration: none;
  border: solid 1px #ffffff;
  width: auto;
  display: inline-block;
  text-align: center;
  position: relative;
  transition: all 0.65s;
}

.btn-wide-navy:hover {
  background-color: #000000;
  color: #ffffff;
}

.btn-wide-navy::before {
  content: '';
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
  width: 20%;
  height: 1px;
  background-color: #ffffff;
  z-index: 9999;
}

.btn-navy {
  background-color: #001f3f;
  color: #ffffff;
  padding: 1em 4.6em;
  text-decoration: none;
  border: solid 1px #ffffff;
  width: auto;
  display: inline-block;
  text-align: center;
  position: relative;
  transition: all 0.65s;
}

.btn-navy:hover {
  background-color: #000000;
  color: #ffffff;
}

/* ========================
Text-colors
======================== */

.text-white {
  color: #ffffff;
}

.text-navy {
  color: #162344;
}

/* ========================
Japanese right to left, top to bottom text
======================== */

.vertical-rl {
  writing-mode: vertical-rl;
  /* For IE */
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

.vertical-rl h3 {
  margin-right: 0;
}

@media screen and (max-width: 768px) {
  .vertical-rl h3 {
    margin-right: 20px;
  }
}

.vertical-lr {
  writing-mode: vertical-lr;
  /* For IE */
  -webkit-writing-mode: vertical-lr;
  -ms-writing-mode: vertical-lr;
  writing-mode: vertical-lr;
}

.vertical-lr h3 {
  margin-left: 0;
}

/* ========================
Vertical Button 
======================== */

.vertical-btn {
  position: absolute;
  bottom: 75px;
  left: 0;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 2.5em 0.5em;
  background-color: #001f3f;
  color: #ffffff;
  text-decoration: none;
  border: solid 1px #ffffff;
}

.vertical-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(50% - 1px);
  width: 1px;
  height: 18%;
  background-color: #ffffff;
  z-index: -1;
}

@media screen and (max-width: 768px) {
  .vertical-btn {
    left: 15px;
  }
}

/* ========================
Section
======================== */

section {
  padding: 0 10vw;
  position: relative;
}

@media screen and (max-width: 992px) {
  section {
    padding: 0 30px;
  }
}

@media screen and (max-width: 768px) {
  section {
    padding: 0;
  }
}

/* ========================
Footer 
======================== */

footer {
  background-color: #001f3f;
  color: #ffffff;
  padding: 5vw 2vw;
}

footer a {
  color: #ffffff;
  text-decoration: none;
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  background-color: #001D30;
  color: #ffffff;
  padding: 3vw 4vw;
  margin-top: 40px;
}

.footer-bottom a {
  text-decoration: none;
  color: #ffffff;
}

.footer-bottom a:hover {
  color: #ffffff;
  text-decoration: underline;
}

footer .logo img {
  width: 120px;
  height: 120px;
  margin-top: 5vw;
}

footer hr {
  border-color: #ffffff;
  opacity: 1;
}

footer .btn-lg-navy {
  padding: 0.9em 2em;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* ========================
Contact Form
======================== */

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 1em;
  margin: 0em 0;
  border: solid 1px #B5B5B5;
}

.contact-form textarea {
  height: 200px;
}

.contact-form input[type="checkbox"] {
  border-color: #B5B5B5;
  border-radius: 0;
}

.contact-form input[type="submit"] {
  background-color: #001f3f;
  color: #ffffff;
  padding: 1em 2em;
  border: solid 1px #ffffff;
  cursor: pointer;
}

.contact-form input[type="submit"]:hover {
  background-color: #000000;
}

/* ========================
Google Maps
======================== */

.google-map iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

/* ========================
Grey Block
======================== */

.block-grey {
  background-color: #f5f5f5;
  color: #000000;
  padding: 20px 25px;
  display: inline-block;
  width: auto;
  height: auto;
  border: solid 1px #555555;
  margin-top: 20px;
}

/* ========================
Table
======================== */

.table {
  border-color: #000000;
  opacity: 1;
}

/* wpcf7 spinner */

.wpcf7-spinner {
  display: block !important;
}

/* ========================
Mater Slider
======================== */

.ms-bar {
  display: none;
}

/* ========================
Google ReCaptcha
======================== */

.grecaptcha-badge { visibility: hidden; }