body {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: url("../img/bg_bottom.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-attachment: fixed;
  background-size: cover;
  margin: 0 auto;
  padding-top: var(--nav-offset, 6rem);
}
:root {
  --nav-offset: 6rem;
}
html {
  scroll-padding-top: var(--nav-offset, 6rem);
  overflow-x: clip;
  font-size: 0.95em;
}
header {
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 100;
}
header > .nav-toggle {
  display: none;
  position: fixed;
  top: clamp(0.5rem, 2vmin, 1rem);
  right: clamp(0.5rem, 2vmin, 1rem);
  z-index: 101;
  width: clamp(2.25rem, 10vmin, 3.5rem);
  height: clamp(2.25rem, 10vmin, 3.5rem);
  border: 1px solid rgba(0,0,0,0.3);
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  padding: clamp(0.3rem, 1.2vmin, 0.55rem);
  cursor: pointer;
  box-sizing: border-box;
}
header > .nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #111;
  margin: 0.25rem 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
nav {
  font-family: 'Noto Serif JP', serif;
  width: 100%;
  min-height: 5rem;
  display: flex;
  align-items: center;
  position: relative;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 0.5rem 1.25rem;
  justify-content: center;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.7) 60%, rgba(255,255,255,0) 100%);
}
nav::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.7) 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.7) 60%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}
nav ul.nav-menu {
  margin: 0;
  padding: 0;
  gap: 1.2rem;
  list-style: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
}
nav ul.nav-menu li::before {
  content: none;
}
nav ul.nav-menu li {
  margin: 0;
  padding: 0;
}
nav ul.nav-menu li a {
  display: block;
  color: #111;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  padding: 0.4rem 0.25rem;
  transition: filter 0.5s;
}
nav ul.nav-menu li a:hover {
  filter: drop-shadow(0 0 0.5rem #ff4fd1) drop-shadow(0 0 0.5rem #ff4fd1);
}
main {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  flex: 1;
  background-color: rgba(255,255,255,0.33);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Noto Serif JP', serif;
}
h5 {
  font-size: 1.15rem;
  margin-top: 0.3em;
  margin-bottom: 0.3em;
}
h4 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #2b140b;
  margin: 1.5rem 0 0.5rem;
  padding-left: 0.5rem;
  border-left: 4px solid #8b4513;
}
h2 {
  width: 80%;
  font-size: 2.4rem;
  text-align: center;
  padding-left: 5%;
  padding-right: 5%;
  padding-top: 0.5rem;
  padding-bottom: 2.05rem;
  margin: 0.8rem auto;
  position: relative;
  isolation: isolate;
  background: linear-gradient(to bottom, #d47e4a 0%, #62381c 40%, #170d07 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
h2:has(.h2-inner) {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  color: inherit;
}
h2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("../img/midashi_base.png") center/contain no-repeat;
  z-index: -1;
}
h2 .h2-inner {
  background: linear-gradient(to bottom, #d47e4a 0%, #62381c 40%, #170d07 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 0.3em #fcffdc);
}
main > :first-child {
  margin-top: 0rem;
  padding-top: 0;
}
[id] {
  scroll-margin-top: var(--nav-offset, 6rem);
}
section > :first-child {
  margin-top: 0rem;
}
.section-box {
  position: relative;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: rgba(113,135,164,0.3) 0 0 2px 0;
  background-color: transparent;
  padding: 15px 26px;
  margin: 4px auto 20px;
  max-width: 900px;
  width: calc(100% - 2rem);
  box-sizing: border-box;
}
.section-box::before {
  content: '';
  position: absolute;
  inset: 3px;
  background-color: rgba(255,255,255,0.3);
  box-shadow: rgba(113,139,173,0.35) 0 0 3px 1px;
  z-index: -1;
  pointer-events: none;
}
.section-box h3 {
  font-size: 1.2rem;
  color: #2b140b;
  margin: 0 0 1rem;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #8b4513;
}
footer {
  position: relative;
  bottom: 0%;
  height: 140px;
  background-color: #fff;
  background-image: url("../img/under_menu_parts.png");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
footer #comlink {
  position: relative;
  right: 0;
  text-align: right;
  padding: 0.5rem 1rem 0;
}
footer #copyright {
  position: relative;
  text-align: center;
  bottom: 1rem;
  font-size: 0.8rem;
  color: #aaa;
}
.sns-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #111;
  color: #fff;
  transition: opacity 0.2s;
  text-decoration: none;
}
.sns-btn svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: #fff;
}
.sns-btn:hover,
.sns-btn:focus-visible {
  opacity: 0.75;
}
body.menu-open {
  overflow: hidden;
}
@media (max-width: 850px) {
  :root {
    --nav-offset: 0rem;
  }
  header nav {
    display: none;
  }
  header > .nav-toggle {
    display: block;
  }
  header.is-open nav {
    display: block;
    min-height: 0;
    padding: 0;
    background: none;
    position: static;
    width: auto;
  }
  header.is-open nav::before {
    display: none;
  }
  header.is-open nav ul.nav-menu {
    display: flex;
    position: fixed;
    inset: 0;
    margin: 0;
    padding: 2rem 1.5rem;
    list-style: none;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    z-index: 1000;
    animation: menu-fade-in 0.2s ease forwards;
  }
  header.is-open nav ul.nav-menu li a {
    font-size: 20px;
    text-align: center;
    padding: 0.75rem 1.5rem;
  }
  header.is-closing nav {
    display: block;
    min-height: 0;
    padding: 0;
    background: none;
    position: static;
    width: auto;
  }
  header.is-closing nav::before {
    display: none;
  }
  header.is-closing nav ul.nav-menu {
    display: flex;
    position: fixed;
    inset: 0;
    margin: 0;
    padding: 2rem 1.5rem;
    list-style: none;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    z-index: 1000;
    animation: menu-fade-out 0.3s ease forwards;
  }
  header.is-open > .nav-toggle {
    z-index: 1002;
  }
  header.is-open > .nav-toggle span:nth-child(1) {
    transform: translateY(calc(0.25rem + 2px)) rotate(45deg);
  }
  header.is-open > .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  header.is-open > .nav-toggle span:nth-child(3) {
    transform: translateY(calc(-0.25rem - 2px)) rotate(-45deg);
  }
  h2 {
    width: 100%;
    max-width: 750px;
    aspect-ratio: 750/120;
    font-size: clamp(1.2rem, 5.12vw, 2.4rem);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0.4em;
  }
  h2::before {
    background-image: url("../img/sp/midashi_base_sp.png");
  }
  h2 .h2-inner {
    white-space: nowrap;
    max-width: 58%;
  }
  section {
    padding-left: 0;
    padding-right: 0;
  }
}
html.is-mobile-portrait {
  --nav-offset: 0rem;
}
html.is-mobile-portrait header nav {
  display: none;
}
html.is-mobile-portrait header > .nav-toggle {
  display: block;
}
html.is-mobile-portrait header.is-open nav {
  display: block;
  min-height: 0;
  padding: 0;
  background: none;
  position: static;
  width: auto;
}
html.is-mobile-portrait header.is-open nav::before {
  display: none;
}
html.is-mobile-portrait header.is-open nav ul.nav-menu {
  display: flex;
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 2rem 1.5rem;
  list-style: none;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  z-index: 1000;
  animation: menu-fade-in 0.2s ease forwards;
}
html.is-mobile-portrait header.is-open nav ul.nav-menu li a {
  font-size: 20px;
  text-align: center;
  padding: 0.75rem 1.5rem;
}
html.is-mobile-portrait header.is-closing nav {
  display: block;
  min-height: 0;
  padding: 0;
  background: none;
  position: static;
  width: auto;
}
html.is-mobile-portrait header.is-closing nav::before {
  display: none;
}
html.is-mobile-portrait header.is-closing nav ul.nav-menu {
  display: flex;
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 2rem 1.5rem;
  list-style: none;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  z-index: 1000;
  animation: menu-fade-out 0.3s ease forwards;
}
html.is-mobile-portrait header.is-open > .nav-toggle {
  z-index: 1002;
}
html.is-mobile-portrait header.is-open > .nav-toggle span:nth-child(1) {
  transform: translateY(calc(0.25rem + 2px)) rotate(45deg);
}
html.is-mobile-portrait header.is-open > .nav-toggle span:nth-child(2) {
  opacity: 0;
}
html.is-mobile-portrait header.is-open > .nav-toggle span:nth-child(3) {
  transform: translateY(calc(-0.25rem - 2px)) rotate(-45deg);
}
html.is-mobile-portrait h2 {
  width: 100%;
  max-width: 750px;
  aspect-ratio: 750/120;
  font-size: clamp(1.2rem, 5.12vw, 2.4rem);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0.4em;
}
html.is-mobile-portrait h2::before {
  background-image: url("../img/sp/midashi_base_sp.png");
}
html.is-mobile-portrait h2 .h2-inner {
  white-space: nowrap;
  max-width: 58%;
}
html.is-mobile-portrait section {
  padding-left: 0;
  padding-right: 0;
}
.hex-btn {
  display: inline-block;
  background: linear-gradient(to bottom, #62381c 0%, #111 100%);
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-weight: bold;
  font-size: 0.95rem;
  padding: 0.6rem 2.2rem;
  text-decoration: none;
  text-align: center;
  clip-path: polygon(0% 50%, 8% 0%, 92% 0%, 100% 50%, 92% 100%, 8% 100%);
  transition: opacity 0.2s;
  width: 16rem;
}
.hex-btn:hover,
.hex-btn:focus-visible {
  opacity: 0.85;
}
.hex-btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}
.entry-form-buttons,
.form-buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}
.entry-form-buttons button,
.form-buttons button {
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.95rem;
}
.entry-form-buttons button[type="submit"],
.form-buttons button[type="submit"] {
  background: #8b4513;
  color: #fff;
}
.entry-form-buttons button[type="submit"]:hover,
.form-buttons button[type="submit"]:hover {
  background: #6b3510;
}
.entry-form-buttons button[type="submit"]:disabled,
.form-buttons button[type="submit"]:disabled {
  background: #bbb;
  cursor: not-allowed;
}
.entry-form-buttons button[type="reset"],
.form-buttons button[type="reset"] {
  background: #eee;
  color: #333;
}
.entry-form-buttons button[type="reset"]:hover,
.form-buttons button[type="reset"]:hover {
  background: #ddd;
}
@-moz-keyframes menu-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes menu-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-o-keyframes menu-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes menu-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-moz-keyframes menu-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@-webkit-keyframes menu-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@-o-keyframes menu-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes menu-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
