/*
Theme Name: CL依頼受付サイト専用テーマ
Author: CYBERLINKS CO.,LTD.
Author URI: https://www.cyber-l.co.jp/
Description: Customized theme based on block editor.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: management

All files except common.css and frontpage.css are released under GNU General Public License version 2.0 
(http://www.gnu.org/licenses/gpl-2.0.html)
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Links
# Accessibility
# Menus
# Alignments
# Widgets
# Posts and pages
# Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
	
▼ テーマ設定
----------------------------------------------------------------
【共通】
# header
# Primary Menu
 ## Relation Menu
# MainVisual
# Page Header（カテゴリータイトル）
 ## Topicpath
# primary
# sidebar
# footer
 ## widget-banner
 ## PageTop
 ## siteFooter
 ## copyright

【min-width:481（481px以上）】
 ## widget-banner

【min-width:769（769px以上）】
# header (769-)
# Primary Menu (769-)
 ## Relation Menu (769-)
# layout (769-)
# Footer (769-)

【margin（PC)】
【Privacy Poricy】

--------------------------------------------------------------*/
/* ログイン中のアドミンバー位置調整
@media print,screen and (min-width: 769px) {
.admin-bar #masthead{margin-top: 30px;}
} */

/*購読ボタン*/
.topic.bbpress #bbpress-forums #subscription-toggle{display: none !important;}
#bbpress-forums #subscription-toggle {margin-bottom: 5px; padding-top: 2px}
#bbpress-forums #subscription-toggle a{border: 1px solid #3289c7; border-radius: 4px; padding: 3px 10px; margin-left: 10px; }

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html { font-family: sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;}
body { margin: 0;}
article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {display: block;}
audio, canvas, progress, video {display: inline-block; vertical-align: baseline;box-sizing: border-box;}
audio:not([controls]) { display: none; height: 0;}
[hidden], template { display: none;}
a { background-color: transparent;}
a:active, a:hover { outline: 0;}
abbr[title] { border-bottom: 1px dotted;}
b, strong { font-weight: bold;}
dfn { font-style: italic;}
h1, h2, h3, h4, h5, h6 { clear: both;}
mark { background: #ff0; }
small { font-size: 80%;}
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline;}
sup { top: -0.5em;}
sub { bottom: -0.25em;}
img { border: 0;margin: 0;padding: 0;vertical-align: top;}
svg:not(:root) { overflow: hidden;}
figure { margin: 1em 40px;}
hr { box-sizing: content-box; height: 0;}
pre { overflow: auto;}
code, kbd, pre, samp { font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo;}
button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0;}
button { overflow: visible;}
button, select { text-transform: none;}
button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer;}
button[disabled], html input[disabled] { cursor: default;}
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0;}
input { line-height: normal;}
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0;}
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto;}
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none;}
fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em;}
legend { border: 0; padding: 0;}
textarea { overflow: auto;}
optgroup { font-weight: bold;}

