@charset "UTF-8";
@import url("https://pro.fontawesome.com/releases/v5.13.0/css/all.css");

/*** BASE ***/

a {
  text-decoration: none;
  color: #5e5c5c;
}

a:hover {
  color: #0082c7;
}

.under {
  color: #2e56d4;
  text-decoration: underline;
}

.under:hover {
  color: #5ca7d0;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}

#top_container {
  margin: auto;
  max-width: 960px;
  width: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/*** HEADER ***/

#top_header {
  padding: 1rem 0;
  width: 100%;
  display: flex;
  position: relative;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Logo & Contacts */

#top_header #logo_group {
  display: flex;
}

#top_header #logo_group h2 {
  margin: 0 0.3rem;
  padding: 0.5rem 1rem;
  width: 8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.7em;
  border-left: #000 dotted 1px;
}

#top_header #logo_group h2 span {
  display: flex;
  align-items: center;
  font-weight: bold;
  letter-spacing: 0.1rem;
  color: #32ade6;
}

#top_header #logo_group h2 span.first_row {
  margin-right: 0.5em;
}

#top_header > ul {
  display: flex;
  align-items: center;
}

#top_header > ul li#header_tel a,
#top_header > ul li#header_tel a img {
  display: block;
}

#top_header > ul li#header_home {
  margin-left: 1rem;
  width: 3.5rem;
  height: 1rem;
  position: relative;
  font-size: 0.75em;
  line-height: 1rem;
  vertical-align: middle;
}

#top_header > ul li#header_home::before {
  width: 0;
  height: 0;
  margin-right: 0.3rem;
  content: "";
  display: inline-block;
  border-top: transparent solid 5px;
  border-bottom: transparent solid 5px;
  border-left: #555 solid 7px;
}

#top_header > ul li#header_material {
  margin-left: 1rem;
  width: 6.25rem;
  height: 1.8rem;
  font-size: 0.85em;
  line-height: 1.8rem;
  letter-spacing: 0.1em;
  text-align: center;
  border-radius: 30px;
  background: linear-gradient(
    to bottom,
    #d66c42 0%,
    #cd4d2a 4%,
    #c63f21 8%,
    #c63b1e 12%,
    #c8371a 20%,
    #c8381d 32%,
    #c4371c 40%,
    #be361e 44%,
    #a93123 52%,
    #a53124 64%,
    #a23123 84%,
    #a73125 88%,
    #ac3320 92%,
    #b93520 100%
  );
  box-shadow: 0 0 2px 0 #000;
}

#top_header > ul li#header_material:hover {
  background: linear-gradient(
    to bottom,
    #e14a2f 0%,
    #da361a 4%,
    #da2b16 8%,
    #d82713 12%,
    #db2716 16%,
    #d62714 20%,
    #d62714 40%,
    #c32218 52%,
    #c02217 60%,
    #bf2317 84%,
    #c52316 92%,
    #d0251b 100%
  );
}

#top_header > ul li#header_material a {
  margin: auto;
  width: 100%;
  display: block;
  color: #fff;
}

@media screen and (max-width: 797px) {
  #top_header {
    justify-content: center;
  }
  #top_header #logo_group {
    margin-bottom: 1rem;
  }
  #top_header h1 {
    margin-left: 1rem;
  }
  #top_header > ul {
    margin: auto;
    padding: 0 1rem;
  }
}

@media screen and (max-width: 480px) {
  #top_header {
    width: calc(100% - 2rem);
    margin: auto;
  }
  #top_header #logo_group {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
  #top_header #logo_group h2 {
    margin: 1rem auto 0;
    padding: 0;
    width: 8rem;
    border: none;
  }
  #top_header > ul {
    width: calc(100% - 2rem);
    flex-wrap: wrap;
    justify-content: center;
  }
  #top_header > ul li#header_tel {
    margin-bottom: 1rem;
  }
  #top_header > ul li#header_tel a img {
    margin: auto;
  }
  #top_header > ul li#header_material {
    margin: 1rem 0 0;
    width: calc(100%);
    height: 3rem;
    font-size: 1em;
    line-height: 3rem;
    border: rgb(15, 110, 180) solid 3px;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    color: #000;
  }
  #top_header > ul li#header_material:hover {
    background: none;
    opacity: 0.5;
  }
  #top_header > ul li#header_material a {
    margin: auto;
    width: 100%;
    display: block;
    position: relative;
    color: rgb(15, 110, 180);
  }
  #top_header > ul li#header_material a i {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 0.5rem;
    transform: translateY(-50%);
    font-size: 2em;
    color: rgb(15, 110, 180);
  }
}

