/*=============================================== */
/*　clearfix */
/*=============================================== */
.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.clearfix {
  overflow: hidden;
}

/* Hides from IE-mac \*/
* html .clearfix {
  height: 1%;
  overflow: visible;
}

/* ==================================================== */
/* Common Style                                         */
/* ==================================================== */
html {
  position: relative;
  min-height: 100%;
  padding-bottom: 100px;
  box-sizing: border-box;
}

html, body {
  font-family: "メイリオ", Meiryo, Arial, Verdana, YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック", sans-serif;
  /* Playerのために必要 */
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 768px) {
  .pc {
    display: none !important;
  }
}

@media screen and (min-width: 767px) {
  .sp {
    display: none !important;
  }
}

img {
  width: 100%;
  object-fit: contain;
}

ul, ol {
  list-style: none;
  padding-left: 0;
}

.paragraph {
  margin-bottom: 2rem;
}

/* ==================================================== */
/* Parts                                                */
/* ==================================================== */
.error-message {
  color: red;
  font-size: 1.3rem;
  font-size: 13px;
  margin-bottom: 2em;
}

/* button */
.btn-lightgray {
  background: #e4e4e4;
  border: 1px solid #d6d6d6;
}

.btn-lightgray:hover {
  background: #ddd;
}

.mail-noreturn {
  padding: 1em;
  background: rgb(214, 227, 240);
  margin-bottom: 2em;
  margin: 2em auto;
  width: 90%;
}

/* background */
body:before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  background-image: url(../img/background.jpg);
  opacity: 0.6;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ==================================================== */
/* Form                                                 */
/* ==================================================== */

/* ==================================================== */
/* Gakkai Bar                                           */
/* ==================================================== */
.gakkaiBar {
  background: rgba(0, 0, 0, 0.8);
  color: #FFF;
}

.gakkaiBar:after {
  content: '';
  display: block;
  height: 4px;
  width: 100%;
  background: rgba(140, 140, 140, 0.8);
  z-index: 99999;
  position: absolute;
}

.gakkaiBar .gakkaiBar-content {
  padding: 0.4em 0.6em;
}

.gakkaiBar .site-logo {
  width: 120px;
  font-size: 1.2rem;
  font-size: 12px;
  margin: 0 auto 0.4rem;
}

@media screen and (min-width: 768px) {
  .gakkaiBar .site-logo {
    margin-left: 0;
  }
}

.gakkaiBar .site-description {
  font-size: 1.1rem;
  font-size: 11px;
  color: #FFF;
}

/* Gakkaibar uppernav */
.upper-nav {
  margin-bottom: 0;
}

.upper-nav li a {
  color: #000;
  display: block;
  font-size: 0.88rem;
  margin: 0 0.2rem;
  padding: 0.2rem 1.4rem 0.1rem;
  background: rgb(241, 241, 241);
  border-radius: 0.4rem;
}

.upper-nav li.mypage a {
  background: yellow;
  font-weight: bold;
}

.upper-nav li a:hover {
  text-decoration: none;
  color: #000;
  background: #F8F8F8;
}

.upper-nav li.mypage a:hover {
  background: rgb(216, 216, 0);
}

/* ==================================================== */
/* Seminar Header                                       */
/* ==================================================== */
.seminar-header {
  background: #FFF;
}

.seminar-header .container {
  max-width: 1240px;
  margin: 0 auto;
}

.seminar-header, .seminar-header .container {
  padding: 0;
}

/* ==================================================== */
/* mainContent                                          */
/* ==================================================== */

/* gakkaibarに隠れるのを回避 */
#contentsTop {
  margin-top: 96px;
}

@media screen and (min-width: 768px) {
  #contentsTop {
    margin-top: 72px;
  }
}

.main-content .contents.w-124 {
  max-width: 1240px;
}

.main-content .contents {
  max-width: 860px;
  background: rgba(255, 255, 255, 0.75);
  margin: 0em auto 4em;
  padding: 4em 0 10em;
}

.main-content .container {
  font-size: 1.4rem;
  font-size: 14px;
}

.page-title h1 {
  text-align: center;
  font-size: 2.6rem;
  font-size: 26px;
  color: #0074c0;
  margin-top: 1em;
  margin-bottom: 3em;
  font-weight: bold;
}

.main-content .container h2 {
  font-weight: bold;
  color: #005b98;
  border-bottom: 1px solid #368DDB;
  padding-left: 1em;
  position: relative;
  margin-bottom: 1em;
  font-size: 2.4rem;
  font-size: 24px;
}

.main-content .container h2:before {
  content: '■';
  position: absolute;
  left: 0;
}

.main-content .container h3 {
  font-size: 2.0rem;
  font-size: 20px;
  border-bottom: 1px solid #aaa;
  font-weight: bold;
  margin-bottom: 1em;
}

.main-content .container h4 {
  font-weight: bold;
  font-size: 1.8rem;
  font-size: 18px;
}

.main-content .container h4:before {
  content: '● ';
  margin-bottom: 1em;
}

.main-content .container p {
  line-height: 1.8;
}

/* ==================================================== */
/* Footer                                               */
/* ==================================================== */
footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #000;
  color: #fff;
  padding: 3em 1em 1em;
  font-size: 1.1rem;
  font-size: 11px;
  background: rgb(0, 0, 0);
}

.footnav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footnav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.footnav ul li{
  border: none;
}
.footnav ul li:last-child{
  border: none;
}
.footnav ul li a {
  display: block;
  padding: 0.2rem 0.6rem;
  color: #FFF;
  border-right: 1px solid #FFF;
  line-height: 1;
}

.footnav ul li:first-child a {
  border-left: 1px solid #FFF;
}

footer p {
  margin-bottom: 0.4rem;
}

/* ==================================================== */
/* Gotp Button                                          */
/* ==================================================== */
.goTop a {
  display: block;
  position: fixed;
  bottom: 40px;
  right: 40px;
  opacity: 0.7;
  box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.25);
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  border-radius: 40px;
}

/* ==================================================== */
/* Message 処理                                           */
/* ==================================================== */
.message.error {
  background: rgb(255, 122, 122);
  color: #FFF;
  text-align: center;
  padding: 1em;
  font-weight: bold;
}

.message.success {
  color: green;
  color: #FFF;
  text-align: center;
  padding: 1em;
  font-weight: bold;
}

/* ===================================================== */
/*  Cookie Policy                                        */
/* ===================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  padding: 0.8rem 1.5rem;
  width: 100%;
  background-color: rgba(102, 102, 102, 0.9);
  box-sizing: border-box;
  z-index: 9999;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  font-size: 90%;
}

.cookie-button {
  margin-left: 1rem;
}

.cookie-button button {
  text-align: center;
  font-size: 1rem;
  white-space: nowrap;
}

.cookie-banner a {
  color: #FFF;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .cookie-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cookie-button {
    margin-left: 0;
    margin-bottom: 0.4rem;
  }
}