@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap");

/* ==========================================================================
   Base Reset
   ========================================================================== */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.yuji-mai-regular {
  font-family: "Yuji Mai", serif;
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial,
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333333;
  background-color: #f9f9f9; /* 背景：明るいグレー */
  margin: 0;
  line-height: 1.8;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
}
span.inline {
  display: inline-block;
}
.pc-none {
  display: none;
}
@media (max-width: 768px) {
  body {
    line-height: 1.5;
  }
}
@media (max-width: 480px) {
  .pc-none {
    display: block;
  }
  .sp-none {
    display: none;
  }
}
a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

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

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mlc {
  text-align: center;
  margin: 0 auto;
}
/* ==========================================================================
   Loading Animation
   ========================================================================== */
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s, visibility 0.5s;
}

#loading-overlay.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #4e6e5d; /* Primary Color (濃いグリーン) */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Layout & Utilities
   ========================================================================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.section {
  padding: 100px 0;
}
@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }
}
.bg-white {
  background-color: #ffffff;
}

.bg-light {
  background-color: #f4f4f4;
}

.bg-accent-light {
  background-color: #efebe9; /* 薄い茶色 */
}

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

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

/* Margin Utilities */
.mt-10 {
  margin-top: 10px;
}
.mt-20 {
  margin-top: 20px;
}
.mt-30 {
  margin-top: 30px;
}
.mt-40 {
  margin-top: 40px;
}
.mt-60 {
  margin-top: 60px;
}
.mb-10 {
  margin-bottom: 10px;
}
.mb-20 {
  margin-bottom: 20px;
}
.mb-30 {
  margin-bottom: 30px;
}
.mb-40 {
  margin-bottom: 40px;
}
.mb-60 {
  margin-bottom: 60px;
}
.mb-80 {
  margin-bottom: 80px;
}
/* Font & Color Utilities */
.font-bold {
  font-weight: 700;
}
.text-accent {
  color: #8d5a44;
} /* アクセントカラー：赤みのある茶色 */
.text-primary {
  color: #4e6e5d;
} /* メインカラー：濃いグリーン */
.text-white {
  color: #ffffff;
}
.text-sub {
  color: #666666;
  font-size: 0.9rem;
}

/* Font Size Utilities */
.text-lg {
  font-size: 1.2rem;
}
.text-xl {
  font-size: 1.5rem;
}
.text-xxl {
  font-size: 1.8rem;
}
.text-xxxl {
  font-size: 2rem;
}
.text-huge {
  font-size: 2.5rem;
}
@media (max-width: 768px) {
  .text-xxl {
    font-size: 1.35rem;
  }
}

/* Flex Utilities */
.flex-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.flex-align-center {
  align-items: center;
}

.flex-reverse {
  flex-direction: row-reverse;
}

.flex-1 {
  flex: 1;
  min-width: 300px;
}

.flex-1-5 {
  flex: 1.5;
  min-width: 300px;
}

/* ==========================================================================
   Components
   ========================================================================== */
/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title-jp {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #8d5a44; /* 茶色 */
  margin-top: 0;
}
@media (max-width: 768px) {
  .section-title-jp {
    font-size: 1.5rem;
  }
  .section-header {
    margin-bottom: 30px;
  }
}
.section-title-en {
  font-size: 1.2rem;
  color: #4e6e5d; /* グリーン */
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
}

/* Buttons */
.btn-standard {
  display: inline-block;
  background-color: #8d5a44; /* 茶色で塗りつぶし */
  color: #ffffff;
  padding: 16px 60px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-standard:hover {
  background-color: #6d4534; /* 濃い茶色 */
  transform: translateY(-2px);
  opacity: 1;
}

.btn-outline {
  display: inline-block;
  border: 2px solid #8d5a44;
  color: #8d5a44;
  padding: 14px 40px;
  border-radius: 4px;
  font-weight: 700;
}

.btn-outline:hover {
  background-color: #8d5a44;
  color: #ffffff;
}

/* ==========================================================================
   Header (変更なし)
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo a {
  font-size: 1.7rem;
  font-weight: 700;
  color: #333333;
  display: flex;
  align-items: center;
  color: #df5930;
}
.logo img {
  display: block;
  width: 60px;
  margin-right: 0.5rem;
}
.pc-nav {
  display: flex;
  gap: 30px;
}

.pc-nav li a {
  font-size: 0.95rem;
  font-weight: 700;
  color: #333333;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

.pc-nav li a:hover,
.pc-nav li a.current {
  color: #4e6e5d;
  border-bottom-color: #4e6e5d;
}

/* Hamburger (Mobile) */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 2000;
}

.bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #333333;
  margin: 6px 0;
  transition: 0.4s;
}

@media (max-width: 992px) {
  header {
    padding: 10px 20px;
  }
  .pc-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
  }
  .pc-nav.active {
    opacity: 1;
    pointer-events: auto;
  }
  .hamburger {
    display: block;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

/* ==========================================================================
   Hero Section (TOP) - 再々修正
   ========================================================================== */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  /* 中央寄せをやめ、左寄せ（画像外）に配置 */
  align-items: center;
  justify-content: flex-start; /* 左寄せ */
  margin-bottom: 0;
  overflow: hidden; /* 画像がはみ出さないように */
  background-color: #fff;
}

.hero-bg {
  /* 画像を画面の右側に固定して配置 */
  position: absolute;
  top: 0;
  right: 0;
  width: 100%; /* 画面の右側60%を占有 */
  height: 100%;
  background: url("../img/fv.jpg") no-repeat right center/cover;
  z-index: 0;
}

/* 暗いフィルターを削除 */
.hero-bg::after {
  content: none;
}

.hero-content {
  position: absolute;
  left: 5%;
  bottom: 10%;
  z-index: 1;
  text-align: left; /* 左寄せ */
  max-width: 850px; /* 文字エリアの幅を制限 */
}

.hero-title {
  font-size: 3.2rem; /* PCサイズ */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-shadow: none;
  color: #4e6e5d; /* サブメッセージをメインカラーに */
}
.hero-title span {
  background-color: #fff;
  display: block;
  width: fit-content;
  font-kerning: normal;
  font-feature-settings: "pwid";
  padding: 0.3rem 1rem;
}
.hero-title span + span {
  margin-top: 0.5rem;
}
.hero-sub {
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 2;
  text-shadow: none;
  margin-top: 2rem;
  color: #333333; /* 文字色を黒に戻す */
}
.hero-sub span {
  background-color: #fff;
  display: block;
  width: fit-content;
  padding: 0.15rem 0.5rem;
}
.hero-sub span + span {
  margin-top: 0.5rem;
}
@media (max-width: 1000px) {
  /* PCサイズでも幅が狭い場合は調整 */
  .hero-content {
    left: 5%;
    bottom: 10%;
  }
  .hero-title {
    font-size: 2.6rem;
  }
}

@media (max-width: 768px) {
  /* モバイルでは従来の縦並びに戻す */
  .hero {
    justify-content: center;
    text-align: center;
    padding: 0 20px;
  }
  .hero-content {
    padding: 0 10px;
    position: absolute;
    left: 3%;
    bottom: 5%;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-sub {
    font-size: 1rem;
  }
}
@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
}
@media (max-width: 480px) {
  .hero-content {
    left: 0;
  }
  .hero-bg {
  }
}

/* MVとコンセプトセクションの間の区切り (削除) */
.hero-divider {
  content: none;
  height: 0;
}
/* ==========================================================================
   News Section (カテゴリー削除版)
   ========================================================================== */
.news-list {
  max-width: 900px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 20px 40px;
}

.news-item {
  border-bottom: 1px solid #eeeeee;
}

.news-item:last-child {
  border-bottom: none;
}

