@font-face {
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/NotoSansJP-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/NotoSansJP-Medium.ttf") format("truetype");
}
@font-face {
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/NotoSansJP-Bold.ttf") format("truetype");
}
/* Kani template matched to office-kani.com office page */
:root {
    --kani-blue: #2b5788;
    --kani-blue-soft: #e8edf1;
    --kani-teal: #2abab1;
    --kani-footer: #555;
    --kani-text: #333;
    --kani-muted: #777;
    --kani-border: #ddd;
    --kani-light: #f5f6f6;
    --kani-container: 1180px;
    --kani-font-ja: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
    --kani-font-en: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--kani-text);
    background: #fff;
    font-family: var(--kani-font-ja);
    font-size: 15px;
    line-height: 1.8;
    font-feature-settings: "palt" 1;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--kani-blue); }
img { max-width: 100%; height: auto; vertical-align: bottom; border: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
figure { margin: 0; }
button, input { font: inherit; }
body,
button,
input,
select,
textarea,
table {
    font-family: var(--kani-font-ja) !important;
}
:lang(en),
.k-en,
.k-nav a span,
.k-logo-copy > span {
    font-family: var(--kani-font-en);
    font-feature-settings: normal;
}

.k-container {
    width: min(100% - 32px, var(--kani-container));
    margin: 0 auto;
}

/* Header */
.k-site-header {
    position: relative;
    min-height: 248px;
    background:
        linear-gradient(rgba(255,255,255,.76), rgba(255,255,255,.56)),
        url("../images/pagettl_bg.jpg") no-repeat center top / cover;
    z-index: 30;
}
.k-header-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 12px;
    margin-bottom: 16px;
}
.k-site-catch {
    margin: 0;
    color: var(--kani-muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}
.k-header-main {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    padding-bottom: 24px;
}
.k-logo img { width: 340px; max-width: 100%; }
.k-logo--text a {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    color: var(--kani-blue);
}
.k-logo-symbol {
    display: block;
    width: 52px;
    height: 52px;
    overflow: hidden;
    flex: 0 0 52px;
}
.k-logo-symbol img {
    display: block;
    width: 529px;
    max-width: none;
    height: 52px;
}
.k-logo-copy {
    display: block;
}
.k-logo--text strong {
    display: block;
    font-size: 35px;
    font-weight: 400;
    line-height: 1.2;
}
.k-logo-copy > span {
    display: block;
    margin-top: 4px;
    color: var(--kani-muted);
    font-size: 12px;
    letter-spacing: 0;
}
.k-header-actions {
    display: grid;
    justify-items: end;
    gap: 7px;
}
.k-search {
    display: flex;
    justify-content: flex-end;
    gap: 0;
}
.k-search input {
    width: 188px;
    height: 34px;
    border: 1px solid var(--kani-border);
    border-right: 0;
    background: rgba(255,255,255,.92);
    padding: 4px 10px;
}
.k-search button {
    height: 34px;
    border: 1px solid var(--kani-blue);
    background: var(--kani-blue);
    color: #fff;
    cursor: pointer;
    padding: 0 16px;
}
.k-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    color: var(--kani-muted);
    font-family: var(--kani-font-en);
    font-size: 13px;
    line-height: 1.2;
}
.k-lang-switch select {
    min-width: 96px;
    height: 26px;
    border: 1px solid rgba(43,87,136,.35);
    border-radius: 2px;
    background: rgba(255,255,255,.88);
    color: var(--kani-blue);
    cursor: pointer;
    padding: 2px 22px 2px 8px;
    font-family: var(--kani-font-ja) !important;
    font-size: 13px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%232b5788' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 10px 6px;
}
.k-lang-switch select:focus {
    outline: 2px solid rgba(43,87,136,.25);
    outline-offset: 1px;
}
.k-lang-switch[data-lang-dropdown] {
    position: relative;
}
.k-lang-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 130px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--kani-blue);
    border-radius: 3px;
    background: rgba(255,255,255,.95);
    color: var(--kani-blue);
    cursor: pointer;
    font-family: var(--kani-font-ja);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
}
.k-lang-trigger:hover { background: var(--kani-blue); color: #fff; }
.k-lang-trigger:hover .k-lang-caret { border-top-color: #fff; }
.k-lang-trigger:focus { outline: 2px solid rgba(43,87,136,.25); outline-offset: 1px; }
.k-lang-caret {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid var(--kani-blue);
    transition: transform .2s ease;
    flex: 0 0 auto;
}
.k-lang-switch.is-open .k-lang-caret { transform: rotate(180deg); }
.k-lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 9999;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    min-width: 100%;
    background: #fff;
    border: 1px solid var(--kani-blue);
    border-radius: 3px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.k-lang-menu[hidden] { display: none; }
.k-lang-menu li { margin: 0; }
.k-lang-menu a {
    display: block;
    padding: 10px 14px;
    color: var(--kani-blue);
    text-decoration: none;
    font-family: var(--kani-font-ja);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}
.k-lang-menu a:hover { background: var(--kani-blue); color: #fff; }
.k-header-tel img { width: 288px; }
.k-header-mail,
.k-header-contact {
    display: inline-block;
    padding-left: 34px;
    color: #333;
    background: url("../images/header_tel.png") no-repeat left center / 28px auto;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4;
}
.k-header-mail:hover,
.k-header-contact:hover {
    color: var(--kani-blue);
    opacity: .82;
}
.k-nav-toggle { display: none; }

.k-nav {
    position: relative;
    z-index: 80;
    margin-bottom: 0;
}
.k-nav > ul {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: stretch;
    background: rgba(255,255,255,.44);
    border-top: 1px solid rgba(255,255,255,.55);
    border-bottom: 1px solid rgba(255,255,255,.55);
}
.k-nav > ul > li + li { border-left: 1px solid rgba(255,255,255,.7); }
.k-nav li { position: relative; }
.k-nav > ul > li > a,
.k-nav > ul > li > span {
    position: relative;
    z-index: 2;
    display: block;
    padding: 12px 6px 15px;
    color: #000;
    text-align: center;
    font-size: 17px;
    line-height: 1.2;
    cursor: pointer;
}
.k-nav span span,
.k-nav a span {
    display: block;
    margin-top: 4px;
    color: #888;
    font-size: 10px;
}
.k-nav > ul > li.active > a,
.k-nav > ul > li > a:hover,
.k-nav > ul > li > span:hover {
    color: var(--kani-blue);
}
.k-nav li ul {
    position: absolute;
    left: 50%;
    top: 100%;
    display: none;
    width: 230px;
    transform: translateX(-50%);
    background: #fff;
    z-index: 50;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.k-nav li:hover ul,
.k-nav li:focus-within ul { display: block; }
.k-nav li ul a {
    display: block;
    padding: 12px;
    border-bottom: 1px solid var(--kani-border);
    text-align: center;
    font-size: 15px;
}

/* Page */
.k-page-title {
    min-height: 138px;
    display: flex;
    align-items: start;
    justify-content: center;
    padding: 18px 0 0;
    margin-top: -26px;
    background: url("../images/pagettl_bg.jpg") no-repeat center -248px / cover;
}
.k-page-title h2 {
    display: inline-block;
    min-width: 300px;
    margin: 0;
    padding: 15px 70px;
    background: rgba(255,255,255,.72);
    color: #222;
    text-align: center;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.2;
}
.k-office-layout {
    padding: 80px 0 40px;
}
.k-office-section {
    margin-bottom: 80px;
}
.k-heading {
    margin-bottom: 40px;
}
.k-heading h3 {
    position: relative;
    margin: 0;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--kani-blue);
    text-align: center;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.4;
}
.k-heading h3::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 52px;
    height: 19px;
    transform: translateX(-50%);
    background: radial-gradient(circle at center, var(--kani-blue) 0 3px, transparent 4px), #fff;
}
.k-main-photo {
    max-width: 640px;
    margin: 0 auto 28px;
    text-align: center;
}
.k-main-photo img,
.k-office-gallery img,
.k-route-photo {
    display: block;
    width: 100%;
    object-fit: cover;
}
.k-info-table {
    width: 100%;
    margin-bottom: 28px;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--kani-border);
}
.k-info-table th,
.k-info-table td {
    padding: 10px;
    border: 1px solid var(--kani-border);
    vertical-align: middle;
}
.k-info-table th {
    width: 20%;
    min-width: 150px;
    background: var(--kani-blue);
    color: #fff;
    text-align: left;
    font-weight: 600;
}
.k-info-table td { color: #333; }
.k-info-table a { color: var(--kani-blue); text-decoration: underline; }
.k-office-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.k-office-gallery img {
    aspect-ratio: 4 / 3;
}

.k-lead {
    max-width: 860px;
    margin: 0 auto 34px;
    text-align: center;
    font-size: 17px;
    line-height: 2;
}
.k-service-visual {
    margin: 0 auto 34px;
}
.k-service-visual img {
    display: block;
    width: 100%;
    border-bottom: 8px solid #e8473c;
    object-fit: cover;
}
.k-section-visual {
    max-width: 920px;
    margin: 0 auto 32px;
}
.k-section-visual img {
    display: block;
    width: 100%;
    max-height: 430px;
    object-fit: cover;
    object-position: center;
    border-bottom: 8px solid #e8473c;
}
.k-feature-layout {
    display: grid;
    grid-template-columns: minmax(260px, 36%) 1fr;
    gap: 24px;
    align-items: stretch;
}
.k-feature-layout--reverse {
    grid-template-columns: 1fr minmax(280px, 40%);
}
.k-feature-layout--reverse .k-feature-image {
    order: 2;
}
.k-feature-image {
    align-self: start;
    background: #fff;
}
.k-feature-image img {
    display: block;
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    object-position: center;
    border-bottom: 6px solid #e8473c;
}
.k-feature-layout--reverse .k-feature-image img {
    max-height: 285px;
    object-fit: cover;
}
.k-feature-text {
    grid-template-columns: repeat(2, 1fr);
}
.k-license-gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 30px 26px;
    align-items: start;
}
.k-license-gallery figure {
    display: flex;
    min-height: 145px;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.k-license-gallery img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 145px;
    object-fit: contain;
}
.k-license-gallery figure:nth-child(6) {
    grid-column: 1 / span 2;
    justify-content: flex-start;
}
.k-service-grid,
.k-two-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.k-two-column {
    grid-template-columns: repeat(2, 1fr);
}
.k-service-card,
.k-two-column section,
.k-list-panel {
    border: 1px solid var(--kani-blue);
    background: #fff;
    padding: 28px;
}
.k-service-card span {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--kani-teal);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}
.k-service-card h4,
.k-two-column h4 {
    margin: 0 0 14px;
    color: var(--kani-blue);
    font-size: 20px;
    line-height: 1.5;
}
.k-service-card p,
.k-note {
    margin: 0;
}
.k-list-panel ul,
.k-two-column ul {
    padding-left: 1.35em;
}
.k-list-panel li,
.k-two-column li {
    list-style: disc;
    margin-bottom: 8px;
}
.k-price-table th {
    width: 30%;
}
.k-note {
    color: var(--kani-muted);
    font-size: 14px;
}
.k-flow-list {
    display: grid;
    gap: 14px;
    counter-reset: flow;
}
.k-flow-list li {
    position: relative;
    list-style: none;
    padding: 20px 24px 20px 70px;
    border: 1px solid var(--kani-border);
    background: #fff;
    counter-increment: flow;
}
.k-flow-list li::before {
    content: counter(flow);
    position: absolute;
    left: 22px;
    top: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--kani-blue);
    color: #fff;
    text-align: center;
    line-height: 32px;
    font-weight: 700;
}
.k-flow-list strong {
    color: var(--kani-blue);
}

