*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
}

body {
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
   -ms-text-size-adjust: 100%;
       text-size-adjust: 100%;
  color: #3e3e3e;
  font-weight: 500;
  font-size: 100.01%;
  line-height: 1.6;
  background: rgba(23, 31, 107, 0.1);
}

ul {
  list-style: none;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
  border: 0;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

.pc {
  display: inline-block;
}
@media (max-width: 560px) {
  .pc {
    display: none !important;
  }
}

.sp {
  display: none !important;
}
@media (max-width: 560px) {
  .sp {
    display: block !important;
  }
}

/*==============================================
# 共通CSS
/*============================================*/
.util-btn a {
  display: block;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  width: 400px;
  margin: 15px auto;
  padding: 10px 10px;
  color: #fff;
  font-weight: bold;
  background: #960f32;
  position: relative;
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .util-btn a {
    width: 320px;
  }
}
@media (min-width:561px) and (max-width: 1279px) {
  .util-btn a {
    width: 320px;
  }
}
.util-btn a:hover {
  background: #fff;
  color: #960f32;
}
.util-btn a:hover::before, .util-btn a:hover::after {
  width: 100%;
  height: 100%;
}
.util-btn a:hover::before {
  border-top-color: #960f32;
  border-right-color: #960f32;
  -webkit-transition: width 0.15s ease-out, height 0.15s ease-out 0.15s;
  transition: width 0.15s ease-out, height 0.15s ease-out 0.15s;
}
.util-btn a:hover::after {
  border-bottom-color: #960f32;
  border-left-color: #960f32;
  -webkit-transition: border-color 0s ease-out 0.2s, width 0.15s ease-out 0.2s, height 0.15s ease-out 0.3s;
  transition: border-color 0s ease-out 0.2s, width 0.15s ease-out 0.2s, height 0.15s ease-out 0.3s;
}
.util-btn a::before, .util-btn a::after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
  content: "";
  position: absolute;
  border: 2px solid transparent;
  width: 0;
  height: 0;
}
.util-btn a::before {
  top: 0;
  left: 0;
}
.util-btn a::after {
  bottom: 0;
  right: 0;
}

h1 {
  font-size: 36px;
  font-weight: bold;
  line-height: 1.33;
  color: #fff;
}
@media (max-width: 560px) {
  h1 {
    font-size: 24px;
  }
}

h2 {
  font-size: 24px;
  position: relative;
  overflow: hidden;
  padding: 1.5rem 2rem 1.5rem 130px;
  border-top: 3px solid #171f6b;
  margin: 5% 0;
}
@media (max-width: 560px) {
  h2 {
    font-size: 20px;
    padding: 1.5rem 2rem 1.5rem 120px;
  }
}

h2:before {
  position: absolute;
  top: -150%;
  left: -100px;
  width: 200px;
  height: 300%;
  content: "";
  -webkit-transform: rotate(25deg);
  transform: rotate(25deg);
  background: -webkit-gradient(linear, left top, right top, from(#171f6b), to(#161b3e));
  background: linear-gradient(to right, #171f6b, #161b3e);
}

h2 span {
  font-size: 40px;
  font-size: 4rem;
  position: absolute;
  z-index: 1;
  top: -10px;
  left: 0;
  display: block;
  padding-top: 3px;
  padding-left: 16px;
  color: #fff;
}

h3 {
  font-size: 20px;
  position: relative;
  display: inline-block;
  height: 64px;
  margin-left: 30px;
  padding: 1rem 2rem 1rem 3rem;
  color: #fff;
  background: #171f6b;
  display: flex;
  align-items: center;
}
@media (max-width: 560px) {
  h3 {
    display: block;
    font-size: 18px;
    padding: 1rem 2rem 1rem 2rem;
  }
}

h3:before {
  position: absolute;
  top: 0;
  left: -30px;
  content: "";
  border-width: 32px 30px 32px 0;
  border-style: solid;
  border-color: transparent #171f6b transparent transparent;
}

h3:after {
  position: absolute;
  top: calc(50% - 7px);
  left: -10px;
  width: 14px;
  height: 14px;
  content: "";
  border-radius: 50%;
  background: #fff;
}

p {
  font-size: 18px;
  color: #3e3e3e;
  line-height: 1.8;
}

.red {
  color: #960f32;
  font-weight: bold;
}

.inner {
  padding: 0 2%;
}

#service ul,
#tokuten ul,
#gaiyou ul {
  font-size: 16px;
  line-height: 1.8;
  list-style-type: none;
  background: #c3c7ea;
  padding: 2%;
  border-radius: 5px;
}
#service ul li + li,
#tokuten ul li + li,
#gaiyou ul li + li {
  margin-top: 5px;
}
#service ul li,
#tokuten ul li,
#gaiyou ul li {
  position: relative;
  padding-left: 25px;
}
#service ul li:before,
#tokuten ul li:before,
#gaiyou ul li:before {
  content: "";
  position: absolute;
  width: 5px;
  height: 10px;
  top: 0.55em;
  left: 6px;
  -webkit-transform: rotate(50deg);
  transform: rotate(50deg);
  border-right: 2px solid #171f6b;
  border-bottom: 2px solid #171f6b;
}
#service ul li:after,
#tokuten ul li:after,
#gaiyou ul li:after {
  content: "";
  position: absolute;
  top: 0.4em;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid #fff;
  border-radius: 2px;
}

