@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%;
    scroll-behavior:smooth;
}
body {
    font-size: 1.6rem;
    color: #232323;
    line-height: 2;
    font-family:-apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", sans-serif;
}
p {
    margin-top: 2.816%;
}
img {
    display: block;
    max-width: 100%;
    width: auto !important;
    height: auto !important;
    margin: 0 auto;
    vertical-align: bottom;
}

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

header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100vw;
    max-width: 100%;
    height: 880px;
    max-height: 100vh;
    background: url(../img/header_bg.jpg);
    background-size: cover;
    background-position: center 60%;
}

header .inner {
    width: 1200px;
    max-width: 100%;
    padding: 4%;
    text-align: center;
}

.logo {
    margin: 40px auto;
    width: 23.78% !important;
    max-width: 245px;
}

.sp {
    display: none;
}
h1 {
  margin: 0;
}
h2 {
    margin: 7.07% 0;
    font-size: 3.6rem;
    font-weight: bold;
    line-height: 1.3;
    text-align: center;
}
h2 span {
    display: inline-block;
}
h3 {
    font-size: 2.6rem;
    font-weight: bold;
    margin: 7.07% auto 3.53%;
    text-align: center;
}
h4 {
    margin: 4% auto 2%;
    text-align: center;
    font-weight: bold;
}

.image-margin {
    margin-bottom: 40px;
}

.btn {
    display: block;
    width: 400px;
    max-width: 80%;
    margin: 40px auto;
    padding: 20px;
    color: #FFF;
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.5;
    background-color:rgba(88,157,0,1);
    text-decoration: none;
    border: 1px solid #FFF;
    transition: 0.3s;
    cursor: pointer;
    text-align: center;
}
header .btn {
    margin-bottom: 0;
    background-color: rgba(88,157,0,0.7);
}
header .btn:hover,
.btn:hover {
    background-color: rgb(113,188,17,1);
}
.btn span {
    display: inline-block;
}


.logo-list {
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.logo-list li {
    width: 21%;
    margin: 0 2% 20px;
}

.about {
    background: #F7F4F2;
}

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

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

section {
    padding: 1px 0;
}
section .inner {
    margin: 0 auto;
    padding: 0 2% 7.07%;
    max-width: 1200px;
}

.about ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: -3.527%;
}

.about li {
    width: 32%;
    margin-bottom: 3.527%;
    background: #fff;
    border: 1px solid #BEBEBE;
    border-radius: 20px;
    overflow: hidden;
}
.about li h3 {
    margin: 0;
    position: relative;
}
.about li h3 span {
    display: block;
    width: 100%;
    margin: 0;
    padding: 4%;
    font-size: 2.6rem;
    line-height: 1;
    text-align: center;
    position: absolute;
    bottom: 0;
    color: #FFF;
}
.about li p {
    margin: 20px 5.17%;
}
.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;
}

.form table {
    width: 780px;
    max-width: 90%;
    margin: 0 auto;
    text-align: left;
    border-collapse: collapse;
}
.form th,
.form td {
    vertical-align: top;
}
.form th {
    width: 280px;
    padding: 7px 20px 7px 0;
}
.form td {
    width: 500px;
    padding: 0 0 20px;
}
#contact .btn {
    margin-top: 5.29%;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    padding: 15px;
    width: 100%;
    font-size: 1.6rem;
    border: 1px solid #C1C1C1;
}
input[type="button"] {
    cursor: pointer;
}
.er input,
.er select,
.er textarea {
    border: 2px solid #A82F2F !important;
}
.err_text {
    display: none;
    max-width: 780px;
    margin: -10px auto 20px;
    padding: 10px;
    text-align: center;
    background: #A82F2F;
    color: #FFF;
}

.any:before {
    display: inline-block;
    content: "任意";
    margin-right: 10px;
    padding: 0 10px;
    color: #2C2C2C;
    border: 1px solid #2C2C2C;
}

.required:before {
    display: inline-block;
    content: "必須";
    margin-right: 10px;
    padding: 0 10px;
    color: #FFF;
    background: #D9534F;
}
.form td {
    padding: 10px 0 20px;
}

.form select {
    position: relative;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
    background: #FFF;
}
.form select:after {
    content: "▼";
    display: block;
}

