@charset "UTF-8";
/* CSS Document */

/*------------------
   color variables
------------------*/

:root {
  --color-text: #444;
  --color-white: #FFF;
  --color-yellow: #FED815;
  --color-green: #C1D075;
  --color-gray-light: #BBB;
  --color-gray: #666;
  --color-purple: #9866A8;
  --color-purple-dark: #751A86;
  --color-transparent: transparent;
}

/*------------------
   common
------------------*/

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  color: var(--color-text);
  font-family: "BIZ UDGothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.main-visual {
  width: 100%;
}

h2 {
  margin-top: 5rem;
  padding: 0.75rem 0.25rem;
  color: #222;
  font-size: 1.75rem;
  display: inline-block;
  background: linear-gradient(transparent 60%, var(--color-green) 60%);
}

.message h2 {
  margin-top: 1.5rem;
  background: none;
}

.message h2 span {
  padding: 0.5rem 0.25rem;
  background: var(--color-green);
  display: block;
}

h2+p {
  margin-top: 2rem;
}

p {
  padding-left: 1rem;
  text-align: justify;
}

h3 {
  font-size: 1.5rem;
  margin-top: 3rem;
  line-height: 1.5;
}

h3::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border: 7px solid var(--color-yellow);
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

h3.circle::before {
  border-radius: 7px;
}

h4 {
  font-size: 1rem;
  margin-top: 2rem;
  line-height: 1.5;
  font-weight: normal;
  text-indent: 1rem;
}

h4::before {
  content: '';
  display: inline-block;
  border: 4px solid var(--color-transparent);
  border-left: 6px solid var(--color-gray);
  width: 0;
  height: 0;
}

ol.abc {
  list-style-type: upper-alpha;
}

figure {
  max-width: 80%;
  margin: 0 auto;
}

.youtube {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  box-sizing: border-box;
}

.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

dt {
  color: var(--color-purple);
  text-align: justify;
  font-size: 1.25rem;
}

dt:first-of-type {
  margin-top: 2rem;
}

dd {
  margin-bottom: 2rem;
  text-align: justify;
}

.entry-date {
  font-weight: bold;
  color: var(--color-purple);
  margin-right: 1rem;
  font-size: 0.9rem;
}

/*------------------
   page-top button
------------------*/

#page-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--color-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

#page-top a {
  color: var(--color-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

#page-top:hover {
  background-color: var(--color-purple-dark);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/*------------------
   bootstrap
------------------*/

.bg-primary {
  background-color: var(--color-yellow) !important;
}

.btn-primary {
  background-color: var(--color-purple);
  border-color: var(--color-purple);
}

.btn-primary:hover {
  background-color: var(--color-purple-dark);
  border-color: var(--color-purple);
}

.offcanvas {
  background-color: rgba(255, 255, 255, 0.8);
  max-width: 80%;
}

.nav-pills .nav-link.active {
  background-color: var(--color-gray-light);
}

.nav-item {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  font-weight: bold;
}

.btn {
  text-align: left;
}

.navbar-brand {
  font-size: 1rem;
  font-weight: bold;
}

.card li {
  list-style: none;
}

.card a {
  color: var(--color-text);
  text-decoration: none;
}

/*------------------
   mobile
------------------*/

@media all and (max-width: 1200px) {
  .nav-item {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
  }
}


@media all and (max-width: 992px) {

  h2 {
    font-size: 1.5rem;
    margin-top: 3rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  figure {
    max-width: 100%;
  }

  .navbar-brand {
    font-size: 0.8rem;
  }

}

/* end 992*/

@media all and (max-width: 576px) {

  h2:first-of-type {
    margin-top: 0;
  }

  .message h2 span {
    padding: 0.5rem 0.25rem;
    display: inline-block;
    font-size: 1.25rem;
  }

  .nav-item a {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  p {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  #page-top {
    bottom: 15px;
    right: 15px;
  }

}

/* end 576 */