/* ================================================================
   refined.css v3 — 木漏れ日テーマ（緑＋茶）
   元WPテーマ「HEAL」のスタイルを上書きし、ハイセンスな
   リラクゼーションサロンらしい落ち着きと温かみを演出する。
   ================================================================ */

/* ---------- カラーパレット ---------- */
:root {
  /* 木漏れ日の森 */
  --k-deep: #2d3f33;
  --k-green: #3d5c4a;
  --k-moss: #5b7f6e;
  --k-sage: #8aa896;
  --k-leaf: #c8d6c8;
  --k-pale: #e6efe8;

  /* 樹皮・陽だまり */
  --k-bark: #58330d;
  --k-bark-light: #8b6f4e;
  --k-gold: #c4a882;
  --k-sun: #d4b483;

  /* 空間・光 */
  --k-cream: #f7f4ef;
  --k-ivory: #faf8f5;
  --k-white: #ffffff;

  /* テキスト */
  --k-charcoal: #2d2d2d;
  --k-gray: #5c5c5c;
  --k-gray-light: #8a8a8a;

  /* 効果 */
  --k-border: rgba(61, 92, 74, 0.12);
  --k-shadow: rgba(45, 63, 51, 0.10);
  --k-shadow-dark: rgba(45, 63, 51, 0.18);

  /* フォント */
  --font-mincho: "Times New Roman", "游明朝", "Yu Mincho", "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --font-gothic: "Hiragino Sans", "Noto Sans JP", "游ゴシック", YuGothic, "Meiryo", sans-serif;
}

/* ---------- ベース ---------- */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--k-cream) !important;
  color: var(--k-charcoal);
  font-family: var(--font-gothic);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.home {
  background: var(--k-cream) !important;
}

a {
  color: var(--k-green);
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

a:hover {
  color: var(--k-bark);
}

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

/* ---------- フォーカスリング（アクセシビリティ） ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--k-moss);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- ローダー ---------- */
#site_loader_overlay {
  background: var(--k-cream) !important;
  animation: loaderAutoHide 0.7s ease 2.8s forwards;
}

#site_loader_animation {
  border-color: rgba(91, 127, 110, 0.15) !important;
  border-top-color: var(--k-moss) !important;
}

@keyframes loaderAutoHide {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* ---------- ヘッダー ---------- */
#header {
  background: var(--k-cream) !important;
  border-top: 3px solid var(--k-green) !important;
  border-bottom: 1px solid var(--k-border);
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

body.home #header {
  background: transparent !important;
  border-top: none !important;
  border-bottom: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

body.home #header.active {
  background: rgba(45, 63, 51, 0.94) !important;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}

#site_desc {
  color: var(--k-gray) !important;
  font-size: 13px;
  letter-spacing: 0.12em;
  padding: 8px 0 6px;
  text-align: center;
}

body.home #site_desc {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow:
    0 0 4px rgba(0, 0, 0, 0.7),
    0 1px 2px rgba(0, 0, 0, 0.8),
    0 2px 8px rgba(0, 0, 0, 0.5);
}

/* ---------- ロゴ ---------- */
#header_logo {
  text-align: center;
  padding: 14px 0 10px;
}

#header_top {
  width: auto !important;
  max-width: 100% !important;
}

#header_logo img,
#footer_logo img {
  max-height: 64px;
  max-width: 100% !important;
  width: auto;
  height: auto;
}

/* ---------- グローバルナビ ---------- */
#global_menu {
  background: transparent !important;
}

#global_menu > ul {
  display: flex !important;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  border: none !important;
  width: auto !important;
  max-width: 100% !important;
}

#global_menu > ul > li {
  border: none !important;
  float: none !important;
}

#global_menu > ul > li > a {
  color: var(--k-green) !important;
  font-family: var(--font-gothic);
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0 18px !important;
  white-space: nowrap !important;
  transition: color 0.3s ease, opacity 0.3s ease;
}

