@charset 'UTF-8';
/***** CSS Document onoue water works *****/
@import url('sanitize.css');

/* アンカーリンク 2510追加*/
:root{
  --header-offset: 84px; /* SPのヘッダー高さに合わせる */
}
html{
  scroll-padding-top: var(--header-offset);
  scroll-behavior: smooth; /* 任意：なめらかスクロール */
}
/* WordPressの管理バーを考慮（ログイン時のみ上が増える） */
body.admin-bar{
  --header-offset: calc(64px + 46px); /* 46pxはWP管理バーの高さ（SP想定）*/
}
/* PC用（ヘッダーが高いなら上書き） */
@media (min-width: 1024px){
  :root{ --header-offset: 96px; }
  body.admin-bar{ --header-offset: calc(96px + 32px); } /* PC管理バーは32px */
}

/***** Noto Sans JP用 *****/
:root {
--bs-font-sans-serif: "Noto Sans JP", "Hiragino Sans", "ヒラギノ角ゴ ProN",
"Yu Gothic", "游ゴシック体", "Meiryo", system-ui, -apple-system,
"Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
/* 念のため本文にも指定（古いテーマや上書き対策） */
body {
  font-family: var(--bs-font-sans-serif);
  font-feature-settings: "palt" 1; /* 任意: かなのプロポーショナル詰め */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/***** Common ST *****/
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  font-family: 
  "Century Gothic", CenturyGothic, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, メイリオ, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "Yu Gothic", YuGothic, "MS PGothic", Osaka, arial, sans-serif;
  font-size: 16px;
  line-height: 1.8rem;
  letter-spacing: 0.07rem;
}

* {
  word-wrap: break-word;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/***** sp pc *****/
.sp {
  display: block !important;
}
.pc,
.ipad {
  display: none !important;
}

/***** link *****/
a {
  text-decoration: none;
}
a:hover {
  opacity: 0.8;
}
a[href^='tel:'] {
  cursor: default;
}
a:hover {
  opacity: 1 !important;
}

section {
  padding: 3rem 0;
}
section:nth-of-type(-n+1) {
  padding-top: 0;
}
section:nth-last-of-type(n+1) {
  padding-bottom: 0;
}
img {
  width: 100%;
  max-width: 100%;
}
ul {
  margin: 0;
  padding: 0;
}
ul li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
h1,h2,h3,h4,h5 {
  margin: 0;
  padding: 2rem 0 0;
  font-weight: 700;;
  line-height: 1.3;
}
section:nth-of-type(-n+1) h2 {
  margin-top: 0;
  padding-top: 0;
}
input,button,textarea,select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
input[type='text'], input[type='search'], input[type='tel'], input[type='url'], input[type='email'], input[type='password'], input[type='datetime'], input[type='datetime-local'], input[type='date'], input[type='month'], input[type='week'], input[type='time'], input[type='number'], input[type='file'], textarea,
select {
  width: 100%;
  height: 2.8rem;
  font-size: 14px;
}
textarea {
  min-height: 100px;
}
form .care {
  margin-left: .5rem;
  color: firebrick;
  font-size: 12px;
}

input::placeholder,
textarea::placeholder {
  color: #ccc;
}

/***** header *****/
#h_fixed {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 0 0 10px 10px;
  z-index: 10000;
}
.navigation-box {
  min-height: 80px;
  -webkit-transition: 0.6s ease;
  transition: 0.6s ease;
  width: 100%;
}
.navigation {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.navigation > li:nth-of-type(1) {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  height: 80px;
  padding: 0 0 0 0.5rem;
  position: relative;
}

#hamburger {
  position: relative;
  cursor: pointer;
  padding: 39px 7%;
  background: url(../img/bg-100.jpg) no-repeat 0 0;
  background-size: cover;
}
#hamburger span,
#hamburger span::before,
#hamburger span::after {
  display: block;
  background: #fff;
  height: 2px;
  width: 26px;
  -webkit-transition: 0.6s ease;
  transition: 0.6s ease;
}
#hamburger span::before {
  content: '';
  position: absolute;
  margin-top: -8px;
}
#hamburger span::after {
  content: '';
  position: absolute;
  margin-top: 8px;
}
#hamburger p {
  position: fixed;
 /* top: 50px; */
  right: 6%;
  width: auto;
  text-align: center;
  font-size: 2vw;
  line-height: 1.2rem;
  margin: 15px auto;
}
.logo {
  /* width: 75%; */
}
.logo img {
 /* max-width: 548px; */
 margin: 0 24px 0 0;
 /* width: 220px; */
 max-height: 60px;
}
.logo a {
 /* display: block; */
}
.navigation > li:nth-of-type(2) {
  margin-top: 1rem;
}
.navigation li:nth-of-type(n + 2) ul {
  font-size: 14px;
}
.navigation li:nth-of-type(n + 2) ul a {
  opacity: 1;
}
.navigation li:nth-of-type(n + 2) ul a,
.navigation li:nth-of-type(n + 2) ul span {
  display: block;
  padding: 0.4em 1rem;
  text-align: center;
  font-size: 18px;
}
  .navigation li:nth-of-type(n + 2) ul span {
  line-height: 48px;
}

