@charset "UTF-8";
/*
Theme Name: 渡辺板金工業
Version: 1.3
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Variables
# Normalize
# Typography
	## Headings
	## Copy
# Elements
	## Lists
	## Tables
# Forms
	## Buttons
	## Fields
# Navigation
	## Links
	## Menus
	## Next & Previous
# Accessibility
# Alignments
# Clearings
# Layout
# Widgets
# Content
	## Front page
	## Posts and pages
	## Archives
	## Comments
# Blocks
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/* Normalize */
@import url("normalize.css");


/* Typography */
html {
	font-size: 16px;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: #333;
	font-family: sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.2;
	margin: 0;
	text-rendering: optimizeLegibility;
}

button,
input,
select,
optgroup,
textarea {
	color: #111;
	font-weight: 400;
	line-height: 1.8;
	text-rendering: optimizeLegibility;
}


.main-navigation,
.page-description,
.not-found .page-title,
.error-404 .page-title,
.site-title,
h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1.2;
}


h1 {
	font-size: 2.25em;
}


.entry-title,
.not-found .page-title,
.error-404 .page-title,
.has-larger-font-size,
h2 {
	font-size: 1.6875em;
}

h3 {
	font-size: 1.6875em;
}

.site-title,
.nav-links,
.page-title,
.page-description,
h2.author-title,
p.author-bio,
h4 {
	font-size: 1.125em;
}

.pagination .nav-links,
h5 {
	font-size: 0.88889em;
}

.entry-meta,
.entry-footer,
.discussion-meta-info,
.site-info,
.has-small-font-size,
.sticky-post,
img:after,
h6 {
	font-size: 0.71111em;
}

.site-title,
.page-title {
	font-weight: normal;
}

/*.page-description,*/
.page-links a {
	font-weight: bold;
}

.post-navigation .post-title,
.entry-title,
.not-found .page-title,
.error-404 .page-title,
blockquote {
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	word-break: break-word;
	word-wrap: break-word;
}

@media only screen and (min-width: 768px) {
	h1 {
		font-size: 2.8125em;
	}
	.entry-title,
	.not-found .page-title,
	.error-404 .page-title,
	.has-larger-font-size,
	h2 {
		font-size: 2.25em;
	}
	/* Do not hyphenate entry title on tablet view and bigger. */
	.entry-title {
		-webkit-hyphens: none;
		-moz-hyphens: none;
		-ms-hyphens: none;
		hyphens: none;
	}
}

p {
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote cite {
	font-size: 0.71111em;
	font-style: normal;
}

pre {
	font-size: 0.88889em;
	font-family: "Courier 10 Pitch", Courier, monospace;
	line-height: 1.8;
	overflow: auto;
}

code,
kbd,
tt,
var {
	font-size: 0.88889em;
	font-family: Menlo, monaco, Consolas, Lucida Console, monospace;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
background: #fff9c0;
text-decoration: none;
}

big {
	font-size: 125%;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

a:focus {
	text-decoration: underline;
}

.large {
	font-size: 1.125em;
}
.larger {
	font-size: 1.25em;
}
@media only screen and (min-width: 768px) {
	.larger {
		font-size: 1.825em;
	}
}

/* Elements */
html {
	box-sizing: border-box;
}

::-moz-selection {
	background-color: #bfdcea;
}

::selection {
	background-color: #bfdcea;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

body {
	background-color: #fff;
}

a {
	transition: color 110ms ease-in-out;
	color: #0059b2;
}

a:hover,
a:active {
	color: #005177;
	outline: 0;
	text-decoration: none;
}

a:focus {
  outline: thin;
  outline-style: dotted;
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  margin: 1rem 0;
}


hr {
  background-color: #767676;
  border: 0;
  height: 2px;
}

ul,
ol {
  padding-left: 1rem;
}

ul {
  list-style: disc;
}

ul ul {
  list-style-type: circle;
}

ol {
  list-style: decimal;
}

li {
  line-height: 1.8;
}

li > ul,
li > ol {
  padding-left: 2rem;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 1rem 1rem;
}

img {
  height: auto;
  max-width: 100%;
  position: relative;
}

figure {
  margin: 0;
}
figure img {
	vertical-align: bottom;
}

blockquote {
  border-left: 2px solid #0059b2;
  margin-left: 0;
  padding: 0 0 0 1rem;
}

blockquote > p {
  margin: 0 0 1rem;
}

blockquote cite {
  color: #767676;
}

table {
  margin: 0 0 1rem;
  border-collapse: collapse;
  width: 100%;
}

table td,
table th {
  padding: 0.5em;
  border: 1px solid #767676;
  word-break: break-all;
}

/* Forms */
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	transition: background 150ms ease-in-out;
	background: #0059b2;
	border: none;
	border-radius: 0;
	box-sizing: border-box;
	color: #fff;
	display: inline-block;
	font-size: 1.125em;
	font-weight: 500;
	line-height: 1.2;
	outline: none;
	padding: 0.76rem 1rem;
	text-decoration: none;
	vertical-align: bottom;
}
.button--recruit--new {
	background-color: #0085b2;
}
.button--recruit--career {
	background-color: #00b2b2;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #444;
	color: #fff;
	cursor: pointer;
}

.button:visited,
button:visited,
input[type="button"]:visited,
input[type="reset"]:visited,
input[type="submit"]:visited {
	color: #fff;
	text-decoration: none;
}

.button:focus,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
	background: #444;
	outline: thin dotted;
	outline-offset: -4px;
}

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 {
  -webkit-backface-visibility: hidden;
  background: #fff;
  border: solid 1px #ccc;
  box-sizing: border-box;
  outline: none;
  padding: 0.36rem 0.66rem;
  -webkit-appearance: none;
  outline-offset: 0;
  border-radius: 0;
}

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,
textarea:focus {
  border-color: #0059b2;
  outline: thin solid rgba(0, 115, 170, 0.15);
  outline-offset: -4px;
}

input[type="search"]::-webkit-search-decoration {
  display: none;
}

textarea {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 100%;
  resize: vertical;
}

form p {
  margin: 1rem 0;
}

/* Navigation */
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	transition: color 110ms ease-in-out;
	color: #0059b2;
}

a:visited {
	color: #0059b2;
}

