@charset "utf-8";
/*
Theme Name: WordPress スターターパック
Theme URI:
Template: lightning
Description:
Author: 魚沼情報サービス
Tags:
Version: 1.0.46

*/

/* ログインしているときだけ表示 */
body:not(.logged-in) .login {
display: none;
}
body.logged-in .login {
opacity: 0.5;
background-color: #ddd;
}

/* モバイルナビ上部・下部のウィジェットがない場合のメッセージを表示しない */
.veu_adminEdit.alert.alert-info {
    display: none;
}

/*-------------------------------------------*/
/*	ExUnit の「編集ガイド HIDE」で非表示にする　※上から　自分用備忘録(.login)、ページ最下部の「プロフィール編集」、VK Filter Search の [編集] ボタン
/*-------------------------------------------*/
body.logged-in.vew_hide_edit_guide .login,
body.logged-in.vew_hide_edit_guide .admin-profile,
body.logged-in.vew_hide_edit_guide form.vk-filter-search + a.btn,
body.logged-in.vew_hide_edit_guide .ujs-login-user-only {
    display: none;
}

/* 見出しフォントを明朝に */
h1, h2, h3, h4, h5, h6, .page-header-title, .site-header-logo {
  font-family: Hiragino Mincho ProN,"游明朝",serif;
}

/* 明朝フォント */
.mincho {
  font-family: Hiragino Mincho ProN,"游明朝",serif;
}

/* Arial Black フォント */
.arial {
font-weight: bold;
font-family: Arial Black, "游ゴシック Medium","Yu Gothic Medium","游ゴシック体",YuGothic,"ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN,sans-serif;
padding-bottom: 0.15em;
}

/* コードブロック */
.wp-block-code {
border: solid 1px #ccc;
padding: 1em;
border-radius: 5px;
}

/* インラインコード */
p code, ul code {
font-family: Inconsolata,Consolas,Monaco,"Lucida Console",monospace;
display: inline-block;
background-color: #f9f9f9;
border: 1px solid #ddd;
padding: 0 5px;
max-width: 95%;
vertical-align: middle;
margin-top: -3px;
overflow-x: auto;
}

/* インライン画像 */
p img {
vertical-align: middle;
}

/* キーボード入力 */
kbd {
background-color: #f9f9f9;
border: 1px solid #777;
border-radius: 2px;
box-shadow: 1px 2px 2px #ddd;
font-family: inherit;
font-size: 0.85em;
padding: 1px 3px;
color: #333;
}

/* 画面幅が大きい端末で表示したときに間延びしたかんじにならないようにする */
.mw-800 {
max-width: 800px !important;
margin-left: auto;
margin-right: auto;
}
.mw-640 {
max-width: 640px !important;
margin-left: auto;
margin-right: auto;
}
.mw-500 {
max-width: 500px !important;
margin-left: auto;
margin-right: auto;
}
.mw-400 {
max-width: 400px !important;
margin-left: auto;
margin-right: auto;
}
.mw-320 {
max-width: 320px !important;
margin-left: auto;
margin-right: auto;
}
.mw-240 {
max-width: 240px !important;
margin-left: auto;
margin-right: auto;
}
.mw-50p {
max-width: 50% !important;
margin-left: auto;
margin-right: auto;
}
.mw-75p {
max-width: 75% !important;
margin-left: auto;
margin-right: auto;
}

/* PC サブメニューのフォントサイズを大きく */
.global-nav-list .sub-menu li {
  font-size: 14px;
}

/* 前の記事・次の記事 のスタイル 1カラムのときは画像を小さく表示 */
.main-section--margin-bottom--on .vk_post.card-horizontal .col-5 {
flex: 0 0 30%;
max-width: 30%;
}
.main-section--margin-bottom--on .vk_post.card-horizontal .col-7 {
flex: 0 0 70%;
max-width: 70%;
}

