/*
Theme Name: unicsoft_hp_new
Description: 2026/04/15
Author: KA
Version: 3.0.0
*/

@charset "utf-8";

:root {
    --mint: #00ffaa;
    --lemon: #ffff00;
    --candy-orange: #ff9900;
    --electric-blue: #3300ff;
    --berry-pink: #ff0088;
    --font-main: 'M PLUS Rounded 1c', sans-serif;
    --font-pixel: 'DotGothic16', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: auto;
}

.home {
    padding-top: 0 !important;
}

body {
    background-color: #fff;
    color: #000;
    font-family: var(--font-main);
    overflow-x: hidden;
    /* 背景：ドットパターン */
    background-image: radial-gradient(#ddd 2px, transparent 2px);
    background-size: 30px 30px;
}

/* パーティクル・ポインター */
#trail-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* ヒーローエリア */
.hero-header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-sticker {
    background: var(--lemon);
    padding: 20px 40px;
    transform: rotate(-3deg);
    border: 5px solid #000;
    box-shadow: 10px 10px 0 #000;
    margin-bottom: 30px;
}

.hero-header h1 {
    font-size: 5rem;
    font-family: var(--font-pixel);
    line-height: 1;
}

.main-visual {
    font-size: 8rem;
    animation: bounce 0.5s infinite alternate;
}

.sp-br {
    display: none;
}

/* =========================
   HERO スマホ対応
========================= */
@media (max-width: 768px) {

    .hero-header {
        height: auto;
        padding: 80px 20px 60px;
        text-align: center;
    }

    .hero-sticker {
        padding: 15px 20px;
        margin-bottom: 20px;
        transform: rotate(-2deg);
    }

    .hero-header h1 {
        font-size: 2.7rem;
        line-height: 1.3;
        word-break: break-word;
    }

    .main-visual {
        font-size: 4rem;
        margin-bottom: 20px;
    }

    .sp-br {
        display: block;
    }

}

@keyframes bounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-20px);
    }
}

.section-title {
    text-align: center;
    margin: 60px 0 40px;
}

.section-title h1 {
    font-size: 2rem;
    letter-spacing: 0.08em;
    margin: 0;
}

.index-page .section-title h1 {
    font-size: 2.4rem;
}

/* ステッカー風メニュー */
.sticker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 30px 50px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.sticker-grid .push-btn:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 0 #000;
}

.sticker-card {
    padding: 40px;
    border: 4px solid #000;
    box-shadow: 8px 8px 0 #000;
    transition: 0.2s;
    position: relative;
    background: #fff;
}

.sticker-card:nth-child(3n+1) {
    background: var(--mint);
    /*transform: rotate(2deg);*/
}

.sticker-card:nth-child(3n+2) {
    background: var(--candy-orange);
    /*transform: rotate(-1deg);*/
}

.sticker-card:nth-child(3n) {
    background: var(--berry-pink);
    /*transform: rotate(3deg);*/
    color: #fff;
}

.sticker-card:hover {
    transform: scale(1.05) rotate(0deg);
    box-shadow: 15px 15px 0 #000;
}

.sticker-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-family: var(--font-pixel);
}

/* CASE STUDY */
.case-card {
    background: #00c2ff !important;
    color: #000 !important;
}

.case-card .price-tag {
    background: #fff;
    color: #000;
}

.case-card .push-btn {
    background: #fff;
    color: #000;
}

/* 派手なボタン */
.push-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    border-radius: 5px;
    transition: 0.1s;
}

.push-btn:hover {
    transform: scale(1.05) rotate(0deg);
    box-shadow: 15px 15px 0 #000;
}

.push-btn:active {
    transform: translate(4px, 4px);
    box-shadow: none;
}

/* デジタル看板 */
.marquee {
    background: #000;
    color: var(--lemon);
    padding: 15px 0;
    font-family: var(--font-pixel);
    font-size: 1.5rem;
    overflow: hidden;
    white-space: nowrap;
}

.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
}

