/*
Theme Name:   Noguchi Kikaku Theme2
Theme URI:    https://noguchi-kikaku.com/
Description:  Noguchi Kikaku Theme2
Author:       Noguchi Kikaku
Author URI:   https://noguchi-kikaku.com/
Template:     generatepress
Version:      0.2

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

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

■子テーマ内のcss/tools.css内で設定（必要なものを適宜子テーマの当style.cssで上書き）
・tools.cssの中身はCodePen参照
　https://codepen.io/nokicom/pen/PJgmeZ
*/
@import url('css/tools.css');

/* =========================================================
* フォント設定
* WEBフォントはGoogleフォントをメインで利用
* https://fonts.google.com/
========================================================= */
/* 本文はNotoを利用（サイトのテイストに応じて適宜変更可能） */
/* https://fonts.google.com/?subset=japanese */
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP:100,300,400,500,700,900|Noto+Serif+JP:200,300,400,500,600,700,900&subset=japanese');

/* サンセリフ（ゴシック系） */
/* @import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:400,700'); */
/* セリフ（明朝系） */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700');

/* 電話番号用（ゴシック系） */
 @import url('https://fonts.googleapis.com/css?family=Ramabhadra'); 
/* 電話番号用（明朝系） */
@import url('https://fonts.googleapis.com/css?family=Source+Serif+Pro:400,600');


@import url('https://fonts.googleapis.com/css?family=M+PLUS+Rounded+1c:400,500,700');

/* =========================================================
* 基本設定
========================================================= */
/* カスタマイザーの「Colors」で設定できないカラーはCSSで指定 */
/* キーカラー：サイトのカラーに合わせて下記色コードを一括置換してください */
.k-color, .fa { color: #bf3c3c; }
/* ボタンのFontAwesome */
a.button .fa { color: #fff; }

/* サンセリフ（ゴシック系）、セリフ（明朝系）はサイトのテイストに合わせて調整 */
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: solid 5px #bf3c3c;
}
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 (min-width: 768px) {
    body {
        font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 游ゴシック, YuGothic, Meiryo, 'MS PGothic', sans-serif;
        /*font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 游明朝, YuMincho, HGS明朝E, 'MS PMincho', sans-serif;*/
    }
    button, input, select, textarea {
        font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 游ゴシック, YuGothic, Meiryo, 'MS PGothic', sans-serif;
        /*font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 游明朝, YuMincho, HGS明朝E, 'MS PMincho', sans-serif;*/
    }
    h1, h2, h3, h4, h5, h6 {
        font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 游ゴシック, YuGothic, Meiryo, 'MS PGothic', sans-serif; 
        /* font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 游明朝, YuMincho, HGS明朝E, 'MS PMincho', sans-serif;*/
    }
}

/* 見出しフォントサイズ：カスタマイザーの設定「Typography＞Headings」に合わせる */
.h0 {font-size: 34px; line-height: 1.2;}
.h1 {font-size: 30px; line-height: 1.2;}
.h2 {font-size: 26px; line-height: 1.4;}
.h3 {font-size: 22px; line-height: 1.4;}
.h4 {font-size: 20px; line-height: 1.6;}
.h5 {font-size: 18px; line-height: 1.8;}
.h6 {font-size: 16px; line-height: 1.8;}
@media (max-width: 768px) {
    .h0 {font-size: 30px;}
    .h1 {font-size: 26px;}
    .h2 {font-size: 22px;}
    h3, .h3 {font-size: 20px;} /* モバイル用の見出しサイズはGPのカスタマイザーで設定可能なのがh2まで */
    h4, .h4 {font-size: 18px;}
    h5, .h5 {font-size: 16px;}
    h6, .h6 {font-size: 16px;}
}
/* リストのインデント調整 */
ol, ul {
    margin: 0 0 1.5em 1.5em;
}

/* サイドバー有りの場合は投稿とサイドバーのウィジェットを線で囲む */
.blog .site-main article.post,
.archive .site-main article.post,
.single .site-main article.post,
.search .site-main article,
.search-no-results .site-main .inside-article,
.error404 .site-main .inside-article {
    border: 1px solid #e3e3e3;
}

/* カスタマイザーの設定「Layout＞Container＞Separating Space」の値になるので広げる */
/* カスタマイザーのセパレート値（20）を上書き */
.right-sidebar.separate-containers .site-main {
    margin: 20px 40px 40px 0;
}
/* カスタマイザーのセパレート値（20）を上書き */
#main.site-main,
.separate-containers .site-main article.post {
    margin-bottom: 40px;
}

/* ページヘッダーを非表示（ElementsのHeaderを利用の場合） */
body.category .page-header,
body.tag .page-header,
body.date .page-header,
body.search .page-header {
    display: none;
}

/* =========================================================
* ヘッダー
========================================================= */
.site-logo {
    margin: 0;
}
.site-logo img.header-image {
    max-height: 56px;
    width: auto;
	margin-top: -10px;
}
.sticky-logo img.header-image {
	margin-top: 0;
}

@media (max-width: 768px) {
.site-logo img.header-image {
	margin-top: 0px;
	max-height: 65px;
}
}


/* Top Bar */
.top-bar-align-left .inside-top-bar>.widget:nth-child(odd) {
    margin-right: 0;
}
.top-bar {
    line-height: 35px;
	margin-top: 15px;
	margin-bottom: 10px;
}
.top-bar .grid-container {
    max-width: 1100px;
	position: relative;
	width: 100%;
}
.top-bar .widget {
    width: 100%;
}
.top-bar i {
    font-size: 22px;
    margin-right: 5px;
}
.topbar-txt {
    float: left;
    /* オーバーフロー分は…で表示 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.topbar-txt p {
    font-size: 12px;
    line-height: 35px;
    margin: 0;
	
}
.topbar-contact {
    width: 150px;
    float: right;
    text-align: center;
	font-size: 14px;
}

.topbar-tel {
    width: 280px;
    text-align: center;
	position: absolute;
	top: -12px;
	right: 0;
	padding: 5px;
	z-index: 100;
	background: #fff;
	line-height: 1.2;
	
}
.topbar-tel b{
    font-family: 'Source Serif Pro', serif;
	font-weight: 600;
    font-size: 28px;
}
.topbar-tel .topbar-time{
	font-size: 12px;
	font-weight: 500;
	margin-bottom: 0;
	line-height: 1.3;
	color: #956054;
	/*color: #9c5050; */
}
.topbar-tel .topbar-time span{
	letter-spacing: 0;
	font-weight: normal;
}


@media (max-width: 1023px) {
    .topbar-txt {
        display: none;
    }
}
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
}

