@charset "UTF-8";

html{
  height: 100%;
  scroll-behavior: smooth;
  font-size: 18px;
  background: var(--white);
  background-repeat: repeat-y;
}

body{
  max-width: 100%;
  width: 100%;
  height: 100%;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  color: var(--black);
  overflow-wrap: anywhere; /* 収まらない場合に折り返す */
  word-break: normal; /* 単語の分割はデフォルトに依存 */
  line-break: strict; /* 禁則処理を厳格に適用 */
}

body > footer {
  position: sticky;
  top: 100vh;
}

/* カスタムプロパティ */
:root{
  --black:#434343;
  --white:#ffffff;
  --time:#5f6c6e;
  --border:#cadbef;
  --blue:#5ac3cf;
  --shadow: 0px 0px 25px 5px rgb(13 39 132 / 8%);
  --transition: 0.4s;
}

a[target="_blank"]::after{
	content: '';
	margin-left: 0.45rem;
	width: 15px;
	height: 15px;
	mask-image: url(../img/icon/blank.svg);
	mask-repeat: no-repeat;
	mask-size: contain;
	mask-position: center;
	display: inline-block;
	position: relative;
	background-color: #888;
	top: 0px;
	right: 0px;
	border-top: unset;
	border-right:unset;
	transform: unset;
}

img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.inner,
.inner_large{
  margin-left: auto;
  margin-right: auto;
}

h2,h3,h4{
  display: block;
  color: var(--black);
  font-weight: 400;
  letter-spacing: 3px;
}

h2{
  font-size: 2em;
}

h3{
  font-size: 1.75em;
}

h4{
  font-size: 1.25em;
}

@media screen and (min-width: 0px) {
  section{
    margin-bottom: 100px;
    padding: 0em 1.5em;
  }

  .inner,
  .inner_large{
    max-width: 100%;
  }

  h2{
    font-size: 1.75em;
  }
}

@media screen and (min-width: 768px) {

}

@media screen and (min-width: 1024px) {

  h2{
    font-size: 2em;
  }

  section{
    margin-bottom: 150px;
  }

  .inner{
    max-width: 1000px;
  }

}

@media screen and (min-width: 1025px) {

}

@media screen and (min-width: 1440px) {
  
  
  h2{
    font-size: 2.25em;
  }

  .inner{
    max-width: 1200px;
  }
}

/*====================================
ロゴマーク
=====================================*/
.logo h1,
.logo p{
  display: flex;
}

.logo img{
  width: 100%;
  height: auto;
}

/*====================================
電話リンク有効
=====================================*/
/* pcではタップ電話NG */
a[href^="tel:"] {
	pointer-events: none;
	text-decoration: none;
}
  /* spではタップ電話OK */
  @media only screen and (max-width: 768px) {
    a[href^="tel:"] {
    pointer-events: auto;
    cursor: pointer;
  }
}

/*====================================
breadcrumbs
=====================================*/
.breadcrumbs {
  margin: 1em 0;
}

.breadcrumbs span a:link,
.breadcrumbs span a:visited  {
  color: #757474;
}

/*====================================
ページネーション
=====================================*/
.pager-archive .wp-pagenavi{
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.wp-pagenavi a, .wp-pagenavi span {
  padding: 3px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1px;
  line-height: 1.5;
}

/*====================================
 reCAPTCHA
=====================================*/
.grecaptcha-badge { 
  visibility: hidden; 
}

/*====================================
本文へスキップ
=====================================*/
#blockskip a {
  padding: 10px 20px 15px 20px;
  display: block;
  position: absolute;
  left: -9999px;
  background-color: var(--border);
  font-size: 100%;
  font-weight: bold;
  text-decoration: underline;
  color: var(--black);
}

#blockskip .show{
	position:absolute; 
	left:0;
	z-index:1000;
  top: 10px;
  left: 10px;
}

.skip {
  position: absolute;
  left: -9999px;
}

/*====================================
  Youtube動画 レスポンシブ対応
=====================================*/
.editor iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
}

/*====================================
  詳細ボタン 矢印
=====================================*/
.more_bt{
  padding: 1em 1em 1em 1.5em;
  width: 200px;
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  border: solid 1px var(--blue);
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
 
.more_bt:hover {
  background: var(--blue);
  color: var(--white);
}

.arrow{
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.arrow::before{
  content: '';
  width: 20px;
  height: 2px;
  background-color: var(--blue);
  position: absolute;
  left: 0;
  transition: var(--transition);
}

.arrow::after{
  content: '';
  width: 8px;
  height: 2px;
  background-color: var(--blue);
  transform: rotate(45deg);
  position: absolute;
  top: calc(50% - 4px);
  right: 0;
  transition: var(--transition);
}

.more_bt:hover .arrow::before,
.more_bt:hover .arrow::after {
  background-color: var(--white);
}

/* ページャー */
.pager {
    margin-top: 3em;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5em;
}

.pager-prev a {
    padding: 1em 1em 1em 3em;
}

.pager-next a {
    padding: 1em 3em 1em 1em;
}

.pager-prev a, 
.pager-next a {
  width: 100%;
  display: flex;
  align-items: center;
  border: solid 1px var(--blue);
  background-color: var(--white);
  border-radius: 2px;
  text-decoration: unset;
  position: relative;
  transition: .3s;
}

.pager-prev a::before {
  content: '';
  width: 20px;
  height: 2px;
  background-color: var(--blue);
  position: absolute;
  left: 1em;
}

.pager-prev a::after {
  content: '';
  width: 8px;
  height: 2px;
  background-color: var(--blue);
  transform: rotate(-45deg);
  position: absolute;
  top: calc(50% - 4px);
  left: 1em;
}

.pager-next a::before{
  content: '';
  width: 20px;
  height: 2px;
  background-color: var(--blue);
  position: absolute;
  right: 1em;
}

.pager-next a::after {
  content: '';
  width: 8px;
  height: 2px;
  background-color: var(--blue);
  transform: rotate(45deg);
  position: absolute;
  top: calc(50% - 4px);
  right: 1em;
}

.pager-prev a:hover, 
.pager-next a:hover {
  background-color: var(--blue);
  color: var(--white);
}

.pager-prev a:hover::before,
.pager-prev a:hover::after,
.pager-next a:hover::before,
.pager-next a:hover::after{
  background-color: var(--white);
}

@media screen and (min-width: 0px) {

  .pager-prev,
  .pager-next{
    width: 100%;
  }
}

@media screen and (min-width: 768px) {

  .pager-prev,
  .pager-next{
    width: calc(50% - 1em);
  }
}

@media screen and (min-width: 1024px) {

}

/* フェードインアニメーション */
.fadein{ 
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.3s ease-out, transform 1.3s ease-out;
}

.fadein.active {
  opacity: 1;
  transform: translateY(0);
}

.fadein:nth-child(2) { 
  transition-delay: 0.2s; 
}

.fadein:nth-child(3) { 
  transition-delay: 0.2s; 
}

.fadein_left{
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1.5s ease-out, transform 1.3s ease-out;
}

.fadein_right{
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1.5s ease-out, transform 1.3s ease-out;
}

.fadein_left.active,
.fadein_right.active {
  opacity: 1;
  transform: translateX(0);
}