/*共通事項*/
    /*リンク*/
    A{color:#696969;text-decoration:none;}
    A:hover{color:#8B0000;text-decoration:underline;}

    BODY{
        font-family: "fot-udkakugo-large-pr6n", sans-serif;
        font-weight: 400;
        font-style: normal;
    }
    H1,H2,H3,H4,H5,H6,.cmidashi,.bmidashi,.dmidashi{
        font-family: "fot-udmarugo-large-pr6n", sans-serif;
        font-weight: 600;
        font-style: normal;
    }
    DIV.titlelogo{
        position: relative;
        display: flex;
        height:1.0em;
        min-height:30px;
        max-height:55px;
        line-height:1.0;
        width:100%;
        font-size:clamp(2.0em,3vw,3.5em);
        padding:15px 0 20px;
        text-align:center;
        justify-content: center; 
        white-space: nowrap;
        font-family: "fot-udkakugo-large-pr6n", sans-serif;
        font-weight: 600;
        font-style: normal;
        background-image: linear-gradient(189deg, rgba(103, 21, 28, 1), rgba(184, 23, 23, 1));
        color: white;
        text-shadow: 1px 2px 3px #808080; 
        letter-spacing:0.12em;
        @media (max-width: 768px) {
            font-size: 1.5em;
            padding:10px;
            letter-spacing: 0.1em;
        }
    }
    
   .titlelogo A{
    color:white;
    text-decoration:none;
    }

    .titlelogo A:hover{
    color:white;
    text-decoration:none;
    }

    DIV.titlelogo div{
        font-family: "fot-udmarugo-large-pr6n", sans-serif;
        font-weight: 600;
        font-style: normal;
        letter-spacing:0;
        font-size:0.3em;
        position:absolute;
        background:green;
        padding:5px;
        border-radius:5px;
        left:15%;
        top:10px;
        @media (max-width: 1050px) {
            display:none;
        }
    }
    @media (min-width: 900px) {
        DIV.titlelogo::after{
            content:"";
            display:inline-block;
            width:4.0em;
            font-size:0.8em;
            height:2.5em;
            margin-left:0px;
            margin-top:0px;
            background-image: url('logophoto.png');
            background-size:contain;
            background-repeat:no-repeat;
        }
    }

    /*ナビ（R7.2更新）*/
    div.main{
        padding:52px 10px 0 10px;
    }
    
    /* Navbar & Navmenu color */
    :root {
        --background-navbar: rgba(55, 55, 55, 0.98);
    }
            
    header.new{
        background: var(--background-navbar);
        position: relative;
    }

    .menu-btn {
        display: none;
    }


    @media screen and (min-width: 769px) {/*PC*/
        
        .menu {
            transform: scale(1, 1);
            transform-origin: top;
            transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
        }
        /* Hamburger Menu Animation End */
        .menu a,
        .menu li {
            opacity: 1;
            transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
        }
        .menu{
            list-style:none;
            display: flex;
            position: static;
            box-shadow: none;
            z-index: auto;
            flex-direction: row;
            text-align:center;
            justify-content: flex-start;
            height: auto;
            padding:0;
            margin:0;
            justify-content: center;
            align-items: center;
            overflow:hidden;
        }
        
        .menu LI{
            margin:0;
            white-space:nowrap;
            font-size:0.8em;
            height:100%;
            padding:10px 0;
        }
        .menu LI:hover{
            background:#D2691E;                
        }
    
        .menu A {
            color:white;
            padding:10px;
        }
        .menu LI A:hover{
            text-decoration:none;
        }
    }

    @media screen and (max-width: 768px) {/*スマホ*/
        header.new{
            height:52px;
            position:absolute;
            top:0px;
        }
        /* Navbar Container */
        .navtext-container {
            width: 100%;
            height: 52px;
            position: absolute;
            box-sizing: border-box;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        
        /* Nav items */
        .menu {
            display:block;
            list-style: none;
            position: absolute;
            width: 100%;
            height: auto;
            top: 0;
            margin-top: 52px;
            padding: 0 0 10px 0;
            clear: both;
            background: var(--background-navbar);
            transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
            transform: scale(1, 0);
            transform-origin: top;
        }
        
        /* Hamburger menbu text */
        .menu a {
            text-decoration: none;
            font-weight: 500;
            letter-spacing: 2px;
            font-size: 16px;
            text-transform: capitalize;
            color: #ddd;
            opacity: 0;
            transition: 0.5s;
        }
        
        .menu li {
            border-top: 1px solid rgb(75, 75, 75);
            padding: 15px 30px;
            margin: 0;
            opacity: 0;
            transition: 0.5s;
        }
        .menu li>a{
            display:block;
        }

        .navicon:before {
            top: 9px;
        }
        
        .navicon:after {
            bottom: 9px;
        }
        

        
        /* Navbar Text */
        .navtext{
            position: absolute;
            text-transform: uppercase;
            color: #ddd;
            letter-spacing: 4px;
            font-size: 20px;
        }
        
        .navtext a{
            color: #ddd;
        }
        /* Hamburger menu button */
        .menu-btn:checked ~ .menu {
            transform: scale(1, 1);
            transform-origin: top;
            transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
        }
        /* Hamburger Menu Animation End */
        .menu-btn:checked ~ .menu a,
        .menu-btn:checked ~ .menu li {
            opacity: 1;
            transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
        }
                    
        .menu-icon {
            display: inline-block;
            position: relative;
            cursor: pointer;
            padding: 24px 14px;
            -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        }
        
        .navicon {
            background: #ddd;
            display: block;
            height: 3px;
            width: 26px;
            position: relative;
            transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
        }
        
        .navicon:before,
        .navicon:after {
            content: "";
            display: block;
            height: 100%;
            width: 100%;
            position: absolute;
            background: #ddd;
            transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
        }

        /* Hamburger Menu Animation Start */
        .menu-btn:checked ~ .menu-icon .navicon:before {
            transform: rotate(-45deg);
        }
        
        .menu-btn:checked ~ .menu-icon .navicon:after {
            transform: rotate(45deg);
        }
        
        .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before {
            top: 0;
        }
        .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
            bottom: 0;
        }
        
        .menu-btn:checked ~ .menu-icon .navicon {
            background: rgba(0, 0, 0, 0);
            transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
        }
        .menu LI:hover{
            background:#D2691E;                
        }
    }

    /*index.php*/
    .indexgrid DIV{

    }
    .slider{
        margin:0px; 
    }


    .indexb{
        margin:10px;
    }
    .indexc{
        margin:10px;
    }
    .indexd{
        margin:10px;
        display:none;
    }

    DIV#update{
        box-shadow :0px 0px 3px silver;
        border: solid 1px whitesmoke;
        margin:0;
        overflow-x:hidden;
        overflow-y:auto;
        max-height:290px;
        color:808080;
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius:5px;
        background: #fafafa;
        padding: 0px 1em 0.5em 0.5em;
    }
    DIV#update DL{
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        font-size:0.8em;
      }
      DIV#update DT,DIV#update DD {
        box-sizing: border-box;
      }
      DIV#update DT {
        display: flex;
        align-items: center;
        width: 30%;
        padding: 5px;
        /* background-color: #35a4ff7f; */
        border-bottom: 1px solid #999;
      }
      DIV#update DT:last-of-type,
      DIV#update DD:last-of-type {
        border: none;
      }
      DIV#update DD {
        align-items: center;
        width: 70%;
        margin-left: 0;
        padding: 5px;
        /* background-color: #7d7ad909; */
        border-bottom: 1px solid #999;
      }
      #contents ul.ilist{
        box-shadow :0px 0px 3px silver;
        border-radius: 5px;
        border: solid 1px whitesmoke;
        padding: 10px 1em 0.5em 2.3em;
        overflow-y:auto;
        max-height:290px;
        font-size:0.8em;
        position: relative;
        background: #fafafa;
      }
      #contents ul.conlist{
        box-shadow :0px 0px 3px silver;
        border-radius: 5px;
        border: solid 1px whitesmoke;
        padding: 10px 1em 0.5em 2.3em;
        font-size:0.5em;
        position: relative;
        background: #fafafa;
      }
      
      ul.ilist li {
        line-height: 1.5;
        padding: 0.5em 0;
        list-style-type: none!important;
      }
      
      ul.ilist li:before {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        content: "\f0da";
        position: absolute;
        left : 1em; /*左端からのアイコンまで*/
        color: gray; /*アイコン色*/
      }

    @media screen and (min-width: 769px) and (min-height: 500px) {/*PC*/
        .indexa{
            margin:10px auto;    
            max-width:900px;
        }
        .slider{
            margin-left: 15%;
        }
        .indexgrid{
            display:grid;
            grid-template-rows: 480px 350px;
            grid-template-columns: 1fr 1fr;
            }    
            .indexgrid DIV.indexa{
                grid-row: 1 / 2;
                grid-column: 1 / 3;
            }
            .indexgrid DIV.indexa {
                max-width:auto;
                max-height:100%;
                z-index:1000;
            }
            .indexgrid DIV.indexb{
                grid-row: 2 / 3;
                grid-column: 1 / 2;
                z-index:1000;
            }
            .indexgrid DIV.indexc{
                grid-row: 2 / 3;
                grid-column: 2 / 3;
                z-index:1000;
            }
        }


    @media screen and (max-width: 768px) {/*スマホ*/
        DIV.dmidashi,DIV.bmidashi,DIV.cmidashi{
            margin-top:20px;
        }
        .indexgrid{
            padding:0;
        }
        .indexgrid{
            padding:0;
        }
        .indexd{
            display:block;
        }
        UL.conlist LI{
            list-style:none;
        }
        UL.conlist A{
            margin:15px 0;
            display:grid;
            grid-template-columns: 100px 1fr;
        }
        UL.conlist A:hover {
            text-decoration:none;
        }
        UL.conlist A IMG{
            filter: opacity(70%);
        }
        UL.conlist A:hover IMG{
            filter: opacity(100%);            
        }
        UL.conlist A div.exp{
            font-size:2.2em;
            font-weight:700;
            margin-left:5%;
            display:block;
        }
        UL.conlist A div.exp span{
            display:block;
            font-weight:500;
            font-size:0.4em;
            line-height:0.5em;
        }
        UL.conlist DIV.circle{
            width: 100px;
            height: 100px;
            border-radius: 50%;  /* 円形にする */
            position: relative;  /* 基準値とする */
            overflow: hidden;    /* はみ出た部分を非表示 */
        }
        UL.conlist DIV.circle IMG{
            position: absolute;  /* 相対位置に指定 */
            top: 0;
            left: 0;
            width: auto;
            height: 100%;
            object-fit: cover;   /* 画像の表示サイズを調整 ※IE非対応 */
        }
    }

    DIV.bmidashi, DIV.cmidashi, DIV.dmidashi {
        position: relative;

        padding: 2px 5px 2px 20px;
        margin-left:1.35em;
                margin-bottom:10px;
        font-size: 1.0em;
        color: #474747;
        border-radius: 0 10px 10px 0;
      }
      
    DIV.bmidashi:before {
        font-family: "Font Awesome 5 Free";
        content: "\f073";
        display: inline-block;
        line-height: 40px;
        position: absolute;
        padding: 0em;
        color: white;
        background: #ff6363;
        font-weight: 400;
        width: 40px;
        text-align: center;
        height: 40px;
        line-height: 40px;
        left: -1.35em;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        border-radius: 50%;
        box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.29);
      }
      
    DIV.cmidashi:before {
        font-family: "Font Awesome 5 Free";
        content: "\f05a";
        display: inline-block;
        line-height: 40px;
        position: absolute;
        padding: 0em;
        color: white;
        background: #63C0FF;
        font-weight: 900;
        width: 40px;
        text-align: center;
        height: 40px;
        line-height: 40px;
        left: -1.35em;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        border-radius: 50%;
        box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.29);
      }
      
    DIV.dmidashi:before {
        font-family: "Font Awesome 5 Free";
        content: "\f03a";
        display: inline-block;
        line-height: 40px;
        position: absolute;
        padding: 0em;
        color: white;
        background: #63D6C0;
        font-weight: 900;
        width: 40px;
        text-align: center;
        height: 40px;
        line-height: 40px;
        left: -1.35em;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        border-radius: 50%;
        box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.29);
      }


    /*ナビゲーション*/
    DIV#bn{font-size:0.75em;padding:5px;margin:0 0 5px 0;}
    DIV#bn UL{text-align:left;margin:0;padding:0 10px;list-style:none;}
    DIV#bn LI{margin:0 0 0 3px;padding:0 10px 0 0;background:url(../gif/list.gif) no-repeat right center;display:inline;}
    DIV#bn LI.last{background:none;font-weight:bold;}
    DIV#bn LI A:link{color:#000080;}
    DIV#bn LI A:visited{color:#000000;}
    DIV#bn LI A:hover{color:#800000;text-decoration:none;}



    /*パンくずリスト*/
    .fas_list_breadcrumbs{
        margin: 0;
        padding: 0px 10px 8px;
        display: -webkit-flex;
        display: -moz-flex;
        display: flex;
        flex-wrap: wrap;
        align-items: center;	
        font-size:0.8em;
        background-color:#193565;
    }
    .fas_list_breadcrumbs li{
        list-style: none;
        margin: 0;
        padding: 0;
        line-height: 1.4;
        color: white;
    }
    .fas_list_breadcrumbs li a{
        text-decoration: none;
        color: white;
    }
    .fas_list_breadcrumbs li:after{
        display: inline-block;
        line-height: 1.4;
        width: 2em;
        text-align: center;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        font-family: "Font Awesome 5 Free"; 
        font-weight: 900;
        content: '\f105';
        color: white;
    }
    .fas_list_breadcrumbs li:last-child:after{
        width: 0;
        content: '';
    }

     /*見出し*/
    h1 {
        font-family: "fot-udkakugo-large-pr6n", sans-serif;
        font-weight: 600;
        font-style: normal;
        position: relative;
        font-size:1.5em;
        font-weight: bold;
        text-align: center;
        padding: 20px;
        margin-top:0;
        margin-bottom:0;
        background-color:#193565;
        color:white;
}
h1::after {
        position: absolute;
        content: '';
        left: 50%;
        bottom: 10;
        transform: translateX(-50%);
        width: 100%;
        height: 3px;
        background: white;
}

    h2 {
        font-family: "fot-udkakugo-large-pr6n", sans-serif;
        font-weight: 600;
        font-style: normal;
        font-size:1.4em;
        padding:3px 0px;
        border-bottom:black solid 3px;
        position: relative;
        padding-left:min(20%,70px);
        
                counter-increment:step-counter;
    }
      
    h2::before {
        position: absolute;
        content: "0"counter(step-counter);
        text-align:center;
        color:white;
        display: block;
        left:0em;
        background:green;
        border-radius:max(10%,5px);
        padding:0;
        height:min(90%,50px);
        width: 16%;
        max-width:60px;
     
    }

    h3 {
        position: relative;
        font-size: 1.0em;
        background-color: #193565;
        color:white;
        padding: .5em 0em .5em 1.7em;
        margin-bottom: 1em;
        border-radius:10px;
    }

    h3 a{
        color:white;
        }

    h3:before {
        position: absolute;
        background-color: white;
        border-radius: 1em;
        content: "";
        left: 0.8em;
        top: 25%;
        bottom: 25%;
        width: .3em;
        height: 50%;
    }

   
    h4 {
        position: relative;/*相対位置*/
        padding-left: 1.2em;/*アイコン分のスペース*/
        line-height: 1.4;/*行高*/
      }
      
    h4:before {
        font-family: "Font Awesome 5 Free";
        content: "\f002";/*アイコンのユニコード*/
        font-weight: 900;
        position: absolute;/*絶対位置*/
        font-size: 1em;/*サイズ*/
        left: 0;/*アイコンの位置*/
        top: 0;/*アイコンの位置*/
        color: #5ab9ff; /*アイコン色*/
      }


