@charset "UTF-8";
body{font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif; font-weight: 500;}
img{max-width: 100%; height: auto;}
h2,h3{ font-weight: bold;}
p{line-height: 1.8;}
a{transition:0.5s;color: #2a2a9e;}
a:hover{opacity: 0.7;}
iframe {width: 100%;}
body {
    -webkit-animation: fadeIn 1.5s ease 0s 1 normal;
    animation: fadeIn 1.5s ease 0s 1 normal;
  }

  @keyframes fadeIn {
    0% {
      opacity: 0
    }

    100% {
      opacity: 1
    }
  }

  @-webkit-keyframes fadeIn {
    0% {
      opacity: 0
    }

    100% {
      opacity: 1
    }
  }
#header {
    display: flex;
    padding: 5px 10px;
    height: 65px;
    align-items: center;
    background: #fff;
    position: fixed;
    z-index: 999;
    width: 100%;
    top: 0;
}
#header.header-shadow {
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    transition: 0.5s;
}
.logo img {
    width: 300px;
}
nav ul{
	list-style: none;
	display: flex;
	justify-content: center;
}
nav ul ul{
	display: block;
}

nav ul li{
	position: relative;
}
nav ul li a {
    display: block;
    text-decoration: none;
    color: #2a2a9e;
    padding: 15px 35px;
    transition: all .3s;
    font-size: 18px;
    font-weight: bold;
    text-align: left;
}

nav ul a.tell::before {
    content: "";
    display: inline-block;
    background-image: url(../img/ico-tell.png);
    width: 35px;
    height: 35px;
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: sub;
    margin-right: 10px;
    transition: 0.5s;
}
nav ul a.tell {
    font-size: 30px;
    border: none;
    text-align: center;
}
nav ul a.tell:hover{
    opacity: 1;
}
nav ul a.tell:hover::before {
    transition: 0.5s;
    transform: rotate(10deg);

}
nav ul li li a{
	padding:10px 35px;
}
nav ul li.tell a:hover {
    opacity: 1;
    transition: 0.5s;
      background-position: 99% 50%; 
}
nav ul li a:hover{
    color: #2a2a9e;
}

nav ul li a.blog {
    background: #2a2a9e;
    color: #fff;
    border-radius: 80px;
    width: 330px;
    margin: 1rem auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 10px;
    border: 1px solid #2a2a9e;
}
nav ul li a.blog::after {
    content: "";
    background-image: url(../img/ico-link.png);
    transform: rotate(0);
    display: block;
    height: 18px;
    width: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    border: none;
    position: unset;
    transition: 0.5s;
}
nav ul li a.blog:hover {
    background: #f3f3ff;
    color: #2a2a9e;
    opacity: 1;
}
nav ul li a.blog:hover::after{
    background-image: url(../img/ico-link2.png);
    transition: 0.5s;
}

nav ul li a.ot-btn {
    background: #f3f3ff;
    width: 330px;
    margin: 0 auto 1rem;
    border: 1px solid #2a2a9e;
    border-radius: 60px;
    text-align: center;
    font-weight: 500;
}
nav ul li a.ot-btn:hover {
    background: #2a2a9e;
    color: #fff;
    opacity: 1;
}
nav ul li a.ot-btn::after{
    display: none;
}
@media screen and (max-width:1299px){
#header .logo {
    position: relative;
    z-index: 9999;
}
#header::after {
    content: "";
    background: #fff;
    width: 100%;
    height: 65px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
}
#g-nav {
    position: fixed;
    z-index: 999;
    top: -120%;
    left: 0;
    width: 100%;
    height: 100vh;
    transition: all 0.6s;
    right: 0;
    margin: 0;
    background-color: #fff;
}
#g-nav.panelactive {
    top: 65px;
    border-top: 1px solid #2a2a9e;
}
#g-nav.panelactive #g-nav-list {
    position: fixed;
    z-index: 999;
    width: 95%;
    height: 90vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
