@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400&display=swap");

/* SET UP */

* {
  box-sizing: border-box;
}

ul {
  padding-left: 1.5rem;
}

body {
  color: #333;
  font-family: "Arial", "メイリオ", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background-color: rgb(180 220 180 / 0.8);
  margin: 0 auto;
  max-width: 1000px;
}

.item {
  padding: 8px;
  background-color: white;
  border: 5px solid rgb(200 120 100 / 1);
  border-radius: 6px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.25);
}

.height-50 {
  height: 50vh;
}

.small {
  font-size: smaller;
}

.task-1.container {
  display: grid;
  height: 100vh;
  grid-template-rows: auto 1fr auto;
}

/* customize */
a {
  text-decoration: none;
  color: inherit;
}
h1, h2 {
    text-align: center;
}

/* site-header */
.site-header {
  position: relative;
}

.site-header__wrapper {
  padding-top: 1rem;
  padding-bottom: 1rem; }
  @media (min-width: 767px) {
    .site-header__wrapper {
      text-align: center; } }
.nav__wrapper {
    display: inline-flex;
}
.nav__item a {
  display: block;
  padding: 1rem;
  font-weight: bold;
}
@media (max-width: 766px) {
  .nav__wrapper {
    display: none;
  } }
@media (min-width: 767px) {
  .sp-header {
    display: none;
  }
}
/* Navbar & Navmenu color */
:root {
  --background-navbar: rgb(55 55 55 / 0.9);
}

.sp-header {
  background: var(--background-navbar);
  position: fixed;
  width: 100%;
  height: 52px;
}

/* Nav items */
.menu {
  list-style: none;
  position: absolute;
  width: 100%;
  height: auto;
  top: 0;
  margin-top: 52px;
  padding: 0 0 10px 0;
  clear: both;
  background: var(--background-navbar);
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  transform: scale(1, 0);
  transform-origin: top;
}

/* Hamburger menu button */
.menu-btn:checked ~ .menu {
  transform: scale(1, 1);
  transform-origin: top;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

/* Hamburger menbu text */
.menu a {
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 16px;
  text-transform: capitalize;
  color: #ddd;
  font-weight: 600;
  opacity: 0;
  transition: 0.5s;
}

.menu li {
  border-top: 1px solid rgb(255 255 255 / 0.5);
  padding: 15px 0;
  margin: 0 54px;
  opacity: 0;
  transition: 0.5s;
}

.menu-btn:checked ~ .menu a,
.menu-btn:checked ~ .menu li {
  opacity: 1;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
}

.menu-btn {
  display: none;
}

.menu-icon {
  display: inline-block;
  position: relative;
  cursor: pointer;
  padding: 24px 14px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.navicon {
  background: #ddd;
  display: block;
  height: 3px;
  width: 26px;
  position: relative;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

.navicon:before,
.navicon:after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  background: #ddd;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

.navicon:before {
  top: 9px;
}

.navicon:after {
  bottom: 9px;
}

/* Hamburger Menu Animation Start */
.menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before {
  top: 0;
}
.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  bottom: 0;
}

.menu-btn:checked ~ .menu-icon .navicon {
  background: rgba(0, 0, 0, 0);
  transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}
/* Hamburger Menu Animation End */

/* Navbar Container */
.navtext-container {
  width: 100%;
  height: 52px;
  position: absolute;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Navbar Text */
.navtext {
  position: absolute;
  text-transform: uppercase;
  color: #ddd;
  letter-spacing: 4px;
  font-size: 20px;
}
.brand {
  display: inline-block;
  font-weight: bold;
  font-size: 20px;
}
@media (min-width: 767px) {
    .brand {
      margin-bottom: 1rem; } }
@media (max-width: 766px) {
    .brand {
      margin-top: 50px;
      margin-bottom: 0; }
}
.brand img {
  width: auto;
  height: 70px;
  margin : 0 auto;
}

#about {
  margin: 2rem 0;
  line-height: 160%;;
}
.content {
    max-width: 90%;
    margin: 2rem auto;
}

#program {
    margin: 1rem auto;
    display: block;
}
.program-table table {
  width: 85%;
  margin: 1rem auto;
  border-collapse: collapse;
  border: solid 1px #ccc;
}
.program-table tr, td {
  border: solid 1px #ccc;
  padding: 1rem;
}

#regist {
  margin: 1rem auto;
  display: block;
}
.regist-table table {
  width: auto;
  margin: 1rem auto;
  border: none;
  border-collapse: collapse;
  border-spacing: 0;
}
.regist-table td {
  border: 0;
  padding: auto 1rem;
  line-height: 3rem;
  font-size: 1.2rem;
  text-align: right;
}
.reg-button_a{
  color: #fff;
  font-weight: bold;
  text-align: right;
  padding: 1rem 2.5rem;
  background-color: rgb(241, 114, 154);
  border-radius: 5%;
  border: 1px solid rgb(222, 84, 127);
}

.reg-button_b {
  color: #fff;
  font-weight: bold;
  text-align: right;
  padding: 1rem 2.5rem;
  background-color: rgb(101, 170, 222);
  border-radius: 5%;
  border: 1px solid rgb(60, 103, 207);
}

.reg-button:hover,
.reg-button:active {
  box-shadow: 1px 2px #8e99b6;
  top: 2px;
	color: #fff;
	font-weight: bold;
}
.reg-button:visited {
	color: #fff;
}

@media screen and (max-width: 680px) {
table {
	min-width: 100%;
  font-size: 1.1rem;
  }
table th, table td {
  display: block;
  margin: 0 auto;
  padding: 0.2rem auto;
  text-align: center;
  }
.regist-table th {
  margin-top: 3rem;
  }
.regist-table td {
  line-height: 1.5rem;
  text-align: center;
  }
}