/* 次の記事 のスタイル 画像を右に配置 */
.next-prev-next .card-horizontal-inner-row {
flex-direction: row-reverse;
}
.vk_post.card-horizontal.next-prev-next .vk_post_imgOuter {
border-left: 1px solid var(--vk-color-border-hr,#e5e5e5);
border-right: none;
}

/* メニューが開くときにスクロールバーがチラッと見えることの対策 */
.device-pc .global-nav-list>li:hover>.sub-menu {
  overflow-y: hidden;
}

/* スマホではヘッダーロゴを左寄せ */
@media (max-width: 599.98px) {
    .site-header-logo img {
        margin-left: 0;
    }
}

/* reCAPTCHA (v3) のロゴの位置を上に */
.grecaptcha-badge {
    margin-bottom: 100px;
}



/* グローバルナビの下線 ／ マウスホバーは PC のみ */
.global-nav-list>li:before {
    position: absolute;
    left: 0;
    bottom: 0;
    content: "";
    width: 100%;
    height: 1px;
    background-color: var(--vk-color-primary);
    transform: scaleX(0);
    transform-origin: 50%;
    transition: transform .5s ease-out;
    border-bottom: none;
}
.device-pc .global-nav-list>li:hover:before,
.global-nav-list>li[class*=current]:before {
    transform: scaleX(1);
}



/*-------------------------------------------*/
/*	お問い合わせフォーム ここから
/*-------------------------------------------*/
form ul.flex_form {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
}

form ul.flex_form li {
    display: flex;
    flex-wrap: wrap;
    margin: 10px;
    padding: 5px 0;
    list-style-type: none;
}

form ul.flex_form li span.wpcf7-form-control-wrap {
    flex-basis: 300px;
    flex-grow: 1;
    align-self: center;
}

form ul.flex_form li span.field_info {
    flex-basis: 220px;
    display: flex;
    flex-direction: row;
    padding-top: 0.5em;
    justify-content: space-between;
    margin-right: 1.5em;
}

form ul.flex_form li span.field_required {
    font-weight: 700;
    color: #fff;
    background-color: var(--vk-color-primary);
    font-size: 0.8em;
    padding: 0em 1em;
    align-self: flex-start;
}

form ul.flex_form input[type="text"],
form ul.flex_form input[type="email"],
form ul.flex_form select,
form ul.flex_form textarea {
    width: 100%;
    box-sizing: border-box;
    border: none;
    background-color: #eeeeee;
    padding: 1.3em 1em;
}

ul textarea {
    height: auto;
    font-family: Helvetica, Arial, sans-serif;
}

/* 送信ボタンを中央揃えするために非表示にした */
.wpcf7-spinner {
    display: none !important;
}

@media (max-width: 767.98px) {
    form ul.flex_form li span.field_info {
        justify-content: flex-start;
        margin-right: 0;
    }
    form ul.flex_form li span.field_required {
        margin-left: 1em;
    }
}

/* 入力確認のチェックボックスを大きく */
form .wpcf7-acceptance input[type="checkbox"] {
    transform: scale(2.0);
    margin-right: 0.5em;
}

/* 警告メッセージを目立つように */
form .wpcf7-not-valid-tip {
    font-weight: bold;
}

/* ボタン無効時はマウスホバーで変化しない */
.wpcf7 input[type=submit].wpcf7-submit:disabled:hover {
    color: #fff;
    background-color: var(--vk-color-primary);
}

/* 送信完了時にフォームを非表示にする */
.wpcf7 form.wpcf7-form.sent ul,
.wpcf7 form.wpcf7-form.sent p {
    display: none;
}

/* 送信完了メッセージを目立たせる */
.wpcf7 form.wpcf7-form.sent .wpcf7-response-output {
    font-size: 1.2em;
    margin: 10em 0.5em;
    border-color: var(--vk-color-primary);
    color: var(--vk-color-primary);
}

/*-------------------------------------------*/
/*	お問い合わせフォーム ここまで
/*-------------------------------------------*/



/* フッター */
body .site-footer {
    background-color: var(--vk-color-footer-bg);
    border-top: 3px solid var(--vk-color-custom-1);
}



/*-------------------------------------------*/
/*	検索窓 角丸
/*-------------------------------------------*/
.search-box-round .wp-block-search__inside-wrapper {
    justify-content: flex-end;
}
.search-box-round.wp-block-search .wp-block-search__button {
    width: 36px;
    height: 36px;
    max-width: unset !important;;
    border-radius: 50%;
    margin-left: 5px !important;
}
.search-box-round.wp-block-search input.wp-block-search__input {
    width: min(240px, 65vw);
    max-width: min(240px, 65vw);
    border-radius: 25px;
}
.search-box-round.wp-block-search input.wp-block-search__input:focus {
    outline: none;
    border-width: 2px;
}

/*-------------------------------------------*/
/*	検索窓 ピン角
/*-------------------------------------------*/
.search-box-square .wp-block-search__inside-wrapper {
    justify-content: flex-end;
}
.search-box-square.wp-block-search .wp-block-search__button {
    background-color: var(--vk-color-custom-1);
    width: 36px;
    height: 36px;
    max-width: unset !important;;
    border-radius: 0;
    margin-left: 5px !important;
}
.search-box-square.wp-block-search input.wp-block-search__input {
    width: min(240px, 65vw);
    max-width: min(240px, 65vw);
    border-radius: 0;
}
.search-box-square.wp-block-search input.wp-block-search__input:focus {
    outline: none;
    border-width: 2px;
}



/*-------------------------------------------*/
/*	検索窓 ピン角 を 余白なし にする　※追加クラス名 no-space
/*-------------------------------------------*/
.search-box-square.no-space.wp-block-search input.wp-block-search__input {
    border-top: 1px solid var(--vk-color-custom-1);
    border-right: none;
    border-bottom: 1px solid var(--vk-color-custom-1);
    border-left: 1px solid var(--vk-color-custom-1);
}
.search-box-square.no-space.wp-block-search input.wp-block-search__input:focus {
    border-width: 2px;
}
.search-box-square.no-space.wp-block-search .wp-block-search__button {
    margin-left: 0px !important;
}

/*-------------------------------------------*/
/*	検索窓 ボタンと入力欄を入れ替え　※追加クラス名 search-box-reverse
/*-------------------------------------------*/
.search-box-reverse .wp-block-search__inside-wrapper {
    flex-direction: row-reverse;
}
.search-box-reverse.wp-block-search .wp-block-search__button {
    margin-right: 5px !important;
}
.search-box-reverse.no-space.wp-block-search .wp-block-search__button {
    margin-right: 0px !important;
}

.search-box-reverse.search-box-square.no-space.wp-block-search input.wp-block-search__input {
    border-right: 1px solid var(--vk-color-custom-1);
    border-left: none;
}
.search-box-reverse.search-box-square.no-space.wp-block-search input.wp-block-search__input:focus {
    border-width: 2px;
}



/* 投稿のページヘッダーでタイトルと日付の間隔を増やす */
.entry-meta {
    margin-top: var(--vk-margin-meta);
}



/*-------------------------------------------*/
/*	グリッドレイアウトを使ったカードタイプのナビゲーションメニュー
/*-------------------------------------------*/
.ujs-grid-card-01 {
    display: grid;
    /* スマホは画面幅によって1列・2列になるように 45vw を指定している。 */
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 45vw), 1fr));
    gap: 15px 10px;
}
body .ujs-grid-card-01 .ujs-grid-card-item {
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 5px 6px 1px rgba(0,0,0,.1);
    position: relative;
}
body .ujs-grid-card-01 .ujs-grid-card-item img {
    opacity: 1;
    transition: all 0.2s linear;
}
body .ujs-grid-card-01 .ujs-grid-card-item:hover img {
    opacity: 0.8;
    transform: scale(1.08);
}
body .ujs-grid-card-01 .ujs-grid-card-item p {
    padding: 0.25em 0.5em;
}
body .ujs-grid-card-01 .ujs-grid-card-item a {
    text-decoration: none;
}
body .ujs-grid-card-01 .ujs-grid-card-item a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* シンプルなタイプ② */
body .ujs-grid-card-01.ujs-grid-card-01-square .ujs-grid-card-item {
    border-radius: 0;
    box-shadow: none;
}

