@charset "utf-8";


.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)
}

/* ----------------------------------------------------------------
   共通
---------------------------------------------------------------- */
:root {
  --color-main-dark: #536257;
  --color-accent: #bfa37a;
  --color-bg: #f7f5f1;
  --color-bg-soft: #fcfbf8;
  --color-text: #333;
  --color-text-light: #666;
  --color-border: #e5e0d8;
  --color-white: #fff;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --radius: 16px;
}

.funeral-top {
  color: var(--color-text);
  background: transparent;
  line-height: 1.8;
  font-size: 16px;
}

.funeral-top * {
  box-sizing: border-box;
}

.funeral-top img {
  max-width: 100%;
  height: auto;
  display: block;
}

.funeral-top a {
  text-decoration: none;
  transition: .3s;
}

.top-plan,
.top-flow {
  padding-left: 20px;
  padding-right: 20px;
}

.section-heading {
  text-align: center;
  margin-bottom: 42px;
}

.section-heading__title {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.4;
  color: var(--color-main-dark);
  font-weight: 700;
}

/* ----------------------------------------------------------------
   ボタン
---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  border: 1px solid transparent;
}

.btn--outline {
  background: transparent;
  color: var(--color-main-dark);
  border: 1px solid #333;
}

.btn--outline:hover {
  background: #333;
  color: var(--color-white);
}


/* =============================================
 front-page.php   intro 
 ============================================= */
.top-intro {
  padding: 80px 0;
  position: relative;
  background: url(../img/product/AdobeStock_596177483.jpeg) center;
  background-size: cover;
}

.top-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.42);
  pointer-events: none;
}

.top-intro__inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  background: rgba(255, 250, 242, 0.8);
}

.top-intro__content {
  padding: 64px 62px;
}

.top-intro__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  color: #2f261f;
  margin: 0 0 20px;
}

/* .top-intro__label::after {
  content: "";
  width: 18px;
  height: 18px;
  background: #b75b3a;
  mask-image: radial-gradient(circle, #000 45%, transparent 46%);
  -webkit-mask-image: radial-gradient(circle, #000 45%, transparent 46%);
  opacity: 0.75;
} */

.top-intro__title {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.12em;
  color: #3a2d23;
  margin: 0 0 24px;
}

.top-intro__text {
  font-size: 14px;
  line-height: 2.15;
  letter-spacing: 0.08em;
  color: #4f433a;
  margin: 0 0 32px;
}

.top-intro__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 190px;
  padding: 15px 28px;
  border: 1px solid #6b5645;
  color: #3a2d23;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-decoration: none;
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease;
}

.top-intro__button span {
  width: 28px;
  height: 1px;
  background: currentColor;
  position: relative;
}

.top-intro__button span::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.top-intro__button:hover {
  background: #3a2d23;
  color: #fff;
}

.top-intro__image {
  height: 100%;
  min-height: 360px;
  overflow: hidden;
  padding: 64px 62px;
}

.top-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* tablet */
@media screen and (max-width: 900px) {
  .top-intro {
    padding: 64px 0;
  }

  .top-intro__inner {
    grid-template-columns: 1fr;
  }

  .top-intro__content {
    padding: 48px 36px;
  }

  .top-intro__image {
    min-height: 300px;
    padding: 48px 36px;
  }
}

/* sp */
@media screen and (max-width: 560px) {
  .top-intro {
    padding: 48px 0;
  }

  .top-intro__inner {
    width: calc(100% - 32px);
  }

  .top-intro__content {
    padding: 36px 24px;
  }

  .top-intro__label {
    font-size: 22px;
  }

  .top-intro__title {
    font-size: 18px;
  }

  .top-intro__text {
    font-size: 13px;
    line-height: 2;
  }

  .top-intro__button {
    width: 100%;
  }

  .top-intro__image {
    min-height: 220px;
  }
}

/* ----------------------------------------------------------------
   top 商品紹介
---------------------------------------------------------------- */
.top-products {
  padding: 90px 0 80px;
  background: #fff;
}

