@charset "UTF-8";
/*
Theme Name: noct
Theme URI: https://oka.town/
Template: noct_base
Author: Masanori Furutani
Author URI: noct.co.jp
Version: 1.0.0
*/


/************************************
** 足跡
************************************/
#footprints-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.footprint {
    position: absolute;
    width: 50px;
    height: 100px;
    opacity: 0;
    transform-origin: center; /* 回転の中心をアイコンの中央に設定 */
    transition: opacity 0.5s ease, transform 0.5s ease; /* 表示スピードを調整 */
}

.footprint svg {
    width: 60%;
    height: 60%;
}


/************************************
** サイドメニュー
************************************/
#secondary-menu{

	& div.secondary-menu::before {
        background-image: url(images/logo.png);
    }
}

/************************************
** テーブル設定）
************************************/
table th {
	background-color: #f9f9f9;
}

/************************************
** トップページ
************************************/
section.loop_section.item-list{
    & ul{
        display: flex;
        flex-wrap: wrap;
        padding: 0;
        justify-content: space-between;

        & li{
            width: 49%;
            margin: 0 0 2% 0;
            list-style: none;
            padding: 1.6em;
            border-radius: 15px;
            background-color: #fff;
            box-sizing: border-box;

            & a{
                display: flex;
                justify-content: space-between;
                text-decoration: none;

                & div.photo{
                    position: relative;
                    width: 240px;
                    height: 180px;
                    margin: -0.8em -0.8em -0.8em 1.6em;
                    border-radius: 15px;
                    background: #f9f9f9;
                    box-sizing: border-box;
                    overflow: hidden;
                    flex-shrink: 0;

                    & img{
                        position: absolute;
                        top: 0;
                        left: -200%;
                        right: -200%;
                        margin: auto;
                        width: 100%;
                        height: auto;
                    }
                }

                & div.text{

                    & h3{
                        padding: 0;
                        margin: 0 0 0.5em 0;
                        font-size: 30px;
                        line-height: 1.35;

                        & span{
                            display: block;
                            font-size: 50%;
                        }

                        &::before{
                            content: none;
                        }
                    }

                    & p{
                        font-size: 12px;
                        color: #333;
                    }
                }
            }

            &.first{
                & h3{
                    color: #e08484;
                }
            }

            &.baby{
                & h3{
                    color: #6dbed6;
                }
            }

            &.uwabaki{
                & h3{
                    color: #81d4cc;
                }
            }

            &.name{
                & h3{
                    color: #d6cc65;
                }
            }
        }
    }
}

@media only screen and (max-width: 1100px) {
    section.loop_section.item-list{
        & ul{    
            & li{
                & a{
                    & div.text{
                        & h3{
                            font-size: 21px;
                        }
                    }
                }
            }
        }
    }
}
@media only screen and (max-width: 1000px) {
    section.loop_section.item-list{
        & ul{    
            & li{
                width: 100%;
                
                & a{
                    & div.text{
                        & h3{
                            font-size: 30px;
                        }
                    }
                }
            }
        }
    }
}
@media only screen and (max-width: 500px) {
    section.loop_section.item-list{
        & ul{    
            & li{
                width: 100%;
                
                & a{
                    flex-wrap: wrap;

                    & div.text{
                        width: 100%;
                    }

                    & div.photo{
                        width: 100%;
                        height: auto;
                        padding: 0;
                        margin: 1em 0 0 0;
                        
                        & img{
                            position: relative;
                            top: auto;
                            left: auto;
                            right: auto;
                            width: 100%;
                            height: auto;
                        }
                    }
                }
            }
        }
    }
}


/************************************
** カテゴリ
************************************/
#category_box h2{
    margin: 1.6em 0 0.5em 0;
    text-align: center;
    font-family: mina, serif;
    font-weight: 400;
    font-style: normal;
    font-size: 42px;
    color: #6dbed6;
}
#category_box h2:first-child{
    margin-top: 0;
}
#category_box h3{
    margin: 0.5em 0;
    text-align: center;
    font-family: zen-antique, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    color: #6dbed6;

    &::before{
        display: none;
    }
}
#category_box.first h2,
#category_box.first h3{
    color: #e08484;
}
#category_box.baby h2,
#category_box.baby h3{
    color: #6dbed6;
}
#category_box.uwabaki h2,
#category_box.uwabaki h3{
    color: #81d4cc;
}
#category_box.name h2,
#category_box.name h3{
    color: #d6cc65;
}
#category_box h2 + h3{
    margin: -1em 0 2.4em 0;
    border-bottom: 5px dotted;
    padding: 0 0 1.6em 0;
}
#category_box p{
    padding: 0 1em;
    margin: 0 0 1.6em 0;
    text-align: justify;
    text-justify: inter-ideograph;
    font-family: zen-kaku-gothic-new, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: #222;
}
#category_box img{
    max-width: 100%;
    border: 5px solid #fff;
    border-radius: 15px;
}


/************************************
** サイドバー
************************************/
ul.side-item{
    display: flex;
    padding: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 5px;

    & li{
        width: 100%;
        margin: 0;
        padding: 10px 0;
        border-bottom: 1px dotted #999;

        & img{
            max-width: 100%;
        }

        &:first-child{
            padding: 0.75em 1em;
            border-bottom: none;
            background-color: #0c68ac;
            color: #fff;
            text-align: center;
        }

        &:last-child{
            padding: 10px 0 0 0;
            border-bottom: none;
        }
    }
}

@media only screen and (max-width: 1100px) {
    ul.side-bana{    
        & li{
            width: calc(50% - 2.5px);

            & img{
                display: block;
                max-width: 100%;
                margin: 0 auto;
            }
        }
    }
}

ul.side-bana{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    & li{
        width: 100%;
        margin: 0 0 5px 0;

        &:last-child{
            margin: 0;
        }
    }
}

@media only screen and (max-width: 1100px) {
    ul.side-bana{    
        & li{
            width: calc(50% - 2.5px);

            & img{
                display: block;
                max-width: 100%;
                margin: 0 auto;
            }
        }
    }
}


/************************************
** 固定ページ
************************************/
/*スタッフリスト*/
ul.staff-list{
    display: flex;
    padding: 0;
    flex-wrap: wrap;
    justify-content: space-around;

    & li{
        width: 32%;
        margin: 0 0 1.6em 0;
        list-style: none;

        & div.photo{
            & img{
                margin: 0 0 1em 0;
            }
        }

        & div.text{

            & h3{
                padding: 0 0 0.5em 0;
                margin: 0 0 0.5em 0;
                border-bottom: 1px solid #999;

                &::before{
                    display: none;
                }
            }
            & h4{
                padding: 0;
                margin: 0;

                &::before{
                    display: none;
                }
            }

            & p{
                margin: 0 0 1em 0;
                line-height: 1.35;

                &:last-child{
                    margin: 0;
                }
            }
        }

        &:last-child{
            margin: 0 0 1.6em 0;
        }
    }
}