/*全体*/

html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff; 
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 100%;
  min-height: 100vh;
}
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
}
section {
  padding: 10px 0;
  margin: 10px 0;
}

/*ヘッダー*/

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #CCE5FF;
  border-bottom: 3px solid #4584B8;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.header-wrap {
  display: flex;
  align-items: center;
  min-height: 70px;
  gap: 12px;
  padding: 6px 0;
}
.noto-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.noto-logo {
  height: 65px;
  width: auto;
  display: block;
}
.flex-spacer {
  flex: 1 1 auto;
}
@media (max-width: 540px) {
  .header-wrap {
    min-height: 55px;
  }
  .noto-logo {
    height: 50px;
  }
}


/*テキスト*/

h1 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #1d2951;
  margin: 20px 0;
  padding-left: 10px;
  border-left: 6px solid #4584B8;
}
h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  padding-left: 1em;
  text-indent: -1em;
  display: block;
  background: #CCE5FF;
  margin: 6px 0 10px;
}


/*箇条書き*/

.list-tachiiri {
  list-style-type: none;
  margin: 0;
  padding: 0 1.0em;
}
.list-tachiiri li {
  display: flex;
  align-items: center;
  gap: 0 5px;
  position: relative;
  padding: .3em .3em .3em 1.5em;
}
.list-tachiiri li::before,
.list-tachiiri li::after {
  position: absolute;
  content: '';
}
.list-tachiiri li::before {
  left: 0;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  background-color: #2589d0;
}
.list-tachiiri li::after {
  left: .6em;
  transform: translateX(-75%) rotate(-45deg);
  width: .3em;
  height: .3em;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
}
.list-tachiiri a {
  color: inherit;
  text-decoration: none;
}
.list-tachiiri a:focus-visible {
  outline: 3px solid #1d2951;
  outline-offset: 2px;
  border-radius: 4px;
}


/*フッター*/

footer {
  background-color: #4584B8;
  color: #fff;
  text-align: center;
  font-size: 15px;
  padding: 10px 0;
  position: relative;
}
footer p {
  margin: 0;
  line-height: 1.75;
}
footer a {
  color: inherit;
}
footer .copyright {
  font-size: 0.8em;
}


/*上に戻る*/

#back-to-top {
  position: fixed;
  bottom: 50px;
  right: 20px;
  z-index: 1100;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
#back-to-top.is-hidden {
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  pointer-events: none;
}
#back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}
#back-to-top img {
  width: 60px;
  height: 60px;
  cursor: pointer;
}
#back-to-top img:hover {
  opacity: 0.95;
}
#top {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  overflow: hidden;
  border: 0 !important;
}
@media screen and (max-width: 768px) {
  #back-to-top img {
    width: 50px;
    height: 50px;
  }
}


