@charset "UTF-8";
/*----------------------------------
  base
----------------------------------*/
:root {
  --color01: #333333;
  --font1: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "メイリオ", sans-serif;
}

body {
  color: var(--color01);
  font-family: var(--font1);
  overflow-x: hidden;
}

main {
  background-image: url(../images/common/bg.webp);
  background-size: contain;
  background-repeat: repeat;
  background-position: top center;
  box-sizing: border-box;
  font-size: 16px;
  padding-bottom: 110px;
}

.content {
  margin-left: auto;
  margin-right: auto;
  max-width: 1230px;
  padding-left: 15px;
  padding-right: 15px;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

/*----------------------------------
  header
----------------------------------*/
header {
  border-bottom: 2px solid #aaa;
  padding-top: 13px;
  padding-bottom: 13px;
}

.header-logo {
  width: 280px;
}

/*----------------------------------
  footer
----------------------------------*/
footer {
  background-image: url(../images/common/bg-02.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.footer-copyright__text {
  color: #fff;
  font-size: 16px;
  text-align: center;
  line-height: 1.25;
}

.footer-copyright__text:not(:first-child) {
  margin-top: 10px;
}

/*----------------------------------
  modal
----------------------------------*/
.open-modal {
  cursor: pointer;
}

.hidden {
  overflow: hidden;
}

.hidden .container {
  position: relative;
}

.hidden .container::after {
  background-color: rgba(0, 0, 0, 0.2);
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 99;
}

.modal-container {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 208001;
  transition: all 0.5s 0s ease;
}

.modal-wrap {
  height: auto;
  max-height: 95vh;
  position: relative;
  width: 440px;
}

.modal-content {
  background-color: #fff;
  border: none;
  max-width: 100%;
  max-height: 100vh;
  overflow-y: auto;
  height: 100%;
  width: 100%;
}

.modal-wrap.show .modal-item {
  display: block;
}

.modal-item {
  display: none;
}

.modal-inner {
  padding-top: 65px;
  padding-bottom: 20px;
}

.modal-close {
  background-image: url(../images/common/bg-02.webp);
  cursor: pointer;
  height: 32px;
  position: absolute;
  right: 25px;
  top: 25px;
  width: 32px;
  z-index: 99;
}

.modal-close::before,
.modal-close::after {
  background-color: #fff;
  content: "";
  height: 62.5%;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
}

.modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/*----------------------------------
  sp
----------------------------------*/
@media not all and (min-width: 768px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  /* header */
  header {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  /* footer */
  footer {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .footer-copyright__text {
    font-size: 12px;
  }

  .footer-copyright__text:not(:first-child) {
    margin-top: 5px;
  }

  /* modal */
  .modal-wrap {
    width: 345px;
  }

  .modal-inner {
    padding-top: 40px;
  }

  .modal-close {
    height: 24px;
    right: 10px;
    top: 10px;
    width: 24px;
  }
}
