@charset "UTF-8";

/* ==========================================================================
   KNR Bright Future Redesign
   テキストは元のまま、CSS中心で明るく未来感のある大胆な見た目へ刷新
   ========================================================================== */
:root {
    --ink: #163044;
    --ink-soft: #566f7e;
    --blue: #0b83d8;
    --cyan: #35d3e8;
    --green: #6bd66e;
    --yellow: #ffe25c;
    --orange: #ff9f43;
    --pink: #ff7aa8;
    --paper: #fffdf4;
    --white: #ffffff;
    --sky: #eaf9ff;
    --mint: #eafff4;
    --line: rgba(22, 48, 68, 0.13);
    --shadow: 0 18px 48px rgba(22, 48, 68, 0.12);
    --shadow-pop: 10px 10px 0 rgba(22, 48, 68, 0.10);
    --radius-xl: 42px;
    --radius-lg: 28px;
    --radius-md: 18px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.8;
    background:
        radial-gradient(circle at 10% 8%, rgba(255, 226, 92, 0.5), transparent 24rem),
        radial-gradient(circle at 92% 0%, rgba(53, 211, 232, 0.32), transparent 28rem),
        linear-gradient(90deg, rgba(11, 131, 216, 0.055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(11, 131, 216, 0.055) 1px, transparent 1px),
        var(--paper);
    background-size: auto, auto, 34px 34px, 34px 34px, auto;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: linear-gradient(135deg, transparent 0 47%, rgba(255,255,255,0.48) 47% 53%, transparent 53% 100%);
    background-size: 160px 160px;
    opacity: 0.36;
}

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

a, button {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.section-padding {
    padding: clamp(76px, 10vw, 132px) 0;
}

.section-title {
    position: relative;
    margin-bottom: clamp(34px, 5vw, 58px);
    color: var(--ink);
    font-size: clamp(34px, 5.8vw, 68px);
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-align: left;
    text-wrap: balance;
}

.section-title::before {
    content: "";
    display: block;
    width: 58px;
    height: 18px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--yellow), var(--cyan));
    box-shadow: 6px 6px 0 rgba(11, 131, 216, 0.14);
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -18px;
    width: min(220px, 36vw);
    height: 4px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--blue), var(--cyan), transparent);
}

/* Header */
header {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 1000;
    pointer-events: none;
}

.header-container {
    width: min(1160px, calc(100% - 28px));
    margin: 0 auto;
    padding: 10px 12px 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255, 255, 255, 0.80);
    border: 2px solid rgba(22, 48, 68, 0.12);
    border-radius: 999px;
    box-shadow: 0 14px 35px rgba(22, 48, 68, 0.12);
    backdrop-filter: blur(18px);
    pointer-events: auto;
}

.logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: clamp(15px, 2vw, 21px);
    font-weight: 950;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.logo a::before {
    content: "";
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border-radius: 11px;
    background:
        linear-gradient(90deg, transparent 47%, rgba(255,255,255,0.78) 47% 53%, transparent 53%),
        linear-gradient(0deg, transparent 47%, rgba(255,255,255,0.78) 47% 53%, transparent 53%),
        linear-gradient(135deg, var(--blue), var(--cyan) 52%, var(--green));
    box-shadow: 4px 4px 0 rgba(255, 159, 67, 0.32);
    transform: rotate(-7deg);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    flex-wrap: wrap;
}

.nav-links a {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.07em;
}

.nav-links a:hover {
    color: var(--ink);
    background: var(--yellow);
    transform: translateY(-2px) rotate(-1deg);
}

/* Hero */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding: 132px 0 78px;
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-section::before {
    content: "KNR";
    position: absolute;
    left: -0.08em;
    bottom: -0.34em;
    z-index: -1;
    color: rgba(11, 131, 216, 0.065);
    font-size: min(35vw, 480px);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.12em;
}

.hero-section::after {
    content: "";
    position: absolute;
    right: clamp(24px, 7vw, 96px);
    top: 118px;
    width: min(42vw, 560px);
    aspect-ratio: 1 / 1;
    border-radius: 44% 56% 49% 51% / 48% 38% 62% 52%;
    background:
        linear-gradient(rgba(255,255,255,0.08), rgba(255,255,255,0.08)),
        url("img/main.png") center / cover no-repeat;
    border: 10px solid rgba(255,255,255,0.82);
    box-shadow: var(--shadow-pop), var(--shadow);
    transform: rotate(3deg);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    inset: auto auto 16% 52%;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, var(--yellow), rgba(255, 226, 92, 0));
    filter: blur(2px);
    opacity: 0.84;
    z-index: -2;
}

