/*
 Theme Name:   Standard Design C
 Theme URI:    https://standard-co.jp
 Description:  Standard Design C
 Author:       Standard Inc.
 Author URI:   https://standard-co.jp
 Template:     generatepress
 Version:      0.4

 テーマ：GeneratePress 3.0〜 + GP Premium
 →https://generatepress.com/
 CSSフレームワーク：Tailwindcss 2.0〜
 →https://tailwindcss.com/

・上書きが必要なものは当style.cssに記述
・当社固有のCSSには「std-xxx」と命名している
・IE11は非対応でOK

 ■目次
・基本設定
・Tailwindcss調整・ユーティリティ不足分追加
・GeneratePress：調整
・GeneratePress：追加
・ロゴ・ヘッダー
・ナビゲーション
・パンクズ
・ページネーション
・サイドバー
・フッター
・コンタクトフォーム
・テーブル
・リスト
・ボタン
・スクロールバー
・トップページ：メインビジュアル
・最新情報
・見出しデザイン
・ニュースティッカー
・背景スライドショー
〜下記未対応〜
・要素のアニメーション
・Page Hero：背景動画（不要な場合は削除）
・アニメーション：ローディング（不要な場合は削除）

・サイトオリジナルのCSS〜追加のCSSはここから記載〜
*/

/* =========================================================
* 基本設定
* テーマのレイアウトやフォントなどのベース設定はカスタマイザーで行う
* 外観 > カスタマイズ
* カスタマイザーで設定しきれない部分や調整をCSSで追加
========================================================= */
/* カスタムプロパティ指定 */
/* サンセリフ（ゴシック系）、セリフ（明朝系）はサイトのテイストに合わせて調整 */
/* フォントは外観>Elements>wp_head（全ページ出力）でlinkとして読み込み */
:root {
    --main-color: #1f893a;
    --main-color-hover: #3ca661;
    --main-font-color: #ffffff;

    --main-font-jp: 'Noto Serif JP', 'Hiragino Kaku Gothic ProN', 游ゴシック, YuGothic, Meiryo, 'MS PGothic', serif;
   --main-font-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 游ゴシック, YuGothic, Meiryo, 'MS PGothic', sans-serif;
    --main-font-en: 'Playfair Display', serif;

    --font-sans-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 游ゴシック, YuGothic, Meiryo, 'MS PGothic', sans-serif;
    --font-serif-jp: 'Zen Old Mincho', 'Hiragino Mincho ProN', 游明朝, YuMincho, HGS明朝E, 'MS PMincho', serif;
    --font-sans-en: 'Roboto Condensed', sans-serif;
    /* --font-sans-en: 'Montserrat', sans-serif; */
    --font-serif-en: 'Playfair Display', serif;

    /* --font-tel: 'Ramabhadra', sans-serif; */
    --font-tel: 'Source Serif Pro', serif;
}

body {
    font-family: var(--font-sans-jp);
    /* カーニングの設定 */
    letter-spacing: 1.5px;
    font-feature-settings: "palt" 1;
    -webkit-font-kerning: auto;
            font-kerning: auto;
}
@media (max-width: 768px) {
    body {
        letter-spacing: 0;
    }
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--main-font-jp);
}
button, input, select, textarea {
    font-family: var(--main-font-jp);
}
dl, dt, dd {
    margin: 0;
}
ol, ul {
    margin: 0 0 0 1.5rem;
}
/* 画像初期設定 */
img {
    vertical-align: middle;
}
a:hover img {
    opacity:0.8;
    filter: alpha(opacity=80);
    -ms-filter: "alpha( opacity=80 )";
}
/* アイコンカラー */
i.fa { color: var(--main-color); }
/* 背景カラー */
.std-bg-main {
    background-color: var(--main-color);
}
/* テキストカラー */
.main-color {
    color: var(--main-color);
}
/* リンクカラー */
a.main-color {
    color: var(--main-color);
}
a.main-color:hover, a.main-color:active, a.main-color:focus {
    color: #333;
}

/* フォント指定 */
.sans-jp  { font-family: var(--font-sans-jp) !important; }
.serif-jp { font-family: var(--font-serif-jp) !important; }
.sans-en  { font-family: var(--font-sans-en) !important; }
.serif-en { font-family: var(--font-serif-en) !important; }
.font-tel { font-family: var(--font-tel) !important; }

/* 見出しフォントサイズ：カスタマイザーの設定「Typography＞Headings」に合わせる */
.h1,.std-heading-lv1 {font-size: 40px; line-height: 1.2;}
.h2,.std-heading-lv2 {font-size: 34px; line-height: 1.2;}
.h3,.std-heading-lv3 {font-size: 26px; line-height: 1.2;}
.h4,.std-heading-lv4 {font-size: 24px; line-height: 1.4;}
.h5,.std-heading-lv5 {font-size: 20px; line-height: 1.6;}
.h6,.std-heading-lv6 {font-size: 16px; line-height: 1.8;}
@media (max-width: 768px) {
    .h1,.std-heading-lv1 {font-size: 34px;}
    .h2,.std-heading-lv2 {font-size: 26px;}
    .h3,.std-heading-lv3 {font-size: 24px;}
    .h4,.std-heading-lv4 {font-size: 22px;}
    .h5,.std-heading-lv5 {font-size: 20px;}
}
@media (max-width: 1024px) {
    /* フォームの横幅100% */
    input[type=email], 
    input[type=number], 
    /* input[type=password],  */
    /* input[type=search],  */
    input[type=tel], 
    input[type=text], 
    input[type=url], 
    select, textarea {
        width: 100%;
    }
}

/* IE警告（IEは非対応の旨掲載） */
.ie-message-box {
    background-color: #eee;
    text-align: center;
    padding: 40px;
}
.ie-message-box h2 {
    color: rgba(239, 68, 68, 1);
    margin-bottom: 20px;
}

/* =========================================================
* Tailwindcss調整・ユーティリティ不足分追加
========================================================= */
.z-100 {
	z-index: 100;
}
.z-200 {
	z-index: 200;
}
.z-300 {
	z-index: 300;
}
/* テキストシャドウ */
.std-text-shadow {
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.1), 0 0 4px rgba(0, 0, 0, 0.1), 0 0 8px rgba(0, 0, 0, 0.1), 0 0 12px rgba(0, 0, 0, 0.1);
}
/* レスポンシブ対応 */
.std-responsive {
    position: relative;
    /* padding-bottom: 75%; */ /* 4:3の場合 */
    padding-bottom: 56.25%; /* 16:9の場合 */
    width: 100%;
    height: 0;
    overflow: hidden;
}
.std-responsive iframe,
.std-responsive object,
.std-responsive embed {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
/* Googleマップ ビジネスプロフィール（クチコミ含む）非表示 */
/* 参考URL　https://monakanote.net/coding/css-googlemaps-20200624/ */
.std-gbp-hidden {
	width: 100%;
	height: 600px;
	overflow: hidden;
}
.std-gbp-hidden iframe {
	width: 100%;
	height: 850px;
	margin-top: -140px;
}

/* Googleマップ 埋め込みコードカスタマイズ（GoogleマップAPIの代替バージョン） */
/* 親要素の設定 */
.std-google-map {
    position: relative;
    width: 100%; /* 横幅は親要素に合わせて自動調整 */
    height: 500px; /* 縦幅を固定 */
    overflow: hidden; /* クチコミ非表示用 */
}
/* iframeの設定 */
.std-google-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* 横幅を100%に設定し、親要素に合わせる */
    height: 100%; /* 親要素の高さに合わせる */
    border: none; /* 枠線を非表示にする */
}
/* クチコミ非表示 */
/* 参考URL　https://monakanote.net/coding/css-googlemaps-20200624/ */
.std-google-map iframe{
    position: absolute;
    height: 800px;
    margin-top: -150px;
}
/* カラー調整 */
/* 参考サイト　https://cdg-blog.jp/css_gmap_color/ */
.std-google-map iframe{
    /* filter: saturate(70%); /* 彩度調整 */
    filter: grayscale(15%); /* モノクロ調整 */
}

