@charset "UTF-8";
/* ==========================================================================
   KGC header / footer  (load on every JP page, AFTER the old theme CSS)
   Everything is scoped to .kgc so it cannot affect the old pages,
   and the first block stops old theme rules from leaking into the header/footer.
   ========================================================================== */
:where(header, footer).kgc,
:where(header, footer).kgc :where(*),
:where(header, footer).kgc :where(*)::before,
:where(header, footer).kgc :where(*)::after {
  all: revert;
}
:where(header, footer).kgc {
  color: #111111;
  font-family:
    "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif !important;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  word-wrap: break-word;
  letter-spacing: normal;
  text-align: start;
  font-style: normal;
  text-transform: none;
  text-indent: 0;
}
:where(header, footer).kgc .l-container,
:where(main.kgc) .l-container {
  width: 100%;
  margin: auto;
  padding: 0 20px;
}

@media screen and (max-width: 767px) {
  :where(header, footer).kgc .l-container,
  :where(main.kgc) .l-container {
    max-width: 390px !important;
  }
}

:where(header, footer).kgc,
:where(header, footer).kgc *,
:where(main.kgc, main.kgc *),
:where(header, footer).kgc::before,
:where(header, footer).kgc *::before,
:where(main.kgc, main.kgc *)::before,
:where(header, footer).kgc::after,
:where(header, footer).kgc *::after,
:where(main.kgc, main.kgc *)::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body.kgc-is-fixed {
  overflow: hidden;
  position: fixed;
  width: 100vw;
}
:where(header, footer).kgc ul,
:where(main.kgc) ul {
  list-style-type: none;
}
:where(header, footer).kgc a,
:where(main.kgc) a {
  color: currentColor;
  text-decoration: none;
  transition: 0.2s;
}
:where(header, footer).kgc a:hover,
:where(main.kgc) a:hover {
  opacity: 0.5;
}
:where(header, footer).kgc img,
:where(main.kgc) img {
  object-fit: cover;
  max-width: 100%;
}
:where(header, footer).kgc .c-logo a,
:where(main.kgc) .c-logo a {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-shrink: 0;
}
:where(header, footer).kgc .c-logo img,
:where(main.kgc) .c-logo img {
  display: block;
  width: 60px;
  flex-shrink: 0;
}
:where(header, footer).kgc .c-logo__text,
:where(main.kgc) .c-logo__text {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  padding-top: 12px;
}
:where(header, footer).kgc .c-logo__text strong,
:where(main.kgc) .c-logo__text strong {
  display: block;
  font-size: 24px;
  margin-bottom: 6px;
}
:where(header, footer).kgc .c-logo__text small,
:where(main.kgc) .c-logo__text small {
  color: #0550a4;
  font-size: 14px;
}
@media screen and (max-width: 767px) {
  :where(header, footer).kgc .c-logo img,
  :where(main.kgc) .c-logo img {
    width: 35px;
  }
  :where(header, footer).kgc .c-logo a,
  :where(main.kgc) .c-logo a {
    gap: 8px;
  }
  :where(header, footer).kgc .c-logo__text,
  :where(main.kgc) .c-logo__text {
    padding-top: 5px;
  }
  :where(header, footer).kgc .c-logo__text strong,
  :where(main.kgc) .c-logo__text strong {
    font-size: 16px;
    margin-bottom: 4px;
  }
  :where(header, footer).kgc .c-logo__text small,
  :where(main.kgc) .c-logo__text small {
    font-size: 10px;
  }
}
:where(header, footer).kgc .c-icon-before,
:where(main.kgc) .c-icon-before {
  position: relative;
}
:where(header, footer).kgc .c-icon-before::before,
:where(main.kgc) .c-icon-before::before {
  content: "";
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-transition: inherit;
  -o-transition: inherit;
  transition: inherit;
}
:where(header, footer).kgc .header,
.header:where(header, footer).kgc,
:where(main.kgc) .header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  padding: 0 50px;
  height: 120px;
  color: #111;
  background-color: #fff;
  display: flex;
  transition: 0.4s;
}
:where(header, footer).kgc .header.view,
.header.view:where(header, footer).kgc,
:where(main.kgc) .header.view {
  height: 100px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.16);
}
:where(header, footer).kgc .header-container,
:where(main.kgc) .header-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: inherit;
}
:where(header, footer).kgc .header-group,
:where(main.kgc) .header-group,
:where(header, footer).kgc .menu-toggle,
:where(main.kgc) .menu-toggle,
:where(header, footer).kgc .menu-toggle .menu-toggle__inner,
:where(main.kgc) .menu-toggle .menu-toggle__inner {
  align-self: stretch;
  display: flex;
  align-items: center;
}
:where(header, footer).kgc .header-logo,
:where(main.kgc) .header-logo {
  position: relative;
  z-index: 1001;
  flex-shrink: 0;
}

