/*
 * Reset
 * colors
 * fontsize
 * align
 * spacer
 * general
 * form
 */

/* Reset
----------------------------------------------------------------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    padding: 0px;
    margin: 0px;
}

body,
p,
figure {
    padding: 0px;
    margin: 0px;
}

ul {
    padding: 0px;
    margin: 0px;
    list-style: none;
}

li,
dl,
dt,
dd {
    padding: 0px;
    margin: 0px;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    *behavior: url(../js/boxsizing.htc);
}

img {
    border: none;
    display: block;
    max-width: 100%;
    margin: auto;
}

a {
    color: #1414d2;
    text-decoration: none;
}

a,
a:hover {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    transition: all 0.5s ease
}

input[type="text"],
input[type="date"],
select {
    font-family: Arial, "メイリオ", "Meiryo", sans-serif;
    height: 40px;
    width: 100%;
    font-size: 1.6rem;
    padding: 0 1rem;
    color: #333;
}

input[type="checkbox"],
input[type="radio"] {
    padding: 0;
    margin: 0;
}

select {
    cursor: pointer;
}

textarea {
    resize: none;
    width: 100%;
}

html {
    font-size: 62.5%;
}

body {
    background-color: #e9e9e9;
    color: #333;
    font-family: Arial, "メイリオ", "Meiryo", sans-serif;
    font-size: 12px;
    font-size: 1.2rem;
    /* 1 */
    line-height: 150%;
    margin: 0;
    padding: 0;
}

/* -- mode -- */
.sp {}

.pc {}

/* $general */
.clr:after {
    content: "";
    display: table;
    clear: both;
}