a:hover,
a:active {
	color: #005177;
	outline: 0;
	text-decoration: none;
}

a:focus {
	outline: thin dotted;
	text-decoration: underline;
}

@media only screen and (min-width: 768px) {
	a[href^="tel:"] {
		cursor: default;
		pointer-events: none;
	}
}
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
/** === Main menu === */
.main-navigation {
	display: block;
}

@media only screen and (max-width: 767px) {
	.main-navigation {
		position: absolute;
		top: 56px;
		left: 0;
		width: 100%;
		z-index: 10;
	}
	.main-navigation ul {
		list-style: none;
		margin: 0;
		padding: 0;
	}
	.main-navigation a {
		background-color: #eee;
		color: #0059b2;
		display: block;
		font-size: 1.125rem;
		font-weight: 600;
		padding: 0.8em 1em;
	}
	.main-navigation .current-menu-item a {
		background-color: #ddd;
	}


	/* Menu toggle */
	.menu-toggle {
		border: 0;
		-webkit-box-shadow: none;
		box-shadow: none;
		margin: 0;
		padding: 0;
		text-shadow: none;
	
		height: 44px;
		width: 44px;
		position: absolute;
		top: 6px;
		right: 6px;
	}
	.menu-toggle:hover {
		background-color: #444;
	}
	/* Dropdown Toggle */
	.menu-toggle .trigger-icon,
	.menu-toggle .trigger-icon::before,
	.menu-toggle .trigger-icon::after{
		display: block;
		position: absolute;
		width: 28px;
		height: 3px;
		background-color: #fff;
	}
	.menu-toggle .trigger-icon {
		top: 20px;
		left: 8px;
	}
	.menu-toggle .trigger-icon::before,
	.menu-toggle .trigger-icon::after {
		content: "";
		left: 0;
	}
	.menu-toggle .trigger-icon::before {
		top: -10px;
	}
	.menu-toggle .trigger-icon::after{
		top: 10px;
	}
	.menu-open.menu-toggle .trigger-icon {
		background-color: transparent;
	}
	.menu-open.menu-toggle .trigger-icon::before,
	.menu-open.menu-toggle .trigger-icon::after {
		top: 0;
	}
	.menu-open.menu-toggle .trigger-icon::before {
		transform: rotate( -45deg );
	}
	.menu-open.menu-toggle .trigger-icon::after {
		transform: rotate( 45deg );
	}
}
@media only screen and (min-width: 768px) {
	.menu-toggle {
		display: none;
	}
	.menu-global-container {
		display: block !important;
	}

	.main-navigation {
		position: absolute;
		top: 46px;
		left: auto;
		right: 220px;
		width: auto;
	}
	.main-navigation ul {
		display: flex;
		justify-content: space-between;
		list-style: none;
		margin: 0;
		padding: 0 0.1rem;
	}
	.main-navigation a {
		color: #000;
		display: block;
		font-size: 0.9375rem;
		padding: 0.5em .5vw;
	}
	.main-navigation a:hover,
	.main-navigation .current-menu-item a {
		color: #0059b2;
		position: relative;
	}
	.main-navigation .current-menu-item a::after {
		background-color: #0059b2;
		content: "";
		display: block;
		height: 3px;
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
	}
}
@media only screen and (min-width: 920px) {
	.main-navigation a {
		font-size: 1rem;
		padding: 0.5em 1.5vw;
		font-size: 1.0625rem;
	}
}
@media only screen and (min-width: 1248px) {
	.main-navigation {
		top: 26px;
		left: 275px;
	}
	.main-navigation a {
		padding: 0.5em 0.8em;
	}
}
@media only screen and (min-width: 1400px) {
	.main-navigation {
		top: 26px;
		left: 450px;
		right: 240px;
	}
}



/*--------------------------------------------------------------
## Next / Previous
--------------------------------------------------------------*/
/* Next/Previous navigation */
.post-navigation {
	margin: 3rem 0;
}

@media only screen and (min-width: 768px) {
	.post-navigation {
		margin: 3rem 10%;
	}
}

@media only screen and (min-width: 960px) {
	.post-navigation {
		margin: 3rem calc(50% - 460px);
	}
}

.post-navigation .nav-links {
	margin: 0 1rem;
	max-width: 100%;
	display: flex;
	flex-direction: column;
}

@media only screen and (min-width: 768px) {
	.post-navigation .nav-links {
		margin: 0;
	}
}

@media only screen and (min-width: 1168px) {
	.post-navigation .nav-links {
		flex-direction: row;
		max-width: calc( 50% - 1rem );
	}
}

/*.post-navigation .nav-links a .meta-nav {
color: #767676;
user-select: none;
}*/

.post-navigation .nav-links a .meta-nav:before, .post-navigation .nav-links a .meta-nav:after {
  display: none;
  content: "—";
  width: 2em;
  color: #767676;
  height: 1em;
}

.post-navigation .nav-links a .post-title {
  hyphens: auto;
}

.post-navigation .nav-links a:hover {
  color: #005177;
}

@media only screen and (min-width: 1168px) {
  .post-navigation .nav-links .nav-previous,
  .post-navigation .nav-links .nav-next {
    min-width: calc(50% - 2 * 1rem);
  }
}

.post-navigation .nav-links .nav-previous {
  order: 2;
}

@media only screen and (min-width: 1168px) {
  .post-navigation .nav-links .nav-previous {
    order: 1;
  }
}

.post-navigation .nav-links .nav-previous + .nav-next {
  margin-bottom: 1rem;
}

.post-navigation .nav-links .nav-previous .meta-nav:before {
  display: inline;
}

.post-navigation .nav-links .nav-next {
  order: 1;
}

@media only screen and (min-width: 1168px) {
  .post-navigation .nav-links .nav-next {
    order: 2;
    padding-left: 1rem;
  }
}

.post-navigation .nav-links .nav-next .meta-nav:after {
  display: inline;
}

.pagination {
	margin-bottom: 5rem;
	margin-top: 5rem;
}
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	line-height: 1.6;
	padding: 0 .5rem;
}

.pagination .nav-links > * {
  padding: .5rem;
}

.pagination .nav-links > *.dots, .pagination .nav-links > *.prev {
  padding-left: 0;
}