#global_menu > ul > li > a:hover,
#global_menu > ul > li > a:focus-visible {
  color: var(--k-bark) !important;
  opacity: 0.85;
}

body.home #global_menu > ul > li > a {
  color: #ffffff !important;
  text-shadow:
    0 0 4px rgba(0, 0, 0, 0.6),
    0 1px 3px rgba(0, 0, 0, 0.7),
    0 2px 10px rgba(0, 0, 0, 0.4);
}

body.home #global_menu > ul > li > a:hover,
body.home #global_menu > ul > li > a:focus-visible {
  color: rgba(255, 255, 255, 0.9) !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border-radius: 6px;
  opacity: 1;
}

#global_menu > ul > li.current-menu-item > a {
  color: var(--k-bark) !important;
}

body.home #global_menu > ul > li.current-menu-item > a {
  color: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
}

/* ---------- ハンバーガーメニュー ---------- */
#menu_button {
  width: 56px;
  height: 56px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: auto !important;
  text-align: center;
  line-height: 56px;
  z-index: 1000;
  cursor: pointer;
  color: var(--k-green);
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease;
}

body.home #menu_button {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

#menu_button:hover,
#menu_button:focus-visible {
  background: rgba(61, 92, 74, 0.1);
}

#menu_button span {
  display: block;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

#menu_button::before {
  content: '\f0c9';
  font-family: 'design_plus';
  position: absolute;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: inherit !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- ドロワーメニュー ---------- */
#drawer_menu {
  background: var(--k-deep) !important;
}

#mobile_menu a {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 15px !important;
  letter-spacing: 0.08em;
  padding: 18px 28px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  transition: background 0.25s ease, color 0.25s ease;
}

#mobile_menu a:hover,
#mobile_menu a:focus-visible {
  background: var(--k-green) !important;
  color: #ffffff !important;
}

#drawer_menu .close_button {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.3s ease, color 0.3s ease;
  width: 48px;
  height: 48px;
  text-align: center;
  line-height: 48px;
  font-size: 20px;
}

#drawer_menu .close_button:hover,
#drawer_menu .close_button:focus-visible {
  background: var(--k-green);
  color: #ffffff;
}

/* ---------- ヒーロースライダー ---------- */
#index_slider_wrap {
  background: transparent;
}

#index_slider {
  height: auto !important;
  min-height: 80vh;
  position: relative;
}

#index_slider .slick-slide {
  height: 80vh !important;
  min-height: 600px;
  max-height: 900px;
  position: relative;
  overflow: hidden;
}

#index_slider .item {
  height: 100% !important;
}

#index_slider .item .image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat;
}

#index_slider .overlay,
#index_slider .item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(45, 63, 51, 0.58) 0%,
    rgba(45, 63, 51, 0.22) 40%,
    rgba(0, 0, 0, 0) 70%
  ) !important;
  z-index: 2;
  pointer-events: none;
}

#index_slider .caption {
  position: absolute;
  top: calc(50% + 110px);
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 820px;
  text-align: center;
  z-index: 5;
  padding: 0 20px;
}

body.home #index_slider .caption {
  top: calc(50% + 110px);
}

#index_slider .caption_inner {
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

#index_slider .catch {
  font-family: var(--font-mincho);
  font-size: 42px !important;
  font-weight: 400;
  line-height: 1.5 !important;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.45),
    0 4px 16px rgba(0, 0, 0, 0.25);
  margin: 0 0 12px;
}

#index_slider .catch span {
  display: inline;
}

#index_slider .desc {
  font-size: 16px !important;
  line-height: 2.2 !important;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  margin: 0 0 28px;
}

#index_slider .button {
  display: inline-block !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  color: #ffffff !important;
  background: rgba(45, 63, 51, 0.45) !important;
  font-size: 14px !important;
  font-weight: 500;
  letter-spacing: 0.14em;
  min-width: 240px;
  height: 54px;
  line-height: 54px;
  padding: 0 48px;
  margin-top: 0 !important;
  border-radius: 40px;
  transition: all 0.35s ease !important;
}