/* 説明が表示されるタイプ①・②で兼用している(同一の) CSS */
body .ujs-grid-card-01.ujs-grid-card-01-description .ujs-grid-card-item:hover img {
    opacity: 1;
    transform: none;
}
.ujs-grid-card-01.ujs-grid-card-01-description .ujs-grid-card-item .wp-block-cover p {
    opacity: 0;
    transition: opacity 0.3s linear;
}
.ujs-grid-card-01.ujs-grid-card-01-description .ujs-grid-card-item:hover .wp-block-cover p {
    opacity: 1;
}
.ujs-grid-card-01.ujs-grid-card-01-description .ujs-grid-card-item .wp-block-cover .has-background-dim {
    opacity: 0;
    transition: all 0.3s 0s ease;
}
.ujs-grid-card-01.ujs-grid-card-01-description .ujs-grid-card-item:hover .wp-block-cover.is-light .has-background-dim {
    opacity: 0.75;
}
.ujs-grid-card-01.ujs-grid-card-01-description .ujs-grid-card-item:hover .wp-block-cover .has-background-dim {
    opacity: 0.5;
}

/* 矢印アイコンを表示 */
.ujs-grid-card-01.ujs-grid-card-01-icon {
    /* 矢印の分だけ狭くなるので、スマホでは1列表示にしている。 */
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 50vw), 1fr));
}

