* {
    font-family: 'Noto Sans JP';
}

body {
	font-size: 12pt;
}

section.header {
    text-align: center;
    color: #000000;
}

section.header h1 {
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
}

@media (max-width: 767px) {
    section.header h1 {
        padding-top: 20px;
        font-size: 20px;
    }
}

section.header .description {
    margin: 20px 0 20px 0;
}

section.main {
    background: #F4F4F4;
    display: flex;
    justify-content: center;
}

section.main > section {
    margin: 40px 10px;
}

section.form {
    box-sizing: border-box;
    width: 840px;

    background: #FFFFFF;
    border: 1px solid #D9D9D9;
    border-radius: 6px;
    padding: 20px;
}

@media (max-width: 767px) {
    section.form {
        width: 400px;
    }
    .form tr {
        display: flex;
        flex-direction: column;
    }    
}

section.reg-faq {
    box-sizing: border-box;
    width: 500px;
    background: #FCB988;
    border: 1px solid #D9D9D9;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 20px 15px;
}


.reg-faq h2 {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.reg-faq li {
    box-sizing: border-box;
    background: #FFF5F0;
    border: 1px solid #6A6A6A;
    border-radius: 30px;  
    width: 470px;
    display: block;
    position: relative;
    margin-bottom: 10px;
}

.reg-faq li.open {
    border-radius: 20px;
}

.reg-faq .q {
    cursor: pointer;
    padding: 10px 0;
    padding-left: 40px;
    background: url(/img/register/faq_q.png) no-repeat 10px;
    display: inline-block;
    color: #000;
    width: 100%;
}

.reg-faq .open .q {
    color: #F3915B;
}

.reg-faq .q:after {
    content:"";
    display:block;
    width:8px;
    height:8px;
    border-top: #000 2px solid;
    border-right: #000 2px solid;
    transform: rotate(135deg);
    position:absolute;
    right: 2%;
    top: 15px;
    margin: auto;
}


.reg-faq .open .q:after {
    border-top: #F3915B 2px solid;
    border-right: #F3915B 2px solid;
    transform: rotate(-45deg);
    top: 18px;
}

.reg-faq .answer {
    display: none;
}

.reg-faq .open .answer {
    display: block;
    padding: 10px;
    border-top: 1px solid #000;
    background: #fff;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.next-button {
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    color: #fff;
    background: #3CA1FF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    padding: 15px 20px;
    cursor: pointer;
    border: none;
}

.next-button:disabled {
    background: #fafafa;
    color: #ccc;
    cursor: default;
}

a.next-button:hover {
    color: #fff;
    opacity: 0.8;
}

.cancel-button {
    background: #A2A2A2;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    padding: 15px 20px;
    color: #fff;
    display: block;
}

.cancel-button:hover {
    color: #fff;
    opacity: 0.8;
}

a[target="_blank"] {
    padding-right:15px;
    margin-right:5px;
    background: url(/img/ico_newTab.gif) no-repeat center right;
}

.buttons {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 20px;
}

.an-footer {
    margin-top: 80px;
}

p {
    margin-bottom: 1rem;
}

nav {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}
nav ol {
    display: flex;
}
li.step1, li.step2, li.step3 {
    width: 240px;
    height: 70px;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    list-style: none;
    color: #000;
    background: #F4F4F4;
    display: flex;
    justify-content: center;
    position: relative;
    flex-direction: column;
}
li.step2 {
    background: #fafafa;
}
li.cur {
    color: #fff;
    background: #3CA1FF;
}
li.cur .step {
    text-decoration: underline;
}

li.step1:after, li.step2:after {
    border-bottom: 35px solid transparent;
    border-left: 30px solid #F4F4F4;
    border-top: 35px solid transparent;
    content: "";
    height: 0;
    inset: 0 -29px auto auto;
    position: absolute;
    width: 0;
    z-index: 1;
}
li.step2:after {
    border-left: 29px solid #fafafa;
}
li.step1.cur:after, li.step2.cur:after {
    border-left: 29px solid #3CA1FF;
}


.form h2 {
    box-sizing: border-box;
    background: #FFFFFF;
    border-bottom: 1px solid #EAF2F8;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: 0.02em;
    color: #000000;
    padding: 10px;
    border: 1px solid #EAF2F8;
}

.form table {
    width: 798px;
    background: #fff;
}

.form table th {
    width: 290px;
    background: #EAF5FF;
    border-bottom: 1px solid #ADD8FF;
    padding: 15px;
    vertical-align: middle;
}
.form table tr:last-of-type th {
    border-bottom: 2px solid #3f9ef5;
}

.form table td {
    width: 500px;
    background: #fff;
    border-bottom: 1px solid #EAF2F8;
    padding: 15px;
    vertical-align: middle;
}

.form table.info th {
    width: 290px;
    background: #FFFDEA;
    border-bottom: 1px solid #FFEE57;
    padding: 15px;
    vertical-align: middle;
}

@media (max-width: 767px) {
    .form h2 {
        padding: 0 0 10px 10px;
        border: none;
        text-indent: -20px;
    }

    .form table {
        width: 100%;
    }

    .form tr {
        display: flex;
        flex-direction: column;
    }    
    .form table th {
        width: auto;
    }
    
    .form table td {
        width: auto;
        padding: 0 0 15px 0;
    }
    
    .form table.info th {
        width: auto;
    }
    .form table tr:last-of-type th {
        border-bottom: inherit;
    }
}

.form table.info tr:last-of-type th {
    border-bottom: 2px solid #FFEE57;
}

.form table.info td {
    background: #fff;
    border-bottom: 1px solid #FFFCDC;
}

.reg-form h3 {
    font-weight: 700;
    font-size: 15px;
    color: #000000;
}

.reg-form .description {
    font-weight: 400;
    font-size: 11px;
    color: #989898;
}

.g-connect {
    box-sizing: border-box;
    background: #3CA1FF;
    border: 1px solid #DBDBDB;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    display: inline-block;
    padding: 10px 20px;
}
a.g-connect:hover {
    color: #fff;
    opacity: 0.8;
}

.reg-form label {
    display: flex;
    align-items: center;
}
.reg-form input[type="radio"],
.reg-form input[type="checkbox"] {
    margin-right: 5px;
}

.google-account.input {
    width: 300px;
    background: #fff;
    color: #000;
}

.include-dir,.exclude-dir {
    display: none;    
}
.include-dir.active, .exclude-dir.active {
    display: block;
}

#host-list {
    box-sizing: border-box;
    background: #FFF5F0;
    border: 1px solid #F3915B;
    border-radius: 5px;
}

