@charset "UTF-8";

/*********************************
preset variables
*********************************/
:root {
    --fontSize: 16px;
    --linkColor: #3562a0;
    --textColor: #333;
    /* color preset */
    --mainColor: #0000cd;
    --mainLightColor: #01a0e2;
    --subColor: #5496d2;
    --subLightColor: #19bebe;
    /* width preset */
    --spacing: 1rem;
    --contentWidth: 1050px;
}

/*************************************
* START header
*************************************/
header {
    padding: 0.5rem;
    text-align: center;
}

header .centering {
    background: var(--mainColor);
    border-radius: 5px;
    color: #fff;
    padding: 7px;
}

header h1 {
    color: #fff;
    font-size: 2.25rem;
    font-weight: 700;
}

header p {
    color: #e0e0e0;
    font-size: 1.3rem;
}

/*************************************
* END header START main
*************************************/
main {
    padding: 1rem 0;
}

pre {
    white-space: pre-wrap;
}

main h2 {
    font-size: 1rem;
    font-weight: 700;
    background-color: var(--mainColor);
    padding: 0.8rem 0.5rem;
    color: #fff;
    display: flex;
    align-items: baseline;
    margin-top: 1.5rem;
}

main h3 {
    font-size: 1.1rem;
}

main h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

table {
    display: block;
}

table th {
    width: 155px;
    font-weight: 500;
}
table td {
    width: 830px;
}
.text-center {
    display: block;
}

.error-box {
    padding: 1.5rem;
    border: 1px solid #ccc;
    border-radius: 1rem;
}

.error-box p {
    margin-bottom: 0;
}

.errmsg {
    color: red;
    font-weight: 700;
}

.bold {
    font-weight: bolder;
}

.red {
    color: red;
}

.blue {
    color: var(--mainLightColor);
}

