/* ART KOGEI 2026 top page
   Attach this stylesheet after the theme's existing CSS. */

:root {
  --ak-ink: #28231f;
  --ak-brown: #562e1b;
  --ak-brown-deep: #3f2115;
  --ak-gold: #a48a63;
  --ak-paper: #f7f4ee;
  --ak-white: #fff;
  --ak-line: rgba(86, 46, 27, 0.22);
  --ak-serif: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  --ak-sans: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
}

html {
  scroll-behavior: smooth;
}

img {
  vertical-align: top;
  max-width: 100%;
}

body {
  margin: 0;
  color: var(--ak-ink);
  background: var(--ak-paper);
  font-family: var(--ak-serif);
  font-size: 18px;
  line-height: 2;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

.main,
.main * {
  box-sizing: border-box;
}

.main.top {
  overflow: hidden;
  background:
    linear-gradient(rgba(164, 138, 99, 0.035) 1px, transparent 1px),
    var(--ak-paper);
  background-size: 100% 10rem;
}

.main a {
  color: inherit;
  text-decoration: none;
}

.main .box {
  width: min(1300px, calc(100% - 100px));
  margin-inline: auto;
}

.main section {
  position: relative;
  padding: 120px 0;
}

.main section + section::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1300px, calc(100% - 100px));
  height: 1px;
  background: var(--ak-line);
  content: "";
  transform: translateX(-50%);
}

.main .anc {
  position: absolute;
  top: -80px;
}

/* Hero */
.main .top_kv {
  position: relative;
  display: grid;
  min-height: min(820px, 90vh);
  padding: 80px 48px;
  place-items: center;
  isolation: isolate;
}

.main .top_kv::before {
  position: absolute;
  inset: 28px;
  z-index: -1;
  /* border: 1px solid var(--ak-line); */
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.25)),
  url("/img/2026/top/concept.jpg") no-repeat center center / cover;
  content: "";
}

.main .top_kv::after {
  position: absolute;
  top: 12%;
  left: 50%;
  z-index: -2;
  width: min(52vw, 680px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(164, 138, 99, 0.12), rgba(164, 138, 99, 0) 68%);
  content: "";
  transform: translateX(-50%);
}

.main .kv_box {
  width: min(940px, 100%);
  text-align: center;
}

.main .h1_kv {
  margin: 0;
  color: #fff;
  text-shadow: 0 0 17px rgba(0, 0, 0, 0.2);
  font-weight: 400;
}

.main .h1_kv .sub,
.main .h1_kv .main {
  display: block;
}

.main .h1_kv .sub {
  margin-bottom: 10px;
  font-size: clamp(18px, 1.5vw, 22px);
}

.main .h1_kv .main {
  font-size: clamp(50px, 7.2vw, 96px);
  line-height: 1.15;
  font-weight: 600;
}

/* Shared section layout */
.main .title_columns {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 4vw;
  align-items: start;
}

.main .h2,
.main .h2_text {
  position: relative;
  margin: 0;
  color: var(--ak-brown);
  font-size: clamp(30px, 2.4vw, 38px);
  font-weight: 400;
  line-height: 1.5;
}

.main .h2::before,
.main .h2_text::before {
  display: block;
  width: 42px;
  height: 1px;
  margin-bottom: 22px;
  background: var(--ak-gold);
  content: "";
}

.main .item_contents {
  width: 100%;
  max-width: 1000px;
  min-width: 0;
}

.main .concept_text,
.main .date_text,
.main .access_text,
.main .sec_contact .item_contents > p {
  margin: 0;
  font-size: 18px;
  line-height: 2.25;
}

.main .concept_text br {
  display: block;
  content: "";
  margin-top: 1.25em;
}

/* Artists */
.main .artist_columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ak-line);
}

.main .artist_columns .item {
  border-bottom: 1px solid var(--ak-line);
}

.main .artist_columns .item:nth-child(odd) {
  border-right: 1px solid var(--ak-line);
}

