html {
  color: ##4d4d4d;
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, メイリオ, sans-serif;
}
body {
  border-top: 4px #c03654 solid;
  background: #fff;
  min-width: 960px;
}
.inner {
  position: relative;
  width: 960px;
  margin: 0 auto;
}
a {
  color: #8d253f;
}
a:visited {
  color: #8d253f;
}
a:hover,
a:active,
a:focus {
  color: #c03654;
}
header {
  background: #8d253f;
}
header a,
header a:visited {
  color: white;
}
header a:hover {
  color: rgb(255, 181, 198);
}
header .row1 {
  display: flex;
  align-content: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  position: relative;
}
header .row1 .caption {
  font-size: 0.75rem;
  color: white;
}
header .row1 .nav {
  display: flex;
  justify-content: flex-end;
  position: relative;
  right: 17.5rem;
}
header .row1 .nav > div {
  display: flex;
  text-align: center;
  margin-right: 1rem;
}
header .row1 .nav > div > a {
  position: relative;
  font-size: 0.75rem;
}
header .row1 .nav > div > a::after {
  content: "";
  display: inline-block;
  position: relative;
  width: 0rem;
  height: 0rem;
  left: 5px;
  border-top: 0.3rem solid transparent;
  border-bottom: 0.3rem solid transparent;
  border-left: 0.5rem solid white;
}
header .row1 .nav > div > a:hover::after {
  border-left: 0.5rem solid rgb(255, 181, 198);
}

header .row1 .action-buttons {
  display: flex;
  margin-left: auto;
  position: absolute;
  right: 0;
  top: 0;
}
header .row1 .action-buttons > div {
  cursor: pointer;
  background: rgb(75, 185, 228);
  background: linear-gradient(0deg, rgba(75, 185, 228, 1) 0%, rgba(19, 132, 208, 1) 100%);
  text-align: center;
  padding: 1rem 0;
  width: 10rem;
  margin: auto 0.25rem;
  border-radius: 0 0 0.25rem 0.25rem;
}
header .row1 .action-buttons > div:last-child {
  margin-right: 0;
  width: 7rem;
}
header .row1 .action-buttons > div:hover {
  background: linear-gradient(0deg, rgb(117, 216, 255) 0%, rgb(69, 164, 228) 100%);
  /* transition: 1s; Doesn't work */
}
header .row1 .action-buttons > div > span {
  font-size: 1rem;
  font-weight: bolder;
  color: white;
  display: block;
  position: relative;
}
header .row1 .action-buttons > div > span::after {
  content: "";
  display: inline-block;
  position: relative;
  width: 0rem;
  height: 0rem;
  top: -1px;
  left: 5px;
  border-top: 0.3rem solid transparent;
  border-bottom: 0.3rem solid transparent;
  border-left: 0.5rem solid white;
}

header .header-main {
  display: flex;
}
header .header-main img {
  height: 4rem;
}
header .header-main img:first-child {
  margin-right: 1rem;
}
header .header-main span {
  display: flex;
  align-items: flex-end;
  margin-bottom: 0.25rem;
  margin-left: auto;
  font-size: 0.75rem;
}
header .category {
  margin-top: 0.5rem;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
}
header .category > a {
  width: calc(25% - 5px);
  cursor: pointer;
  background: #c03654;
  border-color: #c03654;
  text-align: center;
  padding: 0.25rem 0;
  position: relative;
}
header .category > a:before,
header .category > a:after {
  display: block;
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  border: 0.5rem solid transparent;
}
header .category > a:before {
  bottom: 100%;
  border-bottom-color: inherit;
}
header .category > a:after {
  top: 100%;
  border-top-color: inherit;
}