#under_header {
  background: -webkit-gradient(linear, left top, right top, from(#171f6b), to(#161b3e));
  background: linear-gradient(to right, #171f6b, #161b3e);
  position: fixed;
  width: 25%;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  z-index: 999;
  top: 0;
  left: 0;
  height: 100vh;
}
@media (max-width: 560px) {
  #under_header {
    display: none;
  }
}

#under_header div.header_name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  padding-top: 10px;
  z-index: 999;
}
@media (max-width: 560px) {
  #under_header div.header_name {
    font-size: 20px;
  }
}

#header div.tel {
  color: #fff;
  font-weight: 700;
  text-align: center;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  padding-bottom: 0.5%;
  z-index: 999;
}
#under_header div.tel:hover {
  opacity: 0.7;
}

#under_header .nav {
  background: -webkit-gradient(linear, left top, right top, from(#171f6b), to(#161b3e));
  background: linear-gradient(to right, #171f6b, #161b3e);
  color: #fff;
  text-align: center;
  z-index: 999;
}
@media (max-width: 560px) {
  #under_header .nav {
    display: none;
  }
}

#under_header nav ul {
  width: 100%;
  position: relative;
  list-style: none;
  display: block;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

#under_header nav ul ul {
  display: block;
}

#under_header nav ul li a {
  position: relative;
  display: block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  padding: 20px 45px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
#under_header nav ul li a:hover {
  color: #fff;
}

#under_header nav ul li li a {
  padding: 20px;
}

#under_header nav ul li.has-child > a::before {
  content: "";
  position: absolute;
  right: 25px;
  top: 30px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #999;
  border-right: 2px solid #999;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

#under_header nav ul li.has-child dt {
  overflow: hidden;
  height: 20vh;
  margin: 0 0 10px 0;
}
@media (min-width:561px) and (max-width: 1279px) {
  #under_header nav ul li.has-child dt {
    height: 25vh;
  }
}

#under_header nav ul li.has-child dt p {
  display: block;
}

#under_header nav ul li.has-child ul {
  position: absolute;
  left: 100%;
  top: 0;
  z-index: 4;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  background: #888;
  width: 90%;
  display: none;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

#under_header nav ul li.has-child:hover > ul {
  display: block;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  visibility: visible;
  opacity: 1;
}

#under_header nav ul li.has-child ul li {
  width: 100%;
}

#under_header nav ul li.has-child ul li a {
  color: #fff;
}

