/* Header and button adjustments */
.page-completed-tour__mainBtn {
  display: none;
}

@media screen and (max-width: 767px) {
  /* header {
      display: none;
  }

  main {
      margin-top: 0;
  } */
}

.page-completed-tour__mainBtn {
  --button-color-start: #e43a2d;
  --button-color-end: #ff6b4d;
  --button-shadow-color: rgb(228 58 45 / 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: linear-gradient(
    135deg,
    var(--button-color-start),
    var(--button-color-end)
  );
  padding: 1rem;
  box-shadow: 0 4px 20px var(--button-shadow-color);
  animation: slideDown 0.5s ease-out;
}

.page-completed-tour__mainBtn a {
  width: min(90%, 320px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  padding: 18px 24px;
  margin: 0 auto;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--button-color-start);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.1), inset 0 1px 0 rgb(255 255 255 / 0.5);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.page-completed-tour__mainBtn a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent 25%,
    rgb(255 255 255 / 0.2) 50%,
    transparent 75%
  );
  background-size: 200% 200%;
  animation: shine 3s infinite;
}

.page-completed-tour__mainBtn a::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-80%) rotate(45deg);
  transition: all 0.3s ease;
}

.page-completed-tour__mainBtn a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgb(228 58 45 / 0.2),
    inset 0 1px 0 rgb(255 255 255 / 0.5);
}

.page-completed-tour__mainBtn a:hover::after {
  transform: translate(4px, -30%) rotate(45deg);
}

.page-completed-tour__mainBtn a:active {
  transform: scale(0.98);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes shine {
  0% {
    background-position: -100% -100%;
  }
  100% {
    background-position: 100% 100%;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--button-shadow-color);
  }
  70% {
    box-shadow: 0 0 0 15px rgb(228 58 45 / 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(228 58 45 / 0);
  }
}

@media screen and (max-width: 767px) {
  .page-completed-tour__mainBtn {
    display: block;
  }

  .page-completed-tour__mainBtn a {
    padding: 16px 20px;
    font-size: 16px;
  }
}

/* Section title styling */
.page-completed-tour.-m02 .lead .section_title {
  font-size: 16px;
  letter-spacing: 0.1em;
  font-weight: 300;
  color: #839c74;
  text-align: center;
  position: relative;
  margin-bottom: 30px;
  padding: 0 50px;
  font-family: 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
}

.page-completed-tour.-m02 .lead .section_title::before,
.page-completed-tour.-m02 .lead .section_title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: #839c74;
}

.page-completed-tour.-m02 .lead .section_title::before {
  left: 0;
  transform: rotate(-35deg);
}

.page-completed-tour.-m02 .lead .section_title::after {
  right: 0;
  transform: rotate(35deg);
}

/* Lead section styling */
.page-completed-tour.-m02 .lead .title {
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 30px;
  font-family: 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
}

.page-completed-tour.-m02 .lead .text {
  line-height: 1.8;
  letter-spacing: 0.05em;
  text-align: center;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
  font-family: 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
}

.lead-img {
  width: 60%;
  margin: 0 auto;
}

