@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Open+Sans:wght@400;700&display=swap&subset=japanese");
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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

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

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

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

a img {
  border: none;
}

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

html, body {
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  color: #4d4d4d;
  font-family: 'Open Sans', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  background-color: #ffffff;
  -webkit-text-size-adjust: 100%;
}

::selection {
  color: #ffffff;
  background-color: #380508;
}

a {
  outline: none !important;
  -moz-transition: border 0.4s linear, color 0.4s linear, opacity 0.4s linear, background-color 0.4s linear;
  -o-transition: border 0.4s linear, color 0.4s linear, opacity 0.4s linear, background-color 0.4s linear;
  -webkit-transition: border 0.4s linear, color 0.4s linear, opacity 0.4s linear, background-color 0.4s linear;
  transition: border 0.4s linear, color 0.4s linear, opacity 0.4s linear, background-color 0.4s linear;
}
a:link, a:visited {
  color: #000000;
}
a:hover, a:focus, a:active {
  color: #ff0000;
}

img {
  vertical-align: bottom;
  max-width: 100%;
}

strong {
  font-weight: 700;
}

sup {
  vertical-align: super;
  font-size: 60%;
}

input, button, textarea, select {
  font-size: 16px;
  font-family: 'Varela Round', 'Kosugi Maru', sans-serif;
}

input[type="submit"], input[type="button"], button {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: 0 none;
  outline: none;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  -moz-transition: border 0.4s linear, color 0.4s linear, opacity 0.4s linear, background-color 0.4s linear;
  -o-transition: border 0.4s linear, color 0.4s linear, opacity 0.4s linear, background-color 0.4s linear;
  -webkit-transition: border 0.4s linear, color 0.4s linear, opacity 0.4s linear, background-color 0.4s linear;
  transition: border 0.4s linear, color 0.4s linear, opacity 0.4s linear, background-color 0.4s linear;
}
input[type="submit"]::-webkit-search-decoration, input[type="button"]::-webkit-search-decoration, button::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus, input[type="button"]::focus, button::focus {
  outline-offset: -2px;
}

.textcenter {
  text-align: center;
}

.textright {
  text-align: right;
}

