/*
Theme Name: Lightning Child for Hanaseru
Theme URI:
Template: lightning
Description: はなせるのWebサイトのための子テーマです。
Author: soran design
Tags:
Version: 0.6.1
*/

/*--------------------
  Color
--------------------*/
:root {
  --hanaseru-grad-start: #f6b8a8;
  --hanaseru-grad-end: #e16a50;
  --hanaseru-pink: #f6b7a7;
  --hanaseru-pink-half: #fbdbd3;
  --hanaseru-red: #e16a50;
  --hanaseru-red-half: #f0b4a7;
  --hanaseru-bk: #524e4d;
  --hanaseru-beige: #f9ead6;
  --hanaseru-gray: #f1eaea;
  --hanaseru-brown: #6b4e47;
  --hanaseru-green: #aed777;
  --hanaseru-bp: #eccdc5; /* ベージュピンク */
  --hanaseru-hb: #fff5e7; /* H_beige 明るいベージュ */

  --vk-width-col-2-sub: calc(var(--vk-width-container) * 0.2);
}

/*--------------------
  Fonts & Letters
--------------------*/
body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--hanaseru-bk);
}

@media (max-width: 991.98px) {
  .swiper-slide p {
    font-size: calc(var(--vk-size-text) * 0.875);
  }
}

h1, h2 {
  font-weight: 500;
}

.page-header-title,
h1,
h2,
h3,
h4,
h5 {
  line-height: 1.5;
  letter-spacing: 0.15em;
}

h2 {
  font-size: 1.6rem;
}
@media (min-width: 768px) {
  h2 {
    font-size: 2.25rem;
  }
}
@media (min-width: 992px) {
  h2 {
    font-size: 2rem;
  }
}

h4 {
  font-size: 1.25rem;
}

p,
.btn {
  line-height: 2;
  letter-spacing: 0.1em;
}

.text-vertical {
  writing-mode: vertical-rl;
}

.text-vertical h1,
.text-vertical h2 {
  margin-left: 1em !important;
}

.text-vertical p {
  line-height: 2.2;
  letter-spacing: 0.2em;
  margin-left: var(--vk-margin-element-bottom);
}

h2.text-vertical {
  float: right;
}

a {
  color: var(--hanaseru-brown);
  transition: all 0.2s ease;
}

a:hover {
  color: var(--hanaseru-red);
}

.link-open a::after {
  margin-left: 4px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.75rem;
  content: "\f35d"; /* ← FA5ならこれでOK */
}

.section-subtitle strong {
  font-weight: 500 !important;
}

/* 最新の投稿 */
.wp-block-latest-posts li > a,
.wp-block-query a {
  color: var(--hanaseru-bk);
  font-weight: bold;
}

.wp-block-latest-posts li > a:hover,
.wp-block-query a:hover {
  color: var(--hanaseru-brown);
  text-decoration: none;
}

.wp-block-latest-posts__post-author,
.wp-block-latest-posts__post-date {
  color: var(--hanaseru-bk);
}

/* テーブル */
table {
  line-height: 2;
}


/*--------------------
  Site Header
--------------------*/
/* ヘッダー固定 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 2000;

  /* 背景をすりガラスに */
  box-shadow: none;
  background: rgba(255, 255, 255, 0.5); /* 半透明 */
  backdrop-filter: blur(10px); /* ぼかし（すりガラス効果） */
  -webkit-backdrop-filter: blur(10px); /* Safari対策 */
}

/* ヘッダー高さに合わせ調整 */
body {
  padding-top: 60px;
}
@media (min-width: 992px) {
  body {
    padding-top: 80px;
  }
}

/* ヘッダー幅をフル幅に */
.site-header .container {
  max-width: none;
  width: 100%;
}

/* ロゴ */
.site-header-logo {
  margin-right: 180px;
  padding-top: 10px;
  text-align: left;
}
.site-header-logo img {
  margin-left: 0;
}
@media (min-width: 992px) {
  .site-header-logo {
    padding-top: 1.1rem;
  }
}

/* マウスオーバーでグラデのアンダーラインを表示 */
.global-nav-list > li:before {
  position: absolute;
  bottom: 8px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--hanaseru-pink), var(--hanaseru-red));
  border: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.global-nav-list > li .global-nav-name {
  font-size: 0.9375rem;
}

.global-nav-list > li:hover:before,
.global-nav-list > li[class*="current"]:where(:not(.menu-item-anchor)):before {
  width: 100%;
  opacity: 1;
}

.global-nav--layout--float-right .global-nav-list {
  gap: 1.5em;
}

.device-pc .global-nav-list > li > a {
  padding-left: 0;
  padding-right: 0;
}

/* PCナビの最後の項目をボタンに */
.site-header .menu > li.menu-item:last-child > a {
  display: inline-block;
  width: 199px;
  height: 49px;
  margin-top: 3px;
  background-image: url("img/header_tel.svg?v=1.0.3");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.site-header .menu > li.menu-item:last-child > a:hover {
  background-image: url("img/header_tel_hover.svg?v=1.0.3");
}
.site-header .menu > li.menu-item:last-child:before,
.site-header .menu > li.menu-item:last-child > a > strong {
  display: none;
}
.site-header .menu > li.menu-item:last-child > a > img {
  margin-bottom: 0;
}
@media (min-width: 992px) {
  .site-header {
    height: auto;
  }
}

/*--------------------
  バーガーメニュー
--------------------*/
.vk-mobile-nav-menu-btn,
.vk-mobile-nav-menu-btn.menu-open {
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
  top: 0;
  z-index: 2300;
}

.vk-mobile-nav-menu-btn {
  background-image: url("./img/hamburger.svg");
}

.vk-mobile-nav-menu-btn.menu-open {
  background-image: url("./img/hamburger_close.svg");
}

.vk-mobile-nav-menu-btn.position-right {
  right: 0;
}

/*--------------------
  Mobile Nav （スマホメニュー）
--------------------*/
.vk-mobile-nav {
  margin-top: 0px;
  padding-top: 80px;
  padding-left: 40px;
  padding-right: 40px;
  z-index: 2200;

  /* 背景をすりガラスに */
  box-shadow: none;
  background: rgba(255, 255, 255, 0.5); /* 半透明 */
  backdrop-filter: blur(10px); /* ぼかし（すりガラス効果） */
  -webkit-backdrop-filter: blur(10px); /* Safari対策 */

  /* フェードインアニメーション */
  opacity: 0;
  transform: translateY(-10px);
  visibility: hidden;
  transition: all 0.4s ease;
}
.vk-mobile-nav.vk-mobile-nav-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.vk-mobile-nav.vk-mobile-nav-drop-in {
  top: 0px;
}

.vk-mobile-nav nav ul {
  border-top: 0;
}
.vk-mobile-nav nav ul li a {
  border-bottom: 0;
  padding-left: 0;
  font-size: 1rem;
  font-weight: bold;
  color: var(--hanaseru-brown);
}

.vk-mobile-nav .mobile-nav-group-1,
.vk-mobile-nav .mobile-nav-group-2 {
  font-size: 0.875rem;
  color: var(--hanaseru-brown);
  margin-bottom: 0;
}
.vk-mobile-nav .mobile-nav-group-1 p,
.vk-mobile-nav .mobile-nav-group-2 p {
  margin-bottom: 0.5em;
}

.vk-mobile-nav .mobile-nav-group-2 p:not(:first-of-type) {
  padding-left: 10px;
}

.vk-mobile-nav .mobile-nav-foot {
  gap: 1rem;
}
.vk-mobile-nav .mobile-nav-foot .wp-block-image:nth-child(1),
.vk-mobile-nav .mobile-nav-foot .wp-block-image:nth-child(2) {
  flex: 0 0 30px;
}

.vk-mobile-nav .mobile-nav-foot .wp-block-image:nth-child(3) {
  flex: 1;
  text-align: right;
}
.vk-mobile-nav .mobile-nav-foot .wp-block-image:nth-child(3) img {
  width: 160px;
  margin-right: 0;
}

.vk-mobile-nav p a {
  text-decoration: none;
}

/*--------------------
  お問い合わせへの固定ボタン
--------------------*/
.fixed-contact-btn,
.fixed-contact-btn-sm,
.fixed-contact-btn-tel {
  position: fixed;
  z-index: 2100;
  cursor: pointer;
}

/* お問い合わせへの固定ボタン（PC端） */
.fixed-contact-btn {
  top: 180px;
  right: 0;
  display: none;
}

.fixed-contact-btn img {
  width: 55px;
  height: auto;
  transition: opacity 0.3s ease;
}

.fixed-contact-btn .hover {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
}

.fixed-contact-btn:hover .default {
  opacity: 0;
}
.fixed-contact-btn:hover .hover {
  opacity: 1;
}

.fixed-contact-btn-sm {
  top: 0;
  right: 60px;
  display: inline-block;
}

.fixed-contact-btn-tel {
  top: 0;
  right: 120px;
  display: inline-block;
}
.fixed-contact-btn-sm img,
.fixed-contact-btn-tel img {
  width: 60px;
  height: auto;
}

@media (min-width: 992px) {
  .fixed-contact-btn {
    display: inline-block;
  }
  .fixed-contact-btn-sm,
  .fixed-contact-btn-tel {
    display: none;
  }
}

/*--------------------
  Buttons
--------------------*/
/* icon ボタン */
.hana-icon-btn .btn {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: flex-start;
  padding-right: 5rem !important; /* 右側にアイコン分の余白 */
  margin-bottom: 0;
  font-weight: bold;
  border-radius: 9999px; /* pill型 */
  background: transparent; /* 通常は透明 */
  text-decoration: none;
  transition: background 0.3s ease;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0)
  );
  z-index: 10;
}

