/*
Theme Name: adt
Theme URI:
Author: AYA
Description: Original style theme
Version: 1.0
*/

@charset "UTF-8";


/* =========================================================
   1. RESET & BASE
   ========================================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  min-height: 100%;
  background: #fff;
  color: #222;
  overflow-x: hidden;
}

body,
button,
input,
textarea,
select {
  font-family:
    Helvetica-Light,
    HelveticaNeue-Light,
    Arial,
    Verdana,
    Roboto-Light,
    "游ゴシック Light",
    游ゴシック体,
    YuGothic,
    メイリオ,
    Meiryo,
    "ＭＳ Ｐゴシック",
    "MS PGothic",
    sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
}

a {
  color: inherit;
}


/* =========================================================
   2. COMMON FONT
   ========================================================= */

.f_hel,
.f_hel_san {
  font-family:
    Helvetica-Light,
    HelveticaNeue-Light,
    Arial,
    Verdana,
    Roboto-Light,
    "游ゴシック Light",
    游ゴシック体,
    YuGothic,
    メイリオ,
    Meiryo,
    "ＭＳ Ｐゴシック",
    "MS PGothic",
    sans-serif;

  font-weight: 400;
}


/* =========================================================
   3. TRANSITIONS
   ========================================================= */

.tra03 {
  transition: all 300ms cubic-bezier(0.190, 1, 0.220, 1);
}

.tra05 {
  transition: all 500ms cubic-bezier(0.190, 1, 0.220, 1);
}

.tra08 {
  transition: all 800ms cubic-bezier(0.190, 1, 0.220, 1);
}

.tra10 {
  transition: all 1000ms cubic-bezier(0.190, 1, 0.220, 1);
}

.tra15 {
  transition: all 1500ms cubic-bezier(0.190, 1, 0.220, 1);
}

.tra20 {
  transition: all 2000ms cubic-bezier(0.190, 1, 0.220, 1);
}

.tra30 {
  transition: all 3000ms cubic-bezier(0.190, 1, 0.220, 1);
}

.loaded .tra50 {
  transition: all 5000ms cubic-bezier(0.190, 1, 0.220, 1);
}

.loaded .delay01 {
  transition-delay: 100ms;
}

.loaded .delay02 {
  transition-delay: 200ms;
}

.loaded .delay03 {
  transition-delay: 300ms;
}

.loaded .delay04 {
  transition-delay: 400ms;
}

.loaded .delay05 {
  transition-delay: 500ms;
}

.loaded .delay06 {
  transition-delay: 600ms;
}

.loaded .delay08 {
  transition-delay: 800ms;
}


/* =========================================================
   4. COMMON ANIMATION
   ========================================================= */

.js-appear,
.js-appear_h {
  -webkit-transform: translate3d(0, 25px, 0);
  transform: translate3d(0, 25px, 0);
  opacity: 0;
}

.on.js-appear,
.on .js-appear_h {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

@keyframes line {
  0% {
    transform: translate3d(0, -150%, 0);
  }

  80%,
  100% {
    transform: translate3d(0, 110%, 0);
  }
}


/* =========================================================
   5. HEADER
   ========================================================= */

#header {
  position: fixed !important;

  top: 0 !important;
  left: 0 !important;

  width: 100% !important;

  padding: 20px 20px 0 !important;

  display: flex !important;

  align-items: center !important;
  justify-content: space-between !important;

  z-index: 500 !important;

  pointer-events: none;
}

#logo,
#btn_lang,
#btn_search,
#btn_menu {
  pointer-events: auto;
}


/* =========================================================
   6. LOGO
   ========================================================= */

#logo {
  margin: 0 !important;
  padding: 0 !important;

  line-height: 1;
}

#logo a {
  display: block;
}

#logo img {
  display: block;

  width: auto;
  height: auto;

  max-width: 120px;
}



/* =========================================================
   7. LANGUAGE
   ========================================================= */