.header {
    clear: both;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.header-banner {
    background: #1414d2;
    padding: 20px 28px;
}

.header-banner .logo {
    overflow: hidden;
    width: 196px;
}

.header-banner .logo a {
    display: block;
    width: 100%;
}

.container {
    max-width: 640px;
    /* フォームの最大幅を設定 */
    margin: auto;
    padding: 20px;
    margin-top: 30px;
}

.main-visual {
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    clear: both;
    margin: 0 auto 2rem;
    overflow: hidden;
    width: 100%;
}

.section-group {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    padding: 2rem;
}

.section-group h1 {
    color: #333;
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 36px;
    margin: 2rem auto 3rem;
    text-align: center;
    width: 100%;
}

.section-group h2 {
    color: #333;
    font-size: 2.1rem;
    font-weight: 600;
    line-height: 30px;
    margin: 1rem auto 2rem;
    width: 100%;
}

.section-group p {
    color: #555;
    font-size: 1.4rem;
    line-height: 2.4rem;
    margin: 0 auto 1rem;
    text-align: justify;
    width: 100%;
}

form {
    margin-top: 20px;
}

.form-group,
.terms-block {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 0 auto 2rem;
    width: 100%;
}

.form-group label {
    color: #333;
    font-size: 1.6rem;
    display: block;
    margin-bottom: 1rem;
}

.form-group .frm-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.form-group .frm-row input[type="text"],
.form-group .frm-row p {
    background-color: #fff;
    margin: 0 0 1rem;
    width: 46%;
}

.form-group input[type="text"]:focus,
.form-group select:focus {
    background-color: #fff !important;
    border-bottom: 1px solid #333 !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}

.form-group p {
    font-size: 1.6rem;
    font-weight: 600;
}

.form-group p.val-message {
    font-size: 1.4rem;
    font-weight: 200;
}

.form-group .required {
    color: #ff0000;
    font-size: 1.6rem;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group select,
.form-group textarea {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    box-sizing: border-box;
    font-size: 1.6rem;
    margin: 0 auto 1rem;
    outline: none;
    padding: .5rem .5rem 0 .5rem;
    width: 100%;
}

.form-group input[type="radio"] {
    margin-right: 5px;
}

.form-group .form-actions {
    display: flex;
    justify-content: space-between;
    /* ボタンを両端に配置 */
    margin-top: 20px;
}

.form-group .form-actions input[type="button"] {
    padding: 12px 24px;
    /* ボタンのサイズを調整 */
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.4rem;
}

.form-actions {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 1rem 0 3rem;
    width: 100%;
}

.form-actions input[type="button"].confirm {
    background: #6244bb;
    border: 1px solid #6244bb;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 38px;
    min-width: 160px;
    padding: 5px 10px;
    margin-right: 15px;
    text-align: center;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.form-actions input[type="button"].confirm:hover {
    background-color: #fff;
    color: #6244bb;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.form-actions input[type="button"].clear {
    background-color: transparent;
    border: none;
    color: #1414d2;
    cursor: pointer;
    font-size: 1.6rem;
    text-decoration: underline;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.form-actions input[type="button"].clear:hover {
    text-decoration: none;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -ms-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.terms-block {
    padding: 3rem 2rem;
}

.terms-block h4 {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 24px;
    margin: 0 auto 2rem;
}
.terms-block h4.eng_terms_link {
    cursor: pointer;
    padding-top: 3rem;
    text-decoration: underline;
}
.txt-01 {
    color: #393939;
    font-size: 1.2rem;
    line-height: 20px;
    margin-bottom: 7px;
    text-align: justify;
    width: 100%;
}

.txt-01 a {
    cursor: pointer;
    text-decoration: underline;
}

.txt-note {
    color: #393939;
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
}

.txt-02,
.txt-03 {
    color: #393939;
    font-size: 1.2rem;
    line-height: 20px;
    margin-bottom: 7px;
    width: 100%;
}

.txt-02 span {
    display: inline-block;
    margin-left: 20px;
    width: 96%;
}

.txt-02 span::first-letter {
    margin-left: -20px;
}

.txt-03 span {
    display: inline-block;
    margin-left: 24px;
    width: 94%;
}

.txt-03 span::first-letter {
    margin-left: -24px;
}

.agree-block {
    align-items: center;
    display: flex;
    margin: 2rem auto 3rem;
}

.agree-block input[type="checkbox"] {
    cursor: pointer;
    height: 20px;
    margin: 0 1rem 0 0;
    width: 20px;
}

.agree-block label {
    color: #333;
    cursor: pointer;
    font-size: 1.6rem;
}
.close-frm-txt {
    color: #ff0000;
    font-size: 1.8rem;
    line-height: 34px;
    font-weight: 600;
    margin: 0 auto 4rem;
    text-align: center;
    width: 100%;
}

/* - footer - */
.footer {
    background: #1414d2;
    padding: 20px 2%;
    text-align: center;
    width: 100%;
}

.footer .f-link a {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 24px;
}

.footer .f-copy {
    color: #fff;
    font-size: 1.2rem;
    line-height: 24px;
}

/* -- colors -- */
.red {
    color: #e84c3d;
}

/* -- fontsize -- */
.fs10 {
    font-size: 1rem;
}

.fs12 {
    font-size: 1.2rem;
}

.fs14 {
    font-size: 1.4rem;
}

.fs16 {
    font-size: 1.6rem;
}

.fs18 {
    font-size: 1.8rem;
}

.fs20 {
    font-size: 2rem;
}

/* -- align -- */
.tcenter {
    text-align: center;
}

.tleft {
    text-align: left;
}

.tright {
    text-align: right;
}

.pleft {
    float: left;
}

.pright {
    float: right;
}

/* -- spacer -- */
.line-10 {
    clear: both;
    display: table;
    height: 10px;
    width: 100%;
}

.line-20 {
    clear: both;
    display: table;
    height: 20px;
    width: 100%;
}

.line-50 {
    clear: both;
    display: table;
    height: 50px;
    width: 100%;
}

.m-r15 {
    margin-right: 15px;
}

.m-l15 {
    margin-left: 15px;
}

.m-b15 {
    margin-bottom: 15px;
}

.m-t15 {
    margin-top: 15px;
}

.m-t30 {
    margin-top: 30px;
}

.p-r15 {
    padding-right: 15px;
}

.p-l15 {
    padding-left: 15px;
}

.p-b15 {
    padding-bottom: 15px;
}

.p-t15 {
    padding-top: 15px;
}

.val-message {
    color: red;
}

@media only screen and (max-width:480px) {

    .form-group .frm-row input[type="text"],
    .form-group .frm-row p {
        width: 100%;
    }
}