/* ============================================================
common
============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
}
:root {
  --white: #fff;
  --black: #000;
  --gray: #8b8b8b;
  --accent: #d80c18;
  --section-bg: #f1f1f1;
  --info-bg: #d9c7b6;
  --font-main: "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
}
html,
body {
  font-size: 62.5%; /* 1rem = 10px */
  margin: 0;
  padding: 0;
  background: var(--white);
  font-family: var(--font-main);
  color: var(--black);
}
body.is-fixed {
  overflow: hidden;
}
.container {
  max-width: 1500px;
  margin: 0 auto;
  background: var(--white);
  box-sizing: border-box;
  position: relative;
}
.container__inner {
  max-width: 1200px;
  width: 80%;
  margin: 0 auto;
}
.c-link {
  color: var(--black);
  text-decoration: none;
  transition: opacity 0.2s;
}
.c-link:hover {
  opacity: 0.4;
}
.c-btn {
  display: inline-block;
  margin: 2.2vw auto 0;
  padding: 12px 24px;
  border-radius: 50px;
  background-color: var(--accent);
  color: var(--white);
  font-size: 16px;
  text-align: center;
}
.c-sns-icon {
  display: inline-block;
  width: fit-content;
}
.c-sns-icon > i {
  display: block;
  font-size: 27px;
  /* font-size: clamp(18px, 1.8vw, 27px); */
  color: var(--black);
  transition: color 0.2s;
}
.c-link.is-current {
  pointer-events: none;
  text-decoration: none;
  color: inherit;
  cursor: default;
}
/* ============================================================
utility
============================================================ */
.u-mt-4 {
  margin-top: 4px !important;
}
.u-mt-8 {
  margin-top: 8px !important;
}
.u-mt-10 {
  margin-top: 10px !important;
}
.u-mt-20 {
  margin-top: 20px !important;
}
.u-mt-40 {
  margin-top: 40px !important;
}
.u-mt-60 {
  margin-top: 60px !important;
}
.u-mt-100 {
  margin-top: 100px !important;
}
.u-w-20vw {
  width: 20vw !important;
}
.u-pl-24 {
  padding-left: 24px !important;
}
.u-text-bold {
  font-weight: bold;
}
.u-text-underline {
  text-decoration: underline;
}
.u-text-indent {
  text-indent: -1em;
  padding-left: 1em;
}
.u-2col {
  display: flex;
  gap: 20px;
}
.u-2col > * {
  width: calc(50% - 10px);
}
.u-text-red {
  color: var(--accent);
}
/* ============================================================
header
============================================================ */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 60px;
  background-color: var(--white) !important;
}
.header__inner {
  max-width: initial !important;
  /* width: 90%; */
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
  padding: 0 2.67vw;
}
.header__logo {
  max-width: 130px;
  /* width: 8.67vw; */
  width: 130px;
  height: fit-content;
}
.header__logo-img {
  display: block;
  width: 100%;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
}
.header__nav-link {
  line-height: 1.5;
  font-size: 2rem;
  font-size: clamp(13px, 1.07vw, 16px);
}
.header__nav-link--info {
  display: block;
  width: clamp(14px, 1.07vw, 16px);
  height: clamp(14px, 1.07vw, 16px);
}
.header__nav-link--info img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.header__nav-item--condition {
  position: relative;
  border: 1px solid var(--black);
  margin-left: 8px;
}
.header__nav-link--condition {
  display: block;
  padding: 4px 12px;
  /* padding-right: 32px; */
}
.header__nav-link--condition::before {
  content: "";
  position: absolute;
  top: 3.33px;
  left: 3.19px;
  background-color: transparent;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  width: 100%;
  height: 100%;
}
/* .header__nav-link--condition::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-44%);
  width: clamp(14px, 1.07vw, 16px);
  height: clamp(14px, 1.07vw, 16px);
  background-image: url("/assets/img/common/header_icon_info.svg");
  background-repeat: no-repeat;
  background-size: contain;
} */