.news-link {
  display: flex;
  align-items: center;
  padding: 20px 0;
  color: #333333;
  transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.news-link:hover {
  background-color: #fafafa;
  padding-left: 10px;
  opacity: 1;
  color: #8d5a44;
}

.news-meta {
  display: flex;
  align-items: center;
  /* カテゴリーがなくなったので幅を狭めました */
  min-width: 120px;
  flex-shrink: 0;
}

.news-date {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: #8d5a44;
  /* margin-rightは不要になったので削除または0に */
  margin-right: 0;
}

/* .news-cat は削除しました */

.news-title {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .news-list {
    padding: 10px 20px;
  }
  .news-link {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 0;
  }
  .news-meta {
    margin-bottom: 5px;
    min-width: auto;
  }
  .news-date {
    font-size: 0.9rem;
  }
  .news-title {
    font-size: 0.95rem;
  }
}
/* ==========================================================================
   Concept Section (TOPの再々調整: 装飾をシンプルに)
   ========================================================================== */
.concept-section {
  padding: 100px 0;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .concept-section {
    padding: 50px 0;
  }
}

/* 背景テクスチャを削除 */
.concept-section::before {
  content: none;
}

.concept-content-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 60px; /* 隙間を広げる */
  align-items: center;
}

.concept-text-box {
  flex: 1.5;
  min-width: 300px;
  /* 装飾を削除し、クリーンなボックスにする */
  padding: 0;
  background-color: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.concept-text-box h3 {
  /* タイトルにアクセントラインを追加 (元のアイデアを活かしつつクリーンに) */
  border-left: 5px solid #8d5a44;
  padding-left: 20px;
  margin-bottom: 30px;
}

/* ==========================================================================
   Service Cards (変更なし)
   ========================================================================== */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.service-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-thumb {
  height: 220px;
  overflow: hidden;
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-thumb img {
  transform: scale(1.1);
}

.service-body {
  padding: 30px;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #8d5a44;
  font-weight: 700;
  border-left: 5px solid #4e6e5d;
  padding-left: 15px;
}
@media (max-width: 768px) {
  .service-body {
    padding: 16px;
  }
  .service-card h3 {
    font-size: 1.2rem;
  }
  .service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
  }
}
@media (max-width: 480px) {
  .concept-text-box h3 {
    padding-left: 10px;
    font-size: 1.25rem;
  }
}
/* ==========================================================================
   Gallery & Modal (変更なし)
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 4px 0;
  text-align: center;
  font-size: 0.8rem;
}

/* モーダル本体 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.modal-content img {
  max-width: 100%;
  max-height: 90vh;
  border: 2px solid #ffffff;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #ffffff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

/* ==========================================================================
   Tables & Forms (変更なし)
   ========================================================================== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.data-table th,
.data-table td {
  padding: 20px;
  border-bottom: 1px solid #eeeeee;
  text-align: left;
}

.data-table th {
  width: 30%;
  background-color: #4e6e5d; /* グリーン */
  color: #ffffff;
  font-weight: 700;
}

.form-row {
  margin-bottom: 30px;
}

.form-row label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: #333333;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #8d5a44;
}

/* ==========================================================================
   Page Headers (変更なし)
   ========================================================================== */
.page-header {
  padding: 160px 0 0;
  text-align: center;
  background: linear-gradient(to bottom, #ffffff, #f9f9f9);
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333333;
  margin: 0;
}
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }
}

/* ==========================================================================
   Animation (Fade Up)
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   B2B Section Styles (変更なし)
   ========================================================================== */
