@import url(toppage.css);
@import url(gaiyou.css);
@import url(kaichou.css);

:root {
    --container-width: 1200px;

    --color-primary: #132440;
    --color-secondary: #3E66B0;--color-accent: #ff5500;

    --color-bg-light: #F6F5F2;
    --color-text-main: #3A3330;

    --radius-sm: 4px;
    --radius-md: 6px;

    --shadow-soft: 0 2px 6px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.15);
}


.uchikeshi {
    color: rgb(0, 0, 0);
    /* Keep the text color (change if needed) */
    text-decoration: line-through;
    /* Adds a line through the text */
    text-decoration-color: red;
    /* Red color for the line */
}

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

/* Basic reset and body styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body */
body {
    position: relative;
    line-height: 1.6;
/*
    background-image: url(../img/298502280.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
*/
    color: #333;
    font-family: 'Noto Sans JP', sans-serif;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 0;
}

/* Bring actual content above overlay */
header,
.container,
footer,
.back-to-top {
    position: relative;
    z-index: 1;
}

/* body */

/* =========================================================
   FOOTER Starts
========================================================= */
footer {
    background: linear-gradient(360deg, #b5b9dd, #D7DAED);
    text-align: left;
    margin: 0;
}

/* =========================================================
   FOOTER LAYOUT
========================================================= */
.footer-container {
    display: flex;
    justify-content: right;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.footer-info-left,
.footer-info-right {
    width: 45%;
}

/* =========================================================
   FOOTER TEXT
========================================================= */
.footer-info-left h4,
.footer-info-right h4 {
    margin-bottom: 10px;
    font-size: 1.3em;
    font-weight: bold;
    color: #132440;
}

.footer-info-left p,
.footer-info-right p {
    line-height: 1.6;
    font-size: 1.1em;
    color: #181212;
}

/* =========================================================
   FOOTER LINKS
========================================================= */
.footer-info-left a,
.footer-info-right a {
    color: #132440;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info-left a:hover,
.footer-info-right a:hover {
    color: #ffffff;
    text-decoration: wavy;
}

/* =========================================================
   FOOTER RIGHTS
========================================================= */
.footer-rights {
    width: 100%;
    background-color: #3E66B0;color: #ffffff;
    padding: 15px 0;
    text-align: center;
    font-size: 0.9em;
    margin-top: 10px;

}

.footer-rights p {
    color: #ffffff;
    text-align: center;
    font-size: 1em;
    margin-bottom: -10px;
}

.footer-rights a {
    color: #ffffff;
    text-align: center;
    font-size: 1em;
    text-decoration: none;
}

/* =========================================================
   FOOTER RESPONSIVE
========================================================= */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-info-left,
    .footer-info-right {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-rights {
        font-size: 0.8em;
    }

    footer {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 8px;
    }
}

/* =========================================================
   FOOTER Ends
========================================================= */


/* =========================================================
   BACK TO TOP BUTTON Starts
========================================================= */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ffffff;
    color: #132440;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 1em;
    cursor: pointer;
    display: none;
    z-index: 1000;
}

/* Visible state */
.back-to-top.show {
    display: block;
}

/* Hover */
.back-to-top:hover {
    background-color: #3E66B0;color: #ffffff;
}

/* =========================================================
   BACK TO TOP BUTTON Ends
========================================================= */

/* =========================================================
   LAYOUT
========================================================= */
.container {
    display: flex;
    max-width: 1300px;
    margin: 0 auto;
    padding: 5px;
}

/* =========================================================
   PAGE BASE (ALL INNER PAGES)
========================================================= */
.content {
    flex: 1;
}

.page {
    padding: 30px;
    background-color: #ffffff;
}

.page-title {
    font-size: 1.9rem;
    margin-bottom: 30px;
    color: #132440;
    border-bottom: 2px solid #3E66B0;}

.page-body {
    line-height: 1.8;
    line-break: strict;
    word-break: normal;
    font-size: 1rem;
}

/* -------------------------
            WARNING
--------------------------------- */
/* -------------------------
            WARNING
--------------------------------- */

/* ===============================
   SHARED CONTENT SECTIONS
================================ */

/* ---------- SECTION ---------- */
.content-section {
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .content-section {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .content-section {
        margin-bottom: 30px;
    }
}

/* ---------- SECTION TITLE ---------- */
.section-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 6px solid #3E66B0;color: #132440;
    font-weight: 700;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.4rem;
        border-left-width: 5px;
        padding-left: 8px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.2rem;
        border-left-width: 4px;
        padding-left: 6px;
    }
}

/* ---------- LISTS ---------- */
.basic-list,
.note-list {
    margin-left: 20px;
    line-height: 1.8;
}

.basic-list li,
.note-list li {
    margin-bottom: 6px;
}

.note-list {
    margin-top: 15px;
    font-size: 0.95em;
    color: #555;
}

@media (max-width: 768px) {

    .basic-list,
    .note-list {
        margin-left: 16px;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {

    .basic-list,
    .note-list {
        margin-left: 14px;
        font-size: 0.9em;
    }
}

/* ---------- ATTENTION TEXT ---------- */
.attention {
    margin-top: 15px;
    font-size: 0.95em;
    color: #333;
    line-height: 1.7;
}

@media (max-width: 480px) {
    .attention {
        font-size: 0.9em;
    }
}

/* =========================
   Inline text links (editorial)
========================= */

.text-link {
    color: #3E66B0;font-weight: 600;
    text-decoration: none;
    text-underline-offset: 2px;
}

.text-link:hover {
    text-decoration-thickness: 2px;
}

.text-link:visited {
    color: #3E66B0;}

/* ---------- CTA SECTION ---------- */
.cta-section {
    text-align: center;
    padding: 30px;
    background-color: #E0E1F0;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .cta-section {
        padding: 24px 18px;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 20px 14px;
    }
}

/* =========================
   CTA Sub Elements
========================= */

.cta-section .cta-sub-link {
    margin: 12px 0 4px;
}

.cta-section .cta-sub-link a {
    font-weight: 600;
    color: #3E66B0;text-decoration: none;
}

.cta-section .cta-sub-link a:hover {
    text-decoration: underline;
}

.cta-section .cta-sub-note {
    margin: 0 0 16px;
    font-size: 0.85rem;
    color: #666;
}


/* ---------- PRIMARY BUTTON ---------- */
.primary-button {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 30px;
    background-color: #3E66B0;color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.primary-button:hover {
    background-color: #132440;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .primary-button {
        font-size: 1rem;
        padding: 12px 26px;
    }
}

@media (max-width: 480px) {
    .primary-button {
        width: 100%;
        font-size: 0.95rem;
        padding: 12px 0;
    }
}

/* Primary button (inactive / unpublished) */
.primary-button-off {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;

    /* Visual treatment */
    background-color: #e5e5e5;
    /* light gray */
    color: #8a8a8a;
    /* muted text */
    border: 1px solid #d0d0d0;

    /* UX */
    cursor: not-allowed;
    pointer-events: none;

    /* Consistency */
    text-align: center;
    transition: none;
    /* margin-top: 20px; */
}

/* =========================
   Primary Button (Template / Document)
========================= */

.primary-button-dif {
    display: inline-block;
    padding: 12px 24px;
    background-color: #2F6B4F;
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.primary-button-dif:hover {
    background-color: #24533E;
    color: #fff;
}




/* =====================================
   INFO TABLE – COMPARISON TYPE ONLY
   (料金・区分など)
===================================== */
/* =====================================
   COMPARE TABLE (料金・区分用)
===================================== */

/* Hint */
.compare-table-hint {
    display: none;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 6px;
}

/* Wrapper */
.compare-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Table */
.compare-table table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background-color: #ffffff;
    border: 1px solid #e3e8ee;
    border-radius: 8px;
}

/* Header */
.compare-table thead th {
    background-color: #E0E1F0;
    color: #132440;
    font-weight: 700;
    padding: 14px 12px;
    text-align: center;
    border-bottom: 2px solid #3E66B0;white-space: nowrap;
}

/* Body */
.compare-table td {
    padding: 14px 12px;
    text-align: center;
    font-size: 1.05rem;
    border-bottom: 1px solid #e3e8ee;
    white-space: nowrap;
}

/* First column */
.compare-table td:first-child {
    text-align: left;
    font-weight: 600;
    background-color: #fafbfd;
}

/* Mobile hint */
@media (max-width: 768px) {
    .compare-table-hint {
        display: block;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .compare-table table {
        min-width: 560px;
    }

    .compare-table th,
    .compare-table td {
        font-size: 0.95rem;
        padding: 12px 10px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .compare-table table {
        min-width: 520px;
    }

    .compare-table th,
    .compare-table td {
        font-size: 0.9rem;
        padding: 10px 8px;
    }
}

/* ===============================
   TABLE SCROLL HINT (RESPONSIVE ONLY)
================================ */

.table-hint {
    display: none;
    font-size: 1rem;
    color: #555;
    margin-bottom: 6px;
}

/* Show ONLY on responsive screens */
@media (max-width: 768px) {
    .table-hint {
        display: block;
        font-size: 1rem;
    }
}

/* ---------- SUB SECTION TITLE ---------- */
.sub-title {
    font-size: 1.3rem;
    margin: 25px 0 10px;
    font-weight: 700;
    color: #132440;
}

@media (max-width: 480px) {
    .sub-title {
        font-size: 1rem;
    }
}

/* abstract page start */
/* =========================
   Notice Section (Highlight Box)
========================= */

.notice-section {
    background-color: #f7f9fb;
    border-left: 5px solid #3E66B0;padding: 20px 24px;
    margin: 30px 0;
}

.notice-section p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

.notice-section strong {
    color: #3E66B0;font-weight: 700;
}

/* =========================
   Abstract Category (Desktop / Mobile)
========================= */

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Desktop table */
.abstract-category-table table {
    width: 100%;
    border-collapse: collapse;
}

.abstract-category-table td {
    padding: 12px 16px;
    border: 1px solid #ddd;
    vertical-align: top;
}

/* Mobile list */
.abstract-category-list ul {
    margin: 0;
    padding-left: 1.2em;
}

.abstract-category-list li {
    padding: 6px 0;
}

/* Responsive switch */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

/* =========================
   CTA Stack (Abstract Page)
========================= */

.cta-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

/* Manual link styling */
.manual-link a {
    font-weight: 600;
    color: #3E66B0;text-decoration: none;
}

.manual-link a:hover {
    text-decoration: underline;
}

.manual-note {
    margin: 2px 0 0;
    font-size: 0.85rem;
    color: #666;
}

/* =========================
   CTA Button Group (Centered)
========================= */

.cta-button-group {
    display: flex;
    justify-content: center;
    /* ← center horizontally */
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}

/* Mobile: stack & center */
@media (max-width: 768px) {
    .cta-button-group {
        flex-direction: column;
        align-items: center;
        /* ← center vertically stacked buttons */
        gap: 12px;
    }

    .cta-button-group .primary-button-dif {
        width: 100%;
        max-width: 320px;
        /* optional: keeps buttons from being too wide */
        text-align: center;
    }
}




/* abstract page end */


.payment-note {
  margin-top: 24px;
  text-align: center;
  color: black;
  line-height: 1.8;
}

.payment-note a {
  color: #3E66B0;font-weight: 700;
  text-decoration: underline;
}

/*調整用*/
.txt-rgt{text-align:right;}
.txt-bold{font-weight:bold;}
.m-top1{margin-top:1rem;}