/* style_add.css */
/* 追加CSS: 子テーマのベーススタイルシートと同じ場所に配置 */

/* ===== 基本 ===== */
:root {
  --top-w: 1040px;
  --top-pad: 24px;
  --top-text: #111;
  --top-sub: #111;
  --top-white: #fff;
  --top-beige: #e9ddbe;
  --top-gold2: #a67e1f;
  --top-line: rgba(0, 0, 0, .08);
  --btn: #A67E1F;
}
a:hover {
  opacity: .8;
}



/* ===== タイトル ===== */
.entry-header{
text-align: center;padding-bottom:3rem}

.top-sec-title {
  letter-spacing: .09em;
  margin: 0 0 16px;
  color: var(--top-text);
  font-family: "acumin-pro-extra-condensed", sans-serif !important;
  font-weight: 700;
  font-style: normal;
  font-size: 3rem !important;
}
.top-sec-title2 {
  letter-spacing: .09em;
  margin: 0 0 16px;
  color: var(--top-text);
  font-family: "acumin-pro-extra-condensed", sans-serif !important;
  font-weight: 700;
  font-style: normal;
  font-size: 2rem !important;
}

.top-sec-title--mixed, .top-sec-title--mixed2 {
  letter-spacing: .02em;
  font-size: clamp(22px, 2.4vw, 34px);
}

.top-sec-title--with-badge, .top-sec-title--with-badge2  {
  display: flex;
  align-items: center;
  gap: 12px;
}

@keyframes fluidrotate {
  0%, 100% { border-radius: 63% 37% 54% 46%/55% 48% 52% 45%; }
  14% { border-radius: 40% 60% 54% 46%/49% 60% 40% 51%; }
  28% { border-radius: 54% 46% 38% 62%/49% 70% 30% 51%; }
  42% { border-radius: 61% 39% 55% 45%/61% 38% 62% 39%; }
  56% { border-radius: 61% 39% 67% 33%/70% 50% 50% 30%; }
  70% { border-radius: 50% 50% 34% 66%/56% 68% 32% 44%; }
  84% { border-radius: 46% 54% 50% 50%/35% 61% 39% 65%; }
}

/* h2.top_title の左上に“文字と少し重なる”流体シェイプを置く */
h2.top-sec-title, h2.top-sec-title2 {
  position: relative;
  z-index: 1; /* 文字を前に */
}

