/* Reset CSS
---------------------------------------------------*/
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, address, img, dl, dt, dd, ol, ul, li, form, label, legend, table, caption, tbody, tr, th, td, article, aside, footer, header, nav, section {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}
footer, header, menu, nav, section {
    display: block;
}
ol, ul {
    list-style: none;
}
img {
    vertical-align: bottom;
    max-width: 100%;
    height: auto;
}
a,button {
    text-decoration: none;
    cursor: pointer;
    color: #260808;
}
.red {
    color: #841A1A;
}
input[type="checkbox"] {
    transform: scale(1.3); 
    -ms-transform: scale(1.3); 
    -webkit-transform: scale(1.3); 
    padding: 10px;
    margin-right: 10px;
}
textarea {
  resize: vertical;
}

input[type='submit'],
input[type='button'],
label,
button,
select {
  cursor: pointer;
}
/* Fonts
---------------------------------------------------*/
body {
    font-family: 'Noto Sans JP', sans-serif;
}

/* ALL
---------------------------------------------------*/
html {
    background-color: #fff;
    color: #1D2088;
    overflow-y: scroll;
    height: 100vh;
/*    scroll-behavior: smooth;*/
}
body {    
    margin: 0 auto;
    width: 100%;
    line-height: 1.6;
    overflow: hidden;
    max-width: 1366px;
    position: relative;
}
a {
    color: #1D2088;
}
a:hover {
    color: #1D2088;
/*    opacity: 0.7;*/
}
.spOnly {
    display: none;
}
h2 {
    font-size: 80px;
    text-align: center;
    margin-bottom: 50px;
}
h3 {
    font-size: 36px;
    margin-bottom:30px;
}
section {
    padding: 50px 5% 0;
}
.inner {
    max-width: 90%;
    margin: 0 auto;
}
/* header
---------------------------------------------------*/
header {
    background: #DDDDED;
    padding: 1em 0;
    position: fixed;
    width: 100%;
    max-width: 1366px;
    z-index: 100;

}
.headerInner {
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navList {
    display: flex;
    justify-content: center;
}
.navItem {
    font-size: 26px;
    margin: 0 0.5em;
    font-weight: bold;
}
#nav_toggle {
    display: none;
}
/* mainvisual
---------------------------------------------------*/
.mainVisual {
    background: url(images/mainvisual.png) no-repeat;
    background-position: right bottom;
    min-height: 600px;
    position: relative;
    padding-top: 100px;
}
.mainvisual h1 {
    font-size: 36px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding-left: 5%;
}

/* service
---------------------------------------------------*/
#service {
    padding-top: 70px;
}
.service-subtxt {
    margin: 50px 0;
    font-size: 22px;
}
.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.service-listItem, .service-item {
    background: #1D2088;
    padding: 1.8em 0.5em;
    color: #fff;
    margin: 0.5em 0;
    border-radius: 10px;
    font-size: 18px;
    text-align: center;
}
.service-listItem {
    width: 16.5%;
}
#service img {
    margin: 0 auto;
    width: 100%;
}
.order-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.order-listItem {
    background: #F8F8F8;
    padding: 30px 30px 0;
    width: 360px;
    margin: 10px;
}
.order-listItem dl {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 348px;
}
.order-no {
    font-size: 30px;
    font-weight: bold;
    text-align: right;
}
.order-ttl {
    font-size: 30px;
    font-weight: bold;
    flex-grow: 1;
}
.order-dtl {
    font-size: 18px;
    flex-grow: 1;
}
/* company
---------------------------------------------------*/
.company-table {
    width: 90%;
    margin: 30px auto;
    font-size: 1.3rem
}
.company-table th {
    padding: 20px;
    width: 25%;
    border-bottom: 2px solid #1D2088;
    vertical-align: middle;
}
.company-table td {
    border-bottom: 2px solid #1D2088;
    padding: 20px;
}
/* contact
---------------------------------------------------*/
.contact {
    border: 2px solid #1D2088;
    padding: 0.5em 0;
    width: 520px;
    margin: 100px auto;
    font-size: 35px;
    text-align: center;
    display: block;
}
.contact:hover {
    background: #1D2088;
    color: #fff;
}
/* footer
---------------------------------------------------*/
footer {
    background: #f8f8f8;
    text-align: center;
    padding: 50px 5% 10px;
}
.ftContents {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right;
}
.privacy {
    font-size: 20px;
    padding-right: 10px;
}
/*================================================
privacy policy
*/
#privacy header {
    padding: 1em 5%;
    box-sizing: border-box;
}
#policy hr {
    margin:0 0 40px;
}
#policy h2 {
    font-size: 40px;
    text-align: center;
    letter-spacing: 0.1em;
    color: #1D2088;
    padding-top: 136px;
    font-family: 'Raleway', sans-serif;
    margin-top: 0;
}
#policy h3 {
  font-size: 22px;
  color: #1D2088;
  padding-bottom: 40px;
}
#policy h3:first-of-type {
  padding-top: 10px;
}
#policy h4 {
  font-size: 16px;
  margin: 1.3em 0 0.8em;
}
#policy h4:first-of-type {
  margin: 0 0 0.8em;
}
#policy p {
  font-size: 14px;
  line-height: 1.5em;
}
#policy a.pdf {
  color: #C30D23;
}

