html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0
}

article,
aside,
footer,
header,
nav,
section,
figcaption,
figure,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  margin: 0;
  background-color: transparent;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
input {
  overflow: visible;
  vertical-align: middle;
}

button,
select {
  text-transform: none;
}

input,
button,
select {
  font-family: inherit;
  font-weight: inherit;
}

input[type="submit"],
input[type="button"],
button[type="submit"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}

input[type="submit"]:-webkit-search-decoration,
input[type="button"]:-webkit-search-decoration,
button[type="submit"]:-webkit-search-decoration {
  display: none;
}

input[type="submit"]:focus,
input[type="button"]:focus,
button[type="submit"]:focus {
  outline: none;
}

/* IE 10+ ----- */
:-ms-input-placeholder {
  color: #999;
}

html {
  box-sizing: border-box;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  -webkit-text-size-adjust: 100%;
}

*,
*:before,
*:after {
  background-repeat: no-repeat;
  box-sizing: inherit;
}

:before,
:after {
  text-decoration: inherit;
  vertical-align: inherit;
}

img,
embed,
object,
audio,
video {
  height: auto;
  max-width: 100%;
}

img,
iframe {
  border: 0
}

img {
  vertical-align: bottom;
}

svg {
  fill: currentColor;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
  text-align: left;
  font-weight: normal;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
  color: inherit;
  text-decoration: none;
}

/*++++++++++++++++++*/
body {
  font: 500 16px/1.6 "游ゴシック", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ ゴシック", sans-serif;
  /*font:500 14px/1.6 "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝","MS PMincho", serif;*/
  background: #fff;
  color: #333;
}

.header {
  background: #fff;
}

.header .inner,
.footer .inner,
.footer .inner2,
article,
.content,
.hero-inner {
  width: 100%;
  max-width: 980px;
  padding: 0 40px;
  margin: auto;
}

.header .inner {
  display: flex;
  justify-content: space-between;
  padding: 20px 40px;
  line-height: 40px;
}

.header.columns .inner {
  display: block;
}

.header h1 img {
  margin-right: 20px;
}

.burger,
.burger span,
.burger:before,
.burger:after {
  display: inline-block;
  transition: all .3s;
  box-sizing: border-box;
}

.burger {
  position: relative;
  width: 33px;
  height: 35px;
  display: none;
  cursor: pointer;
}

.burger span,
.burger:before,
.burger:after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #333;
  border-radius: 4px;
}

.burger:before,
.burger:after {
  content: "";
}

.burger:before {
  top: 3px;
}

.burger span {
  top: 16px;
}

.burger:after {
  bottom: 4px;
}

.burger.opened:before {
  transform: translateY(12px) rotate(-45deg);
}

.burger.opened span {
  opacity: 0;
}

.burger.opened:after {
  transform: translateY(-12px) rotate(45deg);
}


.global-nav {
  display: flex;
}

.columns .global-nav {
  justify-content: space-between;
  padding-right: 20px;
}

.global-nav li {
  padding-left: 20px;
}

.global-nav a:hover {
  text-decoration: underline;
}

.key-visual {
  position: relative;
  height: 400px;
  background: url(img/bg.jpg) center / cover no-repeat;
}

.key-visual .copy,
.hero-inner .copy {
  position: absolute;
  left: 0;
  bottom: 40px;
}

.copy span {
  display: inline;
  background: #FFF;
}

.copy h1 {
  font-size: 25px;
  font-weight: bold;
  line-height: 2;
}

.copy h1 span {
  padding: 5px 10px;
}

.copy p {
  line-height: 2.5;
}

.copy p span {
  padding: 5px 10px;
}

.copy h1 + p {
  margin-top: 10px;
}

.hero {
  background: url(img/index-hero.jpg) center / cover no-repeat;
}

.hero-inner {
  position: relative;
  height: 455px;
}

.copy-sp {
  display: none;
}

.hero-copy {
  position: absolute;
  left: 40px;
  bottom: 40px;
  padding: 35px;
  background: rgba(255, 255, 255, .8);
}

.hero span {
  display: inline;
  background: #FFF;
}

.hero h1 {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.2;
}

.hero p {
  font-size: 18px;
  line-height: 2;
}

.hero p span {
  padding: 5px 10px;
}

.hero h1 + p {
  margin-top: 10px;
}


/*追加ココマデ*/

article {
  margin-top: 80px;
}

section,
.box {
  margin-bottom: 60px;
}

