@charset "utf-8";

/* ---------- footer ---------- */
.footer_info {
  background-color: #161616;
}
.footer_info .map, .footer_info .info_txt {
  width: 50%;
}
.footer_info .map {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.footer_info .map iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% + 5px);
  height: calc(100% + 5px);
}
.footer_info .info_txt {
  padding-left: 80px;
}
.footer_info .info_txt .logo {
  width: 180px;
  margin: 0 auto 30px 80px;
}
.footer_info .info_txt .listwrap .box {
  padding: 15px 0;
  border-bottom: 1px solid rgba(112, 112, 112, 0.20);
}
.footer_info .info_txt .listwrap .box h3 {
  width: 80px;
  color: #9F8554;
  white-space: nowrap;
}
.footer_info .info_txt .listwrap .box > div {
  width: calc(100% - 80px);
  padding: 2px 0 0 30px;
}
.footer_info .morewrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}
/* TEL 部分 */
.footer_info .tel_box {}
.footer_info .tel_link {
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
  border-bottom: 1px solid #b49456;
  padding-bottom: 6px;
  font-family: "EB Garamond", serif;
  white-space: nowrap;
  flex-wrap: nowrap;
}
.footer_info .tel_label {
  letter-spacing: 0.2em;
  color: #b49456;
}
.footer_info .tel_number {
  letter-spacing: 0.12em;
  color: #b49456;
}
.footer_info .more1 {
  margin-right: 0;
  margin-left: auto;
}
@media screen and (max-width: 1280px) {
  .footer_info .info_txt {
    padding-left: 60px;
  }
}
@media screen and (max-width: 1080px) {
  .footer_info .info_txt .listwrap .box {
    flex-wrap: nowrap;
  }
  .footer_info .info_txt .listwrap .box h3 {
    width: 220px;
  }
  .footer_info .info_txt {
    padding-left: 30px;
  }
  .footer_info .map {
    width: 80%;
    margin-bottom: 30px;
  }
  .footer_info .info_txt {
    width: 100%;
    padding-left: 0;
  }
  .footer_info .info_txt .listwrap .box > div {
    padding: 2px 0 0 20px;
  }
  .footer_info .info_txt .logo {
    width: 180px;
    margin: 0 auto 30px auto;
  }
}
@media screen and (max-width: 576px) {
  .footer_info .info_txt .listwrap .box h3 {
    width: 140px;
  }
  .footer_info .morewrap {
    flex-direction: column;
  }
}
.top_news {
  position: relative; /* 疑似要素の基準 */
}
.bdtop::before{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%); /* 中央起点で100vwに広げる */
  width: 100%;
  max-width: 1280px;
  height: 1px;
  background-color: #403828;
  pointer-events: none; /* クリックを邪魔しないように */
  z-index: 0;
}
/* 上線 */
.bdtop::before {
  top: 0;
}

