:root {
  --hm-main: #001A57;
  --hm-main-deep: #082f50;
  --hm-accent: #B79B5B;
  --hm-text: #647087;
  --hm-heading: #0a2b55;
  --hm-bg-pale: #f0f5f8;
  --hm-bg-soft: #f8fafc;
  --hm-border: #d8e0e8;
  --hm-white: #ffffff;
  --hm-container: 1180px;
  --hm-side: max(24px, calc((100vw - var(--hm-container)) / 2));
  --hm-sans: "Noto Sans JP", sans-serif;
  --hm-serif: "Noto Serif JP", "Noto Serif", serif;
  --hm-en-serif: "Cormorant Garamond", "Noto Serif", serif;
}

html { scroll-behavior: smooth; }
body.hm-site-body,
body.hm-site-body * { box-sizing: border-box; }
body.hm-site-body {
  margin: 0;
  color: var(--hm-text);
  background: #fff;
  font-family: var(--hm-sans);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
body.hm-site-body img { max-width: 100%; height: auto; display: block; }
body.hm-site-body a { color: inherit; text-decoration: none; }
body.hm-site-body button { font: inherit; }
body.hm-site-body .l-header,
body.hm-site-body #header,
body.hm-site-body .l-footer,
body.hm-site-body #footer { display: none !important; }

.hm-shell { width: min(var(--hm-container), calc(100% - 48px)); margin-inline: auto; }
.hm-kicker {
  margin: 0 0 18px;
  color: var(--hm-main);
  font-family: var(--hm-en-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hm-section-title {
  margin: 0;
  color: var(--hm-heading);
  font-family: var(--hm-serif);
  font-size: clamp(32px, 2.4vw, 42px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .05em;
}
.hm-section-lead { margin: 24px 0 0; font-size: 16px; line-height: 2; }
.hm-button {
  display: inline-flex;
  min-width: 190px;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 20px 0 24px;
  border: 1px solid var(--hm-main);
  background: var(--hm-main);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
}
.hm-button::after { content: "→"; font-size: 16px; }
.hm-button--ghost { background: transparent; color: var(--hm-main) !important; }
.hm-button--white { border-color: rgba(255,255,255,.75); background: transparent; color: #fff !important; }

.hm-header {
  position: relative;
  z-index: 50;
  height: 84px;
  background: #fff;
  border-bottom: 1px solid #edf1f5;
}
.hm-header__inner {
  width: min(1320px, calc(100% - 40px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.hm-brand { flex: 0 0 auto; width: 210px; color: var(--hm-main); }
.hm-brand__jp {
  color:#001a57;
  display: block;
  font-family: var(--hm-serif);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .14em;
}
.hm-brand__en {
  display: block;
  margin-top: -1px;
  color: var(--hm-accent);
  font-family: var(--hm-serif);
  font-size: 13px;
  padding-left: 3px;
  letter-spacing: .25em;
}
.hm-header__nav { margin-left: auto; }
.hm-header__nav ul,
.hm-mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.hm-header__nav ul { display: flex; align-items: center; gap: 20px; }
.hm-header__nav a {
  color: #173451 !important;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.hm-header__socials { display: flex; gap: 8px; }
.hm-social-link {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;

  color: var(--hm-main) !important;
}
.hm-social-link svg { width: 16px; height: 16px; fill: currentColor; }
.hm-header__supporters-apply,
.hm-header__contact {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--hm-main);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
}
.hm-header__supporters-apply { min-width: 160px; padding-inline: 18px; }
.hm-header__contact { min-width: 146px; padding-inline: 18px; }
.hm-header__menu-button { display: none; }
.hm-mobile-nav { display: none; }

.hm-footer {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7,48,81,.1), rgba(5,42,73,.1)),
    url("../images/common/footer-mountains.jpg") center 58% / cover no-repeat,
    var(--hm-main-deep);
}
.hm-footer__inner {
  width: min(var(--hm-container), calc(100% - 48px));
  margin-inline: auto;
  padding: 76px 0 42px;
  display: grid;
  grid-template-columns: 1.25fr .9fr 1fr;
  gap: 72px;
}
.hm-footer__brand .hm-brand__jp { color: #fff; font-size: 27px; }
.hm-footer__brand .hm-brand__en { color: #e3cf9e; }
.hm-footer__meta { margin: 22px 0 0; font-size: 14px; line-height: 1.9; opacity: .9; }
.hm-footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; align-content: start; }
.hm-footer__links a { font-size: 14px; }
.hm-footer__socials { display: flex; gap: 10px; margin-top: 18px; }
.hm-footer .hm-social-link { background: rgba(255,255,255,.13); color: #fff !important; }
.hm-footer__copyright {
  width: min(var(--hm-container), calc(100% - 48px));
  margin-inline: auto;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(255,255,255,.25);
  font-size: 12px;
  opacity: .78;
}

@media (max-width: 1180px) {
  .hm-header__nav { display: none; }
  .hm-header__socials { margin-left: auto; }
  .hm-header__menu-button {
	          align-content: center;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    background: var(--hm-main);
    cursor: pointer;
  }
  .hm-header__menu-button span,
  .hm-header__menu-button::before,
  .hm-header__menu-button::after {
    content: "";
    width: 20px;
    height: 1px;
    background: #fff;
    display: block;
    transition: transform .2s ease, opacity .2s ease;
  }
  .hm-header__menu-button span { margin: 5px 0; }
  .hm-menu-open .hm-header__menu-button::before { transform: translateY(6px) rotate(45deg); }
  .hm-menu-open .hm-header__menu-button span { opacity: 0; }
  .hm-menu-open .hm-header__menu-button::after { transform: translateY(-6px) rotate(-45deg); }
  .hm-mobile-nav {margin-top: 30px;

    display: block;
    position: fixed;
    inset: 84px 0 0;
    z-index: 49;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    padding: 28px 24px 48px;
    overflow: auto;
    pointer-events: none;
  }
  .hm-menu-open .hm-mobile-nav { visibility: visible; opacity: 1; pointer-events: auto; }
  .hm-menu-open { overflow: hidden; }
  .hm-mobile-nav li { border-bottom: 1px solid #e4eaf0; }
  .hm-mobile-nav a { display: block; padding: 17px 2px; color: var(--hm-heading); font-size: 16px; }
}

@media (max-width: 767px) {
  :root { --hm-side: 20px; }
  .hm-shell { width: calc(100% - 40px); }
  .hm-header { height: 68px; }
  .hm-header__inner { width: calc(100% - 28px); gap: 12px; }
  .hm-brand { width: auto; }
  .hm-brand__jp { font-size: 18px; }
  .hm-brand__en { font-size: 11px; }
  .hm-header__socials,
  .hm-header__supporters-apply,
  .hm-header__contact { display: none; }
  .hm-header__menu-button { margin-left: auto; }
  .hm-mobile-nav { inset: 68px 0 0; }
  .hm-section-title { font-size: 30px; }
  .hm-footer__inner { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
  .hm-footer__links { grid-template-columns: 1fr; }
}

.hm-footer__socials .hm-social-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
/*ふりがな*/
.hm-brand__jp ruby {
  ruby-position: start;
}

.hm-brand__jp rt {
  margin-bottom: 2px;
  font-size: 0.38em;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
}
.hm-footer .hm-brand__jp ruby {
  ruby-position: over;
  ruby-align: start;
}

.hm-footer .hm-brand__jp rt {
  font-size: 9px;
  margin-bottom: 5px;
  font-weight: 500;
  letter-spacing: 0.5em;
}
/*改行設定*/
.u-br-pc {
  display: inline;
}

.u-br-sp {
  display: none;
}

@media (max-width: 767px) {
  .u-br-pc {
    display: none;
  }

  .u-br-sp {
    display: inline;
  }
}
/* =========================
   Mobile SNS
========================= */

.hm-mobile-nav .hm-mobile-nav__sns-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;
  padding: 0;

  border-radius: 50%;


  text-decoration: none;

  transition:
    background-color 0.3s ease,
    opacity 0.3s ease;
}

.hm-mobile-nav .hm-mobile-nav__sns-btn svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: #fff;
}
/* SNSエリアを横並びに固定 */
.hm-mobile-nav .hm-mobile-nav__sns {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 12px;

  margin-top: 20px;
  padding: 0;
  width: 100%;
  border: none;
}

/* SNSボタン */
.hm-mobile-nav .hm-mobile-nav__sns > .hm-mobile-nav__sns-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;

  flex: 0 0 52px;
  width: 52px !important;
  height: 52px;

  padding: 0 !important;
  margin: 0 !important;

  border-radius: 50%;
 
}

/* アイコン */
.hm-mobile-nav .hm-mobile-nav__sns-btn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}
@media (min-width: 1181px) {
body.hm-site-body button {
    display: none;
}
}
.wpcf7 form .wpcf7-response-output {
    margin: 2em 0.5em 8em;
    padding: 0.2em 1em;
    border: 2px solid #00a0d2;
    text-align: center;
}
/* Google reCAPTCHAバッジを非表示 */
.grecaptcha-badge {
  visibility: hidden !important;
}
p.cta-meg {
    font-size: 10px;
    text-align: center;
    margin-top: 5em;
}

