@charset "utf-8";
/* CSS Document */

/* reset *************************************************************/
body {line-height:1; margin:0; font-family:arial,sans-serif;}
h1, h2, h3, h4, h5, h6, p {margin:0; font-weight:normal; display:block;}
article,footer,header {display:block;}
ul,li {list-style:none; padding:0;margin:0;}
dl,dt,dd {padding:0; margin:0;}
table,tr,td {border:0;padding:0;margin:0;}
a {color:#3c68c3;}
img {vertical-align:baseline; border:0; padding:0; margin:0;}
div {margin:0;padding:0;}
button {background: transparent;border: 0; outline: none;}
/* //reset *************************************************************/

*{
  box-sizing: border-box;
}
body,html {
  height: 100%;
}
html {
  font-size: 62.5%;
}
body {
  font-size: 1.5rem;
  color: #3c3b3b;
  line-height: 1.7;
  background: #fff;
  font-family:-apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
}
p {
  margin-top: 2.816%;  
}
img {
  max-width: 100%;
  width: auto !important;
  height: auto !important;
  margin:0 auto;
  vertical-align: bottom;
}

#wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#header {
  position: relative; 
  background: url("../img/bg.jpg") no-repeat bottom center;
  background-size: cover;
}
#header:after {
  content: "";
  display: block;
  position: absolute;
  top: 100%;
  width: 100%;
  background: url(../img/dot.png);
  height: 29px;
}
#header .inner {
  position: relative;
  padding: 60px 0;
}
#header .box {
  text-align: center;
}

h1 {
  margin: 0;
}

.bana {
  position: relative;
  text-align: center;
  margin-top: -40px;
  x-index: 999;
}
.bana img {
  max-width: 60%;
  margin: 10px;
}
#footer .bana {
  margin: 30px 0 60px;
}


/***************************/

.inner {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
}

em {
  font-weight: bold;
  color: #ff8a8a;
  font-style: normal;
}

section.inner {
  margin: 80px auto;
}
.about {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.about li {
  display: flex;
  flex-direction: column;
  max-width: 31%;
}
.about li span {
  display: block;
  margin-bottom: 20px;
  text-align: center;
  line-height: middle;
  align-self: center;
  flex-grow: 1;
}
.about li div {
  position: relative;
}
.about li div:before {
  display: block;  
  content: url("../img/flow.png");
  position: absolute;
  top: 50%;
  margin-top: -20px;
  left: -12%;
}
.about li:first-child div:before {
  display: none;
}

.image {
  position: relative;
  z-index: 999;
}


#footer {
  text-align: center;
  background-image: -webkit-linear-gradient(179deg, #2CD8BA 0, #7A69D6 99%);
  background-image: -o-linear-gradient(179deg, #2CD8BA 0, #7A69D6 100%);
  background-image: linear-gradient(269deg, #2CD8BA 0, #7A69D6 100%);
  color: #FFF;
}
#footer .inner {
  padding: 60px 0 30px;
  background: url("../img/logo.png") no-repeat center left;
}
#footer .inner span {
  font-size: 3.6rem;
}

#footer .copy {
  margin: 0 auto;
  text-align: center;
  font-size: 1.2rem;
}
#footer a {
  color: #FFF;
  text-decoration: none;
}

#footer li {
  display: inline-block;
  margin: 10px;
}
#footer li:before {
  content: "|";
  display: inline-block;
  margin-right: 20px;
}
#footer li:first-child:before {
  display: none;
  margin-right: none;
}

.center {
  text-align: center;
}


