@charset "utf-8";

:root {
    --ink: #171717;
    --muted: #666;
    --line: #eee;
    --indigoblue: #1a237e;
    --chip: #f6f6f6;
    --radius: 16px;
    --shadow: 0 6px 24px rgba(0, 0, 0, .06)
}

.container {
    /* width: min(1120px, 92vw); */
    margin-inline: auto;
}

.stack {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 2vw, 16px)
}

.row {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 16px);
    flex-wrap: wrap
}

.muted {
    color: var(--muted)
}

.yama-container {
  width: 92%;
  margin: 0 auto;
  max-width: 1100px;
}


/* ===== 見出しのあしらい ========================= */
.nuri-title {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 24px;
  margin: 0 0 36px;
  width: 100%;
  font-size: clamp(2rem, 2vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: #1f2a33;
}

.nuri-title::after {
  content: "";
  display: block;
  flex: 1;
  min-width: 80px;
  height: 3px;
  border-radius: 999px;

  /* 山吹 → なじませ → 藤 */
  background: linear-gradient(
    90deg,
    #bf993e 0%,
    #bf993e 44%,
    rgba(191,153,62,0.2) 50%,
    #8a63b8 58%,
    #8a63b8 100%
  );

  /* 左官っぽい少しかすれ */
  opacity: 0.95;
  transform: translateY(0px);
}

@media (max-width: 767px) {
  .nuri-title {
    gap: 16px;
    margin-bottom: 24px;
    font-size: 1.6rem;
  }

  .nuri-title::after {
    height: 2px;
  }
}

/*******************************************************
front-page.php #hero
*******************************************************/
.hero {
        position: relative;
    background: #000;
    color: #fff;
    display: flex;
    /* place-items: center; */
    height: 50vh;
    min-height: 400px;
    align-items: center;
    justify-content: flex-start;
}

.hero .hero-slider {
    position: absolute;
    inset: 0;
    overflow: hidden
}

.hero .hero-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
}

.hero .hero-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72;
    object-position: center;

}

.hero .hero-slider .slide.is-active {
    opacity: 1
}

.hero__pagination {
    position: absolute;
    inset: auto 0 24px 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 3
}

.hero__dot {
    width: 8px;
    height: 8px;
    /* border-radius: 50%; */
    background: rgba(255, 255, 255, .5);
    border: none;
}

.hero__dot.is-active {
    background: #fff
}

.hero__center {
    position: relative;
    z-index: 2;
    display: grid;
    width: 100%;
max-width: 92%;
padding: 0 4%;
box-sizing: border-box;
    margin: 0 auto;
    max-width: 1080px;
    justify-content: end;
    text-align: right;
}

.hero__center {
    font-size: clamp(12px, 2vw, 18px);
}

.hero__center h2 {
    letter-spacing: 0.15em;
    line-height: 2em;
    font-size: clamp(20px, 3vw, 34px);
    font-family: "Shippori Mincho B1", serif;
    font-weight: 700;
}

.hero__center p {
    font-size: clamp(14px, 2vw, 18px);
    font-family: "Shippori Mincho B1", serif;
    font-weight: 400;
    text-align: right !important;
}

.side-menu {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    color: #fff;
    z-index: 2
}

.side-menu ul {
    display: grid;
    gap: 8px
}

.side-menu a {
    display: inline-block;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    padding: .45rem .7rem;
    border-radius: 999px;
    font-size: 13px
}

@media (min-width:1024px) {
    .side-menu {
        display: block
    }

    .hero {
        min-height: 250px;
    }
}