.marquee-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.marquee-link:hover {
    opacity: 0.85;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

/* お知らせ */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.news-item {
    display: flex;
    gap: 20px;
    align-items: center;

    padding: 15px 20px;
    border: 3px solid #000;
    background: #fff;

    text-decoration: none;
    color: #000;

    box-shadow: 4px 4px 0 #000;
    transition: 0.15s;
}

.news-item:hover {
    transform: translate(3px, 3px);
    box-shadow: none;
}

.news-date {
    font-weight: bold;
    min-width: 110px;
}

.news-title {
    flex: 1;
}

/* =========================
   DELIVERY MODAL
========================= */
.delivery-modal {
    max-width: 820px;
}

.delivery-modal .modal-title {
    text-align: center;
    margin-bottom: 4px;
}

.delivery-modal .modal-lead {
    text-align: center;
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.7;
}

.delivery-point {
    margin-top: 14px;
    padding: 16px;
    border: 3px solid #000;
    border-radius: 18px;
    background: #fff;
    box-shadow: 4px 4px 0 #000;
}

.delivery-modal .delivery-point h3 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.delivery-point p {
    line-height: 1.7;
    margin-bottom: 0;
}

.delivery-list {
    margin: 0;
    padding-left: 1.1em;
    line-height: 1.7;
    font-weight: bold;
}

.delivery-list li+li {
    margin-top: 4px;
}

.delivery-modal .push-btn {
    margin-top: 8px;
}

.delivery-modal .push-btn:hover {
    transform: none;
    box-shadow: 4px 4px 0 #000;
}

.delivery-modal .modal-image {
    max-width: 100%;
    margin: 18px auto 20px;
    box-shadow: 4px 4px 0 #000;
    object-fit: cover;
}

/* フルスクラッチ */
.fullscratch {
    padding: 100px 50px;
    text-align: center;
    background: #eee;
}

.fullscratch-title {
    font-size: 3rem;
    margin-bottom: 30px;
    font-family: var(--font-pixel);
}

.fullscratch-text {
    max-width: 700px;
    margin: 0 auto;
    line-height: 2;
    font-weight: bold;
}

/* フルスクラッチ内ボタンのhover */
.fullscratch .push-btn:hover {
    transform: scale(1.05) rotate(0deg);
    box-shadow: 0px 0px 0 #000;
}

/* footerのお問い合わせリンク */
.contact-link {
    color: inherit;
    text-decoration: none;
    display: inline-block;
}

.contact-link:hover {
    transform: scale(1.2);
}

footer {
    background: var(--electric-blue);
    color: #fff;
    padding: 100px 50px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    padding: 30px 0;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
}

.footer-links a:hover {
    transform: scale(1.05);
}

/* SNSアイコン */
.sns-icon img {
    width: 24px;
    height: 24px;
    transition: 0.2s;
}

.sns-icon:hover img {
    transform: scale(1.2);
}

.sns-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.policy-modal {
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    text-align: left;
}

.policy-modal .modal-title {
    text-align: center;
    margin-bottom: 20px;
}

.policy-modal h3 {
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.policy-modal p,
.policy-modal li {
    line-height: 1.9;
    font-size: 0.95rem;
}

.policy-modal ul {
    padding-left: 1.5em;
}


.price-tag {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 5px 10px;
    font-size: 0.8rem;
    margin-bottom: 10px;
    font-weight: bold;
}

/* 採用情報 */
/* =========================
   RECRUIT
========================= */
.recruit-grid {
    align-items: stretch;
}

.recruit-grid .sticker-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.recruit-main {
    background: var(--lemon) !important;
    color: #000 !important;
}

.recruit-sub {
    background: #fff !important;
    color: #000 !important;
}

.recruit-status {
    background: #fff;
}

.recruit-main h3 {
    margin-top: 0 !important;
    font-size: 2.2rem;
}

.recruit-lead {
    font-weight: 900;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 14px;
}

.recruit-text {
    line-height: 1.9;
    font-weight: bold;
    margin-top: auto;
}

.recruit-closed {
    font-size: 1.15rem;
    font-weight: 900;
}

.recruit-note {
    margin-top: auto;
    font-size: 0.95rem;
    line-height: 1.8;
}

.recruit-btn {
    align-self: flex-start;
    background: #000;
    color: #fff;
}

/* スマホ */
@media (max-width: 768px) {
    .recruit-grid .sticker-card {
        min-height: auto;
    }

    .recruit-main h3 {
        font-size: 1.8rem;
    }

    .recruit-lead,
    .recruit-text,
    .recruit-note {
        font-size: 0.95rem;
    }
}

/* ABOUT専用 */

.about-grid {
    max-width: 1200px;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    padding: 25px 30px;
}


.about-label {
    font-weight: bold;
    font-size: 0.9rem;
}

.about-value {
    font-size: 1.2rem;
}

.about-address {
    grid-column: 1 / -1;
}

.about-business {
    grid-column: 1 / -1;
    align-items: start;
}

.about-list {
    margin: 0;
    padding-left: 18px;
}

.about-list li {
    margin: 4px 0;
}

.no-hover .sticker-card:hover {
    transform: none;
}

.no-hover .sticker-card {
    box-shadow: 8px 8px 0 #000;
}

.no-hover .sticker-card:hover {
    box-shadow: 8px 8px 0 #000;
}

/* =========================
   ACCESS MAP
========================= */
.map-section {
    padding: 20px 50px 80px;
}

.map-card {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border: 4px solid #000;
    box-shadow: 8px 8px 0 #000;
    border-radius: 24px;
}

.map-title {
    font-family: var(--font-pixel);
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
}

.map-text {
    text-align: center;
    font-weight: bold;
    margin-bottom: 25px;
    line-height: 1.8;
}

.map-frame {
    overflow: hidden;
    border: 4px solid #000;
    border-radius: 20px;
    box-shadow: 6px 6px 0 #000;
    background: #fff;
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .map-section {
        padding: 20px 20px 60px;
    }

    .map-card {
        padding: 20px;
    }

    .map-title {
        font-size: 1.5rem;
    }

    .map-frame iframe {
        height: 300px;
    }
}


/* =========================
   ユニコン詳細ページ用
========================= */

.unicon-text {
    line-height: 2;
    font-size: 1rem;
}

/* 最初の一文 */
.unicon-text .highlight {
    font-size: 1.1rem;
    font-weight: bold;
}

/* 強調 */
.unicon-text .strong {
    font-weight: bold;
}

/* アクセント */
.unicon-text .accent {
    font-weight: bold;
    border-bottom: 3px solid #000;
}

/* テーブルをはみ出させない */
.table-wrap {
    overflow-x: auto;
}

/* テーブル本体 */
.pattern-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
    font-size: 14px;
}

/* セル */
.pattern-table th,
.pattern-table td {
    border: 2px solid #000;
    padding: 8px;
    text-align: center;
}

/* ヘッダー */
.pattern-table th {
    background: #f0f0f0;
    font-weight: bold;
}

/* パック名 */
.pattern-table td:first-child {
    font-weight: bold;
    text-align: left;
    background: #fff3a0;
}

/* ===== 表の外枠（しっかり囲む） ===== */
.pattern-table {
    border: 3px solid #000;
}

/* ===== セル罫線を強く ===== */
.pattern-table th,
.pattern-table td {
    border: 2px solid #000;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
    /* ← 縦中央 */
}

/* ===== ヘッダー強調 ===== */
.pattern-table th {
    background: #f0f0f0;
    font-weight: bold;
}

/* ===== ○を完全中央＆見やすく ===== */
.pattern-table td:not(:first-child) {
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    font-size: 1.1rem;
}

/* ステッカーカード内の余白調整 */
.table-card {
    max-width: 1100px;
    margin: 0 auto;
}


/* 行ホバー */
.pattern-table tbody tr:hover {
    background: #f5f5f5;
}

/* なめらかに */
.pattern-table tbody tr {
    transition: background 0.2s;
}

/* 注意書き */
.note {
    margin-top: 15px;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =========================
   DEMO VIDEO
========================= */

/* 動画カード */
.video-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 30px;
}

/* タイトル */
.video-card h3 {
    font-size: 1.4rem;
    line-height: 1.4;
    text-align: center;
    margin: 0;
}

/* 動画枠 */
.video-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 3px solid #000;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    box-shadow: 6px 6px 0 #000;
}

