@charset "UTF-8";

/* フォント読み込み */
@font-face {
    font-family: 'kaushan-script';
    src: url('../lib/kaushan-script/KaushanScript-Regular.ttf');
}

/* 一般・共通設定 */
body {
    color: #382400;
    color: rgba(56, 36, 0, var(--bs-link-opacity, 1));
    background: #fff url('../images/back_r.png') fixed top center;
    background-size: cover;
    font-family: "Meiryo", "Hiragino Sans", "Osaka", "Noto Sans JP", "BIZ UDPGothic", "MS PGothic", sans-serif;
}

/* リンクカラー */
a {
    text-decoration: none;
    color: #003e58;
    color: rgba(0, 62, 88, var(--bs-link-opacity, 1));
    transition: 0.15s ease-in-out;
}

a:hover {
    color: #e78f00;
    color: rgba(231, 143, 0, var(--bs-link-opacity, 1));
}

/* 最大横幅設定 */
.container {
    max-width: 1024px;
}

/* 透過背景 */
.kir-bg-translucent {
    background-color: #fff;
    background-color: rgba(255, 255, 255, 0.9);
}

/* キラリ用見出し */
/* スマートフォン向け */
@media screen and (max-width:767px) {
    .kir-headline {
        border-left: 5px solid #f76448;
        background-color: #ffeddb;
        font-weight: bold;
        padding: 0.5rem;
        margin-bottom: 0;
    }
}

/* タブレット・PC向け */
@media screen and (min-width:768px) {
    .kir-headline {
        background-color: #ffeddb;
        display: flex;
        align-items: center;
        font-weight: bold;
        padding-top: 0.25rem;
        padding-bottom: 0.25rem;
        margin-bottom: 0;
    }

    .kir-headline::before {
        content: '';
        display: inline-block;
        height: 40px;
        width: 60px;
        padding-right: 0.5rem;
        background-image: url("../images/kirari-machida-noshadow-logo.svg");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        vertical-align: middle;
    }

    .kir-headline span {
        flex: 1;
        border-bottom: 2px dotted #999;
    }
}

/* キラリ用見出し(サブ：緑グラデーションにドット) */
.kir-headline-secondary {
    background: #43d043;
    background-image: radial-gradient(circle, #4fb94f 1px, transparent 1px), linear-gradient(#43d043, #16a316);
    background-position: 0, 0;
    background-size: 3px 3px, 100%;
    color: #fff;
    font-weight: bold;
    padding: 0.5rem;
    margin-bottom: 0;
}

/* キラリ用見出し(サブ：コルクボード風味) */
.kir-headline-tertiary {
    background-color: #efc79d;
    background-image:
        linear-gradient(45deg, #e9c39b 25%, transparent 25%, transparent 75%, #e9c39b 75%, #e9c39b),
        linear-gradient(-45deg, #e9c39b 25%, transparent 25%, transparent 75%, #e9c39b 75%, #e9c39b);
    background-size: 12px 12px;
    background-position: 0 0, 6px 6px;
    color: #555;
    font-weight: bold;
    padding: 0.5rem;
    margin-bottom: 0;
}

/* 太文字用フォント */
.kir-text-boldfont {
    font-family: "HG明朝E", "Hiragino Sans", "Osaka", "BIZ UDPMincho", "Noto Sans JP", sans-serif;
}

/* 縁取り文字：白 */
.kir-text-white-edging {
    text-shadow:
        2px 2px 1px #fff,
        -2px 2px 1px #fff,
        2px -2px 1px #fff,
        -2px -2px 1px #fff,
        2px 0px 1px #fff,
        0px 2px 1px #fff,
        -2px 0px 1px #fff,
        0px -2px 1px #fff;
}

/* 準備中メッセージ */
.kir-wait-message {
    color:#821500;
    padding-top: 15rem;
    padding-bottom: 15rem;
}

/* 上部に移動用ボタン */
.kir-buttom-pagetop {
    background-color: #f19500;
    background-color: rgba(241, 149, 0, 0.8);
    color: #fff;
    opacity: 0;
    transition: 0.15s ease-in-out;
    visibility: hidden;
    width: 50px;
    height: 50px;
    line-height: 1.0rem;
}

.kir-buttom-pagetop-visible {
    opacity: 1;
    visibility: visible;
}

.kir-buttom-pagetop:hover {
    background-color: #e78f00;
    color: #fff;
}

.kir-buttom-pagetop-text {
    font-size: 0.6rem;
    font-weight: bold;
}

.kir-buttom-pagetop-icon {
    font-size: 1.8rem;
}

/* カルーセル スライド設定 選択外をぼやかせる */
.splide__slide {
    filter: blur(2px);
}

.splide__slide.is-active {
    filter: none;
}

/* フッター・SNSのボタン設定 */
.kir-footer-sns-button {
    width: 2rem;
}

/* 触れたときのエフェクトを付与 */
.kir-hover-effect {
    transition: 0.15s ease-in-out;
}

.kir-hover-effect:hover {
    opacity: 70%;
}

/* ナビバーの色設定 */
.kir-navbar-bg {
    background-color: #f7b400;
}

.kir-navbar-bg .nav-link:hover {
    color: #fff;
}

/* 最新情報欄 */
.kir-newslist {
    overflow-y: auto;
}

/* スマートフォン向け */
@media screen and (max-width:767px) {
    .kir-newslist {
        max-height: 32rem;
    }
}

/* タブレット・PC向け */
@media screen and (min-width:768px) {
    .kir-newslist {
        max-height: 60rem;
    }
}

/* スライド・サイドメニュー画像用 */
.kir-item-bg {
    background-size: cover;
}

/* スライドの画像設定 */
.kir-slide-image {
    max-height: 200px;
}

/* スライドの文字設定 */
.kir-slide-text {
    color: #000;
    font-size: clamp(1rem, 6vw, 4.75rem);
}

/* キラリ用サイドメニュー用見出し */
.kir-sidemenu-headline {
    color: #666;
    text-align: center;
    font-family: 'Arial';
    font-weight: bold;
    position:  relative;
    padding-top: 1rem;
    padding-bottom: 2.5rem;
}

.kir-sidemenu-headline::before,
.kir-sidemenu-headline::after {
    display: block;
    content : '';
    width: calc(13rem + 1.2vw);
    height: 2rem;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    border: none;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    border-top: 2px solid #999;
}

.kir-sidemenu-headline::before {
    top: 0;
}

.kir-sidemenu-headline::after {
    bottom: 0;
}

/* サイドメニュー文字設定 */
/* スマートフォン向け */
@media screen and (max-width:767px) {
    .kir-sidemenu-text {
        font-size: clamp(1rem, 6vw, 2rem);
    }
}

/* タブレット・PC向け */
@media screen and (min-width:768px) {
    .kir-sidemenu-text {
        font-size: clamp(1rem, 2.25vw, 1.4rem);
    }
}

/* JavaScript無効時の表示設定 */
@media (scripting: none) {

    /* JavaScriptが動作していない場合、非表示にする */
    .kir-not-javascript-hidden {
        display: none;
    }

    /* ナビゲーションバー：強制的に表示する */
    .collapse:not(.show) {
        display: block;
    }

    /* ナビゲーションバー：強制的にstickyを外す */
    .navbar.sticky-top {
        position: unset;
    }

    /* 上部に移動用ボタン：強制的に表示する */
    .kir-buttom-pagetop {
        opacity: 1;
        visibility: visible;
    }
}