/* =========================================================
* GeneratePress：調整
* カスタマイザーで調整しきれない部分
========================================================= */
/* 投稿系：サイドバー有りのコンテンツとサイドバーのウィジェットを線で囲む */
.site-main article:not(.page) .inside-article,
.search .site-main article .inside-article,
.search-no-results .site-main .inside-article,
.error404 .site-main .inside-article,
.sidebar .widget {
    /*border: 1px solid #e3e3e3;*/
}
/* カテゴリーのページヘッダーを非表示（ElementsのHeaderを利用の場合） */
body.category .page-header,
body.archive .page-header,
body.tag .page-header,
body.date .page-header,
body.search .page-header {
    display: none;
}
/* カスタマイザーのセパレート値（40）を上書き */
/* パンくずの間の余白調整 */
.separate-containers.right-sidebar .site-main,
.separate-containers.left-sidebar .site-main {
    margin-top: 20px;
}
.separate-containers .inside-right-sidebar, 
.separate-containers .inside-left-sidebar {
    margin-top: 20px;
}

/* =========================================================
* GeneratePress：追加
* GPマニュアル：https://docs.generatepress.com/collection/sections/
========================================================= */
/* フルワイドのセクション：GPのセクション利用時に「Custom Classes」に「generate-sections-fullwide」を設定 */
/* セクションの設定「Inner Box Type」を「Full Width」に変更しただけでは左右の余白が残るため、余白を０にする */
.generate-sections-fullwide .generate-sections-inside-container {
    padding-left: 0;
    padding-right: 0;
}
/* GPのセクション利用時に「Custom Classes」に「generate-sections-XXXX」を設定 */
.generate-sections-800  .generate-sections-inside-container {max-width: 800px; margin-left:auto;margin-right:auto;}
.generate-sections-900  .generate-sections-inside-container {max-width: 900px; margin-left:auto;margin-right:auto;}
.generate-sections-1000 .generate-sections-inside-container {max-width: 1000px;margin-left:auto;margin-right:auto;}
.generate-sections-1100 .generate-sections-inside-container {max-width: 1100px;margin-left:auto;margin-right:auto;}
.generate-sections-1200 .generate-sections-inside-container {max-width: 1200px;margin-left:auto;margin-right:auto;}
.generate-sections-1300 .generate-sections-inside-container {max-width: 1300px;margin-left:auto;margin-right:auto;}
.generate-sections-1400 .generate-sections-inside-container {max-width: 1400px;margin-left:auto;margin-right:auto;}
.generate-sections-1500 .generate-sections-inside-container {max-width: 1500px;margin-left:auto;margin-right:auto;}
.generate-sections-1600 .generate-sections-inside-container {max-width: 1600px;margin-left:auto;margin-right:auto;}
.generate-sections-1700 .generate-sections-inside-container {max-width: 1700px;margin-left:auto;margin-right:auto;}
.generate-sections-1800 .generate-sections-inside-container {max-width: 1800px;margin-left:auto;margin-right:auto;}

/* 固定幅　※grid-containerはカスタマイザーの「Layout＞Container＞Container Width」設定値（ベーステーマでは1200px）となるため、それ以外の横幅を利用したい場合に利用 */
.grid-400  {max-width: 400px; margin-left:auto;margin-right:auto;} .grid-400::after {clear: both;}
.grid-500  {max-width: 500px; margin-left:auto;margin-right:auto;} .grid-500::after {clear: both;}
.grid-600  {max-width: 600px; margin-left:auto;margin-right:auto;} .grid-600::after {clear: both;}
.grid-700  {max-width: 700px; margin-left:auto;margin-right:auto;} .grid-700::after {clear: both;}
.grid-800  {max-width: 800px; margin-left:auto;margin-right:auto;} .grid-800::after {clear: both;}
.grid-900  {max-width: 900px; margin-left:auto;margin-right:auto;} .grid-900::after {clear: both;}
.grid-1000 {max-width: 1000px;margin-left:auto;margin-right:auto;} .grid-1000::after {clear: both;}
.grid-1100 {max-width: 1100px;margin-left:auto;margin-right:auto;} .grid-1100::after {clear: both;}
/* カスタマイザーの設定値（Container Width）を超える場合は該当セクションの「Inner Box Type」を「Full Width」に変更してから利用する */
.grid-1200 {max-width: 1200px;margin-left:auto;margin-right:auto;} .grid-1200::after {clear: both;}
.grid-1300 {max-width: 1300px;margin-left:auto;margin-right:auto;} .grid-1300::after {clear: both;}
.grid-1400 {max-width: 1400px;margin-left:auto;margin-right:auto;} .grid-1400::after {clear: both;}
.grid-1500 {max-width: 1500px;margin-left:auto;margin-right:auto;} .grid-1500::after {clear: both;}
.grid-1600 {max-width: 1600px;margin-left:auto;margin-right:auto;} .grid-1600::after {clear: both;}
.grid-1700 {max-width: 1700px;margin-left:auto;margin-right:auto;} .grid-1700::after {clear: both;}
.grid-1800 {max-width: 1800px;margin-left:auto;margin-right:auto;} .grid-1800::after {clear: both;}
/* clear:both */
.grid-400::after, .grid-500::after, .grid-600::after, .grid-700::after, .grid-800::after, .grid-900::after, .grid-1000::after, 
.grid-1100::after, .grid-1200::after, .grid-1300::after, .grid-1400::after, .grid-1500::after, .grid-1600::after, .grid-1700::after, .grid-1800::after {
    content: ".";
    display: block;
    overflow: hidden;
    visibility: hidden;
    font-size: 0;
    line-height: 0;
    width: 0;
    height: 0;
}

/* =========================================================
* ロゴ・ヘッダー
* GPマニュアル
* https://docs.generatepress.com/collection/header/
========================================================= */
/* ヘッダー部分を固定表示（sticky）させる場合 */
/* スマホ表示以外の場合、GPのカスタマイザーのスティッキーナビを利用せずにCSSで対応 */
/* @mediaのmin-widthはGPのカスタマイザーのナビの「ブレイクポイント」に合わせる */
@media (min-width:1024px) {
    .header-wrap,
    body:not(.home) .site-header {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 100;
        box-shadow: 0 2px 2px -2px rgb(0 0 0 / 20%); /* 影 */
    }
    .admin-bar .header-wrap,
    body:not(.home).admin-bar .site-header {
        top: 32px;
    }
    /* Page Heroの高さをヘッダーの高さ分調整（ホーム、ビジネス用固定ページ、クオリティアップ用固定ページ） */
    .home .page-hero,
    .page-id-199 .page-hero,
    .page-id-206 .page-hero {
        min-height: calc( 100vh - 90px );
    }
    .home.admin-bar .page-hero,
    .page-id-199.admin-bar .page-hero,
    .page-id-206.admin-bar .page-hero {
        min-height: calc( 100vh - 90px - 32px );
    }
}

.main-title {
    font-family: var(--main-font-jp);
}
.site-description {
    font-family: var(--main-font-jp);
}

/* ロゴ画像設定 */
/* SVG以外の画像（jpg,png,gif等）は縦幅2倍で作成（滲まないように）、またはカスタマイザーでRetina Logoを指定 */
/* SVGの場合は縦＋横サイズも指定する */
.site-header .header-image,
.site-header .main-navigation .navigation-logo img,
#mobile-header.mobile-header-navigation .mobile-header-logo img {
    height: 61px;
    width: auto;
    /* width: 183px; /* ロゴの縦横比に合わせて横幅調整（SVG以外の場合はコメントアウト可） */
}
/* Mobile Headerのロゴ上下のパッティング調整（デフォは10px） */
#mobile-header .site-logo.mobile-header-logo img {
    padding: 5px 0;
}
h1.site-logo {
    margin-bottom: 0;
}
/* ロゴ画像設定ここまで */