/* WordPressのfigure余白を消す */
.video-box .wp-block-video,
.video-box figure {
    margin: 0;
    width: 100%;
    height: 100%;
}

/* figureの中のvideoをぴったり表示 */
.video-box .wp-block-video video,
.video-box figure video,
.video-box video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #000;
}

/* 将来iframeが残っていても崩れない保険 */
.video-box iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* 動画カードのhover */
.video-card:hover {
    transform: translateY(-5px);
    transition: 0.2s;
}

.coming-soon {
    text-align: center;
    font-family: var(--font-pixel);
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 0.1em;

    margin-top: 20px;
    transform: rotate(-5deg);
}

/* サムネ全体 */
.video-thumb {
    position: relative;
    display: block;
    cursor: pointer;
}

/* 画像 */
.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 再生ボタン（丸＋三角） */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 70px;
    height: 70px;

    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
}

/* 三角 */
.play-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);

    width: 0;
    height: 0;

    border-left: 18px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.video-thumb:hover .play-btn {
    background: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
    transition: 0.2s;
}


/* プランカード */
.plan-card {
    cursor: pointer;
    transition: transform 0.2s;
}

.plan-card:hover {
    transform: translateY(-5px);
}

.plan-card,
.plan-card:visited,
.plan-card:hover,
.plan-card:active {
    color: inherit;
    text-decoration: none;
}

/* 非表示 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.6);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    pointer-events: none;
    transition: 0.3s;

    z-index: 3000;
}

/* モーダル表示 */
.modal:target {
    opacity: 1;
    pointer-events: auto;
}

/* 中身 */
.modal-content {
    position: relative;
    z-index: 3100;
    background: #fff;
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 1000px;

    border: 3px solid #000;
    border-radius: 20px;

    max-height: 90vh;
    overflow-y: auto;
}

body:has(.modal:target) {
    overflow: hidden;
}

/* 閉じるボタン */
.close-btn {
    position: sticky;
    top: 0;

    margin-left: auto;

    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.5rem;
    font-weight: bold;

    text-decoration: none;
    color: #000;

    border: none;

    z-index: 3200;
}

/* ホバー */
.close-btn:hover {
    color: var(--berry-pink);
    transform: scale(1.2);
}