.top-products__inner {
  width: min(1120px, calc(100% - 48px));
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.top-products__heading {
  text-align: center;
  margin-bottom: 42px;
}

.top-products__heading h2 {
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: #2f261f;
  margin: 0 0 18px;
}

.top-products__heading p {
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 1.9;
  color: #5f5147;
  margin: 0;
}

.top-products__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.top-products__item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1.05;
  color: #fff;
  text-decoration: none;
  background: #2f261f;
}

.top-products__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

.top-products__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(35, 26, 20, 0.18) 0%,
      rgba(35, 26, 20, 0.72) 100%);
  z-index: 1;
  transition: background 0.5s ease;
}

.top-products__overlay {
  position: absolute;
  left: 28px;
  right: 24px;
  bottom: 28px;
  z-index: 2;
}

.top-products__overlay h3 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
}

.top-products__overlay p {
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.8;
  margin: 0 0 18px;
}

.top-products__overlay span {
  position: relative;
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.12em;
  padding-right: 38px;
}

.top-products__overlay span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 28px;
  height: 1px;
  background: #fff;
}

.top-products__item:hover img {
  transform: scale(1.07);
  opacity: 0.82;
}

.top-products__item:hover::before {
  background: linear-gradient(180deg,
      rgba(35, 26, 20, 0.28) 0%,
      rgba(35, 26, 20, 0.82) 100%);
}

@media screen and (max-width: 900px) {
  .top-products {
    padding: 70px 0 60px;
  }

  .top-products__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .top-products__overlay h3 {
    font-size: 22px;
  }
}

@media screen and (max-width: 560px) {
  .top-products__inner {
    /* width: min(100% - 32px, 1120px); */
    width: 100%;
  }

  .top-products__heading h2 {
    font-size: 24px;
  }

  .top-products__list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .top-products__item {
    aspect-ratio: 1.45 / 1;
  }

  .top-products__overlay {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }
}

/* ----------------------------------------------------------------
   レスポンシブ
---------------------------------------------------------------- */

/* タブレット：1024px以下 */
@media (max-width: 1024px) {
  .top-flow__list {
    gap: 30px;
  }

  .top-flow__item:not(:last-child)::after {
    font-size: 20px;
    right: -25px;
  }

  .top-flow__step h3 {
    font-size: 14px;
  }
}

/* スマホ：767px以下 */
@media (max-width: 767px) {
  .top-flow__list {
    grid-template-columns: 1fr;
    /* 縦1列に */
    gap: 40px;
  }

  .top-flow__item {
    display: flex;
    /* 横に並べる */
    align-items: center;
    gap: 20px;
    text-align: left;
  }

  /* ステップ間の矢印（スマホ：下向き） */
  .top-flow__item:not(:last-child)::after {
    content: "▼";
    top: auto;
    bottom: -35px;
    left: calc(50% - 20px);
    /* 画像の中心あたり */
    right: auto;
    font-size: 24px;
  }

  .top-flow__img {
    flex: 0 0 100px;
    /* 画像の幅を固定 */
    margin-bottom: 0;
  }

  .top-flow__step {
    flex-direction: row;
    /* 数字と文字を横に */
    align-items: center;
    gap: 12px;
    width: 100%;
    display: grid;
    grid-template-columns: 50px 1fr;
  }

  .top-flow__step h3 {
    font-size: 18px;
    padding: 0;
  }


  .top-plan__items {
    padding: 30px 0;
  }

  .top-plan__items h3 {
    font-size: 22px;
  }
}

/* ----------------------------------------------------------------
   ヘッダー・フッターとのつながり調整
---------------------------------------------------------------- */
/* 直前のheroや上セクションとの間が空きすぎる場合に使う */
.funeral-top>section:first-child .section-heading {
  margin-top: 0;
}

/* 最後のセクションとフッターの間を自然に */
.funeral-top>section:last-child {
  margin-bottom: 0;
}