/* Route */
.k-route-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 28px;
    counter-reset: route;
}
.k-route-step {
    position: relative;
    border: 1px solid var(--kani-blue);
    padding: 28px;
    background: #fff;
    counter-increment: route;
}
.k-route-step::before {
    content: counter(route);
    position: absolute;
    top: -14px;
    left: 18px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--kani-blue);
    color: #fff;
    text-align: center;
    line-height: 34px;
    font-weight: 700;
}
.k-route-step::after {
    content: "";
    position: absolute;
    right: -21px;
    top: 50%;
    width: 13px;
    height: 22px;
    transform: translateY(-50%);
    background: url("../images/arrow02.png") no-repeat center / contain;
}
.k-route-step:nth-child(3n)::after,
.k-route-step:last-child::after { display: none; }
.k-route-photo {
    aspect-ratio: 4 / 3;
    margin-bottom: 18px;
}
.k-route-step p {
    margin: 0;
    line-height: 1.8;
}

.k-map {
    position: relative;
    padding-top: 50%;
    overflow: hidden;
}
.k-map iframe {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}
.k-area {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 44px;
    align-items: center;
}
.k-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.k-contact-card {
    border: 1px solid var(--kani-blue);
    background: #fff;
    padding: 28px;
    text-align: center;
}
.k-contact-card h4 {
    margin: 0 0 14px;
    color: var(--kani-blue);
    font-size: 18px;
}
.k-contact-card p {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.7;
}
.k-contact-card a {
    color: var(--kani-blue);
    text-decoration: underline;
}
.k-contact-card small {
    color: var(--kani-muted);
}
.k-area p,
.k-policy p,
.k-policy li {
    margin: 0 0 15px;
}
.k-policy ol {
    padding-left: 2em;
}
.k-policy ol > li {
    list-style: decimal;
}
.k-policy ul {
    padding-left: 1.4em;
    margin-top: 8px;
}
.k-policy ul li {
    list-style: disc;
    margin-bottom: 4px;
}
.k-cms-content:empty { display: none; }