.hero-container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    position: relative;
}

.hero-container::before,
.hero-container::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    z-index: -1;
}

.hero-container::before {
    right: 4%;
    bottom: -50px;
    width: 160px;
    height: 64px;
    background: var(--green);
    transform: rotate(-12deg);
    opacity: 0.75;
}

.hero-container::after {
    left: 44%;
    top: 3%;
    width: 84px;
    height: 84px;
    background: var(--pink);
    box-shadow: 26px 28px 0 var(--cyan);
    opacity: 0.72;
}

.hero-sub {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--blue);
    font-size: 15px;
    font-weight: 950;
    letter-spacing: 0.2em;
}

.hero-sub::before {
    content: "";
    width: 42px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--yellow), var(--orange));
    box-shadow: 5px 5px 0 rgba(22,48,68,0.1);
}

.hero-title {
    max-width: 760px;
    color: var(--ink);
    font-size: clamp(58px, 8vw, 108px);
    font-weight: 950;
    line-height: 1.02;
    letter-spacing: -0.07em;
    word-break: keep-all;
    overflow-wrap: normal;
}

.hero-title-line {
    display: block;
    white-space: nowrap;
}

.hero-title br {
    display: none;
}

.hero-trust {
    width: fit-content;
    max-width: min(720px, 100%);
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 14px 18px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(22, 48, 68, 0.08);
    border-left: 8px solid var(--yellow);
    border-radius: 18px;
    box-shadow: 12px 12px 0 rgba(22, 48, 68, 0.1);
}

.hero-trust__year {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 16px;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), #074d80);
    border-radius: 999px;
    font-size: clamp(18px, 2.3vw, 26px);
    font-weight: 950;
    letter-spacing: 0.04em;
}

.hero-trust__text {
    color: var(--ink);
    font-size: clamp(15px, 1.7vw, 20px);
    font-weight: 900;
    line-height: 1.5;
}

.hero-description {
    max-width: 610px;
    margin-top: 30px;
    padding: 24px 28px;
    color: var(--ink-soft);
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.78);
    border: 2px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 8px 8px 0 rgba(53, 211, 232, 0.18);
    backdrop-filter: blur(10px);
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 34px;
    padding: 17px 30px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 950;
    background: var(--yellow);
    border: 2px solid rgba(22,48,68,0.16);
    border-radius: 999px;
    box-shadow: 8px 8px 0 rgba(22,48,68,0.11);
}

.hero-cta-btn::after {
    content: "↗";
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: var(--white);
    background: var(--blue);
    border-radius: 50%;
}

.hero-cta-btn:hover {
    transform: translateY(-4px) rotate(-1deg);
    box-shadow: 12px 12px 0 rgba(22,48,68,0.12);
}

/* About */
#about .container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: clamp(32px, 7vw, 86px);
    align-items: center;
}

#about .section-title {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.about-content {
    position: relative;
    padding: clamp(28px, 4vw, 46px);
    background: rgba(255, 255, 255, 0.82);
    border: 2px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-pop);
}

.about-content::before {
    content: "ABOUT";
    position: absolute;
    top: -21px;
    left: 34px;
    padding: 7px 16px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.18em;
    background: var(--mint);
    border: 2px solid var(--line);
    border-radius: 999px;
}

.about-content p {
    color: var(--ink-soft);
    font-size: clamp(16px, 1.5vw, 18px);
    font-weight: 650;
}

.about-content p + p {
    margin-top: 20px;
}

.about-belief {
    position: relative;
    margin-bottom: 28px;
    padding: 22px 24px;
    color: var(--ink);
    background: linear-gradient(135deg, rgba(255, 226, 92, 0.32), rgba(56, 213, 213, 0.16));
    border: 1px solid rgba(22, 48, 68, 0.1);
    border-radius: 22px;
}

.about-belief::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 22px;
    bottom: 22px;
    width: 5px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--yellow), var(--cyan), var(--blue));
}

.about-content .about-belief p {
    padding-left: 20px;
    color: var(--ink);
    font-size: clamp(17px, 1.7vw, 20px);
    font-weight: 900;
    line-height: 1.85;
}

.about-content .about-belief p + p {
    margin-top: 14px;
}

.about-belief__lead,
.about-belief__close {
    letter-spacing: 0.03em;
}

.about-belief__words {
    display: grid;
    gap: 6px;
}

.about-belief__words span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 999px;
}

