
:root {
    --color-navy: #2b3340;
    --color-navy-dark: #1f2732;
    --color-blue: #2c78c4;
    --color-blue-light: #e8f1fa;
    --color-gold: #b89456;
    --color-gold-light: #c9a368;
    --color-bg: #f4f5f7;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-text-sub: #666666;
    --color-border: #dddddd;
    --color-border-light: #ebebeb;
    --color-accent-bg: #eaf3fb;
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    font-size: 14px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ========== ヘッダー ========== */
.header {
    width: 100%;
    position: relative;
    background: var(--color-bg);
}
.header::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to bottom, #9aabba, transparent);
  pointer-events: none;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.p-header {
    display: none;
    align-items: center;
    grid-template-columns: 2.5rem minmax(0, 1fr) auto;
    height: 100%;
    justify-content: space-between;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.9375rem;
    padding-right: 15px;
    width: 100%;
}
.c-menu-button {
    position: relative;
    z-index: 101;
    align-items: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    height: 2.1875rem;
    justify-content: center;
    padding: 0;
    width: 2.4375rem;
}

.c-menu-button__lines {
    align-items: flex-start;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 0.71875rem;
    justify-content: center;
    width: 100%;
}

.c-menu-button__line {
    background-color: #2176C1;
    border-radius: 3.125rem;
    display: block;
    height: 4px;
    height: 0.25rem;
    -webkit-transition: opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;
    transition: opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out, -webkit-transform 0.3s ease-out;
    width: 100%;
}

.c-menu-button__line:nth-child(1) {
  width: 100%;
}

.c-menu-button__line:nth-child(2) {
  width: 52%;
}

.c-menu-button__line:nth-child(3) {
  width: 26%;
}

.c-menu-button[aria-expanded="true"] .c-menu-button__line {
      width: 2.9375rem;
}

.c-menu-button[aria-expanded="true"] .c-menu-button__line:nth-child(1) {
    transform: translate(-7px, 16px) rotate(-45deg)
}

.c-menu-button[aria-expanded="true"] .c-menu-button__line:nth-child(2) {
  opacity: 0;
}

.c-menu-button[aria-expanded="true"] .c-menu-button__line:nth-child(3) {
      transform: translate(-7px, -16px) rotate(45deg)
}

.logo {
    display: inline-block;
    line-height: 1.2;
    flex-shrink: 0;
}

.logo-top {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-navy);
    letter-spacing: 0.05em;
}

.logo-main {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 26px;
    font-weight: 900;
    color: var(--color-navy);
    letter-spacing: 0.02em;
}

.logo-main .pe {
    color: var(--color-navy);
}

.header-right dl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #2e7dc5;
    font-size: 14px;
    padding-bottom: 5px;
}
.header-right dl dt {
    width: 36px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-right dl dt img {
    width: 100%;
}
.header-right dl dd {
    line-height: 1.4;
}
.header-right dl dd span {
    font-size: 18px;
    font-weight: 700;
    color: #2176c1;
}

.global-nav {
    display: flex;
    gap: 28px;
}

.global-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-navy);
    position: relative;
    padding-right: 14px;
    transition: color 0.2s;
}

.global-nav a::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-top: 1.5px solid var(--color-blue);
    border-right: 1.5px solid var(--color-blue);
}

.global-nav a:hover {
    color: var(--color-blue);
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.btn-register {
    background: var(--color-gold);
    color: var(--color-white);
    font-weight: 700;
    padding: 13px 24px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    transition: background 0.2s;
}

.btn-register:hover {
    background: var(--color-gold-light);
}

.btn-register .badge {
    background: var(--color-white);
    color: var(--color-gold);
    font-size: 11px;
    padding: 2px 8px;
    font-weight: 700;
}

.btn-login {
    border: 1.5px solid var(--color-navy);
    color: var(--color-navy);
    font-weight: 700;
    padding: 11px 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-login:hover {
    background: var(--color-navy);
    color: var(--color-white);
}

.btn-login .arrow {
    font-size: 16px;
}

/* ========== ページヘッダー ========== */
.page-header {
    background: var(--color-white);
    padding: 36px 0 28px;
    border-bottom: 1px solid var(--color-border-light);
}

.page-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.page-title-wrap {
    position: relative;
    display: inline-block;
    padding-left: 20px;
}

.page-title-wrap::before {
    content: '';
    position: absolute;
    left: -8px;
    top: -8px;
    width: 56px;
    height: 56px;
    background: var(--color-accent-bg);
    border-radius: 50%;
    z-index: 0;
}

.page-title {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 30px;
    font-weight: 900;
    color: var(--color-navy);
    position: relative;
    z-index: 1;
    letter-spacing: 0.05em;
}

.page-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 14px;
    color: var(--color-navy);
    margin-top: 2px;
    letter-spacing: 0.15em;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    max-width: 1200px;
    margin: 18px auto 0;
    padding: 0 30px;
    font-size: 13px;
    color: var(--color-text-sub);
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--color-navy);
}

