/* ==========================================================================
   基本設定
   ========================================================================== */
html {
  background: #ffffff;
  font-size: 100%; /* 標準サイズ */
  transition: font-size 0.3s ease;
}
body {
  letter-spacing: -0.01em;
  line-height: 1.7;
  color: #380707;
  background-color: #fff;
  font-family: 'Zen Kaku Gothic New', "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 500;
}
#wrapper {
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  -webkit-backface-visibility: hidden;
  image-rendering: -webkit-optimize-contrast;
  flex-shrink: 0;
}
div {
  position: relative;
}
table {
  color: #380707;
  text-align: left;
}
table ol {
  margin-bottom: 0;
}
a {
  color: #380707;
  transition: all 0.3s ease;
  text-decoration: none;
}
a:hover {
  color: #72513B;
  opacity: 0.7;
  text-decoration: none;
}
b, strong, .bold {
  font-weight: bold;
}
.btn, .btn-sm, .btn-lg, .small, .card-text, .card-title, .navbar-nav .nav-link, .dropdown-item, .breadcrumb-item, .modal-title, .alert, .alert-link, .list-group-item, a, button, label, th, td {
  font-weight: inherit !important;
}
.text {
  font-weight: 400 !important;
}
@media (min-width: 1200px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1030px;
  }
}
@media (min-width: 992px) {
  .container, .container-lg, .container-md, .container-sm {
    max-width: 1030px;
  }
}
@media (min-width: 768px) {
  .container, .container-md, .container-sm {
    max-width: 1030px;
  }
}
.rounded {
  border-radius: .5rem !important;
}
.mb-4{
    margin-bottom: 1.7rem;
}
.mt-4{
    margin-top: 1.7rem;
}
.my-4{
    margin-bottom: 1.7rem;
    margin-top: 1.7rem;
}
/* ==========================================================================
   フォントクラス
   ========================================================================== */
.gothic {
  font-family: 'Zen Kaku Gothic New', "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
}
.mincho {
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", "Sawarabi Mincho", serif;
}
/* ==========================================================================
   見出しサイズ
   ========================================================================== */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: bold;
  line-height: 1.7;
}
h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.1rem;
}
h6 {
  font-size: 1rem;
}
/* ==========================================================================
   フォントサイズユーティリティ
   ========================================================================== */
.small {
  font-size: 90%;
}
.xsmall {
  font-size: 80%;
}
.xxsmall {
  font-size: 70%;
}
.xxxsmall {
  font-size: 60%;
}
.large {
  font-size: 120%;
}
.xlarge {
  font-size: 140%;
}
.xxlarge {
  font-size: 160%;
}
.xxxlarge {
  font-size: 200%;
}
.lead {
  font-size: 1.15rem;
}
.line-h11 {
    line-height: 1.1;
}
.line-h12 {
    line-height: 1.2;
}
.line-h13 {
    line-height: 1.3;
}
.line-h14 {
    line-height: 1.4;
}
.line-h15 {
    line-height: 1.5;
}
.line-h16 {
    line-height: 1.6;
}
/* ==========================================================================
   ヘッダー設定
   ========================================================================== */
#HeaderWrapper {
  background-color: #fff;
  font-size: clamp(14px, 1.3vw, 16px);
  font-weight: 500;
}
#HeaderWrapper .small, #HeaderWrapper .btn {
  font-weight: 500 !important;
}
.logo-img {
  max-height: 50px;
  max-width: 50vw;
  height: auto;
}
@media (min-width: 1200px) {
  .logo-img {
    max-height: 60px;
  }
}
nav .nav-link {
  font-weight: 500;
  white-space: nowrap;
}
/* 文字サイズ変更ボタンの共通クラス */
#fontSizeControls .btn {
  font-size: 0.9rem; /* フォントサイズ固定 */
  padding: 0.25rem 0.75rem; /* 高さ・幅感の固定 */
  line-height: 1.2;
  min-width: 60px; /* 幅をそろえる */
  white-space: nowrap;
}
/* 選択中のボタンに背景をつける例（画像のように） */
#fontSizeControls .btn.active {
  background-color: #6c757d;
  color: #fff;
  border-color: #6c757d;
  box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25);
}
/* === ハンバーガーボタン === */
#hamburgerBtn {
  width: 42px;
  height: 42px;
  background-color: #f1c40f;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
#hamburgerIcon, #closeMenuBtn {
  font-size: 20px;
  color: #fff;
}
/* === モバイルメニュー === */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}
.mobile-menu-inner {
  max-width: 400px;
  margin: 0 auto;
  padding: 1rem 0;
}
body.modal-open {
  overflow: hidden;
}
.mobile-menu-inner .card {
  background-color: transparent;
  border-radius: 0;
  border: none;
  letter-spacing: 1px;
}
.mobile-menu-inner .card-header, .mobile-menu-inner .card button {
  background-color: transparent;
}
.stretched-hyphen {
  display: inline-block;
  transform: scaleX(1.8);
  line-height: 1;
}
/* ==========================================================================

   フッター設定
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
  display: none;
  text-align: center;
  text-decoration: none;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  color: #380707;
  transition: color 0.3s ease, border-color 0.3s ease, bottom 0.3s ease;
}
.back-to-top .circle-arrow {
  width: 60px;
  height: 60px;
  border: 1px solid currentColor;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top .arrow-up {
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(-45deg);
}
.back-to-top .back-text {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: currentColor;
  font-weight: 400;
}
.back-to-top.on-brown {
  color: #fff;
}
.back-to-top.bottom-shifted {
  bottom: 5rem;
}
@media (max-width: 575px) {
  .back-to-top.bottom-shifted {
    bottom: 7rem;
  }
}
/* ==========================================================================
   ユーティリティクラス・レイアウト補助
   ========================================================================== */
.table{
    color: inherit;
}

.rounded-lg {
  border-radius: 0.8rem !important;
}
.img-responsive {
  width: 100%;
  max-width: 100%;
}
.title {
  letter-spacing: 1px;
    font-weight: 500;
    line-height: 1.3;
}
p.date {
  font-size: 80%;
}
.arrow-box h3 {
  font-size: 230%;
  line-height: 1;
  letter-spacing: 2px;
}
.arrow-box {
  position: relative;
  display: block;
  text-align: center;
  text-decoration: none;
  background: #fff;
  padding: 1rem 1rem 1.3rem;
  color: #380707;
  border: #380707 1px solid;
  overflow: visible;
}
/* 右下の線をカットする */
.arrow-box::after {
  content: "";
  position: absolute;
  bottom: 0px;
  right: -1px;
  width: 3px;
  height: 20px;
  background: #fff;
  z-index: 2;
}
/* → 矢印本体 */
.arrow-line {
  position: absolute;
  right: 5px;
  bottom: -9px;
  width: 20px;
  height: 20px;
  z-index: 3;
}
.arrow-line::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 12px;
  height: 12px;
  border-top: 1px solid #5c3b3b;
  border-right: 1px solid #5c3b3b;
  transform: rotate(45deg);
  transform-origin: bottom right;
}
.mark, mark{
    background-color: #fcea8d!important;
}