:where(header, footer).kgc .header .header-mainnav,
.header:where(header, footer).kgc .header-mainnav,
:where(main.kgc) .header .header-mainnav {
  align-self: stretch;
  margin-right: 42px;
}
:where(header, footer).kgc .header .header-mainnav .c-headernav,
.header:where(header, footer).kgc .header-mainnav .c-headernav,
:where(main.kgc) .header .header-mainnav .c-headernav {
  height: 100%;
}
:where(header, footer).kgc .c-header-social,
:where(main.kgc) .c-header-social {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0;
}
:where(header, footer).kgc .c-header-social:hover,
:where(main.kgc) .c-header-social:hover {
  opacity: 1;
  color: #0f2f6b;
}
:where(header, footer).kgc .c-header-social.--instagram::before,
:where(main.kgc) .c-header-social.--instagram::before {
  background-image: url(./../images/common/ic-instagram-black.svg);
  width: 38px;
  height: 38px;
}
:where(header, footer).kgc .c-header-social.--instagram:hover::before,
:where(main.kgc) .c-header-social.--instagram:hover::before {
  background-image: url(./../images/common/ic-instagram-blue.svg);
}
:where(header, footer).kgc .header .c-header-btn,
.header:where(header, footer).kgc .c-header-btn,
:where(main.kgc) .header .c-header-btn {
  margin-left: 38px;
}
:where(header, footer).kgc .menu-trigger,
:where(main.kgc) .menu-trigger {
  display: none;
}
@media screen and (max-width: 1750px) {
  :where(header, footer).kgc .header,
  .header:where(header, footer).kgc,
  :where(main.kgc) .header {
    padding: 0 20px;
  }
  :where(header, footer).kgc .header .header-mainnav,
  .header:where(header, footer).kgc .header-mainnav,
  :where(main.kgc) .header .header-mainnav {
    margin-right: 20px;
  }
  :where(header, footer).kgc .header .c-header-btn,
  .header:where(header, footer).kgc .c-header-btn,
  :where(main.kgc) .header .c-header-btn {
    margin-left: 20px;
  }
}
@media screen and (max-width: 1450px) {
  :where(header, footer).kgc .c-header-social,
  :where(main.kgc) .c-header-social {
    gap: 4px;
  }
  :where(header, footer).kgc .c-header-social.--instagram::before,
  :where(main.kgc) .c-header-social.--instagram::before {
    width: 30px;
    height: 30px;
  }
}
@media screen and (max-width: 1300px) {
  :where(header, footer).kgc .header,
  .header:where(header, footer).kgc,
  :where(main.kgc) .header {
    padding-right: 0;
  }
  :where(header, footer).kgc .menu-trigger,
  :where(main.kgc) .menu-trigger {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 100%;
    background-color: #032f72;
    position: relative;
    cursor: pointer;
    z-index: 1001;
  }

  :where(header, footer).kgc .menu-trigger div,
  :where(main.kgc) .menu-trigger div {
    --gap: 12px;
    position: relative;
    width: 50px;
    height: 30px;
  }

  :where(header, footer).kgc .menu-trigger span,
  :where(main.kgc) .menu-trigger span {
    top: 50%;
    left: 0;
    position: absolute;
    width: 100%;
    height: 4px;
    border-radius: 10px;
    background-color: #fff;
    transform: translateY(-50%);
    transition:
      transform 0.3s,
      opacity 0.3s;
  }
  :where(header, footer).kgc .menu-trigger span:nth-child(1),
  :where(main.kgc) .menu-trigger span:nth-child(1) {
    transform: translateY(calc(-50% - var(--gap)));
  }

  :where(header, footer).kgc .menu-trigger span:nth-child(2),
  :where(main.kgc) .menu-trigger span:nth-child(2) {
    transform: translateY(-50%);
  }

  :where(header, footer).kgc .menu-trigger span:nth-child(3),
  :where(main.kgc) .menu-trigger span:nth-child(3) {
    transform: translateY(calc(-50% + var(--gap)));
  }
  :where(header, footer).kgc .menu-trigger.active span:nth-child(1),
  :where(main.kgc) .menu-trigger.active span:nth-child(1) {
    transform: translateY(-50%) rotate(45deg);
  }

  :where(header, footer).kgc .menu-trigger.active span:nth-child(2),
  :where(main.kgc) .menu-trigger.active span:nth-child(2) {
    opacity: 0;
  }

  :where(header, footer).kgc .menu-trigger.active span:nth-child(3),
  :where(main.kgc) .menu-trigger.active span:nth-child(3) {
    transform: translateY(-50%) rotate(-45deg);
  }
  :where(header, footer).kgc .menu-toggle,
  :where(main.kgc) .menu-toggle {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    background-color: #fff;
    transition: 0.4s ease-in-out;
    color: #111;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    display: block;
    pointer-events: none;
  }
  :where(header, footer).kgc .menu-toggle::-webkit-scrollbar,
  :where(main.kgc) .menu-toggle::-webkit-scrollbar {
    display: none;
  }
  :where(header, footer).kgc .menu-toggle.active,
  :where(main.kgc) .menu-toggle.active {
    opacity: 1;
    visibility: visible;
    z-index: 1000;
    pointer-events: all;
  }
  :where(header, footer).kgc .menu-toggle .menu-toggle__inner,
  :where(main.kgc) .menu-toggle .menu-toggle__inner {
    padding: 120px 30px 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
  }
  :where(header, footer).kgc .header .header-mainnav,
  .header:where(header, footer).kgc .header-mainnav,
  :where(main.kgc) .header .header-mainnav {
    margin-right: 0;
    margin-bottom: 20px;
  }
  :where(header, footer).kgc .header .header-mainnav .c-headernav,
  .header:where(header, footer).kgc .header-mainnav .c-headernav,
  :where(main.kgc) .header .header-mainnav .c-headernav {
    display: block;
    height: auto;
    text-align: center;
  }
  :where(header, footer).kgc .header .c-header-btn,
  .header:where(header, footer).kgc .c-header-btn,
  :where(main.kgc) .header .c-header-btn {
    margin-left: 0;
    margin-top: 30px;
  }
}
@media screen and (max-width: 1024px) {
  :where(header, footer).kgc .header,
  .header:where(header, footer).kgc,
  :where(main.kgc) .header {
    height: 100px;
  }
  :where(header, footer).kgc .header.view,
  .header.view:where(header, footer).kgc,
  :where(main.kgc) .header.view {
    height: 80px;
  }
  :where(header, footer).kgc .menu-trigger,
  :where(main.kgc) .menu-trigger {
    width: 100px;
  }
}
@media screen and (max-width: 767px) {
  :where(header, footer).kgc .header,
  .header:where(header, footer).kgc,
  :where(main.kgc) .header {
    height: 70px;
  }
  :where(header, footer).kgc .header.view,
  .header.view:where(header, footer).kgc,
  :where(main.kgc) .header.view {
    height: 60px;
  }
  :where(header, footer).kgc .menu-trigger,
  :where(main.kgc) .menu-trigger {
    width: 70px;
    margin-left: 10px;
  }
  :where(header, footer).kgc .menu-trigger div,
  :where(main.kgc) .menu-trigger div {
    --gap: 10px;
    width: 35px;
    height: 20px;
  }
  :where(header, footer).kgc .menu-trigger span,
  :where(main.kgc) .menu-trigger span {
    height: 2px;
  }
  :where(header, footer).kgc .menu-toggle .menu-toggle__inner,
  :where(main.kgc) .menu-toggle .menu-toggle__inner {
    padding: 100px 20px;
  }
}
:where(header, footer).kgc .c-headernav,
:where(main.kgc) .c-headernav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
:where(header, footer).kgc .c-headernav .item,
:where(main.kgc) .c-headernav .item {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0;
  position: relative;
}
:where(header, footer).kgc .c-headernav .c-headernav__text,
:where(main.kgc) .c-headernav .c-headernav__text {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  cursor: pointer;
  padding: 0 32px;
}
:where(header, footer).kgc .c-headernav .c-headernav__text:hover,
:where(main.kgc) .c-headernav .c-headernav__text:hover {
  opacity: 1;
  color: #0f2f6b;
}
@media screen and (max-width: 1750px) {
  :where(header, footer).kgc .c-headernav .c-headernav__text,
  :where(main.kgc) .c-headernav .c-headernav__text {
    padding: 0 15px;
  }
}
@media screen and (max-width: 1450px) {
  :where(header, footer).kgc .c-headernav .item,
  :where(main.kgc) .c-headernav .item {
    font-size: 16px;
  }
  :where(header, footer).kgc .c-headernav .c-headernav__text,
  :where(main.kgc) .c-headernav .c-headernav__text {
    padding: 0 10px;
  }
}
@media screen and (max-width: 1300px) {
  :where(header, footer).kgc .c-headernav--vertical .c-headernav__text,
  :where(main.kgc) .c-headernav--vertical .c-headernav__text {
    display: inline-block;
    height: auto;
    font-size: 22px;
  }
  :where(header, footer).kgc .c-headernav--vertical .item,
  :where(main.kgc) .c-headernav--vertical .item {
    margin-bottom: 20px;
  }
  :where(header, footer).kgc
    .c-headernav--vertical
    .item:not(:last-child)::after,
  :where(main.kgc) .c-headernav--vertical .item:not(:last-child)::after {
    content: unset;
  }
}
@media screen and (max-width: 767px) {
  :where(header, footer).kgc .c-headernav .item,
  :where(main.kgc) .c-headernav .item {
    font-size: 14px;
    line-height: 2;
  }
  :where(header, footer).kgc .c-headernav--vertical .item,
  :where(main.kgc) .c-headernav--vertical .item {
    margin-bottom: 10px;
  }
  :where(header, footer).kgc .c-headernav--vertical .c-headernav__text,
  :where(main.kgc) .c-headernav--vertical .c-headernav__text {
    font-size: 16px;
  }
}
:where(header, footer).kgc .c-header-btn,
:where(main.kgc) .c-header-btn {
  width: 335px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(45deg, #021839, #164895);
  border-radius: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0;
  color: #fff;
  transition: 0.4s ease-in-out;
}
:where(header, footer).kgc .c-header-btn span,
:where(main.kgc) .c-header-btn span {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-radius: 10px;
  transition:
    background-color 0.4s ease-in-out,
    border-color 0.4s ease-in-out;
}
:where(header, footer).kgc .c-header-btn span.icon-mail:before,
:where(main.kgc) .c-header-btn span.icon-mail:before {
  background-image: url(./../images/common/ic-mail-white.svg);
  width: 22px;
  height: 17px;
}
:where(header, footer).kgc .c-header-btn:hover,
:where(main.kgc) .c-header-btn:hover {
  color: #0f2f6b;
  opacity: 1;
}
:where(header, footer).kgc .c-header-btn:hover span,
:where(main.kgc) .c-header-btn:hover span {
  background-color: #fff;
  border-color: #0f2f6b;
}
:where(header, footer).kgc .c-header-btn:hover span.icon-mail:before,
:where(main.kgc) .c-header-btn:hover span.icon-mail:before {
  background-image: url(./../images/common/ic-mail-blue.svg);
}
@media screen and (max-width: 1550px) {
  :where(header, footer).kgc .c-header-btn,
  :where(main.kgc) .c-header-btn {
    width: 260px;
    font-size: 16px;
  }
}
@media screen and (max-width: 1450px) {
  :where(header, footer).kgc .c-header-btn,
  :where(main.kgc) .c-header-btn {
    height: 55px;
  }
  :where(header, footer).kgc .c-header-btn span.icon-mail:before,
  :where(main.kgc) .c-header-btn span.icon-mail:before {
    width: 18px;
    height: 14px;
  }
}
@media screen and (max-width: 1300px) {
  :where(header, footer).kgc .c-header-btn,
  :where(main.kgc) .c-header-btn {
    width: 100%;
    max-width: 340px;
    height: 70px;
  }
  :where(header, footer).kgc .c-header-btn span,
  :where(main.kgc) .c-header-btn span {
    flex-direction: row;
  }
  :where(header, footer).kgc .c-header-btn span.icon-mail:before,
  :where(main.kgc) .c-header-btn span.icon-mail:before {
    width: 24px;
    height: 20px;
    margin-bottom: 0;
  }
}
@media screen and (max-width: 767px) {
  :where(header, footer).kgc .c-header-btn,
  :where(main.kgc) .c-header-btn {
    font-size: 14px;
    height: 55px;
  }

  :where(header, footer).kgc .c-header-btn span.icon-mail:before,
  :where(main.kgc) .c-header-btn span.icon-mail:before {
    width: 18px;
    height: 14px;
  }
}
:where(header, footer).kgc .footer,
.footer:where(header, footer).kgc,
:where(main.kgc) .footer {
  background: #fff;
  padding-bottom: 125px;
}
:where(header, footer).kgc .c-footer-contact,
:where(main.kgc) .c-footer-contact {
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
  padding: 53px 0 50px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

:where(header, footer).kgc .c-footer-contact__item,
:where(main.kgc) .c-footer-contact__item {
  position: relative;
  width: 50%;
  text-align: center;
}

:where(header, footer).kgc
  .c-footer-contact__item
  + .c-footer-contact__item::before,
:where(main.kgc) .c-footer-contact__item + .c-footer-contact__item::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 0;
  width: 1px;
  height: 131px;
  background: #ccc;
}
:where(header, footer).kgc .c-footer-contact__ttl,
:where(main.kgc) .c-footer-contact__ttl {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 22px 0 8px;
  border-bottom: 1px dotted #0f2f6b;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: #0f2f6b;
}

:where(header, footer).kgc .c-footer-contact__ttl::before,
:where(main.kgc) .c-footer-contact__ttl::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 1px;
  background: #072392;
}