.breadcrumb a {
    color: var(--color-text-sub);
}

.breadcrumb a:hover {
    color: var(--color-blue);
}

.breadcrumb .sep {
    color: #bbb;
    font-size: 10px;
}

.breadcrumb .current {
    color: var(--color-text);
}

#wrapper {
    width: 100%;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
/* ========== メイン ========== */
.main { 
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 30px 50px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    flex: 1 1 auto;
}
.main_other {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 30px 50px;
    flex: 1 1 auto;
}

/* ========== サイドナビ ========== */
.sidebar {
    background: var(--color-white);
    padding: 8px 0;
    height: fit-content;
    box-shadow: var(--shadow-card);
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li {
    border-bottom: 1px solid var(--color-border-light);
}

.sidebar-nav li:last-child {
    border-bottom: none;
}

.sidebar-nav a {
    display: block;
    padding: 16px 22px;
    font-size: 14px;
    color: var(--color-text);
    position: relative;
    transition: all 0.2s;
}

.sidebar-nav a::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-top: 1.5px solid var(--color-blue);
    border-right: 1.5px solid var(--color-blue);
}

.sidebar-nav a:hover {
    background: var(--color-accent-bg);
    color: var(--color-blue);
}

.sidebar-nav .active {
    background: var(--color-accent-bg);
    color: var(--color-blue);
    font-weight: 700;
    border-left: 3px solid var(--color-blue);
    padding-left: 19px;
}

/* ========== コンテンツエリア ========== */
.content {
    min-width: 0;
}

.user-greeting {
    text-align: right;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--color-text);
}

.user-greeting strong {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
    margin-right: 4px;
}

.section-heading {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-navy);
    padding-left: 14px;
    border-left: 4px solid var(--color-blue);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.section-heading-back {
    margin: 0 0 0 auto;
    display: inline-block;
    font-size: 16px;
    color: var(--color-blue);
}

.section-note {
    font-size: 12px;
    color: var(--color-text-sub);
    margin-bottom: 20px;
    padding-left: 18px;
}

/* ========== 履歴カード ========== */
.history-card {
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    padding: 8px 32px;
    max-height: 480px;
    overflow-y: auto;
    margin-bottom: 30px;
}

.history-card::-webkit-scrollbar {
    width: 8px;
}

.history-card::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.history-card::-webkit-scrollbar-thumb {
    background: #c4c4c4;
    border-radius: 4px;
}

.history-card::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}