.yoyaku p {
  position: fixed;
  bottom: 0;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  margin: 0;
  padding: 0 1vw;
  width: 100%;
  text-align: center;
  }
  .yoyaku a {
  display: block;
  width: auto;
  font-size: 2vh;
  line-height: 6vh;
  margin: 3vh 1vh 1vh;
  }
  .yoyaku .fa-envelope-open-text,
  .yoyaku .fa-envelope,
  .yoyaku .fa-phone-alt {font-size: 4vh;}
  .yoyaku .fa-line {font-size: 5vh;}

.navigation-box.checked {
  -webkit-transition: 0.6s ease !important;
  transition: 0.6s ease !important;
  height: 80px !important;
  overflow: hidden !important;
}
.hamburger-checkbox {
  display: none;
}
.hamburger-checkbox:checked ~ .navigation-box li .hamburger-doublespin span {
  background: transparent !important;
}
.hamburger-checkbox:checked ~ .navigation-box li .hamburger-doublespin span::before {
  -webkit-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
  transform: rotate(225deg);
  margin-top: 0 !important;
}
.hamburger-checkbox:checked ~ .navigation-box li .hamburger-doublespin span::after {
  -webkit-transform: rotate(-225deg);
  -ms-transform: rotate(-225deg);
  transform: rotate(-225deg);
  margin-top: 0 !important;
}
.hamburger-checkbox:checked ~ .navigation-box {
  -webkit-transition: height 0.6s ease;
  transition: height 0.6s ease;
  height: 100vh;
  overflow: auto;
}
.hamburger-checkbox:not(:checked) ~ .navigation-box,
.hamburger-checkbox .navigation-box.checked {
  overflow: hidden;
  height: 60px;
}
.pagetop {
  position: fixed;
  bottom: 80px;
  right: 1em;
  text-align: right;
  z-index: 10000;
}
.grecaptcha-badge {
  z-index: 10000;
}

/***** table *****/
table {
  width: 100%;
  max-width: 100%;
}
table td,
table th {
  padding: .9rem .4rem .9rem .8rem;
  vertical-align: top;
}
table td {
  padding: .9rem .3rem .9rem .5rem;
}

/* 縦に積むテーブルレスポンシブ */
.tbl-r02 {
  width: 100%;
  margin: 20px auto;
  border-collapse: collapse;
  table-layout: fixed;
}
.tbl-r02 th,
.tbl-r02 td {
  display: block;
  width: 100%;
  border: 1px solid #ccc;
  padding: 10px;
  vertical-align: top;
  word-break: break-word;
}
.tbl-r02 th {
  background: #ccc;
  text-align: left;
}
.tbl-r02 tr {
  display: block;
}
.tbl-r02 .last td:last-child {
  border-bottom: 1px solid #ccc;
  width: 100%;
}

/***** nav.breadcrumbs *****/
.breadcrumbs ol{
    flex-wrap: wrap;
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
    text-align: center;
}
.breadcrumbs li {
    width: auto;
}
.breadcrumbs li::after{
    content: '/';
    display: inline-block;
    padding: 0 10px;
  }
  .breadcrumbs li:last-child::after{
    display: none;
  }
      
/***** footer *****/
footer {
  padding: 4% 4% 70px;
}
.footer_logo {
  max-width: 220px;
  width: 100%;
}
footer p {
padding: 0;
}
footer a[href^='tel:'] {
  cursor: default;
}
.copyright {
  display: block;
  text-align: center;
  padding: 1rem 0 0;
}
.grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.25rem;
margin-bottom: 1.5rem;
}
.footer_navi-heading {
font-weight: 600;
}
.footer_logo {
display: inline-block;
margin-bottom: 1.5rem;
}
.footer_navi {
margin-bottom: 0.75rem;
}
.footer_address {
margin-bottom: 2rem;
}
.footer_address a {
text-decoration: underline;
}

@media (min-width: 768px) {
.md-flex {
display: flex;
}
.md-justify-between {
justify-content: space-between;
}
.grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.footer_address a {
text-decoration: none;
pointer-events: none;
}
}