/* 検索結果・404ページのHeaderが無い場合のヘッダーには下線 */
.search .site-header,
.search-no-results .site-header,
.error404 .site-header {
    border-bottom: 1px solid #e3e3e3;
}

/* =========================================================
* ナビゲーション
========================================================= */

/* ホームアイコン　カラー設定 */
.menu .fa{color: #474747;}

/* ナビゲーション　メニューの線 */
.main-navigation > ul li:after{
	content: "";
	position: absolute;
	top: 15px;
	height: 20px;
	width: 1px;
	background: #ddd;
}
.main-navigation > ul li:nth-child(1):after{
	content: none;
}

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


/* スライドアウトナビは左寄せ（カスタマイザーの寄せを上書き） */
.main-navigation.slideout-navigation {
    text-align: left !important;
}
/* スライドアウトナビのウィジェトの余白調整 */
.main-navigation.slideout-navigation .slideout-widget {
    margin: 10px;
}
/* スライドアウトナビの▼クリック可能領域を広げる */
@media (max-width: 768px) {
    .menu-item-has-children .dropdown-menu-toggle {
        padding-left: 20px;
        padding-right: 20px;
    }
}
.mobile-header-navigation .menu-toggle{
	font-weight: bold;
}


/* モバイルメニュー調整：ハンバーガーメニューをコンパクトに */
/*
.mobile-header-navigation .menu-toggle:before{
    color: #333;
    font-size: 20px;
	line-height: 1;
    display: block;
    margin: 0 auto !important;
}
.mobile-header-navigation .menu-toggle{
    font-size: 12px;
    letter-spacing: 0;
    line-height: 1;
    color: #333;
    font-weight: normal;
    padding: 3px;
    margin: 5px 10px 0 0;
    background: #fff !important;
    border-radius: 3px;
}
.mobile-header-navigation .menu-toggle .mobile-menu{
    margin: 0;
}
.mobile-header-navigation .menu-toggle .mobile-menu:hover{
    color: #333;
}
*/
/* モバイルメニュー調整ここまで */

/* GP2.1　モバイルメニューのブレークポイント調整（GPのバージョンアップによって変更になる可能性あり） */
/* https://docs.generatepress.com/article/mobile-navigation/ */
@media (max-width: 1023px) {
	.main-navigation .menu-toggle,
	.main-navigation .mobile-bar-items,
	.sidebar-nav-mobile:not(#sticky-placeholder) {
		display: block;
	}
	.main-navigation ul,
	.gen-sidebar-nav {
		display: none;
	}
	[class*="nav-float-"] .site-header .inside-header > * {
		float: none;
		clear: both;
	}
}
/* GP Premiumのmenu plusのブレークポイントも同時に調整 */
@media( max-width: 1023px ) {
	.site-header,
	#site-navigation,
	#sticky-navigation {
		display: none !important;
		opacity: 0;
	}
	#mobile-header {
		display: block !important;
		opacity: 1;
		width: 100% !important;
	}
}


/* =========================================================
* パンクズ
========================================================= */
.breadcrumbs {
    font-size: .8em;
    line-height: 20px;
    overflow: hidden;
    padding-top: 20px;
}
.sections-no-sidebars .breadcrumbs {
    padding: 20px 0;
}
/* オーバーフローした場合、改行させずに…表示 */
.breadcrumbs .grid-container {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 0 15px;
    }
}






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

/* wp show posts関係 */
.sidebar .wp-show-posts-entry-meta {
    text-align: right;
	border-bottom: dotted 1px #ddd;
	padding-bottom: 0.5em;
}
.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.4;
    font-weight: normal;
}
@media (max-width: 768px) {
    .sidebar .wp-show-posts-image.wpsp-image-left {
        float: left; /* サイドバーのWPSP（最新情報）は左寄せ維持 */
    }
}

