@charset "utf-8";
/*
Theme Name: 瓦全房テーマ
Description: 瓦全房Website
Version: 1.0
*/

/* =========================================
   1. CSS変数（カスタムプロパティ）
========================================= */
:root {
  /* カラー */
  --primary--white: #F8F8F8;
  --primary--black: #2A332E;
  --primary--olive: #4B4F47;
  --primary--orange: #A24E38;
  --primary--beige: #EEE5DD;
  --primary--rightgreen: #8FB29F;
  --primary--grayborder: rgba(42, 51, 46, 0.3);

  /* フォント */
  --ff--sans: "Noto Sans JP", sans-serif;
  --ff--mincho: "Shippori Mincho", serif;
  --fw--light: 300;
  --fw--regular: 400;
  --fw--medium: 500;
  --fw--semibold: 600;

  /* フォントサイズ */
  --fs--section: clamp(2rem, 1.824rem + 0.75vw, 2.5rem);
  --fs--section-top: clamp(1.75rem, 1.574rem + 0.75vw, 2.25rem);
  --fs--main: clamp(0.938rem, 0.915rem + 0.09vw, 1rem);

  /* スペーシング */
  --space8: 8px;
  --space16: 16px;
  --space24: 24px;
  --space32: 32px;
  --space40: 40px;
  --space48: 48px;
  --space56: 56px;
  --space64: 64px;
  --space72: 72px;
  --space80: 80px;
  --space96: 96px;
}

/* =========================================
   2. ベーススタイル
========================================= */

html{
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff--mincho);
  font-size: var(--fs--main);
  font-weight: var(--fw--regular);
  font-style: normal;
  line-height: 1.5;
  letter-spacing: 0.03em;
  box-sizing: border-box;
  color: var(--primary--black);
  background:
    linear-gradient(to bottom, rgba(250, 250, 250, 0.6) 0%, rgba(248, 248, 248, 0.6) 100%),
    url(assets/images/web_contents/bgi.webp);
  background-repeat: repeat;
  background-position: left top;
  background-attachment: fixed;
}

/* トップページ用 */
body.home {
  font-family: var(--ff--sans);
}

@media screen and (max-width: 768px) {
  body {
    letter-spacing: 0;
  }
}

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

/* =========================================
   3. タイポグラフィ
========================================= */
h1, h2, h3, h4,
.main_visual,
.section_title,
nav,
.news_area,
footer {
  font-family: var(--ff--mincho);
  font-weight: var(--fw--regular);
  font-style: normal;
  line-height: 1.5;
}

.section_title {
  font-size: var(--fs--section);
  font-weight: var(--fw--medium);
  line-height: 1;
  text-align: left;
}

/* トップページ用 */
body.home .section_title {
  font-size: var(--fs--section-top);
  font-weight: var(--fw--semibold);
  text-align: center;
}

.section_sub {
  font-family: var(--ff--sans);
  font-size: clamp(0.875rem, 0.743rem + 0.56vw, 1.25rem);
  font-weight: var(--fw--light);
}

/* =========================================
   4. レイアウト
========================================= */
.layout {
  display: flex;
  flex-direction: row-reverse;
}

.main {
  flex: 1;
  padding: var(--space80) 8.9%;
  width: 100%;
}

body.home .main {
  padding: 0;
}

@media screen and (max-width: 768px) {
  .layout {
    flex-direction: column;
  }

  .main {
    flex: none;
    width: 100%;
    padding: var(--space96) 8%;
  }
}

.grecaptcha-badge{
  display: none;
}

/* =========================================
   5. ハンバーガーメニュー（SP専用）
========================================= */
.menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100dvh;
  background-color: var(--primary--beige);
  color: var(--primary--black);
  transition: right 0.3s ease;
  padding: 120px 8% var(--space40);
  z-index: 10;
}

.menu.open {
  right: 0;
}

@media screen and (max-width: 768px) {
  .menu {
    display: block;
  }
}

.hamburger {
  background-color: var(--primary--orange);
  position: fixed;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 20;
}

.lines {
  margin-top: 11.75px;
  display: flex;
  flex-direction: column;
  align-items: center;
  vertical-align: bottom;
  gap: 10px 0;
}

.hamburger span {
  display: block;
  height: 1px;
  width: 50%;
  background-color: var(--primary--white);
  transition: 0.4s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hamburger p {
  margin-top: var(--space8);
  font-family: var(--ff--mincho);
  color: var(--primary--white);
  font-size: 10px;
  font-weight: var(--fw--medium);
  line-height: 1;
  text-align: center;
}

.hamburger_nav-list {
  margin-top: 32px;
  padding-bottom: var(--space8);
  border-bottom: solid 1px var(--primary--black);
  font-size: clamp(1rem, 0.881rem + 0.51vw, 1.125rem);
}

.hamburger_nav-list:last-of-type,
.hamburger_nav-list:first-of-type {
  margin-top: 0;
}

.hamburger_nav-link {
  display: block;
  font-weight: 600;
  line-height: 1;
  position: relative;
}

.hamburger_nav-link::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--primary--black);
  border-bottom: 1px solid var(--primary--black);
  transform: translateY(-50%) rotate(-45deg);
}

.hamburger_nav-list:nth-last-of-type(-n + 4) {
  margin-right:15px;
  border: none;
  font-size: clamp(0.75rem, 0.631rem + 0.51vw, 0.875rem);
  display: inline-block;
}

.menu li:nth-last-of-type(-n + 4) a::after {
  content: none;
}

.menu_bottom {
  margin-top:15px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space24) 0;
}