.b2b-box {
  background-color: #ffffff;
  padding: 60px 40px;
  max-width: 900px;
  margin: 0 auto;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.tag-item {
  background-color: #f5f5f5;
  padding: 10px 25px;
  border-left: 4px solid #8d5a44;
  font-weight: 700;
  color: #333333;
}

.contact-box-white {
  background-color: #ffffff;
  display: inline-block;
  padding: 30px 60px;
  border: 1px solid #cccccc;
  border-radius: 8px;
}

.com-item {
  padding: 1.5rem;
}

.lauph-img {
  width: 90%;
  max-width: 500px;
  display: block;
  margin: 0 auto 20px;
}

.topname {
  font-weight: bold;
  font-size: 1.4rem;
  text-align: right;
}

.top-contact-bottom {
  margin-top: 150px;
  font-size: 2rem;
}
.top-contact-bottom img {
  display: block;
  max-width: 400px;
  min-width: 200px;
  width: 90%;
  margin: 0 auto;
}
.top-contact-bottom p {
  margin-top: 1rem;
  font-weight: bold;
}
@media (max-width: 768px) {
  .com-item {
    padding: 1rem;
  }
  .data-table th,
  .data-table td {
    padding: 15px 10px;
  }
  .data-table th {
    width: 110px;
  }
  .data-table td {
    width: calc(100% - 110px);
  }
  .b2b-box {
    padding: 40px 20px;
  }
  .text-xl {
    font-size: 1.2rem;
  }
  .contact-box-white {
    padding: 20px;
  }

  .top-contact-bottom {
    font-size: 1.5rem;
    margin-top: 100px;
  }
  .logo a {
    font-size: 1.5rem;
  }
}
@media (max-width: 480px) {
  .topname {
    font-size: 1.2rem;
  }
}
/* ==========================================================================
   News Page Styles (一覧 & 詳細)
   ========================================================================== */

/* 一覧ページのリストボックス */
.news-list-box {
  padding: 0 40px; /* 横余白 */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* 影をつけて浮き上がらせる */
}

/* 詳細ページのコンテンツボックス */
.post-content-box {
  padding: 60px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* 一覧リストのデザイン（前回と同じ） */
.news-item {
  border-bottom: 1px solid #eeeeee;
}
.news-item:last-child {
  border-bottom: none;
}
.news-link {
  display: flex;
  align-items: center;
  padding: 25px 0;
  color: #333333;
  transition: padding-left 0.3s ease, color 0.3s ease;
}
.news-link:hover {
  padding-left: 10px;
  color: #8d5a44;
  opacity: 1;
}
.news-meta {
  min-width: 140px; /* 日付幅 */
  flex-shrink: 0;
}
.news-date {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: #8d5a44;
}
.news-title {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}

/* 詳細ページの中身 */
.single-header {
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 20px;
}
.single-date {
  display: block;
  font-weight: 700;
  color: #8d5a44;
  margin-bottom: 10px;
}
.single-title {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  color: #333333;
  margin: 0;
}
.single-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* 本文スタイル */
.single-body {
  font-size: 1rem;
  line-height: 2;
}
.single-body p {
  margin-bottom: 1rem;
}
.single-body h2 {
  font-size: 1.5rem;
  color: #4e6e5d;
  border-bottom: 2px solid #4e6e5d;
  padding-bottom: 10px;
  margin: 50px 0 25px;
  font-weight: 700;
}
.single-body h3 {
  font-size: 1.3rem;
  color: #8d5a44;
  margin: 40px 0 20px;
  font-weight: 700;
}
.single-body img {
  max-width: 100%;
  height: auto;
  margin: 20px 0;
}

/* 前後の記事ナビ */
.post-navigation {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #eeeeee;
  padding-top: 30px;
  margin-top: 60px;
}
.post-navigation a {
  font-weight: 700;
  color: #8d5a44;
}
.post-navigation a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* ページネーション */
.pagination {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #cccccc;
  color: #333333;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
  background-color: #fff;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background-color: #4e6e5d;
  color: #ffffff;
  border-color: #4e6e5d;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .news-list-box,
  .post-content-box {
    padding: 20px 15px;
  }
  .news-link {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 0;
  }
  .news-meta {
    margin-bottom: 5px;
  }
  .single-title {
    font-size: 1.4rem;
  }
  .post-navigation {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
/* ==========================================================================
   Properties (物件情報)
   ========================================================================== */
.property-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}

.property-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.property-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* 画像比率を固定 */
  overflow: hidden;
}

.property-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-thumb img {
  transform: scale(1.1);
}

.property-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.5;
  color: #333333;
}

.property-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #8d5a44; /* アクセントカラー */
  margin-top: auto; /* 下揃え */
  border-top: 1px solid #eeeeee;
  padding-top: 10px;
}

.property-price span {
  font-size: 0.9rem;
  color: #666666;
  margin-left: 5px;
}