/***** main *****/
main {
  position: relative;
  padding: 80px 0 0;
}
article {
  padding: 0 0 60px;
}
.main_image_box {
  position: relative;
}

/***** .main-contents *****/
.main-contents {
  display: flow-root;
  margin: 3rem 0;
}
.main-contents img { border-radius: 33% 67% 52% 48% / 52% 32% 68% 48%;}
.main-contents div:nth-of-type(2) img { border-radius: 42% 58% 44% 56% / 64% 44% 56% 36%;}
.main-contents div:nth-of-type(3) img { border-radius: 57% 43% 55% 45% / 55% 63% 37% 45%;}

/* リスト */
.main-contents.text-box ul, .main-contents ol {
  margin: 1em 0 0 1.5em;
}
.main-contents.text-box ul li {
  list-style-type: disc;
  margin: 0;
  padding: 0;
}
.main-contents.text-box ul.list-unstyled  li {
  list-style-type: none;
}

/***** お問い合わせ *****/
.main-contents input[type='text'],
.main-contents input[type='email'],
.main-contents textarea {
  border: solid 1px #ccc;
  padding: 8px;
}
.main-contents input[type=checkbox],
.main-contents input[type=radio] {
  position: relative;
  right: 0;
  bottom: 0;
  left: 0;
  height: 20px;
  width: 20px;
  vertical-align: -0.8rem;
  transition:all .15s ease-out 0s;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  margin: .4rem;
  outline: none;
  border: 2px solid #ccc;
  border-radius: 10%;
}
/* Checkbox */
.main-contents input[type=checkbox]:before,
.main-contents input[type=checkbox]:after {
  position: absolute;
  content: "";
  background: #fff;
  transition: all .2s ease-in-out;
}
.main-contents input[type=checkbox]:before {
  left: 2px;
  top: 6px;
  width: 0;
  height: 2px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}