/* =========================================================
* フッター
========================================================= */
/* copyright-barとfooter-barの初期値（float）リセット */
.copyright-bar, .footer-bar {
    float: none !important;
    margin: 0;
}

.footer-widgets .widget {
    font-size: 14px;
}
.footer-logo img{
    max-height: 50px;
    width: auto;
}
.footer-logo-txt{
    text-align: center;
	margin: 15px 0;
	padding: 3px;
	font-weight: 600;
	color: #875959;
	border-top: dotted 1px #b68686;
	border-bottom: dotted 1px #b68686;
}
.footer-tel{
    font-family: 'Source Serif Pro', serif;
	font-weight: 600;
    font-size: 24px;
}

/* サイトマップ用の装飾 */
.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.5em;
}
.footer-widget-menu li {
    margin: 0;
    padding: 0;
}
.footer-widget-menu li.footer-widget-menu-child {
    margin-left: 18px;
}

.footer-widget-info .fa {
    width: 26px;
    text-align: center;
}
.footer-widget-info .button{
	display: block;
	padding: 8px;
	font-size: 15px;
}



/* フッターにカスタムメニューを設置した場合 */
.site-footer .widget_nav_menu {
    text-align: center;
}
.site-footer ul.menu li {
    display: inline-block;
    list-style-type: none;
    padding: 0 0 0 20px;
    margin: 0 20px 0 0;
}
.site-footer ul.menu li::before {
    font-family: 'FontAwesome';
    content: "\f138";
    position: absolute;
    left : 0;
    color: #bf3c3c;
}

/* コピーライト＆クレジット表記 */
.footer-copyright {
    text-align: left;
}
.footer-credit {
    text-align: right;
}

/* フッター診察時間 */
.footer-table {
	background: none;
	border: none;
	border-collapse: separate;
	background: rgba(255,255,255,0.8);
}
.footer-table th,
.footer-table td{
	padding: 8px 4px;
	background: none;
	text-align: center;
	letter-spacing: 0;
	line-height: 1.3em;
	border: none;
	border-right: solid 2px #f2f0ed;
	color: #78675e;
}
.footer-table td{
	border-top: solid 2px #f2f0ed;
}

.footer-table th:last-child,
.footer-table td:last-child{
	border-right: none;
}
.footer-table th{
	background: #fffdf4;
}
.footer-table .time{
	width: 20%;
}
.footer-table .open{
	color: #f2c54a;
}
.footer-table .thur-pm{
	color: #f28346;
}

@media (max-width: 768px) {
    .site-footer .widget_nav_menu {
        text-align: left;
    }
    .site-footer ul.menu li {
        display: blck;
        padding: 0 0 0 20px;
        margin: 0;
    }
    .footer-copyright {
        text-align: center;
    }
    .footer-credit {
        text-align: center;
    }
}

/* =========================================================
* モバイルCTA
========================================================= */
@media (max-width: 768px) {
    .mobile-cta {
        width: 100%;
        background-color: #bf3c3c;
        
        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;
    }
    .mobile-cta-1,
    .mobile-cta-2 {
        -webkit-box-flex: 1;
            -ms-flex: 1;
                flex: 1;
        text-align: center;
    }
    .mobile-cta-1 .button, 
    .mobile-cta-2 .button {
        width: 100%;
        padding: 15px 0;
        text-align: center;
        margin-bottom: 0;
        line-height: 1;
    }
    .mobile-cta-2 .button {
        border-left: 1px solid rgba(255,255,255,0.5);
        width: calc( 100% - 1px );
    }
    .mobile-cta-1 .button .fa,
    .mobile-cta-2 .button .fa {
        font-size: 18px;
        line-height: 1;
    }
    /* 以下、CTAをフッターに固定する場合（固定にしない場合はコメントアウト） */
    .mobile-cta-fixed {
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 100;
    }
    .generate-back-to-top, .generate-back-to-top:visited {
        bottom: 53px;
        right: 5px;
        z-index: 200;
    }
    footer.site-info {
        margin-bottom: 48px;
    }
    /* CTAのフッター固定ここまで */
}

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

/* プレイスホルダーの色指定（その他の色はカスタマイザーで設定） */
input::-webkit-input-placeholder { color: #aaa; }
input:-ms-input-placeholder      { color: #aaa; }
input::placeholder               { color: #aaa; }

/* 必須項目 */
.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: dotted #e3e3e3 1px
}
.list-news li a {
    display: block;
    text-decoration: none;
    -webkit-transition: background 0.3s;
    transition: background 0.3s;
}
.list-news li a:hover {
    background: #fef9f9;
}
.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: 14px;
    line-height: 28px;
    color: #474747;
	font-weight: 600;
}
.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;
    color: #bf3c3c;
	background: #fff;
	border: solid 1px #bf3c3c;
   font-size: 12px;
   line-height: 14px;
}
/* カテゴリ毎に背景色設定 */
.news span {
   color: #bf3c3c;
	background: #fff;
	border: solid 1px #bf3c3c;
}  

