@charset "utf-8";
@import url("/ssi/css/layout.css");
@import url("/ssi/css/common.css");
@import url("/ssi/css/parts.css");
@import url("/ssi/css/parts-front.css");
@import url("/ssi/css/sp-layout.css") screen and (max-width: 1080px);
@import url("/ssi/css/sp-common.css") screen and (max-width: 1080px);
@import url("/ssi/css/sp-parts.css") screen and (max-width: 1080px);
@import url("/ssi/css/sp-parts-front.css") screen and (max-width: 1080px);

/* ▼ スライド画像の基本設定 */
.swiper-pattern-section {
    margin: 0 !important;
    height: 100vh;
    width: 100%;
    position: relative;
}

.swiper-multi .swiper-container {
    height: 100vh !important;
    max-height: none !important;
}

.swiper-container-wrapper {
    height: 100%;
    min-height: 100vh;
}

.swiper-slide img,
.swiper-wrapper>* img {
    width: 100%;
    height: 100vh !important;
    object-fit: cover;
    object-position: center;
    vertical-align: bottom;
}

.swiper-slide a,
.swiper-wrapper>* a {
    display: block;
    width: 100%;
    height: 100%;
}

/* ▼ ロゴ設定 */
#logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: 100%;
    text-align: center;
    margin: 0;
}

#logo h1 {
    display: flex;
    margin: 0;
    justify-content: center;
}

#logo img {
    vertical-align: bottom;
}

#container {
    position: relative;
    padding: 0;
    margin: 0;
}

/* ▼ フッター設定 */
#container footer,
footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 66px 0 10px;
    background: linear-gradient(to top, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 65%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

#container footer p,
footer p,
.frontFooterNav,
.frontFooterNav a {
    pointer-events: auto;
}

footer p {
    color: #333;
    text-align: center;
    margin: 12px 0 0;
    font-size: 1.4rem;
}

.frontFooterNav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.frontFooterNav a {
    padding: 0 1em;
    font-size: 1.6rem;
    color: #333;
}

.frontFooterNav a+a {
    border-left: 1px solid #333333;
}

/* ▼▼▼ front-init.js 専用スタイル ▼▼▼ */
/* JSにより、矢印は #container の直下に移動しています。
   これによりスライダー枠に影響されず、自由に画面上に固定配置できます。
*/
.controls-fixed-bottom {
    /* 画面全体を基準に配置 */
    position: fixed !important;

    /* 右下指定 */
    bottom: 20px !important;
    right: 20px !important;

    /* フッター(1000)より確実に手前に表示 */
    z-index: 2000 !important;

    /* レイアウト調整 */
    width: auto !important;
    margin: 0 !important;
    display: flex;
    justify-content: flex-end;
    background: transparent;
    pointer-events: auto;
}


/* スマホ用調整 */
@media screen and (max-width: 768px) {
    .frontFooterNav {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        margin: 0;
        padding-bottom: 10px;
        row-gap: 10px;
    }

    .frontFooterNav a {
        width: 50%;
        box-sizing: border-box;
        text-align: center;
        padding: 4px 0;
        border-left: none;
    }

    .swiper-controls-wrapper {
        position: static !important;
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 0 auto 20px auto;
        padding: 20px 0px;
        z-index: auto;
    }

    .swiper-controls-wrapper img,
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        margin: 0 10px;
        position: static;
    }

    .frontFooterNav a:nth-of-type(3) {
        border-left: none;
    }

    #mymainback {
        display: none;
    }

    #logo img {
        width: 280px;
        height: auto;
    }
}


.frontFooterNav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.frontFooterNav li {
    display: block;
}

/* リンクボタンのデザイン（PC・スマホ共通） */
.frontFooterNav li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 50px;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: bold;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s, transform 0.1s;
}

.frontFooterNav li a:hover,
.frontFooterNav li a:active {
    background-color: #f7f7f7;
    transform: translateY(1px);
    box-shadow: none;
}

/* スマホ表示用：フッターナビゲーションのボタンスタイル */
@media screen and (max-width: 768px) {
    .frontFooterNav ul {
        flex-wrap: wrap;
        padding: 0 16px;
        margin-bottom: 20px;
    }

    .frontFooterNav li {
        width: calc(50% - 6px);
        margin: 0;
    }
}