.about-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 36px;
    border: 10px solid rgba(255,255,255,0.88);
    box-shadow: var(--shadow), -14px 14px 0 rgba(255, 226, 92, 0.62);
    transform: rotate(2deg);
}

.about-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(53, 211, 232, 0.18), transparent 42%, rgba(255, 226, 92, 0.2));
    pointer-events: none;
}

.about-image-wrapper img {
    width: 100%;
    min-height: 380px;
    object-fit: cover;
    transform: scale(1.04);
}

/* Approach */
.approach-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(234, 249, 255, 0.72), rgba(234, 255, 244, 0.76));
}

.approach-section::before {
    content: "PRINT FLOW";
    position: absolute;
    right: -0.1em;
    top: 20px;
    color: rgba(11, 131, 216, 0.07);
    font-size: min(13vw, 160px);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.08em;
}

.approach-lead-block {
    max-width: 860px;
    margin: 0 0 42px auto;
    padding: clamp(26px, 4vw, 42px);
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-pop);
    transform: rotate(-1deg);
}

.approach-lead-block h3 {
    margin-bottom: 18px;
    color: var(--blue);
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 950;
    line-height: 1.35;
    letter-spacing: -0.04em;
}

.approach-lead-block p {
    color: var(--ink);
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 800;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.approach-flow-grid {
    align-items: stretch;
}

.flow-card {
    position: relative;
    min-height: 242px;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-lg);
    background-position: center;
    background-size: cover;
    box-shadow: var(--shadow-pop);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.flow-card-01 { background-image: url("img/eigyou01.png"); }
.flow-card-02 { background-image: url("img/eigyou02.png"); }
.flow-card-03 { background-image: url("img/eigyou03.png"); }
.flow-card-04 { background-image: url("img/printimage02.jpg"); }
.flow-card-05 { background-image: url("img/tapimage.png"); }
.flow-card-06 { background: linear-gradient(135deg, var(--yellow), var(--cyan)); }

.flow-card-inner {
    min-height: 242px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.94) 62%);
}

.flow-card span {
    position: absolute;
    top: 16px;
    right: 20px;
    color: rgba(22, 48, 68, 0.16);
    font-size: 74px;
    font-weight: 950;
    font-style: italic;
    line-height: 1;
    letter-spacing: -0.08em;
}

.flow-card h4 {
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: clamp(20px, 2.3vw, 28px);
    font-weight: 950;
    line-height: 1.2;
    letter-spacing: 0;
}

.flow-card p {
    position: relative;
    z-index: 1;
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 850;
}

.flow-card:hover,
.service-card:hover {
    transform: translateY(-8px) rotate(-0.8deg);
    box-shadow: 14px 14px 0 rgba(22, 48, 68, 0.11);
}

.approach-more {
    margin-top: 48px;
    text-align: center;
}

.approach-more a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 17px 34px;
    color: var(--white);
    font-weight: 950;
    background: linear-gradient(135deg, var(--blue), #11a8df);
    border-radius: 999px;
    box-shadow: 8px 8px 0 rgba(22,48,68,0.12);
}

.approach-more a:hover {
    transform: translateY(-4px);
    box-shadow: 12px 12px 0 rgba(22,48,68,0.13);
}

.nav-links a:focus-visible,
.hero-cta-btn:focus-visible,
.approach-more a:focus-visible,
.service-more-btn:focus-visible,
.footer-form-btn:focus-visible {
    outline: 3px solid rgba(11, 131, 216, 0.38);
    outline-offset: 4px;
}

/* Services */
.services-section {
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 122, 168, 0.14), transparent 26rem),
        radial-gradient(circle at 92% 22%, rgba(255, 226, 92, 0.36), transparent 24rem),
        rgba(255,255,255,0.4);
}

#services .section-title {
    text-align: center;
}

#services .section-title::before {
    margin-left: auto;
    margin-right: auto;
}

#services .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

#services .services-grid {
    grid-auto-rows: 1fr;
}

.service-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    background: rgba(255,255,255,0.88);
    border: 2px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-pop);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:nth-child(1) {
    grid-column: span 2;
}

.service-card:nth-child(1) .service-img-wrapper {
    height: 360px;
}

.service-card:nth-child(6) {
    background: linear-gradient(135deg, rgba(234,249,255,0.96), rgba(234,255,244,0.96));
}

.service-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--sky);
}

.service-img-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(22,48,68,0.34));
    pointer-events: none;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.08) rotate(1deg);
}

.service-info {
    position: relative;
    padding: 28px;
}