/* Top Navi */

#top_header nav {
  margin-top: 1rem;
  width: 100%;
  position: relative;
  font-size: 0.75em;
  font-weight: bold;
  z-index: 10;
}

#top_header nav ul {
  display: flex;
}

#top_header nav > ul > li {
  box-sizing: border-box;
  width: calc(100% * 1 / 5);
  height: 2.15rem;
  text-align: center;
  line-height: 2rem;
  background: linear-gradient(
    to bottom,
    #5f5e5f 0%,
    #646464 3%,
    #5d5f5f 6%,
    #606060 24%,
    #5f5f60 33%,
    #5c5c5d 39%,
    #545455 45%,
    #323437 61%,
    #2a2b2d 67%,
    #1f2125 76%,
    #1f2125 85%,
    #25272a 94%,
    #2b2b2f 97%,
    #2c2d31 100%
  );
  box-shadow: inset 1px -1px 2px 0 #222, inset -1px 1px 2px 0 #aaa;
}

#top_header nav ul li:hover {
  background: linear-gradient(
    to bottom,
    #5e5b5c 0%,
    #5e5d5d 3%,
    #585556 6%,
    #575757 30%,
    #52504f 39%,
    #474040 45%,
    #2b2725 52%,
    #1a1210 58%,
    #0f0a07 61%,
    #050102 67%,
    #000000 76%,
    #000000 100%
  );
}

#top_header nav > ul > li > a {
  width: 100%;
  display: inline-block;
  color: #fff;
}

#top_header nav ul li ul {
  margin-top: 2px;
  flex-direction: column;
}

#top_header nav ul li ul li {
  width: 100%;
  height: 2.25rem;
  display: none;
  line-height: 2.15rem;
  background: #eee;
  box-shadow: inset 1px 1px 2px 0 #eee, inset -1px -1px 2px 0 #999;
}

#top_header nav ul li ul li a {
  width: 100%;
  display: block;
}

#top_header nav ul li ul li a i {
  padding-top: 0.05rem;
  line-height: 1rem;
  display: block;
}

#top_header nav ul li ul li a i span {
  display: block;
}

#top_header nav ul li:hover ul li {
  display: block;
}

#top_header nav ul li ul li:hover {
  background: #ccc;
}

#top_header nav ul li ul li:hover a {
  color: #666;
}

@media screen and (max-width: 797px) {
  #top_header nav {
    display: none;
  }
}

/* Drawr Menu */

/*** Drawr Menu Button ***/

#navTgl {
  display: none;
}

label {
  cursor: pointer;
  position: fixed;
  top: 0;
  right: 0;
}

.open {
  z-index: 100;
  width: 48px;
  height: 48px;
  background-color: rgb(15, 110, 180);
  transition: background 0.6s,
    transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.open::before,
.open::after {
  content: "";
}

.open span,
.open::before,
.open::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  left: 30%;
  width: 40%;
  border-bottom: 2px solid white;
  transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.open::before {
  transform: translateY(-8px);
}

.open::after {
  transform: translateY(8px);
}

.close {
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: background 0.6s;
}

#navTgl:checked + .open {
  background: indianRed;
  transform: translateX(-260px);
}

#navTgl:checked + .open span {
  transform: scaleX(0);
}

#navTgl:checked + .open::before {
  transform: rotate(45deg);
}

#navTgl:checked + .open::after {
  transform: rotate(-45deg);
}

#navTgl:checked ~ .close {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.3);
}

