/*
 * hero
 */
#hero {
  width: 100%;
  margin: 0;
  padding-top: 30px;
  text-align: center;
  background-color: var(--site-main-color);
}

#hero-content {
  margin: 0 auto;
  width: 260px;
}

#hero h3 {
  width: 100%;
  text-align: left;
}

#hero h3 img {
  width: 170px;
  height: auto;
}

#hero h1 {
  width: 100%;
  margin-top: 3px;
  text-align: left;
}

#hero h1 img {
  width: 270px;
  height: auto;
}

#hero h2 {
  width: 100%;
  margin-top: 8px;
  text-align: left;
}

#hero h2 #hero-hitonochie-shingijutsu,
#hero h2 #hero-minnade {
  display: block;
}

#hero h2 #hero-hitonochie-shingijutsu img {
  width: 194px;
  height: auto;
}

#hero h2 #hero-minnade {
  margin-top: 6px;
}

#hero h2 #hero-minnade img {
  width: 235px;
  height: auto;
}

#hero-jiie {
  margin-top: 6px;
  text-align: left;
  width: 100%;
}

#hero-jiie img {
  width: 166px;
  height: auto;
}

#hero-illust {
  width: 100%;
  margin-top: 8px;
  text-align: center;
}

#hero-illust img {
  width: 240px;
  height: auto;
}

/*
 * gnav
 */
#gnav {
  width: calc(100% - 2em);
  margin: 0;
  padding: 0 1em;
  line-height: 1em;
  text-align: center;
  background-color: #47bbbe;
}

#gnav.fixed {
  position: fixed;
  opacity: 0.9;
  top: 0 !important;
  left: 0 !important;
  z-index: 2;
}

#gnav.fixed:hover {
  opacity: 1;
}

#gnav ul {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style-type: none;
  letter-spacing: -0.25em;
  text-align: left;
}

#gnav ul li {
  display: inline-block;
  vertical-align: top;
  width: auto;
  height: auto;
  margin: 0;
//  padding: 0.7em 0.6em;
//  padding: 0.6em 0;
  padding: 0.7em 0 0.6em 0;
  width: calc(100%/3 - 0.1em);
  font-size: 0.75em;
  line-height: 1.2em;
  color: var(--site-white-color);
  letter-spacing: normal;
  text-align: center;
//  border-bottom: solid 1px var(--site-white-color);
}

/*
#gnav ul li.long {
  width: calc(100%/2 - 0.5em);
}
*/

#gnav ul li:hover {
//  background-color: #61abae;
  background-color: #359497;
}

#gnav ul li.active {
//  background-color: #61abae;
  background-color: #359497;
}

#gnav ul li a {
  color: var(--site-white-color);
  text-decoration: none;
}

#gnav ul li#gnav-app {
  background-color: #ce6747;
}

#gnav .icon {
  height: 1em;
  font-size: 1.1em;
  margin-right: 0.5em;
  vertical-align: -0.1em;
}

/*
 * main-section
 */
.main-section {
  text-align: center;
}

.main-section-content {
  padding: 25px 20px;
  width: calc(100% - 40px);
}

/*
 * lecture-section
 */
.lecture-section {
  margin-top: 20px;
  width: 100%;
  text-align: center;
}

.lecture-section-data {
  display: inline-block;
  vertical-align: top;
//  margin-left: 10px;
//  width: calc(100% - 115px);
  width: 100%;
  font-weight: normal;
  text-align: left;
}

.lecture-section-lecture-name .content {
  display: inline-block;
  padding: 0.3em 1em;
  font-size: 0.8em;
  font-weight: normal;
  line-height: 0.8em;
  color: #171a1f;
  border: solid 1px #171a1f;
  border-radius: 0.7em;
//  background-color: #fcf75e;
  background-color: #f8f5a7;
}

.lecture-section-date-time {
  margin-top: 10px;
  font-size: 1.3em;
}