#btn_lang {
  pointer-events: auto;

  display: flex;
  align-items: center;
  gap: 14px;

  margin-left: auto;
  margin-right: 25px;

  font-family:
    Helvetica-Light,
    HelveticaNeue-Light,
    Arial,
    Verdana,
    sans-serif;

  font-size: 12px;

  letter-spacing: 0.08em;
}

#btn_lang a {
  color: #fff;

  text-decoration: none;

  transition:
    opacity 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

#btn_lang a:hover {
  opacity: 0.5;
}

#btn_lang a.active {
  opacity: 1;
}

/* =========================================================
   LANGUAGE
   白背景ページでは黒
   ========================================================= */

body.single-work #btn_lang a,
body.single-poem #btn_lang a,
body.archive-poem #btn_lang a,
body.post-type-archive-poem #btn_lang a,
body.tax-poem_category #btn_lang a {
  color: #222 !important;
}



/* =========================================================
   9. HAMBURGER BUTTON
   =========================================================
   通常時：白3本
   OPEN時：黒1本
   ========================================================= */

#btn_menu {
  position: relative !important;

  width: 20px !important;
  height: 20px !important;

  margin: 0 0 0 auto !important;
  padding: 0 !important;

  display: block !important;

  cursor: pointer;

  z-index: 600 !important;

  flex-shrink: 0;
}

#btn_menu .bar {
  position: relative !important;

  width: 20px !important;
  height: 20px !important;

  margin: 0 !important;
  padding: 0 !important;
}

#btn_menu .bar span {
  position: absolute !important;

  left: 0 !important;

  display: block !important;

  width: 20px !important;
  height: 1px !important;

  margin: 0 !important;
  padding: 0 !important;

  background-color: #fff !important;

  opacity: 1 !important;

  transform: none !important;

  transition:
    top 0.3s ease,
    opacity 0.3s ease,
    background-color 0.3s ease !important;
}


/* ---------------------------------
   通常時
   白3本
--------------------------------- */

#btn_menu .bar .top {
  top: 3px !important;
}

#btn_menu .bar .middle {
  top: 9.5px !important;
}

#btn_menu .bar .bottom {
  top: 16px !important;
}


/* ---------------------------------
   OPEN時
   黒1本だけ表示
--------------------------------- */

/* 上の線を中央へ移動して黒にする */
#btn_menu.on .bar .top {
  top: 9.5px !important;

  background-color: #000 !important;

  opacity: 1 !important;

  z-index: 3 !important;
}


/* 元の中央線は消す */
#btn_menu.on .bar .middle {
  top: 9.5px !important;

  opacity: 0 !important;
}


/* 下の線も消す */
#btn_menu.on .bar .bottom {
  top: 9.5px !important;

  opacity: 0 !important;
}

/* =========================================================
   10. FULL SCREEN MENU
   ========================================================= */

#block_menu {
  position: fixed !important;

  top: 0 !important;
  left: 0 !important;

  width: 100vw !important;
  height: 100vh !important;

  margin: 0 !important;
  padding: 0 !important;

  z-index: 550 !important;

  background: #fff !important;

  display: none;

  flex-direction: column;

  justify-content: center !important;
  align-items: center !important;

  text-align: center;

  overflow: hidden;

  font-family:
    Helvetica-Light,
    HelveticaNeue-Light,
    Arial,
    Verdana,
    Roboto-Light,
    "游ゴシック Light",
    游ゴシック体,
    YuGothic,
    メイリオ,
    Meiryo,
    "ＭＳ Ｐゴシック",
    "MS PGothic",
    sans-serif;

  font-size: 28px;

  /* メニュー自体には移動アニメーションを付けない */
  transform: none !important;
  transition: none !important;
}


/* ---------------------------------
   OPEN
--------------------------------- */

