:root {
--ink: #0b1724;
--ink-2: #13263a;
--muted: #5d6d80;
--muted-2: #7a8a9c;

--deep: #04101f;
--deep-2: #071b32;
--deep-3: #092947;

--blue: #0b73b8;
--blue-2: #0f93d2;
--cyan: #72e7ff;
--cyan-soft: rgba(114, 231, 255, 0.16);

--paper: #ffffff;
--paper-soft: rgba(255, 255, 255, 0.82);
--line: rgba(12, 31, 52, 0.12);
--line-dark: rgba(255, 255, 255, 0.16);

--shadow-sm: 0 12px 30px rgba(7, 27, 50, 0.10);
--shadow-md: 0 22px 60px rgba(7, 27, 50, 0.16);
--shadow-lg: 0 34px 90px rgba(0, 16, 36, 0.34);

--radius-md: 18px;
--radius-lg: 28px;
--radius-xl: 36px;

--max: 1180px;
}

* {
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
scroll-padding-top: 110px;
}

body {
margin: 0;
position: relative;
isolation: isolate;
font-family:
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
"Noto Sans JP",
"Hiragino Kaku Gothic ProN",
"Yu Gothic",
sans-serif;
color: var(--ink);
background:
radial-gradient(circle at 10% -10%, rgba(34, 155, 225, 0.16), transparent 34rem),
radial-gradient(circle at 95% 5%, rgba(0, 80, 160, 0.12), transparent 36rem),
linear-gradient(180deg, #f7fbff 0%, #eef5fb 42%, #f9fbfd 100%);
-webkit-font-smoothing: antialiased;
text-rendering: geometricPrecision;
}

body::before {
content: "";
position: fixed;
inset: 0;
z-index: 0;
pointer-events: none;
opacity: 0.55;
background:
linear-gradient(90deg, rgba(7, 51, 92, 0.055) 1px, transparent 1px),
linear-gradient(rgba(7, 51, 92, 0.055) 1px, transparent 1px);
background-size: 34px 34px;
mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

body > * {
position: relative;
z-index: 1;
}

::selection {
background: rgba(114, 231, 255, 0.38);
}

a {
color: inherit;
text-decoration: none;
}

a:focus-visible,
button:focus-visible {
outline: 3px solid rgba(114, 231, 255, 0.9);
outline-offset: 4px;
}

/* ==============================
NAVIGATION
============================== */

.nav {
position: fixed;
top: 18px;
left: 22px;
right: 22px;
z-index: 100;
display: flex;
align-items: stretch;
height: 66px;
overflow: hidden;
border: 1px solid rgba(255, 255, 255, 0.34);
border-radius: 999px;
background: rgba(4, 18, 34, 0.76);
color: #fff;
box-shadow: 0 18px 50px rgba(0, 12, 32, 0.28);
backdrop-filter: blur(18px) saturate(140%);
-webkit-backdrop-filter: blur(18px) saturate(140%);
}

.nav::after {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
border-radius: inherit;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 42%),
linear-gradient(90deg, rgba(114, 231, 255, 0.14), transparent 38%, rgba(255, 255, 255, 0.10));
}

.logo {
position: relative;
z-index: 1;
display: flex;
align-items: center;
gap: 12px;
min-width: 250px;
padding: 0 28px;
color: var(--deep-2);
background:
linear-gradient(135deg, rgba(255,255,255,1), rgba(232,245,255,0.98));
}

.logo .mark {
display: grid;
place-items: center;
width: 40px;
height: 40px;
border: 1px solid rgba(11, 115, 184, 0.22);
border-radius: 14px;
color: var(--blue);
font-size: 24px;
line-height: 1;
background:
radial-gradient(circle at 35% 25%, rgba(114,231,255,0.52), transparent 42%),
linear-gradient(145deg, #ffffff, #e8f5ff);
box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 10px 24px rgba(7, 47, 88, 0.12);
}

.logo strong {
display: block;
font-size: 18px;
line-height: 1.1;
letter-spacing: -0.03em;
}

.logo span {
display: block;
margin-top: 4px;
color: #5a7088;
font-size: 9px;
font-weight: 800;
letter-spacing: 0.14em;
}

.nav nav {
position: relative;
z-index: 1;
display: flex;
flex: 1;
justify-content: flex-end;
min-width: 0;
overflow-x: auto;
scrollbar-width: none;
}

.nav nav::-webkit-scrollbar {
display: none;
}

.nav nav a {
position: relative;
display: flex;
align-items: center;
flex: 0 0 auto;
padding: 0 clamp(14px, 1.8vw, 26px);
border-left: 1px solid rgba(255, 255, 255, 0.14);
color: rgba(255, 255, 255, 0.88);
font-size: 13px;
font-weight: 850;
letter-spacing: 0.015em;
transition:
color 180ms ease,
background 180ms ease;
}

.nav nav a::before {
content: "";
position: absolute;
left: 18px;
right: 18px;
bottom: 12px;
height: 2px;
border-radius: 999px;
background: var(--cyan);
transform: scaleX(0);
transform-origin: left;
transition: transform 180ms ease;
}

.nav nav a:hover {
color: #fff;
background: rgba(255, 255, 255, 0.08);
}

.nav nav a:hover::before {
transform: scaleX(1);
}

/* ==============================
HERO
============================== */

.hero {
position: relative;
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
align-items: end;
gap: clamp(32px, 5vw, 72px);
min-height: 820px;
padding: 180px 8vw 92px;
overflow: hidden;
color: #fff;
background:
radial-gradient(circle at 76% 22%, rgba(114, 231, 255, 0.38), transparent 16rem),
radial-gradient(circle at 35% 60%, rgba(23, 139, 212, 0.28), transparent 24rem),
linear-gradient(145deg, #020812 0%, #071b32 42%, #032a56 70%, #020914 100%);
}

.hero::before {
content: "";
position: absolute;
inset: 0;
z-index: 0;
opacity: 0.38;
background:
linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
background-size: 42px 42px;
mask-image:
radial-gradient(circle at 50% 45%, #000 0%, transparent 68%);
}

.hero::after {
content: "";
position: absolute;
inset: -20%;
z-index: 0;
opacity: 0.28;
background:
repeating-linear-gradient(
112deg,
rgba(255,255,255,0.16) 0 1px,
transparent 1px 22px
);
transform: rotate(-1deg);
}

.heroText,
.heroCard,
.buttons {
position: relative;
z-index: 2;
}

.hero .kicker {
margin: 0 0 18px;
color: var(--cyan);
font-size: 12px;
font-weight: 900;
letter-spacing: 0.22em;
}

.hero h1 {
margin: 0 0 14px;
max-width: 1000px;
font-size: clamp(56px, 10vw, 128px);
line-height: 0.88;
letter-spacing: -0.085em;
}

.hero h2 {
margin: 0 0 30px;
max-width: 1040px;
font-size: clamp(31px, 5vw, 70px);
line-height: 1.03;
letter-spacing: -0.065em;
text-wrap: balance;
}

.heroText p {
max-width: 820px;
margin: 0 0 16px;
color: rgba(242, 250, 255, 0.90);
font-size: clamp(16px, 1.6vw, 20px);
line-height: 1.92;
font-weight: 560;
}

.heroText .sublead {
color: rgba(221, 242, 255, 0.82);
}

.buttons {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 34px;
}

.buttons a {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 48px;
padding: 14px 22px;
border: 1px solid rgba(11, 115, 184, 0.30);
border-radius: 999px;
color: #fff;
background:
linear-gradient(135deg, var(--blue), #084c91);
box-shadow: 0 14px 32px rgba(8, 76, 145, 0.20);
font-size: 14px;
font-weight: 900;
letter-spacing: 0.01em;
transition:
transform 180ms ease,
box-shadow 180ms ease,
background 180ms ease;
}

.buttons a:hover {
transform: translateY(-2px);
box-shadow: 0 20px 42px rgba(8, 76, 145, 0.30);
}

.hero .buttons a {
border-color: rgba(255, 255, 255, 0.22);
background: rgba(255, 255, 255, 0.10);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
}

.hero .buttons a:first-child {
color: var(--deep);
border-color: rgba(255, 255, 255, 0.90);
background: #fff;
}

.hero .buttons a:hover {
background: rgba(255, 255, 255, 0.18);
}

.hero .buttons a:first-child:hover {
background: #eefaff;
}

.heroCard {
align-self: end;
padding: 28px;
border: 1px solid rgba(255, 255, 255, 0.46);
border-radius: var(--radius-lg);
color: #eaf8ff;
background:
linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
box-shadow: var(--shadow-lg);
backdrop-filter: blur(22px) saturate(145%);
-webkit-backdrop-filter: blur(22px) saturate(145%);
}

.heroCard::before {
content: "";
display: block;
width: 54px;
height: 3px;
margin-bottom: 18px;
border-radius: 999px;
background: var(--cyan);
box-shadow: 0 0 18px rgba(114, 231, 255, 0.78);
}

.heroCard span {
display: block;
color: var(--cyan);
font-size: 12px;
font-weight: 900;
letter-spacing: 0.16em;
text-transform: uppercase;
}

.heroCard strong {
display: block;
margin: 10px 0 18px;
color: #fff;
font-size: 34px;
line-height: 1;
letter-spacing: -0.06em;
}

.heroCard p {
margin: 14px 0 0;
color: rgba(237, 249, 255, 0.86);
font-size: 14px;
line-height: 1.65;
font-weight: 600;
}

.heroCard b {
color: #fff;
}

/* ==============================
SECTIONS
============================== */

.section {
width: min(var(--max), calc(100% - 48px));
margin: clamp(72px, 9vw, 118px) auto;
}

.kicker {
margin: 0 0 14px;
color: var(--blue);
font-size: 12px;
font-weight: 950;
letter-spacing: 0.20em;
text-transform: uppercase;
}

.section h2 {
margin: 0 0 20px;
max-width: 980px;
color: var(--ink);
font-size: clamp(34px, 5.2vw, 66px);
line-height: 1.02;
letter-spacing: -0.065em;
text-wrap: balance;
}

.lead {
max-width: 920px;
margin: 0;
color: var(--muted);
font-size: 17px;
line-height: 1.95;
font-weight: 500;
}

.sublead {
margin-top: 1rem;
}

.section p a {
color: var(--blue);
font-weight: 850;
text-decoration: underline;
text-decoration-thickness: 1px;
text-underline-offset: 3px;
}

/* ==============================
DAIV BLOCK
============================== */

.daivBlock {
display: grid;
grid-template-columns: 0.92fr 1.08fr;
gap: 28px;
align-items: center;
margin-top: 34px;
}

.darkCard {
position: relative;
overflow: hidden;
padding: 36px;
border: 1px solid rgba(255, 255, 255, 0.10);
border-radius: var(--radius-lg);
color: #fff;
background:
radial-gradient(circle at 18% 0%, rgba(114,231,255,0.18), transparent 18rem),
linear-gradient(145deg, #051323, #082a4a);
box-shadow: var(--shadow-md);
}

.darkCard::after {
content: "";
position: absolute;
right: -90px;
bottom: -90px;
width: 220px;
height: 220px;
border: 1px solid rgba(114, 231, 255, 0.24);
border-radius: 50%;
}

.num {
display: inline-grid;
place-items: center;
width: 56px;
height: 56px;
border: 1px solid rgba(255,255,255,0.30);
border-radius: 18px;
color: var(--deep);
background: #fff;
font-weight: 950;
box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.darkCard h3 {
margin: 24px 0 8px;
font-size: 44px;
line-height: 1;
letter-spacing: -0.06em;
}

.darkCard h4 {
margin: 0 0 22px;
color: var(--cyan);
font-size: 16px;
line-height: 1.45;
letter-spacing: -0.02em;
}

.darkCard p {
position: relative;
z-index: 1;
margin: 0 0 16px;
color: rgba(238, 248, 255, 0.90);
font-size: 15px;
line-height: 1.92;
}

.gifFrame {
padding: 14px;
border: 1px solid rgba(12, 31, 52, 0.12);
border-radius: var(--radius-lg);
background:
linear-gradient(180deg, rgba(255,255,255,0.96), rgba(238,247,255,0.92));
box-shadow: var(--shadow-md);
}

.gifFrame img {
display: block;
width: 100%;
height: auto;
border-radius: 20px;
}

/* ==============================
CARDS
============================== */

.cards,
.projectGrid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 20px;
margin-top: 28px;
}

.cards article,
.projectGrid article {
position: relative;
overflow: hidden;
padding: 30px;
border: 1px solid var(--line);
border-radius: var(--radius-lg);
background:
linear-gradient(180deg, rgba(255,255,255,0.96), rgba(250,253,255,0.90));
box-shadow: var(--shadow-sm);
transition:
transform 180ms ease,
box-shadow 180ms ease,
border-color 180ms ease;
}

.cards article::before,
.projectGrid article::before {
content: "";
position: absolute;
inset: 0 0 auto;
height: 4px;
background:
linear-gradient(90deg, var(--blue), var(--cyan));
opacity: 0.75;
}

.cards article:hover,
.projectGrid article:hover {
transform: translateY(-4px);
border-color: rgba(11, 115, 184, 0.24);
box-shadow: var(--shadow-md);
}

.cards span {
display: inline-grid;
place-items: center;
min-width: 42px;
height: 32px;
padding: 0 10px;
border: 1px solid rgba(11, 115, 184, 0.18);
border-radius: 999px;
color: var(--blue);
background: rgba(11, 115, 184, 0.07);
font-size: 13px;
font-weight: 950;
}

.cards h3,
.projectGrid h3 {
margin: 18px 0 8px;
color: var(--ink-2);
font-size: 27px;
line-height: 1.18;
letter-spacing: -0.05em;
}

.cards h4 {
margin: 0 0 16px;
color: var(--blue);
font-size: 14px;
line-height: 1.45;
letter-spacing: -0.01em;
}

.cards p,
.projectGrid p,
.note {
color: var(--muted);
line-height: 1.88;
}

.cards p,
.projectGrid p {
margin: 14px 0 0;
font-size: 15px;
}

/* ==============================
BLUE / PROJECT SECTION
============================== */

.section.blue {
width: 100%;
max-width: none;
margin: clamp(72px, 9vw, 118px) 0;
padding:
clamp(70px, 8vw, 104px)
max(24px, calc((100vw - var(--max)) / 2));
position: relative;
overflow: hidden;
color: #fff;
background:
radial-gradient(circle at 16% 18%, rgba(114, 231, 255, 0.20), transparent 26rem),
radial-gradient(circle at 88% 10%, rgba(15, 147, 210, 0.24), transparent 30rem),
linear-gradient(135deg, #020b15 0%, #06213b 50%, #04111f 100%);
}

.section.blue::before {
content: "";
position: absolute;
inset: 0;
opacity: 0.24;
pointer-events: none;
background:
linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px),
linear-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
background-size: 40px 40px;
}

.blue > * {
position: relative;
z-index: 1;
}

.blue .kicker,
.blue h2 {
color: #fff;
}

.blue .lead {
color: rgba(238, 248, 255, 0.84);
}

.blue .projectGrid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blue .projectGrid article {
border-color: rgba(255, 255, 255, 0.18);
background:
linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.07));
box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
}

.blue .projectGrid h3 {
color: #fff;
}

.blue .projectGrid p {
color: rgba(238, 248, 255, 0.86);
}

.blue .projectGrid a {
color: var(--cyan);
font-weight: 850;
text-decoration: underline;
text-underline-offset: 3px;
}

/* ==============================
NOTICES / TABLES / IP
============================== */

.notice {
margin-top: 22px;
padding: 20px 22px;
border: 1px solid rgba(11, 115, 184, 0.16);
border-left: 4px solid var(--blue);
border-radius: 18px;
color: var(--ink-2);
background:
linear-gradient(180deg, rgba(255,255,255,0.92), rgba(245,251,255,0.88));
box-shadow: var(--shadow-sm);
}

.notice p {
margin: 0 0 10px;
line-height: 1.8;
}

.notice p:last-child {
margin-bottom: 0;
}

.blue .notice {
border-color: rgba(255, 255, 255, 0.18);
border-left-color: var(--cyan);
color: rgba(238, 248, 255, 0.90);
background: rgba(255, 255, 255, 0.10);
box-shadow: none;
}

.ipTable {
width: 100%;
min-width: 860px;
margin-top: 30px;
border-collapse: separate;
border-spacing: 0;
overflow: hidden;
border: 1px solid var(--line);
border-radius: 22px;
background: #fff;
box-shadow: var(--shadow-sm);
font-size: 14px;
}

.ipTable thead {
color: #fff;
background:
linear-gradient(135deg, #071b32, #0a4979);
}

.ipTable th,
.ipTable td {
padding: 18px 18px;
text-align: left;
vertical-align: top;
border-bottom: 1px solid rgba(12, 31, 52, 0.10);
}

.ipTable th {
font-size: 12px;
font-weight: 950;
letter-spacing: 0.08em;
text-transform: uppercase;
white-space: nowrap;
}

.ipTable td {
color: var(--ink-2);
line-height: 1.72;
}

.ipTable tbody tr {
transition: background 160ms ease;
}

.ipTable tbody tr:hover {
background: rgba(11, 115, 184, 0.045);
}

.ipTable tbody tr:last-child td {
border-bottom: 0;
}

.tag {
display: inline-flex;
align-items: center;
min-height: 28px;
padding: 0 10px;
border: 1px solid rgba(11, 115, 184, 0.18);
border-radius: 999px;
color: #075d94;
background: rgba(11, 115, 184, 0.08);
font-size: 12px;
font-weight: 950;
white-space: nowrap;
}

.smallText {
color: var(--muted-2);
font-size: 13px;
line-height: 1.75;
}

/* ==============================
TRANSACTION
============================== */

.transactionBox {
position: relative;
overflow: hidden;
margin-top: 22px;
padding: 30px;
border: 1px solid var(--line);
border-radius: var(--radius-lg);
background:
linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,252,255,0.92));
box-shadow: var(--shadow-sm);
}

.transactionBox::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 5px;
height: 100%;
background:
linear-gradient(180deg, var(--blue), var(--cyan));
}

.transactionBox h3 {
margin: 0 0 14px;
color: var(--ink-2);
font-size: 24px;
letter-spacing: -0.04em;
}

.transactionBox ul {
margin: 0;
padding-left: 1.2rem;
}

.transactionBox li {
margin: 10px 0;
color: var(--muted);
line-height: 1.72;
}

/* ==============================
COMPANY
============================== */

.company {
display: grid;
grid-template-columns: 190px 1fr;
margin-top: 28px;
overflow: hidden;
border: 1px solid var(--line);
border-radius: 22px;
background: rgba(12, 31, 52, 0.10);
box-shadow: var(--shadow-sm);
}

.company dt,
.company dd {
margin: 0;
padding: 18px 22px;
border-bottom: 1px solid rgba(12, 31, 52, 0.08);
background: #fff;
}

.company dt {
color: var(--muted);
font-weight: 900;
}

.company dd {
color: var(--ink-2);
font-weight: 760;
}

.company dd a {
color: var(--blue);
text-decoration: underline;
text-underline-offset: 3px;
}

.company dt:nth-last-of-type(1),
.company dd:nth-last-of-type(1) {
border-bottom: 0;
}

/* ==============================
FOOTER
============================== */

footer {
margin-top: 80px;
padding: 48px 24px 64px;
color: rgba(238, 248, 255, 0.68);
text-align: center;
background:
linear-gradient(135deg, #020914, #071b32);
font-size: 13px;
letter-spacing: 0.04em;
}

/* ==============================
RESPONSIVE
============================== */

@media (max-width: 1080px) {
.nav {
top: 12px;
left: 12px;
right: 12px;
}

.logo {
min-width: 220px;
padding: 0 20px;
}

.nav nav {
justify-content: flex-start;
}

.hero {
grid-template-columns: 1fr;
align-items: start;
min-height: auto;
padding-top: 150px;
}

.heroCard {
max-width: 520px;
}

.daivBlock {
grid-template-columns: 1fr;
}

.cards,
.projectGrid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blue .projectGrid {
grid-template-columns: 1fr;
}
}

@media (max-width: 760px) {
html {
scroll-padding-top: 88px;
}

.nav {
position: sticky;
top: 0;
left: 0;
right: 0;
height: auto;
flex-wrap: wrap;
border-radius: 0;
border-left: 0;
border-right: 0;
}

.logo {
width: 100%;
min-width: 0;
height: 58px;
padding: 0 18px;
}

.logo .mark {
width: 36px;
height: 36px;
border-radius: 12px;
font-size: 21px;
}

.logo strong {
font-size: 17px;
}

.nav nav {
width: 100%;
background: rgba(4, 18, 34, 0.72);
}

.nav nav a {
height: 44px;
padding: 0 15px;
font-size: 12px;
}

.nav nav a::before {
bottom: 8px;
left: 14px;
right: 14px;
}

.hero {
padding: 64px 22px 56px;
}

.hero .kicker {
font-size: 10px;
line-height: 1.6;
}

.hero h1 {
font-size: clamp(48px, 16vw, 72px);
letter-spacing: -0.08em;
}

.hero h2 {
font-size: clamp(30px, 10vw, 44px);
line-height: 1.08;
}

.heroText p {
font-size: 15px;
line-height: 1.82;
}

.buttons {
gap: 10px;
}

.buttons a {
width: 100%;
min-height: 48px;
padding: 13px 18px;
}

.heroCard {
padding: 24px;
border-radius: 24px;
}

.heroCard strong {
font-size: 30px;
}

.section {
width: calc(100% - 32px);
margin: 68px auto;
}

.section h2 {
font-size: clamp(32px, 12vw, 46px);
}

.lead {
font-size: 15px;
line-height: 1.88;
}

.darkCard,
.cards article,
.projectGrid article,
.transactionBox {
padding: 24px;
border-radius: 24px;
}

.darkCard h3 {
font-size: 38px;
}

.cards,
.projectGrid {
grid-template-columns: 1fr;
}

.section.blue {
padding: 64px 16px;
}

.ipTable {
display: block;
overflow-x: auto;
width: 100%;
min-width: 0;
white-space: nowrap;
border-radius: 18px;
}

.ipTable th,
.ipTable td {
padding: 15px 14px;
}

.company {
grid-template-columns: 1fr;
}

.company dt {
padding-bottom: 6px;
border-bottom: 0;
color: var(--blue);
}

.company dd {
padding-top: 6px;
}
}

@media (max-width: 420px) {
.hero {
padding-left: 18px;
padding-right: 18px;
}

.section {
width: calc(100% - 28px);
}

.cards h3,
.projectGrid h3 {
font-size: 24px;
}
}

@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}

*,
*::before,
*::after {
transition: none !important;
animation: none !important;
}
}
/* === PC text-size tuning: keep mobile as-is === */

/* ノートPC〜デスクトップ */
@media (min-width: 901px) {
/* ヒーロー本文 */
.heroText p,
.hero p {
font-size: 19px;
line-height: 1.95;
max-width: 840px;
}

.heroText .sublead {
font-size: 19px;
line-height: 1.95;
}

/* 右上カード本文 */
.heroCard p {
font-size: 16px;
line-height: 1.78;
}

/* 各セクションの導入文 */
.lead {
font-size: 18px;
line-height: 1.95;
max-width: 980px;
}

/* DAIV濃紺カード本文 */
.darkCard p {
font-size: 16.5px;
line-height: 1.95;
}

.darkCard h4 {
font-size: 19px;
line-height: 1.55;
}

/* 通常カード本文 */
.cards p,
.projectGrid p {
font-size: 16.5px;
line-height: 1.9;
}

.cards h4 {
font-size: 15px;
line-height: 1.55;
}

/* notice系 */
.notice p {
font-size: 16px;
line-height: 1.85;
}

.smallText {
font-size: 14px;
line-height: 1.78;
}

/* 取引ボックス */
.transactionBox li {
font-size: 16px;
line-height: 1.8;
}

/* 会社情報 */
.company dt,
.company dd {
font-size: 16px;
line-height: 1.7;
}

/* IP表 */
.ipTable {
font-size: 15px;
}

.ipTable td {
font-size: 15px;
line-height: 1.75;
}

.ipTable th {
font-size: 12.5px;
}
}

/* 大きめデスクトップではさらに少しだけ拡大 */
@media (min-width: 1280px) {
.heroText p,
.hero p,
.heroText .sublead {
font-size: 20px;
line-height: 2;
}

.heroCard p {
font-size: 16.5px;
}

.lead {
font-size: 19px;
}

.cards p,
.projectGrid p,
.darkCard p {
font-size: 17px;
}

.transactionBox li,
.notice p,
.company dt,
.company dd {
font-size: 16.5px;
}

.ipTable td {
font-size: 15.5px;
}
}

/* === end PC text-size tuning === */

/* === DAIV final desktop polish START === */

/* PCでheroCard本文が .hero p に巻き込まれるのを補正 */
@media (min-width: 901px) {
.hero .heroCard p {
max-width: none;
font-size: 16px;
line-height: 1.78;
}
}

@media (min-width: 1280px) {
.hero .heroCard p {
max-width: none;
font-size: 16.5px;
line-height: 1.78;
}
}

/* PCブラウザ専用：横長画面で間延びさせない */
@media (min-width: 1081px) {
:root {
--desktop-max: 1280px;
}

.nav {
left: 50%;
right: auto;
width: min(var(--desktop-max), calc(100% - 56px));
transform: translateX(-50%);
}

.nav nav a {
padding: 0 clamp(13px, 1.45vw, 21px);
font-size: 12.5px;
}

.hero {
grid-template-columns: minmax(0, 1fr) 390px;
gap: 64px;
min-height: 820px;
padding-left: max(72px, calc((100vw - var(--desktop-max)) / 2));
padding-right: max(72px, calc((100vw - var(--desktop-max)) / 2));
}

.heroText {
max-width: 880px;
}

.hero h1 {
font-size: clamp(78px, 7.7vw, 124px);
}

.hero h2 {
max-width: 920px;
font-size: clamp(38px, 3.7vw, 62px);
}

.section {
width: min(var(--desktop-max), calc(100% - 72px));
margin: 108px auto;
}

/* Valueは4枚なのでPCでは4列 */
#value .cards {
grid-template-columns: repeat(4, minmax(0, 1fr));
}

#value .cards article {
min-height: 330px;
}

