.doc-link:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
}

.doc-link {
    display: block;
    height: 100%;
}

.social-profile-card {
    display: flex;
    min-height: 290px;
    padding: 40px 28px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 14px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 16px 40px rgba(97, 22, 48, 0.16);
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.social-profile-card:hover,
.social-profile-card:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.24);
    box-shadow: 0 20px 46px rgba(97, 22, 48, 0.24);
    text-decoration: none;
    transform: translateY(-3px);
}

.social-profile-card .fa-facebook {
    margin-bottom: 18px;
    font-size: 4rem;
}

.social-profile-label {
    margin-bottom: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.social-profile-card strong {
    font-size: 1.35rem;
    line-height: 1.45;
}

.social-profile-action {
    margin-top: 18px;
    padding: 9px 18px;
    border-radius: 999px;
    color: #3b5998;
    background: #ffffff;
    font-weight: 700;
}

.facebook-feed {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.facebook-page-frame {
    display: block;
    width: 100%;
    max-width: 500px;
    height: 500px;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(97, 22, 48, 0.16);
}

.facebook-feed-link {
    display: inline-flex;
    padding: 9px 16px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #a7284b;
    background: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.facebook-feed-link:hover,
.facebook-feed-link:focus {
    color: #ffffff;
    background: #a7284b;
    text-decoration: none;
}

/*
 * Decorative layers must not capture clicks. Without this, Vvveb selects the
 * outer #video wrapper instead of the text and images displayed above it.
 */
#video::after,
#myVideo {
    pointer-events: none;
}

.iac-content-page {
    min-height: 100vh;
    margin: 0;
    color: #ffffff;
    background: linear-gradient(135deg, #ce405e 0%, #ef8496 48%, #c9325a 100%);
    font-family: "Raleway", "Noto Sans JP", sans-serif;
}

.iac-page-shell {
    max-width: 960px;
    padding-top: 48px;
    padding-bottom: 72px;
}

.iac-page-logo {
    display: inline-block;
    margin-bottom: 40px;
}

.iac-page-logo img {
    width: 180px;
    max-width: 100%;
    height: auto;
}

.iac-page-card {
    padding: clamp(32px, 6vw, 72px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.13);
    box-shadow: 0 24px 60px rgba(79, 0, 26, 0.18);
    backdrop-filter: blur(10px);
}

.iac-page-card h1 {
    margin: 12px 0 20px;
    color: #ffffff;
}

.iac-page-card p {
    color: #ffffff;
    font-size: 1.05rem;
}

.iac-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.iac-page-button {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 24px;
    border-radius: 999px;
    color: #c9325a;
    background: #ffffff;
    font-weight: 700;
}

.iac-page-button:hover {
    color: #8d1839;
    text-decoration: none;
}

.iac-documents-page,
.iac-news-page {
    display: flex;
    flex-direction: column;
}

.iac-archive-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(164, 38, 72, 0.92);
    box-shadow: 0 10px 30px rgba(88, 11, 35, 0.15);
    backdrop-filter: blur(14px);
}

.iac-archive-nav {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.iac-archive-brand img {
    display: block;
    width: 92px;
    height: 68px;
    object-fit: contain;
}

.iac-archive-nav nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.iac-archive-nav nav a {
    color: rgba(255, 255, 255, 0.84);
    font-weight: 600;
    text-decoration: none;
}

.iac-archive-nav nav a:hover,
.iac-archive-nav nav a:focus,
.iac-archive-nav nav a.active {
    color: #ffffff;
}

.iac-archive-nav nav a.active {
    border-bottom: 2px solid #ffffff;
}

.iac-archive-language {
    margin: 0;
}

.iac-archive-main {
    width: 100%;
    max-width: 1120px;
    padding-top: 72px;
    padding-bottom: 84px;
    flex: 1;
}

.iac-archive-intro {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.iac-archive-intro h1 {
    margin: 10px 0 18px;
    color: #ffffff;
    font-size: clamp(2.6rem, 7vw, 5rem);
}

.iac-archive-intro > p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.06rem;
    line-height: 1.8;
}

.iac-archive-documents .iac-document-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    align-items: stretch;
}

.iac-archive-documents .iac-document-card {
    min-height: 100%;
}

.iac-archive-documents .iac-document-card h2 {
    color: #ffffff;
    font-size: 1.3rem;
}

.iac-archive-news .iac-news-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    align-items: stretch;
}

.iac-archive-news .iac-news-card {
    min-height: 100%;
}

.iac-archive-news .iac-news-card > div {
    display: flex;
    min-height: 100%;
    flex-direction: column;
}

.iac-archive-news .iac-news-card-media {
    height: 210px;
}

.iac-archive-news .iac-news-card-body {
    display: flex;
    padding: 24px;
    flex: 1;
    flex-direction: column;
}

.iac-archive-news .iac-news-card h2 {
    margin: 9px 0 12px;
    color: #ffffff;
    font-size: 1.3rem;
    line-height: 1.45;
}

.iac-archive-news .iac-news-card p {
    display: block;
    overflow: visible;
    font-size: 0.95rem;
    line-height: 1.7;
    -webkit-line-clamp: unset;
}

.iac-archive-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(92, 14, 40, 0.28);
}