.form .btn {
    margin: 0 auto;
}
.btn-main {
  text-align: center;
}
#BtConfirm,
.btn a {
  display: block;
  color: #FFF;
  cursor: pointer;
  text-align: center;
}
.cancel,
#BtConfirm {
    display: inline-block;
    width: 340px;
    max-width: 80%;
    margin: 40px auto;
    padding: 20px;
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.5;
    background-color:rgba(88,157,0,1);
    text-decoration: none;
    border: 1px solid #589C00;
    transition: 0.3s;
    cursor: pointer;
    text-align: center;
}
#BtConfirm {
  color: #FFF;
}
.btn-half {
    width: 100%;
    border: none;
    text-align: center;
}
.btn-half a,
.btn-half #BtConfirm {
    width: 240px;
    margin: 0 10px;
    max-width: 48%;
    display: inline-block;
    cursor: pointer;
}
.cancel {
    border: 1px solid #1F2C5C;
    background: #d1d1d1;
    color: #5b5b5b;
}
.cancel::after {
    display: none !important;
}

.btn-frame {
    border: 1px solid #FFF;
}
.btn-frame a {
    color: #FFF;
}
.btn-frame a:hover {
    background: #FFF;
    color: #2C2C2C;
}

#ContactConfirm {
	display:none;
}
#ContactConfirm #ContactTable {
    margin-bottom: 30px;
}
#ContactConfirm td {
    margin-bottom: 10px;
    padding: 10px 0;
}

table p:first-child {
    margin-top: 0;
}



#footer {
    margin-top: 40px;
    text-align: center;
    color: #FFF;
    background: #42210B;
}
#footer .inner {
  padding: 40px 20px;
}
#footer .inner span {
  font-size: 3.6rem;
}

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

#footer li {
    position: relative;
    display: inline-block;
    padding: 10px;
}
#footer li:before {
    position: absolute;
    content: "|";
    left: -3px;
    display: inline-block;
}
#footer li:first-child:before {
  display: none;
  margin-right: none;
}

.center {
  text-align: center;
}


/*----------------------
　下層ページ
----------------------*/
.subpage header {
    padding: 3% 0;
    height: auto;
    max-height: 300px;
    background-position: center 80%;
}
.subpage header img {
    width: 240px !important;
    max-width: 60%;
}
.subpage header .box {
    padding: 0;
}
#contact table.confirmation th,
#contact table.confirmation td {
    padding: 10px 0;
}
#contact table.confirmation td {
    padding-left: 20px;
    border-left: 1px solid #C1C1C1;
}

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;
}


.subpage h3 {
    margin: 4% 0 0;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.3;
    text-align: left;
}

.subpage p {
    margin: 0 0 1rem;
}


@media screen and (min-width: 1024px) {

}


@media screen and (max-width: 940px) {
    .logo {
        margin: 40px auto;
        width: 245px !important;
        max-width: 245px;
    }
    h2 {
        font-size: 2.8rem;
    }
    h3 {
        font-size: 2.2rem;
    }
    #contact table {
        width: 100%;
        max-width: 100%;
    }
    #contact table th,
    #contact table td {
        display: block;
        width: 100%;
    }
    #contact table th {
        padding: 0 0 0 10px !important;
        border-left: 5px solid #42210B;
    }
    #contact table td {
        padding: 10px 0 30px !important;
    }

    #contact table.confirmation th {
        padding: 0;
    }
    #contact table.confirmation td {
        border-left: none;
    }
    .center {
        text-align: left;
    }
    .center br {
        display: none;
    }
}


@media screen and (max-width: 640px) {
    h2 {
        font-size: 2.4rem;
    }
    h3 {
        font-size: 1.8rem;
    }
    .about li {
        width: 100%;
    }
    .about li img {
        width: 100% !important;
        max-width: auto;
    }

    .logo-list li {
        width: 31%;
        margin: 0 1% 20px;
    }
    .btn-half a,
    .btn-half #BtConfirm {
      width: 44%;
      margin: 0 2%;
      font-size: 1.6rem;
    }
}
@media screen and (max-width: 480px) {
    #footer ul {
        display: block;
        margin-bottom: 30px;
    }
    #footer li {
        display: block;
        padding: 0;
    }
    #footer li:before {
        display: none;
    }
    dl.term {
        display:block;
        flex-wrap: nowrap;
    }
    dl.term dt {
        width: 100%;
    }
    dl.term dd{
        width: 100%;
    }
    .logo-list li {
        width: 48%;
        margin: 0 1% 20px;
    }

}