/*----------------------
　下層ページ
----------------------*/
.subpage header {
  padding: 10px;
  text-align: center;
  background-image: -webkit-linear-gradient(179deg, #2CD8BA 0, #7A69D6 99%);
  background-image: -o-linear-gradient(179deg, #2CD8BA 0, #7A69D6 100%);
  background-image: linear-gradient(269deg, #2CD8BA 0, #7A69D6 100%);
  color: #FFF;
}
.subpage header img {
  width: 240px !important;
  max-width: 40%;
}
.subpage section {
  margin: 4% auto;
  padding: 2%;
}

#content {
  margin-bottom: 60px;
}

.subpage h1 {
  margin: 4% 0;
  border-bottom: 1px solid #2CD8BA;
  font-weight: bold;
}
.subpage h2 {
  margin: 2% 0 1%;
}
.subpage h4 {
    margin-top: 2rem;
    font-weight: bold;
}
.subpage p {
    margin: 0 0 2rem 0;
}

ul.list {
  margin-top: 5px;
  counter-reset: num;  
}
ul.list > li {
  position: relative;
  counter-increment: num;
  margin-bottom: 10px;
  padding-left: 2rem;
}
ul.list > li:before {
  content: counter(num)"."; 
  display: inline-block;
  position: absolute;
  left: 0;
}

ol {
  margin-top: 5px;
  padding-left: 3rem;
}
ol li {
  margin-bottom: 5px;
  list-style-type: decimal;
}


dl.column { margin-top: 30px; }
dl.column dt {
	margin-bottom: 4px;
	font-size: 16px;
	font-weight: bold;
}
dl.column dd {
	overflow: hidden;
	margin-bottom: 30px;
}
dl.column dd p { margin-bottom: 1em; }
dl.column dd p:last-child { margin-bottom: 0; }

.circle {
  padding:0 0 0 1.5em;
}
.circle > li {
  list-style: circle;
}

dl p {
  margin: 0 0 30px 0;
}

table.tablePrice {
	border-collapse: inherit;
	border-spacing: 3px;
}
table.tablePrice th,
table.tablePrice td {
	padding: 15px 8px;
}
table.tablePrice th {
	background: #ececec;
	text-align: left;
}

.tcAccent { color: #f33; }

hr.breaking {
	height: 1px;
	border: none;
	border-top: 1px solid #ccc;
}

dl.term {
    display:flex;
    flex-wrap: wrap;
    border: 1px solid #4092BE;
    border-top: none;    
}
dl.term dt {
    width: 30%;
    padding: 10px;
    box-sizing: border-box;
    border-top: 1px solid #FFF; 
    background: #4092BE;
    color: #fff;
}
dl.term dt:first-child {
    border-top: 1px solid #4092BE;
}

dl.term dd{
    padding: 10px;
    margin: 0;
    border-top: 1px solid #4092BE;
    width: 70%;
    box-sizing: border-box;
}


@media screen and (max-width: 940px) {
  .about div {
    margin-bottom: 20px;
  }

  #content {
    padding: 0 2%;
  }

}


@media screen and (max-width: 760px) {
  #header .inner {
    padding: 10% 2%;
  }
  .bana {
    margin-top: -30px;
  }

  section.inner {
    margin: 60px auto;
  }
  .about {
    flex-direction: column;
    flex-wrap: wrap;
    padding: 0 2%;
    text-align: center;
  }
  .about li {
    position: relative;
    max-width: 100%;
    margin-bottom: 80px;
  }
  .about li:after {
    display: block;
    content: url("../img/flow.png");
    position: absolute;
    top: 100%;
    left: 50%;
    margin-top: 20px;
    margin-left: -20px;
    transform:rotate(90deg);
  }
  .about li:last-child {
    margin-bottom: 0;
  }
  .about li:last-child:after {
    display: none;
  }
  .about li div:before {
    display: none;
  }

  #footer .inner {
    padding: 10% 2%;
    background: url("../img/logo.png") no-repeat top 10% center;
  }

  #footer ul {
    margin-bottom: 20px;
  }

  #footer ul:after {
    clear: both;
    content: "";
    display: block;
  }

  #footer li {
    float: left;
    width: 48%;
    margin: 0;
  }
  #footer li:before {
    content: none;
    margin-right: 0;
  }

  #footer li a {
    display: block;
    padding: 10px;
  }

  dl.term {
    display:block;
    flex-wrap: nowrap;
  }
  dl.term dt {
    width: 100%;
  }
  dl.term dd{
    width: 100%;
  }
}

.margin-top-5px {
	margin-top: 5px !important;
}

.margin-top-10 {
	margin-top: 10px !important;
}

.margin-top-20 {
	margin-top: 20px !important;
}

.margin-top-30 {
	margin-top: 30px !important;
}

.margin-top-40 {
	margin-top: 40px !important;
}

.margin-btm-5 {
	margin-bottom: 5px !important;
}

.margin-btm-10 {
	margin-bottom: 10px !important;
}

.margin-btm-20 {
	margin-bottom: 20px !important;
}

.margin-btm-30 {
	margin-bottom: 30px !important;
}

.margin-btm-40 {
	margin-bottom: 40px !important;
}

body.m-modal-open {
    overflow: hidden;
}
.m-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f4f4f4;
    z-index: 999;
    overflow: hidden;
}

.m-modal-content {
    position: relative;
    background: white;
    box-sizing: border-box;
    width: calc(100% - 32px);
    max-width: 600px;
    margin: 100px auto;
    padding: 32px;
    animation: fadeIn 0.3s;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(102, 102, 102, .1);
    text-align: center;
}

.m-dialog-text {
    margin-bottom: 24px;
    font-size: 16px;
}
.m-confirm-age {
    font-size: 20px;
    color: #ff6161;
    margin-bottom: 12px;
}

ul.m-btn-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px 24px;
}
ul.m-btn-list li {
    list-style: none;
    width: calc(50% - 12px);
    max-width: 250px;
}
ul.m-btn-list li:first-child a {
    background-color: #ffffff;
    border: 1px solid #909090;
    font-size: 14px;
    color: #333333;
}
ul.m-btn-list li:last-child a {
    background-color: #0088ff;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
}
ul.m-btn-list li a {
    box-sizing: border-box;
    display: block;
    text-align: center;
    width: 100%;
    padding: 12px 6px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}