@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Zen+Kaku+Gothic+New&display=swap');

/*
 common *********************************************/
body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  line-height: 1.5;
  color: #000;

  @media (max-width: 767px) {
    font-size: 14px;
  }
}

/* .zenkaku {
  font-family: 'Zen Kaku Gothic New', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
} */

.mincho {
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', serif;
}

.container {
  position: relative;
}

.wrapper {
  position: relative;
  max-width: 1300px;
  margin: 0 auto;
}

/*
 header *********************************************/
#global_header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 65px;
  z-index: 100;
  background-color: #fff;
}

#header_logo {
  position: absolute;
  top: 0px;
  left: 0;
  line-height: 1.3;
}

#header_logo a {
  display: flex;
  align-items: center;
  width: 212px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  background: #04256D;
  opacity: 1 !important;
  text-decoration: none !important;
  -webkit-transition: none;
  transition: none;

  @media (max-width: 767px) {
    width: 65px;
  }
}

#header_logo a img {
  height: 65px;
  width: 65px;
}

#header_logo span {
  display: block;
  margin-left: 10px;
  padding-right: 15px;
}

#global_header .container,
#global_header .row {
  height: 100%;
}

#global_header .container {
  width: 100%;
  max-width: 1300px;
}

.header_link_wrap {
  width: auto;
  display: flex;
  align-items: center;
  padding: 12.5px 0;
  text-align: right;
}

.header_link {
  display: block;
  width: 185px;
  border-radius: 50vw;
  text-align: center;
  font-size: 0.75rem;
  line-height: 40px;
  color: #fff;
  background-color: #bf0000;
  padding: 0 1rem;
  font-weight: bold;
  text-decoration: none;
  margin-left: auto;
  position: relative;
}

.header_link::before,
.header_link::after {
  content: '';
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 16px;
  aspect-ratio: 1 / 1;
  display: inline-block;
  vertical-align: middle;
}

.header_link::before {
  background-image: url(../img/cart.svg);
  margin-right: 0.5em;
}

.header_link::after {
  background-image: url(../img/arrow.svg);
  margin-left: 0.5em;
}


/*
 main ***********************************************/
main {
  margin-top: 65px;
  overflow-x: hidden;
  position: relative;
}

.section {
  padding-top: 7.5rem;

  @media (max-width: 767px) {
    padding-top: 3.75rem;
  }
}


/*
 footer *********************************************/
footer {
  background-color: #fff;
  padding-top: 50px;

  @media (max-width: 991px) {
    padding-top: 38px;
  }

  @media (max-width: 767px) {
    padding-left: 38px;
  }
}

footer .container {
  max-width: 1140px;
}

.footer_logo {
  max-width: 11.25rem;
  aspect-ratio: 367 / 45;
  margin-bottom: 2rem;

  @media (max-width: 991px) {
    margin-bottom: 24px;
  }
  @media (max-width: 767px) {
    margin-bottom: 0;
  }
}

.footer_logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left top;
}

.footer_link,
.footer_sns {
  list-style: none;
  padding-left: 0;
}

.footer_links_wrapper {
  gap: 70px;
  font-size: 14px;

  @media (max-width: 991px) {
    padding-top: 0;
  }

  @media (max-width: 767px) {
    gap: 50px;
  }
}

.footer_links_wrapper h3 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer_links_wrapper a,
.footer_links_wrapper p {
  color: #666;
  text-decoration: none;
}

.footer_links_wrapper a:hover {
  text-decoration: underline;
}

.footer_link li {
  margin-bottom: 16px;
}

.footer_sns {
  display: flex;
  gap: 14px;
}

.footer_sns a {
  display: block;
  width: 20px;
}

.footer_sns a:hover {
  opacity: 0.7;
}

.footer_upper {
  display: flex;
  gap: 50px;
  padding: 0 42px 20px;

  @media (max-width: 1200px) {
    padding: 0 0 20px;
  }
  @media (max-width: 767px) {
    flex-direction: column;
    gap: 27px;
  }
}

.footer_lower {
  display: flex;
  justify-content: space-between;
  gap: 27px;
  border-top: 1px solid #c9c9c9;
  padding: 20px 42px 0;
  padding-bottom: 0;

  @media (max-width: 1200px) {
    padding: 20px 0;
  }
  @media (max-width: 992px) {
    flex-direction: column;
    align-items: flex-start;
  }
}

.footer_haruyama_logo {
  width: 132px;
  aspect-ratio: 132 / 52;
  flex-shrink: 0;
}

.footer_haruyama_logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left top;
}

.footer_links ul {
  display: flex;
  list-style: none;
  padding-left: 0;
  flex-wrap: wrap;
  margin-bottom: 0;
  justify-content: flex-end;
  @media (max-width: 767px) {
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
  }
}

.footer_links ul li {
  margin-top: 9px;
  margin-bottom: 15px;
  padding: 0 10px;
  height: 17px;
  @media (max-width: 767px) {
    padding: 0;
  }
}

.footer_links ul li:not(:last-child) {
  border-right: 1px solid #666;
  @media (max-width: 767px) {
    border-right: none;
  }
}

.footer_links ul li a {
  font-size: 12px;
  color: #666;
  text-decoration: none;
  height: 17px;
  display: block;
}

@media (hover: hover) {
  .footer_links ul li a:hover {
    text-decoration: underline;
  }
}

footer small {
  color: #666;
  font-size: 12px;
  text-align: right;
  display: block;
  font-weight: 700;
  padding-bottom: 50px;

  @media (max-width: 991px) {
    line-height: 2rem;
    text-align: center;
  }
}

#top_return {
  position: fixed;
  display: block;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: url('../img/top_return_icon.svg') no-repeat center / contain;
  z-index: 100;
  mix-blend-mode: difference;
  opacity: 0;
  visibility: hidden;
  transition: bottom 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;

  @media (max-width: 991px) {
    bottom: 40px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

#top_return.visible {
  opacity: 1;
  visibility: visible;
}

#top_return span {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: #fff;
}