/* css変数でそれぞれのカラーを定義 ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆ */
:root {
    --base-color: #f5f5f5;
    --main-color: #D2101B;
    --text-color: #333;
    --text-white: #fff;
    --base-text-color: #505050;
    --submenu-color: #6c6c6c;
    --bright-color: rgba(255, 255, 255, 0.917);
    --dark-color: rgba(82, 82, 82, 0.464);
    --gridbox-color: #fff;
    --castime-color: #00A0DD;
    --shadow-brightcolor: #fff;
    --shadow-darkcolor: #c6c9cc;
}

/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc {
    display: block !important;
}

.sp,
.icons_sp {
    display: none !important;
}

/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 830px) {
    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }

    .icons_sp {
        display: flex !important;
        align-items: center;
        gap: 1.5rem;
    }
}

/* アクセシレンズボタンの位置 */
#uni-toolbar:not(.uni-toolbar-disabled) #style_selector .style-toggle {
    top: 90px !important;
}

/* パンくずリストのアイコン */
nav[aria-label="breadcrumb"] i {
    font-size: 18px;
    margin-right: 5px;
}

.g-recaptcha {
    display: block;
    margin: 0 auto;
}

body {
    background: var(--base-color);
    font-family: source-han-sans-vf, sans-serif;
    color: var(--base-text-color);
}

body::before {
    content: '';
    display: block;
    height: 8rem;
    /* ヘッダーの高さ */
}

.zenkaku {
    font-family: source-han-sans-vf, sans-serif;
}

.eisu {
    font-family: brandon-grotesque, sans-serif;
    display: inline;
    white-space: nowrap;
}

.shadow-soft {
    box-shadow: 5px 5px 10px var(--shadow-darkcolor), -5px -5px 8px var(--shadow-brightcolor);
}

/*aタグをクリックできないように */
.pointer-none {
    pointer-events: none;
}

/* ダイケンアイコン */
.daiken {
    display: flex;
    align-items: center;
}

p {
    text-align: justify;
}

.icon_label p {
    text-align: center;
}


/* ヘッダー ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
header {
    position: fixed;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1350px;
    margin: 0 auto;
    padding: 10px;
}

header .appli_icon,
header .icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-header,
#header-menu .sub-menu {
    background-color: var(--gridbox-color);
    transition: background-color 0.3s ease;
}

.site-header {
    width: fit-content;
    padding: 0.7rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    background: var(--base-color);
    box-shadow: 5px 5px 10px var(--shadow-darkcolor), -5px -5px 8px var(--shadow-brightcolor);
}

header section {
    display: flex;
    margin-left: 6rem;
}

.footer-column .mainmenu a,
.footer-column .submenu a {
    position: relative;
    text-decoration: none;
    color: inherit;
    font-weight: bold;
}

.footer-column .submenu a {
    font-weight: normal;
}

.footer-column .mainmenu a::after,
.footer-column .submenu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease-in-out;
}

.footer-column .mainmenu a:hover::after,
.footer-column .submenu a:hover::after {
    width: 100%;
}

#header-menu {
    list-style: none;
    padding: 0;
    margin: 0 1rem 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ハンバーガーメニューのスタイル */


.hamburger-menu {
    display: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    top: 20px;
    right: 20px;
    z-index: 2000;
    align-items: center;
    justify-content: end;
}



/* ヘッダー ■■■■■■■■■■■■■■■■■■■■■■■■ */
#header-menu {
    position: fixed;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: flex-start;
    text-align: left;
    margin: 0 auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8%;
    max-width: 1350px;
    background: var(--base-color);
}

#header-menu li>.sub-menu {
    display: grid !important;
    position: relative;
    /* 親メニュー内に配置 */
    top: 0;
    left: 0;
}

.main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    transition: right 0.5s ease;
}

.main-navigation {
    display: none;
}

.main-navigation.active {
    display: flex;
}

.hamburger-menu {
    display: flex;
}

/* 初期状態ではメニューは画面外に隠れている */
#site-navigation {
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    background: var(--base-color);
    visibility: hidden;
    opacity: 0;
    transition: top 0.5s ease, opacity 0.5s ease, visibility 0s 0.5s;
    z-index: 10;
}

#site-navigation.active {
    top: 0;
    /* left: 0;
    right: 0; */
    height: 100vh;
    visibility: visible;
    opacity: 1;
    transition: top 0.5s ease, opacity 0.5s ease;
}


/* フッター ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
footer {
    position: relative;
    background-color: #e3e9eb;
    color: var(--text-color);
    padding: 40px 8%;
    display: flex;
    justify-content: space-between;
}

footer .DAIKENCOLTDALLRIGHTSRESERVED {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    font-size: 0.6rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li a {
    text-decoration: none;
    transition: color 0.3s;
    color: var(--text-color);
}

.mainmenu li {
    margin-bottom: 1rem;
}

.submenu {
    display: grid;
    gap: 1rem;
}

.submenu li a {
    color: var(--submenu-color) !important;
}

.google_map {
    margin-bottom: 10rem;
}

@media(max-width:830px) {
    .daiken {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .google_map {
        margin-bottom: 1rem;
    }

    header section {
        display: grid;
        margin: 0;
        width: 100%;
    }

    header .icons {
        display: none;
    }

    #header-menu {
        display: flex;
        font-size: 0.8rem;
        flex-direction: column;
        justify-content: space-between;
        overflow-y: auto;
    }

    footer,
    .footer-container {
        margin-top: 2rem;
        display: flex;
        flex-direction: column;
    }

    #footer-navigation {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    #footer-menu {
        flex-direction: column;
        gap: 20px;
    }

    #footer-menu>li {
        gap: 4px;
    }

    .footer-column:last-child {
        margin-bottom: 2rem;
    }

    footer .DAIKENCOLTDALLRIGHTSRESERVED {
        position: absolute;
        left: 8%;
        bottom: 2rem;
        font-size: 0.6rem;
    }

    .submenu li a {
        font-size: 0.8rem;
    }
}

/* 共通スタイル */
.footer-column li {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}



/* モバイル用 */
@media (max-width: 830px) {
    .footer-column .submenu {
        display: none;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease-out;
    }

    .footer-column .top {
        border-top: 1px solid #505050;
    }

    .footer-column li {
        padding: 1rem 0;
        border-bottom: 1px solid #505050;
    }

    .mainmenu li {
        margin: 0;
    }

    .submenu.open li {
        padding: 0;
        border-bottom: 0;
    }

    /* openクラス */
    .footer-column .submenu.open {
        display: flex;
        flex-direction: column;
        margin-top: 1rem;
        margin-bottom: 1rem;
        padding-left: 8%;
    }

    .footer-column .has-submenu {
        cursor: pointer;
    }
}

/* PCではリンク無効化 */
@media (min-width: 831px) {
    .footer-column .has-submenu>a {
        pointer-events: none;
        color: inherit;
    }
}





/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 404ページ ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.error-404 {
    height: 100vh;
    display: grid;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 1rem;
}

.error-404 .page-header {
    margin-bottom: 2rem;
}

.error-404 .page-title {
    font-size: 2.5rem;
    color: var(--main-color);
}

.error-404 .page-content {
    font-size: 1.2rem;
    color: var(--text-color);
}

.error-404 .page-content p {
    margin-bottom: 2rem;
}

.section_box {
    display: grid;
    gap: 2rem;
}