#g-nav ul {
    margin: 0;
    padding: 0;
}
#g-nav .g-scroll {
    height: 90vh;
    overflow: scroll;
}
nav{
    padding: 0;
}

nav ul{
    display: block;
}
nav ul li a {
    border-bottom: 1px solid;
    position: relative;
}
nav ul li a::after {
    content: "";
    display: block;
    border-top: 4px solid #ddd;
    border-left: 4px solid #ddd;
    height: 18px;
    width: 18px;
    transform: rotate(135deg);
    position: absolute;
    top: 22px;
    right: 30px;
}
nav ul li a.tell::after {
    display: none;
}
.openbtn {
    position: fixed;
    z-index: 9999;
    top: 5px;
    right: 5px;
    cursor: pointer;
    width: 55px;
    height: 55px;
    background: #2a2a9e;
    border-radius: 5px;
}
.openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 12px;
    height: 3px;
    border-radius: 2px;
    background-color: #fff;
    width: 30px;
}
.openbtn::before {
    content: "close";
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 10px;
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    text-align: center;
    transition: 0.4s;
    opacity: 0;
}
.openbtn.active::before {
    transition: 0.4s;
    opacity: 1;
}
.openbtn span:nth-of-type(1) {
	top: 15px;
}
.openbtn span:nth-of-type(2) {
	top: 27px;
}
.openbtn span:nth-of-type(3) {
	top: 39px;
}

.openbtn.active span:nth-of-type(1) {
    top: 16px;
    transform: translateY(6px) rotate(-45deg);
    width: 25px;
    left: 15px;
}
.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}
.openbtn.active span:nth-of-type(3){
    top: 28px;
    transform: translateY(-6px) rotate(45deg);
    width: 25px;
    left: 15px;
}
}
#mainvisual {
    margin-top: 65px;
    position: relative;
}
.catchcopy {
    background: #f3f3ff;
    padding: 10px;
    text-align: center;
    color: #2a2a9e;
    font-weight: bold;
}
p.arial,h2.en {
    color: #2a2a9e;
    font-size: 32px;
    font-family: "arial", sans-serif;
    font-weight: 900;
    font-style: italic;
    line-height: 1.3;
    text-align: center;
}
h2.en {
    margin-bottom: 1rem;
}
h2.en small {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-weight: 500;
    font-weight: bold;
    font-size: 16px;
    display: block;
    font-style: normal;
}
.slider {
    position: relative;
    z-index: 1;
    padding: 0;
    margin: 0;
    width: 100%;
}
.slider-item img {
    object-fit: cover;
    width: 100%;
    object-position: center;
}
.slider, .slider-item, .slider-item img {
    height: 65vh;
    object-position: 30%;
}
.slick-dots {
    position: relative;
    z-index: 3;
    margin: -25px 0 0 0;
    padding: 0;
    text-align: center;
}
.slick-dots li {
    display:inline-block;
	margin:0 8px;
}
.slick-dots > li:first-child:last-child {
    opacity: 0;
}
.slick-dots button {
    color: transparent;
    outline: none;
    width: 14px;
    height: 14px;
    display: block;
    border-radius: 50%;
    background: #2a2a9e;
    border: 1px solid #fff;
}
.slick-dots .slick-active button {
    background: #fff;
}
.slick-prev, .slick-next {
    position: absolute;
    z-index: 3;
    top: 42%;
    cursor: pointer;
    outline: none;
    border-top: 4px solid #fff;
    border-right: 4px solid #fff;
    height: 25px;
    width: 25px;
}
.slick-prev {
    left:2.5%;
    transform: rotate(-135deg);
}

.slick-next {
    right:2.5%;
    transform: rotate(45deg);
}
section {
    padding: 2rem 0;
}
#news {
    border-top: 3px solid #fff;
}

