@charset "utf-8";

/***** 入力画面共通CSS *****/

  :root {
    --color-gray: #707070;
    --color-border-gray: #999;
    --width-border: 3px;
  }


  .sheet-wrap {
    margin-top: 0;
    border: 3px solid #ccc;
    border-radius: 30px;
    position: relative;
    z-index: 0; /* エラー表示との重なり */
    margin: 0 auto ;
    border-radius: 25px;
  }


  table {
    text-align: left;
  }

  input {
    font-size: 24px;
    border-radius: 5px;
    border: none;
    appearance: none;
  }

  table{
    width: 900px;
    border-spacing: 0;
    margin: auto;
    text-align: center;
    font-size: 20px;
  }
  table th,
  table td{
    padding: 50px 30px;
    border-bottom: 2px solid #EEE;
    vertical-align: top;
    text-align: left;
  }



  .form {
    --width-input: 200px;
    --padding-vertical-name: 8px;
    --width-q-icon: 20px;
  }

  .form__name-option,
  span.icon-any.form__name-option {
    font-weight: normal;
    padding-right: 4em;
    vertical-align: middle;
    display: inline-block;
    border-radius: 5px;
    padding: var(--padding-vertical-name) 7px;
    font-size: 14px;
    max-height: 30px;
    line-height: 1;
    height: auto;
    margin: auto;
  }

  .icon-required{
    background: #e60012;
    color: #FFF;

  }

  .list_padding_bottom{
    padding-bottom: 10px;
  }

  .form__name-outer {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 1em;
  }


  .form__name-content-outer {
    text-align: left;
    padding: var(--padding-vertical-name) 0;
    vertical-align: middle;
  }

  .form__input {
    margin: 0;
  }


  .attention2{
    font-size: 12px;
    display: inline-block;
    /* padding-left: 1em; */
  }


  .biginput-pc{
    width: 98% !important;
    max-width: 500px;
  }


  @media screen and (max-width: 768px) {  
    .biginput-pc{
      max-width: 340px;
    } 
  }


  .biginput-pc-hankaku11{
    width: 98% !important;
    max-width: 148px;
  }  
  @media screen and (max-width: 768px) {  
    .biginput-pc-hankaku11{
      max-width: 120px !important;
      font-size: 120% !important;
  }   
  }


  input[type="text"],
  textarea{
    background: #ffeeee;
    border: 2px solid #ccc;
    border-radius: 7px;
    margin: 0 5px;
    width: 7rem;
    height: 50px;
    padding: 5px;
    box-sizing: border-box;
  }
  input[type="text"]:focus {
    border: 1px solid #ff8d96;
    outline: 0;
  }
  
  /* Radio */
  input[type=radio] {
    --width-outer: 25px;
    --width-inner: 15px;
    appearance: none;
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    height: var(--width-outer);
    width: var(--width-outer);
    transition:all .15s ease-out 0s;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    margin: .5rem;
    outline: none;
    border-radius: 10%;
  }



  input[type=radio] {
    border-radius: 50%;
    vertical-align: middle;
  }

  input[type=radio]:checked:before {
    transform: scale(1);
  }

  input[type=radio]:before {
    content: "";
    display: block;
    width: var(--width-inner);
    height: var(--width-inner);
    border-radius: 50%;
    margin: 4px;
    transform: scale(0);
    transition: all ease-out 250ms;
  }

  input[type=radio]:focus-visible {
    outline: revert;
  }

  /* Radio color */
  input[type=checkbox].red,
  input[type=radio].red {
    border: 1px solid #333;
  }
  input[type=checkbox].red:checked,
  input[type=checkbox].red:indeterminate,
  input[type=radio].red:checked:before {
    background: #666;
  }
  

  
/*==================================================
エラー表示
===================================*/
.form-error { display: none; }


.form-error.is-error,
.form-error2.is-error,
.form-error3.is-error {
  display: block;
  cursor: pointer;
  text-align: left;
  position: relative;
  line-height: 20px;
  }
.form-error-radio.is-error {
  position: initial;
  }
@media screen and (max-width: 767px) {
  .form-error-radio.is-error {
    cursor: unset;
    }
}

