@charset "UTF-8";
/* reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:where([hidden]:not([hidden='until-found'])) {
  display: none !important;
}

:where(html) {
  -webkit-text-size-adjust: none;
  color-scheme: normal;
}

@supports not (min-block-size: 100dvb) {
  :where(html) {
    block-size: 100%;
  }
}
@media (prefers-reduced-motion: no-preference) {
  :where(html:focus-within) {
    scroll-behavior: smooth;
  }
}
:where(body) {
  block-size: 100%;
  block-size: 100dvb;
  line-height: 1.5;
  font-family: system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

:where(input, button, textarea, select) {
  font: inherit;
  color: inherit;
}

:where(textarea) {
  resize: vertical;
  resize: block;
}

:where(button, label, select, summary, [role='button'], [role='option']) {
  cursor: pointer;
}

:where(:disabled) {
  cursor: not-allowed;
}

:where(label:has(> input:disabled), label:has(+ input:disabled)) {
  cursor: not-allowed;
}

:where(button) {
  border-style: solid;
}

:where(a) {
  text-underline-offset: 0.2ex;
}

:where(ul, ol) {
  list-style: none;
}

:where(img, svg, video, canvas, audio, iframe, embed, object) {
  display: block;
}

:where(img, picture, svg) {
  max-inline-size: 100%;
  block-size: auto;
}

:where(p, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
}

:where(h1, h2, h3) {
  line-height: calc(1em + 0.5rem);
}

:where(hr) {
  border: none;
  border-block-start: 1px solid;
  color: inherit;
  block-size: 0;
  overflow: visible;
}

:where(:focus-visible) {
  outline: 2px solid var(--focus-color, Highlight);
  outline-offset: 2px;
}

:where(.visually-hidden:not(:focus, :active, :focus-within, .not-visually-hidden)) {
  clip-path: inset(50%) !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden !important;
  position: absolute !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* 共通項目 */
* {
  font-family: "Noto Sans", sans-serif;
}

h1 {
  width: clamp(250px, 50vw, 400px);
  margin: 0 auto clamp(20px, 5vw, 30px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 0;
  background: url("../img/common/h1.png") repeat-x;
  background-size: contain;
  color: white;
  letter-spacing: 0.2ch;
  font-size: clamp(18px, 2.7vw, 24px);
}

h2, h4, p {
  color: #231815;
}

h2 {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: clamp(16px, 2.4vw, 22px);
  font-size: clamp(16px, 2.4vw, 22px);
}
h2::before {
  content: "";
  display: inline-flex;
  height: 1.3ch;
  aspect-ratio: 1/1;
  background: #9cc715;
  margin-right: 1ch;
  margin-top: 0.65ch;
}
h2::after {
  content: "";
  height: 2px;
  width: 80%;
  margin-top: clamp(10px, 2.5vw, 15px);
  background: linear-gradient(90deg, #9cc715, rgba(156, 199, 21, 0));
}

h3 {
  color: #65ab30;
  font-weight: 700;
  font-size: clamp(16px, 2.4vw, 22px);
  margin-bottom: clamp(16px, 2.4vw, 22px);
}

h4 {
  display: inline-flex;
  font-weight: 400;
  vertical-align: middle;
  font-size: clamp(14px, 2vw, 18px);
  margin-bottom: clamp(14px, 2vw, 18px);
}
h4::before {
  content: "";
  height: 1.3ch;
  aspect-ratio: 1/1;
  background: #9cc715;
  margin-right: 1ch;
  border-radius: 50%;
  margin-top: 0.65ch;
}

p {
  font-size: clamp(14px, 2vw, 18px);
  margin-bottom: clamp(14px, 2vw, 18px);
}

h5 {
  font-size: clamp(14px, 2vw, 18px);
}

th {
  white-space: nowrap;
  font-weight: 400;
  padding-right: clamp(14px, 2vw, 18px);
}

th, td {
  font-size: clamp(14px, 2vw, 18px);
  vertical-align: top;
}

.doubleimg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 5vw, 30px);
  margin-bottom: clamp(20px, 5vw, 30px);
}
@media screen and (max-width: 991.98px) {
  .doubleimg {
    grid-template-columns: 1fr;
  }
}

.pcnone {
  display: none;
}
@media screen and (max-width: 575.98px) {
  .pcnone {
    display: block;
  }
}

