/* common */
:root {
    --primary: #2e497c;
    --secondary: #08204b;
    --number: #3f85c0;
    --tag: #4ed0ef;
    --message: red;
    --text: #08204b;
    --light: #f8fafc;
    --border: #e2e8f0;
    --white: #ffffff;
    --pink: #d81b60;
    --green: #00897b;
    --blue: #1e88e5;
    --purple: #5e35b1;
    --accent-orange: #f39c12;
    --border-light: #e0e0e0;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
    font-size: 16px;
    line-height: 1.8;
    word-break: auto-phrase;
    text-wrap: pretty;
    color: var(--text);
    /* font-family: Georgia, "Times New Roman", Times, "Liberation Serif", "DejaVu Serif", serif; */
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, "MS PGothic", "MS UI Gothic", "MS Gothic", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif
}
h1 {
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
}
h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}
h4 {
    font-size: 24px;
    font-weight: 700;
    display: inline-block;
}
.wide-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.section-padding {
    padding: 80px 0;
}
.bg-soft {
    background-color: var(--light);
}
.tag {
    color: var(--tag);
    font-weight: 600;
}
.num {
    color: var(--number);
    font-size: 24px;
    font-weight: 600;
    padding-right: 1rem;
}
.msg {
    padding: 20px 0;
    font-weight: 600;
}
.pc {
    display: block;
}
.sp {
    display: none;
}

/* header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 65px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.brand {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    margin-right: auto;
}
.brand img {
    height: 50px;
    padding-top: 10px;
    padding-right: 40px;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}
nav a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}
.menu-toggle {
    display: none;
}
.lang-switcher {
    padding: 0 20px;
}
.sw-container {
    display: flex;
    padding: 2px;
    border-radius: 30px;
    border: 1px solid var(--border);
}
.sw-container a {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    color: #888;
    border-radius: 25px;
    transition: all 0.3s ease;
    line-height: 1;
}
.sw-container a:not(.active):hover {
    color: var(--primary);
}
.sw-container a.active {
    background: var(--primary);
    color: #fff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    pointer-events: none;
}

/* --- Hero --- */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    text-align: center;
    color: var(--white);
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,33,71,0.7), rgba(0,33,71,0.7)), url('../img/mainImg.png') center/cover no-repeat;
}
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    padding-top: 40px;
}
.hero h1 {
    line-height: 1.15;
    margin-bottom: 30px;
}
.hero-subtext {
    color: var(--white);
}
.subpage-hero {
    background: var(--secondary);
    color: var(--white);
    padding: 80px 0 30px;
    text-align: center;
}
.subpage-hero  h1 {
    font-size: 48px;
}
.subpage-hero p {
    color: var(--white);
}

/* section */
.section-header{
    width: 100%;
}
.section-nogrid{
    width: 100%;
}
.section-grid{
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 30px;
}
#membership-category .section-grid{
    grid-template-columns: 4fr 6fr;
}
.card {
    margin: 30px auto;
    padding: 35px;
    border-radius: 8px;
}
.cardTitle {
    border-bottom: 2px solid var(--number);
    margin-bottom: 20px;
}
.cardText {
    height: auto;
}
.card ul {
    padding: 20px 0 0;
}
.card li {
    padding-left: 1rem;
}
.card .listTitle {
    display: block;
    font-weight: 600;
}
.diag {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    margin-top: 20px;
}
.grid-container .card {
    margin: 0px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}
.card.pink {
    border-left: 5px solid var(--pink);
}
.card.green {
    border-left: 5px solid var(--green);
}
.card.blue {
    border-left: 5px solid var(--blue);
}
.card.purple {
    border-left: 5px solid var(--purple);
}
.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-box img {
    padding: 6px;
}
.pink .icon-box {
    background: rgba(216, 27, 96, 0.05);
}
.green .icon-box {
    background: rgba(0, 137, 123, 0.05);
}
.blue .icon-box {
    background: rgba(30, 136, 229, 0.05);
}
.top-titles {
    text-align: right;
}
.eng-title {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}
.sub-title {
    margin: 5px 0 0;
}
.pink .eng-title, .pink .sub-title {
    color: var(--pink);
    font-weight: 600;
}
.green .eng-title, .green .sub-title {
    color: var(--green);
    font-weight: 600;
}
.blue .eng-title, .blue .sub-title {
    color: var(--blue);
    font-weight: 600;
}
.purple .eng-title, .purple .sub-title {
    color: var(--purple);
    font-weight: 600;
}
.main-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #222;
}
.desc {
    font-size: 0.95rem;
    line-height: 1.7;
}
.system-flow {
    margin-top: 30px;
}
.roadmap-section {
    background: #f9fbff;
    padding: 100px 0;
}
.timeline-header {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    color: #888;
}
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 20px;
}
.roadmap-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.roadmap-card.featured {
    border: 2px solid var(--accent-orange);
    background: #fffef2;
}
.roadmap-item i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.roadmap-item i img {
    width: 60%;
    height: auto;
}
.i-dev   { background-color: var(--blue); }
.i-iso  { background-color: var(--green); }
.i-poc { background-color: var(--pink); }
.i-mem { background-color: var(--accent-orange); }
.membership-cta-section {
    padding: 60px 0 100px;
    background-color: #f8f9fa;
}
.cta-content {
    flex: 0 1 65%;
}
.cta-content .tag.white {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    display: inline-block;
}
.cta-content h3 {
    font-size: 2rem;
    margin: 10px 0 20px;
    line-height: 1.4;
}
.cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}
.cta-action {
    margin-top: 20px;
    text-align: center;
}
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-orange);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 20px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.btn-cta:hover {
    background: #fff;
    color: var(--main-blue);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}