.notice-box {
  background: #fff;
  border: 12px solid #2a2a9e;
  margin: 0 auto;
}
.notice-inner {
  padding: 1.5rem 1rem;
}

.tab-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    border-left: 1px solid #2a2a9e;
    border-right: 1px solid #2a2a9e;
}
.tab-btn {
  flex: 1 1 160px;
  background: #fff;
  border: 1px solid #2a2a9e;
  border-bottom: none;
  border-right-width: 0;
  padding: 1rem 0.75rem;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  color: #2a2a9e;
  cursor: pointer;
  user-select: none;
  line-height: 1.4;
}
.tab-btn:first-child {
  border-left-width: 1px;
}
.tab-btn:last-child {
  border-right-width: 1px;
}
.tab-btn.active {
    background: #fff;
    font-weight: 700;
    background: #2a2a9e;
    color: #fff!important;
}
@media (hover: hover) {
  .tab-btn:not(.active):hover {
    background: #f3f3ff;
  }
}
.notice-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #000;
  font-size: 0.95rem;
}
.notice-item {
  border-bottom: 1px solid #000;
  padding: 1rem 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: 1rem;
  row-gap: 0.5rem;
}
.notice-date {
    font-weight: bold;
    white-space: nowrap;
    font-size: 16px;
    line-height: 1.8;
    width: 95px;
}
.notice-cat {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    padding: 0.3rem 0.75rem;
    border-radius: 3px;
    line-height: 1.2;
    white-space: nowrap;
    display: inline-block;
    text-decoration: none;
    width: 110px;
    text-align: center;
}
.notice-cat:hover{
    color: #f3f3ff;
}
.notice-cat.cat-month  { background: #ff8afc; }
.notice-cat.cat-others { background: #ffc000; }
.notice-cat.cat-menu   { background: #81bc42; }
.notice-cat.cat-club   { background: #1f9bcc; }

.notice-title {
    flex: 1 1 auto;
    font-weight: bold;
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
.notice-title a {
    color: #000;
    text-decoration: none;
}
.notice-title a:hover {
    color: #2a2a9e;
    opacity: 1;
    text-decoration: underline;
}
@media (max-width: 600px) {
  /* .notice-item {
    flex-direction: column;
    align-items: flex-start;
  } */
  .notice-title {
    white-space: normal;
  }
}
.hidden {
  display: none !important;
}


a.link-btn {
    background: #2a2a9e;
    display: block;
    margin: 1rem auto 0;
    border-radius: 50px;
    padding: 20px 0;
    text-align: center;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border: 3px solid #2a2a9e;
    width: 320px;
}
a.link-btn:hover{
    opacity: 1;
    background-color: #f3f3ff;
    color: #2a2a9e;
}
a.link-btn.news::after {
    content: "";
    background-image: url(../img/ico-arrow.png);
    display: inline-block;
    width: 30px;
    height: 12px;
    background-repeat: no-repeat;
    background-size: contain;
    margin-left: 10px;
    transition: 0.5s;
}
a.link-btn.news:hover::after {
    background-image: url(../img/ico-arrow2.png);
    transition: 0.5s;
}
#childlink {
    padding: 0;
    border-top: 6px solid #fff;
    border-bottom: 6px solid #fff;
    box-shadow: 0px 0px 20px 0 rgba(0, 0, 0, 0.3);
}
#childlink a.col-md-6 {
    display: block;
    color: #fff;
    text-decoration: none;
    background-image: url(../img/bg-blog.png);
    padding: 2rem 1rem;
    text-align: center;
    font-weight: bold;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 230px;
    position: relative;
}
#childlink a.col-md-6::after {
    content: "";
    background-image: url(../img/ico-link.png);
    width: 30px;
    height: 30px;
    display: block;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    right: 10px;
    bottom: 10px;
}
#childlink a.col-md-6.pta::after {
    background-image: url(../img/ico-arrow4.png);
    width: 30px;
    height: 25px;
}
#childlink a.col-md-6 p {
    margin: 0;
}
#childlink h2.en {
    color: #fff;
    line-height: 1.8;
}
#childlink h2.en small {
    font-size: 20px;
}
#childlink a.col-md-6.blog p{
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}
#childlink a.col-md-6.blog p::before, #childlink a.col-md-6.blog p::after {
    content: '';
    width: 2px;
    height: 30px;
    background-color: #fff;
}
#childlink a.col-md-6.blog p::before {
    margin-right: 25px;
    transform: rotate(-40deg);
}
#childlink a.col-md-6.blog p::after {
	margin-left: 25px;
	transform: rotate(40deg)
}
#childlink a.col-md-6.pta {
    background-image: url(../img/bg-pta.png);
}
#overview .col-md-5 {
    background: #2a2a9e;
    padding: 2rem 1rem;
    color: #fff;
}
#overview .col-md-5 dt {
    font-size: 18px;
    margin-bottom: 5px;
}
#overview .col-md-5 dd {
    margin-bottom: 1rem;
}
#overview a.link-btn {
    background: #fff;
    border: 3px solid #fff;
    color: #2a2a9e;
}
#overview a.link-btn:hover{
    background: #2a2a9e;
    color: #fff;
}
.map iframe {
    height: 300px;
    margin-top: 1rem;
}
#link {
    background: #ededfc;
}
ul.re-link {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}
ul.re-link li {
    list-style-type: none;
    width: 50%;
    line-height: 2.4;
}
ul.re-link li a {
    display: block;
    color: #000;
    text-decoration: none;
    font-weight: bold;
}
ul.re-link li a:hover{
    color: #2a2a9e;
    opacity: 1;
    text-decoration: underline;
}
ul.re-link li a::before {
    content: "";
    background-image: url(../img/ico-arrow3.png);
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: sub;
    margin-right: 5px;
}
#footer section {
    padding: 3rem 0;
    background: #2a2a9e;
    color: #fff;
}
#footer p.logo {
    text-align: center;
}
a.blog-link.link-btn{
    background: #fff;
    color: #2a2a9e;
    border: 3px solid #fff;
}
a.blog-link.link-btn::after {
    content: "";
    background-image: url(../img/ico-link2.png);
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: top;
    margin-left: 10px;
    transition: 0.5s;
}
a.blog-link.link-btn:hover{
    background: #2a2a9e;
    color: #fff;
}
a.blog-link.link-btn:hover::after{
    background-image: url(../img/ico-link.png);
    transition: 0.5s;
}
ul.f-nav {
    margin: 2rem 0 0;
    display: flex;
    flex-wrap: wrap;
    padding-left: 1rem;
}

