/*
Theme Name: Lightning-child
Template: lightning
*/

body {
  font-size: 18px;
}

/********** TOPに戻るボタン ***********/
.page_top_btn {
  width: 50px;
  height: 50px;
  background: #296292;
  box-shadow: none;
  border-radius: 50%;
  /* 白い上向き矢印を自前で描画(親テーマの変数に依存しない) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E");
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
}

/********** header **********/
.site-header {
  background-color: #ffffff00;
  height: 5.5em;
  position: fixed;
  display: flex;
  align-items: center;
  box-shadow: none;
}

@media (min-width: 992px) {
  .site-header--layout--nav-float .site-header-container {
    align-items: center;
  }
}
@media (min-width: 992px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm {
    max-width: 1100px;
  }
}

/* logo */
@media (min-width: 992px) {
  .site-header--layout--nav-float .site-header-logo {
    margin-right: 0;
  }
}

@media (max-width: 991.98px) {
  .site-header-logo {
    padding-top: 18px;
  }
}

/* text */
.device-mobile .global-nav-list > li .global-nav-name {
  font-size: 16px;
}
.global-nav-list > li .global-nav-description {
  font-size: 16px;
  line-height: 1.7;
}

.global-nav-list>li:before {
    border-bottom: none;
}

/* ヘッダーCTAボタン */
.contact.menu-item.menu-item-type-post_type.menu-item-object-page {
  color: #fff;
  background-color: #eb6100;
  border-radius: 100vh;
  display: flex;
  padding: 0 2em;
  margin: 1em 2em;
  align-items: center;
  transition: all 0.3s;
}
.global-nav-list > li.contact:hover {
  color: #ffffff;
  background-color: #1b85fb;
  opacity: 0.7;
}
.nav li.contact a,
nav li.contact a {
  color: #ffffff;
  padding: 14px 0.5em;
}

/* scroll */
.header_scrolled .site-header {
  background-color: #ffffff3d;
}

/* logoscroll */
.header_scrolled .header-top,
.header_scrolled .site-header-logo,
.header_scrolled .site-header-sub,
.header_scrolled .vk-campaign-text {
  display: block;
}

/********** header mobile **********/
@media (max-width: 991.98px) {
  .site-header {
    background-color: #ffffff00;
    height: auto;
    position: relative;
    box-shadow: none;
  }
  /* モバイルの場合、スクロールで一瞬ヘッダーが表示されるのを防ぐ */
  .header_scrolled.admin-bar .site-header {
    display: none;
  }
}

/********** ハンバーガーメニューボタン **********/
.vk-mobile-nav-menu-btn {
  background: var(--vk-mobile-nav-menu-btn-bg-src) center 50% no-repeat
    rgb(166 185 200);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  top: calc(18px + 25px - 20px);
  left: 15px;
}

/********** クリック後ハンバーガーメニュー **********/
/* 背景 */
.vk-mobile-nav {
  background-color: rgb(166 185 200);
  padding: 18px 25px;
}
/* 閉じるボタンの色 */
.vk-mobile-nav-menu-btn.menu-open {
  background: var(--vk-mobile-nav-menu-btn-close-bg-src) center 50% no-repeat
    rgb(255 255 255 / 0%);
}
/* デフォルトのメニューを消す */
.vk-mobile-nav .vk-mobile-nav-menu-outer {
  display: none;
}
/* メニューの文字サイズ */
.vk_button.vk_button-align-left,
.editor-styles-wrapper .vk_button.vk_button-align-left {
  font-size: 1.2em;
}
/* お問い合わせボタン文字サイズ */
.mv-mail.vk_button .btn.has-background:not(.has-text-color),
.editor-styles-wrapper .vk_button .btn.has-background:not(.has-text-color) {
  font-size: 22px;
  padding: 0.5em 1.4em;
}
/* メニュー間の余白 */
.vk-mobile-nav-widget {
  margin-bottom: 0.1em;
}
/* メニューと矢印の間隔を開ける */
.mv-button.vk_button .vk_button_link_caption,
.editor-styles-wrapper .vk_button .vk_button_link_caption {
  display: flex;
  justify-content: space-between;
}

/********** FVの文字（独自のに変更中） **********/
/* 背景 */
.mini-content-container-1 {
  padding: 2em 1em;
}
/* 文字 */
.ltg-slide-text-caption {
  font-size: 18px;
  line-height: 2;
}
.ltg-slide-text-title {
  font-size: clamp(32px, 5.5dvw, 2.5em);
}
/* FVボタン */
a.btn.btn-ghost {
  background: #eb6100;
  font-size: 18px;
}

/********** FVスライドのページネーション ***********/
.swiper-pagination {
  display: none;
}

/********** コンタクトフォーム問い合わせ **********/
/* 必須ボタン */
.CF7_req {
  font-size: 16px;
  padding: 0 5px;
  background: #f44336;
  color: #fff;
  border-radius: 3px;
  margin-left: 0.5em;
  margin-bottom: 0.5em;
  display: inline-block;
}

/* エラーメッセージ */
input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="tel"],
input[type="text"],
input[type="url"],
select,
textarea {
  margin: 0;
}
.wpcf7-not-valid-tip {
  font-size: 16px;
}

