/*
 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: #1ba97c;
    --main-color-hover: #24b587;
    --main-font-color: #ffffff;

    --main-font-jp: 'Noto Serif JP', 'Hiragino Kaku Gothic ProN', 游ゴシック, YuGothic, Meiryo, 'MS PGothic', 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: 'Noto Serif JP', '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);
}

/* フォント指定 */
.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 {
    font-size: 40px;
    line-height: 1.2;
    font-weight: 700;
}

.h2 {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
}

.h3 {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
}

.h4 {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 700;
}

.h5 {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 700;
}

.h6 {
    font-size: 16px;
    line-height: 1.8;
    font-weight: 700;
}

@media (max-width: 768px) {
    .h1 {
        font-size: 34px;
    }

    .h2 {
        font-size: 32px;
    }

    .h3 {
        font-size: 24px;
    }

    .h4 {
        font-size: 22px;
    }

    .h5 {
        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;
}

/* =========================================================
* 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 {
        min-height: calc(100vh - 90px);
    }

    .home.admin-bar .page-hero {
        min-height: calc(100vh - 90px - 32px);
    }
}

.inside-header {
    padding-left: 20px;
}

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

.site-description {
    font-family: var(--main-font-jp);
    margin-left: -31px;
}

/* ロゴ画像設定 */
/* 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: 37px;
    width: 257px;
    /* width: 183px; /* ロゴの縦横比に合わせて横幅調整（SVG以外の場合はコメントアウト可） */
}

/* Mobile Headerのロゴ上下のパッティング調整（デフォは10px） */
#mobile-header .site-logo.mobile-header-logo img {
    padding: 5px 0 !important;
}

h1.site-logo {
    margin-bottom: 0;
}

/* ロゴ画像設定ここまで */

/* サイトタイトル前にアイコン設置ここから */
/* 不要な場合はコメントアウト */
/* SVG画像の場合はロゴの縦横比に合わせてheight、widthいずれも指定 */
/* SVG画像の場合はロゴの縦横比に合わせてheight、widthいずれも指定 */
.header-icon {
    margin: 0 10px 0 0;
    height: 54px;
    width: 54px;
    display: none !important;
}

@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;
    background-color: rgba(243, 243, 243, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.std-navigation-cta-tel .std-navi-tel {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
}

.std-navigation-cta-tel .std-navi-text {
    font-size: 12px;
    line-height: 18px;
}

.main-navigation a.std-navigation-cta-mail {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.main-navigation a.std-navigation-cta-mail span {
    font-size: 13px;
    display: block;
}

/* 画面幅が小さくなった場合はCTA非表示（横幅はナビの数に応じて適宜調整） */
@media (max-width:1350px) and (min-width:1024px) {
    .std-navigation-cta {
        display: none !important;
    }
}

/* ナビゲーションの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 {
    max-width: 1120px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 20px;
    overflow: hidden;
    padding-top: 20px;
}

.sections-no-sidebars .std-breadcrumbs {
    padding: 20px 0;
}

/* オーバーフローした場合、改行させずに…表示 */
.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-font-color);
    background-color: 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: 50px;
    width: auto;
    /* width: 183px; /* SVGはロゴの縦横比に合わせて横幅指定 */
    margin: 0 auto;
}

/* フッターにカスタムメニューを設置した場合 */
@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 #555;
}

table.table-bb td {
    border-bottom: 1px solid #ccc;
}

/* 先頭のみ上部にも線を引く */
table.table-bb tr:first-of-type th {
    border-top: 1px solid #555;
}

table.table-bb tr:first-of-type td {
    border-top: 1px solid #ccc;
}

/* テーブル：メインカラーバージョン */
.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: 1px solid #555;
        border-bottom: none;
        font-weight: 700;
        font-size: 18px;
    }

    table.table-bb tr:first-of-type td {
        border-top: none;
    }

    table.table-bb td {
        border-bottom: none;
    }

    table.table-bb tr:last-of-type td {
        border-bottom: 1px solid #ccc;
    }

    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;
}

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;
        justify-content: space-between;
    }

    ul.std-list-col li {
        display: flex;
        align-items: center;
        padding: 0 1rem;
        width: 31%;
        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 {
    color: #333;
}

.button.see-black i.left,
.button.see-black i.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: var(--main-color);
}