#policy .indent {
  text-indent: 1em;
}
#policy .indent-1 {
  padding-left:1em;
  text-indent:-1em;
}
#policy .indent-2 {
  padding-left:1.5em;
  text-indent:-1.5em;
}
#policy .number {
  padding-top: 0.7em;
}
#policy .signature {
  padding-top: 2em;
  margin-bottom: 40px;
}
#policy .inner_box {
  display: inline-block;
  line-height: 1.6em;
  margin: 20px 0 40px;
}
#policy .inner_box:last-of-type {
  margin: 20px 0;
}
#policy table {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
  font-size: 14px;
  color: #333;
}
#policy th {
  background: #ddd;
  font-weight: normal;
}
#policy th,
#policy td {
  padding: 0.7em;
  border: 1px solid #333;
}
#privacy footer {
    margin-top: 50px;
}
/*================================================
contact
*/
/* contact_form */
#contact h2 {
    font-size: 40px;
    text-align: center;
    letter-spacing: 0.1em;
    color: #1D2088;
    padding-top: 136px;
    font-family: 'Raleway', sans-serif;
    margin-top: 0;
}
form#frm {
  margin: 0 auto;
  width: 55%;
}
p.section_first_text {
    text-align: center;
    margin: 40px auto;
}
.form_box {
  display: flex;
  justify-content: center;
}
.form_wrap {
  width: 100%;
}
table.form_row {
    width: 100%;
}
.form_row th {
  text-align: left;
  vertical-align: middle;
  width: 100%;
  font-weight: 600;
  color: #1D2088;
}
.form_row td {
    padding: 1em 0;
    width: 100%;
    color: #000;
}
.form_row label {
  margin-right: 1.5em;
  vertical-align: text-bottom;
}
.form_row .agree_privacy label {
  vertical-align: middle;
}
label input {
  margin-right: 0.6em;
  width: 1.1em;
  height: 1.1em;
  vertical-align: middle;
}
input {
  font-size: 1em;
  border: none;
  border-bottom: 1px solid #1D2088;
  outline: none;
  vertical-align: top;
  padding: 0 0 3px 0.2em;
  width: 100%;
}
textarea {
  width: 100%;
  resize: vertical;
  outline: none;
  border-radius: 2px;
  box-sizing: border-box;
  border-color: #1D2088;
}
input:focus::placeholder {
  color: transparent;
}
input:focus::-webkit-input-placeholder {
  color: transparent;
}
input:focus::-moz-placeholder {
  color: transparent;
}
input:focus::-ms-input-placeholder {
  color: transparent;
}
input::placeholder {
    color: rgba(21,53,102,0.35);
}
input::-webkit-input-placeholder {
    color: rgba(21,53,102,0.35);
}
input::-moz-placeholder {
    color: rgba(21,53,102,0.35);
}
input:-ms-input-placeholder {
    color: rgba(21,53,102,0.35);
}
td.agree_privacy {
  padding: 1em 0 4em 0;
}
.agree_privacy a {
  border-bottom: 1px solid #153566;
  color: #666;
}
.submit {
  text-align: center;
}
.submit,
.button2 {
  margin-bottom: 4em;
}
.submit_button {
  display: inline-block;
  padding: 1em 4.5em;
  background: #fff;
  border: 1px solid #1D2088;
  border-radius: 4px;
  color: #1D2088;
  cursor: pointer;
}
.submit_button:hover {
  background: #1D2088;
  border: 1px solid #1D2088;
  color: #fff;
  transition: .3s;
}
/* contact_confirm */