.history-item {
    padding: 22px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.history-item:last-child {
    border-bottom: none;
}

.history-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.history-name {
    font-weight: 700;
    color: var(--color-navy);
    font-size: 14px;
}

.history-date {
    font-size: 13px;
    color: var(--color-text-sub);
    font-variant-numeric: tabular-nums;
}

.history-attach {
    font-size: 12px;
    color: var(--color-text-sub);
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.history-attach .attach-label {
    background: #f0f0f0;
    padding: 2px 8px;
    font-size: 11px;
    color: var(--color-text-sub);
}

.history-attach .attach-file {
    color: var(--color-text-sub);
}
.history-attach .attach-file .attach-link {
    color: var(--color-blue);
    margin-right: 10px;
}
.history-attach .attach-file .attach-link:last-child {
    margin-right: 0;
}

.history-subject {
    font-size: 14px;
    margin-bottom: 6px;
}

.history-subject .label {
    color: var(--color-text-sub);
    margin-right: 6px;
}

.history-subject a {
    color: var(--color-blue);
    text-decoration: underline;
    font-weight: 500;
}

.history-subject a:hover {
    color: var(--color-gold);
}

.history-subject.consultant a {
    color: var(--color-blue);
}

.history-body {
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.7;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.role-badge {
    display: inline-block;
    /* padding: 3px 10px; */
    /* font-size: 11px; */
    font-weight: 700;
    /* border-radius: 2px; */
    margin-right: 10px;
}

.role-badge.user {
    background: var(--color-blue-light);
    color: var(--color-blue);
}

.role-badge.consultant {
    /* background: #faf3e6;
    color: var(--color-gold); */    
    font-size: 14px;
    font-weight: 700;
}
.message-header {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border-light);
}
.message-header-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.message-header-page {
    margin: 0 0 0 auto;
}
.message-header-page a {
    margin: 0 10px;
    color: var(--color-blue);
    text-decoration: underline;
}
.message-header-name {
    font-size: 14px;
    font-weight: bold;
    margin-right: 10px;
}
.message-header-date {
    font-size: 14px;
}
.message-header-title {
    font-size: 15px;
    margin-top: 10px;
    font-weight: 700;
}
/* ========== 投稿フォーム ========== */
.post-form {
    background: var(--color-white);
    padding: 32px;
    box-shadow: var(--shadow-card);
}

.form-heading {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border-light);
}

.form-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 18px;
}
.form-frow {
    display: flex;
    align-items: start;
    /* flex-wrap: wrap; */
    margin-bottom: 18px;
    
}

.form-frow-wrap {
    flex-wrap: wrap;

}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    padding-top: 10px;
}
.form-value {
    padding-top: 10px;
    width: calc(100% - 220px);
}
.form-frow .form-label {
    width: 220px;
}
.form-frow .form-label-all {
    width: 100%;
}
.form-item {
    width: calc(100% - 220px);
}
.form-item-all {
    width: calc(100% - 220px);
    margin-left: 220px;
}
.form-item-btn {
    display: inline-block;
    cursor: pointer;
    width: auto;
    border: 0;
    padding: 10px;
    margin: 10px 0 20px 0;
    background: var(--color-blue);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}
.form-item-sub-container {
    display: none;
}
.form-item-sub {
    display: flex;
    margin-bottom: 10px;
}
.form-item-sub dt{
    width: 150px;
}
.form-item-sub dd {
    width: calc(100% - 150px);
}
.form-sub-options {
    margin-left: 20px;
}
.form-textarea-top {
    margin-top: 10px;
}
.form-link {
    display: inline-block;
    margin-top: 10px;
    text-decoration: underline;
    color: var(--color-blue);
    cursor: pointer;
}
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border);
    font-size: 14px;
    font-family: inherit;
    color: var(--color-text);
    background: #fafafa;
    transition: all 0.2s;
}

.form-frow .form-input {
    width: 200px;
}
.form-frow .form-select {
    width: 200px;
}
.form-frow .form-input-file {
    display: none;
}
.invalid-feedback {
    color: #d82323;
    font-size: 14px;
}
.form-desc {
    margin-bottom: 30px;
    line-height: 1.8;
}
.form-btn {
    text-align: center;
    display: flex;
    justify-content: center;
}
.area_list {
    margin-left: 55px;
}
.area_list_confirm {
    margin-left: 0;
}
.area_list li {
    display: flex;
    margin: 10px 0;
}
.area_list_confirm li {
    margin: 0;
}
.area_list li .area_name {
    width: 150px;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 0;
}
.area_list_confirm li .area_name {
    width: 130px;
    font-size: 14px;
    font-weight: bold;
}
.area_list li .pref_list {
    width: calc(100% - 150px);
}
.area_list li .pref_list label {
    margin: 5px;
    display: inline-block;
}


.area_list li .pref_list .pref_name_lbl {
    margin: 5px;
    display: inline-block;
    color: #999;
}
.area_list li .pref_list .pref_name_lbl.sel {
    color: #000;
}

