/* ––––––––––––––––––––––––––––––––––––––––––––––––––
zerocode start
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.zerocode {
  margin-top: 0;
  background-color: #fff;
}

.zerocode a:hover {
  opacity: 1;
}

.zerocode .wrapper {
  text-align: center;
  overflow: hidden;
}

.zerocode .img-content {
  width: 750px;
  margin: 0 auto;
}

.zerocode .img-content img {
  width: 100%;
}

.zerocode .firstview-contents {
  position: relative;
}

.zerocode .button-contents {
  position: relative;
}

.zerocode .try-button {
  position: absolute;
  left: 50%;
  bottom: 60px;
  transform: translateX(-50%);
  width: 600px;
  border: 3px solid #ffff55;
  border-radius: 60px;
  font-size: 40px;
  font-weight: bold;
  transition: box-shadow 0.3s;
  background-color: #ffff55;
  color: #006dab;
  box-shadow: 0 6px 0 #d5aa1b;
  display: inline-block;
  padding-top: 17px;
  padding-bottom: 17px;
  text-decoration: none;
}

.zerocode .try-button:hover {
  background-color: #ffffff;
  color: #006dab;
  border: 3px solid #006dab;
  box-shadow: 0 6px 0 #006dab;
  text-decoration: none;
}

/* -------------- contact-form スタイル start -------------- */
.zerocode .contact-section {
  width: 750px;
  margin: 0 auto;
  padding: 4rem 0;
  background-color: #ecf6ff;
}

.zerocode .contact-section .contact-header {
  color: #007bff;
  font-size: 2rem;
  font-weight: bold;
}

.zerocode .contact-section .contact-sentence {
  margin-top: 1rem;
  font-size: 1rem;
  color: #888;
}

.zerocode .contact-section .contact-form {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  padding: 0 4rem;
  gap: 40px;
}

.zerocode .contact-section .contact-form .form-group {
  display: flex;
  gap: 1rem;
}

.zerocode .contact-section .contact-form .input-group {
  width: 100%;
  display: flex;
  gap: 1rem;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  font-size: 1rem;
}

.zerocode .contact-section .contact-form .input-group .input-label {
  display: block;
  font-weight: bold;
}

.zerocode .contact-section .contact-form .input-group .input-label .required {
  background-color: #fb773fcc;
  color: #ffffff;
  border-radius: 5px;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: lighter;
  margin-left: 0.75rem;
}

.zerocode .contact-section .contact-form .input-group .input-field {
  width: 100%;
  height: 3rem;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.zerocode .contact-section .contact-form .consent-contents {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: #888;
}

.zerocode .contact-section .contact-form .consent-contents .link {
  color: #007bff;
  cursor: pointer;
}

.zerocode .contact-section .contact-form .consent-contents .link:hover {
  text-decoration: underline;
}

.zerocode .contact-section .contact-form .form-button {
  border: 0.25rem solid #0081ca;
  border-radius: 4rem;
  font-size: 3rem;
  font-weight: bold;
  transition: box-shadow 0.3s;
  background-color: #0081ca;
  color: #ffffff;
  box-shadow: 0 0.5rem 0 #005f95;
  transition: 0.01s;
  display: inline-block;
  padding-top: 1rem;
  padding-bottom: 1rem;
  text-decoration: none;
  cursor: pointer;
}

.zerocode .contact-section .contact-form .form-button:hover {
  background-color: #ffffff;
  color: #2196f3;
  border: 0.25rem solid #2196f3;
  box-shadow: 0 6px 0 #2196f3;
  text-decoration: none;
}
/* -------------- contact-form スタイル end -------------- */

.zerocode .footer-contents {
  height: 50px;
  width: 750px;
  margin: 0 auto;
  padding-top: 14px;
  font-size: 12px;
}

.zerocode .footer-contents span {
  margin: 10px 10px;
}

.zerocode .footer-link {
  cursor: pointer;
  text-decoration: none;
  color: black;
  margin: 10px 10px;
}

.zerocode .footer-link:hover {
  text-decoration: underline;
}

/* モーダルウィンドウ */
.zerocode .modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  text-align: left;
}