/* ============================================================
footer
============================================================ */
.footer {
  background-color: var(--accent);
  color: var(--white);
  height: 480px;
  display: flex;
  align-items: center;
}
.footer__inner {
  max-width: initial !important;
  margin: 0 auto;
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.footer__logo {
  /* width: 130px; */
  /* width: 380px; */
  width: 25vw;
  margin-right: 40px;
  height: fit-content;
}
.header__logo__link {
  display: block;
  width: fit-content;
  margin: 0 auto;
}
.footer__logo__link {
  display: block;
  /* width: fit-content; */
  margin: 0 auto;
}
.footer__logo-img {
  display: block;
  width: 100%;
}
.footer__nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex: 1;
  gap: 20px;
}
.footer__nav-list {
  display: flex;
  /* gap: 1.33vw; */
  gap: 8px;
}
.footer__nav-link {
  /* font-size: 13px; */
  font-size: clamp(14px, 1.07vw, 16px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--white);
}

.footer__nav-list--icon {
  display: flex;
  gap: 0 8px;
}

@media screen and (max-width: 767px) {
  .c-sp-hidden {
    display: none !important;
  }
  /* ============================================================
utility
============================================================ */
  .u-2col {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .u-2col > * {
    width: 100%;
  }
  /* ============================================================
header
============================================================ */
  .header {
    height: 45px;
  }
  .header__inner {
    width: 100%;
    padding: 0 20px;
  }
  .header__right-sp {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .header__nav {
    position: fixed;
    top: 45px;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    background-color: var(--white);
    z-index: 9999;
  }
  .header__nav.is-open {
    display: block;
  }
  .header__logo {
    width: 90px;
  }
  .header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 12px;
  }
  .header__nav-item {
    width: 100%;
    position: relative;
  }
  .header__nav-item::after {
    content: "→";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    display: flex;
    width: 14px;
    height: 14px;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: var(--white);
    background-color: var(--accent);
  }
  .header__nav-item--info {
    width: fit-content;
  }
  .header__nav-item--condition {
    margin-left: 0;
  }
  .header__nav-item--info::after,
  .header__nav-item--condition::after {
    content: none;
  }
  .header__nav-link {
    font-size: 16px;
    font-weight: bold;
    color: var(--accent);
    display: block;
    width: 100%;
  }
  .header__nav-link--info {
    display: block;
    width: 1.8rem;
    height: 1.8rem;
  }
  .header__nav-link--info img {
    width: 100%;
    display: block;
    object-fit: cover;
  }
  .header__nav-link--condition {
    padding: 2px 12px;
    font-size: 14px;
    font-weight: normal;
    color: var(--black);
  }
  .header__humburger {
    display: block;
    width: 24px;
    height: 18px;
    position: relative;
    cursor: pointer;
  }
  .header__humburger__span {
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: var(--black);
    border-radius: 2px;
    left: 0;
    transition: 0.3s;
  }
  .header__humburger span:nth-child(1) {
    top: 20%;
  }
  .header__humburger span:nth-child(2) {
    bottom: 20%;
  }
  .header__humburger.is-open span:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
  }
  .header__humburger.is-open span:nth-child(2) {
    transform: rotate(-45deg);
    top: 50%;
  }
  /* ============================================================
footers
============================================================ */
  .footer {
    border-bottom: none;
  }
  .footer__inner {
    width: 100%;
    flex-direction: column;
    padding: 0;
  }
  .footer__logo {
    max-width: initial;
    width: 100%;
    margin-right: initial;
    padding: 20px 0;
    background-color: var(--accent);
  }
  .footer__logo-img {
    width: 180px;
    margin: 0 auto;
  }
  .footer__nav {
    padding: 20px;
    width: 100%;
    align-items: start;
  }
  .footer__nav-list {
    display: block;
  }
  .footer__nav-link {
    color: var(--white);
    font-size: 14px;
  }
  .footer__nav-list--icon {
    display: flex;
    gap: 8px;
  }
  .c-btn {
    display: inline-block;
    margin: 24px auto 0;
    padding: 12px 24px;
    border-radius: 50px;
    background-color: var(--accent);
    color: var(--white);
    font-size: 16px;
    text-align: center;
  }
  .c-sns-icon > i {
    font-size: 32px;
  }
}
@media screen and (min-width: 768px) {
  .c-pc-hidden {
    display: none !important;
  }
}

@media screen and (max-width: 1070px) and (min-width: 768px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ============================================================
scroll to top button
============================================================ */
.scroll-to-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 9999;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--white);
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.scroll-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
scroll zoom image
============================================================ */
.js-zoom-container {
  /* width: 100%;
  max-width: 600px;
  height: 400px; */
  overflow: hidden;
  /* これが重要！ */
  margin: 0 auto;
}

.js-zoom-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.1s ease-out;
  will-change: transform;
}
