/*
Theme Name: CUBIC
Description: CUBIC Template
Author: 管理人
*/



body{
    
}
.in{
    width: 90%;
}
.pc{
    display: none;
}

/*++++++++++++++++++++*/
/*ヘッダー*/

.hed_sns ul{
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
}
.header{
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
    padding: 15px 0;
}
.hedicon{
    position: absolute;
    width: 34%;
    max-width: 200px;
    margin: auto;
    left: 0;
    right: 0;
}
/*ヘッダー検索*/
.hed_search form {
    height: 34px;
    border: 2px solid #04046e;
    background-color: #fff;
    padding-left: 6px;
}
.hed_search input[type="search"]{
    width: calc(100% - 35px);
}
.hed_search input[type="submit"]{
    background-color: #131834;
}

/*ハンバーガーボタン*/
#smp_menu {
    font-size: 10px;
    position: relative;
    cursor: pointer;
    color: rgb(255, 255, 255);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 50%;
}

#smp_menu .smp{
    position: relative;
    width: 3.5em;
    height: 2.3em;
}
#smp_menu .smp span{
    display: inline-block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all .4s;
    margin: auto;
}
#smp_menu .smp span:nth-child(1){
    top: 0;
}
#smp_menu .smp span:nth-child(2){
    top: 0;
    bottom: 0;
}
#smp_menu .smp span:nth-child(3){
    bottom: 0;
}
#smp_menu.active{
    color: #131834;
}
#smp_menu.active .smp span:nth-child(1){
    transform: translateY(6px) rotate(-45deg);
    bottom: 13px;
}
#smp_menu.active .smp span:nth-child(2){
    opacity: 0;
}
#smp_menu.active .smp span:nth-child(3){
    transform: translateY(-6px) rotate(45deg);
    top: 13px;
}
#smp_menu p{
    letter-spacing: 0.1em;
    margin-top: 0.5em;
    font-weight: 600;
    line-height: 1;
}
/*ハンバーガーメニュー*/
.header nav{
    position: fixed;
    top: 0;
    height: 100svh;
    background-color: #f5f2eb;
    width: 300px;
    z-index: 1;
    transition: 0.5s;
    padding: 100px 10px 10px;
    color: #032138;
    left: -300px;
    box-shadow: 0px 7px 6px -1px rgba(97, 97, 97, 0.18);
}
.header nav .menu > li >a{
    width: 100%;
    padding: 0.5em 0.5em 0.5em 1.5em;
    color: #032138;
}
.header nav .sub-menu li{
    height: 0;
    overflow: hidden;
    transition: 0.5s;
}
.header nav .sub-menu a{
    padding:0.5em 1.5em;
    width: 100%;
}
.header nav .sub-menu,
.header nav .menu > li.active{
    visibility: visible;
    opacity: 1;
}
.header nav .menu > li.active .sub-menu :is(li){
    height: 3em;
}
.header nav.active{
    left: 0;
}
.header nav .menu > .hednav_parent >a{
    pointer-events:auto;
}
/*---------------------*/
/*フッター*/
.footnav a{
    display: block;
}
.footbanner_img{
    margin-bottom: 20px;
}
.footbanner_img ul{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
}
.footbanner_img img{
    width: 100%;
    max-width: none;
}
.footlincbotn{
    text-align: center;
    margin-top: 20px;
}
/*---------------------*/
/*見出し*/
h2 {
    font-size: calc(1.4375rem + ((1vw - 3.75px) * 3.3079));
}
h3{
    
}
h4{
    font-size: calc(1.375rem + ((1vw - 3.75px) * 0.5089));
}
h5{
    font-size: calc(1.125rem + ((1vw - 3.75px) * 1.0178));
}

/*---------------------*/
/*ホーム*/
.home02_coimg{
    text-align: center;
}

.home02_cotmain{
    font-size: calc(1.5625rem + ((1vw - 3.75px) * 1.7812));
}
.home02_cotmain br{
    display: none;
}

/*---------------------*/
/*下層ページ*/
/*----下層ページヘッダー----*/
.contenthedimg h2{
    padding: 1.5em 0;
}

/*---------投稿一覧---------*/
.itemlist > ul{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    grid-gap: 1rem;
}
.itemlist > ul >li{
    container-type: inline-size;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
}
.itemlist .itemlistimg{
    height: 180px;
    width: 100%;
}

@container (max-width: 400px) {
    .itemlistboxf{
        flex-wrap: wrap;
        -webkit-flex-direction: column-reverse;
        flex-direction: column-reverse;
        gap: 10px;
    }
    .itemlistboxf .itemlist_tag{
        width: 100%;
    }
}
/*---------投稿詳細---------*/
.singlfoottaitl {
    font-size: calc(1.5rem + ((1vw - 3.75px) * 3.0534));
}
.singlfoot{
    padding: 8% 4% 3%;
}

/*---------固定ページ---------*/
/*--------浜田応援団とは*/
.cheer-teambox02{
    -webkit-flex-direction: column;
    flex-direction: column;
}
.cheer-teamboximg{
    text-align: center;
}
.cheer-teambox02 p {
    font-size: calc(1.0625rem + ((1vw - 3.75px) * 0.7634));
}