.main .artist_columns .item a,
.main .artist_columns .item .link_area {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  min-height: 124px;
  padding: 30px 34px;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.main .artist_columns .item figure {
  max-width: 100%;
  margin-bottom: 0.7em
}
.main .artist_columns .item figure img {
  max-width: 100%;
}
.main .artist_columns .item figure figcaption {
  line-height: 1.2;
  font-size: 0.7em;
  margin-top: 0.5em;
}

.main .artist_columns .name {
  width: 100%;
  margin: 0;
  font-size: clamp(20px, 1.55vw, 24px);
  line-height: 1.6;
}

.main .artist_columns .name span {
  display: block;
  margin-top: 5px;
  color: var(--ak-gold);
  font-family: var(--ak-sans);
  font-size: 14px;
}

.main .artist_columns .more {
  margin: 0;
  color: var(--ak-brown);
  font-family: var(--ak-sans);
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.main .artist_columns .item:not(.nolink) a:hover,
.main .artist_columns .item:not(.nolink) a:focus-visible {
  background: rgba(86, 46, 27, 0.055);
}

.main .artist_columns .item:not(.nolink) a:hover .more,
.main .artist_columns .item:not(.nolink) a:focus-visible .more {
  opacity: 1;
  transform: translateX(0);
}

.main .artist_columns .item.nolink a {
  cursor: default;
  pointer-events: none;
}

.main .artist_columns .item.nolink .more {
  display: none;
}

/* 作家情報ボタン */
.artist_columns .info {
  display: inline-flex;
  min-width: 150px;
  min-height: 45px;
  margin-top: 16px;
  padding: 10px 28px;
  border: 1px solid var(--ak-brown);
  align-items: center;
  justify-content: center;
  color: var(--ak-brown);
  background: transparent;
  font-family: var(--ak-serif);
  font-size: 16px;
  cursor: pointer;
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

.artist_columns .info:hover,
.artist_columns .info:focus-visible {
  color: var(--ak-paper);
  background: var(--ak-brown);
}

.artist_columns .info:focus-visible {
  outline: 2px solid var(--ak-gold);
  outline-offset: 4px;
}

/* ========================================
   作家紹介モーダル
======================================== */

.artist_modal {
  position: fixed;
  inset: 0;
  width: min(1100px, calc(100% - 80px));
  max-height: calc(100dvh - 80px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  color: var(--ak-ink);
  background: var(--ak-paper);
  box-shadow: 0 24px 80px rgba(40, 35, 31, 0.25);
}

.artist_modal:not(:popover-open) {
  display: none;
}

.artist_modal::backdrop {
  background: rgba(25, 20, 17, 0.68);
  backdrop-filter: blur(4px);
}

.artist_modal_inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
  min-height: 600px;
}

.artist_modal_image {
  min-height: 600px;
  overflow: hidden;
  background: #e8e2d8;
  padding: 30px;
}

.artist_modal_image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.artist_modal_content {
  padding: clamp(50px, 7vw, 80px);
}

.artist_modal_label {
  margin: 0 0 28px;
  color: var(--ak-gold);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.18em;
}

.artist_modal_name {
  margin: 0;
  color: var(--ak-brown);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.artist_modal_name span {
  display: block;
  margin-top: 8px;
  color: var(--ak-gold);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.artist_modal_text {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--ak-line);
}

.artist_modal_text p {
  margin: 0;
  font-size: 18px;
  line-height: 2.2;
  letter-spacing: 0.045em;
}

.artist_modal_text p + p {
  margin-top: 1.5em;
}


/* 閉じるボタン */
.artist_modal_close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--ak-line);
  border-radius: 50%;
  background: var(--ak-paper);
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
}

.artist_modal_close::before,
.artist_modal_close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 1px;
  background: var(--ak-brown);
  content: "";
}

.artist_modal_close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.artist_modal_close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.artist_modal_close:hover {
  border-color: var(--ak-brown);
  transform: rotate(90deg);
}

.artist_modal_close:focus-visible {
  outline: 2px solid var(--ak-gold);
  outline-offset: 4px;
}


/* Date and access */
.main .sec_date {
  color: var(--ak-white);
  background: var(--ak-brown-deep);
}

.main .sec_date::before {
  display: none;
}

.main .sec_date .h2 {
  color: var(--ak-white);
}

.main .sec_date .h2::before {
  background: rgba(255, 255, 255, 0.6);
}

.main .date_text,
.main .access_text {
  padding-left: 70px;
}
.main .date_text .sub,
.main .access_text .sub {
  display: inline-block;
  width: 70px;
  margin-left: -70px;
  color: var(--ak-gold);
  font-size: 0.8em;
}

.main .sec_date .date_text .sub {
  color: #d6c4a9;
}

.main .access_text a {
  border-bottom: 1px solid var(--ak-brown);
  overflow-wrap: anywhere;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.main .access_text a:hover,
.main .access_text a:focus-visible {
  color: var(--ak-gold);
  border-color: var(--ak-gold);
}

.main .map_cont {
  position: relative;
  margin-top: 48px;
  overflow: hidden;
  background: #ded8cd;
}

.main .map_cont::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(86, 46, 27, 0.16);
  content: "";
  pointer-events: none;
}

.main .map_cont iframe {
  display: block;
  width: 100%;
  height: 460px;
}

/* Contact */
.main .sec_contact .mail-link {
  margin-top: 36px;
}

.main .mail-link a,
.main .news-btn a {
  display: inline-flex;
  min-width: 220px;
  min-height: 58px;
  padding: 12px 28px;
  border: 1px solid var(--ak-brown);
  align-items: center;
  justify-content: center;
  color: var(--ak-brown);
  font-family: var(--ak-sans);
  font-size: 16px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.main .mail-link a:hover,
.main .mail-link a:focus-visible,
.main .news-btn a:hover,
.main .news-btn a:focus-visible {
  color: var(--ak-white);
  background: var(--ak-brown);
}

/* News */
.main .news-heading {
  display: none;
}

.main .top-post-archive {
  margin: 0;
  border-top: 1px solid var(--ak-line);
}

.main .top-post-archive > * {
  border-bottom: 1px solid var(--ak-line);
  padding: 1em 0;
}

.main .top-post-archive a {
  transition: color 0.25s ease;
}

.main .top-post-archive .post-archive_item_info {
  font-size: 0.8em;
}
.main .top-post-archive .post-archive_item_heading {
  margin: 0;
}

.main .top-post-archive a:hover,
.main .top-post-archive a:focus-visible {
  color: var(--ak-gold);
}

.main .news-btn {
  margin-top: 40px;
  text-align: right;
}

/* Archive */
.main .sec_history {
  padding: 90px 0 120px;
  color: var(--ak-ink);
  background: var(--ak-paper);
}

.main .sec_history::before {
  display: none;
}

.main .sec_history .box {
}

.main .sec_history .h2 {
  color: var(--ak-brown);
  margin: 0 0 1em;
  font-size: clamp(24px, 2.2vw, 28px);
}
.main .sec_history .h2::before {
  content: none;
}

.main .history_cont {
  border-top: 1px solid var(--ak-line);
}

.main .history {
  margin: 0;
}

.main .history a {
  display: flex;
  padding: 22px 10px;
  border-bottom: 1px solid var(--ak-line);
  align-items: baseline;
  font-size: 18px;
  line-height: 1.6;
  transition: padding-left 0.3s ease, color 0.3s ease;
}

.main .history a span:first-child {
  flex: 0 0 70px;
  color: var(--ak-gold);
  font-family: var(--ak-sans);
  font-size: 16px;
}

.main .history a:hover,
.main .history a:focus-visible {
  color: var(--ak-brown);
}

.main a:focus-visible {
  outline: 2px solid var(--ak-gold);
  outline-offset: 4px;
}

.pc-none {
  display: none;
}

@media (max-width: 900px) {
  .main .box,
  .main section + section::before {
    width: min(100% - 48px, 720px);
  }

  .main section {
    padding: 84px 0;
  }

  .main .top_kv {
    min-height: 680px;
    padding-inline: 30px;
  }

  .main .title_columns,
  .main .sec_history .box {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .main .h2::before,
  .main .h2_text::before {
    margin-bottom: 15px;
  }

  .main .artist_columns .item a,
  .main .artist_columns .item .link_area {
    min-height: 108px;
    padding: 24px;
  }

  
  /*MODAL*/
  .artist_modal {
    width: calc(100% - 32px);
    max-height: calc(100dvh - 32px);
  }

  .artist_modal_inner {
    display: block;
    min-height: 0;
  }

  .artist_modal_image {
    height: 320px;
    min-height: 0;
  }

  .artist_modal_content {
    padding: 42px 24px 50px;
  }

  .artist_modal_name {
    padding-right: 44px;
    font-size: 28px;
  }

  .artist_modal_text {
    margin-top: 32px;
    padding-top: 28px;
  }

  .artist_modal_text p {
    font-size: 16px;
    line-height: 2;
  }

  .artist_modal_close {
    position: fixed;
    top: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
  }

  .artist_columns .info {
    width: 100%;
  }


}

@media (max-width: 600px) {
  .main .box,
  .main section + section::before {
    width: 92%;
  }

  .main section {
    padding: 72px 0;
  }

  .main .top_kv {
    min-height: 580px;
    padding: 48px 26px;
  }

  .main .top_kv::before {
    inset: 14px;
  }

  .main .h1_kv .sub {
    margin-bottom: 20px;
    line-height: 1.8;
  }

  .main .h1_kv .main {
    font-size: clamp(36px, 11vw, 52px);
  }

  .main .title_columns,
  .main .sec_history .box {
    gap: 34px;
  }

  .main .concept_text,
  .main .date_text,
  .main .access_text,
  .main .sec_contact .item_contents > p {
    font-size: 18px;
    line-height: 2.05;
    padding-left: 0;
  }

  .main .artist_columns {
    border-top: none;
    grid-template-columns: 1fr;
  }

  .main .artist_columns .item:nth-child(odd) {
    border-right: 0;
  }

  .main .artist_columns .item a,
  .main .artist_columns .item .link_area {
    min-height: 94px;
    padding: 20px 8px;
  }


  .main .date_text .sub,
  .main .access_text .sub {
    display: block;
    width: auto;
    margin-top: 14px;
    margin-left: 0;
    line-height: 1.4;
  }

  .main .date_text .sub:first-child,
  .main .access_text .sub:first-child {
    margin-top: 0;
  }

  .main .map_cont {
    margin-top: 34px;
  }

  .main .map_cont iframe {
    height: 360px;
  }

  .main .mail-link a,
  .main .news-btn a {
    width: 100%;
  }

  .main .news-btn {
    text-align: left;
  }

  .main .sec_history {
    padding: 72px 0 88px;
  }

  .main .history a {
    padding-inline: 4px;
    font-size: 16px;
  }

  .main .history a:hover,
  .main .history a:focus-visible {
    padding-left: 10px;
  }

  .pc-none {
    display: initial;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .main *,
  .main *::before,
  .main *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ==========================================================
   Header
   ========================================================== */
.header,
.header * {
  box-sizing: border-box;
}

.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  min-height: 72px;
  border-bottom: 1px solid rgba(86, 46, 27, 0.14);
  background: rgba(247, 244, 238, 0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header a {
  color: var(--ak-ink);
  text-decoration: none;
}

.header_navi {
  display: flex;
  width: calc(100% - 50px);
  min-height: 72px;
  margin-inline: auto;
  align-items: center;
  justify-content: flex-end;
}

.header_navi_list {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: clamp(15px, 1.65vw, 30px);
  list-style: none;
}

.header_navi_list_item a {
  position: relative;
  display: block;
  padding: 26px 0 23px;
  font-family: var(--ak-serif);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.header_navi_list_item a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 1px;
  background: var(--ak-brown);
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s ease;
}

.header_navi_list_item a:hover::after,
.header_navi_list_item a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.header_navi_list_item.lang {
  margin-left: -9px;
}

.header_navi_list_item:not(.lang) + .header_navi_list_item.lang {
  margin-left: 12px;
}

.header_navi_list_item.lang a {
  color: var(--ak-gold);
  font-size: 13px;
}

.drawer-toggle {
  display: none;
}

.header a:focus-visible,
.footer a:focus-visible {
  outline: 2px solid var(--ak-gold);
  outline-offset: 4px;
}

/* Offset the fixed header without changing the PHP template. */
body.admin-bar .header {
  top: 32px;
}

/* ==========================================================
   Footer
   ========================================================== */
.footer,
.footer * {
  box-sizing: border-box;
}

.footer {
  padding: 82px 0 38px;
  border-top: 1px solid var(--ak-line);
  color: var(--ak-ink);
  background: var(--ak-paper);
  font-family: var(--ak-serif);
}

.footer .box {
  display: grid;
  width: min(1300px, calc(100% - 100px));
  margin-inline: auto;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px 70px;
  align-items: start;
}

.footer_credit {
  margin: 0;
  font-size: 16px;
  line-height: 2.15;
}

.footer_credit .sub {
  display: inline-block;
  width: 94px;
  color: var(--ak-gold);
  font-size: 0.9em;
}

.footer_credit a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--ak-line);
  overflow-wrap: anywhere;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.footer_credit a:hover,
.footer_credit a:focus-visible {
  color: var(--ak-brown);
  border-color: var(--ak-brown);
}

.footer .sns_columns {
  display: flex;
  align-items: center;
  gap: 17px;
}

.footer .sns_item {
  width: 25px;
}

.footer .sns_item a {
  display: grid;
  transition: opacity 0.25s ease, transform 0.25s ease;
  place-items: center;
}

.footer .sns_item img {
  display: block;
  width: 100%;
  height: auto;
}

.footer .sns_item a:hover,
.footer .sns_item a:focus-visible {
  opacity: 0.65;
  transform: translateY(-2px);
}

.footer .box > .footer_credit:last-child {
  grid-column: 1 / -1;
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--ak-line);
  color: rgba(40, 35, 31, 0.62);
  font-family: var(--ak-serif);
  font-size: 13px;
}

@media (max-width: 1100px) {
  .header_navi_list {
    gap: 14px;
  }

  .header_navi_list_item a {
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .header {
    min-height: 64px;
  }

  .header_navi {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 1100;
    display: flex;
    width: min(430px, 88vw);
    height: 100dvh;
    min-height: 100dvh;
    padding: 100px 44px 48px;
    overflow-x: hidden;
    overflow-y: auto;
    justify-content: flex-start;
    align-items: flex-start;
    background: var(--ak-paper);
    box-shadow: -18px 0 48px rgba(63, 33, 21, 0.12);
    transition: right 0.38s cubic-bezier(0.7, 0, 0.3, 1);
    overscroll-behavior: contain;
  }

  .drawer-open .header_navi {
    right: 0;
  }

  .header_navi_list {
    display: block;
    width: 100%;
    border-top: 1px solid var(--ak-line);
  }

  .header_navi_list_item {
    margin: 0 !important;
    border-bottom: 1px solid var(--ak-line);
  }

  .header_navi_list_item a {
    padding: 16px 2px;
    font-size: 16px;
    line-height: 1.5;
  }

  .header_navi_list_item a::after {
    display: none;
  }

  .header_navi_list_item a:hover,
  .header_navi_list_item a:focus-visible {
    color: var(--ak-gold);
  }

  .header_navi_list_item.lang {
    display: inline-block;
    margin-top: 28px !important;
    border: 0;
  }

  .header_navi_list_item.lang + .header_navi_list_item.lang {
    margin-left: 8px !important;
  }

  .header_navi_list_item.lang a {
    display: grid;
    width: 30px;
    height: auto;
    padding: 0;
    font-size: 13px;
    place-items: center;
  }

  .drawer-toggle {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1200;
    display: block;
    width: 68px;
    height: 64px;
    padding: 0;
    border: 0;
    border-left: 1px solid var(--ak-line);
    border-bottom: 1px solid var(--ak-line);
    border-radius: 0;
    background: var(--ak-paper);
    cursor: pointer;
  }

  .drawer-hamburger-icon,
  .drawer-hamburger-icon::before,
  .drawer-hamburger-icon::after {
    position: absolute;
    left: 50%;
    display: block;
    width: 26px;
    height: 1px;
    background: var(--ak-brown);
    content: "";
    transform: translateX(-50%);
    transition: top 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  }

  .drawer-hamburger-icon {
    top: 50%;
  }

  .drawer-hamburger-icon::before {
    top: -8px;
  }

  .drawer-hamburger-icon::after {
    top: 8px;
  }

  .drawer-open .drawer-hamburger-icon {
    background: transparent;
  }

  .drawer-open .drawer-hamburger-icon::before {
    top: 0;
    transform: translateX(-50%) rotate(45deg);
  }

  .drawer-open .drawer-hamburger-icon::after {
    top: 0;
    transform: translateX(-50%) rotate(-45deg);
  }

  body.admin-bar .header_navi,
  body.admin-bar .drawer-toggle {
    top: 32px;
  }

  .footer .box {
    width: min(100% - 48px, 720px);
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer .box > .footer_credit:last-child {
    grid-column: auto;
    margin-top: 8px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .header {
    top: 46px;
  }

  body.admin-bar .header_navi,
  body.admin-bar .drawer-toggle {
    top: 46px;
  }
}

@media (max-width: 600px) {
  .header {
    min-height: 58px;
    height: 58px;
  }

  .header_navi {
    width: min(380px, 90vw);
    min-height: 100dvh;
    padding: 84px 28px 38px;
  }

  .drawer-toggle {
    width: 62px;
    height: 58px;
  }

  .footer {
    padding: 64px 0 30px;
  }

  .footer .box {
    width: 92%;
  }

  .footer_credit {
    font-size: 16px;
    line-height: 2;
  }

  .footer_credit .sub {
    display: block;
    width: auto;
    margin-top: 12px;
    line-height: 1.4;
  }

  .footer_credit .sub:first-child {
    margin-top: 0;
  }
}








/*-----------------------------------
SINGLE
------------------------------------*/
main.category,
main.single {
  margin: 120px 0 160px;
}

/*------------- お知らせ -------------*/
#breadcrumb {
  padding: 20px 0;
  font-size: 13px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
}

@media screen and (max-width: 979px) {
  #breadcrumb {
    padding: 10px 0;
    margin-top: 2em;
    margin-bottom: 2em;
    border-bottom: 1px solid #ccc;
  }
}

#breadcrumb a, #breadcrumb span {
  display: inline-block;
}

#breadcrumb a:after {
  content: "/";
  color: #adadad;
  margin: 0 10px;
}

@media screen and (max-width: 979px) {
  #breadcrumb a:after {
    margin: 0 5px;
  }
}

.heading-ptn-01 {
  position: relative;
  padding: 0 55px;
  text-align: center;
  margin-bottom: 30px;
  color: #000;
}

@media screen and (max-width: 979px) {
  .heading-ptn-01 {
    margin-bottom: 15px;
  }
}

.heading-ptn-02 {
  font-size: 38px;
  text-align: center;
}


@media screen and (max-width: 979px) {
  .heading-ptn-02 {
    font-size: 25px;
  }
  .home .heading-ptn-02 {
    font-size: 40px;
  }
}

.heading-ptn-03 {
  font-size: 22px;
  border-left: #000 8px solid;
  padding-left: 10px;
  margin-bottom: 20px;
}

@media screen and (max-width: 979px) {
  .heading-ptn-03 {
    font-size: 16px;
  }
}


.single-post .single_info {
  margin-bottom: 15px;
  display: inline-block;
}

.single_content figure img {
  margin-top: 30px;
  margin-bottom: 45px;
}

.pagination {
  text-align: center;
  font-size: 1.8rem;
}

.pagination .screen-reader-text {
  display: none;
}

.pagination a, .pagination span {
  display: inline-block;
  padding: 5px;
  margin: 0 5px;
}

.pagination a {
  border-bottom: 1px solid #000;
}


.single-post h3 {
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 10px 5px;
  margin-top: 30px;
}

.single-post h4 {
  margin-top: 30px;
}

@media screen and (max-width: 979px) {
  .single-post .single_info {
    margin-bottom: 0;
  }
}
