/*
Theme Name:   GPCustom
Theme URI:    https://noguchi-kikaku.com/
Description:  Noguchi Kikaku GP Customize
Author:       Noguchi Kikaku
Author URI:   https://noguchi-kikaku.com/
Template:     generatepress
Version:      0.1

ドキュメント：https://docs.generatepress.com/

■目次
・フォント設定
・基本設定
・ヘッダー
・ナビゲーション
・パンクズ
・サイドバー
・フッター
・コンタクトフォーム
・お知らせにスクロールバー
・1行のお知らせ
・2行のお知らせ
・テーブル
・イメージ
・WP-PAGENAVI
・投稿メタ情報
・GP & Unsemantic調整
・Flexレイアウト
・ボタン装飾
・メディアクエリ
・追加のCSSはここから記載（tools.cssの上書きもここで）

■子テーマ内のcss/tools.css内で設定（必要なものを適宜当CSSで上書き）
・便利
・テキスト関連
・マージン上下左右
・パッディング上下左右
・横幅指定
・見出し・テキスト装飾
・リスト装飾
・Q&A装飾
・画像装飾
*/

@import url(https://fonts.googleapis.com/css?family=Ramabhadra);
@import url('css/tools.css');
/* =========================================================
* フォント設定
========================================================= */
/*
Noto Sans CJK JP
https://www.google.com/get/noto/#sans-jpan
*/
@font-face {
    font-family: 'Noto Sans Japanese';
    font-style: normal;
    font-weight: 100;
    src: url(font/NotoSansCJKjp-Thin-sub.woff2) format('woff2'),
        url(font/NotoSansCJKjp-Thin-sub.woff) format('woff'),
        url(font/NotoSansCJKjp-Thin-sub.otf) format('opentype');
}
@font-face {
    font-family: 'Noto Sans Japanese';
    font-style: normal;
    font-weight: 200;
    src: url(font/NotoSansCJKjp-Light-sub.woff2) format('woff2'),
        url(font/NotoSansCJKjp-Light-sub.woff) format('woff'),
        url(font/NotoSansCJKjp-Light-sub.otf) format('opentype');
}
@font-face {
    font-family: 'Noto Sans Japanese';
    font-style: normal;
    font-weight: 300;
    src: url(font/NotoSansCJKjp-DemiLight-sub.woff2) format('woff2'),
        url(font/NotoSansCJKjp-DemiLight-sub.woff) format('woff'),
        url(font/NotoSansCJKjp-DemiLight-sub.otf) format('opentype');
}
@font-face {
    font-family: 'Noto Sans Japanese';
    font-style: normal;
    font-weight: 400;
    src: url(font/NotoSansCJKjp-Regular-sub.woff2) format('woff2'),
        url(font/NotoSansCJKjp-Regular-sub.woff) format('woff'),
        url(font/NotoSansCJKjp-Regular-sub.otf) format('opentype');
}
@font-face {
    font-family: 'Noto Sans Japanese';
    font-style: normal;
    font-weight: 500;
    src: url(font/NotoSansCJKjp-Medium-sub.woff2) format('woff2'),
        url(font/NotoSansCJKjp-Medium-sub.woff) format('woff'),
        url(font/NotoSansCJKjp-Medium-sub.otf) format('opentype');
}
@font-face {
    font-family: 'Noto Sans Japanese';
    font-style: normal;
    font-weight: 700;
    src: url(font/NotoSansCJKjp-Bold-sub.woff2) format('woff2'),
        url(font/NotoSansCJKjp-Bold-sub.woff) format('woff'),
        url(font/NotoSansCJKjp-Bold-sub.otf) format('opentype');
}
@font-face {
    font-family: 'Noto Sans Japanese';
    font-style: normal;
    font-weight: 900;
    src: url(font/NotoSansCJKjp-Black-sub.woff2) format('woff2'),
        url(font/NotoSansCJKjp-Black-sub.woff) format('woff'),
        url(font/NotoSansCJKjp-Black-sub.otf) format('opentype');
}

/*
Noto Serif CJK JP
https://www.google.com/get/noto/#serif-jpan
*/
@font-face {
    font-family: 'Noto Serif Japanese';
    font-style: normal;
    font-weight: 200;
    src: url(font/NotoSerifCJKjp-ExtraLight-sub.woff2) format('woff2'),
        url(font/NotoSerifCJKjp-ExtraLight-sub.woff) format('woff'),
        url(font/NotoSerifCJKjp-ExtraLight-sub.otf) format('opentype');
}
@font-face {
    font-family: 'Noto Serif Japanese';
    font-style: normal;
    font-weight: 300;
    src: url(font/NotoSerifCJKjp-Light-sub.woff2) format('woff2'),
        url(font/NotoSerifCJKjp-Light-sub.woff) format('woff'),
        url(font/NotoSerifCJKjp-Light-sub.otf) format('opentype');
}
@font-face {
    font-family: 'Noto Serif Japanese';
    font-style: normal;
    font-weight: 400;
    src: url(font/NotoSerifCJKjp-Regular-sub.woff2) format('woff2'),
        url(font/NotoSerifCJKjp-Regular-sub.woff) format('woff'),
        url(font/NotoSerifCJKjp-Regular-sub.otf) format('opentype');
}
@font-face {
    font-family: 'Noto Serif Japanese';
    font-style: normal;
    font-weight: 500;
    src: url(font/NotoSerifCJKjp-Medium-sub.woff2) format('woff2'),
        url(font/NotoSerifCJKjp-Medium-sub.woff) format('woff'),
        url(font/NotoSerifCJKjp-Medium-sub.otf) format('opentype');
}
@font-face {
    font-family: 'Noto Serif Japanese';
    font-style: normal;
    font-weight: 600;
    src: url(font/NotoSerifCJKjp-SemiBold-sub.woff2) format('woff2'),
        url(font/NotoSerifCJKjp-SemiBold-sub.woff) format('woff'),
        url(font/NotoSerifCJKjp-SemiBold-sub.otf) format('opentype');
}
@font-face {
    font-family: 'Noto Serif Japanese';
    font-style: normal;
    font-weight: 700;
    src: url(font/NotoSerifCJKjp-Bold-sub.woff2) format('woff2'),
        url(font/NotoSerifCJKjp-Bold-sub.woff) format('woff'),
        url(font/NotoSerifCJKjp-Bold-sub.otf) format('opentype');
}
@font-face {
    font-family: 'Noto Serif Japanese';
    font-style: normal;
    font-weight: 900;
    src: url(font/NotoSerifCJKjp-Black-sub.woff2) format('woff2'),
        url(font/NotoSerifCJKjp-Black-sub.woff) format('woff'),
        url(font/NotoSerifCJKjp-Black-sub.otf) format('opentype');
}

/* =========================================================
* 基本設定
========================================================= */

body {
    font-family: 'Hiragino Kaku Gothic ProN', 游ゴシック, YuGothic, Meiryo, 'MS PGothic', sans-serif;
    /*font-family: 'Hiragino Mincho ProN', 游明朝, YuMincho, 'MS PMincho', sans-serif;*/
    /* カーニングの設定 */
    letter-spacing: 1.5px;
    -webkit-font-feature-settings: "palt" 1;
            font-feature-settings: "palt" 1;
    -webkit-font-kerning: auto;
            font-kerning: auto;
    border-top: 5px solid #1a509d;
}
button, input, select, textarea {
    font-family: 'Hiragino Kaku Gothic ProN', 游ゴシック, YuGothic, Meiryo, 'MS PGothic', sans-serif;
    /*font-family: 'Hiragino Mincho ProN', 游明朝, YuMincho, 'MS PMincho', sans-serif;*/
}
/* 見出し（基本はカスタマイザーで設定） */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Hiragino Kaku Gothic ProN', 游ゴシック, YuGothic, Meiryo, 'MS PGothic', sans-serif;
    /*font-family: 'Hiragino Mincho ProN', 游明朝, YuMincho, HGS明朝E, 'MS PMincho', sans-serif;*/
}

