@charset "utf-8";

:root {
  --txt-color: #1b1b1b;
  --osaka: #E60012;
  --nagoya: #1A96D5;
}

body {
  width: 100%;
  font-size: 16px;
  font-family: 'Noto Sans JP', 'Helvetica Neue', 'Arial', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'BIZ UDPGothic', Meiryo, sans-serif;
  color: var(--txt-color);
  font-weight: 500;
  font-display: swap;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
  position: relative;
}

img {
  width: 100%;
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}
a img {
  transition: all .3s;
}
a:hover img {
  opacity: .7;
}

header {
  position: relative;
  z-index: 1;
}
header nav {
  padding: 50px 30px 30px;
  width: 100%;
  height: 100%;
  background: #fff;
  position: fixed;
  top: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate(100vw);
  transition: all .4s ease-out;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
  pointer-events: auto;
}
header nav.active {
  opacity: 1;
  visibility: visible;
  transform: translate(0);
  transition: all .4s ease-out;
}
header nav ul {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
header nav ul::-webkit-scrollbar {
  display:none;
}
header nav li {
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  line-height: 1;
}
header nav li a {
  padding: 1em;
  display: block;
  text-decoration: none;
}
header #menu_btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: fixed;
  top: 15px;
  right: 15px;
  pointer-events: auto;
  z-index: 99;
}
header #menu_btn.active {
  background: none!important;
}
header .menu-trigger,
header .menu-trigger::before,
header .menu-trigger::after {
  width: 20px;
  height: 2px;
  background-color: #fff;
  position: absolute;
  left: 10px;
  transition: all .2s ease-in;
}
header .menu-trigger {
  top: 19px;
}
header #menu_btn.active .menu-trigger {
  background-color: transparent;
}
header .menu-trigger:before {
  content: '';
  top: -7px;
  left: 0;
}
header #menu_btn.active .menu-trigger::before {
  top: 0;
  transform: rotate(-135deg);
}
header .menu-trigger::after {
  content: '';
  top: 7px;
  left: 0;
}
header #menu_btn.active .menu-trigger::after {
  top: 0;
  transform: rotate(135deg);
}
header #menu_open,
header #menu_close {
  padding: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
}
header #menu_close {
  display: none;
}

#osaka header nav li a {
  color: var(--osaka);
}
#osaka header #menu_btn,
#osaka header #menu_btn.active .menu-trigger::before,
#osaka header #menu_btn.active .menu-trigger::after {
  background: var(--osaka);
}

#nagoya header nav li a {
  color: var(--nagoya);
}
#nagoya header #menu_btn,
#nagoya header #menu_btn.active .menu-trigger::before,
#nagoya header #menu_btn.active .menu-trigger::after {
  background: var(--nagoya);
}

main {
  padding-bottom: 82px;
}

#contact {
  padding: 2.8vw 5%;
}
.contact_inner {
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact_txt {
  font-size: .625rem;
  font-size: 2.56vw;
  line-height: 1.2;
}
.contact_txt p:not(.note) {
  font-weight: 700;
}
.contact_txt .note {
  margin-top: .5em;
  font-size: 80%;
  line-height: 1;
}
.contact_btn {
  width: 56%;
  max-width: 432px;
}

.foot_event {
  padding: 14px 5%;
  width: 100%;
  height: 82px;
  background: #fff;
  border-top: 1px solid #bfbfbf;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.5vw;
  position: fixed;
  bottom: 0;
}
.foot_event p img {
  width: auto;
  max-height: 54px;
}

@media (min-width: 1280px) {
  header #menu_btn {
    width: 68px;
    height: 68px;
    top: 30px;
    right: 30px;
  }
  header .menu-trigger,
  header .menu-trigger::before,
  header .menu-trigger::after {
    width: 34px;
  }
  header .menu-trigger {
    top: 33px;
    left: 17px;
  }
  header .menu-trigger:before {
    top: -12px;
  }
  header .menu-trigger::after {
    top: 12px;
  }

  main {
    padding-bottom: 210px;
  }

  #contact {
    padding: 30px 0;
  }
  .contact_txt {
    margin-right: 1em;
    font-size: 1.375rem;
  }
  .contact_txt br {
    display: none;
  }

  .foot_event {
    padding: 30px;
    height: 210px;
    gap: 40px;
  }
  .foot_event > div {
    padding: 30px 5%;
  }
  .foot_event p img {
    max-height: 150px;
  }
}