/* TOPページ専用スタイル */

/* ===========================
   リセット・ベース
   =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: var(--black);
  background: #fff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Diviの干渉リセット */
body.page-top #page-container {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
}

body.page-top #main-content,
body.page-top #et-main-area {
  margin: 0 !important;
  padding: 0 !important;
}

/* ===========================
   ヒーロースライダー
   =========================== */
.pt-hero-wrap {
  position: relative;
  height: 584px;
  z-index: 10;
  overflow: visible;
}

.hero-swiper {
  height: 584px;
  overflow: hidden;
}

.hero-swiper .swiper-slide {
  position: relative;
  height: 584px;
  overflow: hidden;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.5));
}

.hero-slide-content {
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 5;
  width: 90%;
  max-width: 900px;
}

.hero-slide-title {
  font-size: 40px;
  font-weight: 700;
  color: #f9ffee;
  line-height: 1.35;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-slide-sub {
  background: rgba(255, 255, 255, 0.92);
  color: #606060;
  font-size: 18px;
  font-weight: 700;
  padding: 4px 16px;
  line-height: 1.6;
}

.hero-slide-desc {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.7;
}

.hero-slide-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--main);
  border: 2px solid #fff;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 4px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

/* Swiperナビ */
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(248, 250, 241, 0.95);
  border: 1.5px solid rgba(160, 200, 29, 0.9);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
  content: '';
  width: 14px;
  height: 14px;
  border-top: 4px solid var(--main);
  border-right: 4px solid var(--main);
  border-radius: 1px;
}

.hero-swiper .swiper-button-next::after {
  transform: rotate(45deg);
}

.hero-swiper .swiper-button-prev::after {
  transform: rotate(-135deg);
}

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.hero-swiper .swiper-pagination {
  bottom: 16px;
}

.hero-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.6);
  opacity: 1;
  width: 10px;
  height: 10px;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

/* フローティングテキストボックス */
.hero-float-box {
  position: absolute;
  bottom: -103px;
  left: 50%;
  transform: translateX(-50%);
  width: 880px;
  background: rgba(255, 255, 241, 0.88);
  border: 1.5px solid var(--sub);
  border-radius: 8px;
  padding: 22px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 20;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: opacity 0.4s ease;
}

.hero-float-sub {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.92) 60%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  padding: 4px 6px;
  border-radius: 3px;
  padding-bottom: 0;
}

.hero-float-title {
  font-size: 44px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  font-style: normal;
  color: #f9ffee;
  line-height: 1.4;
  padding-bottom: 0;
  -webkit-text-stroke: 0.15em #004831;
  paint-order: stroke fill;
}

.hero-float-desc {
  font-size: 17px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.65;
  text-align: center;
}

.hero-float-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-btn-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px solid var(--main);
  color: var(--main) !important;
  font-size: 17px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 4px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.hero-btn-light img {
  width: 18px;
  height: 18px;
}

/* ===========================
   共通セクション
   =========================== */
.pt-section {
  position: relative;
  padding: 64px 0;
}

.pt-section-inner {
  max-width: 1170px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.pt-section-bg-img {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  overflow: hidden;
}

.pt-section-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pt-section-bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.5);
}

/* セクション見出し・CTA帯は ajiyoshi-header.css に共通化済み */

/* ===========================
   ③ 催事・お祭り動向
   =========================== */
.pt-events {
  margin-top: 103px;
}

.pt-events-heading {
  max-width: 730px;
  margin: 0 auto 24px;
}

.pt-events-heading-line {
  height: 1px;
  background: var(--main);
}

.pt-events-heading-band {
  margin: 4px 0;
  padding: 12px 24px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 10px rgba(12, 19, 54, 0.12);
  background: linear-gradient(
    90deg,
    rgba(0, 72, 49, 0) 0%,
    #004831 25%,
    #004831 74.5%,
    rgba(0, 72, 49, 0) 100%
  );
}

.pt-events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
}

.pt-events-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.pt-events-block-title {
  width: 100%;
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.35;
  padding-left: 12px;
  padding-bottom: 0;
  border-left: 6px solid var(--main);
}