:where(header, footer).kgc
  .c-footer-contact__item
  + .c-footer-contact__item
  .c-footer-contact__ttl,
:where(main.kgc)
  .c-footer-contact__item
  + .c-footer-contact__item
  .c-footer-contact__ttl {
  color: #072392;
  border-bottom-color: #072392;
}
:where(header, footer).kgc .c-footer-contact__tel,
:where(main.kgc) .c-footer-contact__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: #111;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

:where(header, footer).kgc .c-footer-contact__tel::before,
:where(main.kgc) .c-footer-contact__tel::before {
  content: "";
  display: block;
  width: 33px;
  height: 33px;
  margin-right: 12px;
  flex-shrink: 0;
  background-color: #0f2f6b;
  -webkit-mask: url(../images/common/ic-phone-blue.svg) center / contain
    no-repeat;
  mask: url(../images/common/ic-phone-blue.svg) center / contain no-repeat;
}

:where(header, footer).kgc .c-footer-contact__tel:hover,
:where(main.kgc) .c-footer-contact__tel:hover {
  opacity: 0.7;
}
:where(header, footer).kgc .c-footer-contact__btn,
:where(main.kgc) .c-footer-contact__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 64px;
  margin: 20px auto 0;
  border: 2px solid #0f2f6b;
  border-radius: 30px;
  background: #0f2f6b;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  transition: 0.4s;
}