header .category > a:hover,
header .category > a:focus,
header .category > a:active {
  text-decoration: inherit;
  color: inherit;
}
header .category > a:hover {
  background: #ff466e;
  border-color: #ff466e;
  transition: 0.4s;
}
header .category > a > span {
  font-size: 1rem;
  font-weight: normal;
  letter-spacing: 0.1rem;
  color: white;
  display: block;
  position: relative;
}
/*
header .category>div>span::after{
  content: '';
  display: inline-block;
  position: relative;
  width: 0rem;
  height: 0rem;
  top: -1px;
  left: 10px;
  border-top: .3rem solid transparent;
  border-bottom: .3rem solid transparent;
  border-left: .5rem solid white;
}
*/
header i {
  margin-right: 0.2rem;
}
header .navigation {
  margin-top: 0.5rem;
  display: flex;
  position: relative;
  width: 100%;
  color: #f1f1f1;
}
header .navigation > a {
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid lightgray;
  padding: 0 0.5rem;
  cursor: pointer;
  position: relative;
}
header .navigation > a:hover,
header .navigation > a:focus,
header .navigation > a:active {
  text-decoration: inherit;
  color: inherit;
}
header .navigation > a.active:after {
  display: block;
  content: "";
  border-bottom: 5px solid #ff466e;
  position: absolute;
  width: 100%;
  bottom: 0;
  transform: scaleX(1);
}
header .navigation > a:after {
  display: block;
  content: "";
  border-bottom: 5px solid #ff466e;
  transform: scaleX(0);
  transition: transform 250ms ease-in-out;
  position: absolute;
  width: 100%;
  bottom: 0;
}
header .navigation > a:hover:after {
  transform: scaleX(1);
}
header .navigation > a:last-child {
  border-right: 1px solid lightgray;
  margin-right: 1px;
}
header .navigation > a > span {
  font-weight: bold;
}
header .navigation > a.active > span,
header .navigation > a:hover > span {
  color: white;
}

