@charset "UTF-8";

/*!
Theme Name: PASSPORT-TO
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: KH
Template:   cocoon-master
Version:    1.0.0
*/

/************************************
** Common
************************************/
body {
  background: #F1F3ED;
  color: #2B3F3F;
  line-height: 26px;
}

.wrap {
  width: 1416px;
  padding: 0 20px;
}

.ff-noto-sans-jp,
.wf-active .ff-noto-sans-jp {
  font-family: Inter ,Futura, "Noto Sans JP" ,sans-serif!important;
}

.main {
  padding: 0 20px;
  background: none;
}

.navi-in > ul {
  gap: 30px;
}

.navi-in > ul li {
  width: auto;
}

a {
  color: #8bbf7e;
  text-decoration: none;
}

a:hover {
  color: #45774f;
  opacity: .7;
  transition: all 0.3s ease-in-out;
}

.swiper {
  margin-bottom: 4rem;
}

.swiper a {
  color: #2b3f3f;
  text-decoration: none;
}

.swiper__item {
  margin: 0 0.1em;
  max-width: calc(100vw / 5);
  max-height: calc(100vw / 5);
  overflow: hidden;
}

.swiper__item img {
  width: 100%;
}

.post-categories {
  padding-left: 0;
  list-style-type: none;
}

.post-categories {
  display: flex;
}

.post-categories li {
  /* display: none; */
}

.post-categories li:last-child {
  display: block;
}

.post-categories li a {
  display: inline-block;
  margin: 0 10px 16px 0;
  padding: 3px 15px;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  background: #8ABF7E;
}

time {
  font-family: Inter, Futura!important;
  color: #A8A8A8;
  font-size: 14px;
  font-weight: 400;
}