#under_header nav ul li.has-child ul li a:hover,
#under_header nav ul li.has-child ul li a:active {
  background: -webkit-gradient(linear, left top, right top, from(#171f6b), to(#161b3e));
  background: linear-gradient(to right, #171f6b, #161b3e);
}

.drawer__btn {
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 10002;
  width: 50px;
  height: 45px;
  background-color: #555;
  overflow: hidden;
  cursor: pointer;
}
.drawer__btn span {
  display: block;
  width: 50%;
  height: 2px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.drawer__btn span:nth-child(1) {
  -webkit-transform: translate(-50%, -10px);
          transform: translate(-50%, -10px);
}
.drawer__btn span:nth-child(2) {
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.drawer__btn span:nth-child(3) {
  -webkit-transform: translate(-50%, 8px);
          transform: translate(-50%, 8px);
}
.drawer__btn.active span:nth-child(1) {
  -webkit-transform: translate(-50%, 0) rotate(45deg);
          transform: translate(-50%, 0) rotate(45deg);
}
.drawer__btn.active span:nth-child(2) {
  -webkit-transform: translate(100%, 0);
          transform: translate(100%, 0);
  opacity: 0;
}
.drawer__btn.active span:nth-child(3) {
  -webkit-transform: translate(-50%, 0) rotate(-45deg);
          transform: translate(-50%, 0) rotate(-45deg);
}
.drawer__menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10001;
  width: 300px;
  height: 100vh;
  overflow-y: auto;
  background-color: #000;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
  opacity: 0;
}
.drawer__menu.active {
  -webkit-transform: translateX(0);
          transform: translateX(0);
  opacity: 1;
}
.drawer__bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  -webkit-transition: 0.3s;
  transition: 0.3s;
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
  opacity: 0;
  cursor: pointer;
}
.drawer__bg.active {
  -webkit-transform: translateX(0);
          transform: translateX(0);
  opacity: 1;
}

.drawer__menu ul {
  padding: 30% 0 0 5%;
}
.drawer__menu ul li {
  padding: 3% 0;
  color: #fff;
}

.container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  padding: 0 3%;
  margin: 0 auto;
}

section {
  padding: 4% 0;
}

#mv {
  padding: 0 0 4%;
}

.sidebar {
  width: 30%;
}

.main {
  width: 100%;
  padding-left: 25%;
}
@media (max-width: 560px) {
  .main {
    padding-left: 0;
  }
}

.main .mv {
  position: relative;
}
.main .mv_txt {
  position: absolute;
  background: #171f6b;
  opacity: 0.8;
  bottom: 0;
  right: 0;
  padding: 5%;
}
.main .mv_txt h1 {
  padding: 0 0 3%;
}
.main .mv_txt p {
  color: #fff;
}
@media (max-width: 560px) {
  .main .mv_txt p {
    font-size: 14px;
  }
}

.main .lead_box {
  position: relative;
  margin: 2em 0;
  padding: 0.5em 1em;
  border: solid 3px #171f6b;
  background: #fff;
}
.main .lead_box p {
  margin: 0;
  padding: 0;
}

.main .lead_boxTitle {
  position: absolute;
  display: inline-block;
  top: -27px;
  left: -3px;
  padding: 0 9px;
  height: 25px;
  line-height: 25px;
  font-size: 17px;
  background: #171f6b;
  color: #ffffff;
  font-weight: bold;
  border-radius: 5px 5px 0 0;
}

.main .lead_txtBox h3 {
  margin: 2% 4%;
}
@media (max-width: 560px) {
  .main .lead_txtBox h3 {
    margin: 5% 4%;
  }
}

.main #service dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.main #service .dl_wrap {
  background: #fff;
  padding: 3% 0;
  border: 2px solid #171f6b;
  margin-bottom: 5%;
}

.main #service dt {
  width: 20%;
  text-align: right;
  padding: 0% 3%;
}
@media (max-width: 560px) {
  .main #service dt {
    width: 25%;
    text-align: left;
  }
}

.main #service dd {
  width: 78%;
  text-align: left;
  padding: 0;
}
@media (max-width: 560px) {
  .main #service dd {
    width: 73%;
  }
}

.main .service_box {
  padding-bottom: 3%;
}
.main .service_box h3 {
  margin-bottom: 3%;
}
.main .service_box .price {
  font-size: 26px;
  font-weight: bold;
}

.main #movie p {
  padding-bottom: 5%;
}
.main #movie h3 {
  margin-bottom: 5%;
  display: flex;
  align-items: center;
}

.main iframe.youtube-16-9 {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

.main .movie_frame {
  padding-bottom: 5%;
  width: 80%;
  margin: 0 auto;
}

.main #current ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
@media (min-width:561px) and (max-width: 1279px) {
  .main #current ul {
    display: block;
  }
}
@media (max-width: 560px) {
  .main #current ul {
    display: block;
  }
}

.main #current ul li {
  width: 33.33%;
  position: relative;
}
@media (min-width:561px) and (max-width: 1279px) {
  .main #current ul li {
    width: 100%;
  }
}
@media (max-width: 560px) {
  .main #current ul li {
    width: 100%;
  }
}

