/*
Theme Name: LINQREV-child2025_1_17ve
Template: lightning
Description: Lightning用のLINQREVカスタム子テーマ
Author: Yukari Hiramatsu
Version: 1.0
*/


/* カスタム投稿タイプ「Column」のスタイル設定 */
.post-type-colum h2{
 padding: 0.5em;/*文字周りの余白*/
 color: #1365d8;/*文字色*/
 border-left: solid 5px #1365d8;/*左線（実線 太さ 色）*/}
.post-type-colum h3{color:#0693E3;font-size:1.6rem;padding-bottom:10px;}
.post-type-colum h4{color:#1365D8;font-size：1.4rem;padding-bottom:10px;}
	


/*-------------------------*/
/*  モバイルメニューカスタマイズ   */
/*-----------------------*/

.vk-mobile-nav .widget_nav_menu ul li a, .vk-mobile-nav nav ul li a 
{ color:#203e77;}

div#vk-mobile-nav {
    background-color:#f8f8f8;
}

nav.vk-mobile-nav-menu-outer ul li {
    border-bottom: 1px solid #203e77;
}
.vk-mobile-nav nav>ul {
    border-top: none;
}




/*------------------------------------*/
/* フッターフローティングボタン (隙間なしタイプ） */
/*----------------------------------*/

/* フローティングメニュー全体のスタイル */
.footerFloatingMenu {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 999;
}

/* リンク共通のスタイル（ボタン風ではない） */
.footerFloatingMenu__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: bold;
  width: 50%;
  height: 60px; /* 固定の高さ */
  transition: all 0.3s ease;
}

/* アイコンのスタイル */
.footerFloatingMenu__btn i {
  margin-right: 8px;
  font-size: 1.5em;
  color: #ffffff;
}

/* LINEリンクの背景色とホバー効果 */
.c-btn--blue {
  background-color: #56B6EC;
  color: #ffffff;
}

.c-btn--blue:hover {
  opacity: 0.9;
}

/* メール問い合わせリンクの背景色とホバー効果 */
.c-btn--orange {
  background-color: #1365D8;
  color: #ffffff;
}

.c-btn--orange:hover {
  opacity: 0.9;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .footerFloatingMenu__btn {
    font-size: 14px;
  }
}


/*---------------------------------------*/
/* 次の記事　前の記事のカスタマイズ            */
/*---------------------------------------*/

.next-prev-prev.card-horizontal .card-body {
padding-left: 5.0rem;
}

.next-prev-next.card-horizontal .card-body {
padding-right: 5.0rem;
}
.vk_posts.next-prev {
    padding: 50px;
}

/*----------------------*/
/*上に戻るボタン           */
/*----------------------*/
.page_top_btn {
    background-color: #4c2909 !important;
    border-radius: 30px!important;
}

/*----------------------*/
/*TOPパージカスタマイズ  */
/*----------------------*/

/*スライダー共通*/
.vk_slider.slider01 .swiper-wrapper {
  transition-timing-function:linear;
}

/*FVスライド設定_pc*/
.fv_sotowaku {
position: relative;
}

.fv_link {
z-index: 10;
width: 70vw;
max-width: 500px;
text-align: center;
position: absolute;
top: 60%;
left: 50%;
-webkit-transform: translate(-50%, -60%);
-moz-transform: translate(-50%, -60%);
-ms-transform: translate(-50%, -60%);
-o-transform: translate(-50%, -60%);
transform: translate(-50%, -60%);
}
/*FVスライド設定_sp*/
.sp_fv_slide {
position: relative;
}
.sp_fv_link{
z-index: 10;
width: 70vw;
max-width: 500px;
text-align: center;
position: absolute;
top: 60%;
left: 50%;
-webkit-transform: translate(-50%, -60%);
-moz-transform: translate(-50%, -60%);
-ms-transform: translate(-50%, -60%);
-o-transform: translate(-50%, -60%);
transform: translate(-50%, -60%);
}

/*当院の感染対策について*/
.kansen_slide {
position: relative;
}

.kansen_logo {
z-index: 10;
width: 70vw;
max-width: 500px;
text-align: center;
position: absolute;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -60%);
-moz-transform: translate(-50%, -60%);
-ms-transform: translate(-50%, -60%);
-o-transform: translate(-50%, -60%);
transform: translate(-50%, -60%);
}

/*----------------------------------*/
/*TOPー初めて来院される方もご安心ください(SP)*/
/*----------------------------------*/
ul.wp-block-list.first_index_ul {
  font-size: 1.2rem;
  color: #4c2909;
  font-weight: bold;
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

ul.wp-block-list.first_index_ul li {
  position: relative;
  display: block; /* ←縦並び */
  padding-left: 28px; /* アイコン分の余白 */
  margin-bottom: 1		px;
  line-height: 2.2;
  width: fit-content; /* ← テキスト幅に合わせる！ */
}

ul.wp-block-list.first_index_ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  background: url("images/sp/index/icn_checked.png")
  no-repeat center center;
  background-size: contain;
  transform: translateY(-50%);
}


ul.wp-block-list.first_index_ul li::after {
  content: "";
  position: absolute;
  left: 5px; /* テキスト開始位置に合わせる */
 bottom: 0.05em;  /* テキストの下ギリギリに */
  width: calc(100% - 2px); /* liのテキスト分だけ線を引く */
  border-bottom: 2px dotted #ce2323;
  pointer-events: none;
}
/*安心のサポート体制　オレンジ*/
ul.wp-block-list.first_index_ul li span.vk_highlighter {
  background: rgb(251, 173, 71);
  color: rgb(255, 255, 255);
  font-style: normal;
  padding: 0 -0.25vw; /* ※この値は無効なので修正推奨 */
  margin-left: 1px;   /* ← 単位を必ず付ける */
  font-size: 0.9rem;
  padding-top: 5px;
  padding-bottom: 5px;
}


/* 中央寄せラッパー */
.ttl_indoor_view01-wrap {
  text-align: center;
}

/* タイトル本体 */
.ttl_indoor_view01 {
  position: relative;
  display: inline-block;
  padding: 0 40px 40px; /* 下装飾分の余白を追加 */
}

/* 左側装飾 */
.ttl_indoor_view01::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: url("images/sp/index/deco_view01.png") no-repeat center center;
  background-size: contain;
}