.pagination .nav-links > *.dots, .pagination .nav-links > *.next {
  padding-right: 0;
}

.pagination .nav-links a:focus {
  text-decoration: underline;
  outline-offset: -1px;
}

.pagination .nav-links a:focus.prev, .pagination .nav-links a:focus.next {
  text-decoration: none;
}

.pagination .nav-links a:focus.prev .nav-prev-text,
.pagination .nav-links a:focus.prev .nav-next-text, .pagination .nav-links a:focus.next .nav-prev-text,
.pagination .nav-links a:focus.next .nav-next-text {
  text-decoration: underline;
}

.pagination .nav-links .nav-next-text,
.pagination .nav-links .nav-prev-text {
  display: none;
}

@media only screen and (min-width: 768px) {
  .pagination .nav-links {
    margin-left: calc(10% + 60px);
    padding: 0;
  }
  .pagination .nav-links .prev > *,
  .pagination .nav-links .next > * {
    display: inline-block;
    vertical-align: text-bottom;
  }
  .pagination .nav-links > * {
    padding: 1rem;
  }
}


.site-path {
	font-size: 0.85rem;
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 1rem 0;
}


/* 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 {
  /*rtl:ignore*/
  float: left;
  /*rtl:ignore*/
  margin-right: 1rem;
}

@media only screen and (min-width: 768px) {
  .alignleft {
    /*rtl:ignore*/
    margin-right: calc(2 * 1rem);
  }
}

.alignright {
  /*rtl:ignore*/
  float: right;
  /*rtl:ignore*/
  margin-left: 1rem;
}

@media only screen and (min-width: 768px) {
  .alignright {
    /*rtl:ignore*/
    margin-left: calc(2 * 1rem);
  }
}

.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;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
/** === Layout === */
#page {
  width: 100%;
}

.site-content {
  overflow: hidden;
}

@media only screen and (min-width: 768px) {
	.sp-only {
		display: none;
	}
}
@media only screen and (max-width: 767px) {
	.sp-none {
		display: none;
	}
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

@media only screen and (min-width: 768px) {
	/* when the library loads, each [data-delighter] 
	      gets the .delighter class */
	
	.delighter {
		transition: all .3s ease-in-out;
		/*transform: translateX(-100%);*/
		opacity: 0;
	}
	
	/* the .started class is set when the top
	of [data-delighter] is at 0.75 of the viewport 
	(where 0 is top and 1 is bottom) */
	
	.delighter.started {
		transform: none;
		opacity: 1;
	}
	
	/* an extra .ended state is set when the bottom 
	of [data-delighter] is at 0.75 of the viewport
	(where 0 is top and 1 is bottom) */
	
	.delighter.started.ended {
		/*border: solid red 10px;*/
	}
	
	.sec-pickups.delighter,
	.sec-business.delighter,
	.sec-recruit.delighter {
		opacity: 0;
		transition: all .7s ease-in;
	}
	.sec-pickups.delighter.started,
	.sec-business.delighter.started,
	.sec-recruit.delighter.started {
		opacity: 1;
	}
	
	/*.sec-pickups .catch-copy.delighter {
		transition: all 1s ease-in;
		opacity: 0;
	}
	.sec-pickups .catch-copy.delighter.started {
		opacity: 1;
	}*/
	
	.pickup-item.delighter {
		transform: translateY(50%);
		transition: all .5s ease-in-out;
	}
	/*.pickup-item.delighter:nth-of-type(1) {
		transition-delay: .1s;
	}
	.pickup-item.delighter:nth-of-type(2) {
		transition-delay: .2s;
	}
	.pickup-item.delighter:nth-of-type(3) {
		transition-delay: .3s;
	}
	.pickup-item.delighter:nth-of-type(4) {
		transition-delay: .4s;
	}*/
	.pickup-item.delighter.started {
		transform: none;
		opacity: 1;
	}
	#main .pickup-item.delighter.started:hover {
		transform: scale(1.05);
		position: relative;
		z-index: 5;
		transition: all .2s ease-in-out;
		box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.2);
	}
	
	
	
	.business-type.delighter {
		transform: translateY(50%);
		transition: all .5s ease-in-out;
	}
	.business-type.delighter:nth-of-type(1) {
		transition-delay: .1s;
	}
	.business-type.delighter:nth-of-type(2) {
		transition-delay: .2s;
	}
	.business-type.delighter:nth-of-type(3) {
		transition-delay: .3s;
	}
	.business-type.delighter.started {
		transform: none;
		opacity: 1;
	}
}/*PCの時だけで良い気がする*/



/*--------------------------------------------------------------
## Header
--------------------------------------------------------------*/
.site-header {
	background-color: #fff;
	/*box-shadow: 0 0 2px 2px rgba(0,0,0, 0.2);*/
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 10;
}
.site {
	padding-top: 56px;
}
.home .site {
	/*padding-top: 0px;*//*ヘッダを被せない*/
}
.admin-bar .site-header {
	padding-top: 46px;
}
@media only screen and (min-width: 768px) {
	.admin-bar .site-header {
		padding-top: 32px;
	}
	.site {
		padding-top: 95px;
	}
	.home .site {
		padding-top: 35px;
	}
}

.site-contact {
	background-color: #0059b2;
	position: fixed;
	width: 100%;
	z-index: 10;
}
.site-contact a {
	color: #fff;
	display: block;
	font-size: 0.75rem;
	padding: 0.5rem;
	position: relative;
}
.site-contact big {
	font-size: 1.3125rem;
}
@media only screen and (max-width: 767px) {
	.site-contact {
		bottom: 0;
		text-align: left;
		transition: bottom .5s ease-in-out;
	}
	.site-contact.is_hide {
		bottom: -120px;
	}
	.site-contact a {
		padding-right: 14em;
	}
	.site-contact br {
		display: none;
	}
	.site-contact big {
		position: absolute;
		right: 0.5rem;
	}
	.site-contact small {
		display: block;
	}
}
@media only screen and (min-width: 768px) {
	.site-contact {
		/*position: absolute;*/
		top: 0;
		right: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		height: 95px;
		width: 220px;
	}
	.admin-bar .site-contact{
		top: 32px;
	}
}