/* ::afterで通常アイコン表示 */
.hana-icon-btn .btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  width: 24px;
  height: 20px;
  background-image: url("./img/btn_icon.svg");
  background-size: contain;
  background-repeat: no-repeat;
  transition: all 0.3s ease, transform 0.3s ease;
}

/* hover時の背景とアイコン差し替え */
.hana-icon-btn .btn:hover {
  background: linear-gradient(
    90deg,
    var(--hanaseru-grad-start),
    var(--hanaseru-grad-end)
  );
  color: #fff;
  border-color: var(--hanaseru-red) !important;
  outline: none;
  box-shadow: none;
}

.hana-icon-btn .btn:hover::after {
  background-image: url("./img/btn_icon_hover.svg");
  transform: translateY(-50%) translateX(4px); /* アイコンを少し動かすアニメーション */
}

/* brown ボタン */
.hana-brown-btn .btn {
  align-items: center;
  margin-bottom: 0;
  font-weight: bold;
  border-radius: 9999px; /* pill型 */
  background: var(--hanaseru-brown); /* 通常は茶色 */
  text-decoration: none;
  transition: background 0.3s ease;
}

.hana-brown-btn .btn:hover,
.hana-brown-btn .wp-element-button:hover {
  background-color: transparent !important;
  color: var(--hanaseru-brown) !important;
  border-color: var(--hanaseru-brown) !important;
  outline: none;
  box-shadow: none;
}

/* outline ボタン (TELに使用） */
.hana-outline-btn .btn {
  align-items: center;
  margin-bottom: 0;
  font-weight: bold;
  border-radius: 9999px;
  background-color: transparent;
  text-decoration: none;
  /*transition: background 0.3s ease;*/

  font-size: 1.5rem !important;
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}

.hana-outline-btn .btn:hover {
  color: inherit !important;
  background-color: inherit !important;
  border-color: inherit !important;
  opacity: 1;
  outline: none;
  box-shadow: none;
}

.hana-outline-btn .btn:hover .vk_button_link_txt {
  color: var(--hanaseru-bk) !important;
}

/*--------------------
  Slider
--------------------*/
/* 動きを変更 */
.hanaseru-slider .swiper-wrapper {
  transition-timing-function: ease;
}

/* 矢印がスライダーコンテンツに被らないように */
.hanaseru-slider .wp-block-vk-blocks-slider-item {
  padding: 0 30px !important;
}

/* 前へ・次へ */
.hanaseru-slider .swiper-button-next,
.hanaseru-slider .swiper-button-prev {
  display: block;
  background-color: transparent;
  border-radius: 0;
  margin-top: 0;
  opacity: 1;
  transition: background-image 0.2s ease;
  top: 0;
  width: 30px;
  height: calc(100% - 80px);
  background-repeat: no-repeat;
  background-size: 20px 39px;
}

.hanaseru-slider .swiper-button-prev {
  left: 0;
  background-image: url("./img/slidebutton_prev.svg");
  background-position: left center;
}

.hanaseru-slider .swiper-button-next {
  right: 0;
  background-image: url("./img/slidebutton_next.svg");
  background-position: right center;
}

.hanaseru-slider .swiper-button-prev:hover {
  background-image: url("./img/slidebutton_prev_hover.svg");
}

.hanaseru-slider .swiper-button-next:hover {
  background-image: url("./img/slidebutton_next_hover.svg");
}

.hanaseru-slider .swiper-button-next.swiper-button-disabled,
.hanaseru-slider .swiper-button-prev.swiper-button-disabled {
  opacity: 0;
}

.hanaseru-slider .swiper-button-prev::after,
.hanaseru-slider .swiper-button-next::after {
  display: none;
}

/* スワイパーを変更（丸く・左寄せ+margin20px） */
.hanaseru-slider .swiper-pagination {
  text-align: left;
  margin-left: 20px;
  z-index: 30;
}

.hanaseru-slider .swiper-pagination-bullet {
  background-color: var(--hanaseru-brown);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  outline: none;
  margin: 0 12px !important;
  transition: background-color 0.2s ease;
}

.hanaseru-slider .swiper-pagination-bullet-active,
.hanaseru-slider .swiper-pagination-bullet:hover {
  background-color: var(--hanaseru-red);
}

@media (min-width: 992px) {
  .hanaseru-slider .swiper-button-next,
  .hanaseru-slider .swiper-button-prev {
    background-size: 27px 52px;
  }

  /* 矢印がスライダーコンテンツに被らないように → デフォルトに戻す */
  .hanaseru-slider .wp-block-vk-blocks-slider-item {
    padding: 0 15px !important;
  }

  .hanaseru-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 24px !important;
  }
}

/*--------------------
  Separator (hr)
--------------------*/
.wp-block-separator {
  border-top: 1px solid;
}

/*--------------------
  Fade in animation
--------------------*/
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/*--------------------
  ページトップへボタンは非表示
--------------------*/
.scrolled .page_top_btn {
  display: none;
}

/*--------------------
  パンくずリストが空の時は 非表示（固定ページ：空にするのはfunction.phpで設定）
--------------------*/
#breadcrumb:has(.breadcrumb-list:empty) {
  display: none;
}