.zerocode .modal__bg {
  position: absolute;
  top: 50%;
  left: 50%;
  overflow-y: scroll;
  padding: 3rem;
  width: 66vw;
  height: 70vh;
  background: #fff;
  transform: translate(-50%, -50%);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.zerocode .modal__bg::-webkit-scrollbar {
  display: none;
}

@media (max-width: 960px) {
  .zerocode .modal__bg {
    width: 97vw;
  }
}

.zerocode .modal__heading {
  margin-bottom: 2rem;
}

.zerocode .modal__heading-text {
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 2rem;
}

@media (max-width: 960px) {
  .zerocode .modal__heading-text {
    font-size: 1.5rem;
  }
}

.zerocode .modal__heading-description {
  line-height: 1.5;
  font-size: 1rem;
}

.zerocode .modal .content__top h2 {
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 2rem;
}

@media (max-width: 1440px) {
  .zerocode .modal .content__top h2 {
    font-size: 1.5rem;
  }
}

.zerocode .modal .content__top p {
  margin-bottom: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 1440px) {
  .zerocode .modal .content__top p {
    font-size: 0.8rem;
  }
}

.zerocode .modal .content__bottom h2,
.zerocode .modal .content__bottom h3,
.zerocode .modal .content__bottom p {
  line-height: 1.5;
}

.zerocode .modal .content__bottom h2 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  padding: 0.3rem 0.7rem;
  background-color: #f5f5f5;
  white-space: normal;
  font-weight: 700;
  font-size: 2rem;
  word-break: break-all;
}

@media (max-width: 1440px) {
  .zerocode .modal .content__bottom h2 {
    font-size: 1.5rem;
  }
}

.zerocode .modal .content__bottom h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.zerocode .modal .content__bottom p {
  font-weight: 500;
  font-size: 1rem;
}

.zerocode .modal .law__item {
  display: flex;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid #dfdfdf;
}

.zerocode .modal .law__term {
  margin-right: 0.2rem;
}

.zerocode .modal .law__term .law__text {
  width: 8rem;
  font-weight: bold;
  font-size: 1.2rem;
}

@media (max-width: 960px) {
  .zerocode .modal .law__term .law__text {
    width: 30vw;
    font-size: 1rem;
  }
}

.zerocode .modal .law__description .law__text {
  line-height: 1.5;
  font-size: 1rem;
}

@media (max-width: 567px) {
  .zerocode .modal .law__description .law__text {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 749px) {
  .zerocode html {
    font-size: calc(100vw / 750);
  }
  .zerocode .img-content {
    width: 100vw;
  }
  .zerocode .firstview-try-button {
    bottom: 3rem;
    width: 96%;
    border-radius: 7rem;
    font-size: 1.6rem;
    box-shadow: 0 0.5rem 0 #d5aa1b;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
    border: 0.1rem solid #ffff55;
  }
  .zerocode .firstview-try-button:hover {
    border: 0.1rem solid #006dab;
    box-shadow: 0 0.5rem 0 #006dab;
  }
  .zerocode .try-button {
    bottom: 6vw;
    width: 96%;
    border: 0.1rem solid #ffff55;
    border-radius: 32rem;
    font-size: 1.6rem;
    box-shadow: 0 0.5rem 0 #d5aa1b;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
  }
  .zerocode .try-button:hover {
    border: 0.1rem solid #006dab;
    box-shadow: 0 0.5rem 0 #006dab;
  }
  .zerocode .contact-section {
    padding: 4rem 1rem;
    width: 100%;
  }
  .zerocode .contact-section .contact-header {
    font-size: 1.5rem;
  }
  .zerocode .contact-section .contact-sentence {
    font-size: 0.8rem;
  }
  .zerocode .contact-section .contact-form {
    padding: 0;
  }
  .zerocode .contact-section .contact-form .form-button {
    font-size: 2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .zerocode .footer-contents {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .zerocode .footer-contents a,
  .zerocode .footer-contents span {
    padding: 0.5rem 1rem;
    margin: 0;
  }
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow: auto;
}
.modal.active {
  display: block;
}
/* ––––––––––––––––––––––––––––––––––––––––––––––––––
zerocode end
–––––––––––––––––––––––––––––––––––––––––––––––––– */