/* ============================================================
   Detail module — image left / content right (image sticky on scroll)
   ============================================================ */
.k-detail-module {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 32px;
    align-items: start;
}
.k-detail-module-image {
    margin: 0;
    position: sticky;
    top: 90px;
    overflow: hidden;
    background: #f5f6f8;
    width: 100%;
    max-height: 320px;
    aspect-ratio: 4 / 3;
}
.k-detail-module-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.k-detail-module-content {
    color: #444;
    font-size: 13px;
    line-height: 2;
}
.k-detail-module-content h4 {
    margin: 0 0 14px;
    color: var(--kani-blue);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .1em;
}
.k-detail-module-content p {
    margin: 0 0 12px;
}

/* Reverse layout — content left (wide), image right (narrow) */
.k-detail-module--reverse {
    grid-template-columns: 1fr 360px;
}
.k-detail-module--reverse .k-detail-module-image {
    order: 2;
}
.k-detail-module--reverse .k-detail-module-content {
    order: 1;
}

/* ============================================================
   Story page (tid=2002) — clean & minimal redesign
   ============================================================ */
.k-subpage.k-story-page {
    background: #fff;
    padding: 80px 0 100px;
}

/* Container */
.k-story-container {
    width: min(100% - 32px, 760px);
    margin: 0 auto;
    padding: 0;
}