.pt-events-block-images {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pt-events-block-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.pt-events-block-text {
  width: 100%;
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.6;
}

.pt-events-link {
  padding: 4px 8px;
}

.pt-events-link a {
  font-size: 16px;
  font-weight: 700;
  color: var(--main) !important;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.pt-events-link span {
  font-size: 16px;
  font-weight: 700;
  color: var(--main) !important;
  line-height: 1;
}

/* ===========================
   ④ 取り扱い商品・サービス
   =========================== */
/* 区切り見出し(.pt-services-heading)は ajiyoshi-header.css に共通化済み */

.pt-services-subtext {
  font-size: 18px;
  color: var(--black);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 28px;
}

.pt-services .pt-section-bg-img img {
  position: absolute;
  width: 70.7639vw;
  height: 27.8472vw;
  left: -4.7917vw;
  bottom: 7.4306vw;
  max-width: none;
  object-fit: cover;
}

.pt-services-heading h2 span {
  margin: 0 8px;
}

.pt-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pt-service-card {
  background: rgba(255, 255, 255, 0.82);
  border-top: 5px solid var(--main);
  border-bottom: 1px solid var(--main);
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
  min-height: 385px;
  padding: 16px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pt-service-img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  display: block;
}

.pt-service-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  width: 100%;
  padding-bottom: 0;
}

.pt-service-divider {
  width: 40px;
  height: 3px;
  background: var(--sub);
  flex-shrink: 0;
}

.pt-service-text {
  font-size: 18px;
  color: var(--black);
  line-height: 1.6;
  width: 100%;
}

.pt-services-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.pt-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px solid var(--main);
  color: var(--main) !important;
  font-size: 20px;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 4px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

/* ===========================
   ⑤ 選ばれる理由
   =========================== */
.pt-reasons {
  background: #fff;
}

.pt-reasons-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  width: 100%;
}

.pt-reasons-heading .hline {
  flex: 1;
  max-width: 275px;
  height: 1px;
  background: var(--main);
}

.pt-reasons-heading h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--black);
  white-space: nowrap;
  text-align: center;
}

.pt-reasons-heading h2 .num {
  font-size: 56px;
  font-weight: 700;
  color: var(--main);
  line-height: 59px;
}

.pt-reasons-lead {
  display: flex;
  max-width: 938px;
  align-items: center;
  gap: 32px;
  margin: 0 auto 24px;
}

.pt-reasons-lead-img {
  width: 264px;
  height: 171px;
  object-fit: cover;
  flex-shrink: 0;
}

.pt-reasons-lead-text {
  font-size: 20px;
  line-height: 1.6;
  color: var(--black);
}

.pt-reasons-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.pt-reason-item {
  display: flex;
  gap: 40px;
  align-items: center;
}

.pt-reason-item.reverse {
  flex-direction: row-reverse;
}

.pt-reason-img {
  flex: 1;
  height: 240px;
  object-fit: cover;
  display: block;
  min-width: 0;
}

.pt-reason-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.pt-reason-num-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.pt-reason-num {
  font-family: 'Crimson Text', serif;
  font-style: italic;
  font-size: 44px;
  color: var(--main);
  line-height: 44px;
}

.pt-reason-title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--black);
}

.pt-reason-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--main) 0 200px,
    #d9d9d9 200px 100%
  );
}

.pt-reason-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
}

/* CTA帯(.pt-cta)は ajiyoshi-header.css に共通化済み */

/* ===========================
   ⑦ お知らせ
   =========================== */
.pt-news {
  background: #fff;
}

.pt-news-heading {
  font-size: 36px;
  font-weight: 700;
  color: var(--main);
  line-height: 1;
  text-align: center;
  margin-bottom: 34px;
}

.pt-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.pt-news-card {
  background: #fff;
  border: 1px solid #d8d8d8;
  overflow: hidden;
}

.pt-news-thumb-wrap {
  display: block;
}

.pt-news-thumb {
  width: 100%;
  height: 213px;
  object-fit: cover;
  display: block;
}

.pt-news-card-body {
  padding: 16px 18px 14px;
}

.pt-news-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

.pt-news-title a {
  color: var(--main);
}

.pt-news-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.pt-news-date {
  font-size: 14px;
  font-weight: 500;
  color: var(--main);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.pt-news-cat {
  background: #f4f4f4;
  color: #5a5a5a;
  font-size: 14px;
  font-weight: 500;
  padding: 0 6px;
  white-space: nowrap;
  line-height: 1.7;
}

.pt-news-readmore {
  font-size: 14px;
  font-weight: 500;
  color: var(--main);
}

.pt-news-readmore:hover {
  text-decoration: underline;
}

.pt-no-news {
  padding: 24px 0;
  color: var(--gray);
  text-align: center;
  font-size: 15px;
}

.pt-news-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 46px;
}