@media (max-width: 1024px) {
  .top-plan__box {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 767px) {

  .top-plan,
  .top-flow {
    padding-left: 16px;
    padding-right: 16px;
  }

  .top-plan {
    padding-top: 24px;
    padding-bottom: 50px;
  }

  .top-plan__box {
    padding: 20px;
  }

  .top-plan__items ul {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------------------
   front-page.php news
---------------------------------------------------------------- */
.top-news {
  padding: 0 0 60px 0;
  position: relative;
  z-index: 10;
  margin: 0 auto;
  background-color: #f2f2f2;
}

.top-news__head {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  width: 100%;
}

.top-news__title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.4;
}

.top-news__archive {
  text-decoration: none;
}

.top-news__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-news__item {
  border-bottom: 0.5px solid #ddd;
}

.top-news__link {
  display: flex;
  gap: 24px;
  padding: 18px 0;
  text-decoration: none;
  color: inherit;
}

.top-news__date {
  flex: 0 0 110px;
  color: red;
}

.top-news__text {
  flex: 1;
}

@media (max-width: 767px) {
  .top-news__link {
    flex-direction: column;
    gap: 8px;
  }

  .top-news__date {
    flex: none;
  }
}




/* =========================================================
   TOP（フロントページ）
   ========================================================= */
.front-catch {
  text-align: center;
  padding: 48px 20px;
}

.front-catch__lead {
  font-family: var(--font-mincho);
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.front-catch__sub {
  font-size: 13px;
  color: var(--ink-soft);
}

.front-guide__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 56px;
}

.front-guide__list a {
  display: block;
  text-align: center;
  font-family: var(--font-mincho);
  letter-spacing: 2px;
  padding: 22px 8px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--rule);
}

.front-news {
  margin-bottom: 56px;
}

.front-news__title {
  margin-bottom: 18px;
}

.front-news__list li {
  border-bottom: 1px dotted var(--rule);
}

.front-news__list a {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  flex-wrap: wrap;
  text-decoration: none;
  color: var(--ink);
}

.front-news__list time {
  color: var(--ink-soft);
  font-size: 13px;
  min-width: 7em;
}

/* =========================================================
   伊藤商店とは
   ========================================================= */
.about-lead {
  text-align: center;
  padding-bottom: 24px;
}

.about-lead__title {
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.about-lead__h2 {
  font-size: 14px;
  margin-bottom: 8px;
}

.about-lead__txt {
  font-size: 13px;
  color: var(--ink-soft);
}

.kodawari__row {
  margin-bottom: 48px;
}

.kodawari__txt h2 {
  font-family: var(--font-mincho);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.kodawari__txt p,
.hozon p {
  font-size: 13px;
  line-height: 2;
  color: var(--ink);
}

.kodawari__img {
  margin-top: 24px;
  text-align: center;
}

.wholesale {
  margin: 56px 0;
  scroll-margin-top: 100px;
}

.wholesale__body {
  display: grid;
  gap: 24px;
}

.wholesale__text p {
  font-size: 13px;
  line-height: 2;
  color: var(--ink);
  margin: 0 0 14px;
}

.wholesale__text p:last-child {
  margin-bottom: 0;
}

.wholesale__img img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hozon {
  margin-bottom: 40px;
}

.hozon h2 {
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .wholesale__body {
    grid-template-columns: 1fr 300px;
    align-items: center;
  }
}

/* =========================================================
   商品一覧 / カテゴリ
   ========================================================= */
.products-lead {
  /* text-align: center; */
  margin-bottom: 28px;
  font-size: 14px;
}

.product-filter {
  margin-bottom: 36px;
}

.product-filter__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: start;
  padding-left: 0;
}
.product-filter__list li a {
  text-decoration: none;
  display: block;
  font-family: var(--font-mincho);
  font-size: 16px;
  padding: 8px 16px;
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, .6);
  color: var(--ink);
}

.product-filter__list .is-current a {
  background: var(--ink);
  color: #fff;
}

.product-group {
  margin-bottom: 48px;
}

.product-group__title {
  margin-bottom: 24px;
}

.product-group__title a {
  color: var(--ink);
  text-decoration: none;
}

.product-group__desc {
  /* max-width: 720px; */
  margin: -8px auto 28px;
  font-size: 16px;
  line-height: 2;
  /* text-align: center; */
  color: var(--ink-soft);
}

.product-group__desc p {
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 16px;
  padding-left: 0;
}

.product-card {
  text-align: center;
}

.product-card a {
  text-decoration: none;
}

.product-card__img {
  display: block;
  margin-bottom: 10px;
  padding: 0;
}

.product-card__img img {
  display: block;
  width: 95%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  max-width: 95%;
}

.product-card__noimg {
  display: block;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, .5);
  border: 1px solid var(--rule);
}

