@charset "UTF-8";

/* ---------------------
  - *基本設定
  - *アニメーション
  - *タイトル
  - *メインビジュアル
  - *医院概要
  - *ご挨拶
  - *診療案内
  - *当院の特徴
  - *医療コラム
--------------------- */
/* ==================================================================================================================================

  *基本設定

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.front {
  overflow: hidden;
}

section .inner {
  padding: 100px 0;
}

.text>*:not(:last-child) {
  margin-bottom: 2em;
}

/* ----- パララックス ----- */
.parallax {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 500px;
}

/* 切り抜く範囲 */
.parallax_img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  clip-path: inset(0);
}

/* 固定する画像 */
.parallax_img::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  section .inner {
    padding: 70px 20px;
  }

  /* ----- パララックス ----- */
  .parallax {
    height: 300px;
  }
}

/* ==================================================================================================================================

  *アニメーション

================================================================================================================================== */
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeRightAnime {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeLeftAnime {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomInAnime {
  from {
    pointer-events: none;
    transform: scale(0.5);
  }

  to {
    pointer-events: auto;
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes zoomOutAnime {
  from {
    pointer-events: none;
    transform: scale(1);
  }

  to {
    pointer-events: auto;
    opacity: 1;
    transform: scale(1.5);
  }
}

@keyframes scrolldown {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.fadeUp,
.zoomOut,
.zoomIn,
.fadeRight,
.fadeLeft {
  opacity: 0;
}

.fadeUp.is-active {
  animation: fadeUpAnime 1s forwards;
}

.fadeRight.is-active {
  animation: fadeRightAnime 1s forwards;
}

.fadeLeft.is-active {
  animation: fadeLeftAnime 1s forwards;
}

.zoomIn.is-active {
  animation: zoomInAnime 0.8s forwards;
}

.zoomOut.is-active {
  animation: zoomOutAnime 1s forwards;
}

/* ==================================================================================================================================

  *タイトル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.top_title {
  margin-bottom: 50px;
  line-height: 1.5;
  text-align: center;
  /* 左寄せ */
}

.top_title.title_left {
  text-align: start;
}

.top_title h2 {
  font-size: 220%;
}

.top_title .eng {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--main-color);
  font-size: 150%;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .top_title {
    margin-bottom: 40px;
  }

  .top_title h2 {
    margin: 5px 0 0;
    font-size: 26px;
  }

  .top_title .eng {
    font-size: 18px;
  }
}

/* ==================================================================================================================================

  *メインビジュアル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.mainvisual {
  position: relative;
  z-index: 1;
  height: 800px;
  overflow: hidden;
}

.mvSlider {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

/* ----- スライダーのArrowボタン ----- */
.mvSlider .sliderBtn {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-50%);
}

.mvSlider .sliderBtn#mv_btnPrev {
  left: 20px;
}

.mvSlider .sliderBtn#mv_btnNext {
  right: 20px;
}

.mvSlider .sliderBtn span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: var(--main-color);
  border-radius: 50%;
  transition: background 0.2s;
}

.mvSlider .sliderBtn span:hover {
  background: var(--text-color);
}

.mvSlider .sliderBtn span::before {
  padding: 0 0 1px 0;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  color: #ffffff;
  font-size: 15px;
  transition: color 0.2s;
}

.mvSlider .sliderBtn#mv_btnPrev span::before {
  content: "\f060";
}

.mvSlider .sliderBtn#mv_btnNext span::before {
  content: "\f061";
}

/* 各スライダーのボタンは非表示に */
.mvSlider .splide__arrows {
  display: none;
}

/* ----- MVの画像 ----- */
.mvImg {
  width: 100%;
  height: 100%;
}

.mvImg .splide__track {
  width: 100%;
  height: 100%;
}

.mvImg .splide__slide {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.mvImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* フェードの専用スタイル */
.fade .mvImg .splide__slide img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  height: calc(100% + 50px);
  pointer-events: none;
    object-position: left;
}

/* アニメーションを実行 */
/* .fade.move .mvImg .splide__slide img {
  animation: hideTranslate 8s ease-out forwards;
} */

/* .fade.move .mvImg .splide__slide.is-active img {
  animation: showTranslate 8s ease-out forwards;
} */

/* MVのアニメーション  */
@keyframes showTranslate {
  0% {
    transform: translate3d(0, 0px, 0);
  }

  100% {
    transform: translate3d(0, -30px, 0);
  }
}

@keyframes hideTranslate {
  0% {
    transform: translate3d(0, -30px, 0);
  }

  100% {
    transform: translate3d(0, 0px, 0);
  }
}

/* ----- キャッチコピー ----- */
.mvCatch {
  position: absolute !important;
  top: 40%;
    top: 18%;
  left: 0;
  z-index: 3;
  width: 100%;
  transform: translateY(-50%);
}

.mvCatch .inner {
  position: relative;
  z-index: 1;
}

.mvCatch p {
  font-size: 220%;
  filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff);
}