.site-branding {
	position: relative;
	padding-right: 60px;
}
.site-title {
	height: 56px;
	margin: 0;
	padding: 0.5rem 1rem;
}
@media only screen and (min-width: 768px) {
	.site-branding {
		position: relative;
		padding-right: 220px;
	}
	.site-title {
		height: 95px;
		/*padding: 29px 1rem;*/
	}
}
@media only screen and (min-width: 1248px) {
	.site-branding-container {
		max-width: 1500px;
		margin: 0 auto;
	}
	.site-title {
		padding: 29px 1rem;
	}
}


/*--------------------------------------------------------------
## Front page
--------------------------------------------------------------*/
.custom-header-media {
	background-color: #000;
	/*height: 100vh;*/
	position: relative;
	padding-top: 60%;
}
@media only screen and (min-width: 768px) {
	.custom-header-media {
		padding-top: 56.25%;
	}
}
.wp-custom-header {
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}
.wp-custom-header > img {
	height: 100%;
	object-fit: cover;
	font-family: 'object-fit: cover;';
}
@media only screen and (min-width: 768px) {
	.wp-custom-header > img {
		display: none;
	}
}
.admin-bar.home .custom-header-media {
	/*height: calc( 100vh - 46px );*/
}
.custom-header-media iframe {
	height: 100%;
	width: 100%;
}

.wp-custom-header-video-button {
	background-color: rgba(34, 34, 34, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.6);
	color: rgba(255, 255, 255, 0.6);
	height: 45px;
	overflow: hidden;
	padding: 0;
	position: fixed;
	right: 30px;
	top: 30px;
	-webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
	transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
	width: 45px;
	
	display: none;
}

@media only screen and (min-width: 768px) {
	.admin-bar.home .custom-header-media {
		/*height: calc(100vh - 32px - 95px);*/
	}
}

.sec-title {
	font-size: 1.4375rem;
}
.sec-title small {
	color: #878787;
	font-size: 0.875rem;
	font-weight: 300;
	display: block;
	margin-bottom: 6px;
}


.sec-pickups {
	background: url(images/bg_sec-pickups.jpg) repeat-x center bottom;
	padding: 1rem;
}
.sec-pickups .catch-copy {
	font-size: 1.5rem;
	margin: 0;
	padding: 1rem 0;
}
.pickup-item {
	background-color: #fff;
	box-shadow: 1px 1px 3px 2px rgba(0, 0, 0, 0.21);
	max-width: 320px;
	margin: 0 auto 1rem;
}
.pickup-item a,
.business-type a {
	color: inherit;
	display: block;
}
.pickup-item a {
	padding: 0 0 1rem;
}
.pickup-item h3 {
	font-size: 1.125rem;
	margin: 1rem;
	padding: 0;
}
.pickup-item p {
	margin: 1rem;
	padding: 0;
}
.pickup-item .button {
	font-size: 1rem;
	padding: 0.5rem 1rem;
	margin: 1rem;
}
@media only screen and (min-width: 640px) {
	.sec-pickups .catch-copy {
		font-size: 2rem;
	}
	.sec-pickups .flex-row {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	.pickup-item {
		box-shadow: none;
		margin: 0;
	}
	.pickup-item__image {
		height: 210px;
		object-fit: cover;
		font-family: 'object-fit: cover;';
	}
}
@media only screen and (min-width: 820px) {
	.sec-pickups {
		padding-bottom: 100px;
	}
	.sec-pickups .catch-copy {
		padding: 2rem 0 3rem;
	}
	.sec-pickups .catch-copy,
	.sec-pickups .flex-row {
		max-width: 1280px;
		margin-left: auto;
		margin-right: auto;
	}
	.pickup-item {
		flex: 1;
		padding-bottom: 18px;
	}
	.pickup-item__image {
		height: 240px;
	}
}


.sec-front-news {
	margin: 3rem 1rem;
}
.sec-front-news .sec-title {
	padding-bottom: 1rem;
	position: relative;
	text-align: center;
}
.sec-front-news .sec-title::after {
	background-color: #0059b2;
	content: "";
	display: block;
	height: 3px;
	width: 100px;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}
.sec-front-news .button-wrap {
	margin-top: 2rem;
	text-align: center;
}
@media only screen and (min-width: 768px) {
	.sec-front-news {
		margin: 4rem 1rem 9rem;
	}
	.sec-front-news .entry-list {
		max-width: 960px;
		margin-left: auto;
		margin-right: auto;
		padding: 2em 0;
	}
	.sec-front-news .button-wrap {
		margin-top: 3rem;
	}
}


.sec-business {
	background: url(images/bg_sec-business.jpg) no-repeat center center #72b8d0;
	background-size: cover;
	padding: 1rem 0 3.875rem;
}
.sec-business .sec-title {
	background-color: #fff;
	margin: 1rem 0 1rem;
	padding: 1.25rem 1rem;
	width: 70%;
	max-width: 330px;
}
.business-type {
	background-color: #fff;
	max-width: 400px;
	margin: 0 calc(50% - 200px + 1rem) 1rem;
}
.business-type:last-child {
	margin-bottom: 0;
}
.business-type h3 {
	background-color: #0059b2;
	color: #fff;
	font-size: 1.25rem;
	margin: 0;
	padding: 0.5em;
	text-align: center;
}
.business-type .text {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 4em;
}
.business-type .text p {
	color: inherit;
	font-size: 0.875rem;
	margin: 0;
	padding: 0 2em;
}
@media only screen and (min-width: 768px) {
	.sec-business {
		padding: 3.8rem 0rem 135px;
	}
	.sec-business .sec-title {
		margin-bottom: 3.5rem;
	}
	.sec-business .flex-row {
		display: flex;
		max-width: calc(1200px + 6 * 1rem);
		margin-left: auto;
		margin-right: auto;
	}
	.business-type {
		flex: 1;
		margin: 0 1rem;
	}
	.business-type__image {
		height: 248px;
		object-fit: cover;
		font-family: 'object-fit: cover;';
	}
}
@media only screen and (min-width: 1296px) {
	.sec-business .sec-title {
		padding-left: calc( 50vw - 648px + 1rem );
		width: calc( 50vw - 648px + 1rem + 330px - 2rem );
		max-width: none;
	}
}


.sec-recruit {
	background: url(images/bg_sec-recruit.jpg) no-repeat center center #f5f5f5;
	background-size: cover;
	max-height: 450px;
	margin: 2.5rem 1em 5rem;
	overflow: hidden;
	padding: 1em 1em 15%;
	max-width: 1400px;
}
.sec-recruit .catch-copy {
	color: #00b2b2;
	font-size: 1.5rem;
	/*font-size: 5vw;*/
	margin: 0.75rem 0;
}
@media only screen and (min-width: 768px) {
	.sec-recruit {
		padding: 1.5em 2rem 15%;
	}
	.sec-recruit .catch-copy {
		font-size: 2.5rem;
	}
}
@media only screen and (min-width: 1432px) {
	.sec-recruit {
		margin-left: auto;
		margin-right: auto;
		padding: 1.5em 4.75rem 15%;
	}
}
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
  display: block;
}