.articles {
  display: flex!important;
  gap: 20px;
  align-items: stretch;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

.articles.col3 article {
  width: 32.3%;
}

.articles.col4 article {
  width: 23.6%;
}

.articles .articles__image {
  position: relative;
  min-height: 230px;
  margin-bottom: 1.5rem;
}

.articles .articles__image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.articles.col4 .articles__image {
  min-height: auto;
}

.articles .articles__detail h3 {
  height: 52px;
  overflow: hidden;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: #2B3F3F;
}

.articles.col4 .articles__detail h3 {
  -webkit-line-clamp: 2;
  height: 55px;
}

.articles .articles__detail p {
  height: 75px;
  margin-bottom: 1rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: .9rem;
  line-height: 1.5rem;
}

.articles > p {
  margin: 0 auto;
}

.articles .section__catlist__text {
  padding: 50px 0 0 !important;
  margin: auto;
  text-align: center;
  width: 45%!important;
}

.pagination-next {
  display: none;
}

.pagination .current,
.pagination .page-numbers {
  border-radius: 100vh;
  background: #f1f3ed;
  border-color: #8bbf7e;
  color: #457850;
}

.pagination .current {
  background: #457850;
  border-color: #457850;
  color: #f1f3ed;
}

.icon-new {
  display: inline-block;
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 5px 12px;
  font-family: Inter, Futura;
  font-weight: bold;
  font-size: 14px;
  border-radius: 5px;
  color: #fff;
  background: #F0CD6E;
  z-index: 99;
}

.icon-lock {
  font-size:15px;
  color: #45774F;
}

.breadcrumb.sbp-main-before,
.breadcrumb.pbp-main-before {
  width: 100vw;
  margin: 0;
  padding: 30px 20px;
  background: none;
}

.breadcrumb.sbp-main-before,
.page-template-page-writers .breadcrumb.pbp-main-before {
  color: #D3DAC9;
  background: #2b3f3f;
}

.breadcrumb a {
  color: #D3DAC9!important;
}

.breadcrumb-page,
.breadcrumb-page a {
  color: #2B3F3F!important;
}

.page-template-page-writers .breadcrumb-page {
  color: #D3DAC9!important;
}

.breadcrumb.sbp-main-before .wrap,
.breadcrumb.pbp-main-before .wrap {
  display: flex;
  justify-content: end;
  padding-right: 40px;
}

.breadcrumb.sbp-main-before .fa-fw,
.breadcrumb.pbp-main-before .fa-fw {
  display: none;
}

.single .breadcrumb.sbp-main-before {
  color: #2b3f3f;
  background: #f1f3ed;
}

.single .breadcrumb a {
  color: #2b3f3f!important;
}

.page-template-page-writers .breadcrumb a {
  color: #D3DAC9!important;
}

.no-image {
  background: #fff;
}

.a-wrap:hover {
  background: none;
}

.entry-card-thumb {
  margin-bottom: 20px;
  position: relative;
}

.entry-card-title {
  height: 60px;
  margin-bottom: 20px;
  font-size: 20px;
}

.entry-card-snippet {
  font-size: 16px;
  line-height: 25px;
}

.related-entry-card-title, .entry-card-title {
  -webkit-line-clamp: 2;
}

.ect-3-columns .entry-card-snippet {
  height: 75px;
}

.ect-vertical-card .entry-card-wrap .entry-card-meta {
  padding-top: 20px;
  color: #A8A8A8;
}

.ect-vertical-card .entry-card-wrap .entry-card-meta .far {
  display: none;
}

.entry-card-info > * {
  font-family: Inter, Futura;
  font-size: 15px;
  font-weight: 400;
}

.e-card-info {
  justify-content: start;
}

.entry-card .admin-pv {
  margin: 20px 0 0;
}

.entry-date {
  margin: 0;
}

.article {
  margin: 0 auto;
  width: 780px;
}

.article h5 {
  padding-left: 0!important;
  border-bottom: none;
}

.blank-box {
  border-width: 1px;
}

.sns-share-buttons a {
  width: 45px!important;
  border-radius: 50px;
  background: none;
  color: #2b3f3f;
  border: 1px solid #2b3f3f;
}

.sns-share-buttons .button-caption {
  display: none;
}

.cat-link,
.entry-tags a {
  border-radius: 5px;
  color: #2b3f3f;
  background: #e1e5d9;
  border: none;
}

.cat-link span:before,
.entry-tags a span:before {
  content: '#';
  display:inline-block;
}

.cat-link:hover {
  color: #2B3F3F;
}

.member_register {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw!important;
  margin: 0 calc(50% - 50vw) -1px;
  padding: 100px 20px;
  text-align: center;
  color: #D3DAC9;
  font-family: "Noto Sans JP", sans-serif;
  background: url("../../../images/bg-register.png") no-repeat;
  object-fit: cover;
}

.member_register .innter {
  width: 50%;
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.member_register h2 {
  font-size:30px;
  line-height: 40px;
}

.member_register p {
  margin: 40px 0;
}

.member_register a {
  padding: 15px 40px;
  display: inline-block;
  color: #D3DAC9;
  border: 1px solid #D3DAC9;
  border-radius: 30px;
}

.member_register a:hover {
  color: #2b3f3f;
  background: #D3DAC9;
}





/************************************
** Header
************************************/
.header-container {
  font-weight: bold;
  height: 128px;
}

.header-container-in {
  height: 128px;
}

.header-container-in.hlt-top-menu .header {
  display: flex;
}

.header-container-in.hlt-top-menu.hlt-tm-small .site-name-text-link,
.site-name-text-link {
  margin: 0;
  padding: 0;
}

.hlt-tm-small .navi-in > ul li, .cl-slim .navi-in > ul li {
  height: 45px;
}

.menu-header .menu-button a {
  padding: 4px 15px;
  border-radius: 100px;
  border: 1px solid #2B3F3F;
}

#header-container.fixed-header {
  box-shadow: none;
  background: transparent;
  mix-blend-mode: multiply;
}

#header-container .navi {
  background: none;
}





/************************************
** Footer
************************************/
.footer {
  margin-top: 0;
  padding: 1px;
  color: #D3DAC9!important;
}

.footer a {
  color: #D3DAC9!important;
}

.footer-bottom {
  margin: 70px 12px 0;
}

.footer-bottom-logo {
  top: 0;
}

.footer-bottom-logo img {
  height:40px;
}

.footer-bottom-content {
  display: flex;
  gap: 150px;
  margin-right: 15%;
  text-align: left;
}

.footer-bottom-content h4 {
  margin-bottom: 30px;
  font-family: Inter, Futura;
  font-size: 18px;
  font-weight: bold;
}

.footer-bottom-content ul {
  list-style-type: none;
  margin-bottom: 20px;
  padding-left: 0;
}

.footer-end {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  padding-top: 20px;
  border-top: 1px solid #3C5050;
}

.footer-end .navi-footer-in > .menu-footer {
  gap: 40px;
  padding: 0 8px;
}

.footer-end .navi-footer-in > .menu-footer li {
  width: auto;
  border: none;
}