/* 右側装飾 */
.ttl_indoor_view01::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background: url("images/sp/index/deco_view02.png") no-repeat center center;
  background-size: contain;
}

/* ▼ 下に装飾画像を追加 */
.ttl_indoor_view01::after,
.ttl_indoor_view01::before {
  pointer-events: none;
}

/* 下装飾専用：擬似要素を追加（新しく作る） */
.ttl_indoor_view01 span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 120px; /* 装飾画像の横幅 */
  height: 20px; /* 装飾画像の高さ */
  background: url("images/sp/index/arw_view01.png") no-repeat center bottom;
  background-size: contain;
}



/*--------------------------------*/
/*厚生労働省認定　の3つの円　　　　*/
/*--------------------------------*/
/* レイアウト全体 */
.flex.img_flex {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0; 
}

/* 各ボックス */
.img_box {
  position: relative;
  width: 260px;
  height: 260px;
  overflow: hidden;
  border-radius: 50%;
  text-align: center;
  margin: 0 10px;
}

/* 装飾画像（間に挟む） */
.deco {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px; /* 丸との間隔 */
}

/* 背景画像 */
.col_l {
  background: url("images/pc/index/certification_bg01.png") no-repeat center/cover;
}
.col_c {
  background: url("images/pc/index/certification_bg02.png") no-repeat center/cover;
}
.col_r {
  background: url("images/pc/index/certification_bg03.png") no-repeat center/cover;
}

/* タイトル（常に表示） */
.img_box h4 {
  position: absolute;
  top: 10%; 
  margin-left:50%;
  transform: translateX(-50%);
  color:#4c2909;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
   z-index: 3; 
}

