@charset "utf-8";

body {
  background-color: #F2F2F2;
  font-size: 16px;
}

img { max-width: 100%; }

p {
  margin: 0;
}

input[type='number'] {
  -webkit-appearance: textfield;
  -moz-appearance:textfield;
}

.error {
  color: #ff5559;
}
.attention {
  color: #ff3b3f;
}

.no-invalid {
  box-shadow: 0px 0px 2px 1px #f00;
}

#wrapper {
  max-width: 900px;
  margin: 0 auto;
}

h1 {
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  margin: 0;
  padding: 0;
}

header h1 img.sp {
  display: none;
}

h1.imp-text {
  margin: 20px auto;
}
.header-btm {
  margin-bottom: 40px;
}

footer {
  margin: 25px auto;
  width: 100%;
  text-align: center;
  font-size: 0.875rem;
}

.block {
  display: block;
  box-sizing: border-box;
}

.bg-white {
  background-color: #fff;
  margin-bottom: 7%;
  /*padding-bottom: 50px;*/
}

.block.inline {
  padding: 30px;
}
.block.inline.no-pad-top {
  padding-top: 0;
}
.main-text {
  font-size: 1rem;
  /*margin-bottom: 3.7725rem;*/
}
.main-text.ptop {
  font-size: 1.25rem;
  margin-bottom: 40px;
}
.sub-text {
  font-size: 1.125rem;
  margin-bottom: 1.85rem;
}
.string {
  
}
.bold {
  font-weight: bold;
}
.large {
  font-size: 1.5rem;
  line-height: 1.5rem;
}
.small {
  font-size: 1rem;
}

