@charset "UTF-8";
@import url("style_menu.css");

/* レイアウトベース */
body {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.no-scroll {
    overflow: hidden;
}

main {
    padding: 0;
    background: #FFF;
    flex: 1;
    display: flex;
    flex-direction: column;
}

a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

.content-wrap {
    width: 90%;
    max-width: 1160px;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .content-wrap {
        width: 90%;
    }
}


/* ユーティリティ（便利クラス） */
.visually-hidden,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 0;
    z-index: 1002;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

.sp-only {
    display: none !important;
}

.brsp,
.brtab {
    display: none;
}

.pc-center {
    text-align: center;
}

@media screen and (max-width: 768px) {
    .brtab {
        display: block;
    }

    .pc-only {
        display: none;
    }

    .sp-only {
        display: block !important;
    }
}

@media screen and (max-width: 600px) {
    .brpc {
        display: none;
    }

    .brsp {
        display: block;
    }

    .pc-center {
        text-align: left;
    }
}

@media screen and (max-width: 480px) {
    .br-pc-tab {
        display: none;
    }
}

/* アニメーション */
.fin {
    opacity: 0;
    transform: translateY(10px);
    transition: all 1.4s;
}

.fin.sin {
    opacity: 1;
    transform: translateY(0);
}

/* ヘッダー要素 */
.header-inner {
    position: absolute;
    z-index: 1001;
}

.header-inner .logo {
    margin-right: auto;
    padding: 20px;
    width: 240px;
    background: #FFF;
    border-radius: 0 0 16px 0;
}

.header-inner .logo .link-area {}

.header-inner .logo img {
    width: 150px;
    margin: 0 auto;
}

.header-inner .logo .logo-text {
    display: block;
    padding: 10px 0 0;
    text-align: center;
    font-family: var(--en-font);
    color: var(--main-color);
    font-weight: 500;
    line-height: 1.2em;
    font-size: 10px;
}

@media screen and (max-width: 768px) {
    .header-inner .logo {
        padding: 12px 10px 5px;
        width: 140px;
    }

    .header-inner .logo img {
        width: 110px;
    }

    .header-inner .logo .logo-text {
        padding: 8px 0 0;
        font-size: 7px;
    }
}

/* フッター要素 */
footer {
    position: relative;
    width: 100%;
    background: #F7F5ED;
    padding: 0 16px 16px;
    z-index: 2;
}

footer .footer-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 30px;
    border-radius: 8px;
    background: var(--gradient-primary);
    box-shadow: 0px 0px 8px rgba(0, 98, 177, 0.25);
    z-index: 3;
}

.copyright {
    font-family: var(--en-font);
    font-size: 10px;
    color: #FFF;
    font-weight: 500;
    line-height: 1.2em;
    letter-spacing: 0.05em;
}

.footer-links {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
}

.footer-links ul li {
    position: relative;
    margin-left: 14px;
}

.footer-links ul li a {
    color: #FFF;
    font-size: 12px;
    padding: 0 24px 0 0;
    text-decoration: none;
}

