/*
Theme Name: kanazawa
Theme URI: 
Author: 
Author URI: 
Description: 有限会社金沢用のオリジナルテーマ
Version: 1.0
*/

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family:
        "Noto Serif JP",
        serif;
    color: #222;
    line-height: 1.7;
}

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

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

.top-page {
    min-height: 100vh;
}

/* =========================
      メインビジュアル
    ========================= */
.mv {
    position: relative;
    min-height: 920px;
    background: url("/wp-content/themes/kanazawa/assets/img/mv-bg.jpg") center center / cover no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 150px 20px 120px;
    overflow: hidden;
}

.mv::before {
    content: "";
    position: absolute;
    inset: 0;
}

.mv__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    text-align: center;
}

.mv__company {
    width: 370px;
    margin: auto;
}

.mv__lead {
    margin: 32px 0 0;
    font-size: 18px;
    line-height: 2;
    letter-spacing: 0.08em;
}

/* =========================
      緊急連絡ボックス
    ========================= */
.contact-box {
    margin: 70px auto 0;
    width: 100%;
    max-width: 700px;
    padding: 30px 40px;
    background: rgba(255, 255, 255, 0.62);
    border-radius: 6px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
}

.contact-box__title {
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #8d8d8d;
    font-size: 30px;
    font-weight: 500;
    color: #a675b0;
    letter-spacing: -.02em;
    line-height: 1.5;
}

.contact-box__text {
    margin: 24px 0 0;
    font-size: 18px;
    line-height: 2;
}

