/**スマホ下部バナー**/
.sp-under-bnr {
  display: none;
}
[data-element-id].sp-under-bnr {
  display: block;
}

@media (max-width: 599px){
  #main_editor {
    height: 100%;
  }
  .sp-under-bnr {
    display: block;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 10;
  }
  .sp-under-bnr .web {
    width: 100%;
    text-align: center;
    background: #6eb92b;
    padding: 2%;
    width: 100%;
    color: #fff;
    font-size: 16px;
  }
  .sp-under-bnr ul {
    display: flex;
    height: 50px;
  }
  .sp-under-bnr ul li {
    width: calc(100%/3);
    background: #d6f2b6;
    display: flex;               /* flexbox化 */
    align-items: center;         /* 縦方向中央 */
    justify-content: center;     /* 横方向中央 */
    text-align: center;          /* テキストの中央揃え */
  }
  .sp-under-bnr ul li a {
    font-size: 14px;
    line-height: 1.4;            /* 複数行の見やすさ調整 */
    display: inline-block;       /* 複数行でも中央にまとまる */
  }
  .sp-under-bnr ul li:nth-child(2) {
    border-left: 1px solid #999;
    border-right: 1px solid #999; 
  }
  .fixed-instabtn {
    bottom: 155px;
  }
  .totop {
    bottom: 100px;
  }
  /**ブログ表示調整**/
  #blog {
    padding: 5px 10px;
  }
  .blogcss dt {
    padding: 2px 0;
  }
  .home-tv .right #blog dt+dd {
    padding: 0 0 10px;
  }
  .home-tv .right #blog dt+dd {
    font-size: 16px;
  }
  /**診療案内**/
  .home-kodawari {
    padding-bottom: 60px;
  }
  .home-kodawari .inner {
    padding: 20px 0 0 0;
  }
  .home-kodawari .border-heading {
    margin-bottom: 10px;
  }
  .txt00 {
    margin-bottom: 20px;
  }
}

/**その他TOP変更**/
.side-bnr2 li:last-child {
  padding: 0 0 5px 0;
}
.home-insta {
  padding: 0 0 30px;
}
.home-insta .insta-btn.ver02 {
  width: 100%;
  max-width: 1130px;
  height: 60px;
  margin-bottom: 20px;
  font-size: 20px;
  padding: 0;
}
.home-insta .insta-btn.ver02 .txt {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  margin-left: 10px;
}

@media (max-width: 599px){
  .home-insta .insta-btn.ver02 {
    width: 96%;
  }
}

/*2025/10*/
/*峰歯科の診療のご案内*/
.home-kodawari dl.side-about {
  width: 98%;
  border: 5px solid #6eb92b;
  padding-bottom: 0;
}
.home-kodawari .side-about dt+dd {
  line-height: 1;
  padding: 0;
}
.home-kodawari .side-about dt {
  color: #fff;
}

/*MV*/
.mv-movie {
  position: relative;
  width: 100%;
}
.mv-movie video {
  width: 80%;
  margin-left: 10%;
}
.mv-movie .mv-txt {
  position: absolute;
  top: 45%;
  left: 20%;
  width: 60%;
}
.mv-movie .mv-txt .txt01 {
  font-size: 40px;
  color: #444;
  font-weight: bold;
  text-shadow: 0 2px 1px #fff, 2px 0 1px #fff, -2px 0 1px #fff, 0 -2px 1px #fff, 0 2px 2px #fff, 2px 0 2px #fff, -2px 0 2px #fff, 0 -2px 2px #fff, 0 2px 1px #fff, 2px 0 1px #fff, -2px 0 1px #fff, 0 -2px 1px #fff, 0 2px 2px #fff, 2px 0 2px #fff, -2px 0 2px #fff, 0 -2px 2px #fff;
}
.mv-movie .mv-txt .txt02 {
  font-size: 30px;
  margin-top: 40px;
  color: #444;
  font-weight: bold;
  text-shadow: 0 2px 1px #fff, 2px 0 1px #fff, -2px 0 1px #fff, 0 -2px 1px #fff, 0 2px 2px #fff, 2px 0 2px #fff, -2px 0 2px #fff, 0 -2px 2px #fff, 0 2px 1px #fff, 2px 0 1px #fff, -2px 0 1px #fff, 0 -2px 1px #fff, 0 2px 2px #fff, 2px 0 2px #fff, -2px 0 2px #fff, 0 -2px 2px #fff;
}

