main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}
main .fv {
  position: relative;
  width: 100%;
  height: 512px;
  margin: 50px 0;
}
main .fv .fv-text {
  display: flex;
  position: absolute;
  z-index: 2;
  top: -1px;
  left: 23%;
  width: 273px;
  height: calc(100% + 2px);
  padding: 30px 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
  background-color: #fbf8f3;
}
@media screen and (max-width: 819px) {
  main .fv .fv-text {
    gap: 8px;
  }
}
main .fv .fv-text .fv-ballon {
  display: flex;
  width: 220px;
  height: 40px;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background-color: #faca30;
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 2px;
}
@media screen and (max-width: 819px) {
  main .fv .fv-text .fv-ballon {
    width: 180px;
    height: 34px;
    padding: 3px;
    font-size: 18px;
  }
}
main .fv .fv-text .copy :nth-child(1) {
  height: 200px;
}
@media screen and (max-width: 819px) {
  main .fv .fv-text .copy :nth-child(1) {
    display: none;
  }
}
main .fv .fv-text .copy :nth-child(2) {
  display: none;
  width: 190px;
}
@media screen and (max-width: 819px) {
  main .fv .fv-text .copy :nth-child(2) {
    display: block;
  }
}
main .fv .fv-text > .inquiry-button {
  width: 226px;
  height: 51px;
  gap: 5px;
  border-width: 2px;
  border-radius: 60px;
}
main .fv .fv-text > .inquiry-button .inquiry-icon {
  width: 22px;
  height: 22px;
}
main .fv .fv-text > .inquiry-button .label {
  color: inherit;
  font-size: inherit;
}
@media screen and (max-width: 819px) {
  main .fv .fv-text > .inquiry-button {
    display: none;
  }
}
@media screen and (max-width: 819px) {
  main .fv .fv-text {
    position: static;
    width: 100%;
    height: 250px;
  }
}
main .fv .slider a {
  position: relative;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
main .fv .slider li {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 21px;
}
main .fv .slider li > * {
  flex: 1 0 0;
  border-radius: 10px;
  overflow: hidden;
}
main .fv .slider li img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
@media (any-hover: hover) {
  main .fv .slider li a:hover .overlay {
    opacity: 1;
  }
}
main .fv .slider li .overlay {
  display: flex;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  transition: opacity 0.3s;
  opacity: 0;
}
main .fv .slider li .overlay .label {
  display: flex;
  width: 210px;
  height: 50px;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  font-size: 24px;
  background-color: white;
}
@media not (any-hover: hover) {
  main .fv .slider li .overlay .label {
    width: 100%;
    padding: 0 10px;
    flex-direction: column;
    align-items: flex-end;
    font-size: 16px;
    color: white;
    background-color: unset;
  }
}
@media not (any-hover: hover) {
  main .fv .slider li .overlay {
    top: unset;
    bottom: 0;
    height: 30px;
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 1;
  }
}
main .fv .slider li.slide1 {
  width: 465px;
}
@media screen and (max-width: 819px) {
  main .fv .slider li.slide1 {
    width: 259px;
  }
}
main .fv .slider li.slide2 {
  width: 366px;
}
@media screen and (max-width: 819px) {
  main .fv .slider li.slide2 {
    width: 204px;
  }
}
main .fv .slider li.slide3 {
  width: 288px;
}
@media screen and (max-width: 819px) {
  main .fv .slider li.slide3 {
    width: 160px;
  }
}
main .fv .slider li.slide4 {
  width: 300px;
}
@media screen and (max-width: 819px) {
  main .fv .slider li.slide4 {
    width: 167px;
  }
}
@media (any-hover: hover) {
  main .fv .slider .fv-blog .overlay {
    background-color: rgba(102, 180, 223, 0.5019607843);
  }
}
@media (any-hover: hover) {
  main .fv .slider .fv-blog .overlay .label {
    color: #5ca7ce;
  }
}
@media (any-hover: hover) {
  main .fv .slider .fv-junior-high .overlay {
    background-color: rgba(55, 80, 131, 0.5019607843);
  }
}
@media (any-hover: hover) {
  main .fv .slider .fv-junior-high .overlay .label {
    color: #213764;
  }
}
main .fv .slider .fv-elementary {
  display: block;
  width: 100%;
  height: auto;
}
@media (any-hover: hover) {
  main .fv .slider .fv-elementary .overlay {
    background-color: rgba(114, 168, 89, 0.5019607843);
  }
}
@media (any-hover: hover) {
  main .fv .slider .fv-elementary .overlay .label {
    color: #72A859;
  }
}
@media (any-hover: hover) {
  main .fv .slider .fv-course .overlay {
    background-color: rgba(222, 216, 100, 0.5019607843);
  }
}
@media (any-hover: hover) {
  main .fv .slider .fv-course .overlay .label {
    color: #f4cc25;
  }
}
main .fv .slider .fv-teachers {
  flex: 2 0 0;
}
@media (any-hover: hover) {
  main .fv .slider .fv-teachers .overlay {
    background-color: rgba(148, 196, 51, 0.5019607843);
  }
}
@media (any-hover: hover) {
  main .fv .slider .fv-teachers .overlay .label {
    color: #4a8958;
  }
}
@media (any-hover: hover) {
  main .fv .slider .fv-youtube .overlay {
    background-color: rgba(208, 62, 62, 0.5019607843);
  }
}
@media (any-hover: hover) {
  main .fv .slider .fv-youtube .overlay .label {
    color: #d72a2a;
  }
}
main .fv .slider .above-inquiry {
  flex: 3 0 0;
}
main .fv .slider .fv-inquiry {
  flex: 0.8 0 0;
  display: block;
  width: 100%;
  height: auto;
}
@media (any-hover: hover) {
  main .fv .slider .fv-inquiry .overlay {
    background-color: rgba(214, 99, 32, 0.5019607843);
  }
}
@media (any-hover: hover) {
  main .fv .slider .fv-inquiry .overlay .label {
    color: #d77b2a;
  }
}
@media screen and (max-width: 819px) {
  main .fv .slider {
    height: 285px;
  }
}
main .fv > .inquiry-button {
  display: none;
  margin: 30px 0;
}
@media screen and (max-width: 819px) {
  main .fv > .inquiry-button {
    display: flex;
  }
}
main .fv .decorations {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
main .fv .decorations img {
  position: absolute;
  width: 100px;
}
main .fv .decorations img.decoration-book {
  top: 0;
  left: 87%;
  transform: translateY(-40%);
}
@media screen and (max-width: 819px) {
  main .fv .decorations img.decoration-book {
    top: calc(250px + 285px);
    left: 0;
    transform: translateY(-56%);
  }
}
main .fv .decorations img.decoration-circle1 {
  top: 512px;
  left: 87%;
  transform: translateY(-56%);
}
@media screen and (max-width: 819px) {
  main .fv .decorations img.decoration-circle1 {
    top: calc(250px - 44px);
    left: -1px;
  }
}
main .fv .decorations img.decoration-circle2 {
  top: 0;
  left: calc(23% - 70px);
  transform: translateY(-26%);
}
@media screen and (max-width: 819px) {
  main .fv .decorations img.decoration-circle2 {
    top: 24px;
    left: 0;
  }
}
main .fv .decorations img.decoration-eraser {
  top: 0;
  left: calc(23% + 273px - 30px);
  transform: translateY(-36%);
}
@media screen and (max-width: 819px) {
  main .fv .decorations img.decoration-eraser {
    top: 30px;
    left: unset;
    right: 0;
  }
}
main .fv .decorations img.decoration-note {
  top: 512px;
  left: 5%;
  transform: translateY(-60%);
}
@media screen and (max-width: 819px) {
  main .fv .decorations img.decoration-note {
    display: none;
  }
}
main .fv .decorations img.decoration-sun {
  width: 90px;
  top: 512px;
  left: calc(23% + 273px - 40px);
  transform: translateY(-60%);
}
@media screen and (max-width: 819px) {
  main .fv .decorations img.decoration-sun {
    width: 70px;
    top: calc(250px - 44px);
    left: unset;
    right: 0;
  }
}
main .fv .decorations img.decoration-triangle1 {
  top: 512px;
  left: calc(23% - 65px);
  transform: translateY(-60%);
}
@media screen and (max-width: 819px) {
  main .fv .decorations img.decoration-triangle1 {
    top: calc(250px + 285px);
    left: auto;
    right: 0;
  }
}
main .fv .decorations img.decoration-triangle2 {
  width: 90px;
  top: 512px;
  left: 63%;
  transform: translateY(-60%);
}
@media screen and (max-width: 819px) {
  main .fv .decorations img.decoration-triangle2 {
    display: none;
  }
}
@media screen and (max-width: 819px) {
  main .fv .decorations img {
    width: 80px;
  }
}
@media screen and (max-width: 819px) {
  main .fv {
    display: flex;
    height: auto;
    margin: 0;
    flex-direction: column;
    justify-self: center;
    align-items: center;
  }
}
main .gakusya-kun {
  width: 96px;
}
@media screen and (max-width: 819px) {
  main .gakusya-kun {
    width: 80px;
  }
}
main .section {
  display: flex;
  width: calc(100% - 40px * 2);
  max-width: 1200px;
  margin: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
main .section .section-header {
  display: flex;
  width: 80%;
  margin-bottom: 20px;
  padding: 15px 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-bottom: 3px solid;
}
main .section .section-header .title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}
main .section .section-header .title .subtitle {
  font-size: 24px;
}
@media screen and (max-width: 819px) {
  main .section .section-header .title .subtitle {
    font-size: 20px;
  }
}
main .section .section-header .title .main {
  font-size: 48px;
  color: #d50d0d;
  text-align: center;
  word-break: keep-all;
}
@media screen and (max-width: 819px) {
  main .section .section-header .title .main {
    font-size: 32px;
    line-height: 1.2em;
  }
}
@media screen and (max-width: 819px) {
  main .section .section-header {
    width: 100%;
  }
}
main .section.reasons .section-header {
  margin-bottom: 40px;
}
main .section.reasons .reason {
  display: flex;
  max-width: 1000px;
  margin: 40px 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
main .section.reasons .reason .reason-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 38px;
}
main .section.reasons .reason .reason-wrapper .reason-img {
  position: relative;
  width: calc(50% - 19px);
}
main .section.reasons .reason .reason-wrapper .reason-img .main-img {
  width: 100%;
  border-radius: 19px;
}
main .section.reasons .reason .reason-wrapper .reason-img .decoration {
  position: absolute;
  width: 30%;
  max-width: 120px;
}
main .section.reasons .reason .reason-wrapper .reason-img .decoration.left-top {
  top: 0;
  left: 0;
  transform: translate(-40%, -40%);
}
main .section.reasons .reason .reason-wrapper .reason-img .decoration.left-bottom {
  left: 0;
  bottom: 0;
  transform: translate(-40%, 40%);
}
main .section.reasons .reason .reason-wrapper .reason-img .decoration.right-bottom {
  bottom: 0;
  right: 0;
  transform: translate(40%, 40%);
}
@media screen and (max-width: 819px) {
  main .section.reasons .reason .reason-wrapper .reason-img {
    width: 100%;
  }
}
main .section.reasons .reason .reason-wrapper .reason-text {
  display: flex;
  width: calc(50% - 19px);
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
}
main .section.reasons .reason .reason-wrapper .reason-text .reason-number {
  position: relative;
  line-height: 1.2em;
  font-size: 100px;
  font-weight: bold;
  font-family: "Roboto", sans-serif;
  color: #cb2d2d;
}
main .section.reasons .reason .reason-wrapper .reason-text .reason-number::before, main .section.reasons .reason .reason-wrapper .reason-text .reason-number::after {
  content: "";
  position: absolute;
  width: 70px;
  border-top: 5px solid #cb2d2d;
}
@media screen and (max-width: 819px) {
  main .section.reasons .reason .reason-wrapper .reason-text .reason-number::before, main .section.reasons .reason .reason-wrapper .reason-text .reason-number::after {
    width: 60px;
  }
}
@media screen and (max-width: 480px) {
  main .section.reasons .reason .reason-wrapper .reason-text .reason-number::before, main .section.reasons .reason .reason-wrapper .reason-text .reason-number::after {
    width: 48px;
  }
}
main .section.reasons .reason .reason-wrapper .reason-text .reason-number::before {
  left: -6px;
  transform: rotate(-30deg);
}
@media screen and (max-width: 819px) {
  main .section.reasons .reason .reason-wrapper .reason-text .reason-number::before {
    left: -9px;
  }
}
@media screen and (max-width: 480px) {
  main .section.reasons .reason .reason-wrapper .reason-text .reason-number::before {
    left: -9px;
  }
}
main .section.reasons .reason .reason-wrapper .reason-text .reason-number::after {
  right: -6px;
  transform: rotate(30deg);
}
@media screen and (max-width: 819px) {
  main .section.reasons .reason .reason-wrapper .reason-text .reason-number::after {
    right: -9px;
  }
}
@media screen and (max-width: 480px) {
  main .section.reasons .reason .reason-wrapper .reason-text .reason-number::after {
    right: -9px;
  }
}
@media screen and (max-width: 819px) {
  main .section.reasons .reason .reason-wrapper .reason-text .reason-number {
    font-size: 80px;
  }
}
@media screen and (max-width: 480px) {
  main .section.reasons .reason .reason-wrapper .reason-text .reason-number {
    font-size: 60px;
  }
}
main .section.reasons .reason .reason-wrapper .reason-text .reason-title {
  line-height: 1.4em;
  font-size: 40px;
  font-weight: bold;
  font-family: "Yuji Mai", serif;
}
@media screen and (max-width: 819px) {
  main .section.reasons .reason .reason-wrapper .reason-text .reason-title {
    font-size: 36px;
    text-align: center;
  }
}
@media screen and (max-width: 480px) {
  main .section.reasons .reason .reason-wrapper .reason-text .reason-title {
    font-size: 26px;
  }
}
@media screen and (max-width: 819px) {
  main .section.reasons .reason .reason-wrapper .reason-text {
    width: 100%;
    align-items: center;
  }
}
@media screen and (max-width: 819px) {
  main .section.reasons .reason .reason-wrapper {
    flex-direction: column;
  }
}
main .section.reasons .reason:nth-child(odd) .reason-wrapper {
  flex-direction: row-reverse;
}
@media screen and (max-width: 819px) {
  main .section.reasons .reason:nth-child(odd) .reason-wrapper {
    flex-direction: column;
  }
}
main .section.reasons .reason .ballons {
  display: flex;
  flex-direction: row;
  gap: 60px;
}
@media screen and (max-width: 819px) {
  main .section.reasons .reason .ballons {
    flex-direction: column;
  }
}
main .section.reasons .reason .ballon {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}
main .section.reasons .reason .ballon .ballon-text {
  display: flex;
  width: 300px;
  min-width: 240px;
  height: 140px;
  text-align: center;
  padding: 20px 0px 60px;
  align-items: center;
  justify-content: center;
  background-size: 100% 130px;
  font-weight: bold;
}
@media screen and (max-width: 420px) {
  main .section.reasons .reason .ballon .ballon-text {
    font-size: 15px;
  }
}
@media screen and (max-width: 400px) {
  main .section.reasons .reason .ballon .ballon-text {
    font-size: 14px;
  }
}
main .section.reasons .reason .ballon .ballon-text:nth-child(1) {
  background-image: url("../img/ballon_left.png");
  background-repeat: no-repeat;
}
main .section.reasons .reason .ballon .ballon-text:nth-child(2) {
  background-image: url("../img/ballon_right.png");
  background-repeat: no-repeat;
}
main .section.reasons .reason .ballon .ballon-img {
  width: 160px;
  height: 160px;
  align-self: flex-end;
}
@media screen and (max-width: 819px) {
  main .section.reasons .reason .ballon .ballon-img {
    width: 100px;
    height: 100px;
  }
}
main .section.records > * {
  width: 80%;
}
@media (max-width: 600px) {
  main .section.records > * {
    width: 100%;
  }
}
main .section.records .section-header .title {
  position: relative;
}
main .section.records .section-header .title img {
  position: absolute;
  top: 10px;
  right: -60%;
}
@media screen and (max-width: 819px) {
  main .section.records .section-header .title img {
    top: 0;
  }
}
main .section.records .records-table-title {
  margin: 25px 0 15px;
  font-size: 38px;
  font-weight: bold;
  text-align: center;
}
@media screen and (max-width: 819px) {
  main .section.records .records-table-title {
    margin: 28px 0 12px;
    font-size: 28px;
  }
}
@media screen and (max-width: 480px) {
  main .section.records .records-table-title {
    margin: 12px 0;
  }
}
main .section.records .records-table {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
main .section.records .records-table .records-row {
  display: flex;
  width: 100%;
  max-width: 800px;
  flex-direction: row;
  gap: 20px;
}
main .section.records .records-table .records-row .records-cell {
  display: flex;
  width: 50%;
  height: 100px;
  padding: 20px;
  justify-content: center;
  align-items: center;
  flex-basis: 50%;
  box-sizing: border-box;
  border: 2px solid black;
  text-align: center;
  background-color: white;
  font-size: 28px;
  font-weight: bold;
  word-break: keep-all;
}
@media screen and (max-width: 819px) {
  main .section.records .records-table .records-row .records-cell {
    height: 80px;
    font-size: 22px;
  }
}
@media screen and (max-width: 480px) {
  main .section.records .records-table .records-row .records-cell {
    padding: 12px;
    font-size: 18px;
    line-height: 1.2em;
  }
}
@media screen and (max-width: 819px) {
  main .section.records .records-table .records-row {
    gap: 16px;
  }
}
@media screen and (max-width: 819px) {
  main .section.records .records-table {
    gap: 16px;
  }
}
@media screen and (max-width: 600px) {
  main .section.records .records-table {
    width: 100%;
  }
}
@media screen and (max-width: 819px) {
  main .section {
    width: calc(100% - 26px * 2);
    margin: 26px;
  }
}
main .comment {
  display: flex;
  position: relative;
  width: calc(100% - 40px * 2);
  max-width: 1000px;
  margin: 100px 40px;
  justify-content: center;
  align-items: center;
}
main .comment > .background {
  position: absolute;
  z-index: 0;
  width: 95%;
  height: 100%;
  border-radius: 10px;
  background-color: #dfdfdf;
  rotate: 3deg;
}
main .comment .comment-wrapper {
  display: flex;
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 50px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 50px;
  border-radius: 10px;
  background-image: url("../img/grid.png");
  background-origin: content-box;
}
main .comment .comment-wrapper .comment-img {
  display: flex;
  position: relative;
  max-width: 270px;
  justify-content: center;
  align-items: center;
}
main .comment .comment-wrapper .comment-img > .background {
  position: absolute;
  z-index: 0;
  width: 95%;
  height: 95%;
  background-color: #dfdfdf;
  rotate: 8deg;
}
main .comment .comment-wrapper .comment-img > img {
  position: relative;
  z-index: 1;
}
main .comment .comment-wrapper .comment-img .decoration {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 40%;
  transform: translate(-20%, -30%);
}
@media screen and (max-width: 480px) {
  main .comment .comment-wrapper .comment-img {
    max-width: 200px;
  }
}
main .comment .comment-wrapper .comment-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
main .comment .comment-wrapper .comment-text .comment-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
main .comment .comment-wrapper .comment-text .comment-title .comment-title-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-weight: bold;
}
@media screen and (max-width: 819px) {
  main .comment .comment-wrapper .comment-text .comment-title .comment-title-wrapper > img {
    max-width: 30px;
  }
}
@media screen and (max-width: 480px) {
  main .comment .comment-wrapper .comment-text .comment-title .comment-title-wrapper > img {
    max-width: 26px;
  }
}
main .comment .comment-wrapper .comment-text .comment-title .comment-title-wrapper .comment-name {
  font-size: 28px;
}
@media screen and (max-width: 819px) {
  main .comment .comment-wrapper .comment-text .comment-title .comment-title-wrapper .comment-name {
    font-size: 26px;
  }
}
@media screen and (max-width: 480px) {
  main .comment .comment-wrapper .comment-text .comment-title .comment-title-wrapper .comment-name {
    font-size: 20px;
  }
}
main .comment .comment-wrapper .comment-text .comment-title .comment-title-wrapper .comment-school {
  font-size: 22px;
}
@media screen and (max-width: 819px) {
  main .comment .comment-wrapper .comment-text .comment-title .comment-title-wrapper .comment-school {
    display: none;
  }
}
main .comment .comment-wrapper .comment-text .comment-title .comment-school-sp {
  display: none;
}
@media screen and (max-width: 819px) {
  main .comment .comment-wrapper .comment-text .comment-title .comment-school-sp {
    display: block;
    font-size: 18px;
    font-weight: bold;
  }
}
@media screen and (max-width: 480px) {
  main .comment .comment-wrapper .comment-text .comment-title .comment-school-sp {
    font-size: 16px;
  }
}
@media screen and (max-width: 819px) {
  main .comment .comment-wrapper .comment-text .comment-title {
    flex-direction: column;
  }
}
main .comment .comment-wrapper .comment-text .comment-message {
  display: flex;
  width: 550px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.15);
}
main .comment .comment-wrapper .comment-text .comment-message :nth-child(1) {
  height: 200px;
  display: block;
}
@media screen and (max-width: 819px) {
  main .comment .comment-wrapper .comment-text .comment-message :nth-child(1) {
    display: none;
  }
}
main .comment .comment-wrapper .comment-text .comment-message :nth-child(2) {
  display: none;
}
@media screen and (max-width: 819px) {
  main .comment .comment-wrapper .comment-text .comment-message :nth-child(2) {
    display: block;
  }
}
@media screen and (max-width: 819px) {
  main .comment .comment-wrapper .comment-text .comment-message {
    width: 100%;
  }
}
main .comment .comment-wrapper .comment-text .comment-link {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-size: 18px;
  color: inherit;
  text-decoration: underline;
}
main .comment .comment-wrapper .comment-text .comment-link img {
  width: 20px;
}
@media screen and (max-width: 480px) {
  main .comment .comment-wrapper .comment-text .comment-link {
    font-size: 14px;
  }
}
@media (any-hover: hover) {
  main .comment .comment-wrapper .comment-text .comment-link:hover {
    color: #d50d0d;
  }
}
@media screen and (max-width: 1000px) {
  main .comment .comment-wrapper {
    flex-direction: column;
    gap: 20px;
  }
}
@media screen and (max-width: 480px) {
  main .comment .comment-wrapper {
    padding: 40px 20px;
  }
}
@media screen and (max-width: 819px) {
  main .comment {
    margin: 40px 40px;
  }
}
main .banner {
  width: calc(100% - 40px * 2);
  max-width: 1000px;
  margin: 0 40px;
}
@media screen and (max-width: 819px) {
  main .banner {
    width: calc(100% - 26px * 2);
    margin: 0 26px;
  }
}
main .inquiry {
  display: flex;
  width: 100%;
  height: 900px;
  margin: 40px 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  background-image: url("../img/grid.png");
}
main .inquiry .ema {
  display: flex;
  position: relative;
  width: 80%;
  max-width: 980px;
  height: 600px;
  padding: 40px;
  padding-top: 100px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  background-position: center;
  background-image: url("../img/ema.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
main .inquiry .ema .ema-title {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-weight: bold;
}
main .inquiry .ema .ema-title .ema-title-main {
  font-size: 36px;
  letter-spacing: 5px;
}
@media screen and (max-width: 819px) {
  main .inquiry .ema .ema-title .ema-title-main {
    font-size: 26px;
  }
}
main .inquiry .ema .ema-title .ema-title-sub {
  font-size: 20px;
  color: #d50d0d;
  letter-spacing: 3px;
}
@media screen and (max-width: 819px) {
  main .inquiry .ema .ema-title .ema-title-sub {
    font-size: 16px;
  }
}
main .inquiry .ema .ema-title .gakusya-kun {
  position: absolute;
  top: -10px;
  right: -45%;
}
main .inquiry .ema .ema-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  text-align: center;
  word-break: keep-all;
}
@media screen and (max-width: 819px) {
  main .inquiry .ema .ema-body {
    font-size: 16px;
    text-align: unset;
    word-break: unset;
  }
}
main .inquiry .ema .ema-message {
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  word-break: keep-all;
}
main .inquiry .ema .ema-message > span {
  background: linear-gradient(transparent 70%, #ffdd1f 0%);
}
@media screen and (max-width: 819px) {
  main .inquiry .ema .ema-message {
    font-size: 24px;
  }
}
@media screen and (max-width: 480px) {
  main .inquiry .ema .ema-message {
    font-size: 24px;
  }
}
main .inquiry .ema .ema-buttons {
  display: flex;
  width: 100%;
  margin-top: 40px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
main .inquiry .ema .ema-buttons .button {
  max-width: 50%;
}
@media screen and (max-width: 819px) {
  main .inquiry .ema .ema-buttons .button {
    max-width: 100%;
  }
}
@media screen and (max-width: 819px) {
  main .inquiry .ema .ema-buttons {
    margin-top: 10px;
    flex-direction: column;
    gap: 10px;
  }
}
main .inquiry .ema .decoration {
  position: absolute;
  top: 55%;
  width: 100px;
}
main .inquiry .ema .decoration.left {
  left: 0;
  transform: translateX(-40%);
}
@media screen and (max-width: 819px) {
  main .inquiry .ema .decoration.left {
    display: none;
  }
}
main .inquiry .ema .decoration.right {
  right: 0;
  transform: translateX(40%);
}
@media screen and (max-width: 819px) {
  main .inquiry .ema .decoration.right {
    top: unset;
    bottom: -30px;
    transform: translateX(10%);
  }
}
@media screen and (max-width: 1230px) {
  main .inquiry .ema {
    width: 740px;
    background-image: url("../img/ema-pc02.png");
  }
}
@media screen and (max-width: 819px) {
  main .inquiry .ema {
    width: 80%;
    background-image: url("../img/ema-pc02.png");
  }
}
@media screen and (max-width: 650px) {
  main .inquiry .ema {
    width: 364px;
    padding-top: 100px;
    gap: 20px;
    background-image: url("../img/ema-sp.png");
  }
}
main .inquiry .tel {
  display: flex;
  width: 500px;
  height: 120px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px solid white;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.15);
  background-color: #1b56ad;
  color: white;
  text-decoration: none;
}
main .inquiry .tel .tel-title {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-size: 20px;
}
@media screen and (max-width: 819px) {
  main .inquiry .tel .tel-title {
    font-size: 13px;
  }
}
main .inquiry .tel .tel-body {
  font-size: 40px;
  font-weight: bold;
}
@media screen and (max-width: 819px) {
  main .inquiry .tel .tel-body {
    font-size: 26px;
  }
}
@media screen and (max-width: 819px) {
  main .inquiry .tel {
    width: 300px;
    height: 80px;
  }
}/*# sourceMappingURL=index.css.map */