@charset "UTF-8";

/* カスタムプロパティ */
:root{
  --black:#041736;
  --white:#ffffff;
  --gray:#f6f6f6;
  --border:#c7cde0;
  --red:#ca0f2a;
  --blue:#0d47a1;
  --blue2:#e5eef3;
  --blue3:#383395;
  --shadow: 0px 0px 25px 5px rgb(13 39 132 / 8%);
  --transition: 0.4s;
  --mincho: "Zen Old Mincho", serif;
}

html{
  height: 100%;
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--white);
}

body{
  max-width: 100%;
  width: 100%;
  height: 100%;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--black);
  overflow-wrap: anywhere; /* 収まらない場合に折り返す */
  word-break: normal; /* 単語の分割はデフォルトに依存 */
  line-break: strict; /* 禁則処理を厳格に適用 */
}

body > footer {
  position: sticky;
  top: 100vh;
}

section{
  margin-bottom: 100px;
  padding: 0em 1.5em;
}


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: 100%;
  display: block;
  object-fit: contain;
}

.inner,
.inner_large{
  margin-left: auto;
  margin-right: auto;
}

.top_tit__area{
  margin-bottom: 2.25em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.front_page h2,
.front_page h3,
.front_page h4{
  display: block;
  color: var(--blue);
  font-family: var(--mincho);
  font-weight: 400;
  font-style: normal;
}

.front_page h2.top_tit{
  font-weight: 500;
  position: relative;
  font-size: 1em;
  color: var(--black);
  letter-spacing: 2px;
  line-height: 1.5;
}

.front_page h2.top_tit span{
    font-size: 3em;
    color: var(--blue);
}

.front_page h3{
  font-size: 1.35em;
}

.front_page h4{
  font-size: 1.25em;
}

.tit_en{
  font-family: var(--mincho);
  font-weight: 500;
}

.noise_back{
  width: 100%;
  height: 100%;
  background-image: url('../img/back/filter.png');
  background-repeat: repeat;
  opacity: 0.3;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.blue_back{
  background-color: var(--blue2);
}

@media screen and (min-width: 0px) {
  .inner,
  .inner_large{
    max-width: 100%;
  }

  .top_tit__area{
    gap: 2rem;
  }

}

@media screen and (min-width: 768px) {

  .top_tit__area{
    gap: 7rem;
  }
}

@media screen and (min-width: 1024px) {

  h2.top_tit {
    font-size: 2em;
  }

}

@media screen and (min-width: 1440px) {

  .inner{
    max-width: 1300px;
  }
}

/*====================================
ロゴマーク
=====================================*/
.logo{
    height: auto;
    display: inline-block;
}

.logo h1,
.logo a,
.footer_area .logo img{
  display: inline-flex;
}


@media screen and (min-width: 0px) {
  .logo h1,
  .logo p,
  .footer_area .logo img{
    height: 65px;
  }
}

@media screen and (min-width: 1024px) {
  .logo h1,
  .logo p,
  .footer_area .logo img{
    height: 80px;
  }
}
/*====================================
電話リンク有効
=====================================*/
/* 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: 1rem 0;
  font-weight: 500;
  display: inline-block;
}

.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{
  margin-top: 1.5em;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.25em;
}

.wp-pagenavi span,
.wp-pagenavi a{
  margin: 0px !important;
  padding: 3px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background-color: var(--white);
  border-radius: 0px;
  font-family: var(--mincho);
}

/*====================================
ページャー
=====================================*/
.pager {
  margin-top: 3rem;
  padding-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-top: solid 1px var(--border);
  gap: 1rem;
}

.pager-prev a{
  padding: 1rem 1rem 1rem 3rem;
}

.pager-next a{
  padding: 1rem 3rem 1rem 1rem;
}

.pager-prev a,
.pager-next a{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background-color: var(--blue2);
  text-decoration: unset;
  position: relative;
  transition: var(--transition);
}

.pager-prev a::after,
.pager-next a::after {
  content: '';
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  position: absolute;
}

.pager-prev a::after {
  transform: rotate(225deg);
  left: 18px;
}

.pager-next a::after {
  transform: rotate(45deg);
  right: 18px;
}

.pager-prev a:hover,
.pager-next a:hover{
  text-decoration: underline;
}

@media screen and (min-width: 0px) {

.pager-prev,
.pager-next {
    width: calc(1000% - 1rem);
  }
}

@media screen and (min-width: 768px) {
  
.pager-prev,
.pager-next {
    width: calc(50% - 1rem);
  }
}

/*====================================
 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: 1rem 2.5rem 1rem 2rem;
  max-width: 210px;
  width: 100%;
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  border: solid 1px;
  letter-spacing: 2px;
  transition: var(--transition);
  position: relative;
}

.more_bt:hover{
  background-color: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

/*====================================
  ボタン 矢印のみ
=====================================*/
.arrow{
  width: 10px;
  height: 10px;
  border-left: 2px;
  border-bottom: 2px;
  border-style: solid;
  border-color: var(--blue);
  transform: rotate(225deg);
  position: absolute;
  right: 1rem;
  transition: var(--transition);
}

.more_bt:hover .arrow{
  border-color: var(--blue);
}

/*====================================
  カルーセル
=====================================*/
.splide__arrows {
  width: 100%;
  margin-top: 2.5em;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1em;
}

.splide__pagination__page {
  padding: 0;
  margin: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-block;
  background: var(--white);
  border: solid 1px var(--blue);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .2s linear;
  opacity: 0.9;
}

.splide__pagination__page.is-active {
    background: var(--blue);
    transform: unset;
}

@media screen and (min-width: 0px) {
  .splide__arrows {
    justify-content: center;
  }
}

@media screen and (min-width: 1024px) {
  .splide__arrows {
    justify-content: flex-start;
  }

}

/*====================================
  アニメーション
=====================================*/
/* フェードしたい要素に付与するクラス 開始前*/
.jsfade {
  opacity: 0;
  transform: translateY(30px);
  transition: 1s;
}

.fade1 {
  transition-delay: .5s;
}
.fade2 {
  transition-delay: 1s;
}

/* フェードしたい要素に付与するクラス 開始後*/
.scrolled {
  opacity: 1;
  transform: translateY(0px);
}