/* ----- コンテンツ ----- */
.mvContents {
  position: absolute !important;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.mvContents .inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.mvContents .inner .office_hour {
  max-width: 570px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
}

.mvContents .splide__track {
  width: 100%;
  height: 100%;
}

/* ----- 開院バナー ----- */
.open_bnr {
  position: absolute;
  bottom: 50px;
  display: inline-block;
  padding: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.open_bnr>* {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: 280px;
  padding: 15px;
  background: var(--main-color);
  border-radius: 50%;
  color: #ffffff;
  font-size: 110%;
  line-height: 1.5;
  text-align: center;
}

.open_bnr .date {
  font-size: 110%;
}

.open_bnr .open_text {
  margin: 0 0 10px;
  font-size: 180%;
}

.open_bnr .nairankai_tit {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 5px 10px;
  background: #ffffff;
  border-radius: 300px;
  color: var(--main-color);
  font-size: 90%;
  text-align: center;
}

/* サブカラー */
.open_bnr.subcolor>* {
  background: var(--sub-color);
}

.open_bnr.subcolor>* .nairankai_tit {
  color: var(--sub-color);
}

/* ----- MVバッジ（きむら歯科：ワイヤー準拠の枠・文言・位置のみ。色・装飾はデザイン工程で調整） ----- */
/* デザイン02：開院バナー（直径 248px）の右に 184px の円を 3 つ。円の中心を開院バナーの中心の高さにそろえる */
.mv_badges {
  position: absolute;
  bottom: 92px;
  left: 282px;
  display: flex;
  gap: 18px;
}

.mv_badges p {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 184px;
  height: 184px;
  margin: 0;
  padding: 10px;
  background: var(--main-color);
  border-radius: 50%;
  color: #ffffff;
  line-height: 1.5;
  text-align: center;
}

/* ----- スマホ専用エリア ----- */
.sp_only {
  display: none;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .mainvisual {
    height: 400px;
  }

  /* ----- スライダーのArrowボタン ----- */
  .mvSlider .sliderBtn {
    top: 50%;
    width: 40px;
    height: 40px;
    padding: 2px;
    font-size: 12px;
  }

  .mvSlider .sliderBtn#mv_btnPrev {
    left: 10px;
  }

  .mvSlider .sliderBtn#mv_btnNext {
    right: 10px;
  }

  .mvSlider .sliderBtn span::before {
    font-size: 11px;
  }

  /* ----- キャッチコピー ----- */
  .mvCatch {
    top: auto;
    bottom: 20px;
    display: none;
  }

  .mvCatch.is-active {
    display: block;
  }

  .mvCatch p {
    font-size: 130%;
    line-height: 1.75;
    filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 3px #ffffff);
  }

  /* ----- コンテンツ ----- */
  .mvContents {
    display: none;
  }

  /* ----- 開院バナー ----- */
  .open_bnr {
    position: static;
    width: 100%;
    max-width: 350px;
    border-radius: 0;
  }

  .open_bnr>* {
    width: 100%;
    height: auto;
    padding: 15px 20px;
    border-radius: 0;
  }

  /* ----- MVバッジ ----- */
  .mv_badges {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .mv_badges p {
    width: 105px;
    height: 105px;
    padding: 5px;
    font-size: 85%;
  }

  /* ----- スマホ専用エリア ----- */
  .sp_only {
    display: block;
    background: none !important;
  }

  .sp_only .inner {
    padding: 0 20px;
  }

  .sp_only_contents {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
  }
}

/* ==================================================================================================================================
  *医院概要（パターン02）
================================================================================================================================== */
/* ----------------------------------------------------------------------
▼ PC
---------------------------------------------------------------------- */
.clinic {
  position: relative;
  z-index: 1;
  background: var(--bg-color);
}
/* ----- お知らせ ----- */
.clinic .news {
  position: relative;
  z-index: 1;
}
.clinic .news .inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  padding: 100px 0 70px;
}
.clinic .news .news_left {
  flex-shrink: 0;
}
.clinic .news .top_title {
  margin: 0 0 30px;
}
.clinic .news .btn01 {
  margin-top: 30px;
  text-align: center;
}
/* ----- 医院概要 ----- */
.clinic .info .inner {
  display: flex;
  gap: 40px;
  padding: 0 0 100px;
}
.clinic .info .inner>* {
  width: calc(50% - 20px);
}
.clinic .info .office_hour .title {
  background: #ffffff;
}
.clinic .info .office_hour .table_wrapper {
  background: #ffffff;
}
.clinic .info address>* {
  position: relative;
  z-index: 1;
  min-height: 40px;
}
.clinic .info address>*::before {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 0 2px;
  background: var(--main-color);
  border-radius: 50%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ffffff;
  font-size: 16px;
}
.clinic .info address .location {
  padding: 5px 0 5px 50px;
}
.clinic .info address .location::before {
  content: "\f3c5";
}
.clinic .info address .location .zipcode {
  margin-right: 10px;
}
.clinic .info address .tel {
  margin-top: 15px;
  padding: 3px 0 7px 50px;
  font-size: 30px;
  line-height: 1;
}
.clinic .info address .tel::before {
  content: "\f3cd";
}
.clinic .info address .fax {
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  font-size: 30px;
  line-height: 1;
}
.clinic .info address .fax::before {
  content: "\f249";
}
.clinic .info .note {
  margin-top: 20px;
  padding-left: 12px;
  font-size: 90%;
}
.clinic .info .speciality {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px auto 0;
  padding: 20px;
  background: #ffffff;
}
.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  background: var(--main-color);
  color: #ffffff;
  text-align: center;
}
.clinic .info .googlemap iframe {
  height: 350px;
}
.clinic .info .list_access {
  margin-top: 5px;
}
.clinic .info .calendar_text {
  margin-top: 20px;
}
.clinic .info .btn01 {
  margin-top: 30px;
  text-align: center;
}
/* ----------------------------------------------------------------------
▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
/* ----- お知らせ ----- */
  .clinic .news .inner {
    flex-flow: column;
    gap: 0;
    padding: 60px 20px;
  }
/* ----- 医院概要 ----- */
  .clinic .info .inner {
    flex-flow: column;
    padding: 0 20px 70px;
  }
  .clinic .info .inner>* {
    width: 100%;
  }
  .clinic .info .speciality {
    flex-flow: column;
    gap: 10px;
    padding: 10px;
  }
  .clinic .info .speciality .title {
    width: 100%;
  }
}