:where(header, footer).kgc .c-footer-contact__btn::before,
:where(main.kgc) .c-footer-contact__btn::before {
  content: "";
  display: block;
  width: 26px;
  height: 26px;
  margin-right: 14px;
  flex-shrink: 0;
  background-color: #fff;
  -webkit-mask: url(../images/common/ic-mail-footer-white.svg) center / contain
    no-repeat;
  mask: url(../images/common/ic-mail-footer-white.svg) center / contain
    no-repeat;
  transition: background-color 0.4s ease;
}

:where(header, footer).kgc .c-footer-contact__btn:hover,
:where(main.kgc) .c-footer-contact__btn:hover {
  opacity: 1;
  background: #fff;
  color: #0f2f6b;
}

:where(header, footer).kgc .c-footer-contact__btn:hover::before,
:where(main.kgc) .c-footer-contact__btn:hover::before {
  background-color: #0f2f6b;
}
:where(header, footer).kgc .c-footer-contact__text,
:where(main.kgc) .c-footer-contact__text {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.734;
  color: #111;
}

:where(header, footer).kgc .c-footer-contact__btn + .c-footer-contact__text,
:where(main.kgc) .c-footer-contact__btn + .c-footer-contact__text {
  margin-top: 16px;
}
:where(header, footer).kgc .footer-bottom,
:where(main.kgc) .footer-bottom {
  margin-top: 142px;
  text-align: center;
}
:where(header, footer).kgc .c-logo--vertical a,
:where(main.kgc) .c-logo--vertical a {
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

:where(header, footer).kgc .c-logo--vertical .c-logo__text,
:where(main.kgc) .c-logo--vertical .c-logo__text {
  align-items: center;
  text-align: center;
  padding-top: 0;
}

:where(header, footer).kgc .c-logo--vertical .c-logo__text strong,
:where(main.kgc) .c-logo--vertical .c-logo__text strong {
  margin-bottom: 12px;
}
:where(header, footer).kgc .footer-nav,
:where(main.kgc) .footer-nav {
  margin-top: 65px;
}

:where(header, footer).kgc .footer-nav ul,
:where(main.kgc) .footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 0;
  gap: 10px 0;
  list-style: none;
}

