/* 基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #1a1a1a;
    color: white;
    font-family: Arial, sans-serif;
}

/* ロゴ＋メニュー */
.header-wrapper {
    background-image: url('../images/EQ007.JPG');
    background-size: cover;
    background-position: center;
    position: relative;
}

/* 半透明帯 */
.top-bar {
    background: rgba(0, 0, 0, 0.5);
    height: 80px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    position: relative;
    z-index: 1000;
}


.top-bar.scrolled {
    background: rgba(0,0,0,1) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background 0.25s ease;
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    padding-top: 20px;
}

.top-logo img {
    height: 130px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(0,0,0,0.9));
    position: relative;
    top: 0px;
}

.top-menu ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

.top-menu ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

.top-menu ul li a {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    text-shadow: 0 0 6px rgba(0,0,0,0.9);
    line-height: 35px; 
    position: relative;
    overflow: hidden;
}

.top-menu ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.9);

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease-out;
}

.top-menu ul li a:hover::after {
    transform: scaleX(1);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: #ffffff;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* 背景写真 */
.hero {
    padding: 40px 0 80px;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;

    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-block img {
    width: 500px;
    height: auto;
    border-radius: 6px;

    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
    border-radius: 8px;
}

.hero-left, .hero-right {
    width: 45%;
}

.hero-left h2,
.hero-right h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.hero-box {
    width: 100%;
    height: 250px;
    border-radius: 6px;
}

.hero-box-left {
    background: blue;
}

.hero-box-right {
    background: red;
}

.hero-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;

    color: #fff;
    text-shadow: 0 0 6px rgba(0,0,0,0.8);

    font-family: Arial, sans-serif;
}

.hero-desc {
    margin-top: 12px;
    font-size: 1.0rem;
    color: #fff;

    text-shadow: 0 0 5px rgba(0,0,0,0.8);

    font-family: "sicgothicduex-hdl-e", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.hero-image-wrapper {
    position: relative;
    display: block;
}

.hero-image-wrapper img {
    display: block;
    width: 520px;
    height: auto;

    border-radius: 0;
    box-shadow: none;

    transition: transform 0.25s ease, filter 0.25s ease;
}

.hero-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 18px;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.9),
        rgba(0,0,0,0.0)
    );
    color: #fff;
    font-family: "sicgothicduex-hdl-e", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    text-shadow: 0 0 5px rgba(0,0,0,0.9);
}

.hero-link {
    display: inline-block;
    position: relative;

    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);

    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.hero-link:hover .hero-image-wrapper img {
    transform: scale(1.03);
    filter: brightness(1.08);
}

.hero-link:hover .hero-caption {
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.95),
        rgba(0,0,0,0.18)
    );
}

/* 下エリア  */
.main-area {
    background: #393939;
    padding: 40px 20px;
    min-height: 400px;
}

.main-area-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* フッター */
.site-footer {
    background: #393939;
    color: #fff;
    margin-top: 0;
}

.footer-bar {
    background: #2fb8aa;
}

.footer-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4px 20px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 問い合わせ */
.footer-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 4px 14px;
    background: #2fb8aa;
    border-radius: 999px;
    border: 2px solid #e0ffff;

    font-size: 0.8rem;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
    white-space: nowrap;
}

.footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #fff;
    font-size: 0.8rem;
    line-height: 1;
}

/* ロゴ */

.footer-logo-area {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.footer-logo-img {
    height: 60px;  /* ロゴサイズ!!!!!! */
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-nav {
    background: #f9ffff;
    border-bottom: 1px solid #ddd;
}

.footer-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4px 20px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0;
    font-size: 0.8rem;
}

.footer-nav a {
    color: #222;
    text-decoration: none;
}

.footer-nav a:hover {
    text-decoration: underline;
}

/* --- CP --- */
.footer-bottom {
    padding: 10px 0 18px;
}

.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.9rem;
    color: #f5f5f5;
}

@media (min-width: 769px) {

    .footer-contact-wrapper {
        max-width: 1200px;
        margin: 0 auto;
        position: relative;
        height: 0;
    }

    .footer-contact {
        position: absolute;
        right: 20px;
        top: -40px;
    }

    .top-bar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 2000;
    }

    .header-wrapper {
        padding-top: 80px;
    }
}

