/* 全てのページに適用される設定 */
html {
    font-size: 16px;
    background-color: #fff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #fff;
    font-family: 'BIZ UDPGothic', sans-serif;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: #000;
}

p,
li,
td {
    line-height: 1.6;
    list-style: none;
}

img {
    max-width: 100%;
}

.sp {
    display: none;
}

.pc {
    display: block;
}

time {
    font-size: 0.8rem;
}

h1 {
    font-size: 1.5rem;
}

h2 {
    padding: 3px 18px;
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-size: 1.4rem;
    font-weight: normal;
}

h3 {
    font-family: 'Zen Kaku Gothic New', sans-serif;
    font-weight: normal;
    font-size: 1.2rem;
    font-weight: normal;
    background-color: #fff;
}

h4 {
    font-weight: normal;
}

/* 共通項目 ヘッダー*/
header {
    width: 100%;
    background: #fff;
}

.header-innner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 300px;
    

.logo a {
    display: block;
   
}
}

.logo h1 {
    margin: 0;
}

ul.nav {
    display: flex;
    list-style: none;
    margin: 0;
}

.nav li {
    height: 75px;
}

.nav a {
    display: flex;
    align-items: center;
    color: #000;
    height: 100%;
    text-decoration: none;
    padding: 5px 15px;
    transition: 0.3s;
}

.nav a:hover {
    background-color: #CCB9A8;
    color: #fff;
}

nav.navi-co {}

/* 共通項目　ヒーロー画像 */

/* ヒーロー画像 */
.hero {
    position: relative;
    padding: 100px 0 0 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    font-size: 25px;
    color: #fff;
}


.hero img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.hero p {
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 300px;
    text-align: center;
    color: black;
    background: rgba(0, 0, 0, 0.1);
    font-size: 2rem;
    z-index: 10;
}

.fade-in-text {
    background: rgba(0, 0, 0, 0.1);
    /* 最初は文字を完全に透明（見えない状態）にする */
    opacity: 0;

    /* アニメーションの設定：名前、秒数、動きのタイミング、最後の状態を維持 */
    animation: fadeIn 10s ease-out forwards;
}

.sp-br {
    display: none;
}

/* アニメーションの具体的な動き（不透明度を0から1へ） */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
        /* 普通の濃さ（100%） */
    }
}

.hero.index img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
}

.hero.index {
    padding: 0 0 0 0;

}

.hero.index p {
    position: absolute;
    top: 20%;
    left: 2%;
    width: initial;
    font-size: 1.9rem;
    background: none;
    text-shadow: 3px 3px 3px #0e0d0d;
    z-index: 10;
    color: #d8d6d6;

}

/* hero下のスライド */
.sl_category {
    text-align: center;
    font-size: 2.5rem;
}

.sliderArea .slider li {
    text-align: center;
}

.sliderArea .regular li a {
    text-decoration: none;
    color: #0e0d0d;
}


/* 共通項目 2カラム */
main {
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    margin: 0px auto 30px auto;
    background: #fff;
    align-items: flex-start;
}

main.other {
    justify-content: center;
}

article {
    width: 650px;
    padding: 15px;
    margin: 10px;

}

/* 共通項目サイドバー */
aside {}

aside.sidebar {
    width: 300px;
    padding: 10px;
    margin: 10px;
}



.sidebar-items li {
    border-bottom: 0.5px solid #777;

}

.sidebar-item {
    padding: 5px;
    margin-top: 0;
    margin-bottom: 0px;
}

.sidebar-item ul li {
    padding-bottom: 4%;
    margin-top: 0;
    margin-bottom: 4%;
   
    /* ここでお好みの詰まり具合に調整（標準は10〜16pxほど空いています） */
    /* line-height: 1.3;    文字自体の上下の隙間も少しタイトにします*/
}


.-item.profile span {
    font-size: 1rem;
}

.profile-img {
    width: 250px;
    height: 200px;
    margin: 0 auto;
    text-align: center;
}

.profile-img img {
    height: 200px;
    object-fit: cover;
}

.profile-link {
    text-align: center;
    margin-bottom: 30px;
}

