@charset "utf-8";

/* reset */

/* http://meyerweb.com/eric/tools/css/reset/ 
v2.0 | 20110126
License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

p {
  -webkit-margin-before: 0em;
  -webkit-margin-after: 0em;
}

/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

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

* {
  box-sizing: border-box;
}

/* reset */

html {
  font-size: 62.5%;
  width: 100%;
  box-sizing: border-box;
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Meiryo, メイリオ, Osaka, "MS PGothic", arial, helvetica, sans-serif;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover,
a:hover img {
  opacity: 0.9;
}
img {
  display: block;
  width: 100%;
}

.inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}
.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}
header .description {
  font-size: 14px;
  margin: 0;
  max-width: 100%;
  color: #cd515f;
  text-align: right;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 1rem;
  line-height: 1;
}
header .description .senmonkikan {
  font-size: 12px;
  color: #333;
}
.explanation p {
  max-width: 400px;
  padding: 1rem;
}

.align-center {
  align-items: center;
  -webkit-align-items: center;
}

.flex-start {
  align-items: flex-start;
  -webkit-align-items: flex-start;
}

.flex-end {
  align-items: flex-end;
  -webkit-align-items: flex-end;
}

.between {
  justify-content: space-between;
  -webkit-justify-content: space-between;
}

.around {
  justify-content: space-around;
  -webkit-justify-content: space-around;
}

.center {
  justify-content: center;
  -webkit-justify-content: center;
}

.wrap {
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
}

/*///////// header /*/
.reasonable {
  text-align: right;
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.reasonable img {
  max-width: 50px;
}
#attention {
  color: green;
  font-size: 1.5rem;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
}

header #address {
  font-size: 2rem;
  text-align: right;
}

.middle p {
  font-size: 2rem;
  line-height: 1.2;
}

header #address p:nth-child(2) a {
  color: #d64949;
  font-size: 3rem;
  font-weight: bold;
  margin: 1rem 0 0;
  display: inline-block;
}

.g-map {
  background-color: #146383;
  display: inline-block;
  padding: 0.5rem;
  border-radius: 50px;
  color: #fff;
  font-size: 1.2rem;
  vertical-align: bottom;
  margin: 0.5rem 0 0 0.5rem;
}

#gnav {
  background: rgb(255, 255, 255);
  background: -moz-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(243, 243, 243, 1) 50%, rgba(237, 237, 237, 1) 51%, rgba(255, 255, 255, 1) 100%);
  background: -webkit-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(243, 243, 243, 1) 50%, rgba(237, 237, 237, 1) 51%, rgba(255, 255, 255, 1) 100%);
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(243, 243, 243, 1) 50%, rgba(237, 237, 237, 1) 51%, rgba(255, 255, 255, 1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff', GradientType=1);
}

#gnav ul li {
  flex-basis: 25%;
  white-space: nowrap;
  box-sizing: border-box;
  border: 1px solid #ddd;
}

#gnav ul li a {
  display: block;
  padding: 1.5rem 0;
  font-size: 2rem;
  text-align: center;
  width: 100%;
  height: 100%;
  font-family: "Sawarabi Mincho";
  background: rgb(255, 255, 255);
  /* Old browsers */
  background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(243, 243, 243, 1) 50%, rgba(237, 237, 237, 1) 51%, rgba(255, 255, 255, 1) 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(243, 243, 243, 1) 50%, rgba(237, 237, 237, 1) 51%, rgba(255, 255, 255, 1) 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(243, 243, 243, 1) 50%, rgba(237, 237, 237, 1) 51%, rgba(255, 255, 255, 1) 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff', GradientType=0);
  /* IE6-9 */
}

#nav1 a {
  border-top: 5px solid #c3003a;
}

#nav2 a {
  border-top: 5px solid #3a546b;
  padding: 5px 0 !important;
}

#nav3 a {
  border-top: 5px solid #d5a02e;
}

#nav4 a {
  border-top: 5px solid #918d43;
}
#nav5 a {
  border-top: 5px solid #ddd;
}

.senmonkikan {
  text-align: right;
}

footer {
  background-color: #efefef;
  padding: 2rem 0;
}

footer .left {
  flex-basis: 70%;
  flex-grow: 1;
  flex-shrink: 0;
}

.headline {
  font-size: 2.5rem;
  text-align: center;
  background-color: #342c5d;
  color: #fff;
  margin: 0 auto 3rem;
  font-family: "Sawarabi Mincho";
  box-sizing: border-box;
  position: relative;
}

.headline p {
  padding: 2rem 0;
  line-height: 1.2;
}

.headline:before {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 50%;
  margin-left: -16px;
  border: 30px solid transparent;
  border-top: 30px solid #342c5d;
  z-index: 2;
}

.headline:after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 50%;
  margin-left: -16px;
  border: 30px solid transparent;
  border-top: 30px solid #342c5d;
  z-index: 1;
}

/* pagetop */

#page-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

#page-top a {
  width: 50px;
  padding: 30px 0;
  text-align: center;
  display: block;
}

#page-top a:hover {
  opacity: 1;
}

.standout　 {
  color: orange;
}

/* 見出し */

.main_heading {
  position: relative;
  padding: 10px 0;
  font-size: 20px;
  color: #fff;
  background: #325a8c;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  max-width: 1000px;
  margin: 1rem auto;
  line-height: 2;
  text-align: center;
}

.main_heading::before,
.main_heading::after {
  content: "";
  position: absolute;
  top: 100%;
  height: 0;
  width: 0;
  border: 5px solid transparent;
  border-top: 5px solid #1a3654;
}
.main_heading::before {
  right: 0;
  border-left: 5px solid #1a3654;
}
.main_heading::after {
  left: 0;
  border-right: 5px solid #1a3654;
}
.main_heading_br {
  display: none;
  height: 0;
}