#block_menu.on,
#block_menu.show,
#block_menu.is-active {
  display: flex !important;

  top: 0 !important;
  left: 0 !important;

  transform: none !important;
}


/* ---------------------------------
   メニュー中央部分
--------------------------------- */

#block_menu .center {
  position: static !important;

  width: auto !important;
  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  transform: none !important;

  display: block !important;
}


/* ---------------------------------
   Menu list
--------------------------------- */

#block_menu .center ul {
  list-style: none !important;

  display: flex !important;

  flex-direction: column !important;

  justify-content: center !important;
  align-items: center !important;

  gap: 20px !important;

  width: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  transform: none !important;
}


/* ---------------------------------
   Menu item
--------------------------------- */

#block_menu .center li {
  margin: 0 !important;
  padding: 0 !important;

  transform: none !important;
}


/* ---------------------------------
   Menu link
--------------------------------- */

#block_menu .center a {
  display: inline-block;

  margin: 0;
  padding: 0;

  color: #222;

  font-family: inherit;

  font-size: inherit;

  line-height: 1.2;

  text-decoration: none;

  letter-spacing: 0.1em;

  transform: none !important;
}


/* ---------------------------------
   Instagram
--------------------------------- */

#block_menu .share {
  position: static !important;

  display: flex !important;

  justify-content: center !important;
  align-items: center !important;

  width: 28px !important;
  height: 28px !important;

  margin: 30px 0 0 !important;
  padding: 0 !important;

  list-style: none !important;

  transform: none !important;
}


#block_menu .share li.insta {
  display: block !important;

  width: 28px !important;
  height: 28px !important;

  margin: 0 !important;
  padding: 0 !important;

  background-image:
    url("https://andist.jp/wp-content/uploads/2026/07/icons8-インスタグラム-72.png");

  background-repeat: no-repeat;

  background-position: center;

  background-size: contain;

  transform: none !important;
}


#block_menu .share li.insta a {
  display: block !important;

  width: 28px !important;
  height: 28px !important;

  margin: 0 !important;
  padding: 0 !important;
}


/* =========================================================
   11. INSTAGRAM
   ========================================================= */

#block_menu .share {
  margin-top: 30px !important;

  display: flex !important;

  flex-direction: column !important;

  align-items: center !important;
}

#block_menu .share li.insta {
  display: block;

  width: 28px;
  height: 28px;

  margin: 0;
  padding: 0;

  background-image:
    url("https://andist.jp/wp-content/uploads/2026/07/icons8-インスタグラム-72.png");

  background-repeat: no-repeat;

  background-position: center;

  background-size: contain;
}

#block_menu .share li.insta a {
  display: block;

  width: 28px;
  height: 28px;

  margin: 0;
  padding: 0;
}


/* =========================================================
   12. SEARCH OVERLAY
   ========================================================= */

#search_overlay {
  position: fixed !important;

  top: 0 !important;
  left: 0 !important;

  width: 100vw !important;
  height: 100vh !important;

  margin: 0 !important;
  padding: 0 !important;

  background: rgba(255, 255, 255, 0.98);

  z-index: 99999 !important;

  opacity: 0;

  visibility: hidden;

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

#search_overlay.is-open {
  opacity: 1;

  visibility: visible;
}


/* ------------------------------------
  #load
------------------------------------ */

#load {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: #fff;
  pointer-events: none;
}

#load #sign {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

#load #sign {
  opacity: 0;
}

#load.on #sign {
  opacity: 1;
  -webkit-transition: all 3000ms ease;
  transition: all 3000ms ease;
}

#load.on2 #sign {
  opacity: 0;
  -webkit-transition: all 3000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
  transition: all 3000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

#sign img {
  width: 66.6%;
  max-width: 666px;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  z-index: 10;
}

/* =========================================================
   14. AJAX
   ========================================================= */

#ajax_area {
  opacity: 0;

  transition: opacity 800ms linear;
}

#ajax_area.active {
  opacity: 1;

  transition: opacity 1200ms linear;
}