:where(header, footer).kgc .footer-nav li,
:where(main.kgc) .footer-nav li {
  display: flex;
  align-items: center;
}
:where(header, footer).kgc .footer-nav li + li::before,
:where(main.kgc) .footer-nav li + li::before {
  content: "|";
  line-height: 1;
  font-weight: 700;
  font-size: 18px;
  color: #111;
}

:where(header, footer).kgc .footer-nav a,
:where(main.kgc) .footer-nav a {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
  padding: 0 5px;
  text-decoration: none;
  transition: color 0.3s ease;
}

:where(header, footer).kgc .footer-nav a:hover,
:where(main.kgc) .footer-nav a:hover {
  opacity: 1;
  color: #0f2f6b;
}
:where(header, footer).kgc .c-copyright,
:where(main.kgc) .c-copyright {
  margin: 56px 0 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  color: #111;
}
@media screen and (max-width: 1024px) {
  :where(header, footer).kgc .c-footer-contact,
  :where(main.kgc) .c-footer-contact {
    padding: 40px 20px;
  }
  :where(header, footer).kgc .c-footer-contact__tel,
  :where(main.kgc) .c-footer-contact__tel {
    font-size: 32px;
  }
  :where(header, footer).kgc .c-footer-contact__tel::before,
  :where(main.kgc) .c-footer-contact__tel::before {
    width: 27px;
    height: 27px;
    margin-right: 10px;
  }
  :where(header, footer).kgc .c-footer-contact__btn,
  :where(main.kgc) .c-footer-contact__btn {
    width: 100%;
    max-width: 280px;
    height: 58px;
    font-size: 14px;
  }
  :where(header, footer).kgc .c-footer-contact__btn::before,
  :where(main.kgc) .c-footer-contact__btn::before {
    width: 18px;
    height: 18px;
    position: relative;
    top: -1px;
  }
  :where(header, footer).kgc .footer-bottom,
  :where(main.kgc) .footer-bottom {
    margin-top: 80px;
  }
  :where(header, footer).kgc .footer-nav,
  :where(main.kgc) .footer-nav {
    margin-top: 40px;
  }
  :where(header, footer).kgc .footer-nav a,
  :where(main.kgc) .footer-nav a {
    font-size: 16px;
  }
  :where(header, footer).kgc .c-copyright,
  :where(main.kgc) .c-copyright {
    margin-top: 40px;
  }
}
@media screen and (max-width: 767px) {
  :where(header, footer).kgc .c-footer-contact,
  :where(main.kgc) .c-footer-contact {
    display: block;
    padding: 30px 16px;
  }
  :where(header, footer).kgc .c-footer-contact__item,
  :where(main.kgc) .c-footer-contact__item {
    width: 100%;
  }
  :where(header, footer).kgc .c-footer-contact__item + .c-footer-contact__item,
  :where(main.kgc) .c-footer-contact__item + .c-footer-contact__item {
    margin-top: 30px;
    padding-top: 30px;
  }
  :where(header, footer).kgc
    .c-footer-contact__item
    + .c-footer-contact__item::before,
  :where(main.kgc) .c-footer-contact__item + .c-footer-contact__item::before {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 260px;
    height: 1px;
  }
  :where(header, footer).kgc .c-footer-contact__ttl,
  :where(main.kgc) .c-footer-contact__ttl {
    font-size: 16px;
  }
  :where(header, footer).kgc .c-footer-contact__tel,
  :where(main.kgc) .c-footer-contact__tel {
    font-size: 28px;
  }
  :where(header, footer).kgc .c-footer-contact__tel::before,
  :where(main.kgc) .c-footer-contact__tel::before {
    width: 24px;
    height: 24px;
  }
  :where(header, footer).kgc .c-footer-contact__text,
  :where(main.kgc) .c-footer-contact__text {
    font-size: 13px;
  }
  :where(header, footer).kgc .c-logo--vertical a,
  :where(main.kgc) .c-logo--vertical a {
    gap: 16px;
  }
  :where(header, footer).kgc .c-logo--vertical .c-logo__text strong,
  :where(main.kgc) .c-logo--vertical .c-logo__text strong {
    font-size: 20px;
    margin-bottom: 8px;
  }
  :where(header, footer).kgc .footer-bottom,
  :where(main.kgc) .footer-bottom {
    margin-top: 60px;
  }
  :where(header, footer).kgc .footer-nav,
  :where(main.kgc) .footer-nav {
    margin-top: 30px;
  }
  :where(header, footer).kgc .footer-nav a,
  :where(main.kgc) .footer-nav a {
    font-size: 13px;
  }
  :where(header, footer).kgc .c-copyright,
  :where(main.kgc) .c-copyright {
    margin-top: 30px;
    font-size: 11px;
  }
}