/*database.php*/
    DIV.gridei{
        display: grid;
        margin:3px 0;
        grid-template-columns: repeat(8,1fr);
        @media (max-width: 768px) {
            grid-template-columns: repeat(4,1fr);
        }
    }
    .ei{
        text-align:center;
        font-size:0.9em;
    }
    .logoei{        
        text-align:center;
        background-color:#940016;
        color:#BC9F6D;
        border-radius: 50%;
        width:1.8em;
        height:1.8em;
        line-height:1.8em;
        font-size:1.8em;
        margin:0 auto;
    }
    .nen span{   
        display:block;     
        text-align:center;
        background-color:#940016;
        color:#BC9F6D;
        border-radius: 10%;
        width:3.0em;
        height:1.8em;
        line-height:1.8em;
        font-size:1.4em;
        margin:0 auto;
    }
    .nen span.hai{   
        display:block;     
        text-align:center;
        background-color:#b6b6b6;
        color:#63605a;
        border-radius: 10%;
        width:3.0em;
        height:1.8em;
        line-height:1.8em;
        font-size:1.4em;
        margin:0 auto;
    }
    .nen{
        text-align:center;
        font-size:0.9em;
    }

    ul.listA{
        border: solid 2px skyblue;
        border-radius: 5px;
        padding: 0.5em 1em 0.5em 2.3em;
        position: relative;
      }

    ul.listA li {
        line-height: 1.2;
        padding: 0.5em 0;
        list-style-type: none!important;
      }
      
    ul.listA li:before {
        font-family: "Font Awesome 5 Free";
        content: "\f101";/*アイコンの種類*/
        font-weight: 900;
        position: absolute;
        left : 1em;/*左端からのアイコンまでの距離*/
        color: skyblue;/*アイコン色*/
      }

    div.grid-four{
        display:grid;
        margin:3px 0;
        padding:3px;
        border: solid 2px silver;
        border-radius: 5px;
        grid-template-columns: repeat(4,1fr);
        @media (max-width: 768px) {
            grid-template-columns: repeat(1,1fr);
        }
    }

    div.grid-four ul{
        position: relative;
        margin:0;
    }

    div.grid-four ul li {
        line-height: 1.2;
        padding: 0.5em 0;
        list-style-type: none!important;
      }
      
      div.grid-four ul li:before {
        font-family: "Font Awesome 5 Free";
        content: "\f101";/*アイコンの種類*/
        font-weight: 900;
        position: absolute;
        left : 1em;/*左端からのアイコンまでの距離*/
      }
      div.grid-four div.maker1 UL li:before{
        color: #ff8484;
      }
      div.grid-four div.maker2 UL li:before{
        color: #84ffff;
      }
      div.grid-four div.maker3 UL li:before{
        color: #84ffc1;
      }
      div.grid-four div.maker4 UL li:before{
        color: #ffc184;
      }
      div.grid-four div.maker5 UL li:before{
        color: #c184ff;
      }
      div.grid-four div.maker6 UL li:before{
        color: #ff84ff;
      }
        div.grid-four div.maker7 UL li:before{
        color: #ff84ff;
      }
      div.grid-four div.maker1 div{
        background-color:#ffe5e5;
        text-align:center;
        margin:10px 15px;
        border-radius: 2em ;
      }
      div.grid-four div.maker2 div{
        background-color:#e5ffff;
        text-align:center;
        margin:10px 15px;
        border-radius: 2em ;
      }
      div.grid-four div.maker3 div{
        background-color:#e5fff2;
        text-align:center;
        margin:10px 15px;
        border-radius: 2em ;
      }
      div.grid-four div.maker4 div{
        background-color:#fff2e5;
        text-align:center;
        margin:10px 15px;
        border-radius: 2em ;
      }
      div.grid-four div.maker5 div{
        background-color:#e5e5ff;
        text-align:center;
        margin:10px 15px;
        border-radius: 2em ;
      }
      div.grid-four div.maker6 div{
        background-color:#ffe5ff;
        text-align:center;
        margin:10px 15px;
        border-radius: 2em ;
      }
            div.grid-four div.maker7 div{
        background-color:#ffe5ff;
        text-align:center;
        margin:10px 15px;
        border-radius: 2em ;
      }

    DIV.grid_search{
        display:grid;

        border: solid 2px skyblue;
        border-radius: 5px;
        padding: 0.5em;
        position: relative;

                /* デフォルトはスマホ用 */
                grid-template-columns: repeat(2, 1fr);

                /* PC用のスタイル */
                @media (min-width: 1024px) {
                    grid-template-columns: 1fr 1fr 1fr 2fr 1fr;
                }
    }

    DIV.grid_search DIV{
    margin:5px;
    padding:10px;
    border-radius:10px;
        background:#87ceeb1f;
    }

    DIV.grid_search DIV SPAN{
    font-weight:800;
    }

    DIV.grid_search DIV .radio-inline__input {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    }

    DIV.grid_search DIV .radio-inline__label {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-right: 18px;
    border-radius: 3px;
    transition: all .2s;
    }

    .radio-inline__input:checked + .radio-inline__label {
        background: #B54A4A;
        color: #fff;
        text-shadow: 0 0 1px rgba(0,0,0,.7);
    }
    
    .radio-inline__input:focus + .radio-inline__label {
        outline-color: #4D90FE;
        outline-offset: -2px;
        outline-style: auto;
        outline-width: 5px;
    }