.right {
  text-align: right;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sp-more-btn {
  width: 150px;
  padding: 5px 15px;
  border: none;
  background: #9cc715;
  color: white;
  font-weight: 700;
  display: none;
}
.sp-more-btn::before {
  content: "もっと見る ▼";
}
.sp-more-btn.active {
  background: #65ab30;
}
.sp-more-btn.active::before {
  content: "閉じる ▲";
}
@media screen and (max-width: 575.98px) {
  .sp-more-btn {
    display: block;
  }
}

@media screen and (max-width: 575.98px) {
  .sp-hidden-text {
    opacity: 0;
    visibility: hidden;
    height: 0;
    transition: opacity 0.4s,height 0.6s;
  }
  .sp-hidden-text.active {
    opacity: 1;
    visibility: visible;
    height: auto;
  }
}

/* ヘッダー */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: #000;
}
header .logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
@media screen and (max-width: 991.98px) {
  header .logo {
    justify-content: space-between;
    padding: clamp(20px, 5vw, 30px);
  }
}
header .logo a {
  color: white;
  font-weight: 700;
  font-size: clamp(24px, 8vw, 36px);
  text-decoration: none;
}
header .container {
  width: 100%;
  max-width: 1000px;
  padding: clamp(20px, 5vw, 30px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
@media screen and (max-width: 991.98px) {
  header .container {
    grid-template-columns: 1fr;
    padding: 0;
  }
}
@media screen and (max-width: 991.98px) {
  header nav {
    background: #888;
    padding: 0;
    opacity: 0;
    height: 0;
    visibility: hidden;
    transition: opacity 0.4s,height 0.6s;
  }
}
@media screen and (max-width: 991.98px) {
  header nav.active {
    padding: clamp(10px, 2.5vw, 15px) clamp(20px, 5vw, 30px);
    opacity: 1;
    visibility: visible;
    height: auto;
  }
}
header nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
@media screen and (max-width: 991.98px) {
  header nav ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 575.98px;
    margin: 0 auto;
  }
}
header nav ul li a {
  display: block;
  color: white;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  margin: 0 clamp(10px, 2.5vw, 15px) 0 0;
}
@media screen and (max-width: 991.98px) {
  header nav ul li a {
    padding: clamp(5px, 1.25vw, 7.5px) clamp(20px, 5vw, 30px);
    margin: 0;
  }
}

button.spnav {
  position: relative;
  background: none;
  border: none;
  height: 25px;
  display: none;
  flex-direction: column;
  aspect-ratio: 6/5;
}
button.spnav.active span:first-of-type {
  transform: translateY(10.5px) rotate(45deg);
}
button.spnav.active span:nth-of-type(2) {
  opacity: 0;
  transform: translateY(10.5px) translateX(-15px);
}
button.spnav.active span:last-of-type {
  transform: translateY(10.5px) rotate(-45deg);
}
@media screen and (max-width: 991.98px) {
  button.spnav {
    display: flex;
  }
}
button.spnav span {
  display: block;
  position: absolute;
  width: 100%;
  height: 4px;
  background: white;
  transition: all 0.2s;
}
button.spnav span:first-of-type {
  transform: translateY(0);
}
button.spnav span:nth-of-type(2) {
  transform: translateY(10.5px);
}
button.spnav span:last-of-type {
  transform: translateY(21px);
}

/* フッター */
footer {
  background: #000;
  padding: 40px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

p.copyright {
  color: white;
  margin: 0;
}

/*メインコンテンツ*/
section:not(#mv) {
  padding: clamp(20px, 5vw, 30px) 0;
}
section .container {
  width: 90%;
  max-width: 1000px;
  padding: clamp(20px, 5vw, 30px);
  margin: 0 auto;
}
section .container.bg-white {
  background: white;
}

#mv {
  aspect-ratio: 30/7;
}
#mv picture {
  width: 100%;
  height: auto;
}
#mv picture img {
  width: 100%;
  height: auto;
}
@media screen and (max-width: 991.98px) {
  #mv {
    aspect-ratio: 75/38;
  }
}

#about, #contact {
  background: #f0f7dc;
}

picture {
  display: block;
  margin-bottom: clamp(20px, 5vw, 30px);
}
picture img {
  width: 100%;
}

.withimgbox {
  display: grid;
  grid-template-areas: "title picture" "word picture";
  grid-template-rows: 1.5em 1fr;
  gap: clamp(14px, 2vw, 18px) clamp(10px, 1.5vw, 12px);
}
.withimgbox > h4 {
  grid-area: title;
}
.withimgbox > picture {
  grid-area: picture;
  width: clamp(98px, 30vw, 130px);
}
.withimgbox > p {
  grid-area: word;
}
@media screen and (max-width: 991.98px) {
  .withimgbox {
    grid-template-areas: "title title" "word picture";
  }
}

.proftable {
  width: max-content;
  margin: 0 auto;
  display: grid;
  grid-template-rows: clamp(24px, 3.3vw, 30px) clamp(24px, 3.3vw, 30px) auto clamp(24px, 3.3vw, 30px);
  grid-template-columns: clamp(70px, 10vw, 100px) auto;
  grid-template-areas: "name name" "from_t from_c" "hist_t hist_c" "motto_t motto_c";
}
.proftable > .name {
  grid-area: name;
}
.proftable > .from_t {
  grid-area: from_t;
  white-space: nowrap;
}
.proftable > .from_c {
  grid-area: from_c;
}
.proftable > .hist_t {
  grid-area: hist_t;
  white-space: nowrap;
}
.proftable > .hist_c {
  grid-area: hist_c;
  max-width: 90vw;
}
.proftable > .motto_t {
  grid-area: motto_t;
  white-space: nowrap;
}
.proftable > .motto_c {
  grid-area: motto_c;
}
@media screen and (max-width: 991.98px) {
  .proftable {
    grid-template-areas: "name name" "from_t from_c" "hist_t hist_t" "hist_c hist_c" "motto_t motto_c";
    grid-template-rows: clamp(24px, 3.3vw, 30px) clamp(24px, 3.3vw, 30px) clamp(24px, 3.3vw, 30px) auto clamp(24px, 3.3vw, 30px);
  }
}

#contact table {
  width: max-content;
  max-width: 90vw;
  margin: 0 auto;
  border-spacing: clamp(10px, 1.5vw, 12px);
}
#contact table th h5 {
  background: #9cc715;
  color: white;
  padding: 5px 10px;
  font-weight: 400;
}
#contact table td {
  vertical-align: middle;
}

.bold {
    font-weight: bold;
    color: red;
}