.form-error.is-error .form-error-content,
.form-error2.is-error .form-error-content,
.form-error3.is-error .form-error-content {
  position: absolute;
  top:-45px;
  writing-mode: horizontal-tb;
  --background-color: #e60012; /* 吹き出しの色 */
  --shadow-size: 3px; /* 影の長さ */
  --shadow-color: rgba(0, 0, 0, 0.3); /* 影の色 */
  --border-width: 1px; /*線の太さ */
  --border-color: #e60012; /*線の色 */
  --pick-size: 6px; /* 飛び出しのサイズ */
  --pick-radius: 3px; /* 飛び出しの丸め */
  --pick-thin: 0.7; /* 飛び出しの幅 */
  --pick-left: 14px; /* 飛び出しの位置 */
  color: #fff;
  font-size: 14px;
  background-color: var(--background-color);
  display: inline-block;
  border-radius: 4px;
  padding: 6px 15px;
  border: var(--border-width) solid var(--border-color);
  box-shadow: 0 var(--shadow-size) var(--shadow-size) var(--shadow-color);
  z-index: 5;
  min-width: 200px;

  }
.form-error-radio.is-error .form-error-content {
  top:-15px;
  }



.form-error.is-error .form-error-content::after,
.form-error2.is-error .form-error-content::after,
.form-error3.is-error .form-error-content::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    display: block;
    border-style: solid;
    border-color: transparent var(--background-color) var(--background-color) transparent;
    left: var(--pick-left);
    bottom: calc(var(--pick-size)*-1);
    border-width: var(--pick-size);
    transform: scaleX(var(--pick-thin)) rotate(45deg);
    border-color: #e60012;
    box-shadow: calc(var(--shadow-size) * 1.4) calc(var(--shadow-size) * 0.5) var(--shadow-size) var(--shadow-color);
}


  



  
/*====================================
　　発行ボタン
===================================*/
ul.simu-btn-wrap {
  max-width:950px;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
  margin: 60px auto 110px;
  font-size: 22px;
}



/*
button
*/
.simu-btn {
  border-radius: 50px;
  font-size: 16px;
  display: inline-block;
  padding: 10px 35px;
  transition: all 0.3s;
}

.simu-btn--wide {
 display: inline-block;
 width: 100%;
 padding-top: 1.5em;
 padding-bottom: 1.5em;
 min-width: 285px;
}


.simu-btn--red {
  background: #E60012;
  color: white;
 } 

 .simu-btn--red:focus-visible{
  outline: revert !important;
 } 


@media screen and (max-width: 767px) {

  .contents-area {
    z-index: 0; /* エラー表示との重なり */
  }
  .sheet-wrap {
    width: 100%;
    border-radius: 10px;
  }


  table {
    width: 90%;
    table-layout: auto;
    font-size: 16px;
  }

  table th,
  table td {
    text-align: left;
    padding: 0 0 30px;

    width: 100%;
   
  }


  input[type="text"],
  textarea{
    margin: 0 5px 0 0;
    width: 60%;
    height: 50px;
    padding: 5px;
    box-sizing: border-box;
    font-size: 16px;
  }
  .smallinput-sp{
    width: 5rem !important;
  }

    /* Radio */
    input[type=radio] {
      height: 25px;
      width: 25px;
    }

    input[type=radio]:before {      
      margin: 4px;
      width: 15px;
      height: 15px;
    }





  .sp-border-non {
    border: none;
    padding-bottom: 10px;
  }




  /*==================================================
  エラー表示
  ===================================*/
  .form-error.is-error .form-error-content,
  .form-error2.is-error .form-error-content,
  .form-error3.is-error .form-error-content {
    top:0px;
    position: absolute;
    margin-top:63px; 
    font-size: 11px;
  }
  .form-error.is-error .form-error-content-radio{
    top: 20px;
    position: relative;
    margin-top: 0px;
  }
  .form-error.is-error .form-error-content::after,
  .form-error2.is-error .form-error-content::after,
  .form-error3.is-error .form-error-content::after  {
      left: var(--pick-left);
      top: calc(var(--pick-size)*-1);
      transform: scaleX(var(--pick-thin)) rotate(225deg);
  }



table th,
table td{
  border-bottom: 1px solid #ccc;
}

/*発行ボタン*/
ul.simu-btn-wrap{
  position: relative;
}
ul.simu-btn-wrap {
  width:92% ;
  height: 110px;
  flex-direction: column; /*要素の順番をかえる*/
  text-align: center;
  margin: 60px auto ;
  box-sizing: border-box;
} 

.simu-btn--wide {
  padding-top: 0.75em;
  padding-bottom: 0.75em;
 } 


}
