/* =========================================
   パンくず
========================================= */

.page-id-26639 .breadcrumbs {
  display: none;
}

/* =========================================
   基本設定
========================================= */

@property --gm4-viewport {
  syntax: "<length>";
  inherits: true;
  initial-value: 0px;
}

body:has(.gh-message) {
  container-type: inline-size;
}

.gh-message {
  --gm4-viewport: 100cqw;
  --gm4-gradient: linear-gradient(90deg, #ea7d32, #e8d75e);

  width: var(--gm4-viewport);
  margin-left: calc((100% - var(--gm4-viewport)) / 2);
  color: #30302c;
  background: #fff;
  font-family:
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;
  text-align: left;
  line-height: 1.95;
}

.gh-message,
.gh-message *,
.gh-message *::before,
.gh-message *::after {
  box-sizing: border-box;
}

.gh-message h1,
.gh-message h2,
.gh-message h3,
.gh-message p,
.gh-message figure,
.gh-message ul,
.gh-message ol,
.gh-message li {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

.gh-message h1,
.gh-message h2,
.gh-message h3 {
  color: inherit;
  font-family: inherit;
  font-weight: 500;
  text-align: left;
}

.gh-message h1::before,
.gh-message h1::after,
.gh-message h2::before,
.gh-message h2::after,
.gh-message h3::before,
.gh-message h3::after,
.gh-message li::before {
  content: none;
}

.gh-message img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.gh-message .gm4-text {
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.015em;
  overflow-wrap: anywhere;
}

.gh-message .gm4-text p + p {
  margin-top: 0;
}

.gh-message .gm4-text h3 {
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
  font-size: 23px;
  line-height: 1.7;
}

.gh-message .gm4-choice-paper h3 {
  margin: 40px 0 16px;
  padding-bottom: 0;
  border-bottom: none;
  font-size: 23px;
  line-height: 1.7;
}

.gh-message .gm4-kicker {
  margin-bottom: 20px;
  color: #8a7350;
  font: 400 12px/1.5 "Jost", sans-serif;
  letter-spacing: 0.17em;
}

.gh-message .gm4-sign {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px 26px;
  margin-top: 30px;
  font-size: 12px;
  line-height: 1.8;
}

.gh-message .gm4-sign .gm4-name {
  font-size: 27px;
  letter-spacing: 0.13em;
}

/* =========================================
   01：冒頭
========================================= */

.gh-message .gm4-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 65px;
  max-width: 100%;
  margin: 0 auto;
  padding: 105px 65px 105px 0;
}

.gh-message .gm4-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 28%;
  z-index: -1;
  background: #f4f4f4;
}

.gh-message .gm4-hero-photos {
  position: relative;
  min-width: 0;
  align-self: start;
  padding: 0 65px 110px 0;
}

.gh-message .gm4-hero-main {
  aspect-ratio: 1.15;
  object-fit: cover;
  object-position: center;
}

.gh-message .gm4-hero-detail {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 53%;
  aspect-ratio: 1.35;
  object-fit: cover;
  object-position: 70% center;
  border: 8px solid #fff;
}

.gh-message .gm4-hero-copy {
  min-width: 0;
  padding-top: 6px;
}

.gh-message .gm4-display {
  color: #b9b7af;
  font: 400 72px/1 "Jost", sans-serif;
  letter-spacing: 0.025em;
}

.gh-message .gm4-hero h1 {
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 0.12em;
}

.gh-message .gm4-hero-catch {
  margin: 35px 0 27px;
  font-size: 29px;
  line-height: 1.7;
  letter-spacing: 0.06em;
}

.gh-message .gm4-hero .gm4-text {
  font-size: 14px;
}

/* =========================================
   02：中央の本文と左右の写真
========================================= */

.gh-message .gm4-family {
  position: relative;
  isolation: isolate;
  margin-top: 45px;
  padding: 105px 0 90px;
}

.gh-message .gm4-family-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.85fr)
    minmax(0, 0.9fr);
  gap: 100px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  align-items: start;
}

.gh-message .gm4-family-left {
  margin-top: 30px;
}

.gh-message .gm4-family-left img {
  aspect-ratio: 0.8;
  object-fit: cover;
}

.gh-message .gm4-family-main {
  min-width: 0;
}

.gh-message .gm4-family h2 {
  margin-bottom: 27px;
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1.7;
}

.gh-message .gm4-family-right {
  display: grid;
  gap: 26px;
  margin-top: 145px;
}

.gh-message .gm4-family-right img {
  aspect-ratio: 0.76;
  object-fit: cover;
}

.gh-message .gm4-family-right figure:nth-child(2) {
  margin-left: -20px;
  margin-right: 20px;
}

.gh-message .gm4-key {
  margin-top: 16px !important;
  font-weight: 500;
}

.gh-message .gm4-list {
  margin: 25px 0;
  list-style: none;
}