.form-frow .form-input-small {
    width: 200px;
    margin-right: 10px;
}
.form-frow .form-input-year {
    width: 100px;
    margin-right: 10px;
}
.form-frow .form-span {
    padding-top: 10px;
}
.form-radio-item {
    margin-top: 10px;
}
.form-radio-item-line {
    margin: 10px 10px 10px 0;
    display: inline-block;
}
    

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(44, 120, 196, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.7;
}

.form-attach {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 10px;
}

.form-attach a {
    color: var(--color-blue);
    text-decoration: underline;
    font-size: 13px;
}

.form-attach a:hover {
    color: var(--color-gold);
}

.form-submit {
    text-align: center;
    margin-top: 28px;
}

.btn-submit {
    background: var(--color-blue);
    color: var(--color-white);
    font-weight: 700;
    padding: 14px 64px;
    font-size: 15px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
    font-family: inherit;
}

.btn-submit:hover {
    background: #245d9b;
}

.btn-submit .arrow {
    font-size: 14px;
}

/* ========== CTAバナー ========== */
.cta-banner {
    background: var(--color-navy);
    padding: 40px 0;
}

.cta-banner-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-button {
    background: var(--color-gold);
    color: var(--color-white);
    padding: 22px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
    transition: background 0.2s;
}

.cta-button:hover {
    background: var(--color-gold-light);
}

.cta-button .label {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cta-button .badge {
    background: var(--color-white);
    color: var(--color-gold);
    font-size: 13px;
    padding: 3px 10px;
    font-weight: 700;
}

.cta-button .arrow-circle {
    width: 36px;
    height: 36px;
    border: 2px solid var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* ========== フッター ========== */
.footer {
    padding: 0 0 20px 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 30px;
}

.footer-links a {
    font-size: 13px;
    color: var(--color-text);
    padding: 8px 16px 8px 0;
    position: relative;
    display: inline-block;
    transition: color 0.2s;
}

.footer-links a::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 5px;
    height: 5px;
    border-top: 1.5px solid var(--color-blue);
    border-right: 1.5px solid var(--color-blue);
}

.footer-links a:hover {
    color: var(--color-blue);
}

.copyright {
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: var(--color-text-sub);
}

/* ========== レスポンシブ ========== */
@media (max-width: 960px) {
    .main {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px 20px 50px;
    }
    .header-inner {
        flex-wrap: wrap;
        padding: 16px 20px;
    }
    .global-nav {
        display: none;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        bottom: auto;
        height: 67px;
        height: 4.1875rem;
        left: 0;
        position: fixed;
        right: 0;
        top: 0;
        width: 100%;
        z-index: 1000;
    }

    .header-inner {
        padding: 10px 20px;
    }
    .p-header {
        display: grid;
        margin-left: 0;
        margin-right: 0;
    }
    .c-menu-button {
        height: 30px;
        width: 30px;
    }
    .logo {
        padding: 5px 10px;
        width: 44%;
    }
    .logo img {
        width: 100%;
    }
    .logo-top {
        font-size: 12px;
    }
    .logo-main {
        font-size: 20px;
    }

    
    .header-right dl {
        font-size: 12px;
        padding-bottom: 3px;
    }
    .header-right dl dt {
        width: 30px;
        margin-right: 5px;
        display: none;
    }
    
    .header-right dl dd .header-user-name {
        display: none;
    }
    .header-right dl dd {
        line-height: 1.3;
    }
    .header-right dl dd span {
        font-size: 16px;
    }

    .sidebar {
        background-color: #F5F7F9;
        bottom: 0;
        left: 0;
        opacity: 0;
        overflow: auto;
        position: fixed;
        right: 0;
        top: 65px;
        -webkit-transition: opacity 0.35s ease-out, visibility 0.35s ease-out;
        transition: opacity 0.35s ease-out, visibility 0.35s ease-out;
        visibility: hidden;
        z-index: 100;
    }
    .sidebar[aria-hidden=false] {
        opacity: 1;
        visibility: visible;
    }

    .main {
        padding: 110px 20px 50px;
    }

    .copyright {
        font-size: 12px;
    }
}

/* ========== login ========== */
input[type="text"], 
input[type="email"], 
input[type="password"], 
input[type="tel"], 
input[type="date"] {
    border: solid 1px #aaa;
    border-radius: 3px;
    padding: 6px;
    font-size: 1.1em;
    box-sizing: border-box;
    margin: 0 0 10px;
}
ul {
    list-style: none;
}
select {
    border: 1px solid #d3e9ff;
    padding: 5px;
    font-size: 16px;
}
.form-label {
    text-align: left;
}
.txt_c {
    text-align: center;
}
.flex {
    display: flex;
}
.flex.al_c {
    align-items: center;
}
.flex.al_b {
    align-items: baseline;
}
.flex.jc_c {
    justify-content: center;
}
.flex.jc_sb {
    justify-content: space-between;
}
.w01 {
    width: 0.5rem;
}
.w02 {
    width: 0.667rem;
}
.w03 {
    width: 0.875rem;
}
.w04 {
    width: 1rem;
}
.w05 {
    width: 1.5rem;
}
.w06 {
    width: 1.667rem;
}
.w07 {
    width: 1.875rem;
}
.w08 {
    width: 2rem;
}
.w10 {
    width: 10%;
}
.w100 {
    width: 100%;
}
.mt05 {
    margin-top: 0.5rem;
}
.mt10 {
    margin-top: 1rem;
}
.mt20 {
    margin-top: 2rem;
}
.mb50 {
    margin-bottom: 5rem;
}
.btn-primary {
    background-color: #2176c1;
}
.btn-cancel {
    background-color: #888;
}
.btn {
    border: none;
    padding: 10px 40px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    margin: 10px;

}

#login_page {
    background: #fff;
    padding: 20px 40px;
    height: auto;
    max-height: max-content;
}
.form_item {
    margin: 10px 0;
}
.txt-error {
    color: #d82323;
}
#login_page .form-label {
    width: 8rem;
}
.alink_pt {
    margin-top: 20px;
}
.alink {
    display: table;
    margin: 5px 0 5px auto;
}