/*コメント非表示*/
#comments{display: none;}
/*Facebook
.fb-container {	width: 100%;		max-width: 500px;	}
@media print,screen and (min-width: 481px) {
.fb-container {	width: 500px;}
}*/
/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
html {font-size:50%;box-sizing:border-box;}
body, button, input, select, optgroup, textarea {
 color: #00283F;
	font-size: 18px;
	font-size: 1.8rem;/*1rem=10px*/
	line-height: 1.75;
 font-weight: 500;
	font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo;
}
* {box-sizing: border-box;}
#page{overflow-x:hidden;}
article>.entry-header{margin-top: 0;}
.entry-header .entry-title { margin: 0 0 20px;}
dfn, cite, em, i { font-style: italic;}
blockquote { margin: 0 20px;}
address { margin: 0 0 10px;}
pre { line-height: 1.6; margin-bottom: 20px; max-width: 100%; overflow: auto; padding: 8px 16px;}
code, kbd, tt, var { font-size: 14px;font-size: 1.4rem;}
@media print,screen and (min-width: 769px) { code, kbd, tt, var {  font-size: 0.8125rem;}}
p > code { padding: 2px; border-radius: 2px; background: #f3f4f5; font-size: inherit;}
abbr, acronym { border-bottom: 1px dotted #666; cursor: help;}
mark, ins { background: #fff9c0; text-decoration: none;}
big { font-size: 125%;}
.small { font-size:13px; font-size: 1.3rem;}
h1,h2,h3,h4,h5,h6{ font-weight:500; line-height: 1.4;}
#primary .entry-title,
h1 { font-size: 34px; font-size: 3.4rem; font-weight:700;}
h2 { font-size: 30px; font-size: 3.0rem; font-weight:700;}
h3 { font-size: 24px; font-size: 2.4rem; font-weight:700;}
h4 { font-size: 20px; font-size: 2.0rem; font-weight:700;}
h5 { font-size: 20px; font-size: 2.0rem;}
h6 { font-size: 20px; font-size: 2.0rem;}
#primary h1,
.entry-content > h2:first-child,
.entry-header > h2:first-child{margin-top: 0 !important;}
#primary h1{margin-bottom: 26px; padding-bottom: 20px; position: relative;}
#primary h1::before,
#primary h1::after,
#primary h1::before,
#primary h1::after{content: "";position: absolute;right:0; bottom:0;width: 100%;height: 1px;}
#primary .entry-title::before,
#primary h1::before{ background: #A7B3BC;}
#primary .entry-title{margin-top:0;}
#primary h1 span{font-size: 24px; font-size: 2.4rem; }
#primary h1 .read{display: block; color:#2C5E7A;font-size: 18px; font-size: 1.8rem; }

#primary h2{margin: 60px auto 24px; padding: 12px 20px; position: relative; background: #E1F6F8;}
#primary h3{margin: 30px auto 24px; padding:0px 0 5px 0; border-bottom: 1px solid #CED9D9;}
#primary h4{margin: 30px auto 18px; color: #3B76BD;}
#primary h5{margin: 30px auto 18px; position: relative; padding-left:12px;}
#primary h5::before{content: "";position: absolute;top:0;left:0;width: 2px;height:100%;border-radius:2px;background: #3B76BD;}
#primary h6{margin: 30px auto 18px; position: relative; padding-left:12px;}
#primary h6::before{content: "";position: absolute;top:0;left:2px;width: 2px;height:100%;background: #CED9D9;}

#primary h2.h2point{
 text-align: center; font-size: 130%;padding: 0; margin-top:0px; margin-bottom: 40px;
 line-height: 1; background: none; border: none; position: relative;
}
#primary h2.h2point::before { content: ""; position: absolute; bottom: -14px; right: 0; left: 0; margin: auto; width: 150px; height:3px;	border-bottom: 3px dotted #009FAB;}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html { box-sizing: border-box;}
*, *:before, *:after { box-sizing: inherit;}
body { background: #fff;overflow-x: hidden; min-width: 320px;}
blockquote, q { quotes: """";}
blockquote:before, blockquote:after, q:before, q:after { content: "";}
hr { border: 0; height: 1px; margin-bottom: 24px;}
ul, ol { margin: 0; list-style: none;}
#primary ul { list-style: disc;margin-bottom:30px; }
#primary ol { list-style: decimal;margin-bottom:30px; padding-left: 24px;}
#primary li {margin-bottom: 10px; }
#primary li > ul, 
#primary li > ol { margin-top: 10px; margin-bottom: 0; }
dt { font-weight: bold;}
dd { margin: 0 0 16px 16px;}
img { height: auto; max-width: 100%;}
figure { margin: 16px 0;}
table { margin: 0 0 24px; width: 100%;}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button, input[type="button"], input[type="reset"], input[type="submit"] {
 color: #FFF;
 font-weight: 600;
 padding: 5px 30px;
 margin: 0 auto 5px;
 font-size: 16px;
 line-height: 30px;
 background: #3B76BD;
 border: 1px solid #3B76BD;
 border-radius: 3px;
}
button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { border-color: #3B76BD;}
button:active, button:focus, input[type="button"]:active, input[type="button"]:focus, input[type="reset"]:active, input[type="reset"]:focus, input[type="submit"]:active, input[type="submit"]:focus { border-color: #3B76BD;}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea,select {
 border: 1px solid #CED9D9;
 border-radius: 2px;
 padding:8px;
 line-height: 1.1; font-size: 16px; font-size: 1.6rem;
	height: auto !important;
 }
input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, 
select { border: 1px solid #CED9D9; padding:10px;height: auto;}
textarea { width: 100%; padding:10px;}
textarea:focus { color: #111;}
/*お問い合わせ*/
.wp-block-table .rbl_rwd select{width: auto;font-size: 15px; font-size: 1.5rem;}
.wp-block-table .rbl_rwd td{padding: 12px;position: relative;}
.required{color: #FFF; font-size: 13px; font-size: 1.3rem; text-align: center; line-height:20px; width: 50px;height: 20px;border-radius: 3px;background: #910000; white-space: nowrap;}
.wpcf7-submit{margin-top: 50px !important; display: block; width: 200px; padding: 10px !important;}
@media print,screen and (min-width: 481px) {
.required{position: absolute;top:15px;right:5px;}
}

@media print,screen and (max-width: 480px) {
 input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea,select {
 width: 100%;
 }
}

.search-form{order:-1;}
.search-submit{display: none;}
.search-field{ -webkit-border-radius: 18px;-moz-border-radius: 18px;border-radius: 18px;border: none;background: url("assets/images/ico_search.svg") no-repeat #F5F5F5; background-size: 20px 20px; padding: 0 8px; height: 40px; background-position: 95% 50%;}
input[type="search"]:focus{border: none;}

/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/
a { color: #3B76BD;}
a:hover, a:focus, a:active { color: #2E82E7; }
a:focus { outline: thin dotted;}
a:hover, a:active { outline: 0;}

/* 自動アイコン表示 */
a[href$=".pdf"],* html a.icon_pdf,
a[href$=".zip"],a[href$=".gzip"],a[href$=".gz"],* html a.icon_zip,
a[href$=".pptx"],* html a.icon_ppt,a[href$=".ppt"],* hmtl main a.ppt,
a[href$=".docx"],* html a.icon_doc,a[href$=".doc"],* hmtl main a.doc,
a[href$=".xlsx"],* html a.icon_xls,a[href$=".xls"],* html main a.xls{
position: relative; padding-right: 20px; display: inline-block;}
a[href$=".pdf"]::after,* html #primary a.icon_pdf::after,
a[href$=".zip"]::after,a[href$=".gzip"]::after,a[href$=".gz"]::after,* html main a.icon_zip::after,
a[href$=".pptx"]::after,* html a.icon_ppt::after,a[href$=".ppt"]::after,* hmtl main a.icon_ppt::after,
a[href$=".docx"]::after,* html a.icon_doc::after,a[href$=".doc"]::after,* hmtl main a.icon_doc::after,
a[href$=".xlsx"]::after,* html a.icon_xls::after,a[href$=".xls"]::after,* html main a.icon_xls::after{
content: "";position: absolute;width: 14px; height: 14px;right:0; bottom:2px;}
a[href$=".pdf"]::after,* html a.icon_pdf::after{width: 16px; height: 16px;
background: url(assets/images/ico_pdf.png) no-repeat 100% 0;background-size: 16px 16px;}
a[href$=".zip"]::after, a[href$=".gzip"]::after, a[href$=".gz"]::after,* html a.icon_csv::after{width: 13px; height: 15px;
background: url(assets/images/ico_zip.png) no-repeat 100% bottom;background-size: 13px 15px;}
a[href$=".pptx"]::after,* html a.icon_ppt::after,a[href$=".ppt"]::after,* hmtl main a.icon_ppt::after{
background: url(assets/images/ico_ppt.png) no-repeat 100% 0;background-size: 14px 14px;}
a[href$=".docx"]::after,* html a.icon_doc::after,a[href$=".doc"]::after,* hmtl main a.icon_doc::after{
background: url(assets/images/ico_word.png) no-repeat 100% 0;background-size: 14px 14px;}
a[href$=".xlsx"]::after,* html a.icon_xls::after,a[href$=".xls"]::after,* html main a.icon_xls::after{
background: url(assets/images/ico_excel.png) no-repeat 100% 0;background-size: 14px 14px;}
a[target="_blank"]{padding-right: 26px; position: relative}
a[target="_blank"]::after{content: "";position: absolute;width: 19px; height: 19px;top:0;bottom:0;right:0; margin: auto;background: url(assets/images/ico_blank.svg) no-repeat 0 0px;	background-size: 19px 19px;}

.wp-block-button a::after{ top:18px; right: 10px; }

/*添付ファイルはアイコンを付けない*/
.bbp-attachments a[href$=".pdf"]::after,
.bbp-attachments a[href$=".zip"]::after,.bbp-attachments a[href$=".gz"]::after,
.bbp-attachments a[href$=".pptx"]::after,.bbp-attachments a[href$=".ppt"]::after,
.bbp-attachments a[href$=".docx"]::after,.bbp-attachments a[href$=".doc"]::after,
.bbp-attachments a[href$=".xlsx"]::after,.bbp-attachments a[href$=".xls"]::after,.bbp-attachments a[target="_blank"]::after { content:none !important;background: none !important;}

.wp-block-button a[target="_blank"]::after{bottom:15px;}
.wp-block-image a[target="_blank"],
#siteFooter a[target="_blank"]{padding-right: 0;}
.wp-block-image a[target="_blank"]::after,
#siteFooter a[target="_blank"]::after{content: none;}

.wp-block-file__button{padding-right:1em !important;}
.wp-block-columns.BnrGroup a::after,
.bannerArea.imagesIcon a::after,
.wp-block-file__button::after{content: none !important;}
.wp-block-button a[target="_blank"]{padding-right: 30px;}
.wp-block-button a[target="_blank"]::after{top:15px;right:10px;}
.sd-content a[target="_blank"]::after{content:none;}

.noIco{background: none !important;padding:0 !important;}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
 clip: rect(1px, 1px, 1px, 1px);
 position: absolute !important;
 height: 1px;
 width: 1px;
 overflow: hidden;
 word-wrap: normal !important;
 /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
.screen-reader-text:focus {
 background-color: #f1f1f1;
 border-radius: 3px;
 box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
 clip: auto !important;
 color: #21759b;
 display: block;
 font-size: 14px;
 font-size: 0.875rem;
 font-weight: bold;
 height: auto;
 left: 5px;
 line-height: normal;
 padding: 15px 23px 14px;
 text-decoration: none;
 top: 5px;
 width: auto;
 z-index: 100000;
 /* Above WP toolbar. */
}
h2.screen-reader-text{display: none;}
/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus { outline: 0;}

/*--------------------------------------------------------------
# Menus
--------------------------------------------------------------*/
#primary .comment-navigation,
#primary .posts-navigation,
#primary .post-navigation {
 border-top: 1px solid #e2e4e7;
 margin: 30px auto 0px;
 padding-top: 15px;
 overflow: hidden;
 font-size: 15px; font-size: 1.5rem;
}
.nav-links { display: flex;}
.comment-navigation .nav-previous, .posts-navigation .nav-previous, .post-navigation .nav-previous { width: 50%; flex: 1 0 50%;}
.comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next { text-align: end; flex: 1 0 50%;}

.wp-pagenavi {text-align: center;}
.wp-pagenavi .pages,
.wp-pagenavi .first,
.wp-pagenavi .last,
.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.nextpostslink,
.wp-pagenavi .extend{border: none;}
.wp-pagenavi .page{background: #F6FBF5; border-color:#C6E6C0; }
.wp-pagenavi .current{background: #1F8043;border-color:#1F8043;color: #FFF;}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft, .alignright { max-width: 580px !important; width: 100%; }
.alignleft img, .alignright img, .alignleft figcaption, .alignright figcaption { max-width: 50%; width: 50%;}
.alignleft figcaption { clear: left;}
.alignright figcaption { clear: right;}
.alignleft img, .alignleft figcaption { float: left; margin-right: 1.5em;}
.alignright img, .alignright figcaption { float: right; margin-left: 1.5em;}
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto;}
/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget-area select { max-width: 100%;}
.widgettitle{color: #3B210A; margin-bottom: 10px;}
.widget { margin: 0 0 20px;}

/*--------------------------------------------------------------
# Posts and pages
--------------------------------------------------------------*/
.sticky { display: block;}
.hentry { margin: 0px 0;}
.updated:not(.published) { display: none;}
.page-content, .entry-content, .entry-summary { margin: 0 0 1.5em ;}
.entry-meta { color: #6c7781; font-size: 90%;}
.page-links { clear: both; margin: 0 0 1.5em;text-align: center;}
.post-page-numbers{font-weight: 600; padding: 0 10px;text-align: center;color: #3B210A; background:#F5F1E1; }
.page-header, .entry-footer, .site-info, .posts-navigation, .post-navigation, .page-navigation, .comments-area, .not-found .page-content, .search .entry-summary { margin: 1.5em auto; padding-left: 14px; padding-right: 14px; max-width: 1040px; width: 100%;}
.entry-header .wp-post-image { margin-bottom: 1.5em;}
.entry-footer span { margin-right: 1em;}
.entry-footer { color: #6c7781; font-size: 90%;}
.edit-link{display: none;}
.cat-links a{}

@media print,screen and (min-width: 769px) {
 .entry-header, .page-header, .entry-footer, .site-info, .posts-navigation, .post-navigation, .page-navigation, .comments-area, .not-found .page-content, .search .entry-summary {  padding-left: 0;  padding-right: 0; }
}
/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a { word-wrap: break-word;}
.bypostauthor { display: block;}
/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, .infinite-scroll.neverending .site-footer {
 /* Theme Footer (when set to scrolling) */
 display: none;
}
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
 display: block;
}
/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley, .entry-content .wp-smiley, .comment-content .wp-smiley {
 border: none;
 margin-bottom: 0;
 margin-top: 0;
 padding: 0;
}
/* Make sure embeds and iframes fit their containers. */
embed, iframe, object { max-width: 100%;}
/* Make sure logo link wraps around logo image. */
.custom-logo-link { display: inline-block;}
/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption { margin-bottom: 1.5em; max-width: 100%;}
.wp-caption img[class*="wp-image-"] { display: block; margin-left: auto; margin-right: auto;}
.wp-caption .wp-caption-text { margin: 0.8075em 0;}
.wp-caption-text { text-align: center;}
/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery { margin-bottom: 1.5em;}
.gallery-item { display: inline-block; text-align: center; vertical-align: top; width: 100%;}
.gallery-columns-2 .gallery-item { max-width: 50%;}
.gallery-columns-3 .gallery-item { max-width: 33.3333333333%;}
.gallery-columns-4 .gallery-item { max-width: 25%;}
.gallery-columns-5 .gallery-item { max-width: 20%;}
.gallery-columns-6 .gallery-item { max-width: 16.6666666667%;}
.gallery-columns-7 .gallery-item { max-width: 14.2857142857%;}
.gallery-columns-8 .gallery-item { max-width: 12.5%;}
.gallery-columns-9 .gallery-item { max-width: 11.1111111111%;}
.gallery-caption { display: block;}

.blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item{height: max-content;}

.blocks-gallery-grid .blocks-gallery-image figure, .blocks-gallery-grid .blocks-gallery-item figure, .wp-block-gallery .blocks-gallery-image figure, .wp-block-gallery .blocks-gallery-item figure { display: block;}
.blocks-gallery-grid .blocks-gallery-image figcaption, .blocks-gallery-grid .blocks-gallery-item figcaption, .wp-block-gallery .blocks-gallery-image figcaption, .wp-block-gallery .blocks-gallery-item figcaption {
    position: relative;
    bottom: none;
    width: 100%;
    max-height: 100%;
    overflow: visible;
    padding: 5px 10px;
    color: #7D7163;
    text-align: center;
    font-size: 12px !important;
    font-size: 1.2rem !important;
    line-height: 1.3;
    background:none;
}
.blocks-gallery-grid.is-cropped .blocks-gallery-image a, .blocks-gallery-grid.is-cropped .blocks-gallery-image img, .blocks-gallery-grid.is-cropped .blocks-gallery-item a, .blocks-gallery-grid.is-cropped .blocks-gallery-item img, .wp-block-gallery.is-cropped .blocks-gallery-image a, .wp-block-gallery.is-cropped .blocks-gallery-image img, .wp-block-gallery.is-cropped .blocks-gallery-item a, .wp-block-gallery.is-cropped .blocks-gallery-item img {    height: 200px !important;}
.blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item {flex-grow: 0;}

@media print,screen and (min-width: 481px) {
.blocks-gallery-grid .blocks-gallery-image figcaption, .blocks-gallery-grid .blocks-gallery-item figcaption, .wp-block-gallery .blocks-gallery-image figcaption, .wp-block-gallery .blocks-gallery-item figcaption {font-size: 15px !important;font-size: 1.5rem !important;line-height: 1.5;}
}
@media print,screen and (min-width: 600px) {
.blocks-gallery-grid.columns-3 .blocks-gallery-image, .blocks-gallery-grid.columns-3 .blocks-gallery-item, .wp-block-gallery.columns-3 .blocks-gallery-image, .wp-block-gallery.columns-3 .blocks-gallery-item{margin-right: 15px;}
}

/* --------------------------------------------------------------
▼ テーマ設定
--------------------------------------------------------------*/
/*#page{padding-top:70px;}*/
/* # header
--------------------------------*/
#masthead{ width: 100%; top:0; padding: 5px 0 15px 10px; text-align: center;/*border-bottom: 3px solid #3B76BD;*/}
.home #masthead{ border-bottom: none;}
#titArea{position: relative; margin: 0 auto; height: 50px; display: block;	}
#siteTitle{padding: 0;max-width: 400px; width: 100%; z-index: 9998; margin:0 20px 0 0;}
#siteTitle a{display: block; text-decoration: none;}
#logoCL{width: 100%; padding-right: 100px; height: 16px; display: flex;align-items: center;justify-content: center; margin:0 100px 0 0;	}

/*
# Primary menu
--------------------------------*/
#site-navigation{z-index: 9997;	}
#site-navigation a{display: block;text-decoration: none; color: #FFF;}
#menu-toggle {width:50px; height: 50px; padding: 0;	box-shadow: none;	background: rgba(255,255,255,0);	border: none;border-radius: 0px; outline: none;display: block; position: absolute; right: 10px; top: 10px; bottom:0; margin: auto;}
#menu-toggle:hover{	border-color:none;	box-shadow:none;	cursor:pointer;	border:none; }
#menu-toggle span {	background: #00283F;	position: absolute;	left: 0;right: 0; margin: auto;	width: 30px;	height:4px;-webkit-border-radius: 3px; -moz-border-radius: 3px;border-radius: 3px;}
#menu-toggle span:nth-of-type(1) {top:1px;}
#menu-toggle span:nth-of-type(2) {top:14px;}
#menu-toggle span:nth-of-type(3) {bottom:20px;}
.fixed #menu-toggle span:nth-of-type(1){-webkit-transform: translateY(13px) rotate(-45deg);	transform: translateY(13px) rotate(-45deg);}
.fixed #menu-toggle span:nth-of-type(2){opacity: 0;}
.fixed #menu-toggle span:nth-of-type(3){-webkit-transform: translateY(-13px) rotate(45deg);transform: translateY(-13px) rotate(45deg);}
#menu-toggle #tMenu{position: absolute;right: 0; bottom:0; font-size: 10px; line-height:1; color: #00283F;width: 50px;	height: 10px;text-align: center;	background: none;}

#navPanel {top:73px;visibility: hidden;opacity: 0;
position:fixed; right: 0;	padding-top: 40px; padding-bottom: 120px; 
max-width: 480px;width:0;		height:100%;	overflow-y: scroll;-webkit-overflow-scrolling: touch;
	background:#00283F;}
.admin-bar #navPanel{top:103px;}
.fixed #navPanel{width:100%;	z-index: 9998;visibility: visible;opacity: 1;transition: .5s;}

#primary-menu{margin: 30px 0; padding-left: 0;}
#primary-menu li{border-bottom:1px dotted #667B94; text-align: left;}
#primary-menu a{display:block; padding: 15px 25px;}
#site-navigation #bt_en{display: none;}
#navPanel #menu-sub {padding-left: 0;}
#navPanel #menu-sub a{display: block; padding: 10px;}
#masthead .bt_english a{line-height:20px; width: 100px ; margin: 20px auto; border:1px solid #FFFFFF;display: block; border-radius: 20px; background: #00283F;}
#masthead .bt_english a[target="_blank"] { padding-right: 0;}
#masthead .bt_english a[target="_blank"]::after{content: none;}
/*固定時*/
.fixed #contents{position:  static; opacity: .8;}
.fixed #page{	position: fixed !important;	z-index: 1;	top: 0px;	left: 0;	width: 100%;}
.fixed.admin-bar #page{top:32px;}

/*外観>メニュー リンクボタン*/
/*共通（home=#primary,mainnavi=#site-navigation）*/
.menu-mainnavi-container ul{	padding: 0; margin-bottom: 20px;}
.menu-mainnavi-container li{ list-style: none; width: 80%; margin:0 auto !important; border-bottom: 1px dotted #FCFCFC;}
.menu-mainnavi-container li:last-child{border-bottom: none;}
.menu-mainnavi-container li:hover{background: #E88153;}
.menu-mainnavi-container a{
	height: 100%;
 color: #FFF;
 font-weight: 600;
 padding: 10px 15px;
	text-align: left;
 margin: 0 auto;
	font-size: 16px;
	text-decoration: none;
}
/*home=#primary*/
#primary .menu-mainnavi-container ul{
	-js-display: flex;display: -webkit-box;display: -webkit-flex;display: -moz-box;display: -ms-flexbox; display: flex;
	flex-wrap: wrap; 
	margin-bottom: 30px;
}
#primary .menu-mainnavi-container li{
	width: 49.5%; margin:0 1% 10px 0 !important;
	line-height: 1.2;
 background: #FF9565;
 border-radius: 3px;
	border-bottom: none;
}
#primary .menu-mainnavi-container li:nth-child(2n){margin-right: 0 !important;}
#primary .menu-mainnavi-container a{
 font-size: 20px; font-size: 2.0rem;
	padding: 25px 30px;
	display: flex;	align-items: center;	justify-content:center;
}

/*ログイン・ログアウト*/
.btMypage,
.btLogout{
	max-width: 480px;
	width: 80%;
	padding: 2px 20px;
	white-space: nowrap;
	background: #F0F1F1;
	border: #CED9D9;
	font-weight: 700;
	margin: 5px auto;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
.btLogout{color: #0B2A3B !important;}
.btLogout:hover{background:#C0CECE; }
.btMypage{
	text-align: center;
	display: block;
	padding: 8px 30px;
	margin: 0 auto;
	margin-bottom: 10px;
	background: #3B76BD;
	border: #3B76BD;
	color: #FFF;
	text-decoration: none;
}
.btMypage:hover{ color: #FFF; background:#4D96ED; }

#titArea .btMypage{padding: 10px;max-width: 90px; width: 100%; margin:0 0 0 10px; position: absolute; right: 0; top: 10px;}

/*
## Page Header（カテゴリータイトル）
-------------------------------*/
#pageHead{
 background: url("assets/images/bg_h1.png") no-repeat center center #F2FAFF;
 background-size:cover;
 margin: 0 0 40px 0;
 max-width: none;
 -js-display: flex;display: -webkit-box;display: -webkit-flex;display: -moz-box;display: -ms-flexbox;display: flex;
	flex-wrap:wrap;
 align-items: center;
	height: 80px;
}
.home #pageHead{display: none;}
#pageHead .entry-title {max-width: 1040px;width: 100%; margin: 0 auto; z-index: 1;
 font-size:22px;font-size:2.2rem; line-height: 1;	box-sizing:border-box; 
}
#titContent{
	max-width: 1040px; width: 100%; margin: 0 auto;
 -js-display: flex;display: -webkit-box;display: -webkit-flex;display: -moz-box;display: -ms-flexbox;display: flex;
	flex-wrap:wrap;
	justify-content: space-between;	
}
#titContent .entry-title {width: auto; margin: auto 0;}
#titContent span{color: #3B76BD; font-weight: 700; background: rgba(255,255,255,.8); border-radius: 15px; padding: 3px 15px;}
/*
# primary
--------------------------------*/
.post_thumbnail,
.attachment-thumbnail,
.entry-content .attachment-post-thumbnail{margin-right: auto !important;margin-left: auto !important; margin-bottom: 20px; text-align: center;display: block;max-width:100% !important; width:auto;}

/*ログインウィンドウ*/
#boxLogin{
	background: #E1F6F8;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
	padding: 50px 15px;
	margin: 40px auto;
}
#boxLogin dl{max-width: 500px; width: 90%; margin: 0 auto;}
#boxLogin dt{font-weight: 700; color: #3B76BD;}
#boxLogin dd{margin-left: 0;}
#boxLogin dd input{width: 100%; background-color: #FFF !important;}
#boxLogin #btSubmit{	margin-top: 30px;text-align: center;}
/*
# sidebar
--------------------------------*/
#secondary .widget_nav_menu{padding-bottom: 20px;}
#secondary h2{color: #0B2A3B; background:#E1F6F8; font-weight: 500;font-size:20px; font-size:2.0rem;text-align: center; margin-bottom: 0;}
#secondary h2:first-child{margin-top:0;}
#secondary h2 a{color: #0B2A3B;text-decoration: none;display: block;padding:15px;}
#secondary h2 a:hover{background:#E9E9E9;}
#secondary h3 a,
#secondary h3{font-size:18px; font-size:1.8rem;color:#3B76BD;}
#secondary h3 {width: 90%; margin: 0 auto 10px;}
 #secondary{margin-right: auto; margin-left: auto;}
#secondary .menu {width:100%; margin: 0 auto; font-size: 18px; font-size: 1.8rem;list-style: none; margin-left: 0;padding: 0;}
#secondary .menu li{border-bottom: 1px dashed #A7B3BC; line-height: 1.3;}
#secondary .menu li a{display: block; text-decoration: none;color: #0B2A3B;padding:8px 10px 8px 20px; position: relative;}
#secondary .menu li a::before{
	content: "";
 position: absolute; top:16px; left: 4px; 
	width: 8px;height: 8px;
 border-top: 2px solid #3B76BD;
 border-right: 2px solid #3B76BD;
 -webkit-transform: rotate(45deg);
 transform: rotate(45deg);
}
#secondary li ul{padding-left: 0;font-size: 15px; font-size: 1.5rem; margin-bottom: 5px;}
#secondary .menu li li{position: relative; padding-left: 16px; border-bottom: none;}
#secondary li li:last-child{border-bottom: none;}
#secondary .menu li li a::before{	top:18px; border-right:none; -webkit-transform: rotate(0deg);	transform: rotate(0deg);}
#secondary .menu li.current_page_item > a{color: #3B76BD;}
/* 
# footer
--------------------------------*/

.home .entry-content,
.home .page-content,
.home #primary,
.home .entry-footer{margin-bottom: 0 !important;}

.sharedaddy{margin-top: 60px !important;}
.entry-meta{ margin: 60px auto 0;	width: 94%;}
#editTime{ font-size: 14px; font-size: 1.4rem; text-align: right;}
.page #editTime{ margin-top: 40px; margin-bottom: 0;}

@media print,screen and (min-width: 769px) {
	#pageHead{height: 100px;	/*height: 180px;*/}
.entry-meta{width: 100%;}
}

/* ## PageTop
-----------------*/
.pagetop,.pagetop a{	width: 40px;	height: 40px;}
.pagetop {	position: fixed;	z-index: 9996;	bottom:10px;	right: 10px;}
.pagetop a {	display: block;	position: relative;	background: #FFCA00; border-radius: 20px;}
.pagetop a::after{ margin: auto; content: ""; height: 15px;	position: absolute;	top:0;right:0;bottom:0;left:0;	}
.pagetop a::after{ width: 15px; border-top: 2px solid #00283F; border-right: 2px solid #00283F; -datawebs_parentkit-transform: rotate(-45deg); transform: rotate(-45deg);}

/* ## siteFooter
-----------------*/
#siteFooter{ background:#3B76BD; padding: 0 10px; position: relative; text-align: center;font-size: 14px;font-size: 1.4rem;}
#siteFooter a{text-decoration: none; color: #FFF;}
#siteFooter ul{margin: 0; padding-left: 0;
-js-display: flex;display: -webkit-box;display: -webkit-flex;display: -moz-box;display: -ms-flexbox;display: flex;
	flex-wrap: wrap;justify-content:center;}
#siteFooter li{width: 45%; margin: 2px;}
#siteFooter li a{display: block; padding: 5px; border: 1px solid #FFF;}
.fLogo{margin-bottom:30px;}

/* ## copyright
-----------------*/
#copy {
 color: #FFF;text-align: center;font-size: 12px; font-size: 1.2rem; 
 padding: 10px 8px; margin:0 !important;
 font-family: Verdana, "Droid Sans", "Lucida Grande", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, メイリオ, sans-serif; 
}


/*---------------------------
▼ min-width:481（481px以上）
---------------------------*/
@media print,screen and (min-width: 481px) {
body.fixed #contents{opacity:1; position: static;}
/* # header (481)
--------------------------------*/
#masthead{padding: 10px 0;}
#pageHead .entry-title {font-size:34px;font-size: 3.4rem;}
#titArea{-js-display: flex;display: -webkit-box;display: -webkit-flex;display: -moz-box;display: -ms-flexbox;display: flex; align-items: center;}
#logoCL{max-width: 220px; width: 100%; height: 100%; display: flex;align-items: center;}
#secondary h2{font-size:26px; font-size:2.6rem;}
	
#siteFooter ul{	flex-wrap: nowrap;}
#siteFooter li{width: auto; margin: 2px 8px;}
#siteFooter li a{display: block; padding: 5px; border:none;}
#siteFooter li a:hover{text-decoration: underline;}
	
/* end min-width: 481px */ }
/*---------------------------
▼ min-width:769（769px以上）
---------------------------*/
@media print,screen and (min-width: 769px) {
a{transition: 0.5s;}
html {font-size:62.5%;box-sizing:border-box;}
/*#page{padding-top: 100px;}*/
/* # header
--------------------------------*/
#titArea{justify-content: space-between;display: flex; height: 80px; position: relative;}
#logoCL{max-width: 270px;margin: 0 auto 0 0;}
#navPanel{top:103px;}
.admin-bar #navPanel { top: 135px;}
/*外観>メニュー リンクボタン*/
/*home=#primary*/
#primary .menu-mainnavi-container li{width: 24.2%;}
#primary .menu-mainnavi-container li:nth-child(2n){margin-right: 1% !important;}
#primary .menu-mainnavi-container li:nth-child(4n){margin-right: 0 !important;}
#titArea .btMypage{padding: 10px;max-width: 120px; width: 100%; margin:0 0 0 10px;position: relative; top: auto;}
.btMypage{	padding: 15px 80px; margin-bottom: 20px;}
.btLogout{	padding: 5px 80px;}

#titContent{flex-wrap: nowrap;}
#titContent span{white-space: nowrap;}
	
.search-form{order:3; height: 100%;padding-left: 10px;
-js-display: flex;display: -webkit-box;display: -webkit-flex;display: -moz-box;display: -ms-flexbox;display: flex; align-items: center;}
.search-field{border:1px solid #667B94;width: 160px;}

/* 
## layout (769-)
-----------------*/
#primary{width: 100%;margin:0 auto 40px; }
.entry-content > *{max-width: 1080px;width: 100%;margin:0 auto 40px;}
#secondary{max-width:230px; width: 100%; margin-left: 2.5%; flex-shrink:2;}
#contents{
	margin: 0 auto 0;	width: 100%;
 -js-display: flex;display: -webkit-box;display: -webkit-flex;display: -moz-box;display: -ms-flexbox;display: flex;
	align-items: flex-start;
}
#contents.withSide{max-width: 1040px; width: 100%;}
.withSide #primary{max-width: 820px; width: 100%;}

/*
## Sidebar
------------------*/
#secondary .menu li li {display: none;}
#secondary .menu .industry li {display: block;}
#secondary .menu .current_page_item li,
#secondary .menu .current_page_ancestor li {display: block;}

/* 
## Footer (769-)
-----------------*/
.pagetop {	bottom: 40px;	right: 20px; left: auto;}
#siteFooter .widget-area{padding: 10px; width: 100%;}

/* end min-width: 769px */ }

/*---------------------------
▼ margin（PC)
---------------------------*/

@media print,screen and (min-width:1180px) {
#titArea{max-width: 1200px; width: 100%;}
#primary-menu li{font-size: 16px; font-size: 1.6rem;}
 }
@media print,screen and (max-width:1240px) {
	
#titContent{	width: 94%;}	
#titArea{width: 94%; margin-left: auto; margin-right: auto;align-items: center;}
#secondary{width: 94%; margin-left: auto; }
.entry-content > *,
#pageHead .entry-title{width: 94%;}

#siteFooter .widget-area{margin:0 20px 40px;} 
#contents{margin:0 0 40px;} 
}

@media print {
#page{ overflow-y: visible; overflow-x: visible;}
#masthead {position: relative;}
.admin-bar #masthead{margin-top: 0;}
#page {padding-top: 0px;}
.pagetop {	position: relative;width: 100%;}
.pagetop a{ position: absolute;top:80px; right: 10px;}
/* end  @media print */}

#bbp_topic_subscription{display:none !important;}
label[for="bbp_topic_subscription"]{display:none !important;}
.bbp-reply-author a{pointer-events: none; text-decoration: none; }