/* =========================================================
   15. COMMON FOOTER
   ========================================================= */

.footer {
  width: 100%;

  margin: 0;

  padding: 20px 20px 20px 0;

  text-align: right;
}

.footer .copyright {
  margin: 0;
  padding: 0;

  text-align: right;

  font-family:
    Helvetica-Light,
    HelveticaNeue-Light,
    Arial,
    Verdana,
    Roboto-Light,
    "游ゴシック Light",
    游ゴシック体,
    YuGothic,
    メイリオ,
    Meiryo,
    "ＭＳ Ｐゴシック",
    "MS PGothic",
    sans-serif;

  font-size: 12px;

  line-height: 1.5;

  letter-spacing: 0.08em;

  color: #222;
}


/* =========================================================
   16. COMMON PAGE NAVIGATION
   ========================================================= */

.page-nav {
  width: 100%;

  margin: 80px auto 60px;

  padding: 0 20px;

  text-align: center;
}

.page-nav ul {
  display: flex;

  justify-content: center;
  align-items: center;

  gap: 32px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.page-nav li {
  flex-shrink: 0;
}

.page-nav li a {
  position: relative;

  display: inline-block;

  padding: 8px 4px;

  color: #222;

  text-decoration: none !important;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    Arial,
    "Noto Sans JP",
    sans-serif;

  font-size: 16px;

  letter-spacing: 0.15em;

  transition: color 0.3s ease;
}

.page-nav li a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 0;
  height: 1px;

  background: #222;

  transition: width 0.3s ease;
}

.page-nav li a:hover {
  color: #666;
}

.page-nav li a:hover::after {
  width: 100%;
}


/* =========================================================
   17. PAGINATION
   ========================================================= */

.pagination {
  display: flex;

  justify-content: center;
  align-items: center;

  gap: 10px;

  margin-top: 80px;

  padding-top: 40px;

  border-top: 1px solid #eee;
}

.pagination a,
.pagination span {
  display: inline-block;

  padding: 4px 8px;

  color: #222;

  text-decoration: none;
}

.pagination .current,
.pagination span.current {
  font-weight: bold;

  color: #000;
}


/* =========================================================
   18. SCROLL BUTTON
   ========================================================= */

.scroll-btn {
  position: fixed;

  right: 12px;
  bottom: 50px;

  width: 20px;
  height: 70px;

  z-index: 9999;

  overflow: hidden;

  transition: opacity 1s ease;
}

.scroll-btn .line {
  position: absolute;

  top: 0;
  left: 50%;

  width: 2px;
  height: 100%;

  background: #fff;

  transform: translateX(-50%);

  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {

  0% {
    transform: translate(-50%, -100%);
    opacity: 0;
  }

  30% {
    transform: translate(-50%, 0%);
    opacity: 1;
  }

  100% {
    transform: translate(-50%, 100%);
    opacity: 0;
  }
}

.scroll-btn.is-hidden {
  opacity: 0;
}


/* =========================================================
   19. WORKS TEXT LINK RESET
   WORKSの日付・タイトル・場所には下線を付けない
   ========================================================= */

#works_list .work-date,
#works_list .work-title,
#works_list .work-place,
#works_list .meta,
#works_list .ttl,
#works_list .txt_block a,
#works_list .txt_block a:hover {
  text-decoration: none !important;

  border-bottom: none !important;

  box-shadow: none !important;
}

#works_list .txt_block a::after,
#works_list .work-date::after,
#works_list .work-title::after,
#works_list .work-place::after {
  display: none !important;

  content: none !important;
}


/* =========================================================
   20. MOBILE
   ========================================================= */

@media screen and (max-width: 767px) {

  #header {
    padding: 20px 20px 0 !important;
  }

  #logo img {
    max-width: 100px;
  }

  #block_menu {
    font-size: 22px;
  }

  #block_menu ul {
    gap: 28px;
  }