/* ブラウザ幅が768px以上のときのみNotoを読み込む */
@media only screen and (min-width: 768px) {
	body {
        font-family: 'Noto Sans Japanese', 'Hiragino Kaku Gothic ProN', 游ゴシック, YuGothic, Meiryo, 'MS PGothic', sans-serif;
        /*font-family: 'Noto Serif Japanese', 'Hiragino Mincho ProN', 游明朝, YuMincho, HGS明朝E, 'MS PMincho', sans-serif;*/
	}
	button, input, select, textarea {
        font-family: 'Noto Sans Japanese', 'Hiragino Kaku Gothic ProN', 游ゴシック, YuGothic, Meiryo, 'MS PGothic', sans-serif;
        /*font-family: 'Noto Serif Japanese', 'Hiragino Mincho ProN', 游明朝, YuMincho, HGS明朝E, 'MS PMincho', sans-serif;*/
	}
	h1, h2, h3, h4, h5, h6 {
        font-family: 'Noto Sans Japanese', 'Hiragino Kaku Gothic ProN', 游ゴシック, YuGothic, Meiryo, 'MS PGothic', sans-serif;
        /*font-family: 'Noto Serif Japanese', 'Hiragino Mincho ProN', 游明朝, YuMincho, HGS明朝E, 'MS PMincho', sans-serif;*/
	}
}

/* カスタマイザーとは別に固定ページ（サイドバー無し）の背景色設定 */
body.no-sidebar {
    background-color: #fff;
}

/* 見出しフォントサイズ：カスタマイザーの設定に合わせる */
.h0 {font-size: 32px;}
.h1 {font-size: 30px;}
.h2 {font-size: 26px;}
.h3 {font-size: 22px; line-height: 1.75;}
.h4 {font-size: 18px; line-height: 1.75;}
.h5 {font-size: 16px; line-height: 1.75;}
@media only screen and (max-width: 768px) {
    .h0 {font-size: 28px;}
    .h1 {font-size: 26px;}
    .h2 {font-size: 22px;}
    .h3 {font-size: 20px;}
    .h4 {font-size: 18px;}
}

#main.site-main {
    margin-bottom: 40px;
}

/* GPPのPage Headerでカテゴリー用のヘッダーを用意する場合は非表示 */
.archive .page-header {
    display: none;
}
/* カテゴリー見出し */
.archive .page-header h1 {
    font-size: 185%;
}

/* キーカラー */
.k-color {
    color: #1a509d;
}
/* FontAwesome */
.fa {
    /* color: #1a509d; */
}
a.button .fa,
a.button-3d .fa,
.generate-back-to-top .fa {
    color: #fff;
}

/* =========================================================
* ヘッダー
========================================================= */
.site-logo img.header-image {
    max-height: 50px;
    width: auto;
}
.catchcopy {
    background: #eee;
}
.catchcopy h1 {
    font-size: 13px;
    line-height: 22px;
    margin: 0;
    padding: 0;
    font-weight: normal;
}

