@charset "utf-8";

#page {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 700px;
    -webkit-box-shadow: 3px 0px 5px rgba(0, 0, 0, .3), -3px 0px 5px rgba(0, 0, 0, .3);
    box-shadow: 3px 0px 5px rgba(0, 0, 0, .3), -3px 0px 5px rgba(0, 0, 0, .3);
    margin: 0 auto;
    background: #fff;
    display: block;
}


/*---------------- header ----------------*/
header.global {
    clear: both;
    padding: 10px 0;
    background: #1a2e79;
    color: #fff;
    margin-top: 15px;
}

header.global h1 {
    padding: 0 15px;
    text-align: center;
    font-size: 150%;
}

/*---------------- footer ----------------*/
footer.global {
    clear: both;
    padding: 10px 5px;
    background: #1a2e79;
    color: #fff;
    margin-bottom: 15px;
}

footer.global h2 {
    text-align: center;
}

footer.global a {
    color: #cccccc;
    font-size: 150%;
}

/*---------------- main ----------------*/
.main {
    clear: both;
    padding: 15px;
    font-size: 108%;
}

table {
    margin: 0 0 10px;
    width: 100%;
    font-size: 108%;
    table-layout: fixed;
}

table th {
    width: 25%;
    padding: 5px 10px;
    border: 1px solid #ccc;
    background: #FFFFCC;
    /* #eee; */
    text-align: left;
    vertical-align: middle;
}

table td {
    padding: 10px;
    border: 1px solid #ccc;
    display: flex;
    flex-wrap: wrap;
}

.inputText {
    width: 97%;
    padding: 3px;
    font-size: 130%;
}

.inputSelect {
    padding: 3px;
    font-size: 130%;
    max-width: 97%;
}

.inputText.inputTextMiddle {
    width: 50%;
}

.inputText.inputTextShort {
    width: 50%;
}

.inputText.inputTextShortest {
    width: 20%;
}

textarea {
    width: 70%;
    height: 150px;
    padding: 3px;
    font-family: inherit;
}

.formBtn {
    font-size: 140%;
    padding: 4px;
    padding-left: 8px;
    padding-right: 8px;
    width: 150px;
    -webkit-border-radius: 6px;
    -webkit-box-shadow: 0 2px 2px #CCC;
    border-radius: 6px;
    box-shadow: 0 2px 2px #CCC;
}

.center-text {
    text-align: center;
    margin: 0;
}

.error {
    color: #FF0000;
}

span.require {
    color: red;
    font-weight: bold;
}

.unsubscribe-message {
    text-align: center;
    font-size: 130%;
}

div#ssl-seal {
    margin-top: 1.5em;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:where([hidden]:not([hidden=until-found])) {
    display: none !important;
}

:where(html) {
    -webkit-text-size-adjust: none;
    color-scheme: dark light;
    -moz-tab-size: 2;
    -o-tab-size: 2;
    tab-size: 2;
    scrollbar-gutter: stable;
}

:where(html:has(dialog:modal[open])) {
    overflow: clip;
}

@media (prefers-reduced-motion: no-preference) {
    :where(html:focus-within) {
        scroll-behavior: smooth;
    }
}

:where(body) {
    line-height: 1.5;
}

:where(button) {
    all: unset;
}

:where(input, button, textarea, select) {
    font: inherit;
    color: inherit;
}

:where(textarea) {
    resize: vertical;
    resize: block;
}

:where(button, label, select, summary, [role=button], [role=option]) {
    cursor: pointer;
}

:where(:disabled) {
    cursor: not-allowed;
}

:where(label:has(> input:disabled), label:has(+ input:disabled)) {
    cursor: not-allowed;
}

:where(a) {
    color: inherit;
    text-underline-offset: 0.2ex;
}

:where(ul, ol) {
    list-style: none;
}

:where(img, svg, video, canvas, audio, iframe, embed, object) {
    display: block;
}

:where(img, picture, svg, video) {
    max-inline-size: 100%;
    block-size: auto;
}

:where(p, h1, h2, h3, h4, h5, h6) {
    overflow-wrap: break-word;
}

:where(h1, h2, h3) {
    line-height: calc(1em + 0.5rem);
    text-wrap: balance;
}

:where(hr) {
    border: none;
    border-block-start: 1px solid;
    color: inherit;
    block-size: 0;
    overflow: visible;
}

:where(dialog) {
    border: none;
    background: none;
    inset: unset;
    max-width: unset;
    max-height: unset;
}

:where(dialog:not([open])) {
    display: none !important;
}

:where(:focus-visible) {
    outline: 3px solid CanvasText;
    box-shadow: 0 0 0 5px Canvas;
    outline-offset: 1px;
}

:where(:focus-visible, :target) {
    scroll-margin-block: 8vh;
}

:where(.visually-hidden:not(:focus-within, :active)) {
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden !important;
    position: absolute !important;
    white-space: nowrap !important;
    border: 0 !important;
}

