@charset "UTF-8";
/*
 * サイト全体の見た目（2026-11-05 のデザイン一新。元はモック mediatech_hp/mock/site.css）
 * 親テーマ Cocoon の CSS のあとに読み込む。Cocoon のクラス名とぶつからないよう、このデザインのクラスはすべて mt- で始める
 * Cocoon の外枠（#container・#content・#main・#footer など）は、body.mt-site のときだけ打ち消す
 */

/* ===== 色・文字・幅の決まり ===== */
:root {
  --mt-navy: #173f6b;
  --mt-blue: #1f6db0;
  --mt-blue-dark: #0f4f86;   /* リンクを指したときの色（青を濃くしたもの。全体でこの色にそろえる） */
  --mt-sky: #5fa8e6;
  --mt-accent: #22c3d6;      /* 差し色（青緑） */
  --mt-ink: #092742;         /* 文字色（見出し・本文） */
  --mt-muted: #4c5f72;       /* 補足の文 */
  --mt-line: #e3e9f0;
  --mt-pale: #eef5fc;
  --mt-grad: linear-gradient(100deg, #1f6db0 0%, #3f8fd8 45%, #22c3d6 100%);
  --mt-bg-blue1: #f1f7fc;
  --mt-bg-gray1: #f4f6f8;
  --mt-bg-blue2: #ecf4fa;
  --mt-bg-gray2: #f6f7f9;
  --mt-bg-blue3: #e9f2f8;
  --mt-en-mark: rgba(9, 39, 66, .09);
  --mt-font: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  --mt-font-latin: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mt-gutter: clamp(24px, 4.5vw, 96px); /* 左右の余白。PC とタブレットは全幅で、画面の幅に合わせて余白だけ広げる（2026-11-05 ユーザー指示） */
}

/* ===== Cocoon の外枠を打ち消す ===== */
body.mt-site { margin: 0; padding: 0 !important; font-family: var(--mt-font); font-size: 16px; color: var(--mt-ink); background: #fff; line-height: 1.9; letter-spacing: .03em; }
body.mt-site #container { padding: 0; }
body.mt-site #content { margin: 0; }
body.mt-site #content-in.wrap { display: block; width: auto; max-width: none; margin: 0; padding: 0; }
body.mt-site #main.main { width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
/* サイドバーのあるページ（トップ以外）: 本文の区切りの帯は全幅のまま、サイドバーを右側に重ねる（地は透明で、帯の色が透けて見える）
   aillis.jp を参考（2026-11-05 ユーザー指示）。メニューは縦一列で、見ている間ついてくる。本文はサイドバーの分だけ右を空ける */
body.mt-site:not(.no-sidebar) #content-in.wrap { position: relative; }
body.mt-site:not(.no-sidebar) #main .mt-wrap { padding-right: calc(240px + var(--mt-gutter) + 48px); }
body.mt-site #sidebar.sidebar { position: absolute; top: 0; right: 0; bottom: 0; z-index: 3; float: none; width: calc(240px + var(--mt-gutter)); margin: 0; padding: 72px var(--mt-gutter) 72px 0; background: transparent; border: 0; }
body.mt-site #sidebar .widget { position: sticky; top: 100px; margin: 0; background: transparent; }
body.mt-site #sidebar .widget_nav_menu ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mt-line); }
body.mt-site #sidebar .widget_nav_menu li { margin: 0; border-bottom: 1px solid var(--mt-line); }
body.mt-site #sidebar .widget_nav_menu a { display: block; padding: 14px 4px; color: var(--mt-ink); text-decoration: none; font-size: .93rem; background: none; transition: color .2s, padding-left .2s; }
body.mt-site #sidebar .widget_nav_menu a:hover, body.mt-site #sidebar .widget_nav_menu .current-menu-item > a { color: var(--mt-blue); }
body.mt-site #footer.footer { margin: 0; padding: 0; background: transparent; }
body.mt-site #footer-in.wrap { width: auto; max-width: none; margin: 0; padding: 0; }
body.mt-site a { color: var(--mt-blue); transition: color .2s; }
body.mt-site a:hover { color: var(--mt-blue-dark); }
body.mt-site img { max-width: 100%; height: auto; }

.mt-wrap { width: 100%; margin: 0; padding: 0 var(--mt-gutter); box-sizing: border-box; }
.mt-site *, .mt-site *::before, .mt-site *::after { box-sizing: border-box; }
.mt-grad-text { background: var(--mt-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mt-latin { font-family: var(--mt-font-latin); }

/* ===== ボタン（どのページも同じ形・同じ動き） ===== */
/* 指したときの地の色は ::before に重ねて、不透明度でなめらかに切り替える（グラデーションは transition で変化しないため） */
.mt-btn, body.mt-site a.mt-btn { position: relative; isolation: isolate; display: inline-block; padding: 13px 32px; border-radius: 999px; font-weight: 700; line-height: 1.6; text-decoration: none; cursor: pointer; transition: border-color .2s, color .2s; }
.mt-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .2s; }
.mt-btn:hover::before, .mt-btn:focus-visible::before { opacity: 1; }
/* 主ボタン: 青→青緑のグラデーション。指すと濃い青のグラデーションに変わる（動かさない・外側の影は付けない） */
.mt-btn-primary, body.mt-site a.mt-btn-primary { background: var(--mt-grad); color: #fff; border: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.mt-btn-primary::before { background: linear-gradient(100deg, #0f4f86 0%, #1f6db0 50%, #1597b0 100%); }
.mt-btn-primary:hover, .mt-btn-primary:focus-visible, body.mt-site a.mt-btn-primary:hover, body.mt-site a.mt-btn-primary:focus-visible { color: #fff; }
/* 副ボタン: 白から淡い水色へのごく薄いグラデーションと浅い影で、少し浮かせて見せる。指すと水色の地・青の枠と文字に変わる（動かさない） */
.mt-btn-ghost, body.mt-site a.mt-btn-ghost { background: linear-gradient(180deg, #fff 0%, #f1f6fb 100%); color: var(--mt-ink); border: 1px solid #c9d6e3; box-shadow: 0 6px 16px rgba(9,39,66,.08), inset 0 1px 0 #fff; }
.mt-btn-ghost::before { background: linear-gradient(180deg, #dcecfa 0%, #c2dcf3 100%); }
.mt-btn-ghost:hover, .mt-btn-ghost:focus-visible, body.mt-site a.mt-btn-ghost:hover, body.mt-site a.mt-btn-ghost:focus-visible { color: var(--mt-blue-dark); border-color: var(--mt-blue); }
.mt-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== ヘッダー ===== */
.mt-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(227,233,240,.8); }
.admin-bar .mt-header { top: var(--wp-admin--admin-bar--height, 32px); }
.mt-header .mt-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.mt-header .mt-logo { display: block; line-height: 0; }
.mt-header .mt-logo img { width: 208px; height: 48px; }
.mt-nav { display: flex; align-items: center; gap: 32px; font-size: .93rem; }
body.mt-site .mt-nav a { color: var(--mt-ink); text-decoration: none; }
body.mt-site .mt-nav a:hover, body.mt-site .mt-nav a[aria-current="page"] { color: var(--mt-blue); }
body.mt-site .mt-nav a[aria-current="page"] { font-weight: 700; }
/* メニューのお問い合わせ: 主ボタンと同じく、指すと濃い青のグラデーションに変わる（動かさない・外側の影は付けない） */
body.mt-site .mt-nav a.mt-nav-cta { position: relative; isolation: isolate; color: #fff; background: var(--mt-grad); padding: 8px 22px; border-radius: 999px; font-weight: 700; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
body.mt-site .mt-nav a.mt-nav-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(100deg, #0f4f86 0%, #1f6db0 50%, #1597b0 100%); opacity: 0; transition: opacity .2s; }
body.mt-site .mt-nav a.mt-nav-cta:hover, body.mt-site .mt-nav a.mt-nav-cta:focus-visible { color: #fff; }
body.mt-site .mt-nav a.mt-nav-cta:hover::before, body.mt-site .mt-nav a.mt-nav-cta:focus-visible::before { opacity: 1; }
.mt-menu-button { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--mt-line); border-radius: 50%; background: #fff; cursor: pointer; }
.mt-menu-button span { display: block; width: 18px; height: 1.5px; margin: 4px auto; background: var(--mt-ink); transition: transform .25s, opacity .25s; }
.mt-header.mt-open .mt-menu-button span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.mt-header.mt-open .mt-menu-button span:nth-child(2) { opacity: 0; }
.mt-header.mt-open .mt-menu-button span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ===== 最初の画面（トップ） ===== */
.mt-hero { position: relative; overflow: hidden; background: #fff; }
.mt-blob { position: absolute; border-radius: 50%; filter: blur(50px); pointer-events: none; animation: mt-drift 16s ease-in-out infinite alternate; }
.mt-hero .mt-b1 { width: 640px; height: 640px; right: -140px; top: -180px; background: radial-gradient(circle at 40% 40%, #b9dcff 0%, rgba(185,220,255,0) 70%); }
.mt-hero .mt-b2 { width: 560px; height: 560px; right: 260px; bottom: -260px; background: radial-gradient(circle, #bff0f3 0%, rgba(191,240,243,0) 70%); animation-delay: -5s; }
.mt-hero .mt-b3 { width: 460px; height: 460px; left: -200px; top: 60px; background: radial-gradient(circle, #dde9ff 0%, rgba(221,233,255,0) 70%); animation-delay: -10s; }
@keyframes mt-drift { to { transform: translate(50px, 36px) scale(1.1); } }
.mt-hero .mt-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; min-height: 600px; padding-top: 72px; padding-bottom: 72px; }
.mt-hero .mt-eyebrow { display: inline-block; margin-bottom: 22px; font-family: var(--mt-font-latin); font-size: .76rem; font-weight: 700; letter-spacing: .3em; }
.mt-hero h1 { font-size: 2.9rem; line-height: 1.5; margin: 0 0 26px; color: var(--mt-navy); letter-spacing: .05em; font-weight: 300; }
.mt-hero h1 em { font-style: normal; font-weight: 600; }
.mt-hero .mt-lead { margin: 0 0 38px; color: var(--mt-muted); font-size: 1rem; line-height: 2.05; }
.mt-fade-up { opacity: 0; transform: translateY(18px); animation: mt-fade-up .9s ease forwards; }
.mt-fade-up.mt-d2 { animation-delay: .2s; } .mt-fade-up.mt-d3 { animation-delay: .4s; }
@keyframes mt-fade-up { to { opacity: 1; transform: none; } }
.mt-stage { position: relative; height: 440px; animation: mt-stage-in 1.3s cubic-bezier(.2,.7,.2,1) .55s both; }
@keyframes mt-stage-in { from { opacity: 0; translate: 60px 0; } to { opacity: 1; translate: 0 0; } }
.mt-window { position: absolute; left: 0; top: 20px; width: 88%; background: #fff; border: 1px solid var(--mt-line); border-radius: 12px; box-shadow: 0 30px 70px rgba(23,63,107,.16), 0 6px 18px rgba(23,63,107,.06); overflow: hidden; animation: mt-float 7s ease-in-out infinite; }
.mt-window .mt-bar { height: 30px; background: #f4f7fa; display: flex; align-items: center; gap: 7px; padding: 0 12px; border-bottom: 1px solid var(--mt-line); }
.mt-window .mt-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3dce6; display: block; }
.mt-window .mt-bar span { margin-left: 10px; flex: 1; height: 16px; border-radius: 8px; background: #fff; border: 1px solid var(--mt-line); }
.mt-window img { display: block; width: 100%; }
.mt-phone { position: absolute; right: 0; bottom: 18px; width: 168px; background: #fff; border: 7px solid #fff; border-radius: 26px; box-shadow: 0 24px 50px rgba(23,63,107,.2), 0 0 0 1px var(--mt-line); overflow: hidden; animation: mt-float 7s ease-in-out infinite; animation-delay: -3.5s; }
.mt-phone img { display: block; width: 100%; height: 330px; object-fit: cover; object-position: top; }
@keyframes mt-float { 50% { transform: translateY(-12px); } }
.mt-stage .mt-caption { position: absolute; left: 0; bottom: 0; margin: 0; font-size: .76rem; color: var(--mt-muted); }

/* ===== 下層ページの見出し（最初の画面の約半分の高さ） ===== */
.mt-page-hero { position: relative; overflow: hidden; height: 300px; background: #fff; border-bottom: 1px solid var(--mt-line); }
.mt-page-hero .mt-b1 { width: 420px; height: 420px; left: -160px; top: -200px; background: radial-gradient(circle, #dde9ff 0%, rgba(221,233,255,0) 70%); }
.mt-page-hero .mt-b2 { width: 380px; height: 380px; left: 32%; bottom: -260px; background: radial-gradient(circle, #bff0f3 0%, rgba(191,240,243,0) 70%); animation-delay: -6s; }
/* 画像は右から全幅の 3/4 まで出す（2026-11-05 ユーザー指示）。枠いっぱいに広げ、左端だけ地の色へなじませる */
.mt-page-hero .mt-visual { position: absolute; top: 0; right: 0; bottom: 0; width: 75%; background-repeat: no-repeat; background-size: cover; background-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 20%); mask-image: linear-gradient(90deg, transparent 0%, #000 20%);
  animation: mt-visual-in 1.8s cubic-bezier(.2,.7,.2,1) .3s both; }
@keyframes mt-visual-in { from { opacity: 0; scale: 1.08; } to { opacity: 1; scale: 1; } }
.mt-page-hero .mt-wrap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.mt-page-hero .mt-sec-head { margin: 0; }
.mt-breadcrumb { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; font-size: .8rem; color: var(--mt-muted); }
.mt-breadcrumb li { display: flex; align-items: center; }
.mt-breadcrumb li + li::before { content: "›"; margin: 0 .6em; color: #b6c2ce; }
body.mt-site .mt-breadcrumb a { color: var(--mt-muted); text-decoration: none; }
body.mt-site .mt-breadcrumb a:hover { color: var(--mt-blue); }
.mt-breadcrumb .mt-current { display: inline-block; max-width: 22em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== 区切り ===== */
.mt-section { position: relative; overflow: hidden; padding: 112px 0; }
.mt-bg-blue1 { background: var(--mt-bg-blue1); }
.mt-bg-gray1 { background: var(--mt-bg-gray1); }
.mt-bg-blue2 { background: var(--mt-bg-blue2); }
.mt-bg-gray2 { background: var(--mt-bg-gray2); }
.mt-sec-head { position: relative; margin-bottom: 56px; padding-top: 3.6rem; }
.mt-en { position: absolute; top: 0; left: -.04em; z-index: 0; font-family: var(--mt-font-latin); font-size: clamp(3.8rem, 9.5vw, 7.2rem); font-weight: 100; line-height: 1; letter-spacing: .08em; color: var(--mt-en-mark); white-space: nowrap; pointer-events: none; user-select: none; }
.mt-sec-head.mt-center { text-align: center; }
.mt-sec-head.mt-center .mt-en { left: 50%; transform: translateX(-50%); }
.mt-sec-head h1, .mt-sec-head h2, .mt-sec-head .mt-page-name { position: relative; z-index: 1; margin: 0; padding: 0; border: 0; background: none; color: var(--mt-ink); font-weight: 500; letter-spacing: .08em; line-height: 1.4; }
.mt-sec-head h2 { font-size: 2rem; }
.mt-sec-head h1, .mt-sec-head .mt-page-name { font-size: 2.2rem; letter-spacing: .1em; }
.mt-sec-head::after { content: ""; position: relative; z-index: 1; display: block; width: 48px; height: 3px; border-radius: 2px; background: var(--mt-grad); margin-top: 18px; }
.mt-sec-head.mt-center::after { margin-left: auto; margin-right: auto; }
.mt-lead-text { max-width: 760px; color: var(--mt-muted); margin: 0 0 48px; }
.mt-lead-text > :last-child { margin-bottom: 0; } /* 説明文の下に箇条書きを並べたとき、下の余白が二重にならないように */

/* ===== 事業内容のカード ===== */
.mt-services { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.mt-services.mt-services-even { grid-template-columns: repeat(3, 1fr); } /* トップは3項目を同じ幅に（2026-11-05 ユーザー指示） */
.mt-service { position: relative; background: #fff; border: 1px solid var(--mt-line); border-radius: 16px; padding: 34px 28px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.mt-service:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(23,63,107,.1); }
.mt-service .mt-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--mt-pale); margin-bottom: 20px; }
.mt-service .mt-tag { position: absolute; top: 24px; right: 24px; font-size: .72rem; font-weight: 700; color: #fff; background: var(--mt-grad); padding: 2px 12px; border-radius: 20px; }
.mt-service h3 { margin: 0 0 10px; padding: 0; border: 0; background: none; font-size: 1.2rem; color: var(--mt-ink); font-weight: 600; }
/* トップの事業内容: アイコンの横に項目名を並べる（2026-11-05 ユーザー指示） */
.mt-service-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.mt-service-head .mt-icon { flex: none; margin-bottom: 0; }
.mt-service .mt-service-head h3 { margin: 0; }
/* 説明文の下に箇条書きを置くので、説明文は伸ばさず「詳しく見る」を下端にそろえる */
.mt-services-even .mt-service p { flex: none; }
.mt-services-even .mt-service .mt-more { margin-top: auto; }
.mt-service p { margin: 0 0 18px; color: var(--mt-muted); font-size: .94rem; flex: 1; }
.mt-checks { list-style: none; margin: 0 0 22px; padding: 0; font-size: .92rem; }
.mt-checks li { position: relative; padding-left: 1.3em; margin-bottom: 4px; }
.mt-checks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--mt-grad); }
body.mt-site .mt-more { font-weight: 700; text-decoration: none; font-size: .92rem; }

/* ===== 特長 ===== */
.mt-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.mt-feature { background: #fff; border-radius: 16px; padding: 30px 24px; box-shadow: 0 12px 34px rgba(23,63,107,.07); }
.mt-feature .mt-num { font-family: var(--mt-font-latin); font-size: 2.6rem; font-weight: 300; line-height: 1; letter-spacing: .04em; }
.mt-feature h3 { margin: 16px 0 8px; padding: 0; border: 0; background: none; font-size: 1.05rem; color: var(--mt-ink); font-weight: 600; }
.mt-feature p { margin: 0; color: var(--mt-muted); font-size: .92rem; }

/* ===== 事業内容: 開発実績（#system）とサンプルサイト（#web） ===== */
.mt-sub-title { margin: 0 0 24px; padding: 0 0 0 14px; border: 0; border-left: 3px solid var(--mt-blue); background: none; font-size: 1.3rem; font-weight: 600; color: var(--mt-ink); line-height: 1.5; }
.mt-split + .mt-works-title { margin-top: 64px; } /* 画像と文の2列の下に開発実績を続けるときの間隔 */
.mt-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mt-work { background: #fff; border-radius: 16px; padding: 28px 26px; box-shadow: 0 12px 34px rgba(23,63,107,.07); }
.mt-work h4 { margin: 0 0 10px; font-size: 1.08rem; font-weight: 600; color: var(--mt-ink); }
.mt-work > p { margin: 0 0 16px; color: var(--mt-muted); font-size: .9rem; }
.mt-work dl { margin: 0; }
.mt-work dt { margin: 12px 0 6px; font-size: .78rem; font-weight: 700; color: var(--mt-blue); }
.mt-work dd { margin: 0; }
.mt-work dd ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.mt-work dd li { font-size: .8rem; color: var(--mt-ink); background: var(--mt-pale); border-radius: 6px; padding: 2px 10px; }
.mt-samples-head { margin: 80px 0 32px; }
.mt-samples-head p { margin: 0 0 8px; color: var(--mt-muted); }
.mt-note { font-size: .82rem; color: var(--mt-muted); }
.mt-samples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.mt-sample { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 34px rgba(23,63,107,.07); }
.mt-sample-shot { border-bottom: 1px solid var(--mt-line); }
.mt-sample-shot img { display: block; width: 100%; height: auto; }
.mt-sample-body { flex: 1; display: flex; flex-direction: column; padding: 26px 28px 30px; }
.mt-sample-type { align-self: flex-start; font-size: .76rem; font-weight: 700; color: var(--mt-blue); background: var(--mt-pale); border-radius: 20px; padding: 2px 12px; }
.mt-sample h4 { margin: 10px 0 8px; font-size: 1.2rem; font-weight: 600; color: var(--mt-ink); }
.mt-sample-body > p { margin: 0 0 8px; color: var(--mt-muted); font-size: .9rem; }
.mt-sample .mt-checks { font-size: .9rem; }
.mt-sample .mt-btn { align-self: flex-start; margin-top: auto; }

/* ===== 運営サービス（わたしの団体運営）・画像と文の 2 列 ===== */
.mt-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.mt-split.mt-reverse > :first-child { order: 2; }
.mt-split h3, .mt-lead-text h3 { margin: 0 0 14px; padding: 0; border: 0; background: none; font-size: 1.5rem; color: var(--mt-ink); font-weight: 500; letter-spacing: .06em; }
.mt-split p { color: var(--mt-muted); }
.mt-shot { border: 1px solid var(--mt-line); border-radius: 12px; overflow: hidden; box-shadow: 0 24px 50px rgba(9,39,66,.12); background: #fff; }
.mt-shot img { display: block; width: 100%; }
.mt-own-text { position: relative; }
.mt-own-text h3 { margin: 0 0 4px; font-size: 1.8rem; font-weight: 400; letter-spacing: .06em; }
/* 最初の画面の「クラウドシステム」と同じグラデーション（.mt-split h3 の文字色と地の指定を打ち消す。文字の幅に合わせて色が端まで変わるよう、行は分けたまま幅を文字に合わせる） */
.mt-own-text h3.mt-grad-text { display: table; background: var(--mt-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mt-own-text .mt-sub { margin: 0 0 20px; font-weight: 700; }
.mt-own-text .mt-buttons { margin-top: 32px; } /* 説明文と「サービスのサイトを見る」の間を空ける（2026-11-05 ユーザー指示） */
.mt-own-shot { position: relative; }
/* 画像の後ろの淡い光。楕円の大きさを枠の内側に収め、枠の端で色が切れて四角く見えないようにする */
.mt-own-shot::before { content: ""; position: absolute; inset: -60px -40px; background: radial-gradient(ellipse 40% 50% at 60% 50%, #d3e8fb 0%, rgba(211,232,251,0) 100%), radial-gradient(ellipse 30% 20% at 30% 80%, #cff0f4 0%, rgba(207,240,244,0) 100%); z-index: 0; }
/* 安否確認の画面を、パソコンの枠とスマホの枠に入れて重ねて並べる（最初の画面と同じ作り。浮く動きは付けない）
   スマホの画面は縦横の比を変えず、切らずに全体を出す（縦を切ると横長につぶれて見えるため） */
.mt-own-devices { position: relative; z-index: 1; padding-bottom: 48px; }
.mt-own-pc { width: 84%; background: #fff; border: 1px solid var(--mt-line); border-radius: 12px; box-shadow: 0 24px 50px rgba(23,63,107,.14); overflow: hidden; }
.mt-own-pc .mt-bar { height: 26px; background: #f4f7fa; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--mt-line); }
.mt-own-pc .mt-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d3dce6; display: block; }
.mt-own-pc .mt-bar span { margin-left: 10px; flex: 1; height: 14px; border-radius: 7px; background: #fff; border: 1px solid var(--mt-line); }
.mt-own-pc img, .mt-own-phone img { display: block; width: 100%; height: auto; }
.mt-own-phone { position: absolute; right: 0; bottom: 0; width: 27%; max-width: 170px; background: #fff; border: 7px solid #fff; border-radius: 26px; box-shadow: 0 24px 50px rgba(23,63,107,.2), 0 0 0 1px var(--mt-line); overflow: hidden; }

/* ===== お知らせのカード ===== */
.mt-news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mt-news.mt-news-list { row-gap: 36px; }
body.mt-site a.mt-card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--mt-ink); box-shadow: 0 10px 30px rgba(9,39,66,.06); transition: transform .25s, box-shadow .25s, color .2s; }
body.mt-site a.mt-card:hover { color: var(--mt-blue); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(9,39,66,.1); }
.mt-card .mt-thumb { aspect-ratio: 1200 / 630; background: #fff; border-bottom: 1px solid var(--mt-line); overflow: hidden; }
.mt-card .mt-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.mt-card:hover .mt-thumb img { transform: scale(1.04); }
.mt-card .mt-card-body { padding: 18px 22px 24px; }
.mt-card time { display: block; font-family: var(--mt-font-latin); color: var(--mt-blue); font-size: .82rem; letter-spacing: .06em; margin-bottom: 6px; }
.mt-card .mt-card-title { margin: 0; font-size: .96rem; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mt-news-more { text-align: center; margin-top: 36px; }
.mt-pager { margin-top: 56px; }
.mt-pager .nav-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; font-family: var(--mt-font-latin); }
.mt-pager .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; text-decoration: none; color: var(--mt-ink); background: #fff; font-size: .92rem; transition: background-color .2s, color .2s; }
body.mt-site .mt-pager a.page-numbers:hover { color: var(--mt-blue); background: var(--mt-pale); }
.mt-pager .page-numbers.current { background: var(--mt-grad); color: #fff; font-weight: 600; }
.mt-pager .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ===== お問い合わせの帯（輪郭をぼかした白い地） ===== */
.mt-cta-band { overflow: hidden; padding: 96px 0; background: var(--mt-bg-blue3); }
.mt-cta-band .mt-sec-head { margin-bottom: 0; } /* 見出しのすぐ下に案内文を置く（2026-11-05 ユーザー指示で見出しを追加） */
.mt-cta-panel { position: relative; padding: 48px 24px 72px; text-align: center; }
.mt-cta-panel::before { content: ""; position: absolute; inset: 0 4%; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(255,255,255,.95) 0%, rgba(255,255,255,.8) 40%, rgba(255,255,255,0) 72%); filter: blur(18px); }
.mt-cta-panel::after { content: ""; position: absolute; width: 360px; height: 360px; right: 6%; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(191,240,243,.5) 0%, rgba(191,240,243,0) 70%); filter: blur(10px); }
.mt-cta-panel p { position: relative; z-index: 1; margin: 0 0 30px; font-size: 1.35rem; color: var(--mt-ink); }
.mt-cta-panel .mt-btn { position: relative; z-index: 1; }

/* ===== フッター ===== */
.mt-footer { position: relative; background: #fff; color: var(--mt-muted); font-size: .86rem; padding: 56px 0 28px; border-top: 1px solid var(--mt-line); }
.mt-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--mt-grad); opacity: .7; }
.mt-footer .mt-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.mt-footer .mt-logo img { width: 173px; height: 40px; margin-bottom: 14px; }
.mt-footer h2 { margin: 0 0 10px; padding: 0; border: 0; background: none; font-size: .88rem; color: var(--mt-ink); font-weight: 600; }
.mt-footer ul { list-style: none; margin: 0; padding: 0; }
.mt-footer p { margin: 0; }
/* リンクはふだんは補足の文と同じ色、指すと淡い青（#95bfff）に変わる（2026-11-05 ユーザー指示）
   Cocoon の設定「#footer a:not(.sns-button) { color: #95bfff }」がこちらより強いので、#footer を付けて上書きする */
body.mt-site #footer .mt-footer a:not(.sns-button) { color: var(--mt-muted); text-decoration: none; transition: color .2s; }
body.mt-site #footer .mt-footer a:not(.sns-button):hover, body.mt-site #footer .mt-footer a:not(.sns-button):focus-visible { color: #95bfff; }
.mt-footer .mt-copy { border-top: 1px solid var(--mt-line); margin-top: 36px; padding-top: 20px; font-family: var(--mt-font-latin); font-size: .76rem; text-align: center; }

/* ===== 記事・個人情報保護方針などの文の組み方 ===== */
.mt-article-wrap { background: #fff; padding: 80px 0 104px; }
.mt-article { max-width: 760px; margin: 0 auto; }
.mt-article.mt-article-full { max-width: none; margin: 0; } /* 個人情報保護方針は全幅にする（2026-11-05 ユーザー指示） */
.mt-article .mt-meta { display: flex; gap: 14px; align-items: center; font-size: .82rem; }
.mt-article .mt-meta time { font-family: var(--mt-font-latin); color: var(--mt-blue); letter-spacing: .06em; }
body.mt-site .mt-article .mt-cat { background: var(--mt-pale); color: var(--mt-blue); border-radius: 20px; padding: 1px 12px; font-weight: 700; font-size: .74rem; text-decoration: none; }
body.mt-site .mt-article .mt-cat:hover { color: var(--mt-blue-dark); }
.mt-article h1.mt-title { font-size: 1.75rem; line-height: 1.65; font-weight: 500; letter-spacing: .04em; margin: 14px 0 36px; padding: 0; border: 0; background: none; color: var(--mt-ink); }
.mt-article .mt-eyecatch { border-radius: 16px; overflow: hidden; box-shadow: 0 24px 50px rgba(9,39,66,.12); margin: 0 0 52px; }
.mt-article .mt-eyecatch img { display: block; width: 100%; }
/* 本文（Cocoon の .entry-content の決まりを、このデザインの見出し・段落で上書き） */
.mt-entry, .mt-entry.entry-content { font-size: 1rem; line-height: 2.1; }
.mt-entry p { margin: 0 0 1.7em; }
.mt-entry h2, .mt-entry.entry-content h2 { font-size: 1.35rem; font-weight: 500; letter-spacing: .05em; margin: 2.4em 0 1em; padding: 0 0 0 16px; color: var(--mt-ink); background: none; border: 0; border-left: 3px solid; border-image: var(--mt-grad) 1; border-radius: 0; }
.mt-entry h3, .mt-entry.entry-content h3 { font-size: 1.12rem; font-weight: 600; margin: 2em 0 .8em; padding: 0; color: var(--mt-ink); background: none; border: 0; }
.mt-entry h4, .mt-entry.entry-content h4 { font-size: 1rem; font-weight: 600; margin: 1.8em 0 .6em; padding: 0; background: none; border: 0; }
.mt-entry img { border-radius: 12px; }
.mt-entry ol.mt-items { padding-left: 1.4em; margin: 0 0 1.7em; }
.mt-entry ol.mt-items > li { margin-bottom: 1.2em; padding-left: .3em; }
.mt-entry ol.mt-items > li strong { display: block; font-weight: 600; }
.mt-entry ol.mt-plain { padding-left: 1.4em; margin: 0 0 1.7em; }
.mt-company-box { margin: 8px 0 28px; padding: 24px 28px; border-radius: 16px; background: var(--mt-bg-gray2); line-height: 1.9; }
/* 本文に残っている Bootstrap のボタンのクラスを、このデザインのボタンの形で受ける（記事の本文を直さずに済むように） */
.mt-entry .btn, body.mt-site .mt-entry a.btn { display: inline-block; padding: 13px 32px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s, background-color .2s, color .2s; }
.mt-entry .btn-success, .mt-entry .btn-primary, body.mt-site .mt-entry a.btn-success, body.mt-site .mt-entry a.btn-primary { background: var(--mt-grad); color: #fff; border: 0; box-shadow: 0 10px 24px rgba(31,109,176,.24); }
body.mt-site .mt-entry a.btn-success:hover, body.mt-site .mt-entry a.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(31,109,176,.32); }
.mt-entry .btn-outline-primary, body.mt-site .mt-entry a.btn-outline-primary { background: #fff; color: var(--mt-ink); border: 1px solid #c9d6e3; }
body.mt-site .mt-entry a.btn-outline-primary:hover { color: var(--mt-blue); background: var(--mt-pale); border-color: var(--mt-blue); }
.mt-article-foot { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--mt-line); }
.mt-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
body.mt-site .mt-post-nav a { display: block; padding: 18px 22px; border-radius: 14px; background: var(--mt-bg-gray2); color: var(--mt-ink); text-decoration: none; transition: background-color .2s, transform .2s, color .2s; }
body.mt-site .mt-post-nav a:hover { color: var(--mt-blue); background: var(--mt-bg-blue1); transform: translateY(-2px); }
.mt-post-nav .mt-label { display: block; font-family: var(--mt-font-latin); font-size: .72rem; letter-spacing: .2em; color: var(--mt-blue); margin-bottom: 4px; }
.mt-post-nav .mt-post-title { font-size: .92rem; }
.mt-post-nav .mt-next { text-align: right; }
.mt-back-to-list { text-align: center; margin-top: 40px; }

/* ===== 会社概要 ===== */
.mt-about h3 { margin: 0 0 18px; padding: 0; border: 0; background: none; font-size: 1.4rem; font-weight: 500; letter-spacing: .05em; line-height: 1.7; }
.mt-about { max-width: 820px; }
.mt-about p { color: var(--mt-muted); margin: 0 0 1.2em; }
.mt-profile { margin: 0; /* 会社概要の表は全幅にする（2026-11-05 ユーザー指示） */ background: #fff; border-radius: 20px; padding: 12px 40px; box-shadow: 0 12px 34px rgba(9,39,66,.06); }
.mt-profile > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--mt-line); }
.mt-profile > div:last-child { border-bottom: 0; }
.mt-profile dt { color: var(--mt-muted); font-weight: 500; font-size: .92rem; }
.mt-profile dd { margin: 0; }
.mt-access { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.mt-access .mt-map { border-radius: 20px; overflow: hidden; box-shadow: 0 16px 40px rgba(9,39,66,.1); background: #fff; }
.mt-access .mt-map iframe { display: block; width: 100%; height: 420px; border: 0; }
.mt-access h3 { margin: 0 0 12px; padding: 0; border: 0; background: none; font-size: 1.1rem; font-weight: 600; }
.mt-access p, .mt-access li { color: var(--mt-muted); }
.mt-access ul { margin: 0; padding: 0; list-style: none; }

/* ===== お問い合わせのページ ===== */
.mt-form-card { max-width: 780px; margin: 0 auto; background: #fff; border-radius: 24px; padding: 52px 56px; box-shadow: 0 16px 44px rgba(9,39,66,.07); }
.mt-form-intro { text-align: center; color: var(--mt-muted); margin: 0 auto 40px; max-width: 640px; }
.mt-thanks { text-align: center; }
.mt-thanks .mt-check { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--mt-grad); box-shadow: 0 12px 26px rgba(31,109,176,.25); }
.mt-thanks h2 { margin: 0 0 14px; padding: 0; border: 0; background: none; font-size: 1.5rem; font-weight: 500; letter-spacing: .05em; }
.mt-thanks p { color: var(--mt-muted); margin: 0 0 32px; }

/* ===== サイトマップ（lib/sitemap.php の [mt_sitemap]） ===== */
.mt-sitemap-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mt-sitemap-box { background: #fff; border-radius: 20px; padding: 36px 40px; box-shadow: 0 12px 34px rgba(9,39,66,.06); }
.mt-sitemap-box h2 { margin: 0 0 16px; padding: 0; border: 0; background: none; font-size: 1.1rem; font-weight: 600; letter-spacing: .05em; }
.mt-sitemap-box ul { list-style: none; margin: 0; padding: 0; }
.mt-sitemap-box li { border-bottom: 1px solid var(--mt-line); }
.mt-sitemap-box li:last-child { border-bottom: 0; }
body.mt-site .mt-sitemap-box li a { display: flex; justify-content: space-between; gap: 12px; padding: 13px 4px; color: var(--mt-ink); text-decoration: none; }
.mt-sitemap-box li a::after { content: "›"; color: var(--mt-sky); }
body.mt-site .mt-sitemap-box li a:hover { color: var(--mt-blue); }
.mt-sitemap-box li li { border: 0; }
.mt-sitemap-box li ul { margin: -6px 0 10px 1.2em; }
body.mt-site .mt-sitemap-box li li a { padding: 7px 4px; font-size: .92rem; color: var(--mt-muted); }
.mt-sitemap-box time { font-family: var(--mt-font-latin); font-size: .8rem; color: var(--mt-blue); margin-right: 12px; }
.mt-sitemap-more { margin: 18px 0 0; text-align: right; }

/* ===== 見つからないページ ===== */
.mt-not-found { text-align: center; }
.mt-not-found p { color: var(--mt-muted); margin: 0 0 32px; }

/* ===== 動き（スクロールで遅れて表示。html に mt-js が付いたときだけ隠す） ===== */
.mt-js .mt-reveal { opacity: 0; translate: 0 28px; transition: opacity .9s ease, translate 1s cubic-bezier(.2,.7,.2,1); transition-delay: var(--mt-d, 0s); }
.mt-js .mt-reveal.mt-in { opacity: 1; translate: 0 0; }
.mt-js .mt-reveal-img { clip-path: inset(-80px 100% -80px -80px); transition: clip-path 1.3s cubic-bezier(.7,0,.2,1); transition-delay: var(--mt-d, 0s); }
.mt-js .mt-reveal-img.mt-in { clip-path: inset(-80px -80px -80px -80px); }
.mt-js .mt-reveal-img img { scale: 1.1; transition: scale 1.8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--mt-d, 0s); }
.mt-js .mt-reveal-img.mt-in img { scale: 1; }
.mt-js .mt-reveal-head .mt-en { opacity: 0; translate: -48px 0; transition: opacity 1.2s ease, translate 1.4s cubic-bezier(.2,.7,.2,1); }
.mt-js .mt-reveal-head > :not(.mt-en) { opacity: 0; translate: 0 18px; transition: opacity .9s ease .25s, translate .9s cubic-bezier(.2,.7,.2,1) .25s; }
.mt-js .mt-reveal-head.mt-sec-head::after { width: 0; transition: width .8s ease .6s; }
.mt-js .mt-reveal-head.mt-in .mt-en, .mt-js .mt-reveal-head.mt-in > :not(.mt-en) { opacity: 1; translate: 0 0; }
.mt-js .mt-reveal-head.mt-in.mt-sec-head::after { width: 48px; }

/* ページ内リンクで飛んだとき、上に固定したヘッダーに隠れないように */
.mt-site [id] { scroll-margin-top: 90px; }

/* ===== 狭い画面 ===== */
@media (max-width: 960px) {
  body.mt-site:not(.no-sidebar) #main .mt-wrap { padding-right: var(--mt-gutter); }
  body.mt-site #sidebar.sidebar { width: auto; position: static; padding: 0 var(--mt-gutter) 56px; }
  body.mt-site #sidebar .widget { position: static; }
  .mt-menu-button { display: block; }
  .mt-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--mt-line); box-shadow: 0 16px 30px rgba(9,39,66,.08); }
  .mt-header.mt-open .mt-nav { display: flex; }
  body.mt-site .mt-nav a { padding: 14px 4px; border-bottom: 1px solid var(--mt-line); }
  body.mt-site .mt-nav a.mt-nav-cta { margin-top: 14px; text-align: center; border-bottom: 0; }
  .mt-hero .mt-wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 48px; padding-bottom: 48px; }
  .mt-hero h1 { font-size: 1.85rem; }
  .mt-stage { height: 360px; }
  .mt-page-hero { height: 200px; }
  .mt-page-hero .mt-visual { width: 100%; opacity: .3; background-position: center; }
  .mt-sec-head h1, .mt-sec-head .mt-page-name { font-size: 1.7rem; }
  .mt-services, .mt-services.mt-services-even, .mt-works, .mt-samples, .mt-features, .mt-split, .mt-news, .mt-footer .mt-cols, .mt-access, .mt-sitemap-cols, .mt-post-nav { grid-template-columns: 1fr; }
  .mt-split { gap: 32px; }
  .mt-split.mt-reverse > :first-child { order: 0; }
  .mt-section { padding: 72px 0; }
  .mt-cta-band { padding: 64px 0; }
  .mt-news { gap: 20px; }
  .mt-article h1.mt-title { font-size: 1.4rem; }
  .mt-breadcrumb .mt-current { max-width: 10em; }
  .mt-profile { padding: 8px 22px; }
  .mt-profile > div { grid-template-columns: 1fr; gap: 2px; }
  .mt-form-card { padding: 36px 22px; }
  .mt-sitemap-box { padding: 28px 24px; }
}

/* 動きを減らす設定の端末では動かさない */
@media (prefers-reduced-motion: reduce) {
  .mt-site *, .mt-site *::before, .mt-site *::after { animation: none !important; transition: none !important; }
  .mt-fade-up { opacity: 1; transform: none; }
  .mt-js .mt-reveal, .mt-js .mt-reveal-head .mt-en, .mt-js .mt-reveal-head > * { opacity: 1; translate: none; }
  .mt-js .mt-reveal-img { clip-path: none; }
  .mt-js .mt-reveal-img img { scale: 1; }
  .mt-js .mt-reveal-head.mt-sec-head::after { width: 48px; }
}