/* TRANSLATE BUTTON */
.kgc .translation {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 20px;
}
.kgc .translation .language-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 26px;
  padding: 0 10px;
  border: 2px solid #1b2a6b;
  border-radius: 0;
  background: #fff;
  color: #1b2a6b;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.kgc .translation .language-link:hover {
  opacity: 1;
  background: #1b2a6b;
  color: #fff;
}
@media screen and (max-width: 1300px) {
  .kgc .translation {
    margin-left: 0;
    margin-top: 30px;
  }
}
@media screen and (max-width: 767px) {
  .kgc .translation .language-link {
    min-width: 44px;
    height: 24px;
    font-size: 12px;
  }
}
/* END TRANSLATE BUTTON */

/** Display */
.u-sp,
.u-tabOnly,
.u-notpc {
  display: none !important;
}
.u-tab {
  display: block !important;
}
@media screen and (max-width: 1024px) {
  .u-pcOnly {
    display: none !important;
  }
  .u-tabOnly,
  .u-notpc {
    display: block !important;
  }
}
@media screen and (max-width: 767px) {
  .u-pc,
  .u-tab,
  .u-tabOnly {
    display: none !important;
  }
  .u-sp {
    display: block !important;
  }
}
/** End Display */

/* ==========================================================================
   ENGLISH
   (html.is-en = set by PHP from the googtrans cookie,
    html[lang="en"] = set live by Google Translate)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HEADER — wide screens: horizontal nav with tighter spacing
   -------------------------------------------------------------------------- */
@media screen and (min-width: 1651px) {
  :is(html.is-en, html[lang="en"]) .header:where(header, footer).kgc {
    padding: 0 20px;
  }
  :is(html.is-en, html[lang="en"])
    :where(header, footer).kgc
    .c-headernav
    .item {
    font-size: 16px;
  }
  :is(html.is-en, html[lang="en"])
    :where(header, footer).kgc
    .c-headernav
    .c-headernav__text {
    padding: 0 10px;
  }
  :is(html.is-en, html[lang="en"])
    .header:where(header, footer).kgc
    .header-mainnav {
    margin-right: 8px;
  }
  :is(html.is-en, html[lang="en"])
    .header:where(header, footer).kgc
    .c-header-btn {
    margin-left: 20px;
  }
  :is(html.is-en, html[lang="en"]) :where(header, footer).kgc .c-header-btn {
    width: 280px;
    height: 55px;
    font-size: 16px;
  }
  :is(html.is-en, html[lang="en"])
    :where(header, footer).kgc
    .c-header-btn
    span.icon-mail:before {
    width: 18px;
    height: 14px;
  }
}