.special-label {
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.button-area {
  
}
.area-center {
  text-align: center;
}
.area-left {
  text-align: left;
}
.area-right {
  text-align: right;
}

.button-area input[type="submit"],
button {
  margin: 0;
  padding: 14px 27px;
  color: #fff;
  border: none;
  border-radius: 2px;
}
.button-area .area-center input[type="submit"] {
  margin: 0 10%;
}

.type-blue {
  background-color: #11B9D3;
}
.type-gray {
  background-color: #A9A9A9;
}
.type-red {
  background-color: #ff3b3f;
  padding-left: 36px;
  padding-right: 36px;
}
.type-dark-blue {
  background-color: #2e3192;
}
.type-faintgreen {
  background-color: #00a99d
}
.block-bottom {
  margin-bottom: 30px;
}

.space-top {
  padding-top: 10px;
}

article {
  padding: 0 32px;
}

article .caption {
  padding-bottom: 25px;
  font-size: 1.175rem;
}
article .block .block-head {
  border-left: solid 12px #33b2cc;
  border-bottom: solid 2px #99d8e5;
  font-weight: bold;
  padding: 10px 0 10px 20px;
  font-size: 1.75rem;
}

.result-schedule-label {
  border-left: solid 12px #ff3b3f;
  font-weight: bold;
  padding: 10px 0 10px 20px;
  font-size: 1.75rem;
  margin-bottom: 30px;
}

.result-schedule-detail {
  display: block;
  width: 100%;
  position: relative;
}
.result-schedule-detail .schedule-night,
.result-schedule-detail .schedule-morning {
  display: inline-block;
  width: 350px;
}
.result-schedule-detail .schedule-night {
  border: 1px solid #4d4d4d;
}
.result-schedule-detail .schedule-morning {
  border: 1px solid #11b9d3;
}
.result-schedule-detail .schedule-night .night-title {
  text-align: center;
  background-color: #4d4d4d;
  color: #fff;
  font-size: 1.4375rem;
}
.result-schedule-detail .schedule-morning .morning-title {
  text-align: center;
  background-color: #11b9d3;
  color: #fff;
  font-size: 1.4375rem;
}
.result-schedule-detail .schedule-night .night-detail {
  text-align: center;
  font-size: 2rem;
  border-bottom: dashed 2px #a9a9a9;
}
.result-schedule-detail .schedule-night .night-detail .night-result {
  font-size: 4.0rem;
}

.result-schedule-detail .schedule-morning .morning-detail {
  text-align: center;
  font-size: 2rem;
  border-bottom: dashed 2px #a9a9a9;
}
.result-schedule-detail .schedule-morning .morning-detail .morning-result {
  font-size: 4.0rem;
}

.result-schedule-detail .schedule-night .night-title img,
.result-schedule-detail .schedule-morning .morning-title img {
  width: 25px;
  display: inline-block;
  padding-bottom: 5px;
  margin-left: 5px;
}
.result-schedule-detail .schedule-middle {
  display: inline-block;
  width: 65px;
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  border-left: 50px solid #4d4d4d;
  position: relative;
  top: -44px;
  left: -5px;
}
.result-schedule-detail .schedule-night .night-attribute,
.result-schedule-detail .schedule-morning .morning-attribute {
  padding: 10px;
  font-size: 0.75rem;
  text-align: center;
  font-weight: bold;
}

.block-head .subtitle {
  font-weight: normal;
  font-size: 1.125rem;
  padding-right: 46px;
}

.row-contents {
  display: table;
  width: 100%;
  padding-bottom: 15px;
  box-sizing: border-box;
}
.row-contents .main-image {
  display: table-cell;
  width: 20%;
}
.row-contents .main-text {
  display: table-cell;
  font-size: 1.125rem;
}
.main-text .size-middle {
  font-size: 1.125rem;
}
.row-contents .block-th {
  display: table-cell;
  width: 100px;
  vertical-align: top;
  padding-top: 7px;
}
.row-contents .block-td {
  display: table-cell;
}
.row-contents .block-td .form-group {
  margin: 0;
}


/**** for simple result ****/
.result-head {
  text-align: center;
  font-size: 2rem;
  background-color: #11b9d3;
  /*padding: 7px 0;*/
  color: #fff;
  font-weight: bold;
}

.result-head.dark-blue {
  background-color: #2e3192;
}

.result-head.emerald {
  background-color: #00a99d;
}

.result-chrono,
.result-lack,
.result-jetlag {
  display: table;
  width: 100%;
}
.result-chrono-type,
.result-lack-type,
.result-jetlag-type {
  display: table-cell;
  width: 45%;
  vertical-align: top;
}
.result-chrono-type .user-label,
.result-lack-type .user-label,
.result-jetlag-type .user-label {
  text-align: center;
  background-color: #11b9d3;
  padding: 7px 0;
  color: #fff;
  font-weight: bold;
  font-size: 1.625rem;
  line-height: 1.625rem;
}
.result-lack-type .user-label {
  background-color: #2e3192;
}
.result-jetlag-type .user-label {
  background-color: #00a99d;
}

.result-chrono-type .user-label span+span::before,
.result-jetlag-type .user-label span+span::before {
  content: "\A";
  white-space: pre;
}

.result-chrono-type .user-detail,
.result-lack-type .user-detail,
.result-jetlag-type .user-detail {
  text-align: center;
}
.result-chrono-type .user-detail .user-result,
.result-jetlag-type .user-detail .user-result {
  /*padding: 16px 0;*/
  font-size: 5.825rem;
  border-bottom: dashed 2px #333;
}
.result-lack-type .user-detail .user-result {
  font-size: 1rem;
  border-bottom: dashed 2px #333;
}
.result-chrono-type .user-detail .user-result.user_undef,
.result-jetlag-type .user-detail .user-result.user_undef {
  font-size: 4rem;
  padding: 30px 0;
}

.result-lack-type .user-detail .user-result p.left-sq {
  text-align: left;
  padding: 20px 0 0 20px;
  font-size: 1.5rem;
}
.result-lack-type .user-detail .user-result p.big {
  font-size: 5.825rem;
  line-height: 5.825rem;
}
.result-lack-type .user-detail .user-result p.big .middle {
  font-size: 3rem;
}
.result-lack-type .user-detail .user-result p.big .half-small {
  font-size: 2rem;
}

.result-chrono-type .user-detail .user-type,
.result-lack-type .user-detail .user-type {
  padding: 16px 0;
  font-size: 3rem;
  font-weight: bold;
  border-bottom: 2px solid #11b9d3;
}
.result-jetlag-type .user-detail .user-type {
  padding: 34px 0;
  font-size: 1.5rem;
  font-weight: bold;
  border-bottom: 2px solid #11b9d3;
}
.result-lack-type .user-detail .user-type {
  border-bottom: 2px solid #2e3192;
}
.result-jetlag-type .user-detail .user-type {
  border-bottom: 2px solid #00a99d;
}
.result-chrono-type .user-detail .user-type.user_undef,
.result-lack-type .user-detail .user-type.user_undef {
  font-size: 1.175rem;
  text-align: left;
  font-weight: normal;
}
.result-chrono-graph,
.result-lack-graph,
.result-jetlag-graph {
  display: table-cell;
  width: 55%;
  text-align: center;
  padding-left: 40px;
  box-sizing: border-box;
}
.result-chrono-graph .pad-left,
.result-lack-graph .pad-left,
.result-jetlag-graph .pad-left {
  border: solid 1px #4d4d4d;
  box-sizing: border-box;
}
.result-chrono-graph .pad-left .graph-catch,
.result-lack-graph .pad-left .graph-catch,
.result-jetlag-graph .pad-left .graph-catch {
  text-align: center;
  background-color: #4d4d4d;
  color: #fff;
  font-size: 1.125rem;
}
.result-chrono-graph .pad-left img,
.result-lack-graph .pad-left img,
.result-jetlag-graph .pad-left img {
  padding-top: 10px;
  max-height: 285px;
}

.what-chrono-type {
  background-color: #f2f2f2;
}
.what-jetlag {
  background-color: #f2f2f2;
}
.what-chrono-type .what-label {
  text-align: center;
  background-color: #11b9d3;
  color: #fff;
  font-size: 1.5rem;
}
.what-jetlag .what-label {
  text-align: center;
  background-color: #00a99d;
  color: #fff;
  font-size: 1.5rem;
}
.what-chrono-type .main-text,
.what-jetlag .main-text {
  padding: 26px;
  font-size: 1rem;
}
.what-chrono-type .main-text .chrono-type-image,
.what-jetlag .main-text .jetlag-type-image {
  margin: 20px 0;
}

.jetlag-explain {
  box-sizing: border-box;
}
.jetlag-explain .block-left {
  display: inline-block;
  width: 68%;
}
.jetlag-explain .block-right {
  display: inline-block;
  width: 30%;
  vertical-align: top;
}
.jetlag-explain .block-left .explain-text {
  margin-bottom: 20px;
}


.more-head {
  text-align: center;
  background-color: #8cc63f;
  color: #fff;
  font-size: 1.5rem;
}

.main-text .block.bg-gray {
  background-color: #f2f2f2;
  margin: 30px 0;
  padding: 18px;
  font-size: 1.375rem;
}
.main-text .margin-top-bottom {
  margin: 20px 0;
}

.mail-info {
  padding-bottom: 25px;
  border-bottom: 2px solid #7f7f7f;
}
.mail-consent {
  margin-top: 25px;
}
.special-privacy, 
.mail-privacy {
  margin-top: 16px;
  border: solid 1px #333;
  box-sizing: border-box;
  padding: 16px;
  overflow-y: scroll;
  height: 214px;
}

.block-footer {
  border-left: 20px solid #11b9d3;
  padding-left: 27px;
  margin-bottom: 7%;
}
.block-footer .information {
  padding: 10px 0 0;
  letter-spacing: -2px;
}
.block-footer .inquiry {
  padding: 0 0 10px;
  font-size: 1.5rem;
}

/*** for boot strap custom ***/
.form-group {
  margin-top: 15px;
}
.form-group textarea {
  margin-top: 15px;
}
.form-inline select {
  margin-right: 5px;
}
.form-control.fcol-2 {
  width: 80px;
  margin-right: 5px;
}
.form-control.fcol-4 {
  width: 90px;
  margin-right: 5px;
}
#postal_4 {
  margin-left: 5px;
}

