body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.body-container {
  margin: auto ;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: .5rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--bs-heading-color);
}
.h1, h1 {
  font-size: calc(1.375rem + 1.3vw);
	text-align: center;
}
.h2, h2 {
  font-size: calc(1.25rem + .9vw);
  font-weight: 400;
}
.h3, h3 {
  font-size: calc(1.1rem + .6vw);
  line-height: calc(1.1rem + .6vw);
}
.h4, h4 {
  font-size: calc(.95rem + .3vw);
  line-height: calc(1.1rem + .3vw);
  font-weight: 400;
}
.small, small {
  font-size: .69em;
  color: rgb(103, 105, 112);
}
.sub-title p {
  font-size: 16px;
	text-align: center;
}
a, a:visited, a:hover, a:link {
  color: inherit;
  text-decoration: none;
}
ol, ul {
  padding-left: 1rem;
}
img {
  width: 100%;
  height: auto;
}

.form-container {
  margin: auto;
  padding: 1.5rem;
}

#logo {
  width: fit-content;
  margin: auto;
  height: auto;
}
#logo img {
  max-width: 200px;
}
.headerGlobalInner ul li a {
	margin: 0;
}


form {
	background-color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	height: 100%;
	text-align: center;
}

input {
	background-color: #eee;
	border: none;
	padding: 12px 15px;
	margin: 8px 0;
	width: calc(50% - 15px);
}

.form-wrapper form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 15px;
}

.address-container {
  width: 100%;
  display: grid;
  grid-template-areas:  
    "sign postCode graySign"
    "address1 address1 address1"
    "address2 address2 address2";
  grid-template-columns: 30px 160px auto;
  align-items: center;  
  grid-row-gap: 15px;
}
.address-container .post-sign {
  grid-area: sign;
  text-align: left;
}

.address-container .posteCode {
  grid-area: postCode;
  width: calc(45% - 30px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 15px;
}
.address-container .address-info {
  grid-area: graySign;
  background-color: #bababa;
  height: fit-content;
  padding: 7px;
  font-size: 11px;
  border-radius: 10px;
  margin-left: 15px;
  width: fit-content;
}
.address-container .address1 {
  grid-area: address1;
  width: 100%;
}
.address-container .address2 {
  grid-area: address2;
  width: 100%;
}
.address-container label.address input {
  width: 100%;
}
input.p-postal-code {
  width: 100%;
}
#footer {
  background-color: #595757;
  padding: 1rem 0;
  text-align: center;
  letter-spacing: 1px;
  width: 100%;
}
address {
  padding: 0;
  color: #fff;
  font-size: 10px;
  margin: 0;
}
.orders-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  column-gap: 30px;  
  padding: 12px 15px;
  margin: 8px 0;
  width: 100%;
}
.orders-wrapper input {
  margin-top: 15px;
}

.orders-wrapper .form-check-inline, .orders-wrapper .form-check-inline input {
  margin: 0;
  padding: 0;
}

.orders-wrapper .form-check-inline {
  display: flex;
  flex-direction: row;
  align-items: center;
  column-gap: 5px;
}
.success-message {
  text-align: center;
  font-size: 20px;
  padding: 25px;
  color: #E08D55;
}

.form-check-input:checked {
  background-color: #E08D55;
  border-color: #E08D55;
}

div#submit {
  width: 100%;
  padding-top: 40px;
  display: flex;
  justify-content: center;
}

div#submit button {
  border-radius: 4px;
  border: 1px solid rgb(18, 18, 18);
  color: rgb(18, 18, 18);
  font-size: 12px;
  font-weight: bold;
  padding: 12px 45px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 80ms ease-in;
  background-color: white;
  max-width: 250px;
  width: 100%;
}


.import-file {
  border: none;
  padding: 0 15px 12px 0;
  margin: 0 0 8px 0;
  display: flex;
  width: 100%;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
  color: black;
}
.form-group {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  column-gap: 10px;
  width: 100%;
  margin: 0;
  padding: 1rem 0;
  align-items: center;
}
.form-group.file-input {
  justify-content: center;
  padding: 0;
}
.form-group.file-input label {
  min-width: auto;
  margin: auto;
  justify-content: center;
}
.import-file label {
  width: 140px;
  text-align: left;
  height: fit-content;
}