/* --------------------------------------------------------------------------
     2. HEADER — 1301px–1650px: switch to the hamburger early for English
        (At 1300px and below the base CSS already handles it.)
     -------------------------------------------------------------------------- */
@media screen and (min-width: 1301px) and (max-width: 1650px) {
  :is(html.is-en, html[lang="en"]) .header:where(header, footer).kgc {
    padding-right: 0;
  }

  /* Trigger button */
  :is(html.is-en, html[lang="en"]) :where(header, footer).kgc .menu-trigger {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 100%;
    background-color: #032f72;
    position: relative;
    cursor: pointer;
    z-index: 1001;
  }
  :is(html.is-en, html[lang="en"])
    :where(header, footer).kgc
    .menu-trigger
    div {
    --gap: 12px;
    position: relative;
    width: 50px;
    height: 30px;
  }
  :is(html.is-en, html[lang="en"])
    :where(header, footer).kgc
    .menu-trigger
    span {
    top: 50%;
    left: 0;
    position: absolute;
    width: 100%;
    height: 4px;
    border-radius: 10px;
    background-color: #fff;
    transform: translateY(-50%);
    transition:
      transform 0.3s,
      opacity 0.3s;
  }
  :is(html.is-en, html[lang="en"])
    :where(header, footer).kgc
    .menu-trigger
    span:nth-child(1) {
    transform: translateY(calc(-50% - var(--gap)));
  }
  :is(html.is-en, html[lang="en"])
    :where(header, footer).kgc
    .menu-trigger
    span:nth-child(3) {
    transform: translateY(calc(-50% + var(--gap)));
  }
  :is(html.is-en, html[lang="en"])
    :where(header, footer).kgc
    .menu-trigger.active
    span:nth-child(1) {
    transform: translateY(-50%) rotate(45deg);
  }
  :is(html.is-en, html[lang="en"])
    :where(header, footer).kgc
    .menu-trigger.active
    span:nth-child(2) {
    opacity: 0;
  }
  :is(html.is-en, html[lang="en"])
    :where(header, footer).kgc
    .menu-trigger.active
    span:nth-child(3) {
    transform: translateY(-50%) rotate(-45deg);
  }

  /* Fullscreen menu panel */
  :is(html.is-en, html[lang="en"]) :where(header, footer).kgc .menu-toggle {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    background-color: #fff;
    transition: 0.4s ease-in-out;
    color: #111;
    opacity: 0;
    visibility: hidden;
    z-index: -1;
    display: block;
    pointer-events: none;
  }
  :is(html.is-en, html[lang="en"])
    :where(header, footer).kgc
    .menu-toggle::-webkit-scrollbar {
    display: none;
  }
  :is(html.is-en, html[lang="en"])
    :where(header, footer).kgc
    .menu-toggle.active {
    opacity: 1;
    visibility: visible;
    z-index: 1000;
    pointer-events: all;
  }
  :is(html.is-en, html[lang="en"])
    :where(header, footer).kgc
    .menu-toggle
    .menu-toggle__inner {
    padding: 120px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
  }

  /* Nav inside the panel */
  :is(html.is-en, html[lang="en"])
    .header:where(header, footer).kgc
    .header-mainnav {
    margin-right: 0;
    margin-bottom: 20px;
  }
  :is(html.is-en, html[lang="en"])
    .header:where(header, footer).kgc
    .header-mainnav
    .c-headernav {
    display: block;
    height: auto;
    text-align: center;
  }
  :is(html.is-en, html[lang="en"])
    :where(header, footer).kgc
    .c-headernav--vertical
    .c-headernav__text {
    display: inline-block;
    height: auto;
    font-size: 22px;
  }
  :is(html.is-en, html[lang="en"])
    :where(header, footer).kgc
    .c-headernav--vertical
    .item {
    margin-bottom: 20px;
  }

  /* Contact button inside the panel */
  :is(html.is-en, html[lang="en"])
    .header:where(header, footer).kgc
    .c-header-btn {
    margin-left: 0;
    margin-top: 30px;
  }
  :is(html.is-en, html[lang="en"]) :where(header, footer).kgc .c-header-btn {
    width: 100%;
    max-width: 340px;
    height: 70px;
  }
  :is(html.is-en, html[lang="en"])
    :where(header, footer).kgc
    .c-header-btn
    span.icon-mail:before {
    width: 24px;
    height: 20px;
    margin-bottom: 0;
  }

  /* EN/JP switch */
  :is(html.is-en, html[lang="en"]) .kgc .translation {
    margin-left: 0;
    margin-top: 30px;
  }
}

/* --------------------------------------------------------------------------
     3. MAIN VISUAL — desktop, slanted layout (>1250px)
        JP steps at 1750 / 1600 are moved earlier, plus one extra step.
        Keep these four blocks in this order.
     -------------------------------------------------------------------------- */