.main-contents input[type=checkbox]:after {
  right: 9px;
  bottom: 3px;
  width: 2px;
  height: 0;
  transform: rotate(40deg);
  -webkit-transform: rotate(40deg);
  -moz-transform: rotate(40deg);
  -ms-transform: rotate(40deg);
  -o-transform: rotate(40deg);
  transition-delay: .2s;
}
.main-contents input[type=checkbox]:checked:before {
  left: 1px;
  top: 10px;
  width: 6px;
  height: 2px;
}
.main-contents input[type=checkbox]:checked:after {
  right: 5px;
  bottom: 1px;
  width: 2px;
  height: 14px;
}
.main-contents input[type=checkbox]:indeterminate:before,
.main-contents input[type=checkbox]:indeterminate:after {
  width: 7px;
  height: 2px;
  transform: rotate(0);
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -o-transform: rotate(0);
}
.main-contents input[type=checkbox]:indeterminate:before {
  left: 1px;
  top: 7px;
}
.main-contents input[type=checkbox]:indeterminate:after {
  right: 1px;
  bottom: 7px;
}
/* Radio */
.main-contents input[type=radio] {
  border-radius: 50%;
}
.main-contents input[type=radio]:checked:before {
  transform: scale(1);
}
.main-contents input[type=radio]:before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 3px;
  transform: scale(0);
  transition: all ease-out 250ms;
}
.main-contents input[type=checkbox]:checked,
.main-contents input[type=checkbox]:indeterminate,
.main-contents input[type=radio]:checked:before {
  background: #333;
}
.main-contents button[type='button'],
.main-contents input[type='submit'],
.main-contents input[type='button'].wpcf7-previous {
  display: inline-block;
  font-weight: 400;
  color: #343a40;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  border-color: #343a40;
  padding: .5rem 1rem;
  line-height: 1.5;
  border-radius: 1rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.main-contents input[type='button'].wpcf7-previous {
  margin-right: 15px;
}
.main-contents button[type='button']:hover,
.main-contents input[type='submit']:hover,
.main-contents input[type='button'].wpcf7-previous:hover {
  color: #fff;
  background-color: #343a40;
  border-color: #343a40;
  text-decoration: none;
}
.main-contents .wpcf7-submit:disabled,
.main-contents .wpcf7-submit:disabled:hover {
  color: #343a40;
  background-color: #999;
}

/***** title *****/
h1 {
  text-align: center;
}
.maincatch h1 {
  display: inline;
  font-size: 2.5rem;
  font-weight: 700;
  padding: 8px;
  opacity: .7;
  background: #fff;
  border-radius: 42% 58% 44% 56% / 64% 44% 56% 36%;
  }
.stitle2,
.text-box h2,
.text-box h3,
.text-box h4 {
  font-size: 2rem;
  font-weight: 700;
  margin: 2rem auto 1rem;
  padding: 0.5rem 0.5rem 0;
  text-align: center;
  width: 100%;
  color: #527841;
}
.stitle2.left {
  text-align: left;
}
.text-box h2 {
  font-size: 1.75rem;
  color: #7d1157;
}
.text-box h3 {
  font-size: 1.5rem;
}
.text-box h4 {
  font-size: 1.25rem;
}
@media screen and (min-width:768px) {
  .text-box h2 {
    font-size: 2rem;
  }
  .text-box h3 {
    font-size: 1.75rem;
  }
  .text-box h4 {
    font-size: 1.5rem;
  }
}  

/***** maincatch *****/
.maincatch {
  margin: 0;
  padding: 0;
  text-align: center;
}
.metaslider .caption,
.metaslider .slides img {
  border-radius:0 0 30px 30px;
}
.mainimg {
  width: 92%;
  padding: 18% 0;
  display: block;
  border-radius: 0 0 30px 30px;
  margin: 0 auto;
}
.mainimg-s {
  width: 100%;
  padding:10% 0;
  display: block;
}

/***** text-box *****/
.text-box .img-right,
.text-box .img-left,
.text-box.img-right,
.text-box.img-left {
  padding-bottom: 40px;
  overflow: hidden;
}
.text-box .img-right img,
.text-box .img-left img,
.text-box.img-right img,
.text-box.img-left img {
  width: 100%;
  margin: 0;
}
.text-box .img-right img, .text-box.img-right img {
  float: right;
  padding: 0 0 0.5rem 0.5rem;
}
.text-box .img-left img, .text-box.img-left img {
  float: left;
  padding: 0.5rem 0.5rem 0 0;
}

/***** title-btn-box *****/
.title-btn-box {
  overflow: hidden;
}
.title-btn-box a {
  display: block;
  margin: 2.2rem 0 0;
}
.title-btn-box.right a {
  float: right;
}
.title-btn-box.left a {
  float: left;
}

/***** news-box *****/
.news-box{
  padding: 0 1rem;
  list-style: none;
}
.news-box li {
  /* border-top: 1px solid #dee2e6; */
  padding: 0.5rem 0;
  overflow: hidden;
}
.news-box li:nth-last-of-type(n+1) {
  /* border-bottom: 1px solid #dee2e6; */
}
.news-box a,
.news-box span {
  margin-right: 1rem;
  float: left;
}

/***** photo-box *****/
.photo-box .box {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

/***** photo *****/
.btn-box,
.photo-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row;
  flex-flow: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: start;
  -ms-flex-flow: wrap;
  flex-flow: wrap;
  margin: 0;
  padding: 0;
}
.photo-box {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.btn-box {
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  padding-top: 1.5rem;
}
.sns-box {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: 0;
  margin-left: 0;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}
.photo-box li {
  padding: 1rem 0.5rem 0.5rem;
  margin: 0;
  flex: 0 0 50%;
}
.photo-box li:nth-of-type(-n+1) {
  flex: 0 0 100%;
}
.btn-box li {
  margin: 0 auto 0.5rem;
  padding: 0;
  flex: 0 0 75%;
  max-width: 75%;
}
.sns-box li {
  padding: 0;
  flex: 0 0 10%;
}
.photo-box .photo {
  display: block;
  width: 100%;
  padding-top:80%;
  margin: 0;
  position: relative;
}
.photo-box li:nth-of-type(-n+1) .photo {
  padding-top:40%;
}

.photo-box .photo span {
  opacity: .8;
  bottom: 0;
  padding: 8px;
  position: absolute;
  overflow: hidden;
  display: block;
  width: 100%;
  font-weight: 700;
}
.photo-box .box b {
  font-size: 14px;
  font-weight: 400;
  float: right;
}

/* iphone678 */
@media screen and (max-width:375px) {
  h1,
  h2,
  h3,
  h4,
  h5,
  h2.title-box {
  letter-spacing: 0;
  }
  .maincatch .bnr.box {
    padding-bottom: 2rem;
  }
}

/* iphone5 */
@media screen and (max-width:360px) {
}

@media screen and (max-width:330px) {
  h1, h2, h3, h4, h5, h2.title-box {
    letter-spacing: -0.05px;
  }
}

/***** ハック edge *****/
_:-ms-lang(x)::backdrop,
.mainimg {
 margin: 22% auto 7% auto !important;
 /*max-width:400px !important;*/
}

/***** ハック ie10～ *****/
@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
 .maincatch .main_img {
  top: 80px;
 }
 .mainimg {
  padding-bottom: 12%;
 }
}

/***** ハック ie10～ *****/
@media all and (-ms-high-contrast: none) {
 *::-ms-backdrop,
 .maincatch .main_img .box-inner {
  width: 60%;
 }
 *::-ms-backdrop,
 .mainimg {
  /*margin: 10% auto 2% auto;*/
  margin: 18% auto 5% auto;
 }
 *::-ms-backdrop,
 #style .out_box {
  background-position: 50% -6rem;
 }
}
.row {
margin-right: 0px;
margin-left: 0px;
}