/*--------------------
  Home - hero01
--------------------*/
.hanaseru-section-hero01 {
  position: relative;
}

.hanaseru-section-hero01 .group-message {
  padding-left: 30px;
  margin-bottom: 30px;
}

.hanaseru-section-hero01 .group-message h3 {
  font-size: 1.5rem;
  padding-top: 40px;
  margin-bottom: 10px;
}

.hanaseru-section-hero01 .group-message h2 {
  font-size: 1.9rem;
  margin-bottom: 20px;
}

.hanaseru-section-hero01 .group-message p {
  margin-bottom: 30px;
}

.hanaseru-section-hero01 .group-hana1 {
  position: relative;
  width: 100%;
  aspect-ratio: 750 / 780;
  margin-top: -60px;
}

.hanaseru-section-hero01 .group-hana1 .group1-1 {
  position: absolute;
  width: 32.7%;
  top: 0;
  left: 0;
  max-width: 230px;
}

.hanaseru-section-hero01 .group-hana1 .group1-1 img {
  width: 100%;
}

.hanaseru-section-hero01 .group-hana1 .group1-2 {
  position: absolute;
  width: 22.7%;
  top: 12.6%;
  left: 56.5%;
  z-index: 999;
}

.hanaseru-section-hero01 .group-hana1 .group1-2 img {
  width: 100%;
}

.hanaseru-section-hero01 .group-hana1 .group1-3 {
  position: absolute;
  width: 100%;
  max-width: 100% !important;
  height: 76.9%;
  top: 23.1%;
  left: 15px;
  border-radius: 9999px 0 0 9999px;
  overflow: hidden;
}

.hanaseru-section-hero01 .group-hana1 .group1-3 .slider {
  position: relative;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0 !important;
}

.hanaseru-section-hero01 .group-hana1 .group1-3 .slider .slider-item {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0 !important;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  animation: slide 15s infinite;
}
.hanaseru-section-hero01 .group-hana1 .group1-3 .slider .slider-item .wp-block-cover {
  margin: 0 !important;
  max-width: 100%;
  min-height: 100%;
}

.hanaseru-section-hero01 .group-hana1 .group1-3 .slider .slider-item:nth-child(1) {
  animation-delay: 0s;
}
.hanaseru-section-hero01 .group-hana1 .group1-3 .slider .slider-item:nth-child(2) {
  animation-delay: 5s;
}
.hanaseru-section-hero01 .group-hana1 .group1-3 .slider .slider-item:nth-child(3) {
  animation-delay: 10s;
}

@keyframes slide {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.hanaseru-section-hero01 .group-hana2 {
  position: relative;
  aspect-ratio: 550 / 470;
  width: calc(var(--vk-width-container) - 110px);
  left: -5px;
}

.hanaseru-section-hero01 .group-hana2 .group2-1 {
  position: absolute;
  width: 47.3%;
  aspect-ratio: 260 / 190;
  top: 0;
  left: 0;
  z-index: 10;
}

.hanaseru-section-hero01 .group-hana2 .group2-1 .hana-btn-top a {
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  border-radius: 0 50px;
  z-index: 20;
  font-weight: bold;
  font-size: 1em;
  line-height: 1.5;
  padding-left: 1em;
  padding-right: 1em;

  color: var(--hanaseru-red);
  border-color: var(--hanaseru-red);
  border-width: 2px;
  transition: all 0.3s ease;
  box-shadow: none !important;

  /* アウトラインアニメーション */
  outline-width: 2px;
  outline-offset: 0;
  outline-color: rgba(246, 183, 167, 0.75);
  outline-style: solid;
  animation: animateOutline 3s ease infinite;
}

@keyframes animateOutline {
  0% {
    outline-offset: 0;
    outline-color: rgba(246, 183, 167, 0);
  }
  10% {
    outline-color: rgba(246, 183, 167, 0.75);
  }
  50% {
    outline-offset: 10px;
    outline-color: rgba(246, 183, 167, 0);
  }
  100% {
    outline-color: rgba(246, 183, 167, 0);
  }
}

.hanaseru-section-hero01 .group-hana2 .group2-1 .hana-btn-top a:hover {
  border-color: var(--hanaseru-red);
  color: #fff;
  border-width: 2px;
}

/* 背景レイヤー（普段は透明）*/
.hanaseru-section-hero01 .group-hana2 .group2-1 .hana-btn-top a::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: 0 48px;

  background: linear-gradient(
    90deg,
    var(--hanaseru-grad-start),
    var(--hanaseru-grad-end)
  );
}

/* hover時に背景フェードイン */
.hanaseru-section-hero01 .group-hana2 .group2-1 .hana-btn-top a:hover::before {
  opacity: 1;
}

.hanaseru-section-hero01 .group-hana2 .group2-2 {
  position: absolute;
  width: 78.2%;
  aspect-ratio: 430 / 430;
  bottom: 0;
  right: 0;
  margin: 0 !important;
}

.hanaseru-section-hero01 .group-hana2 .group2-2 img {
  width: 100% !important;
}

@media (min-width: 768px) {
  .hanaseru-section-hero01 .group-hana1 {
    aspect-ratio: auto;
    height: 608px;
    right: 0;
    top: 0;
  }

  .hanaseru-section-hero01 .group-message {
    margin-left: 7.8% !important;
    padding-left: 0;
  }

  .hanaseru-section-hero01 .group-message h3 {
    font-size: 26px;
    margin-left: 0 !important;
  }

  .hanaseru-section-hero01 .group-message h2 {
    font-size: 37px;
    margin-left: 0 !important;
  }

  .hanaseru-section-hero01 .group-message p {
    font-size: 15px;
    margin-left: 0 !important;
  }

  .hanaseru-section-hero01 .group-hana2 {
    width: 56.8%;
    aspect-ratio: 363/323;
    margin-left: 7.8% !important;
  }

  .hanaseru-section-hero01 .group-hana2 .group2-1 {
    width: 45.7%;
    aspect-ratio: 166 / 120;
  }

  .hanaseru-section-hero01 .group-hana2 .group2-2 {
    width: 77.1%;
    aspect-ratio: 280 / 280;
  }

  .hanaseru-section-hero01 .group-hana2 .group2-1 .hana-btn-top a {
    border-radius: 0 80px;
    line-height: 2;
  }

  .hanaseru-section-hero01 .group-hana2 .group2-1 .hana-btn-top a::before {
    border-radius: 0 78px;
  }
}

@media (min-width: 992px) {
  .hanaseru-section-hero01 .group-hana1 {
    position: absolute;
    width: 57.8%;
    margin-top: 0;
  }

  .hanaseru-section-hero01 .group-hana1 .group1-1 {
    left: 9%;
    top: 0;
    width: 215px;
  }

  .hanaseru-section-hero01 .group-hana1 .group1-2 {
    width: 170px;
    left: 50.3%;
    top: 88px;
  }

  .hanaseru-section-hero01 .group-hana1 .group1-3 {
    width: 100%;
    height: 410px;
    left: 0;
    top: 198px;
    min-height: 410px;
  }

  .hanaseru-section-hero01 .group-message h3 {
    padding-top: 80px;
  }

  .hanaseru-section-hero01 .group-hana2 {
    width: 28.4%;
    min-width: 340px;
  }
}

/* スクロールボタン */
.hanaseru-section-hero01 .group-scroll {
  position: absolute;
  width: 12px;
  height: 182px;
  top: calc(100vh - 300px);
  bottom: 0;
  left: 40px;
  display: none;
}

