@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&display=swap");

* {
  font-family: "Noto Sans JP", sans-serif;
}

:root {
  --color-primary: #1e4b9e;
  --color-secondary: #dc000c;
  --color-text: #101010;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  opacity: .8;
  transition: .3s;
}
p {
  line-height: 1.7;
  color:#333;
}

/*--------------------------------------------------
common
--------------------------------------------------*/
.btn-main {
  background-color: #F0F0F0;
  font-weight: bold;
  color:#333;
  margin-top: 1rem;
  font-size: 1rem;
  display: inline-block;
  text-decoration: none;
  padding:.5em 2em .7em 2em;
  text-align: left;
  border-radius: 9999px;
}
.btn-main i {
  color:var(--color-primary);
}
.btn-main:hover {
  background-color: var(--color-primary);
  color:#fff;
  transition: .3s;
}
.btn-main:hover i {
  color:#fff;
  transition: .3s;
}

.ttl {
  text-align: center;
  margin: 1rem 0 2rem 0;
  background-color: var(--color-primary);
  color:#fff;
  padding:.5em 0;
  font-size: 1.4rem;
  padding-bottom: 0;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}
.ttl span {
  display: block;
  background-color: #F4FAFF;
  color:var(--color-secondary) !important;
  font-size: 1rem;
  margin-top: .7em;
  font-family: "Jost", sans-serif;
  color:#fff;
  padding:.3em 0 .5em 0;
  font-weight: bold;
}
@media (max-width: 768px) { 
  .ttl {
    margin-bottom: 1em;
    font-size: 1.2rem;
  }
}

/*--------------------------------------------------
header
--------------------------------------------------*/
header {
  background-color: #fff;
  border-top: 6px solid var(--color-primary);
  z-index: 100;
  position: relative;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
}
header .navbar-brand img {
  width: 220px;
}
header .nav-link {
  text-align: center;
  padding: 0 0.8em !important;
  font-weight: bold;
  color: var(--color-text);
  font-size: 0.9rem;
}
header .nav-link:hover {
  color: var(--color-primary);
}
header .nav-link span {
  display: block;
  font-size: 12px;
  color: #666;
  font-weight: normal;
}

@media (max-width: 768px) { 
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2830, 30, 30, 0.80%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  header .nav-item {
    border-top: 1px solid #eee;
    padding-top:.4em;
    margin-top: .4em;
  }
}

/*--------------------------------------------------
footer
--------------------------------------------------*/
footer {
  margin-top: 3rem;;
  background-color: var(--color-primary);
  padding-bottom:1rem;
  position: relative;
}
footer .img-cut {
  background-image: url('../img/top/footer-bg.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 10;
  position: relative;
}
footer .img-cut img {
  max-width: 100%;
}
footer .footer-logo {
  width: 220px;
}
footer .to-page-top {
  position: absolute;
  top: 0rem;
  right:1rem;
  z-index: 200;
  transform: translate(-50%, -50%);
  text-align: center;
  color:#fff;
  background-color: var(--color-secondary);
  padding:1em 1.2em;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  line-height: 1.2em;
}
footer .to-page-top a {
  color:#fff;
  text-decoration: none;
}
footer .to-page-top:hover {
  background-color: var(--color-primary);
  transition: .3s;
}
footer .footer-nav {
  padding: 1em 0 0 0;
  text-align: center;
  margin-bottom: 0em;
  margin-top: 2rem;
}
footer .footer-nav a {
  color:#fff;
  text-decoration: none;
  font-size: 0.8rem;
  display: inline-block;
  padding: 0 1em;
}
footer .footer-nav a:hover {
  opacity: .8;
  transition: .3s;
}
footer .logo {
  text-align: center;
  margin: 2rem 0;
}
footer .logo img {
  width: 220px;
}
footer .cr {
  margin-bottom: 0;
  text-align: center;
  color:#fff;
  font-size:.7rem;
}
@media (max-width: 768px) { 
  footer {
    margin-top: 1rem;
  }
  footer .to-page-top {
    right: -20px;
  }
  footer .img-cut {
    height:initial;
  }
  footer .footer-nav a {
    font-size:.7rem;
    padding:0 .3em;
  }
}

/*--------------------------------------------------
top
--------------------------------------------------*/
#top .cover {
  background-color: var(--color-primary);
  position: relative;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.4);
  margin-bottom: 3rem;
}
#top .cover .inner {
  position: relative;
}
#top .cover .inner:after {
  content: "";
  position: absolute;
  bottom: -10%;
  right: 40px;
  height: 80px;
  width: 80px;
  border-radius: 999px;
  background-color: var(--color-primary);
  z-index: 100;
  animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
}
#top .cover .inner:before {
  content: "";
  position: absolute;
  bottom: 0px;
  right: 20px;
  height: 60px;
  width: 60px;
  border-radius: 999px;
  background-color: var(--color-secondary);
  z-index: 110;
  animation: floating-y 1.3s ease-in-out infinite alternate-reverse;
}
@keyframes floating-y {
  0% {
    transform: translateY(-10%);
  }
  100% {
    transform: translateY(10%);
  }
}
@media (max-width: 768px) { 
  #top .cover .container {
    padding:0;
  }
  #top .cover .inner:after {
    height:40px;
    width:40px;
  }
  #top .cover .inner:before {
    height:30px;
    width:30px;
  }
}

