@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&display=swap');
@font-face {
font-family: 'BIZ UDP Mincho';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('../font/BIZUDPMincho-subset.woff2') format('woff2'),
url('../font/BIZUDPMincho-subset.woff') format('woff');
}

:root {
  --main: #2E654A;
  --sub: #C9A227;
  --bg: #E7F0E9;
  --text: #343434;
  --white: #ffffff;
  --font-ja: "BIZ UDPGothic", sans-serif;
  --font-serif: "BIZ UDP Mincho", serif;
  --font-size: 1rem; /* デフォルト16px */
  --bold: 700;
  --content-width: 1000px;
  --content-width-narrow: 840px;
  --content-width-sp: 320px;
  --space-section: 120px;
  --space-section-sp: 64px;
  --header-height: 72px;
  --header-height-sp: 56px;
}
/* リセットcss */
* { margin: 0; padding: 0; box-sizing: border-box;}
html { font-size: 100%; scroll-padding-top: var(--header-height);}
body {
  font-family: var(--font-ja);
  color: var(--text);
  font-size: var(--font-size);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.05em;
  word-break: break-all;
}
ul, ol { list-style-type: none;}
h1, h2, h3, h4, h5 { font-size: inherit; word-break: auto-phrase;}
a { color: var(--text); text-decoration: none; transition: all 0.3s ease;}
a::before, a::after { transition: all 0.3s ease;}
img { width: 100%; height: auto; vertical-align: bottom;}
iframe { width: 100%; height: 100%; vertical-align: bottom;}
mark, em, small { color: inherit; font-style: normal; font-size: inherit; font-weight: inherit; background-color: transparent;}
strong { color: inherit; font-style: normal; font-size: inherit; font-weight: var(--bold); background-color: transparent;}

/* component */
.l-wrapper {
  max-width: 1920px;
  box-shadow: 0 0 24px rgba(0, 0, 0, .4);
  overflow: hidden;
  margin: auto;
}
.l-inner {
  width: 90%;
  max-width: var(--content-width);
  margin: auto;
}
.c-section {
  padding: 64px 0;
  position: relative;
  z-index: 1;
}
.c-section--bg {
  background-color: var(--bg);
}
.c-btn {
  display: block;
  max-width: max-content;
  color: var(--main);
  font-weight: var(--bold);
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--main);
  padding: 16px 64px 4px 24px;
  margin-top: 16px;
  margin-left: auto;
  position: relative;
}
.c-btn::after {
  content: "";
  display: block;
  width: 1px;
  height: 56px;
  background-color: var(--main);
  transform: rotate(-40deg);
  transform-origin: right bottom;
  position: absolute;
  bottom: 0;
  right: 0;
}
.c-btn:hover {
  padding: 8px 64px 12px 24px;
}
.c-btn--w { color: var(--white); border-color: var(--white);}
.c-btn--w::after { background-color: var(--white);}
.l-breadcrumb {
  width: 90%;
  max-width: var(--content-width);
  margin: auto;
}
.c-breadcrumb {
  font-size: .875rem;
  padding: 40px 0;
}
.c-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--main);
}
.c-breadcrumb a {
  color: var(--main);
}
.c-breadcrumb a:hover {
  text-decoration: underline;
}
.c-breadcrumb li::after {
  content: "/";
  margin: 0 1em;
}
.c-breadcrumb li:last-child:after {
  content: none;
}
.c-coming-soon {
  width: 100%;
  text-align: center;
  margin-top: 40px;
}
.js-scroll-up {
  transition: 0.6s ease-in-out;
  transform: translateY(60px);
  opacity: 0;
}
.js-scroll-up.on {
  transform: translateY(0);
  opacity: 1.0;
}
/* component end */

