@charset "UTF-8";
html {
  font-size: 62.5%;
}

@font-face {
  font-family: "icomoon";
  src: url("fonts/icomoon.eot?88u6sr");
  src: url("fonts/icomoon.eot?88u6sr#iefix") format("embedded-opentype"), url("fonts/icomoon.ttf?88u6sr") format("truetype"), url("fonts/icomoon.woff?88u6sr") format("woff"), url("fonts/icomoon.svg?88u6sr#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "icomoon2";
  src: url("fonts2/icomoon.eot?88u6sr");
  src: url("fonts2/icomoon.eot?88u6sr#iefix") format("embedded-opentype"), url("fonts2/icomoon.ttf?88u6sr") format("truetype"), url("fonts2/icomoon.woff?88u6sr") format("woff"), url("fonts2/icomoon.svg?88u6sr#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}
@keyframes translate {
  0% {
    transform: translate(0px, 110px);
  }
  100% {
    transform: translate(0px, 0px);
  }
}
@-webkit-keyframes translate {
  0% {
    -webkit-transform: translate(0px, 110px);
  }
  100% {
    -webkit-transform: translate(0px, 0px);
  }
}
@keyframes rumble {
  0% {
    transform: rotate(0deg) translate(0, 0);
  }
  12.5% {
    transform: rotate(0.4deg) translate(1px, -1px);
  }
  25% {
    transform: rotate(0.8deg) translate(0px, 1px);
  }
  37.5% {
    transform: rotate(0.4deg) translate(-1px, 0);
  }
  50% {
    transform: rotate(0deg) translate(0, 0);
  }
  62.5% {
    transform: rotate(-0.4deg) translate(1px, 0);
  }
  75% {
    transform: rotate(-0.8deg) translate(0, 1px);
  }
  87.5% {
    transform: rotate(-0.4deg) translate(-1px, -1px);
  }
  100% {
    transform: rotate(0deg) translate(0, 0);
  }
}
.legacy-block,
.legacy-block th, .legacy-block td, .legacy-block li, .legacy-block dt, .legacy-block dd, .legacy-block input, .legacy-block select, .legacy-block p, .legacy-block div, .legacy-block span, .legacy-block textarea,
.legacy-block h1, .legacy-block h2, .legacy-block h3, .legacy-block h4, .legacy-block h5, .legacy-block h6 {
  /* font-family: "メイリオ", Meiryo, sans-serif, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN"; */
  color: #333;
  font-size: 16px;
  font-size: 1rem;
}
.legacy-block {
    padding-bottom: 32px;
    padding-bottom: 5rem;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}
.legacy-block p {
  line-height: 200%;
}
.legacy-block a {
  color: #0676ba;
  outline: none;
  text-decoration: none;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}
.legacy-block a:hover, .legacy-block a:active {
  /* color: #ba06b4; */
}
.legacy-block img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.legacy-block .noto {
  font-family: "Noto Sans JP", sans-serif;
}
.legacy-block .roboto {
  font-family: "Roboto Condensed", sans-serif;
}
.legacy-block [class^=icon-],
.legacy-block [class*=" icon-"] {
  font-family: "icomoon" !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.legacy-block .icon-uniE900:before {
  content: "\e900";
  color: #4b4b4b;
}
.legacy-block .icon-close:before,
.legacy-block .icon-remove:before,
.legacy-block .icon-times:before {
  content: "\f00d";
}
.legacy-block .icon-pencil:before {
  content: "\f040";
}
.legacy-block .icon-question-circle:before {
  content: "\f059";
}
.legacy-block .icon-caret-right:before {
  content: "\f0da";
}
.legacy-block .icon-envelope:before {
  content: "\f0e0";
}
.legacy-block .icon-file-text-o:before {
  content: "\f0f6";
}
.legacy-block .icon-angle-right:before {
  content: "\f105";
}
.legacy-block .icon-angle-up:before {
  content: "\f106";
}
.legacy-block .red {
  color: #d10000;
  font-weight: normal;
}
.legacy-block .large {
  color: #000;
  font-size: 115%;
}
.legacy-block .black {
  font-size: 110%;
}
.legacy-block .small {
  font-size: 65%;
}
.legacy-block .hidden {
  display: none;
  height: 1px;
}
.legacy-block .clearfix {
  min-height: 1px;
}
.legacy-block .clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
.legacy-block * html .clearfix {
  height: 1px;
  height: auto;
  overflow: hidden;
}
.legacy-block .clear {
  clear: both;
  height: 10px;
}
.legacy-block .text-center {
  text-align: center;
}
.legacy-block .center-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.legacy-block .flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}
.legacy-block .flex-wrap {
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.legacy-block .flex-middle {
  -webkit-align-items: center;
  align-items: center;
}
.legacy-block .flex-center {
  -webkit-justify-content: center;
  justify-content: center;
}
.legacy-block .flex-between {
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
.legacy-block .flex-column {
  -webkit-flex-direction: column;
  flex-direction: column;
}
.legacy-block .flex.flex-sep-1 > *, .legacy-block .flex.flex-1 > * {
  width: 33.3%;
}
.legacy-block .flex.flex-sep-2 > * {
  width: 50%;
  width: 50%;
}
.legacy-block .flex.flex-sep-3 > * {
  width: 33.3333%;
  width: 33.3333333333%;
}
.legacy-block .flex.flex-sep-4 > * {
  width: 25%;
  width: 25%;
}
@media screen and (max-width: 959px) {
  .legacy-block .flex-sp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
  }
  .legacy-block .flex-sp-column {
    -webkit-flex-direction: column;
    flex-direction: column;
  }
  .legacy-block .flex.flex-sp-sep-2 > * {
    width: 50%;
    width: 50%;
  }
  .legacy-block .flex.flex-sp-sep-3 > * {
    width: 33.33333%;
    width: 33.3333333333%;
  }
  .legacy-block .flex.flex-sp-sep-4 > * {
    width: 25%;
    width: 25%;
  }
  .legacy-block .flex.flex-spacer > * {
    padding: 4px;
  }
}
@media screen and (min-width: 960px) {
  .legacy-block .flex-pc {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
  }
  .legacy-block .flex-pc.flex-sep-2 > *,
  .legacy-block .flex-pc.flex-pc-sep-2 > *,
  .legacy-block .flex.flex-pc-sep-2 > * {
    width: 50%;
    width: 50%;
  }
  .legacy-block .flex-pc.flex-sep-3 > *,
  .legacy-block .flex-pc.flex-pc-sep-3 > *,
  .legacy-block .flex.flex-pc-sep-3 > * {
    width: 33.33333%;
    width: 33.3333333333%;
  }
  .legacy-block .flex-pc.flex-sep-4 > *,
  .legacy-block .flex-pc.flex-pc-sep-4 > *,
  .legacy-block .flex.flex-pc-sep-4 > * {
    width: 25%;
    width: 25%;
  }
  .legacy-block .flex-pc.flex-sep-5 > *,
  .legacy-block .flex-pc.flex-pc-sep-5 > *,
  .legacy-block .flex.flex-pc-sep-5 > * {
    width: 20%;
    width: 20%;
  }
  .legacy-block .flex-pc.flex-sep-6 > *,
  .legacy-block .flex-pc.flex-pc-sep-6 > *,
  .legacy-block .flex.flex-pc-sep-6 > * {
    width: 16.6666%;
    width: 16.6666666667%;
  }
  .legacy-block .flex.flex-spacer > *,
  .legacy-block .flex-pc.flex-spacer > * {
    padding: 8px;
  }
  .legacy-block .flex-sep-2.flex-spacer > *:nth-child(odd) {
    margin-left: -8px;
  }
  .legacy-block .flex-sep-2.flex-spacer > *:nth-child(even) {
    margin-right: -8px;
  }
  .legacy-block .flex-sep-3.flex-spacer > *:nth-child(3n+1) {
    margin-left: -8px;
  }
  .legacy-block .flex-sep-3.flex-spacer > *:nth-child(3n+3) {
    margin-right: -8px;
  }
  .legacy-block .flex-sep-4.flex-spacer > *:nth-child(4n+1) {
    margin-left: -8px;
  }
  .legacy-block .flex-sep-4.flex-spacer > *:nth-child(4n+4) {
    margin-right: -8px;
  }
  .legacy-block .flex-sep-6.flex-spacer > *:nth-child(6n+1) {
    margin-left: -8px;
  }
  .legacy-block .flex-sep-6.flex-spacer > *:nth-child(6n+6) {
    margin-right: -8px;
  }
}

@media screen and (max-width: 767px) {
.legacy-block .flex.flex-sep-1 > *, .legacy-block .flex.flex-1 > * {
    width: 100%;
    word-break: break-all;
    word-wrap: break-word;
}
}
@media screen and (max-width: 439px) {
  .legacy-block .pc-s-only {
    display: none;
  }
}
@media screen and (min-width: 440px) and (max-width: 959px) {
  .legacy-block .sp-s-only {
    display: none;
  }
  .legacy-block .wrapper-s-pconly {
    margin: 0 3%;
  }
}
@media screen and (max-width: 959px) {
  .legacy-block .wrapper {
    margin: 0 3%;
  }
  .legacy-block #mainframe {
    padding-top: 20px;
  }
  .legacy-block .pconly {
    display: none !important;
  }
  .legacy-block .sp-break {
    display: block;
  }
}
@media screen and (max-width: 767px) {
  .legacy-block .tablewrapper {
    display: flex;
    justify-content: center;
  }
}
@media screen and (min-width: 960px) {
  .legacy-block .wrapper,
  .legacy-block .wrapper-s-pconly,
  .legacy-block .wrapper-pc {
    width: 960px;
    margin: 0 auto;
  }
  .legacy-block .container-full {
    width: 100%;
    min-width: 960px;
    margin: 0 auto;
  }
  .legacy-block .tablewrapper {
    display: table;
  }
  .legacy-block #mainframe-left {
    display: table-cell;
    width: 680px;
    vertical-align: top;
    padding: 30px 0;
  }
  .legacy-block .mainframe-inner {
    width: 650px;
    margin-right: 30px;
  }
  .legacy-block #mainframe-right {
    display: table-cell;
    width: 280px;
    vertical-align: top;
    position: relative;
    z-index: 3;
  }
  .legacy-block #mainframe {
    padding-top: 250px;
    min-height: 800px;
  }
  .legacy-block #mainframe.singlelayout {
    padding-top: 280px;
  }
  .legacy-block .sponly {
    display: none !important;
  }
  .legacy-block .sp-s-only {
    display: none;
  }
  .legacy-block .text-center-pc {
    text-align: center;
  }
}
.legacy-block #mainvisual {
  width: 100%;
  z-index: 2;
  top: 0;
  overflow: hidden;
  border-bottom: 1px solid #7a9d0d;
  background: rgb(137, 179, 6);
  background: -moz-linear-gradient(top, rgb(137, 179, 6) 0%, rgb(159, 203, 7) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgb(137, 179, 6)), color-stop(100%, rgb(159, 203, 7)));
  background: -webkit-linear-gradient(top, rgb(137, 179, 6) 0%, rgb(159, 203, 7) 100%);
  background: -o-linear-gradient(top, rgb(137, 179, 6) 0%, rgb(159, 203, 7) 100%);
  background: -ms-linear-gradient(top, rgb(137, 179, 6) 0%, rgb(159, 203, 7) 100%);
  background: linear-gradient(to bottom, rgb(137, 179, 6) 0%, rgb(159, 203, 7) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#008e5c', endColorstr='#9fcb07', GradientType=0);
}
@media screen and (max-width: 959px) {
  .legacy-block #mainvisual {
    position: relative;
    height: 160px;
    z-index: 2;
  }
}
@media screen and (min-width: 960px) {
  .legacy-block #mainvisual {
    position: absolute;
    height: 250px;
    z-index: 2;
  }
}
.legacy-block #mainvisual .maintitle {
  color: #ffffff;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(91, 112, 31, 0.5);
  position: relative;
  z-index: 99;
}
@media screen and (max-width: 639px) {
  .legacy-block #mainvisual .wrapper {
    height: 160px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
  }
  .legacy-block #mainvisual .maintitle {
    font-size: 8vw;
    text-align: center;
  }
}
@media screen and (min-width: 640px) {
  .legacy-block #mainvisual .maintitle {
    margin-top: 168px;
    font-size: 50px;
  }
}
.legacy-block .singlelayout {
  padding-top: 50px;
}
@media screen and (min-width: 959px) {
  .legacy-block #header {
    position: relative;
    z-index: 98;
  }
}
@media screen and (min-width: 960px) {
  .legacy-block #header {
    position: absolute;
    z-index: 98;
  }
}
/* .legacy-block #header-logo {
  background-image: url(../img/logomark.png);
  background-repeat: no-repeat;
} */
.legacy-block #header-tel-frame {
  background-color: #ffd100;
  box-shadow: rgba(0, 0, 0, 0.2) 0 0 2px 1px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 0 2px 1px;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 2px 1px;
}
.legacy-block #header-tel-frame:hover {
  background-color: #ff8a00;
  transition: all 0.5s;
}
.legacy-block #header-tel-frame p {
  color: #ffffff;
  background-color: #000000;
  font-weight: bold;
  line-height: 100%;
  padding: 5px;
  text-align: center;
  border-radius: 3px 3px 0 0;
}
.legacy-block .freedial {
  color: #000000;
  padding-left: 8px;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 900;
}
.legacy-block .freedial:before {
  font-family: "icomoon";
  content: "\e900";
  position: relative;
  font-weight: 400;
  padding-right: 10px;
}
.legacy-block .freedial:hover {
  color: #000000;
}
@media screen and (max-width: 639px) {
  .legacy-block .freedial {
    font-size: 7vw;
  }
  .legacy-block #header-blog-sp,
  .legacy-block #header-email-sp {
    font-size: 2.5vw;
  }
  .legacy-block #header-blog-sp:before,
  .legacy-block #header-email-sp:before {
    font-size: 3.5vw;
  }
}
@media screen and (min-width: 640px) and (max-width: 959px) {
  .legacy-block .freedial {
    font-size: 30px;
  }
  .legacy-block #header-tel-frame .freedial {
    width: 50vw;
  }
  .legacy-block #header-tel-frame .sponly {
    width: 25vw;
  }
  .legacy-block #header-blog-sp,
  .legacy-block #header-email-sp {
    font-size: 16px;
  }
  .legacy-block #header-blog-sp:before,
  .legacy-block #header-email-sp:before {
    font-size: 18px;
  }
}
@media screen and (max-width: 959px) {
  .legacy-block #header {
    width: 100%;
  }
  .legacy-block #header-logo {
    background-color: #ffffff;
    height: 60px;
    padding-left: 60px;
    background-size: auto 80%;
    background-position: 8px center;
  }
  .legacy-block #header-logo img {
    display: block;
    max-width: 70%;
    height: auto;
  }
  .legacy-block #spenit {
    font-size: 11px;
    padding-top: 4px;
    padding-right: 48px;
  }
  .legacy-block #header-tel {
    width: 100%;
    height: 58px;
    position: relative;
  }
  .legacy-block #header-tel-frame {
    position: relative;
  }
  .legacy-block #header-blog-sp,
  .legacy-block #header-email-sp {
    width: 18vw;
    height: 100%;
    padding: 8px 4px;
    white-space: nowrap;
    border-left: 1px solid #000;
    text-align: center;
    color: #000000;
  }
  .legacy-block #header-email-sp:before {
    line-height: 120%;
    padding-right: 4px;
  }
  .legacy-block #header-blog-sp:before {
    font-family: "icomoon";
    content: "\f040";
    line-height: 150%;
    padding-right: 4px;
  }
}
@media screen and (min-width: 960px) {
  .legacy-block #header {
    height: 90px;
  }
  .legacy-block #header-logo {
    width: 560px;
    height: 90px;
    padding-left: 70px;
    display: table-cell;
    vertical-align: middle;
    background-position: left center;
  }
  .legacy-block #spenit {
    display: block;
    color: #ffffff;
    font-size: 1.4rem;
    padding-bottom: 3px;
  }
  .legacy-block #header-tel {
    width: 400px;
    height: 90px;
    display: table-cell;
    vertical-align: middle;
  }
  .legacy-block #header-tel-frame {
    float: left;
    width: 320px;
    height: 70px;
    margin-right: 10px;
    border-radius: 3px;
  }
  .legacy-block .freedial {
    height: 46px;
    font-size: 30px;
    width: 100%;
    text-align: center;
  }
  .legacy-block #header-email-frame {
    position: relative;
    text-align: center;
    width: 70px;
    height: 70px;
    color: #000000;
    background-color: #f5f5ee;
    line-height: 150%;
    border-radius: 3px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 2px 1px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 0 2px 1px;
    -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 0 2px 1px;
  }
  .legacy-block #header-email-frame:hover {
    background-color: #ffffff;
    transition: all 0.5s;
  }
  .legacy-block #header-email-frame:before {
    font-size: 20px;
  }
}
.legacy-block #header-email-frame:before,
.legacy-block #header-email-sp:before {
  font-family: "icomoon";
  content: "\f0e0";
  display: block;
}
.legacy-block .top-twitter iframe {
  height: 400px !important;
}
.legacy-block #menu-frame {
  width: 100%;
  height: 50px;
  position: absolute;
  top: 90px;
  z-index: 100;
}
.legacy-block #menu li a {
  display: table-cell;
  color: #ffffff;
  text-align: center;
  vertical-align: middle;
  font-size: 14px;
}
.legacy-block #menu li a:hover {
  background-color: #000000;
}
@media screen and (min-width: 960px) {
  .legacy-block #menu-frame {
    min-width: 960px;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.6);
  }
  .legacy-block #toggle {
    display: none;
  }
  .legacy-block #menu li {
    float: left;
    width: 160px;
    display: table;
  }
  .legacy-block #menu li a {
    width: 160px;
    height: 50px;
  }
  .legacy-block .menu-blog {
    display: none !important;
  }
}
.legacy-block .drawr-body-on {
  position: relative;
  z-index: 99;
}
.legacy-block .drawr-body-on:after {
  content: "";
  position: fixed;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  top: 0;
  left: 0;
  z-index: 99;
}
.legacy-block .drawr-btn {
  display: block;
  width: 56px;
  height: 56px;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.8);
}
.legacy-block .drawr-btn span {
  border-bottom: 2px solid #000000;
  width: 24px;
  height: 23px;
  position: absolute;
  top: 7px;
  right: 12px;
  display: block;
  transition: all 0.4s ease;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  z-index: 99999;
}
.legacy-block .drawr-btn span:before, .legacy-block .drawr-btn span:after {
  content: "";
  display: inline-block;
  border-top: 2px solid #000000;
  width: 24px;
  position: absolute;
  left: 50%;
  margin-left: -12px;
  transition: all 0.4s ease;
}
.legacy-block .drawr-btn span:before {
  top: 6px;
}
.legacy-block .drawr-btn span:after {
  top: 14px;
}
.legacy-block .drawr-body-on .drawr-btn {
  background-color: transparent;
}
.legacy-block .drawr-btn-under {
  display: block;
  width: 64px;
  height: 14px;
  font-size: 12px;
  text-align: right;
  position: absolute;
  top: 40px;
  right: 2px;
  z-index: 9999;
}
.legacy-block .drawr-btn-peke span {
  border-bottom: none;
}
.legacy-block .drawr-btn-peke span:before {
  border-top: 3px solid #000000;
  transform: rotate(-45deg);
  top: 14px;
}
.legacy-block .drawr-btn-peke span:after {
  border-top: 3px solid #000000;
  transform: rotate(45deg);
  top: 14px;
}
.legacy-block .drawr {
  display: none;
  background-color: #ffd100;
  position: fixed;
  top: 0;
  right: 0;
  width: 320px !important;
  height: 100% !important;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1100;
  border-radius: 0 0 0 5px;
}
.legacy-block .drawer-menu {
  width: 320px;
  padding-top: 44px;
  margin-left: auto;
  margin-right: auto;
}
.legacy-block .drawer-menu li {
  padding-left: 16px;
}
.legacy-block .drawer-menu li:hover {
  background: #ff9900;
}
.legacy-block .drawer-menu li a {
  display: block;
  color: #000000;
  width: 320px;
  padding: 12px 8px;
}
.legacy-block #footer {
  background-color: #111111;
}
.legacy-block #footer li a {
  color: #ffffff;
  display: block;
  padding: 8px 8px 8px 25px;
  background-image: url(../img/common/allow-footer.png);
  background-repeat: no-repeat;
  background-position: 8px center;
  border-bottom: 1px solid #444444;
}
.legacy-block #footer li a:hover {
  background-color: #333333;
}
.legacy-block #footer .footer-leadlink {
  background-color: #3b4f00;
  border-bottom-style: none;
}
.legacy-block #credit {
  background-color: #000000;
  color: #ffffff;
}
.legacy-block #credit div {
  color: #ffffff;
}
@media screen and (max-width: 959px) {
  .legacy-block #footer {
    padding: 0;
  }
  .legacy-block #credit {
    padding: 8px 0 54px 0;
  }
}
@media screen and (min-width: 960px) {
  .legacy-block #footer {
    padding: 24px 0;
  }
  .legacy-block #footer ul {
    width: 240px;
    display: table-cell;
  }
  .legacy-block #footer li {
    padding-right: 20px;
    font-size: 14px;
  }
  .legacy-block #credit {
    padding: 8px 0;
  }
}
.legacy-block .pagebackswitch {
  position: fixed;
  z-index: 1001;
  text-align: center;
  bottom: 50px;
  right: 8px;
  width: 85px;
  height: 70px;
  font-size: small;
  -webkit-transition: all 0.2s ease-out;
  transition: background-color 0.4s ease-out;
  -moz-animation: translate 0.4s;
  -webkit-animation: translate 0.4s;
  animation: translate 0.4s;
  overflow: hidden;
}
.legacy-block .pagebackswitch a {
  display: block;
}
.legacy-block .big-title {
  margin-top: 60px;
  margin-top: 3.75rem;
  margin-bottom: 40px;
  margin-bottom: 1.875rem;
  padding-bottom: 10px;
  padding-bottom: 0.625rem;
  color: #0f172a;
  font-size: 37px;
  font-size: 2.125rem;
  letter-spacing: .05em;
  line-height: 1.6;
  position: relative;
  background: url(../img/common/logo-icon.svg) no-repeat left top  / 3.125rem auto;
  padding: 0 0 0 4.275rem;
}
.legacy-block > .big-title:first-child{
  margin-top: 0;
}