ul.f-nav li {
    list-style-type: none;
    width: 50%;
    line-height: 2.4;
}

ul.f-nav li a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}
p.copyright.text-center {
    padding: 1rem 0;
    margin: 0;
}
ul.f-nav li a:hover{
    text-decoration: underline;
    opacity: 1;
}

#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	width: 55px;
	height: 55px;
	text-align: center;
	transition:all 0.3s;
}
#page-top {
	position: fixed;
	right: 10px;
	bottom:10px;
	z-index: 2;
	opacity: 0;
	transform: translateY(100px);
}

#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}
#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}

@media screen and (min-width:760px) {
.slider, .slider-item, .slider-item img {
    height: 35vh;
    object-position: left;
}
.catchcopy {
    position: absolute;
    top: 22%;
    right: 1%;
    z-index: 10;
    background: transparent;
    text-align: left;
    padding: 0;
    text-shadow: 
    2px 2px 2px #f3f3ff, 
    -2px -2px 2px #f3f3ff, 
    -2px 2px 2px #f3f3ff, 
    2px -2px 2px #f3f3ff, 
    2px 0 2px #f3f3ff, 
    -2px 0 2px #f3f3ff, 
    0 2px 2px #fff, 
    0 -2px 2px #f3f3ff;
}
.catchcopy p.arial {
    margin-bottom: 2rem;
    font-size: 35px;
}
.catchcopy p:not(.arial) {
    margin: 0;
    font-size: 18px;
}
section {
    padding: 3rem 0;
}
#news {
    background-image: url(../img/bg-news.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /* min-height: 700px; */
}
.tab-wrapper {
    gap: 0 2px;
}
.tab-btn {
    flex: 1 1 auto;
    margin: 0;
    border-right: 1px solid;
}
.tab-btn:first-child{
    border-left: none;
}
.tab-btn:last-child {
    border-right: none;
}
.notice-item {
    flex-wrap: nowrap;
    align-items: center;
}
.notice-title {
    width: 60%;
}
#overview a.link-btn {
    width: auto;
}
.col-md-7 img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
ul.re-link li {
    width: 25%;
    line-height: 2.4;
}
#footer p.logo {
    text-align: left;
}
}
@media screen and (min-width:1200px) {
.slider, .slider-item, .slider-item img {
    height: 80vh;
}
.catchcopy {
    top: 28%;
    right: 3%;
}
.catchcopy p.arial{
    text-align: left;
}
.catchcopy p.arial,h2.en {
    font-size: 55px;
}
.catchcopy p:not(.arial) {
    margin: 0;
    font-size: 23px;
}
h2.en small {
    font-size: 20px;
}
h2.en{
    margin-bottom: 2rem;
}
section {
    padding: 5rem 0;
}
.notice-item {
    padding: 1.5rem 2rem;
}
a.link-btn.news::after {
    width: 43px;
    height: 18px;
}
/* #news{
    min-height: 925px;
} */
a.link-btn {
    font-size: 18px;
    width: 350px;
    padding: 25px 0;
    margin-top: 2rem;
}
#childlink {
    border-top: 10px solid #fff;
    border-bottom: 10px solid #fff;
}
#childlink h2.en {
    font-size: 45px;
    margin-bottom: 0.5rem;
}
#childlink h2.en small {
    font-size: 25px;
}
#overview .col-md-5 {
    padding: 3rem 2rem;
}
#childlink a.col-md-6.blog p {
    font-size: 18px;
}
#overview a.link-btn {
    width: 270px;
    padding: 20px 0; 
}
#overview .col-md-5 dt {
    font-size: 20px;
    margin-bottom: 10px;
}
#overview .col-md-5 dd {
    margin-bottom: 2rem;
}
.map iframe {
    height: 400px;
}
/* ul.re-link {
    padding-left: 3rem;
} */
#footer section {
    padding: 5rem 0;
}
a.blog-link.link-btn {
    margin-left: 0;
    padding: 20px 0;
    width: 300px;
}

}
@media screen and (min-width:1300px) {
h2.en {
    margin-bottom: 4rem;
}
#header {
    height: 80px;
    justify-content: space-between;
}
.logo img {
    width: 350px;
}
nav ul {
    padding: 0;
    margin: 0;
    align-items: center;
}
nav ul li a {
    padding: 0 20px;
    font-size: 17px;
}
ul.header-bottom li a:not(.blog):hover {
    background: #f3f3ff;
    opacity: 1;
    border-radius: 5px;
}
nav ul li a.blog {
    width: 270px;
    margin: 0;
    font-size: 16px;
    padding: 5px;
}
nav ul li a.ot-btn {
    margin: 0 5px;
    width: 190px;
    padding: 2px;
    font-size: 16px;
}
ul.header-top {
    position: absolute;
    top: 0;
    right: 0;
}
ul.header-bottom {
    padding-top: 35px;
}
nav ul a.tell {
    font-size: 27px;
    display: flex;
    align-items: center;
}
.slider, .slider-item, .slider-item img {
    height: 85vh;
}
.catchcopy {
    top: 30%;
}
.catchcopy p.arial,h2.en {
    font-size: 60px;
}
.catchcopy p:not(.arial) {
    margin: 0;
    font-size: 25px;
}
#mainvisual {
    margin-top: 80px;
}
.tab-btn {
    font-size: 18px;
    padding: 2rem 0.75rem;
}
.container {
    max-width: 1200px;
}
.notice-box {
    border: 25px solid #2a2a9e;
}
.notice-inner {
    padding: 2rem 3rem;
}
.notice-cat {
    font-size: 16px;
    width: 160px;
}
.tab-wrapper{
    justify-content: flex-end;
}
/* #news{
    min-height: 1040px;
} */
#childlink a.col-md-6 {
    height: auto;
    padding: 3rem 0;
}
#childlink h2.en {
    font-size: 50px;
}
#childlink h2.en small {
    font-size: 30px;
}
#childlink a.col-md-6.blog p {
    font-size: 20px;
}
#childlink a.col-md-6 p small {
    font-size: 16px;
}
#childlink a.col-md-6.pta::after {
    width: 40px;
    height: 18px;
}
#childlink a.col-md-6::after {
    right: 20px;
    bottom: 20px;
}
#overview .col-md-5 dt {
    font-size: 22px;
}
#overview .col-md-5 dd {
    font-size: 18px;
}
#overview {
    padding: 8rem 0;
}
ul.re-link li a {
    font-size: 18px;
}
ul.f-nav li {
    font-size: 17px;
}
ul.re-link li, ul.f-nav li {
    line-height: 2.8;
}

}
@media screen and (min-width:1600px) {
.container {
    max-width: 1300px;
}
.logo img {
    width: 400px;
}
nav ul li a {
    font-size: 20px;
}
nav ul li a.ot-btn {
    width: 170px;
    font-size: 18px;
}
nav ul li a.blog {
    width: 260px;
    font-size: 18px;
    padding: 2px;
}
nav ul a.tell {
    font-size: 30px;
}
nav ul a.tell::before {
    width: 33px;
    height: 33px;
}
.catchcopy p.arial, h2.en {
    font-size: 80px;
}
.catchcopy p:not(.arial) {
    font-size: 32px;
}
.catchcopy {
    top: 24%;
}
h2.en small {
    font-size: 24px;
}
h2.en {
    margin-bottom: 3rem;
}
section {
    padding: 7rem 0;
}
.tab-btn {
    font-size: 20px;
}
/* #news{
    min-height: 1040px;
} */
#childlink h2.en {
    font-size: 60px;
}
#childlink h2.en small {
    font-size: 36px;
}
#childlink a.col-md-6.blog p {
    font-size: 24px;
}
#childlink a.col-md-6::after {
    width: 40px;
    height: 40px;
}
#childlink a.col-md-6.pta::after {
    width: 45px;
    height: 24px;
}
#overview .col-md-5 dt {
    font-size: 24px;
}
#overview .col-md-5 dd {
    font-size: 20px;
}
#overview .col-md-5 {
    padding: 4rem 2rem;
}
.map iframe {
    height: 500px;
}
#footer section {
    font-size: 18px;
    padding: 7rem 0;
}
}

