* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    color: #1d2635;
    background: #edf3f8;
    font-family: "Yu Gothic", "YuGothic", "Meiryo", "Hiragino Kaku Gothic ProN", Arial, sans-serif;
    line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; vertical-align: middle; }
.wrap { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.top-logo-strip {
    background: #fff;
    border-bottom: 1px solid #dfe5ec;
    box-shadow: 0 1px 10px rgba(19, 45, 70, .06);
}
.top-logo-strip .wrap { padding: 0; }
.logo-strip-img { display: block; width: 900px; max-width: 100%; height: auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #dce5ef;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 70px; }
.site-name { display: flex; flex-direction: column; line-height: 1.35; }
.site-name strong { font-size: 22px; letter-spacing: .04em; color: #17263f; }
.site-name span { font-size: 12px; color: #65758b; letter-spacing: .08em; }
.nav { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav a { padding: 10px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #2f4056; }
.nav a:hover { background: #edf4fb; color: #0b5a99; }
.nav .nav-cta { background: linear-gradient(135deg, #0b64aa, #103e75); color: #fff; box-shadow: 0 8px 18px rgba(10, 83, 151, .22); }
.hero { padding: 34px 0 26px; background: linear-gradient(180deg, #f7fbff 0%, #edf3f8 100%); }
.hero-card { overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 24px 60px rgba(20, 43, 71, .14); border: 1px solid #dfe7ef; }
.hero-card img { width: 100%; display: block; }
.hero-copy { padding: 30px 36px 36px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: end; }
.eyebrow { margin: 0 0 8px; color: #0d67ab; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 14px; font-size: clamp(30px, 4vw, 52px); line-height: 1.18; letter-spacing: .03em; color: #0f243d; }
h1 span, h2 span { color: #0b66ad; }
.lead { margin-bottom: 0; color: #4b5f76; font-size: 16px; }
.action-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 18px; border-radius: 999px; background: #fff; border: 1px solid #cbd8e5; color: #163252; font-weight: 800; box-shadow: 0 8px 18px rgba(18,43,72,.08); }
.btn.primary { background: linear-gradient(135deg, #0b65aa, #123d73); color: #fff; border: none; }
.section { padding: 42px 0; }
.section-title { margin-bottom: 24px; display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.section-title h2 { margin-bottom: 0; font-size: clamp(24px, 3vw, 36px); line-height: 1.35; color: #102641; }
.section-title p:last-child { max-width: 520px; margin-bottom: 0; color: #536a82; }
.info-panel { background: #fff; border-radius: 22px; border: 1px solid #dde7f0; box-shadow: 0 16px 45px rgba(18,43,72,.1); overflow: hidden; }
.image-intro { display: block; overflow: hidden; }
.image-intro > img { display: block; width: 100%; height: auto; object-fit: contain; }
.intro-text { padding: 26px 30px; }
.intro-text h2 { font-size: 28px; line-height: 1.35; margin-bottom: 12px; }
.intro-text p { color: #4d6074; margin-bottom: 16px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list span { padding: 7px 10px; border-radius: 999px; background: #eef6ff; color: #0b5f9f; font-size: 12px; font-weight: 800; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card { padding: 22px 20px; background: #fff; border: 1px solid #dce7f0; border-radius: 20px; box-shadow: 0 12px 30px rgba(18,43,72,.08); }
.service-card b { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 12px; background: #0b65aa; color: #fff; font-size: 14px; }
.service-card h3 { margin-bottom: 8px; font-size: 18px; color: #142945; }
.service-card p { margin-bottom: 0; color: #53687d; font-size: 14px; }
.flow-section { background: linear-gradient(135deg, #0c2f58, #0a67a9); color: #fff; padding: 48px 0; }
.flow-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: center; }
.flow-grid h2 { font-size: clamp(24px, 3vw, 38px); line-height: 1.35; margin-bottom: 12px; }
.flow-grid p { color: rgba(255,255,255,.82); }
.flow-images { display: grid; gap: 14px; }
.flow-images img { width: 100%; border-radius: 18px; box-shadow: 0 18px 35px rgba(0,0,0,.2); background: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.steps div { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.steps b { display: block; color: #b9dcff; font-size: 22px; line-height: 1; }
.steps strong { display: block; margin: 8px 0 4px; }
.steps span { font-size: 13px; color: rgba(255,255,255,.78); }
.content-layout { display: grid; grid-template-columns: 1fr 280px; gap: 22px; align-items: start; }
.card-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.note-card { background: #fff; border: 1px solid #dce7f0; border-radius: 20px; padding: 22px; box-shadow: 0 12px 30px rgba(18,43,72,.08); }
.note-card h3 { color: #142945; margin-bottom: 8px; }
.note-card p { color: #53687d; margin-bottom: 0; }
.side-box { padding: 18px; border-radius: 22px; background: #fff; border: 1px solid #dce7f0; box-shadow: 0 12px 30px rgba(18,43,72,.08); position: sticky; top: 92px; }
.side-box img { width: 100%; border-radius: 14px; margin-bottom: 14px; }
.side-box h3 { font-size: 20px; margin-bottom: 6px; }
.side-box p { font-size: 14px; color: #596d82; }
.company-table { width: 100%; border-collapse: separate; border-spacing: 0 10px; }
.company-table th { width: 150px; padding: 16px; text-align: left; background: #eef5fb; border-radius: 14px 0 0 14px; color: #183656; vertical-align: top; }
.company-table td { padding: 16px; background: #fff; border-radius: 0 14px 14px 0; color: #26384d; }
.business-list { counter-reset: item; list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.business-list li { counter-increment: item; display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: start; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid #dce7f0; box-shadow: 0 10px 24px rgba(18,43,72,.06); }
.business-list li::before { content: counter(item, decimal-leading-zero); display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 14px; background: #0b65aa; color: #fff; font-weight: 900; }
.cta { margin: 36px auto 56px; padding: 28px; border-radius: 24px; background: linear-gradient(135deg, #fff, #eef6ff); border: 1px solid #d6e5f4; box-shadow: 0 18px 45px rgba(18,43,72,.1); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cta h2 { margin-bottom: 6px; font-size: clamp(22px, 2.6vw, 32px); }
.cta p { margin: 0; color: #55697e; }
.site-footer { padding: 24px 0; color: #6a7a8d; font-size: 13px; background: #fff; border-top: 1px solid #dce5ef; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.page-hero { padding: 34px 0 12px; }
.page-hero .hero-card { padding: 0; }
.page-hero h1 { margin: 0; }
.page-lead { padding: 26px 32px 30px; display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.page-lead p { max-width: 620px; margin-bottom: 0; color: #53687d; }
@media (max-width: 920px) {
    .header-inner, .hero-copy, .section-title, .image-intro, .flow-grid, .content-layout, .page-lead, .cta { grid-template-columns: 1fr; flex-direction: column; align-items: stretch; }
    .action-row { justify-content: flex-start; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .card-list { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .side-box { position: static; }
}
@media (max-width: 560px) {
    .wrap { width: min(100% - 20px, 1100px); }
    .site-name strong { font-size: 18px; }
    .nav { justify-content: flex-start; }
    .nav a { padding: 8px 10px; font-size: 12px; }
    .hero-copy, .intro-text, .page-lead { padding: 20px; }
    .service-grid { grid-template-columns: 1fr; }
    .company-table th, .company-table td { display: block; width: 100%; border-radius: 14px; }
    .company-table th { margin-top: 8px; }
    .business-list li { grid-template-columns: 1fr; }
}


/* contact.aspx visual match only */
.contact-main {
    padding: 34px 0 46px;
    background: linear-gradient(180deg, #f7fbff 0%, #edf3f8 100%);
}
.contact-head {
    margin-bottom: 22px;
    padding: 28px 32px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #dfe7ef;
    box-shadow: 0 16px 45px rgba(18,43,72,.09);
}
.contact-head h1 {
    margin-bottom: 8px;
    font-size: clamp(28px, 3vw, 42px);
}
.contact-head p {
    margin-bottom: 0;
    color: #52677f;
}
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 22px;
    align-items: start;
}
.contact-form-card,
.contact-side-card,
.contact-complete-card {
    background: #fff;
    border: 1px solid #dfe7ef;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(18,43,72,.10);
}
.contact-form-card { overflow: hidden; }
.contact-form-title {
    padding: 22px 26px;
    background: linear-gradient(135deg, #0b65aa, #123d73);
    color: #fff;
}
.contact-form-title h2,
.contact-form-title h3,
.contact-form-title p { margin-bottom: 0; }
.contact-form-title h2 { font-size: 24px; line-height: 1.35; }
.contact-form-title p { margin-top: 6px; opacity: .92; }
.contact-form-body { padding: 22px 24px 26px; }
.contact-error { color: #d40000; font-weight: 700; }
.his { color: #d40000; font-weight: 800; }
.contact-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}
.contact-table th,
.contact-table td {
    vertical-align: top;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.7;
}
.contact-table th {
    width: 210px;
    color: #102641;
    text-align: left;
    background: #eef6ff;
    border: 1px solid #d5e4f2;
    border-right: none;
    border-radius: 14px 0 0 14px;
}
.contact-table td {
    background: #fff;
    border: 1px solid #d5e4f2;
    border-left: none;
    border-radius: 0 14px 14px 0;
    color: #40536b;
}
.contact-table input[type="text"],
.contact-table textarea {
    width: 100% !important;
    max-width: 100%;
    padding: 11px 12px;
    border: 1px solid #cbd8e5;
    border-radius: 12px;
    background: #fbfdff;
    color: #1d2635;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.6;
    box-shadow: inset 0 1px 2px rgba(18,43,72,.04);
}
.contact-table input[type="text"]:focus,
.contact-table textarea:focus {
    outline: none;
    border-color: #0b65aa;
    box-shadow: 0 0 0 3px rgba(11,101,170,.14);
    background: #fff;
}
#TextBox1 { min-height: 220px !important; }
#TextBox4 { min-height: 78px !important; }
#TextBox3,
#TextBox7,
#TextBox8 { max-width: 210px !important; }
#TextBox6,
#TextBox9,
#TextBox5 { max-width: 360px !important; }
#Button1 {
    width: auto !important;
    height: auto !important;
    min-height: 46px;
    padding: 0 30px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #0b65aa, #123d73);
    color: #fff;
    font-weight: 800;
    font-family: inherit;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(10,83,151,.24);
}
#Button1:hover { filter: brightness(1.05); }
.contact-actions { text-align: right; }
.contact-side-card { padding: 20px; position: sticky; top: 94px; }
.contact-side-card img { display: block; width: 100%; border-radius: 16px; margin-bottom: 16px; }
.contact-side-card h3 { margin-bottom: 8px; color: #102641; }
.contact-side-card p { margin-bottom: 16px; color: #52677f; font-size: 14px; }
.contact-complete-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 42px 34px;
    text-align: center;
}
.contact-complete-card h1 { margin-bottom: 12px; }
.contact-complete-card p { color: #52677f; }
@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-side-card { position: static; }
}
@media (max-width: 640px) {
    .contact-head, .contact-form-body { padding: 20px; }
    .contact-table, .contact-table tbody, .contact-table tr, .contact-table th, .contact-table td { display: block; width: 100%; }
    .contact-table tr { margin-bottom: 12px; }
    .contact-table th { border-right: 1px solid #d5e4f2; border-radius: 14px 14px 0 0; }
    .contact-table td { border-left: 1px solid #d5e4f2; border-radius: 0 0 14px 14px; }
    .contact-actions { text-align: center; }
    #Button1 { width: 100% !important; }
}


/* =========================================================
   Future motion add-on for Default.aspx
   目で見て分かる近未来感。Default.aspx の hero / flow 用。
   ========================================================= */
.future-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 10%, rgba(0, 164, 255, .24), transparent 30%),
        radial-gradient(circle at 85% 8%, rgba(0, 210, 172, .20), transparent 28%),
        linear-gradient(180deg, #eaf5ff 0%, #edf3f8 74%);
}
.future-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .55;
    background-image:
        linear-gradient(rgba(0, 93, 160, .10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 93, 160, .10) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 82%);
    animation: grid-drift 18s linear infinite;
}
.future-panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-color: rgba(0, 135, 185, .24);
    box-shadow: 0 28px 70px rgba(7, 55, 98, .20), 0 0 0 1px rgba(255,255,255,.72) inset;
}
.future-panel::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0%, transparent 34%, rgba(255,255,255,.0) 42%, rgba(74, 223, 255, .34) 48%, rgba(255,255,255,.65) 50%, rgba(0, 235, 186, .28) 52%, transparent 60%, transparent 100%);
    transform: translateX(-120%) skewX(-12deg);
    animation: hero-scan 5.4s ease-in-out infinite;
    mix-blend-mode: screen;
}
.future-panel::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 28%, rgba(0, 186, 255, .20), transparent 18%),
        radial-gradient(circle at 72% 18%, rgba(0, 255, 197, .13), transparent 20%),
        linear-gradient(180deg, transparent 58%, rgba(0, 49, 91, .08));
}
.future-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}
.future-overlay span {
    position: absolute;
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(0, 204, 255, .72);
    box-shadow: 0 0 18px rgba(0, 204, 255, .85), 0 0 34px rgba(0, 255, 190, .40);
    animation: pulse-node 2.8s ease-in-out infinite;
}
.future-overlay span:nth-child(1) { left: 8%; top: 18%; animation-delay: 0s; }
.future-overlay span:nth-child(2) { left: 72%; top: 17%; animation-delay: .8s; }
.future-overlay span:nth-child(3) { left: 88%; top: 64%; animation-delay: 1.45s; }
.future-overlay span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 96px;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 204, 255, .9), transparent);
    transform-origin: left center;
    transform: rotate(24deg);
}
.future-panel > img,
.future-panel .hero-copy {
    position: relative;
    z-index: 1;
}
.action-stack {
    display: grid;
    gap: 14px;
    justify-items: end;
}
.signal-box {
    width: min(100%, 320px);
    padding: 12px 14px;
    border: 1px solid rgba(16, 123, 184, .22);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(236,248,255,.78));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.72), 0 14px 32px rgba(12,60,101,.10);
}
.signal-box span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 6px 0;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    color: #145179;
    text-transform: uppercase;
}
.signal-box b {
    display: block;
    flex: 1;
    height: 7px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(20,91,132,.12);
}
.signal-box b::before {
    content: "";
    display: block;
    width: 58%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0b65aa, #00d0bd);
    box-shadow: 0 0 14px rgba(0, 208, 189, .55);
    animation: meter-flow 2.8s ease-in-out infinite;
}
.signal-box span:nth-child(2) b::before { width: 78%; animation-delay: .35s; }
.signal-box span:nth-child(3) b::before { width: 66%; animation-delay: .7s; }
.visual-banner-panel {
    position: relative;
}
.visual-banner-panel::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 5px;
    background: linear-gradient(90deg, #0b65aa, #00c8a8, #0b65aa);
    background-size: 240% 100%;
    animation: border-flow 4.8s linear infinite;
}
.service-card,
.side-box,
.cta,
.info-panel {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover,
.side-box:hover,
.cta:hover,
.info-panel:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 143, 191, .30);
    box-shadow: 0 22px 48px rgba(12, 60, 101, .15);
}
.btn.primary {
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(10, 83, 151, .26), 0 0 0 1px rgba(255,255,255,.18) inset;
}
.btn.primary::after,
#Button1::after {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.52), transparent);
    transform: skewX(-20deg);
    animation: button-shine 3.6s ease-in-out infinite;
}
.future-band {
    position: relative;
    overflow: hidden;
}
.future-band::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .55;
    background:
        linear-gradient(120deg, transparent, rgba(255,255,255,.16), transparent),
        radial-gradient(circle at 8% 18%, rgba(0, 218, 255, .20), transparent 26%),
        radial-gradient(circle at 82% 20%, rgba(0, 255, 181, .14), transparent 28%);
    transform: translateX(-80%);
    animation: band-scan 7s ease-in-out infinite;
}
.future-band > .wrap {
    position: relative;
    z-index: 1;
}
@keyframes grid-drift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 42px 42px, 42px 42px; }
}
@keyframes hero-scan {
    0%, 12% { transform: translateX(-120%) skewX(-12deg); opacity: 0; }
    28% { opacity: 1; }
    58%, 100% { transform: translateX(120%) skewX(-12deg); opacity: 0; }
}
@keyframes pulse-node {
    0%, 100% { transform: scale(.72); opacity: .45; }
    45% { transform: scale(1.18); opacity: 1; }
}
@keyframes meter-flow {
    0%, 100% { transform: translateX(-8%); filter: brightness(.95); }
    50% { transform: translateX(18%); filter: brightness(1.18); }
}
@keyframes border-flow {
    from { background-position: 0% 50%; }
    to { background-position: 240% 50%; }
}
@keyframes button-shine {
    0%, 48% { left: -130%; }
    74%, 100% { left: 140%; }
}
@keyframes band-scan {
    0%, 12% { transform: translateX(-85%); opacity: 0; }
    35% { opacity: .8; }
    70%, 100% { transform: translateX(85%); opacity: 0; }
}
@media (max-width: 920px) {
    .action-stack { justify-items: start; }
    .signal-box { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .future-hero::before,
    .future-panel::before,
    .future-overlay span,
    .signal-box b::before,
    .visual-banner-panel::after,
    .btn.primary::after,
    .future-band::before {
        animation: none !important;
    }
    .service-card,
    .side-box,
    .cta,
    .info-panel {
        transition: none !important;
    }
}