.footer-end .navi-footer-in a:hover {
  background: none!important;
}

.footer-end .copyright {
  padding: 8px;
  font-family: Inter, Futura;
  font-size: 14px;
  font-weight: 400;
  text-align: right;
}

.footer_recaptcha {
  margin: 0 0 20px 5px;
  font-size: 12px;
  color: #526a6a;
  line-height: 12px;
  text-align: center;
}

.footer_recaptcha a {
  color: #526a6a!important;
}

.grecaptcha-badge {
  visibility: hidden;
}





/************************************
** Home
************************************/
.home .content {
  margin-top: 0;
}

/* Slick top main */
#swiper-top .slick-prev {
  position: absolute;
  left: 25px;
  bottom: 15%;
  z-index: 100;
  font-family: Inter, Futura;
  color: #45774F;
  font-weight: bold;
  border: none;
  background: none;
  cursor: pointer;
}

#swiper-top .slick-prev::before{
  position: absolute;
  top: 0;
  left: -25px;
	content: "";
  display: inline-block;
	box-sizing: border-box;
	width: 17px;
	height: 17px;
	border: 1px solid #45774F;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}

#swiper-top .slick-prev::after{
  position: absolute;
  top: 4.5px;
	left: -23.5px;
	content: "";
  display: inline-block;
	box-sizing: border-box;
	width: 5px;
	height: 5px;
	border: 4px solid transparent;
	border-right: 5px solid #45774F;
}

#swiper-top .slick-next {
  position: absolute;
  left: calc(30% - 25px);
  bottom: 15%;
  z-index: 100;
  font-family: Inter, Futura;
  color: #45774F;
  font-weight: bold;
  border: none;
  background: none;
  cursor: pointer;
}

#swiper-top .slick-next::before{
  position: absolute;
  top: 0;
  right: -25px;
	content: "";
  display: inline-block;
	box-sizing: border-box;
	width: 17px;
	height: 17px;
	border: 1px solid #45774F;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}

#swiper-top .slick-next::after{
  position: absolute;
  top: 4.5px;
	right: -23.5px;
	content: "";
  display: inline-block;
	box-sizing: border-box;
	width: 5px;
	height: 5px;
	border: 4px solid transparent;
	border-left: 5px solid #45774F;
}

#swiper-top article {
  display: flex!important;
  justify-content:space-between;
  align-items: center;
}

#swiper-top .swiper__detail {
  flex-basis: calc(35% - 20px);
  margin-top: -4%;
}

#swiper-top .swiper__detail h3 {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

#swiper-top .swiper__detail p {
  line-height: 26px;
  margin-bottom: 1rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

#swiper-top .swiper__image {
  flex-basis: calc(65% - 20px);
  position: relative;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  overflow: hidden;
  border-radius: 20px;
}

#swiper-top .swiper__image img {
  width: 847px;
  border-radius: 20px;
}

/* Slick top popular article */
#swiper-popular {
  width: 100vw;
  margin: 0 calc(50% - 50vw) 4rem;
}

#swiper-popular .slick-track {
  display: flex;
}

#swiper-popular .slick-slide {
  padding-left: 1rem;
  padding-right: .5rem;
}

#swiper-popular .slick-slide img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

#swiper-popular .slick-slide:nth-last-of-type(1) {
  padding-right: 1rem;
  padding-left: .5rem;
}

#swiper-popular article {
  width: 450px;
}

#swiper-popular #popular-next,
#swiper-popular #popular-prev {
  display: inline-block;
  vertical-align: middle;
  color: #333;
  border: none;
  line-height: 1;
  top: 20%;
  right: 3%;
  position: absolute;
  width: 3em;
  height: 3em;
  cursor: pointer;
  background: none;
  z-index: 99;
  transform: translateX(25%) rotate(45deg);
}
#swiper-popular #popular-prev {
  transform: translateX(25%) rotate(-135deg);
  left: 2.5%;
}

#swiper-popular #popular-next::before, 
#swiper-popular #popular-next::after,
  #swiper-popular #popular-prev::before, 
  #swiper-popular #popular-prev::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 0.1em;
}

#swiper-popular #popular-next::before,
#swiper-popular #popular-prev::before {
  top: 0;
  left: 0;
  right: 0;
  height: 0.1em;
}

#swiper-popular #popular-next::after,
#swiper-popular #popular-prev::after {
  top: 0;
  right: 0;
  bottom: 0;
  width: 0.1em;
}

.heading__top {
  margin-bottom: 40px;
  text-align: center;
}

