/* =========================================
Base
========================================= */

:root {
    --bg-main: #f7f5ef;
    --bg-white: #ffffff;
    --bg-soft: #edf3ee;

    --text-main: #18202b;
    --text-sub: #5f6873;

    --navy: #17324d;
    --green: #2f6b57;
    --green-light: #dce9e1;
    --accent: #e9b86a;

    --border: #d9ded9;

    --max-width: 1180px;

    --shadow-soft: 0 12px 30px rgba(24, 32, 43, 0.08);
    --shadow-card: 0 8px 20px rgba(24, 32, 43, 0.07);
    
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        "Meiryo",
        sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.8;
}

img {
    display: block;
    max-width: 100%;
}

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

p,
h1,
h2,
h3 {
    margin-top: 0;
}

button,
input,
textarea {
    font: inherit;
}

/* =========================================
Header
========================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background:
        linear-gradient(90deg,
            rgba(250, 248, 241, 0.97),
            rgba(239, 246, 241, 0.97));

    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(23, 50, 77, 0.08);

    box-shadow:
        0 4px 18px rgba(24, 32, 43, 0.04);
}

.site-header::after {
    content: "";
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    background:
        linear-gradient(90deg,
            transparent,
            rgba(47, 107, 87, 0.6),
            rgba(233, 184, 106, 0.7),
            transparent);
}

.header-inner {
    width: min(calc(100% - 48px), var(--max-width));
    height: 82px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* -------------------------
   Logo
------------------------- */

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo-image {
    display: block;
    width: auto;
    height: 56px;
}

@media (max-width: 700px) {
    .site-logo-image {
        height: 40px;
    }
}

/* -------------------------
   Navigation
------------------------- */

.global-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.global-nav a {
    position: relative;

    padding: 9px 0;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;

    color: var(--navy);

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.global-nav a:hover {
    color: var(--green);
    transform: translateY(-1px);
}

.global-nav a::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 2px;

    width: 0;
    height: 2px;

    background: var(--accent);

    transform: translateX(-50%);

    transition: width 0.2s ease;
}

.global-nav a:hover::after {
    width: 100%;
}

/* =========================================
Hero
========================================= */

.hero {
    min-height: 760px;
    display: flex;
    align-items: center;

    padding: 110px 0 100px;

    background:
        radial-gradient(circle at 78% 20%,
            rgba(47, 107, 87, 0.10),
            transparent 34%),
        radial-gradient(circle at 10% 80%,
            rgba(233, 184, 106, 0.11),
            transparent 30%),
        var(--bg-main);
    
}

.hero-inner {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;

    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
    align-items: center;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual .hero-image {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(24, 32, 43, 0.14);
}
.hero-label,
.section-label {
    margin-bottom: 18px;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: var(--green);
    
}

.hero h1 {
    margin-bottom: 30px;

    font-size: clamp(48px, 6vw, 82px);
    line-height: 1.18;
    letter-spacing: -0.035em;
    color: var(--navy);
    
}

.hero-description {
    margin-bottom: 38px;

    font-size: 18px;
    line-height: 2;
    color: var(--text-sub);
    
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 210px;
    min-height: 54px;
    padding: 12px 28px;

    border-radius: 999px;
    background: var(--navy);
    color: white;

    font-size: 15px;
    font-weight: 700;

    box-shadow: var(--shadow-card);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
    
}

.primary-button:hover {
    transform: translateY(-2px);
    background: #0f293f;
    box-shadow: 0 12px 24px rgba(23, 50, 77, 0.16);
}

/* .hero-visual {
    position: relative;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 10% -2% -6% 7%;
    z-index: -1;

    border-radius: 42px;
    background: rgba(47, 107, 87, 0.08);
    
} */

/* =========================================
Image placeholder
========================================= */

.image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 260px;

    border: 1px dashed rgba(23, 50, 77, 0.25);
    border-radius: 28px;

    background:
        linear-gradient(145deg,
            rgba(255, 255, 255, 0.9),
            rgba(237, 243, 238, 0.9));

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: rgba(23, 50, 77, 0.42);
    
}

/* .hero-visual .image-placeholder {
    min-height: 500px;
    box-shadow: var(--shadow-soft);
} */

/* =========================================
Common section
========================================= */