.sticky-post {
  background: #0059b2;
  color: #fff;
  display: inline-block;
  font-weight: bold;
  line-height: 1;
  padding: .25rem;
  position: absolute;
  text-transform: uppercase;
  top: -1rem;
  z-index: 1;
}

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

.page-links {
  clear: both;
  margin: 0 0 calc(1.5 * 1rem);
}

.type-page {
	padding-bottom: 5rem
}

.page-header {
	position: relative;
	margin-bottom: 1rem;
}
.page-header .bg-image {
	max-height: 400px;
	min-height: 150px;
	width: 100%;
	max-width: none;
	object-fit: cover;
	font-family: 'object-fit: cover;';
}
.page-header .page-title,
.page-header .page-description {
	color: #fff;
	margin: 0;
	padding: 0;
	position: absolute;
	text-align: center;
	width: 100%;
}
.page-header .page-title {
	top: 25%;
	font-size: 1.5rem;
}
.page-header .page-description {
	top: 45%;
}
.page-header .page-description p {
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.5;
}
@media only screen and (max-width: 457px) {
	.page-header .page-description p {
		font-size: 3.5vw;
	}
}
@media only screen and (min-width: 768px) {
	.page-header .page-title {
		top: 35%;
		font-size: 2rem;
	}
	.page-header .page-description p {
		font-size: 1.25rem;
	}
}

.entry-header {
}




.entry .entry-title a {
  color: inherit;
}

.entry .entry-title a:hover {
  color: #4a4a4a;
}

.entry .entry-meta,
.entry .entry-footer {
  color: #767676;
  font-weight: 500;
}

.entry .entry-meta > span,
.entry .entry-footer > span {
  margin-right: 1rem;
  display: inline-block;
}

.entry .entry-meta > span:last-child,
.entry .entry-footer > span:last-child {
  margin-right: 0;
}

.entry .entry-meta a,
.entry .entry-footer a {
  transition: color 110ms ease-in-out;
  color: currentColor;
}

.entry .entry-meta a:hover,
.entry .entry-footer a:hover {
  text-decoration: none;
  color: #0059b2;
}

.entry .entry-meta .svg-icon,
.entry .entry-footer .svg-icon {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5em;
}

.entry .entry-meta {
  margin: 1rem 0;
}

.entry .entry-footer {
	margin: 2rem 1rem;
}

@media only screen and (min-width: 768px) {
	.entry .entry-footer {
		margin: 2rem calc(10% + 1rem);
	}
}
@media only screen and (min-width: 960px) {
	.entry .entry-footer {
		margin: 2rem calc(50% - 460px);
	}
}

@media only screen and (min-width: 768px) {
  .entry .entry-footer {
    max-width: calc(6 * (100vw / 12) - 28px);
  }
}

.entry .post-thumbnail {
	margin: 1rem;
}

.type-post .entry-header,
.entry-content,
.entry .entry-summary,
.archive-body {
	line-height: 1.5;
	max-width: calc(100% - (2 * 1rem));
	margin: 0 1rem;
}

.entry-content .size-wide {
	margin-left: -1rem;
	margin-right: -1rem;
}

@media only screen and (min-width: 768px) {
	.type-post .entry-header,
	.entry-content,
	.entry .entry-summary,
	.archive-body {
		max-width: 80%;
		margin: 0 10%;
	}
	.entry-content .size-wide {
		margin-left: -12.5%;
		margin-right: -12.5%;
	}
}
@media only screen and (min-width: 1200px) {
	.type-post .entry-header,
	.entry-content,
	.entry .entry-summary,
	.archive-body {
		max-width: 1120px;
		margin: 0 auto;
	}
	.type-post .entry-content {
		max-width: 920px;
	}
	.entry-content .size-wide {
		margin-left: calc( 560px - 50vw );
		margin-right: calc( 560px - 50vw );
	}
}
@media only screen and (min-width: 1500px) {
	.entry-content .size-wide {
		margin-left: -190px;
		margin-right: -190px;
	}
}

.archive-body {
	margin-top: 3rem;
}


.entry-content h2,
.type-post .entry-title {
	font-size: 1.9375rem;
	font-weight: 500;
	margin: 0 0 3.75rem;
	padding: 3rem 0 1rem;
	position: relative;
	text-align: center;
}
.entry-content h2::after,
.type-post .entry-title::after {
	background-color: #0059b2;
	content: "";
	display: block;
	height: 4px;
	width: 180px;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}
.entry-content h3 {
	color: #0059b2;
	font-size: 1.5625rem;
	font-weight: 500;
	margin: 5rem 0 2rem;
	text-align: center;
}


.entry-content p {
	word-wrap: break-word;
}
.entry-content p,
.entry-content table {
	margin-bottom: 1.6rem;
}

.entry-content th,
.entry-content td {
	padding: 1rem;
	border: 1px solid #aaa;
}
.entry-content th {
	background-color: #f1f1f1;
	font-weight: 400;
	text-align: left;
	vertical-align: top;
}

.form-table th em {
	background-color: #d00;
	border-radius: 3px;
	color: #fff;
	display: inline-block;
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 400;
	margin-left: 6px;
	padding: 2px 8px;
	vertical-align: middle;
}



.entry-content .more-link {
  transition: color 110ms ease-in-out;
  display: inline;
  color: inherit;
}

.entry-content .more-link:after {
  content: "\02192";
  display: inline-block;
  margin-left: 0.5em;
}