@media (max-width: 768px) {
    .flex.jc_sb {
        flex-wrap: wrap;
    }
    .form_item .flex.jc_sb input {
        width: 100%;
    }
    #login_page .form-label {
        width: 100%;
    }
    .form_item {
        margin: 0;
    }
}



.tbl {
    margin-bottom: 50px;
}
.page_contents {
    width: 100%;
    margin: 0 20px;
}
.page_header {
    margin: 0 0 30px 0;
}
.page_header h2{
    margin: 0;
    padding-left: 10px;
}

ul.item_list {
    margin: 0 0 50px 0;
}
ul.item_list li div.item_content{
    margin: 15px 0;
    display: flex;
    align-items: flex-start;
    text-align: left;
}
ul.item_list li {
    min-width: 100px;
}
ul.item_list li .lbl{
    font-size: 16px;
    font-weight: bold;
    width: 160px;
    text-align: left;
    position: relative;
}

.forget_desc {
    margin-bottom: 30px;
}

.txt-cred {
    color: #d82323;
    margin-left: 10px;
}

.user-name {
    color: #0000ff;
}
.admin-name {
    color: #996533;
}

@media (max-width: 768px) {
    .main_other {
        padding: 110px 20px 50px;
    }
    .page_contents {
        margin: 0;
    }

    .post-form {
        padding: 20px;
    }

    .form-frow {
        flex-wrap: wrap;
    }
    .form-value {
        width: 100%;
    }
    .form-frow .form-label {
        width: 100%;
    }
    .form-item {
        width: 100%;
    }

    .form-item-all {
        width: 100%;
        margin-left: 10px;
    }

    .form-item-sub {
        flex-wrap: wrap;
    }
    .form-item-sub dt {
        width: 100%;
    }
    .form-item-sub dd {
        width: 100%;
    }

    .area_list {
        margin-left: 0;
    }

    .area_list li {
        flex-wrap: wrap;
    }
    .area_list li .area_name {
        width: 100%;
    }
    .area_list li .pref_list {
        width: 100%;
    }
    .form-frow .form-input-year {
        width: 80px;
        margin-right: 5px;
    }
}