/*** Drawr Menu List ***/

#drawr_menu {
  z-index: 100;
  position: fixed;
  overflow: auto;
  top: 0;
  right: 0;
  width: 260px;
  height: 100%;
  margin: 0;
  padding: 10px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.6);
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

#drawr_menu > ul > li {
  font-size: 0.9em;
  line-height: 1.6;
}

#drawr_menu ul li ul {
  margin-top: -1rem;
}

#drawr_menu ul li ul li {
  font-size: 0.8em;
  text-indent: 1.5rem;
}

#drawr_menu ul li ul li a i {
  padding-top: 0.05rem;
  line-height: 1rem;
  display: block;
}

#drawr_menu ul li ul li a i span {
  display: block;
}

#drawr_menu a {
  display: block;
  padding: 1em 2em;
  text-decoration: inherit;
  transition: background 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
  border: none;
  color: #fff;
}

#navTgl:checked ~ #drawr_menu {
  transform: none;
}

@media screen and (max-width: 797px) {
  label {
    position: fixed !important;
  }
}

@media screen and (min-width: 798px) {
  .open {
    transform: translateY(-100%);
  }
}

/*** MAIN ***/

#main_section {
}

#main_section #top_image {
  position: relative;
  background: url(./img/top_image.png) center / cover no-repeat border-box;
}

#main_section h1 {
  padding: 1rem 2rem;
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
}

#main_section h2 {
  margin: 0;
  padding: 3rem 1rem;
  font-size: 1.83em;
  font-weight: bold;
  line-height: 1.2;
  color: #fff;
}

#main_section h2 span#sub_title {
  display: block;
  margin-top: 5px;
}

#main_section dl#datetime {
  padding-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  font-size: 1.6em;
  font-weight: bold;
  justify-content: flex-end;
  color: #fff;
}

#main_section dl#datetime dt {
  width: 8rem;
}

#main_section dl#datetime dd {
  margin-right: 1rem;
  width: auto;
}

#main_section a.registration.top {
  padding: 0.5rem 0;
  width: 15rem;
  display: block;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  border-radius: 10px;
  position: absolute;
  top: 5rem;
  right: 3rem;
  background-color: #fff;
  color: #000000;
}

#main_section a.registration.top:hover {
  opacity: 0.7;
  transition: 0.3s linear;
}

#main_section p.accounting_style {
  margin: 0 auto 1rem;
  width: 90%;
  font-weight: bold;
  font-size: 1.05rem;
  line-height: 1.5;
}

#main_section p.accounting_style:first-of-type {
  margin-top: 2rem;
}

#main_section ul#style_img {
  margin-top: 3rem;
  display: flex;
  width: auto;
}

#main_section ul#style_img li img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

#main_section h3 {
  margin-top: 5rem;
  padding: 5rem 0 1rem;
  padding-left: 3rem;
  font-size: 1.8em;
  font-weight: bold;
  border-top: #c6aafa solid 2px;
  position: relative;
}

#main_section h3::before {
  content: "";
  width: 2rem;
  height: 2rem;
  background-color: #c6aafa;
  position: absolute;
  top: 4.9rem;
  left: 0;
}

#main_section ul#recommendation {
  font-weight: bold;
}

#main_section ul#recommendation li {
  margin-left: 5rem;
  list-style: disc;
  line-height: 1.5;
  font-size: 1.2em;
}

#main_section dl#summary {
  display: flex;
  flex-wrap: wrap;
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1.8;
}

#main_section dl#summary dt {
  margin-left: 3rem;
  width: 7rem;
}

#main_section dl#summary dd {
  margin-left: auto;
  width: calc(100% - 10rem);
  word-break: break-all;
}

#main_section p.consultation,
#main_section p.contact,
#main_section p.QandA,
#main_section p.instructor {
  margin-left: 3rem;
  font-weight: bold;
  line-height: 1.5;
  font-size: 1.2em;
}

#main_section p.manual {
  position: relative;
  top: 95px;
  left: 650px;
  font-weight: bold;
  line-height: 1.5;
  font-size: 1em;
}