/* ==================================================================================================================================

  *ご挨拶（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.greeting {
  position: relative;
  z-index: 1;
}

.greeting_box {
  position: relative;
  z-index: 1;
}

.greeting_flex {
  display: flex;
  gap: 50px;
}

.greeting_box:not(:last-child) {
  margin-bottom: 70px;
}

.greeting_left {
  flex-shrink: 0;
  width: 60%;
}

.greeting_text>*:not(:last-child) {
  margin-bottom: 2em;
}

.greeting_profile {
  padding: 20px;
  background: var(--main-color);
  color: #ffffff;
  line-height: 1.75;
  text-align: center;
}

.greeting_profile .position {
  font-size: 130%;
}

.greeting_profile .name {
  font-size: 150%;
}

.greeting_btn {
  margin-top: 50px;
  text-align: center;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .greeting_flex {
    flex-flow: column-reverse;
    gap: 25px;
  }

  .greeting_left {
    width: 100%;
  }

  .greeting_btn {
    margin-top: 40px;
  }
}

/* ==================================================================================================================================

  *診療案内（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.medical {
  background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url(../images/common/dmy.jpg) no-repeat center/cover;
}

.medical .top_title {
  color: #ffffff;
}

.medical .top_title span {
  color: var(--main-color);
}

.medical_caption {
  margin: 0 0 50px;
  color: #ffffff;
  text-align: center;
}

.medical_contents:not(:last-child) {
  margin-bottom: 60px;
}

.medical_contents_title {
  margin: 0 0 30px;
  color: #ffffff;
  font-size: 24px;
  text-align: center;
}

.medical_list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 20px;
}

.medical_item {
  position: relative;
  z-index: 1;
  width: calc(25% - 15px);
  height: auto;
}

.medical_item:hover {
  transform: translateY(-10px);
}

.medical_img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  transition: background 0.2s;
}

.medical_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.medical_inner {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 270px;
  padding: 30px 20px 40px;
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.medical_inner>*:not(:last-child) {
  margin-bottom: 15px;
}

.medical_icon {
  width: 70%;
  max-width: 80px;
  margin: 0 auto 15px !important;
}

.medical_title h3,
.medical_title h4 {
  color: var(--text-color);
  font-size: 120%;
}

.medical_title_eng {
  margin-top: 5px;
  color: var(--main-color);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
}

.medical_text {
  color: var(--text-color);
}

.medical_btn span {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 auto;
  padding: 7px 25px 7px 15px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #ffffff;
  letter-spacing: 1px;
  text-align: center;
  transition: padding 0.2s, color 0.2s, background 0.2s;
}

.medical_btn span::after {
  content: "\f105";
  position: absolute;
  top: 50%;
  right: 10px;
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 10px;
  transform: translateY(-50%);
}

.medical_item:hover .medical_btn span {
  background: #ffffff;
  color: var(--main-color);
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .medical {
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url(../images/common/dmy.jpg) no-repeat center/cover;
  }

  .medical_caption {
    margin-bottom: 30px;
  }

  .medical_contents:not(:last-child) {
    margin-bottom: 40px;
  }

  .medical_contents_title {
    margin-bottom: 20px;
    font-size: 20px;
  }

  .medical_list {
    gap: 15px 10px;
  }

  .medical_item {
    width: calc(50% - 5px);
  }

  .medical_item:hover {
    transform: translateY(-5px);
  }

  .medical_inner {
    min-height: auto;
    padding: 20px 10px;
  }

  .medical_icon {
    width: 50%;
  }

  .medical_title h3,
  .medical_title h4 {
    font-size: 110%;
  }
}

/* ==================================================================================================================================
  *当院の特徴（パターン02）
================================================================================================================================== */
/* ----------------------------------------------------------------------
▼ PC
---------------------------------------------------------------------- */
.feature {
  background: var(--bg-color);
}
.feature_list {
  display: flex;
  flex-flow: wrap;
  gap: 70px 30px;
}
.feature_item {
  display: flex;
  width: 100%;
  height: auto;
  margin-top: 50px;
}
.feature_img {
  flex-shrink: 0;
  width: 500px;
  margin-top: -50px;
}
.feature_inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-flow: column;
  width: calc(100% + 50px);
  height: 100%;
  min-height: 400px;
  margin: 0 0 0 -50px;
  padding: 50px 30px 50px;
  background: #ffffff;
}
.feature_title {
  display: flex;
  flex-flow: column;
  margin-bottom: 20px;
}
.feature_title h3 {
  color: var(--main-color);
  font-size: 150%;
  line-height: 1.75;
}
.feature_num {
  margin: 0 0 10px;
  font-size: 120%;
}
.feature_num span {
  color: var(--main-color);
  font-size: 130%;
}
.feature_button {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 25px;
}
.feature_button .btn01 {
  text-align: center;
}
/* ----- 左右 ----- */
.feature_item:nth-child(even) {
  flex-flow: row-reverse;
}
.feature_item:nth-child(even) .feature_inner {
  margin: 0 -50px 0 0;
}
/* ----------------------------------------------------------------------
▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .feature {
    padding-bottom: 0;
  }
  .feature_list {
    gap: 40px;
  }
  .feature_item {
    flex-flow: column;
    width: 100%;
    margin: 0;
  }
  .feature_img {
    width: 100%;
    margin: 0;
  }
  .feature_inner {
    width: 100%;
    min-height: auto;
    margin: 0;
    padding: 30px 20px;
  }
  .feature_title {
    min-height: auto;
    margin-bottom: 15px;
  }
/* ----- 左右 ----- */
  .feature_item:nth-child(even) {
    flex-flow: column;
  }
  .feature_item:nth-child(even) .feature_inner {
    margin: 0 auto;
  }
}