.contact-box__tel {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.contact-box__badge {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #a675b0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.contact-box__number {
    margin: 0;
    font-size: 60px;
    font-weight: 400;
    line-height: 1;
    /* letter-spacing: 0.03em; */
}

.contact-box__number span {
    font-size: 40px;
}

/* =========================
      バナーエリア
    ========================= */
.banner-section {
    padding: 150px 20px 160px;
}

.banner-section__inner {
    /* max-width: 1200px; */
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.banner-link {
    display: block;
    width: 100%;
    max-width: 1000px;
    /* background: #fff; */
    transition: opacity 0.3s ease;
}

.banner-link:hover {
    opacity: 0.85;
}

/* =========================
      フッター
    ========================= */
.footer {
    background: #323232;
    color: #fff;
    padding: 50px 20px 24px;
}

.footer__inner {
    max-width: 1000px;
    margin: 0 auto;
}

.footer__company {
    width: 230px;
}

.footer__address,
.footer__tel {
    margin: 0;
    font-size: 16px;
    /* color: rgba(255, 255, 255, 0.95); */
    line-height: 1.9;
}

.footer__copyright {
    margin: 80px 0 0;
    font-size: 12px;
    /* color: rgba(255, 255, 255, 0.9); */
}

/* =========================
      レスポンシブ
    ========================= */
@media (max-width: 1024px) {
    .mv {
        min-height: 760px;
        padding-top: 90px;
    }

    .mv__company {
        font-size: 46px;
    }

    .mv__company small {
        font-size: 26px;
    }

    .mv__lead {
        font-size: 18px;
    }

    .contact-box__number {
        font-size: 48px;
    }
}

@media (max-width: 767px) {
    .mv {
        min-height: auto;
        padding: 70px 16px 60px;
        background-position: center;
    }

    .mv__company {
        width: 100%;
        max-width: 280px;
    }

    .mv__lead {
        margin-top: 28px;
        font-size: 13px;
        line-height: 1.9;
    }

    .contact-box {
        margin-top: 45px;
        padding: 24px 18px 22px;
    }

    .contact-box__title {
        font-size: 18px;
    }

    .contact-box__text {
        font-size: 14px;
        line-height: 1.8;
    }

    .contact-box__tel {
        gap: 14px;
    }

    .contact-box__badge {
        width: 82px;
        height: 82px;
        font-size: 14px;
    }

    .contact-box__number {
        font-size: 34px;
        line-height: 1.2;
        word-break: break-all;
    }

    .contact-box__number span {
        font-size: 24px;
    }

    .banner-section {
        padding: 50px 40px 80px;
    }

    .footer {
        padding: 48px 16px 26px;
    }

    .footer__company {
        width: 180px;
        margin: 0 auto 16px;
    }

    .footer__address,
    .footer__tel {
        font-size: 14px;
        text-align: center;
    }

    .footer__copyright {
        margin-top: 48px;
        font-size: 10px;
    }
}

/* ========================================
   夕焼けの社ページ
======================================== */
/* .memorial-page {
  background: #efefef;
}

.memorial-mv {
  background: linear-gradient(180deg, #d7a0c7 0%, #e9d0da 28%, #f2ede8 100%);
  padding: 30px 20px 40px;
}

.memorial-mv__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.memorial-mv__image {
  margin: 0 auto;
  width: 100%;
  max-width: 420px;
} */

.memorial-intro {
  padding: 100px 20px 90px;
}

.memorial-intro__inner {
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  line-height: 2;
}

.memorial-intro__inner p {
  margin: 0 0 1.4em;
}

.memorial-feature {
  padding: 80px 20px 32px;
  background: url("./assets/img/yuyake-bg.jpg") center center / cover no-repeat;
}

.memorial-feature__inner {
  margin: 0 auto;
}

.memorial-box {
  max-width: 1000px;
  margin: 0 auto;
  background: rgba(255, 255, 255);
  border: 2px solid #b88cc4;
  border-radius: 4px;
  padding: 50px 30px;
}

.memorial-box__title {
  margin: 0 0 20px;
  text-align: center;
  color: #8f5ca3;
  font-size: 30px;
  line-height: 1.6;
}

.memorial-box__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.memorial-box__cols ul {
  margin: 0;
  padding-left: 0;
  list-style-type: none;
}

.memorial-box__cols li {
  /* margin-bottom: 10px; */
  font-size: 20px;
  line-height: 1.9;
}

.memorial-text-block {
  padding-top: 100px;
}

.memorial-text-block__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.memorial-text-block__inner h2 {
  margin: 0 0 12px;
  color: #e0702a;
  font-size: 24px;
  line-height: 1.7;
  position: relative;
  padding-bottom: 12px;
}

.memorial-text-block__inner h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;

  background: linear-gradient(
    to right,
    rgba(255,106,0,0),
    rgba(255,106,0,1),
    rgba(255,106,0,0)
  );
}

.memorial-text-block__inner p {
  margin: 0 0 48px;
  font-size: 18px;
  line-height: 2;
  text-align: left;
  letter-spacing: -.5px;
}

.memorial-table-section {
  padding: 100px 20px 0;
}

.memorial-table-section__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.memorial-table-box {
  margin-bottom: 100px;
}

.memorial-section-title {
  margin: 0 0 18px;
  background: #f16522;
  color: #fff;
  text-align: center;
  padding: 8px 14px;
  font-size: 20px;
  line-height: 1.5;
}

.memorial-table-note {
  margin: 0 0 30px;
  font-size: 16px;
  text-align: center;
}

.memorial-table-wrap {
  overflow-x: auto;
  padding-bottom: 8px;
}

.memorial-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: transparent;
  border-top: 2px solid #6f6f6f;
  border-bottom: 2px solid #6f6f6f;
}

.memorial-table th,
.memorial-table td {
  position: relative;
  border: none;
  padding: 8px 12px;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  height: 65px;
}

/* 横線（行ごと） */
.memorial-table thead tr {
  border-bottom: 1px solid #8a8a8a;
}

.memorial-table tbody tr {
  border-bottom: 1px solid #8a8a8a;
}

.memorial-table tbody tr:last-child {
  border-bottom: none;
}

/* 縦線（疑似要素で再現） */
.memorial-table th:not(:last-child)::after,
.memorial-table td:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 0;
  width: 1px;
  height: calc(100% - 8px);
  background: #8a8a8a;
}

.memorial-diagram {
    display: flex;
    gap: 16px;
  padding: 20px 20px 40px;
  align-items: flex-end;
}

.memorial-diagram__image {
  max-width: 500px;
}

.memorial-diagram__note {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  padding-left: 1em;
    text-indent: -1em;
}

.memorial-flow {
  padding: 0 20px 150px;
}

.memorial-flow__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.memorial-flow-box {
  max-width: 1000px;
  margin: 0 auto;
  background: #d2b9d7;
  padding: 72px 20px 60px;
  border-radius: 4px;
}