/*update.php*/

DIV.updatepage{
    display:grid;
    grid-template-columns:1;
            /* PC用のスタイル */
        @media (min-width: 1024px) {
            grid-template-columns:70% 30%;
        }
}

DIV.updatepage DIV{
    margin:3px;
}

/*hajimeni.php*/
    #contents p{
        margin:0 0 10px 0;
        padding:0;
        font-size:1.0em;
        line-height:1.5em;
    }

    #contents .dlist{
        display: flex;
        flex-wrap: wrap;
        width: 100%;
      }
      .dlist dt, .dlist dd {
        box-sizing: border-box;
      }
      .dlist dt {
        display: flex;
        align-items: center;
        width: 30%;
        padding: 5px;
        background-color: #35a4ff7f;
        border-bottom: 1px solid #999;
      }
      .dlist dt:last-of-type,
      .dlist dd:last-of-type {
        border: none;
      }
      .dlist dd {
        align-items: center;
        width: 70%;
        margin-left: 0;
        padding: 5px;
        background-color: #7d7ad909;
        border-bottom: 1px solid #999;
      }

    #contents ul.llist{
            box-shadow :0px 0px 3px silver;
            border: solid 1px whitesmoke;
            padding: 0.5em 1em 0.5em 2.3em;
            position: relative;
            background: #fafafa;
          }
          
          ul.llist li {
            line-height: 1.5;
            padding: 0.5em 0;
            list-style-type: none!important;
          }
          
          ul.llist li:before {
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            content: "\f0da";
            position: absolute;
            left : 1em; /*左端からのアイコンまで*/
            color: gray; /*アイコン色*/
          }