.gh-message .gm4-list li {
  position: relative;
  padding: 5px 0 5px 20px;
  font-size: 14px;
  line-height: 1.9;
  list-style: none;
}

.gh-message .gm4-list li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  width: 4px;
  height: 4px;
  background: #aa8c53;
}

/* =========================================
   03：YOUR CHOICE
========================================= */

.gh-message .gm4-choice {
  position: relative;
  isolation: isolate;
  margin-top: 50px;
  padding: 130px 0 65px;
}

.gh-message .gm4-choice::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #edeeeb, #f6f5f0);
}

.gh-message .gm4-choice-layout {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.gh-message .gm4-choice-heading {
  position: relative;
  z-index: 3;
  width: 64%;
  padding: 20px 0 8px 30px;
}

.gh-message .gm4-choice h2 {
  font-size: clamp(22px, 2.25vw, 29px);
  line-height: 1.75;
}

/* 見出しの行 */
.gh-message .gm4-choice h2 > span {
  display: table;
  max-width: 100%;
  margin-bottom: 8px;
  background: transparent;
}

/* 文節内で一文字だけ折り返さない */
.gh-message .gm4-choice h2 .gm4-phrase {
  display: inline-block;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  white-space: nowrap;
  vertical-align: baseline;
}

.gh-message .gm4-choice-photos {
  position: absolute;
  right: 0;
  top: 0;
  width: 42%;
  height: 560px;
}

.gh-message .gm4-choice-back {
  position: absolute;
  top: 0;
  right: 0;
  width: 68%;
  height: 410px;
  object-fit: cover;
}

.gh-message .gm4-choice-front {
  position: absolute;
  top: 300px;
  left: 0;
  width: 65%;
  height: 280px;
  object-fit: cover;
  border: 7px solid #fff;
}

.gh-message .gm4-choice-paper {
  position: relative;
  z-index: 2;
  width: 60%;
  padding: 40px 55px 45px 35px;
  background: transparent;
}

.gh-message .gm4-options {
  margin: 25px 0;
  list-style: none;
  counter-reset: choices;
}

.gh-message .gm4-options li {
  position: relative;
  padding: 20px 0 20px 37px;
  border-top: 1px solid #dfddd5;
  list-style: none;
  counter-increment: choices;
}

.gh-message .gm4-options li:last-child {
  border-bottom: 1px solid #dfddd5;
}

.gh-message .gm4-options li::before {
  content: counter(choices, decimal-leading-zero);
  position: absolute;
  top: 22px;
  left: 0;
  color: #9b8053;
  font: 400 18px/1.5 "Oswald", Arial, sans-serif;
}

/* =========================================
   04：WITH SINCERITY
========================================= */

.gh-message .gm4-closing {
  position: relative;
  isolation: isolate;
  max-width: 100%;
  margin: 120px auto 0;
  padding: 0 0 45px 7%;
}

.gh-message .gm4-closing::before {
  content: "";
  position: absolute;
  top: 100px;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 64%;
  background: #e9e7df;
}

.gh-message .gm4-closing-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #292a27;
}

.gh-message .gm4-closing-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}

.gh-message .gm4-closing-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(23, 25, 22, 0.95) 0%,
    rgba(23, 25, 22, 0.92) 52%,
    rgba(23, 25, 22, 0.5) 78%,
    rgba(23, 25, 22, 0.2)
  );
}

.gh-message .gm4-closing-copy {
  width: 100%;
  max-width: 100%;
  padding: 55px 105px 56px 60px;
  color: #fff;
}

.gh-message .gm4-closing .gm4-kicker {
  color: #e8cf98;
}

.gh-message .gm4-closing h2 {
  margin-bottom: 27px;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.75;
}

.gh-message .gm4-closing .gm4-text {
  font-size: 15px;
}

.gh-message .gm4-closing .gm4-last {
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid #ffffff45;
  font-size: 18px;
}

.gh-message .gm4-closing .gm4-sign {
  justify-content: flex-end;
}

/* =========================================
   戻るボタン
========================================= */

.gh-message .gm4-back {
  display: flex;
  justify-content: flex-end;
  padding: 45px 24px 65px;
}

.gh-message .gm4-back a {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 320px;
  max-width: 100%;
  padding: 17px 24px;
  border: 1px solid #bdb9af;
  color: #333;
  font-size: 14px;
  text-decoration: none;
}