@media (min-width: 992px) {
  .hanaseru-section-hero01 .group-scroll {
    display: block;
  }
}

/* フェードイン */
.fade-item {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.fade-order-1 {
  animation-delay: 0.2s;
}
.fade-order-2 {
  animation-delay: 0.4s;
}
.fade-order-3 {
  animation-delay: 0.6s;
}
.fade-order-4 {
  animation-delay: 0.9s;
}
.fade-order-5 {
  animation-delay: 1s;
}
.fade-order-6 {
  animation-delay: 1.2s;
}
.fade-order-7 {
  animation-delay: 1.4s;
}
.fade-order-8 {
  animation-delay: 1.6s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
    scale: 0.99;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    scale: 1;
  }
}

/*--------------------
  Home - topnews
--------------------*/
.hanaseru-section-topnews {
  margin-top: -80px;
}

.hanaseru-section-topnews .hana-topnews {
  width: 100%;
  box-shadow: 0 0 20px rgba(107, 78, 71, 0.25);
  background-color: #fff;
  transition: box-shadow 0.2s ease;
  border-radius: 4px;
}

.hanaseru-section-topnews .hana-topnews:hover {
  box-shadow: 0 0 8px rgba(107, 78, 71, 1);
}

.hanaseru-section-topnews .hana-topnews li {
  padding: 16px;
}

.hanaseru-section-topnews .hana-topnews .wp-block-latest-posts__post-title,
.hanaseru-section-topnews .hana-topnews .wp-block-latest-posts__post-date {
  margin-left: 91px;
}

.hanaseru-section-topnews .wp-block-latest-posts__featured-image {
  margin-bottom: 0 !important;
}

.hanaseru-section-topnews .wp-block-latest-posts__featured-image a,
.hanaseru-section-topnews .wp-block-latest-posts__featured-image img {
  display: block;
}

.hanaseru-section-topnews .wp-block-latest-posts__post-title::before {
  content: "News";
  display: block;
  margin-bottom: 4px;
  color: var(--hanaseru-red);
}

.hanaseru-section-topnews .hana-topnews .wp-block-latest-posts__post-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* タイトルは１行だけ表示（beforeと合わせて2行） */
  overflow: hidden;
}

.wp-block-latest-posts li > a:where(:not(:last-child)) {
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .hanaseru-section-topnews {
    margin-top: -110px;
  }
}

@media (min-width: 992px) {
  .hanaseru-section-topnews {
    padding: 0 40px;
    margin-top: -110px;
  }

  .hanaseru-section-topnews .hana-topnews {
    width: 50%;
    margin-right: 0 !important;
  }
}

@media (min-width: 1200px) {
  .hanaseru-section-topnews .hana-topnews {
    width: 515px;
  }
}

/*--------------------
  Home - hero02
--------------------*/
.hanaseru-section-hero02 {
  display: flex;
  flex-direction: column;
  position: relative;
}

.hanaseru-section-hero02 .group-text {
  padding: 0 15px;
  display: flex;
  margin-right: 0 !important;
  margin-left: 0 !important;
  flex-direction: row;
  z-index: 10;
}

.hanaseru-section-hero02 .group-text h2 {
  margin-right: 0 !important;
  height: 270px;
  margin-bottom: 30px;
}

.hanaseru-section-hero02 .group-text .group-message {
  line-height: 2;
  margin-bottom: 50px;
}

.hanaseru-section-hero02 .group-button {
  margin: 40px auto auto 15px !important;
}

.hanaseru-section-hero02 .hana-icon-btn .btn {
  width: 270px;
}

.hanaseru-section-hero02 .group-bgimg {
  position: absolute;
  display: block;
  margin: 0 !important;
  max-width: 300px !important;
  width: 300px;
  left: -37px;
  top: -30px;
  z-index: 1;
}

.hanaseru-section-hero02 .group-bgillust {
  position: absolute;
  display: block;
  margin: 0 !important;
  width: 140px;
  right: 15px;
  bottom: 0;
  z-index: 2;
}

