@charset "utf-8";

/**************************************************************
* HEADER
**************************************************************/
header h1 img {
  width: 100%;
}

@media all and (min-width: 768px) {
  header h1 {
    width: 70%;
  }
}
@media all and (max-width: 767px) {
  header h1 {
    width: 70%;
  }
}

/**************************************************************
* NAV
**************************************************************/
#nav-content .logo-img img {
  width: 100%;
}
@media all and (min-width: 768px) {
  #nav-content .logo-img {
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
  }
}
@media all and (max-width: 767px) {
  #nav-content .logo-img {
    width: 60%;
    padding: 34px 0 0 20px;
  }
}


/**************************************************************
* NEWS
**************************************************************/
@media all and (min-width: 768px) {
  .news .text {
    text-align: initial;
  }
}
@media all and (max-width: 767px) {}

/**************************************************************
* FOOTER
**************************************************************/
footer .logo-img img {
  width: 100%;
}
@media all and (min-width: 768px) {
  footer .icon {
    padding: 30px;
  }
  footer .logo-img {
    width: 340px;
    margin: 0 auto;
  }
}
@media all and (max-width: 767px) {
  footer .logo-img {
    width: 280px;
    margin: 0 auto;
  }
}
/**************************************************************
* CONTACT：送信結果ポップアップ／honeypot（2026-10-02 追加）
**************************************************************/
.g-contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.c-submit-btn:disabled {
  opacity: .6;
  cursor: wait;
}
body.is-modal-open {
  overflow: hidden;
}
.g-contact-modal[hidden] {
  display: none;
}
.g-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.g-contact-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, .6);
}
.g-contact-modal__panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 40px 32px 32px;
  color: #000;
  text-align: center;
  background-color: #fff;
  border-top: 4px solid #2254c4;
  border-radius: 10px;
  outline: none;
  animation: g-contact-modal-in .25s ease-out;
}
.g-contact-modal.--error .g-contact-modal__panel {
  border-top-color: #AD2D27;
}
.g-contact-modal__title {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: .05em;
  line-height: 1.5;
}
.g-contact-modal.--error .g-contact-modal__title {
  color: #AD2D27;
}
.g-contact-modal__body {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.9;
}
.g-contact-modal__body a {
  color: #2254c4;
  text-decoration: underline;
}
.g-contact-modal__btn {
  display: block;
  width: 100%;
  max-width: 240px;
  margin: 28px auto 0;
  padding: 14px 0;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: .1em;
  color: #fff;
  background-color: #2254c4;
  border: 1px solid #2254c4;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity .3s;
}
.g-contact-modal__btn:hover {
  opacity: .8;
}
@keyframes g-contact-modal-in {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@media all and (max-width: 767px) {
  .g-contact-modal__panel {
    padding: 32px 20px 24px;
  }
  .g-contact-modal__title {
    font-size: 18px;
  }
  .g-contact-modal__body {
    font-size: 14px;
  }
}
@media all and (min-width: 768px) {
  .g-contact-modal__br { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .g-contact-modal__panel { animation: none; }
}