.heading__top h2 {
  font-size: 2rem;
  line-height: 3rem;
}

.heading__top .heading__top__en {
  color: #45774F;
  font-weight: bold;
}

.section__category {
  width: 100vw;
  margin: 70px calc(50% - 50vw);
  padding: 70px 15px;
  color: #fff;
  background: #45774F;
}

.home .section__category {
  margin: 0 calc(50% - 50vw);
}

.section__category .heading__top .heading__top__en {
  color: #8ABF7E;
}

.section__category .wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.section__category .catlist {
  flex-basis: 150px;
}

.section__category .catlist span {
  display: flex;
  width: 150px;
  height: 150px;
  background: #fff;
  border-radius: 150px;
  align-items: center;
  justify-content: center;
}

.section__category .catlist img {
  width: 90px;
}

.section__category .catlist p {
  margin-top: 10px;
  padding: 0 10px;
  text-align: center;
  font-weight: bold;
}

.section__category .catlist a:hover p {
  color: #8bbf7e;
}

.section__catlist {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
}

.section__catlist:nth-child(even) {
  background: #fff;
}

.section__catlist .section__catlist__text {
  width: 50%;
  padding: 100px 0 70px;
  position: relative;
}

.section__catlist .section__catlist__text span {
  font-family: 'journal';
  font-size: 60px;
  color: #D3DAC9;
  display: inline-block;
  position: absolute;
  top: 60px;
  left: -25px;
  transform: rotate(-6deg);
}

.section__catlist .section__catlist__text h2 {
  margin-bottom: 50px;
  font-size: 2rem;
  position: relative;
  z-index: 99;
}

.section__catlist .section__catlist__text p {
  margin-bottom: 50px;
}

.section__catlist .section__catlist__text a {
  display: inline-block;
  padding: 10px 50px;
  color: #45774F;
  border-radius: 60px;
  border: 1px solid #45774F;
}





/************************************
** Archives
************************************/
/*.archive #main {
  padding-bottom: 50px;
}*/

.archive .breadcrumb.sbp-main-before + .content,
.page-template-page-writers .breadcrumb.pbp-main-before + .content {
  margin-top: -1px;
}

.archive .section__catlist .fa-folder-open,
.archive .section__catlist .fa-tags {
  display: none;
}

.archive .section__catlist,
.page-template-page-writers .section__catlist {
  color: #8ABF7E;
  background: #2b3f3f;
}

.archive .section__catlist .section__catlist__text,
.page-template-page-writers .section__catlist__text {
  padding: 0 70px 100px 0!important;
}

.archive .section__catlist .section__catlist__text span,
.page-template-page-writers .section__catlist__text span {
  top: -35px!important;
}

#list {
  margin: -100px 0 3px -8px;
}

#list a:hover {
  opacity: 1;
  transform: translateY(-5px);
}

#list .card-thumb {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  overflow: hidden;
}

#list.writer > a {
  width:32%;
}

#list.writer article {
  padding: 20px;
  min-height: 485px;
  text-align: center;
  background: #fff;
  box-shadow: 0 0 15px rgba(43,63,63,0.1);
}

#list.writer article h3 {
  margin: 20px;
}

#list.writer article img {
  width: 150px;
  border-radius: 100vh;
  height: 150px;
  object-fit: cover;
}

#list.writer article button {
  margin: 20px;
  padding: 5px 10px;
  color: #2B3F3F;
  border-radius: 100px;
  border: 1px solid #2B3F3F;
  background: #fff;
}

.posts-not-found {
  text-align: center;
  margin: 100px 0;
}




/************************************
** Single Post
************************************/
.single .section__catlist {
  width: 780px;
  margin: 0 auto;
}

.single .section__catlist .section__catlist__text {
  padding: 0;
}

.single .section__catlist .section__catlist__text span {
  top: -35px;
}

.entry-title {
  font-size: 35px;
  line-height: 50px;
}

.date-tags {
  text-align: left;
  margin-bottom: 20px;
  line-height: 20px;
  color: #A8A8A8;
}

.date-tags .post-date {
  font-family: Inter, Futura;
  font-size: 14px;
  font-weight: 400;
}

.date-tags .post-date .fa-clock {
  display: none;
}

.date-tags .post-update .fa-history {
  font-size: 14px;
  margin-right: 3px;
}

.article .post-categories {
  margin-top: -10px;
  margin-bottom: 0;
}