/* オーバーレイ（ホバー時のみ出現） */
.overlay {
  position: absolute;
  inset: 0;
background: rgba(255, 255, 255, 0.6);
  color:#4c2909;
  opacity: 0;
  transition: 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
z-index: 2;
   pointer-events: none;
}

.overlay .txt02 {
  margin:25px 10px 20px 20px;
 ont-size: 2rem;
 ine-height: 1.8;
  text-align: center;
}

/* ホバー時のアクション */
.img_box:hover .overlay {
  opacity: 1;
}

/* h4（タイトル）は変化させない */
.img_box:hover h4 {
  opacity: 1; /* 常に表示 */
}


/* 画像ズームのみ適用 */
.img_box:hover {
  transform: scale(1.05);
  transition: 0.4s ease;
}

.flex.img_flex .img_box h4 {
  background: none !important;         /* 背景色・画像を完全リセット */
  background-color: transparent !important; /* 念のため明示的に透明指定 */
}


/*-----------------------------*/
/*TOPページ以外のスタイル設定　*/
/*--------------------------------------*/

/* TOPページ以外のhタグ共通スタイル */
body:not(.home) h1,{
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  font-weight: 600;
  margin-bottom: 1em;
}


body:not(.home) h2{
    background: url("images/pc/page/bg_hdg3.png") left 10px center no-repeat;
    font-size: 16px;
    color: #4c2909;
    line-height: 1.2;
    padding: 10px 1em 10px 30px;
    border-top: 2px solid #f3ece5;
    border-bottom: 1px solid #a59484;
    margin-bottom: 40px;
}

body:not(.home) h3{
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-weight: 500;
    color: #4c2909;
}

body:not(.home) h4{
　font-size: 18px;
  padding: 4px 0 4px 46px;
  background: url("images/pc/access/ttl_maru.png") no-repeat 20px center #f6f1ed;
  margin-bottom: 26px;
  color: #4c2909;
}


/*-----------------------------*/
/*フッター設定　　　　　　　　　　*/
/*---------------------------*/
.container.site-footer-content {
 padding-top: 0;}

nav.footer-nav{
  background-color:#ffffff!important
}
nav.footer-nav a {color:#4c2909!important}


.footer-nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 1.2em;
  white-space: nowrap;
}

.footer-nav-list li + li::before {
 content: "/";
  color: #4c2909;
  margin: 0 0.5em; 
}

footer .container iframe {
  width: 100vw;           /* ← 画面幅いっぱい */
  max-width: 100vw;       /* ← 制限解除 */
  margin-left: calc(50% - 50vw); /* ← 中央基準で左右余白を打ち消す */
  display: block;
  border: 0;
}

/*-----------------------------------*/
/*　　往診・訪問歯科ページ　　　　　　　　　*/
/*------------------------------------*/

/*医療法人社団みずほ会リスト*/

ul.wp-block-list.visit_dental01_list {
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-weight: 500;
    color: #4c2909;
    position: relative;
    padding-left: 40px;
    margin: 0;
   list-style: none; /*デフォルトのマーカーを消す */
}


ul.visit_dental01_list li {
  position: relative;
  padding-left: 40px; /* アイコン分の余白 */
  display: block;     /* 念のため縦並びを維持 */
}


ul.visit_dental01_list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: url("images/visit-dental/icn-leaf.png") no-repeat center / contain;
}


/*往診・訪問歯科、ケアマネージャーの声*/
.box_qa_common01 {
    margin-bottom: 40px;
    padding: 17.5px 27.5px 30px;
    background: #fff;
   position: relative;
}

.box_qa_common01::after {
    z-index: 10; /* 大きめにしてみる */
    content: "";
    width: 76px;
    height: 65px;
    margin: auto;
    background: url("images/page/icn-q01.png") no-repeat center / contain;
    position: absolute;
    top: -15px;
    left: 15px;
}


.box_qa_common01 .copy01 {
    line-height: 1.7;
    padding-left: 72.5px;
    font-size: 137.5%;
}

.box_qa_common01 p.copy01.min{
    font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-weight: 500;
}

