/*
Theme Name: Ishizai Template
Author: Codex
Description: Stone memorial website template based on the provided design.
Version: 1.0.0
Text Domain: ishizai-template
*/

:root {
  --color-ink: #202723;
  --color-muted: #687269;
  --color-green: #27683c;
  --color-green-dark: #18462c;
  --color-cream: #f8f6f0;
  --color-white: #ffffff;
  --color-paper: #fbfaf6;
  --color-line: #e5e1d8;
  --color-charcoal: #222321;
  --font-mincho: "Zen Old Mincho", serif;
  --font-gothic: "Zen Kaku Gothic New", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: #fff;
  font-family: var(--font-gothic);
  font-size: 16px;
  line-height: 1.9;
}

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

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

.site-header {
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: 220px 1fr 230px;
  height: 118px;
  min-height: 0;
  align-items: stretch;
  overflow: hidden;
}

.site-logo {
  display: grid;
  place-items: center;
  background: transparent;
  font-family: var(--font-mincho);
  font-size: 18px;
  letter-spacing: 0.08em;
}

.site-logo img {
  width: 343px;
  max-width: 92%;
  height: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
}

.header-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 24px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 1.35;
}

.header-nav a {
  position: relative;
  display: inline-flex;
  padding: 3px 0;
}

.header-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--color-green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
  content: "";
}

.header-nav a:hover::after {
  transform: scaleX(1);
}

.header-contact {
  display: grid;
  gap: 4px;
  align-content: center;
  justify-items: center;
  height: 118px;
  min-height: 0;
  padding: 10px 16px;
  color: #fff;
  background: #17334a;
}

.header-contact__button {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: 156px;
  min-height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  font-size: 12px;
}

.header-contact__tel {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-family: var(--font-mincho);
  font-size: 22px;
  line-height: 1.2;
}

.header-contact__time {
  font-size: 12px;
  opacity: 0.85;
}

.section {
  padding: 0;
}

.section--cream {
  background: var(--color-cream);
}

.section--white {
  background: #fff;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  background: var(--color-paper);
}

.hero__visual {
  position: absolute;
  inset: 0;
}

.hero__visual picture {
  display: contents;
}

.hero__main-image {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: auto;
  max-width: none;
  height: 100%;
}

.hero__leaf-image {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: min(420px, 32vw);
  max-width: none;
  height: auto;
  opacity: 0.82;
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 560px;
  align-items: center;
}

.hero__copy {
  width: min(560px, 100%);
  padding: 36px 0;
}

.hero__title,
.hero__lead,
.hero__text {
  text-shadow:
    1px 0 0 #faf8f3,
    -1px 0 0 #faf8f3,
    0 1px 0 #faf8f3,
    0 -1px 0 #faf8f3,
    1px 1px 0 #faf8f3,
    -1px 1px 0 #faf8f3,
    1px -1px 0 #faf8f3,
    -1px -1px 0 #faf8f3;
}

.hero__title {
  margin: 0 0 26px;
  color: var(--color-green);
  font-family: var(--font-mincho);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.35;
}

.hero__lead {
  margin: 0 0 34px;
  font-family: var(--font-mincho);
  font-size: 20px;
}

.hero__text {
  width: min(430px, 100%);
  margin: 0;
  font-size: 15px;
}

.news {
  padding: 80px 0;
  background: #fff;
}

.news .container {
  width: min(960px, calc(100% - 48px));
}

.news-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-item {
  display: grid;
  grid-template-columns: 130px 120px 1fr 70px;
  gap: 18px;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--color-line);
  font-size: 14px;
}

.news-item:first-child {
  border-top: 1px solid var(--color-line);
}

.news-item__date {
  font-family: var(--font-mincho);
  color: #4f574f;
}

.news-item__cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  min-height: 24px;
  padding: 2px 10px;
  color: #fff;
  background: #738374;
  font-size: 12px;
}

.news-item__cat--ishinko {
  background: #365a73;
}

.news-item__more {
  color: #7a8178;
  font-size: 12px;
  text-align: right;
}

.split-visual {
  min-height: 370px;
  background:
    var(--section-image, url("img/top_photo_01.webp")) center right / var(--section-image-size, cover) no-repeat,
    var(--color-paper);
}