#top .about {
  padding: 4rem 0;
  background-image: url('../img/top/top-lead-bg.png');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}
#top .about h2 {
  text-align: center;
}
#top .about h2 img {
  max-width: 40%;
}
@media (max-width: 768px) { 
  #top .about {
    padding:1rem 0;
  }
  #top .about h2 img {
    max-width:80vw;
  }
} 

#top .news {
  padding: 4rem 0;
}
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-bottom: 1rem;
}
.news-list li {
  padding: 1rem 0;
  border-bottom: 1px dotted #999;
}
.news-list li .area {
  background-color: var(--color-primary);
  color:#fff;
  padding:.2em .5em .3em .5em;
  border-radius:5px;
  margin-right: .5em;
  font-size: .8rem;
  font-weight: bold;
  display: inline-block;
}
.news-list li h3 {
  display: inline-block;
  font-size: 1rem;
  position: relative;
  top: .1em;
}
.news-list li h3 a {
  text-decoration: none;
  color:var(--color-primary);
}
.news-list li h3 a:hover {
  opacity: .8;
  transition: .3s;
}
.news-list li .date {
  font-size: .8rem;
  color:#666;
  display: inline-block;
  margin-top: .5em;
  position: relative;
  margin-left: .3em;
  top: .1em;
}
@media (max-width: 768px) { 
  .news-list li h3 {
    margin: .3em 0;
    display: inline;
  }
  .news-list li .date {
    display: inline;
  }
}

#top .activity {
  padding: 4rem 0;
  background-image: url('../img/top/dot-bg.png');
  background-size: 1200px;
}
#top .activity a:hover img {
  opacity: .8;
  transition: .3s;
  transform: scale(1.02);
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.6));
}
#top .activity .service {
  margin-bottom: 2rem;
}
#top .activity .service div {
  margin-bottom: .5em;
}
#top .activity .service div:nth-child(even){
  padding-top:2rem;
}
#top .activity .event div {
  margin-bottom: .6rem;
}
@media (max-width: 768px) { 
  #top .activity .service div:nth-child(even){
    padding-top:0;
  }
  #top .activity .service div {
    margin-bottom: 1em;
  }
}

.cross-link {
  padding: 4rem 0;
  margin-top: 3rem;
  margin-bottom: 0rem;
  background-image: url('../img/top/top-lead-bg.png');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}
.cross-link a {
  text-decoration: none;
}
.cross-link a:hover img {
  width: 100%;
  transition: .3s;
  transform: scale(1.02);
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.6));
}
@media (max-width: 768px) { 
  .cross-link {
    padding: 2rem 0;
    margin-top: 1rem;;
  }
  .cross-link a {
    margin-bottom: 1rem;
    display: inline-block;
  }
}

/*--------------------------------------------------
page
--------------------------------------------------*/
#page section {
  padding: 2rem 0;
}
#page section .ttl {
  font-size:1.2rem;
}
#page .cover {
  text-align: center;
  padding-top:4rem;
}
#page .cover h1 {
  text-align: center;
  font-size:1.7rem;
  font-weight: bold;
  color:var(--color-primary);
  display: inline-block;
  margin: 0 auto;
  position: relative;
}
#page .cover h1:after {
  content: "";
  background-image: url('../img/about/page-ttl-bg.png');
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  width:50px;
  height:50px;
  top:-1rem;
  left:-1rem;
}

#page .shadow-box {
  border-radius: 15px;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.2);
  padding: 2rem;
  margin:1.5rem 0;
  background-color: #fff;
}
@media (max-width: 768px) { 
  #page .shadow-box {
    padding:1rem;
  }
}