.entry-content .more-link:hover {
  color: #0059b2;
  text-decoration: none;
}

.entry-content a {
  text-decoration: underline;
}

.entry-content a.button, .entry-content a:hover {
  text-decoration: none;
}

.entry-content a.button {
  display: inline-block;
}

.entry-content a.button:hover {
  background: #111;
  color: #fff;
  cursor: pointer;
}

.entry-content > iframe[style] {
  margin: 32px 0 !important;
  max-width: 100% !important;
}

@media only screen and (min-width: 768px) {
  .entry-content > iframe[style] {
    max-width: calc(8 * (100vw / 12) - 28px) !important;
  }
}

@media only screen and (min-width: 1168px) {
  .entry-content > iframe[style] {
    max-width: calc(6 * (100vw / 12) - 28px) !important;
  }
}

.entry-content .page-links a {
  margin: calc(0.5 * 1rem);
  text-decoration: none;
}

.entry-content .wp-audio-shortcode {
  max-width: calc(100vw - (2 * 1rem));
}

@media only screen and (min-width: 768px) {
  .entry-content .wp-audio-shortcode {
    max-width: calc(8 * (100vw / 12) - 28px);
  }
}

@media only screen and (min-width: 1168px) {
  .entry-content .wp-audio-shortcode {
    max-width: calc(6 * (100vw / 12) - 28px);
  }
}

/* Author description */
.author-bio {
  margin: calc(2 * 1rem) 1rem 1rem;
}

@media only screen and (min-width: 768px) {
  .author-bio {
    max-width: calc(8 * (100vw / 12) - 28px);
  }
}

@media only screen and (min-width: 1168px) {
  .author-bio {
    max-width: calc(6 * (100vw / 12) - 28px);
  }
}

@media only screen and (min-width: 768px) {
  .author-bio {
    margin: calc(3 * 1rem) calc(10% + 60px);
  }
}

@media only screen and (min-width: 1168px) {
  .author-bio {
    margin: calc(3 * 1rem) calc(10% + 60px);
  }
}

.author-bio .author-title {
  display: inline;
}

.author-bio .author-title:before {
  background: #767676;
  content: "\020";
  display: block;
  height: 2px;
  margin: 1rem 0;
  width: 1em;
}

.author-bio .author-description {
  display: inline;
  color: #767676;
  font-size: 1.125em;
  line-height: 1.2;
}

.author-bio .author-description .author-link {
  display: inline-block;
}

.author-bio .author-description .author-link:hover {
  color: #005177;
  text-decoration: none;
}




.has-deco-num-title dt {
	color: #0059b2;
	font-size: 1.5rem;
	font-style: italic;
	margin: 0 0 1.5rem;
	padding: 3rem 0 0;
	position: relative;
	text-align: left;
}
.has-deco-num-title dt em {
	font-family: "Eurostile", sans-serif;
	font-size: 2.9rem;
	font-weight: 700;
	position: absolute;
	left: 0;
	bottom: -6px;
}
.has-deco-num-title dd {
	border-bottom: 2px solid #ccc;
	margin: 0;
	padding: 0 2rem 1.5rem;
}
.has-deco-num-title dt,
.has-deco-num-title dd {
	padding-left: 97px;
}

.entry-content .flex-row {
	margin-top: 8rem;
	margin-bottom: 4rem;
}
@media only screen and (min-width: 768px) {
	.entry-content .flex-row {
		display: flex;
		justify-content: center;
	}
	.entry-content .flex-row > * {
		flex: 1;
	}
}




/*  */
.post-16 .entry-content .catch-copy {
	font-size: 1.25rem;
	margin-top: 4rem;
}

/* Outline 会社概要 */
.sec-top-message .inner {
	
}
.sec-top-message__image {
	text-align: center;
}

@media only screen and (min-width: 768px) {
	.sec-top-message .inner {
		display: flex;
	}
	.sec-top-message__image {
		margin-left: 3rem;
		min-width: 295px;
	}
}

.sec-motto {
}
.sec-motto__text div {
	padding: 1rem;
	text-align: center;
}
.sec-motto__text dt {
	border: 1px solid #0059b2;
	color: #0059b2;
	font-size: 1.125rem;
	font-weight: 700;
	margin: 1em 0 0;
	padding: 0.3em;
}
.sec-motto__text dd {
	margin: 0;
	padding: 1.5rem;
}
@media only screen and (min-width: 768px) {
	.sec-motto__text div {
		display: flex;
		justify-content: flex-start;
	}
	.sec-motto__text div {
		border-bottom: 2px solid #ccc;
		align-items: center;
	}
	.sec-motto__text dt {
		min-width: 8rem;
		margin: 0;
	}
	.sec-motto__text dd {
		min-width: calc( 100% - 11rem - 2px );
		text-align: left;
	}
}

.sec-outline .acf-map {
	height: 464px;
}


/* Recruit 採用情報 */
.recruit-local-nav {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0 0 8rem;
	flex-wrap: wrap;
	justify-content: space-between;
}
.recruit-local-nav li {
	flex: 1;
	margin: 0.5rem;
}
.recruit-local-nav li,
.page-id-18 .entry-content .button-wrap a.button {
	max-width: 500px;
}
.entry-content .recruit-local-nav a.button,
.page-id-18 .entry-content .button-wrap a.button {
	display: block;
	text-align: center;
}
.page-id-18 .entry-content .button-wrap a.button {
	font-size: 1.5625rem;
	padding: 1em;
	margin: auto;
}
.recruit-local-nav .button .svg-icon {
	transform: rotate( 90deg ) scale(0.8);
}
@media only screen and (min-width: 520px) {
	.entry-content .recruit-local-nav a.button {
		font-size: 1.875rem;
		padding-bottom: 3rem;
		padding-top: 3rem;
	}
	.recruit-local-nav .button .svg-icon {
		transform: rotate( 90deg );
	}
}

.entry-content .new-offer h3,
.entry-content .career-offer h3 {
	text-align: left;
}