.wp-block-group.has-background .wp-block-group__inner-container > .big-title:first-child {
    margin-top: 0;
}
@media screen and (max-width: 959px) {
  .legacy-block .big-title {
    font-size: 1.675rem;
    padding: 0.475rem 0 0.475rem 3rem;
    background-size: 2.2rem;
    background-position: left top 0.6rem;
    margin: 2.5rem auto 1.25rem;
  }
}
@media screen and (min-width: 960px) {
  .legacy-block .big-title {
    /* font-size: 22px; */
  }
}
.legacy-block .big-title-a:before,
.legacy-block .big-title-b:before,
.legacy-block .big-title-c:before,
.legacy-block .big-title-d:before {
  content: " ";
  display: inline-block;
  width: 39px;
  height: 41px;
  position: absolute;
  top: -6px;
  left: 9px;
  background-repeat: no-repeat;
}
.legacy-block .big-title-a:before {
}
.legacy-block .big-title-b:before {
  /* background-image: url(../img/common/logo-small2.png); */
}
.legacy-block .big-title-c:before {
  background-image: url(../img/common/logo-small3.png);
}
/* .legacy-block .big-title-d:before {
  background-image: url(../img/common/logo-small4.png);
} */
.legacy-block .middle-title {
  font-size: 142%;
  margin-top: 30px;
  margin-bottom: 30px;
  padding-bottom: 8px;
  border-bottom: 2px solid #000000;
  position: relative;
}
.legacy-block .middle-title:before {
  content: " ";
  display: inline-block;
  background-color: #008e5c;
  width: 120px;
  height: 2px;
  overflow: hidden;
  position: absolute;
  bottom: -2px;
  left: 0;
}
.legacy-block .normallist li {
  /* background: url(../img/common/allow-check.png) no-repeat left top;
  padding-left: 25px;
  margin: 16px 0; */
  padding-left: 24px;
  margin: 16px 0;
  position: relative;
}
.legacy-block .normallist li::before{
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: #008e5c;
  left: 0;
  top: 6px;
  border-radius: 50%;
}
.legacy-block .case-cel {
  background-color: #ffffff;
  padding: 28px 32px 32px;
  margin-top: 16px;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
  border-radius: 16px;
}

