/* ==========================================================
   service/css/style.css
   G-Call サービスページ（PC用 / min-width: 768px）
   ========================================================== */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@500;700&display=swap");

/* カラー変数（主にメインビジュアル） */
:root {
    --navy-900: #00203f;
    --navy-800: #003366;
    --navy-700: #0d4279;
    --cyan-600: #007cab;
    --cyan-500: #0097ce;
    --cyan-400: #34b0dd;
    --cyan-200: #a9dcef;
    --ink: #112335;
    --font-jp: "Noto Sans JP", system-ui, sans-serif;
    --font-en: "Outfit", var(--font-jp);
    --container: 1200px;
    --gutter: clamp(20px, 4vw, 56px);
    --r-pill: 999px;
    --sh-1: 0 1px 2px rgba(17, 35, 53, 0.05), 0 1px 3px rgba(17, 35, 53, 0.04);
}

/* ----------------------------------------------------------
   サービストップhero
   ---------------------------------------------------------- */

.hero *,
.hero *::before,
.hero *::after {
    box-sizing: border-box;
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(80% 70% at 78% -8%, #0a4a86 0%, transparent 55%),
        radial-gradient(70% 80% at 8% 110%, #022a52 0%, transparent 55%),
        linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
    color: #fff;
    font-family: var(--font-jp);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 54px 54px;
    -webkit-mask-image: radial-gradient(
        120% 100% at 50% 0%,
        #000 35%,
        transparent 80%
    );
    mask-image: radial-gradient(120% 100% at 50% 0%, #000 35%, transparent 80%);
}

.hero .glow {
    position: absolute;
    width: 460px;
    height: 460px;
    top: -120px;
    right: -80px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(8px);
    background: radial-gradient(
        circle,
        rgba(0, 151, 206, 0.45),
        transparent 65%
    );
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 1200px;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 0 42px;
    /* margin-inline: auto;
    padding-inline: var(--gutter); */
}

.hero-inner {
    padding-block: clamp(22px, 2.6vw, 40px);
}

.heroA {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-en);
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--cyan-200);
}

.hero h1 {
    margin: 18px 0 0;
    font-size: 4.8rem;
    line-height: 1.6;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff;
    text-wrap: balance;
}

.hero h1 .soft {
    color: var(--cyan-200);
}

.hero-lead {
    margin: 18px 0 0;
    max-width: 600px;
    font-size: 2rem;
    line-height: 1.9;
    color: var(--cyan-200);
    text-wrap: pretty;
}

.diagram {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 380px;
    margin-inline: auto;
}

.diagram .ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.diagram .ring.r2 {
    inset: 13%;
    border-color: rgba(255, 255, 255, 0.1);
}
.diagram .ring.r3 {
    inset: 26%;
    border-color: rgba(0, 151, 206, 0.28);
}

.diagram .spin {
    position: absolute;
    inset: 0;
    animation: spin 60s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.diagram .dot {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan-400);
    box-shadow: 0 0 12px var(--cyan-400);
}

.hero-benefits {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 20px 32px;
    background: #eef4f7;
    border-radius: 10px;
    box-shadow:
        0 4px 40px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.hb-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hb-icon {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    background: var(--cyan-500);
    box-shadow: 4px 8px 16px rgba(0, 151, 206, 0.4);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.hb-item span {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy-800);
    white-space: nowrap;
}

.hb-sep {
    width: 1px;
    height: 40px;
    background: #c2cfd8;
    flex-shrink: 0;
}

.hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 39%;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    background: radial-gradient(120% 120% at 30% 20%, #0b5fa0, #022e58 75%);
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.12),
        0 0 0 10px rgba(255, 255, 255, 0.03);
}

.hub .hub-logo {
    display: block;
    width: clamp(64px, 13vw, 92px);
    margin: 0 auto;
    color: #fff;
}

.hub .hub-logo svg {
    width: 100%;
    height: auto;
    display: block;
}
.hub .sb {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--cyan-200);
    letter-spacing: 0.06em;
    margin-top: 2px;
}

.node {
    position: absolute;
    width: 22%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    display: grid;
    place-items: center;
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: node-float 6.5s ease-in-out infinite;
    animation-delay: var(--fd, 0s);
    transition:
        border-color 0.3s,
        background 0.3s;
}

@keyframes node-float {
    0%,
    100% {
        transform: translate(-50%, -50%);
    }
    50% {
        transform: translate(-50%, calc(-50% - 8px));
    }
}