.main #current .hukidashi {
  position: absolute;
  width: 80%;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
@media (min-width:561px) and (max-width: 1279px) {
  .main #current .hukidashi {
    position: static;
    left: 0;
    -webkit-transform: translateX(0);
            transform: translateX(0);
    width: 50%;
    margin: 0 auto 3%;
  }
}
@media (max-width: 560px) {
  .main #current .hukidashi {
    position: static;
    left: 0;
    -webkit-transform: translateX(0);
            transform: translateX(0);
    width: 100%;
    margin: 0 auto 3%;
  }
}

.main .pie {
  background-image: radial-gradient(#f2f2f2 60%, transparent 61%), conic-gradient(#171f6b 0% 86%, #d9d9d9 86% 100%);
}

.main .pie2 {
  background-image: radial-gradient(#f2f2f2 60%, transparent 61%), conic-gradient(#171f6b 0% 89%, #d9d9d9 89% 100%);
}

.main .pie3 {
  background-image: radial-gradient(#f2f2f2 60%, transparent 61%), conic-gradient(#171f6b 0% 82%, #d9d9d9 82% 100%);
}

.main .pie,
.main .pie2,
.main .pie3 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-right: auto;
  margin-left: auto;
  margin-top: 50%;
  width: 300px;
  height: 300px;
  font-size: 26px;
  font-weight: 700;
  border-radius: 50%;
  text-align: center;
}
@media (max-width: 560px) {
  .main .pie,
  .main .pie2,
  .main .pie3 {
    margin-top: 0;
  }
}
@media (min-width:561px) and (max-width: 1279px) {
  .main .pie,
  .main .pie2,
  .main .pie3 {
    margin-top: 0;
  }
}

.main #current p {
  padding-top: 2%;
}

.main #check h3 {
  margin-top: 3%;
  margin-bottom: 3%;
}

.main #check ul li {
  padding: 1% 0;
}

.main #service ul li {
  font-weight: bold;
}

.main #service p {
  padding: 2% 0;
}

.main #price h3 {
  margin-top: 2%;
  margin-bottom: 2%;
}

.main .service_subttl {
  padding: 2% 0;
  font-size: 20px;
  font-weight: bold;
}

.main .tokuten_ttl {
  padding: 2% 0;
  font-size: 18px;
  font-weight: bold;
}

.main #tokuten h3 {
  margin-top: 2%;
  margin-bottom: 2%;
}

@media (max-width: 560px) {
  .main .h3_another {
    padding: 1rem 2rem 6rem 2rem;
  }
}
@media (min-width:561px) and (max-width: 1279px) {
  .main .h3_another {
    padding: 1rem 2rem 5rem 2rem;
  }
}

@media (max-width: 560px) {
  .main .h3_another:before {
    border-width: 55px 30px 55px 0;
  }
}
@media (min-width:561px) and (max-width: 1279px) {
  .main .h3_another:before {
    border-width: 48px 30px 48px 0;
  }
}

.main .hukidashi2 {
  position: relative;
  display: block;
  margin: 1.5em auto;
  padding: 20px 10px;
  min-width: 120px;
  max-width: 320px;
  color: #555;
  font-size: 16px;
  background: #171f6b;
  border-radius: 15px;
}

.main .hukidashi2:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid #171f6b;
}

.main .hukidashi2 p {
  color: #fff;
  text-align: center;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

/*==============================================
# kojinjyouhouhogo gaiyou
/*============================================*/
.main #gaiyou h3 {
  margin: 5% 4%;
}

@media (min-width:561px) and (max-width: 1279px) {
  .main #gaiyou h3 {
    font-size: 18px;
  }
}
@media (max-width: 560px) {
  .main #gaiyou h3 {
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .main #gaiyou .h3_another {
    padding: 1rem 2rem 4rem 2rem;
  }
}
@media (min-width:561px) and (max-width: 1279px) {
  .main #gaiyou .h3_another {
    padding: 1rem 2rem 5rem 2rem;
  }
}

@media (max-width: 560px) {
  .main #gaiyou .h3_another:before {
    border-width: 40px 30px 40px 0;
  }
}
@media (min-width:561px) and (max-width: 1279px) {
  .main #gaiyou .h3_another:before {
    border-width: 48px 30px 48px 0;
  }
}