/* Wide screens */
@media screen and (min-width: 1251px) {
  :is(html.is-en, html[lang="en"]) :where(main.kgc) .c-mainvisual-text {
    padding-right: 152px;
  }
  :is(html.is-en, html[lang="en"]) :where(main.kgc) .c-mainvisual-text .title {
    font-size: 42px;
    line-height: 62px;
  }
  :is(html.is-en, html[lang="en"])
    :where(main.kgc)
    .c-mainvisual-text
    .small-text {
    font-size: 18px;
    line-height: 36px;
  }
}

/* JP 1750px step, moved to 1900px */
@media screen and (min-width: 1251px) and (max-width: 1900px) {
  :is(html.is-en, html[lang="en"]) :where(main.kgc) .c-mainvisual-text {
    padding-left: 50px;
  }
}

/* JP 1600px step, moved to 1750px */
@media screen and (min-width: 1251px) and (max-width: 1750px) {
  :is(html.is-en, html[lang="en"]) :where(main.kgc) .c-mainvisual-text .title {
    font-size: 36px;
    line-height: 54px;
  }
  :is(html.is-en, html[lang="en"])
    :where(main.kgc)
    .c-mainvisual-text
    .small-text {
    font-size: 16px;
    line-height: 1.6;
  }
}

/* Extra English-only step for the narrowest slanted layout */
@media screen and (min-width: 1251px) and (max-width: 1450px) {
  :is(html.is-en, html[lang="en"]) :where(main.kgc) .c-mainvisual-text .title {
    font-size: 32px;
    line-height: 48px;
  }
  :is(html.is-en, html[lang="en"])
    :where(main.kgc)
    .c-mainvisual-text
    .small-text {
    font-size: 15px;
  }
}

/* --------------------------------------------------------------------------
     4. MAIN VISUAL — tablet & mobile (≤1024px)
        Keep the JP layout (image heights) and shrink the English text
        so it fits the same space.
     -------------------------------------------------------------------------- */
@media screen and (max-width: 1024px) {
  :is(html.is-en, html[lang="en"]) :where(main.kgc) .c-mainvisual-text .title {
    font-size: 30px;
    line-height: 1.4;
  }
  :is(html.is-en, html[lang="en"])
    :where(main.kgc)
    .c-mainvisual-text
    .small-text {
    font-size: 15px;
  }
  /* Let the English sentences flow instead of forcing 3 short lines */
  :is(html.is-en, html[lang="en"])
    :where(main.kgc)
    .c-mainvisual-text
    .small-text
    br {
    display: none;
  }
  :is(html.is-en, html[lang="en"]) :where(main.kgc) .c-mainvisual-text .c-btn1 {
    font-size: 15px;
    margin-top: 30px;
  }
}

@media screen and (max-width: 767px) {
  :is(html.is-en, html[lang="en"]) :where(main.kgc) .c-mainvisual-text .title {
    font-size: 24px;
    padding-bottom: 15px;
    margin-bottom: 18px;
  }
  :is(html.is-en, html[lang="en"])
    :where(main.kgc)
    .c-mainvisual-text
    .small-text {
    font-size: 13px;
  }
  :is(html.is-en, html[lang="en"]) :where(main.kgc) .c-mainvisual-text .c-btn1 {
    font-size: 13px;
    margin-top: 20px;
  }
}

@media screen and (max-width: 460px) {
  :is(html.is-en, html[lang="en"]) :where(main.kgc) .c-mainvisual-text .title {
    font-size: 19px;
    padding-bottom: 10px;
    margin-bottom: 14px;
  }
  :is(html.is-en, html[lang="en"])
    :where(main.kgc)
    .c-mainvisual-text
    .small-text {
    font-size: 11px;
  }
  :is(html.is-en, html[lang="en"]) :where(main.kgc) .c-mainvisual-text .c-btn1 {
    font-size: 12px;
    padding: 12px 15px;
    margin-top: 15px;
  }

  /* Optional: uncomment only if the text still overlaps the image
       on small phones. Adjust 340px in DevTools until it fits. */
  /*
    :is(html.is-en, html[lang="en"]) :where(main.kgc) .c-mainvisual-img {
      height: calc(100% - 340px);
    }
    */
}
/* END ENGLISH */

/* =========================================== */
/* BANNER */
.c-banner {
  position: fixed;
  right: 50px;
  bottom: 40px;
  z-index: 999;
  display: block;
  width: 320px;
  transition: 0.4s;
}
.c-banner img {
  display: block;
  width: 100%;
  height: auto;
  transition: inherit;
}
.c-banner__close {
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background-color: #111;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.c-banner:hover {
  opacity: 1;
}
.c-banner:hover img {
  opacity: 0.8;
}

@media screen and (max-width: 767px) {
  .c-banner {
    right: 0;
    bottom: 0;
    width: 160px;
  }
  .c-banner__close {
    top: -8px;
    left: -8px;
    width: 20px;
    height: 20px;
    font-size: 13px;
  }
}
/* END BANNER */
/* =========================================== */