/* ==================================================================================================================================

  *医療コラム（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.column {
  background: var(--bg-color);
}

.column .column_list {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 50px 25px;
  padding: 30px;
  background: #ffffff;
}

.column .column_box {
  width: calc(25% - 18.75px);
}

.column .column_box dt a {
  display: block;
  padding: 15px 10px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 110%;
  text-align: center;
}

.column .column_box dd {
  padding: 10px 10px;
  border-bottom: 1px dashed var(--line-color);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .column .column_list {
    gap: 40px;
  }

  .column .column_box {
    width: 100%;
  }
}

/* ==================================================================================================================================

  *医療コラム（パターン03）

================================================================================================================================== */
#columnSlider {
  background: var(--bg-color);
}

#columnSlider .inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 130px;
  width: 90%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 100px 50px;
}

#columnSlider .top_title {
  flex-shrink: 0;
}

#columnSlider .top_title h2::before, #columnSlider .top_title h2::after {
  display: none;
}

/* ----- コラムスライダー設定 ----- */
#columnSlider .splide {
  width: 100%;
  padding-top: 75px;
  overflow: hidden;
}

#columnSlider .splide__list {
  align-items: flex-start;
  width: 100%;
}


/* スライダーのArrowボタン */
#columnSlider .splide__arrow {
  position: absolute;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 45px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #ffffff;
  cursor: pointer;
  overflow: hidden;
  transform: translateZ(0);
  transition: background 0.2s, color 0.2s;
}

#columnSlider .splide__arrow:hover {
  background: #ffffff;
  color: var(--main-color);
}

#columnSlider .splide__arrow span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  transition: background 0.2s;
}

#columnSlider .splide__arrow span::before {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
}

#columnSlider .splide__arrow--prev {
  right: 70px;
}

#columnSlider .splide__arrow--prev span::before {
  content: "\f104";
}

#columnSlider .splide__arrow--next {
  right: 0;
}

#columnSlider .splide__arrow--next span::before {
  content: "\f105";
}

#columnSlider .splide__slide {
  display: flex;
  align-items: center;
  min-height: 200px;
}

/* ----- ページネーション ----- */
#columnSlider .splide__pagination {
  position: absolute;
  top: 17px;
  right: 190px;
  z-index: 1;
  display: flex;
  gap: 15px;
}

#columnSlider .columnSlider-page {
  width: 10px;
  height: 10px;
  background-color: #e8e8e8;
  border-radius: 50%;
  transition: background 0.2s;
}

#columnSlider .columnSlider-page.is-active {
  background: var(--main-color);
}

/* ----- コラム個別 ----- */
#columnSlider .column_item:first-child .column_item_thum::before {
  content: "New";
  position: absolute;
  top: -1px;
  left: -1px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-self: center;
  width: 90px;
  height: 90px;
  padding: 10px 35px 0 0;
  background: var(--sub-color);
  color: #ffffff;
  font-size: 16px;
  letter-spacing: 0.075em;
  opacity: 0.9;
  clip-path: polygon(0 0, 0% 100%, 100% 0);
}

#columnSlider .column_item a {
  width: 100%;
}

#columnSlider .column_item a:hover .column_item_thum img {
  transform: scale(1.1);
}

#columnSlider .column_item a:hover .column_title {
  color: var(--main-color);
}

#columnSlider .column_item_thum {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  margin: 0 0 15px;
  overflow: hidden;
}

#columnSlider .column_item_thum img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
  aspect-ratio: 13/9;
}

#columnSlider .column_info {
  display: flex;
  flex-flow: wrap;
  gap: 15px;
  margin: 0 0 15px;
  color: #747474;
  font-size: 90%;
}

#columnSlider .column_info ul {
  display: flex;
  flex-flow: wrap;
  gap: 5px;
}

#columnSlider .column_info ul li {
  min-width: 80px;
  padding: 2px 10px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 90%;
  text-align: center;
}

#columnSlider .column_date {
  flex-shrink: 0;
}

#columnSlider .column_title {
  color: var(--text-color);
  font-size: 105%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

/* ==============================================
  *SP　医療コラム
============================================== */
@media screen and (max-width: 640px) {
  #columnSlider .inner {
    flex-flow: column;
    gap: 0;
    width: 100%;
    margin: 0 auto;
    padding: 70px 20px;
  }

  #columnSlider .top_title {
    margin: 0 auto 50px;
  }

  #columnSlider .splide {
    margin-right: -40px;
  }

  #columnSlider .splide__arrow {
    width: 50px;
    height: 40px;
  }

  #columnSlider .splide__arrow--next {
    right: 20px;
  }

  #columnSlider .splide__arrow--prev {
    right: 80px;
  }

  #columnSlider .splide__pagination {
    top: 13px;
    right: auto;
    left: 0;
    justify-content: flex-end;
    gap: 13px;
    transform: translate(0);
  }

  #columnSlider .splide__slide:first-child .column_item_thum::before {
    width: 80px;
    height: 80px;
    padding: 13px 25px 0 0;
  }

  #columnSlider .columnSlider-page {
    width: 8px;
    height: 8px;
  }
}

/* ==================================================================================================================================

  *無限スライダー

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
#infinitySlider {
  padding: 10px 0;
}

#infinitySlider .splide__list {
  gap: 10px;
}

#infinitySlider .splide__slide {
  width: 400px !important;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  #infinitySlider .splide__slide {
    width: 300px !important;
  }
}
/* ====================================================================
   きむら歯科・矯正歯科 デザイン01：TOP の全体トーン（2026-10-29）
   構造・セクション順は変えず、見出し・面・写真の見せ方をそろえる。
==================================================================== */

/* ----- セクション見出し：英字は小さく字間広め、和文の下に短い線 ----- */
.top_title .eng {
  margin-bottom: 8px;
  color: var(--sub-color);
  font-size: 105%;
  font-weight: 500;
  letter-spacing: 0.18em;
}