.article h2 {
  margin-top: 100px;
  padding: 25px 25px 0 0;
  font-size: 30px;
  background: none;
  color: #2B3F3F;
  font-family: Inter, Futura ,"Noto Sans JP" ,sans-serif!important;
}

.article h2:nth-of-type(1) {
  margin-top: 0;
}

.article h3 {
  border: none;
  margin-top: 70px;
  padding-left: 0;
}

.single .article h3 {
  padding-left: 20px;
  background: #e1e5db;
}

.article h4 {
  border: none;
  margin: 20px auto;
  padding: 8px 20px;
  min-width: 200px;
  color: #fff;
  display: inline-block;
  text-align: center;
  font-size: 16px;
  border-radius: 5px;
  background: #2b3f3f;
}

table tr:nth-of-type(2n+1) {
  background-color: #e1e5db;
}

.toc {
  border-radius: 5px;
  background: #e1e5da;
  border: none;
}

.toc .toc-title {
  font-weight: bold;
  color: #8bbf7e;
}

.toc li::marker {
  color: #8bbf7e;
}

#wpmem_restricted_msg {
  position: relative;
}

#wpmem_restricted_msg::before {
  content: '';
  width: 100%;
  height: 120px;
  display: block;
  background: linear-gradient(rgba(255,255,255,0) 0, #f1f3ed 80%);
  position: absolute;  /*  */
  top: -115px;
  left: 0;
}

#wpmem_restricted_msg p {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: bold;
  color: #45774F;
}

#wpmem_restricted_msg p span {
  margin-right: 10px;
}

.footer-meta {
  padding: 30px;
  text-align: left;
  background: #e1e5da;
  position: relative;
}

.footer-meta .author-info > p {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  padding: 3px 15px;
  color: #fff;
  background: #2B3F3F;
}

.footer-meta .author-info a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #2b3f3f;
}

.footer-meta .author-info img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 160px;
}

.author-info .post-author-wrap {
  width: 100%;
}

.author-info .post-author {
  display: inline-block;
  flex-grow: 1;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: bold;
}

.author-info .author-description {
  margin-bottom: 15px;
  font-size: 14px;
}

.author-info button {
  padding: 10px 20px;
  font-size: 14px;
  color: #45774F;
  border: 1px solid #45774F;
  border-radius: 20px;
  background: none;
}

/* term */
.tax-post_writer .footer-meta {
  margin-top: -90px;
  margin-bottom: 100px;
  background: #f1f3ed;
}

.tax-post_writer .footer-meta .author-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  color: #2b3f3f;
}

.tax-post_writer .footer-meta .author-info img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 220px;
}

.tax-post_writer .footer-meta .author-info .post-author {
  display: inline-block;
  margin-bottom: 15px;
  font-size: 30px;
  font-weight: bold;
}

.tax-post_writer .footer-meta .author-info .author-description {
  margin-bottom: 15px;
  font-size: 16px;
}




/************************************
** Page
************************************/
.page .article {
  padding-bottom: 70px;
}





/************************************
** Contact
************************************/
.wp-block-group {
  padding: 0!important;
}

.form-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1%;
  margin-top: 70px;
}

.form-contact .form-contact__heading {
  flex-basis: 30%;
}

.form-contact .form-contact__input {
  flex-basis: 69%;
  margin-bottom: 20px;
}

input[type=text],
input[type=email],
textarea {
  padding: 15px 20px;
  border: none;
  border-radius: 10px;
}

input:-internal-autofill-selected {
  border: 1px solid #b7cdf8;
}

.form-contact > p {
  display: flex;
  justify-content: center;
  width: 100%;
}

input[type="submit"] {
  padding: 15px 30px;
  width: auto;
  min-width: 200px;
  font-size: 20px;
  color: #45774F;
  background: none;
  border: 1px solid #45774F;
  border-radius: 30px;
}

input[type="submit"]:hover {
  color: #fff;
  background: #45774F;
}

.wpcf7-not-valid-tip {
  margin-top: 5px;
  color: #e86464;
}

.wpcf7-response-output {
  flex-basis: 100%;
  margin: 20px 0 40px!important;
  padding: 20px!important;
  color: #e86464;
  border: none!important;
  background: #f2d5d5;
  border-radius: 10px;
}

input[type="checkbox" i] {
  position: relative;
  width: 24px;
  height: 24px;
  margin: 0 5px -4px 0;
  appearance: none;
  background: #FFFFFF;
  border: solid 2px #808080;
  border-radius: 4px;
  box-shadow: 0 0 0 0 transparent;
  transition-duration: 0.2s;
  transition-property: background-color, border, box-shadow, color;
}