@media (max-width: 1024px){
  .mv-movie video {
    width: 100%;
    margin-left: 0;
  }
  .mv-movie .mv-txt {
    top: 40%;
    width: 86%;
    left: 7%;
  }
  .mv-movie .mv-txt .txt01 {
    font-size: 30px;
  }
  .mv-movie .mv-txt .txt02 {
    font-size: 20px;
    margin-top: 30px;
  }
}

@media (max-width: 599px){
  .mv-movie .mv-txt {
    /* top: 105%;
    width: 96%;
    left: 2%; */
    display: none;
  }
  .mv-movie .mv-txt .txt01 {
    font-size: 16px;
  }
  .mv-movie .mv-txt .txt02 {
    font-size: 12px;
    margin-top: 16px;
  }
  .home-main.mt150 {
    margin-top: 150px;
  }
}

/*SP下部バナー*/
@media (max-width: 599px){
  .sp-bnr-top .web {
    padding: 2% 2% 0;
  }
  .sp-bnr-top .web p {
    width: 53%;
    font-size: 16px;
    margin: auto;
    display: flex;
    align-items: center;
    color: #fff;
  }
  .sp-bnr-top .web p img {
    margin-right: 5px;
    width: 30px;
  }
  .sp-under-bnr ul li {
    background: #6eb92b;
  }
  .sp-under-bnr ul li:nth-child(2) {
    border-left: initial;
    border-right: initial;
  }
  .sp-under-bnr ul li a {
    display: block;
    width: 93%;
    padding: 10px 0;
    background: #fff;
    border-radius: 5px;
    text-align: left;
    position: relative;
  }
  .sp-under-bnr ul li a::after {
    content: ">";
    position: absolute;
    top: 10px;
    right: 5px;
  }
    
  .sp-under-bnr ul li a.spbnr02 {
    padding: 0;
  }
  .sp-under-bnr ul li a p {
    font-size: 12px;
    padding-left: 5px;
  }
}

/*2025/11/21*/
.lead-sentence {
  font-size: 16px;
  text-align: center;
  margin-bottom: 50px;
}

@media (max-width: 599px){
  .lead-sentence {
    font-size: 12px;
  }
}

/*2025/12/11*/
/* アコーディオン全体（ホバーのトリガーとなる範囲） */
.accordion-item {
    position: relative; /* 子要素（テキスト）を絶対配置するための基準点 */
    /* 必要に応じてパディングなどを設定 */
}

/* 表示させるテキスト部分の初期設定 */
.accordion-content {
    /* 初期状態は非表示にするための設定 */
    max-height: 0; /* 高さを0にして隠す */
    overflow: hidden; /* 高さを超えた内容は非表示 */
    opacity: 0; /* 透明度も0にしておく */

    /* 見た目の設定 (任意) */
    position: absolute;
    top: 100%; /* トリガーの下に配置 */
    left: 0;
    width: 100%;
    background-color: #f9f9f9; /* 背景色 */
    padding: 0 10px; /* パディングを初期状態ではゼロに（transitionで高さを変えるため）*/
    border: 1px solid #ccc;
    z-index: 10; /* 他の要素の上に表示 */

    /* アコーディオンのアニメーション設定 */
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out;
}

/* .accordion-item にマウスがホバーされたとき */
.accordion-item:hover .accordion-content {
    /* 表示状態にするための設定 */
    max-height: 200px; /* 適切な高さ (コンテンツが入る十分な値) に変更 */
    opacity: 1; /* 透明度を元に戻す */
    padding: 10px; /* 表示されたときのパディング */
}

/* リンク自体のスタイル (任意) */
.accordion-trigger {
    display: block; /* dd要素内いっぱいにクリック可能にする場合 */
    text-decoration: none;
    color: #333;
    padding: 5px 0;
}

.sp-nav-list.ver02 li.acc-parent01 {
  width: 90%;
}
.sp-nav-list.ver02 li.acc-parent02 {
  width: 90%;
}
.acc-parent01 , .acc-parent02 {
  padding: 5px 10px 5px 15px;
}

.acc-btn01 , .acc-btn02 {
  color: #fff;
  position: relative;
}

.acc-btn01:after {
  content: "▼";
  display: block;
  width: 1em;
  height: 1em;
  position: absolute;
  top: 0;
  right: 0;
  transition: 0.3s linear;
}

.acc-parent01.action .acc-btn01:after{
  transform: rotate(180deg);
}

.acc-btn02:after {
  content: "▼";
  display: block;
  width: 1em;
  height: 1em;
  position: absolute;
  top: 0;
  right: 0;
  transition: 0.3s linear;
}

.acc-parent02.action .acc-btn02:after{
  transform: rotate(180deg);
}
