/* NOXEL の顔 (noxel.pro)。組み方は microsoft.com にならう: 白い上の帯 → 大きな最初の一枚 → 1 つの帯に 1 製品 → 安心 → 会社 → 下の帯。
   色は明るい 1 通りだけ (社長 2026-09-28「A」)。会社の PC の古いブラウザでも読めるよう、色は変数に頼らず直に書き、
   clamp() や grid が効かないときの値を先に置く (効かなければ縦に積まれるだけで、字は全部読める)。 */
* { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FFFFFF; color: #0B1B33; font-family: "Hiragino Sans", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Yu Gothic UI", Meiryo, sans-serif; font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; display: block; border: 0; }
/* 日本語を言葉の途中で折らない (「アカ／ウント」にしない)。
   .ph の文は、折ってよい所に <wbr> を入れてある (iPhone の Safari でも効く)。入らない長さの言葉は途中で折る (はみ出さない)。
   ほかの文は、効くブラウザだけ自動で (word-break: auto-phrase)。効かなければ今までどおりの折り方 */
.ph { word-break: keep-all; overflow-wrap: anywhere; }
.nw { white-space: nowrap; }
@supports (word-break: auto-phrase) { p:not(.ph), li, td, th, dd, h2, h3, a { word-break: auto-phrase; } }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* 押すボタン: 色で塗らない (黒い塗りに白い字) */
.btn { display: inline-block; min-height: 46px; line-height: 44px; padding: 0 22px; border-radius: 10px; background: #000000; color: #FFFFFF; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid #000000; white-space: nowrap; transition: opacity 120ms, transform 120ms cubic-bezier(0.2, 0, 0, 1); }
.btn:hover { opacity: 0.86; }
.btn:active { transform: scale(0.98); }
.btn:focus-visible, a:focus-visible { outline: 2px solid #0A6CFF; outline-offset: 2px; }
.btn.small { min-height: 38px; line-height: 36px; padding: 0 16px; font-size: 14px; }
.btn.line { background: transparent; color: #0B1B33; border-color: #9AA5B5; }
.btn.white { background: #FFFFFF; color: #000000; border-color: #FFFFFF; }
.btn.line-white { background: transparent; color: #FFFFFF; border-color: #8A97B0; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btns .btn { margin: 0; }

/* 上の帯 */
.top { position: sticky; top: 0; z-index: 10; background: #FFFFFF; border-bottom: 1px solid #E1E6EC; }
.top .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 0 28px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; font-weight: 800; letter-spacing: 0.24em; font-size: 19px; text-decoration: none; white-space: nowrap; }
.brand img { width: 40px; height: auto; margin-right: 10px; vertical-align: middle; }
.nav { flex: 1; min-width: 0; font-size: 14px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { display: inline-block; text-decoration: none; padding: 6px 0; margin-right: 22px; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: #0B1B33; }

/* 最初の一枚 */
.hero { overflow: hidden; background: #EEF6FD; background: linear-gradient(180deg, #EAF4FD 0%, #F6FAFE 60%, #FFFFFF 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero h1 { font-size: 40px; font-size: clamp(30px, 4.3vw, 54px); line-height: 1.25; letter-spacing: -0.01em; margin: 0 0 20px; font-weight: 700; word-break: keep-all; overflow-wrap: anywhere; }
.hero p { font-size: 17px; font-size: clamp(16px, 1.6vw, 19px); color: #4A5A72; margin: 0 0 32px; max-width: 30em; }
.tiles { position: relative; height: 440px; }
.tile { position: absolute; border-radius: 23%; overflow: hidden; background: #FFFFFF; box-shadow: 0 30px 60px rgba(8, 26, 59, 0.28), 0 6px 14px rgba(8, 26, 59, 0.18); animation: settle 520ms cubic-bezier(0.2, 0, 0, 1) both; }
.tile img { width: 100%; height: 100%; }
.tile.t1 { width: 204px; height: 204px; left: 4%; top: 34px; animation-delay: 60ms; }
.tile.t2 { width: 164px; height: 164px; right: 4%; top: 0; animation-delay: 140ms; }
.tile.t3 { width: 142px; height: 142px; left: 40%; bottom: 0; animation-delay: 220ms; }
.tile.t4 { width: 112px; height: 112px; left: 14%; bottom: 0; animation-delay: 300ms; }
.tile.t5 { width: 112px; height: 112px; right: 6%; bottom: 60px; animation-delay: 380ms; }
/* 動きは「収まる」だけ (魔法＝手間がいつの間にか消えている)。弾ませない・光らせない */
@keyframes settle { from { opacity: 0; transform: translateY(-22px) scale(1.06); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tile { animation: none; } .btn { transition: none; } }

/* 製品の帯 */
.band { padding: 88px 0; }
.band.soft { background: #F4F7FA; }
.band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.band.flip .copy { order: 2; }
.pill { display: inline-block; font-size: 13px; font-weight: 700; line-height: 1.6; padding: 3px 12px; border-radius: 999px; background: #F4F7FA; border: 1px solid #E1E6EC; margin-bottom: 18px; }
.band.soft .pill { background: #FFFFFF; }
.band .name { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; color: #4A5A72; margin: 0 0 6px; }
.band h2 { font-size: 34px; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.3; margin: 0 0 16px; font-weight: 700; word-break: keep-all; overflow-wrap: anywhere; }
.band p.desc { color: #4A5A72; margin: 0 0 28px; max-width: 28em; font-size: 17px; }
.panel { border-radius: 32px; aspect-ratio: 5 / 4; display: grid; place-items: center; overflow: hidden; background: #E6F1FC; background: radial-gradient(60% 60% at 50% 45%, #FFFFFF 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(135deg, #DCEEFC 0%, #EEF6FE 55%, #E3F1FF 100%); }
.panel.calm { background: #EDF1F6; background: radial-gradient(60% 60% at 50% 45%, #FFFFFF 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(135deg, #E9EEF5 0%, #F5F7FA 55%, #E6ECF4 100%); }
/* 白い地のロゴ (Studio・社長 2026-09-28「ホワイトのロゴを使って」)。絵は白い地ごとの不透明な物なので、器の地を絵の地の色に合わせて境目を見せない */
.panel.paper { background: #FEFDFD; border: 1px solid #E1E6EC; }
.panel img.whole { width: 62%; height: auto; margin: 6% auto; }
.panel img.mark { width: 46%; height: auto; margin: 12% auto; filter: drop-shadow(0 28px 36px rgba(10, 92, 220, 0.30)); }
.panel img.app { width: 40%; height: auto; margin: 12% auto; border-radius: 23%; background: #FFFFFF; box-shadow: 0 30px 60px rgba(8, 26, 59, 0.25); }

/* 安心 (紺の帯) */
.trust { padding: 88px 0; background: #081A3B; color: #FFFFFF; }
.trust h2 { font-size: 32px; font-size: clamp(24px, 3.2vw, 38px); line-height: 1.35; margin: 0 0 8px; word-break: keep-all; overflow-wrap: anywhere; }
.trust .lead { color: #C3CBDA; margin: 0 0 36px; }
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 36px; padding: 0; list-style: none; }
.points li { border: 1px solid #2B3A59; border-radius: 18px; padding: 22px 20px; background: #12244A; margin-bottom: 8px; }
.points b { display: block; font-size: 17px; margin-bottom: 6px; }
.points span { display: block; color: #C3CBDA; font-size: 14px; line-height: 1.7; }

/* 会社 */
.company { padding: 72px 0; }
.company .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.company h2 { font-size: 30px; font-size: clamp(24px, 3vw, 34px); margin: 0 0 8px; line-height: 1.35; word-break: keep-all; overflow-wrap: anywhere; }
.company .lead { color: #4A5A72; margin: 0 0 24px; }
table.facts { width: 100%; border-collapse: collapse; border-top: 1px solid #E1E6EC; }
table.facts th, table.facts td { border-bottom: 1px solid #E1E6EC; padding: 14px 0; text-align: left; vertical-align: top; font-weight: 400; }
table.facts th { width: 8em; color: #4A5A72; font-size: 14px; padding-right: 16px; white-space: nowrap; }
table.facts small { color: #4A5A72; }

/* 読む頁 (運営会社・規約・安全・情報システム向け) */
.pagehead { background: #EEF6FD; background: linear-gradient(180deg, #EAF4FD 0%, #F6FAFE 100%); padding: 56px 0 44px; }
.pagehead .wrap, .doc { max-width: 880px; }
.pagehead h1 { font-size: 34px; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.35; margin: 0 0 10px; word-break: keep-all; overflow-wrap: anywhere; }
.pagehead p { color: #4A5A72; margin: 0; font-size: 15px; }
.doc { margin: 0 auto; padding: 40px 24px 80px; }
.doc h2 { font-size: 21px; line-height: 1.5; margin: 44px 0 10px; padding-top: 28px; border-top: 1px solid #E1E6EC; }
.doc h2:first-child, .doc .callout + h2 { border-top: 0; padding-top: 0; margin-top: 8px; }
.doc .callout + h2 { margin-top: 44px; }
.doc h3 { font-size: 16px; margin: 24px 0 4px; word-break: keep-all; overflow-wrap: anywhere; }
.doc p { margin: 0 0 12px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 12px; }
.doc li { margin: 4px 0; }
.doc p.small { font-size: 14px; color: #4A5A72; }
.doc a { color: #0A58CA; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; border-top: 1px solid #E1E6EC; }
.doc th, .doc td { border-bottom: 1px solid #E1E6EC; padding: 12px 8px 12px 0; text-align: left; vertical-align: top; }
.doc th { width: 30%; color: #4A5A72; font-weight: 600; }
.doc table.hosts th { width: 56%; font-weight: 400; color: #0B1B33; }
.doc code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; background: #F1F4F8; padding: 1px 6px; border-radius: 6px; word-break: break-all; }
.scroll { overflow-x: auto; }
.callout { border-radius: 24px; padding: 28px 28px 20px; background: #E6F1FC; background: linear-gradient(135deg, #DCEEFC 0%, #EEF6FE 60%, #E3F1FF 100%); }
.callout-k { font-weight: 700; margin: 0 0 6px; word-break: keep-all; overflow-wrap: anywhere; }
.callout-v { margin: 0 0 10px; }
.callout-v code { font-size: 24px; font-size: clamp(19px, 3vw, 28px); font-weight: 700; background: #FFFFFF; padding: 6px 14px; border-radius: 12px; display: inline-block; }

/* 下の帯 */
.foot { background: #F4F7FA; border-top: 1px solid #E1E6EC; padding: 48px 0 40px; font-size: 14px; }
.foot .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.foot h4 { font-size: 13px; color: #4A5A72; margin: 0 0 10px; font-weight: 600; }
.foot ul { list-style: none; margin: 0 0 16px; padding: 0; }
.foot li { margin: 6px 0; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid #E1E6EC; color: #4A5A72; font-size: 13px; }

@media (max-width: 860px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  /* スマホの上の帯: 上に余白・1 段目に名前とログイン・2 段目に横へ送れるメニュー (右端は薄くして「続きがある」と分かるように) */
  .top .wrap { gap: 0 14px; justify-content: space-between; min-height: 0; padding-top: 12px; padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
  .top .btn { order: 2; }
  .nav { order: 3; flex: none; width: calc(100% + 40px); max-width: 100vw; margin: 6px -20px 0; padding: 0 20px 8px; font-size: 14px; -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 44px), transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 44px), transparent 100%); }
  .nav a { margin-right: 20px; padding: 8px 0; }
  .nav a:last-child { margin-right: 44px; }
  .foot { font-size: 13px; }
  .foot .cols { gap: 24px 16px; }
  .hero .wrap, .band .wrap, .company .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero .wrap { padding-top: 48px; padding-bottom: 56px; }
  .tiles { height: 310px; width: 100%; max-width: 360px; margin: 0 auto; }
  .tile.t1 { width: 140px; height: 140px; top: 24px; }
  .tile.t2 { width: 112px; height: 112px; }
  .tile.t3 { width: 98px; height: 98px; }
  .tile.t4 { width: 78px; height: 78px; }
  .tile.t5 { width: 78px; height: 78px; bottom: 42px; }
  .band, .trust { padding: 56px 0; }
  .company { padding: 56px 0; }
  .band.flip .copy { order: 0; }
  .points { grid-template-columns: 1fr 1fr; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .pagehead { padding: 40px 0 32px; }
  .doc { padding: 28px 20px 64px; }
  .doc th { width: 36%; }
  .doc table.hosts th { width: 58%; }
}
@media (max-width: 420px) { .points { grid-template-columns: 1fr; } }

/* 最初の一枚の絵は、幅が変わっても同じ並びのまま縮む (決まった大きさのままだと、1024px あたりで絵どうしが重なった)。
   aspect-ratio が効かない古いブラウザは、上の決まった大きさのまま */
@supports (aspect-ratio: 1) {
  .tiles { width: 100%; max-width: 505px; height: auto; aspect-ratio: 505 / 440; margin: 0 auto; }
  .tile { height: auto; aspect-ratio: 1; }
  .tile.t1 { width: 40%; height: auto; left: 4%; top: 8%; }
  .tile.t2 { width: 32%; height: auto; right: 4%; top: 0; }
  .tile.t3 { width: 28%; height: auto; left: 40%; bottom: 0; }
  .tile.t4 { width: 22%; height: auto; left: 14%; bottom: 0; }
  .tile.t5 { width: 22%; height: auto; right: 6%; bottom: 14%; }
  @media (max-width: 860px) { .tiles { max-width: 360px; } }
}

/* ── 製品の紹介の頁 (/photobox/・/link/)。本物の画面の写し (シミュレータの見本のデータ) を iPhone の形に入れて並べる ── */
.phero { background: #EEF6FD; background: linear-gradient(180deg, #EAF4FD 0%, #F6FAFE 70%, #FFFFFF 100%); padding: 56px 0 48px; }
.phero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.phero .kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: #4A5A72; font-weight: 700; font-size: 15px; }
.phero .kicker img { width: 44px; height: 44px; border-radius: 23%; box-shadow: 0 8px 20px rgba(8, 26, 59, 0.22); }
.phero h1 { font-size: 36px; font-size: clamp(28px, 4.2vw, 50px); line-height: 1.25; margin: 0 0 16px; word-break: keep-all; overflow-wrap: anywhere; }
.phero p { font-size: 17px; font-size: clamp(16px, 1.5vw, 19px); color: #4A5A72; margin: 0 0 26px; max-width: 30em; }
.phero .shots { display: flex; justify-content: center; align-items: flex-end; gap: 16px; }
.phero .shots .phone:nth-child(2) { margin-bottom: 36px; }

/* iPhone の形。写しは 1206×2622 (iPhone 17 Pro) の画面そのもの */
.phone { width: 260px; max-width: 100%; flex: none; background: #0B0F1A; border-radius: 42px; padding: 7px; box-shadow: 0 26px 50px rgba(8, 26, 59, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.06) inset; }
.phone img { width: 100%; height: auto; border-radius: 36px; display: block; background: #000; }
.phone.sm { width: 200px; border-radius: 34px; padding: 6px; }
.phone.sm img { border-radius: 29px; }
.phone.land { width: 100%; max-width: 560px; border-radius: 38px; padding: 7px; }
.phone.land img { border-radius: 32px; }
.phone-cap { font-size: 13px; color: #4A5A72; text-align: center; margin: 10px 0 0; }
.shots.stack { flex-direction: column; align-items: center; gap: 22px; }
.phero .shots.one .phone.land { max-width: 640px; }
.story .shots.one .phone.land { max-width: 600px; }
.phero.wide .wrap { grid-template-columns: 0.9fr 1.1fr; }
.phero .shots.stack .phone:nth-child(2) { margin-bottom: 0; }
.gallery .grid.land2 { grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 28px; }
.gallery .grid.land2 .phone.land { max-width: none; }
.shotcol { display: flex; flex-direction: column; align-items: center; }

/* 1 日の流れ: 文と写しを左右交互に */
.story { padding: 64px 0; }
.story.soft { background: #F4F7FA; }
.story .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.story.flip .copy { order: 2; }
.story .num { display: inline-block; font-size: 13px; font-weight: 700; color: #0E7490; letter-spacing: 0.06em; margin-bottom: 10px; }
.story h2 { font-size: 30px; font-size: clamp(24px, 3vw, 36px); line-height: 1.3; margin: 0 0 14px; word-break: keep-all; overflow-wrap: anywhere; }
.story p { color: #4A5A72; margin: 0 0 12px; max-width: 30em; }
.story ul { margin: 12px 0 0; padding-left: 20px; color: #4A5A72; }
.story li { margin: 4px 0; }
.story .shots { display: flex; justify-content: center; align-items: flex-start; gap: 18px; flex-wrap: wrap; }

/* 画面の一覧 (格子) */
.gallery { padding: 64px 0; }
.gallery h2 { font-size: 30px; font-size: clamp(24px, 3vw, 36px); margin: 0 0 8px; }
.gallery .lead { color: #4A5A72; margin: 0 0 28px; }
.gallery .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 24px 16px; }
.gallery .shotcol .phone { width: 100%; }
.gallery .phone-cap { font-size: 14px; color: #0B1B33; font-weight: 600; }
.gallery .phone-cap small { display: block; font-weight: 400; color: #4A5A72; font-size: 13px; margin-top: 2px; }

/* できること (札) */
.feats { padding: 64px 0; background: #F4F7FA; }
.feats h2 { font-size: 30px; font-size: clamp(24px, 3vw, 36px); margin: 0 0 24px; }
.feats .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.feats .card { background: #FFFFFF; border: 1px solid #E1E6EC; border-radius: 16px; padding: 18px 18px 16px; }
.feats .card b { display: block; font-size: 16px; margin-bottom: 4px; }
.feats .card span { display: block; color: #4A5A72; font-size: 14px; line-height: 1.7; }

/* こんな現場に・はじめ方 */
.fit { padding: 64px 0; }
.fit .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.fit h2 { font-size: 26px; font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 14px; }
.fit ol, .fit ul { margin: 0; padding-left: 22px; color: #4A5A72; }
.fit li { margin: 6px 0; }
.fit li b { color: #0B1B33; }
.cta { padding: 64px 0 80px; background: #081A3B; color: #FFFFFF; text-align: center; }
.cta h2 { font-size: 28px; font-size: clamp(22px, 3vw, 34px); margin: 0 0 10px; word-break: keep-all; overflow-wrap: anywhere; }
.cta p { color: #C3CBDA; margin: 0 0 24px; }
.cta .btns { justify-content: center; }
.pcshot { border-radius: 14px; border: 1px solid #E1E6EC; box-shadow: 0 20px 44px rgba(8, 26, 59, 0.16); overflow: hidden; background: #FFFFFF; }
.pcshot img { width: 100%; height: auto; display: block; }

@media (max-width: 860px) {
  .phero { padding: 36px 0 40px; }
  .phero .wrap, .phero.wide .wrap, .story .wrap, .fit .wrap { grid-template-columns: 1fr; gap: 28px; }
  .story.flip .copy { order: 0; }
  .phero .shots { gap: 12px; }
  .phero .shots .phone { width: 46%; max-width: 220px; border-radius: 32px; padding: 6px; }
  .phero .shots .phone img { border-radius: 27px; }
  .phero .shots .phone:nth-child(2) { margin-bottom: 24px; }
  .phero .shots.stack .phone.land, .story .shots.stack .phone.land { width: 100%; max-width: 560px; }
  .phero .shots.one .phone.land, .story .shots.one .phone.land { width: 100%; max-width: 560px; border-radius: 32px; padding: 6px; }
  .phero .shots.one .phone.land img, .story .shots.one .phone.land img { border-radius: 27px; }
  .phero .shots.stack .phone.sm, .story .shots.stack .phone.sm { width: 46%; max-width: 200px; margin-bottom: 0; }
  .story { padding: 44px 0; }
  .story .shots .phone { width: 44%; max-width: 230px; }
  .story .shots .phone:only-child { width: 70%; max-width: 260px; }
  .gallery, .feats, .fit { padding: 44px 0; }
  .gallery .grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .gallery .grid.land2 { grid-template-columns: 1fr; gap: 20px; }
}