#host-list option:checked {
    background: #F3915B;
    border: 1px solid #F3915B;
    color: #fff;
}

.hostname select {
    width: 100%;
}
.reg-form textarea {
    width: 100%;
    height: 100%;
    padding: 5px;
    resize: none;
}
.error {
    color: #f00;
}


.error-message {
    padding: 10px;
    text-align: center;
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    border: 1px solid #f00;
    background-color: #f55;
}

.preview {
    margin: 20px 0;
}

.preview .frame {
    width: 257px;
    background: #FFF5F0;
    border: 1px solid #F3915B;
    position: relative;
}

.preview .frame:after,
.preview .frame:before {
    content: "";
    position: absolute;
  right: 0;
  left: 10px;
  width: 0;
  height: 0;
}
.preview .frame:before {
  top: -11px;
  border-style: solid;
  border-color: transparent transparent #F3915B transparent;
  border-width: 0 11px 11px 11px;
}
.preview .frame:after {
  top: -9px;
  left: 11px;
  border-style: solid;
  border-color: transparent transparent #FFF5F0 transparent;
  border-width: 0 10px 10px 10px;
  z-index: 10;
}

.preview .summary {
    font-size: 11px;
    color: #000;
    font-weight: 400;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 5px 10px;
}

.preview .text {
    text-align: right;
}

.preview .values span {
    display: block;
}

.preview .notice {
    color: #f00;
    font-weight: bold;
}

#cancel_modal .enquete {
    padding: 20px;
}
  
#cancel_modal .enquete h3 {
    font-weight: bold;
    margin-bottom: 10px;
}

#cancel_modal .enquete label {
    display: block;
    padding: 2px;
}

#cancel_modal  input[name="reason_other"] {
    margin-left: 20px;
    display: block;
}

.form-button {
    text-align: center;
}

.form-button p {
    margin-top: 20px;
}
.pre {
    white-space: pre;
}

.required h3:after {
    content: "*";
    margin-left: 5px;
    color: red;
}

.ai-permit {
    padding: 10px;
}

.ai-permit a {
    display: inline-block;
    margin: 10px 0;
}

.ai-permit label {
    text-align: center;
    display: block;
}