/*
Theme Name: lightning child
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/
/* PC・タブレットサイズのフローティングメニュー */
body {
    margin: 0;
    box-sizing: border-box;
}

.container {
    padding: 10px;
}

.floating-menu {
    position: fixed;
    top: 50%;
    right: 0px; /* 右端からの距離を調整 */
    transform: translateY(-50%);
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    z-index: 9999; /* 他の要素より前面に表示 */
}

.floating-menu li {
    margin-bottom: 0px;
    position: relative; /* tooltip-text の基準位置 */
}

.floating-menu li:last-child {
    margin-bottom: 0px;
}

.icon-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

.icon-link i {
    display: block;
    width: 40px; /* アイコンの幅に合わせて調整 */
    height: 40px; /* アイコンの高さに合わせて調整 */
    background-color: #000;
    border-radius: 0%;
    text-align: center;
    line-height: 40px; /* アイコンを垂直中央に配置 */
    font-size: 18px; /* アイコンのサイズを調整 */
    opacity: 0.9;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.icon-link:hover i {
    opacity: 1;
    background-color: #fc1ea3;
    color: #fff;
}

.tooltip-text {
    position: absolute;
    right: 100%; /* アイコンの左に配置 */
    top: 50%;
    transform: translateY(-50%);
    margin-right: 0px;
    padding: 8px 0px;
    background-color: #fc1ea3;
    color: #fff;
    border-radius: 0px;
    font-size: 12px;
    white-space: nowrap; /* テキストが折り返されないように */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.icon-link:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-5px); /* 少し左に移動 */
}

/* スマホサイズの画面幅 (例: 最大600px) の場合に非表示 */
@media screen and (max-width: 600px) {
    .floating-menu {
        display: none;
    }
}

/* PCとタブレットサイズの画面幅 (例: 601px以上) の場合に表示 */
@media screen and (min-width: 601px) {
    .floating-menu {
        display: flex;
    }
}




/* スマホサイズのフローティングメニュー */
body {
    margin: 0;
    padding-bottom: 60px; /* フッターの高さ分だけpadding-bottomを設定 */
    box-sizing: border-box;
}

.container {
    padding: 20px;
}

.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f0f0f0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 50px; /* ボタンの高さに合わせて調整 */
    padding: 5px 5px;
    box-sizing: border-box;
    
}

.footer-button {
    flex: 1;
    margin: 0 2px;
    padding: 10px;
    border: none;
    background-color: #000;
    color: #fff;
    border-radius: 0px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
}

.footer-button:hover {
    background-color: #fc1ea3; /* ホバー時の背景色 */
    color: #fff; /* ホバー時の文字色 (必要に応じて) */
}

.footer-button:first-child {
    margin-left: 0;
}

.footer-button:last-child {
    margin-right: 0;
}

/* スマホサイズの画面幅 (例: 最大600px) の場合に表示 */
@media screen and (max-width: 600px) {
    .fixed-footer {
        display: flex; /* 表示 */
        height: auto; /* 必要に応じて調整 */
        flex-direction: row; /* 横並びを維持 */
		z-index: 9999; /* 他の要素より前面に表示 */
    }

    .footer-button {
        font-size: 12px; /* 必要に応じて調整 */
        padding: 8px; /* 必要に応じて調整 */
    }
}

/* PCとタブレットサイズの画面幅 (例: 601px以上) の場合に非表示 */
@media screen and (min-width: 601px) {
    .fixed-footer {
        display: none; /* 非表示 */
    }
}


@media(min-width: 992px) {
.site-header--layout--nav-float .site-header-container {
display: block;
}
.site-header--layout--nav-float .site-header-logo a {
margin: 0 auto;
}
.global-nav--layout--float-right .global-nav-list {
margin-left: auto;
margin-right: auto;
}
}