/*==============================================
# syanaikisoku kisoku
/*============================================*/
.main ol.sample1,
.main ol.sample1 ol {
  counter-reset: list;
  list-style: none;
  padding: 0;
  width: 100%;
  font: 16px/1.6 "arial narrow", sans-serif;
}

.main .sample1 a {
  position: relative;
  display: block;
  padding: 4px 4px 4px 31px;
  margin: 7px 0;
  background: #d7eaf7;
  color: #333;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.main .sample1 a:hover {
  background: #27acd9;
  color: #fff;
}

.main .sample1 a:hover:before {
  left: -10px;
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
  background: #d7eaf7;
  color: #3e3e3e;
  border: 3px solid #3e3e3e;
}

.main .sample1 a:before {
  content: counter(list);
  counter-increment: list;
  position: absolute;
  top: 50%;
  left: -15px;
  height: 32px;
  width: 32px;
  margin-top: -15px;
  background: #171f6b;
  color: #fff;
  line-height: 26px;
  border: 3px solid #fff;
  text-align: center;
  font-weight: bold;
  border-radius: 26px;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.main .attention {
  padding: 5% 0;
  text-align: center;
  font-weight: bold;
}
.main .attention a {
  color: #960f32;
  border-bottom: #960f32 solid 1px;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.main .attention a:hover {
  opacity: 0.7;
}

/*==============================================
# uneisya
/*============================================*/
.lead_about_img {
  width: 50%;
  margin: 0 auto 5%;
  position: relative;
}
.lead_about_img::before {
  content: "";
  background: url("http://kinyutorihiki.com/files/kinyutorihiki/man.png") no-repeat center center/contain;
  width: 200px;
  height: 200px;
  position: absolute;
  left: -40px;
  top: -20px;
}
@media (min-width:561px) and (max-width: 1279px) {
  .lead_about_img::before {
    width: 104px;
    height: 104px;
  }
}
@media (max-width: 560px) {
  .lead_about_img::before {
    width: 84px;
    height: 84px;
  }
}

.timeline {
  width: 96%;
  max-width: 940px;
  margin: 28px auto;
  border: 10px solid #ccc;
}
@media (max-width: 560px) {
  .timeline {
    width: 98%;
  }
}
.timeline-list {
  padding: 40px 0 40px 10%;
}
@media (max-width: 560px) {
  .timeline-list {
    padding: 40px 0 20px;
  }
}
.timeline-list-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  line-height: 1.5;
  font-size: 16px;
}
.timeline-list-item .date {
  width: 20%;
  padding: 0 0 0 20px;
  color: #888888;
  font-weight: bold;
}
@media (max-width: 560px) {
  .timeline-list-item .date {
    padding: 3px 0 0 5px;
    font-size: 10px;
  }
}
@media (min-width:561px) and (max-width: 1279px) {
  .timeline-list-item .date {
    padding: 3px 0 0 5px;
    font-size: 14px;
  }
}
.timeline-list-item .content {
  position: relative;
  width: 80%;
  padding: 0 20px 60px 30px;
  border-left: 1px solid #aaaaaa;
}
.timeline-list-item .content::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  width: 20px;
  height: 20px;
  background-color: #171f6b;
  border-radius: 10px;
}
.timeline-list-item .last-content {
  border-left: none;
  padding-bottom: 20px;
}

.main #service .youshiki_wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.main #service .youshiki_list {
  width: 100%;
}

.main #service .youshiki_list li {
  width: 100%;
}

.main .weight {
  font-weight: bold;
  border-bottom: 1px solid #3e3e3e;
}

.main .box_02 {
  margin: 2em 0;
  position: relative;
  padding: 0.5em 1.5em;
  border-top: solid 2px black;
  border-bottom: solid 2px black;
}

.main .box_02:before, .box_02:after {
  content: "";
  position: absolute;
  top: -10px;
  width: 2px;
  height: calc(100% + 20px);
  background-color: black;
}

.main .box_02:before {
  left: 10px;
}

.main .box_02:after {
  right: 10px;
}

.main .box_02 p {
  margin: 0;
  padding: 0;
}

.main #service .red {
  font-size: 24px;
}
@media (max-width: 560px) {
  .main #service .red {
    font-size: 18px;
  }
}

#info {
  padding: 2% 0;
}

#info ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
@media (max-width: 560px) {
  #info ul {
    display: block;
  }
}