/* サイトタイトル前にアイコン設置ここから */
/* 不要な場合はコメントアウト */
/* SVG画像の場合はロゴの縦横比に合わせてheight、widthいずれも指定 */
/*.header-icon {
    margin: 0 10px 0 0;
    height: 54px; 
    width: 54px;
}
@media (max-width: 1024px) {
    .header-icon {
        display: none;
    }
    .site-header .inside-header .main-title::before {
        content: '';
        background-image: url('//placehold.jp/dddddd/555555/45x45.png?text=logo');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        height: 45px;
        width: 45px;
        display: inline-block;
        vertical-align: middle;
        margin: 0;
    }
    .site-header .inside-header .main-title {
        margin-bottom: 0px;
    }
}*/
/* サイトタイトル前にアイコン設置ここまで */


/* =========================================================
* ナビゲーション
* GPマニュアル
* https://docs.generatepress.com/collection/primary-navigation/
* https://docs.generatepress.com/collection/slide-out-navigation/
========================================================= */
.main-navigation .inside-navigation .main-nav {
    order: 1;
    margin-right: 20px;
}
/* スライドアウトナビのウィジェット（CTA） */
.slideout-widget {
    order: 2;
}
/* ナビゲーションのCTA（ナビのCTAを利用しない場合は削除） */
.std-navigation-cta {
    order: 2;
    display: flex;
}
.std-navigation-cta-item {
    /*height: 90px;*/
    display: flex;
}
.std-navigation-cta-tel {
    padding: 0 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.std-navigation-cta-tel .std-navi-tel {
    font-size: 24px;
    line-height: 32px;
    font-weight: bold;
	letter-spacing: 0.02em;
}
.std-navigation-cta-tel .std-navi-text {
    font-size: 12px;
    line-height: 18px;
	letter-spacing: 0.15em;
}
.main-navigation a.std-navigation-cta-mail {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* 画面幅が小さくなった場合はCTA非表示（横幅はナビの数に応じて適宜調整） */
@media (max-width:1200px) {
    .std-navigation-cta {
        display: none;
    }
}
/* ナビゲーションのCTAここまで */

/* スティッキーナビにサイトタイトル表示（させる場合はCodeSnippetsでON） */
/* スティッキーナビの左側にタイトル、右側にメニューを配置（flex-endを上書き） */
/* 未完成（ナビのかぶり問題についてまだ調査中） */
/* 
.nav-align-right .inside-navigation {
    justify-content: space-between;
}

.main-title.std-sticky {
    display: none;
}
.navigation-stick .main-title.std-sticky {
    display: block;
}
*/

/* スライドアウトナビのサブメニュー時の「▼」クリック可能領域を広げる */
@media (max-width: 768px) {
    li.menu-item-has-children .dropdown-menu-toggle {
        padding-left: 15px !important;
        padding-right: 15px !important;
        border-left: 1px solid #ddd;
    }
    ul.sub-menu li.menu-item-has-children .dropdown-menu-toggle {
        border-left: 1px solid rgba(255, 255, 255, 0.5);
    }
}
@media (min-width: 769px) {
    #sticky-navigation.is_stuck.main-navigation ul li {
        letter-spacing: 1.5px;
    }
}
/* スライドアウトナビの装飾 */
#generate-slideout-menu.slideout-navigation.do-overlay .inside-navigation {
    padding-top: 0;
}
#generate-slideout-menu .slideout-menu > li {
    border-bottom: 1px solid #ddd;
    text-align: left !important;
    margin: 0;
}
#generate-slideout-menu .slideout-menu > li li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    text-align: left !important;
    margin: 0;
}
#generate-slideout-menu .slideout-menu > li li:last-of-type {
    border-bottom: none;
}
.slideout-navigation.main-navigation .main-nav ul li a {
    padding-left: 15px;
    width: 100%;
}
/* スライドアウトナビのウィジェトの余白調整 */
.main-navigation.slideout-navigation .main-nav, 
.main-navigation.slideout-navigation .slideout-widget:not(:last-child),
.main-navigation.slideout-navigation .slideout-widget {
    margin: 0;
}
.slideout-widget {
    width: 100%;
}

/* スライドアウトナビのCTA */
.std-slideout-cta-tel {
    padding: 15px;
    background-color: rgba(101, 89, 127, 0.1);
}
.std-slideout-cta-tel a {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
}
.std-slideout-cta-tel .std-slideout-text {
    font-size: 12px;
    line-height: 12px;
    font-weight: 400;
}
.std-slideout-cta-mail a.button {
    color: #fff;
    line-height: 40px;
    padding: 15px;
}

/* モバイル時のメニュー調整 */
@media (max-width: 768px) {
    /* ハンバーガーメニューサイズ調整 */
    .menu-toggle .gp-icon {
        font-size: 22px;
    }
    /* メニューの表記を非表示 */
    .menu-toggle .gp-icon+.mobile-menu {
        display: none;
    }
}

/* =========================================================
* パンクズ
* Breadcrumb NavXTプラグイン利用
* 外観>Elements>パンくず出力
========================================================= */
.std-breadcrumbs {
    font-size: 14px;
    line-height: 20px;
    overflow: hidden;
    padding-top: 20px;
}
.sections-no-sidebars .std-breadcrumbs {
    padding: 20px;
    max-width: 1160px;
	margin-inline: auto;
}
/* オーバーフローした場合、改行させずに…表示 */
.std-breadcrumbs .grid-container {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .std-breadcrumbs {
        padding: 20px 10px 0 10px;
    }
    .sections-no-sidebars .std-breadcrumbs {
        padding: 20px 10px;
        border-bottom: 1px solid #eee;
    }
}

/* =========================================================
* ページネーション
========================================================= */
.paging-navigation {
    text-align: center;
}
.paging-navigation .page-numbers:not(.dots):not(.prev):not(.next) {
    background-color: var(--main-color);
    color: var(--main-font-color);
    padding: 2px 8px;
}
.paging-navigation a.page-numbers:not(.dots):not(.prev):not(.next):hover {
    background-color: var(--main-color-hover);
}

/* =========================================================
* サイドバー
* GPマニュアル：https://docs.generatepress.com/collection/sidebars/
========================================================= */
/* サイドバーウィジェットのタイトル設定 */
.sidebar .widget .widget-title {
    color: var(--main-color);
	font-family: var(--font-serif-jp);
    border-bottom: solid 2px var(--main-color);
    text-align: center;
    line-height: 1;
    padding: 15px 0;
    margin: -20px -20px 20px -20px; /* .sidebar .widgetのpadding打ち消し */
}
/* セレクトボックスデザイン調整 */
.sidebar .widget select {
    width: 100%;
    padding: 5px;
}
/* ウィジェット：最近の投稿 */
.sidebar .widget .post-date {
    display: block;
    color: #777;
}

/* WP Show Postsプラグインでのお知らせ表示 */
/* ダッシュボード > WP Show Posts > サイドバーへ最新情報表示 */
.sidebar .wp-show-posts-entry-meta {
    font-size: 13px;
    text-align: right;
}
.sidebar .wp-show-posts-image.wpsp-image-left {
    margin-right: 15px;
}
.sidebar .wp-show-posts .wp-show-posts-entry-title {
    /* タイトルのフォントはWP Show Postsプラグインの設定画面 */
    line-height: 1.4;
    font-weight: 400;
}
@media (max-width: 768px) {
    .sidebar .wp-show-posts-image.wpsp-image-left {
        float: left; /* サイドバーのWP Show Posts（最新情報）は左寄せ維持 */
    }
}