.iac-archive-footer .container {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.iac-archive-footer a {
    color: #ffffff;
    font-weight: 700;
}

@media (max-width: 767px) {
    .iac-archive-nav {
        min-height: 76px;
    }

    .iac-archive-brand img {
        width: 74px;
        height: 56px;
    }

    .iac-archive-nav nav {
        gap: 14px;
    }

    .iac-archive-nav nav a:not(.active) {
        display: none;
    }

    .iac-archive-main {
        padding-top: 50px;
        padding-bottom: 58px;
    }

    .iac-archive-footer .container {
        padding-top: 22px;
        padding-bottom: 22px;
        flex-direction: column;
        justify-content: center;
    }
}

/*
 * Vvveb editor preview
 *
 * fullPage.js is intentionally disabled in the visual editor because it
 * rewrites the document structure. Recreate only the layout it normally
 * supplies so every section, including the opening hero, stays visible and
 * editable. These rules are inactive on the public website.
 */
html.vvveb-editor-preview,
html.vvveb-editor-preview body {
    height: auto !important;
    overflow: visible !important;
}

html.vvveb-editor-preview #fullpage > .section {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 100vh;
}

html.vvveb-editor-preview #fullpage > .section > .section-inner {
    width: 100%;
}

html.vvveb-editor-preview #head {
    background-size: 31% auto !important;
    background-repeat: no-repeat !important;
    background-position: 90% 90% !important;
}

html.vvveb-editor-preview .animate {
    opacity: 1 !important;
}

html.vvveb-editor-preview #myVideo {
    pointer-events: none;
}

/*
 * State-based fallback for Vvveb builds whose editor frame cannot be
 * identified from JavaScript. The public fullPage instance adds fp-enabled;
 * the visual editor does not.
 */
html:not(.fp-enabled),
html:not(.fp-enabled) body {
    height: auto !important;
    overflow: visible !important;
}

html:not(.fp-enabled) #fullpage > .section {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 100vh;
}

html:not(.fp-enabled) #fullpage > .section > .section-inner {
    width: 100%;
}

html:not(.fp-enabled) #head {
    background-size: 31% auto !important;
    background-repeat: no-repeat !important;
    background-position: 90% 90% !important;
}

html:not(.fp-enabled) .animate {
    opacity: 1 !important;
}

.iac-language-toggle {
    margin-left: 14px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.12);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.iac-language-toggle:hover,
.iac-language-toggle:focus {
    color: #ca405f;
    background: #ffffff;
}

.iac-news-grid,
.iac-document-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.iac-news-section .section-inner {
    padding-bottom: 104px;
}

.iac-news-heading {
    max-width: 700px;
    margin-right: auto;
    margin-bottom: 26px;
    margin-left: auto;
}

.iac-news-heading .iac-section-eyebrow {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.82;
}

