@charset "utf-8";

/* スムーススクロールの指定 */
html {
  scroll-behavior: smooth;
}

header {
  font-size: 20px;
  color: #333333;
  background: #ffffff;
  text-align: center;
  padding: 60px;
  background-color: #eeeeee;
  border-bottom: 1px solid #aaaaaa;
}

footer {
  font-size: 20px;
  color: #333333;
  background: #ffffff;
  text-align: center;
  padding: 60px;
  background-color: #eeeeee;
  border-top: 1px solid #aaaaaa;
}

.container {
  display: flex;
  width: 100%;
  margin: auto;
  padding: 0;
}

main {
  width: calc(100% - 300px);
  flex: 1;
}

@media screen and (min-width: 769px) {
  main {
    width: 65%;
  }
}

section {
  height: 1000px;
  padding: 40px;
}

#section01 {
  background: #CEF9DC;
}

#section02 {
  background: #F3FFD8;
}

#section03 {
  background: #D7EEFF;
}

#section04 {
  background: #D9E5FF;
}

h2 {
  margin-bottom: 50px;
  font-size: 24px;
  font-weight: bold;
}

p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.5;
}

aside {
  width: min(100%, 300px);
}

@media screen and (max-width: 768px) {
  aside {
    width: 35%;
  }
}


/* 追従の指定 */
nav {
  position: sticky;
  top: 0;
  padding: 10px 20px;
  overflow: auto;
}

ul {
  position: relative;
}

ul::before {
  position: absolute;
  top: 17px;
  bottom: 8px;
  left: 6px;
  width: 2px;
  content: "";
  background: #a3cfff;
  border-radius: 0 0 5px 5px;
}

li {
  position: relative;
  margin-top: 5px;
  font-weight: 700;
}

li a {
  position: relative;
  overflow: hidden;
  display: block;
  display: -webkit-box;
  margin: 10px 0;
  padding-left: 21px;
  max-height: 3.05em;
  color: #65717b;
  font-size: 14px;
  text-decoration: none;
  line-height: 2.0;
}

li a.is-current {
    color: #248cff;
  font-weight: bold;
}

li a::before {
  position: absolute;
  content: "";
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  box-sizing: inherit;
  background: #a3cfff;
  border: 2px solid #ffffff;
  border-radius: 99rem;
}

li a.is-current::before {
  background: #248cff;
  border: 2px solid #cee5ff;
}
