@charset "UTF-8";
/* ----------------------------------------------------
   custom　CSS
---------------------------------------------------- */
html, body {
  overflow-x: clip;
}

:root {
  --bs-primary: #447DD8;
  --bs-primary-light-15: #E3ECF9;
  --bs-primary-light-8: #F0F5FC;
  --bs-text: #333333;
  --bs-base: #6B5E52;
  --bs-base-light: #FAF8F6;
  --bs-accent: #D12C68;
  /* font */
  --bs-font-serif: "Noto Serif JP", serif;
  --bs-font-sans-serif: "Noto Sans JP",
  "ヒラギノ角ゴ Pro W3",
  "Hiragino Kaku Gothic Pro",
  "メイリオ", Meiryo, Osaka, sans-serif;
  /* font size */
  --bs-font-xxl: 48px;
  --bs-font-xl: 36px;
  --bs-font-lg: 24px;
  --bs-font-md: 18px;
  --bs-font-base: 16px;
  --bs-font-sm: 14px;
  --bs-font-xs: 13px;
  --bs-font-xxs: 12px;
  --bs-font-xxxs: 10px;
  /* 余白 */
  --bs-space-xs: 0.5rem;   /* 8px */
  --bs-space-sm: 0.75rem;  /* 12px */
  --bs-space-md: 1rem;     /* 16px */
  --bs-space-lg: 1.5rem;  /* 24px */
  --bs-space-xl: 2.25rem;  /* 36px */
  --bs-space-2xl: 3rem;    /* 48px */
  --bs-space-2xl-pc: 6rem;    /* 96px */
}