/* =========================================================
* フッター
* GPマニュアル：https://docs.generatepress.com/collection/footer/
========================================================= */
.std-footer-logo {
    height: 61px;
    width: auto;
    /* width: 183px; /* SVGはロゴの縦横比に合わせて横幅指定 */
}
/* フッターにカスタムメニューを設置した場合 */
@media (min-width:769px) {
    .site-footer .widget_nav_menu {
        text-align: center;
    }
    .site-footer ul.menu li {
        display: inline-block;
        list-style-type: none;
        margin: 0 20px 0 0;
    }
}
.site-footer ul.menu li {
    padding: 0 0 0 20px;
}
.site-footer ul.menu li::before {
    font-family: 'FontAwesome';
    content: "\f138";
    position: absolute;
    left : 0;
    color: var(--main-color);
}
/* フッターサイトマップ */
#footer-widgets .footer-sitemap ul li {
    margin-bottom: 0;
}
/* コピーライト */
.copyright-bar {
    width: 100%;
}
/* スマホ用CTA */
.std-mobile-cta {
    background-color: var(--main-color);
}
.std-mobile-cta > div:first-of-type {
    border-right: 1px solid rgba(255,255,255,0.3);
}
/* フッター固定のCTAとかぶらないように */
@media (max-width: 768px) {
    /* スマホCTA（タップでお電話）対応 */
    .generate-back-to-top, 
    .generate-back-to-top:visited {
        bottom: 55px;
        right: 10px;
        z-index: 200;
    }
    footer.site-info {
        margin-bottom: 45px; 
    }
}