.legacy-block .case-title {
  font-weight: bold;
  margin-bottom: 16px;
  color: #008e5c;
  font-size: 20px;
}
.legacy-block .case-data {
  display: table;
  width: 100%;
}
.legacy-block .case-pic {
  display: table-cell;
  width: 165px;
  height: 150px;
  vertical-align: top;
}
.legacy-block .case-text {
  display: table-cell;
}
.legacy-block .case-text .tablewrapper {
  width: auto;
}
@media screen and (max-width: 767px) {
.legacy-block .case-data{
  display:block;
}
.legacy-block .case-cel {
  padding: 1rem;
}
  .legacy-block .case-pic {
    display: block;
    width: 100%;
    height: 150px;
    text-align: center;
    vertical-align: top;
  }
  .legacy-block .case-pic img {
    display: block;
    width: 150px;
    margin: 0 auto;
  }
  .legacy-block .case-text {
    display: block;
    margin-top: 15px;
  }
  .legacy-block .case-text span{
    display: block;
    width: auto;
    color: #008e5c;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    padding: 8px 24px;
    background: #edf5f1;
  }
  .legacy-block .case-text .case-brand {
    border-radius: 32px 0 0 32px;
    border: 1px solid #008e5c;
  }
  .legacy-block .case-text .case-price {
    border-radius: 0 32px 32px 0;
    border: 1px solid #008e5c;
    border-left: 0;
  }
}
@media screen and (min-width: 768px) {
  .legacy-block .case-pic {
    display: table-cell;
    width: 165px;
    height: 150px;
    vertical-align: top;
  }
  .legacy-block .case-text {
    display: table-cell;
  }
  .legacy-block .case-text span{
    display: table-cell;
    width: auto;
    color: #008e5c;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    padding: 8px 24px;
    background: #edf5f1;
  }
  .legacy-block .case-text .case-brand {
    border-radius: 32px 0 0 32px;
    border: 1px solid #008e5c;
  }
  .legacy-block .case-text .case-price {
    border-radius: 0 32px 32px 0;
    border: 1px solid #008e5c;
    border-left: 0;
  }

}