.pt-news-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  border: 2px solid var(--main);
  color: var(--main) !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  padding: 6px 18px;
  background: #fff;
}

/* ===========================
   レスポンシブ
   =========================== */
@media (max-width: 1000px) {
  .pt-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-float-box {
    width: 85%;
    bottom: -120px;
  }

  .pt-events {
    margin-top: 120px;
  }

  .pt-events-heading {
    max-width: calc(100% + 40px);
    margin-bottom: 20px;
    margin-left: -20px;
    margin-right: -20px;
  }

  .pt-events-heading-band {
    font-size: 22px;
    padding: 10px 16px;
  }

  .pt-events-grid {
    gap: 22px;
  }

  .pt-events-block-img {
    height: 150px;
  }

  .pt-events-block-text {
    font-size: 15px;
  }

  .hero-float-title {
    font-size: 28px;
  }

  .hero-float-desc {
    font-size: 14px;
  }

  .hero-btn-light {
    font-size: 14px;
    padding: 10px 16px;
  }

  .pt-services-subtext {
    font-size: 16px;
  }

  .pt-service-card {
    min-height: auto;
  }

  .pt-service-title {
    font-size: 18px;
  }

  .pt-service-text {
    font-size: 15px;
  }

  .pt-btn-outline {
    font-size: 18px;
    padding: 14px 22px;
  }

  .pt-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .pt-hero-wrap {
    height: auto;
    overflow: visible;
  }

  .hero-swiper {
    height: 280px;
  }

  .hero-swiper .swiper-slide {
    height: 280px;
  }

  .hero-swiper .swiper-button-prev,
  .hero-swiper .swiper-button-next {
    width: 48px;
    height: 48px;
  }

  .hero-swiper .swiper-button-prev::after,
  .hero-swiper .swiper-button-next::after {
    width: 10px;
    height: 10px;
    border-top-width: 3px;
    border-right-width: 3px;
  }

  .hero-slide-title {
    font-size: 24px;
  }

  .hero-slide-desc {
    font-size: 13px;
  }

  .hero-float-box {
    position: absolute;
    bottom: -225px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    border-radius: 8px;
    padding: 16px 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  }

  .hero-float-sub {
    font-size: 12px;
    padding: 2px 6px;
  }

  .hero-float-title {
    font-size: 26px;
  }

  .hero-float-cta {
    gap: 10px;
  }

  .hero-btn-light {
    font-size: 13px;
    padding: 8px 12px;
  }

  .pt-events {
    margin-top: 200px;
  }

  .pt-events-heading-band {
    font-size: 18px;
    padding: 10px 12px;
  }

  .pt-events-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pt-events-block-title {
    font-size: 18px;
  }

  .pt-events-block-img {
    height: 132px;
  }

  .pt-events-block-text {
    font-size: 14px;
  }

  .pt-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pt-services-heading h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .pt-services-subtext {
    font-size: 14px;
  }

  .pt-service-title {
    font-size: 16px;
  }

  .pt-service-text {
    font-size: 14px;
  }

  .pt-btn-outline {
    font-size: 16px;
    padding: 12px 18px;
  }

  .pt-news-heading {
    font-size: 32px;
    margin-bottom: 24px;
  }

  .pt-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .pt-news-thumb {
    height: 120px;
  }

  .pt-reason-item,
  .pt-reason-item.reverse {
    flex-direction: column;
    gap: 20px;
  }

  .pt-reason-img {
    width: 100%;
    height: 200px;
  }

  .pt-reasons-lead {
    flex-direction: column;
    gap: 16px;
  }

  .pt-reasons-lead-text {
    margin-top: -20px;
    margin-bottom: 0;
  }

  .pt-reasons-list {
  }

  .pt-reasons-lead-img {
    display: none;
  }

  .pt-footer-main {
    flex-direction: column;
    padding: 28px 20px;
  }

  .pt-footer-nav {
    grid-template-columns: 1fr 1fr;
  }

  .pt-fixed-btns {
    display: flex;
  }

  body {
    padding-bottom: 50px;
  }
}

@media (max-width: 767px) {
  .pt-section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .pt-services-grid {
    grid-template-columns: 1fr;
  }

  .pt-footer-nav {
    grid-template-columns: 1fr;
  }

  .hero-float-title {
    font-size: 24px;
  }

  .hero-float-cta {
    flex-direction: column;
    align-items: center;
  }

  .pt-reasons-heading h2 {
    font-size: 26px;
  }

  .pt-reasons-heading h2 .num {
    font-size: 40px;
  }
}