.detailed-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}
.detailed-table th, .detailed-table td {
    padding: 18px;
    border: 1px solid var(--border);
    text-align: left;
}
.detailed-table th {
    background: var(--primary);
    color: var(--white);
}
.benefits-section {
    padding: 80px 0;
    background-color: #fff;
}
.benefits-header {
    padding-bottom: 10px;
}
.benefits-title {
    font-size: 1.8rem;
    color: var(--main-blue);
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
}
.benefits-table-wrapper {
    overflow-x: auto;
}
.table-after-text {
    display: table; 
    min-width: 100%;
    padding: 15px 20px;
    margin-top: 10px;
    box-sizing: border-box;
}
.table-after-text p {
    margin: 0;
    white-space: nowrap;
    font-size: 14px;
}
.benefits-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.benefits-table th,
.benefits-table td {
    padding: 15px 10px;
    text-align: center;
    border: none;
    vertical-align: middle;
}
.benefits-table .row-label {
    text-align: left;
    padding-left: 20px;
    width: 30%;
}
.benefits-table thead th {
    font-size: 1.2rem;
    font-weight: bold;
    padding-bottom: 20px;
}
.benefits-table p {
    width: 100%;
}
.col-platinum { color: #004a99; }
.col-gold     { color: #c59b08; }
.col-silver   { color: #707070; }
.col-regular  { color: #333333; }
.benefits-table tbody tr:nth-child(odd) {
    background-color: #e1f5fe;
}
.circle {
    display: block;
    font-size: 1.4rem;
    line-height: 1;
}
.note {
    display: block;
    font-size: 0.75rem;
    margin-top: 4px;
    color: #444;
}

/* Contact Form Styles */
.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}
.form-group .required {
    background: #e53935;
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 16px;
    background: #fff;
}
.form-group textarea {
    resize: vertical;
}
.form-privacy {
    text-align: center;
    margin: 40px 0 20px;
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
}
.form-privacy p {
    font-size: 14px;
    margin-bottom: 10px;
}
.form-privacy label {
    font-weight: 600;
    cursor: pointer;
}
.form-privacy input[type="checkbox"] {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

/* footer */
footer p {
    font-size: 14px;
    text-align: center;
}

@media (max-width: 768px) {
    /* common */
    * {
        font-size: 16px;
    }
    .wide-container {
        padding: 0 20px;
        width: 100%;
    }
    .section-padding {
        padding: 60px 0;
    }
    h1 {
        font-size: 36px;
    }
    h2 {
        font-size: 24px;
    }
    h4 {
        font-size: 20px;
    }
    .c-num {
        font-size: 20px;
        padding-right: 0.5rem;
    }
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }

    /* header */
    header {
        height: 70px;
    }

    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .menu-toggle {
        display: block;
        position: relative;
        width: 30px;
        height: 22px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1100;
        margin-left: auto;
    }
    .menu-toggle span {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: var(--primary);
        transition: all 0.3s ease-in-out;
    }
    .menu-toggle span:nth-child(1) {
        top: 0;
    }
    .menu-toggle span:nth-child(2) {
        top: 10px;
    }
    .menu-toggle span:nth-child(3) {
        top: 20px;
    }
    .menu-toggle.is-active span:nth-child(1) { 
        transform: translateY(10px) rotate(45deg);
    }
    .menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: all 0.4s ease-in-out;
        padding: 100px 40px;
        z-index: 1000;
    }
    nav.nav-active {
        right: 0;
    }
    nav ul {
        flex-direction: column;
        gap: 20px;
        justify-content: flex-start;
    }
    nav a {
        font-size: 18px;
        color: var(--primary);
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid var(--border);
    }

    /* Hero */
    .hero h1 {
        font-size: 28px;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    .hero-subtext {
        font-size: 15px;
        line-height: 1.5;
        padding: 0 10px;
    }

    /* section */
    .section-grid{
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .card {
        margin: 10px auto;
        padding: 10px;
    }
    #membership-category .section-grid{
        grid-template-columns: 1fr;
    }
    .grid-container {
        grid-template-columns: 1fr;
    }
    .roadmap-grid, .timeline-header {
        grid-template-columns: 1fr;
    }
    .timeline-header {
        display: none;
    }
    .roadmap-card.featured {
        transform: scale(1);
    }
    .header-inner {
        padding: 15px 20px;
    }
    .cta-content {
        flex: 1 1 100%;
        margin-bottom: 30px;
    }
    .cta-action {
        flex: 1 1 100%;
        text-align: center;
        width: 100%;
    }
    .btn-cta {
        width: 100%;
    }
    .benefits-table {
        min-width: 600px;
    }
    .form-container {
        padding: 0 10px;
    }

    /* footer */
    footer p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

}