@font-face {
  font-family: "Noto Serif JP";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("./fonts/NotoSerifJP-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Noto Serif JP";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("./fonts/NotoSerifJP-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Noto Sans JP";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("./fonts/NotoSansJP-Light.ttf") format("truetype");
}
@font-face {
  font-family: "Noto Sans JP";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("./fonts/NotoSansJP-Bold.ttf") format("truetype");
}


/* ---------------------------------------
   フォント
--------------------------------------- */

h1,h2,h3{
  font-weight:400;
  font-family: var(--bs-font-serif);
  line-height: 1.7;
}
h2,.h2{
  font-size: var(--bs-font-xl);
  color: var(--bs-primary);
  margin-bottom: var(--bs-space-2xl);
}
@media (max-width: 767px) {
  h2,.h2{
    font-size: 28px;
    margin-bottom: var(--bs-space-xl);
  }
}
h3,.h3{
  font-size: var(--bs-font-lg);
  color: var(--bs-base);
}
@media (max-width: 767px) {
  h3,.h3{
    font-size: 20px;
  }
}
h4,.h4{
  font-size: var(--bs-font-md);
  color: var(--bs-primary);
  line-height: 1.7;
  font-weight: 700;
}
h5,.h5{
  font-size: var(--bs-font-base);
  color: var(--bs-primary);
  line-height: 1.7;
  font-weight: 700;
}
/* Text utilities */
.text-xxxs {
  font-size: var(--bs-font-xxxs); /* 10px */
}
.text-xxs {
  font-size: var(--bs-font-xxs); /* 12px */
}
.text-xs {
  font-size: var(--bs-font-xs); /* 13px */
}
.text-sm {
  font-size: var(--bs-font-sm); /* 14px */
}
.text-md {
  font-size: var(--bs-font-md); /* 18px */
}
.text-lg {
  font-size: var(--bs-font-lg); /* 24px */
}
.text-xl {
  font-size: var(--bs-font-xl); /* 36px */
}
.text-xxl {
  font-size: var(--bs-font-xxl); /* 48px */
}
.text-serif{
  font-family: var(--bs-font-serif);
}

p{
  margin-bottom: 0;
}
p+p{
  margin-top: var(--bs-space-md);
}
ul.list-none{
  list-style: none;
  padding-left: 0;
}
ul.list-disc{
  list-style: disc;
  padding-left: var(--bs-space-md);
  margin-bottom: 0;
  text-align: left;
}
.text-color-primary{
  color: var(--bs-primary)!important;
}
.text-color-text{
  color: var(--bs-text)!important;
}
.text-color-base{
  color: var(--bs-base)!important;
}
.text-color-accent{
  color: var(--bs-accent)!important;
}


/* ---------------------------------------
   基本
--------------------------------------- */
body{
  font-family: var(--bs-font-sans-serif);
  font-size: var(--bs-font-base);
  font-weight: 300;
  line-height: 2.2;
  margin: 0;
  color: var(--bs-text);
}
:target {
  scroll-margin-top: 100px;
}
@media (max-width: 767px) {
  :target {
    scroll-margin-top: 72px;
  }
}
a{
  text-decoration: none;
  color: var(--bs-primary);
}
ul.annotation {
  list-style: none;
  padding: 0;
}
ul.annotation li {
  display: flex;
  line-height: 1.7;
}
ul.annotation li::before {
  content: "※";
  margin-right: .25em;
}
.youtube-iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.youtube-iframe iframe{
  width: 100%;
  height: 100%;
  border: 0;
}
a.btn-border-main{
  display: inline-block;
  border: 1px solid var(--bs-base);
  padding: var(--bs-space-xs) var(--bs-space-xl);
  border-radius: 100px;
  color: var(--bs-base);
  transition: .5s;
}
a.btn-border-main:hover{
  background-color: var(--bs-base);
  color: var(--bs-white);
}
a.btn-primary{
  display: inline-block;
  border: 1px solid var(--bs-primary);
  padding: var(--bs-space-xs) var(--bs-space-xl);
  border-radius: 100px;
  background-color: var(--bs-primary);
  color: var(--bs-white);
  transition: .5s;
}
a.btn-primary:hover{
  background-color: var(--bs-white);
  color: var(--bs-primary);
}

@media (max-width: 767px) {
  .sp-img-70{
    width: 70%;
  }
}
.white-box{
   padding: var(--bs-space-xl);
   border-radius: 20px;
   background-color: var(--bs-white);
}
@media (max-width: 767px) {
  .white-box{
    padding: var(--bs-space-lg);
  }
}
.disc-list{
  list-style: none;
  padding-left: 1.2em;
  margin-bottom: 0;
}
.disc-list li {
  position: relative;
}
.disc-list li::before {
  content: "";
  position: absolute;
  left: -1em;
  top: 1em;
  width: 4px;       /* ← サイズ自由 */
  height: 4px;
  background: #333; /* 色自由 */
  border-radius: 50%;  
}
/* ---------------------------------------
   header
--------------------------------------- */
header .container{
  width: 100%;
  max-width:100%;
  margin: 0;
  color: var(--bs-base);
}
header p{
  margin: 0;
}
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 1000;
  background-color: var(--bs-white);
}
@media (min-width: 768px) {
  .navbar-expand-lg {
    flex-wrap: nowrap;
    justify-content:space-between;
    padding: 0 var(--bs-space-md);
    gap:var(--bs-space-md);
  }
}
h1.navbar-brand,
p.navbar-brand{
  margin-bottom: 0;
  padding: 10px 0 0;
}
h1.navbar-brand img,
p.navbar-brand img{
  width: 126px;
}
.header-left{
  flex-shrink: 1;
  width: 100%;
}
.header-right{
  flex-grow: 0;
  flex-shrink: 0;
  display: flex;
  justify-content: end;
  align-items: end;
  gap: var(--bs-space-lg);
}
.navbar-expand-lg .navbar-nav{
  justify-content: flex-end;
  gap: var(--bs-space-lg);
}
.navbar-expand-lg .navbar-nav .nav-link{
  padding: 0;
  white-space: nowrap;
  color: var(--bs-base);
  line-height: 130%;
}
.navbar-expand-lg .navbar-nav .nav-link:hover{
  opacity: 0.8;
}
@media (min-width: 1024px) {
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
  }
}
.dropdown-menu{
  border: none;
  padding: var(--bs-space-sm);
  background-color:var(--bs-base-light);
}
.dropdown-menu li{
  padding: 8px 0;
  border-bottom: 1px dotted var(--bs-base);
}
.dropdown-menu li:last-of-type{
  border-bottom:none;
}
.dropdown-menu li:hover{
  opacity: 0.8;
}
.header-pc-line{
  width: 1px;
  height: 80px;
  background-color: var(--bs-base);
  display: block;
}
.header-pc-tel{
  line-height: 1.4;
}
.header-tel-number{
  font-size: 30px;
  font-family: var(--bs-font-serif);
  position: relative;
}
.header-tel-number a{
  color: var(--bs-base);
}
.header-tel-number::before{
  display: inline-block;
  content: "";
  width: 28px;
  height: 28px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24" fill="%236B5E52"><path d="M798-120q-125 0-247-54.5T329-329Q229-429 174.5-551T120-798q0-18 12-30t30-12h162q14 0 25 9.5t13 22.5l26 140q2 16-1 27t-11 19l-97 98q20 37 47.5 71.5T387-386q31 31 65 57.5t72 48.5l94-94q9-9 23.5-13.5T670-390l138 28q14 4 23 14.5t9 23.5v162q0 18-12 30t-30 12Z"/></svg>');
  background-size:100%;
  background-repeat: no-repeat;
  background-position: left 3px;
}
.hamburger-btn,.black-bg{
  display: none;
}
.header-nav-close {
  display: none;
}
@media (max-width: 1140px) {
  .navbar-expand-lg .navbar-nav{
    gap: var(--bs-space-md);
  }
  .navbar-expand-lg .navbar-nav .nav-link{
    font-size: var(--bs-font-base);
  }
}
/* 1024以下 */
@media (max-width: 1023px) {
  .site-header{
    height: 72px;
  }
  .navbar-expand-lg {
    padding: 4px 0 0 10px;
    gap:0;
  }
  h1.navbar-brand,
  p.navbar-brand{
    padding: 0;
  }
  .sp-header-logo{
    position: absolute;
    top: 4px;
    left: 10px;
  }
  .sp-header-logo img{
    width: 126px;
  }
  .header-pc-line,
  .header-pc-tel{
    display: none;
  }
  /* ナビゲーション */
  .header-nav {
    position: fixed;
    right: -1025px; /*右側に隠しておきます*/
    width: 100%;
    top: 0;
    height: 100vh;
    padding-top: 5rem;
    background-color:var(--bs-primary-light-15);
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
    z-index: 20;
    overflow-y: auto;
  }
  .nav-open .header-nav {
    display: block;
  }
/* ハンバーガーボタン(三本線の実装) */
  .hamburger-btn {
    display: block;
    position: absolute; /*.headerNavOuterを基準にして、絶対配置*/
    right: 0;
    top: 0;
    width: 55px;
    height: 55px;
    cursor: pointer;
    z-index: 30;
  }
  .hamburger-line {
    position: absolute; /*.headerNavOuterを基準にして、絶対配置*/
    left: 8px;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background-color:var(--bs-base);
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
  }
  .hamburger-line-1 {
    top: 24px;
  }
  .hamburger-line-2 {
    top: 31px;
  }
  .hamburger-line-3 {
    top: 38px;
  }
  /*ハンバーガーメニュをクリックした後に現れる半透明の背景*/
  .black-bg {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10;
    opacity: 0;
    visibility: hidden; /* 非表示にしておきます */
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
    cursor: pointer;
  }
  /* ハンバーガーボタンをクリックした際の動き */
  .nav-open .header-nav {
    right: 0;
    transition: 0.5s;
  }
  .nav-open .black-bg {
    opacity: 1;
    visibility: visible;
    background-color: var(--bs-base-light);
  }
  .nav-open .hamburger-line-1 {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 25px;
  }
  .nav-open .hamburger-line-2 {
    width: 0;
    left: 50%;
  }
  .nav-open .hamburger-line-3 {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 25px;
  }
  .navbar-expand-lg .navbar-nav{
    padding: 0 20px;
  }
  .navbar-expand-lg .navbar-nav .nav-link{
    font-size: var(--bs-font-md);
  }
  .dropdown-menu {
    border: none;
    background-color: transparent;
  }
  .dropdown-menu .nav-link{
    padding-left: 20px;
    color: var(--bs-base);
  }
  .header-nav-contact{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    border-radius: 8px;
    background-color: var(--bs-white);
    color: var(--bs-base);
  }
  .header-nav-contact a{
    max-inline-size: fit-content;
  }
  /* .nav-item:hover{
    border:none;
  } */
  .navbar-expand-lg .navbar-nav .dropdown-menu .nav-link {
      padding-left: var(--bs-space-md);
  }
  .header-nav-close {
    padding: 24px 0 32px;
    text-align: center;
    display: block;
  }
  .nav-close-text {
    color: var(--bs-base);
    background: none;
    border: none;
    cursor: pointer;
  }
  .nav-close-text span {
    margin-left: var(--bs-space-xs);
  }
  .navbar-expand-lg .navbar-nav .nav-link{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .dropdown-toggle::after {
      border-top: 0.5em solid;
      border-right: 0.5em solid transparent;
      border-left: 0.5em solid transparent;
      transition: .5s;
  }
  .dropdown-toggle.show::after {
    transform: rotate(-180deg);
    transition: .5s;
  }
}

/* ---------------------------------------
   footer
--------------------------------------- */
.footer{
  background-color: var(--bs-primary-light-8);
}
.footer-upper {
  display: flex;
  gap: 40px;              /* 住所とマップの間隔 */
  align-items: stretch;
}
/* 住所側 */
.footer-address {
  flex: 1 1 0;
  padding: 60px 0 60px 40px;
}
/* マップ側 */
.footer-map {
  flex: 1 1 0;
}
/* iframeを親いっぱいに */
.iframe-wrapper {
  width: 100%;
  height: 100%;
}
.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;      /* 高さつぶれ防止 */
  display: block;
}
@media (max-width: 768px) {
  .footer-upper {
    flex-direction: column;
    gap: 30px;
  }
  .footer-address {
    padding-top: 30px;
    padding-right: calc(var(--bs-space-lg) * 0.5);
    padding-left: calc(var(--bs-space-lg) * 0.5);
    padding-bottom: 0;
  }
  .iframe-wrapper iframe {
    min-height: 240px;
  }
}
.footer-lower{
  background-color: #789AD0;
  color: var(--bs-white);
  padding: 40px 0;
}
.footer-nav .navbar-nav {
  display: flex;
  flex-direction: row;
  justify-content: center; /* 中央寄せ（不要なら消す） */
  align-items: center;
  gap: 0; /* 区切り線使うので gap は使わない */
  flex-wrap: wrap;
}
.footer-nav .navbar-nav > li {
  position: relative;
  padding: 0 16px;
}
/* 縦線 */
.footer-nav .navbar-nav > li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1em; /* 文字の高さに合わせる */
  background-color: var(--bs-white); 
}
/* リンク調整 */
.footer-nav .navbar-nav a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .footer-lower{
    padding-right: calc(var(--bs-space-lg) * 0.5);
    padding-left: calc(var(--bs-space-lg) * 0.5);
  }
}
.copylight{
  background-color: var(--bs-primary);
  color: var(--bs-white);
  font-size: var(--bs-font-xxs);
  font-family: var(--bs-font-serif);
  text-align: center;
  padding: var(--bs-space-xs);
}