.menu_bottom a {
  width: 32.6%;
}

.menu_bottom p {
  font-size: clamp(0.75rem, 0.631rem + 0.51vw, 0.875rem);
}

.menu_bottom p:last-of-type {
  font-size: clamp(0.625rem, 0.506rem + 0.51vw, 0.75rem);
}

.menu_sns {
  width: 100%;
  display: inline-flex;
  gap: 0 6.4%;
}

.menu_sns li {
  border-bottom: none;
}

.menu_sns li a::after {
  content: none;
}

.menu-logo{
display: none;
}

@media screen and (max-width: 768px) {
.menu-logo{
  display: block;
width:110px;
position: absolute;
left: 8%;
top: 30px;
z-index: 9999;
}
}

/* =========================================
   6. サイドナビゲーション（PC専用）
========================================= */
.side {
  width: 20%;
  max-width: 250px;
  min-width: 200px;
  text-align: center;
  padding-bottom: 100px;
}

.side_logo {
  width: 60%;
  margin-top: 42px;
  display: inline-block;
}

.side_nav {
  margin-top: 42px;
}

.side_middle {
  position: sticky;
  top: 20px;
  transition: opacity 0.5s ease;
}

.side_middle.hidden {
  opacity: 0;
  pointer-events: none;
}

.nav_list {
  margin-inline: auto;
  display: inline-flex;
  flex-direction: column;
  font-weight: var(--fw--semibold);
  font-size: clamp(14px, 1.2vw, 18px);
  letter-spacing: 0;
  gap: var(--space24) 0;
  text-align: left;
}

.nav_item {
  width: auto;
  max-width: 100%;
  text-align: center;
}

.nav_link {
  display: block;
  text-align: left;
}

.side_nav-owner {
  letter-spacing: 1em;
}

.side_nav-gallery,
.side_nav-abccess,
.side_nav-form {
  letter-spacing: 0.22em;
}

.side_sns {
  width: 56%;
  margin-top: 40px;
  display: inline-flex;
  justify-content: space-between;
}

.side_sns-item {
  width: 14.3%;
}

.side_openClose {
  width: 76%;
  margin-top: 51px;
  display: inline-block;
  font-family: var(--ff--mincho);
  font-weight: var(--fw--medium);
  font-size: 16px;
  border: solid 2px var(--primary--black);
}

.side_openClose-title {
  background-color: var(--primary--black);
  padding: var(--space8) 0;
  color: var(--primary--white);
}

.side_dateTime {
  padding: var(--space8) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space8) 0;
}

.side_openClose-text {
  font-size: 12px;
  font-weight: 400;
}

