@charset "UTF-8";
/*font for icon*/
@import url(https://db.onlinewebfonts.com/c/d44f5c18179598dfd8f5b2e525301a45?family=GLYPHICONS+Halflings);

@font-face {
  font-family: "GLYPHICONS Halflings";
  src: url("https://db.onlinewebfonts.com/t/d44f5c18179598dfd8f5b2e525301a45.eot");
  src: url("https://db.onlinewebfonts.com/t/d44f5c18179598dfd8f5b2e525301a45.eot?#iefix") format("embedded-opentype"),
    url("https://db.onlinewebfonts.com/t/d44f5c18179598dfd8f5b2e525301a45.woff2") format("woff2"),
    url("https://db.onlinewebfonts.com/t/d44f5c18179598dfd8f5b2e525301a45.woff") format("woff"),
    url("https://db.onlinewebfonts.com/t/d44f5c18179598dfd8f5b2e525301a45.ttf") format("truetype"),
    url("https://db.onlinewebfonts.com/t/d44f5c18179598dfd8f5b2e525301a45.svg#GLYPHICONS Halflings") format("svg");
}

.edit-post-visual-editor {
    margin: 0 auto !important;
    max-width: 800px !important;
}

/*css for header*/

/* 投稿記事のH2のカスタマイズの始まり */
.article h2 {
  background-color: unset;
  color: #333;
  margin-bottom: 0 !important;
  padding-left: 0;
  font-weight: bold;
  line-height: unset !important;
  font-weight: unset !important;
}

.article .wp-block-heading {
  padding-bottom: 10px;
}

.article h2 span {
  font-weight: bold;
}

/* 投稿記事のH2のカスタマイズの終わり */


/* ヘッダーのデザインのカスタマイズの始まり */
#header-container {
  background-color: white !important;
}

.navbar {
  width: 100%;
  text-decoration: unset !important;
}