.form_red {
  color: #5cd9d9;
  font-size: 13px;
  padding-bottom: 0.7em;
}
.form_row.confirm td {
  padding: 1em 0;
  width: 30em;
  word-break: break-all;
}
p.confirm {
  text-align: center;
  padding: 1em 0 2.5em;
  font-size: 1.05em;
}
.button2 {
  text-align: center;
}
.back_button {
  display: inline-block;
  padding: 1em 4.5em;
  margin-right: 2em;
  background: #3A3A64;
  border: 1px solid #3A3A64;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
}
.back_button:hover {
  background: #1D2088;
  border: 1px solid #1D2088;
  color: #fff;
  transition: .4s;
}
/* contact_complete */
.form_wrap.complete {
  display: block;
  padding-top: 1em;
}
.form_wrap.complete .text_box {
  text-align: center;
}
.form_wrap.complete .text_box .complete {
  display: block;
  font-size: 1.4em;
  text-align: center;
}
.form_wrap.complete .text_box .text {
  display: inline-block;
  padding: 2em 0 4em;
  line-height: 1.5em;
}
.contact_btn a {
    color: #fff;
}
/* contact_error */
p.section_first_text.error {
  display: block;
  text-align: center;
  padding: 1em 0;
  margin: 0 auto 1.3em;
  border: 0.1px solid #fff;
  width: 655px;
}
/* responsive
---------------------------------------------------*/

@media screen and (max-width: 768px){
    section {
        padding: 30px 5%;
    }
    .inner1080 {
        max-width: 90%;
    }
    .pcOnly {
        display: none;
    }
    .spOnly {
        display: block;
    }
    h2 {
        font-size: 40px;
        margin-bottom: 50px;
    }
    h3 {
        font-size: 18px;
        margin-bottom:30px;
    }
    nav{
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(22,23,70,0.8);
    }
    .navList {
        display: block;
        margin: 0 auto;
        width: 90%;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        font-size: 150%;
    }
    .navItem {
        margin: 16vh auto;
        text-align: center;
        font-size: 36px;
    }
    header nav ul li a{
        display: block; 
        color: #fff;
    }
    #nav_toggle{
        display: block;
        width: 40px;
        height: 40px;
        position: relative;
        top: 12px;
        z-index: 100;
        padding-right: 5%;
    }
    #nav_toggle div {
        position: relative;
    }
    #nav_toggle span{
        display: block;
        height: 3px;
        background: #1D2088;
        position:absolute;
        width: 100%;
        left: 0;
        -webkit-transition: 0.5s ease-in-out;
        -moz-transition: 0.5s ease-in-out;
        transition: 0.5s ease-in-out;   
    }
    #nav_toggle span:nth-child(1){
        top:0px;
    }
    #nav_toggle span:nth-child(2){
        top:12px;
    }
    #nav_toggle span:nth-child(3){
        top:24px;
    }
    .open #nav_toggle span {
        background: #fff;
    }
    .open #nav_toggle span:nth-child(1) {
        top: 12px;
       -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        transform: rotate(135deg);
    }
    .open #nav_toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav_toggle span:nth-child(3) {
        top: 12px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }
    .mainVisual {
        background-position: center bottom;
        background-size: contain;
        min-height: 500px;
        padding-top: 0;
    }
    .mainvisual h1 {
        font-size: 20px;
        top: 100px;
        transform: inherit;
    }
    #service {
        padding-top: 50px;
    }
    .service-subtxt {
        margin: 30px 0;
        font-size: 14px;
    }
    .service-listItem, .service-item {
        border-radius: 5px;
        font-size: 14px;
    }
    .service-listItem {
        width: 44.3%;
    }
    .order-list {
        display: block;
    }
    .order-listItem {
        padding: 20px 30px 30px;
        width: 100%;
        margin: 10px 0;
        height: 250px;
        box-sizing: border-box;
    }
    .order-listItem dl {
        min-height: 250px;
        display: block;
    }
    .order-ttl {
        font-size: 20px;
        margin: 0 0 1em;
    }
    .order-dtl {
        font-size: 16px;
    }
    .company-table {
        width: 100%;
        margin: 30px auto;
        font-size: 14px;
    }
    .contact {
        padding: 0.5em 0;
        width: 80%;
        margin: 50px auto 100px;
        font-size: 25px;
    }
    .ftContents {
        margin-bottom: 30px;
        display: block;
        text-align: center;
    }
    .ftContents .logo {
        margin-bottom: 1em;
    }
    form#frm {
        width: 100%;
    }
    .back_button {
        margin: 1em 0;
    }
}

