@charset "utf-8";
/* ==================================================
   サイトデザインCSS
   サイト固有のデザインとレイアウト
================================================== */

/* ==================================================
   アニメーション
================================================== */
/* タイピングアニメーション */
.anim-txt-typing {
    width: calc(17em + 5px);
    border-right: 5px solid white;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 3s steps(17), blink .4s step-end infinite alternate;
}

@keyframes typing {
    from { width: 0; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* フェードインアニメーション */
.anim-fadein {
    animation: 1s cubic-bezier(0.33, 1, 0.68, 1) forwards fadeIn;
    opacity: 0;
    animation-delay: var(--anim-arg);
}

@keyframes fadeIn {
    0% {
        transform: translateX(-30px);
        opacity: 0;
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* スクロールボタンアニメーション */
.btn-scroll {
    display: inline-block;
    padding-top: 70px;
    position: relative;
    color: white;
}

.btn-scroll::before {
    animation: scroll 3.5s infinite;
    border: solid white;
    border-width: 0 0 2px 2px;
    content: "";
    display: inline-block;
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    transform: rotate(-45deg);
    width: 20px;
    height: 20px;
}

@keyframes scroll {
    0% {
        transform: rotate(-45deg) translate(0, 0);
    }
    80% {
        transform: rotate(-45deg) translate(-30px, 30px);
    }
    0%, 80%, 100% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
}

/* ==================================================
   ヘッダー・ナビゲーション
================================================== */
.height-flexbox {
    height: 80px;
    transition: var(--transition-slow);
}

.site-logo {
    height: 60px;
    width: auto;
}

.nav {
    position: absolute;
    top: 15px;
    z-index: 99;
    left: 0;
    right: 0;
}

/* スクロール時のナビゲーション変更 */
@media (min-width: 1200px) {
    .scroll2view.uk-navbar-container {
        height: 160px;
        transition: var(--transition-base);
    }
    .scroll2view .logo {
        transform: scale(1.2, 1.2);
        transform-origin: left center;
    }
    .height-flexbox {
        height: 40px;
    }
    .scroll2view .height-flexbox {
        height: 80px;
    }
}

@media (max-width: 679px) {
    .height-flexbox {
        display: none;
    }
}

/* 電話番号表示 */
.nav-phonenumber {
    /* 基本スタイル */
}

@media (max-width: 960px) {
    .nav-phonenumber {
        padding-bottom: 5px;
    }
    .nav-phonenumber > .uk-text-small {
        font-size: calc(.875rem * 0.8);
    }
    .nav-phonenumber > .uk-h3 {
        font-size: calc(1.5rem * 0.8);
    }
}

@media (max-width: 820px) {
    .nav-phonenumber {
        display: none;
    }
}

/* ==================================================
   ヒーローセクション
================================================== */
.hero-section {
    padding: 80px 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: var(--bg-transparent-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.main-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: bold;
}

.sub-title {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.subtitle-text {
    font-size: 1.2em;
    opacity: 0.7;
    font-weight: 300;
}

.top-wrap::before, 
.overlay-wrap::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    content: '';
    z-index: 1;
    background-color: rgba(0,0,0,0.5);
}

.top-wrap-height {
    height: 80vh;
    min-height: 460px;
    transition: height 0.25s;
}

.top-container {
    z-index: 2;
}

.bg-gradient {
    background: linear-gradient(270deg, rgba(255, 255, 255, 1) 15%, rgba(255, 255, 255, 0));
}

/* ==================================================
   ボタン
================================================== */
.cta-btn {
    background-color: var(--dark-color);
    color: white;
    font-weight: 500;
    padding: 12px 25px;
    border-radius: var(--border-radius-round);
    text-decoration: none;
    transition: var(--transition-base);
    display: inline-block;
}

.cta-btn.submenu {
    background-color: white;
    color: var(--text-color);
    padding: 0 25px;
    margin-top: 10px;
}

.cta-btn.submenu:hover {
    background-color: var(--light-color);
    color: var(--text-color);
}

.cta-btn.submenu.sel {
    background-color: var(--dark-color);
    color: white;
    padding: 0 25px;
}

a:hover > div > div > .cta-btn,
.cta-btn:hover {
    background-color: var(--main-color);
    text-decoration: none;
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
}

.uk-button-text::before {
    border-bottom: 1px solid var(--main-color);
}

/* 基本ボタン */
.btn-basic {
    display: inline-block;
    background: white;
    position: relative;
    padding: 6px 40px 4px;
    text-decoration: none;
    color: var(--text-color);
    border: var(--text-color) 1px solid;
    transition: var(--transition-fast);
}

.btn-basic:hover {
    opacity: .95;
    background: var(--text-color);
    color: white;
    text-decoration: none;
}

.btn-basic::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url("../img/asset/bg_line_black.png") repeat;
    background-size: 4px;
    position: absolute;
    right: 0px;
    bottom: 0px;
    z-index: -1;
    transition: var(--transition-fast);
    transform: translate(5px, 5px);
}

.btn-basic-w {
    display: inline-block;
    background: var(--text-color);
    position: relative;
    padding: 6px 40px 4px;
    text-decoration: none;
    color: white;
    border: white 1px solid;
    transition: var(--transition-fast);
}

.btn-basic-w:hover {
    opacity: .95;
    background: white;
    color: var(--text-color);
    text-decoration: none;
}

.btn-basic-w::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url("../img/asset/bg_line.png") repeat;
    background-size: 4px;
    position: absolute;
    right: 0px;
    bottom: 0px;
    z-index: -1;
    transition: var(--transition-fast);
    transform: translate(5px, 5px);
}

/* ==================================================
   カード・コンテンツ
================================================== */
.article-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    padding: var(--spacing-lg);
    transition: var(--transition-base);
}

.article-card.hover:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.article-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--main-color);
}

