@charset "UTF-8";

img{
    max-width: 100%;
}

p{
    font-family: sans-serif;
}

a{
    font-family: sans-serif;
}

/* ヘッダーに関するcss */
header{
    font-family: sans-serif;
}

/* ヘッダーは横並べ、両箸揃え（space-between） */
.page-header-wrapper{
    position: fixed;   /* 位置を固定 */
    display: flex;
    justify-content: space-between;
    top: 0;            /* 上端から0pxの位置に配置 */
    left: 0;           /* 左端から0pxの位置に配置 */
    width: 100%;       /* 幅をビューポートの100%に設定 */
    height: 60px;      /* 高さを60pxに設定 */
    background-color: rgb(68, 68, 68, 0.4);
    color: rgb(255, 255, 255);     /* テキストの色を白に設定 */
    z-index: 1000;     /* 他の要素より前面に表示 */
/*     box-shadow: 0 2px 4px rgba(0,0,0,0.5); */
    align-items: center;
}

.home-button {
    color: rgb(255, 255, 255); /* ボタンのテキスト色を白に設定 */
    text-decoration: none; /* 下線を消す */
    font-weight: bold;
    padding: 10px 20px 10px 10px; /* クリックしやすいようにパディングを追加 */
    border-radius: 5px; /* ボタンの角を丸く */
}

.icon-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: auto;
}
  
.icon-text {
    margin-top: 5px; /* アイコンとテキストの間隔を調整 */
    font-size: xx-small;
}    


.pagetitle{
    text-align: left;
    margin: auto;
    font-family: serif;
}

.hamb-menu{
    margin: auto;
    margin-right: 10%;
}

.menu-icon {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 21px; /* 線3本の高さの合計 */
}

.menu-icon span {
    background-color: white;
    height: 3px;
    width: 100%;
}

.navigation {
    display: none;
    position: fixed;
    right: 0;
    top: 60px; /* ヘッダーの高さに合わせる */
    width: 70%; /* メニューの幅 */
    background-color: rgb(68, 68, 68, 0.4);
    color: white;
    z-index: 1001;
}

.navigation ul {
    list-style: none;
    padding: 0;
    margin: 10px;
    margin-left: 20px;
    align-items: center;
}

.navigation ul ul {
    padding-left: 20px; /* サブメニューのインデント */
}

.navigation ul li{
    margin: 5px;
}

.page-header-wrapper h2 {
    flex-grow: 1;
    margin: auto;
    font-family: sans-serif;
}

.page-header-wrapper h2 a{
    text-decoration: none;
    color: #fff;    
}


/* SNSリンクに関するCSS */
.sns{
    align-items: center;
    text-align: center;
    margin-right: 20px;
    transition: width 0.5s ease;
 }
 
.sns-icon{
    width: 40px;
    margin: 0;
    padding: 10px;
    overflow: hidden;
    position: relative;
 }

/* ページの左右に、上下にスクロールしても位置が固定されている
　　且つ最前面に表示される縦書きのテキストを表示させる */
.fixed_item {
    position: fixed;
    font-family: serif;
    font-size: calc(5px + 1vw); /* 画面幅に応じて、10px + 1vw のフォントサイズを設定 */
    font-weight: 400;
    letter-spacing: 0.4em;
    top: 50%; /* 画面の中央に配置 */
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0);
    padding: 10px;
    z-index: 998; /* 他のコンテンツよりも上に表示 */
}

.fixedleft {
    left: 0;
    margin-left: 1%;
    writing-mode: vertical-rl; /* テキストを縦書きにする */
    text-orientation: upright; /* テキストの方向を直立させる */
    text-shadow: 0px 4px 8px rgb(255, 255, 255, 0.8), 
                 4px 0px 8px rgba(255, 255, 255,0.8), 
                 -4px 0px 8px rgba(255, 255, 255,0.8), 
                 0px -4px 8px rgba(255, 255, 255,0.8); /* 上下左右に影 */
}

.fixedright {
    right: 0;
    margin-right: 1%;
    writing-mode: vertical-rl; /* テキストを縦書きにする */
    text-orientation: upright; /* テキストの方向を直立させる */
    text-shadow: 0px 4px 8px rgb(255, 255, 255, 0.8), 
                 4px 0px 8px rgba(255, 255, 255, 0.8), 
                 -4px 0px 8px rgba(255, 255, 255, 0.8), 
                 0px -4px 8px rgba(255, 255, 255, 0.8); /* 上下左右に影 */

}