.service-info::before {
    content: "";
    position: absolute;
    top: -22px;
    left: 28px;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--yellow), var(--cyan));
    border: 6px solid var(--white);
    box-shadow: 5px 5px 0 rgba(22, 48, 68, 0.10);
    transform: rotate(-8deg);
}

.service-card-title {
    margin: 12px 0 12px;
    color: var(--ink);
    font-size: clamp(21px, 2.5vw, 30px);
    font-weight: 950;
    line-height: 1.22;
    letter-spacing: -0.05em;
}

.service-card-text {
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 650;
}

.service-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding: 9px 16px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 950;
    background: var(--yellow);
    border-radius: 999px;
}

.service-more-btn::after {
    content: "→";
}

.service-more-btn:hover {
    transform: translateX(4px);
    background: var(--cyan);
}

/* Footer */
footer {
    position: relative;
    overflow: hidden;
    padding: 82px 0 34px;
    color: rgba(255,255,255,0.74);
    background:
        radial-gradient(circle at 8% 18%, rgba(53, 211, 232, 0.30), transparent 28rem),
        radial-gradient(circle at 90% 0%, rgba(255, 226, 92, 0.18), transparent 22rem),
        #17334a;
}

footer::before {
    content: "CONTACT";
    position: absolute;
    right: -0.04em;
    bottom: -0.2em;
    color: rgba(255,255,255,0.045);
    font-size: min(20vw, 240px);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.1em;
}

.footer-container {
    position: relative;
    z-index: 1;
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(32px, 7vw, 84px);
    align-items: start;
}

.footer-logo {
    color: var(--white);
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: -0.06em;
}

.footer-tagline {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    color: var(--ink);
    font-weight: 950;
    background: var(--yellow);
    border-radius: 999px;
    transform: rotate(-1deg);
}

.footer-contact-box {
    margin-top: 30px;
    padding: 28px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.footer-contact-title {
    margin-bottom: 10px;
    color: var(--white);
    font-size: 16px;
    font-weight: 950;
    letter-spacing: 0.18em;
}

.footer-contact-text {
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-form-btn {
    display: inline-flex;
    padding: 13px 22px;
    color: var(--ink);
    font-weight: 950;
    background: var(--yellow);
    border-radius: 999px;
}

.footer-form-btn:hover {
    transform: translateY(-3px);
    background: var(--cyan);
}

.floating-social {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: auto;
}

.floating-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    min-height: 46px;
    padding: 10px 18px;
    color: var(--white);
    font-size: 14px;
    font-weight: 950;
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-radius: 999px;
    background: rgba(22, 48, 68, 0.92);
    box-shadow: 8px 8px 0 rgba(22, 48, 68, 0.14);
    backdrop-filter: blur(12px);
}

.floating-social a:hover {
    color: var(--ink);
    background: var(--cyan);
    transform: translateY(-3px);
}

.floating-social a:focus-visible {
    outline: 3px solid rgba(255, 226, 92, 0.72);
    outline-offset: 4px;
}

.service-cta {
    width: min(1080px, calc(100% - 40px));
    margin: clamp(42px, 7vw, 82px) auto clamp(70px, 9vw, 110px);
    padding: clamp(28px, 5vw, 52px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    color: var(--ink);
    background: linear-gradient(135deg, rgba(255, 226, 92, 0.92), rgba(53, 211, 232, 0.68));
    border: 2px solid rgba(22, 48, 68, 0.10);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-pop);
}

.service-cta h2 {
    margin-bottom: 8px;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.25;
}

.service-cta p {
    color: var(--ink-soft);
    font-weight: 800;
}

.service-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 28px;
    color: var(--white);
    font-weight: 950;
    background: var(--ink);
    border-radius: 999px;
    box-shadow: 8px 8px 0 rgba(22, 48, 68, 0.14);
}

.service-cta__btn:hover {
    transform: translateY(-3px);
    background: var(--blue);
}

.service-cta__btn:focus-visible {
    outline: 3px solid rgba(11, 131, 216, 0.38);
    outline-offset: 4px;
}

.footer-branches {
    display: grid;
    gap: 20px;
}

.branch-info {
    padding: 24px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius-md);
}

.branch-info h4 {
    margin-bottom: 10px;
    color: var(--white);
    font-size: 18px;
    font-weight: 950;
}

.branch-info p {
    font-size: 14px;
    line-height: 1.75;
}

.branch-address {
    color: rgba(255,255,255,0.9);
    font-weight: 800;
}