/* Responsive adjustments */
@media screen and (max-width: 767px) {
  .page-completed-tour.-m02 .lead .section_title {
    padding: 0 40px;
  }

  .page-completed-tour.-m02 .lead .section_title::before,
  .page-completed-tour.-m02 .lead .section_title::after {
    width: 25px;
  }

  .page-completed-tour.-m02 .lead .title {
    font-size: 24px;
  }

  .page-completed-tour.-m02 .lead .text {
    font-size: 14px;
  }

  .lead-img {
    width: 100%;
  }
}
.page-completed-tour.-m02 .section_title {
  margin-bottom: 35px;
  text-align: center;
}
.page-completed-tour.-m02 .page-completed-tour__topWrap {
  background: rgb(235, 239, 229);
  background: linear-gradient(
    130deg,
    rgba(235, 239, 229, 1) 0%,
    rgba(247, 246, 240, 1) 100%
  );
}
.page-completed-tour.-m02 .lead {
  padding-top: 64px;
  position: relative;
}
.page-completed-tour.-m02 .lead .container {
  padding-bottom: 90px;
}
.page-completed-tour.-m02 .lead .container::before {
  content: "";
  position: absolute;
  top: -22px;
  left: -17px;
  width: 172px;
  height: 158px;
  background-image: url(http://greenhomes.xsrv.jp/new/wp-content/themes/2023_greenhomes_ver2/lib/images/completed-tour/event202502/img_lead-attach_01.png);
  background-size: cover;
}
.page-completed-tour.-m02 .lead .container::after {
  content: "";
  position: absolute;
  top: 0px;
  right: 13px;
  width: 116px;
  height: 83px;
  background-image: url(http://greenhomes.xsrv.jp/new/wp-content/themes/2023_greenhomes_ver2/lib/images/completed-tour/event202502/img_lead-attach_02.png);
  background-size: cover;
}

.page-completed-tour.-m02 .lead .lead-icon {
  display: block;
  width: 44px;
  height: 44px;
  margin-inline: auto;
  margin-bottom: 27px;
}
.page-completed-tour.-m02 .lead .section_title {
  margin-bottom: 24px;
}
.page-completed-tour.-m02 .lead .title {
  font-size: 30px;
  margin-bottom: 32px;
}
.page-completed-tour.-m02 .lead .text {
  width: 100%;
  max-width: 756px;
  margin-inline: auto;
  letter-spacing: 0;
  font-size: 16px;
  font-weight: 500;
}
.page-completed-tour.-m02 .lead .lead-button {
  position: relative;
  width: fit-content;
  min-width: 286px;
  background-color: #839c74;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 12px;
  padding: 16px 0px;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
}
.page-completed-tour.-m02 .lead .lead-button::before {
  content: "";
  position: absolute;
  top: 38%;
  right: 15px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}
.page-completed-tour.-m02 .lead .lead-button span {
  font-size: 16px;
  color: #fff;
  line-height: 1.6;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0;
}
.page-completed-tour.-m02 .lead .lead-button .icon {
  width: 17px;
}
.page-completed-tour.-m02 .lead .lead-bottom {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 291px;
  height: 179px;
}
.page-completed-tour.-m02 .gallery {
  margin-top: 30px;
  padding-top: 0;
  padding-bottom: 0;
  background-color: unset;
  padding-bottom: 110px;
}
.page-completed-tour.-m02 .quick_menu {
  padding-top: 0;
  margin-top: 60px;
  margin-bottom: 0;
}
.page-completed-tour.-m02 .quick_menu .container {
  position: relative;
  padding-top: 50px;
}
.page-completed-tour.-m02 .quick_menu .container::before {
  content: "";
  position: absolute;
  top: 0px;
  left: -30px;
  width: 177px;
  height: 67px;
  background-image: url(./lib/images/completed-tour/event20240707/img_quick-menu-attach-flag_left.png);
  background-size: cover;
}
.page-completed-tour.-m02 .quick_menu .container::after {
  content: "";
  position: absolute;
  top: 0px;
  right: -30px;
  width: 177px;
  height: 67px;
  background-image: url(./lib/images/completed-tour/event20240707/img_quick-menu-attach-flag_right.png);
  background-size: cover;
}
.page-completed-tour.-m02 .quick_menu .menu-list li {
  width: calc(33% - 13px);
}

.page-completed-tour.-m02 .highlight {
  padding-bottom: 120px;
}
.page-completed-tour.-m02 .highlight::after {
  display: none;
}
.page-completed-tour.-m02 .highlight-items-row {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}
.page-completed-tour.-m02 .highlight-items-row .item {
  display: flex;
}
.page-completed-tour.-m02 .highlight-items-row .item .thumbnail {
  width: 350px;
}
.page-completed-tour.-m02 .highlight-items-row .item .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-completed-tour.-m02 .highlight-items-row .item .contents {
  flex: 1;
  background-color: #fff;
  padding: 22px 23px 22px 40px;
}
.page-completed-tour.-m02 .highlight-items-row .item .contents .num {
  width: 111px;
  margin-bottom: 10px;
}
.page-completed-tour.-m02 .highlight-items-row .item .contents .title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 5px;
  letter-spacing: 0;
}
.page-completed-tour.-m02 .highlight-items-row .item .contents .text {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  margin-bottom: 0;
}
.page-completed-tour.-m02 .highlight .reservation-button {
  margin-top: 50px;
}
.page-completed-tour.-m02 .room-layout .intro-text {
  text-align: center;
}
.page-completed-tour.-m02 .overview {
  padding-bottom: 77px;
}
.page-completed-tour.-m02 .privilege {
  width: fit-content;
  margin-top: 30px;
  margin-inline: auto;
}
.page-completed-tour.-m02 .privilege img {
  width: 550px;
  display: block;
  margin-inline: auto;
}
.page-completed-tour.-m02 .privilege p {
  text-align: center;
}
.page-completed-tour.-m02 .privilege .line1 {
  font-weight: 600;
  letter-spacing: 0.075em;
  line-height: 1.75;
  margin-top: -16px;
  margin-bottom: 15px;
  position: relative;
}
.page-completed-tour.-m02 .privilege .line1::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 16px;
  width: 57px;
  height: 64px;
  background-image: url(./lib/images/completed-tour/event20240707/icon_privilege-flag.png);
  background-size: cover;
}
.page-completed-tour.-m02 .privilege .line2 {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.7;
  margin-bottom: 0;
}