/*photos.php*/
    nav.cp_navi *, nav.cp_navi *:after, nav.cp_navi *:before {
        -webkit-box-sizing: border-box;
                box-sizing: border-box;
    }
    nav.cp_navi a {
        text-decoration: none;
    }
    nav.cp_navi {
        margin: 0; /*2em 0 を0に変更中*/
        text-align: center;
    }
    .cp_navi .cp_pagination {
        display: inline-block;
        margin-top: 2em;
        padding: 0 0.5em;
    }
    .cp_navi .cp_pagenum {
        font-size: 1em;
        line-height: 50px;
        display: block;
        float: left;
        transition: 400ms ease;
        letter-spacing: 0.1em;
        color: #37474F;
        border-radius: 0.3em;
        width: 50px;
        height: 50px;
        margin: auto .5em;
        border: 2px solid transparent;
    }
    .cp_navi .cp_pagenum:hover,
    .cp_navi .cp_pagenum.current {
        color: #37474F;
        border: 2px solid #3F51B5;
        border-radius: 0.3em;
    }
    .cp_navi .cp_pagenum.prev,
    .cp_navi .cp_pagenum.next {
        color: #ffffff;
        background-color: #3F51B5;
        border-radius: 0.3em;
        line-height: 45px;
    }
    .cp_navi .cp_pagenum.prev:hover,
    .cp_navi .cp_pagenum.next:hover {
        color: #3F51B5;
        border: 2px solid transparent;
        background-color: #9FA8DA;
    }
    
    @media only screen and (max-width: 960px) {
        .cp_navi .cp_pagination {
            margin-top: 50px;
            padding: 0 10px;
        }
        .cp_navi .cp_pagenum {
        font-size: 0.8em;
        line-height: 25px;
        width: 45px;
        height: 25px;
        margin: auto .1em;
        }
        .cp_navi .cp_pagenum.prev,
        .cp_navi .cp_pagenum.next {
            padding: 0 25px 0 5px;
            line-height: 1.5em;
        }
    }
    @media only screen and (min-width: 120px) and (max-width: 767px) {
        .cp_navi .cp_pagenum {
        display: none;
        }
        .cp_navi .cp_pagenum:nth-of-type(2) {
        position: relative;
        padding-right: 20px;
        }
        .cp_navi .cp_pagenum:nth-of-type(2)::after {
        font-size: 1.2em;
        position: absolute;
        top: 0;
        left: 25px;
        content: '...';
        }
        .cp_navi .cp_pagenum:nth-child(-n+3),
        .cp_navi .cp_pagenum:nth-last-child(-n+3) {
            display: block;
        }
        .cp_navi .cp_pagenum:nth-last-child(-n+4) {
            padding: 0 5px;
        }
        .cp_navi .cp_pagenum:nth-last-child(-n+4)::after {
            content: none;
        }
    }