.textleft {
  text-align: left;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

.container {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container::after {
  content: '';
  clear: both;
  display: block;
}

/* Header
---------------------------------------------------------------- */
.header {
  padding: 0.9375rem 0 1.1875rem;
  border-top: solid 0.3125rem #380508;
  border-bottom: solid 1px #005e3c;
  background-color: #ffffff;
}
.header .container {
  display: flex;
  justify-content: space-between;
}
.header .container::after {
  display: none;
}
.header a.logo {
  flex-basis: 20rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: #380508;
  font-weight: 700;
  text-decoration: none;
}
.header a.logo:hover {
  filter: alpha(opacity=60);
  -moz-opacity: 0.6;
  opacity: 0.6;
}
.header a.logo .mark {
  flex-basis: 5.625rem;
}
.header a.logo .type {
  flex-basis: 13.75rem;
}
.header a.logo .type h1 {
  margin-bottom: 0.3125rem;
  font-size: 1.125rem;
}
.header a.logo .type p {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.header ul {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  flex-basis: 18.75rem;
  display: flex;
  height: 3.75rem;
  border-left: dotted 1px rgba(0, 0, 0, 0.3);
}
.header ul li {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  flex-basis: 9.375rem;
  padding: 0 0.3125rem;
  border-right: dotted 1px rgba(0, 0, 0, 0.3);
}
.header ul li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: 0.875rem;
  text-decoration: none;
  letter-spacing: 0.05em;
  -moz-border-radius: 0.3125rem;
  -webkit-border-radius: 0.3125rem;
  border-radius: 0.3125rem;
}
.header ul li a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}
.header ul li a::before {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  content: '';
  flex-basis: 1.25rem;
  width: 100%;
  margin-bottom: 0.4375rem;
  background-repeat: no-repeat;
  background-position: center center;
  -moz-background-size: 1.25rem;
  -o-background-size: 1.25rem;
  -webkit-background-size: 1.25rem;
  background-size: 1.25rem;
}
.header ul li.voice a::before {
  background-image: url("../images/icon_voice.png");
}
.header ul li.contact a::before {
  background-image: url("../images/icon_contact.png");
}
.header .menunav {
  display: none;
}

/* Global navigation
---------------------------------------------------------------- */
.globalnav {
  background-color: #380508;
}
.globalnav .utilities {
  display: none;
}
.globalnav .contents {
  display: flex;
  height: 3.75rem;
}
.globalnav .contents li {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  flex-basis: 50%;
  padding: 0.3125rem;
}
.globalnav .contents li + li {
  border-left: dotted 1px rgba(255, 255, 255, 0.3);
}
.globalnav .contents li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: #ffffff;
  text-decoration: none;
  -moz-border-radius: 0.3125rem;
  -webkit-border-radius: 0.3125rem;
  border-radius: 0.3125rem;
}
.globalnav .contents li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.globalnav .contents li a .ja {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3125rem;
}
.globalnav .contents li a .en {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* Footer navigation
---------------------------------------------------------------- */
.footernav {
  padding: 1.25rem 0;
  border-top: solid 1px #cccccc;
  border-bottom: solid 1px #cccccc;
}
.footernav ul {
  display: flex;
  justify-content: center;
  font-size: 0.875rem;
}
.footernav ul li {
  margin: 0 0.3125rem;
}

/* Footer
---------------------------------------------------------------- */
.footer {
  padding: 1.25rem 0 4.375rem;
  background-color: #f2f2f2;
}
.footer .logo {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 1.875rem;
  color: #380508;
  font-weight: 700;
  text-decoration: none;
}
.footer .logo:hover {
  filter: alpha(opacity=60);
  -moz-opacity: 0.6;
  opacity: 0.6;
}
.footer .logo .mark {
  flex-basis: 4.6875rem;
}
.footer .logo .type {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin-left: 0.625rem;
}
.footer .logo .type p {
  margin-bottom: 0.3125rem;
  font-size: 1rem;
}
.footer .logo .type p + p {
  margin-bottom: 0;
  font-size: 0.625rem;
  letter-spacing: 0.05em;
}
.footer .copyright {
  font-size: 0.75rem;
  text-align: center;
}

/* RWD
---------------------------------------------------------------- */
@media only screen and (max-width: 1040px) {
  html, body, input, button, textarea, select {
    font-size: 1.515vw;
  }
}
@media only screen and (max-width: 768px) {
  html, body, input, button, textarea, select {
    font-size: 5vw;
  }

  .sp {
    display: block;
  }

  .pc {
    display: none;
  }

  .container {
    padding: 0 5.33333vw;
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 2vw 0 2.53333vw;
    border-top: solid 0.66667vw #380508;
  }
  .header a.logo {
    flex-basis: 85%;
  }
  .header a.logo .mark {
    flex-basis: 18.66667vw;
  }
  .header a.logo .type {
    flex-basis: 54.66667vw;
  }
  .header a.logo .type h1 {
    margin-bottom: 0.66667vw;
    font-size: 4.26667vw;
  }
  .header a.logo .type p {
    font-size: 2.13333vw;
  }
  .header ul {
    display: none;
  }
  .header .menunav {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    position: absolute;
    top: 1.33333vw;
    right: 2.66667vw;
    z-index: 110;
    width: 10.66667vw;
    height: 10.66667vw;
    cursor: pointer;
  }
  .header .menunav .icon {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    position: absolute;
    top: 50%;
    left: 2vw;
    width: 6.66667vw;
    height: 2px;
    margin-top: -1px;
    background-color: #3f2520;
    -moz-transition: background 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    -o-transition: background 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    -webkit-transition: background 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    transition: background 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  }
  .header .menunav .icon::before, .header .menunav .icon::after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    position: absolute;
    left: 0;
    content: '';
    width: 6.66667vw;
    height: 2px;
    background-color: #3f2520;
    -moz-transform: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    -ms-transform: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    -webkit-transform: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    transform: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  }
  .header .menunav .icon::before {
    top: -0.5em;
  }
  .header .menunav .icon::after {
    top: 0.5em;
  }
  .header .menunav.open .icon {
    background-color: transparent;
  }
  .header .menunav.open .icon::before, .header .menunav.open .icon::after {
    top: 0;
  }
  .header .menunav.open .icon::before {
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .header .menunav.open .icon::after {
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .globalnav {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100%;
    height: 100%;
    padding-top: 20vw;
    background-color: rgba(255, 255, 255, 0.9);
  }
  .globalnav .utilities {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    display: flex;
    height: 16vw;
    margin-bottom: 2.66667vw;
  }
  .globalnav .utilities li {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    flex-basis: 50%;
    padding: 0 0.66667vw;
  }
  .globalnav .utilities li + li {
    border-left: dotted 1px rgba(0, 0, 0, 0.3);
  }
  .globalnav .utilities li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 3.2vw;
    text-decoration: none;
    letter-spacing: 0.05em;
    -moz-border-radius: 0.66667vw;
    -webkit-border-radius: 0.66667vw;
    border-radius: 0.66667vw;
  }
  .globalnav .utilities li a::before {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    content: '';
    flex-basis: 5.33333vw;
    width: 100%;
    margin-bottom: 1.86667vw;
    background-repeat: no-repeat;
    background-position: center center;
    -moz-background-size: 5.33333vw;
    -o-background-size: 5.33333vw;
    -webkit-background-size: 5.33333vw;
    background-size: 5.33333vw;
  }
  .globalnav .utilities li.voice a::before {
    background-image: url("../images/icon_voice.png");
  }
  .globalnav .utilities li.contact a::before {
    background-image: url("../images/icon_contact.png");
  }
  .globalnav .contents {
    display: block;
    height: auto;
  }
  .globalnav .contents li {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    flex-basis: 20%;
    padding: 0.3125rem;
    border-top: dotted 1px rgba(0, 0, 0, 0.2);
  }
  .globalnav .contents li + li {
    border-left: 0 none;
  }
  .globalnav .contents li a {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 13.33333vw;
    color: #ffffff;
    text-decoration: none;
    -moz-border-radius: 0.66667vw;
    -webkit-border-radius: 0.66667vw;
    border-radius: 0.66667vw;
  }
  .globalnav .contents li a .ja {
    color: #380508;
    font-size: 4.26667vw;
    margin-bottom: 0;
  }
  .globalnav .contents li a .en {
    color: #000000;
    font-size: 3.2vw;
    letter-spacing: 0.05em;
  }

  .footernav {
    padding: 0;
  }
  .footernav .container {
    padding: 0;
  }
  .footernav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 3.2vw;
  }
  .footernav ul li {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    flex-basis: 50%;
    margin: 0;
    border-top: dotted 1px rgba(0, 0, 0, 0.2);
  }
  .footernav ul li:nth-child(2n) {
    border-left: dotted 1px rgba(0, 0, 0, 0.2);
  }
  .footernav ul li:nth-child(1), .footernav ul li:nth-child(2) {
    border-top: 0 none;
  }
  .footernav ul li a {
    display: block;
    padding: 2.66667vw;
    text-decoration: none;
  }

  .footer {
    padding: 2.66667vw 0 9.33333vw;
  }
  .footer .logo {
    margin-bottom: 4vw;
  }
  .footer .logo .mark {
    flex-basis: 16vw;
  }
  .footer .logo .type {
    margin-left: 2vw;
  }
  .footer .logo .type p {
    margin-bottom: 0.66667vw;
    font-size: 3.73333vw;
  }
  .footer .logo .type p + p {
    font-size: 2.66667vw;
  }
  .footer .copyright {
    font-size: 3.2vw;
  }
}
