
:root{
    --bg:#F5F6F8;
    --bg-soft:#FAFBFC;
    --paper:#FFFFFF;

    --text:#1F2340;
    --text-soft:#6E7280;

    --line:#E6E8EF;

    --accent:#222255;
    --accent-deep:#16163F;
    --accent-soft:#EEF0F7;

    --shadow:0 10px 24px rgba(20,20,60,.08);
    --radius:16px;
    --radius-lg:24px;
}

body{
    background:var(--bg);
    color:var(--text);
    font-family:
                    "Hiragino Sans",
                    "Yu Gothic",
                    "Meiryo",
                    "Noto Sans JP",
                    sans-serif;
    line-height:1.75;
    letter-spacing:.01em;
}

h1,h2,h3,h4{
    letter-spacing:.01em;
    color:var(--text);
}

h1{
    font-weight:700;
    line-height:1.4;
}

h2{
    font-weight:700;
    line-height:1.45;
}

h3,h4{
    font-weight:700;
}

.lead,
.muted,

.hero .lead{
    max-width:760px;
    font-size:1.02rem;
}

.btn{
    border-radius:999px;
    font-weight:600;
    transition:.2s ease;
    background:var(--paper);
    border:1px solid var(--line);
    color:var(--text);
}

.btn:hover{
    transform:translateY(-1px);
}

.btn.primary{
    background:var(--accent) !important;
    border-color:var(--accent) !important;
    color:#fff !important;
}

.btn.primary:hover{
    background:var(--accent-deep) !important;
    border-color:var(--accent-deep) !important;
}

.card,
.step,
details,
table,
.cta{
    border-color:var(--line) !important;
    box-shadow:var(--shadow);
}

.card,
.step,
details{
    background:var(--paper);
    border-radius:var(--radius);
}

.price{
    color:var(--accent) !important;
}

.line-through{
    text-decoration: line-through;
    opacity: 0.6;
}

.campaign{
    font-size: 0.8em;
    color:indianred;
    float:left;
}

.badge{
    background:var(--accent-soft) !important;
    color:var(--accent) !important;
}

.cta{
    background:linear-gradient(135deg, #222255 0%, #3A3A7A 100%) !important;
    color:#fff;
    border-radius:24px;
}

.cta p{
    color:rgba(255,255,255,.92);
}

.cta .btn{
    background:#fff !important;
    color:var(--accent) !important;
    border-color:#fff !important;
}

.navlinks a,
.mobileMenu a,
footer a{
    color:var(--text-soft);
}

.navlinks a:hover,
.mobileMenu a:hover,
footer a:hover{
    color:var(--text);
}

.mobileMenu{
    background:var(--bg-soft);
    border-top:1px solid var(--line);
}

.mobileMenu a{
    border-bottom:1px solid var(--line);
}

.opac,
.opac2{
    opacity:1;
}

table{
    background:var(--paper);
}

table thead th{
    background:#F3F5FA;
    color:var(--text);
}

table th,
table td{
    border-color:var(--line);
}

details{
    background:var(--paper);
}

details p{
    color:var(--text-soft);
}

summary{
    color:var(--text);
}

.card p,
.step p,
.lbl,
.bullets{
    color:var(--text-soft);
}

.bg-2,
.bg-3,
.bg-4,
.bg-5{
    background-color:var(--bg-soft);
}

@media (max-width: 640px){
    .hero .lead{
        font-size:0.98rem;
    }
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", Arial, sans-serif;
    color: var(--fg);
    background: var(--bg);
    line-height: 1.7;
    letter-spacing: .2px;
}

/* links */
a {
    color: inherit;
    text-decoration: none;
}
a:hover { opacity: .8; }

/* small text helpers */
.small,
.sub-text { color: var(--text-sub); }

/* headings */
h1 {
    color: var(--text-main);
    font-size: 44px;
    text-shadow: 1px 1px 2px rgba(175, 207, 133, .3);
    margin: 16px 0 12px;
    line-height: 1.2;
    letter-spacing: -.02em;
}
h2 {
    color: var(--text-main);
    border-style: none none dotted;
    border-width: 2px;
    font-size: 24px;
}
h3 {
    color: var(--accent);
    font-size: 20px;
}

@media (max-width: 560px) {
    h1 { font-size: 32px; }
}

.text-large {
    font-size: 20px !important;
}
.text-green {
    color: var(--main-green)!important;
    text-shadow: 1px 1px 2px rgba(175, 207, 133, .3);
}


.text-white { color: #fff; }

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== header ===== */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: none;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 14px;
}

.brand {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.logo {
    height: 48px;
    margin-left: 6px;
    width: auto;
    display: block;
}

.right {
    display: flex;
    align-items: center;
    gap: 22px;
}

/* desktop nav */
.navlinks {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
}

.navlinks a {
    color: var(--muted);
    padding: 6px 8px;
    border-radius: 10px;
}
.navlinks a:hover {
    background: var(--card);
    color: var(--fg);
}

/* minimal variant */
.navlinks.minimal {
    font-size: 14px;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(175, 207, 133, .3);
}
.navlinks.minimal a:hover { color: var(--main-green); }

@media (max-width: 900px) {
    .navlinks.minimal { display: none; }
}

/* hamburger */
.menuBtn {
    display: none; /* PCでは非表示 */
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.menuBtn:hover { background: var(--card); }

.mobileMenu {
    display: none; /* デフォルトは閉じる */
    padding: 10px 0 14px;
}
.mobileMenu a {
    display: block;
    padding: 10px 10px;
    margin: 2px 0;
    border-radius: 12px;
    color: var(--muted);
}
.mobileMenu a:hover {
    background: var(--card);
    color: var(--fg);
}

@media (max-width: 900px) {
    .menuBtn { display: inline-flex; }
    .mobileMenu.is-open { display: block; }
}

/* ===== buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;

    border: 1px solid rgba(229, 143, 115, .25);
    background: rgba(229, 143, 115, .12);

    color: var(--accent);
    font-weight: 600;
    white-space: nowrap;

    transition: transform .08s ease, background .15s ease, filter .15s ease;
}
.btn:hover { background: rgba(229, 143, 115, .18); }
.btn:active { transform: translateY(1px); }

.btn.primary {
    background: var(--accent);
    color: #fff;
    border-color: transparent;
}
.btn.primary:hover { filter: brightness(1.04); }

.btn.small {
    padding: 10px 14px;
    font-size: 13px;
}

/* ===== hero ===== */
.hero { padding: 56px 0 34px; }

.heroGrid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 28px;
    align-items: start;
}

@media (max-width: 900px) {
    .heroGrid { grid-template-columns: 1fr; gap: 18px; }
}

.lead {
    color: var(--muted);
    font-size: 15.5px;
    margin: 0 0 18px;
    max-width: 58ch;
}

.heroActions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.note {
    margin-top: 14px;
    font-size: 12px;
    color: var(--muted);
}

.panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
}

.panel h3 {
    margin: 0 0 8px;
    font-size: 18px;
    letter-spacing: .06em;
}

.kpis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 8px;
}