/* albumlist.php */
    .cats{
        display:grid;
        /* デフォルトはスマホ用 */
        grid-template-columns: repeat(3, 1fr);

        /* PC用のスタイル */
        @media (min-width: 1024px) {
            grid-template-columns: repeat(6, 1fr);
        }
    }
    .cats div.cate{
        text-align:center;
        margin:5px;
        padding:5px;
        border-radius: 5px;
        background-color:#F5F5F5;
    }
    .cats div.cate H4{
        font-size:1.2em;
        margin:2px 0;
        line-height:1.0em;
        display: flex;
        justify-content: center;
        align-items: center;
        padding:0;
        height:2.0em;
    }
    .cats div.cate H4 A{
        font-size:0.8em;
    }
    .cats div.cate H4::before{
        content: none;
    }
    
    UL.numberA {
        border: solid 2px skyblue;
        border-radius: 5px;
        padding: 0.5em 1em 0.5em 2.3em;
        position: relative;
        background: #fafafa;
        display: flex; /* 横並びにする */
        flex-wrap: wrap; /* 必要に応じて折り返す */
    }
    
    UL.numberA LI {
        line-height: 1.5;
        padding: 0.3em 0.2em;
        border-radius:5px;
        list-style-type: none!important;
        margin-right: 1em; /* アイテム間のスペースを追加 */
        margin-top:0.5em;
        background:#0C451D;
        color:white;
    }
    
    UL.numberA LI A{
            color:white;
    }
       

    .cats div.cate div.latest-post div.cat_list{
        font-weight:500;
        font-size:0.7em;
        padding:5px;
        border-radius: 5px;
        color:white;
    }
    .cats div.cate div.latest-post div.cat_list:before{
        font-family: "Font Awesome 5 Free";
        content: "\f03a";/*アイコンの種類*/
        font-weight: 900;
        margin-right:0.3em;
        left : 1.0em;/*左端からのアイコンまでの距離*/
        color: rgb(50, 125, 245);/*アイコン色*/
    }

    .cats div.cate img{
        width:100%;
        height:auto;
        border-radius: 5px;
    }

    /*表示非表示メニュー02*/
    /* アコーディオンのスタイル */
    .accordion01 {
        cursor: pointer;
        position: relative;/*相対位置*/
        padding-left: 1.2em;/*アイコン分のスペース*/
        line-height: 1.4em;
        width: auto;
        display: block;
        margin:3px 10px;
        color:#1E90FF;
        cursor :pointer;
        transition: 0.4s;
    }

    .accordion01:hover{
        color:blue;
    }

    .accordion01::before {
        font-family: "Font Awesome 5 Free";
        content: "\f106";/*アイコンのユニコード*/
        font-weight: 900;
        position: absolute;/*絶対位置*/
        font-size: 1em;/*サイズ*/
        left: 0;/*アイコンの位置*/
        top: 0;/*アイコンの位置*/
        color: #5ab9ff; /*アイコン色*/
        transition: transform 0.4s;
    }

    input[type="checkbox"].checkbox {
        display: none;
    }

    input[type="checkbox"].checkbox:checked + .accordion01::before {
        transform: rotate(180deg); /* 矢印を回転 */
    }

    .panel {
        width: auto;
        margin: 0px 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translateZ(0);
        transition: all 0.3s;
    }

    input[type="checkbox"].checkbox:checked + .accordion01 + .panel {
        display: block;
        transition: all 1.0s;
        max-height: 1000px; /* 適切な最大高さを設定 */
    }

    /*フェードインアニメ*/
    @keyframes fadeIn{
        0% {
        opacity: 0;
        }

        100% {
        opacity: 1;
        }
    }