@media (max-width: 768px) {


    .footer-contact-wrapper {
        padding: 12px 20px 4px;
        text-align: center;
        background: #393939;
    }

    .footer-contact {
        margin: 0 auto;
    }

    .footer-bar-inner {
        justify-content: center;
        height: 40px;
    }

    .footer-nav-inner {
        text-align: center;
    }

    .footer-nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-bottom-inner {
        text-align: center;
    }
}


@media (max-width: 768px) {

    .hamburger {
        display: block;
    }

    .top-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);

        opacity: 0;
        transform: translateY(10px);
        pointer-events: none;

        z-index: 900;
    }

    .top-menu.is-open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;

        transition: opacity 0.25s ease, transform 0.25s ease;
    }

  
    .top-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 25px 20px;
    }
  
    .top-menu ul li a {
        display: block;
        padding: 16px 0;
        line-height: 1.8;
        font-size: 1.3rem;
        font-weight: bold;
  
        color: #fff;
        text-shadow: 0 0 6px rgba(0,0,0,0.9);
    }
    .hero-inner {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
  
    .hero-left,
    .hero-right {
        width: 100%;
        text-align: center;
    }
  
    .hero-image-wrapper img {
        width: 100%;
        max-width: 360px;
        height: auto;
    }
}

/* お知らせ  */
.news-section {
    margin-top: 20px;
}

.news-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 0 6px rgba(0,0,0,0.8);
    border-left: 5px solid #2fb8aa;
    padding-left: 12px;
}

.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.news-item a {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 12px 16px;
    background: #303030;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: background 0.25s ease, transform 0.25s ease;
}

.news-item a:hover {
    background: #383838;
    transform: translateY(-2px);
}

.news-date {
    font-size: 0.9rem;
    color: #b0e7e0;
    min-width: 90px;
}

.news-text {
    font-size: 1rem;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .news-item a {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .news-date {
        min-width: auto;
    }
}

.header-wrapper.no-hero {
    background: none !important;
}

.header-wrapper.no-bg {
    background-image: none;
    background-color: #1a1a1a;
}

/* Mojist Software  */
.mojist-section {
    color: #fff;
    margin-top: 20px;
}

.mojist-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 16px;
}

.mojist-logo-block {
    flex: 1 1 auto;
}

.mojist-logo {
    display: block;
    width: clamp(420px, 45vw, 640px);
    max-width: 100%;
    height: auto;
    margin-bottom: -24px;
}

.mojist-tagline {
    margin-top: 0;
    font-size: clamp(1.2rem, 1.6vw, 1.8rem);
    letter-spacing: 0.02em;
    text-align: center;

    font-family: "sicgothicduex-hdl-e", sans-serif;
    font-weight: 400;
    font-style: normal;

    color: #fff;
    text-shadow: 0 0 4px rgba(0,0,0,0.6);
}

.mojist-thumb {
    flex: 0 1 480px;
    margin-left: 40px;
}

.mojist-thumb img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 24px rgba(0,0,0,0.6);
    border-radius: 4px;
}

.mojist-divider {
    border-bottom: 2px solid #cfcfcf;
    margin: 8px 0 16px;
}

.mojist-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-top: 0;
}

.mojist-mainshot {
    flex: 0 0 55%;
    max-width: 760px;
    margin: 0;
}

.mojist-mainshot img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 14px 32px rgba(0,0,0,0.7);
    border-radius: 4px;
}

.mojist-feature {
    flex: 1 1 45%;
    font-family: "fot-udkakugoc80-pro", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.mojist-feature-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.mojist-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    font-size: 0.95rem;
}

.mojist-feature-list li + li {
    margin-top: 10px;
}

.mojist-feature-head {
    font-weight: 700;
}

.mojist-feature-body {
    font-weight: 400;
}

/* レスポンポンポンシブ  */
@media (max-width: 1024px) {
    .mojist-thumb {
        flex-basis: 380px;
        margin-left: 24px;
    }

    .mojist-top-row {
        gap: 24px;
    }
}