.lecture-section-date-time .youbi {
  display: inline-block;
  vertical-align: top;
  margin-top: 0.1em;
  margin-left: 0.5em;
  padding: 0.2em;
  font-size: 0.6em;
  line-height: 1em;
  color: var(--site-white-color);
  background-color: var(--site-black-color);
  border-radius: 50%;
}

.lecture-section-date-time .time {
  display: inline-block;
  vertical-align: top;
  margin-top: 0.15em;
  margin-left: 0.5em;
  font-size: 0.8em;
}

.lecture-section-title {
  margin-top: 0.4em;
  font-size: 1.1em;
  line-height: 1.2em;
  font-weight: bold;
}

.lecture-section-subtitle {
  margin-top: 0.3em;
  font-size: 1em;
  line-height: 1.2em;
  font-weight: bold;
}

.lecture-section-lead {
  margin-top: 0.3em;
  font-size: 1em;
  line-height: 1.4em;
}

.lecture-section-lead span {
  display: inline-block;
}

.lecture-section-lecturer {
  margin-top: 0.4em;
  font-size: 1em;
}

.lecture-section-lecturer .org {
  margin-top: 0.4em;
  font-size: 0.7em;
  line-height: 1.5em;
}

/*
 * schedule
 */
#schedule.main-section {
  background-color: #eeeeee;
}

#schedule-content {
  width: 256px;
  margin: 0 auto;
}

#schedule.main-section h1 {
  width: 100%;
  text-align: center;
}

#schedule.main-section h1 img {
  width: 131px;
  height: auto;
}

#schedule-zentai-case-studies {
  margin-top: 8px;
  width: 100%;
  text-align: left;
}

#schedule-zentai-case-studies img {
  width: 256px;
  height: auto;
}

#schedule-genba {
  margin-top: 6px;
  width: 100%;
  text-align: left;
}

#schedule-genba img {
  width: 157px;
  height: auto;
}

/* 
 * app
 */
#app.main-section {
  background-color: #f3f3f3;
}

#app.main-section a.button {
  background-color: #ce6747;
  border: solid 1px #ce6747;
  margin: 0.2em 0.2em;
  width: 10em;
}

#app.main-section a.button:hover {
  color: #ce6747 !important;
  background-color: #ffffff;
  animation: none;
}

#app.main-section a#app-pretest-button {
  background-color: #47bbbe;
  border: solid 1px #47bbbe;
}

#app.main-section a#app-pretest-button:hover {
  color: #47bbbe !important;
  background-color: #ffffff;
  animation: none;
}

/* 
 * kichou-refresh 
 */
#kichou-refresh.main-section {
  background-color: #d1e5eb;
}

#kichou.lecture-section {
  margin-top: 0;
}

#kichou-refresh.main-section .lecture-section-data {
  margin-left: 10px;
  width: calc(100% - 115px);
}

#kichou-refresh.main-section .lecture-section-photo {
  display: inline-block;
  vertical-align: top;
  width: 90px;
}

#kichou-refresh.main-section .lecture-section-photo img {
  width: 100%;
  height: auto;
}

/*
 * genba
 */
#genba.main-section {
  background-color: #e6e3e3;
}

ul#genba-list {
  list-style-type: none;
  margin-top: 10px;
  text-align: left;
}

ul#genba-list li {
  display: inline-block;
  width: 100%;
  padding: 0.5em 0;
  font-size: 0.9em;
  line-height: 1em;
  vertical-align: top;
  text-align: left;
}

ul#genba-list li:before{
  content: "■ ";
  vertical-align: 0.1em;
}

#genba-etc {
  margin-top: 10px;
  font-size: 0.8em;
}

/* 
 * jirei
 */
#jirei.main-section {
  background-color: #f3f3f3;
}

#jirei.main-section ol.bunkakai-list {
  margin: 0 auto;
  list-style-type: none;
  width: 300px;
  margin-top: 10px;
}

#jirei.main-section ol.bunkakai-list > li {
  margin-top: 0.5em;
  font-size: 0.8em;
  font-weight: normal;
  line-height: 1.8em;
  text-align: left;
}

