/*
Theme Name: polaris-cld
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.7.0
*/
body{
	background-color:#F0F0F0;
	font-family: Georgia,
    serif;
/* 	font-size:16px; */
}
p,h2 {
overflow-wrap: anywhere
}
.veu-cta-block{
	font-family: "Gill Sans Extrabold", sans-serif;
}

/* .fadein {
    opacity: 0;
    transform: translate(0,0);
    transition: all 1.5s;
  &.fadein-left{
      transform: translate(-30px,0);
  }
  &.fadein-right{
      transform: translate(30px,0);
  }
  &.fadein-up{
      transform: translate(0,-30px);
  }
  &.fadein-bottom{
      transform: translate(0,30px);
  }
  &.scrollin{
    opacity: 1 !important;
    transform: translate(0, 0) !important;
  }
} */
/* .fadeIn {
  transition: 1s;
  opacity: 0;
}

.fadeIn.animated {
  opacity: 1;
} */
.fadeIn {
  transition: 1s;
  opacity: 0;
}

.fadeIn.animated {
  opacity: 1;
}

.bgUP.animated {
  animation: bgup 2s ease 0s 1 normal forwards;
}

@keyframes bgup {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}
//

/* style-theme-json.css | https://jiko.lpc-polaris.com/wp-content/themes/lightning/_g3/assets/css/style-theme-json.css?ver=15.26.4 */

@media (min-width: 992px) {
  .site-body {
    /* padding: 3rem 0 3.5rem; */
    padding: 0rem 0 3.5rem;
  }
}

@media (min-width: 1200px) {
  .site-body {
    /* padding: 3.5rem 0 4rem; */
    padding: 0rem 0 4rem;
  }
}

@media (min-width: 768px) {
  .site-body {
    /* padding: 2.5rem 0 2.5rem; */
    padding: 1rem 0 2.5rem;
  }

}
.bg-text {
  background-color: rgba(0,34,73,0.5);
}
/* サークル */
.is-style-my-circle4 {
  display: flex;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  background: #ec4646;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  color: #fff;
  font-size: 20px;
  text-align: center;
}
p.is-style-my-circle4 {
  display: block;
  width: 100%;
  font-size: 18px;
  line-height: 1;
}
p.is-style-my-circle4.true{
  display: block;
  font-size: 18px;
  line-height: 1;
}
/* 白丸影 */
.is-style-group-2 {
            margin-bottom: 20px;
            border: 1px solid #E0E0E0; /* 薄いグレー */
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 影を追加 */
            overflow: hidden; /* 影がはみ出ないように */
        }
.is-style-my-heading2  {
	position: relative;
	padding: .5em;
	background-color: #ffe6e6;
	box-shadow: 2px 2px 4px rgba(0,0,0,.2) inset;
}
.is-style-my-heading2 :after {
	position: absolute;
	content: '';
	top: 100%;
	left: 30px;
	width: 0;
	height: 0;
	border: 15px solid transparent;
	border-top: 15px solid #ffe6e6;
}
/* 注意がき */
 .consultation-note {
  padding-left: 20px;
	 padding: 20px 48px 20px 48px;
}
.consultation-note p {
  position: relative;
    margin-left: 1em;
margin:0.5em 0px;
  line-height:1;
	font-size:1em;
}

.consultation-note p:before {
    content: '※';
    display: block;
    position: absolute;
    top: 0;
    left: -1em;
    width: 1em;
}
/* 点線 */
.is-style-under2{
    border-bottom: dotted 2px blue    
}
/* 点線 */
.my-underdot {
  text-decoration: underline dotted blue;
  text-underline-offset: 0.2em; /* 本来の位置から10pxオフセット */
}
/* 続きを読む */
.read-more-3 {
    position: relative;
}

.read-more-3 p {
    position: relative;
    max-height: 100px; /* 開く前に見せたい高さを指定 */
    margin-bottom: 10px;
    overflow: hidden;
    transition: max-height 1s;
}

.read-more-3:has(:checked) p {
    max-height: 100vh;
}