#index_slider .button:hover,
#index_slider .button:focus-visible {
  background: var(--k-green) !important;
  border-color: var(--k-green) !important;
  color: #ffffff !important;
}

/* スライダーアニメーション */
#index_slider .caption .catch,
#index_slider .caption .desc,
#index_slider .caption .button {
  opacity: 0;
  transform: translateY(24px);
}

#index_slider .item.slick-active .caption .animate1 {
  animation: sliderFadeIn 0.9s ease forwards 0.3s;
}

#index_slider .item.slick-active .caption .animate2 {
  animation: sliderFadeIn 0.9s ease forwards 0.55s;
}

#index_slider .item.slick-active .caption .animate3 {
  animation: sliderFadeIn 0.9s ease forwards 0.8s;
}

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

/* ---------- 3カラムリンクボックス ---------- */
#index_box_content {
  width: 100% !important;
  height: auto !important;
  max-width: 1120px;
  margin: 0 auto !important;
  padding: 60px 20px 40px !important;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  box-sizing: border-box;
}

#index_box_content .item {
  width: auto !important;
  height: auto !important;
  min-height: auto;
  float: none !important;
  border-radius: 14px;
  overflow: hidden;
  background: var(--k-white);
  box-shadow: 0 6px 24px var(--k-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#index_box_content .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px var(--k-shadow-dark);
}

#index_box_content .link {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

#index_box_content .image_wrap {
  height: 220px !important;
  overflow: hidden;
  position: relative;
}

#index_box_content .image {
  width: 100%;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  transition: transform 0.75s ease;
}

#index_box_content .link:hover .image {
  transform: scale(1.08);
}

#index_box_content .title {
  position: static !important;
  transform: none !important;
  top: auto !important;
  left: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  line-height: 1.6 !important;
  text-align: center !important;
  color: #ffffff !important;
  background: var(--k-green) !important;
  font-family: var(--font-mincho);
  font-size: 16px !important;
  letter-spacing: 0.08em;
  padding: 14px 20px !important;
  margin: 0 !important;
  box-sizing: border-box;
}

#index_box_content .desc {
  position: static !important;
  display: block !important;
  height: auto !important;
  background: var(--k-white) !important;
  color: var(--k-gray) !important;
  text-align: center !important;
  padding: 18px 20px 22px !important;
  border-right: none !important;
  box-sizing: border-box;
}

#index_box_content .desc p {
  margin: 0;
  padding: 0 !important;
  font-size: 13px !important;
  line-height: 2.0 !important;
  color: var(--k-gray) !important;
  text-align: center !important;
  position: static !important;
  transform: none !important;
  top: auto !important;
  width: auto !important;
}

/* ---------- コンテンツビルダー ---------- */
.cb_contents {
  width: auto !important;
  max-width: 100% !important;
  padding: 100px 24px 0 !important;
}

/* type1: キャッチ＋画像 */
.index_design_content1 {
  text-align: center;
  padding-bottom: 60px !important;
}

.index_design_content1 .image_list {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.index_design_content1 .image_list.type3 .image {
  width: calc((100% - 40px) / 3) !important;
  min-width: 240px;
}

.index_design_content1 .image_list .image {
  height: 300px !important;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px var(--k-shadow);
  transition: transform 0.6s ease;
}

.index_design_content1 .image_list .image:hover {
  transform: scale(1.03);
}

.index_design_content1 .catch {
  font-family: var(--font-mincho);
  font-size: 30px !important;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--k-deep);
  margin-bottom: 16px;
}

.index_design_content1 .desc {
  font-size: 15px !important;
  line-height: 2.4 !important;
  color: var(--k-gray);
  max-width: 700px;
  margin: 0 auto 36px;
}

.index_design_content1 .button {
  text-align: center;
}

.index_design_content1 .button a {
  display: inline-block;
  background: var(--k-green) !important;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 16px 48px;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.35s ease;
}