.node:hover {
    border-color: rgba(0, 151, 206, 0.65);
    background: rgba(0, 151, 206, 0.14);
}
.node .ic {
    width: 46%;
    height: 46%;
    color: #fff;
    display: grid;
    place-items: center;
}
.node .ic svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.66667;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.node.n1 .ic svg {
    fill: currentColor;
    stroke: none;
}
.node .vh {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.node.n1 {
    top: 8%;
    left: 50%;
}
.node.n2 {
    top: 37%;
    left: 90%;
}
.node.n3 {
    top: 84%;
    left: 75%;
}
.node.n4 {
    top: 84%;
    left: 25%;
}
.node.n5 {
    top: 37%;
    left: 10%;
}

.diagram svg.links {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 1;
    pointer-events: none;
}

.diagram svg.links .tracks path {
    fill: none;
    stroke: rgba(0, 151, 206, 0.1);
    stroke-width: 0.5;
    stroke-linecap: round;
}

.diagram svg.links .pulses path {
    fill: none;
    stroke: var(--cyan-600);
    stroke-width: 1;
    stroke-linecap: round;
    filter: drop-shadow(0 0 2px rgba(0, 124, 171, 0.6));
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: link-grow 5s ease-in-out infinite;
    animation-delay: var(--ld, 0s);
}

@keyframes link-grow {
    0% {
        stroke-dashoffset: 1;
    }
    11%,
    24% {
        stroke-dashoffset: 0;
    }
    35%,
    100% {
        stroke-dashoffset: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(26px);
}
.reveal.in {
    opacity: 1;
    transform: none;
    transition:
        opacity 0.8s cubic-bezier(0.2, 0.7, 0.3, 1),
        transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal[data-d="1"].in {
    transition-delay: 0.08s;
}
.reveal[data-d="2"].in {
    transition-delay: 0.16s;
}
.reveal[data-d="3"].in {
    transition-delay: 0.24s;
}
.reveal[data-d="4"].in {
    transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .diagram .spin,
    .node,
    .diagram svg.links .pulses path {
        animation: none !important;
    }
    .diagram svg.links .pulses path {
        stroke-dashoffset: 0;
    }
}

/* ================================================
   Services Grid
   ================================================ */
.services-grid {
    background: #fff;
    padding: 96px 0;
    font-family: var(--font-jp);
}

.sg-inner {
    width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}

.sg-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.sg-title {
    font-weight: 700;
    font-size: 40px;
    line-height: 1.4;
    color: #313f58;
    margin: 0;
}

.sg-title span {
    color: var(--cyan-500);
}

.sg-lead {
    font-size: 18px;
    line-height: 1.4;
    color: #45556c;
    margin: 0;
}

.sg-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sg-card {
    display: flex;
    flex-direction: row;
    gap: 40px;
    background: #e7eef5;
    border-radius: 16px;
    padding: 24px 24px 24px 64px;
    align-items: stretch;
}

.sg-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 32px;
}

.sg-card-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.sg-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--navy-800);
    box-shadow: 4px 8px 16px rgba(0, 151, 206, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.sg-icon svg {
    width: 24px;
    height: 24px;
}

.sg-card-head h3 {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.4;
    color: #313f58;
    margin: 0;
}

.sg-card-desc {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sg-highlight {
    display: inline-block;
    background: #fff;
    border-radius: 4px;
    padding: 8px 16px;
    color: var(--cyan-500);
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.5;
    margin: 0;
}

.sg-text {
    color: #45556c;
    font-size: 1.6rem;
    line-height: 1.6;
    margin: 0;
}

.sg-card-img {
    width: 600px;
    height: 360px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
}

.sg-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sg-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 24px;
    height: 58px;
    background: var(--navy-800);
    color: #fff;
    font-family: var(--font-jp);
    font-weight: 700;
    font-size: 1.6rem;
    text-decoration: none;
    border-radius: 9999px;
    transition: opacity 0.2s;
    align-self: flex-start;
    white-space: nowrap;
}

.sg-btn:hover {
    opacity: 0.85;
    color: #fff;
    text-decoration: none;
}

.sg-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ================================================
   Merits (4つのメリット)
   ================================================ */
.merits {
    background: #f8fafc;
    padding: 80px 100px;
    font-family: var(--font-jp);
}

.merits-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
}

.merits-hd {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.merits-title {
    font-weight: 700;
    font-size: 40px;
    line-height: 1.4;
    color: #313f58;
    margin: 0;
}

.merits-title span {
    color: var(--cyan-500);
}

.merits-lead {
    font-size: 18px;
    line-height: 1.4;
    color: #45556c;
    margin: 0;
}

.merits-list {
    width: 1200px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.merit-item {
    width: 280px;
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}

.merit-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--cyan-500);
    box-shadow: 8px 8px 40px rgba(0, 151, 206, 0.39);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.merit-icon svg {
    width: 26px;
    height: 26px;
}

.merit-item h3 {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.4;
    color: #313f58;
    margin: 0;
}

.merit-item p {
    font-size: 16px;
    line-height: 1.75;
    color: #45556c;
    margin: 0;
}

/* ================================================
   Referral Banner
   ================================================ */
.referral {
    background: #fff;
    padding: 80px 0;
    font-family: var(--font-jp);
}

.referral-inner {
    width: var(--container);
    margin: 0 auto;
}

.referral-card {
    background: var(--color-mygcall);
    /* background-image: url(/designChange/service/img/referral-banner-bg.png);
    background-size: cover;
    background-position: center; */
    border-radius: 16px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    padding: 48px 64px 64px;
    gap: 32px;
}

.referral-left {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.referral-tag {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
}

.referral-tag svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.referral-tag span {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    color: #37caff;
}

.referral-left h2 {
    font-weight: 700;
    font-size: 3.6rem;
    line-height: 1.4;
    color: #fff;
    margin: 0 0 16px;
}

.referral-left p {
    font-size: 1.8rem;
    line-height: 1.4;
    color: #eef4f7;
    margin: 0;
}

.referral-btns {
    width: 259px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.referral-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 58px;
    background: var(--navy-800);
    color: #fff;
    font-family: var(--font-jp);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    border-radius: 9999px;
    transition: opacity 0.2s;
}

.referral-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.referral-btn:hover {
    opacity: 0.85;
    text-decoration: none;
}

/* ================================================
   Card Brand Links
   ================================================ */
.cardbrand {
    background: #eef4f7;
    padding: 80px 0;
    font-family: var(--font-jp);
}

.cardbrand-inner {
    width: var(--container);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.cardbrand-hd {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    background: var(--navy-800);
    border-radius: 16px 16px 0 0;
    padding: 32px 40px;
}

.cardbrand-hd h2 {
    font-weight: 700;
    font-size: 30px;
    line-height: 1.4;
    color: #fff;
    margin: 0;
}

.cardbrand-hd p {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: #e6e9eb;
    margin: 0;
}

.cardbrand-logos {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: #fff;
    border-radius: 0 0 16px 16px;
    padding: 40px;
}

/* ----------------------------------------------------------
   CTA SECTION (新)
   ---------------------------------------------------------- */
.sec_cta {
    background: var(--color-primary) url("/designChange/tel/img/cta_bg.png") center / cover
        no-repeat;
    padding: 96px 0;
    margin: 0;
}
.sec_cta_inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}
.cta_heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    text-align: center;
}
.cta_sublabel {
    font-size: 2rem;
    font-weight: 400;
    color: #1ab4ec;
    line-height: 1.4;
    margin: 0;
    letter-spacing: 0.04em;
}
.cta_title {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.4;
    margin: 0;
}
.cta_actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}
.cta_row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.cta_btns {
    display: flex;
    gap: 20px;
}
.cta_btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background-color: var(--color-white);
    color: var(--color-primary);
    font-size: 2.4rem;
    font-weight: 700;
    padding: 24px 80px 24px 65px;
    border-radius: 200px;
    text-decoration: none;
    line-height: 1.4;
    transition: opacity 0.2s;
    box-shadow: 8px 16px 40px rgba(0, 151, 206, 0.5);
    white-space: nowrap;
}
.cta_btn:hover {
    opacity: 0.85;
    text-decoration: none;
    color: var(--color-primary);
}
.cta_btn_icon {
    display: block;
    flex-shrink: 0;
}
.cta_phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.cta_phone_row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.cta_phone_icon {
    display: block;
    flex-shrink: 0;
}
.cta_phone_num {
    font-family: "Outfit", sans-serif;
    font-size: 4.8rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.4;
    text-decoration: none;
    letter-spacing: 0.02em;
}
.cta_phone_num:hover {
    opacity: 0.85;
    text-decoration: none;
    color: var(--color-white);
}
.cta_phone_hours {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.4;
    margin: 0;
}
.cta_note {
    font-size: 1.2rem;
    font-weight: 400;
    color: #90a1b9;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}