.memorial-flow-box__title {
  margin: 0 0 20px;
  text-align: center;
  color: #323232;
  font-size: 30px;
}

.memorial-flow-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 800px;
}

.memorial-flow-list li {
  position: relative;
  background: #fff;
  text-align: center;
  padding: 12px;
  margin-bottom: 36px;
  font-size: 24px;
  line-height: 1;
}

.memorial-flow-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -26px;
  transform: translateX(-50%);

  width: 0;
  height: 0;

  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 14px solid #969696;
}

.memorial-flow-list li span {
  display: block;
  font-size: 16px;
  margin-top: 8px;
}

.memorial-map__inner {
  text-align: center;
}

.memorial-map__title {
  margin: 0;
  font-size: 30px;
}

.memorial-map__sub {
  margin: 32px 0 20px;
  font-size: 18px;
}

.memorial-map-embed {
  width: 100%;
  height: 600px;
}

.memorial-map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* スマホ */
@media (max-width: 767px) {
  .memorial-map-embed {
    height: 260px;
  }
}

.memorial-map__address {
  margin: 40px 0 150px;
  font-size: 24px;
  line-height: 2;
}

.memorial-contact {
  background: #d2b9d7;
  padding: 100px 20px 85px;
  margin-bottom: 200px;
}

/* お問い合わせフォームのカスタムスタイル */
.contact-form-custom {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 100px;
  background: #fff;
  box-sizing: border-box;
}

.contact-form-custom__head {
  text-align: center;
  margin-bottom: 56px;
}

.contact-form-custom__title {
  margin: 0 0 16px;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.4;
  color: #959595;
}

.contact-form-custom__lead {
  margin: 0;
  font-size: 18px;
  line-height: 2;
  color: #959595;
}

.contact-form-custom__tel {
  margin: 18px 0 8px;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 400;
}

.contact-form-custom__tel a {
  color: #ea5514;
  text-decoration: none;
}

.contact-form-custom__time {
  margin: 0;
  font-size: 16px;
  color: #959595;
}

.contact-form-custom__row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 32px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid #b9b4b0;
}

.contact-form-custom__row--textarea {
  min-height: 280px;
}

.contact-form-custom__label {
  font-size: 16px;
  line-height: 1.8;
  color: #7c7672;
  padding-top: 10px;
}

.contact-form-custom__label .required {
  color: #ff0000;
  margin-left: 2px;
  font-size: 10px;
    vertical-align: super;
}

.contact-form-custom__field {
  width: 100%;
}

.contact-form-custom__field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact-form-custom input[type="text"],
.contact-form-custom input[type="email"],
.contact-form-custom input[type="tel"],
.contact-form-custom textarea {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 8px 0;
  font-size: 16px;
  line-height: 1.8;
  color: #7c7672;
  outline: none;
  box-sizing: border-box;
  box-shadow: none;
}

.contact-form-custom input::placeholder,
.contact-form-custom textarea::placeholder {
  color: #c9c5c2;
}

.contact-form-custom textarea {
  min-height: 220px;
  resize: vertical;
}

.contact-form-custom__note {
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid #b9b4b0;
  font-size: 14px;
  color: #ff0000;
}

.contact-form-custom__submit {
  text-align: center;
  margin-top: 30px;
}

.contact-form-custom input[type="submit"] {
  appearance: none;
  border: 0;
  background: #f16522;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  border-radius: 9999px;
  min-width: 400px;
  padding: 20px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.contact-form-custom input[type="submit"]:hover {
  opacity: 0.85;
}

.contact-form-custom .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

.contact-form-custom .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
}

.contact-form-custom .wpcf7-response-output {
  margin: 24px 0 0 !important;
  padding: 12px 16px !important;
  font-size: 14px;
}

.memorial-bottom {
  background:
    linear-gradient(rgba(255,255,255,0.15), rgba(255,255,255,0.15)),
    url("./assets/img/footer-rainbow.jpg") center center / cover no-repeat;
  padding: 32px 20px;
  /* height: 400px; */
}

.memorial-bottom__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.memorial-bottom__name {
  margin: 0 0 8px;
  width: 370px;
}

.memorial-bottom__addr {
  margin: 0;
  font-size: 16px;
  line-height: 2;
}

.memorial-bottom__tel {
  margin: 0;
  font-size: 43px;
  line-height: 0.8;
  font-weight: 700;
}