input[type="checkbox" i] {
  &:checked {
    background: #467750;
    border-color: #467750;
  }
}

input[type="checkbox" i] {
  &:checked::before {
    opacity: 1;
  }
}

input[type="checkbox" i] {
  &::before {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    content: "";
    opacity: 0;
    mask-image: url("../../../images/icon.svg");
    mask-repeat: no-repeat;
    mask-size: contain;
    background-color: #FFFFFF;
    transition: opacity 0.2s;
  }
}




/************************************
** Member
************************************/
#wpmem_reg input[type=text],
#wpmem_reg input[type=email],
#wpmem_reg input[type=password],
#wpmem_reg textarea,
#wpmem_reg select,
#wpmem_login input[type=text],
#wpmem_login input[type=email],
#wpmem_login input[type=password],
#wpmem_login textarea {
  padding: 15px 20px!important;
  border: none!important;
  border-radius: 10px!important;
}

#wpmem_login,
#wpmem_reg {
  width: 100%!important;
  padding: 30px;
  background: #e1e5da;
}

#wpmem_login fieldset,
#wpmem_reg fieldset {
  width: 400px;
  margin: 0 auto !important;
}

#wpmem_login legend,
#wpmem_reg legend {
  margin: 30px 0!important;
  text-align: center;
}

#wpmem_login label,
#wpmem_reg label {
  display: inline-block!important;
  margin-bottom: 5px;
  font-weight: 200;
}

.required,
#wpmem_reg .req,
#wpmem_reg .req-text {
  /* display: none; */
  color: #e86464 !important;
}

#wpmem_login .button_div,
#wpmem_reg .button_div,
#wpmem_login .link-text {
  text-align: center!important;
}

#wpmem_login .button_div {
  margin: 10px 0 30px!important;
}

#wpmem_login .button_div #rememberme,
#wpmem_reg input#tos {
  position: relative;
  width: 24px;
  height: 24px;
  margin: 0 5px -4px 0;
  appearance: none;
  background: #FFFFFF;
  border: solid 2px #808080;
  border-radius: 4px;
  box-shadow: 0 0 0 0 transparent;
  transition-duration: 0.2s;
  transition-property: background-color, border, box-shadow, color;

  /* 強制カラーモードが有効のときは、既定のシステムカラー値を設定して、トランジションを無効にする */
  @media (forced-colors: active) {
    transition: none;
    border-color: CanvasText;
  }

  /* アイコン：選択済みの見た目 */
  &:checked {
    background: #467750; /* 紫色 */
    border-color: #467750; /* 紫色 */

    /* 強制カラーモードが有効のときは、システムカラーを設定 */
    @media (forced-colors: active) {
      background-color: Canvas;
      border-color: CanvasText;
    }
  }

  /* アイコン：活性時のホバー演出 */
  &:hover:enabled {
    /* 強制カラーモードが無効かつ、ホバーが有効のときは、ホバー演出を追加 */
    @media (forced-colors: none) and (any-hover: hover) {
      border-color: #467750; /* 紫色 */
      box-shadow: 0 0 0 4px #f1f3ed; /* 薄い紫色 */
    }
  }

  /* チェックマーク */
  &::before {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    content: "";
    opacity: 0;
    mask-image: url("../../../images/icon.svg");
    mask-repeat: no-repeat;
    mask-size: contain;
    background-color: #FFFFFF;
    transition: opacity 0.2s;
  }
  /* 強制カラーモードが有効のときは、既定のシステムカラー値を設定して、トランジションを無効にする */
  @media (forced-colors: active) {
    &::before {
      transition: none;
      background-color: CanvasText;
    }
  }

  /* チェックマーク：選択済みの見た目 */
  &:checked::before {
    opacity: 1;
  }
}

#wpmem_login .buttons {
  display: block;
  margin: 20px auto 0;
}

#wpmem_login,
#wpmem_reg {
  margin-top: -120px;
  z-index: 99;
  position: relative;
}

.wpmem_msg {
  position: relative;
  z-index: 999;
  background: #f7dcdc!important;
  border-radius: 10px!important;
  border: 1px solid #eeb8b8!important;
  margin: 0 auto 130px!important;
}




/************************************
** My Page
************************************/
ul:has(.history) {
  margin-top: 40px;
  padding: 0;
  list-style-type: none;
}