h2.top-sec-title::before {
  content: "";
  position: absolute;
  left: -68px;  /* 左上位置: 要調整 */
  top: -50px;   /* 左上位置: 要調整 */
  width: 120px;  /* サイズ: 要調整 */
  height: 128px; /* サイズ: 要調整 */

  background: var(--top-accent, #DFCA98);
  opacity: 1; /* 文字に少し被せるため薄め */
  z-index: -1;  /* 文字の背面に回す */

  animation: fluidrotate 10s ease-in-out infinite;
}
h2.top-sec-title2::before {
  content: "";
  position: absolute;
  left: -68px;  /* 左上位置: 要調整 */
  top: -70px;   /* 左上位置: 要調整 */
  width: 120px;  /* サイズ: 要調整 */
  height: 128px; /* サイズ: 要調整 */

  background: var(--top-accent, #DFCA98);
  opacity: 1; /* 文字に少し被せるため薄め */
  z-index: -1;  /* 文字の背面に回す */

  animation: fluidrotate 10s ease-in-out infinite;
}


/* ===== ボタン類 ===== */
.simplefavorite-button{
border-radius:99px;
padding:12px 20px 10px;
}
div.mymemo_sample{border:2px solid #A67E1F;color:#A67E1F;padding:3rem 2rem 2.8rem;text-align:center;margin-bottom:4rem;font-size:0.9rem}
div.mymemo_sample img{width:600px;max-width:90%;margin:auto}

.top-more--center {
  display: flex;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 38px 6px;
  border-radius: 999px;
  background: var(--btn);
  color: #fff;
  text-decoration: none;
  letter-spacing: .06em;
letter-spacing: 4px;
  font-size: 12px;
font-weight: 700;
justify-content: center;
}
.btn:hover {
  background: var(--btn);
  color: #fff;
}

.my-4 .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  height:36px;
  min-width:36px;
  padding:0 10px;
  line-height:1;
  text-decoration:none;
  border:none;
  border-radius:999px;
  background:#E8E8E4;
  color:#A67E1F;
}

.my-4 .page-numbers.current{
  background:#A67E1F;
  color:#fff;
}

.my-4 a.page-numbers:hover{
  background:#f3f3f3;
}

.my-4 .page-numbers.dots{
  border:none;
  min-width:auto;
  padding:0 4px;
  background:transparent;
}

.my-4 .page-numbers.prev,
.my-4 .page-numbers.next{
  min-width:auto;
  padding:0 12px;
}
/* ===== コンテナ ===== */
.top-container {
  width: min(100% - (var(--top-pad) * 2), var(--top-w));
  margin-inline: auto;
}

.top-fullbg {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.top-fullbg > .top-container {
  margin-left: auto;
  margin-right: auto;
}


.top-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ===== header ===== */
.logo{ fill: #fff;}
.l-header__center img.logo {
	filter: brightness(0) invert(1);
}
.top-hero img.logo {
	filter: brightness(0) invert(1);
}

.-current a.c-gnav__a{color:#E9DDBE;font-weight:bold}
a.c-gnav__a:hover{color:#E9DDBE;}

.c-gnav .gnav-label {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	line-height: 1.2;
}

.c-gnav .gnav-label-ja {
	font-size: 1rem;
}

.c-gnav .gnav-label-en {
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	margin-top: 0.15em;
	opacity: 0.85;
}

/* ===== HERO ===== */

.top-hero {
  position: relative;
  width: 100vw;
  height: 90vh;
  margin-left: calc(50% - 50vw);
  min-height: clamp(520px, 72vh, 820px);
  overflow: hidden;
}

.top-hero__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.top-hero__inner {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  margin-top: 1rem;
  padding: 56px 0 32px;
}

.top-hero__titlewrap {
  text-align: center;
  color: #fff;
  padding: 8px 16px;
}

.top-hero__en {
  margin: 0;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-family: "acumin-pro-extra-condensed", sans-serif !important;
  font-weight: 700;
  font-style: normal;
  font-size: 6rem;
}

.top-hero__ja {
  margin: 10px 0 0;
  letter-spacing: .12em;
  opacity: .9;
  font-size: 1.4rem;
}

/* ===== ABOUT　アバウト ===== */
.top-about {
  background: #F9F9F9;
  padding: 100px 0 56px;
}

.top-about__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: center;
}

.top-about__lead {
  margin: 30px 0 14px;
padding:16px 0;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--top-text);
  line-height: 1.7;
}

.top-about__body {
  color: var(--top-sub);
  font-size: 14px;
  line-height: 2.0;
padding-bottom:20px;
}

.top-about__media {
  display: grid;
  justify-items: end;
}

.top-about__figure {
  margin: 0;
  width: min(420px, 100%);
  aspect-ratio: 1 / 1;
  background: #eee;
  overflow: hidden;
}




/* ===== サーチ ===== */
.form-line{height:1px;width:800px;background:#DFCA98;margin:80px auto}
.top-search {
  background: var(--top-beige);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}
.top-search h3{
font-size:16px;
font-weight:bold;
color:#A67E1F;
margin:6rem 0 0 1rem;
}

.top-search p.search_info{
margin:0.8rem 1rem 1rem 1rem;
color:#111;
font-size:14px}

.top-search__formwrap {
  margin-top: 10px;
}

.top-search__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  width: min(640px, 100%);
  margin: 0 auto;
}

.top-search__input {
  height: 42px;
  border-radius: 999px;
  border: none;
  padding: 0 18px;
  background: #fff;
  outline: none;
}
/* placeholder(「キーワード検索」)の文字色 */
#top-q::placeholder {
  color: #E9DDBE;
padding-top:12px;
  opacity: 1; /* Safari等で薄くなるのを防ぐ */
}




.top-search__submit {
  height: 38px;
  border-radius: 999px;
  padding: 4px 24px 0;
  border: 0;
  background: var(--top-gold2);
  color: #fff;
  font-weight: 700;
  letter-spacing: .06em;
}

.top-search__subbtns {
  margin: 14px auto 0;
  width: min(540px, 100%);
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.top-search__subbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 310px;
  letter-spacing: 2px;
  padding: 18px 24px 16px;
  background: #A67E1F;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .06em;
border-radius:999px;
}

.top-search__subbtn:hover {
  opacity: .85;
}

.top-search__nav {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  align-items: end;
}
.top-search__nav a{
background:#A67E1F;
border-radius:999px;
width: 160px;
height:160px;
max-width:100%;
max-height:100%;
text-decoration: none;
text-align:center;
display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.top-search__nav a img{
width:20px;}
.top-search__nav a p {
color:#fff
}
.top-search__nav a p span{
display:block;
font-size:12px;
}


.top-search__pill {
  position: relative;
  display: grid;
  place-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--top-text);
  padding: 18px 8px 10px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(179, 139, 45, .20) 0 36%, rgba(179, 139, 45, 0) 38%),
    radial-gradient(circle, rgba(179, 139, 45, .14) 0 52%, rgba(179, 139, 45, 0) 54%),
    radial-gradient(circle, rgba(179, 139, 45, .10) 0 68%, rgba(179, 139, 45, 0) 70%);
  min-height: 108px;
}

.top-search__pill-ttl {
  font-weight: 700;
  letter-spacing: .06em;
  font-size: 12px;
}

.top-search__pill-ic {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(0,0,0,.06);
}

.btn-primary {
     text-align: center; 
     --bs-btn-color: #fff; 
     --bs-btn-bg: #E9DDBE; 
     --bs-btn-border-color: #E9DDBE; 
     --bs-btn-hover-color: #fff; 
     --bs-btn-hover-bg: #E9DDBE; 
     --bs-btn-hover-border-color: #E9DDBE; 
     --bs-btn-focus-shadow-rgb: 49, 132, 253; 
     --bs-btn-active-color: #fff; 
     --bs-btn-active-bg: #E9DDBE; 
     --bs-btn-active-border-color: #E9DDBE; 
     --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); 
     --bs-btn-disabled-color: #fff; 
     --bs-btn-disabled-bg: #E9DDBE; 
     --bs-btn-disabled-border-color: #E9DDBE;}

/* ===== リファレンス ===== */
.top-ref {
  background: #F9F9F9;
  padding: 62px 0;
}

.top-ref__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.top-ref .top-reference__img{
padding:2rem}

.top-ref__ph {
  margin: 0;
  background: #eee;
  overflow: hidden;
  border-radius: 2px;
}

.top-ref__ph--main {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.top-ref__ph--sub {
  position: absolute;
  right: 0;
  bottom: -14px;
  width: 38%;
  aspect-ratio: 1 / 1;
  border: 4px solid #fff;
}



.top-ref__lead {
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.7;
}

.top-ref__body {
  color: var(--top-sub);
  font-size: 14px;
  line-height: 2.0;
padding-bottom:1rem
}

/* ===== コラム ===== */
.top-column {
  background:#fff;
  padding: 120px 0 86px;
}

.top-column__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 30px;
  align-items: center;
}

.top-column__lead {
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.7;
}

.top-column__body {
  color: var(--top-sub);
  font-size: 14px;
  line-height: 2.0;
}

.top-postcard {
  width: min(360px, 100%);
  margin-left: auto;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  background: #fff;
}

.top-postcard__link {
  display: grid;
  text-decoration: none;
  color: var(--top-text);
}

.top-postcard__thumb {
  margin: 0;
  
  background: #eee;
  overflow: hidden;
}

.top-postcard__meta {
  padding: 12px 14px 14px;
}

.top-postcard__date {
  margin: 0 0 6px;
  color: var(--top-sub);
  font-size: 12px;
  letter-spacing: .04em;
}

.top-postcard__title {
  margin: 0;
  font-weight: 700;
  letter-spacing: .04em;
}

/* ===== aboutページ ===== */
.about-page-container{display:flex;align-items: center}
@media (max-width: 960px) {
.about-page-container{
flex-direction: column;
}
}
.about-page{padding:8rem 0 4rem;background: #fff;}
.about-page div p{
padding:1rem}
.about-page img{padding:1rem}

/* ===== ニュース ===== */
.top-news {
  background: #F9F9F9;
  padding: 120px 0 86px;

}
.top-news .news_more{
text-align:center
}

.top-news__list {
  margin-top: 12px;
  border-top: 1px solid var(--top-line);
}

.top-news__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--top-line);
  font-size: 14px;
}

.top-news__date {
  color: var(--top-sub);
  letter-spacing: .04em;
}

.top-news__ttl a {
  color: var(--top-text);
  text-decoration: none;
}

.top-news__ttl a:hover {
  text-decoration: underline;
}

/* ===== アーカイブページ ===== */
.card{
background:#fff;
border:none;
border-top:solid #A67E1F 8px;
--bs-card-border-radius:none;
}
.card-img, .card-img-top{
border-top-left-radius: 0px !important;
border-top-right-radius: 0px ;
border-radius:none;}

p.card-text span{
display:block;
font-size:12px;
}
p.identifier{
color:#808080;
font-size:10px;
margin-bottom:0;
text-align: right;
}
.pagination{text-align: center;}

.form-control,.form-select{border:solid 1px #fff;}
label{font-weight:bold;font-size:12px;}

.collection-info {boder:solid 1px #F9F9F9;background:#fff;padding:1.8rem 1rem 1rem}
.collection-info p{
margin-bottom:10px}



.l-footer{padding-top:2.2rem}

 
/* ===== レスポンシブ ===== */
@media (max-width: 960px) {
  .top-search__nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .top-about__grid,
  .top-ref__grid,
  .top-column__grid {
    grid-template-columns: 1fr;
  }

  .top-about__media {
    justify-items: start;
  }

  .top-postcard {
    margin: 0;
  }
}

@media (max-width: 540px) {
  .top-search__form {
    grid-template-columns: 1fr;
  }

  .top-search__submit {
    width: 160px;
    margin-left: auto;
  }

  .top-news__row {
    grid-template-columns: 100px 1fr;
  }
}