* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: #2E2E2E;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  background: #fff;
  font-weight: 500;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  transition: .3s;
}

a:hover {
  opacity: .75;
}

button:hover {
  opacity: .75;
}

main {
  display: block;
}

.green-btn,
.white-btn,
.link-btn,
.g_button,
.news_pdf_btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 24px;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1.6;
  font-size: 16px;
}

.white-btn {
  color: #1f4d8a;
  background: #fff;
  border: 1px solid #103C6E;
}

.link-btn {
  color: #1f4d8a;
  background: #fff;
  border: 1px solid #103C6E;
}

.g_button {
  color: #1f4d8a;
  background: #fff;
  border: 1px solid #103C6E;
}

.white-btn::after,
.link-btn::after,
.g_button::after,
.news_pdf_btn::after {
  content: "→";
  display: inline-block;
  line-height: 1;
  font-size: 16px;
}


@media screen and (min-width:767px) {
  .br-sp {
    display: none;
  }
}

/* =========================
   header
========================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 80px;
  padding: 0 2%;
  background: rgba(255, 255, 255, .90);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 50px 0 rgba(36, 57, 69, 0.10);
}

.header_name {
  display: inline-flex;
  align-items: center;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #103C6E;
  text-decoration: none;
  white-space: nowrap;
}

.header_name:hover {
  opacity: .7;
}

.nav_wrap {
  display: flex;
  align-items: center;
}

.navi {
  display: flex;
  align-items: center;
}

.nav_list_wrap>div {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav_list_wrap a {
  display: block;
  font-size: 16px;
  line-height: 1.4;
  color: #2E2E2E;
  text-decoration: none;
}

.nav_list_wrap a:hover {
  opacity: .65;
}

.overlay {
  display: none;
}

.nav_btn {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

/* =========================
   footer
========================= */

footer {
  padding: 56px 20px 24px;
  text-align: center;
  background: #fff;
}

.contact_name {
  margin-bottom: 10px;
  color: #103C6E;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
}

.contact_name span {
  font-size: 20px;
  margin-right: 4px;
}

footer address {
  margin-bottom: 18px;
  font-style: normal;
}

footer address span {
  display: block;
}

footer .g-map {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 120px;
  margin-bottom: 24px;
  padding: 6px 24px;
  border: 1px solid #103C6E;
  border-radius: 999px;
  background: #fff;
  color: #103C6E;
  text-decoration: none;
  font-size: 14px;
}

footer .g-map::after {
  content: "→";
  display: inline-block;
  line-height: 1;
  font-size: 14px;
}

footer .attention {
  margin-bottom: 18px;
  font-size: 14px;
  color: #FFFFFF;
  border-radius: 4px;
  background: #1B8E10;
  width: fit-content;
  margin: 0 auto 12px;
  padding: 8px 16px;
}

.tel_fax {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 18px 28px;
  margin-bottom: 32px;
}

.tel,
.fax {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  color: #103C6E;
  font-weight: 700;
  text-align: right;
}

.tel span,
.fax span {
  margin-right: 6px;
  font-size: 24px;
}

.tel small {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 500;
  color: #2E2E2E;
}

.copyright {
  font-size: 14px;
}

/* =========================
   SP
========================= */

