@charset "utf-8";

/* smart phone */
@media only screen and (max-width: 768px) {
	h3.session-select {
	  font-size: 22px;
	  margin: 40px 0 30px;
	}
  .flow {
    position: relative;
    margin: 0 16px 30px 16px;
    background-color: #fff;
  }
  .flow ol {
    margin: 0;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
  }
  .flow ol:after {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    width: 90%;
    height: 1px;
    background-color: #ccc;
  }
  .flow ol li {
    width: 50px;
  }
  .flow ol li div.text {
    margin: 8px 0 0 0;
    font-size: 9px;
  }

  main .wrap p.privacy-message {
    font-size: 12px;
    font-weight: normal;
    text-align: left;
    margin: 20px 24px 10px 24px;
    padding: 0;
  }
  .privacy-box {
    box-sizing: border-box;
    width: 90%;
    margin: 0 auto 30px;
    height: 120px;
    padding: 10px;
    font-size: 11px
  }
  .privacy-box h3 {
    margin: 0;
    font-size: 13px;
  }

  div.registration-notice {
    padding: 0 12px;
    font-size: 12px;
  }
  main .wrap > p.require-message {
    margin: 4px 10px;
    padding: 4px;
  }
  table.form {
    padding: 0 10px;
  }

  table.form,
  table.form tbody,
  table.form tr,
  table.form tr th,
  table.form tr td,
  table.enquete,
  table.enquete tr,
  table.enquete tr th,
  table.enquete tr td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  table.form tr th,
  table.enquete tr th {
    border: none;
    text-align: left;
    font-size: 14px;
    font-weight: normal;
    padding: 6px;
    background-color: #ddd;
  }
  table.form tr td,
  table.enquete tr td {
    border: none;
    margin-bottom: 8px;
    padding: 4px 0;
    line-height: 1.75;
    font-size: 13px;
  }

  .confirm table.form tr td,
  .confirm table.enquete tr td {
    padding: 8px 4px;
    margin-bottom: 0;
  }

  table.form td input {
    width: 70%;
    font-size: 16px;
  }
  table.form tr td label,
  table.enquete tr td label {
	white-space: nowrap;
  }
  table.form td input#f_name,
  table.form td input#g_name,
  table.form td input#f_name_kana,
  table.form td input#g_name_kana {
    margin: 0;
    width: 49%;
  }
  table.form td input#corp,
  table.form td input#corp_kana,
  table.form td input#dept,
  table.form td input#position {
    width: 99%;
  }
  table.form td input#data2 {
    width: 70%;
  }
  table.form td input#address_zip_1 {
    width: 40px;
    margin: 0 2%;
  }
  table.form td input#address_zip_2 {
    width: 52px;
    margin: 0 2%;
  }
  table.form td input#address_zip_1 {
    margin-left: 0;
  }
  table.form td input#address_1,
  table.form td input#address_2,
  table.form td input#address_3 {
    width: 80% !important;
  }
  table.form td input#tel_1,
  table.form td input#tel_2,
  table.form td input#tel_3 {
    margin: 0 2%;
    width: 20%;
  }
  table.form td input#tel_1 {
    margin-left: 0;
  }

  table.form tr td > span,
  table.enquete tr td > span {
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
  }
  table.enquete tr td span.special-text {
    display: block;
    margin-left: 10px;
  }
  table.enquete tr td span.special-text input {
    width: 60%;
  }
  table.form tr td span.notice {
    font-size: 1.2rem;
  }
  table.form table.sub-item {
    display: table;
    width: 100%;
  }
  table.form table.sub-item tbody {
    display: table-row-group;
  }
  table.form table.sub-item tr {
    display: table-row;
  }
  table.form table.sub-item tr th,
  table.form table.sub-item tr td {
    display: table-cell;
    background-color: #fff;
  }
  table.form table.sub-item tr th {
    width: 28%;
    padding: 2px 0 2px 4px;
  }
  table.form table.sub-item tr td {
    padding: 2px 4px;
    width: 72%;
  }

  table.enquete {
    padding: 0 10px;
    margin: 25px 0 20px;
  }
  table.enquete tr td {
    padding: 8px 4px;
  }
  table.enquete tr td .container {
    padding: 0 4px;
  }
  table.enquete tr td > br,
  table.enquete tr td .container > br {
    display: none;
  }
  table.enquete tr td .container > span {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
  }
  table.enquete tr td label {
    margin: 0 2px 0 6px;
  }
  table.enquete tr td .section {
    font-size: 16px;
    margin: 12px 0 4px -2px;
    border-bottom: 1px solid #efefef;
  }

  table.enquete td input#enq_1_ex,
  table.enquete td input#enq_12_ex,
  table.enquete td input#enq_13_ex {
    width: 25%;
  }
  table.enquete td span.special-text12 {
    display: block;
    padding-left: 20px;
  }
  table.enquete td input#enq_2_ex,
  table.enquete td input#enq_3_ex,
  table.enquete td input#enq_4_ex {
    width: 50%;
  }
  .require {
    color: #f00;
    padding: 0 0 0 2px;
  }

  table tr td input[type="text"],
  table tr td input[type="tel"],
  table tr td input[type="email"],
  select {
    font-size: 16px;
  }
  table tr td input[type="radio"] {
    margin-left: 0px;
    width: 16px !important;
    height: 16px !important;
    background-image:
      url("../../images/responsive/registration/radiobutton_off.svg"),
      url("../../images/responsive/registration/radiobutton_on.svg");
    background-size: 16px, 0;
    background-position:
      center center,
      center center;
    background-repeat: no-repeat, no-repeat;
  }
  table tr td input[type="radio"]:checked {
    background-image: url("../../images/responsive/registration/radiobutton_on.svg");
  }

  table tr td input[type="checkbox"] {
    width: 16px;
    height: 16px;
    background-image:
      url("../../images/responsive/registration/checkbox_off.svg"),
      url("../../images/responsive/registration/checkbox_on.svg");
    background-size: 16px, 0;
    background-position:
      center center,
      center center;
    background-repeat: no-repeat, no-repeat;
  }

  table tr td input[type="checkbox"]:checked {
    background-image: url("../../images/responsive/registration/checkbox_on.svg");
    background-size: cover;
  }

  table.session {
    width: 100%;
    margin-left: 2px;
  }

  table.session tr td.time,
  table.session tr td.code {
    width: auto;
    display: inline-block;
    margin: 0;
    padding: 0;
  }
  table.session tr td.time {
    width: 102px;
  }

  table.session tr td.code {
    border: 1px solid #333;
    padding: 1px 12px;
    margin-left: 6px;
    line-height: 1.3;
    width: 65px;
    text-align: center;
  }
  table.session tr td.title {
    width: 100%;
    border-bottom: 1px solid #efefef;
    padding: 0 0 6px 4px;
    margin: 0 0 10px;
  }

  /* floating button */
  #button_container {
    opacity: 0;
    position: fixed;
    right: 0;
    bottom: 0;
    transition: opacity 1.5s linear;
  }

  #button_container .submit {
    height: 68px;
    border-radius: 24px;
    padding-top: 2px;
  }

  #button_container.float {
    opacity: 0.95;
    position: fixed;
    right: 0;
    bottom: 0;
    width: 68px;
    border-radius: 24px;

    transition:
      width 0.01s linear 0.5s,
      opacity 0.5s linear;
  }
  #button_container.float.open {
    transition: width 0.01s linear 0s;
  }

  #button_container.bottom {
    opacity: 1;
    position: static;
    width: 100%;
    height: 80px;
    border-radius: 0;
    transition: opacity 0.1s linear;
  }

  #button_container.float .submit {
    position: absolute;
    right: 20px;
    bottom: 30px;
    width: 48px;
    height: 48px;
    background: url(../../images/responsive/registration/floating_button.svg)
      no-repeat center center #007aff;
    border-radius: 24px;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.3);

    transition:
      width 0.1s cubic-bezier(0.58, 0.01, 0.81, 0.61) 0.1s,
      bottom 0.2s cubic-bezier(0.56, 0, 0.44, 0.99) 0.12s,
      right 0.15s cubic-bezier(0.56, 0, 0.44, 0.99) 0.1s,
      background-image 0.1s linear 0.1s,
      background-position 0.3s linear 0.1s,
      border-radius 0.1s linear 0.1s;
  }
  #button_container.float .submit li {
    visibility: hidden;
    height: 0;
  }

  #button_container.open {
    width: 100%;
  }
  #button_container.open .submit {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 48px;
    width: 100%;
    background: url(../../images/responsive/registration/floating_button_close.svg)
      no-repeat 12px center #007aff;
    border-radius: 0;

    transition:
      width 0.15s cubic-bezier(0.56, 0, 1, 0.36) 0.3s,
      bottom 0.28s cubic-bezier(0.56, 0, 0.44, 0.99) 0.2s,
      right 0.08s cubic-bezier(0.56, 0, 0.44, 0.99) 0.37s,
      background-image 0.01s linear 0.4s,
      background-position 0.3s linear 0.1s,
      border-radius 0.1s linear 0.4s;
  }

  #button_container.open .submit li {
    opacity: 0;
    animation-name: open-floating-button-li;
    animation-duration: 0.6s;
    animation-delay: 0.2s;
    animation-fill-mode: forwards;
  }
  @keyframes open-floating-button-li {
    0 {
      opacity: 0;
      height: 0;
    }
    80% {
      opacity: 0;
      height: 100%;
      visibility: visible;
    }
    100% {
      opacity: 1;
      height: 100%;
      visibility: visible;
    }
  }

  #button_container.fadeout {
    opacity: 0;
    transition: opacity 0.5s linear;
  }

  .submit {
    margin: 30px 0;
    padding: 40px 0;
    overflow: hidden;
    background: url(../../images/responsive/registration/floating_button.svg)
      no-repeat center center;
  }
  .submit li {
    margin: 0 auto;
    min-width: 140px;
    height: 60px;
    box-sizing: border-box;
    border-radius: 2px;
  }
  .submit li input {
    width: 100%;
    font-size: 16px;
    margin: 0;
    padding: 10px;
    z-index: 999;
    border: none;
    background-color: #333;
    color: #fff;
    height: 50px;
  }

  .submit li input:hover {
    background-color: #333;
    color: #fff;
  }

  /* open */
  .open .submit li.btn-next {
    background: url(../../images/responsive/registration/arrow_right.svg)
      no-repeat 80% center #007aff;
  }
  .open .submit li.btn-next input {
    padding: 0 50px 0 50px;
  }

  .open .submit li.btn-right {
    background: url(../../images/responsive/registration/arrow_right.svg)
      no-repeat 70% center #007aff;
  }
  .open .submit li.btn-right input {
    padding: 0 50px 0 10px;
  }

  .open .submit li.btn-left {
    background: url(../../images/responsive/registration/arrow_left.svg)
      no-repeat 30% center #007aff;
  }
  .open .submit li.btn-left input {
    padding: 0 10px 0 50px;
  }

  /* bottom */
  .bottom .submit li.btn-agree {
    background: url(../../images/responsive/registration/arrow_right.svg)
      no-repeat 80% center #007aff;
  }
  .bottom .submit li.btn-agree input {
    padding: 0 50px 0 40px;
  }

  .bottom .submit li.btn-next {
    background: url(../../images/responsive/registration/arrow_right.svg)
      no-repeat 72% center #007aff;
  }
  .bottom .submit li.btn-next input {
    padding: 0 60px 0 50px;
  }

  .bottom .submit li.btn-right {
    background: url(../../images/responsive/registration/arrow_right.svg)
      no-repeat 75% center #007aff;
  }
  .bottom .submit li.btn-right input {
    padding: 0 50px 0 40px;
  }

  .bottom .submit li.btn-left {
    background: url(../../images/responsive/registration/arrow_left.svg)
      no-repeat 25% center #007aff;
  }
  .bottom .submit li.btn-left input {
    padding: 0 40px 0 50px;
  }

  .bottom .submit li.btn-cancel-back {
    background: url(../../images/responsive/registration/arrow_left.svg)
      no-repeat 25% center #007aff;
  }
  .bottom .submit li.btn-cancel-back input {
    padding: 0 45px 0 55px;
  }

  .bottom .submit li.btn-cancel {
    background: url(../../images/responsive/registration/arrow_right.svg)
      no-repeat 83% center #007aff;
  }
  .bottom .submit li.btn-cancel input {
    letter-spacing: -2px;
    padding: 0 41px 0 21px;
  }
}