#main_section p.policy {
  margin: 3rem auto 0;
  width: 50%;
  font-size: 0.8em;
}

@media all and (-ms-high-contrast: none) {
  #main_section p.contact {
    margin-left: 4.6rem;
    font-weight: bold;
    line-height: 1.5;
    font-size: 1.2em;
  }
}

#main_section a.registration.bottom {
  margin: 3rem auto 0;
  padding: 0.5rem 0;
  width: 15rem;
  display: block;
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  border-radius: 10px;
  background-color: #c6aafa;
  color: #fff;
  transition: 0.3s linear;
}

#main_section a.registration.bottom:hover {
  opacity: 0.5;
  transition: 0.3s linear;
}

#main_section a.registration_stop.bottom {
  margin: 3rem auto 0;
  padding: 0.5rem 0;
  width: 15rem;
  display: block;
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  border-radius: 10px;
  background-color: #ea0000;
  color: #fff;
  transition: 0.3s linear;
}

@media screen and (max-width: 767px) {
  #main_section #top_image {
    padding-bottom: 1rem;
    height: auto;
  }
  #main_section dl#datetime {
    text-align: center;
    line-height: 1.5;
  }
  #main_section dl#datetime dt {
    width: 100%;
  }
  #main_section dl#datetime dd {
    width: 100%;
  }
  #main_section a.registration.top {
    margin: 1rem auto;
    position: static;
  }
  #main_section ul#recommendation li {
    margin-right: 1rem;
  }
  #main_section dl#summary {
    line-height: 1.5;
  }
  #main_section dl#summary dt {
    width: 100%;
  }
  #main_section dl#summary dd {
    margin: 0 1rem 1rem 4rem;
    width: 100%;
  }
  #main_section dl#summary dd::before {
    content: "";
  }
  #main_section p.consultation,
  #main_section p.instructor {
    margin-right: 1rem;
  }
}

/*** FOOTER ***/

#top_footer {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 30px;
}

#top_footer ul {
  padding-bottom: 1.5rem;
  padding-top: 1.5rem;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  border-top: #c6aafa solid 2px;
  border-bottom: #aaa solid 1px;
}

#top_footer ul li {
  padding-right: 2rem;
  position: relative;
}

#top_footer ul li:not(:first-child) {
  padding-left: 1rem;
  border-left: #aaa solid 1px;
}

#top_footer ul dl dt {
  margin-bottom: 0.3rem;
  font-size: 0.8em;
  font-weight: bold;
  color: #555;
}

#top_footer ul dl dd {
  font-size: 0.7em;
  line-height: 1.6;
}

#top_footer ul dl dd:last-child {
  margin-bottom: 1rem;
}

#top_footer ul dl dd a {
  color: #555;
}

#top_footer ul dl dd a:hover {
  color: #0082c7;
}

#top_footer small,
#top_footer p {
  margin: 1rem 0 1.5rem;
  position: relative;
  font-size: 0.8em;
}

#top_footer small a {
  color: #000;
}

#top_footer p::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 0px;
  border-top: solid 4px #34b2d8;
  border-right: solid 4px #34b2d8;
  transform: rotate(45deg);
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -6px;
  margin-left: -20px;
}

@media screen and (max-width: 797px) {
  #top_footer ul {
    margin: auto;
    width: calc(100% - 2rem);
    justify-content: center;
  }
  #top_footer ul li {
    width: calc(50% - 4rem);
  }
  #top_footer ul li:nth-child(n-2) {
    border-bottom: #aaa solid 1px;
  }
  #top_footer ul li:nth-child(3) {
    border-left: none;
  }
  #top_footer ul li:nth-child(n + 3) {
    padding-top: 1rem;
    border-bottom: none;
  }
  #top_footer ul li:first-child {
    padding-left: 1rem;
  }
  #top_footer ul dl dt {
    font-size: 0.9em;
  }
  #top_footer ul dl dd {
    font-size: 0.8em;
  }
  #top_footer small {
    margin-left: 1rem;
  }
  #top_footer p {
    margin-right: 1rem;
  }
}