#btn_lang {
  display: none;
}

  .page-nav {
    margin: 60px auto 40px;
  }

  .page-nav ul {
    gap: 24px;
  }

  .page-nav li a {
    font-size: 13px;
  }

  .scroll-btn {
    right: 12px;
    bottom: 50px;
    height: 70px;
  }

  .footer {
    padding-right: 15px;
  }

  .footer .copyright {
    font-size: 11px;
  }
}


/* =========================================================
   21. TABLET
   ========================================================= */

@media screen and (min-width: 768px) and (max-width: 1024px) {

  #header {
    padding: 20px 24px 0 !important;
  }

  #logo img {
    max-width: 110px;
  }

  #block_menu {
    font-size: 25px;
  }

  .page-nav ul {
    gap: 24px;
  }
}


/* =========================================================
   22. PC
   ========================================================= */

@media screen and (min-width: 1025px) {

  #header {
    padding: 20px 20px 0 !important;
  }

  #logo img {
    max-width: 120px;
  }

  .forpc {
    display: block;
  }
}

/* =========================================================
   MENU ANIMATION RESET
   メニュー表示時に上から中央へ移動しない
   ========================================================= */

#block_menu,
#block_menu *,
#block_menu .tra30 {
  transform: none !important;
}

#block_menu .tra30 {
  transition: none !important;
}

/* =========================================================
   POEM
   通常時：黒3本
   OPEN時：黒1本
   ========================================================= */

body.archive-poem #btn_menu .bar span,
body.single-poem #btn_menu .bar span {
  background-color: #000 !important;
}


/* OPEN時も中央の1本だけ黒 */
body.archive-poem #btn_menu.on .bar .top,
body.single-poem #btn_menu.on .bar .top {
  background-color: #000 !important;
  opacity: 1 !important;
}

body.archive-poem #btn_menu.on .bar .middle,
body.archive-poem #btn_menu.on .bar .bottom,
body.single-poem #btn_menu.on .bar .middle,
body.single-poem #btn_menu.on .bar .bottom {
  opacity: 0 !important;
}

/* =========================================================
   ANDIST FINAL HEADER / MENU
   最終調整
   ========================================================= */


/* =========================================================
   1. HEADER
   ========================================================= */

#header {
  position: fixed !important;

  top: 0 !important;
  left: 0 !important;

  width: 100% !important;

  margin: 0 !important;

  padding: 20px 20px 0 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;

  z-index: 1000 !important;

  pointer-events: none !important;
}

#logo,
#btn_menu {
  pointer-events: auto !important;
}


/* =========================================================
   2. HAMBURGER
   ========================================================= */

#btn_menu {
  position: relative !important;

  width: 20px !important;
  height: 20px !important;

  margin: 0 0 0 auto !important;
  padding: 0 !important;

  display: block !important;

  flex: 0 0 20px !important;

  cursor: pointer !important;

  z-index: 1001 !important;
}

#btn_menu .bar {
  position: relative !important;

  width: 20px !important;
  height: 20px !important;

  margin: 0 !important;
  padding: 0 !important;

  transform: none !important;
}


/* 3本共通 */

#btn_menu .bar span {
  position: absolute !important;

  left: 0 !important;

  width: 20px !important;
  height: 2px !important;

  margin: 0 !important;
  padding: 0 !important;

  display: block !important;

  transform: none !important;

  transition:
    top 0.25s ease,
    opacity 0.25s ease,
    background-color 0.25s ease !important;
}


/* =========================================================
   3. 通常時
   デフォルト：黒3本
   ========================================================= */

#btn_menu .bar .top {
  top: 3px !important;

  opacity: 1 !important;

  background-color: #000 !important;
}

#btn_menu .bar .middle {
  top: 9.5px !important;

  opacity: 1 !important;

  background-color: #000 !important;
}

