/*
管理画面／Web画面 両対応
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
 
#block.css
--------------------------------------------------------------*/
.sec{max-width: 1170px; width: 100%; margin: auto;}
.ts{ text-shadow: 1px 1px 3px #444; }
.bs{box-shadow: 2px 2px 4px #ccc;}
.bgW09{background: rgba(255,255,255,.9) !important;}

.wp-block {max-width: 1180px; margin-bottom: 80px;}
/*「幅広」ブロックの幅*/
.wp-block[data-align="wide"] {max-width: 1080px;}
/*「全幅」ブロックの幅*/
.wp-block[data-align=full] {max-width: none;}
.wp-block {  margin-bottom: 30px;}

.table_contact table,
.table_contact tbody,
.table_contact tr,
.table_contact td{display: block;color:#7D7163; font-size: 15px; background: #F6FBF5; border-color: #B6B6B6; padding: 15px; }
.table_contact td:first-child{color:#1F8043; background: #FDF4D8; }
@media screen and (min-width: 769px) {
.table_contact table{display:table;}
.table_contact tbody{display: table-row-group;}
.table_contact tr{display: table-row;}
.table_contact td{display: table-cell;}
}

.wp-block-table { overflow-x: auto;padding: 0 !important; }
.wp-block-table table { width: 100%}
.wp-block-table td, .wp-block-table th { padding: .5em;}
.wp-block-table.is-style-regular{background-color: #F6FBF5;}
.wp-block-table.is-style-regular th{color:#333; background: #F3F8E3;}
.wp-block-table table {
	border-collapse: collapse;
	border-spacing: 0;
	margin: 0 0 10px;
	border-color: #F3F8E3;
	}
.wp-block-table thead { border-bottom: 2px solid #B6B6B6;}
.wp-block-table tfoot { border-top: 2px solid #B6B6B6;}
.wp-block-table td,
.wp-block-table th{
font-size: 15px;
	border-collapse: collapse;
	border-spacing: 0;
	border-color: #CED9D9;
}
tfoot,
.wp-block-table th{ background: #D9F1EB; text-align: left;}
.wp-block-table.is-style-stripes{border-bottom:none;}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background-color: #EEF9F6;}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) th { background-color: #FCFCFC;}
.wp-block-table.is-style-stripes tbody tr:nth-child(even) th { background-color: #FDFDFD;}
table tr,
table td,
table th{	vertical-align: top;	height: auto !important;}

caption, th, td {padding: 8px 12px;}
caption{text-align: left;}
th p:last-child, td p:last-child,
th ul:last-child,td ul:last-child,
td table{margin-bottom: 0;}

/*Typography*/
h1,h2,h3,h4,h5,h6{ font-weight:700; line-height: 1.4;}
h1 {margin-bottom: 30px;}
h2{margin: 40px auto 24px; position: relative; }
.entry-content > h2{padding-left: 20px;}
h2::before{content:""; position: absolute; width: 5px; background:#EA5504; height: 100%; top: 0; left: 0;}
h2.is-style-nostyle, .entry-content h2.is-style-nostyle:first-child,
h2.is-style-nostyle{ margin-top: 0; padding-left: 0;}
h2.is-style-nostyle::before{ content: none;}

.entry-content h3{margin: 40px auto 24px;}
h3{ padding: 0px 0 5px 0; border-bottom: 1px dotted #B6B6B6;}
.entry-content h3.is-style-nostyle,
h3.is-style-nostyle{ padding: 0; margin-top: 0; border-bottom: none;}

.entry-content h4,
.entry-content h5,
.entry-content h6{margin: 30px auto 18px;}
h5{position: relative; color: #EA5504;}
h6{position: relative; padding-left: 16px;}
h6::before{content: "";position: absolute;top:10px;left:2px;width: 8px;height: 8px;background: #EA5504;}


/* 飾り見出し */
h2.point{font-size: 34px; font-size: 3.4rem; padding-left: 0 !important; margin: 30px auto 30px; padding: 0 !important; text-align: center; letter-spacing: -2px;}
h2.point::before{content: none;}
h2.point strong{font-size: 16px; font-size: 1.6rem; color:#EA5504; display: block; position: relative;letter-spacing: 0px;}
h2.point strong::before,
h2.point strong::after{content: "-"; width:16px;height:1px;color: #EA5504;}
h2.point strong::before{padding-right: 15px;}
h2.point strong::after{padding-left: 15px;}
h2.point.blue strong{color:#226DDC; padding-top: 10px;}
h2.point.blue strong::before,
h2.point.blue strong::after{color: #226DDC;}

@media print,screen and (min-width: 769px) {
 h2,
 .entry-content h2:first-child{margin: 80px auto 40px;}
 h2.point{margin: 40px auto 40px;}
 .entry-content h3,
 .entry-content h3:first-child{ margin: 60px auto 30px;}
 .entry-content h4,
 .entry-content h4:first-child,
 .entry-content h5,
 .entry-content h5:first-child,
 .entry-content h6,
 .entry-content h6:first-child{margin: 30px auto 30px;}
 .home .entry-content h3,
 .home .entry-content h3:first-child{ margin: 40px auto 30px;}
 h2.point.blue{font-size: 40px; font-size: 4rem;}
}
p{margin-top: 0;}

/* フォントサイズ */
.txtNormal,.has-txt-normal-font-size,.has-normal-font-size{font-size:18px;}
.txtSmall,.has-txt-small-font-size,.has-small-font-size{font-size:14px;}
.txtMedium,.has-txt-medium-font-size,.has-medium-font-size{font-size:20px;}
.txtLarge,.has-txt-large-font-size,.has-large-font-size{font-size:26px;}
.txtXLarge,.has-txt-x-large-font-size,.has-large-font-size{font-size:32px;}
.has-drop-cap:not(:focus):first-letter {font-size: 4em;}

a { color: #00283F; text-decoration: none;}
a:hover, a:focus, a:active { color: #00a0d2;}
a:focus { outline: thin dotted;}
a:hover, a:active { outline: 0;}

a:hover, a:focus, a:active { color:#EA5504;}
a:focus { outline: thin dotted;}
a:hover, a:active { outline: 0;}

/*--------------------------------------------------------------
# Block Styles
--------------------------------------------------------------*/
.sec{max-width: 1170px; width: 100%; margin: auto;}
.ts{ text-shadow: 1px 1px 3px #444; }
.bs{box-shadow: 3px 3px 4px #ccc;}

/* 角丸リンクボックス縦型 */
.boxLink{ padding: 0px 0 0 0 !important; position: relative;
 -webkit-border-radius: 10px;-moz-border-radius: 10px;border-radius: 10px; box-shadow: 2px 2px 4px #ccc;}
/*.boxLink{ padding: 300px 0 0 0 !important; position: relative;
 -webkit-border-radius: 10px;-moz-border-radius: 10px;border-radius: 10px; box-shadow: 2px 2px 4px #ccc;}
.boxLink a{position: absolute; width:100%; height: 100%; left: 0; top:0; padding-bottom: 300px;}
.boxLink p{width: 90% !important; margin-right: auto; margin-left: auto;}*/
.boxLink p:last-child{padding-bottom: 30px !important;}

/*
# wp-block-media-text
--------------------------------------------------------------*/
.wp-block-media-text .has-large-font-size{
    font-size: 18px;
}
/*
## File
--------------------------------------------------------------*/
.wp-block-file .wp-block-file__button { background: #BF3C3C;}
.wp-block-file__textlink .rich-text{text-decoration: underline;}


/*リンクアイコン設定*/
a[href$=".pdf"],a[href$=".zip"],a[href$=".gzip"],a[href$=".gz"],
a[href$=".pptx"],a[href$=".ppt"],a[href$=".docx"],a[href$=".doc"],
a[href$=".xlsx"],a[href$=".xls"]{position: relative; padding-right: 20px; display: inline-block;}
a[href$=".pdf"]::after,a[href$=".zip"]::after,a[href$=".gzip"]::after,a[href$=".gz"]::after,a[href$=".pptx"]::after,a[href$=".ppt"]::after,a[href$=".docx"]::after,a[href$=".doc"]::after,a[href$=".xlsx"]::after, a[href$=".xls"]::after{
content: "";
position: absolute;
width: 14px; height: 14px;
right:0; bottom:2px;
}
a[href$=".pdf"]::after{
width: 16px; height: 16px;
background: url(assets/images/icon_pdf.png) no-repeat 100% 0;
background-size: 16px 16px;
}
a[href$=".zip"]::after,a[href$=".gzip"]::after,a[href$=".gz"]::after{
width: 13px; height: 15px;
background: url(assets/images/icon_zip.png) no-repeat 100% bottom;
background-size: 13px 15px;
}
a[href$=".pptx"]::after,a[href$=".ppt"]::after{
background: url(assets/images/icon_ppt.png) no-repeat 100% 0;
background-size: 14px 14px;
}
a[href$=".docx"]::after,a[href$=".doc"]::after{
background: url(assets/images/icon_word.png) no-repeat 100% 0;
background-size: 14px 14px;
}
a[href$=".xlsx"]::after,a[href$=".xls"]::after{
background: url(assets/images/icon_excel.png) no-repeat 100% 0;
background-size: 14px 14px;
}
.wp-block-file__button{padding-right:1em !important;}
.wp-block-file__button::after{content: none !important;}
.noIco{background: none !important;padding:0 !important;}

/*外部リンク*/
a[target="_blank"]{padding-right: 26px !important; 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[target="_blank"]::after{bottom:15px;}
.wp-block-image a[target="_blank"]{padding-right: 0;}
.wp-block-image a[target="_blank"]::after{content: none;}

/*
# List
--------------------------------*/
ul,ol{margin:0 0 1.5em 0;}
li {margin-bottom: 10px; }
ul{ list-style: disc; list-style-position: outside; padding-left: 0;}
ul li { margin-left: 1.4em;}
ol { list-style: decimal; list-style-position: inside; padding-left: 24px;}
ol li>div{display: inline;}
ol li::marker { font-weight: bold;}
ol li li::marker{color: #00A759;}
li > ul, 
li > ol { margin-bottom: 0; }
ul ul,
ol ol,
ul ol,
ol ul { margin: 0 ;padding: 0;}
ul ul{ list-style: circle; padding-left: 0 !important;}
ul ul ul{list-style: square;}
ul li li { margin-left: 1.4em;padding: 0;}
ol li li { margin-left: 1.4em;padding: 0;}
.block-library-list ol{margin-left: 0 !important; margin-bottom:24px; padding-left: 0 !important;}
.block-library-list ul{margin-left: 0 !important;}

.list-style-none{list-style: none;}
.list-style-none li{ margin-left: 0;}

.is-style-check li{ position: relative; list-style: none;}
.is-style-check li::before{content: ""; position: absolute; width: 18px; height: 18px; left: -28px; top: 8px; background: url("assets/images/ico_check.svg") no-repeat; background-size: 18px;}
.is-style-check.blue li::before{background: url("assets/images/ico_check.svg") no-repeat;}

/*①②③…リスト
#primary ol { list-style-type: none; counter-reset: number;}
#primary ol li { position: relative; padding-left: 24px; text-indent: -24px;}
#primary ol li::before { content: counter(number); counter-increment: number; padding: 0 1em 0 0.2em;font-size: 16px;}
#primary ol li::after { content: ''; position: absolute; display: block; top: 18px; left: -2px; transform: translateY(-50%); width: 1em;  height: 1em;  border: 1px solid #00283F;  border-radius: 50%;}
#primary ol li ol li{list-style: none;}
#primary ol li ul li::before,#primary ol li ul li::after{content: none;}*/

dt { font-weight: bold;}
dd { margin: 0 0 16px 16px;}

/*
## .wp-block-button
--------------------------------*/
.wp-block-button__link{background-color:#EA5504; font-size: 1em;}
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button__link.is-style-outline,
.is-style-wide-outline .wp-block-button__link{ color: #EA5504; background-color: transparent; border: 1px solid; position: relative;}
.wp-block-button__link {position: relative;padding: 5px 35px 5px 20px;}
.wp-block-button .wp-block-button__link { position: relative; overflow: hidden;}
@media print,screen and (min-width: 769px) {.wp-block-button .wp-block-button__link { min-width: 260px;}}
.is-style-outline .wp-block-button__link,
.is-style-wide-outline .wp-block-button__link{background-color:transparent;border:1px solid;}
.is-style-outline .wp-block-button__link::before,
.wp-block-button .wp-block-button__link::before { position: absolute; content: ""; left: 0 ;top: 0; width:100%; padding-top: 100%; height: 100%;}
/* .wide button */
.is-style-wide-button .wp-block-button__link,
.is-style-wide-outline .wp-block-button__link{width:96%;padding: 20px 10px;}
.is-style-wide-outline{color:#EA5504;}
.wp-block-buttons .wp-block-button.is-style-wide-button,
.wp-block-buttons .wp-block-button.is-style-wide-outline{display: block; width: 100%; position: relative;}
/*icon*/
.wp-block-button__link::after{
position: absolute; content: ""; right:15px;top: 0; bottom: 0; margin: auto; width: 10px; height: 12px; 
background: url("assets/images/ico_go.svg") no-repeat;}
.is-style-outline .wp-block-button__link::after,
.is-style-wide-outline .wp-block-button__link::after{background: url("assets/images/ico_go2.svg") no-repeat;}

@media print,screen and (min-width: 769px) {
.wp-block-button{transition: .3s;}
.wp-block-button:hover{opacity: 0.8;}
.is-style-outline .wp-block-button__link:hover::before,
.wp-block-button .wp-block-button__link:hover::before {transition: 0.3s; color:rgba(0,0,0,0.3);}
}

/*--------------------------------------------------------------
# block.css
--------------------------------------------------------------*/

/*メディアと文章*/
.wp-block-media-text .wp-block-media-text__content { padding: 0 0 0 3%;}
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content { padding: 0 3% 0 0;}
.wp-block-media-text .wp-block-media-text__content p:first-child,
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content p:first-child{margin-top: 0 !important;}
.wp-block-media-text .wp-block-media-text__media img,
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media img{max-width: 100%;width: auto;}
.wp-block-media-text .wp-block-media-text__media {text-align: left;}
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media {text-align: right;}
/*## Color Palette*/
.has-black-color { color: #202020 !important;}
.has-black-background-color { background-color: #202020 !important;}
.has-white-color { color: #FFF !important;}
.has-white-background-color { background-color: #FFF !important;}
.has-gray-color { color: #B6B6B6 !important;}
.has-gray-background-color { background-color: #B6B6B6 !important;}
.has-light-gray-color { color: #EFEFEF !important;}
.has-light-gray-background-color { background-color: #EFEFEF !important;}
.has-orange-color { color: #EA5504 !important;}
.has-orange-background-color { background-color: #EA5504 !important;}
.has-green-color { color: #00A759 !important;}
.has-green-background-color { background-color: #00A759 !important;}
.has-yellow-color { color: #F8C830 !important;}
.has-yellow-background-color { background-color: #F8C830 !important;}
.has-light-blue-color { color:#EEF9F6 !important;}
.has-light-blue-background-color { background-color:#EEF9F6 !important;}
.has-light-yellow-color { color:#FCF7F2 !important;}
.has-light-yellow-background-color { background-color:#FCF7F2 !important;}

/*フキダシ
----------------------------*/
/*枠線2px*/
.fukidashi { position: relative; display: inline-block; min-width: 120px; max-width: 100%; background: #FFF; box-sizing: border-box;}
.fukidashi > ul:last-child,.fukidashi > p:last-child { margin-bottom: 0;}
.fukidashi::before,.fukidashi::after { content: ""; position: absolute; }
.fukidashi::before{border: 12px solid transparent; margin-top: -12px; z-index: 2;}
.fukidashi::after{border: 14px solid transparent; margin-top: -14px; z-index: 1;}

.fukidashi.fRight::before,.fukidashi.fRight::after{ transform: rotate(90deg);}
.fukidashi.fRight::before {right: 45.5%; border-left: 28px solid #FFF; bottom:-31px;}
.fukidashi.fRight::after {right: 45%; border-left: 32px solid #AEAEAE; bottom:-38px;}

.fukidashi.fLeft::before,.fukidashi.fLeft::after{ transform: rotate(90deg);}
.fukidashi.fLeft::before { right: 45.5%; border-right: 28px solid #FFF; top:-19px;}
.fukidashi.fLeft::after {right: 45%; border-right: 32px solid #AEAEAE; top:-26px;}

@media print,screen and (min-width: 769px) {
 .fRight{margin-right: 40px;}
 .fLeft{margin-left: 40px;}
 .fukidashi.fRight::before,.fukidashi.fRight::after{ transform: rotate(0);top: 60%; bottom: auto;}
 .fukidashi.fLeft::before,.fukidashi.fLeft::after{top: 60%; right: auto; transform: rotate(0);}
 .fukidashi.fRight::before { right: -40px;}
 .fukidashi.fRight::after {right: -48px;}
 .fukidashi.fLeft::before { left: -40px;}
 .fukidashi.fLeft::after {left: -48px;}
}
/*枠線なし*/
.fukidashi2 { position: relative; margin-top: 20px;}
.fukidashi2::before { content: ""; position: absolute;height: calc(40px / 2 * tan(60deg)); clip-path: polygon(50% 0, 100% 100%, 0 100%); background-color: inherit; top: -33px; left:0; right: 0; margin: auto; width: 30px;}