.side_openClose-time::before {
  content: "";
  display: inline-block;
  width: 8.4%;
  height: 13.3px;
  margin-right: 6.3px;
  background-image: url(assets/images/web_contents/timeIcon_bleck.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

@media screen and (max-width: 768px) {
  .side {
    display: none;
  }
}

/* =========================================
   7. パンくずリスト
========================================= */
.title_area {
  display: flex;
  flex-direction: column;
  gap: var(--space32) 0;
  margin-top: var(--space16);
}


.breadcrumbs_list {
  display: flex;
  gap: 0 var(--space8);
  line-height: 1;
  font-family: var(--ff--sans);
  font-size: clamp(0.75rem, 0.662rem + 0.38vw, 1rem);
  font-weight: var(--fw--light);
  min-width: 100%;
}

.breadcrumbs_list-item {
  white-space: nowrap;
}

.breadcrumbs_list-item::after {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  vertical-align: middle;
  transform: translateY(-20%) rotate(45deg);
  border: 0.05em solid var(--primary--olive);
  border-left: 0;
  border-bottom: 0;
  margin-left: 0.3em;
}

.breadcrumbs_list-item:last-of-type::after {
  display: none;
}

.breadcrumbs_list-link {
  position: relative;
  cursor: pointer;
  text-decoration: none;
}

.breadcrumbs_list-link::before {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 0.1em;
  background: var(--primary--black);
  bottom: -0.1em;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s;
}

.breadcrumbs_list-link:hover::before {
  transform: scale(1, 1);
}

@media screen and (max-width: 768px) {
  .breadcrumbs_list-item:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* =========================================
   8. 共通コンポーネント
========================================= */
/* More リンク矢印 */
.more_arrow {
  display: inline-block;
  vertical-align: middle;
  color: var(--primary--orange);
  line-height: 1;
  position: relative;
  width: 1em;
  height: 0.1em;
  background: currentColor;
  margin-left: 12px;
}

.more_arrow::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  border: 0.1em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg);
  transform-origin: top right;
  position: absolute;
  top: 50%;
  right: -0.05em;
}

.more_link {
  display: inline-block;
  margin-top: var(--space56);
  padding: var(--space8);
  border-bottom: solid 1px var(--primary--orange);
}

.more_link:hover {
  border-bottom: solid 2px var(--primary--orange);
}

/* アコーディオン共通 */
summary::-webkit-details-marker {
  display: none;
}

summary {
  list-style: none;
  cursor: pointer;
}

details[open] summary::after {
  transform: rotate(-45deg);
}

/* フェードインアニメーション */
.fadeIn_up {
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  transition: opacity 1s, visibility 1s, transform 1s;
}

.scroll {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 表示切替ヘルパー */
.pcBr {
  display: none;
}

.spBr {
  display: none;
}

@media screen and (max-width: 1000px) and (min-width: 769px) {
  .pcBr {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .pcBr {
    display: block;
  }

  .spBr {
    display: block;
  }
}

/* =========================================
   9. メインビジュアル（トップページ）
========================================= */
.main_visual {
  width: 100%;
  position: relative;
  aspect-ratio: 14.5 / 9;
  overflow: hidden;
}

.main_visual picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.main_visual-text {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 600;
  color: var(--primary--white);
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.catchcopy {
  font-size: clamp(1.125rem, 0.971rem + 0.66vw, 1.563rem);
  letter-spacing: 0.16em;
}

.ruby {
  margin-top: 20px;
  font-size: clamp(0.875rem, 0.743rem + 0.56vw, 1.25rem);
  letter-spacing: 0.5em;
  text-align: right;
}

.main_title {
  margin-top: 5px;
  font-size: clamp(2rem, 1.648rem + 1.5vw, 3rem);
  letter-spacing: 0.15em;
  line-height: 1;
}

.main_visual-info {
  width: 100%;
  max-width: 400px;
  background-color: var(--primary--white);
  position: absolute;
  bottom: 0;
  right: 0;
  font-weight: 500;
  line-height: 1;
  display: flex;
  transition: all 0.5s;
}

.main_visual-info:hover{
  transform: scale(1.01);
}

.info_openday {
  width: 34.5%;
  background-color: var(--primary--orange);
  color: var(--primary--white);
  font-size: clamp(1.125rem, 1.081rem + 0.19vw, 1.25rem);
  font-weight: var(--fw--semibold);
  letter-spacing: -0.03em;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info_exhibit {
  width: 65.5%;
  padding: var(--space16) 5%;
  text-align: center;
}

.info_openday{
  white-space: nowrap;
}

.info_exhibit-date {
  margin-top: var(--space8);
  font-size: 14px;
}

.info_exhibit-title {
  margin-top: 5px;
  font-size: 1em;
  line-height: 1.5;
}

.info_exhibit-date::before {
  content: "";
  background-color: var(--primary--black);
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: var(--space8);
}

@media screen and (max-width: 768px) {
  .main_visual {
    aspect-ratio: auto;
    height: 100dvh;
  }

  .main_visual-info {
    width: 100%;
    max-width: 100%;
  }
}

/* =========================================
   10. ニュースセクション
========================================= */
.news_area {
  padding: 72px 6.89%;
  line-height: 1;
  text-align: center;
}

.news_list {
  margin-top: var(--space64);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space32) 0;
}

.news_item {
  width: 100%;
  padding-bottom: var(--space32);
  border-bottom: dotted 1px var(--primary--black);
  display: flex;
  text-align: left;
  align-items: end;
  flex-wrap: wrap;
  gap: var(--space24) var(--space32);
}

/* トップページ用 */
body.home .news_item {
  max-width: 600px;
  padding-bottom: var(--space8);
  border-bottom: solid 1px rgba(42, 52, 46, 0.3);
  gap: 20px var(--space24);
}

.news_item:first-of-type {
  padding-top: var(--space32);
  border-top: dotted 1px var(--primary--black);
}

body.home .news_item:first-of-type {
  padding-top: 0;
  border-top: none;
}

.news_list .news_category {
  background-color: var(--primary--olive);
  padding: 5px 22px;
  font-size: clamp(0.75rem, 0.706rem + 0.19vw, 0.875rem);
  color: var(--primary--white);
  border-radius: 40px;
}


.news_list .news_category.exhibition {
  background-color: var(--primary--orange);
}

.holiday_info {
  background-color: var(--primary--olive);
}

.store_info {
  background-color: var(--primary--rightgreen);
}


.news_more {
  display: inline-block;
  margin-top: 30px;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .news_area {
    padding: var(--space64) 8%;
    line-height: 1;
    text-align: center;
  }

  .news_list {
    gap: var(--space24) 0;
  }

  .news_item {
    width: 100%;
    max-width: 700px;
    align-items: center;
  }

  .news_more {
    font-size: 14px;
  }
}

/* =========================================
   11. ニュース詳細ページ
========================================= */
.news_back {
  display: inline-block;
  margin-top: 20px;
  flex: 0 0 auto;
  font-family: var(--ff--sans);
  font-size: clamp(0.75rem, 0.662rem + 0.38vw, 1rem);
}

.news_back a {
  padding-bottom: 5px;
  border-bottom: solid 1px var(--primary--black);
}

.news_back a::before {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  vertical-align: middle;
  transform: translateY(-20%) rotate(45deg);
  border: 0.15em solid var(--primary--black);
  border-right: 0;
  border-top: 0;
  margin-right: 5px;
}

/* =========================================
   12. Aboutセクション（トップページ）
========================================= */
.about_area,
.gallery_area,
.access_area,
.faq_area,
.form_area {
  width: 100%;
  padding: 96px 6.89%;
}

@media screen and (max-width: 768px) {
  .about_area,
  .gallery_area,
  .access_area,
  .faq_area,
  .form_area {
    padding: 80px 8%;
  }
}

.about_area {
  background-color: var(--primary--beige);
  display: flex;
  flex-direction: column;
  font-family: var(--ff--mincho);
  font-weight: var(--fw--regular);
}

.about_top,
.about_bottom {
  display: flex;
}

.about_top-text,
.about_bottom-text {
  display: flex;
  flex-direction: column;
  align-items: start;
  flex: 1;
}

.about_top-text h2,
.about_bottom-text h2 {
  font-size: clamp(1.125rem, 0.993rem + 0.56vw, 1.5rem);
  line-height: 2;
}

.about_top p:last-child,
.about_bottom-text p {
  margin-top: var(--space32);
  font-family: var(--ff--sans);
  line-height: 1.8;
}

.about_top {
  flex-direction: row;
  justify-content: left;
  gap: 0 100px;
}

.about_top-title {
  margin-top: var(--space56);
}

.about_top-title p {
  font-weight: var(--fw--medium);
  letter-spacing: 0.4em;
  font-size: clamp(0.75rem, 0.662rem + 0.38vw, 1rem);
  text-align: right;
}

.about_top-title h3 {
  font-size: clamp(2rem, 1.824rem + 0.75vw, 2.5rem);
  line-height: 1;
}

.about_bottom {
  flex-direction: row-reverse;
  margin-top: 100px;
  gap: 0 136px;
}

.about_bottom-text {
  justify-content: center;
}

.about_top img {
  width: 53.3%;
  height: auto;
  max-width: 700px;
  object-fit: cover;
  align-self: flex-start;
  flex: 1;
}

.about_bottom img {
  width: 39.6%;
  height: auto;
  max-width: 700px;
  object-fit: cover;
  align-self: flex-start;
}

@media screen and (max-width: 1200px) and (min-width: 769px) {
  .about_area {
    padding: 5%;
  }

  .about_top,
  .about_bottom {
    flex-direction: column-reverse;
    gap: var(--space32) 0;
  }

  .about_top-title {
    margin-top: var(--space32);
  }

  .about_top img,
  .about_bottom img {
    width: 100%;
    max-width: 100%;
  }

  .about_top p:last-child,
  .about_bottom-text p {
    margin-top: var(--space32);
    line-height: 2;
  }

  .br_1400px {
    display: none;
  }

  .about_bottom {
    margin-top: var(--space72);
  }

  .about_bottom img {
    margin-top: var(--space32);
  }
}

@media screen and (max-width: 768px) {
  .about_area {
    padding: 0;
  }

  .about_top,
  .about_bottom {
    flex-direction: column-reverse;
    gap: var(--space32) 0;
  }

  .about_top-text,
  .about_bottom {
    padding: 0 8%;
  }

  .br_1400px {
    display: none;
  }

  .about_top-title {
    margin-top: var(--space32);
  }

  .about_top p:last-child,
  .about_bottom-text p {
    margin-top: var(--space32);
    line-height: 2;
  }

  .about_bottom {
    margin-top: var(--space72);
  }

  .about_top img,
  .about_bottom img {
    width: 100%;
    max-width: 100%;
  }

  .about_bottom img {
    margin-top: var(--space32);
  }
}

/* =========================================
   13. オーナーセクション（トップページ）
========================================= */
.owner_area {
  padding-top: var(--space96);
  width: 100%;
  margin-top: var(--space48);
}

.owner {
  text-align: left;
}

.owner_top {
  margin-top: var(--space64);
  display: flex;
  gap: 0 100px;
}

.owner_top-text {
  flex: 1;
}

.owner_name-area {
  font-weight: var(--fw--semibold);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px 0;
}

.owner_name {
  font-size: clamp(1.375rem, 1.199rem + 0.75vw, 1.875rem);
}

.owner_top-text > p {
  margin-top: var(--space32);
  text-align: left;
  font-family: var(--ff--sans);
  line-height: 1.8;
}

.owner_top-text > p:first-of-type {
  margin-top: var(--space64);
}

.owner_top img {
  width: 44.6%;
  height: auto;
  object-fit: cover;
  align-self: flex-start;
}

.owner_bottom {
  margin-top: var(--space72);
}

.owner_history {
  padding: 30px 2.9%;
  border: solid 1px var(--primary--black);
  font-family: var(--ff--sans);
  font-size: 16px;
}

.owner_history h4 {
  display: flex;
  align-items: center;
  gap: 0 var(--space8);
}

.owner_history h4::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary--black);
}

.owner_history p {
  margin-top: var(--space8);
}

.owner_text-more {
  text-align: right;
}

@media screen and (max-width: 1600px) {
  .br_1600px {
    display: none;
  }
}

@media screen and (max-width: 1200px) and (min-width: 769px) {
  .owner_area {
    margin-top: var(--space72);
  }

  .owner_top {
    margin-top: var(--space48);
    flex-direction: column-reverse;
  }

  .owner_top img {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }

  .owner_name {
    margin-top: var(--space32);
  }

  .owner_top-text > p,
  .owner_top-text > p:first-of-type {
    margin-top: var(--space32);
  }

  .owner_bottom {
    margin-top: var(--space48);
  }

  .owner_history {
    padding: 20px 2.9%;
    font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
  }

  .owner_text-more {
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .owner_area {
    margin-top: var(--space72);
    padding: 0 8%;
  }

  .owner_top {
    margin-top: var(--space48);
    flex-direction: column-reverse;
  }

  .owner_top img {
    width: 100%;
  }

  .owner_name {
    margin-top: var(--space32);
  }

  .owner_top-text > p,
  .owner_top-text > p:first-of-type {
    margin-top: var(--space32);
  }

  .owner_bottom {
    margin-top: var(--space48);
  }

  .owner_history {
    padding: 20px 2.9%;
    font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
  }

  .owner_text-more {
    text-align: center;
  }
}

/* =========================================
   14. 日記セクション
========================================= */
/* トップページ用 */
body.home .diary_area {
  margin-top: 128px;
}

.diary_area {
  margin-top: 112px;
}

.diary {
  text-align: left;
}

.diary_contents {
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:var(--space56) var(--space32);
}

@media screen and (max-width: 1200px) {
  .diary_contents {
    grid-template-columns: 1fr 1fr;
  }
}

body.home .diary_contents {
  margin-top: var(--space56);
}

.diary_item {
  background-color: var(--primary--white);
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(50% - var(--space56));
  border: solid 1px var(--primary--grayborder);
  gap: 10px 0;
}

body.home .diary_item {
  border: none;
  gap: var(--space16) 0;
}

body.home .diary_item:last-of-type{
  display: none;
}

@media screen and (max-width: 1200px) {
  body.home .diary_item:last-of-type{
    display: flex;
  }
}

.diary_item img {
  aspect-ratio: 1.532 / 1;
  object-fit: cover;
  width:100%;
}

body.home .diary_item img {
  aspect-ratio: 16 / 9;
}

.diary_item span {
  display: block;
  max-width: 100px;
  height: 2px;
  background-color: var(--primary--orange);
  margin: 10px 0;
}

body.home .diary_item span {
  width: 50px;
  max-width: none;
  margin: 0;
}

.diary_item .diary_title{
  font-size: clamp(1rem, 0.956rem + 0.19vw, 1.125rem);
  font-weight: var(--fw--semibold);
}

.diary_item time {
  font-size: clamp(0.75rem, 0.706rem + 0.19vw, 0.875rem);
}

.diary_item p {
  font-family: var(--ff--sans);
  letter-spacing: 0;
  font-size: clamp(0.85rem, 0.806rem + 0.20vw, 0.975rem);
  line-height: 1.8;
}

.diary_item a{
  overflow: hidden;
}

.diary_item a img{
  transition: all 0.5s;
}

.diary_item a:hover img{
  transform: scale(1.05);
}

.diary_item a.more-link {
  text-align: center;
 background:var(--primary--black);
 color: var(--primary--beige);
 padding: 10px;
 margin-top:10px;
 transition: all 0.5s;
}

.diary_item a.more-link:hover{
  background: var(--primary--grayborder);
  color: var(--primary--black);
}

.diary_more {
  text-align: right;
}

/* ページネーション */
.pagination {
  margin-top: 100px;
  display: flex;
  justify-content: center;
  gap: 0 var(--space16);
}

.pagination a,
.pagination > span{
  width: 34px;
  height: 34px;
  text-align: center;
  line-height: 34px;
  background-color: var(--primary--white);
  border: solid 1px var(--primary--black);
}

.pagination a{
  background-color: var(--primary--black);
  color: var(--primary--white);
}



@media screen and (max-width: 768px) {
  .diary_area {
    margin-top: var(--space56);
  }

  body.home .diary_area {
    margin-top: 72px;
    padding: 0 8% 80px;
  }

  .diary_contents {
    flex-direction: column;
  }

  body.home .diary_contents {
    margin-top: 56px;
  }

  .diary_item {
    width: 100%;
    flex: 0 0 100%;
    gap: var(--space16) 0;
  }

  .diary_more {
    text-align: center;
  }
}

@media screen and (max-width: 500px) {
  .diary_contents {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   15. 詳細ページ共通（日記・ニュース）
========================================= */
.detail_page {
  margin-top: var(--space64);
  display: flex;
  flex-direction: column;
  gap: 80px 0;
}

.detail_page-lead {
  padding-bottom: 20px;
  display: inline-flex;
  flex-direction: column;
  gap: 10px 0;
  border-bottom: solid 2px rgba(42, 52, 46, 0.3);
}

.detail_page-title {
  font-size: clamp(1rem, 0.824rem + 0.75vw, 1.5rem);
  font-weight: var(--fw--semibold);
}

/* 日記詳細用 */

.post-image{
  text-align: center;
}

.page-diary .detail_page-title {
  font-size: clamp(2rem, 1.824rem + 0.75vw, 2.5rem);
}

.detail_page-text {
  font-family: var(--ff--sans);
  font-size: clamp(0.938rem, 0.871rem + 0.28vw, 1.125rem);
  line-height: 2;
}

.detail_page-text p{
  margin-bottom: 1em;
}

.detail_page-text p a{
  text-decoration: underline;
}

.detail_page-text p a:hover{
  text-decoration: none;
}

.detail_page-text span {
  display: inline-block;
  margin: 2em 0;
}

/* 日記詳細用 */
.page-diary .detail_page-text span {
  margin-top: 2em;
  margin-bottom: 0;
}

/* 記事ナビゲーション */
.post-navigation {
  display: flex;
  justify-content: space-between;
}

.post-navigation a {
  padding: 5px 1em;
  font-size: clamp(0.75rem, 0.662rem + 0.38vw, 1rem);
  font-family: var(--ff--sans);
  font-weight: var(--fw--light);
  background-color: var(--primary--white);
  border: solid 1px var(--primary--black);
}

.diary_img {
  width: 100%;
  max-width: 900px;
  text-align: center;
}

figcaption {
  margin-top: var(--space16);
  font-family: var(--ff--sans);
  font-size: clamp(0.938rem, 0.827rem + 0.47vw, 1.25rem);
}

@media screen and (max-width: 768px) {
  .detail_page {
    gap: var(--space56) 0;
  }
}

/* =========================================
   16. ギャラリーセクション（トップページ）
========================================= */
.gallery_area {
  display: flex;
  flex-direction: column;
  font-family: var(--ff--mincho);
}

.gallery {
  text-align: left;
}

.gallery_area-block {
  margin-top: var(--space64);
  display: flex;
  flex-direction: column;
  gap: var(--space16) 0;
}

.gallery_contents--area {
  display: flex;
  flex-wrap: wrap;
  gap: 0 80px;
}

.gallery_contents {
  margin-top: var(--space96);
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(50% - 80px);
}

.exhibition_text-more{
  text-align: center;
}

.gallery_item {
  background: var(--primary--grayborder);
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.gallery_item img {
  width: auto;
  height: 100%;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}
.gallery_group .meta {
  margin-top:0.5em;
  padding-right: 1em;
  font-size: clamp(0.75rem, 0.706rem + 0.19vw, 0.875rem);
  text-align: right;
}

.gallery_artist {
  margin-top: var(--space32);
  text-align: center;
}

.gallery_artist-name {
  font-size: clamp(1.5rem, 1.368rem + 0.56vw, 1.875rem);
  font-weight: var(--fw--semibold);
  font-family: var(--ff--mincho);
}

.gallery_artist-title {
  margin-top: var(--space8);
  font-size: clamp(1.125rem, 1.081rem + 0.19vw, 1.25rem);
  font-family: var(--ff--mincho);
}

.gallery_accordion {
  margin-top: var(--space24);
}

.artist_more {
  text-align: center;
  padding: 5px 0 10px 0;
  border-bottom: solid 1px var(--primary--grayborder);
  position: relative;
}

.artist_more::after {
  content: "";
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  transform: rotate(135deg);
  border: 0.1em solid var(--primary--orange);
  border-left: 0;
  border-bottom: 0;
  margin-left:1em;
  position: relative;
  top: -3px;
}

.artist_more-text {
  display: block;
  margin-top: 1em;
  padding-left: 5px;
  font-family: var(--ff--sans);
  line-height: 2;
}

.gallery_other {
  background-color: var(--primary--beige);
  margin-top: var(--space96);
  padding: var(--space72) 6.89%;
  font-family: var(--ff--mincho);
  text-align: center;
}

.gallery_other h2{
  font-size: clamp(1.125rem, 0.993rem + 0.56vw, 1.5rem);
}

.gallery_other h3{
  margin: var(--space32) 0;
  text-align: left;
}

.gallery_other p{
font-family: var(--ff--sans);
text-align: left;
}

.other_artist-list {
  margin-top: 1em;
  font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
  display: flex;
  flex-wrap: wrap;
}

.other_artist-list li {
  white-space: nowrap;
  line-height: 1.6;
}

@media screen and (max-width: 768px) {
  .gallery_contents--area {
    flex-wrap: nowrap;
    flex-direction: column;
    margin-top: var(--space64);
    gap: 64px 0;
  }

  .gallery_contents {
    margin-top: 0;
    flex: 0;
  }

  .gallery_other {
    padding: var(--space72) 8%;
  }

  .gallery_other-artist h4 {
    font-family: var(--ff--sans);
  }
}

/* =========================================
   17. アクセスセクション（トップページ）
========================================= */
.access {
  text-align: left;
}

.access_group {
  margin-top: var(--space64);
}

.access_name {
  font-size: clamp(1.25rem, 1.162rem + 0.38vw, 1.5rem);
}

.access_address {
  margin-top: var(--space24);
}

.address_link {
  display: inline-block;
  margin-top: var(--space16);
  padding: 10px 20px;
  font-weight: var(--fw--light);
  border: solid 1px var(--primary--black);
  border-radius: 30px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.address_link:hover {
  background-color: var(--primary--black);
  color: var(--primary--white);
}

.address_link::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-size: contain;
  background-image: url(assets/images/web_contents/mapIcon.svg);
  background-repeat: no-repeat;
  margin-right: 5px;
  transition: filter 0.3s ease;
}

.address_link:hover::before {
  filter: invert(100%);
}

.open_close-time {
  display: flex;
  flex-direction: column;
  gap: var(--space16) 0;
  line-height: 1;
}

.access_openClose {
  font-size: clamp(1.25rem, 1.162rem + 0.38vw, 1.5rem);
}

.access_openClose-datetime {
  font-size: clamp(1rem, 0.912rem + 0.38vw, 1.25rem);
}

.access_openClose-text {
  font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
  font-weight: var(--fw--light);
}

.access_group-bottom {
  margin-top: var(--space56);
  display: flex;
  gap: 0 var(--space48);
  line-height: 1;
}

.access_group-bottom dl {
  padding: 4.1%;
  display: flex;
  flex-direction: column;
  gap: var(--space16) 0;
  border: solid 1px var(--primary--black);
  flex: 1;
}

.access_group-bottom dl dt {
  font-size: clamp(1.25rem, 1.162rem + 0.38vw, 1.5rem);
  font-family: var(--ff--mincho);
}

.access_group-bottom dl dd {
  font-size: clamp(0.875rem, 0.787rem + 0.38vw, 1.125rem);
  font-weight: var(--fw--light);
  line-height: 1.5;
}

.trainIcon::before,
.carIcon::before,
.bicycleIcon::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 5px;
  background-repeat: no-repeat;
  background-size: contain;
}

.trainIcon::before {
  background-image: url(assets/images/web_contents/trainIcon.svg);
}

.carIcon::before {
  background-image: url(assets/images/web_contents/carIcon.svg);
}

.bicycleIcon::before {
  background-image: url(assets/images/web_contents/bicycleIcon.svg);
}

.bicycle_parking {
  color: #3843a2;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .access_openClose-datetime,
  .access_openClose-text {
    line-height: 1.5;
  }

  .access_group-bottom {
    flex-direction: column;
    gap: var(--space32) 0;
  }

  .access_group-bottom dl {
    padding: var(--space16) 2.8%;
  }

  .address_link:hover {
    background-color: var(--primary--white);
    color: var(--primary--black);
  }

  .address_link:hover::before {
    filter: invert(0%);
  }
}

/* =========================================
   18. FAQセクション（トップページ）
========================================= */
.faq_area {
  background-color: var(--primary--beige);
}

.faq_contents {
  margin-top: var(--space64);
  display: flex;
  flex-direction: column;
  gap: var(--space32) 0;
}

.faq_accordion {
  background-color: var(--primary--white);
}

.faq_accordion-title {
  padding: 20px 20px 20px 25px;
  border-left: solid 10px var(--primary--rightgreen);
  border-bottom: solid 2px var(--primary--rightgreen);
  font-size: clamp(0.875rem, 0.743rem + 0.56vw, 1.25rem);
  position: relative;
}

.faq_accordion-title::after {
  content: "";
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%) rotate(135deg);
  border: 0.1em solid currentColor;
  border-left: 0;
  border-bottom: 0;
}

.faq_accordion-text {
  display: inline-block;
  padding: 20px 20px 20px 30px;
  font-size: clamp(0.75rem, 0.662rem + 0.38vw, 1rem);
}

/* =========================================
   19. フォームセクション（トップページ）
========================================= */
.form {
  text-align: left;
}

.form_block {
  margin-top: var(--space64);
  font-size: clamp(0.75rem, 0.662rem + 0.38vw, 1rem);
}

.form_block-text {
  margin-top: var(--space24);
}

.form_block-text a {
  text-decoration: underline;
}

.form_item {
  margin-top: var(--space32);
  line-height: 1;
}

.form_item-category {
  font-size: clamp(1rem, 0.912rem + 0.38vw, 1.25rem);
}

.form_item-category::before {
  content: "必須";
  display: inline-block;
  background-color: var(--primary--white);
  padding: 3px 10px;
  font-size: clamp(0.625rem, 0.581rem + 0.19vw, 0.75rem);
  color: var(--primary--orange);
  border: solid 2px var(--primary--orange);
  margin-right: 12px;
}

.form_category-group {
  margin-top: var(--space8);
}

.form_category-group input {
  width: 100%;
  background-color: var(--primary--white);
  padding: 18px 10px;
  border: solid 1px var(--primary--black);
  font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
}

.form_category-group textarea {
  width: 100%;
  height: 300px;
  background-color: var(--primary--white);
  padding: 18px 10px;
  border: solid 1px var(--primary--black);
  font-size: clamp(0.875rem, 0.831rem + 0.19vw, 1rem);
}

.form_item-button {
  text-align: center;
  font-family: var(--ff--mincho);
}

.form_btn {
  background-color: var(--primary--white);
  padding: 20px 70px;
  border-style: solid;
  border-color: var(--primary--black);
  border-width: 1px 3px 3px 1px;
  font-size: clamp(0.875rem, 0.743rem + 0.56vw, 1.25rem);
  font-weight: var(--fw--semibold);
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.form_btn:hover {
  background-color: var(--primary--black);
  color: var(--primary--white);
}

.wpcf7-spinner{
  margin:0 auto;
  display: block;
}

@media screen and (max-width: 768px) {
  .form_item-category::before {
    border: solid 1px var(--primary--orange);
  }

  .form_btn {
    padding: 16px 50px;
  }

  .form_btn:hover {
    background-color: transparent;
    color: var(--primary--black);
  }
}

/* =========================================
   20. 歴史ページ
========================================= */
.history_area {
  margin-top: 128px;
  display: flex;
  flex-direction: column;
  gap: 100px 0;
}

.history_block {
  display: flex;
  gap: 0 10.7%;
}

.history_block:nth-of-type(2) {
  flex-direction: row-reverse;
}

.history_block:nth-of-type(2) .column_title {
  letter-spacing: 0.2em;
}

.column_title {
  font-size: clamp(1.25rem, 0.986rem + 1.13vw, 2rem);
  font-weight: var(--fw--semibold);
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.5em;
}

.history_group-caption {
  margin-top: var(--space8);
  font-size: clamp(0.625rem, 0.493rem + 0.56vw, 1rem);
}

.history_text {
  font-size: clamp(0.875rem, 0.743rem + 0.46vw, 1.25rem);
  line-height: 2;
}

@media screen and (max-width: 768px) {
  .page-history .main {
    padding: var(--space80) 0 var(--space64);
  }

  .page-history .title_area {
    padding: 0 8%;
  }

  .history_area {
    margin-top: var(--space64);
    gap: var(--space64) 0;
    align-items: center;
  }

  .history_block {
    padding-left: 8%;
  }

  .history_block:nth-of-type(2) {
    padding-left: 0;
    padding-right: 8%;
  }

  .history_text {
    padding: 0 8%;
  }

  .caption_two {
    text-align: right;
  }
}

/* =========================================
   21. プライバシーポリシーページ
========================================= */
.privacy_area {
  margin-top: var(--space64);
  display: flex;
  flex-direction: column;
  gap: var(--space40);
  font-family: var(--ff--sans);
  font-weight: var(--fw--regular);
    font-size: clamp(1rem, 0.956rem + 0.19vw, 1.125rem);
    line-height: 2;
}

.privacy_area h2 {
  font-size: clamp(1.25rem, 1.162rem + 0.38vw, 1.5rem);
  font-weight: var(--fw--semibold);
  font-family: var(--ff--mincho);
}

.privacy_area h2::before {
  content: "";
  display: inline-block;
  width: 0.3em;
  height: 1em;
  background-color: var(--primary--rightgreen);
  margin-right: 0.5em;
}


.privacy_area ul li{
  margin-bottom: var(--space16);
  list-style: disc;
  margin-left:1.3em;
  font-weight: var(--fw--light);
}


.privacy_area ul li::marker{
  color:var(--primary--olive);
 }

/* =========================================
   22. フッター
========================================= */
.footer {
  background-color: var(--primary--black);
  padding: 80px 5.5% 32px 20%;
  display: flex;
  flex-direction: column;
  gap: 80px 0;
  font-size: clamp(0.813rem, 0.746rem + 0.28vw, 1rem);
  color: var(--primary--white);
}

.footer_top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer_info {
  width: 23%;
  display: inline-flex;
  flex-direction: column;
  gap: var(--space8) 0;
  font-weight: 400;
}

.footer_logo-link {
  display: block;
   width:60%;
}


@media screen and (max-width: 768px) {
  .footer_logo-link {
    display: block;
     width:50%;
    margin:0 auto;
  }
}

.footer_sns {
  display: flex;
  gap:1.5em;
  margin:20px 0;
}

@media screen and (max-width: 768px) {
  .footer_sns {
    justify-content: center;
    gap:2em;
  }
}

.footer_openClose {
  width: 22.3%;
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  gap: 10px 0;
  font-size: clamp(1rem, 0.956rem + 0.19vw, 1.125rem);
  text-align: center;
  border: solid 1px var(--primary--white);
}

.footer_openClose-title {
  padding: var(--space8) 10.4%;
  border-bottom: solid 1px var(--primary--white);
}

.footer_dateTime {
  display: flex;
  padding: 10px 0;
  flex-direction: column;
  gap: 10px 0;
}

.footer_openClose-day {
  padding: 0 0.5em;
}

.footer_openClose-text {
  font-size: clamp(0.75rem, 0.706rem + 0.19vw, 0.875rem);
  letter-spacing: 0.1em;
}

.footer_openClose-time::before {
  content: "";
  display: inline-block;
  width: 7%;
  height: 13.3px;
  margin-right: 6.3px;
  background-image: url(assets/images/web_contents/timeIcon_white.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.footer_nav {
  width: 100%;
  max-width: 283px;
  display: flex;
  font-size: 14px;
  line-height: 1;
  gap: 0 16%;
}

.footer_nav-listLeft,
.footer_nav-listRight {
  display: flex;
  flex-direction: column;
  gap: 26.25px 0;
}

.footer_nav-about {
  letter-spacing: 0.1em;
}

.footer_nav-access,
.footer_nav-gallery {
  letter-spacing: 0.3em;
}

.footer_nav-owner,
.footer_nav-news {
  letter-spacing: 1.1em;
}

.footer_nav-form {
  letter-spacing: 0.3em;
}

.footer_nav-diary {
  letter-spacing: 0.55em;
}

.privacy {
  font-size: clamp(0.625rem, 0.603rem + 0.09vw, 0.688rem);
  letter-spacing: 0;
}

.footer_bottom {
  display: flex;
  justify-content: space-between;
}

.footer_label-text {
  font-size: clamp(0.75rem, 0.75rem + 0vw, 0.875rem);
  letter-spacing: 0.06em;
}

.copy small{
  margin-top: var(--space8);
  font-size: clamp(0.75rem, 0.68rem + 0.3vw, 0.875rem);
}

.store_button {
  padding: 18px 3%;
  display: inline-block;
  text-align: center;
  background-color: var(--primary--white);
  color: var(--primary--black);
  font-size: clamp(0.75rem, 0.68rem + 0.3vw, 0.875rem);
  font-weight: var(--fw--semibold);
}

.store_button:hover {
  background-color: var(--primary--orange);
  color: var(--primary--white);
  border: solid 1px var(--primary--white);
}

/* フッター タブレット・SP対応 */
@media screen and (max-width: 1320px) {
  .br_1300px {
    display: none;
  }

  .footer_openClose-text br {
    display: block;
  }
}

@media screen and (max-width: 990px) {
  .footer_info {
    font-size: 12px;
  }

  .footer_dateTime {
    font-size: 1.6vw;
  }

  .footer_openClose-text {
    font-size: 10px;
  }
}

@media screen and (max-width: 768px) {
  .footer {
    padding:var(--space80) var(--space24);
    gap: var(--space24) 0;
  }

  .footer_top {
    padding: 0;
    flex-direction: column;
  }

  .footer_top,
  .footer_bottom {
    max-width: 300px;
    margin-inline: auto;
  }

  .footer_info {
    width: 100%;
    gap: var(--space16) 0;
    justify-content: left;
  }

  .footer_openClose {
    width: 100%;
    margin-top: var(--space16);
  }

  .footer_dateTime {
    font-size: 15px;
  }

  .footer_nav {
    width: 100%;
    max-width: 100%;
    margin-top: var(--space40);
    justify-content: space-between;
  }

  .footer_nav-faq,
  .footer_nav-history {
    letter-spacing: 0.05em;
  }

  .footer_item {
    width: 100%;
  }

  .footer_nav-link {
    display: block;
    width: 100%;
  }

  .footer_nav-link span {
    width: 100%;
  }

  .footer_bottom {
    width: 100%;
    padding: 0;
    flex-direction: column-reverse;
  }

  .footer_label-text {
    margin-top: var(--space16);
  }

  .copy {
    margin-top: var(--space32);
  }

  .store_button:hover {
    background-color: var(--primary--white);
    color: var(--primary--black);
    border: none;
  }
}