/* ヘッダー右側：header widget */
.header-widget {
    max-width: 70%;
}
.header-cta {
    width: 415px; /* コンテンツに応じて適宜調整 */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    /* 天地中央 */
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    /* 両端揃え */
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.header-cta-1 {
    text-align: right;
}
.header-tel {
    font-family: Ramabhadra, sans-serif;
    font-size: 28px;
    line-height: 32px;
    letter-spacing: 0;
}
.header-txt {
    font-size: 12px;
    line-height: 18px;
}

.header-cta-2 {
    text-align: right;
}
.header-cta-2 .button {
    width: 150px; /* テキストに応じて適宜調整 */
    text-align: center;
    margin-bottom: 0;
}
/* Sサイズ、タブレット : Small Devices, Tablets */
@media only screen and (max-width: 768px) {
    body {
        border: none;
    }
    .inside-header {
        padding-top: 0;
    }
    .header-widget {
        max-width: 100%;
    }
    .header-cta {
        width: auto;
        /* 等間隔 */
        -ms-flex-pack: distribute;
            justify-content: space-around;
    }

    .header-cta-1,
    .header-cta-2 {
        -webkit-box-flex: 1;
            -ms-flex: 1;
                flex: 1;
        text-align: center;
    }
    .header-cta-1 .button, 
    .header-cta-2 .button {
        width: 100%;
        padding: 10px 0;
        text-align: center;
        margin-bottom: 0;
    }
    .header-cta-2 .button {
        border-left: 1px solid rgba(255,255,255,1);
    }
    .header-cta-1 .button .fa,
    .header-cta-2 .button .fa {
        font-size: 18px;
        line-height: 18px;
    }
}


/* =========================================================
* ナビゲーション
========================================================= */
/* モバイル表示の電話番号 */
.main-navigation.slideout-navigation .main-nav ul li.menu-tel a {
    line-height: 1.5 !important;
}
.main-navigation.slideout-navigation .main-nav ul li.menu-tel a i {
    color: #1a509d;
}
.main-navigation.slideout-navigation {
    text-align: left !important;
}

.main-navigation  ul.menu > li {
    width: 19.9%; /* 5=>19.9 6=>16.6 7=>14 */
    letter-spacing: 1.5px !important;
}
/* 画面幅が小さくなったときに横幅指定解除 */
@media (max-width:1100px) {
    .main-navigation  ul.menu > li {
        width: auto;
    }
}

/* ナビゲーション間の仕切り線 */
.main-navigation ul.menu > li:before {
    position: absolute;
    content: '';
    width: 1px;
    height: 16px;
    top: 22px;
    left: 0px;
    background: #ccc;
    z-index: 1;
}
/* 電話番号の隠しメニューがあるため最後から2番目も */
.main-navigation ul.menu > li:nth-last-child(2)::after,
.main-navigation ul.menu > li:last-child::after {
    position: absolute;
    content: '';
    width: 1px;
    height: 16px;
    top: 22px;
    right: 0px;
    background: #ccc;
    z-index: 1;
}

/* サブナビゲーションの横幅 */
.main-navigation ul ul {
    width: auto; /* 適宜変更 */
	white-space: nowrap;
}

/* スクロールした際、ナビ領域にロゴを表示させる場合コメントアウト解除 */
/* スクロールした際に横幅指定解除 */
.navigation-stick ul.menu > li {
    /*width: auto;*/
}
/* スクロールした際に仕切り線解除 */
.navigation-stick ul.menu > li::before,
.navigation-stick ul.menu > li:nth-last-child(2)::after,
.navigation-stick ul.menu > li:last-child::after {
    /*content: none;*/
}

/* ナビゲーションに線 */
.main-navigation {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

/* =========================================================
* パンクズ
========================================================= */
.breadcrumbs {
    font-size: .8em;
    line-height: 20px;
    overflow: hidden;
}
/* オーバーフローした場合、改行させずに…表示 */
.breadcrumbs .grid-container {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* GPのセクションを利用した場合 */
.generate-sections-enabled .breadcrumbs {
    margin-top: 20px;
}

/* =========================================================
* サイドバー
========================================================= */
.sidebar {
    padding-top: 40px; /* パンクズの高さを調整 */
}
.sidebar .widget {
    padding: 20px;
}
/* サイドバーウィジェットのタイトル設定 */
.sidebar .widget .widget-title {
    color: #fff;
    background-color: #1a509d;
    text-align: center;
    line-height: 1;
    padding: 15px 0;
    margin: -20px -20px 20px -20px; /* .sidebar .widgetのpadding打ち消し */
}
/* セレクトボックスデザイン調整 */
.sidebar .widget select {
    width: 100%;
    padding: 3px;
}

/* wp show posts関係 */
.sidebar .wp-show-posts-entry-meta {
    text-align: right;
}
.sidebar .wp-show-posts-image.wpsp-image-left {
    margin-right: 15px;
}
.sidebar .wp-show-posts .wp-show-posts-entry-title {
    font-size: 15px;
    line-height: 1.75;
    font-weight: normal;
}

/* =========================================================
* フッター
========================================================= */

.footer-widget-logo {
    margin-bottom: 10px;
}
.footer-widget-logo img.footer-logo {
    max-height: 50px;
    width: auto;
}

/* サイトマップ用の装飾 */
.footer-widget-menu-title {
    font-size: 120%;
    line-height: 2em;
}
.footer-widget-menu ul,
.footer-widget-menu ol {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-size: 90%;
    line-height: 1.6em;
}
.footer-widget-menu li {
    margin: 0;
    padding: 0;
}
.footer-widget-menu li.footer-widget-menu-child {
    margin-left: 18px;
}

.footer-widget-menu .fa,
.footer-widget-info .fa {
    width: 26px;
    text-align: center;
}

/* =========================================================
* コンタクトフォーム
========================================================= */
/* チェックボックス縦並び */
span.wpcf7-list-item {
    display: block;
}

/* チェックボックス装飾 */
.acceptance-0 input[type="checkbox"] {
    -webkit-transform: scale(1.6, 1.6);
    transform: scale(1.6, 1.6);
    margin-right: 5px;
}

/* 電話・FAX装飾 */
span.contact-label {
    background-color: #333;
    color: #ffffff;
    font-size: 18px;
    line-height: 18px;
    padding: 4px 8px;
    margin: 0 10px 0 0;
}

span.contact-no {
    font-family: Ramabhadra, sans-serif;
    font-size: 34px;
    line-height: 34px;
    letter-spacing: 0;
    margin: 0;
    padding: 0;
}

/* 必須項目 */
.form-required {
	color: #fff;
	background: #e75757;
	font-size: 12px;
	padding: 1px 5px;
	margin-right: 7px;
}

/* =========================================================
* お知らせにスクロールバー
* jQuery custom content scroller用の設定：不使用の場合は削除
========================================================= */
.scroller {
    height: 230px; /* 高さ調整 */
    overflow: auto;
}
/* スクロールバーの色（標準は黒） */
.scroller .mCS-dark-3.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background-color: rgba(0,0,0,.75);
}
.scroller .mCS-dark-3.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
    background-color: rgba(0,0,0,.85);
}
.scroller .mCS-dark-3.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.scroller .mCS-dark-3.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
    background-color: rgba(0,0,0,.9);
}

/* =========================================================
* 1行のお知らせ
========================================================= */
.list-news {
    list-style: none;
    margin: 0;
    /*
    外枠をボーダーで囲む場合
    border: #e3e3e3 1px solid;
    border-bottom: none;
    */
}

.list-news li {
    border-bottom: #e3e3e3 1px solid;
}

.list-news li a {
    display: block;
    text-decoration: none;
    -webkit-transition: background 0.3s;
    transition: background 0.3s;
}
.list-news li a:hover {
    background: #f3f3f3;
}

.list-news li .list-news-wrap {
    display: table;
    table-layout: fixed; /* オーバーフローを…表示 */
}

.list-news li .list-news-wrap span {
    display: table-cell;
}

.list-news li .list-news-wrap .news-date {
    padding: 10px 20px;
    width: 120px; /* 合計:160px */
}

.list-news li .list-news-wrap .news-cat {
    padding: 10px 20px 10px 0; /* 合計:140px */
}

.list-news li .list-news-wrap .news-txt {
    padding: 10px 20px 10px 0;
    width: auto;
}

.news-date {
    vertical-align: middle;
    white-space: nowrap;
    font-size: 85%;
    line-height: 1;
    color: #333;
}

.news-cat {
    vertical-align: middle;
    white-space: nowrap;
}

/* カテゴリ部分のデフォルト設定 */
.news-cat span {
    width: 110px; /* 合計:120px カテゴリ名称が長い場合要調整 */
    min-width: 110px;
    max-width: 110px; /* オーバーフローを…表示 */
    overflow: hidden; /* オーバーフローを…表示 */
    text-overflow: ellipsis; /* オーバーフローを…表示 */
    text-align: center;
    padding: 5px;
    background: #1a509d;
    color: #fff;
    font-size: 75%;
    line-height: 1;
}

/* カテゴリ毎に背景色設定 */
.news span {
    background: #1a509d;
}

@media screen and (max-width: 768px) {
    .list-news li .list-news-wrap {
        display: block;
    }
    .list-news li .list-news-wrap span {
        display: inline-block;
    }
    .list-news li .list-news-wrap .news-date {
        padding: 10px 10px 0 0;
        width: auto;
    }
    .list-news li .list-news-wrap .news-cat {
        padding: 10px 0 0 0;
        vertical-align: -9px; /* スマホ表示時の高さ調整 */
    }
    .list-news li .list-news-wrap .news-txt {
        padding: 0 0 10px 0px;
        display: block;
        width: auto;
    }
    .news-cat span {
        padding: 4px;
    }
}