input[type=button],
input[type=text],
input[type=submit],
input[type=image],
textarea {
    -webkit-appearance: none;
    border-radius: 0;
}

input[type=button],
input[type=text],
input[type=submit],
input[type=image],
textarea {
    outline: none;
}

select {
    /* -webkit-appearance: none; */
    border-radius: 0;
    outline: none;
}

input {
    border: 1px solid black;
    border-radius: 5px;
}

html {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
        "Hiragino Sans", "Noto Sans", Meiryo, sans-serif;
}

body {
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    color: black;
}

body * {
    box-sizing: border-box !important;
}

.require {
    color: red;
}

#page {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background-color: #fce4d6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

header {
    color: white;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 10em;
    background-color: #333;
}

header h1 {
    font-weight: bold;
    display: inline-block;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-all;
    max-width: 50em;
}

header.global h1 {
    font-size: 1.5em;
    text-align: center;
    padding: 0 0.5em;
}

.main {
    margin: 2em auto;
    max-width: 35em;
    width: 100%;
    height: 100%;
    padding: 1em;
}

form {
    background-color: white;
    padding: 2em 2em 3em;
    border-radius: 0.2em;
    box-shadow: 0 0 1em rgba(131, 44, 0, 0.0823529412);
}

form form {
    padding: 0;
    box-shadow: none;
}

#rewriteBtn {
    margin-top: 0;
    margin-bottom: 3em;
    background-color: #b5b5b5;
    box-shadow: 0 0.2em 0em #7d7d7d;
}

tbody {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 1.5em;
    width: 100%;
}

th {
    font-size: 18px;
}

td {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.3em;
}

#touroku_name1 {
    margin-right: 0.5em;
}

tr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5em;
    width: 100%;
}

fieldset {
    border: none;
}

#formInputMsg,
#formClickMsg {
    margin-bottom: 2em;
}

.error,
#formInputMsg {
    text-align: left;
    margin: 0 0.5em 2em;
}

.inputText {
    font-size: 1em;
    width: 100%;
    padding: 0.5em 1em;
}

select,
textarea,
input,
input[type=text] {
    padding: 0.5em 1em;
    border-radius: 10em;
    border: none;
    background-color: rgb(235, 235, 235);
    outline: none;
    width: 100%;
    transition: 0.1s;
    box-shadow: 0 0 0 0em #b41b23;
}

textarea {
    border-radius: 0.5em;
}

select:focus,
textarea:focus,
input:focus,
input[type=text]:focus {
    background-color: white;
    border: none;
    outline: none;
    box-shadow: 0 0 0 0.1em #b41b23;
}

input[type=submit] {
    font-size: 1.6em;
    margin: 0 auto;
    display: block;
    width: 80%;
    min-width: 4.5em;
    border-radius: 10em;
    padding: 0.25em 0.5em;
    margin-top: 1em;
    background-color: #cc0008;
    color: white;
    cursor: pointer;
    box-shadow: 0 0.2em 0em #830004;
    transition: 0.2s all;
}

input[type=submit]:hover {
    transform: translateY(0.2em);
    box-shadow: 0 0em 0em #830004;
}

input[type=radio],
input[type=checkbox] {
    width: auto;
    cursor: pointer;
    transform: scale(1.5);
    margin-bottom: 0.75em;
    box-shadow: none;
}

input[type=radio]~label,
input[type=checkbox]~label {
    width: calc(100% - 2em);
    margin-left: 0.3em;
    display: inline-block;
    margin-bottom: 0.6em;
}

label {
    word-break: break-all;
    overflow-wrap: break-word;
}

td:has(input[type=radio]),
td:has(input[type=checkbox]) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    color: black;
}

#ssl-seal {
    margin: 1em auto 0;
    text-align: center;
}

footer {
    width: 100%;
    min-height: 2em;
    background-color: #333;
}

@media screen and (max-width: 1000px) {
    body {
        font-size: 14px;
    }

    form {
        padding: 1.5em 1.5em 3em;
    }
}

@media screen and (max-width: 350px) {
    form {
        padding: 1em 1em 3em;
    }

    header::after {
        font-size: 7vw;
    }

    header::before {
        font-size: 7vw;
    }
}

table th,
table th,
table td {
    border: none;
    width: 100%;
}

table td {
    padding: 0.3em 0 0;
}

table th {
    background-color: white;
    border-bottom: 0.1em solid black;
    text-align: left;
}

.inputText.inputTextShortest {
    width: 42%;
}

.inputText.inputTextShort {
    width: 100%;
}

input[type=radio]~label,
input[type=checkbox]~label {
    word-break: keep-all;
    padding: 0;
    padding: 0.5em;
    background-color: #f2f2f2;
    border-radius: 0.2em;
}

header.global {
    margin: 0 auto;
}

footer.global {
    margin-bottom: 0;
}

/* thank画面 */
#thankYouMsg {
    text-align: center;
    font-weight: bold;
    font-size: 1.5em;
}