#info ul li {
  width: 33.33%;
  text-align: center;
  font-weight: bold;
  color: #fff;
}
@media (max-width: 560px) {
  #info ul li {
    width: 100%;
  }
}

#info ul li a {
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
#info ul li a:hover {
  opacity: 0.7;
}

footer#under_footer {
  background: linear-gradient(45deg, #1e2135, #171f6b, #d4d7ed);
  -webkit-animation: gradient 20s ease infinite;
  animation: gradient 20s ease infinite;
  background-size: 200% 200%;
  z-index: -2;
  padding: 5% 0 0;
}

@media (max-width: 560px) {
  #under_footer .footer_container {
    display: block;
  }
}
#under_footer .footer_sns {
  width: 100%;
}

#under_footer .footer_sns ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10%;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-bottom: 5%;
}

#under_footer .footer_sns {
  margin-top: 3%;
}

#under_footer .footer_sns ul li {
  width: 8%;
}

#under_footer .footer_sns ul li a {
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  width: 20%;
}

#under_footer .footer_sns ul li a:hover {
  opacity: 0.7;
}

#under_footer .footer_sns .sns_list li a img {
  width: 100%;
  height: auto;
}

#under_footer .footer_sns .sns_list li:last-of-type a img {
  background: #fff;
}

@media (max-width: 560px) {
  #under_footer .footer_left .sns_list li a img {
    width: auto;
    height: 64px;
  }
}
#under_footer .footer_sitemap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (max-width: 560px) {
  #under_footer .footer_sitemap {
    display: block;
  }
}

#under_footer .footer_center,
#under_footer .footer_right {
  width: 35%;
  padding-bottom: 4%;
}
@media (max-width: 560px) {
  #under_footer .footer_center,
  #under_footer .footer_right {
    width: 100%;
  }
}

#under_footer .sitemap {
  color: #fff;
}

@media (max-width: 560px) {
  #under_footer .sitemap {
    text-align: center;
  }
}
#under_footer .sitemap li {
  padding: 2% 0;
}

#under_footer .sitemap li a {
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

#under_footer .sitemap li a:hover {
  opacity: 0.7;
}

#under_footer small {
  color: #fff;
  width: 100%;
  text-align: center;
  display: block;
}

#balloon5 {
  margin: 1.5em 0;
  overflow: hidden;
  position: fixed;
  z-index: 10000;
}

#balloon5 .faceicon {
  width: 80px;
  height: 80px;
  position: fixed;
  right: 20px;
  bottom: 30px;
  border-radius: 50%;
  background: #960f32;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-shadow: 3px 8px 6px #3e3e3e;
  box-shadow: 3px 8px 6px #3e3e3e;
  -webkit-animation: mochimochi 3s infinite;
  animation: mochimochi 3s infinite;
}

@-webkit-keyframes mochimochi {
  0% {
    -webkit-transform: scale(1, 0.95);
    transform: scale(1, 0.95);
  }
  20% {
    -webkit-transform: scale(0.95, 1.05);
    transform: scale(0.95, 1.05);
  }
  90% {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  100% {
    -webkit-transform: scale(1, 0.95);
    transform: scale(1, 0.95);
  }
}
@keyframes mochimochi {
  0% {
    -webkit-transform: scale(1, 0.95);
    transform: scale(1, 0.95);
  }
  20% {
    -webkit-transform: scale(0.95, 1.05);
    transform: scale(0.95, 1.05);
  }
  90% {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
  }
  100% {
    -webkit-transform: scale(1, 0.95);
    transform: scale(1, 0.95);
  }
}
#balloon5 .faceicon a img {
  width: 45px;
  height: auto;
}

#balloon5 .chatting {
  width: 350px;
  margin-bottom: 3%;
  position: fixed;
  right: 40px;
  bottom: 80px;
}

.says {
  position: relative;
  margin: 5px 0 0 105px;
  padding: 17px 13px;
  border-radius: 12px;
  background: #fff;
  font-weight: 600;
  -webkit-box-shadow: 3px 12px 8px #3e3e3e;
  box-shadow: 3px 12px 8px #3e3e3e;
}

.says:after {
  content: "▼";
  position: absolute;
  top: 45px;
  left: 200px;
  color: #fff;
  font-size: 24px;
}

.says p {
  margin: 0;
  padding: 0;
}

#under_mv {
  padding: 0;
  position: relative;
}

