/* AI Right（アイライト）— サイト固有スタイル */

:root {
    --primary-dark: #1f4060;
    --primary-mid: #2f5f8a;
    --accent: #5fa8f2;
    --accent-hover: #3f92e6;
    --accent-blue: #79b8ff;
    --gold: #d6b363;
    --text-muted-custom: #56697a;
    --text-gray: #a4b4c5;
    --surface-cream: #faf7ef;
    --surface-sky: #edf5ff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    overflow-x: hidden;
    background-color: #fff;
}

h1, h2, h3, h4, h5, .font-montserrat {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.section-pad {
    padding: 100px 0;
}

.section-pad-sm {
    padding-top: 60px;
    padding-bottom: 60px;
}

.section-title-en {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.title-rule {
    width: 60px;
    height: 3px;
    background: var(--accent-blue);
}

.title-rule.narrow {
    width: 50px;
    height: 4px;
}

.section-intro {
    max-width: 520px;
}

.border-accent {
    border-color: var(--accent) !important;
}

/* Navbar */
.navbar {
    transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1000;
    border-bottom: 1px solid rgba(95, 168, 242, 0.16);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    padding: 8px 0;
    box-shadow: 0 8px 28px rgba(47, 63, 74, 0.12);
}

.navbar-logo {
    height: 44px;
    width: auto;
    max-width: min(200px, 55vw);
    object-fit: contain;
    object-position: left center;
}

.nav-link {
    color: #31424c !important;
    font-weight: 600;
    margin-left: 12px;
    margin-right: 4px;
    letter-spacing: 0.02em;
}

.nav-link:hover {
    color: var(--accent) !important;
}

.nav-link-cta {
    border: 1px solid rgba(95, 168, 242, 0.75);
    border-radius: 6px;
    padding: 0.35rem 0.85rem !important;
    margin-left: 16px !important;
}

.nav-link-cta:hover {
    background: rgba(95, 168, 242, 0.14);
}

.navbar-toggler {
    border-color: rgba(95, 168, 242, 0.5);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(46, 196, 182, 0.25);
}

/* Hero */
.hero {
    min-height: 100vh;
    background: linear-gradient(120deg, rgba(250, 247, 239, 0.8) 0%, rgba(237, 245, 255, 0.62) 48%, rgba(214, 179, 99, 0.26) 100%),
        url('../image/hero-calm.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: #2f3f4a;
    position: relative;
    padding: 100px 0 80px;
}

.hero-eyebrow {
    color: #2d6fa9;
    letter-spacing: 0.22em;
    font-size: 0.72rem;
}

.hero-title {
    font-size: clamp(1.85rem, 5.5vw, 3.25rem);
    line-height: 1.28;
    margin-bottom: 22px;
    font-weight: 700;
}

.hero-lead {
    max-width: 36rem;
    line-height: 1.85;
    color: #3f4f5a;
}

.btn-hero-primary {
    background: var(--accent);
    border: 2px solid var(--accent);
    color: #ffffff;
    font-weight: 600;
}

.btn-hero-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #ffffff;
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(95, 168, 242, 0.6);
    color: #245883;
    font-weight: 600;
}

.btn-hero-outline:hover {
    background: #ffffff;
    border-color: rgba(95, 168, 242, 0.9);
    color: #18476f;
}

/* Trust points */
.trust-points {
    background: linear-gradient(180deg, #ffffff 0%, var(--surface-sky) 100%);
}

.trust-card {
    background: #fff;
    border: 1px solid #dce8f7;
    border-radius: 14px;
    padding: 26px 24px;
    box-shadow: 0 14px 28px rgba(63, 79, 90, 0.06);
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eef5ff;
    color: #3a7fc3;
    margin-bottom: 14px;
    font-size: 1.2rem;
}

.trust-card h3 {
    font-size: 1.15rem;
    color: #2b5070;
    margin-bottom: 10px;
}

.trust-card p {
    margin-bottom: 0;
    color: #5d6d79;
    line-height: 1.75;
    font-size: 0.95rem;
}

/* Solutions */
.solution-card {
    border: 1px solid #e8ecf0;
    padding: 40px 26px;
    background: #fff;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    text-align: center;
    border-radius: 8px;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(13, 27, 42, 0.08);
    border-color: var(--accent);
}

.solution-card h3 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    line-height: 1.45;
}

.solution-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

/* Case studies */
.case-grid-item {
    position: relative;
    min-height: 320px;
    height: 100%;
    overflow: hidden;
    color: white;
    display: flex;
    align-items: flex-end;
    padding: 28px;
    transition: 0.5s;
    border-radius: 8px;
}

.case-grid-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: 0.8s;
}

.case-grid-item:hover img {
    transform: scale(1.06);
}

.case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 27, 42, 0.92) 18%, rgba(13, 27, 42, 0.25) 100%);
    z-index: 2;
}

