@charset "UTF-8";
/* main.scss */
* {
  box-sizing: border-box;
}

body, button, input, select, optgroup, textarea {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
@media (max-width: 600px) {
  body, button, input, select, optgroup, textarea {
    font-size: 14px;
  }
}

a {
  color: #b80000;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: #000;
  color: #fff;
  z-index: 10000;
}

br[class^=br-] {
  display: none;
}

@media (min-width: 600px) {
  br.br-sm {
    display: inline;
  }
}
@media (min-width: 800px) {
  br.br-md {
    display: inline;
  }
}
@media (min-width: 1240px) {
  br.br-lg {
    display: inline;
  }
}
@media (max-width: 600px) {
  br.br-only-sm {
    display: inline;
  }
}
.img-sm-only, .img-md-only, .img-lg-only {
  display: none;
}

@media (max-width: 600px) {
  .img-sm-only {
    display: block;
  }
}
@media (min-width: 600px) {
  .img-sm-up {
    display: block;
  }
}
@media (max-width: 800px) {
  .img-md-only {
    display: block;
  }
}
@media (min-width: 800px) {
  .img-md-up {
    display: block;
  }
}
@media (min-width: 1240px) {
  .img-lg-up {
    display: block;
  }
}
p {
  margin: 0.5em auto 1em;
}
p:first-child {
  margin-top: 0;
}

:root {
  --page-padding: 1.5rem;
}

.entry-content {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: var(--page-padding);
  position: relative;
}

.entry-content > .alignwide {
  max-width: 1240px;
  margin-inline: auto;
}

.entry-content > .alignfull {
  width: var(--vw);
  max-width: var(--vw);
  margin-left: 50%;
  transform: translateX(-50%);
  padding-inline: var(--page-padding);
}

body {
  overflow-x: hidden;
}

.entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
  color: #b80000;
  margin: 2em auto 1em;
}
.entry-content h2 {
  font-size: 1.8em;
}
.entry-content h3 {
  font-size: 1.6em;
}
.entry-content h4 {
  font-size: 1.4em;
}
.entry-content h5 {
  font-size: 1.3em;
}
.entry-content h6 {
  font-size: 1.2em;
}

/* =========================================================
   Header (fixed) + SP Menu Button + Mobile Nav
   ========================================================= */
header#header {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  background: #b2b2b2;
  z-index: 1000;
  /* -----------------------------------------
     Hamburger button
     ----------------------------------------- */
}
header#header .header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
header#header .sp-menu {
  /* 初期は非表示（PC）。md以下で出す */
  display: none;
}
@media (max-width: 800px) {
  header#header .sp-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* ボタンリセット */
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    border: 0;
    background: #b80000;
    color: #fff;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s ease;
    /* 3本のバー（span）はボタン内の中央に重ねる */
    /* active（開）でX化 */
  }
  header#header .sp-menu span {
    position: absolute;
    left: 20%;
    width: 60%;
    height: 2px;
    background: #fff;
    transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
  }
  header#header .sp-menu span:nth-child(1) {
    top: 14px;
  }
  header#header .sp-menu span:nth-child(2) {
    top: 23px;
  }
  header#header .sp-menu span:nth-child(3) {
    top: 32px;
  }
  header#header .sp-menu:hover, header#header .sp-menu:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
  }
  header#header .sp-menu.active span:nth-child(1) {
    top: 23px;
    transform: rotate(45deg);
  }
  header#header .sp-menu.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.4);
  }
  header#header .sp-menu.active span:nth-child(3) {
    top: 23px;
    transform: rotate(-45deg);
  }
}

/* -----------------------------------------
   Mobile nav container (下層にオーバーレイ)
   JSで top を header 高さに合わせて調整
   ----------------------------------------- */
.sp-nav-area {
  /* まずは非表示（アニメに優しい切替） */
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  max-height: calc(100dvh - var(--header-h, 0px));
  overflow-y: auto;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: visibility 0.2s step-end, opacity 0.2s ease;
  /* ナビ内のリスト等は任意で */
}
@media (min-width: 800px) {
  .sp-nav-area {
    /* PC幅では通常ナビを使う前提：ここは隠す */
    display: none;
  }
}
.sp-nav-area.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.2s ease;
}
.sp-nav-area .menu {
  list-style: none;
  margin: 0;
  padding: 12px 16px;
}
.sp-nav-area .menu li + li {
  border-top: 1px solid #eee;
}
.sp-nav-area .menu a {
  display: block;
  padding: 14px 8px;
  color: inherit;
  text-decoration: none;
}
.sp-nav-area .menu a:hover, .sp-nav-area .menu a:focus-visible {
  background: #f5f5f5;
}

/* 背景スクロール抑止（html に .is-fixed を付与） */
html.is-fixed {
  overflow: hidden;
}

/* ユーザーが簡易表示を希望する場合の配慮（任意） */
@media (prefers-reduced-motion: reduce) {
  .sp-menu span {
    transition: none;
  }
  .sp-nav-area {
    transition: none;
  }
}
@media (min-width: 1001px) {
  .global-nav-area {
    display: block;
  }
  .global-menu-list {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .global-menu-list > li {
    position: relative;
  }
  .global-menu-list > li > a {
    display: block;
    padding: 0.75rem 0;
    text-decoration: none;
  }
  .global-menu-list > li > .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid #ddd;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    display: none;
    z-index: 999;
  }
  .global-menu-list > li > .sub-menu > li > a {
    display: block;
    padding: 0.5rem 1rem;
    white-space: nowrap;
  }
  .global-menu-list > li:hover > .sub-menu {
    display: block;
  }
  .sp-menu {
    display: none;
  }
}
@media (max-width: 1000px) {
  .global-nav-area {
    display: none;
  }
  .sp-nav-area {
    display: none;
    position: fixed;
    inset: 0 0 0 auto;
  }
  .sp-nav-area.active {
    display: block;
  }
}
.entry-content {
  max-width: 1000px;
  width: calc(100% - 1em);
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.2);
  padding: 3em;
  margin: 5em auto;
}
@media (max-width: 800px) {
  .entry-content {
    padding: 3em 1.5em;
  }
}

footer {
  margin: 1em;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}
.breadcrumbs li + li::before {
  content: ">";
  margin-right: 0.5rem;
  color: #999;
}

.wp-block-button .wp-block-button__link:hover {
  background-color: black;
  color: white;
  border-color: black;
}

.is-provider-youtube .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.is-provider-youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

figure.wp-block-embed.aligncenter.is-type-video.is-provider-youtube.wp-block-embed-youtube {
  text-align: center;
}/*# sourceMappingURL=main.css.map */