/***** color background *****/
body {color:#333;background:#fff;}
/* article {background:#fff;} */
a {color:#333;}

#hamburger p {color:#fff;}
.navigation li:nth-of-type(2) ul a,
.navigation li:nth-of-type(2) ul span,
.navigation li:nth-of-type(3) ul a,
.navigation li:nth-of-type(3) ul span {color: #fff;}
#h_fixed {color:#fff;background:#333;}
footer {background:#ccc;}
footer a[href^='tel:'] {color:#000;}

.yoyaku p {background: #333;}
.yoyaku a {color: #fff;}
.pagetop a {color:#333;}
.table-hover tbody tr:hover {background-color:#DCDDDD;}
table td,
table th {color: #333;}

.photo-box .photo {
  background:#ccc no-repeat center center/cover;
}
.photo-box .photo span {
  background:#fff;
}
.badge {color: #fff;}
.badge1 {background-color:#3fa9f5;}
.badge2 {background-color:#f15a24;}
.badge3 {background-color:#7ac943;}

/***** boostlap color background change *****/
.bg-light { background:#ccc !important;}
.bg-danger { background:#333 !important;}
.bg-success { background:#009A3E !important;}
.text-body { color:#000 !important;}
/*
.text - colorname
.bg   - colorname
.btn  - colorname
.badge- colorname

(colorname = color)
danger     = red
info       = light blue
warning    = yellow
success    = green
dark       = gray

使用中
.btn-outline-dark
.btn-dark
*/
/***** boostlap change *****/
.badge {
  border-radius:0;
  padding: 0.25rem!important;
  font-size: 14px;
  font-weight: 400;
}

/***** cf7 プレースホルダー・全体調整 *****/
#form-wrapper input::placeholder,
#form-wrapper textarea::placeholder {
  color: #999;
}

#form-wrapper dl {
  border-top: 1px solid #ccc;
  margin-top: 20px;
}

#form-wrapper dt {
  font-weight: bold;
  padding-top: 10px;
}

#form-wrapper dd {
  margin-bottom: 15px;
  padding-left: 10px;
}

/* 社名コールアウトの見た目を上品に */
.naming-callout{
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.02);
}
@media (max-width: 767px){
  .naming-callout{
    padding: 1.25rem 1rem !important;
    margin-top: .5rem;
    margin-bottom: 1rem;
  }
}
/* ダークモード系テーマへの配慮（必要な場合） */
@media (prefers-color-scheme: dark){
  .naming-callout{
    border-color: rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
  }
}


/* ------------------------------------
   page-toc（小目次）共通設定
------------------------------------ */
.page-toc {
  position: sticky;
  top: var(--toc-top, 66px); /* デフォルト値（JSで上書き可） */
  z-index: 6;
  margin-bottom: 1.5rem;
}

/* スクロール対応（横スクロール可） */
.page-toc .overflow-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.page-toc .overflow-auto::-webkit-scrollbar {
  display: none; /* Safari/Chrome */
}

/* ナビボタン配置 */
.page-toc ul {
  display: flex;
  flex-wrap: nowrap;
  gap: .5rem;
  padding: 0;
  margin: 0;
}
.page-toc li {
  flex: 1 1 auto;
  /* min-width: 140px; スマホで文字が長くても折れずに横スクロール */
  list-style: none !important;
}

/* ボタンサイズ */
.page-toc .btn {
  white-space: nowrap;
  text-align: center;
  font-size: .9rem;
  line-height: 1.4;
}

/* Bootstrap補完（暗め背景でもホバーで少し明るく） */
.page-toc .btn-dark:hover,
.page-toc .btn-dark:focus { filter: brightness(1.1); }

/* ====== H3用の見出し内ナビ（今回のブロックに適用） ====== */
/* stickyオフセットを109pxにしたいケース */
.page-toc.toc-h3{
  --toc-top: 96px;
  z-index: 5;
}

/* ------------------------------------
   H2ごとのstickyオフセット（レスポンシブ）
------------------------------------ */
@media (min-width: 768px) {
  .page-toc {top: 69px;}
  .page-toc.toc-h3 {top: 96px;}
}