/* Reset all story content to a clean baseline */
.k-cms-content--story {
    background: transparent;
}
.k-cms-content--story .k-story,
.k-cms-content--story .k-story-grid {
    max-width: 760px;
    margin: 0;
    display: block;
}

/* Profile section — image floats left, text wraps on the right */
.k-cms-content--story .k-story-photo {
    float: left;
    width: 240px;
    margin: 0 28px 16px 0;
    background: #d7d6ef;
    shape-outside: margin-box;
}
.k-cms-content--story .k-story-photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.k-cms-content--story .k-story-greeting {
    margin: 0;
    padding: 0;
    background: transparent;
    color: #333;
    border: 0;
}
.k-cms-content--story .k-story-greeting::after {
    content: "";
    display: block;
    clear: both;
}

/* Greeting heading — minimal, blue, no decoration */
.k-cms-content--story .k-story-greeting h4 {
    margin: 0 0 16px;
    padding: 0;
    color: var(--kani-blue);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .1em;
    border: 0;
    background: transparent;
}
.k-cms-content--story .k-story-greeting p {
    margin: 0 0 12px;
    color: #444;
    font-size: 13px;
    line-height: 2;
}
.k-cms-content--story .k-story-greeting p:last-child {
    margin-bottom: 0;
}

/* Detail panels — flat list with thin separators */
.k-cms-content--story .k-story-panel {
    margin: 0;
    padding: 28px 0;
    background: transparent;
    border: 0;
    border-top: 1px solid #e5e7eb;
    border-radius: 0;
    box-shadow: none;
}
.k-cms-content--story .k-story-panel:first-child {
    border-top: 1px solid #e5e7eb;
}
.k-cms-content--story .k-story-panel h4 {
    margin: 0 0 16px;
    padding: 0 0 0 18px;
    color: #222;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    border: 0;
    position: relative;
}
.k-cms-content--story .k-story-panel h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 3px;
    background: var(--kani-blue);
}
.k-cms-content--story .k-story-panel h5 {
    margin: 16px 0 6px;
    padding: 0;
    color: #444;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
}
.k-cms-content--story .k-story-panel p {
    margin: 0 0 10px;
    color: #555;
    font-size: 13px;
    line-height: 1.9;
}
.k-cms-content--story .k-story-panel p:last-child {
    margin-bottom: 0;
}
.k-cms-content--story .k-story-panel strong {
    color: #222;
    font-weight: 600;
}
.k-cms-content--story .k-story-panel ul {
    padding-left: 1.2em;
    margin: 4px 0 0;
}
.k-cms-content--story .k-story-panel li {
    list-style: disc;
    margin-bottom: 4px;
    color: #555;
    font-size: 13px;
    line-height: 1.8;
}

/* Data list — label / value rows */
.k-cms-content--story .k-story-data {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 6px 16px;
    margin: 0;
}
.k-cms-content--story .k-story-data dt {
    color: #888;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.9;
}
.k-cms-content--story .k-story-data dd {
    margin: 0;
    color: #333;
    font-size: 12px;
    line-height: 1.9;
}
.k-cms-content--story .k-story-data a {
    color: var(--kani-blue);
    text-decoration: none;
    border-bottom: 1px solid #d0d8e5;
}
.k-cms-content--story .k-story-data a:hover {
    color: #e9473f;
    border-color: #e9473f;
}