/*--------------------------------------------------
about
--------------------------------------------------*/
.page-about .about-us small {
  color:#666;
}
.page-about .vision {
  background-image: url('../img/top/dot-bg.png');
  background-size: 1000px;
  background-position: center center;
  padding: 4rem 0 !important;
}
.page-about .vision h3 {
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}
.page-about .vision .symbol img {
  width: 200px;
  margin:2rem 0;
}
.page-about .history .ttl,
.page-about .info .ttl {
  margin-bottom:0;
}
.page-about .history th span {
  color:#666;
  font-weight: normal;;
}
.page-about .info table h4 {
  font-size:1rem;
  margin: .3em 0;
}
.page-about .info table address {
  font-size: .85em;
  color:#333;
}
.page-about .info table address i {
  margin-left: .3em;
  margin-right: .2em;
}
@media (max-width: 768px) { 
  .page-about table th,
  .page-about table td {
    display: block;
  }
  .page-about table td {
    border-bottom: none;
    padding-bottom: 1rem;
  }
}

/*--------------------------------------------------
single
--------------------------------------------------*/
.page-single .btm-link {
  border-top: 1px solid #666;
  padding-top: 1rem;
  border-color: var(--color-primary);
}
.page-single h2.ttl span {
  color:#444 !important;
}
.page-single article p {
  margin-bottom: 1.5em;
}
.page-single article img {
  max-width: 100%;
  margin: 1.5em 0;
}

/*--------------------------------------------------
member
--------------------------------------------------*/
.member-list th {
  color:#555;
}
.page-member .search-box {
  margin-top: 2rem;
  background-image: url('../img/top/dot-bg.png');
  background-size: 1200px;
}
.page-member .search-box h3 {
  font-size:1rem;
  padding-left: .1em;
  font-weight: bold;
  margin-bottom: .5rem;
}
.page-member .search-box button {
  padding:.5em 3em;
}
.page-member .ttl span {
  color:#444 !important;
}
.page-member .member-list th,
.page-member .member-list td {
  font-size:.9rem;
}
@media (max-width: 768px) { 
  .page-member .search-box .row div {
    margin-bottom: 1rem;
  }
  .page-member .search-box h3 {
    margin-bottom: .3em;
  }
  .page-member .search-box button {
    padding:.5em 2em;
  }
  .page-member .header-tr {
    display: none;
  }
  .page-member .member-list th,
  .page-member .member-list td {
    display: block;
  }
  .page-member .member-list th {
    margin-top: 1em;
  }
  .page-member .member-list td {
    border-bottom: none;
    padding-top:.1em;
    padding-bottom: 0;
    font-size: .8em;
    display: inline-block;
    
  }
}

/*--------------------------------------------------
activity
--------------------------------------------------*/
.page-activity .ttl span {
  color:#444 !important;
}
.page-activity h3 {
  font-size:1.2rem;
  font-weight: bold;
  margin-bottom: .5rem;
  border-bottom: 2px solid var(--color-primary);
  padding:.2em 0;
  margin-top: 1.5rem;
}
.page-activity h3 span {
  color:#fff;
  border-top-left-radius: 5px;
  padding:.2em .5em;
  background-color: var(--color-primary);
}

.page-activity .photos {
  margin-bottom: 1rem;
}
.page-activity .photos img {
  border-radius: 10px;
}
.page-activity .photos h4 {
  font-size: .85em;
  margin-top: .3em;
  text-align: center;
  margin-bottom: 1em;
}

@media (max-width: 768px) { 
  .page-activity h3 {
    color:var(--color-primary);
  }
  .page-activity h3 span {
    border-radius: 0;
    background-color: initial;
    color:var(--color-primary);
    margin: 0;
    padding: 0;
    border-bottom: none;
    margin-top: 0;
  }
}

/*--------------------------------------------------
join
--------------------------------------------------*/
.page-join .benefits div {
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.2);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  text-align: center;
}
.page-join .benefits div i {
  font-size: 2rem;
  color:var(--color-primary);
}
.page-join .benefits div h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: .6em 0;
  background: linear-gradient(0deg, #071c43 0%, #2763d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-join .benefits div p {
  font-size: .9rem;
  color:#666;
  text-align: left;
}
.page-join .benefits div i {
  font-size: 4rem;
  margin-bottom: .2em;
  background: linear-gradient(0deg, #071c43 0%, #2763d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-join .contact a {
  font-weight: bold;
}  

/*--------------------------------------------------
privacy
--------------------------------------------------*/
.page-privacy .privacy-body {
  padding: 6rem 0 !important;
}
.page-privacy .privacy-body h2 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.page-privacy .privacy-body h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: .5rem;
  margin-top: 1.4rem;
}