.ujs-grid-card-01.ujs-grid-card-01-icon .ujs-grid-card-item > p {
    padding-right: 2.5em !important;
}
.ujs-grid-card-01.ujs-grid-card-01-icon .ujs-grid-card-item > p::after {
    content: "\f061"; /* ここを書き換えてアイコンを変更可能。 */
    font-family: "Font Awesome 6 Free";
    font-weight: bold;
    font-size: 1rem;
    position: absolute;
    bottom: 8px;
    right: 1rem;
    opacity: 0.5;
    transition: all 0.2s linear;
    color: var(--vk-color-primary);
}
.ujs-grid-card-01.ujs-grid-card-01-icon .ujs-grid-card-item:hover > p::after {
    right: 0.5rem;
    opacity: 1;
}
.ujs-grid-card-01.ujs-grid-card-01-icon.ujs-grid-card-01-square .ujs-grid-card-item > p::after {
    color: #fff; /* square の場合 */
}



/*-------------------------------------------*/
/*	グリッドレイアウトを使ったカードタイプのナビゲーションメニュー② (クラス名 .ujs-grid-card-02 / アイコン使用)
/*-------------------------------------------*/
.ujs-grid-card-02 {
    display: grid;
    /* スマホは画面幅によって1列・2列になるように 45vw を指定している。 */
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 45vw), 1fr));
    gap: 15px;
}
@media (min-width: 1200px) {
  .ujs-grid-card-02 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

body .ujs-grid-card-02 .ujs-grid-card-item {
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: relative;
    border-radius: 5px;
    padding: 1em;
}
body .ujs-grid-card-02 .ujs-grid-card-item a {
    color: #000;
}
body .ujs-grid-card-02 .ujs-grid-card-item a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}
body .ujs-grid-card-02 .ujs-grid-card-item h3 {
    position: static;
}
body .ujs-grid-card-02 .ujs-grid-card-item i {
    opacity: 1;
    transition: all 0.2s;
}
body .ujs-grid-card-02 .ujs-grid-card-item:hover i {
    opacity: 0.7;
}



/* バッジスタイルのテーブル① */
.wsp-table-badge tr {
    display: block;
    padding-top: 0.75em;
    padding-bottom: 1.25em;
    border-top: 1px solid var(--vk-color-border-hr);
    border-left: none;
    border-right: none;
    vertical-align: top;
}
.wsp-table-badge tr:last-child {
    border-bottom: 1px solid var(--vk-color-border-hr);
}
.wsp-table-badge td {
    border: none;
    display: inline-block;
    padding: 0.25em 0.5em;
    margin-top: 0.5em;
}

.wsp-table-badge tr td:nth-of-type(1) {
    background-color: var(--vk-color-primary);
    color: #fff;
    border: 1px solid var(--vk-color-primary) !important;
    padding: 0.25em 0.5em;
    min-width: min(8em, 20vw);
    max-width: min(16em, 30vw);
    text-align: center;
    margin-right: 1em;
}

@media (min-width:600px) {
  .wsp-table-badge tr td {
    font-size: var(--vk-size-text);
  }
  .wsp-table-badge tr td:nth-of-type(1) {
    letter-spacing: 2px;
  }
}



/* バッジスタイルのテーブル② */
.wsp-table-badge-2 tr {
    display: block;
    padding-top: 0.75em;
    padding-bottom: 1.25em;
    border-top: 1px solid var(--vk-color-border-hr);
    border-left: none;
    border-right: none;
    vertical-align: top;
}
.wsp-table-badge-2 tr:last-child {
    border-bottom: 1px solid var(--vk-color-border-hr);
}
.wsp-table-badge-2 td {
    border: none;
    display: inline-block;
    padding: 0.25em 0.5em;
    margin-top: 0.5em;
}

