@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&family=Montserrat:wght@400;700;900&display=swap");

/* color
------------------------------------------------- */
:root {
  --main-color: rgba(24, 29, 98, 1);
  --sub-color: rgba(35, 110, 224, 1);
}

.text-main {
  color: var(--main-color);
}

.bg-main {
  background-color: var(--main-color);
}

.bg-sub {
  background-color: var(--sub-color);
}

.border-sub {
  border-color: var(--sub-color) !important;
}

.text-third {
  color: var(--main-color);
}

.bg-light-gray {
  background-color: rgba(241, 241, 241, 1);
}

.bg-light-blue {
  background-color: var(--sub-color);
}

/* font
------------------------------------------------- */

body {
  font-family: "BIZ UDPGothic", sans-serif;
  font-size: 1.125rem;
  color: #000;
  line-height: 1.75;
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.num {
  font-family: "Montserrat", sans-serif;
}

.fw400 {
  font-weight: 400;
}

.fw700 {
  font-weight: 700;
}

.fw900 {
  font-weight: 900;
}

.fs-sm {
  font-size: clamp(0.8rem, 0.17vw + 0.76rem, 0.89rem);
}

.fs-base {
  font-size: clamp(1rem, 0.34vw + 0.91rem, 1.19rem);
}

.fs-md {
  font-size: clamp(1.25rem, 0.61vw + 1.1rem, 1.58rem);
}

.fs-lg {
  font-size: clamp(1.56rem, 1vw + 1.31rem, 2.11rem);
}

.fs-xl {
  font-size: clamp(1.95rem, 1.56vw + 1.56rem, 2.81rem);
}

.fs-xxl {
  font-size: clamp(2.44rem, 2.38vw + 1.85rem, 3.75rem);
}

.fs-xxxl {
  font-size: clamp(3.05rem, 3.54vw + 2.17rem, 5rem);
}

/* anchor link
------------------------------------------------- */
.btn {
  position: relative;
  overflow: hidden;
  outline: none;
  transition: ease 0.2s;
}

.btn-main {
  position: relative;
  display: inline-block;
  background-color: var(--sub-color);
  color: #fff;
  padding: 0.5em 3em;
  border-radius: 24px;
  outline: none;
  overflow: hidden;
}

.btn-main:hover {
  color: #fff;
  font-weight: bolder;
  background-color: var(--sub-color);
}

.btn-main::before {
  content: "";
  /*絶対配置でキラッと光るの位置を決める*/
  position: absolute;
  top: 0;
  left: -75%;
  /*キラッと光る形状*/
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
  transform: skewX(-25deg);
}

.btn-main:hover::before {
  animation: shine 0.7s;
}

@keyframes shine {
  100% {
    left: 125%;
  }
}

.page--body a[href$=".pdf"],
.page--body a[href$=".zip"],
a.pdf,
a.excel,
a.word,
a.blank {
  position: relative;
  padding-right: 1.6em;
}

.page--body a[href$=".pdf"]::after,
a.btn.pdf::after {
  content: "\F63E";
  font-family: "bootstrap-icons";
  position: absolute;
  right: 0.5em;
  color: #f00;
}

.page--body a[href$=".zip"]::after {
  content: "\F391";
  font-family: "bootstrap-icons";
  position: absolute;
  right: 0.5em;
  color: rgba(1, 73, 141, 1);
}

.page--body a[href$=".xls"]::after,
.page--body a[href$=".xlsx"]::after,
a.btn.excel::after {
  content: "\F396";
  font-family: "bootstrap-icons";
  position: absolute;
  right: 0.5em;
  color: rgb(1, 141, 71);
}

.page--body a[href$=".doc"]::after,
.page--body a[href$=".docx"]::after,
a.btn.word::after {
  content: "\F3BB";
  font-family: "bootstrap-icons";
  position: absolute;
  right: 0.5em;
  color: rgb(1, 3, 141);
}

a.blank::after {
  content: "\F1C5";
  font-family: "bootstrap-icons";
  position: absolute;
  right: 0.8em;
}

footer a.blank::after {
  content: "\F1C5";
  font-family: "bootstrap-icons";
  position: absolute;
  right: 0;
}

@media (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

/* header
------------------------------------------------- */
.navbar {
  --bs-navbar-color: rgba(0, 0, 0, 1) !important;
}

.navbar-brand {
  background: url("/assets/img/logo.svg") no-repeat left center;
  background-size: contain;
  height: 50px;
  width: 250px;
  text-indent: -9999em;
}

.navbar-nav {
  --bs-nav-link-color: var(--bs-navbar-color);
  --bs-nav-link-hover-color: var(--bs-navbar-hover-color);
  --bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);
}

@media (min-width: 991px) {
  header ul.navbar-nav .nav-link {
    margin: 0 0.5em;
    color: #000;
    padding-bottom: 3px;
    position: relative;
    /* background-image: linear-gradient(#000, #000);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 0 1px;
  transition: background-size 0.3s; */
  }

  header ul.navbar-nav .nav-link:hover {
    color: #000;
    font-weight: bolder;
    /* background-position: bottom left;
  background-size: 100% 1px; */
  }

  header ul.navbar-nav li:not(last-child) .nav-link:before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 17px;
    left: -0.5em;
    width: 100%;
    height: 16px;
    border-left: solid 1px #ededed;
  }

  header ul.navbar-nav li:last-child .nav-link:after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 17px;
    right: -0.5em;
    width: 100%;
    height: 16px;
    border-right: solid 1px #ededed;
  }
}