.product-card__name {
  font-family: var(--font-mincho);
  font-size: 18px;
  color: var(--ink-mid);
}

/* 商品詳細カード */
.product-detail {
  background: var(--white);
  margin-bottom: 32px;
  padding: 24px;
}

.product-detail__img {
  text-align: center;
  margin-bottom: 16px;
}

.product-detail__name {
  font-family: var(--font-mincho);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 16px;
}

.price {
  font-family: var(--font-mincho);
  font-size: 20px;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.price__tax {
  font-size: 14px;
}

.price__unit {
  font-size: 16px;
}

.product-detail__txt {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-soft);
}

.back-btn {
  text-align: center;
  margin: 48px 0 24px;
}

.back-btn a {
  display: inline-block;
  font-family: var(--font-mincho);
  padding: 12px 32px;
  border: 1px solid var(--ink);
  text-decoration: none;
  color: var(--ink);
  background-color: var(--color-border);
}

@media screen and (min-width:1024px) {
  .product-grid {
  grid-template-columns: repeat(3, 1fr);
}
}

/* =========================================================
   アクセス
   ========================================================= */
.tenpo {
  margin-bottom: 40px;
}

.tenpo__photo {
  margin-bottom: 24px;
  text-align: center;
}

.tenpo__name {
  font-family: var(--font-gothic);
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.info-table {
  width: 100%;
}

.info-table th {
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
  padding: 8px 16px 8px 0;
  width: 6em;
  font-weight: 500;
}

.info-table td {
  padding: 8px 0 8px 16px;
  border-left: 1px solid var(--ink-soft);
  vertical-align: top;
}

.map-wrap {
  line-height: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 60vw;
  max-height: 500px;
  border: 0;
}

.access-map {
  display: grid;
  gap: 32px;
  margin-bottom: 100px;
}

.access-map__title {
  font-family: var(--font-mincho);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 2px;
  margin: 0 0 16px;
}

.access-map__text {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.access-map__parking img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.access-map__map {
  line-height: 0;
}

.access-map__map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

@media (min-width: 768px) {
  .access-map {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .access-map__map iframe {
    height: 100%;
    min-height: 360px;
  }
}

@media (max-width: 767px) {
  .access-map__map iframe {
    height: 320px;
    min-height: 320px;
  }
}

/* =========================================================
   お問い合わせ
   ========================================================= */
.contact-lead {
  text-align: center;
  margin-bottom: 32px;
  font-size: 14px;
}

.contact-form {
  max-width: 960px;
  margin: 0 auto 48px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--rule);
  font-size: 16px;
  background: #fff;
}

.contact-form .wpcf7-submit {
  font-family: var(--font-mincho);
  padding: 12px 40px;
  background: var(--ink);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 15px;
}

.contact-direct {
  display: grid;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto 50px auto;
  background: #fff;
  padding: 28px;
  text-align: center;
}

.contact-direct__label {
  font-size: 13px;
  color: var(--ink-soft);
}

.contact-direct__number {
  font-family: var(--font-mincho);
  font-size: 24px;
}

.contact-direct__sub {
  font-size: 13px;
  color: var(--ink-soft);
}

.contact-direct__pdf {
  margin-top: 6px;
}

.contact-direct__pdf a {
  text-decoration: underline;
}
