/*
Theme Name: 世田谷北部病院
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

.site-header {
    border-top: 5px solid #062596;
}

/*スライドショー拡大*/
@keyframes zoom-in {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}

.swiper-slide-active picture img,
.swiper-slide-duplicate-active picture img,
.swiper-slide-prev picture img {
  animation: zoom-in 20s linear 0s 1 normal both;
}


/*h2装飾*/
h2.is-style-vk-heading-plain{
	color: #062596;
    padding: 0 0 8px;
    margin: 0 0 24px;
}
h2.is-style-vk-heading-plain::before {
        content: "";
        display: inline-block;
        width: 8px;
        height: 1em;
        background: #062596;
        margin: 0 8px 0 0;
        position: relative;
        top: 3px;
}

/*ヘッダーウィジェットエリア*/
.site-header-sub {
	margin-top:11px;
}


/*---------------------------------------グローバルナビ設定---------------------------------------*/
/*グローバルナビ上に線*/
.global-nav--layout--penetration {
	border-top: 1px solid var(--vk-color-border-hr);
}

/*グローバルメニューフォバー時の色設定*/
.global-nav-list>li:before {
	border-bottom:none;
}
.global-nav-list> li a:hover,
.global-nav-list> li .current_page_item a:hover{
    background:#062596;
	transition: all .5s ease-out;
	color:#ffffff;
}

.device-pc .vk-menu-acc li ul.sub-menu li a {
    height: 0;
    display: block;
    padding: 0 1.2em;
    transition-duration: .5s;
}

.device-pc .vk-menu-acc li:hover ul.sub-menu li a {
    height: 100%;
    padding: 14px 1.2em;
}


/*---------------------------------------フッター---------------------------------------*/
/*フッターメニュー*/
.list_triangle {
    padding: 0px;
    margin: 0px;
    list-style: none;
	line-height:1;
}
.list_triangle a{
  text-decoration: none;
}

.list_triangle > li {
    position: relative;
    padding: 0px 0px 0px 1em;
}
.list_triangle > li::before {
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    width: 0px;
    height: 0px;
    border: 0.3em solid transparent;
    border-left: 0.4em solid #3388dd;
    content: "";
}

/*上に戻るボタンカスタマイズ*/
.page_top_btn {
	width: 50px;
	height: 48px;
	border: solid #fff;
	background:#062596;
	border-radius: 50%;
	background-image: var(--ver_page_top_button_url);
	background-size:50%;
	background-repeat: no-repeat;
	background-position: center;
	box-shadow: none;
}

/*前の記事・次の記事のレイアウトやデザインをカスタマイズ*/
.next-prev-prev.card-horizontal .card-body {
padding-left: 5.0rem;
}

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


/*---------------------------------------Contact Form7---------------------------------------*/

/*------------------ Contact Form7スマホ・タブレット用カスタマイズ ------------------*/
@media(max-width:850px){
/* テーブルの見出しとフォーム */
table.inquiry th,table.inquiry td {
   display:block;
   padding:1em 0!important;
   width:100%;
   border:0;
}

/* 送信ボタン */
input.wpcf7-submit{
   margin-bottom:30px;
   width:100%;
}
	
.inquiry input,.inquiry textarea{
	margin: 5px 5px !important;
	width:98%;
}
}

/* 日付タグ上のテキストをPCとスマホで変更 */
@media(max-width:900px){
.pcdate{
   display: none;
}
}
@media(min-width:1000px){
.spdate{
   display: none;
}
/* 日付タグの幅を調整 */
.wpcf7-date.dateform{
   width: 25%;
}
}

/*------------------ Contact Form7全体カスタマイズ ------------------*/

/* 自動入力されるPタグを無効にする */
.inquiry p {
   display: inline;
}

/*テーブル下に余白.枠線・テキストの行間 */
table.inquiry {
   margin-bottom: 30px;
   border:solid 1px #d7d7d7;
   line-height:1.2;
   vertical-align:middle;
}

/* テーブルの行 */
.inquiry tr {
   border:0!important;
}

/* テーブルの見出し側 */
.inquiry th{
   text-align:left;
   font-size:14px;
   color:#444;
   padding:1em 0.5em;
   width:0;
   background:#ffffff;
   border:solid 1px #d7d7d7;
   white-space: nowrap;
   vertical-align: middle;
}

/* 必須と任意タグ */
.haveto,.any{
   font-size:13px;
   padding:5px;
	background:#707fab;
   color:#fff;
   border-radius:2px;
	margin: 5px;
	font-weight: normal;
}

/* 任意タグの背景カラー */
.any{
   background:#93c9ff;
}

/* テーブルフォーム側 */
.inquiry td{
   font-size:13px;
   border:solid 1px #d7d7d7;	
}

/* 入力エリア幅最大 */
.wpcf7-form-control {
   width: 100%;
}

/* フォーム入力欄の余白・背景カラー・枠線消す指定 */
.inquiry input,.inquiry select,.inquiry textarea {
   margin: 5px 0;
   background:#eff1f5;
   border: none;
   padding:0.7em;
}
.inquiry textarea {
   padding-bottom:10em;
}

/* チェックボックスとラジオボタンの位置調整 */
.wpcf7-list-item-label,.wpcf7-checkbox,input[type=checkbox],input[type=radio]{
   vertical-align:middle;
}
.wpcf7-list-item-label{
   padding:0 5px 0 2px;
}
/*ラジオボタンを縦並び指定*/
.verticallist{
   display:inline-grid;
}

/* 送信ボタンのデザイン */
.wpcf7-submit{
   display: block;
   margin:10px auto;
   padding:1em 0;
   width:80%;
   background:#09b555;
   color:#fff;
   font-size:18px;
   font-weight:bold;	 
   border-radius:4px;
   border: none;
}

/* 送信ボタンマウスホバー時 */
.wpcf7-submit:hover{
   opacity: 0.9;
   transition: 0.3s;
}

/* フォーム上部に表示されるエラーメッセージを非表示 */
.screen-reader-response {
    display: none;
}

/* フォーム内エラーメッセージを赤色に指定 */
.wpcf7-not-valid-tip {
    color: #e92323;
}