.read-more-3 p::after {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(180deg, hsla(0, 0%, 100%, 0) 0, hsla(0, 0%, 100%, .9) 50%, hsla(0, 0%, 100%, .9) 0, #fff);
    content: '';
}

.read-more-3:has(:checked) p::after {
    content: none;
}

.read-more-3 label {
    display: flex;
    align-items: center;
    gap: 0 4px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: .4em 1.2em;
    border-radius: 1px;
    background-color: #2589d0;
    color: #fff;
    font-size: .7em;
}

.read-more-3 label:hover {
    border:1px solid #2589d0;
    background-color: #fff;
    color: #2589d0;
    cursor: pointer;
}

.read-more-3:has(:checked) label {
    display: none;
}

.read-more-3 label::after {
    display: inline-block;
    width: 10px;
    height: 5px;
    background-color: #fff;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}

.read-more-3 label:hover::after{
    background-color: #2589d0;
}

.read-more-3 input {
    display: none;
}
/* アンダーライン */
.highlight {
  background-image: linear-gradient(to right, transparent 0%, blue 100%);
  background-position: 0 0%; /* アンダーラインを最初に隠す */
  background-size: 100% 3px;
  background-repeat: no-repeat; /* アンダーラインが繰り返されないようにする */
  padding-bottom: 5px; /* テキストとアンダーラインの間隔 */
  transition: background-position 0.3s ease-in-out, background-image 0.3s ease-in-out; /* アニメーション用のトランジション */
}

/* スクロール後、is-visible クラスが追加された場合にアンダーラインを表示 */
.highlight.is-visible {
  background-position: 0 100%; /* 上から下にアンダーラインを表示 */
  background-image: linear-gradient(to right, blue 100%, transparent 0%);
}

/* ゆっくりアニメーションさせる場合 */
.slow.is-visible {
  transition: background-position 1s ease-in-out, background-image 1s ease-in-out; /* アニメーションを遅くする */
}



/* ヘッダーナビをセンターに */

/* 本文目次非表示 */
#rtoc-mokuji-wrapper{display:none;}
/* コンテナ全体のスタイル */
.content-container {
    position: relative;
    width: 80%;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

/* 最初に見える文章 */
/* .content {
    font-size: 16px;
    line-height: 1.6;
}  */

/* 続きの文章（初期状態では隠す） */
.more-text {
    display: none;
    opacity: 0;
    transition: opacity 1s ease;
}

/* 「続きを読む」ボタン */
.read-more {
    display: inline-block;
    cursor: pointer;
    margin-top: 10px;
    text-align: center;
}

/* 矢印のデザイン */
.arrow {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 30px solid #333; /* 矢印の色をダークグレーに */
    margin: 0 auto;
    transition: transform 0.3s ease;
}

/* 続きを表示したとき、矢印を逆向きに */
.read-more.active .arrow {
    transform: rotate(180deg);
}

/* フェードアウトするテキストの設定 */
.fade-out {
    position: relative;
    max-height: 3em; /* 表示するテキストの高さを調整 */
    overflow: hidden;
    background: linear-gradient(to bottom, transparent, white);
}
	

/*etc*/
.entry-meta{
display:none;
	}
/*段落 	 */
p.is-style-my-text{
	padding:0em 2.375em;
}
/*シャドウ*/
.white-text-with-blue-shadow {
  text-shadow:
    1px 1px 5px black,
    0 0 1em blue,
    0 0 0.2em blue;
  color: white;
  font:
    1.5em Georgia,
    serif;
}

/*見出し*/

/* タイトル表示*/
 .page-header {
  color: #fff;
  background-image: url('//jiko.lpc-polaris.com/image/2.png'); /* 画像のパスを指定 */
  background-size: cover; /* 画像を容器いっぱいに表示 */
  background-position: center center; /* 画像の中央に配置 */
　background-color: rgba(0, 43, 91, 0.5); /* オーバーレイの色 */
  background-blend-mode: multiply; /* 画像とオーバーレイを掛け合わせる */
  height: 150px; /* 高さを150pxに設定 */
  /* 他のスタイルはそのまま */
}
/* 字体変更*/
.hiragino {
font-family: system-ui;
	}
/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc { display: block !important; }
.mb { display: none !important; }
 
/* スマートフォンで見たときは"mp"のclassがついた画像が表示される */
@media only screen and (max-width: 779px) {
.pc { display: none !important; }
.mb { display: block !important; }
}

@media (max-width: 575.98px) {
  .vk_responsive-br-xs {
    display: inline;
  }
	:root :where(p.has-background) {
    padding: 0.75em 0.75em;
}
}
@media (min-width: 992px) {
	.site-header-logo,.site-header-sub{margin-bottom:0;}
	.widget.widget_nav_menu .menu-footer-menu-container > ul#menu-footer-menu.menu{
    column-count: 4;
}
/* 吹き出し */
	@media only screen and (max-width: 480px) {
  .vk_balloon_content {
   max-width: calc(100% - 1em);/*2emから変更 */
	  font-size:1em;
    padding: 1em;
  }
}	

/* フッターメニュー */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4つのグリッド */
    gap: 20px; /* グリッド間のスペース */
    background-color: #fff; /* サブメインカラー */
    padding: 40px 20px; /* 内側の余白 */
    color: #ffffff; /* テキストの色 */
    margin: auto;
    max-width: 1200px;
}

/* グリッドのカラム数を減らすレスポンシブ設定 */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr); /* 2つのグリッドに変更 */
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr; /* 1カラムに変更して縦並びに */
        padding: 20px 10px; /* パディングを少なく */
    }
}

.footer-widget {
    background-color: #002b5b; /* メインカラー */
    border-radius: 5px; /* 角を丸める */
    padding: 20px; /* 内側の余白 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* 影をつける */
}

.footer-widget h2 {
    font-size: 16px; /* 見出しのフォントサイズ */
    margin-bottom: 10px; /* 下のマージン */
    border-bottom: 2px solid #ff8c00; /* アクセントカラーのボーダー */
    padding-bottom: 5px; /* ボーダーとのスペース */
}

.footer-widget ul {
    list-style-type: none; /* リストのスタイルを消す */
    padding: 0; /* パディングを消す */
}

.footer-widget li {
    margin: 10px 0; /* 各項目のマージン */
}

.footer-widget a {
    color: #ffffff; /* リンクの色 */
    text-decoration: none; /* 下線を消す */
    transition: color 0.3s ease; /* ホバー時の遷移 */
}

.footer-widget a:hover {
    color: #ff8c00; /* ホバー時の色 */
}

.footer-widget .sub-menu {
    margin-top: 10px; /* サブメニューの上マージン */
    padding-left: 15px; /* 左のパディング */
}

.footer-widget .sub-menu li {
    margin: 5px 0; /* サブメニュー項目のマージン */
}

.grecaptcha-badge {
bottom: 200px;
right: 150px;
transform: scale(0.85);
opacity: 0.2;
}