.split-visual--reverse {
  min-height: 370px;
  background:
    var(--section-image, url("img/top_photo_02.webp")) center left / var(--section-image-size, cover) no-repeat,
    var(--color-paper);
}

.split-visual .container {
  display: flex;
  min-height: 370px;
  align-items: center;
}

.split-visual__content {
  width: min(560px, 100%);
  padding: 40px 0;
}

.split-visual--reverse .split-visual__content {
  margin-left: auto;
}

.split-visual .section-kicker,
.split-visual .section-title,
.split-visual .section-text {
  text-shadow:
    1px 0 0 #faf8f3,
    -1px 0 0 #faf8f3,
    0 1px 0 #faf8f3,
    0 -1px 0 #faf8f3,
    1px 1px 0 #faf8f3,
    -1px 1px 0 #faf8f3,
    1px -1px 0 #faf8f3,
    -1px -1px 0 #faf8f3;
}

.section-kicker {
  display: inline-block;
  margin: 0 0 18px;
  color: var(--color-green);
  font-family: var(--font-mincho);
  font-size: 23px;
  border-bottom: 1px solid #b69a42;
  padding-bottom: 10px;
}

.section-title {
  margin: 24px 0;
  font-family: var(--font-mincho);
  font-size: clamp(28px, 3vw, 35px);
	font-weight:500;
  line-height: 1.55;
}