/* header */
.header {
  width: 90%;
  max-width: 1200px;
  height: var(--header-height);
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 16px;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.28);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0 2%;
  margin: auto;
  z-index: 9;
}
.header__logo {
  width: 25%;
  max-width: 240px;
}
.header__nav-list {
  height: 100%;
  background-color: var(--white);
  display: flex;
  justify-content: flex-end;
  column-gap: 8px;
  row-gap: 4px;
  flex-wrap: wrap;
  color: var(--main);
  font-weight: var(--bold);
}
.header__nav {
  height: 100%;
}
.header__nav-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.header__nav-item a {
  display: block;
  color: var(--main);
  border-radius: 8px;
  padding: 4px 16px;
  position: relative;
}
.header__nav-item a:hover,
.header__nav-item.current a {
  background-color: var(--main);
  color: var(--white);
}
.header__nav-item-sub {
  display: flex;
  justify-content: center;
  width: 100%;
  background-color: var(--main);
  font-size: .875rem;
  border-radius: 20px;
  padding: 24px;
  position: absolute;
  left: 0;
  top: var(--header-height);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .3s;
}
.header__nav-item:hover .header__nav-item-sub {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.header__nav-item-sub li { padding:  0 16px;}
.header__nav-item-sub li:not(:first-child) {
  border-left: 1px solid var(--white);
}
.header__nav-item-sub a {
  color: var(--white);
  line-height: 1;
  border-radius: 2px;
  padding: 0 4px;
}
.header__nav-item-sub a:hover {
  background-color: var(--white);
  color: var(--main);
}
/* header end */

/* footer */
.footer {
  background-color: var(--main);
  color: var(--white);
  font-size: .75rem;
  padding: 48px 5%;
}
.footer__nav-list {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.footer__nav-item a {
  display: block;
  background-color: var(--main);
  color: var(--white);
  border-left: 1px solid var(--white);
  padding: 0 2em;
}
.footer__nav-item a:hover { text-decoration: underline;}
.footer__nav-item:first-of-type a { border: none;}
.footer__info {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 5%;
}
.footer__logo { max-width: 240px;}
.footer__site-view {
  border: 1px solid var(--white);
  padding: 4px 32px;
}
.footer__site-view-head { display: inline-block; width: 6.5em;}
.footer__copy { text-align: center; margin-top: 40px;}
/* footer end */

/* sp-menu */
  .sp-menu {
    display: block;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    position: relative;
  }
  .sp-menu-bar,
  .sp-menu-bar::before,
  .sp-menu-bar::after {
    width: 24px;
    height: 2px;
    background-color: var(--main);
    border-radius: 1px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    transition: transform .3s;
  }
  .sp-menu-bar::before { content: ""; margin-bottom: 6px;}
  .sp-menu-bar::after { content: ""; margin-top: 6px;}
  .active .sp-menu-bar { height: 0;}
  .active .sp-menu-bar::before { transform: rotate(45deg); margin-bottom: -1px;}
  .active .sp-menu-bar::after {transform: rotate(-45deg); margin-top: -1px;}
/* sp-menu end */

/* responsive */
@media (min-width: 1024px) {
  .l-view-sp { display: none;}
}
@media (max-width: 1023px) {
  html { scroll-padding-top: var(--header-height-sp);}
  body { letter-spacing: 0.05em;}
  body.active { height: 100vh; overflow: hidden;}
  .l-view-pc { display: none;}
  .l-inner { max-width: 600px;}
  .c-section { padding: 48px 0;}
  .c-btn { padding: 8px 40px 4px 16px;}
  .c-btn::after { height: 44px;}
  .c-breadcrumb { padding: 24px 0;}
  .header { width: 98%; height: var(--header-height-sp); padding: 8px 2%;}
  .header__logo { width: 180px;}
  .header__nav-list {
    width: 100%;
    height: calc(100vh - var(--header-height-sp) - 16px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    row-gap: 24px;
    font-size: 1rem;
    border-radius: 20px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.28);
    padding: 40px;
    position: absolute;
    left: 0;
    top: calc(var(--header-height-sp) + 8px);
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s;
    z-index: 1;
    overflow: auto;
  }
  .header__nav-list.active { visibility: visible; opacity: 1;}
  .header__nav-list::before {
    content: "- MENU -";
    display: block;
    text-align: center;
  }
  .header__nav-list::after {
    content: "";
    width: 160px;
    aspect-ratio: 1 / 1;
    background: url(../img/emblem.png) no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 32px;
    margin: auto;
    z-index: -1;
  }
  .header__nav-item {
    display: block;
    height: auto;
    background-color: rgba(255, 255, 255, .9);
    border: 1px solid var(--main);
    padding: 8px;
    position: relative;
  }
  .header__nav-item > a {
    display: block;
    min-width: 300px;
    text-align: center;
  }
  .header__nav-item.parent-sub > a { pointer-events: none;}
  .header__nav-item a:hover,
  .header__nav-item.current a { background-color: transparent; color: var(--main);}
  .parent-sub::before,
  .parent-sub::after {
    content: "";
    background-color: var(--main);
    position: absolute;
    transition: transform .3s;
  }
  .parent-sub::before { width: 16px; height: 2px; top: 23px; right: 16px;}
  .parent-sub::after { width: 2px; height: 16px; top: 16px; right: 23px;}
  .parent-sub.open::after { transform: rotate(90deg);}
  .header__nav-item-sub {
    display: block;
    width: auto;
    height: 0;
    background-color: transparent;
    font-weight: 400;
    border-radius: 0;
    padding: 0;
    position: static;
    opacity: 1;
    overflow: hidden;
    visibility: visible;
    pointer-events: auto;
  }
  .header__nav-item-sub li { text-align: center; border-top: 1px dashed var(--main); padding: 8px 0; margin: 0 8px;}
  .header__nav-item-sub li:first-child { margin-top: 8px;}
  .header__nav-item-sub a { color: var(--main); padding: 4px;}
  .footer__nav-list {
    max-width: max-content;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 16px;
    column-gap: 20%;
    margin: 0 auto 48px;
  }
  .footer__nav-item a { min-width: max-content; border: none; padding: 0;}
  .footer__info { flex-direction: column; row-gap: 32px;}
  .footer__logo { width: 180px;}
}
/* responsive end */