/* CSS Document */

/* -------- img --------- */

.harunoumi_img img {
    width: 300px; 
    height: auto;
}
/* 🐕手探り状態でまだよく分かっていないので、 
   以下の部分は消していただいても大丈夫です！ */

   

/* .container {
    width: 90%;
    max-width: 900px;
    margin: 80px auto;
} */


/* -------- 基本設定 --------- */
/* * {
    margin: 5px;
    padding: 5px;
} */

main {
    margin: 5px;
    padding: 5px; 
    margin-bottom: 100px;
}


body {
    background-image: url("./img/kurowashi02.png");
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #f5f2eb;
    margin: 0;
    padding: 0;
    color: #333333;
    opacity: 0;
    animation: fadeIn 0.8s ease-in-out forwards;

}

@keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translateY(10px); /* ほんの少し下から浮き上がる演出（不要なら削除OK） */
    }
    100% {
      opacity: 1;
      transform: translateY(0);    /* 元の位置へ */
    }
  }

a {
    color: white;
}

/* -------- フォント --------- */

.klee-one-semibold {
    font-family: "Klee One", cursive;
    font-weight: 600;
    font-style: normal;
}

.zen-antique-regular {
    font-family: "Zen Antique", serif;
    font-weight: 400;
    font-style: normal;
}  

.noto-serif-jp-uniquifier {
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
}

/* -------- ヘッダー --------- */

#imageheader img {
    width: 100%;
    height: auto;
    display: block;

}

@media screen and (max-width: 1100px) {
    #imageheader img {
        display: block;
        margin: 0 auto;
        width: 100%;       
        height: auto;      
        min-height: 350px;
        object-fit: cover; 
    }
}

/* -------- フッター --------- */
#imagefooter img {
    width: 100%;
    max-height: 400px;    
    object-fit: cover; 
    display: block;
}

@media screen and (max-width: 1100px) {
    #imagefooter img {
        display: block;
        margin: 0 auto;
        width: 100%;       
        height: auto;     
        min-height: 250px; 
        object-fit: cover; 
    }
}



/* -------- バー --------- */

.top-bar {
    position: absolute; 
    top: 0;   
    left: 0;   
    width: 100%;       
    z-index: 10;      
    background-color: rgba(0, 0, 0, 0.5);
}

.top-bar-inner {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    padding: 15px 30px;
}

.top-bar-item {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-family: "Noto Serif JP", serif;

}

.top-bar-item:hover {
    text-decoration: underline;
    opacity: 0.8;
}


/* -------- コンテンツ画像 --------- */
.cf {
    zoom: 1;
}

.content {
    max-width: 500px;
    margin: auto;
    text-align: center;
}

.featured_img {
    margin: 15px;
}

.featured_img img,
.thumb_img div img {
    width: 100%;    
    display: block;
    margin: 0;
    padding: 0;
}

.thumb_img {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 15px;
    margin-top: 2%;
}

.thumb_img div {
    display: flex;
    flex: 1 0 70px;
    max-width: 85px;
    cursor: pointer;
    box-sizing: border-box;
    border: 2px solid transparent; 
    margin: 0 5px;
    flex: 1 0 70px;
    
}

.thumb_img img:hover {
    opacity: 0.8;
    transition: 0.5s;
}

.thumb_img.cf {
    margin-bottom: 40px;
}

.active {
    border-color: #F00 !important;
}

/* -------- テキスト --------- */

h1 {
    color: #ffffff;
    font-family: "Noto Serif JP", serif;
}

h2{
    font-family: "Zen Antique", serif;
    display:inline-block;
    padding:.6rem 1rem;
    font-size:1.5rem;
    font-weight:500;
    letter-spacing:.08em;
    color:#fff;
    border-left:4px solid #01479E;
    border-radius:0;
    background:none;
}




p{
    font-family: "Klee One", cursive;
    padding:1.8rem;
    line-height:2;
    color:#ddd;

    background:#1b1b1b;
    border:1px solid #2f2f2f;
    border-radius:14px;
}