/* Group list */
.k-cms-content--story .k-group-list strong {
    color: #222;
    font-weight: 600;
}
.k-cms-content--story .k-group-list li p {
    margin: 0;
    color: #666;
    font-size: 12px;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .k-story-container {
        width: calc(100% - 32px);
    }
    .k-cms-content--story .k-story-panel {
        padding: 22px 0;
    }
    .k-detail-module,
    .k-detail-module--reverse {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .k-detail-module-image {
        position: static;
    }
    .k-cms-content--story .k-story-data {
        grid-template-columns: 72px 1fr;
        gap: 4px 12px;
    }
}

/* Footer */
.k-site-footer {
    background: var(--kani-footer);
    color: #fff;
    padding: 60px 0 30px;
}
.k-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
}
.k-footer-info h2 {
    margin: 0 0 20px;
}
.k-footer-info h2 img { width: 350px; max-width: 100%; }
.k-footer-address {
    margin: 0 0 32px;
}
.k-footer-contact {
    margin: 0 0 24px;
}
.k-footer-contact a { color: #fff; text-decoration: underline; }
.k-footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.k-footer-nav li {
    position: relative;
    margin-bottom: 5px;
    padding-left: 15px;
}
.k-footer-nav li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .75em;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #fff;
}
.k-footer-nav a { color: #fff; }
.k-footer-nav a:hover { color: #fff; text-decoration: underline; }
.k-footer-map iframe {
    width: 100%;
    height: 300px;
    vertical-align: bottom;
}
.k-copyright {
    margin: 28px 0 0;
    text-align: center;
    font-size: 13px;
    line-height: 1.2;
}
.k-floating-actions {
    position: fixed;
    right: 18px;
    bottom: 16px;
    z-index: 40;
    display: grid;
    gap: 14px;
    justify-items: center;
}
.k-floating-contact,
.k-back-top {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    font-family: var(--kani-font-ja) !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    box-shadow: 0 6px 14px rgba(0,0,0,.12);
}
.k-floating-contact {
    background: #a50016;
}
.k-floating-contact:hover,
.k-back-top:hover {
    color: #fff;
    opacity: .88;
}
.k-floating-icon {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
    line-height: 1;
}
.k-back-top {
    background: var(--kani-blue);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease;
}
.k-back-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.k-floating-arrow {
    display: block;
    width: 0;
    height: 0;
    margin-bottom: 7px;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
    border-bottom: 9px solid #fff;
}
.k-back-top span:last-child {
    font-family: var(--kani-font-en);
    font-size: 11px;
    letter-spacing: 0;
}

/* Jimdo style standalone pages */
.k-subpage.k-jimdo-page {
    background: #fff;
    padding: 78px 0 96px;
}
.k-jimdo-container,
.k-contact-form-section,
.k-story-poem {
    width: min(100% - 48px, 1120px);
    margin: 0 auto;
}
.k-jimdo-title,
.k-contact-form-section h2 {
    margin: 0 0 34px;
    color: #e9473f;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.35;
}
.k-service-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    justify-content: center;
    max-width: 720px;
    margin: 0 auto;
}
.k-red-card {
    background: #e9473f;
    color: #fff;
    width: 280px;
    max-width: 100%;
    margin: 0 auto;
}
.k-red-card img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: contain;
    object-position: center top;
    background: #fff;
}
.k-red-card-body {
    padding: 22px 24px;
}
.k-red-card h3 {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .05em;
}
.k-red-card p {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.7;
}
.k-red-card p:last-child {
    margin-bottom: 0;
}
.k-red-card-link {
    color: #fff;
    text-decoration: underline;
}
.k-story-title-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: min(100%, 660px);
    margin: 0 auto 28px;
}
.k-story-title-row h2 {
    margin: 0;
    color: #e9473f;
    text-align: center;
    font-size: 32px;
    font-weight: 400;
}
.k-story-title-row p {
    margin: 0;
    color: #333;
    font-size: 12px;
}
.k-story-poem img {
    display: block;
    width: min(100%, 760px);
    margin: 0 auto 28px;
}
.k-poem-text {
    width: min(100%, 760px);
    margin: 0 auto;
    color: #333;
    font-size: 13px;
    line-height: 1.6;
}
.k-contact-form-section h2 {
    margin-bottom: 48px;
}
.k-jimdo-form {
    display: grid;
    gap: 20px;
}
.k-form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.k-jimdo-form label {
    display: grid;
    gap: 8px;
    color: #333;
    font-size: 16px;
}
.k-jimdo-form input,
.k-jimdo-form textarea {
    width: 100%;
    border: 1px solid #cfcfcf;
    border-radius: 3px;
    background: #fff;
    padding: 10px 12px;
    font-size: 16px;
}
.k-jimdo-form input {
    height: 48px;
}
.k-jimdo-form textarea {
    min-height: 140px;
    resize: vertical;
}
.k-consent {
    grid-template-columns: 16px 1fr;
    align-items: start;
    line-height: 1.8;
}
.k-consent input {
    width: 13px;
    height: 13px;
    margin-top: 6px;
}
.k-policy-link {
    margin: 0;
    font-size: 16px;
}
.k-submit-btn {
    justify-self: center;
    min-width: 90px;
    height: 46px;
    border: 0;
    border-radius: 4px;
    background: #f4a9a5;
    color: #fff;
    cursor: pointer;
    padding: 0 26px;
}
.k-submit-btn:hover {
    background: #e9473f;
    color: #fff;
}