/* ---------------------------------------
   診療時間
--------------------------------------- */
.clinic-hours-table{
  width: 100%;
  font-size: var(--bs-font-base);
  color: var(--bs-base);
  text-align: center;
}
.clinic-hours-table tr{
  border-bottom: 1px solid var(--bs-base); 
}
.clinic-hours-table th{
  font-weight: 300;
  line-height:1.2;
  padding: 8px 0;
}
.clinic-hours-table td{
  line-height:1.2;
  min-width: 50px;
  padding: 8px 0;
}
.clinic-hours-table .notes{
  font-size: var(--bs-font-xs);
}
.clinic-hours-table tbody th{
  line-height:1.2;
}
.clinic-hours-notes{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.clinic-hours-notes p{
  font-weight: 700;
}
.clinic-hours-notes .annotation{
  font-size: var(--bs-font-sm);
}
@media (min-width: 768px) {
  .clinic-hours-table td{
    height: 56px;
  }
}
@media (max-width: 767px) {
  .clinic-hours-table{
    font-size: var(--bs-font-xs);
  }
  .clinic-hours-table td{
    min-width: auto;
    padding: 4px 0;
  }
  .clinic-hours-table .notes{
    font-size: var(--bs-font-xxxs);
  }
  .clinic-hours-notes{
    flex-direction: column;
    justify-content:start;
    gap: 1rem;
  }
}

/* ---------------------------------------
   メインコンテンツ
--------------------------------------- */
main{
  margin-top: 100px;
}
/* スマホ（sm以下） */
@media (max-width: 767px) {
  main{
    margin-top: 72px;
  }
}
.bg-logo::before {
  content: "";
  display: block;
  position: fixed;
  top: 100px;
  right: 5%;
  z-index: -1;
  width: 90px;
  height: 572px;
  background-image: url(../img/bg-logo-blue.png);
  background-size: cover;
  background-repeat: no-repeat;
}
.section-padding{
  padding-top: 120px;
  padding-bottom: 120px;
}
.section-padding +.section-padding{
  padding-top: 0;
}
.container-750 {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--bs-gutter-x, 15px);
  padding-right: var(--bs-gutter-x, 15px);
}