.section {
    padding: 120px 0;
}

.section-inner {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
}

.section h2 {
    margin-bottom: 48px;

    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.35;
    letter-spacing: -0.03em;
    color: var(--navy);
    
}

/* =========================================
Vision
========================================= */

.vision-section {
    background: var(--bg-white);
}

.vision-section .section-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    column-gap: 90px;
}

.vision-section .section-label,
.vision-section h2 {
    grid-column: 1;
}

.vision-content {
    grid-column: 2;
    grid-row: 1 / span 3;

    align-self: center;
    max-width: 600px;
    
}

.vision-content p {
    margin-bottom: 28px;

    font-size: 17px;
    line-height: 2.1;
    color: var(--text-sub);
    
}

/* =========================================
App section
========================================= */

.app-section {
    background: var(--bg-soft);
}

.app-heading {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: center;

    margin-bottom: 74px;
    
}

.app-number {
    margin-bottom: 10px;

    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--green);
    
}

.app-heading h2 {
    margin-bottom: 8px;
}

.app-nickname {
    margin: 0;

    font-size: 22px;
    font-weight: 700;
    color: var(--text-sub);
    
}

.app-main-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-main-image .app-image {
    display: block;
    width: 100%;
    max-width: 620px;
    height: auto;

    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(24, 32, 43, 0.12);
}

.app-description {
    max-width: 780px;
    margin: 0 auto 70px;
}

.app-description h3 {
    margin-bottom: 30px;

    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.45;
    color: var(--navy);
    
}

.app-description p {
    margin-bottom: 18px;

    font-size: 17px;
    line-height: 2;
    color: var(--text-sub);
    
}

.app-screenshots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;

    margin-bottom: 48px;
    
}

.app-screenshots .image-placeholder {
    min-height: 310px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.75);
}

.store-links {
    text-align: center;
}

.store-links p {
    margin: 0;

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--green);
    
}

/* =========================================
Philosophy / Features
========================================= */

.philosophy-section {
    background: var(--bg-white);
}

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

.feature-card {
    min-height: 330px;
    padding: 38px 32px;

    border: 1px solid var(--border);
    border-radius: 24px;
    background: #fff;

    box-shadow: 0 2px 0 rgba(24, 32, 43, 0.02);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
    
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(47, 107, 87, 0.28);
    box-shadow: var(--shadow-card);
}

.feature-number {
    display: inline-block;
    margin-bottom: 30px;

    font-size: 14px;
    font-weight: 800;
    color: var(--green);
    
}

.feature-card h3 {
    margin-bottom: 8px;

    font-size: 14px;
    letter-spacing: 0.18em;
    color: var(--green);
    
}

.feature-title {
    margin-bottom: 22px;

    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    
}

.feature-card p:last-child {
    margin-bottom: 0;

    color: var(--text-sub);
    
}

/* =========================================
Future
========================================= */

.future-section {
    background: var(--navy);
    color: white;
}

.future-section .section-label {
    color: #9bc3b1;
}

.future-section h2 {
    color: white;
}

.future-content {
    max-width: 720px;
    margin-bottom: 70px;
}

.future-content p {
    margin-bottom: 18px;

    font-size: 17px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.72);
    
}

.future-apps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.future-app {
    min-height: 230px;
    padding: 30px;

    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);

    background: rgba(255, 255, 255, 0.06);
    
}

.future-app p {
    margin-bottom: 48px;

    font-size: 13px;
    font-weight: 800;
    color: #9bc3b1;
    
}

.future-app h3 {
    margin-bottom: 6px;

    font-size: 26px;
    color: white;
    
}

.future-app span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.48);
}

.future-app.active {
    background: var(--green);
    border-color: transparent;
}

.future-app.active p,
.future-app.active span {
    color: rgba(255, 255, 255, 0.7);
}

.future-app.coming-soon {
    opacity: 0.72;
}

/* =========================================
Closing
========================================= */

.closing-section {
    padding: 150px 0;

    text-align: center;

    background:
        radial-gradient(circle at center,
            rgba(233, 184, 106, 0.15),
            transparent 42%),
        var(--bg-main);
    
}

.closing-inner {
    width: min(calc(100% - 48px), 900px);
    margin: 0 auto;
}

