/*!
Theme Name: olivepk_story
Description: Description
Version: 1.0.0
*/

/* 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 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;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

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

.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: 0.875rem;
	font-weight: 600;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

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

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

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


/* Colors
--------------------------------------------- */
/* 文字色 */



/* 背景色 */



/* button
--------------------------------------------- */
.wp-block-button__link {
		color: #fff !important;
		 background: #000;
		 padding: 16px 80px;
		 display: inline-block;
		 text-align: center;
		 text-decoration: none;
		 transition: .4s;
		 border-radius: 4px;
		 font-weight: 500;
}

.wp-block-button__link:hover {
	color: #fff !important;
	background-color: #364C98;
  }
  
  @media screen and (max-width: 700px) {
	.wp-block-button__link{
	  padding: 16px;
	  min-width: 80%;
	}
  }




/* table
--------------------------------------------- */
  .wp-block-table__cell-content,
  .wp-block-table{
	border: none;
  }

  .wp-block-table table {
	margin-top: 16px;
	width: 100%;
	border-top: 1px solid rgba(146, 146, 146, 0.3);
  }
  .wp-block-table table tr {
	border-bottom: 1px solid rgba(146, 146, 146, 0.3);
	width: 100%;
  }
  .wp-block-table table th, .wp-block-table table td {
	padding: 16px 0;
	border: none !important;
  }
  .wp-block-table table th {
	width: 5em;
	vertical-align: middle;
  }


/* style
--------------------------------------------- */

.content-body h1,
.article-body h1{
	font-size: 2.0em;
	margin-top: var(--spacer-2) ;
	font-weight: 600;
}

.content-body h2,
  .article-body h2 {
	background-color: rgba(95, 173, 72, 0.1);
	font-size: 1.6em;
	border-bottom: 3px solid #000;
	border-top: 3px solid #000;
	margin: 30px 0;
	padding: var(--spacer-1);
  }

  .content-body h3,
  .article-body h3 {
	color: #000;
	font-weight: 600;
	font-size: 18px;
	margin-top: var(--spacer-2);
	margin-bottom: 5px;
  }

  .content-body h4,
  .article-body h4 {
	font-size: 16px;
	font-weight: 600;
	margin-top: var(--spacer-2);
	margin-bottom: 5px;
  }

  .content-body h5,
  .article-body h5 {
	font-size: 14px;
	font-weight: 600;
	margin-top: var(--spacer-2);
	margin-bottom: 5px;
  }

  .content-body h6,
  .article-body h6 {
	font-size: 12px;
	font-weight: 600;
	margin-top: var(--spacer-2);
	margin-bottom: 5px;
  }



  .content-body p,
  .article-body p {
	margin-top: 16px;
	margin-bottom: 16px;
  }



  .content-body table,
  .article-body table {
	margin: var(--spacer-1) auto var(--spacer-1) auto;
	width: 100%;
	max-width: 700px;
	border-top: 1px solid rgba(146, 146, 146, 0.3);
  }
  .content-body tr,
  .article-body table tr {
	border-bottom: 1px solid rgba(146, 146, 146, 0.3);
	width: 100%;
  }
  .content-body th, .content-body td,
  .article-body table th, .article-body table td {
	padding: var(--spacer-1) 0;
	min-width: 5em;
  }

  .content-body table th,
  .article-body table th {
	width: 5em;
	vertical-align: middle;
  }

  .article-body ul{
	margin: 10px 0;
  }


  .article-body ul li{
	padding-left: 20px;
	position: relative;
  }

  .article-body ul li:before{
	content: '';
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background-color: #000;
	display: block;
	position: absolute;
	top: 10px;
	left: 0px;
  }


  .article-body ol{
	list-style-type: decimal;
  }

  .article-body ol li{

  }

  .article-body hr{
	border: none;
	border-top: 1px solid rgba(146, 146, 146, 0.3);
	margin: var(--spacer-2) 0;
	clear: both;
  }

  .article-body sub{
	bottom: 0;
  }


.article-body a{
	text-decoration: underline;
	color: #666;
}

  @media screen and (max-width: 700px) {
	.content-body p,
	.article-body p {
	  margin-top: 8px;
	  margin-bottom: 8px;
	}
  }


/* contact form7
--------------------------------------------- */
  .wpcf7-spinner{
	display: none;
  }

  .wpcf7 form .wpcf7-response-output{
	text-align: center;
	border: none;
  }