.modal-content {
    line-height: 1.8;
    font-size: 0.95rem;
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.catch {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.modal-content h3 {
    margin-top: 20px;
    font-size: 1.2rem;
}

.modal-content ul {
    padding-left: 20px;
}

.modal-content li {
    margin-bottom: 6px;
}

.modal-image {
    width: 100%;
    height: auto;

    margin: 15px 0;

    border: 2px solid #000;
    border-radius: 10px;
}

/* お知らせ内ボタン用 */
.modal .push-btn:hover {
    transform: scale(1.05) rotate(0deg);
    box-shadow: 0px 0px 0 #000;
}

/* =========================
   動作環境テーブル
========================= */
.spec-table {
    margin-top: 10px;
    border: 2px solid #000;
}

.spec-row {
    display: flex;
    border-bottom: 2px solid #000;
}

.spec-row:last-child {
    border-bottom: none;
}

/* 左ラベル */
.spec-title {
    width: 120px;
    background: #f0f0f0;
    padding: 10px;
    font-weight: bold;
    border-right: 2px solid #000;
}

/* 右内容 */
.spec-content {
    flex: 1;
    padding: 10px;
    line-height: 1.6;
}

/* =========================
   料金テーブル
========================= */
.price-table {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

/* カード */
.price-card {
    flex: 1;
    text-align: center;

    padding: 20px;
    border: 3px solid #000;
    background: #fff;

    box-shadow: 6px 6px 0 #000;
}

/* タイトル */
.price-card h4 {
    margin-bottom: 10px;
    font-size: 1rem;
}

/* メイン価格（ここを大きく） */
.price-main {
    font-size: 2rem;
    font-weight: bold;
    margin: 10px 0;
}

/* 補足 */
.price-sub {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* =========================
  シフコン用テーブル調整 
========================= */

.modal-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
    text-align: center;
}

.modal-lead {
    text-align: center;
    font-weight: 900;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.modal-content h3 {
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.modal-content p {
    line-height: 1.9;
    margin-bottom: 18px;
}

.feature-list {
    padding-left: 1.5em;
    line-height: 1.9;
    margin-bottom: 25px;
}

.modal-image {
    display: block;
    width: 100%;
    max-width: 900px;
    margin: 25px auto;
    border-radius: 16px;
    border: 3px solid #000;
}

.note-text {
    font-size: 0.95rem;
    font-weight: bold;
}

.system-table th {
    width: 220px;
    white-space: nowrap;
    text-align: left;
    background: #ffe680;
}

.system-table td {
    text-align: left;
    line-height: 1.8;
}

/* =======================
   FUNCTION LIST
======================= */

.function-list-section .table-wrap {
    overflow-x: auto;
}

.function-list-section .function-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    border: 3px solid #000;
    font-size: 1rem;
    background: #fff;
    color: #000;
}

.function-list-section .function-table th,
.function-list-section .function-table td {
    border: 2px solid #000;
    padding: 12px 14px;
    text-align: left;
    line-height: 1.7;
    color: #000;
    background: #fff;
}

/* ヘッダー */
.function-list-section .function-table thead th {
    background: #fff3a0;
    font-weight: bold;
    vertical-align: middle;
    text-align: center;
}

/* 1列目 */
.function-list-section .function-table tbody td:first-child {
    font-weight: bold;
    vertical-align: middle;
    white-space: nowrap;
    width: 70px;
}

/* 2列目 */
.function-list-section .function-table tbody td:nth-child(2) {
    width: auto;
}

/* 3列目 */
.function-list-section .function-table tbody td:nth-child(3) {
    width: auto;
}

/* 注記 */
.function-list-section .note {
    margin-top: 14px;
}

.function-list-section .note p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #000;
}

/* ================
   フリートライアル
================ */
#trialModal .trial-btn-wrap {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

#trialModal .push-btn {
    display: inline-block;
}

#trialModal .push-btn:hover {
    transform: none !important;
    box-shadow: 4px 4px 0 #000 !important;
}

/* =========================
   共通ヘッダー
========================= */
.global-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 8px 20px;
    height: 60px;

    background: var(--lemon);
    border-bottom: 3px solid #000;
    box-shadow: 0 2px 0 #000;

    z-index: 2000;
}

/* ロゴ */
.logo {
    font-family: var(--font-pixel);
    font-size: 1.2rem;
    text-decoration: none;
    color: #000;

    padding: 5px 10px;
    border: 3px solid #000;
    background: #fff;

    box-shadow: 3px 3px 0 #000;
    transition: 0.15s;
}

/* ナビ */
.nav a {
    margin-left: 15px;
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: bold;
    color: #000;

    padding: 5px 10px;
    border: 2px solid #000;
    background: #fff;

    box-shadow: 2px 2px 0 #000;
    transition: 0.15s;
}

/* 固定ヘッダー分の余白 */
.has-global-header {
    padding-top: 60px;
}

/* ホバー */
.nav a:hover {
    transform: translate(2px, 2px);
    box-shadow: none;
}

.logo:hover {
    transform: translate(2px, 2px);
    box-shadow: none;
}

/* =========================
   MODAL スマホ対応
========================= */
@media (max-width: 768px) {
    .modal {
        padding: 12px;
        align-items: flex-start;
    }

    .modal-content {
        width: 100%;
        max-width: none;
        margin: 12px auto;
        padding: 18px 16px 20px;
        max-height: calc(100vh - 24px);
        border-radius: 16px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .close-btn {
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
    }

    .modal-title {
        font-size: 1.5rem;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .modal-lead,
    .catch {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 18px;
    }

    .modal-content h3 {
        font-size: 1.1rem;
        margin-top: 22px;
        margin-bottom: 10px;
    }

    .modal-content p,
    .modal-content li {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 14px;
    }

    .news-date {
        min-width: auto;
    }

    .delivery-point {
        padding: 14px;
        border-radius: 14px;
    }

    .delivery-modal .modal-image,
    .modal-image {
        margin: 16px 0;
        border-radius: 12px;
    }
}

/* =========================
   ABOUT スマホ対応
========================= */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 16px 40px;
    }

    .about-item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 20px 18px;
        align-items: start;
    }

    .about-label {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .about-value {
        font-size: 1rem;
        line-height: 1.8;
        word-break: break-word;
    }

    .about-address,
    .about-business {
        grid-column: auto;
    }

    .about-list {
        padding-left: 1.2em;
    }

    .about-list li {
        line-height: 1.8;
        margin: 6px 0;
    }
}