/* =========================================================
* 2行のお知らせ
========================================================= */
.news2row {
    margin: 0;
    padding: 0;
}
.news2row .info-column {
    padding: 0 0 10px 0;
    margin: 0 0 15px 0;
    border-bottom: 1px dotted #ccc;
}
.news2row .info-meta {
    line-height: 1em;
}
.news2row .info-meta .info-cat {
    float: left;
    text-align: center;
    width: 80px;
    margin-right: 10px;
}
.news2row .info-meta .info-date {
    display: table-cell;
    vertical-align: middle;
    font-size: 90%;
    line-height: 1.4em;
}
.news2row .info-title {
    margin-top: 5px;
}
/*-- カテゴリのスラッグ毎に色を変える --*/
.news2row .info-meta .info-cat {
    padding: 2px 6px;
    font-size: 80%;
    color: #fff;
    background: #333;
}

/* =========================================================
* テーブル Bootstrap仕様
========================================================= */
table, td, th {
    border: none;
    font-weight: normal;
}
/* CSSリセットここまで */

table {
    border-collapse: collapse;
    border-spacing: 0;
    background-color: transparent;
}
.table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    table-layout: fixed; /* 2016.1.10追加 */
}
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    padding: 10px;
    vertical-align: middle;
    border-top: 1px solid #dddddd;
}
.table > thead > tr > th {
    vertical-align: middle;
    border-bottom: 2px solid #dddddd;
}
.table > caption + thead > tr:first-child > th,
.table > colgroup + thead > tr:first-child > th,
.table > thead:first-child > tr:first-child > th,
.table > caption + thead > tr:first-child > td,
.table > colgroup + thead > tr:first-child > td,
.table > thead:first-child > tr:first-child > td {
    border-top: 0;
}
.table > tbody + tbody {
    border-top: 2px solid #dddddd;
}
.table .table {
    background-color: #ffffff;
}
.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > td {
    padding: 5px;
}
.table-bordered {
    border: 1px solid #dddddd;
}
.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
    border: 1px solid #dddddd;
}
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
    border-bottom-width: 2px;
}
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}
.table-hover > tbody > tr:hover {
    background-color: #f5f5f5;
}
table col[class*="col-"] {
    position: static;
    float: none;
    display: table-column;
}
table td[class*="col-"],
table th[class*="col-"] {
    position: static;
    float: none;
    display: table-cell;
}

.table-responsive {
    overflow-x: auto;
    min-height: 0.01%;
}
@media screen and (max-width: 768px) {
    .table-responsive {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #dddddd;
    }
    .table-responsive > .table {
        margin-bottom: 0;
    }
    .table-responsive > .table > thead > tr > th,
    .table-responsive > .table > tbody > tr > th,
    .table-responsive > .table > tfoot > tr > th,
    .table-responsive > .table > thead > tr > td,
    .table-responsive > .table > tbody > tr > td,
    .table-responsive > .table > tfoot > tr > td {
        white-space: nowrap;
    }
    .table-responsive > .table-bordered {
        border: 0;
    }
    .table-responsive > .table-bordered > thead > tr > th:first-child,
    .table-responsive > .table-bordered > tbody > tr > th:first-child,
    .table-responsive > .table-bordered > tfoot > tr > th:first-child,
    .table-responsive > .table-bordered > thead > tr > td:first-child,
    .table-responsive > .table-bordered > tbody > tr > td:first-child,
    .table-responsive > .table-bordered > tfoot > tr > td:first-child {
        border-left: 0;
    }
    .table-responsive > .table-bordered > thead > tr > th:last-child,
    .table-responsive > .table-bordered > tbody > tr > th:last-child,
    .table-responsive > .table-bordered > tfoot > tr > th:last-child,
    .table-responsive > .table-bordered > thead > tr > td:last-child,
    .table-responsive > .table-bordered > tbody > tr > td:last-child,
    .table-responsive > .table-bordered > tfoot > tr > td:last-child {
        border-right: 0;
    }
    .table-responsive > .table-bordered > tbody > tr:last-child > th,
    .table-responsive > .table-bordered > tfoot > tr:last-child > th,
    .table-responsive > .table-bordered > tbody > tr:last-child > td,
    .table-responsive > .table-bordered > tfoot > tr:last-child > td {
        border-bottom: 0;
    }
    /* toolsのwidth解除 */
    table:not(.table-pc) .width5p   { width: 100% !important; }
    table:not(.table-pc) .width10p  { width: 100% !important; }
    table:not(.table-pc) .width15p  { width: 100% !important; }
    table:not(.table-pc) .width20p  { width: 100% !important; }
    table:not(.table-pc) .width25p  { width: 100% !important; }
    table:not(.table-pc) .width30p  { width: 100% !important; }
    table:not(.table-pc) .width33p  { width: 100% !important; }
    table:not(.table-pc) .width35p  { width: 100% !important; }
    table:not(.table-pc) .width40p  { width: 100% !important; }
    table:not(.table-pc) .width45p  { width: 100% !important; }
    table:not(.table-pc) .width50p  { width: 100% !important; }
    table:not(.table-pc) .width55p  { width: 100% !important; }
    table:not(.table-pc) .width60p  { width: 100% !important; }
    table:not(.table-pc) .width65p  { width: 100% !important; }
    table:not(.table-pc) .width66p  { width: 100% !important; }
    table:not(.table-pc) .width70p  { width: 100% !important; }
    table:not(.table-pc) .width75p  { width: 100% !important; }
    table:not(.table-pc) .width80p  { width: 100% !important; }
    table:not(.table-pc) .width85p  { width: 100% !important; }
    table:not(.table-pc) .width90p  { width: 100% !important; }
    table:not(.table-pc) .width95p  { width: 100% !important; }
    table:not(.table-pc) .width100p { width: 100% !important; }
    table:not(.table-pc) .width0    { width: 100% !important; }
    table:not(.table-pc) .width5    { width: 100% !important; }
    table:not(.table-pc) .width10   { width: 100% !important; }
    table:not(.table-pc) .width15   { width: 100% !important; }
    table:not(.table-pc) .width20   { width: 100% !important; }
    table:not(.table-pc) .width25   { width: 100% !important; }
    table:not(.table-pc) .width30   { width: 100% !important; }
    table:not(.table-pc) .width35   { width: 100% !important; }
    table:not(.table-pc) .width40   { width: 100% !important; }
    table:not(.table-pc) .width45   { width: 100% !important; }
    table:not(.table-pc) .width50   { width: 100% !important; }
    table:not(.table-pc) .width55   { width: 100% !important; }
    table:not(.table-pc) .width60   { width: 100% !important; }
    table:not(.table-pc) .width65   { width: 100% !important; }
    table:not(.table-pc) .width70   { width: 100% !important; }
    table:not(.table-pc) .width75   { width: 100% !important; }
    table:not(.table-pc) .width80   { width: 100% !important; }
    table:not(.table-pc) .width85   { width: 100% !important; }
    table:not(.table-pc) .width90   { width: 100% !important; }
    table:not(.table-pc) .width95   { width: 100% !important; }
    table:not(.table-pc) .width100  { width: 100% !important; }
    table:not(.table-pc) .width150  { width: 100% !important; }
    table:not(.table-pc) .width200  { width: 100% !important; }
    table:not(.table-pc) .width250  { width: 100% !important; }
    table:not(.table-pc) .width300  { width: 100% !important; }
    table:not(.table-pc) .width350  { width: 100% !important; }
    table:not(.table-pc) .width400  { width: 100% !important; }
    table:not(.table-pc) .width450  { width: 100% !important; }
    table:not(.table-pc) .width500  { width: 100% !important; }
}