/* 詳細ページのACFテーブル調整 */
.property-data-table th {
  background-color: #f4f4f4; /* 少し淡く */
  color: #333333;
  width: 25%;
}
@media (max-width: 768px) {
  .property-data-table th {
    width: 35%;
  }
}
/* ==========================================================================
   Properties (物件情報) - 更新版
   ========================================================================== */
.property-list {
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(320px, 1fr)
  ); /* 幅を少し広げました */
  gap: 40px;
}

.property-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%; /* 高さを揃える */
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.property-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* 少し横長に */
  overflow: hidden;
  background-color: #f0f0f0;
}

.property-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-thumb img {
  transform: scale(1.1);
}

.property-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.5;
  color: #333333;
  padding-bottom: 10px;
  border-bottom: 2px solid #4e6e5d; /* タイトル下に線 */
}

/* スペック表のスタイル */
.property-spec {
  font-size: 0.9rem;
  margin-top: auto;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dotted #cccccc;
  padding: 8px 0;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-row dt {
  font-weight: 700;
  color: #666666;
  width: 40%; /* ラベル幅 */
}

.spec-row dd {
  width: 60%; /* 値の幅 */
  text-align: right;
  color: #333333;
  word-break: break-all;
}

/* 価格だけ強調 */
.spec-row.price-row dd {
  font-weight: 700;
  color: #8d5a44; /* アクセントカラー */
  font-size: 1.1rem;
}

@media (max-width: 480px) {
  .property-list {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   TOPページ専用：横スクロール物件リスト
   ========================================================================== */
.property-scroll-container {
  display: flex;
  overflow-x: auto; /* 横スクロールを許可 */
  gap: 30px; /* カード間の隙間 */
  padding-bottom: 20px; /* スクロールバーのための余白 */

  /* スクロールの挙動を滑らかに */
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory; /* スクロールした時にカード単位でピタッと止まる */
}

/* スクロールバーの見た目をカスタマイズ（Chrome/Safari用） */
.property-scroll-container::-webkit-scrollbar {
  height: 8px;
}
.property-scroll-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
.property-scroll-container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}
.property-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

/* TOP用カードのサイズ固定 */
.property-scroll-container .property-card {
  /* 幅を固定しないと潰れてしまうため、最小幅を指定 */
  min-width: 300px;
  width: 300px;
  flex-shrink: 0; /* 縮まないようにする */
  scroll-snap-align: start; /* 左端に合わせて止まる */
}

/* スマホ調整 */
@media (max-width: 768px) {
  .property-scroll-container {
    gap: 15px;
    padding-right: 20px; /* 右端が見切れないように余白 */
  }
  .property-scroll-container .property-card {
    min-width: 260px;
    width: 260px;
  }
}
/* ==========================================================================
   クリック誘導 (Call To Action)
   ========================================================================== */
.property-more {
  margin-top: 15px; /* 上のスペック表との隙間 */
  padding-top: 15px;
  border-top: 1px solid #eeeeee; /* 区切り線 */
  text-align: right; /* 右寄せ */
  color: #8d5a44; /* アクセントカラー */
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transition: opacity 0.3s;
}

/* 矢印アイコンをCSSで作る */
.property-more::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 2px solid #8d5a44;
  border-right: 2px solid #8d5a44;
  transform: rotate(45deg);
  margin-left: 8px;
  margin-bottom: 1px;
  transition: transform 0.3s;
}

/* ホバー時に矢印がちょっと動くアニメーション */
.property-card:hover .property-more::after {
  transform: rotate(45deg) translate(3px, -3px);
}
input[type="submit"] {
  cursor: pointer;
}

.flex-dire p{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/* プライバシーポリシーの枠 */
.privacy-box {
    border: 1px solid #ccc;
    padding: 15px;
    height: 150px; /* 高さを固定 */
    overflow-y: scroll; /* 縦スクロールを表示 */
    background: #fff;
    font-size: 0.9em;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* 同意チェックボックス周り */
.privacy-check {
    text-align: center;
    margin-bottom: 20px;
}

/* 必須マークの色（既存であれば不要） */
.text-accent {
    color: #e03131; /* 赤色など */
}