.section-text {
  margin: 0;
  color: #454d47;
  font-size: 15px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-section {
  padding: 42px 0 72px;
}

.feature-section--first {
  padding-top: 38px;
}

.feature-section--second {
  padding-top: 40px;
}

.feature-card {
  background: var(--color-paper);
  border-radius: 6px;
  overflow: hidden;
}

.case-card {
  background: var(--color-paper);
}

.feature-card__image,
.case-card__image {
  aspect-ratio: 4 / 3;
  background: #a9a9a7;
  overflow: hidden;
}

.feature-card__image {
  aspect-ratio: 1.58 / 1;
  border-radius: 6px 6px 0 0;
}

.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card__body {
  min-height: 260px;
  padding: 28px 26px 34px;
  background: var(--color-paper);
}

.case-card__body {
  padding: 20px 18px 24px;
}

.feature-card__title {
  margin: 0 0 20px;
  color: var(--color-green);
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

.case-card__title {
  margin: 0 0 10px;
  font-family: var(--font-mincho);
  font-size: 16px;
  line-height: 1.55;
}

.feature-card__text {
  margin: 0;
  color: var(--color-ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.95;
}

.case-card__text {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.8;
}

.case-section {
  padding: 76px 0 72px;
  background: var(--color-cream);
}

.case-grid {
  gap: 22px;
}

.top-post-block {
  margin-top: 58px;
}

.case-card {
  background: transparent;
}

.case-card a {
  display: block;
}

.case-card__image {
  aspect-ratio: 1.58 / 1;
  margin-bottom: 14px;
}

.case-card__body {
  padding: 0;
}

.case-card__title {
  margin-bottom: 6px;
  color: #27683c;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}

.case-card__text {
  margin-bottom: 14px;
  color: var(--color-ink);
  font-family: var(--font-gothic);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.case-card__button {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 32px;
  padding: 7px 12px;
  background: #eeece6;
  color: var(--color-ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.case-section--sekou {
  padding-top: 72px;
  padding-bottom: 72px;
}

.case-card--photo-only .case-card__image {
  margin-bottom: 0;
}

.case-card--photo-only a {
  cursor: zoom-in;
}

.consult-box {
  display: grid;
  grid-template-columns: 44% 25% 31%;
  gap: 0;
  align-items: stretch;
  width: min(1200px, calc(100vw - 48px));
  min-height: 258px;
  margin: 44px auto 0;
  padding: 14px 16px;
  background: #f8f6f0;
  border-radius: 4px;
}

.consult-box__text {
  padding: 18px 32px 18px 18px;
}

.consult-box__title {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #c6a64f;
  color: var(--color-green);
  font-family: var(--font-mincho);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
}

.consult-box__text .section-text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.62;
}

.consult-box__photo {
  min-height: 230px;
  background: url("img/top_photo_contact_img.webp") center / cover no-repeat, #b8b8b8;
}

.consult-box__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-content: center;
  justify-items: center;
  justify-content: center;
  padding: 24px 24px 22px;
  background: #fff;
  border-radius: 0 4px 4px 0;
}

.consult-box__contact-title {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  color: var(--color-green);
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.consult-box__contact-title::before,
.consult-box__contact-title::after {
  width: 42px;
  height: 1px;
  background: #c6a64f;
  content: "";
}

.icon-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  color: var(--color-green);
  text-align: center;
}

.icon-row__item {
  display: grid;
  gap: 8px;
  justify-items: center;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.45;
}

.icon-row__item i {
  color: var(--color-green);
  font-size: 32px;
}

.icon-row__item:first-child i {
  color: #b6b171;
}

.button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 26px;
  color: #fff;
  background: var(--color-green);
  border-radius: 3px;
  font-weight: 600;
}

.consult-box .button {
  width: 100%;
  min-height: 42px;
  font-family: var(--font-mincho);
  font-size: 15px;
  letter-spacing: 0.04em;
}

.section-heading-row {
  display: flex;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-heading-row .section-title {
  margin-bottom: 0;
}

.text-link {
  color: var(--color-green-dark);
  font-size: 14px;
  font-weight: 500;
}

.page-header {
  display: grid;
  min-height: 160px;
  align-items: center;
  background:
    var(--page-header-image, none) center / cover no-repeat,
    #eeece6;
}

.page-header__inner {
  display: flex;
  gap: 28px;
  align-items: center;
}

.page-header__title {
  margin: 0;
  color: var(--color-ink);
  font-family: var(--font-gothic);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.page-header__inner::after {
  display: block;
  width: 112px;
  height: 1px;
  background: var(--color-ink);
  content: "";
}

.archive-section {
  padding: 72px 0 86px;
  background: #fff;
}

.archive-news-list {
  width: min(960px, 100%);
  margin: 0 auto;
}

.archive-case-grid {
  row-gap: 44px;
  margin-top: 0;
}

.archive-empty {
  margin: 0;
  text-align: center;
}

.pagination {
  margin-top: 54px;
  text-align: center;
}

.nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.page-numbers {
  display: inline-grid;
  min-width: 38px;
  min-height: 38px;
  place-items: center;
  padding: 6px 12px;
  background: #eeece6;
  color: var(--color-ink);
  font-size: 14px;
}

.page-numbers.current {
  color: #fff;
  background: var(--color-green);
}

.post-detail {
  padding: 34px 0 34px;
  background: #fff;
}

.page-content-section {
  padding-bottom: 34px;
}

.page-content-layout {
  width: min(960px, calc(100% - 48px));
}

.page-content-main {
  width: 100%;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 70px;
  align-items: start;
}

.content-main {
  min-width: 0;
}

.content-sidebar {
  padding-top: 20px;
}

.single-post__date {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 4px 12px;
  color: #fff;
  background: #071e33;
  font-size: 14px;
  line-height: 1;
}

.single-post__title {
  margin: 0 0 34px;
  color: #071e33;
  font-family: var(--font-gothic);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.55;
}

.single-post__thumbnail {
  margin: 0 0 36px;
}

.single-post__thumbnail img {
  width: 100%;
}

.single-post__content {
  font-size: 16px;
  line-height: 30px;
}

.single-post__content > *:first-child {
  margin-top: 0;
}

.single-post__content h2,
.single-post__content h3 {
  margin: 2em 0 0.8em;
  font-family: var(--font-mincho);
  font-weight: 500;
  line-height: 1.5;
}

.single-post__content h2 {
  padding-bottom: 12px;
  border-bottom: 1px solid #c6a64f;
  color: var(--color-green);
  font-size: 28px;
}

.single-post__content h3 {
  font-size: 22px;
}

.single-post__content p {
  margin: 0 0 1.5em;
}

.single-post__content a {
  color: var(--color-green);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.single-post__content ul,
.single-post__content ol {
  padding-left: 1.4em;
}

.single-post__nav {
  margin-top: 34px;
  text-align: center;
}

.single-post__pager {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 56px;
  border-top: 1px solid #bcbcbc;
}

.single-post__pager-item {
  min-height: 76px;
  padding: 26px 34px;
}

.single-post__pager-item--next {
  border-left: 1px solid #bcbcbc;
  text-align: right;
}

.single-post__pager a {
  font-weight: 500;
}

.button--light {
  color: var(--color-ink);
  background: #eeece6;
}

.widget {
  margin: 0 0 28px;
  padding: 24px 26px 26px;
  background: #fafafa;
}

.widget-title {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-ink);
  font-family: var(--font-gothic);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.widget ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 1.2em;
}

.widget li {
  font-size: 14px;
  line-height: 1.7;
}

.service-section {
  padding: 68px 0 72px;
  background: #fff;
}

.service-section__lead {
  margin: 0 0 42px;
  color: var(--color-green-dark);
  font-family: var(--font-mincho);
  font-size: 25px;
  line-height: 1.75;
  text-align: center;
}

.service-banners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-banner {
  min-height: 200px;
  padding: 42px 36px;
  background:
    var(--banner-image) center right / var(--banner-image-size, cover) no-repeat,
    #eeece6;
  border-radius: 4px;
}

.service-banner__title,
.service-banner__text {
  text-shadow:
    1px 0 0 #eeece6,
    -1px 0 0 #eeece6,
    0 1px 0 #eeece6,
    0 -1px 0 #eeece6,
    1px 1px 0 #eeece6,
    -1px 1px 0 #eeece6,
    1px -1px 0 #eeece6,
    -1px -1px 0 #eeece6;
}

.service-banner__title {
  margin: 0 0 14px;
  font-family: var(--font-mincho);
  font-size: 30px;
  line-height: 1.35;
}

.service-banner__text {
  width: min(290px, 100%);
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
}

.contact-band {
  background: #f2efe9;
}

.contact-band__inner {
  display: grid;
  grid-template-columns: 385px 1fr;
  gap: 44px;
  align-items: center;
  width: min(1200px, calc(100% - 48px));
  min-height: 270px;
  background:
    url("img/contact_img.webp") center right / auto 270px no-repeat,
    #f2efe9;
}

.contact-band__title {
  margin: 0 0 24px;
  font-family: var(--font-mincho);
  font-size: 28px;
  line-height: 1.8;
  font-weight: 500;
}

.contact-band__copy {
  padding-right: 30px;
}

.contact-panel {
  display: grid;
  align-content: center;
  min-height: 174px;
  padding-left: 54px;
  border-left: 1px solid #cdbd8f;
}

.contact-panel__label {
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 500;
}

.contact-panel__tel {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--color-green);
  font-family: var(--font-mincho);
  font-size: 45px;
  font-weight: 700;
  line-height: 1.2;
}

.contact-panel__tel i {
  font-size: 36px;
}

.contact-panel p {
  margin: 0;
}

.contact-panel .button {
  width: 385px;
  min-height: 54px;
  font-family: var(--font-mincho);
  font-size: 18px;
  letter-spacing: 0.04em;
}

.site-footer {
  color: #fff;
  background: var(--color-charcoal);
}

.footer-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 58px;
  padding: 48px 0 44px;
}

.footer-logo {
  display: grid;
  place-items: center start;
  min-height: 84px;
  margin-bottom: 24px;
  color: #202723;
  background: transparent;
  font-family: var(--font-mincho);
}

.footer-logo img {
  width: 264px;
  max-width: 82%;
  height: auto;
}

.footer-info {
  font-size: 14px;
  line-height: 1.75;
}

.footer-tel {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin: 14px 0 4px;
  font-family: var(--font-mincho);
  font-size: 30px;
  line-height: 1.2;
}

.footer-tel i {
  font-size: 30px;
}

.footer-hours {
  margin-left: 50px;
  font-size: 14px;
}

.footer-closed-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 14px 0 0;
  font-size: 14px;
}

.footer-closed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
}

.footer-map {
  display: grid;
  min-height: 230px;
  place-items: center;
  color: #202723;
  background: #f0eee8;
}

.copyright {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  text-align: center;
}

#mobileFootNav {
  display: none;
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .header-nav ul {
    gap: 0 20px;
    line-height: 1.25;
  }

  .header-nav a {
    padding: 2px 0;
  }
}

@media only screen and (max-width: 767px) {
  body {
    padding-bottom: 60px;
  }

  .header-inner {
    display: block;
    min-height: 64px;
  }

  .site-logo {
    min-height: 64px;
  }

  .site-logo img {
    width: auto;
    max-width: none;
    height: 50px;
  }

  .header-nav,
  .header-contact {
    display: none;
  }

  #mobileFootNav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
    display: block;
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255, 0.7);
    border-top: 1px solid #e1e1e1;
  }

  #mobileFootNav .ftNavBtn {
    float: left;
    width: 48%;
    height: 46px;
    margin: 7px 1%;
  }

  #mobileFootNav .blueButton {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px;
    color: #fff;
    background: #576f53;
    border-radius: 3px;
    font-weight: 700;
  }
}