.index_design_content1 .button a:hover,
.index_design_content1 .button a:focus-visible {
  background: var(--k-deep) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--k-shadow-dark);
}

/* type2: バナー */
.index_design_content2 {
  padding-bottom: 60px !important;
}

.index_design_content2 .catch {
  font-family: var(--font-mincho);
  font-size: 30px !important;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--k-deep);
  margin-bottom: 16px;
}

.index_design_content2 .desc {
  font-size: 15px !important;
  line-height: 2.4 !important;
  color: var(--k-gray);
  max-width: 700px;
  margin: 0 auto 50px;
}

.index_design_content2 .banner_content {
  max-width: 980px;
  height: auto !important;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px var(--k-shadow);
}

.index_design_content2 .banner_content a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.index_design_content2 .banner_content .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  text-align: center;
  z-index: 3;
}

.index_design_content2 .banner_headline {
  font-family: var(--font-mincho);
  font-size: 28px !important;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  margin-bottom: 14px;
}

.index_design_content2 .banner_headline span {
  display: block;
}

.index_design_content2 .banner_desc {
  font-size: 15px !important;
  line-height: 2.0 !important;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  margin: 0;
}

.index_design_content2 .banner_content .image_wrap {
  height: 340px !important;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.index_design_content2 .banner_content .image {
  width: 100%;
  height: 100% !important;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}

.index_design_content2 .banner_content a:hover .image {
  transform: scale(1.05);
}

.index_design_content2 .banner_content .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100% !important;
  background: linear-gradient(
    to top,
    rgba(45, 63, 51, 0.55) 0%,
    rgba(45, 63, 51, 0.18) 50%,
    rgba(0, 0, 0, 0) 100%
  ) !important;
  z-index: 2;
  pointer-events: none;
}

/* ---------- ブログセクション ---------- */
.index_blog {
  background: var(--k-pale) !important;
  padding: 90px 0 100px !important;
  margin-top: 60px !important;
}

.index_blog .headline {
  font-family: var(--font-mincho);
  font-size: 32px !important;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--k-deep);
  text-align: center;
  margin-bottom: 50px;
}

.index_blog .headline span {
  display: block;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--k-gray-light);
  margin-top: 8px;
}

.index_blog .blog_list {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 28px !important;
  max-width: 1200px !important;
  width: auto !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

.index_blog .item {
  width: auto !important;
  height: auto !important;
  float: none !important;
  border: none !important;
  margin: 0 !important;
  border-radius: 14px;
  overflow: hidden;
  background: var(--k-white);
  box-shadow: 0 4px 20px var(--k-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

.index_blog .item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--k-shadow-dark);
}

.index_blog .image_wrap {
  height: 220px !important;
  overflow: hidden;
  position: relative;
}

.index_blog .image_wrap .image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.index_blog .item:hover .image {
  transform: scale(1.06);
}

.index_blog .title_area {
  padding: 22px 24px 24px !important;
}

.index_blog .title {
  font-size: 16px !important;
  line-height: 1.6 !important;
  font-weight: 500;
  max-height: none !important;
  margin-bottom: 12px;
}

.index_blog .title a {
  color: var(--k-charcoal) !important;
  text-decoration: none;
  transition: color 0.25s ease;
}

.index_blog .title a:hover,
.index_blog .title a:focus-visible {
  color: var(--k-green) !important;
}

.index_blog .post_meta {
  position: static !important;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 12px;
  color: var(--k-gray-light);
}

.index_blog .post_meta li {
  display: inline !important;
  line-height: 1.5 !important;
  font-size: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--k-gray-light) !important;
}

.index_blog .post_meta li a {
  color: var(--k-gray-light) !important;
  text-decoration: none;
}

.index_blog .post_meta li a:hover {
  color: var(--k-green) !important;
}

.index_blog .button {
  text-align: center;
  margin-top: 50px;
}