.bg-clinic{
  background-color: var(--bs-white);
  position: relative;
  overflow: hidden; /* はみ出し防止 */
}
/* 背景レイヤー */
.bg-clinic::before{
  content: "";
  position: absolute;
  inset: 0;
  background: url(../img/bg-clinic.webp) center center / cover no-repeat;
  opacity: 0.4;          /* ← ここで薄さ調整（20%） */
  z-index: 0;
  pointer-events: none;
}
/* 中身を前面に */
.bg-clinic > *{
  position: relative;
  z-index: 1;
}
.bg-clinic-band{
  background: rgba(255,255,255,.9);
  padding: 0 var(--bs-space-2xl);
}
.bg-base-logo{
  background: var(--bs-base-light)
            url(../img/bg-logo-white.png)
            5% 5% / auto no-repeat;
}
/* スマホ（sm以下） */
@media (max-width: 767px) {
  .bg-logo::before {
    right: 0;
  }
  .section-padding{
    padding-top: 60px;
    padding-bottom: 60px;
    gap: var(--bs-space-xl);
  }
  .section-padding +.section-padding{
    padding-top: 0;
  }
  .bg-clinic{
    padding-left: var(--bs-space-md);
    padding-right: var(--bs-space-md);
  }
  .bg-clinic-band{
    padding: 0 var(--bs-space-md);
  }
}
/* ---------------------------------------
   TOP
--------------------------------------- */
.front-mv{
  position: relative;
  height: calc(100vh - 100px);
  min-height: 760px;
}
.front-mv-slide{
   position: relative;
   width: 100%;
   height: 100%;
   overflow: hidden;
}
.slide-01, .slide-02, .slide-03{
   position: absolute;
   top:0;
   left:0;
   width: 100%;
   height: 100%;
   background-size: cover;
   background-repeat: no-repeat;
}
.slide-01{
   background-image: url('../img/top/mv_1.webp?20260316');
   animation: slide-animation-01 18s infinite;
}
.slide-02{
   background-image: url('../img/top/mv_2.webp');
   animation: slide-animation-02 18s infinite;
}
.slide-03{
   background-image: url('../img/top/mv_3.webp');
   animation: slide-animation-03 18s infinite;
}
@keyframes slide-animation-01 {
  0% { opacity: 1; transform: scale(1);}
  32% { opacity: 1;}
  34% { opacity: 0; transform: scale(1.03);}
  100% { opacity: 0; transform: scale(1.03);}
}
@keyframes slide-animation-02 {
  0% { opacity: 0; transform: scale(1.03);}
  31% { opacity: 0;}
  33% { opacity: 1; transform: scale(1);}
  65% { opacity: 1;}
  67% { opacity: 0; transform: scale(1.03);}
  100% { opacity: 0; transform: scale(1.03);}
}
@keyframes slide-animation-03 {
  0% { opacity: 0; transform: scale(1.03);}
  64% { opacity: 0;}
  66% { opacity: 1; transform: scale(1);}
  98% { opacity: 1;}
  100% { opacity: 0; transform: scale(1.03);}
}
.front-mv-copy{
  position: absolute;
  top: 10%;
  text-align: center;
}
.front-mv-copy .main-copy{
  font-weight:400;
  font-family: var(--bs-font-serif);
  line-height: 1.5;
  font-size: 48px;
  text-align: center;
  color: var(--bs-base);
}
.front-mv-copy .sub-copy-1{
  font-weight:700;
  line-height: 1.7;
  font-size: var(--bs-font-base);
  background-color: var(--bs-primary);
  color: var(--bs-white);
  padding: 0 var(--bs-space-lg);
  text-align: center;
  display: inline-block;
}
.front-mv-copy .sub-copy-2{
  font-weight:400;
  font-family: var(--bs-font-serif);
  line-height: 170%;
  font-size: 24px;
  text-align: center;
  color: var(--bs-base);
}
.front-mv-clinic-hours{
  width: 980px;
  padding:var(--bs-space-xl);
  position: absolute;
  background-color: rgba(255,255,255,.9);
  border-radius: 60px 60px 0 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .front-mv{
    min-height: 840px;
  }
  .front-mv-clinic-hours{
    max-width: 980px;
    width: 90%;
  }
}
@media screen and (min-width: 768px){
  .front-mv-copy{
    right: 10%;
  }
}
@media screen and (max-width: 767px){
  .front-mv{
    height: 750px;
    min-height: auto;
  }
  .front-mv-slide{
    max-height: 540px;
  }
  .slide-01{
    background-image: url('../img/top/mv_sp_1.webp?20260316');
    animation: slide-animation-01 18s infinite;
  }
  .slide-02{
    background-image: url('../img/top/mv_sp_2.webp');
    animation: slide-animation-02 18s infinite;
  }
  .slide-03{
    background-image: url('../img/top/mv_sp_3.webp');
    animation: slide-animation-03 18s infinite;
  }
  .front-mv-copy{
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    width: 100%;
  }
  .front-mv-copy .main-copy{
    font-size: 32px;
  }
  .front-mv-copy .sub-copy-2{
    font-size: var(--bs-font-md);
  }
  .front-mv-clinic-hours{
    width: 90%;
    padding:var(--bs-space-md);
    border-radius: 30px 30px 0 0;
  }
}
.top_first_bnr{
  display: flex;
  background-color: var(--bs-primary-light-15);
  position: relative;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}