.logo-subsc {
  background: url(https://subsc.jp/column/wp-content/uploads/2023/10/subsc_logo.jpeg) center no-repeat;
  background-size: contain;
  width: 100px;
  margin-right: 150px;
  height: 100%;
}

.navbar a {
  text-decoration: unset !important;
  color: unset !important;
}

.navbar-up a:hover {
  color: black !important;
}

.navbar-down a:hover {
  color: #777 !important;
}

.navbar-down-right a {
  color: #efcf8d !important;
}

.navbar-up {
  height: 60px;
  max-width: 1130px;
  padding: 15px;
  margin: 0 auto;
  background-color: white;
  display: flex;
  color: #777;
  align-items: center;
  justify-content: flex-start;
}

.navbar-up-list {
  padding: 0 15px;
}

.navbar-up-list a {
  text-decoration: unset;
  color: unset;
}

.navbar-up .pc-form {
  margin: 10px 15px;
}

.navbar-up form input {
  padding: 6px 12px;
  font-size: 16px !important;
  line-height: 1.42;
}

.navbar-up form button {
  margin-left: 0;
  border-width: 1px;
  padding: 8px 12px;
}


@media (min-width: 1150px) {
  .log_in_tablet {
    display: none !important;
  }
}

@media (max-width: 1150px) {
  .navbar-tablet {
    display: none;
    background-color: white;
    justify-content: end;
    align-content: center;
    padding-right: 10% !important;
    color: #777;
  }

  .logo-subsc {
    margin-right: 50px;
  }

  .leaf {
    display: none !important;
  }

  .log_in {
    display: none !important;
  }

  .navbar-down-right {
    display: none !important;
  }

  .navbar-down-list-mobile {
    display: none;
  }

  .navbar-down {
    height: auto !important;
    text-align: left;
    font-size: 14px;
    line-height: 1.42;
  }

  .navbar-down-list-mobile {
    display: flex;
  }

  .navbar-down {
    height: auto !important;
    text-align: left;
  }

  .navbar-up form {
    justify-content: start;
  }

  .navbar-up-item {
    margin-right: unset !important;
    padding: 0.5rem 0.5rem !important;
    font-size: 14px !important;
  }
}

@media (min-width: 900px) {
  .navbar-tablet {
    display: none;
  }

  .navbar-down-list-mobile {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .navbar-up {
    display: flex;
    justify-content: space-around;
  }

  .navbar-up form input {
    width: 200px !important;
  }

  .navbar-down-list-pc {
    display: none !important;
  }

  .navbar-down-list-mobile {
    font-size: 12px;
    line-height: 20px;
  }

  .navbar-down-item-mobile {
    padding: 5px 10px;
  }

  .logo-subsc {
    margin-right: 10px;
  }
}

@media (min-width: 700px) {
  .mobile-form {
    display: none !important;
  }

  .navbar-mobile {
    display: none !important;
  }
}

@media (max-width: 700px) {
  .logo-subsc {
    width: 90px;
    margin: 0;
    padding: 0;
  }

  .navbar-up .navbar-up-list {
    display: none !important;
  }

  .navbar-down-list-pc {
    display: none !important;
  }

  .pc-form {
    display: none !important;
  }

  .navbar-tablet {
    display: none !important;
  }

  .mobile-form {
    display: flex !important;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    font-size: 14px;
  }

  .mobile-form div {
    width: 85%;
  }

  .mobile-form input {
    height: 75%;
    width: 100%;
    font-size: 15px;
  }

  .navbar-mobile .navbar-up-list {
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    height: 100%;
    padding: 0;
  }

  .navbar-mobile .navbar-up-item p {
    font-size: 12px !important;
    line-height: 1;
  }

  .navbar-pc-form {
    display: block !important;
  }

  .navbar-up {
    justify-content: space-between;
    height: 50px;
    padding: 0 0 0 2% !important;
  }

  .navbar-up-item {
    display: block !important;
    padding: 0 10px 0 0 !important;
  }

  .navbar-mobile {
    display: flex;
    justify-content: end;
    align-content: end;
    flex-wrap: wrap;
  }

  .navbar-mobile .navbar-down-list {
    float: right !important;
  }

  .navbar-down-list-mobile {
    display: none !important;
  }
}

.image-link {
  display: inline-block;
}

.navbar-up img {
  max-height: 100%;
  width: auto;
  padding: 1%;
  margin-right: 15%;
  scale: 67.5%;
  transform: translateX(-20%);
}

.navbar-up form input {
  width: 300px;
}

.navbar-up form button {
  background-color: white;
}

.navbar-up form button:hover {
  background-color: lightgrey;
}

.navbar-up-list {
  display: flex;
}

.navbar-up-item {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  cursor: pointer;
  padding: 15px;
}

.navbar-up-item p {
  padding-left: 0.2rem;
}

.navbar-up-item:hover {
  color: black;
}

.navbar-down {
  background-color: #333333;
  color: white;
  display: flex;
  justify-content: center;
  align-content: center;
  position: relative;
  flex-wrap: wrap;
}

.navbar-down-list-pc {
  display: flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
}

.navbar-down-item {
  display: flex;
  justify-content: center;
  align-content: center;
  font-size: 14px;
  padding: 5px 15px;
  cursor: pointer;
  flex-wrap: wrap;
}


.navbar-down-item:hover {
  color: #777;
}

.navbar-down-right {
  position: absolute;
  right: 30px;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  height: 100%;
}

.navbar-down-right .navbar-down-item {
  color: #efcf8d;
}

.navbar-down-right .navbar-down-item:hover {
  color: #777;
}


/*css for footer*/

.footer-container {
  background-color: #333333 !important;
}


.footer {
  background-color: #333333 !important;
  width: 100%;
  padding: 0.125rem 0.9375rem 2rem 0.9375rem;
  font-size: 14px;
}

.footer-row {
  display: flex;
  align-content: center;
  justify-content: center;
  width: 100%;
}

.footer-row a {
  text-decoration: unset;
  color: unset;
}

.footer-list-item {
  margin: 0 auto;
}

.footer-list-item p {
  margin-bottom: 10px;
  line-height: 1.42;
}

.footer-list-item a {
  text-decoration: unset;
  color: unset;
  cursor: pointer;
}

.button-reader-pc {
  text-align: center;
  white-space: nowrap
}

.button-reader-mobile {
  display: none;
}

.footer a:hover {
  background-color: unset !important;
  text-decoration: underline;
}

.btn-mail {
  background-color: #0B796F;
  border-radius: 10px;
  border: 0;
  margin: auto;
}

.wp-block-button__link.btn-red {
	background-color: #CC0000;
	border-color: #CC0000;
	border-radius: 6px; 
	width: 50%;
	white-space: pre;
}

@media (max-width: 599px) {
	.wp-block-button__link.btn-red { 
		width: 100%;
	}
}

.btn-red:focus,
.btn-red.focus {
  color: #fff;
  background-color: #af0101;
  border-color: #af0101;
}

.btn-red:hover {
  color: #fff;
  background-color: #af0101;
  border-color: #af0101;
}

.article.post h3{
	border-right: none;
	border-top: none;
	border-bottom: none;
	margin-bottom: 10px;
}

/* 目次のリンクをクリックした際の位置ずれの解消 */
/* 900px以上のみで対応 */
@media (min-width: 900px) {
  :target::before {
    content:"";
    display:block;
    height: 100px;
    margin :-100px 0 0;
  }
}

@media (max-width: 900px) {
  .footer-list-item p {
    font-size: 12px;
  }

  .footer-list-item-pc p {
    font-size: 12px;
  }
}

@media (min-width: 768px) {
  .footer-list-item-mobile {
    display: none !important;
  }

  .footer-list-item-pc {
    display: block;
  }

  .footer-list-item-pc {
    margin: 0 auto !important;
  }
}

@media (max-width: 768px) {
	.footer-list-item{
		margin: 0 !important;
	}
	
  .footer {
    font-size: 11px
  }

  .footer-list-item p {
    margin-bottom: 10px
  }

  .footer-list-item-mobile p {
    margin-bottom: 0.5rem;
  }

  .footer-row {
    display: flex;
    align-content: center;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
  }

  .footer-list-item-mobile {
    transform: translateX(-30%);
    display: block;
    margin-left: 2rem;
  }

  .footer-list-item-mobile a {
    text-decoration: unset;
  }

  .footer-list-item-pc {
    display: none;
  }

  .footer-list-item {
	  width: 50%;
	  padding: 0 15px;
  }

  .button-reader-pc {
    display: none;
  }

  .button-reader-mobile {
    display: block;
  }
}

@media (max-width: 500px) {
	.footer {
		padding-right: 0;
		padding-left: 0;
	}
	
	.footer-list-item{
		padding: 0;
	}
	
	.footer-list-item p{
		font-size: 11px;
	}
	
	.footer-list-item-mobile{
		margin-left: 0;
	}
}

@media (max-width: 599px) {
  .only-sp-center {
    text-align: center;
  }
	
  .entry-title{
	  padding: 0;
  }
	.article-header .entry-title{
		line-height: 1.7;
	}
	
	.entry-card-thumb.card-thumb.e-card-thumb{
		padding-right: 10px;
	}
	
	.blogcard-title.external-blogcard-title{
		margin-bottom: 10px;
	}
	
	.blogcard-snippet.external-blogcard-snippet{
		line-height: 1.5;
	}
}

@media (max-width: 599px) {
  .archive-title {
	  font-size: 21px;
	  margin-top: 0px;
  }
}

@media (max-width: 599px) {
  .e-card-title {
	  font-size: 15px;
	  line-height: 1.6;
  }
}

@media (max-width: 599px) {
  .blogcard-content {
	  line-height: 1.4;
  }
}

.appeal-in, .wrap {
	padding-top: 0px;
	padding-bottom: 0px;
	margin-bottom: -20px;
}

.appeal-content {
	padding-top: 20px;
	padding-bottom: 10px;
}

.content-in.wrap {
	padding-top: 0px;
}

@media (max-width: 599px) {
	.content-in.wrap {
		padding-top: 10px;
	}
}

@media (max-width: 599px) {
  .appeal-in, .wrap {
	  padding-top: 10px;
  }
}

@media (max-width: 599px) {
	.content-in .main,
	.wrap .main {
		padding-top: 20px;
	}
}

.cat-item.cat-item-257{display:none;}
.cat-item.cat-item-300{display:none;}