@media screen and (max-width: 1200px) {
  .page-completed-tour.-m02 .lead .container::before {
    left: 50px;
    width: 122px;
    height: 108px;
  }
  .page-completed-tour.-m02 .lead .container::after {
    right: 80px;
    width: 100px;
    height: 71px;
  }
  .page-completed-tour.-m02 .lead .lead-bottom {
    right: 55px;
    width: 251px;
    height: 139px;
  }
  .page-completed-tour.-m02 .quick_menu .menu-list li {
    width: calc(33% - 14px);
  }
  .page-completed-tour.-m02 .highlight-items-row .item .thumbnail {
    width: 240px;
  }
}

@media screen and (max-width: 991px) {
  .page-completed-tour.-m02 .lead {
    background-image: none;
    padding-top: 56px;
  }
  .page-completed-tour.-m02 .lead .lead-icon {
    width: 30px;
    height: 30px;
  }
  .page-completed-tour.-m02 .lead .container::before {
    top: 22px;
    left: 10px;
    width: 80px;
    height: 72px;
  }
  .page-completed-tour.-m02 .lead .container::after {
    top: 32px;
    right: 10px;
    width: 70px;
    height: 50px;
  }
  .page-completed-tour.-m02 .lead .title {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 16px;
  }
  .page-completed-tour.-m02 .lead .text {
    font-feature-settings: "palt";
  }
  .page-completed-tour.-m02 .lead .lead-button {
    margin-top: 30px;
  }
  .page-completed-tour.-m02 .lead .lead-bottom {
    right: 4px;
    width: 200px;
    height: 118px;
  }
  .page-completed-tour.-m02 .quick_menu {
    padding-bottom: 48px;
  }
  .page-completed-tour.-m02 .quick_menu .container {
    padding-top: 24px;
  }
  .page-completed-tour.-m02 .quick_menu .container::before {
    width: 130px;
    height: 50px;
  }
  .page-completed-tour.-m02 .quick_menu .container::after {
    width: 130px;
    height: 50px;
  }

  .page-completed-tour.-m02 .quick_menu .menu-list li {
    width: calc(50% - 5px);
  }
  .page-completed-tour.-m02 .quick_menu .menu-list li a {
    line-height: 1.2;
    text-align: center;
  }
  .page-completed-tour.-m02 .highlight-items-row {
    row-gap: 32px;
  }
  .page-completed-tour.-m02 .highlight-items-row .item {
    flex-direction: column;
    width: 100%;
  }
  .page-completed-tour.-m02 .highlight-items-row .item .thumbnail {
    width: 100%;
  }
  .page-completed-tour.-m02 .highlight-items-row .item .contents {
    padding: 20px 20px 30px;
  }
  .page-completed-tour.-m02 .highlight-items-row .item .contents .title {
    line-height: 1.2;
    margin-bottom: 16px;
  }
  .page-completed-tour.-m02 .room-layout .intro-text {
    text-align: left;
  }
  .page-completed-tour.-m02 .highlight {
    padding-bottom: 50px;
  }
}

@media screen and (max-width: 768px) {
  .page-completed-tour.-m02 .privilege .line1::before {
    left: 5px;
  }
}

@media screen and (max-width: 576px) {
  .page-completed-tour.-m02 .quick_menu .container {
    padding-top: 3.72vw;
  }
  .page-completed-tour.-m02 .quick_menu .container::before {
    top: 0px;
    left: 0px;
    width: 25vw;
    height: 10vw;
  }
  .page-completed-tour.-m02 .quick_menu .container::after {
    top: 0px;
    right: 0px;
    width: 25vw;
    height: 10vw;
  }
  .page-completed-tour.-m02 .privilege .line1::before {
    display: none;
  }

  .page-completed-tour.-m02 .privilege .line1 {
    margin-top: 4px;
    line-height: 1.4;
  }
}