.top_first_bnr img{
  width: 280px;
}
.top_first_bnr_text{
  padding: var(--bs-space-xl);
  color: var(--bs-base);
  line-height: 1.7;
}
.top_first_bnr_text h2{
  color: var(--bs-primary);
  margin-bottom: var(--bs-space-md);
}
.top_first_bnr::after{
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 40px 40px; /* サイズ */
  border-color: transparent transparent var(--bs-primary) transparent; /* 色 */
}
.top_first_bnr:hover{
  opacity: .8;
}
@media screen and (max-width: 767px){
  .top_first_bnr{
    flex-direction: column;
  }
  .top_first_bnr img{
    width: 100%;
  }
  .top_first_bnr::after{
    border-width: 0 0 20px 20px; /* サイズ */
  }
  .top_first_bnr_text{
    padding: var(--bs-space-md);
  }
  .top_first_bnr_text h2{
    margin-bottom: var(--bs-space-xs);
  }
}
.top_shinryo_menu{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap:24px;
}
.top_shinryo_menu_bnr{
  display: flex;
  position: relative;
  width: calc((100% - 24px) / 2);
}
.top_shinryo_menu_bnr_ippan{
  background-color: var(--bs-base-light);
}
.top_shinryo_menu_bnr img{
  width: 40%;
}
.top_shinryo_menu_text{
  line-height: 1.7;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.top_shinryo_menu_text p{
  font-weight: 700;
  padding: 0 var(--bs-space-md);
  width: fit-content;
  color: var(--bs-white);
}
.top_shinryo_menu_text h3{
  margin-bottom:0;
  font-size: var(--bs-font-xl);
}
.top_shinryo_menu_bnr_ippan p{
  background-color: var(--bs-base);
  color: var(--bs-white);
}
.top_shinryo_menu_bnr_ippan h3{
  color: var(--bs-base);
}
.top_shinryo_menu_bnr_jihi{
  background-color: var(--bs-primary-light-15);
}
.top_shinryo_menu_bnr_jihi p{
  background-color: var(--bs-primary);
}
.top_shinryo_menu_bnr_jihi h3{
  color: var(--bs-primary);
}
.top_shinryo_menu_bnr_ippan::after{
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 40px 40px; /* サイズ */
  border-color: transparent transparent var(--bs-base) transparent; /* 色 */
}
.top_shinryo_menu_bnr_jihi::after{
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 40px 40px; /* サイズ */
  border-color: transparent transparent var(--bs-primary) transparent; /* 色 */
}
.top_shinryo_menu_bnr:hover{
  opacity: .8;
}
@media screen and (max-width: 991px){
  .top_shinryo_menu{
    gap: 16px;
  }
  .top_shinryo_menu_text h3{
    font-size: var(--bs-font-lg);
  }
  .top_shinryo_menu_bnr_ippan::after{
    border-width: 0 0 20px 20px; /* サイズ */
  }
  .top_shinryo_menu_bnr_jihi::after{
    border-width: 0 0 20px 20px; /* サイズ */
  }
}
@media screen and (max-width: 767px){
  .top_shinryo_menu{
    flex-direction: column;
  }
  .top_shinryo_menu_bnr{
    width: 100%;
  }
  .top_shinryo_menu_bnr img{
    width: 40%;
    height: auto;
  }
}
/* お知らせ------------------------- */
.top_page ul.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.top_page .news-item a{
  display: flex;
  align-items: center;
  border-bottom: 1px dotted var(--bs-base);
  padding-top: var(--bs-space-xs);
  padding-bottom: var(--bs-space-xs);
  gap: var(--bs-space-sm);
  color: var(--bs-text);
}
.top_page .news-item:first-of-type{
  padding-top: 0;
}
.top_page .news-date {
  white-space: nowrap;
  color: var(--bs-base);
  font-size: var(--bs-font-sm);
}
.archive-news ul.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.archive-news .news-item{
  border-bottom: 1px dotted var(--bs-base);
  padding-top: var(--bs-space-lg);
  padding-bottom: var(--bs-space-lg);
}
.archive-news .news-item:first-of-type{
  padding-top: 0;
}
.archive-news .news-item h2{
  margin-bottom: 0;
}
.archive-news .news-item h2 a{
  color: var(--bs-base);
  display: -webkit-box;             
  -webkit-box-orient: vertical;      /* 垂直方向に配置 */
  overflow: hidden;                  /* 溢れた部分を隠す */
  text-overflow: ellipsis;           /* 溢れた部分に「...」を表示 */
  -webkit-line-clamp: 2; 
}
.archive-news .news-item h2 a:hover{
  color: var(--bs-primary);
}
.archive-news .news-more{
  text-align: right;
}
.archive-news .news-excerpt{
  display: -webkit-box;             
  -webkit-box-orient: vertical;      /* 垂直方向に配置 */
  overflow: hidden;                  /* 溢れた部分を隠す */
  text-overflow: ellipsis;           /* 溢れた部分に「...」を表示 */
  -webkit-line-clamp: 2;             /* 最大行数を2行に設定 */
}
.news-pagination{
  padding-top: var(--bs-space-2xl);
  font-size: var(--bs-font-md);
  display: flex;
  justify-content: center;
  gap: var(--bs-space-lg);
}
.single-news h2{
  color: var(--bs-base);
  margin-bottom: 0;
}
.single-news .blog-text{
  padding-top: var(--bs-space-2xl);
  padding-bottom: 120px;
}
/* カルーセルスライダー ------------------------- */
.carousel {
  position: relative;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}
.carousel-viewport {
  overflow: hidden;
}
/* トラック */
.carousel-track {
  display: flex;
  gap: var(--bs-space-lg);
  transition: transform .5s ease;
  will-change: transform;
  list-style: none;
}
.carousel-item {
  flex: 0 0 calc((100% - 48px) / 3); /* PC：3枚 */
  cursor: pointer;
}
.carousel-item img {
  width: 100%;
  height: auto;
  display: block;
}
/* SP表示（中央1枚＋チラ見え） */
@media (max-width: 767.98px) {
  .carousel-track {
    padding: 0 12%;
  }
  .carousel-item {
    flex: 0 0 76%;
  }
}
/* ボタン */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--bs-base);
  color:var(--bs-white);
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.carousel-btn.prev { left: 4px; }
.carousel-btn.next { right: 4px; }
.carousel-btn.prev span {
  transform: translateX(-1px) translateY(-5px);
}
.carousel-btn.next span {
  transform: translateX(1px) translateY(-5px);
}
/*  Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px; /* スマホ余白 */
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  z-index: 9999;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
@media screen and (max-width: 767px){
  .lightbox {
    padding: 40px 16px;
  }
}
/* おなやみ------------------------- */
.worries-box{
  border-radius: 20px;
  border: 1px solid var(--bs-primary);
  background-color: var(--bs-white);
}
.worries-title{
  border-radius: 18px 18px 0 0;
  background: var(--bs-primary);
  color: var(--bs-white);
  text-align: center;
  padding: var(--bs-space-xxs) 0;
}
.worries-link-box{
  padding: var(--bs-space-sm);
  position: relative;
}
.worries-link{
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  inset: 0;
  padding: var(--bs-space-md);
}
.worries-link-left,.worries-link-right{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap:var(--bs-space-lg);
}
.worries-link a{
  display: flex;
  border: 1px solid var(--bs-primary);
  background-color: var(--bs-primary-light-15);
  position: relative;
  color: var(--bs-text);
  font-weight: 700;
  padding: 0 var(--bs-space-sm);
}
.worries-link-left a{
  align-self: flex-start;
}
.worries-link-right a{
  align-self: flex-end;
}
.worries-link a::after{
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 16px 16px; /* サイズ */
  border-color: transparent transparent var(--bs-primary) transparent; /* 色 */
}
.worries-link a:hover{
  opacity: .8;
}
@media (max-width: 991px) {
  .worries-face{
    margin-bottom: var(--bs-space-2xl);
  }
}
@media screen and (max-width: 500px){
  .worries-link-left,.worries-link-right{
    gap:var(--bs-space-md);
  }
  .worries-link a{
    font-size: var(--bs-font-sm);
  }
}
@media screen and (max-width: 380px){
  .worries-link-left,.worries-link-right{
    gap:var(--bs-space-sm);
  }
  .worries-link a{
    font-size: var(--bs-font-xs);
  }
}
/* =========================
   パンクズ
========================= */
.breadcrumb{
  font-size: var(--bs-font-sm);
}
.breadcrumb-item.active{
  color: var(--bs-text);
}
.breadcrumb-item a{
  color: var(--bs-text);
}
.breadcrumb-item a:hover{
  color: var(--bs-primary);
}
.yoast-breadcrumbs span,
.yoast-breadcrumbs a{
  font-size: var(--bs-font-sm);
  color: var(--bs-text);
}
.yoast-breadcrumbs a:hover{
  color: var(--bs-primary);
}