.index_blog .button a {
  display: inline-block;
  color: var(--k-green) !important;
  border: 1px solid var(--k-green) !important;
  background: transparent !important;
  font-size: 13px;
  letter-spacing: 0.12em;
  padding: 14px 40px;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.35s ease;
}

.index_blog .button a:hover,
.index_blog .button a:focus-visible {
  background: var(--k-green) !important;
  color: #ffffff !important;
}

/* ---------- フッターバナー ---------- */
#footer_banner {
  display: flex !important;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  width: 100% !important;
  height: auto !important;
  max-width: 1100px;
  margin: 0 auto !important;
  padding: 60px 20px 80px !important;
  box-sizing: border-box;
}

#footer_banner .item {
  position: relative;
  width: calc(50% - 12px) !important;
  min-width: 280px;
  max-width: 520px;
  height: auto !important;
  float: none !important;
  margin: 0 !important;
  border-radius: 14px;
  overflow: hidden;
  background: var(--k-white);
  box-shadow: 0 6px 24px var(--k-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#footer_banner .item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px var(--k-shadow-dark);
}

#footer_banner .link {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

#footer_banner .image_wrap {
  height: 240px !important;
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0 !important;
}

#footer_banner .image {
  width: 100%;
  height: 100% !important;
  background-size: cover;
  background-position: center;
  transition: transform 0.75s ease;
}

#footer_banner .link:hover .image {
  transform: scale(1.06);
}

#footer_banner .title {
  position: static !important;
  transform: none !important;
  top: auto !important;
  left: auto !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: auto !important;
  min-height: 50px;
  line-height: 1.5 !important;
  text-align: center !important;
  font-family: var(--font-mincho);
  font-size: 16px !important;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #ffffff !important;
  background: var(--k-bark) !important;
  padding: 14px 24px !important;
  margin: 0 !important;
  box-sizing: border-box;
}

/* ---------- ページトップ ---------- */
#return_top {
  background: var(--k-cream);
}

#return_top a {
  display: block;
  width: 100%;
  height: 60px;
  line-height: 60px;
  color: var(--k-green) !important;
  background: var(--k-cream) !important;
  border-top: 1px solid var(--k-border);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.1em;
  transition: background 0.3s ease, color 0.3s ease;
}

#return_top a:hover,
#return_top a:focus-visible {
  background: var(--k-pale) !important;
  color: var(--k-bark) !important;
}

#return_top a:before {
  color: var(--k-green) !important;
}

/* ---------- フッター ---------- */
#footer_top {
  background: var(--k-cream) !important;
  padding: 80px 24px 50px !important;
  text-align: center;
}

#footer_logo {
  margin-bottom: 24px;
}

#company_info {
  color: var(--k-gray);
  font-size: 14px;
  line-height: 2.4;
  letter-spacing: 0.02em;
  max-width: 420px;
  margin: 0 auto 28px;
}

#footer_button a {
  display: inline-block;
  background: var(--k-green) !important;
  border: 2px solid var(--k-green) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 14px 48px;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.35s ease !important;
}

#footer_button a:hover,
#footer_button a:focus-visible {
  background: transparent !important;
  color: var(--k-green) !important;
}

#company_date {
  background: transparent !important;
  color: var(--k-gray-light);
  font-size: 12px !important;
  line-height: 1.9 !important;
  padding: 24px !important;
  border-top: 1px solid var(--k-border);
}

#footer_menu {
  background: var(--k-cream) !important;
  border-top: 1px solid var(--k-border);
  padding: 20px 0 !important;
  height: auto !important;
  line-height: 1.8 !important;
}

#footer_menu .menu {
  text-align: center;
}

#footer_menu .menu-item {
  display: inline-block;
  margin: 4px 8px;
  padding: 0;
  border: none;
}

#footer_menu a {
  color: var(--k-gray) !important;
  font-size: 13px !important;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer_menu a:hover,
#footer_menu a:focus-visible {
  color: var(--k-green) !important;
}