.box-center {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.toggle-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

input.button {
    padding: .5rem 1rem;
    background: var(--mainColor);
    color: #fff;
}

input.button:hover {
    background: var(--subColor);
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

p.flex-p {
    display: flex;
    gap: 1rem;
    align-items: center;
}

p.flex-p span:first-of-type {
    flex-basis: 220px;
}

dl.confirm-arr {
    display: grid;
    grid-template-columns: 350px 1fr;
    row-gap: 1px;
}

dl.confirm-arr dt {
    grid-column: 1;
    padding: .5rem 1rem;
    background: #949ea6;
    color: #fff;
    font-weight: 700;
    text-align: center;
}

dl.confirm-arr dt:nth-of-type(2n) {
    background: var(--mainColor);
}

dl.confirm-arr dd {
    grid-column: 2;
    padding: .5rem 1rem;
    background: #eee;
}

dl.confirm-arr dd:nth-of-type(2n) {
    background: var(--mainLightColor);
}

/** 入力画面用 */
span.need {
    padding: .2rem .8rem;
    margin-left: 1rem;
    display: inline-block;
    background: #c94d00;
    color: #fff;
    font-size: .8rem;
    line-height: 1rem;
}

.mailform dl {
    display: grid;
    grid-template-columns: minmax(200px, 200px) 1fr;
/*    border: 2px solid #333;*/
    row-gap: 1px;
}

.mailform dl dt {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    gap: 1rem;
    grid-column: 1;
    padding: .5rem 2rem .5rem 1rem;
    /*background: #333;
    color: #fff;*/
    font-weight: 700;
    text-align: left;
    font-size: 1.1rem;
}

.mailform dl dt:nth-of-type(2n) {
/*    background: var(--mainColor);*/
}

.mailform dl dt>.red {
    display: inline-block;
    font-size: 1rem;
    background-color: red;
    color: #fff;
    border-radius: 5px;
    padding: 0 10px;
    white-space: nowrap;
}

.mailform dl dt .small {
    font-size: .9em;
    font-weight: normal;
    line-height: 1.4;
    color: #eeeeee;
}

.mailform dl dd {
    grid-column: 2;
    padding: .5rem 1rem;
/*    background: #eee;*/
}

.mailform dl dd:nth-of-type(2n) {
/*    background: var(--mainLightColor);*/
}

.mailform .box {
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0.3rem;
    box-shadow: 0 0 2px 1px rgb(0 0 0 / 8%) inset;
    display: block;
    font-size: .95rem;
    line-height: 1.4;
    padding: 0.3rem 0.5rem;
    width: 50%;
    transition: 0.2s;
}
.mailform .box1 {
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0.3rem;
    box-shadow: 0 0 2px 1px rgb(0 0 0 / 8%) inset;
    display: block;
    font-size: .95rem;
    line-height: 1.4;
    padding: 0.3rem 0.5rem;
    width: 80%;
    transition: 0.2s;
}

.mailform .box.disable {
    background-color: #eaeaea;
    border: 1px solid #bbb;
    pointer-events: none;
}

.mailform .box.narrow {
    display: inline-block;
    width: auto;
}

.mailform .box:focus {
    border: 1px solid var(--mainColor);
}

.mailform label.check {
    display: block;
    padding-left: 1.4rem;
    position: relative;
    line-height: 1.0;
    cursor: pointer;
    margin-top: -1.25rem;
    margin-bottom: 1rem;
}

.indent-20 {
    padding-left: 4rem;
    width: 80%;
}

.mailform label.check.only-check {
    width: fit-content;
}

.mailform label.check::before {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid #ccc;
    background: #fff;
    position: absolute;
    top: 50%;
    left: .3rem;
    transform: translateY(-50%);
}

.mailform label.check::after {
    content: "";
    display: inline-block;
    width: .5rem;
    height: 1rem;
    position: absolute;
    top: 0;
    left: .7rem;
    border-bottom: 4px solid #c94d00;
    border-right: 4px solid #c94d00;
    transition: .1s ease-out;
    transform: translate(-.2rem, .2rem) rotate(-100deg) scale(.5);
    opacity: 0;
}

.mailform label.check span {
    flex-basis: 5rem;
}

.mailform input:checked+label.check::after {
    transform: rotate(45deg);
    opacity: 1;
}

.flex-center {
    display: flex;
    justify-content: center;
}

table.campaign {
    width: 100%;
}

table.campaign tr {
    border-bottom: 1px solid #cfcfcf;
}

table.campaign tr:nth-of-type(odd) {
    background-color: var(--mainLightColor);
}

table.campaign th {
    padding: 0.5rem 1rem;
    border: none;
    background-color: inherit;
    font-size: 1.25rem;
    font-weight: 400;
    width: 195px;
}

table.campaign td {
    font-size: 1.35rem;
    padding: 0.5rem 1rem 0.5rem 0;
    border: none;
    font-weight: 500;
}

table.campaign span.small {
    font-size: 1rem;
    font-weight: 400;
}

/*************************************
* END main START footer
*************************************/
footer {
    padding: 2rem 1rem;
    color: #999;
    text-align: center;
}

/*************************************
* END footer START only for sp
*************************************/
@media only screen and (max-width: 850px) {
    .sp-hide {
        visibility: hidden;
        opacity: 0
    }

    .sp-visible {
        visibility: visible;
        opacity: 1
    }

    .sp-none {
        display: none !important
    }

    .rdx-btn {
        display: block
    }

    dl.confirm-arr,
    .mailform dl {
        display: block;
        border: none;
    }

    dl.confirm-arr dd,
    .mailform dl dd {
        margin-bottom: 1rem;
    }

}

/*************************************
* END only for sp START only for pc
*************************************/
@media print,
screen and (min-width: 850px) {
    .pc-hide {
        visibility: hidden;
        opacity: 0
    }

    .pc-visible {
        visibility: visible;
        opacity: 1
    }

    .pc-none {
        display: none !important
    }

}