.sidebar-item .profile-link a {
    color: #fff;
    background: #CCB9A8;
    border-radius: 5px;
    padding: 5px 15px;
}

.sidebar-item p {
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.sidebar-item li {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* 関連記事 */
.recommend h3 {
    background-color: #fff
}



/* 共通項目 フッター */
footer {
    background: #CCB9A8;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

footer a {
    color: #fff;
}

/*Topに戻る*/
#page_top {
    position: fixed;
    bottom: 30px;
    /*位置の調整*/
    right: 20px;
    /*位置の調整*/
}

#page_top a {
    color: #fff;
    background: #CCB9A8;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    padding: 21px 12px;
}

/* index.html */
/* カテゴリーバナー */
.cat-slide {
    padding: 100px 0;
     text-align: center;
}



/* 新着一覧 */
h2.index-h2 {
    margin-top: 5px;
}

.post-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    border-bottom-color: #AA8B6E;
    box-shadow: 3px 3px 5px #eee;




}

.new-posts a,
.sidebar-item a {
    color: #000;
    text-decoration: none;
    }
    .sidebar-item ul {
 /* border-bottom: 0.5px solid #777; */
    }
.new-posts a:hover,
.sidebar-item a:hover {
    opacity: 0.6;
}

.eyecatch img {
    width: 300px;
    height: 180px;
    object-fit: cover;
}

.post-text {
    position: relative;
    width: 50%;
    padding: 10px 0;
}

.post-text h3 {
    font-size: 1.1rem;
    margin: 5px 0;
}

.post-text span {
    position: absolute;
    bottom: 5px;
    right: 5px;
    color: #fff;
    padding: 5px 8px;
    background: #CCB9A8;
    border-radius: 5px;
    margin-left: auto;
}

/* コンテンツ共通 */
.post-navi {
    display: flex;
    gap: 10px;
}

.post-navi a {
    text-decoration: none;
    color: #0e0d0d;
}

/* contents.html */
main.content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}

.update span {
    font-size: 0.8rem;
    color: #fff;
    background: #CCB9A8;
    padding: 5px 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

h1.post-title {
    line-height: 1.5;
    color: #CCB9A8;
    padding: 5px 15px;
    border-bottom: 2px solid #AA8B6E;
    margin: 40px 0;
}

/* index左下 */

article h2 {
    color: #fff;
    background: #CCB9A8;
    margin: 50px 0 20px;
}

.blog h3 {
    padding: 8px 10px;
    border-bottom: 3px solid #AA8B6E;
    margin: 50px 0 20px;
}

.post-eyecatch,
.post-img {
    text-align: center;
    margin: 30px 0;
}

.post-eyecatch img,
article img {
    width: 500px;
    height: 300px;
    object-fit: cover;
}

p.announce {
    font-size: 0.9rem;
    font-weight: bold;
    color: #EE6540;
}

.contents-img {
    width: 350px;
    height: 280px;
    color: #fff;
    background: #fff;
    margin: 30px 0;
    /* テキストセンター */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 引用 */
blockquote {
    background: #eee;
    padding: 10px;
    margin: 10px;
}

/* 関連記事 */

aside.recommend {
    max-width: 600px;
    margin: 0px auto;
    /* background: #eee; */
    padding: 0px;

}


.recommend-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
}

.recommend-wrap a {
    color: #000;
    text-decoration: none;
}

.reccomend-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: #fff;
    border-bottom: 1px solid #eee;

}

.recommend-img {
    width: 80px;
    height: 80px;
}

.recommend-img img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

/* .recommend-text {
    width: 50%;
} */

.recommend-text h4 {
    line-height: 1.5;
    font-size: 0.8rem;
    margin: 5px 0;
}

/* contents-2 Sticky */
.sticky {
    position: sticky;
    top: 0px;
}


/* profile.html */
article.other {
    max-width: 750px;
    margin: 50px auto;
}

.admin-name {
    text-align: right;
}



/* contact.html */
form {
    max-width: 640px;
    margin: 0 auto;
}

input[type="text"],
textarea {
    padding: 6px;
    width: 100%;
    font-size: 1rem;
}

textarea {
    height: 140px;
}

.kind {
    height: 20px;
}

.submit {
    text-align: center;
}