@media screen and (max-width:767px) {

  .white-btn,
  .link-btn,
  .g_button,
  .news_pdf_btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.2;
  }


  header {
    height: 64px;
    padding: 0 16px;
  }

  .header_name {
    font-size: 20px;
    max-width: calc(100% - 44px);
    line-height: 1.3;
  }

  .nav_btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    position: relative;
    z-index: 120;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
  }

  .nav_btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #103C6E;
    border-radius: 999px;
    transition: transform .2s ease, opacity .2s ease;
    transform-origin: center;
  }

  .nav_btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav_btn.active span:nth-child(2) {
    opacity: 0;
  }

  .nav_btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav_wrap {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 110;
    transition: .35s ease;
    pointer-events: none;
  }

  .nav_wrap.active,
  .nav_wrap.is-open {
    right: 0;
    pointer-events: auto;
  }

  .navi {
    position: relative;
    z-index: 112;
    margin-top: 64px;
    display: block;
    width: 100%;
    height: calc(100vh - 64px);
    margin-left: auto;
    padding: 0;
    background: rgba(255, 255, 255, .96);
  }

  .nav_list_wrap {
    width: 100%;
  }

  .nav_list_wrap>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav_list_wrap a {
    width: 100%;
    padding: 28px 24px;
    border-bottom: 1px solid #103C6E;
    font-size: 18px;
    line-height: 1.4;
    color: #103C6E;
    text-align: right;
    text-decoration: none;
  }

  .overlay {
    display: block;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100vh - 64px);
    z-index: 111;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
  }

  .nav_wrap.active .overlay,
  .nav_wrap.is-open .overlay {
    opacity: 1;
    visibility: visible;
  }





  footer {
    padding: 24px 24px 16px;
  }

  .contact_name {
    margin-bottom: 10px;
    font-size: 28px;
  }

  .contact_name span {
    font-size: 16px;
  }

  footer address {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
  }

  footer .g-map {
    min-width: 108px;
    margin-bottom: 24px;
    padding: 8px 16px;
    font-size: 14px;
    width: fit-content;
  }

  footer .attention {
    margin-bottom: 10px;
    font-size: 14px;
    width: 100%;
    padding: 8px;

  }

  .tel_fax {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    align-items: center;
    font-size: 24px;
  }

  .tel,
  .fax {
    text-align: center;
    line-height: 1.3;
  }


  .tel span,
  .fax span {
    font-size: 20px;
  }

  .tel small {
    margin-top: 0;
    font-size: 16px;
  }

  .copyright {
    font-size: 12px;
  }
}

/* 404 page */
header+.not_found_title {
  text-align: center;
  font-size: 72px;
  font-weight: 700;
  line-height: 0.6;
  color: #1f4e79;
  margin: 160px 0 24px;
}

header+.not_found_title span {
  display: inline-block;
  font-size: 22px;
  letter-spacing: 0.12em;
  margin-top: 8px;
}

header+.not_found_title+main {
  max-width: 520px;
  margin: 0 auto 120px;
  text-align: center;
}

header+.not_found_title+main p {
  line-height: 1.9;
  margin-bottom: 28px;
}

header+.not_found_title+main .link_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* SP */
@media screen and (max-width: 767px) {
  header+.not_found_title {
    font-size: 56px;
    margin: 96px 0 10px;
  }

  header+.not_found_title span {
    font-size: 18px;
  }

  header+.not_found_title+main {
    max-width: calc(100% - 32px);
    margin: 0 auto 72px;
  }
}


/* モーダル */

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal_overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}

.modal_box {
  position: relative;
  width: min(100% - 32px, 720px);
  margin: 160px auto 0;
  padding: 40px 32px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.modal_title {
  margin: 0 0 32px;
  font-size: 24px;
  line-height: 1.6;
}

.modal_close_btn {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #103C6E;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal_links {
  display: flex;
  gap: 16px;
  flex-direction: column;
  align-items: stretch;
}

.modal_links a {
  width: 100%;
  min-height: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  text-align: left;
  line-height: 1.6;
  font-weight: 700;
}

.modal_links .modal_link_text {
  display: flex;
  flex-direction: column;
}

.modal_links .modal_link_text span {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.modal_links a::after {
  flex-shrink: 0;
  align-self: center;
}

.modal_open_btn {
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  .modal_box {
    width: calc(100% - 24px);
    margin-top: 80px;
    padding: 32px 16px;
    border-radius: 16px;
  }

  .modal_box .white-btn {
    display: inline-flex;
    flex-direction: column;
    gap: 0px;
  }

  .modal_box .white-btn::after {
    display: none;
  }

  .modal_title {
    margin-bottom: 24px;
    font-size: 20px;
  }

  .modal_links {}

  .modal_links a {
    text-align: center;
    font-weight: 700;
  }

  .modal_links .modal_link_text span {
    font-weight: 500;
    font-size: 12px;
  }

  .modal_close_btn {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
}