/*albumsearch用*/
/*albumsearch用*/
UL.alcolors{
        display: grid;
        margin:0;
    padding:0;
        grid-template-columns: repeat(4,1fr);
        @media (max-width: 768px) {
            grid-template-columns: repeat(2,1fr);
        }
}
        UL.alcolors LI{
            list-style:none;
                        width:100%;
              place-content: center;
  place-items: center;
        }
        UL.alcolors A:hover {
            text-decoration:none;
        }
        UL.alcolors A IMG{
            filter: opacity(70%);
        }
        UL.alcolors A:hover IMG{
            filter: opacity(100%);            
        }
        UL.alcolors A{
            font-size:0.8em;
            font-weight:700;
            margin:10px 50%;
            display:block;
            text-align:center;
        }
        UL.alcolors DIV.circle{
            width: 100px;
            height: 100px;
            border-radius: 50%;  /* 円形にする */
            position: relative;  /* 基準値とする */
            overflow: hidden;    /* はみ出た部分を非表示 */
        }
        UL.alcolors DIV.circle IMG{
            position: absolute;  /* 相対位置に指定 */
            top: 0;
            left: 0;
            width: auto;
            height: 100%;
            object-fit: cover;   /* 画像の表示サイズを調整 ※IE非対応 */
        }

@media (max-width: 768px) {
    /*clearfix*/
    .clearfix:after {content:".";display:block;clear: both;height:0;visibility:hidden;}
    .clearfix {min-height:1px;}
    * html .clearfix {height:1px;/*\*//*/height: auto;overflow: hidden;/**/}
    /*主要要素*/
    BODY{background-image:url(../gif/gray.gif);padding:0px;margin:0px auto;text-align:center;line-height: 2.0;}
    IMG{border:0;margin:0;padding:0;}
    #base{margin:0 auto;padding:52px 0 0;width:100%;}
    #table{border:1px solid gray;width:100%;background-color:white;text-align:left;padding:0px;margin:auto;font-size:100%;}
    /*構成*/
    .logo{background:#C1C5D5;text-align:center;}
    .logo img{max-height:60px;max-width:88%;display:block;}
    /*ナビゲーションバー*/
    DIV.nav UL{margin:0;padding:0;list-style:none;width:100%;}
    DIV.nav LI{margin:0;padding:0;width:100%;text-align:center;}
    
    /*各見出し*/
     /*青*/DIV.h1{margin:0 0 2px 0;padding:3px 4px;font-weight:bold;color:#0080ff;border-top:2px solid #33cccc;border-bottom:1px solid #999999;}
     /*赤*/DIV.h2{margin:0 0 2px 0;padding:3px 4px;font-weight:bold;color:#ff8000;border-top:2px solid #ffcbb3;border-bottom:1px solid #999999;}
     /*緑*/DIV.h3{margin:0 0 2px 0;padding:3px 4px;font-weight:bold;color:#00a600;border-top:2px solid #00cc99;border-bottom:1px solid #999999;}
     /*橙*/DIV.h4{margin:0 0 2px 0;padding:3px 4px;font-weight:bold;color:#bf6000;border-top:2px solid #ffcc99;border-bottom:1px solid #999999;}
    DIV.box{margin:2px 0;border:1px solid #696969;background:#DCDCDC;padding:3px;}
    DIV.boxin{background:#ffffff;padding:3px;margin:0;color:#6d6d6d;text-align:justify;line-height:1.3;}
    /*広告対策*/
    div.tdftdiv ul.tdftad A{color:gray;}
    /*copyright*/
    DIV#footer{clear:all;background-color:#e8e8e8;border-top:1px solid #c0c0c0;clear:all;padding:5px;font-size:70%;text-align:right;
    /*Other Browser*/background: #d3d3d3;
    /*For Old WebKit*/background: -webkit-linear-gradient(#DBDDDE 0%,#898C90 100%);
    /*For Modern Browser*/background: linear-gradient(#DBDDDE 0%,#898C90 100%);}
    /*左右分割1*/
    DIV.both1{margin:3px 10px;}
    DIV.left1{margin:0px 0 8px 0px;padding:0;}
    DIV.right1{margin:0 0 8px 0px;padding:0;}
    
    /*ハンバーガーアイコン*/
    header {
        position: relative;
        padding: 0;
        background-color: #fff;
    }
    
    .btn-burger {
        cursor: pointer;
        display: block;
        width: 56px;
        height: 40px;
        position: absolute;
        top: 5px;
        right: 10px;
    }
    
    /*ハンバーガーアイコンを作る三本線*/
    .icon, .icon:before, .icon:after {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        height: 2px; /*線の太さ*/
        width: 35px; /*線の長さ*/
        background-color: #444;
        border-radius: 2px;
        display: block;
        content: '';
        cursor: pointer;
        margin: auto;
    }
    
    /*三本線の間隔*/
    .icon:before {
      top: 20px;
    }
    .icon:after {
      top: -20px;
    }
    
    /*チェックボックス非表示*/
    .nav-toggle {
        display: none;
    }
    
    /*アイコンをクリックしたら*/
    .nav-toggle:checked ~ .btn-burger .icon {
        background: transparent;
    }
    .nav-toggle:checked ~ .btn-burger .icon:before {
        transform: rotate(-45deg);
        top: 0;
    }
    .nav-toggle:checked ~ .btn-burger .icon:after {
        transform: rotate(45deg);
        top: 0;
    }
    
    .icon,
    .icon:before,
    .icon:after {
        transition: all .8s;
    }
    
    
    /*中身*/
    .nav{
        width:100%;
        font-size:clamp(0.7em,3vw,1.0em);
        margin:0 0 10px 0;
        background:#333333;}
    
    .nav-list a {
        display:block;background:#333333;
        margin:0;
        padding:8px 20px;
        border:none;
        color:#FFFFFF;
        text-decoration:none;
        transition: 0.3s;
        -moz-transition: 0.3s;
        -webkit-transition: 0.3s;}
    .nav-list a:hover{
      background:#D2691E;
      color:#FFFFFF;}
    
    .nav-list {
        list-style: none;
        display: none;
        margin: 0;
        padding: 0;
    }
    
    .nav-toggle:checked ~ .nav .nav-list {
        display: block;
    }
    
    header{
        position: fixed;
        background-color:#C1C5D5;;
        left: 0;
        top: 0;
        width: 100%;
        height: 60px;
        z-index: 1000;
      }
    
/*photos.php*/
      DIV.grid{
        display: grid;
        grid-template-columns: 1fr;
    }
    }
    
    
    @media screen and (min-width: 769px) {
        /* 表示領域が800px以上の場合に適用するスタイル */
        /*clearfix*/
     .clearfix:after {content:".";display:block;clear: both;height:0;visibility:hidden;}
     .clearfix {min-height:1px;}
     * html .clearfix {height:1px;/*\*//*/height: auto;overflow: hidden;/**/}
     /*主要要素*/
     BODY{
        background-image:url(../gif/gray.gif);
        padding:0px;
        margin:0px auto;
        text-align:center;
        line-height: 1.5;
        font-size:100%;}
     IMG{border:0;margin:0;padding:0;}
     #base{margin:5px auto;width:100%;}
     #table{
        border:1px solid gray;
        /*max-width:1200px;*/
        background-color:white;
        text-align:left;
        padding:0px;
        margin:2% 5%;
        font-size:100%;
    }
     /*構成*/
     .logo{background:#C1C5D5;text-align:center;}/*ロゴ画像部*/
     /*ナビゲーションバー*/
     .nav{width:100%;font-size:0.8em;margin:0 0 10px 0;background:#333333;}
     .nav UL{margin:0;padding:0;list-style:none;width:100%;}

     /*各見出し*/
      /*青*/DIV.h1{margin:0 0 2px 0;padding:3px 4px;font-weight:bold;color:#0080ff;border-top:2px solid #33cccc;border-bottom:1px solid #999999;}
      /*赤*/DIV.h2{margin:0 0 2px 0;padding:3px 4px;font-weight:bold;color:#ff8000;border-top:2px solid #ffcbb3;border-bottom:1px solid #999999;}
      /*緑*/DIV.h3{margin:0 0 2px 0;padding:3px 4px;font-weight:bold;color:#00a600;border-top:2px solid #00cc99;border-bottom:1px solid #999999;}
      /*橙*/DIV.h4{margin:0 0 2px 0;padding:3px 4px;font-weight:bold;color:#bf6000;border-top:2px solid #ffcc99;border-bottom:1px solid #999999;}
     DIV.box{margin:2px 0;border:1px solid #696969;background:#DCDCDC;padding:3px;}
     DIV.boxin{background:#ffffff;padding:3px;margin:0;color:#6d6d6d;text-align:justify;line-height:1.3;}
     /*広告対策*/
     div.tdftdiv ul.tdftad A{color:gray;}
     /*copyright*/
     DIV#footer{clear:all;background-color:#e8e8e8;border-top:1px solid #c0c0c0;clear:all;padding:5px;font-size:70%;text-align:right;
     /*Other Browser*/background: #d3d3d3;
     /*For Old WebKit*/background: -webkit-linear-gradient(#DBDDDE 0%,#898C90 100%);
     /*For Modern Browser*/background: linear-gradient(#DBDDDE 0%,#898C90 100%);}
     /*左右分割1*/
     DIV.both1{margin:3px 10px;}
     DIV.left1{margin:0px 0 8px 0px;width:540px;float:left;padding:0;}
     DIV.right1{margin:0 0 8px 545px;padding:0;}
     div.column { width: 240px; float: left; }
     /* ハンバーガーボタン */
     .btn-burger {
         display: none;  /*768px以上では使用しない */
     }
     header {
         padding: 0;
         margin:0;
     }
    
     /*チェックボックス非表示*/
     .nav-toggle {
        display: none;
     }
    
     .nav-toggle:checked ~ .nav .nav-list {
         display: none;
     }
     .nav-list {
        display: flex;
        justify-content: center;
        align-items: center;
    }
     .nav-list A{
         display:block;background:#333333;
         margin:0;
         padding:8px 20px;
         border:none;
         color:#FFFFFF;
         text-decoration:none;
         transition: 0.3s;
         -moz-transition: 0.3s;
         -webkit-transition: 0.3s;}
     .nav-list A:hover{
       background:#D2691E;
       color:#FFFFFF;}

       /*photos.php*/
      DIV.grid{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
     }
    

     
/*個別ページ見出し*/
DIV#contents{
    margin:0;padding:0 10px 10px;
}
DIV.s IMG{
    width:100%;
    height:auto;
    border-radius: 5px;
}


DIV#pagetitle{
    font-size:1.2em;
    font-weight:bold;
    border-radius: 5px;
    border-left:solid 10px #1E90FF;
    margin:7px 10px 5px 10px;
    padding:5px 10px 3px 10px;
    background:#F5F5F5;
    border-bottom:1px solid gray;
    border-top:1px solid #C0C0C0;
    border-right:1px solid #C0C0C0;
}

DIV#main{
    float:right;width:550px;
}
/*#nav{padding:10px 0 0 20px;}*/
DIV.s{
    margin:3px;
    padding:10px;
   /* border:#0080ff 1px solid;*/

}

DIV.s1{
    margin:2px 0;
    padding:2px 0 2px 18px;
    background:url(../gif/arrow3_blue.gif) no-repeat 1px center;
    font-weight:bold;
    color:#696969;
    border-bottom:1px dotted #696969;
}
.pagetitle2 {
    display: inline-block;
    position: relative;
    padding: .5em .7em;
    border-radius: 50px 0 0 50px;
    background-color: #2589d0;
    color: #fff;
}

.pagetitle2::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 13px;
    border-radius: 50%;
    background: #fff;
}

DIV.s2{
    margin:1px 0 8px 0;
    font-size:1.0em;
    border-radius: 5px;
    padding:3px 10px;
    text-align:justify;
    background-color:#940016;
    color:#BC9F6D;
}

DIV.s2:before {
    font-family: "Font Awesome 5 Free";
    content: '\f030';
    font-weight: 900;
    margin-right:5px;
  }

DIV#main dl{width:100%;margin:0;}
DIV#main dt{width:100px;float:left;padding:3px 0 3px 10px;line-height:1.2;}
DIV#main dd{margin:0;padding:3px 0 3px 110px;border-bottom:1px #cccccc dotted;line-height:120%;}
DIV#main dd A{color:#000080;}
DIV#main dd A:hover{color:#800000;text-decoration:none;}
DIV#main dd A:visited{color:#696969;}
DIV#ban{text-align:center;padding:4px 0 0 0;}
DIV#main H2{font-size:12px;margin:10px 0 5px;padding:2px 0 2px 18px;background:url(../gif/arrow3_orange.gif) no-repeat 1px center #F5F5F5;color:#696969;border-bottom:1px solid #696969;}
/*DIV#nav H2{font-size:12px;margin:0;padding:0;}
DIV#nav UL{margin:0;padding:0 0 0 10px;;list-style:none;}
DIV#nav LI A{margin:8px 0px;color:#000080;}
DIV#nav LI A:hover{color:#800000;text-decoration:none;}*/

@media screen and (min-width: 769px) {/*PC表示*/
    DIV.s2 dt{width:140px;float:left;padding:3px 0 3px;line-height:1.2;font-weight:bold;font-family:Arial,sans-serif;}
}
@media (max-width: 768px) {/*スマホ表示*/
    DIV.s2 dt{width:40%;float:left;padding:3px 0 3px;line-height:1.2;font-weight:bold;font-family:Arial,sans-serif;}
}