@media (max-width: 900px) {
    .k-container { width: min(100% - 24px, var(--kani-container)); }
    .k-header-topline,
    .k-header-actions,
    .k-nav {
        display: none;
    }
    .k-site-header {
        min-height: 70px;
        background: rgba(255,255,255,.88);
    }
    .k-header-main {
        grid-template-columns: 1fr 50px;
        align-items: center;
        padding: 10px 0;
    }
    .k-logo img { width: 280px; }
    .k-logo-symbol {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }
    .k-logo-symbol img {
        width: 386px;
        height: 38px;
    }
    .k-logo--text strong { font-size: 22px; }
    .k-logo--text span { font-size: 10px; }
    .k-nav-toggle {
        position: fixed;
        top: 0;
        right: 0;
        display: block;
        width: 50px;
        height: 50px;
        border: 0;
        background: var(--kani-blue);
        cursor: pointer;
        z-index: 100;
    }
    .k-nav-toggle span {
        position: absolute;
        left: 50%;
        width: 25px;
        height: 2px;
        transform: translateX(-50%);
        background: #e8edf1;
        transition: transform .25s ease, opacity .25s ease;
    }
    .k-nav-toggle span:nth-child(1) { top: 15px; }
    .k-nav-toggle span:nth-child(2) { top: 24px; }
    .k-nav-toggle span:nth-child(3) { top: 33px; }
    body.k-nav-open .k-nav-toggle span:nth-child(1) { transform: translate(-50%, 9px) rotate(-45deg); }
    body.k-nav-open .k-nav-toggle span:nth-child(2) { opacity: 0; }
    body.k-nav-open .k-nav-toggle span:nth-child(3) { transform: translate(-50%, -9px) rotate(45deg); }
    body.k-nav-open .k-site-header {
        z-index: 90;
    }
    body.k-nav-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.62);
        z-index: 45;
    }
    body.k-nav-open .k-nav {
        position: fixed;
        top: 0;
        right: 0;
        display: block;
        width: 270px;
        height: 100vh;
        overflow-y: auto;
        padding: 50px 0;
        background: #fff;
        z-index: 95;
        box-shadow: -8px 0 24px rgba(0,0,0,.18);
    }
    body.k-nav-open .k-nav > ul {
        display: block;
        background: none;
    }
    .k-nav > ul > li > a,
    .k-nav > ul > li > span {
        position: relative;
        padding: 15px 10px 15px 30px;
        border-bottom: 1px solid var(--kani-border);
        text-align: left;
        font-size: 14px;
        letter-spacing: 0;
    }
    .k-nav > ul > li:first-child > a { border-top: 1px solid var(--kani-border); }
    .k-nav > ul > li > a::before,
    .k-nav > ul > li > span::before {
        content: "";
        position: absolute;
        left: 10px;
        top: 23px;
        width: 8px;
        height: 3px;
        background: var(--kani-blue);
    }
    .k-nav li ul {
        position: static;
        display: block;
        width: auto;
        transform: none;
        box-shadow: none;
    }
    .k-nav li ul a {
        padding: 10px 10px 10px 50px;
        border-bottom: 1px dashed var(--kani-border);
        text-align: left;
        font-size: 14px;
    }
    .k-page-title {
        min-height: 180px;
        padding: 40px 0;
        margin-top: 0;
        align-items: center;
        background-position: center bottom;
    }
    .k-page-title h2 {
        min-width: 0;
        padding: 18px 28px;
        font-size: 26px;
    }
    .k-office-layout { padding: 45px 0 20px; }
    .k-office-section { margin-bottom: 52px; }
    .k-heading { margin-bottom: 28px; }
    .k-heading h3 {
        padding-bottom: 12px;
        font-size: 23px;
    }
    .k-office-gallery,
    .k-service-grid,
    .k-two-column,
    .k-feature-layout,
    .k-feature-layout--reverse,
    .k-story-grid,
    .k-route-list,
    .k-area,
    .k-contact-grid,
    .k-footer-grid,
    .k-footer-nav {
        grid-template-columns: 1fr;
    }
    .k-feature-layout--reverse .k-feature-image {
        order: 0;
    }
    .k-feature-image img,
    .k-feature-layout--reverse .k-feature-image img {
        max-height: 260px;
    }
    .k-license-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
    .k-license-gallery figure:nth-child(6) {
        grid-column: auto;
    }
    .k-license-gallery img {
        max-height: 150px;
    }
    .k-info-table,
    .k-info-table tbody,
    .k-info-table tr,
    .k-info-table th,
    .k-info-table td {
        display: block;
        width: 100%;
    }
    .k-info-table th {
        min-width: 0;
        border-bottom: 0;
    }
    .k-route-step {
        padding: 22px;
    }
    .k-route-step::after {
        right: 50%;
        top: auto;
        bottom: -22px;
        width: 22px;
        height: 13px;
        transform: translateX(50%);
        background-image: url("../images/arrow03.png");
    }
    .k-route-step:nth-child(3n)::after { display: block; }
    .k-route-step:last-child::after { display: none; }
    .k-map { padding-top: 70%; }
    .k-service-visual img {
        min-height: 170px;
    }
    .k-story-panel,
    .k-story-greeting {
        padding: 24px;
    }
    .k-story-panel h4 {
        font-size: 21px;
    }
    .k-story-data {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .k-floating-actions {
        right: 12px;
        bottom: 12px;
        gap: 10px;
    }
    .k-floating-contact,
    .k-back-top {
        width: 64px;
        height: 64px;
        font-size: 10px;
    }
    .k-floating-icon {
        margin-bottom: 4px;
        font-size: 13px;
    }
    .k-back-top span:last-child {
        font-size: 9px;
    }
    .k-subpage.k-jimdo-page {
        padding: 44px 0 70px;
    }
    .k-jimdo-container,
    .k-contact-form-section,
    .k-story-poem {
        width: min(100% - 24px, 1120px);
    }
    .k-jimdo-title,
    .k-contact-form-section h2 {
        font-size: 28px;
    }
    .k-service-detail-grid,
    .k-form-row {
        grid-template-columns: 1fr;
    }
    .k-red-card img {
        height: auto;
    }
    .k-story-title-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .k-story-title-row p {
        text-align: right;
    }
}