@media screen and (max-width: 767px) {


}

.legacy-block .case-text p {
  margin-top: 15px;
}
.legacy-block .threepoint-list {
  margin-top: 30px;
  margin-bottom: 30px;
  /* border: 1px solid #cccccc; */
  background-color: #ffffff;
  padding: 32px;
  border-radius: 16px;
}
.legacy-block .threepoint-list p {
  line-height: 200%;
  padding: 10px;
}
.legacy-block .threepoint-title {
  font-size: 128%;
  padding: 10px 10px 9px 30px;
}
.legacy-block .ng-title {
  background-color: #eac512;
  border-radius: 2rem;
}
@media screen and (max-width: 959px) {
  .legacy-block .threepoint-list ul {
    display: block;
    width: 100%;
    margin-bottom: 30px;
  }
  .legacy-block .threepoint-list li {
    display: block;
    text-align: center;
    padding-top: 30px;
  }
  .legacy-block .threepoint-list img {
    display: block;
    margin: 0 auto;
  }
  .legacy-block .osusume-list li {
    text-align: center;
    width: 240px;
    margin: 15px auto;
  }
}
@media screen and (min-width: 960px) {
  .legacy-block .threepoint-list ul {
    display: table;
    width: 638px;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .legacy-block .threepoint-list li {
    display: table-cell;
    text-align: center;
  }
  .legacy-block .osusume-list li {
    float: left;
    text-align: center;
    width: 320px;
    padding: 15px 0;
  }
}
.legacy-block .nglist {
  margin-top: 30px;
  margin-bottom: 30px;
}
.legacy-block .nglist li {
  font-size: 115%;
  background-color: #f0c7c7;
  background-image: url(../img/common/allow-ng.png);
  background-repeat: no-repeat;
  background-position: 8px center;
  border-radius: 3px;
  margin-bottom: 10px;
  padding: 10px 6px 10px 32px;
}
.legacy-block .readmefirst .troublegenre-pic img,
.legacy-block .troublegenre-pic img {
  float: left;
  margin-right: 30px;
  margin-bottom: 30px;
  width: 200px;
  aspect-ratio: 1/1;
}
.legacy-block .pricetable {
  width: 100%;
  margin: 10px 0;
}
.legacy-block .pricetable th {
  background-color: #666;
  color: #ffffff;
  padding: 10px;
  text-align: left;
}
.legacy-block .pricetable tr:nth-child(odd) {
  background-color: #e7eade;
}
.legacy-block .pricetable tr:nth-child(even) {
  background-color: #f5f5ee;
}
@media screen and (max-width: 959px) {
  .legacy-block .readmefirst .troublegenre-pic img, .legacy-block .troublegenre-pic img{
    width: auto;
    display: block;
    float: none;
    margin: 1rem auto;
    max-width: 80%;
  }
  .legacy-block .pricetable td {
    padding: 10px;
    width: 100%;
    display: block;
    font-weight: bold;
  }
}
@media screen and (min-width: 960px) {
  .legacy-block .pricetable td {
    padding: 10px;
    width: 50%;
    font-weight: bold;
  }
}
.legacy-block .cautionbox {
  margin-top: 30px;
  margin-bottom: 30px;
  border-radius: 3px;
  background: #fff;
}
.legacy-block .caution-title {
  font-size: 142%;
  color: #ffffff;
  background-color: #dc3c3c;
  padding: 8px 8px 8px 64px;
  border-radius: 3px 3px 0 0;
  position: relative;
}
.legacy-block .caution-title:before {
  content: " ";
  background-image: url(../img/common/icon-caution.png);
  background-repeat: no-repeat;
  width: 44px;
  height: 40px;
  position: absolute;
  top: -10px;
  left: 10px;
}
.legacy-block .caution-body {
  padding: 20px;
}
.legacy-block .normal-btn {
  display: inline-block;
  padding: 16px 48px;
  color: #ffffff;
  background-color: #008e5c;
  border-radius: 32px;
  margin-top: 10px;
  font-weight: bold;
}
.legacy-block .normal-btn:hover {
  /* color: #ffffff; */
  /* background-color: #0895cf; */
}
.legacy-block .keymaking-list {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.legacy-block .km-time {
  color: #191f20;
  text-align: center;
  background: #f1f0eb url(../img/common/icon-time.png) no-repeat 1rem center;
  padding: 0.2rem;
}
.legacy-block .km-price {
  text-align: center;
  background: #e3e2d9 url(../img/common/icon-price.png) no-repeat 1rem center;
  padding: 0.2rem;
}
.legacy-block .km-left {
  background-color: #8ec9e9;
  padding: 1rem 0;
}
.legacy-block .km-left img{
  border-radius: 0;
  display: block;
  margin: auto;
  width: auto;
  height: 100%;
}
.legacy-block .km-right{
  display: flex;
  flex-direction: column;
  height: 100%;
}
.legacy-block .km-exp a{
  display: block;
  margin: 0.875rem auto 0.5rem;
  text-align: center;
  color: #008e5c;
  font-weight: bold;
  border-radius: 5rem;
  padding: 0.2rem;
  width: 90%;
  border: 1px solid #008e5c;
  font-size: 1rem;
}
.legacy-block .st-kanren {
  background-image: url(../img/allow-kanren2.png);
  background-repeat: no-repeat;
  font-size: 131%;
  padding-left: 30px;
  padding-top: 3px;
  margin: 10px 0 25px 0;
  color: #000;
}
.legacy-block .kanrenframe li {
  float: left;
  padding-right: 12px;
  padding-bottom: 12px;
}
.legacy-block .kanrenframe a {
  display: block;
  background-color: #008e5c;
  border-radius: 4px;
  color: #fff;
  padding: 12px;
}
.legacy-block .kanrenframe a:hover {
  background-color: #ff9900;
}
.legacy-block .linklist {
  margin-top: 30px;
  margin-bottom: 30px;
}
.legacy-block .linklist li {
  background-image: url(../img/allow-linkhead.png);
  background-repeat: no-repeat;
  background-position: 8px top;
}
.legacy-block .linklist li a {
  display: block;
  border-radius: 3px;
  padding: 0 4px 4px 28px;
  margin-bottom: 8px;
}

@media screen and (max-width: 767px) {
  .legacy-block .keymaking-list li {
    width: 100%;
    background-color: #ffffff;
    margin-bottom: 8px;
    border: 1px solid #cccccc;
    display: flex;
  }
  .legacy-block .km-left {
    display: flex;
    width: 30%;
    align-items: center;
  }
.legacy-block .km-left img{
  height: auto;
}
  .legacy-block .km-right {
    position: relative;
    width: 70%;
  }
  .legacy-block .km-name {
    text-align: center;
    border-bottom: 1px solid #cccccc;
  }
  .legacy-block .km-exp {
    height: auto;
    line-height: 16px;
    padding: 5px;
    font-size: 90%;
  }
  .legacy-block .km-time {
    width: 100%;
    position: relative;
    margin-top: auto;
  }
  .legacy-block .km-price {
    position: relative;
    width: 100%;
  }
  .legacy-block .normal-btn{
    display: block;
    width: 90%;
    margin: 1rem auto;
    padding: 1rem;
    text-align: center;
  }
}
@media screen and (min-width: 768px) {
  .legacy-block .keymaking-list li {
    width: calc((100% - 3rem) / 4 );
    /* height: 280px; */
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .legacy-block .km-name {
    text-align: center;
    border-bottom: 1px solid #cccccc;
    padding: 0.5rem;
  }
  .legacy-block .km-exp {
    /* height: 60px; */
    /* height: 100px; */
    /* line-height: 16px; */
    line-height: 1.5;
    padding: 0.5rem;
    /* font-size: 90%; */
    font-size: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
}

@media screen and (max-width: 639px) {
  .legacy-block .advice-cut1 {
    display: block;
    margin: 10px auto;
  }
  .legacy-block .advice-cut2 {
    display: block;
    margin: 10px auto;
  }
}
@media screen and (min-width: 640px) {
  .legacy-block .advice-cut1 {
    float: right;
    margin-left: 30px !important;
  }
  .legacy-block .advice-cut2 {
    float: left;
    margin-right: 30px !important;
  }
}
.legacy-block .faq dt {
  width: 100%;
  color: #ffffff;
  background: #008e5c url(../img/faq/icon-q.png) no-repeat top left;
  min-height: 40px;
  padding: 13px 10px 13px 50px;
  margin-top: 10px;
}
.legacy-block .faq dd {
  width: 100%;
  background: #ffffff url(../img/faq/icon-a.png) no-repeat top left;
  min-height: 40px;
  padding-left: 50px;
  display: none;
}
.legacy-block .faq dd p {
  padding: 10px;
}
.legacy-block .faq-st {
  font-size: 141%;
  margin: 30px 0;
}
.legacy-block .rumblebanner {
  display: block;
  margin: 30px 0;
}
.legacy-block .rumblebanner:hover {
  animation: rumble 0.2s linear 4;
}
.legacy-block .datatable {
  width: 100%;
  margin-bottom: 30px;
  border-top: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
}
.legacy-block .datatable th, .legacy-block .datatable td {
  border-right: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
}
.legacy-block .datatable th {
  background-color: #e7eade;
  padding: 10px;
  text-align: left;
}
.legacy-block .datatable td {
  background-color: #ffffff;
  text-align: left;
  line-height: 150%;
}
@media screen and (max-width: 959px) {
  .legacy-block .datatable th {
    display: block;
  }
  .legacy-block .datatable td {
    padding: 10px;
    display: block;
  }
}
@media screen and (min-width: 960px) {
  .legacy-block .datatable td {
    padding: 10px;
    width: 80%;
  }
}
.legacy-block .framemap {
  width: 100%;
  height: 320px;
}
.legacy-block .safetable {
  width: 100%;
  margin: 30px 0;
  border: 1px solid #cccccc;
  border-radius: 1rem;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 1px 0;
}
.legacy-block .safetable tr:nth-child(odd) {
  background-color: #ffffff;
}
.legacy-block .safetable tr:nth-child(even) {
  background-color: #f1f0eb;
}
.legacy-block .safetable th, .legacy-block .safetable td {
  padding: 10px;
}
@media screen and (max-width: 959px) {
  .legacy-block .safetable th, .legacy-block .safetable td {
    display: block;
    text-align: center;
  }
  .legacy-block .safetable .safepic > img {
    display: block;
    margin: auto;
  }
}
@media screen and (min-width: 960px) {
  .legacy-block .safetable .safename {
    width: 488px;
  }
  .legacy-block .safetable th, .legacy-block .safetable td {
    text-align: left;
  }
  .legacy-block .safetable .safepic {
    padding: 0;
  }
  .legacy-block .safetable .safepic img{
    margin: auto;
  }
}
.legacy-block .safename {
  color: #ffffff;
  background-color: #008e5c;
  padding: 10px;
  text-align: left;
}
.legacy-block .othertable {
  width: 100%;
  margin: 30px 0;
}
.legacy-block .othertable tr:nth-child(odd) {
  background-color: #e7eade;
}
.legacy-block .othertable tr:nth-child(even) {
  background-color: #f5f5ee;
}
.legacy-block .othertable th, .legacy-block .othertable td {
  padding: 16px;
}
.legacy-block .othertable td {
  line-height: normal;
}
@media screen and (max-width: 959px) {
  .legacy-block .othertable th, .legacy-block .othertable td {
    display: block;
    text-align: center;
  }
  .legacy-block .othertable span {
    display: block;
  }
}
@media screen and (min-width: 960px) {
  .legacy-block .othertable th, .legacy-block .othertable td {
    text-align: left;
  }
}
@media screen and (max-width: 959px) {
  .legacy-block .big-tel li {
    text-align: center;
  }
  .legacy-block .big-freedial {
    width: 250px;
    font-size: 28px;
    padding: 0 0 0 50px;
    background-size: 40px auto;
    margin: 10px auto;
  }
}
@media screen and (min-width: 960px) {
  .legacy-block .big-tel {
    width: 768px;
    margin: 30px auto;
  }
  .legacy-block .big-tel li {
    display: table-cell;
    text-align: left;
    vertical-align: middle;
  }
  .legacy-block .big-freedial {
    font-size: 300%;
    padding: 0 20px 0 70px;
  }
}
.legacy-block .big-freedial {
  display: block;
  color: #000000;
  font-weight: bold;
  background-image: url(../img/icon-freedial-large.png);
  background-repeat: no-repeat;
  background-position: left center;
}
.legacy-block .formtable {
  width: 100%;
  margin: 30px 0;
}
.legacy-block .formtable tr:nth-child(odd) {
  background-color: #e7eade;
}
.legacy-block .formtable tr:nth-child(even) {
  background-color: #f5f5ee;
}
.legacy-block .formtable th, .legacy-block .formtable td {
  padding: 16px;
}
@media screen and (max-width: 959px) {
  .legacy-block .formtable th, .legacy-block .formtable td {
    display: block;
    text-align: center;
  }
  .legacy-block .formtable span {
    display: block;
  }
}
@media screen and (min-width: 960px) {
  .legacy-block .formtable th, .legacy-block .formtable td {
    text-align: left;
  }
}
.legacy-block .longinput input, .legacy-block .longinput textarea {
  width: 90%;
  border: 1px solid #cccccc;
  border-radius: 3px;
  padding: 4px;
  margin: 4px 0;
}
.legacy-block .shortinput input {
  border: 1px solid #cccccc;
  border-radius: 3px;
  padding: 4px;
}
.legacy-block .hissu:before {
  content: "必須";
  display: inline-block;
  position: relative;
  font-weight: normal;
  padding: 4px 12px;
  background-color: #990000;
  color: #ffffff;
  border-radius: 3px;
  margin-right: 12px;
}
.legacy-block .nini:before {
  content: "任意";
  display: inline-block;
  position: relative;
  font-weight: normal;
  padding: 4px 12px;
  background-color: #9b9a8f;
  color: #ffffff;
  border-radius: 3px;
  margin-right: 12px;
}
.legacy-block .form-submit {
  width: 100%;
}
.legacy-block .form-submit input {
  display: block;
  width: 260px;
  border: none;
  color: #000000;
  font-size: 128%;
  background-color: #ffd100;
  padding: 12px 16px;
  background-image: url(../img/icon-email-black.png);
  background-repeat: no-repeat;
  background-position: 16px center;
  margin: 40px auto;
  border-radius: 4px;
  cursor: pointer;
}
.legacy-block .form-submit input:hover {
  background-color: #ff9900;
}
.legacy-block .redbox {
  background-color: #990000;
  margin: 30px auto;
  padding: 30px;
}
.legacy-block .redtitle {
  text-align: center;
  font-size: 128%;
  color: #ffffff;
  padding-bottom: 30px;
}
.legacy-block .redbox p {
  color: #ffffff;
}
@media screen and (max-width: 959px) {
  .legacy-block .floatmenu {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 3px;
    padding: 8px;
    margin-bottom: 30px;
  }
  .legacy-block .sp-sidemenu {
    position: relative;
  }
}
@media screen and (min-width: 960px) {
  .legacy-block .floatmenu {
    width: 280px;
    position: absolute;
    top: -10px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 3px;
    padding: 8px;
  }
}
.legacy-block .floatmenu li,
.legacy-block .sp-sidemenu li {
  margin: 10px 0;
}
.legacy-block .floatmenu li a,
.legacy-block .sp-sidemenu li a {
  display: block;
  color: #ffffff;
  background-color: #008e5c;
  background-image: url(../img/allow-sidemenu.png);
  background-repeat: no-repeat;
  background-position: 12px center;
  border-radius: 3px;
  padding: 12px 12px 12px 36px;
}
.legacy-block .floatmenu li a:hover,
.legacy-block .sp-sidemenu li a:hover {
  /* background-color: #0895cf; */
}
.legacy-block .floatmenu .floatmenu-lead a {
  background-color: #3b4f00;
}
.legacy-block .floatmenu .floatmenu-bt a,
.legacy-block .sp-sidemenu .floatmenu-bt a {
  color: #000000;
  background-color: #ffd100;
  background-image: url(../img/allow-truck.png);
}
.legacy-block .floatmenu .floatmenu-bt a:hover,
.legacy-block .sp-sidemenu .floatmenu-bt a:hover {
  background-color: #ffaa00;
}
.legacy-block .floatmenu-leadtext {
  font-weight: bold;
  text-align: center;
  margin-top: 30px;
}
.legacy-block .floatmenu-tel {
  display: block;
  position: relative;
  font-size: 2.2rem;
  font-weight: bold;
  text-align: center;
}
.legacy-block .floatmenu-tel:before {
  content: " ";
  display: inline-block;
  background: url(../img/icon-freedial.png) no-repeat center center;
  width: 56px;
  height: 26px;
}
.legacy-block .floatmenu-telsupport {
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
}
@media screen and (max-width: 959px) {
  .legacy-block .freeimage {
    width: 100%;
    max-width: 640px;
  }
  .legacy-block .freeimage-320 {
    width: 100%;
    max-width: 320px;
  }
}
.legacy-block .readmefirst img {
  display: block;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.legacy-block .readme-tt {
  padding: 8px;
  font-weight: 700;
  background-color: #eac512;
  margin: 20px auto;
}
.legacy-block .readme-st {
  padding: 8px;
  font-size: larger;
  font-weight: 700;
  margin: 16px auto;
}
.legacy-block .readme-st2 {
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 700;
  margin: 16px auto;
  background-color: #eac512;
  border-radius: 20px;
}
.legacy-block .readme-link {
  display: flex;
  align-items: center;
  text-align: left;
  padding: 8px 8px 8px 25px;
  color: #ffffff;
  background-color: #008e5c;
  background-image: url(../img/common/allow-footer.png);
  background-repeat: no-repeat;
  background-position: 8px center;
  height: 100%;
}
.legacy-block .readme-link:hover {
  /* background-color: #ffcc00; */
}
.legacy-block #spfooter {
  background: #ffcc00;
  height: 48px;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 500;
}
.legacy-block #spfooter .freedial {
  font-size: 28px;
  padding-left: 54px;
}
.legacy-block #spfooter .freedial span {
  font-size: 11px;
  display: block;
  padding-top: 6px;
}
.legacy-block #spfooter .freedial:before {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 36px;
  width: 40px;
  height: 36px;
}
.legacy-block #footer-email-sp {
  height: 48px;
  width: 48px;
  text-align: center;
  font-size: 12px;
  color: #000000;
  display: block;
  border-left: 1px dotted #000000;
}
.legacy-block #footer-email-sp:before {
  font-family: "icomoon";
  content: "\f0e0";
  display: block;
  font-size: 20px;
  padding-top: 4px;
  padding-bottom: 4px;
}
.legacy-block .contactbox a {
  display: block;
  text-align: left;
  color: #ffffff;
  position: relative;
  height: 50px;
  margin-bottom: 10px;
  border-radius: 4px;
  padding-left: 50px;
  font-weight: 700;
  line-height: 1;
}
.legacy-block .contactbox a:hover {
  background-color: #000000;
}
.legacy-block .contactbox a span {
  display: block;
  font-size: 12px;
  color: #ffffff;
  padding-bottom: 3px;
  font-weight: 400;
  font-family: "Noto Sans JP", sans-serif;
}
.legacy-block .contactbox a:before {
  font-family: "icomoon";
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 24px;
  font-weight: 400;
}
.legacy-block .contactbox a:after {
  content: "";
  position: absolute;
  z-index: 9;
  top: 0;
  left: 16px;
  border-top: 8px solid #f5f5ee;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
}
.legacy-block .contactbox a.contactbox-readme {
  font-size: 0.875rem;
}
.legacy-block .contactbox-readme {
  background-color: #ffa200;
  padding-top: 18px;
}
@media screen and (min-width: 960px) {
  .legacy-block .contactbox-readme {
    font-size: 14px;
  }
}
.legacy-block .contactbox-email {
  background-color: #de2d29;
  padding-top: 8px;
  font-size: 18px;
}
.legacy-block .contactbox-tel {
  background-color: #90bc06;
  padding-top: 6px;
  font-size: 24px;
  background-image: url(../img/bg-contactbox-tel.png);
  background-position: right center;
  background-repeat: no-repeat;
}
.legacy-block .contactbox-readme:before {
  content: "\f059";
}
.legacy-block .contactbox-email:before {
  content: "\f0e0";
}
.legacy-block .contactbox-tel:before {
  content: "\e900";
}
.legacy-block .footer-sns-sp {
  text-align: center;
}
.legacy-block .footer-sns-pc li {
  padding-left: 8px;
  padding-right: 8px;
}
.legacy-block .footer-sns-pc a {
  display: block;
  width: 32px;
  height: 32px;
  position: relative;
  color: #ffffff;
  margin: 0;
  border-radius: 6px;
}
.legacy-block .footer-sns-pc a:before {
  position: absolute;
  color: #ffffff;
  font-size: 24px;
  width: 24px;
  height: 24px;
  text-align: center;
  top: 4px;
  left: 4px;
}
.legacy-block .snsbtn-facebook {
  background: #000000;
}
.legacy-block .snsbtn-instagram {
  background: #000000;
}
.legacy-block .snsbtn-facebook:before {
  font-family: "icomoon2";
  content: "\f09a";
}
.legacy-block .snsbtn-instagram:before {
  font-family: "icomoon2";
  content: "\f16d";
}