.iac-news-heading .iac-section-eyebrow span {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.iac-news-heading h2 {
    margin: 8px 0 10px;
    font-size: clamp(2rem, 3vw, 2.85rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    text-transform: none;
}

.iac-news-heading h2 span {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.iac-news-heading p {
    max-width: 590px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.96rem;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0;
    text-transform: none;
}

.iac-news-grid {
    max-width: 1040px;
    margin: 0 auto;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 320px));
    justify-content: center;
    gap: 18px;
}

.iac-news-card,
.iac-document-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 16px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 42px rgba(89, 18, 42, 0.16);
}

.iac-news-card > a {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.iac-news-card-media {
    position: relative;
    width: 100%;
    height: 170px;
    overflow: hidden;
    flex: 0 0 auto;
    background: rgba(167, 40, 75, 0.4);
}

.iac-news-card-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover;
    object-position: center;
}

/*
 * Compatibility for cached landing-page markup from theme versions that put
 * the image directly inside the card link. templatemo-style.css applies
 * max-width: 90% to every image, which leaves an empty strip on the right.
 */
.iac-news-card > a > img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 170px !important;
    margin: 0 !important;
    object-fit: cover;
    object-position: center;
}

.iac-news-card-body {
    padding: 18px 20px 20px;
}

.iac-news-card time,
.iac-document-card time {
    display: block;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.iac-news-card h3,
.iac-document-card h3 {
    margin: 8px 0 10px;
    color: #ffffff;
    font-size: 1.08rem;
    line-height: 1.35;
}

.iac-news-card p,
.iac-document-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
}

.iac-news-card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.9rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.iac-news-section .iac-section-action {
    margin: 24px 0 0;
}

.iac-document-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 420px));
    justify-content: center;
}

.iac-document-card {
    position: relative;
    padding: 30px;
    text-align: left;
}

.iac-document-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    color: #a7284b;
    background: rgba(255, 255, 255, 0.92);
    font-size: 1.35rem;
}

.iac-document-meta {
    display: flex;
    margin-bottom: 8px;
    gap: 8px;
    flex-wrap: wrap;
}

.iac-document-meta span:not(:empty) {
    padding: 4px 9px;
    border-radius: 999px;
    color: #a7284b;
    background: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
}

.iac-document-actions {
    display: flex;
    margin: 18px 0 14px;
    gap: 10px;
    flex-wrap: wrap;
}

.iac-document-actions a {
    display: inline-flex;
    padding: 9px 15px;
    border-radius: 999px;
    align-items: center;
    color: #a7284b;
    background: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    gap: 8px;
}

.iac-document-actions a:hover,
.iac-document-actions a:focus {
    color: #ffffff;
    background: #a7284b;
}

.iac-documents-heading {
    max-width: 720px;
    margin-right: auto;
    margin-bottom: 22px;
    margin-left: auto;
}

.iac-documents-heading > span {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.82;
}