/* My Story profile content */
.k-story-profile {
    max-width: 900px;
    margin: 0 auto;
    color: #333;
    font-size: 16px;
    line-height: 1.9;
}
.k-story-profile::after {
    content: "";
    display: block;
    clear: both;
}
.k-story-profile-photo {
    float: left;
    width: min(300px, 42vw);
    max-width: 100%;
    margin: 0 30px 18px 0;
    border-radius: 2px;
}
.k-story-profile h2 {
    margin: 28px 0 12px;
    color: var(--kani-blue);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.4;
}
.k-story-profile h2:first-of-type {
    margin-top: 0;
}
.k-story-profile h3 {
    margin: 18px 0 8px;
    color: var(--kani-blue);
    font-size: 18px;
}
.k-story-profile p {
    margin: 0 0 12px;
}
.k-story-profile ul {
    margin: 0 0 18px 1.2em;
    padding: 0;
}
.k-story-profile li {
    margin: 0 0 4px;
}
@media (max-width: 700px) {
    .k-story-profile-photo {
        float: none;
        display: block;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 20px;
    }
}


/* My Story media section */
.k-story-media {
    clear: both;
    margin: 58px auto 0;
    padding-top: 18px;
    max-width: 1120px;
}
.k-story-media-head {
    text-align: center;
    margin-bottom: 28px;
}
.k-story-media-eyebrow {
    margin: 0 0 8px;
    color: #777;
    font-family: var(--kani-font-en);
    font-size: 13px;
    letter-spacing: .18em;
    line-height: 1.2;
}
.k-story-media h2 {
    margin: 0 0 14px;
    color: var(--kani-blue);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
}
.k-story-media-head p:not(.k-story-media-eyebrow) {
    margin: 0;
    color: #333;
    font-size: 15px;
    line-height: 1.8;
}
.k-story-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.k-story-video-card {
    margin: 0;
    border: 1px solid var(--kani-border);
    background: #fff;
    overflow: hidden;
}
.k-story-video-card video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
    object-fit: cover;
}
@media (max-width: 700px) {
    .k-story-media {
        margin-top: 38px;
    }
    .k-story-media h2 {
        font-size: 24px;
    }
}


/* My Story media alignment refinement */
.k-story-profile .k-story-media {
    clear: both;
    width: min(100%, 900px);
    max-width: 900px;
    margin: 64px auto 0;
    padding-top: 8px;
}
.k-story-profile .k-story-media-head {
    display: block;
    width: 100%;
    max-width: 760px;
    margin: 0 auto 26px;
    text-align: center;
}
.k-story-profile .k-story-media-eyebrow {
    display: block;
    margin: 0 0 8px;
    text-align: center;
}
.k-story-profile .k-story-media h2 {
    margin: 0 0 12px;
    text-align: center;
}
.k-story-profile .k-story-media-head p:not(.k-story-media-eyebrow) {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.k-story-profile .k-story-video-grid {
    display: grid;
    grid-template-columns: minmax(0, 560px);
    justify-content: center;
}
.k-story-profile .k-story-video-card {
    width: 100%;
}
@media (max-width: 700px) {
    .k-story-profile .k-story-media {
        width: 100%;
        margin-top: 42px;
    }
    .k-story-profile .k-story-video-grid {
        grid-template-columns: 1fr;
    }
}


/* My Story media final sizing */
.k-story-media {
    clear: both !important;
    width: min(100% - 48px, 900px) !important;
    max-width: 900px !important;
    margin: 64px auto 0 !important;
    padding-top: 8px !important;
}
.k-story-media-head {
    display: block !important;
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto 26px !important;
    text-align: center !important;
}
.k-story-media-eyebrow,
.k-story-media h2,
.k-story-media-head p:not(.k-story-media-eyebrow) {
    text-align: center !important;
}
.k-story-media-head p:not(.k-story-media-eyebrow) {
    max-width: 760px !important;
    margin: 0 auto !important;
}
.k-story-video-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 760px) !important;
    justify-content: center !important;
    gap: 0 !important;
}
.k-story-video-card {
    width: 100% !important;
    margin: 0 auto !important;
}
.k-story-video-card video {
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto !important;
}
@media (max-width: 700px) {
    .k-story-media {
        width: min(100% - 24px, 900px) !important;
        margin-top: 42px !important;
    }
    .k-story-video-grid {
        grid-template-columns: 1fr !important;
    }
}