.legacy-block .sub-common-detail__button-area {
    margin-top: 0.9375rem;
    text-align: right;
  }
  @media screen and (max-width: 767px) {
    .legacy-block .sub-common-detail__button-area {
      margin-top: 0.75rem;
    }
  }
  
  .legacy-block .sub-common-detail__button {
    color: #191F20;
    font-size: 1rem;
    line-height: 1.4;
    letter-spacing: 0.05em;
    font-weight: 700;
    display: inline-flex;
    gap: 0.625rem;
    align-items: center;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #008E5C;
  }
  @media screen and (max-width: 767px) {
    .legacy-block .sub-common-detail__button {
      font-size: 0.875rem;
    }
  }
  .legacy-block .sub-common-detail__button::after {
    content: "";
    width: 1rem;
    height: 1rem;
    display: block;
    background-image: url(../img/common/green-circle-arrow.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #008E5C;
    border-radius: 50%;
  }

.legacy-block.w1200 {
    max-width: 75rem;
    margin-left: auto;
    margin-right: auto;
}

.legacy-block.w1000 {
    max-width: 62.5rem;
    margin-left: auto;
    margin-right: auto;
}

.legacy-block.w800{
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
}

.wp-block-group.has-background .wp-block-group__inner-container .middle-title:first-child {
    margin-top: 0;
}