.top_news::before, .top_news::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%); /* 中央起点で100vwに広げる */
  width: 100%;
  max-width: 1280px;
  height: 1px;
  background-color: #403828;
  pointer-events: none; /* クリックを邪魔しないように */
  z-index: 0;
}
/* 上線 */
.top_news::before {
  top: 0;
}
/* 下線 */
.top_news::after {
  bottom: 0;
}
.top_news .width-1280-max {
  gap: 40px;
}
.top_news .titlebox {
  width: 240px;
}
.top_news .contents {
  width: calc(100% - 280px);
}
/* 各行の間隔 */
.top_news .contents .webgene-blog .webgene-item:not(:last-of-type) {
  margin-bottom: 30px;
}
/* リンク全体 */
.top_news .contents .webgene-blog .webgene-item a {
  max-width: 100%;
  color: #f3f1ea; /* タイトル文字色 */
  text-decoration: none;
}
/* 行全体の並び方 */
.top_news .contents .webgene-blog .webgene-item a > div {
  justify-content: flex-start;
  flex-wrap: nowrap; /* 折り返さない */
  gap: 20px;
}
/* 日付：折り返し禁止＆幅は自動 */
.top_news .contents .webgene-blog .webgene-item a .date {
  width: auto;
  flex-shrink: 0; /* つぶさない */
  white-space: nowrap; /* 改行しない */
  color: #C8A86A;
  font-family: "EB Garamond", serif;
  font-size: 20px;
  letter-spacing: 0.18em;
}
/* カテゴリ：折り返し禁止＆幅は自動 */
.top_news .contents .webgene-blog .webgene-item a .cate {
  width: auto;
  min-width: 80px;
  flex-shrink: 0; /* つぶさない */
  white-space: nowrap; /* 改行しない */
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid #C8A86A;
  background: transparent;
  color: #C8A86A;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.18em;
}
/* タイトルは残り全部を使う */
.top_news .contents .webgene-blog .webgene-item a .title {
  width: auto;
  flex: 1 1 auto; /* 余った分を全部使う */
  color: #f3f1ea;
}
/* hover したとき少しだけ色変化 */
.top_news .contents .webgene-blog .webgene-item a:hover .title {
  color: #ffffff;
}
.top_news .contents .webgene-blog .webgene-item a:hover .cate, .top_news .contents .webgene-blog .webgene-item a:hover .date {
  color: #E1C891;
  border-color: #E1C891;
}
/* ----------------- レスポンシブ ----------------- */
@media screen and (max-width: 1080px) {
  .top_news .more1 {
    margin: 0 0;
    padding-top: 0;
  }
  .top_news .titlebox {
    width: auto;
  }
  .top_news .titleboxwrap {
    width: 100%;
    justify-content: space-between;
  }
  .top_news .contents {
    width: 100%;
  }
}
@media screen and (max-width: 576px) {
  .top_news .contents {
    width: 100%;
    margin-bottom: 50px;
  }
}
/* SP レイアウト時（flex 折り返し・余白調整） */
@media screen and (max-width: 768px) {
  .top_news .contents {
    margin-bottom: 50px;
  }
  .top_news .contents .webgene-blog .webgene-item a > div {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 20px;
  }
  .top_news .contents .webgene-blog .webgene-item a .date {
    width: auto;
  }
  .top_news .contents .webgene-blog .webgene-item a .cate {
    width: auto;
  }
  .top_news .contents .webgene-blog .webgene-item a .title {
    width: 100%;
  }
  .top_news .contents .webgene-blog .webgene-item:not(:last-of-type) {
    margin-bottom: 30px;
  }
}
.cate3.itembox1 .imgbox {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.titlebox h2 {
  font-weight: 300;
}
.itembox1 .boxwrap {
  max-width: 1280px;
  margin: auto;
}
.cate2.itembox1 .boxwrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(16px, 2.5vw, 20px);
  max-width: 1280px;
}
/* 1024px 以下：3列 */
@media (max-width: 1080px) {
  .cate2.itembox1 .boxwrap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* 768px 以下：2列 */
@media (max-width: 768px) {
  .cate2.itembox1 .boxwrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.menu_card_wrap .titlebox h2 {
  color: #e2dbcc;
}
.menu_card_wrap {
  display: flex;
  gap: 0px;
  max-width: 1280px;
  margin: auto;
}
.menu_card_wrap .menu_card_link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* ★ 通常の暗さ（ここで調整） */
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
/* hover時：オーバーレイを薄くして、少し明るく見せる */
.menu_card_wrap .menu_card_link:hover::before {
  opacity: 0.2; /* ★ 暗さを軽く */
}
/* 矢印を右にスライド */
.menu_card_wrap .menu_card_link:hover .more1 .icon img {
  transform: translateX(-2px);
}
/* 各カード */
.menu_card {
  flex: 1;
  overflow: hidden;
}
/* カード全体をリンクにする */
.menu_card_link {
  display: block;
  position: relative; /* 内側の absolute の基準 */
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.menu_card_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 画像の上にタイトル＋ボタンを重ねる */
.menu_card_inner {
  position: absolute;
  inset: 0;
  padding: 48px 40px;
  flex-direction: column; /* .flex で display:flex 済み */
}
/* タイトルを縦中央に固定（左寄せのまま） */
.menu_card_wrap .titlebox {
  margin-top: auto;
  margin-bottom: auto;
  text-align: left;
}
@media (max-width: 768px) {
  /* カードを縦並びに */
  .menu_card_wrap {
    flex-direction: column;
  }
  .menu_card_wrap .menu_card {
    width: 100%;
    margin: auto;
  }
  /* 高さを自動にして、縦長画面でも崩れにくく */
  .menu_card_wrap .menu_card_link {
    height: auto;
  }
  /* 画像は高さだけ固定ぎみ（お好みで数値調整OK） */
  .menu_card_wrap .menu_card_img {
    height: 260px;
  }
  /* 余白を少し小さく */
  .menu_card_wrap .menu_card_inner {
    padding: 32px 20px;
  }
  /* ボタン位置も少し内側に */
  .menu_card_wrap .more1 {
    bottom: 16px;
    left: 20px;
  }
}
.box1 .more1 {
  margin: 0;
  margin-top: 50px;
}
.box1 .box_wrap {
  flex-wrap: nowrap;
}
.box1 .box_wrap .imgboxwrap {
  width: 50%;
  gap: 0px;
}
.box1 .box_wrap .imgbox1 {
  width: 100%;
  max-width: clamp(320px, 32vw, 450px);
  margin-left: auto;
  margin-right: 0;
}
.box1 .box_wrap .imgbox2 {
  width: 70%;
  max-width: clamp(230px, 20vw, 260px);
  position: relative;
  margin-top: -80px;
  margin-right: auto;
  margin-left: 0;
}
.pagetitle h1 {
  font-size: clamp(32px, 5vw, 60px);
}
.pagetitle .titlebox p {
  opacity: 0.8;
}
/* タイトルは最前面に */
.pagetitle .titlebox {
  position: absolute;
  z-index: 2;
  align-items: flex-start;
  left: clamp(20px, 8vw, 120px);
}
/* ---------- pagetitle ---------- */
.pagetitle {
  position: relative;
  overflow: hidden;
  height: 100vh;
}
/* 背景スライド用イメージ（枠） */
.pagetitle .imgbox {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: auto;
  aspect-ratio: auto;
  width: 80%;
  max-width: 1600px;
  margin-left: auto; /* 右寄せ */
  overflow: hidden;
  opacity: 0;
  z-index: 1;
  /* 枠はフェードだけ */
  animation: pagetitleFade 6s infinite ease-in-out;
  animation-fill-mode: both;
  will-change: opacity;
}
/* 中身の画像だけズームさせる */
.pagetitle .imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transform-origin: center center;
  animation: pagetitleZoom 6s infinite ease-in-out;
  animation-fill-mode: both;
  will-change: transform;
}
/* 3枚を時間差で再生（≒1枚2秒） */
.pagetitle .imgbox:nth-of-type(1), .pagetitle .imgbox:nth-of-type(1) img {
  animation-delay: 0s;
}
.pagetitle .imgbox:nth-of-type(2), .pagetitle .imgbox:nth-of-type(2) img {
  animation-delay: 3s;
}
.pagetitle .imgbox:nth-of-type(3), .pagetitle .imgbox:nth-of-type(3) img {
  animation-delay: 6s;
}
@keyframes pagetitleFade {
  0% {
    opacity: 0;
  } /* まだ見えない */
  10% {
    opacity: 1;
  } /* ふわっと出てくる */
  45% {
    opacity: 1;
  } /* しっかり見えている時間 */
  80% {
    opacity: 0;
  } /* ゆっくり消えていく */
  100% {
    opacity: 0;
  } /* 次の順番待ち */
}
/* 画像だけじわっとズーム */
@keyframes pagetitleZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
.pagetitle .txtbox p {
  position: absolute;
  bottom: 120px;
  left: 120px;
  z-index: 100;
}
@media screen and (max-width: 1280px) {
  .box1 .box_wrap .imgboxwrap {
    width: 100%;
  }
  .box1 .box_wrap {
    flex-wrap: wrap;
  }
}
/* ---------- 1080px ~ ---------- */
@media screen and (max-width: 1080px) {}
/* ---------- 768px ~ ---------- */
@media screen and (max-width: 768px) {
  .box1 .box_wrap .imgbox2 {
    margin-top: 0px;
  }
}
/* ---------- 576px ~ ---------- */
@media screen and (max-width: 576px) {
  .pagetitle .imgbox {
    width: 100%;
  }
  .pagetitle .titlebox p{
    font-size:16px;
  }
}