#btn_menu .bar .bottom {
  top: 16px !important;

  opacity: 1 !important;

  background-color: #000 !important;
}


/* =========================================================
   4. 暗い背景のページ
   通常時だけ白3本
   ========================================================= */

/* トップページ */

body.home #btn_menu .bar span,
body.front-page #btn_menu .bar span {
  background-color: #fff !important;
}


/* WORKS一覧 */

body.post-type-archive-work #btn_menu .bar span {
  background-color: #fff !important;
}


/* WORKS詳細 */

body.single-work #btn_menu .bar span {
  background-color: #fff !important;
}


/* =========================================================
   5. OPEN時
   全ページ共通：黒1本
   ========================================================= */

#btn_menu.on .bar .top {
  top: 9.5px !important;

  opacity: 1 !important;

  background-color: #000 !important;

  z-index: 3 !important;
}

#btn_menu.on .bar .middle {
  top: 9.5px !important;

  opacity: 0 !important;

  background-color: #000 !important;
}

#btn_menu.on .bar .bottom {
  top: 9.5px !important;

  opacity: 0 !important;

  background-color: #000 !important;
}


/* =========================================================
   6. FULL SCREEN MENU
   ========================================================= */

#block_menu {
  position: fixed !important;

  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;

  width: 100vw !important;
  height: 100vh !important;

  margin: 0 !important;
  padding: 0 !important;

  background: #fff !important;

  z-index: 900 !important;

  display: none !important;

  flex-direction: column !important;

  justify-content: center !important;
  align-items: center !important;

  overflow: hidden !important;

  text-align: center !important;

  transform: none !important;

  transition: none !important;
}


/* =========================================================
   7. MENU OPEN
   ========================================================= */

#block_menu.on,
#block_menu.show,
#block_menu.is-active {
  display: flex !important;

  position: fixed !important;

  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;

  width: 100vw !important;
  height: 100vh !important;

  margin: 0 !important;
  padding: 0 !important;

  justify-content: center !important;
  align-items: center !important;

  transform: none !important;

  transition: none !important;
}


/* =========================================================
   8. MENU CENTER
   ========================================================= */

#block_menu .center {
  position: static !important;

  width: auto !important;
  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  transform: none !important;

  transition: none !important;
}

#block_menu .center ul {
  position: static !important;

  width: auto !important;
  height: auto !important;

  margin: 0 !important;
  padding: 0 !important;

  display: flex !important;

  flex-direction: column !important;

  justify-content: center !important;
  align-items: center !important;

  gap: 20px !important;

  transform: none !important;

  transition: none !important;
}

#block_menu .center li {
  position: static !important;

  margin: 0 !important;
  padding: 0 !important;

  transform: none !important;

  transition: none !important;
}


/* =========================================================
   9. MENU LINKS
   ========================================================= */

#block_menu .center a {
  display: inline-block !important;

  margin: 0 !important;
  padding: 0 !important;

  transform: none !important;

  transition: color 0.3s ease !important;

  color: #222 !important;

  text-decoration: none !important;
}


/* =========================================================
   10. FULL SCREEN MENU
   ========================================================= */

#block_menu {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  z-index: 450;

  background: #fff;

  display: none;

  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;

  font-family:
    Helvetica-Light,
    HelveticaNeue-Light,
    Arial,
    Verdana,
    Roboto-Light,
    "游ゴシック Light",
    游ゴシック体,
    YuGothic,
    メイリオ,
    Meiryo,
    "ＭＳ Ｐゴシック",
    "MS PGothic",
    sans-serif;

  font-size: 28px;
}


/* =========================================================
   MENU OPEN
   中央に固定したまま、ゆっくりふわっと表示
   ========================================================= */

#block_menu.on,
#block_menu.show,
#block_menu.is-active {
  display: flex;

  justify-content: center;
  align-items: center;
}


/* =========================================================
   MENU CONTENT
   ========================================================= */