/* 送信ボタン */
input[type="submit"] {
  background-color: #337ab7;
  color: #fff;
  padding: 0.5em 2em;
  border-radius: var(--vk-size-radius);
}

/********** footer **********/
.site-footer {
  background-color: #a6b9c8;
  border-top: none;
  font-size: 18px;
}
/* Powered by〜削除 */
.site-footer-copyright p:nth-child(2) {
  display: none !important;
}
/* メニュー文字の大きさ */
.localNavi > div > ul li,
.localNavi > ul li,
.widget .localNavi > div > ul li,
.widget .localNavi > ul li,
.widget_archive > div > ul li,
.widget_archive > ul li,
.widget_categories > div > ul li,
.widget_categories > ul li,
.widget_link_list > div > ul li,
.widget_link_list > ul li,
.widget_nav_menu > div > ul li,
.widget_nav_menu > ul li,
.widget_pages > div > ul li,
.widget_pages > ul li,
.widget_postlist > div > ul li,
.widget_postlist > ul li {
  font-size: 18px;
}

/* フッターナビメニュー文字大きさ */
.mv-button-footer.vk_button.vk_button-align-left,
.editor-styles-wrapper .vk_button.vk_button-align-left {
  font-size: 18px;
  line-height: 1;
}
/* CTAボタン */
.footer-cta.vk_button .btn.has-background:not(.has-text-color),
.editor-styles-wrapper .vk_button .btn.has-background:not(.has-text-color) {
  font-size: 18px;
}

/********** 各ページヘッダー **********/
.page-header {
  display: none;
}

/* 全ページパンくずを隠す */
.breadcrumb-list {
  display: none;
}

/********** お問い合わせページのデザイン **********/

table.CF7_table.CF7_table-page{
	width:80%;
	margin:0 auto;
	border: 3px solid #e5e5e5;
}

table.CF7_table.CF7_table-page tr{
	border-top: 1px solid #e5e5e5;
}

table.CF7_table.CF7_table-page tr th p {
	margin: 0;
}

table.CF7_table.CF7_table-page tr td p {
	margin: 0;
}

.single .entry-content table.CF7_table.CF7_table-page,
.page .entry-content table.CF7_table.CF7_table-page{
	display:table;
}

/*入力欄*/
.CF7_table.CF7_table-page input, .CF7_table.CF7_table-page textarea {
	border: 1px solid #d8d8d8;
}

.CF7_table.CF7_table-page ::placeholder {
	color:#797979;
}

/*「必須」文字*/
.CF7_req.CF7_req-page{
	  font-size: 14px;
    padding: 0 5px;
    background: #f44336;
    color: #fff;
    border-radius: 3px;
    margin-left: 0;
    margin-right: 0.3em;
    margin-bottom: 0;
    display: inline-block;
}

/*「任意」文字*/
.CF7_unreq.CF7_unreq-page{
	font-size:14px;
	padding: 5px;
	background: #bdbdbd;/*グレー*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/* タイトル列 */
@media screen and (min-width: 768px){
	.CF7_table.CF7_table-page th{
	width:30%;/*横幅*/
	background-color:#ebedf5;/*ブルーグレー*/
	}
}

/* レスポンシブ */
@media screen and (max-width: 768px){
	table.CF7_table.CF7_table-page{
	width:95%;
	}
	.CF7_table.CF7_table-page tr, .CF7_table.CF7_table-page td, .CF7_table.CF7_table-page th{
	display: block;
	width: 100%;
	line-height:2.5em;
	}
	.CF7_table.CF7_table-page th{
	background-color:#ebedf5;
	}
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#f79034;/* オレンジ*/
	border:0;
	color:#fff;
	font-size:1em;
	font-weight:bold;
	margin:0 auto;
}

.CF7_btn.CF7_btn-page{
	text-align:center;
	margin-top:20px;
}

.wpcf7-spinner {
    display: none !important;
}