/* =========================
   HEADER スマホ対応
========================= */
@media (max-width: 768px) {

    .global-header {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 12px;
        height: auto;
        gap: 10px;
    }

    .logo {
        font-size: 1rem;
        text-align: center;
        width: 100%;
    }

    .nav {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .nav a {
        margin: 0;
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    /* ヘッダー分の余白も調整 */
    .has-global-header {
        padding-top: 100px;
    }
}

/* =========================
   FOOTER スマホ対応
========================= */
@media (max-width: 768px) {

    footer {
        padding: 60px 20px;
        text-align: center;
    }

    footer h2 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    footer p {
        font-size: 0.9rem;
        line-height: 1.8;
        word-break: break-word;
    }

    /* リンク全体 */
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 20px 0;
    }

    /* テキストリンク */
    .footer-links a:not(.sns-icon) {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 0.85rem;
    }

    /* SNSグループ */
    .sns-group {
        display: flex;
        justify-content: center;
        gap: 14px;
        margin-top: 8px;
    }

    /* SNSアイコン */
    .sns-icon img {
        width: 30px;
        height: 30px;
    }
}

/* =========================
   組み合わせ表の影響を閉じ込める
========================= */
@media (max-width: 768px) {

    /* 表カードが広がらないようにする */
    .table-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow: hidden;
    }

    /* 横スクロールをここに閉じ込める */
    .table-wrap {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    /* 表だけ横に広くする（外には影響させない） */
    .pattern-table {
        width: max-content;
        min-width: 780px;
    }

    /* モーダルが広がらないようにする */
    .modal-content {
        max-width: calc(100vw - 20px);
        overflow-x: hidden;
    }

    /* ヘッダーが広がらないようにする */
    .global-header {
        max-width: 100vw;
        overflow-x: hidden;
    }
}

/* =========================
   シフコン FUNCTION LIST 
========================= */
@media (max-width: 768px) {
    .function-list-section .table-wrap {
        overflow-x: visible;
    }

    .function-list-section .function-table {
        width: 100%;
        min-width: 0;
        table-layout: fixed;
        font-size: 0.62rem;
        background: #fff;
    }

    .function-list-section .function-table th,
    .function-list-section .function-table td {
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: anywhere;
        line-height: 1.45;
        padding: 8px 5px;
        vertical-align: middle;
    }

    /* 1列目も折り返し */
    .function-list-section .function-table td:first-child {
        white-space: normal !important;
        word-break: break-word;
        overflow-wrap: anywhere;
        text-align: center;
    }

    .function-list-section .function-table thead th {
        text-align: center;
        font-size: 0.62rem;
        padding: 10px 4px;
    }

    .function-list-section .function-table tbody td:first-child {
        width: 17%;
        font-size: 0.62rem;
        font-weight: bold;
        text-align: center;
    }

    .function-list-section .function-table tbody td:nth-child(2) {
        width: 26%;
        font-size: 0.62rem;
        text-align: center;
    }

    .function-list-section .function-table tbody td:nth-child(3) {
        width: 57%;
        font-size: 0.62rem;
        text-align: left;
    }
}

/* =========================
   UNICON / SHIFCON モーダル スマホ対応
========================= */
@media (max-width: 768px) {

    .modal {
        padding: 10px;
        align-items: flex-start;
    }

    .modal-content {
        width: 100%;
        max-width: calc(100vw - 20px);
        margin: 0 auto;
        padding: 16px 14px 20px;
        max-height: calc(100vh - 20px);
        overflow-y: auto;
        overflow-x: hidden;
        border-radius: 16px;
        -webkit-overflow-scrolling: touch;
    }

    .close-btn {
        position: sticky;
        top: 0;
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
        margin-left: auto;
        background: #fff;
        border-radius: 999px;
    }

    .modal-title {
        font-size: 1.4rem;
        line-height: 1.4;
        margin: 8px 0 10px;
        text-align: center;
    }

    .modal-lead,
    .catch {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 14px;
    }

    .modal-content h3 {
        font-size: 1.1rem;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .modal-content p,
    .modal-content li {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .modal-content ul,
    .feature-list {
        padding-left: 1.2em;
    }

    .modal-content img,
    .modal-image {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 14px auto 18px;
        border-radius: 12px;
    }

    .price-table {
        flex-direction: column;
        gap: 14px;
    }

    .price-card {
        width: 100%;
        padding: 16px;
    }

    .price-main {
        font-size: 1.6rem;
    }

    .spec-row {
        flex-direction: column;
    }

    .spec-title {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid #000;
    }

    .spec-content {
        width: 100%;
    }

    .system-table {
        min-width: 640px;
    }
}

/* =========================
   CONTACT FORM
========================= */
div.wpcf7 {
    max-width: 1100px;
    margin: 40px auto 80px;
    padding: 30px;
    background: #fff;
    border: 4px solid #000;
    box-shadow: 8px 8px 0 #000;
    border-radius: 24px;
}

.wpcf7 p {
    margin-bottom: 18px;
    font-weight: bold;
    line-height: 1.8;
}

.wpcf7 label {
    display: block;
    font-weight: 900;
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 6px;
}

.wpcf7 label>span.input_example {
    color: #666;
    font-size: 0.85em;
    font-weight: bold;
    margin-left: 10px;
}

.wpcf7 label>span.required {
    color: #ff0000;
    font-size: 0.85em;
    margin-left: 4px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: var(--font-main);
    color: #000;
    background: #fff;
    border: 3px solid #000;
    border-radius: 12px;
    box-shadow: 4px 4px 0 #000;
    outline: none;
}

.wpcf7 textarea {
    min-height: 220px;
    resize: vertical;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    background: #fffef2;
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #000;
}

.wpcf7 input[type="checkbox"] {
    transform: scale(1.4);
    margin-right: 8px;
    accent-color: #3300ff;
}

.wpcf7 .wpcf7-list-item {
    margin: 0;
}

.wpcf7 .wpcf7-list-item-label {
    font-weight: bold;
    color: #000;
}

.wpcf7-form-control-wrap {
    display: block;
    margin-top: 8px;
}

.wpcf7-form-control.wpcf7cp-cfm-edit-btn,
.wpcf7-form-control.wpcf7-submit.wpcf7cp-cfm-submit-btn,
.wpcf7-form-control.has-spinner.wpcf7-submit {
    display: inline-block;
    margin-top: 16px;
    margin-right: 10px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 900;
    font-family: var(--font-main);
    color: #000;
    border: 3px solid #000;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 4px 4px 0 #000;
    transition: 0.15s;
}

.wpcf7-form-control.wpcf7cp-cfm-edit-btn {
    background: #ffcccc;
}

.wpcf7-form-control.wpcf7-submit.wpcf7cp-cfm-submit-btn,
.wpcf7-form-control.has-spinner.wpcf7-submit {
    background: var(--lemon);
}


.wpcf7-spinner {
    vertical-align: middle;
}

/* 説明文 */
.contact-form-lead {
    max-width: 1100px;
    margin: 0 auto 20px;
    font-weight: 900;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* チェックボックス全体 */
.wpcf7 .wpcf7-acceptance {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* 確認ボタンのズレ防止 */
.contact-submit {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 20px 0 0;
}

.contact-submit .wpcf7-submit,
.contact-submit input[type="submit"] {
    display: inline-block;
    margin: 0 !important;
    margin-right: 0 !important;
    float: none !important;
}

.contact-submit .wpcf7-spinner {
    margin: 0 0 0 8px !important;
}

/* スマホ */
@media (max-width: 768px) {
    div.wpcf7 {
        margin: 20px 16px 60px;
        padding: 20px 16px;
        border-radius: 18px;
        box-shadow: 6px 6px 0 #000;
    }

    .wpcf7 p {
        margin-bottom: 14px;
    }

    .wpcf7 label {
        font-size: 1rem;
        line-height: 1.6;
    }

    .wpcf7 label>span.input_example {
        display: inline-block;
        margin-left: 8px;
        font-size: 0.8em;
    }

    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 textarea {
        padding: 12px 14px;
        font-size: 0.95rem;
        box-shadow: 3px 3px 0 #000;
    }

    .wpcf7 textarea {
        min-height: 180px;
    }

    .wpcf7-form-control.wpcf7cp-cfm-edit-btn,
    .wpcf7-form-control.wpcf7-submit.wpcf7cp-cfm-submit-btn,
    .wpcf7-form-control.has-spinner.wpcf7-submit {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
        text-align: center;
    }

    .contact-form-lead {
        margin: 0 16px 16px;
        font-size: 1rem;
    }
}

.contact-lead {
    text-align: center;
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* デフォルト：無効 */
input.wpcf7-form-control.wpcf7-submit:disabled {
    background-color: #ccc;
    color: #888;
    pointer-events: none;
    cursor: not-allowed;
    box-shadow: 4px 4px 0 #999;
    transform: none;
    opacity: 1;
}

/* チェックされたら有効 */
input.wpcf7-form-control.wpcf7-submit:enabled {
    background-color: var(--lemon);
    color: #000;
    pointer-events: auto;
    cursor: pointer;
    box-shadow: 4px 4px 0 #000;
}

/* ホバー時（有効時のみ） */
input.wpcf7-form-control.wpcf7-submit:enabled:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #000;
}

/* 確認画面全体のコンテナ */
#wpcf7cpcnf table {
    width: 100%;
    max-width: 900px;
    /* 入力画面のコンテンツ幅に合わせて調整してください */
    border-collapse: separate;
    border-spacing: 0 15px;
    margin: 0 auto;
    /* 中央に寄せる場合 */
}

/* ラベル部分 */
#wpcf7cpcnf th {
    display: block;
    text-align: left;
    padding: 0 0 5px 5px;
    font-size: 14px;
    /* 入力画面のサイズ感に合わせる */
}

/* 入力内容の部分（枠線） */
#wpcf7cpcnf td {
    display: block;
    width: 100%;
    /* テーブルセルとしての広がりをリセット */
    max-width: 100%;
    box-sizing: border-box;
    /* 枠線を含めた幅計算 */
    border: 2px solid #000;
    border-radius: 12px;
    padding: 10px 20px;
    background-color: #f0f5ff;
    /* image_73279fに合わせた薄い青色。白なら #fff */
    box-shadow: 4px 4px 0 #000;
}

/* テーブル内のpタグの余白をリセット（隙間が開きすぎるのを防ぐ） */
#wpcf7cpcnf td p,
#wpcf7cpcnf th p {
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

/* メッセージ本文が入るtd（最後の行、または特定の番号）を指定 */
#wpcf7cpcnf tr:last-child td {
    max-height: 250px;
    /* 枠の最大高さを指定（入力画面の印象に合わせる） */
    overflow-y: auto;
    /* 縦方向に中身が溢れたらスクロールバーを表示 */
    white-space: pre-wrap;
    /* 改行をそのまま反映させる */
    word-break: break-all;
    /* 長い英単語などでの突き抜け防止 */
}

/* ボタンエリアの調整（修正と送信の並び） */
.wpcf7cp-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* 送信成功時、入力フォームを消す */
.wpcf7 form.sent p,
.wpcf7 form.sent table {
    display: none;
}

/* 送信成功 */
.wpcf7 form.sent div.wpcf7-response-output {
    background: #d5edda;
    color: #185626;
    padding: 10px
}

/* 送信NG、送信失敗 */
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    background: #f7d7da;
    color: #711d26;
    padding: 10px
}