.copyright {
    position: relative;
    z-index: 1;
    width: min(1160px, calc(100% - 40px));
    margin: 46px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.54);
    font-size: 13px;
    text-align: center;
}

.privacy-note {
    max-width: 860px;
    margin: 0 auto 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.8;
}

.privacy-note strong {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    letter-spacing: 0.08em;
}

.privacy-note p {
    margin: 0;
}

/* approach.html 既存ページ用の最低限の互換スタイル */
.approach-page-wrapper {
    padding-top: 82px;
}

.approach-hero {
    padding: 92px 0 78px;
    color: var(--ink);
    background: linear-gradient(135deg, var(--sky), var(--mint));
    text-align: center;
}

.approach-hero h1 {
    font-size: clamp(34px, 6vw, 68px);
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: -0.06em;
}

.approach-hero p {
    margin-top: 14px;
    color: var(--blue);
    font-weight: 950;
    letter-spacing: 0.14em;
}

.approach-main-container {
    padding: 80px 20px 110px;
}

.approach-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.approach-lead-section,
.approach-pillar-card,
.approach-step-item,
.approach-cta-section {
    background: rgba(255,255,255,0.88);
    border: 2px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-pop);
}

.approach-lead-section,
.approach-cta-section {
    padding: clamp(30px, 5vw, 56px);
    margin-bottom: 54px;
    text-align: center;
}

.approach-lead-title,
.approach-cta-title {
    color: var(--blue);
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 950;
}

.approach-lead-text,
.approach-cta-text {
    margin-top: 16px;
    color: var(--ink-soft);
    font-weight: 650;
}

.approach-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 64px;
}

.approach-pillar-card {
    padding: 28px;
}

.approach-pillar-num,
.approach-step-badge {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 12px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 950;
    background: var(--yellow);
    border-radius: 999px;
}

.approach-pillar-title,
.approach-step-content h4 {
    color: var(--ink);
    font-size: 20px;
    font-weight: 950;
}

.approach-pillar-desc,
.approach-step-content p {
    color: var(--ink-soft);
    font-size: 14px;
}

.approach-steps-title {
    margin-bottom: 24px;
    font-size: 28px;
    font-weight: 950;
}

.approach-steps-list {
    display: grid;
    gap: 16px;
    margin-bottom: 64px;
}

.approach-step-item {
    padding: 24px;
    display: flex;
    gap: 20px;
}

.approach-middle-image-box {
    overflow: hidden;
    margin-bottom: 64px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-pop);
}

.approach-middle-img {
    width: 100%;
}

.approach-images-area {
    display: none;
}

/* Responsive */
@media (max-width: 1020px) {
    .hero-section::after {
        opacity: 0.38;
        right: -80px;
        top: 150px;
        width: 560px;
    }

    #about .container {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .approach-pillars-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card:nth-child(1) {
        grid-column: span 2;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .container,
    .hero-container,
    .footer-container,
    .copyright {
        width: min(100% - 28px, 1160px);
    }

    header {
        top: 10px;
    }

    .header-container {
        padding: 12px;
        border-radius: 24px;
        flex-direction: column;
    }

    .nav-links {
        justify-content: center;
        gap: 2px;
    }

    .nav-links a {
        padding: 6px 8px;
        font-size: 11px;
    }

    .hero-section {
        min-height: auto;
        padding-top: 160px;
    }

    .hero-section::after {
        top: 116px;
        right: -150px;
        width: 430px;
        opacity: 0.26;
    }

    .hero-title {
        font-size: clamp(42px, 12vw, 78px);
        max-width: 100%;
        letter-spacing: -0.03em;
    }

    .hero-description {
        padding: 20px;
    }

    .hero-cta-btn,
    .approach-more a,
    .footer-form-btn {
        width: 100%;
        text-align: center;
    }

    .service-cta {
        width: min(100% - 28px, 1080px);
        grid-template-columns: 1fr;
        text-align: center;
    }

    .service-cta__btn {
        width: 100%;
    }

    .floating-social {
        left: 14px;
        right: 14px;
        bottom: 14px;
        flex-direction: row;
        justify-content: center;
    }

    .floating-social a {
        min-width: 0;
        flex: 1;
        min-height: 44px;
        padding: 9px 14px;
        font-size: 13px;
    }

    .section-title {
        font-size: clamp(32px, 11vw, 52px);
    }

    .services-grid,
    .approach-pillars-grid {
        grid-template-columns: 1fr;
    }

    .service-card:nth-child(1) {
        grid-column: auto;
    }

    .service-card:nth-child(1) .service-img-wrapper,
    .service-img-wrapper {
        height: 220px;
    }

    .about-image-wrapper {
        transform: none;
        border-radius: 26px;
    }

    .about-image-wrapper img {
        min-height: 260px;
    }

    .approach-lead-block {
        transform: none;
    }

    .flow-card,
    .flow-card-inner {
        min-height: 210px;
    }

    .approach-step-item {
        flex-direction: column;
    }
}