.table-borderbottom {
    border-bottom: 1px solid #dddddd;
}

/* th調整 */
th {
    text-align: left;
    background: #fafafa;
}
/* モバイル時のフォント */
table.hide-on-desktop,
table.hide-on-tablet {
    font-size: 80%;
}

/* =========================================================
* テーブル レスポンシブ設定（2列の場合に効果的）
========================================================= */
/* XSサイズ : Extra Small Devices, Phones */
@media only screen and (max-width : 768px) {
    table.table-small {
        font-size: 80%;
        letter-spacing: 0;
    }
    table.table-small tr th,
    table.table-small tr td {
        padding: 5px;
    }
    .table,
    .table-bordered {
        border: none !important;
    }
    /* tableのレスポンシブ対応（table-pcを除く） */
    table:not(.table-pc) th,
    table:not(.table-pc) td {
        width: 100%;
        display: block;
    }
    table:not(.table-pc) th {
        -webkit-box-sizing: border-box;
                box-sizing: border-box;
        background: rgba(0, 0, 0, 0.05);
        padding: 5px !important;
    }
    table:not(.table-pc) td {
        -webkit-box-sizing: border-box;
                box-sizing: border-box;
        padding: 10px 5px 20px 5px !important;
        border: none !important;
    }
    table:not(.table-pc) input,
    table:not(.table-pc) select,
    table:not(.table-pc) textarea {
        width: 100%;
    }
    /* checkboxのレスポンシブ対応 */
    table:not(.table-pc) span.wpcf7-list-item input {
        width: auto;
    }
}
/* カスタム, iPhone Retinaディスプレイ */
@media only screen and (max-width : 320px) {
    table.table-small {
        font-size: 70%;
        letter-spacing: 0;
    }
    table.table-small tr th,
    table.table-small tr td {
        padding: 5px;
    }
}


/* =========================================================
* イメージ
========================================================= */
img {
    vertical-align: middle;
}
a:hover img {
    opacity:0.8;
    filter: alpha(opacity=80);
    -ms-filter: "alpha( opacity=80 )";
}

/* =========================================================
* WP-PAGENAVI
========================================================= */
/*
* generatepressのページャーを非表示
* https://generatepress.com/forums/topic/blog-paging-pagenavi-styles/
*/
.nav-links .page-numbers {
    display: none;
}

.wp-pagenavi a,
.wp-pagenavi span {
    border: none;
    text-decoration: none;
    padding: 5px 8px;
    margin: 2px;
    font-size: 15px;
    line-height: 15px;
    float: left;
}

.wp-pagenavi a,
.wp-pagenavi a:link,
.wp-pagenavi a:active,
.wp-pagenavi a:focus {
    color: #1a509d;
    border: 1px solid #fff;
    background: none;
}

.wp-pagenavi span.current {
    font-weight: bold;
    color: #fff;
    background: #1a509d;
    border: 1px solid #fff;
    padding: 5px 8px;
}

.wp-pagenavi a:hover {
    color: #ffffff;
    background: #1a509d;
    border: 1px solid #fff;
    padding: 5px 8px;
}

.wp-pagenavi span.pages {
    color: #1a509d;
    background: none;
    padding: 5px 8px 5px 0;
}

.wp-pagenavi span.extend {
    background: transparent;
    color: #1a509d;
    background: none;
}

/* =========================================================
* 投稿メタ情報（次へ前へ等）
========================================================= */

/* 次へ前へ */
.post-navigation {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.nav-previous, .nav-next {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
}
.nav-previous {
    /* border-right: 1px solid #e3e3e3; */
}

.nav-previous .prev,
.nav-next .next {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.nav-previous .prev:before,
.nav-next .next:after {
    background: #eee;
    display: block;
    margin: 0;
    padding: 10px 5px;
    width: auto;
}
.nav-previous .prev:before {
    content: "\f104";
}
.nav-next .next:before {
    content: "";
    margin: 0;
    width: 0;
}
.nav-next .next:after {
    font-family: FontAwesome;
    text-align: center;
    content: "\f105";
}
.nav-previous .prev a,
.nav-next .next a {
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    padding: 5px 10px;
}
.nav-previous .prev a {
    text-align: left;
}
.nav-next .next a {
    text-align: right;
}

/* =========================================================
* GP & Unsemantic調整
========================================================= */
/* フルワイドのセクション：GPのセクション利用時にCustom Classesに設定 */
.generate-sections-fullwide .generate-sections-inside-container {
    padding-left: 0;
    padding-right: 0;
}
/* GPのセクション利用時にCustom Classesに設定 */
.grid-container-800 .generate-sections-inside-container  {max-width: 800px;margin:0 auto;}
.grid-container-900 .generate-sections-inside-container  {max-width: 900px;margin:0 auto;}
.grid-container-1000 .generate-sections-inside-container {max-width: 1000px;margin:0 auto;}
.grid-container-1100 .generate-sections-inside-container {max-width: 1100px;margin:0 auto;}
.grid-container-1200 .generate-sections-inside-container {max-width: 1200px;margin:0 auto;}
.grid-container-1300 .generate-sections-inside-container {max-width: 1300px;margin:0 auto;}
.grid-container-1400 .generate-sections-inside-container {max-width: 1400px;margin:0 auto;}
.grid-container-1500 .generate-sections-inside-container {max-width: 1500px;margin:0 auto;}
.grid-container-1600 .generate-sections-inside-container {max-width: 1600px;margin:0 auto;}
.grid-container-1700 .generate-sections-inside-container {max-width: 1700px;margin:0 auto;}

/* 固定幅 */
.grid-400 {max-width: 400px;margin:0 auto;}
.grid-500 {max-width: 500px;margin:0 auto;}
.grid-600 {max-width: 600px;margin:0 auto;}
.grid-700 {max-width: 700px;margin:0 auto;}
.grid-800 {max-width: 800px;margin:0 auto;}
.grid-900 {max-width: 900px;margin:0 auto;}
.grid-1000 {max-width: 1000px;margin:0 auto;}
.grid-1100 {max-width: 1100px;margin:0 auto;}
.grid-1200 {max-width: 1200px;margin:0 auto;}
.grid-1300 {max-width: 1300px;margin:0 auto;}
.grid-1400 {max-width: 1400px;margin:0 auto;}
.grid-1500 {max-width: 1500px;margin:0 auto;}
.grid-1600 {max-width: 1600px;margin:0 auto;}
.grid-1700 {max-width: 1700px;margin:0 auto;}

/* 固定ページ･投稿ページヘッダーのアイキャッチ画像非表示 */
.page .page-header-image,
.page-header-image-single {
    display: none;
}

/* =========================================================
* Flexレイアウト
========================================================= */
.flex-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between; /* 両端揃え */
}
.flex-item {
    -ms-flex-preferred-size: 48%;
        flex-basis: 48%; /* 2分割 */
}
.flex-item.flex-33 {
    -ms-flex-preferred-size: 33.333333%;
        flex-basis: 33.333333%; /* 3分割 */
}
@media only screen and (max-width: 768px) {
    .flex-container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column; /* 縦方向に並べる */
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }
    .flex-item, .flex-item.flex-33 {
        -ms-flex-preferred-size: 100%;
            flex-basis: 100%;
        margin-bottom: 20px;
    }
    .flex-item:last-child {
        margin-bottom: 0;
    }
}

