/* ---------------------------
全体共通設定
----------------------------*/
.header_warning {
  background-color: #FFF300;
  padding: 20px 0px 20px 0px;
  text-align: center;
  color: #000;
  font-size: 1.2rem;
  font-weight: 700;
}
.other_cates li{
	  opacity: 0.3;
}
/* ---------------------------
ヘッダー全般
----------------------------*/
header.hidden {
	transform: translateY(-100%);
}
 .search-submit {
			  display: none;
		  }
.header__wrapper {
  padding-top: 0;
  position: relative;
}
.header_logo {
  width: 120px;
  margin: 10px auto;
}
.header_desc {
  text-align: center;
  font-size: 0.5rem;
  padding-bottom: 3px;
}
.header_searchbox i {
  color: #333 !important;
  font-size: 0.75rem;
  top: 0.5rem;
  left: 0.5rem;
  display: block;
  position: absolute;
}


.search-field {
  font-size: 0.75rem;
  width: 80px !important;
  float: left;
  text-align: left;
  padding: 0.5rem 0rem 0.5rem 0.5rem;
  border: 1px solid #f5f5f5 !important;
}
#header_login_btn {
  display: none;
}
header {
  align-items: center;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1;
    background-color: #FFF;	  
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* ドロップシャドウ */
	  /* トランジションを1秒に設定 */
      transition: transform 0.1s ease-in-out;
}
.notification-dot {

        width: 1rem;
        height: 1rem;
        background-color: red;
        border-radius: 50%;
        top: 23px;
	right: 0px;
        color: #FFF;
	padding: 0 0 10px 0;
        font-size: 0.7rem;
        position: absolute;
        animation: flash 1.5s linear infinite;
        text-align: center !important;
        opacity: 1;
        transition: opacity 3s ease-out;
        z-index: 50;
}
/* --------------------------
    HEADER　PC
----------------------------*/
@media screen and (min-width: 768px) {
  header {
    display: flex;
    align-items: center;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    height: 64px;
    justify-content: flex-start;
    border-top: 5px solid pink; /* 上のボーダーをピンク色で5px */
    border-bottom: 1px solid #CCC; /* 下のボーダーを1px */
    border-left: none; /* 左のボーダーなし */
    border-right: none; /* 右のボーダーなし */
    z-index: 1000;
    background-color: #FFF;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* ドロップシャドウ */
  }
  .header__wrapper {
    font-size: 0.7rem;
    margin: 0 auto;
    float: none;
    max-width: 1200px;
    width: 100%;
    display: flex;
  }
  .header_logo {
    margin: 10px 5px;
    width: 15%;
  }
  .ankeworks .header_logo {
    margin: 5px 5px;
    width: 15%;
  }
  .header_desc {
    margin: 10px 0 0 10px;
    align-items: center;
    display: flex;
    font-size: 0.6rem;
  }
  .header_searchbox {
    align-items: center;
    display: flex;
    margin-left: auto; /* 右寄せ */
  }
  .header_searchbox i {
    color: #333 !important;
    font-size: 1rem;
    top: 0.46rem;
    left: 0.5rem;
    display: block;
    position: initial;
  }
  .search-field {
    width: 400px !important;
    text-align: left;
    padding: 0.5rem;
    border: 0;
    font-size: 1rem;
    padding-left: 10px;
    color: #222222 !important;
    background-color: #fff !important;
    border: 1px solid #989898 !important;
    border-radius: 5px;
    margin-right: 10px;
  }
  #header_login_btn {
    display: initial;
    display: flex;
    align-items: center;
    border-top: none;
    border-bottom: none;
    border-left: 1px solid #CCC;
    border-right: none;
    padding: 0 10px;
  }
  #header_login_btn a.logbtn {
    background-color: #898989;
    color: #fff !important;
    display: block;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 1rem;
  }
  .ankeworkslink {
     background: url("../images/ankeworks.webp") no-repeat;
	  border-top: none;
    border-bottom: none;
    border-left: 1px solid #CCC;
    border-right: 1px solid #CCC;
     background-size: 80px;
    background-position: left center;
    padding: 7px 5px 7px 85px;
    max-width: 200px;
    font-size: 0.8rem;
    background-color: #FFE3D6;
    text-align: left;
    display: flex;
    align-items: center;
  }
  body.ankeworks header {
    background-color: #FFE3D6;
  }
  .ankeworkslink_back {
    background: url("../images/anke.webp") no-repeat;
  border-top: none;
    border-bottom: none;
    border-left: 1px solid #CCC;
    border-right: 1px solid #CCC;
     background-size: 80px;
    background-position: left center;
   padding: 7px 5px 7px 85px;
    max-width: 200px;
    font-size: 0.8rem;
    background-color: #FFE3D6;
    text-align: left;
    display: flex;
    align-items: center;
  }
  /* ---------------------------
通知
----------------------------*/
  .notification-dot {
     width: 1.2rem;
    height: 1.2rem;
    background-color: red;
    border-radius: 50%;
    top: 40px;
	  	right: auto;
    color: #FFF;
    font-size: 0.8rem;
    position: absolute;
    animation: flash 3s linear infinite;
    text-align: center !important;
	      transition: opacity 3s ease-out;
  }
}
.header_L_sp, .header_R_sp {
  display: none;
}
.ankeworks_splink {
  border-top: none;
  border-bottom: none;
  background: url("../images/aworks_icon.webp") no-repeat;
  background-size: 30px;
  background-position: left center;
  padding: 5px 5px 7px 30px;
  max-width: 200px;
  font-size: 0.8rem;
  text-align: left;
  display: flex;
  align-items: center;
  position: fixed;
  left: 5px;
  top: 10px;
}
.anke_splink {
  border-top: none;
  border-bottom: none;
  background: url("../images/anke.svg") no-repeat;
  background-size: 50px;
  background-position: left center;
  padding: 7px 5px 7px 60px;
  max-width: 200px;
  font-size: 0.8rem;
  text-align: left;
  display: flex;
  align-items: center;
  position: fixed;
  left: 5px;
  top: 10px;
}
@keyframes flash {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}
.notification-dot.fade-out {
    animation: none;
    opacity: 0;
}
/* --------------------------
    HEADER　スマホ
----------------------------*/
@media screen and (max-width: 768px) {
  .header_L_sp {
    display: flex;
    top: 0;
    z-index: 4;
  }
  .header_R_sp {
    display: flex;
    z-index: 5;
    width: 100%;
  }
	.header_avator {
    display: block;
    position: fixed;
    top: 6px;
    right: 2%;
  z-index: 9999; /* 非常に高い値を設定して最上部に表示 */
    text-align: center;
    cursor: pointer;
	  
  }
  .header_avator span {
    letter-spacing: 0px;
    padding-top: 2px;
    font-size: 7px;
    color: #848484;
    text-align: center;
    display: block;
	    z-index: 999;
  }
  /* --------------------------
左メニュー header_L_sp
----------------------------*/
  /* トリガーアイコン */
  .L_icon_trigger {
    overflow: hidden;
  }
  .search_fix {
    position: fixed;
    top: 15px;
    z-index: 11;
    left: 3%;
  }
  .close_fix {
    position: fixed;
    top: 15px;
    z-index: 11;
    right: 5%;
  }
  /* サイドナビゲーション全体 */
  .Lside_nav {
    position: fixed;
    z-index: 11;
    top: 0;
    left: 0;
    height: 100%;
    width: 85%;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: visibility 0.5s linear, opacity 0.5s linear;
    -moz-transition: visibility 0.5s linear, opacity 0.5s linear;
    transition: visibility 0.5s linear, opacity 0.5s linear;
  }
  /* スライドコンテンツラッパー */
  .Lside_wrapper {
    background-color: #EFEFEF;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0px 5% 20px calc(5% + 0px);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    backface-visibility: hidden;
    /* 初期状態で左に隠れる */
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    opacity: 0; /* 初期透明度 */
    -webkit-transition: transform 0.5s ease, opacity 0.5s ease;
    transition: transform 0.5s ease, opacity 0.5s ease;
  }
  /* メニューが開いたときのスタイル */
  .L-icon-is-open .Lside_nav {
    visibility: visible;
    opacity: 1; /* 表示されるときの透明度 */
  }
  .L-icon-is-open .Lside_nav .Lside_wrapper {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1; /* 表示されるときの透明度 */
  }
.Lside_nav-overlay {
  position: fixed;
  top: 0;
  left: 85%; /* メニューの外側 */
  width: 15%; /* 残りの幅 */
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* 半透明の背景 */
  visibility: hidden;
  opacity: 0;
  z-index: 10;
  -webkit-transition: visibility 0.3s, opacity 0.3s;
  transition: visibility 0.3s, opacity 0.3s;
}

/* オーバーレイが表示されるとき */
.L-icon-is-open .Lside_nav-overlay {
  visibility: visible;
  opacity: 1;
}

/* 閉じるボタンをオーバーレイ内に表示 */
.Lside_nav-overlay a {
  position: absolute;
  top: 15px;
  right: 25%; /* ボタンの右寄せ位置 */
  color: white;
  font-size: 24px; /* アイコンのサイズ */
  text-decoration: none;
  z-index: 11;
}

.Lside_nav-overlay a i {
  pointer-events: none; /* アイコン自体をクリック可能にしない */
}
  /* --------------------------
右メニュー　header_L_sp
----------------------------*/
  /* トリガーアイコン */
  .R_icon_trigger {
    position: fixed;
    top: 10px;
    right: 2%; /* トリガーを右側に配置 */
  z-index: 9999; /* アバターと同じ z-index */
     }
  /* サイドナビゲーション全体 */
  .Rside_nav {
    position: fixed;
 z-index: 1001; /* アバターより低く設定 */
    top: 0;
    right: 0; /* 右から出現 */
    height: 100%;
    width: 85%; /* サイドメニューの幅 */
    visibility: hidden;
    opacity: 0;
    -webkit-transition: visibility 0.5s linear, opacity 0.5s linear;
    -moz-transition: visibility 0.5s linear, opacity 0.5s linear;
    transition: visibility 0.5s linear, opacity 0.5s linear;
  }
  /* スライドコンテンツラッパー */
  .Rside_wrapper {
    background-color: #EFEFEF;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    backface-visibility: hidden;
    /* 初期状態で右に隠れる */
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    opacity: 0; /* 初期透明度 */
    -webkit-transition: transform 0.5s ease, opacity 0.5s ease;
    transition: transform 0.5s ease, opacity 0.5s ease;
  }
  /* メニューが開いたときのスタイル */
  .R-icon-is-open .Rside_nav {
    visibility: visible;
    opacity: 1; /* 表示されるときの透明度 */
  }
  .R-icon-is-open .Rside_nav .Rside_wrapper {
    -webkit-transform: translateX(0); /* 完全に表示 */
    transform: translateX(0);
    opacity: 1; /* 表示されるときの透明度 */
  }
  /* メニューの外側のオーバーレイ */
  .Rside_nav-overlay {
   z-index: 9998; /* アバターより低く設定 */
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0; /* オーバーレイが左側を覆う */
  width: 15%; /* 残りの幅 */
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* 半透明の背景 */
  transition: visibility 0.3s, opacity 0.3s;
}
  /* オーバーレイが表示されるとき */
  .R-icon-is-open .Rside_nav-overlay {
    visibility: visible;
    opacity: 1;
  }
	/* 閉じるボタンをオーバーレイ内に表示 */
.Rside_nav-overlay a {
  position: absolute;
  top: 15px;
  left: 25%; /* ボタンの右寄せ位置 */
  color: white;
  font-size: 24px; /* アイコンのサイズ */
  text-decoration: none;
  z-index: 11;
}
	
  /* メニューが閉じるとき */
  .Rside_wrapper-closing {
    -webkit-transform: translateX(100%); /* 右に戻る */
    transform: translateX(100%);
    opacity: 0; /* 消えるときの透明度 */
  }
  /* --------------------------
右メニュー　header_R_sp
----------------------------*/
  
  .R_menu {
    height: 100vh;
    position: fixed;
    top: 50px;
    z-index: 2;
    width: 100%;
    background-color: #EFEFEF;
    text-align: center;
  }
  .R_menu ul {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    border-top: 1px solid #ffffff5c;
  }
  .R_menu ul li {
    position: relative;
    list-style-type: none;
    width: 100%;
    padding: 0;
    transition: .4s all;
  }
  .R_menu ul li:after {
    content: ">";
    font-family: sans-serif;
    font-size: 16px;
    position: absolute;
    right: 0px;
    top: 0px;
    opacity: 0.5;
  }
  .R_menu ul.hamburger_info_rank li:after, .R_menu ol.hamburger_info_rank li:after {
    content: none;
  }
  .R_menu ul li:last-child {
    padding-bottom: 0;
  }
  .R_menu ul li:hover {
    background: #dddddd;
  }
  .R_menu-name {
    padding: 15px;
  }
  .R_menu ul a {
    display: block;
    border-bottom: 1px solid #ffffff5c;
    padding: 10px 20px;
    color: #000;
    text-align: left;
    text-decoration: none;
  }

  .header_searchbox {
    top: 12px;
    left: 5px !important;
    position: absolute;
  }
}
/* ---------------------------
アバター画像
----------------------------*/
main .avatar_myself img {
  border: solid 1px #A5A5A5;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  vertical-align: middle;
}
main .avatar_myself img {
  width: 40px;
  height: 40px;
}
header .avatar_myself img, aside .avatar_myself img {
  border: solid 1px #A5A5A5;
  border-radius: 50%;
  position: relative;
  width: 40px; /* アバター画像のサイズ */
  height: 40px;
}
/* ---------------------------
アバター匿名
----------------------------*/
.wrapper span.avatar_tokumei, span.avatar_myself {
  padding: 0 3px 0 0;
	z-index: 999;
}
.avatar_tokumei, .wrapper .avatar_tokumei {
  display: inline-block;
  position: relative;
  border-radius: 50%;
  background-color: #C5C5C5;
  overflow: hidden;
  vertical-align: middle;
}
.avatar_tokumei {
  width: 40px;
  height: 40px;
  border: solid 2px #A5A5A5;
}
.avatar_tokumei::before, .avatar_tokumei::after, .wrapper .avatar_tokumei::before, .wrapper .avatar_tokumei::after {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background-color: #FFFFFF;
  content: "";
}
.avatar_tokumei::before {
  top: 0.35rem;
  width: 1rem;
  height: 1rem;
}
.avatar_tokumei::after {
  bottom: -0.35rem;
  width: 1.6rem;
  height: 1.3rem;
}
.wrapper .avatar_tokumei {
  width: 40px; /* アバター画像のサイズ */
  height: 40px;
  border: solid 1px #A5A5A5;
}
.wrapper .avatar_tokumei::before {
  top: 7px;
  width: 16px;
  height: 16px;
}
.wrapper .avatar_tokumei::after {
  bottom: -13px;
  width: 30px;
  height: 30px;
}
.searchword2 li {
  padding-right: 15px;
  display: inline;
}