.ttl_visit_dental03 {
    font-size: 18px;
    color: #4c2909;
    margin: 0 0 1em;
    font-weight: bold;
    padding-left: 30px;
    background: url("images/visit-dental/icn01.png") no-repeat left center;
}

/*-----------------------------------*/
/*　アクセスページ　　　　　　　　　　　　　*/
/*------------------------------------*/
.access-li-1 {
  background: url("images/page/accessico01.png") no-repeat left center;
  padding-left: 40px; /* 画像分の余白を確保（適宜調整） */
}

.access-li-2 {
  background: url("images/page/accessico02.png") no-repeat left center;
  padding-left: 40px; /* 画像分の余白を確保（適宜調整） */





h2.wp-block-heading.has-text-align-center.frame_visit_index.h2.is-style-vk-heading-plain.vk_custom_css_8.vk_block-margin-md--margin-top:after {
    content: "";
    width: 0;
    height: 0;
    border: transparent solid 15px;
    border-top: #4c2909 solid 11px;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0 auto;
}

h2.wp-block-heading.has-text-align-center.first_title_h2.is-style-vk-heading-solid_black.has-vk-color-primary-color.has-text-color.has-link-color.wp-elements-3ce6f8621b00af5d52fc6cd1cdacdce0:after {
    content: "";
    width: 0;
    height: 0;
    border: transparent solid 15px;
    border-top: #4c2909 solid 11px;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0 auto;
}
/*-----------------------------------*/
/*　採用ページ　　　　　　　　　　　　　　*/
/*------------------------------------*/


/*インタビュー*/
.row_common01.flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem; 
}

.row_common01.flex {
  flex-direction: row;
}

.row_common01.flex.r_reverse {
  flex-direction: row-reverse;
}

.col_img {
  flex: 1 1 35%;
}

.col_img img {
  width: 100%;
  height: auto;
  display: block;
}

.col_txt {
  flex: 1 1 60%;
}

@media (max-width: 768px) {
  .row_common01.flex,
  .row_common01.flex.r_reverse {
    flex-direction: column;
  }
  .col_img,
  .col_txt {
    flex: 1 1 100%;
  }
  .col_img {
    margin-bottom: 1.5rem;
  }
}


/*  ある日のワークログ　共通スタイル
------------------------------------ */

/*case1　case2タイトル*/
p#case01_tite {
  font-size: 2rem;
  color:#4c2909;
  position: relative;
  display: inline-block;
  padding: 4px 20px;
  left: 50%;
  transform: translateX(-50%); }

/* 上下ライン */
p#case01_tite::before,
p#case01_tite::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background-color: #4c2909;
}

/*case1　case2ボタン*/
/* 共通（全デバイス） */
.vk_button.btn_switch1 .vk_button_link ,
.vk_button.btn_switch2 .vk_button_link  {
  position: relative;
  display: inline-block;
  text-align: center;
  overflow: visible;
  width: 100%;
  transition: all 0.3s ease;
  color: #4c2909 !important;
  background-color: #f6f1ed !important; /* 非アクティブ背景を強制 */
}

/* PCのみ paddingを適用 */
@media screen and (min-width: 1025px) {
.vk_button.btn_switch1 .vk_button_link ,
.vk_button.btn_switch2 .vk_button_link {
    padding: 20px !important;
  }
}

/*ラベル内余白・文字設定 */
.btn_switch1 .vk_button_link_caption,
.btn_switch2 .vk_button_link_caption {
  padding: 20px;
}

.btn_switch1 .vk_button_link_txt,
.btn_switch2 .vk_button_link_txt {
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.4;
}

/* 下向き三角形（デフォルト：非アクティブ） */
.btn_switch1 .vk_button_link::after,
.btn_switch2 .vk_button_link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-top: 25px solid #f6f1ed; /* 非アクティブ色 */
  transition: border-top-color 0.3s ease;
}

/* アクティブ状態（JSで付与される .is-active クラス）
------------------------------------ */
.btn_switch1 .vk_button_link.is-active,
.btn_switch2 .vk_button_link.is-active {
  background-color: #4c2909 !important; /* 濃茶背景 */
  color: #fff !important;
}