@media screen and (max-width: 480px) {
  #top_footer {
    justify-content: center;
  }
  #top_footer ul {
    text-align: center;
  }
  #top_footer ul li {
    padding: 0;
    width: calc(100% - 2rem);
    border-left: none;
  }
  #top_footer ul li:first-child {
    padding-left: 0;
  }
  #top_footer ul li:nth-child(2n) {
    border-left: none;
  }
  #top_footer ul li:nth-child(n + 2) {
    padding-top: 1rem;
    padding-left: 0;
  }
  #top_footer ul li:nth-child(3) {
    border-bottom: #aaa solid 1px;
  }
  #top_footer ul li:last-child {
    border-bottom: none;
  }
  #top_footer small {
    margin: 1rem 0 1rem;
    width: 100%;
    text-align: center;
    order: 3;
  }
  #top_footer p {
    width: 100%;
    margin: 2rem 0 0;
    text-align: center;
    order: 2;
  }
  #top_footer p::before {
    content: "";
    width: 8px;
    height: 8px;
    border: 0px;
    border-left: solid 4px #34b2d8;
    border-top: solid 4px #34b2d8;
    transform: rotate(45deg) translateX(-50%);
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    margin: -0.5rem 0 0;
  }
}

/* Waribiki */

#waribiki_section {
  margin: 1rem 0 5rem;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin-bottom: 1rem;
}

#waribiki_section h3 {
  width: 100%;
}

#waribiki_section h3 {
  margin-top: 5rem;
  padding: 5rem 0 1rem;
  padding-left: 3rem;
  font-size: 1.8em;
  font-weight: bold;
  border-top: #c6aafa solid 2px;
  position: relative;
}

#waribiki_section h3::before {
  content: "";
  width: 2rem;
  height: 2rem;
  background-color: #c6aafa;
  position: absolute;
  top: 4.9rem;
  left: 0;
}

#waribiki_section .waribikibox {
  margin-top: 1rem;
  width: calc(100% / 2 - 4rem);
  display: flex;
  flex-direction: column;
}

#waribiki_section .waribikibox h4 {
  padding: 0.5rem 1rem;
  height: auto;
  background: #b4cefa;
  font-size: 1.4rem;
  font-family: serif;
  text-align: center;
  line-height: 1.6;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-weight: 900;
  text-align: center;
}

#waribiki_section .rssvc h4,
#waribiki_section .smart h4 {
  height: auto;
  background: hsl(150, 49%, 65%);
	text-align: center;
}

#waribiki_section .waribikibox h4 .newline {
  margin-top: 0.5rem;
  display: inline-block;
  font-size: 1rem;
  color: #817f7f;
  text-align: center;
}

#waribiki_section .waribikibox p {
  padding: 1rem;
  line-height: 1.6;
}

#waribiki_section .waribikibox p a {
  display: block;
  width: 100%;
  font-size: 1rem;
  color: #1a15e5;
}

#waribiki_section .waribikibox p a:hover {
  text-decoration: underline;
}

#waribiki_section .waribikibox dl {
  margin-bottom: 1rem;
  line-height: 1.6;
}

#waribiki_section .waribikibox dl dd::before {
  content: "・";
}

#waribiki_section .waribikibox .waribiki_button {
  margin-top: auto;
  width: 100%;
  height: 5rem;
  background: #c6aafa;
  border-radius: 0.5rem;
  color: #fff !important;
  font-size: 1.4rem;
  font-weight: bold;
  transition: 0.3s ease;
}

#waribiki_section .waribikibox .waribiki_button a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff !important;
  text-decoration: underline;
}

#waribiki_section .waribikibox .waribiki_button:hover {
  text-decoration: none;
  transition: 0.3s ease;
  opacity: 0.8;
}

#main_section p.stop {
    margin-top: 3rem;
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
    width: 85%;
    font-weight: bold;
    font-size: 1.7em;
    text-decoration: underline;
    line-height: 1.4;
    display: block;
    color: #D50000;
}