@media (min-width: 768px) {
  .hanaseru-section-hero02 .group-text h2 {
    height: auto;
  }

  .hanaseru-section-hero02 .group-text .group-message {
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  .hanaseru-section-hero02 .group-bgimg {
    max-width: 500px !important;
    width: 500px;
  }

  .hanaseru-section-hero02 .group-button {
    margin: 0 auto auto 15px !important;
  }
}

@media (min-width: 992px) {
  .hanaseru-section-hero02 {
    min-height: 596px;
    padding: 0 40px;
  }

  .hanaseru-section-hero02 .group-text {
    flex-direction: column;
    margin-top: 0;
  }

  .hanaseru-section-hero02 .group-text .group-message {
    margin-left: auto !important;
    margin-right: 0 !important;
    line-height: 2.2;
  }

  .hanaseru-section-hero02 .group-button {
    margin: 2rem 0 2rem auto !important;
  }

  .hanaseru-section-hero02 .hana-icon-btn .btn {
    width: 300px;
  }

  .hanaseru-section-hero02 .group-bgimg {
    max-width: 500px !important;
    width: 500px;
    left: 0;
    top: 0;
  }

  .hanaseru-section-hero02 .group-bgillust {
    width: 230px;
    right: 60px;
    bottom: 0;
  }
}

/*--------------------
  Home - Flow
--------------------*/
.hanaseru-section-flow {
  padding: 50px 0;
  border-radius: 50px;
}

.hanaseru-section-flow .hanaseru-slider {
  padding: 0 15px;
}

.hanaseru-section-flow .hanaseru-slider .wp-block-vk-blocks-slider-item {
  padding: 0 15px !important;
}

.hanaseru-section-flow .hanaseru-slider .swiper-button-prev,
.hanaseru-section-flow .hanaseru-slider .swiper-button-next {
  display: none;
}

.hanaseru-section-flow .hanaseru-slider .swiper-pagination {
  margin-left: 20px;
}

.hanaseru-section-flow .hanaseru-slider p {
  line-height: 1.5;
}

.hanaseru-section-flow .hanaseru-slider p.slide-number {
  position: absolute;
  z-index: 20;
}

.hanaseru-section-flow .hanaseru-slider p.slide-number,
.hanaseru-section-flow .hanaseru-slider .slide-number span {
  vertical-align: top;
  line-height: 1;
  margin-bottom: 0 !important;
}

.hanaseru-section-flow .hanaseru-slider .wp-block-image {
  margin-top: 0;
  z-index: 10;
}

.hanaseru-section-flow .hana-icon-btn {
  margin-top: -41px;
  margin-bottom: 0 !important;
  padding-right: 20px;
}

@media (min-width: 992px) {
  .hanaseru-section-flow {
    padding: 80px;
    border-radius: 80px;

    /* PCでは全幅解除 */
    width: calc(var(--vk-width-container) - 30px);
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hanaseru-section-flow .hanaseru-slider {
    padding: 0 40px;
  }

  .hanaseru-section-flow .hanaseru-slider .swiper-button-prev,
  .hanaseru-section-flow .hanaseru-slider .swiper-button-next {
    display: block;
    background-color: var(--hanaseru-gray);
  }

  .hanaseru-section-flow .hanaseru-slider .swiper-pagination {
    margin-left: 40px;
  }

  .hanaseru-section-flow .hana-icon-btn {
    padding-right: 40px;
  }

  .hanaseru-section-flow .hanaseru-slider .wp-block-image {
    margin-top: 10px;
  }
}

/*--------------------
  Home - Griefsupport
--------------------*/
.hanaseru-section-griefsupport {
  position: relative;
  padding: 0 15px;
}

.hanaseru-section-griefsupport .group-text {
  z-index: 10;
}

.hanaseru-section-griefsupport .group-text h2 {
  margin-right: 0 !important;
  height: 272px;
  margin-bottom: 30px;
}

.hanaseru-section-griefsupport .group-bgimg {
  position: absolute;
  display: block;
  margin: 0 !important;
  width: 300px;
  max-width: 300px;
  right: -50px;
  top: 50px;
  z-index: 1;
}

.hanaseru-section-griefsupport .group-bgillust {
  position: absolute;
  display: block;
  margin: 0 !important;
  width: 134px;
  max-width: 134px;
  left: -40px;
  top: 190px;
  z-index: 2;
  transform: scaleX(-1);
}

@media (min-width: 992px) {
  .hanaseru-section-griefsupport {
    padding: 0 40px;
    min-height: 644px;
  }

  .hanaseru-section-griefsupport .group-text h2 {
    height: auto;
  }

  .hanaseru-section-griefsupport .group-button .hana-icon-btn {
    text-align: left;
  }

  .hanaseru-section-griefsupport .group-message {
    width: 38.9%;
    margin-left: 0 !important;
  }

  .hanaseru-section-griefsupport .group-bgimg {
    width: 550px;
    max-width: 550px;
    top: 80px;
    right: 0;
  }

  .hanaseru-section-griefsupport .group-bgillust {
    transform: none;
    width: 203px;
    max-width: 203px;
    left: auto;
    right: 580px;
    top: auto;
    bottom: 0;
  }
}

/*--------------------
  Home - Case
--------------------*/
.hanaseru-section-case {
  padding: 50px 0;
}

.hanaseru-section-case .hanaseru-slider .col-img .wp-block-cover {
  width: 100%;
  height: 100%;
  border-radius: 50px 50px 0 0;
}

.hanaseru-section-case .hanaseru-slider .col-text {
  border-radius: 0 0 0 50px;
}

.hanaseru-section-case .hanaseru-slider .col-text p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; /* 3行まで表示 */
  overflow: hidden;
}

.hanaseru-section-case .hana-icon-btn {
  margin-top: -41px;
  margin-bottom: 0 !important;
  padding-right: 20px;
}

/* カラムブロック対応 */
@media (min-width: 782px) {
  .hanaseru-section-case .hanaseru-slider .col-img .wp-block-cover {
    border-radius: 80px 0 0 80px;
  }
  .hanaseru-section-case .hanaseru-slider .col-text {
    border-radius: 0 80px 0 0;
  }
}

@media (min-width: 992px) {
  .hanaseru-section-case {
    padding: 80px 0;
  }

  .hanaseru-section-case .hanaseru-slider {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hanaseru-section-case .hanaseru-slider .swiper-button-prev {
    left: 80px;
  }

  .hanaseru-section-case .hanaseru-slider .swiper-button-next {
    right: 80px;
  }

  .hanaseru-section-case .hanaseru-slider .swiper-pagination {
    margin-left: 80px;
  }

  .hanaseru-section-case .hana-icon-btn {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-right: 80px;
  }

  .hanaseru-section-case .hanaseru-slider .col-text p {
    display: block;
    -webkit-line-clamp: unset; /* 3行表示を解除 */
    overflow: visible;
  }
}

/*--------------------
  Home - Voice
--------------------*/
.hanaseru-section-voice {
  padding: 50px 0;
}

.hanaseru-section-voice .hanaseru-slider .wp-block-cover {
  width: 100%;
  border-radius: 50px 50px 0 0;
}

.hanaseru-section-voice .hanaseru-slider .col-text {
  border-radius: 0 0 0 50px;
}

.hanaseru-section-voice .hanaseru-slider .col-text p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; /* 3行まで表示 */
  overflow: hidden;
}

.hanaseru-section-voice .hana-icon-btn {
  margin-top: -41px;
  margin-bottom: 0 !important;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .hanaseru-section-voice .hanaseru-slider .wp-block-cover {
    border-radius: 80px 80px 0 0;
  }

  .hanaseru-section-voice .hanaseru-slider .col-text {
    border-radius: 0 0 80px 0;
  }
}

@media (min-width: 992px) {
  .hanaseru-section-voice {
    padding: 80px 0;
  }

  .hanaseru-section-voice .hanaseru-slider {
    padding: 0 40px;
  }

  .hanaseru-section-voice .hanaseru-slider .col-text p {
    display: block;
    -webkit-line-clamp: unset; /* 3行表示を解除 */
    overflow: visible;
  }
  
  .hanaseru-section-voice .hanaseru-slider .swiper-button-prev,
  .hanaseru-section-voice .hanaseru-slider .swiper-button-next {
    background-color: var(--hanaseru-hb);
  }

  .hanaseru-section-voice .hanaseru-slider .swiper-pagination {
    margin-left: 40px;
  }

  .hanaseru-section-voice .hana-icon-btn {
    padding-right: 40px;
  }
}

/*--------------------
  Home - FAQ
--------------------*/
.hanaseru-section-faq {
  padding: 0;
}

.hanaseru-section-faq .wp-block-accordion-item {
  border: 1px solid;
  border-color: var(--hanaseru-gray);
  border-radius: 40px;
}

/* ---- 閉じるボタンを-にする ---- */
.hanaseru-section-faq
  .wp-block-accordion-item.is-open
  > .wp-block-accordion-heading
  .wp-block-accordion-heading__toggle-icon {
  transform: none;
  position: relative;
  color: var(--hanaseru-beige);
}

.hanaseru-section-faq
  .wp-block-accordion-item.is-open
  > .wp-block-accordion-heading
  .wp-block-accordion-heading__toggle-icon::before {
  content: "\2212"; /* マイナス記号 */
  font-size: 1.2rem;
  display: block;
  position: absolute;
  color: var(--hanaseru-bk);
}

/* ---- 質問(Q) ---- */
.hanaseru-section-faq .wp-block-accordion-heading {
  position: relative;
  border: 0;
  border-radius: 40px;
  color: var(--hanaseru-bk);
  background-color: var(--hanaseru-gray);
  font-size: 1.2rem;
  line-height: 1.5;
  padding: 8px 20px 8px 70px;
  margin-bottom: 0;
}
.hanaseru-section-faq
  .wp-block-accordion-heading__toggle:hover
  .wp-block-accordion-heading__toggle-title {
  text-decoration: none;
}

.hanaseru-section-faq .wp-block-accordion-heading::before {
  content: "Q";
  position: absolute;
  left: 30px;
  top: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

.hanaseru-section-faq h3.wp-block-accordion-heading::after {
  display: none; /* h3の装飾を消す */
}

.hanaseru-section-faq .wp-block-accordion-heading__toggle-icon {
  width: 2em;
  height: 2em;
}

/* ---- 回答(A) ---- */
.hanaseru-section-faq .wp-block-accordion-panel {
  position: relative;
  padding: 30px 30px 30px 70px;
}

.hanaseru-section-faq .wp-block-accordion-panel::before {
  content: "A";
  position: absolute;
  left: 30px;
  top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

@media (min-width: 992px) {
  .hanaseru-section-faq {
    padding: 0 40px;
  }
}

/*--------------------
  Home - News
--------------------*/
.hanaseru-section-news {
  padding: 0;
}

.hanaseru-section-news hr {
  margin: 8px auto;
}

.hanaseru-section-news .wp-block-post-title {
  line-height: 1.5;
}

.hanaseru-section-news .taxonomy-category {
  padding: 2px;
  border-radius: 9999px;
}

.hanaseru-section-news .taxonomy-category a {
  text-decoration: none;
}

/* カテゴリが複数ある場合、最初のカテゴリのみ表示 */
.hanaseru-section-news .taxonomy-category a:not(:first-of-type),
.hanaseru-section-news .taxonomy-category .wp-block-post-terms__separator {
  display: none;
}

/* カテゴリの色 */
.hanaseru-section-news .category-news .taxonomy-category {
  background-color: var(--hanaseru-beige);
}
.hanaseru-section-news .category-media .taxonomy-category {
  background-color: var(--hanaseru-red-half);
}
.hanaseru-section-news .category-information .taxonomy-category {
  background-color: var(--hanaseru-pink-half);
}
.hanaseru-section-news .category-event .taxonomy-category {
  background-color: var(--hanaseru-brown);
}
.hanaseru-section-news .category-event .taxonomy-category a {
  color: #fff;
}

@media (min-width: 992px) {
  .hanaseru-section-news {
    padding: 0 40px;
  }
}

/*--------------------
  CTA - Contact
--------------------*/
.hanaseru-section-contact {
  padding: 50px 20px;
  border-radius: 50px;
}

.hanaseru-section-contact h4,
.hanaseru-section-contact h5,
.hanaseru-section-contact h6 {
  line-height: 1;
  margin-bottom: 0;
}

.hanaseru-section-contact .btn {
  width: 260px;
}

@media (min-width: 992px) {
  .hanaseru-section-contact {
    padding: 80px;
    border-radius: 80px;
  }
}

/*--------------------
  Footer
--------------------*/
.site-footer {
  background-color: var(--hanaseru-brown);
  background-image: url("img/noise_5.png");
  background-repeat: repeat;
  background-size: 45%;
  background-position: center center;
  border-top: 0;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1;
}

.site-footer .widget {
  margin-bottom: 0;
}

.site-footer .site-footer-content {
  padding: 60px 40px 15px 40px;
}

.site-footer .row:nth-child(1) .col-md-6 {
  width: 50%;
}

.site-footer .footer-group-1 {
  height: 150px;
}

.site-footer .footer-group-2 {
  font-size: 1rem;
}

.site-footer .footer-group-3 {
  padding-top: 150px;
}

.site-footer .footer-group-4 p:not(:first-of-type) {
  padding-left: 10px;
}

.site-footer .hanaseru-logo {
  max-width: 80px;
}

.site-footer.site-footer .footer-group-3 p,
.site-footer.site-footer p {
  margin-bottom: 1rem !important;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: transparent 2px solid;
  transition: border-color 0.3s ease;
}

.site-footer a:hover {
  border-color: #fff;
}

@media (min-width: 992px) {
  .site-footer .site-footer-content {
    padding: 80px 15px 15px 15px;
  }
  .site-footer .row:nth-child(1) .col-lg-6 {
    display: flex;
    gap: 15px;
  }
  .site-footer .row:nth-child(1) .col-lg-6 .widget {
    width: 50%;
  }

  .site-footer .footer-group-3,
  .site-footer .footer-group-4 {
    padding-top: 0;
  }

  .site-footer .hanaseru-logo {
    max-width: 100px;
  }

  .site-footer p {
    font-size: 0.9rem;
  }
}

/*--------------------
  Custom Footer
--------------------*/
.footer-custom-content {
  margin-top: 2rem;
}

/* SNSアイコン */
.hanaseru-sns {
  display: flex;
  gap: 1rem;
}

.hanaseru-sns .hover-img {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 31px;
}

.hanaseru-sns .hover-img img {
  display: block;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

.hanaseru-sns .hover-img .hover {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hanaseru-sns .hover-img:hover .hover {
  opacity: 1;
}

/* 株式会社ジーエスアイ　ロゴ */
.footer-custom-content .logo-gsi {
  width: 222px;
  max-width: 100%;
}

.footer-custom-content .logo-gsi a {
  border-bottom: 0;
}

@media (min-width: 992px) {
  .footer-custom-content {
    margin-top: 0;
  }
}

/*--------------------
  アーカイブページ
--------------------*/
/* パンくずリスト */
.breadcrumb {
  border-top: 0;
  border-bottom: 0;
  font-size: 0.8rem;
  color: var(--hanaseru-bk);
}

.breadcrumb a {
  text-decoration: none;
  color: var(--hanaseru-bk);
}
.breadcrumb a:hover {
  text-decoration: none;
  color: var(--hanaseru-red);
}

.breadcrumb .fa-home {
  display: none;
}

.breadcrumb li::after {
  content: "-";
}

/* アーカイブヘッダータイトル */
.archive-header-title {
  position: relative;
  margin-bottom: 3.5rem;
}

.archive-header-title::before {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--hanaseru-red);
}

.category-news .archive-header-title::before {
  content: "News";
}
.category-event .archive-header-title::before {
  content: "Event";
}
.category-media .archive-header-title::before {
  content: "Media";
}
.category-information .archive-header-title::before {
  content: "Information";
}
.category-case .archive-header-title::before {
  content: "Case";
}
.category-voice .archive-header-title::before {
  content: "Voice";
}

/* 一覧 - カテゴリー */
.post-list .vk_post_imgOuter_singleTermLabel {
  font-size: 0.75rem;
  font-weight: bold;
  line-height: 1;
  padding: 4px 6px 4px 8px;
  border-radius: 9999px;
  top: 8px;
  left: 8px;
  right: auto;
}
.post-list .category-news .vk_post_imgOuter_singleTermLabel {
  background-color: var(--hanaseru-beige) !important;
  color: var(--hanaseru-bk) !important;
}
.post-list .category-media .vk_post_imgOuter_singleTermLabel {
  background-color: var(--hanaseru-red-half) !important;
  color: var(--hanaseru-bk) !important;
}
.post-list .category-information .vk_post_imgOuter_singleTermLabel {
  background-color: var(--hanaseru-pink-half) !important;
  color: var(--hanaseru-bk) !important;
}
.post-list .category-event .vk_post_imgOuter_singleTermLabel {
  background-color: var(--hanaseru-brown) !important;
  color: #fff !important;
}
.post-list .category-case .vk_post_imgOuter_singleTermLabel,
.post-list .category-voice .vk_post_imgOuter_singleTermLabel {
  display: none;
}

/* 一覧 - ボーダーの色 */
.post-list .vk_post.media:first-child,
.post-list .vk_post.media {
  border-color: var(--hanaseru-bk) !important;
}

/* 一覧 - タイトル・日付・抜粋 */
.post-list .vk_post h5 {
  border-bottom: 0;
}
.post-list .vk_post h5 a:hover {
  color: var(--hanaseru-brown) !important;
}

.post-list .vk_post .vk_post_date,
.vk_post .vk_post_excerpt {
  font-size: 0.875rem !important;
  color: var(--hanaseru-bk) !important;
  opacity: 1;
}

/* 一覧 - 続きを読むボタン */
.post-list .vk_post .vk_post_btn {
  color: var(--hanaseru-brown);
  border-color: var(--hanaseru-brown);
  background: transparent; /* 通常は透明 */
  border-radius: 9999px;
}

.post-list .vk_post .vk_post_btn:hover {
  background: linear-gradient(
    90deg,
    var(--hanaseru-grad-start),
    var(--hanaseru-grad-end)
  );
  color: #fff;
  border-color: var(--hanaseru-red) !important;
}

/* 一覧 - ページネーション */
.pagination ul.page-numbers li a,
.pagination ul.page-numbers li span.page-numbers {
  border-color: var(--hanaseru-brown);
  color: var(--hanaseru-brown);
  background-color: transparent;
  border-radius: 9999px !important;
  width: 36px;
  height: 36px;
  margin: 0 5px;
  line-height: 1;
  letter-spacing: normal;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination ul.page-numbers li a.prev,
.pagination ul.page-numbers li a.next {
  padding-top: 0.1em;
}

.pagination ul.page-numbers li a:hover,
.pagination ul.page-numbers li span.page-numbers.current {
  background: linear-gradient(
    90deg,
    var(--hanaseru-grad-start),
    var(--hanaseru-grad-end)
  );
  color: #fff;
  border-color: var(--hanaseru-red) !important;
}

/* 新着　表示する文字はfunction.phpで変更 */
.vk_post_title_new {
  background-color: var(--hanaseru-red);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.1rem;
  line-height: 1;
  padding: 0px 6px 1px 8px;
  border-radius: 9999px;
}

/*--------------------
  投稿・アーカイブ　- サイドバー
--------------------*/
.hanaseru-widget-group-category ul,
.hanaseru-widget-group-archive ul {
  list-style-type: none;
  padding-left: 0.25em;
  line-height: 2;
  font-size: 0.875rem;
  font-weight: bold;
  margin-bottom: 0 !important;
}

.hanaseru-widget-group-category ul:last-child,
.hanaseru-widget-group-archive ul:last-child {
  margin-bottom: 50px !important;
}

.hanaseru-widget-group-category ul.children {
  padding-left: 0.5em;
}

.hanaseru-widget-group-category ul a,
.hanaseru-widget-group-archive ul a {
  text-decoration: none;
  color: var(--hanaseru-bk);
}

.hanaseru-widget-group-category ul a:hover,
.hanaseru-widget-group-archive ul a:hover {
  text-decoration: none;
  color: var(--hanaseru-brown);
}

/* お問い合わせの上に余白を追加 */
@media (min-width: 992px) {
  .site-body {
    padding-bottom: 50px;
  }
}
@media (min-width: 1200px) {
  .site-body {
    padding-bottom: 80px;
  }
}

/*--------------------
  投稿ページ
--------------------*/
/* 日付・更新日・投稿者 */
.entry-meta-item-date i,
.entry-meta-item-updated,
.entry-meta-item-author {
  display: none;
}

.entry-footer {
  margin-bottom: 5rem;
}

/*--------------------
  Funeral（はなせるの葬儀）- funeral01
--------------------*/
.hanaseru-section-funeral01 {
  position: relative;
}

.hanaseru-section-funeral01 .hana-1 {
  position: relative;
  width: 26.5%;
  margin-left: 6.5% !important;
  z-index: 20;
}

.hanaseru-section-funeral01 .image-1 {
  position: relative;
  width: 100%;
  height: 90.7vw;
  min-height: 200px;
  margin-top: -20px;
  z-index-10;
}

.hanaseru-section-funeral01 .group-message {
  position: relative;
  margin-top: 30px;
  margin-left: 30px !important;
}

.hanaseru-section-funeral01 .group-message h2 {
  margin-bottom: 20px;
}

.hanaseru-section-funeral01 .hana-2 {
  width: 30.8%;
  margin-right: 30px !important;
  margin-top: 50px;
}

@media (min-width: 992px) {
  .hanaseru-section-funeral01 {
    height: 754px;
  }

  .hanaseru-section-funeral01 .hana-1 {
    position: absolute;
    width: 245px !important;
    margin-left: auto !important;
    top: 0;
    left: 11.8%;
  }

  .hanaseru-section-funeral01 .hana-2 {
    position: absolute;
    width: 200px !important;
    margin-right: auto !important;
    right: 11.8%;
    bottom: 0;
  }

  .hanaseru-section-funeral01 .image-1 {
    position: absolute;
    width: 69.4%;
    height: 550px;
    margin-top: 0;
    top: 82px;
    right: 0;
    border-radius: 9999px 0 0 9999px;
  }

  .hanaseru-section-funeral01 .group-message {
    position: absolute;
    margin-left: 7.8% !important;
    top: 313px;
  }
  .hanaseru-section-funeral01 h2 {
    margin-top: 0;
  }
}

/*--------------------
  Funeral（はなせるの葬儀）- funeralnav
--------------------*/
.hanaseru-section-funeralnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
}

.hanaseru-section-funeralnav p {
  flex: 0 0 48%;
  flex: 0 0 calc(50% - 8px);
  margin: 0 !important;
  font-size: 1rem;
}

.hanaseru-section-funeralnav p a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--hanaseru-bk);
}
.hanaseru-section-funeralnav p a:hover {
  color: var(--hanaseru-brown);
}

/* アイコンを追加 */
.hanaseru-section-funeralnav p a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--hanaseru-bk);
}