.cta-contact-area {
	background-color: #eee;
	margin: 5rem 0 3rem;
	padding: 3rem 1rem;
	text-align: center;
}
.entry-content .cta-contact-area a[href^="tel:"] {
	color: inherit;
	text-decoration: none;
}
.entry-content .cta-contact-area h3 {
	margin-top: 0;
}
.entry-content .cta-contact-area .larger {
	display: inline-block;
}
.cta-contact-area .button-wrap {
	margin: 2.5rem 0 1rem;
}
@media only screen and (min-width: 900px) {
	.cta-contact-area {
		margin-left: calc(50% - 410px);
		margin-right: calc(50% - 410px);
	}
}

/* Messages 社員メッセージ */
.page-id-20 .entry-content .flex-row {
	margin-top: 4rem;
}
.message-item {
	margin: 10px;
}
.message-item > a {
	background-color: #eee;
	display: block;
	padding: 6px;
	text-decoration: none;
}
.message-item > a:hover {
	opacity: 0.7;
}
.message-item__image {
	position: relative;
}
.message-item__image img {
	object-fit: cover;
	font-family: 'object-fit: cover;';
	max-width: none;
	width: 100%;
	max-height: 330px;
}
.message-item__image figcaption {
	background-color: rgba(0,89,178,0.8);
	color: #fff;
	font-size: 1.125rem;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 3.6em;
	line-height: 1.2;
	padding: 0 1rem;
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
}
.message-item__image figcaption span {
	font-size: 1.25rem;
}
.entry-content .message-item__text {
	color: #000;
	font-size: 1.125rem;
	text-align: center;
}
.entry-content .message-item__text h3 {
	color: inherit;
	font-size: 1.125rem;
	font-weight: 400;
	margin: 1rem 0 1rem;
}
.entry-content .message-item__text p {
	margin: 0 0 1rem;
}
.message-sec {
	margin: 2rem 0;
}
.message-sec .image {
	text-align: center;
}
.message-sec .image figure {
	margin-bottom: 2rem;
}
.message-sec h3 {
	color: #0059b2;
	font-size: 1.5625rem;
	font-weight: 500;
	margin: 0 0 1rem;
	text-align: left;
}
.message-sec p {
	margin-bottom: 2.5rem;
}
.page-id-20 .modaal-wrapper .modaal-close {
	background-color: #0059b2;
}
.page-id-20 .modaal-wrapper .modaal-close:focus,
.page-id-20 .modaal-wrapper .modaal-close:hover {
	background-color: #eee;
}
.page-id-20 .modaal-wrapper .modaal-close:focus:after,
.page-id-20 .modaal-wrapper .modaal-close:focus:before,
.page-id-20 .modaal-wrapper .modaal-close:hover:after,
.page-id-20 .modaal-wrapper .modaal-close:hover:before {
	background: #0059b2;
}
@media only screen and (min-width: 520px) {
	#anc_message + .flex-row {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
	}
	.message-item {
		flex: 1;
	}
}
@media only screen and (min-width: 768px) {
	.message-item {
		min-width: calc(33% - 20px);
	}
	.message-item__image img {
		max-height: 400px;
	}

	.message-sec {
		display: flex;
	}
	.message-sec .image {
		flex: 0 0 300px;
		margin-left: 3rem;
	}
}
@media only screen and (min-width: 960px) {
	.message-sec .image {
		flex: 0 0 400px;
	}
	.message-item__image img {
		max-height: 450px;
	}
}

.load-movie {
	margin: 3rem 0;
	text-align: center;
}

.work-flow {
	background: url(images/bg_dot.png) repeat-y left top;
	background-position: left 25px top;
}
.flow-item {
	display: flex;
	margin-bottom: 2rem;
}
.flow-item .clock {
	min-width: 84px;
}
.flow-item .colored {
	color: #0059b2;
	font-size: 1.25rem;
}
.flow-item .content {
	flex-grow: 1;
}
.flow-item .content p {
	margin: 5px 0 0;
}
.flow-item .content .flex-row {
	margin: 1rem 0 2rem;
	justify-content: space-between;
}
.flow-item .content figure {
	margin-top: 1rem;
}
@media only screen and (min-width: 768px) {
	.flow-item .content .flex-row .flex-col:first-child {
		margin-right: 2rem;
	}
	.flow-item .content .flex-row .flex-col:last-child {
		margin-left: 2rem;
	}
}
.page-id-20 .modaal-wrapper {
	z-index: 100000;/*.admin-barに負けるのでもう一声*/
}
.page-id-20 .senior-messages h2 {
	background-color: #0059b2;
	color: #fff;
	font-size: 1.9375rem;
	padding: 0.5em;
	margin: 1rem 0;
}

/* Contact お問い合わせ */
.wpcf7 .button-wrap {
	text-align: center;
}
.wpcf7 .button-wrap .wpcf7-submit {
	padding: 1.5rem;
	width: 250px;
}


/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Archives
--------------------------------------------------------------*/
.entry-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.entry-list li,
.entry-list .list-item {
	padding: 1rem 0;
	border-bottom: 1px solid #ccc;
}
.entry-list time {
	color: #878787;
	font-size: 0.875rem;
	display: block;
}
@media only screen and (min-width: 768px) {
	.entry-list li,
	.entry-list .list-item {
		display: flex;
		align-items: flex-start;
		padding: 1rem;
	}
	.entry-list time {
		min-width: 11em;
	}
}

.blog .entry-list {
	margin-bottom: 5rem;
}


/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/
.to-page-top {
	position: fixed;
	bottom: 50px;
	right: 20px;
	transition: bottom .5s ease-in-out;
}
.to-page-top.is_hide {
	bottom: -120px;
}

/* Site footer */
.site-footer {
	background-color: #0059b2;
	line-height: 1.6;
	padding: 1rem 0 0;
}
.site-footer,
.site-footer a {
	color: #fff;
}
.site-info {
	padding: 15px;
	padding: 1rem;
}
.footer-logo {
	margin: 0 0 .75rem;
}
/** === Footer menu === */
.footer-menu {
	display: inline;
	margin: 0;
	padding: 0;
}
.footer-menu a:hover {
	text-decoration: underline;
}
.footer-menu li {
	display: inline-block;
	margin-right: 1rem;
}
.footer-navigation {
	padding: 1rem;
}
.footer-menu > li > a {
	font-size: 1.125rem;
}
.footer-menu .sub-menu {
	display: none;
}