/* ==========================================================================
   追加修正：PCの空欄解消 & スマホ用ハンバーガーメニュー
   ========================================================================== */
/* 既存の .service-card:nth-child(1) が取組み・サービス両方に効いて
   1枚目だけ2列幅になっていたため、通常の3列×2段に戻す */
.approach-flow-grid > .service-card:nth-child(1),
#services .services-grid > .service-card:nth-child(1) {
    grid-column: auto;
}

.approach-flow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
}

#services .services-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
}

#services .services-grid > .service-card:nth-child(1) .service-img-wrapper {
    height: 240px;
}

#services .services-grid > .service-card--tap-featured {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
    background:
        radial-gradient(circle at 14% 12%, rgba(255, 226, 92, 0.86), transparent 22rem),
        radial-gradient(circle at 88% 8%, rgba(255, 122, 168, 0.40), transparent 20rem),
        linear-gradient(135deg, rgba(11, 131, 216, 0.96), rgba(53, 211, 232, 0.82) 52%, rgba(255, 226, 92, 0.96));
    border-color: rgba(11, 131, 216, 0.42);
    box-shadow: 16px 16px 0 rgba(11, 131, 216, 0.16), 0 24px 60px rgba(22, 48, 68, 0.16);
}

#services .services-grid > .service-card--tap-featured::before {
    content: "PICK UP";
    position: absolute;
    top: 18px;
    left: 22px;
    z-index: 2;
    padding: 7px 16px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.12em;
    background: var(--yellow);
    border-radius: 999px;
    box-shadow: 6px 6px 0 rgba(22, 48, 68, 0.14);
}

#services .services-grid > .service-card--tap-featured .service-img-wrapper {
    height: auto;
    min-height: 100%;
    background: rgba(255, 255, 255, 0.72);
}

#services .service-card--tap-featured .service-img-wrapper img {
    object-fit: contain;
    padding: 30px;
    background: linear-gradient(135deg, #ffffff, #eaf9ff);
}

#services .service-card--tap-featured .service-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--ink);
}

#services .service-card--tap-featured .service-card-title {
    font-size: clamp(34px, 5vw, 64px);
}

#services .service-card--tap-featured .service-card-text {
    color: rgba(22, 48, 68, 0.88);
    font-size: clamp(16px, 1.7vw, 20px);
    font-weight: 800;
}

#services .service-card--tap-featured .service-more-btn {
    align-self: flex-start;
    color: var(--white);
    background: var(--ink);
}

#services .service-card--tap-featured .service-more-btn:hover {
    color: var(--ink);
    background: var(--yellow);
}

#services .service-card--print {
    grid-column: 1 / span 3;
    grid-row: 2;
}

#services .service-card--ondemand {
    grid-column: 4 / span 3;
    grid-row: 2;
}

#services .service-card--craft {
    grid-column: 1 / span 2;
    grid-row: 3;
}

#services .service-card--layer {
    grid-column: 3 / span 2;
    grid-row: 3;
}

#services .service-card--ai {
    grid-column: 5 / span 2;
    grid-row: 3;
}

.approach-flow-grid .flow-card,
.approach-flow-grid .flow-card-inner {
    min-height: 242px;
}

/* ハンバーガーメニュー：PCでは非表示 */
.nav-toggle,
.hamburger {
    display: none;
}