/* Contact page width */
.k-jimdo-page > .k-cms-content {
    width: min(100% - 48px, 1120px);
    margin: 0 auto;
}
.k-contact-panel {
    width: 100%;
}
@media (max-width: 700px) {
    .k-jimdo-page > .k-cms-content {
        width: min(100% - 24px, 1120px);
    }
}


/* My Story media compact video */
.k-story-video-grid {
    grid-template-columns: minmax(0, 620px) !important;
}
.k-story-video-card video {
    max-width: 620px !important;
}

/* My Story CMS video responsive guard */
.k-story-media,
.k-story-media * {
    box-sizing: border-box;
}
.k-story-media p,
.k-story-media .k-story-media__lead {
    width: 100% !important;
    max-width: 620px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.k-story-media video,
.k-story-media iframe,
.k-story-media object,
.k-story-media embed,
.k-story-media .video-js,
.k-story-media .edui-upload-video {
    display: block !important;
    width: 100% !important;
    max-width: 620px !important;
    min-width: 0 !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.k-story-media video,
.k-story-media .video-js {
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #111;
}
@media (max-width: 700px) {
    .k-story-media {
        width: min(100% - 40px, 620px) !important;
        max-width: calc(100vw - 40px) !important;
        overflow: hidden !important;
    }
    .k-story-media p,
    .k-story-media .k-story-media__lead,
    .k-story-media video,
    .k-story-media iframe,
    .k-story-media object,
    .k-story-media embed,
    .k-story-media .video-js,
    .k-story-media .edui-upload-video {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Mobile My Story spacing refinement */
@media (max-width: 700px) {
    .k-subpage.k-story-page {
        padding-top: 18px !important;
        padding-bottom: 56px !important;
    }
    .k-story-container {
        width: min(100% - 24px, 760px) !important;
    }
    .k-cms-content--story .k-story,
    .k-cms-content--story .k-story-grid {
        max-width: 100% !important;
    }
    .k-cms-content--story .k-story-photo {
        width: min(60vw, 225px) !important;
        margin: 0 14px 8px 0 !important;
        border: 0 !important;
        box-shadow: none !important;
    }
    .k-cms-content--story .k-story-photo img {
        border: 0 !important;
        margin: 0 !important;
    }
    .k-cms-content--story .k-story-greeting,
    .k-cms-content--story .k-story-panel {
        padding: 0 !important;
        border-top: 0 !important;
    }
    .k-cms-content--story .k-story-greeting h4 {
        margin-bottom: 10px !important;
        font-size: 14px !important;
    }
    .k-cms-content--story .k-story-greeting p {
        margin-bottom: 8px !important;
        line-height: 1.85 !important;
    }
    .k-cms-content--story .k-story-grid {
        margin-top: 14px !important;
    }
}

/* Mobile subpage top spacing refinement */
@media (max-width: 700px) {
    .k-subpage,
    .k-subpage.k-jimdo-page,
    .k-subpage.k-story-page {
        padding-top: 18px !important;
    }
    .k-subpage.k-jimdo-page {
        padding-bottom: 56px !important;
    }
    .k-jimdo-container,
    .k-contact-form-section,
    .k-story-container,
    .k-jimdo-page > .k-cms-content {
        margin-top: 0 !important;
    }
}

/* Mobile language switch visibility */
@media (max-width: 900px) {
    .k-header-topline {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 8px !important;
        padding-top: 8px !important;
        padding-right: 56px !important;
        margin-bottom: 0 !important;
    }
    .k-header-topline .k-site-catch {
        display: none !important;
    }
    .k-header-topline .k-lang-switch {
        display: inline-flex !important;
        font-size: 12px !important;
        gap: 5px !important;
        position: relative !important;
        z-index: 40 !important;
    }
    .k-header-topline .k-lang-switch select {
        min-width: 88px !important;
        height: 28px !important;
        font-size: 12px !important;
        background-color: rgba(255,255,255,.96) !important;
    }
    .k-header-main {
        padding-top: 6px !important;
    }
}


/* Mobile drawer language switch */
.k-drawer-lang {
    display: none;
}
@media (max-width: 900px) {
    .k-header-topline {
        display: none !important;
    }
    body.k-nav-open .k-nav {
        padding-top: 50px !important;
    }
    body.k-nav-open .k-drawer-lang {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 14px 18px;
        border-bottom: 1px solid var(--kani-border);
        background: #f7fbff;
        color: var(--kani-blue);
        font-size: 13px;
        font-weight: 600;
    }
    body.k-nav-open .k-drawer-lang select {
        width: 112px;
        height: 30px;
        border: 1px solid rgba(43,87,136,.35);
        border-radius: 2px;
        background: #fff;
        color: var(--kani-blue);
        padding: 2px 22px 2px 8px;
        font-family: var(--kani-font-ja) !important;
        font-size: 13px;
    }
}


/* Mobile drawer language select arrow refinement */
@media (max-width: 900px) {
    body.k-nav-open .k-drawer-lang select {
        padding-right: 34px !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%232b5788' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: right 12px center !important;
        background-size: 10px 6px !important;
    }
}
