

.page-hero {
	margin: 155px auto 0;
	padding: 80px 15px 0;
	width: 100%;
	max-width: 1150px;
}
.page-hero h1 {
	position: relative;
  font-size: 3rem;
  line-height: 1.6;
	padding-bottom: 10px;
	text-align: center;
}
.page-hero h1::before {
	content: '';
	width: 60px;
	height: 4px;
	background-color: #ea393f;
	position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}
@media only screen and (max-width: 1024px) {
	.page-hero {
		margin: 60px auto 0;
		padding: 40px 15px 0;
		width: 100%;
		max-width: 1150px;
	}
}
@media only screen and (max-width: 768px) {
	.page-hero {
		margin: 60px auto 0;
		padding: 40px 15px 0;
		width: 100%;
		max-width: 1150px;
	}
	.page-hero h1 {
		position: relative;
	  font-size: 2.4rem;
	  line-height: 1.6;
		padding-bottom: 10px;
		text-align: center;
	}
	.page-hero h1::before {
		content: '';
		width: 60px;
		height: 4px;
		background-color: #ea393f;
		position: absolute;
	  bottom: 0;
	  left: 50%;
	  transform: translateX(-50%);
	  -webkit-transform: translateX(-50%);
	}
}

.guide__contents {
	width: 100%;
	max-width: 990px;
	margin: 40px auto 0;
	padding: 0 15px;
}
.guide__link {
	position: relative;
	display: flex;
	align-items: center;
	background-color: #fff;
	border: 1px solid #ccc;
	padding: 15px 50px 15px 20px;
	border-radius: 10px;
	margin-top: 20px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.guide__link::before {
  content: '';
  width: 4px;
  height: 100%;
  background-color: #ea393f;
  position: absolute;
  top: 50%;
  left: -1px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}
.guide__link::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 25px;
  transform: translateY(-50%) rotate(45deg);
  -webkit-transform: translateY(-50%) rotate(45deg);
  width: 15px;
  height: 15px;
  border-top: 2px solid #ea393f;
  border-right: 2px solid #ea393f;
}
.guide__link:hover {
  transform: translateY(-5px);
	border: 1px solid #ea393f;
}
.guide__link:hover img {
	transform: scale(1.1);
	transition: .3s;
}
.guide__grid {
	display: flex;
	align-items: center;
}
.guide__img {
	width: 280px;
	margin-right: 30px;
}
.guide__img figure {
	display: block;
	position: relative;
	overflow: hidden;
  padding-top: 65%;
}
.guide__img figure img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: 'object-fit: cover;';
	transition: .3s;
}
.guide__text {
	width: calc(100% - 310px);
}
.guide__text .info {
	display: flex;
	align-items: center;
}
.guide__text .info .date {
  color: #909090;
  font-weight: 500;
  margin-right: 15px;
}
.guide__text .info .cate {
  display: inline-block;
  border: 1px solid #ea393f;
	background-color: #ea393f;
  color: #fff;
  padding: 5px 15px;
  font-size: 1.3rem;
  line-height: 1;
  transition: .3s;
}
.guide__text .ttl {
	display: block;
	font-size: 2rem;
	font-weight: 500;
	margin-top: 10px;
	line-height: 1.6;
}
.guide__text .ttl + p {
	margin-top: 10px;
}
@media only screen and (max-width: 768px) {
	.guide__contents {
		width: 100%;
		max-width: 990px;
		margin: 40px auto 0;
		padding: 0 15px;
	}
	.guide__link {
		position: relative;
		display: flex;
		align-items: center;
		background-color: #fff;
		border: 1px solid #ccc;
		padding: 0;
		border-radius: 10px;
		margin-top: 20px;
		overflow: hidden;
		box-shadow: 0 1px 3px rgba(0,0,0,.25);
	}
	.guide__link::before {
		display: none;
	}
	.guide__link::after {
		display: none;
	}
	.guide__link:hover {
	  transform: translateY(-5px);
		border: 1px solid #ea393f;
	}
	.guide__link:hover img {
		transform: scale(1.1);
		transition: .3s;
	}
	.guide__grid {
		display: block;
		align-items: unset;
	}
	.guide__img {
		width: 100%;
		margin-right: 0;
	}
	.guide__img figure {
		display: block;
		position: relative;
		overflow: hidden;
	  padding-top: 60%;
	}
	.guide__img figure img {
	  position: absolute;
	  top: 0;
	  left: 0;
	  width: 100%;
	  height: 100%;
	  object-fit: cover;
	  font-family: 'object-fit: cover;';
		transition: .3s;
	}
	.guide__text {
		width: 100%;
		padding: 20px;
	}
	.guide__text .info {
		display: flex;
		align-items: center;
	}
	.guide__text .info .date {
	  color: #909090;
	  font-weight: 500;
	  margin-right: 15px;
	}
	.guide__text .info .cate {
	  display: inline-block;
	  border: 1px solid #ea393f;
		background-color: #ea393f;
	  color: #fff;
	  padding: 5px 15px;
	  font-size: 1.3rem;
	  line-height: 1;
	  transition: .3s;
	}
	.guide__text .ttl {
		display: block;
		font-size: 1.8rem;
		line-height: 1.6;
		font-weight: 500;
		margin-top: 10px;
	}
	.guide__text .ttl + p {
		margin-top: 10px;
	}
}