.history a {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
  color: #2b3f3f;
}

.history img {
  width: 230px;
}

.history h3 {
  margin: 0 0 10px;
  padding: 0;
  font-size: 20px;
}

.history p {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 22px;
}

.history .date {
  color: #A8A8A8;
  font-family: Inter, Futura;
  font-size: 14px;
  font-weight: 400;
}

.mypage-edit .settings {
  display: none;
}

ul.settings {
  margin-top: -15px;
}





/************************************
** MailPoet
************************************/
.mailpoet-manage-subscription .mailpoet_paragraph,
.mailpoet-manage-subscription .mailpoet_paragraph .mailpoet_select_label{
  display: none;
}

.mailpoet-manage-subscription div.mailpoet_paragraph:nth-of-type(3),
.mailpoet-manage-subscription div.mailpoet_paragraph:nth-of-type(5) {
  display: block;
  width: 200px;
}

.mailpoet_paragraph input[type="submit"] {
  width: 200px;
  min-width: 200px!important;
  margin: 20px auto;
  padding: 10px 10px;
  border-radius: 40px;
  border: 1px solid #2B3F3F!important;
}





/************************************
** 404
************************************/
.error404 .not-found {
  margin-top: 10vh;
  max-width: 400px;
}

.error404 .article {
  margin-bottom: 20vh;
  text-align: center;
}




/************************************
** Admin
************************************/
.admin-pv .admin-pv-by {
  bottom: -2em;
}




/********************************* ***
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1416px*/
@media screen and (max-width: 1416px){
  .wrap {
    width: 1256px;
  }
}

/*1255px*/
@media screen and (max-width: 1255px){
  .wrap {
    width: auto;
  }

  .navi-in > ul {
    gap: 15px;
  }

  .navi-in a {
    font-size: 15px;
  }

  #swiper-top .slick-prev,
  #swiper-top .slick-next {
    bottom: 5%;
  }

  .articles .articles__image {
    min-height: unset;
  }
}