.kpi {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    background: #fff;
}

.kpi .num {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -.01em;
}

.kpi .lbl {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

/* ===== sections ===== */
section { padding: 34px 0; }

.sectionHead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 18px;
}

.sectionHead h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -.01em;
}

.sectionHead p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.grid2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.grid3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

@media (max-width: 900px) {
    .grid2, .grid3 { grid-template-columns: 1fr; }
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 18px;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.bullets {
    margin: 10px 0 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 14px;
}
.bullets li { margin: 6px 0; }

/* ===== flow ===== */
.steps { display: grid; gap: 10px; }

.step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 16px;
    background: #fff;
}

.badge {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: rgba(229, 143, 115, .14);
    border: 1px solid rgba(229, 143, 115, .30);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    margin-top: 2px;
}

.step h4 { margin: 0; font-size: 15px; }
.step p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }

/* ===== pricing table ===== */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

th, td {
    text-align: left;
    padding: 14px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    vertical-align: top;
}

th {
    background: var(--card);
    font-weight: 700;
}

tr:last-child td { border-bottom: none; }
.price { font-weight: 800; }

.muted {
    color: var(--muted);
    font-size: 12px;
    margin-top: 10px;
}

/* ===== FAQ ===== */
details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 16px;
    background: #fff;
}
details + details { margin-top: 10px; }

summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    color: var(--main-green);
    border-style: none none solid;
    border-width: 1px;
}
summary::-webkit-details-marker { display: none; }

details p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
}

/* ===== CTA / footer ===== */
.cta {
    border: 1px solid rgba(111, 143, 94, .28);
    background: var(--main-green);
    border-radius: calc(var(--radius) + 6px);
    padding: 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.cta h3 { margin: 0; font-size: 18px; }
.cta p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }

footer {
    border-top: 1px solid var(--line);
    padding: 22px 0;
    color: var(--muted);
    font-size: 12px;
}

.footerRow {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.footerRow a { color: var(--muted); }
.footerRow a:hover { text-decoration: underline; }

/* ===== background blocks / effects ===== */
.image-section { padding: 20px; }

.opac,
.opac2 {
    border-radius: var(--radius);
}

.opac { background-color: rgba(255, 255, 255, .5) !important; }
.opac2 { background-color: rgba(255, 255, 255, .3) !important; }

.panning-container {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background-image: url('../images/library.webp');
    background-size: cover;
    background-repeat: no-repeat;
    animation: panVertical 80s linear infinite alternate;
}

@keyframes panVertical {
    0% { background-position: center top; }
    100% { background-position: center bottom; }
}

.bg-1 {
    background-image: url('../images/bg1.webp');
    background-repeat: no-repeat;
    background-position: 350px center;
    background-size: cover;
}
@media (max-width: 768px) {
    .bg-1 { background-position: 150px center; }
}

.bg-2, .bg-3, .bg-4, .bg-5 {
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
}
.bg-2 { background-image: url('../images/bg2.webp'); }
.bg-3 { background-image: url('../images/bg3.webp'); }
.bg-4 { background-image: url('../images/bg4.webp'); }
.bg-5 { background-image: url('../images/bg5.webp'); }