#value .cards h3 {
font-size: 25px;
}

/* Concept内の2枚カードは2列 */
#concept .cards {
grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Technologyは文章量が多いので2列 */
#technology .cards {
grid-template-columns: repeat(2, minmax(0, 1fr));
}

#technology .cards article {
min-height: 360px;
}

.daivBlock {
grid-template-columns: 0.9fr 1.1fr;
gap: 34px;
}

.darkCard {
min-height: 520px;
}

.section.blue {
padding-left: max(72px, calc((100vw - var(--desktop-max)) / 2));
padding-right: max(72px, calc((100vw - var(--desktop-max)) / 2));
}

.blue .projectGrid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* IP表をPCで資産表として読みやすく */
#ip .ipTable {
min-width: 0;
table-layout: fixed;
white-space: normal;
}

#ip .ipTable th:nth-child(1),
#ip .ipTable td:nth-child(1) {
width: 15%;
}

#ip .ipTable th:nth-child(2),
#ip .ipTable td:nth-child(2) {
width: 25%;
}

#ip .ipTable th:nth-child(3),
#ip .ipTable td:nth-child(3) {
width: 30%;
}

#ip .ipTable th:nth-child(4),
#ip .ipTable td:nth-child(4) {
width: 30%;
}

/* TransactionはPCで2カラム */
#transaction {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
column-gap: 26px;
row-gap: 24px;
}