.medical .top_title span.eng {
  color: #ffffff;
}

.top_title h2 {
  font-size: 200%;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.top_title::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin: 18px auto 0;
  background: var(--sub-color);
  border-radius: 2px;
  opacity: 0.8;
}

.top_title.title_left::after {
  margin-left: 0;
}

/* ----- MV（デザイン02・03） ----- */
/* デザイン03：MV を正式画像（mv.jpeg）に差し替えたため、027 の comingsoon.png 限定ルールは削除。
   キャッチの後ろ（左側）だけ白の薄いベールを敷き、写真を暗くせずに文字を読みやすくする */
.mvImg .splide__slide {
  position: relative;
}

.mvImg .splide__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0) 65%);
  pointer-events: none;
}

/* キャッチコピー：HERO の .mvCatch p は効いていない（本文が .inner 直下のテキスト）ため .inner に指定 */
.mvCatch .inner {
  color: var(--main-color);
  font-size: 34px;
  letter-spacing: 0.16em;
  line-height: 1.7;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.9), 0 0 14px rgba(255, 255, 255, 0.85);
}

/* 開院バナー：塗りの円＋内側の細い線。日付 → 新規開院 → 内覧会（白のカプセル） → 日程
   デザイン03：背後の外円（左上にずらした線円）は削除 */
.open_bnr {
  bottom: 60px;
  padding: 0;
  background: none;
}

.open_bnr>* {
  position: relative;
  width: 248px;
  height: 248px;
  padding: 24px 20px;
  box-shadow: 0 12px 30px rgba(80, 55, 40, 0.18);
  font-size: 100%;
  line-height: 1.5;
}

.open_bnr>*::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.open_bnr .date {
  font-size: 15px;
  letter-spacing: 0.12em;
}

.open_bnr .open_text {
  margin: 2px 0 8px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
}

.open_bnr .nairankai_tit {
  width: auto;
  margin: 0 0 6px;
  padding: 2px 20px;
  font-size: 13px;
  letter-spacing: 0.2em;
  line-height: 1.6;
}

/* 日程：円の中では 1 行に入らない（12px で 222px）。幅を 196px に抑え、
   「…28日（土）・」（約 187px）の後で折り返す＝日付の区切りで改行し、「（日）」だけが落ちないようにする */
.open_bnr .nairakai_date {
  max-width: 180px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  line-height: 1.6;
  word-break: keep-all;
}

/* 案内の 3 円：白地＋細い二重縁で、主役の開院バナーと強弱をつける */
.mv_badges p {
  background: rgba(255, 255, 255, 0.94);
    background: var(--bg-color);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.45), var(--shadow-soft);
  color: var(--main-color);
  font-size: 106%;
  letter-spacing: 0.08em;
}

/* ----- お知らせ・医院概要 ----- */
.clinic .news #mp-title {
  flex: 1;
  padding: 25px 40px;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* 記事：日付をメイン色＋等幅数字、行のホバーは淡い面（デザイン02） */
.clinic .news #mp-title .news_item a {
  transition: color 0.2s, background 0.2s;
}

.clinic .news #mp-title .news_item a:hover {
  background: var(--bg-soft);
}

.clinic .news #mp-title .news_info .date {
  color: var(--main-color);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

/* お知らせ → 医院情報の区切り：カードを増やさず、細い線と余白で区間を分ける（デザイン02） */
.clinic .news .inner {
  padding-bottom: 60px;
}

.clinic .info .inner {
  padding-top: 60px;
  border-top: 1px solid var(--line-color);
}

/* 医院情報：住所・注記・周辺案内を読みやすく（デザイン02） */
.clinic .info address .location {
  font-size: 16px;
}

.clinic .info address .tel {
  color: var(--main-color);
  letter-spacing: 0.06em;
}

.clinic .info .note {
  font-size: 14px;
  line-height: 1.9;
}

.clinic .info .list_access li {
  position: relative;
  padding: 10px 10px 10px 26px;
  font-size: 15px;
}

.clinic .info .list_access li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 8px;
  width: 6px;
  height: 6px;
  background: var(--sub-color);
  border-radius: 50%;
  transform: translateY(-50%);
}

.clinic .info .speciality {
  border-radius: var(--radius);
}

.clinic .info .speciality .title {
  border-radius: 100vmax;
}

.clinic .info .googlemap iframe {
  border-radius: var(--radius);
}

/* ----- ごあいさつ：冒頭の一文をリードとして見せ、写真は角丸、名前は帯をやめて軽く ----- */
.greeting_text h3 {
  margin-bottom: 1.6em;
  padding-bottom: 0.9em;
  border-bottom: 1px solid var(--line-color);
  color: var(--main-color);
  font-size: 150%;
  line-height: 1.7;
  letter-spacing: 0.12em;
}

.greeting_img img {
  border-radius: var(--radius);
}

/* デザイン03：背景に淡い円の面（右上）と細い円弧（左下）。本文・写真の後ろに敷く */
.greeting {
  overflow: hidden;
}
	
.greeting::before,
.greeting::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.greeting::before {
  top: -120px;
  right: -180px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(247, 242, 236, 0.95) 0%, rgba(247, 242, 236, 0.6) 45%, rgba(247, 242, 236, 0) 70%);
}

.greeting::after {
  bottom: -260px;
  left: -200px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(194, 150, 115, 0.28);
}

/* 院長写真：後ろに少しずらしたグレージュの面を重ね、写真と名前を 1 つのまとまりに */
.greeting_img {
  position: relative;
}

.greeting_img::before {
  content: "";
  position: absolute;
  top: 16px;
  right: -16px;
  bottom: -16px;
  left: 16px;
  background: var(--bg-color);
  border-radius: var(--radius);
}