/* 追加したい色は各自指定 */
.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: 70px;
    font-weight: 700;
    line-height: 1.2;
    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);
    margin-bottom: 30px;
    letter-spacing: 0.1em;
}

.std-mainimg .std-subcopy {
    font-family: var(--main-font-en);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    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: 48px;
    }

    .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 {
    color: #fff;
    font-family: var(--main-font-jp);
    font-weight: 700;
    letter-spacing: 0.1rem;
    /* フォントに応じて調整 */
    line-height: 1;
    margin: 0;
    position: relative;
    display: inline-block;
}

.std-heading-lv2 {
    color: #333;
    line-height: 1.4;
    font-weight: 400;
}

.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: #c2bcb6;
    text-transform: uppercase;
    font-family: var(--main-font-jp);
    margin-top: 40px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.45rem;
}

.std-heading-text.white {
    color: #fff;
    font-size: 12px;
}

/* 見出しに下線 */
.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: 14s;
    animation-duration: 14s;
    opacity: 1;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.std-slideshow-image:nth-child(1) {
    -webkit-animation-name: kenburns-1;
    animation-name: kenburns-1;
    z-index: 1;
}

.std-slideshow-image:nth-child(2) {
    -webkit-animation-name: kenburns-2;
    animation-name: kenburns-2;
    z-index: 0;
}

@-webkit-keyframes kenburns-1 {
    0% {
        opacity: 1;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }

    2.5% {
        opacity: 1;
    }

    47.5% {
        opacity: 1;
    }

    52.5% {
        opacity: 0;
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }

    97.5% {
        opacity: 0;
        -webkit-transform: scale(1.2095238095);
        transform: scale(1.2095238095);
    }

    100% {
        opacity: 1;
    }
}