.copyright {
	background-color: #fff;
	color: #444;
	font-size: 0.875rem;
	margin-top: 1rem;
	padding: 1em;
	text-align: center;
}
@media only screen and (min-width: 768px) {
	.site-footer .flex-row,
	.footer-navigation {
		display: flex;
		justify-content: space-between;
	}
	/*.site-info {
		border-right: 1px solid #a8c6e5;
	}*/
	.footer-menu,
	.footer-menu li,
	.footer-menu .sub-menu {
		display: block;
	}
	.footer-menu > li {
		margin-bottom: 1.5rem;
	}
	.footer-menu .sub-menu {
		padding: 0.5rem 0 0 0.1rem;
	}
	.footer-menu .sub-menu li::before {
		content: "- ";
	}
	.copyright {
		font-size: 1rem;
	}
}
@media only screen and (min-width: 960px) {
	.site-footer .flex-row {
		max-width: calc(1200px + 6 * 1rem);
		margin-left: auto;
		margin-right: auto;
	}
	.site-info {
		min-width: 40%;
	}
	.footer-navigation {
		min-width: 60%;
	}
}
/* Widgets */


/*--------------------------------------------------------------
# Blocks
--------------------------------------------------------------*/

.entry-content > *.alignleft,
.entry .entry-summary > *.alignleft {
  /*rtl:ignore*/
  float: left;
  max-width: calc(5 * (100vw / 12));
  margin-top: 0;
  margin-left: 0;
  /*rtl:ignore*/
  margin-right: 1rem;
}

@media only screen and (min-width: 768px) {
  .entry-content > *.alignleft,
  .entry .entry-summary > *.alignleft {
    max-width: calc(4 * (100vw / 12));
    /*rtl:ignore*/
    margin-right: calc(2 * 1rem);
  }
}

.entry-content > *.alignright,
.entry .entry-summary > *.alignright {
  /*rtl:ignore*/
  float: right;
  max-width: calc(5 * (100vw / 12));
  margin-top: 0;
  margin-right: 0;
  /*rtl:ignore*/
  margin-left: 1rem;
}

@media only screen and (min-width: 768px) {
  .entry-content > *.alignright,
  .entry .entry-summary > *.alignright {
    max-width: calc(4 * (100vw / 12));
    margin-right: 0;
    /*rtl:ignore*/
    margin-left: calc(2 * 1rem);
  }
}

.entry-content > *.aligncenter,
.entry .entry-summary > *.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (min-width: 768px) {
  .entry-content > *.aligncenter,
  .entry .entry-summary > *.aligncenter {
    max-width: calc(8 * (100vw / 12) - 28px);
  }
}

@media only screen and (min-width: 1168px) {
  .entry-content > *.aligncenter,
  .entry .entry-summary > *.aligncenter {
    max-width: calc(6 * (100vw / 12) - 28px);
  }
}

@media only screen and (min-width: 768px) {
  .entry-content > *.aligncenter,
  .entry .entry-summary > *.aligncenter {
    margin-left: 0;
    margin-right: 0;
  }
}


/* Media */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

embed,
iframe,
object {
  max-width: 100%;
}

.custom-logo-link {
  display: inline-block;
}

.avatar {
  border-radius: 100%;
  display: block;
  height: calc(2.25 * 1rem);
  min-height: inherit;
  width: calc(2.25 * 1rem);
}

svg {
	fill: currentColor;
	transition: fill 120ms ease-in-out;
	vertical-align: middle;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
  margin-bottom: calc(1.5 * 1rem);
}

@media only screen and (min-width: 768px) {
  .wp-caption.aligncenter {
    position: relative;
    left: calc( calc(8 * (100vw / 12) - 28px) / 2);
    transform: translateX(-50%);
  }
}

@media only screen and (min-width: 1168px) {
  .wp-caption.aligncenter {
    left: calc( calc(6 * (100vw / 12) - 28px) / 2);
  }
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption-text {
  color: #767676;
  font-size: 0.71111em;
  line-height: 1.6;
  margin: 0;
  padding: 0.5rem;
  text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  margin-bottom: calc(1.5 * 1rem);
}

.gallery-item {
  display: inline-block;
  margin-right: 16px;
  margin-bottom: 16px;
  text-align: center;
  vertical-align: top;
  width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: calc((100% - 16px * 1) / 2);
}

.gallery-columns-2 .gallery-item:nth-of-type(2n+2) {
  margin-right: 0;
}

.gallery-columns-3 .gallery-item {
  max-width: calc((100% - 16px * 2) / 3);
}

.gallery-columns-3 .gallery-item:nth-of-type(3n+3) {
  margin-right: 0;
}

.gallery-columns-4 .gallery-item {
  max-width: calc((100% - 16px * 3) / 4);
}

.gallery-columns-4 .gallery-item:nth-of-type(4n+4) {
  margin-right: 0;
}

.gallery-columns-5 .gallery-item {
  max-width: calc((100% - 16px * 4) / 5);
}

.gallery-columns-5 .gallery-item:nth-of-type(5n+5) {
  margin-right: 0;
}

.gallery-columns-6 .gallery-item {
  max-width: calc((100% - 16px * 5) / 6);
}

.gallery-columns-6 .gallery-item:nth-of-type(6n+6) {
  margin-right: 0;
}

.gallery-columns-7 .gallery-item {
  max-width: calc((100% - 16px * 6) / 7);
}

.gallery-columns-7 .gallery-item:nth-of-type(7n+7) {
  margin-right: 0;
}

.gallery-columns-8 .gallery-item {
  max-width: calc((100% - 16px * 7) / 8);
}

.gallery-columns-8 .gallery-item:nth-of-type(8n+8) {
  margin-right: 0;
}

.gallery-columns-9 .gallery-item {
  max-width: calc((100% - 16px * 8) / 9);
}

.gallery-columns-9 .gallery-item:nth-of-type(9n+9) {
  margin-right: 0;
}

.gallery-item:last-of-type {
  padding-right: 0;
}

.gallery-caption {
  display: block;
  font-size: 0.71111em;
  line-height: 1.6;
  margin: 0;
  padding: 0.5rem;
}

.gallery-item > div > a {
  display: block;
  line-height: 0;
  box-shadow: 0 0 0 0 transparent;
}

.gallery-item > div > a:focus {
  box-shadow: 0 0 0 2px #0059b2;
}