.case-content {
    position: relative;
    z-index: 3;
}

.case-tag {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
    display: block;
}

.case-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.35;
}

.case-desc {
    font-size: 0.88rem;
    opacity: 0;
    transform: translateY(16px);
    transition: 0.4s;
    line-height: 1.65;
}

.case-grid-item:hover .case-desc {
    opacity: 1;
    transform: translateY(0);
}

/* Detail cards */
.detail-card {
    background: #fff;
    border: 1px solid #e8ecf0;
    padding: 24px;
    height: 100%;
    transition: 0.3s;
    border-left: 4px solid transparent;
    border-radius: 6px;
}

.detail-card:hover {
    box-shadow: 0 12px 32px rgba(13, 27, 42, 0.06);
    border-left: 4px solid var(--accent);
    background-color: #f8fcfb;
}

.detail-card h5 {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.45;
}

.detail-tag {
    font-size: 0.65rem;
    font-weight: bold;
    color: #fff;
    background: var(--accent);
    padding: 3px 10px;
    display: inline-block;
    margin-bottom: 12px;
    border-radius: 2px;
}

/* Project table */
/* Company */
.company-section {
    background: linear-gradient(160deg, #2a4e72 0%, #173652 100%);
    color: white;
    padding: 100px 0;
    position: relative;
}

.eyebrow-info {
    color: #b9d8ff;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.company-lead {
    max-width: 720px;
    margin-inline: auto;
    color: rgba(238, 246, 255, 0.9);
    line-height: 1.85;
}

.company-panel {
    border-radius: 14px;
    padding: 26px 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
    backdrop-filter: blur(4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.company-panel-title {
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffd98b;
    margin-bottom: 14px;
}

.company-list dt {
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #c4dcfb;
    margin-bottom: 4px;
}

.company-list dd {
    margin-bottom: 12px;
    color: #ffffff;
    line-height: 1.7;
    font-size: 0.95rem;
}

.company-phone {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.95rem;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.company-phone-img {
    display: inline-block;
    width: 132px;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.company-services {
    margin: 0;
    padding-left: 1.1rem;
}

.company-services li {
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.65;
    font-size: 0.93rem;
}

@media (max-width: 991.98px) {
    .nav-link-cta {
        margin-left: 12px !important;
        margin-top: 8px;
        display: inline-block;
    }
}

/* Contact */
.contact-section {
    background: linear-gradient(180deg, var(--surface-cream) 0%, #ffffff 100%);
}

.contact-lead {
    max-width: 480px;
}

.contact-note {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.82rem;
    opacity: 0.85;
}

.form-validation-message {
    color: #b22a2a;
    background: #fff3f3;
    border: 1px solid #f0c4c4;
    border-radius: 8px;
    padding: 0.65rem 0.8rem;
    font-size: 0.88rem;
}

/* お問い合わせ送信確認（スマホ：十分なタップ領域・誤タップ軽減） */
.contact-confirm-modal .modal-footer .btn {
    min-height: 44px;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    touch-action: manipulation;
}

.contact-confirm-modal .modal-dialog {
    margin-left: auto;
    margin-right: auto;
}

.bot-trap {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-form-wrap {
    max-width: 980px;
    background: #ffffff;
    border: 1px solid #dde5e3;
    border-radius: 14px;
    box-shadow: 0 14px 36px rgba(47, 63, 74, 0.08);
    padding: 28px 24px;
}

.required-mark {
    color: #cf4a4a;
    font-weight: 700;
}

.contact-form-wrap .form-label {
    font-weight: 600;
    color: #3e5461;
    margin-bottom: 0;
    padding-top: 0.45rem;
}

.contact-form-wrap .form-control {
    border-color: #cfdad8;
    border-radius: 8px;
    padding: 0.62rem 0.8rem;
}

.contact-form-wrap .form-control:focus {
    border-color: #83baf5;
    box-shadow: 0 0 0 0.2rem rgba(95, 168, 242, 0.2);
}

/* Footer */
.site-footer {
    background: radial-gradient(1200px 300px at 20% -10%, rgba(121, 184, 255, 0.25), transparent 60%),
        radial-gradient(900px 260px at 90% -10%, rgba(214, 179, 99, 0.18), transparent 60%),
        linear-gradient(180deg, #18344e 0%, #0f2740 100%);
    color: white;
    padding: 44px 0 24px;
}

.footer-top {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(4px);
    padding: 26px 18px 20px;
    margin-bottom: 18px;
}

.footer-catch {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}

.footer-sub {
    color: #d8e5f2;
    font-size: 0.9rem;
}

.footer-nav a {
    color: #f7fbff;
    text-decoration: none;
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.95;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.footer-nav span {
    color: rgba(255, 255, 255, 0.45);
}

.footer-nav a:hover {
    color: #ffd98b;
    opacity: 1;
}

.text-gray {
    color: var(--text-gray);
}