.facility-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-base);
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.facility-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--light-color);
}

.facility-content {
    padding: 25px;
}

.cardlink {
    position: relative;
}

.cardlink:hover {
    background-color: var(--main-color-a);
}

/* ==================================================
   セクション・レイアウト
================================================== */
.content-section-odd {
    padding: 40px 0;
    position: relative;
    background-color: white;
}

.content-section-even {
    padding: 40px 0;
    position: relative;
}

.section-divider, 
.section-divider-top {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 1;
    filter: drop-shadow(0px -5px 5px rgba(0, 0, 0, 0.05));
}

.section-divider {
    bottom: -50px;
    transform: scale(1,-1);
}

.section-divider-top {
    top: -50px;
    transform: scale(-1,1);
}

.content-section-even .section-divider, 
.content-section-even .section-divider-top {
    display: none;
}

.contact-info {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    height: 100%;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-right: var(--spacing-md);
}

/* ==================================================
   見出しスタイル
================================================== */
.heading-slash {
    position: relative;
    display: inline-block;
    padding: 0 45px;
    margin: 0 0 40px;
}

.heading-slash:before, 
.heading-slash:after {
    content: '';
    position: absolute;
    top: 50%;
    display: inline-block;
    width: 44px;
    height: 2px;
    background-color: var(--main-color);
    transform: rotate(-60deg);
}

.heading-slash:before {
    left: 0;
}

.heading-slash:after {
    right: 0;
}

.heading-slash > * {
    margin: 0 !important;
}

.heading-underline {
    position: relative;
    display: inline-block;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--dark-color);
}

.heading-underline::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--main-color);
}

.heading-article {
    margin: 0 0 40px;
}

.heading-article > * {
    margin: 0 !important;
}

.heading-article > .uk-heading-line>::after, 
.heading-article > .uk-heading-line>::before {
    border-bottom: calc(.2px + .05em) solid var(--main-color);
}

.heading-marker {
    display: inline;
    color: var(--dark-color);
    line-height: 1.8;
    background: linear-gradient(transparent 50%, var(--main-color) 0%);
    padding-bottom: .3em;
}

/* Out of frame見出し */
.heading-oor {
    font-weight: bold;
    color: rgba(0, 0, 0, 0);
    text-shadow: 3px 3px 0 var(--main-color);
    -webkit-text-stroke: 1px var(--text-color);
    text-stroke: 1px var(--text-color);
}

.oor-frame-w {
    -webkit-text-stroke: 1px white;
    text-stroke: 1px white;
}

.oor-fill-main { text-shadow: 3px 3px 0 var(--main-color); }
.oor-fill-accent-01 { text-shadow: 3px 3px 0 var(--accent-01); }
.oor-fill-accent-02 { text-shadow: 3px 3px 0 var(--accent-02); }

.heading-dotted {
    font-weight: bold;
    padding-bottom: 0.7em;
    text-align: center;
    position: relative;
}