@media (max-width: 768px) {

    .mojist-top-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
    }

    .mojist-logo-block {
        text-align: center;
        width: 100%;
    }

    .mojist-logo {
        margin: 0 auto -12px;
        width: min(70vw, 520px);
    }

    .mojist-tagline {
        text-align: center;
        font-size: 1.6rem;
    }

    .mojist-thumb {
        margin: 0 auto;
        width: 100%;
        max-width: 480px;
    }

    .mojist-thumb img {
        width: 100%;
        height: auto;
    }

    .mojist-divider {
        margin: 8px 0 16px;
    }

    .mojist-bottom-row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-top: 0;
    }

    .mojist-mainshot,
    .mojist-feature {
        width: 100%;
        max-width: 900px;
    }

    .mojist-feature {
        text-align: left;
        padding: 0 16px;
    }
}


/* Mojist更新情報 */

.mojist-update-section {
    margin-top: 48px;
}

.mojist-update-box {
    background: #1f1f1f;
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
    max-width: 960px;
    margin: 0 auto;
    overflow: hidden;
}

.mojist-update-title {
    margin: 0;
    padding: 12px 24px;
    background: #2f6cff;
    font-size: 1.3rem;
    font-family: "sicgothicduex-hdl-e", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.mojist-update-body {
    padding: 24px 32px 28px;
    font-family: "fot-udkakugoc80-pro", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.7;
}

.mojist-update-heading {
    font-family: "fot-rodin-pron", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.mojist-update-text {
    font-family: "fot-rodin-pron", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.mojist-download {
    max-width: 960px;
    margin: 32px auto 64px;
}

.mojist-download-label {
    font-family: "sicgothicduex-hdl-e", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.mojist-download-button {
    display: block;
    width: 100%;
    padding: 16px 24px;
    border-radius: 999px;
    background: #2f6cff;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 1.15rem;
    font-family: "sicgothicduex-hdl-e", sans-serif;
    font-weight: 400;
    font-style: normal;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mojist-download-button:hover {
    background: #3a7aff;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    .mojist-update-body {
        padding: 18px 16px 22px;
    }

    .mojist-download {
        margin-top: 24px;
    }
}

/* Mojist利用規約 */
.terms-section {
    max-width: 1100px;
    margin: 40px auto 60px;
    padding: 32px 32px 40px;
    background: #f5f5f5;
    color: #111;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

.terms-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 20px;
}

.terms-block {
    border-top: 4px solid #d0d0d0;
    padding-top: 10px;
    margin-top: 16px;
}

.terms-block + .terms-block {
    margin-top: 32px;
}

.terms-heading {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 14px;
}

.terms-block p {
    font-size: 0.98rem;
    line-height: 1.8;
    margin: 0 0 16px;
}

.terms-list {
    margin: 0 0 16px 1.5em;
    padding: 0;
    list-style: disc;
    font-size: 0.98rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .terms-section {
        margin: 24px 12px 40px;
        padding: 20px 18px 28px;
    }

    .terms-title {
        font-size: 2.1rem;
    }

    .terms-block p,
    .terms-list {
        font-size: 0.95rem;
    }
}

.mojist-info-wrap {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1100px;
    margin: 40px auto 80px;
    padding: 0 12px;
    flex-wrap: wrap;
  }

  .mojist-info-left,
  .mojist-info-right {
    flex: 1;
    min-width: 300px;
  }

  .mojist-info-title {
    font-family: "sicgothicduex-hdl-e", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: #fff;
  }

  .mojist-info-box {
    background: #0f0f2f;
    color: #fff;
    padding: 20px 24px;
    border-radius: 8px;
    line-height: 1.7;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  }

  .mojist-info-heading {
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 6px;
    font-size: 1rem;
  }

  .mojist-download-card {
    background: #1a1a1a;
    color: #fff;
    padding: 24px 32px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  }

  .mojist-dl-version {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #4ab6ff;
    text-decoration: underline;
  }

  .mojist-dl-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 22px;
  }

  .mojist-dl-button {
    display: inline-block;
    padding: 12px 40px;
    background: #2196f3;
    color: #fff;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
  }
  
  .mojist-dl-button:hover {
    background: #0d7ad1;
    transform: translateY(-2px);
  }
  
  @media (max-width: 850px) {
    .mojist-info-wrap {
      flex-direction: column;
      gap: 30px;
    }
  
    .mojist-dl-version {
      font-size: 1.7rem;
    }
  }
  