#copyright {
  background: var(--k-deep) !important;
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 11px !important;
  letter-spacing: 0.08em;
  line-height: 1.6 !important;
  height: auto !important;
  padding: 18px 0 !important;
}

/* ---------- サブページ ---------- */
#main_contents {
  width: auto !important;
  background: var(--k-white) !important;
  max-width: 900px;
  margin: 100px auto 80px;
  padding: 60px 50px !important;
  min-height: auto !important;
  border-radius: 16px;
  box-shadow: 0 8px 40px var(--k-shadow);
}

#main_contents .cb_contents {
  width: auto !important;
  padding: 0 !important;
}

.page-title {
  text-align: center;
  font-family: var(--font-mincho);
  font-size: 32px !important;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--k-deep);
  margin-bottom: 16px;
}

.page-lead {
  text-align: center;
  line-height: 2.5 !important;
  color: var(--k-gray);
  margin-top: 24px;
}

.page-block {
  margin-top: 48px;
  text-align: center;
  color: var(--k-gray);
  line-height: 2.2;
}

.page-tel {
  margin-top: 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--k-bark);
}

.page-note {
  text-align: center;
  margin-top: 32px;
  color: var(--k-gray);
}

.page-note.small {
  font-size: 14px;
}

.page-link {
  color: var(--k-green) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--k-sage);
  text-decoration-thickness: 1px;
  transition: color 0.3s ease;
}

.page-link:hover,
.page-link:focus-visible {
  color: var(--k-bark) !important;
  text-decoration-color: var(--k-bark);
}

/* ---------- スタッフグリッド ---------- */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.staff-card {
  background: var(--k-white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--k-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--k-shadow-dark);
}

.staff-img {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center top;
}

.staff-info {
  padding: 20px 22px 24px;
  text-align: center;
}

.staff-name {
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 500;
  color: var(--k-deep);
  margin-bottom: 6px;
}

.staff-role {
  font-size: 12px;
  color: var(--k-sage);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.staff-desc {
  font-size: 13px;
  color: var(--k-gray);
  line-height: 1.8;
}

/* ---------- ブログ記事 ---------- */
.blog-category {
  text-align: center;
  font-size: 13px;
  color: var(--k-sage);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.blog-title {
  text-align: center;
  font-family: var(--font-mincho);
  font-size: 28px;
  font-weight: 400;
  color: var(--k-deep);
  line-height: 1.5;
  margin-bottom: 8px;
}

.blog-date {
  text-align: center;
  font-size: 13px;
  color: var(--k-gray-light);
  margin-bottom: 32px;
}

.blog-featured-image {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  margin-bottom: 32px;
}

.blog-body {
  font-size: 15px;
  line-height: 2.2;
  color: var(--k-charcoal);
}

.blog-body h3 {
  font-family: var(--font-mincho);
  font-size: 18px;
  color: var(--k-deep);
  margin: 28px 0 8px;
  font-weight: 500;
}

.blog-body p {
  margin: 0 0 14px;
}

.blog-body strong {
  color: var(--k-bark);
}

.blog-back {
  text-align: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--k-border);
}

.blog-back a {
  color: var(--k-green);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.06em;
}

.blog-back a:hover {
  color: var(--k-bark);
}

/* ---------- ブログ一覧 ---------- */
.blog-listing {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.blog-list-item {
  display: flex;
  gap: 20px;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px var(--k-shadow);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-right: 20px;
}

.blog-list-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--k-shadow-dark);
}

.blog-list-img {
  width: 180px;
  height: 120px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.blog-list-info {
  flex: 1;
  min-width: 0;
}

.blog-list-cat {
  display: inline-block;
  font-size: 11px;
  color: var(--k-sage);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.blog-list-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--k-charcoal);
  line-height: 1.4;
  margin-bottom: 4px;
}

.blog-list-date {
  font-size: 12px;
  color: var(--k-gray-light);
}