.hanaseru-section-funeralnav p a::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 24px;
  flex: 0 0 20px;
  background-image: url("img/link_icon.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

@media (min-width: 992px) {
  .hanaseru-section-funeralnav {
    justify-content: center;
    gap: 48px;
  }

  .hanaseru-section-funeralnav p {
    flex: 0 0 auto;
    position: relative;
    font-size: 1rem;
  }

  .hanaseru-section-funeralnav p a {
    display: inline-flex;
    align-items: center;
    position: relative;
    border-bottom: 0;
  }

  /* 区切り線を追加 */
  .hanaseru-section-funeralnav p::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: calc(-1 * (48px / 2)); /* gapの半分 */
    width: 1px;
    height: 2em;
    background-color: var(--hanaseru-bk);
  }
  .hanaseru-section-funeralnav p:first-child::after {
    content: none;
  }
}

/*--------------------
  Funeral（はなせるの葬儀）- funeral02
--------------------*/
.hanaseru-section-funeral02 {
  position: relative;
}

.hanaseru-section-funeral02 .image-1 {
  width: calc(100% - 15px);
  height: 93.3vw;
  min-height: 200px;
  border-radius: 0 9999px 9999px 0;
  z-index: 10;
}

.hanaseru-section-funeral02 .group-text {
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  z-index: 30;
}