#block_menu.on .center,
#block_menu.show .center,
#block_menu.is-active .center,
#block_menu.on .share,
#block_menu.show .share,
#block_menu.is-active .share {
  animation: menuContentFadeIn 2.0s ease forwards;
}


/* =========================================================
   MENU FADE IN
   ========================================================= */

@keyframes menuContentFadeIn {

  0% {
    opacity: 0;
    transform: translateY(15px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }

}


/* =========================================================
   MENU LIST
   ========================================================= */

#block_menu ul {
  list-style: none;

  margin: 0;
  padding: 0;

  display: flex;

  flex-direction: column;

  gap: 20px;
}


#block_menu li {
  margin: 0;
  padding: 0;
}


#block_menu a {
  display: inline-block;

  color: #222;

  font-family: inherit;
  font-size: inherit;

  text-decoration: none;

  letter-spacing: 0.1em;

  transition: color 0.3s ease;
}


#block_menu a:hover {
  color: #666;
}


/* =========================================================
   INSTAGRAM
   ========================================================= */

#block_menu .share {
  margin-top: 30px;
}


#block_menu .share li.insta {
  display: block;

  width: 28px;
  height: 28px;

  margin: 0;
  padding: 0;

  background-image:
    url("https://andist.jp/wp-content/uploads/2026/07/icons8-インスタグラム-72.png");

  background-repeat: no-repeat;

  background-position: center;

  background-size: contain;
}


#block_menu .share li.insta a {
  display: block;

  width: 28px;
  height: 28px;

  margin: 0;
  padding: 0;
}

/* =========================================================
   11. tra30 をメニューから完全に切り離す
   ========================================================= */

#block_menu .tra30 {
  transform: none !important;

  transition: none !important;

  transition-delay: 0s !important;
}


/* =========================================================
   12. メニュー内の全要素に移動アニメーションをさせない
   ========================================================= */

#block_menu *,
#block_menu *::before,
#block_menu *::after {
  transform: none !important;
}


/* =========================================================
   13. SP
   ========================================================= */

@media screen and (max-width: 767px) {

  #header {
    padding: 20px 20px 0 !important;
  }

  #block_menu {
    width: 100vw !important;
    height: 100vh !important;
  }

}


/* =========================================================
   SEARCH PAGE
   ========================================================= */

/* ---------------------------------------------------------
   ページ全体
--------------------------------------------------------- */

.search-page {
  width: 100%;
  min-height: 100vh;
}

.search-inner {
  width: 90%;
  max-width: 700px;
  margin: 0 auto;
  padding: 180px 0 100px;
}


//* ---------------------------------------------------------
   SEARCH タイトル
--------------------------------------------------------- */

.search-page h1.search-title {
  margin: 0 !important;
  padding-bottom: 100px !important;

  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: normal !important;
  line-height: 1.5 !important;
  letter-spacing: 0.15em !important;
}


/* ---------------------------------------------------------
   検索フォーム
--------------------------------------------------------- */

.search-form {
  display: flex;
  align-items: center;
  gap: 15px;

  margin-bottom: 120px;
}

.search-form input {
  flex: 1;
  min-width: 0;

  padding: 10px 0;

  border: none;
  border-bottom: 1px solid #222;
  border-radius: 0;

  background: transparent;

  font-family: inherit;
  font-size: 16px;

  outline: none;
}

.search-form button {
  padding: 10px 0;

  border: none;
  background: none;

  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.12em;

  cursor: pointer;
}


/* ---------------------------------------------------------
   検索結果
--------------------------------------------------------- */

.search-results h2 {
  margin: 0 0 60px;

  font-size: 16px;
  font-weight: normal;
}

.search-results ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.search-item {
  margin-bottom: 80px;

  opacity: 0;
  transform: translateY(50px);
}

.search-item.is-visible {
  opacity: 1;
  transform: translateY(0);

  transition:
    opacity 5000ms ease,
    transform 5000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
}