.input_attachments {
  display: none; /* hide the ugly default input */
}
.custom-file-label {
  display: inline-block;
  padding: 10px 20px;
  color: black;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
    border: 1px solid rgb(18, 18, 18);
}
#fileUploadLabel.uploaded {
 background-color: #eee;
 min-width: unset;
}
#fileList {
  width: calc(100% - 140px);
}
.title-wrapper {
  padding: 25px;
  text-align: center;
}
.title-wrapper, form, .sucess-wrapper, .failure-wrapper {
  max-width: 800px;
  margin: auto;
}


.form-group label {
  width: 100%;
  position: relative;
  margin-bottom: 0;
  display: flex;
  column-gap: 10px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.radio-group {
  display: flex;
  width: fit-content;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 35px;
  justify-content: flex-start;
  padding: 10px 0px;
  background-color: white;
  width: 100%;
}

.radio-group .radio-option {
  width: fit-content;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
  column-gap: 5px;
}

input {
  width: 100%;
  padding: 10px 12px;
}
input, textarea, select {
  border-radius: 2px;
  border: 1px solid #dcd5cf;
  color: #534842;
  background: #ffffff;
  font-size: max(1rem, 16px);
  box-shadow: 0 1px rgba(231, 226, 222, .25) inset;
  transition: border-color .2s ease-in-out, box-shadow .2s ease-in-out, color .2s ease-in-out;
}
select {
  padding: 10px 12px;
}
input[type=checkbox], input[type=radio] {
  display: block;
  margin: auto;
  height: 100%;
  width: fit-content;
}
textarea {
  width: calc(100% - 270px);
  min-height: 150px;
  max-height: 450px;
  padding: 10px 12px;
}
.radio-group .radio-option label {
  margin-bottom: 0;
  min-width: unset;
}

.input_required:after {
  content: "\5fc5\9808";
  display: block;
  position: relative;
  padding: 3px;
  font-size: .6em;
  background-color: #db4f4a;
  color: #fff;
  width: 27px;
  margin-top: 3px;
}

.product-input-wrapper {
  padding: 2vw 0;
}

input[type="tel"] {
  width: 100%;
}
.form-check-input[type=radio] {
  width: 16px;
  height: 16px;
  padding: 0;
}
.form-check-input:checked[type=radio] {
  background-color: #E08D55;
  border-color: #E08D55;
    --bs-form-check-bg-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e);
}
.form-group.address-group label {
  height: 56px;
  align-self: flex-start;
}
.address-container p {
  grid-area: graySign;
  text-align: left;
  margin-left: 20px;
  margin-bottom: 0;
}
@media screen and (min-width: 530px) {
  .top-nar h1, #header_nav li, #header_nav li a {
		font-size: 12px;
    color: white;
    text-decoration: none;
  }
  .department-offer {
    grid-template-areas:
    "photo head"
    "body body";
    grid-template-columns: 45.9% 54.10%;
  }
  .application-head {
    padding: 23px 18px 19px 17px;
    border-top-right-radius: 15px;
  }
  .nav-sub-group {
    padding-left: 0;
  }
}
@media screen and (min-width: 992px) {
  .small, small {
      font-size: .725em;
  }
	.body-container {
		max-width: 1600px;
	}
	.h2, h2 {
		font-size: calc(1.29rem + .7vw);
		line-height: calc(1.29rem + .7vw);
	}
	.h3, h3 {
		font-size: calc(1.0rem + .6vw);
		line-height: calc(1.0rem + .6vw);
	}
	.card-line {
		flex-direction: row;
	}
  .form-group {
    flex-direction: row;
  }
  input {
    width: calc(100% - 270px);
  }
  .address-container {
    width: calc(100% - 270px);
  }  
  input[type="tel"] {
    width: calc(75% - 270px);
  }
  .form-group label {
    min-width: 260px;
      width: unset;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
  .radio-group {    
    width: calc(100% - 270px);
    flex-direction: row;
  }
  .radio-group .radio-option {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    column-gap: 5px;
  }
  .form-group.file-input label {
    justify-content: flex-start;
  }
  .address-container {
    grid-template-areas:
      "sign postCode pwette"
      "graySign graySign graySign"
      "address1 address1 address1"
      "address2 address2 address2";
  }
} 

@media screen and (min-width: 1400px) {
  h1, .h1 {
    font-size: 40px;
  } 
  .sub-title p {
    font-size: 14px;
    text-align: center;
  }
}