@media (max-width: 1020px) {
    .approach-flow-grid,
    #services .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #services .services-grid > .service-card--tap-featured {
        grid-column: 1 / -1 !important;
        grid-row: auto !important;
    }

    #services .service-card--print,
    #services .service-card--ondemand,
    #services .service-card--craft,
    #services .service-card--layer,
    #services .service-card--ai {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 760px) {
    .header-container {
        position: relative;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 12px 14px;
        border-radius: 24px;
    }

    .hamburger {
        display: inline-flex;
        width: 42px;
        height: 42px;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 6px;
        border-radius: 50%;
        background: var(--ink);
        cursor: pointer;
        box-shadow: 0 8px 18px rgba(22, 48, 68, 0.16);
    }

    .hamburger span {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: var(--white);
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        background: rgba(255, 255, 255, 0.94);
        border: 2px solid rgba(22, 48, 68, 0.12);
        border-radius: 22px;
        box-shadow: 0 18px 40px rgba(22, 48, 68, 0.16);
        backdrop-filter: blur(18px);
    }

    .nav-links a {
        display: block;
        padding: 12px 14px;
        font-size: 13px;
        text-align: center;
        background: rgba(234, 249, 255, 0.72);
    }

    .nav-toggle:checked ~ .nav-links {
        display: flex;
    }

    .nav-toggle:checked + .hamburger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle:checked + .hamburger span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle:checked + .hamburger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .approach-flow-grid,
    #services .services-grid {
        grid-template-columns: 1fr;
    }

    #services .services-grid > .service-card--tap-featured {
        display: block;
        grid-column: auto !important;
    }

    #services .services-grid > .service-card--tap-featured .service-img-wrapper {
        min-height: auto;
        height: 240px;
    }
}


/* ==========================================================================
   追加修正：キャッチコピー改行・取組みタイトル改行・取組み6枚配置
   ========================================================================== */
.hero-title br {
    display: block !important;
}

.hero-title {
    white-space: normal;
}

.approach-title br {
    display: block;
}

#approach .approach-flow-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch;
}

#approach .approach-flow-grid > .service-card,
#approach .approach-flow-grid > .service-card:nth-child(1),
#approach .approach-flow-grid > .service-card:nth-child(6) {
    grid-column: auto !important;
    width: auto !important;
}

#approach .approach-flow-grid > .service-card,
#approach .approach-flow-grid > .service-card > div {
    min-height: 240px;
}

@media (max-width: 1020px) {
    #approach .approach-flow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    #approach .approach-flow-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-title br,
    .approach-title br {
        display: block !important;
    }
}

/* ==========================================================================
   approach.html 専用デザイン調整（index.htmlには影響しないよう body.approach-detail 配下に限定）
   ========================================================================== */
body.approach-detail .approach-page-wrapper {
    padding-top: 0;
}

body.approach-detail .approach-hero {
    position: relative;
    padding: clamp(150px, 15vw, 210px) 0 clamp(70px, 9vw, 110px);
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 226, 92, 0.58), transparent 24rem),
        radial-gradient(circle at 84% 8%, rgba(53, 211, 232, 0.36), transparent 28rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(234, 255, 244, 0.74));
    text-align: left;
    overflow: hidden;
}

body.approach-detail .approach-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 131, 216, 0.055) 1px, transparent 1px),
        linear-gradient(0deg, rgba(11, 131, 216, 0.055) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
}

body.approach-detail .approach-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.6fr);
    gap: clamp(28px, 6vw, 72px);
    align-items: center;
}

body.approach-detail .approach-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 950;
    letter-spacing: 0.18em;
}

body.approach-detail .approach-hero-label::before {
    content: "";
    width: 58px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--yellow), var(--cyan));
    box-shadow: 6px 6px 0 rgba(11, 131, 216, 0.14);
}

body.approach-detail .approach-hero h1 {
    margin: 0 0 18px;
    color: var(--ink);
    font-size: clamp(36px, 5.6vw, 72px);
    font-weight: 950;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

body.approach-detail .approach-hero-text > p:last-child {
    max-width: 780px;
    margin: 0;
    color: var(--ink-soft);
    font-size: clamp(18px, 2.4vw, 28px);
    font-weight: 950;
    letter-spacing: 0.01em;
}

body.approach-detail .approach-hero-card {
    min-height: 300px;
    display: grid;
    place-items: center;
    padding: 34px;
    color: var(--ink);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(234, 249, 255, 0.86));
    border: 2px solid rgba(22, 48, 68, 0.12);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-pop);
    transform: rotate(2deg);
}

body.approach-detail .approach-hero-card span {
    display: block;
    font-size: clamp(24px, 4vw, 54px);
    font-weight: 950;
    letter-spacing: -0.06em;
}

body.approach-detail .approach-hero-card span:nth-child(2) {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 50%;
    font-size: 38px;
    box-shadow: 8px 8px 0 rgba(255, 226, 92, 0.8);
}

body.approach-detail .approach-main-container {
    padding: clamp(70px, 10vw, 122px) 0;
    background: transparent;
}

body.approach-detail .approach-content-wrapper {
    width: min(1060px, calc(100% - 40px));
    max-width: none;
    margin: 0 auto;
}

