:root {
  --clr1: #fbdfb7;
  --f_hj: "HJ Gotham";
  --f_gotham: "Gotham";
  --f_gotham_book: "SVN-Gotham Book";
}

* {
  margin: 0;
  padding: 0;
  outline: 0;
}

.inner {
  max-width: 100%;
  width: 1190px;
  padding: 0 10px;
  margin-left: auto;
  margin-right: auto;
}

.row {
  margin-left: -10px;
  margin-right: -10px;
}

.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-xs-1,
.col-xs-10,
.col-xs-11,
.col-xs-12,
.col-xs-2,
.col-xs-3,
.col-xs-4,
.col-xs-5,
.col-xs-6,
.col-xs-7,
.col-xs-8,
.col-xs-9 {
  padding-right: 10px;
  padding-left: 10px;
}

@media only screen and (min-width: 1367px) {
  .inner {
    width: 1300px;
  }
}
.inner_small {
  width: 1100px;
}

html, body {
  min-height: 100%;
}

body {
  font-family: "SVN-Gotham Book";
  color: #103331;
}
body.home_page {
  background: url(../images/bg.jpg) no-repeat top center/cover;
}
body.result {
  background: url(../images/result.jpg) no-repeat top center/cover;
}

#wrapper {
  overflow: hidden;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px 20px;
}

.fblock {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

img {
  max-width: 100%;
}

a:focus {
  outline: 0 !important;
}

.logo {
  text-align: center;
  margin: 40px auto 200px;
}
@media only screen and (max-width: 480px) {
  .logo {
    margin-bottom: 35vw;
  }
}

.ttl {
  display: table;
  margin: 0 auto 25px;
}
.ttl img {
  width: 353px;
}

.slogan {
  font-family: var(--f_gotham);
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  margin: 0 0 5px;
  text-align: center;
  color: #d3d3d3;
}

.box {
  background: linear-gradient(180deg, #ffffff 0%, #e4eee9 100%);
  border-radius: 20px;
  padding: 20px 20px 25px;
}
.box .ttl01 {
  font-family: var(--f_gotham);
  font-style: normal;
  font-weight: 450;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  color: #0e3723;
  margin-bottom: 20px;
}

.frm .lbl {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  font-family: var(--f_gotham);
}
.frm .form-control {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 40px;
  border: 1px solid #103331;
  border-radius: 8px;
  font-weight: 400;
  background: transparent;
  text-transform: uppercase;
}
.frm .form-control:hover, .frm .form-control:focus, .frm .form-control:active {
  box-shadow: none;
  outline: 0 !important;
}
.frm .form-control::-webkit-input-placeholder, .frm .form-control::-moz-placeholder, .frm .form-control:-ms-input-placeholder, .frm .form-control:-moz-placeholder {
  font-size: 12px;
  color: rgba(14, 55, 35, 0.2);
}
.frm .error {
  color: red;
  font-size: 10px;
  display: block;
  line-height: 1;
  margin: 5px 0;
}
.frm select option:first-child {
  font-size: 12px;
  color: rgba(14, 55, 35, 0.2);
}
.frm .frm-group:not(:last-child) {
  margin-bottom: 15px;
}

.btn_group {
  margin-top: 20px;
}
.btn_group .btn {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, #fbdfb7 0%, #e4d1a4 100%);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  border-radius: 56px;
  font-family: var(--f_gotham);
  font-size: 14px;
  padding: 17px 0;
  transition: 0.3s all ease-in-out;
  min-height: 56px;
  color: #1a3230;
}
.btn_group .btn:hover, .btn_group .btn:focus, .btn_group .btn:active {
  box-shadow: none;
  outline: 0 !important;
  background: linear-gradient(180deg, #fbdfb7 0%, #e4d1a4 100%);
  color: #1a3230;
}
.btn_group .btn:hover {
  opacity: 0.9;
}

.select2-container--default .select2-selection--single .select2-selection__arrow,
.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--single {
  height: 40px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  padding: 6px 15px 6px 10px;
}

.select2-container--default .select2-selection--single {
  border: 1px solid #103331;
  border-radius: 8px;
  background: transparent;
}
.result #wrapper {
	position: relative;
}
.result .logo {
  margin-top: 20px !important;
  margin-bottom: 40px !important;
}
.result .logo a {
	position: relative;
	z-index: 2;
}
.result #img {
  border-radius: 20px;
}
.result .action {
	display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: absolute;
    top: 30px;
    width: calc(100% - 40px);
    z-index: 1;
}
.result .action > div {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.result .action > div a {
  display: block;
  width: 100%;
  height: 100%;
  transition: 0.3s all;
}
.result .action > div a:hover {
  background-color: #fff;
}
.result .action .back a {
  background-color: #e4d1a4;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-image: url(../images/back.png);
          mask-image: url(../images/back.png);
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: 100%;
          mask-size: 100%;
}
.result .action .download a {
  position: relative;
}
.result .action .download a:hover {
  background: transparent !important;
}
.result .action .download a::before {
  content: "";
  position: absolute;
  background-color: #e4d1a4;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-image: url(../images/download.png);
          mask-image: url(../images/download.png);
  -webkit-mask-position: center;
          mask-position: center;
  inset: 0;
  -webkit-mask-size: 100%;
          mask-size: 100%;
}
.result .action .download a.loading {
  overflow: hidden;
}
.result .action .download a.loading::before {
  -webkit-mask-image: url(../images/loading.png);
          mask-image: url(../images/loading.png);
}
.result .action .download a.loading::after {
  font-family: "FontAwesome";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e4d1a4;
  content: "\f110";
  font-size: 20px;
  animation: fa-spin 2s forwards linear;
}

@media only screen and (min-width: 769px) {
  .sp_only {
    display: none !important;
  }
}
@media only screen and (max-width: 768px) {
  .pc_only {
    display: none !important;
  }
}