.iac-documents-heading h2 {
    margin: 8px 0 10px;
    font-size: clamp(2rem, 3vw, 2.85rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    text-transform: none;
}

.iac-documents-heading h2 span {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.iac-documents-heading p {
    margin: 0 auto;
    max-width: 590px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0;
    text-transform: none;
}

.iac-documents-heading p span {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.iac-document-date {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.76rem;
    font-weight: 600;
    gap: 8px;
    letter-spacing: 0.05em;
}

.iac-document-date time {
    display: inline;
    color: inherit;
    font-size: inherit;
    letter-spacing: inherit;
}

/*
 * Compact homepage document previews.
 * The standalone Documents page keeps the larger detailed card treatment.
 */
.iac-document-grid-compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1120px;
    margin-right: auto;
    margin-left: auto;
    gap: 16px;
}

.iac-document-card-compact {
    display: flex;
    height: 100%;
    min-height: 0;
    padding: 20px;
    flex-direction: column;
}

.iac-document-card-compact .iac-document-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
    border-radius: 11px;
    font-size: 1rem;
}

.iac-document-card-compact .iac-document-meta {
    margin-bottom: 7px;
    gap: 6px;
}

.iac-document-card-compact .iac-document-meta span:not(:empty) {
    padding: 3px 8px;
    font-size: 0.66rem;
}

.iac-document-card-compact h3 {
    margin: 7px 0 0;
    font-size: 1rem;
    line-height: 1.45;
}

.iac-document-card-compact > p,
.iac-document-card-compact .iac-document-date {
    display: none;
}

.iac-document-card-compact .iac-document-actions {
    margin: auto 0 0;
    padding-top: 16px;
}

.iac-document-card-compact .iac-document-actions a {
    width: 100%;
    padding: 8px 12px;
    justify-content: center;
    font-size: 0.76rem;
}

.iac-documents-column {
    width: 100%;
    max-width: 1180px;
}

.iac-empty-state {
    margin: 24px auto;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    text-align: center;
}

.iac-section-action {
    margin: 24px 0 0;
    text-align: center;
}

.iac-action-button {
    display: inline-flex;
    padding: 12px 20px;
    border-radius: 999px;
    align-items: center;
    gap: 10px;
    color: #a7284b;
    background: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.iac-action-button:hover,
.iac-action-button:focus {
    color: #ffffff;
    background: #a7284b;
}

.iac-action-button-small {
    padding: 9px 15px;
    font-size: 0.82rem;
}

#contactf label {
    display: block;
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: left;
}

#contactf .input-field {
    margin-bottom: 15px;
}

.iac-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

.iac-form-notifications:empty {
    display: none;
}

.iac-form-notifications .alert {
    margin-bottom: 16px;
    text-align: left;
}

@media (max-width: 1199px) {
    .iac-language-toggle {
        margin: 12px 0 0;
    }

    .iac-document-grid-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 620px;
    }
}

/*
 * Keep the language switch in the same desktop navigation row.
 * The button follows the navigation <ul>, so the nav box itself must be flex.
 */
@media (min-width: 768px) {
    #header .navigation-row,
    #header #navigation,
    #header .nav-box {
        min-width: 0;
    }

    #header .nav-box {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 14px;
    }

    #header .navigation-menu {
        margin: 0;
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    #header .iac-language-toggle,
    #header .nav-box .iac-language-toggle {
        flex: 0 0 auto;
        margin: 0;
    }
}

@media (min-width: 768px) and (max-width: 1399px) {
    #header .navbar-nav li {
        margin-left: 16px;
    }

    #header .navbar-nav li a {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    #header .iac-language-toggle {
        display: block;
        margin: 12px auto 16px;
        border-color: #ca405f;
        color: #ca405f;
        background: #ffffff;
    }

    .iac-news-grid,
    .iac-document-grid {
        grid-template-columns: 1fr;
    }

    .iac-news-section .section-inner {
        padding-bottom: 38px;
    }

    .iac-news-heading {
        margin-bottom: 22px;
    }

    .iac-news-card-media,
    .iac-news-card > a > img {
        height: 190px;
    }

    .facebook-feed {
        margin-top: 24px;
    }

    .facebook-page-frame {
        height: 460px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
html.iac-settings-pending [data-v-aiwa-home-news-section],
html.iac-settings-pending [data-v-aiwa-home-news-nav] {
    visibility: hidden !important;
}

/*
 * Theme 2.3.1: archive News alignment.
 * The extra specificity and new stylesheet filename prevent an older
 * minified template rule (img { max-width: 90%; }) from shrinking the media.
 */
.iac-news-page .iac-archive-news .iac-news-grid {
    width: min(calc(100% - 32px), 1040px) !important;
    max-width: 1040px !important;
    margin-inline: auto !important;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 360px)) !important;
    justify-content: center !important;
}

.iac-news-page .iac-archive-news .iac-news-card,
.iac-news-page .iac-archive-news .iac-news-card > div,
.iac-news-page .iac-archive-news .iac-news-card-media {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
}

.iac-news-page .iac-archive-news .iac-news-card-media img,
.iac-news-page .iac-archive-news .iac-news-card-media [data-iac-news-image] {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
}