.fixedright2 {
    display: none;
}

/* .fixedcenter{
    margin-top: 70px;
}
 */

/*　コンテンツの幅を指定する */
.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

/* ナビメニューの設定 */

.navi_wrap{
    width: 100%; /* 常に横幅いっぱいに表示する */
/*     max-width: 1200px; */ 
    margin: 0 auto;
    margin-top: 70px;
}

.navi_lists {
    display: flex; /* ナビメニューを横並びで表示 */
    list-style: none;
    position: relative; 
    padding: 0;
    margin-bottom: 20px;
}

.navi_list {
    width: 33%;
    height: 60px;
/*     background-color: rgba(68, 68, 68, 0.4); */    
    position: relative;
    transition: all .3s;
    border-top: solid 1px #444444 ;
    border-bottom: solid 1px #444444;
    margin-left: 3px;
    margin-right: 3px;
    z-index: 3; /* z-indexは、数字が大きい要素が前面に表示される */
}

.navi_list:hover {
    background-color: rgb(58, 58, 58);
}

.navi_list:not(:first-child)::before {
    content: "";
    width: 1px;
    height: 100%;
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .3s;
}

.navi_list:hover::before {
    background-color: #7a7a7a;
}

.navi_list a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #393939;
    font-size: 15px;
    letter-spacing: 0.05em;
    font-weight: 600;
    transition: all .3s;
}

.navi_list:hover a {
    color: #fff;
}

/* サブメニューの設定 */
.dropdown_lists{
    display: none;/* デフォルトは非表示 */
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    list-style: none;
    padding: 0;
}

.navi_list:hover .dropdown_lists{
    display: block; /* ホバーで表示 */
}

.dropdown_list{
    background-color: rgba(68, 68, 68, 0.5); /* rgbにaを加えて、終わりに,0〜1で透明度を設定できる */
    height: 60px;
    transition: all .3s;
    position: relative;
}

.dropdown_list:not(:first-child)::before{
    content: "";
    width: 100%;
    height: 1px;
    background-color: rgb(44, 44, 44);
    position: absolute;
    top: 0;
    left: 0;
}
.dropdown_list:hover {
    background-color: #393838 ;
}
.dropdown_list a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    position: relative;
}
.dropdown_list a::before {
    content: '';
    display: grid;
    grid-template-columns: 100% 100%;
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(135deg);
    position: absolute;
    right: 15px;
    top: calc(50% - 5px);
}


/* タイトル「アコガレノチ」に関するcss */

.maintitle{    
    font-family: serif;
    background-image: url(/images/IMG_6719.jpeg);
    background-position: center; /* 画像センタリング */
    background-size: cover; /* 画像を縮小 */
    height: 540px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    overflow: hidden
}

.invisible {
    opacity: 0; /* 初期状態で透明にする */
    transform: translateY(20px); /* 初期状態で下に移動させる */
    transition: opacity 2.5s ease, transform 2.5s ease; /* トランジションの設定 */
}

/* Javascriptによってvisibleクラスが追加されると、アニメーションによって不透明になり、元の位置に戻る */
.invisible.visible { 
    opacity: 1; /* 表示時に不透明にする */
    transform: translateY(0); /* 表示時に移動を元に戻す */
}


.maintitle-innner{
    z-index: 2;
    width: 100%;
    color:whitesmoke;
    text-align: center;
}

.maintitle-innner h2{
    /* 最小1.8rem | SP:2rem | TB:2.5rem | PC:3rem | 最大3.2rem */
	font-size: clamp(1.8rem, calc(4vw + 1.5rem), 6.2rem);
    font-family: serif;
}

.maintitle-innner p{
    /* 最小1.2rem | SP:1.4rem | TB:1.5rem | PC:1.6rem | 最大1.8rem */
	font-size: clamp(1.2rem, calc(1.2vw + 1.3rem), 3rem);
    font-family: serif;
}

.searchbox{
    align-items: center;
    text-align: center;
    margin-top: 10px;
}

