@charset "UTF-8";

/* ====================================
   Variables & Common
   ==================================== */
:root {
  --color-dark: #333;
  --color-border: #ccc;
  --font-en: "Brush Script MT", cursive; 
}

.inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  box-sizing: border-box;
}

/* ====================================
   Hero Section (Main Visual)
   ==================================== */
.p-archive-mv {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  margin-bottom: 20px;
}
.p-archive-mv__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p-archive-mv__content {
  position: absolute;
  bottom: 30px;
  left: 10%;
  z-index: 2;
  text-shadow: 0 0 15px rgba(255,255,255,0.8);
}
.p-archive-mv__title .en {
  display: block;
  font-family: var(--font-en);
  font-size: 5rem;
  line-height: 1;
  color: #000;
}
.p-archive-mv__title .jp {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-top: 5px;
  color: #000;
  padding-left: 5px;
}

/* Breadcrumb */
.p-archive-breadcrumb {
  font-size: 12px;
  padding: 0 0 40px;
  margin-bottom: 20px;
}
.p-archive-breadcrumb a {
  text-decoration: none;
  color: #333;
}

/* ====================================
   Main Content (List)
   ==================================== */
.p-archive-main {
  position: relative;
  overflow: hidden; /* 背景画像のはみ出し防止 */
}

/* 背景画像（右下の線画） */
.p-archive-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: right bottom; /* 右下に配置 */
  background-size: 500px auto; /* サイズ調整 */
  z-index: 0;
}

.p-archive-inner {
  position: relative;
  z-index: 1;
  padding-bottom: 100px;
}

/* News List */
.p-archive-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 60px;
  max-width: 900px;
}

.p-archive-item {
  border-bottom: 1px solid var(--color-border);
}

.p-archive-item a {
  display: flex;
  align-items: baseline;
  gap: 30px;
  padding: 25px 0;
  text-decoration: none;
  color: var(--color-dark);
  transition: opacity 0.3s, background-color 0.3s;
}
.p-archive-item a:hover {
  opacity: 0.7;
}

.p-archive-date {
  font-weight: bold;
  font-size: 1rem;
  white-space: nowrap; /* 日付を折り返さない */
  min-width: 100px;
}

.p-archive-title {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: bold;
}

/* ====================================
   Pagination
   ==================================== */
.p-archive-pagination {
  margin-top: 40px;
  text-align: center;
}
.p-archive-pagination .nav-links {
  display: inline-flex;
  gap: 10px;
}
.p-archive-pagination a,
.p-archive-pagination span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: #333;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
.p-archive-pagination a:hover,
.p-archive-pagination span.current {
  background: #000; /* アクティブ時の色 */
  color: #fff;
}


/* ====================================
   Contact CTA (Common)
   ==================================== */
.p-contact {
  background-color: #d9dcdb;
  padding: 60px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}
.p-contact__bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  opacity: 0.3;
  background-image: url('../images/bg_contact.png'); /* 必要に応じてパス調整 */
  background-repeat: repeat-x;
  background-position: center bottom;
  background-size: contain;
}
.p-contact__inner { position: relative; z-index: 1; }
.p-contact__head { margin-bottom: 30px; }
.p-contact__title .en {
  display: block;
  font-family: var(--font-en);
  font-size: 3.5rem;
  line-height: 1;
  color: #000;
  position: relative;
  z-index: 1;
  padding: 0 15px;
  display: inline-block;
}
.p-contact__title .en::before {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  height: 12px;
  background-color: #568a47;
  z-index: -1;
}
.p-contact__title .jp {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  margin-top: 8px;
}
.p-contact__text {
  font-weight: bold;
  line-height: 2;
  margin-bottom: 40px;
}
.p-contact__actions {
  display: flex;
  justify-content: center;
  gap: 30px;
}
.p-contact__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 280px;
  height: 60px;
  color: #fff;
  font-weight: bold;
  font-size: 1.125rem;
  text-decoration: none;
  transition: opacity 0.3s;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}
.p-contact__btn:hover { opacity: 0.8; }
.p-contact__btn--line { background-color: #f09c16; }
.p-contact__btn--tel { background-color: #568a47; }


/* ====================================
   Responsive (SP)
   ==================================== */
@media (max-width: 768px) {
  .p-archive-mv__title .en { font-size: 4rem; }
  
  /* 背景画像を調整 */
  .p-archive-bg {
    background-size: 250px auto;
  }

  /* リストを縦並びにする場合 */
  .p-archive-item a {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 20px 0;
  }
  
  .p-contact__title .en { font-size: 3rem; }
  .p-contact__actions {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .p-contact__btn {
    width: 100%;
    max-width: 320px;
  }
}