/* スパムなどで送信ブロックされた場合 */
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background: #fff2cf;
    padding: 10px
}

/* =========================
   INTERVIEW PAGE
========================= */

.interview-hero {
    padding: 100px 20px 60px;
    height: auto;
    text-align: center;
}

.interview-lead {
    margin-top: 14px;

    font-size: 1.2rem;
    font-weight: 900;

    line-height: 1.8;
}

/* =========================
   INTERVIEW CONTAINER
========================= */

.interview-container {
    max-width: 1000px;
    width: 100%;

    margin: 0 auto;

    padding: 20px 20px 80px;
}

/* =========================
   INTERVIEW LIST
========================= */

.interview-list {
    display: flex;
    flex-direction: column;
    gap: 30px;

    max-width: 1200px;
    margin: 0 auto;

    padding: 30px 50px 80px;
}

/* カードリンク化 */
.interview-card {
    display: block;

    width: 100%;

    text-decoration: none;
    color: inherit;
}

/* hover */
.interview-card:hover {
    transform: scale(1.02) rotate(0deg);
}

/* hover時のボタン固定 */
.interview-card .push-btn:hover {
    transform: none;
    box-shadow: 4px 4px 0 #000;
}

/* active時も固定 */
.interview-card .push-btn:active {
    transform: none;
    box-shadow: 4px 4px 0 #000;
}