#jirei.main-section ol.bunkakai-list > li h1 {
  display: inline-block;
  vertical-align: top;
  padding: 0.5em 0 0.4em 0;
  width: 6em;
  line-height: 1em;
  color: #ffffff;
  text-align: center;
  background-color: #171a1f;
}

#jirei.main-section ol.bunkakai-list > li h2 {
//  display: inline-block;
  vertical-align: top;
//  font-weight: normal;
  margin-top: 0.5em;
//  padding: 0.5em 0 0.4em 0;
  line-height: 1.4em;
  text-align: left;
  font-size: 1.3em;
}

#jirei.main-section ol.bunkakai-list > li h2 small {
//  display: inline-block;
  display: block;
  font-size: 0.8em;
  margin-left: 0.5em;
}

#jirei.main-section .bunkakai-text {
  list-style-type: none;
  margin-left: 0.5em;
  font-size: 0.9em;
}

/*
 * kyousan-kouen
 */
#kyousan-kouen.main-section {
  background-color: #d1e5eb;
}

.kyousan-kouen-section {
  margin-top: 20px;
  width: 100%;
  text-align: center;
}

.kyousan-kouen-section:first-of-type {
  margin-top: 0;
}

.kyousan-kouen-section-title .content {
  display: inline-block;
  padding: 0.3em 1em;
  font-size: 0.8em;
  font-weight: normal;
  line-height: 0.8em;
  color: #171a1f;
  border: solid 1px #171a1f;
  border-radius: 0.7em;
  background-color: var(--site-white-color);
}

.kyousan-kouen-section ul {
  list-style-type: none;
  margin-top: 10px;
}

.kyousan-kouen-section ul li {
  display: inline-block;
  width: 100%;
  padding: 0.5em 0;
  font-size: 0.9em;
  vertical-align: top;
}

#kyousan.kyousan-kouen-section ul {
  text-align: left;
}

#kyousan.kyousan-kouen-section ul li {
  text-align: left;
}

/*
 * info 
 */
#info.main-section {
  background-color: var(--site-white-color);
}

#info table {
  width: 100%;
  margin: 0;
}

#info table th, #info table td {
  color: #171a1f;
  font-weight: normal;
  font-size: 0.9em;
  line-height: 1.6em;
  padding: 0.3em 0.5em;
  text-align: left;
}

#info table th {
  width: 7em;
  line-height: 1em;
}

#info table td a,
#info table td a:hover {
  color: #171a1f;
  text-decoration: underline;
}

.info-date {
  display: inline-block;
  padding: 0.3em 0;
  width: 100%;
  color: var(--site-white-color);
  background-color: var(--site-black-color);
  text-align: center;
  border-radius: 0.2em;
}

.info-date.new {
  background: var(--site-red-color);
}

/*
 * etc
 */
#schedule.main-section a,
#kichou-refresh.main-section a,
#jirei.main-section a,
#genba.main-section a {
  color: var(--site-black-color);
  text-decoration: none !important;
}

#schedule.main-section a:hover,
#kichou-refresh.main-section a:hover,
#jirei.main-section a:hover,
#genba.main-section a:hover {
  opacity: 0.6;
}

#jirei .lecture-section,
#genba .lecture-section {
  margin-top: 0;
}

#jirei .lecture-section-data,
#genba .lecture-section-data {
  text-align: center;
}

@media screen and (min-width: 480px), print {

/*
 * hero
 */
#hero {
  padding: 30px 0;
}

#hero-content {
  margin: 0 auto;
  width: 480px;
}

#hero-left {
  display: inline-block;
  vertical-align: middle;
  width: 275px;
  text-align: left;
}

#hero-right {
  display: inline-block;
  vertical-align: middle;
  width: 200px;
  text-align: right; 
}

#hero h3 img {
  width: 180px;
}

#hero h1 img {
  width: 264px;
}

#hero h2 #hero-hitonochie-shingijutsu img {
  width: 208px;
}

#hero h2 #hero-minnade img {
  width: 252px;
}

#hero-jiie img {
  width: 178px;
}