.fbr {
  content: "\A";
  white-space: pre;
}


.result-chrono-type .schedule-nightl {
  text-align: center;
}
.result-schedule-detail .schedule-night {
  /*padding: 16px 0;*/
  font-size: 5.825rem;
  border-bottom: solid 1px #333;
}
.result-schedule-detail .user-type {
  padding: 16px 0;
  font-size: 3rem;
  font-weight: bold;
  border-bottom: 2px solid #2e3192;
}

.to-home {
  text-align: center;
}


/** media query start **/
@media (max-width: 900px) {

  .result-schedule-detail .schedule-night {
    display: block;
    width: 100%;
  }
  .result-schedule-detail .schedule-middle {
    display: block;
    width: 60px;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 50px solid #4d4d4d;
    position: relative;
    top: -1px;
    height: 50px;
    overflow-y: hidden;
    margin: 0 auto;
  }
  .result-schedule-detail .schedule-morning {
    display: block;
    width: 100%;
    margin-top: -30px;
  }
  
}

@media (max-width: 790px) {
  
  .button-area .area-center input[type="submit"] {
    margin: 0 5%;
  }
  
}

@media (max-width: 720px) {
  
  article {
    padding: 0 20px 10px;
  }
  
  article .caption {
    font-size: 1rem;
  }
  
  article .block .block-head {
    font-size: 1.5rem;
  }
  
  .block.inline {
    padding: 15px 10px;
  }
  
  .form-inline select {
    width: 80px;
    display: inline-block;
  }
  
  .form-inline select.max-width {
    width: auto;
  }
  
  .form-inline input.form-control {
    display: inline-block;
  }
  
  input[name="email_2"] {
    min-width: 80%;
  }
  
  .row-contents .main-text {
    padding-left: 10px;
    vertical-align: middle;
  }
  
  .result-chrono,
  .result-lack,
  .result-jetlag {
    display: block;
  }
  .result-chrono-type,
  .result-chrono-graph,
  .result-lack-type,
  .result-lack-graph,
  .result-jetlag-type,
  .result-jetlag-graph {
    display: block;
    width: 100%;
  }
  .result-chrono-graph,
  .result-lack-graph,
  .result-jetlag-graph {
    padding-left: 0;
    padding-top: 30px;
  }
  
  .result-head {
    font-size: 1.2rem;
  }
  
  .result-chrono-type .user-label,
  .result-lack-type .user-label,
  .result-jetlag-type .user-label {
    font-size: 1rem;
    line-height: 1.2rem;
  }
  .what-jetlag .what-label {
    font-size: 1.2rem;
  }
  .al-spc {
    padding: 10px;
  }
  
  .result-chrono-type .user-label span+span::before,
  .result-jetlag-type .user-label span+span::before {
    content: "";
    white-space: pre;
  }
  
  .result-chrono-type .user-detail {
    display: table;
    width: 100%;
    border-bottom: 2px solid #11b9d3;
    padding: 20px 0;
  }
  
  .result-chrono-type .user-detail .user-result {
    display: table-cell;
    border-right: dashed 2px #333;
    border-bottom: none;
  }
  
  .result-chrono-type .user-detail .user-type {
    display: table-cell;
    vertical-align: middle;
    border-bottom: none;
  }
  
  .main-text .block.bg-gray p {
    word-wrap: normal;
    word-break: break-all;
  }
  
  footer {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
  
  .button-area .area-center input[type="submit"] {
    margin: 0;
  }
  
  .row-contents .form-group {
    margin: 5px;
  }
  
  .tab-fbr::before {
    content: "\A";
    white-space: pre;
  }
  

}

@media (max-width: 550px) {
  
  header h1 img.pc {
    display: none;
  }
  header h1 img.sp {
    display: block;
  }
  
  .header-btm {
    margin-bottom: 10px;
  }
  
  article {
    padding: 0 10px 10px;
  }
  
  article .caption {
    font-size: 0.8rem;
  }
  
  article .block .block-head {
    font-size: 1.2rem;
    padding: 5px 0 5px 10px;
  }
  
  .x-small {
    font-size: 0.85rem;
    line-height: 1.2rem;
  }
  
  .block.inline {
    padding: 10px 5px;
  }
  
  .main-text.ptop {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .sub-text {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  
  .block-head .subtitle {
    font-size: 0.9rem;
    padding-right: 15px;
  }
  
  .row-contents {
    padding-bottom: 5px;
  }
  
  .row-contents .main-image {
    vertical-align: middle;
  }
  .row-contents .main-text {
    font-size: 1rem;
    padding: 10px;
  }
  .main-text .size-middle {
    font-size: 1rem;
    /*margin-left: 10px;*/
    box-sizing: border-box;
  }
  
  .result-chrono-type .user-detail {
    display: block;
    padding: 0;
  }
  
  .result-chrono-type .user-detail .user-result {
    display: block;
    border-right: none;
    border-bottom: dashed 2px #333;
  }
  
  .result-chrono-type .user-detail .user-type,
  .result-lack-type .user-detail .user-type,
  .result-jetlag-type .user-detail .user-type {
    display: block;
    font-size: 1.2rem;
    padding: 10px 0;
  }
  
  
  .result-schedule-detail .schedule-middle {
    display: block;
    width: 40px;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 30px solid #4d4d4d;
    position: relative;
    top: -1px;
    height: 30px;
    overflow-y: hidden;
    margin: 0 auto;
  }
  
  .sp-no-pad-all,
  .row-contents .sp-no-pad-all {
    padding: 0 !important;
    width: 100%;
  }
  
  .no-pad-top {
    padding-top: 0;
  }
  
  .block.inline.no-pad-top {
    width: 100%;
  }
  
  .what-chrono-type {
    padding-top: 15px;
  }
  
  .what-chrono-type .what-label {
    font-size: 1.2rem;
  }
  
  .what-chrono-type .main-text {
    padding: 10px;
  }
  
  .more-head {
    font-size: 1.2rem;
  }
  
  .main-text .block.bg-gray {
    font-size: 1.125rem;
    margin: 15px 0;
    padding: 10px;
  }
  
  .main-text .margin-top-bottom {
    margin: 10px 0;
  }
  
  .button-area .area-center input[type="submit"] {
    font-size: 1rem;
  }
  .button-area input[type="submit"], button {
    padding-left: 24px;
    padding-right: 24px;
  }
  
  .form-inline input.form-control.fcol-2 {
    max-width: 80px;
  }
  
  .form-inline input.form-control.fcol-2.fcol-1 {
    max-width: 80px;
  }
  
  #postal_3 {
    max-width: 80px;
  }
  
  #postal_4 {
    max-width: 100px;
  }
  
  .large {
    font-size: 1.25rem;
    line-height: 1.25rem;
  }
  
  .special-label {
    font-size: 1.2rem;
  }
  
  .result-schedule-label {
    font-size: 1rem;
    margin-bottom: 10px;
    padding: 5px 0 5px 10px;
    line-height: 1.2rem;
  }
  
  .result-schedule-detail .schedule-night .night-attribute,
  .result-schedule-detail .schedule-morning .morning-attribute {
    padding: 5px;
    font-size: 0.625rem;
    text-align: center;
    font-weight: bold;
  }
  
  .jetlag-explain .block-left {
    display: block;
    width: 100%;
  }
  .jetlag-explain .block-right {
    display: block;
    width: auto;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .what-chrono-type .main-text,
  .what-jetlag .main-text {
    padding: 15px 5px 5px;
  }
  
  .jetlag-explain .block-bottom {
    margin-bottom: 15px;
  }
  
  .mail-privacy {
    height: 160px;
  }
  
  .sp-fbr::before {
    content: "\A";
    white-space: pre;
  }
  
  .sp-pad-left {
    display: block;
    padding-left: 20px;
  }
  
  .sp-no-pad-top {
    padding-top: 0;
  }
  
  .row-contents .form-inline {
    margin: 5px;
  }
  
  .block-footer {
    border-left-width: 10px;
    padding-left: 10px;
    padding-right: 5px;
  }
  

}
/** media query end **/