body.approach-detail .approach-lead-section {
    position: relative;
    padding: clamp(34px, 6vw, 64px);
    margin-bottom: clamp(42px, 7vw, 74px);
    text-align: left;
    background: rgba(255, 255, 255, 0.84);
    border: 2px solid rgba(22, 48, 68, 0.12);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-pop);
    overflow: hidden;
}

body.approach-detail .approach-lead-section::after {
    content: "KNR";
    position: absolute;
    right: -8px;
    bottom: -58px;
    color: rgba(11, 131, 216, 0.06);
    font-size: clamp(120px, 22vw, 260px);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -0.12em;
    pointer-events: none;
}

body.approach-detail .approach-lead-title {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
    color: var(--blue);
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 950;
    line-height: 1.35;
    letter-spacing: -0.05em;
}

body.approach-detail .approach-lead-text {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0;
    color: var(--ink-soft);
    font-size: clamp(15px, 1.8vw, 17px);
    font-weight: 700;
    line-height: 2.1;
}

body.approach-detail .approach-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: clamp(56px, 8vw, 88px);
}

body.approach-detail .approach-pillar-card {
    position: relative;
    min-height: 250px;
    padding: 32px 28px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(22, 48, 68, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-pop);
    overflow: hidden;
}

body.approach-detail .approach-pillar-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, var(--yellow), var(--cyan));
}

body.approach-detail .approach-pillar-num,
body.approach-detail .approach-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin: 0 0 18px;
    padding: 6px 14px;
    color: var(--ink);
    background: var(--yellow);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.08em;
}

body.approach-detail .approach-pillar-title {
    margin-bottom: 12px;
    color: var(--ink);
    font-size: 22px;
    font-weight: 950;
    line-height: 1.38;
}

body.approach-detail .approach-pillar-desc {
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.85;
}

body.approach-detail .approach-steps-section {
    margin-bottom: clamp(56px, 8vw, 88px);
}

body.approach-detail .approach-steps-title {
    margin-bottom: 28px;
    color: var(--ink);
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 950;
    line-height: 1.32;
    letter-spacing: -0.05em;
}

body.approach-detail .approach-steps-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 0;
}

body.approach-detail .approach-step-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 26px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(22, 48, 68, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: 8px 8px 0 rgba(22, 48, 68, 0.07);
}

body.approach-detail .approach-step-content h4 {
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 20px;
    font-weight: 950;
}

body.approach-detail .approach-step-content p {
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
}

body.approach-detail .approach-middle-image-box {
    margin-bottom: clamp(56px, 8vw, 88px);
    border: 10px solid var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-pop), var(--shadow);
    overflow: hidden;
    transform: rotate(-1deg);
}

body.approach-detail .approach-middle-img {
    width: 100%;
    display: block;
}

body.approach-detail .approach-cta-section {
    position: relative;
    padding: clamp(34px, 6vw, 62px);
    color: var(--ink);
    text-align: center;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 226, 92, 0.72), transparent 22rem),
        linear-gradient(135deg, rgba(234, 249, 255, 0.9), rgba(234, 255, 244, 0.9));
    border: 2px solid rgba(22, 48, 68, 0.12);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-pop);
    overflow: hidden;
}

body.approach-detail .approach-cta-title {
    margin-bottom: 14px;
    color: var(--ink);
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 950;
    letter-spacing: -0.05em;
}

body.approach-detail .approach-cta-text {
    margin-bottom: 26px;
    color: var(--ink-soft);
    font-weight: 800;
}

body.approach-detail .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 14px 30px;
    color: var(--ink) !important;
    background: var(--yellow);
    border-radius: 999px;
    font-weight: 950;
    box-shadow: 8px 8px 0 rgba(22, 48, 68, 0.12);
}

body.approach-detail .btn:hover {
    transform: translateY(-3px);
    background: var(--cyan);
}

@media (max-width: 1020px) {
    body.approach-detail .approach-hero-inner,
    body.approach-detail .approach-pillars-grid,
    body.approach-detail .approach-steps-list {
        grid-template-columns: 1fr;
    }

    body.approach-detail .approach-hero-card {
        min-height: 220px;
        transform: none;
    }
}

@media (max-width: 760px) {
    body.approach-detail .approach-hero {
        padding-top: 132px;
    }

    body.approach-detail .approach-content-wrapper {
        width: min(100% - 28px, 1060px);
    }

    body.approach-detail .approach-lead-text br {
        display: none;
    }

    body.approach-detail .approach-step-item {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    body.approach-detail .approach-middle-image-box {
        border-width: 6px;
        border-radius: 26px;
        transform: none;
    }

    body.approach-detail .btn {
        width: 100%;
    }
}