/* page */
#page_header {
    position: relative;
    margin-top: 65px;
}
.bg-header {
    height: 12rem;
    background-position: center;
    background-size: cover;
}
h1.page-title {
    position: absolute;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    margin: 0 auto;
    padding: 20px;
    left: 0;
    right: 0;
    width: fit-content;
    text-align: center;
    color: #2a2a9e;
    font-size: 32px;
    font-family: "arial", sans-serif;
    font-weight: 900;
    font-style: italic;
    line-height: 1.3;
    min-width: 295px;
}
h1.page-title small {
    display: block;
    font-size: 16px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-style: normal;
}
.bread {
    background: #ededfc;
    padding: 10px 0;
}
.bread span {
    padding: 5px;
}
.bread a {
    color: #000;
}
#page-content {
    padding: 2rem 0;
}
h2.wp-block-heading {
    color: #2a2a9e;
    padding-left: 2.5rem;
    position: relative;
    margin-bottom: 1rem;
}
h2.wp-block-heading::before {
    content: "";
    background: #2a2a9e;
    display: block;
    width: 32px;
    height: 9px;
    position: absolute;
    top: 8px;
    left: 0;
}
h2.wp-block-heading:not(:first-child) {
    margin-top: 3rem;
}
h3.wp-block-heading {
    padding: 0 0.3em 0.3em;
    margin-bottom: 1rem;
    position: relative;
    color: #2a2a9e;
    margin-top: 2rem;
}