.closing-section p {
    margin-bottom: 22px;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: var(--green);
    
}

.closing-section h2 {
    margin: 0;

    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.35;
    color: var(--navy);
    
}

/* =========================================
Footer
========================================= */

.site-footer {
    padding: 70px 0 24px;

    background: #101a24;
    color: white;
    
}

.footer-inner {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto 60px;

    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 70px;
    
}

.footer-brand strong {
    display: inline-block;
    margin-bottom: 16px;

    font-size: 18px;
    letter-spacing: 0.08em;
    
}

.footer-brand p {
    margin: 0;

    color: rgba(255, 255, 255, 0.55);
    
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.68);
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 10px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.42);
    
}

.footer-contact a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.76);
}

.footer-bottom {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
    padding-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.10);
    
}

.footer-bottom small {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
}

/* =========================================
Tablet
========================================= */

@media (max-width: 960px) {

    .hero {
        min-height: auto;
        padding: 90px 0;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .hero-copy {
        max-width: 700px;
    }

    .hero-visual .image-placeholder {
        min-height: 420px;
    }

    .vision-section .section-inner {
        display: block;
    }

    .vision-content {
        max-width: 720px;
    }

    .app-heading {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .app-main-image .image-placeholder {
        min-height: 370px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }

    .future-apps {
        grid-template-columns: 1fr;
    }

    .future-app {
        min-height: auto;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    
}

/* =========================================
   Smartphone
========================================= */

@media (max-width: 700px) {

    .header-inner {
        width: min(calc(100% - 32px), var(--max-width));
        height: 68px;
    }

    .site-logo-image {
        height: 40px;
    }

    .global-nav {
        display: none;
    }

    .hero {
        padding: 70px 0 72px;
    }

    .section {
        padding: 84px 0;
    }

    /* その他スマホ用CSS */

}

/* ← 必ずここで閉じる */


/* =========================================
   Legal / Credits Pages
========================================= */

.legal-hero {
    padding: 110px 0 75px;

    background:
        radial-gradient(circle at 82% 20%,
            rgba(47, 107, 87, 0.09),
            transparent 32%),
        var(--bg-main);
}

.legal-inner {
    width: min(calc(100% - 48px), 900px);
    margin: 0 auto;
}

.legal-hero h1 {
    margin-bottom: 24px;

    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.3;
    letter-spacing: -0.035em;

    color: var(--navy);
}

.legal-lead {
    max-width: 720px;
    margin: 0;

    font-size: 17px;
    line-height: 2;

    color: var(--text-sub);
}

.legal-section {
    padding: 90px 0 130px;
    background: var(--bg-white);
}

.legal-content>section {
    margin-bottom: 64px;
}

.legal-content h2 {
    margin-bottom: 22px;
    padding-bottom: 14px;

    border-bottom: 1px solid var(--border);

    font-size: 25px;
    line-height: 1.5;

    color: var(--navy);
}

.legal-content h3 {
    margin-bottom: 10px;
    font-size: 19px;
    color: var(--navy);
}

.legal-content p,
.legal-content li {
    font-size: 16px;
    line-height: 2;
    color: var(--text-sub);
}

.legal-content ul {
    margin: 22px 0;
    padding-left: 1.5em;
}

.legal-content a {
    color: var(--green);
    font-weight: 700;

    text-decoration: underline;
    text-underline-offset: 4px;
}

.credit-item {
    margin: 20px 0;
    padding: 25px 28px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: var(--bg-main);
}

.legal-date {
    margin-top: 90px;
    padding-top: 24px;

    border-top: 1px solid var(--border);
}


/* Legalページのスマホ用 */

@media (max-width: 700px) {

    .legal-hero {
        padding: 72px 0 55px;
    }

    .legal-inner {
        width: min(calc(100% - 32px), 900px);
    }

    .legal-hero h1 {
        font-size: 38px;
    }

    .legal-lead {
        font-size: 15px;
    }

    .legal-section {
        padding: 65px 0 90px;
    }

    .legal-content>section {
        margin-bottom: 48px;
    }

    .legal-content h2 {
        font-size: 21px;
    }

    .legal-content p,
    .legal-content li {
        font-size: 15px;
    }

    .credit-item {
        padding: 20px;
    }
}