.greeting_img img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  box-shadow: var(--shadow-soft);
}

.greeting_profile {
  margin-top: 16px;
}

.greeting_profile {
  padding: 18px 10px 0;
  background: none;
  color: var(--text-color);
}

.greeting_profile .position {
  color: var(--main-color);
  font-size: 95%;
  letter-spacing: 0.12em;
}

.greeting_profile .name {
  font-size: 150%;
  letter-spacing: 0.2em;
}

.greeting_left {
    position: relative;
}

.greeting_left::before {
    position: absolute;
    content: "";
    background: url(https://kimura-dcl.com/wp/wp-content/uploads/2026/11/logo_mark.png) no-repeat;
    left: 20px;
    bottom: -142px;
    width: 462px;
    height: 462px;
    background-size: contain;
    z-index: -1;
    opacity: .7;
    filter: brightness(0.9) sepia(0.2) saturate(0.8) hue-rotate(345deg);
}

/* ----- 当院の特徴：白いカードを角丸＋淡い影に、写真も角丸 ----- */
.feature_img img {
  border-radius: var(--radius);
}

.feature_inner {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.feature_num {
  color: var(--sub-color);
  letter-spacing: 0.1em;
}

.feature_num span {
  color: var(--sub-color);
}

.feature_title h3 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-color);
  letter-spacing: 0.1em;
}

/* デザイン03：9 件の反復を、番号の階層・見出しの短いアクセント線・余白で整える */
.feature {
  background: linear-gradient(180deg, #ffffff 0, var(--bg-color) 260px);
}

.feature_inner {
  min-height: 330px;
  padding: 46px 44px 42px;
  box-shadow: 0 14px 36px rgba(80, 55, 40, 0.08);
}

.feature_num {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0.2em;
  line-height: 1;
}

.feature_num span {
  font-size: 34px;
  letter-spacing: 0.04em;
}

.feature_title h3 {
  background: linear-gradient(var(--sub-color), var(--sub-color)) left bottom / 40px 2px no-repeat;
}

.feature_text {
  line-height: 2;
  word-break: normal;
  overflow-wrap: anywhere;
}

/* 写真：反対側に細い線の枠をずらして置き、写真とカードの位置関係（左右の交互）をはっきりさせる */
.feature_img {
  position: relative;
}

.feature_img::before {
  content: "";
  position: absolute;
  top: -14px;
  left: -14px;
  width: 100%;
  height: calc(100% - 4px);
  border: 1px solid rgba(194, 150, 115, 0.45);
  border-radius: var(--radius);
  pointer-events: none;
}

.feature_item:nth-child(even) .feature_img::before {
  right: -14px;
  left: auto;
}

.feature_img img {
  position: relative;
  display: block;
  box-shadow: var(--shadow-soft);
}

/* ----- 診療案内：タイルを角丸・半透明の白に ----- */
.medical_item {
  transition: transform 0.2s;
}

.medical_inner {
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(80, 55, 40, 0.08);
}

.medical_img {
  border-radius: var(--radius);
  overflow: hidden;
}

.medical_title h3,
.medical_title h4 {
  color: var(--main-color);
  letter-spacing: 0.12em;
}

/* ----- 医療コラム：直後のフッター医院情報（グレージュ）と面を分けるため白地に。サムネイル・矢印は角丸 ----- */
#columnSlider {
  background: #ffffff;
}

#columnSlider .column_item_thum {
  border-radius: var(--radius);
  overflow: hidden;
}

/* デザイン03：矢印を真円に（HERO 標準は 60×45 のため、角丸 50% だと横長の楕円になっていた） */
#columnSlider .splide__arrow {
  flex-shrink: 0;
  width: 52px;
  min-width: 52px;
  height: 52px;
  padding: 0;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  border-radius: 50%;
}

#columnSlider .splide__arrow:focus-visible {
  outline: 2px solid var(--main-color);
  outline-offset: 3px;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .top_title h2 {
    font-size: 24px;
  }

  .top_title .eng {
    font-size: 15px;
  }

  .top_title::after {
    margin-top: 14px;
  }

  /* ----- MV 下のバナー（デザイン03）：円の羅列をやめ、角丸カード 4 枚の縦並びに -----
     2×2 は開院カードが約 160px 幅になり、日程・時刻を縮めるか細かく改行することになるため不採用 */
  .sp_only_contents {
    align-items: stretch;
    gap: 10px;
  }

  .sp_only .mv_badges {
    flex-flow: column;
    gap: 8px;
    width: 100%;
  }

  .sp_only .mv_badges p {
    width: 100%;
    height: auto;
    min-height: 52px;
    padding: 12px 16px;
    background: var(--bg-color);
    border-radius: var(--radius);
    box-shadow: inset 0 0 0 1px var(--line-color);
    color: var(--main-color);
    font-size: 15px;
    letter-spacing: 0.08em;
    line-height: 1.6;
  }

  /* 幅のあるカードでは 1 行で読めるので、円用の改行を外す */
  .sp_only .mv_badges p br,
  .sp_only .open_bnr .date br {
    display: none;
  }