/* ---------------------------------------------------------
   検索結果：種類
--------------------------------------------------------- */

.search-type {
  margin-bottom: 12px;

  font-family:
    Helvetica-Light,
    HelveticaNeue-Light,
    Arial,
    sans-serif;

  font-size: 11px;
  letter-spacing: 0.15em;

  color: #888;
}


/* ---------------------------------------------------------
   検索結果：タイトル
--------------------------------------------------------- */

.search-item h3 {
  margin: 0 0 20px;

  font-size: 18px;
  font-weight: normal;
  line-height: 1.8;
}

.search-item h3 a {
  color: #222;
  text-decoration: none;
}

.search-item h3 a:hover {
  opacity: 0.5;
}


/* ---------------------------------------------------------
   検索結果：本文
--------------------------------------------------------- */

.search-excerpt {
  font-size: 14px;
  line-height: 2;
  color: #555;
}

.search-no-result {
  font-size: 14px;
  line-height: 2;
}


/* =========================================================
   白背景ページ
   ハンバーガーを黒にする
   ========================================================= */

.single-work #btn_menu span,
.single-poem #btn_menu span,
.post-type-archive-poem #btn_menu span,
.tax-poem_category #btn_menu span {
  background-color: #222 !important;
}


/* =========================================================
   白背景ページ
   検索アイコンを黒にする
   ========================================================= */

.single-work #btn_search a::before,
.single-poem #btn_search a::before,
.post-type-archive-poem #btn_search a::before,
.tax-poem_category #btn_search a::before {
  border-color: #222 !important;
}

.single-work #btn_search a::after,
.single-poem #btn_search a::after,
.post-type-archive-poem #btn_search a::after,
.tax-poem_category #btn_search a::after {
  background-color: #222 !important;
}


/* =========================================================
   SEARCH ICON
   ========================================================= */

#btn_search {
  position: fixed !important;

  top: 20px !important;
  right: 70px !important;

  width: 24px !important;
  height: 24px !important;

  z-index: 1100 !important;

  display: block !important;

  transition:
    opacity 1000ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

#btn_search a {
  position: relative !important;

  display: block !important;

  width: 24px !important;
  height: 24px !important;
}


/* 虫メガネの円 */

#btn_search a::before {
  content: "" !important;

  position: absolute !important;

  top: 2px !important;
  left: 2px !important;

  width: 11px !important;
  height: 11px !important;

  border: 1.5px solid #fff !important;
  border-radius: 50% !important;

  box-sizing: border-box !important;
}


/* 虫メガネの柄 */

#btn_search a::after {
  content: "" !important;

  position: absolute !important;

  top: 14px !important;
  left: 14px !important;

  width: 7px !important;
  height: 1.5px !important;

  background-color: #fff !important;

  transform: rotate(45deg) !important;
  transform-origin: left center !important;
}

#btn_search:hover {
  opacity: 0.5;
}


/* =========================================================
   SINGLE WORK
   検索アイコンを非表示
   ========================================================= */

body.single-work #btn_search {
  display: none !important;
}


/* =========================================================
   白背景ページ
   言語ボタンを黒にする
   ※ Polylangを使用するときに使用
   ========================================================= */

body.single-poem #btn_lang li a,
body.archive-poem #btn_lang li a,
body.tax-poem_category #btn_lang li a,
body.post-type-archive-poem #btn_lang li a,
body.search #btn_lang li a,
body.single-work #btn_lang li a {
  color: #222;
}


/* =========================================================
   SP / TABLET
   ========================================================= */

@media screen and (max-width: 1024px) {

  #btn_lang {
    margin-right: 20px;
  }

}

/* =========================================================
   SEARCH TITLE - FINAL
   ========================================================= */

.search-page .search-inner h1.search-title {
  font-size: 12px !important;
  font-weight: normal !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  padding-bottom: 100px !important;
}