@media (max-width: 768px) {
    .list-news li .list-news-wrap {
        display: 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;
    }
    .list-news li .list-news-wrap .news-txt {
        padding: 0 0 10px 0px;
        display: block;
        width: auto;
    }
    .news-cat span {
        padding: 4px;
        line-height: 12px;
    }
}

/* =========================================================
* 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: #bf3c3c; /* キーカラーに合わせて変更 */
}

/* =========================================================
* テーブル
* .tableクラスを付与するとレスポンシブ対応
* .table-color：色付きのthに変更
* .table-telfax：電話番号・FAX番号用
========================================================= */
/* テーブル：標準 */
table {
    margin: 0;
    background: #ffffff;
}
table th {
    font-weight: 500;
    background-color: #f3f3f3;
    width: 200px; /* 適宜変更 */
}
table th,
table td {
    padding: 20px;
}

/* テーブル：キーカラーバージョン */
.table-color ,
.table-color th,
.table-color td {
    border: solid 1px #ddd6d2;
	border-collapse: collapse;
}
.table-color th,
.table-color td {
    padding: 20px;
}
/* thの奇数行に適応 */
.table-color tr:nth-of-type(odd) th {
    background: #fdebeb; /* キーカラーに合わせて変更 */
}
/* thの奇数行に適応 */
.table-color tr:nth-of-type(even) th {
    background: #f9e6e6; /* キーカラーに合わせて変更 */
}

/* tdの奇数行に適応 */
.table-color tr:nth-of-type(odd) td {
    background: #fff; /* 背景色に合わせて微調整 */
}
/* tdの偶数行に適応 */
.table-color tr:nth-of-type(even) td {
    background: #fafafa; /* 背景色に合わせて微調整 */
}



/* テーブル：電話番号・FAX番号用 */
table.table-telfax th {
    width: 100px;
    font-size: 20px;
    text-align: center;
}
table.table-telfax td {
    /* font-family: 'Ramabhadra', sans-serif; */
    font-family: 'Source Serif Pro', serif;
	font-weight: 600;
    font-size: 36px;
    line-height: 1;
    letter-spacing: 0.05em;
}

@media (max-width: 768px){
table.table-telfax th {
    width: 50px;
}
    table th,
    table td,
    table.table-color th,
    table.table-color td {
        padding: 10px;
    }
    table.table-telfax th {
        width: auto;
        font-size: 18px;
    }
    table.table-telfax td {
        text-align: center;
        font-size: 24px;
        line-height: 1.8;
    }

    /* table-mobile指定でレスポンシブ対応（単純なテーブルに利用） */
    table.table-mobile tr,
    table.table-mobile th,
    table.table-mobile td {
        display: block;
        width: auto !important;
    }
}

/* talbeの外側にtable-scroll指定でスマホ時に横スクロール（複雑なテーブルに利用） */
@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;
    }
}

/* =========================================================
* イメージ
========================================================= */
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: #bf3c3c;
    border: 1px solid #fff;
    background: none;
}
.wp-pagenavi span.current {
    font-weight: bold;
    color: #fff;
    background: #bf3c3c;
    border: 1px solid #fff;
    padding: 5px 8px;
}
.wp-pagenavi a:hover {
    color: #ffffff;
    background: #bf3c3c;
    border: 1px solid #fff;
    padding: 5px 8px;
}
.wp-pagenavi span.pages {
    color: #bf3c3c;
    background: none;
    padding: 5px 8px 5px 0;
}
.wp-pagenavi span.extend {
    background: transparent;
    color: #bf3c3c;
    background: none;
}

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

/* 次へ前へ */
.site-main .post-navigation {
    margin-top: 10px;
    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 {
    font-family: FontAwesome;
    text-align: center;
    background: #eee;
    display: block;
    margin: 0;
    padding: 15px 5px;
    width: auto;
}
.nav-previous .prev::before {
    content: "\f104";
}
.nav-next .next::before {
    content: "";
    margin: 0;
    width: 0;
}
.nav-next .next::after {
    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」を設定 */
/* セクションの設定「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:0 auto;}
.generate-sections-900  .generate-sections-inside-container {max-width: 900px; margin:0 auto;}
.generate-sections-1000 .generate-sections-inside-container {max-width: 1000px;margin:0 auto;}
.generate-sections-1100 .generate-sections-inside-container {max-width: 1100px;margin:0 auto;}
.generate-sections-1200 .generate-sections-inside-container {max-width: 1200px;margin:0 auto;}
.generate-sections-1300 .generate-sections-inside-container {max-width: 1300px;margin:0 auto;}
.generate-sections-1400 .generate-sections-inside-container {max-width: 1400px;margin:0 auto;}
.generate-sections-1500 .generate-sections-inside-container {max-width: 1500px;margin:0 auto;}
.generate-sections-1600 .generate-sections-inside-container {max-width: 1600px;margin:0 auto;}
.generate-sections-1700 .generate-sections-inside-container {max-width: 1700px;margin:0 auto;}

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

/* =========================================================
* Flexレイアウト
* 参考URL　https://www.nxworld.net/tips/flexbox-examples.html
* チートシート　https://www.webcreatorbox.com/tech/css-flexbox-cheat-sheet
========================================================= */
.flexbox-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
}
.flexbox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    width: 100%;
}