#transaction > .kicker,
#transaction > h2,
#transaction > .lead,
#transaction > .buttons {
grid-column: 1 / -1;
}

#transaction .transactionBox {
margin-top: 0;
min-height: 270px;
}
}

/* 大型ディスプレイ */
@media (min-width: 1440px) {
:root {
--desktop-max: 1340px;
}

.hero {
grid-template-columns: minmax(0, 1fr) 410px;
gap: 78px;
min-height: 860px;
}

.hero h1 {
font-size: 132px;
}

.hero h2 {
font-size: 64px;
}
}

/* 小型ノートPCでは詰まり防止 */
@media (min-width: 901px) and (max-width: 1180px) {
.nav nav a {
padding: 0 13px;
font-size: 12px;
}

.logo {
min-width: 220px;
padding: 0 20px;
}

.hero {
grid-template-columns: 1fr;
min-height: auto;
padding-top: 150px;
}

.heroCard {
max-width: 540px;
}

#value .cards,
#technology .cards {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

/* Safari向けのmask補助 */
body::before {
-webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
}

.hero::before {
-webkit-mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 68%);
}

/* === DAIV final desktop polish END === */

/* === DAIV desktop readability boost START === */

/* スマホは触らない。PC/横長タブレットだけ本文を明確に拡大 */
@media (min-width: 761px) {
  /* セクション導入文 */
  .lead {
    font-size: 21px !important;
    line-height: 2.05 !important;
    font-weight: 560 !important;
    max-width: 1040px !important;
  }

  /* 通常カード本文 */
  .cards p,
  .projectGrid p {
    font-size: 18.5px !important;
    line-height: 2.02 !important;
    font-weight: 520 !important;
  }

  /* 通常カードの英語サブタイトル */
  .cards h4 {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  /* 通常カード見出し */
  .cards h3,
  .projectGrid h3 {
    font-size: 31px !important;
    line-height: 1.18 !important;
  }

  /* DAIV濃紺カード本文 */
  .darkCard p {
    font-size: 18.5px !important;
    line-height: 2.02 !important;
    font-weight: 520 !important;
  }

  .darkCard h4 {
    font-size: 17px !important;
    line-height: 1.6 !important;
  }

  /* ヒーロー本文 */
  .heroText p,
  .heroText .sublead {
    font-size: 21px !important;
    line-height: 2.02 !important;
    font-weight: 560 !important;
  }

  /* 右上カード本文だけは巨大化させない */
  .hero .heroCard p {
    font-size: 17px !important;
    line-height: 1.82 !important;
    font-weight: 650 !important;
  }

  /* notice / IP / Transaction */
  .notice p,
  .transactionBox li,
  .company dt,
  .company dd {
    font-size: 18px !important;
    line-height: 1.9 !important;
  }

  .ipTable td {
    font-size: 17px !important;
    line-height: 1.85 !important;
  }

  .ipTable th {
    font-size: 13.5px !important;
  }
}

/* PCではカード内の余白も増やして、文字拡大後も窮屈に見せない */
@media (min-width: 1081px) {
  .cards article,
  .projectGrid article {
    padding: 36px !important;
  }

  .darkCard {
    padding: 42px !important;
  }

  #value .cards article {
    min-height: 380px !important;
  }

  #concept .cards article,
  #technology .cards article {
    min-height: 420px !important;
  }
}

/* 大型ディスプレイではさらに少しだけ上げる */
@media (min-width: 1440px) {
  .lead {
    font-size: 22px !important;
  }

  .cards p,
  .projectGrid p,
  .darkCard p {
    font-size: 19px !important;
  }

  .heroText p,
  .heroText .sublead {
    font-size: 22px !important;
  }
}

/* === DAIV desktop readability boost END === */
