fieldset:first-of-type h3.ttl-sec.mgt-30 {
  margin-top: 0!important;
}

.ttl-sec{
  font-size: 1.25rem;
}

label.cmn-check{
  background-color: transparent;
  display: block;
  padding: 0.5em 0.75em 0.5em 2em;
}

label.cmn-check:last-child{
  margin-right: 0;
}

label.cmn-radio{
  display: block;
  background-color: transparent;
  padding: 0.5em 0.75em 0.5em 2em;
}

.cmn-txt {
  font-size: inherit;
}

input[type="file"]{
  display: none;
}

input[type="file"] + p{
  padding: 8px 30px;
  margin: 0.5em 0;
}

input[type="file"] ~ span{
  padding-left: 0.75em;
}

input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
textarea,.cmn-select .select,input[type="text"].js-datepicker{
  background-color: #f7f7f7;
  border-color: #cccccc;
  border-width: 2px;
  border-radius: 0;
}


@media (min-width: 1025px){
  input[type="text"].textbox_w70, input[type="email"].textbox_w70, input[type="password"].textbox_w70, input[type="tel"].textbox_w70 {
      width: calc(60px + 0.75em*2);
  }
}

input[type="text"], input[type="email"], input[type="password"], input[type="tel"] {
  padding: 0.5em 0.75em;
}

textarea{
  padding: 0.75em;
}

@media (min-width: 768px){
  .cmn-select{
    width: fit-content;
  }
}

.cmn-select{
  display: block;
}

.cmn-select .select{
  padding: 0.5em 2.15em 0.5em 0.75em;
  margin: 0.25em 0;
  height: 2.778em;
  min-width: 11em;
  color: initial;
}

.cmn-select::after{
  right: calc(0.75em + 3px);
  border-bottom-color: #000000;
  pointer-events: none;
}

label.cmn-radio,label.cmn-check{
  font-size: 1em;
}

label.cmn-radio,label.cmn-check{
  display: inline-block;
  width: fit-content;
  border-radius: 0.5em;
  text-indent: 0.5em;
  border: 1px solid #ffffff;
  padding: 0.25em 0.75em 0.25em 2em;
  margin-bottom: 0;
  margin-right: 0.5em;
}

/* @media (min-width: 768px){
  label.cmn-radio,label.cmn-check{
    display: inline-block;
    width: fit-content;
    border-radius: 0.5em;
    text-indent: 0.5em;
    border: 1px solid #ffffff;
    padding: 0.5em 0.75em 0.5em 2em;
    margin-bottom: 0;
    margin-right: 0.5em;
  }
} */

label.cmn-radio::after,
label.cmn-radio::before {
  width: 1.6115em;
  height: 1.6115em;
  top: 0.3em;
  margin: 0;
  left: 0;
  background-color: #f7f7f7;
  border-color: #cccccc;
  border-width: 2px;
}

label.cmn-radio::before {
  border-style: solid;
  background-color: #0071BC;
  border-color: transparent;
  border-width: 6px;
  background-clip:padding-box;
  transform: none;
}

label.cmn-check::after {
  width: 1.45em;
  height: 1.45em;
  top: 0.45em;
  margin-top: 0;
  left: 0;
  background-color: #f7f7f7;
  border-color: #cccccc;
  border-width: 2px;
}

@media (min-width: 768px){
  label.cmn-check::before,
  label.cmn-check::after,
  label.cmn-radio::before,
  label.cmn-radio::after {
      margin-left: 0.5em;
  }
}

input.cmn-check:checked + .cmn-check::after {
  background-color: #f7f7f7;
  border-color: #cccccc;
  border-width: 2px;
  border-style: solid;
}

label.cmn-check::before {
  width: 0.9em;
  height: 1.45em;
  top: 0.15em;
  margin-top: 0;
  left: 0.35em;
  border-color: #0071BC;
  border-width: 4px;
}

input.warning + .cmn-check,
input.warning + .cmn-radio{
  margin-bottom: 0.5em;
}

input.warning + .cmn-check::before,
input.warning + .cmn-check::after,
input.warning + .cmn-radio::before,
input.warning + .cmn-radio::after {
  margin-left: 0.5em;
}

input[type="text"].textbox_w300, input[type="email"].textbox_w300, input[type="password"].textbox_w300, input[type="tel"].textbox_w300{
  width: 100%;
}

input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
textarea{
  width: 100%;
  margin: 0.25em 0;
}

.ttl-sec::before {
  width: 4px;
  height: 1.15em;
  background-color: #0071bc;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

span.warning{
  padding-top: 0;
}


/*追加CSS*/
.l-mainVisual.w-Medium img{
  width: 50%;
  width: 30%;
}

.l-mainVisual.w-Small img{
  width: 30%;
}

.l-mainVisual.w-Auto img{
  width: auto;
}

@media (min-width: 768px){
  .l-mainVisual.w-Medium img{
    width: 30%;
    width: 15%;
  }

  .l-mainVisual.w-Small img{
    width: 15%;
  }

  input[type="text"].textbox_w50P, input[type="email"].textbox_w50P, input[type="password"].textbox_w50P, input[type="tel"].textbox_w50P{
    width: 50%;
    display: block;
  }
}

label.cmn-radio img, label.cmn-check img {
    max-width: 200px;
    max-height: 200px;
    vertical-align: top;
    margin-right: 0.25em;
}

div.cmn-txt img {
    max-width: 200px;
    max-height: 200px;
}