.footer-links ul li a:before {
    content: "";
    display: block;
    position: absolute;
    background: url('../img/common_img/window-white.svg') no-repeat center/contain;
    width: 15px;
    height: 12px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

@media (hover: hover) {
    .footer-links ul li a:hover {
        text-decoration: underline;
    }
}

@media screen and (max-width: 768px) {
    footer {
        padding: 0 8px 8px;
    }

    footer .footer-content {
        display: flex;
        flex-wrap: wrap;
        padding: 0 10px 15px;
    }

    .copyright {
        order: 2;
        width: 100%;
        text-align: center;
        font-size: min(2.2vw, 11px);
    }

    .footer-links {
        position: relative;
        right: auto;
        bottom: auto;
        top: 0;
        order: 1;
        margin: 20px auto;
        transform: none;
    }

    .footer-links ul {
        justify-content: center;
    }

    .footer-links ul li {
        width: 100%;
        margin-bottom: 2px;
        line-height: 1.6em;
    }

    .footer-links ul li a {
        display: inline-block;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links ul li::after {
        display: none;
    }
}



.gradation-title {
    position: relative;
    display: inline-block;
    border-radius: 8px;
    overflow: hidden;
    color: #FFF;
    max-width: 0;
    opacity: 0;
    background: linear-gradient(120deg, var(--grad-start), var(--grad-mid), var(--grad-end));
    background-size: 200% 100%;
    background-position: 0% 50%;
    white-space: nowrap;
}

.gradation-title.eon {
    animation: expand-and-show 1.6s ease-in-out forwards, gradient-once 2.4s ease-out forwards;
}

.gradation-title span {
    display: inline-block;
    opacity: 0;
    animation: fade-in 0.5s ease forwards 0.8s;
    text-align: left;
}

.gradation-title span.indent {
    padding-left: 1.2em;
    text-indent: -1.2em;
}

.gradation-title.sub-header {
    font-weight: 500;
    padding: 3px 12px;
}

@media screen and (max-width: 768px) {
    .gradation-title {
        border-radius: 8px;
    }
}


.light-image.eft {
    position: relative;
    overflow: hidden;
    background: #fff;
    opacity: 0;
}

.light-image.eft.eon {
    animation: fade-in 2s ease forwards;
}

.light-image.eft img {
    opacity: 0;
    transition: none;
}

.light-image.eft.eon img {
    animation: luminousReveal 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}




.page-title-style01,
.page-title-style02 {
    position: relative;
    min-height: 320px;
}

.page-title-style02.large-mv {
    height: 700px;
}

.page-title-style01::before,
.page-title-style02::before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 180px;
    background: linear-gradient(90deg, #fedcdf 0%, #beeef7 100%);
    left: 0;
    top: 0;
}

.page-title-style02.large-mv::before {
    display: none;
}

.page-title-style01 .title-text,
.page-title-style02 .title-text {
    position: relative;
    padding: 114px 0 0;
    z-index: 2;
}

.page-title-style01 h1 {
    position: relative;
    margin: 0 0 5px 3%;
    z-index: 2;
}

.page-title-style01 h1 span {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 500;
    line-height: 1.4em;
    padding: 5px 15px;
}

.page-title-style02 .section-title {
    position: relative;
    border-radius: 8px;
    margin: 0 0 0 3%;
}

.page-title-style02 .section-title span {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4em;
    padding: 5px 15px;
}

.page-title-style02 h1 {
    position: relative;
    margin: 3px 0 12px 3%;
    z-index: 2;
    opacity: 0;
}

.page-title-style02 h1 > span {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 500;
    line-height: 1.4em;
    padding: 5px 15px;
    background: #FFF;
    border-radius: 8px;
}

.page-title-style02 h1 span span {
    font-size: 70%;
}

.page-title-style01 .title-image,
.page-title-style02 .title-image {
    position: absolute;
    width: 65%;
    right: 0;
    top: 0;
    height: 320px;
    border-radius: 0 0 0 150px;
    overflow: hidden;
}

.page-title-style02.large-mv .title-image {
    position: absolute;
    width: 100%;
    right: 0;
    top: 0;
    height: 720px;
    border-radius: 0 0 0;
    overflow: hidden;
}

.page-title-style01 .title-image img,
.page-title-style02 .title-image img {
    object-fit: cover;
    object-position: center 65%;
}

.breadcrumb-wrap {
    display: block;
    opacity: 0;
}

.page-title-style02 h1.eon,
.breadcrumb-wrap.eon {
    animation: fade-in 0.5s ease forwards 0.8s;
}

.breadcrumb {
    display: inline-block;
    position: relative;
    background: #FFF;
    border-radius: 8px;
    margin-left: 3%;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 2px 15px;
    font-size: 12px;
    letter-spacing: 0.05em;
    color: #39A2E8;
}

.breadcrumb-item a {
    text-decoration: none;
    color: inherit;
}

.breadcrumb-item+.breadcrumb-item {
    padding-left: 8px;
    margin-left: 8px;
    background: url('../img/common_img/path-arrow.png') no-repeat left center/1px auto;
}


@media screen and (max-width: 768px) {

    .page-title-style01,
    .page-title-style02 {
        min-height: 160px;
    }

    .page-title-style02.large-mv {
        height: 500px;
    }

    .page-title-style01::before,
    .page-title-style02::before {
        height: 110px;
    }

    .page-title-style01 .title-text,
    .page-title-style02 .title-text {
        padding: 90px 0 0;
    }

    .page-title-style02.large-mv .title-text {
        padding: 70px 0 0;
    }

    .page-title-style02.large-mv .section-title {
        margin: 0 0 0 3%;
    }

    .page-title-style02 .section-title span {
        font-size: 12px;
        font-weight: 500;
        padding: 5px 10px;
    }

    .page-title-style01 h1 {
        margin: 0 0 5px 3%;
    }

    .page-title-style01 h1 span {
        font-size: clamp(17px, 2vw, 22px);
        padding: 5px 12px;
    }

    .page-title-style02 h1 {
        margin: 0 0 5px 3%;
        top: -8px;
    }

    .page-title-style02.large-mv h1 {
        margin-top: 0;
    }

    .page-title-style02 h1 span {
        font-size: clamp(13px, 1.8vw, 22px);
        padding: 5px 12px;
        box-shadow: 0px 0px 8px rgba(0, 98, 177, 0.25);
    }

    .page-title-style01 .title-image,
    .page-title-style02 .title-image {
        position: absolute;
        width: 90%;
        right: 0;
        top: 0;
        height: 160px;
        border-radius: 0 0 0 80px;
        overflow: hidden;
    }

    .page-title-style01 .title-image img,
    .page-title-style02 .title-image img {
        object-fit: cover;
    }

    .page-title-style02.large-mv .title-image {
        height: 500px;
    }

    .page-title-style02.large-mv .title-image img {
        object-fit: cover;
        object-position: 70% center;
    }

    .breadcrumb-wrap {
        display: none;
    }

    .breadcrumb-wrap.eon {
        animation: fade-in 0.5s ease forwards 0.8s;
    }
}


@media (hover: hover) {
    .breadcrumb-item a:hover {
        text-decoration: underline;
        opacity: 0.8;
    }
}

.page-title-style01~.main-content,
.page-title-style02~.main-content {
    padding: 60px 0 0;
}

.page-title-style02.nomv~.main-content {
    padding: 0 0 80px;
}

.page-title-style02.large-mv~.main-content {
    padding: 60px 0 0;
}

.intro-text {
    padding: 0 5% 60px;
}

.intro-text p {
    font-size: 1.1em;
    text-align: center;
    line-height: 2em;
}

@media screen and (max-width: 768px) {

    .page-title-style01~.main-content,
    .page-title-style02~.main-content {
        padding: 40px 0 0;
    }

    .page-title-style02.nomv~.main-content {
        padding: 20px 0 40px;
    }

    .intro-text {
        padding: 0 5% 40px;
    }

    .intro-text p {
        font-size: min(3.5vw, 1em);
        text-align: center;
        line-height: 2em;
    }
}


/* ダイアログ（モーダル）モジュール */
dialog {
    width: 90%;
    padding: 20px;
    border: none;
    background: transparent;
    margin: auto;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.4s ease, transform 0.4s ease, display 0.4s ease allow-discrete, overlay 0.4s ease allow-discrete;
}

dialog.wide {
    max-width: 90%;
}

dialog.wide-resume {
    width: 90%;
    max-width: 1100px;
}

.dialog-frame {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 80vh;
    overflow-y: scroll;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(9, 37, 77, 0.4);
}

.dialog-inner {
    flex: 1 1 auto;
    padding: 25px;
    overflow-y: auto;
    overscroll-behavior-y: contain;
}

.dialog-inner .title {
    font-size: 20px;
    text-align: center;
    margin-bottom: 10px;
}

.dialog-inner .title~p {
    font-size: 16px;
}

dialog::backdrop {
    background: linear-gradient(145deg, rgba(255, 82, 85, 0.9) 0%, rgba(57, 162, 232, 0.9) 100%);
    opacity: 0;
    transition: display 0.4s allow-discrete, overlay 0.4s allow-discrete, opacity 0.4s ease;
}

dialog[open] {
    display: block;
    pointer-events: auto;
    opacity: 1;
    transform: scale(1);
}

dialog[open]::backdrop {
    opacity: 1;
}

@starting-style {
    dialog[open] {
        opacity: 0;
        transform: scale(0.97);
    }

    dialog[open]::backdrop {
        opacity: 0;
    }
}

dialog:not([open]) {
    display: none;
}

dialog+.backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

._dialog_overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
}

dialog.is-swapping,
dialog.is-swapping::backdrop {
    transition: none !important;
    animation: none !important;
}

dialog[open].is-swapping {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

dialog a:focus,
dialog button:focus,
dialog .js-close:focus {
    outline: none;
}

dialog a,
dialog button,
dialog .js-close {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.fixed-close-btn {
    position: relative;
    z-index: 10;
    cursor: pointer;
    background: none;
    border: none;
    font-family: var(--en-font);
    color: #FFF;
    left: 100%;
    transform: translateX(-100%);
    bottom: -10px;
}

@media screen and (max-width: 768px) {
    .modal-buttons {
        gap: 0;
    }

    .modal-buttons li {
        width: 100%;
        margin-bottom: 10px;
    }

    .dialog-inner {
        padding: 20px;
    }

    .dialog-inner .title {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .dialog-inner .title~p {
        font-size: 14px;
    }

    .btn-close {
        padding-right: 25px;
        font-size: 14px;
    }
}

/* 共通コンポーネント */
.link-area {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.pagetop {
    display: none;
    all: unset;
    cursor: pointer;
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 5;
    width: 60px;
    height: 60px;
    background: url("../img/common_img/pagetop.svg") no-repeat center/contain;
    transition: all .3s;
}

.scale-image .bg {
    position: relative;
    overflow: hidden;
}

.scale-image .bg img {
    opacity: 1;
    transform: scale(1);
    transition: all .8s;
}

@media (hover: hover) {
    .scale-image:hover .bg img {
        opacity: 0.9;
        transform: scale(1.08);
    }
}

.trigger-btn {
    cursor: pointer;
}



/* スクロールボックスコンポーネント */
.scroll-box,
.scroll-box-wide {
    position: relative;
    margin-bottom: 30px;
}

.scroll-box:before,
.scroll-box-wide:before {
    content: "横スクロールできます";
    position: absolute;
    left: 50%;
    bottom: 5px;
    z-index: 2;
    display: none;
    padding: 3px 12px;
    background: rgba(0, 0, 0, 0.2);
    color: #FFF;
    font-size: 11px;
    line-height: 1.6em;
    white-space: nowrap;
    opacity: 1;
    transition: all .5s;
    transform: translate(-50%, 0);
}

.scroll-box.on:before,
.scroll-box-wide.on:before {
    opacity: 0;
}

@media screen and (max-width: 1100px) {
    .scroll-box-wide {
        overflow-x: auto;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .scroll-box-wide:before {
        display: block;
    }

    .scroll-box-wide>div {
        min-width: 1120px;
    }

    .scroll-box-wide::-webkit-scrollbar {
        height: 6px;
    }

    .scroll-box-wide::-webkit-scrollbar-track {
        background: #eee;
        border-radius: 3px;
    }

    .scroll-box-wide::-webkit-scrollbar-thumb {
        background: #E2E2E2;
        border-radius: 3px;
    }
}

@media screen and (max-width: 768px) {
    .scroll-box-wide {
        padding-bottom: 0;
    }

    .scroll-box-wide>div {
        min-width: 900px;
    }
}

@media screen and (max-width: 500px) {
    .scroll-box {
        overflow-x: auto;
        padding-bottom: 40px;
        -webkit-overflow-scrolling: touch;
    }

    .scroll-box:before {
        display: block;
    }

    .scroll-box>div {
        min-width: 600px;
    }

    .scroll-box::-webkit-scrollbar {
        height: 6px;
    }

    .scroll-box::-webkit-scrollbar-track {
        background: #eee;
        border-radius: 3px;
    }

    .scroll-box::-webkit-scrollbar-thumb {
        background: #E2E2E2;
        border-radius: 3px;
    }
}



.related-links {
    background: #F7F5ED;
    position: relative;
    padding-bottom: 50px;
    flex: 1;
}

.related-links::before {
    content: "";
    display: block;
    position: absolute;
    background: #FFF;
    width: 100%;
    height: 40px;
    top: 0;
    left: 0;
}

.related-links.flat-ver {
    padding-top: 40px;
}

.related-links.flat-ver::before {
    display: none;
}

.flat-ver-title {
    position: relative;
    text-align: center;
    padding-bottom: 15px;
}

.flat-ver-title span {
    position: relative;
    display: inline-block;
    padding: 2px 14px;
    border-radius: 8px;
    overflow: hidden;
    color: #FFF;
    background: linear-gradient(90deg, #ff5255 0%, #39a2e8 100%);
    white-space: nowrap;
    z-index: 2;
}

.link-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.inner-section .link-list {
    justify-content: flex-start;
}

.link-list li {
    width: calc((100% - 40px) / 3);
}

.related-links.short .link-list {
    margin: 0 auto;
    max-width: 766px;
}

.related-links.short .link-list li {
    width: calc((100% - 20px) / 2);
}

.link-box {
    margin-bottom: 3%;
    display: flex;
    z-index: 1;
    position: relative;
    top: 0;
    transition: all .4s;
}

.link-box::after {
    content: "";
    display: block;
    position: absolute;
    background: #FFF;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    top: 10px;
    left: 0;
    z-index: -1;
    transition: all .4s;
}

.link-box .btn-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.link-box .btn-img:before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(62, 144, 168, 0.3) 100%);
    z-index: 2;
}

.link-box .btn-text {
    position: absolute;
    bottom: 40px;
    left: 10px;
    z-index: 3;
}

.link-box .btn-text p span {
    display: inline-block;
    background: #FFF;
    border-radius: 6px;
    line-height: 1.6em;
    padding: 3px 11px;
}

.link-box .btn-text .btn-category {
    margin-bottom: 0.05em;
}

.link-box .btn-text .btn-title span {
    font-size: clamp(13px, 1.1vw, 18px);
}

.link-box .btn-text .btn-title span span {
    font-size: 11px;
    padding-left: 0;
}

.link-box .more {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 30px;
}

.link-box .more::before {
    content: "";
    display: block;
    position: absolute;
    background: var(--gradient-primary);
    transform-origin: right center;
    border-radius: 16px 0 16px 0;
    height: 30px;
    width: 100%;
    bottom: 0;
    right: 0;
    transition: all .3s ease-out;
}

.link-box .more span {
    color: #FFF;
    position: relative;
    padding: 0 50px 0 20px;
    font-family: var(--en-font);
    font-size: 10px;
}

.link-box .more::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 8px;
    background: url('../img/common_img/white-arrow.svg') no-repeat center/contain;
    pointer-events: none;
}

.link-box~p.desc {
    padding: 10px;
    line-height: 1.6em;
}

.related-links .link-desc {
    width: 90%;
    margin: 0 auto 40px;
    max-width: 760px;
}

.related-links .link-desc .title {
    font-size: 1.2em;
    text-align: center;
    padding-bottom: 5px;
}

.related-links .link-desc .title span {
    font-size: 0.8em;
}

.related-link-second {
    padding: 50px 0 0;
    margin-top: 50px;
    border-top: solid 1px #39A2E8;
}

.interview-link-box .text {
    padding: 10px;
}

.interview-link-box .text .btn-job {
    margin-bottom: 10px;
}

.interview-link-box .text .btn-job span {
    display: inline-block;
    background: #003D80;
    border-radius: 8px;
    color: #FFF;
    padding: 2px 10px;
    font-size: 0.8em;
}

.interview-link-box .text .btn-name {
    font-size: 1.8em;
    font-family: var(--en-font);
    color: #003D80;
    margin-bottom: 2px;
}

.interview-link-box .text .btn-name.jp {
    font-size: 1.6em;
    font-family: "Zen Kaku Gothic New", sans-serif;
    color: #003D80;
    margin-bottom: 2px;
}

.interview-link-box .text .btn-year {
    padding-top: 4px;
    line-height: 1.6em;
}

@media (hover: hover) {

    .interview-link-box:hover .link-box,
    .link-box:hover {
        top: 8px;
    }

    .interview-link-box:hover .link-box::after,
    .link-box:hover::after {
        top: 2px;
    }

    .interview-link-box:hover .link-box .more::before,
    .link-box:hover .more::before {
        width: 120%;
    }
}

@media screen and (max-width: 768px) {
    .related-links {
        padding-bottom: 50px;
    }

    .related-links::before {
        height: 30px;
    }

    .link-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
        max-width: 300px;
        margin: 0 auto;
    }

    .related-links.short .link-list {
        margin: 0 auto;
        max-width: 300px;
    }

    .link-list li {
        width: 100%;
        margin-bottom: 20px;
    }

    .related-links.short .link-list li {
        width: 100%;
    }

    .link-list li:nth-last-child {
        margin-bottom: 0;
    }

    .link-box {
        margin-bottom: 3%;
        display: flex;
        z-index: 1;
        position: relative;
        top: 0;
        transition: all .4s;
    }

    .link-box .btn-text .btn-title span {
        font-size: clamp(12px, 1vw, 14px);
    }

    .link-box .btn-text .btn-title span span {
        font-size: 10px;
        padding-left: 0;
    }
}

.balloon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    margin: 0 auto 25px;
    min-height: 80px;
    width: 90%;
    max-width: 280px;
    background: #ffffff;
    border-radius: 50px;
    filter: drop-shadow(0 1px 3px rgba(69, 115, 139, 0.4));
}

.balloon::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-style: solid;
    border-width: 15px 10px 0 10px;
    border-color: #ffffff transparent transparent transparent;
}

.balloon p {
    color: #003D80;
    text-align: center;
    line-height: 1.6em;
    font-size: min(1.5vw, 16px);
}

@media screen and (max-width: 768px) {
    .balloon {
        padding: 10px 20px;
        margin: 0 auto 25px;
        min-height: 50px;
        width: 90%;
        max-width: 240px;
    }

    .balloon p {
        font-size: min(3.2vw, 12px);
    }
}


/* === 括弧つきタイトル === */

.bracket-title {
    position: relative;
    margin-bottom: 10px;
}

.bracket-title.eft span {
    position: relative;
    display: inline-block;
    padding: 15px 25px;
    font-size: 24px;
    font-weight: 500;
    color: #003D80;
    line-height: 1.4;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease-out;
    transition-delay: 0.5s;
}

.bracket-title.eft::before,
.bracket-title.eft::after {
    content: "";
    position: absolute;
    transform: scale(0);
    transition: transform 0.5s ease-out;
}

.bracket-title.eft::before {
    top: 4px;
    left: 0;
    width: 32px;
    height: 2px;
    background-color: #e60012;
    transform-origin: right center;
}

.bracket-title.eft::after {
    top: 0;
    left: 4px;
    width: 2px;
    height: 32px;
    background-color: #004098;
    transform-origin: center bottom;
}

.bracket-title.eft.eon span {
    opacity: 1;
    transform: translateX(0);
}

.bracket-title.eft.eon::before {
    transform: scaleX(1);
}

.bracket-title.eft.eon::after {
    transform: scaleY(1);
}

@media screen and (max-width: 768px) {
    .bracket-title {
        position: relative;
        margin-bottom: 10px;
    }

    .bracket-title.eft span {
        padding: 13px 13px;
        font-size: min(4.5vw, 20px);
    }

    .bracket-title.eft::before {
        top: 4px;
        left: 0;
        width: 22px;
        height: 2px;
    }

    .bracket-title.eft::after {
        top: 0;
        left: 4px;
        width: 2px;
        height: 22px;
    }
}

.inner-section {
    padding: 60px 0 60px;
}

@media screen and (max-width: 768px) {
    .inner-section {
        padding: 40px 0 40px;
    }
}

/* === 固定ナビゲーション === */
.nav-placeholder {
    width: 100%;
    padding: 0 0;
    position: relative;
    z-index: 10;
}

.nav-placeholder.eft {
    opacity: 0;
}

.nav-placeholder.eon {
    animation: fade-in 1s ease forwards;
}

.sticky-nav {
    background: linear-gradient(90deg, #ff5255 0%, #39a2e8 100%);
    width: 90%;
    max-width: 1160px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    position: relative;
    display: block;
    padding: 10px 20px;
    border-radius: 8px;
    transition: transform .4s;
}

.sticky-nav.is-fixed {
    position: fixed;
    top: var(--nav-bottom, 20px);
    z-index: 1000;
}

.sticky-nav .menu-ttl {
    color: #FFF;
    font-size: 14px;
    font-family: var(--en-font);
}

.inner-menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 15px;
    margin: 0;
    width: 100%;
}

.inner-menu ul li {
    white-space: nowrap;
    flex-shrink: 0;
}

.inner-menu a {
    display: block;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.4;
    color: #FFF;
    padding-right: 20px;
    position: relative;
}

.inner-menu a::after {
    content: "";
    display: block;
    position: absolute;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url('../img/common_img/inner-menu-arrow.svg');
    width: 8px;
    height: 16px;
    right: 3px;
    top: 0.1em;
}




@media screen and (max-width: 1024px) {
    .inner-menu {
        overflow-x: auto;
        display: block;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .inner-menu ul {
        flex-wrap: nowrap;
    }
}

/* 横スクロールナビ (1024px以下) */
@media screen and (max-width: 1024px) {
    .sticky-nav {
        padding-right: 20px;
    }

    .inner-menu {
        overflow-x: auto;
        padding: 0;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .inner-menu a {
        font-size: 12px;
    }

    .sticky-nav .menu-ttl {
        font-size: 11px;
        position: relative;
    }

    .inner-menu ul {
        gap: 0 12px;
        margin: 0 0 5px;
    }

    .inner-menu::-webkit-scrollbar {
        height: 4px;
        display: block;
    }

    .inner-menu::-webkit-scrollbar-thumb {
        background: #FFF;
        border-radius: 3px;
    }

    .inner-menu::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.5);
    }
}

@media (max-width: 768px) {
    .sticky-nav {
        transform: translateX(-50%);
    }

    .sticky-nav.is-fixed {
        transform: translateX(-50%) translateY(calc(-100% - var(--nav-bottom, 0px)));
    }

    .sticky-nav.is-fixed.is-visible {
        transform: translateX(-50%) translateY(0);
    }
}



.basic-button {
    width: 80%;
    max-width: 580px;
    border-radius: 8px;
    background-image: linear-gradient(120deg, #ea439f 0%, #FF5255 40%, #FF5255 60%, #39A2E8 100%);
    background-size: 250% auto;
    background-position: center right;
    transition: all .4s;
    position: relative;
    margin: 10px auto;
}

.basic-button a {
    text-decoration: none;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    line-height: 1.6em;
    color: #fff;
    transition: 0.3s;
    padding: 0 15px;
}

.basic-button a:after {
    content: "";
    display: block;
    position: absolute;
    background: url('../img/common_img/white-arrow.svg') no-repeat center/contain;
    width: 22px;
    height: 8px;
    right: 20px;
}

.basic-button.new-window a:after {
    content: "";
    display: block;
    position: absolute;
    background: url('../img/common_img/window-white.svg') no-repeat center/contain;
    width: 12px;
    height: 12px;
    z-index: 2;
    right: 20px;
}

@media (hover: hover) {
    .basic-button:hover {
        background-position: center left;
    }
}

@media (max-width: 768px) {
    .basic-button {
        width: 100%;
        max-width: 400px;
    }

    .basic-button a {
        font-size: 14px;
        height: 60px;
    }
}

@keyframes luminousReveal {
    0% {
        opacity: 0;
        filter: blur(20px) brightness(2);
        transform: scale(1);
    }

    100% {
        opacity: 1;
        filter: blur(0) brightness(1);
        transform: scale(1);
    }
}

@keyframes expand-and-show {
    0% {
        max-width: 0;
        opacity: 0;
    }

    100% {
        max-width: 1000px;
        opacity: 1;
    }
}

@keyframes gradient-once {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

@keyframes fade-in {
    to {
        opacity: 1;
    }
}