
/* =========================================================
   1. VARIABLES
========================================================= */
    :root {
        --mtm-dark: #121212;
        --mtm-white: #FFFFFF;
        --mtm-accent: #33C5F3;
        --mtm-gray: #F9F9F9;
        --mtm-border: #EEEEEE;
        --mtm-form-bg: #222222;
        --mtm-font-en: 'Montserrat', sans-serif;
        --mtm-font-jp: 'Noto Sans JP', sans-serif;
    }

/* =========================================================
   2. RESET / BASE
========================================================= */

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body {
        margin: 0;
        padding: 0;
        font-family: system-ui, -apple-system, "Noto Sans JP", sans-serif;
        color: var(--mtm-dark);
        background-color: var(--mtm-white);
        line-height: 1.8;
        letter-spacing: 0.08em;
        font-weight: 500;
        -webkit-font-smoothing: antialiased;
    }

    h1, h2, h3, h4 {
        font-family: var(--mtm-font-en);
        font-weight: 700;
        margin: 0;
    }
    
    h1:lang(ja), h2:lang(ja), h3:lang(ja) { font-family: var(--mtm-font-jp); font-weight: 700; }

    a { text-decoration: none; color: inherit; transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
    img { max-width: 100%; height: auto; display: block; }

    .container {
        max-width: 1140px;
        margin: 0 auto;
        padding: 0 30px;
    }


/* =========================================================
   3. HEADER (COMMON)
========================================================= */
    .site-header {
        background: var(--mtm-white);
        border-bottom: 1px solid var(--mtm-border);
        position: sticky;
        top: 0;
        z-index: 1000;
        height: 85px; 
        display: flex;
        align-items: center;
    }
    .header-inner {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo-text {
        font-family: var(--mtm-font-en);
        font-size: 1.2rem;
        font-weight: 800;
        text-transform: none;
        color: var(--mtm-dark);
        letter-spacing: 0.02em;
        line-height: 1;
        margin: 0;
        display: flex;
        align-items: center;
    }

    .nav-menu {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 30px;
        align-items: center;
    }

    .nav-menu li a {
        font-size: 13px;
        font-weight: 700;
        position: relative;
        color: var(--mtm-dark);
        letter-spacing: 0.05em;
        line-height: 1;
    }

    .nav-menu li a::after {
        content: '';
        position: absolute;
        width: 0; height: 2px; bottom: -8px; left: 0;
        background-color: var(--mtm-accent);
        transition: width 0.3s;
    }

    .nav-menu li a:hover::after { width: 100%; }

    /* Hamburger */
    .hamburger {
        display: none;
        flex-direction: column;
        gap: 6px;
        width: 35px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .hamburger span {
        height: 2px;
        background: var(--mtm-dark);
        width: 100%;
        transition: 0.3s ease;
    }
    body.nav-open {
        overflow: hidden;
    }
    /* Mobile */
    @media (max-width: 768px) {

        .hamburger {
            display: flex;
             z-index: 2001;
        }
        .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--mtm-white);
        box-shadow: -10px 0 30px rgba(0,0,0,0.08);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        padding-top: 120px;
        z-index: 2000;
        }
        .site-nav.active {
            transform: translateX(0);
        }
        .nav-menu {
            flex-direction: column;
            gap: 25px;
            padding: 0 30px;
        }
        .hamburger.active span:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }
    }

    