.hanaseru-section-funeral02 .group-text h2 {
  margin-top: 50px;
}

@media (min-width: 992px) {
  .hanaseru-section-funeral02 {
    min-height: 550px;
  }

  .hanaseru-section-funeral02 .image-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 45.1%;
    height: 500px;
  }
  
  .hanaseru-section-funeral02 .group-text {
    padding: 0 40px;
  }

  .hanaseru-section-funeral02 .group-text h2,
  .hanaseru-section-funeral02 .group-text p {
    margin-left: 50% !important;
  }
}

/*--------------------
  Funeral（はなせるの葬儀）- funeral03
--------------------*/
.hanaseru-section-funeral03 {
  position: relative;
}

.hanaseru-section-funeral03 h3 {
  font-weight: 500;
}

.hanaseru-section-funeral03 .image-1 {
  text-align: center;
  margin-top: 40px;
  padding: 0 20px;
  z-index: -20;
}
.hanaseru-section-funeral03 .image-1 img {
  width: 100% !important;
}

.hanaseru-section-funeral03 .group-text {
  border-radius: 0 50px 50px 0;
  margin-top: -10px;
  padding: 40px 30px;
  width: calc(100% - 15px);
  z-index: 10;
}

@media (min-width: 992px) {
  .hanaseru-section-funeral03 {
    min-height: 510px;
    padding-bottom: 50px;
  }

  .hanaseru-section-funeral03 .image-1 {
    position: absolute;
    padding: 0;
    bottom: 0;
    right: calc((100vw - 850px) / 2);
    width: 400px;
    z-index: 20;
  }

  .hanaseru-section-funeral03 .image-1 img {
    width: 100% !important;
  }

  .hanaseru-section-funeral03 .group-text {
    border-radius: 0 80px 80px 0;
    margin-top: 0;

    padding: 40px 80px;
    padding-left: calc((100vw - 850px) / 2);
    width: 70%;
  }

  .hanaseru-section-funeral03 .hana-icon-btn {
    text-align: left;
    z-index: 30;
  }
}