section .box:nth-last-child(1) {
  margin-bottom: 0;
}

article > h1 {
  margin-bottom: 60px;
}

article h1 .en {
  margin-bottom: 10px;
  font-size: 60px;
  font-weight: lighter;
  line-height: 1;
}

article h1 .ja {
  display: block;
  margin-top: 10px;
  font-size: 20px;
}

section h1 {
  margin-bottom: 30px;
  font-size: 25px;
  font-weight: bold;
}

section h2 {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: bold;
}

section p + h1,
section ul + h1,
section ol + h1,
section p + h2,
section ul + h2,
section ol + h2 {
  margin-top: 2em;
}

section p + ul,
section p + ol,
section p + p,
section p + img {
  margin-top: 1em;
}

section img {
  margin-bottom: 1em;
}

section a {
  text-decoration: underline;
}

section a:hover {
  opacity: .7;
}

b.big {
  font-size: 20px;
}

.underline {
  background: linear-gradient(transparent 50%, #b2d3ff 50%);
  padding: 0 2px;
}

.underline.red {
  background: linear-gradient(transparent 50%, #fcbcd9 50%);
}

.underline.yellow {
  background: linear-gradient(transparent 50%, #ffde95 50%);
}

.underline.green {
  background: linear-gradient(transparent 50%, #9cff98 50%);
}

.h1-header.red {
  border-color: #fd63a9;
}

.h1-header.red h1:first-letter {
  color: #fd63a9;
}

.h1-header.yellow {
  border-color: #fdca57;
}

.h1-header.yellow h1:first-letter {
  color: #fdca57;
}

.h1-header.green {
  border-color: #40d974;
}

.h1-header.green h1:first-letter {
  color: #40d974;
}

.h1-header {
  padding-left: 10px;
  margin-bottom: 60px;
  border-left: 3px solid #76b1ff;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "ＭＳ Ｐ明朝", "MS PMincho", serif;

}

.h1-header + .lead-comment {
  margin-bottom: 60px;
}

.h1-header h1 {
  line-height: 1;
  margin-bottom: .75em;
  font-weight: 900;
}

.h1-header h1:first-letter {
  font-size: 48px;
  color: #76b1ff;
}

.h1-header .eng {
  font-size: 30px;
}

.h1-header .ja {
  display: inline-block;
  position: relative;
  padding-left: 25px;
  margin-left: 5px;
  font-size: 20px;
}

.h1-header .ja:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  border-bottom: 1px solid #777;
}

.h1-header p {
  font-size: 20px;
  color: #777;
}



.note {
  text-indent: -1em;
  margin-left: 1em;
  color: #e31e1e;
  font-size: .9em;
}

.note:before {
  content: "\203B";
}

.mt {
  margin-top: 1em;
}

.bg-black,
.bg-red,
.bg-yellow {
  padding: 2px 1em;
  color: #fff;
}

.bg-black {
  background: #000;
}

.bg-red {
  background: #e31e1e;
}

.bg-yellow {
  background: #eba609;
}

.img-header {
  margin-bottom: 0;
  text-align: center;
}

.company {
  width: 100%;
  border-top: 1px solid #333;
}

.company th,
.company td {
  border-bottom: 1px solid #333;
  padding: 20px;
}

.company th {
  width: 30%;
  text-align: center;
}

.company td {
  width: 70%;
}

.map {
  width: 100%;
  margin-top: 2em;
}


.news {
  display: flex;
  justify-content: space-between;
  padding: 20px 20px 20px 0;
  border: 1px solid #333;
}

.news h1 {
  display: block;
  height: 40px;
  width: 100px;
  padding-left: 20px;
  border-bottom: 2px solid #333;
}

.news dl {
  display: flex;
  flex-wrap: wrap;
  width: calc(100% - 140px);
}

.news dt,
.news dd {
  padding-top: 15px;
}

.news dt:nth-of-type(1),
.news dd:nth-of-type(1) {
  padding-top: 0;
}

.news dt {
  width: 130px;
  overflow: hidden;
}

.news dt:after {
  content: "\30FB\30FB\30FB";
}

.news dd {
  width: calc(100% - 130px);
}


.split-img {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.split-img + .split-img {
  margin-top: 60px;
}

.row-reverse {
  flex-direction: row-reverse;
}

.split-img img {
  width: 50%;
}

.split-img .box {
  width: calc(50% - 50px);
}

.split-img:not(.row-reverse) .box {
  padding-right: 0;
}

.row-reverse .box {
  padding-left: 0;
}

.split-2,
.split-3 {
  display: flex;
  justify-content: space-between;
}

.split-2 .box {
  width: calc(50% - 20px);
}

.split-2 img,
.split-3 img {
  margin-bottom: 20px;
}

.split-3 .box {
  width: calc(100% / 3 - 20px);
}

.w600 {
  width: 600px;
  margin-right: auto;
  margin-left: auto;
}

.w600 h1,
.w600 h2 {
  text-align: center;
}

.border-box {
  border: 1px solid #333;
  padding: 20px;
}

.border-bold {
  border: 15px solid #eee;
}


.lesson-single {
  width: 100%;
  border: 1px solid #333;
  margin-bottom: 20px;
}

.lesson-single.border-bold {
  border: 15px solid #eee;
}

.lesson-single.radius {
  border-radius: 60px;
  overflow: hidden;
}

.lesson-single img {
  width: 100%;
}

.lesson-list {
  display: flex;
  flex-wrap: wrap;
}

.lesson-list .lesson-single {
  width: calc(50% - 10px);
}

.lesson-list .lesson-single:nth-child(2n) {
  margin-left: 20px;
}

.lesson-box-header {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.lesson-box-header h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1;
}

.lesson-box-header .tag {
  font-size: 15px;
  color: #F33085;
}

.lesson-box-header .name {
  margin-bottom: .6em;
  font-size: 24px;
}

.lesson-box-header .name span {
  margin-left: .5em;
  font-size: 17px;
  color: #6c71cc;
}

.lesson-box-header .title {
  font-size: 15px;
  line-height: 1.4;
  color: #999;
}

.lesson-box-header .right {
  font-size: 15px;
  text-align: right;
}

.lesson-box-header .ticket {
  line-height: 1;
}

.lesson-box-header .ticket span {
  margin: 0 .4em;
  font-size: 20px;
  font-weight: bold;
}

.lesson-box-header .price {
  margin-top: .3em;
  color: #999;
  line-height: 1.5;
}

.lesson-txt {
  padding: 10px 20px 20px;
}


.lesson-txt table {
  width: 100%;
  margin-top: 1em;
  font-size: 15px;
  line-height: 1.5;
}

.lesson-txt tr {
  border-bottom: 1px solid #ddd;
}

.lesson-txt tr:first-child {
  border-top: 2px solid #ccc;
}

.lesson-txt tr:last-child {
  border-bottom: 2px solid #ccc;
}

.lesson-txt th {
  width: 80px;
  text-align: center;
  font-weight: bold;
}

.lesson-txt td {
  padding: 10px 0 10px 10px;
}




section ul,
section ol {
  margin-bottom: 1em;
}

section ul {
  text-indent: -1em;
  margin-left: 1em;
}

section ol {
  text-indent: -1.5em;
  margin-left: 1.5em;
}

section ul li:before {
  display: inline-block;
  content: "";
  height: 1;
  width: 10px;
  margin: 0 10px 2px 0;
  border-bottom: 1px solid #999999;
  vertical-align: middle;
}

section ol {
  counter-reset: item;
}

section ol li {
  padding-bottom: .2em;
}

section ol li:before {
  display: inline-block;
  height: 18px;
  width: 18px;
  margin-right: .5em;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  text-indent: 0;
  counter-increment: item;
  content: counter(item);
  background: #ddd;
  vertical-align: middle;
}

.btn {
  width: 100%;
  position: relative;
  display: block;
  text-decoration: none;
  background: #000;
  color: #fff;
  text-align: center;
}

.btn.no-fill {
  background: none;
  color: #333;
  border: 1px solid #333;
}

.btn.no-fill:after {
  border-color: #333;
}

.btn:after {
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 30px;
  display: inline-block;
  content: "";
  height: .6em;
  width: .6em;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg) translate(0, -50%);
}

.btn.middle {
  max-width: 300px;
  padding: 20px 40px;
  margin-top: 1em;
  margin-bottom: 1em;
}

.btn.big {
  max-width: 600px;
  padding: 40px 50px;
  margin: 2em auto;
  font-size: 20px;
}

.prace-table {
  width: 410px;
  margin-top: 40px;
  margin-bottom: 40px;
}
.prace-table tr {
  border-bottom: 1px solid #ddd;
}
.prace-table tr:first-child,
.prace-table tr:last-child{
  border-bottom: 2px solid #ccc;
}
.prace-table.line1 tr {
  border-top: 2px solid #ccc;
}
.prace-table.line1 th {
  width: 30%;
}
.prace-table.line1 td {
  width: 70%;
}
.prace-table th,
.prace-table td {
  padding: 5px 0;
  width: calc(100% / 3);
  text-align: center;

}
.prace-table td {
  font-size: 20px;
}
.prace-table td:first-child {
  font-size: 16px;
  font-weight: bold;
}

.prace-table span {
  font-size: 14px;
}

.sns {
  display: flex;
  flex-wrap: wrap;
}

.sns li {
  margin-right: 10px;
  margin-bottom: 10px;
}

.sns a {
  display: block;
  width: 90px;
  padding: 2px 0;
  color: #fff;
  text-align: center;
}

.sns a:hover {
  opacity: .7;
}

.facebook {
  background: #305097;
}

.twitter {
  background: #00acee;
}

.line {
  background: #00b900;
}
.youtube {
  background: #f92222;
}

.footer {
  padding: 20px;
  margin-top: 120px;
  background: #eee;
  color: #333;
}

.footer h3 {
  font-weight: bold;
  margin-bottom: .5em;
}

.footer .inner {
  display: flex;
  justify-content: space-between;
}

.footer small {
  font-size: 14px;
  text-align: right;
}

.sns {}

.frame {
  overflow: auto;
  height: 300px;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #999;
}

.footer .inner2 {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.footer .inner2 {
  display: flex;
  justify-content: space-between;
}

.footer .link li + li {
  margin-top: 1em;
}

.footer .link a {
  text-decoration: underline;
}

.footer .link p {
  font-size: .8em;
}

.tdu {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .lesson-list {
    display: block;
  }

  .lesson-list .lesson-single {
    width: 100%;
  }

  .lesson-list .lesson-single:nth-child(2n) {
    margin-left: 0;
  }
}


@media (max-width: 760px) {
  .burger {
    display: block;
  }

  .header nav {
    animation: hide .3s linear 0s;
    animation-fill-mode: forwards;
    position: absolute;
    top: 80px;
    left: 0;
    z-index: 100;
    width: 100%;
    padding: 0 40px;
    text-align: center;
    background: #fff;
  }

  .header nav.opened {
    animation: show .3s linear 0s;
  }

  .header nav.hide {
    display: none;
  }

  @keyframes hide {
    0% {
      opacity: 1;
    }

    100% {
      opacity: 0;
      display: none;
    }
  }

  @keyframes show {
    0% {
      opacity: 0;
      display: block;
    }

    100% {
      opacity: 1;
    }
  }

  .global-nav {
    display: block;
    border-bottom: 1px solid #666;

  }

  .global-nav li {
    margin-left: 0;
    border-top: 1px solid #666;
  }

  .global-nav a {
    display: block;
  }

  .hero-inner {
    height: 400px;
  }

  .hero-copy {
    padding: 25px;
    left: 16px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 16px;
  }

  .news {
    display: block;
  }

  .news dl {
    padding-left: 20px;
    width: 100%;
  }

  .split-img img {
    width: 40%;
  }

  .split-img .box {
    width: calc(60% - 20px);
  }

  .split-2 .box {
    width: calc(50% - 15px);
  }

  .split-3 .box {
    width: calc(100% / 3 - 15px);
  }

  .border-bold {
    border-width: 10px;
  }

  .lesson-single.border-bold {
    border-width: 10px;
  }

  .lesson-single.radius {
    border-radius: 40px;
  }

  .lesson-box-header {
    display: block;
    padding: 15px;
  }

  .lesson-box-header h2 {
    font-size: 25px;
  }

  .lesson-box-header .tag {
    font-size: 13px;
  }

  .lesson-box-header .name {
    margin-bottom: .6em;
    font-size: 24px;
  }

  .lesson-box-header .name span {
    font-size: 17px;
  }

  .lesson-box-header .title {
    font-size: 13px;
  }

  .lesson-box-header .right {
    margin-top: 10px;
    font-size: 13px;
    text-align: left;
  }

  .lesson-box-header .ticket span {
    font-size: 20px;
  }

  .lesson-txt {
    padding: 0 15px 15px;
  }

}

@media (max-width: 680px) {
  .w600 {
    max-width: 100%;
  }
  .prace-table {
    width: 100%;
  }
}

@media (max-width: 600px) {

  body,
  .footer small {
    font-size: 14px;
  }

  .header nav {
    top: 72px;
    padding: 0 16px;
  }

  .footer .inner,
  .footer .inner2,
  article,
  .content {
    padding: 0 16px;
  }

  .header .inner {
    padding: 16px;
  }

  article {
    margin-top: 40px;
  }

  section,
  .box {
    margin-bottom: 30px;
  }

  section h1 {
    margin-bottom: 15px;
    font-size: 18px;
  }

  section h2 {
    margin-bottom: 10px;
    font-size: 16px;
  }

  b.big {
    font-size: 16px;
  }

  .key-visual {
    height: 300px;
  }

  .key-visual .copy,
  .hero-inner .copy {
    bottom: 20px;
  }

  .copy h1 {
    font-size: 18px;
    line-height: 2;
  }

  .copy h1 span {
    padding: 5px 10px;
  }

  .copy p {
    line-height: 2.5;
  }

  .copy p span {
    padding: 5px 10px;
  }

  .copy h1 + p {
    margin-top: 10px;
  }

  .hero-inner {
    height: 400px;
  }

  .hero-copy {
    padding: 15px;
    left: 0;
    bottom: 16px;
    margin-right: 16px;
  }

  .hero h1 {
    font-size: 20px;
  }

  .hero p {
    font-size: 14px;
  }

  .company th,
  .company td {
    padding: 10px;
  }

  .company th {
    width: 25%;
  }

  .company td {
    width: 75%;
  }

  .news {
    padding: 16px 16px 16px 0;
  }

  .news h1 {
    padding-left: 16px;
  }

  .news dl {
    display: block;
    padding-left: 16px;
  }

  .news dt,
  .news dd {
    width: 100%;
  }

  .news dt {
    font-weight: bold;
  }

  .news dt:after {
    display: none;
  }

  .news dd {
    padding-top: 0;
  }

  .border-box {
    padding: 16px;
  }

  .btn:after {
    right: 22px;
  }

  .btn.middle {
    padding: 13px 30px;
  }

  .btn.big {
    padding: 20px 30px;
    font-size: 16px;
  }

  section ol li:before {
    width: 16px;
    height: 16px;
    font-size: 12px;
    line-height: 16px;
  }

  .split-img {
    display: block;
  }

  .split-img + .split-img {
    margin-top: 30px;
  }

  .split-img img {
    width: 100%;
  }

  .split-img .box {
    width: 100%;
    padding: 20px 0 0;
  }

  .split-img:not(.row-reverse) .box {
    padding-left: 0;
  }

  .split-img.row-reverse .box {
    padding-right: 0;
  }

  .split-2,
  .split-3 {
    display: block;
  }

  .split-2 .box,
  .split-3 .box {
    width: 100%;
  }

  .split-2 .box + .box,
  .split-3 .box + .box {
    margin-top: 30px;
  }

  .h1-header {
    padding-left: 10px;
    margin-bottom: 60px;
    border-left: 3px solid #969AE2;
  }

  .h1-header + .lead-comment {
    margin-bottom: 60px;
  }

  .h1-header h1 {
    margin-bottom: 5px;
  }

  .h1-header h1:first-letter {
    font-size: 30px;
  }

  .h1-header .eng {
    font-size: 20px;
  }

  .h1-header .ja {
    padding-left: 20px;
    margin-left: 5px;
    font-size: 16px;
  }

  .h1-header .ja:before {
    width: 15px;
  }

  .h1-header p {
    font-size: 16px;
  }


  .footer {
    margin-top: 60px;
  }

  .footer .inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer small {
    display: block;
    width: 100%;
    margin-top: 5px;
    font-size: 12px;
    text-align: center;
  }

  .footer .inner2 {
    flex-wrap: wrap;
  }

  .footer .inner2 > div {
    display: block;
    width: 100%;
  }

  .footer .inner2 > div:first-child {
    margin-bottom: 30px;
  }

  .footer .inner2 + .inner {
    justify-content: flex-start;
  }
}


@media (max-width: 400px) {
  .btn.middle {
    max-width: 100%;
  }
}



/*@@@@@@@@@@@@@*/

.form {
  width: 100%;
  border: 3px solid #eee;
  margin-top: 40px;
}

.form tr {
  border-top: 2px solid #eee;
}

.form tr:first-child {
  border-top: none;
}

.form tr:nth-child(2n+1) {}

.form th,
.form td {
  padding: 1.5em;
}

.form th {
  width: 30%;
  text-align: right;
}

.form th span {
  font-size: 0.8em;
  color: #eb0051;
  display: inline-block;
  padding: 0 2px 2px;
  margin-left: 10px;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="number"],
.form select,
.form textarea {
  padding: 0.5em;
  margin-bottom: 0.5em;
  border: 1px #89BDDE solid;
  border-radius: 3px;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
}

.form input[type="text"]:focus,
.form input[type="email"]:focus,
.form input[type="tel"]:focus,
.form input[type="number"]:focus,
.form textarea:focus {
  background: #EEFFFF;
  outline: none;
}

.form input[type="checkbox"],
.form input[type="radio"] {
  height: 18px;
  width: 18px;
  margin-top: 0;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.form input[type="submit"] {
  background: #5E9CD5;
  padding: 0.5em 4em;
  border: 1px #89BDDE solid;
  border-radius: 5px;
  color: #fff;
}

.form input[type="submit"]:hover {
  background: #2890c5;
}


.form input[type="button"] {
  background: #ddd;
  padding: 0.5em 4em;
  margin-right: 20px;
  border-radius: 5px;
}

.form input[type="button"]:hover {
  background: #eee;
}


@media (max-width: 768px) {

  .form th,
  .form td {
    width: 100%;
    display: block;
  }

  .form th {
    padding-bottom: 0;
    text-align: left;
  }

  .form .empty {
    display: none;
  }

  .form .submit td {
    text-align: center;
  }
}




/* ------会話コンテンツ------ */

.kaiwa {
  display: flex;
  flex-wrap: wrap;
  margin: 30px auto 50px;
}

.kaiwa-box {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 20px;
}

.kaiwa-box:nth-child(even) {
  flex-direction: row-reverse;
}

.kaiwa-img {
  display: flex;
  align-items: center;
  width: 110px;
}

.kaiwa-img img {
  border: 1px solid rgba(255, 255, 255, .5);
  width: 100%;
  width: 90px;
  height: 90px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, .2);
  margin-bottom: 0;
}

.kaiwa-box:nth-child(even) .kaiwa-img {
  justify-content: flex-end;
}

.kaiwa-txt {}

.kaiwa-txt {
  position: relative;
  display: inline-block;
  padding: 10px 10px;
  max-width: calc(100% - 220px);
  min-width: 120px;
  background: #FFF;
  border: solid 2px #aaa;
  border-radius: 6px;
}

.kaiwa-box:nth-child(even) .kaiwa-txt {
  border-color: #ccc;
}

.kaiwa-txt:before {
  content: "";
  position: absolute;
  top: 50%;
  margin-top: -11px;
  border: 11px solid transparent;
  border-right: 11px solid #FFF;
  z-index: 2;
}

.kaiwa-txt:after {
  content: "";
  position: absolute;
  top: 50%;
  margin-top: -11px;
  border: 11px solid transparent;
  border-right: 11px solid #999;
  z-index: 1;
}

.kaiwa-box:nth-child(odd) .kaiwa-txt::before {
  left: -21px;
}

.kaiwa-box:nth-child(odd) .kaiwa-txt::after {
  left: -23px;
}

.kaiwa-box:nth-child(even) .kaiwa-txt::before {
  right: -21px;
  transform: rotate(180deg);
}

.kaiwa-box:nth-child(even) .kaiwa-txt::after {
  right: -23px;
  transform: rotate(180deg);
  border-right: 11px solid #bbb;
}

.kaiwa-txt p {
  margin: 0;
  padding: 0;
}

.detailPost .onepoint {
  font-weight: bold;
}

@media screen and (max-width: 500px) {
  .kaiwa-box {
    margin-top: 15px;
  }

  .kaiwa-img {
    width: 60px;
  }

  .kaiwa-img img {
    width: 40px;
    height: 40px;
  }

  .kaiwa-txt {
    max-width: calc(100% - 60px);
    padding: 5px 7px;
  }
}



/* ------xxx------ */
.schedule table {
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 14px;
}

.schedule td,
.schedule th {
  padding: 0;
  text-align: left;
  font-weight: normal;
}

table.schedule {
  width: 100%;
  background: #F2E6D7;
}

.schedule tr {
  border-bottom: 4px solid #fff;
}

.schedule th {
  text-align: center;
  line-height: 1.1;
  width: 20px;
  background: #F2E6D7;
  border-right: 2px solid #fff;
}

.schedule td {
  display: block;
  background: #EEE;
  overflow: hidden;
}

.schedule td:not(:last-child) {
  border-bottom: 1px solid #fff;
}

.schedule td span {
  display: inline-block;
  padding: 5px;
  box-sizing: border-box;
}

.schedule td br {
  display: none;
}

.schedule td .time {
  width: 100px;
  text-align: center;
  background: #bbb;
  color: #FFF;
}

.schedule td .name {
  min-width: 70px;
  padding: 5px 5px 5px 15px;
  font-weight: bold;
}

.schedule td .time.duble {
  float: left;
  padding: 16px 5px;
}

.schedule td .name.duble,
.schedule td .name.duble + span {
  float: left;
  width: 65%;
}

.schedule td .name.duble {
  padding-bottom: 0;
}

.schedule td .name.duble + span {
  height: 15px;
  padding-top: 0;
  padding-left: 15px;
}

.schedule .null {
  display: none;
}

.schedule .c1 {
  background: #FAA7BF;
}

.schedule .c1 .time {
  background: #EA3151;
}

.schedule .c2 {
  background: #E9A0F8;
}

.schedule .c2 .time {
  background: #be61e4;
}

.schedule .c3 {
  background: #AEBDF7;
}

.schedule .c3 .time {
  background: #1F37C5;
}

.schedule .c4 {
  background: #A6D5FA;
}

.schedule .c4 .time {
  background: #3EA3F4;
}

.schedule .c5 {
  background: #91ea80;
}

.schedule .c5 .time {
  background: #0ab90a;
}

.schedule .c6 {
  background: #FFFA93;
}

.schedule .c6 .time {
  background: #E6C900;
}

.schedule .c7 {
  background: #FFC9A8;
}

.schedule .c7 .time {
  background: #FE8E3D;
}

.schedule .c8 {
  background: #D9D9D9;
}

.schedule .c8 .time {
  background: #9E9E9E;
}

@media (min-width: 830px) {
  table.schedule {
    width: 100%;
    max-width: 980px;
    line-height: 1;
  }

  .schedule tbody {
    display: flex;
  }

  .schedule tr {
    display: block;
    width: 100%;
    border-right: 2px solid #fff;
    flex: 1;
  }

  .schedule th {
    width: 100%;
    height: 20px;
    padding: 5px 0;
    display: block;
    margin-top: 20px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-right: none;
    font-size: 12px;
  }

  .schedule th[colspan="2"] {
    padding: 17px 0;
    height: 40px;
  }

  .schedule th[rowspan="2"] {
    width: calc(200% + 2px);
    z-index: 10;
    border-bottom: none;
  }

  .schedule th[colspan="2"],
  .schedule th[rowspan="2"],
  .schedule th[rowspan="2"] + th {
    margin-top: 0;
  }

  .schedule th br {
    display: none;
  }

  .schedule td {
    height: 85px;
    font-size: 12px;
  }

  .schedule td br {
    display: block;
  }

  .schedule td span {
    display: block;
    width: auto;
    padding: 5px;
    text-align: center;
  }

  .schedule td .time.duble,
  .schedule td .name.duble,
  .schedule td .name.duble + span {
    float: none;
    padding: 5px;
    width: 100%;
  }

  .schedule td .time,
  .schedule td .name {
    width: auto;
  }

  .schedule td .name {
    padding-top: 10px;
  }

  .schedule td .name + span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
  }

  .schedule td .name.duble + span {
    height: 15px;
  }

  .schedule .null {
    display: block;
  }
}

@media (max-width: 430px) {
  table.schedule {
    font-size: 12px;
  }

  .schedule td .time {
    width: 90px;
    white-space: nowrap;
  }

  .schedule td .name {
    /*width: 50px;*/
    min-width: 50px;
  }

  .schedule td span {
    padding: 5px 0;
  }
}

@media (max-width: 380px) {
  table.schedule {
    font-size: 11px;
  }

  .schedule td .time {
    width: 75px;
  }

  .schedule td .name {
    padding-left: 10px;
  }
}



/* ------xxx------ */
@font-face {
  font-family: myFonts;
  src: url("font/YasashisaGothic.otf") format("opentype");
}

.message-box {
  font-family: myFonts;
  padding: 20px;
  background-color: #fffbd0;
}

/* ------xxx------ */