#hero-illust img {
  width: 200px;
}

/*
 * main-section
 */
.main-section-content {
  padding: 25px 0;
  margin: 0 auto;
  width: 450px;
}

/*
 * schedule
 */
#schedule-content {
  width: 330px;
  margin: 0 auto;
}

#schedule.main-section h1 img {
  width: 160px;
}

#schedule-zentai-case-studies img {
  width: 329px;
}

#schedule-genba img {
  width: 196px;
}

#gnav ul {
  text-align: center;
}

#gnav ul li,
#gnav ul li.long {
  width: calc(100%/4 - 0.1em);
  font-size: 0.8em;
}

#gnav ul li.long {
  letter-spacing: -0.05em;
}

/*
 * gnav
 */
#gnav ul li.low-priority {
  display: none;
}
}

@media screen and (min-width: 960px), print {

/*
 * hero
 */
#hero {
  padding: 45px 0;
}

#hero-content {
  width: 960px;
}

#hero-left {
  display: inline-block;
  vertical-align: middle;
  width: 452px;
  text-align: left;
}

#hero-right {
  display: inline-block;
  vertical-align: middle;
  width: 487px;
  text-align: right;
}

#hero h3 img {
  width: 294px;
}

#hero h1 {
  margin-top: 6px;
}

#hero h1 img {
  width: 440px;
}

#hero h2 {
  margin-top: 30px;
}

#hero h2 #hero-hitonochie-shingijutsu img {
  width: 334px;
}

#hero h2 #hero-minnade {
  margin-top: 15px;
}

#hero h2 #hero-minnade img {
  width: 400px;
}

#hero-jiie {
  margin-top: 30px;
}

#hero-jiie img {
  width: 284px;
}

#hero-illust img {
  width: 470px;
}

/*
 * gnav
 */
#gnav ul li,
#gnav ul li.long {
//  padding: 0.7em 0.8em;
  padding: 0.8em 0.8em 0.7em 0.8em;
  width: auto;
}

#gnav ul li.low-priority {
  display: inline-block;;
}

/*
 * main-section
 */
.main-section-content {
  width: 900px !important;
}

/*
 * schedule
 */
#schedule.main-section h1 {
  display: inline-block;
  vertical-align: middle;
  width: auto;// !important;
}

#schedule.main-section h1 img {
  width: 201px;
}

#schedule-detail {
  display: inline-block;
  vertical-align: middle;
  width: auto;
}

#schedule-zentai-case-studies {
  display: inline-block;
  vertical-align: middle;
  width: auto;
  margin-left: 15px;
}

#schedule-zentai-case-studies img {
  width: 397px;
}

#schedule-genba {
  display: inline-block;
  vertical-align: middle;
  width: auto;
  margin-left: 15px;
}

#schedule-genba img {
  width: 243px;
}

/*
 * kichou-refresh
 */
#kichou-refresh.main-section .lecture-section {
  display: inline-block;
  margin: 0 5px;
  width: calc(100% / 2 - 20px);
}

#kichou-refresh.main-section .lecture-section-photo {
  width: 150px;
}

#kichou-refresh.main-section .lecture-section-data {
  width: calc(100% - 165px);
}

/*
 * genba
 */
ul#genba-list {
  width: 840px;
  margin-left: auto;
  margin-right: auto;
}

ul#genba-list li {
  width: calc(100%/2 - 0.5em);
}

/*
 * jirei
 */
#jirei.main-section ol.bunkakai-list {
  width: 720px;
}

#jirei.main-section ol.bunkakai-list > li {
  display: inline-block;
  vertical-align: top;
  width: 350px;
}

/*
 * info
 */
#info table {
  width: 720px;
  margin: 0 auto;
}

/*
 * kyousan-kouen
 */
#kyousan.kyousan-kouen-section ul li:nth-child(odd) {
  width: calc(100%/2 - 0.5em - 3em);
}

#kyousan.kyousan-kouen-section ul li:nth-child(even) {
  width: calc(100%/2 - 0.5em + 3em);
}
}