/* =========================================================
* ボタン装飾（GPの標準buttonをベースに）
* ベースのボタンカラーはカスタマイザーで設定可能
* サイトのテイストにあわせて丸ごと入れ替え可
========================================================= */
button, html input[type=button], input[type=reset], input[type=submit] {
    /* 角丸やパッディング等調整あれば記載 */
}

.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.round {
    border-radius: 5px;
}

.button.black,
.button.black:visited {
    background: #333;
    color: #FFF;
}
.button.black:hover {
    background: #111;
}

.button.blue,
.button.blue:visited {
    background: #1a509d;
    color: #FFF;
}
.button.blue:hover {
    background: #154891;
}

.button.green,
.button.green:visited {
    background: #009B41;
    color: #FFF;
}
.button.green:hover {
    background: #00913d;
}

.button.pink,
.button.pink:visited {
    background: #f0788a;
    color: #FFF;
}
.button.pink:hover {
    background: #e5687b;
}

.button.red,
.button.red:visited {
    background: #c81e32;
    color: #FFF;
}
.button.red:hover {
    background: #b91629;
}

.button.see-through {
    background-color: transparent;
    color: #333;
    font-weight: bold;
    border: 2px solid #333;
}
.button.see-through:hover {
    background-color: #333;
    color: #FFF;
}
.button.see-through i.fa {
    color: #333;
}
.button.see-through i.left {
    border-right: 1px solid #333;
}
.button.see-through i.right {
    border-left: 1px solid #333;
}
.button.see-through:hover i.fa {
    color: #fff;
}
.button.see-through:hover i.left {
    border-right: 1px solid #fff;
}
.button.see-through:hover i.right {
    border-left: 1px solid #fff;
}

/* 3dボタン */
a.button-3d {
    display: inline-block;
    position: relative;
    padding: 0 20px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    text-decoration: none;

    background-color: #777;
    border-radius: 4px;
    color: #fff;
    -webkit-transition: none;
    transition: none;
    -webkit-box-shadow: 0 3px 0 #555;
            box-shadow: 0 3px 0 #555;
}
.button-3d:hover {
    color: #fff;
    background-color: #666;
    -webkit-box-shadow: 0 3px 0 #444;
            box-shadow: 0 3px 0 #444;
}
.button-3d:active {
    top: 3px !important;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
}
/* 3dボタン：カラー */
.button-3d.red {
    background-color: #ee5b5c;
    -webkit-box-shadow: 0 3px 0 #da3131;
            box-shadow: 0 3px 0 #da3131;
}
.button-3d.red:hover {
    background-color: #ec434a;
    -webkit-box-shadow: 0 3px 0 #cf1b22;
            box-shadow: 0 3px 0 #cf1b22;
}
.button-3d.green {
    background-color: #70B44A;
    -webkit-box-shadow: 0 3px 0 #559631;
            box-shadow: 0 3px 0 #559631;
}
.button-3d.green:hover {
    background-color: #63a73e;
    -webkit-box-shadow: 0 3px 0 #559631;
            box-shadow: 0 3px 0 #559631;
}
.button-3d.blue {
    background-color: #19afc3;
    -webkit-box-shadow: 0 3px 0 #0894a7;
            box-shadow: 0 3px 0 #0894a7;
}
.button-3d.blue:hover {
    background-color: #14a7bb;
    -webkit-box-shadow: 0 3px 0 #0a94a6;
            box-shadow: 0 3px 0 #0a94a6;
}
.button-3d.orange {
    background-color: #f39800;
    -webkit-box-shadow: 0 3px 0 #eb6100;
            box-shadow: 0 3px 0 #eb6100;
}
.button-3d.orange:hover {
    background-color: #e89100;
    -webkit-box-shadow: 0 3px 0 #eb6100;
            box-shadow: 0 3px 0 #eb6100;
}
.button-3d.purple {
    background-color: #5b6bdc;
    -webkit-box-shadow: 0 3px 0 #3b4cbf;
            box-shadow: 0 3px 0 #3b4cbf;
}
.button-3d.purple:hover {
    background-color: #4a5bce;
    -webkit-box-shadow: 0 3px 0 #2d3dad;
            box-shadow: 0 3px 0 #2d3dad;
}

/* =========================================================
* メディアクエリ
========================================================= */
/*==========  非モバイル・ファーストの場合  ==========*/
/* Lサイズ、ワイドスクリーン : Large Devices, Wide Screens */
@media only screen and (max-width: 1200px) {}

/* カスタマイザーのContainer Width */
@media only screen and (max-width: 1100px) {}

/* XGA(iPad・タブレット) */
@media only screen and (max-width: 1024px) {
    /* ロゴセンター寄せ */
    .inside-header {
        text-align: center;
    }
}

/* Mサイズ、デスクトップ : Medium Devices, Desktops */
@media only screen and (max-width: 992px) {}

/* Sサイズ、タブレット : Small Devices, Tablets */
@media only screen and (max-width: 768px) {
    /* モバイル時にはシステム標準フォント */
    body {
        font-family: sans-serif;
        letter-spacing: 0;
    }
    .mobile-grid-100 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* フッターコピーライト */
    .site-info .copyright-bar .txtleft,
    .site-info .copyright-bar .txtright {
        text-align: center;
    }
}

/* XSサイズ : Extra Small Devices, Phones */
@media only screen and (max-width: 480px) {}

/* カスタム, iPhone Retinaディスプレイ */
@media only screen and (max-width: 320px) {}


/*==========  モバイル・ファーストの場合  ==========*/
/* カスタム, iPhone Retinaディスプレイ */
@media only screen and (min-width: 320px) {}

/* XSサイズ : Extra Small Devices, Phones */
@media only screen and (min-width: 480px) {}

/* Sサイズ、タブレット : Small Devices, Tablets */
@media only screen and (min-width: 768px) {}

/* Mサイズ、デスクトップ : Medium Devices, Desktops */
@media only screen and (min-width: 992px) {}

/* Lサイズ、ワイドスクリーン : Large Devices, Wide Screens */
@media only screen and (min-width: 1200px) {}