.memorial-bottom__btn {
  display: inline-block;
  background: #f16522;
  color: #fff;
  border-radius: 4px;
  padding: 12px 26px;
  font-size: 14px;
  white-space: nowrap;
}

._pc {
  display: inline-block;
}

._sp {
  display: none;
}

@media (max-width: 767px) {
  /* .memorial-mv {
    padding: 20px 16px 30px;
  } */

  /* .memorial-mv__image {
    max-width: 280px;
  } */

  .memorial-intro {
    padding: 26px 16px 20px;
  }

  .memorial-intro__inner {
    font-size: 12px;
    line-height: 2;
  }

  .memorial-feature,
  .memorial-text-block,
  .memorial-table-section,
  .memorial-flow,
  .memorial-contact {
    padding-left: 10px;
    padding-right: 10px;
  }

  .memorial-text-block {
    padding-top: 50px;
}

.memorial-flow {
    padding: 0 20px 80px;
}

  .memorial-box {
    padding: 18px 12px 14px;
  }

  .memorial-box__title {
    font-size: 14px;
    letter-spacing: -1px;
  }

  .memorial-box__cols {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .memorial-box__cols li {
    font-size: 13px;
  }

  .memorial-text-block__inner h2 {
    font-size: 16px;
  }

  .memorial-text-block__inner p {
    font-size: 12px;
  }

  .memorial-section-title {
    font-size: 16px;
  }

  .memorial-table-note {
      margin: 0 0 16px;
      font-size: 14px;
      padding-left: 1em;
    text-indent: -1em;
    text-align: left;
  }

  .memorial-table {
    width: max-content;
  }

  .memorial-table th,
  .memorial-table td {
    padding: 10px 8px;
    font-size: 12px;
  }

  .memorial-diagram {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    padding: 12px 12px 20px;
  }

  .memorial-diagram__note {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .memorial-flow-box {
    padding: 22px 14px;
  }

  .memorial-flow-box__title {
    font-size: 18px;
  }

  .memorial-flow-list li {
    font-size: 15px;
    padding: 12px 8px;
  }

  .memorial-flow-list li span {
    font-size: 11px;
  }

  .memorial-map__title {
    font-size: 20px;
  }

  .memorial-map__sub {
    margin: 20px 0;
    font-size: 15px;
  }

  .memorial-map__address {
    font-size: 13px;
    margin: 40px 0 100px;
  }

  .memorial-contact {
    padding-top: 40px;
    padding-bottom: 40px;
    margin-bottom: 50px;
  }

  .memorial-contact-box {
    padding: 28px 18px;
  }

  .memorial-contact-box__title {
    font-size: 24px;
  }

  .memorial-contact-box__tel {
    font-size: 24px;
  }

  .memorial-bottom__inner {
    flex-direction: column;
    align-items: center;
  }

  .memorial-bottom__addr {
    font-size: 14px;
    text-align: center;
  }

  .memorial-bottom__name {
    width: 240px;
    margin: 24px auto 8px;
  }

  .memorial-bottom__tel {
    font-size: 20px;
    text-align: center;
    margin-top: 8px;
  }

  .memorial-bottom__btn {
    width: 280px;
  }

  .contact-form-custom {
    padding: 40px 15px;
  }

  .contact-form-custom__title {
    font-size: 28px;
  }

  .contact-form-custom__lead {
    font-size: 12px;
    line-height: 2;
  }

  .contact-form-custom__tel {
    font-size: 28px;
  }

  .contact-form-custom__row {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 0 20px;
  }

  .contact-form-custom__row--textarea {
    min-height: 0;
  }

  .contact-form-custom__label {
    padding-top: 0;
    font-size: 15px;
  }

  .contact-form-custom textarea {
    min-height: 180px;
  }

  .contact-form-custom input[type="submit"] {
    width: 100%;
    min-width: 0;
    font-size: 16px;
    height: 52px;
    max-width: 280px;
  }

  ._pc {
    display: none;
  }

  ._sp {
    display: inline;
  }
}

.pamphlet-bottom {
    display: none;
}

@media (max-width: 767px) {
  .pamphlet-bottom {
    display: block;
    text-align: center;
    margin-bottom: 50px;
  }
}
.seo-title{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
}