h3.wp-block-heading::after {
    content: '';
    background-size: 10px 10px;
    background-color: #2a2a9e;
    background-image: repeating-linear-gradient(-45deg, #2a2a9e 0, #2a2a9e 3px, #fff 0, #fff 50%);
    width: 100%;
    height: 8px;
    position: absolute;
    bottom: -5px;
    left: 0;
}
p.rinen {
    text-align: center;
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
    font-size: 35px;
    margin: 0;
    font-weight: 300;
}
.card-box .wp-block-column {
    border: 2px solid #2a2a9e;
    background: #f3f3ff;
    padding: 1rem;
}
.card-box .wp-block-column p.rinen {
    font-size: 25px;
    font-weight: bold;
}
.card-box .wp-block-column p.rinen + p {
    font-size: 18px;
}
.card-box .wp-block-column p.rinen + p::after {
    content: "";
    width: 30px;
    height: 1px;
    background: #2a2a9e;
    display: block;
    margin: 1rem auto 1.5rem;
}
:where(.wp-block-columns.is-layout-flex) {
    gap: 1em;
}
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr th,
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr td {
    border: none;
    border-bottom: 2px solid #999;
}
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr th {
    background: transparent;
    border-bottom: 2px solid #2a2a9e!important;
}
.pdf-link {
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}
.pdf-link a {
    display: block;
    color: #2a2a9e;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid;
    border-radius: 5px;
    padding: 25px;
    width: 100%;
    position: relative;
}
.pdf-link li {
    list-style-type: none;
    width: 100%;
}
.pdf-link a::after {
    content: "";
    background-image: url(../img/ico-arrow2.png);
    display: block;
    width: 36px;
    height: 15px;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 27px;
    right: 20px;
}
.pdf-link a:hover {
    color: #fff;
    background: #2a2a9e;
    opacity: 1;
}
.pdf-link a:hover::after{
    background-image: url(../img/ico-arrow.png);
}
ol.wp-block-list.koka li {
    line-height: 1.8;
    margin-bottom: 1rem;
}

@media screen and (min-width:1200px) {
.bg-header {
    height: 20rem;
}
h1.page-title {
    font-size: 50px;
    padding: 25px 50px;
    min-width: 495px;
}
h1.page-title small {
    font-size: 20px;
}
#page-content {
    padding: 4rem 0;
}
h2.wp-block-heading {
    font-size: 35px;
    margin-bottom: 2rem;
}
h2.wp-block-heading::before{
    top: 16px;
}
h3.wp-block-heading {
    font-size: 28px;
}
h2.wp-block-heading:not(:first-child) {
    margin-top: 5rem;
}
p.rinen {
    font-size: 50px;
}
.card-box .wp-block-column p.rinen {
    font-size: 30px;
}
.card-box .wp-block-column p.rinen + p {
    font-size: 20px;
}
.card-box.kyoshi .wp-block-column p.rinen + p strong {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr th,
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr td {
    padding: 1rem;
}
.pdf-link li {
    width: 32.3%;
}
ol.wp-block-list.koka {
    display: flex;
    justify-content:space-evenly;
}
ol.wp-block-list.koka li {
    line-height: 2;
    font-size: 18px;
}
}

@media screen and (min-width:1300px) {
#page_header {
    margin-top: 80px;
}
#page-content {
    padding: 5rem 0;
}
h2.wp-block-heading {
    font-size: 40px;
    padding-left: 3rem;
}
.bg-header {
    height: 25rem;
}
h1.page-title {
    font-size: 65px;
    min-width: 615px;
}
h1.page-title small {
    font-size: 25px;
}
h2.wp-block-heading::before {
    width: 35px;
    height: 11px;
    top: 18px;
}
h3.wp-block-heading {
    font-size: 32px;
}
.card-box .wp-block-column {
    padding: 2rem 1rem;
}
p.rinen {
    font-size: 60px;
}
.card-box .wp-block-column p.rinen {
    font-size: 35px;
}
.card-box .wp-block-column p.rinen + p {
    font-size: 22px;
    line-height: 1.4;
}
.card-box .wp-block-column li {
    line-height: 1.8;
}
ol.wp-block-list.koka {
    padding: 0;
    margin-bottom: 2rem;
    justify-content: space-around;
}
ol.wp-block-list.koka li {
    line-height: 2.4;
}
}
@media screen and (min-width:1600px) {
.bg-header {
    height: 30rem;
}
h1.page-title {
    font-size: 80px;
    min-width: 730px;
}
h1.page-title small {
    font-size: 28px;
}
p.rinen {
    font-size: 70px;
}
}