.flex2 .flexbox { width: 49%; }
.flex3 .flexbox { width: 32%; }
.flex4 .flexbox { width: 23.5%; }
.flex5 .flexbox { width: 18.5%; }
/* セクションの「Inner Box Type」を「Full Width」にした場合 */
.generate-sections-inside-container:not(.grid-container) .flex2 .flexbox { width: 49.5%; }
.generate-sections-inside-container:not(.grid-container) .flex3 .flexbox { width: 32.5%; }
.generate-sections-inside-container:not(.grid-container) .flex4 .flexbox { width: 24%; }
.generate-sections-inside-container:not(.grid-container) .flex5 .flexbox { width: 19%; }
@media (max-width: 1200px) {
    .generate-sections-inside-container:not(.grid-container) .flex2 .flexbox { width: 49%; }
    .generate-sections-inside-container:not(.grid-container) .flex3 .flexbox { width: 32%; }
    .generate-sections-inside-container:not(.grid-container) .flex4 .flexbox { width: 23.5%; }
    .generate-sections-inside-container:not(.grid-container) .flex5 .flexbox { width: 18.5%; }
}

@media (max-width: 768px) {
    .flexbox-wrap {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column; /* 縦方向に並べる */
    }
    .flexbox {
        margin-bottom: 20px;
    }
    .flexbox:last-child {
        margin-bottom: 0;
    }
    .flex2 .flexbox,
    .flex3 .flexbox,
    .flex4 .flexbox,
    .flex5 .flexbox {
        width: 100% !important;
    }
}

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

.button,
.button i {
    -webkit-transition: all  0.3s ease;
    transition: all  0.3s ease;
}
.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.red,
.button.red:visited {
    background: #c81e32;
    color: #FFF;
}
.button.red:hover {
    background: #b91629;
}

.button.white,
.button.white:visited {
    background: #fff;
    color: #bf3c3c;
}
.button.white:hover {
    background: #eee;
}
.button.white i {
    color: #bf3c3c;
}




/* シースルー：黒 */
.button.see-through {
    background-color: transparent;
    font-weight: 500;
    color: #333 !important;
    border: 2px solid #333;
}
.button.see-through:hover {
    color: #fff !important;
    background-color: #bf3c3c; /* キーカラーに合わせて変更 */
    border: 2px solid #bf3c3c; /* キーカラーに合わせて変更 */
}
.button.see-through i.fa {
    color: #333;
}




.button.see-through i.left {
    border-right: 1px solid rgba(0, 0, 0, 0.7);
}
.button.see-through i.right {
    border-left: 1px solid rgba(0, 0, 0, 0.7);
}
.button.see-through:hover i.fa {
    color: #fff;
}
.button.see-through:hover i.left {
    border-right: 1px solid rgba(255, 255, 255, 0.5);
}
.button.see-through:hover i.right {
    border-left: 1px solid rgba(255, 255, 255, 0.5);
}
/* シースルー：白 */
.button.see-through.white {
    color: #fff !important;
    border: 2px solid #fff;
}
.button.see-through.white:hover {
    background-color: #bf3c3c; /* キーカラーに合わせて変更 */
    border: 2px solid #bf3c3c; /* キーカラーに合わせて変更 */
    color: #fff;
}
.button.see-through.white i.fa {
    color: #fff;
}
.button.see-through.white i.left {
    border-right: 1px solid rgba(255, 255, 255, 0.7);
}
.button.see-through.white i.right {
    border-left: 1px solid rgba(255, 255, 255, 0.7);
}
.button.see-through.white:hover i.fa {
    color: #fff;
}
.button.see-through.white:hover i.left {
    border-right: 1px solid rgba(255, 255, 255, 0.5);
}
.button.see-through.white:hover i.right {
    border-left: 1px solid rgba(255, 255, 255, 0.5);
}
/* シースルーのボーダー細く */
.button.see-through.thin,
.button.see-through.thin:hover {
    border-width: 1px;
}



/* シースルー：赤 */
.button.see-through.red {
    font-weight: 500;
    color: #c44040 !important;
    border: 2px solid #c44040;
	background-color: #fff;
}
.button.see-through.red:hover {
    color: #e08e3c !important;
    background-color: #fff; /* キーカラーに合わせて変更 */
    border: 2px solid #e08e3c; /* キーカラーに合わせて変更 */
}
.button.see-through.red i.fa {
    color: #c44040;
}




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

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

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

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

/* Sサイズ、タブレット : Small Devices, Tablets */
@media (max-width: 768px) {
    /* モバイル時にはシステム標準フォント */
    body {
        font-family: sans-serif;
        letter-spacing: 0;
    }
    .mobile-grid-100 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* フォームの横幅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%;
    }
}

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

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


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

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

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

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

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


/* =========================================================
* コンテンツパーツ：共通
========================================================= */