/*1023px以下*/
@media screen and (max-width: 1023px){
  body:where(.mblt-header-mobile-buttons, .mblt-header-and-footer-mobile-buttons) {
    margin-top: 83px;
  }

  .menu-content {
    max-width: 70%;
  }

  #navi-menu-input:checked ~ #navi-menu-content {
    overflow: visible;
  }

  #navi-menu-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
  }

  #navi-menu-content .menu-title {
    margin: 40px 0;
    width: 100%;
    text-align: center;
    font-family: Inter, Futura;
    font-size: 20px;
    font-weight: bold;
    color: #45774F;
  }

  #navi-menu-close {
    background: #45774F;
  }

  .menu-close-button {
    position: absolute;
    top: 10px;
    right: -40px;
    color: #fff;
    font-weight: 100;
  }

  .menu-drawer {
    width: 100%;
    height: 70vh;
  }

  .menu-drawer a {
    font-size: 18px;
    text-align: center;
    margin-bottom: 20px;
  }

  .header-container {
    display: none;
  }

  #swiper-top article {
    flex-direction:column-reverse;
  }

  #swiper-top article {
    flex-direction:column-reverse;
  }

  #swiper-top .swiper__detail {
    flex-basis: 100%;
    margin-top: 20px;
    width: 100%;
  }

  #swiper-top .slick-prev, #swiper-top .slick-next {
    bottom: -30px;
  }

  #swiper-top .slick-next {
    right: 25px;
    left: auto;
  }

  #swiper-top .swiper__detail h3 {
    height: auto;
    overflow: hidden;
  }

  .mobile-header-menu-buttons {
    padding: 10px;
    background: none;
    box-shadow: none;
  }

  .mobile-menu-buttons .menu-button {
    width: auto;
    justify-content: space-between;
  }

  .mobile-menu-buttons .menu-caption {
    display: none;
  }

  .mobile-menu-buttons .menu-icon {
    font-size: 45px;
  }

  .section__catlist .section__catlist__text {
    width: 100%;
  }

  .articles.col3 article {
    width: 47%;
  }
  
  .articles.col4 article {
    width: 47%;
  }

  #list.writer > a {
    width: 49%;
  }

  .page .article {
    padding-bottom: 0;
  }

  .footer-bottom-logo {
    margin-bottom: 50px;
  }

  .footer-bottom-content {
    gap: 50px;
    justify-content: center;
    margin-right: 0;
  }

  .footer-end .navi-footer-in > .menu-footer {
    gap: 20px;
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  .logo-menu-button img {
    max-height: 30px;
  }

  .mobile-menu-buttons .menu-icon {
    font-size: 30px;
  }

  body.home main.main {
    padding-top: 0;
    padding-bottom: 0;
  }

  .article,
  .single .section__catlist {
    width: 100%;
  }

  .tax-post_writer .footer-meta .author-info img {
    width: 150px;
    height: 150px;
  }
  
  #wpmem_login fieldset,
  #wpmem_reg fieldset {
    width: auto;
  }

  .section__catlist {
    margin-top: -32px;
  }

  .footer-end {
    justify-content: center;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  body:where(.mblt-header-mobile-buttons, .mblt-header-and-footer-mobile-buttons) {
    margin-top: 60px;
  }

  main.main {
    padding: 0 16px 32px;
  }

  .wrap {
    padding: 0;
  }

  .breadcrumb.sbp-main-before,
  .breadcrumb.pbp-main-before {
    padding: 15px 10px;
  }

  .breadcrumb.sbp-main-before .wrap,
  .breadcrumb.pbp-main-before .wrap {
    padding-right: 0;
  }

  .menu-drawer li:nth-last-of-type(1) a {
    width: 150px;
    margin: 0 auto;
    padding: 10px 10px;
    border-radius: 40px;
    border: 1px solid #2B3F3F;
  }

  .heading__top h2 {
    font-size: 1.7em;
    line-height: 1.7em;
  }

  .entry-title {
    font-size: 23px;
    padding-left: 0;
  }

  .section__catlist {
    margin-top: 0;
  }

  .section__catlist .section__catlist__text span {
    top: 25px!important;
    left: -10px;
    font-size: 30px;
  }
  
  .single .section__catlist .section__catlist__text span,
  .archive .section__catlist .section__catlist__text span,
  .page-template-page-writers .section__catlist .section__catlist__text span {
    top: -25px!important;
    left: -10px;
    font-size: 30px;
  }

  #list.writer article {
    min-height: auto;
  }

  .section__category .catlist {
    flex-basis: 120px;
  }

  .section__category .catlist span {
    width: 120px;
    height: 120px;
  }

  .section__catlist .section__catlist__text {
    padding: 50px 0 30px;
  }
  
  .section__catlist .section__catlist__text h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
  }

  .section__catlist .section__catlist__text p {
    margin-bottom: 20px;
  }

  .section__catlist .section__catlist__text a {
    padding: 10px 20px;
  }

  #list.writer > a {
    width: 100%;
  }
  
  .icon-new {
    top: 5px;
    left: 5px;
    padding: 5px 10px;
    font-size: 11px;
  }

  .post-categories li a {
    margin: 0 5px 16px 0;
    padding: 4px 7px;
    font-size: 12px;
  }

  #navi-menu-content .sp-copy {
    margin-bottom: 20px;
    font-size: 12px;
  }

  .related-entry-card-title, .entry-card-title {
    -webkit-line-clamp: 3;
  }
  
  .entry-card-title {
    height: 80px;
    font-size: 17px;
  }

  .article .post-categories {
    padding-left: 0;
  }

  .article h2 {
    font-size: 22px;
  }

  .articles .articles__detail h3 {
    height: auto;
    font-size: 17px;
  }

  .articles .articles__detail p {
    height: auto;    
  }

  .author-info {
    text-align: center;
  }

  .tax-post_writer .footer-meta .author-info {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .tax-post_writer .footer-meta .author-info .post-author {
    font-size: 24px;
  }

  .form-contact .form-contact__heading,
  .form-contact .form-contact__input {
    flex-basis: 100%;
  }
  
  .form-contact__heading p {
    margin-bottom: 5px;
  }

  .wpcf7-spinner {
    position: absolute;
    right: 0;
  }

  .entry-content li a {
    padding: 15px;
    font-size: 16px;
  }
  
  #wpmem_login,
  #wpmem_reg {
    margin-top: -120px;
  }

  ul:has(.history) {
    margin-top:0;
  }
  
  ul:has(.history) a {
    padding: 0;
  }

  .history img {
    width: 150px;
  }

  .history h3 {
    font-size: 18px;
  }

  .history .description {
    display: none;
  }


  .footer-meta .author-info a {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-end {
    flex-wrap: wrap;
  }

  .footer-end .copyright {
    width: auto;
    white-space: nowrap;
  }
}