@media screen and (max-width: 480px) {
  .page-completed-tour.-m02 .privilege p {
    text-align: left;
  }
}

.lead-button-campaign {
  position: relative;
  width: fit-content;
  min-width: 360px;
  background: linear-gradient(135deg, #e43a2d, #ff6b4d);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 24px;
  margin: 50px auto;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.lead-button-campaign::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    transparent 25%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 75%
  );
  background-size: 200% 200%;
  animation: shine 3s infinite;
}

.lead-button-campaign .icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.lead-button-campaign span {
  font-size: 18px;
  color: #fff;
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.lead-button-campaign::after {
  content: "";
  position: absolute;
  right: 20px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.lead-button-campaign:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(228, 58, 45, 0.3);
}

.lead-button-campaign:hover::after {
  transform: translate(5px, 0) rotate(45deg);
}

.lead-button-campaign:active {
  transform: scale(0.98);
}

@keyframes shine {
  0% {
    background-position: -100% -100%;
  }
  100% {
    background-position: 100% 100%;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(228, 58, 45, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(228, 58, 45, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(228, 58, 45, 0);
  }
}

@media screen and (max-width: 767px) {
  .lead-button-campaign {
    min-width: 320px;
    padding: 16px 20px;
  }

  .lead-button-campaign span {
    font-size: 16px;
  }
}

.page-completed-tour.-m02 .quick_menu .menu-list li a {
  display: block;
  padding: 1.2em 2.5em 1.2em 1.2em;
  color: #fff;
  background-color: #839c74;
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-align: center;
  border: 1px solid transparent;
}

.page-completed-tour.-m02 .quick_menu .menu-list li a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.page-completed-tour.-m02 .quick_menu .menu-list li a::after {
  content: "";
  position: absolute;
  right: 1em;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-80%) rotate(45deg);
  transition: all 0.3s ease;
}

.page-completed-tour.-m02 .quick_menu .menu-list li a:hover {
  border-color: #839c74;
  background: #fff;
  color: #839c74;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.page-completed-tour.-m02 .quick_menu .menu-list li a:hover::before {
  left: 100%;
}

.page-completed-tour.-m02 .quick_menu .menu-list li a:hover::after {
  border-color: #839c74;
  transform: translateY(-30%) rotate(45deg);
}

@media screen and (max-width: 767px) {
  .page-completed-tour.-m02 .quick_menu .menu-list li a {
    padding: 1.2em 2.2em 1.2em 1.2em;
  }
}
/* タグスタイル */
.lead .notice-tag {
  display: block;
  justify-content: center;
  width: fit-content;
  background: #839c74;
  color: #fff;
  font-size: 14px;
  padding: 0.3em 1em;
  margin-bottom: 1em;
  border-radius: 50px;
  position: relative;
  margin: 0 auto 20px;
}

.lead .notice-tag::before {
  content: "●";
  margin-right: 0.5em;
  font-size: 0.8em;
  vertical-align: middle;
  color: #fff;
}

/* スマホ対応 */
@media screen and (max-width: 767px) {
  .lead .notice-tag {
    font-size: 12px;
  }
}

.page-completed-tour .subsidy {
  padding: 80px 0;
  background: #f7f7f5;
}

/* 見出しエリア */
.subsidy .container {
  margin-inline: auto;
}

@media screen and (max-width: 767px) {
  .subsidy .container {
    padding: 0 10px;
  }
}

.subsidy h3 {
  --accent-color: #839c74;

  font-size: clamp(1.25rem, 2vw, 1.5rem);
  text-align: center;
  color: #333;
  line-height: 1.6;
  font-family: 游明朝, "Yu Mincho", YuMincho, serif;
  background: #fff;
  padding: 1.5em;
  position: relative;
  border: 1px solid var(--accent-color);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  max-width: 800px;
  margin: 0 auto 3rem;
}

.subsidy h3::before,
.subsidy h3::after {
  content: "";
  position: absolute;
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--accent-color);
  z-index: 1;
}

.subsidy h3::before {
  top: -0.5rem;
  left: -0.5rem;
  border-right: 0;
  border-bottom: 0;
}

.subsidy h3::after {
  bottom: -0.5rem;
  right: -0.5rem;
  border-left: 0;
  border-top: 0;
}

/* キャンペーンエリア */
.subsidy .campaign-items {
  --gap: clamp(20px, 3vw, 30px);
  --padding: clamp(25px, 3vw, 35px);
  --columns: 2;

  display: grid;
  grid-template-columns: repeat(var(--columns), 1fr);
  gap: var(--gap);
  max-width: 1200px;
  margin-inline: auto;
  padding-block-start: 2.5rem;
}

.subsidy .campaign-item {
  position: relative;
  background: #fff;
  border-radius: 1rem;
  padding: var(--padding);
  transition: all 300ms ease;
  overflow: hidden;
  backdrop-filter: blur(8px);
  border: 1px solid rgb(255 255 255 / 0.1);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1),
    inset 0 2px 4px 0 rgb(255 255 255 / 0.05);
}