/* =========================================================
* 見出し装飾
* ■ Googleフォントでポピュラーなもの（※importは当CSSの最上部で）
* https://fonts.google.com/?sort=popularity
* ■ Googleフォントの利用方法
* https://saruwakakun.com/html-css/basic/google-fonts
========================================================= */
/*=== コンテンツの見出し ===*/
.ttl-std-wrap {
    margin-bottom: 50px;
    text-align: center;
}
.ttl-std-lv1,
.ttl-std-lv2{
    color: #fff;
    text-transform: uppercase;
    /* サンセリフ */
     /* font-family: 'Roboto Condensed', sans-serif;*/
	font-family: 'M PLUS Rounded 1c', sans-serif;
    /* セリフ */
    /*font-family: 'Playfair Display', serif;*/
    font-weight: 700;
    font-size: 40px;
    letter-spacing: 0.1em; /* フォントに応じて調整 */
    line-height: 1.4;
    margin: 0;
    position: relative;
    display: inline-block;
}
.page-hero .ttl-std-lv1 {
    color: #bf3c3c;
	background: rgba(255,255,255,0.9);
	display: inline-block;
	padding: 0.5em 1em;
}
.ttl-std-lv2 {
    color: #bf3c3c; /* キーカラーに合わせて変更 */
    font-size: 30px;
}
.ttl-std-lv2.toppage {
    color: #bf3c3c; /* キーカラーに合わせて変更 */
    font-size: 35px;
}

.ttl-std-lv2.white {
    color: #fff;
}
.ttl-std-lv2::after{
    background: #fff;
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
}
.ttl-std-lv2::after{
    background: #bf3c3c; /* キーカラーに合わせて変更 */
}
.ttl-std-lv2.white::after {
    background: #fff;
}
.ttl-std-lv3 {
	font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 700;
	color: #bf3c3c;
    font-size: 22px;
}
.ttl-std-txt {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 游ゴシック, YuGothic, Meiryo, 'MS PGothic', sans-serif;
    /*font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 游明朝, YuMincho, HGS明朝E, 'MS PMincho', sans-serif; */
    margin-top: 25px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.45em;
}



/* 色の濃い背景の場合 */
.ttl-bg {
    font-size: 32px;
    font-weight: 500;
}
.ttl-bg {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 30px;
    padding-bottom: 30px;
    position: relative;
}
.ttl-bg::after {
    background: #fff;
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 50px;
    height: 3px;
}

@media (max-width: 768px) {
    .ttl-std-lv1 {
        font-size: 30px;
    }
    .ttl-std-lv2 {
        font-size: 26px;
    }
    .ttl-bg {
        font-size: 24px;
    }
}

/* コンテンツの概要文章 */
.txt-read {
    margin-bottom: 50px;
    font-weight: 500;
    text-align: center;
}

/*=== 画像+文章 ===*/
.img-body {
    min-height: 0%;
    margin: 0;
}
.img-body img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}
/* 丸い画像の場合 */
.img-body .img-circle {
    margin: 40px auto 10px auto;
    width: 50%;
    text-align: center;
}
/* アイコンの場合 */
.img-icon {
    margin: 40px 0 10px 0;
    color: #bf3c3c; /* キーカラーに合わせて変更 */
    font-size: 50px;
    line-height: 1;
    text-align: center;
}
.img-icon .fa {
    /* fontawesome のアイコンを細くする */
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke: 1px #fff; /* 背景色とあわせる */
}
.img-read {
    font-size: 15px;
    padding: 20px;
}
.img-read h3,
.img-read h3.under-line {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.2em;
    text-align: center;
    margin-bottom: 20px;
}
.img-read h3.under-line {
    padding-bottom: 20px;
    position: relative;
}
.img-read h3.under-line::after {
    background: #bf3c3c; /* キーカラーに合わせて変更 */
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 30px;
    margin-left: -15px;
    height: 3px;
}
.img-read p {
    margin-bottom: 0;
}

/*=== ボタンエリア ===*/
.flexbox-btn {
    margin-top: auto; /* 高さを揃える */
    text-align: center;
    padding-bottom: 20px;
}
.btn-wrap {
    text-align: center;
}
.btn-wrap .button,
.flexbox-btn .button {
    min-width: 200px;
}
.btn-wrap a::before,
.flexbox-btn a::before {
    font-family: FontAwesome;
    content: "\f054"; /* https://fontawesome.com/v4.7.0/cheatsheet/ */
    font-size: 14px;
    margin-right: 10px;
}

/* =========================================================
* コンテンツパーツ：メインイメージ
========================================================= */
.section-mainimg {max-width: 1600px; margin: 0 auto;}

.section-mainimg h1 {
    font-size: 1em;
    line-height: 1.8;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.9);
}

/*.section-mainimg h2 {
    /* font-family: 'Roboto Condensed', sans-serif; */
    /* font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 700;
    font-size: 60px;
    line-height: 1.4;
	color: #fff;
	position: absolute;
	z-index: 1;
	top: 5%;
	right: 10%;
	text-align: left;
}*/
@media (max-width: 768px) {
    /* スマホ表示のときは、ページヘッダーのイメージ変更 */
    .home .generate-content-header {
        /* background-image: url(img/mb-main.jpg); */
    }
    .section-mainimg h2 {
        font-size: 60px;
    }
}

