/* 矢印付きbutton */
.wp-block-button.is-style-default-arrow-button .wp-element-button {
    display: inline-flex;
    align-items: center;
    justify-content: center; /* テキストを中央寄せ */
    padding-inline: 24px; /* 矢印分の右側余白を確保 */
    background-color: transparent;
    gap: 8px; /* テキストと矢印の間隔 */
    transition: background-color 0.3s, color 0.3s;

    &:hover {
        background-color: var(--wp--preset--color--custom-main-green);
        color: var(--wp--preset--color--custom-white);
    }
}

.wp-block-button.is-style-default-arrow-button .wp-element-button::after {
    content: '→';
    display: inline-block;
    font-size: 13px;
}

/* fvをアイキャッチ画像で導入するためのcss */
.fv {
    width: 100%;
    height: 60vh; /* お好みで調整 */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fv__inner {
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.fv__title {
    font-size: 3rem;
    margin: 0;
}

/* 交通事故施術の数字 */
/* .circle-number {
width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
} */
/* 初めての方への予約アイコン */
.line__icon {
    &::before {
        content: "";
        display: inline-block;
        width: 24px;
        height: 24px;
        background-image: url(../image/block/button/icons8-line-50.png);
        background-size: contain;
        background-repeat: no-repeat;
        flex-shrink: 0;
        vertical-align: middle;
        position: relative;
        top: -2px;
    }
}

.tel__icon {
        display: inline-block;
        width: 20px;
        height: 20px;
        background-size: contain;
        background-repeat: no-repeat;
        flex-shrink: 0;
        vertical-align: middle;
        position: relative;
    }

/* アクセスのマップサイズ */
.access-map-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  /* 高さを横幅の75％にする為。16：9にしたい時は56.25%でできる */
  height: 250px;
}

@media (min-width: 768px) {
  .access-map-container {
    height: 350px;
  }
}
@media (min-width: 950px) {
  .access-map-container {
    height: 450px;
  }
}
.access-map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.title-button {
    align-items: center;
    justify-content: center; /* テキストを中央寄せ */
    padding-inline: 24px; /* 矢印分の右側余白を確保 */
    background-color: transparent;
    gap: 8px; /* テキストと矢印の間隔 */
    transition: transform 0.3s, color 0.3s;

    &:hover {
        transform: translateY(-5px);
        color: var(--wp--preset--color--custom-main-green);
    }
}

.card:hover img {
  filter: brightness(1.1);
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  transition: background 0.3s ease;
}
.card:hover::before {
  background: rgba(0,0,0,0.2);
}

h4.title-button:hover,
h4.title-button:hover a {
  color: var(--wp--preset--color--custom-white)!important;
}
.title-button::after {
    content: '→';
    display: inline-block;
    font-size: 16px;
    margin-left: 8px;
}
.year {
  white-space: nowrap;
}