.blogexp{
    border-top: 2px solid rgba(68, 68, 68, 0.5);   /* 上部に黒い線を追加 */
    border-bottom: 2px solid rgba(68, 68, 68, 0.5); /* 下部に黒い線を追加 */
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.blogexp-link{
    text-decoration: none;
    color: #444444;
}

.blogexp_l1{
    font-size: 20px;
}

.blogexp p{
    margin: 0;
    font-family: serif;
}

.jugarbanner{
    visibility: visible;
    width: 60%;
    max-width: 1300px;
    margin-top: 0;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* 左側トップ記事のCSS */
#main{
    display: flex;
    justify-content: space-around;
    margin-top: 0;
    margin-bottom: 60px;
    list-style: none;
}
 
.post-wrap{
    display: flex;
    flex-direction: column;
    width: 88%;
    justify-content: center;  /* 水平方向に中央揃え */
    align-items: center;      /* 垂直方向に中央揃え */
}

.post_lists {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
}

.post_list:hover{
    background-color: rgba(148, 145, 145,0.5);
}

.post_list {
    width: 50%;
    text-align: center;
    height: 20px;
    padding: 15px;
    position: relative;
    z-index: 3; /* z-indexは、数字が大きい要素が前面に表示される */
}

button {
    border: none; /* ボーダーを削除 */
    background-color: transparent; /* 背景色を透明に */
    padding: 0; /* パディングを削除 */
    margin: 0; /* マージンを削除 */
    font-family: inherit; /* フォントファミリーを継承 */
    font-size: inherit; /* フォントサイズを継承 */
    cursor: pointer; /* カーソルをポインターに変更 */
    outline: none; /* フォーカス時のアウトラインを削除 */
}

.tabcontent {
    display: none;
}
  
.posts_container {
    width: 100%;
    max-width: 3000px;
    margin: 0 auto;
    position: relative;
}

.post_container {
    padding: 5px 10px 10px 10px;
    position: relative;
    display: grid;
    gap: 20px;
}

.post{
    max-width: 100%;
/*     border: 1px solid rgb(47, 47, 47);
 */    position: relative; /* 親要素をrelativeに */
    background-color: #fff;    
    display: flex;
    margin-top: 10px;
    margin-bottom: 10px;
}

.post_image_container{
    overflow: hidden; 
    width: 40%;
    height: 0; 
    padding-top: 25%; 
    border-radius: 10px;
    position: relative; 
}

.post_image_container:hover img {
    transform: scale(1.2); /* ホバー時に拡大する */
}

.post-image{
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease; /* 変形のアニメーションを追加 */
}

.new-label {
    position: absolute; /* 子要素をabsoluteに */
    top: 0; /* 上端からの距離 */
    left: 0; /* 左端からの距離 */
    background-color: rgba(0, 0, 0, 0.5); /* 背景色（半透明） */
    color: #fff; /* テキスト色 */
    padding: 5px 10px; /* テキストの内側の余白 */
    z-index: 2;
    border-top-left-radius: 10px;
}

.post-summary{
    width: 75%;
    margin-left: 15px;
}

.post-title{
    margin-left: 5px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    color: #444444;
    font-weight: bold;
    font-size: calc(15px + 0.3vw)
}

.post-cap{
    margin: 0px;
    text-align: right;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: calc(10px + 0.3vw)
}

.post-sum{
    margin: 0px;
    font-size: calc(14px + 0.3vw)
}

.post-link{
    color: inherit;
    text-decoration: none;
}

.read-more-button {
    width: 100%; /* ボタンのコンテナの幅を100%に設定 */
    display: flex;
    justify-content: center; /* 水平方向に中央揃え */
    margin-top: 20px; /* ボタンの上の余白を設定 */
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.button {
    transform: scale(1.2);
    display: flex;
    justify-content: center; /* 水平方向に中央揃え */
    color: #444444; /* ボタンのテキスト色 */
}

.button:hover{
    text-decoration: none;
    color: #306daa;
}

/* 子要素のimage-containerを中央に配置 */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40vw;
    height: 40vw;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}

/* 画像を中央に配置 */
.image-container img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    margin: auto;
}

.image-container a {
    text-decoration: none;    /* リンクの下線を削除 */
}


/* マウスオーバー時に色が変わる
.image-container a:hover img {
    filter: brightness(0) saturate(100%) invert(14%) sepia(1%) saturate(0%) hue-rotate(204deg) brightness(68%) contrast(89%);
} */

/* スマホ用メディアクエリ */
@media (max-width: 768px) {
    .image-container a {
        width: 50vw;
        height: 50vw;
    }
}

.article .text{
    margin: 10px 0 0;
    padding: 0;
}

