/*!
Theme Name: customer perspective - kenvision
Theme URI: http://f-int.co.jp/cp/
Author: f-int.co.jp
Author URI: http://f-int.co.jp
Version: 1.0.0
Text Domain: customer-perspective
*/

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	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;
	clip-path: none;
	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. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
# 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;
}


/*  ADD STYLESHEET  */
.smb-container.c-container {
  width: 100%;
  padding: 0;
}
@media (min-width: 576px) {
  .smb-container.c-container {
    max-width: 540px; } }
@media (min-width: 768px) {
  .smb-container.c-container {
    max-width: 700px;
    } }
@media (min-width: 992px) {
  .smb-container.c-container {
    max-width: 910px;
    } }
@media (min-width: 1200px) {
  .smb-container.c-container {
    max-width: 1090px;
    } }
.smb-container__body p {
	margin-block-end: 1em;
}

pre {
	background: #CCC;
	display: block;
	margin:5px 0;
	border: 1px solid #999;
	border-radius: 5px;
}
.logged-in.admin-bar #nav {
	padding-top: 32px;
}

.wp-pagenavi {
	text-align: center;
	padding: 30px 0;
}
.wp-pagenavi > * {
	display: inline-block;
	padding: 5px 10px;
	margin: 0 5px;
	border-radius: 3px;
}
.wp-pagenavi > span.current {
	color: #212529;
	background-color: #F0F0F0;
	border-radius: 3px;
}
.wp-pagenavi > a {
	background-color: #212529;
	color: #F0F0F0;
}

h3.wp-block-heading {
	padding: 0;
	margin-block-end: .5em;
	font-size: 1rem;
}
.has-small-font-size > * {
	font-size: .8rem;
}

.cp-dl {
	display: grid;
	grid-template-columns: 5.5em 1fr;
	row-gap: .5em;
	column-gap: 1em;
	margin: 0;
}
.cp-dl__dt {
	margin: 0;
	font-weight: 700;
	white-space: nowrap;
}
.cp-dl__dd {
	margin: 0;
}
@media (max-width: 767px) {
	.cp-dl {
		grid-template-columns: 1fr;
		row-gap: .5em;
	}
	.cp-dl__dd {
		margin-bottom: .5em;
	}
}

.cp-column-box .wp-block-columns.is-layout-flex > .wp-block-column {
	margin-bottom: 1rem;
}
@media (max-width: 781px) {
	.cp-column-box .wp-block-columns.is-layout-flex > .wp-block-column {
	  border-bottom: 1px solid #FFF;
	  padding-bottom: 1rem;
	  margin-bottom: 1rem;
	}
	.cp-column-box .wp-block-columns.is-layout-flex:last-child > .wp-block-column:last-child {
	  border: 0;
	}
	.cp-column-box .wp-block-column .wp-block-column {
	  border-bottom: none !important;
	  padding-bottom: 0 !important;
	  margin-bottom: 0 !important;
	}
}

html {
	/* 固定ヘッダーの実高さはjs/offcanvas.jsが --nav-height に反映する(ウインドウ幅で連続的に変化するため) */
	scroll-padding-top: var(--nav-height, 80px);
}
