/* サイト全体に関わるCSS */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700;900&family=Noto+Serif+JP:wght@400;700;900&display=swap');

:root {
    --PrimaryColor: #002855;
    --SecondaryColor: #c30d23;
    /* Notice */
    --NoticeColor: #b51919;
    --SubTextColor: #777;
}

* {
    font-family: 'Noto Sans JP', sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* h1要素のスタイル・リセット */
h1 {
    margin: 0;
    padding: 0;
}

h2.SectionHeading {
    width: 100%;
    padding: 0 10px 0px 10px;
    margin-block-start: 0.5em;
    margin-block-end: 1em;
    color: var(--PrimaryColor);
    border-left: 10px solid var(--SecondaryColor);
}

h3.SectionHeading {
    width: 100%;
    padding: 0 10px 0 5px;
    color: var(--H3Color);
}

h4.SectionHeading {
    width: 100%;
    padding: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    font-size: 15px;
    color: var(--H4Color);
    font-weight: normal;
}

/* フォーム */

input[type="text"],
input[type="email"],
input[type="password"]
{
    width: 100%;
    font-size: 15px;
    padding: 5px 10px;
}

textarea {
    width: 100%;
    padding: 5px 10px;
    font-size: 15px;
    resize: none;
}

select {
    width: 100%;
    padding: 5px;
    /* Safari対応 */
    /* appearance: menulist-button;
    height: 35px; */
}

/* ボタン */

.Button {
    padding: 10px 20px;
    font-size: 15px;
    color: #fff;
    border: 1px solid;
    background-color: var(--PrimaryColor);
    border-radius: 5px;
    width: fit-content;
    /* margin: auto; */
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.Button.LargeButton {
    width: 100%;
    text-align: center;
}

.Button.LightButton {
    color: var(--PrimaryButtonColor);
    background-color: transparent;
}

.Button.NoticeButton {
    color: var(--NoticeColor);
}

.Button.LeftAligned {
    margin: unset;
}

.Button[disabled] {
    cursor: not-allowed;
    opacity: 0.7;
}

.UnderlinedButton {
    padding: 3px 5px;
    font-size: 15px;
    border: none;
    width: fit-content;
    color: var(--PrimaryButtonColor);
    background-color: transparent;
    text-decoration: underline;
}

/* confirm dialog */

.ConfirmDialog {
    border-radius: 5px;
    border: 1px solid #555;
    padding: 1.5em;
}
.ConfirmDialog::backdrop {
    background: rgba(0, 0, 0, 0.3);
}

.ConfirmDialog .Title {
    font-weight: bold;
}
.ConfirmDialog .Content {
    font-weight: 300;
    font-size: 0.9em;
}
.ConfirmDialog .ButtonContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}