:root {
    --bg-page: #ffffff;
    --bg-surface: #ffbb00;
    --bg-header: rgba(255, 255, 255, 0.0);
    --bg-muted: #f8f9fa;
    --bg-footer: rgba(255, 255, 255, 0.0);
    --line: #d1d5db;
    --line-soft: #e5e7eb;
    --heading: rgba(211, 95, 2, 1);
    --heading-soft: rgba(224, 143, 78, 1);
    --text-main: #333333;
    --text-sub: #4b5563;
    --text-note: #6b7280;
    --text-link: #333333;
    --danger: #dc2626;
    --btn: #333333;
    --btn-primary: #ffffff;
    --primary: rgba(211, 95, 2, 1);
    --primary-hover: rgba(224, 143, 78, 1);
}

html {
    font-size: 12pt;
}
body {
    margin: 0;
    background: var(--bg-page);
    color: var(--text-main);
    font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
}  

* {
    box-sizing: border-box;
}

p {
    margin: 0 0 12px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-sub);
}

.btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: relative;
    gap: 20px;
}
.btn a, .btn button {
    display: inline-block;
    margin: 0;
    border: 0;
    padding: 5px 20px;
    max-width: 300px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: var(--btn);
    background: #e5e7eb;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn a.small, .btn button.small {
    font-size: 1rem;
    font-weight: normal;
}

.btn a:hover,
.btn button:hover {
    background: #d1d5db;
}

.btn a.btn-primary,
.btn button.btn-primary {
    background: var(--primary);
    color: var(--btn-primary);
}

.btn a.btn-primary:hover,
.btn button.btn-primary:hover {
    background: var(--primary-hover);
}


.site-body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg-page);
    color: var(--text-main);
    font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
}
.app-shell {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.bar-header {
    display: flex;
    position: relative;
    padding: 0 15px;
    height: 70px;
    background: var(--bg-header);
    align-items: center;
    justify-content: space-between;
}

.bar-header .logo-chip {
    height: 40px;
}

.bar-header .logo-chip img {
    height: 100%;
}

.bar-header .menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.bar-header .menu-button span {
    width: 100%;
    height: 3px;
    border-radius: 99px;
    background: #333;
    display: block;
}

.bar-header .menu-button.compact span {
    height: 2px;
}

.site-main {
    border-radius: 10px;
    background-image: url('../../image/top_mainv_bg.webp');
    background-size: 100% auto;
    background-repeat: repeat-y;
    background-position: center;
    flex: 1;
}

.content-grid {
    padding: 20px 30px 30px;
    display: grid;
    gap: 60px;
}

.page-block {
    padding: 30px;
}

.card {
    position: relative;
    padding: 40px 30px 20px;
    background: rgba(255, 255, 255, 1);
}

.card:first-child {
    margin-top: 5px;
}

.card h2 {
    position: absolute;
    display: inline-block;
    top: -30px;
    left: 10px;
    padding: 0 0.5em;
    width: auto;
    font-size: 1.3rem;
    line-height: 1.4em;
    color: #ffffff;
    background-color: var(--heading);
}
.card h3 {
    display: inline-block;
    margin: 15px 0 10px;
    padding: 0;
    width: auto;
    font-size: 1.1rem;
    line-height: 1.4em;
    color: #333333;
}

.card p {
    margin: 0 0 12px;
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
    color: var(--text-sub);
}

.card .btn {
    justify-content: end;
    margin-top: 30px;
}

.badge {
    display: inline-block;
    font-size: 10px;
    color: var(--danger);
    font-weight: 700;
    margin-bottom: 6px;
}

.page-title {
    margin: 0 0 8px;
    font-size: 20px;
}

.hint {
    margin: 0 0 12px;
    color: var(--text-sub);
    font-size: 0.9rem;
}

.error-box {
    color: #b42318;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.error-box ul {
    margin: 0;
    padding-left: 18px;
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 1rem;
}

p.required-note {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    color: #4b5563;
}

.required-mark,
.field label .required-mark,
.field label > .required-mark {
    color: #dc2626;
    font-weight: 700;
}

.field label .required-mark,
.field label > .required-mark {
    margin-left: 0.1rem;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #c9d3e0;
    border-radius: 8px;
    padding: 10px;
    font-size: 1.1rem;
}

.field-note {
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--text-note);
}

.check-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 400;
}


.site-footer ul {
    display: flex;
    margin: 0;
    padding: 0;
    flex-direction: row;
    justify-content: center;
    font-size: 0.9rem;
    list-style: '・' inside;
    gap: 30px;
}
.site-footer ul li a {
    color: var(--text-link);
    text-decoration: none;
    margin: 0 6px;
}

.site-footer {
    padding: 20px 15px 10px;
    display: flex;
    height: auto;
    justify-content: space-between;
    align-items: start;
    font-size: 1rem;
    color: var(--text-note);
    background: var(--bg-footer);
}

.site-footer .logo-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    height: auto;
}
.site-footer .logo-chip img {
    width: 190px;
}
.site-footer .logo-chip p {
    margin: 5px 0 0;
    font-size: 0.75rem;
}

.ticket-box {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid #75d19d;
    border-radius: 8px;
    background: #ecfdf3;
}

.ticket-box strong {
    font-size: 1.4rem;
}

.link {
    color: #005ea6;
}