/*******************************************************
front-page.php #about
*******************************************************/
.yamamura-about {
  display: grid;
  grid-template-columns: 55% 45%;
  background: linear-gradient(135deg, #bf993e 0%, #caa64e 45%, #b68b2f 100%);
  color: #fff;
  overflow: hidden;
}

.yamamura-about__image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.yamamura-about__content {
  padding: 56px 7vw 48px;
}

.yamamura-about__lead {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.8;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin: 0;
  text-shadow:
    0 2px 0 rgba(120, 80, 20, 0.45),
    0 6px 14px rgba(0, 0, 0, 0.22);
}

.yamamura-about__line {
  width: 42px;
  height: 1px;
  background: rgba(255,255,255,0.9);
  margin: 24px 0;
}

.yamamura-about__text {
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.08em;
  margin: 0 0 34px;
}

.yamamura-about__features {
  display: flex;
  gap: 28px;
  flex-direction: column;
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.yamamura-about__feature {
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  flex: 1;
  display: flex;
  /* grid-template-columns: 90px 1fr; */
  padding: 10px 15px;
  border: 0.5px solid #fff;
  background-color: rgba(255, 255, 255, .2);
  align-content: center;
  justify-content: center;
  align-items: center;
}

.yamamura-about__icon {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  font-size: 26px;
  display: none;
}

.yamamura-about__feature p {
  margin: 0;
}

.yamamura-about__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 14px 28px;
  border: 1px solid #fff;
  color: var(--orcher);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.12em;
  transition: 0.3s ease;
  background-color: #fff;
}

.yamamura-about__btn::after {
  content: "→";
  margin-left: 12px;
}

.yamamura-about__btn:hover {
  background: #fff;
  color: #bf993e;
}

@media (max-width: 768px) {
  .yamamura-about {
    grid-template-columns: 1fr;
  }

  .yamamura-about__image img {
    min-height: 260px;
  }

  .yamamura-about__content {
    padding: 40px 24px;
  }

  .yamamura-about__features {
    flex-direction: column;
    gap: 22px;
  }
}

@media screen and (max-width: 425px) {
  .yamamura-about__features {
    grid-template-columns: 1fr;    
  }
}

/*******************************************************
front-page.php #Services
*******************************************************/
.service-section {
  padding: 100px 20px;
  background:
    radial-gradient(circle at top left, rgba(191,153,62,0.05), transparent 35%),
    radial-gradient(circle at bottom right, rgba(153,122,191,0.08), transparent 35%),
    #f8f7f4;
}

.top-service__container {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(191,153,62,0.18);
  padding: 42px;
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card--gaikou {
  border-color: rgba(150,120,190,0.22);
}

/* 和紙っぽい質感 */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='%23c5b48a' fill-opacity='0.04'%3E%3Ccircle cx='8' cy='8' r='1'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.service-card__title {
  font-size: clamp(28px, 2vw, 38px);
  font-weight: 700;
  color: #9b7721;
  margin-bottom: 22px;
  letter-spacing: 0.12em;
  position: relative;
  padding-bottom: 12px;
}

.service-card--gaikou .service-card__title {
  color: #7f6aa8;
}

.service-card__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 2px;
  background: currentColor;
}

.service-card__text {
  line-height: 2;
  margin-bottom: 24px;
  color: #444;
  font-size: 15px;
}

.service-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-card__list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
  line-height: 1.8;
  color: #333;
}

.service-card__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #bf993e;
}

.service-card__image {
  margin-top: 30px;
}

.service-card__image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* 詳しく見るボタン */
.service-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 28px;
  margin-bottom: 22px;
  border: 1px solid;
  background: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: .35s ease;
}

.service-card__btn::after {
  content: "→";
  margin-left: 12px;
  transition: transform .3s ease;
}

/* 左官（黄土色） */
.service-card__btn--sakan {
  border-color: #bf993e;
  color: #bf993e;
}

.service-card__btn--sakan:hover {
  background: #bf993e;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(191,153,62,.22);
}

.service-card__btn--sakan:hover::after {
  transform: translateX(4px);
}

/* 外構（藤色） */
.service-card__btn--gaikou {
  border-color: #8a63b8;
  color: #8a63b8;
}

.service-card__btn--gaikou:hover {
  background: #8a63b8;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(138,99,184,.2);
}

.service-card__btn--gaikou:hover::after {
  transform: translateX(4px);
}

/* SP */
@media (max-width: 768px) {
  .service-section {
    padding: 70px 20px;
  }

  .yama-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card {
    padding: 28px;
    min-height: auto;
  }

  .service-card__btn {
    width: 100%;
    min-width: auto;
  }
}


/*******************************************************
 News
*******************************************************/
.topNews {
  padding: 60px 0;
  background: #f8f4ea;
}

.topNews__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.topNews__title {
  margin: 0;
  font-size: 22px;
}

.topNews__more {
  text-decoration: none;
}

.newsList {
  list-style: none;
  padding: 0;
  margin: 0;
  /* border: 1px solid #e6e6e6;
  border-radius: 14px; */
  background: #fff;
}

.newsItem {
  display: grid;
  grid-template-columns: 110px 90px 1fr;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid #eee;
}

.newsItem:first-child {
  border-top: none;
}

.newsItem__date {
  font-variant-numeric: tabular-nums;
}

.newsItem__tag {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--orcher);
  color: #fff;
  font-size: 12px;
}

.newsItem__link {
  text-decoration: none;
  color: inherit;
}

@media screen and (max-width:768px) {
  .newsItem {
    grid-template-columns: 85px 1fr;
    grid-template-areas:
      "time tag"
      "link link";
    gap: 10px;
  }

  .newsItem__date {
    grid-area: time;
  }

  .newsItem__tag {
    grid-area: tag;
    width: 120px;
  }

  .newsItem__link {
    grid-area: link;
  }

}



/* ===== Responsive ===== */
@media (max-width: 900px) {
  .topHero__grid {
    grid-template-columns: repeat(2, 1fr);
    height: auto;
  }

  .topHero__catch,
  .topHero__cta {
    position: absolute;
    left: 16px;
    right: 16px;
    width: auto;
  }

  .topHero__catch {
    bottom: 120px;
  }

  .topHero__cta {
    bottom: 60px;
  }

  .topAbout__inner {
    grid-template-columns: 1fr;
  }

}