@media only screen and (max-width: 896px) and (orientation: landscape) {
  body {
    padding-bottom: 60px;
  }

  .header-inner {
    display: block;
    min-height: 64px;
  }

  .site-logo {
    min-height: 64px;
  }

  .site-logo img {
    width: auto;
    max-width: none;
    height: 50px;
  }

  .header-nav,
  .header-contact {
    display: none;
  }

  #mobileFootNav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
    display: block;
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255, 0.7);
    border-top: 1px solid #e1e1e1;
  }

  #mobileFootNav .ftNavBtn {
    float: left;
    width: 48%;
    height: 46px;
    margin: 7px 1%;
  }

  #mobileFootNav .blueButton {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px;
    color: #fff;
    background: #576f53;
    border-radius: 3px;
    font-weight: 700;
  }

  .hero,
  .hero__inner {
    min-height: 0;
  }

  .hero {
    display: flex;
    flex-direction: column;
    background: #fff;
  }

  .hero__visual {
    position: relative;
    inset: auto;
    order: 1;
  }

  .hero__inner {
    order: 2;
    padding: 32px 0 38px;
  }

  .hero__copy {
    width: 100%;
    padding: 0;
  }

  .hero__main-image {
    position: static;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .hero__leaf-image {
    display: none;
  }

  .split-visual,
  .split-visual--reverse {
    min-height: 0;
    background: #fff;
  }

  .split-visual::before {
    display: block;
    width: 100%;
    aspect-ratio: 820 / 560;
    background: var(--sp-section-image) center / cover no-repeat;
    content: "";
  }

  .split-visual .container {
    display: block;
    min-height: 0;
  }

  .split-visual__content,
  .split-visual--reverse .split-visual__content {
    width: 100%;
    margin-left: 0;
    padding: 34px 0 42px;
  }
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: 160px 1fr;
  }

  .header-contact {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
  }

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

  .consult-box,
  .contact-band__inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .consult-box {
    width: min(100% - 32px, 720px);
    padding: 12px;
  }

  .consult-box__photo {
    min-height: 260px;
  }

  .consult-box__contact {
    border-radius: 0 0 4px 4px;
  }

  .contact-panel {
    padding-left: 0;
    border-left: 0;
  }

  .contact-band {
    padding: 0;
  }

  .contact-band__inner {
    gap: 28px;
    min-height: 0;
    padding: 52px 24px;
    background: #f2efe9;
    text-align: center;
  }

  .contact-band__copy {
    padding-right: 0;
  }

  .contact-panel {
    justify-items: center;
  }

  .contact-panel .button {
    width: min(385px, 100%);
  }

  .page-header {
    min-height: 140px;
  }

  .archive-section,
  .post-detail {
    padding: 32px 0 34px;
  }

  .content-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .content-sidebar {
    padding-top: 0;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .header-inner {
    grid-template-columns: 1fr;
  }

  .site-logo {
    min-height: 64px;
  }

  .header-nav {
    padding: 12px 20px;
  }

  .header-nav ul {
    gap: 4px 16px;
    font-size: 16px;
  }

  .header-contact {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(100% - 32px, 1120px);
  }

  .hero,
  .hero__inner {
    min-height: 0;
  }

  .hero {
    display: flex;
    flex-direction: column;
    background: #fff;
  }

  .hero__visual {
    position: relative;
    inset: auto;
    order: 1;
  }

  .hero__inner {
    order: 2;
    padding: 36px 0 44px;
  }

  .hero__copy {
    width: 100%;
    padding: 0;
  }

  .hero__main-image {
    position: static;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .hero__leaf-image {
    display: none;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }

  .news-item__more {
    text-align: left;
  }

  .split-visual,
  .split-visual--reverse {
    min-height: 0;
    background: #fff;
  }

  .split-visual::before {
    display: block;
    width: 100%;
    aspect-ratio: 820 / 560;
    background: var(--sp-section-image) center / cover no-repeat;
    content: "";
  }

  .split-visual .container {
    display: block;
    min-height: 0;
  }

  .split-visual__content,
  .split-visual--reverse .split-visual__content {
    width: 100%;
    margin-left: 0;
    padding: 36px 0 44px;
  }

  .section {
    padding: 0;
  }

  .card-grid,
  .service-banners {
    grid-template-columns: 1fr;
  }

  .feature-card__body {
    min-height: 0;
  }

  .service-section {
    padding: 64px 0;
  }

  .service-section__lead {
    margin-bottom: 32px;
    font-size: 21px;
  }

  .service-banner {
    padding: 32px 24px;
  }

  .service-banner__title {
    font-size: 26px;
  }

  .page-header {
    min-height: 112px;
  }

  .page-header__title {
    font-size: 22px;
  }

  .page-header__inner {
    gap: 18px;
  }

  .page-header__inner::after {
    width: 72px;
  }

  .archive-section,
  .post-detail {
    padding: 28px 0 32px;
  }

  .single-post__date {
    font-size: 13px;
  }

  .single-post__title {
    margin-bottom: 28px;
    font-size: 20px;
  }

  .single-post__thumbnail {
    margin-bottom: 30px;
  }

  .single-post__content {
    font-size: 15px;
  }

  .single-post__content h2 {
    font-size: 24px;
  }

  .single-post__content h3 {
    font-size: 20px;
  }

  .single-post__pager {
    grid-template-columns: 1fr;
    margin-top: 46px;
  }

  .single-post__pager-item {
    min-height: 64px;
    padding: 20px 18px;
  }

  .single-post__pager-item--next {
    border-top: 1px solid #bcbcbc;
    border-left: 0;
    text-align: left;
  }

  .contact-band__title {
    font-size: 25px;
  }

  .contact-panel__tel {
    justify-content: center;
    font-size: clamp(28px, 9vw, 34px);
  }

  .contact-panel .button {
    width: 100%;
    max-width: 385px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .footer-tel {
    font-size: 28px;
  }

  .footer-tel i {
    font-size: 26px;
  }

  .footer-hours {
    margin-left: 0;
  }

  .footer-closed-row {
    flex-wrap: wrap;
  }

  .consult-box {
    margin-top: 34px;
    padding: 10px;
  }

  .consult-box__text {
    padding: 24px 18px;
  }

  .consult-box__title {
    font-size: 22px;
  }

  .consult-box__contact {
    padding: 28px 22px;
    border-top: 1px solid var(--color-line);
  }

  .consult-box__contact-title {
    font-size: 17px;
  }

  .consult-box__contact-title::before,
  .consult-box__contact-title::after {
    width: 28px;
  }

  .icon-row {
    gap: 10px;
  }

  .icon-row__item {
    font-size: 13px;
  }

  .section-heading-row {
    display: grid;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .header-inner {
    display: block;
    min-height: 72px;
  }

  .site-logo {
    display: grid;
    min-height: 72px;
  }

  .site-logo img {
    width: auto;
    max-width: none;
    height: 50px;
  }

  .header-nav,
  .header-contact {
    display: none !important;
  }

  .container {
    width: min(100% - 48px, 1200px);
  }

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

  .consult-box,
  .contact-band__inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .consult-box {
    width: min(100% - 48px, 760px);
    padding: 12px;
  }

  .consult-box__photo {
    min-height: 300px;
  }

  .consult-box__contact {
    border-radius: 0 0 4px 4px;
  }

  .contact-panel {
    justify-items: center;
    padding-left: 0;
    border-left: 0;
  }

  .contact-band__inner {
    padding: 56px 32px;
    background: #f2efe9;
    text-align: center;
  }

  .contact-band__copy {
    padding-right: 0;
  }

  .contact-panel__tel {
    justify-content: center;
  }

  .contact-panel .button {
    width: min(385px, 100%);
  }
}
.company-table {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px solid #d6d2ca;
  border-left: 1px solid #d6d2ca;
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
  color: #333;
}

.company-table__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  margin: 0;
}

.company-table__row dt,
.company-table__row dd {
  box-sizing: border-box;
  margin: 0;
  padding: 24px 28px;
  border-right: 1px solid #d6d2ca;
  border-bottom: 1px solid #d6d2ca;
  line-height: 1.8;
}

.company-table__row dt {
  display: flex;
  align-items: center;
  background: #f5f2ec;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.company-table__row dd {
  background: #fff;
}

.company-table__row a {
  color: inherit;
  text-decoration: none;
}

.company-table__row a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  .company-table__row {
    display: block;
  }

  .company-table__row dt,
  .company-table__row dd {
    padding: 16px 18px;
  }

  .company-table__row dt {
    border-bottom: 0;
  }

  .company-table__row dd {
    line-height: 1.7;
  }
}

.grave-flow {
  padding: 90px 0 105px;
  background: #faf8f3;
  color: #202723;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.grave-flow__intro {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto 64px;
  text-align: center;
}

.grave-flow__lead {
  margin: 0 0 16px;
  color: #27683c;
  font-family: "Zen Old Mincho", serif;
  font-size: 18px;
  line-height: 1.7;
}

.grave-flow__title {
  margin: 0 0 28px;
  font-family: "Zen Old Mincho", serif;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.45;
}

.grave-flow__text {
  margin: 0;
  font-size: 16px;
  line-height: 2.1;
}

.grave-flow__list {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.grave-flow__item {
  position: relative;
  display: grid;
  grid-template-columns: 116px 360px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 34px 0;
  border-top: 1px solid #ded8ca;
}

.grave-flow__item:last-child {
  border-bottom: 1px solid #ded8ca;
}

.grave-flow__number {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border: 1px solid #c6a64f;
  color: #27683c;
  font-family: "Zen Old Mincho", serif;
  line-height: 1;
}

.grave-flow__number span {
  font-size: 13px;
  letter-spacing: 0.08em;
}

.grave-flow__number strong {
  font-size: 34px;
  font-weight: 500;
}

.grave-flow__photo {
  aspect-ratio: 1.58 / 1;
  overflow: hidden;
  background: #eeece6;
}

.grave-flow__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grave-flow__content h3 {
  margin: 0 0 18px;
  color: #27683c;
  font-family: "Zen Old Mincho", serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.55;
}

.grave-flow__content p {
  margin: 0;
  font-size: 16px;
  line-height: 2;
}

@media (max-width: 960px) {
  .grave-flow {
    padding: 70px 0 82px;
  }

  .grave-flow__intro,
  .grave-flow__list {
    width: min(100% - 40px, 720px);
  }

  .grave-flow__intro {
    margin-bottom: 48px;
  }

  .grave-flow__title {
    font-size: 32px;
  }

  .grave-flow__item {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 22px 24px;
    padding: 30px 0;
  }

  .grave-flow__number {
    grid-row: span 2;
    width: 78px;
    height: 78px;
  }

  .grave-flow__number strong {
    font-size: 28px;
  }

  .grave-flow__photo {
    grid-column: 2;
  }

  .grave-flow__content {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .grave-flow {
    padding: 54px 0 64px;
  }

  .grave-flow__intro,
  .grave-flow__list {
    width: min(100% - 32px, 520px);
  }

  .grave-flow__lead {
    font-size: 15px;
  }

  .grave-flow__title {
    margin-bottom: 20px;
    font-size: 28px;
  }

  .grave-flow__text {
    font-size: 14px;
    line-height: 1.95;
  }

  .grave-flow__text br {
    display: none;
  }

  .grave-flow__item {
    display: block;
    padding: 32px 0;
  }

  .grave-flow__number {
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
  }

  .grave-flow__photo {
    margin-bottom: 20px;
  }

  .grave-flow__content h3 {
    margin-bottom: 12px;
    font-size: 22px;
  }

  .grave-flow__content p {
    font-size: 14px;
    line-height: 1.95;
  }
}
.present{
	width:90%;
	max-width:700px;
	margin:0 auto 40px auto;
}
.present img{
	width:100%;
	height:auto;
}