#under_mv .under_mv_txt {
  position: absolute;
  top: 0%;
  left: 10%;
}

#under_mv .under_mv_txt .under_h1 {
  position: relative;
  color: #fff;
  font-size: 42px;
  padding: 10px 0;
  text-align: center;
  margin: 1.5em 0;
}
@media (max-width: 560px) {
  #under_mv .under_mv_txt .under_h1 {
    font-size: 24px;
  }
}

#under_mv .under_mv_txt .under_h1:before {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  width: 250px;
  height: 128px;
  border-radius: 50%;
  border: 8px solid #fff;
  border-left-color: transparent;
  border-right-color: transparent;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
@media (max-width: 560px) {
  #under_mv .under_mv_txt .under_h1:before {
    width: 160px;
    height: 80px;
    top: -15px;
    border-width: 6px;
  }
}

#under_lead .under_h2,
#qa .under_h2,
#kaisetsu .under_h2 {
  text-align: center;
  padding: 0;
  border: none;
  position: relative;
  color: #171f6b;
  line-height: 1.4;
  -webkit-box-reflect: below -10px -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0.6));
}
#under_lead .under_h2::before,
#qa .under_h2::before,
#kaisetsu .under_h2::before {
  display: none;
}

#under_lead .under_p {
  font-size: 24px;
  text-align: center;
  font-weight: bold;
}

#under_merit ol,
#under_lead ol,
#kaisetsu ol {
  list-style: none; /*カウンタを消す*/
  counter-reset: number; /*カウンタをリセット*/
}

#under_merit ol li,
#under_lead ol li,
#kaisetsu ol li {
  position: relative;
  padding-left: 30px;
  line-height: 2em;
  padding: 0.5em 0.5em 0.5em 2em;
  background: #e0e0e0;
  width: 80%;
  border-bottom: solid 0.2em #fff;
  margin: 0 auto;
}

#under_merit ol li:before,
#under_lead ol li::before,
#kaisetsu ol li::before {
  position: absolute;
  counter-increment: number;
  content: counter(number);
  display: inline-block;
  background: #333;
  color: white;
  font-weight: solid;
  font-size: 0.8em;
  border-radius: 40px;
  left: 0em;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  /*以下 上下中央寄せのため*/
  top: 1.8em;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

#under_lead ol li::before,
#kaisetsu ol li::before {
  content: "";
}

#under_lead .num_on li::before {
  content: counter(number);
}

.qaContainer {
  width: 80%;
  margin: 0 auto;
}

.qaContainer dt {
  padding: 10px 10px 10px 35px;
  border-radius: 5px;
  background: #e0e0e0;
  text-indent: -25px;
}

.qaContainer dt:before {
  content: "Q.";
  font-weight: bold;
  margin-right: 7px;
}

.qaContainer dd {
  margin: 20px 10px 40px 35px;
  text-indent: -25px;
}
.qaContainer dd img {
  width: 50%;
  margin: 0 auto;
}

.qaContainer dd:before {
  content: "A.";
  color: #960f32;
  font-weight: bold;
  margin-right: 7px;
}

#under_mv .under_mv_txt .under_h1_other {
  font-size: 32px;
}
@media (min-width:561px) and (max-width: 1279px) {
  #under_mv .under_mv_txt .under_h1_other {
    font-size: 26px;
    top: 50%;
  }
}
@media (max-width: 560px) {
  #under_mv .under_mv_txt .under_h1_other {
    font-size: 20px;
  }
}

#under_mv .under_mv_txt .under_h1_other:before {
  content: "";
  height: 220px;
  top: -40px;
  border-width: 6px;
}
@media (min-width:561px) and (max-width: 1279px) {
  #under_mv .under_mv_txt .under_h1_other:before {
    height: 200px;
    border-width: 4px;
  }
}
@media (max-width: 560px) {
  #under_mv .under_mv_txt .under_h1_other:before {
    height: 140px;
    border-width: 4px;
    top: -25px;
  }
}

#under_lead .under_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  padding: 5% 2%;
}
@media (max-width: 560px) {
  #under_lead .under_list {
    display: block;
  }
}

#under_lead .under_list li {
  width: 20%;
  position: relative;
}
@media (max-width: 560px) {
  #under_lead .under_list li {
    width: 100%;
  }
}