.article_title a{
    text-decoration: none;
    color: #444444;
}

.post-link:hover{
    text-decoration: none;
    color: #306daa;
    margin: 0; 
    padding: 0;
}

.aboutme_illust{
    width: 300px;
    height: 300px;
    text-align: center;
}

/* 右側コンテンツのcss */
aside{
    font-family: sans-serif;
    width: 20%;
    align-items: center;
    text-align: center;
    margin: 0 0;
    margin-right: 20px;
}

.profile-photo{
    width: 150px;
    height: 150px;
    /* 画像の縁を丸くする（50％で円形になる） */
    border-radius: 50%;
    text-align: center;
}

.party-img {
    width: 150px;
    height: 150px;
    text-align: center;
  }  

.linkcolor{
    color: #306daa;
}

/* .profile-name{
    display: flex;
    gap: 5px;
    border-top: solid 2px #306daa;
    border-bottom: solid 2px #306daa;
    margin: 10px 0;
}
 */

.profile-name{
    border-top: solid 2px #306daa;
    border-bottom: solid 2px #306daa;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
}


.profile-article{
    border: 10px;
    text-align: justify;
}

.up-menu {
    position: fixed;
    bottom: -200px; /* メニューを画面下部に隠す */
    right: 0;
    width: 100%;
    max-width: 100vw;
    background-color: rgba(173, 213, 237, 0.7);
    transition: bottom 0.3s ease; /* スムーズな移動をする */
}

.up-menu.active {
    bottom: 0; /* メニューを表示する */
    z-index: 999;
}

.up-lists {
    display: flex; /* ナビメニューを横並びで表示 */
    list-style: none;
    justify-content: space-between;
    margin: 5px auto;
    padding: 10px;
}

.up-list a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: #1b4059;
    font-size: 15px;
    letter-spacing: 0.05em;
    font-weight: 600;
    transition: all .3s;
}

.up-list a:hover {
    color: #ffffff;
}

.icon-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 500px;
    padding: 10px;
}
  
.icon-text {
    margin-top: 5px; /* アイコンとテキストの間隔を調整 */
}



/* media_query_画面幅790pxでflexを上から下に変更 */
@media screen and (max-width: 790px) {
    #main {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .container{
        margin: 0;
    }

    .maintitle {
        background-position: center; /* 画像中央寄せ */
        background-size: cover; /* 画像を縮小 */
        max-width: 750px;
        height: 500px;
        margin-left: -10px;
        border-radius: 0;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        display: flex;
        align-items: center;
        margin-bottom: 40px;
        overflow: hidden 
    }

    .fixed_item {
        display: none;
    }

    .fixedright2 {
        display: block;
        position: fixed;
        font-family: serif;
        height: 600px;
        font-size: calc(8px + 1vw); /* 画面幅に応じて、10px + 1vw のフォントサイズを設定 */
        font-weight: 400;
        letter-spacing: 0.4em;
        top: 50%; /* 画面の中央に配置 */
        transform: translateY(-30%);
        background-color: rgba(255, 255, 255, 0);
        padding: 10px;
        z-index: 998; /* 他のコンテンツよりも上に表示 */
        right: 0;
        margin-right: 3%;
        writing-mode: vertical-rl; /* テキストを縦書きにする */
        text-orientation: upright; /* テキストの方向を直立させる */
    }

    .sns {
       width: 60%;
       text-align: left;
    }

    .navi_list a {
       font-size: 80%;
    }

    .slider.slick-initialized{
        margin-left: 0;
        margin-right: 0;
    }

    .post-wrap {
       display: flex;
       flex-direction: column;
       transform: translateX(-5%);
       width: 85%;
       margin: 0;
    }

    .post_container{
        padding: 0;
    }

    aside {
       width: 85%;
       transform: translateX(-5%);
    }

    .profile-photo {
        width: 250px;
        height: 250px;
        margin-top: 30px;
    }

    .party-img {
        width: 250px;
        height: 250px;
        margin-top: 10px;
    }

}

 @media screen and (max-width: 600px) {
/*     .post {
        flex-direction: column;
     }
 */    
    .post_image_container{
        max-width: 100%;
        max-height: 200px;
    }
}

/* トランジションが終了するまで、画面の最前面に薄い膜をかけて、
　　画面操作できないようにする */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1); /* 半透明の黒色 */
    z-index: 999; /* 最前面に表示 */
    /* 初期状態では表示 */
}