/* footer
------------------------------------------------- */
footer {
  position: relative;
}

footer a {
  color: #000;
  text-decoration: none;
}

footer a:hover {
  color: #000;
  font-weight: bolder;
}

/* sidebar
------------------------------------------------- */
aside.sidebar section {
  margin-bottom: 40px;
}

img.sq64 {
  width: 64px;
  height: 64px;
}

.tag_cloud {
  border: solid 1px #dee2e6;
  padding: 0.5rem;
}

/* common
------------------------------------------------- */
main {
  margin-top: 12px;
}

main section,
main.section {
  margin-bottom: 40px;
}

/* 文頭の※印表示 */
p.text-ex {
  padding-left: 1.2em;
  text-indent: -1.2em;
}

ul.text-ex {
  list-style: none;
  padding-left: 1.2em;
  margin-left: 0.2em;
}

ul.text-ex li {
  text-indent: -1.2em;
}

p.text-ex::before,
ul.text-ex li::before {
  content: "※";
  margin-right: 0.2em;
}

/* 文頭の※印表示 */
p.text-ex {
  padding-left: 1.2em;
  text-indent: -1.2em;
}

ul.text-ex {
  list-style: none;
  padding-left: 1.2em;
  margin-left: 0.2em;
}

ul.text-ex li {
  text-indent: -1.2em;
}

p.text-ex::before,
ul.text-ex li::before {
  content: "※";
  margin-right: 0.2em;
}

/* page */
.page--header h1 span.fs-base::before {
  content: "／";
  padding-right: 0.5em;
}

.navigation {
  margin-bottom: 30px;
}

.navigation a {
  text-decoration: none;
}

@media (min-width: 991px) {
  .page--header {
    background-size: auto;
    margin-bottom: 60px;
  }
}

/* page--body */
.tit01 {
  font-weight: bold;
  padding: 0 0.5em 0.5em 0;
  margin-bottom: 30px;
  border-bottom: solid 6px var(--sub-color);
}

.entry--header {
  border-left: 6px solid #ededed;
  padding-left: 1em;
}

.entry--title {
  font-weight: bold;
  padding: 0 0.5em 0.5em 0;
  border-bottom: solid 6px var(--sub-color);
}

.entry--body img {
  max-width: 100%;
  height: auto;
  margin: 0 0.5em 1em 0.5em;
}

.entry--body .wp-block-image {
  display: inline-block;
  max-width: 100%;
  height: auto;
  margin-bottom: 1em;
}