@media (min-width: 1200px) {
  .hanaseru-section-funeral03 .image-1 {
    right: calc((100vw - 1030px) / 2);
  }
  .hanaseru-section-funeral03 .group-text {
    padding-left: calc((100vw - 1030px) / 2);
  }
}

/*--------------------
  Funeral（はなせるの葬儀）- features
--------------------*/
.hanaseru-section-features {
  padding: 50px 0;
  background-image: url("img/noise_50.png");
  background-repeat: repeat;
  background-position: center center;
}

.hanaseru-section-features .wp-block-cover {
  width: 100%;
  border-radius: 50px 50px 0 0;
}

.hanaseru-section-features .col-text {
  border-radius: 0 0 0 50px;
}

.hanaseru-section-features .hanaseru-slider .swiper-pagination {
  margin-left: 0;
  text-align: center;
}

.hanaseru-section-features .for-sm .col-text h5 {
  font-size: 18px;
}

.hanaseru-section-features .for-sm .col-text p {
  font-size: 16px;
}

@media (min-width: 992px) {
  .hanaseru-section-features {
    padding: 80px 40px;
  }

  .hanaseru-section-features .for-pc {
    padding: 0 40px;
  }

  .hanaseru-section-features .for-pc .wp-block-columns {
    justify-content: center;
    gap: 30px;
  }
  
  .hanaseru-section-features .for-pc .wp-block-columns > .wp-block-column {
    flex: 0 0 auto; /* カラムを中央寄せ　*/
    width: calc((100% - 60px) / 3);   /* 固定幅 gap分(30x2)をマイナスして3で割る */
    display: flex;  /* テキスト部分を縦いっぱいに広げるため */
    flex-direction: column;
  }

  .hanaseru-section-features .for-pc .wp-block-columns > .wp-block-column > .col-text {
    flex: 1;  /* テキスト部分を縦いっぱいに */
  }
}

/*--------------------
  Funeral（はなせるの葬儀）- Flow2
--------------------*/
.hanaseru-section-flow2 {
  padding: 0;
}

.hanaseru-section-flow2 p.text-intro {
  padding: 0 15px;
}

.hanaseru-section-flow2 .group-contents-wrap {
  border: 1px solid;
  border-color: var(--hanaseru-gray);
  border-radius: 25px;
}

.hanaseru-section-flow2 .group-contents-wrap h3 {
  position: relative;
  border: 0;
  border-radius: 25px 25px 0 0;
  color: var(--hanaseru-bk);
  background-color: var(--hanaseru-gray);
  font-size: 1.2rem;
  line-height: 1.5;
  padding: 16px 16px;
  margin-bottom: 0;
  text-align: center;
}

.hanaseru-section-flow2 .group-contents-wrap .group-contents {
  position: relative;
  padding: 40px 0px;
}

/* ---- スライダーアイテム ---- */
.hanaseru-section-flow2 .flow-item {
  position: relative;
  width: 100%;
  border-radius: 50px 50px 0 50px;
  padding-bottom: 1px;
}

.hanaseru-section-flow2 .flow-item .item-title {
  padding: 30px 30px 20px 30px;
  margin-bottom: 0;
  margin-left: 0 !important;
  display: flex;
  gap: 0;
}

.hanaseru-section-flow2 .flow-item .item-title .item-title-num {
  width: 55px;
  flex: 0 0 55px;
  line-height: 1;
  white-space: nowrap;
  margin-bottom: 0;
  letter-spacing: 0;
  font-size: 3.5rem !important;
}

.hanaseru-section-flow2 .flow-item .item-title .item-title-text {
  flex: 1;
}

.hanaseru-section-flow2 .flow-item .item-title .item-title-text h5 {
  margin: 8px 0 0 0;
  font-weight: 500;
  font-size: 14px;
}

.hanaseru-section-flow2 .flow-item .item-line {
  margin-left: 30px !important;
}

.hanaseru-section-flow2 .flow-item .item-description {
  padding: 20px 30px 30px 30px;
}

/* ---- スライダー上画像エリア (for-sm) ---- */
.for-sm .group-image {
  padding: 0 30px;
  overflow-x: auto;
  height: 170px;

  -webkit-overflow-scrolling: touch; /* iPhone用 */
  
  /* スクロールバー非表示 */
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE, Edge旧 */
}

.for-sm .group-image::-webkit-scrollbar {
  display: none;                /* Chrome, Safari */
}

.for-sm .group-image img {
  max-width: none;
  height: 170px !important;
  width: auto !important;
}

/* ---- スライダー (for-sm) ---- */
.hanaseru-section-flow2 .hanaseru-slider .swiper-button-prev,
.hanaseru-section-flow2 .hanaseru-slider .swiper-button-next {
  height: calc(100% - 55px);
  background-position: center center;
}

.hanaseru-section-flow2 .hanaseru-slider .swiper-pagination {
  margin-left: 0;
  text-align: center;
}

/* スライダーの高さを揃える*/
.hanaseru-section-flow2 .hanaseru-slider .swiper-slide {
  height: auto;
  display: flex;
}
.hanaseru-section-flow2 .hanaseru-slider .vk_slider_item_container {
  height: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hanaseru-section-flow2 .hanaseru-slider .flow-item {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.hanaseru-section-flow2 .hanaseru-slider .item-description {
  flex-grow: 1;
}

@media (min-width: 992px) {
  .hanaseru-section-flow2 {
    padding: 0 40px;
  }
 
  .hanaseru-section-flow2 p.text-intro {
    text-align: center;

  }

  .hanaseru-section-flow2 .group-contents-wrap h3 {
    padding: 25px 25px;  /* 高さを80pxに */
  }

  .hanaseru-section-flow2 .group-contents-wrap .group-contents {
    padding: 40px;
  }

  .hanaseru-section-flow2 .flow-item {
    height: 100%;
    border-radius: 50px 50px 0 50px;
  }

  .hanaseru-section-flow2 .flow-item .item-title {
    padding: 50px 50px 20px 50px;
  }

  .hanaseru-section-flow2 .flow-item .item-title .item-title-num {
    width: 70px;
    flex: 0 0 70px;
  }

  .hanaseru-section-flow2 .flow-item .item-line {
    margin-left: 50px !important;
  }

  .hanaseru-section-flow2 .flow-item .item-description {
    padding: 20px 50px 50px 50px;
  }
}

/*--------------------
  About - はなせるについて
--------------------*/
@media (max-width: 767px) { /* スマホサイズのときは全幅を解除　*/
  .hanaseru-section-company .wp-block-column:first-child {
    max-width: calc(var(--vk-width-container) - 30px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .hanaseru-section-company .wp-block-cover {
    height: 400px;
  }  
}