/* WYSIWYGエディタ
-------------------------------------------------- */
.p-editor p {
  margin-bottom: 20px;
}
.p-editor h1, .p-editor h2, .p-editor h3, .p-editor h4, .p-editor h5, .p-editor h6 {
  font-weight: 500;
  line-height: 1.4;
  margin: 40px 0 10px;
}
.p-editor h1 {
	position: relative;
	font-size: 3rem;
	line-height: 1.6;
	padding-bottom: 10px;
	text-align: center;
	margin-top: 80px;
}
.p-editor h1::before {
  content: '';
  width: 60px;
  height: 4px;
  background-color: #ea393f;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}
.p-editor h2 {
	position: relative;
	font-size: 2.4rem;
	line-height: 1.6;
	margin-top: 60px;
	color: #ea393f;
	text-align: center;
}
.p-editor h3 {
	position: relative;
	font-size: 2rem;
	font-weight: bold;
	border-bottom: 1px solid #ccc;
	border-left: 4px solid #ea393f;
	padding: 0 0 5px 10px;
	line-height: 1.5;
	margin-top: 40px;
}
.p-editor h4 {
	line-height: 1.6;
	background-color: #ea393f;
	margin-top: 80px;
	font-size: 1.7rem;
	color: #fff;
	padding: 5px 10px;
}
.p-editor h5 {
  font-size: 1.8rem;
	color: #ea393f;
}
.p-editor h6 {
  font-size: 1.6rem;
	color: #ea393f;
}
.p-editor ul, .p-editor ol {
  list-style-type: disc;
  padding-left: 1.5em;
  margin-bottom: 20px;
}
.p-editor ol {
  list-style-type: decimal;
}
.p-editor li {
  margin-bottom: 5px;
  padding-left: 5px;
  list-style-type: inherit;
}
.p-editor strong {
  font-weight: bold;
}
.p-editor em {
  font-style: italic;
}
.p-editor a {
  text-decoration: underline;
}
.p-editor a:hover img {
  opacity: 0.7;
}
.p-editor blockquote {
  position: relative;
  background: #f5d4dc;
  background: linear-gradient(135deg, #f5d4dc, #f9e5e5 70%, #fbeae5);
  padding: 30px 30px 5px;
  margin: 30px 0 20px;
}
.p-editor blockquote::before {
  content: "";
  background: url("../img/blockquote_deco.svg") center/cover no-repeat;
  width: 30px;
  height: 25px;
  position: absolute;
  left: 25px;
  top: -10px;
}
.p-editor blockquote cite {
  display: block;
  border-top: 1px solid #ccc;
  padding-top: 10px;
  font-size: 1.4rem;
  text-align: right;
  color: #777;
}
.p-editor img {
  height: auto;
  max-width: 100%;
  max-height: 640px;
  display: block;
  object-fit: contain;
}
.p-editor .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.p-editor .alignleft {
  width: auto !important;
  float: left;
  margin-right: 10px;
  margin-bottom: 20px;
}
.p-editor .alignright {
  width: auto !important;
  float: right;
  margin-left: 10px;
  margin-bottom: 20px;
}
.p-editor .size-large {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}
.p-editor .size-medium {
  max-height: 490px;
}
.p-editor .size-thumbnail {
  max-height: 300px;
}
.p-editor table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.p-editor table th, .p-editor table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}
.p-editor table th {
  background-color: #f5d4dc;
}
.p-editor .table_scroll {
  overflow-x: scroll;
}
.p-editor .wp-caption {
  max-width: 100%;
  text-align: center;
  margin-bottom: 20px;
}
.p-editor .wp-caption img {
  margin-bottom: 5px;
}
.p-editor .wp-caption .wp-caption-text {
  font-size: 1.4rem;
  color: #777;
  margin-bottom: 0;
}
.p-editor .wp-caption a .wp-caption-text {
  color: #ea393f;
}
.p-editor .wp-caption a:hover .wp-caption-text {
  color: #b2292e;
}
.p-editor iframe {
  max-width: 100%;
}
.p-editor::after {
  content: "";
  display: table;
  clear: both;
}
@media screen and (max-width: 768px) {
  .p-editor h1 {
  	position: relative;
    font-size: 2.4rem;
    line-height: 1.6;
  	padding-bottom: 10px;
  	text-align: center;
	margin-top: 60px;
  }
  .p-editor h1::before {
  	content: '';
  	width: 60px;
  	height: 4px;
  	background-color: #ea393f;
  	position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
  }
  .p-editor h2 {
		position: relative;
		font-size: 2.2rem;
		line-height: 1.6;
		margin-top: 60px;
		color: #ea393f;
		text-align: center;
  }
  .p-editor h3 {
		position: relative;
		font-size: 1.8rem;
		font-weight: bold;
		border-bottom: 1px solid #ccc;
		border-left: 4px solid #ea393f;
		padding: 0 0 5px 10px;
		line-height: 1.5;
		margin-top: 40px;
  }
  .p-editor h4 {
		line-height: 1.6;
		background-color: #ea393f;
		margin-top: 60px;
		font-size: 1.7rem;
		color: #fff;
		padding: 5px 10px;
  }
  .p-editor blockquote {
    padding: 25px 20px 1px;
  }
  .p-editor blockquote::before {
    width: 25px;
    height: 21px;
    left: 15px;
  }
  .p-editor blockquote cite {
    display: block;
    border-top: 1px solid #ccc;
    padding-top: 10px;
    font-size: 1.4rem;
    text-align: right;
    color: #777;
  }
  .p-editor .alignleft:not(.size-thumbnail):not(:has(.size-thumbnail)), .p-editor .alignright:not(.size-thumbnail):not(:has(.size-thumbnail)) {
    float: none;
    margin: 0 auto 20px;
  }
  .p-editor .alignleft:not(.size-thumbnail):not(:has(.size-thumbnail)) img, .p-editor .alignright:not(.size-thumbnail):not(:has(.size-thumbnail)) img {
    margin-left: auto;
    margin-right: auto;
  }
  .p-editor img, .p-editor .size-medium {
    max-height: 320px;
  }
  .p-editor .size-thumbnail {
    max-height: 200px;
  }
}
.p-editor .u-grid {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}
.p-editor .u-grid .col {
  margin: 0 0 10px;
}