@keyframes kenburns-1 {
    0% {
        opacity: 1;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }

    2.5% {
        opacity: 1;
    }

    47.5% {
        opacity: 1;
    }

    52.5% {
        opacity: 0;
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }

    97.5% {
        opacity: 0;
        -webkit-transform: scale(1.2095238095);
        transform: scale(1.2095238095);
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes kenburns-2 {
    47.5% {
        opacity: 1;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }

    52.5% {
        opacity: 1;
    }

    97.5% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes kenburns-2 {
    47.5% {
        opacity: 1;
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
    }

    52.5% {
        opacity: 1;
    }

    97.5% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/* =========================================================
* サイトオリジナルのCSS（わかりやすくコメントを記載してください）
========================================================= */
/* ロゴ・taglineを縦に */
.site-branding-container {
    display: flex;
    flex-direction: column;
    text-align: left !important;
}

/* TOP　トーホクについて背景 */
#about {
    background: linear-gradient(180deg, rgba(243, 243, 243, 0.5) 0%, rgba(243, 243, 243, 0.5) 42%, rgba(225, 238, 235, 1) 42%, rgba(225, 238, 235, 1) 100%);
}

/* 見出しサイズを細く */
.std-heading-lv1 {
    font-weight: 400;
}

.std-heading-lv2 {
    font-size: 32px;
    font-weight: 500;
}

/* ページヘッダーの見出しを左寄せに→中央寄せに変更20231121 */
body:not(.home) .inside-page-hero {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    /* justify-content: flex-start; */
    justify-content: center;
}

body:not(.home) .inside-page-hero .std-heading-wrap {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.page-hero .inside-page-hero .std-heading-lv1::after {
    background-color: #fff;
    content: "";
    position: absolute;
    bottom: -21px;
    /* std-heading-textのmargin-topの値と合わせ調整 */
    left: 0;
    right: 0;
    width: 50px;
    /* 任意で変更 */
    height: 3px;
    /* 任意で変更 */
}

.inside-page-hero .std-heading-wrap .std-heading-text {
    text-align: center;
}

/* 見出し下の線　位置調整 */
.std-heading-lv2::after {
    content: "";
    position: absolute;
    bottom: -18px;
    /* std-heading-textのmargin-topの値と合わせ調整 */
    left: 0;
    right: 0;
    width: 50px;
    /* 任意で変更 */
    height: 2px;
    /* 任意で変更 */
    margin: 0 auto;
}


/* TOPスライダー内　hoverの色変更 */
.std-mainimg .button:hover {
    background: rgba(8, 92, 71, 0.8);
    border: 2px solid #fff;
}


/* ページTOPへ戻るボタンに枠線*/
a.generate-back-to-top {
    border: 1px solid #6bcfb2;
}

/* フッターメインタイトル */
.site-footer .main-title {
    max-width: 86%;
    margin: 0 auto;
}

/* フッター背景 */
.site-footer {
    background: #f3f3f3 url(https://tsc-tohoku.com/wp/wp-content/uploads/footer.png)no-repeat;
    background-size: cover;
    background-position: left bottom;
    width: 100% !important;
}

/* 代表挨拶背景 */
#greeting {
    background: url(https://tsc-tohoku.com/wp/wp-content/uploads/greeting_bg.png)no-repeat;
    background-size: cover;
    background-position: center top;
    width: 100% !important;
}

/* 事業内容　見出し */
#service .std-heading-lv2 {
    font-size: 28px;
}

/* 会社概要　テーブル */
table.table-bb th {
    border-bottom: 1px solid #94e0c9;
    background: #d5f2e9;
}

table.table-bb td {
    border-bottom: 1px solid #e3e3e3;
}

/* 先頭のみ上部にも線を引く */
table.table-bb tr:first-of-type th {
    border-top: 1px solid #94e0c9;
}

table.table-bb tr:first-of-type td {
    border-top: 1px solid #e3e3e3;
}


table.business,
table.business tbody,
.business tr {
    border: none;
}

#aboutus table.table-bb table.business tr:first-of-type td {
    border-top: none;
}

table.business td {
    border: none;
    padding: 2px;
}


/* 事業所案内 営業所名　見出し */
#office h3 {
    border-left: 2px solid var(--main-color);
}

/* 事業所案内 googlemap */
#office .std-responsive {
    max-width: 700px;
    margin-top: 10px;
    border: 1px solid #ccc;
}

/* 事業所案内 table上部の線をなしに */
#office table.table-bb tr:first-of-type th {
    border-top: none;
}

#office table.table-bb tr:first-of-type td {
    border-top: none;
}

.recruit_read {
    background: rgba(240, 240, 240, 0.8);
}



@media (max-width: 768px) {

    /* メインコピー　太字に */
    .std-mainimg .std-subcopy {
        font-weight: 600;
    }

    /* TOP　トーホクについて背景 */
    #about {
        background: linear-gradient(180deg, rgba(243, 243, 243, 0.5) 0%, rgba(243, 243, 243, 0.5) 16%, rgba(225, 238, 235, 1) 16%, rgba(225, 238, 235, 1) 100%);
    }

    /* 見出しサイズを小さく */
    .std-heading-lv1 {
        font-size: 32px;
    }

    .std-heading-lv2 {
        font-size: 28px;
    }

    .std-heading-text {
        line-height: 1.4;
    }


    /* 投稿　見出しサイズを小さく */
    h2.entry-title {
        font-size: 22px;
        line-height: 1.4;
    }

    /* テーブルbb thの色変更　 */
    table.table-bb th {
        border-top: 1px solid #94e0c9;
    }

    #aboutus table.table-bb table.business tr:last-of-type td {
        border-bottom: none;
    }

    /* コピーライトバー　*/
    footer.site-info {
        background: #b0e8d7 !important;
        color: #333;
    }

    footer.site-info .copyright-bar a {
        color: #333;
    }

}

/* CF7のPタグ自動挿入調整 */
.wpcf7 table p:last-child { margin-bottom: 0; }