/* archive */
a.tab-btn {
    text-decoration: none;
}
a.tab-btn:hover {
    opacity: 1;
    color:  #2a2a9e;
}
.pagination {
    margin: 1rem auto 0;
    justify-content: center;
    gap: 5px;
}
.pagination span,.pagination a {
    border: 1px solid #2a2a9e;
    display: block;
    padding: 2px 10px;
    text-decoration: none;
    color: #2a2a9e;
}
span.page-numbers.current {
    background: #2a2a9e;
    color: #fff;
}
@media screen and (min-width:760px) {
.post-type-archive-news #page-content,.tax-news_category #page-content {
    background-image: url(../img/bg-news.png);
    background-size: cover;
    background-position: center;
}    
}

ul.journal-list {
    padding: 0;
    margin: 0 auto;
    width: 90%;
}
ul.journal-list li {
    list-style-type: none;
}
ul.journal-list li a{
    display: block;
    overflow: hidden;
    border: 1px solid #ddd;
}
ul.journal-list li p {
    margin: 5px 0 0;
    text-align: center;
    font-weight: bold;
}
ul.journal-list li + li {
    margin-top: 2rem;
}
ul.journal-list li a img {
    object-fit: contain;
    width: 100%;
    height: 400px;
    transition: 0.5s;
}
ul.journal-list li a:hover{
    opacity: 1;
}
ul.journal-list li a:hover img{
    transition: 0.5s;
    transform: scale(1.2);
}
@media screen and (min-width:760px) {
    ul.journal-list li + li{
        margin: 0;
    }
    ul.journal-list {
    gap: 40px 0;
}
ul.journal-list li a img {
    height: 460px;
}
}

/* form */
.snow-monkey-form {
    padding: 2rem 0;
}
.snow-monkey-form label {
    font-weight: bold;
}
.smf-item label strong {
    font-size: 13px;
    color: red;
    margin-left: 6px;
}
.wp-block-snow-monkey-forms-item.smf-item {
    border-top: 1px solid #ddd;
    padding: 1rem;
}
.smf-action .smf-button-control__control {
    background: #2a2a9e;
    color: #fff;
    font-weight: bold;
    border: none;
    padding: 20px 50px;
}
@media screen and (min-width:1200px) {
.snow-monkey-form {
    padding: 4rem 0;
}
.wp-block-snow-monkey-forms-item.smf-item {
    padding: 2rem 4rem;
}
}