.subsidy .campaign-item:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.subsidy .campaign-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgb(131 156 116 / 0.1),
    rgb(150 176 133 / 0.05)
  );
  border-radius: inherit;
  z-index: -1;
}

.subsidy h4 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-block-end: 1.25rem;
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  color: #839c74;
  font-weight: 600;
  position: relative;
}

.subsidy h4::before {
  content: "";
  width: 2.5rem;
  height: 2px;
  background: linear-gradient(90deg, #839c74, transparent);
  flex-shrink: 0;
}

.subsidy .campaign-item p {
  font-size: 0.9375rem;
  line-height: 1.8;
  margin: 0;
  color: #4a5568;
}

.subsidy .campaign-item.emphasis {
  background: linear-gradient(145deg, #839c74, #96b085);
  border: none;
}

.subsidy .campaign-item.emphasis::before {
  background: linear-gradient(130deg, rgb(255 255 255 / 0.1), transparent);
}

.subsidy .campaign-item.emphasis h4,
.subsidy .campaign-item.emphasis p {
  color: #fff;
}

.subsidy .campaign-item.emphasis h4::before {
  background: linear-gradient(90deg, #fff, transparent);
}

@media (width <= 767px) {
  .subsidy .campaign-items {
    --columns: 1;
    padding-inline: 1rem;
  }

  .subsidy h3 {
    width: 90%;
    margin-inline: auto;
    padding: 1em;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.subsidy .campaign-item {
  animation: slideInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.subsidy .campaign-item:nth-child(2) {
  animation-delay: 0.15s;
}

.subsidy .campaign-item:nth-child(3) {
  animation-delay: 0.3s;
}

/* セクション全体 */
.page-completed-tour .material-section {
  padding-top: 0;
  padding-bottom: 80px;
  background: #f7f7f5;
}

.page-completed-tour .material-section h3 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 0;
  font-family: 游明朝, "Yu Mincho", YuMincho, serif;
  position: relative;
}

/* .page-completed-tour .material-section h3::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: #839c74;
 } */

.material-section {
  --gap: clamp(15px, 2vw, 30px);
  --columns: 3;
  --padding: clamp(15px, 2vw, 20px);

  padding-block: 5rem;
  background-color: #f7f7f5;
}

.material-grid {
  display: grid;
  grid-template-columns: repeat(var(--columns), 1fr);
  gap: var(--gap);
  max-width: min(100% - 2rem, 1200px);
  margin-inline: auto;
  padding-inline: var(--padding);
}

@media screen and (max-width: 767px) {
  .material-grid {
    padding-inline: 0;
    max-width: 100%;
  }
}

.material-card {
  background-color: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 3px 15px rgb(0 0 0 / 0.05);
  transition: transform 300ms ease;
}

.material-card:hover {
  transform: translateY(-5px);
}

.material-image {
  position: relative;
  aspect-ratio: 4 / 3;
}

.material-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-image h4 {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  margin: 0;
  padding: 0.75rem;
  background-color: rgb(0 0 0 / 0.7);
  color: #fff;
  font-size: 0.9375rem;
  text-align: center;
}

.material-content {
  padding: 1.25rem;
}

.material-content h4 {
  font-size: 1rem;
  margin-block-end: 0.9375rem;
}

.material-content h4 a {
  color: #839c74;
  text-decoration: none;
}

.material-content p {
  font-size: 0.875rem;
  line-height: 1.8;
  margin: 0;
}

@media (width <= 992px) {
  .material-section {
    --columns: 2;
  }
}

@media (width <= 576px) {
  .material-section {
    --columns: 1;
  }
}

@media screen and (max-width: 576px) {
  .page-completed-tour .material-section h3 {
    font-size: 20px;
  }
}

.page-completed-tour .material-section {
  padding: 80px 0 0;
  background: #ebefe5;
}

.page-completed-tour .material-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-completed-tour .material-section h3 {
  font-size: 24px;
  text-align: center;
  margin-bottom: 0;
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
  font-family: 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN",
    "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
}

/* .page-completed-tour .material-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 50px;
  height: 1px;
  background: #839c74;
  transform: translateX(-50%);
 } */

.material-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.material-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.item-img {
  position: relative;
}

.item-img .has-image {
  height: 220px;
  overflow: hidden;
}

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

.item-img h4 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}

.item-content {
  padding: 20px;
}

.item-content h4 {
  margin-bottom: 12px;
  font-size: 16px;
}

.item-content h4 a {
  color: #839c74;
  text-decoration: none;
  transition: color 0.3s;
}

/* コンテナの最大幅を設定 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* メインビジュアルの改善 */
.page-header .main-visual {
  width: 100%;
  height: auto;
  position: relative;
}

.page-header .main-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* セクションの余白調整 */
.section {
  padding: 80px 0;
}

@media screen and (max-width: 768px) {
  .section {
    padding: 40px 0;
  }
}

/* グリッドレイアウトの改善 */
.highlight-items-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

/* フレックスボックスの改善 */
.voice-item {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
  .voice-item {
    flex-direction: column;
    padding: 20px;
  }

  .voice-item .thumbnail {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* レスポンシブフォント */
:root {
  --font-size-base: 16px;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
}

@media screen and (max-width: 768px) {
  :root {
    --font-size-base: 14px;
    --font-size-lg: 1.1rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
  }
}

/* アニメーション効果の追加 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  --button-color-start: #e43a2d;
  --button-color-end: #ff6b4d;
  --button-shadow-color: rgb(228 58 45 / 0.3);
}

.floating-buttons.visible {
  opacity: 1;
  visibility: visible;
  animation: slideUpFade 0.5s ease forwards;
}

.floating-buttons .inner {
  display: inline-block;
}

.floating-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 220px;
  height: 64px;
  background: linear-gradient(
    135deg,
    var(--button-color-start),
    var(--button-color-end)
  );
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 15px var(--button-shadow-color);
  text-decoration: none;
  padding: 0 48px 0 24px;
  position: relative;
  animation: pulse 2s infinite;
}

.floating-buttons .icon {
  font-size: 24px;
  margin-right: 12px;
}

.floating-buttons .arrow-icon {
  position: absolute;
  right: 15px;
  font-size: 18px;
}

@media screen and (max-width: 992px) {
  .floating-buttons {
    bottom: 80px;
  }

  .floating-buttons a {
    width: 80px;
    height: 80px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    animation: pulse 2s infinite, bounce 2s infinite;
    font-size: 10px;
    flex-direction: column;
  }

  .floating-buttons .icon {
    margin: 0;
    font-size: 28px;
  }

  .floating-buttons a span,
  .floating-buttons .arrow-icon {
    display: none;
  }
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 var(--button-shadow-color);
  }
  70% {
    box-shadow: 0 0 0 10px rgb(228 58 45 / 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(228 58 45 / 0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.quick_menu .menu-list li.campaign {
  position: relative;
}

.quick_menu .menu-list li.campaign::before {
  content: "新春応援キャンペーン実施中";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #e43a2d, #ff6b4d);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(228, 58, 45, 0.2);
  animation: float 2s ease-in-out infinite;
  z-index: 2;
}

.quick_menu .menu-list li.campaign a {
  position: relative;
  z-index: 1;
}

@keyframes float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-3px);
  }
}

@media screen and (max-width: 767px) {
  .quick_menu .menu-list li.campaign::before {
    top: -16px;
    font-size: 11px;
    padding: 3px 10px;
  }
}

.page-completed-tour .room-layout .images {
  justify-content: center;
}

.page-completed-tour .room-layout .images img {
  width: calc(50% - 25px);
}

@media screen and (max-width: 767px) {
  .page-completed-tour .room-layout .images img {
    width: 100%;
  }
}

.material-section {
  padding: 80px 0;
  background: #ebefe5;
}

.material-accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 50px;
}

.material-accordion-trigger h3 {
  margin: 0;
  font-size: 24px;
  text-align: center;
  font-family: 游明朝, "Yu Mincho", YuMincho, serif;
  position: relative;
  color: inherit;
}

/* .material-accordion-trigger h3::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: #839c74;
} */

.material-accordion-icon {
  position: relative;
  width: 16px;
  height: 16px;
  margin-left: 8px;
}

.material-accordion-icon::before,
.material-accordion-icon::after {
  content: "";
  position: absolute;
  background-color: #839c74;
  transition: transform 0.3s ease;
}

.material-accordion-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.material-accordion-icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.material-accordion-trigger.gh-active .material-accordion-icon::after {
  transform: translateX(-50%) scaleY(0);
}

.material-accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease-out, opacity 0.3s ease-out;
}

.material-accordion-content.gh-active {
  max-height: 3000px;
  opacity: 1;
}

/* 既存の素材カードのスタイルを維持 */
.material-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

@media (max-width: 992px) {
  .material-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .material-grid {
    grid-template-columns: 1fr;
  }

  .material-accordion-trigger h3 {
    font-size: 20px;
  }
}

/* アコーディオントリガーのスタイル */
.material-accordion-trigger.gh-accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  margin-bottom: 50px;
  transition: opacity 0.3s ease;
  border-top: solid 1px #839c74;
  border-bottom: solid 1px #839c74;
}

.material-accordion-trigger.gh-accordion-trigger:hover {
  opacity: 0.8;
}

.material-accordion-trigger .trigger-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  position: relative;
}

.material-accordion-trigger h3 {
  margin: 0;
  font-size: 24px;
  text-align: center;
  font-family: 游明朝, "Yu Mincho", YuMincho, serif;
  position: relative;
}

/* .material-accordion-trigger h3::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: #839c74;
} */

/* アコーディオンアイコンのスタイル */
.gh-accordion-icon {
  width: 24px;
  height: 24px;
  border: 2px solid #839c74;
  border-radius: 50%;
  position: relative;
  transition: transform 0.3s ease;
}

.gh-accordion-plus {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.gh-accordion-plus::before,
.gh-accordion-plus::after {
  content: "";
  position: absolute;
  background-color: #839c74;
  transition: transform 0.3s ease;
}

.gh-accordion-plus::before {
  width: 12px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.gh-accordion-plus::after {
  width: 2px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* アコーディオンがアクティブな時のスタイル */
.material-accordion-trigger.gh-accordion-trigger.gh-active .gh-accordion-icon {
  transform: rotate(180deg);
}

.material-accordion-trigger.gh-accordion-trigger.gh-active
  .gh-accordion-plus::after {
  transform: translate(-50%, -50%) scaleY(0);
}

/* コンテンツエリアのスタイル */
.material-accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease-out, opacity 0.3s ease-out;
}

.material-accordion-content.gh-active {
  max-height: 3000px;
  opacity: 1;
}

/* モバイル対応 */
@media screen and (max-width: 576px) {
  .material-accordion-trigger h3 {
    font-size: 20px;
  }

  .gh-accordion-icon {
    width: 20px;
    height: 20px;
  }

  .gh-accordion-plus::before {
    width: 10px;
  }

  .gh-accordion-plus::after {
    height: 10px;
  }
}

.reservation-calendar .type-text {
  text-align: left !important;
}

.page-completed-tour .overview .item-list .item table th {
  padding: 0 !important;
  background-color: #fff;
}

.page-completed-tour .overview .item-list .item table td {
  padding: 0 !important;
}

.page-completed-tour .overview .item-list .item table {
  margin-top: 0;
}

.page-completed-tour .p-calendar {
  margin-top: 15px;
}

/* 省エネ住宅コラムカード */
.subsidy-column-card {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin: 30px auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  cursor: pointer;
}

.subsidy-column-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.subsidy-column-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(131, 156, 116, 0),
    rgba(131, 156, 116, 0.05)
  );
  pointer-events: none;
}

.column-card-image {
  width: 40%;
  flex-shrink: 0;
}

.column-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.column-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.column-card-content h4 {
  font-size: 22px;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
  font-family: 游明朝, "Yu Mincho", YuMincho, serif;
}

.column-card-content p {
  font-size: 15px;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 20px;
}

.column-card-link {
  display: inline-flex;
  align-items: center;
  color: #839c74;
  font-weight: 600;
  font-size: 16px;
  margin-top: 10px;
  position: relative;
  padding-right: 25px;
  justify-content: right;
}

.column-card-link::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #839c74;
  border-bottom: 2px solid #839c74;
  transform: translateY(-50%) rotate(-45deg);
  transition: transform 0.3s ease;
}

.subsidy-column-card:hover .column-card-link::after {
  transform: translate(5px, -50%) rotate(-45deg);
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
  .subsidy-column-card {
    flex-direction: column;
    width: 96%;
  }

  .column-card-image {
    width: 100%;
    height: 200px;
  }

  .column-card-content {
    padding: 20px;
  }

  .column-card-content h4 {
    font-size: 18px;
  }

  .column-card-content p {
    font-size: 14px;
  }
}

/* --- 新モダンキャンペーンセクション --- */
.campaign-modern2 {
  padding: 64px 0 64px 0;
}
.campaign-modern2__container {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  border-radius: 2rem;
  box-shadow: 0 8px 32px rgba(131, 156, 116, 0.12);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.campaign-modern2__title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #839c74;
  margin-bottom: 0.5em;
  letter-spacing: 0.05em;
  text-align: center;
}
.campaign-modern2__lead {
  font-size: 1.2rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 1.2rem;
  line-height: 1.7;
  text-align: center;
}
.campaign-modern2__img-wrap {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 1.2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px rgba(131, 156, 116, 0.08);
}
.campaign-modern2__img-wrap img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(131, 156, 116, 0.06);
}
.campaign-modern2__benefits {
  display: flex;
  flex-direction: row;
  gap: 1.6rem;
  width: 100%;
  justify-content: center;
}
.campaign-modern2__benefit-card {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #f7f7f5;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(131, 156, 116, 0.06);
  padding: 1.4rem 1.6rem;
  position: relative;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.campaign-modern2__benefit-card:nth-child(2) {
  animation-delay: 0.15s;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.campaign-modern2__benefit-badge {
  background: linear-gradient(90deg, #e43a2d 60%, #ff6b4d 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 1.5em;
  padding: 0.4em 1.2em;
  min-width: 70px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(228, 58, 45, 0.1);
  flex-shrink: 0;
  align-self: flex-start;
  margin: 0 auto 0.8em;
}
.campaign-modern2__benefit-body h4 {
  font-size: 1.1rem;
  color: #839c74;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}
.campaign-modern2__benefit-body p {
  font-size: 1rem;
  color: #333;
  margin: 0;
  line-height: 1.7;
}
.campaign-modern2__em {
  color: #e43a2d;
  font-weight: 700;
  background-color: #ffe5e0;
  border-radius: 0.5em;
  padding: 0.1em 0.4em;
  margin-left: 0.2em;
}
@media screen and (max-width: 991px) {
  .campaign-modern2__container {
    padding: 2rem 1rem;
    gap: 1.2rem;
  }
  .campaign-modern2__benefits {
    flex-direction: column;
    gap: 1.2rem;
  }
}
@media screen and (max-width: 576px) {
  .campaign-modern2 {
    padding: 36px 0 36px 0;
  }
  .campaign-modern2__container {
    padding: 1rem 0.5rem;
    gap: 1.2rem;
  }
  .campaign-modern2__img-wrap {
    padding: 0.5rem;
  }
  .campaign-modern2__title {
    font-size: 1.3rem;
  }
  .campaign-modern2__lead {
    font-size: 1rem;
  }
  .campaign-modern2__benefit-badge {
    font-size: 1rem;
    min-width: 56px;
    padding: 0.3em 0.8em;
  }
  .campaign-modern2__benefit-body h4 {
    font-size: 1rem;
  }
  .campaign-modern2__benefit-body p {
    font-size: 0.95rem;
  }
}

.campaign-modern2__eyecatch {
  display: inline-block;
  background: linear-gradient(90deg, #e43a2d 60%, #ff6b4d 100%);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  border-radius: 2em;
  padding: 0.5em 2em;
  margin-bottom: 1.2em;
  box-shadow: 0 2px 8px rgba(228, 58, 45, 0.1);
  text-align: center;
  animation: fadeInBadge 1s;
}
.campaign-modern2__title {
  margin-top: 0;
}
.campaign-modern2__benefit-badge--green {
  background: linear-gradient(90deg, #7bb86f 60%, #b7d7a8 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 1.5em;
  padding: 0.4em 1.2em;
  min-width: 70px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(131, 156, 116, 0.1);
  flex-shrink: 0;
  align-self: flex-start;
  margin: 0 auto 0.8em;
}
@media screen and (max-width: 576px) {
  .campaign-modern2__eyecatch {
    font-size: 1rem;
    padding: 0.4em 1.2em;
  }
  .campaign-modern2__benefit-badge--green {
    font-size: 1rem;
    min-width: 56px;
    padding: 0.3em 0.8em;
  }
}