input[type="submit"] {

    border: 1px solid #85888a;
    padding: 5px;
    width: 80px;
    border-radius: 25px;
    background-color: #fff;
    color: #85888a;

    font-size: 1rem;
}

/*Slick slider*/

.sliderArea {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.sliderArea ul {
    padding: 0;
}

.slick-slide {
    margin: 0;
}


/*スライド画像*/
.slider .slick-slide img {
    width: 25vw;
    height: auto;
    object-fit: cover;
    margin-left: 10px;
    transition: 0.3s;
}

/* 集計 */

main.result {
    display: block;
    padding: 0 5%;

}

@media(max-width:600px) {

    /* Slick */
    .slider img {
        height: 18vh;
        width: 45vw;
    }
}

/* ハンバーガーメニュー */

@media (max-width: 600px) {

    .hamburger {
        display: block;
        position: fixed;
        z-index: 110;
        right: 15px;
        top: 17px;
        width: 42px;
        height: 42px;
        cursor: pointer;
        text-align: center;
        background: #fff;
        border-radius: 5px;
    }

    .hamburger span {
        display: block;
        position: absolute;
        width: 30px;
        height: 2px;
        left: 6px;
        background: #BBBBBB;
        transition: 0.3s ease-in-out;
    }

    .hamburger span:nth-child(1) {
        top: 10px;
    }

    .hamburger span:nth-child(2) {
        top: 20px;
    }

    .hamburger span:nth-child(3) {
        top: 30px;
    }

    /* ナビメニュー展開時のボタン */
    .hamburger.active span:nth-child(1) {
        top: 20px;
        left: 6px;
        background: #bbbbbb;
        transform: rotate(-45deg);
    }

    .hamburger.active span:nth-child(2),
    .hamburger.active span:nth-child(3) {
        top: 20px;
        background: #bbbbbb;
        transform: rotate(45deg);
    }

    /* メニュー展開時　*/
    nav.navi-sp {
        position: fixed;
        z-index: 100;
        top: 0;
        left: 0;
        color: #fff;
        background: rgba(0, 0, 0, 0.7);
        text-align: center;
        width: 100%;
        height: auto;
        opacity: 0;
        visibility: hidden;
        padding: 20px 0;
        transition: 0.3s;
    }

    nav.navi-sp ul {
        display: flex;
        margin: 0 auto;
        padding: 0;
        width: 100%;
        height: auto;
        flex-direction: column;
        justify-content: space-between;
    }

    nav.navi-sp ul li a {
        display: block;
        color: #fff;
        padding: 10px 0;
        margin: 5px 0;
        text-decoration: none;
    }



    /* クリックでナビメニュー開閉 */
    nav.navi-sp.active {
        opacity: 100;
        visibility: visible;
    }
}

/* スマホ表示 */
@media(max-width: 600px) {

    /* 共通項目 フレックスの解除（2→１カラム）*/

    main,
    .post-item {
        flex-direction: column;
        margin: 10px 0;
        padding: 0 10px;
    }

    .recommend-wrap {
        grid-template-columns: 1fr;
    }

    /* 横幅の調整（画像など） */
    article,
    aside.sidebar,
    .eyecatch,
    .post-eyecatch,
    h1.contents-title,
    .contents-img {
        width: 100%;
        margin: 10px 0;
    }

    .post-text {
        width: 100%;
        height: 150px;
    }

    /* ヘッダー */
    .logo {
        font-size: 0.9rem;
        /* width:40%; */
    }

    .header-innner {
        margin: 0;
        padding: 10px;
    }

    .header-innner ul {
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 10px;
    }

    /* ヒーロー画像 */
    .hero img {
        height: 250px;
    }

    /* index.html */
    .hero.index img {
        height: 250px;
    }

    .hero.index p {
        font-size: 1.4rem;
        top: 0;
        left: 8%;
        text-align: left;
    }

    .sp-br {
        display: inline;

    }

    .post-item {
        gap: 5px;
    }

    /* contents.html */
    main.content {
        grid-template-columns: 1fr;
    }

    .post-eyecatch img,
    article img {
        height: 200px;
    }

    blockquote {
        padding: 15px;
        margin: 0;
    }
}