.heading-dotted::after {
    content: '';
    position: absolute;
    border-bottom: 10px dotted var(--main-color);
    width: 50px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.ukp-paragraph::before, .ukp-paragraph\@l::before, .ukp-paragraph\@m::before, .ukp-paragraph\@s::before, .ukp-paragraph\@xl::before {
    color: var(--dark-color);
    margin-left: calc( -1em - 10px );
}

/* ==================================================
   ニュース・リスト
================================================== */
.news-list {
    margin: 0;
}
.news-list > li {
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
    margin-top: 0!important;
}
.news-list > li:hover {
    background-color: var(--light-color);
}
.news-list > li > a {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit !important;
    text-decoration: none !important;
}
.news-date {
    color: var(--accent-01-dark);
    font-size: 0.9rem;
    margin-bottom: 5px;
    padding-right: 10px;
}
.news-category {
    display: inline-block;
    padding: 1px 10px;
    font-size: 0.75rem;
    background-color: var(--accent-01);
    color: white;
    border-radius: 2px;
    margin-right: 10px;
}

.cardlink .news-category {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    margin: 0;
    font-size: .8rem;
}

/* ==================================================
   タグ・ラベル
================================================== */
.tag {
    display: inline-block;
    padding: 5px var(--spacing-sm);
    border-radius: var(--border-radius-round);
    background-color: var(--light-color);
    color: var(--dark-color);
    font-size: 0.8rem;
    margin-right: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.topics-category {
    font-size: .85rem;
    color: white;
    display: inline-block;
    background-color: var(--main-color);
    margin: var(--spacing-sm) 0 0;
    padding: 2px var(--spacing-sm);
}

.color-dot {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 5px;
}

/* ==================================================
   フォーム要素
================================================== */
.inp-date > select {
    text-transform: none;
    border: 0 none;
    padding: 0 var(--spacing-sm) 3px;
    margin-right: 5px;
    background: #fff;
    color: #666;
    border: 1px solid #e5e5e5;
    transition: var(--transition-fast);
    transition-property: color, background-color, border;
}

.inp-date > select:not([multiple]):not([size]) {
    height: 40px;
    vertical-align: middle;
    display: inline-block;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 20px;
    background-image: url(data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2224%22%20height%3D%2216%22%20viewBox%3D%220%200%2024%2016%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23666%22%20points%3D%2212%201%209%206%2015%206%22%20%2F%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23666%22%20points%3D%2212%2013%209%208%2015%208%22%20%2F%3E%0A%3C%2Fsvg%3E%0A);
    background-repeat: no-repeat;
    background-position: 100% 50%;
}

/* ==================================================
   タイムスケジュール
================================================== */
.time-schedule {
    list-style: none;
    margin: 0 auto 0 6em;
    padding-left: 20px;
    border-left: 6px solid var(--main-color);
    box-sizing: border-box;
}

.time-schedule li {
    width: 100%;
    margin: 0 0;
    padding: 5px 0;
    position: relative;
}

.time-schedule span.time {
    width: 5em;
    display: inline-block;
    margin-left: -8em;
    padding: 0 0 5px;
    margin-top: var(--spacing-md);
    vertical-align: top;
    position: relative;
    text-align: right;
    box-sizing: border-box;
}

.time-schedule span.time::after {
    content: "";
    position: absolute;
    right: -35px;
    top: 0;
    background: var(--main-color);
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.time-schedule .sch_box {
    display: inline-block;
    width: 100%;
    margin-left: 40px;
    padding: var(--spacing-md) var(--spacing-sm);
    vertical-align: middle;
    background: var(--light-gray);
    box-sizing: border-box;
}

.time-schedule .sch_title {
    font-size: 16px;
    font-weight: 700;
}

/* ==================================================
   フローチャート
================================================== */
.flowchart-vertical > :nth-child(n+2)::before {
    content: "▼";
    display: block;
    color: var(--main-color);
    font-size: 2rem;
    width: 100%;
    text-align: center;
    margin: 0 20px 10px;
    padding-left: 60px;
}

.flowchart-horizontal > * {
    display: inline-block;
}

.flowchart-horizontal > li {
    margin: 0 !important;
}

.flowchart-horizontal > li > span {
    border: var(--main-color) 1px solid;
    color: var(--main-color);
    background: white;
    padding: var(--spacing-sm) 40px;
    border-radius: var(--border-radius-sm);
}

.flowchart-horizontal > li.uk-active > span {
    border: var(--dark-color) 1px solid;
    color: white;
    background: var(--dark-color);
    font-weight: bold;
}

.flowchart-horizontal > :nth-child(n+2)::before {
    content: "▶";
    display: inline-block;
    width: 18px;
    height: 18px;
    color: var(--main-color);
    font-size: 1.2em;
    background-size: contain;
}

/* ==================================================
   サイドパネル（Topics用）
================================================== */
.sidepanel {
    width: 280px;
}

.sidepanel ul > li > a {
    color: var(--text-color);
}

.sidepanel ul > li.sel > a {
    padding-left: var(--spacing-sm);
    background: var(--main-color);
    transition: var(--transition-fast);
    color: white;
    border-radius: 20px;
}

.sidepanel ul > li:hover > a,
.sidepanel ul > li.sel:hover > a,
.sidepanel ul > li > a.uk-open,
.sidepanel ul > li > a:focus {
    padding-left: var(--spacing-sm);
    color: white;
    background: var(--dark-color);
    transition: var(--transition-fast);
    border-radius: 20px;
}

/* ==================================================
   クリップ・画像効果
================================================== */
.clip-svg {
    width: 0; 
    height: 0;
}

.clip-img {
    width: 100%;
    background-size: cover;
}

.clip-shadow {
    filter: drop-shadow(5px 10px 0 var(--main-color));
}

/* ==================================================
   ロゴグリッド
================================================== */
.logos-grid img {
    display: block;
    width: 60px;
    margin: 0 auto;
    filter: grayscale(100%);
    transition: filter 0.25s;
}

.logos-grid img:hover {
    filter: grayscale(0);
}

/* ==================================================
   ページトップ
================================================== */
#page_top {
    width: 60px;
    height: 60px;
    position: fixed;
    right: var(--spacing-sm);
    bottom: var(--spacing-sm);
    opacity: .7;
    transition: var(--transition-fast);
    z-index: 50;
}

#page_top a {
    position: relative;
    display: block;
    width: 60px;
    height: 60px;
    text-decoration: none;
}

#page_top a::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f102';
    font-size: 25px;
    color: white;
    position: absolute;
    width: 25px;
    height: 25px;
    top: -15px;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}

