/*-----------------------------------------------------------
        フォント
-----------------------------------------------------------*/
body {
    font-size: 18px;
}

h1,
h2,
h3,
h4,
p,
div,
label {
    word-break: break-word;
    overflow-wrap: anywhere;
    box-sizing: border-box;
    color: #707070;
}

label{
    white-space: nowrap;
}

p,
.p {
    font-size: 18px;
    line-height: 1.75em;
    word-break: break-word;
    overflow-wrap: anywhere;
}

h1,
.h1,
.h1b,
.h1_ttl {
    font-size: 24px;
    word-break: break-word;
    overflow-wrap: anywhere;
}

h2,
.h2,
.h2b,
.h2_ttl {
    font-size: 22px;
    word-break: break-word;
    overflow-wrap: anywhere;
}

h3,
.h3,
.h3b,
.h3_ttl {
    font-size: 20px;
    word-break: break-word;
    overflow-wrap: anywhere;
}

h4,
.h4,
.h4b,
.h4_ttl {
    font-size: 18px;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.font_s {
    font-size: 12px;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.bold,
.h1b,
.h2b,
.h3b,
.h4b,
.h1_ttl,
.h2_ttl,
.h3_ttl,
.h4_ttl {
    font-weight: bold;
}

.fa-solid {
    height: 1em;
    display: inline;
}

a {
    color: #1B224C;
}

a:hover {
    text-decoration: none !important;
}

a.anker {
    text-decoration: underline !important;
}

a.anker:hover {
    opacity: 0.6;
}


/*foam*/
form p.bold,
form .flex p {
    margin-bottom: 10px;
}

select,
textarea,
input[type=text],
input[type=number],
input[type=date],
input[type=time],
input[type=email],
input[type=tel],
input[type=url],
input[type=password],
input[type=search],
.input_dummy {
    padding: 0.75em;
    font-size: 18px;
    border: 1px solid #ccc;
    border-radius: 5px;
    line-height: 1.2 !important;
    background-color: #fff;
    box-sizing: border-box;
    box-shadow: inset 0 1px 0px rgb(0 0 0 / 10%);
}

select,
input[type=text],
input[type=number],
input[type=date],
input[type=time],
input[type=email],
input[type=tel],
input[type=url],
input[type=password],
input[type=search],
.input_dummy {
    min-width: 100px;
    height: 50px;
}

input[type=search] {
    border-radius: 5px 0 0 5px;
    border: 1px solid #ccc;
}

textarea {
    width: 100%;
    min-height: 10em;
    box-sizing: border-box;
    resize: none;
    white-space: pre-wrap;
}

label {
    vertical-align: middle;
    display: inline-block;
    line-height: 2.5;
}

input[type=submit] {
    display: block;
    margin: auto;
}

input[type=checkbox],
input[type=radio] {
    zoom: 2;
}

input[type=file] {
    display: none !important;
}

.btn input[type=file] {
    display: block !important;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.txtCenter {
    text-align: center !important;
}

.txtLeft {
    text-align: left !important;
}

.txtRight {
    text-align: right !important;
}

.f_left {
    float: left !important;
}

.f_right {
    float: right !important;
}

.f_clear {
    clear: both !important;
}


form {
    background-color: #f7f7f7;
    padding: 24px 30px;
    border-radius: 10px;
    box-shadow: 1px 2px 2px 1px rgba(0, 0, 0, .1);
    margin-bottom: 20px;
}

form p.bold {
    background-color: #9e5ecc;
    padding: 4px 9px;
    border-radius: 5px;
    color: #ffffffed;
    width: 25%;
    height: 50px;
    line-height: 40px;
    text-align: right;
    margin-right: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

form p.bold+div {
    width: calc(75% - 10px);
}

form p.bold+div input[type=text],
form p.bold+div input[type=password],
form p.bold+div input[type=date],
form p.bold+div select {
    width: 100%;
}

form p.bold+div label {
    display: inline;

}

form .btn,
form .btn_mini {}

form .btn:hover,
form .btn_mini:hover {}

form .flex .flex span {
    white-space: nowrap
}

/*-----------------------------------------------------------
        ボタン
-----------------------------------------------------------*/
.btn,
.btn_mini {
    font-size: 18px;
    padding: 0.5em 1.5em;
    font-weight: bold;
    display: inline-block;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    box-sizing: border-box;
    border-radius: 15px;
    border: 1px solid #693590;
    background: linear-gradient(0deg, #693590, #7c46a4);
    background-color: #693590;
    color: #fff !important;
    text-shadow: 1px 1px 5px #693590;
    box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, .2);
    text-decoration: unset !important;
    position: relative;
    max-height: 50px;
    overflow: hidden;
}

.btn:hover,
.btn_mini:hover {
    background: linear-gradient(0deg, #7c46a4, #693590);
    box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, .2);
    transform: translate(0px, 2px);
}

.btn.btn_off {
    border: 1px solid #ccc;
    text-shadow: 1px 1px 5px #ccc;
    background: linear-gradient(0deg, #ddd, #ccc);
    box-shadow: unset;
    transform: translate(0px, 2px);
}

.btn.btn_off:hover {
    border: 1px solid #ccc;
    text-shadow: 1px 1px 5px #ccc;
    background: linear-gradient(0deg, #ddd, #ccc);
    box-shadow: unset;
    transform: translate(0px, 2px);
}

.btn_mini {
    font-size: 16px;
    padding: 0.25em 1em;
}

.btn_s {
    font-size: 16px;
    padding: 5px 10px;
}

/*ボタンカラー*/
.btn_d {
    border: 1px solid #00a889;
    background: linear-gradient(0deg, #00a889, #1ac0a2);
    background-color: #00a889;
    text-shadow: 1px 1px 5px #00a889;
}

.btn_d:hover {
    background: linear-gradient(0deg, #1ac0a2, #00a889);
}

.btn.grey,
.btn_mini.grey {
    background-color: #EAEAEA;
    color: #fff;
}

.btn.red,
.btn_mini.red {
    background-color: #FF4747;
    color: #fff;
}

.btn.sky,
.btn_mini.sky {
    background-color: #60C5FF;
    color: #fff;
}

.btn.blue,
.btn_mini.blue {
    background-color: #0073B6;
    color: #fff;
}

.btn:hover,
.btn_mini:hover {
    text-decoration: none !important;
    background-color: #999999;
    color: #fff;
}

/*---------------------
    font awesome
----------------------*/
i.fa-regular,
i.fa-solid,
i.fas {
    line-height: unset;
    margin-right: 0.5em;
    width: 1em;
    height: 1em;
}

/*---------------------
----------------------*/
@media screen and (max-width: 1200px) {
    /*フォント*/

    body {
        font-size: 16px;
    }

    p,
    .p {
        font-size: 16px;
        line-height: 1.5rem;
    }

    h1,
    .h1,
    .h1b,
    .h1_ttl {
        font-size: 22px;
    }

    h2,
    .h2,
    .h2b,
    .h2_ttl {
        font-size: 18px;
    }

    h3,
    .h3,
    .h3b,
    .h3_ttl {
        font-size: 16px;
    }

    h4,
    .h4,
    .h4b,
    .h4_ttl {
        font-size: 14px;
    }

    select,
    textarea,
    input[type=text],
    input[type=number],
    input[type=date],
    input[type=time],
    input[type=email],
    input[type=tel],
    input[type=url],
    input[type=password],
    input[type=search],
    .input_dummy {
        padding: 0.75rem;
        font-size: 14px;
    }

    input[type=submit] {
        padding: 0.5rem 0.75rem;
        font-size: 16px;
    }

    select,
    input[type=text],
    input[type=number],
    input[type=date],
    input[type=time],
    input[type=email],
    input[type=tel],
    input[type=url],
    input[type=password],
    input[type=search],
    .input_dummy {
        min-width: 60px;
    }

    /*input.w100,*/
    /*input.w150,*/
    /*input.w200,*/
    /*input.w250,*/
    /*input.w300,*/
    input.w350,
    input.w400,
    input.w450,
    input.w500,
    select.w500 {
        /*        width: 100% !important;*/
    }

    input.w100.btn,
    input.w150.btn,
    input.w200.btn,
    input.w250.btn,
    input.w300.btn,
    input.w350.btn,
    input.w400.btn,
    input.w450.btn,
    input.w500.btn {
        width: 40% !important;
    }

    .btn {
        font-size: 16px;
        padding: 0.25rem 1rem;
    }

    .btn_mini {
        font-size: 12px;
    }

}