ol.breadcrumb {
  margin-bottom: 0;
  font-size: clamp(0.8rem, 0.17vw + 0.76rem, 0.89rem);
}

ol.breadcrumb a {
  text-decoration: none;
}

@media (min-width: 991px) {
  main section,
  main .section,
  aside.sidebar {
    margin-bottom: 60px;
  }



  .navigation {
    margin-bottom: 60px;
  }

  .page--body .tit01 {
    margin-bottom: 40px;
  }
}

.entry-list .card-img-top {
  object-fit: cover;
  aspect-ratio: 16/9;
}

/* news */
.news .card .card-date {
  display: block;
}

.news .card a {
  text-decoration: none;
  font-weight: bold;
}

/* toppage
------------------------------------------------- */
.hero {
  background: url(../img/bg-hero.webp) no-repeat 47% center;
  background-size: cover;
  height: 63vh;
}

.hero .catch {
  position: absolute;
  top: 8vh;
  left: 8vw;
  color: var(--main-color);
  font-weight: bolder;
  font-size: clamp(1.25rem, 0.61vw + 1.1rem, 1.58rem);
}

.hero .subcatch {
  position: absolute;
  bottom: 2%;
  right: 8%;
}

.hero p {
  text-shadow: 0 0 10px rgba(101, 138, 193, 0.9);
}

@media (min-width: 991px) {
  .hero {
    background-position: center 36%;
    height: 75vh;
  }

  .hero .catch {
    top: 9.5vh;
    left: 0;
    color: var(--main-color);
    font-size: clamp(1.95rem, 1.56vw + 1.56rem, 2.81rem);
  }
}

/* tagCloud */
.tagcloud a {
  font-size: smaller;
  display: inline-block;
  margin: 0 0.1em 0.6em 0;
  padding: 0.4em;
  line-height: 1;
  text-decoration: none;
  color: #236ee0;
  background-color: #fff;
  border: 1px solid #236ee0;
  border-radius: 2em;
}

.tagcloud a:hover {
  color: #fff;
  background-color: #236ee0;
  border-color: #236ee0;
}

.tagcloud::before {
  content: "\F5B1";
  font-family: bootstrap-icons;
  display: inline-block;
  margin-right: 1em;
}

/* topics */
.topics .card {
  position: relative;
}

.topics .card .card-img-top {
  object-fit: cover;
  aspect-ratio: 4/3;
}

.topics .card .card-text > span {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.2em 0.5em;
  background-color: var(--main-color);
  color: #fff;
  font-size: clamp(0.8rem, 0.17vw + 0.76rem, 0.89rem);
  font-weight: bold;
  border-top-left-radius: 6px;
}

/* privacy-policy */
.privacy-policy h2 {
  margin-top: 1.5em;
}

.entry--body table {
  --bs-table-color-type: initial;
  --bs-table-bg-type: initial;
  --bs-table-color-state: initial;
  --bs-table-bg-state: initial;
  --bs-table-color: var(--bs-body-color);
  --bs-table-bg: var(--bs-body-bg);
  --bs-table-border-color: var(--bs-border-color);
  --bs-table-accent-bg: transparent;
  --bs-table-striped-color: var(--bs-body-color);
  --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
  --bs-table-active-color: var(--bs-body-color);
  --bs-table-active-bg: rgba(0, 0, 0, 0.1);
  --bs-table-hover-color: var(--bs-body-color);
  --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
  width: 100%;
  margin-bottom: 1rem;
  vertical-align: top;
  border-color: var(--bs-table-border-color);

  caption-side: bottom;
  border-collapse: collapse;
}

.entry--body table tbody,
.entry--body table td,
.entry--body table tfoot,
.entry--body table th,
.entry--body table thead,
.entry--body table tr {
  border-color: inherit;
  border-style: solid;
  border-width: 0;
}

.entry--body table > :not(caption) > * > * {
  padding: 0.5rem 0.5rem;
  color: var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));
  background-color: var(--bs-table-bg);
  border-bottom-width: var(--bs-border-width);
  box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
}