.banner {
  margin: 0.5rem 0;
  height: 25rem;
  width: 100%;
  position: relative;
  z-index: 1;
}
.banner > div {
  width: 100%;
  height: 100%;
  position: absolute;
}
.banner > div.overlay-text {
  z-index: 4;
  display: flex;
  justify-content: center;
}
.banner > div.overlay-text > img {
  height: 100%;
}
.banner > div.overlay-mask {
  background: url("../image/bg_on_movie.webp") left top repeat;
  opacity: 0.95;
  z-index: 3;
}
.banner > div.image {
  background-image: url("../image/top-banner4.webp");
  background-repeat: no-repeat;
  background-position: 50% 20%;
  background-size: auto;
  overflow: hidden;
}
.banner > div.image::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("../image/top-banner4.webp");
  background-repeat: no-repeat;
  background-position: 40% 50%;
  background-size: 110%;
  -webkit-filter: blur(1rem); /* Safari */
  filter: blur(1rem) brightness(1.2) opacity(0.75);
  z-index: -1;
}
.ad {
  margin: 0.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.ad > div {
  cursor: pointer;
  position: relative;
}
.ad > div:hover > span {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgb(255, 255, 255, 0.2);
  transition: 0.2s;
}
.ad > div > img {
  width: 306px;
  border: 1px solid #c03654;
}
.border {
  margin-top: 1.5rem;
  border-top: 1px solid lightgray;
  padding-top: 1.5rem;
}
.voice {
  position: relative;
}
.voice > a {
  position: absolute;
  right: 50%;
  bottom: 1rem;
  font-size: 0.9rem;
}
.courses {
  display: flex;
  justify-content: space-between;
  align-content: center;
  margin: 0.5rem 0 3rem;
  padding: 0 5%;
}
.courses > a {
  display: flex;
  align-items: center;
  position: relative;
  margin: 0 2.5%;
  overflow: hidden;
  border: 1px solid #8d253f;
}
.courses > a > img {
  transition: 0.2s;
  transform: scale(1);
}
.courses > a > span {
  font-size: 2rem;
  font-weight: bold;
  color: white;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  letter-spacing: 0.1rem;
  background: rgba(0, 0, 0, 0.4);
}
.courses > a:hover > span {
  transition: 0.4s;
  background: rgba(0, 0, 0, 0.3);
}
.courses > a:hover > img {
  transition: 0.4s;
  transform: scale(1.05);
}

.trial {
  margin: 2rem 0;
  padding: 1.5rem 0;
  background: #f7fefe;
  border-top: 1px solid #d7d7d7;
  border-bottom: 1px solid #d7d7d7;
}
.trial p {
  margin-bottom: 1rem;
  text-align: center;
}
.trial p > span {
  color: #0169a6;
  font-size: 2.5rem;
  font-weight: bolder;
  letter-spacing: 0.2rem;
  font-family: serif;
}
.trial .row {
  display: flex;
}
.trial .row img {
  max-width: 25rem;
}
.trial .word {
  padding-left: 1rem;
  padding-top: 0.5rem;
  text-align: center;
  color: #020e47;
}
.trial .word p {
  font-size: 0.9rem;
  line-height: 1.4rem;
  font-weight: bolder;
  color: #020e47;
}
.trial .word .button {
  cursor: pointer;
  background: rgb(75, 185, 228);
  background: linear-gradient(0deg, rgba(75, 185, 228, 1) 0%, rgba(19, 132, 208, 1) 100%);
  padding: 1.5rem 1rem;
  margin: auto 0.25rem;
  border-radius: 0.25rem;
  display: inline-block;
}
.trial .word .button:hover {
  background: linear-gradient(0deg, rgb(117, 216, 255) 0%, rgb(69, 164, 228) 100%);
  /* transition: 1s; Doesn't work */
}
.trial .word .button > span {
  font-size: 1.3rem;
  font-weight: bolder;
  color: white;
  display: block;
  position: relative;
}
.trial .word .button > span::after {
  content: "";
  display: inline-block;
  position: relative;
  width: 0rem;
  height: 0rem;
  top: -3px;
  left: 7px;
  border-top: 0.3rem solid transparent;
  border-bottom: 0.3rem solid transparent;
  border-left: 0.5rem solid white;
}
.trial .tel {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
  font-weight: bold;
  font-size: 0.9rem;
}
.trial .tel .num {
  padding-left: 0.5rem;
  font-size: 2.5rem;
  font-weight: bold;
  font-family: serif;
  line-height: 1.3;
}
.trial .hour > span {
  display: block;
  font-size: 0.8rem;
  line-height: 1.4;
}
footer {
  position: relative;
  margin: 0 auto -20px auto;
  font-size: 12px;
}
footer .clearfix {
  display: block;
}
footer .clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  font-size: 0.1em;
}
footer a {
  color: white;
  text-decoration: none;
}
footer a:hover {
  color: rgb(255, 181, 198);
  text-decoration: underline;
}
footer .nav_area {
  padding: 46px 0 0 0;
  background: #8d253f;
  color: #fff;
  text-align: left;
}
footer .nav_area .inner {
  width: 960px;
  margin: 0 auto 0 auto;
  padding: 0 0 35px 0;
}
footer .nav_area .inner .nav_box {
  display: inline;
  float: left;
  width: 286px;
}
footer .nav_area .inner #ft_nav02 {
  width: 254px;
}
footer .nav_area .inner #ft_nav03 {
  width: 223px;
}
footer .nav_area .inner #ft_nav04 {
  width: 197px;
}
footer .nav_area .inner #ft_nav06 {
  width: 254px;
}
footer .nav_area .inner #ft_nav07 {
  width: 204px;
}
footer .nav_area .inner #ft_nav08 {
  width: 190px;
}
footer .nav_area h2 {
  margin: 0 0 17px 0;
  font-weight: bold;
}
footer .nav_area h2.data,
footer .nav_area h2.clientvoice,
footer .nav_area h2.former {
  margin: 17px 0 0 0;
}
footer .nav_area ul {
  padding: 0 0 0 19px;
  border-left: 1px #c03654 solid;
}
footer .nav_area .inner #ft_nav08 ul {
  border-left: none;
  font-weight: bold;
}
footer .nav_area .inner .nav_box li:first-child {
  padding: 0 0 5px 0;
}
footer .nav_area .inner .nav_box li {
  width: 197px;
  padding: 4px 0 5px 0;
}