/* =========================================================
* コンテンツパーツ：ビジネス
========================================================= */

.section-business .flexbox {
    background: #f2f0ed;
}



/* =========================================================
* コンテンツパーツ：メッセージ
========================================================= */
.section-message {}

.section-message h3 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .section-message h3 {
        font-size: 26px;
    }
}

/* =========================================================
* コンテンツパーツ：アバウト
========================================================= */
.section-about {}

/* =========================================================
* コンテンツパーツ：フォト
========================================================= */
.section-photo {}

/* =========================================================
* コンテンツパーツ：アイコン
========================================================= */
.section-icon {}

/* =========================================================
* コンテンツパーツ：メンバー
========================================================= */
.section-member {}


/* =========================================================
 * コンテンツパーツ：流れ
========================================================= */
.section-flow {}

.ttl-flow {
    position: relative;
    background: #eee;
    line-height: 40px;
    padding: 10px 10px 10px 60px;
    margin-top: 40px;
}
.ttl-flow:first-of-type {
    margin-top: 0;
}
.num-flow {
    position: absolute;
    color: #fff;
    background: #bf3c3c;
    text-align: center;
    font-size: 20px;
    line-height: 40px;
    height: 40px;
    width: 40px;
    top: 10px;
    left: 10px;
    border-radius: 20px;
}

/* =========================================================
 * コンテンツパーツ：Q&A
========================================================= */
.section-faq {}

/* tools.cssの装飾を調整 */
.faq-circle-no {
    font-family: 'Roboto Condensed', sans-serif;
    /* font-family: 'Playfair Display', serif; */
    color: #fff;
}
.faq-circle-no.faq-circle-q {
    background: #bf3c3c;
}
.faq-circle-no.faq-circle-a {
    background: #bf3c3c80;
}


/* =========================================================
* コンテンツパーツ：更新情報（画像）
========================================================= */
.section-img-information {}

/* WP Show Posts（プラグイン）のタイトル */
.wp-show-posts .wp-show-posts-entry-title {
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 0.5em 0;
}

/* =========================================================
* コンテンツパーツ：更新情報（1行テキスト）
========================================================= */
.section-news1row{}
/* =========================================================
* コンテンツパーツ：更新情報（2行テキスト）
========================================================= */
.section-news2row {}

/* =========================================================
* コンテンツパーツ：SNS
========================================================= */
.section-sns {}

.sns-wrap {
    text-align: center;
    margin: 0 auto;
}
.sns-wrap .fb_iframe_widget {
    padding-top: 10px; /* FBページプラグインをInstagramの高さに合わせる */
}

/* =========================================================
* コンテンツパーツ：画像文章左右交互（Flex）
========================================================= */
.section-imgtxt {}

.flex-imgtxt {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
}
/* 左右に振り分け（コメントアウトで画像左固定） */
.flex-imgtxt:nth-child(odd) {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
}
/* 任意で順向きにしたい場合 */
.flex-imgtxt.row {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
}
/* 任意で逆向きにしたい場合 */
.flex-imgtxt.row-reserve {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
}
.flex-imgtxt-img {
    width: 50%;
}
.flex-imgtxt-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}
.flex-imgtxt-txt {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-flex-line-pack: center;
        align-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 40px;
    background: #f3f3f3;
}
/* フルワイドで利用する場合 */
.flex-imgtxt-txt-inner {
    max-width: 520px;
}

/* 見出し */
.section-imgtxt h3 {
    font-size: 26px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.2em;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}
.section-imgtxt h3::after {
    background: #bf3c3c; /* キーカラーに合わせて変更 */
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 30px;
    margin-left: -15px;
    height: 3px;
}

/* スマホ調整 */
@media (max-width: 768px) {
    /* 縦方向に変更 */
    .flex-imgtxt,
    .flex-imgtxt:nth-child(odd),
    .flex-imgtxt.row-reserve {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column; /* 縦方向に並べる */
        margin-bottom: 40px;
    }
    .flex-imgtxt-img {
        width: 100%;
    }
    .flex-imgtxt-txt {
        padding: 15px;
    }
    .flex-imgtxt-txt-inner {
        max-width: 100%;
    }
    .section-imgtxt h3 {
        font-size: 22px;
    }
}

/* =========================================================
* コンテンツパーツ：会社概要
========================================================= */
.section-company {}

/* =========================================================
* コンテンツパーツ：背景有りコンテンツ
========================================================= */
.section-background{}

/* =========================================================
* コンテンツパーツ：アクセス
========================================================= */
.section-access {
    text-align: center;
}
.section-access h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}
.section-access .txt-read {
    
}

/* =========================================================
* コンテンツパーツ：アクセス（詳細）
========================================================= */
.section-access-detail {}

/* =========================================================
* コンテンツパーツ：電話・FAX
========================================================= */
.section-telfax {
    border-bottom: 1px solid #eee;
}

/* =========================================================
* コンテンツパーツ：メールフォーム
========================================================= */
.section-mailform {}

