@charset "utf-8";
/* CSS Document */

/* テキストフォーム */
.form-text {
    height: 2.4em;
    width: 100%;
    padding: 0 16px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 0 0 1px #ccc inset;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-text:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}


/* ラジオボタン */
.form-radio input {
    position: absolute;
    white-space: nowrap;
    width: 1px;
    height: 1px;
    overflow: hidden;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    margin: -1px;
}

.form-radio-name {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    color: #666;
}

.form-radio-name:before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 1px solid #ccc;
    border-radius: 50%;
    margin-right: 4px;
    flex-shrink: 0;
}

.form-radio input:checked + .form-radio-name:before {
    border: 0.3em solid rgb(33, 150, 243);
}

.form-radio input:checked + .form-radio-name {
    color: rgb(33, 150, 243);
}

.form-radio input:focus + .form-radio-name {
    color: rgb(33, 150, 243);
}

.form-radio input.focus-visible + .form-radio-name .form-radio-text {
    background: linear-gradient(transparent 90%, rgba(33, 150, 243, 0.3) 90%);
}

/* チェックボックス */
.form-checkbox input {
    position: absolute;
    white-space: nowrap;
    width: 1px;
    height: 1px;
    overflow: hidden;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    margin: -1px;
}

.form-checkbox-name {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    color: #666;
    position: relative;
}

.form-checkbox-name:before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-right: 6px;
    flex-shrink: 0;
}

.form-checkbox input:checked + .form-checkbox-name:before {
    border: 1px solid rgb(33, 150, 243);
    background-color: rgb(33, 150, 243);
}

.form-checkbox input:checked + .form-checkbox-name:after {
    content: "";
    position: absolute;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    left: 0.3em;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 0.4em;
    height: 0.6em;
    transform: translateY(-2px) rotate(45deg);
}

.form-checkbox input:checked + .form-checkbox-name {
    color: rgb(33, 150, 243);
}

.form-checkbox input:focus-visible + .form-checkbox-name .form-checkbox-text {
    background: linear-gradient(transparent 90%, rgba(33, 150, 243, 0.3) 90%);
}

.form-checkbox input.focus-visible + .form-checkbox-name .form-checkbox-text {
    background: linear-gradient(transparent 90%, rgba(33, 150, 243, 0.3) 90%);
}

/* セレクトボックス */
.form-select {
    position: relative;
}

.form-select:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 12px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    transform: rotate(135deg);
    pointer-events: none;
}

.form-select select {
    height: 2.4em;
    width: 100%;
    padding: 0 8px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 0 0 1px #ccc inset;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.form-select select::-ms-expand {
    display: none;
}

.form-select select:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}

/* テキストエリア */

.form-textarea {
    display: block;
    width: 100%;
    height: 200px;
    padding: 4px 16px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 0 0 1px #ccc inset;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    resize: vertical;
}

.form-textarea:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}

/* サブミットボタン */
.form-submit-button {
    display: inline-block;
    width: 90%;
    max-width: 250px;
    margin:10px auto;
    padding: 8px;
    border: 1px solid #3258a6;
    border-radius: 100vh;
    background-color: #fff;
    color: #3258a6;
    font-weight: bold;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

#admission_contents .document_box .inner ul li a{
  display: block;
  
  height: 45px;
  
  line-height: 45px;
  
  text-align: center;
  font-weight: 500;
  font-size:14px;
  
  padding:0px 40px;
}

.form-submit-button:hover {
    background-color: #3258a6;
    color: #fff;
}

.form-submit-button:focus {
    outline: 0;
    background-color: #3258a6;
    color: #fff;
}

/* --------------------------------------------------------------------------------------
 モーダル
--------------------------------------------------------------------------------------- */
.modal-wrapper {
  z-index: 999;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 40px 10px;
  text-align: center;
}

.modal-button {
  display: inline-block;
    font-weight: bold;
    text-align: center;
    cursor :pointer;
    transition: all 0.3s;
    margin-top: 40px;
    margin-bottom: 1px;
    padding:4px;
    text-decoration: none;
    border-bottom: 1px solid #000;
}

/*ラベルホバー時*/
.modal-button:hover { border-bottom: 1px solid #3fa9f5;}

.modal-wrapper:not(:target) {
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}

.modal-wrapper:target {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s, visibility .4s;
}

.modal-wrapper::after {
  display: inline-block;
  height: 100%;
  margin-left: -.05em;
  vertical-align: middle;
  content: ""
}

.modal-wrapper .modal-window {
  box-sizing: border-box;
  display: inline-block;
  z-index: 20;
  position: relative;
  width: 90%;
  max-width: 800px;
  padding: 10px 30px 25px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, .6);
  vertical-align: middle
}

.modal-wrapper .modal-window .modal-content {
  max-height: 70vh;
  overflow-y: auto;
  text-align: left;
  margin: 30px 10px 10px 10px;
}
@media screen and (max-width: 959px) {
.modal-wrapper .modal-window .modal-content {
  max-height: 80vh;
  margin: 20px 8px;
}
}

h4.modal_title {
  font-weight: bold;
  margin-top: 20px;
}


.modal-content p.txt {
  margin: 10px 0 0 0;
  
}

.modal-overlay {
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .8)
}

.modal-wrapper .modal-close {
  z-index: 20;
  position: absolute;
  top: 5px;
  right: 5px;
  width: 35px;
  color: #95979c !important;
  font-size: 30px;
  font-weight: 700;
  line-height: 35px;
  text-align: center;
  text-decoration: none;
  text-indent: 0
}

.modal-wrapper .modal-close:hover {
  color: #2b2e38 !important
}

/* --------------------------------------------------------------------------------------
 確認＆送信完了画面
--------------------------------------------------------------------------------------- */
.form_error_txt{ margin-top: 2rem; text-align: center;}

.form_check_txt{ margin-top: 2rem;;}

.form_complete_txt_box{ margin-top: 2rem;}