.greeting_left::before {
    width: 320px;
    height: 320px;
    left: 100px;
	}
  /* ----- MV（デザイン02） ----- */
  /* 「診／療を。」のような語中の改行を避け、「、」の後で折り返す */
  .mvCatch .inner {
    padding: 0 20px;
    font-size: 19px;
    letter-spacing: 0.12em;
    word-break: keep-all;
  }

  /* 開院バナー：SP は角丸カード（デザイン03。027 の円から変更）。案内 3 件より濃い面で重要度に差をつける */
  .open_bnr {
    position: relative;
    bottom: auto;
    width: 100%;
    max-width: none;
    margin: 20px 0 0;
    border-radius: var(--radius);
  }

  .open_bnr>* {
    width: 100%;
    height: auto;
    padding: 22px 20px 20px;
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(80, 55, 40, 0.14);
  }

  .open_bnr>*::before {
    inset: 6px;
    border-radius: 8px;
  }

  .open_bnr .open_text {
    font-size: 28px;
  }

  .open_bnr .nairakai_date {
    max-width: none;
    font-size: 13.5px;
  }

  /* MV のベール：SP はキャッチが左下にあるため下から */
  .mvImg .splide__slide::after {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.25) 40%, rgba(255, 255, 255, 0) 70%);
  }

  /* ----- ごあいさつ（デザイン03）：装飾は弱め、写真は大きすぎない幅で中央 ----- */
  .greeting::before {
    top: -80px;
    right: -160px;
    width: 360px;
    height: 360px;
  }

  .greeting::after {
    display: none;
  }

  .greeting_right {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .greeting_img::before {
    top: 10px;
    right: -10px;
    bottom: -10px;
    left: 10px;
  }

  /* ----- 当院の特徴（デザイン03）：カードを写真に少し重ね、左右を交互にずらす ----- */
  .feature_inner {
    width: calc(100% - 20px);
    min-height: auto;
    margin: -28px 0 0 auto;
    padding: 28px 22px 30px;
  }

  .feature_item:nth-child(even) .feature_inner {
    margin: -28px auto 0 0;
  }

  .feature_img::before {
    top: -8px;
    left: -8px;
  }

  .feature_item:nth-child(even) .feature_img::before {
    right: -8px;
  }

  .feature_num span {
    font-size: 28px;
  }

  .feature_title h3 {
    word-break: auto-phrase;
  }

  /* ----- 医療コラム（デザイン03）：矢印も真円 ----- */
  #columnSlider .splide__arrow {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }

  /* SP の住所：「2丁／目」のような語中の折り返しを防ぐ（郵便番号は 1 行目、住所は 2 行目） */
  .clinic .info address .location {
    font-size: 15px;
    letter-spacing: 0.05em;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .clinic .info address .location .zipcode {
    display: block;
  }

  .clinic .news .inner {
    padding-bottom: 50px;
  }

  .clinic .info .inner {
    padding-top: 50px;
  }

  .clinic .news #mp-title {
    width: 100%;
    padding: 10px 20px;
  }

  .greeting_text h3 {
    font-size: 125%;
  }

  .greeting_profile {
    padding-top: 12px;
  }
}

/* ====================================================================
   きむら歯科・矯正歯科 デザイン04（2026-10-29）→ デザイン05・06（同日）で改訂
   PC 開院バナー／SP の MV 下の余白／当院の特徴・診療案内の背景／診療案内（3＋2・アイコン）
   029・030 の指定はこのブロックの中で置き換えた（後ろに重ねない）
==================================================================== */

/* ----- PC 開院バナー（デザイン06）：030 の 340px は大きすぎたため 296px に。詰めずに読める組み方 -----
   優先順位は 新規開院 → 開院日 → 内覧会の日程 → 時刻。括弧は半角（管理画面の文字列を 031 で半角に）。
   開院日は円用の <br> を CSS で外して 1 行。日程と時刻は同じ p（<br> 区切り）なので、日程を ::first-line で、時刻を本体の大きさ・太字で。
   SP（.sp_only）には効かない */
@media screen and (min-width: 641px) {
  .mvContents .open_bnr>* {
    width: 296px;
    height: 296px;
    padding: 0 24px 4px;
  }

  .mvContents .open_bnr>*::before {
    inset: 7px;
  }

  .mvContents .open_bnr .date {
    font-size: 15px;
    letter-spacing: 0.08em;
    line-height: 1.5;
  }

  .mvContents .open_bnr .date br {
    display: none;
  }

  .mvContents .open_bnr .open_text {
    margin: 2px 0 10px;
    font-size: 32px;
  }

  .mvContents .open_bnr .nairankai_tit {
    margin-bottom: 9px;
  }

  .mvContents .open_bnr .nairakai_date {
    max-width: none;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.55;
    white-space: nowrap;
  }

  .mvContents .open_bnr .nairakai_date::first-line {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.06em;
  }

  /* 案内 3 円：172px に少し小さくして主役との差をつけ、開院バナーの右 34px から。中心の高さ（下から 60 + 148 = 208px）をそろえる */
  .mvContents .mv_badges {
    bottom: 122px;
    left: 330px;
    gap: 16px;
  }

  .mvContents .mv_badges p {
    width: 172px;
    height: 172px;
  }
}

/* ----- SP：MV 下の案内カードとお知らせの間（デザイン05） -----
   .sp_only の下端と .clinic の上端が 0px で接していた。.sp_only の下にだけ余白をとる（.clinic 側は触らない） */
@media screen and (max-width: 640px) {
  .sp_only {
    padding-bottom: 40px;
  }
}

/* ----- 当院の特徴（デザイン06）：紙・やわらかい壁面 -----
   ウォームグレージュの面に、紙のむら（大きく柔らかいまだら）と細かい繊維感をごく薄く、
   左上と右中ほどに控えめな光のたまり、ぼんやりした面の重なり。
   030 の「グラデーション 1 層」から、参考サイトの紙面の空気感へ寄せた（素材・コードの流用なし）。右上・左下の波線はデザイン08 で削除 */
