/* Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  max-width: 1920px;
}
body,
footer {
  color: #333;
  font-family:
    "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",
    "メイリオ", "Meiryo", "游明朝", "Yu Mincho", "Avenir",
    "Helvetica Neue", "MS PMincho", ui-sans-serif;
}
h1,
h2,
h3,
h4 {
  font-family:
    "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic ProN",
    "メイリオ", "Meiryo", "游明朝", "Yu Mincho", "Avenir",
    "Helvetica Neue", "MS PMincho", ui-sans-serif;
  line-height: 1.5;
  margin-top: 0;
}
h1 {
  color: #1469ac;
  font-weight: 900;
}
h2,
h3 {
  color: #1469ac;
  font-weight: 600;
}
ul {
  list-style: none;
}
p {
  font-size: 16px;
  line-height: 175%;
}
a {
  color: #333;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
}
.pc {
  display: inline-block !important;
}
.sp {
  display: none !important;
}

/* Header */
#header {
  display: flex;
  align-items: center;
  font-weight: 500;
  position: fixed;
  top: 0;
  transition: 1s;
  width: 100%;
  z-index: 999;
}
#header.hide {
  transform: translateY(-100%);
}
.header-logo {
  width: 240px;
  margin: 20px;
}
#main-nav {
  display: flex;
  align-items: center;
  margin: 10px 20px 10px 0;
  margin-left: auto;
}
#main-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
}
#main-nav ul li a {
  margin-right: 5px;
  text-shadow:
    0 0 5px #fff,
    0 0 5px #fff,
    0 0 5px #fff,
    0 0 5px #fff,
    0 0 5px #fff;
}
.header-nav-contact {
  width: 30px;
  margin-top: -2px;
  margin-right: 20px;
  box-shadow:
    0 0 10px #fff,
    0 0 10px #fff,
    1px 1px 5px #fff,
    1px 1px 5px #fff;
}
.header-nav-menu-item > a:link,
.header-nav-menu-item > a:visited,
.header-nav-menu-item > a:active {
  color: #333;
}
.header-nav-menu-item > a:hover,
.header-nav-menu-item > a:focus {
  color: #5c6d87;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
}
.menu-btn {
  position: fixed;
  top: 13px;
  right: 13px;
  display: flex;
  height: 50px;
  width: 50px;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  background-color: #3584bb;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
  content: "";
  display: block;
  height: 2px;
  width: 25px;
  border-radius: 3px;
  background-color: #fff;
  position: absolute;
}
.menu-btn span:before {
  bottom: 8px;
}
.menu-btn span:after {
  top: 8px;
}
#menu-btn-check:checked ~ .menu-btn span {
  background-color: rgba(255, 255, 255, 0);
}
#menu-btn-check:checked ~ .menu-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}
.accordion a {
  border-bottom: solid 1px #fff;
  list-style: none;
  display: block;
  width: 100%;
  font-size: 15px;
  box-sizing: border-box;
  color: #fff;
  text-decoration: none;
  padding: 10px 0 10px 20px;
  position: relative;
}
.menu-hm-content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 3;
  background-color: #3584bb;
  transition: all 0.75s;
}
#menu-btn-check:checked ~ .menu-hm-content {
  left: 0;
}
#menu-btn-check {
  display: none;
}

/* Partners Section */
.partner-box {
  background: #fff6d0;
  padding: 10px 0 5px;
  display: grid;
  grid-template-columns: repeat(5, 165px);
  justify-content: center;
}
@media only screen and (min-width: 1650px) {
  .partner-box {
    grid-template-columns: repeat(10, 165px);
  }
}
.partner-items,
.partner-items-title {
  margin: 2.5px;
}
.partner-items img,
.partner-items-title img {
  width: 160px;
  height: auto;
  transition: 0.2s;
}
.partner-items img:hover {
  transform: scale(1.1, 1.1);
}

/* Footer */
#footer-credit {
  display: flex;
  justify-content: center;
  padding: 25px 0 10px;
}
.footer-logo {
  width: 240px;
  height: 64px;
}
.footer-container {
  display: flex;
  flex-direction: column;
}
.footer-name {
  font-size: 20pt;
  font-weight: 600;
  margin-left: 25px;
}
.footer-add {
  font-size: 13px;
  line-height: 1.25;
  margin: 0;
  margin-top: 2px;
  margin-left: 25px;
}

/* Back to Top Button */
.fixed_btn {
  position: fixed;
  bottom: 4px;
  right: 4px;
  padding: 5px;
  z-index: 9999;
  font-size: 35px;
  mix-blend-mode: hard-light;
}
.fixed_btn:hover {
  opacity: 0.5;
}
.fixed_btn-show {
  display: block;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

/* Partner items stagger animation delays */
.partner-items:nth-child(2) {
  animation-delay: 0.1s;
}
.partner-items:nth-child(3) {
  animation-delay: 0.2s;
}
.partner-items:nth-child(4) {
  animation-delay: 0.3s;
}
.partner-items:nth-child(5) {
  animation-delay: 0.4s;
}
.partner-items:nth-child(6) {
  animation-delay: 0.5s;
}
.partner-items:nth-child(7) {
  animation-delay: 0.6s;
}
.partner-items:nth-child(8) {
  animation-delay: 0.7s;
}
.partner-items:nth-child(9) {
  animation-delay: 0.8s;
}
.partner-items:nth-child(10) {
  animation-delay: 0.9s;
}

/* Tablet Styles - Common */
@media only screen and (max-width: 1024px) {
  .header-logo {
    width: 180px;
    margin: 10px;
  }
  #main-nav ul li a {
    font-size: 14px;
  }
  .header-nav-contact {
    width: 25px;
    margin-top: 1px;
    margin-right: 10px;
  }
  .partner-box {
    padding: 10px 0;
  }
  #footer-credit {
    padding-top: 20px;
    margin-bottom: 10px;
  }
  .footer-logo {
    width: 180px;
    height: 48px;
  }
  .footer-name {
    font-size: 15pt;
    margin-top: -2px;
  }
  .footer-add {
    font-size: 10px;
    line-height: 1.35;
    margin-top: 1px;
    margin-left: 25px;
  }
}

/* Smartphone Styles - Common */
@media screen and (max-width: 480px) {
  .hamburger-menu {
    display: block;
  }
  #main-nav {
    display: none;
  }
  .pc {
    display: none !important;
  }
  .sp {
    display: inline-block !important;
  }
  .header-logo {
    height: 50px;
    margin-top: 13px;
  }
  .partner-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 25px 0;
    margin: 0;
  }
  .partner-items,
  .partner-items-title {
    margin: 2.5px 0;
  }
  .partner-items img,
  .partner-items-title img {
    width: 270px;
    height: auto;
  }
  #footer-credit {
    display: none;
  }
}