/* =========================
   INFO CARD
========================= */

.info-card {
    width: 100%;

    background: #fff;

    border: 4px solid #000;

    box-shadow: 8px 8px 0 #000;

    padding: 30px;

    margin-bottom: 60px;
}

.company-name {
    display: inline-block;

    margin-bottom: 20px;

    font-size: 2rem;
    font-family: var(--font-pixel);

    border-bottom: 4px double #000;
}

/* =========================
   SYSTEM IMAGE
========================= */

.system-photo {
    width: 100%;

    display: block;

    margin-bottom: 30px;

    border: 4px solid #000;

    box-shadow: 8px 8px 0 #000;

    transition: 0.2s;
}

.system-photo:hover {
    transform: scale(1.02);
}

/* =========================
   COMPANY INFO GRID
========================= */

.company-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.company-info-item {
    background: #f7f7f7;

    border: 3px solid #000;

    border-radius: 18px;

    padding: 24px;
}

.company-info-title {
    display: block;

    margin-bottom: 10px;

    font-size: 1.2rem;
    font-weight: 900;
}

/* =========================
   OFFICE INFO
========================= */

.company-office {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.office-block {
    background: #fff;

    border: 3px solid #000;

    border-radius: 16px;

    padding: 20px;

    box-shadow: 4px 4px 0 #000;
}

.office-block h4 {
    display: inline-block;

    margin-bottom: 12px;
    padding: 4px 12px;

    background: var(--lemon);

    border: 2px solid #000;

    font-size: 1rem;
}

.office-block p {
    margin-bottom: 14px;

    line-height: 1.9;
}

.office-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.office-contact span {
    display: inline-block;

    padding: 6px 12px;

    background: #f3f3f3;

    border: 2px solid #000;
    border-radius: 999px;

    font-size: 0.9rem;
    font-weight: bold;
}

/* =========================
   INTRO SYSTEM
========================= */

.intro-system-card {
    margin-top: 14px;

    background: #fff8c4;

    color: #000;

    border: 3px solid #000;
    border-radius: 20px;

    padding: 24px;

    box-shadow: 6px 6px 0 #000;
}

.intro-system-tag {
    display: inline-block;

    margin-bottom: 16px;
    padding: 6px 14px;

    background: #000;
    color: #fff;

    border-radius: 999px;

    font-size: 0.9rem;
    font-weight: 900;
}

.intro-system-text {
    margin-bottom: 20px;

    font-size: 1.2rem;
    font-weight: 900;

    line-height: 1.8;
}

.intro-system-list {
    display: grid;
    gap: 10px;

    padding-left: 0;

    list-style: none;
}

.intro-system-list li {
    background: #fff;

    border: 2px solid #000;

    border-radius: 12px;

    padding: 12px 14px;

    line-height: 1.7;
    font-weight: bold;
}

/* =========================
   QA SECTION
========================= */

.qa-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.qa-item {
    background: #fff;

    border: 4px solid #000;

    box-shadow: 8px 8px 0 #000;

    overflow: hidden;
}

.qa-item:nth-child(odd) {
    transform: rotate(-0.5deg);
}

.qa-item:nth-child(even) {
    transform: rotate(0.5deg);
}

.question {
    background: var(--candy-orange);

    padding: 20px;

    border-bottom: 4px solid #000;

    font-family: var(--font-pixel);

    font-size: 1.3rem;

    line-height: 1.7;
}

.question::before {
    content: "Q. ";

    color: #fff;

    -webkit-text-stroke: 1px #000;
}

.answer {
    padding: 30px;

    line-height: 2;

    font-weight: bold;
}

.answer::before {
    content: "A.";

    display: block;

    margin-bottom: 10px;

    font-size: 2rem;

    font-family: var(--font-pixel);

    color: var(--berry-pink);
}

/* =========================
   HIGHLIGHT
========================= */

.highlight-box {
    margin-top: 20px;

    padding: 18px;

    background: var(--lemon);

    border: 3px dashed #000;
}

/* =========================
   BUTTON
========================= */

.interview-btn-wrap {
    text-align: center;

    margin-top: 60px;
}

.back-btn {
    display: inline-block;

    padding: 16px 34px;

    background: var(--berry-pink);
    color: #fff;

    text-decoration: none;

    font-weight: 900;

    border: 4px solid #000;

    box-shadow: 6px 6px 0 #000;

    transition: 0.15s;
}

.back-btn:hover {
    transform: translate(2px, 2px);

    box-shadow: 3px 3px 0 #000;
}

/* =========================
   SMARTPHONE
========================= */

@media (max-width: 768px) {

    .interview-hero {
        padding: 60px 16px 40px;
    }

    .interview-lead {
        font-size: 1rem;
        line-height: 1.7;
    }

    .interview-container {
        padding: 20px 16px 60px;
    }

    .interview-list {
        padding: 20px 16px 60px;
    }

    .info-card {
        padding: 20px;
    }

    .company-name {
        font-size: 1.4rem;
        line-height: 1.5;
    }

    .company-info-item {
        padding: 18px;
    }

    .office-contact {
        flex-direction: column;
    }

    .intro-system-card {
        padding: 18px;
    }

    .intro-system-text {
        font-size: 1rem;
    }

    .question {
        padding: 16px;

        font-size: 1rem;

        line-height: 1.6;
    }

    .answer {
        padding: 20px;

        font-size: 0.95rem;

        line-height: 1.9;
    }

    .qa-item:nth-child(odd),
    .qa-item:nth-child(even) {
        transform: none;
    }

    .back-btn {
        width: 100%;

        text-align: center;
    }
}

/* =========================
   COMPANY ICON ANIMATION
========================= */

.company-icon-anim {
    position: relative;

    width: 120px;
    height: 120px;

    margin: 0 auto 20px;
}

.company-icon-anim .frame {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: contain;

    opacity: 0;
}

.frame1 {
    animation: frame1 1.0s infinite;
}

.frame2 {
    animation: frame2 1.0s infinite;
}

.frame3 {
    animation: frame3 1.0s infinite;
}

.frame4 {
    animation: frame4 1.0s infinite;
}

.frame5 {
    animation: frame5 1.0s infinite;
}

@keyframes frame1 {

    0%,
    19% {
        opacity: 1;
    }

    20%,
    100% {
        opacity: 0;
    }
}

@keyframes frame2 {

    0%,
    19% {
        opacity: 0;
    }

    20%,
    39% {
        opacity: 1;
    }

    40%,
    100% {
        opacity: 0;
    }
}

@keyframes frame3 {

    0%,
    39% {
        opacity: 0;
    }

    40%,
    59% {
        opacity: 1;
    }

    60%,
    100% {
        opacity: 0;
    }
}

@keyframes frame4 {

    0%,
    59% {
        opacity: 0;
    }

    60%,
    79% {
        opacity: 1;
    }

    80%,
    100% {
        opacity: 0;
    }
}

@keyframes frame5 {

    0%,
    79% {
        opacity: 0;
    }

    80%,
    100% {
        opacity: 1;
    }
}