.feature {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9091' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .36 0 0 0 0 .3 .12 0 0 0 -.03'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 2400' preserveAspectRatio='none'%3E%3Cfilter id='m' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.005 .004' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .37 .3 0 0 0 -.11'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E") center / 100% 100% no-repeat,
    radial-gradient(ellipse 45% 22% at 14% 10%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 100%),
    radial-gradient(ellipse 40% 18% at 92% 52%, rgba(255, 253, 249, 0.55), rgba(255, 253, 249, 0) 100%),
    radial-gradient(ellipse 70% 30% at 85% 92%, rgba(226, 212, 196, 0.35), rgba(226, 212, 196, 0) 100%),
    linear-gradient(170deg, #f7f3ee 0%, #f2ece5 60%, #eee6dd 100%);
}

.feature_inner {
  box-shadow: 0 0 0 1px rgba(194, 150, 115, 0.14), 0 18px 40px rgba(80, 55, 40, 0.08);
}

@media screen and (max-width: 640px) {
  /* SP は紙の質感だけ（光のたまりも外し、カードの区切りを優先） */
  .feature {
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9091' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .36 0 0 0 0 .3 .12 0 0 0 -.03'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 2400' preserveAspectRatio='none'%3E%3Cfilter id='m' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.005 .004' numOctaves='3' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .37 .3 0 0 0 -.11'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E") center / 100% 100% no-repeat,
      linear-gradient(170deg, #f7f3ee 0%, #f1ebe4 100%);
  }
}

/* ----- 当院の特徴 写真（デザイン07）：f01〜f09 を 13:9（1300×900）で登録。比率を固定して 9 枚の高さをそろえる。背景・カードは 06 のまま ----- */
.feature_img img {
  width: 100%;
  height: auto;
  aspect-ratio: 13 / 9;
  object-fit: cover;
}

/* ----- 診療案内（デザイン07・08）：カードが静かに浮く背景と、まとまりのあるカード -----
   背景（09）：HERO 標準と同じ「テーマの images/common の写真＋白の半透明」の形。写真は指定の支給写真（docs/03_kimura/img/bg.jpeg、歯科器具）を
   1600×900・ガウスぼかし 12px で焼き込んだ kimura_medical_bg_instruments.jpg（形がうっすら分かる程度）。上にウォームホワイトの半透明を重ね、カードを主役に。
   08 の MV 写真（kimura_medical_bg.jpg）は使わない。
   カード：白の面＋細い輪郭＋内側の細い線（二重の縁）、アイコンの背面にひと回り大きい淡い円を同心で重ね、見出しの下に短い線。
   カード全体がリンク（文言は足さない）。07 の丸矢印は 08 で削除 */
.medical {
  background:
/*     linear-gradient(180deg, rgba(252, 249, 245, 0.78) 0%, rgba(248, 243, 237, 0.7) 100%),
    url(../images/common/kimura_medical_bg_instruments.jpg) no-repeat center / cover; */
/*     url(../images/common/medical_bg.jpg) no-repeat center / cover; */
	
	linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(248, 243, 237, 0.7) 100%),
    url(../images/common/medical_bg.jpg) no-repeat center / cover;
}

.medical .top_title,
.medical .top_title h2 {
  color: var(--text-color);
}

.medical .top_title span.eng {
  color: var(--sub-color);
}

.medical_caption,
.medical_contents_title {
  color: var(--text-color);
}

/* タイル：PC は 3 列＋2 段目 2 枚を中央に。幅・間隔は 1 段目と同じ */
.medical_list {
  justify-content: center;
  gap: 30px;
}

.medical_item {
  width: calc((100% - 60px) / 3);
  border-radius: 14px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.medical_item:hover {
  transform: translateY(-4px);
}

.medical_inner {
  position: relative;
  min-height: 250px;
  padding: 38px 24px 30px;
  background: #ffffff;
    background: var(--bg-color);
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(194, 150, 115, 0.22), 0 14px 34px rgba(80, 55, 40, 0.07);
  transition: box-shadow 0.3s;
}

/* 内側の細い線（二重の縁） */
.medical_inner::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(194, 150, 115, 0.16);
  border-radius: 9px;
  pointer-events: none;
}

.medical_item:hover .medical_inner {
  box-shadow: 0 0 0 1px rgba(194, 150, 115, 0.35), 0 20px 40px rgba(80, 55, 40, 0.11);
}

.medical_inner>*:not(:last-child) {
  margin-bottom: 0;
}

.medical_title h3,
.medical_title h4 {
  font-size: 130%;
  letter-spacing: 0.14em;
}

/* 見出しの下の短い線（特徴の見出しと同じ考え方） */
.medical_title::after {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  margin: 12px auto 0;
  background: var(--sub-color);
}

/* アイコン：主色の正円＋白のアイコン（画像に焼き込み済み 240px、線幅 4.5px@240）。背面にひと回り大きい淡いグレージュの円を同心で重ねる（ずらし・影なし）。5 件とも同じ */
.medical .medical_item .medical_icon {
  position: relative;
  width: 80px;
  max-width: 80px;
  margin: 8px auto 26px !important;
}

.medical .medical_item .medical_icon::before {
  content: "";
  position: absolute;
  inset: -8px;
  background: #f1e9e0;
  border-radius: 50%;
}

.medical .medical_item .medical_icon img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 640px) {
  /* SP は HERO 標準の 2 列のまま。最後の 1 枚を中央に */
  .medical_list {
    gap: 12px;
  }

  .medical_item {
    width: calc(50% - 6px);
  }

  .medical_item:hover {
    transform: none;
  }

  .medical_inner {
    min-height: 96px;
    padding: 24px 10px 18px;
  }

  .medical_inner::before {
    inset: 5px;
    border-radius: 9px;
  }

  .medical_title h3,
  .medical_title h4 {
    font-size: 105%;
    word-break: keep-all;
  }

  .medical_title::after {
    width: 18px;
    margin-top: 8px;
  }

  .medical .medical_item .medical_icon {
    width: 58px;
    max-width: 58px;
    margin-top: 6px !important;
    margin-bottom: 18px !important;
  }

  .medical .medical_item .medical_icon::before {
    inset: -6px;
  }
}