.im_Message {
  text-align: center;
  margin: 0;
  font-size: 1.8rem;
  line-height: 3rem;
  background: rgb(255 255 255 / 65%);
  padding: 2.5rem;
  border: solid #3b546b 5px;
  max-width: 1000px;
  margin: 0 auto 3rem;
}
.im_Message h1 > span {
  font-weight: bold;
  letter-spacing: 0.2rem;
  line-height: 1.5;
  /*border-bottom: #d5a02f solid 3px;*/
  font-size: 1.8rem;
  /*background: #fff;*/
  padding: 0.5rem;
  display: block;
  margin: 1rem 0;
  font-family: toppan-bunkyu-midashi-go-std, sans-serif;
}

.im_Message h1 {
  padding: 2.5rem 0;
  text-align: center;
  font-weight: bold;
  font-size: 1.8rem;
}
.im_Message .ribbon1 {
  margin: 1rem auto;
  font-size: 2rem;
  line-height: 1.6;
  width: 28rem;
  height: 5rem;
}
.im_Message .ribbon1:after {
  border-color: transparent #e0e2f3 transparent transparent;
  border-width: 25px 15px 25px 0px;
}
.im_Message .ribbon1::before {
  border-color: transparent transparent transparent #e0e2f3;
  border-width: 25px 0px 25px 15px;
}
.im_Message .yumeno-tobira-course {
  padding: 0 0 2rem;
}
.im_Message .yumeno-tobira-course p {
  text-shadow: none;
}

.im_Message .suiran {
  color: #e40154;
}
.im_Message .kenso {
  color: #0e9123;
}
.im_Message .kaminan {
  color: #006fb6;
}
.im_Message .tana {
  color: #c3003a;
}
.fa-check:before {
  color: #c3003a;
}
.kenso_course {
  background: #d5a02f;
  padding: 2rem;
}
.kenso_course > .ribbon1 {
  background: #fff;
  color: #ec6330;
  letter-spacing: 0.2rem;
  font-size: 2.4rem;
  line-height: 1.4;
  font-weight: bold;
  margin: 1rem auto;
}
.kenso_course .muryoutaiken {
  color: #fff;
  text-align: left;
  margin: 2rem auto;
  line-height: 1.6;
}
.kenso_course > .ribbon1:after {
  border-color: transparent #d5a02f transparent transparent !important;
}
.kenso_course > .ribbon1:before {
  border-color: transparent transparent transparent #d5a02f !important;
}

.pc_none {
  display: none;
}
.sp_none {
  display: inline-block;
}

.btn-gradient-simple {
  display: inline-block;
  padding: 0.5em 1em;
  text-decoration: none;
  border-radius: 3px;
  font-weight: bold;
  color: #fff;
  background-image: linear-gradient(45deg, #709dff 0%, #b0c9ff 100%);
  background-image: linear-gradient(45deg, #b71c54 0%, #e13d7a 100%);

  transition: 0.4s;
  text-align: center;
  display: block;
  margin: auto;
  width: 28rem;
  font-size: 1.6rem;
  line-height: 2.2rem;
  margin: 1rem auto;
  font-weight: bold;
}

/*.btn-gradient-simple::before {
  content: "\f0a1";
  font-weight: 400;
  font-family: "Font Awesome 6 Free";
}*/

.class::before {
  display: none;
  font-family: "Font Awesome 5 Solid";
  content: "\f007";
}

.btn-gradient-simple:hover {
  opacity: 0.8;
}
.btn-gradient-simple span {
  font-size: 13px;
}

@media screen and (max-width: 768px) {
  body {
    padding: 0 0.5rem;
  }
  .explanation,
  .explanation p {
    margin: auto;
    padding: 0;
  }
  header h1 {
    max-width: 300px;
    margin: 0 auto;
  }
  header .description {
    text-align: center;
  }
  header #address {
    margin: auto;
    text-align: center;
  }

  header #address p:nth-child(2),
  header #address p:nth-child(3) {
    text-align: center;
  }

  header .flex {
    flex-wrap: wrap;
  }
  .reasonable {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
  }

  img {
    width: 100%;
    max-width: 100%;
  }
  .inner {
    width: 95%;
    margin: 0 auto;
  }

  #gnav ul li {
    flex-basis: 50%;
    margin: 0;
    border: none;
    box-shadow: none;
  }
  #gnav ul li a {
    width: 100%;
  }
  #nav1,
  #nav3 {
    border-right: 1px solid #ddd !important;
    box-sizing: border-box;
  }

  #address p:nth-child(2) {
    font-size: 0.5rem;
    margin-bottom: 1rem;
  }
  #price img {
    margin-bottom: 1rem;
  }

  .headline:before {
    left: 45%;
  }

  .headline:after {
    left: 45%;
  }
  .main_heading {
    font-size: 16px;
    width: 100%;
  }
  .main_heading_br {
    display: block;
  }
  .im_Message {
    font-size: 1.5rem;
    line-height: 2.5rem;
    text-align: left;
    padding: 1rem;
  }
  .im_Message span {
    letter-spacing: 0.1rem;
    line-height: 1.8;
    font-size: 1.6rem;
  }
  .kenso_course .muryoutaiken {
    text-align: left;
  }
  .pc_none {
    display: block;
  }
  .sp_none {
    display: none;
  }
  .senmonkikan {
    text-align: center;
  }
  #gnav ul #nav5 {
    flex-basis: 100%;
  }
}

@media screen and (max-width: 320px) {
  #gnav ul li a {
    font-size: 1.6rem;
  }
  .pc_none {
    display: block;
  }
}