.gh-message .gm4-back a::after {
  content: "";
  position: absolute;
  inset: auto -1px -1px;
  height: 2px;
  background: var(--gm4-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.gh-message .gm4-back a:hover::after,
.gh-message .gm4-back a:focus-visible::after {
  transform: scaleX(1);
}

.gh-message a:focus-visible {
  outline: 2px solid #b96928;
  outline-offset: 5px;
}

/* =========================================
   写真の表示アニメーション
========================================= */

.gh-message .gm4-pending {
  opacity: 0;
  transform: translateY(15px);
}

.gh-message .gm4-shown {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* =========================================
   タブレット：1050px以下
========================================= */

@media (max-width: 1050px) {
  .gh-message .gm4-hero {
    gap: 35px;
    padding-right: 30px;
  }

  .gh-message .gm4-hero-photos {
    padding-right: 35px;
    padding-bottom: 70px;
  }

  .gh-message .gm4-family-layout {
    grid-template-columns:
      minmax(0, 0.65fr)
      minmax(0, 2.65fr)
      minmax(0, 0.65fr);
    gap: 24px;
    padding: 0 24px;
  }

  .gh-message .gm4-choice-layout {
    padding: 0 25px;
  }

  .gh-message .gm4-choice-heading {
    padding-left: 0;
  }

  .gh-message .gm4-choice-paper {
    width: 72%;
    padding: 30px;
  }

  .gh-message .gm4-choice-photos {
    width: 35%;
  }

  .gh-message .gm4-closing-copy {
    width: 80%;
    padding: 40px;
  }
}

/* =========================================
   スマートフォン：767px以下
========================================= */

@media (max-width: 767px) {

  /* 01：冒頭 */
  .gh-message .gm4-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 0 0 35px;
  }

  .gh-message .gm4-hero::before {
    content: none;
  }

  .gh-message .gm4-hero-photos {
    padding: 0 0 70px;
  }

  .gh-message .gm4-hero-main {
    width: 100%;
    aspect-ratio: 1.45;
  }

  .gh-message .gm4-hero-detail {
    right: 20px;
    bottom: 0;
    width: 48%;
    border-width: 5px;
  }

  .gh-message .gm4-hero-copy {
    padding: 0 24px;
  }
.gh-message .gm4-kicker {
  margin-bottom: 10px;
}
  .gh-message .gm4-display {
    font-size: 46px;
  }

  .gh-message .gm4-hero-catch {
    margin: 25px 0;
    font-size: 24px;
  }

  .gh-message .gm4-hero .gm4-text {
    font-size: 15px;
  }

  /* 02：家族 */
  .gh-message .gm4-family {
    margin-top: 25px;
    padding: 16px 0 55px;
  }

  .gh-message .gm4-family-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 24px;
  }

  .gh-message .gm4-family-left {
    width: 100%;
    margin: 0;
  }

  .gh-message .gm4-family-left img {
    aspect-ratio: 1.5;
  }

  .gh-message .gm4-family h2 {
    font-size: 24px;
  }

  .gh-message .gm4-family-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 5px 0 0;
  }

  .gh-message .gm4-family-right img {
    aspect-ratio: 1.2;
  }

  .gh-message .gm4-family-right figure:nth-child(2) {
    margin: 20px 0 0;
  }

  .gh-message .gm4-text h3 {
    margin-top: 30px;
    font-size: 20px;
  }

  /* 03：YOUR CHOICE */
  .gh-message .gm4-choice {
    margin-top: 25px;
    padding: 60px 0;
  }

  .gh-message .gm4-choice::before {
    inset: 0;
    background: #f4f4f4;
  }

  .gh-message .gm4-choice-layout {
    padding: 0;
  }

  .gh-message .gm4-choice-heading {
    width: 100%;
    padding: 0 20px 24px;
  }

  .gh-message .gm4-choice h2 {
    font-size: clamp(20px, 4.5vw, 22px);
    line-height: 1.5;
    text-wrap: balance;
  }

  .gh-message .gm4-choice h2 > span {
    display: block;
    margin-bottom: 5px;
  }

  .gh-message .gm4-choice-photos {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    margin: 0;
    padding: 0 0 65px;
  }

  .gh-message .gm4-choice-back {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1.45;
    object-fit: cover;
  }

  .gh-message .gm4-choice-front {
    top: auto;
    right: auto;
    bottom: 0;
    left: 20px;
    width: 52%;
    height: auto;
    aspect-ratio: 1.45;
    border-width: 5px;
  }

  .gh-message .gm4-choice-paper {
    width: 100%;
    padding: 26px 20px 15px;
  }

  /* 04：WITH SINCERITY */
  .gh-message .gm4-closing {
    width: 100%;
    margin-top: 0px;
    padding: 0;
  }

  .gh-message .gm4-closing::before {
    content: none;
  }

  .gh-message .gm4-closing-copy {
    width: 100%;
    padding: 80px 30px;
  }

  .gh-message .gm4-closing h2 {
    font-size: 24px;
  }

  .gh-message .gm4-closing-panel::before {
    background: rgba(23, 25, 22, 0.88);
  }

  .gh-message .gm4-closing-image {
    object-position: center;
  }

  .gh-message .gm4-back {
    padding: 30px 24px 45px;
  }
  .gh-message .gm4-closing .gm4-last {
    font-size: 17px;
  }
}

/* =========================================
   動きを減らす設定
========================================= */

@media (prefers-reduced-motion: reduce) {
  .gh-message .gm4-pending,
  .gh-message .gm4-shown {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .gh-message .gm4-back a::after {
    transition: none;
  }
}