#page_top:hover {
    opacity: 1;
}

.scroll-to-top {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 50px;
    height: 50px;
    background-color: var(--main-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: var(--shadow-light);
    transition: var(--transition-base);
}

.scroll-to-top:hover {
    background-color: var(--dark-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* ==================================================
   フッター
================================================== */
footer {
    /* padding: 40px 0 0; */
}

.copyright {
    padding: 20px 0;
    background-color: var(--light-color);
    text-align: center;
    font-size: 0.8em;
    margin: 20px 0 0;
}

/* ==================================================
   レスポンシブデザイン
================================================== */
@media (max-width: 1539px) {
    .uk-navbar-center:not(:only-child) {
        left: calc(((100vw - 295px - 406.25px) / 2) + 295px);
    }
}

@media (max-width: 960px) {
    .main-title {
        font-size: 2rem;
    }
    
    .sub-title {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 0;
    }
    
    .main-title {
        font-size: 1.8rem;
    }
    
    .flowchart-vertical > :nth-child(n+2)::before {
        font-size: 1.5rem;
    }
    
    .flowchart-horizontal > li > span {
        font-size: 1rem;
        padding: 5px 5px;
    }
    
    .flowchart-horizontal > :nth-child(n+2)::before {
        width: 18px;
        height: 18px;
    }
}

/* ==================================================
   フロートナビゲーション
================================================== */
:has(> .floatnav) {
    box-sizing: border-box;
    width: 320px;
}

/* ==================================================
   アコーディオン拡張
================================================== */
.uk-accordion > :nth-child(n+2) {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.fnav-body .uk-nav-default > li > a.uk-accordion-title {
    font-size: .875rem;
}

.uk-accordion-content > ul > li:hover > a {
    padding-left: 5px;
    padding-right: 5px;
    color: white;
    background: var(--dark-color);
    transition: var(--transition-fast);
}

.uk-offcanvas-bar .uk-nav-default .uk-nav-sub a,
.uk-offcanvas-bar .uk-nav-default .uk-nav-sub a:hover {
    color: white;
}

ul.uk-accordion > li:hover > a {
    color: white;
    background: var(--light-color);
    transition: var(--transition-fast);
}