/*  アクティブ時の三角形 */
.btn_switch1 .vk_button_link.is-active::after,
.btn_switch2 .vk_button_link.is-active::after {
  border-top-color: #4c2909 !important; /* 三角も濃茶 */
}

/*  非アクティブ時明示指定（アクティブ解除後に戻らない対策） */
.btn_switch1 .vk_button_link:not(.is-active),
.btn_switch2 .vk_button_link:not(.is-active) {
  background-color: #f6f1ed !important; /* ベージュ背景 */
  color: #4c2909 !important;
}

.btn_switch1 .vk_button_link:not(.is-active)::after,
.btn_switch2 .vk_button_link:not(.is-active)::after {
  border-top-color: #f6f1ed !important; /* 三角もベージュ */
}

/* 押下中の軽いフィードバック（オプション） */
.btn_switch1 .vk_button_link:active,
.btn_switch2 .vk_button_link:active {
  opacity: 0.85;
}

/*  管理画面(Gutenberg)で .case02block を強制表示
------------------------------------ */
body.wp-admin .case02block,
.editor-styles-wrapper .case02block {
  display: block !important;
  opacity: 0.6; /* 編集時にわかるように軽く半透明 */
}


/*1日の流れ*/
.flow_list {
  display: flex;
  flex-wrap: wrap;
}
.flow_tbl {
    padding: 15px 0 0;
    background: #fff;
    border-left: 10px solid #79cef0;
}
.flow_list dt {
    width: 110px;
    padding: 10px 0 20px;
    text-align: center;
    font-size: 125%;
    letter-spacing: .1em;
    font-weight: bold;
    color: #4c2909;
    position: relative;
}
.flow_list dt::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 16px solid #79cef0;
    border-right: 23px solid transparent;
    border-left: 23px solid transparent;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}
.flow_list dd {
    padding: 17.5px;
    width: calc(100% - 120px);
    border-bottom: 2px dotted #4c2909;
}


/*-----------------------------------*/
/*　被せものページ　　　　　　　　　　　　　　*/
/*------------------------------------*/

p.cosmetic01 {
  width: 230px !important;
  background: #f6f1ed !important;
  text-align: center !important;
  color: #4c2909 !important;
  font-weight: bold !important;
  padding: 0.7em !important;
  font-size: 16px !important;
  border-radius: 10px !important;
  position: relative !important;
  margin: 0 0 13px !important;
}

p.cosmetic01::after { /* ←スペース削除済 */
  content: "";
  background: url("images/page/cosmetic/arrow01.png") no-repeat top center !important;
  width: 100% !important;
  height: 13px !important;
  position: absolute !important;
  bottom: -13px !important;
  left: 0 !important;
}

/* フッターフローティングメニューをSPのみ表示 */
.footerFloatingMenu {
  display: none !important;
}

h4.cosmetic02 {
  position: relative;
  padding-left: 45px !important; /* ← アイコン分の余白 */
  font-size: 21px !important;
  font-weight: bold !important;
  color: #4c2909 !important;
  line-height: 1.6;
}

/* 丸アイコンを左側に表示 */
h4.cosmetic02::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 30px !important;  /* 画像サイズ */
  height: 30px !important; /* 画像サイズ */
  background: url("images/page/cosmetic/maru.png") no-repeat center center !important;
  background-size: contain !important;
}
	
	/* 右端固定ボタン */
.fixed-side-btns {
  position: fixed;
  top: 25%;
  right: 0;
  z-index: 9999;
}

.fixed-side-btns ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fixed-side-btns li {
  margin-bottom: 8px;
  text-align: right;
}

.fixed-side-btns img {
  display: block;
  width: 80px;
  height: auto;
  transition: opacity 0.3s ease;
}

.fixed-side-btns a:hover img {
  opacity: 0.8;
}

/* スマホでは非表示（任意） */
@media (max-width: 768px) {
  .fixed-side-btns {
    display: none;
  }
}


@media (max-width: 768px) {
  .footerFloatingMenu {
    display: flex !important;
  }
}