/* =========================================================
* コンタクトフォーム
* Contact Form 7プラグイン利用
========================================================= */
/* チェックボックス縦並び */
span.wpcf7-list-item {
    display: block;
}
/* プレイスホルダーの色指定（その他の色はカスタマイザーで設定） */
input::-webkit-input-placeholder { color: #aaa; }
input:-ms-input-placeholder      { color: #aaa; }
input::-ms-input-placeholder     { color: #aaa; }
input::-moz-placeholder          { color: #aaa; }
input::placeholder               { color: #aaa; }
::-webkit-input-placeholder      { color: #aaa; }
:-ms-input-placeholder           { color: #aaa; }
::-ms-input-placeholder          { color: #aaa; }
::-moz-placeholder               { color: #aaa; }
::placeholder                    { color: #aaa; }

/* 必須項目 */
.std-form-required {
    color: #fff;
    background: #e75757;
    font-size: 12px;
    padding: 1px 5px;
    margin-right: 7px;
}
/* ローダーとメッセージの出力位置を微調整 */
.wpcf7 .wpcf7-spinner {
    display: block;
    margin: 0.5em auto 0 auto;
}
.wpcf7 form .wpcf7-response-output {
    margin: 0;
}

/* =========================================================
* テーブル（基本はGeneratePressのテーブル）
* .table-bb：下線付きのテーブル
* .table-color：色付きのthに変更
* .table-tel：電話番号・FAX番号用
* .table-scrollでラップするとモバイル時に表を左右にスクロールさせる（3カラム以上ある場合はオススメ）
========================================================= */
/* テーブル：標準 */
table {
    margin: 0;
    background: #ffffff;
}
table th {
    text-align: left;
    font-weight: 500;
    width: 200px; /* 適宜変更 */
    background-color: #f3f3f3;
}
table th,
table td {
    padding: 20px;
}
/* テーブル：下線バージョン */
table.table-bb, 
table.table-bb th,
table.table-bb td {
    border: none;
}
table.table-bb th {
    border-bottom: 1px solid var(--main-color);
	background: none;
}
table.table-bb td {
    border-bottom: 1px solid #c6c6c6;
}
/* 先頭のみ上部にも線を引く */
table.table-bb tr:first-of-type th {
    border-top: none;
}
table.table-bb tr:first-of-type td {
    border-top: none;
}

/* テーブル：メインカラーバージョン */
.table-color ,
.table-color th,
.table-color td {
    border: none;
}
.table-color th,
.table-color td {
    border-bottom: 1px solid #fff;
}
.table-color th {
    color: var(--main-font-color);
    background-color: var(--main-color);
}
/* tdの奇数行に適応 */
.table-color tr:nth-of-type(odd) td {
    background: #f3f3f3; /* 背景色に合わせて微調整 */
}
/* tdの偶数行に適応 */
.table-color tr:nth-of-type(even) td {
    background: #fafafa; /* 背景色に合わせて微調整 */
}
/* テーブル：電話番号・FAX番号用 */
table.table-tel th {
/*     width: 50px; */
    font-size: 20px;
    text-align: center;
}
table.table-tel td {
    font-size: 36px;
    line-height: 1;
    letter-spacing: 0;
}

@media (max-width: 768px){
    table th,
    table td,
    table.table-color th,
    table.table-color td {
        padding: 10px;
    }
    /* table-mobile指定でレスポンシブ対応（2カラム構成のテーブルに利用） */
    table.table-mobile tr,
    table.table-mobile th,
    table.table-mobile td {
        display: block;
        width: auto !important;
    }
    table.table-bb th {
        border-top: none
        border-bottom: none;
        font-weight: 500;
		padding-bottom: 4px;
    }
    table.table-bb tr:first-of-type td {
        border-top: none;
    }
    table.table-bb td {
        border-bottom: none;
		padding-top: 4px;
		border-bottom: 1px dotted #c6c6c6;
    }
    table.table-bb tr:last-of-type td {
        border-bottom: 1px solid #c6c6c6;
    }
    table.table-tel th {
        width: auto;
        font-size: 18px;
    }
    table.table-tel td {
        text-align: center;
        font-size: 24px;
        line-height: 1.8;
    }
}

/* talbeの外側にtable-scroll指定でスマホ時に横スクロール（3カラム構成以上のテーブルに利用） */
@media (max-width: 768px){
    .table-scroll table {
        width:100%;
    }
    .table-scroll {
        overflow: auto; /*tableをスクロールさせる*/
        white-space: nowrap; /*tableのセル内にある文字の折り返しを禁止*/
    }
    .table-scroll::-webkit-scrollbar { /*tableにスクロールバーを追加*/
        height: 5px;
    }
    .table-scroll::-webkit-scrollbar-track { /*tableにスクロールバーを追加*/
        background: #F1F1F1;
    }
    .table-scroll::-webkit-scrollbar-thumb { /*tableにスクロールバーを追加*/
        background: #BCBCBC;
    }
}

/* =========================================================
* リスト
========================================================= */
/* 1024pxより大きい場合はリストを複数行に */
ul.std-list-col {
    list-style-type: none;
    margin: 0;
}
ul.std-list-col li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ccc;
}
@media (min-width:1024px) {
    ul.std-list-col {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 20px;
    }
    ul.std-list-col li {
        width: calc(33.33% - 20px); /* 3列に分割 */
        height: 3.5rem;
    }
}

/* =========================================================
* ボタン（基本はGeneratePressのボタン）
* 色はカスタマイザーで設定
* GPマニュアル：https://docs.generatepress.com/article/adding-buttons/
========================================================= */
/* ボタンのFontAwesome */
a.button i.fa { color: #fff; }
a:hover.button i.fa { color: #fff; }
/* FontAwesomeとの境界に縦線を入れる場合 */
.button i.left {
    border-right: 1px solid rgba(255, 255, 255, .2);
    margin-right: 5px;
    padding-right: 10px;
}
.button i.right {
    border-left: 1px solid rgba(255, 255, 255, .2);
    margin-left: 5px;
    padding-left: 10px;
}
/* シースルー（白） */
.button.see-white {
    background-color: transparent;
    color: #fff;
    font-weight: normal;
    border: 2px solid #fff;
}
/* シースルー（黒） */
.button.see-black {
    background-color: transparent;
    color: #333;
    font-weight: normal;
    border: 2px solid #333;
}
.button.see-black i.fa {
    color: #333;
}
.button.see-black i.fa.left,
.button.see-black i.fa.right {
    border-color: #333;
}
/* シースルーホバー時 */
.button.see-white:hover,
.button.see-black:hover {
    background-color: var(--main-color);
    border: 2px solid var(--main-color);
    color: var(--main-font-color);
}
.button.see-white:hover i,
.button.see-black:hover i {
    color: var(--main-font-color);
}
.button.see-black:hover i.left,
.button.see-black:hover i.right {
    border-color: #fff;
}
/* 追加したい色は各自指定 */
.button.red,
.button.red:visited {
    background: #c81e32;
    color: #FFF;
}
.button.red:hover {
    background: #b91629;
}

/* =========================================================
* スクロールバー
* malihu custom scrollbar plugin（JS）利用
* GitHub https://github.com/malihu/malihu-custom-scrollbar-plugin
* DEMO http://manos.malihu.gr/repository/custom-scrollbar/demo/examples/complete_examples.html
========================================================= */
.std-scroller {
    height: 230px; /* 高さ適宜調整 */
    overflow: auto;
}
/* スクロールバーの色（標準は黒） */
.std-scroller .mCS-dark-3.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    /* background-color: rgba(0,0,0,.75); */
    background-color: var(--main-color);
    opacity: 0.9;
}
/* ホバー */
.std-scroller .mCS-dark-3.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
    /* background-color: rgba(0,0,0,.85); */
    background-color: var(--main-color);
}
/* アクティブ */
.std-scroller .mCS-dark-3.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.std-scroller .mCS-dark-3.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
    /* background-color: rgba(0,0,0,.9); */
    background-color: var(--main-color);
}

/* =========================================================
* トップページ：メインビジュアル
* 外観>Elements>トップページ（Header）
* GPマニュアル：https://docs.generatepress.com/collection/elements/
========================================================= */

.std-mainimg .std-maincopy {
    font-family: var(--main-font-en);
    font-size: 86px;
    font-weight: 400;
    line-height: 1.2;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.2), 0 0 4px rgba(0, 0, 0, 0.2), 0 0 8px rgba(0, 0, 0, 0.2), 0 0 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}
.std-mainimg .std-subcopy {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.2), 0 0 4px rgba(0, 0, 0, 0.2), 0 0 8px rgba(0, 0, 0, 0.2), 0 0 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
}
@media (max-width: 768px) {
    /* スマホ表示のときは、ページヘッダーのイメージ変更 */
    .home .page-hero {
        /* background-image: url('https://..../mb-main.jpg'); */
    }
    .std-mainimg .std-maincopy {
        font-size: 60px;
    }
    .std-mainimg .std-subcopy {
        font-size: 17px;
    }
}

/* =========================================================
* 最新情報表示
* Post Snippetsプラグインに出力用PHPを記載
* info1row、info2row、info1row-childcat
========================================================= */
.std-bg-info {
    color: var(--main-font-color);
    background-color: var(--main-color);
    width: 140px;
    max-width: 140px;
    text-align: center;
}
/* std-bg-xxxとしてカテゴリーのスラッグ毎に指定可能 */
.std-bg-news {
}

/* =========================================================
* 見出しデザイン
* lv1…ページヘッダーで利用
* lv2…本文内で利用
* text…lv1、lv2の飾りテキスト
* フォントサイズはh1、h2、h3などの見出しに準じる
========================================================= */
.std-heading-wrap {
    margin-bottom: 2.5rem;
    text-align: center;
}
.std-heading-lv1,
.std-heading-lv2 {
    font-family: var(--font-serif-jp);
    font-weight: 600;
    letter-spacing: 0.2rem; /* フォントに応じて調整 */
    line-height: 1;
    margin: 0;
    position: relative;
    display: inline-block;
}
.std-heading-lv2 {
    color: #333;
}
.std-heading-lv2.white {
    color: #fff;
}
/*.std-heading-lv1::after,
.std-heading-lv2::after {
    background-color: #fff;
    content: "";
    position: absolute;
    bottom: -25px; /* std-heading-textのmargin-topの値と合わせ調整 */
   /* left: 0;
    right: 0;
    width: 50px; /* 任意で変更 */
   /* height: 3px; /* 任意で変更 */
   /* margin: 0 auto;
}
.std-heading-lv2::after {
    background-color: var(--main-color);
}
.std-heading-lv2.white::after {
    background-color: #fff;
} */

.std-heading-text {
    color: var(--main-color);
    /* text-transform: uppercase;*/
    font-family: var(--font-sans-en);
    margin-top: 20px;
    margin-bottom: 0px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.2rem;
	position: relative;
}
.std-heading-text::after {
	content: "";
	display: block;
    background-color: var(--main-color);
	max-width: 600px;
	min-width: 300px;
	width: 50%;
	height: 1px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
} 
.page-hero .std-heading-text::after {
	content: none;
} 

.std-heading-text.white {
    color: #fff;
}
/* 見出しに下線 */
.std-title-line {
    text-align: center;
    margin-bottom: 20px;
}
.std-title-line {
    padding-bottom: 20px;
    position: relative;
}
.std-title-line::after {
    background-color: var(--main-color);
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 30px;
    margin-left: -15px;
    height: 3px;
}

/* =========================================================
* ニュースティッカー
* GP：Elementsで編集
* Header > Page Hero > Element Classesにstd-tickerクラスを指定
========================================================= */
.page-hero.std-ticker {
    position: relative;
}
.std-ticker-wrap {
    overflow: hidden;
    position: absolute;
    z-index: 9;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background-color: var(--main-color);
    /* flexbox */
    display: flex;
}
/* 768px以上の場合1300px上限 */
@media (min-width: 768px) {
    .std-ticker-wrap {
        max-width: 1300px;
        width: calc(100% - 200px);
        min-width: 1000px;
        margin: 0 auto;
    }
}
.std-ticker-item {
    display: flex;
    justify-content: center;
    align-items: center;
}
.std-ticker-item.std-ticker-title {
    width: 200px;
    line-height: 50px;
    text-align: center;
    background-color: #111;
    font-size: 1.2em;
}
.std-ticker-item.std-ticker-text {
    flex: 1;
    position: relative;
    text-align: left;
    font-size: 1em;
}
.std-ticker-text ul {
    margin: 0;
    padding: 0;
    line-height: 50px;
}
.std-ticker-text ul li {
    padding: 0 1.5em;
    display: none;
    width: calc( 100% - 3em);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.std-ticker-date {
    color: rgba(255, 255, 255, 0.8);
    margin-right: 1em;
}
@media (max-width: 768px) {
    .std-ticker-item.std-ticker-title {
        width: auto;
        font-size: 1em;
        padding: 0 10px;
    }
    .std-ticker-item.std-ticker-text {
        font-size: 0.85em;
    }
    .std-ticker-text ul li {
        padding: 0 1em;
        width: calc( 100% - 2em);
    }
}

/* =========================================================
* 背景スライドショー：KenBurns（CSSのみで実装）（不要な場合は削除）
* GP：Elementsで編集
* Header > Page Hero > Element Classesにstd-slideクラスを指定
* 参考　https://codepen.io/ibanez182/pen/LZPgrY
* 2枚バージョンのCSS　https://codepen.io/xxx-web/pen/ExPwrLe
* 3枚バージョンのCSS　https://codepen.io/xxx-web/pen/ebMWVP
* 4枚バージョンのCSS　https://codepen.io/xxx-web/pen/wRmdye
* 5枚バージョンのCSS　https://codepen.io/xxx-web/pen/ebMWqo
========================================================= */
.page-hero.std-slide {
    position: relative;
    overflow: hidden;
}
.std-slide .std-mainimg {
    position: relative;
    z-index: 9; /* スライドの枚数以上、10以下指定（GPのスティッキーナビの下になるように） */
    /* 
    background-color: rgba(255, 255, 255, 0.75);
    -webkit-box-shadow: 0 1em 2em -1em rgba(0, 0, 0, 0.5);
            box-shadow: 0 1em 2em -1em rgba(0, 0, 0, 0.5);
    padding: 1em 2em;
    */
}
.std-slideshow {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.std-slideshow-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background: no-repeat 50% 50%;
    background-size: cover;
    -webkit-animation-name: kenburns;
            animation-name: kenburns;
    -webkit-animation-timing-function: linear;
            animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
    -webkit-animation-duration: 18s;
            animation-duration: 18s;
    opacity: 1;
    transform: scale(1.08);
}
.std-slideshow-image:nth-child(1) {
    -webkit-animation-name: kenburns-1;
            animation-name: kenburns-1;
    z-index: 2;
}
.std-slideshow-image:nth-child(2) {
    -webkit-animation-name: kenburns-2;
            animation-name: kenburns-2;
    z-index: 1;
}
.std-slideshow-image:nth-child(3) {
    -webkit-animation-name: kenburns-3;
            animation-name: kenburns-3;
    z-index: 0;
}

/*@-webkit-keyframes kenburns-1 {
    0% {
      opacity: 1;
      transform: scale(1.08);
    }
    1.5625% {
      opacity: 1;
    }
    31.7675% {
      opacity: 1;
    }
    34.8925% {
      opacity: 0;
      transform: scale(1);
    }
    100% {
      opacity: 0;
      transform: scale(1.08);
    }
    98% {
      opacity: 0;
      transform: scale(1.08117647059);
    }
    100% {
      opacity: 1;
    }
}
@keyframes kenburns-1 {
    0% {
      opacity: 1;
      transform: scale(1.08);
    }
    1.5625% {
      opacity: 1;
    }
    31.7675% {
      opacity: 1;
    }
    34.8925% {
      opacity: 0;
      transform: scale(1);
    }
    100% {
      opacity: 0;
      transform: scale(1.08);
    }
    98% {
      opacity: 0;
      transform: scale(1.08117647059);
    }
    100% {
      opacity: 1;
    }
}
@-webkit-keyframes kenburns-2 {
    31.7675% {
      opacity: 1;
      transform: scale(1.08);
    }
    34.8925% {
      opacity: 1;
    }
    65.0975% {
      opacity: 1;
    }
    68.2225% {
      opacity: 0;
      transform: scale(1);
    }
    100% {
      opacity: 0;
      transform: scale(1.08);
    }
}
@keyframes kenburns-2 {
    31.7675% {
      opacity: 1;
      transform: scale(1.08);
    }
    34.8925% {
      opacity: 1;
    }
    65.0975% {
      opacity: 1;
    }
    68.2225% {
      opacity: 0;
      transform: scale(1);
    }
    100% {
      opacity: 0;
      transform: scale(1.08);
    }
}
@-webkit-keyframes kenburns-3 {
    65.0975% {
      opacity: 1;
      transform: scale(1.08);
    }
    68.2225% {
      opacity: 1;
    }
    98.4375% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      transform: scale(1);
    }
}
@keyframes kenburns-3 {
    65.0975% {
      opacity: 1;
      transform: scale(1.08);
    }
    68.2225% {
      opacity: 1;
    }
    98.4375% {
      opacity: 1;
    }
    100% {
      opacity: 0;
      transform: scale(1);
    }
} */

@keyframes kenburns-1 {
  0% {
    opacity: 1;
    transform: scale(1.08);
  }
  1.5625% {
    opacity: 1;
  }
  31.7675% {
    opacity: 1;
  }
  /* ▼ ここだけ変更（34.8925 → 38.0175） */
  38.0175% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
  98% {
    opacity: 0;
    transform: scale(1.08117647059);
  }
  100% {
    opacity: 1;
  }
}
@keyframes kenburns-2 {
  31.7675% {
    opacity: 1;
    transform: scale(1.08);
  }
  34.8925% {
    opacity: 1;
  }
  65.0975% {
    opacity: 1;
  }
  /* ▼ ここだけ変更（68.2225 → 71.3475） */
  71.3475% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}
@keyframes kenburns-3 {
  65.0975% {
    opacity: 1;
    transform: scale(1.08);
  }
  68.2225% {
    opacity: 1;
  }
  98.4375% {
    opacity: 1;
  }
  /* ▼ ここだけ変更（100 のままでもOKだが統一感を出すなら） */
  100% {
    opacity: 0;
    transform: scale(1);
  }
}


/* =========================================================
 * 背景動画（不要な場合は削除）
 * GP：Elementsで編集
 * Header > Page Hero > Element Classesにstd-videoクラスを指定
========================================================= */
.page-hero.std-video {
    position: relative;
    overflow: hidden;
    /* 動画へのオーバーレイ指定 */
    /* background-image: radial-gradient(circle, rgba(63,94,251,1) 0%, rgba(252,70,107,1) 100%); */
    background-image: url(https://web-supporter.info/img/dot1.png);
}
.std-video .std-mainimg {
    position: relative;
    z-index: 1;
}
.std-background-video {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.55; /* ElementのBackground Colorや上記page-heroで指定した背景色やドットをオーバーレイする場合は0.Xで指定 */
}

video[poster] {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    font-family: 'object-fit: cover;'; /*IE対策*/
}

/* =========================================================
* サイトオリジナルのCSS（わかりやすくコメントを記載してください）
========================================================= */

.text-main{
	color: var(--main-color)!important;
}
.text-ygreen{
	color: #66b337!important;
}
.text-yorange{
	color: #e99900!important;
}
.text-orange-100 { color: #fffaf0; }
.text-orange-200 { color: #feebc8; }
.text-orange-300 { color: #fbd38d; }
.text-orange-400 { color: #f6ad55; }
.text-orange-500 { color: #ed8936; }
.text-orange-600 { color: #dd6b20; }
.text-orange-700 { color: #c05621; }
.text-orange-800 { color: #9c4221; }
.text-orange-900 { color: #7b341e; }


.bg-pl-green{
	background-color: #ebf0e8!important;
}
.bg-pl-gray{
	background-color: #f3f3f3!important;
}
.bg-ivory{
	background-color:  #f2eee8!important;
}
.bg-ygreen{
	background-color: #66b337!important;
}
.bg-yorange{
	background-color: #e99900!important;
}

.text-15px{
	font-size: 15px;
}
a.text-main:hover{
	color: var(--main-color-hover)!important;
}

.border-color-main{
	border-color: var(--main-color)!important;
}
.border-color-gray{
	border-color: #c6c6c6;
}

.table-border-gray{
   border: none;
	border-collapse: collapse;
}
.table-border-gray th,
.table-border-gray td{
   border: solid 1px #c6c6c6;
}
.table-pt-small th,
.table-pt-small td{
	padding: 10px;
}

.ic-num{
	background: var(--main-color);
	color: #fff;
	font-family: var(--font-serif-jp); 
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: inline-block;
	vertical-align: middle;
	text-align: center;
	line-height: 1.5em;
	font-weight: bold;
	margin-top: -0.2em;
}
@media (max-width: 767px) {
	.ic-num{
		width: 35px;
		height: 35px;
	}
}

/* -------------------------------------------------------------
 * ボタン
  -------------------------------------------------------------*/
.btn-arrow {
    position: relative;
	color: var(--main-color);
}
.btn-arrow .arrow {
    background: var(--main-color);
    width: 26px;
    height: 26px;
    letter-spacing: 0;
    border-radius: 50%;
    display: inline-block;
    margin-right: 7px;
	margin-top: -0.3em;
    position: relative;
    vertical-align: middle;
    transition-duration: .3s;
    transition-timing-function: ease-in-out;
}
.btn-arrow .arrow i{
	color: #fff!important;
	font-size: 15px;
    font-weight: bold;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-40%, -55%);
}
.btn-arrow:hover .arrow {
    background: var(--main-color-hover);
}

.ic-arrow-s{
    background: var(--main-color);
    width: 15px;
    height: 15px;
    letter-spacing: 0;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
    position: relative;
    vertical-align: middle;
    transition-duration: .3s;
}
.ic-arrow-s i{
	color: #fff!important;
	font-size: 12px;
    font-weight: bold;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-40%, -55%);
}
a:hover .ic-arrow-s{
    background: var(--main-color-hover);
}

.btn-border{
    color: var(--main-color);
	position: relative;
	padding: 0.2em 0.8em 0.2em 0.6em;
	transition-duration: .3s;
}
.btn-border::after{
	content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: var(--main-color);
    position: absolute;
    right: 0;
	bottom: -0.5em;
	transition-duration: .3s;
}
.btn-border:hover{
	color: var(--main-color-hover);
}
.btn-border:hover::after{
    background: var(--main-color-hover);
    width: 0%;
}

a.generate-back-to-top {
    border-radius: 50%;
}

/* -------------------------------------------------------------
 * タイトル
  -------------------------------------------------------------*/
.ttl-border{
	position: relative;
	text-align: center;
}
.ttl-border::after{
	content: "";
	display: block;
	width: 200px;
	height: 1px;
	background: var(--main-color);
	margin: 1em auto;
}
.ttl-border-left{
	position: relative;
}
.ttl-border-left::after{
	content: "";
	display: block;
	width: 200px;
	height: 1px;
	background: var(--main-color);
	margin: 0.5em 0 1em 0;
}

.entry-header .entry-title{
	font-family: var(--font-serif-jp);
}


/* -------------------------------------------------------------
 * ヘッダー・ナビ調整
  -------------------------------------------------------------*/
.main-navigation .main-nav ul li a, .menu-toggle, .main-navigation .menu-bar-item > a {
    line-height: 80px;
}
.inside-header{
	max-width: 1600px;
    margin-inline: auto;
}
.std-navigation-cta-mail .cta-mail-icon{
	display: none;
}
@media (max-width: 1550px) {
	.std-navigation-cta-tel{
		display: none;
	}
}
@media (max-width: 1450px) {
	.std-navigation-cta-mail .cta-mail-text{
		display: none;
	}
	.main-navigation a.std-navigation-cta-mail {
		padding: 10px 15px;
	}
	.main-navigation .main-nav ul li a, .menu-toggle, .main-navigation .menu-bar-item > a {
    	padding-left: 6px;
    	padding-right: 10px;
	}
	.main-navigation .inside-navigation .main-nav {
    	margin-right: 0px;
	}
	.menu-item-has-children .dropdown-menu-toggle {
        padding-right: 15px;
        padding-left: 5px;
	}
	.std-navigation-cta-mail .cta-mail-icon{
		display: block;
	}
}

@media (min-width: 1024px) {
    .header-wrap, body:not(.home) .site-header {
        box-shadow: 0 2px 2px -2px rgb(0 0 0 / 0%);
    }
}

.inside-header{
	position: relative;
}

body:not(.home) .page-hero {
    position: relative;
	max-width: 1400px;
	border-bottom: solid 1px #c6c6c6cc;
	margin-inline: auto;
}

/* モバイルヘッダー　モバイルヘッダーon時　ディスクリプションなし
.mobile-header-navigation .main-title{
	font-family: var(--font-serif-jp); 
	position: relative;
	padding-left: 85px;
}
.mobile-header-navigation .main-title::before{
	content: "";
    display: block;
    width: 80px;
    height: 50px;
    background: url(https://shizensozainoie.com/wp/wp-content/uploads/logo.png);
    background-size: 100% auto;
    position: absolute;
    top: 4px;
    left: -7px;
} */



/* モバイルヘッダー*/
.mobile-menu-control-wrapper .menu-toggle, .mobile-menu-control-wrapper .menu-toggle:hover, .mobile-menu-control-wrapper .menu-toggle:focus, .has-inline-mobile-toggle #site-navigation.toggled {
    background-color: rgba(0, 0, 0, 0);
}
@media (max-width: 1200px) {
    .site-header .header-image,
    .site-header .main-navigation .navigation-logo img,
    #mobile-header.mobile-header-navigation .mobile-header-logo img {
        height: 58px;
        width: auto;
		margin: 5px 0 5px 10px;
    }
} 
@media (max-width: 640px) {
    .site-header .header-image,
    .site-header .main-navigation .navigation-logo img,
    #mobile-header.mobile-header-navigation .mobile-header-logo img {
        height: 50px;
		margin: 5px 0 5px 5px;
    }
	.site-branding-container .site-logo {
    	margin-right: 4px;
    }
	.site-branding .site-description{
		font-size: 12.5px;
		letter-spacing: 0.02em;
	}
} 


/* -------------------------------------------------------------
 * フッター調整
  -------------------------------------------------------------*/
.site-footer{
	border-top: solid 1px #c6c6c6cc;
}
.ft-menu > li{
	font-size: 15px;
	padding: 0.5em 0 0.5em 10px;
	display: block;
}
.ft-menu > li a::before{
	font-family: 'FontAwesome';
    content: "\f105";
	font-size: 13px;
	position: relative;
	left: -5px;
	top: -0.1em;
	font-weight: bold;
}
.ft-menu > li ul li a{
	font-size: 14.5px;
	padding: 0.25em 0  0.25em 30px;
	position: relative;
	display: block;
}
.ft-menu > li ul li a::before{
	content: "";
	display: block;
	width: 20px;
	height: 1px;
	background: #c6c6c6;
	position: absolute;
	left: 0px;
	top: 50%;
}
.ft-menu > li > ul{
	margin-top: 0.1em!important;
}



/* -------------------------------------------------------------
 * トップページ
  -------------------------------------------------------------*/
.home .page-hero{
	margin: 0 10px;
	border-radius: 0.5rem;
}
.main-copy{
	position: absolute;
	top: 10%;
	left: 69%;
	border-radius: 0 0 0.5rem 0.5rem;
	z-index: 3;
}
.main-copy h2{
	font-size: 50px;
	line-height: 1.7em;
	padding-bottom: 1em;
	writing-mode: vertical-rl;
	text-shadow: 0px 0px 15px rgba(40, 38, 35, 0.25),0px 0px 25px rgba(40, 38, 35, 0.15),0px 0px 40px rgba(40, 38, 35, 0.15);
}
.main-text{
	font-size: 24px;
	padding: 15px 35px;
	color: #fff;
	background: #105822bd;
	position: absolute;
	z-index: 3;
	bottom: 5%;
	left: 0;
}
@media (max-width: 1024px) {
	.main-copy h2{
		font-size: 4vw;
	}
}
@media (max-width: 768px) {
	.main-text{
		font-size: 20px;
		bottom: 15%;
	}
}
@media (max-width: 767px) {
	.home .page-hero{
		margin: 0;
		border-radius: 0;
	}
	.main-copy{
		top: 7%;
		right: auto;
		left: 60%;
	}
	.main-copy h2{
		font-size: 6vw;
	}
	.main-text{
		font-size: 16px;
		bottom: 10%;
	}
}

.section-top-siki .grid{
	gap: 5rem;
}
.section-top-siki .top-siki-ttl{
	writing-mode: vertical-rl;
	position: absolute;
	top: -1em;
	right:  0;
	padding: 20px;
	z-index: 1;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#fcf6ef+0,f3eee4+100 */
	background: linear-gradient(135deg,  rgba(252,246,239,1) 0%,rgba(243,238,228,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
.section-top-siki .top-siki img{
	position: relative;
	max-width: 92.5%;
	margin-left: 0;
	margin-right: auto;
}
.section-top-siki .top-siki p {
	position: relative;
	max-width: 94.5%;
	margin-right: auto;
}
@media (max-width: 1560px) {
	.section-top-siki .grid{
		gap: 2rem;
	}
	.section-top-siki .top-siki-ttl{
		padding: 14px;
	}
}
@media (max-width: 1380px) {
	.section-top-siki .top-siki-ttl{
		top: -1.5em;
		transform: scale(0.95);
	}
	.section-top-siki .top-siki > div:nth-child(2) a.top-siki-img{
		order: 1;
	}
	.section-top-siki .top-siki > div:nth-child(2) p{
		order: 2;
	}
}
@media (max-width: 1200px) {
	.section-top-siki .grid{
		gap: 1rem;
	}
	.section-top-siki .top-siki-ttl{
		padding: 14px;
		transform: scale(0.9);
	}
}
@media (max-width: 1023px) {
	.section-top-siki .top-siki{
		max-width: 600px;
		margin-inline: auto;
	}
	.section-top-siki .grid{
		gap: 2rem;
	}
	.section-top-siki .top-siki-ttl{
		padding: 14px;
		transform: scale(1);
	}
	.section-top-siki .top-siki img,
	.section-top-siki .top-siki p{
		max-width: 100%;
	}
}

.top-news{
	background: #fff;
	padding: 15px 0 10px 0;
}
.top-news .slick-dots li button:before, .wp-show-posts .slick-next:before, .wp-show-posts .slick-prev:before, .wp-show-posts button.slick-arrow {
    color: var(--main-color)!important;
}
.top-news .slick-dotted.slick-slider {
    margin-bottom: 0;
}
.top-news .wp-show-posts-single{
	padding: 0 15px;
}
.top-news .wp-show-posts-single .wp-show-posts-entry-header{
	margin-bottom: 0.5em;
}
.top-news .wp-show-posts-single .wp-show-posts-entry-summary{
	font-size: 14px;
	line-height: 1.5em;
}
.top-news .wp-show-posts-single .wp-show-posts-entry-meta.wp-show-posts-entry-meta-below-post{
	position: absolute;
	top: -4px;
	padding: 0 6px 4px 0;
	background: #fff;
	display: inline-block;
	font-size: 14px;
	font-weight: 500;
}
.top-news .wp-show-posts-single .wp-show-posts-entry-meta.wp-show-posts-entry-meta-below-post a{
	color: var(--main-color);
}
.top-news .wp-show-posts-single .wp-show-posts-entry-meta.wp-show-posts-entry-meta-below-post a:hover{
	color: var(--main-color-hover);
}
.top-news .slick-dots{
	margin-top: 0;
}
.top-news button.slick-next,
.top-news button.slick-prev {
	color: #fff!important;
    position: absolute;
    font-size: 25px;
    top: calc(30% - 30px);
    padding: 5px;
	border-radius: 50%;
	background: #1f893aba;
	z-index: 1;
}
.top-news button.slick-next:hover,
.top-news button.slick-prev:hover {
	background: var(--main-color);
	z-index: 1;
}
.top-news button.slick-prev {
    left: -15px;
}
.top-news button.slick-next {
    right: -15px;
}
.section-top-bn {
	margin-bottom: 20px!important;
	border-top: solid 1px #ececec;
	border-bottom: solid 1px #ececec;
}
.section-top-bn h2{
	line-height: 1.3em;
}
.section-top-bn img {
  outline: 1px solid rgba(0,0,0,0.05);
}

/* -------------------------------------------------------------
 * 志木の家づくり
  -------------------------------------------------------------*/
/* 住まいと健康-------------------------------*/
.home-header{
	position: relative;
}
.home-header .h2{
	position: absolute;
	writing-mode: vertical-rl;
	background: #f3eee4fa;
	top: -1em;
	right: 10%;
	padding: 1.5em;
}
@media (max-width: 767px) {
	.home-header .h2 {
    	top: -1em;
    	right: 10%;
    	padding: .5em;
	}
}


/* 家づくりの進み方-------------------------------*/
.process_ttl {
	background: url(https://shizensozainoie.com/wp/wp-content/uploads/pr_ttl.webp) top center no-repeat;
	background-size: 100% auto;
	text-shadow: 0px 0px 12px rgba(248, 245, 240, 0.8), 0px 0px 18px rgba(249, 247, 245, 0.8), 0px 0px 18px rgba(249, 247, 245, 0.8);
}

.section-flow .flow-num{
	background: var(--main-color);
	color: #fff;
	font-family: var(--font-serif-jp); 
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: inline-block;
	vertical-align: middle;
	text-align: center;
	margin-right: 10px;
	line-height: 1.5em;
	font-weight: bold;
	margin-top: -0.2em;
}
.section-flow .flow-ttl{
	border-top: dotted 1px #c6c6c6;
	border-bottom: solid 1px #c6c6c6;
	padding: 0.6em 0 0.5em 0;
}



/* -------------------------------------------------------------
 * 会社概要
  -------------------------------------------------------------*/
.company-photos{
	margin: -.15rem;
}
.company-photos > div{
	    padding: .15rem;
}


/* -------------------------------------------------------------
 * 取り扱い商品
  -------------------------------------------------------------*/
.system-header{
	position: relative;
}
.system-header .system-header-ttl{
	position: absolute;
	background: rgba(255,255,255,0.8);
	top: 3em;
	left: 0;
	padding: 0.5em 1em;
}
@media (max-width: 767px) {
	.system-header .system-header-ttl{
		position: relative;
		top: 0;
		padding: 40px 0 0 0;
	}
}

/* -------------------------------------------------------------
 * 新築・リフォーム一覧
  -------------------------------------------------------------*/
.reform-list-top .wpsp-load-more,
.newbuild-list-top .wpsp-load-more{
	text-align: center;
	font-weight: 600px;
	font-size: 16px;
	background: #ebf0e8;
	max-width: 300px;
	margin-inline: auto;
	border-radius: 20px;
}
.newbuild-list-top .wpsp-load-more .next, .newbuild-list-top .wpsp-load-more .prev,
.reform-list-top .wpsp-load-more .next, .reform-list-top .wpsp-load-more .prev {
	font-size: 0px;
}
.newbuild-list-top .wpsp-load-more .next::after,
.reform-list-top .wpsp-load-more .next::after {
	font-family: 'FontAwesome';
	content: "\f101";
	font-size: 20px;
	color: var(--main-color);
}
.newbuild-list-top .wpsp-load-more .prev::after,
.reform-list-top .wpsp-load-more .prev::after {
	font-family: 'FontAwesome';
	content: "\f100";
	font-size: 18px;
	color: var(--main-color);
}
.newbuild-list-top .wpsp-load-more .page-numbers,
.reform-list-top .wpsp-load-more .page-numbers{
	display: inline-block;
	margin-left: 3px;
	color: var(--main-color);
}
.newbuild-list-top .wpsp-load-more .page-numbers.current,
.reform-list-top .wpsp-load-more .page-numbers.current{
	color: #333!important;
}
.newbuild-list-top .wpsp-load-more .page-numbers:hover,
.reform-list-top .wpsp-load-more .page-numbers:hover,
.newbuild-list-top .wpsp-load-more .next:hover::after,
.reform-list-top .wpsp-load-more .next:hover::after{
	color: var(--main-color-hover);
}

/* -------------------------------------------------------------
 * お問い合わせ
  -------------------------------------------------------------*/
.section-cta{
	background: url(https://shizensozainoie.com/wp/wp-content/uploads/cta_bg.webp) top center no-repeat;
	background-size: 100% auto;
}
.section-cta .paga-cta{
	background: rgba(254,246,228,.95);
}
.section-cta .paga-cta .font-tel{
    font-size: 28px;
	line-height: 1.2em;
}
@media (max-width: 767px) {
	.section-cta{
		background-size: 130% auto;
	}
}

/* -----------------------------------------------------------------------------------------
 * アニメーション
 *  -------------------------------------------------------------------------------------- */
body.home{
	opacity: 0;
	transition-duration: 1000ms;
	transition-delay: 100ms;
}
.opacity-100{
	opacity: 1!important;
}
.sc-anim {
	 opacity: 0;
}
.sc-anim.sc-show {
	 opacity: 1;
	 transform: none;
}
.sc-slideLeft {
	 transform: translateX(-30px);
}
.sc-slideRight{
	 transform: translateX(30px);
}
.sc-slideUp {
  transform: translateY(30px);
}
.duration-1500{
	 transition-duration: 1500ms;
}
.duration-2000{
	 transition-duration: 2000ms;
}
.delay-1500{
	transition-delay: 1500ms;
}