/* =========================================================
* 追加CSS（コメントを付けてわかりやすく記載して下さい）
========================================================= */
/* 各ページタイトル調整 */
@media (max-width: 768px) {
.page-hero {
    background-color: rgba(102,75,13,0.07);
    background-image: url(http://sagawa-c-jp.check-xserver.jp/wp/wp-content/uploads/ttl.jpg);
    background-size: 600px auto;
    background-position: right top;
    background-repeat: no-repeat;
    color: #ffffff;
    padding-top: 50px;
    padding-right: 15px;
    padding-bottom: 50px;
    padding-left: 15px;
    text-align: center;
    box-sizing: border-box;
}
.home .page-hero {
    background-color: rgba(102,75,13,0.07);
    background-image: none;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
}
}


/* トップページ 　診療内容 */
ul.top-icon{
    /* max-width: 1000px; 2023.7.31 8項目 */
    max-width: 900px; /* 7項目 */
    margin: 0 auto;
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
}
ul.top-icon li{
	width: 12.5%;
	text-align: center;
	font-weight: 500;
}
ul.top-icon li a{
	display: block;
	margin: 0 4px;
}
ul.top-icon li img{
	width: 100%;
	display: block;
	margin: 0 auto 5px auto;
	padding: 5px;
	vertical-align: middle;
	background: #f2f0ed;
	text-align: center;
	max-width: 100px;
}

@media (max-width: 768px) {
ul.top-icon{
	display: block;
}
ul.top-icon li{
	display: block;
	width: 100%;
	max-width: 100%;
	text-align: left;
	font-size: 18px;
	letter-spacing: 0.1em;
}
ul.top-icon li img{
	max-width: 50px;
	display: inline-block;
	margin: 5px 10px 5px 5px;
	padding: 2px;
	vertical-align: middle;
	background: #fff;
}
ul.top-icon li a{
	width: 100%;
	display: block;
	background: #f2f0ed;
	margin-bottom: 5px;
}
ul.top-icon li:nth-child(even) a{
	 background: #f7f7f7;
}
}

/* トップページ 各ページへのリンクバナー */
.top-link a{
	position: relative;
	width: 100%;
	display: block;
	border: solid 1px #efeada;
}
.top-link a img{
	z-index: 0;
}
.top-link a span{
	position: absolute;
	z-index: 1;
	bottom: 15px;
	right: 0;
	background: rgba(255,255,255,0.95);
	padding:  5px 20px;
	border-left: solid 10px #bf3c3c;
	font-weight: 500;
}
.top-link a:hover span{
	border-left: solid 10px #e08e3c;
}

/* 診療内容 */
.service-menu h3{
	font-family: 'M PLUS Rounded 1c', sans-serif;
   font-weight: 700;
	background: #f2f0ed;
}
.service-menu h3 img{
	max-width: 100px;
	vertical-align: middle;
	padding: 0 10px 0 0;
}
.kenshin-course th,
.kenshin-course td{
	text-align: center;
	padding: 10px;
}
.kenshin-course th{
	background: #bf3c3c!important;
	color: #fff!important;
}
.kenshin-course td:nth-child(2){
	text-align: left;
}
.kenshin-course tr:last-child td{
	font-weight: bold;
	text-align: center;
}
/* 院長紹介 */
.about-profile img{
	max-width: 200px;
}
.about-profile dl{
	display: table;
	border-top: dotted 1px #ddd;
	padding-top: 10px;
	max-width: 90%;
}
.about-profile dt{
	display: table-cell;
	min-width: 100px;
}
.about-profile dd{
	display: table-cell;
}

/*医院紹介 */
.gallery-item{
	margin-bottom: 1em;
}


/* 投稿タイトル調整 */
.entry-header .entry-title{
    border-bottom:  solid 2px #f2f0ed;
    padding-bottom: 0.5em;
}

/* 矢印つきタイトル */
.ttl-arrow {
	font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 700;
	color: #bf3c3c;
    font-size: 22px;
	background: #FEE4E5;
	display: inline-block;
	padding: 0.5em 1em;
	position: relative;
}
.ttl-arrow:after{
	top: 100%;
	left: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-color: rgba(0, 0, 0, 0);
	border-top-color: #f9d8d9;
	border-width: 10px;
	margin-left: -10px;
}

/* ボーダーつきリスト */
.border-list li{
	border-bottom:  dotted 1px #ddd;
	padding: 5px;
	list-style-type: none;
}
.border-list li:last-child{
	border-bottom:  none;
}

/*　tools 変更・追加 */
.center-left{
	text-align: center;
}
.center-left-inner{
	text-align: left;
	display: inline-block;
}
.page-link{
	margin-top: -80px;
	padding-top: 80px;
}
.border-bottom {
    border-bottom: 1px solid #eee;
}
.border-bottom-dotted {
    border-bottom: 1px dotted #eee;
}
.img-frame{
	background: #fff;
	padding: 2px;
	border: solid 4px #f2f0ed;
}
.txt-black {
    color: #474747!important;
}
.txt-brown {
    color: #714f4a!important;
}
.bg-white {
    background: #fff!important;
}
.bg-ivory {
    background: #f2f0ed!important;
}
.bg-light-yellow {
    background: #fbf8eb!important;
}
.bg-light-pink {
    background: #fbebeb!important;
}