.wsp-table-badge-2 tr td:nth-of-type(1) {
    color: var(--vk-color-primary);
    border: 1px solid var(--vk-color-primary) !important;
    padding: 0.25em 0.5em;
    min-width: min(8em, 20vw);
    max-width: min(16em, 30vw);
    text-align: center;
    margin-right: 1em;
}

@media (min-width:600px) {
  .wsp-table-badge-2 tr td {
    font-size: var(--vk-size-text);
  }
  .wsp-table-badge-2 tr td:nth-of-type(1) {
    letter-spacing: 2px;
  }
}



/* バッジスタイルのテーブル③ */
.wsp-table-badge-3 tr {
    display: block;
    padding-top: 0.75em;
    padding-bottom: 1.25em;
    border-top: 1px solid var(--vk-color-border-hr);
    border-left: none;
    border-right: none;
    vertical-align: top;
}
.wsp-table-badge-3 tr:last-child {
    border-bottom: 1px solid var(--vk-color-border-hr);
}
.wsp-table-badge-3 td {
    border: none;
    display: inline-block;
    padding: 0.25em 0.5em;
    margin-top: 0.5em;
}

.wsp-table-badge-3 tr td:nth-of-type(1) {
    background-color: rgba(0,0,0,0.1);
    border: none !important;
    padding: 0.25em 0.5em;
    min-width: min(8em, 20vw);
    text-align: center;
    margin-right: 1em;
}

@media (min-width:600px) {
  .wsp-table-badge-3 tr td {
    font-size: var(--vk-size-text);
  }
  .wsp-table-badge-3 tr td:nth-of-type(1) {
    letter-spacing: 2px;
  }
}



/* ボーダー付きのテーブル */
.wsp-table-border.wp-block-table thead {
    border-bottom: 1px solid;
}
.wsp-table-border :is(td,th) {
  border: none;
  border-top: 1px solid var(--vk-color-border-hr);
  padding: 1rem;
}
.wsp-table-border tr:last-child :is(td,th) {
  border-bottom: 1px solid var(--vk-color-border-hr);
}
.wsp-table-border tr th:nth-of-type(1) {
    border-top-color: var(--vk-color-primary);
    border-bottom-color: var(--vk-color-primary);
    padding-left: 0;
    white-space: nowrap;
}
.wsp-table-border tr td:nth-of-type(1)  {
  border-top-color: var(--vk-color-primary);
  padding-left: 0;
  white-space: nowrap;
}
.wsp-table-border tr:last-child td:nth-of-type(1)  {
  border-bottom:1px solid var(--vk-color-primary);
}

@media (min-width:600px) {
  .wsp-table-border :is(td,th) {
    font-size: var(--vk-size-text);
  }
}



/* 最適なセル幅にする */
figure.td-min-1 table :is(td,th):nth-child(1),
figure.td-min-2 table :is(td,th):nth-child(2) {
    width: 0;
    white-space: nowrap;
}

/* セル内で右寄せ */
figure.td-right-2 table td:nth-child(2),
figure.td-right-3 table td:nth-child(3) {
    text-align: right;
}

/* WordPress 6.6 でモバイルナビのリンクに下線が表示されるようになったことの対策 */
.vk-mobile-nav nav ul li a,
.vk-mobile-nav .veu_card a {
    text-decoration: none;
}

/* WordPress 6.6 でアーカイブページのタイトルのリンクに下線が表示されるようになったことの対策 */
.vk_post .vk_post_title a {
    text-decoration: none;
}



/* ブログカード全体をリンクエリアにする */
.wp-block-embed .blog-card {
    position: relative;
    background-color: #fff;
    transition: background-color .3s ease;
}
.wp-block-embed .blog-card:hover {
    background-color: #f9f9f9;
}
.wp-block-embed .blog-card .blog-card-title a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}
.wp-block-embed .blog-card .blog-card-site-title {
    position: relative;
    z-index: 2;
}

/* カテゴリーのサブテキストがある場合 */
.archive-header:has(.category-subtext) h1.archive-header-title {
    margin-bottom: 0;
}

/* マウスホバーでボタンが沈む */
.ujs-hover-sink a:hover {
    transform: translateY(0.1em);
}
.ujs-hover-sink a {
    transition: transform .15s ease-in-out;
}