/* =========================================================
   4. COMMON COMPONENTS
========================================================= */
    .sp {
    display: none;
    }
    .pc {
    display: inline-block;
    }
    .section { padding: 90px 0; }
    .section-gray { background-color: var(--mtm-gray); }

    .section-title { text-align: center; margin-bottom: 60px; }
    /*.section-title h2 { font-size: 1.7rem; }*/
    .section-title span {
        display: block;
        font-size: 0.75rem;
        color: var(--mtm-accent);
        font-family: var(--mtm-font-en);
        text-transform: uppercase;
        letter-spacing: 0.4em;
        font-weight: 700;
        margin-bottom: 12px;
    }
    .section-title h2 { font-size: 1.8rem; font-weight: 700; }

    .section-desc {
        max-width: 800px;
        margin: -30px auto 50px;
        text-align: center;
        font-size: 1rem;
        color: #555;
        font-weight: 500;
        line-height: 1.8;
    }
    .profile-row {
        display: grid;
        grid-template-columns: 220px 1fr;
        padding: 35px 0;
        border-bottom: 1px solid var(--mtm-border);
        align-items: center;
    }
    .profile-row:first-child { border-top: 1px solid var(--mtm-border); }
    .page-header {
        background-size: cover;
        background-position: center;
        padding: 100px 0;
        color: #fff;
        position: relative;
        background-color: #000;
    }
    .page-category {
        font-family: var(--mtm-font-en);
        font-size: 0.85rem;
        color: var(--mtm-accent);
        letter-spacing: 0.5em;
        text-transform: uppercase;
        display: block;
        margin-bottom: 15px;
        text-align: center;
    }
    .page-title {
        font-size: 2.2rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-align: center;
    }
    /* --- Page Hero Aboutus + Contact page --- */
    .page-hero {
        background-color: var(--mtm-dark);
        padding: 100px 0;
        text-align: center;
        color: var(--mtm-white);
    }

    .page-hero-subtitle {
        font-family: var(--mtm-font-en);
        font-size: 0.8rem;
        color: var(--mtm-accent);
        letter-spacing: 0.5em;
        text-transform: uppercase;
        display: block;
        margin-bottom: 15px;
    }

    .page-hero-title {
        font-size: 2.2rem;
        font-weight: 700;
    }
    /* --- Breadcrumbs --- */
    .breadcrumbs {
        background-color: #f5f5f5;
        border-bottom: 1px solid #e5e5e5;
        padding: 14px 0;
        font-size: 0.75rem;
        font-weight: 600;
    }

    .breadcrumbs ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        gap: 8px;
        color: #777;
    }

    .breadcrumbs li {
        display: flex;
        align-items: center;
    }

    .breadcrumbs li:not(:last-child)::after {
        content: "/";
        margin-left: 8px;
        color: #bbb;
    }

    .breadcrumbs a {
        color: #666;
        transition: 0.3s;
    }

    .breadcrumbs a:hover {
        color: var(--mtm-accent);
    }
    /* Archive News */
    .post-type-archive-news_release .news-section {
        padding: 100px 0 140px;
    }
     .post-type-archive-news_release .news-item {
        padding: 35px 0;
     }
     .news-full-list .news-item:first-child {
        border-top: 1px solid var(--mtm-border);
    }   
    .post-type-archive-news_release .news-title {
        font-weight: 700;
        font-size: 1.05rem;
        flex: 1;
        color: #222;
        line-height: 1.6;
    }
    .post-type-archive-news_release  .news-date {
         width: 130px;
        font-size: 0.9rem;
    }
    .post-type-archive-news_release .news-tag {
        padding: 3px 12px;
        margin-right: 30px;
        min-width: 90px;
        font-size: 0.65rem;
    }
    .pagination {
    text-align: center;
    margin-top: 80px;
    }

    .pagination .page-numbers {
        display: inline-block;
        margin: 0 6px;
        padding: 8px 14px;
        font-size: 0.85rem;
        font-family: var(--mtm-font-en);
        border: 1px solid var(--mtm-border);
        color: var(--mtm-dark);
        transition: 0.3s;
    }

    .pagination .page-numbers.current {
        background: var(--mtm-dark);
        color: var(--mtm-white);
        border-color: var(--mtm-dark);
    }

    .pagination .page-numbers:hover {
        border-color: var(--mtm-accent);
        color: var(--mtm-accent);
    }
    .post-meta {
        margin-bottom: 40px;
        font-size: 0.85rem;
        font-family: var(--mtm-font-en);
    }
    .post-date {
        margin-right: 20px;
        color: #888;
    }
    .post-category a {
        color: var(--mtm-accent);
        font-weight: 700;
    }
    /* =========================================
    Content Typography (Post / News 共通)
    ========================================= */

    /*.post-content h2,
    .news-detail-content h2 {
        margin: 60px 0 25px;
        font-size: 1.6rem;
        line-height: 1.4;
    }*/

    .post-content h3,
    .news-detail-content h3 {
        margin: 0px 0 20px;
        font-size: 1.3rem;
        line-height: 1.5;
    }

    .post-content h4,
    .news-detail-content h4 {
        margin: 0px 0 20px;
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .post-content p,
    .news-detail-content p {
        margin-bottom: 20px;
    }

    .post-content figure,
    .news-detail-content figure {
        margin: 20px 0 20px;
    }
    .subscribe-form-area {
    background: white;
    border-radius: 4px;
    display: flex;
    /* justify-content: center; */
    /* align-items: center; */
    padding: 7px;
    min-width: 406px;
    }
    .subscribe-form-area .frm-fluent-form .ff-t-cell .ff_submit_btn_wrapper_custom button {
        margin-bottom: 0;
    }
    .subscribe-form-area .frm-fluent-form .ff-t-cell .ff_submit_btn_wrapper_custom {
        margin: 0;
    }
    .subscribe-form-area .ff-default {
        width: 100%;;
    }
    .frm-fluent-form .ff-t-container {
        display: flex;
        gap: 15px;
        width: 100%;
        display: flex;
        background: var(--mtm-white);
        padding: 6px 6px 6px 10px;
        border-radius: 4px;
        border: 1px solid var(--mtm-white);
        transition: 0.3s;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    .subscribe-form-area .ff-default .ff_btn_style {
    border-radius: 7px;
    font-size: 14px;
    padding: 11px 35px;
    font-weight: 600;
    }
    .subscribe-form-area .fluentform .ff-el-group {
        margin-bottom: 0 !important;
    }
    .subscribe-form-area .ff-default .ff-el-form-control {
        border: none !important;
        padding: 11px 11px !important;
    }
    .ff-message-success {
        color: black;
        margin-top: 0 !important;
    }


/* =========================================================
   5. TOP PAGE
========================================================= */
    /* --- First View Wrapper --- */
    .first-view {
        display: flex;
        flex-direction: column;
        min-height: calc(100vh - 85px); /* heightからmin-heightに変更し、画面内に収めやすくする */
    }

    /* --- Hero Section --- */
    .hero {
        position: relative;
        flex: 1; 
        background-color: var(--mtm-dark);
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        min-height: 450px; /* 最小高さを抑えてメールバーを画面内に押し上げる */
        padding-bottom: 80px; /* スクロールインジケーター用の余白を最適化 */
    }

    .hero-bg {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        object-fit: cover;
        opacity: 0.45;
        filter: grayscale(100%) contrast(1.1);
    }

    .hero-content {
        position: relative;
        z-index: 2;
        color: var(--mtm-white);
        width: 100%;
        max-width: 1140px;
        padding: 0 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 60px;
    }

    .hero-left {
        flex: 1.1;
    }

    .hero-right {
        flex: 1.1;
        border-left: 1px solid rgba(255,255,255,0.3);
        padding-left: 50px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    @keyframes fadeInSlideUp {
        0% { opacity: 0; transform: translateY(20px); filter: blur(5px); }
        100% { opacity: 1; transform: translateY(0); filter: blur(0); }
    }

    .hero-subtitle {
        font-family: var(--mtm-font-en);
        font-size: 0.85rem;
        font-weight: 700;
        letter-spacing: 0.4em;
        margin-bottom: 20px;
        display: block;
        text-transform: uppercase;
        color: var(--mtm-accent);
        animation: fadeInSlideUp 1s ease forwards;
    }

    .hero-title {
        font-family: var(--mtm-font-jp);
        font-size: 2.6rem; 
        font-weight: 700;
        line-height: 1.5;
        color: var(--mtm-white);
        animation: fadeInSlideUp 1s ease 0.2s forwards;
        opacity: 0;
        margin: 0;
        letter-spacing: 0.05em;
    }

    /* --- Hero 追加要素 (Purpose & Links) --- */
    .hero-purpose {
        font-size: 0.95rem; 
        margin: 0 0 30px 0;
        font-weight: 500;
        line-height: 1.8;
        opacity: 0;
        animation: fadeInSlideUp 1s ease 0.4s forwards;
        color: #e0e0e0;
        text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    }

    .hero-links {
        display: flex;
        gap: 12px; /* ボタン同士の隙間 */
        opacity: 0;
        animation: fadeInSlideUp 1s ease 0.6s forwards;
        flex-wrap: nowrap; /* 確実に横2つに並べる */
        width: 100%; /* 文章の横幅に合わせる */
    }

    .hero-btn {
        flex: 1; /* 横幅を均等に広げて余白を埋める */
        display: flex; /* 中央揃えを確実にするためflexに変更 */
        align-items: center;
        justify-content: center;
        padding: 12px 15px; /* パディングを微調整 */
        font-weight: 700;
        font-size: 0.8rem; 
        letter-spacing: 0.05em;
        border-radius: 2px;
        transition: 0.3s;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        text-align: center;
        white-space: nowrap; /* 文字の折り返しを防ぐ */
    }

    .hero-btn-primary {
        background-color: var(--mtm-accent);
        color: var(--mtm-dark);
        border: 2px solid var(--mtm-accent);
    }
    .hero-btn-primary:hover {
        background-color: var(--mtm-white);
        border-color: var(--mtm-white);
    }

    .hero-btn-outline {
        background-color: rgba(0,0,0,0.4);
        border: 2px solid var(--mtm-white);
        color: var(--mtm-white);
        backdrop-filter: blur(5px);
    }
    .hero-btn-outline:hover {
        background-color: var(--mtm-white);
        color: var(--mtm-dark);
    }

    /* --- Scroll Down Indicator (Stylish Ver.) --- */
    .scroll-down {
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        color: var(--mtm-white);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        font-family: var(--mtm-font-en);
        font-size: 0.65rem;
        font-weight: 600;
        letter-spacing: 0.3em;
        text-transform: uppercase;
        z-index: 10;
        opacity: 0;
        animation: fadeIn 1.5s ease 1s forwards;
    }

    .scroll-line {
        width: 1px;
        height: 60px;
        background: rgba(255, 255, 255, 0.2);
        position: relative;
        overflow: hidden;
    }

    .scroll-line::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--mtm-white);
        animation: scrollLineDrop 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
    }

    @keyframes fadeIn {
        0% { opacity: 0; }
        100% { opacity: 1; }
    }

    @keyframes scrollLineDrop {
        0% { transform: translateY(-100%); }
        50% { transform: translateY(0); }
        100% { transform: translateY(100%); }
    }

    /* --- Subscribe Bar --- */
    .subscribe-bar {
        background-color: var(--mtm-dark);
        color: var(--mtm-white);
        padding: 20px 0; /* 上下の余白を少しスリムにして画面に収まりやすく調整 */
        border-top: 1px solid #333;
    }

    .subscribe-flex {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
    }

    .subscribe-text-area h3 {
        color: var(--mtm-white);
        font-size: 1.1rem;
        margin-bottom: 5px;
        font-weight: 700;
    }
    
    .subscribe-text-area p { font-size: 0.8rem; color: #aaa; margin: 0; font-weight: 500; }

    .subscribe-inline-form { 
        display: flex; 
        background: var(--mtm-white);
        padding: 6px 6px 6px 20px;
        border-radius: 4px;
        border: 1px solid var(--mtm-white);
        transition: 0.3s;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .subscribe-inline-form:focus-within {
        border-color: var(--mtm-accent);
        box-shadow: 0 10px 35px rgba(51, 197, 243, 0.25);
    }
    
    .subscribe-inline-form .form-control {
        background: transparent;
        border: none;
        color: var(--mtm-dark);
        padding: 10px 0;
        width: 240px;
        font-size: 0.9rem;
        outline: none;
        font-family: var(--mtm-font-jp);
        font-weight: 500;
    }

    .subscribe-inline-form .form-control::placeholder {
        color: #999;
    }
    
    .subscribe-inline-form .btn-subscribe {
        background: var(--mtm-accent); 
        color: var(--mtm-white);
        border: none;
        padding: 10px 30px;
        font-weight: 800;
        cursor: pointer;
        font-size: 0.85rem;
        border-radius: 2px;
        margin-left: 10px;
        transition: 0.3s;
    }
    .subscribe-inline-form .btn-subscribe:hover {
        background: var(--mtm-dark);
        color: var(--mtm-white);
    }


    /* --- Animation Line (Unified to 4px height) --- */
    .title-anim-wrapper {
        width: 140px; 
        height: 4px;
        margin: 15px auto 0;
        position: relative;
        overflow: hidden;
    }
    .title-anim-bar {
        position: absolute;
        top: 0; left: 0; height: 100%; width: 0;
        background: var(--mtm-accent);
    }
    .title-anim-bar.is-visible {
        animation: lineDraw 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    @keyframes lineDraw { 0% { width: 0; } 100% { width: 100%; } }

    /* --- Purpose Section --- */
    #purpose { 
        padding-top: 140px; /* スペースをさらに広げる */
        padding-bottom: 220px; /* スペースをさらに広げる */
    }
    .message-container { max-width: 800px; margin: 0 auto; }
    .message-highlight {
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--mtm-dark);
        border-left: 4px solid var(--mtm-accent);
        padding-left: 30px;
        margin: 60px 0; /* 前後の余白を広げる */
        line-height: 1.8;
    }
    .message-text p { 
        font-size: 1.05rem; 
        color: #444; 
        margin-bottom: 45px; /* 段落間の余白を広げる */
        font-weight: 500; 
        line-height: 2.0; /* 行間を広げて読みやすく */
    }

    /* --- Our Policy --- */
    .proposal-list { display: flex; flex-direction: column; gap: 20px; max-width: 1000px; margin: 0 auto; }
    .proposal-item {
        display: flex;
        align-items: center;
        background: var(--mtm-white);
        padding: 40px 50px;
        border: 1px solid var(--mtm-border);
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        cursor: pointer;
    }
    .proposal-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.04);
        border-color: var(--mtm-accent);
    }

    .proposal-icon-group {
        flex-shrink: 0;
        width: 140px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 25px;
    }
    .proposal-number-badge {
        font-family: var(--mtm-font-en);
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--mtm-accent);
    }
    .proposal-illustration { font-size: 2rem; color: #121212; }
    .proposal-content h3 { font-size: 1.25rem; margin-bottom: 8px; font-weight: 700; }
    .proposal-content p { font-size: 0.95rem; color: #666; margin: 0; font-weight: 500; line-height: 1.7; }

    /* --- Presentation List (Updated Meta alignment) --- */
    #presentation {
        padding-top: 90px;
        padding-bottom: 200px; 
    }
    .document-list { 
        display: flex; 
        flex-direction: column; 
        gap: 15px; 
        max-width: 850px; 
        margin: 0 auto; 
    }
    .document-item {
        position: relative;
        background: var(--mtm-white);
        padding: 25px 40px;
        border: 1px solid var(--mtm-border);
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: 0.3s;
        cursor: default;
    }
    .document-item:hover { 
        border-color: var(--mtm-accent); 
        background-color: #fcfcfc;
    }
    .document-main-info {
        display: flex;
        align-items: center;
        gap: 30px;
        margin-right: 15px;
        flex: 1; 
        min-width:0;
    }
    .document-type-icon { color: var(--mtm-accent); font-size: 1.6rem; flex-shrink: 0; }
    .document-title { 
        font-weight: 700; 
        font-size: 1rem; 
        color: var(--mtm-dark);
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
     }
    .document-meta { 
        font-family: var(--mtm-font-en);
        font-size: 0.8rem; 
        color: #888; 
        font-weight: 700;
        margin-left: auto; /* Pushes to the right */
        margin-right: 40px; /* Space before chevron */
    }
    .document-meta {
        margin-right: 0;
    }
    .document-download-icon {
        color: #ccc;
        font-size: 1.1rem;
        transition: 0.3s;
        flex-shrink: 0;
    }

    /* --- News List --- */
    #news { padding-bottom: 160px; }
    .news-list { max-width: 900px; margin: 0 auto; }
    .news-item {
        display: flex;
        padding: 30px 0;
        border-bottom: 1px solid var(--mtm-border);
        align-items: baseline;
        transition: 0.3s;
    }
    .news-item:hover { padding-left: 10px; }
    .news-date { font-family: var(--mtm-font-en); font-weight: 700; font-size: 0.85rem; width: 120px; color: #888; }
    .news-tag {
        font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
        letter-spacing: 0.1em; padding: 2px 10px; border: 1px solid var(--mtm-dark);
        margin-right: 25px; min-width: 80px; text-align: center;
    }
    .news-tag.release { background: var(--mtm-dark); color: white; }
    .news-title { font-weight: 700; font-size: 1rem; flex: 1; color: #222; }

    /* --- Company Profile --- */
    #company { padding-bottom: 120px; }
    .company-profile { max-width: 850px; margin: 0 auto; }

    .label-en { display: block; font-family: var(--mtm-font-en); font-size: 0.6rem; font-weight: 700; color: var(--mtm-accent); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 4px; }
    .label-jp { display: block; font-size: 0.95rem; font-weight: 700; }
    .profile-value { font-size: 1rem; color: #333; font-weight: 500; }

    /* --- Buttons --- */
    .btn-wrap { text-align: center; margin-top: 50px; }
    .btn {
        display: inline-block;
        padding: 20px 50px;
        background-color: var(--mtm-dark);
        color: var(--mtm-white);
        font-weight: 700;
        font-size: 0.85rem;
        letter-spacing: 0.15em;
        transition: 0.3s;
    }
    .btn:hover { background-color: var(--mtm-accent); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(51, 197, 243, 0.2); }

/* =========================================================
  Footer
========================================================= */
    .site-footer { background-color: var(--mtm-dark); color: #888; padding: 100px 0 50px; }
    .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
    .footer-content { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; margin-bottom: 60px; }
    .footer-brand {
        border-right: 1px solid #333;
        padding-right: 40px;
    }
    .footer-logo-text { font-size: 1.4rem; font-weight: 800; color: var(--mtm-white); margin-bottom: 15px; text-transform: none; }
    .footer-links { text-align: right; }
    .footer-links ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
    .footer-links a { font-size: 0.8rem; font-weight: 700; color: #bbb; }
    .footer-links a:hover { color: var(--mtm-accent); }
    .disclaimer { font-size: 0.75rem; line-height: 1.8; border-top: 1px solid #333; padding-top: 40px; font-weight: 400; }


/* =========================================================
   6. ABOUT PAGE
========================================================= */
    .aboutus .about-message {
        max-width: 900px;
        margin: 0 auto;
    }
    .aboutus .message-lead {
        font-size: 1.6rem;
        font-weight: 700;
        color: var(--mtm-dark);
        line-height: 1.6;
        margin-bottom: 50px;
        text-align: center;
        word-break: keep-all;
    }
    .aboutus .message-body {
        text-align: center;
    }
    .aboutus .message-body p {
        font-size: 1.05rem;
        color: #444;
        margin-bottom: 35px;
        line-height: 2.2;
    }

    /* --- Company Profile --- */
    .aboutus .company-profile { max-width: 850px; margin: 0 auto; }
    .aboutus .label-en { display: block; font-family: var(--mtm-font-en); font-size: 0.6rem; font-weight: 700; color: var(--mtm-accent); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 4px; }
    .aboutus .label-jp { display: block; font-size: 0.95rem; font-weight: 700; }
    .aboutus .profile-value { font-size: 1rem; color: #333; font-weight: 500; }

/* =========================================================
  Presentation Page
========================================================= */

    /* --- Page Hero --- */
    .presentation .page-hero {
        background-size: cover;
        background-position: center;
        padding: 100px 0;
        text-align: center;
        border-bottom: 1px solid var(--mtm-border);
        position: relative;
        color: var(--mtm-white);
    }
    .presentation .page-hero::before {
        content: '';
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(18, 18, 18, 0.75);
        z-index: 1;
    }
    .presentation .page-hero .container { position: relative; z-index: 2; }
    .presentation .page-category {
        font-family: var(--mtm-font-en);
        color: var(--mtm-accent);
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        display: block;
        margin-bottom: 10px;
    }
    .presentation .page-title {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 0;
        text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }

    /* Hero Download Button Style */
    .hero-download-wrap {
        margin-top: 35px;
    }
    .btn-hero-download {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        background: rgba(255, 255, 255, 0.15);
        -webkit-backdrop-filter: blur(4px); /* iOS Safari用 */
        backdrop-filter: blur(4px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        color: var(--mtm-white);
        padding: 15px 40px;
        font-weight: 700;
        font-size: 0.9rem;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        border-radius: 2px;
    }
    .btn-hero-download:hover {
        background: var(--mtm-accent);
        border-color: var(--mtm-accent);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    }
    .btn-hero-download i { font-size: 1.1rem; }


    /* --- Problem Section --- */
    .problem-section { padding: 80px 0; }
    .problem-grid {
        display: grid;
        grid-template-columns: 1.4fr 1fr;
        gap: 60px;
        align-items: flex-start;
    }
    
    .problem-content h3 {
        font-size: 1.5rem;
        margin-bottom: 40px;
        border-left: 5px solid var(--mtm-dark);
        padding-left: 20px;
        line-height: 1.4;
    }
    
    .issue-block {
        margin-bottom: 40px;
        border-bottom: 1px solid #eee;
        padding-bottom: 30px;
    }
    .issue-block:last-child { border-bottom: none; }
    
    .issue-block h4 {
        font-size: 1.15rem;
        color: var(--mtm-dark);
        margin-bottom: 15px;
        align-items: center; 
        display: flex;
        gap: 12px; 
    }
    .issue-block h4::before {
        content: counter(issue-counter);
        counter-increment: issue-counter;
        background: var(--mtm-accent);
        color: white;
        width: 24px; height: 24px;
        border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        font-size: 0.8rem;
        font-family: var(--mtm-font-en);
        flex-shrink: 0;  
    }
    .problem-content { counter-reset: issue-counter; }

    .issue-block p {
        color: #444;
        margin-bottom: 15px;
        text-align: justify;
        font-size: 0.95rem;
    }
    .issue-block strong {
        color: #E74C3C;
        background: rgba(231, 76, 60, 0.1);
        padding: 0 4px;
    }
    
    .key-points-box {
        background: #fff;
        border: 1px solid var(--mtm-border);
        padding: 40px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.03);
        position: -webkit-sticky; /* iOS Safari用 */
        position: sticky;
        top: 100px;
    }
    .key-point-title {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .key-point-title i { color: #E74C3C; }
    
    .point-list { list-style: none; padding: 0; margin: 0; }
    .point-list li {
        position: relative;
        padding-left: 20px;
        margin-bottom: 15px;
        font-weight: 700;
        font-size: 0.95rem;
        border-bottom: 1px solid #f5f5f5;
        padding-bottom: 15px;
        line-height: 1.6;
    }
    .point-list li::before {
        content: '';
        position: absolute; left: 0; top: 10px;
        width: 6px; height: 6px; background: var(--mtm-dark);
        border-radius: 50%;
    }
    .point-list li:last-child { border-bottom: none; margin-bottom: 0; }

    /* --- PDF Slider Style --- */
    .pdf-section {
        background-color: var(--mtm-dark);
        padding: 80px 0;
        color: white;
    }
    .pdf-header { text-align: center; margin-bottom: 40px; }
    .pdf-header h3 { font-size: 1.6rem; color: white; margin-bottom: 10px; }
    .pdf-header p { color: #999; font-size: 0.9rem; }

    .pdf-container {
        background: #000; 
        width: 100%;
        max-width: 1000px;
        margin: 0 auto;
        box-shadow: 0 20px 50px rgba(0,0,0,0.5);
        border-radius: 4px;
        overflow: hidden;
        position: relative;
    }

    /* Track that moves */
    .pdf-slides {
        display: flex;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0; left: 0;
        transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    /* Individual Slide */
    .pdf-slide {
        min-width: 100%;
        height: 100%;
        position: relative;
    }

    /* Custom HTML Slide Placeholder */
    .slide-placeholder {
        width: 100%;
        height: 100%;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border: 1px solid #ddd;
        position: absolute; 
        top: 0; left: 0;
    }
    .slide-placeholder span {
        font-family: var(--mtm-font-en);
        font-size: 3rem;
        font-weight: 800;
        color: #eee;
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }

    /* Navigation Buttons */
    .pdf-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0,0,0,0.5);
        color: white;
        border: none;
        width: 50px; height: 50px;
        border-radius: 50%;
        font-size: 1.2rem;
        cursor: pointer;
        display: flex; align-items: center; justify-content: center;
        transition: 0.3s;
        z-index: 10;
    }
    .pdf-nav:hover { background: var(--mtm-accent); }
    .pdf-nav.prev { left: 20px; }
    .pdf-nav.next { right: 20px; }

    /* Page Indicator */
    .pdf-page-indicator {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0,0,0,0.7);
        color: white;
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-family: var(--mtm-font-en);
        font-weight: 700;
        z-index: 10;
    }

    .pdf-actions { text-align: center; margin-top: 40px; }
    .btn-download {
        display: inline-block;
        border: 1px solid var(--mtm-white);
        color: var(--mtm-white);
        padding: 15px 40px;
        font-weight: 700;
        transition: 0.3s;
    }

    canvas {
    width: 100% !important; 
    max-width: 100% !important;
    height: auto !important;
    display: block;
    }

    .pdf-slider-window {
        width: 100%;
        overflow: hidden;  
        position: relative;
        background: #1a1a1a;
        padding-bottom: 56.25%; 
        height: 0;
    }
    /* --- スライド本体 --- */
    .pdf-slides {
        display: flex;
        transition: transform 0.4s ease;
    }

    .pdf-slide {
        min-width: 100%; 
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }
    .btn-download:hover {
        background: var(--mtm-accent);
        border-color: var(--mtm-accent);
        color: var(--mtm-white);
    }

    /* --- Related Documents --- */
    .related-section { 
        padding: 100px 0; 
        background: var(--mtm-gray); 
    }
    .section-head-simple { text-align: center; margin-bottom: 30px; }
    .section-head-simple h3 { font-size: 1.3rem; }
    
    .presentation .document-list { display: flex; flex-direction: column; gap: 15px; max-width: 850px; margin: 0 auto; }
    .presentation .document-item {
        background: var(--mtm-white);
        padding: 20px 30px;
        border: 1px solid var(--mtm-border);
        display: flex; align-items: center; justify-content: space-between;
        transition: 0.3s;
    }
    .presentation .document-item:hover { border-color: var(--mtm-accent); transform: translateX(5px); }
    .presentation .document-main-info { display: flex; align-items: center; gap: 20px; flex: 1; }
    .presentation .document-type-icon { color: var(--mtm-accent); font-size: 1.4rem; flex-shrink: 0; }
    .presentation .document-title { font-weight: 700; font-size: 0.95rem; color: var(--mtm-dark); }
    .presentation .document-meta { font-family: var(--mtm-font-en); font-size: 0.75rem; color: #888; font-weight: 700; margin-left: auto; margin-right: 30px;}
    .presentation .document-download-icon { color: #ccc; }
/* =========================================================
   Documents Single
========================================================= */
    .document-download-icon {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    .document-single {
        padding: 100px 0 140px;
    }

    .document-header-meta {
        text-align: center;
        margin-top: 25px;
    }

    .document-meta-wrap {
        margin-top: 25px;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        gap: 25px;
        flex-wrap: wrap;
    }

    .page-subtitle {
        font-size: 1.05rem;
        color: #878787;
        margin-top: 15px;
        font-weight: 500;
    }

    .page-meta {
        font-family: var(--mtm-font-en);
        font-size: 0.8rem;
        letter-spacing: 0.2em;
        margin-top: 10px;
        color: var(--mtm-accent);
    }

    .documents-section {
        background: var(--mtm-gray);
    }

    .document-download-box {
        margin: 60px auto 80px;
        padding: 45px 40px;
        border: 1px solid var(--mtm-border);
        background: var(--mtm-gray);
        text-align: center;
        max-width: 700px;
    }

    .document-download-box .btn-download {
        background: var(--mtm-dark);
        color: var(--mtm-white);
        padding: 16px 50px;
        font-size: 0.85rem;
        letter-spacing: 0.15em;
        font-weight: 700;
        border: none;
        display: inline-block;
        transition: 0.3s;
    }

    .document-download-box .btn-download:hover {
        background: var(--mtm-accent);
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(51,197,243,0.25);
    }

    .document-content {
        max-width: 760px;
        margin: 0 auto;
    }

    .document-content p {
        font-size: 1rem;
        line-height: 2;
        margin-bottom: 28px;
        color: #444;
    }
    /* スマホ（768px以下）の時だけインジケーターとナビボタンを隠す */
    @media screen and (max-width: 768px) {
        .pdf-page-indicator,
        .pdf-nav {
            display: none !important;
        }
    }
    /*news&release*/
    .news-detail-section {
    padding: 80px 0 100px;
    }
    .news-detail {
        margin: 0 auto;
    }
    .news-detail-meta {
        margin-bottom: 30px;
        font-size: 0.9rem;
        font-weight: 700;
        color: #5a5a5a;
    }

    .news-detail-content {
        font-size: 1rem;
        line-height: 2;
    }

    .news-detail-content h2,
    .news-detail-content h3 {
        margin-top: 50px;
        margin-bottom: 20px;
    }

    .news-detail-content p {
        margin-bottom: 25px;
    }

    .news-back {
        text-align: center;
        margin-top: 120px;
    }

    .btn-back {
        font-weight: 700;
        border-bottom: 1px solid #121212;
        padding-bottom: 3px;
    }
/* =========================================================
  Contact 
========================================================= */
    .contact .section {
        padding: 120px 0;
    }
    /* --- Inquiry Cards --- */
    .inquiry-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        margin-top: 40px;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

    .inquiry-card {
        padding: 10px 0 10px 40px;
        border-left: 3px solid var(--mtm-accent);
        display: flex;
        flex-direction: column;
    }

    .inquiry-label {
        font-family: var(--mtm-font-en);
        font-size: 0.7rem;
        color: var(--mtm-accent);
        text-transform: uppercase;
        letter-spacing: 0.3em;
        font-weight: 700;
        display: block;
        margin-bottom: 15px;
    }

    .inquiry-title {
        font-size: 1.6rem;
        line-height: 1.4;
        font-weight: 700;
        color: var(--mtm-dark);
        margin-bottom: 25px;
        word-break: keep-all;
    }

    .inquiry-email {
        font-family: var(--mtm-font-en);
        font-size: 1.2rem;
        font-weight: 500;
        color: #444;
        display: inline-block;
        user-select: all;
    }


/* =========================================================
   8. MOBILE (ALL IN ONE)
========================================================= */
    @media (max-width: 768px) {
        .sp {
            display: inline-block;
        }
        .pc {
            display: none;
        }
        .container {
            padding: 0 20px;
        }
        .nav-menu li a {
        font-size: 14px;
        }
        .contact .section {
            padding: 90px 0;
        }
        .site-header { height: auto; padding: 15px 0; }
        .section-title h2 {
            font-size: 1.6rem;
        }
        .header-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
        }
        .first-view { min-height: auto; } /* スマホでは高さを成り行きにする */
        .hero { min-height: auto; padding: 60px 0 100px; align-items: flex-start; } 
        
        .hero-content {
            flex-direction: column;
            gap: 40px;
            padding: 0 20px;
        }
        
        .hero-left { width: 100%; }
        
        .hero-right {
            width: 100%;
            border-left: none;
            padding-left: 0;
            border-top: 1px solid rgba(255,255,255,0.3);
            padding-top: 35px;
        }

        .hero-title { font-size: 1.9rem; }
        .hero-purpose { font-size: 0.9rem; margin-bottom: 25px; }
        
        /* スマホでもボタンを横並びにする調整 */
        .hero-links { 
            flex-direction: row; 
            gap: 10px; 
            justify-content: center;
            width: 100%;
        }
        .hero-btn { 
            padding: 12px 10px; 
            font-size: 0.75rem; 
            white-space: normal; /* スマホの時は文字の折り返しを許可 */
            line-height: 1.4;
        }
        .scroll-down
        {
            position: absolute;
            bottom: 6px;
            gap: 6px;
        }
        .scroll-line {
            height: 45px;
        }
        
        .subscribe-bar { height: auto; padding: 30px 0; }
        .subscribe-flex { flex-direction: column; align-items: flex-start; gap: 25px; }
        .subscribe-inline-form { width: 100%; flex-direction: column; padding: 10px; gap: 10px; }
        .subscribe-inline-form .form-control { width: 100%; padding-left: 10px; }
        .subscribe-form-area {width: 100%;}
        .subscribe-inline-form .btn-subscribe { margin-left: 0; width: 100%; }
        #purpose, #proposal,#presentation { padding-top:90px; padding-bottom: 100px; }
        .proposal-item { padding: 35px 25px; flex-direction: column; text-align: center; }
        .document-item { 
            flex-direction: column; 
            align-items: flex-start; 
            gap: 15px; 
            padding: 20px 20px 20px 45px; 
            position: relative;
        }
        .document-type-icon {
            position: absolute;
            left: 9px;
            top: 50%;
            transform: translateY(-50%);
        }
        .document-main-info { flex-direction: column; align-items: flex-start; gap: 5px; }
        .document-meta { margin-left: 0; margin-right: 0; }
        .profile-row { grid-template-columns: 1fr; gap: 8px; }
        /* News SP layout */
        .news-item {
            flex-direction: column;
            align-items: flex-start;
            gap: 8px;
        }
        .message-text p:nth-child(3) {
            margin-bottom: 0;
        }
        .news-date,
        .news-tag {
            display: inline-block;
        }

        .news-date {
            width: auto;
            margin-right: 12px;
        }

        .news-item > .news-date,
        .news-item > .news-tag {
            display: inline-block;
        }

        .news-item .news-title {
            margin-top: 6px;
        }
        .frm-fluent-form .ff-t-container { 
            flex-direction: column; 
            padding: 6px 6px 6px 6px;
        }
        .footer-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
        .footer-brand { border-right: none; padding-right: 0; }
        .footer-links ul { align-items: center; margin-top: 0; }
        .site-footer {
            padding: 60px 0 50px;
        }
        /*aboutus contact page*/
        .page-hero-title { font-size: 1.6rem; }
        .aboutus .message-lead { font-size: 1.3rem; }
        /*presentation page*/
        .presentation .page-title {
            font-size: 1.9rem;
        }
        .problem-grid { grid-template-columns: 1fr; gap: 30px; }
        .key-points-box { padding: 30px 20px; position: static; }
        
        .document-item { flex-direction: column; align-items: flex-start; gap: 15px; }
        .document-main-info { flex-direction: column; align-items: flex-start; gap: 5px; }
        .presentation .document-main-info { gap: 5px; }
        .presentation .document-meta {
            margin-right: auto;
            margin-left: unset;
        }
        .presentation .document-item {
            padding: 20px 30px 20px 40px;
            align-items: flex-start;
        }
        .document-meta { margin-left: 0; margin-right: 0; }
        .subscribe-form-area {min-width: 100%; }
         .issue-block:last-child { padding-bottom: 0; }
        /*contact*/
        .inquiry-grid { grid-template-columns: 1fr; gap: 60px; padding: 0 10px; }
        .inquiry-card { padding-left: 25px; }
        .inquiry-title { font-size: 1.4rem; }
        .inquiry-email { font-size: 1.1rem; }
        /*共通　news*/
        .page-title {
        font-size: 1.6rem;
        }
        .news-back {
        text-align: center;
        margin-top: 120px;
        }
        .post-type-archive-news_release .news-section {
        padding: 80px 0 120px;
        }
        .subscribe-form-area .ff-default .ff-el-form-control {
            font-size: 15px;
        }
         .document-title { 
            white-space: normal;
         }
         .news-detail-content a{
            word-break: break-all;
            overflow-wrap: break-word;
        }
         /* =========================================================
        SP（iPhone）専用の調整：表題を死守する
        ========================================================= */
        .pdf-slider-window {
            max-height: 70vh; 
            overflow-y: auto; 
            -webkit-overflow-scrolling: touch;
        }

        .pdf-header {
            padding: 15px 10px;
        }
        .pdf-header h3 {
            font-size: 1.1rem;
            margin-bottom: 5px;
        }
    }

       