/* =========================================================
* 追加CSS（コメントを付けてわかりやすく記載して下さい）
========================================================= */
/* 見出し装飾（トップページ） */
.home h2 {
    margin: 0 0 10px 0;
}

/* WPShowPostsのタイトル */
.wp-show-posts .wp-show-posts-entry-title {
    font-size: 16px;
    line-height: 1.5em;
    margin: 0 0 0.5em 0;
}

/* =========================================================
* 追加CSS（20180502 n.works）
========================================================= */

/*==========  共通  ==========*/
/* 全体 */
body{
    border-top:none;
    background-color:#fff;
}
/* seoメッセージ */
.catchcopy{
    background-color: #0b0b0b;
    border-bottom: 1px solid #3d3d3d;
}
.catchcopy h1{
    font-size:  11px;
    padding: 12px 0;
    color:#FFF;
}
/* ヘッダーロゴ */
.header-image{
    /* max-width:215px; */
}
.inside-header{
    padding-left:20px;
    padding-right:10px;
}
@media only screen and (max-width: 768px) {
    .inside-header{
        padding-left:0;
        padding-right:0;
    }
    .header-image{
        margin-top:16px;
        margin-bottom: 11px;
    }
}
/* ヘッダーお問合せエリア */
.header-cta-1,
.header-cta-1 i{
    color:#fff;
}
.header-cta-1 .fa,
.header-tel{
    font-size:24px;
    letter-spacing:0.1em;
}
.header-cta-2 > div{
    height:46px;
}
.header-cta-2 .button{
    width:180px;
    font-size:13px;
    letter-spacing:0.3em;
}
.header-cta-2 .button span{
    padding: 7px 18px;
    max-width:none;
    width:auto;
}
.header-cta-2 .button span:nth-child(1) .fa{
    color:#fff;
}
.header-cta-2 .button span:nth-child(1) {
	-webkit-transform-origin: 50% 50% -20px;
	transform-origin: 50% 50% -20px;
}
.header-cta-2 .button span:nth-child(2) {
	-webkit-transform-origin: 50% 50% -20px;
	transform-origin: 50% 50% -20px;
}
@media only screen and (max-width: 768px){
    .header-cta .button {
        top:0;
        color:#fff !important;
    }
    .header-cta .button:hover {
        color:#ff3c00 !important;
    }
}
/* メインメニュー */
#primary-menu li{
    letter-spacing: 7px !important;
}
.main-navigation{
    border:none;
}
.main-navigation ul.menu > li:before{
    background-color: #595959;
}
.main-navigation ul.menu > li{
    /* width:25%; */
}
.main-navigation ul.menu a{
    -webkit-box-sizing:border-box;
            box-sizing:border-box;
    display:inline-block;
    width:100%;
    height:60px;
    position:relative;
}
.main-navigation ul.menu a:after{
    content:"";
    width:0;
    height:5px;
    position:absolute;
    bottom:0;
    left:50%;
    display: inline-block;
    background-color: #ff3c00;
	-webkit-transition: all .3s;
	transition: all .3s;
}
.main-navigation ul.menu a:hover:after{
    left:0;
    width:100%;
}
.main-navigation ul.menu > li:nth-last-child(2)::after{
    content:none;
}
.main-navigation ul.menu > li:last-child::after{
    background-color: #595959;
}
/* ヘッダーメインメニュー SPトグルボタン */
button.menu-toggle{
    border-top: 1px solid #484848;
    height: 40px;
    line-height:  40px;
}
/* ヘッダーコンタクトメニュー SPタップボタン */
@media only screen and (max-width: 768px){
    .header-cta .button {
        background: -webkit-gradient(linear, left top, right top, from(#ff5a00), color-stop(100%, #ff1500), color-stop(80%, #ff0027));
        background: linear-gradient(90deg, #ff5a00 0%, #ff1500 100%, #ff0027 80%);
        border:none;
        color:#fff;
        width:100%;
        height: 26px;
        max-width: none;
        line-height: 26px;
        font-size: 14px;
        letter-spacing: 2px;
    }
    .header-cta .button .fa{
        color:#fff;
    }
    .header-cta .button:hover {
        background:#FFF;
        color:#ff5a00;
    }
    .header-cta .button:hover .fa{
        color:#fff;
        color:#ff5a00;
    }
}
/* ヘッダーSP折り畳みメニューオープン時 */
#generate-slideout-menu .fa{
    color:#fff;
}

/* フッター */
.site-footer{
    background-color:#0b0b0b;
}
.footer-widgets{
    background-color:transparent;
}
.footer-widgets:after{
    content:"";
    display:block;
    height:2px;
    margin-top:30px;
    background: -webkit-gradient(linear, left top, right top, from(#ff7b0f), to(#ff1d00));
    background: linear-gradient(90deg, #ff7b0f 0%, #ff1d00 100%);
}
.footer-widgets i{
    color:#ff3c00;
    margin-right:5px;
}
#custom_html-3{
    max-width: 900px;
    margin:0 auto;
}
.footer-logo{
    /* max-width:180px; */
}
/* 共通ボタン */
a.button .fa{
    color:#ff3c00;
}
.button i.left{
    border:none;
    padding: 0;
    margin: 0;
}
/* 共通ボタン 回転アニメ */
.button,
.submit_btn{
	position: relative;
	width:100%;
	max-width:230px;
	cursor: pointer;
	padding:0;
	top: -21px;
    -webkit-transform: translate3d(0,0,-1000px) !important;
    -moz-transform: translate3d(0,0,-1000px) !important;
    -ms-transform: translate3d(0,0,-1000px) !important;
    -o-transform: translate3d(0,0,-1000px) !important;
    transform: translate3d(0,0,-1000px) !important;
}
.submit_btn{
	top:0;
}
.button span,
.submit_btn .btn_af,
.submit_btn .btn_bf{
	display: block;
	position: absolute;
	top:0;
	left:0;
	padding:11px;
	width:100%;
	border: 5px solid #ff3c00;
	text-align: center;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all .3s;
	transition: all .3s;
}
.button span:nth-child(1),
.submit_btn span.btn_af {
	background-color: #ff3c00;
	color: #fff;
	-webkit-transform: rotateX(90deg);
	transform: rotateX(90deg);
	-webkit-transform-origin: 50% 50% -30px;
	transform-origin: 50% 50% -30px;
}
.button span:nth-child(2),
.submit_btn span.btn_bf{
    background-color:transparent;
	color: #ff3c00;
	-webkit-transform: rotateX(0deg);
	transform: rotateX(0deg);
	-webkit-transform-origin: 50% 50% -30px;
	transform-origin: 50% 50% -30px;
}
.button:hover span:nth-child(1),
.submit_btn:hover span.btn_af{
	-webkit-transform: rotateX(0deg);
	transform: rotateX(0deg);
}
.button:hover span:nth-child(2),
.submit_btn:hover span.btn_bf{
	background-color: #333;
	-webkit-transform: rotateX(-90deg);
	transform: rotateX(-90deg);
}
input[type=submit]{
    background:transparent;
    color:transparent;
    opacity:0;
    width: 100%;
    height: 60px;
}

/* 下層共通 */
body:not(.home) h1{
    letter-spacing:0.4em;
}
body:not(.home) .content-area a:not([class*="button"]){
    position:relative;
    display:inline-block;
    padding-bottom:0.4em;
}
body:not(.home) .content-area a:not([class*="button"]):after{
    position:absolute;
    bottom:0;
    left:0;
    margin-top:10px;
    display:inline-block;
    content:"";
    width:0;
    height:3px;
    background: -webkit-gradient(linear, left top, right top, from(#ff7b0f), to(#ff1d00));
    background: linear-gradient(90deg, #ff7b0f 0%, #ff1d00 100%);
    -webkit-transition:width 0.3s;
    transition:width 0.3s;
}
body:not(.home) .content-area a:hover:after{
    width:100%;
}

hr.hcenter-line{
    border:none;
    height:3px;
}
hr.hcenter-line:after{
    width:100%;
    height:3px;
    content:"";
    display:block;
    background: -webkit-gradient(linear, left top, right top, from(#ff7b0f), to(#ff1d00));
    background: linear-gradient(90deg, #ff7b0f 0%, #ff1d00 100%);
}
.page:not(.home) h2{
    font-size:29px;
}
.page:not(.home) h3{
    font-size:26px;
}
.ttl-04:before{
    border:2px solid #ff3c00;
}
.ttl-04:after{
    border:2px solid #0b0b0b;
}

/*==========  トップページ  ==========*/
/* トップページアイキャッチ */
#generate-section-1.generate-sections-container{
    background-position:center;
}
.home .eyecatch{
    position:relative;
    color:#FFF;
}
.home .eyecatch .generate-sections-inside-container{
    padding:0;
}
.home .eyecatch .grid-40{
    max-width: 460px;
    margin: 200px 0 150px;
    padding-left:40px !important;
}
@media only screen and (max-width: 768px){
    .home .eyecatch .grid-40{
        margin: 100px 0 75px;
    }
}
/* トップページセクション1 */
.home .section-about{
    position:relative;
}
.home .section-about h3{
    position:relative;
}
.home .section-about .fa{
    position:absolute;
    left:-32px;
    top:-8px;
    color:#ff3c00;
}
@media only screen and (max-width: 1112px){
    .home .section-about h3 br{
        display:none;
    }
}
@media only screen and (max-width: 768px){
    .home .section-about .fa{
        position:static;
        display:inline-block;
        margin-right:9px;
    }
    .home .eyecatch .grid-40{
        margin: 100px 0 75px;
    }
}
.home .section-about .company_photo{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
/*     position: absolute; 
    top: 0;
    bottom: 0;*/
    max-width: 515px;
    width: 42%;
}
@media only screen and (max-width: 768px){
    .home .section-about .company_photo{
        display:block;
        position:static;
        margin: 0 auto 30px !important;
    }
}
.home .section-about h3{
    color:#171717;
}
.home .section-about .back{
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    background-color: #e4e4e4;
    width: 36vw;
}
.home .section-about .points img{
    width: 32%;
    height:auto;
    margin-left:-35px;
    -webkit-transition: 1.5s ;
    transition: 1.5s ;
    -webkit-transform: rotateY( 0deg ) ;
            transform: rotateY( 0deg ) ;
}
.home .section-about .points img:hover {
    -webkit-transform: rotateY( 360deg ) ;
            transform: rotateY( 360deg ) ;
}
.home .section-about .points img:first-child{
    margin-left:0;
}
/* トップページセクション2 */
.home .section-service{
    color:#fff;
}
.home .section-service i{
    margin-right:5px;
}
.home .section-service a{
    display:inline-block;
    background-color:#fff;
}
.home .section-service figcaption{
    text-align:left;
    padding: 11px 20px 20px;
}
.home .section-service figcaption p{
    margin:0;
}
.snip1561 .img_wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  background: #4a4a4a;
  background: -webkit-gradient(linear, left top, right top, from(#1d00ff), color-stop(50%, #9f00ff), to(#ff2799));
  background: linear-gradient(90deg, #1d00ff 0%, #9f00ff  50%, #ff2799 100%);
}

.snip1561 .img_wrap img,
.snip1561 .img_wrap:before,
.snip1561 .img_wrap:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.snip1561 .img_wrap img {
  max-width: 100%;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  vertical-align: top;
}

.snip1561 .img_wrap:before,
.snip1561 .img_wrap:after {
  content: '';
  background-color: #fff;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  opacity: 0;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.snip1561 .img_wrap:before {
  width: 60px;
  height: 1px;
  left: 100%;
}

.snip1561 .img_wrap:after {
  height: 60px;
  width: 1px;
  top: 0%;
}

.thumb_button:hover .img_wrap img {
  zoom: 1;
  filter: alpha(opacity=50);
  -webkit-opacity: 0.5;
  opacity: 0.5;
}

.thumb_button:hover .img_wrap:before,
.thumb_button:hover .img_wrap:after {
  opacity: 1;
  top: 50%;
  left: 50%;
}
/*==========  最新情報ページ・最新情報個別ページ  ==========*/
.blog h2,
.blog h2 a,
.archive h2,
.archive h2 a,
.single .site-content h1{
    color: #0b0b0b;
    letter-spacing:normal;
}
.blog h2 a:hover,
.archive h2 a:hover,
.single h2 a:hover{
    color:#ff3c00;
}
.blog .sidebar .widget .widget-title,
.archive .sidebar .widget .widget-title,
.single .sidebar .widget .widget-title{
    background-color:#0b0b0b;
}
.blog .sidebar .widget,
.archive .sidebar .widget,
.single .sidebar .widget{
    background-color:#f3f3f3;
}
.site-main [class*=navigation]{
    margin-top:15px;
}
.nav-previous .prev:before, .nav-next .next:after{
    background-color:#0b0b0b;
    color:#fff;
}
.site-main [class*=navigation] a:after{
    content:none !important;
}
.site-main [class*=navigation]{
    margin-top:0;
    padding-top:0;
}
.wp-pagenavi span.pages,
.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:active, .wp-pagenavi a:focus{
    color:#303030;
}
.wp-pagenavi a:hover{
    color:#fff;
}
.wp-pagenavi span.current,
.wp-pagenavi a:hover{
    background-color:#0b0b0b;
}
/* 会社概要 */
body.company .facility{
    font-size:0.8em;
}
body.company .facility td{
    padding:3px 6px;
}
@media only screen and (max-width: 768px){
    body.company .facility th,
    body.company .facility td{
        display:table-cell;
    }
    body.company .facility td{
        border: 1px solid #ddd !important;
        padding:6px 6px !important;
    }
}
/* お問合せ */
.span.contact-label{
    background-color:#0b0b0b;
}
.form-required{
    background-color: #ff3c00;
}
div.wpcf7-validation-errors, div.wpcf7-acceptance-missing{
    border:2px solid #ff3c00;
}

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