/* ---------- コンテンツ内リンク（アクセシビリティ） ---------- */
.content a,
.post_content a,
#main_contents a:not(.page-link) {
  color: var(--k-green);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--k-sage);
  text-decoration-thickness: 1px;
}

.content a:hover,
.post_content a:hover,
#main_contents a:not(.page-link):hover {
  color: var(--k-bark);
  text-decoration-color: var(--k-bark);
}

/* ---------- 装飾要素はスクリーンリーダーから除外 ---------- */
#menu_button::before,
.icon,
.fa,
[class*="icon-"],
#return_top span {
  speak: never;
}

/* ---------- レスポンシブ調整 ---------- */
@media screen and (max-width: 1151px) {
  #global_menu > ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  #global_menu > ul > li > a {
    padding: 0 14px !important;
    font-size: 13px !important;
  }
}

@media screen and (max-width: 900px) {
  #index_box_content {
    grid-template-columns: 1fr;
    padding: 40px 20px 20px !important;
    justify-items: center;
  }

  #index_box_content .item {
    width: 100% !important;
    max-width: 480px;
  }

  .index_design_content1 .image_list.type3 .image {
    width: calc(50% - 10px) !important;
  }

  .index_blog .blog_list {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  #footer_banner {
    flex-direction: column;
    align-items: center;
  }

  #footer_banner .item {
    width: 100% !important;
    max-width: 480px;
  }

  #index_slider .slick-slide {
    height: 65vh !important;
    min-height: 480px;
  }

  #index_slider .catch {
    font-size: 30px !important;
  }

  #index_slider .desc {
    font-size: 14px !important;
  }

  body.home #index_slider .caption {
    top: calc(50% + 90px);
  }

  #main_contents {
    margin: 80px 20px 60px;
    padding: 40px 28px !important;
  }

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

@media screen and (max-width: 600px) {
  body.home #header {
    position: absolute;
  }

  body.home #index_slider .caption {
    top: calc(50% + 80px);
  }

  #header_logo img {
    max-height: 48px;
  }

  #site_desc {
    font-size: 10px;
    padding: 8px 0 4px;
  }

  #index_slider .slick-slide {
    height: 58vh !important;
    min-height: 420px;
  }

  #index_slider .catch {
    font-size: 24px !important;
  }

  #index_slider .desc {
    font-size: 13px !important;
  }

  #index_slider .button {
    min-width: 200px;
    height: 48px;
    line-height: 48px;
    padding: 0 32px;
    font-size: 13px !important;
  }

  .index_design_content1 .image_list.type3 .image {
    width: 100% !important;
  }

  .index_blog .blog_list {
    grid-template-columns: 1fr !important;
  }

  .index_design_content1 .image_list .image {
    height: 240px !important;
  }

  .index_design_content2 .banner_content .image_wrap {
    height: 280px !important;
  }

  .index_design_content2 .banner_headline {
    font-size: 22px !important;
  }

  .cb_contents {
    padding: 60px 16px 0 !important;
  }

  .index_blog {
    padding: 60px 0 70px !important;
  }

  .page-title {
    font-size: 24px !important;
  }

  #main_contents {
    margin: 60px 12px 40px;
    padding: 30px 20px !important;
    border-radius: 12px;
  }

  .staff-grid {
    grid-template-columns: 1fr;
  }

  .blog-list-item {
    flex-direction: column;
    padding-right: 0;
  }

  .blog-list-img {
    width: 100%;
    height: 160px;
  }

  .blog-list-info {
    padding: 0 16px 16px;
  }

  .blog-title {
    font-size: 22px;
  }

  .blog-featured-image {
    padding-bottom: 66.67%;
  }

  #footer_top {
    padding: 50px 20px 30px !important;
  }

  #company_info {
    font-size: 13px;
  }

  #company_date {
    font-size: 11px !important;
    padding: 18px 16px !important;
  }

  #footer_menu .menu-item {
    display: block;
    margin: 6px 0;
  }
}