#under_lead .under_list li .under_list_img::before {
  content: "≫";
  font-weight: bold;
  position: absolute;
  font-size: 42px;
  color: #171f6b;
  top: 70%;
  right: -32%;
  -webkit-transform: translateY(-70%);
          transform: translateY(-70%);
}
@media (min-width:561px) and (max-width: 1279px) {
  #under_lead .under_list li .under_list_img::before {
    font-size: 28px;
    top: 80%;
  }
}
@media (max-width: 560px) {
  #under_lead .under_list li .under_list_img::before {
    display: none;
  }
}

#under_lead .under_list li:last-of-type .under_list_img:before {
  content: "";
}

#under_lead .under_list li p {
  height: 40%;
  padding: 5% 0;
}
@media (min-width:561px) and (max-width: 1279px) {
  #under_lead .under_list li p {
    font-size: 14px;
    height: 50%;
  }
}

@media (max-width: 560px) {
  #under_lead .under_list li .under_list_img {
    width: 50%;
    margin: 0 auto;
  }
}

/*==============================================
# touroku01
/*============================================*/
.yellow {
  background: yellow;
}

.p_padding {
  padding: 2% 0;
}

#kaisetsu .under_h3,
#under_lead .under_h3 {
  background: transparent;
  color: #3e3e3e;
  border-bottom: 3px solid #171f6b;
  padding: 0;
  margin: 0;
  height: auto;
  margin: 2% 0;
}
#kaisetsu .under_h3::before,
#under_lead .under_h3::before {
  display: none;
}
#kaisetsu .under_h3::after,
#under_lead .under_h3::after {
  display: none;
}

.table_design {
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  max-width: 700px;
  text-align: center;
  margin: 3% auto 3%;
}

.table_design th, .table_design td {
  border: 2px solid #8d92bc;
  padding: 1em;
}

.table_design thead th {
  background-color: #171f6b;
  color: #fff;
  border: 2px solid #171f6b;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.table_design thead th:last-of-type {
  border-right: 2px solid #171f6b;
}

.table_design tbody th {
  color: #171f6b;
  font-weight: bold;
  text-align: center;
}

@media screen and (max-width: 787px) {
  .table_design {
    text-align: left;
  }
  .table_design thead {
    display: none;
  }
  .table_design th, .table_design td {
    display: block;
    border: 0;
    border-bottom: 2px solid #e6f1f6;
  }
  .table_design tbody th {
    background: #171f6b;
    color: #fff;
  }
  .table_design td::before {
    content: attr(data-label);
    color: #171f6b;
    font-weight: bold;
    display: inline-block;
    width: 20%;
    min-width: 4em;
  }
}
h4 {
  position: relative;
  padding: 1% 0 1% 20px;
  font-size: 18px;
}

h4::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #171f6b;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%) rotate(-45deg);
          transform: translateY(-50%) rotate(-45deg);
}

.table_design2 {
  border-collapse: collapse;
  width: 100%;
  max-width: 700px;
}

.table_design2 tbody {
  margin: 0 auto;
}

.table_design2 th, .table_design2 td {
  border: 2px solid #3e3e3e;
  background-color: #eeeeee;
  padding: 1em;
}

.table_design2 th {
  color: #3e3e3e;
  font-weight: bold;
  text-align: center;
  border-right: 2px solid #3e3e3e;
  background: #eeeeee;
  width: 20%;
  min-width: 4em;
}

.circle {
  color: #171f6b;
}

.link_red {
  font-weight: bold;
  color: #960f32;
  border-bottom: 1px solid #960f32;
}
.link_red:hover {
  opacity: 0.7;
}

.h4_b {
  font-weight: bold;
  padding: 2% 3%;
  color: #171f6b;
}

@media (max-width: 560px) {
  #under_lead .lead_box_res {
    padding: 0.5em 0em;
  }
}

.table_design2 tbody tr th {
  background: #ccc;
  color: #3e3e3e;
}

.padding_b {
  padding-bottom: 5%;
}

.under_sitemap_link {
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.under_sitemap_link:hover {
  opacity: 0.7;
}

.under_sitemap {
  width: 70%;
  margin: 0 auto;
}

.under_sitemap p {
  padding: 1% 0;
}

#form tbody{
    display: block;
}
#form tr{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}
#form table.form_table th{
    width: 50%;
}
#form table.form_table td{
    width: 50%;
}